1 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
3 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
4 _Jv_RegisterInitiatingLoader to register array classes, not
6 (_Jv_RegisterInitiatingLoader): Give up if called very early during
7 bootstrapping. Add a FIXME to handle this case better.
9 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
11 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
13 (libgcj_la_SOURCES): New. Move sources here.
14 (libgcj.la): Remove rule.
16 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
19 * gnu/java/security/provider/DSASignature.java: Import updates
22 2005-05-18 Anthony Green <green@redhat.com>
24 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
25 classpath_jawt_object_unlock, classpath_jawt_create_lock,
26 classpath_jawt_destroy_lock): New functions.
27 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
28 classpath_jawt_object_unlock, classpath_jawt_create_lock,
29 classpath_jawt_destroy_lock): New functions.
30 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
32 * jawt.c: #include malloc.h.
35 (_Jv_GetDrawingSurface): Initialize lock.
36 (_Jv_FreeDrawingSurface): Destroy lock.
37 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
39 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
41 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
42 * Makefile.in: Regenerate.
44 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
46 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
47 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
48 * aclocal.m4, configure, config.h.in, include/config.h.in,
49 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
50 external/Makefile.in, external/sax/Makefile.in,
51 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
53 2005-05-17 David Daney <ddaney@avtrex.com>
56 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
58 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
60 * exception.cc (abort): Remove std::abort hack.
61 (gcc_unreacheable): Define.
63 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
65 * Makefile.am (Makefile.deps): Do not create native.list and
67 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
68 * Makefile.in: Regenerate.
70 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
72 * configure.ac (--enable-libgcj-multifile): Remove.
74 * Makefile.am (all_native_compiled_source_files,
75 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
76 all_libgcj_lo_files, all_xlib_lo_files,
77 all_java_deps_files, all_java_stamp_files,
78 all_java_filelist_files): New variables.
79 (EXTRA_DIST): New Automake variable.
80 (CLEANFILES): Add .stamp, .list and .lo files.
81 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
82 (classes.stamp): Depend on $(all_java_stamp_files).
83 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
84 going through write_entries_to_file.
86 (all_java_source_files, all_property_files): Move earlier.
87 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
88 all_java_class_files): Remove.
89 (gtk_awt_peer_sources): Rename to...
90 (gtk_awt_peer_source_files): ... this. Adjust throughout.
93 (libgcj0_convenience_la_SOURCES): Remove Java source files.
94 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
95 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
96 (libgcj_la_SOURCES): Remove.
97 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
98 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
99 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
101 * configure: Regenerate.
102 * Makefile.in: Regenerate.
103 * external/Makefile.in: Regenerate.
104 * external/sax/Makefile.in: Regenerate.
105 * external/w3c_dom/Makefile.in: Regenerate.
106 * gcj/Makefile.in: Regenerate.
107 * include/Makefile.in: Regenerate.
108 * libltdl/Makefile.in: Regenerate.
109 * testsuite/Makefile.in: Regenerate.
111 2005-05-16 Tom Tromey <tromey@redhat.com>
113 * java/nio/charset/Charset.java (encode, decode): Synchronize on
114 'this', not the class.
116 2005-05-16 Tom Tromey <tromey@redhat.com>
118 * gnu/java/net/protocol/http/Headers.java (parse): Include final
121 2005-05-16 Tom Tromey <tromey@redhat.com>
124 * java/net/URI.java (unquote): Handle lower-case letters as well.
126 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
129 gnu/regexp/RE.java: Add support for quoting constructs.
131 2005-05-15 Tom Tromey <tromey@redhat.com>
133 * java/lang/String.java (startsWith): Fixed javadoc.
135 2005-05-15 Tom Tromey <tromey@redhat.com>
138 * testsuite/libjava.compile/pr21519.java: New file.
139 * testsuite/libjava.compile/pr21519.no-link: New file.
141 2005-05-15 Tom Tromey <tromey@redhat.com>
143 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
145 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
148 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
149 interrupt status flag if _Jv_CondWait is interrupted.
151 2005-05-13 Tom Tromey <tromey@redhat.com>
153 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
156 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
158 * include/jvm.h (gcj::verifyClasses): Declare.
159 * link.cc (gcj::verbose_class_flag): Moved.
160 * prims.cc (gcj::verifyClasses): Define here.
161 (gcj::verbose_class_flag): Move definition here.
162 (_Jv_Linker::wait_for_state): Don't call verify_class
163 if gcj::verifyClasses is not set.
164 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
166 2005-05-12 Aaron Luchko <aluchko@redhat.com>
168 * gij.cc (main): Recognize '-verify', '-noverify', and
171 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
173 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
175 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
177 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
180 2005-05-11 Tom Tromey <tromey@redhat.com>
182 * external/w3c_dom/Makefile.in: Rebuilt.
183 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
185 * external/sax/Makefile.in: Rebuilt.
186 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
188 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
190 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
191 Call _Jv_CopyClassesToSystemLoader.
192 * java/lang/natClassLoader.cc (system_class_list): New global.
193 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
195 (_Jv_CopyClassesToSystemLoader): New function.
196 (SYSTEM_LOADER_INITIALIZED): New define.
197 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
198 (_Jv_CheckABIVersion): Use it.
199 (_Jv_ClassForBootstrapLoader): New function.
200 * Makefile.in: Rebuilt.
201 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
203 2005-05-10 Tom Tromey <tromey@redhat.com>
205 * gcj/javaprims.h: Updated.
206 * java/lang/String.java (String(StringBuilder)): New constructor.
207 * java/lang/natStringBuilder.cc: New file.
208 * java/lang/StringBuilder.java: New file.
209 * Makefile.in: Rebuilt.
210 * Makefile.am (core_java_source_files): Added StringBuilder.java.
211 (nat_source_files): Added natStringBuilder.cc.
213 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
216 * testsuite/libjava.jacks/jacks.xfail: Adjust.
218 2005-05-09 Mike Stump <mrs@apple.com>
220 * configure: Regenerate.
222 2005-05-09 David Daney <ddaney@avtrex.com>
224 * java/util/BitSet.java (get(int, int)): Fix breakage when
225 requested set doesn't start on a multiple of 64.
227 2005-05-07 Matthias Klose <doko@debian.org>
229 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
231 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
233 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
234 * Makefile.in: Regenerate.
235 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
236 (createCompatibleVolatileImage(int,int)): Implement.
237 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
239 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
241 (createVolatileImage): Implement.
242 (createBuffers): Likewise.
243 (getBackBuffer): Likewise.
245 (destroyBuffers): Likewise.
246 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
247 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
248 (CanvasFlipBufferStrategy): Likewise.
249 (createBufferStrategy(int)): New method.
250 (createBufferStrategy(int,BufferCapabilities)): Likewise.
251 * java/awt/Component.java (BltBufferStrategy): Implement and
253 (FlipBufferStrategy): Likewise.
254 * java/awt/Window.java (WindowBltBufferStrategy): New class.
255 (WindowFlipBufferStrategy): Likewise.
256 (createBufferStrategy(int)): New method.
257 (createBufferStrategy(int,BufferCapabilities)): Likewise.
258 (getBufferStrategy): Likewise.
259 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
260 front to frontCaps and back to backCaps.
262 2005-05-06 Michael Koch <konqueror@gmx.de>
264 * java/awt/BufferCapabilities.java
265 (BufferCapabilities): Merged javadoc.
267 2005-05-06 Michael Koch <konqueror@gmx.de>
269 * java/util/Locale.java
270 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
271 (getLocale): New methods. Use it everywhere where instances of Locales
273 (getDisplayLanguage): Merged javadoc.
274 (getDisplayCountry): Likewise.
275 (getDisplayVariant): Likewise.
277 2005-05-06 Archie Cobbs <archie@dellroad.org>
279 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
280 use DeleteLocalRef() to avoid exhausting local native references.
282 2005-05-06 Mark Wielaard <mark@klomp.org>
284 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
285 (window_delete_cb): Don't use C++ style comments.
287 2005-05-06 Robert Schuster <thebohemian@gmx.net>
289 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
292 2005-05-06 Robert Schuster <thebohemian@gmx.net>
294 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
295 (window_delete_cb): Made the function return TRUE.
297 2005-05-06 Roman Kennke <roman@kennke.org>
299 * javax/swing/text/PlainView.java
300 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
302 * javax/swing/text/Utilities.java
303 (drawTabbedText): Initilialize local variable pos correctly.
305 2005-05-06 Roman Kennke <roman@kennke.org>
307 * javax/swing/text/AbstractDocument.java
308 (LeafElement): Made start and end package private fields for
309 effective reindexing.
310 * javax/swing/text/PlainDocument.java
311 (constructor): The field rootElement is always BranchElement,
312 so we handle it as such.
313 (removeUpdate): Rewritten reindexing for removeUpdate so that
314 the actual removal is taken into account.
316 2005-05-06 Roman Kennke <roman@kennke.org>
318 * javax/swing/text/GapContent.java:
319 Removed debugging output stuff, which I accidentally left in.
321 2005-05-06 Roman Kennke <roman@kennke.org>
323 * javax/swing/text/GapContent.java:
324 Implemented a real GapContent. Only the public methods have
325 been implemented so far and still no UndoableEdit support.
327 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
329 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
332 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
334 * java/awt/image/BufferStrategy.java: Document.
336 * java/awt/BufferCapabilities.java: Document.
338 2005-05-04 Tom Tromey <tromey@redhat.com>
340 * java/nio/channels/FileLock.java (toString): Entirely avoid
343 2005-05-04 Andrew Overholt <overholt@redhat.com>
345 * java/nio/channels/FileLock.java (toString): Re-implement using
348 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
350 * java/awt/ImageCapabilities.java: Document.
352 * java/awt/image/VolatileImage.java: Unindent copyright header.
354 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
356 * java/awt/image/VolatileImage.java: Document.
358 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
361 (init_glib_threads): Check if threading system is already
364 2005-05-03 Andrew Overholt <overholt@redhat.com>
367 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
368 could not be acquired.
369 * java/nio/channels/FileLock.java (toString): Re-implement to be
370 in line with other implementations.
372 2005-05-03 Tom Tromey <tromey@redhat.com>
374 * java/lang/VMSecurityManager.java (currentClassLoader): Use
375 'systemClasssLoader' directly.
377 2005-05-03 Tom Tromey <tromey@redhat.com>
379 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
380 call VMClassLoader.getSystemClassLoader.
382 2005-04-29 Michael Koch <konqueror@gmx.de>
384 * java/net/NetworkInterface.java
386 (NetworkInterface(String,InetAddress)): Made package-private.
387 (NetworkInterface(String,InetAddress[])): New constructor.
388 (getRealNetworkInterfaces): Removed.
389 (getByName): Use VMNetworkInterface.getInterfaces().
390 (getByInetAddress): Likewise.
391 (getNetworkInterfaces): Likewise.
392 * java/net/VMNetworkInterface.java,
393 java/net/natVMNetworkInterfaceNoNet.cc,
394 java/net/natVMNetworkInterfacePosix.c,c
395 java/net/natVMNetworkInterfaceWin32.cc: New files.
396 * java/net/natNetworkInterfaceNoNet.cc,
397 java/net/natNetworkInterfacePosix.cc,
398 java/net/natNetworkInterfaceWin32.cc: Removed.
401 * configure, Makefile.in: Regenerated.
403 2005-04-29 Andrew Haley <aph@redhat.com>
405 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
407 2005-04-29 Dalibor Topic <robilad@kaffe.org>
409 * java/nio/channels/FileChannelImpl.java
410 (FileChannelImpl(String, int)): Removed.
411 (FileChannelImpl(File, int)): Added. Check if opened file is a
413 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
414 Call FileChannelImpl(File, int).
415 * java/io/FileOutputStream.java (FileInputStream): Call
416 FileChannelImpl(File, int).
417 * java/io/RandomAccessFile.java (RandomAccessFile):
418 Call FileChannelImpl(File, int). Switched constructors around.
420 2005-04-27 Andrew Haley <aph@redhat.com>
423 * prims.cc (_Jv_ResolvePoolEntry): New function.
424 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
425 * link.cc (_Jv_Linker::find_field): New arg: found_class.
426 (resolve_pool_entry): Initialize the class in which a field is
428 (link_symbol_table): Pass new arg to found_class.
430 2005-04-29 Michael Koch <konqueror@gmx.de>
432 * java/nio/charset/Charset.java
433 (provider): Reformatted.
435 2005-04-29 Michael Koch <konqueror@gmx.de>
437 * gnu/java/net/protocol/http/HTTPConnection.java:
438 (userAgent): Initialize from system properties.
439 (initUserAgent): Removed.
441 2005-04-29 Mark Wielaard <mark@klomp.org>
443 * java/util/ResourceBundle.java (getObject): Clarify
444 MissingResourceException detailed message.
445 (tryBundle(String,ClassLoader)): Likewise.
447 2005-04-29 Robert Schuster <thebohemian@gmx.net>
449 * java/beans/FeatureDescriptor.java:
450 (getShortDescription): Implemented fallback mechanism and fixed
451 documentation (fixes bug #12637).
452 (getDisplayName): Dito.
454 2005-04-29 Robert Schuster <thebohemian@gmx.net>
456 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
457 will now be set correctly.
458 (flushCaches): Now flushes all cached intermediate data.
460 2005-04-28 Michael Koch <konqueror@gmx.de>
462 * java/net/InetAddress.java
463 (aton): Fixed javadoc.
466 2005-04-28 Tom Tromey <tromey@redhat.com>
468 * javax/swing/Timer.java
469 (drainEvents, queueEvent): Now package-private.
471 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
473 * javax/swing/Timer.java
474 (constructor): Assigning initialDelay.
476 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
478 * javax/swing/Timer.java
479 (Waker.run): firing the first action event.
481 2005-04-28 Michael Koch <konqueror@gmx.de>
483 * javax/swing/Timer.java: Reordered all fields and methods,
486 2005-04-28 Michael Koch <konqueror@gmx.de>
488 * javax/swing/Timer.java: Javadocs merged
491 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
493 * gnu/java/net/protocol/file/Connection.java
494 (StaticData): New inner class to contain statics.
495 (connect, getHeaderField): Modified to use StaticData.
497 2005-04-28 Michael Koch <konqueror@gmx.de>
499 * gnu/java/net/protocol/file/Connection.java
500 (lineSeparator): Initialize with SystemProperties.getProperty().
502 2005-04-27 Chris Burdess <dog@gnu.org>
504 * gnu/java/net/protocol/file/Connection.java: Return correct content
505 length for directory listing.
506 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
507 #11285: return valid URLs for directories.i
509 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
511 * Makefile.am (ordinary_java_source_files): Add
512 gnu/java/net/protocol/https/Handler.java.
513 * Makefile.in: Regenerate.
514 * java/net/URL.java: Remove org.metastatic.jessie from default
515 protocol search path.
517 2005-04-27 Chris Burdess <dog@gnu.org>
519 * gnu/java/net/protocol/https/Handler.java: New file.
521 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
523 * javax/imageio/spi/IIORegistry.java (IIORegistry):
524 Don't assume that awt Toolkit is always ClasspathToolkit.
526 2005-04-27 Chris Burdess <dog@gnu.org>
528 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
529 absolute and relative paths in Location header.
531 2005-04-27 Chris Burdess <dog@gnu.org>
533 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
534 FileNotFoundException and implement getErrorStream on 404.
536 2005-04-27 Sven de Marothy <sven@physto.se>
538 * java/util/TimeZone.java,
539 (getDefaultDisplayName): Fix previous fix.
541 2005-04-27 Sven de Marothy <sven@physto.se>
543 * java/util/TimeZone.java,
544 (getDefaultDisplayName): Don't print zero offsets.
546 2005-04-27 Roman Kennke <roman@kennke.org>
548 * javax/swing/plaf/basic/BasicScrollBarUI
549 (getThumbBounds): Do not make thumb smaller than
551 * javax/swing/plaf/metal/MetalLookAndFeel
552 (initComponentDefaults): Added color defaults for ScrollBar.
553 * javax/swing/plaf/metal/MetalScrollBarUI
555 (getMinimumThumbSize): Added.
557 2005-04-27 Roman Kennke <roman@kennke.org>
559 * javax/swing/plaf/metal/MetalLookAndFeel
560 (initComponentDefaults): Added some default colors.
562 2005-04-27 Roman Kennke <roman@kennke.org>
564 * javax/swing/plaf/basic/BasicScrollBarUI.java
565 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
566 to 'ScrollBar.thumbShadow'. The formes does not exist.
567 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
569 2005-04-27 Roman Kennke <roman@kennke.org>
571 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
572 * javax/swing/BoxLayout.java: Likewise.
573 * javax/swing/UIManager.java: Likewise.
574 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
575 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
576 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
577 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
578 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
579 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
580 * javax/swing/text/Document.java: Likewise.
581 * javax/swing/text/GapContent.java: Likewise.
582 * javax/swing/text/SimpleAttributeSet.java: Likewise.
583 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
585 2005-04-27 Roman Kennke <roman@kennke.org>
587 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
588 (getPropertyPrefix): Added.
590 2005-04-27 Roman Kennke <roman@kennke.org>
592 * javax/swing/plaf/basic/BasicButtonUI.java
593 (getPropertyPrefix): Added.
594 (installDefaults): Use getPropertyPrefix instead of hard-coded
597 2005-04-27 Roman Kennke <roman@kennke.org>
599 * javax/swing/JToggleButton.java
600 (JToggleButton): Removed horizontalAlignment setting, this
601 was wrong. Added setting of an actionCommand, ToggleButtons
602 have "" as default actionCommand.
604 2005-04-27 Michael Koch <konqueror@gmx.de>
606 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
607 to work around CNI limitation.
609 2005-04-27 Sven de Marothy <sven@physto.se>
611 * java/nio/charset/Charset.java:
612 (defaultCharset()): New method.
613 Status updated to 1.5
615 2005-04-27 Sven de Marothy <sven@physto.se>
617 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
619 2005-04-27 Sven de Marothy <sven@physto.se>
621 * java/nio/charset/Charset.java: Reset cached de/encoders.
623 2005-04-27 Robert Schuster <thebohemian@gmx.net>
625 * java/nio/charset/Charset.java (forName): Throws
626 IllegalArgumentException when argument is null
627 and added documentation.
629 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
631 * java/nio/charset/Charset.java (providers):
632 New method to make an array of CharsetProviders defined in
633 META-INF/services/java.nio.charset.spi.CharsetProvider.
634 (charsetForName, availableCharsets): Use the
635 new method providers().
637 2005-04-26 Michael Koch <konqueror@gmx.de>
639 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
640 Fixed typos in javadocs.
641 (isSiteLocalAddress): Fixed handling of byte values.
642 (isMCLinkLocal): Likewise.
643 * java/net/Inet4Address.java
644 (isMulticastAddress): Call super method.
645 (isLoopbackAddress): Likewise.
646 (isAnyLocalAddress): Likewise.
647 (isLinkLocalAddress): Likewise.
648 (isSiteLocalAddress): Likewise.
649 (isMCGlobal): Likewise.
650 (isMCNodeLocal): Likewise.
651 (isMCLinkLocal): Likewise.
652 (isMCSiteLocal): Likewise.
653 (isMCOrgLocal): Likewise.
654 (getHostAddress): Likewise.
656 2005-04-26 Sven de Marothy <sven@physto.se>
658 * java/net/InetAddress.java
659 (toString): Don't print empty hostnames.
661 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
664 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
665 'false' to native lock().
666 (lock): Pass 'true' to native lock().
668 2005-04-26 Michael Koch <konqueror@gmx.de>
670 * java/net/InetAddress.java:
671 Fixed typos in javadocs.
673 2005-04-26 Andrew Haley <aph@redhat.com>
676 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
679 2005-04-26 Tom Tromey <tromey@redhat.com>
681 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
682 gnu): Now package-private.
683 * javax/swing/text/html/parser/DocumentParser.java (parser,
684 callBack, gnu): Now package-private.
685 * javax/swing/text/StringContent.java (content, setOffset,
686 checkLocation): Now package-private.
687 * javax/swing/text/JTextComponent.java (doc): Now
689 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
690 lastGoodOrientation, origParent, borders, cachedBounds,
691 cachedOrientation, DragWindow): Now package-private.
692 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
693 decrButton, viewport, panel, currentScrollLocation, layoutManager,
694 tabAreaRect, contentRect, createIncreaseButton,
695 createDecreaseButton, findPointForIndex): Now package-private.
696 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
697 (currentDividerLocation, moveDividerTo): Now package-private.
698 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
700 * javax/swing/plaf/basic/BasicScrollBarUI.java
701 (calculatePreferredSize, valueForYPosition, valueForXPosition):
703 * javax/swing/plaf/basic/BasicPopupMenuUI.java
704 (topWindowListener): Now package-private.
705 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
706 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
707 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
709 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
711 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
713 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
715 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
716 borderInsets): Now package-private.
717 (arrowButtonWidth): Likewise. Now a constant.
718 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
719 makeTabs, updatePreviewPanel): Now package-private.
720 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
721 darkShadow, highlight): Now package-private.
722 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
723 (addColorToQueue): Now package-private.
724 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
725 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
726 GSpinner, BSpinner): Now package-private.
727 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
728 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
729 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
730 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
731 updateTrack): Now package-private.
732 * javax/swing/TransferHandler.java (clipboard): Now
734 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
736 * javax/swing/Timer.java (drainEvents, queueEvent): Now
738 * javax/swing/RepaintManager.java (globalManager): Now
740 * javax/swing/JFormattedTextField.java (editValid): Now
742 * javax/swing/JColorChooser.java (makeModal): Now
744 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
745 index, path): Now package-private.
746 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
747 lineQuadIntersect, lineCubicIntersect, linesIntersect,
748 pointEquals): Now package-private.
749 * java/awt/geom/Arc2D.java (type): Now package-private.
750 * java/awt/Window.java (windowFocusOwner): Now package-private.
751 * java/awt/TextComponent.java (editable, selectionStart,
752 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
754 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
756 * java/awt/MenuComponent.java (focusListener): Now
758 * java/awt/Frame.java (state): Now package-private.
759 * java/awt/Choice.java (pItems): Now package-private.
760 * java/awt/Checkbox.java (state): Now package-private.
761 * java/awt/Button.java (actionCommand, label): Now
763 * gnu/javax/swing/text/html/parser/support/Parser.java
764 (attributes, _handleEndTag_remaining, _handleStartTag): Now
766 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
768 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
769 clip, transform, font, comp): Now package-private.
771 2005-04-26 Tom Tromey <tromey@redhat.com>
773 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
776 2005-04-26 Mark Wielaard <mark@klomp.org>
778 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
779 to MalformedURLException.
781 2005-04-26 Michael Koch <konqueror@gmx.de>
783 * java/security/AccessControlContext.java:
785 (protectedDomains): Renamed from 'protectionDomain'.
786 * java/security/AccessController.java:
789 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
791 * gnu/java/security/action/GetSecurityPropertyAction.java
792 (GetSecurityPropertyAction): Implement PrivilegedAction instead
793 of extending GetPropertyAction.
796 (setParamters): New methods.
797 (GetSecurityPropertyAction): Use new setParameters methods.
799 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
801 * java/security/Security.java,
802 java/security/cert/X509CRLSelector.java,
803 java/security/cert/X509CertSelector.java:
804 Modified to use SystemProperties.
806 2005-04-26 Michael Koch <konqueror@gmx.de>
808 * java/lang/System.java
809 (setSecurityManager): Fixed comment.
810 (getSecurityManager): Removed obsolete comment.
812 2005-04-25 Tom Tromey <tromey@redhat.com>
814 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
816 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
819 (connectSignals): Realize the window widget after connecting
822 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
824 * java/awt/GraphicsEnvironment.java
825 (localGraphicsEnvironment): New field.
826 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
828 (isHeadless): Added support for java.awt.headless property.
829 (isHeadlessInstance): Call headless().
831 2005-04-25 Roman Kennke <roman@kennke.org>
833 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
834 (getDisplayMode): Added. Returns the current display mode.
835 (isFullScreenSupported): Added.
836 * java/awt/GraphicsDevice.java
837 (setFullScreenWindow): Implemented a primitive fullscreen mode.
838 This resizes and relocates the fullscreen window so that it uses
839 the whole screen. This is not a fully accelerated fullscreen
842 2005-04-25 Michael Koch <konqueror@gmx.de>
844 * java/lang/Runtime.java,
845 java/lang/SecurityManager.java,
846 java/lang/System.java,
847 java/lang/ThreadGroup.java:
848 Replaced java.lang.Runtime.securityManager by
849 java.lang.SecurityManager.current (as used in GNU classpath).
851 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
853 * java/awt/Transparency.java
854 (getTransparency): fixed API docs.
856 2005-04-25 Archie Cobbs <archie@dellroad.org>
858 * java/lang/Throwable.java: simplify initializing cause in constructor
860 2005-04-25 Michael Koch <konqueror@gmx.de>
862 * gnu/classpath/SystemProperties.java: New file.
863 * gnu/classpath/natSystemProperties.cc: New file.
864 * java/lang/Runtime.java
865 (defaultProperties): Removed.
867 (): Made thrown exceptions more verbose.
868 (insertSystemProperties): Removed.
869 * java/lang/System.java
871 (properties): Likewise.
872 (setSecurityManager): Reordered modifiers.
873 (getenv): Improved javadoc.
875 (isWordsBigEndian): Removed.
876 * java/lang/natRuntime.cc
877 (_Jv_SetDLLSearchPath): Likewise.
878 (file_encoding): Likewise.
879 (default_file_encoding): Likewise.
880 (getpwuid_adaptor): Likewise.
881 (insertSystemProperties): Likewise.
882 * java/lang/natSystem.cc
883 (isWordsBigEndian): Likewise.
885 (ordinary_java_source_files):
886 Added gnu/classpath/SystemProperties.java.
887 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
888 * Makefile.in: Regenerated.
890 2005-04-25 Roman Kennke <roman@kennke.org>
892 * javax/swing/plaf/basic/BasicScrollBarUI.java
893 (initDefaults): Initialize thumb*Color fields correctly.
895 2005-04-25 Roman Kennke <roman@kennke.org>
897 * javax/swing/text/GapContent.java:
900 2005-04-25 Roman Kennke <roman@kennke.org>
902 * javax/swing/plaf/metal/MetalBorders.java:
903 Added inner class ScrollPaneBorder.
904 * javax/swing/plaf/metal/MetalLookAndFeel.java
905 (initComponentDefaults): Added default for "ScrollPane.border"
906 to use the new ScrollPaneBorder.
908 2005-04-25 Roman Kennke <roman@kennke.org>
910 * javax/swing/text/AbstractDocument.java:
911 Added FIXME comments. This class still has to be
912 implemented thread-safe.
914 2005-04-25 Roman Kennke <roman@kennke.org>
916 * javax/swing/tree/DefaultTreeSelectionModel.java
917 (DefaultTreeSelectionModel): Initialize listenerList here.
919 2005-04-25 Roman Kennke <roman@kennke.org>
921 * javax/swing/plaf/metal/MetalTextFieldUI.java
922 (createUI): Return one instance per Component instead of a
925 2005-04-25 Roman Kennke <roman@kennke.org>
927 * javax/swing/text/Document.java:
928 Added API documentation comments.
930 2005-04-25 Roman Kennke <roman@kennke.org>
932 * javax/swing/text/AbstractDocument.java
933 (getDocumentProperties): Implemented.
934 (setDocumentProperties): Implemented.
935 (getProperty): Implemented.
936 (putProperty): Implemented.
938 2005-04-25 Roman Kennke <roman@kennke.org>
940 * javax/swing/BoxLayout
941 (preferredLayoutSize): Fixed computation so that it correctly
942 adds the top and bottom insets of the container.
944 2005-04-25 Roman Kennke <roman@kennke.org>
946 * javax/swing/plaf/basic/BasicMenuItemUI.java
947 (paintText): Make use of the 'selectionForeground' UI default
950 2005-04-25 Roman Kennke <roman@kennke.org>
952 * javax/swing/plaf/basic/BasicLookAndFeel.java
953 (initSystemColorDefaults): Modified colors to match the
954 BasicLookAndFeel in the reference implementation.
955 (initComponentDefaults): Likewise.
957 2005-04-25 Tom Tromey <tromey@redhat.com>
959 * include/jni.h (_Jv_va_list): Removed.
960 Moved configuration code...
961 * include/jni_md.h: ... here. New file.
962 * include/Makefile.in: Rebuilt.
963 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
965 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
967 * java/io/FileInputStream.java (FileInputStream(File)),
968 java/io/FileOutputStream.java (FileOutputStream(File)):
969 Removed unnecessary File.isDirectory() check.
971 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
973 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
974 gij if get_multilibs fails.
976 2005-04-22 Anthony Green <green@redhat.com>
978 * jni.cc (natrehash): Don't bother clearing memory again.
979 * interpret.cc (do_allocate_static_fields): Ditto.
980 * java/lang/natString.cc (rehash): Ditto.
982 2005-04-22 Roman Kennke <roman@kennke.org>
984 * javax/swing/plaf/basic/BasicLookAndFeel.java
985 (initComponentDefaults): Changed Button.border to be
986 BasicBorders.getButtonBorder as it should be.
988 2005-04-22 Roman Kennke <roman@kennke.org>
990 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
991 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
992 should according to a mauve testcase, instead of the preferred
995 2005-04-22 Roman Kennke <roman@kennke.org>
997 * javax/swing/JMenu.java
998 (add): add(Component) now calls PopupMenu.insert(..) instead of
999 PopupMenu.add(..). add(..) is not implemented for Component,
1000 so JComponent.add(..) is called instead, adding the component
1003 2005-04-22 Roman Kennke <roman@kennke.org>
1005 * javax/swing/plaf/basic/BasicButtonListener.java
1006 (mousePressed): replaced query to getModifiersEx with getModifiers.
1007 This method relied on faulty behaviour in getModifierEx.
1008 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1009 This method relied on faulty behaviour in getModifierEx.
1011 2005-04-22 Roman Kennke <roman@kennke.org>
1013 * javax/swing/plaf/metal/MetalLookAndFeel.java
1014 (getDefaults): Call addCustomEntriesToTable on the theme.
1016 2005-04-22 Roman Kennke <roman@kennke.org>
1018 * javax/swing/tree/DefaultTreeSelectionModel.java
1019 (constructor): Added implementation.
1020 (getRowMapper): Added implementation.
1021 (setSelectionMode): Added implementation.
1022 (getSelectionMode): Added implementation.
1023 (getSelectionPath): Added implementation.
1024 (getSelectionPaths): Added implementation.
1025 (getSelectionCount): Added implementation.
1026 (isSelectionEmpty): Added implementation.
1027 (getSelectionRows): Added implementation.
1028 (getMinSelectionRow): Added implementation.
1029 (getMaxSelectionRow): Added implementation.
1030 (getLeadSelectionRow): Added implementation.
1031 (getLeadSelectionPath): Added implementation.
1033 2005-04-22 Casey Marshall <csm@gnu.org>
1035 * gnu/java/security/der/DERValue.java
1036 (getValueAs): new method.
1037 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1038 (<init>): read both dates with 'DERValue.getValueAs', with
1039 'GENERALIZED_TIME' as the argument.
1041 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1043 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1044 be null, check for that case and don't deference it.
1046 2005-04-22 Sven de Marothy <sven@physto.se>
1048 * java/util/logging/LogManager.java: Reformatted.
1049 (readConfiguration): If a logger for a key is not found, create one.
1051 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1053 * java/rmi/Naming.java:
1054 Added class documentation.
1055 (lookup(String)): Call parseURL and getName.
1056 (bind(String,java.rmi.Remote)): Likewise.
1057 (unbind(String)): Likewise.
1058 (rebind(String, java.rmi.Remote)): Likewise.
1059 (list(String)): Call parseURL.
1060 (parseURL(String)): New method to handle parsing and defaults.
1061 (getName(java.net.URL)): New method to handle finding the service name.
1063 2005-04-21 Tom Tromey <tromey@redhat.com>
1065 * java/lang/natClass.cc (initializeClass): Link class.
1067 2005-04-21 Tom Tromey <tromey@redhat.com>
1069 * java/lang/AssertionError.java: Typo fix.
1071 2005-04-21 Tom Tromey <tromey@redhat.com>
1073 * java/lang/VMClassLoader.java (transformException): Removed.
1074 (resolveClass): No longer native. Now does nothing.
1075 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1077 2005-04-21 Anthony Green <green@redhat.com>
1080 * testsuite/libjava.special/special.exp,
1081 testsuite/libjava.special/pr21115I.java,
1082 testsuite/libjava.special/pr21115.java,
1083 testsuite/libjava.special/pr21115.out: New files.
1085 2005-04-21 Chris Burdess <dog@gnu.org>
1087 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1088 CRLF-delimited chunks.
1090 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1092 * java/net/URI.java:
1093 Added class documentation.
1094 (parseURI(String)): Only handle scheme-specific parts
1095 if URI is not opaque. Allow for parts that can't be null.
1096 (toString()): Output the scheme-specific part whole, rather
1097 than as its possibly non-existent components.
1099 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1101 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1102 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1103 Adjusted to match new regexp.
1105 2005-04-20 Michael Koch <konqueror@gmx.de>
1107 * gnu/java/net/protocol/file/Connection.java,
1108 gnu/java/net/protocol/jar/Connection.java:
1109 Reorganized import statements. Fixed @author tags.
1111 2005-04-20 Chris Burdess <dog@gnu.org>
1113 * java/io/DataOutputStream.java (writeUTF): Use block write for
1116 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1118 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1119 (readLine): Changed newline handling.
1121 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1123 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1124 ColorModel,byte[],int,int): Fixed byte to int conversion.
1126 2005-04-20 Michael Koch <konqueror@gmx.de>
1128 * java/io/FilePermission.java
1129 (serialVersionUID): Made private.
1130 (ALL_FILES): New constant.
1131 (implies): Handle '<<ALL FILES>>' case.
1133 2005-04-20 Sven de Marothy <sven@physto.se>
1135 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1136 (drawImage): Don't notify the image observer for offscreen images.
1137 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1138 (setPixels): Don't notify the image observer.
1140 2005-04-20 Sven de Marothy <sven@physto.se>
1142 * java/nio/ByteBufferImpl.java:
1143 (putChar): Inlined for speed.
1144 (put, get): Bulk methods can use arraycopy.
1145 * java/nio/CharBufferImpl.java:
1146 (put, get): Bulk methods can use arraycopy.
1148 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1150 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1152 * java/nio/CharBufferImpl.java
1153 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1154 (get(), put(char)): Inlined checks and field updates. Fixed to
1155 take array_offset into account.
1156 (get(int), put(int, char)): Fixed to take array_offset into account.
1158 2005-04-20 Sven de Marothy <sven@physto.se>
1160 * java/text/SimpleDateFormat.java:
1161 (formatWithAttribute): Pad year before truncating digits.
1163 2005-04-20 Michael Koch <konqueror@gmx.de>
1165 * gnu/java/net/PlainDatagramSocketImpl.java:
1166 Merged copyright header.
1167 * gnu/java/net/PlainSocketImpl.java:
1168 Reorganized import statements. Fixed @author tags.
1170 2005-04-20 Michael Koch <konqueror@gmx.de>
1172 * gnu/java/lang/ClassHelper.java,
1173 gnu/java/lang/reflect/TypeSignature.java:
1176 2005-04-20 Michael Koch <konqueror@gmx.de>
1178 * gnu/java/beans/IntrospectionIncubator.java:
1179 Fixed HTML tags in javadocs.
1181 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1183 * gnu/java/beans/IntrospectionIncubator.java
1184 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1185 set(), is(), add() and remove() with properties or events.
1187 2005-04-20 Michael Koch <konqueror@gmx.de>
1189 * gnu/java/awt/image/XBMDecoder.java:
1190 Fixed modifier order.
1192 2005-04-20 Roman Kennke <roman@kennke.org>
1194 * javax/swing/plaf/basic/BasicButtonUI.java
1195 (paint): This should not care about margin and insets
1196 at the same time, as insets already include the margin
1198 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1199 (getPreferredButtonSize): Likewise.
1200 * javax/swing/plaf/metal/MetalBorders.java
1201 (getBorderInsets): Likewise.
1203 2005-04-20 Roman Kennke <roman@kennke.org>
1205 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1206 (createMessageArea): The JPanel that holds the message area
1207 doesn't need to override getPreferredSize. This prevents some
1208 message components from rendering nicely.
1210 2005-04-20 Roman Kennke <roman@kennke.org>
1212 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1213 (createUI): Do not share instances between components.
1214 * javax/swing/plaf/metal/MetalSliderUI.java
1215 (createUI): Do not share instances between components.
1217 2005-04-20 Roman Kennke <roman@kennke.org>
1219 * javax/swing/plaf/metal/MetalBorders:
1220 (PopupMenuBorder): Added.
1221 * javax/swing/plaf/metal/MetalLookAndFeel
1222 (initComponentDefaults): Added PopupMenuBorder.
1224 2005-04-20 Roman Kennke <roman@kennke.org>
1226 * javax/swing/tree/DefaultTreeSelectionModel.java:
1227 Added API documentation all over the class.
1229 2005-04-20 Roman Kennke <roman@kennke.org>
1231 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1232 (installDefaults): Link managed JScrollPane in instance field.
1233 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1235 2005-04-20 Roman Kennke <roman@kennke.org>
1237 * javax/swing/plaf/basic/BasicScrollBarUI.java
1238 (PropertyChangeHandler.propertyChange): Add default
1239 to switch statement to avoid errors with unusual values
1241 (installComponents): Likewise.
1243 2005-04-20 Roman Kennke <roman@kennke.org>
1245 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1246 (createUI): Instances cannot be shared among JScrollPanes.
1248 2005-04-20 Roman Kennke <roman@kennke.org>
1250 * javax/swing/plaf/metal/MetalLookAndFeel.java
1251 (initComponentDefaults): Added defaults for Menu, MenuBar
1254 2005-04-20 Roman Kennke <roman@kennke.org>
1256 * javax/swing/plaf/basic/BasicScrollBarUI.java
1257 (installUI): Install listeners after everything all, otherwise
1258 we get strange NPEs in some situations, especially with
1260 (createIncreaseButton): Orientation is expected to be
1261 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1262 HORIZONTAL or VERTICAL.
1263 (createDecreaseButton): Orientation is expected to be
1264 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1265 HORIZONTAL or VERTICAL.
1266 (installComponents): Orientation for buttons is expected to be
1267 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1268 HORIZONTAL or VERTICAL.
1270 2005-04-20 Roman Kennke <roman@kennke.org>
1272 * javax/swing/JToolBar.java
1273 (addImpl): Adjust added AbstractButtons to look and feel like
1275 * javax/swing/plaf/metal/MetalBorders.java:
1276 Adjusted insets of ButtonBorder.
1277 (RolloverMarginBorder): Added class for toolbar buttons.
1278 (getButtonBorder): Adjusted factory method to return a shared
1279 instance of button border.
1280 (getToolbarButtonBorder): Added factory method to return a shared
1281 instance of toolbar button border.
1282 (getMarginBorder): Added factory method to return a shared
1283 instance of margin border.
1284 * javax/swing/plaf/metal/MetalButtonUI.java
1285 (installDefauls): If button is child of a JToolBar then set
1286 special border on this button.
1288 2005-04-20 Michael Koch <konqueror@gmx.de>
1290 * java/net/URLConnection.java
1291 (getContent): Fixed javadoc comment.
1293 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1295 * java/net/URL.java:
1296 (toURI()): Implemented.
1298 2005-04-19 Michael Koch <konqueror@gmx.de>
1300 * java/net/InetAddress.java
1301 (InetAddress): Fixed javadoc comment.
1303 (lookup): Added javadoc.
1304 (getFamily): Likewise.
1305 * java/net/ServerSocket.java
1306 (getChannel): Improved javadoc comment.
1308 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1310 * gnu/xml/dom/html2/DomHTMLParser.java:
1311 Changed 'enum' references to become 'enumeration'.
1313 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1315 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1317 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1319 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1320 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1321 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1322 (validateParameters(TagElement,htmlAttributeSet)):
1323 Replaced 'enum' with 'enumeration'.
1324 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1327 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1329 * javax/swing/text/html/parser/Entity.java (getType): New method.
1330 * javax/swing/text/html/parser/DocumentParser.java:
1331 Inherit from javax.swing.text.html.parser.Parser.
1333 2005-04-19 Chris Burdess <dog@gnu.org>
1335 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1336 check for HTML/XHTML namespace.
1338 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1340 * javax/swing/text/html/parser/Parser.java,
1341 javax/swing/text/html/parser/Entity.java:
1342 Inheriting from DTDConstants.
1343 * javax/swing/text/html/parser/AttributeList.java
1344 (getValues): Changed return type.
1345 * javax/swing/text/html/parser/DocumentParser
1346 (parse): Adding the callback parameter that receives
1349 2005-04-19 Chris Burdess <dog@gnu.org>
1351 * gnu/xml/dom/DomImpl.java,
1352 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1353 gnu/xml/dom/html2/DomHTMLDocument.java,
1354 gnu/xml/dom/html2/DomHTMLElement.java,
1355 gnu/xml/dom/html2/DomHTMLFormElement.java,
1356 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1357 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1358 gnu/xml/dom/html2/DomHTMLImpl.java,
1359 gnu/xml/dom/html2/DomHTMLInputElement.java,
1360 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1361 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1362 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1363 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1364 gnu/xml/dom/html2/DomHTMLTableElement.java,
1365 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1366 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1367 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1368 UI events, and tree utility functions.
1370 2005-04-19 Michael Koch <konqueror@gmx.de>
1372 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1373 gnu/javax/swing/text/html/parser/gnuDTD.java,
1374 gnu/javax/swing/text/html/parser/models/node.java:
1375 Reworked import statements.
1377 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1379 * javax/swing/text/html/HTMLDocument.java: New file.
1381 2005-04-19 Michael Koch <konqueror@gmx.de>
1383 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1385 * javax/swing/text/html/parser/AttributeList.java:
1386 Fixed order of modifiers.
1387 (AttributeList): Made final.
1388 * javax/swing/text/html/parser/ContentModel.java:
1389 Fixed html characters in javadocs.
1390 * javax/swing/text/html/parser/DTD.java
1391 (DTD): Don't implement java.io.Serializable directly.
1392 (getElement): Simplified.
1393 * javax/swing/text/html/parser/DTDConstants.java:
1395 * javax/swing/text/html/parser/Element.java:
1396 Fixed order of modifiers.
1397 * javax/swing/text/html/parser/Parser.java:
1398 Reformatted. Don't use fully-qualified class names.
1399 * javax/swing/text/html/parser/ParserDelegator.java:
1400 Fixed order of modifiers.
1401 * javax/swing/text/rtf/RTFParser.java:
1402 Re-ordered import statements.
1403 * javax/swing/text/rtf/RTFScanner.java:
1404 Removed unused import statement.
1406 2005-04-19 Chris Burdess <dog@gnu.org>
1408 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1409 gnu/xml/dom/html2/DomHTMLCollection.java,
1410 gnu/xml/dom/html2/DomHTMLDocument.java,
1411 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1413 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1414 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1415 gnu/xml/dom/html2/DomHTMLDivElement.java,
1416 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1417 gnu/xml/dom/html2/DomHTMLFontElement.java,
1418 gnu/xml/dom/html2/DomHTMLFormElement.java,
1419 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1420 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1421 gnu/xml/dom/html2/DomHTMLHRElement.java,
1422 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1423 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1424 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1425 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1426 gnu/xml/dom/html2/DomHTMLImageElement.java,
1427 gnu/xml/dom/html2/DomHTMLInputElement.java,
1428 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1429 gnu/xml/dom/html2/DomHTMLLIElement.java,
1430 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1431 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1432 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1433 gnu/xml/dom/html2/DomHTMLMapElement.java,
1434 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1435 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1436 gnu/xml/dom/html2/DomHTMLModElement.java,
1437 gnu/xml/dom/html2/DomHTMLOListElement.java,
1438 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1439 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1440 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1441 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1442 gnu/xml/dom/html2/DomHTMLParamElement.java,
1443 gnu/xml/dom/html2/DomHTMLPreElement.java,
1444 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1445 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1446 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1447 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1448 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1449 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1450 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1451 gnu/xml/dom/html2/DomHTMLTableElement.java,
1452 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1453 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1454 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1455 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1456 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1458 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1460 * javax/swing/text/ChangedCharSetException.java,
1461 javax/swing/text/html/HTMLEditorKit.java,
1462 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1463 javax/swing/text/html/parser/AttributeList.java,
1464 javax/swing/text/html/parser/ContentModel.java,
1465 javax/swing/text/html/parser/DocumentParser.java,
1466 javax/swing/text/html/parser/DTD.java,
1467 javax/swing/text/html/parser/DTDConstants.java,
1468 javax/swing/text/html/parser/Element.java,
1469 javax/swing/text/html/parser/Entity.java,
1470 javax/swing/text/html/parser/Parser.java,
1471 javax/swing/text/html/parser/TagElement.java,
1472 gnu/javax/swing/text/html/package.html,
1473 gnu/javax/swing/text/html/parser/gnuDTD.java,
1474 gnu/javax/swing/text/html/parser/HTML_401F.java,
1475 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1476 gnu/javax/swing/text/html/parser/htmlValidator.java,
1477 gnu/javax/swing/text/html/parser/package.html,
1478 gnu/javax/swing/text/html/parser/models/list.java,
1479 gnu/javax/swing/text/html/parser/models/node.java,
1480 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1481 gnu/javax/swing/text/html/parser/models/package.html,
1482 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1483 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1484 gnu/javax/swing/text/html/parser/models/transformer.java,
1485 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1486 gnu/javax/swing/text/html/parser/support/package.html,
1487 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1488 gnu/javax/swing/text/html/parser/support/Parser.java,
1489 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1490 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1491 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1492 gnu/javax/swing/text/html/parser/support/low/Location.java,
1493 gnu/javax/swing/text/html/parser/support/low/node.java,
1494 gnu/javax/swing/text/html/parser/support/low/package.html,
1495 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1496 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1497 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1498 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1500 * javax/swing/text/html/HTML.java,
1501 javax/swing/text/html/parser/ParserDelegator.java:
1502 New files (replacing).
1503 * javax/swing/text/html/package.html,
1504 javax/swing/text/html/parser/package.html: Documenting the
1507 2005-04-19 Chris Burdess <dog@gnu.org>
1509 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1510 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1511 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1512 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1513 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1514 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1515 gnu/xml/dom/html2/DomHTMLBRElement.java,
1516 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1517 gnu/xml/dom/html2/DomHTMLCollection.java,
1518 gnu/xml/dom/html2/DomHTMLDocument.java,
1519 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1521 2005-04-19 Michael Koch <konqueror@gmx.de>
1523 * Makefile.am: Added new files.
1524 * Makefile.in: Regenerated.
1526 2005-04-19 Roman Kennke <roman@kennke.org>
1528 * javax/swing/text/JTextComponent.java
1529 (JTextComponent): Added repaintListener which issues repaint
1530 requests when the underlying document changes.
1531 (setDocument): Adds repaintListener to document when the
1532 document is changed.
1533 * javax/swing/text/DefaultEditorKit.java:
1534 Removed repaint calls on JTextComponent. This is now handled
1535 through a DocumentListener in JTextComponent that repaints
1536 the component when needed.
1538 2005-04-19 Roman Kennke <roman@kennke.org>
1541 * javax/swing/text/StyleContext.java
1542 (NamedStyle.setResolveParent): Added null
1545 2005-04-19 Michael Koch <konqueror@gmx.de>
1547 * java/rmi/server/RemoteObject.java:
1548 Removed unused import statement.
1550 2005-04-19 Michael Koch <konqueror@gmx.de>
1552 * java/net/URL.java: Formatting cleanups.
1554 2005-04-19 Michael Koch <konqueror@gmx.de>
1556 * java/awt/FontMetrics.java: Reformatted.
1557 (getFontRenderContext): Handle case when java.awt.Graphics context is
1560 2005-04-19 Michael Koch <konqueror@gmx.de>
1562 * java/awt/FontMetrics.java
1563 (getStringBounds): New methods.
1566 2005-04-19 Michael Koch <konqueror@gmx.de>
1568 * gnu/java/security/x509/X509Certificate.java
1569 (parse): Handle val == null case.
1571 2005-04-19 Roman Kennke <roman@kennke.org>
1573 * javax/swing/plaf/metal/MetalLookAndFeel.java
1574 (initComponentDefaults): Added defaults for Menu, MenuBar
1577 2005-04-19 Roman Kennke <roman@kennke.org>
1579 * javax/swing/plaf/metal/MetalLookAndFeel.java
1580 (initComponentDefaults): Added Label.font.
1581 (initSystemColorDefaults): Added this method and adjusted the
1582 general control color.
1584 2005-04-19 Roman Kennke <roman@kennke.org>
1586 * javax/swing/plaf/metal/MetalBorders.java:
1588 * javax/swing/plaf/metal/MetalButtonUI.java:
1589 (installDefaults): Install button font.
1590 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1591 (initComponentDefaults): Added button border, font and margin.
1592 Changed components background color to the Metal current themes
1595 2005-04-19 Roman Kennke <roman@kennke.org>
1597 * javax/swing/plaf/metal/MetalLookAndFeel.java
1598 (initComponentDefaults): Added to set Metal specific component
1601 2005-04-19 Mark Wielaard <mark@klomp.org>
1603 * javax/swing/plaf/metal/MetalLookAndFeel.java
1604 (initClassDefaults): Call super.initClassDefaults().
1606 2005-04-19 Roman Kennke <roman@kennke.org>
1608 * javax/swing/plaf/metal/MetalLookAndFeel.java
1609 (initClassDefaults): Added to include the *UI classes.
1611 2005-04-19 Roman Kennke <roman@kennke.org>
1613 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1615 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1617 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1619 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1621 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1623 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1625 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1627 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1629 * javax/swing/plaf/metal/MetalSliderUI.java:
1631 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1633 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1635 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1637 2005-04-19 Roman Kennke <roman@kennke.org>
1639 * javax/swing/plaf/metal/MetalButtonUI.java:
1640 Added skeleton class.
1641 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1642 Added skeleton class.
1643 * javax/swing/plaf/metal/MetalLabelUI.java:
1644 Added skeleton class.
1645 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1646 Added skeleton class.
1647 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1648 Added skeleton class.
1649 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1650 Added skeleton class.
1652 2005-04-19 Roman Kennke <roman@kennke.org>
1654 * javax/swing/UIDefaults.java:
1655 Added API documentation for all methods.
1657 2005-04-19 Roman Kennke <roman@kennke.org>
1659 * javax/swing/UIDefaults.java
1660 (put): Now uses new checkAndPut method instead of checking
1662 (putDefaults): Fixed so that it accepts null-values and
1663 treats them like remove(key).
1664 (checkAndPut): Added. This checks for null-values and calls
1667 2005-04-19 Michael Koch <konqueror@gmx.de>
1669 * Makefile.am: Added new files.
1670 * Makefile.in: Regenerated.
1672 2005-04-19 Mark Wielaard <mark@klomp.org>
1674 * java/lang/natRuntime.cc (insertSystemProperties): Set
1675 java.class.path to CLASSPATH only when not empty. Fall back to
1676 default path "." when java.class.path is empty.
1678 2005-04-19 Michael Koch <konqueror@gmx.de>
1680 * javax/swing/text/rtf/ControlWordToken.java,
1681 javax/swing/text/rtf/RTFEditorKit.java,
1682 javax/swing/text/rtf/RTFParseException.java,
1683 javax/swing/text/rtf/RTFParser.java,
1684 javax/swing/text/rtf/RTFScanner.java,
1685 javax/swing/text/rtf/TextToken.java,
1686 javax/swing/text/rtf/Token.java: New files.
1687 * Makefile.am: Added new files.
1688 * Makefile.in: Regenerated.
1690 2005-04-19 Michael Koch <konqueror@gmx.de>
1692 * java/awt/geom/QuadCurve2D.java:
1693 Fixed Brian Gough's name for real.
1695 2005-04-19 Roman Kennke <roman@kennke.org>
1697 * javax/swing/UIManager.java:
1698 Make the UIManager respect the swing.defaultlaf system
1701 2005-04-19 Tom Tromey <tromey@redhat.com>
1703 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1706 2005-04-19 Roman Kennke <roman@kennke.org>
1708 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1709 Fixed tabs to spaces.
1711 2005-04-19 Roman Kennke <roman@kennke.org>
1713 * javax/swing/plaf/basic/BasicMenuUI.java
1714 (getMaximumSize): Now returns preferredSize because JMenu should
1715 never be bigger than that.
1716 * javax/swing/JRootPane
1717 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1719 2005-04-19 Roman Kennke <roman@kennke.org>
1721 * javax/swing/JRootPane.java:
1722 Fixed various tabs to be spaces.
1723 (RootLayout.layoutContainer): Made menubar left aligned.
1725 2005-04-19 Roman Kennke <roman@ontographics.com>
1727 * javax/swing/JList.java
1728 (getPreferredScrollableViewportSize):
1729 The previous implementation was merely guessing the size,
1730 now it respects layoutOrientation, visibleRowCount
1732 (getScrollableTracksViewportHeight):
1733 Reimplemented so that layoutOrientation, visibleRowCount
1734 and preferred size are respected.
1735 (getScrollableTracksViewportWidth):
1736 Reimplemented so that layoutOrientation, visibleRowCount
1737 and preferred size are respected.
1738 * javax/swing/plaf/basic/BasicListUI.java
1740 Improved calculation of preferredSize when JList is
1741 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1743 The previous implementation assumed a layoutOrientation of
1744 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1745 JList.VERTICAL_WRAP.
1747 2005-04-19 Roman Kennke <roman@ontographics.com>
1749 * javax/swing/plaf/basic/BasicListUI.java
1750 (paintCell): use CellRendererPane for painting the cells.
1752 2005-04-19 Roman Kennke <roman@ontographics.com>
1754 * javax/swing/plaf/basic/BasicListUI:
1755 fixed modifiers of several fields, methods and inner
1756 classes to match the 'spec'.
1757 (getMaximumSize): removed. It's not in the spec and the
1758 implementations was superfluous.
1760 2005-04-19 Roman Kennke <roman@ontographics.com>
1762 * javax/swing/plaf/basic/BasicListUI:
1763 make BasicListUI capable of wrapping lists
1764 (layoutOrientation property of javax.swing.JList)
1766 2005-04-19 Roman Kennke <roman@ontographics.com>
1768 * javax/swing/plaf/basic/BasicListUI
1769 (updateLayoutState,paint): make BasicListUI aware of the
1770 width of the rendered JList.
1772 2005-04-19 Roman Kennke <roman@kennke.org>
1774 * javax/swing/ImageIcon.java
1775 Added API documentation.
1777 2005-04-19 Roman Kennke <roman@kennke.org>
1779 * javax/swing/text/ImageIcon.java
1780 (ImageIcon): Use setImage instead of direct assignment.
1781 (setImage): Call loadImage to make sure that the image is loaded.
1782 (loadImage): Waits for the image to complete loading.
1783 (getImageLoadStatus): Added. Returns the load status of the
1786 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1788 * javax/swing/JTextArea.java (replaceRange):
1789 Fixing doc.remove(start, length) misinterpretation.
1791 2005-04-19 Roman Kennke <roman@ontographics.com>
1793 * javax/swing/CellRendererPane.java:
1794 implemented all methods of this class.
1795 reformatted all wrong formatted code.
1797 2005-04-19 Roman Kennke <roman@kennke.org>
1799 * javax/swing/BoxLayout.java:
1800 (layoutContainer): Made this layout manager respect the
1801 minimum, maximum and preferred size more correctly.
1803 2005-04-19 Roman Kennke <roman@ontographics.com>
1805 * javax/swing/BoxLayout.java:
1806 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1807 layoutContainer): Make these methods and thereby the
1808 BoxLayout respect the insets (like borders) of the
1809 component that is laid out.
1811 2005-04-19 Roman Kennke <roman@kennke.org>
1813 * javax/swing/JComponent.java:
1814 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1815 Untabified the file.
1817 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1819 * javax/swing/JComboBox.java (constructors): selecting the
1820 first item if the box was constructed from the provided
1821 non - empty array or vector.
1823 2005-04-19 Michael Koch <konqueror@gmx.de>
1825 * gnu/java/awt/peer/gtk/GdkGraphics.java
1826 (getClipBounds): Handle clip being null.
1827 (setClip): Likewise.
1828 * java/beans/beancontext/BeanContextSupport.java
1832 (removeAll): Likewise.
1833 (retainAll): Likewise.
1835 2005-04-19 Michael Koch <konqueror@gmx.de>
1837 * java/beans/beancontext/BeanContextServicesSupport.java
1838 (BeanContextServicesSupport): Reimplemented.
1839 (addBeanContextServicesListener): Implemented.
1840 (initialize): Likewise.
1841 (removeBeanContextServicesListener): Likewise.
1842 * java/beans/beancontext/BeanContextSupport.java
1844 (addBeanContextMembershipListener): Likewise.
1845 (getLocale): Likewise.
1846 (initialize): Likewise.
1847 (iterator): Likewise.
1849 (toArray): Likewise.
1851 2005-04-19 Roman Kennke <roman@kennke.org>
1853 * java/awt/MediaTracker.java:
1854 Reindented tabs to spaces.
1856 2005-04-19 Roman Kennke <roman@kennke.org>
1858 * java/awt/MediaTracker.java
1859 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1860 confused the media tracker and lead to lockups. The LOADING
1861 bit is handled on other places.
1862 (addImage): Removed the 'start image tracking' stuff. This
1863 is not necessary and could confuse the media tracker.
1864 (checkAll): Improved the check for image status so that
1865 images that already complete images are detected. Also now
1866 are really all images checked and if necessary loaded. Before
1867 the method bailed out after the first incomplete image.
1868 (statusAll): Detect images that are complete after the
1869 call to Component.prepareImage(..).
1870 (checkID): The same as in checkAll.
1871 (statusID): The same as in statusAll.
1873 2005-04-19 Roman Kennke <roman@kennke.org>
1875 * java/awt/MediaTracker.java
1876 (addImage): Synchronized list access.
1877 (waitForAll): Fixed comparison of time (changed < to >).
1878 (waitForID): Fixed comparison of time (changed < to >).
1879 (removeImage): Synchronized list access.
1881 2005-04-19 Roman Kennke <roman@kennke.org>
1883 * java/awt/MediaTracker.java
1884 Added API documentation.
1886 2005-04-19 Roman Kennke <roman@kennke.org>
1888 * java/awt/MediaTracker.java
1889 (MediaEntry.imageUpdate): Fixed flags. The different flags
1890 must not be ORed together.
1891 (checkAll): Modified to handle different meaning of the flags.
1892 (waitForAll): Fixed so that it waits maximum the
1893 specified amount of milliseconds.
1894 (statusAll): Modified to handle different meaning of the flags.
1895 (waitForID): Fixed so that it waits maximum the
1896 specified amount of milliseconds.
1898 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
1900 * java/awt/Font.java (decode): Handle null argument and allow
1903 2005-04-19 Robert Schuster <thebohemian@gmx.net>
1905 * java/beans/EventHandler.java: Reworked documentation.
1906 (invoke): Fixed behavior to match spec.
1908 2005-04-19 Michael Koch <konqueror@gmx.de>
1910 * java/awt/print/PrinterJob.java
1911 (pageDialog): New method.
1912 (printDialog): Implemented.
1914 2005-04-19 Michael Koch <konqueror@gmx.de>
1916 * java/awt/image/ConvolveOp.java:
1917 Removed comment added by eclipse.
1919 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
1921 * java/awt/image/IndexColorModel.java
1922 (getRGB): Check if pixel is negative.
1924 2005-04-19 Michael Koch <konqueror@gmx.de>
1926 * java/awt/image/RasterOp.java:
1927 Fixed wrong formatting.
1929 2005-04-18 Roman Kennke <roman@kennke.org>
1931 * java/awt/Compmonent.java
1932 (setComponentOrientation): Made this property firing a
1933 PropertyChangeEvent.
1935 2005-04-18 Roman Kennke <roman@kennke.org>
1937 * java/awt/BorderLayout.java
1938 (calcSize): Check for overflow when component sizes are added.
1940 2005-04-18 Robert Schuster <thebohemian@gmx.net>
1942 * java/awt/AWTEvent.java (toString): Added case
1943 for source not being an AWT component.
1945 2005-04-18 Chris Burdess <dog@gnu.org>
1947 * gnu/java/net/BASE64.java: Truncate encoded byte array.
1949 2005-04-18 Michael Koch <konqueror@gmx.de>
1951 gnu/java/awt/EmbeddedWindowSupport.java,
1952 gnu/java/net/HeaderFieldHelper.java,
1953 gnu/java/net/URLParseError.java,
1954 gnu/java/net/protocol/file/Handler.java,
1955 gnu/java/net/protocol/jar/Handler.java:
1956 Fixed usage of @author tag.
1958 2005-04-18 Michael Koch <konqueror@gmx.de>
1960 * gnu/xml/aelfred2/XmlParser.java:
1961 Reverted my typo fix.
1963 2005-04-18 Michael Koch <konqueror@gmx.de>
1965 * java/awt/geom/CubicCurve2D.java,
1966 java/awt/geom/QuadCurve2D.java:
1967 Fixed mentioning of Brian Gouph.
1969 2005-04-18 Michael Koch <konqueror@gmx.de>
1971 * gnu/java/awt/Buffers.java,
1972 gnu/java/awt/image/ImageDecoder.java,
1973 gnu/java/awt/image/XBMDecoder.java,
1974 gnu/java/awt/peer/ClasspathFontPeer.java,
1975 gnu/java/net/CRLFInputStream.java,
1976 gnu/java/net/EmptyX509TrustManager.java,
1977 gnu/java/net/LineInputStream.java,
1978 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1979 gnu/java/net/protocol/ftp/BlockInputStream.java,
1980 gnu/java/net/protocol/ftp/CompressedInputStream.java,
1981 gnu/java/net/protocol/ftp/DTP.java,
1982 gnu/java/net/protocol/ftp/DTPInputStream.java,
1983 gnu/java/net/protocol/ftp/FTPConnection.java,
1984 gnu/java/net/protocol/ftp/FTPURLConnection.java,
1985 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1986 gnu/java/net/protocol/ftp/StreamInputStream.java,
1987 gnu/java/net/protocol/http/ChunkedInputStream.java,
1988 gnu/java/net/protocol/http/HTTPConnection.java,
1989 gnu/java/net/protocol/http/HTTPURLConnection.java,
1990 gnu/java/net/protocol/http/Headers.java,
1991 gnu/java/net/protocol/http/Request.java,
1992 gnu/java/nio/ChannelInputStream.java,
1993 gnu/java/nio/ChannelOutputStream.java,
1994 gnu/java/nio/InputStreamChannel.java,
1995 gnu/java/nio/OutputStreamChannel.java,
1996 gnu/java/nio/SelectorProviderImpl.java,
1997 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
1998 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
1999 gnu/java/rmi/dgc/DGCImpl.java,
2000 gnu/java/rmi/registry/RegistryImpl.java,
2001 gnu/java/rmi/server/ProtocolConstants.java,
2002 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2003 gnu/java/rmi/server/RMIIncomingThread.java,
2004 gnu/java/rmi/server/RMIObjectInputStream.java,
2005 gnu/java/rmi/server/RMIObjectOutputStream.java,
2006 gnu/java/rmi/server/RMIVoidValue.java,
2007 gnu/java/rmi/server/UnicastConnectionManager.java,
2008 gnu/java/rmi/server/UnicastRef.java,
2009 gnu/java/rmi/server/UnicastRemoteCall.java,
2010 gnu/java/rmi/server/UnicastRemoteStub.java,
2011 gnu/java/rmi/server/UnicastServerRef.java,
2012 gnu/java/security/OID.java,
2013 gnu/java/security/der/DERReader.java,
2014 gnu/java/security/provider/CollectionCertStoreImpl.java,
2015 gnu/java/security/provider/DSAParameterGenerator.java,
2016 gnu/java/security/provider/DefaultPolicy.java,
2017 gnu/java/security/provider/EncodedKeyFactory.java,
2018 gnu/java/security/provider/GnuDHPublicKey.java,
2019 gnu/java/security/provider/GnuDSAPrivateKey.java,
2020 gnu/java/security/provider/GnuDSAPublicKey.java,
2021 gnu/java/security/provider/GnuRSAPrivateKey.java,
2022 gnu/java/security/provider/GnuRSAPublicKey.java,
2023 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2024 gnu/java/security/provider/RSA.java,
2025 gnu/java/security/provider/SHA1PRNG.java,
2026 gnu/java/security/provider/SHA1withRSA.java,
2027 gnu/java/security/provider/X509CertificateFactory.java,
2028 gnu/java/security/x509/GnuPKIExtension.java,
2029 gnu/java/security/x509/X500DistinguishedName.java,
2030 gnu/java/security/x509/X509CRL.java,
2031 gnu/java/security/x509/X509CRLEntry.java,
2032 gnu/java/security/x509/X509CertPath.java,
2033 gnu/java/security/x509/X509CertSelectorImpl.java,
2034 gnu/java/security/x509/X509Certificate.java,
2035 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2036 gnu/java/security/x509/ext/BasicConstraints.java,
2037 gnu/java/security/x509/ext/CRLNumber.java,
2038 gnu/java/security/x509/ext/CertificatePolicies.java,
2039 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2040 gnu/java/security/x509/ext/Extension.java,
2041 gnu/java/security/x509/ext/GeneralNames.java,
2042 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2043 gnu/java/security/x509/ext/KeyUsage.java,
2044 gnu/java/security/x509/ext/PolicyConstraint.java,
2045 gnu/java/security/x509/ext/PolicyMappings.java,
2046 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2047 gnu/java/security/x509/ext/ReasonCode.java,
2048 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2049 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2050 Reorganized import statements.
2052 2005-04-18 Michael Koch <konqueror@gmx.de>
2054 * gnu/java/awt/color/CieXyzConverter.java,
2055 gnu/java/awt/color/ClutProfileConverter.java,
2056 gnu/java/awt/color/ColorLookUpTable.java,
2057 gnu/java/awt/color/ColorSpaceConverter.java,
2058 gnu/java/awt/color/GrayProfileConverter.java,
2059 gnu/java/awt/color/GrayScaleConverter.java,
2060 gnu/java/awt/color/LinearRGBConverter.java,
2061 gnu/java/awt/color/ProfileHeader.java,
2062 gnu/java/awt/color/PyccConverter.java,
2063 gnu/java/awt/color/RgbProfileConverter.java,
2064 gnu/java/awt/color/SrgbConverter.java,
2065 gnu/java/awt/color/TagEntry.java,
2066 gnu/java/awt/color/ToneReproductionCurve.java:
2067 Standardized file headers.
2069 2005-04-16 Tom Tromey <tromey@redhat.com>
2071 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2072 'ANY' package-private.
2074 2005-04-15 Tom Tromey <tromey@redhat.com>
2076 * Makefile.in: Rebuilt.
2077 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2078 (libgcj0_convenience_la_LIBADD): ... here.
2080 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2082 * gij.cc (version): Properly quote java version.
2083 (main): Fix typo in comment.
2085 2005-04-13 Mark Wielaard <mark@klomp.org>
2087 * java/lang/natRuntime.cc (insertSystemProperties): Set
2088 java.class.path to CLASSPATH if not already set.
2090 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2092 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2094 2005-04-12 Mike Stump <mrs@apple.com>
2096 * configure: Regenerate.
2098 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2101 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2102 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2104 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2107 * scripts/TexinfoDoclet.java: Removed.
2108 * Makefile.am (texinfo): Removed.
2109 * Makefile.in: Regenerated.
2111 2005-04-11 Michael Koch <konqueror@gmx.de>
2113 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2114 Fixed wrong casting.
2116 2005-04-06 Andrew Haley <aph@redhat.com>
2118 * testsuite/libjava.lang/bytearray.java: New file.
2119 * testsuite/libjava.lang/bytearray.out: New file.
2120 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2121 (loadClass): Use it.
2122 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2124 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2126 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2127 gcj-dbtool dependency
2128 * Makefile.in: Regenerated
2130 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2132 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2133 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2135 2005-04-05 Andrew Haley <aph@redhat.com>
2137 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2138 (Tokenizer): New class.
2139 (getFiles): New method.
2140 (main): Add "-" argument.
2142 Read list of files from stdin when merging map databases.
2143 (usage): Add "-" argument.
2147 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2150 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2151 * Makefile.in: Regenerate.
2152 * configure.ac: Add --with-java-home option.
2153 * configure: Regenerate.
2154 * external/Makefile.in: Regenerate.
2155 * external/sax/Makefile.in: Regenerate.
2156 * external/w3c_dom/Makefile.in: Regenerate.
2157 * gcj/Makefile.in: Regenerate.
2158 * include/Makefile.in: Regenerate.
2159 * testsuite/Makefile.in: Regenerate.
2160 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2163 2005-04-05 Tom Tromey <tromey@redhat.com>
2165 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2166 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2167 Rewrote to use _Jv_FindClassFromSignature.
2168 * verify.cc (resolve): throw NoClassDefFoundError.
2169 * link.cc (resolve_field): Throw NoClassDefFoundError.
2170 (find_field): Likewise.
2171 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2172 Handle error cases. Added 'endp' argument.
2173 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2175 2005-04-05 Tom Tromey <tromey@redhat.com>
2177 * Makefile.in: Rebuilt.
2178 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2179 gtk_awt_peer_sources.
2180 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2181 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2182 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2183 (gtk-awt-peer.lo): New target.
2185 2005-04-04 Steve Pribyl <steve@netfuel.com>
2188 * configure.ac: Fix fastjar definition for cross builds.
2189 * configure: Rebuilt.
2191 2005-04-04 Tom Tromey <tromey@redhat.com>
2193 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2194 it was already found.
2196 2005-04-04 Tom Tromey <tromey@redhat.com>
2198 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2199 org.metastatic.jessie.
2201 2005-04-02 Anthony Green <green@redhat.com>
2204 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2206 2005-04-02 Mark Wielaard <mark@klomp.org>
2208 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2209 Attributes and attribute order doesn't matter.
2210 (BasicAttributesEnumeration.where): Initialize to zero.
2211 (BasicAttributesEnumeration.nextElement): Update and compare where
2212 appropriately (zero based).
2214 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2216 PR libgcj/20090, PR libgcj/20526
2217 * gij.cc (nonstandard_opts_help): New function.
2218 (add_option): New function.
2219 (main): Support java options. Set java.class.path. Don't set
2221 * prims.cc (parse_x_arg): New function.
2222 (parse_init_args): Call parse_x_arg for -X and _ options, when
2223 ignoreUnrecognized is true.
2224 (new _Jv_RunMain): New vm_args variant.
2225 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2226 (_Jv_Jar_Class_Path): Remove variable.
2227 * include/java-props.h: Likewise.
2228 * include/cni.h (JvRealloc): New function.
2229 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2230 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2231 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2233 * configure.ac (JV_VERSION): Define.
2234 (JV_API_VERSION): Likewise.
2235 * configure: Regenerate.
2236 * include/config.h.in: Regenerate.
2238 2005-04-01 Mark Anderson <mark@panonet.net>
2240 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2241 -Infinity as parameters.
2243 2005-04-01 Michael Koch <konqueror@gmx.de>
2245 * java/io/PipedInputStream.java
2246 (read): Make sure a positive byte value is returned. Revised javadoc.
2247 Thanks to Olafur Bragason for reporting these bugs.
2249 2005-04-01 Tom Tromey <tromey@redhat.com>
2251 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2252 Updated for name change.
2253 (nativeFindClass): New method.
2254 (loadClass): Use nativeFindClass.
2255 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2257 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2258 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2260 (initialize): New method.
2261 (nativeFindClass): Declare.
2262 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2263 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2264 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2266 (definePackageForNative): Removed.
2267 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2268 Moved to VMClassLoader.java.
2269 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2270 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2271 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2272 removed VMClassLoader.java.
2273 (nat_source_files): Removed natVMClassLoader.cc.
2275 2005-04-01 Tom Tromey <tromey@redhat.com>
2277 * Makefile.in: Rebuilt.
2278 * Makefile.am (db_pathtail): Use $(gcc_version), not
2281 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2283 * java/util/Timer.java
2284 (run): Stop the queue if a task throws an exception.
2286 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2288 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2290 2005-03-29 Ian Lance Taylor <ian@airs.com>
2292 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2293 * external/sax/Makefile.in: Rebuild.
2294 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2296 * external/w3c_dom/Makefile.in: Rebuild.
2298 2005-03-29 Tom Tromey <tromey@redhat.com>
2300 * java/lang/natRuntime.cc (insertSystemProperties): Set
2301 gnu.gcj.runtime.endorsed.dirs.
2302 * Makefile.in: Rebuilt.
2303 * Makefile.am (ordinary_java_source_files): Added
2304 HelperClassLoader.java.
2305 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2306 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2308 (init): Use addDirectoriesFromProperty.
2309 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2310 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2311 gnu.gcj.runtime.endorsed.dirs.
2312 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2314 2005-03-26 Chris Burdess <dog@gnu.org>
2316 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2319 2005-03-13 Michael Koch <konqueror@gmx.de>
2321 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2323 2005-03-11 Chris Burdess <dog@gnu.org>
2325 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2328 2005-02-27 Chris Burdess <dog@gnu.org>
2330 * gnu/xml/aelfred2/JAXPFactory.java,
2331 gnu/xml/aelfred2/SAXDriver.java,
2332 gnu/xml/aelfred2/XmlParser.java,
2333 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2334 formatting conventions. Replaced arrays of Object with struct-like
2335 classes for easier maintainability. Made SAXDriver.stringInterning
2336 package private to allow access from XmlParser inside the loop without
2337 a method call overhead.
2339 2005-03-11 Chris Burdess <dog@gnu.org>
2341 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2344 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2346 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2347 settings to sub Makefiles.
2348 (GCJH, ZIP): Prefix with top_builddir.
2349 * configure: Rebuild.
2350 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2351 * external/w3c_dom/Makefile.in: Rebuild.
2352 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2353 * external/sax/Makefile.in: Rebuild.
2355 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2357 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2358 libsocket to the libraries to link for Solaris.
2360 2005-03-28 Per Bothner <per@bothner.com>
2362 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2363 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2365 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2367 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2368 to fix a ONESTEP fallout.
2369 * Makefile.in: Regenerate.
2371 2005-03-25 Mike Stump <mrs@apple.com>
2373 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2374 paths like we do for the compiler, as we use it in external/sax
2375 and it doesn't get MULTIBUILDTOP right when multilibing.
2377 2005-03-24 Anthony Green <green@redhat.com>
2379 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2381 (usage): Add [LIBDIR] to help output.
2382 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2383 * Makefile.am (AM_CXXFLAGS): Define
2384 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2385 (db_pathtail): New macro.
2387 2005-03-24 Tom Tromey <tromey@redhat.com>
2389 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2390 add sax and w3c libraries.
2391 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2393 * external/w3c_dom/Makefile.in: Rebuilt.
2394 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2396 (libw3c_gcj_la_LDFLAGS): New variable.
2397 (noinst_LTLIBRARIES): Renamed.
2398 * external/sax/Makefile.in: Rebuilt.
2399 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2401 (libsax_gcj_la_LDFLAGS): New variable.
2402 (noinst_LTLIBRARIES): Renamed.
2404 2005-03-23 Tom Tromey <tromey@redhat.com>
2406 * Makefile.in: Rebuilt.
2407 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2408 (libgcj0_convenience_la_SOURCES): Don't include
2409 gnu_xml_source_files.
2410 (libgcj0_convenience_la_LIBADD): New variable.
2411 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2412 (all_java_source_files): javax_imageio_source_files,
2413 javax_xml_source_files, and gnu_java_beans_source_files.
2414 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2415 (gnu-xml.lo): New target.
2416 (javax-imageio.lo): Likewise.
2417 (javax-xml.lo): Likewise.
2418 (gnu-java-beans.lo): Likewise.
2419 (gnu_java_beans_source_files): New variable.
2420 (javax_imageio_source_files): Likewise.
2421 (javax_xml_source_files): Likewise.
2422 (javax_source_files): Moved files to other variable.
2423 (awt_java_source_files): Likewise.
2424 (ordinary_java_source_files): Added BootClassLoader.java.
2425 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2426 not system class loader.
2427 (initBootLoader): New method.
2428 (loadClass): Search bootLoader.
2429 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2430 boot loader, not system class loader.
2431 (_Jv_UnregisterInitiatingLoader): Likewise.
2432 (_Jv_FindClass): Likewise. Ensure entries in
2433 bootstrap_class_list are unique.
2434 * java/lang/natClass.cc (getClassLoader): Don't special case
2435 system class loader.
2436 * java/lang/VMClassLoader.java (bootLoader): New field.
2437 (getResource): Use bootLoader.
2438 (getResources): Likewise.
2439 (initBootLoader): Declare.
2440 * gnu/gcj/runtime/BootClassLoader.java: New file.
2441 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2442 (EMPTY_ENUMERATION): Now package-private.
2443 * external/w3c_com/Makefile.in: Rebuilt.
2444 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2445 (w3c.jar): New target.
2446 (classes.stamp): Updated.
2447 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2448 Changed name of library.
2449 (libw3c_gcj_la_SOURCES): New variable.
2450 (libw3c_gcj_la_GCJFLAGS): Likewise.
2451 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2452 * external/sax/Makefile.in: Rebuilt.
2453 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2454 (sax.jar): New target.
2455 (classes.stamp): Updated.
2456 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2457 Changed name of library.
2458 (libsax_gcj_la_SOURCES): New variable.
2459 (libsax_gcj_la_GCJFLAGS): Likewise.
2460 (source_files): Renamed from libsax_convenience_la_SOURCES.
2461 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2463 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2465 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2467 2005-03-23 Sven de Marothy <sven@physto.se>
2469 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2471 * java/util/Calendar.java
2472 (set): Use starting day of week when one is needed if none is given.
2473 * java/text/SimpleDateFormat.java
2474 (parse): Handle 1-12 and 1-24 timestamps correctly.
2475 * java/util/GregorianCalendar.java
2476 (computeTime, computeFields): HOUR should be in 0-11 format.
2477 (nonLeniencyCheck): Adjust leniency checking to that fact.
2478 (getLinearDay): Should be private.
2480 2005-03-23 Tom Tromey <tromey@redhat.com>
2482 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2483 (_Jv_CheckABIVersion): Use it.
2485 2005-03-22 Mike Stump <mrs@apple.com>
2487 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2489 * include/posix.h: .dylib is used on all Apple MACH platforms.
2490 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2492 2005-03-22 Tom Tromey <tromey@redhat.com>
2494 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2496 2005-03-21 Tom Tromey <tromey@redhat.com>
2498 * java/lang/VMCompiler.java (static block): Also catch
2499 BufferUnderflowException.
2501 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2503 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2504 set tool_include_dir. In all substitutions, leave $(gcc_version)
2505 to be expanded by the Makefile.
2506 * aclocal.m4, configure: Regenerate.
2507 * Makefile.am: Set gcc_version. Replace all uses of
2508 @gcc_version@ with $(gcc_version).
2509 * external/Makefile.am, external/sax/Makefile.am
2510 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2511 * testsuite/Makefile.am: Set gcc_version.
2512 * include/Makefile.am: Set gcc_version and tool_include_dir.
2513 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2514 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2515 * testsuite/Makefile.in: Regenerate.
2517 2005-03-17 Andrew Haley <aph@redhat.com>
2519 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2521 Pass klass to _Jv_StackTrace::GetClassContext().
2522 * java/lang/ClassLoader.java (getParent): Pass class to
2523 VMSecurityManager.getClassContext()
2524 (getSystemClassLoader): Likewise.
2525 * java/lang/Package.java (getPackage): Likewise.
2526 (getPackages): Likewise.
2527 * java/lang/SecurityManager.java (getClassContext): Likewise.
2528 (currentClassLoader): Likewise.
2529 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2530 (currentClassLoader) Add new arg: caller.
2531 Pass caller to VMSecurityManager.getClassContext.
2533 * stacktrace.cc (GetClassContext): Correct calculation of
2536 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2537 im->source_file_name.
2539 2005-03-16 Andrew Haley <aph@redhat.com>
2541 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2543 2005-03-16 Tom Tromey <tromey@redhat.com>
2545 * link.cc (ensure_class_linked): Removed #ifdef.
2546 (print_class_loaded): Likewise.
2547 (wait_for_state): Likewise.
2548 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2549 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2550 * include/java-interp.h: ... here.
2552 2005-03-16 Tom Tromey <tromey@redhat.com>
2554 * gnu/java/lang/MainThread.java (run): Load main class using
2555 system class loader.
2557 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2559 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2560 lgcc_s to the libraries to link for Darwin.
2562 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2564 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2565 interpreter-specific code with #ifdef INTERPRETER.
2566 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2567 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2568 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2569 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2570 #ifdef INTERPRETER. Also protect declarations that use it.
2571 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2572 #ifdef INTERPRETER block.
2574 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2577 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2578 * Makefile.in: Rebuilt.
2580 2005-03-15 David Daney <ddaney@avtrex.com>
2582 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2585 2005-03-15 David Daney <ddaney@avtrex.com>
2587 * java/io/BufferedInputStream.java (available): Use 'in' instead
2588 of 'super' for underlying stream access.
2590 (read(byte[], int, int)): Ditto.
2592 (skip): Call skip on underlying stream when possible.
2594 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2596 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2597 SJLJ_EXCEPTIONS is defined.
2599 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2601 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2604 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2606 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2608 (libjava_arguments): Likewise.
2610 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2611 (gcj_jni_test_one): Likewise.
2612 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2613 Add flags to keep the Darwin linker quiet.
2614 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2615 Add -liconv for Darwin.
2617 2005-03-11 Tom Tromey <tromey@redhat.com>
2619 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2620 (_Jv_CheckABIVersion): Use it.
2622 2005-03-11 Tom Tromey <tromey@redhat.com>
2624 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2625 (usage): Document '-p'.
2626 * Makefile.in: Rebuilt.
2627 * Makefile.am (dbexecdir): New variable.
2628 (db_name): Likewise.
2629 (dbexec_DATA): Likewise.
2630 ($(db_name)): New target.
2631 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2632 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2635 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2637 * exception.cc: Remove stray MethodRef.h include.
2638 * java/lang/natClass.cc: Likewise.
2639 * gnu/gcj/runtime/MethodRef.java: Removed.
2640 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2641 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2642 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2643 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2644 * Makefile.in: Rebuilt.
2646 2005-03-10 Tom Tromey <tromey@redhat.com>
2648 * Makefile.in: Rebuilt.
2649 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2651 2005-03-10 Chris Burdess <dog@bluezoo.org>
2653 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2654 not currently parsing the DTD.
2656 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2658 New Stack Trace infrastructure.
2659 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2660 (gnu/gcj/runtime/StackTrace.java): Removed.
2661 (ordinary_java_source_files): Remove obsolete files.
2662 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2663 * configure.host (fallback_backtrace_h): Set backtrace header
2664 for mingw and cygwin targets.
2665 * configure.ac: Make symlink for fallback backtrace headers.
2666 * Makefile.in, configure: Rebuilt.
2667 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2668 Read 'LineNumberTable' attribute.
2669 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2671 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2673 * exception.cc: Remove unused include.
2674 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2675 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2676 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2677 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2678 table to direct threaded instruction values.
2679 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2680 (_Jv_InterpMethod::run): No longer member function. All
2681 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2682 is made or where an instruction could throw.
2683 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2685 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2686 (catch_fpe): Likewise.
2687 * stacktrace.cc: New file. Stack trace code now here.
2688 * gnu/gcj/runtime/MethodRef.java:
2689 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2690 calls addr2line to look up PC addresses in a given binary or shared
2692 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2693 gnu/gcj/runtime/natStackTrace.cc: Removed.
2694 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2695 this function name is specially recognised by the stack trace code
2696 and shouldn't be changed.
2697 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2698 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2699 (_Jv_InterpMethod::run): Update declaration.
2700 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2702 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2703 * include/java-stack.h: New file. Declarations for stack tracing.
2704 * include/jvm.h (_Jv_Frame_info): Removed.
2705 * java/lang/Class.h: Update friend declarations.
2706 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2708 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2709 (getStackTrace): Now native.
2710 (data): New RawDataManaged field.
2711 * java/lang/natClass.cc: Update includes.
2712 (forName): Use _Jv_StackTrace::GetCallingClass for
2713 calling-classloader check.
2714 (getClassLoader): Likewise.
2715 * java/lang/natRuntime.cc: Update includes.
2716 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2717 * java/lang/natVMSecurityManager.cc: Update includes.
2718 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2719 * java/lang/natVMThrowable.cc: New file. Native methods for
2721 * java/lang/reflect/natArray.cc: Update includes.
2722 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2723 accessibility check.
2724 * java/lang/reflect/natConstructor.cc: Update includes.
2725 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2726 accessibility check.
2727 * java/lang/reflect/natField.cc: Update includes.
2728 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2729 accessibility check.
2730 * java/lang/reflect/natMethod.cc: Update includes.
2731 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2732 accessibility check.
2733 * java/util/natResourceBundle.cc: Update includes.
2734 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2735 * java/util/logging/natLogger.cc: Update includes. Use
2736 _Jv_StackTrace::GetCallerInfo to get call-site info.
2737 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2739 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2742 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2744 * testsuite/libjava.compile/PR20312.java: New file.
2745 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2746 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2748 2005-03-09 Andrew Haley <aph@redhat.com>
2750 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2752 (smallTransferTo): New.
2753 (transferFrom): Loop around smallTransferFrom, copying pageSize
2755 (transferTo): Likewise.
2757 2005-03-09 David Daney <ddaney@avtrex.com>
2760 Merge BufferedInputStream from GNU Classpath.
2761 * java/io/BufferedInputStream.java (marktarget): Field removed.
2762 (CHUNKSIZE): Field removed.
2763 (bufferSize): New field.
2764 (BufferedInputStream): Initialize fields.
2765 (close): Invalidate mark and buffer indexes.
2767 (read()): Move mark handling code to refill.
2768 (read(byte[], int, int)): Ditto.
2769 (skip): Ditto and simplify EOF testing.
2770 (refill): Rewritten.
2771 * java/io/InputStreamReader.java (refill): Removed mark and reset
2772 of internal BufferedInputStream.
2774 2005-03-09 Tom Tromey <tromey@redhat.com>
2776 * java/lang/natVMClassLoader.cc (defineClass): Reference
2777 'systemClassLoader' field directly.
2778 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2780 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2781 Reference 'systemClassLoader' field directly.
2782 (_Jv_UnregisterInitiatingLoader): Likewise.
2783 (_Jv_FindClass): Likewise.
2785 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2787 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2789 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2790 the file in GNU Classpath style.
2792 2005-03-09 Tom Tromey <tromey@redhat.com>
2794 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2795 (toString): Synchronize.
2797 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2799 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2800 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2802 2005-03-07 Tom Tromey <tromey@redhat.com>
2804 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2805 (usage): Document '-f'.
2807 2005-03-07 Tom Tromey <tromey@redhat.com>
2809 * java/lang/VMCompiler.java (md5Digest): New field.
2810 (compileClass): Clone md5Digest instead of looking up a new one.
2812 2005-03-07 Tom Tromey <tromey@redhat.com>
2815 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2816 * link.cc (find_field_helper): Added 'type' argument.
2817 (find_field): Updated.
2819 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2820 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2821 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2822 throw UnsupportedOperationException, fixed comments.
2823 (setFont, setForeground): Fixed comments.
2824 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2825 return type to boolean.
2826 (getNextEvent): Fixed javadocs.
2827 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2828 (nativeQueueEmpty): Removed unused code.
2829 (iterateNativeQueue): Removed outer loop.
2831 2005-03-06 Roger Sayle <roger@eyesopen.com>
2834 * Makefile.am (libgcj0_convenience.la): Revert last change.
2835 * Makefile.in: Regenerate.
2837 2005-03-05 Anthony Green <green@redhat.com>
2839 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2840 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2841 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2842 (_Jv_GetDrawingSurface): Set visualID.
2843 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2844 (JAWT_GetAWT): Set Lock and Unlock.
2845 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2847 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2848 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2849 JAWT_LOCK_SURFACE_CHANGED): New macros.
2850 (struct _JAWT): Add Lock and Unlock.
2852 2005-03-05 Roger Sayle <roger@eyesopen.com>
2853 Alexandre Oliva <aoliva@redhat.com>
2854 Kelley Cook <kcook@gcc.gnu.org>
2857 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2858 of the object files to link to avoid exceeding the command line
2859 length limits on some platforms.
2860 (clean-local): Clean up objectlist files.
2861 * Makefile.in: Regenerate.
2863 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2865 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2866 spec_case. Initialize pointer mlo.
2868 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2871 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2873 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2876 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2877 uninitialized variable z.
2879 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2880 possible unused variables.
2882 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2884 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2886 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2889 * testsuite/libjava.jni/jni.exp
2890 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2892 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2894 2005-02-23 David Daney <ddaney@avtrex.com>
2896 * configure.host: Don't use -mxgot for MIPS builds.
2898 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
2901 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2902 (COMPPATH): Removed.
2903 (ZIP, GCJH): Replace it with ../$(host_subdir).
2904 (built_gcc_dir): Add $(host_subdir).
2905 * configure: Regenerate.
2906 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2907 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2908 external/w3c_dom/Makefile.in: Regenerate.
2910 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
2912 * java/awt/font/TextAttribute.java: changed names to lower case;
2913 (readResolve): implemented.
2914 Added doc comments all over.
2916 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2919 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
2920 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
2921 value. Move argument parsing code to prims.cc.
2922 * prims.cc (no_properties): Remove.
2923 (_Jv_Compiler_Properties): Initialize to NULL.
2924 (_Jv_Properties_Count): Initialize to 0.
2925 (parse_verbose_args): New function.
2926 (parse_init_args): New function.
2927 (_Jv_CreateJavaVM): Call parse_init_args.
2928 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
2929 * gcj/cni.h (JvVMOption): New struct.
2930 (JvVMInitArgs): Likewise.
2931 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
2933 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
2934 (_Jv_VMInitArgs): Likewise.
2935 * include/java-props.h (_Jv_Properties_Count): Declare.
2936 * java/lang/natRuntime.cc (insertSystemProperties): Use
2937 _Jv_Properties_Count in for loop exit condition.
2938 * testsuite/libjava.jni/jni.exp
2939 (gcj_invocation_compile_c_to_binary): New procedure.
2940 (gcj_invocation_test_one): Likewise.
2941 (gcj_jni_run): Run JNI invocation API tests.
2942 * testsuite/libjava.jni/invocation/PR16923.c,
2943 testsuite/libjava.jni/invocation/PR16923.java,
2944 testsuite/libjava.jni/invocation/PR16923.out: New test.
2946 2005-02-23 Michael Koch <konqueror@gmx.de>
2948 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
2949 * Makefile.in: Regenerated.
2951 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2953 * gnu/java/nio/ChannelReader: Fixed comments.
2955 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2957 * java/nio/channels/Channels: Added FIXMEs about
2958 stub method implementation.
2959 (newReader): Implemented.
2960 * gnu/java/nio/ChannelReader: New class.
2962 2005-02-23 Michael Koch <konqueror@gmx.de>
2964 * java/text/SimpleDateFormat.java:
2965 Removed unused import.
2967 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2970 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
2971 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
2972 * Makefile.in: Regenerate.
2973 * configure.ac: Check for libXtst.
2974 * configure: Regenerate.
2976 2005-02-22 Mark Wielaard <address@bogus.example.com>
2978 * java/security/AlgorithmParameterGenerator.java (getInstance):
2979 Mention provider when throwing NoSuchProviderException.
2980 * java/security/AlgorithmParameters.java (getInstance): Likewise.
2981 * java/security/KeyFactory.java (getInstance): Likewise.
2982 * java/security/KeyStore.java (getInstance): Likewise.
2983 * java/security/SecureRandom.java (getInstance): Likewise.
2984 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
2986 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
2988 * java/lang/reflect/Proxy.java,
2990 java/security/SecureRandom.java,
2991 java/util/Timer.java,
2992 java/util/prefs/AbstractPreferences.java:
2993 Don't catch java.lang.ThreadDeath.
2995 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
2997 * java/awt/font/TransformAttribute.java,
2998 (TransformAttribute(AffineTransform)): throw
2999 IllegalArgumentException for null transform.
3000 (getTransform): return a copy of transform.
3001 Added doc comments to all.
3003 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3005 * java/io/Externalizable.java,
3006 java/io/Serializable.java
3007 (serialVersionUID): Removed.
3008 * java/rmi/server/RemoteObject.java,
3009 java/rmi/server/UID.java
3010 (serialVersionUID): Made private.
3011 * java/rmi/server/RemoteRef.java,
3012 java/rmi/server/ServerRef.java
3013 (serialVersionUID): Set proper value.
3014 * java/security/interfaces/DSAPrivateKey.java,
3015 java/security/interfaces/DSAPublicKey.java,
3016 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3017 java/security/interfaces/RSAPrivateCrtKey.java,
3018 java/security/interfaces/RSAPrivateKey.java,
3019 java/security/interfaces/RSAPublicKey.java,
3020 javax/crypto/SecretKey.java
3021 (serialVersionUID): Added.
3023 2005-02-22 Tom Tromey <tromey@redhat.com>
3025 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3027 2005-02-22 Tom Tromey <tromey@redhat.com>
3030 * verify.cc (type::EITHER): New constant.
3031 (check_field_constant): Use it.
3032 (type::compatible): Handle it.
3034 2005-02-22 Michael Koch <konqueror@gmx.de>
3036 * gnu/java/security/PolicyFile.java,
3037 gnu/java/security/pkcs/PKCS7SignedData.java,
3038 gnu/java/security/pkcs/SignerInfo.java:
3039 Fixed copyright header.
3041 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3043 * java/beans/PropertyDescriptor.java
3044 (PropertyDescriptor,setReadMethod): Set propertyType.
3046 2005-02-22 Michael Koch <konqueror@gmx.de>
3048 * java/nio/DirectByteBufferImpl.java
3049 (owner): Fixed formatting of javadoc.
3050 * java/text/DateFormat.java
3051 (getAvailableLocales): Fixed formatting.
3052 * java/text/SimpleDateFormat.java:
3053 Fixed formatting and import statement order.
3054 * java/util/Calendar.java
3055 (Calendar): Fixed javadoc to be HTML compliant.
3056 * java/util/SimpleTimeZone.java:
3059 2005-02-22 Roman Kennke <roman@ontographics.com>
3061 * javax/swing/plaf/basic/BasicLookAndFeel.java
3062 (initComponentDefaults): Fixed Button left and right margin.
3064 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3066 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3070 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3071 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3072 (getWidth): New method.
3073 (getHeight): Likewise.
3074 (create): Remove width, height and insets parameters. Move size
3076 (realize_cb): ... here. New function.
3077 (connectSignals): Connect realize_cb.
3078 (request_frame_extents): Remove FIXME. Move
3079 postInsetsChangedEvent lookup ...
3080 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3081 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3082 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3084 (windowGetWidthID): Likewise.
3085 (windowGetHeightID): Likewise.
3087 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3091 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3093 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3095 Merge serialization from GNU Classpath.
3096 * gcj/method.h: Add missing #includes.
3097 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3098 primitive class IDs on the stream here...
3099 (resolveClass): ...not here.
3100 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3102 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3103 setLongNative, setIntNative, setShortNative, setCharNative,
3104 setByteNative, setBooleanNative, setObjectNative): New native methods.
3105 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3106 setLongNative, setIntNative, setShortNative, setCharNative,
3107 setByteNative, setBooleanNative, setObjectNative): Implement them.
3108 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3109 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3110 the constructor here.
3111 (callConstructor): Removed.
3112 (getCallersClassLoader): Removed.
3113 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3114 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3115 to control whether setting final field values is permitted. Call
3116 getAddr() with checkFinal parameter instead of setAddr().
3117 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3118 only if not done already.
3119 (getAddr): Add checkFinal parameter. Do the final field check only if
3123 2005-02-21 Mark Wielaard <mark@klomp.org>
3126 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3129 2005-02-21 Mark Wielaard <mark@klomp.org>
3132 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3133 without a super class and us ObjectStreamClass.lookupForClassObject().
3134 (resolveClass): Check for primitive types.
3135 (lookupClass): Return null when argument is null.
3137 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3139 * java/io/ObjectInputStream.java
3140 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3142 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3144 * java/io/ObjectOutputStream.java
3145 (writeObject, callWriteMethod): Replaced reflection with accessing
3146 cached info in ObjectStreamClass.
3147 (getMethod): Removed.
3148 * java/io/ObjectStreamClass.java
3149 (findMethod): Added check to make sure the method found has the
3151 (cacheMethods): Added writeReplace and writeObject methods.
3152 (setFlags): Look at new writeObjectMethod field instead of doing
3154 (writeReplaceMethod): New field.
3155 (writeObjectMethod): New field.
3157 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3158 Jeroen Frijters <jeroen@frijters.net>
3160 * java/io/ObjectInputStream.java
3161 (newObject): Changed prototype. Get a constructor reflect object
3163 (callConstructor): Removed.
3164 (allocateObject): Changed prototype.
3165 (readClassDescriptor): Build the constructor reflection directly.
3166 (readObject): Invoke newObject using the new prototype.
3168 * java/io/ObjectStreamClass.java
3169 (firstNonSerializableParent): Removed.
3170 (firstNonSerializableParentConstructor): Added.
3172 2005-02-21 Mark Wielaard <mark@klomp.org>
3174 * gnu/java/locale/LocaleInformation_en.java: Extend
3175 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3177 2005-02-21 Mark Wielaard <mark@klomp.org>
3179 * java/text/SimpleDateFormat.java
3180 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3181 NullPointerException when formatData is null.
3183 2005-02-21 Mark Wielaard <mark@klomp.org>
3185 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3186 taking dstSavings into account.
3188 2005-02-21 Sven de Marothy <sven@physto.se>
3190 * java/text/SimpleDateFormat.java,
3191 (parse): Set correct DST_OFFSET to the correct value.
3193 2005-02-21 Mark Wielaard <mark@klomp.org>
3195 * java/util/SimpleTimeZone.java (checkRule): Throw
3196 IllegalArgumentException when month out of range.
3198 2005-02-21 Sven de Marothy <sven@physto.se>
3200 * java/util/GregorianCalendar.java,
3201 (add): Don't set fields directly anymore. Use set()
3203 2005-02-21 Mark Wielaard <mark@klomp.org>
3205 * java/text/SimpleDateFormat.java (CompiledField.toString):
3206 Use StringBuffer, not StringBuilder.
3207 (toString): Likewise.
3209 2005-02-21 Sven de Marothy <sven@physto.se>
3211 * java/util/Calendar.java
3212 (clear): Dates should clear to local time.
3213 * java/util/GregorianCalendar.java
3214 (computeTime): Fix priority problem with DAY_OF_WEEK,
3215 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3217 2005-02-21 Sven de Marothy <sven@physto.se>
3219 * java/util/Calendar.java
3220 (Calendar): Constructor should clear fields.
3222 2005-02-21 Sven de Marothy <sven@physto.se>
3224 * java/text/SimpleDateFormat.java
3225 (parse): Tweak handling of 2-year dates
3226 * java/util/Calendar.java
3227 (clear): Clear fields to correct value.
3228 * java/util/GregorianCalendar.java
3229 (computeTime): Correct handling of time zones.
3230 Correct field minimum values.
3232 2005-02-21 Sven de Marothy <sven@physto.se>
3234 * java/util/Calendar.java
3235 (set) Invalidate all fields on first call to set().
3237 2005-02-21 Sven de Marothy <sven@physto.se>
3239 * java/util/GregorianCalendar.java
3240 (computeTime): Fixed handling of time zones.
3242 2005-02-21 Sven de Marothy <sven@physto.se>
3244 * java/util/Calendar.java
3245 (clear): Set values to Epoch instead of zero.
3246 (set): Set isSet to the relevant field pattern instead of just
3248 * java/util/GregorianCalendar.java
3249 (getBundle): Removed.
3250 (getDayOfYear): Removed.
3251 (getFirstDayOfMonth): New private method.
3252 (nonLeniencyCheck): New private method.
3253 (computeTime): Correct handling of insufficient data.
3255 2005-02-21 Sven de Marothy <sven@physto.se>
3257 * java/util/Calendar.java: Invalidate ERA field on setting
3259 * java/util/SimpleTimeZone.java:
3260 (getDaysInMonth): Reimplemented.
3261 * java/util/GregorianCalendar.java:
3262 (getLinearTime): Removed.
3263 (isLeapYear(int,boolean)): Removed.
3264 (before(), after()): Removed.
3265 (computeTime): Reimplemented.
3267 2005-02-21 Sven de Marothy <sven@physto.se>
3269 * java/util/Calendar.java: Reformatted.
3270 * java/util/GregorianCalendar.java: Reformatted.
3271 * java/util/SimpleTimeZone.java: Reformatted.
3273 2005-02-21 Sven de Marothy <sven@physto.se>
3275 * java/util/GregorianCalendar.java
3276 (GregorianCalendar): Update fields in the constructor
3278 2005-02-21 Noa Resare <noa@resare.com>
3280 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3281 (set(int,int)): Set and use new field.
3282 (set(int,int,int)): Check new field.
3284 2005-02-21 Noa Resare <address@hidden>
3286 * java/util/Calendar.java(set):
3287 Fix for DST related regression.
3289 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3291 * java/util/Calendar.java
3292 (setTimeInMillis): Added call to clear, removed computeFields call.
3293 * java/util/Date.java
3294 (Date(int,int,int,int,int,int)): Removed workaround for
3295 GregorianCalendar bug.
3296 * java/util/GregorianCalendar.java
3297 (GregorianCalendar): Chained all constructors to a (new)
3299 (computeTime): Fixed support for lenient month treatment.
3300 (getLinearDay): Return long instead of int.
3301 (calculateDay): Added fields argument and changed day argument
3304 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3306 * java/text/SimpleDateFormat.java
3307 Lots of documentation updates.
3308 (readObject(java.io.ObjectInputStream)): Wraps
3309 IllegalArgumentException as specified.
3310 (compileFormat(String)): Uses standardChars
3311 rather than the local pattern characters.
3312 Throws IllegalArgumentException rather than
3314 (toString()): Extended to include all variables
3316 (translateLocalizedPattern(String, String, String)):
3317 Renamed to better define the use of this method.
3319 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3321 * java/text/DateFormat.java:
3322 Documented pattern character offset constants and
3324 (Field): Added new static fields for new pattern chars.
3325 * java/text/SimpleDateFormat.java:
3326 (CompiledField): Changed name of FieldSizePair class
3327 to CompiledField after adding the character as an
3328 attribute. Changed fields to private and added
3329 accessors to give encapsulation.
3330 (CompiledField.CompiledField(int,int,char)): Extended
3331 with character field.
3332 (CompiledField.getField()): New accessor method.
3333 (CompiledField.getSize()): New acceessor method.
3334 (CompiledField.getCharacter()): New accessor method.
3335 (CompiledField.toString()): Added primarily for debugging.
3336 (standardChars): Now uses extended 24 character sequence.
3337 (compileFormat(String)): Changed to use CompiledField.
3338 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3339 java.text.FieldPosition)): Changed to use CompiledField.
3340 New handler for RFC 822 timezones added.
3342 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3344 * java/text/SimpleDateFormat.java:
3345 (parse(String, java.text.ParsePosition)):
3346 Changed 'E' and 'M' cases to use both
3347 short and long names. Extended 'z'
3348 case to also handle 'Z', and deal
3349 with simple GMT offsets such as +0100.
3350 (computeOffset(String)): New private method,
3351 which converts a GMT offset specification,
3352 such as GMT-0500 to a numeric offset in
3354 * java/util/TimeZone.java:
3355 (timezones()): Added "CEST", the daylight
3356 savings time version of "CET", or Central
3359 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3361 * java/text/SimpleDateFormat.java:
3362 (parse): Set the DST offset to 0 when parsing
3363 GMT offset timezones.
3365 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3367 * java/text/SimpleDateFormat.java:
3368 (parse): Use offset to set ZONE_OFFSET
3369 rather than the DST_OFFSET, so that
3370 GMT offset timezones change the right
3373 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3375 * java/text/SimpleDateFormat.java:
3376 (getDateFormatSymbols()): return a copy
3377 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3378 throw exception on null input
3379 (clone()): implemented to clone
3382 2005-02-21 Sven de Marothy <sven@physto.se>
3384 * java/text/SimpleDateFormat.java
3385 (parse): comparison should be case-insensitive, ignore null
3388 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3390 * gnu/java/beans/IntrospectionIncubator.java
3391 (addMethod) Reverts the patch that ntroduced a regression (see bug
3392 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3394 2005-02-21 Michael Koch <konqueror@gmx.de>
3396 * java/awt/Checkbox.java
3397 (next_checkbox_number): New static variable.
3398 (generateName): New method.
3399 (getUniqueLong): Likewise.
3400 * java/awt/Window.java
3401 (next_window_number): New static variable.
3402 (generateName): New method.
3403 (getUniqueLong): Likewise.
3405 2005-02-21 Mark Wielaard <mark@klomp.org>
3407 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3410 2005-02-21 Andrew Haley <aph@redhat.com>
3412 * Makefile.in: Rebuilt.
3413 * Makefile.am (nat_source_files): Added natLogger.cc.
3414 * java/util/logging/natLogger.cc: New file.
3415 * java/util/logging/Logger.java (getCallerStackFrame): Now
3418 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3420 * Makefile.am (all_property_files): Remove left over.
3421 (classes.stamp): Add stamp for the ONESTEP build, also known as
3422 --enable-libgcj-multifile.
3423 * Makefile.in: Regenerated.
3425 2005-02-21 Michael Koch <konqueror@gmx.de>
3427 * java/awt/Button.java,
3428 java/awt/Container.java,
3430 java/awt/Frame.java,
3431 java/text/CollationElementIterator.java,
3432 java/text/RuleBasedCollator.java,
3433 java/util/PropertyPermission.java:
3434 Fixed formatting issues all over.
3436 2005-02-21 Mark Wielaard <mark@klomp.org>
3438 * java/io/FileDescriptor.java (sync): Add real exception to
3439 SyncFailedException.
3441 2005-02-21 Michael Koch <konqueror@gmx.de>
3443 * java/io/InputStreamReader.java:
3446 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3449 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3451 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3453 * libraries/javalib/gnu/regexp/RE.java,
3454 libraries/javalib/java/io/ObjectInputStream.java,
3455 libraries/javalib/java/security/AllPermission.java,
3456 libraries/javalib/java/security/BasicPermission.java,
3457 libraries/javalib/java/security/Permissions.java,
3458 libraries/javalib/java/text/MessageFormat.java:
3459 Made 'inner' classes real public static inner classes,
3460 and made them final where possible, or removed them
3463 2005-02-20 Michael Koch <konqueror@gmx.de>
3465 * gnu/java/text/FormatCharacterIterator.java:
3466 Removed redundant modifiers.
3468 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3470 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3473 2005-02-19 Michael Koch <konqueror@gmx.de>
3475 * Makefile.am: Added new files in gnu/java/beans and
3476 java/beans/XMLDecoder.java.
3477 * Makefile.in: Regenerated.
3479 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3481 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3482 assignment behavior by using java.lang.reflect.Array.set()
3485 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3487 * gnu/java/beans/EmptyBeanInfo.java,
3488 gnu/java/beans/info/ComponentBeanInfo.java:
3489 Removed unused files.
3491 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3493 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3494 of AppletStub for java.beans.Beans.instantiate.
3495 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3497 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3498 to be conformant with Javadoc guidelines.
3499 (instantiate): Added two more overloaded variants, reworked user
3500 documentation, fixed exception behavior, fixed behavior when
3503 2005-02-19 Mark Wielaard <mark@klomp.org>
3505 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3507 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3509 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3511 * gnu/java/beans/decoder/AbstractContext.java,
3512 gnu/java/beans/decoder/AbstractCreatableContext.java,
3513 gnu/java/beans/decoder/AbstractElementHandler.java,
3514 gnu/java/beans/decoder/AbstractObjectContext.java,
3515 gnu/java/beans/decoder/ArrayContext.java,
3516 gnu/java/beans/decoder/ArrayHandler.java,
3517 gnu/java/beans/decoder/AssemblyException.java,
3518 gnu/java/beans/decoder/BooleanHandler.java,
3519 gnu/java/beans/decoder/ByteHandler.java,
3520 gnu/java/beans/decoder/CharHandler.java,
3521 gnu/java/beans/decoder/ClassHandler.java,
3522 gnu/java/beans/decoder/ConstructorContext.java,
3523 gnu/java/beans/decoder/Context.java,
3524 gnu/java/beans/decoder/DecoderContext.java,
3525 gnu/java/beans/decoder/DefaultExceptionListener.java,
3526 gnu/java/beans/decoder/DoubleHandler.java,
3527 gnu/java/beans/decoder/DummyContext.java,
3528 gnu/java/beans/decoder/DummyHandler.java,
3529 gnu/java/beans/decoder/ElementHandler.java,
3530 gnu/java/beans/decoder/FloatHandler.java,
3531 gnu/java/beans/decoder/GrowableArrayContext.java,
3532 gnu/java/beans/decoder/IndexContext.java,
3533 gnu/java/beans/decoder/IntHandler.java,
3534 gnu/java/beans/decoder/JavaHandler.java,
3535 gnu/java/beans/decoder/LongHandler.java,
3536 gnu/java/beans/decoder/MethodContext.java,
3537 gnu/java/beans/decoder/MethodFinder.java,
3538 gnu/java/beans/decoder/NullHandler.java,
3539 gnu/java/beans/decoder/ObjectContext.java,
3540 gnu/java/beans/decoder/ObjectHandler.java,
3541 gnu/java/beans/decoder/PersistenceParser.java,
3542 gnu/java/beans/decoder/PropertyContext.java,
3543 gnu/java/beans/decoder/ShortHandler.java,
3544 gnu/java/beans/decoder/SimpleHandler.java,
3545 gnu/java/beans/decoder/StaticMethodContext.java,
3546 gnu/java/beans/decoder/StringHandler.java,
3547 gnu/java/beans/decoder/VoidHandler.java: New class
3548 implementing java.beans.XMLDecoder decoding functionality.
3549 * java/beans/XMLDecoder.java: New class.
3551 2005-02-19 Michael Koch <konqueror@gmx.de>
3553 * javax/swing/JTextField.java
3554 (notfiyAction): Added javadoc.
3556 2005-02-19 Sven de Marothy <sven@physto.se>
3558 * javax/swing/SpinnerDateModel.java: Implemented.
3560 2005-02-19 Michael Koch <konqueror@gmx.de>
3562 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3563 * Makefile.in: Regenerated.
3565 2005-02-19 Michael Koch <konqueror@gmx.de>
3567 * gnu/java/nio/SelectorImpl.java:
3568 Reworked import statements.
3569 (register): Removed unused code.
3570 * java/nio/channels/Channels.java: Reformatted.
3571 * java/nio/charset/Charset.java: Likewise.
3572 * java/rmi/server/RemoteObject.java
3573 (serialVersionUID): Made private.
3574 * java/rmi/server/UID.java
3575 (serialVersionUID): Likewise.
3577 2005-02-19 Michael Koch <konqueror@gmx.de>
3579 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3580 gnu/java/net/protocol/ftp/BlockInputStream.java,
3581 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3582 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3583 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3584 gnu/java/net/protocol/ftp/DTPInputStream.java,
3585 gnu/java/net/protocol/ftp/DTP.java,
3586 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3587 gnu/java/net/protocol/ftp/FTPConnection.java,
3588 gnu/java/net/protocol/ftp/FTPException.java,
3589 gnu/java/net/protocol/ftp/FTPResponse.java,
3590 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3591 gnu/java/net/protocol/ftp/Handler.java,
3592 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3593 gnu/java/net/protocol/ftp/StreamInputStream.java,
3594 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3595 gnu/java/net/CRLFInputStream.java,
3596 gnu/java/net/CRLFOutputStream.java,
3597 gnu/java/net/GetLocalHostAction.java,
3598 gnu/java/net/protocol/ftp/package.html: New files.
3599 * Makefile.am: Added new files.
3600 * Makefile.in: Regenerated.
3602 2005-02-18 Tom Tromey <tromey@redhat.com>
3604 * link.cc (make_vtable): Remove abstract method check.
3605 (append_partial_itable): Likewise.
3608 * verify.cc (type::equals): Fixed test.
3609 * testsuite/libjava.lang/PR20056.out: New file.
3610 * testsuite/libjava.lang/PR20056.java: New file.
3612 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3614 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3615 not the HashEntry. Reported by Jean-Marie White.
3617 2005-02-18 Tom Tromey <tromey@redhat.com>
3620 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3621 * link.cc (has_field_p): New function.
3622 * verify.cc (check_field_constant): Added 'putfield' argument.
3623 (verify_instructions_0): Updated.
3624 (type::equals): New method.
3626 2005-02-18 Anthony Green <green@redhat.com>
3628 * NEWS: Draft of libgcj NEWS for 4.0.
3630 2005-02-18 Anthony Green <green@redhat.com>
3632 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3633 architecture names to "i386" for compatibility reasons. Win32
3636 2005-02-18 Anthony Green <green@redhat.com>
3638 * gij.cc (version): Change year for '--version' to 2005.
3639 * gnu/gcj/convert/Convert.java: Ditto.
3640 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3641 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3643 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3644 recent copyright year in `--version' output.
3646 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3648 * java/nio/charset/Charset.java (forName): Throws
3649 IllegalArgumentException when argument is null
3650 and added documentation.
3652 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3654 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3655 Move the position of the source buffer forward.
3657 2005-02-17 Tom Tromey <tromey@redhat.com>
3659 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3660 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3661 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3662 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3663 Changed type of second argument. Rewrote.
3664 (make_vtable): Use it.
3665 (append_partial_itable): Updated.
3666 (layout_vtable_methods): Updated.
3668 2005-02-17 Michael Koch <konqueror@gmx.de>
3670 * gnu/java/net/PlainSocketImpl.java
3671 (shutdownInput): Added javadoc.
3672 (shutdownOutput): Likewise.
3674 2005-02-17 Michael Koch <konqueror@gmx.de>
3676 * javax/print/attribute/standard/Chromaticity.java,
3677 javax/print/attribute/standard/Destination.java,
3678 javax/print/attribute/standard/MediaPrintableArea.java,
3679 javax/print/attribute/standard/MediaSize.java: New files.
3680 * Makefile.am: Added new files.
3681 * Makefile.in: Regenerated.
3683 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3684 Michael Koch <konqueror@gmx.de>
3686 * gnu/java/net/protocol/http/Cookie.java,
3687 gnu/java/net/protocol/http/HTTPConnection.java,
3688 gnu/java/net/protocol/http/HTTPDateFormat.java,
3689 gnu/java/net/protocol/http/Request.java,
3690 gnu/java/nio/PipeImpl.java,
3691 gnu/java/rmi/dgc/DGCImpl.java,
3692 gnu/java/rmi/server/ConnectionRunnerPool.java,
3693 gnu/java/rmi/server/UnicastConnectionManager.java,
3694 gnu/java/security/der/DERWriter.java,
3695 gnu/java/security/pkcs/SignerInfo.java,
3696 gnu/java/security/provider/EncodedKeyFactory.java,
3697 gnu/java/security/provider/GnuDHPublicKey.java,
3698 gnu/java/security/provider/GnuDSAPrivateKey.java,
3699 gnu/java/security/provider/GnuDSAPublicKey.java,
3700 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3701 gnu/java/security/x509/X500DistinguishedName.java,
3702 gnu/java/security/x509/X509CRL.java,
3703 gnu/java/security/x509/X509CRLEntry.java,
3704 gnu/java/security/x509/X509Certificate.java,
3705 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3706 gnu/java/security/x509/ext/CertificatePolicies.java,
3707 gnu/java/security/x509/ext/PolicyConstraint.java,
3708 gnu/xml/dom/Consumer.java,
3709 gnu/xml/dom/DomCharacterData.java,
3710 gnu/xml/dom/DomDocument.java,
3711 gnu/xml/dom/DomDocumentBuilder.java,
3712 gnu/xml/dom/DomIterator.java,
3713 gnu/xml/dom/DomNode.java,
3714 gnu/xml/dom/DomXPathExpression.java,
3715 gnu/xml/dom/DomXPathResult.java,
3716 gnu/xml/dom/JAXPFactory.java,
3717 gnu/xml/pipeline/CallFilter.java,
3718 gnu/xml/pipeline/DomConsumer.java,
3719 gnu/xml/pipeline/LinkFilter.java,
3720 gnu/xml/pipeline/NSFilter.java,
3721 gnu/xml/pipeline/TeeConsumer.java,
3722 gnu/xml/pipeline/ValidationConsumer.java,
3723 gnu/xml/pipeline/WellFormednessFilter.java,
3724 gnu/xml/pipeline/XIncludeFilter.java,
3725 gnu/xml/pipeline/XsltFilter.java,
3726 gnu/xml/transform/ApplyImportsNode.java,
3727 gnu/xml/transform/Bindings.java,
3728 gnu/xml/transform/DocumentFunction.java,
3729 gnu/xml/transform/FormatNumberFunction.java,
3730 gnu/xml/transform/NodeNumberNode.java,
3731 gnu/xml/transform/NumberNode.java,
3732 gnu/xml/transform/Stylesheet.java,
3733 gnu/xml/transform/SystemPropertyFunction.java,
3734 gnu/xml/transform/Template.java,
3735 gnu/xml/transform/TemplatesImpl.java,
3736 gnu/xml/transform/TransformerImpl.java,
3737 gnu/xml/transform/ValueOfNode.java,
3738 gnu/xml/transform/XSLURIResolver.java,
3739 gnu/xml/util/DoParse.java,
3740 gnu/xml/util/Resolver.java,
3741 gnu/xml/xpath/Expr.java,
3742 gnu/xml/xpath/FunctionCall.java,
3743 gnu/xml/xpath/RelationalExpr.java,
3744 gnu/xml/xpath/Selector.java,
3745 gnu/xml/xpath/XPathParser.java:
3746 Reworked import statements, fixed modifier order and some little
3749 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3751 * java/nio/ByteBufferImpl.java (compact):
3752 Set position and limit even if no bytes were moved.
3754 2005-02-17 Michael Koch <konqueror@gmx.de>
3756 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3757 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3758 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3759 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3760 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3761 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3762 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3763 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3764 * java/nio/FloatBufferImpl.java (compact): Set position.
3765 * java/nio/CharBufferImpl.java (compact): Likewise.
3766 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3767 * java/nio/IntBufferImpl.java (compact): Likewise.
3768 * java/nio/LongBufferImpl.java (compact): Likewise.
3769 * java/nio/ShortBufferImpl.java (compact): Likewise.
3771 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3773 * java/nio/ByteBufferImpl.java,
3774 java/nio/CharBufferImpl.java,
3775 java/nio/DirectByteBufferImpl.java,
3776 java/nio/DoubleBufferImpl.java,
3777 java/nio/FloatBufferImpl.java,
3778 java/nio/IntBufferImpl.java,
3779 java/nio/LongBufferImpl.java,
3780 java/nio/MappedByteBufferImpl.java,
3781 java/nio/ShortBufferImpl.java
3782 (compact): Added explicit read-only check and invalidate mark.
3784 2005-02-17 Michael Koch <konqueror@gmx.de>
3786 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3787 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3788 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3789 gnu/java/awt/peer/gtk/GdkGraphics.java,
3790 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3791 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3792 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3793 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3794 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3795 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3796 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3797 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3798 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3799 gnu/java/awt/peer/gtk/GtkClipboard.java,
3800 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3801 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3802 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3803 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3804 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3805 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3806 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3807 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3808 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3809 gnu/java/awt/peer/gtk/GtkToolkit.java,
3810 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3811 java/applet/Applet.java,
3812 java/awt/AWTError.java,
3813 java/awt/AWTEvent.java,
3814 java/awt/AWTEventMulticaster.java,
3815 java/awt/AWTException.java,
3816 java/awt/AWTKeyStroke.java,
3817 java/awt/AWTPermission.java,
3818 java/awt/ActiveEvent.java,
3819 java/awt/Adjustable.java,
3820 java/awt/AlphaComposite.java,
3821 java/awt/AttributeValue.java,
3822 java/awt/BorderLayout.java,
3823 java/awt/BufferCapabilities.java,
3824 java/awt/Button.java,
3825 java/awt/Canvas.java,
3826 java/awt/CheckboxGroup.java,
3827 java/awt/CheckboxMenuItem.java,
3828 java/awt/Color.java,
3829 java/awt/ColorPaintContext.java,
3830 java/awt/Component.java,
3831 java/awt/ComponentOrientation.java,
3832 java/awt/Composite.java,
3833 java/awt/CompositeContext.java,
3834 java/awt/Container.java,
3835 java/awt/ContainerOrderFocusTraversalPolicy.java,
3836 java/awt/DefaultFocusTraversalPolicy.java,
3837 java/awt/Dialog.java,
3838 java/awt/Dimension.java,
3839 java/awt/DisplayMode.java,
3840 java/awt/EventQueue.java,
3841 java/awt/FileDialog.java,
3842 java/awt/FontFormatException.java,
3843 java/awt/Graphics.java,
3844 java/awt/Graphics2D.java,
3845 java/awt/GraphicsConfigTemplate.java,
3846 java/awt/GraphicsConfiguration.java,
3847 java/awt/GraphicsDevice.java,
3848 java/awt/GridBagLayout.java,
3849 java/awt/GridBagLayoutInfo.java,
3850 java/awt/GridLayout.java,
3851 java/awt/HeadlessException.java,
3852 java/awt/IllegalComponentStateException.java,
3853 java/awt/Image.java,
3854 java/awt/Insets.java,
3855 java/awt/ItemSelectable.java,
3856 java/awt/JobAttributes.java,
3857 java/awt/KeyEventDispatcher.java,
3858 java/awt/KeyEventPostProcessor.java,
3859 java/awt/KeyboardFocusManager.java,
3860 java/awt/Label.java,
3861 java/awt/LayoutManager.java,
3862 java/awt/MenuBar.java,
3863 java/awt/MenuComponent.java,
3864 java/awt/MenuContainer.java,
3865 java/awt/PageAttributes.java,
3866 java/awt/Paint.java,
3867 java/awt/PaintContext.java,
3868 java/awt/Panel.java,
3869 java/awt/Point.java,
3870 java/awt/Polygon.java,
3871 java/awt/PrintGraphics.java,
3872 java/awt/PrintJob.java,
3873 java/awt/Rectangle.java,
3874 java/awt/RenderingHints.java,
3875 java/awt/Shape.java,
3876 java/awt/Stroke.java,
3877 java/awt/SystemColor.java,
3878 java/awt/Toolkit.java,
3879 java/awt/Transparency.java,
3880 java/awt/Window.java,
3881 java/awt/color/CMMException.java,
3882 java/awt/color/ColorSpace.java,
3883 java/awt/color/ICC_ColorSpace.java,
3884 java/awt/color/ICC_Profile.java,
3885 java/awt/color/ProfileDataException.java,
3886 java/awt/datatransfer/FlavorTable.java,
3887 java/awt/datatransfer/MimeTypeParseException.java,
3888 java/awt/datatransfer/Transferable.java,
3889 java/awt/datatransfer/UnsupportedFlavorException.java,
3890 java/awt/dnd/Autoscroll.java,
3891 java/awt/dnd/DnDConstants.java,
3892 java/awt/dnd/DragGestureListener.java,
3893 java/awt/dnd/DragSourceAdapter.java,
3894 java/awt/dnd/DragSourceDropEvent.java,
3895 java/awt/dnd/DragSourceListener.java,
3896 java/awt/dnd/DragSourceMotionListener.java,
3897 java/awt/dnd/DropTargetAdapter.java,
3898 java/awt/dnd/DropTargetContext.java,
3899 java/awt/dnd/DropTargetListener.java,
3900 java/awt/dnd/InvalidDnDOperationException.java,
3901 java/awt/dnd/MouseDragGestureRecognizer.java,
3902 java/awt/dnd/peer/DropTargetContextPeer.java,
3903 java/awt/event/AWTEventListener.java,
3904 java/awt/event/AWTEventListenerProxy.java,
3905 java/awt/event/ActionEvent.java,
3906 java/awt/event/AdjustmentEvent.java,
3907 java/awt/event/AdjustmentListener.java,
3908 java/awt/event/ComponentAdapter.java,
3909 java/awt/event/ComponentEvent.java,
3910 java/awt/event/ComponentListener.java,
3911 java/awt/event/ContainerAdapter.java,
3912 java/awt/event/ContainerEvent.java,
3913 java/awt/event/ContainerListener.java,
3914 java/awt/event/FocusAdapter.java,
3915 java/awt/event/FocusEvent.java,
3916 java/awt/event/FocusListener.java,
3917 java/awt/event/InputEvent.java,
3918 java/awt/event/InputMethodEvent.java,
3919 java/awt/event/InputMethodListener.java,
3920 java/awt/event/InvocationEvent.java,
3921 java/awt/event/ItemEvent.java,
3922 java/awt/event/ItemListener.java,
3923 java/awt/event/KeyAdapter.java,
3924 java/awt/event/KeyEvent.java,
3925 java/awt/event/KeyListener.java,
3926 java/awt/event/MouseAdapter.java,
3927 java/awt/event/MouseEvent.java,
3928 java/awt/event/MouseListener.java,
3929 java/awt/event/MouseMotionAdapter.java,
3930 java/awt/event/MouseMotionListener.java,
3931 java/awt/event/MouseWheelEvent.java,
3932 java/awt/event/MouseWheelListener.java,
3933 java/awt/event/PaintEvent.java,
3934 java/awt/event/TextEvent.java,
3935 java/awt/event/TextListener.java,
3936 java/awt/event/WindowAdapter.java,
3937 java/awt/event/WindowEvent.java,
3938 java/awt/event/WindowFocusListener.java,
3939 java/awt/event/WindowListener.java,
3940 java/awt/event/WindowStateListener.java,
3941 java/awt/font/TextHitInfo.java,
3942 java/awt/geom/CubicCurve2D.java,
3943 java/awt/geom/Dimension2D.java,
3944 java/awt/geom/Ellipse2D.java,
3945 java/awt/geom/IllegalPathStateException.java,
3946 java/awt/geom/Line2D.java,
3947 java/awt/geom/NoninvertibleTransformException.java,
3948 java/awt/geom/PathIterator.java,
3949 java/awt/geom/Point2D.java,
3950 java/awt/geom/QuadCurve2D.java,
3951 java/awt/geom/RectangularShape.java,
3952 java/awt/geom/RoundRectangle2D.java,
3953 java/awt/im/InputContext.java,
3954 java/awt/im/InputMethodHighlight.java,
3955 java/awt/im/InputMethodRequests.java,
3956 java/awt/im/InputSubset.java,
3957 java/awt/im/spi/InputMethod.java,
3958 java/awt/im/spi/InputMethodDescriptor.java,
3959 java/awt/image/BandCombineOp.java,
3960 java/awt/image/BandedSampleModel.java,
3961 java/awt/image/ByteLookupTable.java,
3962 java/awt/image/ComponentSampleModel.java,
3963 java/awt/image/DataBuffer.java,
3964 java/awt/image/DataBufferByte.java,
3965 java/awt/image/DataBufferDouble.java,
3966 java/awt/image/DataBufferFloat.java,
3967 java/awt/image/DataBufferInt.java,
3968 java/awt/image/DataBufferShort.java,
3969 java/awt/image/DataBufferUShort.java,
3970 java/awt/image/ImagingOpException.java,
3971 java/awt/image/Kernel.java,
3972 java/awt/image/LookupTable.java,
3973 java/awt/image/MultiPixelPackedSampleModel.java,
3974 java/awt/image/PackedColorModel.java,
3975 java/awt/image/PixelInterleavedSampleModel.java,
3976 java/awt/image/RGBImageFilter.java,
3977 java/awt/image/Raster.java,
3978 java/awt/image/RasterFormatException.java,
3979 java/awt/image/SampleModel.java,
3980 java/awt/image/ShortLookupTable.java,
3981 java/awt/image/SinglePixelPackedSampleModel.java,
3982 java/awt/image/WritableRaster.java,
3983 java/awt/print/PrinterAbortException.java,
3984 java/awt/print/PrinterException.java,
3985 java/awt/print/PrinterIOException.java,
3986 java/beans/AppletInitializer.java,
3987 java/beans/ExceptionListener.java,
3988 java/beans/PropertyChangeEvent.java,
3989 java/beans/PropertyChangeListenerProxy.java,
3990 java/beans/PropertyChangeSupport.java,
3991 java/beans/PropertyDescriptor.java,
3992 java/beans/VetoableChangeListenerProxy.java,
3993 java/beans/VetoableChangeSupport.java,
3994 java/io/BufferedReader.java,
3995 java/io/ByteArrayInputStream.java,
3996 java/io/ByteArrayOutputStream.java,
3997 java/io/CharArrayReader.java,
3998 java/io/CharArrayWriter.java,
3999 java/io/CharConversionException.java,
4000 java/io/DataInput.java,
4001 java/io/DataInputStream.java,
4002 java/io/DataOutput.java,
4003 java/io/DataOutputStream.java,
4004 java/io/EOFException.java,
4005 java/io/FileInputStream.java,
4006 java/io/FileNotFoundException.java,
4007 java/io/FileOutputStream.java,
4008 java/io/FilenameFilter.java,
4009 java/io/FilterInputStream.java,
4010 java/io/FilterOutputStream.java,
4011 java/io/FilterReader.java,
4012 java/io/FilterWriter.java,
4013 java/io/IOException.java,
4014 java/io/InputStream.java,
4015 java/io/InterruptedIOException.java,
4016 java/io/LineNumberInputStream.java,
4017 java/io/LineNumberReader.java,
4018 java/io/ObjectInputStream.java,
4019 java/io/ObjectStreamException.java,
4020 java/io/OptionalDataException.java,
4021 java/io/OutputStream.java,
4022 java/io/OutputStreamWriter.java,
4023 java/io/PrintStream.java,
4024 java/io/PrintWriter.java,
4025 java/io/PushbackInputStream.java,
4026 java/io/PushbackReader.java,
4027 java/io/RandomAccessFile.java,
4028 java/io/Reader.java,
4029 java/io/SequenceInputStream.java,
4030 java/io/Serializable.java,
4031 java/io/StreamCorruptedException.java,
4032 java/io/StreamTokenizer.java,
4033 java/io/StringBufferInputStream.java,
4034 java/io/StringWriter.java,
4035 java/io/SyncFailedException.java,
4036 java/io/UTFDataFormatException.java,
4037 java/io/UnsupportedEncodingException.java,
4038 java/io/WriteAbortedException.java,
4039 java/io/Writer.java,
4040 java/lang/AbstractMethodError.java,
4041 java/lang/ArithmeticException.java,
4042 java/lang/ArrayIndexOutOfBoundsException.java,
4043 java/lang/ArrayStoreException.java,
4044 java/lang/AssertionError.java,
4045 java/lang/Boolean.java,
4046 java/lang/Byte.java,
4047 java/lang/Class.java,
4048 java/lang/ClassCastException.java,
4049 java/lang/ClassCircularityError.java,
4050 java/lang/ClassLoader.java,
4051 java/lang/ClassNotFoundException.java,
4052 java/lang/CloneNotSupportedException.java,
4053 java/lang/Cloneable.java,
4054 java/lang/Comparable.java,
4055 java/lang/Compiler.java,
4056 java/lang/Double.java,
4057 java/lang/Error.java,
4058 java/lang/Exception.java,
4059 java/lang/ExceptionInInitializerError.java,
4060 java/lang/Float.java,
4061 java/lang/IllegalAccessError.java,
4062 java/lang/IllegalAccessException.java,
4063 java/lang/IllegalArgumentException.java,
4064 java/lang/IllegalMonitorStateException.java,
4065 java/lang/IllegalStateException.java,
4066 java/lang/IllegalThreadStateException.java,
4067 java/lang/IncompatibleClassChangeError.java,
4068 java/lang/IndexOutOfBoundsException.java,
4069 java/lang/InheritableThreadLocal.java,
4070 java/lang/InstantiationError.java,
4071 java/lang/InstantiationException.java,
4072 java/lang/Integer.java,
4073 java/lang/InternalError.java,
4074 java/lang/InterruptedException.java,
4075 java/lang/LinkageError.java,
4076 java/lang/Long.java,
4077 java/lang/NegativeArraySizeException.java,
4078 java/lang/NoClassDefFoundError.java,
4079 java/lang/NoSuchFieldError.java,
4080 java/lang/NoSuchFieldException.java,
4081 java/lang/NoSuchMethodError.java,
4082 java/lang/NoSuchMethodException.java,
4083 java/lang/NullPointerException.java,
4084 java/lang/Number.java,
4085 java/lang/NumberFormatException.java,
4086 java/lang/OutOfMemoryError.java,
4087 java/lang/Process.java,
4088 java/lang/Runnable.java,
4089 java/lang/Runtime.java,
4090 java/lang/RuntimeException.java,
4091 java/lang/RuntimePermission.java,
4092 java/lang/SecurityException.java,
4093 java/lang/SecurityManager.java,
4094 java/lang/Short.java,
4095 java/lang/StackOverflowError.java,
4096 java/lang/StackTraceElement.java,
4097 java/lang/StringBuffer.java,
4098 java/lang/StringIndexOutOfBoundsException.java,
4099 java/lang/ThreadDeath.java,
4100 java/lang/ThreadGroup.java,
4101 java/lang/Throwable.java,
4102 java/lang/UnsatisfiedLinkError.java,
4103 java/lang/UnsupportedOperationException.java,
4104 java/lang/VerifyError.java,
4105 java/lang/VirtualMachineError.java,
4106 java/lang/reflect/AccessibleObject.java,
4107 java/lang/reflect/Array.java,
4108 java/lang/reflect/InvocationTargetException.java,
4109 java/lang/reflect/Member.java,
4110 java/lang/reflect/Modifier.java,
4111 java/lang/reflect/Proxy.java,
4112 java/lang/reflect/ReflectPermission.java,
4113 java/lang/reflect/UndeclaredThrowableException.java,
4114 java/math/BigInteger.java,
4115 java/net/NetworkInterface.java,
4116 java/nio/ByteBufferHelper.java,
4117 java/nio/ByteBufferImpl.java,
4118 java/nio/DirectByteBufferImpl.java,
4119 java/nio/DoubleBufferImpl.java,
4120 java/nio/FloatBufferImpl.java,
4121 java/nio/IntBufferImpl.java,
4122 java/nio/LongBufferImpl.java,
4123 java/nio/ShortBufferImpl.java,
4124 java/nio/channels/Channel.java,
4125 java/nio/channels/IllegalBlockingModeException.java,
4126 java/nio/charset/spi/CharsetProvider.java,
4127 java/security/AccessControlException.java,
4128 java/security/BasicPermission.java,
4129 java/security/DigestException.java,
4130 java/security/DigestInputStream.java,
4131 java/security/DigestOutputStream.java,
4132 java/security/GeneralSecurityException.java,
4133 java/security/Guard.java,
4134 java/security/GuardedObject.java,
4135 java/security/InvalidAlgorithmParameterException.java,
4136 java/security/InvalidKeyException.java,
4137 java/security/InvalidParameterException.java,
4138 java/security/Key.java,
4139 java/security/KeyException.java,
4140 java/security/KeyManagementException.java,
4141 java/security/KeyStoreException.java,
4142 java/security/MessageDigestSpi.java,
4143 java/security/NoSuchAlgorithmException.java,
4144 java/security/NoSuchProviderException.java,
4145 java/security/Permission.java,
4146 java/security/PermissionCollection.java,
4147 java/security/Permissions.java,
4148 java/security/Principal.java,
4149 java/security/PrivateKey.java,
4150 java/security/PrivilegedActionException.java,
4151 java/security/ProviderException.java,
4152 java/security/PublicKey.java,
4153 java/security/SecureRandom.java,
4154 java/security/SecureRandomSpi.java,
4155 java/security/SignatureException.java,
4156 java/security/SignatureSpi.java,
4157 java/security/SignedObject.java,
4158 java/security/Signer.java,
4159 java/security/UnrecoverableKeyException.java,
4160 java/security/UnresolvedPermission.java,
4161 java/security/acl/AclNotFoundException.java,
4162 java/security/acl/LastOwnerException.java,
4163 java/security/acl/NotOwnerException.java,
4164 java/security/cert/CertPath.java,
4165 java/security/cert/CertPathBuilderException.java,
4166 java/security/cert/CertPathValidatorException.java,
4167 java/security/cert/CertStoreException.java,
4168 java/text/BreakIterator.java,
4169 java/text/ChoiceFormat.java,
4170 java/text/CollationElementIterator.java,
4171 java/text/CollationKey.java,
4172 java/text/Collator.java,
4173 java/text/DateFormat.java,
4174 java/text/DateFormatSymbols.java,
4175 java/text/DecimalFormat.java,
4176 java/text/DecimalFormatSymbols.java,
4177 java/text/FieldPosition.java,
4178 java/text/Format.java,
4179 java/text/NumberFormat.java,
4180 java/text/ParseException.java,
4181 java/text/ParsePosition.java,
4182 java/text/StringCharacterIterator.java,
4183 java/util/AbstractCollection.java,
4184 java/util/AbstractList.java,
4185 java/util/AbstractMap.java,
4186 java/util/AbstractSequentialList.java,
4187 java/util/AbstractSet.java,
4188 java/util/ArrayList.java,
4189 java/util/Arrays.java,
4190 java/util/BitSet.java,
4191 java/util/Collection.java,
4192 java/util/Collections.java,
4193 java/util/Comparator.java,
4194 java/util/ConcurrentModificationException.java,
4195 java/util/Currency.java,
4196 java/util/Date.java,
4197 java/util/EmptyStackException.java,
4198 java/util/Enumeration.java,
4199 java/util/EventListener.java,
4200 java/util/EventListenerProxy.java,
4201 java/util/EventObject.java,
4202 java/util/HashMap.java,
4203 java/util/HashSet.java,
4204 java/util/Hashtable.java,
4205 java/util/IdentityHashMap.java,
4206 java/util/Iterator.java,
4207 java/util/LinkedHashSet.java,
4208 java/util/LinkedList.java,
4209 java/util/List.java,
4210 java/util/ListIterator.java,
4211 java/util/ListResourceBundle.java,
4213 java/util/MissingResourceException.java,
4214 java/util/NoSuchElementException.java,
4215 java/util/Observable.java,
4216 java/util/Observer.java,
4217 java/util/Properties.java,
4218 java/util/PropertyPermissionCollection.java,
4219 java/util/RandomAccess.java,
4221 java/util/SortedMap.java,
4222 java/util/SortedSet.java,
4223 java/util/Stack.java,
4224 java/util/StringTokenizer.java,
4225 java/util/TooManyListenersException.java,
4226 java/util/TreeMap.java,
4227 java/util/TreeSet.java,
4228 java/util/Vector.java,
4229 java/util/logging/FileHandler.java,
4230 java/util/logging/Level.java,
4231 java/util/prefs/BackingStoreException.java,
4232 java/util/prefs/InvalidPreferencesFormatException.java,
4233 java/util/prefs/Preferences.java,
4234 javax/accessibility/Accessible.java,
4235 javax/accessibility/AccessibleAction.java,
4236 javax/accessibility/AccessibleBundle.java,
4237 javax/accessibility/AccessibleComponent.java,
4238 javax/accessibility/AccessibleContext.java,
4239 javax/accessibility/AccessibleEditableText.java,
4240 javax/accessibility/AccessibleExtendedComponent.java,
4241 javax/accessibility/AccessibleExtendedTable.java,
4242 javax/accessibility/AccessibleHyperlink.java,
4243 javax/accessibility/AccessibleHypertext.java,
4244 javax/accessibility/AccessibleIcon.java,
4245 javax/accessibility/AccessibleKeyBinding.java,
4246 javax/accessibility/AccessibleRelation.java,
4247 javax/accessibility/AccessibleRelationSet.java,
4248 javax/accessibility/AccessibleResourceBundle.java,
4249 javax/accessibility/AccessibleRole.java,
4250 javax/accessibility/AccessibleSelection.java,
4251 javax/accessibility/AccessibleState.java,
4252 javax/accessibility/AccessibleStateSet.java,
4253 javax/accessibility/AccessibleTable.java,
4254 javax/accessibility/AccessibleTableModelChange.java,
4255 javax/accessibility/AccessibleText.java,
4256 javax/accessibility/AccessibleValue.java,
4257 javax/imageio/IIOException.java,
4258 javax/imageio/ImageIO.java,
4259 javax/imageio/spi/IIOServiceProvider.java,
4260 javax/imageio/spi/ImageInputStreamSpi.java,
4261 javax/imageio/spi/ImageOutputStreamSpi.java,
4262 javax/imageio/spi/ImageReaderWriterSpi.java,
4263 javax/imageio/spi/ImageTranscoderSpi.java,
4264 javax/imageio/spi/RegisterableService.java,
4265 javax/imageio/spi/ServiceRegistry.java,
4266 javax/imageio/stream/IIOByteBuffer.java,
4267 javax/imageio/stream/ImageInputStream.java,
4268 javax/imageio/stream/ImageOutputStream.java,
4269 javax/naming/Binding.java,
4270 javax/naming/CannotProceedException.java,
4271 javax/naming/CompositeName.java,
4272 javax/naming/CompoundName.java,
4273 javax/naming/LinkException.java,
4274 javax/naming/LinkRef.java,
4275 javax/naming/NameClassPair.java,
4276 javax/naming/Reference.java,
4277 javax/naming/ReferralException.java,
4278 javax/naming/directory/Attribute.java,
4279 javax/naming/directory/AttributeModificationException.java,
4280 javax/naming/directory/Attributes.java,
4281 javax/naming/directory/DirContext.java,
4282 javax/naming/directory/ModificationItem.java,
4283 javax/naming/directory/SearchControls.java,
4284 javax/naming/directory/SearchResult.java,
4285 javax/naming/event/EventContext.java,
4286 javax/naming/event/EventDirContext.java,
4287 javax/naming/event/NamespaceChangeListener.java,
4288 javax/naming/event/NamingExceptionEvent.java,
4289 javax/naming/event/NamingListener.java,
4290 javax/naming/event/ObjectChangeListener.java,
4291 javax/naming/ldap/Control.java,
4292 javax/naming/ldap/ExtendedResponse.java,
4293 javax/naming/ldap/HasControls.java,
4294 javax/naming/ldap/LdapContext.java,
4295 javax/naming/ldap/UnsolicitedNotification.java,
4296 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4297 javax/naming/ldap/UnsolicitedNotificationListener.java,
4298 javax/naming/spi/DirectoryManager.java,
4299 javax/naming/spi/ResolveResult.java,
4300 javax/naming/spi/Resolver.java,
4301 javax/security/auth/callback/Callback.java,
4302 javax/security/auth/callback/CallbackHandler.java,
4303 javax/security/auth/callback/ChoiceCallback.java,
4304 javax/security/auth/callback/ConfirmationCallback.java,
4305 javax/security/auth/callback/LanguageCallback.java,
4306 javax/security/auth/callback/NameCallback.java,
4307 javax/security/auth/callback/PasswordCallback.java,
4308 javax/security/auth/callback/TextInputCallback.java,
4309 javax/security/auth/callback/TextOutputCallback.java,
4310 javax/security/auth/callback/UnsupportedCallbackException.java,
4311 javax/security/sasl/Sasl.java,
4312 javax/security/sasl/SaslServerFactory.java,
4313 javax/swing/DefaultBoundedRangeModel.java,
4314 javax/swing/JComponent.java,
4315 javax/swing/JList.java,
4316 javax/swing/JProgressBar.java,
4317 javax/swing/JRadioButton.java,
4318 javax/swing/JTextArea.java,
4319 javax/swing/JTextField.java,
4320 javax/swing/JToggleButton.java,
4321 javax/swing/JTree.java,
4322 javax/swing/SpinnerListModel.java,
4323 javax/swing/event/EventListenerList.java,
4324 javax/swing/text/JTextComponent.java,
4325 javax/swing/text/StringContent.java,
4326 javax/swing/text/Utilities.java,
4327 javax/swing/undo/UndoManager.java,
4328 javax/swing/undo/UndoableEditSupport.java,
4329 javax/transaction/HeuristicCommitException.java,
4330 javax/transaction/HeuristicMixedException.java,
4331 javax/transaction/HeuristicRollbackException.java,
4332 javax/transaction/InvalidTransactionException.java,
4333 javax/transaction/NotSupportedException.java,
4334 javax/transaction/RollbackException.java,
4335 javax/transaction/Status.java,
4336 javax/transaction/Synchronization.java,
4337 javax/transaction/SystemException.java,
4338 javax/transaction/Transaction.java,
4339 javax/transaction/TransactionManager.java,
4340 javax/transaction/TransactionRequiredException.java,
4341 javax/transaction/TransactionRolledbackException.java,
4342 javax/transaction/UserTransaction.java,
4343 javax/transaction/xa/XAException.java,
4344 javax/transaction/xa/XAResource.java,
4345 javax/transaction/xa/Xid.java,
4346 javax/xml/XMLConstants.java,
4347 javax/xml/datatype/DatatypeConfigurationException.java,
4348 javax/xml/datatype/DatatypeConstants.java,
4349 javax/xml/datatype/DatatypeFactory.java,
4350 javax/xml/datatype/Duration.java,
4351 javax/xml/datatype/XMLGregorianCalendar.java,
4352 javax/xml/namespace/NamespaceContext.java,
4353 javax/xml/namespace/QName.java,
4354 javax/xml/parsers/DocumentBuilder.java,
4355 javax/xml/parsers/DocumentBuilderFactory.java,
4356 javax/xml/parsers/FactoryConfigurationError.java,
4357 javax/xml/parsers/ParserConfigurationException.java,
4358 javax/xml/parsers/SAXParser.java,
4359 javax/xml/parsers/SAXParserFactory.java,
4360 javax/xml/transform/ErrorListener.java,
4361 javax/xml/transform/OutputKeys.java,
4362 javax/xml/transform/Result.java,
4363 javax/xml/transform/Source.java,
4364 javax/xml/transform/SourceLocator.java,
4365 javax/xml/transform/Templates.java,
4366 javax/xml/transform/Transformer.java,
4367 javax/xml/transform/TransformerConfigurationException.java,
4368 javax/xml/transform/TransformerException.java,
4369 javax/xml/transform/TransformerFactory.java,
4370 javax/xml/transform/TransformerFactoryConfigurationError.java,
4371 javax/xml/transform/URIResolver.java,
4372 javax/xml/transform/dom/DOMLocator.java,
4373 javax/xml/transform/dom/DOMResult.java,
4374 javax/xml/transform/dom/DOMSource.java,
4375 javax/xml/transform/sax/SAXResult.java,
4376 javax/xml/transform/sax/SAXSource.java,
4377 javax/xml/transform/sax/SAXTransformerFactory.java,
4378 javax/xml/transform/sax/TemplatesHandler.java,
4379 javax/xml/transform/sax/TransformerHandler.java,
4380 javax/xml/transform/stream/StreamResult.java,
4381 javax/xml/transform/stream/StreamSource.java,
4382 javax/xml/validation/Schema.java,
4383 javax/xml/validation/SchemaFactory.java,
4384 javax/xml/validation/TypeInfoProvider.java,
4385 javax/xml/validation/Validator.java,
4386 javax/xml/validation/ValidatorHandler.java,
4387 javax/xml/xpath/XPathConstants.java,
4388 javax/xml/xpath/XPathException.java,
4389 javax/xml/xpath/XPathExpression.java,
4390 javax/xml/xpath/XPathExpressionException.java,
4391 javax/xml/xpath/XPathFactory.java,
4392 javax/xml/xpath/XPathFactoryConfigurationException.java,
4393 javax/xml/xpath/XPathFunction.java,
4394 javax/xml/xpath/XPathFunctionException.java,
4395 javax/xml/xpath/XPathFunctionResolver.java:
4396 Fixed usage of @author tag, reworked import statements,
4397 removed CVS tags, changed the modifier order and fixed
4398 HTML usage in javadocs.
4400 2005-02-16 Julian Scheid <julian@sektor37.de>
4402 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4404 (encodeLoop): Likewise.
4406 2005-02-16 Mark Wielaard <mark@klomp.org>
4408 * Makefile.am (ordinary_java_source_files): Add new files
4409 gnu/java/security/ber/BER.java,
4410 gnu/java/security/ber/BEREncodingException.java,
4411 gnu/java/security/ber/BERReader.java,
4412 gnu/java/security/ber/BERValue.java,
4413 gnu/java/security/pkcs/PKCS7SignedData.java and
4414 gnu/java/security/pkcs/SignerInfo.java.
4415 * Makefile.in: Regenerated.
4417 2005-02-16 Casey Marshall <csm@gnu.org>
4419 * gnu/java/security/provider/GnuDSAPrivateKey.java
4420 (encodedKey): new field.
4421 (getFormat): return "PKCS#8".
4422 (getEncoded): implemented.
4423 (toString): check for 'null' values.
4424 * gnu/java/security/provider/GnuDSAPublicKey.java
4425 (encodedKey): new field.
4426 (getFormat): return "X.509".
4427 (getEncoded): implemented.
4428 (toString): check for 'null' values.
4430 2005-02-16 Michael Koch <konqueror@gmx.de>
4432 * java/util/jar/JarFile.java: Imports reworked.
4434 2005-02-16 Mark Wielaard <mark@klomp.org>
4436 * java/util/jar/JarFile.java (verify): Make package private.
4437 (signaturesRead): Likewise.
4438 (verified): Likewise.
4439 (entryCerts): Likewise.
4442 (entries): Construct new JarEnumeration with reference to this.
4443 (JarEnumeration): Make static.
4444 (JarEnumeration.jarfile): New field.
4445 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4446 Compare verified value to Boolean.TRUE or Boolean.False only
4447 when verify is true.
4448 (getEntry): Make synchronized. Compare value of verified to
4450 (getInputStream): Construct EntryInputStream with reference to this.
4451 (getManifest): Make synchronized.
4452 (EntryInputStream): Make static.
4453 (EntryInputStream.jarfile): New field.
4454 (EntryInputStream.EntryInputStream): Check if manifest exists,
4455 before getting attributes.
4456 (eof): Synchronize on jarfile.
4458 2005-02-16 Casey Marshall <csm@gnu.org>
4460 * java/util/jar/JarFile.java (verify): return if the jar is signed
4461 with an unsupported algorithm.
4463 2005-02-16 Mark Wielaard <mark@klomp.org>
4465 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4466 InputStream as argument.
4467 (getInputStream): Construct a new EntryInputStream with the result of
4468 super.getInputStream(entry).
4470 2005-02-16 Casey Marshall <csm@gnu.org>
4472 Signed JAR file support.
4473 * java/net/URLClassLoader.java
4474 (JarURLResource.getCertificates): re-read jar entry to ensure
4475 certificates are picked up.
4476 (findClass): fill in class `signers' field, too.
4477 * java/util/jar/JarFile.java (META_INF): new constant.
4478 (PKCS7_DSA_SUFFIX): new constant.
4479 (PKCS7_RSA_SUFFIX): new constant.
4480 (DIGEST_KEY_SUFFIX): new constant.
4481 (SF_SUFFIX): new constant.
4482 (MD2_OID): new constant.
4483 (MD4_OID): new constant.
4484 (MD5_OID): new constant.
4485 (SHA1_OID): new constant.
4486 (DSA_ENCRYPTION_OID): new constant.
4487 (RSA_ENCRYPTION_OID): new constant.
4488 (signaturesRead): new field.
4489 (verified): new field.
4490 (entryCerts): new field.
4491 (DEBUG): new constant.
4492 (debug): new method.
4493 (JarEnumeration.nextElement): fill in entry certificates, read
4494 signatures if they haven't been read.
4495 (getEntry): likewise.
4496 (getInputStream): verify stream if it hasn't been verified yet.
4497 (readSignatures): new method.
4498 (verify): new method.
4499 (verifyHashes): new method.
4500 (readManifestEntry): new method.
4501 (EntryInputStream): new class.
4502 * gnu/java/io/Base64InputStream.java (decode): new class
4504 * gnu/java/security/der/DERReader.java don't make class
4506 (in): made protected.
4508 (readLength): likewise.
4509 * gnu/java/security/ber/BER.java,
4510 * gnu/java/security/ber/BEREncodingException.java,
4511 * gnu/java/security/ber/BERReader.java,
4512 * gnu/java/security/ber/BERValue.java,
4513 * gnu/java/security/pkcs/PKCS7SignedData.java,
4514 * gnu/java/security/pkcs/SignerInfo.java:
4517 2005-02-16 Tom Tromey <tromey@redhat.com>
4519 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4520 copied file on exit.
4522 2005-02-15 Mark Wielaard <mark@klomp.org>
4524 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4526 2005-02-15 Michael Koch <konqueror@gmx.de>
4528 * gnu/java/awt/peer/gtk/GtkArg.java,
4529 gnu/java/awt/peer/gtk/GtkArgList.java:
4532 2005-02-15 Craig Black <craig.black@aonix.com>
4534 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4535 (postMenuActionEvent): Implement to notify ItemListeners.
4536 * java/awt/CheckboxMenuItem.java
4537 (dispatchEventImpl): Update state on ItemEvent.
4538 * java/awt/MenuItem.java
4539 (processActionEvent): Retarget event source.
4541 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4543 * gnu/java/awt/color/ClutProfileConverter.java,
4544 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4545 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4546 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4547 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4548 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4549 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4550 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4551 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4552 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4553 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4554 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4555 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4556 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4557 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4558 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4559 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4560 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4561 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4562 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4563 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4564 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4565 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4566 gnu/java/awt/peer/gtk/GtkToolkit.java,
4567 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4568 javax/swing/JPopupMenu.java,
4569 javax/swing/JSpinner.java,
4570 javax/swing/SortingFocusTraversalPolicy.java,
4571 javax/swing/SwingUtilities.java,
4572 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4573 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4574 javax/swing/tree/DefaultMutableTreeNode.java:
4575 Removed unused imports and expanded starred
4578 2005-02-15 Mark Wielaard <mark@klomp.org>
4580 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4581 IllegalArgumentException when the given String is null.
4583 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4584 when given keystoke sequence cannot be parsed.
4586 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4587 if one is installed. Only install the given menubar is not null.
4589 * javax/swing/JViewport.java (getViewSize): Return an empty
4590 Dimension when the view isn't set or preferred component size when
4593 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4594 empty Dimension when there is no view set.
4595 (minimumLayoutSize): Likewise.
4596 (layoutContainer): Don't try to layout when there is no view.
4598 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4601 * include/jawt.h: Likewise.
4602 * include/jawt_md.h: Likewise.
4603 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4605 * jni/classpath/classpath_jawt.h: Likewise.
4606 * jni/gtk-peer/gtk_jawt.c: Likewise.
4607 * Makefile.am: Build libjawt.so.
4609 2005-02-15 Michael Koch <konqueror@gmx.de>
4611 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4612 Merged file header with classpath CVS head.
4613 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4614 Merged code formatting with classpath CVS head.
4615 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4617 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4618 Handle special JNI strings with 2 '\0' at the end.
4619 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4620 Merged file header with classpath CVS head.
4621 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4622 Merged code formatting with classpath CVS head.
4624 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4627 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4628 (handle_response): Use GTK_RESPONSE_ACCEPT.
4630 2005-02-15 Graydon Hoare <graydon@redhat.com>
4632 * Makefile.am: Fix library build breakage.
4633 * Makefile.in: Regenerate.
4635 2005-02-15 Michael Koch <konqueror@gmx.de>
4637 * javax/swing/JTabbedPane.java
4638 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4640 2005-02-15 Michael Koch <konqueror@gmx.de>
4642 * javax/swing/tree/DefaultMutableTreeNode.java:
4643 Reworked Javadocs all over.
4644 (getPathToRoot): Fixed direction of result array initialization.
4646 2005-02-15 Michael Koch <konqueror@gmx.de>
4648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4649 Fix includes for cairo 0.3.0 snappshot.
4650 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4651 Merged file header from classpath CVS HEAD.
4653 2005-02-15 Craig Black <craig.black@aonix.com>
4655 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4656 (copyState): Pass a JNI global reference to signal handler.
4657 (realize_cb): Use and free JNI global reference.
4658 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4659 (create): Pass a JNI global reference to signal handler.
4660 (selection_changed): Match declaration.
4661 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4662 (dispose): Do not remove entries from state tables until after widget is
4665 2005-02-15 Michael Koch <konqueror@gmx.de>
4667 * java/awt/Container.javai (paramString):
4668 If layoutMgr is null just return result of super.paramString().
4669 * java/awt/Scrollbar.java: Reformatted.
4670 * java/awt/im/InputContext.java (static):
4671 Removed redundant initializations.
4673 2005-02-15 Michael Koch <konqueror@gmx.de>
4675 * javax/swing/ImageIcon.java,
4676 javax/swing/UIManager.java,
4677 javax/swing/text/EditorKit.java,
4678 javax/swing/text/Segment.java:
4679 More whitespace cleanups.
4681 2005-02-15 Michael Koch <konqueror@gmx.de>
4683 * gnu/java/awt/EmbeddedWindow.java,
4684 gnu/java/awt/image/ImageDecoder.java,
4685 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4686 java/awt/DefaultKeyboardFocusManager.java,
4687 java/awt/Frame.java,
4688 java/awt/image/RGBImageFilter.java,
4689 javax/swing/AbstractButton.java,
4690 javax/swing/ActionMap.java,
4691 javax/swing/ComponentInputMap.java,
4692 javax/swing/DefaultDesktopManager.java,
4693 javax/swing/ImageIcon.java,
4694 javax/swing/InputMap.java,
4695 javax/swing/JButton.java,
4696 javax/swing/JCheckBox.java,
4697 javax/swing/JCheckBoxMenuItem.java,
4698 javax/swing/JEditorPane.java,
4699 javax/swing/JMenu.java,
4700 javax/swing/JMenuItem.java,
4701 javax/swing/JOptionPane.java,
4702 javax/swing/JRootPane.java,
4703 javax/swing/JTable.java,
4704 javax/swing/MenuSelectionManager.java,
4705 javax/swing/RepaintManager.java,
4706 javax/swing/ScrollPaneLayout.java,
4707 javax/swing/SortingFocusTraversalPolicy.java,
4708 javax/swing/UIManager.java,
4709 javax/swing/ViewportLayout.java,
4710 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4711 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4712 javax/swing/plaf/basic/BasicLabelUI.java,
4713 javax/swing/plaf/basic/BasicListUI.java,
4714 javax/swing/plaf/basic/BasicMenuItemUI.java,
4715 javax/swing/plaf/basic/BasicMenuUI.java,
4716 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4717 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4718 javax/swing/plaf/basic/BasicRootPaneUI.java,
4719 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4720 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4721 javax/swing/plaf/basic/BasicTextUI.java,
4722 javax/swing/table/TableColumnModel.java,
4723 javax/swing/text/AbstractDocument.java,
4724 javax/swing/text/EditorKit.java,
4725 javax/swing/text/Position.java,
4726 javax/swing/text/Segment.java,
4727 javax/swing/text/StyledEditorKit.java,
4728 javax/swing/text/ViewFactory.java:
4729 Cleanup whitespace differences to classpath CVS HEAD.
4731 2005-02-15 Graydon Hoare <graydon@redhat.com>
4733 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4734 (finalize): Call finish from here.
4735 (produce): Not from here.
4736 * Makefile.am (gtk_c_source_files):
4737 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4738 * Makefile.in: Regenerate.
4739 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4741 (cairoDrawGdkTextLayout):
4743 (getPeerTextMetrics):
4744 (getPeerFontMetrics): Remove.
4745 (setFont): Don't call cairoSetFont.
4746 (cairoDrawGlyphVector): Accept font peer argument.
4747 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4748 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4749 (ensure_metrics_cairo):
4750 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4751 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4752 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4753 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4755 (metrics_surface): Remove.
4756 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4757 Pass and install font peer.
4759 2005-02-15 Graydon Hoare <graydon@redhat.com>
4761 * Makefile.am: Create "split library" structure.
4762 * Makefile.in: Regenerate.
4764 2005-02-15 Graydon Hoare <graydon@redhat.com>
4766 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4767 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4769 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4770 Release GDK lock during upcalls.
4772 2005-02-15 Graydon Hoare <graydon@redhat.com>
4774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4776 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4777 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4778 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4780 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4783 (getTextMetrics): New native methods.
4784 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4785 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4786 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4787 * Makefile.in: Regenerate.
4789 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4791 * javax/swing/SwingUtilities.java:
4792 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4793 Implemented and documented.
4794 (getAccessibleChild(java.awt.Component, int)): Likewise.
4795 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4796 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4797 (getAccessibleStateSet(java.awt.Component)): Likewise.
4799 2005-02-15 Michael Koch <konqueror@gmx.de>
4801 * javax/swing/SwingUtilities.java
4802 (getFontMetrics): Removed.
4804 2005-02-15 Michael Koch <konqueror@gmx.de>
4806 * java/awt/Container.java
4807 (paramString): Implemented.
4808 * javax/swing/AbstractButton.java
4809 (paramString): Implemented.
4810 * javax/swing/JComponent.java
4811 (paramString): Implemented.
4812 * javax/swing/JMenu.java
4813 (paramString): Implemented.
4814 * javax/swing/JMenuBar.java
4815 (paramString): Implemented.
4816 * javax/swing/JMenuItem.java
4817 (paramString): Implemented.
4818 * javax/swing/JPopupMenu.java
4819 (paramString): Implemented.
4821 2005-02-15 Michael Koch <konqueror@gmx.de>
4823 * javax/swing/JMenu.java
4824 (uiClassID): Removed.
4825 (JMenu): Set invoker on popup menu.
4826 (getUIClassID): Return id directly.
4827 (getItemCount): Simply return getMenuComponentCount().
4829 (isTopLevelMenu): Simplified.
4830 * javax/swing/JMenuItem.java
4831 (uiClassID): Removed.
4832 (getUIClassID): Return id directly.
4833 * javax/swing/JPopupMenu.java
4834 (uiClassID): Removed.
4835 (JPopupMenu): Always initialize correctly.
4836 (getSubElements): Only return components implementing MenuElement
4838 (HeavyWeightPopup.hide): Removed.
4840 2005-02-15 Michael Koch <konqueror@gmx.de>
4842 * java/awt/image/ReplicateScaleFilter.java
4843 (replicatePixels): Made private.
4844 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4845 (DefaultRGBChooserPanel): Made package private.
4846 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4847 (RecentSwatchPanel): Likewise.
4848 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4849 (MouseInputAdapter): Made abstract.
4850 * javax/swing/tree/DefaultMutableTreeNode.java
4852 (growTree): Likewise.
4854 2005-02-15 Michael Koch <konqueror@gmx.de>
4856 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4859 2005-02-15 Michael Koch <konqueror@gmx.de>
4861 * javax/swing/JComponent.java (getComponentGraphics):
4862 Removed accidently commited code.
4864 2005-02-15 Graydon Hoare <graydon@redhat.com>
4866 * java/awt/dnd/DropTarget.java
4867 (addDropTargetListener): Despite documentation, do not throw.
4868 * javax/swing/JComponent.java: Set a default DropTarget.
4870 2005-02-15 Michael Koch <konqueror@gmx.de>
4872 * javax/swing/AbstractAction.java
4873 (ENABLED_PROPERTY): Removed.
4874 (setEnabled): Replaced constant with real string.
4875 * javax/swing/AbstractButton.java
4876 (createActionPropertyChangeListener.propertyChange): Likewise.
4877 * javax/swing/JComboBox.java
4878 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4879 (EDITABLE_CHANGED_PROPERTY): Removed.
4880 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4881 (ENABLED_CHANGED_PROPERTY):Likewise.
4882 (RENDERER_CHANGED_PROPERTY):Likewise.
4883 (EDITOR_CHANGED_PROPERTY):Likewise.
4884 (MODEL_CHANGED_PROPERTY):Likewise.
4885 (uiClassID):Likewise.
4886 (getUIClassID): Replaced constant with real string.
4887 (setModel):Likewise.
4888 (setEditable):Likewise.
4889 (setMaximumRowCount):Likewise.
4890 (setRenderer):Likewise.
4891 (setEditor):Likewise.
4892 (setEnabled):Likewise.
4893 * javax/swing/JLabel.java
4894 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
4895 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
4896 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
4897 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4898 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4899 (ICON_CHANGED_PROPERTY): Likewise.
4900 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
4901 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
4902 (TEXT_CHANGED_PROPERTY): Likewise.
4903 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4904 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4905 (setText): Replaced constant with real string.
4906 (setIcon): Likewise.
4907 (setDisabledIcon): Likewise.
4908 (setDisplayedMnemonic): Likewise.
4909 (setIconTextGap): Likewise.
4910 (setVerticalAlignment): Likewise.
4911 (setHorizontalAlignment): Likewise.
4912 (setVerticalTextPosition): Likewise.
4913 (setHorizontalTextPosition): Likewise.
4914 (setLabelFor): Replaced constant with real string.
4915 Fire property change event after property got changed.
4916 * javax/swing/JList.java
4917 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
4918 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
4919 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
4920 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
4921 (MODEL_PROPERTY_CHANGED): Likewise.
4922 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
4923 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
4924 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
4925 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
4926 (setFixedCellWidth): Reimplemented.
4927 (setFixedCellHeight): Exit if new value is identical.
4928 Replaced constant with real string.
4929 (setSelectionBackground): Likewise.
4930 (setSelectionForeground): Likewise.
4931 (setPrototypeCellValue): Likewise.
4932 (setCellRenderer): Replaced constant with real string.
4933 (setModel): Likewise.
4934 (setSelectionModel): Likewise.
4935 * javax/swing/JMenuBar.java
4936 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4937 (MODEL_CHANGED_PROPERTY): Likewise.
4938 (MARGIN_CHANGED_PROPERTY): Likewise.
4939 (setBorderPainted): Reimplemented.
4940 (setMargin): Likewise.
4941 (setSelectionModel): Replaced constant with real string.
4942 * javax/swing/JPopupMenu.java
4943 (LABEL_CHANGED_PROPERTY): Removed.
4944 (VISIBLE_CHANGED_PROPERTY): Likewise.
4945 (borderPainted): Likewise.
4946 (setLabel): Replaced constant with real string.
4947 (setVisible): Exit if new value is identical.
4948 Replaced constant with real string.
4949 * javax/swing/JProgressBar.java
4950 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4951 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4952 (STRING_CHANGED_PROPERTY): Likewise.
4953 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
4954 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
4955 (setOrientation): Replaced constant with real string.
4956 (setStringPainted): Likewise.
4957 (setString): Likewise.
4958 (setBorderPainted): Likewise.
4959 (setIndeterminate): Likewise.
4960 * javax/swing/JScrollBar.java
4961 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
4962 (MODEL_CHANGED_PROPERTY): Likewise.
4963 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4964 (setOrientation): Replaced constant with real string.
4965 (setModel): Likewise.
4966 (setUnitIncrement): Likewise.
4967 (setBlockIncrement): Likewise.
4968 * javax/swing/JScrollPane.java
4969 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
4970 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
4971 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4972 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4973 (LAYOUT_CHANGED_PROPERTY): Likewise.
4974 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
4975 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4976 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4977 (VIEWPORT_CHANGED_PROPERTY): Likewise.
4978 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
4979 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
4980 (setComponentOrientation): Replaced constant with real string.
4981 (setColumnHeader): Likewise.
4982 (setHorizontalScrollBar): Likewise.
4983 (setHorizontalScrollBarPolicy): Likewise.
4984 (setRowHeader): Likewise.
4985 (setVerticalScrollBar): Likewise.
4986 (setVerticalScrollBarPolicy): Likewise.
4987 (setWheelScrollingEnabled): Likewise.
4988 (setViewport): Likewise.
4989 (setViewportBorder): Likewise.
4990 * javax/swing/JSlider.java
4991 (INVERTED_CHANGED_PROPERTY): Removed.
4992 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
4993 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4994 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4995 (MODEL_CHANGED_PROPERTY): Likewise.
4996 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4997 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
4998 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
4999 (setModel): Replaced constant with real string.
5000 (setOrientation): Likewise.
5001 (setLabelTable): Likewise.
5002 (setInverted): Likewise.
5003 (setMajorTickSpacing): Likewise.
5004 (setMinorTickSpacing): Likewise.
5005 (setPaintTicks): Likewise.
5006 (setPaintLabels): Likewise.
5007 * javax/swing/JTabbedPane.java
5008 (MODEL_CHANGED_PROPERTY): Removed.
5009 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5010 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5011 (setModel): Replaced constant with real string.
5012 (setTabPlacement): Likewise.
5013 (setTabLayoutPolicy): Likewise.
5014 * javax/swing/JToolBar.java
5015 (ORIENTATION_CHANGED_PROPERTY): Removed.
5016 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5017 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5018 (MARGIN_CHANGED_PROPERTY): Likewise.
5019 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5020 (setRollover): Replaced constant with real string.
5021 (setMargin): Likewise.
5022 (setBorderPainted): Likewise.
5023 (setFloatable): Likewise.
5024 (setOrientation): Likewise.
5025 * javax/swing/plaf/basic/BasicComboBoxUI.java
5026 (PropertyChangeHandler.propertyChange): Likewise.
5027 * javax/swing/plaf/basic/BasicComboPopup.java
5028 (PropertyChangeHandler.propertyChange): Likewise.
5029 * javax/swing/plaf/basic/BasicMenuBarUI.java
5030 (PropertyChangeHandler.propertyChange): Likewise.
5031 * javax/swing/plaf/basic/BasicProgressBarUI.java
5032 (PropertyChangeHandler.propertyChange): Likewise.
5033 * javax/swing/plaf/basic/BasicScrollBarUI.java
5034 (PropertyChangeHandler.propertyChange): Likewise.
5035 * javax/swing/plaf/basic/BasicSliderUI.java
5036 (PropertyChangeHandler.propertyChange): Likewise.
5037 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5038 (PropertyChangeHandler.propertyChange): Likewise.
5039 * javax/swing/plaf/basic/BasicToolBarUI.java
5040 (PropertyChangeHandler.propertyChange): Likewise.
5042 2005-02-15 Michael Koch <konqueror@gmx.de>
5044 * javax/swing/DefaultButtonModel.java
5045 (changeState): Made private.
5046 * javax/swing/DefaultDesktopManager.java
5047 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5048 * javax/swing/JLayeredPane.java
5049 (layerToRange): Made private.
5050 (incrLayer): Likewise.
5051 (decrLayer): Likewise.
5052 * javax/swing/JTable.java
5053 (dragEnabled): Likewise.
5054 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5055 * javax/swing/KeyStroke.java
5056 (Keystroke): Made private.
5057 * javax/swing/TransferHandler.java
5058 (COMMAND_COPY): Likewise.
5059 (COMMAND_CUT): Likewise.
5060 (COMMAND_PASTE): Likewise.
5062 2005-02-15 Michael Koch <konqueror@gmx.de>
5064 * javax/swing/JTextField.java
5065 (postActionEvent): Use text in field when actionCommand is null.
5066 (getActionCommand): Removed.
5068 2005-02-15 Michael Koch <konqueror@gmx.de>
5070 * javax/swing/AbstractSet.java: Removed.
5071 * Makefile.am: Removed javax/swing/AbstractSet.java.
5072 * Makefile.in: Regenerated.
5074 2005-02-15 Michael Koch <konqueror@gmx.de>
5076 * java/awt/Window.java
5077 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5078 * java/awt/dnd/DnDConstants.java
5079 (DnDConstants): New private constructor.
5081 2005-02-15 Michael Koch <konqueror@gmx.de>
5083 * javax/swing/DefaultCellRenderer.java: Removed.
5084 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5085 * Makefile.in: Regenerated.
5087 2005-02-15 Michael Koch <konqueror@gmx.de>
5089 * javax/swing/AbstractButton.java
5090 (fireItemStateChanged): Made protected.
5091 (fireActionPerformed): Likewise.
5092 (fireStateChanged): Likewise.
5093 * javax/swing/DefaultButtonModel.java
5094 (fireItemStateChanged): Likewise.
5095 (fireActionPerformed): Likewise.
5096 (fireStateChanged): Likewise.
5097 * javax/swing/JApplet.java
5099 (frameInit): Likewise.
5100 (setRootPane): Made protected.
5101 (createRootPane): Likewise.
5102 * javax/swing/JComponent.java
5103 (getClientProperty): Likewise.
5104 (putClientProperty): Likewise.
5105 * javax/swing/JEditorPane.java
5106 (getContentType): Likewise.
5107 (setContentType): Likewise.
5108 * javax/swing/JFrame.java
5109 (setRootPane): Likewise.
5110 (createRootPane): Likewise.
5111 * javax/swing/JInternalFrame.java
5112 (getFocusCycleRootAncestor): Made final. Added @since tag.
5113 (isFocusCycleRoot): Likewise.
5114 (getWarningString): Made final.
5115 * javax/swing/JScrollBar.java
5116 (changeListener): Removed.
5117 (changeEvent): Likewise.
5118 (createChangeListener): Likewise.
5119 (fireStateChanged): Likewise.
5120 (addChangeListener): Likewise.
5121 (removeChangeListener): Likewise.
5122 (getChangeListeners): Likewise.
5123 * javax/swing/JScrollPane.java
5124 (createViewport): Made protected.
5125 * javax/swing/JViewport.java
5126 (addImpl): Likewise.
5127 (setBorder): New method.
5128 * javax/swing/JWindow.java
5129 (setRootPane): Made protected.
5130 (createRootPane): Likewise.
5131 * javax/swing/plaf/basic/BasicButtonUI.java
5132 (installListeners): Likewise.
5133 (uninstallListeners): Likewise.
5134 * javax/swing/plaf/basic/BasicProgressBarUI.java
5135 (incrementAnimationIndex): Likewise.
5136 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5137 (createLayoutManager): Likewise.
5138 * javax/swing/table/DefaultTableCellRenderer.java
5139 (firePropertyChange): Likewise.
5140 * javax/swing/table/JTableHeader.java
5141 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5143 * javax/swing/text/PlainDocument.java
5144 (reindex): Made private.
5145 * javax/swing/text/PlainView.java
5146 (drawLine): Made protected.
5147 (getTabSize): Likewise.
5148 * javax/swing/text/View.java
5150 (preferenceChanged): New method.
5151 (getBreakWeight): Likewise.
5152 (breakView): Likewise.
5153 (getViewIndex): Likewise.
5155 2005-02-15 Michael Koch <konqueror@gmx.de>
5157 * javax/swing/JScrollPane.java
5158 (ScrollBar): Made class protected.
5159 * javax/swing/JSpinner.java
5160 (JSpinner): Added @since tag.
5161 (listenerList): Removed.
5162 * javax/swing/JTable.java
5163 (setValueAt): New method.
5164 (getColumn): Likewise.
5165 * javax/swing/JWindow.java
5166 (rootPaneCheckingEnabled): Renamed from checking.
5168 2005-02-15 Michael Koch <konqueror@gmx.de>
5170 * javax/swing/plaf/basic/BasicTextUI.java
5171 (RootView.modelToView): Made it public and return a java.awt.Shape.
5172 Handle null subview.
5173 (uninstall): Set textComponent to null when its not possible used
5175 * javax/swing/text/View.java
5176 (setParent): Use better argument name.
5177 (getContainer): Get parent via getParent().
5178 (getViewFactory): Likewise.
5179 (getAttributes): Get element via getElement().
5180 (getStartOffset): Likewise.
5181 (getEndOffset): Likewise.
5182 (getResizeWeight): New method.
5183 (getMaximumSpan): Likewise.
5184 (getMinimumSpan): Likewise.
5185 (setSize): Likewise.
5186 (getGraphics): Likewise.
5188 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5190 * java/awt/Checkbox.java:
5191 (AccessibleAWTCheckbox()): Added public constructor
5193 * java/awt/Choice.java:
5194 (AccessibleAWTChoice): Added class documentation.
5195 (AccessibleAWTChoice()): Added public constructor
5197 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5198 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5199 and changed role to COMBO_BOX.
5200 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5201 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5202 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5204 2005-02-15 Graydon Hoare <graydon@redhat.com>
5205 Michael Koch <konqueror@gmx.de>
5207 * javax/swing/LayoutFocusTraversalPolicy.java,
5208 javax/swing/SortingFocusTraversalPolicy.java:
5210 * Makefile.am: Added new classes.
5211 * Makefike.in: Regenerated.
5214 2005-02-15 Michael Koch <konqueror@gmx.de>
5216 * javax/swing/DebugGraphics.java: Mostly implemented.
5218 2005-02-15 Michael Koch <konqueror@gmx.de>
5220 * javax/swing/SwingUtilities.java
5221 (findFocusOwner): New method.
5223 2005-02-15 Michael Koch <konqueror@gmx.de>
5225 * javax/swing/text/DefaultEditorKit.java
5226 (read): Added '\n' after each line.
5227 * javax/swing/text/PlainView.java
5228 (modelToView): Update metrics.
5229 (drawLine): Use offsets from element.
5230 (paint): Update metrics. Draw all lines.
5232 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5234 * java/awt/Checkbox.java:
5235 (AccessibleAWTCheckbox): Added class documentation
5236 * java/awt/Scrollbar.java:
5237 (AccessibleAWTScrollBar): typo corrected and docs added
5238 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5239 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5240 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5241 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5242 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5243 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5244 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5245 (getAccessibleContext()): name of accessible class corrected
5247 2005-02-15 Mark Wielaard <mark@klomp.org>
5249 * java/awt/BasicStroke.java (hashCode): Implement.
5252 2005-02-15 Michael Koch <konqueror@gmx.de>
5254 * java/awt/print/PrinterJob.java
5255 (pageDialog): Throws java.awt.HeadlessException.
5256 (printDialog): Likewise.
5258 2005-02-15 Mark Wielaard <mark@klomp.org>
5260 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5262 2005-02-15 Michael Koch <konqueror@gmx.de>
5264 * javax/swing/JTable.java
5265 (getValueAt): New method.
5266 * javax/swing/table/JTableHeader.java
5267 (columnAtPoint): New method.
5269 2005-02-15 Michael Koch <konqueror@gmx.de>
5271 * javax/swing/JTextField.java
5272 (actions): New field.
5273 (static): Initalize actions field.
5274 (getActions): New method.
5276 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5278 * java/awt/Checkbox.java:
5279 (AccessibleAWTCheckbox): name capitalization corrected
5280 and serialization UID added.
5281 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5283 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5284 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5285 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5286 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5287 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5288 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5289 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5290 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5291 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5292 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5293 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5295 (getAccessibleContext()): name of accessible class corrected
5297 2005-02-15 Sven de Marothy <sven@physto.se>
5299 * java/awt/geom/doc-files/Area-1.png,
5300 java/awt/geom/doc-files/Ellipse-1.png,
5301 java/awt/geom/doc-files/GeneralPath-1.png:
5304 2005-02-15 Graydon Hoare <graydon@redhat.com>
5306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5307 Use union to avoid type-punning warning.
5309 2005-02-15 Michael Koch <konqueror@gmx.de>
5311 * javax/swing/DefaultListSelectionModel.java
5312 (clone): New method.
5314 2005-02-15 Mark Wielaard <mark@klomp.org>
5316 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5317 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5318 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5319 Correct method signature of gtkSetFilename.
5321 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5323 * javax/swing/text/StringContent.java: New file.
5325 2005-02-15 Michael Koch <konqueror@gmx.de>
5327 * Makefile.am: Added javax/swing/text/StringContent.java.
5328 * Makefile.in: Regenerated.
5330 2005-02-15 Michael Koch <konqueror@gmx.de>
5332 * gnu/java/awt/ClasspathToolkit.java:
5333 Import statements reworked.
5334 (imageCache): Made it of type java.util.HashMap.
5336 2005-02-15 Michael Koch <konqueror@gmx.de>
5338 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5339 Reworked import statements.
5341 2005-02-15 Graydon Hoare <graydon@redhat.com>
5343 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5346 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5348 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5351 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5359 Rewrite uses of extern variable to be function calls.
5360 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5361 function, from extern variable.
5362 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5363 (gdk_env): Remove variable, add new function.
5364 (java_vm): Add new variable.
5365 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5366 java_vm rather than old gdk_env variable.
5368 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5370 * javax/swing/DefaultListModel.java
5371 (add): fire correct event,
5372 (addElement): corrected interval indices in event,
5373 (clear): corrected upper bound for interval, only fire event if
5375 (setSize): fire appropriate event.
5377 2005-02-15 Graydon Hoare <graydon@redhat.com>
5379 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5380 * gnu/awt/xlib/XToolkit.java: Likewise.
5381 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5382 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5383 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5384 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5385 * java/awt/EventQueue.java (getNextEvent):
5386 Adjust event loop to switch to native mode after 100ms.
5387 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5388 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5389 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5390 Wake up event thread.
5391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5392 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5393 Adjust event loop to switch to java mode after 100ms.
5395 2005-02-15 Graydon Hoare <graydon@redhat.com>
5397 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5398 accidentally removed in last change.
5400 2005-02-15 Michael Koch <konqueror@gmx.de>
5402 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5403 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5405 2005-02-15 Graydon Hoare <graydon@redhat.com>
5407 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5408 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5409 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5410 * jni.cc: Reuse bottom frame between calls, avoid clearing
5411 frame when no local references are made.
5413 2005-02-15 Michael Koch <konqueror@gmx.de>
5415 * javax/swing/UIDefaults.java (UIDefaults):
5416 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5417 Fixed HTML entity and removed a redundant comma.
5419 2005-02-15 Michael Koch <konqueror@gmx.de>
5421 * javax/swing/text/DefaultEditorKit.java
5422 (deinstall): Removed.
5423 (install): Likewise.
5425 2005-02-15 Michael Koch <konqueror@gmx.de>
5427 * javax/swing/UIDefaults.java (put): Handle value of null.
5429 2005-02-15 Michael Koch <konqueror@gmx.de>
5431 * java/awt/Robot.java,
5432 java/awt/Scrollbar.java,
5433 java/awt/print/PrinterJob.java,
5434 javax/swing/JTable.java,
5435 javax/swing/text/AbstractDocument.java:
5436 Reworked import statements.
5438 2005-02-15 Michael Koch <konqueror@gmx.de>
5440 * javax/swing/JEditorPane.java
5441 (read): Implemented.
5443 * javax/swing/text/DefaultEditorKit.java
5444 (page): Renamed from page_url. Made private.
5445 (editorKit): Renamed from kit. Made private.
5447 (JEditorPane): All constructors reimplemented.
5448 (getContentType): Use content type from editor kit.
5449 (getEditorKit): Return editorKit.
5450 (getEditorKitForContentType):Likewise.
5451 (getPage): Return page.
5452 (setContentType): Reimplemented.
5453 (setEditorKit): Likewise.
5454 (setEditorKitForContentType): Removed wrong implementation.
5455 (setPage): Implemented.
5457 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5459 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5460 (nativeSetIconImageFromData): Re-add native implementation.
5462 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5464 * javax/swing/table/DefaultTableModel.java
5465 (DefaultTableModel()): Added Javadocs.
5466 (DefaultTableModel(int, int)): Fixed implementation.
5467 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5468 for negative rowCount.
5469 (DefaultTableModel(Object[], int)): Added Javadocs.
5470 (DefaultTableModel(Vector, Vector)): Likewise.
5471 (DefaultTableModel(Object[][], Object[])): Likewise.
5472 (getDataVector): Likewise.
5473 (setDataVector(Vector, Vector)): Likewise.
5474 (setDataVector(Object[][], Object[])): Likewise.
5475 (newDataAvailable): Likewise.
5476 (newRowsAdded): Likewise.
5477 (rowsRemoved): Likewise.
5478 (setColumnIdentifiers(Vector)): Allow for null argument.
5479 (setColumnIdentifiers(Object[])): Added Javadocs.
5480 (setNumRows): Likewise.
5481 (setRowCount): Adds new rows if necessary, and sends more specific
5483 (setColumnCount): Allow for null columnIdentifiers.
5484 (addColumn(Object)): Added Javadocs.
5485 (addColumn(Object, Vector)): Handle null columnData.
5486 (addColumn(Object, Object[])): Handle columnData with more or less
5487 entries than rows in the table.
5488 (addRow(Vector)): Fire appropriate event.
5489 (addRow(Object[])): Added Javadocs.
5490 (insertRow(int, Vector)): Fire appropriate event.
5491 (insertRow(int, Object[])): Added Javadocs.
5492 (moveRow): Reimplemented.
5493 (removeRow(int)): Fire appropriate event.
5494 (getColumnCount): Allow for null columnIdentifiers.
5495 (getColumnName): Now returns empty string when column index is too
5497 (isCellEditable): Added Javadocs.
5498 (getValueAt): Likewise.
5499 (setValueAt): Fire more specific event.
5500 (convertToVector): Added Javadocs.
5501 * javax/swing/table/TableModel.java
5504 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5506 * libgcj.spec.in (lib): Add -l-javax-imageio.
5508 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5510 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5511 references to event queue q with method call q().
5512 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5513 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5514 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5515 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5516 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5517 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5520 2005-02-15 Graydon Hoare <graydon@redhat.com>
5522 * gnu/java/awt/ClasspathToolkit.java
5523 (registerImageIOSpis): New method.
5524 * gnu/java/awt/image/ImageDecoder.java
5525 (imageDecoder): New constructor using InputStream
5526 (startProduction): Handle existing InputStream.
5527 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5528 (findSimpleIntegerArray): Make public and static.
5529 (updateBufferedImage): Set each pixel, in a loop.
5530 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5531 Implement ImageIO SPI classes.
5532 (createBufferedImage): Rewrite in terms of SPI classes.
5533 * gnu/java/awt/peer/gtk/GtkToolkit.java
5534 (registerImageIOSpis): New method.
5535 * java/lang/reflect/natMethod.cc
5536 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5537 which lets JNI call interface methods properly.
5538 * javax/imageio/ImageIO.java
5539 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5540 (WriterMIMETypeFilter.filter): Likewise.
5541 (ImageReaderIterator): Pass extension argument through to SPI.
5542 (getReadersByFilter): Likewise.
5543 (getWritersByFilter): Likewise.
5544 (getImageReadersByFormatName): Likewise.
5545 (getImageReadersByMIMEType): Likewise.
5546 (getImageReadersBySuffix): Likewise.
5547 (getImageWritersByFormatName): Likewise.
5548 (getImageWritersByMIMEType): Likewise.
5549 (getImageWritersBySuffix): Likewise.
5552 * javax/imageio/ImageReader.java
5553 (progressListeners): Initialize.
5554 (setInput): Implement.
5555 * javax/imageio/ImageWriter.java
5556 (progressListeners): Initialize.
5557 (warningListeners): Likewise.
5558 (warningLocales): Likewise.
5559 (setOutput): Test "isInstance" rather than class equality.
5560 * javax/imageio/spi/IIORegistry.java
5561 (static): Add reader and writer SPIs.
5562 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5564 (query_formats): New function.
5565 (save_to_stream): Likewise.
5566 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5568 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5570 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5572 (keyPress): Likewise.
5573 (keyRelease): Likewise.
5575 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5577 * javax/swing/JTable.java
5578 (columnAtPoint): New Method. Implemented.
5579 (rowAtPoint): Likewise.
5580 (countSelections): Fixed few small count errors.
5581 (getSelections): Likewise.
5582 (setSelectionMode): Set selection mode for column
5583 selection model in addition to row selection model.
5584 * javax/swing/plaf/basic/BasicTableUI.java:
5585 (getRowForPoint): Removed. Replaced by
5586 JTable.rowAtPoint().
5587 (getColForPoint): Removed. Replaced by
5588 JTable.columnAtPoint().
5589 (updateSelection): Updated to call JTable.columnAtPoint
5590 and JTable.rowAtPoint.
5591 * javax/swing/table/DefaultTableColumnModel.java:
5592 (getSelectedColumns): Implemented.
5593 (getSelectedColumnCount): Implemented.
5595 2005-02-15 Graydon Hoare <graydon@redhat.com>
5598 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5599 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5600 * Makefile.in: Regenerate.
5601 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5602 * gnu/awt/xlib/XFramePeer.java: Likewise.
5603 * gnu/awt/xlib/XToolkit.java: Likewise.
5604 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5605 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5606 * gnu/java/awt/ClasspathToolkit.java
5609 (iterateNativeQueue): New methods.
5610 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5611 * gnu/java/awt/peer/gtk/GtkToolkit.java
5612 (gtkInit): Absorb from defunct GtkMainThread class.
5613 (static): Run gtkInit in static startup block.
5614 (GtkToolkit): Remove construction of GtkMainThread and queue.
5615 (getSystemEventQueueImpl): Construct queue when requested.
5618 (iterateNativeQueue): New methods.
5619 * java/awt/Component.java (removeNotify): Remove race.
5620 * java/awt/EventDispatchThread.java
5621 (EventDispatchThread): Don't start on construction.
5622 (run): Remove isInterrupted check.
5623 * java/awt/EventQueue.java (shutdown): New flag.
5624 (isShutdown): New method checking J2SE shutdown condition.
5625 (setShutdown): New method.
5626 (getNextEvent): Restructure to use ClasspathToolkit.
5627 (postEvent): Activate new thread on posting, wake thread on
5628 post of possible shutdown condition event.
5629 * java/awt/Frame.java
5630 (Frame): Call noteFrame in all constructors.
5631 (fireDummyEvent): New helper method.
5632 (addNotify): Fire a dummy event to wake up queue.
5633 (removeNotify): Fire a dummy event to wake up queue.
5634 (noteFrame): New method.
5635 (weakFrames): New static field.
5636 (getFrames): Implement.
5637 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5639 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5640 Move everything from GtkMainThread into this file
5641 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5642 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5643 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5644 New functions to implement single-threaded queue semantics.
5646 2005-02-15 Michael Koch <konqueror@gmx.de>
5648 * javax/swing/plaf/metal/MetalLookAndFeel.java
5649 (getControlTextFont): New method.
5650 (getMenuTextFont): Likewise.
5651 (getSubTextFont): Likewise.
5652 (getSystemTextFont): Likewise.
5653 (getUserTextFont): Likewise.
5654 (getWindowTitleFont): Likewise.
5656 2005-02-15 Michael Koch <konqueror@gmx.de>
5658 * javax/swing/text/AbstractDocument.java
5659 (documentFilter): New field.
5660 (getDocumentFilter): New method.
5661 (setDocumentFilter): Likewise.
5664 2005-02-15 Michael Koch <konqueror@gmx.de>
5666 * javax/swing/JTree.java
5667 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5669 2005-02-15 Michael Koch <konqueror@gmx.de>
5671 * javax/swing/text/AbstractDocument.java
5672 (AbstractElement.getLength): Fixed off-by-one error.
5673 (AbstractElement.children): Made abstract.
5674 (AbstractElement.getAllowsChildren): Likewise.
5675 (AbstractElement.getElement): Likewise.
5676 (AbstractElement.dumpElement): New private method.
5677 (AbstractElement.dump): New method.
5678 (BranchElememt.getName): Fixed implementation.
5679 (BranchElememt.toString): Likewise.
5680 (BranchElememt.getElement): Fixed arguments.
5681 (LeafElement.getName): Fixed implementation.
5682 (LeafElement.toString): Likewise.
5683 * javax/swing/text/GapContent.java
5684 (GapContent): Put default content into buffer.
5685 * javax/swing/text/PlainDocument.java
5686 (reindex): Use empty attribute sets instead of null.
5687 (createDefaultRoot): Reimplemented.
5688 (insertUpdate): Call super method.
5689 (removeUpdate): Likewise.
5690 (getParagraphElement): Implemented.
5692 2005-02-15 Michael Koch <konqueror@gmx.de>
5694 * gnu/java/awt/ClasspathToolkit.java
5695 (createRobot): Throws java.awt.AWTException.
5696 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5697 Added '__attribute__((unused))' to all unused method arguments.
5699 2005-02-15 Michael Koch <konqueror@gmx.de>
5701 * javax/swing/DefaultBoundedRangeModel.java
5702 (fireValueChanged): Fixed off-by-one error.
5704 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5706 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5707 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5709 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5710 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5711 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5712 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5713 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5714 (getDefaultScreenDevice): Implement.
5715 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5716 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5717 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5718 * java/awt/Robot.java: Implement.
5719 * java/awt/peer/RobotPeer.java: Rename parameters.
5720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5721 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5722 (awt_keycode_to_keysym): Make non-static.
5723 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5724 AWT_BUTTON3_MASK): Declare constants.
5725 (awt_keycode_to_keysym): Declare.
5727 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5728 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5729 and is non-empty pass its value to "make check".
5730 (test_mauve_sim): Likewise.
5732 2005-02-15 Michael Koch <konqueror@gmx.de>
5734 * javax/imageio/IIOParam.java
5735 (setSourceBands): New method.
5736 (setSourceSubsampling): Likewise.
5737 * javax/imageio/ImageReadParam.java
5738 (setDestination): Likewise.
5739 (setDestinationBands): Likewise.
5740 (setSourceProgressivePasses): Likewise.
5741 * javax/imageio/metadata/IIOInvalidTreeException.java
5742 (serialVersionUID): New static field.
5743 * javax/imageio/metadata/IIOMetadataNode.java
5744 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5745 (parent): Dont initailize with default value explicitely.
5747 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5748 (removeAttributeNode): Likewise.
5749 (removeAttributeNS): Likewise.
5750 (setAttribute): Likewise.
5751 (setAttributeNode): Likewise.
5752 (setAttributeNodeNS): Likewise.
5753 (setAttributeNS): Likewise.
5754 (appendChild): Likewise.
5755 (getNodeValue): Likewise.
5756 (insertBefore): Likewise.
5757 (removeChild): Likewise.
5758 (replaceChild): Likewise.
5759 (setPrefix): Likewise.
5761 2005-02-15 Michael Koch <konqueror@gmx.de>
5763 * javax/swing/LookAndFeel.java
5764 (getDesktopPropertyValue): New method.
5766 2005-02-15 Michael Koch <konqueror@gmx.de>
5768 * javax/swing/JTree.java
5769 (hasChildren): New instance field.
5771 2005-02-15 Michael Koch <konqueror@gmx.de>
5773 * javax/swing/JComponent.java
5774 (getToolTipText): New method.
5775 (getTitledBorderText): Likewise.
5776 (getAccessibleKeyBinding): Likewise.
5777 (getVerifyInputWhenFocusTarget): Likewise.
5778 (setVerifyInputWhenFocusTarget): Likewise.
5779 (verifyInputWhenFocusTarget): New instance field.
5781 2005-02-15 Michael Koch <konqueror@gmx.de>
5783 * javax/swing/DefaultListSelectionModel.java
5784 (fireValueChanged): New method.
5786 2005-02-15 Michael Koch <konqueror@gmx.de>
5788 * javax/swing/DefaultBoundedRangeModel.java:
5789 Fixed javadocs all over.
5790 (fireStateChanged): Simplified.
5791 * javax/swing/BoundedRangeModel.java:
5794 2005-02-15 Michael Koch <konqueror@gmx.de>
5796 * javax/swing/JRootPane.java
5797 (setMenuBar): Added @deprecated tag.
5798 (getMenuBar): Likewise.
5799 * javax/swing/JTable.java
5800 (sizeColumnsToFit): Likewise.
5802 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5804 * javax/swing/ImageIcon.java (setImage): Implemented.
5806 2005-02-15 Michael Koch <konqueror@gmx.de>
5808 * javax/swing/JTable.java:
5809 Removed unused imports.
5811 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5813 (prepareRenderer): Get column's index in dataModel instead
5814 of column's view index.
5815 (getColumnCount): return count of the columns in ColumnModel,
5817 (removeColumn): Implemented.
5818 (moveColumm): Likewise.
5819 (setRowHeight): throw IllegalArgumentException if height is
5821 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5822 (DefaultTableColumnModel):Add call to createSelectionModel().
5823 (addColumn): Fire columnAdded event to registered listeners.
5824 (removeColumn): Fire columnRemoved event to registered listeners.
5825 (moveColumn): Fire columnMoved event to registered listeners.
5826 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5827 (getColumnIndex): Changed parameter name.
5828 (setColumnSelectionAllowed): Likewise.
5829 (fireColumnAdded): Implemented.
5830 (fireColumnRemoved): Likewise.
5831 (fireColumnMoved): Likewise.
5832 (fireColumnMarginChanged): Likewise.
5833 (getListeners): Changed parameter name.
5834 (propertyChange): Implemented.
5835 (valueChanged): Changed parameter name.
5836 (createSelectionModel): Implemented.
5838 2005-02-15 Michael Koch <konqueror@gmx.de>
5840 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5841 Explicitely import used classes.
5842 (getLocalGraphicsEnvironment): Simplify.
5843 * java/awt/Window.java (Window):
5844 Enable code to get the default GraphicsConfiguration.
5846 2005-02-15 Michael Koch <konqueror@gmx.de>
5848 * javax/swing/plaf/metal/DefaultMetalTheme.java
5849 (CONTROL_TEXT_FONT): New static field.
5850 (MENU_TEXT_FONT): Likewise.
5851 (SUB_TEXT_FONT): Likewise.
5852 (SYSTEM_TEXT_FONT): Likewise.
5853 (USER_TEXT_FONT): Likewise.
5854 (WINDOW_TITLE_FONT): Likewise.
5855 (getControlTextFont): New method.
5856 (getMenuTextFont): Likewise.
5857 (getSubTextFont): Likewise.
5858 (getSystemTextFont): Likewise.
5859 (getUserTextFont): Likewise.
5860 (getWindowTitleFont): Likewise.
5861 * javax/swing/plaf/metal/MetalTheme.java
5862 (BLACK): Initialize with Color.BLACK.
5863 (WHITE): Initialize with Color.WHITE.
5864 (getInactiveControlTextColor): Return getControlDisabled().
5865 (getMenuDisabledForeground): Return getSecondary3().
5866 (getControlTextFont): New abstract method.
5867 (getMenuTextFont): Likewise.
5868 (getSubTextFont): Likewise.
5869 (getSystemTextFont): Likewise.
5870 (getUserTextFont): Likewise.
5871 (getWindowTitleFont): Likewise.
5873 2005-02-15 Michael Koch <konqueror@gmx.de>
5875 * javax/swing/JFormattedTextField.java
5876 (getFocusLostBehavior): Fixed typo in method name.
5877 (setFocusLostBehavior): Likewise.
5879 2005-02-15 Michael Koch <konqueror@gmx.de>
5881 * javax/swing/TransferHandler.java:
5882 Reworked import statements.
5884 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5886 * java/awt/Button.java,
5887 java/awt/Canvas.java,
5888 java/awt/Checkbox.java,
5889 java/awt/CheckboxMenuItem.java,
5890 java/awt/Choice.java,
5891 java/awt/Dialog.java,
5892 java/awt/Frame.java,
5893 java/awt/Label.java,
5896 java/awt/MenuBar.java,
5897 java/awt/MenuItem.java,
5898 java/awt/PopupMenu.java,
5899 java/awt/ScrollPane.java,
5900 java/awt/Scrollbar.java,
5901 java/awt/TextArea.java,
5902 java/awt/Window.java (getAccessibleContext): Clean up comments.
5904 * java/awt/Button.java,
5905 java/awt/Checkbox.java,
5906 java/awt/Choice.java,
5908 java/awt/PopupMenu.java,
5909 java/awt/TextArea.java (getAccessibleContext): Only create new
5911 * java/awt/TextComponent.java (getAccessibleContext): Implement.
5913 2005-02-15 Michael Koch <konqueror@gmx.de>
5915 * java/awt/Button.java,
5916 javax/swing/JApplet.java,
5917 javax/swing/JFormattedTextField.java,
5918 javax/swing/JWindow.java,
5919 javax/swing/JTree.java,
5920 javax/swing/plaf/basic/BasicEditorPaneUI.java,
5921 javax/swing/plaf/basic/BasicTextPaneUI.java,
5922 javax/swing/plaf/basic/BasicTreeUI.java:
5923 Reworked import statements.
5925 2005-02-15 Michael Koch <konqueror@gmx.de>
5927 * Makefile.am: Put javax.imageio into its own library and link it
5928 against lib-org-w3c-dom.la to fix bootstrapping.
5929 * Makefile.in: Regenerated.
5931 2005-02-15 Michael Koch <konqueror@gmx.de>
5933 * javax/swing/text/TextAction.java
5934 (getTextComponent): Simplified. Added Javadoc.
5935 (augmentList): Implemented. Added Javadoc.
5936 (getFocusedComponent): Added javadoc.
5938 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5940 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
5941 getAccessibleContext): Implement.
5942 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
5943 getAccessibleContext): Implement.
5945 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5947 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
5949 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
5951 * java/awt/Window.java (getAccessibleContext): Fix comment.
5952 Remove extra import.
5954 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5956 * java/awt/Window.java (AccessibleAWTWindow): Implement.
5957 (isActive, isFocused, getAccessibleContext): Implement.
5959 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5961 * java/awt/MenuItem.java (getAccessibleContext): Implement.
5962 * java/awt/MenuComponent.java (accessibleContext): Make package
5964 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
5965 AccessibleAWTCheckboxMenuItem): Implement.
5967 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5969 * java/awt/List.java: Implement AccessibleAWTList,
5970 AccessibleAWTListChild.
5972 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5974 * java/awt/Choice.java: Add implements declaration for
5977 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5979 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
5982 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5984 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
5985 implemented interface list.
5987 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5989 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
5990 * javax/imageio/metadata/IIOAttr.java: New class.
5991 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
5992 * javax/imageio/metadata/IIONodeList.java: New class.
5993 * Makefile.am: Added new files.
5994 * Makefile.in: Regenerated.
5996 2005-02-15 Michael Koch <konqueror@gmx.de>
5998 * javax/swing/AbstractAction.java,
5999 javax/swing/AbstractCellEditor.java,
6000 javax/swing/AbstractListModel.java,
6001 javax/swing/DefaultBoundedRangeModel.java,
6002 javax/swing/DefaultButtonModel.java,
6003 javax/swing/DefaultCellEditor.java,
6004 javax/swing/DefaultComboBoxModel.java,
6005 javax/swing/DefaultDesktopManager.java,
6006 javax/swing/JMenu.java,
6007 javax/swing/JSlider.java,
6008 javax/swing/KeyStroke.java,
6009 javax/swing/OverlayLayout.java,
6010 javax/swing/ScrollPaneLayout.java,
6011 javax/swing/SizeRequirements.java,
6012 javax/swing/ViewportLayout.java:
6013 Made serialVersionUID private.
6015 2005-02-15 Michael Koch <konqueror@gmx.de>
6017 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6020 2005-02-15 Michael Koch <konqueror@gmx.de>
6022 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6024 2005-02-15 Michael Koch <konqueror@gmx.de>
6026 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6028 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6030 * java/awt/EventDispatchThread.java,
6031 java/awt/Toolkit.java:
6032 Don't catch java.lang.ThreadDeath.
6034 2005-02-15 Michael Koch <konqueror@gmx.de>
6036 * javax/swing/text/PasswordView.java
6037 (drawEchoCharacter): Added javadoc.
6038 (drawSelectedText): Likewise.
6039 (drawUnselectedText): Likewise.
6041 2005-02-15 Michael Koch <konqueror@gmx.de>
6043 * javax/swing/JRootPane.java
6044 (windowDecorationStyle): New field.
6045 (setMenuBar): New method.
6046 (getMenuBar): Likewise.
6047 (getWindowDecorationStyle): Likewise.
6048 (setWindowDecorationStyle): Likewise.
6050 2005-02-15 Michael Koch <konqueror@gmx.de>
6052 * javax/swing/DefaultListSelectionModel.java
6053 (leadAnchorNotificationEnabled): Made protected.
6055 2005-02-15 Michael Koch <konqueror@gmx.de>
6057 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6058 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6059 * Makefile.in: Regenerated.
6062 2005-02-15 Michael Koch <konqueror@gmx.de>
6064 * javax/swing/JFormattedTextField.java: Implemented.
6065 * javax/swing/JWindow.java
6066 (JWindow): New constructors.
6067 (initWindow): Renamed from initFrame.
6068 * javax/swing/UIDefaults.java
6069 (ActiveValue): Made interface static.
6070 (LazyValue): Likewise.
6071 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6072 (TitlePaneLayout.TitlePaneLayout): New constructor.
6073 * javax/swing/plaf/basic/BasicSliderUI.java
6074 (ChangeHandler): Made public.
6075 (FocusHandler): Likewise.
6076 (PropertyChangeHandler): Likewise.
6077 (ScrollListener): Likewise.
6078 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6079 (FocusHandler): Likewise.
6080 (MouseHandler): Likewise.
6081 * javax/swing/plaf/basic/BasicTextPaneUI.java
6082 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6083 * javax/swing/plaf/basic/BasicToolBarUI.java
6084 (BasicToolBarUI): Simplified. Reworked javadoc.
6085 (canDock): Simplified. Make public.
6086 (DockingListener): Made public.
6087 * javax/swing/text/JTextComponent.java
6088 (navigationFilter): New field.
6089 (getNavigationFilter): New method.
6090 (setNavigationFilter): Likewise.
6092 2005-02-15 Michael Koch <konqueror@gmx.de>
6094 * javax/swing/plaf/metal/MetalTheme.java
6095 (getControlTextColor): Return getControlInfo().
6096 (getHighlightedTextColor): Return getControlTextColor().
6098 2005-02-15 Michael Koch <konqueror@gmx.de>
6100 * javax/swing/plaf/basic/BasicButtonListener.java
6101 (BasicButtonListener): New constructor.
6102 * javax/swing/plaf/basic/BasicButtonUI.java
6103 (createButtonListener): Usw new BasicButtonListener constructor.
6105 2005-02-15 Michael Koch <konqueror@gmx.de>
6107 * javax/imageio/event/package.html,
6108 javax/imageio/metadata/package.html: New files.
6110 2005-02-15 Michael Koch <konqueror@gmx.de>
6112 * java/awt/image/MemoryImageSource.java: Reformatted.
6114 2005-02-15 Michael Koch <konqueror@gmx.de>
6116 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6118 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6120 * java/awt/color/ICC_Profile.java
6121 (finalize): Removed pointless field assignments.
6123 2005-02-15 Michael Koch <konqueror@gmx.de>
6125 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6126 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6127 * Makefile.in: Regenerated.
6129 2005-02-15 Michael Koch <konqueror@gmx.de>
6131 * javax/swing/text/DefaultStyledDocument.java: New file.
6132 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6133 * Makefile.in: Regenerated.
6135 2005-02-15 Michael Koch <konqueror@gmx.de>
6137 * javax/swing/JFileChooser.java
6138 (showDialog): Return CANCEL_OPTION for now.
6139 (showOpenDialog): Likewise.
6140 (showSaveDialog): Likewise.
6142 2005-02-15 Michael Koch <konqueror@gmx.de>
6144 * javax/swing/JApplet.java
6145 (HIDE_ON_CLOSE): Removed.
6146 (EXIT_ON_CLOSE): Likewise.
6147 (DISPOSE_ON_CLOSE): Likewise.
6148 (DO_NOTHING_ON_CLOSE): Likewise.
6149 (close_action): Likewise.
6150 (getDefaultCloseOperation): Likewise.
6151 (setDefaultCloseOperation): Likewise.
6152 (processWindowEvent): Likewise.
6153 (getPreferredSize): Simplified.
6154 * javax/swing/JInternalFrame.java
6155 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6157 * javax/swing/JWindow.java
6158 (HIDE_ON_CLOSE): Removed.
6159 (EXIT_ON_CLOSE): Likewise.
6160 (DISPOSE_ON_CLOSE): Likewise.
6161 (DO_NOTHING_ON_CLOSE): Likewise.
6162 (close_action): Likewise.
6163 (processKeyEvent): Likewise.
6164 (setDefaultCloseOperation): Likewise.
6165 (getPreferredSize): Simplified.
6167 2005-02-15 Michael Koch <konqueror@gmx.de>
6169 * javax/swing/JTextField.java
6170 (getPreferredSize): Re-implemented.
6172 2005-02-15 Michael Koch <konqueror@gmx.de>
6174 * javax/swing/JLabel.java
6175 (setDisplayedMnemonic): Use only upper case characters.
6176 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6177 PropertyChangeEvent after property got set to the new index.
6179 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6181 * javax/swing/JComboBox.java:
6182 (JComboBox): Removed selection of the
6183 first item in the model.
6185 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6187 * javax/swing/JComboBox.java
6188 added support for no item being selected
6189 (JComboBox): select first or nothing depending on element count
6190 (setModel): cleaned up unneeded "this." usage, added more
6191 docs, made exception behavior match that of the JDK
6192 (setLighWeightPopupEnabled): removed unneeded "this." usage
6194 (setMaximumRowCount): dito
6196 (setPrototypeDisplayValue): dito
6197 (getSelectedItem): simplified, added more user doc
6198 (setSelectedIndex): corrected exception behavior, added more user doc
6199 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6200 added performance warning to user doc
6201 (addItem): fixed exception behavior, added user doc
6202 (insertItemAt): dito
6204 (removeItemAt): dito
6205 (removeAll): fixed exception behavior, added user doc, added support
6206 for model not being instance of DefaultComboBoxModel
6207 (getSelectedItemObjects): simplified
6208 (getItemCount): fixed dependency on DefaultComboBoxModel
6209 (getItemAt): fixed dependency on MutableComboBoxModel
6210 * javax/swing/DefaultComboBoxModel.java:
6211 (setSelectedItem): updates selected item only if new
6212 value is null or known (match JDK behavior)
6213 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6214 (paintCurrentValue): renders "" if no item is selected
6216 2005-02-15 Michael Koch <konqueror@gmx.de>
6218 * javax/swing/plaf/metal/MetalTheme.java,
6219 javax/swing/plaf/metal/DefaultMetalTheme.java:
6221 * javax/swing/plaf/metal/MetalLookAndFeel.java
6222 * Makefile.am: Added the new files.
6223 * Makefile.in: Regenerated.
6225 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6227 * javax/swing/JTable.java
6228 (editorComp): New field.
6229 (JTable): Initialize local variables and call updateUI
6230 (selectionBackground): Make protected.
6231 (selectionForeground): Likewise.
6232 (initializeLocalVars): Create default editors and renderers,
6233 initialize editingColumn, editingRow variables.
6234 (createDefaultEditors): New Method.
6235 (createDefaultRenderers): Likewise.
6236 (createDefaultListSelectionModel): Removed
6237 (createDefaultSelectionModel): New Method.
6238 (createDefaultTableHeader): Likewise
6239 (removeColumn): Likewise.
6240 (getEditingColumn): Likewise.
6241 (setEditingColumn): Likewise.
6242 (getEditingRow): Likewise.
6243 (setEditingRow): Likewise.
6244 (getEditorComponent): Likewise.
6245 (isEditing): Likewise.
6246 (setDefaultEditor): Likewise.
6247 (addColumnSelectionInterval): Likewise.
6248 (addRowSelectionInterval): Likewise.
6249 (setColumnSelectionInterval): Likewise.
6250 (setRowSelectionInterval): Likewise.
6251 (removeColumnSelectionInterval): Likewise.
6252 (removeRowSelectionInterval): Likewise.
6253 (isColumnSelected): Likewise.
6254 (isRowSelected): Likewise.
6255 (isCellSelected): Likewise.
6256 (selectAll): Likewise.
6258 2005-02-15 Michael Koch <konqueror@gmx.de>
6260 * javax/swing/JTable.java
6261 (addColumn): New method.
6262 (getColumnClass): Likewise.
6263 (getColumnName): Likewise.
6265 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6267 * javax/swing/TransferHandler.java
6268 (createTransferable): Made protected.
6270 2005-02-15 Michael Koch <konqueror@gmx.de>
6272 * javax/swing/JTable.java,
6273 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6274 javax/swing/plaf/basic/BasicTableUI.java:
6275 Use fixed get/setIntercellSpacing() methods.
6277 2005-02-15 Michael Koch <konqueror@gmx.de>
6279 * javax/swing/JTable.java
6280 (getIntercellSpacing): Fixed typo in method name.
6281 (setIntercellSpacing): Likewise.
6283 2005-02-15 Michael Koch <konqueror@gmx.de>
6285 * javax/swing/text/JTextComponent.java
6286 (focusAccelerator): New variable.
6287 (getFocusAccelerator): New method.
6288 (setFocusAccelerator): Likewise.
6290 2005-02-15 Michael Koch <konqueror@gmx.de>
6292 * javax/swing/JComponent.java
6293 (setTransferHandler): Made public. Fire property change event.
6294 * javax/swing/TransferHandler.java: Implemented.
6295 * javax/swing/text/JTextComponent.java
6296 (DefaultTransferHandler): New inner class.
6297 (defaultTransferHandler): New variable.
6301 (doTransferAction): Likewise.
6303 2005-02-15 Michael Koch <konqueror@gmx.de>
6305 * javax/swing/JTree.java
6306 (collapsePath): New method.
6307 (collapseRow): Likewise.
6308 (expandPath): Likewise.
6309 (expandRow): Likewise.
6310 (checkExpandParents): Likewise.
6311 (doExpandParents): Likewise.
6312 (setExpandedState): Likewise.
6313 (makeVisible): Likewise.
6315 2005-02-15 Michael Koch <konqueror@gmx.de>
6317 * javax/swing/JPasswordField.java: Updated javadocs.
6319 2005-02-15 Michael Koch <konqueror@gmx.de>
6321 * javax/swing/JLayeredPane.java
6322 (getLayer): Fixed return type, made public.
6323 (getPosition): Use new getLayer().
6324 (SetPosition): Likewise.
6325 (getIndexOf): Likewise.
6327 * javax/swing/JInternalFrame.java
6328 (getLayer): Use new JLayeredPane.getLayer().
6331 2005-02-15 Michael Koch <konqueror@gmx.de>
6333 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6334 (setHeaderValue): Simplified. Do nothing when old value == new value.
6336 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6338 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6339 against null clip region.
6340 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6341 gtkWindowSetResizable.
6342 (postConfigureEvent): Only revalidate if frame size has changed.
6343 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6344 Only revalidate if frame size has changed.
6345 * java/awt/Component.java (reshape): Only repaint and post
6346 component events if component is showing.
6347 * java/awt/Container.java (addImpl): Only post container event if
6348 container is showing.
6350 * java/awt/Window.java (setLocationRelativeTo): Implement.
6351 (setBoundsCallback): Only post component events if component is
6353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6354 Protect against null graphics structure. Flush gdk event queue.
6356 2005-02-15 Michael Koch <konqueror@gmx.de>
6358 * javax/imageio/ImageReader.java,
6359 javax/imageio/ImageTranscoder.java,
6360 javax/imageio/ImageWriter.java,
6361 javax/imageio/spi/ImageInputStreamSpi.java,
6362 javax/imageio/spi/ImageOutputStreamSpi.java,
6363 javax/imageio/spi/ServiceRegistry.java,
6364 javax/imageio/stream/ImageInputStream.java,
6365 javax/imageio/stream/ImageOutputStream.java: Updated.
6366 * javax/imageio/IIOException.java,
6367 javax/imageio/IIOImage.java,
6368 javax/imageio/IIOParam.java,
6369 javax/imageio/IIOParamController.java,
6370 javax/imageio/ImageIO.java,
6371 javax/imageio/ImageReadParam.java,
6372 javax/imageio/ImageTypeSpecifier.java,
6373 javax/imageio/ImageWriteParam.java,
6374 javax/imageio/spi/IIORegistry.java,
6375 javax/imageio/spi/ImageReaderSpi.java,
6376 javax/imageio/spi/ImageWriterSpi.java,
6377 javax/imageio/stream/FileCacheImageInputStream.java,
6378 javax/imageio/stream/FileCacheImageOutputStream.java,
6379 javax/imageio/stream/FileImageInputStream.java,
6380 javax/imageio/stream/FileImageOutputStream.java,
6381 javax/imageio/stream/ImageInputStreamImpl.java,
6382 javax/imageio/stream/ImageOutputStreamImpl.java,
6383 javax/imageio/stream/MemoryCacheImageInputStream.java,
6384 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6385 javax/imageio/event/IIOReadProgressListener.java,
6386 javax/imageio/event/IIOReadUpdateListener.java,
6387 javax/imageio/event/IIOReadWarningListener.java,
6388 javax/imageio/event/IIOWriteProgressListener.java,
6389 javax/imageio/event/IIOWriteWarningListener.java,
6390 javax/imageio/metadata/IIOMetadata.java,
6391 javax/imageio/metadata/IIOMetadataController.java,
6392 javax/imageio/metadata/IIOMetadataFormat.java,
6393 javax/imageio/metadata/IIOInvalidTreeException.java,
6394 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6395 javax/imageio/metadata/IIOMetadataNode.java: New files.
6396 * Makefile.am (javax_source_files): Added new files
6397 * Makefile.in: Regenerated.
6399 2005-02-15 Graydon Hoare <graydon@redhat.com>
6401 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6402 Rework painting into BufferedImages
6403 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6404 Construct BufferedImage with alpha only when alpha is
6405 present in colormodel.
6406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6407 Rework painting into client-side jint arrays.
6408 * jni/gtk-peer/gtkcairopeer.h:
6411 2005-02-15 Michael Koch <konqueror@gmx.de>
6413 * javax/swing/DefaultListCellRenderer.java
6414 (serialVersionUID): Made private.
6415 (getListCellRendererComponent): Set horizontal alignment.
6416 * javax/swing/JLabel.java
6417 (setVerticalAlignment): Re-implemented.
6418 (setHorizontalAlignment): Do nothing if old value = new value.
6419 * javax/swing/JList.java
6420 (setCellRenderer): Likewise.
6421 (setModel): Re-implemented.
6422 (setSelectionModel): Likewise.
6424 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6426 * java/awt/Component.java,
6427 java/awt/geom/Rectangle2D.java:
6430 2005-02-15 Michael Koch <konqueror@gmx.de>
6432 * javax/swing/AbstractListModel.java
6433 (fireContentsChanged): Simplified.
6434 (fireIntervalAdded): Likewise.
6435 (fireIntervalRemoved): Likewise.
6436 * javax/swing/DefaultSingleSelectionModel.java:
6438 (fireStateChanged): Simplified.
6439 * javax/swing/JPopupMenu.java
6440 (setSelectionModel): Set property.
6442 2005-02-15 Michael Koch <konqueror@gmx.de>
6444 * java/awt/print/Book.java: Reformatted.
6446 2005-02-15 Michael Koch <konqueror@gmx.de>
6448 * java/awt/geom/Area.java
6449 (QuadSegment.curveArea): Remove unused variables.
6450 (CubicSegment.curveArea): Likewise.
6452 2005-02-15 Michael Koch <konqueror@gmx.de>
6454 * javax/swing/JTree.java
6455 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6456 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6457 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6458 (EXPANDED): New constant.
6459 (COLLAPSED): Likewise.
6460 (nodeStates): New field.
6461 (cellEditor): New method.
6462 (cellRenderer): Likewise.
6463 (selectionModel): Likewise.
6464 (treeModel): Likewise.
6465 (scrollPathToVisible): Likewise.
6466 (scrollRowToVisible): Likewise.
6467 (isCollapsed): Likewise.
6468 (isExpanded): Likewise.
6469 (clearToggledPaths): Likewise.
6470 (getDescendantToggledPaths): Likewise.
6471 (hasBeenExpanded): Likewise.
6472 (isVisible): Likewise.
6473 (isPathEditable): Likewise.
6475 2005-02-15 Michael Koch <konqueror@gmx.de>
6477 * javax/swing/JLayeredPane.java: Reformatted.
6479 2005-02-15 Michael Koch <konqueror@gmx.de>
6481 * javax/swing/tree/DefaultMutableTreeNode.java:
6483 * javax/swing/tree/MutableTreeNode.java:
6486 2005-02-15 Michael Koch <konqueror@gmx.de>
6488 * javax/swing/JFormattedTextField.java
6489 (setDocument): Call setDocument of super class. Don't fire property
6492 2005-02-15 Sven de Marothy <sven@physto.se>
6494 * java/awt/image/IndexColorModel.java:
6495 Add FIXME with respect to alpha handling.
6496 (getAlpha): Default to returning opaque pixels.
6497 * java/awt/image/MultiPixelPackedSampleModel.java
6498 (MultiPixelPackedSampleModel): Corrected parameters, order of
6499 bit shifts and masks, stride length off by one.
6501 2005-02-15 Michael Koch <konqueror@gmx.de>
6503 * javax/swing/JList.java, javax/swing/JTree.java:
6504 Added much new methods and fixed much methods setting bound properties.
6506 2005-02-16 Mark Wielaard <mark@klomp.org>
6508 * Makefile.am (gnu_xml_source_files): Removed
6509 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6510 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6511 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6512 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6513 gnu/xml/dom/DomDocumentFragment.java,
6514 gnu/xml/dom/DomProcessingInstruction.java and
6515 gnu/xml/dom/ls/DomLSException.java.
6516 * Makefile.in: Regenerated.
6518 2005-02-16 Tom Tromey <tromey@redhat.com>
6520 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6521 attribute index is out of bounds.
6523 2005-02-16 Chris Burdess <dog@gnu.org>
6525 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6526 isDeclared methods. Improved performance of isSpecified methods.
6528 2005-02-16 Chris Burdess <dog@gnu.org>
6530 Fixes bug libgcj/19864
6531 * gnu/xml/dom/DomAttr.java,
6532 gnu/xml/dom/DomCDATA.java,
6533 gnu/xml/dom/DomCDATASection.java,
6534 gnu/xml/dom/DomCharacterData.java,
6535 gnu/xml/dom/DomDOMException.java,
6536 gnu/xml/dom/DomDoctype.java,
6537 gnu/xml/dom/DomDocument.java,
6538 gnu/xml/dom/DomDocumentConfiguration.java,
6539 gnu/xml/dom/DomDocumentFragment.java,
6540 gnu/xml/dom/DomElement.java,
6541 gnu/xml/dom/DomEx.java,
6542 gnu/xml/dom/DomFragment.java,
6543 gnu/xml/dom/DomImpl.java,
6544 gnu/xml/dom/DomIterator.java,
6545 gnu/xml/dom/DomNamedNodeMap.java,
6546 gnu/xml/dom/DomNode.java,
6547 gnu/xml/dom/DomNsNode.java,
6548 gnu/xml/dom/DomPI.java,
6549 gnu/xml/dom/DomProcessingInstruction.java,
6550 gnu/xml/dom/DomText.java,
6551 gnu/xml/dom/DomLSEx.java,
6552 gnu/xml/dom/DomLSException.java,
6553 gnu/xml/dom/DomLSParser.java,
6554 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6555 implementation class names to conform to Classpath guidelines. Make
6556 DomLSException use JDK 1.4+ exception chaining.
6557 * gnu/xml/util/SAXNullTransformerFactory.java,
6558 gnu/xml/xpath/Predicate.java: Use constants relative to
6559 declaring class or interface.
6561 2005-02-16 Andrew Haley <aph@redhat.com>
6563 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6564 null, create a new AccessControlContext.
6565 * java/security/SecureClassLoader.java (protectionDomainCache):
6567 (defineClass): Create a new protection domain and add it to our
6570 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6571 addStub() to keep track of the stub we've exported.
6572 (unexportObject): Call deleteStub().
6573 * java/rmi/server/RemoteObject.java (stubs): New field.
6574 (addStub): New method.
6575 (deleteStub): New method.
6578 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6579 true to findHelper (tryParents).
6580 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6582 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6583 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6585 If tryParents is false, don't scan parent class loaders.
6587 * java/security/Permissions.java (PermissionsHash.implies):
6588 Iterate over the collection and invoke implies() on each
6591 2005-02-16 Andrew Haley <aph@redhat.com>
6593 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6595 (PersistentByteMap): Set name
6596 Magic number changed to 0x67636a64 ("gcjd").
6597 (init): Force the map to be prime.
6598 (emptyPersistentByteMap): File name was a string, now a File.
6599 (addBytes): Share srings between entries.
6600 (stringTableSize): New method.
6601 (capacity): Scale by load factor.
6602 (force): New method.
6603 (getFile): New method.
6604 (close): New method.
6605 (putAll): New method.
6606 (ByteWrapper): New class.
6607 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6608 (main): Guess the average string size as 32, not 64.
6609 Copy a database before modifying it, so that we can update a
6610 database in a running system.
6611 If a database isn't big enough, resize it.
6612 "-m": new option: merges databases.
6613 "-a": Create a new detabase if it doesn't exist.
6614 (usage): Correct, add new option.
6615 (addJar): Copy a database before modifying it.
6616 (resizeMap): New method.
6618 2005-02-15 David Daney <ddaney@avtrex.com>
6619 Bryce McKinlay <mckinlay@redhat.com>
6621 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6622 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6623 ensure that GC threads inherit the new signal mask.
6624 (block_sigchld): Call JvFail rather than throwing exception if
6625 pthread_sigmask() fails.
6627 2005-02-15 Mark Wielaard <mark@klomp.org>
6629 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6630 file path elements are separated by spaces.
6632 2005-02-15 Mark Wielaard <mark@klomp.org>
6634 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6635 to describe attributes without a constant field value in this class.
6637 2005-02-15 Michael Koch <konqueror@gmx.de>
6639 * java/util/jar/Attributes.java
6640 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6642 2005-02-15 Mark Wielaard <mark@klomp.org>
6644 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6645 space for parsing CLASS_PATH attribute.
6647 2005-02-15 Mark Wielaard <mark@klomp.org>
6649 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6650 aside for "GCJLIBS" in directory where jarfiles are loaded.
6651 (JarURLLoader.getClass): Removed method.
6652 (JarURLLoader.toString): Removed method.
6653 (FileResource.toString): Removed method.
6655 2005-02-15 Mark Wielaard <mark@klomp.org>
6657 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6658 and/or cause before throwing.
6660 2005-02-15 Richard Henderson <rth@redhat.com>
6662 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6663 (libgcj0_convenience_la_SOURCES): ... here.
6664 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6665 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6666 * Makefile.in: Regenerate.
6668 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6671 * include/jawt.h: Likewise.
6672 * include/jawt_md.h: Likewise.
6673 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6675 * include/Makefile.in: Regenerate.
6676 * jni/classpath/classpath_jawt.h: Likewise.
6677 * jni/gtk-peer/gtk_jawt.c: Likewise.
6678 * Makefile.am: Build libjawt.so.
6679 * Makefile.in: Regenerate.
6681 2005-02-14 Tom Tromey <tromey@redhat.com>
6683 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6685 2005-02-14 Tom Tromey <tromey@redhat.com>
6687 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6688 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6690 2005-02-14 Tom Tromey <tromey@redhat.com>
6693 * testsuite/libjava.lang/PR19929.out: New file.
6694 * testsuite/libjava.lang/PR19929.java: New file.
6696 2005-02-14 Anthony Green <green@redhat.com>
6699 * testsuite/libjava.jni/PR18116.c: New file.
6700 * testsuite/libjava.jni/PR18116.java: New file.
6701 * testsuite/libjava.jni/PR18116.out: New file.
6703 2005-02-13 Anthony Green <green@redhat.com>
6706 * jni.cc (nathash_add): Don't strdup the method signature.
6707 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6711 2005-02-12 Mark Wielaard <mark@klomp.org>
6713 Fixes bug libgcj/8170
6714 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6715 ClassNotFoundException.
6716 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6717 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6718 (remove_internal): New field superceding remove_interpreter.
6719 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6720 Remove no-class methods starting with "_Jv_". And Replace null
6721 class or method names with the empty string. Stop at either the
6722 MainThread or a real Thread run() method.
6723 (newElement): Made static.
6724 * java/net/URLClassLoader.java (findClass): Throw
6725 ClassNotFoundExceptions including urls, plus parent using toString().
6726 (thisString): New field.
6727 (toString): New method.
6729 2005-02-10 Tom Tromey <tromey@redhat.com>
6731 * external/sax/Makefile.in: Rebuilt.
6732 * external/sax/Makefile.am (all-local): Removed.
6733 (BUILT_SOURCES): New variable.
6734 (mostlyclean-local): No error if no classes to delete.
6735 * external/w3c_dom/Makefile.in: Rebuilt.
6736 * external/w3c_dom/Makefile.am (all-local): Removed.
6737 (BUILT_SOURCES): New variable.
6738 (mostlyclean-local): No error if no classes to delete.
6740 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6742 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6743 of mauve and libjava.
6745 2005-02-09 Tom Tromey <tromey@redhat.com>
6747 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6748 jar file with OPEN_DELETE.
6749 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6750 OPEN_DELETE is used.
6752 2005-02-09 Tom Tromey <tromey@redhat.com>
6754 * java/util/zip/InflaterInputStream.java (markSupported):
6756 (mark, reset): Likewise.
6758 2005-02-08 Tom Tromey <tromey@redhat.com>
6760 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6761 name or port is missing.
6762 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6763 AUTHORITY_PORT_GROUP): Updated.
6765 2005-02-08 Tom Tromey <tromey@redhat.com>
6767 * configure: Rebuilt.
6768 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6771 2005-02-07 Tom Tromey <tromey@redhat.com>
6773 * java/lang/natRuntime.cc (insertSystemProperties): Set
6774 sun.boot.class.path earlier.
6776 2005-02-07 Tom Tromey <tromey@redhat.com>
6778 * defineclass.cc (handleClassBegin): Use
6779 _Jv_RegisterInitiatingLoader.
6780 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6781 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6782 class. Use _Jv_UnregisterInitiatingLoader.
6783 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6786 2005-02-07 Mark Wielaard <mark@klomp.org>
6788 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6789 java/util/regex/Matcher.java (lookingAt): Set position when match
6791 (matches): Implemented through lookingAt().
6793 2005-02-07 Mark Wielaard <mark@klomp.org>
6795 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6796 * java/util/regex/Pattern.java (split(CharSequence,int)):
6797 Fix while empties > 0 loops.
6799 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6801 * gnu/java/nio/charset/ISO_8859_1.java,
6802 gnu/java/nio/charset/US_ASCII.java,
6803 gnu/java/nio/charset/UTF_16.java,
6804 gnu/java/nio/charset/UTF_16_LE.java,
6805 gnu/java/nio/charset/UTF_16_BE.java,
6806 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6807 and aliases according to
6808 "http://www.iana.org/assignments/character-sets",
6809 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6810 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6811 * gnu/java/nio/charset/Provider.java: Made charset lookup
6812 case-insensitive which fixes bug #11740.
6814 2005-02-07 Tom Tromey <tromey@redhat.com>
6817 * Makefile.in: Rebuilt.
6818 * Makefile.am (src.zip): New target.
6819 (install-src.zip): Likewise.
6820 (sourcesdir): New variable.
6822 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6824 * javax/imageio/metadata/IIOMetadataNode.java:
6826 * javax/imageio/metadata/IIOAttr.java,
6827 javax/imageio/metadata/IIONamedNodeMap.java,
6828 javax/imageio/metadata/IIONodeList.java:
6831 2005-02-06 Graydon Hoare <graydon@redhat.com>
6833 * gnu/java/awt/ClasspathToolkit.java
6834 (registerImageIOSpis): New method.
6835 * javax/imageio/ImageIO.java
6836 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6837 (WriterMIMETypeFilter.filter): Likewise.
6838 (ImageReaderIterator): Pass extension argument through to SPI.
6839 (getReadersByFilter): Likewise.
6840 (getWritersByFilter): Likewise.
6841 (getImageReadersByFormatName): Likewise.
6842 (getImageReadersByMIMEType): Likewise.
6843 (getImageReadersBySuffix): Likewise.
6844 (getImageWritersByFormatName): Likewise.
6845 (getImageWritersByMIMEType): Likewise.
6846 (getImageWritersBySuffix): Likewise.
6849 * javax/imageio/ImageReader.java
6850 (progressListeners): Initialize.
6851 (setInput): Implement.
6852 * javax/imageio/ImageWriter.java
6853 (progressListeners): Initialize.
6854 (warningListeners): Likewise.
6855 (warningLocales): Likewise.
6856 (setOutput): Test "isInstance" rather than class equality.
6857 * javax/imageio/spi/IIORegistry.java
6858 (static): Add reader and writer SPIs.
6859 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6861 2005-02-06 Michael Koch <konqueror@gmx.de>
6863 * javax/imageio/metadata/IIOInvalidTreeException.java
6864 (IIOInvalidTreeException): Reformatted.
6865 * javax/imageio/spi/IIORegistry.java
6866 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6867 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6868 Reworked import statements.
6870 2005-02-06 Michael Koch <konqueror@gmx.de>
6872 * javax/imageio/stream/FileImageOutputStream.java:
6875 2005-02-06 Michael Koch <konqueror@gmx.de>
6877 * javax/imageio/stream/FileCacheImageInputStream.java,
6878 javax/imageio/stream/FileCacheImageOutputStream.java,
6879 javax/imageio/stream/FileImageInputStream.java,
6880 javax/imageio/stream/ImageInputStreamImpl.java,
6881 javax/imageio/stream/ImageOutputStreamImpl.java,
6882 javax/imageio/stream/MemoryCacheImageInputStream.java,
6883 javax/imageio/stream/MemoryCacheImageOutputStream.java:
6884 Added all missing methods in javax.imageio.stream.
6886 2005-02-02 David Daney <ddaney@avtrex.com>
6888 * java/net/InetAddress.java (InetAddress): Make a private copy of
6890 * java/net/Inet4Address.java (getAddress): Return a copy of the
6892 * java/net/Inet6Address.java (Inet6Address): Use private copy of
6894 (getAddress): Return a copy of the address.
6897 2005-02-02 Tom Tromey <tromey@redhat.com>
6899 * Makefile.in: Rebuilt.
6900 * Makefile.am (classes.stamp): New target, broken out from
6902 ($(all_java_class_files)): Depend on it.
6903 (libgcj-@gcc_version@.jar): Likewise.
6904 (all-recursive): Likewise.
6905 (CLEANFILES): Include classes.stamp.
6907 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
6909 * link.cc: Include <stdio.h>
6911 2005-02-02 Tom Tromey <tromey@redhat.com>
6914 * Makefile.in: Rebuilt.
6915 * Makefile.am (ordinary_java_source_files): Added new class.
6916 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6917 Use system_instance, not instance.
6918 * gnu/gcj/runtime/SystemClassLoader.java: New file.
6919 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
6921 (system_instance): New field.
6922 (initialize): Initialize the system loader as well.
6923 (VMClassLoader): Default to LIB_CACHE.
6925 2005-02-02 Tom Tromey <tromey@redhat.com>
6927 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
6928 * prims.cc: Fixed comment.
6930 2005-02-01 Tom Tromey <tromey@redhat.com>
6932 * Makefile.in: Rebuilt.
6933 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
6934 (.java.class): Use BOOTCLASSPATH.
6936 2005-02-01 Tom Tromey <tromey@redhat.com>
6938 * external/w3c_dom/Makefile.am: New file.
6939 * external/w3c_dom/Makefile.in: New file.
6940 * external/sax/Makefile.am: New file.
6941 * external/sax/Makefile.in: New file.
6942 * external/Makefile.in: New file.
6943 * external/Makefile.am: New file.
6944 * external/README: New file from Classpath.
6945 * configure, aclocal.m4, Makefile.in: Rebuilt.
6946 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
6947 * Makefile.am (SUBDIRS): Added external.
6948 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
6949 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
6950 (BOOTCLASSPATH): New variable.
6951 (AM_GCJFLAGS): Use it.
6952 (gnu_xml_source_files): New variable.
6953 (libgcj_la_SOURCES): Use it.
6954 (libgcj_la_LDADD): Include new convenience libraries.
6955 (lib_org_ietf_jgss_la_SOURCES): Removed.
6956 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
6957 (lib_org_ietf_jgss_la_LIBADD): Likewise.
6958 (lib_org_w3c_dom_la_SOURCES): Removed.
6959 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
6960 (lib_org_w3c_dom_la_LIBADD): Likewise.
6961 (lib_org_xml_sax_la_SOURCES): Removed.
6962 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
6963 (lib_org_xml_sax_la_LIBADD): Likewise.
6964 (all_java_source_files): Updated.
6965 (property_files): Likewise.
6966 (libgcj-@gcc_version@.jar): Include classes from external/.
6967 (javax_source_files): Updated.
6968 (ordinary_java_source_files): Updated.
6969 * javax/xml/XMLConstants.java,
6970 javax/xml/datatype/DatatypeConfigurationException.java,
6971 javax/xml/datatype/DatatypeConstants.java,
6972 javax/xml/datatype/DatatypeFactory.java,
6973 javax/xml/datatype/Duration.java,
6974 javax/xml/datatype/XMLGregorianCalendar.java,
6975 javax/xml/datatype/package.html,
6976 javax/xml/namespace/NamespaceContext.java,
6977 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
6978 javax/xml/parsers/DocumentBuilder.java,
6979 javax/xml/parsers/DocumentBuilderFactory.java,
6980 javax/xml/parsers/FactoryConfigurationError.java,
6981 javax/xml/parsers/ParserConfigurationException.java,
6982 javax/xml/parsers/SAXParser.java,
6983 javax/xml/parsers/SAXParserFactory.java,
6984 javax/xml/parsers/package.html,
6985 javax/xml/transform/ErrorListener.java,
6986 javax/xml/transform/OutputKeys.java,
6987 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
6988 javax/xml/transform/SourceLocator.java,
6989 javax/xml/transform/Templates.java,
6990 javax/xml/transform/Transformer.java,
6991 javax/xml/transform/TransformerConfigurationException.java,
6992 javax/xml/transform/TransformerException.java,
6993 javax/xml/transform/TransformerFactory.java,
6994 javax/xml/transform/TransformerFactoryConfigurationError.java,
6995 javax/xml/transform/URIResolver.java,
6996 javax/xml/transform/package.html,
6997 javax/xml/transform/dom/DOMLocator.java,
6998 javax/xml/transform/dom/DOMResult.java,
6999 javax/xml/transform/dom/DOMSource.java,
7000 javax/xml/transform/dom/package.html,
7001 javax/xml/transform/sax/SAXResult.java,
7002 javax/xml/transform/sax/SAXSource.java,
7003 javax/xml/transform/sax/SAXTransformerFactory.java,
7004 javax/xml/transform/sax/TemplatesHandler.java,
7005 javax/xml/transform/sax/TransformerHandler.java,
7006 javax/xml/transform/sax/package.html,
7007 javax/xml/transform/stream/StreamResult.java,
7008 javax/xml/transform/stream/StreamSource.java,
7009 javax/xml/transform/stream/package.html,
7010 javax/xml/validation/Schema.java,
7011 javax/xml/validation/SchemaFactory.java,
7012 javax/xml/validation/TypeInfoProvider.java,
7013 javax/xml/validation/Validator.java,
7014 javax/xml/validation/ValidatorHandler.java,
7015 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7016 javax/xml/xpath/XPathConstants.java,
7017 javax/xml/xpath/XPathException.java,
7018 javax/xml/xpath/XPathExpression.java,
7019 javax/xml/xpath/XPathExpressionException.java,
7020 javax/xml/xpath/XPathFactory.java,
7021 javax/xml/xpath/XPathFactoryConfigurationException.java,
7022 javax/xml/xpath/XPathFunction.java,
7023 javax/xml/xpath/XPathFunctionException.java,
7024 javax/xml/xpath/XPathFunctionResolver.java,
7025 javax/xml/xpath/XPathVariableResolver.java,
7026 javax/xml/xpath/package.html: New files, from GNU JAXP.
7027 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7028 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7029 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7030 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7031 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7032 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7033 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7034 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7035 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7036 org/w3c/dom/ranges/DocumentRange.java,
7037 org/w3c/dom/ranges/Range.java,
7038 org/w3c/dom/ranges/RangeException.java,
7039 org/w3c/dom/traversal/DocumentTraversal.java,
7040 org/w3c/dom/traversal/NodeFilter.java,
7041 org/w3c/dom/traversal/NodeIterator.java,
7042 org/w3c/dom/traversal/TreeWalker.java,
7043 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7044 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7045 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7046 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7047 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7048 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7049 org/xml/sax/SAXNotRecognizedException.java,
7050 org/xml/sax/SAXNotSupportedException.java,
7051 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7052 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7053 org/xml/sax/ext/DeclHandler.java,
7054 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7055 org/xml/sax/helpers/AttributeListImpl.java,
7056 org/xml/sax/helpers/AttributesImpl.java,
7057 org/xml/sax/helpers/DefaultHandler.java,
7058 org/xml/sax/helpers/LocatorImpl.java,
7059 org/xml/sax/helpers/NamespaceSupport.java,
7060 org/xml/sax/helpers/NewInstance.java,
7061 org/xml/sax/helpers/ParserAdapter.java,
7062 org/xml/sax/helpers/ParserFactory.java,
7063 org/xml/sax/helpers/XMLFilterImpl.java,
7064 org/xml/sax/helpers/XMLReaderAdapter.java,
7065 org/xml/sax/helpers/XMLReaderFactory.java,
7066 org/xml/sax/helpers/package.html: Moved to external/.
7067 * external/sax/README,
7068 external/sax/org/xml/sax/AttributeList.java,
7069 external/sax/org/xml/sax/Attributes.java,
7070 external/sax/org/xml/sax/ContentHandler.java,
7071 external/sax/org/xml/sax/DTDHandler.java,
7072 external/sax/org/xml/sax/DocumentHandler.java,
7073 external/sax/org/xml/sax/EntityResolver.java,
7074 external/sax/org/xml/sax/ErrorHandler.java,
7075 external/sax/org/xml/sax/HandlerBase.java,
7076 external/sax/org/xml/sax/InputSource.java,
7077 external/sax/org/xml/sax/Locator.java,
7078 external/sax/org/xml/sax/Parser.java,
7079 external/sax/org/xml/sax/SAXException.java,
7080 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7081 external/sax/org/xml/sax/SAXNotSupportedException.java,
7082 external/sax/org/xml/sax/SAXParseException.java,
7083 external/sax/org/xml/sax/XMLFilter.java,
7084 external/sax/org/xml/sax/XMLReader.java,
7085 external/sax/org/xml/sax/package.html,
7086 external/sax/org/xml/sax/ext/Attributes2.java,
7087 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7088 external/sax/org/xml/sax/ext/DeclHandler.java,
7089 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7090 external/sax/org/xml/sax/ext/EntityResolver2.java,
7091 external/sax/org/xml/sax/ext/LexicalHandler.java,
7092 external/sax/org/xml/sax/ext/Locator2.java,
7093 external/sax/org/xml/sax/ext/Locator2Impl.java,
7094 external/sax/org/xml/sax/ext/package.html,
7095 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7096 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7097 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7098 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7099 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7100 external/sax/org/xml/sax/helpers/NewInstance.java,
7101 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7102 external/sax/org/xml/sax/helpers/ParserFactory.java,
7103 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7104 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7105 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7106 external/sax/org/xml/sax/helpers/package.html,
7107 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7108 external/w3c_dom/org/w3c/dom/Attr.java,
7109 external/w3c_dom/org/w3c/dom/CDATASection.java,
7110 external/w3c_dom/org/w3c/dom/CharacterData.java,
7111 external/w3c_dom/org/w3c/dom/Comment.java,
7112 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7113 external/w3c_dom/org/w3c/dom/DOMError.java,
7114 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7115 external/w3c_dom/org/w3c/dom/DOMException.java,
7116 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7117 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7118 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7119 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7120 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7121 external/w3c_dom/org/w3c/dom/Document.java,
7122 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7123 external/w3c_dom/org/w3c/dom/DocumentType.java,
7124 external/w3c_dom/org/w3c/dom/Element.java,
7125 external/w3c_dom/org/w3c/dom/Entity.java,
7126 external/w3c_dom/org/w3c/dom/EntityReference.java,
7127 external/w3c_dom/org/w3c/dom/NameList.java,
7128 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7129 external/w3c_dom/org/w3c/dom/Node.java,
7130 external/w3c_dom/org/w3c/dom/NodeList.java,
7131 external/w3c_dom/org/w3c/dom/Notation.java,
7132 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7133 external/w3c_dom/org/w3c/dom/Text.java,
7134 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7135 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7136 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7137 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7138 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7139 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7140 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7141 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7142 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7143 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7144 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7145 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7146 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7147 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7148 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7149 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7150 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7151 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7152 external/w3c_dom/org/w3c/dom/css/Counter.java,
7153 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7154 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7155 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7156 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7157 external/w3c_dom/org/w3c/dom/css/Rect.java,
7158 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7159 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7160 external/w3c_dom/org/w3c/dom/events/Event.java,
7161 external/w3c_dom/org/w3c/dom/events/EventException.java,
7162 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7163 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7164 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7165 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7166 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7167 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7168 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7169 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7170 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7171 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7172 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7173 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7174 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7175 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7176 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7177 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7178 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7179 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7180 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7181 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7182 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7183 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7184 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7185 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7186 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7187 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7188 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7189 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7190 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7191 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7192 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7193 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7194 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7195 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7196 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7197 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7198 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7199 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7200 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7201 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7202 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7203 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7204 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7205 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7206 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7207 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7208 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7209 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7210 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7211 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7212 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7213 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7214 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7215 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7216 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7217 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7218 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7219 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7220 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7221 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7222 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7223 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7224 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7225 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7226 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7227 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7228 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7229 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7230 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7231 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7232 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7233 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7234 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7235 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7236 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7237 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7238 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7239 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7240 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7241 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7242 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7243 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7244 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7245 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7246 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7247 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7248 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7249 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7250 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7251 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7252 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7253 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7256 2005-01-31 Anthony Green <green@redhat.com>
7258 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7259 Support IP_MULTICAST_LOOP.
7260 (setOption): Support IP_MULTICAST_LOOP.
7262 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7263 SO_REUSEADDR support.
7264 (getOption): Support SO_REUSEADDR.
7266 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7269 * java/util/Date.java
7270 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7272 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7274 (getTimezoneOffset): Inverted sign.
7276 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7278 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7279 remove other passing tests and add new XFAILs.
7281 2005-01-24 Tom Tromey <tromey@redhat.com>
7283 * java/lang/Class.h (next): Updated documentation. Renamed to
7285 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7286 _Jv_CheckABIVersion.
7287 (_Jv_RegisterClasses_Counted): Likewise.
7288 (_Jv_RegisterClassHookDefault): Fix starting condition of
7289 duplicate-checking loop.
7290 * include/jvm.h (GCJ_VERSION): New define.
7291 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7292 (_Jv_CheckABIVersion): New function.
7294 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7296 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7297 (libgij_la_LDFLAGS): Add.
7298 * Makefile.in: Rebuilt.
7300 2005-01-24 Roger Sayle <roger@eyesopen.com>
7303 * testsuite/libjava.compile/PR19295.java: New test case.
7305 2005-01-19 Tom Tromey <tromey@redhat.com>
7307 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7308 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7309 if 'handler' is valid.
7311 2005-01-17 Tom Tromey <tromey@redhat.com>
7313 * java/text/MessageFormat.java (scanString): Changed how quoting
7315 (scanFormatElement): Likewise.
7317 2004-12-07 Mark Wielaard <mark@klomp.org>
7319 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7321 2005-01-15 Michael Koch <konqueror@gmx.de>
7325 (AUTHORITY_REGEXP): New regexp constant.
7326 (AUTHORITY_USERINFO_GROUP): New constant.
7327 (AUTHORITY_HOST_GROUP): Likewise.
7328 (AUTHORITY_PORT_GROUP): Likewise.
7329 (port): Changed default value to -1.
7330 (parseURI): Parse authority part and initialize host,
7333 2005-01-14 Robin Green <greenrd@greenrd.org>
7335 * java/io/File.java (toURI): Generate a URI which we understand.
7337 2005-01-13 Graydon Hoare <graydon@redhat.com>
7339 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7340 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7341 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7342 * jni.cc: Reuse bottom frame between calls, avoid clearing
7343 frame when no local references are made.
7345 2005-01-13 Michael Koch <konqueror@gmx.de>
7348 * java/lang/Thread.java
7349 (Thread): Call checkAccess().
7350 (stop): Fixed argument name to match javadoc.
7351 * java/lang/natThread.cc
7352 (interrupt): Call checkAccess().
7355 2005-01-11 Michael Koch <konqueror@gmx.de>
7358 * java/net/URL.java (URL): Handle specs like
7359 "/redir?http://domain2.com/index.html" which start with a slash.
7361 2005-01-11 Michael Koch <konqueror@gmx.de>
7363 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7364 * gnu/java/net/BASE64.java,
7365 gnu/java/net/EmptyX509TrustManager.java,
7366 gnu/java/net/LineInputStream.java,
7367 gnu/java/net/protocol/http/Authenticator.java,
7368 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7369 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7370 gnu/java/net/protocol/http/ChunkedInputStream.java,
7371 gnu/java/net/protocol/http/Cookie.java,
7372 gnu/java/net/protocol/http/CookieManager.java,
7373 gnu/java/net/protocol/http/Credentials.java,
7374 gnu/java/net/protocol/http/HTTPConnection.java,
7375 gnu/java/net/protocol/http/HTTPDateFormat.java,
7376 gnu/java/net/protocol/http/HTTPURLConnection.java,
7377 gnu/java/net/protocol/http/Headers.java,
7378 gnu/java/net/protocol/http/Request.java,
7379 gnu/java/net/protocol/http/RequestBodyWriter.java,
7380 gnu/java/net/protocol/http/Response.java,
7381 gnu/java/net/protocol/http/ResponseBodyReader.java,
7382 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7383 gnu/java/net/protocol/http/SimpleCookieManager.java,
7384 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7385 gnu/java/net/protocol/http/event/ConnectionListener.java,
7386 gnu/java/net/protocol/http/event/RequestEvent.java,
7387 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7388 * gnu/java/net/protocol/http/Connection.java: Removed.
7389 * gnu/java/net/protocol/http/Handler.java,
7390 javax/net/ssl/HttpsURLConnection.java: Updated.
7391 * Makefile.am: Added new files and remove old ones.
7392 * Makefile.in: Regenerated.
7394 2005-01-11 Tom Tromey <tromey@redhat.com>
7397 * java/io/BufferedInputStream.java (read): Repeatedly read to
7399 (refill): Change test to see if buffer must be grown.
7401 2005-01-10 Tom Tromey <tromey@redhat.com>
7403 * mauve-libgcj: Exclude some swing tests.
7405 2005-01-10 Tom Tromey <tromey@redhat.com>
7407 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7408 * java/lang/Package.java (getPackages): Use VMClassLoader when
7410 (getPackage): Likewise.
7411 * prims.cc (_Jv_CreateJavaVM): Call
7412 _Jv_RegisterBootstrapPackages.
7413 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7414 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7415 (getPackages): Likewise.
7416 (definedPackages): New field.
7417 (definePackageForNative): New method.
7418 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7419 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7420 * defineclass.cc (handleClassBegin): Use
7421 ClassLoader.findLoadedClass.
7422 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7424 (struct _Jv_LoaderInfo): Removed.
7425 (initiated_classes): Likewise.
7426 (_Jv_UnregisterClass): Don't use initiated_classes.
7427 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7428 (_Jv_FindClass): Register classes found during boostrap.
7429 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7430 (bootstrap_class_list): New global.
7431 (bootstrap_index): Likewise.
7432 (_Jv_RegisterBootstrapPackages): New function.
7433 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7434 definePackageForNative.
7435 (findClass): Updated.
7436 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7439 2005-01-10 Tom Tromey <tromey@redhat.com>
7442 * include/jvm.h (_Jv_Linker::find_field): Declare.
7443 (_Jv_Linker::find_field_helper): Likewise.
7444 * link.cc (find_field_helper): New method.
7445 (find_field): Likewise.
7446 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7448 (link_symbol_table): Use find_field.
7450 2005-01-10 Michael Koch <konqueror@gmx.de>
7453 * java/util/Locale.java (Locale): Don't uppercase variant.
7454 (getISOCountries): Fixed typo in javadoc.
7456 2005-01-10 Michael Koch <konqueror@gmx.de>
7458 * java/util/SimpleTimeZone.java (checkRule):
7459 Throw IllegalArgumentException on invalid month values.
7460 * java/util/TimeZone.java (setID):
7461 Throw NullPointerException if needed.
7463 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7465 * java/util/SimpleTimeZone.java (getOffset):
7466 offset end date with daylight savings
7468 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7470 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7471 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7473 2005-01-09 Michael Koch <konqueror@gmx.de>
7476 * java/net/InetAddress.java (getLocalHost):
7477 Throw UnknownHostException if local hostname cannot be determined.
7479 2005-01-06 Tom Tromey <tromey@redhat.com>
7481 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7483 2005-01-07 Michael Koch <konqueror@gmx.de>
7486 * java/nio/Buffer.java (address): New field.
7487 * java/nio/DirectByteBufferImpl.java (address): Removed.
7488 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7489 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7490 Explicitly initialize Buffer.address if needed.
7491 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7492 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7493 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7494 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7495 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7496 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7497 DirectByteBufferImpl object.
7498 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7499 * testsuite/libjava.jni/directbuffer.c,
7500 testsuite/libjava.jni/directbuffer.java,
7501 testsuite/libjava.jni/directbuffer.out,
7502 testsuite/libjava.jni/bytebuffer.c,
7503 testsuite/libjava.jni/bytebuffer.java,
7504 testsuite/libjava.jni/bytebuffer.out: New files.
7506 2005-01-05 Tom Tromey <tromey@redhat.com>
7508 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7510 (compressedSize): Now 'long'. Default to -1.
7511 (getCompressedSize): Rewrote.
7512 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7513 deflate at all if we need input.
7515 2005-01-05 Tom Tromey <tromey@redhat.com>
7518 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7521 2005-01-05 Tom Tromey <tromey@redhat.com>
7523 * java/lang/natRuntime.cc (insertSystemProperties): Set
7524 java.ext.dirs earlier.
7526 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7528 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7529 sync_info element of the object if needed.
7531 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7533 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7534 a non-zero exit status from 'false'.
7536 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7538 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.