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