1 2005-05-19 Richard Henderson <rth@redhat.com>
3 * exception.cc: Revert 05-17 gcc_unreachable change.
5 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
7 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
8 _Jv_RegisterInitiatingLoader to register array classes, not
10 (_Jv_RegisterInitiatingLoader): Give up if called very early during
11 bootstrapping. Add a FIXME to handle this case better.
13 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
15 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
17 (libgcj_la_SOURCES): New. Move sources here.
18 (libgcj.la): Remove rule.
20 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
23 * gnu/java/security/provider/DSASignature.java: Import updates
26 2005-05-18 Anthony Green <green@redhat.com>
28 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
29 classpath_jawt_object_unlock, classpath_jawt_create_lock,
30 classpath_jawt_destroy_lock): New functions.
31 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
32 classpath_jawt_object_unlock, classpath_jawt_create_lock,
33 classpath_jawt_destroy_lock): New functions.
34 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
36 * jawt.c: #include malloc.h.
39 (_Jv_GetDrawingSurface): Initialize lock.
40 (_Jv_FreeDrawingSurface): Destroy lock.
41 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
43 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
45 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
46 * Makefile.in: Regenerate.
48 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
50 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
51 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
52 * aclocal.m4, configure, config.h.in, include/config.h.in,
53 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
54 external/Makefile.in, external/sax/Makefile.in,
55 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
57 2005-05-17 David Daney <ddaney@avtrex.com>
60 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
62 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
64 * exception.cc (abort): Remove std::abort hack.
65 (gcc_unreacheable): Define.
67 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
69 * Makefile.am (Makefile.deps): Do not create native.list and
71 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
72 * Makefile.in: Regenerate.
74 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
76 * configure.ac (--enable-libgcj-multifile): Remove.
78 * Makefile.am (all_native_compiled_source_files,
79 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
80 all_libgcj_lo_files, all_xlib_lo_files,
81 all_java_deps_files, all_java_stamp_files,
82 all_java_filelist_files): New variables.
83 (EXTRA_DIST): New Automake variable.
84 (CLEANFILES): Add .stamp, .list and .lo files.
85 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
86 (classes.stamp): Depend on $(all_java_stamp_files).
87 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
88 going through write_entries_to_file.
90 (all_java_source_files, all_property_files): Move earlier.
91 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
92 all_java_class_files): Remove.
93 (gtk_awt_peer_sources): Rename to...
94 (gtk_awt_peer_source_files): ... this. Adjust throughout.
97 (libgcj0_convenience_la_SOURCES): Remove Java source files.
98 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
99 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
100 (libgcj_la_SOURCES): Remove.
101 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
102 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
103 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
105 * configure: Regenerate.
106 * Makefile.in: Regenerate.
107 * external/Makefile.in: Regenerate.
108 * external/sax/Makefile.in: Regenerate.
109 * external/w3c_dom/Makefile.in: Regenerate.
110 * gcj/Makefile.in: Regenerate.
111 * include/Makefile.in: Regenerate.
112 * libltdl/Makefile.in: Regenerate.
113 * testsuite/Makefile.in: Regenerate.
115 2005-05-16 Tom Tromey <tromey@redhat.com>
117 * java/nio/charset/Charset.java (encode, decode): Synchronize on
118 'this', not the class.
120 2005-05-16 Tom Tromey <tromey@redhat.com>
122 * gnu/java/net/protocol/http/Headers.java (parse): Include final
125 2005-05-16 Tom Tromey <tromey@redhat.com>
128 * java/net/URI.java (unquote): Handle lower-case letters as well.
130 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
133 gnu/regexp/RE.java: Add support for quoting constructs.
135 2005-05-15 Tom Tromey <tromey@redhat.com>
137 * java/lang/String.java (startsWith): Fixed javadoc.
139 2005-05-15 Tom Tromey <tromey@redhat.com>
142 * testsuite/libjava.compile/pr21519.java: New file.
143 * testsuite/libjava.compile/pr21519.no-link: New file.
145 2005-05-15 Tom Tromey <tromey@redhat.com>
147 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
149 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
152 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
153 interrupt status flag if _Jv_CondWait is interrupted.
155 2005-05-13 Tom Tromey <tromey@redhat.com>
157 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
160 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
162 * include/jvm.h (gcj::verifyClasses): Declare.
163 * link.cc (gcj::verbose_class_flag): Moved.
164 * prims.cc (gcj::verifyClasses): Define here.
165 (gcj::verbose_class_flag): Move definition here.
166 (_Jv_Linker::wait_for_state): Don't call verify_class
167 if gcj::verifyClasses is not set.
168 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
170 2005-05-12 Aaron Luchko <aluchko@redhat.com>
172 * gij.cc (main): Recognize '-verify', '-noverify', and
175 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
177 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
179 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
181 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
184 2005-05-11 Tom Tromey <tromey@redhat.com>
186 * external/w3c_dom/Makefile.in: Rebuilt.
187 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
189 * external/sax/Makefile.in: Rebuilt.
190 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
192 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
194 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
195 Call _Jv_CopyClassesToSystemLoader.
196 * java/lang/natClassLoader.cc (system_class_list): New global.
197 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
199 (_Jv_CopyClassesToSystemLoader): New function.
200 (SYSTEM_LOADER_INITIALIZED): New define.
201 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
202 (_Jv_CheckABIVersion): Use it.
203 (_Jv_ClassForBootstrapLoader): New function.
204 * Makefile.in: Rebuilt.
205 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
207 2005-05-10 Tom Tromey <tromey@redhat.com>
209 * gcj/javaprims.h: Updated.
210 * java/lang/String.java (String(StringBuilder)): New constructor.
211 * java/lang/natStringBuilder.cc: New file.
212 * java/lang/StringBuilder.java: New file.
213 * Makefile.in: Rebuilt.
214 * Makefile.am (core_java_source_files): Added StringBuilder.java.
215 (nat_source_files): Added natStringBuilder.cc.
217 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
220 * testsuite/libjava.jacks/jacks.xfail: Adjust.
222 2005-05-09 Mike Stump <mrs@apple.com>
224 * configure: Regenerate.
226 2005-05-09 David Daney <ddaney@avtrex.com>
228 * java/util/BitSet.java (get(int, int)): Fix breakage when
229 requested set doesn't start on a multiple of 64.
231 2005-05-07 Matthias Klose <doko@debian.org>
233 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
235 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
237 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
238 * Makefile.in: Regenerate.
239 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
240 (createCompatibleVolatileImage(int,int)): Implement.
241 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
243 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
245 (createVolatileImage): Implement.
246 (createBuffers): Likewise.
247 (getBackBuffer): Likewise.
249 (destroyBuffers): Likewise.
250 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
251 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
252 (CanvasFlipBufferStrategy): Likewise.
253 (createBufferStrategy(int)): New method.
254 (createBufferStrategy(int,BufferCapabilities)): Likewise.
255 * java/awt/Component.java (BltBufferStrategy): Implement and
257 (FlipBufferStrategy): Likewise.
258 * java/awt/Window.java (WindowBltBufferStrategy): New class.
259 (WindowFlipBufferStrategy): Likewise.
260 (createBufferStrategy(int)): New method.
261 (createBufferStrategy(int,BufferCapabilities)): Likewise.
262 (getBufferStrategy): Likewise.
263 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
264 front to frontCaps and back to backCaps.
266 2005-05-06 Michael Koch <konqueror@gmx.de>
268 * java/awt/BufferCapabilities.java
269 (BufferCapabilities): Merged javadoc.
271 2005-05-06 Michael Koch <konqueror@gmx.de>
273 * java/util/Locale.java
274 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
275 (getLocale): New methods. Use it everywhere where instances of Locales
277 (getDisplayLanguage): Merged javadoc.
278 (getDisplayCountry): Likewise.
279 (getDisplayVariant): Likewise.
281 2005-05-06 Archie Cobbs <archie@dellroad.org>
283 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
284 use DeleteLocalRef() to avoid exhausting local native references.
286 2005-05-06 Mark Wielaard <mark@klomp.org>
288 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
289 (window_delete_cb): Don't use C++ style comments.
291 2005-05-06 Robert Schuster <thebohemian@gmx.net>
293 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
296 2005-05-06 Robert Schuster <thebohemian@gmx.net>
298 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
299 (window_delete_cb): Made the function return TRUE.
301 2005-05-06 Roman Kennke <roman@kennke.org>
303 * javax/swing/text/PlainView.java
304 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
306 * javax/swing/text/Utilities.java
307 (drawTabbedText): Initilialize local variable pos correctly.
309 2005-05-06 Roman Kennke <roman@kennke.org>
311 * javax/swing/text/AbstractDocument.java
312 (LeafElement): Made start and end package private fields for
313 effective reindexing.
314 * javax/swing/text/PlainDocument.java
315 (constructor): The field rootElement is always BranchElement,
316 so we handle it as such.
317 (removeUpdate): Rewritten reindexing for removeUpdate so that
318 the actual removal is taken into account.
320 2005-05-06 Roman Kennke <roman@kennke.org>
322 * javax/swing/text/GapContent.java:
323 Removed debugging output stuff, which I accidentally left in.
325 2005-05-06 Roman Kennke <roman@kennke.org>
327 * javax/swing/text/GapContent.java:
328 Implemented a real GapContent. Only the public methods have
329 been implemented so far and still no UndoableEdit support.
331 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
333 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
336 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
338 * java/awt/image/BufferStrategy.java: Document.
340 * java/awt/BufferCapabilities.java: Document.
342 2005-05-04 Tom Tromey <tromey@redhat.com>
344 * java/nio/channels/FileLock.java (toString): Entirely avoid
347 2005-05-04 Andrew Overholt <overholt@redhat.com>
349 * java/nio/channels/FileLock.java (toString): Re-implement using
352 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
354 * java/awt/ImageCapabilities.java: Document.
356 * java/awt/image/VolatileImage.java: Unindent copyright header.
358 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
360 * java/awt/image/VolatileImage.java: Document.
362 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
364 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
365 (init_glib_threads): Check if threading system is already
368 2005-05-03 Andrew Overholt <overholt@redhat.com>
371 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
372 could not be acquired.
373 * java/nio/channels/FileLock.java (toString): Re-implement to be
374 in line with other implementations.
376 2005-05-03 Tom Tromey <tromey@redhat.com>
378 * java/lang/VMSecurityManager.java (currentClassLoader): Use
379 'systemClasssLoader' directly.
381 2005-05-03 Tom Tromey <tromey@redhat.com>
383 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
384 call VMClassLoader.getSystemClassLoader.
386 2005-04-29 Michael Koch <konqueror@gmx.de>
388 * java/net/NetworkInterface.java
390 (NetworkInterface(String,InetAddress)): Made package-private.
391 (NetworkInterface(String,InetAddress[])): New constructor.
392 (getRealNetworkInterfaces): Removed.
393 (getByName): Use VMNetworkInterface.getInterfaces().
394 (getByInetAddress): Likewise.
395 (getNetworkInterfaces): Likewise.
396 * java/net/VMNetworkInterface.java,
397 java/net/natVMNetworkInterfaceNoNet.cc,
398 java/net/natVMNetworkInterfacePosix.c,c
399 java/net/natVMNetworkInterfaceWin32.cc: New files.
400 * java/net/natNetworkInterfaceNoNet.cc,
401 java/net/natNetworkInterfacePosix.cc,
402 java/net/natNetworkInterfaceWin32.cc: Removed.
405 * configure, Makefile.in: Regenerated.
407 2005-04-29 Andrew Haley <aph@redhat.com>
409 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
411 2005-04-29 Dalibor Topic <robilad@kaffe.org>
413 * java/nio/channels/FileChannelImpl.java
414 (FileChannelImpl(String, int)): Removed.
415 (FileChannelImpl(File, int)): Added. Check if opened file is a
417 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
418 Call FileChannelImpl(File, int).
419 * java/io/FileOutputStream.java (FileInputStream): Call
420 FileChannelImpl(File, int).
421 * java/io/RandomAccessFile.java (RandomAccessFile):
422 Call FileChannelImpl(File, int). Switched constructors around.
424 2005-04-27 Andrew Haley <aph@redhat.com>
427 * prims.cc (_Jv_ResolvePoolEntry): New function.
428 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
429 * link.cc (_Jv_Linker::find_field): New arg: found_class.
430 (resolve_pool_entry): Initialize the class in which a field is
432 (link_symbol_table): Pass new arg to found_class.
434 2005-04-29 Michael Koch <konqueror@gmx.de>
436 * java/nio/charset/Charset.java
437 (provider): Reformatted.
439 2005-04-29 Michael Koch <konqueror@gmx.de>
441 * gnu/java/net/protocol/http/HTTPConnection.java:
442 (userAgent): Initialize from system properties.
443 (initUserAgent): Removed.
445 2005-04-29 Mark Wielaard <mark@klomp.org>
447 * java/util/ResourceBundle.java (getObject): Clarify
448 MissingResourceException detailed message.
449 (tryBundle(String,ClassLoader)): Likewise.
451 2005-04-29 Robert Schuster <thebohemian@gmx.net>
453 * java/beans/FeatureDescriptor.java:
454 (getShortDescription): Implemented fallback mechanism and fixed
455 documentation (fixes bug #12637).
456 (getDisplayName): Dito.
458 2005-04-29 Robert Schuster <thebohemian@gmx.net>
460 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
461 will now be set correctly.
462 (flushCaches): Now flushes all cached intermediate data.
464 2005-04-28 Michael Koch <konqueror@gmx.de>
466 * java/net/InetAddress.java
467 (aton): Fixed javadoc.
470 2005-04-28 Tom Tromey <tromey@redhat.com>
472 * javax/swing/Timer.java
473 (drainEvents, queueEvent): Now package-private.
475 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
477 * javax/swing/Timer.java
478 (constructor): Assigning initialDelay.
480 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
482 * javax/swing/Timer.java
483 (Waker.run): firing the first action event.
485 2005-04-28 Michael Koch <konqueror@gmx.de>
487 * javax/swing/Timer.java: Reordered all fields and methods,
490 2005-04-28 Michael Koch <konqueror@gmx.de>
492 * javax/swing/Timer.java: Javadocs merged
495 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
497 * gnu/java/net/protocol/file/Connection.java
498 (StaticData): New inner class to contain statics.
499 (connect, getHeaderField): Modified to use StaticData.
501 2005-04-28 Michael Koch <konqueror@gmx.de>
503 * gnu/java/net/protocol/file/Connection.java
504 (lineSeparator): Initialize with SystemProperties.getProperty().
506 2005-04-27 Chris Burdess <dog@gnu.org>
508 * gnu/java/net/protocol/file/Connection.java: Return correct content
509 length for directory listing.
510 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
511 #11285: return valid URLs for directories.i
513 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
515 * Makefile.am (ordinary_java_source_files): Add
516 gnu/java/net/protocol/https/Handler.java.
517 * Makefile.in: Regenerate.
518 * java/net/URL.java: Remove org.metastatic.jessie from default
519 protocol search path.
521 2005-04-27 Chris Burdess <dog@gnu.org>
523 * gnu/java/net/protocol/https/Handler.java: New file.
525 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
527 * javax/imageio/spi/IIORegistry.java (IIORegistry):
528 Don't assume that awt Toolkit is always ClasspathToolkit.
530 2005-04-27 Chris Burdess <dog@gnu.org>
532 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
533 absolute and relative paths in Location header.
535 2005-04-27 Chris Burdess <dog@gnu.org>
537 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
538 FileNotFoundException and implement getErrorStream on 404.
540 2005-04-27 Sven de Marothy <sven@physto.se>
542 * java/util/TimeZone.java,
543 (getDefaultDisplayName): Fix previous fix.
545 2005-04-27 Sven de Marothy <sven@physto.se>
547 * java/util/TimeZone.java,
548 (getDefaultDisplayName): Don't print zero offsets.
550 2005-04-27 Roman Kennke <roman@kennke.org>
552 * javax/swing/plaf/basic/BasicScrollBarUI
553 (getThumbBounds): Do not make thumb smaller than
555 * javax/swing/plaf/metal/MetalLookAndFeel
556 (initComponentDefaults): Added color defaults for ScrollBar.
557 * javax/swing/plaf/metal/MetalScrollBarUI
559 (getMinimumThumbSize): Added.
561 2005-04-27 Roman Kennke <roman@kennke.org>
563 * javax/swing/plaf/metal/MetalLookAndFeel
564 (initComponentDefaults): Added some default colors.
566 2005-04-27 Roman Kennke <roman@kennke.org>
568 * javax/swing/plaf/basic/BasicScrollBarUI.java
569 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
570 to 'ScrollBar.thumbShadow'. The formes does not exist.
571 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
573 2005-04-27 Roman Kennke <roman@kennke.org>
575 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
576 * javax/swing/BoxLayout.java: Likewise.
577 * javax/swing/UIManager.java: Likewise.
578 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
579 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
580 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
581 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
582 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
583 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
584 * javax/swing/text/Document.java: Likewise.
585 * javax/swing/text/GapContent.java: Likewise.
586 * javax/swing/text/SimpleAttributeSet.java: Likewise.
587 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
589 2005-04-27 Roman Kennke <roman@kennke.org>
591 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
592 (getPropertyPrefix): Added.
594 2005-04-27 Roman Kennke <roman@kennke.org>
596 * javax/swing/plaf/basic/BasicButtonUI.java
597 (getPropertyPrefix): Added.
598 (installDefaults): Use getPropertyPrefix instead of hard-coded
601 2005-04-27 Roman Kennke <roman@kennke.org>
603 * javax/swing/JToggleButton.java
604 (JToggleButton): Removed horizontalAlignment setting, this
605 was wrong. Added setting of an actionCommand, ToggleButtons
606 have "" as default actionCommand.
608 2005-04-27 Michael Koch <konqueror@gmx.de>
610 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
611 to work around CNI limitation.
613 2005-04-27 Sven de Marothy <sven@physto.se>
615 * java/nio/charset/Charset.java:
616 (defaultCharset()): New method.
617 Status updated to 1.5
619 2005-04-27 Sven de Marothy <sven@physto.se>
621 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
623 2005-04-27 Sven de Marothy <sven@physto.se>
625 * java/nio/charset/Charset.java: Reset cached de/encoders.
627 2005-04-27 Robert Schuster <thebohemian@gmx.net>
629 * java/nio/charset/Charset.java (forName): Throws
630 IllegalArgumentException when argument is null
631 and added documentation.
633 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
635 * java/nio/charset/Charset.java (providers):
636 New method to make an array of CharsetProviders defined in
637 META-INF/services/java.nio.charset.spi.CharsetProvider.
638 (charsetForName, availableCharsets): Use the
639 new method providers().
641 2005-04-26 Michael Koch <konqueror@gmx.de>
643 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
644 Fixed typos in javadocs.
645 (isSiteLocalAddress): Fixed handling of byte values.
646 (isMCLinkLocal): Likewise.
647 * java/net/Inet4Address.java
648 (isMulticastAddress): Call super method.
649 (isLoopbackAddress): Likewise.
650 (isAnyLocalAddress): Likewise.
651 (isLinkLocalAddress): Likewise.
652 (isSiteLocalAddress): Likewise.
653 (isMCGlobal): Likewise.
654 (isMCNodeLocal): Likewise.
655 (isMCLinkLocal): Likewise.
656 (isMCSiteLocal): Likewise.
657 (isMCOrgLocal): Likewise.
658 (getHostAddress): Likewise.
660 2005-04-26 Sven de Marothy <sven@physto.se>
662 * java/net/InetAddress.java
663 (toString): Don't print empty hostnames.
665 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
668 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
669 'false' to native lock().
670 (lock): Pass 'true' to native lock().
672 2005-04-26 Michael Koch <konqueror@gmx.de>
674 * java/net/InetAddress.java:
675 Fixed typos in javadocs.
677 2005-04-26 Andrew Haley <aph@redhat.com>
680 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
683 2005-04-26 Tom Tromey <tromey@redhat.com>
685 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
686 gnu): Now package-private.
687 * javax/swing/text/html/parser/DocumentParser.java (parser,
688 callBack, gnu): Now package-private.
689 * javax/swing/text/StringContent.java (content, setOffset,
690 checkLocation): Now package-private.
691 * javax/swing/text/JTextComponent.java (doc): Now
693 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
694 lastGoodOrientation, origParent, borders, cachedBounds,
695 cachedOrientation, DragWindow): Now package-private.
696 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
697 decrButton, viewport, panel, currentScrollLocation, layoutManager,
698 tabAreaRect, contentRect, createIncreaseButton,
699 createDecreaseButton, findPointForIndex): Now package-private.
700 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
701 (currentDividerLocation, moveDividerTo): Now package-private.
702 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
704 * javax/swing/plaf/basic/BasicScrollBarUI.java
705 (calculatePreferredSize, valueForYPosition, valueForXPosition):
707 * javax/swing/plaf/basic/BasicPopupMenuUI.java
708 (topWindowListener): Now package-private.
709 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
710 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
711 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
713 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
715 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
717 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
719 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
720 borderInsets): Now package-private.
721 (arrowButtonWidth): Likewise. Now a constant.
722 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
723 makeTabs, updatePreviewPanel): Now package-private.
724 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
725 darkShadow, highlight): Now package-private.
726 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
727 (addColorToQueue): Now package-private.
728 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
729 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
730 GSpinner, BSpinner): Now package-private.
731 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
732 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
733 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
734 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
735 updateTrack): Now package-private.
736 * javax/swing/TransferHandler.java (clipboard): Now
738 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
740 * javax/swing/Timer.java (drainEvents, queueEvent): Now
742 * javax/swing/RepaintManager.java (globalManager): Now
744 * javax/swing/JFormattedTextField.java (editValid): Now
746 * javax/swing/JColorChooser.java (makeModal): Now
748 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
749 index, path): Now package-private.
750 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
751 lineQuadIntersect, lineCubicIntersect, linesIntersect,
752 pointEquals): Now package-private.
753 * java/awt/geom/Arc2D.java (type): Now package-private.
754 * java/awt/Window.java (windowFocusOwner): Now package-private.
755 * java/awt/TextComponent.java (editable, selectionStart,
756 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
758 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
760 * java/awt/MenuComponent.java (focusListener): Now
762 * java/awt/Frame.java (state): Now package-private.
763 * java/awt/Choice.java (pItems): Now package-private.
764 * java/awt/Checkbox.java (state): Now package-private.
765 * java/awt/Button.java (actionCommand, label): Now
767 * gnu/javax/swing/text/html/parser/support/Parser.java
768 (attributes, _handleEndTag_remaining, _handleStartTag): Now
770 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
772 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
773 clip, transform, font, comp): Now package-private.
775 2005-04-26 Tom Tromey <tromey@redhat.com>
777 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
780 2005-04-26 Mark Wielaard <mark@klomp.org>
782 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
783 to MalformedURLException.
785 2005-04-26 Michael Koch <konqueror@gmx.de>
787 * java/security/AccessControlContext.java:
789 (protectedDomains): Renamed from 'protectionDomain'.
790 * java/security/AccessController.java:
793 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
795 * gnu/java/security/action/GetSecurityPropertyAction.java
796 (GetSecurityPropertyAction): Implement PrivilegedAction instead
797 of extending GetPropertyAction.
800 (setParamters): New methods.
801 (GetSecurityPropertyAction): Use new setParameters methods.
803 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
805 * java/security/Security.java,
806 java/security/cert/X509CRLSelector.java,
807 java/security/cert/X509CertSelector.java:
808 Modified to use SystemProperties.
810 2005-04-26 Michael Koch <konqueror@gmx.de>
812 * java/lang/System.java
813 (setSecurityManager): Fixed comment.
814 (getSecurityManager): Removed obsolete comment.
816 2005-04-25 Tom Tromey <tromey@redhat.com>
818 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
820 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
823 (connectSignals): Realize the window widget after connecting
826 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
828 * java/awt/GraphicsEnvironment.java
829 (localGraphicsEnvironment): New field.
830 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
832 (isHeadless): Added support for java.awt.headless property.
833 (isHeadlessInstance): Call headless().
835 2005-04-25 Roman Kennke <roman@kennke.org>
837 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
838 (getDisplayMode): Added. Returns the current display mode.
839 (isFullScreenSupported): Added.
840 * java/awt/GraphicsDevice.java
841 (setFullScreenWindow): Implemented a primitive fullscreen mode.
842 This resizes and relocates the fullscreen window so that it uses
843 the whole screen. This is not a fully accelerated fullscreen
846 2005-04-25 Michael Koch <konqueror@gmx.de>
848 * java/lang/Runtime.java,
849 java/lang/SecurityManager.java,
850 java/lang/System.java,
851 java/lang/ThreadGroup.java:
852 Replaced java.lang.Runtime.securityManager by
853 java.lang.SecurityManager.current (as used in GNU classpath).
855 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
857 * java/awt/Transparency.java
858 (getTransparency): fixed API docs.
860 2005-04-25 Archie Cobbs <archie@dellroad.org>
862 * java/lang/Throwable.java: simplify initializing cause in constructor
864 2005-04-25 Michael Koch <konqueror@gmx.de>
866 * gnu/classpath/SystemProperties.java: New file.
867 * gnu/classpath/natSystemProperties.cc: New file.
868 * java/lang/Runtime.java
869 (defaultProperties): Removed.
871 (): Made thrown exceptions more verbose.
872 (insertSystemProperties): Removed.
873 * java/lang/System.java
875 (properties): Likewise.
876 (setSecurityManager): Reordered modifiers.
877 (getenv): Improved javadoc.
879 (isWordsBigEndian): Removed.
880 * java/lang/natRuntime.cc
881 (_Jv_SetDLLSearchPath): Likewise.
882 (file_encoding): Likewise.
883 (default_file_encoding): Likewise.
884 (getpwuid_adaptor): Likewise.
885 (insertSystemProperties): Likewise.
886 * java/lang/natSystem.cc
887 (isWordsBigEndian): Likewise.
889 (ordinary_java_source_files):
890 Added gnu/classpath/SystemProperties.java.
891 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
892 * Makefile.in: Regenerated.
894 2005-04-25 Roman Kennke <roman@kennke.org>
896 * javax/swing/plaf/basic/BasicScrollBarUI.java
897 (initDefaults): Initialize thumb*Color fields correctly.
899 2005-04-25 Roman Kennke <roman@kennke.org>
901 * javax/swing/text/GapContent.java:
904 2005-04-25 Roman Kennke <roman@kennke.org>
906 * javax/swing/plaf/metal/MetalBorders.java:
907 Added inner class ScrollPaneBorder.
908 * javax/swing/plaf/metal/MetalLookAndFeel.java
909 (initComponentDefaults): Added default for "ScrollPane.border"
910 to use the new ScrollPaneBorder.
912 2005-04-25 Roman Kennke <roman@kennke.org>
914 * javax/swing/text/AbstractDocument.java:
915 Added FIXME comments. This class still has to be
916 implemented thread-safe.
918 2005-04-25 Roman Kennke <roman@kennke.org>
920 * javax/swing/tree/DefaultTreeSelectionModel.java
921 (DefaultTreeSelectionModel): Initialize listenerList here.
923 2005-04-25 Roman Kennke <roman@kennke.org>
925 * javax/swing/plaf/metal/MetalTextFieldUI.java
926 (createUI): Return one instance per Component instead of a
929 2005-04-25 Roman Kennke <roman@kennke.org>
931 * javax/swing/text/Document.java:
932 Added API documentation comments.
934 2005-04-25 Roman Kennke <roman@kennke.org>
936 * javax/swing/text/AbstractDocument.java
937 (getDocumentProperties): Implemented.
938 (setDocumentProperties): Implemented.
939 (getProperty): Implemented.
940 (putProperty): Implemented.
942 2005-04-25 Roman Kennke <roman@kennke.org>
944 * javax/swing/BoxLayout
945 (preferredLayoutSize): Fixed computation so that it correctly
946 adds the top and bottom insets of the container.
948 2005-04-25 Roman Kennke <roman@kennke.org>
950 * javax/swing/plaf/basic/BasicMenuItemUI.java
951 (paintText): Make use of the 'selectionForeground' UI default
954 2005-04-25 Roman Kennke <roman@kennke.org>
956 * javax/swing/plaf/basic/BasicLookAndFeel.java
957 (initSystemColorDefaults): Modified colors to match the
958 BasicLookAndFeel in the reference implementation.
959 (initComponentDefaults): Likewise.
961 2005-04-25 Tom Tromey <tromey@redhat.com>
963 * include/jni.h (_Jv_va_list): Removed.
964 Moved configuration code...
965 * include/jni_md.h: ... here. New file.
966 * include/Makefile.in: Rebuilt.
967 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
969 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
971 * java/io/FileInputStream.java (FileInputStream(File)),
972 java/io/FileOutputStream.java (FileOutputStream(File)):
973 Removed unnecessary File.isDirectory() check.
975 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
977 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
978 gij if get_multilibs fails.
980 2005-04-22 Anthony Green <green@redhat.com>
982 * jni.cc (natrehash): Don't bother clearing memory again.
983 * interpret.cc (do_allocate_static_fields): Ditto.
984 * java/lang/natString.cc (rehash): Ditto.
986 2005-04-22 Roman Kennke <roman@kennke.org>
988 * javax/swing/plaf/basic/BasicLookAndFeel.java
989 (initComponentDefaults): Changed Button.border to be
990 BasicBorders.getButtonBorder as it should be.
992 2005-04-22 Roman Kennke <roman@kennke.org>
994 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
995 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
996 should according to a mauve testcase, instead of the preferred
999 2005-04-22 Roman Kennke <roman@kennke.org>
1001 * javax/swing/JMenu.java
1002 (add): add(Component) now calls PopupMenu.insert(..) instead of
1003 PopupMenu.add(..). add(..) is not implemented for Component,
1004 so JComponent.add(..) is called instead, adding the component
1007 2005-04-22 Roman Kennke <roman@kennke.org>
1009 * javax/swing/plaf/basic/BasicButtonListener.java
1010 (mousePressed): replaced query to getModifiersEx with getModifiers.
1011 This method relied on faulty behaviour in getModifierEx.
1012 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1013 This method relied on faulty behaviour in getModifierEx.
1015 2005-04-22 Roman Kennke <roman@kennke.org>
1017 * javax/swing/plaf/metal/MetalLookAndFeel.java
1018 (getDefaults): Call addCustomEntriesToTable on the theme.
1020 2005-04-22 Roman Kennke <roman@kennke.org>
1022 * javax/swing/tree/DefaultTreeSelectionModel.java
1023 (constructor): Added implementation.
1024 (getRowMapper): Added implementation.
1025 (setSelectionMode): Added implementation.
1026 (getSelectionMode): Added implementation.
1027 (getSelectionPath): Added implementation.
1028 (getSelectionPaths): Added implementation.
1029 (getSelectionCount): Added implementation.
1030 (isSelectionEmpty): Added implementation.
1031 (getSelectionRows): Added implementation.
1032 (getMinSelectionRow): Added implementation.
1033 (getMaxSelectionRow): Added implementation.
1034 (getLeadSelectionRow): Added implementation.
1035 (getLeadSelectionPath): Added implementation.
1037 2005-04-22 Casey Marshall <csm@gnu.org>
1039 * gnu/java/security/der/DERValue.java
1040 (getValueAs): new method.
1041 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1042 (<init>): read both dates with 'DERValue.getValueAs', with
1043 'GENERALIZED_TIME' as the argument.
1045 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1047 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1048 be null, check for that case and don't deference it.
1050 2005-04-22 Sven de Marothy <sven@physto.se>
1052 * java/util/logging/LogManager.java: Reformatted.
1053 (readConfiguration): If a logger for a key is not found, create one.
1055 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1057 * java/rmi/Naming.java:
1058 Added class documentation.
1059 (lookup(String)): Call parseURL and getName.
1060 (bind(String,java.rmi.Remote)): Likewise.
1061 (unbind(String)): Likewise.
1062 (rebind(String, java.rmi.Remote)): Likewise.
1063 (list(String)): Call parseURL.
1064 (parseURL(String)): New method to handle parsing and defaults.
1065 (getName(java.net.URL)): New method to handle finding the service name.
1067 2005-04-21 Tom Tromey <tromey@redhat.com>
1069 * java/lang/natClass.cc (initializeClass): Link class.
1071 2005-04-21 Tom Tromey <tromey@redhat.com>
1073 * java/lang/AssertionError.java: Typo fix.
1075 2005-04-21 Tom Tromey <tromey@redhat.com>
1077 * java/lang/VMClassLoader.java (transformException): Removed.
1078 (resolveClass): No longer native. Now does nothing.
1079 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1081 2005-04-21 Anthony Green <green@redhat.com>
1084 * testsuite/libjava.special/special.exp,
1085 testsuite/libjava.special/pr21115I.java,
1086 testsuite/libjava.special/pr21115.java,
1087 testsuite/libjava.special/pr21115.out: New files.
1089 2005-04-21 Chris Burdess <dog@gnu.org>
1091 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1092 CRLF-delimited chunks.
1094 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1096 * java/net/URI.java:
1097 Added class documentation.
1098 (parseURI(String)): Only handle scheme-specific parts
1099 if URI is not opaque. Allow for parts that can't be null.
1100 (toString()): Output the scheme-specific part whole, rather
1101 than as its possibly non-existent components.
1103 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1105 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1106 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1107 Adjusted to match new regexp.
1109 2005-04-20 Michael Koch <konqueror@gmx.de>
1111 * gnu/java/net/protocol/file/Connection.java,
1112 gnu/java/net/protocol/jar/Connection.java:
1113 Reorganized import statements. Fixed @author tags.
1115 2005-04-20 Chris Burdess <dog@gnu.org>
1117 * java/io/DataOutputStream.java (writeUTF): Use block write for
1120 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1122 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1123 (readLine): Changed newline handling.
1125 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1127 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1128 ColorModel,byte[],int,int): Fixed byte to int conversion.
1130 2005-04-20 Michael Koch <konqueror@gmx.de>
1132 * java/io/FilePermission.java
1133 (serialVersionUID): Made private.
1134 (ALL_FILES): New constant.
1135 (implies): Handle '<<ALL FILES>>' case.
1137 2005-04-20 Sven de Marothy <sven@physto.se>
1139 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1140 (drawImage): Don't notify the image observer for offscreen images.
1141 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1142 (setPixels): Don't notify the image observer.
1144 2005-04-20 Sven de Marothy <sven@physto.se>
1146 * java/nio/ByteBufferImpl.java:
1147 (putChar): Inlined for speed.
1148 (put, get): Bulk methods can use arraycopy.
1149 * java/nio/CharBufferImpl.java:
1150 (put, get): Bulk methods can use arraycopy.
1152 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1154 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1156 * java/nio/CharBufferImpl.java
1157 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1158 (get(), put(char)): Inlined checks and field updates. Fixed to
1159 take array_offset into account.
1160 (get(int), put(int, char)): Fixed to take array_offset into account.
1162 2005-04-20 Sven de Marothy <sven@physto.se>
1164 * java/text/SimpleDateFormat.java:
1165 (formatWithAttribute): Pad year before truncating digits.
1167 2005-04-20 Michael Koch <konqueror@gmx.de>
1169 * gnu/java/net/PlainDatagramSocketImpl.java:
1170 Merged copyright header.
1171 * gnu/java/net/PlainSocketImpl.java:
1172 Reorganized import statements. Fixed @author tags.
1174 2005-04-20 Michael Koch <konqueror@gmx.de>
1176 * gnu/java/lang/ClassHelper.java,
1177 gnu/java/lang/reflect/TypeSignature.java:
1180 2005-04-20 Michael Koch <konqueror@gmx.de>
1182 * gnu/java/beans/IntrospectionIncubator.java:
1183 Fixed HTML tags in javadocs.
1185 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1187 * gnu/java/beans/IntrospectionIncubator.java
1188 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1189 set(), is(), add() and remove() with properties or events.
1191 2005-04-20 Michael Koch <konqueror@gmx.de>
1193 * gnu/java/awt/image/XBMDecoder.java:
1194 Fixed modifier order.
1196 2005-04-20 Roman Kennke <roman@kennke.org>
1198 * javax/swing/plaf/basic/BasicButtonUI.java
1199 (paint): This should not care about margin and insets
1200 at the same time, as insets already include the margin
1202 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1203 (getPreferredButtonSize): Likewise.
1204 * javax/swing/plaf/metal/MetalBorders.java
1205 (getBorderInsets): Likewise.
1207 2005-04-20 Roman Kennke <roman@kennke.org>
1209 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1210 (createMessageArea): The JPanel that holds the message area
1211 doesn't need to override getPreferredSize. This prevents some
1212 message components from rendering nicely.
1214 2005-04-20 Roman Kennke <roman@kennke.org>
1216 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1217 (createUI): Do not share instances between components.
1218 * javax/swing/plaf/metal/MetalSliderUI.java
1219 (createUI): Do not share instances between components.
1221 2005-04-20 Roman Kennke <roman@kennke.org>
1223 * javax/swing/plaf/metal/MetalBorders:
1224 (PopupMenuBorder): Added.
1225 * javax/swing/plaf/metal/MetalLookAndFeel
1226 (initComponentDefaults): Added PopupMenuBorder.
1228 2005-04-20 Roman Kennke <roman@kennke.org>
1230 * javax/swing/tree/DefaultTreeSelectionModel.java:
1231 Added API documentation all over the class.
1233 2005-04-20 Roman Kennke <roman@kennke.org>
1235 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1236 (installDefaults): Link managed JScrollPane in instance field.
1237 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1239 2005-04-20 Roman Kennke <roman@kennke.org>
1241 * javax/swing/plaf/basic/BasicScrollBarUI.java
1242 (PropertyChangeHandler.propertyChange): Add default
1243 to switch statement to avoid errors with unusual values
1245 (installComponents): Likewise.
1247 2005-04-20 Roman Kennke <roman@kennke.org>
1249 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1250 (createUI): Instances cannot be shared among JScrollPanes.
1252 2005-04-20 Roman Kennke <roman@kennke.org>
1254 * javax/swing/plaf/metal/MetalLookAndFeel.java
1255 (initComponentDefaults): Added defaults for Menu, MenuBar
1258 2005-04-20 Roman Kennke <roman@kennke.org>
1260 * javax/swing/plaf/basic/BasicScrollBarUI.java
1261 (installUI): Install listeners after everything all, otherwise
1262 we get strange NPEs in some situations, especially with
1264 (createIncreaseButton): Orientation is expected to be
1265 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1266 HORIZONTAL or VERTICAL.
1267 (createDecreaseButton): Orientation is expected to be
1268 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1269 HORIZONTAL or VERTICAL.
1270 (installComponents): Orientation for buttons is expected to be
1271 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1272 HORIZONTAL or VERTICAL.
1274 2005-04-20 Roman Kennke <roman@kennke.org>
1276 * javax/swing/JToolBar.java
1277 (addImpl): Adjust added AbstractButtons to look and feel like
1279 * javax/swing/plaf/metal/MetalBorders.java:
1280 Adjusted insets of ButtonBorder.
1281 (RolloverMarginBorder): Added class for toolbar buttons.
1282 (getButtonBorder): Adjusted factory method to return a shared
1283 instance of button border.
1284 (getToolbarButtonBorder): Added factory method to return a shared
1285 instance of toolbar button border.
1286 (getMarginBorder): Added factory method to return a shared
1287 instance of margin border.
1288 * javax/swing/plaf/metal/MetalButtonUI.java
1289 (installDefauls): If button is child of a JToolBar then set
1290 special border on this button.
1292 2005-04-20 Michael Koch <konqueror@gmx.de>
1294 * java/net/URLConnection.java
1295 (getContent): Fixed javadoc comment.
1297 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1299 * java/net/URL.java:
1300 (toURI()): Implemented.
1302 2005-04-19 Michael Koch <konqueror@gmx.de>
1304 * java/net/InetAddress.java
1305 (InetAddress): Fixed javadoc comment.
1307 (lookup): Added javadoc.
1308 (getFamily): Likewise.
1309 * java/net/ServerSocket.java
1310 (getChannel): Improved javadoc comment.
1312 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1314 * gnu/xml/dom/html2/DomHTMLParser.java:
1315 Changed 'enum' references to become 'enumeration'.
1317 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1319 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1321 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1323 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1324 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1325 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1326 (validateParameters(TagElement,htmlAttributeSet)):
1327 Replaced 'enum' with 'enumeration'.
1328 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1331 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1333 * javax/swing/text/html/parser/Entity.java (getType): New method.
1334 * javax/swing/text/html/parser/DocumentParser.java:
1335 Inherit from javax.swing.text.html.parser.Parser.
1337 2005-04-19 Chris Burdess <dog@gnu.org>
1339 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1340 check for HTML/XHTML namespace.
1342 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1344 * javax/swing/text/html/parser/Parser.java,
1345 javax/swing/text/html/parser/Entity.java:
1346 Inheriting from DTDConstants.
1347 * javax/swing/text/html/parser/AttributeList.java
1348 (getValues): Changed return type.
1349 * javax/swing/text/html/parser/DocumentParser
1350 (parse): Adding the callback parameter that receives
1353 2005-04-19 Chris Burdess <dog@gnu.org>
1355 * gnu/xml/dom/DomImpl.java,
1356 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1357 gnu/xml/dom/html2/DomHTMLDocument.java,
1358 gnu/xml/dom/html2/DomHTMLElement.java,
1359 gnu/xml/dom/html2/DomHTMLFormElement.java,
1360 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1361 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1362 gnu/xml/dom/html2/DomHTMLImpl.java,
1363 gnu/xml/dom/html2/DomHTMLInputElement.java,
1364 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1365 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1366 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1367 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1368 gnu/xml/dom/html2/DomHTMLTableElement.java,
1369 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1370 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1371 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1372 UI events, and tree utility functions.
1374 2005-04-19 Michael Koch <konqueror@gmx.de>
1376 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1377 gnu/javax/swing/text/html/parser/gnuDTD.java,
1378 gnu/javax/swing/text/html/parser/models/node.java:
1379 Reworked import statements.
1381 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1383 * javax/swing/text/html/HTMLDocument.java: New file.
1385 2005-04-19 Michael Koch <konqueror@gmx.de>
1387 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1389 * javax/swing/text/html/parser/AttributeList.java:
1390 Fixed order of modifiers.
1391 (AttributeList): Made final.
1392 * javax/swing/text/html/parser/ContentModel.java:
1393 Fixed html characters in javadocs.
1394 * javax/swing/text/html/parser/DTD.java
1395 (DTD): Don't implement java.io.Serializable directly.
1396 (getElement): Simplified.
1397 * javax/swing/text/html/parser/DTDConstants.java:
1399 * javax/swing/text/html/parser/Element.java:
1400 Fixed order of modifiers.
1401 * javax/swing/text/html/parser/Parser.java:
1402 Reformatted. Don't use fully-qualified class names.
1403 * javax/swing/text/html/parser/ParserDelegator.java:
1404 Fixed order of modifiers.
1405 * javax/swing/text/rtf/RTFParser.java:
1406 Re-ordered import statements.
1407 * javax/swing/text/rtf/RTFScanner.java:
1408 Removed unused import statement.
1410 2005-04-19 Chris Burdess <dog@gnu.org>
1412 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1413 gnu/xml/dom/html2/DomHTMLCollection.java,
1414 gnu/xml/dom/html2/DomHTMLDocument.java,
1415 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1417 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1418 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1419 gnu/xml/dom/html2/DomHTMLDivElement.java,
1420 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1421 gnu/xml/dom/html2/DomHTMLFontElement.java,
1422 gnu/xml/dom/html2/DomHTMLFormElement.java,
1423 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1424 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1425 gnu/xml/dom/html2/DomHTMLHRElement.java,
1426 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1427 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1428 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1429 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1430 gnu/xml/dom/html2/DomHTMLImageElement.java,
1431 gnu/xml/dom/html2/DomHTMLInputElement.java,
1432 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1433 gnu/xml/dom/html2/DomHTMLLIElement.java,
1434 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1435 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1436 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1437 gnu/xml/dom/html2/DomHTMLMapElement.java,
1438 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1439 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1440 gnu/xml/dom/html2/DomHTMLModElement.java,
1441 gnu/xml/dom/html2/DomHTMLOListElement.java,
1442 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1443 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1444 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1445 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1446 gnu/xml/dom/html2/DomHTMLParamElement.java,
1447 gnu/xml/dom/html2/DomHTMLPreElement.java,
1448 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1449 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1450 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1451 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1452 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1453 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1454 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1455 gnu/xml/dom/html2/DomHTMLTableElement.java,
1456 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1457 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1458 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1459 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1460 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1462 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1464 * javax/swing/text/ChangedCharSetException.java,
1465 javax/swing/text/html/HTMLEditorKit.java,
1466 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1467 javax/swing/text/html/parser/AttributeList.java,
1468 javax/swing/text/html/parser/ContentModel.java,
1469 javax/swing/text/html/parser/DocumentParser.java,
1470 javax/swing/text/html/parser/DTD.java,
1471 javax/swing/text/html/parser/DTDConstants.java,
1472 javax/swing/text/html/parser/Element.java,
1473 javax/swing/text/html/parser/Entity.java,
1474 javax/swing/text/html/parser/Parser.java,
1475 javax/swing/text/html/parser/TagElement.java,
1476 gnu/javax/swing/text/html/package.html,
1477 gnu/javax/swing/text/html/parser/gnuDTD.java,
1478 gnu/javax/swing/text/html/parser/HTML_401F.java,
1479 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1480 gnu/javax/swing/text/html/parser/htmlValidator.java,
1481 gnu/javax/swing/text/html/parser/package.html,
1482 gnu/javax/swing/text/html/parser/models/list.java,
1483 gnu/javax/swing/text/html/parser/models/node.java,
1484 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1485 gnu/javax/swing/text/html/parser/models/package.html,
1486 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1487 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1488 gnu/javax/swing/text/html/parser/models/transformer.java,
1489 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1490 gnu/javax/swing/text/html/parser/support/package.html,
1491 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1492 gnu/javax/swing/text/html/parser/support/Parser.java,
1493 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1494 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1495 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1496 gnu/javax/swing/text/html/parser/support/low/Location.java,
1497 gnu/javax/swing/text/html/parser/support/low/node.java,
1498 gnu/javax/swing/text/html/parser/support/low/package.html,
1499 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1500 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1501 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1502 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1504 * javax/swing/text/html/HTML.java,
1505 javax/swing/text/html/parser/ParserDelegator.java:
1506 New files (replacing).
1507 * javax/swing/text/html/package.html,
1508 javax/swing/text/html/parser/package.html: Documenting the
1511 2005-04-19 Chris Burdess <dog@gnu.org>
1513 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1514 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1515 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1516 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1517 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1518 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1519 gnu/xml/dom/html2/DomHTMLBRElement.java,
1520 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1521 gnu/xml/dom/html2/DomHTMLCollection.java,
1522 gnu/xml/dom/html2/DomHTMLDocument.java,
1523 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1525 2005-04-19 Michael Koch <konqueror@gmx.de>
1527 * Makefile.am: Added new files.
1528 * Makefile.in: Regenerated.
1530 2005-04-19 Roman Kennke <roman@kennke.org>
1532 * javax/swing/text/JTextComponent.java
1533 (JTextComponent): Added repaintListener which issues repaint
1534 requests when the underlying document changes.
1535 (setDocument): Adds repaintListener to document when the
1536 document is changed.
1537 * javax/swing/text/DefaultEditorKit.java:
1538 Removed repaint calls on JTextComponent. This is now handled
1539 through a DocumentListener in JTextComponent that repaints
1540 the component when needed.
1542 2005-04-19 Roman Kennke <roman@kennke.org>
1545 * javax/swing/text/StyleContext.java
1546 (NamedStyle.setResolveParent): Added null
1549 2005-04-19 Michael Koch <konqueror@gmx.de>
1551 * java/rmi/server/RemoteObject.java:
1552 Removed unused import statement.
1554 2005-04-19 Michael Koch <konqueror@gmx.de>
1556 * java/net/URL.java: Formatting cleanups.
1558 2005-04-19 Michael Koch <konqueror@gmx.de>
1560 * java/awt/FontMetrics.java: Reformatted.
1561 (getFontRenderContext): Handle case when java.awt.Graphics context is
1564 2005-04-19 Michael Koch <konqueror@gmx.de>
1566 * java/awt/FontMetrics.java
1567 (getStringBounds): New methods.
1570 2005-04-19 Michael Koch <konqueror@gmx.de>
1572 * gnu/java/security/x509/X509Certificate.java
1573 (parse): Handle val == null case.
1575 2005-04-19 Roman Kennke <roman@kennke.org>
1577 * javax/swing/plaf/metal/MetalLookAndFeel.java
1578 (initComponentDefaults): Added defaults for Menu, MenuBar
1581 2005-04-19 Roman Kennke <roman@kennke.org>
1583 * javax/swing/plaf/metal/MetalLookAndFeel.java
1584 (initComponentDefaults): Added Label.font.
1585 (initSystemColorDefaults): Added this method and adjusted the
1586 general control color.
1588 2005-04-19 Roman Kennke <roman@kennke.org>
1590 * javax/swing/plaf/metal/MetalBorders.java:
1592 * javax/swing/plaf/metal/MetalButtonUI.java:
1593 (installDefaults): Install button font.
1594 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1595 (initComponentDefaults): Added button border, font and margin.
1596 Changed components background color to the Metal current themes
1599 2005-04-19 Roman Kennke <roman@kennke.org>
1601 * javax/swing/plaf/metal/MetalLookAndFeel.java
1602 (initComponentDefaults): Added to set Metal specific component
1605 2005-04-19 Mark Wielaard <mark@klomp.org>
1607 * javax/swing/plaf/metal/MetalLookAndFeel.java
1608 (initClassDefaults): Call super.initClassDefaults().
1610 2005-04-19 Roman Kennke <roman@kennke.org>
1612 * javax/swing/plaf/metal/MetalLookAndFeel.java
1613 (initClassDefaults): Added to include the *UI classes.
1615 2005-04-19 Roman Kennke <roman@kennke.org>
1617 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1619 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1621 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1623 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1625 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1627 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1629 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1631 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1633 * javax/swing/plaf/metal/MetalSliderUI.java:
1635 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1637 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1639 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1641 2005-04-19 Roman Kennke <roman@kennke.org>
1643 * javax/swing/plaf/metal/MetalButtonUI.java:
1644 Added skeleton class.
1645 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1646 Added skeleton class.
1647 * javax/swing/plaf/metal/MetalLabelUI.java:
1648 Added skeleton class.
1649 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1650 Added skeleton class.
1651 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1652 Added skeleton class.
1653 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1654 Added skeleton class.
1656 2005-04-19 Roman Kennke <roman@kennke.org>
1658 * javax/swing/UIDefaults.java:
1659 Added API documentation for all methods.
1661 2005-04-19 Roman Kennke <roman@kennke.org>
1663 * javax/swing/UIDefaults.java
1664 (put): Now uses new checkAndPut method instead of checking
1666 (putDefaults): Fixed so that it accepts null-values and
1667 treats them like remove(key).
1668 (checkAndPut): Added. This checks for null-values and calls
1671 2005-04-19 Michael Koch <konqueror@gmx.de>
1673 * Makefile.am: Added new files.
1674 * Makefile.in: Regenerated.
1676 2005-04-19 Mark Wielaard <mark@klomp.org>
1678 * java/lang/natRuntime.cc (insertSystemProperties): Set
1679 java.class.path to CLASSPATH only when not empty. Fall back to
1680 default path "." when java.class.path is empty.
1682 2005-04-19 Michael Koch <konqueror@gmx.de>
1684 * javax/swing/text/rtf/ControlWordToken.java,
1685 javax/swing/text/rtf/RTFEditorKit.java,
1686 javax/swing/text/rtf/RTFParseException.java,
1687 javax/swing/text/rtf/RTFParser.java,
1688 javax/swing/text/rtf/RTFScanner.java,
1689 javax/swing/text/rtf/TextToken.java,
1690 javax/swing/text/rtf/Token.java: New files.
1691 * Makefile.am: Added new files.
1692 * Makefile.in: Regenerated.
1694 2005-04-19 Michael Koch <konqueror@gmx.de>
1696 * java/awt/geom/QuadCurve2D.java:
1697 Fixed Brian Gough's name for real.
1699 2005-04-19 Roman Kennke <roman@kennke.org>
1701 * javax/swing/UIManager.java:
1702 Make the UIManager respect the swing.defaultlaf system
1705 2005-04-19 Tom Tromey <tromey@redhat.com>
1707 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1710 2005-04-19 Roman Kennke <roman@kennke.org>
1712 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1713 Fixed tabs to spaces.
1715 2005-04-19 Roman Kennke <roman@kennke.org>
1717 * javax/swing/plaf/basic/BasicMenuUI.java
1718 (getMaximumSize): Now returns preferredSize because JMenu should
1719 never be bigger than that.
1720 * javax/swing/JRootPane
1721 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1723 2005-04-19 Roman Kennke <roman@kennke.org>
1725 * javax/swing/JRootPane.java:
1726 Fixed various tabs to be spaces.
1727 (RootLayout.layoutContainer): Made menubar left aligned.
1729 2005-04-19 Roman Kennke <roman@ontographics.com>
1731 * javax/swing/JList.java
1732 (getPreferredScrollableViewportSize):
1733 The previous implementation was merely guessing the size,
1734 now it respects layoutOrientation, visibleRowCount
1736 (getScrollableTracksViewportHeight):
1737 Reimplemented so that layoutOrientation, visibleRowCount
1738 and preferred size are respected.
1739 (getScrollableTracksViewportWidth):
1740 Reimplemented so that layoutOrientation, visibleRowCount
1741 and preferred size are respected.
1742 * javax/swing/plaf/basic/BasicListUI.java
1744 Improved calculation of preferredSize when JList is
1745 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1747 The previous implementation assumed a layoutOrientation of
1748 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1749 JList.VERTICAL_WRAP.
1751 2005-04-19 Roman Kennke <roman@ontographics.com>
1753 * javax/swing/plaf/basic/BasicListUI.java
1754 (paintCell): use CellRendererPane for painting the cells.
1756 2005-04-19 Roman Kennke <roman@ontographics.com>
1758 * javax/swing/plaf/basic/BasicListUI:
1759 fixed modifiers of several fields, methods and inner
1760 classes to match the 'spec'.
1761 (getMaximumSize): removed. It's not in the spec and the
1762 implementations was superfluous.
1764 2005-04-19 Roman Kennke <roman@ontographics.com>
1766 * javax/swing/plaf/basic/BasicListUI:
1767 make BasicListUI capable of wrapping lists
1768 (layoutOrientation property of javax.swing.JList)
1770 2005-04-19 Roman Kennke <roman@ontographics.com>
1772 * javax/swing/plaf/basic/BasicListUI
1773 (updateLayoutState,paint): make BasicListUI aware of the
1774 width of the rendered JList.
1776 2005-04-19 Roman Kennke <roman@kennke.org>
1778 * javax/swing/ImageIcon.java
1779 Added API documentation.
1781 2005-04-19 Roman Kennke <roman@kennke.org>
1783 * javax/swing/text/ImageIcon.java
1784 (ImageIcon): Use setImage instead of direct assignment.
1785 (setImage): Call loadImage to make sure that the image is loaded.
1786 (loadImage): Waits for the image to complete loading.
1787 (getImageLoadStatus): Added. Returns the load status of the
1790 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1792 * javax/swing/JTextArea.java (replaceRange):
1793 Fixing doc.remove(start, length) misinterpretation.
1795 2005-04-19 Roman Kennke <roman@ontographics.com>
1797 * javax/swing/CellRendererPane.java:
1798 implemented all methods of this class.
1799 reformatted all wrong formatted code.
1801 2005-04-19 Roman Kennke <roman@kennke.org>
1803 * javax/swing/BoxLayout.java:
1804 (layoutContainer): Made this layout manager respect the
1805 minimum, maximum and preferred size more correctly.
1807 2005-04-19 Roman Kennke <roman@ontographics.com>
1809 * javax/swing/BoxLayout.java:
1810 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1811 layoutContainer): Make these methods and thereby the
1812 BoxLayout respect the insets (like borders) of the
1813 component that is laid out.
1815 2005-04-19 Roman Kennke <roman@kennke.org>
1817 * javax/swing/JComponent.java:
1818 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1819 Untabified the file.
1821 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1823 * javax/swing/JComboBox.java (constructors): selecting the
1824 first item if the box was constructed from the provided
1825 non - empty array or vector.
1827 2005-04-19 Michael Koch <konqueror@gmx.de>
1829 * gnu/java/awt/peer/gtk/GdkGraphics.java
1830 (getClipBounds): Handle clip being null.
1831 (setClip): Likewise.
1832 * java/beans/beancontext/BeanContextSupport.java
1836 (removeAll): Likewise.
1837 (retainAll): Likewise.
1839 2005-04-19 Michael Koch <konqueror@gmx.de>
1841 * java/beans/beancontext/BeanContextServicesSupport.java
1842 (BeanContextServicesSupport): Reimplemented.
1843 (addBeanContextServicesListener): Implemented.
1844 (initialize): Likewise.
1845 (removeBeanContextServicesListener): Likewise.
1846 * java/beans/beancontext/BeanContextSupport.java
1848 (addBeanContextMembershipListener): Likewise.
1849 (getLocale): Likewise.
1850 (initialize): Likewise.
1851 (iterator): Likewise.
1853 (toArray): Likewise.
1855 2005-04-19 Roman Kennke <roman@kennke.org>
1857 * java/awt/MediaTracker.java:
1858 Reindented tabs to spaces.
1860 2005-04-19 Roman Kennke <roman@kennke.org>
1862 * java/awt/MediaTracker.java
1863 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1864 confused the media tracker and lead to lockups. The LOADING
1865 bit is handled on other places.
1866 (addImage): Removed the 'start image tracking' stuff. This
1867 is not necessary and could confuse the media tracker.
1868 (checkAll): Improved the check for image status so that
1869 images that already complete images are detected. Also now
1870 are really all images checked and if necessary loaded. Before
1871 the method bailed out after the first incomplete image.
1872 (statusAll): Detect images that are complete after the
1873 call to Component.prepareImage(..).
1874 (checkID): The same as in checkAll.
1875 (statusID): The same as in statusAll.
1877 2005-04-19 Roman Kennke <roman@kennke.org>
1879 * java/awt/MediaTracker.java
1880 (addImage): Synchronized list access.
1881 (waitForAll): Fixed comparison of time (changed < to >).
1882 (waitForID): Fixed comparison of time (changed < to >).
1883 (removeImage): Synchronized list access.
1885 2005-04-19 Roman Kennke <roman@kennke.org>
1887 * java/awt/MediaTracker.java
1888 Added API documentation.
1890 2005-04-19 Roman Kennke <roman@kennke.org>
1892 * java/awt/MediaTracker.java
1893 (MediaEntry.imageUpdate): Fixed flags. The different flags
1894 must not be ORed together.
1895 (checkAll): Modified to handle different meaning of the flags.
1896 (waitForAll): Fixed so that it waits maximum the
1897 specified amount of milliseconds.
1898 (statusAll): Modified to handle different meaning of the flags.
1899 (waitForID): Fixed so that it waits maximum the
1900 specified amount of milliseconds.
1902 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
1904 * java/awt/Font.java (decode): Handle null argument and allow
1907 2005-04-19 Robert Schuster <thebohemian@gmx.net>
1909 * java/beans/EventHandler.java: Reworked documentation.
1910 (invoke): Fixed behavior to match spec.
1912 2005-04-19 Michael Koch <konqueror@gmx.de>
1914 * java/awt/print/PrinterJob.java
1915 (pageDialog): New method.
1916 (printDialog): Implemented.
1918 2005-04-19 Michael Koch <konqueror@gmx.de>
1920 * java/awt/image/ConvolveOp.java:
1921 Removed comment added by eclipse.
1923 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
1925 * java/awt/image/IndexColorModel.java
1926 (getRGB): Check if pixel is negative.
1928 2005-04-19 Michael Koch <konqueror@gmx.de>
1930 * java/awt/image/RasterOp.java:
1931 Fixed wrong formatting.
1933 2005-04-18 Roman Kennke <roman@kennke.org>
1935 * java/awt/Compmonent.java
1936 (setComponentOrientation): Made this property firing a
1937 PropertyChangeEvent.
1939 2005-04-18 Roman Kennke <roman@kennke.org>
1941 * java/awt/BorderLayout.java
1942 (calcSize): Check for overflow when component sizes are added.
1944 2005-04-18 Robert Schuster <thebohemian@gmx.net>
1946 * java/awt/AWTEvent.java (toString): Added case
1947 for source not being an AWT component.
1949 2005-04-18 Chris Burdess <dog@gnu.org>
1951 * gnu/java/net/BASE64.java: Truncate encoded byte array.
1953 2005-04-18 Michael Koch <konqueror@gmx.de>
1955 gnu/java/awt/EmbeddedWindowSupport.java,
1956 gnu/java/net/HeaderFieldHelper.java,
1957 gnu/java/net/URLParseError.java,
1958 gnu/java/net/protocol/file/Handler.java,
1959 gnu/java/net/protocol/jar/Handler.java:
1960 Fixed usage of @author tag.
1962 2005-04-18 Michael Koch <konqueror@gmx.de>
1964 * gnu/xml/aelfred2/XmlParser.java:
1965 Reverted my typo fix.
1967 2005-04-18 Michael Koch <konqueror@gmx.de>
1969 * java/awt/geom/CubicCurve2D.java,
1970 java/awt/geom/QuadCurve2D.java:
1971 Fixed mentioning of Brian Gouph.
1973 2005-04-18 Michael Koch <konqueror@gmx.de>
1975 * gnu/java/awt/Buffers.java,
1976 gnu/java/awt/image/ImageDecoder.java,
1977 gnu/java/awt/image/XBMDecoder.java,
1978 gnu/java/awt/peer/ClasspathFontPeer.java,
1979 gnu/java/net/CRLFInputStream.java,
1980 gnu/java/net/EmptyX509TrustManager.java,
1981 gnu/java/net/LineInputStream.java,
1982 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1983 gnu/java/net/protocol/ftp/BlockInputStream.java,
1984 gnu/java/net/protocol/ftp/CompressedInputStream.java,
1985 gnu/java/net/protocol/ftp/DTP.java,
1986 gnu/java/net/protocol/ftp/DTPInputStream.java,
1987 gnu/java/net/protocol/ftp/FTPConnection.java,
1988 gnu/java/net/protocol/ftp/FTPURLConnection.java,
1989 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1990 gnu/java/net/protocol/ftp/StreamInputStream.java,
1991 gnu/java/net/protocol/http/ChunkedInputStream.java,
1992 gnu/java/net/protocol/http/HTTPConnection.java,
1993 gnu/java/net/protocol/http/HTTPURLConnection.java,
1994 gnu/java/net/protocol/http/Headers.java,
1995 gnu/java/net/protocol/http/Request.java,
1996 gnu/java/nio/ChannelInputStream.java,
1997 gnu/java/nio/ChannelOutputStream.java,
1998 gnu/java/nio/InputStreamChannel.java,
1999 gnu/java/nio/OutputStreamChannel.java,
2000 gnu/java/nio/SelectorProviderImpl.java,
2001 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2002 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2003 gnu/java/rmi/dgc/DGCImpl.java,
2004 gnu/java/rmi/registry/RegistryImpl.java,
2005 gnu/java/rmi/server/ProtocolConstants.java,
2006 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2007 gnu/java/rmi/server/RMIIncomingThread.java,
2008 gnu/java/rmi/server/RMIObjectInputStream.java,
2009 gnu/java/rmi/server/RMIObjectOutputStream.java,
2010 gnu/java/rmi/server/RMIVoidValue.java,
2011 gnu/java/rmi/server/UnicastConnectionManager.java,
2012 gnu/java/rmi/server/UnicastRef.java,
2013 gnu/java/rmi/server/UnicastRemoteCall.java,
2014 gnu/java/rmi/server/UnicastRemoteStub.java,
2015 gnu/java/rmi/server/UnicastServerRef.java,
2016 gnu/java/security/OID.java,
2017 gnu/java/security/der/DERReader.java,
2018 gnu/java/security/provider/CollectionCertStoreImpl.java,
2019 gnu/java/security/provider/DSAParameterGenerator.java,
2020 gnu/java/security/provider/DefaultPolicy.java,
2021 gnu/java/security/provider/EncodedKeyFactory.java,
2022 gnu/java/security/provider/GnuDHPublicKey.java,
2023 gnu/java/security/provider/GnuDSAPrivateKey.java,
2024 gnu/java/security/provider/GnuDSAPublicKey.java,
2025 gnu/java/security/provider/GnuRSAPrivateKey.java,
2026 gnu/java/security/provider/GnuRSAPublicKey.java,
2027 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2028 gnu/java/security/provider/RSA.java,
2029 gnu/java/security/provider/SHA1PRNG.java,
2030 gnu/java/security/provider/SHA1withRSA.java,
2031 gnu/java/security/provider/X509CertificateFactory.java,
2032 gnu/java/security/x509/GnuPKIExtension.java,
2033 gnu/java/security/x509/X500DistinguishedName.java,
2034 gnu/java/security/x509/X509CRL.java,
2035 gnu/java/security/x509/X509CRLEntry.java,
2036 gnu/java/security/x509/X509CertPath.java,
2037 gnu/java/security/x509/X509CertSelectorImpl.java,
2038 gnu/java/security/x509/X509Certificate.java,
2039 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2040 gnu/java/security/x509/ext/BasicConstraints.java,
2041 gnu/java/security/x509/ext/CRLNumber.java,
2042 gnu/java/security/x509/ext/CertificatePolicies.java,
2043 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2044 gnu/java/security/x509/ext/Extension.java,
2045 gnu/java/security/x509/ext/GeneralNames.java,
2046 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2047 gnu/java/security/x509/ext/KeyUsage.java,
2048 gnu/java/security/x509/ext/PolicyConstraint.java,
2049 gnu/java/security/x509/ext/PolicyMappings.java,
2050 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2051 gnu/java/security/x509/ext/ReasonCode.java,
2052 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2053 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2054 Reorganized import statements.
2056 2005-04-18 Michael Koch <konqueror@gmx.de>
2058 * gnu/java/awt/color/CieXyzConverter.java,
2059 gnu/java/awt/color/ClutProfileConverter.java,
2060 gnu/java/awt/color/ColorLookUpTable.java,
2061 gnu/java/awt/color/ColorSpaceConverter.java,
2062 gnu/java/awt/color/GrayProfileConverter.java,
2063 gnu/java/awt/color/GrayScaleConverter.java,
2064 gnu/java/awt/color/LinearRGBConverter.java,
2065 gnu/java/awt/color/ProfileHeader.java,
2066 gnu/java/awt/color/PyccConverter.java,
2067 gnu/java/awt/color/RgbProfileConverter.java,
2068 gnu/java/awt/color/SrgbConverter.java,
2069 gnu/java/awt/color/TagEntry.java,
2070 gnu/java/awt/color/ToneReproductionCurve.java:
2071 Standardized file headers.
2073 2005-04-16 Tom Tromey <tromey@redhat.com>
2075 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2076 'ANY' package-private.
2078 2005-04-15 Tom Tromey <tromey@redhat.com>
2080 * Makefile.in: Rebuilt.
2081 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2082 (libgcj0_convenience_la_LIBADD): ... here.
2084 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2086 * gij.cc (version): Properly quote java version.
2087 (main): Fix typo in comment.
2089 2005-04-13 Mark Wielaard <mark@klomp.org>
2091 * java/lang/natRuntime.cc (insertSystemProperties): Set
2092 java.class.path to CLASSPATH if not already set.
2094 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2096 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2098 2005-04-12 Mike Stump <mrs@apple.com>
2100 * configure: Regenerate.
2102 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2105 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2106 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2108 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2111 * scripts/TexinfoDoclet.java: Removed.
2112 * Makefile.am (texinfo): Removed.
2113 * Makefile.in: Regenerated.
2115 2005-04-11 Michael Koch <konqueror@gmx.de>
2117 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2118 Fixed wrong casting.
2120 2005-04-06 Andrew Haley <aph@redhat.com>
2122 * testsuite/libjava.lang/bytearray.java: New file.
2123 * testsuite/libjava.lang/bytearray.out: New file.
2124 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2125 (loadClass): Use it.
2126 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2128 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2130 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2131 gcj-dbtool dependency
2132 * Makefile.in: Regenerated
2134 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2136 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2137 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2139 2005-04-05 Andrew Haley <aph@redhat.com>
2141 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2142 (Tokenizer): New class.
2143 (getFiles): New method.
2144 (main): Add "-" argument.
2146 Read list of files from stdin when merging map databases.
2147 (usage): Add "-" argument.
2151 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2154 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2155 * Makefile.in: Regenerate.
2156 * configure.ac: Add --with-java-home option.
2157 * configure: Regenerate.
2158 * external/Makefile.in: Regenerate.
2159 * external/sax/Makefile.in: Regenerate.
2160 * external/w3c_dom/Makefile.in: Regenerate.
2161 * gcj/Makefile.in: Regenerate.
2162 * include/Makefile.in: Regenerate.
2163 * testsuite/Makefile.in: Regenerate.
2164 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2167 2005-04-05 Tom Tromey <tromey@redhat.com>
2169 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2170 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2171 Rewrote to use _Jv_FindClassFromSignature.
2172 * verify.cc (resolve): throw NoClassDefFoundError.
2173 * link.cc (resolve_field): Throw NoClassDefFoundError.
2174 (find_field): Likewise.
2175 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2176 Handle error cases. Added 'endp' argument.
2177 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2179 2005-04-05 Tom Tromey <tromey@redhat.com>
2181 * Makefile.in: Rebuilt.
2182 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2183 gtk_awt_peer_sources.
2184 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2185 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2186 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2187 (gtk-awt-peer.lo): New target.
2189 2005-04-04 Steve Pribyl <steve@netfuel.com>
2192 * configure.ac: Fix fastjar definition for cross builds.
2193 * configure: Rebuilt.
2195 2005-04-04 Tom Tromey <tromey@redhat.com>
2197 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2198 it was already found.
2200 2005-04-04 Tom Tromey <tromey@redhat.com>
2202 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2203 org.metastatic.jessie.
2205 2005-04-02 Anthony Green <green@redhat.com>
2208 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2210 2005-04-02 Mark Wielaard <mark@klomp.org>
2212 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2213 Attributes and attribute order doesn't matter.
2214 (BasicAttributesEnumeration.where): Initialize to zero.
2215 (BasicAttributesEnumeration.nextElement): Update and compare where
2216 appropriately (zero based).
2218 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2220 PR libgcj/20090, PR libgcj/20526
2221 * gij.cc (nonstandard_opts_help): New function.
2222 (add_option): New function.
2223 (main): Support java options. Set java.class.path. Don't set
2225 * prims.cc (parse_x_arg): New function.
2226 (parse_init_args): Call parse_x_arg for -X and _ options, when
2227 ignoreUnrecognized is true.
2228 (new _Jv_RunMain): New vm_args variant.
2229 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2230 (_Jv_Jar_Class_Path): Remove variable.
2231 * include/java-props.h: Likewise.
2232 * include/cni.h (JvRealloc): New function.
2233 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2234 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2235 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2237 * configure.ac (JV_VERSION): Define.
2238 (JV_API_VERSION): Likewise.
2239 * configure: Regenerate.
2240 * include/config.h.in: Regenerate.
2242 2005-04-01 Mark Anderson <mark@panonet.net>
2244 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2245 -Infinity as parameters.
2247 2005-04-01 Michael Koch <konqueror@gmx.de>
2249 * java/io/PipedInputStream.java
2250 (read): Make sure a positive byte value is returned. Revised javadoc.
2251 Thanks to Olafur Bragason for reporting these bugs.
2253 2005-04-01 Tom Tromey <tromey@redhat.com>
2255 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2256 Updated for name change.
2257 (nativeFindClass): New method.
2258 (loadClass): Use nativeFindClass.
2259 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2261 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2262 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2264 (initialize): New method.
2265 (nativeFindClass): Declare.
2266 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2267 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2268 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2270 (definePackageForNative): Removed.
2271 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2272 Moved to VMClassLoader.java.
2273 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2274 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2275 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2276 removed VMClassLoader.java.
2277 (nat_source_files): Removed natVMClassLoader.cc.
2279 2005-04-01 Tom Tromey <tromey@redhat.com>
2281 * Makefile.in: Rebuilt.
2282 * Makefile.am (db_pathtail): Use $(gcc_version), not
2285 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2287 * java/util/Timer.java
2288 (run): Stop the queue if a task throws an exception.
2290 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2292 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2294 2005-03-29 Ian Lance Taylor <ian@airs.com>
2296 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2297 * external/sax/Makefile.in: Rebuild.
2298 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2300 * external/w3c_dom/Makefile.in: Rebuild.
2302 2005-03-29 Tom Tromey <tromey@redhat.com>
2304 * java/lang/natRuntime.cc (insertSystemProperties): Set
2305 gnu.gcj.runtime.endorsed.dirs.
2306 * Makefile.in: Rebuilt.
2307 * Makefile.am (ordinary_java_source_files): Added
2308 HelperClassLoader.java.
2309 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2310 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2312 (init): Use addDirectoriesFromProperty.
2313 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2314 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2315 gnu.gcj.runtime.endorsed.dirs.
2316 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2318 2005-03-26 Chris Burdess <dog@gnu.org>
2320 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2323 2005-03-13 Michael Koch <konqueror@gmx.de>
2325 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2327 2005-03-11 Chris Burdess <dog@gnu.org>
2329 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2332 2005-02-27 Chris Burdess <dog@gnu.org>
2334 * gnu/xml/aelfred2/JAXPFactory.java,
2335 gnu/xml/aelfred2/SAXDriver.java,
2336 gnu/xml/aelfred2/XmlParser.java,
2337 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2338 formatting conventions. Replaced arrays of Object with struct-like
2339 classes for easier maintainability. Made SAXDriver.stringInterning
2340 package private to allow access from XmlParser inside the loop without
2341 a method call overhead.
2343 2005-03-11 Chris Burdess <dog@gnu.org>
2345 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2348 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2350 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2351 settings to sub Makefiles.
2352 (GCJH, ZIP): Prefix with top_builddir.
2353 * configure: Rebuild.
2354 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2355 * external/w3c_dom/Makefile.in: Rebuild.
2356 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2357 * external/sax/Makefile.in: Rebuild.
2359 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2361 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2362 libsocket to the libraries to link for Solaris.
2364 2005-03-28 Per Bothner <per@bothner.com>
2366 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2367 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2369 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2371 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2372 to fix a ONESTEP fallout.
2373 * Makefile.in: Regenerate.
2375 2005-03-25 Mike Stump <mrs@apple.com>
2377 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2378 paths like we do for the compiler, as we use it in external/sax
2379 and it doesn't get MULTIBUILDTOP right when multilibing.
2381 2005-03-24 Anthony Green <green@redhat.com>
2383 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2385 (usage): Add [LIBDIR] to help output.
2386 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2387 * Makefile.am (AM_CXXFLAGS): Define
2388 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2389 (db_pathtail): New macro.
2391 2005-03-24 Tom Tromey <tromey@redhat.com>
2393 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2394 add sax and w3c libraries.
2395 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2397 * external/w3c_dom/Makefile.in: Rebuilt.
2398 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2400 (libw3c_gcj_la_LDFLAGS): New variable.
2401 (noinst_LTLIBRARIES): Renamed.
2402 * external/sax/Makefile.in: Rebuilt.
2403 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2405 (libsax_gcj_la_LDFLAGS): New variable.
2406 (noinst_LTLIBRARIES): Renamed.
2408 2005-03-23 Tom Tromey <tromey@redhat.com>
2410 * Makefile.in: Rebuilt.
2411 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2412 (libgcj0_convenience_la_SOURCES): Don't include
2413 gnu_xml_source_files.
2414 (libgcj0_convenience_la_LIBADD): New variable.
2415 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2416 (all_java_source_files): javax_imageio_source_files,
2417 javax_xml_source_files, and gnu_java_beans_source_files.
2418 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2419 (gnu-xml.lo): New target.
2420 (javax-imageio.lo): Likewise.
2421 (javax-xml.lo): Likewise.
2422 (gnu-java-beans.lo): Likewise.
2423 (gnu_java_beans_source_files): New variable.
2424 (javax_imageio_source_files): Likewise.
2425 (javax_xml_source_files): Likewise.
2426 (javax_source_files): Moved files to other variable.
2427 (awt_java_source_files): Likewise.
2428 (ordinary_java_source_files): Added BootClassLoader.java.
2429 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2430 not system class loader.
2431 (initBootLoader): New method.
2432 (loadClass): Search bootLoader.
2433 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2434 boot loader, not system class loader.
2435 (_Jv_UnregisterInitiatingLoader): Likewise.
2436 (_Jv_FindClass): Likewise. Ensure entries in
2437 bootstrap_class_list are unique.
2438 * java/lang/natClass.cc (getClassLoader): Don't special case
2439 system class loader.
2440 * java/lang/VMClassLoader.java (bootLoader): New field.
2441 (getResource): Use bootLoader.
2442 (getResources): Likewise.
2443 (initBootLoader): Declare.
2444 * gnu/gcj/runtime/BootClassLoader.java: New file.
2445 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2446 (EMPTY_ENUMERATION): Now package-private.
2447 * external/w3c_com/Makefile.in: Rebuilt.
2448 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2449 (w3c.jar): New target.
2450 (classes.stamp): Updated.
2451 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2452 Changed name of library.
2453 (libw3c_gcj_la_SOURCES): New variable.
2454 (libw3c_gcj_la_GCJFLAGS): Likewise.
2455 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2456 * external/sax/Makefile.in: Rebuilt.
2457 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2458 (sax.jar): New target.
2459 (classes.stamp): Updated.
2460 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2461 Changed name of library.
2462 (libsax_gcj_la_SOURCES): New variable.
2463 (libsax_gcj_la_GCJFLAGS): Likewise.
2464 (source_files): Renamed from libsax_convenience_la_SOURCES.
2465 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2467 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2469 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2471 2005-03-23 Sven de Marothy <sven@physto.se>
2473 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2475 * java/util/Calendar.java
2476 (set): Use starting day of week when one is needed if none is given.
2477 * java/text/SimpleDateFormat.java
2478 (parse): Handle 1-12 and 1-24 timestamps correctly.
2479 * java/util/GregorianCalendar.java
2480 (computeTime, computeFields): HOUR should be in 0-11 format.
2481 (nonLeniencyCheck): Adjust leniency checking to that fact.
2482 (getLinearDay): Should be private.
2484 2005-03-23 Tom Tromey <tromey@redhat.com>
2486 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2487 (_Jv_CheckABIVersion): Use it.
2489 2005-03-22 Mike Stump <mrs@apple.com>
2491 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2493 * include/posix.h: .dylib is used on all Apple MACH platforms.
2494 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2496 2005-03-22 Tom Tromey <tromey@redhat.com>
2498 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2500 2005-03-21 Tom Tromey <tromey@redhat.com>
2502 * java/lang/VMCompiler.java (static block): Also catch
2503 BufferUnderflowException.
2505 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2507 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2508 set tool_include_dir. In all substitutions, leave $(gcc_version)
2509 to be expanded by the Makefile.
2510 * aclocal.m4, configure: Regenerate.
2511 * Makefile.am: Set gcc_version. Replace all uses of
2512 @gcc_version@ with $(gcc_version).
2513 * external/Makefile.am, external/sax/Makefile.am
2514 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2515 * testsuite/Makefile.am: Set gcc_version.
2516 * include/Makefile.am: Set gcc_version and tool_include_dir.
2517 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2518 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2519 * testsuite/Makefile.in: Regenerate.
2521 2005-03-17 Andrew Haley <aph@redhat.com>
2523 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2525 Pass klass to _Jv_StackTrace::GetClassContext().
2526 * java/lang/ClassLoader.java (getParent): Pass class to
2527 VMSecurityManager.getClassContext()
2528 (getSystemClassLoader): Likewise.
2529 * java/lang/Package.java (getPackage): Likewise.
2530 (getPackages): Likewise.
2531 * java/lang/SecurityManager.java (getClassContext): Likewise.
2532 (currentClassLoader): Likewise.
2533 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2534 (currentClassLoader) Add new arg: caller.
2535 Pass caller to VMSecurityManager.getClassContext.
2537 * stacktrace.cc (GetClassContext): Correct calculation of
2540 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2541 im->source_file_name.
2543 2005-03-16 Andrew Haley <aph@redhat.com>
2545 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2547 2005-03-16 Tom Tromey <tromey@redhat.com>
2549 * link.cc (ensure_class_linked): Removed #ifdef.
2550 (print_class_loaded): Likewise.
2551 (wait_for_state): Likewise.
2552 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2553 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2554 * include/java-interp.h: ... here.
2556 2005-03-16 Tom Tromey <tromey@redhat.com>
2558 * gnu/java/lang/MainThread.java (run): Load main class using
2559 system class loader.
2561 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2563 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2564 lgcc_s to the libraries to link for Darwin.
2566 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2568 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2569 interpreter-specific code with #ifdef INTERPRETER.
2570 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2571 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2572 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2573 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2574 #ifdef INTERPRETER. Also protect declarations that use it.
2575 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2576 #ifdef INTERPRETER block.
2578 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2581 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2582 * Makefile.in: Rebuilt.
2584 2005-03-15 David Daney <ddaney@avtrex.com>
2586 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2589 2005-03-15 David Daney <ddaney@avtrex.com>
2591 * java/io/BufferedInputStream.java (available): Use 'in' instead
2592 of 'super' for underlying stream access.
2594 (read(byte[], int, int)): Ditto.
2596 (skip): Call skip on underlying stream when possible.
2598 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2600 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2601 SJLJ_EXCEPTIONS is defined.
2603 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2605 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2608 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2610 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2612 (libjava_arguments): Likewise.
2614 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2615 (gcj_jni_test_one): Likewise.
2616 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2617 Add flags to keep the Darwin linker quiet.
2618 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2619 Add -liconv for Darwin.
2621 2005-03-11 Tom Tromey <tromey@redhat.com>
2623 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2624 (_Jv_CheckABIVersion): Use it.
2626 2005-03-11 Tom Tromey <tromey@redhat.com>
2628 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2629 (usage): Document '-p'.
2630 * Makefile.in: Rebuilt.
2631 * Makefile.am (dbexecdir): New variable.
2632 (db_name): Likewise.
2633 (dbexec_DATA): Likewise.
2634 ($(db_name)): New target.
2635 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2636 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2639 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2641 * exception.cc: Remove stray MethodRef.h include.
2642 * java/lang/natClass.cc: Likewise.
2643 * gnu/gcj/runtime/MethodRef.java: Removed.
2644 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2645 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2646 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2647 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2648 * Makefile.in: Rebuilt.
2650 2005-03-10 Tom Tromey <tromey@redhat.com>
2652 * Makefile.in: Rebuilt.
2653 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2655 2005-03-10 Chris Burdess <dog@bluezoo.org>
2657 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2658 not currently parsing the DTD.
2660 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2662 New Stack Trace infrastructure.
2663 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2664 (gnu/gcj/runtime/StackTrace.java): Removed.
2665 (ordinary_java_source_files): Remove obsolete files.
2666 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2667 * configure.host (fallback_backtrace_h): Set backtrace header
2668 for mingw and cygwin targets.
2669 * configure.ac: Make symlink for fallback backtrace headers.
2670 * Makefile.in, configure: Rebuilt.
2671 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2672 Read 'LineNumberTable' attribute.
2673 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2675 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2677 * exception.cc: Remove unused include.
2678 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2679 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2680 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2681 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2682 table to direct threaded instruction values.
2683 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2684 (_Jv_InterpMethod::run): No longer member function. All
2685 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2686 is made or where an instruction could throw.
2687 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2689 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2690 (catch_fpe): Likewise.
2691 * stacktrace.cc: New file. Stack trace code now here.
2692 * gnu/gcj/runtime/MethodRef.java:
2693 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2694 calls addr2line to look up PC addresses in a given binary or shared
2696 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2697 gnu/gcj/runtime/natStackTrace.cc: Removed.
2698 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2699 this function name is specially recognised by the stack trace code
2700 and shouldn't be changed.
2701 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2702 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2703 (_Jv_InterpMethod::run): Update declaration.
2704 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2706 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2707 * include/java-stack.h: New file. Declarations for stack tracing.
2708 * include/jvm.h (_Jv_Frame_info): Removed.
2709 * java/lang/Class.h: Update friend declarations.
2710 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2712 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2713 (getStackTrace): Now native.
2714 (data): New RawDataManaged field.
2715 * java/lang/natClass.cc: Update includes.
2716 (forName): Use _Jv_StackTrace::GetCallingClass for
2717 calling-classloader check.
2718 (getClassLoader): Likewise.
2719 * java/lang/natRuntime.cc: Update includes.
2720 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2721 * java/lang/natVMSecurityManager.cc: Update includes.
2722 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2723 * java/lang/natVMThrowable.cc: New file. Native methods for
2725 * java/lang/reflect/natArray.cc: Update includes.
2726 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2727 accessibility check.
2728 * java/lang/reflect/natConstructor.cc: Update includes.
2729 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2730 accessibility check.
2731 * java/lang/reflect/natField.cc: Update includes.
2732 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2733 accessibility check.
2734 * java/lang/reflect/natMethod.cc: Update includes.
2735 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2736 accessibility check.
2737 * java/util/natResourceBundle.cc: Update includes.
2738 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2739 * java/util/logging/natLogger.cc: Update includes. Use
2740 _Jv_StackTrace::GetCallerInfo to get call-site info.
2741 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2743 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2746 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2748 * testsuite/libjava.compile/PR20312.java: New file.
2749 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2750 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2752 2005-03-09 Andrew Haley <aph@redhat.com>
2754 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2756 (smallTransferTo): New.
2757 (transferFrom): Loop around smallTransferFrom, copying pageSize
2759 (transferTo): Likewise.
2761 2005-03-09 David Daney <ddaney@avtrex.com>
2764 Merge BufferedInputStream from GNU Classpath.
2765 * java/io/BufferedInputStream.java (marktarget): Field removed.
2766 (CHUNKSIZE): Field removed.
2767 (bufferSize): New field.
2768 (BufferedInputStream): Initialize fields.
2769 (close): Invalidate mark and buffer indexes.
2771 (read()): Move mark handling code to refill.
2772 (read(byte[], int, int)): Ditto.
2773 (skip): Ditto and simplify EOF testing.
2774 (refill): Rewritten.
2775 * java/io/InputStreamReader.java (refill): Removed mark and reset
2776 of internal BufferedInputStream.
2778 2005-03-09 Tom Tromey <tromey@redhat.com>
2780 * java/lang/natVMClassLoader.cc (defineClass): Reference
2781 'systemClassLoader' field directly.
2782 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2784 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2785 Reference 'systemClassLoader' field directly.
2786 (_Jv_UnregisterInitiatingLoader): Likewise.
2787 (_Jv_FindClass): Likewise.
2789 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2791 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2793 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2794 the file in GNU Classpath style.
2796 2005-03-09 Tom Tromey <tromey@redhat.com>
2798 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2799 (toString): Synchronize.
2801 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2803 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2804 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2806 2005-03-07 Tom Tromey <tromey@redhat.com>
2808 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2809 (usage): Document '-f'.
2811 2005-03-07 Tom Tromey <tromey@redhat.com>
2813 * java/lang/VMCompiler.java (md5Digest): New field.
2814 (compileClass): Clone md5Digest instead of looking up a new one.
2816 2005-03-07 Tom Tromey <tromey@redhat.com>
2819 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2820 * link.cc (find_field_helper): Added 'type' argument.
2821 (find_field): Updated.
2823 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2824 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2825 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2826 throw UnsupportedOperationException, fixed comments.
2827 (setFont, setForeground): Fixed comments.
2828 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2829 return type to boolean.
2830 (getNextEvent): Fixed javadocs.
2831 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2832 (nativeQueueEmpty): Removed unused code.
2833 (iterateNativeQueue): Removed outer loop.
2835 2005-03-06 Roger Sayle <roger@eyesopen.com>
2838 * Makefile.am (libgcj0_convenience.la): Revert last change.
2839 * Makefile.in: Regenerate.
2841 2005-03-05 Anthony Green <green@redhat.com>
2843 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2844 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2845 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2846 (_Jv_GetDrawingSurface): Set visualID.
2847 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2848 (JAWT_GetAWT): Set Lock and Unlock.
2849 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2851 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2852 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2853 JAWT_LOCK_SURFACE_CHANGED): New macros.
2854 (struct _JAWT): Add Lock and Unlock.
2856 2005-03-05 Roger Sayle <roger@eyesopen.com>
2857 Alexandre Oliva <aoliva@redhat.com>
2858 Kelley Cook <kcook@gcc.gnu.org>
2861 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2862 of the object files to link to avoid exceeding the command line
2863 length limits on some platforms.
2864 (clean-local): Clean up objectlist files.
2865 * Makefile.in: Regenerate.
2867 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2869 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2870 spec_case. Initialize pointer mlo.
2872 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2875 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2877 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2880 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2881 uninitialized variable z.
2883 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2884 possible unused variables.
2886 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2888 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2890 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2893 * testsuite/libjava.jni/jni.exp
2894 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2896 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2898 2005-02-23 David Daney <ddaney@avtrex.com>
2900 * configure.host: Don't use -mxgot for MIPS builds.
2902 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
2905 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2906 (COMPPATH): Removed.
2907 (ZIP, GCJH): Replace it with ../$(host_subdir).
2908 (built_gcc_dir): Add $(host_subdir).
2909 * configure: Regenerate.
2910 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2911 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2912 external/w3c_dom/Makefile.in: Regenerate.
2914 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
2916 * java/awt/font/TextAttribute.java: changed names to lower case;
2917 (readResolve): implemented.
2918 Added doc comments all over.
2920 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2923 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
2924 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
2925 value. Move argument parsing code to prims.cc.
2926 * prims.cc (no_properties): Remove.
2927 (_Jv_Compiler_Properties): Initialize to NULL.
2928 (_Jv_Properties_Count): Initialize to 0.
2929 (parse_verbose_args): New function.
2930 (parse_init_args): New function.
2931 (_Jv_CreateJavaVM): Call parse_init_args.
2932 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
2933 * gcj/cni.h (JvVMOption): New struct.
2934 (JvVMInitArgs): Likewise.
2935 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
2937 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
2938 (_Jv_VMInitArgs): Likewise.
2939 * include/java-props.h (_Jv_Properties_Count): Declare.
2940 * java/lang/natRuntime.cc (insertSystemProperties): Use
2941 _Jv_Properties_Count in for loop exit condition.
2942 * testsuite/libjava.jni/jni.exp
2943 (gcj_invocation_compile_c_to_binary): New procedure.
2944 (gcj_invocation_test_one): Likewise.
2945 (gcj_jni_run): Run JNI invocation API tests.
2946 * testsuite/libjava.jni/invocation/PR16923.c,
2947 testsuite/libjava.jni/invocation/PR16923.java,
2948 testsuite/libjava.jni/invocation/PR16923.out: New test.
2950 2005-02-23 Michael Koch <konqueror@gmx.de>
2952 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
2953 * Makefile.in: Regenerated.
2955 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2957 * gnu/java/nio/ChannelReader: Fixed comments.
2959 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2961 * java/nio/channels/Channels: Added FIXMEs about
2962 stub method implementation.
2963 (newReader): Implemented.
2964 * gnu/java/nio/ChannelReader: New class.
2966 2005-02-23 Michael Koch <konqueror@gmx.de>
2968 * java/text/SimpleDateFormat.java:
2969 Removed unused import.
2971 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2974 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
2975 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
2976 * Makefile.in: Regenerate.
2977 * configure.ac: Check for libXtst.
2978 * configure: Regenerate.
2980 2005-02-22 Mark Wielaard <address@bogus.example.com>
2982 * java/security/AlgorithmParameterGenerator.java (getInstance):
2983 Mention provider when throwing NoSuchProviderException.
2984 * java/security/AlgorithmParameters.java (getInstance): Likewise.
2985 * java/security/KeyFactory.java (getInstance): Likewise.
2986 * java/security/KeyStore.java (getInstance): Likewise.
2987 * java/security/SecureRandom.java (getInstance): Likewise.
2988 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
2990 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
2992 * java/lang/reflect/Proxy.java,
2994 java/security/SecureRandom.java,
2995 java/util/Timer.java,
2996 java/util/prefs/AbstractPreferences.java:
2997 Don't catch java.lang.ThreadDeath.
2999 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3001 * java/awt/font/TransformAttribute.java,
3002 (TransformAttribute(AffineTransform)): throw
3003 IllegalArgumentException for null transform.
3004 (getTransform): return a copy of transform.
3005 Added doc comments to all.
3007 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3009 * java/io/Externalizable.java,
3010 java/io/Serializable.java
3011 (serialVersionUID): Removed.
3012 * java/rmi/server/RemoteObject.java,
3013 java/rmi/server/UID.java
3014 (serialVersionUID): Made private.
3015 * java/rmi/server/RemoteRef.java,
3016 java/rmi/server/ServerRef.java
3017 (serialVersionUID): Set proper value.
3018 * java/security/interfaces/DSAPrivateKey.java,
3019 java/security/interfaces/DSAPublicKey.java,
3020 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3021 java/security/interfaces/RSAPrivateCrtKey.java,
3022 java/security/interfaces/RSAPrivateKey.java,
3023 java/security/interfaces/RSAPublicKey.java,
3024 javax/crypto/SecretKey.java
3025 (serialVersionUID): Added.
3027 2005-02-22 Tom Tromey <tromey@redhat.com>
3029 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3031 2005-02-22 Tom Tromey <tromey@redhat.com>
3034 * verify.cc (type::EITHER): New constant.
3035 (check_field_constant): Use it.
3036 (type::compatible): Handle it.
3038 2005-02-22 Michael Koch <konqueror@gmx.de>
3040 * gnu/java/security/PolicyFile.java,
3041 gnu/java/security/pkcs/PKCS7SignedData.java,
3042 gnu/java/security/pkcs/SignerInfo.java:
3043 Fixed copyright header.
3045 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3047 * java/beans/PropertyDescriptor.java
3048 (PropertyDescriptor,setReadMethod): Set propertyType.
3050 2005-02-22 Michael Koch <konqueror@gmx.de>
3052 * java/nio/DirectByteBufferImpl.java
3053 (owner): Fixed formatting of javadoc.
3054 * java/text/DateFormat.java
3055 (getAvailableLocales): Fixed formatting.
3056 * java/text/SimpleDateFormat.java:
3057 Fixed formatting and import statement order.
3058 * java/util/Calendar.java
3059 (Calendar): Fixed javadoc to be HTML compliant.
3060 * java/util/SimpleTimeZone.java:
3063 2005-02-22 Roman Kennke <roman@ontographics.com>
3065 * javax/swing/plaf/basic/BasicLookAndFeel.java
3066 (initComponentDefaults): Fixed Button left and right margin.
3068 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3070 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3074 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3075 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3076 (getWidth): New method.
3077 (getHeight): Likewise.
3078 (create): Remove width, height and insets parameters. Move size
3080 (realize_cb): ... here. New function.
3081 (connectSignals): Connect realize_cb.
3082 (request_frame_extents): Remove FIXME. Move
3083 postInsetsChangedEvent lookup ...
3084 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3085 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3086 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3088 (windowGetWidthID): Likewise.
3089 (windowGetHeightID): Likewise.
3091 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3095 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3097 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3099 Merge serialization from GNU Classpath.
3100 * gcj/method.h: Add missing #includes.
3101 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3102 primitive class IDs on the stream here...
3103 (resolveClass): ...not here.
3104 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3106 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3107 setLongNative, setIntNative, setShortNative, setCharNative,
3108 setByteNative, setBooleanNative, setObjectNative): New native methods.
3109 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3110 setLongNative, setIntNative, setShortNative, setCharNative,
3111 setByteNative, setBooleanNative, setObjectNative): Implement them.
3112 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3113 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3114 the constructor here.
3115 (callConstructor): Removed.
3116 (getCallersClassLoader): Removed.
3117 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3118 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3119 to control whether setting final field values is permitted. Call
3120 getAddr() with checkFinal parameter instead of setAddr().
3121 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3122 only if not done already.
3123 (getAddr): Add checkFinal parameter. Do the final field check only if
3127 2005-02-21 Mark Wielaard <mark@klomp.org>
3130 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3133 2005-02-21 Mark Wielaard <mark@klomp.org>
3136 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3137 without a super class and us ObjectStreamClass.lookupForClassObject().
3138 (resolveClass): Check for primitive types.
3139 (lookupClass): Return null when argument is null.
3141 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3143 * java/io/ObjectInputStream.java
3144 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3146 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3148 * java/io/ObjectOutputStream.java
3149 (writeObject, callWriteMethod): Replaced reflection with accessing
3150 cached info in ObjectStreamClass.
3151 (getMethod): Removed.
3152 * java/io/ObjectStreamClass.java
3153 (findMethod): Added check to make sure the method found has the
3155 (cacheMethods): Added writeReplace and writeObject methods.
3156 (setFlags): Look at new writeObjectMethod field instead of doing
3158 (writeReplaceMethod): New field.
3159 (writeObjectMethod): New field.
3161 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3162 Jeroen Frijters <jeroen@frijters.net>
3164 * java/io/ObjectInputStream.java
3165 (newObject): Changed prototype. Get a constructor reflect object
3167 (callConstructor): Removed.
3168 (allocateObject): Changed prototype.
3169 (readClassDescriptor): Build the constructor reflection directly.
3170 (readObject): Invoke newObject using the new prototype.
3172 * java/io/ObjectStreamClass.java
3173 (firstNonSerializableParent): Removed.
3174 (firstNonSerializableParentConstructor): Added.
3176 2005-02-21 Mark Wielaard <mark@klomp.org>
3178 * gnu/java/locale/LocaleInformation_en.java: Extend
3179 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3181 2005-02-21 Mark Wielaard <mark@klomp.org>
3183 * java/text/SimpleDateFormat.java
3184 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3185 NullPointerException when formatData is null.
3187 2005-02-21 Mark Wielaard <mark@klomp.org>
3189 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3190 taking dstSavings into account.
3192 2005-02-21 Sven de Marothy <sven@physto.se>
3194 * java/text/SimpleDateFormat.java,
3195 (parse): Set correct DST_OFFSET to the correct value.
3197 2005-02-21 Mark Wielaard <mark@klomp.org>
3199 * java/util/SimpleTimeZone.java (checkRule): Throw
3200 IllegalArgumentException when month out of range.
3202 2005-02-21 Sven de Marothy <sven@physto.se>
3204 * java/util/GregorianCalendar.java,
3205 (add): Don't set fields directly anymore. Use set()
3207 2005-02-21 Mark Wielaard <mark@klomp.org>
3209 * java/text/SimpleDateFormat.java (CompiledField.toString):
3210 Use StringBuffer, not StringBuilder.
3211 (toString): Likewise.
3213 2005-02-21 Sven de Marothy <sven@physto.se>
3215 * java/util/Calendar.java
3216 (clear): Dates should clear to local time.
3217 * java/util/GregorianCalendar.java
3218 (computeTime): Fix priority problem with DAY_OF_WEEK,
3219 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3221 2005-02-21 Sven de Marothy <sven@physto.se>
3223 * java/util/Calendar.java
3224 (Calendar): Constructor should clear fields.
3226 2005-02-21 Sven de Marothy <sven@physto.se>
3228 * java/text/SimpleDateFormat.java
3229 (parse): Tweak handling of 2-year dates
3230 * java/util/Calendar.java
3231 (clear): Clear fields to correct value.
3232 * java/util/GregorianCalendar.java
3233 (computeTime): Correct handling of time zones.
3234 Correct field minimum values.
3236 2005-02-21 Sven de Marothy <sven@physto.se>
3238 * java/util/Calendar.java
3239 (set) Invalidate all fields on first call to set().
3241 2005-02-21 Sven de Marothy <sven@physto.se>
3243 * java/util/GregorianCalendar.java
3244 (computeTime): Fixed handling of time zones.
3246 2005-02-21 Sven de Marothy <sven@physto.se>
3248 * java/util/Calendar.java
3249 (clear): Set values to Epoch instead of zero.
3250 (set): Set isSet to the relevant field pattern instead of just
3252 * java/util/GregorianCalendar.java
3253 (getBundle): Removed.
3254 (getDayOfYear): Removed.
3255 (getFirstDayOfMonth): New private method.
3256 (nonLeniencyCheck): New private method.
3257 (computeTime): Correct handling of insufficient data.
3259 2005-02-21 Sven de Marothy <sven@physto.se>
3261 * java/util/Calendar.java: Invalidate ERA field on setting
3263 * java/util/SimpleTimeZone.java:
3264 (getDaysInMonth): Reimplemented.
3265 * java/util/GregorianCalendar.java:
3266 (getLinearTime): Removed.
3267 (isLeapYear(int,boolean)): Removed.
3268 (before(), after()): Removed.
3269 (computeTime): Reimplemented.
3271 2005-02-21 Sven de Marothy <sven@physto.se>
3273 * java/util/Calendar.java: Reformatted.
3274 * java/util/GregorianCalendar.java: Reformatted.
3275 * java/util/SimpleTimeZone.java: Reformatted.
3277 2005-02-21 Sven de Marothy <sven@physto.se>
3279 * java/util/GregorianCalendar.java
3280 (GregorianCalendar): Update fields in the constructor
3282 2005-02-21 Noa Resare <noa@resare.com>
3284 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3285 (set(int,int)): Set and use new field.
3286 (set(int,int,int)): Check new field.
3288 2005-02-21 Noa Resare <address@hidden>
3290 * java/util/Calendar.java(set):
3291 Fix for DST related regression.
3293 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3295 * java/util/Calendar.java
3296 (setTimeInMillis): Added call to clear, removed computeFields call.
3297 * java/util/Date.java
3298 (Date(int,int,int,int,int,int)): Removed workaround for
3299 GregorianCalendar bug.
3300 * java/util/GregorianCalendar.java
3301 (GregorianCalendar): Chained all constructors to a (new)
3303 (computeTime): Fixed support for lenient month treatment.
3304 (getLinearDay): Return long instead of int.
3305 (calculateDay): Added fields argument and changed day argument
3308 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3310 * java/text/SimpleDateFormat.java
3311 Lots of documentation updates.
3312 (readObject(java.io.ObjectInputStream)): Wraps
3313 IllegalArgumentException as specified.
3314 (compileFormat(String)): Uses standardChars
3315 rather than the local pattern characters.
3316 Throws IllegalArgumentException rather than
3318 (toString()): Extended to include all variables
3320 (translateLocalizedPattern(String, String, String)):
3321 Renamed to better define the use of this method.
3323 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3325 * java/text/DateFormat.java:
3326 Documented pattern character offset constants and
3328 (Field): Added new static fields for new pattern chars.
3329 * java/text/SimpleDateFormat.java:
3330 (CompiledField): Changed name of FieldSizePair class
3331 to CompiledField after adding the character as an
3332 attribute. Changed fields to private and added
3333 accessors to give encapsulation.
3334 (CompiledField.CompiledField(int,int,char)): Extended
3335 with character field.
3336 (CompiledField.getField()): New accessor method.
3337 (CompiledField.getSize()): New acceessor method.
3338 (CompiledField.getCharacter()): New accessor method.
3339 (CompiledField.toString()): Added primarily for debugging.
3340 (standardChars): Now uses extended 24 character sequence.
3341 (compileFormat(String)): Changed to use CompiledField.
3342 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3343 java.text.FieldPosition)): Changed to use CompiledField.
3344 New handler for RFC 822 timezones added.
3346 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3348 * java/text/SimpleDateFormat.java:
3349 (parse(String, java.text.ParsePosition)):
3350 Changed 'E' and 'M' cases to use both
3351 short and long names. Extended 'z'
3352 case to also handle 'Z', and deal
3353 with simple GMT offsets such as +0100.
3354 (computeOffset(String)): New private method,
3355 which converts a GMT offset specification,
3356 such as GMT-0500 to a numeric offset in
3358 * java/util/TimeZone.java:
3359 (timezones()): Added "CEST", the daylight
3360 savings time version of "CET", or Central
3363 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3365 * java/text/SimpleDateFormat.java:
3366 (parse): Set the DST offset to 0 when parsing
3367 GMT offset timezones.
3369 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3371 * java/text/SimpleDateFormat.java:
3372 (parse): Use offset to set ZONE_OFFSET
3373 rather than the DST_OFFSET, so that
3374 GMT offset timezones change the right
3377 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3379 * java/text/SimpleDateFormat.java:
3380 (getDateFormatSymbols()): return a copy
3381 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3382 throw exception on null input
3383 (clone()): implemented to clone
3386 2005-02-21 Sven de Marothy <sven@physto.se>
3388 * java/text/SimpleDateFormat.java
3389 (parse): comparison should be case-insensitive, ignore null
3392 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3394 * gnu/java/beans/IntrospectionIncubator.java
3395 (addMethod) Reverts the patch that ntroduced a regression (see bug
3396 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3398 2005-02-21 Michael Koch <konqueror@gmx.de>
3400 * java/awt/Checkbox.java
3401 (next_checkbox_number): New static variable.
3402 (generateName): New method.
3403 (getUniqueLong): Likewise.
3404 * java/awt/Window.java
3405 (next_window_number): New static variable.
3406 (generateName): New method.
3407 (getUniqueLong): Likewise.
3409 2005-02-21 Mark Wielaard <mark@klomp.org>
3411 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3414 2005-02-21 Andrew Haley <aph@redhat.com>
3416 * Makefile.in: Rebuilt.
3417 * Makefile.am (nat_source_files): Added natLogger.cc.
3418 * java/util/logging/natLogger.cc: New file.
3419 * java/util/logging/Logger.java (getCallerStackFrame): Now
3422 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3424 * Makefile.am (all_property_files): Remove left over.
3425 (classes.stamp): Add stamp for the ONESTEP build, also known as
3426 --enable-libgcj-multifile.
3427 * Makefile.in: Regenerated.
3429 2005-02-21 Michael Koch <konqueror@gmx.de>
3431 * java/awt/Button.java,
3432 java/awt/Container.java,
3434 java/awt/Frame.java,
3435 java/text/CollationElementIterator.java,
3436 java/text/RuleBasedCollator.java,
3437 java/util/PropertyPermission.java:
3438 Fixed formatting issues all over.
3440 2005-02-21 Mark Wielaard <mark@klomp.org>
3442 * java/io/FileDescriptor.java (sync): Add real exception to
3443 SyncFailedException.
3445 2005-02-21 Michael Koch <konqueror@gmx.de>
3447 * java/io/InputStreamReader.java:
3450 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3453 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3455 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3457 * libraries/javalib/gnu/regexp/RE.java,
3458 libraries/javalib/java/io/ObjectInputStream.java,
3459 libraries/javalib/java/security/AllPermission.java,
3460 libraries/javalib/java/security/BasicPermission.java,
3461 libraries/javalib/java/security/Permissions.java,
3462 libraries/javalib/java/text/MessageFormat.java:
3463 Made 'inner' classes real public static inner classes,
3464 and made them final where possible, or removed them
3467 2005-02-20 Michael Koch <konqueror@gmx.de>
3469 * gnu/java/text/FormatCharacterIterator.java:
3470 Removed redundant modifiers.
3472 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3474 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3477 2005-02-19 Michael Koch <konqueror@gmx.de>
3479 * Makefile.am: Added new files in gnu/java/beans and
3480 java/beans/XMLDecoder.java.
3481 * Makefile.in: Regenerated.
3483 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3485 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3486 assignment behavior by using java.lang.reflect.Array.set()
3489 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3491 * gnu/java/beans/EmptyBeanInfo.java,
3492 gnu/java/beans/info/ComponentBeanInfo.java:
3493 Removed unused files.
3495 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3497 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3498 of AppletStub for java.beans.Beans.instantiate.
3499 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3501 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3502 to be conformant with Javadoc guidelines.
3503 (instantiate): Added two more overloaded variants, reworked user
3504 documentation, fixed exception behavior, fixed behavior when
3507 2005-02-19 Mark Wielaard <mark@klomp.org>
3509 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3511 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3513 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3515 * gnu/java/beans/decoder/AbstractContext.java,
3516 gnu/java/beans/decoder/AbstractCreatableContext.java,
3517 gnu/java/beans/decoder/AbstractElementHandler.java,
3518 gnu/java/beans/decoder/AbstractObjectContext.java,
3519 gnu/java/beans/decoder/ArrayContext.java,
3520 gnu/java/beans/decoder/ArrayHandler.java,
3521 gnu/java/beans/decoder/AssemblyException.java,
3522 gnu/java/beans/decoder/BooleanHandler.java,
3523 gnu/java/beans/decoder/ByteHandler.java,
3524 gnu/java/beans/decoder/CharHandler.java,
3525 gnu/java/beans/decoder/ClassHandler.java,
3526 gnu/java/beans/decoder/ConstructorContext.java,
3527 gnu/java/beans/decoder/Context.java,
3528 gnu/java/beans/decoder/DecoderContext.java,
3529 gnu/java/beans/decoder/DefaultExceptionListener.java,
3530 gnu/java/beans/decoder/DoubleHandler.java,
3531 gnu/java/beans/decoder/DummyContext.java,
3532 gnu/java/beans/decoder/DummyHandler.java,
3533 gnu/java/beans/decoder/ElementHandler.java,
3534 gnu/java/beans/decoder/FloatHandler.java,
3535 gnu/java/beans/decoder/GrowableArrayContext.java,
3536 gnu/java/beans/decoder/IndexContext.java,
3537 gnu/java/beans/decoder/IntHandler.java,
3538 gnu/java/beans/decoder/JavaHandler.java,
3539 gnu/java/beans/decoder/LongHandler.java,
3540 gnu/java/beans/decoder/MethodContext.java,
3541 gnu/java/beans/decoder/MethodFinder.java,
3542 gnu/java/beans/decoder/NullHandler.java,
3543 gnu/java/beans/decoder/ObjectContext.java,
3544 gnu/java/beans/decoder/ObjectHandler.java,
3545 gnu/java/beans/decoder/PersistenceParser.java,
3546 gnu/java/beans/decoder/PropertyContext.java,
3547 gnu/java/beans/decoder/ShortHandler.java,
3548 gnu/java/beans/decoder/SimpleHandler.java,
3549 gnu/java/beans/decoder/StaticMethodContext.java,
3550 gnu/java/beans/decoder/StringHandler.java,
3551 gnu/java/beans/decoder/VoidHandler.java: New class
3552 implementing java.beans.XMLDecoder decoding functionality.
3553 * java/beans/XMLDecoder.java: New class.
3555 2005-02-19 Michael Koch <konqueror@gmx.de>
3557 * javax/swing/JTextField.java
3558 (notfiyAction): Added javadoc.
3560 2005-02-19 Sven de Marothy <sven@physto.se>
3562 * javax/swing/SpinnerDateModel.java: Implemented.
3564 2005-02-19 Michael Koch <konqueror@gmx.de>
3566 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3567 * Makefile.in: Regenerated.
3569 2005-02-19 Michael Koch <konqueror@gmx.de>
3571 * gnu/java/nio/SelectorImpl.java:
3572 Reworked import statements.
3573 (register): Removed unused code.
3574 * java/nio/channels/Channels.java: Reformatted.
3575 * java/nio/charset/Charset.java: Likewise.
3576 * java/rmi/server/RemoteObject.java
3577 (serialVersionUID): Made private.
3578 * java/rmi/server/UID.java
3579 (serialVersionUID): Likewise.
3581 2005-02-19 Michael Koch <konqueror@gmx.de>
3583 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3584 gnu/java/net/protocol/ftp/BlockInputStream.java,
3585 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3586 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3587 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3588 gnu/java/net/protocol/ftp/DTPInputStream.java,
3589 gnu/java/net/protocol/ftp/DTP.java,
3590 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3591 gnu/java/net/protocol/ftp/FTPConnection.java,
3592 gnu/java/net/protocol/ftp/FTPException.java,
3593 gnu/java/net/protocol/ftp/FTPResponse.java,
3594 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3595 gnu/java/net/protocol/ftp/Handler.java,
3596 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3597 gnu/java/net/protocol/ftp/StreamInputStream.java,
3598 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3599 gnu/java/net/CRLFInputStream.java,
3600 gnu/java/net/CRLFOutputStream.java,
3601 gnu/java/net/GetLocalHostAction.java,
3602 gnu/java/net/protocol/ftp/package.html: New files.
3603 * Makefile.am: Added new files.
3604 * Makefile.in: Regenerated.
3606 2005-02-18 Tom Tromey <tromey@redhat.com>
3608 * link.cc (make_vtable): Remove abstract method check.
3609 (append_partial_itable): Likewise.
3612 * verify.cc (type::equals): Fixed test.
3613 * testsuite/libjava.lang/PR20056.out: New file.
3614 * testsuite/libjava.lang/PR20056.java: New file.
3616 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3618 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3619 not the HashEntry. Reported by Jean-Marie White.
3621 2005-02-18 Tom Tromey <tromey@redhat.com>
3624 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3625 * link.cc (has_field_p): New function.
3626 * verify.cc (check_field_constant): Added 'putfield' argument.
3627 (verify_instructions_0): Updated.
3628 (type::equals): New method.
3630 2005-02-18 Anthony Green <green@redhat.com>
3632 * NEWS: Draft of libgcj NEWS for 4.0.
3634 2005-02-18 Anthony Green <green@redhat.com>
3636 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3637 architecture names to "i386" for compatibility reasons. Win32
3640 2005-02-18 Anthony Green <green@redhat.com>
3642 * gij.cc (version): Change year for '--version' to 2005.
3643 * gnu/gcj/convert/Convert.java: Ditto.
3644 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3645 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3647 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3648 recent copyright year in `--version' output.
3650 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3652 * java/nio/charset/Charset.java (forName): Throws
3653 IllegalArgumentException when argument is null
3654 and added documentation.
3656 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3658 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3659 Move the position of the source buffer forward.
3661 2005-02-17 Tom Tromey <tromey@redhat.com>
3663 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3664 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3665 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3666 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3667 Changed type of second argument. Rewrote.
3668 (make_vtable): Use it.
3669 (append_partial_itable): Updated.
3670 (layout_vtable_methods): Updated.
3672 2005-02-17 Michael Koch <konqueror@gmx.de>
3674 * gnu/java/net/PlainSocketImpl.java
3675 (shutdownInput): Added javadoc.
3676 (shutdownOutput): Likewise.
3678 2005-02-17 Michael Koch <konqueror@gmx.de>
3680 * javax/print/attribute/standard/Chromaticity.java,
3681 javax/print/attribute/standard/Destination.java,
3682 javax/print/attribute/standard/MediaPrintableArea.java,
3683 javax/print/attribute/standard/MediaSize.java: New files.
3684 * Makefile.am: Added new files.
3685 * Makefile.in: Regenerated.
3687 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3688 Michael Koch <konqueror@gmx.de>
3690 * gnu/java/net/protocol/http/Cookie.java,
3691 gnu/java/net/protocol/http/HTTPConnection.java,
3692 gnu/java/net/protocol/http/HTTPDateFormat.java,
3693 gnu/java/net/protocol/http/Request.java,
3694 gnu/java/nio/PipeImpl.java,
3695 gnu/java/rmi/dgc/DGCImpl.java,
3696 gnu/java/rmi/server/ConnectionRunnerPool.java,
3697 gnu/java/rmi/server/UnicastConnectionManager.java,
3698 gnu/java/security/der/DERWriter.java,
3699 gnu/java/security/pkcs/SignerInfo.java,
3700 gnu/java/security/provider/EncodedKeyFactory.java,
3701 gnu/java/security/provider/GnuDHPublicKey.java,
3702 gnu/java/security/provider/GnuDSAPrivateKey.java,
3703 gnu/java/security/provider/GnuDSAPublicKey.java,
3704 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3705 gnu/java/security/x509/X500DistinguishedName.java,
3706 gnu/java/security/x509/X509CRL.java,
3707 gnu/java/security/x509/X509CRLEntry.java,
3708 gnu/java/security/x509/X509Certificate.java,
3709 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3710 gnu/java/security/x509/ext/CertificatePolicies.java,
3711 gnu/java/security/x509/ext/PolicyConstraint.java,
3712 gnu/xml/dom/Consumer.java,
3713 gnu/xml/dom/DomCharacterData.java,
3714 gnu/xml/dom/DomDocument.java,
3715 gnu/xml/dom/DomDocumentBuilder.java,
3716 gnu/xml/dom/DomIterator.java,
3717 gnu/xml/dom/DomNode.java,
3718 gnu/xml/dom/DomXPathExpression.java,
3719 gnu/xml/dom/DomXPathResult.java,
3720 gnu/xml/dom/JAXPFactory.java,
3721 gnu/xml/pipeline/CallFilter.java,
3722 gnu/xml/pipeline/DomConsumer.java,
3723 gnu/xml/pipeline/LinkFilter.java,
3724 gnu/xml/pipeline/NSFilter.java,
3725 gnu/xml/pipeline/TeeConsumer.java,
3726 gnu/xml/pipeline/ValidationConsumer.java,
3727 gnu/xml/pipeline/WellFormednessFilter.java,
3728 gnu/xml/pipeline/XIncludeFilter.java,
3729 gnu/xml/pipeline/XsltFilter.java,
3730 gnu/xml/transform/ApplyImportsNode.java,
3731 gnu/xml/transform/Bindings.java,
3732 gnu/xml/transform/DocumentFunction.java,
3733 gnu/xml/transform/FormatNumberFunction.java,
3734 gnu/xml/transform/NodeNumberNode.java,
3735 gnu/xml/transform/NumberNode.java,
3736 gnu/xml/transform/Stylesheet.java,
3737 gnu/xml/transform/SystemPropertyFunction.java,
3738 gnu/xml/transform/Template.java,
3739 gnu/xml/transform/TemplatesImpl.java,
3740 gnu/xml/transform/TransformerImpl.java,
3741 gnu/xml/transform/ValueOfNode.java,
3742 gnu/xml/transform/XSLURIResolver.java,
3743 gnu/xml/util/DoParse.java,
3744 gnu/xml/util/Resolver.java,
3745 gnu/xml/xpath/Expr.java,
3746 gnu/xml/xpath/FunctionCall.java,
3747 gnu/xml/xpath/RelationalExpr.java,
3748 gnu/xml/xpath/Selector.java,
3749 gnu/xml/xpath/XPathParser.java:
3750 Reworked import statements, fixed modifier order and some little
3753 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3755 * java/nio/ByteBufferImpl.java (compact):
3756 Set position and limit even if no bytes were moved.
3758 2005-02-17 Michael Koch <konqueror@gmx.de>
3760 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3761 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3762 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3763 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3764 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3765 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3766 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3767 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3768 * java/nio/FloatBufferImpl.java (compact): Set position.
3769 * java/nio/CharBufferImpl.java (compact): Likewise.
3770 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3771 * java/nio/IntBufferImpl.java (compact): Likewise.
3772 * java/nio/LongBufferImpl.java (compact): Likewise.
3773 * java/nio/ShortBufferImpl.java (compact): Likewise.
3775 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3777 * java/nio/ByteBufferImpl.java,
3778 java/nio/CharBufferImpl.java,
3779 java/nio/DirectByteBufferImpl.java,
3780 java/nio/DoubleBufferImpl.java,
3781 java/nio/FloatBufferImpl.java,
3782 java/nio/IntBufferImpl.java,
3783 java/nio/LongBufferImpl.java,
3784 java/nio/MappedByteBufferImpl.java,
3785 java/nio/ShortBufferImpl.java
3786 (compact): Added explicit read-only check and invalidate mark.
3788 2005-02-17 Michael Koch <konqueror@gmx.de>
3790 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3791 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3792 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3793 gnu/java/awt/peer/gtk/GdkGraphics.java,
3794 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3795 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3796 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3797 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3798 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3799 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3800 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3801 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3802 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3803 gnu/java/awt/peer/gtk/GtkClipboard.java,
3804 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3805 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3806 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3807 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3808 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3809 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3810 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3811 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3812 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3813 gnu/java/awt/peer/gtk/GtkToolkit.java,
3814 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3815 java/applet/Applet.java,
3816 java/awt/AWTError.java,
3817 java/awt/AWTEvent.java,
3818 java/awt/AWTEventMulticaster.java,
3819 java/awt/AWTException.java,
3820 java/awt/AWTKeyStroke.java,
3821 java/awt/AWTPermission.java,
3822 java/awt/ActiveEvent.java,
3823 java/awt/Adjustable.java,
3824 java/awt/AlphaComposite.java,
3825 java/awt/AttributeValue.java,
3826 java/awt/BorderLayout.java,
3827 java/awt/BufferCapabilities.java,
3828 java/awt/Button.java,
3829 java/awt/Canvas.java,
3830 java/awt/CheckboxGroup.java,
3831 java/awt/CheckboxMenuItem.java,
3832 java/awt/Color.java,
3833 java/awt/ColorPaintContext.java,
3834 java/awt/Component.java,
3835 java/awt/ComponentOrientation.java,
3836 java/awt/Composite.java,
3837 java/awt/CompositeContext.java,
3838 java/awt/Container.java,
3839 java/awt/ContainerOrderFocusTraversalPolicy.java,
3840 java/awt/DefaultFocusTraversalPolicy.java,
3841 java/awt/Dialog.java,
3842 java/awt/Dimension.java,
3843 java/awt/DisplayMode.java,
3844 java/awt/EventQueue.java,
3845 java/awt/FileDialog.java,
3846 java/awt/FontFormatException.java,
3847 java/awt/Graphics.java,
3848 java/awt/Graphics2D.java,
3849 java/awt/GraphicsConfigTemplate.java,
3850 java/awt/GraphicsConfiguration.java,
3851 java/awt/GraphicsDevice.java,
3852 java/awt/GridBagLayout.java,
3853 java/awt/GridBagLayoutInfo.java,
3854 java/awt/GridLayout.java,
3855 java/awt/HeadlessException.java,
3856 java/awt/IllegalComponentStateException.java,
3857 java/awt/Image.java,
3858 java/awt/Insets.java,
3859 java/awt/ItemSelectable.java,
3860 java/awt/JobAttributes.java,
3861 java/awt/KeyEventDispatcher.java,
3862 java/awt/KeyEventPostProcessor.java,
3863 java/awt/KeyboardFocusManager.java,
3864 java/awt/Label.java,
3865 java/awt/LayoutManager.java,
3866 java/awt/MenuBar.java,
3867 java/awt/MenuComponent.java,
3868 java/awt/MenuContainer.java,
3869 java/awt/PageAttributes.java,
3870 java/awt/Paint.java,
3871 java/awt/PaintContext.java,
3872 java/awt/Panel.java,
3873 java/awt/Point.java,
3874 java/awt/Polygon.java,
3875 java/awt/PrintGraphics.java,
3876 java/awt/PrintJob.java,
3877 java/awt/Rectangle.java,
3878 java/awt/RenderingHints.java,
3879 java/awt/Shape.java,
3880 java/awt/Stroke.java,
3881 java/awt/SystemColor.java,
3882 java/awt/Toolkit.java,
3883 java/awt/Transparency.java,
3884 java/awt/Window.java,
3885 java/awt/color/CMMException.java,
3886 java/awt/color/ColorSpace.java,
3887 java/awt/color/ICC_ColorSpace.java,
3888 java/awt/color/ICC_Profile.java,
3889 java/awt/color/ProfileDataException.java,
3890 java/awt/datatransfer/FlavorTable.java,
3891 java/awt/datatransfer/MimeTypeParseException.java,
3892 java/awt/datatransfer/Transferable.java,
3893 java/awt/datatransfer/UnsupportedFlavorException.java,
3894 java/awt/dnd/Autoscroll.java,
3895 java/awt/dnd/DnDConstants.java,
3896 java/awt/dnd/DragGestureListener.java,
3897 java/awt/dnd/DragSourceAdapter.java,
3898 java/awt/dnd/DragSourceDropEvent.java,
3899 java/awt/dnd/DragSourceListener.java,
3900 java/awt/dnd/DragSourceMotionListener.java,
3901 java/awt/dnd/DropTargetAdapter.java,
3902 java/awt/dnd/DropTargetContext.java,
3903 java/awt/dnd/DropTargetListener.java,
3904 java/awt/dnd/InvalidDnDOperationException.java,
3905 java/awt/dnd/MouseDragGestureRecognizer.java,
3906 java/awt/dnd/peer/DropTargetContextPeer.java,
3907 java/awt/event/AWTEventListener.java,
3908 java/awt/event/AWTEventListenerProxy.java,
3909 java/awt/event/ActionEvent.java,
3910 java/awt/event/AdjustmentEvent.java,
3911 java/awt/event/AdjustmentListener.java,
3912 java/awt/event/ComponentAdapter.java,
3913 java/awt/event/ComponentEvent.java,
3914 java/awt/event/ComponentListener.java,
3915 java/awt/event/ContainerAdapter.java,
3916 java/awt/event/ContainerEvent.java,
3917 java/awt/event/ContainerListener.java,
3918 java/awt/event/FocusAdapter.java,
3919 java/awt/event/FocusEvent.java,
3920 java/awt/event/FocusListener.java,
3921 java/awt/event/InputEvent.java,
3922 java/awt/event/InputMethodEvent.java,
3923 java/awt/event/InputMethodListener.java,
3924 java/awt/event/InvocationEvent.java,
3925 java/awt/event/ItemEvent.java,
3926 java/awt/event/ItemListener.java,
3927 java/awt/event/KeyAdapter.java,
3928 java/awt/event/KeyEvent.java,
3929 java/awt/event/KeyListener.java,
3930 java/awt/event/MouseAdapter.java,
3931 java/awt/event/MouseEvent.java,
3932 java/awt/event/MouseListener.java,
3933 java/awt/event/MouseMotionAdapter.java,
3934 java/awt/event/MouseMotionListener.java,
3935 java/awt/event/MouseWheelEvent.java,
3936 java/awt/event/MouseWheelListener.java,
3937 java/awt/event/PaintEvent.java,
3938 java/awt/event/TextEvent.java,
3939 java/awt/event/TextListener.java,
3940 java/awt/event/WindowAdapter.java,
3941 java/awt/event/WindowEvent.java,
3942 java/awt/event/WindowFocusListener.java,
3943 java/awt/event/WindowListener.java,
3944 java/awt/event/WindowStateListener.java,
3945 java/awt/font/TextHitInfo.java,
3946 java/awt/geom/CubicCurve2D.java,
3947 java/awt/geom/Dimension2D.java,
3948 java/awt/geom/Ellipse2D.java,
3949 java/awt/geom/IllegalPathStateException.java,
3950 java/awt/geom/Line2D.java,
3951 java/awt/geom/NoninvertibleTransformException.java,
3952 java/awt/geom/PathIterator.java,
3953 java/awt/geom/Point2D.java,
3954 java/awt/geom/QuadCurve2D.java,
3955 java/awt/geom/RectangularShape.java,
3956 java/awt/geom/RoundRectangle2D.java,
3957 java/awt/im/InputContext.java,
3958 java/awt/im/InputMethodHighlight.java,
3959 java/awt/im/InputMethodRequests.java,
3960 java/awt/im/InputSubset.java,
3961 java/awt/im/spi/InputMethod.java,
3962 java/awt/im/spi/InputMethodDescriptor.java,
3963 java/awt/image/BandCombineOp.java,
3964 java/awt/image/BandedSampleModel.java,
3965 java/awt/image/ByteLookupTable.java,
3966 java/awt/image/ComponentSampleModel.java,
3967 java/awt/image/DataBuffer.java,
3968 java/awt/image/DataBufferByte.java,
3969 java/awt/image/DataBufferDouble.java,
3970 java/awt/image/DataBufferFloat.java,
3971 java/awt/image/DataBufferInt.java,
3972 java/awt/image/DataBufferShort.java,
3973 java/awt/image/DataBufferUShort.java,
3974 java/awt/image/ImagingOpException.java,
3975 java/awt/image/Kernel.java,
3976 java/awt/image/LookupTable.java,
3977 java/awt/image/MultiPixelPackedSampleModel.java,
3978 java/awt/image/PackedColorModel.java,
3979 java/awt/image/PixelInterleavedSampleModel.java,
3980 java/awt/image/RGBImageFilter.java,
3981 java/awt/image/Raster.java,
3982 java/awt/image/RasterFormatException.java,
3983 java/awt/image/SampleModel.java,
3984 java/awt/image/ShortLookupTable.java,
3985 java/awt/image/SinglePixelPackedSampleModel.java,
3986 java/awt/image/WritableRaster.java,
3987 java/awt/print/PrinterAbortException.java,
3988 java/awt/print/PrinterException.java,
3989 java/awt/print/PrinterIOException.java,
3990 java/beans/AppletInitializer.java,
3991 java/beans/ExceptionListener.java,
3992 java/beans/PropertyChangeEvent.java,
3993 java/beans/PropertyChangeListenerProxy.java,
3994 java/beans/PropertyChangeSupport.java,
3995 java/beans/PropertyDescriptor.java,
3996 java/beans/VetoableChangeListenerProxy.java,
3997 java/beans/VetoableChangeSupport.java,
3998 java/io/BufferedReader.java,
3999 java/io/ByteArrayInputStream.java,
4000 java/io/ByteArrayOutputStream.java,
4001 java/io/CharArrayReader.java,
4002 java/io/CharArrayWriter.java,
4003 java/io/CharConversionException.java,
4004 java/io/DataInput.java,
4005 java/io/DataInputStream.java,
4006 java/io/DataOutput.java,
4007 java/io/DataOutputStream.java,
4008 java/io/EOFException.java,
4009 java/io/FileInputStream.java,
4010 java/io/FileNotFoundException.java,
4011 java/io/FileOutputStream.java,
4012 java/io/FilenameFilter.java,
4013 java/io/FilterInputStream.java,
4014 java/io/FilterOutputStream.java,
4015 java/io/FilterReader.java,
4016 java/io/FilterWriter.java,
4017 java/io/IOException.java,
4018 java/io/InputStream.java,
4019 java/io/InterruptedIOException.java,
4020 java/io/LineNumberInputStream.java,
4021 java/io/LineNumberReader.java,
4022 java/io/ObjectInputStream.java,
4023 java/io/ObjectStreamException.java,
4024 java/io/OptionalDataException.java,
4025 java/io/OutputStream.java,
4026 java/io/OutputStreamWriter.java,
4027 java/io/PrintStream.java,
4028 java/io/PrintWriter.java,
4029 java/io/PushbackInputStream.java,
4030 java/io/PushbackReader.java,
4031 java/io/RandomAccessFile.java,
4032 java/io/Reader.java,
4033 java/io/SequenceInputStream.java,
4034 java/io/Serializable.java,
4035 java/io/StreamCorruptedException.java,
4036 java/io/StreamTokenizer.java,
4037 java/io/StringBufferInputStream.java,
4038 java/io/StringWriter.java,
4039 java/io/SyncFailedException.java,
4040 java/io/UTFDataFormatException.java,
4041 java/io/UnsupportedEncodingException.java,
4042 java/io/WriteAbortedException.java,
4043 java/io/Writer.java,
4044 java/lang/AbstractMethodError.java,
4045 java/lang/ArithmeticException.java,
4046 java/lang/ArrayIndexOutOfBoundsException.java,
4047 java/lang/ArrayStoreException.java,
4048 java/lang/AssertionError.java,
4049 java/lang/Boolean.java,
4050 java/lang/Byte.java,
4051 java/lang/Class.java,
4052 java/lang/ClassCastException.java,
4053 java/lang/ClassCircularityError.java,
4054 java/lang/ClassLoader.java,
4055 java/lang/ClassNotFoundException.java,
4056 java/lang/CloneNotSupportedException.java,
4057 java/lang/Cloneable.java,
4058 java/lang/Comparable.java,
4059 java/lang/Compiler.java,
4060 java/lang/Double.java,
4061 java/lang/Error.java,
4062 java/lang/Exception.java,
4063 java/lang/ExceptionInInitializerError.java,
4064 java/lang/Float.java,
4065 java/lang/IllegalAccessError.java,
4066 java/lang/IllegalAccessException.java,
4067 java/lang/IllegalArgumentException.java,
4068 java/lang/IllegalMonitorStateException.java,
4069 java/lang/IllegalStateException.java,
4070 java/lang/IllegalThreadStateException.java,
4071 java/lang/IncompatibleClassChangeError.java,
4072 java/lang/IndexOutOfBoundsException.java,
4073 java/lang/InheritableThreadLocal.java,
4074 java/lang/InstantiationError.java,
4075 java/lang/InstantiationException.java,
4076 java/lang/Integer.java,
4077 java/lang/InternalError.java,
4078 java/lang/InterruptedException.java,
4079 java/lang/LinkageError.java,
4080 java/lang/Long.java,
4081 java/lang/NegativeArraySizeException.java,
4082 java/lang/NoClassDefFoundError.java,
4083 java/lang/NoSuchFieldError.java,
4084 java/lang/NoSuchFieldException.java,
4085 java/lang/NoSuchMethodError.java,
4086 java/lang/NoSuchMethodException.java,
4087 java/lang/NullPointerException.java,
4088 java/lang/Number.java,
4089 java/lang/NumberFormatException.java,
4090 java/lang/OutOfMemoryError.java,
4091 java/lang/Process.java,
4092 java/lang/Runnable.java,
4093 java/lang/Runtime.java,
4094 java/lang/RuntimeException.java,
4095 java/lang/RuntimePermission.java,
4096 java/lang/SecurityException.java,
4097 java/lang/SecurityManager.java,
4098 java/lang/Short.java,
4099 java/lang/StackOverflowError.java,
4100 java/lang/StackTraceElement.java,
4101 java/lang/StringBuffer.java,
4102 java/lang/StringIndexOutOfBoundsException.java,
4103 java/lang/ThreadDeath.java,
4104 java/lang/ThreadGroup.java,
4105 java/lang/Throwable.java,
4106 java/lang/UnsatisfiedLinkError.java,
4107 java/lang/UnsupportedOperationException.java,
4108 java/lang/VerifyError.java,
4109 java/lang/VirtualMachineError.java,
4110 java/lang/reflect/AccessibleObject.java,
4111 java/lang/reflect/Array.java,
4112 java/lang/reflect/InvocationTargetException.java,
4113 java/lang/reflect/Member.java,
4114 java/lang/reflect/Modifier.java,
4115 java/lang/reflect/Proxy.java,
4116 java/lang/reflect/ReflectPermission.java,
4117 java/lang/reflect/UndeclaredThrowableException.java,
4118 java/math/BigInteger.java,
4119 java/net/NetworkInterface.java,
4120 java/nio/ByteBufferHelper.java,
4121 java/nio/ByteBufferImpl.java,
4122 java/nio/DirectByteBufferImpl.java,
4123 java/nio/DoubleBufferImpl.java,
4124 java/nio/FloatBufferImpl.java,
4125 java/nio/IntBufferImpl.java,
4126 java/nio/LongBufferImpl.java,
4127 java/nio/ShortBufferImpl.java,
4128 java/nio/channels/Channel.java,
4129 java/nio/channels/IllegalBlockingModeException.java,
4130 java/nio/charset/spi/CharsetProvider.java,
4131 java/security/AccessControlException.java,
4132 java/security/BasicPermission.java,
4133 java/security/DigestException.java,
4134 java/security/DigestInputStream.java,
4135 java/security/DigestOutputStream.java,
4136 java/security/GeneralSecurityException.java,
4137 java/security/Guard.java,
4138 java/security/GuardedObject.java,
4139 java/security/InvalidAlgorithmParameterException.java,
4140 java/security/InvalidKeyException.java,
4141 java/security/InvalidParameterException.java,
4142 java/security/Key.java,
4143 java/security/KeyException.java,
4144 java/security/KeyManagementException.java,
4145 java/security/KeyStoreException.java,
4146 java/security/MessageDigestSpi.java,
4147 java/security/NoSuchAlgorithmException.java,
4148 java/security/NoSuchProviderException.java,
4149 java/security/Permission.java,
4150 java/security/PermissionCollection.java,
4151 java/security/Permissions.java,
4152 java/security/Principal.java,
4153 java/security/PrivateKey.java,
4154 java/security/PrivilegedActionException.java,
4155 java/security/ProviderException.java,
4156 java/security/PublicKey.java,
4157 java/security/SecureRandom.java,
4158 java/security/SecureRandomSpi.java,
4159 java/security/SignatureException.java,
4160 java/security/SignatureSpi.java,
4161 java/security/SignedObject.java,
4162 java/security/Signer.java,
4163 java/security/UnrecoverableKeyException.java,
4164 java/security/UnresolvedPermission.java,
4165 java/security/acl/AclNotFoundException.java,
4166 java/security/acl/LastOwnerException.java,
4167 java/security/acl/NotOwnerException.java,
4168 java/security/cert/CertPath.java,
4169 java/security/cert/CertPathBuilderException.java,
4170 java/security/cert/CertPathValidatorException.java,
4171 java/security/cert/CertStoreException.java,
4172 java/text/BreakIterator.java,
4173 java/text/ChoiceFormat.java,
4174 java/text/CollationElementIterator.java,
4175 java/text/CollationKey.java,
4176 java/text/Collator.java,
4177 java/text/DateFormat.java,
4178 java/text/DateFormatSymbols.java,
4179 java/text/DecimalFormat.java,
4180 java/text/DecimalFormatSymbols.java,
4181 java/text/FieldPosition.java,
4182 java/text/Format.java,
4183 java/text/NumberFormat.java,
4184 java/text/ParseException.java,
4185 java/text/ParsePosition.java,
4186 java/text/StringCharacterIterator.java,
4187 java/util/AbstractCollection.java,
4188 java/util/AbstractList.java,
4189 java/util/AbstractMap.java,
4190 java/util/AbstractSequentialList.java,
4191 java/util/AbstractSet.java,
4192 java/util/ArrayList.java,
4193 java/util/Arrays.java,
4194 java/util/BitSet.java,
4195 java/util/Collection.java,
4196 java/util/Collections.java,
4197 java/util/Comparator.java,
4198 java/util/ConcurrentModificationException.java,
4199 java/util/Currency.java,
4200 java/util/Date.java,
4201 java/util/EmptyStackException.java,
4202 java/util/Enumeration.java,
4203 java/util/EventListener.java,
4204 java/util/EventListenerProxy.java,
4205 java/util/EventObject.java,
4206 java/util/HashMap.java,
4207 java/util/HashSet.java,
4208 java/util/Hashtable.java,
4209 java/util/IdentityHashMap.java,
4210 java/util/Iterator.java,
4211 java/util/LinkedHashSet.java,
4212 java/util/LinkedList.java,
4213 java/util/List.java,
4214 java/util/ListIterator.java,
4215 java/util/ListResourceBundle.java,
4217 java/util/MissingResourceException.java,
4218 java/util/NoSuchElementException.java,
4219 java/util/Observable.java,
4220 java/util/Observer.java,
4221 java/util/Properties.java,
4222 java/util/PropertyPermissionCollection.java,
4223 java/util/RandomAccess.java,
4225 java/util/SortedMap.java,
4226 java/util/SortedSet.java,
4227 java/util/Stack.java,
4228 java/util/StringTokenizer.java,
4229 java/util/TooManyListenersException.java,
4230 java/util/TreeMap.java,
4231 java/util/TreeSet.java,
4232 java/util/Vector.java,
4233 java/util/logging/FileHandler.java,
4234 java/util/logging/Level.java,
4235 java/util/prefs/BackingStoreException.java,
4236 java/util/prefs/InvalidPreferencesFormatException.java,
4237 java/util/prefs/Preferences.java,
4238 javax/accessibility/Accessible.java,
4239 javax/accessibility/AccessibleAction.java,
4240 javax/accessibility/AccessibleBundle.java,
4241 javax/accessibility/AccessibleComponent.java,
4242 javax/accessibility/AccessibleContext.java,
4243 javax/accessibility/AccessibleEditableText.java,
4244 javax/accessibility/AccessibleExtendedComponent.java,
4245 javax/accessibility/AccessibleExtendedTable.java,
4246 javax/accessibility/AccessibleHyperlink.java,
4247 javax/accessibility/AccessibleHypertext.java,
4248 javax/accessibility/AccessibleIcon.java,
4249 javax/accessibility/AccessibleKeyBinding.java,
4250 javax/accessibility/AccessibleRelation.java,
4251 javax/accessibility/AccessibleRelationSet.java,
4252 javax/accessibility/AccessibleResourceBundle.java,
4253 javax/accessibility/AccessibleRole.java,
4254 javax/accessibility/AccessibleSelection.java,
4255 javax/accessibility/AccessibleState.java,
4256 javax/accessibility/AccessibleStateSet.java,
4257 javax/accessibility/AccessibleTable.java,
4258 javax/accessibility/AccessibleTableModelChange.java,
4259 javax/accessibility/AccessibleText.java,
4260 javax/accessibility/AccessibleValue.java,
4261 javax/imageio/IIOException.java,
4262 javax/imageio/ImageIO.java,
4263 javax/imageio/spi/IIOServiceProvider.java,
4264 javax/imageio/spi/ImageInputStreamSpi.java,
4265 javax/imageio/spi/ImageOutputStreamSpi.java,
4266 javax/imageio/spi/ImageReaderWriterSpi.java,
4267 javax/imageio/spi/ImageTranscoderSpi.java,
4268 javax/imageio/spi/RegisterableService.java,
4269 javax/imageio/spi/ServiceRegistry.java,
4270 javax/imageio/stream/IIOByteBuffer.java,
4271 javax/imageio/stream/ImageInputStream.java,
4272 javax/imageio/stream/ImageOutputStream.java,
4273 javax/naming/Binding.java,
4274 javax/naming/CannotProceedException.java,
4275 javax/naming/CompositeName.java,
4276 javax/naming/CompoundName.java,
4277 javax/naming/LinkException.java,
4278 javax/naming/LinkRef.java,
4279 javax/naming/NameClassPair.java,
4280 javax/naming/Reference.java,
4281 javax/naming/ReferralException.java,
4282 javax/naming/directory/Attribute.java,
4283 javax/naming/directory/AttributeModificationException.java,
4284 javax/naming/directory/Attributes.java,
4285 javax/naming/directory/DirContext.java,
4286 javax/naming/directory/ModificationItem.java,
4287 javax/naming/directory/SearchControls.java,
4288 javax/naming/directory/SearchResult.java,
4289 javax/naming/event/EventContext.java,
4290 javax/naming/event/EventDirContext.java,
4291 javax/naming/event/NamespaceChangeListener.java,
4292 javax/naming/event/NamingExceptionEvent.java,
4293 javax/naming/event/NamingListener.java,
4294 javax/naming/event/ObjectChangeListener.java,
4295 javax/naming/ldap/Control.java,
4296 javax/naming/ldap/ExtendedResponse.java,
4297 javax/naming/ldap/HasControls.java,
4298 javax/naming/ldap/LdapContext.java,
4299 javax/naming/ldap/UnsolicitedNotification.java,
4300 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4301 javax/naming/ldap/UnsolicitedNotificationListener.java,
4302 javax/naming/spi/DirectoryManager.java,
4303 javax/naming/spi/ResolveResult.java,
4304 javax/naming/spi/Resolver.java,
4305 javax/security/auth/callback/Callback.java,
4306 javax/security/auth/callback/CallbackHandler.java,
4307 javax/security/auth/callback/ChoiceCallback.java,
4308 javax/security/auth/callback/ConfirmationCallback.java,
4309 javax/security/auth/callback/LanguageCallback.java,
4310 javax/security/auth/callback/NameCallback.java,
4311 javax/security/auth/callback/PasswordCallback.java,
4312 javax/security/auth/callback/TextInputCallback.java,
4313 javax/security/auth/callback/TextOutputCallback.java,
4314 javax/security/auth/callback/UnsupportedCallbackException.java,
4315 javax/security/sasl/Sasl.java,
4316 javax/security/sasl/SaslServerFactory.java,
4317 javax/swing/DefaultBoundedRangeModel.java,
4318 javax/swing/JComponent.java,
4319 javax/swing/JList.java,
4320 javax/swing/JProgressBar.java,
4321 javax/swing/JRadioButton.java,
4322 javax/swing/JTextArea.java,
4323 javax/swing/JTextField.java,
4324 javax/swing/JToggleButton.java,
4325 javax/swing/JTree.java,
4326 javax/swing/SpinnerListModel.java,
4327 javax/swing/event/EventListenerList.java,
4328 javax/swing/text/JTextComponent.java,
4329 javax/swing/text/StringContent.java,
4330 javax/swing/text/Utilities.java,
4331 javax/swing/undo/UndoManager.java,
4332 javax/swing/undo/UndoableEditSupport.java,
4333 javax/transaction/HeuristicCommitException.java,
4334 javax/transaction/HeuristicMixedException.java,
4335 javax/transaction/HeuristicRollbackException.java,
4336 javax/transaction/InvalidTransactionException.java,
4337 javax/transaction/NotSupportedException.java,
4338 javax/transaction/RollbackException.java,
4339 javax/transaction/Status.java,
4340 javax/transaction/Synchronization.java,
4341 javax/transaction/SystemException.java,
4342 javax/transaction/Transaction.java,
4343 javax/transaction/TransactionManager.java,
4344 javax/transaction/TransactionRequiredException.java,
4345 javax/transaction/TransactionRolledbackException.java,
4346 javax/transaction/UserTransaction.java,
4347 javax/transaction/xa/XAException.java,
4348 javax/transaction/xa/XAResource.java,
4349 javax/transaction/xa/Xid.java,
4350 javax/xml/XMLConstants.java,
4351 javax/xml/datatype/DatatypeConfigurationException.java,
4352 javax/xml/datatype/DatatypeConstants.java,
4353 javax/xml/datatype/DatatypeFactory.java,
4354 javax/xml/datatype/Duration.java,
4355 javax/xml/datatype/XMLGregorianCalendar.java,
4356 javax/xml/namespace/NamespaceContext.java,
4357 javax/xml/namespace/QName.java,
4358 javax/xml/parsers/DocumentBuilder.java,
4359 javax/xml/parsers/DocumentBuilderFactory.java,
4360 javax/xml/parsers/FactoryConfigurationError.java,
4361 javax/xml/parsers/ParserConfigurationException.java,
4362 javax/xml/parsers/SAXParser.java,
4363 javax/xml/parsers/SAXParserFactory.java,
4364 javax/xml/transform/ErrorListener.java,
4365 javax/xml/transform/OutputKeys.java,
4366 javax/xml/transform/Result.java,
4367 javax/xml/transform/Source.java,
4368 javax/xml/transform/SourceLocator.java,
4369 javax/xml/transform/Templates.java,
4370 javax/xml/transform/Transformer.java,
4371 javax/xml/transform/TransformerConfigurationException.java,
4372 javax/xml/transform/TransformerException.java,
4373 javax/xml/transform/TransformerFactory.java,
4374 javax/xml/transform/TransformerFactoryConfigurationError.java,
4375 javax/xml/transform/URIResolver.java,
4376 javax/xml/transform/dom/DOMLocator.java,
4377 javax/xml/transform/dom/DOMResult.java,
4378 javax/xml/transform/dom/DOMSource.java,
4379 javax/xml/transform/sax/SAXResult.java,
4380 javax/xml/transform/sax/SAXSource.java,
4381 javax/xml/transform/sax/SAXTransformerFactory.java,
4382 javax/xml/transform/sax/TemplatesHandler.java,
4383 javax/xml/transform/sax/TransformerHandler.java,
4384 javax/xml/transform/stream/StreamResult.java,
4385 javax/xml/transform/stream/StreamSource.java,
4386 javax/xml/validation/Schema.java,
4387 javax/xml/validation/SchemaFactory.java,
4388 javax/xml/validation/TypeInfoProvider.java,
4389 javax/xml/validation/Validator.java,
4390 javax/xml/validation/ValidatorHandler.java,
4391 javax/xml/xpath/XPathConstants.java,
4392 javax/xml/xpath/XPathException.java,
4393 javax/xml/xpath/XPathExpression.java,
4394 javax/xml/xpath/XPathExpressionException.java,
4395 javax/xml/xpath/XPathFactory.java,
4396 javax/xml/xpath/XPathFactoryConfigurationException.java,
4397 javax/xml/xpath/XPathFunction.java,
4398 javax/xml/xpath/XPathFunctionException.java,
4399 javax/xml/xpath/XPathFunctionResolver.java:
4400 Fixed usage of @author tag, reworked import statements,
4401 removed CVS tags, changed the modifier order and fixed
4402 HTML usage in javadocs.
4404 2005-02-16 Julian Scheid <julian@sektor37.de>
4406 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4408 (encodeLoop): Likewise.
4410 2005-02-16 Mark Wielaard <mark@klomp.org>
4412 * Makefile.am (ordinary_java_source_files): Add new files
4413 gnu/java/security/ber/BER.java,
4414 gnu/java/security/ber/BEREncodingException.java,
4415 gnu/java/security/ber/BERReader.java,
4416 gnu/java/security/ber/BERValue.java,
4417 gnu/java/security/pkcs/PKCS7SignedData.java and
4418 gnu/java/security/pkcs/SignerInfo.java.
4419 * Makefile.in: Regenerated.
4421 2005-02-16 Casey Marshall <csm@gnu.org>
4423 * gnu/java/security/provider/GnuDSAPrivateKey.java
4424 (encodedKey): new field.
4425 (getFormat): return "PKCS#8".
4426 (getEncoded): implemented.
4427 (toString): check for 'null' values.
4428 * gnu/java/security/provider/GnuDSAPublicKey.java
4429 (encodedKey): new field.
4430 (getFormat): return "X.509".
4431 (getEncoded): implemented.
4432 (toString): check for 'null' values.
4434 2005-02-16 Michael Koch <konqueror@gmx.de>
4436 * java/util/jar/JarFile.java: Imports reworked.
4438 2005-02-16 Mark Wielaard <mark@klomp.org>
4440 * java/util/jar/JarFile.java (verify): Make package private.
4441 (signaturesRead): Likewise.
4442 (verified): Likewise.
4443 (entryCerts): Likewise.
4446 (entries): Construct new JarEnumeration with reference to this.
4447 (JarEnumeration): Make static.
4448 (JarEnumeration.jarfile): New field.
4449 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4450 Compare verified value to Boolean.TRUE or Boolean.False only
4451 when verify is true.
4452 (getEntry): Make synchronized. Compare value of verified to
4454 (getInputStream): Construct EntryInputStream with reference to this.
4455 (getManifest): Make synchronized.
4456 (EntryInputStream): Make static.
4457 (EntryInputStream.jarfile): New field.
4458 (EntryInputStream.EntryInputStream): Check if manifest exists,
4459 before getting attributes.
4460 (eof): Synchronize on jarfile.
4462 2005-02-16 Casey Marshall <csm@gnu.org>
4464 * java/util/jar/JarFile.java (verify): return if the jar is signed
4465 with an unsupported algorithm.
4467 2005-02-16 Mark Wielaard <mark@klomp.org>
4469 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4470 InputStream as argument.
4471 (getInputStream): Construct a new EntryInputStream with the result of
4472 super.getInputStream(entry).
4474 2005-02-16 Casey Marshall <csm@gnu.org>
4476 Signed JAR file support.
4477 * java/net/URLClassLoader.java
4478 (JarURLResource.getCertificates): re-read jar entry to ensure
4479 certificates are picked up.
4480 (findClass): fill in class `signers' field, too.
4481 * java/util/jar/JarFile.java (META_INF): new constant.
4482 (PKCS7_DSA_SUFFIX): new constant.
4483 (PKCS7_RSA_SUFFIX): new constant.
4484 (DIGEST_KEY_SUFFIX): new constant.
4485 (SF_SUFFIX): new constant.
4486 (MD2_OID): new constant.
4487 (MD4_OID): new constant.
4488 (MD5_OID): new constant.
4489 (SHA1_OID): new constant.
4490 (DSA_ENCRYPTION_OID): new constant.
4491 (RSA_ENCRYPTION_OID): new constant.
4492 (signaturesRead): new field.
4493 (verified): new field.
4494 (entryCerts): new field.
4495 (DEBUG): new constant.
4496 (debug): new method.
4497 (JarEnumeration.nextElement): fill in entry certificates, read
4498 signatures if they haven't been read.
4499 (getEntry): likewise.
4500 (getInputStream): verify stream if it hasn't been verified yet.
4501 (readSignatures): new method.
4502 (verify): new method.
4503 (verifyHashes): new method.
4504 (readManifestEntry): new method.
4505 (EntryInputStream): new class.
4506 * gnu/java/io/Base64InputStream.java (decode): new class
4508 * gnu/java/security/der/DERReader.java don't make class
4510 (in): made protected.
4512 (readLength): likewise.
4513 * gnu/java/security/ber/BER.java,
4514 * gnu/java/security/ber/BEREncodingException.java,
4515 * gnu/java/security/ber/BERReader.java,
4516 * gnu/java/security/ber/BERValue.java,
4517 * gnu/java/security/pkcs/PKCS7SignedData.java,
4518 * gnu/java/security/pkcs/SignerInfo.java:
4521 2005-02-16 Tom Tromey <tromey@redhat.com>
4523 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4524 copied file on exit.
4526 2005-02-15 Mark Wielaard <mark@klomp.org>
4528 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4530 2005-02-15 Michael Koch <konqueror@gmx.de>
4532 * gnu/java/awt/peer/gtk/GtkArg.java,
4533 gnu/java/awt/peer/gtk/GtkArgList.java:
4536 2005-02-15 Craig Black <craig.black@aonix.com>
4538 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4539 (postMenuActionEvent): Implement to notify ItemListeners.
4540 * java/awt/CheckboxMenuItem.java
4541 (dispatchEventImpl): Update state on ItemEvent.
4542 * java/awt/MenuItem.java
4543 (processActionEvent): Retarget event source.
4545 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4547 * gnu/java/awt/color/ClutProfileConverter.java,
4548 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4549 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4550 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4551 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4552 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4553 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4554 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4555 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4556 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4557 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4558 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4559 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4560 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4561 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4562 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4563 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4564 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4565 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4566 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4567 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4568 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4569 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4570 gnu/java/awt/peer/gtk/GtkToolkit.java,
4571 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4572 javax/swing/JPopupMenu.java,
4573 javax/swing/JSpinner.java,
4574 javax/swing/SortingFocusTraversalPolicy.java,
4575 javax/swing/SwingUtilities.java,
4576 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4577 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4578 javax/swing/tree/DefaultMutableTreeNode.java:
4579 Removed unused imports and expanded starred
4582 2005-02-15 Mark Wielaard <mark@klomp.org>
4584 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4585 IllegalArgumentException when the given String is null.
4587 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4588 when given keystoke sequence cannot be parsed.
4590 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4591 if one is installed. Only install the given menubar is not null.
4593 * javax/swing/JViewport.java (getViewSize): Return an empty
4594 Dimension when the view isn't set or preferred component size when
4597 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4598 empty Dimension when there is no view set.
4599 (minimumLayoutSize): Likewise.
4600 (layoutContainer): Don't try to layout when there is no view.
4602 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4605 * include/jawt.h: Likewise.
4606 * include/jawt_md.h: Likewise.
4607 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4609 * jni/classpath/classpath_jawt.h: Likewise.
4610 * jni/gtk-peer/gtk_jawt.c: Likewise.
4611 * Makefile.am: Build libjawt.so.
4613 2005-02-15 Michael Koch <konqueror@gmx.de>
4615 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4616 Merged file header with classpath CVS head.
4617 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4618 Merged code formatting with classpath CVS head.
4619 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4621 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4622 Handle special JNI strings with 2 '\0' at the end.
4623 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4624 Merged file header with classpath CVS head.
4625 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4626 Merged code formatting with classpath CVS head.
4628 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4630 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4631 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4632 (handle_response): Use GTK_RESPONSE_ACCEPT.
4634 2005-02-15 Graydon Hoare <graydon@redhat.com>
4636 * Makefile.am: Fix library build breakage.
4637 * Makefile.in: Regenerate.
4639 2005-02-15 Michael Koch <konqueror@gmx.de>
4641 * javax/swing/JTabbedPane.java
4642 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4644 2005-02-15 Michael Koch <konqueror@gmx.de>
4646 * javax/swing/tree/DefaultMutableTreeNode.java:
4647 Reworked Javadocs all over.
4648 (getPathToRoot): Fixed direction of result array initialization.
4650 2005-02-15 Michael Koch <konqueror@gmx.de>
4652 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4653 Fix includes for cairo 0.3.0 snappshot.
4654 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4655 Merged file header from classpath CVS HEAD.
4657 2005-02-15 Craig Black <craig.black@aonix.com>
4659 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4660 (copyState): Pass a JNI global reference to signal handler.
4661 (realize_cb): Use and free JNI global reference.
4662 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4663 (create): Pass a JNI global reference to signal handler.
4664 (selection_changed): Match declaration.
4665 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4666 (dispose): Do not remove entries from state tables until after widget is
4669 2005-02-15 Michael Koch <konqueror@gmx.de>
4671 * java/awt/Container.javai (paramString):
4672 If layoutMgr is null just return result of super.paramString().
4673 * java/awt/Scrollbar.java: Reformatted.
4674 * java/awt/im/InputContext.java (static):
4675 Removed redundant initializations.
4677 2005-02-15 Michael Koch <konqueror@gmx.de>
4679 * javax/swing/ImageIcon.java,
4680 javax/swing/UIManager.java,
4681 javax/swing/text/EditorKit.java,
4682 javax/swing/text/Segment.java:
4683 More whitespace cleanups.
4685 2005-02-15 Michael Koch <konqueror@gmx.de>
4687 * gnu/java/awt/EmbeddedWindow.java,
4688 gnu/java/awt/image/ImageDecoder.java,
4689 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4690 java/awt/DefaultKeyboardFocusManager.java,
4691 java/awt/Frame.java,
4692 java/awt/image/RGBImageFilter.java,
4693 javax/swing/AbstractButton.java,
4694 javax/swing/ActionMap.java,
4695 javax/swing/ComponentInputMap.java,
4696 javax/swing/DefaultDesktopManager.java,
4697 javax/swing/ImageIcon.java,
4698 javax/swing/InputMap.java,
4699 javax/swing/JButton.java,
4700 javax/swing/JCheckBox.java,
4701 javax/swing/JCheckBoxMenuItem.java,
4702 javax/swing/JEditorPane.java,
4703 javax/swing/JMenu.java,
4704 javax/swing/JMenuItem.java,
4705 javax/swing/JOptionPane.java,
4706 javax/swing/JRootPane.java,
4707 javax/swing/JTable.java,
4708 javax/swing/MenuSelectionManager.java,
4709 javax/swing/RepaintManager.java,
4710 javax/swing/ScrollPaneLayout.java,
4711 javax/swing/SortingFocusTraversalPolicy.java,
4712 javax/swing/UIManager.java,
4713 javax/swing/ViewportLayout.java,
4714 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4715 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4716 javax/swing/plaf/basic/BasicLabelUI.java,
4717 javax/swing/plaf/basic/BasicListUI.java,
4718 javax/swing/plaf/basic/BasicMenuItemUI.java,
4719 javax/swing/plaf/basic/BasicMenuUI.java,
4720 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4721 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4722 javax/swing/plaf/basic/BasicRootPaneUI.java,
4723 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4724 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4725 javax/swing/plaf/basic/BasicTextUI.java,
4726 javax/swing/table/TableColumnModel.java,
4727 javax/swing/text/AbstractDocument.java,
4728 javax/swing/text/EditorKit.java,
4729 javax/swing/text/Position.java,
4730 javax/swing/text/Segment.java,
4731 javax/swing/text/StyledEditorKit.java,
4732 javax/swing/text/ViewFactory.java:
4733 Cleanup whitespace differences to classpath CVS HEAD.
4735 2005-02-15 Graydon Hoare <graydon@redhat.com>
4737 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4738 (finalize): Call finish from here.
4739 (produce): Not from here.
4740 * Makefile.am (gtk_c_source_files):
4741 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4742 * Makefile.in: Regenerate.
4743 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4745 (cairoDrawGdkTextLayout):
4747 (getPeerTextMetrics):
4748 (getPeerFontMetrics): Remove.
4749 (setFont): Don't call cairoSetFont.
4750 (cairoDrawGlyphVector): Accept font peer argument.
4751 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4753 (ensure_metrics_cairo):
4754 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4755 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4756 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4757 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4759 (metrics_surface): Remove.
4760 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4761 Pass and install font peer.
4763 2005-02-15 Graydon Hoare <graydon@redhat.com>
4765 * Makefile.am: Create "split library" structure.
4766 * Makefile.in: Regenerate.
4768 2005-02-15 Graydon Hoare <graydon@redhat.com>
4770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4772 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4774 Release GDK lock during upcalls.
4776 2005-02-15 Graydon Hoare <graydon@redhat.com>
4778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4780 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4781 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4782 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4784 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4787 (getTextMetrics): New native methods.
4788 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4789 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4790 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4791 * Makefile.in: Regenerate.
4793 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4795 * javax/swing/SwingUtilities.java:
4796 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4797 Implemented and documented.
4798 (getAccessibleChild(java.awt.Component, int)): Likewise.
4799 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4800 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4801 (getAccessibleStateSet(java.awt.Component)): Likewise.
4803 2005-02-15 Michael Koch <konqueror@gmx.de>
4805 * javax/swing/SwingUtilities.java
4806 (getFontMetrics): Removed.
4808 2005-02-15 Michael Koch <konqueror@gmx.de>
4810 * java/awt/Container.java
4811 (paramString): Implemented.
4812 * javax/swing/AbstractButton.java
4813 (paramString): Implemented.
4814 * javax/swing/JComponent.java
4815 (paramString): Implemented.
4816 * javax/swing/JMenu.java
4817 (paramString): Implemented.
4818 * javax/swing/JMenuBar.java
4819 (paramString): Implemented.
4820 * javax/swing/JMenuItem.java
4821 (paramString): Implemented.
4822 * javax/swing/JPopupMenu.java
4823 (paramString): Implemented.
4825 2005-02-15 Michael Koch <konqueror@gmx.de>
4827 * javax/swing/JMenu.java
4828 (uiClassID): Removed.
4829 (JMenu): Set invoker on popup menu.
4830 (getUIClassID): Return id directly.
4831 (getItemCount): Simply return getMenuComponentCount().
4833 (isTopLevelMenu): Simplified.
4834 * javax/swing/JMenuItem.java
4835 (uiClassID): Removed.
4836 (getUIClassID): Return id directly.
4837 * javax/swing/JPopupMenu.java
4838 (uiClassID): Removed.
4839 (JPopupMenu): Always initialize correctly.
4840 (getSubElements): Only return components implementing MenuElement
4842 (HeavyWeightPopup.hide): Removed.
4844 2005-02-15 Michael Koch <konqueror@gmx.de>
4846 * java/awt/image/ReplicateScaleFilter.java
4847 (replicatePixels): Made private.
4848 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4849 (DefaultRGBChooserPanel): Made package private.
4850 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4851 (RecentSwatchPanel): Likewise.
4852 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4853 (MouseInputAdapter): Made abstract.
4854 * javax/swing/tree/DefaultMutableTreeNode.java
4856 (growTree): Likewise.
4858 2005-02-15 Michael Koch <konqueror@gmx.de>
4860 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4863 2005-02-15 Michael Koch <konqueror@gmx.de>
4865 * javax/swing/JComponent.java (getComponentGraphics):
4866 Removed accidently commited code.
4868 2005-02-15 Graydon Hoare <graydon@redhat.com>
4870 * java/awt/dnd/DropTarget.java
4871 (addDropTargetListener): Despite documentation, do not throw.
4872 * javax/swing/JComponent.java: Set a default DropTarget.
4874 2005-02-15 Michael Koch <konqueror@gmx.de>
4876 * javax/swing/AbstractAction.java
4877 (ENABLED_PROPERTY): Removed.
4878 (setEnabled): Replaced constant with real string.
4879 * javax/swing/AbstractButton.java
4880 (createActionPropertyChangeListener.propertyChange): Likewise.
4881 * javax/swing/JComboBox.java
4882 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4883 (EDITABLE_CHANGED_PROPERTY): Removed.
4884 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4885 (ENABLED_CHANGED_PROPERTY):Likewise.
4886 (RENDERER_CHANGED_PROPERTY):Likewise.
4887 (EDITOR_CHANGED_PROPERTY):Likewise.
4888 (MODEL_CHANGED_PROPERTY):Likewise.
4889 (uiClassID):Likewise.
4890 (getUIClassID): Replaced constant with real string.
4891 (setModel):Likewise.
4892 (setEditable):Likewise.
4893 (setMaximumRowCount):Likewise.
4894 (setRenderer):Likewise.
4895 (setEditor):Likewise.
4896 (setEnabled):Likewise.
4897 * javax/swing/JLabel.java
4898 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
4899 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
4900 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
4901 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4902 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4903 (ICON_CHANGED_PROPERTY): Likewise.
4904 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
4905 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
4906 (TEXT_CHANGED_PROPERTY): Likewise.
4907 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4908 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4909 (setText): Replaced constant with real string.
4910 (setIcon): Likewise.
4911 (setDisabledIcon): Likewise.
4912 (setDisplayedMnemonic): Likewise.
4913 (setIconTextGap): Likewise.
4914 (setVerticalAlignment): Likewise.
4915 (setHorizontalAlignment): Likewise.
4916 (setVerticalTextPosition): Likewise.
4917 (setHorizontalTextPosition): Likewise.
4918 (setLabelFor): Replaced constant with real string.
4919 Fire property change event after property got changed.
4920 * javax/swing/JList.java
4921 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
4922 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
4923 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
4924 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
4925 (MODEL_PROPERTY_CHANGED): Likewise.
4926 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
4927 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
4928 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
4929 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
4930 (setFixedCellWidth): Reimplemented.
4931 (setFixedCellHeight): Exit if new value is identical.
4932 Replaced constant with real string.
4933 (setSelectionBackground): Likewise.
4934 (setSelectionForeground): Likewise.
4935 (setPrototypeCellValue): Likewise.
4936 (setCellRenderer): Replaced constant with real string.
4937 (setModel): Likewise.
4938 (setSelectionModel): Likewise.
4939 * javax/swing/JMenuBar.java
4940 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4941 (MODEL_CHANGED_PROPERTY): Likewise.
4942 (MARGIN_CHANGED_PROPERTY): Likewise.
4943 (setBorderPainted): Reimplemented.
4944 (setMargin): Likewise.
4945 (setSelectionModel): Replaced constant with real string.
4946 * javax/swing/JPopupMenu.java
4947 (LABEL_CHANGED_PROPERTY): Removed.
4948 (VISIBLE_CHANGED_PROPERTY): Likewise.
4949 (borderPainted): Likewise.
4950 (setLabel): Replaced constant with real string.
4951 (setVisible): Exit if new value is identical.
4952 Replaced constant with real string.
4953 * javax/swing/JProgressBar.java
4954 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4955 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4956 (STRING_CHANGED_PROPERTY): Likewise.
4957 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
4958 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
4959 (setOrientation): Replaced constant with real string.
4960 (setStringPainted): Likewise.
4961 (setString): Likewise.
4962 (setBorderPainted): Likewise.
4963 (setIndeterminate): Likewise.
4964 * javax/swing/JScrollBar.java
4965 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
4966 (MODEL_CHANGED_PROPERTY): Likewise.
4967 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4968 (setOrientation): Replaced constant with real string.
4969 (setModel): Likewise.
4970 (setUnitIncrement): Likewise.
4971 (setBlockIncrement): Likewise.
4972 * javax/swing/JScrollPane.java
4973 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
4974 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
4975 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4976 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4977 (LAYOUT_CHANGED_PROPERTY): Likewise.
4978 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
4979 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4980 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4981 (VIEWPORT_CHANGED_PROPERTY): Likewise.
4982 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
4983 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
4984 (setComponentOrientation): Replaced constant with real string.
4985 (setColumnHeader): Likewise.
4986 (setHorizontalScrollBar): Likewise.
4987 (setHorizontalScrollBarPolicy): Likewise.
4988 (setRowHeader): Likewise.
4989 (setVerticalScrollBar): Likewise.
4990 (setVerticalScrollBarPolicy): Likewise.
4991 (setWheelScrollingEnabled): Likewise.
4992 (setViewport): Likewise.
4993 (setViewportBorder): Likewise.
4994 * javax/swing/JSlider.java
4995 (INVERTED_CHANGED_PROPERTY): Removed.
4996 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
4997 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4998 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4999 (MODEL_CHANGED_PROPERTY): Likewise.
5000 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5001 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5002 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5003 (setModel): Replaced constant with real string.
5004 (setOrientation): Likewise.
5005 (setLabelTable): Likewise.
5006 (setInverted): Likewise.
5007 (setMajorTickSpacing): Likewise.
5008 (setMinorTickSpacing): Likewise.
5009 (setPaintTicks): Likewise.
5010 (setPaintLabels): Likewise.
5011 * javax/swing/JTabbedPane.java
5012 (MODEL_CHANGED_PROPERTY): Removed.
5013 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5014 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5015 (setModel): Replaced constant with real string.
5016 (setTabPlacement): Likewise.
5017 (setTabLayoutPolicy): Likewise.
5018 * javax/swing/JToolBar.java
5019 (ORIENTATION_CHANGED_PROPERTY): Removed.
5020 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5021 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5022 (MARGIN_CHANGED_PROPERTY): Likewise.
5023 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5024 (setRollover): Replaced constant with real string.
5025 (setMargin): Likewise.
5026 (setBorderPainted): Likewise.
5027 (setFloatable): Likewise.
5028 (setOrientation): Likewise.
5029 * javax/swing/plaf/basic/BasicComboBoxUI.java
5030 (PropertyChangeHandler.propertyChange): Likewise.
5031 * javax/swing/plaf/basic/BasicComboPopup.java
5032 (PropertyChangeHandler.propertyChange): Likewise.
5033 * javax/swing/plaf/basic/BasicMenuBarUI.java
5034 (PropertyChangeHandler.propertyChange): Likewise.
5035 * javax/swing/plaf/basic/BasicProgressBarUI.java
5036 (PropertyChangeHandler.propertyChange): Likewise.
5037 * javax/swing/plaf/basic/BasicScrollBarUI.java
5038 (PropertyChangeHandler.propertyChange): Likewise.
5039 * javax/swing/plaf/basic/BasicSliderUI.java
5040 (PropertyChangeHandler.propertyChange): Likewise.
5041 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5042 (PropertyChangeHandler.propertyChange): Likewise.
5043 * javax/swing/plaf/basic/BasicToolBarUI.java
5044 (PropertyChangeHandler.propertyChange): Likewise.
5046 2005-02-15 Michael Koch <konqueror@gmx.de>
5048 * javax/swing/DefaultButtonModel.java
5049 (changeState): Made private.
5050 * javax/swing/DefaultDesktopManager.java
5051 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5052 * javax/swing/JLayeredPane.java
5053 (layerToRange): Made private.
5054 (incrLayer): Likewise.
5055 (decrLayer): Likewise.
5056 * javax/swing/JTable.java
5057 (dragEnabled): Likewise.
5058 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5059 * javax/swing/KeyStroke.java
5060 (Keystroke): Made private.
5061 * javax/swing/TransferHandler.java
5062 (COMMAND_COPY): Likewise.
5063 (COMMAND_CUT): Likewise.
5064 (COMMAND_PASTE): Likewise.
5066 2005-02-15 Michael Koch <konqueror@gmx.de>
5068 * javax/swing/JTextField.java
5069 (postActionEvent): Use text in field when actionCommand is null.
5070 (getActionCommand): Removed.
5072 2005-02-15 Michael Koch <konqueror@gmx.de>
5074 * javax/swing/AbstractSet.java: Removed.
5075 * Makefile.am: Removed javax/swing/AbstractSet.java.
5076 * Makefile.in: Regenerated.
5078 2005-02-15 Michael Koch <konqueror@gmx.de>
5080 * java/awt/Window.java
5081 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5082 * java/awt/dnd/DnDConstants.java
5083 (DnDConstants): New private constructor.
5085 2005-02-15 Michael Koch <konqueror@gmx.de>
5087 * javax/swing/DefaultCellRenderer.java: Removed.
5088 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5089 * Makefile.in: Regenerated.
5091 2005-02-15 Michael Koch <konqueror@gmx.de>
5093 * javax/swing/AbstractButton.java
5094 (fireItemStateChanged): Made protected.
5095 (fireActionPerformed): Likewise.
5096 (fireStateChanged): Likewise.
5097 * javax/swing/DefaultButtonModel.java
5098 (fireItemStateChanged): Likewise.
5099 (fireActionPerformed): Likewise.
5100 (fireStateChanged): Likewise.
5101 * javax/swing/JApplet.java
5103 (frameInit): Likewise.
5104 (setRootPane): Made protected.
5105 (createRootPane): Likewise.
5106 * javax/swing/JComponent.java
5107 (getClientProperty): Likewise.
5108 (putClientProperty): Likewise.
5109 * javax/swing/JEditorPane.java
5110 (getContentType): Likewise.
5111 (setContentType): Likewise.
5112 * javax/swing/JFrame.java
5113 (setRootPane): Likewise.
5114 (createRootPane): Likewise.
5115 * javax/swing/JInternalFrame.java
5116 (getFocusCycleRootAncestor): Made final. Added @since tag.
5117 (isFocusCycleRoot): Likewise.
5118 (getWarningString): Made final.
5119 * javax/swing/JScrollBar.java
5120 (changeListener): Removed.
5121 (changeEvent): Likewise.
5122 (createChangeListener): Likewise.
5123 (fireStateChanged): Likewise.
5124 (addChangeListener): Likewise.
5125 (removeChangeListener): Likewise.
5126 (getChangeListeners): Likewise.
5127 * javax/swing/JScrollPane.java
5128 (createViewport): Made protected.
5129 * javax/swing/JViewport.java
5130 (addImpl): Likewise.
5131 (setBorder): New method.
5132 * javax/swing/JWindow.java
5133 (setRootPane): Made protected.
5134 (createRootPane): Likewise.
5135 * javax/swing/plaf/basic/BasicButtonUI.java
5136 (installListeners): Likewise.
5137 (uninstallListeners): Likewise.
5138 * javax/swing/plaf/basic/BasicProgressBarUI.java
5139 (incrementAnimationIndex): Likewise.
5140 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5141 (createLayoutManager): Likewise.
5142 * javax/swing/table/DefaultTableCellRenderer.java
5143 (firePropertyChange): Likewise.
5144 * javax/swing/table/JTableHeader.java
5145 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5147 * javax/swing/text/PlainDocument.java
5148 (reindex): Made private.
5149 * javax/swing/text/PlainView.java
5150 (drawLine): Made protected.
5151 (getTabSize): Likewise.
5152 * javax/swing/text/View.java
5154 (preferenceChanged): New method.
5155 (getBreakWeight): Likewise.
5156 (breakView): Likewise.
5157 (getViewIndex): Likewise.
5159 2005-02-15 Michael Koch <konqueror@gmx.de>
5161 * javax/swing/JScrollPane.java
5162 (ScrollBar): Made class protected.
5163 * javax/swing/JSpinner.java
5164 (JSpinner): Added @since tag.
5165 (listenerList): Removed.
5166 * javax/swing/JTable.java
5167 (setValueAt): New method.
5168 (getColumn): Likewise.
5169 * javax/swing/JWindow.java
5170 (rootPaneCheckingEnabled): Renamed from checking.
5172 2005-02-15 Michael Koch <konqueror@gmx.de>
5174 * javax/swing/plaf/basic/BasicTextUI.java
5175 (RootView.modelToView): Made it public and return a java.awt.Shape.
5176 Handle null subview.
5177 (uninstall): Set textComponent to null when its not possible used
5179 * javax/swing/text/View.java
5180 (setParent): Use better argument name.
5181 (getContainer): Get parent via getParent().
5182 (getViewFactory): Likewise.
5183 (getAttributes): Get element via getElement().
5184 (getStartOffset): Likewise.
5185 (getEndOffset): Likewise.
5186 (getResizeWeight): New method.
5187 (getMaximumSpan): Likewise.
5188 (getMinimumSpan): Likewise.
5189 (setSize): Likewise.
5190 (getGraphics): Likewise.
5192 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5194 * java/awt/Checkbox.java:
5195 (AccessibleAWTCheckbox()): Added public constructor
5197 * java/awt/Choice.java:
5198 (AccessibleAWTChoice): Added class documentation.
5199 (AccessibleAWTChoice()): Added public constructor
5201 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5202 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5203 and changed role to COMBO_BOX.
5204 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5205 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5206 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5208 2005-02-15 Graydon Hoare <graydon@redhat.com>
5209 Michael Koch <konqueror@gmx.de>
5211 * javax/swing/LayoutFocusTraversalPolicy.java,
5212 javax/swing/SortingFocusTraversalPolicy.java:
5214 * Makefile.am: Added new classes.
5215 * Makefike.in: Regenerated.
5218 2005-02-15 Michael Koch <konqueror@gmx.de>
5220 * javax/swing/DebugGraphics.java: Mostly implemented.
5222 2005-02-15 Michael Koch <konqueror@gmx.de>
5224 * javax/swing/SwingUtilities.java
5225 (findFocusOwner): New method.
5227 2005-02-15 Michael Koch <konqueror@gmx.de>
5229 * javax/swing/text/DefaultEditorKit.java
5230 (read): Added '\n' after each line.
5231 * javax/swing/text/PlainView.java
5232 (modelToView): Update metrics.
5233 (drawLine): Use offsets from element.
5234 (paint): Update metrics. Draw all lines.
5236 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5238 * java/awt/Checkbox.java:
5239 (AccessibleAWTCheckbox): Added class documentation
5240 * java/awt/Scrollbar.java:
5241 (AccessibleAWTScrollBar): typo corrected and docs added
5242 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5243 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5244 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5245 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5246 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5247 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5248 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5249 (getAccessibleContext()): name of accessible class corrected
5251 2005-02-15 Mark Wielaard <mark@klomp.org>
5253 * java/awt/BasicStroke.java (hashCode): Implement.
5256 2005-02-15 Michael Koch <konqueror@gmx.de>
5258 * java/awt/print/PrinterJob.java
5259 (pageDialog): Throws java.awt.HeadlessException.
5260 (printDialog): Likewise.
5262 2005-02-15 Mark Wielaard <mark@klomp.org>
5264 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5266 2005-02-15 Michael Koch <konqueror@gmx.de>
5268 * javax/swing/JTable.java
5269 (getValueAt): New method.
5270 * javax/swing/table/JTableHeader.java
5271 (columnAtPoint): New method.
5273 2005-02-15 Michael Koch <konqueror@gmx.de>
5275 * javax/swing/JTextField.java
5276 (actions): New field.
5277 (static): Initalize actions field.
5278 (getActions): New method.
5280 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5282 * java/awt/Checkbox.java:
5283 (AccessibleAWTCheckbox): name capitalization corrected
5284 and serialization UID added.
5285 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5287 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5288 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5289 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5290 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5291 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5292 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5293 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5294 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5295 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5296 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5297 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5299 (getAccessibleContext()): name of accessible class corrected
5301 2005-02-15 Sven de Marothy <sven@physto.se>
5303 * java/awt/geom/doc-files/Area-1.png,
5304 java/awt/geom/doc-files/Ellipse-1.png,
5305 java/awt/geom/doc-files/GeneralPath-1.png:
5308 2005-02-15 Graydon Hoare <graydon@redhat.com>
5310 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5311 Use union to avoid type-punning warning.
5313 2005-02-15 Michael Koch <konqueror@gmx.de>
5315 * javax/swing/DefaultListSelectionModel.java
5316 (clone): New method.
5318 2005-02-15 Mark Wielaard <mark@klomp.org>
5320 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5322 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5323 Correct method signature of gtkSetFilename.
5325 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5327 * javax/swing/text/StringContent.java: New file.
5329 2005-02-15 Michael Koch <konqueror@gmx.de>
5331 * Makefile.am: Added javax/swing/text/StringContent.java.
5332 * Makefile.in: Regenerated.
5334 2005-02-15 Michael Koch <konqueror@gmx.de>
5336 * gnu/java/awt/ClasspathToolkit.java:
5337 Import statements reworked.
5338 (imageCache): Made it of type java.util.HashMap.
5340 2005-02-15 Michael Koch <konqueror@gmx.de>
5342 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5343 Reworked import statements.
5345 2005-02-15 Graydon Hoare <graydon@redhat.com>
5347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5348 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5351 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5359 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5362 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5363 Rewrite uses of extern variable to be function calls.
5364 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5365 function, from extern variable.
5366 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5367 (gdk_env): Remove variable, add new function.
5368 (java_vm): Add new variable.
5369 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5370 java_vm rather than old gdk_env variable.
5372 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5374 * javax/swing/DefaultListModel.java
5375 (add): fire correct event,
5376 (addElement): corrected interval indices in event,
5377 (clear): corrected upper bound for interval, only fire event if
5379 (setSize): fire appropriate event.
5381 2005-02-15 Graydon Hoare <graydon@redhat.com>
5383 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5384 * gnu/awt/xlib/XToolkit.java: Likewise.
5385 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5386 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5387 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5388 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5389 * java/awt/EventQueue.java (getNextEvent):
5390 Adjust event loop to switch to native mode after 100ms.
5391 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5392 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5393 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5394 Wake up event thread.
5395 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5396 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5397 Adjust event loop to switch to java mode after 100ms.
5399 2005-02-15 Graydon Hoare <graydon@redhat.com>
5401 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5402 accidentally removed in last change.
5404 2005-02-15 Michael Koch <konqueror@gmx.de>
5406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5407 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5409 2005-02-15 Graydon Hoare <graydon@redhat.com>
5411 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5412 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5413 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5414 * jni.cc: Reuse bottom frame between calls, avoid clearing
5415 frame when no local references are made.
5417 2005-02-15 Michael Koch <konqueror@gmx.de>
5419 * javax/swing/UIDefaults.java (UIDefaults):
5420 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5421 Fixed HTML entity and removed a redundant comma.
5423 2005-02-15 Michael Koch <konqueror@gmx.de>
5425 * javax/swing/text/DefaultEditorKit.java
5426 (deinstall): Removed.
5427 (install): Likewise.
5429 2005-02-15 Michael Koch <konqueror@gmx.de>
5431 * javax/swing/UIDefaults.java (put): Handle value of null.
5433 2005-02-15 Michael Koch <konqueror@gmx.de>
5435 * java/awt/Robot.java,
5436 java/awt/Scrollbar.java,
5437 java/awt/print/PrinterJob.java,
5438 javax/swing/JTable.java,
5439 javax/swing/text/AbstractDocument.java:
5440 Reworked import statements.
5442 2005-02-15 Michael Koch <konqueror@gmx.de>
5444 * javax/swing/JEditorPane.java
5445 (read): Implemented.
5447 * javax/swing/text/DefaultEditorKit.java
5448 (page): Renamed from page_url. Made private.
5449 (editorKit): Renamed from kit. Made private.
5451 (JEditorPane): All constructors reimplemented.
5452 (getContentType): Use content type from editor kit.
5453 (getEditorKit): Return editorKit.
5454 (getEditorKitForContentType):Likewise.
5455 (getPage): Return page.
5456 (setContentType): Reimplemented.
5457 (setEditorKit): Likewise.
5458 (setEditorKitForContentType): Removed wrong implementation.
5459 (setPage): Implemented.
5461 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5464 (nativeSetIconImageFromData): Re-add native implementation.
5466 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5468 * javax/swing/table/DefaultTableModel.java
5469 (DefaultTableModel()): Added Javadocs.
5470 (DefaultTableModel(int, int)): Fixed implementation.
5471 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5472 for negative rowCount.
5473 (DefaultTableModel(Object[], int)): Added Javadocs.
5474 (DefaultTableModel(Vector, Vector)): Likewise.
5475 (DefaultTableModel(Object[][], Object[])): Likewise.
5476 (getDataVector): Likewise.
5477 (setDataVector(Vector, Vector)): Likewise.
5478 (setDataVector(Object[][], Object[])): Likewise.
5479 (newDataAvailable): Likewise.
5480 (newRowsAdded): Likewise.
5481 (rowsRemoved): Likewise.
5482 (setColumnIdentifiers(Vector)): Allow for null argument.
5483 (setColumnIdentifiers(Object[])): Added Javadocs.
5484 (setNumRows): Likewise.
5485 (setRowCount): Adds new rows if necessary, and sends more specific
5487 (setColumnCount): Allow for null columnIdentifiers.
5488 (addColumn(Object)): Added Javadocs.
5489 (addColumn(Object, Vector)): Handle null columnData.
5490 (addColumn(Object, Object[])): Handle columnData with more or less
5491 entries than rows in the table.
5492 (addRow(Vector)): Fire appropriate event.
5493 (addRow(Object[])): Added Javadocs.
5494 (insertRow(int, Vector)): Fire appropriate event.
5495 (insertRow(int, Object[])): Added Javadocs.
5496 (moveRow): Reimplemented.
5497 (removeRow(int)): Fire appropriate event.
5498 (getColumnCount): Allow for null columnIdentifiers.
5499 (getColumnName): Now returns empty string when column index is too
5501 (isCellEditable): Added Javadocs.
5502 (getValueAt): Likewise.
5503 (setValueAt): Fire more specific event.
5504 (convertToVector): Added Javadocs.
5505 * javax/swing/table/TableModel.java
5508 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5510 * libgcj.spec.in (lib): Add -l-javax-imageio.
5512 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5514 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5515 references to event queue q with method call q().
5516 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5517 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5518 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5519 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5520 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5521 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5524 2005-02-15 Graydon Hoare <graydon@redhat.com>
5526 * gnu/java/awt/ClasspathToolkit.java
5527 (registerImageIOSpis): New method.
5528 * gnu/java/awt/image/ImageDecoder.java
5529 (imageDecoder): New constructor using InputStream
5530 (startProduction): Handle existing InputStream.
5531 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5532 (findSimpleIntegerArray): Make public and static.
5533 (updateBufferedImage): Set each pixel, in a loop.
5534 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5535 Implement ImageIO SPI classes.
5536 (createBufferedImage): Rewrite in terms of SPI classes.
5537 * gnu/java/awt/peer/gtk/GtkToolkit.java
5538 (registerImageIOSpis): New method.
5539 * java/lang/reflect/natMethod.cc
5540 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5541 which lets JNI call interface methods properly.
5542 * javax/imageio/ImageIO.java
5543 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5544 (WriterMIMETypeFilter.filter): Likewise.
5545 (ImageReaderIterator): Pass extension argument through to SPI.
5546 (getReadersByFilter): Likewise.
5547 (getWritersByFilter): Likewise.
5548 (getImageReadersByFormatName): Likewise.
5549 (getImageReadersByMIMEType): Likewise.
5550 (getImageReadersBySuffix): Likewise.
5551 (getImageWritersByFormatName): Likewise.
5552 (getImageWritersByMIMEType): Likewise.
5553 (getImageWritersBySuffix): Likewise.
5556 * javax/imageio/ImageReader.java
5557 (progressListeners): Initialize.
5558 (setInput): Implement.
5559 * javax/imageio/ImageWriter.java
5560 (progressListeners): Initialize.
5561 (warningListeners): Likewise.
5562 (warningLocales): Likewise.
5563 (setOutput): Test "isInstance" rather than class equality.
5564 * javax/imageio/spi/IIORegistry.java
5565 (static): Add reader and writer SPIs.
5566 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5567 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5568 (query_formats): New function.
5569 (save_to_stream): Likewise.
5570 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5572 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5576 (keyPress): Likewise.
5577 (keyRelease): Likewise.
5579 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5581 * javax/swing/JTable.java
5582 (columnAtPoint): New Method. Implemented.
5583 (rowAtPoint): Likewise.
5584 (countSelections): Fixed few small count errors.
5585 (getSelections): Likewise.
5586 (setSelectionMode): Set selection mode for column
5587 selection model in addition to row selection model.
5588 * javax/swing/plaf/basic/BasicTableUI.java:
5589 (getRowForPoint): Removed. Replaced by
5590 JTable.rowAtPoint().
5591 (getColForPoint): Removed. Replaced by
5592 JTable.columnAtPoint().
5593 (updateSelection): Updated to call JTable.columnAtPoint
5594 and JTable.rowAtPoint.
5595 * javax/swing/table/DefaultTableColumnModel.java:
5596 (getSelectedColumns): Implemented.
5597 (getSelectedColumnCount): Implemented.
5599 2005-02-15 Graydon Hoare <graydon@redhat.com>
5602 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5603 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5604 * Makefile.in: Regenerate.
5605 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5606 * gnu/awt/xlib/XFramePeer.java: Likewise.
5607 * gnu/awt/xlib/XToolkit.java: Likewise.
5608 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5609 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5610 * gnu/java/awt/ClasspathToolkit.java
5613 (iterateNativeQueue): New methods.
5614 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5615 * gnu/java/awt/peer/gtk/GtkToolkit.java
5616 (gtkInit): Absorb from defunct GtkMainThread class.
5617 (static): Run gtkInit in static startup block.
5618 (GtkToolkit): Remove construction of GtkMainThread and queue.
5619 (getSystemEventQueueImpl): Construct queue when requested.
5622 (iterateNativeQueue): New methods.
5623 * java/awt/Component.java (removeNotify): Remove race.
5624 * java/awt/EventDispatchThread.java
5625 (EventDispatchThread): Don't start on construction.
5626 (run): Remove isInterrupted check.
5627 * java/awt/EventQueue.java (shutdown): New flag.
5628 (isShutdown): New method checking J2SE shutdown condition.
5629 (setShutdown): New method.
5630 (getNextEvent): Restructure to use ClasspathToolkit.
5631 (postEvent): Activate new thread on posting, wake thread on
5632 post of possible shutdown condition event.
5633 * java/awt/Frame.java
5634 (Frame): Call noteFrame in all constructors.
5635 (fireDummyEvent): New helper method.
5636 (addNotify): Fire a dummy event to wake up queue.
5637 (removeNotify): Fire a dummy event to wake up queue.
5638 (noteFrame): New method.
5639 (weakFrames): New static field.
5640 (getFrames): Implement.
5641 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5644 Move everything from GtkMainThread into this file
5645 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5646 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5647 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5648 New functions to implement single-threaded queue semantics.
5650 2005-02-15 Michael Koch <konqueror@gmx.de>
5652 * javax/swing/plaf/metal/MetalLookAndFeel.java
5653 (getControlTextFont): New method.
5654 (getMenuTextFont): Likewise.
5655 (getSubTextFont): Likewise.
5656 (getSystemTextFont): Likewise.
5657 (getUserTextFont): Likewise.
5658 (getWindowTitleFont): Likewise.
5660 2005-02-15 Michael Koch <konqueror@gmx.de>
5662 * javax/swing/text/AbstractDocument.java
5663 (documentFilter): New field.
5664 (getDocumentFilter): New method.
5665 (setDocumentFilter): Likewise.
5668 2005-02-15 Michael Koch <konqueror@gmx.de>
5670 * javax/swing/JTree.java
5671 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5673 2005-02-15 Michael Koch <konqueror@gmx.de>
5675 * javax/swing/text/AbstractDocument.java
5676 (AbstractElement.getLength): Fixed off-by-one error.
5677 (AbstractElement.children): Made abstract.
5678 (AbstractElement.getAllowsChildren): Likewise.
5679 (AbstractElement.getElement): Likewise.
5680 (AbstractElement.dumpElement): New private method.
5681 (AbstractElement.dump): New method.
5682 (BranchElememt.getName): Fixed implementation.
5683 (BranchElememt.toString): Likewise.
5684 (BranchElememt.getElement): Fixed arguments.
5685 (LeafElement.getName): Fixed implementation.
5686 (LeafElement.toString): Likewise.
5687 * javax/swing/text/GapContent.java
5688 (GapContent): Put default content into buffer.
5689 * javax/swing/text/PlainDocument.java
5690 (reindex): Use empty attribute sets instead of null.
5691 (createDefaultRoot): Reimplemented.
5692 (insertUpdate): Call super method.
5693 (removeUpdate): Likewise.
5694 (getParagraphElement): Implemented.
5696 2005-02-15 Michael Koch <konqueror@gmx.de>
5698 * gnu/java/awt/ClasspathToolkit.java
5699 (createRobot): Throws java.awt.AWTException.
5700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5701 Added '__attribute__((unused))' to all unused method arguments.
5703 2005-02-15 Michael Koch <konqueror@gmx.de>
5705 * javax/swing/DefaultBoundedRangeModel.java
5706 (fireValueChanged): Fixed off-by-one error.
5708 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5710 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5711 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5713 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5714 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5715 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5716 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5717 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5718 (getDefaultScreenDevice): Implement.
5719 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5720 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5721 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5722 * java/awt/Robot.java: Implement.
5723 * java/awt/peer/RobotPeer.java: Rename parameters.
5724 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5725 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5726 (awt_keycode_to_keysym): Make non-static.
5727 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5728 AWT_BUTTON3_MASK): Declare constants.
5729 (awt_keycode_to_keysym): Declare.
5731 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5732 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5733 and is non-empty pass its value to "make check".
5734 (test_mauve_sim): Likewise.
5736 2005-02-15 Michael Koch <konqueror@gmx.de>
5738 * javax/imageio/IIOParam.java
5739 (setSourceBands): New method.
5740 (setSourceSubsampling): Likewise.
5741 * javax/imageio/ImageReadParam.java
5742 (setDestination): Likewise.
5743 (setDestinationBands): Likewise.
5744 (setSourceProgressivePasses): Likewise.
5745 * javax/imageio/metadata/IIOInvalidTreeException.java
5746 (serialVersionUID): New static field.
5747 * javax/imageio/metadata/IIOMetadataNode.java
5748 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5749 (parent): Dont initailize with default value explicitely.
5751 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5752 (removeAttributeNode): Likewise.
5753 (removeAttributeNS): Likewise.
5754 (setAttribute): Likewise.
5755 (setAttributeNode): Likewise.
5756 (setAttributeNodeNS): Likewise.
5757 (setAttributeNS): Likewise.
5758 (appendChild): Likewise.
5759 (getNodeValue): Likewise.
5760 (insertBefore): Likewise.
5761 (removeChild): Likewise.
5762 (replaceChild): Likewise.
5763 (setPrefix): Likewise.
5765 2005-02-15 Michael Koch <konqueror@gmx.de>
5767 * javax/swing/LookAndFeel.java
5768 (getDesktopPropertyValue): New method.
5770 2005-02-15 Michael Koch <konqueror@gmx.de>
5772 * javax/swing/JTree.java
5773 (hasChildren): New instance field.
5775 2005-02-15 Michael Koch <konqueror@gmx.de>
5777 * javax/swing/JComponent.java
5778 (getToolTipText): New method.
5779 (getTitledBorderText): Likewise.
5780 (getAccessibleKeyBinding): Likewise.
5781 (getVerifyInputWhenFocusTarget): Likewise.
5782 (setVerifyInputWhenFocusTarget): Likewise.
5783 (verifyInputWhenFocusTarget): New instance field.
5785 2005-02-15 Michael Koch <konqueror@gmx.de>
5787 * javax/swing/DefaultListSelectionModel.java
5788 (fireValueChanged): New method.
5790 2005-02-15 Michael Koch <konqueror@gmx.de>
5792 * javax/swing/DefaultBoundedRangeModel.java:
5793 Fixed javadocs all over.
5794 (fireStateChanged): Simplified.
5795 * javax/swing/BoundedRangeModel.java:
5798 2005-02-15 Michael Koch <konqueror@gmx.de>
5800 * javax/swing/JRootPane.java
5801 (setMenuBar): Added @deprecated tag.
5802 (getMenuBar): Likewise.
5803 * javax/swing/JTable.java
5804 (sizeColumnsToFit): Likewise.
5806 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5808 * javax/swing/ImageIcon.java (setImage): Implemented.
5810 2005-02-15 Michael Koch <konqueror@gmx.de>
5812 * javax/swing/JTable.java:
5813 Removed unused imports.
5815 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5817 (prepareRenderer): Get column's index in dataModel instead
5818 of column's view index.
5819 (getColumnCount): return count of the columns in ColumnModel,
5821 (removeColumn): Implemented.
5822 (moveColumm): Likewise.
5823 (setRowHeight): throw IllegalArgumentException if height is
5825 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5826 (DefaultTableColumnModel):Add call to createSelectionModel().
5827 (addColumn): Fire columnAdded event to registered listeners.
5828 (removeColumn): Fire columnRemoved event to registered listeners.
5829 (moveColumn): Fire columnMoved event to registered listeners.
5830 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5831 (getColumnIndex): Changed parameter name.
5832 (setColumnSelectionAllowed): Likewise.
5833 (fireColumnAdded): Implemented.
5834 (fireColumnRemoved): Likewise.
5835 (fireColumnMoved): Likewise.
5836 (fireColumnMarginChanged): Likewise.
5837 (getListeners): Changed parameter name.
5838 (propertyChange): Implemented.
5839 (valueChanged): Changed parameter name.
5840 (createSelectionModel): Implemented.
5842 2005-02-15 Michael Koch <konqueror@gmx.de>
5844 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5845 Explicitely import used classes.
5846 (getLocalGraphicsEnvironment): Simplify.
5847 * java/awt/Window.java (Window):
5848 Enable code to get the default GraphicsConfiguration.
5850 2005-02-15 Michael Koch <konqueror@gmx.de>
5852 * javax/swing/plaf/metal/DefaultMetalTheme.java
5853 (CONTROL_TEXT_FONT): New static field.
5854 (MENU_TEXT_FONT): Likewise.
5855 (SUB_TEXT_FONT): Likewise.
5856 (SYSTEM_TEXT_FONT): Likewise.
5857 (USER_TEXT_FONT): Likewise.
5858 (WINDOW_TITLE_FONT): Likewise.
5859 (getControlTextFont): New method.
5860 (getMenuTextFont): Likewise.
5861 (getSubTextFont): Likewise.
5862 (getSystemTextFont): Likewise.
5863 (getUserTextFont): Likewise.
5864 (getWindowTitleFont): Likewise.
5865 * javax/swing/plaf/metal/MetalTheme.java
5866 (BLACK): Initialize with Color.BLACK.
5867 (WHITE): Initialize with Color.WHITE.
5868 (getInactiveControlTextColor): Return getControlDisabled().
5869 (getMenuDisabledForeground): Return getSecondary3().
5870 (getControlTextFont): New abstract method.
5871 (getMenuTextFont): Likewise.
5872 (getSubTextFont): Likewise.
5873 (getSystemTextFont): Likewise.
5874 (getUserTextFont): Likewise.
5875 (getWindowTitleFont): Likewise.
5877 2005-02-15 Michael Koch <konqueror@gmx.de>
5879 * javax/swing/JFormattedTextField.java
5880 (getFocusLostBehavior): Fixed typo in method name.
5881 (setFocusLostBehavior): Likewise.
5883 2005-02-15 Michael Koch <konqueror@gmx.de>
5885 * javax/swing/TransferHandler.java:
5886 Reworked import statements.
5888 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5890 * java/awt/Button.java,
5891 java/awt/Canvas.java,
5892 java/awt/Checkbox.java,
5893 java/awt/CheckboxMenuItem.java,
5894 java/awt/Choice.java,
5895 java/awt/Dialog.java,
5896 java/awt/Frame.java,
5897 java/awt/Label.java,
5900 java/awt/MenuBar.java,
5901 java/awt/MenuItem.java,
5902 java/awt/PopupMenu.java,
5903 java/awt/ScrollPane.java,
5904 java/awt/Scrollbar.java,
5905 java/awt/TextArea.java,
5906 java/awt/Window.java (getAccessibleContext): Clean up comments.
5908 * java/awt/Button.java,
5909 java/awt/Checkbox.java,
5910 java/awt/Choice.java,
5912 java/awt/PopupMenu.java,
5913 java/awt/TextArea.java (getAccessibleContext): Only create new
5915 * java/awt/TextComponent.java (getAccessibleContext): Implement.
5917 2005-02-15 Michael Koch <konqueror@gmx.de>
5919 * java/awt/Button.java,
5920 javax/swing/JApplet.java,
5921 javax/swing/JFormattedTextField.java,
5922 javax/swing/JWindow.java,
5923 javax/swing/JTree.java,
5924 javax/swing/plaf/basic/BasicEditorPaneUI.java,
5925 javax/swing/plaf/basic/BasicTextPaneUI.java,
5926 javax/swing/plaf/basic/BasicTreeUI.java:
5927 Reworked import statements.
5929 2005-02-15 Michael Koch <konqueror@gmx.de>
5931 * Makefile.am: Put javax.imageio into its own library and link it
5932 against lib-org-w3c-dom.la to fix bootstrapping.
5933 * Makefile.in: Regenerated.
5935 2005-02-15 Michael Koch <konqueror@gmx.de>
5937 * javax/swing/text/TextAction.java
5938 (getTextComponent): Simplified. Added Javadoc.
5939 (augmentList): Implemented. Added Javadoc.
5940 (getFocusedComponent): Added javadoc.
5942 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5944 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
5945 getAccessibleContext): Implement.
5946 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
5947 getAccessibleContext): Implement.
5949 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5951 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
5953 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
5955 * java/awt/Window.java (getAccessibleContext): Fix comment.
5956 Remove extra import.
5958 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5960 * java/awt/Window.java (AccessibleAWTWindow): Implement.
5961 (isActive, isFocused, getAccessibleContext): Implement.
5963 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5965 * java/awt/MenuItem.java (getAccessibleContext): Implement.
5966 * java/awt/MenuComponent.java (accessibleContext): Make package
5968 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
5969 AccessibleAWTCheckboxMenuItem): Implement.
5971 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5973 * java/awt/List.java: Implement AccessibleAWTList,
5974 AccessibleAWTListChild.
5976 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5978 * java/awt/Choice.java: Add implements declaration for
5981 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5983 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
5986 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5988 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
5989 implemented interface list.
5991 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5993 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
5994 * javax/imageio/metadata/IIOAttr.java: New class.
5995 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
5996 * javax/imageio/metadata/IIONodeList.java: New class.
5997 * Makefile.am: Added new files.
5998 * Makefile.in: Regenerated.
6000 2005-02-15 Michael Koch <konqueror@gmx.de>
6002 * javax/swing/AbstractAction.java,
6003 javax/swing/AbstractCellEditor.java,
6004 javax/swing/AbstractListModel.java,
6005 javax/swing/DefaultBoundedRangeModel.java,
6006 javax/swing/DefaultButtonModel.java,
6007 javax/swing/DefaultCellEditor.java,
6008 javax/swing/DefaultComboBoxModel.java,
6009 javax/swing/DefaultDesktopManager.java,
6010 javax/swing/JMenu.java,
6011 javax/swing/JSlider.java,
6012 javax/swing/KeyStroke.java,
6013 javax/swing/OverlayLayout.java,
6014 javax/swing/ScrollPaneLayout.java,
6015 javax/swing/SizeRequirements.java,
6016 javax/swing/ViewportLayout.java:
6017 Made serialVersionUID private.
6019 2005-02-15 Michael Koch <konqueror@gmx.de>
6021 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6024 2005-02-15 Michael Koch <konqueror@gmx.de>
6026 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6028 2005-02-15 Michael Koch <konqueror@gmx.de>
6030 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6032 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6034 * java/awt/EventDispatchThread.java,
6035 java/awt/Toolkit.java:
6036 Don't catch java.lang.ThreadDeath.
6038 2005-02-15 Michael Koch <konqueror@gmx.de>
6040 * javax/swing/text/PasswordView.java
6041 (drawEchoCharacter): Added javadoc.
6042 (drawSelectedText): Likewise.
6043 (drawUnselectedText): Likewise.
6045 2005-02-15 Michael Koch <konqueror@gmx.de>
6047 * javax/swing/JRootPane.java
6048 (windowDecorationStyle): New field.
6049 (setMenuBar): New method.
6050 (getMenuBar): Likewise.
6051 (getWindowDecorationStyle): Likewise.
6052 (setWindowDecorationStyle): Likewise.
6054 2005-02-15 Michael Koch <konqueror@gmx.de>
6056 * javax/swing/DefaultListSelectionModel.java
6057 (leadAnchorNotificationEnabled): Made protected.
6059 2005-02-15 Michael Koch <konqueror@gmx.de>
6061 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6062 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6063 * Makefile.in: Regenerated.
6066 2005-02-15 Michael Koch <konqueror@gmx.de>
6068 * javax/swing/JFormattedTextField.java: Implemented.
6069 * javax/swing/JWindow.java
6070 (JWindow): New constructors.
6071 (initWindow): Renamed from initFrame.
6072 * javax/swing/UIDefaults.java
6073 (ActiveValue): Made interface static.
6074 (LazyValue): Likewise.
6075 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6076 (TitlePaneLayout.TitlePaneLayout): New constructor.
6077 * javax/swing/plaf/basic/BasicSliderUI.java
6078 (ChangeHandler): Made public.
6079 (FocusHandler): Likewise.
6080 (PropertyChangeHandler): Likewise.
6081 (ScrollListener): Likewise.
6082 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6083 (FocusHandler): Likewise.
6084 (MouseHandler): Likewise.
6085 * javax/swing/plaf/basic/BasicTextPaneUI.java
6086 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6087 * javax/swing/plaf/basic/BasicToolBarUI.java
6088 (BasicToolBarUI): Simplified. Reworked javadoc.
6089 (canDock): Simplified. Make public.
6090 (DockingListener): Made public.
6091 * javax/swing/text/JTextComponent.java
6092 (navigationFilter): New field.
6093 (getNavigationFilter): New method.
6094 (setNavigationFilter): Likewise.
6096 2005-02-15 Michael Koch <konqueror@gmx.de>
6098 * javax/swing/plaf/metal/MetalTheme.java
6099 (getControlTextColor): Return getControlInfo().
6100 (getHighlightedTextColor): Return getControlTextColor().
6102 2005-02-15 Michael Koch <konqueror@gmx.de>
6104 * javax/swing/plaf/basic/BasicButtonListener.java
6105 (BasicButtonListener): New constructor.
6106 * javax/swing/plaf/basic/BasicButtonUI.java
6107 (createButtonListener): Usw new BasicButtonListener constructor.
6109 2005-02-15 Michael Koch <konqueror@gmx.de>
6111 * javax/imageio/event/package.html,
6112 javax/imageio/metadata/package.html: New files.
6114 2005-02-15 Michael Koch <konqueror@gmx.de>
6116 * java/awt/image/MemoryImageSource.java: Reformatted.
6118 2005-02-15 Michael Koch <konqueror@gmx.de>
6120 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6122 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6124 * java/awt/color/ICC_Profile.java
6125 (finalize): Removed pointless field assignments.
6127 2005-02-15 Michael Koch <konqueror@gmx.de>
6129 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6130 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6131 * Makefile.in: Regenerated.
6133 2005-02-15 Michael Koch <konqueror@gmx.de>
6135 * javax/swing/text/DefaultStyledDocument.java: New file.
6136 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6137 * Makefile.in: Regenerated.
6139 2005-02-15 Michael Koch <konqueror@gmx.de>
6141 * javax/swing/JFileChooser.java
6142 (showDialog): Return CANCEL_OPTION for now.
6143 (showOpenDialog): Likewise.
6144 (showSaveDialog): Likewise.
6146 2005-02-15 Michael Koch <konqueror@gmx.de>
6148 * javax/swing/JApplet.java
6149 (HIDE_ON_CLOSE): Removed.
6150 (EXIT_ON_CLOSE): Likewise.
6151 (DISPOSE_ON_CLOSE): Likewise.
6152 (DO_NOTHING_ON_CLOSE): Likewise.
6153 (close_action): Likewise.
6154 (getDefaultCloseOperation): Likewise.
6155 (setDefaultCloseOperation): Likewise.
6156 (processWindowEvent): Likewise.
6157 (getPreferredSize): Simplified.
6158 * javax/swing/JInternalFrame.java
6159 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6161 * javax/swing/JWindow.java
6162 (HIDE_ON_CLOSE): Removed.
6163 (EXIT_ON_CLOSE): Likewise.
6164 (DISPOSE_ON_CLOSE): Likewise.
6165 (DO_NOTHING_ON_CLOSE): Likewise.
6166 (close_action): Likewise.
6167 (processKeyEvent): Likewise.
6168 (setDefaultCloseOperation): Likewise.
6169 (getPreferredSize): Simplified.
6171 2005-02-15 Michael Koch <konqueror@gmx.de>
6173 * javax/swing/JTextField.java
6174 (getPreferredSize): Re-implemented.
6176 2005-02-15 Michael Koch <konqueror@gmx.de>
6178 * javax/swing/JLabel.java
6179 (setDisplayedMnemonic): Use only upper case characters.
6180 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6181 PropertyChangeEvent after property got set to the new index.
6183 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6185 * javax/swing/JComboBox.java:
6186 (JComboBox): Removed selection of the
6187 first item in the model.
6189 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6191 * javax/swing/JComboBox.java
6192 added support for no item being selected
6193 (JComboBox): select first or nothing depending on element count
6194 (setModel): cleaned up unneeded "this." usage, added more
6195 docs, made exception behavior match that of the JDK
6196 (setLighWeightPopupEnabled): removed unneeded "this." usage
6198 (setMaximumRowCount): dito
6200 (setPrototypeDisplayValue): dito
6201 (getSelectedItem): simplified, added more user doc
6202 (setSelectedIndex): corrected exception behavior, added more user doc
6203 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6204 added performance warning to user doc
6205 (addItem): fixed exception behavior, added user doc
6206 (insertItemAt): dito
6208 (removeItemAt): dito
6209 (removeAll): fixed exception behavior, added user doc, added support
6210 for model not being instance of DefaultComboBoxModel
6211 (getSelectedItemObjects): simplified
6212 (getItemCount): fixed dependency on DefaultComboBoxModel
6213 (getItemAt): fixed dependency on MutableComboBoxModel
6214 * javax/swing/DefaultComboBoxModel.java:
6215 (setSelectedItem): updates selected item only if new
6216 value is null or known (match JDK behavior)
6217 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6218 (paintCurrentValue): renders "" if no item is selected
6220 2005-02-15 Michael Koch <konqueror@gmx.de>
6222 * javax/swing/plaf/metal/MetalTheme.java,
6223 javax/swing/plaf/metal/DefaultMetalTheme.java:
6225 * javax/swing/plaf/metal/MetalLookAndFeel.java
6226 * Makefile.am: Added the new files.
6227 * Makefile.in: Regenerated.
6229 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6231 * javax/swing/JTable.java
6232 (editorComp): New field.
6233 (JTable): Initialize local variables and call updateUI
6234 (selectionBackground): Make protected.
6235 (selectionForeground): Likewise.
6236 (initializeLocalVars): Create default editors and renderers,
6237 initialize editingColumn, editingRow variables.
6238 (createDefaultEditors): New Method.
6239 (createDefaultRenderers): Likewise.
6240 (createDefaultListSelectionModel): Removed
6241 (createDefaultSelectionModel): New Method.
6242 (createDefaultTableHeader): Likewise
6243 (removeColumn): Likewise.
6244 (getEditingColumn): Likewise.
6245 (setEditingColumn): Likewise.
6246 (getEditingRow): Likewise.
6247 (setEditingRow): Likewise.
6248 (getEditorComponent): Likewise.
6249 (isEditing): Likewise.
6250 (setDefaultEditor): Likewise.
6251 (addColumnSelectionInterval): Likewise.
6252 (addRowSelectionInterval): Likewise.
6253 (setColumnSelectionInterval): Likewise.
6254 (setRowSelectionInterval): Likewise.
6255 (removeColumnSelectionInterval): Likewise.
6256 (removeRowSelectionInterval): Likewise.
6257 (isColumnSelected): Likewise.
6258 (isRowSelected): Likewise.
6259 (isCellSelected): Likewise.
6260 (selectAll): Likewise.
6262 2005-02-15 Michael Koch <konqueror@gmx.de>
6264 * javax/swing/JTable.java
6265 (addColumn): New method.
6266 (getColumnClass): Likewise.
6267 (getColumnName): Likewise.
6269 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6271 * javax/swing/TransferHandler.java
6272 (createTransferable): Made protected.
6274 2005-02-15 Michael Koch <konqueror@gmx.de>
6276 * javax/swing/JTable.java,
6277 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6278 javax/swing/plaf/basic/BasicTableUI.java:
6279 Use fixed get/setIntercellSpacing() methods.
6281 2005-02-15 Michael Koch <konqueror@gmx.de>
6283 * javax/swing/JTable.java
6284 (getIntercellSpacing): Fixed typo in method name.
6285 (setIntercellSpacing): Likewise.
6287 2005-02-15 Michael Koch <konqueror@gmx.de>
6289 * javax/swing/text/JTextComponent.java
6290 (focusAccelerator): New variable.
6291 (getFocusAccelerator): New method.
6292 (setFocusAccelerator): Likewise.
6294 2005-02-15 Michael Koch <konqueror@gmx.de>
6296 * javax/swing/JComponent.java
6297 (setTransferHandler): Made public. Fire property change event.
6298 * javax/swing/TransferHandler.java: Implemented.
6299 * javax/swing/text/JTextComponent.java
6300 (DefaultTransferHandler): New inner class.
6301 (defaultTransferHandler): New variable.
6305 (doTransferAction): Likewise.
6307 2005-02-15 Michael Koch <konqueror@gmx.de>
6309 * javax/swing/JTree.java
6310 (collapsePath): New method.
6311 (collapseRow): Likewise.
6312 (expandPath): Likewise.
6313 (expandRow): Likewise.
6314 (checkExpandParents): Likewise.
6315 (doExpandParents): Likewise.
6316 (setExpandedState): Likewise.
6317 (makeVisible): Likewise.
6319 2005-02-15 Michael Koch <konqueror@gmx.de>
6321 * javax/swing/JPasswordField.java: Updated javadocs.
6323 2005-02-15 Michael Koch <konqueror@gmx.de>
6325 * javax/swing/JLayeredPane.java
6326 (getLayer): Fixed return type, made public.
6327 (getPosition): Use new getLayer().
6328 (SetPosition): Likewise.
6329 (getIndexOf): Likewise.
6331 * javax/swing/JInternalFrame.java
6332 (getLayer): Use new JLayeredPane.getLayer().
6335 2005-02-15 Michael Koch <konqueror@gmx.de>
6337 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6338 (setHeaderValue): Simplified. Do nothing when old value == new value.
6340 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6342 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6343 against null clip region.
6344 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6345 gtkWindowSetResizable.
6346 (postConfigureEvent): Only revalidate if frame size has changed.
6347 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6348 Only revalidate if frame size has changed.
6349 * java/awt/Component.java (reshape): Only repaint and post
6350 component events if component is showing.
6351 * java/awt/Container.java (addImpl): Only post container event if
6352 container is showing.
6354 * java/awt/Window.java (setLocationRelativeTo): Implement.
6355 (setBoundsCallback): Only post component events if component is
6357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6358 Protect against null graphics structure. Flush gdk event queue.
6360 2005-02-15 Michael Koch <konqueror@gmx.de>
6362 * javax/imageio/ImageReader.java,
6363 javax/imageio/ImageTranscoder.java,
6364 javax/imageio/ImageWriter.java,
6365 javax/imageio/spi/ImageInputStreamSpi.java,
6366 javax/imageio/spi/ImageOutputStreamSpi.java,
6367 javax/imageio/spi/ServiceRegistry.java,
6368 javax/imageio/stream/ImageInputStream.java,
6369 javax/imageio/stream/ImageOutputStream.java: Updated.
6370 * javax/imageio/IIOException.java,
6371 javax/imageio/IIOImage.java,
6372 javax/imageio/IIOParam.java,
6373 javax/imageio/IIOParamController.java,
6374 javax/imageio/ImageIO.java,
6375 javax/imageio/ImageReadParam.java,
6376 javax/imageio/ImageTypeSpecifier.java,
6377 javax/imageio/ImageWriteParam.java,
6378 javax/imageio/spi/IIORegistry.java,
6379 javax/imageio/spi/ImageReaderSpi.java,
6380 javax/imageio/spi/ImageWriterSpi.java,
6381 javax/imageio/stream/FileCacheImageInputStream.java,
6382 javax/imageio/stream/FileCacheImageOutputStream.java,
6383 javax/imageio/stream/FileImageInputStream.java,
6384 javax/imageio/stream/FileImageOutputStream.java,
6385 javax/imageio/stream/ImageInputStreamImpl.java,
6386 javax/imageio/stream/ImageOutputStreamImpl.java,
6387 javax/imageio/stream/MemoryCacheImageInputStream.java,
6388 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6389 javax/imageio/event/IIOReadProgressListener.java,
6390 javax/imageio/event/IIOReadUpdateListener.java,
6391 javax/imageio/event/IIOReadWarningListener.java,
6392 javax/imageio/event/IIOWriteProgressListener.java,
6393 javax/imageio/event/IIOWriteWarningListener.java,
6394 javax/imageio/metadata/IIOMetadata.java,
6395 javax/imageio/metadata/IIOMetadataController.java,
6396 javax/imageio/metadata/IIOMetadataFormat.java,
6397 javax/imageio/metadata/IIOInvalidTreeException.java,
6398 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6399 javax/imageio/metadata/IIOMetadataNode.java: New files.
6400 * Makefile.am (javax_source_files): Added new files
6401 * Makefile.in: Regenerated.
6403 2005-02-15 Graydon Hoare <graydon@redhat.com>
6405 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6406 Rework painting into BufferedImages
6407 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6408 Construct BufferedImage with alpha only when alpha is
6409 present in colormodel.
6410 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6411 Rework painting into client-side jint arrays.
6412 * jni/gtk-peer/gtkcairopeer.h:
6415 2005-02-15 Michael Koch <konqueror@gmx.de>
6417 * javax/swing/DefaultListCellRenderer.java
6418 (serialVersionUID): Made private.
6419 (getListCellRendererComponent): Set horizontal alignment.
6420 * javax/swing/JLabel.java
6421 (setVerticalAlignment): Re-implemented.
6422 (setHorizontalAlignment): Do nothing if old value = new value.
6423 * javax/swing/JList.java
6424 (setCellRenderer): Likewise.
6425 (setModel): Re-implemented.
6426 (setSelectionModel): Likewise.
6428 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6430 * java/awt/Component.java,
6431 java/awt/geom/Rectangle2D.java:
6434 2005-02-15 Michael Koch <konqueror@gmx.de>
6436 * javax/swing/AbstractListModel.java
6437 (fireContentsChanged): Simplified.
6438 (fireIntervalAdded): Likewise.
6439 (fireIntervalRemoved): Likewise.
6440 * javax/swing/DefaultSingleSelectionModel.java:
6442 (fireStateChanged): Simplified.
6443 * javax/swing/JPopupMenu.java
6444 (setSelectionModel): Set property.
6446 2005-02-15 Michael Koch <konqueror@gmx.de>
6448 * java/awt/print/Book.java: Reformatted.
6450 2005-02-15 Michael Koch <konqueror@gmx.de>
6452 * java/awt/geom/Area.java
6453 (QuadSegment.curveArea): Remove unused variables.
6454 (CubicSegment.curveArea): Likewise.
6456 2005-02-15 Michael Koch <konqueror@gmx.de>
6458 * javax/swing/JTree.java
6459 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6460 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6461 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6462 (EXPANDED): New constant.
6463 (COLLAPSED): Likewise.
6464 (nodeStates): New field.
6465 (cellEditor): New method.
6466 (cellRenderer): Likewise.
6467 (selectionModel): Likewise.
6468 (treeModel): Likewise.
6469 (scrollPathToVisible): Likewise.
6470 (scrollRowToVisible): Likewise.
6471 (isCollapsed): Likewise.
6472 (isExpanded): Likewise.
6473 (clearToggledPaths): Likewise.
6474 (getDescendantToggledPaths): Likewise.
6475 (hasBeenExpanded): Likewise.
6476 (isVisible): Likewise.
6477 (isPathEditable): Likewise.
6479 2005-02-15 Michael Koch <konqueror@gmx.de>
6481 * javax/swing/JLayeredPane.java: Reformatted.
6483 2005-02-15 Michael Koch <konqueror@gmx.de>
6485 * javax/swing/tree/DefaultMutableTreeNode.java:
6487 * javax/swing/tree/MutableTreeNode.java:
6490 2005-02-15 Michael Koch <konqueror@gmx.de>
6492 * javax/swing/JFormattedTextField.java
6493 (setDocument): Call setDocument of super class. Don't fire property
6496 2005-02-15 Sven de Marothy <sven@physto.se>
6498 * java/awt/image/IndexColorModel.java:
6499 Add FIXME with respect to alpha handling.
6500 (getAlpha): Default to returning opaque pixels.
6501 * java/awt/image/MultiPixelPackedSampleModel.java
6502 (MultiPixelPackedSampleModel): Corrected parameters, order of
6503 bit shifts and masks, stride length off by one.
6505 2005-02-15 Michael Koch <konqueror@gmx.de>
6507 * javax/swing/JList.java, javax/swing/JTree.java:
6508 Added much new methods and fixed much methods setting bound properties.
6510 2005-02-16 Mark Wielaard <mark@klomp.org>
6512 * Makefile.am (gnu_xml_source_files): Removed
6513 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6514 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6515 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6516 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6517 gnu/xml/dom/DomDocumentFragment.java,
6518 gnu/xml/dom/DomProcessingInstruction.java and
6519 gnu/xml/dom/ls/DomLSException.java.
6520 * Makefile.in: Regenerated.
6522 2005-02-16 Tom Tromey <tromey@redhat.com>
6524 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6525 attribute index is out of bounds.
6527 2005-02-16 Chris Burdess <dog@gnu.org>
6529 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6530 isDeclared methods. Improved performance of isSpecified methods.
6532 2005-02-16 Chris Burdess <dog@gnu.org>
6534 Fixes bug libgcj/19864
6535 * gnu/xml/dom/DomAttr.java,
6536 gnu/xml/dom/DomCDATA.java,
6537 gnu/xml/dom/DomCDATASection.java,
6538 gnu/xml/dom/DomCharacterData.java,
6539 gnu/xml/dom/DomDOMException.java,
6540 gnu/xml/dom/DomDoctype.java,
6541 gnu/xml/dom/DomDocument.java,
6542 gnu/xml/dom/DomDocumentConfiguration.java,
6543 gnu/xml/dom/DomDocumentFragment.java,
6544 gnu/xml/dom/DomElement.java,
6545 gnu/xml/dom/DomEx.java,
6546 gnu/xml/dom/DomFragment.java,
6547 gnu/xml/dom/DomImpl.java,
6548 gnu/xml/dom/DomIterator.java,
6549 gnu/xml/dom/DomNamedNodeMap.java,
6550 gnu/xml/dom/DomNode.java,
6551 gnu/xml/dom/DomNsNode.java,
6552 gnu/xml/dom/DomPI.java,
6553 gnu/xml/dom/DomProcessingInstruction.java,
6554 gnu/xml/dom/DomText.java,
6555 gnu/xml/dom/DomLSEx.java,
6556 gnu/xml/dom/DomLSException.java,
6557 gnu/xml/dom/DomLSParser.java,
6558 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6559 implementation class names to conform to Classpath guidelines. Make
6560 DomLSException use JDK 1.4+ exception chaining.
6561 * gnu/xml/util/SAXNullTransformerFactory.java,
6562 gnu/xml/xpath/Predicate.java: Use constants relative to
6563 declaring class or interface.
6565 2005-02-16 Andrew Haley <aph@redhat.com>
6567 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6568 null, create a new AccessControlContext.
6569 * java/security/SecureClassLoader.java (protectionDomainCache):
6571 (defineClass): Create a new protection domain and add it to our
6574 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6575 addStub() to keep track of the stub we've exported.
6576 (unexportObject): Call deleteStub().
6577 * java/rmi/server/RemoteObject.java (stubs): New field.
6578 (addStub): New method.
6579 (deleteStub): New method.
6582 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6583 true to findHelper (tryParents).
6584 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6586 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6587 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6589 If tryParents is false, don't scan parent class loaders.
6591 * java/security/Permissions.java (PermissionsHash.implies):
6592 Iterate over the collection and invoke implies() on each
6595 2005-02-16 Andrew Haley <aph@redhat.com>
6597 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6599 (PersistentByteMap): Set name
6600 Magic number changed to 0x67636a64 ("gcjd").
6601 (init): Force the map to be prime.
6602 (emptyPersistentByteMap): File name was a string, now a File.
6603 (addBytes): Share srings between entries.
6604 (stringTableSize): New method.
6605 (capacity): Scale by load factor.
6606 (force): New method.
6607 (getFile): New method.
6608 (close): New method.
6609 (putAll): New method.
6610 (ByteWrapper): New class.
6611 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6612 (main): Guess the average string size as 32, not 64.
6613 Copy a database before modifying it, so that we can update a
6614 database in a running system.
6615 If a database isn't big enough, resize it.
6616 "-m": new option: merges databases.
6617 "-a": Create a new detabase if it doesn't exist.
6618 (usage): Correct, add new option.
6619 (addJar): Copy a database before modifying it.
6620 (resizeMap): New method.
6622 2005-02-15 David Daney <ddaney@avtrex.com>
6623 Bryce McKinlay <mckinlay@redhat.com>
6625 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6626 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6627 ensure that GC threads inherit the new signal mask.
6628 (block_sigchld): Call JvFail rather than throwing exception if
6629 pthread_sigmask() fails.
6631 2005-02-15 Mark Wielaard <mark@klomp.org>
6633 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6634 file path elements are separated by spaces.
6636 2005-02-15 Mark Wielaard <mark@klomp.org>
6638 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6639 to describe attributes without a constant field value in this class.
6641 2005-02-15 Michael Koch <konqueror@gmx.de>
6643 * java/util/jar/Attributes.java
6644 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6646 2005-02-15 Mark Wielaard <mark@klomp.org>
6648 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6649 space for parsing CLASS_PATH attribute.
6651 2005-02-15 Mark Wielaard <mark@klomp.org>
6653 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6654 aside for "GCJLIBS" in directory where jarfiles are loaded.
6655 (JarURLLoader.getClass): Removed method.
6656 (JarURLLoader.toString): Removed method.
6657 (FileResource.toString): Removed method.
6659 2005-02-15 Mark Wielaard <mark@klomp.org>
6661 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6662 and/or cause before throwing.
6664 2005-02-15 Richard Henderson <rth@redhat.com>
6666 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6667 (libgcj0_convenience_la_SOURCES): ... here.
6668 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6669 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6670 * Makefile.in: Regenerate.
6672 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6675 * include/jawt.h: Likewise.
6676 * include/jawt_md.h: Likewise.
6677 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6679 * include/Makefile.in: Regenerate.
6680 * jni/classpath/classpath_jawt.h: Likewise.
6681 * jni/gtk-peer/gtk_jawt.c: Likewise.
6682 * Makefile.am: Build libjawt.so.
6683 * Makefile.in: Regenerate.
6685 2005-02-14 Tom Tromey <tromey@redhat.com>
6687 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6689 2005-02-14 Tom Tromey <tromey@redhat.com>
6691 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6692 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6694 2005-02-14 Tom Tromey <tromey@redhat.com>
6697 * testsuite/libjava.lang/PR19929.out: New file.
6698 * testsuite/libjava.lang/PR19929.java: New file.
6700 2005-02-14 Anthony Green <green@redhat.com>
6703 * testsuite/libjava.jni/PR18116.c: New file.
6704 * testsuite/libjava.jni/PR18116.java: New file.
6705 * testsuite/libjava.jni/PR18116.out: New file.
6707 2005-02-13 Anthony Green <green@redhat.com>
6710 * jni.cc (nathash_add): Don't strdup the method signature.
6711 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6715 2005-02-12 Mark Wielaard <mark@klomp.org>
6717 Fixes bug libgcj/8170
6718 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6719 ClassNotFoundException.
6720 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6721 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6722 (remove_internal): New field superceding remove_interpreter.
6723 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6724 Remove no-class methods starting with "_Jv_". And Replace null
6725 class or method names with the empty string. Stop at either the
6726 MainThread or a real Thread run() method.
6727 (newElement): Made static.
6728 * java/net/URLClassLoader.java (findClass): Throw
6729 ClassNotFoundExceptions including urls, plus parent using toString().
6730 (thisString): New field.
6731 (toString): New method.
6733 2005-02-10 Tom Tromey <tromey@redhat.com>
6735 * external/sax/Makefile.in: Rebuilt.
6736 * external/sax/Makefile.am (all-local): Removed.
6737 (BUILT_SOURCES): New variable.
6738 (mostlyclean-local): No error if no classes to delete.
6739 * external/w3c_dom/Makefile.in: Rebuilt.
6740 * external/w3c_dom/Makefile.am (all-local): Removed.
6741 (BUILT_SOURCES): New variable.
6742 (mostlyclean-local): No error if no classes to delete.
6744 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6746 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6747 of mauve and libjava.
6749 2005-02-09 Tom Tromey <tromey@redhat.com>
6751 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6752 jar file with OPEN_DELETE.
6753 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6754 OPEN_DELETE is used.
6756 2005-02-09 Tom Tromey <tromey@redhat.com>
6758 * java/util/zip/InflaterInputStream.java (markSupported):
6760 (mark, reset): Likewise.
6762 2005-02-08 Tom Tromey <tromey@redhat.com>
6764 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6765 name or port is missing.
6766 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6767 AUTHORITY_PORT_GROUP): Updated.
6769 2005-02-08 Tom Tromey <tromey@redhat.com>
6771 * configure: Rebuilt.
6772 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6775 2005-02-07 Tom Tromey <tromey@redhat.com>
6777 * java/lang/natRuntime.cc (insertSystemProperties): Set
6778 sun.boot.class.path earlier.
6780 2005-02-07 Tom Tromey <tromey@redhat.com>
6782 * defineclass.cc (handleClassBegin): Use
6783 _Jv_RegisterInitiatingLoader.
6784 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6785 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6786 class. Use _Jv_UnregisterInitiatingLoader.
6787 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6790 2005-02-07 Mark Wielaard <mark@klomp.org>
6792 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6793 java/util/regex/Matcher.java (lookingAt): Set position when match
6795 (matches): Implemented through lookingAt().
6797 2005-02-07 Mark Wielaard <mark@klomp.org>
6799 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6800 * java/util/regex/Pattern.java (split(CharSequence,int)):
6801 Fix while empties > 0 loops.
6803 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6805 * gnu/java/nio/charset/ISO_8859_1.java,
6806 gnu/java/nio/charset/US_ASCII.java,
6807 gnu/java/nio/charset/UTF_16.java,
6808 gnu/java/nio/charset/UTF_16_LE.java,
6809 gnu/java/nio/charset/UTF_16_BE.java,
6810 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6811 and aliases according to
6812 "http://www.iana.org/assignments/character-sets",
6813 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6814 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6815 * gnu/java/nio/charset/Provider.java: Made charset lookup
6816 case-insensitive which fixes bug #11740.
6818 2005-02-07 Tom Tromey <tromey@redhat.com>
6821 * Makefile.in: Rebuilt.
6822 * Makefile.am (src.zip): New target.
6823 (install-src.zip): Likewise.
6824 (sourcesdir): New variable.
6826 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6828 * javax/imageio/metadata/IIOMetadataNode.java:
6830 * javax/imageio/metadata/IIOAttr.java,
6831 javax/imageio/metadata/IIONamedNodeMap.java,
6832 javax/imageio/metadata/IIONodeList.java:
6835 2005-02-06 Graydon Hoare <graydon@redhat.com>
6837 * gnu/java/awt/ClasspathToolkit.java
6838 (registerImageIOSpis): New method.
6839 * javax/imageio/ImageIO.java
6840 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6841 (WriterMIMETypeFilter.filter): Likewise.
6842 (ImageReaderIterator): Pass extension argument through to SPI.
6843 (getReadersByFilter): Likewise.
6844 (getWritersByFilter): Likewise.
6845 (getImageReadersByFormatName): Likewise.
6846 (getImageReadersByMIMEType): Likewise.
6847 (getImageReadersBySuffix): Likewise.
6848 (getImageWritersByFormatName): Likewise.
6849 (getImageWritersByMIMEType): Likewise.
6850 (getImageWritersBySuffix): Likewise.
6853 * javax/imageio/ImageReader.java
6854 (progressListeners): Initialize.
6855 (setInput): Implement.
6856 * javax/imageio/ImageWriter.java
6857 (progressListeners): Initialize.
6858 (warningListeners): Likewise.
6859 (warningLocales): Likewise.
6860 (setOutput): Test "isInstance" rather than class equality.
6861 * javax/imageio/spi/IIORegistry.java
6862 (static): Add reader and writer SPIs.
6863 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6865 2005-02-06 Michael Koch <konqueror@gmx.de>
6867 * javax/imageio/metadata/IIOInvalidTreeException.java
6868 (IIOInvalidTreeException): Reformatted.
6869 * javax/imageio/spi/IIORegistry.java
6870 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6871 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6872 Reworked import statements.
6874 2005-02-06 Michael Koch <konqueror@gmx.de>
6876 * javax/imageio/stream/FileImageOutputStream.java:
6879 2005-02-06 Michael Koch <konqueror@gmx.de>
6881 * javax/imageio/stream/FileCacheImageInputStream.java,
6882 javax/imageio/stream/FileCacheImageOutputStream.java,
6883 javax/imageio/stream/FileImageInputStream.java,
6884 javax/imageio/stream/ImageInputStreamImpl.java,
6885 javax/imageio/stream/ImageOutputStreamImpl.java,
6886 javax/imageio/stream/MemoryCacheImageInputStream.java,
6887 javax/imageio/stream/MemoryCacheImageOutputStream.java:
6888 Added all missing methods in javax.imageio.stream.
6890 2005-02-02 David Daney <ddaney@avtrex.com>
6892 * java/net/InetAddress.java (InetAddress): Make a private copy of
6894 * java/net/Inet4Address.java (getAddress): Return a copy of the
6896 * java/net/Inet6Address.java (Inet6Address): Use private copy of
6898 (getAddress): Return a copy of the address.
6901 2005-02-02 Tom Tromey <tromey@redhat.com>
6903 * Makefile.in: Rebuilt.
6904 * Makefile.am (classes.stamp): New target, broken out from
6906 ($(all_java_class_files)): Depend on it.
6907 (libgcj-@gcc_version@.jar): Likewise.
6908 (all-recursive): Likewise.
6909 (CLEANFILES): Include classes.stamp.
6911 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
6913 * link.cc: Include <stdio.h>
6915 2005-02-02 Tom Tromey <tromey@redhat.com>
6918 * Makefile.in: Rebuilt.
6919 * Makefile.am (ordinary_java_source_files): Added new class.
6920 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6921 Use system_instance, not instance.
6922 * gnu/gcj/runtime/SystemClassLoader.java: New file.
6923 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
6925 (system_instance): New field.
6926 (initialize): Initialize the system loader as well.
6927 (VMClassLoader): Default to LIB_CACHE.
6929 2005-02-02 Tom Tromey <tromey@redhat.com>
6931 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
6932 * prims.cc: Fixed comment.
6934 2005-02-01 Tom Tromey <tromey@redhat.com>
6936 * Makefile.in: Rebuilt.
6937 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
6938 (.java.class): Use BOOTCLASSPATH.
6940 2005-02-01 Tom Tromey <tromey@redhat.com>
6942 * external/w3c_dom/Makefile.am: New file.
6943 * external/w3c_dom/Makefile.in: New file.
6944 * external/sax/Makefile.am: New file.
6945 * external/sax/Makefile.in: New file.
6946 * external/Makefile.in: New file.
6947 * external/Makefile.am: New file.
6948 * external/README: New file from Classpath.
6949 * configure, aclocal.m4, Makefile.in: Rebuilt.
6950 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
6951 * Makefile.am (SUBDIRS): Added external.
6952 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
6953 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
6954 (BOOTCLASSPATH): New variable.
6955 (AM_GCJFLAGS): Use it.
6956 (gnu_xml_source_files): New variable.
6957 (libgcj_la_SOURCES): Use it.
6958 (libgcj_la_LDADD): Include new convenience libraries.
6959 (lib_org_ietf_jgss_la_SOURCES): Removed.
6960 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
6961 (lib_org_ietf_jgss_la_LIBADD): Likewise.
6962 (lib_org_w3c_dom_la_SOURCES): Removed.
6963 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
6964 (lib_org_w3c_dom_la_LIBADD): Likewise.
6965 (lib_org_xml_sax_la_SOURCES): Removed.
6966 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
6967 (lib_org_xml_sax_la_LIBADD): Likewise.
6968 (all_java_source_files): Updated.
6969 (property_files): Likewise.
6970 (libgcj-@gcc_version@.jar): Include classes from external/.
6971 (javax_source_files): Updated.
6972 (ordinary_java_source_files): Updated.
6973 * javax/xml/XMLConstants.java,
6974 javax/xml/datatype/DatatypeConfigurationException.java,
6975 javax/xml/datatype/DatatypeConstants.java,
6976 javax/xml/datatype/DatatypeFactory.java,
6977 javax/xml/datatype/Duration.java,
6978 javax/xml/datatype/XMLGregorianCalendar.java,
6979 javax/xml/datatype/package.html,
6980 javax/xml/namespace/NamespaceContext.java,
6981 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
6982 javax/xml/parsers/DocumentBuilder.java,
6983 javax/xml/parsers/DocumentBuilderFactory.java,
6984 javax/xml/parsers/FactoryConfigurationError.java,
6985 javax/xml/parsers/ParserConfigurationException.java,
6986 javax/xml/parsers/SAXParser.java,
6987 javax/xml/parsers/SAXParserFactory.java,
6988 javax/xml/parsers/package.html,
6989 javax/xml/transform/ErrorListener.java,
6990 javax/xml/transform/OutputKeys.java,
6991 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
6992 javax/xml/transform/SourceLocator.java,
6993 javax/xml/transform/Templates.java,
6994 javax/xml/transform/Transformer.java,
6995 javax/xml/transform/TransformerConfigurationException.java,
6996 javax/xml/transform/TransformerException.java,
6997 javax/xml/transform/TransformerFactory.java,
6998 javax/xml/transform/TransformerFactoryConfigurationError.java,
6999 javax/xml/transform/URIResolver.java,
7000 javax/xml/transform/package.html,
7001 javax/xml/transform/dom/DOMLocator.java,
7002 javax/xml/transform/dom/DOMResult.java,
7003 javax/xml/transform/dom/DOMSource.java,
7004 javax/xml/transform/dom/package.html,
7005 javax/xml/transform/sax/SAXResult.java,
7006 javax/xml/transform/sax/SAXSource.java,
7007 javax/xml/transform/sax/SAXTransformerFactory.java,
7008 javax/xml/transform/sax/TemplatesHandler.java,
7009 javax/xml/transform/sax/TransformerHandler.java,
7010 javax/xml/transform/sax/package.html,
7011 javax/xml/transform/stream/StreamResult.java,
7012 javax/xml/transform/stream/StreamSource.java,
7013 javax/xml/transform/stream/package.html,
7014 javax/xml/validation/Schema.java,
7015 javax/xml/validation/SchemaFactory.java,
7016 javax/xml/validation/TypeInfoProvider.java,
7017 javax/xml/validation/Validator.java,
7018 javax/xml/validation/ValidatorHandler.java,
7019 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7020 javax/xml/xpath/XPathConstants.java,
7021 javax/xml/xpath/XPathException.java,
7022 javax/xml/xpath/XPathExpression.java,
7023 javax/xml/xpath/XPathExpressionException.java,
7024 javax/xml/xpath/XPathFactory.java,
7025 javax/xml/xpath/XPathFactoryConfigurationException.java,
7026 javax/xml/xpath/XPathFunction.java,
7027 javax/xml/xpath/XPathFunctionException.java,
7028 javax/xml/xpath/XPathFunctionResolver.java,
7029 javax/xml/xpath/XPathVariableResolver.java,
7030 javax/xml/xpath/package.html: New files, from GNU JAXP.
7031 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7032 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7033 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7034 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7035 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7036 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7037 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7038 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7039 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7040 org/w3c/dom/ranges/DocumentRange.java,
7041 org/w3c/dom/ranges/Range.java,
7042 org/w3c/dom/ranges/RangeException.java,
7043 org/w3c/dom/traversal/DocumentTraversal.java,
7044 org/w3c/dom/traversal/NodeFilter.java,
7045 org/w3c/dom/traversal/NodeIterator.java,
7046 org/w3c/dom/traversal/TreeWalker.java,
7047 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7048 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7049 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7050 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7051 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7052 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7053 org/xml/sax/SAXNotRecognizedException.java,
7054 org/xml/sax/SAXNotSupportedException.java,
7055 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7056 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7057 org/xml/sax/ext/DeclHandler.java,
7058 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7059 org/xml/sax/helpers/AttributeListImpl.java,
7060 org/xml/sax/helpers/AttributesImpl.java,
7061 org/xml/sax/helpers/DefaultHandler.java,
7062 org/xml/sax/helpers/LocatorImpl.java,
7063 org/xml/sax/helpers/NamespaceSupport.java,
7064 org/xml/sax/helpers/NewInstance.java,
7065 org/xml/sax/helpers/ParserAdapter.java,
7066 org/xml/sax/helpers/ParserFactory.java,
7067 org/xml/sax/helpers/XMLFilterImpl.java,
7068 org/xml/sax/helpers/XMLReaderAdapter.java,
7069 org/xml/sax/helpers/XMLReaderFactory.java,
7070 org/xml/sax/helpers/package.html: Moved to external/.
7071 * external/sax/README,
7072 external/sax/org/xml/sax/AttributeList.java,
7073 external/sax/org/xml/sax/Attributes.java,
7074 external/sax/org/xml/sax/ContentHandler.java,
7075 external/sax/org/xml/sax/DTDHandler.java,
7076 external/sax/org/xml/sax/DocumentHandler.java,
7077 external/sax/org/xml/sax/EntityResolver.java,
7078 external/sax/org/xml/sax/ErrorHandler.java,
7079 external/sax/org/xml/sax/HandlerBase.java,
7080 external/sax/org/xml/sax/InputSource.java,
7081 external/sax/org/xml/sax/Locator.java,
7082 external/sax/org/xml/sax/Parser.java,
7083 external/sax/org/xml/sax/SAXException.java,
7084 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7085 external/sax/org/xml/sax/SAXNotSupportedException.java,
7086 external/sax/org/xml/sax/SAXParseException.java,
7087 external/sax/org/xml/sax/XMLFilter.java,
7088 external/sax/org/xml/sax/XMLReader.java,
7089 external/sax/org/xml/sax/package.html,
7090 external/sax/org/xml/sax/ext/Attributes2.java,
7091 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7092 external/sax/org/xml/sax/ext/DeclHandler.java,
7093 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7094 external/sax/org/xml/sax/ext/EntityResolver2.java,
7095 external/sax/org/xml/sax/ext/LexicalHandler.java,
7096 external/sax/org/xml/sax/ext/Locator2.java,
7097 external/sax/org/xml/sax/ext/Locator2Impl.java,
7098 external/sax/org/xml/sax/ext/package.html,
7099 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7100 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7101 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7102 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7103 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7104 external/sax/org/xml/sax/helpers/NewInstance.java,
7105 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7106 external/sax/org/xml/sax/helpers/ParserFactory.java,
7107 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7108 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7109 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7110 external/sax/org/xml/sax/helpers/package.html,
7111 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7112 external/w3c_dom/org/w3c/dom/Attr.java,
7113 external/w3c_dom/org/w3c/dom/CDATASection.java,
7114 external/w3c_dom/org/w3c/dom/CharacterData.java,
7115 external/w3c_dom/org/w3c/dom/Comment.java,
7116 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7117 external/w3c_dom/org/w3c/dom/DOMError.java,
7118 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7119 external/w3c_dom/org/w3c/dom/DOMException.java,
7120 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7121 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7122 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7123 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7124 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7125 external/w3c_dom/org/w3c/dom/Document.java,
7126 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7127 external/w3c_dom/org/w3c/dom/DocumentType.java,
7128 external/w3c_dom/org/w3c/dom/Element.java,
7129 external/w3c_dom/org/w3c/dom/Entity.java,
7130 external/w3c_dom/org/w3c/dom/EntityReference.java,
7131 external/w3c_dom/org/w3c/dom/NameList.java,
7132 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7133 external/w3c_dom/org/w3c/dom/Node.java,
7134 external/w3c_dom/org/w3c/dom/NodeList.java,
7135 external/w3c_dom/org/w3c/dom/Notation.java,
7136 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7137 external/w3c_dom/org/w3c/dom/Text.java,
7138 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7139 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7140 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7141 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7142 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7143 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7144 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7145 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7146 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7147 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7148 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7149 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7150 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7151 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7152 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7153 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7154 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7155 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7156 external/w3c_dom/org/w3c/dom/css/Counter.java,
7157 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7158 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7159 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7160 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7161 external/w3c_dom/org/w3c/dom/css/Rect.java,
7162 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7163 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7164 external/w3c_dom/org/w3c/dom/events/Event.java,
7165 external/w3c_dom/org/w3c/dom/events/EventException.java,
7166 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7167 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7168 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7169 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7170 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7171 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7172 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7173 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7174 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7175 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7176 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7177 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7178 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7179 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7180 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7181 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7182 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7183 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7184 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7185 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7186 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7187 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7188 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7189 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7190 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7191 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7192 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7193 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7194 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7195 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7196 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7197 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7198 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7199 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7200 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7201 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7202 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7203 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7204 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7205 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7206 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7207 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7208 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7209 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7210 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7211 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7212 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7213 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7214 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7215 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7216 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7217 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7218 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7219 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7220 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7221 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7222 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7223 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7224 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7225 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7226 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7227 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7228 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7229 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7230 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7231 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7232 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7233 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7234 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7235 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7236 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7237 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7238 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7239 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7240 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7241 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7242 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7243 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7244 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7245 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7246 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7247 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7248 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7249 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7250 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7251 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7252 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7253 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7254 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7255 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7256 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7257 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7260 2005-01-31 Anthony Green <green@redhat.com>
7262 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7263 Support IP_MULTICAST_LOOP.
7264 (setOption): Support IP_MULTICAST_LOOP.
7266 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7267 SO_REUSEADDR support.
7268 (getOption): Support SO_REUSEADDR.
7270 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7273 * java/util/Date.java
7274 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7276 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7278 (getTimezoneOffset): Inverted sign.
7280 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7282 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7283 remove other passing tests and add new XFAILs.
7285 2005-01-24 Tom Tromey <tromey@redhat.com>
7287 * java/lang/Class.h (next): Updated documentation. Renamed to
7289 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7290 _Jv_CheckABIVersion.
7291 (_Jv_RegisterClasses_Counted): Likewise.
7292 (_Jv_RegisterClassHookDefault): Fix starting condition of
7293 duplicate-checking loop.
7294 * include/jvm.h (GCJ_VERSION): New define.
7295 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7296 (_Jv_CheckABIVersion): New function.
7298 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7300 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7301 (libgij_la_LDFLAGS): Add.
7302 * Makefile.in: Rebuilt.
7304 2005-01-24 Roger Sayle <roger@eyesopen.com>
7307 * testsuite/libjava.compile/PR19295.java: New test case.
7309 2005-01-19 Tom Tromey <tromey@redhat.com>
7311 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7312 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7313 if 'handler' is valid.
7315 2005-01-17 Tom Tromey <tromey@redhat.com>
7317 * java/text/MessageFormat.java (scanString): Changed how quoting
7319 (scanFormatElement): Likewise.
7321 2004-12-07 Mark Wielaard <mark@klomp.org>
7323 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7325 2005-01-15 Michael Koch <konqueror@gmx.de>
7329 (AUTHORITY_REGEXP): New regexp constant.
7330 (AUTHORITY_USERINFO_GROUP): New constant.
7331 (AUTHORITY_HOST_GROUP): Likewise.
7332 (AUTHORITY_PORT_GROUP): Likewise.
7333 (port): Changed default value to -1.
7334 (parseURI): Parse authority part and initialize host,
7337 2005-01-14 Robin Green <greenrd@greenrd.org>
7339 * java/io/File.java (toURI): Generate a URI which we understand.
7341 2005-01-13 Graydon Hoare <graydon@redhat.com>
7343 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7344 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7345 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7346 * jni.cc: Reuse bottom frame between calls, avoid clearing
7347 frame when no local references are made.
7349 2005-01-13 Michael Koch <konqueror@gmx.de>
7352 * java/lang/Thread.java
7353 (Thread): Call checkAccess().
7354 (stop): Fixed argument name to match javadoc.
7355 * java/lang/natThread.cc
7356 (interrupt): Call checkAccess().
7359 2005-01-11 Michael Koch <konqueror@gmx.de>
7362 * java/net/URL.java (URL): Handle specs like
7363 "/redir?http://domain2.com/index.html" which start with a slash.
7365 2005-01-11 Michael Koch <konqueror@gmx.de>
7367 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7368 * gnu/java/net/BASE64.java,
7369 gnu/java/net/EmptyX509TrustManager.java,
7370 gnu/java/net/LineInputStream.java,
7371 gnu/java/net/protocol/http/Authenticator.java,
7372 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7373 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7374 gnu/java/net/protocol/http/ChunkedInputStream.java,
7375 gnu/java/net/protocol/http/Cookie.java,
7376 gnu/java/net/protocol/http/CookieManager.java,
7377 gnu/java/net/protocol/http/Credentials.java,
7378 gnu/java/net/protocol/http/HTTPConnection.java,
7379 gnu/java/net/protocol/http/HTTPDateFormat.java,
7380 gnu/java/net/protocol/http/HTTPURLConnection.java,
7381 gnu/java/net/protocol/http/Headers.java,
7382 gnu/java/net/protocol/http/Request.java,
7383 gnu/java/net/protocol/http/RequestBodyWriter.java,
7384 gnu/java/net/protocol/http/Response.java,
7385 gnu/java/net/protocol/http/ResponseBodyReader.java,
7386 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7387 gnu/java/net/protocol/http/SimpleCookieManager.java,
7388 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7389 gnu/java/net/protocol/http/event/ConnectionListener.java,
7390 gnu/java/net/protocol/http/event/RequestEvent.java,
7391 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7392 * gnu/java/net/protocol/http/Connection.java: Removed.
7393 * gnu/java/net/protocol/http/Handler.java,
7394 javax/net/ssl/HttpsURLConnection.java: Updated.
7395 * Makefile.am: Added new files and remove old ones.
7396 * Makefile.in: Regenerated.
7398 2005-01-11 Tom Tromey <tromey@redhat.com>
7401 * java/io/BufferedInputStream.java (read): Repeatedly read to
7403 (refill): Change test to see if buffer must be grown.
7405 2005-01-10 Tom Tromey <tromey@redhat.com>
7407 * mauve-libgcj: Exclude some swing tests.
7409 2005-01-10 Tom Tromey <tromey@redhat.com>
7411 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7412 * java/lang/Package.java (getPackages): Use VMClassLoader when
7414 (getPackage): Likewise.
7415 * prims.cc (_Jv_CreateJavaVM): Call
7416 _Jv_RegisterBootstrapPackages.
7417 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7418 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7419 (getPackages): Likewise.
7420 (definedPackages): New field.
7421 (definePackageForNative): New method.
7422 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7423 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7424 * defineclass.cc (handleClassBegin): Use
7425 ClassLoader.findLoadedClass.
7426 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7428 (struct _Jv_LoaderInfo): Removed.
7429 (initiated_classes): Likewise.
7430 (_Jv_UnregisterClass): Don't use initiated_classes.
7431 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7432 (_Jv_FindClass): Register classes found during boostrap.
7433 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7434 (bootstrap_class_list): New global.
7435 (bootstrap_index): Likewise.
7436 (_Jv_RegisterBootstrapPackages): New function.
7437 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7438 definePackageForNative.
7439 (findClass): Updated.
7440 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7443 2005-01-10 Tom Tromey <tromey@redhat.com>
7446 * include/jvm.h (_Jv_Linker::find_field): Declare.
7447 (_Jv_Linker::find_field_helper): Likewise.
7448 * link.cc (find_field_helper): New method.
7449 (find_field): Likewise.
7450 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7452 (link_symbol_table): Use find_field.
7454 2005-01-10 Michael Koch <konqueror@gmx.de>
7457 * java/util/Locale.java (Locale): Don't uppercase variant.
7458 (getISOCountries): Fixed typo in javadoc.
7460 2005-01-10 Michael Koch <konqueror@gmx.de>
7462 * java/util/SimpleTimeZone.java (checkRule):
7463 Throw IllegalArgumentException on invalid month values.
7464 * java/util/TimeZone.java (setID):
7465 Throw NullPointerException if needed.
7467 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7469 * java/util/SimpleTimeZone.java (getOffset):
7470 offset end date with daylight savings
7472 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7474 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7475 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7477 2005-01-09 Michael Koch <konqueror@gmx.de>
7480 * java/net/InetAddress.java (getLocalHost):
7481 Throw UnknownHostException if local hostname cannot be determined.
7483 2005-01-06 Tom Tromey <tromey@redhat.com>
7485 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7487 2005-01-07 Michael Koch <konqueror@gmx.de>
7490 * java/nio/Buffer.java (address): New field.
7491 * java/nio/DirectByteBufferImpl.java (address): Removed.
7492 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7493 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7494 Explicitly initialize Buffer.address if needed.
7495 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7496 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7497 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7498 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7499 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7500 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7501 DirectByteBufferImpl object.
7502 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7503 * testsuite/libjava.jni/directbuffer.c,
7504 testsuite/libjava.jni/directbuffer.java,
7505 testsuite/libjava.jni/directbuffer.out,
7506 testsuite/libjava.jni/bytebuffer.c,
7507 testsuite/libjava.jni/bytebuffer.java,
7508 testsuite/libjava.jni/bytebuffer.out: New files.
7510 2005-01-05 Tom Tromey <tromey@redhat.com>
7512 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7514 (compressedSize): Now 'long'. Default to -1.
7515 (getCompressedSize): Rewrote.
7516 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7517 deflate at all if we need input.
7519 2005-01-05 Tom Tromey <tromey@redhat.com>
7522 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7525 2005-01-05 Tom Tromey <tromey@redhat.com>
7527 * java/lang/natRuntime.cc (insertSystemProperties): Set
7528 java.ext.dirs earlier.
7530 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7532 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7533 sync_info element of the object if needed.
7535 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7537 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7538 a non-zero exit status from 'false'.
7540 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7542 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.