1 2005-05-24 Gary Benson <gbenson@redhat.com>
4 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
5 Handle DateFormat.DEFAULT case correctly.
7 2005-05-21 Tom Tromey <tromey@redhat.com>
10 * java/lang/ref/natReference.cc (find_slot): Handle case where
11 table has no NULL entries.
12 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
13 table has no NULL entries.
15 2005-05-22 Andreas Jaeger <aj@suse.de>
17 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
20 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
22 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
24 2005-05-19 Richard Henderson <rth@redhat.com>
26 * exception.cc: Revert 05-17 gcc_unreachable change.
28 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
30 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
31 _Jv_RegisterInitiatingLoader to register array classes, not
33 (_Jv_RegisterInitiatingLoader): Give up if called very early during
34 bootstrapping. Add a FIXME to handle this case better.
36 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
38 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
40 (libgcj_la_SOURCES): New. Move sources here.
41 (libgcj.la): Remove rule.
43 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
46 * gnu/java/security/provider/DSASignature.java: Import updates
49 2005-05-18 Anthony Green <green@redhat.com>
51 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
52 classpath_jawt_object_unlock, classpath_jawt_create_lock,
53 classpath_jawt_destroy_lock): New functions.
54 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
55 classpath_jawt_object_unlock, classpath_jawt_create_lock,
56 classpath_jawt_destroy_lock): New functions.
57 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
59 * jawt.c: #include malloc.h.
62 (_Jv_GetDrawingSurface): Initialize lock.
63 (_Jv_FreeDrawingSurface): Destroy lock.
64 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
66 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
68 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
69 * Makefile.in: Regenerate.
71 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
73 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
74 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
75 * aclocal.m4, configure, config.h.in, include/config.h.in,
76 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
77 external/Makefile.in, external/sax/Makefile.in,
78 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
80 2005-05-17 David Daney <ddaney@avtrex.com>
83 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
85 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
87 * exception.cc (abort): Remove std::abort hack.
88 (gcc_unreacheable): Define.
90 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
92 * Makefile.am (Makefile.deps): Do not create native.list and
94 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
95 * Makefile.in: Regenerate.
97 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
99 * configure.ac (--enable-libgcj-multifile): Remove.
101 * Makefile.am (all_native_compiled_source_files,
102 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
103 all_libgcj_lo_files, all_xlib_lo_files,
104 all_java_deps_files, all_java_stamp_files,
105 all_java_filelist_files): New variables.
106 (EXTRA_DIST): New Automake variable.
107 (CLEANFILES): Add .stamp, .list and .lo files.
108 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
109 (classes.stamp): Depend on $(all_java_stamp_files).
110 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
111 going through write_entries_to_file.
113 (all_java_source_files, all_property_files): Move earlier.
114 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
115 all_java_class_files): Remove.
116 (gtk_awt_peer_sources): Rename to...
117 (gtk_awt_peer_source_files): ... this. Adjust throughout.
120 (libgcj0_convenience_la_SOURCES): Remove Java source files.
121 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
122 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
123 (libgcj_la_SOURCES): Remove.
124 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
125 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
126 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
128 * configure: Regenerate.
129 * Makefile.in: Regenerate.
130 * external/Makefile.in: Regenerate.
131 * external/sax/Makefile.in: Regenerate.
132 * external/w3c_dom/Makefile.in: Regenerate.
133 * gcj/Makefile.in: Regenerate.
134 * include/Makefile.in: Regenerate.
135 * libltdl/Makefile.in: Regenerate.
136 * testsuite/Makefile.in: Regenerate.
138 2005-05-16 Tom Tromey <tromey@redhat.com>
140 * java/nio/charset/Charset.java (encode, decode): Synchronize on
141 'this', not the class.
143 2005-05-16 Tom Tromey <tromey@redhat.com>
145 * gnu/java/net/protocol/http/Headers.java (parse): Include final
148 2005-05-16 Tom Tromey <tromey@redhat.com>
151 * java/net/URI.java (unquote): Handle lower-case letters as well.
153 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
156 gnu/regexp/RE.java: Add support for quoting constructs.
158 2005-05-15 Tom Tromey <tromey@redhat.com>
160 * java/lang/String.java (startsWith): Fixed javadoc.
162 2005-05-15 Tom Tromey <tromey@redhat.com>
165 * testsuite/libjava.compile/pr21519.java: New file.
166 * testsuite/libjava.compile/pr21519.no-link: New file.
168 2005-05-15 Tom Tromey <tromey@redhat.com>
170 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
172 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
175 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
176 interrupt status flag if _Jv_CondWait is interrupted.
178 2005-05-13 Tom Tromey <tromey@redhat.com>
180 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
183 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
185 * include/jvm.h (gcj::verifyClasses): Declare.
186 * link.cc (gcj::verbose_class_flag): Moved.
187 * prims.cc (gcj::verifyClasses): Define here.
188 (gcj::verbose_class_flag): Move definition here.
189 (_Jv_Linker::wait_for_state): Don't call verify_class
190 if gcj::verifyClasses is not set.
191 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
193 2005-05-12 Aaron Luchko <aluchko@redhat.com>
195 * gij.cc (main): Recognize '-verify', '-noverify', and
198 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
200 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
202 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
204 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
207 2005-05-11 Tom Tromey <tromey@redhat.com>
209 * external/w3c_dom/Makefile.in: Rebuilt.
210 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
212 * external/sax/Makefile.in: Rebuilt.
213 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
215 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
217 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
218 Call _Jv_CopyClassesToSystemLoader.
219 * java/lang/natClassLoader.cc (system_class_list): New global.
220 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
222 (_Jv_CopyClassesToSystemLoader): New function.
223 (SYSTEM_LOADER_INITIALIZED): New define.
224 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
225 (_Jv_CheckABIVersion): Use it.
226 (_Jv_ClassForBootstrapLoader): New function.
227 * Makefile.in: Rebuilt.
228 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
230 2005-05-10 Tom Tromey <tromey@redhat.com>
232 * gcj/javaprims.h: Updated.
233 * java/lang/String.java (String(StringBuilder)): New constructor.
234 * java/lang/natStringBuilder.cc: New file.
235 * java/lang/StringBuilder.java: New file.
236 * Makefile.in: Rebuilt.
237 * Makefile.am (core_java_source_files): Added StringBuilder.java.
238 (nat_source_files): Added natStringBuilder.cc.
240 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
243 * testsuite/libjava.jacks/jacks.xfail: Adjust.
245 2005-05-09 Mike Stump <mrs@apple.com>
247 * configure: Regenerate.
249 2005-05-09 David Daney <ddaney@avtrex.com>
251 * java/util/BitSet.java (get(int, int)): Fix breakage when
252 requested set doesn't start on a multiple of 64.
254 2005-05-07 Matthias Klose <doko@debian.org>
256 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
258 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
260 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
261 * Makefile.in: Regenerate.
262 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
263 (createCompatibleVolatileImage(int,int)): Implement.
264 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
266 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
268 (createVolatileImage): Implement.
269 (createBuffers): Likewise.
270 (getBackBuffer): Likewise.
272 (destroyBuffers): Likewise.
273 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
274 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
275 (CanvasFlipBufferStrategy): Likewise.
276 (createBufferStrategy(int)): New method.
277 (createBufferStrategy(int,BufferCapabilities)): Likewise.
278 * java/awt/Component.java (BltBufferStrategy): Implement and
280 (FlipBufferStrategy): Likewise.
281 * java/awt/Window.java (WindowBltBufferStrategy): New class.
282 (WindowFlipBufferStrategy): Likewise.
283 (createBufferStrategy(int)): New method.
284 (createBufferStrategy(int,BufferCapabilities)): Likewise.
285 (getBufferStrategy): Likewise.
286 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
287 front to frontCaps and back to backCaps.
289 2005-05-06 Michael Koch <konqueror@gmx.de>
291 * java/awt/BufferCapabilities.java
292 (BufferCapabilities): Merged javadoc.
294 2005-05-06 Michael Koch <konqueror@gmx.de>
296 * java/util/Locale.java
297 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
298 (getLocale): New methods. Use it everywhere where instances of Locales
300 (getDisplayLanguage): Merged javadoc.
301 (getDisplayCountry): Likewise.
302 (getDisplayVariant): Likewise.
304 2005-05-06 Archie Cobbs <archie@dellroad.org>
306 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
307 use DeleteLocalRef() to avoid exhausting local native references.
309 2005-05-06 Mark Wielaard <mark@klomp.org>
311 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
312 (window_delete_cb): Don't use C++ style comments.
314 2005-05-06 Robert Schuster <thebohemian@gmx.net>
316 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
319 2005-05-06 Robert Schuster <thebohemian@gmx.net>
321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
322 (window_delete_cb): Made the function return TRUE.
324 2005-05-06 Roman Kennke <roman@kennke.org>
326 * javax/swing/text/PlainView.java
327 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
329 * javax/swing/text/Utilities.java
330 (drawTabbedText): Initilialize local variable pos correctly.
332 2005-05-06 Roman Kennke <roman@kennke.org>
334 * javax/swing/text/AbstractDocument.java
335 (LeafElement): Made start and end package private fields for
336 effective reindexing.
337 * javax/swing/text/PlainDocument.java
338 (constructor): The field rootElement is always BranchElement,
339 so we handle it as such.
340 (removeUpdate): Rewritten reindexing for removeUpdate so that
341 the actual removal is taken into account.
343 2005-05-06 Roman Kennke <roman@kennke.org>
345 * javax/swing/text/GapContent.java:
346 Removed debugging output stuff, which I accidentally left in.
348 2005-05-06 Roman Kennke <roman@kennke.org>
350 * javax/swing/text/GapContent.java:
351 Implemented a real GapContent. Only the public methods have
352 been implemented so far and still no UndoableEdit support.
354 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
356 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
359 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
361 * java/awt/image/BufferStrategy.java: Document.
363 * java/awt/BufferCapabilities.java: Document.
365 2005-05-04 Tom Tromey <tromey@redhat.com>
367 * java/nio/channels/FileLock.java (toString): Entirely avoid
370 2005-05-04 Andrew Overholt <overholt@redhat.com>
372 * java/nio/channels/FileLock.java (toString): Re-implement using
375 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
377 * java/awt/ImageCapabilities.java: Document.
379 * java/awt/image/VolatileImage.java: Unindent copyright header.
381 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
383 * java/awt/image/VolatileImage.java: Document.
385 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
388 (init_glib_threads): Check if threading system is already
391 2005-05-03 Andrew Overholt <overholt@redhat.com>
394 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
395 could not be acquired.
396 * java/nio/channels/FileLock.java (toString): Re-implement to be
397 in line with other implementations.
399 2005-05-03 Tom Tromey <tromey@redhat.com>
401 * java/lang/VMSecurityManager.java (currentClassLoader): Use
402 'systemClasssLoader' directly.
404 2005-05-03 Tom Tromey <tromey@redhat.com>
406 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
407 call VMClassLoader.getSystemClassLoader.
409 2005-04-29 Michael Koch <konqueror@gmx.de>
411 * java/net/NetworkInterface.java
413 (NetworkInterface(String,InetAddress)): Made package-private.
414 (NetworkInterface(String,InetAddress[])): New constructor.
415 (getRealNetworkInterfaces): Removed.
416 (getByName): Use VMNetworkInterface.getInterfaces().
417 (getByInetAddress): Likewise.
418 (getNetworkInterfaces): Likewise.
419 * java/net/VMNetworkInterface.java,
420 java/net/natVMNetworkInterfaceNoNet.cc,
421 java/net/natVMNetworkInterfacePosix.c,c
422 java/net/natVMNetworkInterfaceWin32.cc: New files.
423 * java/net/natNetworkInterfaceNoNet.cc,
424 java/net/natNetworkInterfacePosix.cc,
425 java/net/natNetworkInterfaceWin32.cc: Removed.
428 * configure, Makefile.in: Regenerated.
430 2005-04-29 Andrew Haley <aph@redhat.com>
432 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
434 2005-04-29 Dalibor Topic <robilad@kaffe.org>
436 * java/nio/channels/FileChannelImpl.java
437 (FileChannelImpl(String, int)): Removed.
438 (FileChannelImpl(File, int)): Added. Check if opened file is a
440 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
441 Call FileChannelImpl(File, int).
442 * java/io/FileOutputStream.java (FileInputStream): Call
443 FileChannelImpl(File, int).
444 * java/io/RandomAccessFile.java (RandomAccessFile):
445 Call FileChannelImpl(File, int). Switched constructors around.
447 2005-04-27 Andrew Haley <aph@redhat.com>
450 * prims.cc (_Jv_ResolvePoolEntry): New function.
451 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
452 * link.cc (_Jv_Linker::find_field): New arg: found_class.
453 (resolve_pool_entry): Initialize the class in which a field is
455 (link_symbol_table): Pass new arg to found_class.
457 2005-04-29 Michael Koch <konqueror@gmx.de>
459 * java/nio/charset/Charset.java
460 (provider): Reformatted.
462 2005-04-29 Michael Koch <konqueror@gmx.de>
464 * gnu/java/net/protocol/http/HTTPConnection.java:
465 (userAgent): Initialize from system properties.
466 (initUserAgent): Removed.
468 2005-04-29 Mark Wielaard <mark@klomp.org>
470 * java/util/ResourceBundle.java (getObject): Clarify
471 MissingResourceException detailed message.
472 (tryBundle(String,ClassLoader)): Likewise.
474 2005-04-29 Robert Schuster <thebohemian@gmx.net>
476 * java/beans/FeatureDescriptor.java:
477 (getShortDescription): Implemented fallback mechanism and fixed
478 documentation (fixes bug #12637).
479 (getDisplayName): Dito.
481 2005-04-29 Robert Schuster <thebohemian@gmx.net>
483 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
484 will now be set correctly.
485 (flushCaches): Now flushes all cached intermediate data.
487 2005-04-28 Michael Koch <konqueror@gmx.de>
489 * java/net/InetAddress.java
490 (aton): Fixed javadoc.
493 2005-04-28 Tom Tromey <tromey@redhat.com>
495 * javax/swing/Timer.java
496 (drainEvents, queueEvent): Now package-private.
498 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
500 * javax/swing/Timer.java
501 (constructor): Assigning initialDelay.
503 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
505 * javax/swing/Timer.java
506 (Waker.run): firing the first action event.
508 2005-04-28 Michael Koch <konqueror@gmx.de>
510 * javax/swing/Timer.java: Reordered all fields and methods,
513 2005-04-28 Michael Koch <konqueror@gmx.de>
515 * javax/swing/Timer.java: Javadocs merged
518 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
520 * gnu/java/net/protocol/file/Connection.java
521 (StaticData): New inner class to contain statics.
522 (connect, getHeaderField): Modified to use StaticData.
524 2005-04-28 Michael Koch <konqueror@gmx.de>
526 * gnu/java/net/protocol/file/Connection.java
527 (lineSeparator): Initialize with SystemProperties.getProperty().
529 2005-04-27 Chris Burdess <dog@gnu.org>
531 * gnu/java/net/protocol/file/Connection.java: Return correct content
532 length for directory listing.
533 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
534 #11285: return valid URLs for directories.i
536 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
538 * Makefile.am (ordinary_java_source_files): Add
539 gnu/java/net/protocol/https/Handler.java.
540 * Makefile.in: Regenerate.
541 * java/net/URL.java: Remove org.metastatic.jessie from default
542 protocol search path.
544 2005-04-27 Chris Burdess <dog@gnu.org>
546 * gnu/java/net/protocol/https/Handler.java: New file.
548 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
550 * javax/imageio/spi/IIORegistry.java (IIORegistry):
551 Don't assume that awt Toolkit is always ClasspathToolkit.
553 2005-04-27 Chris Burdess <dog@gnu.org>
555 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
556 absolute and relative paths in Location header.
558 2005-04-27 Chris Burdess <dog@gnu.org>
560 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
561 FileNotFoundException and implement getErrorStream on 404.
563 2005-04-27 Sven de Marothy <sven@physto.se>
565 * java/util/TimeZone.java,
566 (getDefaultDisplayName): Fix previous fix.
568 2005-04-27 Sven de Marothy <sven@physto.se>
570 * java/util/TimeZone.java,
571 (getDefaultDisplayName): Don't print zero offsets.
573 2005-04-27 Roman Kennke <roman@kennke.org>
575 * javax/swing/plaf/basic/BasicScrollBarUI
576 (getThumbBounds): Do not make thumb smaller than
578 * javax/swing/plaf/metal/MetalLookAndFeel
579 (initComponentDefaults): Added color defaults for ScrollBar.
580 * javax/swing/plaf/metal/MetalScrollBarUI
582 (getMinimumThumbSize): Added.
584 2005-04-27 Roman Kennke <roman@kennke.org>
586 * javax/swing/plaf/metal/MetalLookAndFeel
587 (initComponentDefaults): Added some default colors.
589 2005-04-27 Roman Kennke <roman@kennke.org>
591 * javax/swing/plaf/basic/BasicScrollBarUI.java
592 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
593 to 'ScrollBar.thumbShadow'. The formes does not exist.
594 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
596 2005-04-27 Roman Kennke <roman@kennke.org>
598 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
599 * javax/swing/BoxLayout.java: Likewise.
600 * javax/swing/UIManager.java: Likewise.
601 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
602 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
603 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
604 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
605 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
606 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
607 * javax/swing/text/Document.java: Likewise.
608 * javax/swing/text/GapContent.java: Likewise.
609 * javax/swing/text/SimpleAttributeSet.java: Likewise.
610 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
612 2005-04-27 Roman Kennke <roman@kennke.org>
614 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
615 (getPropertyPrefix): Added.
617 2005-04-27 Roman Kennke <roman@kennke.org>
619 * javax/swing/plaf/basic/BasicButtonUI.java
620 (getPropertyPrefix): Added.
621 (installDefaults): Use getPropertyPrefix instead of hard-coded
624 2005-04-27 Roman Kennke <roman@kennke.org>
626 * javax/swing/JToggleButton.java
627 (JToggleButton): Removed horizontalAlignment setting, this
628 was wrong. Added setting of an actionCommand, ToggleButtons
629 have "" as default actionCommand.
631 2005-04-27 Michael Koch <konqueror@gmx.de>
633 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
634 to work around CNI limitation.
636 2005-04-27 Sven de Marothy <sven@physto.se>
638 * java/nio/charset/Charset.java:
639 (defaultCharset()): New method.
640 Status updated to 1.5
642 2005-04-27 Sven de Marothy <sven@physto.se>
644 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
646 2005-04-27 Sven de Marothy <sven@physto.se>
648 * java/nio/charset/Charset.java: Reset cached de/encoders.
650 2005-04-27 Robert Schuster <thebohemian@gmx.net>
652 * java/nio/charset/Charset.java (forName): Throws
653 IllegalArgumentException when argument is null
654 and added documentation.
656 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
658 * java/nio/charset/Charset.java (providers):
659 New method to make an array of CharsetProviders defined in
660 META-INF/services/java.nio.charset.spi.CharsetProvider.
661 (charsetForName, availableCharsets): Use the
662 new method providers().
664 2005-04-26 Michael Koch <konqueror@gmx.de>
666 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
667 Fixed typos in javadocs.
668 (isSiteLocalAddress): Fixed handling of byte values.
669 (isMCLinkLocal): Likewise.
670 * java/net/Inet4Address.java
671 (isMulticastAddress): Call super method.
672 (isLoopbackAddress): Likewise.
673 (isAnyLocalAddress): Likewise.
674 (isLinkLocalAddress): Likewise.
675 (isSiteLocalAddress): Likewise.
676 (isMCGlobal): Likewise.
677 (isMCNodeLocal): Likewise.
678 (isMCLinkLocal): Likewise.
679 (isMCSiteLocal): Likewise.
680 (isMCOrgLocal): Likewise.
681 (getHostAddress): Likewise.
683 2005-04-26 Sven de Marothy <sven@physto.se>
685 * java/net/InetAddress.java
686 (toString): Don't print empty hostnames.
688 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
691 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
692 'false' to native lock().
693 (lock): Pass 'true' to native lock().
695 2005-04-26 Michael Koch <konqueror@gmx.de>
697 * java/net/InetAddress.java:
698 Fixed typos in javadocs.
700 2005-04-26 Andrew Haley <aph@redhat.com>
703 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
706 2005-04-26 Tom Tromey <tromey@redhat.com>
708 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
709 gnu): Now package-private.
710 * javax/swing/text/html/parser/DocumentParser.java (parser,
711 callBack, gnu): Now package-private.
712 * javax/swing/text/StringContent.java (content, setOffset,
713 checkLocation): Now package-private.
714 * javax/swing/text/JTextComponent.java (doc): Now
716 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
717 lastGoodOrientation, origParent, borders, cachedBounds,
718 cachedOrientation, DragWindow): Now package-private.
719 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
720 decrButton, viewport, panel, currentScrollLocation, layoutManager,
721 tabAreaRect, contentRect, createIncreaseButton,
722 createDecreaseButton, findPointForIndex): Now package-private.
723 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
724 (currentDividerLocation, moveDividerTo): Now package-private.
725 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
727 * javax/swing/plaf/basic/BasicScrollBarUI.java
728 (calculatePreferredSize, valueForYPosition, valueForXPosition):
730 * javax/swing/plaf/basic/BasicPopupMenuUI.java
731 (topWindowListener): Now package-private.
732 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
733 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
734 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
736 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
738 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
740 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
742 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
743 borderInsets): Now package-private.
744 (arrowButtonWidth): Likewise. Now a constant.
745 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
746 makeTabs, updatePreviewPanel): Now package-private.
747 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
748 darkShadow, highlight): Now package-private.
749 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
750 (addColorToQueue): Now package-private.
751 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
752 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
753 GSpinner, BSpinner): Now package-private.
754 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
755 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
756 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
757 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
758 updateTrack): Now package-private.
759 * javax/swing/TransferHandler.java (clipboard): Now
761 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
763 * javax/swing/Timer.java (drainEvents, queueEvent): Now
765 * javax/swing/RepaintManager.java (globalManager): Now
767 * javax/swing/JFormattedTextField.java (editValid): Now
769 * javax/swing/JColorChooser.java (makeModal): Now
771 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
772 index, path): Now package-private.
773 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
774 lineQuadIntersect, lineCubicIntersect, linesIntersect,
775 pointEquals): Now package-private.
776 * java/awt/geom/Arc2D.java (type): Now package-private.
777 * java/awt/Window.java (windowFocusOwner): Now package-private.
778 * java/awt/TextComponent.java (editable, selectionStart,
779 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
781 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
783 * java/awt/MenuComponent.java (focusListener): Now
785 * java/awt/Frame.java (state): Now package-private.
786 * java/awt/Choice.java (pItems): Now package-private.
787 * java/awt/Checkbox.java (state): Now package-private.
788 * java/awt/Button.java (actionCommand, label): Now
790 * gnu/javax/swing/text/html/parser/support/Parser.java
791 (attributes, _handleEndTag_remaining, _handleStartTag): Now
793 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
795 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
796 clip, transform, font, comp): Now package-private.
798 2005-04-26 Tom Tromey <tromey@redhat.com>
800 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
803 2005-04-26 Mark Wielaard <mark@klomp.org>
805 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
806 to MalformedURLException.
808 2005-04-26 Michael Koch <konqueror@gmx.de>
810 * java/security/AccessControlContext.java:
812 (protectedDomains): Renamed from 'protectionDomain'.
813 * java/security/AccessController.java:
816 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
818 * gnu/java/security/action/GetSecurityPropertyAction.java
819 (GetSecurityPropertyAction): Implement PrivilegedAction instead
820 of extending GetPropertyAction.
823 (setParamters): New methods.
824 (GetSecurityPropertyAction): Use new setParameters methods.
826 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
828 * java/security/Security.java,
829 java/security/cert/X509CRLSelector.java,
830 java/security/cert/X509CertSelector.java:
831 Modified to use SystemProperties.
833 2005-04-26 Michael Koch <konqueror@gmx.de>
835 * java/lang/System.java
836 (setSecurityManager): Fixed comment.
837 (getSecurityManager): Removed obsolete comment.
839 2005-04-25 Tom Tromey <tromey@redhat.com>
841 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
843 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
846 (connectSignals): Realize the window widget after connecting
849 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
851 * java/awt/GraphicsEnvironment.java
852 (localGraphicsEnvironment): New field.
853 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
855 (isHeadless): Added support for java.awt.headless property.
856 (isHeadlessInstance): Call headless().
858 2005-04-25 Roman Kennke <roman@kennke.org>
860 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
861 (getDisplayMode): Added. Returns the current display mode.
862 (isFullScreenSupported): Added.
863 * java/awt/GraphicsDevice.java
864 (setFullScreenWindow): Implemented a primitive fullscreen mode.
865 This resizes and relocates the fullscreen window so that it uses
866 the whole screen. This is not a fully accelerated fullscreen
869 2005-04-25 Michael Koch <konqueror@gmx.de>
871 * java/lang/Runtime.java,
872 java/lang/SecurityManager.java,
873 java/lang/System.java,
874 java/lang/ThreadGroup.java:
875 Replaced java.lang.Runtime.securityManager by
876 java.lang.SecurityManager.current (as used in GNU classpath).
878 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
880 * java/awt/Transparency.java
881 (getTransparency): fixed API docs.
883 2005-04-25 Archie Cobbs <archie@dellroad.org>
885 * java/lang/Throwable.java: simplify initializing cause in constructor
887 2005-04-25 Michael Koch <konqueror@gmx.de>
889 * gnu/classpath/SystemProperties.java: New file.
890 * gnu/classpath/natSystemProperties.cc: New file.
891 * java/lang/Runtime.java
892 (defaultProperties): Removed.
894 (): Made thrown exceptions more verbose.
895 (insertSystemProperties): Removed.
896 * java/lang/System.java
898 (properties): Likewise.
899 (setSecurityManager): Reordered modifiers.
900 (getenv): Improved javadoc.
902 (isWordsBigEndian): Removed.
903 * java/lang/natRuntime.cc
904 (_Jv_SetDLLSearchPath): Likewise.
905 (file_encoding): Likewise.
906 (default_file_encoding): Likewise.
907 (getpwuid_adaptor): Likewise.
908 (insertSystemProperties): Likewise.
909 * java/lang/natSystem.cc
910 (isWordsBigEndian): Likewise.
912 (ordinary_java_source_files):
913 Added gnu/classpath/SystemProperties.java.
914 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
915 * Makefile.in: Regenerated.
917 2005-04-25 Roman Kennke <roman@kennke.org>
919 * javax/swing/plaf/basic/BasicScrollBarUI.java
920 (initDefaults): Initialize thumb*Color fields correctly.
922 2005-04-25 Roman Kennke <roman@kennke.org>
924 * javax/swing/text/GapContent.java:
927 2005-04-25 Roman Kennke <roman@kennke.org>
929 * javax/swing/plaf/metal/MetalBorders.java:
930 Added inner class ScrollPaneBorder.
931 * javax/swing/plaf/metal/MetalLookAndFeel.java
932 (initComponentDefaults): Added default for "ScrollPane.border"
933 to use the new ScrollPaneBorder.
935 2005-04-25 Roman Kennke <roman@kennke.org>
937 * javax/swing/text/AbstractDocument.java:
938 Added FIXME comments. This class still has to be
939 implemented thread-safe.
941 2005-04-25 Roman Kennke <roman@kennke.org>
943 * javax/swing/tree/DefaultTreeSelectionModel.java
944 (DefaultTreeSelectionModel): Initialize listenerList here.
946 2005-04-25 Roman Kennke <roman@kennke.org>
948 * javax/swing/plaf/metal/MetalTextFieldUI.java
949 (createUI): Return one instance per Component instead of a
952 2005-04-25 Roman Kennke <roman@kennke.org>
954 * javax/swing/text/Document.java:
955 Added API documentation comments.
957 2005-04-25 Roman Kennke <roman@kennke.org>
959 * javax/swing/text/AbstractDocument.java
960 (getDocumentProperties): Implemented.
961 (setDocumentProperties): Implemented.
962 (getProperty): Implemented.
963 (putProperty): Implemented.
965 2005-04-25 Roman Kennke <roman@kennke.org>
967 * javax/swing/BoxLayout
968 (preferredLayoutSize): Fixed computation so that it correctly
969 adds the top and bottom insets of the container.
971 2005-04-25 Roman Kennke <roman@kennke.org>
973 * javax/swing/plaf/basic/BasicMenuItemUI.java
974 (paintText): Make use of the 'selectionForeground' UI default
977 2005-04-25 Roman Kennke <roman@kennke.org>
979 * javax/swing/plaf/basic/BasicLookAndFeel.java
980 (initSystemColorDefaults): Modified colors to match the
981 BasicLookAndFeel in the reference implementation.
982 (initComponentDefaults): Likewise.
984 2005-04-25 Tom Tromey <tromey@redhat.com>
986 * include/jni.h (_Jv_va_list): Removed.
987 Moved configuration code...
988 * include/jni_md.h: ... here. New file.
989 * include/Makefile.in: Rebuilt.
990 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
992 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
994 * java/io/FileInputStream.java (FileInputStream(File)),
995 java/io/FileOutputStream.java (FileOutputStream(File)):
996 Removed unnecessary File.isDirectory() check.
998 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1000 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1001 gij if get_multilibs fails.
1003 2005-04-22 Anthony Green <green@redhat.com>
1005 * jni.cc (natrehash): Don't bother clearing memory again.
1006 * interpret.cc (do_allocate_static_fields): Ditto.
1007 * java/lang/natString.cc (rehash): Ditto.
1009 2005-04-22 Roman Kennke <roman@kennke.org>
1011 * javax/swing/plaf/basic/BasicLookAndFeel.java
1012 (initComponentDefaults): Changed Button.border to be
1013 BasicBorders.getButtonBorder as it should be.
1015 2005-04-22 Roman Kennke <roman@kennke.org>
1017 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1018 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1019 should according to a mauve testcase, instead of the preferred
1022 2005-04-22 Roman Kennke <roman@kennke.org>
1024 * javax/swing/JMenu.java
1025 (add): add(Component) now calls PopupMenu.insert(..) instead of
1026 PopupMenu.add(..). add(..) is not implemented for Component,
1027 so JComponent.add(..) is called instead, adding the component
1030 2005-04-22 Roman Kennke <roman@kennke.org>
1032 * javax/swing/plaf/basic/BasicButtonListener.java
1033 (mousePressed): replaced query to getModifiersEx with getModifiers.
1034 This method relied on faulty behaviour in getModifierEx.
1035 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1036 This method relied on faulty behaviour in getModifierEx.
1038 2005-04-22 Roman Kennke <roman@kennke.org>
1040 * javax/swing/plaf/metal/MetalLookAndFeel.java
1041 (getDefaults): Call addCustomEntriesToTable on the theme.
1043 2005-04-22 Roman Kennke <roman@kennke.org>
1045 * javax/swing/tree/DefaultTreeSelectionModel.java
1046 (constructor): Added implementation.
1047 (getRowMapper): Added implementation.
1048 (setSelectionMode): Added implementation.
1049 (getSelectionMode): Added implementation.
1050 (getSelectionPath): Added implementation.
1051 (getSelectionPaths): Added implementation.
1052 (getSelectionCount): Added implementation.
1053 (isSelectionEmpty): Added implementation.
1054 (getSelectionRows): Added implementation.
1055 (getMinSelectionRow): Added implementation.
1056 (getMaxSelectionRow): Added implementation.
1057 (getLeadSelectionRow): Added implementation.
1058 (getLeadSelectionPath): Added implementation.
1060 2005-04-22 Casey Marshall <csm@gnu.org>
1062 * gnu/java/security/der/DERValue.java
1063 (getValueAs): new method.
1064 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1065 (<init>): read both dates with 'DERValue.getValueAs', with
1066 'GENERALIZED_TIME' as the argument.
1068 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1070 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1071 be null, check for that case and don't deference it.
1073 2005-04-22 Sven de Marothy <sven@physto.se>
1075 * java/util/logging/LogManager.java: Reformatted.
1076 (readConfiguration): If a logger for a key is not found, create one.
1078 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1080 * java/rmi/Naming.java:
1081 Added class documentation.
1082 (lookup(String)): Call parseURL and getName.
1083 (bind(String,java.rmi.Remote)): Likewise.
1084 (unbind(String)): Likewise.
1085 (rebind(String, java.rmi.Remote)): Likewise.
1086 (list(String)): Call parseURL.
1087 (parseURL(String)): New method to handle parsing and defaults.
1088 (getName(java.net.URL)): New method to handle finding the service name.
1090 2005-04-21 Tom Tromey <tromey@redhat.com>
1092 * java/lang/natClass.cc (initializeClass): Link class.
1094 2005-04-21 Tom Tromey <tromey@redhat.com>
1096 * java/lang/AssertionError.java: Typo fix.
1098 2005-04-21 Tom Tromey <tromey@redhat.com>
1100 * java/lang/VMClassLoader.java (transformException): Removed.
1101 (resolveClass): No longer native. Now does nothing.
1102 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1104 2005-04-21 Anthony Green <green@redhat.com>
1107 * testsuite/libjava.special/special.exp,
1108 testsuite/libjava.special/pr21115I.java,
1109 testsuite/libjava.special/pr21115.java,
1110 testsuite/libjava.special/pr21115.out: New files.
1112 2005-04-21 Chris Burdess <dog@gnu.org>
1114 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1115 CRLF-delimited chunks.
1117 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1119 * java/net/URI.java:
1120 Added class documentation.
1121 (parseURI(String)): Only handle scheme-specific parts
1122 if URI is not opaque. Allow for parts that can't be null.
1123 (toString()): Output the scheme-specific part whole, rather
1124 than as its possibly non-existent components.
1126 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1128 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1129 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1130 Adjusted to match new regexp.
1132 2005-04-20 Michael Koch <konqueror@gmx.de>
1134 * gnu/java/net/protocol/file/Connection.java,
1135 gnu/java/net/protocol/jar/Connection.java:
1136 Reorganized import statements. Fixed @author tags.
1138 2005-04-20 Chris Burdess <dog@gnu.org>
1140 * java/io/DataOutputStream.java (writeUTF): Use block write for
1143 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1145 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1146 (readLine): Changed newline handling.
1148 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1150 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1151 ColorModel,byte[],int,int): Fixed byte to int conversion.
1153 2005-04-20 Michael Koch <konqueror@gmx.de>
1155 * java/io/FilePermission.java
1156 (serialVersionUID): Made private.
1157 (ALL_FILES): New constant.
1158 (implies): Handle '<<ALL FILES>>' case.
1160 2005-04-20 Sven de Marothy <sven@physto.se>
1162 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1163 (drawImage): Don't notify the image observer for offscreen images.
1164 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1165 (setPixels): Don't notify the image observer.
1167 2005-04-20 Sven de Marothy <sven@physto.se>
1169 * java/nio/ByteBufferImpl.java:
1170 (putChar): Inlined for speed.
1171 (put, get): Bulk methods can use arraycopy.
1172 * java/nio/CharBufferImpl.java:
1173 (put, get): Bulk methods can use arraycopy.
1175 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1177 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1179 * java/nio/CharBufferImpl.java
1180 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1181 (get(), put(char)): Inlined checks and field updates. Fixed to
1182 take array_offset into account.
1183 (get(int), put(int, char)): Fixed to take array_offset into account.
1185 2005-04-20 Sven de Marothy <sven@physto.se>
1187 * java/text/SimpleDateFormat.java:
1188 (formatWithAttribute): Pad year before truncating digits.
1190 2005-04-20 Michael Koch <konqueror@gmx.de>
1192 * gnu/java/net/PlainDatagramSocketImpl.java:
1193 Merged copyright header.
1194 * gnu/java/net/PlainSocketImpl.java:
1195 Reorganized import statements. Fixed @author tags.
1197 2005-04-20 Michael Koch <konqueror@gmx.de>
1199 * gnu/java/lang/ClassHelper.java,
1200 gnu/java/lang/reflect/TypeSignature.java:
1203 2005-04-20 Michael Koch <konqueror@gmx.de>
1205 * gnu/java/beans/IntrospectionIncubator.java:
1206 Fixed HTML tags in javadocs.
1208 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1210 * gnu/java/beans/IntrospectionIncubator.java
1211 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1212 set(), is(), add() and remove() with properties or events.
1214 2005-04-20 Michael Koch <konqueror@gmx.de>
1216 * gnu/java/awt/image/XBMDecoder.java:
1217 Fixed modifier order.
1219 2005-04-20 Roman Kennke <roman@kennke.org>
1221 * javax/swing/plaf/basic/BasicButtonUI.java
1222 (paint): This should not care about margin and insets
1223 at the same time, as insets already include the margin
1225 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1226 (getPreferredButtonSize): Likewise.
1227 * javax/swing/plaf/metal/MetalBorders.java
1228 (getBorderInsets): Likewise.
1230 2005-04-20 Roman Kennke <roman@kennke.org>
1232 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1233 (createMessageArea): The JPanel that holds the message area
1234 doesn't need to override getPreferredSize. This prevents some
1235 message components from rendering nicely.
1237 2005-04-20 Roman Kennke <roman@kennke.org>
1239 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1240 (createUI): Do not share instances between components.
1241 * javax/swing/plaf/metal/MetalSliderUI.java
1242 (createUI): Do not share instances between components.
1244 2005-04-20 Roman Kennke <roman@kennke.org>
1246 * javax/swing/plaf/metal/MetalBorders:
1247 (PopupMenuBorder): Added.
1248 * javax/swing/plaf/metal/MetalLookAndFeel
1249 (initComponentDefaults): Added PopupMenuBorder.
1251 2005-04-20 Roman Kennke <roman@kennke.org>
1253 * javax/swing/tree/DefaultTreeSelectionModel.java:
1254 Added API documentation all over the class.
1256 2005-04-20 Roman Kennke <roman@kennke.org>
1258 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1259 (installDefaults): Link managed JScrollPane in instance field.
1260 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1262 2005-04-20 Roman Kennke <roman@kennke.org>
1264 * javax/swing/plaf/basic/BasicScrollBarUI.java
1265 (PropertyChangeHandler.propertyChange): Add default
1266 to switch statement to avoid errors with unusual values
1268 (installComponents): Likewise.
1270 2005-04-20 Roman Kennke <roman@kennke.org>
1272 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1273 (createUI): Instances cannot be shared among JScrollPanes.
1275 2005-04-20 Roman Kennke <roman@kennke.org>
1277 * javax/swing/plaf/metal/MetalLookAndFeel.java
1278 (initComponentDefaults): Added defaults for Menu, MenuBar
1281 2005-04-20 Roman Kennke <roman@kennke.org>
1283 * javax/swing/plaf/basic/BasicScrollBarUI.java
1284 (installUI): Install listeners after everything all, otherwise
1285 we get strange NPEs in some situations, especially with
1287 (createIncreaseButton): Orientation is expected to be
1288 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1289 HORIZONTAL or VERTICAL.
1290 (createDecreaseButton): Orientation is expected to be
1291 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1292 HORIZONTAL or VERTICAL.
1293 (installComponents): Orientation for buttons is expected to be
1294 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1295 HORIZONTAL or VERTICAL.
1297 2005-04-20 Roman Kennke <roman@kennke.org>
1299 * javax/swing/JToolBar.java
1300 (addImpl): Adjust added AbstractButtons to look and feel like
1302 * javax/swing/plaf/metal/MetalBorders.java:
1303 Adjusted insets of ButtonBorder.
1304 (RolloverMarginBorder): Added class for toolbar buttons.
1305 (getButtonBorder): Adjusted factory method to return a shared
1306 instance of button border.
1307 (getToolbarButtonBorder): Added factory method to return a shared
1308 instance of toolbar button border.
1309 (getMarginBorder): Added factory method to return a shared
1310 instance of margin border.
1311 * javax/swing/plaf/metal/MetalButtonUI.java
1312 (installDefauls): If button is child of a JToolBar then set
1313 special border on this button.
1315 2005-04-20 Michael Koch <konqueror@gmx.de>
1317 * java/net/URLConnection.java
1318 (getContent): Fixed javadoc comment.
1320 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1322 * java/net/URL.java:
1323 (toURI()): Implemented.
1325 2005-04-19 Michael Koch <konqueror@gmx.de>
1327 * java/net/InetAddress.java
1328 (InetAddress): Fixed javadoc comment.
1330 (lookup): Added javadoc.
1331 (getFamily): Likewise.
1332 * java/net/ServerSocket.java
1333 (getChannel): Improved javadoc comment.
1335 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1337 * gnu/xml/dom/html2/DomHTMLParser.java:
1338 Changed 'enum' references to become 'enumeration'.
1340 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1342 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1344 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1346 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1347 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1348 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1349 (validateParameters(TagElement,htmlAttributeSet)):
1350 Replaced 'enum' with 'enumeration'.
1351 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1354 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1356 * javax/swing/text/html/parser/Entity.java (getType): New method.
1357 * javax/swing/text/html/parser/DocumentParser.java:
1358 Inherit from javax.swing.text.html.parser.Parser.
1360 2005-04-19 Chris Burdess <dog@gnu.org>
1362 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1363 check for HTML/XHTML namespace.
1365 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1367 * javax/swing/text/html/parser/Parser.java,
1368 javax/swing/text/html/parser/Entity.java:
1369 Inheriting from DTDConstants.
1370 * javax/swing/text/html/parser/AttributeList.java
1371 (getValues): Changed return type.
1372 * javax/swing/text/html/parser/DocumentParser
1373 (parse): Adding the callback parameter that receives
1376 2005-04-19 Chris Burdess <dog@gnu.org>
1378 * gnu/xml/dom/DomImpl.java,
1379 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1380 gnu/xml/dom/html2/DomHTMLDocument.java,
1381 gnu/xml/dom/html2/DomHTMLElement.java,
1382 gnu/xml/dom/html2/DomHTMLFormElement.java,
1383 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1384 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1385 gnu/xml/dom/html2/DomHTMLImpl.java,
1386 gnu/xml/dom/html2/DomHTMLInputElement.java,
1387 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1388 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1389 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1390 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1391 gnu/xml/dom/html2/DomHTMLTableElement.java,
1392 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1393 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1394 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1395 UI events, and tree utility functions.
1397 2005-04-19 Michael Koch <konqueror@gmx.de>
1399 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1400 gnu/javax/swing/text/html/parser/gnuDTD.java,
1401 gnu/javax/swing/text/html/parser/models/node.java:
1402 Reworked import statements.
1404 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1406 * javax/swing/text/html/HTMLDocument.java: New file.
1408 2005-04-19 Michael Koch <konqueror@gmx.de>
1410 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1412 * javax/swing/text/html/parser/AttributeList.java:
1413 Fixed order of modifiers.
1414 (AttributeList): Made final.
1415 * javax/swing/text/html/parser/ContentModel.java:
1416 Fixed html characters in javadocs.
1417 * javax/swing/text/html/parser/DTD.java
1418 (DTD): Don't implement java.io.Serializable directly.
1419 (getElement): Simplified.
1420 * javax/swing/text/html/parser/DTDConstants.java:
1422 * javax/swing/text/html/parser/Element.java:
1423 Fixed order of modifiers.
1424 * javax/swing/text/html/parser/Parser.java:
1425 Reformatted. Don't use fully-qualified class names.
1426 * javax/swing/text/html/parser/ParserDelegator.java:
1427 Fixed order of modifiers.
1428 * javax/swing/text/rtf/RTFParser.java:
1429 Re-ordered import statements.
1430 * javax/swing/text/rtf/RTFScanner.java:
1431 Removed unused import statement.
1433 2005-04-19 Chris Burdess <dog@gnu.org>
1435 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1436 gnu/xml/dom/html2/DomHTMLCollection.java,
1437 gnu/xml/dom/html2/DomHTMLDocument.java,
1438 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1440 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1441 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1442 gnu/xml/dom/html2/DomHTMLDivElement.java,
1443 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1444 gnu/xml/dom/html2/DomHTMLFontElement.java,
1445 gnu/xml/dom/html2/DomHTMLFormElement.java,
1446 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1447 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1448 gnu/xml/dom/html2/DomHTMLHRElement.java,
1449 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1450 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1451 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1452 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1453 gnu/xml/dom/html2/DomHTMLImageElement.java,
1454 gnu/xml/dom/html2/DomHTMLInputElement.java,
1455 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1456 gnu/xml/dom/html2/DomHTMLLIElement.java,
1457 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1458 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1459 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1460 gnu/xml/dom/html2/DomHTMLMapElement.java,
1461 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1462 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1463 gnu/xml/dom/html2/DomHTMLModElement.java,
1464 gnu/xml/dom/html2/DomHTMLOListElement.java,
1465 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1466 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1467 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1468 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1469 gnu/xml/dom/html2/DomHTMLParamElement.java,
1470 gnu/xml/dom/html2/DomHTMLPreElement.java,
1471 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1472 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1473 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1474 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1475 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1476 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1477 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1478 gnu/xml/dom/html2/DomHTMLTableElement.java,
1479 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1480 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1481 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1482 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1483 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1485 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1487 * javax/swing/text/ChangedCharSetException.java,
1488 javax/swing/text/html/HTMLEditorKit.java,
1489 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1490 javax/swing/text/html/parser/AttributeList.java,
1491 javax/swing/text/html/parser/ContentModel.java,
1492 javax/swing/text/html/parser/DocumentParser.java,
1493 javax/swing/text/html/parser/DTD.java,
1494 javax/swing/text/html/parser/DTDConstants.java,
1495 javax/swing/text/html/parser/Element.java,
1496 javax/swing/text/html/parser/Entity.java,
1497 javax/swing/text/html/parser/Parser.java,
1498 javax/swing/text/html/parser/TagElement.java,
1499 gnu/javax/swing/text/html/package.html,
1500 gnu/javax/swing/text/html/parser/gnuDTD.java,
1501 gnu/javax/swing/text/html/parser/HTML_401F.java,
1502 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1503 gnu/javax/swing/text/html/parser/htmlValidator.java,
1504 gnu/javax/swing/text/html/parser/package.html,
1505 gnu/javax/swing/text/html/parser/models/list.java,
1506 gnu/javax/swing/text/html/parser/models/node.java,
1507 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1508 gnu/javax/swing/text/html/parser/models/package.html,
1509 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1510 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1511 gnu/javax/swing/text/html/parser/models/transformer.java,
1512 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1513 gnu/javax/swing/text/html/parser/support/package.html,
1514 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1515 gnu/javax/swing/text/html/parser/support/Parser.java,
1516 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1517 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1518 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1519 gnu/javax/swing/text/html/parser/support/low/Location.java,
1520 gnu/javax/swing/text/html/parser/support/low/node.java,
1521 gnu/javax/swing/text/html/parser/support/low/package.html,
1522 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1523 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1524 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1525 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1527 * javax/swing/text/html/HTML.java,
1528 javax/swing/text/html/parser/ParserDelegator.java:
1529 New files (replacing).
1530 * javax/swing/text/html/package.html,
1531 javax/swing/text/html/parser/package.html: Documenting the
1534 2005-04-19 Chris Burdess <dog@gnu.org>
1536 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1537 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1538 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1539 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1540 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1541 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1542 gnu/xml/dom/html2/DomHTMLBRElement.java,
1543 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1544 gnu/xml/dom/html2/DomHTMLCollection.java,
1545 gnu/xml/dom/html2/DomHTMLDocument.java,
1546 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1548 2005-04-19 Michael Koch <konqueror@gmx.de>
1550 * Makefile.am: Added new files.
1551 * Makefile.in: Regenerated.
1553 2005-04-19 Roman Kennke <roman@kennke.org>
1555 * javax/swing/text/JTextComponent.java
1556 (JTextComponent): Added repaintListener which issues repaint
1557 requests when the underlying document changes.
1558 (setDocument): Adds repaintListener to document when the
1559 document is changed.
1560 * javax/swing/text/DefaultEditorKit.java:
1561 Removed repaint calls on JTextComponent. This is now handled
1562 through a DocumentListener in JTextComponent that repaints
1563 the component when needed.
1565 2005-04-19 Roman Kennke <roman@kennke.org>
1568 * javax/swing/text/StyleContext.java
1569 (NamedStyle.setResolveParent): Added null
1572 2005-04-19 Michael Koch <konqueror@gmx.de>
1574 * java/rmi/server/RemoteObject.java:
1575 Removed unused import statement.
1577 2005-04-19 Michael Koch <konqueror@gmx.de>
1579 * java/net/URL.java: Formatting cleanups.
1581 2005-04-19 Michael Koch <konqueror@gmx.de>
1583 * java/awt/FontMetrics.java: Reformatted.
1584 (getFontRenderContext): Handle case when java.awt.Graphics context is
1587 2005-04-19 Michael Koch <konqueror@gmx.de>
1589 * java/awt/FontMetrics.java
1590 (getStringBounds): New methods.
1593 2005-04-19 Michael Koch <konqueror@gmx.de>
1595 * gnu/java/security/x509/X509Certificate.java
1596 (parse): Handle val == null case.
1598 2005-04-19 Roman Kennke <roman@kennke.org>
1600 * javax/swing/plaf/metal/MetalLookAndFeel.java
1601 (initComponentDefaults): Added defaults for Menu, MenuBar
1604 2005-04-19 Roman Kennke <roman@kennke.org>
1606 * javax/swing/plaf/metal/MetalLookAndFeel.java
1607 (initComponentDefaults): Added Label.font.
1608 (initSystemColorDefaults): Added this method and adjusted the
1609 general control color.
1611 2005-04-19 Roman Kennke <roman@kennke.org>
1613 * javax/swing/plaf/metal/MetalBorders.java:
1615 * javax/swing/plaf/metal/MetalButtonUI.java:
1616 (installDefaults): Install button font.
1617 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1618 (initComponentDefaults): Added button border, font and margin.
1619 Changed components background color to the Metal current themes
1622 2005-04-19 Roman Kennke <roman@kennke.org>
1624 * javax/swing/plaf/metal/MetalLookAndFeel.java
1625 (initComponentDefaults): Added to set Metal specific component
1628 2005-04-19 Mark Wielaard <mark@klomp.org>
1630 * javax/swing/plaf/metal/MetalLookAndFeel.java
1631 (initClassDefaults): Call super.initClassDefaults().
1633 2005-04-19 Roman Kennke <roman@kennke.org>
1635 * javax/swing/plaf/metal/MetalLookAndFeel.java
1636 (initClassDefaults): Added to include the *UI classes.
1638 2005-04-19 Roman Kennke <roman@kennke.org>
1640 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1642 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1644 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1646 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1648 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1650 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1652 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1654 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1656 * javax/swing/plaf/metal/MetalSliderUI.java:
1658 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1660 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1662 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1664 2005-04-19 Roman Kennke <roman@kennke.org>
1666 * javax/swing/plaf/metal/MetalButtonUI.java:
1667 Added skeleton class.
1668 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1669 Added skeleton class.
1670 * javax/swing/plaf/metal/MetalLabelUI.java:
1671 Added skeleton class.
1672 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1673 Added skeleton class.
1674 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1675 Added skeleton class.
1676 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1677 Added skeleton class.
1679 2005-04-19 Roman Kennke <roman@kennke.org>
1681 * javax/swing/UIDefaults.java:
1682 Added API documentation for all methods.
1684 2005-04-19 Roman Kennke <roman@kennke.org>
1686 * javax/swing/UIDefaults.java
1687 (put): Now uses new checkAndPut method instead of checking
1689 (putDefaults): Fixed so that it accepts null-values and
1690 treats them like remove(key).
1691 (checkAndPut): Added. This checks for null-values and calls
1694 2005-04-19 Michael Koch <konqueror@gmx.de>
1696 * Makefile.am: Added new files.
1697 * Makefile.in: Regenerated.
1699 2005-04-19 Mark Wielaard <mark@klomp.org>
1701 * java/lang/natRuntime.cc (insertSystemProperties): Set
1702 java.class.path to CLASSPATH only when not empty. Fall back to
1703 default path "." when java.class.path is empty.
1705 2005-04-19 Michael Koch <konqueror@gmx.de>
1707 * javax/swing/text/rtf/ControlWordToken.java,
1708 javax/swing/text/rtf/RTFEditorKit.java,
1709 javax/swing/text/rtf/RTFParseException.java,
1710 javax/swing/text/rtf/RTFParser.java,
1711 javax/swing/text/rtf/RTFScanner.java,
1712 javax/swing/text/rtf/TextToken.java,
1713 javax/swing/text/rtf/Token.java: New files.
1714 * Makefile.am: Added new files.
1715 * Makefile.in: Regenerated.
1717 2005-04-19 Michael Koch <konqueror@gmx.de>
1719 * java/awt/geom/QuadCurve2D.java:
1720 Fixed Brian Gough's name for real.
1722 2005-04-19 Roman Kennke <roman@kennke.org>
1724 * javax/swing/UIManager.java:
1725 Make the UIManager respect the swing.defaultlaf system
1728 2005-04-19 Tom Tromey <tromey@redhat.com>
1730 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1733 2005-04-19 Roman Kennke <roman@kennke.org>
1735 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1736 Fixed tabs to spaces.
1738 2005-04-19 Roman Kennke <roman@kennke.org>
1740 * javax/swing/plaf/basic/BasicMenuUI.java
1741 (getMaximumSize): Now returns preferredSize because JMenu should
1742 never be bigger than that.
1743 * javax/swing/JRootPane
1744 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1746 2005-04-19 Roman Kennke <roman@kennke.org>
1748 * javax/swing/JRootPane.java:
1749 Fixed various tabs to be spaces.
1750 (RootLayout.layoutContainer): Made menubar left aligned.
1752 2005-04-19 Roman Kennke <roman@ontographics.com>
1754 * javax/swing/JList.java
1755 (getPreferredScrollableViewportSize):
1756 The previous implementation was merely guessing the size,
1757 now it respects layoutOrientation, visibleRowCount
1759 (getScrollableTracksViewportHeight):
1760 Reimplemented so that layoutOrientation, visibleRowCount
1761 and preferred size are respected.
1762 (getScrollableTracksViewportWidth):
1763 Reimplemented so that layoutOrientation, visibleRowCount
1764 and preferred size are respected.
1765 * javax/swing/plaf/basic/BasicListUI.java
1767 Improved calculation of preferredSize when JList is
1768 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1770 The previous implementation assumed a layoutOrientation of
1771 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1772 JList.VERTICAL_WRAP.
1774 2005-04-19 Roman Kennke <roman@ontographics.com>
1776 * javax/swing/plaf/basic/BasicListUI.java
1777 (paintCell): use CellRendererPane for painting the cells.
1779 2005-04-19 Roman Kennke <roman@ontographics.com>
1781 * javax/swing/plaf/basic/BasicListUI:
1782 fixed modifiers of several fields, methods and inner
1783 classes to match the 'spec'.
1784 (getMaximumSize): removed. It's not in the spec and the
1785 implementations was superfluous.
1787 2005-04-19 Roman Kennke <roman@ontographics.com>
1789 * javax/swing/plaf/basic/BasicListUI:
1790 make BasicListUI capable of wrapping lists
1791 (layoutOrientation property of javax.swing.JList)
1793 2005-04-19 Roman Kennke <roman@ontographics.com>
1795 * javax/swing/plaf/basic/BasicListUI
1796 (updateLayoutState,paint): make BasicListUI aware of the
1797 width of the rendered JList.
1799 2005-04-19 Roman Kennke <roman@kennke.org>
1801 * javax/swing/ImageIcon.java
1802 Added API documentation.
1804 2005-04-19 Roman Kennke <roman@kennke.org>
1806 * javax/swing/text/ImageIcon.java
1807 (ImageIcon): Use setImage instead of direct assignment.
1808 (setImage): Call loadImage to make sure that the image is loaded.
1809 (loadImage): Waits for the image to complete loading.
1810 (getImageLoadStatus): Added. Returns the load status of the
1813 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1815 * javax/swing/JTextArea.java (replaceRange):
1816 Fixing doc.remove(start, length) misinterpretation.
1818 2005-04-19 Roman Kennke <roman@ontographics.com>
1820 * javax/swing/CellRendererPane.java:
1821 implemented all methods of this class.
1822 reformatted all wrong formatted code.
1824 2005-04-19 Roman Kennke <roman@kennke.org>
1826 * javax/swing/BoxLayout.java:
1827 (layoutContainer): Made this layout manager respect the
1828 minimum, maximum and preferred size more correctly.
1830 2005-04-19 Roman Kennke <roman@ontographics.com>
1832 * javax/swing/BoxLayout.java:
1833 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1834 layoutContainer): Make these methods and thereby the
1835 BoxLayout respect the insets (like borders) of the
1836 component that is laid out.
1838 2005-04-19 Roman Kennke <roman@kennke.org>
1840 * javax/swing/JComponent.java:
1841 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1842 Untabified the file.
1844 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1846 * javax/swing/JComboBox.java (constructors): selecting the
1847 first item if the box was constructed from the provided
1848 non - empty array or vector.
1850 2005-04-19 Michael Koch <konqueror@gmx.de>
1852 * gnu/java/awt/peer/gtk/GdkGraphics.java
1853 (getClipBounds): Handle clip being null.
1854 (setClip): Likewise.
1855 * java/beans/beancontext/BeanContextSupport.java
1859 (removeAll): Likewise.
1860 (retainAll): Likewise.
1862 2005-04-19 Michael Koch <konqueror@gmx.de>
1864 * java/beans/beancontext/BeanContextServicesSupport.java
1865 (BeanContextServicesSupport): Reimplemented.
1866 (addBeanContextServicesListener): Implemented.
1867 (initialize): Likewise.
1868 (removeBeanContextServicesListener): Likewise.
1869 * java/beans/beancontext/BeanContextSupport.java
1871 (addBeanContextMembershipListener): Likewise.
1872 (getLocale): Likewise.
1873 (initialize): Likewise.
1874 (iterator): Likewise.
1876 (toArray): Likewise.
1878 2005-04-19 Roman Kennke <roman@kennke.org>
1880 * java/awt/MediaTracker.java:
1881 Reindented tabs to spaces.
1883 2005-04-19 Roman Kennke <roman@kennke.org>
1885 * java/awt/MediaTracker.java
1886 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1887 confused the media tracker and lead to lockups. The LOADING
1888 bit is handled on other places.
1889 (addImage): Removed the 'start image tracking' stuff. This
1890 is not necessary and could confuse the media tracker.
1891 (checkAll): Improved the check for image status so that
1892 images that already complete images are detected. Also now
1893 are really all images checked and if necessary loaded. Before
1894 the method bailed out after the first incomplete image.
1895 (statusAll): Detect images that are complete after the
1896 call to Component.prepareImage(..).
1897 (checkID): The same as in checkAll.
1898 (statusID): The same as in statusAll.
1900 2005-04-19 Roman Kennke <roman@kennke.org>
1902 * java/awt/MediaTracker.java
1903 (addImage): Synchronized list access.
1904 (waitForAll): Fixed comparison of time (changed < to >).
1905 (waitForID): Fixed comparison of time (changed < to >).
1906 (removeImage): Synchronized list access.
1908 2005-04-19 Roman Kennke <roman@kennke.org>
1910 * java/awt/MediaTracker.java
1911 Added API documentation.
1913 2005-04-19 Roman Kennke <roman@kennke.org>
1915 * java/awt/MediaTracker.java
1916 (MediaEntry.imageUpdate): Fixed flags. The different flags
1917 must not be ORed together.
1918 (checkAll): Modified to handle different meaning of the flags.
1919 (waitForAll): Fixed so that it waits maximum the
1920 specified amount of milliseconds.
1921 (statusAll): Modified to handle different meaning of the flags.
1922 (waitForID): Fixed so that it waits maximum the
1923 specified amount of milliseconds.
1925 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
1927 * java/awt/Font.java (decode): Handle null argument and allow
1930 2005-04-19 Robert Schuster <thebohemian@gmx.net>
1932 * java/beans/EventHandler.java: Reworked documentation.
1933 (invoke): Fixed behavior to match spec.
1935 2005-04-19 Michael Koch <konqueror@gmx.de>
1937 * java/awt/print/PrinterJob.java
1938 (pageDialog): New method.
1939 (printDialog): Implemented.
1941 2005-04-19 Michael Koch <konqueror@gmx.de>
1943 * java/awt/image/ConvolveOp.java:
1944 Removed comment added by eclipse.
1946 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
1948 * java/awt/image/IndexColorModel.java
1949 (getRGB): Check if pixel is negative.
1951 2005-04-19 Michael Koch <konqueror@gmx.de>
1953 * java/awt/image/RasterOp.java:
1954 Fixed wrong formatting.
1956 2005-04-18 Roman Kennke <roman@kennke.org>
1958 * java/awt/Compmonent.java
1959 (setComponentOrientation): Made this property firing a
1960 PropertyChangeEvent.
1962 2005-04-18 Roman Kennke <roman@kennke.org>
1964 * java/awt/BorderLayout.java
1965 (calcSize): Check for overflow when component sizes are added.
1967 2005-04-18 Robert Schuster <thebohemian@gmx.net>
1969 * java/awt/AWTEvent.java (toString): Added case
1970 for source not being an AWT component.
1972 2005-04-18 Chris Burdess <dog@gnu.org>
1974 * gnu/java/net/BASE64.java: Truncate encoded byte array.
1976 2005-04-18 Michael Koch <konqueror@gmx.de>
1978 gnu/java/awt/EmbeddedWindowSupport.java,
1979 gnu/java/net/HeaderFieldHelper.java,
1980 gnu/java/net/URLParseError.java,
1981 gnu/java/net/protocol/file/Handler.java,
1982 gnu/java/net/protocol/jar/Handler.java:
1983 Fixed usage of @author tag.
1985 2005-04-18 Michael Koch <konqueror@gmx.de>
1987 * gnu/xml/aelfred2/XmlParser.java:
1988 Reverted my typo fix.
1990 2005-04-18 Michael Koch <konqueror@gmx.de>
1992 * java/awt/geom/CubicCurve2D.java,
1993 java/awt/geom/QuadCurve2D.java:
1994 Fixed mentioning of Brian Gouph.
1996 2005-04-18 Michael Koch <konqueror@gmx.de>
1998 * gnu/java/awt/Buffers.java,
1999 gnu/java/awt/image/ImageDecoder.java,
2000 gnu/java/awt/image/XBMDecoder.java,
2001 gnu/java/awt/peer/ClasspathFontPeer.java,
2002 gnu/java/net/CRLFInputStream.java,
2003 gnu/java/net/EmptyX509TrustManager.java,
2004 gnu/java/net/LineInputStream.java,
2005 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2006 gnu/java/net/protocol/ftp/BlockInputStream.java,
2007 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2008 gnu/java/net/protocol/ftp/DTP.java,
2009 gnu/java/net/protocol/ftp/DTPInputStream.java,
2010 gnu/java/net/protocol/ftp/FTPConnection.java,
2011 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2012 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2013 gnu/java/net/protocol/ftp/StreamInputStream.java,
2014 gnu/java/net/protocol/http/ChunkedInputStream.java,
2015 gnu/java/net/protocol/http/HTTPConnection.java,
2016 gnu/java/net/protocol/http/HTTPURLConnection.java,
2017 gnu/java/net/protocol/http/Headers.java,
2018 gnu/java/net/protocol/http/Request.java,
2019 gnu/java/nio/ChannelInputStream.java,
2020 gnu/java/nio/ChannelOutputStream.java,
2021 gnu/java/nio/InputStreamChannel.java,
2022 gnu/java/nio/OutputStreamChannel.java,
2023 gnu/java/nio/SelectorProviderImpl.java,
2024 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2025 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2026 gnu/java/rmi/dgc/DGCImpl.java,
2027 gnu/java/rmi/registry/RegistryImpl.java,
2028 gnu/java/rmi/server/ProtocolConstants.java,
2029 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2030 gnu/java/rmi/server/RMIIncomingThread.java,
2031 gnu/java/rmi/server/RMIObjectInputStream.java,
2032 gnu/java/rmi/server/RMIObjectOutputStream.java,
2033 gnu/java/rmi/server/RMIVoidValue.java,
2034 gnu/java/rmi/server/UnicastConnectionManager.java,
2035 gnu/java/rmi/server/UnicastRef.java,
2036 gnu/java/rmi/server/UnicastRemoteCall.java,
2037 gnu/java/rmi/server/UnicastRemoteStub.java,
2038 gnu/java/rmi/server/UnicastServerRef.java,
2039 gnu/java/security/OID.java,
2040 gnu/java/security/der/DERReader.java,
2041 gnu/java/security/provider/CollectionCertStoreImpl.java,
2042 gnu/java/security/provider/DSAParameterGenerator.java,
2043 gnu/java/security/provider/DefaultPolicy.java,
2044 gnu/java/security/provider/EncodedKeyFactory.java,
2045 gnu/java/security/provider/GnuDHPublicKey.java,
2046 gnu/java/security/provider/GnuDSAPrivateKey.java,
2047 gnu/java/security/provider/GnuDSAPublicKey.java,
2048 gnu/java/security/provider/GnuRSAPrivateKey.java,
2049 gnu/java/security/provider/GnuRSAPublicKey.java,
2050 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2051 gnu/java/security/provider/RSA.java,
2052 gnu/java/security/provider/SHA1PRNG.java,
2053 gnu/java/security/provider/SHA1withRSA.java,
2054 gnu/java/security/provider/X509CertificateFactory.java,
2055 gnu/java/security/x509/GnuPKIExtension.java,
2056 gnu/java/security/x509/X500DistinguishedName.java,
2057 gnu/java/security/x509/X509CRL.java,
2058 gnu/java/security/x509/X509CRLEntry.java,
2059 gnu/java/security/x509/X509CertPath.java,
2060 gnu/java/security/x509/X509CertSelectorImpl.java,
2061 gnu/java/security/x509/X509Certificate.java,
2062 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2063 gnu/java/security/x509/ext/BasicConstraints.java,
2064 gnu/java/security/x509/ext/CRLNumber.java,
2065 gnu/java/security/x509/ext/CertificatePolicies.java,
2066 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2067 gnu/java/security/x509/ext/Extension.java,
2068 gnu/java/security/x509/ext/GeneralNames.java,
2069 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2070 gnu/java/security/x509/ext/KeyUsage.java,
2071 gnu/java/security/x509/ext/PolicyConstraint.java,
2072 gnu/java/security/x509/ext/PolicyMappings.java,
2073 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2074 gnu/java/security/x509/ext/ReasonCode.java,
2075 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2076 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2077 Reorganized import statements.
2079 2005-04-18 Michael Koch <konqueror@gmx.de>
2081 * gnu/java/awt/color/CieXyzConverter.java,
2082 gnu/java/awt/color/ClutProfileConverter.java,
2083 gnu/java/awt/color/ColorLookUpTable.java,
2084 gnu/java/awt/color/ColorSpaceConverter.java,
2085 gnu/java/awt/color/GrayProfileConverter.java,
2086 gnu/java/awt/color/GrayScaleConverter.java,
2087 gnu/java/awt/color/LinearRGBConverter.java,
2088 gnu/java/awt/color/ProfileHeader.java,
2089 gnu/java/awt/color/PyccConverter.java,
2090 gnu/java/awt/color/RgbProfileConverter.java,
2091 gnu/java/awt/color/SrgbConverter.java,
2092 gnu/java/awt/color/TagEntry.java,
2093 gnu/java/awt/color/ToneReproductionCurve.java:
2094 Standardized file headers.
2096 2005-04-16 Tom Tromey <tromey@redhat.com>
2098 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2099 'ANY' package-private.
2101 2005-04-15 Tom Tromey <tromey@redhat.com>
2103 * Makefile.in: Rebuilt.
2104 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2105 (libgcj0_convenience_la_LIBADD): ... here.
2107 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2109 * gij.cc (version): Properly quote java version.
2110 (main): Fix typo in comment.
2112 2005-04-13 Mark Wielaard <mark@klomp.org>
2114 * java/lang/natRuntime.cc (insertSystemProperties): Set
2115 java.class.path to CLASSPATH if not already set.
2117 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2119 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2121 2005-04-12 Mike Stump <mrs@apple.com>
2123 * configure: Regenerate.
2125 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2128 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2129 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2131 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2134 * scripts/TexinfoDoclet.java: Removed.
2135 * Makefile.am (texinfo): Removed.
2136 * Makefile.in: Regenerated.
2138 2005-04-11 Michael Koch <konqueror@gmx.de>
2140 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2141 Fixed wrong casting.
2143 2005-04-06 Andrew Haley <aph@redhat.com>
2145 * testsuite/libjava.lang/bytearray.java: New file.
2146 * testsuite/libjava.lang/bytearray.out: New file.
2147 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2148 (loadClass): Use it.
2149 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2151 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2153 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2154 gcj-dbtool dependency
2155 * Makefile.in: Regenerated
2157 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2159 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2160 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2162 2005-04-05 Andrew Haley <aph@redhat.com>
2164 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2165 (Tokenizer): New class.
2166 (getFiles): New method.
2167 (main): Add "-" argument.
2169 Read list of files from stdin when merging map databases.
2170 (usage): Add "-" argument.
2174 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2177 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2178 * Makefile.in: Regenerate.
2179 * configure.ac: Add --with-java-home option.
2180 * configure: Regenerate.
2181 * external/Makefile.in: Regenerate.
2182 * external/sax/Makefile.in: Regenerate.
2183 * external/w3c_dom/Makefile.in: Regenerate.
2184 * gcj/Makefile.in: Regenerate.
2185 * include/Makefile.in: Regenerate.
2186 * testsuite/Makefile.in: Regenerate.
2187 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2190 2005-04-05 Tom Tromey <tromey@redhat.com>
2192 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2193 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2194 Rewrote to use _Jv_FindClassFromSignature.
2195 * verify.cc (resolve): throw NoClassDefFoundError.
2196 * link.cc (resolve_field): Throw NoClassDefFoundError.
2197 (find_field): Likewise.
2198 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2199 Handle error cases. Added 'endp' argument.
2200 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2202 2005-04-05 Tom Tromey <tromey@redhat.com>
2204 * Makefile.in: Rebuilt.
2205 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2206 gtk_awt_peer_sources.
2207 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2208 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2209 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2210 (gtk-awt-peer.lo): New target.
2212 2005-04-04 Steve Pribyl <steve@netfuel.com>
2215 * configure.ac: Fix fastjar definition for cross builds.
2216 * configure: Rebuilt.
2218 2005-04-04 Tom Tromey <tromey@redhat.com>
2220 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2221 it was already found.
2223 2005-04-04 Tom Tromey <tromey@redhat.com>
2225 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2226 org.metastatic.jessie.
2228 2005-04-02 Anthony Green <green@redhat.com>
2231 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2233 2005-04-02 Mark Wielaard <mark@klomp.org>
2235 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2236 Attributes and attribute order doesn't matter.
2237 (BasicAttributesEnumeration.where): Initialize to zero.
2238 (BasicAttributesEnumeration.nextElement): Update and compare where
2239 appropriately (zero based).
2241 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2243 PR libgcj/20090, PR libgcj/20526
2244 * gij.cc (nonstandard_opts_help): New function.
2245 (add_option): New function.
2246 (main): Support java options. Set java.class.path. Don't set
2248 * prims.cc (parse_x_arg): New function.
2249 (parse_init_args): Call parse_x_arg for -X and _ options, when
2250 ignoreUnrecognized is true.
2251 (new _Jv_RunMain): New vm_args variant.
2252 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2253 (_Jv_Jar_Class_Path): Remove variable.
2254 * include/java-props.h: Likewise.
2255 * include/cni.h (JvRealloc): New function.
2256 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2257 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2258 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2260 * configure.ac (JV_VERSION): Define.
2261 (JV_API_VERSION): Likewise.
2262 * configure: Regenerate.
2263 * include/config.h.in: Regenerate.
2265 2005-04-01 Mark Anderson <mark@panonet.net>
2267 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2268 -Infinity as parameters.
2270 2005-04-01 Michael Koch <konqueror@gmx.de>
2272 * java/io/PipedInputStream.java
2273 (read): Make sure a positive byte value is returned. Revised javadoc.
2274 Thanks to Olafur Bragason for reporting these bugs.
2276 2005-04-01 Tom Tromey <tromey@redhat.com>
2278 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2279 Updated for name change.
2280 (nativeFindClass): New method.
2281 (loadClass): Use nativeFindClass.
2282 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2284 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2285 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2287 (initialize): New method.
2288 (nativeFindClass): Declare.
2289 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2290 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2291 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2293 (definePackageForNative): Removed.
2294 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2295 Moved to VMClassLoader.java.
2296 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2297 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2298 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2299 removed VMClassLoader.java.
2300 (nat_source_files): Removed natVMClassLoader.cc.
2302 2005-04-01 Tom Tromey <tromey@redhat.com>
2304 * Makefile.in: Rebuilt.
2305 * Makefile.am (db_pathtail): Use $(gcc_version), not
2308 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2310 * java/util/Timer.java
2311 (run): Stop the queue if a task throws an exception.
2313 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2315 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2317 2005-03-29 Ian Lance Taylor <ian@airs.com>
2319 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2320 * external/sax/Makefile.in: Rebuild.
2321 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2323 * external/w3c_dom/Makefile.in: Rebuild.
2325 2005-03-29 Tom Tromey <tromey@redhat.com>
2327 * java/lang/natRuntime.cc (insertSystemProperties): Set
2328 gnu.gcj.runtime.endorsed.dirs.
2329 * Makefile.in: Rebuilt.
2330 * Makefile.am (ordinary_java_source_files): Added
2331 HelperClassLoader.java.
2332 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2333 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2335 (init): Use addDirectoriesFromProperty.
2336 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2337 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2338 gnu.gcj.runtime.endorsed.dirs.
2339 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2341 2005-03-26 Chris Burdess <dog@gnu.org>
2343 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2346 2005-03-13 Michael Koch <konqueror@gmx.de>
2348 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2350 2005-03-11 Chris Burdess <dog@gnu.org>
2352 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2355 2005-02-27 Chris Burdess <dog@gnu.org>
2357 * gnu/xml/aelfred2/JAXPFactory.java,
2358 gnu/xml/aelfred2/SAXDriver.java,
2359 gnu/xml/aelfred2/XmlParser.java,
2360 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2361 formatting conventions. Replaced arrays of Object with struct-like
2362 classes for easier maintainability. Made SAXDriver.stringInterning
2363 package private to allow access from XmlParser inside the loop without
2364 a method call overhead.
2366 2005-03-11 Chris Burdess <dog@gnu.org>
2368 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2371 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2373 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2374 settings to sub Makefiles.
2375 (GCJH, ZIP): Prefix with top_builddir.
2376 * configure: Rebuild.
2377 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2378 * external/w3c_dom/Makefile.in: Rebuild.
2379 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2380 * external/sax/Makefile.in: Rebuild.
2382 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2384 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2385 libsocket to the libraries to link for Solaris.
2387 2005-03-28 Per Bothner <per@bothner.com>
2389 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2390 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2392 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2394 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2395 to fix a ONESTEP fallout.
2396 * Makefile.in: Regenerate.
2398 2005-03-25 Mike Stump <mrs@apple.com>
2400 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2401 paths like we do for the compiler, as we use it in external/sax
2402 and it doesn't get MULTIBUILDTOP right when multilibing.
2404 2005-03-24 Anthony Green <green@redhat.com>
2406 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2408 (usage): Add [LIBDIR] to help output.
2409 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2410 * Makefile.am (AM_CXXFLAGS): Define
2411 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2412 (db_pathtail): New macro.
2414 2005-03-24 Tom Tromey <tromey@redhat.com>
2416 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2417 add sax and w3c libraries.
2418 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2420 * external/w3c_dom/Makefile.in: Rebuilt.
2421 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2423 (libw3c_gcj_la_LDFLAGS): New variable.
2424 (noinst_LTLIBRARIES): Renamed.
2425 * external/sax/Makefile.in: Rebuilt.
2426 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2428 (libsax_gcj_la_LDFLAGS): New variable.
2429 (noinst_LTLIBRARIES): Renamed.
2431 2005-03-23 Tom Tromey <tromey@redhat.com>
2433 * Makefile.in: Rebuilt.
2434 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2435 (libgcj0_convenience_la_SOURCES): Don't include
2436 gnu_xml_source_files.
2437 (libgcj0_convenience_la_LIBADD): New variable.
2438 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2439 (all_java_source_files): javax_imageio_source_files,
2440 javax_xml_source_files, and gnu_java_beans_source_files.
2441 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2442 (gnu-xml.lo): New target.
2443 (javax-imageio.lo): Likewise.
2444 (javax-xml.lo): Likewise.
2445 (gnu-java-beans.lo): Likewise.
2446 (gnu_java_beans_source_files): New variable.
2447 (javax_imageio_source_files): Likewise.
2448 (javax_xml_source_files): Likewise.
2449 (javax_source_files): Moved files to other variable.
2450 (awt_java_source_files): Likewise.
2451 (ordinary_java_source_files): Added BootClassLoader.java.
2452 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2453 not system class loader.
2454 (initBootLoader): New method.
2455 (loadClass): Search bootLoader.
2456 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2457 boot loader, not system class loader.
2458 (_Jv_UnregisterInitiatingLoader): Likewise.
2459 (_Jv_FindClass): Likewise. Ensure entries in
2460 bootstrap_class_list are unique.
2461 * java/lang/natClass.cc (getClassLoader): Don't special case
2462 system class loader.
2463 * java/lang/VMClassLoader.java (bootLoader): New field.
2464 (getResource): Use bootLoader.
2465 (getResources): Likewise.
2466 (initBootLoader): Declare.
2467 * gnu/gcj/runtime/BootClassLoader.java: New file.
2468 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2469 (EMPTY_ENUMERATION): Now package-private.
2470 * external/w3c_com/Makefile.in: Rebuilt.
2471 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2472 (w3c.jar): New target.
2473 (classes.stamp): Updated.
2474 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2475 Changed name of library.
2476 (libw3c_gcj_la_SOURCES): New variable.
2477 (libw3c_gcj_la_GCJFLAGS): Likewise.
2478 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2479 * external/sax/Makefile.in: Rebuilt.
2480 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2481 (sax.jar): New target.
2482 (classes.stamp): Updated.
2483 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2484 Changed name of library.
2485 (libsax_gcj_la_SOURCES): New variable.
2486 (libsax_gcj_la_GCJFLAGS): Likewise.
2487 (source_files): Renamed from libsax_convenience_la_SOURCES.
2488 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2490 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2492 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2494 2005-03-23 Sven de Marothy <sven@physto.se>
2496 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2498 * java/util/Calendar.java
2499 (set): Use starting day of week when one is needed if none is given.
2500 * java/text/SimpleDateFormat.java
2501 (parse): Handle 1-12 and 1-24 timestamps correctly.
2502 * java/util/GregorianCalendar.java
2503 (computeTime, computeFields): HOUR should be in 0-11 format.
2504 (nonLeniencyCheck): Adjust leniency checking to that fact.
2505 (getLinearDay): Should be private.
2507 2005-03-23 Tom Tromey <tromey@redhat.com>
2509 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2510 (_Jv_CheckABIVersion): Use it.
2512 2005-03-22 Mike Stump <mrs@apple.com>
2514 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2516 * include/posix.h: .dylib is used on all Apple MACH platforms.
2517 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2519 2005-03-22 Tom Tromey <tromey@redhat.com>
2521 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2523 2005-03-21 Tom Tromey <tromey@redhat.com>
2525 * java/lang/VMCompiler.java (static block): Also catch
2526 BufferUnderflowException.
2528 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2530 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2531 set tool_include_dir. In all substitutions, leave $(gcc_version)
2532 to be expanded by the Makefile.
2533 * aclocal.m4, configure: Regenerate.
2534 * Makefile.am: Set gcc_version. Replace all uses of
2535 @gcc_version@ with $(gcc_version).
2536 * external/Makefile.am, external/sax/Makefile.am
2537 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2538 * testsuite/Makefile.am: Set gcc_version.
2539 * include/Makefile.am: Set gcc_version and tool_include_dir.
2540 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2541 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2542 * testsuite/Makefile.in: Regenerate.
2544 2005-03-17 Andrew Haley <aph@redhat.com>
2546 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2548 Pass klass to _Jv_StackTrace::GetClassContext().
2549 * java/lang/ClassLoader.java (getParent): Pass class to
2550 VMSecurityManager.getClassContext()
2551 (getSystemClassLoader): Likewise.
2552 * java/lang/Package.java (getPackage): Likewise.
2553 (getPackages): Likewise.
2554 * java/lang/SecurityManager.java (getClassContext): Likewise.
2555 (currentClassLoader): Likewise.
2556 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2557 (currentClassLoader) Add new arg: caller.
2558 Pass caller to VMSecurityManager.getClassContext.
2560 * stacktrace.cc (GetClassContext): Correct calculation of
2563 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2564 im->source_file_name.
2566 2005-03-16 Andrew Haley <aph@redhat.com>
2568 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2570 2005-03-16 Tom Tromey <tromey@redhat.com>
2572 * link.cc (ensure_class_linked): Removed #ifdef.
2573 (print_class_loaded): Likewise.
2574 (wait_for_state): Likewise.
2575 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2576 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2577 * include/java-interp.h: ... here.
2579 2005-03-16 Tom Tromey <tromey@redhat.com>
2581 * gnu/java/lang/MainThread.java (run): Load main class using
2582 system class loader.
2584 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2586 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2587 lgcc_s to the libraries to link for Darwin.
2589 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2591 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2592 interpreter-specific code with #ifdef INTERPRETER.
2593 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2594 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2595 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2596 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2597 #ifdef INTERPRETER. Also protect declarations that use it.
2598 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2599 #ifdef INTERPRETER block.
2601 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2604 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2605 * Makefile.in: Rebuilt.
2607 2005-03-15 David Daney <ddaney@avtrex.com>
2609 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2612 2005-03-15 David Daney <ddaney@avtrex.com>
2614 * java/io/BufferedInputStream.java (available): Use 'in' instead
2615 of 'super' for underlying stream access.
2617 (read(byte[], int, int)): Ditto.
2619 (skip): Call skip on underlying stream when possible.
2621 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2623 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2624 SJLJ_EXCEPTIONS is defined.
2626 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2628 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2631 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2633 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2635 (libjava_arguments): Likewise.
2637 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2638 (gcj_jni_test_one): Likewise.
2639 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2640 Add flags to keep the Darwin linker quiet.
2641 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2642 Add -liconv for Darwin.
2644 2005-03-11 Tom Tromey <tromey@redhat.com>
2646 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2647 (_Jv_CheckABIVersion): Use it.
2649 2005-03-11 Tom Tromey <tromey@redhat.com>
2651 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2652 (usage): Document '-p'.
2653 * Makefile.in: Rebuilt.
2654 * Makefile.am (dbexecdir): New variable.
2655 (db_name): Likewise.
2656 (dbexec_DATA): Likewise.
2657 ($(db_name)): New target.
2658 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2659 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2662 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2664 * exception.cc: Remove stray MethodRef.h include.
2665 * java/lang/natClass.cc: Likewise.
2666 * gnu/gcj/runtime/MethodRef.java: Removed.
2667 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2668 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2669 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2670 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2671 * Makefile.in: Rebuilt.
2673 2005-03-10 Tom Tromey <tromey@redhat.com>
2675 * Makefile.in: Rebuilt.
2676 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2678 2005-03-10 Chris Burdess <dog@bluezoo.org>
2680 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2681 not currently parsing the DTD.
2683 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2685 New Stack Trace infrastructure.
2686 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2687 (gnu/gcj/runtime/StackTrace.java): Removed.
2688 (ordinary_java_source_files): Remove obsolete files.
2689 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2690 * configure.host (fallback_backtrace_h): Set backtrace header
2691 for mingw and cygwin targets.
2692 * configure.ac: Make symlink for fallback backtrace headers.
2693 * Makefile.in, configure: Rebuilt.
2694 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2695 Read 'LineNumberTable' attribute.
2696 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2698 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2700 * exception.cc: Remove unused include.
2701 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2702 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2703 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2704 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2705 table to direct threaded instruction values.
2706 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2707 (_Jv_InterpMethod::run): No longer member function. All
2708 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2709 is made or where an instruction could throw.
2710 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2712 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2713 (catch_fpe): Likewise.
2714 * stacktrace.cc: New file. Stack trace code now here.
2715 * gnu/gcj/runtime/MethodRef.java:
2716 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2717 calls addr2line to look up PC addresses in a given binary or shared
2719 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2720 gnu/gcj/runtime/natStackTrace.cc: Removed.
2721 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2722 this function name is specially recognised by the stack trace code
2723 and shouldn't be changed.
2724 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2725 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2726 (_Jv_InterpMethod::run): Update declaration.
2727 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2729 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2730 * include/java-stack.h: New file. Declarations for stack tracing.
2731 * include/jvm.h (_Jv_Frame_info): Removed.
2732 * java/lang/Class.h: Update friend declarations.
2733 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2735 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2736 (getStackTrace): Now native.
2737 (data): New RawDataManaged field.
2738 * java/lang/natClass.cc: Update includes.
2739 (forName): Use _Jv_StackTrace::GetCallingClass for
2740 calling-classloader check.
2741 (getClassLoader): Likewise.
2742 * java/lang/natRuntime.cc: Update includes.
2743 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2744 * java/lang/natVMSecurityManager.cc: Update includes.
2745 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2746 * java/lang/natVMThrowable.cc: New file. Native methods for
2748 * java/lang/reflect/natArray.cc: Update includes.
2749 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2750 accessibility check.
2751 * java/lang/reflect/natConstructor.cc: Update includes.
2752 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2753 accessibility check.
2754 * java/lang/reflect/natField.cc: Update includes.
2755 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2756 accessibility check.
2757 * java/lang/reflect/natMethod.cc: Update includes.
2758 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2759 accessibility check.
2760 * java/util/natResourceBundle.cc: Update includes.
2761 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2762 * java/util/logging/natLogger.cc: Update includes. Use
2763 _Jv_StackTrace::GetCallerInfo to get call-site info.
2764 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2766 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2769 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2771 * testsuite/libjava.compile/PR20312.java: New file.
2772 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2773 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2775 2005-03-09 Andrew Haley <aph@redhat.com>
2777 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2779 (smallTransferTo): New.
2780 (transferFrom): Loop around smallTransferFrom, copying pageSize
2782 (transferTo): Likewise.
2784 2005-03-09 David Daney <ddaney@avtrex.com>
2787 Merge BufferedInputStream from GNU Classpath.
2788 * java/io/BufferedInputStream.java (marktarget): Field removed.
2789 (CHUNKSIZE): Field removed.
2790 (bufferSize): New field.
2791 (BufferedInputStream): Initialize fields.
2792 (close): Invalidate mark and buffer indexes.
2794 (read()): Move mark handling code to refill.
2795 (read(byte[], int, int)): Ditto.
2796 (skip): Ditto and simplify EOF testing.
2797 (refill): Rewritten.
2798 * java/io/InputStreamReader.java (refill): Removed mark and reset
2799 of internal BufferedInputStream.
2801 2005-03-09 Tom Tromey <tromey@redhat.com>
2803 * java/lang/natVMClassLoader.cc (defineClass): Reference
2804 'systemClassLoader' field directly.
2805 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2807 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2808 Reference 'systemClassLoader' field directly.
2809 (_Jv_UnregisterInitiatingLoader): Likewise.
2810 (_Jv_FindClass): Likewise.
2812 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2814 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2816 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2817 the file in GNU Classpath style.
2819 2005-03-09 Tom Tromey <tromey@redhat.com>
2821 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2822 (toString): Synchronize.
2824 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2826 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2827 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2829 2005-03-07 Tom Tromey <tromey@redhat.com>
2831 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2832 (usage): Document '-f'.
2834 2005-03-07 Tom Tromey <tromey@redhat.com>
2836 * java/lang/VMCompiler.java (md5Digest): New field.
2837 (compileClass): Clone md5Digest instead of looking up a new one.
2839 2005-03-07 Tom Tromey <tromey@redhat.com>
2842 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2843 * link.cc (find_field_helper): Added 'type' argument.
2844 (find_field): Updated.
2846 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2847 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2848 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2849 throw UnsupportedOperationException, fixed comments.
2850 (setFont, setForeground): Fixed comments.
2851 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2852 return type to boolean.
2853 (getNextEvent): Fixed javadocs.
2854 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2855 (nativeQueueEmpty): Removed unused code.
2856 (iterateNativeQueue): Removed outer loop.
2858 2005-03-06 Roger Sayle <roger@eyesopen.com>
2861 * Makefile.am (libgcj0_convenience.la): Revert last change.
2862 * Makefile.in: Regenerate.
2864 2005-03-05 Anthony Green <green@redhat.com>
2866 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2867 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2868 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2869 (_Jv_GetDrawingSurface): Set visualID.
2870 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2871 (JAWT_GetAWT): Set Lock and Unlock.
2872 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2874 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2875 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2876 JAWT_LOCK_SURFACE_CHANGED): New macros.
2877 (struct _JAWT): Add Lock and Unlock.
2879 2005-03-05 Roger Sayle <roger@eyesopen.com>
2880 Alexandre Oliva <aoliva@redhat.com>
2881 Kelley Cook <kcook@gcc.gnu.org>
2884 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2885 of the object files to link to avoid exceeding the command line
2886 length limits on some platforms.
2887 (clean-local): Clean up objectlist files.
2888 * Makefile.in: Regenerate.
2890 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2892 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2893 spec_case. Initialize pointer mlo.
2895 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2898 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2900 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2903 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2904 uninitialized variable z.
2906 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2907 possible unused variables.
2909 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2911 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2913 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2916 * testsuite/libjava.jni/jni.exp
2917 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2919 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2921 2005-02-23 David Daney <ddaney@avtrex.com>
2923 * configure.host: Don't use -mxgot for MIPS builds.
2925 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
2928 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2929 (COMPPATH): Removed.
2930 (ZIP, GCJH): Replace it with ../$(host_subdir).
2931 (built_gcc_dir): Add $(host_subdir).
2932 * configure: Regenerate.
2933 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2934 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2935 external/w3c_dom/Makefile.in: Regenerate.
2937 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
2939 * java/awt/font/TextAttribute.java: changed names to lower case;
2940 (readResolve): implemented.
2941 Added doc comments all over.
2943 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2946 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
2947 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
2948 value. Move argument parsing code to prims.cc.
2949 * prims.cc (no_properties): Remove.
2950 (_Jv_Compiler_Properties): Initialize to NULL.
2951 (_Jv_Properties_Count): Initialize to 0.
2952 (parse_verbose_args): New function.
2953 (parse_init_args): New function.
2954 (_Jv_CreateJavaVM): Call parse_init_args.
2955 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
2956 * gcj/cni.h (JvVMOption): New struct.
2957 (JvVMInitArgs): Likewise.
2958 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
2960 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
2961 (_Jv_VMInitArgs): Likewise.
2962 * include/java-props.h (_Jv_Properties_Count): Declare.
2963 * java/lang/natRuntime.cc (insertSystemProperties): Use
2964 _Jv_Properties_Count in for loop exit condition.
2965 * testsuite/libjava.jni/jni.exp
2966 (gcj_invocation_compile_c_to_binary): New procedure.
2967 (gcj_invocation_test_one): Likewise.
2968 (gcj_jni_run): Run JNI invocation API tests.
2969 * testsuite/libjava.jni/invocation/PR16923.c,
2970 testsuite/libjava.jni/invocation/PR16923.java,
2971 testsuite/libjava.jni/invocation/PR16923.out: New test.
2973 2005-02-23 Michael Koch <konqueror@gmx.de>
2975 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
2976 * Makefile.in: Regenerated.
2978 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2980 * gnu/java/nio/ChannelReader: Fixed comments.
2982 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2984 * java/nio/channels/Channels: Added FIXMEs about
2985 stub method implementation.
2986 (newReader): Implemented.
2987 * gnu/java/nio/ChannelReader: New class.
2989 2005-02-23 Michael Koch <konqueror@gmx.de>
2991 * java/text/SimpleDateFormat.java:
2992 Removed unused import.
2994 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2997 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
2998 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
2999 * Makefile.in: Regenerate.
3000 * configure.ac: Check for libXtst.
3001 * configure: Regenerate.
3003 2005-02-22 Mark Wielaard <address@bogus.example.com>
3005 * java/security/AlgorithmParameterGenerator.java (getInstance):
3006 Mention provider when throwing NoSuchProviderException.
3007 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3008 * java/security/KeyFactory.java (getInstance): Likewise.
3009 * java/security/KeyStore.java (getInstance): Likewise.
3010 * java/security/SecureRandom.java (getInstance): Likewise.
3011 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3013 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3015 * java/lang/reflect/Proxy.java,
3017 java/security/SecureRandom.java,
3018 java/util/Timer.java,
3019 java/util/prefs/AbstractPreferences.java:
3020 Don't catch java.lang.ThreadDeath.
3022 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3024 * java/awt/font/TransformAttribute.java,
3025 (TransformAttribute(AffineTransform)): throw
3026 IllegalArgumentException for null transform.
3027 (getTransform): return a copy of transform.
3028 Added doc comments to all.
3030 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3032 * java/io/Externalizable.java,
3033 java/io/Serializable.java
3034 (serialVersionUID): Removed.
3035 * java/rmi/server/RemoteObject.java,
3036 java/rmi/server/UID.java
3037 (serialVersionUID): Made private.
3038 * java/rmi/server/RemoteRef.java,
3039 java/rmi/server/ServerRef.java
3040 (serialVersionUID): Set proper value.
3041 * java/security/interfaces/DSAPrivateKey.java,
3042 java/security/interfaces/DSAPublicKey.java,
3043 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3044 java/security/interfaces/RSAPrivateCrtKey.java,
3045 java/security/interfaces/RSAPrivateKey.java,
3046 java/security/interfaces/RSAPublicKey.java,
3047 javax/crypto/SecretKey.java
3048 (serialVersionUID): Added.
3050 2005-02-22 Tom Tromey <tromey@redhat.com>
3052 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3054 2005-02-22 Tom Tromey <tromey@redhat.com>
3057 * verify.cc (type::EITHER): New constant.
3058 (check_field_constant): Use it.
3059 (type::compatible): Handle it.
3061 2005-02-22 Michael Koch <konqueror@gmx.de>
3063 * gnu/java/security/PolicyFile.java,
3064 gnu/java/security/pkcs/PKCS7SignedData.java,
3065 gnu/java/security/pkcs/SignerInfo.java:
3066 Fixed copyright header.
3068 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3070 * java/beans/PropertyDescriptor.java
3071 (PropertyDescriptor,setReadMethod): Set propertyType.
3073 2005-02-22 Michael Koch <konqueror@gmx.de>
3075 * java/nio/DirectByteBufferImpl.java
3076 (owner): Fixed formatting of javadoc.
3077 * java/text/DateFormat.java
3078 (getAvailableLocales): Fixed formatting.
3079 * java/text/SimpleDateFormat.java:
3080 Fixed formatting and import statement order.
3081 * java/util/Calendar.java
3082 (Calendar): Fixed javadoc to be HTML compliant.
3083 * java/util/SimpleTimeZone.java:
3086 2005-02-22 Roman Kennke <roman@ontographics.com>
3088 * javax/swing/plaf/basic/BasicLookAndFeel.java
3089 (initComponentDefaults): Fixed Button left and right margin.
3091 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3093 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3097 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3098 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3099 (getWidth): New method.
3100 (getHeight): Likewise.
3101 (create): Remove width, height and insets parameters. Move size
3103 (realize_cb): ... here. New function.
3104 (connectSignals): Connect realize_cb.
3105 (request_frame_extents): Remove FIXME. Move
3106 postInsetsChangedEvent lookup ...
3107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3108 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3109 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3111 (windowGetWidthID): Likewise.
3112 (windowGetHeightID): Likewise.
3114 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3118 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3120 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3122 Merge serialization from GNU Classpath.
3123 * gcj/method.h: Add missing #includes.
3124 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3125 primitive class IDs on the stream here...
3126 (resolveClass): ...not here.
3127 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3129 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3130 setLongNative, setIntNative, setShortNative, setCharNative,
3131 setByteNative, setBooleanNative, setObjectNative): New native methods.
3132 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3133 setLongNative, setIntNative, setShortNative, setCharNative,
3134 setByteNative, setBooleanNative, setObjectNative): Implement them.
3135 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3136 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3137 the constructor here.
3138 (callConstructor): Removed.
3139 (getCallersClassLoader): Removed.
3140 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3141 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3142 to control whether setting final field values is permitted. Call
3143 getAddr() with checkFinal parameter instead of setAddr().
3144 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3145 only if not done already.
3146 (getAddr): Add checkFinal parameter. Do the final field check only if
3150 2005-02-21 Mark Wielaard <mark@klomp.org>
3153 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3156 2005-02-21 Mark Wielaard <mark@klomp.org>
3159 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3160 without a super class and us ObjectStreamClass.lookupForClassObject().
3161 (resolveClass): Check for primitive types.
3162 (lookupClass): Return null when argument is null.
3164 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3166 * java/io/ObjectInputStream.java
3167 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3169 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3171 * java/io/ObjectOutputStream.java
3172 (writeObject, callWriteMethod): Replaced reflection with accessing
3173 cached info in ObjectStreamClass.
3174 (getMethod): Removed.
3175 * java/io/ObjectStreamClass.java
3176 (findMethod): Added check to make sure the method found has the
3178 (cacheMethods): Added writeReplace and writeObject methods.
3179 (setFlags): Look at new writeObjectMethod field instead of doing
3181 (writeReplaceMethod): New field.
3182 (writeObjectMethod): New field.
3184 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3185 Jeroen Frijters <jeroen@frijters.net>
3187 * java/io/ObjectInputStream.java
3188 (newObject): Changed prototype. Get a constructor reflect object
3190 (callConstructor): Removed.
3191 (allocateObject): Changed prototype.
3192 (readClassDescriptor): Build the constructor reflection directly.
3193 (readObject): Invoke newObject using the new prototype.
3195 * java/io/ObjectStreamClass.java
3196 (firstNonSerializableParent): Removed.
3197 (firstNonSerializableParentConstructor): Added.
3199 2005-02-21 Mark Wielaard <mark@klomp.org>
3201 * gnu/java/locale/LocaleInformation_en.java: Extend
3202 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3204 2005-02-21 Mark Wielaard <mark@klomp.org>
3206 * java/text/SimpleDateFormat.java
3207 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3208 NullPointerException when formatData is null.
3210 2005-02-21 Mark Wielaard <mark@klomp.org>
3212 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3213 taking dstSavings into account.
3215 2005-02-21 Sven de Marothy <sven@physto.se>
3217 * java/text/SimpleDateFormat.java,
3218 (parse): Set correct DST_OFFSET to the correct value.
3220 2005-02-21 Mark Wielaard <mark@klomp.org>
3222 * java/util/SimpleTimeZone.java (checkRule): Throw
3223 IllegalArgumentException when month out of range.
3225 2005-02-21 Sven de Marothy <sven@physto.se>
3227 * java/util/GregorianCalendar.java,
3228 (add): Don't set fields directly anymore. Use set()
3230 2005-02-21 Mark Wielaard <mark@klomp.org>
3232 * java/text/SimpleDateFormat.java (CompiledField.toString):
3233 Use StringBuffer, not StringBuilder.
3234 (toString): Likewise.
3236 2005-02-21 Sven de Marothy <sven@physto.se>
3238 * java/util/Calendar.java
3239 (clear): Dates should clear to local time.
3240 * java/util/GregorianCalendar.java
3241 (computeTime): Fix priority problem with DAY_OF_WEEK,
3242 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3244 2005-02-21 Sven de Marothy <sven@physto.se>
3246 * java/util/Calendar.java
3247 (Calendar): Constructor should clear fields.
3249 2005-02-21 Sven de Marothy <sven@physto.se>
3251 * java/text/SimpleDateFormat.java
3252 (parse): Tweak handling of 2-year dates
3253 * java/util/Calendar.java
3254 (clear): Clear fields to correct value.
3255 * java/util/GregorianCalendar.java
3256 (computeTime): Correct handling of time zones.
3257 Correct field minimum values.
3259 2005-02-21 Sven de Marothy <sven@physto.se>
3261 * java/util/Calendar.java
3262 (set) Invalidate all fields on first call to set().
3264 2005-02-21 Sven de Marothy <sven@physto.se>
3266 * java/util/GregorianCalendar.java
3267 (computeTime): Fixed handling of time zones.
3269 2005-02-21 Sven de Marothy <sven@physto.se>
3271 * java/util/Calendar.java
3272 (clear): Set values to Epoch instead of zero.
3273 (set): Set isSet to the relevant field pattern instead of just
3275 * java/util/GregorianCalendar.java
3276 (getBundle): Removed.
3277 (getDayOfYear): Removed.
3278 (getFirstDayOfMonth): New private method.
3279 (nonLeniencyCheck): New private method.
3280 (computeTime): Correct handling of insufficient data.
3282 2005-02-21 Sven de Marothy <sven@physto.se>
3284 * java/util/Calendar.java: Invalidate ERA field on setting
3286 * java/util/SimpleTimeZone.java:
3287 (getDaysInMonth): Reimplemented.
3288 * java/util/GregorianCalendar.java:
3289 (getLinearTime): Removed.
3290 (isLeapYear(int,boolean)): Removed.
3291 (before(), after()): Removed.
3292 (computeTime): Reimplemented.
3294 2005-02-21 Sven de Marothy <sven@physto.se>
3296 * java/util/Calendar.java: Reformatted.
3297 * java/util/GregorianCalendar.java: Reformatted.
3298 * java/util/SimpleTimeZone.java: Reformatted.
3300 2005-02-21 Sven de Marothy <sven@physto.se>
3302 * java/util/GregorianCalendar.java
3303 (GregorianCalendar): Update fields in the constructor
3305 2005-02-21 Noa Resare <noa@resare.com>
3307 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3308 (set(int,int)): Set and use new field.
3309 (set(int,int,int)): Check new field.
3311 2005-02-21 Noa Resare <address@hidden>
3313 * java/util/Calendar.java(set):
3314 Fix for DST related regression.
3316 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3318 * java/util/Calendar.java
3319 (setTimeInMillis): Added call to clear, removed computeFields call.
3320 * java/util/Date.java
3321 (Date(int,int,int,int,int,int)): Removed workaround for
3322 GregorianCalendar bug.
3323 * java/util/GregorianCalendar.java
3324 (GregorianCalendar): Chained all constructors to a (new)
3326 (computeTime): Fixed support for lenient month treatment.
3327 (getLinearDay): Return long instead of int.
3328 (calculateDay): Added fields argument and changed day argument
3331 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3333 * java/text/SimpleDateFormat.java
3334 Lots of documentation updates.
3335 (readObject(java.io.ObjectInputStream)): Wraps
3336 IllegalArgumentException as specified.
3337 (compileFormat(String)): Uses standardChars
3338 rather than the local pattern characters.
3339 Throws IllegalArgumentException rather than
3341 (toString()): Extended to include all variables
3343 (translateLocalizedPattern(String, String, String)):
3344 Renamed to better define the use of this method.
3346 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3348 * java/text/DateFormat.java:
3349 Documented pattern character offset constants and
3351 (Field): Added new static fields for new pattern chars.
3352 * java/text/SimpleDateFormat.java:
3353 (CompiledField): Changed name of FieldSizePair class
3354 to CompiledField after adding the character as an
3355 attribute. Changed fields to private and added
3356 accessors to give encapsulation.
3357 (CompiledField.CompiledField(int,int,char)): Extended
3358 with character field.
3359 (CompiledField.getField()): New accessor method.
3360 (CompiledField.getSize()): New acceessor method.
3361 (CompiledField.getCharacter()): New accessor method.
3362 (CompiledField.toString()): Added primarily for debugging.
3363 (standardChars): Now uses extended 24 character sequence.
3364 (compileFormat(String)): Changed to use CompiledField.
3365 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3366 java.text.FieldPosition)): Changed to use CompiledField.
3367 New handler for RFC 822 timezones added.
3369 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3371 * java/text/SimpleDateFormat.java:
3372 (parse(String, java.text.ParsePosition)):
3373 Changed 'E' and 'M' cases to use both
3374 short and long names. Extended 'z'
3375 case to also handle 'Z', and deal
3376 with simple GMT offsets such as +0100.
3377 (computeOffset(String)): New private method,
3378 which converts a GMT offset specification,
3379 such as GMT-0500 to a numeric offset in
3381 * java/util/TimeZone.java:
3382 (timezones()): Added "CEST", the daylight
3383 savings time version of "CET", or Central
3386 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3388 * java/text/SimpleDateFormat.java:
3389 (parse): Set the DST offset to 0 when parsing
3390 GMT offset timezones.
3392 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3394 * java/text/SimpleDateFormat.java:
3395 (parse): Use offset to set ZONE_OFFSET
3396 rather than the DST_OFFSET, so that
3397 GMT offset timezones change the right
3400 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3402 * java/text/SimpleDateFormat.java:
3403 (getDateFormatSymbols()): return a copy
3404 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3405 throw exception on null input
3406 (clone()): implemented to clone
3409 2005-02-21 Sven de Marothy <sven@physto.se>
3411 * java/text/SimpleDateFormat.java
3412 (parse): comparison should be case-insensitive, ignore null
3415 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3417 * gnu/java/beans/IntrospectionIncubator.java
3418 (addMethod) Reverts the patch that ntroduced a regression (see bug
3419 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3421 2005-02-21 Michael Koch <konqueror@gmx.de>
3423 * java/awt/Checkbox.java
3424 (next_checkbox_number): New static variable.
3425 (generateName): New method.
3426 (getUniqueLong): Likewise.
3427 * java/awt/Window.java
3428 (next_window_number): New static variable.
3429 (generateName): New method.
3430 (getUniqueLong): Likewise.
3432 2005-02-21 Mark Wielaard <mark@klomp.org>
3434 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3437 2005-02-21 Andrew Haley <aph@redhat.com>
3439 * Makefile.in: Rebuilt.
3440 * Makefile.am (nat_source_files): Added natLogger.cc.
3441 * java/util/logging/natLogger.cc: New file.
3442 * java/util/logging/Logger.java (getCallerStackFrame): Now
3445 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3447 * Makefile.am (all_property_files): Remove left over.
3448 (classes.stamp): Add stamp for the ONESTEP build, also known as
3449 --enable-libgcj-multifile.
3450 * Makefile.in: Regenerated.
3452 2005-02-21 Michael Koch <konqueror@gmx.de>
3454 * java/awt/Button.java,
3455 java/awt/Container.java,
3457 java/awt/Frame.java,
3458 java/text/CollationElementIterator.java,
3459 java/text/RuleBasedCollator.java,
3460 java/util/PropertyPermission.java:
3461 Fixed formatting issues all over.
3463 2005-02-21 Mark Wielaard <mark@klomp.org>
3465 * java/io/FileDescriptor.java (sync): Add real exception to
3466 SyncFailedException.
3468 2005-02-21 Michael Koch <konqueror@gmx.de>
3470 * java/io/InputStreamReader.java:
3473 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3476 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3478 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3480 * libraries/javalib/gnu/regexp/RE.java,
3481 libraries/javalib/java/io/ObjectInputStream.java,
3482 libraries/javalib/java/security/AllPermission.java,
3483 libraries/javalib/java/security/BasicPermission.java,
3484 libraries/javalib/java/security/Permissions.java,
3485 libraries/javalib/java/text/MessageFormat.java:
3486 Made 'inner' classes real public static inner classes,
3487 and made them final where possible, or removed them
3490 2005-02-20 Michael Koch <konqueror@gmx.de>
3492 * gnu/java/text/FormatCharacterIterator.java:
3493 Removed redundant modifiers.
3495 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3497 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3500 2005-02-19 Michael Koch <konqueror@gmx.de>
3502 * Makefile.am: Added new files in gnu/java/beans and
3503 java/beans/XMLDecoder.java.
3504 * Makefile.in: Regenerated.
3506 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3508 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3509 assignment behavior by using java.lang.reflect.Array.set()
3512 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3514 * gnu/java/beans/EmptyBeanInfo.java,
3515 gnu/java/beans/info/ComponentBeanInfo.java:
3516 Removed unused files.
3518 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3520 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3521 of AppletStub for java.beans.Beans.instantiate.
3522 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3524 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3525 to be conformant with Javadoc guidelines.
3526 (instantiate): Added two more overloaded variants, reworked user
3527 documentation, fixed exception behavior, fixed behavior when
3530 2005-02-19 Mark Wielaard <mark@klomp.org>
3532 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3534 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3536 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3538 * gnu/java/beans/decoder/AbstractContext.java,
3539 gnu/java/beans/decoder/AbstractCreatableContext.java,
3540 gnu/java/beans/decoder/AbstractElementHandler.java,
3541 gnu/java/beans/decoder/AbstractObjectContext.java,
3542 gnu/java/beans/decoder/ArrayContext.java,
3543 gnu/java/beans/decoder/ArrayHandler.java,
3544 gnu/java/beans/decoder/AssemblyException.java,
3545 gnu/java/beans/decoder/BooleanHandler.java,
3546 gnu/java/beans/decoder/ByteHandler.java,
3547 gnu/java/beans/decoder/CharHandler.java,
3548 gnu/java/beans/decoder/ClassHandler.java,
3549 gnu/java/beans/decoder/ConstructorContext.java,
3550 gnu/java/beans/decoder/Context.java,
3551 gnu/java/beans/decoder/DecoderContext.java,
3552 gnu/java/beans/decoder/DefaultExceptionListener.java,
3553 gnu/java/beans/decoder/DoubleHandler.java,
3554 gnu/java/beans/decoder/DummyContext.java,
3555 gnu/java/beans/decoder/DummyHandler.java,
3556 gnu/java/beans/decoder/ElementHandler.java,
3557 gnu/java/beans/decoder/FloatHandler.java,
3558 gnu/java/beans/decoder/GrowableArrayContext.java,
3559 gnu/java/beans/decoder/IndexContext.java,
3560 gnu/java/beans/decoder/IntHandler.java,
3561 gnu/java/beans/decoder/JavaHandler.java,
3562 gnu/java/beans/decoder/LongHandler.java,
3563 gnu/java/beans/decoder/MethodContext.java,
3564 gnu/java/beans/decoder/MethodFinder.java,
3565 gnu/java/beans/decoder/NullHandler.java,
3566 gnu/java/beans/decoder/ObjectContext.java,
3567 gnu/java/beans/decoder/ObjectHandler.java,
3568 gnu/java/beans/decoder/PersistenceParser.java,
3569 gnu/java/beans/decoder/PropertyContext.java,
3570 gnu/java/beans/decoder/ShortHandler.java,
3571 gnu/java/beans/decoder/SimpleHandler.java,
3572 gnu/java/beans/decoder/StaticMethodContext.java,
3573 gnu/java/beans/decoder/StringHandler.java,
3574 gnu/java/beans/decoder/VoidHandler.java: New class
3575 implementing java.beans.XMLDecoder decoding functionality.
3576 * java/beans/XMLDecoder.java: New class.
3578 2005-02-19 Michael Koch <konqueror@gmx.de>
3580 * javax/swing/JTextField.java
3581 (notfiyAction): Added javadoc.
3583 2005-02-19 Sven de Marothy <sven@physto.se>
3585 * javax/swing/SpinnerDateModel.java: Implemented.
3587 2005-02-19 Michael Koch <konqueror@gmx.de>
3589 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3590 * Makefile.in: Regenerated.
3592 2005-02-19 Michael Koch <konqueror@gmx.de>
3594 * gnu/java/nio/SelectorImpl.java:
3595 Reworked import statements.
3596 (register): Removed unused code.
3597 * java/nio/channels/Channels.java: Reformatted.
3598 * java/nio/charset/Charset.java: Likewise.
3599 * java/rmi/server/RemoteObject.java
3600 (serialVersionUID): Made private.
3601 * java/rmi/server/UID.java
3602 (serialVersionUID): Likewise.
3604 2005-02-19 Michael Koch <konqueror@gmx.de>
3606 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3607 gnu/java/net/protocol/ftp/BlockInputStream.java,
3608 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3609 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3610 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3611 gnu/java/net/protocol/ftp/DTPInputStream.java,
3612 gnu/java/net/protocol/ftp/DTP.java,
3613 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3614 gnu/java/net/protocol/ftp/FTPConnection.java,
3615 gnu/java/net/protocol/ftp/FTPException.java,
3616 gnu/java/net/protocol/ftp/FTPResponse.java,
3617 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3618 gnu/java/net/protocol/ftp/Handler.java,
3619 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3620 gnu/java/net/protocol/ftp/StreamInputStream.java,
3621 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3622 gnu/java/net/CRLFInputStream.java,
3623 gnu/java/net/CRLFOutputStream.java,
3624 gnu/java/net/GetLocalHostAction.java,
3625 gnu/java/net/protocol/ftp/package.html: New files.
3626 * Makefile.am: Added new files.
3627 * Makefile.in: Regenerated.
3629 2005-02-18 Tom Tromey <tromey@redhat.com>
3631 * link.cc (make_vtable): Remove abstract method check.
3632 (append_partial_itable): Likewise.
3635 * verify.cc (type::equals): Fixed test.
3636 * testsuite/libjava.lang/PR20056.out: New file.
3637 * testsuite/libjava.lang/PR20056.java: New file.
3639 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3641 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3642 not the HashEntry. Reported by Jean-Marie White.
3644 2005-02-18 Tom Tromey <tromey@redhat.com>
3647 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3648 * link.cc (has_field_p): New function.
3649 * verify.cc (check_field_constant): Added 'putfield' argument.
3650 (verify_instructions_0): Updated.
3651 (type::equals): New method.
3653 2005-02-18 Anthony Green <green@redhat.com>
3655 * NEWS: Draft of libgcj NEWS for 4.0.
3657 2005-02-18 Anthony Green <green@redhat.com>
3659 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3660 architecture names to "i386" for compatibility reasons. Win32
3663 2005-02-18 Anthony Green <green@redhat.com>
3665 * gij.cc (version): Change year for '--version' to 2005.
3666 * gnu/gcj/convert/Convert.java: Ditto.
3667 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3668 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3670 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3671 recent copyright year in `--version' output.
3673 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3675 * java/nio/charset/Charset.java (forName): Throws
3676 IllegalArgumentException when argument is null
3677 and added documentation.
3679 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3681 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3682 Move the position of the source buffer forward.
3684 2005-02-17 Tom Tromey <tromey@redhat.com>
3686 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3687 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3688 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3689 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3690 Changed type of second argument. Rewrote.
3691 (make_vtable): Use it.
3692 (append_partial_itable): Updated.
3693 (layout_vtable_methods): Updated.
3695 2005-02-17 Michael Koch <konqueror@gmx.de>
3697 * gnu/java/net/PlainSocketImpl.java
3698 (shutdownInput): Added javadoc.
3699 (shutdownOutput): Likewise.
3701 2005-02-17 Michael Koch <konqueror@gmx.de>
3703 * javax/print/attribute/standard/Chromaticity.java,
3704 javax/print/attribute/standard/Destination.java,
3705 javax/print/attribute/standard/MediaPrintableArea.java,
3706 javax/print/attribute/standard/MediaSize.java: New files.
3707 * Makefile.am: Added new files.
3708 * Makefile.in: Regenerated.
3710 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3711 Michael Koch <konqueror@gmx.de>
3713 * gnu/java/net/protocol/http/Cookie.java,
3714 gnu/java/net/protocol/http/HTTPConnection.java,
3715 gnu/java/net/protocol/http/HTTPDateFormat.java,
3716 gnu/java/net/protocol/http/Request.java,
3717 gnu/java/nio/PipeImpl.java,
3718 gnu/java/rmi/dgc/DGCImpl.java,
3719 gnu/java/rmi/server/ConnectionRunnerPool.java,
3720 gnu/java/rmi/server/UnicastConnectionManager.java,
3721 gnu/java/security/der/DERWriter.java,
3722 gnu/java/security/pkcs/SignerInfo.java,
3723 gnu/java/security/provider/EncodedKeyFactory.java,
3724 gnu/java/security/provider/GnuDHPublicKey.java,
3725 gnu/java/security/provider/GnuDSAPrivateKey.java,
3726 gnu/java/security/provider/GnuDSAPublicKey.java,
3727 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3728 gnu/java/security/x509/X500DistinguishedName.java,
3729 gnu/java/security/x509/X509CRL.java,
3730 gnu/java/security/x509/X509CRLEntry.java,
3731 gnu/java/security/x509/X509Certificate.java,
3732 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3733 gnu/java/security/x509/ext/CertificatePolicies.java,
3734 gnu/java/security/x509/ext/PolicyConstraint.java,
3735 gnu/xml/dom/Consumer.java,
3736 gnu/xml/dom/DomCharacterData.java,
3737 gnu/xml/dom/DomDocument.java,
3738 gnu/xml/dom/DomDocumentBuilder.java,
3739 gnu/xml/dom/DomIterator.java,
3740 gnu/xml/dom/DomNode.java,
3741 gnu/xml/dom/DomXPathExpression.java,
3742 gnu/xml/dom/DomXPathResult.java,
3743 gnu/xml/dom/JAXPFactory.java,
3744 gnu/xml/pipeline/CallFilter.java,
3745 gnu/xml/pipeline/DomConsumer.java,
3746 gnu/xml/pipeline/LinkFilter.java,
3747 gnu/xml/pipeline/NSFilter.java,
3748 gnu/xml/pipeline/TeeConsumer.java,
3749 gnu/xml/pipeline/ValidationConsumer.java,
3750 gnu/xml/pipeline/WellFormednessFilter.java,
3751 gnu/xml/pipeline/XIncludeFilter.java,
3752 gnu/xml/pipeline/XsltFilter.java,
3753 gnu/xml/transform/ApplyImportsNode.java,
3754 gnu/xml/transform/Bindings.java,
3755 gnu/xml/transform/DocumentFunction.java,
3756 gnu/xml/transform/FormatNumberFunction.java,
3757 gnu/xml/transform/NodeNumberNode.java,
3758 gnu/xml/transform/NumberNode.java,
3759 gnu/xml/transform/Stylesheet.java,
3760 gnu/xml/transform/SystemPropertyFunction.java,
3761 gnu/xml/transform/Template.java,
3762 gnu/xml/transform/TemplatesImpl.java,
3763 gnu/xml/transform/TransformerImpl.java,
3764 gnu/xml/transform/ValueOfNode.java,
3765 gnu/xml/transform/XSLURIResolver.java,
3766 gnu/xml/util/DoParse.java,
3767 gnu/xml/util/Resolver.java,
3768 gnu/xml/xpath/Expr.java,
3769 gnu/xml/xpath/FunctionCall.java,
3770 gnu/xml/xpath/RelationalExpr.java,
3771 gnu/xml/xpath/Selector.java,
3772 gnu/xml/xpath/XPathParser.java:
3773 Reworked import statements, fixed modifier order and some little
3776 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3778 * java/nio/ByteBufferImpl.java (compact):
3779 Set position and limit even if no bytes were moved.
3781 2005-02-17 Michael Koch <konqueror@gmx.de>
3783 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3784 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3785 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3786 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3787 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3788 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3789 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3790 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3791 * java/nio/FloatBufferImpl.java (compact): Set position.
3792 * java/nio/CharBufferImpl.java (compact): Likewise.
3793 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3794 * java/nio/IntBufferImpl.java (compact): Likewise.
3795 * java/nio/LongBufferImpl.java (compact): Likewise.
3796 * java/nio/ShortBufferImpl.java (compact): Likewise.
3798 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3800 * java/nio/ByteBufferImpl.java,
3801 java/nio/CharBufferImpl.java,
3802 java/nio/DirectByteBufferImpl.java,
3803 java/nio/DoubleBufferImpl.java,
3804 java/nio/FloatBufferImpl.java,
3805 java/nio/IntBufferImpl.java,
3806 java/nio/LongBufferImpl.java,
3807 java/nio/MappedByteBufferImpl.java,
3808 java/nio/ShortBufferImpl.java
3809 (compact): Added explicit read-only check and invalidate mark.
3811 2005-02-17 Michael Koch <konqueror@gmx.de>
3813 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3814 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3815 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3816 gnu/java/awt/peer/gtk/GdkGraphics.java,
3817 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3818 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3819 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3820 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3821 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3822 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3823 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3824 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3825 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3826 gnu/java/awt/peer/gtk/GtkClipboard.java,
3827 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3828 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3829 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3830 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3831 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3832 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3833 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3834 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3835 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3836 gnu/java/awt/peer/gtk/GtkToolkit.java,
3837 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3838 java/applet/Applet.java,
3839 java/awt/AWTError.java,
3840 java/awt/AWTEvent.java,
3841 java/awt/AWTEventMulticaster.java,
3842 java/awt/AWTException.java,
3843 java/awt/AWTKeyStroke.java,
3844 java/awt/AWTPermission.java,
3845 java/awt/ActiveEvent.java,
3846 java/awt/Adjustable.java,
3847 java/awt/AlphaComposite.java,
3848 java/awt/AttributeValue.java,
3849 java/awt/BorderLayout.java,
3850 java/awt/BufferCapabilities.java,
3851 java/awt/Button.java,
3852 java/awt/Canvas.java,
3853 java/awt/CheckboxGroup.java,
3854 java/awt/CheckboxMenuItem.java,
3855 java/awt/Color.java,
3856 java/awt/ColorPaintContext.java,
3857 java/awt/Component.java,
3858 java/awt/ComponentOrientation.java,
3859 java/awt/Composite.java,
3860 java/awt/CompositeContext.java,
3861 java/awt/Container.java,
3862 java/awt/ContainerOrderFocusTraversalPolicy.java,
3863 java/awt/DefaultFocusTraversalPolicy.java,
3864 java/awt/Dialog.java,
3865 java/awt/Dimension.java,
3866 java/awt/DisplayMode.java,
3867 java/awt/EventQueue.java,
3868 java/awt/FileDialog.java,
3869 java/awt/FontFormatException.java,
3870 java/awt/Graphics.java,
3871 java/awt/Graphics2D.java,
3872 java/awt/GraphicsConfigTemplate.java,
3873 java/awt/GraphicsConfiguration.java,
3874 java/awt/GraphicsDevice.java,
3875 java/awt/GridBagLayout.java,
3876 java/awt/GridBagLayoutInfo.java,
3877 java/awt/GridLayout.java,
3878 java/awt/HeadlessException.java,
3879 java/awt/IllegalComponentStateException.java,
3880 java/awt/Image.java,
3881 java/awt/Insets.java,
3882 java/awt/ItemSelectable.java,
3883 java/awt/JobAttributes.java,
3884 java/awt/KeyEventDispatcher.java,
3885 java/awt/KeyEventPostProcessor.java,
3886 java/awt/KeyboardFocusManager.java,
3887 java/awt/Label.java,
3888 java/awt/LayoutManager.java,
3889 java/awt/MenuBar.java,
3890 java/awt/MenuComponent.java,
3891 java/awt/MenuContainer.java,
3892 java/awt/PageAttributes.java,
3893 java/awt/Paint.java,
3894 java/awt/PaintContext.java,
3895 java/awt/Panel.java,
3896 java/awt/Point.java,
3897 java/awt/Polygon.java,
3898 java/awt/PrintGraphics.java,
3899 java/awt/PrintJob.java,
3900 java/awt/Rectangle.java,
3901 java/awt/RenderingHints.java,
3902 java/awt/Shape.java,
3903 java/awt/Stroke.java,
3904 java/awt/SystemColor.java,
3905 java/awt/Toolkit.java,
3906 java/awt/Transparency.java,
3907 java/awt/Window.java,
3908 java/awt/color/CMMException.java,
3909 java/awt/color/ColorSpace.java,
3910 java/awt/color/ICC_ColorSpace.java,
3911 java/awt/color/ICC_Profile.java,
3912 java/awt/color/ProfileDataException.java,
3913 java/awt/datatransfer/FlavorTable.java,
3914 java/awt/datatransfer/MimeTypeParseException.java,
3915 java/awt/datatransfer/Transferable.java,
3916 java/awt/datatransfer/UnsupportedFlavorException.java,
3917 java/awt/dnd/Autoscroll.java,
3918 java/awt/dnd/DnDConstants.java,
3919 java/awt/dnd/DragGestureListener.java,
3920 java/awt/dnd/DragSourceAdapter.java,
3921 java/awt/dnd/DragSourceDropEvent.java,
3922 java/awt/dnd/DragSourceListener.java,
3923 java/awt/dnd/DragSourceMotionListener.java,
3924 java/awt/dnd/DropTargetAdapter.java,
3925 java/awt/dnd/DropTargetContext.java,
3926 java/awt/dnd/DropTargetListener.java,
3927 java/awt/dnd/InvalidDnDOperationException.java,
3928 java/awt/dnd/MouseDragGestureRecognizer.java,
3929 java/awt/dnd/peer/DropTargetContextPeer.java,
3930 java/awt/event/AWTEventListener.java,
3931 java/awt/event/AWTEventListenerProxy.java,
3932 java/awt/event/ActionEvent.java,
3933 java/awt/event/AdjustmentEvent.java,
3934 java/awt/event/AdjustmentListener.java,
3935 java/awt/event/ComponentAdapter.java,
3936 java/awt/event/ComponentEvent.java,
3937 java/awt/event/ComponentListener.java,
3938 java/awt/event/ContainerAdapter.java,
3939 java/awt/event/ContainerEvent.java,
3940 java/awt/event/ContainerListener.java,
3941 java/awt/event/FocusAdapter.java,
3942 java/awt/event/FocusEvent.java,
3943 java/awt/event/FocusListener.java,
3944 java/awt/event/InputEvent.java,
3945 java/awt/event/InputMethodEvent.java,
3946 java/awt/event/InputMethodListener.java,
3947 java/awt/event/InvocationEvent.java,
3948 java/awt/event/ItemEvent.java,
3949 java/awt/event/ItemListener.java,
3950 java/awt/event/KeyAdapter.java,
3951 java/awt/event/KeyEvent.java,
3952 java/awt/event/KeyListener.java,
3953 java/awt/event/MouseAdapter.java,
3954 java/awt/event/MouseEvent.java,
3955 java/awt/event/MouseListener.java,
3956 java/awt/event/MouseMotionAdapter.java,
3957 java/awt/event/MouseMotionListener.java,
3958 java/awt/event/MouseWheelEvent.java,
3959 java/awt/event/MouseWheelListener.java,
3960 java/awt/event/PaintEvent.java,
3961 java/awt/event/TextEvent.java,
3962 java/awt/event/TextListener.java,
3963 java/awt/event/WindowAdapter.java,
3964 java/awt/event/WindowEvent.java,
3965 java/awt/event/WindowFocusListener.java,
3966 java/awt/event/WindowListener.java,
3967 java/awt/event/WindowStateListener.java,
3968 java/awt/font/TextHitInfo.java,
3969 java/awt/geom/CubicCurve2D.java,
3970 java/awt/geom/Dimension2D.java,
3971 java/awt/geom/Ellipse2D.java,
3972 java/awt/geom/IllegalPathStateException.java,
3973 java/awt/geom/Line2D.java,
3974 java/awt/geom/NoninvertibleTransformException.java,
3975 java/awt/geom/PathIterator.java,
3976 java/awt/geom/Point2D.java,
3977 java/awt/geom/QuadCurve2D.java,
3978 java/awt/geom/RectangularShape.java,
3979 java/awt/geom/RoundRectangle2D.java,
3980 java/awt/im/InputContext.java,
3981 java/awt/im/InputMethodHighlight.java,
3982 java/awt/im/InputMethodRequests.java,
3983 java/awt/im/InputSubset.java,
3984 java/awt/im/spi/InputMethod.java,
3985 java/awt/im/spi/InputMethodDescriptor.java,
3986 java/awt/image/BandCombineOp.java,
3987 java/awt/image/BandedSampleModel.java,
3988 java/awt/image/ByteLookupTable.java,
3989 java/awt/image/ComponentSampleModel.java,
3990 java/awt/image/DataBuffer.java,
3991 java/awt/image/DataBufferByte.java,
3992 java/awt/image/DataBufferDouble.java,
3993 java/awt/image/DataBufferFloat.java,
3994 java/awt/image/DataBufferInt.java,
3995 java/awt/image/DataBufferShort.java,
3996 java/awt/image/DataBufferUShort.java,
3997 java/awt/image/ImagingOpException.java,
3998 java/awt/image/Kernel.java,
3999 java/awt/image/LookupTable.java,
4000 java/awt/image/MultiPixelPackedSampleModel.java,
4001 java/awt/image/PackedColorModel.java,
4002 java/awt/image/PixelInterleavedSampleModel.java,
4003 java/awt/image/RGBImageFilter.java,
4004 java/awt/image/Raster.java,
4005 java/awt/image/RasterFormatException.java,
4006 java/awt/image/SampleModel.java,
4007 java/awt/image/ShortLookupTable.java,
4008 java/awt/image/SinglePixelPackedSampleModel.java,
4009 java/awt/image/WritableRaster.java,
4010 java/awt/print/PrinterAbortException.java,
4011 java/awt/print/PrinterException.java,
4012 java/awt/print/PrinterIOException.java,
4013 java/beans/AppletInitializer.java,
4014 java/beans/ExceptionListener.java,
4015 java/beans/PropertyChangeEvent.java,
4016 java/beans/PropertyChangeListenerProxy.java,
4017 java/beans/PropertyChangeSupport.java,
4018 java/beans/PropertyDescriptor.java,
4019 java/beans/VetoableChangeListenerProxy.java,
4020 java/beans/VetoableChangeSupport.java,
4021 java/io/BufferedReader.java,
4022 java/io/ByteArrayInputStream.java,
4023 java/io/ByteArrayOutputStream.java,
4024 java/io/CharArrayReader.java,
4025 java/io/CharArrayWriter.java,
4026 java/io/CharConversionException.java,
4027 java/io/DataInput.java,
4028 java/io/DataInputStream.java,
4029 java/io/DataOutput.java,
4030 java/io/DataOutputStream.java,
4031 java/io/EOFException.java,
4032 java/io/FileInputStream.java,
4033 java/io/FileNotFoundException.java,
4034 java/io/FileOutputStream.java,
4035 java/io/FilenameFilter.java,
4036 java/io/FilterInputStream.java,
4037 java/io/FilterOutputStream.java,
4038 java/io/FilterReader.java,
4039 java/io/FilterWriter.java,
4040 java/io/IOException.java,
4041 java/io/InputStream.java,
4042 java/io/InterruptedIOException.java,
4043 java/io/LineNumberInputStream.java,
4044 java/io/LineNumberReader.java,
4045 java/io/ObjectInputStream.java,
4046 java/io/ObjectStreamException.java,
4047 java/io/OptionalDataException.java,
4048 java/io/OutputStream.java,
4049 java/io/OutputStreamWriter.java,
4050 java/io/PrintStream.java,
4051 java/io/PrintWriter.java,
4052 java/io/PushbackInputStream.java,
4053 java/io/PushbackReader.java,
4054 java/io/RandomAccessFile.java,
4055 java/io/Reader.java,
4056 java/io/SequenceInputStream.java,
4057 java/io/Serializable.java,
4058 java/io/StreamCorruptedException.java,
4059 java/io/StreamTokenizer.java,
4060 java/io/StringBufferInputStream.java,
4061 java/io/StringWriter.java,
4062 java/io/SyncFailedException.java,
4063 java/io/UTFDataFormatException.java,
4064 java/io/UnsupportedEncodingException.java,
4065 java/io/WriteAbortedException.java,
4066 java/io/Writer.java,
4067 java/lang/AbstractMethodError.java,
4068 java/lang/ArithmeticException.java,
4069 java/lang/ArrayIndexOutOfBoundsException.java,
4070 java/lang/ArrayStoreException.java,
4071 java/lang/AssertionError.java,
4072 java/lang/Boolean.java,
4073 java/lang/Byte.java,
4074 java/lang/Class.java,
4075 java/lang/ClassCastException.java,
4076 java/lang/ClassCircularityError.java,
4077 java/lang/ClassLoader.java,
4078 java/lang/ClassNotFoundException.java,
4079 java/lang/CloneNotSupportedException.java,
4080 java/lang/Cloneable.java,
4081 java/lang/Comparable.java,
4082 java/lang/Compiler.java,
4083 java/lang/Double.java,
4084 java/lang/Error.java,
4085 java/lang/Exception.java,
4086 java/lang/ExceptionInInitializerError.java,
4087 java/lang/Float.java,
4088 java/lang/IllegalAccessError.java,
4089 java/lang/IllegalAccessException.java,
4090 java/lang/IllegalArgumentException.java,
4091 java/lang/IllegalMonitorStateException.java,
4092 java/lang/IllegalStateException.java,
4093 java/lang/IllegalThreadStateException.java,
4094 java/lang/IncompatibleClassChangeError.java,
4095 java/lang/IndexOutOfBoundsException.java,
4096 java/lang/InheritableThreadLocal.java,
4097 java/lang/InstantiationError.java,
4098 java/lang/InstantiationException.java,
4099 java/lang/Integer.java,
4100 java/lang/InternalError.java,
4101 java/lang/InterruptedException.java,
4102 java/lang/LinkageError.java,
4103 java/lang/Long.java,
4104 java/lang/NegativeArraySizeException.java,
4105 java/lang/NoClassDefFoundError.java,
4106 java/lang/NoSuchFieldError.java,
4107 java/lang/NoSuchFieldException.java,
4108 java/lang/NoSuchMethodError.java,
4109 java/lang/NoSuchMethodException.java,
4110 java/lang/NullPointerException.java,
4111 java/lang/Number.java,
4112 java/lang/NumberFormatException.java,
4113 java/lang/OutOfMemoryError.java,
4114 java/lang/Process.java,
4115 java/lang/Runnable.java,
4116 java/lang/Runtime.java,
4117 java/lang/RuntimeException.java,
4118 java/lang/RuntimePermission.java,
4119 java/lang/SecurityException.java,
4120 java/lang/SecurityManager.java,
4121 java/lang/Short.java,
4122 java/lang/StackOverflowError.java,
4123 java/lang/StackTraceElement.java,
4124 java/lang/StringBuffer.java,
4125 java/lang/StringIndexOutOfBoundsException.java,
4126 java/lang/ThreadDeath.java,
4127 java/lang/ThreadGroup.java,
4128 java/lang/Throwable.java,
4129 java/lang/UnsatisfiedLinkError.java,
4130 java/lang/UnsupportedOperationException.java,
4131 java/lang/VerifyError.java,
4132 java/lang/VirtualMachineError.java,
4133 java/lang/reflect/AccessibleObject.java,
4134 java/lang/reflect/Array.java,
4135 java/lang/reflect/InvocationTargetException.java,
4136 java/lang/reflect/Member.java,
4137 java/lang/reflect/Modifier.java,
4138 java/lang/reflect/Proxy.java,
4139 java/lang/reflect/ReflectPermission.java,
4140 java/lang/reflect/UndeclaredThrowableException.java,
4141 java/math/BigInteger.java,
4142 java/net/NetworkInterface.java,
4143 java/nio/ByteBufferHelper.java,
4144 java/nio/ByteBufferImpl.java,
4145 java/nio/DirectByteBufferImpl.java,
4146 java/nio/DoubleBufferImpl.java,
4147 java/nio/FloatBufferImpl.java,
4148 java/nio/IntBufferImpl.java,
4149 java/nio/LongBufferImpl.java,
4150 java/nio/ShortBufferImpl.java,
4151 java/nio/channels/Channel.java,
4152 java/nio/channels/IllegalBlockingModeException.java,
4153 java/nio/charset/spi/CharsetProvider.java,
4154 java/security/AccessControlException.java,
4155 java/security/BasicPermission.java,
4156 java/security/DigestException.java,
4157 java/security/DigestInputStream.java,
4158 java/security/DigestOutputStream.java,
4159 java/security/GeneralSecurityException.java,
4160 java/security/Guard.java,
4161 java/security/GuardedObject.java,
4162 java/security/InvalidAlgorithmParameterException.java,
4163 java/security/InvalidKeyException.java,
4164 java/security/InvalidParameterException.java,
4165 java/security/Key.java,
4166 java/security/KeyException.java,
4167 java/security/KeyManagementException.java,
4168 java/security/KeyStoreException.java,
4169 java/security/MessageDigestSpi.java,
4170 java/security/NoSuchAlgorithmException.java,
4171 java/security/NoSuchProviderException.java,
4172 java/security/Permission.java,
4173 java/security/PermissionCollection.java,
4174 java/security/Permissions.java,
4175 java/security/Principal.java,
4176 java/security/PrivateKey.java,
4177 java/security/PrivilegedActionException.java,
4178 java/security/ProviderException.java,
4179 java/security/PublicKey.java,
4180 java/security/SecureRandom.java,
4181 java/security/SecureRandomSpi.java,
4182 java/security/SignatureException.java,
4183 java/security/SignatureSpi.java,
4184 java/security/SignedObject.java,
4185 java/security/Signer.java,
4186 java/security/UnrecoverableKeyException.java,
4187 java/security/UnresolvedPermission.java,
4188 java/security/acl/AclNotFoundException.java,
4189 java/security/acl/LastOwnerException.java,
4190 java/security/acl/NotOwnerException.java,
4191 java/security/cert/CertPath.java,
4192 java/security/cert/CertPathBuilderException.java,
4193 java/security/cert/CertPathValidatorException.java,
4194 java/security/cert/CertStoreException.java,
4195 java/text/BreakIterator.java,
4196 java/text/ChoiceFormat.java,
4197 java/text/CollationElementIterator.java,
4198 java/text/CollationKey.java,
4199 java/text/Collator.java,
4200 java/text/DateFormat.java,
4201 java/text/DateFormatSymbols.java,
4202 java/text/DecimalFormat.java,
4203 java/text/DecimalFormatSymbols.java,
4204 java/text/FieldPosition.java,
4205 java/text/Format.java,
4206 java/text/NumberFormat.java,
4207 java/text/ParseException.java,
4208 java/text/ParsePosition.java,
4209 java/text/StringCharacterIterator.java,
4210 java/util/AbstractCollection.java,
4211 java/util/AbstractList.java,
4212 java/util/AbstractMap.java,
4213 java/util/AbstractSequentialList.java,
4214 java/util/AbstractSet.java,
4215 java/util/ArrayList.java,
4216 java/util/Arrays.java,
4217 java/util/BitSet.java,
4218 java/util/Collection.java,
4219 java/util/Collections.java,
4220 java/util/Comparator.java,
4221 java/util/ConcurrentModificationException.java,
4222 java/util/Currency.java,
4223 java/util/Date.java,
4224 java/util/EmptyStackException.java,
4225 java/util/Enumeration.java,
4226 java/util/EventListener.java,
4227 java/util/EventListenerProxy.java,
4228 java/util/EventObject.java,
4229 java/util/HashMap.java,
4230 java/util/HashSet.java,
4231 java/util/Hashtable.java,
4232 java/util/IdentityHashMap.java,
4233 java/util/Iterator.java,
4234 java/util/LinkedHashSet.java,
4235 java/util/LinkedList.java,
4236 java/util/List.java,
4237 java/util/ListIterator.java,
4238 java/util/ListResourceBundle.java,
4240 java/util/MissingResourceException.java,
4241 java/util/NoSuchElementException.java,
4242 java/util/Observable.java,
4243 java/util/Observer.java,
4244 java/util/Properties.java,
4245 java/util/PropertyPermissionCollection.java,
4246 java/util/RandomAccess.java,
4248 java/util/SortedMap.java,
4249 java/util/SortedSet.java,
4250 java/util/Stack.java,
4251 java/util/StringTokenizer.java,
4252 java/util/TooManyListenersException.java,
4253 java/util/TreeMap.java,
4254 java/util/TreeSet.java,
4255 java/util/Vector.java,
4256 java/util/logging/FileHandler.java,
4257 java/util/logging/Level.java,
4258 java/util/prefs/BackingStoreException.java,
4259 java/util/prefs/InvalidPreferencesFormatException.java,
4260 java/util/prefs/Preferences.java,
4261 javax/accessibility/Accessible.java,
4262 javax/accessibility/AccessibleAction.java,
4263 javax/accessibility/AccessibleBundle.java,
4264 javax/accessibility/AccessibleComponent.java,
4265 javax/accessibility/AccessibleContext.java,
4266 javax/accessibility/AccessibleEditableText.java,
4267 javax/accessibility/AccessibleExtendedComponent.java,
4268 javax/accessibility/AccessibleExtendedTable.java,
4269 javax/accessibility/AccessibleHyperlink.java,
4270 javax/accessibility/AccessibleHypertext.java,
4271 javax/accessibility/AccessibleIcon.java,
4272 javax/accessibility/AccessibleKeyBinding.java,
4273 javax/accessibility/AccessibleRelation.java,
4274 javax/accessibility/AccessibleRelationSet.java,
4275 javax/accessibility/AccessibleResourceBundle.java,
4276 javax/accessibility/AccessibleRole.java,
4277 javax/accessibility/AccessibleSelection.java,
4278 javax/accessibility/AccessibleState.java,
4279 javax/accessibility/AccessibleStateSet.java,
4280 javax/accessibility/AccessibleTable.java,
4281 javax/accessibility/AccessibleTableModelChange.java,
4282 javax/accessibility/AccessibleText.java,
4283 javax/accessibility/AccessibleValue.java,
4284 javax/imageio/IIOException.java,
4285 javax/imageio/ImageIO.java,
4286 javax/imageio/spi/IIOServiceProvider.java,
4287 javax/imageio/spi/ImageInputStreamSpi.java,
4288 javax/imageio/spi/ImageOutputStreamSpi.java,
4289 javax/imageio/spi/ImageReaderWriterSpi.java,
4290 javax/imageio/spi/ImageTranscoderSpi.java,
4291 javax/imageio/spi/RegisterableService.java,
4292 javax/imageio/spi/ServiceRegistry.java,
4293 javax/imageio/stream/IIOByteBuffer.java,
4294 javax/imageio/stream/ImageInputStream.java,
4295 javax/imageio/stream/ImageOutputStream.java,
4296 javax/naming/Binding.java,
4297 javax/naming/CannotProceedException.java,
4298 javax/naming/CompositeName.java,
4299 javax/naming/CompoundName.java,
4300 javax/naming/LinkException.java,
4301 javax/naming/LinkRef.java,
4302 javax/naming/NameClassPair.java,
4303 javax/naming/Reference.java,
4304 javax/naming/ReferralException.java,
4305 javax/naming/directory/Attribute.java,
4306 javax/naming/directory/AttributeModificationException.java,
4307 javax/naming/directory/Attributes.java,
4308 javax/naming/directory/DirContext.java,
4309 javax/naming/directory/ModificationItem.java,
4310 javax/naming/directory/SearchControls.java,
4311 javax/naming/directory/SearchResult.java,
4312 javax/naming/event/EventContext.java,
4313 javax/naming/event/EventDirContext.java,
4314 javax/naming/event/NamespaceChangeListener.java,
4315 javax/naming/event/NamingExceptionEvent.java,
4316 javax/naming/event/NamingListener.java,
4317 javax/naming/event/ObjectChangeListener.java,
4318 javax/naming/ldap/Control.java,
4319 javax/naming/ldap/ExtendedResponse.java,
4320 javax/naming/ldap/HasControls.java,
4321 javax/naming/ldap/LdapContext.java,
4322 javax/naming/ldap/UnsolicitedNotification.java,
4323 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4324 javax/naming/ldap/UnsolicitedNotificationListener.java,
4325 javax/naming/spi/DirectoryManager.java,
4326 javax/naming/spi/ResolveResult.java,
4327 javax/naming/spi/Resolver.java,
4328 javax/security/auth/callback/Callback.java,
4329 javax/security/auth/callback/CallbackHandler.java,
4330 javax/security/auth/callback/ChoiceCallback.java,
4331 javax/security/auth/callback/ConfirmationCallback.java,
4332 javax/security/auth/callback/LanguageCallback.java,
4333 javax/security/auth/callback/NameCallback.java,
4334 javax/security/auth/callback/PasswordCallback.java,
4335 javax/security/auth/callback/TextInputCallback.java,
4336 javax/security/auth/callback/TextOutputCallback.java,
4337 javax/security/auth/callback/UnsupportedCallbackException.java,
4338 javax/security/sasl/Sasl.java,
4339 javax/security/sasl/SaslServerFactory.java,
4340 javax/swing/DefaultBoundedRangeModel.java,
4341 javax/swing/JComponent.java,
4342 javax/swing/JList.java,
4343 javax/swing/JProgressBar.java,
4344 javax/swing/JRadioButton.java,
4345 javax/swing/JTextArea.java,
4346 javax/swing/JTextField.java,
4347 javax/swing/JToggleButton.java,
4348 javax/swing/JTree.java,
4349 javax/swing/SpinnerListModel.java,
4350 javax/swing/event/EventListenerList.java,
4351 javax/swing/text/JTextComponent.java,
4352 javax/swing/text/StringContent.java,
4353 javax/swing/text/Utilities.java,
4354 javax/swing/undo/UndoManager.java,
4355 javax/swing/undo/UndoableEditSupport.java,
4356 javax/transaction/HeuristicCommitException.java,
4357 javax/transaction/HeuristicMixedException.java,
4358 javax/transaction/HeuristicRollbackException.java,
4359 javax/transaction/InvalidTransactionException.java,
4360 javax/transaction/NotSupportedException.java,
4361 javax/transaction/RollbackException.java,
4362 javax/transaction/Status.java,
4363 javax/transaction/Synchronization.java,
4364 javax/transaction/SystemException.java,
4365 javax/transaction/Transaction.java,
4366 javax/transaction/TransactionManager.java,
4367 javax/transaction/TransactionRequiredException.java,
4368 javax/transaction/TransactionRolledbackException.java,
4369 javax/transaction/UserTransaction.java,
4370 javax/transaction/xa/XAException.java,
4371 javax/transaction/xa/XAResource.java,
4372 javax/transaction/xa/Xid.java,
4373 javax/xml/XMLConstants.java,
4374 javax/xml/datatype/DatatypeConfigurationException.java,
4375 javax/xml/datatype/DatatypeConstants.java,
4376 javax/xml/datatype/DatatypeFactory.java,
4377 javax/xml/datatype/Duration.java,
4378 javax/xml/datatype/XMLGregorianCalendar.java,
4379 javax/xml/namespace/NamespaceContext.java,
4380 javax/xml/namespace/QName.java,
4381 javax/xml/parsers/DocumentBuilder.java,
4382 javax/xml/parsers/DocumentBuilderFactory.java,
4383 javax/xml/parsers/FactoryConfigurationError.java,
4384 javax/xml/parsers/ParserConfigurationException.java,
4385 javax/xml/parsers/SAXParser.java,
4386 javax/xml/parsers/SAXParserFactory.java,
4387 javax/xml/transform/ErrorListener.java,
4388 javax/xml/transform/OutputKeys.java,
4389 javax/xml/transform/Result.java,
4390 javax/xml/transform/Source.java,
4391 javax/xml/transform/SourceLocator.java,
4392 javax/xml/transform/Templates.java,
4393 javax/xml/transform/Transformer.java,
4394 javax/xml/transform/TransformerConfigurationException.java,
4395 javax/xml/transform/TransformerException.java,
4396 javax/xml/transform/TransformerFactory.java,
4397 javax/xml/transform/TransformerFactoryConfigurationError.java,
4398 javax/xml/transform/URIResolver.java,
4399 javax/xml/transform/dom/DOMLocator.java,
4400 javax/xml/transform/dom/DOMResult.java,
4401 javax/xml/transform/dom/DOMSource.java,
4402 javax/xml/transform/sax/SAXResult.java,
4403 javax/xml/transform/sax/SAXSource.java,
4404 javax/xml/transform/sax/SAXTransformerFactory.java,
4405 javax/xml/transform/sax/TemplatesHandler.java,
4406 javax/xml/transform/sax/TransformerHandler.java,
4407 javax/xml/transform/stream/StreamResult.java,
4408 javax/xml/transform/stream/StreamSource.java,
4409 javax/xml/validation/Schema.java,
4410 javax/xml/validation/SchemaFactory.java,
4411 javax/xml/validation/TypeInfoProvider.java,
4412 javax/xml/validation/Validator.java,
4413 javax/xml/validation/ValidatorHandler.java,
4414 javax/xml/xpath/XPathConstants.java,
4415 javax/xml/xpath/XPathException.java,
4416 javax/xml/xpath/XPathExpression.java,
4417 javax/xml/xpath/XPathExpressionException.java,
4418 javax/xml/xpath/XPathFactory.java,
4419 javax/xml/xpath/XPathFactoryConfigurationException.java,
4420 javax/xml/xpath/XPathFunction.java,
4421 javax/xml/xpath/XPathFunctionException.java,
4422 javax/xml/xpath/XPathFunctionResolver.java:
4423 Fixed usage of @author tag, reworked import statements,
4424 removed CVS tags, changed the modifier order and fixed
4425 HTML usage in javadocs.
4427 2005-02-16 Julian Scheid <julian@sektor37.de>
4429 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4431 (encodeLoop): Likewise.
4433 2005-02-16 Mark Wielaard <mark@klomp.org>
4435 * Makefile.am (ordinary_java_source_files): Add new files
4436 gnu/java/security/ber/BER.java,
4437 gnu/java/security/ber/BEREncodingException.java,
4438 gnu/java/security/ber/BERReader.java,
4439 gnu/java/security/ber/BERValue.java,
4440 gnu/java/security/pkcs/PKCS7SignedData.java and
4441 gnu/java/security/pkcs/SignerInfo.java.
4442 * Makefile.in: Regenerated.
4444 2005-02-16 Casey Marshall <csm@gnu.org>
4446 * gnu/java/security/provider/GnuDSAPrivateKey.java
4447 (encodedKey): new field.
4448 (getFormat): return "PKCS#8".
4449 (getEncoded): implemented.
4450 (toString): check for 'null' values.
4451 * gnu/java/security/provider/GnuDSAPublicKey.java
4452 (encodedKey): new field.
4453 (getFormat): return "X.509".
4454 (getEncoded): implemented.
4455 (toString): check for 'null' values.
4457 2005-02-16 Michael Koch <konqueror@gmx.de>
4459 * java/util/jar/JarFile.java: Imports reworked.
4461 2005-02-16 Mark Wielaard <mark@klomp.org>
4463 * java/util/jar/JarFile.java (verify): Make package private.
4464 (signaturesRead): Likewise.
4465 (verified): Likewise.
4466 (entryCerts): Likewise.
4469 (entries): Construct new JarEnumeration with reference to this.
4470 (JarEnumeration): Make static.
4471 (JarEnumeration.jarfile): New field.
4472 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4473 Compare verified value to Boolean.TRUE or Boolean.False only
4474 when verify is true.
4475 (getEntry): Make synchronized. Compare value of verified to
4477 (getInputStream): Construct EntryInputStream with reference to this.
4478 (getManifest): Make synchronized.
4479 (EntryInputStream): Make static.
4480 (EntryInputStream.jarfile): New field.
4481 (EntryInputStream.EntryInputStream): Check if manifest exists,
4482 before getting attributes.
4483 (eof): Synchronize on jarfile.
4485 2005-02-16 Casey Marshall <csm@gnu.org>
4487 * java/util/jar/JarFile.java (verify): return if the jar is signed
4488 with an unsupported algorithm.
4490 2005-02-16 Mark Wielaard <mark@klomp.org>
4492 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4493 InputStream as argument.
4494 (getInputStream): Construct a new EntryInputStream with the result of
4495 super.getInputStream(entry).
4497 2005-02-16 Casey Marshall <csm@gnu.org>
4499 Signed JAR file support.
4500 * java/net/URLClassLoader.java
4501 (JarURLResource.getCertificates): re-read jar entry to ensure
4502 certificates are picked up.
4503 (findClass): fill in class `signers' field, too.
4504 * java/util/jar/JarFile.java (META_INF): new constant.
4505 (PKCS7_DSA_SUFFIX): new constant.
4506 (PKCS7_RSA_SUFFIX): new constant.
4507 (DIGEST_KEY_SUFFIX): new constant.
4508 (SF_SUFFIX): new constant.
4509 (MD2_OID): new constant.
4510 (MD4_OID): new constant.
4511 (MD5_OID): new constant.
4512 (SHA1_OID): new constant.
4513 (DSA_ENCRYPTION_OID): new constant.
4514 (RSA_ENCRYPTION_OID): new constant.
4515 (signaturesRead): new field.
4516 (verified): new field.
4517 (entryCerts): new field.
4518 (DEBUG): new constant.
4519 (debug): new method.
4520 (JarEnumeration.nextElement): fill in entry certificates, read
4521 signatures if they haven't been read.
4522 (getEntry): likewise.
4523 (getInputStream): verify stream if it hasn't been verified yet.
4524 (readSignatures): new method.
4525 (verify): new method.
4526 (verifyHashes): new method.
4527 (readManifestEntry): new method.
4528 (EntryInputStream): new class.
4529 * gnu/java/io/Base64InputStream.java (decode): new class
4531 * gnu/java/security/der/DERReader.java don't make class
4533 (in): made protected.
4535 (readLength): likewise.
4536 * gnu/java/security/ber/BER.java,
4537 * gnu/java/security/ber/BEREncodingException.java,
4538 * gnu/java/security/ber/BERReader.java,
4539 * gnu/java/security/ber/BERValue.java,
4540 * gnu/java/security/pkcs/PKCS7SignedData.java,
4541 * gnu/java/security/pkcs/SignerInfo.java:
4544 2005-02-16 Tom Tromey <tromey@redhat.com>
4546 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4547 copied file on exit.
4549 2005-02-15 Mark Wielaard <mark@klomp.org>
4551 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4553 2005-02-15 Michael Koch <konqueror@gmx.de>
4555 * gnu/java/awt/peer/gtk/GtkArg.java,
4556 gnu/java/awt/peer/gtk/GtkArgList.java:
4559 2005-02-15 Craig Black <craig.black@aonix.com>
4561 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4562 (postMenuActionEvent): Implement to notify ItemListeners.
4563 * java/awt/CheckboxMenuItem.java
4564 (dispatchEventImpl): Update state on ItemEvent.
4565 * java/awt/MenuItem.java
4566 (processActionEvent): Retarget event source.
4568 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4570 * gnu/java/awt/color/ClutProfileConverter.java,
4571 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4572 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4573 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4574 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4575 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4576 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4577 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4578 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4579 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4580 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4581 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4582 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4583 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4584 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4585 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4586 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4587 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4588 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4589 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4590 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4591 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4592 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4593 gnu/java/awt/peer/gtk/GtkToolkit.java,
4594 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4595 javax/swing/JPopupMenu.java,
4596 javax/swing/JSpinner.java,
4597 javax/swing/SortingFocusTraversalPolicy.java,
4598 javax/swing/SwingUtilities.java,
4599 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4600 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4601 javax/swing/tree/DefaultMutableTreeNode.java:
4602 Removed unused imports and expanded starred
4605 2005-02-15 Mark Wielaard <mark@klomp.org>
4607 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4608 IllegalArgumentException when the given String is null.
4610 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4611 when given keystoke sequence cannot be parsed.
4613 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4614 if one is installed. Only install the given menubar is not null.
4616 * javax/swing/JViewport.java (getViewSize): Return an empty
4617 Dimension when the view isn't set or preferred component size when
4620 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4621 empty Dimension when there is no view set.
4622 (minimumLayoutSize): Likewise.
4623 (layoutContainer): Don't try to layout when there is no view.
4625 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4628 * include/jawt.h: Likewise.
4629 * include/jawt_md.h: Likewise.
4630 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4632 * jni/classpath/classpath_jawt.h: Likewise.
4633 * jni/gtk-peer/gtk_jawt.c: Likewise.
4634 * Makefile.am: Build libjawt.so.
4636 2005-02-15 Michael Koch <konqueror@gmx.de>
4638 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4639 Merged file header with classpath CVS head.
4640 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4641 Merged code formatting with classpath CVS head.
4642 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4644 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4645 Handle special JNI strings with 2 '\0' at the end.
4646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4647 Merged file header with classpath CVS head.
4648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4649 Merged code formatting with classpath CVS head.
4651 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4653 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4654 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4655 (handle_response): Use GTK_RESPONSE_ACCEPT.
4657 2005-02-15 Graydon Hoare <graydon@redhat.com>
4659 * Makefile.am: Fix library build breakage.
4660 * Makefile.in: Regenerate.
4662 2005-02-15 Michael Koch <konqueror@gmx.de>
4664 * javax/swing/JTabbedPane.java
4665 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4667 2005-02-15 Michael Koch <konqueror@gmx.de>
4669 * javax/swing/tree/DefaultMutableTreeNode.java:
4670 Reworked Javadocs all over.
4671 (getPathToRoot): Fixed direction of result array initialization.
4673 2005-02-15 Michael Koch <konqueror@gmx.de>
4675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4676 Fix includes for cairo 0.3.0 snappshot.
4677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4678 Merged file header from classpath CVS HEAD.
4680 2005-02-15 Craig Black <craig.black@aonix.com>
4682 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4683 (copyState): Pass a JNI global reference to signal handler.
4684 (realize_cb): Use and free JNI global reference.
4685 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4686 (create): Pass a JNI global reference to signal handler.
4687 (selection_changed): Match declaration.
4688 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4689 (dispose): Do not remove entries from state tables until after widget is
4692 2005-02-15 Michael Koch <konqueror@gmx.de>
4694 * java/awt/Container.javai (paramString):
4695 If layoutMgr is null just return result of super.paramString().
4696 * java/awt/Scrollbar.java: Reformatted.
4697 * java/awt/im/InputContext.java (static):
4698 Removed redundant initializations.
4700 2005-02-15 Michael Koch <konqueror@gmx.de>
4702 * javax/swing/ImageIcon.java,
4703 javax/swing/UIManager.java,
4704 javax/swing/text/EditorKit.java,
4705 javax/swing/text/Segment.java:
4706 More whitespace cleanups.
4708 2005-02-15 Michael Koch <konqueror@gmx.de>
4710 * gnu/java/awt/EmbeddedWindow.java,
4711 gnu/java/awt/image/ImageDecoder.java,
4712 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4713 java/awt/DefaultKeyboardFocusManager.java,
4714 java/awt/Frame.java,
4715 java/awt/image/RGBImageFilter.java,
4716 javax/swing/AbstractButton.java,
4717 javax/swing/ActionMap.java,
4718 javax/swing/ComponentInputMap.java,
4719 javax/swing/DefaultDesktopManager.java,
4720 javax/swing/ImageIcon.java,
4721 javax/swing/InputMap.java,
4722 javax/swing/JButton.java,
4723 javax/swing/JCheckBox.java,
4724 javax/swing/JCheckBoxMenuItem.java,
4725 javax/swing/JEditorPane.java,
4726 javax/swing/JMenu.java,
4727 javax/swing/JMenuItem.java,
4728 javax/swing/JOptionPane.java,
4729 javax/swing/JRootPane.java,
4730 javax/swing/JTable.java,
4731 javax/swing/MenuSelectionManager.java,
4732 javax/swing/RepaintManager.java,
4733 javax/swing/ScrollPaneLayout.java,
4734 javax/swing/SortingFocusTraversalPolicy.java,
4735 javax/swing/UIManager.java,
4736 javax/swing/ViewportLayout.java,
4737 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4738 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4739 javax/swing/plaf/basic/BasicLabelUI.java,
4740 javax/swing/plaf/basic/BasicListUI.java,
4741 javax/swing/plaf/basic/BasicMenuItemUI.java,
4742 javax/swing/plaf/basic/BasicMenuUI.java,
4743 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4744 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4745 javax/swing/plaf/basic/BasicRootPaneUI.java,
4746 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4747 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4748 javax/swing/plaf/basic/BasicTextUI.java,
4749 javax/swing/table/TableColumnModel.java,
4750 javax/swing/text/AbstractDocument.java,
4751 javax/swing/text/EditorKit.java,
4752 javax/swing/text/Position.java,
4753 javax/swing/text/Segment.java,
4754 javax/swing/text/StyledEditorKit.java,
4755 javax/swing/text/ViewFactory.java:
4756 Cleanup whitespace differences to classpath CVS HEAD.
4758 2005-02-15 Graydon Hoare <graydon@redhat.com>
4760 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4761 (finalize): Call finish from here.
4762 (produce): Not from here.
4763 * Makefile.am (gtk_c_source_files):
4764 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4765 * Makefile.in: Regenerate.
4766 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4768 (cairoDrawGdkTextLayout):
4770 (getPeerTextMetrics):
4771 (getPeerFontMetrics): Remove.
4772 (setFont): Don't call cairoSetFont.
4773 (cairoDrawGlyphVector): Accept font peer argument.
4774 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4776 (ensure_metrics_cairo):
4777 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4778 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4779 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4780 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4782 (metrics_surface): Remove.
4783 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4784 Pass and install font peer.
4786 2005-02-15 Graydon Hoare <graydon@redhat.com>
4788 * Makefile.am: Create "split library" structure.
4789 * Makefile.in: Regenerate.
4791 2005-02-15 Graydon Hoare <graydon@redhat.com>
4793 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4795 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4796 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4797 Release GDK lock during upcalls.
4799 2005-02-15 Graydon Hoare <graydon@redhat.com>
4801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4803 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4804 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4805 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4807 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4810 (getTextMetrics): New native methods.
4811 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4812 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4813 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4814 * Makefile.in: Regenerate.
4816 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4818 * javax/swing/SwingUtilities.java:
4819 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4820 Implemented and documented.
4821 (getAccessibleChild(java.awt.Component, int)): Likewise.
4822 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4823 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4824 (getAccessibleStateSet(java.awt.Component)): Likewise.
4826 2005-02-15 Michael Koch <konqueror@gmx.de>
4828 * javax/swing/SwingUtilities.java
4829 (getFontMetrics): Removed.
4831 2005-02-15 Michael Koch <konqueror@gmx.de>
4833 * java/awt/Container.java
4834 (paramString): Implemented.
4835 * javax/swing/AbstractButton.java
4836 (paramString): Implemented.
4837 * javax/swing/JComponent.java
4838 (paramString): Implemented.
4839 * javax/swing/JMenu.java
4840 (paramString): Implemented.
4841 * javax/swing/JMenuBar.java
4842 (paramString): Implemented.
4843 * javax/swing/JMenuItem.java
4844 (paramString): Implemented.
4845 * javax/swing/JPopupMenu.java
4846 (paramString): Implemented.
4848 2005-02-15 Michael Koch <konqueror@gmx.de>
4850 * javax/swing/JMenu.java
4851 (uiClassID): Removed.
4852 (JMenu): Set invoker on popup menu.
4853 (getUIClassID): Return id directly.
4854 (getItemCount): Simply return getMenuComponentCount().
4856 (isTopLevelMenu): Simplified.
4857 * javax/swing/JMenuItem.java
4858 (uiClassID): Removed.
4859 (getUIClassID): Return id directly.
4860 * javax/swing/JPopupMenu.java
4861 (uiClassID): Removed.
4862 (JPopupMenu): Always initialize correctly.
4863 (getSubElements): Only return components implementing MenuElement
4865 (HeavyWeightPopup.hide): Removed.
4867 2005-02-15 Michael Koch <konqueror@gmx.de>
4869 * java/awt/image/ReplicateScaleFilter.java
4870 (replicatePixels): Made private.
4871 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4872 (DefaultRGBChooserPanel): Made package private.
4873 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4874 (RecentSwatchPanel): Likewise.
4875 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4876 (MouseInputAdapter): Made abstract.
4877 * javax/swing/tree/DefaultMutableTreeNode.java
4879 (growTree): Likewise.
4881 2005-02-15 Michael Koch <konqueror@gmx.de>
4883 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4886 2005-02-15 Michael Koch <konqueror@gmx.de>
4888 * javax/swing/JComponent.java (getComponentGraphics):
4889 Removed accidently commited code.
4891 2005-02-15 Graydon Hoare <graydon@redhat.com>
4893 * java/awt/dnd/DropTarget.java
4894 (addDropTargetListener): Despite documentation, do not throw.
4895 * javax/swing/JComponent.java: Set a default DropTarget.
4897 2005-02-15 Michael Koch <konqueror@gmx.de>
4899 * javax/swing/AbstractAction.java
4900 (ENABLED_PROPERTY): Removed.
4901 (setEnabled): Replaced constant with real string.
4902 * javax/swing/AbstractButton.java
4903 (createActionPropertyChangeListener.propertyChange): Likewise.
4904 * javax/swing/JComboBox.java
4905 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4906 (EDITABLE_CHANGED_PROPERTY): Removed.
4907 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4908 (ENABLED_CHANGED_PROPERTY):Likewise.
4909 (RENDERER_CHANGED_PROPERTY):Likewise.
4910 (EDITOR_CHANGED_PROPERTY):Likewise.
4911 (MODEL_CHANGED_PROPERTY):Likewise.
4912 (uiClassID):Likewise.
4913 (getUIClassID): Replaced constant with real string.
4914 (setModel):Likewise.
4915 (setEditable):Likewise.
4916 (setMaximumRowCount):Likewise.
4917 (setRenderer):Likewise.
4918 (setEditor):Likewise.
4919 (setEnabled):Likewise.
4920 * javax/swing/JLabel.java
4921 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
4922 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
4923 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
4924 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4925 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4926 (ICON_CHANGED_PROPERTY): Likewise.
4927 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
4928 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
4929 (TEXT_CHANGED_PROPERTY): Likewise.
4930 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4931 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4932 (setText): Replaced constant with real string.
4933 (setIcon): Likewise.
4934 (setDisabledIcon): Likewise.
4935 (setDisplayedMnemonic): Likewise.
4936 (setIconTextGap): Likewise.
4937 (setVerticalAlignment): Likewise.
4938 (setHorizontalAlignment): Likewise.
4939 (setVerticalTextPosition): Likewise.
4940 (setHorizontalTextPosition): Likewise.
4941 (setLabelFor): Replaced constant with real string.
4942 Fire property change event after property got changed.
4943 * javax/swing/JList.java
4944 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
4945 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
4946 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
4947 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
4948 (MODEL_PROPERTY_CHANGED): Likewise.
4949 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
4950 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
4951 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
4952 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
4953 (setFixedCellWidth): Reimplemented.
4954 (setFixedCellHeight): Exit if new value is identical.
4955 Replaced constant with real string.
4956 (setSelectionBackground): Likewise.
4957 (setSelectionForeground): Likewise.
4958 (setPrototypeCellValue): Likewise.
4959 (setCellRenderer): Replaced constant with real string.
4960 (setModel): Likewise.
4961 (setSelectionModel): Likewise.
4962 * javax/swing/JMenuBar.java
4963 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4964 (MODEL_CHANGED_PROPERTY): Likewise.
4965 (MARGIN_CHANGED_PROPERTY): Likewise.
4966 (setBorderPainted): Reimplemented.
4967 (setMargin): Likewise.
4968 (setSelectionModel): Replaced constant with real string.
4969 * javax/swing/JPopupMenu.java
4970 (LABEL_CHANGED_PROPERTY): Removed.
4971 (VISIBLE_CHANGED_PROPERTY): Likewise.
4972 (borderPainted): Likewise.
4973 (setLabel): Replaced constant with real string.
4974 (setVisible): Exit if new value is identical.
4975 Replaced constant with real string.
4976 * javax/swing/JProgressBar.java
4977 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4978 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4979 (STRING_CHANGED_PROPERTY): Likewise.
4980 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
4981 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
4982 (setOrientation): Replaced constant with real string.
4983 (setStringPainted): Likewise.
4984 (setString): Likewise.
4985 (setBorderPainted): Likewise.
4986 (setIndeterminate): Likewise.
4987 * javax/swing/JScrollBar.java
4988 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
4989 (MODEL_CHANGED_PROPERTY): Likewise.
4990 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4991 (setOrientation): Replaced constant with real string.
4992 (setModel): Likewise.
4993 (setUnitIncrement): Likewise.
4994 (setBlockIncrement): Likewise.
4995 * javax/swing/JScrollPane.java
4996 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
4997 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
4998 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4999 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5000 (LAYOUT_CHANGED_PROPERTY): Likewise.
5001 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5002 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5003 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5004 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5005 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5006 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5007 (setComponentOrientation): Replaced constant with real string.
5008 (setColumnHeader): Likewise.
5009 (setHorizontalScrollBar): Likewise.
5010 (setHorizontalScrollBarPolicy): Likewise.
5011 (setRowHeader): Likewise.
5012 (setVerticalScrollBar): Likewise.
5013 (setVerticalScrollBarPolicy): Likewise.
5014 (setWheelScrollingEnabled): Likewise.
5015 (setViewport): Likewise.
5016 (setViewportBorder): Likewise.
5017 * javax/swing/JSlider.java
5018 (INVERTED_CHANGED_PROPERTY): Removed.
5019 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5020 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5021 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5022 (MODEL_CHANGED_PROPERTY): Likewise.
5023 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5024 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5025 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5026 (setModel): Replaced constant with real string.
5027 (setOrientation): Likewise.
5028 (setLabelTable): Likewise.
5029 (setInverted): Likewise.
5030 (setMajorTickSpacing): Likewise.
5031 (setMinorTickSpacing): Likewise.
5032 (setPaintTicks): Likewise.
5033 (setPaintLabels): Likewise.
5034 * javax/swing/JTabbedPane.java
5035 (MODEL_CHANGED_PROPERTY): Removed.
5036 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5037 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5038 (setModel): Replaced constant with real string.
5039 (setTabPlacement): Likewise.
5040 (setTabLayoutPolicy): Likewise.
5041 * javax/swing/JToolBar.java
5042 (ORIENTATION_CHANGED_PROPERTY): Removed.
5043 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5044 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5045 (MARGIN_CHANGED_PROPERTY): Likewise.
5046 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5047 (setRollover): Replaced constant with real string.
5048 (setMargin): Likewise.
5049 (setBorderPainted): Likewise.
5050 (setFloatable): Likewise.
5051 (setOrientation): Likewise.
5052 * javax/swing/plaf/basic/BasicComboBoxUI.java
5053 (PropertyChangeHandler.propertyChange): Likewise.
5054 * javax/swing/plaf/basic/BasicComboPopup.java
5055 (PropertyChangeHandler.propertyChange): Likewise.
5056 * javax/swing/plaf/basic/BasicMenuBarUI.java
5057 (PropertyChangeHandler.propertyChange): Likewise.
5058 * javax/swing/plaf/basic/BasicProgressBarUI.java
5059 (PropertyChangeHandler.propertyChange): Likewise.
5060 * javax/swing/plaf/basic/BasicScrollBarUI.java
5061 (PropertyChangeHandler.propertyChange): Likewise.
5062 * javax/swing/plaf/basic/BasicSliderUI.java
5063 (PropertyChangeHandler.propertyChange): Likewise.
5064 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5065 (PropertyChangeHandler.propertyChange): Likewise.
5066 * javax/swing/plaf/basic/BasicToolBarUI.java
5067 (PropertyChangeHandler.propertyChange): Likewise.
5069 2005-02-15 Michael Koch <konqueror@gmx.de>
5071 * javax/swing/DefaultButtonModel.java
5072 (changeState): Made private.
5073 * javax/swing/DefaultDesktopManager.java
5074 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5075 * javax/swing/JLayeredPane.java
5076 (layerToRange): Made private.
5077 (incrLayer): Likewise.
5078 (decrLayer): Likewise.
5079 * javax/swing/JTable.java
5080 (dragEnabled): Likewise.
5081 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5082 * javax/swing/KeyStroke.java
5083 (Keystroke): Made private.
5084 * javax/swing/TransferHandler.java
5085 (COMMAND_COPY): Likewise.
5086 (COMMAND_CUT): Likewise.
5087 (COMMAND_PASTE): Likewise.
5089 2005-02-15 Michael Koch <konqueror@gmx.de>
5091 * javax/swing/JTextField.java
5092 (postActionEvent): Use text in field when actionCommand is null.
5093 (getActionCommand): Removed.
5095 2005-02-15 Michael Koch <konqueror@gmx.de>
5097 * javax/swing/AbstractSet.java: Removed.
5098 * Makefile.am: Removed javax/swing/AbstractSet.java.
5099 * Makefile.in: Regenerated.
5101 2005-02-15 Michael Koch <konqueror@gmx.de>
5103 * java/awt/Window.java
5104 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5105 * java/awt/dnd/DnDConstants.java
5106 (DnDConstants): New private constructor.
5108 2005-02-15 Michael Koch <konqueror@gmx.de>
5110 * javax/swing/DefaultCellRenderer.java: Removed.
5111 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5112 * Makefile.in: Regenerated.
5114 2005-02-15 Michael Koch <konqueror@gmx.de>
5116 * javax/swing/AbstractButton.java
5117 (fireItemStateChanged): Made protected.
5118 (fireActionPerformed): Likewise.
5119 (fireStateChanged): Likewise.
5120 * javax/swing/DefaultButtonModel.java
5121 (fireItemStateChanged): Likewise.
5122 (fireActionPerformed): Likewise.
5123 (fireStateChanged): Likewise.
5124 * javax/swing/JApplet.java
5126 (frameInit): Likewise.
5127 (setRootPane): Made protected.
5128 (createRootPane): Likewise.
5129 * javax/swing/JComponent.java
5130 (getClientProperty): Likewise.
5131 (putClientProperty): Likewise.
5132 * javax/swing/JEditorPane.java
5133 (getContentType): Likewise.
5134 (setContentType): Likewise.
5135 * javax/swing/JFrame.java
5136 (setRootPane): Likewise.
5137 (createRootPane): Likewise.
5138 * javax/swing/JInternalFrame.java
5139 (getFocusCycleRootAncestor): Made final. Added @since tag.
5140 (isFocusCycleRoot): Likewise.
5141 (getWarningString): Made final.
5142 * javax/swing/JScrollBar.java
5143 (changeListener): Removed.
5144 (changeEvent): Likewise.
5145 (createChangeListener): Likewise.
5146 (fireStateChanged): Likewise.
5147 (addChangeListener): Likewise.
5148 (removeChangeListener): Likewise.
5149 (getChangeListeners): Likewise.
5150 * javax/swing/JScrollPane.java
5151 (createViewport): Made protected.
5152 * javax/swing/JViewport.java
5153 (addImpl): Likewise.
5154 (setBorder): New method.
5155 * javax/swing/JWindow.java
5156 (setRootPane): Made protected.
5157 (createRootPane): Likewise.
5158 * javax/swing/plaf/basic/BasicButtonUI.java
5159 (installListeners): Likewise.
5160 (uninstallListeners): Likewise.
5161 * javax/swing/plaf/basic/BasicProgressBarUI.java
5162 (incrementAnimationIndex): Likewise.
5163 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5164 (createLayoutManager): Likewise.
5165 * javax/swing/table/DefaultTableCellRenderer.java
5166 (firePropertyChange): Likewise.
5167 * javax/swing/table/JTableHeader.java
5168 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5170 * javax/swing/text/PlainDocument.java
5171 (reindex): Made private.
5172 * javax/swing/text/PlainView.java
5173 (drawLine): Made protected.
5174 (getTabSize): Likewise.
5175 * javax/swing/text/View.java
5177 (preferenceChanged): New method.
5178 (getBreakWeight): Likewise.
5179 (breakView): Likewise.
5180 (getViewIndex): Likewise.
5182 2005-02-15 Michael Koch <konqueror@gmx.de>
5184 * javax/swing/JScrollPane.java
5185 (ScrollBar): Made class protected.
5186 * javax/swing/JSpinner.java
5187 (JSpinner): Added @since tag.
5188 (listenerList): Removed.
5189 * javax/swing/JTable.java
5190 (setValueAt): New method.
5191 (getColumn): Likewise.
5192 * javax/swing/JWindow.java
5193 (rootPaneCheckingEnabled): Renamed from checking.
5195 2005-02-15 Michael Koch <konqueror@gmx.de>
5197 * javax/swing/plaf/basic/BasicTextUI.java
5198 (RootView.modelToView): Made it public and return a java.awt.Shape.
5199 Handle null subview.
5200 (uninstall): Set textComponent to null when its not possible used
5202 * javax/swing/text/View.java
5203 (setParent): Use better argument name.
5204 (getContainer): Get parent via getParent().
5205 (getViewFactory): Likewise.
5206 (getAttributes): Get element via getElement().
5207 (getStartOffset): Likewise.
5208 (getEndOffset): Likewise.
5209 (getResizeWeight): New method.
5210 (getMaximumSpan): Likewise.
5211 (getMinimumSpan): Likewise.
5212 (setSize): Likewise.
5213 (getGraphics): Likewise.
5215 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5217 * java/awt/Checkbox.java:
5218 (AccessibleAWTCheckbox()): Added public constructor
5220 * java/awt/Choice.java:
5221 (AccessibleAWTChoice): Added class documentation.
5222 (AccessibleAWTChoice()): Added public constructor
5224 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5225 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5226 and changed role to COMBO_BOX.
5227 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5228 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5229 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5231 2005-02-15 Graydon Hoare <graydon@redhat.com>
5232 Michael Koch <konqueror@gmx.de>
5234 * javax/swing/LayoutFocusTraversalPolicy.java,
5235 javax/swing/SortingFocusTraversalPolicy.java:
5237 * Makefile.am: Added new classes.
5238 * Makefike.in: Regenerated.
5241 2005-02-15 Michael Koch <konqueror@gmx.de>
5243 * javax/swing/DebugGraphics.java: Mostly implemented.
5245 2005-02-15 Michael Koch <konqueror@gmx.de>
5247 * javax/swing/SwingUtilities.java
5248 (findFocusOwner): New method.
5250 2005-02-15 Michael Koch <konqueror@gmx.de>
5252 * javax/swing/text/DefaultEditorKit.java
5253 (read): Added '\n' after each line.
5254 * javax/swing/text/PlainView.java
5255 (modelToView): Update metrics.
5256 (drawLine): Use offsets from element.
5257 (paint): Update metrics. Draw all lines.
5259 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5261 * java/awt/Checkbox.java:
5262 (AccessibleAWTCheckbox): Added class documentation
5263 * java/awt/Scrollbar.java:
5264 (AccessibleAWTScrollBar): typo corrected and docs added
5265 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5266 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5267 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5268 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5269 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5270 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5271 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5272 (getAccessibleContext()): name of accessible class corrected
5274 2005-02-15 Mark Wielaard <mark@klomp.org>
5276 * java/awt/BasicStroke.java (hashCode): Implement.
5279 2005-02-15 Michael Koch <konqueror@gmx.de>
5281 * java/awt/print/PrinterJob.java
5282 (pageDialog): Throws java.awt.HeadlessException.
5283 (printDialog): Likewise.
5285 2005-02-15 Mark Wielaard <mark@klomp.org>
5287 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5289 2005-02-15 Michael Koch <konqueror@gmx.de>
5291 * javax/swing/JTable.java
5292 (getValueAt): New method.
5293 * javax/swing/table/JTableHeader.java
5294 (columnAtPoint): New method.
5296 2005-02-15 Michael Koch <konqueror@gmx.de>
5298 * javax/swing/JTextField.java
5299 (actions): New field.
5300 (static): Initalize actions field.
5301 (getActions): New method.
5303 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5305 * java/awt/Checkbox.java:
5306 (AccessibleAWTCheckbox): name capitalization corrected
5307 and serialization UID added.
5308 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5310 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5311 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5312 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5313 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5314 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5315 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5316 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5317 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5318 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5319 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5320 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5322 (getAccessibleContext()): name of accessible class corrected
5324 2005-02-15 Sven de Marothy <sven@physto.se>
5326 * java/awt/geom/doc-files/Area-1.png,
5327 java/awt/geom/doc-files/Ellipse-1.png,
5328 java/awt/geom/doc-files/GeneralPath-1.png:
5331 2005-02-15 Graydon Hoare <graydon@redhat.com>
5333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5334 Use union to avoid type-punning warning.
5336 2005-02-15 Michael Koch <konqueror@gmx.de>
5338 * javax/swing/DefaultListSelectionModel.java
5339 (clone): New method.
5341 2005-02-15 Mark Wielaard <mark@klomp.org>
5343 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5344 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5345 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5346 Correct method signature of gtkSetFilename.
5348 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5350 * javax/swing/text/StringContent.java: New file.
5352 2005-02-15 Michael Koch <konqueror@gmx.de>
5354 * Makefile.am: Added javax/swing/text/StringContent.java.
5355 * Makefile.in: Regenerated.
5357 2005-02-15 Michael Koch <konqueror@gmx.de>
5359 * gnu/java/awt/ClasspathToolkit.java:
5360 Import statements reworked.
5361 (imageCache): Made it of type java.util.HashMap.
5363 2005-02-15 Michael Koch <konqueror@gmx.de>
5365 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5366 Reworked import statements.
5368 2005-02-15 Graydon Hoare <graydon@redhat.com>
5370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5372 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5374 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5375 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5379 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5381 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5383 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5385 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5386 Rewrite uses of extern variable to be function calls.
5387 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5388 function, from extern variable.
5389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5390 (gdk_env): Remove variable, add new function.
5391 (java_vm): Add new variable.
5392 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5393 java_vm rather than old gdk_env variable.
5395 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5397 * javax/swing/DefaultListModel.java
5398 (add): fire correct event,
5399 (addElement): corrected interval indices in event,
5400 (clear): corrected upper bound for interval, only fire event if
5402 (setSize): fire appropriate event.
5404 2005-02-15 Graydon Hoare <graydon@redhat.com>
5406 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5407 * gnu/awt/xlib/XToolkit.java: Likewise.
5408 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5409 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5410 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5411 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5412 * java/awt/EventQueue.java (getNextEvent):
5413 Adjust event loop to switch to native mode after 100ms.
5414 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5415 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5416 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5417 Wake up event thread.
5418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5419 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5420 Adjust event loop to switch to java mode after 100ms.
5422 2005-02-15 Graydon Hoare <graydon@redhat.com>
5424 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5425 accidentally removed in last change.
5427 2005-02-15 Michael Koch <konqueror@gmx.de>
5429 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5430 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5432 2005-02-15 Graydon Hoare <graydon@redhat.com>
5434 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5435 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5436 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5437 * jni.cc: Reuse bottom frame between calls, avoid clearing
5438 frame when no local references are made.
5440 2005-02-15 Michael Koch <konqueror@gmx.de>
5442 * javax/swing/UIDefaults.java (UIDefaults):
5443 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5444 Fixed HTML entity and removed a redundant comma.
5446 2005-02-15 Michael Koch <konqueror@gmx.de>
5448 * javax/swing/text/DefaultEditorKit.java
5449 (deinstall): Removed.
5450 (install): Likewise.
5452 2005-02-15 Michael Koch <konqueror@gmx.de>
5454 * javax/swing/UIDefaults.java (put): Handle value of null.
5456 2005-02-15 Michael Koch <konqueror@gmx.de>
5458 * java/awt/Robot.java,
5459 java/awt/Scrollbar.java,
5460 java/awt/print/PrinterJob.java,
5461 javax/swing/JTable.java,
5462 javax/swing/text/AbstractDocument.java:
5463 Reworked import statements.
5465 2005-02-15 Michael Koch <konqueror@gmx.de>
5467 * javax/swing/JEditorPane.java
5468 (read): Implemented.
5470 * javax/swing/text/DefaultEditorKit.java
5471 (page): Renamed from page_url. Made private.
5472 (editorKit): Renamed from kit. Made private.
5474 (JEditorPane): All constructors reimplemented.
5475 (getContentType): Use content type from editor kit.
5476 (getEditorKit): Return editorKit.
5477 (getEditorKitForContentType):Likewise.
5478 (getPage): Return page.
5479 (setContentType): Reimplemented.
5480 (setEditorKit): Likewise.
5481 (setEditorKitForContentType): Removed wrong implementation.
5482 (setPage): Implemented.
5484 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5487 (nativeSetIconImageFromData): Re-add native implementation.
5489 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5491 * javax/swing/table/DefaultTableModel.java
5492 (DefaultTableModel()): Added Javadocs.
5493 (DefaultTableModel(int, int)): Fixed implementation.
5494 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5495 for negative rowCount.
5496 (DefaultTableModel(Object[], int)): Added Javadocs.
5497 (DefaultTableModel(Vector, Vector)): Likewise.
5498 (DefaultTableModel(Object[][], Object[])): Likewise.
5499 (getDataVector): Likewise.
5500 (setDataVector(Vector, Vector)): Likewise.
5501 (setDataVector(Object[][], Object[])): Likewise.
5502 (newDataAvailable): Likewise.
5503 (newRowsAdded): Likewise.
5504 (rowsRemoved): Likewise.
5505 (setColumnIdentifiers(Vector)): Allow for null argument.
5506 (setColumnIdentifiers(Object[])): Added Javadocs.
5507 (setNumRows): Likewise.
5508 (setRowCount): Adds new rows if necessary, and sends more specific
5510 (setColumnCount): Allow for null columnIdentifiers.
5511 (addColumn(Object)): Added Javadocs.
5512 (addColumn(Object, Vector)): Handle null columnData.
5513 (addColumn(Object, Object[])): Handle columnData with more or less
5514 entries than rows in the table.
5515 (addRow(Vector)): Fire appropriate event.
5516 (addRow(Object[])): Added Javadocs.
5517 (insertRow(int, Vector)): Fire appropriate event.
5518 (insertRow(int, Object[])): Added Javadocs.
5519 (moveRow): Reimplemented.
5520 (removeRow(int)): Fire appropriate event.
5521 (getColumnCount): Allow for null columnIdentifiers.
5522 (getColumnName): Now returns empty string when column index is too
5524 (isCellEditable): Added Javadocs.
5525 (getValueAt): Likewise.
5526 (setValueAt): Fire more specific event.
5527 (convertToVector): Added Javadocs.
5528 * javax/swing/table/TableModel.java
5531 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5533 * libgcj.spec.in (lib): Add -l-javax-imageio.
5535 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5537 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5538 references to event queue q with method call q().
5539 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5540 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5541 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5542 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5543 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5544 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5547 2005-02-15 Graydon Hoare <graydon@redhat.com>
5549 * gnu/java/awt/ClasspathToolkit.java
5550 (registerImageIOSpis): New method.
5551 * gnu/java/awt/image/ImageDecoder.java
5552 (imageDecoder): New constructor using InputStream
5553 (startProduction): Handle existing InputStream.
5554 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5555 (findSimpleIntegerArray): Make public and static.
5556 (updateBufferedImage): Set each pixel, in a loop.
5557 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5558 Implement ImageIO SPI classes.
5559 (createBufferedImage): Rewrite in terms of SPI classes.
5560 * gnu/java/awt/peer/gtk/GtkToolkit.java
5561 (registerImageIOSpis): New method.
5562 * java/lang/reflect/natMethod.cc
5563 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5564 which lets JNI call interface methods properly.
5565 * javax/imageio/ImageIO.java
5566 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5567 (WriterMIMETypeFilter.filter): Likewise.
5568 (ImageReaderIterator): Pass extension argument through to SPI.
5569 (getReadersByFilter): Likewise.
5570 (getWritersByFilter): Likewise.
5571 (getImageReadersByFormatName): Likewise.
5572 (getImageReadersByMIMEType): Likewise.
5573 (getImageReadersBySuffix): Likewise.
5574 (getImageWritersByFormatName): Likewise.
5575 (getImageWritersByMIMEType): Likewise.
5576 (getImageWritersBySuffix): Likewise.
5579 * javax/imageio/ImageReader.java
5580 (progressListeners): Initialize.
5581 (setInput): Implement.
5582 * javax/imageio/ImageWriter.java
5583 (progressListeners): Initialize.
5584 (warningListeners): Likewise.
5585 (warningLocales): Likewise.
5586 (setOutput): Test "isInstance" rather than class equality.
5587 * javax/imageio/spi/IIORegistry.java
5588 (static): Add reader and writer SPIs.
5589 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5590 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5591 (query_formats): New function.
5592 (save_to_stream): Likewise.
5593 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5595 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5597 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5599 (keyPress): Likewise.
5600 (keyRelease): Likewise.
5602 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5604 * javax/swing/JTable.java
5605 (columnAtPoint): New Method. Implemented.
5606 (rowAtPoint): Likewise.
5607 (countSelections): Fixed few small count errors.
5608 (getSelections): Likewise.
5609 (setSelectionMode): Set selection mode for column
5610 selection model in addition to row selection model.
5611 * javax/swing/plaf/basic/BasicTableUI.java:
5612 (getRowForPoint): Removed. Replaced by
5613 JTable.rowAtPoint().
5614 (getColForPoint): Removed. Replaced by
5615 JTable.columnAtPoint().
5616 (updateSelection): Updated to call JTable.columnAtPoint
5617 and JTable.rowAtPoint.
5618 * javax/swing/table/DefaultTableColumnModel.java:
5619 (getSelectedColumns): Implemented.
5620 (getSelectedColumnCount): Implemented.
5622 2005-02-15 Graydon Hoare <graydon@redhat.com>
5625 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5626 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5627 * Makefile.in: Regenerate.
5628 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5629 * gnu/awt/xlib/XFramePeer.java: Likewise.
5630 * gnu/awt/xlib/XToolkit.java: Likewise.
5631 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5632 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5633 * gnu/java/awt/ClasspathToolkit.java
5636 (iterateNativeQueue): New methods.
5637 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5638 * gnu/java/awt/peer/gtk/GtkToolkit.java
5639 (gtkInit): Absorb from defunct GtkMainThread class.
5640 (static): Run gtkInit in static startup block.
5641 (GtkToolkit): Remove construction of GtkMainThread and queue.
5642 (getSystemEventQueueImpl): Construct queue when requested.
5645 (iterateNativeQueue): New methods.
5646 * java/awt/Component.java (removeNotify): Remove race.
5647 * java/awt/EventDispatchThread.java
5648 (EventDispatchThread): Don't start on construction.
5649 (run): Remove isInterrupted check.
5650 * java/awt/EventQueue.java (shutdown): New flag.
5651 (isShutdown): New method checking J2SE shutdown condition.
5652 (setShutdown): New method.
5653 (getNextEvent): Restructure to use ClasspathToolkit.
5654 (postEvent): Activate new thread on posting, wake thread on
5655 post of possible shutdown condition event.
5656 * java/awt/Frame.java
5657 (Frame): Call noteFrame in all constructors.
5658 (fireDummyEvent): New helper method.
5659 (addNotify): Fire a dummy event to wake up queue.
5660 (removeNotify): Fire a dummy event to wake up queue.
5661 (noteFrame): New method.
5662 (weakFrames): New static field.
5663 (getFrames): Implement.
5664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5667 Move everything from GtkMainThread into this file
5668 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5669 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5670 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5671 New functions to implement single-threaded queue semantics.
5673 2005-02-15 Michael Koch <konqueror@gmx.de>
5675 * javax/swing/plaf/metal/MetalLookAndFeel.java
5676 (getControlTextFont): New method.
5677 (getMenuTextFont): Likewise.
5678 (getSubTextFont): Likewise.
5679 (getSystemTextFont): Likewise.
5680 (getUserTextFont): Likewise.
5681 (getWindowTitleFont): Likewise.
5683 2005-02-15 Michael Koch <konqueror@gmx.de>
5685 * javax/swing/text/AbstractDocument.java
5686 (documentFilter): New field.
5687 (getDocumentFilter): New method.
5688 (setDocumentFilter): Likewise.
5691 2005-02-15 Michael Koch <konqueror@gmx.de>
5693 * javax/swing/JTree.java
5694 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5696 2005-02-15 Michael Koch <konqueror@gmx.de>
5698 * javax/swing/text/AbstractDocument.java
5699 (AbstractElement.getLength): Fixed off-by-one error.
5700 (AbstractElement.children): Made abstract.
5701 (AbstractElement.getAllowsChildren): Likewise.
5702 (AbstractElement.getElement): Likewise.
5703 (AbstractElement.dumpElement): New private method.
5704 (AbstractElement.dump): New method.
5705 (BranchElememt.getName): Fixed implementation.
5706 (BranchElememt.toString): Likewise.
5707 (BranchElememt.getElement): Fixed arguments.
5708 (LeafElement.getName): Fixed implementation.
5709 (LeafElement.toString): Likewise.
5710 * javax/swing/text/GapContent.java
5711 (GapContent): Put default content into buffer.
5712 * javax/swing/text/PlainDocument.java
5713 (reindex): Use empty attribute sets instead of null.
5714 (createDefaultRoot): Reimplemented.
5715 (insertUpdate): Call super method.
5716 (removeUpdate): Likewise.
5717 (getParagraphElement): Implemented.
5719 2005-02-15 Michael Koch <konqueror@gmx.de>
5721 * gnu/java/awt/ClasspathToolkit.java
5722 (createRobot): Throws java.awt.AWTException.
5723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5724 Added '__attribute__((unused))' to all unused method arguments.
5726 2005-02-15 Michael Koch <konqueror@gmx.de>
5728 * javax/swing/DefaultBoundedRangeModel.java
5729 (fireValueChanged): Fixed off-by-one error.
5731 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5733 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5734 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5736 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5737 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5738 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5739 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5740 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5741 (getDefaultScreenDevice): Implement.
5742 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5743 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5744 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5745 * java/awt/Robot.java: Implement.
5746 * java/awt/peer/RobotPeer.java: Rename parameters.
5747 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5748 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5749 (awt_keycode_to_keysym): Make non-static.
5750 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5751 AWT_BUTTON3_MASK): Declare constants.
5752 (awt_keycode_to_keysym): Declare.
5754 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5755 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5756 and is non-empty pass its value to "make check".
5757 (test_mauve_sim): Likewise.
5759 2005-02-15 Michael Koch <konqueror@gmx.de>
5761 * javax/imageio/IIOParam.java
5762 (setSourceBands): New method.
5763 (setSourceSubsampling): Likewise.
5764 * javax/imageio/ImageReadParam.java
5765 (setDestination): Likewise.
5766 (setDestinationBands): Likewise.
5767 (setSourceProgressivePasses): Likewise.
5768 * javax/imageio/metadata/IIOInvalidTreeException.java
5769 (serialVersionUID): New static field.
5770 * javax/imageio/metadata/IIOMetadataNode.java
5771 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5772 (parent): Dont initailize with default value explicitely.
5774 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5775 (removeAttributeNode): Likewise.
5776 (removeAttributeNS): Likewise.
5777 (setAttribute): Likewise.
5778 (setAttributeNode): Likewise.
5779 (setAttributeNodeNS): Likewise.
5780 (setAttributeNS): Likewise.
5781 (appendChild): Likewise.
5782 (getNodeValue): Likewise.
5783 (insertBefore): Likewise.
5784 (removeChild): Likewise.
5785 (replaceChild): Likewise.
5786 (setPrefix): Likewise.
5788 2005-02-15 Michael Koch <konqueror@gmx.de>
5790 * javax/swing/LookAndFeel.java
5791 (getDesktopPropertyValue): New method.
5793 2005-02-15 Michael Koch <konqueror@gmx.de>
5795 * javax/swing/JTree.java
5796 (hasChildren): New instance field.
5798 2005-02-15 Michael Koch <konqueror@gmx.de>
5800 * javax/swing/JComponent.java
5801 (getToolTipText): New method.
5802 (getTitledBorderText): Likewise.
5803 (getAccessibleKeyBinding): Likewise.
5804 (getVerifyInputWhenFocusTarget): Likewise.
5805 (setVerifyInputWhenFocusTarget): Likewise.
5806 (verifyInputWhenFocusTarget): New instance field.
5808 2005-02-15 Michael Koch <konqueror@gmx.de>
5810 * javax/swing/DefaultListSelectionModel.java
5811 (fireValueChanged): New method.
5813 2005-02-15 Michael Koch <konqueror@gmx.de>
5815 * javax/swing/DefaultBoundedRangeModel.java:
5816 Fixed javadocs all over.
5817 (fireStateChanged): Simplified.
5818 * javax/swing/BoundedRangeModel.java:
5821 2005-02-15 Michael Koch <konqueror@gmx.de>
5823 * javax/swing/JRootPane.java
5824 (setMenuBar): Added @deprecated tag.
5825 (getMenuBar): Likewise.
5826 * javax/swing/JTable.java
5827 (sizeColumnsToFit): Likewise.
5829 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5831 * javax/swing/ImageIcon.java (setImage): Implemented.
5833 2005-02-15 Michael Koch <konqueror@gmx.de>
5835 * javax/swing/JTable.java:
5836 Removed unused imports.
5838 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5840 (prepareRenderer): Get column's index in dataModel instead
5841 of column's view index.
5842 (getColumnCount): return count of the columns in ColumnModel,
5844 (removeColumn): Implemented.
5845 (moveColumm): Likewise.
5846 (setRowHeight): throw IllegalArgumentException if height is
5848 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5849 (DefaultTableColumnModel):Add call to createSelectionModel().
5850 (addColumn): Fire columnAdded event to registered listeners.
5851 (removeColumn): Fire columnRemoved event to registered listeners.
5852 (moveColumn): Fire columnMoved event to registered listeners.
5853 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5854 (getColumnIndex): Changed parameter name.
5855 (setColumnSelectionAllowed): Likewise.
5856 (fireColumnAdded): Implemented.
5857 (fireColumnRemoved): Likewise.
5858 (fireColumnMoved): Likewise.
5859 (fireColumnMarginChanged): Likewise.
5860 (getListeners): Changed parameter name.
5861 (propertyChange): Implemented.
5862 (valueChanged): Changed parameter name.
5863 (createSelectionModel): Implemented.
5865 2005-02-15 Michael Koch <konqueror@gmx.de>
5867 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5868 Explicitely import used classes.
5869 (getLocalGraphicsEnvironment): Simplify.
5870 * java/awt/Window.java (Window):
5871 Enable code to get the default GraphicsConfiguration.
5873 2005-02-15 Michael Koch <konqueror@gmx.de>
5875 * javax/swing/plaf/metal/DefaultMetalTheme.java
5876 (CONTROL_TEXT_FONT): New static field.
5877 (MENU_TEXT_FONT): Likewise.
5878 (SUB_TEXT_FONT): Likewise.
5879 (SYSTEM_TEXT_FONT): Likewise.
5880 (USER_TEXT_FONT): Likewise.
5881 (WINDOW_TITLE_FONT): Likewise.
5882 (getControlTextFont): New method.
5883 (getMenuTextFont): Likewise.
5884 (getSubTextFont): Likewise.
5885 (getSystemTextFont): Likewise.
5886 (getUserTextFont): Likewise.
5887 (getWindowTitleFont): Likewise.
5888 * javax/swing/plaf/metal/MetalTheme.java
5889 (BLACK): Initialize with Color.BLACK.
5890 (WHITE): Initialize with Color.WHITE.
5891 (getInactiveControlTextColor): Return getControlDisabled().
5892 (getMenuDisabledForeground): Return getSecondary3().
5893 (getControlTextFont): New abstract method.
5894 (getMenuTextFont): Likewise.
5895 (getSubTextFont): Likewise.
5896 (getSystemTextFont): Likewise.
5897 (getUserTextFont): Likewise.
5898 (getWindowTitleFont): Likewise.
5900 2005-02-15 Michael Koch <konqueror@gmx.de>
5902 * javax/swing/JFormattedTextField.java
5903 (getFocusLostBehavior): Fixed typo in method name.
5904 (setFocusLostBehavior): Likewise.
5906 2005-02-15 Michael Koch <konqueror@gmx.de>
5908 * javax/swing/TransferHandler.java:
5909 Reworked import statements.
5911 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5913 * java/awt/Button.java,
5914 java/awt/Canvas.java,
5915 java/awt/Checkbox.java,
5916 java/awt/CheckboxMenuItem.java,
5917 java/awt/Choice.java,
5918 java/awt/Dialog.java,
5919 java/awt/Frame.java,
5920 java/awt/Label.java,
5923 java/awt/MenuBar.java,
5924 java/awt/MenuItem.java,
5925 java/awt/PopupMenu.java,
5926 java/awt/ScrollPane.java,
5927 java/awt/Scrollbar.java,
5928 java/awt/TextArea.java,
5929 java/awt/Window.java (getAccessibleContext): Clean up comments.
5931 * java/awt/Button.java,
5932 java/awt/Checkbox.java,
5933 java/awt/Choice.java,
5935 java/awt/PopupMenu.java,
5936 java/awt/TextArea.java (getAccessibleContext): Only create new
5938 * java/awt/TextComponent.java (getAccessibleContext): Implement.
5940 2005-02-15 Michael Koch <konqueror@gmx.de>
5942 * java/awt/Button.java,
5943 javax/swing/JApplet.java,
5944 javax/swing/JFormattedTextField.java,
5945 javax/swing/JWindow.java,
5946 javax/swing/JTree.java,
5947 javax/swing/plaf/basic/BasicEditorPaneUI.java,
5948 javax/swing/plaf/basic/BasicTextPaneUI.java,
5949 javax/swing/plaf/basic/BasicTreeUI.java:
5950 Reworked import statements.
5952 2005-02-15 Michael Koch <konqueror@gmx.de>
5954 * Makefile.am: Put javax.imageio into its own library and link it
5955 against lib-org-w3c-dom.la to fix bootstrapping.
5956 * Makefile.in: Regenerated.
5958 2005-02-15 Michael Koch <konqueror@gmx.de>
5960 * javax/swing/text/TextAction.java
5961 (getTextComponent): Simplified. Added Javadoc.
5962 (augmentList): Implemented. Added Javadoc.
5963 (getFocusedComponent): Added javadoc.
5965 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5967 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
5968 getAccessibleContext): Implement.
5969 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
5970 getAccessibleContext): Implement.
5972 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5974 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
5976 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
5978 * java/awt/Window.java (getAccessibleContext): Fix comment.
5979 Remove extra import.
5981 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5983 * java/awt/Window.java (AccessibleAWTWindow): Implement.
5984 (isActive, isFocused, getAccessibleContext): Implement.
5986 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5988 * java/awt/MenuItem.java (getAccessibleContext): Implement.
5989 * java/awt/MenuComponent.java (accessibleContext): Make package
5991 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
5992 AccessibleAWTCheckboxMenuItem): Implement.
5994 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5996 * java/awt/List.java: Implement AccessibleAWTList,
5997 AccessibleAWTListChild.
5999 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6001 * java/awt/Choice.java: Add implements declaration for
6004 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6006 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6009 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6011 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6012 implemented interface list.
6014 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6016 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6017 * javax/imageio/metadata/IIOAttr.java: New class.
6018 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6019 * javax/imageio/metadata/IIONodeList.java: New class.
6020 * Makefile.am: Added new files.
6021 * Makefile.in: Regenerated.
6023 2005-02-15 Michael Koch <konqueror@gmx.de>
6025 * javax/swing/AbstractAction.java,
6026 javax/swing/AbstractCellEditor.java,
6027 javax/swing/AbstractListModel.java,
6028 javax/swing/DefaultBoundedRangeModel.java,
6029 javax/swing/DefaultButtonModel.java,
6030 javax/swing/DefaultCellEditor.java,
6031 javax/swing/DefaultComboBoxModel.java,
6032 javax/swing/DefaultDesktopManager.java,
6033 javax/swing/JMenu.java,
6034 javax/swing/JSlider.java,
6035 javax/swing/KeyStroke.java,
6036 javax/swing/OverlayLayout.java,
6037 javax/swing/ScrollPaneLayout.java,
6038 javax/swing/SizeRequirements.java,
6039 javax/swing/ViewportLayout.java:
6040 Made serialVersionUID private.
6042 2005-02-15 Michael Koch <konqueror@gmx.de>
6044 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6047 2005-02-15 Michael Koch <konqueror@gmx.de>
6049 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6051 2005-02-15 Michael Koch <konqueror@gmx.de>
6053 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6055 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6057 * java/awt/EventDispatchThread.java,
6058 java/awt/Toolkit.java:
6059 Don't catch java.lang.ThreadDeath.
6061 2005-02-15 Michael Koch <konqueror@gmx.de>
6063 * javax/swing/text/PasswordView.java
6064 (drawEchoCharacter): Added javadoc.
6065 (drawSelectedText): Likewise.
6066 (drawUnselectedText): Likewise.
6068 2005-02-15 Michael Koch <konqueror@gmx.de>
6070 * javax/swing/JRootPane.java
6071 (windowDecorationStyle): New field.
6072 (setMenuBar): New method.
6073 (getMenuBar): Likewise.
6074 (getWindowDecorationStyle): Likewise.
6075 (setWindowDecorationStyle): Likewise.
6077 2005-02-15 Michael Koch <konqueror@gmx.de>
6079 * javax/swing/DefaultListSelectionModel.java
6080 (leadAnchorNotificationEnabled): Made protected.
6082 2005-02-15 Michael Koch <konqueror@gmx.de>
6084 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6085 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6086 * Makefile.in: Regenerated.
6089 2005-02-15 Michael Koch <konqueror@gmx.de>
6091 * javax/swing/JFormattedTextField.java: Implemented.
6092 * javax/swing/JWindow.java
6093 (JWindow): New constructors.
6094 (initWindow): Renamed from initFrame.
6095 * javax/swing/UIDefaults.java
6096 (ActiveValue): Made interface static.
6097 (LazyValue): Likewise.
6098 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6099 (TitlePaneLayout.TitlePaneLayout): New constructor.
6100 * javax/swing/plaf/basic/BasicSliderUI.java
6101 (ChangeHandler): Made public.
6102 (FocusHandler): Likewise.
6103 (PropertyChangeHandler): Likewise.
6104 (ScrollListener): Likewise.
6105 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6106 (FocusHandler): Likewise.
6107 (MouseHandler): Likewise.
6108 * javax/swing/plaf/basic/BasicTextPaneUI.java
6109 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6110 * javax/swing/plaf/basic/BasicToolBarUI.java
6111 (BasicToolBarUI): Simplified. Reworked javadoc.
6112 (canDock): Simplified. Make public.
6113 (DockingListener): Made public.
6114 * javax/swing/text/JTextComponent.java
6115 (navigationFilter): New field.
6116 (getNavigationFilter): New method.
6117 (setNavigationFilter): Likewise.
6119 2005-02-15 Michael Koch <konqueror@gmx.de>
6121 * javax/swing/plaf/metal/MetalTheme.java
6122 (getControlTextColor): Return getControlInfo().
6123 (getHighlightedTextColor): Return getControlTextColor().
6125 2005-02-15 Michael Koch <konqueror@gmx.de>
6127 * javax/swing/plaf/basic/BasicButtonListener.java
6128 (BasicButtonListener): New constructor.
6129 * javax/swing/plaf/basic/BasicButtonUI.java
6130 (createButtonListener): Usw new BasicButtonListener constructor.
6132 2005-02-15 Michael Koch <konqueror@gmx.de>
6134 * javax/imageio/event/package.html,
6135 javax/imageio/metadata/package.html: New files.
6137 2005-02-15 Michael Koch <konqueror@gmx.de>
6139 * java/awt/image/MemoryImageSource.java: Reformatted.
6141 2005-02-15 Michael Koch <konqueror@gmx.de>
6143 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6145 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6147 * java/awt/color/ICC_Profile.java
6148 (finalize): Removed pointless field assignments.
6150 2005-02-15 Michael Koch <konqueror@gmx.de>
6152 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6153 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6154 * Makefile.in: Regenerated.
6156 2005-02-15 Michael Koch <konqueror@gmx.de>
6158 * javax/swing/text/DefaultStyledDocument.java: New file.
6159 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6160 * Makefile.in: Regenerated.
6162 2005-02-15 Michael Koch <konqueror@gmx.de>
6164 * javax/swing/JFileChooser.java
6165 (showDialog): Return CANCEL_OPTION for now.
6166 (showOpenDialog): Likewise.
6167 (showSaveDialog): Likewise.
6169 2005-02-15 Michael Koch <konqueror@gmx.de>
6171 * javax/swing/JApplet.java
6172 (HIDE_ON_CLOSE): Removed.
6173 (EXIT_ON_CLOSE): Likewise.
6174 (DISPOSE_ON_CLOSE): Likewise.
6175 (DO_NOTHING_ON_CLOSE): Likewise.
6176 (close_action): Likewise.
6177 (getDefaultCloseOperation): Likewise.
6178 (setDefaultCloseOperation): Likewise.
6179 (processWindowEvent): Likewise.
6180 (getPreferredSize): Simplified.
6181 * javax/swing/JInternalFrame.java
6182 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6184 * javax/swing/JWindow.java
6185 (HIDE_ON_CLOSE): Removed.
6186 (EXIT_ON_CLOSE): Likewise.
6187 (DISPOSE_ON_CLOSE): Likewise.
6188 (DO_NOTHING_ON_CLOSE): Likewise.
6189 (close_action): Likewise.
6190 (processKeyEvent): Likewise.
6191 (setDefaultCloseOperation): Likewise.
6192 (getPreferredSize): Simplified.
6194 2005-02-15 Michael Koch <konqueror@gmx.de>
6196 * javax/swing/JTextField.java
6197 (getPreferredSize): Re-implemented.
6199 2005-02-15 Michael Koch <konqueror@gmx.de>
6201 * javax/swing/JLabel.java
6202 (setDisplayedMnemonic): Use only upper case characters.
6203 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6204 PropertyChangeEvent after property got set to the new index.
6206 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6208 * javax/swing/JComboBox.java:
6209 (JComboBox): Removed selection of the
6210 first item in the model.
6212 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6214 * javax/swing/JComboBox.java
6215 added support for no item being selected
6216 (JComboBox): select first or nothing depending on element count
6217 (setModel): cleaned up unneeded "this." usage, added more
6218 docs, made exception behavior match that of the JDK
6219 (setLighWeightPopupEnabled): removed unneeded "this." usage
6221 (setMaximumRowCount): dito
6223 (setPrototypeDisplayValue): dito
6224 (getSelectedItem): simplified, added more user doc
6225 (setSelectedIndex): corrected exception behavior, added more user doc
6226 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6227 added performance warning to user doc
6228 (addItem): fixed exception behavior, added user doc
6229 (insertItemAt): dito
6231 (removeItemAt): dito
6232 (removeAll): fixed exception behavior, added user doc, added support
6233 for model not being instance of DefaultComboBoxModel
6234 (getSelectedItemObjects): simplified
6235 (getItemCount): fixed dependency on DefaultComboBoxModel
6236 (getItemAt): fixed dependency on MutableComboBoxModel
6237 * javax/swing/DefaultComboBoxModel.java:
6238 (setSelectedItem): updates selected item only if new
6239 value is null or known (match JDK behavior)
6240 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6241 (paintCurrentValue): renders "" if no item is selected
6243 2005-02-15 Michael Koch <konqueror@gmx.de>
6245 * javax/swing/plaf/metal/MetalTheme.java,
6246 javax/swing/plaf/metal/DefaultMetalTheme.java:
6248 * javax/swing/plaf/metal/MetalLookAndFeel.java
6249 * Makefile.am: Added the new files.
6250 * Makefile.in: Regenerated.
6252 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6254 * javax/swing/JTable.java
6255 (editorComp): New field.
6256 (JTable): Initialize local variables and call updateUI
6257 (selectionBackground): Make protected.
6258 (selectionForeground): Likewise.
6259 (initializeLocalVars): Create default editors and renderers,
6260 initialize editingColumn, editingRow variables.
6261 (createDefaultEditors): New Method.
6262 (createDefaultRenderers): Likewise.
6263 (createDefaultListSelectionModel): Removed
6264 (createDefaultSelectionModel): New Method.
6265 (createDefaultTableHeader): Likewise
6266 (removeColumn): Likewise.
6267 (getEditingColumn): Likewise.
6268 (setEditingColumn): Likewise.
6269 (getEditingRow): Likewise.
6270 (setEditingRow): Likewise.
6271 (getEditorComponent): Likewise.
6272 (isEditing): Likewise.
6273 (setDefaultEditor): Likewise.
6274 (addColumnSelectionInterval): Likewise.
6275 (addRowSelectionInterval): Likewise.
6276 (setColumnSelectionInterval): Likewise.
6277 (setRowSelectionInterval): Likewise.
6278 (removeColumnSelectionInterval): Likewise.
6279 (removeRowSelectionInterval): Likewise.
6280 (isColumnSelected): Likewise.
6281 (isRowSelected): Likewise.
6282 (isCellSelected): Likewise.
6283 (selectAll): Likewise.
6285 2005-02-15 Michael Koch <konqueror@gmx.de>
6287 * javax/swing/JTable.java
6288 (addColumn): New method.
6289 (getColumnClass): Likewise.
6290 (getColumnName): Likewise.
6292 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6294 * javax/swing/TransferHandler.java
6295 (createTransferable): Made protected.
6297 2005-02-15 Michael Koch <konqueror@gmx.de>
6299 * javax/swing/JTable.java,
6300 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6301 javax/swing/plaf/basic/BasicTableUI.java:
6302 Use fixed get/setIntercellSpacing() methods.
6304 2005-02-15 Michael Koch <konqueror@gmx.de>
6306 * javax/swing/JTable.java
6307 (getIntercellSpacing): Fixed typo in method name.
6308 (setIntercellSpacing): Likewise.
6310 2005-02-15 Michael Koch <konqueror@gmx.de>
6312 * javax/swing/text/JTextComponent.java
6313 (focusAccelerator): New variable.
6314 (getFocusAccelerator): New method.
6315 (setFocusAccelerator): Likewise.
6317 2005-02-15 Michael Koch <konqueror@gmx.de>
6319 * javax/swing/JComponent.java
6320 (setTransferHandler): Made public. Fire property change event.
6321 * javax/swing/TransferHandler.java: Implemented.
6322 * javax/swing/text/JTextComponent.java
6323 (DefaultTransferHandler): New inner class.
6324 (defaultTransferHandler): New variable.
6328 (doTransferAction): Likewise.
6330 2005-02-15 Michael Koch <konqueror@gmx.de>
6332 * javax/swing/JTree.java
6333 (collapsePath): New method.
6334 (collapseRow): Likewise.
6335 (expandPath): Likewise.
6336 (expandRow): Likewise.
6337 (checkExpandParents): Likewise.
6338 (doExpandParents): Likewise.
6339 (setExpandedState): Likewise.
6340 (makeVisible): Likewise.
6342 2005-02-15 Michael Koch <konqueror@gmx.de>
6344 * javax/swing/JPasswordField.java: Updated javadocs.
6346 2005-02-15 Michael Koch <konqueror@gmx.de>
6348 * javax/swing/JLayeredPane.java
6349 (getLayer): Fixed return type, made public.
6350 (getPosition): Use new getLayer().
6351 (SetPosition): Likewise.
6352 (getIndexOf): Likewise.
6354 * javax/swing/JInternalFrame.java
6355 (getLayer): Use new JLayeredPane.getLayer().
6358 2005-02-15 Michael Koch <konqueror@gmx.de>
6360 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6361 (setHeaderValue): Simplified. Do nothing when old value == new value.
6363 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6365 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6366 against null clip region.
6367 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6368 gtkWindowSetResizable.
6369 (postConfigureEvent): Only revalidate if frame size has changed.
6370 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6371 Only revalidate if frame size has changed.
6372 * java/awt/Component.java (reshape): Only repaint and post
6373 component events if component is showing.
6374 * java/awt/Container.java (addImpl): Only post container event if
6375 container is showing.
6377 * java/awt/Window.java (setLocationRelativeTo): Implement.
6378 (setBoundsCallback): Only post component events if component is
6380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6381 Protect against null graphics structure. Flush gdk event queue.
6383 2005-02-15 Michael Koch <konqueror@gmx.de>
6385 * javax/imageio/ImageReader.java,
6386 javax/imageio/ImageTranscoder.java,
6387 javax/imageio/ImageWriter.java,
6388 javax/imageio/spi/ImageInputStreamSpi.java,
6389 javax/imageio/spi/ImageOutputStreamSpi.java,
6390 javax/imageio/spi/ServiceRegistry.java,
6391 javax/imageio/stream/ImageInputStream.java,
6392 javax/imageio/stream/ImageOutputStream.java: Updated.
6393 * javax/imageio/IIOException.java,
6394 javax/imageio/IIOImage.java,
6395 javax/imageio/IIOParam.java,
6396 javax/imageio/IIOParamController.java,
6397 javax/imageio/ImageIO.java,
6398 javax/imageio/ImageReadParam.java,
6399 javax/imageio/ImageTypeSpecifier.java,
6400 javax/imageio/ImageWriteParam.java,
6401 javax/imageio/spi/IIORegistry.java,
6402 javax/imageio/spi/ImageReaderSpi.java,
6403 javax/imageio/spi/ImageWriterSpi.java,
6404 javax/imageio/stream/FileCacheImageInputStream.java,
6405 javax/imageio/stream/FileCacheImageOutputStream.java,
6406 javax/imageio/stream/FileImageInputStream.java,
6407 javax/imageio/stream/FileImageOutputStream.java,
6408 javax/imageio/stream/ImageInputStreamImpl.java,
6409 javax/imageio/stream/ImageOutputStreamImpl.java,
6410 javax/imageio/stream/MemoryCacheImageInputStream.java,
6411 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6412 javax/imageio/event/IIOReadProgressListener.java,
6413 javax/imageio/event/IIOReadUpdateListener.java,
6414 javax/imageio/event/IIOReadWarningListener.java,
6415 javax/imageio/event/IIOWriteProgressListener.java,
6416 javax/imageio/event/IIOWriteWarningListener.java,
6417 javax/imageio/metadata/IIOMetadata.java,
6418 javax/imageio/metadata/IIOMetadataController.java,
6419 javax/imageio/metadata/IIOMetadataFormat.java,
6420 javax/imageio/metadata/IIOInvalidTreeException.java,
6421 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6422 javax/imageio/metadata/IIOMetadataNode.java: New files.
6423 * Makefile.am (javax_source_files): Added new files
6424 * Makefile.in: Regenerated.
6426 2005-02-15 Graydon Hoare <graydon@redhat.com>
6428 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6429 Rework painting into BufferedImages
6430 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6431 Construct BufferedImage with alpha only when alpha is
6432 present in colormodel.
6433 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6434 Rework painting into client-side jint arrays.
6435 * jni/gtk-peer/gtkcairopeer.h:
6438 2005-02-15 Michael Koch <konqueror@gmx.de>
6440 * javax/swing/DefaultListCellRenderer.java
6441 (serialVersionUID): Made private.
6442 (getListCellRendererComponent): Set horizontal alignment.
6443 * javax/swing/JLabel.java
6444 (setVerticalAlignment): Re-implemented.
6445 (setHorizontalAlignment): Do nothing if old value = new value.
6446 * javax/swing/JList.java
6447 (setCellRenderer): Likewise.
6448 (setModel): Re-implemented.
6449 (setSelectionModel): Likewise.
6451 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6453 * java/awt/Component.java,
6454 java/awt/geom/Rectangle2D.java:
6457 2005-02-15 Michael Koch <konqueror@gmx.de>
6459 * javax/swing/AbstractListModel.java
6460 (fireContentsChanged): Simplified.
6461 (fireIntervalAdded): Likewise.
6462 (fireIntervalRemoved): Likewise.
6463 * javax/swing/DefaultSingleSelectionModel.java:
6465 (fireStateChanged): Simplified.
6466 * javax/swing/JPopupMenu.java
6467 (setSelectionModel): Set property.
6469 2005-02-15 Michael Koch <konqueror@gmx.de>
6471 * java/awt/print/Book.java: Reformatted.
6473 2005-02-15 Michael Koch <konqueror@gmx.de>
6475 * java/awt/geom/Area.java
6476 (QuadSegment.curveArea): Remove unused variables.
6477 (CubicSegment.curveArea): Likewise.
6479 2005-02-15 Michael Koch <konqueror@gmx.de>
6481 * javax/swing/JTree.java
6482 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6483 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6484 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6485 (EXPANDED): New constant.
6486 (COLLAPSED): Likewise.
6487 (nodeStates): New field.
6488 (cellEditor): New method.
6489 (cellRenderer): Likewise.
6490 (selectionModel): Likewise.
6491 (treeModel): Likewise.
6492 (scrollPathToVisible): Likewise.
6493 (scrollRowToVisible): Likewise.
6494 (isCollapsed): Likewise.
6495 (isExpanded): Likewise.
6496 (clearToggledPaths): Likewise.
6497 (getDescendantToggledPaths): Likewise.
6498 (hasBeenExpanded): Likewise.
6499 (isVisible): Likewise.
6500 (isPathEditable): Likewise.
6502 2005-02-15 Michael Koch <konqueror@gmx.de>
6504 * javax/swing/JLayeredPane.java: Reformatted.
6506 2005-02-15 Michael Koch <konqueror@gmx.de>
6508 * javax/swing/tree/DefaultMutableTreeNode.java:
6510 * javax/swing/tree/MutableTreeNode.java:
6513 2005-02-15 Michael Koch <konqueror@gmx.de>
6515 * javax/swing/JFormattedTextField.java
6516 (setDocument): Call setDocument of super class. Don't fire property
6519 2005-02-15 Sven de Marothy <sven@physto.se>
6521 * java/awt/image/IndexColorModel.java:
6522 Add FIXME with respect to alpha handling.
6523 (getAlpha): Default to returning opaque pixels.
6524 * java/awt/image/MultiPixelPackedSampleModel.java
6525 (MultiPixelPackedSampleModel): Corrected parameters, order of
6526 bit shifts and masks, stride length off by one.
6528 2005-02-15 Michael Koch <konqueror@gmx.de>
6530 * javax/swing/JList.java, javax/swing/JTree.java:
6531 Added much new methods and fixed much methods setting bound properties.
6533 2005-02-16 Mark Wielaard <mark@klomp.org>
6535 * Makefile.am (gnu_xml_source_files): Removed
6536 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6537 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6538 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6539 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6540 gnu/xml/dom/DomDocumentFragment.java,
6541 gnu/xml/dom/DomProcessingInstruction.java and
6542 gnu/xml/dom/ls/DomLSException.java.
6543 * Makefile.in: Regenerated.
6545 2005-02-16 Tom Tromey <tromey@redhat.com>
6547 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6548 attribute index is out of bounds.
6550 2005-02-16 Chris Burdess <dog@gnu.org>
6552 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6553 isDeclared methods. Improved performance of isSpecified methods.
6555 2005-02-16 Chris Burdess <dog@gnu.org>
6557 Fixes bug libgcj/19864
6558 * gnu/xml/dom/DomAttr.java,
6559 gnu/xml/dom/DomCDATA.java,
6560 gnu/xml/dom/DomCDATASection.java,
6561 gnu/xml/dom/DomCharacterData.java,
6562 gnu/xml/dom/DomDOMException.java,
6563 gnu/xml/dom/DomDoctype.java,
6564 gnu/xml/dom/DomDocument.java,
6565 gnu/xml/dom/DomDocumentConfiguration.java,
6566 gnu/xml/dom/DomDocumentFragment.java,
6567 gnu/xml/dom/DomElement.java,
6568 gnu/xml/dom/DomEx.java,
6569 gnu/xml/dom/DomFragment.java,
6570 gnu/xml/dom/DomImpl.java,
6571 gnu/xml/dom/DomIterator.java,
6572 gnu/xml/dom/DomNamedNodeMap.java,
6573 gnu/xml/dom/DomNode.java,
6574 gnu/xml/dom/DomNsNode.java,
6575 gnu/xml/dom/DomPI.java,
6576 gnu/xml/dom/DomProcessingInstruction.java,
6577 gnu/xml/dom/DomText.java,
6578 gnu/xml/dom/DomLSEx.java,
6579 gnu/xml/dom/DomLSException.java,
6580 gnu/xml/dom/DomLSParser.java,
6581 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6582 implementation class names to conform to Classpath guidelines. Make
6583 DomLSException use JDK 1.4+ exception chaining.
6584 * gnu/xml/util/SAXNullTransformerFactory.java,
6585 gnu/xml/xpath/Predicate.java: Use constants relative to
6586 declaring class or interface.
6588 2005-02-16 Andrew Haley <aph@redhat.com>
6590 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6591 null, create a new AccessControlContext.
6592 * java/security/SecureClassLoader.java (protectionDomainCache):
6594 (defineClass): Create a new protection domain and add it to our
6597 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6598 addStub() to keep track of the stub we've exported.
6599 (unexportObject): Call deleteStub().
6600 * java/rmi/server/RemoteObject.java (stubs): New field.
6601 (addStub): New method.
6602 (deleteStub): New method.
6605 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6606 true to findHelper (tryParents).
6607 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6609 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6610 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6612 If tryParents is false, don't scan parent class loaders.
6614 * java/security/Permissions.java (PermissionsHash.implies):
6615 Iterate over the collection and invoke implies() on each
6618 2005-02-16 Andrew Haley <aph@redhat.com>
6620 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6622 (PersistentByteMap): Set name
6623 Magic number changed to 0x67636a64 ("gcjd").
6624 (init): Force the map to be prime.
6625 (emptyPersistentByteMap): File name was a string, now a File.
6626 (addBytes): Share srings between entries.
6627 (stringTableSize): New method.
6628 (capacity): Scale by load factor.
6629 (force): New method.
6630 (getFile): New method.
6631 (close): New method.
6632 (putAll): New method.
6633 (ByteWrapper): New class.
6634 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6635 (main): Guess the average string size as 32, not 64.
6636 Copy a database before modifying it, so that we can update a
6637 database in a running system.
6638 If a database isn't big enough, resize it.
6639 "-m": new option: merges databases.
6640 "-a": Create a new detabase if it doesn't exist.
6641 (usage): Correct, add new option.
6642 (addJar): Copy a database before modifying it.
6643 (resizeMap): New method.
6645 2005-02-15 David Daney <ddaney@avtrex.com>
6646 Bryce McKinlay <mckinlay@redhat.com>
6648 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6649 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6650 ensure that GC threads inherit the new signal mask.
6651 (block_sigchld): Call JvFail rather than throwing exception if
6652 pthread_sigmask() fails.
6654 2005-02-15 Mark Wielaard <mark@klomp.org>
6656 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6657 file path elements are separated by spaces.
6659 2005-02-15 Mark Wielaard <mark@klomp.org>
6661 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6662 to describe attributes without a constant field value in this class.
6664 2005-02-15 Michael Koch <konqueror@gmx.de>
6666 * java/util/jar/Attributes.java
6667 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6669 2005-02-15 Mark Wielaard <mark@klomp.org>
6671 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6672 space for parsing CLASS_PATH attribute.
6674 2005-02-15 Mark Wielaard <mark@klomp.org>
6676 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6677 aside for "GCJLIBS" in directory where jarfiles are loaded.
6678 (JarURLLoader.getClass): Removed method.
6679 (JarURLLoader.toString): Removed method.
6680 (FileResource.toString): Removed method.
6682 2005-02-15 Mark Wielaard <mark@klomp.org>
6684 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6685 and/or cause before throwing.
6687 2005-02-15 Richard Henderson <rth@redhat.com>
6689 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6690 (libgcj0_convenience_la_SOURCES): ... here.
6691 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6692 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6693 * Makefile.in: Regenerate.
6695 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6698 * include/jawt.h: Likewise.
6699 * include/jawt_md.h: Likewise.
6700 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6702 * include/Makefile.in: Regenerate.
6703 * jni/classpath/classpath_jawt.h: Likewise.
6704 * jni/gtk-peer/gtk_jawt.c: Likewise.
6705 * Makefile.am: Build libjawt.so.
6706 * Makefile.in: Regenerate.
6708 2005-02-14 Tom Tromey <tromey@redhat.com>
6710 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6712 2005-02-14 Tom Tromey <tromey@redhat.com>
6714 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6715 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6717 2005-02-14 Tom Tromey <tromey@redhat.com>
6720 * testsuite/libjava.lang/PR19929.out: New file.
6721 * testsuite/libjava.lang/PR19929.java: New file.
6723 2005-02-14 Anthony Green <green@redhat.com>
6726 * testsuite/libjava.jni/PR18116.c: New file.
6727 * testsuite/libjava.jni/PR18116.java: New file.
6728 * testsuite/libjava.jni/PR18116.out: New file.
6730 2005-02-13 Anthony Green <green@redhat.com>
6733 * jni.cc (nathash_add): Don't strdup the method signature.
6734 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6738 2005-02-12 Mark Wielaard <mark@klomp.org>
6740 Fixes bug libgcj/8170
6741 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6742 ClassNotFoundException.
6743 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6744 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6745 (remove_internal): New field superceding remove_interpreter.
6746 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6747 Remove no-class methods starting with "_Jv_". And Replace null
6748 class or method names with the empty string. Stop at either the
6749 MainThread or a real Thread run() method.
6750 (newElement): Made static.
6751 * java/net/URLClassLoader.java (findClass): Throw
6752 ClassNotFoundExceptions including urls, plus parent using toString().
6753 (thisString): New field.
6754 (toString): New method.
6756 2005-02-10 Tom Tromey <tromey@redhat.com>
6758 * external/sax/Makefile.in: Rebuilt.
6759 * external/sax/Makefile.am (all-local): Removed.
6760 (BUILT_SOURCES): New variable.
6761 (mostlyclean-local): No error if no classes to delete.
6762 * external/w3c_dom/Makefile.in: Rebuilt.
6763 * external/w3c_dom/Makefile.am (all-local): Removed.
6764 (BUILT_SOURCES): New variable.
6765 (mostlyclean-local): No error if no classes to delete.
6767 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6769 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6770 of mauve and libjava.
6772 2005-02-09 Tom Tromey <tromey@redhat.com>
6774 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6775 jar file with OPEN_DELETE.
6776 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6777 OPEN_DELETE is used.
6779 2005-02-09 Tom Tromey <tromey@redhat.com>
6781 * java/util/zip/InflaterInputStream.java (markSupported):
6783 (mark, reset): Likewise.
6785 2005-02-08 Tom Tromey <tromey@redhat.com>
6787 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6788 name or port is missing.
6789 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6790 AUTHORITY_PORT_GROUP): Updated.
6792 2005-02-08 Tom Tromey <tromey@redhat.com>
6794 * configure: Rebuilt.
6795 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6798 2005-02-07 Tom Tromey <tromey@redhat.com>
6800 * java/lang/natRuntime.cc (insertSystemProperties): Set
6801 sun.boot.class.path earlier.
6803 2005-02-07 Tom Tromey <tromey@redhat.com>
6805 * defineclass.cc (handleClassBegin): Use
6806 _Jv_RegisterInitiatingLoader.
6807 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6808 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6809 class. Use _Jv_UnregisterInitiatingLoader.
6810 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6813 2005-02-07 Mark Wielaard <mark@klomp.org>
6815 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6816 java/util/regex/Matcher.java (lookingAt): Set position when match
6818 (matches): Implemented through lookingAt().
6820 2005-02-07 Mark Wielaard <mark@klomp.org>
6822 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6823 * java/util/regex/Pattern.java (split(CharSequence,int)):
6824 Fix while empties > 0 loops.
6826 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6828 * gnu/java/nio/charset/ISO_8859_1.java,
6829 gnu/java/nio/charset/US_ASCII.java,
6830 gnu/java/nio/charset/UTF_16.java,
6831 gnu/java/nio/charset/UTF_16_LE.java,
6832 gnu/java/nio/charset/UTF_16_BE.java,
6833 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6834 and aliases according to
6835 "http://www.iana.org/assignments/character-sets",
6836 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6837 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6838 * gnu/java/nio/charset/Provider.java: Made charset lookup
6839 case-insensitive which fixes bug #11740.
6841 2005-02-07 Tom Tromey <tromey@redhat.com>
6844 * Makefile.in: Rebuilt.
6845 * Makefile.am (src.zip): New target.
6846 (install-src.zip): Likewise.
6847 (sourcesdir): New variable.
6849 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6851 * javax/imageio/metadata/IIOMetadataNode.java:
6853 * javax/imageio/metadata/IIOAttr.java,
6854 javax/imageio/metadata/IIONamedNodeMap.java,
6855 javax/imageio/metadata/IIONodeList.java:
6858 2005-02-06 Graydon Hoare <graydon@redhat.com>
6860 * gnu/java/awt/ClasspathToolkit.java
6861 (registerImageIOSpis): New method.
6862 * javax/imageio/ImageIO.java
6863 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6864 (WriterMIMETypeFilter.filter): Likewise.
6865 (ImageReaderIterator): Pass extension argument through to SPI.
6866 (getReadersByFilter): Likewise.
6867 (getWritersByFilter): Likewise.
6868 (getImageReadersByFormatName): Likewise.
6869 (getImageReadersByMIMEType): Likewise.
6870 (getImageReadersBySuffix): Likewise.
6871 (getImageWritersByFormatName): Likewise.
6872 (getImageWritersByMIMEType): Likewise.
6873 (getImageWritersBySuffix): Likewise.
6876 * javax/imageio/ImageReader.java
6877 (progressListeners): Initialize.
6878 (setInput): Implement.
6879 * javax/imageio/ImageWriter.java
6880 (progressListeners): Initialize.
6881 (warningListeners): Likewise.
6882 (warningLocales): Likewise.
6883 (setOutput): Test "isInstance" rather than class equality.
6884 * javax/imageio/spi/IIORegistry.java
6885 (static): Add reader and writer SPIs.
6886 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6888 2005-02-06 Michael Koch <konqueror@gmx.de>
6890 * javax/imageio/metadata/IIOInvalidTreeException.java
6891 (IIOInvalidTreeException): Reformatted.
6892 * javax/imageio/spi/IIORegistry.java
6893 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6894 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6895 Reworked import statements.
6897 2005-02-06 Michael Koch <konqueror@gmx.de>
6899 * javax/imageio/stream/FileImageOutputStream.java:
6902 2005-02-06 Michael Koch <konqueror@gmx.de>
6904 * javax/imageio/stream/FileCacheImageInputStream.java,
6905 javax/imageio/stream/FileCacheImageOutputStream.java,
6906 javax/imageio/stream/FileImageInputStream.java,
6907 javax/imageio/stream/ImageInputStreamImpl.java,
6908 javax/imageio/stream/ImageOutputStreamImpl.java,
6909 javax/imageio/stream/MemoryCacheImageInputStream.java,
6910 javax/imageio/stream/MemoryCacheImageOutputStream.java:
6911 Added all missing methods in javax.imageio.stream.
6913 2005-02-02 David Daney <ddaney@avtrex.com>
6915 * java/net/InetAddress.java (InetAddress): Make a private copy of
6917 * java/net/Inet4Address.java (getAddress): Return a copy of the
6919 * java/net/Inet6Address.java (Inet6Address): Use private copy of
6921 (getAddress): Return a copy of the address.
6924 2005-02-02 Tom Tromey <tromey@redhat.com>
6926 * Makefile.in: Rebuilt.
6927 * Makefile.am (classes.stamp): New target, broken out from
6929 ($(all_java_class_files)): Depend on it.
6930 (libgcj-@gcc_version@.jar): Likewise.
6931 (all-recursive): Likewise.
6932 (CLEANFILES): Include classes.stamp.
6934 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
6936 * link.cc: Include <stdio.h>
6938 2005-02-02 Tom Tromey <tromey@redhat.com>
6941 * Makefile.in: Rebuilt.
6942 * Makefile.am (ordinary_java_source_files): Added new class.
6943 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6944 Use system_instance, not instance.
6945 * gnu/gcj/runtime/SystemClassLoader.java: New file.
6946 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
6948 (system_instance): New field.
6949 (initialize): Initialize the system loader as well.
6950 (VMClassLoader): Default to LIB_CACHE.
6952 2005-02-02 Tom Tromey <tromey@redhat.com>
6954 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
6955 * prims.cc: Fixed comment.
6957 2005-02-01 Tom Tromey <tromey@redhat.com>
6959 * Makefile.in: Rebuilt.
6960 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
6961 (.java.class): Use BOOTCLASSPATH.
6963 2005-02-01 Tom Tromey <tromey@redhat.com>
6965 * external/w3c_dom/Makefile.am: New file.
6966 * external/w3c_dom/Makefile.in: New file.
6967 * external/sax/Makefile.am: New file.
6968 * external/sax/Makefile.in: New file.
6969 * external/Makefile.in: New file.
6970 * external/Makefile.am: New file.
6971 * external/README: New file from Classpath.
6972 * configure, aclocal.m4, Makefile.in: Rebuilt.
6973 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
6974 * Makefile.am (SUBDIRS): Added external.
6975 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
6976 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
6977 (BOOTCLASSPATH): New variable.
6978 (AM_GCJFLAGS): Use it.
6979 (gnu_xml_source_files): New variable.
6980 (libgcj_la_SOURCES): Use it.
6981 (libgcj_la_LDADD): Include new convenience libraries.
6982 (lib_org_ietf_jgss_la_SOURCES): Removed.
6983 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
6984 (lib_org_ietf_jgss_la_LIBADD): Likewise.
6985 (lib_org_w3c_dom_la_SOURCES): Removed.
6986 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
6987 (lib_org_w3c_dom_la_LIBADD): Likewise.
6988 (lib_org_xml_sax_la_SOURCES): Removed.
6989 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
6990 (lib_org_xml_sax_la_LIBADD): Likewise.
6991 (all_java_source_files): Updated.
6992 (property_files): Likewise.
6993 (libgcj-@gcc_version@.jar): Include classes from external/.
6994 (javax_source_files): Updated.
6995 (ordinary_java_source_files): Updated.
6996 * javax/xml/XMLConstants.java,
6997 javax/xml/datatype/DatatypeConfigurationException.java,
6998 javax/xml/datatype/DatatypeConstants.java,
6999 javax/xml/datatype/DatatypeFactory.java,
7000 javax/xml/datatype/Duration.java,
7001 javax/xml/datatype/XMLGregorianCalendar.java,
7002 javax/xml/datatype/package.html,
7003 javax/xml/namespace/NamespaceContext.java,
7004 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7005 javax/xml/parsers/DocumentBuilder.java,
7006 javax/xml/parsers/DocumentBuilderFactory.java,
7007 javax/xml/parsers/FactoryConfigurationError.java,
7008 javax/xml/parsers/ParserConfigurationException.java,
7009 javax/xml/parsers/SAXParser.java,
7010 javax/xml/parsers/SAXParserFactory.java,
7011 javax/xml/parsers/package.html,
7012 javax/xml/transform/ErrorListener.java,
7013 javax/xml/transform/OutputKeys.java,
7014 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7015 javax/xml/transform/SourceLocator.java,
7016 javax/xml/transform/Templates.java,
7017 javax/xml/transform/Transformer.java,
7018 javax/xml/transform/TransformerConfigurationException.java,
7019 javax/xml/transform/TransformerException.java,
7020 javax/xml/transform/TransformerFactory.java,
7021 javax/xml/transform/TransformerFactoryConfigurationError.java,
7022 javax/xml/transform/URIResolver.java,
7023 javax/xml/transform/package.html,
7024 javax/xml/transform/dom/DOMLocator.java,
7025 javax/xml/transform/dom/DOMResult.java,
7026 javax/xml/transform/dom/DOMSource.java,
7027 javax/xml/transform/dom/package.html,
7028 javax/xml/transform/sax/SAXResult.java,
7029 javax/xml/transform/sax/SAXSource.java,
7030 javax/xml/transform/sax/SAXTransformerFactory.java,
7031 javax/xml/transform/sax/TemplatesHandler.java,
7032 javax/xml/transform/sax/TransformerHandler.java,
7033 javax/xml/transform/sax/package.html,
7034 javax/xml/transform/stream/StreamResult.java,
7035 javax/xml/transform/stream/StreamSource.java,
7036 javax/xml/transform/stream/package.html,
7037 javax/xml/validation/Schema.java,
7038 javax/xml/validation/SchemaFactory.java,
7039 javax/xml/validation/TypeInfoProvider.java,
7040 javax/xml/validation/Validator.java,
7041 javax/xml/validation/ValidatorHandler.java,
7042 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7043 javax/xml/xpath/XPathConstants.java,
7044 javax/xml/xpath/XPathException.java,
7045 javax/xml/xpath/XPathExpression.java,
7046 javax/xml/xpath/XPathExpressionException.java,
7047 javax/xml/xpath/XPathFactory.java,
7048 javax/xml/xpath/XPathFactoryConfigurationException.java,
7049 javax/xml/xpath/XPathFunction.java,
7050 javax/xml/xpath/XPathFunctionException.java,
7051 javax/xml/xpath/XPathFunctionResolver.java,
7052 javax/xml/xpath/XPathVariableResolver.java,
7053 javax/xml/xpath/package.html: New files, from GNU JAXP.
7054 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7055 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7056 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7057 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7058 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7059 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7060 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7061 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7062 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7063 org/w3c/dom/ranges/DocumentRange.java,
7064 org/w3c/dom/ranges/Range.java,
7065 org/w3c/dom/ranges/RangeException.java,
7066 org/w3c/dom/traversal/DocumentTraversal.java,
7067 org/w3c/dom/traversal/NodeFilter.java,
7068 org/w3c/dom/traversal/NodeIterator.java,
7069 org/w3c/dom/traversal/TreeWalker.java,
7070 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7071 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7072 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7073 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7074 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7075 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7076 org/xml/sax/SAXNotRecognizedException.java,
7077 org/xml/sax/SAXNotSupportedException.java,
7078 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7079 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7080 org/xml/sax/ext/DeclHandler.java,
7081 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7082 org/xml/sax/helpers/AttributeListImpl.java,
7083 org/xml/sax/helpers/AttributesImpl.java,
7084 org/xml/sax/helpers/DefaultHandler.java,
7085 org/xml/sax/helpers/LocatorImpl.java,
7086 org/xml/sax/helpers/NamespaceSupport.java,
7087 org/xml/sax/helpers/NewInstance.java,
7088 org/xml/sax/helpers/ParserAdapter.java,
7089 org/xml/sax/helpers/ParserFactory.java,
7090 org/xml/sax/helpers/XMLFilterImpl.java,
7091 org/xml/sax/helpers/XMLReaderAdapter.java,
7092 org/xml/sax/helpers/XMLReaderFactory.java,
7093 org/xml/sax/helpers/package.html: Moved to external/.
7094 * external/sax/README,
7095 external/sax/org/xml/sax/AttributeList.java,
7096 external/sax/org/xml/sax/Attributes.java,
7097 external/sax/org/xml/sax/ContentHandler.java,
7098 external/sax/org/xml/sax/DTDHandler.java,
7099 external/sax/org/xml/sax/DocumentHandler.java,
7100 external/sax/org/xml/sax/EntityResolver.java,
7101 external/sax/org/xml/sax/ErrorHandler.java,
7102 external/sax/org/xml/sax/HandlerBase.java,
7103 external/sax/org/xml/sax/InputSource.java,
7104 external/sax/org/xml/sax/Locator.java,
7105 external/sax/org/xml/sax/Parser.java,
7106 external/sax/org/xml/sax/SAXException.java,
7107 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7108 external/sax/org/xml/sax/SAXNotSupportedException.java,
7109 external/sax/org/xml/sax/SAXParseException.java,
7110 external/sax/org/xml/sax/XMLFilter.java,
7111 external/sax/org/xml/sax/XMLReader.java,
7112 external/sax/org/xml/sax/package.html,
7113 external/sax/org/xml/sax/ext/Attributes2.java,
7114 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7115 external/sax/org/xml/sax/ext/DeclHandler.java,
7116 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7117 external/sax/org/xml/sax/ext/EntityResolver2.java,
7118 external/sax/org/xml/sax/ext/LexicalHandler.java,
7119 external/sax/org/xml/sax/ext/Locator2.java,
7120 external/sax/org/xml/sax/ext/Locator2Impl.java,
7121 external/sax/org/xml/sax/ext/package.html,
7122 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7123 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7124 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7125 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7126 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7127 external/sax/org/xml/sax/helpers/NewInstance.java,
7128 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7129 external/sax/org/xml/sax/helpers/ParserFactory.java,
7130 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7131 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7132 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7133 external/sax/org/xml/sax/helpers/package.html,
7134 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7135 external/w3c_dom/org/w3c/dom/Attr.java,
7136 external/w3c_dom/org/w3c/dom/CDATASection.java,
7137 external/w3c_dom/org/w3c/dom/CharacterData.java,
7138 external/w3c_dom/org/w3c/dom/Comment.java,
7139 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7140 external/w3c_dom/org/w3c/dom/DOMError.java,
7141 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7142 external/w3c_dom/org/w3c/dom/DOMException.java,
7143 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7144 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7145 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7146 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7147 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7148 external/w3c_dom/org/w3c/dom/Document.java,
7149 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7150 external/w3c_dom/org/w3c/dom/DocumentType.java,
7151 external/w3c_dom/org/w3c/dom/Element.java,
7152 external/w3c_dom/org/w3c/dom/Entity.java,
7153 external/w3c_dom/org/w3c/dom/EntityReference.java,
7154 external/w3c_dom/org/w3c/dom/NameList.java,
7155 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7156 external/w3c_dom/org/w3c/dom/Node.java,
7157 external/w3c_dom/org/w3c/dom/NodeList.java,
7158 external/w3c_dom/org/w3c/dom/Notation.java,
7159 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7160 external/w3c_dom/org/w3c/dom/Text.java,
7161 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7162 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7163 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7164 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7165 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7166 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7167 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7168 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7169 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7170 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7171 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7172 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7173 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7174 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7175 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7176 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7177 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7178 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7179 external/w3c_dom/org/w3c/dom/css/Counter.java,
7180 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7181 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7182 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7183 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7184 external/w3c_dom/org/w3c/dom/css/Rect.java,
7185 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7186 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7187 external/w3c_dom/org/w3c/dom/events/Event.java,
7188 external/w3c_dom/org/w3c/dom/events/EventException.java,
7189 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7190 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7191 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7192 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7193 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7194 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7195 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7196 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7197 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7198 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7199 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7200 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7201 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7202 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7203 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7204 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7205 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7206 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7207 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7208 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7209 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7210 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7211 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7212 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7213 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7214 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7215 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7216 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7217 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7218 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7219 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7220 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7221 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7222 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7223 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7224 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7225 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7226 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7227 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7228 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7229 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7230 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7231 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7232 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7233 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7234 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7235 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7236 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7237 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7238 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7239 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7240 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7241 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7242 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7243 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7244 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7245 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7246 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7247 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7248 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7249 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7250 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7251 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7252 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7253 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7254 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7255 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7256 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7257 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7258 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7259 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7260 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7261 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7262 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7263 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7264 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7265 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7266 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7267 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7268 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7269 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7270 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7271 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7272 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7273 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7274 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7275 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7276 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7277 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7278 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7279 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7280 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7283 2005-01-31 Anthony Green <green@redhat.com>
7285 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7286 Support IP_MULTICAST_LOOP.
7287 (setOption): Support IP_MULTICAST_LOOP.
7289 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7290 SO_REUSEADDR support.
7291 (getOption): Support SO_REUSEADDR.
7293 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7296 * java/util/Date.java
7297 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7299 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7301 (getTimezoneOffset): Inverted sign.
7303 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7305 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7306 remove other passing tests and add new XFAILs.
7308 2005-01-24 Tom Tromey <tromey@redhat.com>
7310 * java/lang/Class.h (next): Updated documentation. Renamed to
7312 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7313 _Jv_CheckABIVersion.
7314 (_Jv_RegisterClasses_Counted): Likewise.
7315 (_Jv_RegisterClassHookDefault): Fix starting condition of
7316 duplicate-checking loop.
7317 * include/jvm.h (GCJ_VERSION): New define.
7318 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7319 (_Jv_CheckABIVersion): New function.
7321 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7323 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7324 (libgij_la_LDFLAGS): Add.
7325 * Makefile.in: Rebuilt.
7327 2005-01-24 Roger Sayle <roger@eyesopen.com>
7330 * testsuite/libjava.compile/PR19295.java: New test case.
7332 2005-01-19 Tom Tromey <tromey@redhat.com>
7334 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7335 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7336 if 'handler' is valid.
7338 2005-01-17 Tom Tromey <tromey@redhat.com>
7340 * java/text/MessageFormat.java (scanString): Changed how quoting
7342 (scanFormatElement): Likewise.
7344 2004-12-07 Mark Wielaard <mark@klomp.org>
7346 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7348 2005-01-15 Michael Koch <konqueror@gmx.de>
7352 (AUTHORITY_REGEXP): New regexp constant.
7353 (AUTHORITY_USERINFO_GROUP): New constant.
7354 (AUTHORITY_HOST_GROUP): Likewise.
7355 (AUTHORITY_PORT_GROUP): Likewise.
7356 (port): Changed default value to -1.
7357 (parseURI): Parse authority part and initialize host,
7360 2005-01-14 Robin Green <greenrd@greenrd.org>
7362 * java/io/File.java (toURI): Generate a URI which we understand.
7364 2005-01-13 Graydon Hoare <graydon@redhat.com>
7366 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7367 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7368 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7369 * jni.cc: Reuse bottom frame between calls, avoid clearing
7370 frame when no local references are made.
7372 2005-01-13 Michael Koch <konqueror@gmx.de>
7375 * java/lang/Thread.java
7376 (Thread): Call checkAccess().
7377 (stop): Fixed argument name to match javadoc.
7378 * java/lang/natThread.cc
7379 (interrupt): Call checkAccess().
7382 2005-01-11 Michael Koch <konqueror@gmx.de>
7385 * java/net/URL.java (URL): Handle specs like
7386 "/redir?http://domain2.com/index.html" which start with a slash.
7388 2005-01-11 Michael Koch <konqueror@gmx.de>
7390 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7391 * gnu/java/net/BASE64.java,
7392 gnu/java/net/EmptyX509TrustManager.java,
7393 gnu/java/net/LineInputStream.java,
7394 gnu/java/net/protocol/http/Authenticator.java,
7395 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7396 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7397 gnu/java/net/protocol/http/ChunkedInputStream.java,
7398 gnu/java/net/protocol/http/Cookie.java,
7399 gnu/java/net/protocol/http/CookieManager.java,
7400 gnu/java/net/protocol/http/Credentials.java,
7401 gnu/java/net/protocol/http/HTTPConnection.java,
7402 gnu/java/net/protocol/http/HTTPDateFormat.java,
7403 gnu/java/net/protocol/http/HTTPURLConnection.java,
7404 gnu/java/net/protocol/http/Headers.java,
7405 gnu/java/net/protocol/http/Request.java,
7406 gnu/java/net/protocol/http/RequestBodyWriter.java,
7407 gnu/java/net/protocol/http/Response.java,
7408 gnu/java/net/protocol/http/ResponseBodyReader.java,
7409 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7410 gnu/java/net/protocol/http/SimpleCookieManager.java,
7411 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7412 gnu/java/net/protocol/http/event/ConnectionListener.java,
7413 gnu/java/net/protocol/http/event/RequestEvent.java,
7414 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7415 * gnu/java/net/protocol/http/Connection.java: Removed.
7416 * gnu/java/net/protocol/http/Handler.java,
7417 javax/net/ssl/HttpsURLConnection.java: Updated.
7418 * Makefile.am: Added new files and remove old ones.
7419 * Makefile.in: Regenerated.
7421 2005-01-11 Tom Tromey <tromey@redhat.com>
7424 * java/io/BufferedInputStream.java (read): Repeatedly read to
7426 (refill): Change test to see if buffer must be grown.
7428 2005-01-10 Tom Tromey <tromey@redhat.com>
7430 * mauve-libgcj: Exclude some swing tests.
7432 2005-01-10 Tom Tromey <tromey@redhat.com>
7434 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7435 * java/lang/Package.java (getPackages): Use VMClassLoader when
7437 (getPackage): Likewise.
7438 * prims.cc (_Jv_CreateJavaVM): Call
7439 _Jv_RegisterBootstrapPackages.
7440 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7441 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7442 (getPackages): Likewise.
7443 (definedPackages): New field.
7444 (definePackageForNative): New method.
7445 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7446 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7447 * defineclass.cc (handleClassBegin): Use
7448 ClassLoader.findLoadedClass.
7449 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7451 (struct _Jv_LoaderInfo): Removed.
7452 (initiated_classes): Likewise.
7453 (_Jv_UnregisterClass): Don't use initiated_classes.
7454 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7455 (_Jv_FindClass): Register classes found during boostrap.
7456 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7457 (bootstrap_class_list): New global.
7458 (bootstrap_index): Likewise.
7459 (_Jv_RegisterBootstrapPackages): New function.
7460 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7461 definePackageForNative.
7462 (findClass): Updated.
7463 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7466 2005-01-10 Tom Tromey <tromey@redhat.com>
7469 * include/jvm.h (_Jv_Linker::find_field): Declare.
7470 (_Jv_Linker::find_field_helper): Likewise.
7471 * link.cc (find_field_helper): New method.
7472 (find_field): Likewise.
7473 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7475 (link_symbol_table): Use find_field.
7477 2005-01-10 Michael Koch <konqueror@gmx.de>
7480 * java/util/Locale.java (Locale): Don't uppercase variant.
7481 (getISOCountries): Fixed typo in javadoc.
7483 2005-01-10 Michael Koch <konqueror@gmx.de>
7485 * java/util/SimpleTimeZone.java (checkRule):
7486 Throw IllegalArgumentException on invalid month values.
7487 * java/util/TimeZone.java (setID):
7488 Throw NullPointerException if needed.
7490 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7492 * java/util/SimpleTimeZone.java (getOffset):
7493 offset end date with daylight savings
7495 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7497 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7498 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7500 2005-01-09 Michael Koch <konqueror@gmx.de>
7503 * java/net/InetAddress.java (getLocalHost):
7504 Throw UnknownHostException if local hostname cannot be determined.
7506 2005-01-06 Tom Tromey <tromey@redhat.com>
7508 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7510 2005-01-07 Michael Koch <konqueror@gmx.de>
7513 * java/nio/Buffer.java (address): New field.
7514 * java/nio/DirectByteBufferImpl.java (address): Removed.
7515 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7516 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7517 Explicitly initialize Buffer.address if needed.
7518 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7519 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7520 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7521 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7522 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7523 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7524 DirectByteBufferImpl object.
7525 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7526 * testsuite/libjava.jni/directbuffer.c,
7527 testsuite/libjava.jni/directbuffer.java,
7528 testsuite/libjava.jni/directbuffer.out,
7529 testsuite/libjava.jni/bytebuffer.c,
7530 testsuite/libjava.jni/bytebuffer.java,
7531 testsuite/libjava.jni/bytebuffer.out: New files.
7533 2005-01-05 Tom Tromey <tromey@redhat.com>
7535 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7537 (compressedSize): Now 'long'. Default to -1.
7538 (getCompressedSize): Rewrote.
7539 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7540 deflate at all if we need input.
7542 2005-01-05 Tom Tromey <tromey@redhat.com>
7545 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7548 2005-01-05 Tom Tromey <tromey@redhat.com>
7550 * java/lang/natRuntime.cc (insertSystemProperties): Set
7551 java.ext.dirs earlier.
7553 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7555 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7556 sync_info element of the object if needed.
7558 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7560 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7561 a non-zero exit status from 'false'.
7563 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7565 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.