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