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