1 2005-06-01 Tom Tromey <tromey@redhat.com>
4 * java/lang/natString.cc (substring): Changed sharing heuristic.
6 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
9 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
10 MAXPATHLEN. Format exception message using a StringBuffer instead.
12 2005-05-29 Michael Koch <konqueror@gmx.de>
15 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
17 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
19 * ChangeLog: Fix typo.
21 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
23 Testsuite adjustments for PR java/19870.
24 * testsuite/libjava.lang/PR19870.java: New testcase.
25 * testsuite/libjava.lang/PR19870.out: Expected output for the
27 * testsuite/libjava.jacks/jacks.xfail: Add
28 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
31 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
33 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
34 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
35 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
37 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
38 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
39 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
40 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
42 2005-05-25 Richard Henderson <rth@redhat.com>
45 * sysdep/descriptor-n.h: New file.
46 * sysdep/descriptor-y.h: New file.
47 * sysdep/powerpc/descriptor.h: New file.
48 * configure.host: Set $descriptor_h appropriate for the host.
49 * configure.ac: Link it.
50 * configure: Regenerate.
51 * stacktrace.cc: Include sysdep/descriptor.h.
52 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
54 2005-05-25 Chris Burdess <dog@gnu.org>
56 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
59 2005-05-24 Gary Benson <gbenson@redhat.com>
62 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
63 Handle DateFormat.DEFAULT case correctly.
65 2005-05-21 Tom Tromey <tromey@redhat.com>
68 * java/lang/ref/natReference.cc (find_slot): Handle case where
69 table has no NULL entries.
70 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
71 table has no NULL entries.
73 2005-05-22 Andreas Jaeger <aj@suse.de>
75 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
78 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
80 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
82 2005-05-19 Richard Henderson <rth@redhat.com>
84 * exception.cc: Revert 05-17 gcc_unreachable change.
86 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
88 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
89 _Jv_RegisterInitiatingLoader to register array classes, not
91 (_Jv_RegisterInitiatingLoader): Give up if called very early during
92 bootstrapping. Add a FIXME to handle this case better.
94 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
96 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
98 (libgcj_la_SOURCES): New. Move sources here.
99 (libgcj.la): Remove rule.
101 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
104 * gnu/java/security/provider/DSASignature.java: Import updates
107 2005-05-18 Anthony Green <green@redhat.com>
109 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
110 classpath_jawt_object_unlock, classpath_jawt_create_lock,
111 classpath_jawt_destroy_lock): New functions.
112 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
113 classpath_jawt_object_unlock, classpath_jawt_create_lock,
114 classpath_jawt_destroy_lock): New functions.
115 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
117 * jawt.c: #include malloc.h.
118 (_Jv_Lock): Use lock.
120 (_Jv_GetDrawingSurface): Initialize lock.
121 (_Jv_FreeDrawingSurface): Destroy lock.
122 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
124 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
126 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
127 * Makefile.in: Regenerate.
129 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
131 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
132 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
133 * aclocal.m4, configure, config.h.in, include/config.h.in,
134 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
135 external/Makefile.in, external/sax/Makefile.in,
136 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
138 2005-05-17 David Daney <ddaney@avtrex.com>
141 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
143 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
145 * exception.cc (abort): Remove std::abort hack.
146 (gcc_unreacheable): Define.
148 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
150 * Makefile.am (Makefile.deps): Do not create native.list and
152 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
153 * Makefile.in: Regenerate.
155 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
157 * configure.ac (--enable-libgcj-multifile): Remove.
159 * Makefile.am (all_native_compiled_source_files,
160 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
161 all_libgcj_lo_files, all_xlib_lo_files,
162 all_java_deps_files, all_java_stamp_files,
163 all_java_filelist_files): New variables.
164 (EXTRA_DIST): New Automake variable.
165 (CLEANFILES): Add .stamp, .list and .lo files.
166 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
167 (classes.stamp): Depend on $(all_java_stamp_files).
168 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
169 going through write_entries_to_file.
171 (all_java_source_files, all_property_files): Move earlier.
172 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
173 all_java_class_files): Remove.
174 (gtk_awt_peer_sources): Rename to...
175 (gtk_awt_peer_source_files): ... this. Adjust throughout.
178 (libgcj0_convenience_la_SOURCES): Remove Java source files.
179 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
180 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
181 (libgcj_la_SOURCES): Remove.
182 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
183 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
184 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
186 * configure: Regenerate.
187 * Makefile.in: Regenerate.
188 * external/Makefile.in: Regenerate.
189 * external/sax/Makefile.in: Regenerate.
190 * external/w3c_dom/Makefile.in: Regenerate.
191 * gcj/Makefile.in: Regenerate.
192 * include/Makefile.in: Regenerate.
193 * libltdl/Makefile.in: Regenerate.
194 * testsuite/Makefile.in: Regenerate.
196 2005-05-16 Tom Tromey <tromey@redhat.com>
198 * java/nio/charset/Charset.java (encode, decode): Synchronize on
199 'this', not the class.
201 2005-05-16 Tom Tromey <tromey@redhat.com>
203 * gnu/java/net/protocol/http/Headers.java (parse): Include final
206 2005-05-16 Tom Tromey <tromey@redhat.com>
209 * java/net/URI.java (unquote): Handle lower-case letters as well.
211 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
214 * gnu/regexp/RE.java: Add support for quoting constructs.
216 2005-05-15 Tom Tromey <tromey@redhat.com>
218 * java/lang/String.java (startsWith): Fixed javadoc.
220 2005-05-15 Tom Tromey <tromey@redhat.com>
223 * testsuite/libjava.compile/pr21519.java: New file.
224 * testsuite/libjava.compile/pr21519.no-link: New file.
226 2005-05-15 Tom Tromey <tromey@redhat.com>
228 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
230 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
233 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
234 interrupt status flag if _Jv_CondWait is interrupted.
236 2005-05-13 Tom Tromey <tromey@redhat.com>
238 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
241 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
243 * include/jvm.h (gcj::verifyClasses): Declare.
244 * link.cc (gcj::verbose_class_flag): Moved.
245 * prims.cc (gcj::verifyClasses): Define here.
246 (gcj::verbose_class_flag): Move definition here.
247 (_Jv_Linker::wait_for_state): Don't call verify_class
248 if gcj::verifyClasses is not set.
249 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
251 2005-05-12 Aaron Luchko <aluchko@redhat.com>
253 * gij.cc (main): Recognize '-verify', '-noverify', and
256 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
258 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
260 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
262 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
265 2005-05-11 Tom Tromey <tromey@redhat.com>
267 * external/w3c_dom/Makefile.in: Rebuilt.
268 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
270 * external/sax/Makefile.in: Rebuilt.
271 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
273 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
275 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
276 Call _Jv_CopyClassesToSystemLoader.
277 * java/lang/natClassLoader.cc (system_class_list): New global.
278 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
280 (_Jv_CopyClassesToSystemLoader): New function.
281 (SYSTEM_LOADER_INITIALIZED): New define.
282 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
283 (_Jv_CheckABIVersion): Use it.
284 (_Jv_ClassForBootstrapLoader): New function.
285 * Makefile.in: Rebuilt.
286 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
288 2005-05-10 Tom Tromey <tromey@redhat.com>
290 * gcj/javaprims.h: Updated.
291 * java/lang/String.java (String(StringBuilder)): New constructor.
292 * java/lang/natStringBuilder.cc: New file.
293 * java/lang/StringBuilder.java: New file.
294 * Makefile.in: Rebuilt.
295 * Makefile.am (core_java_source_files): Added StringBuilder.java.
296 (nat_source_files): Added natStringBuilder.cc.
298 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
301 * testsuite/libjava.jacks/jacks.xfail: Adjust.
303 2005-05-09 Mike Stump <mrs@apple.com>
305 * configure: Regenerate.
307 2005-05-09 David Daney <ddaney@avtrex.com>
309 * java/util/BitSet.java (get(int, int)): Fix breakage when
310 requested set doesn't start on a multiple of 64.
312 2005-05-07 Matthias Klose <doko@debian.org>
314 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
316 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
318 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
319 * Makefile.in: Regenerate.
320 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
321 (createCompatibleVolatileImage(int,int)): Implement.
322 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
324 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
326 (createVolatileImage): Implement.
327 (createBuffers): Likewise.
328 (getBackBuffer): Likewise.
330 (destroyBuffers): Likewise.
331 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
332 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
333 (CanvasFlipBufferStrategy): Likewise.
334 (createBufferStrategy(int)): New method.
335 (createBufferStrategy(int,BufferCapabilities)): Likewise.
336 * java/awt/Component.java (BltBufferStrategy): Implement and
338 (FlipBufferStrategy): Likewise.
339 * java/awt/Window.java (WindowBltBufferStrategy): New class.
340 (WindowFlipBufferStrategy): Likewise.
341 (createBufferStrategy(int)): New method.
342 (createBufferStrategy(int,BufferCapabilities)): Likewise.
343 (getBufferStrategy): Likewise.
344 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
345 front to frontCaps and back to backCaps.
347 2005-05-06 Michael Koch <konqueror@gmx.de>
349 * java/awt/BufferCapabilities.java
350 (BufferCapabilities): Merged javadoc.
352 2005-05-06 Michael Koch <konqueror@gmx.de>
354 * java/util/Locale.java
355 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
356 (getLocale): New methods. Use it everywhere where instances of Locales
358 (getDisplayLanguage): Merged javadoc.
359 (getDisplayCountry): Likewise.
360 (getDisplayVariant): Likewise.
362 2005-05-06 Archie Cobbs <archie@dellroad.org>
364 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
365 use DeleteLocalRef() to avoid exhausting local native references.
367 2005-05-06 Mark Wielaard <mark@klomp.org>
369 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
370 (window_delete_cb): Don't use C++ style comments.
372 2005-05-06 Robert Schuster <thebohemian@gmx.net>
374 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
377 2005-05-06 Robert Schuster <thebohemian@gmx.net>
379 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
380 (window_delete_cb): Made the function return TRUE.
382 2005-05-06 Roman Kennke <roman@kennke.org>
384 * javax/swing/text/PlainView.java
385 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
387 * javax/swing/text/Utilities.java
388 (drawTabbedText): Initilialize local variable pos correctly.
390 2005-05-06 Roman Kennke <roman@kennke.org>
392 * javax/swing/text/AbstractDocument.java
393 (LeafElement): Made start and end package private fields for
394 effective reindexing.
395 * javax/swing/text/PlainDocument.java
396 (constructor): The field rootElement is always BranchElement,
397 so we handle it as such.
398 (removeUpdate): Rewritten reindexing for removeUpdate so that
399 the actual removal is taken into account.
401 2005-05-06 Roman Kennke <roman@kennke.org>
403 * javax/swing/text/GapContent.java:
404 Removed debugging output stuff, which I accidentally left in.
406 2005-05-06 Roman Kennke <roman@kennke.org>
408 * javax/swing/text/GapContent.java:
409 Implemented a real GapContent. Only the public methods have
410 been implemented so far and still no UndoableEdit support.
412 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
414 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
417 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
419 * java/awt/image/BufferStrategy.java: Document.
421 * java/awt/BufferCapabilities.java: Document.
423 2005-05-04 Tom Tromey <tromey@redhat.com>
425 * java/nio/channels/FileLock.java (toString): Entirely avoid
428 2005-05-04 Andrew Overholt <overholt@redhat.com>
430 * java/nio/channels/FileLock.java (toString): Re-implement using
433 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
435 * java/awt/ImageCapabilities.java: Document.
437 * java/awt/image/VolatileImage.java: Unindent copyright header.
439 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
441 * java/awt/image/VolatileImage.java: Document.
443 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
445 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
446 (init_glib_threads): Check if threading system is already
449 2005-05-03 Andrew Overholt <overholt@redhat.com>
452 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
453 could not be acquired.
454 * java/nio/channels/FileLock.java (toString): Re-implement to be
455 in line with other implementations.
457 2005-05-03 Tom Tromey <tromey@redhat.com>
459 * java/lang/VMSecurityManager.java (currentClassLoader): Use
460 'systemClasssLoader' directly.
462 2005-05-03 Tom Tromey <tromey@redhat.com>
464 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
465 call VMClassLoader.getSystemClassLoader.
467 2005-04-29 Michael Koch <konqueror@gmx.de>
469 * java/net/NetworkInterface.java
471 (NetworkInterface(String,InetAddress)): Made package-private.
472 (NetworkInterface(String,InetAddress[])): New constructor.
473 (getRealNetworkInterfaces): Removed.
474 (getByName): Use VMNetworkInterface.getInterfaces().
475 (getByInetAddress): Likewise.
476 (getNetworkInterfaces): Likewise.
477 * java/net/VMNetworkInterface.java,
478 java/net/natVMNetworkInterfaceNoNet.cc,
479 java/net/natVMNetworkInterfacePosix.c,c
480 java/net/natVMNetworkInterfaceWin32.cc: New files.
481 * java/net/natNetworkInterfaceNoNet.cc,
482 java/net/natNetworkInterfacePosix.cc,
483 java/net/natNetworkInterfaceWin32.cc: Removed.
486 * configure, Makefile.in: Regenerated.
488 2005-04-29 Andrew Haley <aph@redhat.com>
490 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
492 2005-04-29 Dalibor Topic <robilad@kaffe.org>
494 * java/nio/channels/FileChannelImpl.java
495 (FileChannelImpl(String, int)): Removed.
496 (FileChannelImpl(File, int)): Added. Check if opened file is a
498 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
499 Call FileChannelImpl(File, int).
500 * java/io/FileOutputStream.java (FileInputStream): Call
501 FileChannelImpl(File, int).
502 * java/io/RandomAccessFile.java (RandomAccessFile):
503 Call FileChannelImpl(File, int). Switched constructors around.
505 2005-04-27 Andrew Haley <aph@redhat.com>
508 * prims.cc (_Jv_ResolvePoolEntry): New function.
509 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
510 * link.cc (_Jv_Linker::find_field): New arg: found_class.
511 (resolve_pool_entry): Initialize the class in which a field is
513 (link_symbol_table): Pass new arg to found_class.
515 2005-04-29 Michael Koch <konqueror@gmx.de>
517 * java/nio/charset/Charset.java
518 (provider): Reformatted.
520 2005-04-29 Michael Koch <konqueror@gmx.de>
522 * gnu/java/net/protocol/http/HTTPConnection.java:
523 (userAgent): Initialize from system properties.
524 (initUserAgent): Removed.
526 2005-04-29 Mark Wielaard <mark@klomp.org>
528 * java/util/ResourceBundle.java (getObject): Clarify
529 MissingResourceException detailed message.
530 (tryBundle(String,ClassLoader)): Likewise.
532 2005-04-29 Robert Schuster <thebohemian@gmx.net>
534 * java/beans/FeatureDescriptor.java:
535 (getShortDescription): Implemented fallback mechanism and fixed
536 documentation (fixes bug #12637).
537 (getDisplayName): Dito.
539 2005-04-29 Robert Schuster <thebohemian@gmx.net>
541 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
542 will now be set correctly.
543 (flushCaches): Now flushes all cached intermediate data.
545 2005-04-28 Michael Koch <konqueror@gmx.de>
547 * java/net/InetAddress.java
548 (aton): Fixed javadoc.
551 2005-04-28 Tom Tromey <tromey@redhat.com>
553 * javax/swing/Timer.java
554 (drainEvents, queueEvent): Now package-private.
556 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
558 * javax/swing/Timer.java
559 (constructor): Assigning initialDelay.
561 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
563 * javax/swing/Timer.java
564 (Waker.run): firing the first action event.
566 2005-04-28 Michael Koch <konqueror@gmx.de>
568 * javax/swing/Timer.java: Reordered all fields and methods,
571 2005-04-28 Michael Koch <konqueror@gmx.de>
573 * javax/swing/Timer.java: Javadocs merged
576 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
578 * gnu/java/net/protocol/file/Connection.java
579 (StaticData): New inner class to contain statics.
580 (connect, getHeaderField): Modified to use StaticData.
582 2005-04-28 Michael Koch <konqueror@gmx.de>
584 * gnu/java/net/protocol/file/Connection.java
585 (lineSeparator): Initialize with SystemProperties.getProperty().
587 2005-04-27 Chris Burdess <dog@gnu.org>
589 * gnu/java/net/protocol/file/Connection.java: Return correct content
590 length for directory listing.
591 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
592 #11285: return valid URLs for directories.i
594 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
596 * Makefile.am (ordinary_java_source_files): Add
597 gnu/java/net/protocol/https/Handler.java.
598 * Makefile.in: Regenerate.
599 * java/net/URL.java: Remove org.metastatic.jessie from default
600 protocol search path.
602 2005-04-27 Chris Burdess <dog@gnu.org>
604 * gnu/java/net/protocol/https/Handler.java: New file.
606 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
608 * javax/imageio/spi/IIORegistry.java (IIORegistry):
609 Don't assume that awt Toolkit is always ClasspathToolkit.
611 2005-04-27 Chris Burdess <dog@gnu.org>
613 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
614 absolute and relative paths in Location header.
616 2005-04-27 Chris Burdess <dog@gnu.org>
618 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
619 FileNotFoundException and implement getErrorStream on 404.
621 2005-04-27 Sven de Marothy <sven@physto.se>
623 * java/util/TimeZone.java,
624 (getDefaultDisplayName): Fix previous fix.
626 2005-04-27 Sven de Marothy <sven@physto.se>
628 * java/util/TimeZone.java,
629 (getDefaultDisplayName): Don't print zero offsets.
631 2005-04-27 Roman Kennke <roman@kennke.org>
633 * javax/swing/plaf/basic/BasicScrollBarUI
634 (getThumbBounds): Do not make thumb smaller than
636 * javax/swing/plaf/metal/MetalLookAndFeel
637 (initComponentDefaults): Added color defaults for ScrollBar.
638 * javax/swing/plaf/metal/MetalScrollBarUI
640 (getMinimumThumbSize): Added.
642 2005-04-27 Roman Kennke <roman@kennke.org>
644 * javax/swing/plaf/metal/MetalLookAndFeel
645 (initComponentDefaults): Added some default colors.
647 2005-04-27 Roman Kennke <roman@kennke.org>
649 * javax/swing/plaf/basic/BasicScrollBarUI.java
650 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
651 to 'ScrollBar.thumbShadow'. The formes does not exist.
652 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
654 2005-04-27 Roman Kennke <roman@kennke.org>
656 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
657 * javax/swing/BoxLayout.java: Likewise.
658 * javax/swing/UIManager.java: Likewise.
659 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
660 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
661 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
662 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
663 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
664 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
665 * javax/swing/text/Document.java: Likewise.
666 * javax/swing/text/GapContent.java: Likewise.
667 * javax/swing/text/SimpleAttributeSet.java: Likewise.
668 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
670 2005-04-27 Roman Kennke <roman@kennke.org>
672 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
673 (getPropertyPrefix): Added.
675 2005-04-27 Roman Kennke <roman@kennke.org>
677 * javax/swing/plaf/basic/BasicButtonUI.java
678 (getPropertyPrefix): Added.
679 (installDefaults): Use getPropertyPrefix instead of hard-coded
682 2005-04-27 Roman Kennke <roman@kennke.org>
684 * javax/swing/JToggleButton.java
685 (JToggleButton): Removed horizontalAlignment setting, this
686 was wrong. Added setting of an actionCommand, ToggleButtons
687 have "" as default actionCommand.
689 2005-04-27 Michael Koch <konqueror@gmx.de>
691 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
692 to work around CNI limitation.
694 2005-04-27 Sven de Marothy <sven@physto.se>
696 * java/nio/charset/Charset.java:
697 (defaultCharset()): New method.
698 Status updated to 1.5
700 2005-04-27 Sven de Marothy <sven@physto.se>
702 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
704 2005-04-27 Sven de Marothy <sven@physto.se>
706 * java/nio/charset/Charset.java: Reset cached de/encoders.
708 2005-04-27 Robert Schuster <thebohemian@gmx.net>
710 * java/nio/charset/Charset.java (forName): Throws
711 IllegalArgumentException when argument is null
712 and added documentation.
714 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
716 * java/nio/charset/Charset.java (providers):
717 New method to make an array of CharsetProviders defined in
718 META-INF/services/java.nio.charset.spi.CharsetProvider.
719 (charsetForName, availableCharsets): Use the
720 new method providers().
722 2005-04-26 Michael Koch <konqueror@gmx.de>
724 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
725 Fixed typos in javadocs.
726 (isSiteLocalAddress): Fixed handling of byte values.
727 (isMCLinkLocal): Likewise.
728 * java/net/Inet4Address.java
729 (isMulticastAddress): Call super method.
730 (isLoopbackAddress): Likewise.
731 (isAnyLocalAddress): Likewise.
732 (isLinkLocalAddress): Likewise.
733 (isSiteLocalAddress): Likewise.
734 (isMCGlobal): Likewise.
735 (isMCNodeLocal): Likewise.
736 (isMCLinkLocal): Likewise.
737 (isMCSiteLocal): Likewise.
738 (isMCOrgLocal): Likewise.
739 (getHostAddress): Likewise.
741 2005-04-26 Sven de Marothy <sven@physto.se>
743 * java/net/InetAddress.java
744 (toString): Don't print empty hostnames.
746 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
749 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
750 'false' to native lock().
751 (lock): Pass 'true' to native lock().
753 2005-04-26 Michael Koch <konqueror@gmx.de>
755 * java/net/InetAddress.java:
756 Fixed typos in javadocs.
758 2005-04-26 Andrew Haley <aph@redhat.com>
761 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
764 2005-04-26 Tom Tromey <tromey@redhat.com>
766 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
767 gnu): Now package-private.
768 * javax/swing/text/html/parser/DocumentParser.java (parser,
769 callBack, gnu): Now package-private.
770 * javax/swing/text/StringContent.java (content, setOffset,
771 checkLocation): Now package-private.
772 * javax/swing/text/JTextComponent.java (doc): Now
774 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
775 lastGoodOrientation, origParent, borders, cachedBounds,
776 cachedOrientation, DragWindow): Now package-private.
777 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
778 decrButton, viewport, panel, currentScrollLocation, layoutManager,
779 tabAreaRect, contentRect, createIncreaseButton,
780 createDecreaseButton, findPointForIndex): Now package-private.
781 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
782 (currentDividerLocation, moveDividerTo): Now package-private.
783 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
785 * javax/swing/plaf/basic/BasicScrollBarUI.java
786 (calculatePreferredSize, valueForYPosition, valueForXPosition):
788 * javax/swing/plaf/basic/BasicPopupMenuUI.java
789 (topWindowListener): Now package-private.
790 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
791 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
792 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
794 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
796 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
798 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
800 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
801 borderInsets): Now package-private.
802 (arrowButtonWidth): Likewise. Now a constant.
803 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
804 makeTabs, updatePreviewPanel): Now package-private.
805 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
806 darkShadow, highlight): Now package-private.
807 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
808 (addColorToQueue): Now package-private.
809 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
810 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
811 GSpinner, BSpinner): Now package-private.
812 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
813 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
814 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
815 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
816 updateTrack): Now package-private.
817 * javax/swing/TransferHandler.java (clipboard): Now
819 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
821 * javax/swing/Timer.java (drainEvents, queueEvent): Now
823 * javax/swing/RepaintManager.java (globalManager): Now
825 * javax/swing/JFormattedTextField.java (editValid): Now
827 * javax/swing/JColorChooser.java (makeModal): Now
829 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
830 index, path): Now package-private.
831 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
832 lineQuadIntersect, lineCubicIntersect, linesIntersect,
833 pointEquals): Now package-private.
834 * java/awt/geom/Arc2D.java (type): Now package-private.
835 * java/awt/Window.java (windowFocusOwner): Now package-private.
836 * java/awt/TextComponent.java (editable, selectionStart,
837 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
839 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
841 * java/awt/MenuComponent.java (focusListener): Now
843 * java/awt/Frame.java (state): Now package-private.
844 * java/awt/Choice.java (pItems): Now package-private.
845 * java/awt/Checkbox.java (state): Now package-private.
846 * java/awt/Button.java (actionCommand, label): Now
848 * gnu/javax/swing/text/html/parser/support/Parser.java
849 (attributes, _handleEndTag_remaining, _handleStartTag): Now
851 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
853 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
854 clip, transform, font, comp): Now package-private.
856 2005-04-26 Tom Tromey <tromey@redhat.com>
858 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
861 2005-04-26 Mark Wielaard <mark@klomp.org>
863 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
864 to MalformedURLException.
866 2005-04-26 Michael Koch <konqueror@gmx.de>
868 * java/security/AccessControlContext.java:
870 (protectedDomains): Renamed from 'protectionDomain'.
871 * java/security/AccessController.java:
874 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
876 * gnu/java/security/action/GetSecurityPropertyAction.java
877 (GetSecurityPropertyAction): Implement PrivilegedAction instead
878 of extending GetPropertyAction.
881 (setParamters): New methods.
882 (GetSecurityPropertyAction): Use new setParameters methods.
884 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
886 * java/security/Security.java,
887 java/security/cert/X509CRLSelector.java,
888 java/security/cert/X509CertSelector.java:
889 Modified to use SystemProperties.
891 2005-04-26 Michael Koch <konqueror@gmx.de>
893 * java/lang/System.java
894 (setSecurityManager): Fixed comment.
895 (getSecurityManager): Removed obsolete comment.
897 2005-04-25 Tom Tromey <tromey@redhat.com>
899 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
901 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
904 (connectSignals): Realize the window widget after connecting
907 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
909 * java/awt/GraphicsEnvironment.java
910 (localGraphicsEnvironment): New field.
911 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
913 (isHeadless): Added support for java.awt.headless property.
914 (isHeadlessInstance): Call headless().
916 2005-04-25 Roman Kennke <roman@kennke.org>
918 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
919 (getDisplayMode): Added. Returns the current display mode.
920 (isFullScreenSupported): Added.
921 * java/awt/GraphicsDevice.java
922 (setFullScreenWindow): Implemented a primitive fullscreen mode.
923 This resizes and relocates the fullscreen window so that it uses
924 the whole screen. This is not a fully accelerated fullscreen
927 2005-04-25 Michael Koch <konqueror@gmx.de>
929 * java/lang/Runtime.java,
930 java/lang/SecurityManager.java,
931 java/lang/System.java,
932 java/lang/ThreadGroup.java:
933 Replaced java.lang.Runtime.securityManager by
934 java.lang.SecurityManager.current (as used in GNU classpath).
936 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
938 * java/awt/Transparency.java
939 (getTransparency): fixed API docs.
941 2005-04-25 Archie Cobbs <archie@dellroad.org>
943 * java/lang/Throwable.java: simplify initializing cause in constructor
945 2005-04-25 Michael Koch <konqueror@gmx.de>
947 * gnu/classpath/SystemProperties.java: New file.
948 * gnu/classpath/natSystemProperties.cc: New file.
949 * java/lang/Runtime.java
950 (defaultProperties): Removed.
952 (): Made thrown exceptions more verbose.
953 (insertSystemProperties): Removed.
954 * java/lang/System.java
956 (properties): Likewise.
957 (setSecurityManager): Reordered modifiers.
958 (getenv): Improved javadoc.
960 (isWordsBigEndian): Removed.
961 * java/lang/natRuntime.cc
962 (_Jv_SetDLLSearchPath): Likewise.
963 (file_encoding): Likewise.
964 (default_file_encoding): Likewise.
965 (getpwuid_adaptor): Likewise.
966 (insertSystemProperties): Likewise.
967 * java/lang/natSystem.cc
968 (isWordsBigEndian): Likewise.
970 (ordinary_java_source_files):
971 Added gnu/classpath/SystemProperties.java.
972 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
973 * Makefile.in: Regenerated.
975 2005-04-25 Roman Kennke <roman@kennke.org>
977 * javax/swing/plaf/basic/BasicScrollBarUI.java
978 (initDefaults): Initialize thumb*Color fields correctly.
980 2005-04-25 Roman Kennke <roman@kennke.org>
982 * javax/swing/text/GapContent.java:
985 2005-04-25 Roman Kennke <roman@kennke.org>
987 * javax/swing/plaf/metal/MetalBorders.java:
988 Added inner class ScrollPaneBorder.
989 * javax/swing/plaf/metal/MetalLookAndFeel.java
990 (initComponentDefaults): Added default for "ScrollPane.border"
991 to use the new ScrollPaneBorder.
993 2005-04-25 Roman Kennke <roman@kennke.org>
995 * javax/swing/text/AbstractDocument.java:
996 Added FIXME comments. This class still has to be
997 implemented thread-safe.
999 2005-04-25 Roman Kennke <roman@kennke.org>
1001 * javax/swing/tree/DefaultTreeSelectionModel.java
1002 (DefaultTreeSelectionModel): Initialize listenerList here.
1004 2005-04-25 Roman Kennke <roman@kennke.org>
1006 * javax/swing/plaf/metal/MetalTextFieldUI.java
1007 (createUI): Return one instance per Component instead of a
1010 2005-04-25 Roman Kennke <roman@kennke.org>
1012 * javax/swing/text/Document.java:
1013 Added API documentation comments.
1015 2005-04-25 Roman Kennke <roman@kennke.org>
1017 * javax/swing/text/AbstractDocument.java
1018 (getDocumentProperties): Implemented.
1019 (setDocumentProperties): Implemented.
1020 (getProperty): Implemented.
1021 (putProperty): Implemented.
1023 2005-04-25 Roman Kennke <roman@kennke.org>
1025 * javax/swing/BoxLayout
1026 (preferredLayoutSize): Fixed computation so that it correctly
1027 adds the top and bottom insets of the container.
1029 2005-04-25 Roman Kennke <roman@kennke.org>
1031 * javax/swing/plaf/basic/BasicMenuItemUI.java
1032 (paintText): Make use of the 'selectionForeground' UI default
1035 2005-04-25 Roman Kennke <roman@kennke.org>
1037 * javax/swing/plaf/basic/BasicLookAndFeel.java
1038 (initSystemColorDefaults): Modified colors to match the
1039 BasicLookAndFeel in the reference implementation.
1040 (initComponentDefaults): Likewise.
1042 2005-04-25 Tom Tromey <tromey@redhat.com>
1044 * include/jni.h (_Jv_va_list): Removed.
1045 Moved configuration code...
1046 * include/jni_md.h: ... here. New file.
1047 * include/Makefile.in: Rebuilt.
1048 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1050 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1052 * java/io/FileInputStream.java (FileInputStream(File)),
1053 java/io/FileOutputStream.java (FileOutputStream(File)):
1054 Removed unnecessary File.isDirectory() check.
1056 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1058 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1059 gij if get_multilibs fails.
1061 2005-04-22 Anthony Green <green@redhat.com>
1063 * jni.cc (natrehash): Don't bother clearing memory again.
1064 * interpret.cc (do_allocate_static_fields): Ditto.
1065 * java/lang/natString.cc (rehash): Ditto.
1067 2005-04-22 Roman Kennke <roman@kennke.org>
1069 * javax/swing/plaf/basic/BasicLookAndFeel.java
1070 (initComponentDefaults): Changed Button.border to be
1071 BasicBorders.getButtonBorder as it should be.
1073 2005-04-22 Roman Kennke <roman@kennke.org>
1075 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1076 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1077 should according to a mauve testcase, instead of the preferred
1080 2005-04-22 Roman Kennke <roman@kennke.org>
1082 * javax/swing/JMenu.java
1083 (add): add(Component) now calls PopupMenu.insert(..) instead of
1084 PopupMenu.add(..). add(..) is not implemented for Component,
1085 so JComponent.add(..) is called instead, adding the component
1088 2005-04-22 Roman Kennke <roman@kennke.org>
1090 * javax/swing/plaf/basic/BasicButtonListener.java
1091 (mousePressed): replaced query to getModifiersEx with getModifiers.
1092 This method relied on faulty behaviour in getModifierEx.
1093 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1094 This method relied on faulty behaviour in getModifierEx.
1096 2005-04-22 Roman Kennke <roman@kennke.org>
1098 * javax/swing/plaf/metal/MetalLookAndFeel.java
1099 (getDefaults): Call addCustomEntriesToTable on the theme.
1101 2005-04-22 Roman Kennke <roman@kennke.org>
1103 * javax/swing/tree/DefaultTreeSelectionModel.java
1104 (constructor): Added implementation.
1105 (getRowMapper): Added implementation.
1106 (setSelectionMode): Added implementation.
1107 (getSelectionMode): Added implementation.
1108 (getSelectionPath): Added implementation.
1109 (getSelectionPaths): Added implementation.
1110 (getSelectionCount): Added implementation.
1111 (isSelectionEmpty): Added implementation.
1112 (getSelectionRows): Added implementation.
1113 (getMinSelectionRow): Added implementation.
1114 (getMaxSelectionRow): Added implementation.
1115 (getLeadSelectionRow): Added implementation.
1116 (getLeadSelectionPath): Added implementation.
1118 2005-04-22 Casey Marshall <csm@gnu.org>
1120 * gnu/java/security/der/DERValue.java
1121 (getValueAs): new method.
1122 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1123 (<init>): read both dates with 'DERValue.getValueAs', with
1124 'GENERALIZED_TIME' as the argument.
1126 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1128 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1129 be null, check for that case and don't deference it.
1131 2005-04-22 Sven de Marothy <sven@physto.se>
1133 * java/util/logging/LogManager.java: Reformatted.
1134 (readConfiguration): If a logger for a key is not found, create one.
1136 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1138 * java/rmi/Naming.java:
1139 Added class documentation.
1140 (lookup(String)): Call parseURL and getName.
1141 (bind(String,java.rmi.Remote)): Likewise.
1142 (unbind(String)): Likewise.
1143 (rebind(String, java.rmi.Remote)): Likewise.
1144 (list(String)): Call parseURL.
1145 (parseURL(String)): New method to handle parsing and defaults.
1146 (getName(java.net.URL)): New method to handle finding the service name.
1148 2005-04-21 Tom Tromey <tromey@redhat.com>
1150 * java/lang/natClass.cc (initializeClass): Link class.
1152 2005-04-21 Tom Tromey <tromey@redhat.com>
1154 * java/lang/AssertionError.java: Typo fix.
1156 2005-04-21 Tom Tromey <tromey@redhat.com>
1158 * java/lang/VMClassLoader.java (transformException): Removed.
1159 (resolveClass): No longer native. Now does nothing.
1160 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1162 2005-04-21 Anthony Green <green@redhat.com>
1165 * testsuite/libjava.special/special.exp,
1166 testsuite/libjava.special/pr21115I.java,
1167 testsuite/libjava.special/pr21115.java,
1168 testsuite/libjava.special/pr21115.out: New files.
1170 2005-04-21 Chris Burdess <dog@gnu.org>
1172 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1173 CRLF-delimited chunks.
1175 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1177 * java/net/URI.java:
1178 Added class documentation.
1179 (parseURI(String)): Only handle scheme-specific parts
1180 if URI is not opaque. Allow for parts that can't be null.
1181 (toString()): Output the scheme-specific part whole, rather
1182 than as its possibly non-existent components.
1184 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1186 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1187 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1188 Adjusted to match new regexp.
1190 2005-04-20 Michael Koch <konqueror@gmx.de>
1192 * gnu/java/net/protocol/file/Connection.java,
1193 gnu/java/net/protocol/jar/Connection.java:
1194 Reorganized import statements. Fixed @author tags.
1196 2005-04-20 Chris Burdess <dog@gnu.org>
1198 * java/io/DataOutputStream.java (writeUTF): Use block write for
1201 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1203 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1204 (readLine): Changed newline handling.
1206 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1208 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1209 ColorModel,byte[],int,int): Fixed byte to int conversion.
1211 2005-04-20 Michael Koch <konqueror@gmx.de>
1213 * java/io/FilePermission.java
1214 (serialVersionUID): Made private.
1215 (ALL_FILES): New constant.
1216 (implies): Handle '<<ALL FILES>>' case.
1218 2005-04-20 Sven de Marothy <sven@physto.se>
1220 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1221 (drawImage): Don't notify the image observer for offscreen images.
1222 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1223 (setPixels): Don't notify the image observer.
1225 2005-04-20 Sven de Marothy <sven@physto.se>
1227 * java/nio/ByteBufferImpl.java:
1228 (putChar): Inlined for speed.
1229 (put, get): Bulk methods can use arraycopy.
1230 * java/nio/CharBufferImpl.java:
1231 (put, get): Bulk methods can use arraycopy.
1233 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1235 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1237 * java/nio/CharBufferImpl.java
1238 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1239 (get(), put(char)): Inlined checks and field updates. Fixed to
1240 take array_offset into account.
1241 (get(int), put(int, char)): Fixed to take array_offset into account.
1243 2005-04-20 Sven de Marothy <sven@physto.se>
1245 * java/text/SimpleDateFormat.java:
1246 (formatWithAttribute): Pad year before truncating digits.
1248 2005-04-20 Michael Koch <konqueror@gmx.de>
1250 * gnu/java/net/PlainDatagramSocketImpl.java:
1251 Merged copyright header.
1252 * gnu/java/net/PlainSocketImpl.java:
1253 Reorganized import statements. Fixed @author tags.
1255 2005-04-20 Michael Koch <konqueror@gmx.de>
1257 * gnu/java/lang/ClassHelper.java,
1258 gnu/java/lang/reflect/TypeSignature.java:
1261 2005-04-20 Michael Koch <konqueror@gmx.de>
1263 * gnu/java/beans/IntrospectionIncubator.java:
1264 Fixed HTML tags in javadocs.
1266 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1268 * gnu/java/beans/IntrospectionIncubator.java
1269 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1270 set(), is(), add() and remove() with properties or events.
1272 2005-04-20 Michael Koch <konqueror@gmx.de>
1274 * gnu/java/awt/image/XBMDecoder.java:
1275 Fixed modifier order.
1277 2005-04-20 Roman Kennke <roman@kennke.org>
1279 * javax/swing/plaf/basic/BasicButtonUI.java
1280 (paint): This should not care about margin and insets
1281 at the same time, as insets already include the margin
1283 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1284 (getPreferredButtonSize): Likewise.
1285 * javax/swing/plaf/metal/MetalBorders.java
1286 (getBorderInsets): Likewise.
1288 2005-04-20 Roman Kennke <roman@kennke.org>
1290 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1291 (createMessageArea): The JPanel that holds the message area
1292 doesn't need to override getPreferredSize. This prevents some
1293 message components from rendering nicely.
1295 2005-04-20 Roman Kennke <roman@kennke.org>
1297 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1298 (createUI): Do not share instances between components.
1299 * javax/swing/plaf/metal/MetalSliderUI.java
1300 (createUI): Do not share instances between components.
1302 2005-04-20 Roman Kennke <roman@kennke.org>
1304 * javax/swing/plaf/metal/MetalBorders:
1305 (PopupMenuBorder): Added.
1306 * javax/swing/plaf/metal/MetalLookAndFeel
1307 (initComponentDefaults): Added PopupMenuBorder.
1309 2005-04-20 Roman Kennke <roman@kennke.org>
1311 * javax/swing/tree/DefaultTreeSelectionModel.java:
1312 Added API documentation all over the class.
1314 2005-04-20 Roman Kennke <roman@kennke.org>
1316 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1317 (installDefaults): Link managed JScrollPane in instance field.
1318 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1320 2005-04-20 Roman Kennke <roman@kennke.org>
1322 * javax/swing/plaf/basic/BasicScrollBarUI.java
1323 (PropertyChangeHandler.propertyChange): Add default
1324 to switch statement to avoid errors with unusual values
1326 (installComponents): Likewise.
1328 2005-04-20 Roman Kennke <roman@kennke.org>
1330 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1331 (createUI): Instances cannot be shared among JScrollPanes.
1333 2005-04-20 Roman Kennke <roman@kennke.org>
1335 * javax/swing/plaf/metal/MetalLookAndFeel.java
1336 (initComponentDefaults): Added defaults for Menu, MenuBar
1339 2005-04-20 Roman Kennke <roman@kennke.org>
1341 * javax/swing/plaf/basic/BasicScrollBarUI.java
1342 (installUI): Install listeners after everything all, otherwise
1343 we get strange NPEs in some situations, especially with
1345 (createIncreaseButton): Orientation is expected to be
1346 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1347 HORIZONTAL or VERTICAL.
1348 (createDecreaseButton): Orientation is expected to be
1349 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1350 HORIZONTAL or VERTICAL.
1351 (installComponents): Orientation for buttons is expected to be
1352 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1353 HORIZONTAL or VERTICAL.
1355 2005-04-20 Roman Kennke <roman@kennke.org>
1357 * javax/swing/JToolBar.java
1358 (addImpl): Adjust added AbstractButtons to look and feel like
1360 * javax/swing/plaf/metal/MetalBorders.java:
1361 Adjusted insets of ButtonBorder.
1362 (RolloverMarginBorder): Added class for toolbar buttons.
1363 (getButtonBorder): Adjusted factory method to return a shared
1364 instance of button border.
1365 (getToolbarButtonBorder): Added factory method to return a shared
1366 instance of toolbar button border.
1367 (getMarginBorder): Added factory method to return a shared
1368 instance of margin border.
1369 * javax/swing/plaf/metal/MetalButtonUI.java
1370 (installDefauls): If button is child of a JToolBar then set
1371 special border on this button.
1373 2005-04-20 Michael Koch <konqueror@gmx.de>
1375 * java/net/URLConnection.java
1376 (getContent): Fixed javadoc comment.
1378 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1380 * java/net/URL.java:
1381 (toURI()): Implemented.
1383 2005-04-19 Michael Koch <konqueror@gmx.de>
1385 * java/net/InetAddress.java
1386 (InetAddress): Fixed javadoc comment.
1388 (lookup): Added javadoc.
1389 (getFamily): Likewise.
1390 * java/net/ServerSocket.java
1391 (getChannel): Improved javadoc comment.
1393 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1395 * gnu/xml/dom/html2/DomHTMLParser.java:
1396 Changed 'enum' references to become 'enumeration'.
1398 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1400 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1402 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1404 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1405 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1406 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1407 (validateParameters(TagElement,htmlAttributeSet)):
1408 Replaced 'enum' with 'enumeration'.
1409 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1412 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1414 * javax/swing/text/html/parser/Entity.java (getType): New method.
1415 * javax/swing/text/html/parser/DocumentParser.java:
1416 Inherit from javax.swing.text.html.parser.Parser.
1418 2005-04-19 Chris Burdess <dog@gnu.org>
1420 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1421 check for HTML/XHTML namespace.
1423 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1425 * javax/swing/text/html/parser/Parser.java,
1426 javax/swing/text/html/parser/Entity.java:
1427 Inheriting from DTDConstants.
1428 * javax/swing/text/html/parser/AttributeList.java
1429 (getValues): Changed return type.
1430 * javax/swing/text/html/parser/DocumentParser
1431 (parse): Adding the callback parameter that receives
1434 2005-04-19 Chris Burdess <dog@gnu.org>
1436 * gnu/xml/dom/DomImpl.java,
1437 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1438 gnu/xml/dom/html2/DomHTMLDocument.java,
1439 gnu/xml/dom/html2/DomHTMLElement.java,
1440 gnu/xml/dom/html2/DomHTMLFormElement.java,
1441 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1442 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1443 gnu/xml/dom/html2/DomHTMLImpl.java,
1444 gnu/xml/dom/html2/DomHTMLInputElement.java,
1445 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1446 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1447 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1448 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1449 gnu/xml/dom/html2/DomHTMLTableElement.java,
1450 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1451 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1452 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1453 UI events, and tree utility functions.
1455 2005-04-19 Michael Koch <konqueror@gmx.de>
1457 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1458 gnu/javax/swing/text/html/parser/gnuDTD.java,
1459 gnu/javax/swing/text/html/parser/models/node.java:
1460 Reworked import statements.
1462 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1464 * javax/swing/text/html/HTMLDocument.java: New file.
1466 2005-04-19 Michael Koch <konqueror@gmx.de>
1468 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1470 * javax/swing/text/html/parser/AttributeList.java:
1471 Fixed order of modifiers.
1472 (AttributeList): Made final.
1473 * javax/swing/text/html/parser/ContentModel.java:
1474 Fixed html characters in javadocs.
1475 * javax/swing/text/html/parser/DTD.java
1476 (DTD): Don't implement java.io.Serializable directly.
1477 (getElement): Simplified.
1478 * javax/swing/text/html/parser/DTDConstants.java:
1480 * javax/swing/text/html/parser/Element.java:
1481 Fixed order of modifiers.
1482 * javax/swing/text/html/parser/Parser.java:
1483 Reformatted. Don't use fully-qualified class names.
1484 * javax/swing/text/html/parser/ParserDelegator.java:
1485 Fixed order of modifiers.
1486 * javax/swing/text/rtf/RTFParser.java:
1487 Re-ordered import statements.
1488 * javax/swing/text/rtf/RTFScanner.java:
1489 Removed unused import statement.
1491 2005-04-19 Chris Burdess <dog@gnu.org>
1493 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1494 gnu/xml/dom/html2/DomHTMLCollection.java,
1495 gnu/xml/dom/html2/DomHTMLDocument.java,
1496 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1498 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1499 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1500 gnu/xml/dom/html2/DomHTMLDivElement.java,
1501 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1502 gnu/xml/dom/html2/DomHTMLFontElement.java,
1503 gnu/xml/dom/html2/DomHTMLFormElement.java,
1504 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1505 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1506 gnu/xml/dom/html2/DomHTMLHRElement.java,
1507 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1508 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1509 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1510 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1511 gnu/xml/dom/html2/DomHTMLImageElement.java,
1512 gnu/xml/dom/html2/DomHTMLInputElement.java,
1513 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1514 gnu/xml/dom/html2/DomHTMLLIElement.java,
1515 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1516 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1517 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1518 gnu/xml/dom/html2/DomHTMLMapElement.java,
1519 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1520 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1521 gnu/xml/dom/html2/DomHTMLModElement.java,
1522 gnu/xml/dom/html2/DomHTMLOListElement.java,
1523 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1524 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1525 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1526 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1527 gnu/xml/dom/html2/DomHTMLParamElement.java,
1528 gnu/xml/dom/html2/DomHTMLPreElement.java,
1529 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1530 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1531 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1532 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1533 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1534 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1535 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1536 gnu/xml/dom/html2/DomHTMLTableElement.java,
1537 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1538 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1539 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1540 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1541 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1543 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1545 * javax/swing/text/ChangedCharSetException.java,
1546 javax/swing/text/html/HTMLEditorKit.java,
1547 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1548 javax/swing/text/html/parser/AttributeList.java,
1549 javax/swing/text/html/parser/ContentModel.java,
1550 javax/swing/text/html/parser/DocumentParser.java,
1551 javax/swing/text/html/parser/DTD.java,
1552 javax/swing/text/html/parser/DTDConstants.java,
1553 javax/swing/text/html/parser/Element.java,
1554 javax/swing/text/html/parser/Entity.java,
1555 javax/swing/text/html/parser/Parser.java,
1556 javax/swing/text/html/parser/TagElement.java,
1557 gnu/javax/swing/text/html/package.html,
1558 gnu/javax/swing/text/html/parser/gnuDTD.java,
1559 gnu/javax/swing/text/html/parser/HTML_401F.java,
1560 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1561 gnu/javax/swing/text/html/parser/htmlValidator.java,
1562 gnu/javax/swing/text/html/parser/package.html,
1563 gnu/javax/swing/text/html/parser/models/list.java,
1564 gnu/javax/swing/text/html/parser/models/node.java,
1565 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1566 gnu/javax/swing/text/html/parser/models/package.html,
1567 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1568 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1569 gnu/javax/swing/text/html/parser/models/transformer.java,
1570 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1571 gnu/javax/swing/text/html/parser/support/package.html,
1572 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1573 gnu/javax/swing/text/html/parser/support/Parser.java,
1574 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1575 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1576 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1577 gnu/javax/swing/text/html/parser/support/low/Location.java,
1578 gnu/javax/swing/text/html/parser/support/low/node.java,
1579 gnu/javax/swing/text/html/parser/support/low/package.html,
1580 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1581 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1582 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1583 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1585 * javax/swing/text/html/HTML.java,
1586 javax/swing/text/html/parser/ParserDelegator.java:
1587 New files (replacing).
1588 * javax/swing/text/html/package.html,
1589 javax/swing/text/html/parser/package.html: Documenting the
1592 2005-04-19 Chris Burdess <dog@gnu.org>
1594 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1595 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1596 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1597 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1598 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1599 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1600 gnu/xml/dom/html2/DomHTMLBRElement.java,
1601 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1602 gnu/xml/dom/html2/DomHTMLCollection.java,
1603 gnu/xml/dom/html2/DomHTMLDocument.java,
1604 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1606 2005-04-19 Michael Koch <konqueror@gmx.de>
1608 * Makefile.am: Added new files.
1609 * Makefile.in: Regenerated.
1611 2005-04-19 Roman Kennke <roman@kennke.org>
1613 * javax/swing/text/JTextComponent.java
1614 (JTextComponent): Added repaintListener which issues repaint
1615 requests when the underlying document changes.
1616 (setDocument): Adds repaintListener to document when the
1617 document is changed.
1618 * javax/swing/text/DefaultEditorKit.java:
1619 Removed repaint calls on JTextComponent. This is now handled
1620 through a DocumentListener in JTextComponent that repaints
1621 the component when needed.
1623 2005-04-19 Roman Kennke <roman@kennke.org>
1626 * javax/swing/text/StyleContext.java
1627 (NamedStyle.setResolveParent): Added null
1630 2005-04-19 Michael Koch <konqueror@gmx.de>
1632 * java/rmi/server/RemoteObject.java:
1633 Removed unused import statement.
1635 2005-04-19 Michael Koch <konqueror@gmx.de>
1637 * java/net/URL.java: Formatting cleanups.
1639 2005-04-19 Michael Koch <konqueror@gmx.de>
1641 * java/awt/FontMetrics.java: Reformatted.
1642 (getFontRenderContext): Handle case when java.awt.Graphics context is
1645 2005-04-19 Michael Koch <konqueror@gmx.de>
1647 * java/awt/FontMetrics.java
1648 (getStringBounds): New methods.
1651 2005-04-19 Michael Koch <konqueror@gmx.de>
1653 * gnu/java/security/x509/X509Certificate.java
1654 (parse): Handle val == null case.
1656 2005-04-19 Roman Kennke <roman@kennke.org>
1658 * javax/swing/plaf/metal/MetalLookAndFeel.java
1659 (initComponentDefaults): Added defaults for Menu, MenuBar
1662 2005-04-19 Roman Kennke <roman@kennke.org>
1664 * javax/swing/plaf/metal/MetalLookAndFeel.java
1665 (initComponentDefaults): Added Label.font.
1666 (initSystemColorDefaults): Added this method and adjusted the
1667 general control color.
1669 2005-04-19 Roman Kennke <roman@kennke.org>
1671 * javax/swing/plaf/metal/MetalBorders.java:
1673 * javax/swing/plaf/metal/MetalButtonUI.java:
1674 (installDefaults): Install button font.
1675 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1676 (initComponentDefaults): Added button border, font and margin.
1677 Changed components background color to the Metal current themes
1680 2005-04-19 Roman Kennke <roman@kennke.org>
1682 * javax/swing/plaf/metal/MetalLookAndFeel.java
1683 (initComponentDefaults): Added to set Metal specific component
1686 2005-04-19 Mark Wielaard <mark@klomp.org>
1688 * javax/swing/plaf/metal/MetalLookAndFeel.java
1689 (initClassDefaults): Call super.initClassDefaults().
1691 2005-04-19 Roman Kennke <roman@kennke.org>
1693 * javax/swing/plaf/metal/MetalLookAndFeel.java
1694 (initClassDefaults): Added to include the *UI classes.
1696 2005-04-19 Roman Kennke <roman@kennke.org>
1698 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1700 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1702 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1704 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1706 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1708 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1710 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1712 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1714 * javax/swing/plaf/metal/MetalSliderUI.java:
1716 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1718 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1720 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1722 2005-04-19 Roman Kennke <roman@kennke.org>
1724 * javax/swing/plaf/metal/MetalButtonUI.java:
1725 Added skeleton class.
1726 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1727 Added skeleton class.
1728 * javax/swing/plaf/metal/MetalLabelUI.java:
1729 Added skeleton class.
1730 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1731 Added skeleton class.
1732 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1733 Added skeleton class.
1734 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1735 Added skeleton class.
1737 2005-04-19 Roman Kennke <roman@kennke.org>
1739 * javax/swing/UIDefaults.java:
1740 Added API documentation for all methods.
1742 2005-04-19 Roman Kennke <roman@kennke.org>
1744 * javax/swing/UIDefaults.java
1745 (put): Now uses new checkAndPut method instead of checking
1747 (putDefaults): Fixed so that it accepts null-values and
1748 treats them like remove(key).
1749 (checkAndPut): Added. This checks for null-values and calls
1752 2005-04-19 Michael Koch <konqueror@gmx.de>
1754 * Makefile.am: Added new files.
1755 * Makefile.in: Regenerated.
1757 2005-04-19 Mark Wielaard <mark@klomp.org>
1759 * java/lang/natRuntime.cc (insertSystemProperties): Set
1760 java.class.path to CLASSPATH only when not empty. Fall back to
1761 default path "." when java.class.path is empty.
1763 2005-04-19 Michael Koch <konqueror@gmx.de>
1765 * javax/swing/text/rtf/ControlWordToken.java,
1766 javax/swing/text/rtf/RTFEditorKit.java,
1767 javax/swing/text/rtf/RTFParseException.java,
1768 javax/swing/text/rtf/RTFParser.java,
1769 javax/swing/text/rtf/RTFScanner.java,
1770 javax/swing/text/rtf/TextToken.java,
1771 javax/swing/text/rtf/Token.java: New files.
1772 * Makefile.am: Added new files.
1773 * Makefile.in: Regenerated.
1775 2005-04-19 Michael Koch <konqueror@gmx.de>
1777 * java/awt/geom/QuadCurve2D.java:
1778 Fixed Brian Gough's name for real.
1780 2005-04-19 Roman Kennke <roman@kennke.org>
1782 * javax/swing/UIManager.java:
1783 Make the UIManager respect the swing.defaultlaf system
1786 2005-04-19 Tom Tromey <tromey@redhat.com>
1788 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1791 2005-04-19 Roman Kennke <roman@kennke.org>
1793 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1794 Fixed tabs to spaces.
1796 2005-04-19 Roman Kennke <roman@kennke.org>
1798 * javax/swing/plaf/basic/BasicMenuUI.java
1799 (getMaximumSize): Now returns preferredSize because JMenu should
1800 never be bigger than that.
1801 * javax/swing/JRootPane
1802 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1804 2005-04-19 Roman Kennke <roman@kennke.org>
1806 * javax/swing/JRootPane.java:
1807 Fixed various tabs to be spaces.
1808 (RootLayout.layoutContainer): Made menubar left aligned.
1810 2005-04-19 Roman Kennke <roman@ontographics.com>
1812 * javax/swing/JList.java
1813 (getPreferredScrollableViewportSize):
1814 The previous implementation was merely guessing the size,
1815 now it respects layoutOrientation, visibleRowCount
1817 (getScrollableTracksViewportHeight):
1818 Reimplemented so that layoutOrientation, visibleRowCount
1819 and preferred size are respected.
1820 (getScrollableTracksViewportWidth):
1821 Reimplemented so that layoutOrientation, visibleRowCount
1822 and preferred size are respected.
1823 * javax/swing/plaf/basic/BasicListUI.java
1825 Improved calculation of preferredSize when JList is
1826 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1828 The previous implementation assumed a layoutOrientation of
1829 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1830 JList.VERTICAL_WRAP.
1832 2005-04-19 Roman Kennke <roman@ontographics.com>
1834 * javax/swing/plaf/basic/BasicListUI.java
1835 (paintCell): use CellRendererPane for painting the cells.
1837 2005-04-19 Roman Kennke <roman@ontographics.com>
1839 * javax/swing/plaf/basic/BasicListUI:
1840 fixed modifiers of several fields, methods and inner
1841 classes to match the 'spec'.
1842 (getMaximumSize): removed. It's not in the spec and the
1843 implementations was superfluous.
1845 2005-04-19 Roman Kennke <roman@ontographics.com>
1847 * javax/swing/plaf/basic/BasicListUI:
1848 make BasicListUI capable of wrapping lists
1849 (layoutOrientation property of javax.swing.JList)
1851 2005-04-19 Roman Kennke <roman@ontographics.com>
1853 * javax/swing/plaf/basic/BasicListUI
1854 (updateLayoutState,paint): make BasicListUI aware of the
1855 width of the rendered JList.
1857 2005-04-19 Roman Kennke <roman@kennke.org>
1859 * javax/swing/ImageIcon.java
1860 Added API documentation.
1862 2005-04-19 Roman Kennke <roman@kennke.org>
1864 * javax/swing/text/ImageIcon.java
1865 (ImageIcon): Use setImage instead of direct assignment.
1866 (setImage): Call loadImage to make sure that the image is loaded.
1867 (loadImage): Waits for the image to complete loading.
1868 (getImageLoadStatus): Added. Returns the load status of the
1871 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1873 * javax/swing/JTextArea.java (replaceRange):
1874 Fixing doc.remove(start, length) misinterpretation.
1876 2005-04-19 Roman Kennke <roman@ontographics.com>
1878 * javax/swing/CellRendererPane.java:
1879 implemented all methods of this class.
1880 reformatted all wrong formatted code.
1882 2005-04-19 Roman Kennke <roman@kennke.org>
1884 * javax/swing/BoxLayout.java:
1885 (layoutContainer): Made this layout manager respect the
1886 minimum, maximum and preferred size more correctly.
1888 2005-04-19 Roman Kennke <roman@ontographics.com>
1890 * javax/swing/BoxLayout.java:
1891 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1892 layoutContainer): Make these methods and thereby the
1893 BoxLayout respect the insets (like borders) of the
1894 component that is laid out.
1896 2005-04-19 Roman Kennke <roman@kennke.org>
1898 * javax/swing/JComponent.java:
1899 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1900 Untabified the file.
1902 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1904 * javax/swing/JComboBox.java (constructors): selecting the
1905 first item if the box was constructed from the provided
1906 non - empty array or vector.
1908 2005-04-19 Michael Koch <konqueror@gmx.de>
1910 * gnu/java/awt/peer/gtk/GdkGraphics.java
1911 (getClipBounds): Handle clip being null.
1912 (setClip): Likewise.
1913 * java/beans/beancontext/BeanContextSupport.java
1917 (removeAll): Likewise.
1918 (retainAll): Likewise.
1920 2005-04-19 Michael Koch <konqueror@gmx.de>
1922 * java/beans/beancontext/BeanContextServicesSupport.java
1923 (BeanContextServicesSupport): Reimplemented.
1924 (addBeanContextServicesListener): Implemented.
1925 (initialize): Likewise.
1926 (removeBeanContextServicesListener): Likewise.
1927 * java/beans/beancontext/BeanContextSupport.java
1929 (addBeanContextMembershipListener): Likewise.
1930 (getLocale): Likewise.
1931 (initialize): Likewise.
1932 (iterator): Likewise.
1934 (toArray): Likewise.
1936 2005-04-19 Roman Kennke <roman@kennke.org>
1938 * java/awt/MediaTracker.java:
1939 Reindented tabs to spaces.
1941 2005-04-19 Roman Kennke <roman@kennke.org>
1943 * java/awt/MediaTracker.java
1944 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1945 confused the media tracker and lead to lockups. The LOADING
1946 bit is handled on other places.
1947 (addImage): Removed the 'start image tracking' stuff. This
1948 is not necessary and could confuse the media tracker.
1949 (checkAll): Improved the check for image status so that
1950 images that already complete images are detected. Also now
1951 are really all images checked and if necessary loaded. Before
1952 the method bailed out after the first incomplete image.
1953 (statusAll): Detect images that are complete after the
1954 call to Component.prepareImage(..).
1955 (checkID): The same as in checkAll.
1956 (statusID): The same as in statusAll.
1958 2005-04-19 Roman Kennke <roman@kennke.org>
1960 * java/awt/MediaTracker.java
1961 (addImage): Synchronized list access.
1962 (waitForAll): Fixed comparison of time (changed < to >).
1963 (waitForID): Fixed comparison of time (changed < to >).
1964 (removeImage): Synchronized list access.
1966 2005-04-19 Roman Kennke <roman@kennke.org>
1968 * java/awt/MediaTracker.java
1969 Added API documentation.
1971 2005-04-19 Roman Kennke <roman@kennke.org>
1973 * java/awt/MediaTracker.java
1974 (MediaEntry.imageUpdate): Fixed flags. The different flags
1975 must not be ORed together.
1976 (checkAll): Modified to handle different meaning of the flags.
1977 (waitForAll): Fixed so that it waits maximum the
1978 specified amount of milliseconds.
1979 (statusAll): Modified to handle different meaning of the flags.
1980 (waitForID): Fixed so that it waits maximum the
1981 specified amount of milliseconds.
1983 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
1985 * java/awt/Font.java (decode): Handle null argument and allow
1988 2005-04-19 Robert Schuster <thebohemian@gmx.net>
1990 * java/beans/EventHandler.java: Reworked documentation.
1991 (invoke): Fixed behavior to match spec.
1993 2005-04-19 Michael Koch <konqueror@gmx.de>
1995 * java/awt/print/PrinterJob.java
1996 (pageDialog): New method.
1997 (printDialog): Implemented.
1999 2005-04-19 Michael Koch <konqueror@gmx.de>
2001 * java/awt/image/ConvolveOp.java:
2002 Removed comment added by eclipse.
2004 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2006 * java/awt/image/IndexColorModel.java
2007 (getRGB): Check if pixel is negative.
2009 2005-04-19 Michael Koch <konqueror@gmx.de>
2011 * java/awt/image/RasterOp.java:
2012 Fixed wrong formatting.
2014 2005-04-18 Roman Kennke <roman@kennke.org>
2016 * java/awt/Compmonent.java
2017 (setComponentOrientation): Made this property firing a
2018 PropertyChangeEvent.
2020 2005-04-18 Roman Kennke <roman@kennke.org>
2022 * java/awt/BorderLayout.java
2023 (calcSize): Check for overflow when component sizes are added.
2025 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2027 * java/awt/AWTEvent.java (toString): Added case
2028 for source not being an AWT component.
2030 2005-04-18 Chris Burdess <dog@gnu.org>
2032 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2034 2005-04-18 Michael Koch <konqueror@gmx.de>
2036 gnu/java/awt/EmbeddedWindowSupport.java,
2037 gnu/java/net/HeaderFieldHelper.java,
2038 gnu/java/net/URLParseError.java,
2039 gnu/java/net/protocol/file/Handler.java,
2040 gnu/java/net/protocol/jar/Handler.java:
2041 Fixed usage of @author tag.
2043 2005-04-18 Michael Koch <konqueror@gmx.de>
2045 * gnu/xml/aelfred2/XmlParser.java:
2046 Reverted my typo fix.
2048 2005-04-18 Michael Koch <konqueror@gmx.de>
2050 * java/awt/geom/CubicCurve2D.java,
2051 java/awt/geom/QuadCurve2D.java:
2052 Fixed mentioning of Brian Gouph.
2054 2005-04-18 Michael Koch <konqueror@gmx.de>
2056 * gnu/java/awt/Buffers.java,
2057 gnu/java/awt/image/ImageDecoder.java,
2058 gnu/java/awt/image/XBMDecoder.java,
2059 gnu/java/awt/peer/ClasspathFontPeer.java,
2060 gnu/java/net/CRLFInputStream.java,
2061 gnu/java/net/EmptyX509TrustManager.java,
2062 gnu/java/net/LineInputStream.java,
2063 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2064 gnu/java/net/protocol/ftp/BlockInputStream.java,
2065 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2066 gnu/java/net/protocol/ftp/DTP.java,
2067 gnu/java/net/protocol/ftp/DTPInputStream.java,
2068 gnu/java/net/protocol/ftp/FTPConnection.java,
2069 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2070 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2071 gnu/java/net/protocol/ftp/StreamInputStream.java,
2072 gnu/java/net/protocol/http/ChunkedInputStream.java,
2073 gnu/java/net/protocol/http/HTTPConnection.java,
2074 gnu/java/net/protocol/http/HTTPURLConnection.java,
2075 gnu/java/net/protocol/http/Headers.java,
2076 gnu/java/net/protocol/http/Request.java,
2077 gnu/java/nio/ChannelInputStream.java,
2078 gnu/java/nio/ChannelOutputStream.java,
2079 gnu/java/nio/InputStreamChannel.java,
2080 gnu/java/nio/OutputStreamChannel.java,
2081 gnu/java/nio/SelectorProviderImpl.java,
2082 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2083 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2084 gnu/java/rmi/dgc/DGCImpl.java,
2085 gnu/java/rmi/registry/RegistryImpl.java,
2086 gnu/java/rmi/server/ProtocolConstants.java,
2087 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2088 gnu/java/rmi/server/RMIIncomingThread.java,
2089 gnu/java/rmi/server/RMIObjectInputStream.java,
2090 gnu/java/rmi/server/RMIObjectOutputStream.java,
2091 gnu/java/rmi/server/RMIVoidValue.java,
2092 gnu/java/rmi/server/UnicastConnectionManager.java,
2093 gnu/java/rmi/server/UnicastRef.java,
2094 gnu/java/rmi/server/UnicastRemoteCall.java,
2095 gnu/java/rmi/server/UnicastRemoteStub.java,
2096 gnu/java/rmi/server/UnicastServerRef.java,
2097 gnu/java/security/OID.java,
2098 gnu/java/security/der/DERReader.java,
2099 gnu/java/security/provider/CollectionCertStoreImpl.java,
2100 gnu/java/security/provider/DSAParameterGenerator.java,
2101 gnu/java/security/provider/DefaultPolicy.java,
2102 gnu/java/security/provider/EncodedKeyFactory.java,
2103 gnu/java/security/provider/GnuDHPublicKey.java,
2104 gnu/java/security/provider/GnuDSAPrivateKey.java,
2105 gnu/java/security/provider/GnuDSAPublicKey.java,
2106 gnu/java/security/provider/GnuRSAPrivateKey.java,
2107 gnu/java/security/provider/GnuRSAPublicKey.java,
2108 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2109 gnu/java/security/provider/RSA.java,
2110 gnu/java/security/provider/SHA1PRNG.java,
2111 gnu/java/security/provider/SHA1withRSA.java,
2112 gnu/java/security/provider/X509CertificateFactory.java,
2113 gnu/java/security/x509/GnuPKIExtension.java,
2114 gnu/java/security/x509/X500DistinguishedName.java,
2115 gnu/java/security/x509/X509CRL.java,
2116 gnu/java/security/x509/X509CRLEntry.java,
2117 gnu/java/security/x509/X509CertPath.java,
2118 gnu/java/security/x509/X509CertSelectorImpl.java,
2119 gnu/java/security/x509/X509Certificate.java,
2120 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2121 gnu/java/security/x509/ext/BasicConstraints.java,
2122 gnu/java/security/x509/ext/CRLNumber.java,
2123 gnu/java/security/x509/ext/CertificatePolicies.java,
2124 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2125 gnu/java/security/x509/ext/Extension.java,
2126 gnu/java/security/x509/ext/GeneralNames.java,
2127 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2128 gnu/java/security/x509/ext/KeyUsage.java,
2129 gnu/java/security/x509/ext/PolicyConstraint.java,
2130 gnu/java/security/x509/ext/PolicyMappings.java,
2131 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2132 gnu/java/security/x509/ext/ReasonCode.java,
2133 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2134 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2135 Reorganized import statements.
2137 2005-04-18 Michael Koch <konqueror@gmx.de>
2139 * gnu/java/awt/color/CieXyzConverter.java,
2140 gnu/java/awt/color/ClutProfileConverter.java,
2141 gnu/java/awt/color/ColorLookUpTable.java,
2142 gnu/java/awt/color/ColorSpaceConverter.java,
2143 gnu/java/awt/color/GrayProfileConverter.java,
2144 gnu/java/awt/color/GrayScaleConverter.java,
2145 gnu/java/awt/color/LinearRGBConverter.java,
2146 gnu/java/awt/color/ProfileHeader.java,
2147 gnu/java/awt/color/PyccConverter.java,
2148 gnu/java/awt/color/RgbProfileConverter.java,
2149 gnu/java/awt/color/SrgbConverter.java,
2150 gnu/java/awt/color/TagEntry.java,
2151 gnu/java/awt/color/ToneReproductionCurve.java:
2152 Standardized file headers.
2154 2005-04-16 Tom Tromey <tromey@redhat.com>
2156 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2157 'ANY' package-private.
2159 2005-04-15 Tom Tromey <tromey@redhat.com>
2161 * Makefile.in: Rebuilt.
2162 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2163 (libgcj0_convenience_la_LIBADD): ... here.
2165 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2167 * gij.cc (version): Properly quote java version.
2168 (main): Fix typo in comment.
2170 2005-04-13 Mark Wielaard <mark@klomp.org>
2172 * java/lang/natRuntime.cc (insertSystemProperties): Set
2173 java.class.path to CLASSPATH if not already set.
2175 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2177 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2179 2005-04-12 Mike Stump <mrs@apple.com>
2181 * configure: Regenerate.
2183 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2186 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2187 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2189 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2192 * scripts/TexinfoDoclet.java: Removed.
2193 * Makefile.am (texinfo): Removed.
2194 * Makefile.in: Regenerated.
2196 2005-04-11 Michael Koch <konqueror@gmx.de>
2198 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2199 Fixed wrong casting.
2201 2005-04-06 Andrew Haley <aph@redhat.com>
2203 * testsuite/libjava.lang/bytearray.java: New file.
2204 * testsuite/libjava.lang/bytearray.out: New file.
2205 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2206 (loadClass): Use it.
2207 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2209 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2211 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2212 gcj-dbtool dependency
2213 * Makefile.in: Regenerated
2215 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2217 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2218 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2220 2005-04-05 Andrew Haley <aph@redhat.com>
2222 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2223 (Tokenizer): New class.
2224 (getFiles): New method.
2225 (main): Add "-" argument.
2227 Read list of files from stdin when merging map databases.
2228 (usage): Add "-" argument.
2232 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2235 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2236 * Makefile.in: Regenerate.
2237 * configure.ac: Add --with-java-home option.
2238 * configure: Regenerate.
2239 * external/Makefile.in: Regenerate.
2240 * external/sax/Makefile.in: Regenerate.
2241 * external/w3c_dom/Makefile.in: Regenerate.
2242 * gcj/Makefile.in: Regenerate.
2243 * include/Makefile.in: Regenerate.
2244 * testsuite/Makefile.in: Regenerate.
2245 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2248 2005-04-05 Tom Tromey <tromey@redhat.com>
2250 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2251 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2252 Rewrote to use _Jv_FindClassFromSignature.
2253 * verify.cc (resolve): throw NoClassDefFoundError.
2254 * link.cc (resolve_field): Throw NoClassDefFoundError.
2255 (find_field): Likewise.
2256 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2257 Handle error cases. Added 'endp' argument.
2258 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2260 2005-04-05 Tom Tromey <tromey@redhat.com>
2262 * Makefile.in: Rebuilt.
2263 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2264 gtk_awt_peer_sources.
2265 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2266 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2267 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2268 (gtk-awt-peer.lo): New target.
2270 2005-04-04 Steve Pribyl <steve@netfuel.com>
2273 * configure.ac: Fix fastjar definition for cross builds.
2274 * configure: Rebuilt.
2276 2005-04-04 Tom Tromey <tromey@redhat.com>
2278 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2279 it was already found.
2281 2005-04-04 Tom Tromey <tromey@redhat.com>
2283 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2284 org.metastatic.jessie.
2286 2005-04-02 Anthony Green <green@redhat.com>
2289 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2291 2005-04-02 Mark Wielaard <mark@klomp.org>
2293 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2294 Attributes and attribute order doesn't matter.
2295 (BasicAttributesEnumeration.where): Initialize to zero.
2296 (BasicAttributesEnumeration.nextElement): Update and compare where
2297 appropriately (zero based).
2299 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2301 PR libgcj/20090, PR libgcj/20526
2302 * gij.cc (nonstandard_opts_help): New function.
2303 (add_option): New function.
2304 (main): Support java options. Set java.class.path. Don't set
2306 * prims.cc (parse_x_arg): New function.
2307 (parse_init_args): Call parse_x_arg for -X and _ options, when
2308 ignoreUnrecognized is true.
2309 (new _Jv_RunMain): New vm_args variant.
2310 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2311 (_Jv_Jar_Class_Path): Remove variable.
2312 * include/java-props.h: Likewise.
2313 * include/cni.h (JvRealloc): New function.
2314 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2315 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2316 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2318 * configure.ac (JV_VERSION): Define.
2319 (JV_API_VERSION): Likewise.
2320 * configure: Regenerate.
2321 * include/config.h.in: Regenerate.
2323 2005-04-01 Mark Anderson <mark@panonet.net>
2325 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2326 -Infinity as parameters.
2328 2005-04-01 Michael Koch <konqueror@gmx.de>
2330 * java/io/PipedInputStream.java
2331 (read): Make sure a positive byte value is returned. Revised javadoc.
2332 Thanks to Olafur Bragason for reporting these bugs.
2334 2005-04-01 Tom Tromey <tromey@redhat.com>
2336 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2337 Updated for name change.
2338 (nativeFindClass): New method.
2339 (loadClass): Use nativeFindClass.
2340 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2342 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2343 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2345 (initialize): New method.
2346 (nativeFindClass): Declare.
2347 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2348 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2349 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2351 (definePackageForNative): Removed.
2352 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2353 Moved to VMClassLoader.java.
2354 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2355 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2356 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2357 removed VMClassLoader.java.
2358 (nat_source_files): Removed natVMClassLoader.cc.
2360 2005-04-01 Tom Tromey <tromey@redhat.com>
2362 * Makefile.in: Rebuilt.
2363 * Makefile.am (db_pathtail): Use $(gcc_version), not
2366 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2368 * java/util/Timer.java
2369 (run): Stop the queue if a task throws an exception.
2371 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2373 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2375 2005-03-29 Ian Lance Taylor <ian@airs.com>
2377 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2378 * external/sax/Makefile.in: Rebuild.
2379 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2381 * external/w3c_dom/Makefile.in: Rebuild.
2383 2005-03-29 Tom Tromey <tromey@redhat.com>
2385 * java/lang/natRuntime.cc (insertSystemProperties): Set
2386 gnu.gcj.runtime.endorsed.dirs.
2387 * Makefile.in: Rebuilt.
2388 * Makefile.am (ordinary_java_source_files): Added
2389 HelperClassLoader.java.
2390 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2391 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2393 (init): Use addDirectoriesFromProperty.
2394 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2395 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2396 gnu.gcj.runtime.endorsed.dirs.
2397 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2399 2005-03-26 Chris Burdess <dog@gnu.org>
2401 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2404 2005-03-13 Michael Koch <konqueror@gmx.de>
2406 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2408 2005-03-11 Chris Burdess <dog@gnu.org>
2410 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2413 2005-02-27 Chris Burdess <dog@gnu.org>
2415 * gnu/xml/aelfred2/JAXPFactory.java,
2416 gnu/xml/aelfred2/SAXDriver.java,
2417 gnu/xml/aelfred2/XmlParser.java,
2418 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2419 formatting conventions. Replaced arrays of Object with struct-like
2420 classes for easier maintainability. Made SAXDriver.stringInterning
2421 package private to allow access from XmlParser inside the loop without
2422 a method call overhead.
2424 2005-03-11 Chris Burdess <dog@gnu.org>
2426 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2429 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2431 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2432 settings to sub Makefiles.
2433 (GCJH, ZIP): Prefix with top_builddir.
2434 * configure: Rebuild.
2435 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2436 * external/w3c_dom/Makefile.in: Rebuild.
2437 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2438 * external/sax/Makefile.in: Rebuild.
2440 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2442 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2443 libsocket to the libraries to link for Solaris.
2445 2005-03-28 Per Bothner <per@bothner.com>
2447 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2448 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2450 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2452 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2453 to fix a ONESTEP fallout.
2454 * Makefile.in: Regenerate.
2456 2005-03-25 Mike Stump <mrs@apple.com>
2458 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2459 paths like we do for the compiler, as we use it in external/sax
2460 and it doesn't get MULTIBUILDTOP right when multilibing.
2462 2005-03-24 Anthony Green <green@redhat.com>
2464 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2466 (usage): Add [LIBDIR] to help output.
2467 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2468 * Makefile.am (AM_CXXFLAGS): Define
2469 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2470 (db_pathtail): New macro.
2472 2005-03-24 Tom Tromey <tromey@redhat.com>
2474 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2475 add sax and w3c libraries.
2476 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2478 * external/w3c_dom/Makefile.in: Rebuilt.
2479 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2481 (libw3c_gcj_la_LDFLAGS): New variable.
2482 (noinst_LTLIBRARIES): Renamed.
2483 * external/sax/Makefile.in: Rebuilt.
2484 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2486 (libsax_gcj_la_LDFLAGS): New variable.
2487 (noinst_LTLIBRARIES): Renamed.
2489 2005-03-23 Tom Tromey <tromey@redhat.com>
2491 * Makefile.in: Rebuilt.
2492 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2493 (libgcj0_convenience_la_SOURCES): Don't include
2494 gnu_xml_source_files.
2495 (libgcj0_convenience_la_LIBADD): New variable.
2496 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2497 (all_java_source_files): javax_imageio_source_files,
2498 javax_xml_source_files, and gnu_java_beans_source_files.
2499 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2500 (gnu-xml.lo): New target.
2501 (javax-imageio.lo): Likewise.
2502 (javax-xml.lo): Likewise.
2503 (gnu-java-beans.lo): Likewise.
2504 (gnu_java_beans_source_files): New variable.
2505 (javax_imageio_source_files): Likewise.
2506 (javax_xml_source_files): Likewise.
2507 (javax_source_files): Moved files to other variable.
2508 (awt_java_source_files): Likewise.
2509 (ordinary_java_source_files): Added BootClassLoader.java.
2510 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2511 not system class loader.
2512 (initBootLoader): New method.
2513 (loadClass): Search bootLoader.
2514 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2515 boot loader, not system class loader.
2516 (_Jv_UnregisterInitiatingLoader): Likewise.
2517 (_Jv_FindClass): Likewise. Ensure entries in
2518 bootstrap_class_list are unique.
2519 * java/lang/natClass.cc (getClassLoader): Don't special case
2520 system class loader.
2521 * java/lang/VMClassLoader.java (bootLoader): New field.
2522 (getResource): Use bootLoader.
2523 (getResources): Likewise.
2524 (initBootLoader): Declare.
2525 * gnu/gcj/runtime/BootClassLoader.java: New file.
2526 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2527 (EMPTY_ENUMERATION): Now package-private.
2528 * external/w3c_com/Makefile.in: Rebuilt.
2529 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2530 (w3c.jar): New target.
2531 (classes.stamp): Updated.
2532 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2533 Changed name of library.
2534 (libw3c_gcj_la_SOURCES): New variable.
2535 (libw3c_gcj_la_GCJFLAGS): Likewise.
2536 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2537 * external/sax/Makefile.in: Rebuilt.
2538 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2539 (sax.jar): New target.
2540 (classes.stamp): Updated.
2541 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2542 Changed name of library.
2543 (libsax_gcj_la_SOURCES): New variable.
2544 (libsax_gcj_la_GCJFLAGS): Likewise.
2545 (source_files): Renamed from libsax_convenience_la_SOURCES.
2546 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2548 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2550 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2552 2005-03-23 Sven de Marothy <sven@physto.se>
2554 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2556 * java/util/Calendar.java
2557 (set): Use starting day of week when one is needed if none is given.
2558 * java/text/SimpleDateFormat.java
2559 (parse): Handle 1-12 and 1-24 timestamps correctly.
2560 * java/util/GregorianCalendar.java
2561 (computeTime, computeFields): HOUR should be in 0-11 format.
2562 (nonLeniencyCheck): Adjust leniency checking to that fact.
2563 (getLinearDay): Should be private.
2565 2005-03-23 Tom Tromey <tromey@redhat.com>
2567 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2568 (_Jv_CheckABIVersion): Use it.
2570 2005-03-22 Mike Stump <mrs@apple.com>
2572 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2574 * include/posix.h: .dylib is used on all Apple MACH platforms.
2575 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2577 2005-03-22 Tom Tromey <tromey@redhat.com>
2579 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2581 2005-03-21 Tom Tromey <tromey@redhat.com>
2583 * java/lang/VMCompiler.java (static block): Also catch
2584 BufferUnderflowException.
2586 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2588 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2589 set tool_include_dir. In all substitutions, leave $(gcc_version)
2590 to be expanded by the Makefile.
2591 * aclocal.m4, configure: Regenerate.
2592 * Makefile.am: Set gcc_version. Replace all uses of
2593 @gcc_version@ with $(gcc_version).
2594 * external/Makefile.am, external/sax/Makefile.am
2595 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2596 * testsuite/Makefile.am: Set gcc_version.
2597 * include/Makefile.am: Set gcc_version and tool_include_dir.
2598 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2599 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2600 * testsuite/Makefile.in: Regenerate.
2602 2005-03-17 Andrew Haley <aph@redhat.com>
2604 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2606 Pass klass to _Jv_StackTrace::GetClassContext().
2607 * java/lang/ClassLoader.java (getParent): Pass class to
2608 VMSecurityManager.getClassContext()
2609 (getSystemClassLoader): Likewise.
2610 * java/lang/Package.java (getPackage): Likewise.
2611 (getPackages): Likewise.
2612 * java/lang/SecurityManager.java (getClassContext): Likewise.
2613 (currentClassLoader): Likewise.
2614 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2615 (currentClassLoader) Add new arg: caller.
2616 Pass caller to VMSecurityManager.getClassContext.
2618 * stacktrace.cc (GetClassContext): Correct calculation of
2621 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2622 im->source_file_name.
2624 2005-03-16 Andrew Haley <aph@redhat.com>
2626 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2628 2005-03-16 Tom Tromey <tromey@redhat.com>
2630 * link.cc (ensure_class_linked): Removed #ifdef.
2631 (print_class_loaded): Likewise.
2632 (wait_for_state): Likewise.
2633 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2634 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2635 * include/java-interp.h: ... here.
2637 2005-03-16 Tom Tromey <tromey@redhat.com>
2639 * gnu/java/lang/MainThread.java (run): Load main class using
2640 system class loader.
2642 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2644 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2645 lgcc_s to the libraries to link for Darwin.
2647 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2649 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2650 interpreter-specific code with #ifdef INTERPRETER.
2651 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2652 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2653 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2654 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2655 #ifdef INTERPRETER. Also protect declarations that use it.
2656 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2657 #ifdef INTERPRETER block.
2659 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2662 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2663 * Makefile.in: Rebuilt.
2665 2005-03-15 David Daney <ddaney@avtrex.com>
2667 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2670 2005-03-15 David Daney <ddaney@avtrex.com>
2672 * java/io/BufferedInputStream.java (available): Use 'in' instead
2673 of 'super' for underlying stream access.
2675 (read(byte[], int, int)): Ditto.
2677 (skip): Call skip on underlying stream when possible.
2679 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2681 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2682 SJLJ_EXCEPTIONS is defined.
2684 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2686 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2689 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2691 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2693 (libjava_arguments): Likewise.
2695 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2696 (gcj_jni_test_one): Likewise.
2697 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2698 Add flags to keep the Darwin linker quiet.
2699 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2700 Add -liconv for Darwin.
2702 2005-03-11 Tom Tromey <tromey@redhat.com>
2704 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2705 (_Jv_CheckABIVersion): Use it.
2707 2005-03-11 Tom Tromey <tromey@redhat.com>
2709 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2710 (usage): Document '-p'.
2711 * Makefile.in: Rebuilt.
2712 * Makefile.am (dbexecdir): New variable.
2713 (db_name): Likewise.
2714 (dbexec_DATA): Likewise.
2715 ($(db_name)): New target.
2716 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2717 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2720 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2722 * exception.cc: Remove stray MethodRef.h include.
2723 * java/lang/natClass.cc: Likewise.
2724 * gnu/gcj/runtime/MethodRef.java: Removed.
2725 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2726 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2727 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2728 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2729 * Makefile.in: Rebuilt.
2731 2005-03-10 Tom Tromey <tromey@redhat.com>
2733 * Makefile.in: Rebuilt.
2734 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2736 2005-03-10 Chris Burdess <dog@bluezoo.org>
2738 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2739 not currently parsing the DTD.
2741 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2743 New Stack Trace infrastructure.
2744 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2745 (gnu/gcj/runtime/StackTrace.java): Removed.
2746 (ordinary_java_source_files): Remove obsolete files.
2747 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2748 * configure.host (fallback_backtrace_h): Set backtrace header
2749 for mingw and cygwin targets.
2750 * configure.ac: Make symlink for fallback backtrace headers.
2751 * Makefile.in, configure: Rebuilt.
2752 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2753 Read 'LineNumberTable' attribute.
2754 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2756 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2758 * exception.cc: Remove unused include.
2759 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2760 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2761 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2762 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2763 table to direct threaded instruction values.
2764 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2765 (_Jv_InterpMethod::run): No longer member function. All
2766 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2767 is made or where an instruction could throw.
2768 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2770 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2771 (catch_fpe): Likewise.
2772 * stacktrace.cc: New file. Stack trace code now here.
2773 * gnu/gcj/runtime/MethodRef.java:
2774 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2775 calls addr2line to look up PC addresses in a given binary or shared
2777 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2778 gnu/gcj/runtime/natStackTrace.cc: Removed.
2779 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2780 this function name is specially recognised by the stack trace code
2781 and shouldn't be changed.
2782 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2783 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2784 (_Jv_InterpMethod::run): Update declaration.
2785 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2787 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2788 * include/java-stack.h: New file. Declarations for stack tracing.
2789 * include/jvm.h (_Jv_Frame_info): Removed.
2790 * java/lang/Class.h: Update friend declarations.
2791 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2793 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2794 (getStackTrace): Now native.
2795 (data): New RawDataManaged field.
2796 * java/lang/natClass.cc: Update includes.
2797 (forName): Use _Jv_StackTrace::GetCallingClass for
2798 calling-classloader check.
2799 (getClassLoader): Likewise.
2800 * java/lang/natRuntime.cc: Update includes.
2801 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2802 * java/lang/natVMSecurityManager.cc: Update includes.
2803 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2804 * java/lang/natVMThrowable.cc: New file. Native methods for
2806 * java/lang/reflect/natArray.cc: Update includes.
2807 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2808 accessibility check.
2809 * java/lang/reflect/natConstructor.cc: Update includes.
2810 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2811 accessibility check.
2812 * java/lang/reflect/natField.cc: Update includes.
2813 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2814 accessibility check.
2815 * java/lang/reflect/natMethod.cc: Update includes.
2816 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2817 accessibility check.
2818 * java/util/natResourceBundle.cc: Update includes.
2819 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2820 * java/util/logging/natLogger.cc: Update includes. Use
2821 _Jv_StackTrace::GetCallerInfo to get call-site info.
2822 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2824 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2827 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2829 * testsuite/libjava.compile/PR20312.java: New file.
2830 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2831 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2833 2005-03-09 Andrew Haley <aph@redhat.com>
2835 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2837 (smallTransferTo): New.
2838 (transferFrom): Loop around smallTransferFrom, copying pageSize
2840 (transferTo): Likewise.
2842 2005-03-09 David Daney <ddaney@avtrex.com>
2845 Merge BufferedInputStream from GNU Classpath.
2846 * java/io/BufferedInputStream.java (marktarget): Field removed.
2847 (CHUNKSIZE): Field removed.
2848 (bufferSize): New field.
2849 (BufferedInputStream): Initialize fields.
2850 (close): Invalidate mark and buffer indexes.
2852 (read()): Move mark handling code to refill.
2853 (read(byte[], int, int)): Ditto.
2854 (skip): Ditto and simplify EOF testing.
2855 (refill): Rewritten.
2856 * java/io/InputStreamReader.java (refill): Removed mark and reset
2857 of internal BufferedInputStream.
2859 2005-03-09 Tom Tromey <tromey@redhat.com>
2861 * java/lang/natVMClassLoader.cc (defineClass): Reference
2862 'systemClassLoader' field directly.
2863 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2865 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2866 Reference 'systemClassLoader' field directly.
2867 (_Jv_UnregisterInitiatingLoader): Likewise.
2868 (_Jv_FindClass): Likewise.
2870 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2872 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2874 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2875 the file in GNU Classpath style.
2877 2005-03-09 Tom Tromey <tromey@redhat.com>
2879 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2880 (toString): Synchronize.
2882 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2884 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2885 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2887 2005-03-07 Tom Tromey <tromey@redhat.com>
2889 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2890 (usage): Document '-f'.
2892 2005-03-07 Tom Tromey <tromey@redhat.com>
2894 * java/lang/VMCompiler.java (md5Digest): New field.
2895 (compileClass): Clone md5Digest instead of looking up a new one.
2897 2005-03-07 Tom Tromey <tromey@redhat.com>
2900 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2901 * link.cc (find_field_helper): Added 'type' argument.
2902 (find_field): Updated.
2904 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2905 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2906 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2907 throw UnsupportedOperationException, fixed comments.
2908 (setFont, setForeground): Fixed comments.
2909 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2910 return type to boolean.
2911 (getNextEvent): Fixed javadocs.
2912 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2913 (nativeQueueEmpty): Removed unused code.
2914 (iterateNativeQueue): Removed outer loop.
2916 2005-03-06 Roger Sayle <roger@eyesopen.com>
2919 * Makefile.am (libgcj0_convenience.la): Revert last change.
2920 * Makefile.in: Regenerate.
2922 2005-03-05 Anthony Green <green@redhat.com>
2924 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2925 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2926 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2927 (_Jv_GetDrawingSurface): Set visualID.
2928 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2929 (JAWT_GetAWT): Set Lock and Unlock.
2930 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2932 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2933 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2934 JAWT_LOCK_SURFACE_CHANGED): New macros.
2935 (struct _JAWT): Add Lock and Unlock.
2937 2005-03-05 Roger Sayle <roger@eyesopen.com>
2938 Alexandre Oliva <aoliva@redhat.com>
2939 Kelley Cook <kcook@gcc.gnu.org>
2942 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2943 of the object files to link to avoid exceeding the command line
2944 length limits on some platforms.
2945 (clean-local): Clean up objectlist files.
2946 * Makefile.in: Regenerate.
2948 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2950 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2951 spec_case. Initialize pointer mlo.
2953 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2956 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2958 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2961 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2962 uninitialized variable z.
2964 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2965 possible unused variables.
2967 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2969 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2971 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2974 * testsuite/libjava.jni/jni.exp
2975 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2977 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2979 2005-02-23 David Daney <ddaney@avtrex.com>
2981 * configure.host: Don't use -mxgot for MIPS builds.
2983 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
2986 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2987 (COMPPATH): Removed.
2988 (ZIP, GCJH): Replace it with ../$(host_subdir).
2989 (built_gcc_dir): Add $(host_subdir).
2990 * configure: Regenerate.
2991 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2992 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2993 external/w3c_dom/Makefile.in: Regenerate.
2995 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
2997 * java/awt/font/TextAttribute.java: changed names to lower case;
2998 (readResolve): implemented.
2999 Added doc comments all over.
3001 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3004 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3005 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3006 value. Move argument parsing code to prims.cc.
3007 * prims.cc (no_properties): Remove.
3008 (_Jv_Compiler_Properties): Initialize to NULL.
3009 (_Jv_Properties_Count): Initialize to 0.
3010 (parse_verbose_args): New function.
3011 (parse_init_args): New function.
3012 (_Jv_CreateJavaVM): Call parse_init_args.
3013 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3014 * gcj/cni.h (JvVMOption): New struct.
3015 (JvVMInitArgs): Likewise.
3016 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3018 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3019 (_Jv_VMInitArgs): Likewise.
3020 * include/java-props.h (_Jv_Properties_Count): Declare.
3021 * java/lang/natRuntime.cc (insertSystemProperties): Use
3022 _Jv_Properties_Count in for loop exit condition.
3023 * testsuite/libjava.jni/jni.exp
3024 (gcj_invocation_compile_c_to_binary): New procedure.
3025 (gcj_invocation_test_one): Likewise.
3026 (gcj_jni_run): Run JNI invocation API tests.
3027 * testsuite/libjava.jni/invocation/PR16923.c,
3028 testsuite/libjava.jni/invocation/PR16923.java,
3029 testsuite/libjava.jni/invocation/PR16923.out: New test.
3031 2005-02-23 Michael Koch <konqueror@gmx.de>
3033 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3034 * Makefile.in: Regenerated.
3036 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3038 * gnu/java/nio/ChannelReader: Fixed comments.
3040 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3042 * java/nio/channels/Channels: Added FIXMEs about
3043 stub method implementation.
3044 (newReader): Implemented.
3045 * gnu/java/nio/ChannelReader: New class.
3047 2005-02-23 Michael Koch <konqueror@gmx.de>
3049 * java/text/SimpleDateFormat.java:
3050 Removed unused import.
3052 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3055 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3056 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3057 * Makefile.in: Regenerate.
3058 * configure.ac: Check for libXtst.
3059 * configure: Regenerate.
3061 2005-02-22 Mark Wielaard <address@bogus.example.com>
3063 * java/security/AlgorithmParameterGenerator.java (getInstance):
3064 Mention provider when throwing NoSuchProviderException.
3065 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3066 * java/security/KeyFactory.java (getInstance): Likewise.
3067 * java/security/KeyStore.java (getInstance): Likewise.
3068 * java/security/SecureRandom.java (getInstance): Likewise.
3069 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3071 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3073 * java/lang/reflect/Proxy.java,
3075 java/security/SecureRandom.java,
3076 java/util/Timer.java,
3077 java/util/prefs/AbstractPreferences.java:
3078 Don't catch java.lang.ThreadDeath.
3080 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3082 * java/awt/font/TransformAttribute.java,
3083 (TransformAttribute(AffineTransform)): throw
3084 IllegalArgumentException for null transform.
3085 (getTransform): return a copy of transform.
3086 Added doc comments to all.
3088 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3090 * java/io/Externalizable.java,
3091 java/io/Serializable.java
3092 (serialVersionUID): Removed.
3093 * java/rmi/server/RemoteObject.java,
3094 java/rmi/server/UID.java
3095 (serialVersionUID): Made private.
3096 * java/rmi/server/RemoteRef.java,
3097 java/rmi/server/ServerRef.java
3098 (serialVersionUID): Set proper value.
3099 * java/security/interfaces/DSAPrivateKey.java,
3100 java/security/interfaces/DSAPublicKey.java,
3101 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3102 java/security/interfaces/RSAPrivateCrtKey.java,
3103 java/security/interfaces/RSAPrivateKey.java,
3104 java/security/interfaces/RSAPublicKey.java,
3105 javax/crypto/SecretKey.java
3106 (serialVersionUID): Added.
3108 2005-02-22 Tom Tromey <tromey@redhat.com>
3110 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3112 2005-02-22 Tom Tromey <tromey@redhat.com>
3115 * verify.cc (type::EITHER): New constant.
3116 (check_field_constant): Use it.
3117 (type::compatible): Handle it.
3119 2005-02-22 Michael Koch <konqueror@gmx.de>
3121 * gnu/java/security/PolicyFile.java,
3122 gnu/java/security/pkcs/PKCS7SignedData.java,
3123 gnu/java/security/pkcs/SignerInfo.java:
3124 Fixed copyright header.
3126 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3128 * java/beans/PropertyDescriptor.java
3129 (PropertyDescriptor,setReadMethod): Set propertyType.
3131 2005-02-22 Michael Koch <konqueror@gmx.de>
3133 * java/nio/DirectByteBufferImpl.java
3134 (owner): Fixed formatting of javadoc.
3135 * java/text/DateFormat.java
3136 (getAvailableLocales): Fixed formatting.
3137 * java/text/SimpleDateFormat.java:
3138 Fixed formatting and import statement order.
3139 * java/util/Calendar.java
3140 (Calendar): Fixed javadoc to be HTML compliant.
3141 * java/util/SimpleTimeZone.java:
3144 2005-02-22 Roman Kennke <roman@ontographics.com>
3146 * javax/swing/plaf/basic/BasicLookAndFeel.java
3147 (initComponentDefaults): Fixed Button left and right margin.
3149 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3151 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3155 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3156 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3157 (getWidth): New method.
3158 (getHeight): Likewise.
3159 (create): Remove width, height and insets parameters. Move size
3161 (realize_cb): ... here. New function.
3162 (connectSignals): Connect realize_cb.
3163 (request_frame_extents): Remove FIXME. Move
3164 postInsetsChangedEvent lookup ...
3165 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3166 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3167 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3169 (windowGetWidthID): Likewise.
3170 (windowGetHeightID): Likewise.
3172 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3176 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3178 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3180 Merge serialization from GNU Classpath.
3181 * gcj/method.h: Add missing #includes.
3182 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3183 primitive class IDs on the stream here...
3184 (resolveClass): ...not here.
3185 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3187 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3188 setLongNative, setIntNative, setShortNative, setCharNative,
3189 setByteNative, setBooleanNative, setObjectNative): New native methods.
3190 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3191 setLongNative, setIntNative, setShortNative, setCharNative,
3192 setByteNative, setBooleanNative, setObjectNative): Implement them.
3193 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3194 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3195 the constructor here.
3196 (callConstructor): Removed.
3197 (getCallersClassLoader): Removed.
3198 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3199 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3200 to control whether setting final field values is permitted. Call
3201 getAddr() with checkFinal parameter instead of setAddr().
3202 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3203 only if not done already.
3204 (getAddr): Add checkFinal parameter. Do the final field check only if
3208 2005-02-21 Mark Wielaard <mark@klomp.org>
3211 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3214 2005-02-21 Mark Wielaard <mark@klomp.org>
3217 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3218 without a super class and us ObjectStreamClass.lookupForClassObject().
3219 (resolveClass): Check for primitive types.
3220 (lookupClass): Return null when argument is null.
3222 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3224 * java/io/ObjectInputStream.java
3225 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3227 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3229 * java/io/ObjectOutputStream.java
3230 (writeObject, callWriteMethod): Replaced reflection with accessing
3231 cached info in ObjectStreamClass.
3232 (getMethod): Removed.
3233 * java/io/ObjectStreamClass.java
3234 (findMethod): Added check to make sure the method found has the
3236 (cacheMethods): Added writeReplace and writeObject methods.
3237 (setFlags): Look at new writeObjectMethod field instead of doing
3239 (writeReplaceMethod): New field.
3240 (writeObjectMethod): New field.
3242 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3243 Jeroen Frijters <jeroen@frijters.net>
3245 * java/io/ObjectInputStream.java
3246 (newObject): Changed prototype. Get a constructor reflect object
3248 (callConstructor): Removed.
3249 (allocateObject): Changed prototype.
3250 (readClassDescriptor): Build the constructor reflection directly.
3251 (readObject): Invoke newObject using the new prototype.
3253 * java/io/ObjectStreamClass.java
3254 (firstNonSerializableParent): Removed.
3255 (firstNonSerializableParentConstructor): Added.
3257 2005-02-21 Mark Wielaard <mark@klomp.org>
3259 * gnu/java/locale/LocaleInformation_en.java: Extend
3260 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3262 2005-02-21 Mark Wielaard <mark@klomp.org>
3264 * java/text/SimpleDateFormat.java
3265 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3266 NullPointerException when formatData is null.
3268 2005-02-21 Mark Wielaard <mark@klomp.org>
3270 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3271 taking dstSavings into account.
3273 2005-02-21 Sven de Marothy <sven@physto.se>
3275 * java/text/SimpleDateFormat.java,
3276 (parse): Set correct DST_OFFSET to the correct value.
3278 2005-02-21 Mark Wielaard <mark@klomp.org>
3280 * java/util/SimpleTimeZone.java (checkRule): Throw
3281 IllegalArgumentException when month out of range.
3283 2005-02-21 Sven de Marothy <sven@physto.se>
3285 * java/util/GregorianCalendar.java,
3286 (add): Don't set fields directly anymore. Use set()
3288 2005-02-21 Mark Wielaard <mark@klomp.org>
3290 * java/text/SimpleDateFormat.java (CompiledField.toString):
3291 Use StringBuffer, not StringBuilder.
3292 (toString): Likewise.
3294 2005-02-21 Sven de Marothy <sven@physto.se>
3296 * java/util/Calendar.java
3297 (clear): Dates should clear to local time.
3298 * java/util/GregorianCalendar.java
3299 (computeTime): Fix priority problem with DAY_OF_WEEK,
3300 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3302 2005-02-21 Sven de Marothy <sven@physto.se>
3304 * java/util/Calendar.java
3305 (Calendar): Constructor should clear fields.
3307 2005-02-21 Sven de Marothy <sven@physto.se>
3309 * java/text/SimpleDateFormat.java
3310 (parse): Tweak handling of 2-year dates
3311 * java/util/Calendar.java
3312 (clear): Clear fields to correct value.
3313 * java/util/GregorianCalendar.java
3314 (computeTime): Correct handling of time zones.
3315 Correct field minimum values.
3317 2005-02-21 Sven de Marothy <sven@physto.se>
3319 * java/util/Calendar.java
3320 (set) Invalidate all fields on first call to set().
3322 2005-02-21 Sven de Marothy <sven@physto.se>
3324 * java/util/GregorianCalendar.java
3325 (computeTime): Fixed handling of time zones.
3327 2005-02-21 Sven de Marothy <sven@physto.se>
3329 * java/util/Calendar.java
3330 (clear): Set values to Epoch instead of zero.
3331 (set): Set isSet to the relevant field pattern instead of just
3333 * java/util/GregorianCalendar.java
3334 (getBundle): Removed.
3335 (getDayOfYear): Removed.
3336 (getFirstDayOfMonth): New private method.
3337 (nonLeniencyCheck): New private method.
3338 (computeTime): Correct handling of insufficient data.
3340 2005-02-21 Sven de Marothy <sven@physto.se>
3342 * java/util/Calendar.java: Invalidate ERA field on setting
3344 * java/util/SimpleTimeZone.java:
3345 (getDaysInMonth): Reimplemented.
3346 * java/util/GregorianCalendar.java:
3347 (getLinearTime): Removed.
3348 (isLeapYear(int,boolean)): Removed.
3349 (before(), after()): Removed.
3350 (computeTime): Reimplemented.
3352 2005-02-21 Sven de Marothy <sven@physto.se>
3354 * java/util/Calendar.java: Reformatted.
3355 * java/util/GregorianCalendar.java: Reformatted.
3356 * java/util/SimpleTimeZone.java: Reformatted.
3358 2005-02-21 Sven de Marothy <sven@physto.se>
3360 * java/util/GregorianCalendar.java
3361 (GregorianCalendar): Update fields in the constructor
3363 2005-02-21 Noa Resare <noa@resare.com>
3365 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3366 (set(int,int)): Set and use new field.
3367 (set(int,int,int)): Check new field.
3369 2005-02-21 Noa Resare <address@hidden>
3371 * java/util/Calendar.java(set):
3372 Fix for DST related regression.
3374 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3376 * java/util/Calendar.java
3377 (setTimeInMillis): Added call to clear, removed computeFields call.
3378 * java/util/Date.java
3379 (Date(int,int,int,int,int,int)): Removed workaround for
3380 GregorianCalendar bug.
3381 * java/util/GregorianCalendar.java
3382 (GregorianCalendar): Chained all constructors to a (new)
3384 (computeTime): Fixed support for lenient month treatment.
3385 (getLinearDay): Return long instead of int.
3386 (calculateDay): Added fields argument and changed day argument
3389 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3391 * java/text/SimpleDateFormat.java
3392 Lots of documentation updates.
3393 (readObject(java.io.ObjectInputStream)): Wraps
3394 IllegalArgumentException as specified.
3395 (compileFormat(String)): Uses standardChars
3396 rather than the local pattern characters.
3397 Throws IllegalArgumentException rather than
3399 (toString()): Extended to include all variables
3401 (translateLocalizedPattern(String, String, String)):
3402 Renamed to better define the use of this method.
3404 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3406 * java/text/DateFormat.java:
3407 Documented pattern character offset constants and
3409 (Field): Added new static fields for new pattern chars.
3410 * java/text/SimpleDateFormat.java:
3411 (CompiledField): Changed name of FieldSizePair class
3412 to CompiledField after adding the character as an
3413 attribute. Changed fields to private and added
3414 accessors to give encapsulation.
3415 (CompiledField.CompiledField(int,int,char)): Extended
3416 with character field.
3417 (CompiledField.getField()): New accessor method.
3418 (CompiledField.getSize()): New acceessor method.
3419 (CompiledField.getCharacter()): New accessor method.
3420 (CompiledField.toString()): Added primarily for debugging.
3421 (standardChars): Now uses extended 24 character sequence.
3422 (compileFormat(String)): Changed to use CompiledField.
3423 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3424 java.text.FieldPosition)): Changed to use CompiledField.
3425 New handler for RFC 822 timezones added.
3427 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3429 * java/text/SimpleDateFormat.java:
3430 (parse(String, java.text.ParsePosition)):
3431 Changed 'E' and 'M' cases to use both
3432 short and long names. Extended 'z'
3433 case to also handle 'Z', and deal
3434 with simple GMT offsets such as +0100.
3435 (computeOffset(String)): New private method,
3436 which converts a GMT offset specification,
3437 such as GMT-0500 to a numeric offset in
3439 * java/util/TimeZone.java:
3440 (timezones()): Added "CEST", the daylight
3441 savings time version of "CET", or Central
3444 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3446 * java/text/SimpleDateFormat.java:
3447 (parse): Set the DST offset to 0 when parsing
3448 GMT offset timezones.
3450 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3452 * java/text/SimpleDateFormat.java:
3453 (parse): Use offset to set ZONE_OFFSET
3454 rather than the DST_OFFSET, so that
3455 GMT offset timezones change the right
3458 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3460 * java/text/SimpleDateFormat.java:
3461 (getDateFormatSymbols()): return a copy
3462 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3463 throw exception on null input
3464 (clone()): implemented to clone
3467 2005-02-21 Sven de Marothy <sven@physto.se>
3469 * java/text/SimpleDateFormat.java
3470 (parse): comparison should be case-insensitive, ignore null
3473 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3475 * gnu/java/beans/IntrospectionIncubator.java
3476 (addMethod) Reverts the patch that ntroduced a regression (see bug
3477 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3479 2005-02-21 Michael Koch <konqueror@gmx.de>
3481 * java/awt/Checkbox.java
3482 (next_checkbox_number): New static variable.
3483 (generateName): New method.
3484 (getUniqueLong): Likewise.
3485 * java/awt/Window.java
3486 (next_window_number): New static variable.
3487 (generateName): New method.
3488 (getUniqueLong): Likewise.
3490 2005-02-21 Mark Wielaard <mark@klomp.org>
3492 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3495 2005-02-21 Andrew Haley <aph@redhat.com>
3497 * Makefile.in: Rebuilt.
3498 * Makefile.am (nat_source_files): Added natLogger.cc.
3499 * java/util/logging/natLogger.cc: New file.
3500 * java/util/logging/Logger.java (getCallerStackFrame): Now
3503 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3505 * Makefile.am (all_property_files): Remove left over.
3506 (classes.stamp): Add stamp for the ONESTEP build, also known as
3507 --enable-libgcj-multifile.
3508 * Makefile.in: Regenerated.
3510 2005-02-21 Michael Koch <konqueror@gmx.de>
3512 * java/awt/Button.java,
3513 java/awt/Container.java,
3515 java/awt/Frame.java,
3516 java/text/CollationElementIterator.java,
3517 java/text/RuleBasedCollator.java,
3518 java/util/PropertyPermission.java:
3519 Fixed formatting issues all over.
3521 2005-02-21 Mark Wielaard <mark@klomp.org>
3523 * java/io/FileDescriptor.java (sync): Add real exception to
3524 SyncFailedException.
3526 2005-02-21 Michael Koch <konqueror@gmx.de>
3528 * java/io/InputStreamReader.java:
3531 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3534 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3536 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3538 * libraries/javalib/gnu/regexp/RE.java,
3539 libraries/javalib/java/io/ObjectInputStream.java,
3540 libraries/javalib/java/security/AllPermission.java,
3541 libraries/javalib/java/security/BasicPermission.java,
3542 libraries/javalib/java/security/Permissions.java,
3543 libraries/javalib/java/text/MessageFormat.java:
3544 Made 'inner' classes real public static inner classes,
3545 and made them final where possible, or removed them
3548 2005-02-20 Michael Koch <konqueror@gmx.de>
3550 * gnu/java/text/FormatCharacterIterator.java:
3551 Removed redundant modifiers.
3553 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3555 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3558 2005-02-19 Michael Koch <konqueror@gmx.de>
3560 * Makefile.am: Added new files in gnu/java/beans and
3561 java/beans/XMLDecoder.java.
3562 * Makefile.in: Regenerated.
3564 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3566 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3567 assignment behavior by using java.lang.reflect.Array.set()
3570 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3572 * gnu/java/beans/EmptyBeanInfo.java,
3573 gnu/java/beans/info/ComponentBeanInfo.java:
3574 Removed unused files.
3576 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3578 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3579 of AppletStub for java.beans.Beans.instantiate.
3580 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3582 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3583 to be conformant with Javadoc guidelines.
3584 (instantiate): Added two more overloaded variants, reworked user
3585 documentation, fixed exception behavior, fixed behavior when
3588 2005-02-19 Mark Wielaard <mark@klomp.org>
3590 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3592 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3594 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3596 * gnu/java/beans/decoder/AbstractContext.java,
3597 gnu/java/beans/decoder/AbstractCreatableContext.java,
3598 gnu/java/beans/decoder/AbstractElementHandler.java,
3599 gnu/java/beans/decoder/AbstractObjectContext.java,
3600 gnu/java/beans/decoder/ArrayContext.java,
3601 gnu/java/beans/decoder/ArrayHandler.java,
3602 gnu/java/beans/decoder/AssemblyException.java,
3603 gnu/java/beans/decoder/BooleanHandler.java,
3604 gnu/java/beans/decoder/ByteHandler.java,
3605 gnu/java/beans/decoder/CharHandler.java,
3606 gnu/java/beans/decoder/ClassHandler.java,
3607 gnu/java/beans/decoder/ConstructorContext.java,
3608 gnu/java/beans/decoder/Context.java,
3609 gnu/java/beans/decoder/DecoderContext.java,
3610 gnu/java/beans/decoder/DefaultExceptionListener.java,
3611 gnu/java/beans/decoder/DoubleHandler.java,
3612 gnu/java/beans/decoder/DummyContext.java,
3613 gnu/java/beans/decoder/DummyHandler.java,
3614 gnu/java/beans/decoder/ElementHandler.java,
3615 gnu/java/beans/decoder/FloatHandler.java,
3616 gnu/java/beans/decoder/GrowableArrayContext.java,
3617 gnu/java/beans/decoder/IndexContext.java,
3618 gnu/java/beans/decoder/IntHandler.java,
3619 gnu/java/beans/decoder/JavaHandler.java,
3620 gnu/java/beans/decoder/LongHandler.java,
3621 gnu/java/beans/decoder/MethodContext.java,
3622 gnu/java/beans/decoder/MethodFinder.java,
3623 gnu/java/beans/decoder/NullHandler.java,
3624 gnu/java/beans/decoder/ObjectContext.java,
3625 gnu/java/beans/decoder/ObjectHandler.java,
3626 gnu/java/beans/decoder/PersistenceParser.java,
3627 gnu/java/beans/decoder/PropertyContext.java,
3628 gnu/java/beans/decoder/ShortHandler.java,
3629 gnu/java/beans/decoder/SimpleHandler.java,
3630 gnu/java/beans/decoder/StaticMethodContext.java,
3631 gnu/java/beans/decoder/StringHandler.java,
3632 gnu/java/beans/decoder/VoidHandler.java: New class
3633 implementing java.beans.XMLDecoder decoding functionality.
3634 * java/beans/XMLDecoder.java: New class.
3636 2005-02-19 Michael Koch <konqueror@gmx.de>
3638 * javax/swing/JTextField.java
3639 (notfiyAction): Added javadoc.
3641 2005-02-19 Sven de Marothy <sven@physto.se>
3643 * javax/swing/SpinnerDateModel.java: Implemented.
3645 2005-02-19 Michael Koch <konqueror@gmx.de>
3647 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3648 * Makefile.in: Regenerated.
3650 2005-02-19 Michael Koch <konqueror@gmx.de>
3652 * gnu/java/nio/SelectorImpl.java:
3653 Reworked import statements.
3654 (register): Removed unused code.
3655 * java/nio/channels/Channels.java: Reformatted.
3656 * java/nio/charset/Charset.java: Likewise.
3657 * java/rmi/server/RemoteObject.java
3658 (serialVersionUID): Made private.
3659 * java/rmi/server/UID.java
3660 (serialVersionUID): Likewise.
3662 2005-02-19 Michael Koch <konqueror@gmx.de>
3664 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3665 gnu/java/net/protocol/ftp/BlockInputStream.java,
3666 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3667 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3668 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3669 gnu/java/net/protocol/ftp/DTPInputStream.java,
3670 gnu/java/net/protocol/ftp/DTP.java,
3671 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3672 gnu/java/net/protocol/ftp/FTPConnection.java,
3673 gnu/java/net/protocol/ftp/FTPException.java,
3674 gnu/java/net/protocol/ftp/FTPResponse.java,
3675 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3676 gnu/java/net/protocol/ftp/Handler.java,
3677 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3678 gnu/java/net/protocol/ftp/StreamInputStream.java,
3679 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3680 gnu/java/net/CRLFInputStream.java,
3681 gnu/java/net/CRLFOutputStream.java,
3682 gnu/java/net/GetLocalHostAction.java,
3683 gnu/java/net/protocol/ftp/package.html: New files.
3684 * Makefile.am: Added new files.
3685 * Makefile.in: Regenerated.
3687 2005-02-18 Tom Tromey <tromey@redhat.com>
3689 * link.cc (make_vtable): Remove abstract method check.
3690 (append_partial_itable): Likewise.
3693 * verify.cc (type::equals): Fixed test.
3694 * testsuite/libjava.lang/PR20056.out: New file.
3695 * testsuite/libjava.lang/PR20056.java: New file.
3697 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3699 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3700 not the HashEntry. Reported by Jean-Marie White.
3702 2005-02-18 Tom Tromey <tromey@redhat.com>
3705 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3706 * link.cc (has_field_p): New function.
3707 * verify.cc (check_field_constant): Added 'putfield' argument.
3708 (verify_instructions_0): Updated.
3709 (type::equals): New method.
3711 2005-02-18 Anthony Green <green@redhat.com>
3713 * NEWS: Draft of libgcj NEWS for 4.0.
3715 2005-02-18 Anthony Green <green@redhat.com>
3717 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3718 architecture names to "i386" for compatibility reasons. Win32
3721 2005-02-18 Anthony Green <green@redhat.com>
3723 * gij.cc (version): Change year for '--version' to 2005.
3724 * gnu/gcj/convert/Convert.java: Ditto.
3725 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3726 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3728 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3729 recent copyright year in `--version' output.
3731 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3733 * java/nio/charset/Charset.java (forName): Throws
3734 IllegalArgumentException when argument is null
3735 and added documentation.
3737 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3739 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3740 Move the position of the source buffer forward.
3742 2005-02-17 Tom Tromey <tromey@redhat.com>
3744 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3745 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3746 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3747 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3748 Changed type of second argument. Rewrote.
3749 (make_vtable): Use it.
3750 (append_partial_itable): Updated.
3751 (layout_vtable_methods): Updated.
3753 2005-02-17 Michael Koch <konqueror@gmx.de>
3755 * gnu/java/net/PlainSocketImpl.java
3756 (shutdownInput): Added javadoc.
3757 (shutdownOutput): Likewise.
3759 2005-02-17 Michael Koch <konqueror@gmx.de>
3761 * javax/print/attribute/standard/Chromaticity.java,
3762 javax/print/attribute/standard/Destination.java,
3763 javax/print/attribute/standard/MediaPrintableArea.java,
3764 javax/print/attribute/standard/MediaSize.java: New files.
3765 * Makefile.am: Added new files.
3766 * Makefile.in: Regenerated.
3768 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3769 Michael Koch <konqueror@gmx.de>
3771 * gnu/java/net/protocol/http/Cookie.java,
3772 gnu/java/net/protocol/http/HTTPConnection.java,
3773 gnu/java/net/protocol/http/HTTPDateFormat.java,
3774 gnu/java/net/protocol/http/Request.java,
3775 gnu/java/nio/PipeImpl.java,
3776 gnu/java/rmi/dgc/DGCImpl.java,
3777 gnu/java/rmi/server/ConnectionRunnerPool.java,
3778 gnu/java/rmi/server/UnicastConnectionManager.java,
3779 gnu/java/security/der/DERWriter.java,
3780 gnu/java/security/pkcs/SignerInfo.java,
3781 gnu/java/security/provider/EncodedKeyFactory.java,
3782 gnu/java/security/provider/GnuDHPublicKey.java,
3783 gnu/java/security/provider/GnuDSAPrivateKey.java,
3784 gnu/java/security/provider/GnuDSAPublicKey.java,
3785 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3786 gnu/java/security/x509/X500DistinguishedName.java,
3787 gnu/java/security/x509/X509CRL.java,
3788 gnu/java/security/x509/X509CRLEntry.java,
3789 gnu/java/security/x509/X509Certificate.java,
3790 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3791 gnu/java/security/x509/ext/CertificatePolicies.java,
3792 gnu/java/security/x509/ext/PolicyConstraint.java,
3793 gnu/xml/dom/Consumer.java,
3794 gnu/xml/dom/DomCharacterData.java,
3795 gnu/xml/dom/DomDocument.java,
3796 gnu/xml/dom/DomDocumentBuilder.java,
3797 gnu/xml/dom/DomIterator.java,
3798 gnu/xml/dom/DomNode.java,
3799 gnu/xml/dom/DomXPathExpression.java,
3800 gnu/xml/dom/DomXPathResult.java,
3801 gnu/xml/dom/JAXPFactory.java,
3802 gnu/xml/pipeline/CallFilter.java,
3803 gnu/xml/pipeline/DomConsumer.java,
3804 gnu/xml/pipeline/LinkFilter.java,
3805 gnu/xml/pipeline/NSFilter.java,
3806 gnu/xml/pipeline/TeeConsumer.java,
3807 gnu/xml/pipeline/ValidationConsumer.java,
3808 gnu/xml/pipeline/WellFormednessFilter.java,
3809 gnu/xml/pipeline/XIncludeFilter.java,
3810 gnu/xml/pipeline/XsltFilter.java,
3811 gnu/xml/transform/ApplyImportsNode.java,
3812 gnu/xml/transform/Bindings.java,
3813 gnu/xml/transform/DocumentFunction.java,
3814 gnu/xml/transform/FormatNumberFunction.java,
3815 gnu/xml/transform/NodeNumberNode.java,
3816 gnu/xml/transform/NumberNode.java,
3817 gnu/xml/transform/Stylesheet.java,
3818 gnu/xml/transform/SystemPropertyFunction.java,
3819 gnu/xml/transform/Template.java,
3820 gnu/xml/transform/TemplatesImpl.java,
3821 gnu/xml/transform/TransformerImpl.java,
3822 gnu/xml/transform/ValueOfNode.java,
3823 gnu/xml/transform/XSLURIResolver.java,
3824 gnu/xml/util/DoParse.java,
3825 gnu/xml/util/Resolver.java,
3826 gnu/xml/xpath/Expr.java,
3827 gnu/xml/xpath/FunctionCall.java,
3828 gnu/xml/xpath/RelationalExpr.java,
3829 gnu/xml/xpath/Selector.java,
3830 gnu/xml/xpath/XPathParser.java:
3831 Reworked import statements, fixed modifier order and some little
3834 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3836 * java/nio/ByteBufferImpl.java (compact):
3837 Set position and limit even if no bytes were moved.
3839 2005-02-17 Michael Koch <konqueror@gmx.de>
3841 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3842 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3843 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3844 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3845 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3846 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3847 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3848 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3849 * java/nio/FloatBufferImpl.java (compact): Set position.
3850 * java/nio/CharBufferImpl.java (compact): Likewise.
3851 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3852 * java/nio/IntBufferImpl.java (compact): Likewise.
3853 * java/nio/LongBufferImpl.java (compact): Likewise.
3854 * java/nio/ShortBufferImpl.java (compact): Likewise.
3856 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3858 * java/nio/ByteBufferImpl.java,
3859 java/nio/CharBufferImpl.java,
3860 java/nio/DirectByteBufferImpl.java,
3861 java/nio/DoubleBufferImpl.java,
3862 java/nio/FloatBufferImpl.java,
3863 java/nio/IntBufferImpl.java,
3864 java/nio/LongBufferImpl.java,
3865 java/nio/MappedByteBufferImpl.java,
3866 java/nio/ShortBufferImpl.java
3867 (compact): Added explicit read-only check and invalidate mark.
3869 2005-02-17 Michael Koch <konqueror@gmx.de>
3871 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3872 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3873 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3874 gnu/java/awt/peer/gtk/GdkGraphics.java,
3875 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3876 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3877 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3878 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3879 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3880 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3881 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3882 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3883 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3884 gnu/java/awt/peer/gtk/GtkClipboard.java,
3885 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3886 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3887 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3888 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3889 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3890 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3891 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3892 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3893 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3894 gnu/java/awt/peer/gtk/GtkToolkit.java,
3895 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3896 java/applet/Applet.java,
3897 java/awt/AWTError.java,
3898 java/awt/AWTEvent.java,
3899 java/awt/AWTEventMulticaster.java,
3900 java/awt/AWTException.java,
3901 java/awt/AWTKeyStroke.java,
3902 java/awt/AWTPermission.java,
3903 java/awt/ActiveEvent.java,
3904 java/awt/Adjustable.java,
3905 java/awt/AlphaComposite.java,
3906 java/awt/AttributeValue.java,
3907 java/awt/BorderLayout.java,
3908 java/awt/BufferCapabilities.java,
3909 java/awt/Button.java,
3910 java/awt/Canvas.java,
3911 java/awt/CheckboxGroup.java,
3912 java/awt/CheckboxMenuItem.java,
3913 java/awt/Color.java,
3914 java/awt/ColorPaintContext.java,
3915 java/awt/Component.java,
3916 java/awt/ComponentOrientation.java,
3917 java/awt/Composite.java,
3918 java/awt/CompositeContext.java,
3919 java/awt/Container.java,
3920 java/awt/ContainerOrderFocusTraversalPolicy.java,
3921 java/awt/DefaultFocusTraversalPolicy.java,
3922 java/awt/Dialog.java,
3923 java/awt/Dimension.java,
3924 java/awt/DisplayMode.java,
3925 java/awt/EventQueue.java,
3926 java/awt/FileDialog.java,
3927 java/awt/FontFormatException.java,
3928 java/awt/Graphics.java,
3929 java/awt/Graphics2D.java,
3930 java/awt/GraphicsConfigTemplate.java,
3931 java/awt/GraphicsConfiguration.java,
3932 java/awt/GraphicsDevice.java,
3933 java/awt/GridBagLayout.java,
3934 java/awt/GridBagLayoutInfo.java,
3935 java/awt/GridLayout.java,
3936 java/awt/HeadlessException.java,
3937 java/awt/IllegalComponentStateException.java,
3938 java/awt/Image.java,
3939 java/awt/Insets.java,
3940 java/awt/ItemSelectable.java,
3941 java/awt/JobAttributes.java,
3942 java/awt/KeyEventDispatcher.java,
3943 java/awt/KeyEventPostProcessor.java,
3944 java/awt/KeyboardFocusManager.java,
3945 java/awt/Label.java,
3946 java/awt/LayoutManager.java,
3947 java/awt/MenuBar.java,
3948 java/awt/MenuComponent.java,
3949 java/awt/MenuContainer.java,
3950 java/awt/PageAttributes.java,
3951 java/awt/Paint.java,
3952 java/awt/PaintContext.java,
3953 java/awt/Panel.java,
3954 java/awt/Point.java,
3955 java/awt/Polygon.java,
3956 java/awt/PrintGraphics.java,
3957 java/awt/PrintJob.java,
3958 java/awt/Rectangle.java,
3959 java/awt/RenderingHints.java,
3960 java/awt/Shape.java,
3961 java/awt/Stroke.java,
3962 java/awt/SystemColor.java,
3963 java/awt/Toolkit.java,
3964 java/awt/Transparency.java,
3965 java/awt/Window.java,
3966 java/awt/color/CMMException.java,
3967 java/awt/color/ColorSpace.java,
3968 java/awt/color/ICC_ColorSpace.java,
3969 java/awt/color/ICC_Profile.java,
3970 java/awt/color/ProfileDataException.java,
3971 java/awt/datatransfer/FlavorTable.java,
3972 java/awt/datatransfer/MimeTypeParseException.java,
3973 java/awt/datatransfer/Transferable.java,
3974 java/awt/datatransfer/UnsupportedFlavorException.java,
3975 java/awt/dnd/Autoscroll.java,
3976 java/awt/dnd/DnDConstants.java,
3977 java/awt/dnd/DragGestureListener.java,
3978 java/awt/dnd/DragSourceAdapter.java,
3979 java/awt/dnd/DragSourceDropEvent.java,
3980 java/awt/dnd/DragSourceListener.java,
3981 java/awt/dnd/DragSourceMotionListener.java,
3982 java/awt/dnd/DropTargetAdapter.java,
3983 java/awt/dnd/DropTargetContext.java,
3984 java/awt/dnd/DropTargetListener.java,
3985 java/awt/dnd/InvalidDnDOperationException.java,
3986 java/awt/dnd/MouseDragGestureRecognizer.java,
3987 java/awt/dnd/peer/DropTargetContextPeer.java,
3988 java/awt/event/AWTEventListener.java,
3989 java/awt/event/AWTEventListenerProxy.java,
3990 java/awt/event/ActionEvent.java,
3991 java/awt/event/AdjustmentEvent.java,
3992 java/awt/event/AdjustmentListener.java,
3993 java/awt/event/ComponentAdapter.java,
3994 java/awt/event/ComponentEvent.java,
3995 java/awt/event/ComponentListener.java,
3996 java/awt/event/ContainerAdapter.java,
3997 java/awt/event/ContainerEvent.java,
3998 java/awt/event/ContainerListener.java,
3999 java/awt/event/FocusAdapter.java,
4000 java/awt/event/FocusEvent.java,
4001 java/awt/event/FocusListener.java,
4002 java/awt/event/InputEvent.java,
4003 java/awt/event/InputMethodEvent.java,
4004 java/awt/event/InputMethodListener.java,
4005 java/awt/event/InvocationEvent.java,
4006 java/awt/event/ItemEvent.java,
4007 java/awt/event/ItemListener.java,
4008 java/awt/event/KeyAdapter.java,
4009 java/awt/event/KeyEvent.java,
4010 java/awt/event/KeyListener.java,
4011 java/awt/event/MouseAdapter.java,
4012 java/awt/event/MouseEvent.java,
4013 java/awt/event/MouseListener.java,
4014 java/awt/event/MouseMotionAdapter.java,
4015 java/awt/event/MouseMotionListener.java,
4016 java/awt/event/MouseWheelEvent.java,
4017 java/awt/event/MouseWheelListener.java,
4018 java/awt/event/PaintEvent.java,
4019 java/awt/event/TextEvent.java,
4020 java/awt/event/TextListener.java,
4021 java/awt/event/WindowAdapter.java,
4022 java/awt/event/WindowEvent.java,
4023 java/awt/event/WindowFocusListener.java,
4024 java/awt/event/WindowListener.java,
4025 java/awt/event/WindowStateListener.java,
4026 java/awt/font/TextHitInfo.java,
4027 java/awt/geom/CubicCurve2D.java,
4028 java/awt/geom/Dimension2D.java,
4029 java/awt/geom/Ellipse2D.java,
4030 java/awt/geom/IllegalPathStateException.java,
4031 java/awt/geom/Line2D.java,
4032 java/awt/geom/NoninvertibleTransformException.java,
4033 java/awt/geom/PathIterator.java,
4034 java/awt/geom/Point2D.java,
4035 java/awt/geom/QuadCurve2D.java,
4036 java/awt/geom/RectangularShape.java,
4037 java/awt/geom/RoundRectangle2D.java,
4038 java/awt/im/InputContext.java,
4039 java/awt/im/InputMethodHighlight.java,
4040 java/awt/im/InputMethodRequests.java,
4041 java/awt/im/InputSubset.java,
4042 java/awt/im/spi/InputMethod.java,
4043 java/awt/im/spi/InputMethodDescriptor.java,
4044 java/awt/image/BandCombineOp.java,
4045 java/awt/image/BandedSampleModel.java,
4046 java/awt/image/ByteLookupTable.java,
4047 java/awt/image/ComponentSampleModel.java,
4048 java/awt/image/DataBuffer.java,
4049 java/awt/image/DataBufferByte.java,
4050 java/awt/image/DataBufferDouble.java,
4051 java/awt/image/DataBufferFloat.java,
4052 java/awt/image/DataBufferInt.java,
4053 java/awt/image/DataBufferShort.java,
4054 java/awt/image/DataBufferUShort.java,
4055 java/awt/image/ImagingOpException.java,
4056 java/awt/image/Kernel.java,
4057 java/awt/image/LookupTable.java,
4058 java/awt/image/MultiPixelPackedSampleModel.java,
4059 java/awt/image/PackedColorModel.java,
4060 java/awt/image/PixelInterleavedSampleModel.java,
4061 java/awt/image/RGBImageFilter.java,
4062 java/awt/image/Raster.java,
4063 java/awt/image/RasterFormatException.java,
4064 java/awt/image/SampleModel.java,
4065 java/awt/image/ShortLookupTable.java,
4066 java/awt/image/SinglePixelPackedSampleModel.java,
4067 java/awt/image/WritableRaster.java,
4068 java/awt/print/PrinterAbortException.java,
4069 java/awt/print/PrinterException.java,
4070 java/awt/print/PrinterIOException.java,
4071 java/beans/AppletInitializer.java,
4072 java/beans/ExceptionListener.java,
4073 java/beans/PropertyChangeEvent.java,
4074 java/beans/PropertyChangeListenerProxy.java,
4075 java/beans/PropertyChangeSupport.java,
4076 java/beans/PropertyDescriptor.java,
4077 java/beans/VetoableChangeListenerProxy.java,
4078 java/beans/VetoableChangeSupport.java,
4079 java/io/BufferedReader.java,
4080 java/io/ByteArrayInputStream.java,
4081 java/io/ByteArrayOutputStream.java,
4082 java/io/CharArrayReader.java,
4083 java/io/CharArrayWriter.java,
4084 java/io/CharConversionException.java,
4085 java/io/DataInput.java,
4086 java/io/DataInputStream.java,
4087 java/io/DataOutput.java,
4088 java/io/DataOutputStream.java,
4089 java/io/EOFException.java,
4090 java/io/FileInputStream.java,
4091 java/io/FileNotFoundException.java,
4092 java/io/FileOutputStream.java,
4093 java/io/FilenameFilter.java,
4094 java/io/FilterInputStream.java,
4095 java/io/FilterOutputStream.java,
4096 java/io/FilterReader.java,
4097 java/io/FilterWriter.java,
4098 java/io/IOException.java,
4099 java/io/InputStream.java,
4100 java/io/InterruptedIOException.java,
4101 java/io/LineNumberInputStream.java,
4102 java/io/LineNumberReader.java,
4103 java/io/ObjectInputStream.java,
4104 java/io/ObjectStreamException.java,
4105 java/io/OptionalDataException.java,
4106 java/io/OutputStream.java,
4107 java/io/OutputStreamWriter.java,
4108 java/io/PrintStream.java,
4109 java/io/PrintWriter.java,
4110 java/io/PushbackInputStream.java,
4111 java/io/PushbackReader.java,
4112 java/io/RandomAccessFile.java,
4113 java/io/Reader.java,
4114 java/io/SequenceInputStream.java,
4115 java/io/Serializable.java,
4116 java/io/StreamCorruptedException.java,
4117 java/io/StreamTokenizer.java,
4118 java/io/StringBufferInputStream.java,
4119 java/io/StringWriter.java,
4120 java/io/SyncFailedException.java,
4121 java/io/UTFDataFormatException.java,
4122 java/io/UnsupportedEncodingException.java,
4123 java/io/WriteAbortedException.java,
4124 java/io/Writer.java,
4125 java/lang/AbstractMethodError.java,
4126 java/lang/ArithmeticException.java,
4127 java/lang/ArrayIndexOutOfBoundsException.java,
4128 java/lang/ArrayStoreException.java,
4129 java/lang/AssertionError.java,
4130 java/lang/Boolean.java,
4131 java/lang/Byte.java,
4132 java/lang/Class.java,
4133 java/lang/ClassCastException.java,
4134 java/lang/ClassCircularityError.java,
4135 java/lang/ClassLoader.java,
4136 java/lang/ClassNotFoundException.java,
4137 java/lang/CloneNotSupportedException.java,
4138 java/lang/Cloneable.java,
4139 java/lang/Comparable.java,
4140 java/lang/Compiler.java,
4141 java/lang/Double.java,
4142 java/lang/Error.java,
4143 java/lang/Exception.java,
4144 java/lang/ExceptionInInitializerError.java,
4145 java/lang/Float.java,
4146 java/lang/IllegalAccessError.java,
4147 java/lang/IllegalAccessException.java,
4148 java/lang/IllegalArgumentException.java,
4149 java/lang/IllegalMonitorStateException.java,
4150 java/lang/IllegalStateException.java,
4151 java/lang/IllegalThreadStateException.java,
4152 java/lang/IncompatibleClassChangeError.java,
4153 java/lang/IndexOutOfBoundsException.java,
4154 java/lang/InheritableThreadLocal.java,
4155 java/lang/InstantiationError.java,
4156 java/lang/InstantiationException.java,
4157 java/lang/Integer.java,
4158 java/lang/InternalError.java,
4159 java/lang/InterruptedException.java,
4160 java/lang/LinkageError.java,
4161 java/lang/Long.java,
4162 java/lang/NegativeArraySizeException.java,
4163 java/lang/NoClassDefFoundError.java,
4164 java/lang/NoSuchFieldError.java,
4165 java/lang/NoSuchFieldException.java,
4166 java/lang/NoSuchMethodError.java,
4167 java/lang/NoSuchMethodException.java,
4168 java/lang/NullPointerException.java,
4169 java/lang/Number.java,
4170 java/lang/NumberFormatException.java,
4171 java/lang/OutOfMemoryError.java,
4172 java/lang/Process.java,
4173 java/lang/Runnable.java,
4174 java/lang/Runtime.java,
4175 java/lang/RuntimeException.java,
4176 java/lang/RuntimePermission.java,
4177 java/lang/SecurityException.java,
4178 java/lang/SecurityManager.java,
4179 java/lang/Short.java,
4180 java/lang/StackOverflowError.java,
4181 java/lang/StackTraceElement.java,
4182 java/lang/StringBuffer.java,
4183 java/lang/StringIndexOutOfBoundsException.java,
4184 java/lang/ThreadDeath.java,
4185 java/lang/ThreadGroup.java,
4186 java/lang/Throwable.java,
4187 java/lang/UnsatisfiedLinkError.java,
4188 java/lang/UnsupportedOperationException.java,
4189 java/lang/VerifyError.java,
4190 java/lang/VirtualMachineError.java,
4191 java/lang/reflect/AccessibleObject.java,
4192 java/lang/reflect/Array.java,
4193 java/lang/reflect/InvocationTargetException.java,
4194 java/lang/reflect/Member.java,
4195 java/lang/reflect/Modifier.java,
4196 java/lang/reflect/Proxy.java,
4197 java/lang/reflect/ReflectPermission.java,
4198 java/lang/reflect/UndeclaredThrowableException.java,
4199 java/math/BigInteger.java,
4200 java/net/NetworkInterface.java,
4201 java/nio/ByteBufferHelper.java,
4202 java/nio/ByteBufferImpl.java,
4203 java/nio/DirectByteBufferImpl.java,
4204 java/nio/DoubleBufferImpl.java,
4205 java/nio/FloatBufferImpl.java,
4206 java/nio/IntBufferImpl.java,
4207 java/nio/LongBufferImpl.java,
4208 java/nio/ShortBufferImpl.java,
4209 java/nio/channels/Channel.java,
4210 java/nio/channels/IllegalBlockingModeException.java,
4211 java/nio/charset/spi/CharsetProvider.java,
4212 java/security/AccessControlException.java,
4213 java/security/BasicPermission.java,
4214 java/security/DigestException.java,
4215 java/security/DigestInputStream.java,
4216 java/security/DigestOutputStream.java,
4217 java/security/GeneralSecurityException.java,
4218 java/security/Guard.java,
4219 java/security/GuardedObject.java,
4220 java/security/InvalidAlgorithmParameterException.java,
4221 java/security/InvalidKeyException.java,
4222 java/security/InvalidParameterException.java,
4223 java/security/Key.java,
4224 java/security/KeyException.java,
4225 java/security/KeyManagementException.java,
4226 java/security/KeyStoreException.java,
4227 java/security/MessageDigestSpi.java,
4228 java/security/NoSuchAlgorithmException.java,
4229 java/security/NoSuchProviderException.java,
4230 java/security/Permission.java,
4231 java/security/PermissionCollection.java,
4232 java/security/Permissions.java,
4233 java/security/Principal.java,
4234 java/security/PrivateKey.java,
4235 java/security/PrivilegedActionException.java,
4236 java/security/ProviderException.java,
4237 java/security/PublicKey.java,
4238 java/security/SecureRandom.java,
4239 java/security/SecureRandomSpi.java,
4240 java/security/SignatureException.java,
4241 java/security/SignatureSpi.java,
4242 java/security/SignedObject.java,
4243 java/security/Signer.java,
4244 java/security/UnrecoverableKeyException.java,
4245 java/security/UnresolvedPermission.java,
4246 java/security/acl/AclNotFoundException.java,
4247 java/security/acl/LastOwnerException.java,
4248 java/security/acl/NotOwnerException.java,
4249 java/security/cert/CertPath.java,
4250 java/security/cert/CertPathBuilderException.java,
4251 java/security/cert/CertPathValidatorException.java,
4252 java/security/cert/CertStoreException.java,
4253 java/text/BreakIterator.java,
4254 java/text/ChoiceFormat.java,
4255 java/text/CollationElementIterator.java,
4256 java/text/CollationKey.java,
4257 java/text/Collator.java,
4258 java/text/DateFormat.java,
4259 java/text/DateFormatSymbols.java,
4260 java/text/DecimalFormat.java,
4261 java/text/DecimalFormatSymbols.java,
4262 java/text/FieldPosition.java,
4263 java/text/Format.java,
4264 java/text/NumberFormat.java,
4265 java/text/ParseException.java,
4266 java/text/ParsePosition.java,
4267 java/text/StringCharacterIterator.java,
4268 java/util/AbstractCollection.java,
4269 java/util/AbstractList.java,
4270 java/util/AbstractMap.java,
4271 java/util/AbstractSequentialList.java,
4272 java/util/AbstractSet.java,
4273 java/util/ArrayList.java,
4274 java/util/Arrays.java,
4275 java/util/BitSet.java,
4276 java/util/Collection.java,
4277 java/util/Collections.java,
4278 java/util/Comparator.java,
4279 java/util/ConcurrentModificationException.java,
4280 java/util/Currency.java,
4281 java/util/Date.java,
4282 java/util/EmptyStackException.java,
4283 java/util/Enumeration.java,
4284 java/util/EventListener.java,
4285 java/util/EventListenerProxy.java,
4286 java/util/EventObject.java,
4287 java/util/HashMap.java,
4288 java/util/HashSet.java,
4289 java/util/Hashtable.java,
4290 java/util/IdentityHashMap.java,
4291 java/util/Iterator.java,
4292 java/util/LinkedHashSet.java,
4293 java/util/LinkedList.java,
4294 java/util/List.java,
4295 java/util/ListIterator.java,
4296 java/util/ListResourceBundle.java,
4298 java/util/MissingResourceException.java,
4299 java/util/NoSuchElementException.java,
4300 java/util/Observable.java,
4301 java/util/Observer.java,
4302 java/util/Properties.java,
4303 java/util/PropertyPermissionCollection.java,
4304 java/util/RandomAccess.java,
4306 java/util/SortedMap.java,
4307 java/util/SortedSet.java,
4308 java/util/Stack.java,
4309 java/util/StringTokenizer.java,
4310 java/util/TooManyListenersException.java,
4311 java/util/TreeMap.java,
4312 java/util/TreeSet.java,
4313 java/util/Vector.java,
4314 java/util/logging/FileHandler.java,
4315 java/util/logging/Level.java,
4316 java/util/prefs/BackingStoreException.java,
4317 java/util/prefs/InvalidPreferencesFormatException.java,
4318 java/util/prefs/Preferences.java,
4319 javax/accessibility/Accessible.java,
4320 javax/accessibility/AccessibleAction.java,
4321 javax/accessibility/AccessibleBundle.java,
4322 javax/accessibility/AccessibleComponent.java,
4323 javax/accessibility/AccessibleContext.java,
4324 javax/accessibility/AccessibleEditableText.java,
4325 javax/accessibility/AccessibleExtendedComponent.java,
4326 javax/accessibility/AccessibleExtendedTable.java,
4327 javax/accessibility/AccessibleHyperlink.java,
4328 javax/accessibility/AccessibleHypertext.java,
4329 javax/accessibility/AccessibleIcon.java,
4330 javax/accessibility/AccessibleKeyBinding.java,
4331 javax/accessibility/AccessibleRelation.java,
4332 javax/accessibility/AccessibleRelationSet.java,
4333 javax/accessibility/AccessibleResourceBundle.java,
4334 javax/accessibility/AccessibleRole.java,
4335 javax/accessibility/AccessibleSelection.java,
4336 javax/accessibility/AccessibleState.java,
4337 javax/accessibility/AccessibleStateSet.java,
4338 javax/accessibility/AccessibleTable.java,
4339 javax/accessibility/AccessibleTableModelChange.java,
4340 javax/accessibility/AccessibleText.java,
4341 javax/accessibility/AccessibleValue.java,
4342 javax/imageio/IIOException.java,
4343 javax/imageio/ImageIO.java,
4344 javax/imageio/spi/IIOServiceProvider.java,
4345 javax/imageio/spi/ImageInputStreamSpi.java,
4346 javax/imageio/spi/ImageOutputStreamSpi.java,
4347 javax/imageio/spi/ImageReaderWriterSpi.java,
4348 javax/imageio/spi/ImageTranscoderSpi.java,
4349 javax/imageio/spi/RegisterableService.java,
4350 javax/imageio/spi/ServiceRegistry.java,
4351 javax/imageio/stream/IIOByteBuffer.java,
4352 javax/imageio/stream/ImageInputStream.java,
4353 javax/imageio/stream/ImageOutputStream.java,
4354 javax/naming/Binding.java,
4355 javax/naming/CannotProceedException.java,
4356 javax/naming/CompositeName.java,
4357 javax/naming/CompoundName.java,
4358 javax/naming/LinkException.java,
4359 javax/naming/LinkRef.java,
4360 javax/naming/NameClassPair.java,
4361 javax/naming/Reference.java,
4362 javax/naming/ReferralException.java,
4363 javax/naming/directory/Attribute.java,
4364 javax/naming/directory/AttributeModificationException.java,
4365 javax/naming/directory/Attributes.java,
4366 javax/naming/directory/DirContext.java,
4367 javax/naming/directory/ModificationItem.java,
4368 javax/naming/directory/SearchControls.java,
4369 javax/naming/directory/SearchResult.java,
4370 javax/naming/event/EventContext.java,
4371 javax/naming/event/EventDirContext.java,
4372 javax/naming/event/NamespaceChangeListener.java,
4373 javax/naming/event/NamingExceptionEvent.java,
4374 javax/naming/event/NamingListener.java,
4375 javax/naming/event/ObjectChangeListener.java,
4376 javax/naming/ldap/Control.java,
4377 javax/naming/ldap/ExtendedResponse.java,
4378 javax/naming/ldap/HasControls.java,
4379 javax/naming/ldap/LdapContext.java,
4380 javax/naming/ldap/UnsolicitedNotification.java,
4381 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4382 javax/naming/ldap/UnsolicitedNotificationListener.java,
4383 javax/naming/spi/DirectoryManager.java,
4384 javax/naming/spi/ResolveResult.java,
4385 javax/naming/spi/Resolver.java,
4386 javax/security/auth/callback/Callback.java,
4387 javax/security/auth/callback/CallbackHandler.java,
4388 javax/security/auth/callback/ChoiceCallback.java,
4389 javax/security/auth/callback/ConfirmationCallback.java,
4390 javax/security/auth/callback/LanguageCallback.java,
4391 javax/security/auth/callback/NameCallback.java,
4392 javax/security/auth/callback/PasswordCallback.java,
4393 javax/security/auth/callback/TextInputCallback.java,
4394 javax/security/auth/callback/TextOutputCallback.java,
4395 javax/security/auth/callback/UnsupportedCallbackException.java,
4396 javax/security/sasl/Sasl.java,
4397 javax/security/sasl/SaslServerFactory.java,
4398 javax/swing/DefaultBoundedRangeModel.java,
4399 javax/swing/JComponent.java,
4400 javax/swing/JList.java,
4401 javax/swing/JProgressBar.java,
4402 javax/swing/JRadioButton.java,
4403 javax/swing/JTextArea.java,
4404 javax/swing/JTextField.java,
4405 javax/swing/JToggleButton.java,
4406 javax/swing/JTree.java,
4407 javax/swing/SpinnerListModel.java,
4408 javax/swing/event/EventListenerList.java,
4409 javax/swing/text/JTextComponent.java,
4410 javax/swing/text/StringContent.java,
4411 javax/swing/text/Utilities.java,
4412 javax/swing/undo/UndoManager.java,
4413 javax/swing/undo/UndoableEditSupport.java,
4414 javax/transaction/HeuristicCommitException.java,
4415 javax/transaction/HeuristicMixedException.java,
4416 javax/transaction/HeuristicRollbackException.java,
4417 javax/transaction/InvalidTransactionException.java,
4418 javax/transaction/NotSupportedException.java,
4419 javax/transaction/RollbackException.java,
4420 javax/transaction/Status.java,
4421 javax/transaction/Synchronization.java,
4422 javax/transaction/SystemException.java,
4423 javax/transaction/Transaction.java,
4424 javax/transaction/TransactionManager.java,
4425 javax/transaction/TransactionRequiredException.java,
4426 javax/transaction/TransactionRolledbackException.java,
4427 javax/transaction/UserTransaction.java,
4428 javax/transaction/xa/XAException.java,
4429 javax/transaction/xa/XAResource.java,
4430 javax/transaction/xa/Xid.java,
4431 javax/xml/XMLConstants.java,
4432 javax/xml/datatype/DatatypeConfigurationException.java,
4433 javax/xml/datatype/DatatypeConstants.java,
4434 javax/xml/datatype/DatatypeFactory.java,
4435 javax/xml/datatype/Duration.java,
4436 javax/xml/datatype/XMLGregorianCalendar.java,
4437 javax/xml/namespace/NamespaceContext.java,
4438 javax/xml/namespace/QName.java,
4439 javax/xml/parsers/DocumentBuilder.java,
4440 javax/xml/parsers/DocumentBuilderFactory.java,
4441 javax/xml/parsers/FactoryConfigurationError.java,
4442 javax/xml/parsers/ParserConfigurationException.java,
4443 javax/xml/parsers/SAXParser.java,
4444 javax/xml/parsers/SAXParserFactory.java,
4445 javax/xml/transform/ErrorListener.java,
4446 javax/xml/transform/OutputKeys.java,
4447 javax/xml/transform/Result.java,
4448 javax/xml/transform/Source.java,
4449 javax/xml/transform/SourceLocator.java,
4450 javax/xml/transform/Templates.java,
4451 javax/xml/transform/Transformer.java,
4452 javax/xml/transform/TransformerConfigurationException.java,
4453 javax/xml/transform/TransformerException.java,
4454 javax/xml/transform/TransformerFactory.java,
4455 javax/xml/transform/TransformerFactoryConfigurationError.java,
4456 javax/xml/transform/URIResolver.java,
4457 javax/xml/transform/dom/DOMLocator.java,
4458 javax/xml/transform/dom/DOMResult.java,
4459 javax/xml/transform/dom/DOMSource.java,
4460 javax/xml/transform/sax/SAXResult.java,
4461 javax/xml/transform/sax/SAXSource.java,
4462 javax/xml/transform/sax/SAXTransformerFactory.java,
4463 javax/xml/transform/sax/TemplatesHandler.java,
4464 javax/xml/transform/sax/TransformerHandler.java,
4465 javax/xml/transform/stream/StreamResult.java,
4466 javax/xml/transform/stream/StreamSource.java,
4467 javax/xml/validation/Schema.java,
4468 javax/xml/validation/SchemaFactory.java,
4469 javax/xml/validation/TypeInfoProvider.java,
4470 javax/xml/validation/Validator.java,
4471 javax/xml/validation/ValidatorHandler.java,
4472 javax/xml/xpath/XPathConstants.java,
4473 javax/xml/xpath/XPathException.java,
4474 javax/xml/xpath/XPathExpression.java,
4475 javax/xml/xpath/XPathExpressionException.java,
4476 javax/xml/xpath/XPathFactory.java,
4477 javax/xml/xpath/XPathFactoryConfigurationException.java,
4478 javax/xml/xpath/XPathFunction.java,
4479 javax/xml/xpath/XPathFunctionException.java,
4480 javax/xml/xpath/XPathFunctionResolver.java:
4481 Fixed usage of @author tag, reworked import statements,
4482 removed CVS tags, changed the modifier order and fixed
4483 HTML usage in javadocs.
4485 2005-02-16 Julian Scheid <julian@sektor37.de>
4487 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4489 (encodeLoop): Likewise.
4491 2005-02-16 Mark Wielaard <mark@klomp.org>
4493 * Makefile.am (ordinary_java_source_files): Add new files
4494 gnu/java/security/ber/BER.java,
4495 gnu/java/security/ber/BEREncodingException.java,
4496 gnu/java/security/ber/BERReader.java,
4497 gnu/java/security/ber/BERValue.java,
4498 gnu/java/security/pkcs/PKCS7SignedData.java and
4499 gnu/java/security/pkcs/SignerInfo.java.
4500 * Makefile.in: Regenerated.
4502 2005-02-16 Casey Marshall <csm@gnu.org>
4504 * gnu/java/security/provider/GnuDSAPrivateKey.java
4505 (encodedKey): new field.
4506 (getFormat): return "PKCS#8".
4507 (getEncoded): implemented.
4508 (toString): check for 'null' values.
4509 * gnu/java/security/provider/GnuDSAPublicKey.java
4510 (encodedKey): new field.
4511 (getFormat): return "X.509".
4512 (getEncoded): implemented.
4513 (toString): check for 'null' values.
4515 2005-02-16 Michael Koch <konqueror@gmx.de>
4517 * java/util/jar/JarFile.java: Imports reworked.
4519 2005-02-16 Mark Wielaard <mark@klomp.org>
4521 * java/util/jar/JarFile.java (verify): Make package private.
4522 (signaturesRead): Likewise.
4523 (verified): Likewise.
4524 (entryCerts): Likewise.
4527 (entries): Construct new JarEnumeration with reference to this.
4528 (JarEnumeration): Make static.
4529 (JarEnumeration.jarfile): New field.
4530 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4531 Compare verified value to Boolean.TRUE or Boolean.False only
4532 when verify is true.
4533 (getEntry): Make synchronized. Compare value of verified to
4535 (getInputStream): Construct EntryInputStream with reference to this.
4536 (getManifest): Make synchronized.
4537 (EntryInputStream): Make static.
4538 (EntryInputStream.jarfile): New field.
4539 (EntryInputStream.EntryInputStream): Check if manifest exists,
4540 before getting attributes.
4541 (eof): Synchronize on jarfile.
4543 2005-02-16 Casey Marshall <csm@gnu.org>
4545 * java/util/jar/JarFile.java (verify): return if the jar is signed
4546 with an unsupported algorithm.
4548 2005-02-16 Mark Wielaard <mark@klomp.org>
4550 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4551 InputStream as argument.
4552 (getInputStream): Construct a new EntryInputStream with the result of
4553 super.getInputStream(entry).
4555 2005-02-16 Casey Marshall <csm@gnu.org>
4557 Signed JAR file support.
4558 * java/net/URLClassLoader.java
4559 (JarURLResource.getCertificates): re-read jar entry to ensure
4560 certificates are picked up.
4561 (findClass): fill in class `signers' field, too.
4562 * java/util/jar/JarFile.java (META_INF): new constant.
4563 (PKCS7_DSA_SUFFIX): new constant.
4564 (PKCS7_RSA_SUFFIX): new constant.
4565 (DIGEST_KEY_SUFFIX): new constant.
4566 (SF_SUFFIX): new constant.
4567 (MD2_OID): new constant.
4568 (MD4_OID): new constant.
4569 (MD5_OID): new constant.
4570 (SHA1_OID): new constant.
4571 (DSA_ENCRYPTION_OID): new constant.
4572 (RSA_ENCRYPTION_OID): new constant.
4573 (signaturesRead): new field.
4574 (verified): new field.
4575 (entryCerts): new field.
4576 (DEBUG): new constant.
4577 (debug): new method.
4578 (JarEnumeration.nextElement): fill in entry certificates, read
4579 signatures if they haven't been read.
4580 (getEntry): likewise.
4581 (getInputStream): verify stream if it hasn't been verified yet.
4582 (readSignatures): new method.
4583 (verify): new method.
4584 (verifyHashes): new method.
4585 (readManifestEntry): new method.
4586 (EntryInputStream): new class.
4587 * gnu/java/io/Base64InputStream.java (decode): new class
4589 * gnu/java/security/der/DERReader.java don't make class
4591 (in): made protected.
4593 (readLength): likewise.
4594 * gnu/java/security/ber/BER.java,
4595 * gnu/java/security/ber/BEREncodingException.java,
4596 * gnu/java/security/ber/BERReader.java,
4597 * gnu/java/security/ber/BERValue.java,
4598 * gnu/java/security/pkcs/PKCS7SignedData.java,
4599 * gnu/java/security/pkcs/SignerInfo.java:
4602 2005-02-16 Tom Tromey <tromey@redhat.com>
4604 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4605 copied file on exit.
4607 2005-02-15 Mark Wielaard <mark@klomp.org>
4609 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4611 2005-02-15 Michael Koch <konqueror@gmx.de>
4613 * gnu/java/awt/peer/gtk/GtkArg.java,
4614 gnu/java/awt/peer/gtk/GtkArgList.java:
4617 2005-02-15 Craig Black <craig.black@aonix.com>
4619 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4620 (postMenuActionEvent): Implement to notify ItemListeners.
4621 * java/awt/CheckboxMenuItem.java
4622 (dispatchEventImpl): Update state on ItemEvent.
4623 * java/awt/MenuItem.java
4624 (processActionEvent): Retarget event source.
4626 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4628 * gnu/java/awt/color/ClutProfileConverter.java,
4629 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4630 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4631 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4632 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4633 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4634 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4635 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4636 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4637 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4638 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4639 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4640 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4641 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4642 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4643 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4644 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4645 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4646 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4647 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4648 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4649 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4650 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4651 gnu/java/awt/peer/gtk/GtkToolkit.java,
4652 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4653 javax/swing/JPopupMenu.java,
4654 javax/swing/JSpinner.java,
4655 javax/swing/SortingFocusTraversalPolicy.java,
4656 javax/swing/SwingUtilities.java,
4657 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4658 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4659 javax/swing/tree/DefaultMutableTreeNode.java:
4660 Removed unused imports and expanded starred
4663 2005-02-15 Mark Wielaard <mark@klomp.org>
4665 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4666 IllegalArgumentException when the given String is null.
4668 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4669 when given keystoke sequence cannot be parsed.
4671 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4672 if one is installed. Only install the given menubar is not null.
4674 * javax/swing/JViewport.java (getViewSize): Return an empty
4675 Dimension when the view isn't set or preferred component size when
4678 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4679 empty Dimension when there is no view set.
4680 (minimumLayoutSize): Likewise.
4681 (layoutContainer): Don't try to layout when there is no view.
4683 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4686 * include/jawt.h: Likewise.
4687 * include/jawt_md.h: Likewise.
4688 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4690 * jni/classpath/classpath_jawt.h: Likewise.
4691 * jni/gtk-peer/gtk_jawt.c: Likewise.
4692 * Makefile.am: Build libjawt.so.
4694 2005-02-15 Michael Koch <konqueror@gmx.de>
4696 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4697 Merged file header with classpath CVS head.
4698 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4699 Merged code formatting with classpath CVS head.
4700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4702 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4703 Handle special JNI strings with 2 '\0' at the end.
4704 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4705 Merged file header with classpath CVS head.
4706 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4707 Merged code formatting with classpath CVS head.
4709 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4711 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4712 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4713 (handle_response): Use GTK_RESPONSE_ACCEPT.
4715 2005-02-15 Graydon Hoare <graydon@redhat.com>
4717 * Makefile.am: Fix library build breakage.
4718 * Makefile.in: Regenerate.
4720 2005-02-15 Michael Koch <konqueror@gmx.de>
4722 * javax/swing/JTabbedPane.java
4723 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4725 2005-02-15 Michael Koch <konqueror@gmx.de>
4727 * javax/swing/tree/DefaultMutableTreeNode.java:
4728 Reworked Javadocs all over.
4729 (getPathToRoot): Fixed direction of result array initialization.
4731 2005-02-15 Michael Koch <konqueror@gmx.de>
4733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4734 Fix includes for cairo 0.3.0 snappshot.
4735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4736 Merged file header from classpath CVS HEAD.
4738 2005-02-15 Craig Black <craig.black@aonix.com>
4740 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4741 (copyState): Pass a JNI global reference to signal handler.
4742 (realize_cb): Use and free JNI global reference.
4743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4744 (create): Pass a JNI global reference to signal handler.
4745 (selection_changed): Match declaration.
4746 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4747 (dispose): Do not remove entries from state tables until after widget is
4750 2005-02-15 Michael Koch <konqueror@gmx.de>
4752 * java/awt/Container.javai (paramString):
4753 If layoutMgr is null just return result of super.paramString().
4754 * java/awt/Scrollbar.java: Reformatted.
4755 * java/awt/im/InputContext.java (static):
4756 Removed redundant initializations.
4758 2005-02-15 Michael Koch <konqueror@gmx.de>
4760 * javax/swing/ImageIcon.java,
4761 javax/swing/UIManager.java,
4762 javax/swing/text/EditorKit.java,
4763 javax/swing/text/Segment.java:
4764 More whitespace cleanups.
4766 2005-02-15 Michael Koch <konqueror@gmx.de>
4768 * gnu/java/awt/EmbeddedWindow.java,
4769 gnu/java/awt/image/ImageDecoder.java,
4770 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4771 java/awt/DefaultKeyboardFocusManager.java,
4772 java/awt/Frame.java,
4773 java/awt/image/RGBImageFilter.java,
4774 javax/swing/AbstractButton.java,
4775 javax/swing/ActionMap.java,
4776 javax/swing/ComponentInputMap.java,
4777 javax/swing/DefaultDesktopManager.java,
4778 javax/swing/ImageIcon.java,
4779 javax/swing/InputMap.java,
4780 javax/swing/JButton.java,
4781 javax/swing/JCheckBox.java,
4782 javax/swing/JCheckBoxMenuItem.java,
4783 javax/swing/JEditorPane.java,
4784 javax/swing/JMenu.java,
4785 javax/swing/JMenuItem.java,
4786 javax/swing/JOptionPane.java,
4787 javax/swing/JRootPane.java,
4788 javax/swing/JTable.java,
4789 javax/swing/MenuSelectionManager.java,
4790 javax/swing/RepaintManager.java,
4791 javax/swing/ScrollPaneLayout.java,
4792 javax/swing/SortingFocusTraversalPolicy.java,
4793 javax/swing/UIManager.java,
4794 javax/swing/ViewportLayout.java,
4795 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4796 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4797 javax/swing/plaf/basic/BasicLabelUI.java,
4798 javax/swing/plaf/basic/BasicListUI.java,
4799 javax/swing/plaf/basic/BasicMenuItemUI.java,
4800 javax/swing/plaf/basic/BasicMenuUI.java,
4801 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4802 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4803 javax/swing/plaf/basic/BasicRootPaneUI.java,
4804 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4805 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4806 javax/swing/plaf/basic/BasicTextUI.java,
4807 javax/swing/table/TableColumnModel.java,
4808 javax/swing/text/AbstractDocument.java,
4809 javax/swing/text/EditorKit.java,
4810 javax/swing/text/Position.java,
4811 javax/swing/text/Segment.java,
4812 javax/swing/text/StyledEditorKit.java,
4813 javax/swing/text/ViewFactory.java:
4814 Cleanup whitespace differences to classpath CVS HEAD.
4816 2005-02-15 Graydon Hoare <graydon@redhat.com>
4818 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4819 (finalize): Call finish from here.
4820 (produce): Not from here.
4821 * Makefile.am (gtk_c_source_files):
4822 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4823 * Makefile.in: Regenerate.
4824 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4826 (cairoDrawGdkTextLayout):
4828 (getPeerTextMetrics):
4829 (getPeerFontMetrics): Remove.
4830 (setFont): Don't call cairoSetFont.
4831 (cairoDrawGlyphVector): Accept font peer argument.
4832 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4833 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4834 (ensure_metrics_cairo):
4835 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4836 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4837 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4838 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4840 (metrics_surface): Remove.
4841 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4842 Pass and install font peer.
4844 2005-02-15 Graydon Hoare <graydon@redhat.com>
4846 * Makefile.am: Create "split library" structure.
4847 * Makefile.in: Regenerate.
4849 2005-02-15 Graydon Hoare <graydon@redhat.com>
4851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4852 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4853 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4855 Release GDK lock during upcalls.
4857 2005-02-15 Graydon Hoare <graydon@redhat.com>
4859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4860 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4861 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4862 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4863 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4864 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4865 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4868 (getTextMetrics): New native methods.
4869 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4870 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4871 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4872 * Makefile.in: Regenerate.
4874 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4876 * javax/swing/SwingUtilities.java:
4877 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4878 Implemented and documented.
4879 (getAccessibleChild(java.awt.Component, int)): Likewise.
4880 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4881 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4882 (getAccessibleStateSet(java.awt.Component)): Likewise.
4884 2005-02-15 Michael Koch <konqueror@gmx.de>
4886 * javax/swing/SwingUtilities.java
4887 (getFontMetrics): Removed.
4889 2005-02-15 Michael Koch <konqueror@gmx.de>
4891 * java/awt/Container.java
4892 (paramString): Implemented.
4893 * javax/swing/AbstractButton.java
4894 (paramString): Implemented.
4895 * javax/swing/JComponent.java
4896 (paramString): Implemented.
4897 * javax/swing/JMenu.java
4898 (paramString): Implemented.
4899 * javax/swing/JMenuBar.java
4900 (paramString): Implemented.
4901 * javax/swing/JMenuItem.java
4902 (paramString): Implemented.
4903 * javax/swing/JPopupMenu.java
4904 (paramString): Implemented.
4906 2005-02-15 Michael Koch <konqueror@gmx.de>
4908 * javax/swing/JMenu.java
4909 (uiClassID): Removed.
4910 (JMenu): Set invoker on popup menu.
4911 (getUIClassID): Return id directly.
4912 (getItemCount): Simply return getMenuComponentCount().
4914 (isTopLevelMenu): Simplified.
4915 * javax/swing/JMenuItem.java
4916 (uiClassID): Removed.
4917 (getUIClassID): Return id directly.
4918 * javax/swing/JPopupMenu.java
4919 (uiClassID): Removed.
4920 (JPopupMenu): Always initialize correctly.
4921 (getSubElements): Only return components implementing MenuElement
4923 (HeavyWeightPopup.hide): Removed.
4925 2005-02-15 Michael Koch <konqueror@gmx.de>
4927 * java/awt/image/ReplicateScaleFilter.java
4928 (replicatePixels): Made private.
4929 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4930 (DefaultRGBChooserPanel): Made package private.
4931 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4932 (RecentSwatchPanel): Likewise.
4933 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4934 (MouseInputAdapter): Made abstract.
4935 * javax/swing/tree/DefaultMutableTreeNode.java
4937 (growTree): Likewise.
4939 2005-02-15 Michael Koch <konqueror@gmx.de>
4941 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4944 2005-02-15 Michael Koch <konqueror@gmx.de>
4946 * javax/swing/JComponent.java (getComponentGraphics):
4947 Removed accidently commited code.
4949 2005-02-15 Graydon Hoare <graydon@redhat.com>
4951 * java/awt/dnd/DropTarget.java
4952 (addDropTargetListener): Despite documentation, do not throw.
4953 * javax/swing/JComponent.java: Set a default DropTarget.
4955 2005-02-15 Michael Koch <konqueror@gmx.de>
4957 * javax/swing/AbstractAction.java
4958 (ENABLED_PROPERTY): Removed.
4959 (setEnabled): Replaced constant with real string.
4960 * javax/swing/AbstractButton.java
4961 (createActionPropertyChangeListener.propertyChange): Likewise.
4962 * javax/swing/JComboBox.java
4963 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4964 (EDITABLE_CHANGED_PROPERTY): Removed.
4965 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4966 (ENABLED_CHANGED_PROPERTY):Likewise.
4967 (RENDERER_CHANGED_PROPERTY):Likewise.
4968 (EDITOR_CHANGED_PROPERTY):Likewise.
4969 (MODEL_CHANGED_PROPERTY):Likewise.
4970 (uiClassID):Likewise.
4971 (getUIClassID): Replaced constant with real string.
4972 (setModel):Likewise.
4973 (setEditable):Likewise.
4974 (setMaximumRowCount):Likewise.
4975 (setRenderer):Likewise.
4976 (setEditor):Likewise.
4977 (setEnabled):Likewise.
4978 * javax/swing/JLabel.java
4979 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
4980 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
4981 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
4982 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4983 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4984 (ICON_CHANGED_PROPERTY): Likewise.
4985 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
4986 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
4987 (TEXT_CHANGED_PROPERTY): Likewise.
4988 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4989 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4990 (setText): Replaced constant with real string.
4991 (setIcon): Likewise.
4992 (setDisabledIcon): Likewise.
4993 (setDisplayedMnemonic): Likewise.
4994 (setIconTextGap): Likewise.
4995 (setVerticalAlignment): Likewise.
4996 (setHorizontalAlignment): Likewise.
4997 (setVerticalTextPosition): Likewise.
4998 (setHorizontalTextPosition): Likewise.
4999 (setLabelFor): Replaced constant with real string.
5000 Fire property change event after property got changed.
5001 * javax/swing/JList.java
5002 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5003 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5004 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5005 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5006 (MODEL_PROPERTY_CHANGED): Likewise.
5007 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5008 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5009 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5010 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5011 (setFixedCellWidth): Reimplemented.
5012 (setFixedCellHeight): Exit if new value is identical.
5013 Replaced constant with real string.
5014 (setSelectionBackground): Likewise.
5015 (setSelectionForeground): Likewise.
5016 (setPrototypeCellValue): Likewise.
5017 (setCellRenderer): Replaced constant with real string.
5018 (setModel): Likewise.
5019 (setSelectionModel): Likewise.
5020 * javax/swing/JMenuBar.java
5021 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5022 (MODEL_CHANGED_PROPERTY): Likewise.
5023 (MARGIN_CHANGED_PROPERTY): Likewise.
5024 (setBorderPainted): Reimplemented.
5025 (setMargin): Likewise.
5026 (setSelectionModel): Replaced constant with real string.
5027 * javax/swing/JPopupMenu.java
5028 (LABEL_CHANGED_PROPERTY): Removed.
5029 (VISIBLE_CHANGED_PROPERTY): Likewise.
5030 (borderPainted): Likewise.
5031 (setLabel): Replaced constant with real string.
5032 (setVisible): Exit if new value is identical.
5033 Replaced constant with real string.
5034 * javax/swing/JProgressBar.java
5035 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5036 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5037 (STRING_CHANGED_PROPERTY): Likewise.
5038 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5039 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5040 (setOrientation): Replaced constant with real string.
5041 (setStringPainted): Likewise.
5042 (setString): Likewise.
5043 (setBorderPainted): Likewise.
5044 (setIndeterminate): Likewise.
5045 * javax/swing/JScrollBar.java
5046 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5047 (MODEL_CHANGED_PROPERTY): Likewise.
5048 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5049 (setOrientation): Replaced constant with real string.
5050 (setModel): Likewise.
5051 (setUnitIncrement): Likewise.
5052 (setBlockIncrement): Likewise.
5053 * javax/swing/JScrollPane.java
5054 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5055 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5056 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5057 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5058 (LAYOUT_CHANGED_PROPERTY): Likewise.
5059 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5060 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5061 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5062 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5063 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5064 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5065 (setComponentOrientation): Replaced constant with real string.
5066 (setColumnHeader): Likewise.
5067 (setHorizontalScrollBar): Likewise.
5068 (setHorizontalScrollBarPolicy): Likewise.
5069 (setRowHeader): Likewise.
5070 (setVerticalScrollBar): Likewise.
5071 (setVerticalScrollBarPolicy): Likewise.
5072 (setWheelScrollingEnabled): Likewise.
5073 (setViewport): Likewise.
5074 (setViewportBorder): Likewise.
5075 * javax/swing/JSlider.java
5076 (INVERTED_CHANGED_PROPERTY): Removed.
5077 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5078 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5079 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5080 (MODEL_CHANGED_PROPERTY): Likewise.
5081 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5082 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5083 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5084 (setModel): Replaced constant with real string.
5085 (setOrientation): Likewise.
5086 (setLabelTable): Likewise.
5087 (setInverted): Likewise.
5088 (setMajorTickSpacing): Likewise.
5089 (setMinorTickSpacing): Likewise.
5090 (setPaintTicks): Likewise.
5091 (setPaintLabels): Likewise.
5092 * javax/swing/JTabbedPane.java
5093 (MODEL_CHANGED_PROPERTY): Removed.
5094 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5095 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5096 (setModel): Replaced constant with real string.
5097 (setTabPlacement): Likewise.
5098 (setTabLayoutPolicy): Likewise.
5099 * javax/swing/JToolBar.java
5100 (ORIENTATION_CHANGED_PROPERTY): Removed.
5101 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5102 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5103 (MARGIN_CHANGED_PROPERTY): Likewise.
5104 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5105 (setRollover): Replaced constant with real string.
5106 (setMargin): Likewise.
5107 (setBorderPainted): Likewise.
5108 (setFloatable): Likewise.
5109 (setOrientation): Likewise.
5110 * javax/swing/plaf/basic/BasicComboBoxUI.java
5111 (PropertyChangeHandler.propertyChange): Likewise.
5112 * javax/swing/plaf/basic/BasicComboPopup.java
5113 (PropertyChangeHandler.propertyChange): Likewise.
5114 * javax/swing/plaf/basic/BasicMenuBarUI.java
5115 (PropertyChangeHandler.propertyChange): Likewise.
5116 * javax/swing/plaf/basic/BasicProgressBarUI.java
5117 (PropertyChangeHandler.propertyChange): Likewise.
5118 * javax/swing/plaf/basic/BasicScrollBarUI.java
5119 (PropertyChangeHandler.propertyChange): Likewise.
5120 * javax/swing/plaf/basic/BasicSliderUI.java
5121 (PropertyChangeHandler.propertyChange): Likewise.
5122 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5123 (PropertyChangeHandler.propertyChange): Likewise.
5124 * javax/swing/plaf/basic/BasicToolBarUI.java
5125 (PropertyChangeHandler.propertyChange): Likewise.
5127 2005-02-15 Michael Koch <konqueror@gmx.de>
5129 * javax/swing/DefaultButtonModel.java
5130 (changeState): Made private.
5131 * javax/swing/DefaultDesktopManager.java
5132 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5133 * javax/swing/JLayeredPane.java
5134 (layerToRange): Made private.
5135 (incrLayer): Likewise.
5136 (decrLayer): Likewise.
5137 * javax/swing/JTable.java
5138 (dragEnabled): Likewise.
5139 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5140 * javax/swing/KeyStroke.java
5141 (Keystroke): Made private.
5142 * javax/swing/TransferHandler.java
5143 (COMMAND_COPY): Likewise.
5144 (COMMAND_CUT): Likewise.
5145 (COMMAND_PASTE): Likewise.
5147 2005-02-15 Michael Koch <konqueror@gmx.de>
5149 * javax/swing/JTextField.java
5150 (postActionEvent): Use text in field when actionCommand is null.
5151 (getActionCommand): Removed.
5153 2005-02-15 Michael Koch <konqueror@gmx.de>
5155 * javax/swing/AbstractSet.java: Removed.
5156 * Makefile.am: Removed javax/swing/AbstractSet.java.
5157 * Makefile.in: Regenerated.
5159 2005-02-15 Michael Koch <konqueror@gmx.de>
5161 * java/awt/Window.java
5162 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5163 * java/awt/dnd/DnDConstants.java
5164 (DnDConstants): New private constructor.
5166 2005-02-15 Michael Koch <konqueror@gmx.de>
5168 * javax/swing/DefaultCellRenderer.java: Removed.
5169 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5170 * Makefile.in: Regenerated.
5172 2005-02-15 Michael Koch <konqueror@gmx.de>
5174 * javax/swing/AbstractButton.java
5175 (fireItemStateChanged): Made protected.
5176 (fireActionPerformed): Likewise.
5177 (fireStateChanged): Likewise.
5178 * javax/swing/DefaultButtonModel.java
5179 (fireItemStateChanged): Likewise.
5180 (fireActionPerformed): Likewise.
5181 (fireStateChanged): Likewise.
5182 * javax/swing/JApplet.java
5184 (frameInit): Likewise.
5185 (setRootPane): Made protected.
5186 (createRootPane): Likewise.
5187 * javax/swing/JComponent.java
5188 (getClientProperty): Likewise.
5189 (putClientProperty): Likewise.
5190 * javax/swing/JEditorPane.java
5191 (getContentType): Likewise.
5192 (setContentType): Likewise.
5193 * javax/swing/JFrame.java
5194 (setRootPane): Likewise.
5195 (createRootPane): Likewise.
5196 * javax/swing/JInternalFrame.java
5197 (getFocusCycleRootAncestor): Made final. Added @since tag.
5198 (isFocusCycleRoot): Likewise.
5199 (getWarningString): Made final.
5200 * javax/swing/JScrollBar.java
5201 (changeListener): Removed.
5202 (changeEvent): Likewise.
5203 (createChangeListener): Likewise.
5204 (fireStateChanged): Likewise.
5205 (addChangeListener): Likewise.
5206 (removeChangeListener): Likewise.
5207 (getChangeListeners): Likewise.
5208 * javax/swing/JScrollPane.java
5209 (createViewport): Made protected.
5210 * javax/swing/JViewport.java
5211 (addImpl): Likewise.
5212 (setBorder): New method.
5213 * javax/swing/JWindow.java
5214 (setRootPane): Made protected.
5215 (createRootPane): Likewise.
5216 * javax/swing/plaf/basic/BasicButtonUI.java
5217 (installListeners): Likewise.
5218 (uninstallListeners): Likewise.
5219 * javax/swing/plaf/basic/BasicProgressBarUI.java
5220 (incrementAnimationIndex): Likewise.
5221 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5222 (createLayoutManager): Likewise.
5223 * javax/swing/table/DefaultTableCellRenderer.java
5224 (firePropertyChange): Likewise.
5225 * javax/swing/table/JTableHeader.java
5226 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5228 * javax/swing/text/PlainDocument.java
5229 (reindex): Made private.
5230 * javax/swing/text/PlainView.java
5231 (drawLine): Made protected.
5232 (getTabSize): Likewise.
5233 * javax/swing/text/View.java
5235 (preferenceChanged): New method.
5236 (getBreakWeight): Likewise.
5237 (breakView): Likewise.
5238 (getViewIndex): Likewise.
5240 2005-02-15 Michael Koch <konqueror@gmx.de>
5242 * javax/swing/JScrollPane.java
5243 (ScrollBar): Made class protected.
5244 * javax/swing/JSpinner.java
5245 (JSpinner): Added @since tag.
5246 (listenerList): Removed.
5247 * javax/swing/JTable.java
5248 (setValueAt): New method.
5249 (getColumn): Likewise.
5250 * javax/swing/JWindow.java
5251 (rootPaneCheckingEnabled): Renamed from checking.
5253 2005-02-15 Michael Koch <konqueror@gmx.de>
5255 * javax/swing/plaf/basic/BasicTextUI.java
5256 (RootView.modelToView): Made it public and return a java.awt.Shape.
5257 Handle null subview.
5258 (uninstall): Set textComponent to null when its not possible used
5260 * javax/swing/text/View.java
5261 (setParent): Use better argument name.
5262 (getContainer): Get parent via getParent().
5263 (getViewFactory): Likewise.
5264 (getAttributes): Get element via getElement().
5265 (getStartOffset): Likewise.
5266 (getEndOffset): Likewise.
5267 (getResizeWeight): New method.
5268 (getMaximumSpan): Likewise.
5269 (getMinimumSpan): Likewise.
5270 (setSize): Likewise.
5271 (getGraphics): Likewise.
5273 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5275 * java/awt/Checkbox.java:
5276 (AccessibleAWTCheckbox()): Added public constructor
5278 * java/awt/Choice.java:
5279 (AccessibleAWTChoice): Added class documentation.
5280 (AccessibleAWTChoice()): Added public constructor
5282 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5283 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5284 and changed role to COMBO_BOX.
5285 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5286 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5287 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5289 2005-02-15 Graydon Hoare <graydon@redhat.com>
5290 Michael Koch <konqueror@gmx.de>
5292 * javax/swing/LayoutFocusTraversalPolicy.java,
5293 javax/swing/SortingFocusTraversalPolicy.java:
5295 * Makefile.am: Added new classes.
5296 * Makefike.in: Regenerated.
5299 2005-02-15 Michael Koch <konqueror@gmx.de>
5301 * javax/swing/DebugGraphics.java: Mostly implemented.
5303 2005-02-15 Michael Koch <konqueror@gmx.de>
5305 * javax/swing/SwingUtilities.java
5306 (findFocusOwner): New method.
5308 2005-02-15 Michael Koch <konqueror@gmx.de>
5310 * javax/swing/text/DefaultEditorKit.java
5311 (read): Added '\n' after each line.
5312 * javax/swing/text/PlainView.java
5313 (modelToView): Update metrics.
5314 (drawLine): Use offsets from element.
5315 (paint): Update metrics. Draw all lines.
5317 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5319 * java/awt/Checkbox.java:
5320 (AccessibleAWTCheckbox): Added class documentation
5321 * java/awt/Scrollbar.java:
5322 (AccessibleAWTScrollBar): typo corrected and docs added
5323 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5324 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5325 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5326 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5327 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5328 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5329 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5330 (getAccessibleContext()): name of accessible class corrected
5332 2005-02-15 Mark Wielaard <mark@klomp.org>
5334 * java/awt/BasicStroke.java (hashCode): Implement.
5337 2005-02-15 Michael Koch <konqueror@gmx.de>
5339 * java/awt/print/PrinterJob.java
5340 (pageDialog): Throws java.awt.HeadlessException.
5341 (printDialog): Likewise.
5343 2005-02-15 Mark Wielaard <mark@klomp.org>
5345 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5347 2005-02-15 Michael Koch <konqueror@gmx.de>
5349 * javax/swing/JTable.java
5350 (getValueAt): New method.
5351 * javax/swing/table/JTableHeader.java
5352 (columnAtPoint): New method.
5354 2005-02-15 Michael Koch <konqueror@gmx.de>
5356 * javax/swing/JTextField.java
5357 (actions): New field.
5358 (static): Initalize actions field.
5359 (getActions): New method.
5361 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5363 * java/awt/Checkbox.java:
5364 (AccessibleAWTCheckbox): name capitalization corrected
5365 and serialization UID added.
5366 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5368 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5369 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5370 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5371 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5372 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5373 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5374 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5375 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5376 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5377 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5378 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5380 (getAccessibleContext()): name of accessible class corrected
5382 2005-02-15 Sven de Marothy <sven@physto.se>
5384 * java/awt/geom/doc-files/Area-1.png,
5385 java/awt/geom/doc-files/Ellipse-1.png,
5386 java/awt/geom/doc-files/GeneralPath-1.png:
5389 2005-02-15 Graydon Hoare <graydon@redhat.com>
5391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5392 Use union to avoid type-punning warning.
5394 2005-02-15 Michael Koch <konqueror@gmx.de>
5396 * javax/swing/DefaultListSelectionModel.java
5397 (clone): New method.
5399 2005-02-15 Mark Wielaard <mark@klomp.org>
5401 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5402 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5403 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5404 Correct method signature of gtkSetFilename.
5406 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5408 * javax/swing/text/StringContent.java: New file.
5410 2005-02-15 Michael Koch <konqueror@gmx.de>
5412 * Makefile.am: Added javax/swing/text/StringContent.java.
5413 * Makefile.in: Regenerated.
5415 2005-02-15 Michael Koch <konqueror@gmx.de>
5417 * gnu/java/awt/ClasspathToolkit.java:
5418 Import statements reworked.
5419 (imageCache): Made it of type java.util.HashMap.
5421 2005-02-15 Michael Koch <konqueror@gmx.de>
5423 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5424 Reworked import statements.
5426 2005-02-15 Graydon Hoare <graydon@redhat.com>
5428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5429 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5430 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5433 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5435 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5436 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5438 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5439 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5440 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5441 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5444 Rewrite uses of extern variable to be function calls.
5445 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5446 function, from extern variable.
5447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5448 (gdk_env): Remove variable, add new function.
5449 (java_vm): Add new variable.
5450 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5451 java_vm rather than old gdk_env variable.
5453 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5455 * javax/swing/DefaultListModel.java
5456 (add): fire correct event,
5457 (addElement): corrected interval indices in event,
5458 (clear): corrected upper bound for interval, only fire event if
5460 (setSize): fire appropriate event.
5462 2005-02-15 Graydon Hoare <graydon@redhat.com>
5464 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5465 * gnu/awt/xlib/XToolkit.java: Likewise.
5466 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5467 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5468 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5469 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5470 * java/awt/EventQueue.java (getNextEvent):
5471 Adjust event loop to switch to native mode after 100ms.
5472 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5473 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5474 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5475 Wake up event thread.
5476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5477 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5478 Adjust event loop to switch to java mode after 100ms.
5480 2005-02-15 Graydon Hoare <graydon@redhat.com>
5482 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5483 accidentally removed in last change.
5485 2005-02-15 Michael Koch <konqueror@gmx.de>
5487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5488 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5490 2005-02-15 Graydon Hoare <graydon@redhat.com>
5492 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5493 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5494 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5495 * jni.cc: Reuse bottom frame between calls, avoid clearing
5496 frame when no local references are made.
5498 2005-02-15 Michael Koch <konqueror@gmx.de>
5500 * javax/swing/UIDefaults.java (UIDefaults):
5501 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5502 Fixed HTML entity and removed a redundant comma.
5504 2005-02-15 Michael Koch <konqueror@gmx.de>
5506 * javax/swing/text/DefaultEditorKit.java
5507 (deinstall): Removed.
5508 (install): Likewise.
5510 2005-02-15 Michael Koch <konqueror@gmx.de>
5512 * javax/swing/UIDefaults.java (put): Handle value of null.
5514 2005-02-15 Michael Koch <konqueror@gmx.de>
5516 * java/awt/Robot.java,
5517 java/awt/Scrollbar.java,
5518 java/awt/print/PrinterJob.java,
5519 javax/swing/JTable.java,
5520 javax/swing/text/AbstractDocument.java:
5521 Reworked import statements.
5523 2005-02-15 Michael Koch <konqueror@gmx.de>
5525 * javax/swing/JEditorPane.java
5526 (read): Implemented.
5528 * javax/swing/text/DefaultEditorKit.java
5529 (page): Renamed from page_url. Made private.
5530 (editorKit): Renamed from kit. Made private.
5532 (JEditorPane): All constructors reimplemented.
5533 (getContentType): Use content type from editor kit.
5534 (getEditorKit): Return editorKit.
5535 (getEditorKitForContentType):Likewise.
5536 (getPage): Return page.
5537 (setContentType): Reimplemented.
5538 (setEditorKit): Likewise.
5539 (setEditorKitForContentType): Removed wrong implementation.
5540 (setPage): Implemented.
5542 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5545 (nativeSetIconImageFromData): Re-add native implementation.
5547 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5549 * javax/swing/table/DefaultTableModel.java
5550 (DefaultTableModel()): Added Javadocs.
5551 (DefaultTableModel(int, int)): Fixed implementation.
5552 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5553 for negative rowCount.
5554 (DefaultTableModel(Object[], int)): Added Javadocs.
5555 (DefaultTableModel(Vector, Vector)): Likewise.
5556 (DefaultTableModel(Object[][], Object[])): Likewise.
5557 (getDataVector): Likewise.
5558 (setDataVector(Vector, Vector)): Likewise.
5559 (setDataVector(Object[][], Object[])): Likewise.
5560 (newDataAvailable): Likewise.
5561 (newRowsAdded): Likewise.
5562 (rowsRemoved): Likewise.
5563 (setColumnIdentifiers(Vector)): Allow for null argument.
5564 (setColumnIdentifiers(Object[])): Added Javadocs.
5565 (setNumRows): Likewise.
5566 (setRowCount): Adds new rows if necessary, and sends more specific
5568 (setColumnCount): Allow for null columnIdentifiers.
5569 (addColumn(Object)): Added Javadocs.
5570 (addColumn(Object, Vector)): Handle null columnData.
5571 (addColumn(Object, Object[])): Handle columnData with more or less
5572 entries than rows in the table.
5573 (addRow(Vector)): Fire appropriate event.
5574 (addRow(Object[])): Added Javadocs.
5575 (insertRow(int, Vector)): Fire appropriate event.
5576 (insertRow(int, Object[])): Added Javadocs.
5577 (moveRow): Reimplemented.
5578 (removeRow(int)): Fire appropriate event.
5579 (getColumnCount): Allow for null columnIdentifiers.
5580 (getColumnName): Now returns empty string when column index is too
5582 (isCellEditable): Added Javadocs.
5583 (getValueAt): Likewise.
5584 (setValueAt): Fire more specific event.
5585 (convertToVector): Added Javadocs.
5586 * javax/swing/table/TableModel.java
5589 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5591 * libgcj.spec.in (lib): Add -l-javax-imageio.
5593 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5595 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5596 references to event queue q with method call q().
5597 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5598 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5599 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5600 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5601 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5602 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5605 2005-02-15 Graydon Hoare <graydon@redhat.com>
5607 * gnu/java/awt/ClasspathToolkit.java
5608 (registerImageIOSpis): New method.
5609 * gnu/java/awt/image/ImageDecoder.java
5610 (imageDecoder): New constructor using InputStream
5611 (startProduction): Handle existing InputStream.
5612 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5613 (findSimpleIntegerArray): Make public and static.
5614 (updateBufferedImage): Set each pixel, in a loop.
5615 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5616 Implement ImageIO SPI classes.
5617 (createBufferedImage): Rewrite in terms of SPI classes.
5618 * gnu/java/awt/peer/gtk/GtkToolkit.java
5619 (registerImageIOSpis): New method.
5620 * java/lang/reflect/natMethod.cc
5621 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5622 which lets JNI call interface methods properly.
5623 * javax/imageio/ImageIO.java
5624 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5625 (WriterMIMETypeFilter.filter): Likewise.
5626 (ImageReaderIterator): Pass extension argument through to SPI.
5627 (getReadersByFilter): Likewise.
5628 (getWritersByFilter): Likewise.
5629 (getImageReadersByFormatName): Likewise.
5630 (getImageReadersByMIMEType): Likewise.
5631 (getImageReadersBySuffix): Likewise.
5632 (getImageWritersByFormatName): Likewise.
5633 (getImageWritersByMIMEType): Likewise.
5634 (getImageWritersBySuffix): Likewise.
5637 * javax/imageio/ImageReader.java
5638 (progressListeners): Initialize.
5639 (setInput): Implement.
5640 * javax/imageio/ImageWriter.java
5641 (progressListeners): Initialize.
5642 (warningListeners): Likewise.
5643 (warningLocales): Likewise.
5644 (setOutput): Test "isInstance" rather than class equality.
5645 * javax/imageio/spi/IIORegistry.java
5646 (static): Add reader and writer SPIs.
5647 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5649 (query_formats): New function.
5650 (save_to_stream): Likewise.
5651 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5653 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5655 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5657 (keyPress): Likewise.
5658 (keyRelease): Likewise.
5660 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5662 * javax/swing/JTable.java
5663 (columnAtPoint): New Method. Implemented.
5664 (rowAtPoint): Likewise.
5665 (countSelections): Fixed few small count errors.
5666 (getSelections): Likewise.
5667 (setSelectionMode): Set selection mode for column
5668 selection model in addition to row selection model.
5669 * javax/swing/plaf/basic/BasicTableUI.java:
5670 (getRowForPoint): Removed. Replaced by
5671 JTable.rowAtPoint().
5672 (getColForPoint): Removed. Replaced by
5673 JTable.columnAtPoint().
5674 (updateSelection): Updated to call JTable.columnAtPoint
5675 and JTable.rowAtPoint.
5676 * javax/swing/table/DefaultTableColumnModel.java:
5677 (getSelectedColumns): Implemented.
5678 (getSelectedColumnCount): Implemented.
5680 2005-02-15 Graydon Hoare <graydon@redhat.com>
5683 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5684 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5685 * Makefile.in: Regenerate.
5686 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5687 * gnu/awt/xlib/XFramePeer.java: Likewise.
5688 * gnu/awt/xlib/XToolkit.java: Likewise.
5689 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5690 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5691 * gnu/java/awt/ClasspathToolkit.java
5694 (iterateNativeQueue): New methods.
5695 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5696 * gnu/java/awt/peer/gtk/GtkToolkit.java
5697 (gtkInit): Absorb from defunct GtkMainThread class.
5698 (static): Run gtkInit in static startup block.
5699 (GtkToolkit): Remove construction of GtkMainThread and queue.
5700 (getSystemEventQueueImpl): Construct queue when requested.
5703 (iterateNativeQueue): New methods.
5704 * java/awt/Component.java (removeNotify): Remove race.
5705 * java/awt/EventDispatchThread.java
5706 (EventDispatchThread): Don't start on construction.
5707 (run): Remove isInterrupted check.
5708 * java/awt/EventQueue.java (shutdown): New flag.
5709 (isShutdown): New method checking J2SE shutdown condition.
5710 (setShutdown): New method.
5711 (getNextEvent): Restructure to use ClasspathToolkit.
5712 (postEvent): Activate new thread on posting, wake thread on
5713 post of possible shutdown condition event.
5714 * java/awt/Frame.java
5715 (Frame): Call noteFrame in all constructors.
5716 (fireDummyEvent): New helper method.
5717 (addNotify): Fire a dummy event to wake up queue.
5718 (removeNotify): Fire a dummy event to wake up queue.
5719 (noteFrame): New method.
5720 (weakFrames): New static field.
5721 (getFrames): Implement.
5722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5724 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5725 Move everything from GtkMainThread into this file
5726 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5727 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5728 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5729 New functions to implement single-threaded queue semantics.
5731 2005-02-15 Michael Koch <konqueror@gmx.de>
5733 * javax/swing/plaf/metal/MetalLookAndFeel.java
5734 (getControlTextFont): New method.
5735 (getMenuTextFont): Likewise.
5736 (getSubTextFont): Likewise.
5737 (getSystemTextFont): Likewise.
5738 (getUserTextFont): Likewise.
5739 (getWindowTitleFont): Likewise.
5741 2005-02-15 Michael Koch <konqueror@gmx.de>
5743 * javax/swing/text/AbstractDocument.java
5744 (documentFilter): New field.
5745 (getDocumentFilter): New method.
5746 (setDocumentFilter): Likewise.
5749 2005-02-15 Michael Koch <konqueror@gmx.de>
5751 * javax/swing/JTree.java
5752 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5754 2005-02-15 Michael Koch <konqueror@gmx.de>
5756 * javax/swing/text/AbstractDocument.java
5757 (AbstractElement.getLength): Fixed off-by-one error.
5758 (AbstractElement.children): Made abstract.
5759 (AbstractElement.getAllowsChildren): Likewise.
5760 (AbstractElement.getElement): Likewise.
5761 (AbstractElement.dumpElement): New private method.
5762 (AbstractElement.dump): New method.
5763 (BranchElememt.getName): Fixed implementation.
5764 (BranchElememt.toString): Likewise.
5765 (BranchElememt.getElement): Fixed arguments.
5766 (LeafElement.getName): Fixed implementation.
5767 (LeafElement.toString): Likewise.
5768 * javax/swing/text/GapContent.java
5769 (GapContent): Put default content into buffer.
5770 * javax/swing/text/PlainDocument.java
5771 (reindex): Use empty attribute sets instead of null.
5772 (createDefaultRoot): Reimplemented.
5773 (insertUpdate): Call super method.
5774 (removeUpdate): Likewise.
5775 (getParagraphElement): Implemented.
5777 2005-02-15 Michael Koch <konqueror@gmx.de>
5779 * gnu/java/awt/ClasspathToolkit.java
5780 (createRobot): Throws java.awt.AWTException.
5781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5782 Added '__attribute__((unused))' to all unused method arguments.
5784 2005-02-15 Michael Koch <konqueror@gmx.de>
5786 * javax/swing/DefaultBoundedRangeModel.java
5787 (fireValueChanged): Fixed off-by-one error.
5789 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5791 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5792 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5794 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5795 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5796 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5797 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5798 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5799 (getDefaultScreenDevice): Implement.
5800 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5801 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5802 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5803 * java/awt/Robot.java: Implement.
5804 * java/awt/peer/RobotPeer.java: Rename parameters.
5805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5807 (awt_keycode_to_keysym): Make non-static.
5808 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5809 AWT_BUTTON3_MASK): Declare constants.
5810 (awt_keycode_to_keysym): Declare.
5812 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5813 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5814 and is non-empty pass its value to "make check".
5815 (test_mauve_sim): Likewise.
5817 2005-02-15 Michael Koch <konqueror@gmx.de>
5819 * javax/imageio/IIOParam.java
5820 (setSourceBands): New method.
5821 (setSourceSubsampling): Likewise.
5822 * javax/imageio/ImageReadParam.java
5823 (setDestination): Likewise.
5824 (setDestinationBands): Likewise.
5825 (setSourceProgressivePasses): Likewise.
5826 * javax/imageio/metadata/IIOInvalidTreeException.java
5827 (serialVersionUID): New static field.
5828 * javax/imageio/metadata/IIOMetadataNode.java
5829 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5830 (parent): Dont initailize with default value explicitely.
5832 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5833 (removeAttributeNode): Likewise.
5834 (removeAttributeNS): Likewise.
5835 (setAttribute): Likewise.
5836 (setAttributeNode): Likewise.
5837 (setAttributeNodeNS): Likewise.
5838 (setAttributeNS): Likewise.
5839 (appendChild): Likewise.
5840 (getNodeValue): Likewise.
5841 (insertBefore): Likewise.
5842 (removeChild): Likewise.
5843 (replaceChild): Likewise.
5844 (setPrefix): Likewise.
5846 2005-02-15 Michael Koch <konqueror@gmx.de>
5848 * javax/swing/LookAndFeel.java
5849 (getDesktopPropertyValue): New method.
5851 2005-02-15 Michael Koch <konqueror@gmx.de>
5853 * javax/swing/JTree.java
5854 (hasChildren): New instance field.
5856 2005-02-15 Michael Koch <konqueror@gmx.de>
5858 * javax/swing/JComponent.java
5859 (getToolTipText): New method.
5860 (getTitledBorderText): Likewise.
5861 (getAccessibleKeyBinding): Likewise.
5862 (getVerifyInputWhenFocusTarget): Likewise.
5863 (setVerifyInputWhenFocusTarget): Likewise.
5864 (verifyInputWhenFocusTarget): New instance field.
5866 2005-02-15 Michael Koch <konqueror@gmx.de>
5868 * javax/swing/DefaultListSelectionModel.java
5869 (fireValueChanged): New method.
5871 2005-02-15 Michael Koch <konqueror@gmx.de>
5873 * javax/swing/DefaultBoundedRangeModel.java:
5874 Fixed javadocs all over.
5875 (fireStateChanged): Simplified.
5876 * javax/swing/BoundedRangeModel.java:
5879 2005-02-15 Michael Koch <konqueror@gmx.de>
5881 * javax/swing/JRootPane.java
5882 (setMenuBar): Added @deprecated tag.
5883 (getMenuBar): Likewise.
5884 * javax/swing/JTable.java
5885 (sizeColumnsToFit): Likewise.
5887 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5889 * javax/swing/ImageIcon.java (setImage): Implemented.
5891 2005-02-15 Michael Koch <konqueror@gmx.de>
5893 * javax/swing/JTable.java:
5894 Removed unused imports.
5896 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5898 (prepareRenderer): Get column's index in dataModel instead
5899 of column's view index.
5900 (getColumnCount): return count of the columns in ColumnModel,
5902 (removeColumn): Implemented.
5903 (moveColumm): Likewise.
5904 (setRowHeight): throw IllegalArgumentException if height is
5906 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5907 (DefaultTableColumnModel):Add call to createSelectionModel().
5908 (addColumn): Fire columnAdded event to registered listeners.
5909 (removeColumn): Fire columnRemoved event to registered listeners.
5910 (moveColumn): Fire columnMoved event to registered listeners.
5911 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5912 (getColumnIndex): Changed parameter name.
5913 (setColumnSelectionAllowed): Likewise.
5914 (fireColumnAdded): Implemented.
5915 (fireColumnRemoved): Likewise.
5916 (fireColumnMoved): Likewise.
5917 (fireColumnMarginChanged): Likewise.
5918 (getListeners): Changed parameter name.
5919 (propertyChange): Implemented.
5920 (valueChanged): Changed parameter name.
5921 (createSelectionModel): Implemented.
5923 2005-02-15 Michael Koch <konqueror@gmx.de>
5925 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5926 Explicitely import used classes.
5927 (getLocalGraphicsEnvironment): Simplify.
5928 * java/awt/Window.java (Window):
5929 Enable code to get the default GraphicsConfiguration.
5931 2005-02-15 Michael Koch <konqueror@gmx.de>
5933 * javax/swing/plaf/metal/DefaultMetalTheme.java
5934 (CONTROL_TEXT_FONT): New static field.
5935 (MENU_TEXT_FONT): Likewise.
5936 (SUB_TEXT_FONT): Likewise.
5937 (SYSTEM_TEXT_FONT): Likewise.
5938 (USER_TEXT_FONT): Likewise.
5939 (WINDOW_TITLE_FONT): Likewise.
5940 (getControlTextFont): New method.
5941 (getMenuTextFont): Likewise.
5942 (getSubTextFont): Likewise.
5943 (getSystemTextFont): Likewise.
5944 (getUserTextFont): Likewise.
5945 (getWindowTitleFont): Likewise.
5946 * javax/swing/plaf/metal/MetalTheme.java
5947 (BLACK): Initialize with Color.BLACK.
5948 (WHITE): Initialize with Color.WHITE.
5949 (getInactiveControlTextColor): Return getControlDisabled().
5950 (getMenuDisabledForeground): Return getSecondary3().
5951 (getControlTextFont): New abstract method.
5952 (getMenuTextFont): Likewise.
5953 (getSubTextFont): Likewise.
5954 (getSystemTextFont): Likewise.
5955 (getUserTextFont): Likewise.
5956 (getWindowTitleFont): Likewise.
5958 2005-02-15 Michael Koch <konqueror@gmx.de>
5960 * javax/swing/JFormattedTextField.java
5961 (getFocusLostBehavior): Fixed typo in method name.
5962 (setFocusLostBehavior): Likewise.
5964 2005-02-15 Michael Koch <konqueror@gmx.de>
5966 * javax/swing/TransferHandler.java:
5967 Reworked import statements.
5969 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5971 * java/awt/Button.java,
5972 java/awt/Canvas.java,
5973 java/awt/Checkbox.java,
5974 java/awt/CheckboxMenuItem.java,
5975 java/awt/Choice.java,
5976 java/awt/Dialog.java,
5977 java/awt/Frame.java,
5978 java/awt/Label.java,
5981 java/awt/MenuBar.java,
5982 java/awt/MenuItem.java,
5983 java/awt/PopupMenu.java,
5984 java/awt/ScrollPane.java,
5985 java/awt/Scrollbar.java,
5986 java/awt/TextArea.java,
5987 java/awt/Window.java (getAccessibleContext): Clean up comments.
5989 * java/awt/Button.java,
5990 java/awt/Checkbox.java,
5991 java/awt/Choice.java,
5993 java/awt/PopupMenu.java,
5994 java/awt/TextArea.java (getAccessibleContext): Only create new
5996 * java/awt/TextComponent.java (getAccessibleContext): Implement.
5998 2005-02-15 Michael Koch <konqueror@gmx.de>
6000 * java/awt/Button.java,
6001 javax/swing/JApplet.java,
6002 javax/swing/JFormattedTextField.java,
6003 javax/swing/JWindow.java,
6004 javax/swing/JTree.java,
6005 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6006 javax/swing/plaf/basic/BasicTextPaneUI.java,
6007 javax/swing/plaf/basic/BasicTreeUI.java:
6008 Reworked import statements.
6010 2005-02-15 Michael Koch <konqueror@gmx.de>
6012 * Makefile.am: Put javax.imageio into its own library and link it
6013 against lib-org-w3c-dom.la to fix bootstrapping.
6014 * Makefile.in: Regenerated.
6016 2005-02-15 Michael Koch <konqueror@gmx.de>
6018 * javax/swing/text/TextAction.java
6019 (getTextComponent): Simplified. Added Javadoc.
6020 (augmentList): Implemented. Added Javadoc.
6021 (getFocusedComponent): Added javadoc.
6023 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6025 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6026 getAccessibleContext): Implement.
6027 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6028 getAccessibleContext): Implement.
6030 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6032 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6034 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6036 * java/awt/Window.java (getAccessibleContext): Fix comment.
6037 Remove extra import.
6039 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6041 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6042 (isActive, isFocused, getAccessibleContext): Implement.
6044 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6046 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6047 * java/awt/MenuComponent.java (accessibleContext): Make package
6049 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6050 AccessibleAWTCheckboxMenuItem): Implement.
6052 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6054 * java/awt/List.java: Implement AccessibleAWTList,
6055 AccessibleAWTListChild.
6057 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6059 * java/awt/Choice.java: Add implements declaration for
6062 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6064 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6067 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6069 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6070 implemented interface list.
6072 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6074 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6075 * javax/imageio/metadata/IIOAttr.java: New class.
6076 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6077 * javax/imageio/metadata/IIONodeList.java: New class.
6078 * Makefile.am: Added new files.
6079 * Makefile.in: Regenerated.
6081 2005-02-15 Michael Koch <konqueror@gmx.de>
6083 * javax/swing/AbstractAction.java,
6084 javax/swing/AbstractCellEditor.java,
6085 javax/swing/AbstractListModel.java,
6086 javax/swing/DefaultBoundedRangeModel.java,
6087 javax/swing/DefaultButtonModel.java,
6088 javax/swing/DefaultCellEditor.java,
6089 javax/swing/DefaultComboBoxModel.java,
6090 javax/swing/DefaultDesktopManager.java,
6091 javax/swing/JMenu.java,
6092 javax/swing/JSlider.java,
6093 javax/swing/KeyStroke.java,
6094 javax/swing/OverlayLayout.java,
6095 javax/swing/ScrollPaneLayout.java,
6096 javax/swing/SizeRequirements.java,
6097 javax/swing/ViewportLayout.java:
6098 Made serialVersionUID private.
6100 2005-02-15 Michael Koch <konqueror@gmx.de>
6102 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6105 2005-02-15 Michael Koch <konqueror@gmx.de>
6107 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6109 2005-02-15 Michael Koch <konqueror@gmx.de>
6111 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6113 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6115 * java/awt/EventDispatchThread.java,
6116 java/awt/Toolkit.java:
6117 Don't catch java.lang.ThreadDeath.
6119 2005-02-15 Michael Koch <konqueror@gmx.de>
6121 * javax/swing/text/PasswordView.java
6122 (drawEchoCharacter): Added javadoc.
6123 (drawSelectedText): Likewise.
6124 (drawUnselectedText): Likewise.
6126 2005-02-15 Michael Koch <konqueror@gmx.de>
6128 * javax/swing/JRootPane.java
6129 (windowDecorationStyle): New field.
6130 (setMenuBar): New method.
6131 (getMenuBar): Likewise.
6132 (getWindowDecorationStyle): Likewise.
6133 (setWindowDecorationStyle): Likewise.
6135 2005-02-15 Michael Koch <konqueror@gmx.de>
6137 * javax/swing/DefaultListSelectionModel.java
6138 (leadAnchorNotificationEnabled): Made protected.
6140 2005-02-15 Michael Koch <konqueror@gmx.de>
6142 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6143 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6144 * Makefile.in: Regenerated.
6147 2005-02-15 Michael Koch <konqueror@gmx.de>
6149 * javax/swing/JFormattedTextField.java: Implemented.
6150 * javax/swing/JWindow.java
6151 (JWindow): New constructors.
6152 (initWindow): Renamed from initFrame.
6153 * javax/swing/UIDefaults.java
6154 (ActiveValue): Made interface static.
6155 (LazyValue): Likewise.
6156 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6157 (TitlePaneLayout.TitlePaneLayout): New constructor.
6158 * javax/swing/plaf/basic/BasicSliderUI.java
6159 (ChangeHandler): Made public.
6160 (FocusHandler): Likewise.
6161 (PropertyChangeHandler): Likewise.
6162 (ScrollListener): Likewise.
6163 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6164 (FocusHandler): Likewise.
6165 (MouseHandler): Likewise.
6166 * javax/swing/plaf/basic/BasicTextPaneUI.java
6167 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6168 * javax/swing/plaf/basic/BasicToolBarUI.java
6169 (BasicToolBarUI): Simplified. Reworked javadoc.
6170 (canDock): Simplified. Make public.
6171 (DockingListener): Made public.
6172 * javax/swing/text/JTextComponent.java
6173 (navigationFilter): New field.
6174 (getNavigationFilter): New method.
6175 (setNavigationFilter): Likewise.
6177 2005-02-15 Michael Koch <konqueror@gmx.de>
6179 * javax/swing/plaf/metal/MetalTheme.java
6180 (getControlTextColor): Return getControlInfo().
6181 (getHighlightedTextColor): Return getControlTextColor().
6183 2005-02-15 Michael Koch <konqueror@gmx.de>
6185 * javax/swing/plaf/basic/BasicButtonListener.java
6186 (BasicButtonListener): New constructor.
6187 * javax/swing/plaf/basic/BasicButtonUI.java
6188 (createButtonListener): Usw new BasicButtonListener constructor.
6190 2005-02-15 Michael Koch <konqueror@gmx.de>
6192 * javax/imageio/event/package.html,
6193 javax/imageio/metadata/package.html: New files.
6195 2005-02-15 Michael Koch <konqueror@gmx.de>
6197 * java/awt/image/MemoryImageSource.java: Reformatted.
6199 2005-02-15 Michael Koch <konqueror@gmx.de>
6201 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6203 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6205 * java/awt/color/ICC_Profile.java
6206 (finalize): Removed pointless field assignments.
6208 2005-02-15 Michael Koch <konqueror@gmx.de>
6210 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6211 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6212 * Makefile.in: Regenerated.
6214 2005-02-15 Michael Koch <konqueror@gmx.de>
6216 * javax/swing/text/DefaultStyledDocument.java: New file.
6217 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6218 * Makefile.in: Regenerated.
6220 2005-02-15 Michael Koch <konqueror@gmx.de>
6222 * javax/swing/JFileChooser.java
6223 (showDialog): Return CANCEL_OPTION for now.
6224 (showOpenDialog): Likewise.
6225 (showSaveDialog): Likewise.
6227 2005-02-15 Michael Koch <konqueror@gmx.de>
6229 * javax/swing/JApplet.java
6230 (HIDE_ON_CLOSE): Removed.
6231 (EXIT_ON_CLOSE): Likewise.
6232 (DISPOSE_ON_CLOSE): Likewise.
6233 (DO_NOTHING_ON_CLOSE): Likewise.
6234 (close_action): Likewise.
6235 (getDefaultCloseOperation): Likewise.
6236 (setDefaultCloseOperation): Likewise.
6237 (processWindowEvent): Likewise.
6238 (getPreferredSize): Simplified.
6239 * javax/swing/JInternalFrame.java
6240 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6242 * javax/swing/JWindow.java
6243 (HIDE_ON_CLOSE): Removed.
6244 (EXIT_ON_CLOSE): Likewise.
6245 (DISPOSE_ON_CLOSE): Likewise.
6246 (DO_NOTHING_ON_CLOSE): Likewise.
6247 (close_action): Likewise.
6248 (processKeyEvent): Likewise.
6249 (setDefaultCloseOperation): Likewise.
6250 (getPreferredSize): Simplified.
6252 2005-02-15 Michael Koch <konqueror@gmx.de>
6254 * javax/swing/JTextField.java
6255 (getPreferredSize): Re-implemented.
6257 2005-02-15 Michael Koch <konqueror@gmx.de>
6259 * javax/swing/JLabel.java
6260 (setDisplayedMnemonic): Use only upper case characters.
6261 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6262 PropertyChangeEvent after property got set to the new index.
6264 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6266 * javax/swing/JComboBox.java:
6267 (JComboBox): Removed selection of the
6268 first item in the model.
6270 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6272 * javax/swing/JComboBox.java
6273 added support for no item being selected
6274 (JComboBox): select first or nothing depending on element count
6275 (setModel): cleaned up unneeded "this." usage, added more
6276 docs, made exception behavior match that of the JDK
6277 (setLighWeightPopupEnabled): removed unneeded "this." usage
6279 (setMaximumRowCount): dito
6281 (setPrototypeDisplayValue): dito
6282 (getSelectedItem): simplified, added more user doc
6283 (setSelectedIndex): corrected exception behavior, added more user doc
6284 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6285 added performance warning to user doc
6286 (addItem): fixed exception behavior, added user doc
6287 (insertItemAt): dito
6289 (removeItemAt): dito
6290 (removeAll): fixed exception behavior, added user doc, added support
6291 for model not being instance of DefaultComboBoxModel
6292 (getSelectedItemObjects): simplified
6293 (getItemCount): fixed dependency on DefaultComboBoxModel
6294 (getItemAt): fixed dependency on MutableComboBoxModel
6295 * javax/swing/DefaultComboBoxModel.java:
6296 (setSelectedItem): updates selected item only if new
6297 value is null or known (match JDK behavior)
6298 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6299 (paintCurrentValue): renders "" if no item is selected
6301 2005-02-15 Michael Koch <konqueror@gmx.de>
6303 * javax/swing/plaf/metal/MetalTheme.java,
6304 javax/swing/plaf/metal/DefaultMetalTheme.java:
6306 * javax/swing/plaf/metal/MetalLookAndFeel.java
6307 * Makefile.am: Added the new files.
6308 * Makefile.in: Regenerated.
6310 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6312 * javax/swing/JTable.java
6313 (editorComp): New field.
6314 (JTable): Initialize local variables and call updateUI
6315 (selectionBackground): Make protected.
6316 (selectionForeground): Likewise.
6317 (initializeLocalVars): Create default editors and renderers,
6318 initialize editingColumn, editingRow variables.
6319 (createDefaultEditors): New Method.
6320 (createDefaultRenderers): Likewise.
6321 (createDefaultListSelectionModel): Removed
6322 (createDefaultSelectionModel): New Method.
6323 (createDefaultTableHeader): Likewise
6324 (removeColumn): Likewise.
6325 (getEditingColumn): Likewise.
6326 (setEditingColumn): Likewise.
6327 (getEditingRow): Likewise.
6328 (setEditingRow): Likewise.
6329 (getEditorComponent): Likewise.
6330 (isEditing): Likewise.
6331 (setDefaultEditor): Likewise.
6332 (addColumnSelectionInterval): Likewise.
6333 (addRowSelectionInterval): Likewise.
6334 (setColumnSelectionInterval): Likewise.
6335 (setRowSelectionInterval): Likewise.
6336 (removeColumnSelectionInterval): Likewise.
6337 (removeRowSelectionInterval): Likewise.
6338 (isColumnSelected): Likewise.
6339 (isRowSelected): Likewise.
6340 (isCellSelected): Likewise.
6341 (selectAll): Likewise.
6343 2005-02-15 Michael Koch <konqueror@gmx.de>
6345 * javax/swing/JTable.java
6346 (addColumn): New method.
6347 (getColumnClass): Likewise.
6348 (getColumnName): Likewise.
6350 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6352 * javax/swing/TransferHandler.java
6353 (createTransferable): Made protected.
6355 2005-02-15 Michael Koch <konqueror@gmx.de>
6357 * javax/swing/JTable.java,
6358 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6359 javax/swing/plaf/basic/BasicTableUI.java:
6360 Use fixed get/setIntercellSpacing() methods.
6362 2005-02-15 Michael Koch <konqueror@gmx.de>
6364 * javax/swing/JTable.java
6365 (getIntercellSpacing): Fixed typo in method name.
6366 (setIntercellSpacing): Likewise.
6368 2005-02-15 Michael Koch <konqueror@gmx.de>
6370 * javax/swing/text/JTextComponent.java
6371 (focusAccelerator): New variable.
6372 (getFocusAccelerator): New method.
6373 (setFocusAccelerator): Likewise.
6375 2005-02-15 Michael Koch <konqueror@gmx.de>
6377 * javax/swing/JComponent.java
6378 (setTransferHandler): Made public. Fire property change event.
6379 * javax/swing/TransferHandler.java: Implemented.
6380 * javax/swing/text/JTextComponent.java
6381 (DefaultTransferHandler): New inner class.
6382 (defaultTransferHandler): New variable.
6386 (doTransferAction): Likewise.
6388 2005-02-15 Michael Koch <konqueror@gmx.de>
6390 * javax/swing/JTree.java
6391 (collapsePath): New method.
6392 (collapseRow): Likewise.
6393 (expandPath): Likewise.
6394 (expandRow): Likewise.
6395 (checkExpandParents): Likewise.
6396 (doExpandParents): Likewise.
6397 (setExpandedState): Likewise.
6398 (makeVisible): Likewise.
6400 2005-02-15 Michael Koch <konqueror@gmx.de>
6402 * javax/swing/JPasswordField.java: Updated javadocs.
6404 2005-02-15 Michael Koch <konqueror@gmx.de>
6406 * javax/swing/JLayeredPane.java
6407 (getLayer): Fixed return type, made public.
6408 (getPosition): Use new getLayer().
6409 (SetPosition): Likewise.
6410 (getIndexOf): Likewise.
6412 * javax/swing/JInternalFrame.java
6413 (getLayer): Use new JLayeredPane.getLayer().
6416 2005-02-15 Michael Koch <konqueror@gmx.de>
6418 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6419 (setHeaderValue): Simplified. Do nothing when old value == new value.
6421 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6423 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6424 against null clip region.
6425 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6426 gtkWindowSetResizable.
6427 (postConfigureEvent): Only revalidate if frame size has changed.
6428 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6429 Only revalidate if frame size has changed.
6430 * java/awt/Component.java (reshape): Only repaint and post
6431 component events if component is showing.
6432 * java/awt/Container.java (addImpl): Only post container event if
6433 container is showing.
6435 * java/awt/Window.java (setLocationRelativeTo): Implement.
6436 (setBoundsCallback): Only post component events if component is
6438 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6439 Protect against null graphics structure. Flush gdk event queue.
6441 2005-02-15 Michael Koch <konqueror@gmx.de>
6443 * javax/imageio/ImageReader.java,
6444 javax/imageio/ImageTranscoder.java,
6445 javax/imageio/ImageWriter.java,
6446 javax/imageio/spi/ImageInputStreamSpi.java,
6447 javax/imageio/spi/ImageOutputStreamSpi.java,
6448 javax/imageio/spi/ServiceRegistry.java,
6449 javax/imageio/stream/ImageInputStream.java,
6450 javax/imageio/stream/ImageOutputStream.java: Updated.
6451 * javax/imageio/IIOException.java,
6452 javax/imageio/IIOImage.java,
6453 javax/imageio/IIOParam.java,
6454 javax/imageio/IIOParamController.java,
6455 javax/imageio/ImageIO.java,
6456 javax/imageio/ImageReadParam.java,
6457 javax/imageio/ImageTypeSpecifier.java,
6458 javax/imageio/ImageWriteParam.java,
6459 javax/imageio/spi/IIORegistry.java,
6460 javax/imageio/spi/ImageReaderSpi.java,
6461 javax/imageio/spi/ImageWriterSpi.java,
6462 javax/imageio/stream/FileCacheImageInputStream.java,
6463 javax/imageio/stream/FileCacheImageOutputStream.java,
6464 javax/imageio/stream/FileImageInputStream.java,
6465 javax/imageio/stream/FileImageOutputStream.java,
6466 javax/imageio/stream/ImageInputStreamImpl.java,
6467 javax/imageio/stream/ImageOutputStreamImpl.java,
6468 javax/imageio/stream/MemoryCacheImageInputStream.java,
6469 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6470 javax/imageio/event/IIOReadProgressListener.java,
6471 javax/imageio/event/IIOReadUpdateListener.java,
6472 javax/imageio/event/IIOReadWarningListener.java,
6473 javax/imageio/event/IIOWriteProgressListener.java,
6474 javax/imageio/event/IIOWriteWarningListener.java,
6475 javax/imageio/metadata/IIOMetadata.java,
6476 javax/imageio/metadata/IIOMetadataController.java,
6477 javax/imageio/metadata/IIOMetadataFormat.java,
6478 javax/imageio/metadata/IIOInvalidTreeException.java,
6479 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6480 javax/imageio/metadata/IIOMetadataNode.java: New files.
6481 * Makefile.am (javax_source_files): Added new files
6482 * Makefile.in: Regenerated.
6484 2005-02-15 Graydon Hoare <graydon@redhat.com>
6486 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6487 Rework painting into BufferedImages
6488 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6489 Construct BufferedImage with alpha only when alpha is
6490 present in colormodel.
6491 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6492 Rework painting into client-side jint arrays.
6493 * jni/gtk-peer/gtkcairopeer.h:
6496 2005-02-15 Michael Koch <konqueror@gmx.de>
6498 * javax/swing/DefaultListCellRenderer.java
6499 (serialVersionUID): Made private.
6500 (getListCellRendererComponent): Set horizontal alignment.
6501 * javax/swing/JLabel.java
6502 (setVerticalAlignment): Re-implemented.
6503 (setHorizontalAlignment): Do nothing if old value = new value.
6504 * javax/swing/JList.java
6505 (setCellRenderer): Likewise.
6506 (setModel): Re-implemented.
6507 (setSelectionModel): Likewise.
6509 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6511 * java/awt/Component.java,
6512 java/awt/geom/Rectangle2D.java:
6515 2005-02-15 Michael Koch <konqueror@gmx.de>
6517 * javax/swing/AbstractListModel.java
6518 (fireContentsChanged): Simplified.
6519 (fireIntervalAdded): Likewise.
6520 (fireIntervalRemoved): Likewise.
6521 * javax/swing/DefaultSingleSelectionModel.java:
6523 (fireStateChanged): Simplified.
6524 * javax/swing/JPopupMenu.java
6525 (setSelectionModel): Set property.
6527 2005-02-15 Michael Koch <konqueror@gmx.de>
6529 * java/awt/print/Book.java: Reformatted.
6531 2005-02-15 Michael Koch <konqueror@gmx.de>
6533 * java/awt/geom/Area.java
6534 (QuadSegment.curveArea): Remove unused variables.
6535 (CubicSegment.curveArea): Likewise.
6537 2005-02-15 Michael Koch <konqueror@gmx.de>
6539 * javax/swing/JTree.java
6540 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6541 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6542 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6543 (EXPANDED): New constant.
6544 (COLLAPSED): Likewise.
6545 (nodeStates): New field.
6546 (cellEditor): New method.
6547 (cellRenderer): Likewise.
6548 (selectionModel): Likewise.
6549 (treeModel): Likewise.
6550 (scrollPathToVisible): Likewise.
6551 (scrollRowToVisible): Likewise.
6552 (isCollapsed): Likewise.
6553 (isExpanded): Likewise.
6554 (clearToggledPaths): Likewise.
6555 (getDescendantToggledPaths): Likewise.
6556 (hasBeenExpanded): Likewise.
6557 (isVisible): Likewise.
6558 (isPathEditable): Likewise.
6560 2005-02-15 Michael Koch <konqueror@gmx.de>
6562 * javax/swing/JLayeredPane.java: Reformatted.
6564 2005-02-15 Michael Koch <konqueror@gmx.de>
6566 * javax/swing/tree/DefaultMutableTreeNode.java:
6568 * javax/swing/tree/MutableTreeNode.java:
6571 2005-02-15 Michael Koch <konqueror@gmx.de>
6573 * javax/swing/JFormattedTextField.java
6574 (setDocument): Call setDocument of super class. Don't fire property
6577 2005-02-15 Sven de Marothy <sven@physto.se>
6579 * java/awt/image/IndexColorModel.java:
6580 Add FIXME with respect to alpha handling.
6581 (getAlpha): Default to returning opaque pixels.
6582 * java/awt/image/MultiPixelPackedSampleModel.java
6583 (MultiPixelPackedSampleModel): Corrected parameters, order of
6584 bit shifts and masks, stride length off by one.
6586 2005-02-15 Michael Koch <konqueror@gmx.de>
6588 * javax/swing/JList.java, javax/swing/JTree.java:
6589 Added much new methods and fixed much methods setting bound properties.
6591 2005-02-16 Mark Wielaard <mark@klomp.org>
6593 * Makefile.am (gnu_xml_source_files): Removed
6594 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6595 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6596 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6597 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6598 gnu/xml/dom/DomDocumentFragment.java,
6599 gnu/xml/dom/DomProcessingInstruction.java and
6600 gnu/xml/dom/ls/DomLSException.java.
6601 * Makefile.in: Regenerated.
6603 2005-02-16 Tom Tromey <tromey@redhat.com>
6605 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6606 attribute index is out of bounds.
6608 2005-02-16 Chris Burdess <dog@gnu.org>
6610 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6611 isDeclared methods. Improved performance of isSpecified methods.
6613 2005-02-16 Chris Burdess <dog@gnu.org>
6615 Fixes bug libgcj/19864
6616 * gnu/xml/dom/DomAttr.java,
6617 gnu/xml/dom/DomCDATA.java,
6618 gnu/xml/dom/DomCDATASection.java,
6619 gnu/xml/dom/DomCharacterData.java,
6620 gnu/xml/dom/DomDOMException.java,
6621 gnu/xml/dom/DomDoctype.java,
6622 gnu/xml/dom/DomDocument.java,
6623 gnu/xml/dom/DomDocumentConfiguration.java,
6624 gnu/xml/dom/DomDocumentFragment.java,
6625 gnu/xml/dom/DomElement.java,
6626 gnu/xml/dom/DomEx.java,
6627 gnu/xml/dom/DomFragment.java,
6628 gnu/xml/dom/DomImpl.java,
6629 gnu/xml/dom/DomIterator.java,
6630 gnu/xml/dom/DomNamedNodeMap.java,
6631 gnu/xml/dom/DomNode.java,
6632 gnu/xml/dom/DomNsNode.java,
6633 gnu/xml/dom/DomPI.java,
6634 gnu/xml/dom/DomProcessingInstruction.java,
6635 gnu/xml/dom/DomText.java,
6636 gnu/xml/dom/DomLSEx.java,
6637 gnu/xml/dom/DomLSException.java,
6638 gnu/xml/dom/DomLSParser.java,
6639 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6640 implementation class names to conform to Classpath guidelines. Make
6641 DomLSException use JDK 1.4+ exception chaining.
6642 * gnu/xml/util/SAXNullTransformerFactory.java,
6643 gnu/xml/xpath/Predicate.java: Use constants relative to
6644 declaring class or interface.
6646 2005-02-16 Andrew Haley <aph@redhat.com>
6648 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6649 null, create a new AccessControlContext.
6650 * java/security/SecureClassLoader.java (protectionDomainCache):
6652 (defineClass): Create a new protection domain and add it to our
6655 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6656 addStub() to keep track of the stub we've exported.
6657 (unexportObject): Call deleteStub().
6658 * java/rmi/server/RemoteObject.java (stubs): New field.
6659 (addStub): New method.
6660 (deleteStub): New method.
6663 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6664 true to findHelper (tryParents).
6665 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6667 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6668 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6670 If tryParents is false, don't scan parent class loaders.
6672 * java/security/Permissions.java (PermissionsHash.implies):
6673 Iterate over the collection and invoke implies() on each
6676 2005-02-16 Andrew Haley <aph@redhat.com>
6678 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6680 (PersistentByteMap): Set name
6681 Magic number changed to 0x67636a64 ("gcjd").
6682 (init): Force the map to be prime.
6683 (emptyPersistentByteMap): File name was a string, now a File.
6684 (addBytes): Share srings between entries.
6685 (stringTableSize): New method.
6686 (capacity): Scale by load factor.
6687 (force): New method.
6688 (getFile): New method.
6689 (close): New method.
6690 (putAll): New method.
6691 (ByteWrapper): New class.
6692 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6693 (main): Guess the average string size as 32, not 64.
6694 Copy a database before modifying it, so that we can update a
6695 database in a running system.
6696 If a database isn't big enough, resize it.
6697 "-m": new option: merges databases.
6698 "-a": Create a new detabase if it doesn't exist.
6699 (usage): Correct, add new option.
6700 (addJar): Copy a database before modifying it.
6701 (resizeMap): New method.
6703 2005-02-15 David Daney <ddaney@avtrex.com>
6704 Bryce McKinlay <mckinlay@redhat.com>
6706 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6707 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6708 ensure that GC threads inherit the new signal mask.
6709 (block_sigchld): Call JvFail rather than throwing exception if
6710 pthread_sigmask() fails.
6712 2005-02-15 Mark Wielaard <mark@klomp.org>
6714 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6715 file path elements are separated by spaces.
6717 2005-02-15 Mark Wielaard <mark@klomp.org>
6719 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6720 to describe attributes without a constant field value in this class.
6722 2005-02-15 Michael Koch <konqueror@gmx.de>
6724 * java/util/jar/Attributes.java
6725 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6727 2005-02-15 Mark Wielaard <mark@klomp.org>
6729 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6730 space for parsing CLASS_PATH attribute.
6732 2005-02-15 Mark Wielaard <mark@klomp.org>
6734 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6735 aside for "GCJLIBS" in directory where jarfiles are loaded.
6736 (JarURLLoader.getClass): Removed method.
6737 (JarURLLoader.toString): Removed method.
6738 (FileResource.toString): Removed method.
6740 2005-02-15 Mark Wielaard <mark@klomp.org>
6742 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6743 and/or cause before throwing.
6745 2005-02-15 Richard Henderson <rth@redhat.com>
6747 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6748 (libgcj0_convenience_la_SOURCES): ... here.
6749 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6750 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6751 * Makefile.in: Regenerate.
6753 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6756 * include/jawt.h: Likewise.
6757 * include/jawt_md.h: Likewise.
6758 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6760 * include/Makefile.in: Regenerate.
6761 * jni/classpath/classpath_jawt.h: Likewise.
6762 * jni/gtk-peer/gtk_jawt.c: Likewise.
6763 * Makefile.am: Build libjawt.so.
6764 * Makefile.in: Regenerate.
6766 2005-02-14 Tom Tromey <tromey@redhat.com>
6768 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6770 2005-02-14 Tom Tromey <tromey@redhat.com>
6772 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6773 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6775 2005-02-14 Tom Tromey <tromey@redhat.com>
6778 * testsuite/libjava.lang/PR19929.out: New file.
6779 * testsuite/libjava.lang/PR19929.java: New file.
6781 2005-02-14 Anthony Green <green@redhat.com>
6784 * testsuite/libjava.jni/PR18116.c: New file.
6785 * testsuite/libjava.jni/PR18116.java: New file.
6786 * testsuite/libjava.jni/PR18116.out: New file.
6788 2005-02-13 Anthony Green <green@redhat.com>
6791 * jni.cc (nathash_add): Don't strdup the method signature.
6792 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6796 2005-02-12 Mark Wielaard <mark@klomp.org>
6798 Fixes bug libgcj/8170
6799 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6800 ClassNotFoundException.
6801 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6802 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6803 (remove_internal): New field superceding remove_interpreter.
6804 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6805 Remove no-class methods starting with "_Jv_". And Replace null
6806 class or method names with the empty string. Stop at either the
6807 MainThread or a real Thread run() method.
6808 (newElement): Made static.
6809 * java/net/URLClassLoader.java (findClass): Throw
6810 ClassNotFoundExceptions including urls, plus parent using toString().
6811 (thisString): New field.
6812 (toString): New method.
6814 2005-02-10 Tom Tromey <tromey@redhat.com>
6816 * external/sax/Makefile.in: Rebuilt.
6817 * external/sax/Makefile.am (all-local): Removed.
6818 (BUILT_SOURCES): New variable.
6819 (mostlyclean-local): No error if no classes to delete.
6820 * external/w3c_dom/Makefile.in: Rebuilt.
6821 * external/w3c_dom/Makefile.am (all-local): Removed.
6822 (BUILT_SOURCES): New variable.
6823 (mostlyclean-local): No error if no classes to delete.
6825 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6827 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6828 of mauve and libjava.
6830 2005-02-09 Tom Tromey <tromey@redhat.com>
6832 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6833 jar file with OPEN_DELETE.
6834 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6835 OPEN_DELETE is used.
6837 2005-02-09 Tom Tromey <tromey@redhat.com>
6839 * java/util/zip/InflaterInputStream.java (markSupported):
6841 (mark, reset): Likewise.
6843 2005-02-08 Tom Tromey <tromey@redhat.com>
6845 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6846 name or port is missing.
6847 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6848 AUTHORITY_PORT_GROUP): Updated.
6850 2005-02-08 Tom Tromey <tromey@redhat.com>
6852 * configure: Rebuilt.
6853 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6856 2005-02-07 Tom Tromey <tromey@redhat.com>
6858 * java/lang/natRuntime.cc (insertSystemProperties): Set
6859 sun.boot.class.path earlier.
6861 2005-02-07 Tom Tromey <tromey@redhat.com>
6863 * defineclass.cc (handleClassBegin): Use
6864 _Jv_RegisterInitiatingLoader.
6865 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6866 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6867 class. Use _Jv_UnregisterInitiatingLoader.
6868 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6871 2005-02-07 Mark Wielaard <mark@klomp.org>
6873 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6874 java/util/regex/Matcher.java (lookingAt): Set position when match
6876 (matches): Implemented through lookingAt().
6878 2005-02-07 Mark Wielaard <mark@klomp.org>
6880 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6881 * java/util/regex/Pattern.java (split(CharSequence,int)):
6882 Fix while empties > 0 loops.
6884 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6886 * gnu/java/nio/charset/ISO_8859_1.java,
6887 gnu/java/nio/charset/US_ASCII.java,
6888 gnu/java/nio/charset/UTF_16.java,
6889 gnu/java/nio/charset/UTF_16_LE.java,
6890 gnu/java/nio/charset/UTF_16_BE.java,
6891 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6892 and aliases according to
6893 "http://www.iana.org/assignments/character-sets",
6894 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6895 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6896 * gnu/java/nio/charset/Provider.java: Made charset lookup
6897 case-insensitive which fixes bug #11740.
6899 2005-02-07 Tom Tromey <tromey@redhat.com>
6902 * Makefile.in: Rebuilt.
6903 * Makefile.am (src.zip): New target.
6904 (install-src.zip): Likewise.
6905 (sourcesdir): New variable.
6907 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6909 * javax/imageio/metadata/IIOMetadataNode.java:
6911 * javax/imageio/metadata/IIOAttr.java,
6912 javax/imageio/metadata/IIONamedNodeMap.java,
6913 javax/imageio/metadata/IIONodeList.java:
6916 2005-02-06 Graydon Hoare <graydon@redhat.com>
6918 * gnu/java/awt/ClasspathToolkit.java
6919 (registerImageIOSpis): New method.
6920 * javax/imageio/ImageIO.java
6921 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6922 (WriterMIMETypeFilter.filter): Likewise.
6923 (ImageReaderIterator): Pass extension argument through to SPI.
6924 (getReadersByFilter): Likewise.
6925 (getWritersByFilter): Likewise.
6926 (getImageReadersByFormatName): Likewise.
6927 (getImageReadersByMIMEType): Likewise.
6928 (getImageReadersBySuffix): Likewise.
6929 (getImageWritersByFormatName): Likewise.
6930 (getImageWritersByMIMEType): Likewise.
6931 (getImageWritersBySuffix): Likewise.
6934 * javax/imageio/ImageReader.java
6935 (progressListeners): Initialize.
6936 (setInput): Implement.
6937 * javax/imageio/ImageWriter.java
6938 (progressListeners): Initialize.
6939 (warningListeners): Likewise.
6940 (warningLocales): Likewise.
6941 (setOutput): Test "isInstance" rather than class equality.
6942 * javax/imageio/spi/IIORegistry.java
6943 (static): Add reader and writer SPIs.
6944 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6946 2005-02-06 Michael Koch <konqueror@gmx.de>
6948 * javax/imageio/metadata/IIOInvalidTreeException.java
6949 (IIOInvalidTreeException): Reformatted.
6950 * javax/imageio/spi/IIORegistry.java
6951 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6952 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6953 Reworked import statements.
6955 2005-02-06 Michael Koch <konqueror@gmx.de>
6957 * javax/imageio/stream/FileImageOutputStream.java:
6960 2005-02-06 Michael Koch <konqueror@gmx.de>
6962 * javax/imageio/stream/FileCacheImageInputStream.java,
6963 javax/imageio/stream/FileCacheImageOutputStream.java,
6964 javax/imageio/stream/FileImageInputStream.java,
6965 javax/imageio/stream/ImageInputStreamImpl.java,
6966 javax/imageio/stream/ImageOutputStreamImpl.java,
6967 javax/imageio/stream/MemoryCacheImageInputStream.java,
6968 javax/imageio/stream/MemoryCacheImageOutputStream.java:
6969 Added all missing methods in javax.imageio.stream.
6971 2005-02-02 David Daney <ddaney@avtrex.com>
6973 * java/net/InetAddress.java (InetAddress): Make a private copy of
6975 * java/net/Inet4Address.java (getAddress): Return a copy of the
6977 * java/net/Inet6Address.java (Inet6Address): Use private copy of
6979 (getAddress): Return a copy of the address.
6982 2005-02-02 Tom Tromey <tromey@redhat.com>
6984 * Makefile.in: Rebuilt.
6985 * Makefile.am (classes.stamp): New target, broken out from
6987 ($(all_java_class_files)): Depend on it.
6988 (libgcj-@gcc_version@.jar): Likewise.
6989 (all-recursive): Likewise.
6990 (CLEANFILES): Include classes.stamp.
6992 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
6994 * link.cc: Include <stdio.h>
6996 2005-02-02 Tom Tromey <tromey@redhat.com>
6999 * Makefile.in: Rebuilt.
7000 * Makefile.am (ordinary_java_source_files): Added new class.
7001 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7002 Use system_instance, not instance.
7003 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7004 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7006 (system_instance): New field.
7007 (initialize): Initialize the system loader as well.
7008 (VMClassLoader): Default to LIB_CACHE.
7010 2005-02-02 Tom Tromey <tromey@redhat.com>
7012 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7013 * prims.cc: Fixed comment.
7015 2005-02-01 Tom Tromey <tromey@redhat.com>
7017 * Makefile.in: Rebuilt.
7018 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7019 (.java.class): Use BOOTCLASSPATH.
7021 2005-02-01 Tom Tromey <tromey@redhat.com>
7023 * external/w3c_dom/Makefile.am: New file.
7024 * external/w3c_dom/Makefile.in: New file.
7025 * external/sax/Makefile.am: New file.
7026 * external/sax/Makefile.in: New file.
7027 * external/Makefile.in: New file.
7028 * external/Makefile.am: New file.
7029 * external/README: New file from Classpath.
7030 * configure, aclocal.m4, Makefile.in: Rebuilt.
7031 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7032 * Makefile.am (SUBDIRS): Added external.
7033 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7034 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7035 (BOOTCLASSPATH): New variable.
7036 (AM_GCJFLAGS): Use it.
7037 (gnu_xml_source_files): New variable.
7038 (libgcj_la_SOURCES): Use it.
7039 (libgcj_la_LDADD): Include new convenience libraries.
7040 (lib_org_ietf_jgss_la_SOURCES): Removed.
7041 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7042 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7043 (lib_org_w3c_dom_la_SOURCES): Removed.
7044 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7045 (lib_org_w3c_dom_la_LIBADD): Likewise.
7046 (lib_org_xml_sax_la_SOURCES): Removed.
7047 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7048 (lib_org_xml_sax_la_LIBADD): Likewise.
7049 (all_java_source_files): Updated.
7050 (property_files): Likewise.
7051 (libgcj-@gcc_version@.jar): Include classes from external/.
7052 (javax_source_files): Updated.
7053 (ordinary_java_source_files): Updated.
7054 * javax/xml/XMLConstants.java,
7055 javax/xml/datatype/DatatypeConfigurationException.java,
7056 javax/xml/datatype/DatatypeConstants.java,
7057 javax/xml/datatype/DatatypeFactory.java,
7058 javax/xml/datatype/Duration.java,
7059 javax/xml/datatype/XMLGregorianCalendar.java,
7060 javax/xml/datatype/package.html,
7061 javax/xml/namespace/NamespaceContext.java,
7062 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7063 javax/xml/parsers/DocumentBuilder.java,
7064 javax/xml/parsers/DocumentBuilderFactory.java,
7065 javax/xml/parsers/FactoryConfigurationError.java,
7066 javax/xml/parsers/ParserConfigurationException.java,
7067 javax/xml/parsers/SAXParser.java,
7068 javax/xml/parsers/SAXParserFactory.java,
7069 javax/xml/parsers/package.html,
7070 javax/xml/transform/ErrorListener.java,
7071 javax/xml/transform/OutputKeys.java,
7072 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7073 javax/xml/transform/SourceLocator.java,
7074 javax/xml/transform/Templates.java,
7075 javax/xml/transform/Transformer.java,
7076 javax/xml/transform/TransformerConfigurationException.java,
7077 javax/xml/transform/TransformerException.java,
7078 javax/xml/transform/TransformerFactory.java,
7079 javax/xml/transform/TransformerFactoryConfigurationError.java,
7080 javax/xml/transform/URIResolver.java,
7081 javax/xml/transform/package.html,
7082 javax/xml/transform/dom/DOMLocator.java,
7083 javax/xml/transform/dom/DOMResult.java,
7084 javax/xml/transform/dom/DOMSource.java,
7085 javax/xml/transform/dom/package.html,
7086 javax/xml/transform/sax/SAXResult.java,
7087 javax/xml/transform/sax/SAXSource.java,
7088 javax/xml/transform/sax/SAXTransformerFactory.java,
7089 javax/xml/transform/sax/TemplatesHandler.java,
7090 javax/xml/transform/sax/TransformerHandler.java,
7091 javax/xml/transform/sax/package.html,
7092 javax/xml/transform/stream/StreamResult.java,
7093 javax/xml/transform/stream/StreamSource.java,
7094 javax/xml/transform/stream/package.html,
7095 javax/xml/validation/Schema.java,
7096 javax/xml/validation/SchemaFactory.java,
7097 javax/xml/validation/TypeInfoProvider.java,
7098 javax/xml/validation/Validator.java,
7099 javax/xml/validation/ValidatorHandler.java,
7100 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7101 javax/xml/xpath/XPathConstants.java,
7102 javax/xml/xpath/XPathException.java,
7103 javax/xml/xpath/XPathExpression.java,
7104 javax/xml/xpath/XPathExpressionException.java,
7105 javax/xml/xpath/XPathFactory.java,
7106 javax/xml/xpath/XPathFactoryConfigurationException.java,
7107 javax/xml/xpath/XPathFunction.java,
7108 javax/xml/xpath/XPathFunctionException.java,
7109 javax/xml/xpath/XPathFunctionResolver.java,
7110 javax/xml/xpath/XPathVariableResolver.java,
7111 javax/xml/xpath/package.html: New files, from GNU JAXP.
7112 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7113 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7114 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7115 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7116 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7117 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7118 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7119 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7120 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7121 org/w3c/dom/ranges/DocumentRange.java,
7122 org/w3c/dom/ranges/Range.java,
7123 org/w3c/dom/ranges/RangeException.java,
7124 org/w3c/dom/traversal/DocumentTraversal.java,
7125 org/w3c/dom/traversal/NodeFilter.java,
7126 org/w3c/dom/traversal/NodeIterator.java,
7127 org/w3c/dom/traversal/TreeWalker.java,
7128 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7129 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7130 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7131 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7132 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7133 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7134 org/xml/sax/SAXNotRecognizedException.java,
7135 org/xml/sax/SAXNotSupportedException.java,
7136 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7137 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7138 org/xml/sax/ext/DeclHandler.java,
7139 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7140 org/xml/sax/helpers/AttributeListImpl.java,
7141 org/xml/sax/helpers/AttributesImpl.java,
7142 org/xml/sax/helpers/DefaultHandler.java,
7143 org/xml/sax/helpers/LocatorImpl.java,
7144 org/xml/sax/helpers/NamespaceSupport.java,
7145 org/xml/sax/helpers/NewInstance.java,
7146 org/xml/sax/helpers/ParserAdapter.java,
7147 org/xml/sax/helpers/ParserFactory.java,
7148 org/xml/sax/helpers/XMLFilterImpl.java,
7149 org/xml/sax/helpers/XMLReaderAdapter.java,
7150 org/xml/sax/helpers/XMLReaderFactory.java,
7151 org/xml/sax/helpers/package.html: Moved to external/.
7152 * external/sax/README,
7153 external/sax/org/xml/sax/AttributeList.java,
7154 external/sax/org/xml/sax/Attributes.java,
7155 external/sax/org/xml/sax/ContentHandler.java,
7156 external/sax/org/xml/sax/DTDHandler.java,
7157 external/sax/org/xml/sax/DocumentHandler.java,
7158 external/sax/org/xml/sax/EntityResolver.java,
7159 external/sax/org/xml/sax/ErrorHandler.java,
7160 external/sax/org/xml/sax/HandlerBase.java,
7161 external/sax/org/xml/sax/InputSource.java,
7162 external/sax/org/xml/sax/Locator.java,
7163 external/sax/org/xml/sax/Parser.java,
7164 external/sax/org/xml/sax/SAXException.java,
7165 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7166 external/sax/org/xml/sax/SAXNotSupportedException.java,
7167 external/sax/org/xml/sax/SAXParseException.java,
7168 external/sax/org/xml/sax/XMLFilter.java,
7169 external/sax/org/xml/sax/XMLReader.java,
7170 external/sax/org/xml/sax/package.html,
7171 external/sax/org/xml/sax/ext/Attributes2.java,
7172 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7173 external/sax/org/xml/sax/ext/DeclHandler.java,
7174 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7175 external/sax/org/xml/sax/ext/EntityResolver2.java,
7176 external/sax/org/xml/sax/ext/LexicalHandler.java,
7177 external/sax/org/xml/sax/ext/Locator2.java,
7178 external/sax/org/xml/sax/ext/Locator2Impl.java,
7179 external/sax/org/xml/sax/ext/package.html,
7180 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7181 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7182 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7183 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7184 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7185 external/sax/org/xml/sax/helpers/NewInstance.java,
7186 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7187 external/sax/org/xml/sax/helpers/ParserFactory.java,
7188 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7189 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7190 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7191 external/sax/org/xml/sax/helpers/package.html,
7192 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7193 external/w3c_dom/org/w3c/dom/Attr.java,
7194 external/w3c_dom/org/w3c/dom/CDATASection.java,
7195 external/w3c_dom/org/w3c/dom/CharacterData.java,
7196 external/w3c_dom/org/w3c/dom/Comment.java,
7197 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7198 external/w3c_dom/org/w3c/dom/DOMError.java,
7199 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7200 external/w3c_dom/org/w3c/dom/DOMException.java,
7201 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7202 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7203 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7204 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7205 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7206 external/w3c_dom/org/w3c/dom/Document.java,
7207 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7208 external/w3c_dom/org/w3c/dom/DocumentType.java,
7209 external/w3c_dom/org/w3c/dom/Element.java,
7210 external/w3c_dom/org/w3c/dom/Entity.java,
7211 external/w3c_dom/org/w3c/dom/EntityReference.java,
7212 external/w3c_dom/org/w3c/dom/NameList.java,
7213 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7214 external/w3c_dom/org/w3c/dom/Node.java,
7215 external/w3c_dom/org/w3c/dom/NodeList.java,
7216 external/w3c_dom/org/w3c/dom/Notation.java,
7217 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7218 external/w3c_dom/org/w3c/dom/Text.java,
7219 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7220 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7221 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7222 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7223 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7224 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7225 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7226 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7227 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7228 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7229 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7230 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7231 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7232 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7233 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7234 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7235 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7236 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7237 external/w3c_dom/org/w3c/dom/css/Counter.java,
7238 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7239 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7240 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7241 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7242 external/w3c_dom/org/w3c/dom/css/Rect.java,
7243 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7244 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7245 external/w3c_dom/org/w3c/dom/events/Event.java,
7246 external/w3c_dom/org/w3c/dom/events/EventException.java,
7247 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7248 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7249 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7250 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7251 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7252 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7253 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7254 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7255 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7256 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7257 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7258 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7259 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7260 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7261 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7262 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7263 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7264 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7265 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7266 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7267 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7268 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7269 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7270 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7271 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7272 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7273 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7274 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7275 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7276 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7277 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7278 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7279 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7280 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7281 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7282 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7283 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7284 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7285 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7286 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7287 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7288 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7289 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7290 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7291 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7292 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7293 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7294 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7295 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7296 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7297 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7298 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7299 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7300 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7301 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7302 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7303 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7304 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7305 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7306 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7307 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7308 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7309 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7310 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7311 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7312 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7313 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7314 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7315 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7316 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7317 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7318 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7319 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7320 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7321 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7322 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7323 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7324 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7325 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7326 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7327 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7328 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7329 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7330 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7331 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7332 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7333 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7334 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7335 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7336 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7337 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7338 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7341 2005-01-31 Anthony Green <green@redhat.com>
7343 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7344 Support IP_MULTICAST_LOOP.
7345 (setOption): Support IP_MULTICAST_LOOP.
7347 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7348 SO_REUSEADDR support.
7349 (getOption): Support SO_REUSEADDR.
7351 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7354 * java/util/Date.java
7355 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7357 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7359 (getTimezoneOffset): Inverted sign.
7361 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7363 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7364 remove other passing tests and add new XFAILs.
7366 2005-01-24 Tom Tromey <tromey@redhat.com>
7368 * java/lang/Class.h (next): Updated documentation. Renamed to
7370 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7371 _Jv_CheckABIVersion.
7372 (_Jv_RegisterClasses_Counted): Likewise.
7373 (_Jv_RegisterClassHookDefault): Fix starting condition of
7374 duplicate-checking loop.
7375 * include/jvm.h (GCJ_VERSION): New define.
7376 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7377 (_Jv_CheckABIVersion): New function.
7379 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7381 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7382 (libgij_la_LDFLAGS): Add.
7383 * Makefile.in: Rebuilt.
7385 2005-01-24 Roger Sayle <roger@eyesopen.com>
7388 * testsuite/libjava.compile/PR19295.java: New test case.
7390 2005-01-19 Tom Tromey <tromey@redhat.com>
7392 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7393 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7394 if 'handler' is valid.
7396 2005-01-17 Tom Tromey <tromey@redhat.com>
7398 * java/text/MessageFormat.java (scanString): Changed how quoting
7400 (scanFormatElement): Likewise.
7402 2004-12-07 Mark Wielaard <mark@klomp.org>
7404 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7406 2005-01-15 Michael Koch <konqueror@gmx.de>
7410 (AUTHORITY_REGEXP): New regexp constant.
7411 (AUTHORITY_USERINFO_GROUP): New constant.
7412 (AUTHORITY_HOST_GROUP): Likewise.
7413 (AUTHORITY_PORT_GROUP): Likewise.
7414 (port): Changed default value to -1.
7415 (parseURI): Parse authority part and initialize host,
7418 2005-01-14 Robin Green <greenrd@greenrd.org>
7420 * java/io/File.java (toURI): Generate a URI which we understand.
7422 2005-01-13 Graydon Hoare <graydon@redhat.com>
7424 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7425 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7426 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7427 * jni.cc: Reuse bottom frame between calls, avoid clearing
7428 frame when no local references are made.
7430 2005-01-13 Michael Koch <konqueror@gmx.de>
7433 * java/lang/Thread.java
7434 (Thread): Call checkAccess().
7435 (stop): Fixed argument name to match javadoc.
7436 * java/lang/natThread.cc
7437 (interrupt): Call checkAccess().
7440 2005-01-11 Michael Koch <konqueror@gmx.de>
7443 * java/net/URL.java (URL): Handle specs like
7444 "/redir?http://domain2.com/index.html" which start with a slash.
7446 2005-01-11 Michael Koch <konqueror@gmx.de>
7448 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7449 * gnu/java/net/BASE64.java,
7450 gnu/java/net/EmptyX509TrustManager.java,
7451 gnu/java/net/LineInputStream.java,
7452 gnu/java/net/protocol/http/Authenticator.java,
7453 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7454 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7455 gnu/java/net/protocol/http/ChunkedInputStream.java,
7456 gnu/java/net/protocol/http/Cookie.java,
7457 gnu/java/net/protocol/http/CookieManager.java,
7458 gnu/java/net/protocol/http/Credentials.java,
7459 gnu/java/net/protocol/http/HTTPConnection.java,
7460 gnu/java/net/protocol/http/HTTPDateFormat.java,
7461 gnu/java/net/protocol/http/HTTPURLConnection.java,
7462 gnu/java/net/protocol/http/Headers.java,
7463 gnu/java/net/protocol/http/Request.java,
7464 gnu/java/net/protocol/http/RequestBodyWriter.java,
7465 gnu/java/net/protocol/http/Response.java,
7466 gnu/java/net/protocol/http/ResponseBodyReader.java,
7467 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7468 gnu/java/net/protocol/http/SimpleCookieManager.java,
7469 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7470 gnu/java/net/protocol/http/event/ConnectionListener.java,
7471 gnu/java/net/protocol/http/event/RequestEvent.java,
7472 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7473 * gnu/java/net/protocol/http/Connection.java: Removed.
7474 * gnu/java/net/protocol/http/Handler.java,
7475 javax/net/ssl/HttpsURLConnection.java: Updated.
7476 * Makefile.am: Added new files and remove old ones.
7477 * Makefile.in: Regenerated.
7479 2005-01-11 Tom Tromey <tromey@redhat.com>
7482 * java/io/BufferedInputStream.java (read): Repeatedly read to
7484 (refill): Change test to see if buffer must be grown.
7486 2005-01-10 Tom Tromey <tromey@redhat.com>
7488 * mauve-libgcj: Exclude some swing tests.
7490 2005-01-10 Tom Tromey <tromey@redhat.com>
7492 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7493 * java/lang/Package.java (getPackages): Use VMClassLoader when
7495 (getPackage): Likewise.
7496 * prims.cc (_Jv_CreateJavaVM): Call
7497 _Jv_RegisterBootstrapPackages.
7498 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7499 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7500 (getPackages): Likewise.
7501 (definedPackages): New field.
7502 (definePackageForNative): New method.
7503 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7504 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7505 * defineclass.cc (handleClassBegin): Use
7506 ClassLoader.findLoadedClass.
7507 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7509 (struct _Jv_LoaderInfo): Removed.
7510 (initiated_classes): Likewise.
7511 (_Jv_UnregisterClass): Don't use initiated_classes.
7512 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7513 (_Jv_FindClass): Register classes found during boostrap.
7514 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7515 (bootstrap_class_list): New global.
7516 (bootstrap_index): Likewise.
7517 (_Jv_RegisterBootstrapPackages): New function.
7518 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7519 definePackageForNative.
7520 (findClass): Updated.
7521 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7524 2005-01-10 Tom Tromey <tromey@redhat.com>
7527 * include/jvm.h (_Jv_Linker::find_field): Declare.
7528 (_Jv_Linker::find_field_helper): Likewise.
7529 * link.cc (find_field_helper): New method.
7530 (find_field): Likewise.
7531 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7533 (link_symbol_table): Use find_field.
7535 2005-01-10 Michael Koch <konqueror@gmx.de>
7538 * java/util/Locale.java (Locale): Don't uppercase variant.
7539 (getISOCountries): Fixed typo in javadoc.
7541 2005-01-10 Michael Koch <konqueror@gmx.de>
7543 * java/util/SimpleTimeZone.java (checkRule):
7544 Throw IllegalArgumentException on invalid month values.
7545 * java/util/TimeZone.java (setID):
7546 Throw NullPointerException if needed.
7548 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7550 * java/util/SimpleTimeZone.java (getOffset):
7551 offset end date with daylight savings
7553 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7555 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7556 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7558 2005-01-09 Michael Koch <konqueror@gmx.de>
7561 * java/net/InetAddress.java (getLocalHost):
7562 Throw UnknownHostException if local hostname cannot be determined.
7564 2005-01-06 Tom Tromey <tromey@redhat.com>
7566 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7568 2005-01-07 Michael Koch <konqueror@gmx.de>
7571 * java/nio/Buffer.java (address): New field.
7572 * java/nio/DirectByteBufferImpl.java (address): Removed.
7573 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7574 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7575 Explicitly initialize Buffer.address if needed.
7576 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7577 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7578 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7579 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7580 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7581 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7582 DirectByteBufferImpl object.
7583 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7584 * testsuite/libjava.jni/directbuffer.c,
7585 testsuite/libjava.jni/directbuffer.java,
7586 testsuite/libjava.jni/directbuffer.out,
7587 testsuite/libjava.jni/bytebuffer.c,
7588 testsuite/libjava.jni/bytebuffer.java,
7589 testsuite/libjava.jni/bytebuffer.out: New files.
7591 2005-01-05 Tom Tromey <tromey@redhat.com>
7593 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7595 (compressedSize): Now 'long'. Default to -1.
7596 (getCompressedSize): Rewrote.
7597 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7598 deflate at all if we need input.
7600 2005-01-05 Tom Tromey <tromey@redhat.com>
7603 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7606 2005-01-05 Tom Tromey <tromey@redhat.com>
7608 * java/lang/natRuntime.cc (insertSystemProperties): Set
7609 java.ext.dirs earlier.
7611 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7613 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7614 sync_info element of the object if needed.
7616 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7618 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7619 a non-zero exit status from 'false'.
7621 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7623 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.