1 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
3 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
4 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
5 * aclocal.m4, configure, config.h.in, include/config.h.in,
6 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
7 external/Makefile.in, external/sax/Makefile.in,
8 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
10 2005-05-17 David Daney <ddaney@avtrex.com>
13 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
15 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
17 * exception.cc (abort): Remove std::abort hack.
18 (gcc_unreacheable): Define.
20 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
22 * Makefile.am (Makefile.deps): Do not create native.list and
24 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
25 * Makefile.in: Regenerate.
27 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
29 * configure.ac (--enable-libgcj-multifile): Remove.
31 * Makefile.am (all_native_compiled_source_files,
32 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
33 all_libgcj_lo_files, all_xlib_lo_files,
34 all_java_deps_files, all_java_stamp_files,
35 all_java_filelist_files): New variables.
36 (EXTRA_DIST): New Automake variable.
37 (CLEANFILES): Add .stamp, .list and .lo files.
38 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
39 (classes.stamp): Depend on $(all_java_stamp_files).
40 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
41 going through write_entries_to_file.
43 (all_java_source_files, all_property_files): Move earlier.
44 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
45 all_java_class_files): Remove.
46 (gtk_awt_peer_sources): Rename to...
47 (gtk_awt_peer_source_files): ... this. Adjust throughout.
50 (libgcj0_convenience_la_SOURCES): Remove Java source files.
51 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
52 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
53 (libgcj_la_SOURCES): Remove.
54 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
55 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
56 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
58 * configure: Regenerate.
59 * Makefile.in: Regenerate.
60 * external/Makefile.in: Regenerate.
61 * external/sax/Makefile.in: Regenerate.
62 * external/w3c_dom/Makefile.in: Regenerate.
63 * gcj/Makefile.in: Regenerate.
64 * include/Makefile.in: Regenerate.
65 * libltdl/Makefile.in: Regenerate.
66 * testsuite/Makefile.in: Regenerate.
68 2005-05-16 Tom Tromey <tromey@redhat.com>
70 * java/nio/charset/Charset.java (encode, decode): Synchronize on
71 'this', not the class.
73 2005-05-16 Tom Tromey <tromey@redhat.com>
75 * gnu/java/net/protocol/http/Headers.java (parse): Include final
78 2005-05-16 Tom Tromey <tromey@redhat.com>
81 * java/net/URI.java (unquote): Handle lower-case letters as well.
83 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
86 gnu/regexp/RE.java: Add support for quoting constructs.
88 2005-05-15 Tom Tromey <tromey@redhat.com>
90 * java/lang/String.java (startsWith): Fixed javadoc.
92 2005-05-15 Tom Tromey <tromey@redhat.com>
95 * testsuite/libjava.compile/pr21519.java: New file.
96 * testsuite/libjava.compile/pr21519.no-link: New file.
98 2005-05-15 Tom Tromey <tromey@redhat.com>
100 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
102 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
105 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
106 interrupt status flag if _Jv_CondWait is interrupted.
108 2005-05-13 Tom Tromey <tromey@redhat.com>
110 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
113 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
115 * include/jvm.h (gcj::verifyClasses): Declare.
116 * link.cc (gcj::verbose_class_flag): Moved.
117 * prims.cc (gcj::verifyClasses): Define here.
118 (gcj::verbose_class_flag): Move definition here.
119 (_Jv_Linker::wait_for_state): Don't call verify_class
120 if gcj::verifyClasses is not set.
121 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
123 2005-05-12 Aaron Luchko <aluchko@redhat.com>
125 * gij.cc (main): Recognize '-verify', '-noverify', and
128 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
130 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
132 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
134 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
137 2005-05-11 Tom Tromey <tromey@redhat.com>
139 * external/w3c_dom/Makefile.in: Rebuilt.
140 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
142 * external/sax/Makefile.in: Rebuilt.
143 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
145 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
147 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
148 Call _Jv_CopyClassesToSystemLoader.
149 * java/lang/natClassLoader.cc (system_class_list): New global.
150 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
152 (_Jv_CopyClassesToSystemLoader): New function.
153 (SYSTEM_LOADER_INITIALIZED): New define.
154 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
155 (_Jv_CheckABIVersion): Use it.
156 (_Jv_ClassForBootstrapLoader): New function.
157 * Makefile.in: Rebuilt.
158 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
160 2005-05-10 Tom Tromey <tromey@redhat.com>
162 * gcj/javaprims.h: Updated.
163 * java/lang/String.java (String(StringBuilder)): New constructor.
164 * java/lang/natStringBuilder.cc: New file.
165 * java/lang/StringBuilder.java: New file.
166 * Makefile.in: Rebuilt.
167 * Makefile.am (core_java_source_files): Added StringBuilder.java.
168 (nat_source_files): Added natStringBuilder.cc.
170 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
173 * testsuite/libjava.jacks/jacks.xfail: Adjust.
175 2005-05-09 Mike Stump <mrs@apple.com>
177 * configure: Regenerate.
179 2005-05-09 David Daney <ddaney@avtrex.com>
181 * java/util/BitSet.java (get(int, int)): Fix breakage when
182 requested set doesn't start on a multiple of 64.
184 2005-05-07 Matthias Klose <doko@debian.org>
186 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
188 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
190 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
191 * Makefile.in: Regenerate.
192 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
193 (createCompatibleVolatileImage(int,int)): Implement.
194 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
196 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
198 (createVolatileImage): Implement.
199 (createBuffers): Likewise.
200 (getBackBuffer): Likewise.
202 (destroyBuffers): Likewise.
203 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
204 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
205 (CanvasFlipBufferStrategy): Likewise.
206 (createBufferStrategy(int)): New method.
207 (createBufferStrategy(int,BufferCapabilities)): Likewise.
208 * java/awt/Component.java (BltBufferStrategy): Implement and
210 (FlipBufferStrategy): Likewise.
211 * java/awt/Window.java (WindowBltBufferStrategy): New class.
212 (WindowFlipBufferStrategy): Likewise.
213 (createBufferStrategy(int)): New method.
214 (createBufferStrategy(int,BufferCapabilities)): Likewise.
215 (getBufferStrategy): Likewise.
216 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
217 front to frontCaps and back to backCaps.
219 2005-05-06 Michael Koch <konqueror@gmx.de>
221 * java/awt/BufferCapabilities.java
222 (BufferCapabilities): Merged javadoc.
224 2005-05-06 Michael Koch <konqueror@gmx.de>
226 * java/util/Locale.java
227 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
228 (getLocale): New methods. Use it everywhere where instances of Locales
230 (getDisplayLanguage): Merged javadoc.
231 (getDisplayCountry): Likewise.
232 (getDisplayVariant): Likewise.
234 2005-05-06 Archie Cobbs <archie@dellroad.org>
236 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
237 use DeleteLocalRef() to avoid exhausting local native references.
239 2005-05-06 Mark Wielaard <mark@klomp.org>
241 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
242 (window_delete_cb): Don't use C++ style comments.
244 2005-05-06 Robert Schuster <thebohemian@gmx.net>
246 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
249 2005-05-06 Robert Schuster <thebohemian@gmx.net>
251 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
252 (window_delete_cb): Made the function return TRUE.
254 2005-05-06 Roman Kennke <roman@kennke.org>
256 * javax/swing/text/PlainView.java
257 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
259 * javax/swing/text/Utilities.java
260 (drawTabbedText): Initilialize local variable pos correctly.
262 2005-05-06 Roman Kennke <roman@kennke.org>
264 * javax/swing/text/AbstractDocument.java
265 (LeafElement): Made start and end package private fields for
266 effective reindexing.
267 * javax/swing/text/PlainDocument.java
268 (constructor): The field rootElement is always BranchElement,
269 so we handle it as such.
270 (removeUpdate): Rewritten reindexing for removeUpdate so that
271 the actual removal is taken into account.
273 2005-05-06 Roman Kennke <roman@kennke.org>
275 * javax/swing/text/GapContent.java:
276 Removed debugging output stuff, which I accidentally left in.
278 2005-05-06 Roman Kennke <roman@kennke.org>
280 * javax/swing/text/GapContent.java:
281 Implemented a real GapContent. Only the public methods have
282 been implemented so far and still no UndoableEdit support.
284 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
286 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
289 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
291 * java/awt/image/BufferStrategy.java: Document.
293 * java/awt/BufferCapabilities.java: Document.
295 2005-05-04 Tom Tromey <tromey@redhat.com>
297 * java/nio/channels/FileLock.java (toString): Entirely avoid
300 2005-05-04 Andrew Overholt <overholt@redhat.com>
302 * java/nio/channels/FileLock.java (toString): Re-implement using
305 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
307 * java/awt/ImageCapabilities.java: Document.
309 * java/awt/image/VolatileImage.java: Unindent copyright header.
311 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
313 * java/awt/image/VolatileImage.java: Document.
315 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
317 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
318 (init_glib_threads): Check if threading system is already
321 2005-05-03 Andrew Overholt <overholt@redhat.com>
324 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
325 could not be acquired.
326 * java/nio/channels/FileLock.java (toString): Re-implement to be
327 in line with other implementations.
329 2005-05-03 Tom Tromey <tromey@redhat.com>
331 * java/lang/VMSecurityManager.java (currentClassLoader): Use
332 'systemClasssLoader' directly.
334 2005-05-03 Tom Tromey <tromey@redhat.com>
336 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
337 call VMClassLoader.getSystemClassLoader.
339 2005-04-29 Michael Koch <konqueror@gmx.de>
341 * java/net/NetworkInterface.java
343 (NetworkInterface(String,InetAddress)): Made package-private.
344 (NetworkInterface(String,InetAddress[])): New constructor.
345 (getRealNetworkInterfaces): Removed.
346 (getByName): Use VMNetworkInterface.getInterfaces().
347 (getByInetAddress): Likewise.
348 (getNetworkInterfaces): Likewise.
349 * java/net/VMNetworkInterface.java,
350 java/net/natVMNetworkInterfaceNoNet.cc,
351 java/net/natVMNetworkInterfacePosix.c,c
352 java/net/natVMNetworkInterfaceWin32.cc: New files.
353 * java/net/natNetworkInterfaceNoNet.cc,
354 java/net/natNetworkInterfacePosix.cc,
355 java/net/natNetworkInterfaceWin32.cc: Removed.
358 * configure, Makefile.in: Regenerated.
360 2005-04-29 Andrew Haley <aph@redhat.com>
362 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
364 2005-04-29 Dalibor Topic <robilad@kaffe.org>
366 * java/nio/channels/FileChannelImpl.java
367 (FileChannelImpl(String, int)): Removed.
368 (FileChannelImpl(File, int)): Added. Check if opened file is a
370 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
371 Call FileChannelImpl(File, int).
372 * java/io/FileOutputStream.java (FileInputStream): Call
373 FileChannelImpl(File, int).
374 * java/io/RandomAccessFile.java (RandomAccessFile):
375 Call FileChannelImpl(File, int). Switched constructors around.
377 2005-04-27 Andrew Haley <aph@redhat.com>
380 * prims.cc (_Jv_ResolvePoolEntry): New function.
381 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
382 * link.cc (_Jv_Linker::find_field): New arg: found_class.
383 (resolve_pool_entry): Initialize the class in which a field is
385 (link_symbol_table): Pass new arg to found_class.
387 2005-04-29 Michael Koch <konqueror@gmx.de>
389 * java/nio/charset/Charset.java
390 (provider): Reformatted.
392 2005-04-29 Michael Koch <konqueror@gmx.de>
394 * gnu/java/net/protocol/http/HTTPConnection.java:
395 (userAgent): Initialize from system properties.
396 (initUserAgent): Removed.
398 2005-04-29 Mark Wielaard <mark@klomp.org>
400 * java/util/ResourceBundle.java (getObject): Clarify
401 MissingResourceException detailed message.
402 (tryBundle(String,ClassLoader)): Likewise.
404 2005-04-29 Robert Schuster <thebohemian@gmx.net>
406 * java/beans/FeatureDescriptor.java:
407 (getShortDescription): Implemented fallback mechanism and fixed
408 documentation (fixes bug #12637).
409 (getDisplayName): Dito.
411 2005-04-29 Robert Schuster <thebohemian@gmx.net>
413 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
414 will now be set correctly.
415 (flushCaches): Now flushes all cached intermediate data.
417 2005-04-28 Michael Koch <konqueror@gmx.de>
419 * java/net/InetAddress.java
420 (aton): Fixed javadoc.
423 2005-04-28 Tom Tromey <tromey@redhat.com>
425 * javax/swing/Timer.java
426 (drainEvents, queueEvent): Now package-private.
428 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
430 * javax/swing/Timer.java
431 (constructor): Assigning initialDelay.
433 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
435 * javax/swing/Timer.java
436 (Waker.run): firing the first action event.
438 2005-04-28 Michael Koch <konqueror@gmx.de>
440 * javax/swing/Timer.java: Reordered all fields and methods,
443 2005-04-28 Michael Koch <konqueror@gmx.de>
445 * javax/swing/Timer.java: Javadocs merged
448 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
450 * gnu/java/net/protocol/file/Connection.java
451 (StaticData): New inner class to contain statics.
452 (connect, getHeaderField): Modified to use StaticData.
454 2005-04-28 Michael Koch <konqueror@gmx.de>
456 * gnu/java/net/protocol/file/Connection.java
457 (lineSeparator): Initialize with SystemProperties.getProperty().
459 2005-04-27 Chris Burdess <dog@gnu.org>
461 * gnu/java/net/protocol/file/Connection.java: Return correct content
462 length for directory listing.
463 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
464 #11285: return valid URLs for directories.i
466 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
468 * Makefile.am (ordinary_java_source_files): Add
469 gnu/java/net/protocol/https/Handler.java.
470 * Makefile.in: Regenerate.
471 * java/net/URL.java: Remove org.metastatic.jessie from default
472 protocol search path.
474 2005-04-27 Chris Burdess <dog@gnu.org>
476 * gnu/java/net/protocol/https/Handler.java: New file.
478 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
480 * javax/imageio/spi/IIORegistry.java (IIORegistry):
481 Don't assume that awt Toolkit is always ClasspathToolkit.
483 2005-04-27 Chris Burdess <dog@gnu.org>
485 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
486 absolute and relative paths in Location header.
488 2005-04-27 Chris Burdess <dog@gnu.org>
490 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
491 FileNotFoundException and implement getErrorStream on 404.
493 2005-04-27 Sven de Marothy <sven@physto.se>
495 * java/util/TimeZone.java,
496 (getDefaultDisplayName): Fix previous fix.
498 2005-04-27 Sven de Marothy <sven@physto.se>
500 * java/util/TimeZone.java,
501 (getDefaultDisplayName): Don't print zero offsets.
503 2005-04-27 Roman Kennke <roman@kennke.org>
505 * javax/swing/plaf/basic/BasicScrollBarUI
506 (getThumbBounds): Do not make thumb smaller than
508 * javax/swing/plaf/metal/MetalLookAndFeel
509 (initComponentDefaults): Added color defaults for ScrollBar.
510 * javax/swing/plaf/metal/MetalScrollBarUI
512 (getMinimumThumbSize): Added.
514 2005-04-27 Roman Kennke <roman@kennke.org>
516 * javax/swing/plaf/metal/MetalLookAndFeel
517 (initComponentDefaults): Added some default colors.
519 2005-04-27 Roman Kennke <roman@kennke.org>
521 * javax/swing/plaf/basic/BasicScrollBarUI.java
522 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
523 to 'ScrollBar.thumbShadow'. The formes does not exist.
524 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
526 2005-04-27 Roman Kennke <roman@kennke.org>
528 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
529 * javax/swing/BoxLayout.java: Likewise.
530 * javax/swing/UIManager.java: Likewise.
531 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
532 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
533 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
534 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
535 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
536 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
537 * javax/swing/text/Document.java: Likewise.
538 * javax/swing/text/GapContent.java: Likewise.
539 * javax/swing/text/SimpleAttributeSet.java: Likewise.
540 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
542 2005-04-27 Roman Kennke <roman@kennke.org>
544 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
545 (getPropertyPrefix): Added.
547 2005-04-27 Roman Kennke <roman@kennke.org>
549 * javax/swing/plaf/basic/BasicButtonUI.java
550 (getPropertyPrefix): Added.
551 (installDefaults): Use getPropertyPrefix instead of hard-coded
554 2005-04-27 Roman Kennke <roman@kennke.org>
556 * javax/swing/JToggleButton.java
557 (JToggleButton): Removed horizontalAlignment setting, this
558 was wrong. Added setting of an actionCommand, ToggleButtons
559 have "" as default actionCommand.
561 2005-04-27 Michael Koch <konqueror@gmx.de>
563 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
564 to work around CNI limitation.
566 2005-04-27 Sven de Marothy <sven@physto.se>
568 * java/nio/charset/Charset.java:
569 (defaultCharset()): New method.
570 Status updated to 1.5
572 2005-04-27 Sven de Marothy <sven@physto.se>
574 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
576 2005-04-27 Sven de Marothy <sven@physto.se>
578 * java/nio/charset/Charset.java: Reset cached de/encoders.
580 2005-04-27 Robert Schuster <thebohemian@gmx.net>
582 * java/nio/charset/Charset.java (forName): Throws
583 IllegalArgumentException when argument is null
584 and added documentation.
586 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
588 * java/nio/charset/Charset.java (providers):
589 New method to make an array of CharsetProviders defined in
590 META-INF/services/java.nio.charset.spi.CharsetProvider.
591 (charsetForName, availableCharsets): Use the
592 new method providers().
594 2005-04-26 Michael Koch <konqueror@gmx.de>
596 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
597 Fixed typos in javadocs.
598 (isSiteLocalAddress): Fixed handling of byte values.
599 (isMCLinkLocal): Likewise.
600 * java/net/Inet4Address.java
601 (isMulticastAddress): Call super method.
602 (isLoopbackAddress): Likewise.
603 (isAnyLocalAddress): Likewise.
604 (isLinkLocalAddress): Likewise.
605 (isSiteLocalAddress): Likewise.
606 (isMCGlobal): Likewise.
607 (isMCNodeLocal): Likewise.
608 (isMCLinkLocal): Likewise.
609 (isMCSiteLocal): Likewise.
610 (isMCOrgLocal): Likewise.
611 (getHostAddress): Likewise.
613 2005-04-26 Sven de Marothy <sven@physto.se>
615 * java/net/InetAddress.java
616 (toString): Don't print empty hostnames.
618 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
621 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
622 'false' to native lock().
623 (lock): Pass 'true' to native lock().
625 2005-04-26 Michael Koch <konqueror@gmx.de>
627 * java/net/InetAddress.java:
628 Fixed typos in javadocs.
630 2005-04-26 Andrew Haley <aph@redhat.com>
633 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
636 2005-04-26 Tom Tromey <tromey@redhat.com>
638 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
639 gnu): Now package-private.
640 * javax/swing/text/html/parser/DocumentParser.java (parser,
641 callBack, gnu): Now package-private.
642 * javax/swing/text/StringContent.java (content, setOffset,
643 checkLocation): Now package-private.
644 * javax/swing/text/JTextComponent.java (doc): Now
646 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
647 lastGoodOrientation, origParent, borders, cachedBounds,
648 cachedOrientation, DragWindow): Now package-private.
649 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
650 decrButton, viewport, panel, currentScrollLocation, layoutManager,
651 tabAreaRect, contentRect, createIncreaseButton,
652 createDecreaseButton, findPointForIndex): Now package-private.
653 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
654 (currentDividerLocation, moveDividerTo): Now package-private.
655 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
657 * javax/swing/plaf/basic/BasicScrollBarUI.java
658 (calculatePreferredSize, valueForYPosition, valueForXPosition):
660 * javax/swing/plaf/basic/BasicPopupMenuUI.java
661 (topWindowListener): Now package-private.
662 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
663 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
664 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
666 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
668 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
670 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
672 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
673 borderInsets): Now package-private.
674 (arrowButtonWidth): Likewise. Now a constant.
675 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
676 makeTabs, updatePreviewPanel): Now package-private.
677 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
678 darkShadow, highlight): Now package-private.
679 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
680 (addColorToQueue): Now package-private.
681 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
682 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
683 GSpinner, BSpinner): Now package-private.
684 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
685 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
686 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
687 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
688 updateTrack): Now package-private.
689 * javax/swing/TransferHandler.java (clipboard): Now
691 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
693 * javax/swing/Timer.java (drainEvents, queueEvent): Now
695 * javax/swing/RepaintManager.java (globalManager): Now
697 * javax/swing/JFormattedTextField.java (editValid): Now
699 * javax/swing/JColorChooser.java (makeModal): Now
701 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
702 index, path): Now package-private.
703 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
704 lineQuadIntersect, lineCubicIntersect, linesIntersect,
705 pointEquals): Now package-private.
706 * java/awt/geom/Arc2D.java (type): Now package-private.
707 * java/awt/Window.java (windowFocusOwner): Now package-private.
708 * java/awt/TextComponent.java (editable, selectionStart,
709 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
711 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
713 * java/awt/MenuComponent.java (focusListener): Now
715 * java/awt/Frame.java (state): Now package-private.
716 * java/awt/Choice.java (pItems): Now package-private.
717 * java/awt/Checkbox.java (state): Now package-private.
718 * java/awt/Button.java (actionCommand, label): Now
720 * gnu/javax/swing/text/html/parser/support/Parser.java
721 (attributes, _handleEndTag_remaining, _handleStartTag): Now
723 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
725 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
726 clip, transform, font, comp): Now package-private.
728 2005-04-26 Tom Tromey <tromey@redhat.com>
730 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
733 2005-04-26 Mark Wielaard <mark@klomp.org>
735 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
736 to MalformedURLException.
738 2005-04-26 Michael Koch <konqueror@gmx.de>
740 * java/security/AccessControlContext.java:
742 (protectedDomains): Renamed from 'protectionDomain'.
743 * java/security/AccessController.java:
746 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
748 * gnu/java/security/action/GetSecurityPropertyAction.java
749 (GetSecurityPropertyAction): Implement PrivilegedAction instead
750 of extending GetPropertyAction.
753 (setParamters): New methods.
754 (GetSecurityPropertyAction): Use new setParameters methods.
756 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
758 * java/security/Security.java,
759 java/security/cert/X509CRLSelector.java,
760 java/security/cert/X509CertSelector.java:
761 Modified to use SystemProperties.
763 2005-04-26 Michael Koch <konqueror@gmx.de>
765 * java/lang/System.java
766 (setSecurityManager): Fixed comment.
767 (getSecurityManager): Removed obsolete comment.
769 2005-04-25 Tom Tromey <tromey@redhat.com>
771 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
773 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
776 (connectSignals): Realize the window widget after connecting
779 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
781 * java/awt/GraphicsEnvironment.java
782 (localGraphicsEnvironment): New field.
783 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
785 (isHeadless): Added support for java.awt.headless property.
786 (isHeadlessInstance): Call headless().
788 2005-04-25 Roman Kennke <roman@kennke.org>
790 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
791 (getDisplayMode): Added. Returns the current display mode.
792 (isFullScreenSupported): Added.
793 * java/awt/GraphicsDevice.java
794 (setFullScreenWindow): Implemented a primitive fullscreen mode.
795 This resizes and relocates the fullscreen window so that it uses
796 the whole screen. This is not a fully accelerated fullscreen
799 2005-04-25 Michael Koch <konqueror@gmx.de>
801 * java/lang/Runtime.java,
802 java/lang/SecurityManager.java,
803 java/lang/System.java,
804 java/lang/ThreadGroup.java:
805 Replaced java.lang.Runtime.securityManager by
806 java.lang.SecurityManager.current (as used in GNU classpath).
808 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
810 * java/awt/Transparency.java
811 (getTransparency): fixed API docs.
813 2005-04-25 Archie Cobbs <archie@dellroad.org>
815 * java/lang/Throwable.java: simplify initializing cause in constructor
817 2005-04-25 Michael Koch <konqueror@gmx.de>
819 * gnu/classpath/SystemProperties.java: New file.
820 * gnu/classpath/natSystemProperties.cc: New file.
821 * java/lang/Runtime.java
822 (defaultProperties): Removed.
824 (): Made thrown exceptions more verbose.
825 (insertSystemProperties): Removed.
826 * java/lang/System.java
828 (properties): Likewise.
829 (setSecurityManager): Reordered modifiers.
830 (getenv): Improved javadoc.
832 (isWordsBigEndian): Removed.
833 * java/lang/natRuntime.cc
834 (_Jv_SetDLLSearchPath): Likewise.
835 (file_encoding): Likewise.
836 (default_file_encoding): Likewise.
837 (getpwuid_adaptor): Likewise.
838 (insertSystemProperties): Likewise.
839 * java/lang/natSystem.cc
840 (isWordsBigEndian): Likewise.
842 (ordinary_java_source_files):
843 Added gnu/classpath/SystemProperties.java.
844 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
845 * Makefile.in: Regenerated.
847 2005-04-25 Roman Kennke <roman@kennke.org>
849 * javax/swing/plaf/basic/BasicScrollBarUI.java
850 (initDefaults): Initialize thumb*Color fields correctly.
852 2005-04-25 Roman Kennke <roman@kennke.org>
854 * javax/swing/text/GapContent.java:
857 2005-04-25 Roman Kennke <roman@kennke.org>
859 * javax/swing/plaf/metal/MetalBorders.java:
860 Added inner class ScrollPaneBorder.
861 * javax/swing/plaf/metal/MetalLookAndFeel.java
862 (initComponentDefaults): Added default for "ScrollPane.border"
863 to use the new ScrollPaneBorder.
865 2005-04-25 Roman Kennke <roman@kennke.org>
867 * javax/swing/text/AbstractDocument.java:
868 Added FIXME comments. This class still has to be
869 implemented thread-safe.
871 2005-04-25 Roman Kennke <roman@kennke.org>
873 * javax/swing/tree/DefaultTreeSelectionModel.java
874 (DefaultTreeSelectionModel): Initialize listenerList here.
876 2005-04-25 Roman Kennke <roman@kennke.org>
878 * javax/swing/plaf/metal/MetalTextFieldUI.java
879 (createUI): Return one instance per Component instead of a
882 2005-04-25 Roman Kennke <roman@kennke.org>
884 * javax/swing/text/Document.java:
885 Added API documentation comments.
887 2005-04-25 Roman Kennke <roman@kennke.org>
889 * javax/swing/text/AbstractDocument.java
890 (getDocumentProperties): Implemented.
891 (setDocumentProperties): Implemented.
892 (getProperty): Implemented.
893 (putProperty): Implemented.
895 2005-04-25 Roman Kennke <roman@kennke.org>
897 * javax/swing/BoxLayout
898 (preferredLayoutSize): Fixed computation so that it correctly
899 adds the top and bottom insets of the container.
901 2005-04-25 Roman Kennke <roman@kennke.org>
903 * javax/swing/plaf/basic/BasicMenuItemUI.java
904 (paintText): Make use of the 'selectionForeground' UI default
907 2005-04-25 Roman Kennke <roman@kennke.org>
909 * javax/swing/plaf/basic/BasicLookAndFeel.java
910 (initSystemColorDefaults): Modified colors to match the
911 BasicLookAndFeel in the reference implementation.
912 (initComponentDefaults): Likewise.
914 2005-04-25 Tom Tromey <tromey@redhat.com>
916 * include/jni.h (_Jv_va_list): Removed.
917 Moved configuration code...
918 * include/jni_md.h: ... here. New file.
919 * include/Makefile.in: Rebuilt.
920 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
922 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
924 * java/io/FileInputStream.java (FileInputStream(File)),
925 java/io/FileOutputStream.java (FileOutputStream(File)):
926 Removed unnecessary File.isDirectory() check.
928 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
930 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
931 gij if get_multilibs fails.
933 2005-04-22 Anthony Green <green@redhat.com>
935 * jni.cc (natrehash): Don't bother clearing memory again.
936 * interpret.cc (do_allocate_static_fields): Ditto.
937 * java/lang/natString.cc (rehash): Ditto.
939 2005-04-22 Roman Kennke <roman@kennke.org>
941 * javax/swing/plaf/basic/BasicLookAndFeel.java
942 (initComponentDefaults): Changed Button.border to be
943 BasicBorders.getButtonBorder as it should be.
945 2005-04-22 Roman Kennke <roman@kennke.org>
947 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
948 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
949 should according to a mauve testcase, instead of the preferred
952 2005-04-22 Roman Kennke <roman@kennke.org>
954 * javax/swing/JMenu.java
955 (add): add(Component) now calls PopupMenu.insert(..) instead of
956 PopupMenu.add(..). add(..) is not implemented for Component,
957 so JComponent.add(..) is called instead, adding the component
960 2005-04-22 Roman Kennke <roman@kennke.org>
962 * javax/swing/plaf/basic/BasicButtonListener.java
963 (mousePressed): replaced query to getModifiersEx with getModifiers.
964 This method relied on faulty behaviour in getModifierEx.
965 (mouseReleased): replaced query to getModifiersEx with getModifiers.
966 This method relied on faulty behaviour in getModifierEx.
968 2005-04-22 Roman Kennke <roman@kennke.org>
970 * javax/swing/plaf/metal/MetalLookAndFeel.java
971 (getDefaults): Call addCustomEntriesToTable on the theme.
973 2005-04-22 Roman Kennke <roman@kennke.org>
975 * javax/swing/tree/DefaultTreeSelectionModel.java
976 (constructor): Added implementation.
977 (getRowMapper): Added implementation.
978 (setSelectionMode): Added implementation.
979 (getSelectionMode): Added implementation.
980 (getSelectionPath): Added implementation.
981 (getSelectionPaths): Added implementation.
982 (getSelectionCount): Added implementation.
983 (isSelectionEmpty): Added implementation.
984 (getSelectionRows): Added implementation.
985 (getMinSelectionRow): Added implementation.
986 (getMaxSelectionRow): Added implementation.
987 (getLeadSelectionRow): Added implementation.
988 (getLeadSelectionPath): Added implementation.
990 2005-04-22 Casey Marshall <csm@gnu.org>
992 * gnu/java/security/der/DERValue.java
993 (getValueAs): new method.
994 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
995 (<init>): read both dates with 'DERValue.getValueAs', with
996 'GENERALIZED_TIME' as the argument.
998 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1000 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1001 be null, check for that case and don't deference it.
1003 2005-04-22 Sven de Marothy <sven@physto.se>
1005 * java/util/logging/LogManager.java: Reformatted.
1006 (readConfiguration): If a logger for a key is not found, create one.
1008 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1010 * java/rmi/Naming.java:
1011 Added class documentation.
1012 (lookup(String)): Call parseURL and getName.
1013 (bind(String,java.rmi.Remote)): Likewise.
1014 (unbind(String)): Likewise.
1015 (rebind(String, java.rmi.Remote)): Likewise.
1016 (list(String)): Call parseURL.
1017 (parseURL(String)): New method to handle parsing and defaults.
1018 (getName(java.net.URL)): New method to handle finding the service name.
1020 2005-04-21 Tom Tromey <tromey@redhat.com>
1022 * java/lang/natClass.cc (initializeClass): Link class.
1024 2005-04-21 Tom Tromey <tromey@redhat.com>
1026 * java/lang/AssertionError.java: Typo fix.
1028 2005-04-21 Tom Tromey <tromey@redhat.com>
1030 * java/lang/VMClassLoader.java (transformException): Removed.
1031 (resolveClass): No longer native. Now does nothing.
1032 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1034 2005-04-21 Anthony Green <green@redhat.com>
1037 * testsuite/libjava.special/special.exp,
1038 testsuite/libjava.special/pr21115I.java,
1039 testsuite/libjava.special/pr21115.java,
1040 testsuite/libjava.special/pr21115.out: New files.
1042 2005-04-21 Chris Burdess <dog@gnu.org>
1044 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1045 CRLF-delimited chunks.
1047 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1049 * java/net/URI.java:
1050 Added class documentation.
1051 (parseURI(String)): Only handle scheme-specific parts
1052 if URI is not opaque. Allow for parts that can't be null.
1053 (toString()): Output the scheme-specific part whole, rather
1054 than as its possibly non-existent components.
1056 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1058 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1059 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1060 Adjusted to match new regexp.
1062 2005-04-20 Michael Koch <konqueror@gmx.de>
1064 * gnu/java/net/protocol/file/Connection.java,
1065 gnu/java/net/protocol/jar/Connection.java:
1066 Reorganized import statements. Fixed @author tags.
1068 2005-04-20 Chris Burdess <dog@gnu.org>
1070 * java/io/DataOutputStream.java (writeUTF): Use block write for
1073 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1075 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1076 (readLine): Changed newline handling.
1078 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1080 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1081 ColorModel,byte[],int,int): Fixed byte to int conversion.
1083 2005-04-20 Michael Koch <konqueror@gmx.de>
1085 * java/io/FilePermission.java
1086 (serialVersionUID): Made private.
1087 (ALL_FILES): New constant.
1088 (implies): Handle '<<ALL FILES>>' case.
1090 2005-04-20 Sven de Marothy <sven@physto.se>
1092 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1093 (drawImage): Don't notify the image observer for offscreen images.
1094 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1095 (setPixels): Don't notify the image observer.
1097 2005-04-20 Sven de Marothy <sven@physto.se>
1099 * java/nio/ByteBufferImpl.java:
1100 (putChar): Inlined for speed.
1101 (put, get): Bulk methods can use arraycopy.
1102 * java/nio/CharBufferImpl.java:
1103 (put, get): Bulk methods can use arraycopy.
1105 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1107 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1109 * java/nio/CharBufferImpl.java
1110 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1111 (get(), put(char)): Inlined checks and field updates. Fixed to
1112 take array_offset into account.
1113 (get(int), put(int, char)): Fixed to take array_offset into account.
1115 2005-04-20 Sven de Marothy <sven@physto.se>
1117 * java/text/SimpleDateFormat.java:
1118 (formatWithAttribute): Pad year before truncating digits.
1120 2005-04-20 Michael Koch <konqueror@gmx.de>
1122 * gnu/java/net/PlainDatagramSocketImpl.java:
1123 Merged copyright header.
1124 * gnu/java/net/PlainSocketImpl.java:
1125 Reorganized import statements. Fixed @author tags.
1127 2005-04-20 Michael Koch <konqueror@gmx.de>
1129 * gnu/java/lang/ClassHelper.java,
1130 gnu/java/lang/reflect/TypeSignature.java:
1133 2005-04-20 Michael Koch <konqueror@gmx.de>
1135 * gnu/java/beans/IntrospectionIncubator.java:
1136 Fixed HTML tags in javadocs.
1138 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1140 * gnu/java/beans/IntrospectionIncubator.java
1141 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1142 set(), is(), add() and remove() with properties or events.
1144 2005-04-20 Michael Koch <konqueror@gmx.de>
1146 * gnu/java/awt/image/XBMDecoder.java:
1147 Fixed modifier order.
1149 2005-04-20 Roman Kennke <roman@kennke.org>
1151 * javax/swing/plaf/basic/BasicButtonUI.java
1152 (paint): This should not care about margin and insets
1153 at the same time, as insets already include the margin
1155 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1156 (getPreferredButtonSize): Likewise.
1157 * javax/swing/plaf/metal/MetalBorders.java
1158 (getBorderInsets): Likewise.
1160 2005-04-20 Roman Kennke <roman@kennke.org>
1162 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1163 (createMessageArea): The JPanel that holds the message area
1164 doesn't need to override getPreferredSize. This prevents some
1165 message components from rendering nicely.
1167 2005-04-20 Roman Kennke <roman@kennke.org>
1169 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1170 (createUI): Do not share instances between components.
1171 * javax/swing/plaf/metal/MetalSliderUI.java
1172 (createUI): Do not share instances between components.
1174 2005-04-20 Roman Kennke <roman@kennke.org>
1176 * javax/swing/plaf/metal/MetalBorders:
1177 (PopupMenuBorder): Added.
1178 * javax/swing/plaf/metal/MetalLookAndFeel
1179 (initComponentDefaults): Added PopupMenuBorder.
1181 2005-04-20 Roman Kennke <roman@kennke.org>
1183 * javax/swing/tree/DefaultTreeSelectionModel.java:
1184 Added API documentation all over the class.
1186 2005-04-20 Roman Kennke <roman@kennke.org>
1188 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1189 (installDefaults): Link managed JScrollPane in instance field.
1190 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1192 2005-04-20 Roman Kennke <roman@kennke.org>
1194 * javax/swing/plaf/basic/BasicScrollBarUI.java
1195 (PropertyChangeHandler.propertyChange): Add default
1196 to switch statement to avoid errors with unusual values
1198 (installComponents): Likewise.
1200 2005-04-20 Roman Kennke <roman@kennke.org>
1202 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1203 (createUI): Instances cannot be shared among JScrollPanes.
1205 2005-04-20 Roman Kennke <roman@kennke.org>
1207 * javax/swing/plaf/metal/MetalLookAndFeel.java
1208 (initComponentDefaults): Added defaults for Menu, MenuBar
1211 2005-04-20 Roman Kennke <roman@kennke.org>
1213 * javax/swing/plaf/basic/BasicScrollBarUI.java
1214 (installUI): Install listeners after everything all, otherwise
1215 we get strange NPEs in some situations, especially with
1217 (createIncreaseButton): Orientation is expected to be
1218 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1219 HORIZONTAL or VERTICAL.
1220 (createDecreaseButton): Orientation is expected to be
1221 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1222 HORIZONTAL or VERTICAL.
1223 (installComponents): Orientation for buttons is expected to be
1224 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1225 HORIZONTAL or VERTICAL.
1227 2005-04-20 Roman Kennke <roman@kennke.org>
1229 * javax/swing/JToolBar.java
1230 (addImpl): Adjust added AbstractButtons to look and feel like
1232 * javax/swing/plaf/metal/MetalBorders.java:
1233 Adjusted insets of ButtonBorder.
1234 (RolloverMarginBorder): Added class for toolbar buttons.
1235 (getButtonBorder): Adjusted factory method to return a shared
1236 instance of button border.
1237 (getToolbarButtonBorder): Added factory method to return a shared
1238 instance of toolbar button border.
1239 (getMarginBorder): Added factory method to return a shared
1240 instance of margin border.
1241 * javax/swing/plaf/metal/MetalButtonUI.java
1242 (installDefauls): If button is child of a JToolBar then set
1243 special border on this button.
1245 2005-04-20 Michael Koch <konqueror@gmx.de>
1247 * java/net/URLConnection.java
1248 (getContent): Fixed javadoc comment.
1250 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1252 * java/net/URL.java:
1253 (toURI()): Implemented.
1255 2005-04-19 Michael Koch <konqueror@gmx.de>
1257 * java/net/InetAddress.java
1258 (InetAddress): Fixed javadoc comment.
1260 (lookup): Added javadoc.
1261 (getFamily): Likewise.
1262 * java/net/ServerSocket.java
1263 (getChannel): Improved javadoc comment.
1265 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1267 * gnu/xml/dom/html2/DomHTMLParser.java:
1268 Changed 'enum' references to become 'enumeration'.
1270 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1272 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1274 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1276 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1277 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1278 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1279 (validateParameters(TagElement,htmlAttributeSet)):
1280 Replaced 'enum' with 'enumeration'.
1281 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1284 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1286 * javax/swing/text/html/parser/Entity.java (getType): New method.
1287 * javax/swing/text/html/parser/DocumentParser.java:
1288 Inherit from javax.swing.text.html.parser.Parser.
1290 2005-04-19 Chris Burdess <dog@gnu.org>
1292 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1293 check for HTML/XHTML namespace.
1295 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1297 * javax/swing/text/html/parser/Parser.java,
1298 javax/swing/text/html/parser/Entity.java:
1299 Inheriting from DTDConstants.
1300 * javax/swing/text/html/parser/AttributeList.java
1301 (getValues): Changed return type.
1302 * javax/swing/text/html/parser/DocumentParser
1303 (parse): Adding the callback parameter that receives
1306 2005-04-19 Chris Burdess <dog@gnu.org>
1308 * gnu/xml/dom/DomImpl.java,
1309 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1310 gnu/xml/dom/html2/DomHTMLDocument.java,
1311 gnu/xml/dom/html2/DomHTMLElement.java,
1312 gnu/xml/dom/html2/DomHTMLFormElement.java,
1313 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1314 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1315 gnu/xml/dom/html2/DomHTMLImpl.java,
1316 gnu/xml/dom/html2/DomHTMLInputElement.java,
1317 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1318 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1319 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1320 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1321 gnu/xml/dom/html2/DomHTMLTableElement.java,
1322 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1323 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1324 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1325 UI events, and tree utility functions.
1327 2005-04-19 Michael Koch <konqueror@gmx.de>
1329 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1330 gnu/javax/swing/text/html/parser/gnuDTD.java,
1331 gnu/javax/swing/text/html/parser/models/node.java:
1332 Reworked import statements.
1334 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1336 * javax/swing/text/html/HTMLDocument.java: New file.
1338 2005-04-19 Michael Koch <konqueror@gmx.de>
1340 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1342 * javax/swing/text/html/parser/AttributeList.java:
1343 Fixed order of modifiers.
1344 (AttributeList): Made final.
1345 * javax/swing/text/html/parser/ContentModel.java:
1346 Fixed html characters in javadocs.
1347 * javax/swing/text/html/parser/DTD.java
1348 (DTD): Don't implement java.io.Serializable directly.
1349 (getElement): Simplified.
1350 * javax/swing/text/html/parser/DTDConstants.java:
1352 * javax/swing/text/html/parser/Element.java:
1353 Fixed order of modifiers.
1354 * javax/swing/text/html/parser/Parser.java:
1355 Reformatted. Don't use fully-qualified class names.
1356 * javax/swing/text/html/parser/ParserDelegator.java:
1357 Fixed order of modifiers.
1358 * javax/swing/text/rtf/RTFParser.java:
1359 Re-ordered import statements.
1360 * javax/swing/text/rtf/RTFScanner.java:
1361 Removed unused import statement.
1363 2005-04-19 Chris Burdess <dog@gnu.org>
1365 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1366 gnu/xml/dom/html2/DomHTMLCollection.java,
1367 gnu/xml/dom/html2/DomHTMLDocument.java,
1368 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1370 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1371 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1372 gnu/xml/dom/html2/DomHTMLDivElement.java,
1373 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1374 gnu/xml/dom/html2/DomHTMLFontElement.java,
1375 gnu/xml/dom/html2/DomHTMLFormElement.java,
1376 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1377 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1378 gnu/xml/dom/html2/DomHTMLHRElement.java,
1379 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1380 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1381 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1382 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1383 gnu/xml/dom/html2/DomHTMLImageElement.java,
1384 gnu/xml/dom/html2/DomHTMLInputElement.java,
1385 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1386 gnu/xml/dom/html2/DomHTMLLIElement.java,
1387 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1388 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1389 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1390 gnu/xml/dom/html2/DomHTMLMapElement.java,
1391 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1392 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1393 gnu/xml/dom/html2/DomHTMLModElement.java,
1394 gnu/xml/dom/html2/DomHTMLOListElement.java,
1395 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1396 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1397 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1398 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1399 gnu/xml/dom/html2/DomHTMLParamElement.java,
1400 gnu/xml/dom/html2/DomHTMLPreElement.java,
1401 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1402 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1403 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1404 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1405 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1406 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1407 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1408 gnu/xml/dom/html2/DomHTMLTableElement.java,
1409 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1410 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1411 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1412 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1413 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1415 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1417 * javax/swing/text/ChangedCharSetException.java,
1418 javax/swing/text/html/HTMLEditorKit.java,
1419 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1420 javax/swing/text/html/parser/AttributeList.java,
1421 javax/swing/text/html/parser/ContentModel.java,
1422 javax/swing/text/html/parser/DocumentParser.java,
1423 javax/swing/text/html/parser/DTD.java,
1424 javax/swing/text/html/parser/DTDConstants.java,
1425 javax/swing/text/html/parser/Element.java,
1426 javax/swing/text/html/parser/Entity.java,
1427 javax/swing/text/html/parser/Parser.java,
1428 javax/swing/text/html/parser/TagElement.java,
1429 gnu/javax/swing/text/html/package.html,
1430 gnu/javax/swing/text/html/parser/gnuDTD.java,
1431 gnu/javax/swing/text/html/parser/HTML_401F.java,
1432 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1433 gnu/javax/swing/text/html/parser/htmlValidator.java,
1434 gnu/javax/swing/text/html/parser/package.html,
1435 gnu/javax/swing/text/html/parser/models/list.java,
1436 gnu/javax/swing/text/html/parser/models/node.java,
1437 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1438 gnu/javax/swing/text/html/parser/models/package.html,
1439 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1440 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1441 gnu/javax/swing/text/html/parser/models/transformer.java,
1442 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1443 gnu/javax/swing/text/html/parser/support/package.html,
1444 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1445 gnu/javax/swing/text/html/parser/support/Parser.java,
1446 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1447 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1448 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1449 gnu/javax/swing/text/html/parser/support/low/Location.java,
1450 gnu/javax/swing/text/html/parser/support/low/node.java,
1451 gnu/javax/swing/text/html/parser/support/low/package.html,
1452 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1453 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1454 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1455 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1457 * javax/swing/text/html/HTML.java,
1458 javax/swing/text/html/parser/ParserDelegator.java:
1459 New files (replacing).
1460 * javax/swing/text/html/package.html,
1461 javax/swing/text/html/parser/package.html: Documenting the
1464 2005-04-19 Chris Burdess <dog@gnu.org>
1466 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1467 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1468 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1469 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1470 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1471 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1472 gnu/xml/dom/html2/DomHTMLBRElement.java,
1473 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1474 gnu/xml/dom/html2/DomHTMLCollection.java,
1475 gnu/xml/dom/html2/DomHTMLDocument.java,
1476 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1478 2005-04-19 Michael Koch <konqueror@gmx.de>
1480 * Makefile.am: Added new files.
1481 * Makefile.in: Regenerated.
1483 2005-04-19 Roman Kennke <roman@kennke.org>
1485 * javax/swing/text/JTextComponent.java
1486 (JTextComponent): Added repaintListener which issues repaint
1487 requests when the underlying document changes.
1488 (setDocument): Adds repaintListener to document when the
1489 document is changed.
1490 * javax/swing/text/DefaultEditorKit.java:
1491 Removed repaint calls on JTextComponent. This is now handled
1492 through a DocumentListener in JTextComponent that repaints
1493 the component when needed.
1495 2005-04-19 Roman Kennke <roman@kennke.org>
1498 * javax/swing/text/StyleContext.java
1499 (NamedStyle.setResolveParent): Added null
1502 2005-04-19 Michael Koch <konqueror@gmx.de>
1504 * java/rmi/server/RemoteObject.java:
1505 Removed unused import statement.
1507 2005-04-19 Michael Koch <konqueror@gmx.de>
1509 * java/net/URL.java: Formatting cleanups.
1511 2005-04-19 Michael Koch <konqueror@gmx.de>
1513 * java/awt/FontMetrics.java: Reformatted.
1514 (getFontRenderContext): Handle case when java.awt.Graphics context is
1517 2005-04-19 Michael Koch <konqueror@gmx.de>
1519 * java/awt/FontMetrics.java
1520 (getStringBounds): New methods.
1523 2005-04-19 Michael Koch <konqueror@gmx.de>
1525 * gnu/java/security/x509/X509Certificate.java
1526 (parse): Handle val == null case.
1528 2005-04-19 Roman Kennke <roman@kennke.org>
1530 * javax/swing/plaf/metal/MetalLookAndFeel.java
1531 (initComponentDefaults): Added defaults for Menu, MenuBar
1534 2005-04-19 Roman Kennke <roman@kennke.org>
1536 * javax/swing/plaf/metal/MetalLookAndFeel.java
1537 (initComponentDefaults): Added Label.font.
1538 (initSystemColorDefaults): Added this method and adjusted the
1539 general control color.
1541 2005-04-19 Roman Kennke <roman@kennke.org>
1543 * javax/swing/plaf/metal/MetalBorders.java:
1545 * javax/swing/plaf/metal/MetalButtonUI.java:
1546 (installDefaults): Install button font.
1547 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1548 (initComponentDefaults): Added button border, font and margin.
1549 Changed components background color to the Metal current themes
1552 2005-04-19 Roman Kennke <roman@kennke.org>
1554 * javax/swing/plaf/metal/MetalLookAndFeel.java
1555 (initComponentDefaults): Added to set Metal specific component
1558 2005-04-19 Mark Wielaard <mark@klomp.org>
1560 * javax/swing/plaf/metal/MetalLookAndFeel.java
1561 (initClassDefaults): Call super.initClassDefaults().
1563 2005-04-19 Roman Kennke <roman@kennke.org>
1565 * javax/swing/plaf/metal/MetalLookAndFeel.java
1566 (initClassDefaults): Added to include the *UI classes.
1568 2005-04-19 Roman Kennke <roman@kennke.org>
1570 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1572 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1574 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1576 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1578 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1580 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1582 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1584 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1586 * javax/swing/plaf/metal/MetalSliderUI.java:
1588 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1590 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1592 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1594 2005-04-19 Roman Kennke <roman@kennke.org>
1596 * javax/swing/plaf/metal/MetalButtonUI.java:
1597 Added skeleton class.
1598 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1599 Added skeleton class.
1600 * javax/swing/plaf/metal/MetalLabelUI.java:
1601 Added skeleton class.
1602 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1603 Added skeleton class.
1604 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1605 Added skeleton class.
1606 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1607 Added skeleton class.
1609 2005-04-19 Roman Kennke <roman@kennke.org>
1611 * javax/swing/UIDefaults.java:
1612 Added API documentation for all methods.
1614 2005-04-19 Roman Kennke <roman@kennke.org>
1616 * javax/swing/UIDefaults.java
1617 (put): Now uses new checkAndPut method instead of checking
1619 (putDefaults): Fixed so that it accepts null-values and
1620 treats them like remove(key).
1621 (checkAndPut): Added. This checks for null-values and calls
1624 2005-04-19 Michael Koch <konqueror@gmx.de>
1626 * Makefile.am: Added new files.
1627 * Makefile.in: Regenerated.
1629 2005-04-19 Mark Wielaard <mark@klomp.org>
1631 * java/lang/natRuntime.cc (insertSystemProperties): Set
1632 java.class.path to CLASSPATH only when not empty. Fall back to
1633 default path "." when java.class.path is empty.
1635 2005-04-19 Michael Koch <konqueror@gmx.de>
1637 * javax/swing/text/rtf/ControlWordToken.java,
1638 javax/swing/text/rtf/RTFEditorKit.java,
1639 javax/swing/text/rtf/RTFParseException.java,
1640 javax/swing/text/rtf/RTFParser.java,
1641 javax/swing/text/rtf/RTFScanner.java,
1642 javax/swing/text/rtf/TextToken.java,
1643 javax/swing/text/rtf/Token.java: New files.
1644 * Makefile.am: Added new files.
1645 * Makefile.in: Regenerated.
1647 2005-04-19 Michael Koch <konqueror@gmx.de>
1649 * java/awt/geom/QuadCurve2D.java:
1650 Fixed Brian Gough's name for real.
1652 2005-04-19 Roman Kennke <roman@kennke.org>
1654 * javax/swing/UIManager.java:
1655 Make the UIManager respect the swing.defaultlaf system
1658 2005-04-19 Tom Tromey <tromey@redhat.com>
1660 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1663 2005-04-19 Roman Kennke <roman@kennke.org>
1665 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1666 Fixed tabs to spaces.
1668 2005-04-19 Roman Kennke <roman@kennke.org>
1670 * javax/swing/plaf/basic/BasicMenuUI.java
1671 (getMaximumSize): Now returns preferredSize because JMenu should
1672 never be bigger than that.
1673 * javax/swing/JRootPane
1674 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1676 2005-04-19 Roman Kennke <roman@kennke.org>
1678 * javax/swing/JRootPane.java:
1679 Fixed various tabs to be spaces.
1680 (RootLayout.layoutContainer): Made menubar left aligned.
1682 2005-04-19 Roman Kennke <roman@ontographics.com>
1684 * javax/swing/JList.java
1685 (getPreferredScrollableViewportSize):
1686 The previous implementation was merely guessing the size,
1687 now it respects layoutOrientation, visibleRowCount
1689 (getScrollableTracksViewportHeight):
1690 Reimplemented so that layoutOrientation, visibleRowCount
1691 and preferred size are respected.
1692 (getScrollableTracksViewportWidth):
1693 Reimplemented so that layoutOrientation, visibleRowCount
1694 and preferred size are respected.
1695 * javax/swing/plaf/basic/BasicListUI.java
1697 Improved calculation of preferredSize when JList is
1698 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1700 The previous implementation assumed a layoutOrientation of
1701 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1702 JList.VERTICAL_WRAP.
1704 2005-04-19 Roman Kennke <roman@ontographics.com>
1706 * javax/swing/plaf/basic/BasicListUI.java
1707 (paintCell): use CellRendererPane for painting the cells.
1709 2005-04-19 Roman Kennke <roman@ontographics.com>
1711 * javax/swing/plaf/basic/BasicListUI:
1712 fixed modifiers of several fields, methods and inner
1713 classes to match the 'spec'.
1714 (getMaximumSize): removed. It's not in the spec and the
1715 implementations was superfluous.
1717 2005-04-19 Roman Kennke <roman@ontographics.com>
1719 * javax/swing/plaf/basic/BasicListUI:
1720 make BasicListUI capable of wrapping lists
1721 (layoutOrientation property of javax.swing.JList)
1723 2005-04-19 Roman Kennke <roman@ontographics.com>
1725 * javax/swing/plaf/basic/BasicListUI
1726 (updateLayoutState,paint): make BasicListUI aware of the
1727 width of the rendered JList.
1729 2005-04-19 Roman Kennke <roman@kennke.org>
1731 * javax/swing/ImageIcon.java
1732 Added API documentation.
1734 2005-04-19 Roman Kennke <roman@kennke.org>
1736 * javax/swing/text/ImageIcon.java
1737 (ImageIcon): Use setImage instead of direct assignment.
1738 (setImage): Call loadImage to make sure that the image is loaded.
1739 (loadImage): Waits for the image to complete loading.
1740 (getImageLoadStatus): Added. Returns the load status of the
1743 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1745 * javax/swing/JTextArea.java (replaceRange):
1746 Fixing doc.remove(start, length) misinterpretation.
1748 2005-04-19 Roman Kennke <roman@ontographics.com>
1750 * javax/swing/CellRendererPane.java:
1751 implemented all methods of this class.
1752 reformatted all wrong formatted code.
1754 2005-04-19 Roman Kennke <roman@kennke.org>
1756 * javax/swing/BoxLayout.java:
1757 (layoutContainer): Made this layout manager respect the
1758 minimum, maximum and preferred size more correctly.
1760 2005-04-19 Roman Kennke <roman@ontographics.com>
1762 * javax/swing/BoxLayout.java:
1763 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1764 layoutContainer): Make these methods and thereby the
1765 BoxLayout respect the insets (like borders) of the
1766 component that is laid out.
1768 2005-04-19 Roman Kennke <roman@kennke.org>
1770 * javax/swing/JComponent.java:
1771 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1772 Untabified the file.
1774 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1776 * javax/swing/JComboBox.java (constructors): selecting the
1777 first item if the box was constructed from the provided
1778 non - empty array or vector.
1780 2005-04-19 Michael Koch <konqueror@gmx.de>
1782 * gnu/java/awt/peer/gtk/GdkGraphics.java
1783 (getClipBounds): Handle clip being null.
1784 (setClip): Likewise.
1785 * java/beans/beancontext/BeanContextSupport.java
1789 (removeAll): Likewise.
1790 (retainAll): Likewise.
1792 2005-04-19 Michael Koch <konqueror@gmx.de>
1794 * java/beans/beancontext/BeanContextServicesSupport.java
1795 (BeanContextServicesSupport): Reimplemented.
1796 (addBeanContextServicesListener): Implemented.
1797 (initialize): Likewise.
1798 (removeBeanContextServicesListener): Likewise.
1799 * java/beans/beancontext/BeanContextSupport.java
1801 (addBeanContextMembershipListener): Likewise.
1802 (getLocale): Likewise.
1803 (initialize): Likewise.
1804 (iterator): Likewise.
1806 (toArray): Likewise.
1808 2005-04-19 Roman Kennke <roman@kennke.org>
1810 * java/awt/MediaTracker.java:
1811 Reindented tabs to spaces.
1813 2005-04-19 Roman Kennke <roman@kennke.org>
1815 * java/awt/MediaTracker.java
1816 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1817 confused the media tracker and lead to lockups. The LOADING
1818 bit is handled on other places.
1819 (addImage): Removed the 'start image tracking' stuff. This
1820 is not necessary and could confuse the media tracker.
1821 (checkAll): Improved the check for image status so that
1822 images that already complete images are detected. Also now
1823 are really all images checked and if necessary loaded. Before
1824 the method bailed out after the first incomplete image.
1825 (statusAll): Detect images that are complete after the
1826 call to Component.prepareImage(..).
1827 (checkID): The same as in checkAll.
1828 (statusID): The same as in statusAll.
1830 2005-04-19 Roman Kennke <roman@kennke.org>
1832 * java/awt/MediaTracker.java
1833 (addImage): Synchronized list access.
1834 (waitForAll): Fixed comparison of time (changed < to >).
1835 (waitForID): Fixed comparison of time (changed < to >).
1836 (removeImage): Synchronized list access.
1838 2005-04-19 Roman Kennke <roman@kennke.org>
1840 * java/awt/MediaTracker.java
1841 Added API documentation.
1843 2005-04-19 Roman Kennke <roman@kennke.org>
1845 * java/awt/MediaTracker.java
1846 (MediaEntry.imageUpdate): Fixed flags. The different flags
1847 must not be ORed together.
1848 (checkAll): Modified to handle different meaning of the flags.
1849 (waitForAll): Fixed so that it waits maximum the
1850 specified amount of milliseconds.
1851 (statusAll): Modified to handle different meaning of the flags.
1852 (waitForID): Fixed so that it waits maximum the
1853 specified amount of milliseconds.
1855 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
1857 * java/awt/Font.java (decode): Handle null argument and allow
1860 2005-04-19 Robert Schuster <thebohemian@gmx.net>
1862 * java/beans/EventHandler.java: Reworked documentation.
1863 (invoke): Fixed behavior to match spec.
1865 2005-04-19 Michael Koch <konqueror@gmx.de>
1867 * java/awt/print/PrinterJob.java
1868 (pageDialog): New method.
1869 (printDialog): Implemented.
1871 2005-04-19 Michael Koch <konqueror@gmx.de>
1873 * java/awt/image/ConvolveOp.java:
1874 Removed comment added by eclipse.
1876 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
1878 * java/awt/image/IndexColorModel.java
1879 (getRGB): Check if pixel is negative.
1881 2005-04-19 Michael Koch <konqueror@gmx.de>
1883 * java/awt/image/RasterOp.java:
1884 Fixed wrong formatting.
1886 2005-04-18 Roman Kennke <roman@kennke.org>
1888 * java/awt/Compmonent.java
1889 (setComponentOrientation): Made this property firing a
1890 PropertyChangeEvent.
1892 2005-04-18 Roman Kennke <roman@kennke.org>
1894 * java/awt/BorderLayout.java
1895 (calcSize): Check for overflow when component sizes are added.
1897 2005-04-18 Robert Schuster <thebohemian@gmx.net>
1899 * java/awt/AWTEvent.java (toString): Added case
1900 for source not being an AWT component.
1902 2005-04-18 Chris Burdess <dog@gnu.org>
1904 * gnu/java/net/BASE64.java: Truncate encoded byte array.
1906 2005-04-18 Michael Koch <konqueror@gmx.de>
1908 gnu/java/awt/EmbeddedWindowSupport.java,
1909 gnu/java/net/HeaderFieldHelper.java,
1910 gnu/java/net/URLParseError.java,
1911 gnu/java/net/protocol/file/Handler.java,
1912 gnu/java/net/protocol/jar/Handler.java:
1913 Fixed usage of @author tag.
1915 2005-04-18 Michael Koch <konqueror@gmx.de>
1917 * gnu/xml/aelfred2/XmlParser.java:
1918 Reverted my typo fix.
1920 2005-04-18 Michael Koch <konqueror@gmx.de>
1922 * java/awt/geom/CubicCurve2D.java,
1923 java/awt/geom/QuadCurve2D.java:
1924 Fixed mentioning of Brian Gouph.
1926 2005-04-18 Michael Koch <konqueror@gmx.de>
1928 * gnu/java/awt/Buffers.java,
1929 gnu/java/awt/image/ImageDecoder.java,
1930 gnu/java/awt/image/XBMDecoder.java,
1931 gnu/java/awt/peer/ClasspathFontPeer.java,
1932 gnu/java/net/CRLFInputStream.java,
1933 gnu/java/net/EmptyX509TrustManager.java,
1934 gnu/java/net/LineInputStream.java,
1935 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1936 gnu/java/net/protocol/ftp/BlockInputStream.java,
1937 gnu/java/net/protocol/ftp/CompressedInputStream.java,
1938 gnu/java/net/protocol/ftp/DTP.java,
1939 gnu/java/net/protocol/ftp/DTPInputStream.java,
1940 gnu/java/net/protocol/ftp/FTPConnection.java,
1941 gnu/java/net/protocol/ftp/FTPURLConnection.java,
1942 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1943 gnu/java/net/protocol/ftp/StreamInputStream.java,
1944 gnu/java/net/protocol/http/ChunkedInputStream.java,
1945 gnu/java/net/protocol/http/HTTPConnection.java,
1946 gnu/java/net/protocol/http/HTTPURLConnection.java,
1947 gnu/java/net/protocol/http/Headers.java,
1948 gnu/java/net/protocol/http/Request.java,
1949 gnu/java/nio/ChannelInputStream.java,
1950 gnu/java/nio/ChannelOutputStream.java,
1951 gnu/java/nio/InputStreamChannel.java,
1952 gnu/java/nio/OutputStreamChannel.java,
1953 gnu/java/nio/SelectorProviderImpl.java,
1954 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
1955 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
1956 gnu/java/rmi/dgc/DGCImpl.java,
1957 gnu/java/rmi/registry/RegistryImpl.java,
1958 gnu/java/rmi/server/ProtocolConstants.java,
1959 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
1960 gnu/java/rmi/server/RMIIncomingThread.java,
1961 gnu/java/rmi/server/RMIObjectInputStream.java,
1962 gnu/java/rmi/server/RMIObjectOutputStream.java,
1963 gnu/java/rmi/server/RMIVoidValue.java,
1964 gnu/java/rmi/server/UnicastConnectionManager.java,
1965 gnu/java/rmi/server/UnicastRef.java,
1966 gnu/java/rmi/server/UnicastRemoteCall.java,
1967 gnu/java/rmi/server/UnicastRemoteStub.java,
1968 gnu/java/rmi/server/UnicastServerRef.java,
1969 gnu/java/security/OID.java,
1970 gnu/java/security/der/DERReader.java,
1971 gnu/java/security/provider/CollectionCertStoreImpl.java,
1972 gnu/java/security/provider/DSAParameterGenerator.java,
1973 gnu/java/security/provider/DefaultPolicy.java,
1974 gnu/java/security/provider/EncodedKeyFactory.java,
1975 gnu/java/security/provider/GnuDHPublicKey.java,
1976 gnu/java/security/provider/GnuDSAPrivateKey.java,
1977 gnu/java/security/provider/GnuDSAPublicKey.java,
1978 gnu/java/security/provider/GnuRSAPrivateKey.java,
1979 gnu/java/security/provider/GnuRSAPublicKey.java,
1980 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1981 gnu/java/security/provider/RSA.java,
1982 gnu/java/security/provider/SHA1PRNG.java,
1983 gnu/java/security/provider/SHA1withRSA.java,
1984 gnu/java/security/provider/X509CertificateFactory.java,
1985 gnu/java/security/x509/GnuPKIExtension.java,
1986 gnu/java/security/x509/X500DistinguishedName.java,
1987 gnu/java/security/x509/X509CRL.java,
1988 gnu/java/security/x509/X509CRLEntry.java,
1989 gnu/java/security/x509/X509CertPath.java,
1990 gnu/java/security/x509/X509CertSelectorImpl.java,
1991 gnu/java/security/x509/X509Certificate.java,
1992 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1993 gnu/java/security/x509/ext/BasicConstraints.java,
1994 gnu/java/security/x509/ext/CRLNumber.java,
1995 gnu/java/security/x509/ext/CertificatePolicies.java,
1996 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
1997 gnu/java/security/x509/ext/Extension.java,
1998 gnu/java/security/x509/ext/GeneralNames.java,
1999 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2000 gnu/java/security/x509/ext/KeyUsage.java,
2001 gnu/java/security/x509/ext/PolicyConstraint.java,
2002 gnu/java/security/x509/ext/PolicyMappings.java,
2003 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2004 gnu/java/security/x509/ext/ReasonCode.java,
2005 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2006 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2007 Reorganized import statements.
2009 2005-04-18 Michael Koch <konqueror@gmx.de>
2011 * gnu/java/awt/color/CieXyzConverter.java,
2012 gnu/java/awt/color/ClutProfileConverter.java,
2013 gnu/java/awt/color/ColorLookUpTable.java,
2014 gnu/java/awt/color/ColorSpaceConverter.java,
2015 gnu/java/awt/color/GrayProfileConverter.java,
2016 gnu/java/awt/color/GrayScaleConverter.java,
2017 gnu/java/awt/color/LinearRGBConverter.java,
2018 gnu/java/awt/color/ProfileHeader.java,
2019 gnu/java/awt/color/PyccConverter.java,
2020 gnu/java/awt/color/RgbProfileConverter.java,
2021 gnu/java/awt/color/SrgbConverter.java,
2022 gnu/java/awt/color/TagEntry.java,
2023 gnu/java/awt/color/ToneReproductionCurve.java:
2024 Standardized file headers.
2026 2005-04-16 Tom Tromey <tromey@redhat.com>
2028 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2029 'ANY' package-private.
2031 2005-04-15 Tom Tromey <tromey@redhat.com>
2033 * Makefile.in: Rebuilt.
2034 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2035 (libgcj0_convenience_la_LIBADD): ... here.
2037 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2039 * gij.cc (version): Properly quote java version.
2040 (main): Fix typo in comment.
2042 2005-04-13 Mark Wielaard <mark@klomp.org>
2044 * java/lang/natRuntime.cc (insertSystemProperties): Set
2045 java.class.path to CLASSPATH if not already set.
2047 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2049 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2051 2005-04-12 Mike Stump <mrs@apple.com>
2053 * configure: Regenerate.
2055 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2058 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2059 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2061 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2064 * scripts/TexinfoDoclet.java: Removed.
2065 * Makefile.am (texinfo): Removed.
2066 * Makefile.in: Regenerated.
2068 2005-04-11 Michael Koch <konqueror@gmx.de>
2070 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2071 Fixed wrong casting.
2073 2005-04-06 Andrew Haley <aph@redhat.com>
2075 * testsuite/libjava.lang/bytearray.java: New file.
2076 * testsuite/libjava.lang/bytearray.out: New file.
2077 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2078 (loadClass): Use it.
2079 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2081 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2083 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2084 gcj-dbtool dependency
2085 * Makefile.in: Regenerated
2087 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2089 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2090 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2092 2005-04-05 Andrew Haley <aph@redhat.com>
2094 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2095 (Tokenizer): New class.
2096 (getFiles): New method.
2097 (main): Add "-" argument.
2099 Read list of files from stdin when merging map databases.
2100 (usage): Add "-" argument.
2104 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2107 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2108 * Makefile.in: Regenerate.
2109 * configure.ac: Add --with-java-home option.
2110 * configure: Regenerate.
2111 * external/Makefile.in: Regenerate.
2112 * external/sax/Makefile.in: Regenerate.
2113 * external/w3c_dom/Makefile.in: Regenerate.
2114 * gcj/Makefile.in: Regenerate.
2115 * include/Makefile.in: Regenerate.
2116 * testsuite/Makefile.in: Regenerate.
2117 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2120 2005-04-05 Tom Tromey <tromey@redhat.com>
2122 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2123 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2124 Rewrote to use _Jv_FindClassFromSignature.
2125 * verify.cc (resolve): throw NoClassDefFoundError.
2126 * link.cc (resolve_field): Throw NoClassDefFoundError.
2127 (find_field): Likewise.
2128 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2129 Handle error cases. Added 'endp' argument.
2130 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2132 2005-04-05 Tom Tromey <tromey@redhat.com>
2134 * Makefile.in: Rebuilt.
2135 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2136 gtk_awt_peer_sources.
2137 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2138 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2139 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2140 (gtk-awt-peer.lo): New target.
2142 2005-04-04 Steve Pribyl <steve@netfuel.com>
2145 * configure.ac: Fix fastjar definition for cross builds.
2146 * configure: Rebuilt.
2148 2005-04-04 Tom Tromey <tromey@redhat.com>
2150 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2151 it was already found.
2153 2005-04-04 Tom Tromey <tromey@redhat.com>
2155 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2156 org.metastatic.jessie.
2158 2005-04-02 Anthony Green <green@redhat.com>
2161 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2163 2005-04-02 Mark Wielaard <mark@klomp.org>
2165 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2166 Attributes and attribute order doesn't matter.
2167 (BasicAttributesEnumeration.where): Initialize to zero.
2168 (BasicAttributesEnumeration.nextElement): Update and compare where
2169 appropriately (zero based).
2171 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2173 PR libgcj/20090, PR libgcj/20526
2174 * gij.cc (nonstandard_opts_help): New function.
2175 (add_option): New function.
2176 (main): Support java options. Set java.class.path. Don't set
2178 * prims.cc (parse_x_arg): New function.
2179 (parse_init_args): Call parse_x_arg for -X and _ options, when
2180 ignoreUnrecognized is true.
2181 (new _Jv_RunMain): New vm_args variant.
2182 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2183 (_Jv_Jar_Class_Path): Remove variable.
2184 * include/java-props.h: Likewise.
2185 * include/cni.h (JvRealloc): New function.
2186 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2187 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2188 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2190 * configure.ac (JV_VERSION): Define.
2191 (JV_API_VERSION): Likewise.
2192 * configure: Regenerate.
2193 * include/config.h.in: Regenerate.
2195 2005-04-01 Mark Anderson <mark@panonet.net>
2197 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2198 -Infinity as parameters.
2200 2005-04-01 Michael Koch <konqueror@gmx.de>
2202 * java/io/PipedInputStream.java
2203 (read): Make sure a positive byte value is returned. Revised javadoc.
2204 Thanks to Olafur Bragason for reporting these bugs.
2206 2005-04-01 Tom Tromey <tromey@redhat.com>
2208 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2209 Updated for name change.
2210 (nativeFindClass): New method.
2211 (loadClass): Use nativeFindClass.
2212 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2214 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2215 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2217 (initialize): New method.
2218 (nativeFindClass): Declare.
2219 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2220 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2221 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2223 (definePackageForNative): Removed.
2224 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2225 Moved to VMClassLoader.java.
2226 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2227 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2228 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2229 removed VMClassLoader.java.
2230 (nat_source_files): Removed natVMClassLoader.cc.
2232 2005-04-01 Tom Tromey <tromey@redhat.com>
2234 * Makefile.in: Rebuilt.
2235 * Makefile.am (db_pathtail): Use $(gcc_version), not
2238 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2240 * java/util/Timer.java
2241 (run): Stop the queue if a task throws an exception.
2243 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2245 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2247 2005-03-29 Ian Lance Taylor <ian@airs.com>
2249 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2250 * external/sax/Makefile.in: Rebuild.
2251 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2253 * external/w3c_dom/Makefile.in: Rebuild.
2255 2005-03-29 Tom Tromey <tromey@redhat.com>
2257 * java/lang/natRuntime.cc (insertSystemProperties): Set
2258 gnu.gcj.runtime.endorsed.dirs.
2259 * Makefile.in: Rebuilt.
2260 * Makefile.am (ordinary_java_source_files): Added
2261 HelperClassLoader.java.
2262 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2263 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2265 (init): Use addDirectoriesFromProperty.
2266 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2267 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2268 gnu.gcj.runtime.endorsed.dirs.
2269 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2271 2005-03-26 Chris Burdess <dog@gnu.org>
2273 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2276 2005-03-13 Michael Koch <konqueror@gmx.de>
2278 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2280 2005-03-11 Chris Burdess <dog@gnu.org>
2282 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2285 2005-02-27 Chris Burdess <dog@gnu.org>
2287 * gnu/xml/aelfred2/JAXPFactory.java,
2288 gnu/xml/aelfred2/SAXDriver.java,
2289 gnu/xml/aelfred2/XmlParser.java,
2290 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2291 formatting conventions. Replaced arrays of Object with struct-like
2292 classes for easier maintainability. Made SAXDriver.stringInterning
2293 package private to allow access from XmlParser inside the loop without
2294 a method call overhead.
2296 2005-03-11 Chris Burdess <dog@gnu.org>
2298 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2301 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2303 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2304 settings to sub Makefiles.
2305 (GCJH, ZIP): Prefix with top_builddir.
2306 * configure: Rebuild.
2307 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2308 * external/w3c_dom/Makefile.in: Rebuild.
2309 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2310 * external/sax/Makefile.in: Rebuild.
2312 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2314 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2315 libsocket to the libraries to link for Solaris.
2317 2005-03-28 Per Bothner <per@bothner.com>
2319 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2320 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2322 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2324 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2325 to fix a ONESTEP fallout.
2326 * Makefile.in: Regenerate.
2328 2005-03-25 Mike Stump <mrs@apple.com>
2330 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2331 paths like we do for the compiler, as we use it in external/sax
2332 and it doesn't get MULTIBUILDTOP right when multilibing.
2334 2005-03-24 Anthony Green <green@redhat.com>
2336 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2338 (usage): Add [LIBDIR] to help output.
2339 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2340 * Makefile.am (AM_CXXFLAGS): Define
2341 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2342 (db_pathtail): New macro.
2344 2005-03-24 Tom Tromey <tromey@redhat.com>
2346 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2347 add sax and w3c libraries.
2348 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2350 * external/w3c_dom/Makefile.in: Rebuilt.
2351 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2353 (libw3c_gcj_la_LDFLAGS): New variable.
2354 (noinst_LTLIBRARIES): Renamed.
2355 * external/sax/Makefile.in: Rebuilt.
2356 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2358 (libsax_gcj_la_LDFLAGS): New variable.
2359 (noinst_LTLIBRARIES): Renamed.
2361 2005-03-23 Tom Tromey <tromey@redhat.com>
2363 * Makefile.in: Rebuilt.
2364 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2365 (libgcj0_convenience_la_SOURCES): Don't include
2366 gnu_xml_source_files.
2367 (libgcj0_convenience_la_LIBADD): New variable.
2368 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2369 (all_java_source_files): javax_imageio_source_files,
2370 javax_xml_source_files, and gnu_java_beans_source_files.
2371 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2372 (gnu-xml.lo): New target.
2373 (javax-imageio.lo): Likewise.
2374 (javax-xml.lo): Likewise.
2375 (gnu-java-beans.lo): Likewise.
2376 (gnu_java_beans_source_files): New variable.
2377 (javax_imageio_source_files): Likewise.
2378 (javax_xml_source_files): Likewise.
2379 (javax_source_files): Moved files to other variable.
2380 (awt_java_source_files): Likewise.
2381 (ordinary_java_source_files): Added BootClassLoader.java.
2382 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2383 not system class loader.
2384 (initBootLoader): New method.
2385 (loadClass): Search bootLoader.
2386 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2387 boot loader, not system class loader.
2388 (_Jv_UnregisterInitiatingLoader): Likewise.
2389 (_Jv_FindClass): Likewise. Ensure entries in
2390 bootstrap_class_list are unique.
2391 * java/lang/natClass.cc (getClassLoader): Don't special case
2392 system class loader.
2393 * java/lang/VMClassLoader.java (bootLoader): New field.
2394 (getResource): Use bootLoader.
2395 (getResources): Likewise.
2396 (initBootLoader): Declare.
2397 * gnu/gcj/runtime/BootClassLoader.java: New file.
2398 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2399 (EMPTY_ENUMERATION): Now package-private.
2400 * external/w3c_com/Makefile.in: Rebuilt.
2401 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2402 (w3c.jar): New target.
2403 (classes.stamp): Updated.
2404 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2405 Changed name of library.
2406 (libw3c_gcj_la_SOURCES): New variable.
2407 (libw3c_gcj_la_GCJFLAGS): Likewise.
2408 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2409 * external/sax/Makefile.in: Rebuilt.
2410 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2411 (sax.jar): New target.
2412 (classes.stamp): Updated.
2413 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2414 Changed name of library.
2415 (libsax_gcj_la_SOURCES): New variable.
2416 (libsax_gcj_la_GCJFLAGS): Likewise.
2417 (source_files): Renamed from libsax_convenience_la_SOURCES.
2418 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2420 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2422 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2424 2005-03-23 Sven de Marothy <sven@physto.se>
2426 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2428 * java/util/Calendar.java
2429 (set): Use starting day of week when one is needed if none is given.
2430 * java/text/SimpleDateFormat.java
2431 (parse): Handle 1-12 and 1-24 timestamps correctly.
2432 * java/util/GregorianCalendar.java
2433 (computeTime, computeFields): HOUR should be in 0-11 format.
2434 (nonLeniencyCheck): Adjust leniency checking to that fact.
2435 (getLinearDay): Should be private.
2437 2005-03-23 Tom Tromey <tromey@redhat.com>
2439 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2440 (_Jv_CheckABIVersion): Use it.
2442 2005-03-22 Mike Stump <mrs@apple.com>
2444 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2446 * include/posix.h: .dylib is used on all Apple MACH platforms.
2447 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2449 2005-03-22 Tom Tromey <tromey@redhat.com>
2451 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2453 2005-03-21 Tom Tromey <tromey@redhat.com>
2455 * java/lang/VMCompiler.java (static block): Also catch
2456 BufferUnderflowException.
2458 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2460 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2461 set tool_include_dir. In all substitutions, leave $(gcc_version)
2462 to be expanded by the Makefile.
2463 * aclocal.m4, configure: Regenerate.
2464 * Makefile.am: Set gcc_version. Replace all uses of
2465 @gcc_version@ with $(gcc_version).
2466 * external/Makefile.am, external/sax/Makefile.am
2467 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2468 * testsuite/Makefile.am: Set gcc_version.
2469 * include/Makefile.am: Set gcc_version and tool_include_dir.
2470 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2471 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2472 * testsuite/Makefile.in: Regenerate.
2474 2005-03-17 Andrew Haley <aph@redhat.com>
2476 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2478 Pass klass to _Jv_StackTrace::GetClassContext().
2479 * java/lang/ClassLoader.java (getParent): Pass class to
2480 VMSecurityManager.getClassContext()
2481 (getSystemClassLoader): Likewise.
2482 * java/lang/Package.java (getPackage): Likewise.
2483 (getPackages): Likewise.
2484 * java/lang/SecurityManager.java (getClassContext): Likewise.
2485 (currentClassLoader): Likewise.
2486 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2487 (currentClassLoader) Add new arg: caller.
2488 Pass caller to VMSecurityManager.getClassContext.
2490 * stacktrace.cc (GetClassContext): Correct calculation of
2493 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2494 im->source_file_name.
2496 2005-03-16 Andrew Haley <aph@redhat.com>
2498 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2500 2005-03-16 Tom Tromey <tromey@redhat.com>
2502 * link.cc (ensure_class_linked): Removed #ifdef.
2503 (print_class_loaded): Likewise.
2504 (wait_for_state): Likewise.
2505 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2506 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2507 * include/java-interp.h: ... here.
2509 2005-03-16 Tom Tromey <tromey@redhat.com>
2511 * gnu/java/lang/MainThread.java (run): Load main class using
2512 system class loader.
2514 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2516 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2517 lgcc_s to the libraries to link for Darwin.
2519 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2521 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2522 interpreter-specific code with #ifdef INTERPRETER.
2523 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2524 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2525 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2526 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2527 #ifdef INTERPRETER. Also protect declarations that use it.
2528 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2529 #ifdef INTERPRETER block.
2531 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2534 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2535 * Makefile.in: Rebuilt.
2537 2005-03-15 David Daney <ddaney@avtrex.com>
2539 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2542 2005-03-15 David Daney <ddaney@avtrex.com>
2544 * java/io/BufferedInputStream.java (available): Use 'in' instead
2545 of 'super' for underlying stream access.
2547 (read(byte[], int, int)): Ditto.
2549 (skip): Call skip on underlying stream when possible.
2551 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2553 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2554 SJLJ_EXCEPTIONS is defined.
2556 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2558 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2561 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2563 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2565 (libjava_arguments): Likewise.
2567 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2568 (gcj_jni_test_one): Likewise.
2569 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2570 Add flags to keep the Darwin linker quiet.
2571 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2572 Add -liconv for Darwin.
2574 2005-03-11 Tom Tromey <tromey@redhat.com>
2576 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2577 (_Jv_CheckABIVersion): Use it.
2579 2005-03-11 Tom Tromey <tromey@redhat.com>
2581 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2582 (usage): Document '-p'.
2583 * Makefile.in: Rebuilt.
2584 * Makefile.am (dbexecdir): New variable.
2585 (db_name): Likewise.
2586 (dbexec_DATA): Likewise.
2587 ($(db_name)): New target.
2588 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2589 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2592 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2594 * exception.cc: Remove stray MethodRef.h include.
2595 * java/lang/natClass.cc: Likewise.
2596 * gnu/gcj/runtime/MethodRef.java: Removed.
2597 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2598 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2599 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2600 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2601 * Makefile.in: Rebuilt.
2603 2005-03-10 Tom Tromey <tromey@redhat.com>
2605 * Makefile.in: Rebuilt.
2606 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2608 2005-03-10 Chris Burdess <dog@bluezoo.org>
2610 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2611 not currently parsing the DTD.
2613 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2615 New Stack Trace infrastructure.
2616 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2617 (gnu/gcj/runtime/StackTrace.java): Removed.
2618 (ordinary_java_source_files): Remove obsolete files.
2619 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2620 * configure.host (fallback_backtrace_h): Set backtrace header
2621 for mingw and cygwin targets.
2622 * configure.ac: Make symlink for fallback backtrace headers.
2623 * Makefile.in, configure: Rebuilt.
2624 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2625 Read 'LineNumberTable' attribute.
2626 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2628 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2630 * exception.cc: Remove unused include.
2631 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2632 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2633 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2634 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2635 table to direct threaded instruction values.
2636 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2637 (_Jv_InterpMethod::run): No longer member function. All
2638 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2639 is made or where an instruction could throw.
2640 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2642 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2643 (catch_fpe): Likewise.
2644 * stacktrace.cc: New file. Stack trace code now here.
2645 * gnu/gcj/runtime/MethodRef.java:
2646 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2647 calls addr2line to look up PC addresses in a given binary or shared
2649 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2650 gnu/gcj/runtime/natStackTrace.cc: Removed.
2651 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2652 this function name is specially recognised by the stack trace code
2653 and shouldn't be changed.
2654 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2655 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2656 (_Jv_InterpMethod::run): Update declaration.
2657 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2659 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2660 * include/java-stack.h: New file. Declarations for stack tracing.
2661 * include/jvm.h (_Jv_Frame_info): Removed.
2662 * java/lang/Class.h: Update friend declarations.
2663 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2665 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2666 (getStackTrace): Now native.
2667 (data): New RawDataManaged field.
2668 * java/lang/natClass.cc: Update includes.
2669 (forName): Use _Jv_StackTrace::GetCallingClass for
2670 calling-classloader check.
2671 (getClassLoader): Likewise.
2672 * java/lang/natRuntime.cc: Update includes.
2673 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2674 * java/lang/natVMSecurityManager.cc: Update includes.
2675 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2676 * java/lang/natVMThrowable.cc: New file. Native methods for
2678 * java/lang/reflect/natArray.cc: Update includes.
2679 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2680 accessibility check.
2681 * java/lang/reflect/natConstructor.cc: Update includes.
2682 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2683 accessibility check.
2684 * java/lang/reflect/natField.cc: Update includes.
2685 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2686 accessibility check.
2687 * java/lang/reflect/natMethod.cc: Update includes.
2688 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2689 accessibility check.
2690 * java/util/natResourceBundle.cc: Update includes.
2691 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2692 * java/util/logging/natLogger.cc: Update includes. Use
2693 _Jv_StackTrace::GetCallerInfo to get call-site info.
2694 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2696 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2699 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2701 * testsuite/libjava.compile/PR20312.java: New file.
2702 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2703 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2705 2005-03-09 Andrew Haley <aph@redhat.com>
2707 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2709 (smallTransferTo): New.
2710 (transferFrom): Loop around smallTransferFrom, copying pageSize
2712 (transferTo): Likewise.
2714 2005-03-09 David Daney <ddaney@avtrex.com>
2717 Merge BufferedInputStream from GNU Classpath.
2718 * java/io/BufferedInputStream.java (marktarget): Field removed.
2719 (CHUNKSIZE): Field removed.
2720 (bufferSize): New field.
2721 (BufferedInputStream): Initialize fields.
2722 (close): Invalidate mark and buffer indexes.
2724 (read()): Move mark handling code to refill.
2725 (read(byte[], int, int)): Ditto.
2726 (skip): Ditto and simplify EOF testing.
2727 (refill): Rewritten.
2728 * java/io/InputStreamReader.java (refill): Removed mark and reset
2729 of internal BufferedInputStream.
2731 2005-03-09 Tom Tromey <tromey@redhat.com>
2733 * java/lang/natVMClassLoader.cc (defineClass): Reference
2734 'systemClassLoader' field directly.
2735 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2737 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2738 Reference 'systemClassLoader' field directly.
2739 (_Jv_UnregisterInitiatingLoader): Likewise.
2740 (_Jv_FindClass): Likewise.
2742 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2744 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2746 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2747 the file in GNU Classpath style.
2749 2005-03-09 Tom Tromey <tromey@redhat.com>
2751 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2752 (toString): Synchronize.
2754 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2756 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2757 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2759 2005-03-07 Tom Tromey <tromey@redhat.com>
2761 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2762 (usage): Document '-f'.
2764 2005-03-07 Tom Tromey <tromey@redhat.com>
2766 * java/lang/VMCompiler.java (md5Digest): New field.
2767 (compileClass): Clone md5Digest instead of looking up a new one.
2769 2005-03-07 Tom Tromey <tromey@redhat.com>
2772 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2773 * link.cc (find_field_helper): Added 'type' argument.
2774 (find_field): Updated.
2776 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2777 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2778 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2779 throw UnsupportedOperationException, fixed comments.
2780 (setFont, setForeground): Fixed comments.
2781 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2782 return type to boolean.
2783 (getNextEvent): Fixed javadocs.
2784 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2785 (nativeQueueEmpty): Removed unused code.
2786 (iterateNativeQueue): Removed outer loop.
2788 2005-03-06 Roger Sayle <roger@eyesopen.com>
2791 * Makefile.am (libgcj0_convenience.la): Revert last change.
2792 * Makefile.in: Regenerate.
2794 2005-03-05 Anthony Green <green@redhat.com>
2796 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2797 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2798 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2799 (_Jv_GetDrawingSurface): Set visualID.
2800 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2801 (JAWT_GetAWT): Set Lock and Unlock.
2802 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2804 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2805 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2806 JAWT_LOCK_SURFACE_CHANGED): New macros.
2807 (struct _JAWT): Add Lock and Unlock.
2809 2005-03-05 Roger Sayle <roger@eyesopen.com>
2810 Alexandre Oliva <aoliva@redhat.com>
2811 Kelley Cook <kcook@gcc.gnu.org>
2814 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2815 of the object files to link to avoid exceeding the command line
2816 length limits on some platforms.
2817 (clean-local): Clean up objectlist files.
2818 * Makefile.in: Regenerate.
2820 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2822 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2823 spec_case. Initialize pointer mlo.
2825 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2828 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2830 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2833 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2834 uninitialized variable z.
2836 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2837 possible unused variables.
2839 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2841 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2843 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2846 * testsuite/libjava.jni/jni.exp
2847 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2849 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2851 2005-02-23 David Daney <ddaney@avtrex.com>
2853 * configure.host: Don't use -mxgot for MIPS builds.
2855 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
2858 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2859 (COMPPATH): Removed.
2860 (ZIP, GCJH): Replace it with ../$(host_subdir).
2861 (built_gcc_dir): Add $(host_subdir).
2862 * configure: Regenerate.
2863 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2864 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2865 external/w3c_dom/Makefile.in: Regenerate.
2867 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
2869 * java/awt/font/TextAttribute.java: changed names to lower case;
2870 (readResolve): implemented.
2871 Added doc comments all over.
2873 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2876 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
2877 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
2878 value. Move argument parsing code to prims.cc.
2879 * prims.cc (no_properties): Remove.
2880 (_Jv_Compiler_Properties): Initialize to NULL.
2881 (_Jv_Properties_Count): Initialize to 0.
2882 (parse_verbose_args): New function.
2883 (parse_init_args): New function.
2884 (_Jv_CreateJavaVM): Call parse_init_args.
2885 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
2886 * gcj/cni.h (JvVMOption): New struct.
2887 (JvVMInitArgs): Likewise.
2888 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
2890 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
2891 (_Jv_VMInitArgs): Likewise.
2892 * include/java-props.h (_Jv_Properties_Count): Declare.
2893 * java/lang/natRuntime.cc (insertSystemProperties): Use
2894 _Jv_Properties_Count in for loop exit condition.
2895 * testsuite/libjava.jni/jni.exp
2896 (gcj_invocation_compile_c_to_binary): New procedure.
2897 (gcj_invocation_test_one): Likewise.
2898 (gcj_jni_run): Run JNI invocation API tests.
2899 * testsuite/libjava.jni/invocation/PR16923.c,
2900 testsuite/libjava.jni/invocation/PR16923.java,
2901 testsuite/libjava.jni/invocation/PR16923.out: New test.
2903 2005-02-23 Michael Koch <konqueror@gmx.de>
2905 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
2906 * Makefile.in: Regenerated.
2908 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2910 * gnu/java/nio/ChannelReader: Fixed comments.
2912 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2914 * java/nio/channels/Channels: Added FIXMEs about
2915 stub method implementation.
2916 (newReader): Implemented.
2917 * gnu/java/nio/ChannelReader: New class.
2919 2005-02-23 Michael Koch <konqueror@gmx.de>
2921 * java/text/SimpleDateFormat.java:
2922 Removed unused import.
2924 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2927 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
2928 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
2929 * Makefile.in: Regenerate.
2930 * configure.ac: Check for libXtst.
2931 * configure: Regenerate.
2933 2005-02-22 Mark Wielaard <address@bogus.example.com>
2935 * java/security/AlgorithmParameterGenerator.java (getInstance):
2936 Mention provider when throwing NoSuchProviderException.
2937 * java/security/AlgorithmParameters.java (getInstance): Likewise.
2938 * java/security/KeyFactory.java (getInstance): Likewise.
2939 * java/security/KeyStore.java (getInstance): Likewise.
2940 * java/security/SecureRandom.java (getInstance): Likewise.
2941 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
2943 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
2945 * java/lang/reflect/Proxy.java,
2947 java/security/SecureRandom.java,
2948 java/util/Timer.java,
2949 java/util/prefs/AbstractPreferences.java:
2950 Don't catch java.lang.ThreadDeath.
2952 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
2954 * java/awt/font/TransformAttribute.java,
2955 (TransformAttribute(AffineTransform)): throw
2956 IllegalArgumentException for null transform.
2957 (getTransform): return a copy of transform.
2958 Added doc comments to all.
2960 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
2962 * java/io/Externalizable.java,
2963 java/io/Serializable.java
2964 (serialVersionUID): Removed.
2965 * java/rmi/server/RemoteObject.java,
2966 java/rmi/server/UID.java
2967 (serialVersionUID): Made private.
2968 * java/rmi/server/RemoteRef.java,
2969 java/rmi/server/ServerRef.java
2970 (serialVersionUID): Set proper value.
2971 * java/security/interfaces/DSAPrivateKey.java,
2972 java/security/interfaces/DSAPublicKey.java,
2973 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2974 java/security/interfaces/RSAPrivateCrtKey.java,
2975 java/security/interfaces/RSAPrivateKey.java,
2976 java/security/interfaces/RSAPublicKey.java,
2977 javax/crypto/SecretKey.java
2978 (serialVersionUID): Added.
2980 2005-02-22 Tom Tromey <tromey@redhat.com>
2982 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
2984 2005-02-22 Tom Tromey <tromey@redhat.com>
2987 * verify.cc (type::EITHER): New constant.
2988 (check_field_constant): Use it.
2989 (type::compatible): Handle it.
2991 2005-02-22 Michael Koch <konqueror@gmx.de>
2993 * gnu/java/security/PolicyFile.java,
2994 gnu/java/security/pkcs/PKCS7SignedData.java,
2995 gnu/java/security/pkcs/SignerInfo.java:
2996 Fixed copyright header.
2998 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3000 * java/beans/PropertyDescriptor.java
3001 (PropertyDescriptor,setReadMethod): Set propertyType.
3003 2005-02-22 Michael Koch <konqueror@gmx.de>
3005 * java/nio/DirectByteBufferImpl.java
3006 (owner): Fixed formatting of javadoc.
3007 * java/text/DateFormat.java
3008 (getAvailableLocales): Fixed formatting.
3009 * java/text/SimpleDateFormat.java:
3010 Fixed formatting and import statement order.
3011 * java/util/Calendar.java
3012 (Calendar): Fixed javadoc to be HTML compliant.
3013 * java/util/SimpleTimeZone.java:
3016 2005-02-22 Roman Kennke <roman@ontographics.com>
3018 * javax/swing/plaf/basic/BasicLookAndFeel.java
3019 (initComponentDefaults): Fixed Button left and right margin.
3021 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3023 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3027 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3028 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3029 (getWidth): New method.
3030 (getHeight): Likewise.
3031 (create): Remove width, height and insets parameters. Move size
3033 (realize_cb): ... here. New function.
3034 (connectSignals): Connect realize_cb.
3035 (request_frame_extents): Remove FIXME. Move
3036 postInsetsChangedEvent lookup ...
3037 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3038 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3039 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3041 (windowGetWidthID): Likewise.
3042 (windowGetHeightID): Likewise.
3044 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3047 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3048 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3050 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3052 Merge serialization from GNU Classpath.
3053 * gcj/method.h: Add missing #includes.
3054 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3055 primitive class IDs on the stream here...
3056 (resolveClass): ...not here.
3057 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3059 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3060 setLongNative, setIntNative, setShortNative, setCharNative,
3061 setByteNative, setBooleanNative, setObjectNative): New native methods.
3062 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3063 setLongNative, setIntNative, setShortNative, setCharNative,
3064 setByteNative, setBooleanNative, setObjectNative): Implement them.
3065 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3066 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3067 the constructor here.
3068 (callConstructor): Removed.
3069 (getCallersClassLoader): Removed.
3070 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3071 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3072 to control whether setting final field values is permitted. Call
3073 getAddr() with checkFinal parameter instead of setAddr().
3074 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3075 only if not done already.
3076 (getAddr): Add checkFinal parameter. Do the final field check only if
3080 2005-02-21 Mark Wielaard <mark@klomp.org>
3083 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3086 2005-02-21 Mark Wielaard <mark@klomp.org>
3089 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3090 without a super class and us ObjectStreamClass.lookupForClassObject().
3091 (resolveClass): Check for primitive types.
3092 (lookupClass): Return null when argument is null.
3094 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3096 * java/io/ObjectInputStream.java
3097 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3099 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3101 * java/io/ObjectOutputStream.java
3102 (writeObject, callWriteMethod): Replaced reflection with accessing
3103 cached info in ObjectStreamClass.
3104 (getMethod): Removed.
3105 * java/io/ObjectStreamClass.java
3106 (findMethod): Added check to make sure the method found has the
3108 (cacheMethods): Added writeReplace and writeObject methods.
3109 (setFlags): Look at new writeObjectMethod field instead of doing
3111 (writeReplaceMethod): New field.
3112 (writeObjectMethod): New field.
3114 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3115 Jeroen Frijters <jeroen@frijters.net>
3117 * java/io/ObjectInputStream.java
3118 (newObject): Changed prototype. Get a constructor reflect object
3120 (callConstructor): Removed.
3121 (allocateObject): Changed prototype.
3122 (readClassDescriptor): Build the constructor reflection directly.
3123 (readObject): Invoke newObject using the new prototype.
3125 * java/io/ObjectStreamClass.java
3126 (firstNonSerializableParent): Removed.
3127 (firstNonSerializableParentConstructor): Added.
3129 2005-02-21 Mark Wielaard <mark@klomp.org>
3131 * gnu/java/locale/LocaleInformation_en.java: Extend
3132 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3134 2005-02-21 Mark Wielaard <mark@klomp.org>
3136 * java/text/SimpleDateFormat.java
3137 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3138 NullPointerException when formatData is null.
3140 2005-02-21 Mark Wielaard <mark@klomp.org>
3142 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3143 taking dstSavings into account.
3145 2005-02-21 Sven de Marothy <sven@physto.se>
3147 * java/text/SimpleDateFormat.java,
3148 (parse): Set correct DST_OFFSET to the correct value.
3150 2005-02-21 Mark Wielaard <mark@klomp.org>
3152 * java/util/SimpleTimeZone.java (checkRule): Throw
3153 IllegalArgumentException when month out of range.
3155 2005-02-21 Sven de Marothy <sven@physto.se>
3157 * java/util/GregorianCalendar.java,
3158 (add): Don't set fields directly anymore. Use set()
3160 2005-02-21 Mark Wielaard <mark@klomp.org>
3162 * java/text/SimpleDateFormat.java (CompiledField.toString):
3163 Use StringBuffer, not StringBuilder.
3164 (toString): Likewise.
3166 2005-02-21 Sven de Marothy <sven@physto.se>
3168 * java/util/Calendar.java
3169 (clear): Dates should clear to local time.
3170 * java/util/GregorianCalendar.java
3171 (computeTime): Fix priority problem with DAY_OF_WEEK,
3172 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3174 2005-02-21 Sven de Marothy <sven@physto.se>
3176 * java/util/Calendar.java
3177 (Calendar): Constructor should clear fields.
3179 2005-02-21 Sven de Marothy <sven@physto.se>
3181 * java/text/SimpleDateFormat.java
3182 (parse): Tweak handling of 2-year dates
3183 * java/util/Calendar.java
3184 (clear): Clear fields to correct value.
3185 * java/util/GregorianCalendar.java
3186 (computeTime): Correct handling of time zones.
3187 Correct field minimum values.
3189 2005-02-21 Sven de Marothy <sven@physto.se>
3191 * java/util/Calendar.java
3192 (set) Invalidate all fields on first call to set().
3194 2005-02-21 Sven de Marothy <sven@physto.se>
3196 * java/util/GregorianCalendar.java
3197 (computeTime): Fixed handling of time zones.
3199 2005-02-21 Sven de Marothy <sven@physto.se>
3201 * java/util/Calendar.java
3202 (clear): Set values to Epoch instead of zero.
3203 (set): Set isSet to the relevant field pattern instead of just
3205 * java/util/GregorianCalendar.java
3206 (getBundle): Removed.
3207 (getDayOfYear): Removed.
3208 (getFirstDayOfMonth): New private method.
3209 (nonLeniencyCheck): New private method.
3210 (computeTime): Correct handling of insufficient data.
3212 2005-02-21 Sven de Marothy <sven@physto.se>
3214 * java/util/Calendar.java: Invalidate ERA field on setting
3216 * java/util/SimpleTimeZone.java:
3217 (getDaysInMonth): Reimplemented.
3218 * java/util/GregorianCalendar.java:
3219 (getLinearTime): Removed.
3220 (isLeapYear(int,boolean)): Removed.
3221 (before(), after()): Removed.
3222 (computeTime): Reimplemented.
3224 2005-02-21 Sven de Marothy <sven@physto.se>
3226 * java/util/Calendar.java: Reformatted.
3227 * java/util/GregorianCalendar.java: Reformatted.
3228 * java/util/SimpleTimeZone.java: Reformatted.
3230 2005-02-21 Sven de Marothy <sven@physto.se>
3232 * java/util/GregorianCalendar.java
3233 (GregorianCalendar): Update fields in the constructor
3235 2005-02-21 Noa Resare <noa@resare.com>
3237 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3238 (set(int,int)): Set and use new field.
3239 (set(int,int,int)): Check new field.
3241 2005-02-21 Noa Resare <address@hidden>
3243 * java/util/Calendar.java(set):
3244 Fix for DST related regression.
3246 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3248 * java/util/Calendar.java
3249 (setTimeInMillis): Added call to clear, removed computeFields call.
3250 * java/util/Date.java
3251 (Date(int,int,int,int,int,int)): Removed workaround for
3252 GregorianCalendar bug.
3253 * java/util/GregorianCalendar.java
3254 (GregorianCalendar): Chained all constructors to a (new)
3256 (computeTime): Fixed support for lenient month treatment.
3257 (getLinearDay): Return long instead of int.
3258 (calculateDay): Added fields argument and changed day argument
3261 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3263 * java/text/SimpleDateFormat.java
3264 Lots of documentation updates.
3265 (readObject(java.io.ObjectInputStream)): Wraps
3266 IllegalArgumentException as specified.
3267 (compileFormat(String)): Uses standardChars
3268 rather than the local pattern characters.
3269 Throws IllegalArgumentException rather than
3271 (toString()): Extended to include all variables
3273 (translateLocalizedPattern(String, String, String)):
3274 Renamed to better define the use of this method.
3276 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3278 * java/text/DateFormat.java:
3279 Documented pattern character offset constants and
3281 (Field): Added new static fields for new pattern chars.
3282 * java/text/SimpleDateFormat.java:
3283 (CompiledField): Changed name of FieldSizePair class
3284 to CompiledField after adding the character as an
3285 attribute. Changed fields to private and added
3286 accessors to give encapsulation.
3287 (CompiledField.CompiledField(int,int,char)): Extended
3288 with character field.
3289 (CompiledField.getField()): New accessor method.
3290 (CompiledField.getSize()): New acceessor method.
3291 (CompiledField.getCharacter()): New accessor method.
3292 (CompiledField.toString()): Added primarily for debugging.
3293 (standardChars): Now uses extended 24 character sequence.
3294 (compileFormat(String)): Changed to use CompiledField.
3295 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3296 java.text.FieldPosition)): Changed to use CompiledField.
3297 New handler for RFC 822 timezones added.
3299 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3301 * java/text/SimpleDateFormat.java:
3302 (parse(String, java.text.ParsePosition)):
3303 Changed 'E' and 'M' cases to use both
3304 short and long names. Extended 'z'
3305 case to also handle 'Z', and deal
3306 with simple GMT offsets such as +0100.
3307 (computeOffset(String)): New private method,
3308 which converts a GMT offset specification,
3309 such as GMT-0500 to a numeric offset in
3311 * java/util/TimeZone.java:
3312 (timezones()): Added "CEST", the daylight
3313 savings time version of "CET", or Central
3316 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3318 * java/text/SimpleDateFormat.java:
3319 (parse): Set the DST offset to 0 when parsing
3320 GMT offset timezones.
3322 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3324 * java/text/SimpleDateFormat.java:
3325 (parse): Use offset to set ZONE_OFFSET
3326 rather than the DST_OFFSET, so that
3327 GMT offset timezones change the right
3330 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3332 * java/text/SimpleDateFormat.java:
3333 (getDateFormatSymbols()): return a copy
3334 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3335 throw exception on null input
3336 (clone()): implemented to clone
3339 2005-02-21 Sven de Marothy <sven@physto.se>
3341 * java/text/SimpleDateFormat.java
3342 (parse): comparison should be case-insensitive, ignore null
3345 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3347 * gnu/java/beans/IntrospectionIncubator.java
3348 (addMethod) Reverts the patch that ntroduced a regression (see bug
3349 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3351 2005-02-21 Michael Koch <konqueror@gmx.de>
3353 * java/awt/Checkbox.java
3354 (next_checkbox_number): New static variable.
3355 (generateName): New method.
3356 (getUniqueLong): Likewise.
3357 * java/awt/Window.java
3358 (next_window_number): New static variable.
3359 (generateName): New method.
3360 (getUniqueLong): Likewise.
3362 2005-02-21 Mark Wielaard <mark@klomp.org>
3364 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3367 2005-02-21 Andrew Haley <aph@redhat.com>
3369 * Makefile.in: Rebuilt.
3370 * Makefile.am (nat_source_files): Added natLogger.cc.
3371 * java/util/logging/natLogger.cc: New file.
3372 * java/util/logging/Logger.java (getCallerStackFrame): Now
3375 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3377 * Makefile.am (all_property_files): Remove left over.
3378 (classes.stamp): Add stamp for the ONESTEP build, also known as
3379 --enable-libgcj-multifile.
3380 * Makefile.in: Regenerated.
3382 2005-02-21 Michael Koch <konqueror@gmx.de>
3384 * java/awt/Button.java,
3385 java/awt/Container.java,
3387 java/awt/Frame.java,
3388 java/text/CollationElementIterator.java,
3389 java/text/RuleBasedCollator.java,
3390 java/util/PropertyPermission.java:
3391 Fixed formatting issues all over.
3393 2005-02-21 Mark Wielaard <mark@klomp.org>
3395 * java/io/FileDescriptor.java (sync): Add real exception to
3396 SyncFailedException.
3398 2005-02-21 Michael Koch <konqueror@gmx.de>
3400 * java/io/InputStreamReader.java:
3403 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3406 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3408 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3410 * libraries/javalib/gnu/regexp/RE.java,
3411 libraries/javalib/java/io/ObjectInputStream.java,
3412 libraries/javalib/java/security/AllPermission.java,
3413 libraries/javalib/java/security/BasicPermission.java,
3414 libraries/javalib/java/security/Permissions.java,
3415 libraries/javalib/java/text/MessageFormat.java:
3416 Made 'inner' classes real public static inner classes,
3417 and made them final where possible, or removed them
3420 2005-02-20 Michael Koch <konqueror@gmx.de>
3422 * gnu/java/text/FormatCharacterIterator.java:
3423 Removed redundant modifiers.
3425 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3427 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3430 2005-02-19 Michael Koch <konqueror@gmx.de>
3432 * Makefile.am: Added new files in gnu/java/beans and
3433 java/beans/XMLDecoder.java.
3434 * Makefile.in: Regenerated.
3436 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3438 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3439 assignment behavior by using java.lang.reflect.Array.set()
3442 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3444 * gnu/java/beans/EmptyBeanInfo.java,
3445 gnu/java/beans/info/ComponentBeanInfo.java:
3446 Removed unused files.
3448 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3450 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3451 of AppletStub for java.beans.Beans.instantiate.
3452 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3454 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3455 to be conformant with Javadoc guidelines.
3456 (instantiate): Added two more overloaded variants, reworked user
3457 documentation, fixed exception behavior, fixed behavior when
3460 2005-02-19 Mark Wielaard <mark@klomp.org>
3462 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3464 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3466 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3468 * gnu/java/beans/decoder/AbstractContext.java,
3469 gnu/java/beans/decoder/AbstractCreatableContext.java,
3470 gnu/java/beans/decoder/AbstractElementHandler.java,
3471 gnu/java/beans/decoder/AbstractObjectContext.java,
3472 gnu/java/beans/decoder/ArrayContext.java,
3473 gnu/java/beans/decoder/ArrayHandler.java,
3474 gnu/java/beans/decoder/AssemblyException.java,
3475 gnu/java/beans/decoder/BooleanHandler.java,
3476 gnu/java/beans/decoder/ByteHandler.java,
3477 gnu/java/beans/decoder/CharHandler.java,
3478 gnu/java/beans/decoder/ClassHandler.java,
3479 gnu/java/beans/decoder/ConstructorContext.java,
3480 gnu/java/beans/decoder/Context.java,
3481 gnu/java/beans/decoder/DecoderContext.java,
3482 gnu/java/beans/decoder/DefaultExceptionListener.java,
3483 gnu/java/beans/decoder/DoubleHandler.java,
3484 gnu/java/beans/decoder/DummyContext.java,
3485 gnu/java/beans/decoder/DummyHandler.java,
3486 gnu/java/beans/decoder/ElementHandler.java,
3487 gnu/java/beans/decoder/FloatHandler.java,
3488 gnu/java/beans/decoder/GrowableArrayContext.java,
3489 gnu/java/beans/decoder/IndexContext.java,
3490 gnu/java/beans/decoder/IntHandler.java,
3491 gnu/java/beans/decoder/JavaHandler.java,
3492 gnu/java/beans/decoder/LongHandler.java,
3493 gnu/java/beans/decoder/MethodContext.java,
3494 gnu/java/beans/decoder/MethodFinder.java,
3495 gnu/java/beans/decoder/NullHandler.java,
3496 gnu/java/beans/decoder/ObjectContext.java,
3497 gnu/java/beans/decoder/ObjectHandler.java,
3498 gnu/java/beans/decoder/PersistenceParser.java,
3499 gnu/java/beans/decoder/PropertyContext.java,
3500 gnu/java/beans/decoder/ShortHandler.java,
3501 gnu/java/beans/decoder/SimpleHandler.java,
3502 gnu/java/beans/decoder/StaticMethodContext.java,
3503 gnu/java/beans/decoder/StringHandler.java,
3504 gnu/java/beans/decoder/VoidHandler.java: New class
3505 implementing java.beans.XMLDecoder decoding functionality.
3506 * java/beans/XMLDecoder.java: New class.
3508 2005-02-19 Michael Koch <konqueror@gmx.de>
3510 * javax/swing/JTextField.java
3511 (notfiyAction): Added javadoc.
3513 2005-02-19 Sven de Marothy <sven@physto.se>
3515 * javax/swing/SpinnerDateModel.java: Implemented.
3517 2005-02-19 Michael Koch <konqueror@gmx.de>
3519 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3520 * Makefile.in: Regenerated.
3522 2005-02-19 Michael Koch <konqueror@gmx.de>
3524 * gnu/java/nio/SelectorImpl.java:
3525 Reworked import statements.
3526 (register): Removed unused code.
3527 * java/nio/channels/Channels.java: Reformatted.
3528 * java/nio/charset/Charset.java: Likewise.
3529 * java/rmi/server/RemoteObject.java
3530 (serialVersionUID): Made private.
3531 * java/rmi/server/UID.java
3532 (serialVersionUID): Likewise.
3534 2005-02-19 Michael Koch <konqueror@gmx.de>
3536 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3537 gnu/java/net/protocol/ftp/BlockInputStream.java,
3538 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3539 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3540 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3541 gnu/java/net/protocol/ftp/DTPInputStream.java,
3542 gnu/java/net/protocol/ftp/DTP.java,
3543 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3544 gnu/java/net/protocol/ftp/FTPConnection.java,
3545 gnu/java/net/protocol/ftp/FTPException.java,
3546 gnu/java/net/protocol/ftp/FTPResponse.java,
3547 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3548 gnu/java/net/protocol/ftp/Handler.java,
3549 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3550 gnu/java/net/protocol/ftp/StreamInputStream.java,
3551 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3552 gnu/java/net/CRLFInputStream.java,
3553 gnu/java/net/CRLFOutputStream.java,
3554 gnu/java/net/GetLocalHostAction.java,
3555 gnu/java/net/protocol/ftp/package.html: New files.
3556 * Makefile.am: Added new files.
3557 * Makefile.in: Regenerated.
3559 2005-02-18 Tom Tromey <tromey@redhat.com>
3561 * link.cc (make_vtable): Remove abstract method check.
3562 (append_partial_itable): Likewise.
3565 * verify.cc (type::equals): Fixed test.
3566 * testsuite/libjava.lang/PR20056.out: New file.
3567 * testsuite/libjava.lang/PR20056.java: New file.
3569 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3571 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3572 not the HashEntry. Reported by Jean-Marie White.
3574 2005-02-18 Tom Tromey <tromey@redhat.com>
3577 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3578 * link.cc (has_field_p): New function.
3579 * verify.cc (check_field_constant): Added 'putfield' argument.
3580 (verify_instructions_0): Updated.
3581 (type::equals): New method.
3583 2005-02-18 Anthony Green <green@redhat.com>
3585 * NEWS: Draft of libgcj NEWS for 4.0.
3587 2005-02-18 Anthony Green <green@redhat.com>
3589 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3590 architecture names to "i386" for compatibility reasons. Win32
3593 2005-02-18 Anthony Green <green@redhat.com>
3595 * gij.cc (version): Change year for '--version' to 2005.
3596 * gnu/gcj/convert/Convert.java: Ditto.
3597 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3598 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3600 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3601 recent copyright year in `--version' output.
3603 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3605 * java/nio/charset/Charset.java (forName): Throws
3606 IllegalArgumentException when argument is null
3607 and added documentation.
3609 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3611 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3612 Move the position of the source buffer forward.
3614 2005-02-17 Tom Tromey <tromey@redhat.com>
3616 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3617 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3618 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3619 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3620 Changed type of second argument. Rewrote.
3621 (make_vtable): Use it.
3622 (append_partial_itable): Updated.
3623 (layout_vtable_methods): Updated.
3625 2005-02-17 Michael Koch <konqueror@gmx.de>
3627 * gnu/java/net/PlainSocketImpl.java
3628 (shutdownInput): Added javadoc.
3629 (shutdownOutput): Likewise.
3631 2005-02-17 Michael Koch <konqueror@gmx.de>
3633 * javax/print/attribute/standard/Chromaticity.java,
3634 javax/print/attribute/standard/Destination.java,
3635 javax/print/attribute/standard/MediaPrintableArea.java,
3636 javax/print/attribute/standard/MediaSize.java: New files.
3637 * Makefile.am: Added new files.
3638 * Makefile.in: Regenerated.
3640 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3641 Michael Koch <konqueror@gmx.de>
3643 * gnu/java/net/protocol/http/Cookie.java,
3644 gnu/java/net/protocol/http/HTTPConnection.java,
3645 gnu/java/net/protocol/http/HTTPDateFormat.java,
3646 gnu/java/net/protocol/http/Request.java,
3647 gnu/java/nio/PipeImpl.java,
3648 gnu/java/rmi/dgc/DGCImpl.java,
3649 gnu/java/rmi/server/ConnectionRunnerPool.java,
3650 gnu/java/rmi/server/UnicastConnectionManager.java,
3651 gnu/java/security/der/DERWriter.java,
3652 gnu/java/security/pkcs/SignerInfo.java,
3653 gnu/java/security/provider/EncodedKeyFactory.java,
3654 gnu/java/security/provider/GnuDHPublicKey.java,
3655 gnu/java/security/provider/GnuDSAPrivateKey.java,
3656 gnu/java/security/provider/GnuDSAPublicKey.java,
3657 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3658 gnu/java/security/x509/X500DistinguishedName.java,
3659 gnu/java/security/x509/X509CRL.java,
3660 gnu/java/security/x509/X509CRLEntry.java,
3661 gnu/java/security/x509/X509Certificate.java,
3662 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3663 gnu/java/security/x509/ext/CertificatePolicies.java,
3664 gnu/java/security/x509/ext/PolicyConstraint.java,
3665 gnu/xml/dom/Consumer.java,
3666 gnu/xml/dom/DomCharacterData.java,
3667 gnu/xml/dom/DomDocument.java,
3668 gnu/xml/dom/DomDocumentBuilder.java,
3669 gnu/xml/dom/DomIterator.java,
3670 gnu/xml/dom/DomNode.java,
3671 gnu/xml/dom/DomXPathExpression.java,
3672 gnu/xml/dom/DomXPathResult.java,
3673 gnu/xml/dom/JAXPFactory.java,
3674 gnu/xml/pipeline/CallFilter.java,
3675 gnu/xml/pipeline/DomConsumer.java,
3676 gnu/xml/pipeline/LinkFilter.java,
3677 gnu/xml/pipeline/NSFilter.java,
3678 gnu/xml/pipeline/TeeConsumer.java,
3679 gnu/xml/pipeline/ValidationConsumer.java,
3680 gnu/xml/pipeline/WellFormednessFilter.java,
3681 gnu/xml/pipeline/XIncludeFilter.java,
3682 gnu/xml/pipeline/XsltFilter.java,
3683 gnu/xml/transform/ApplyImportsNode.java,
3684 gnu/xml/transform/Bindings.java,
3685 gnu/xml/transform/DocumentFunction.java,
3686 gnu/xml/transform/FormatNumberFunction.java,
3687 gnu/xml/transform/NodeNumberNode.java,
3688 gnu/xml/transform/NumberNode.java,
3689 gnu/xml/transform/Stylesheet.java,
3690 gnu/xml/transform/SystemPropertyFunction.java,
3691 gnu/xml/transform/Template.java,
3692 gnu/xml/transform/TemplatesImpl.java,
3693 gnu/xml/transform/TransformerImpl.java,
3694 gnu/xml/transform/ValueOfNode.java,
3695 gnu/xml/transform/XSLURIResolver.java,
3696 gnu/xml/util/DoParse.java,
3697 gnu/xml/util/Resolver.java,
3698 gnu/xml/xpath/Expr.java,
3699 gnu/xml/xpath/FunctionCall.java,
3700 gnu/xml/xpath/RelationalExpr.java,
3701 gnu/xml/xpath/Selector.java,
3702 gnu/xml/xpath/XPathParser.java:
3703 Reworked import statements, fixed modifier order and some little
3706 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3708 * java/nio/ByteBufferImpl.java (compact):
3709 Set position and limit even if no bytes were moved.
3711 2005-02-17 Michael Koch <konqueror@gmx.de>
3713 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3714 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3715 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3716 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3717 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3718 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3719 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3720 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3721 * java/nio/FloatBufferImpl.java (compact): Set position.
3722 * java/nio/CharBufferImpl.java (compact): Likewise.
3723 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3724 * java/nio/IntBufferImpl.java (compact): Likewise.
3725 * java/nio/LongBufferImpl.java (compact): Likewise.
3726 * java/nio/ShortBufferImpl.java (compact): Likewise.
3728 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3730 * java/nio/ByteBufferImpl.java,
3731 java/nio/CharBufferImpl.java,
3732 java/nio/DirectByteBufferImpl.java,
3733 java/nio/DoubleBufferImpl.java,
3734 java/nio/FloatBufferImpl.java,
3735 java/nio/IntBufferImpl.java,
3736 java/nio/LongBufferImpl.java,
3737 java/nio/MappedByteBufferImpl.java,
3738 java/nio/ShortBufferImpl.java
3739 (compact): Added explicit read-only check and invalidate mark.
3741 2005-02-17 Michael Koch <konqueror@gmx.de>
3743 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3744 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3745 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3746 gnu/java/awt/peer/gtk/GdkGraphics.java,
3747 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3748 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3749 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3750 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3751 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3752 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3753 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3754 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3755 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3756 gnu/java/awt/peer/gtk/GtkClipboard.java,
3757 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3758 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3759 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3760 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3761 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3762 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3763 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3764 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3765 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3766 gnu/java/awt/peer/gtk/GtkToolkit.java,
3767 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3768 java/applet/Applet.java,
3769 java/awt/AWTError.java,
3770 java/awt/AWTEvent.java,
3771 java/awt/AWTEventMulticaster.java,
3772 java/awt/AWTException.java,
3773 java/awt/AWTKeyStroke.java,
3774 java/awt/AWTPermission.java,
3775 java/awt/ActiveEvent.java,
3776 java/awt/Adjustable.java,
3777 java/awt/AlphaComposite.java,
3778 java/awt/AttributeValue.java,
3779 java/awt/BorderLayout.java,
3780 java/awt/BufferCapabilities.java,
3781 java/awt/Button.java,
3782 java/awt/Canvas.java,
3783 java/awt/CheckboxGroup.java,
3784 java/awt/CheckboxMenuItem.java,
3785 java/awt/Color.java,
3786 java/awt/ColorPaintContext.java,
3787 java/awt/Component.java,
3788 java/awt/ComponentOrientation.java,
3789 java/awt/Composite.java,
3790 java/awt/CompositeContext.java,
3791 java/awt/Container.java,
3792 java/awt/ContainerOrderFocusTraversalPolicy.java,
3793 java/awt/DefaultFocusTraversalPolicy.java,
3794 java/awt/Dialog.java,
3795 java/awt/Dimension.java,
3796 java/awt/DisplayMode.java,
3797 java/awt/EventQueue.java,
3798 java/awt/FileDialog.java,
3799 java/awt/FontFormatException.java,
3800 java/awt/Graphics.java,
3801 java/awt/Graphics2D.java,
3802 java/awt/GraphicsConfigTemplate.java,
3803 java/awt/GraphicsConfiguration.java,
3804 java/awt/GraphicsDevice.java,
3805 java/awt/GridBagLayout.java,
3806 java/awt/GridBagLayoutInfo.java,
3807 java/awt/GridLayout.java,
3808 java/awt/HeadlessException.java,
3809 java/awt/IllegalComponentStateException.java,
3810 java/awt/Image.java,
3811 java/awt/Insets.java,
3812 java/awt/ItemSelectable.java,
3813 java/awt/JobAttributes.java,
3814 java/awt/KeyEventDispatcher.java,
3815 java/awt/KeyEventPostProcessor.java,
3816 java/awt/KeyboardFocusManager.java,
3817 java/awt/Label.java,
3818 java/awt/LayoutManager.java,
3819 java/awt/MenuBar.java,
3820 java/awt/MenuComponent.java,
3821 java/awt/MenuContainer.java,
3822 java/awt/PageAttributes.java,
3823 java/awt/Paint.java,
3824 java/awt/PaintContext.java,
3825 java/awt/Panel.java,
3826 java/awt/Point.java,
3827 java/awt/Polygon.java,
3828 java/awt/PrintGraphics.java,
3829 java/awt/PrintJob.java,
3830 java/awt/Rectangle.java,
3831 java/awt/RenderingHints.java,
3832 java/awt/Shape.java,
3833 java/awt/Stroke.java,
3834 java/awt/SystemColor.java,
3835 java/awt/Toolkit.java,
3836 java/awt/Transparency.java,
3837 java/awt/Window.java,
3838 java/awt/color/CMMException.java,
3839 java/awt/color/ColorSpace.java,
3840 java/awt/color/ICC_ColorSpace.java,
3841 java/awt/color/ICC_Profile.java,
3842 java/awt/color/ProfileDataException.java,
3843 java/awt/datatransfer/FlavorTable.java,
3844 java/awt/datatransfer/MimeTypeParseException.java,
3845 java/awt/datatransfer/Transferable.java,
3846 java/awt/datatransfer/UnsupportedFlavorException.java,
3847 java/awt/dnd/Autoscroll.java,
3848 java/awt/dnd/DnDConstants.java,
3849 java/awt/dnd/DragGestureListener.java,
3850 java/awt/dnd/DragSourceAdapter.java,
3851 java/awt/dnd/DragSourceDropEvent.java,
3852 java/awt/dnd/DragSourceListener.java,
3853 java/awt/dnd/DragSourceMotionListener.java,
3854 java/awt/dnd/DropTargetAdapter.java,
3855 java/awt/dnd/DropTargetContext.java,
3856 java/awt/dnd/DropTargetListener.java,
3857 java/awt/dnd/InvalidDnDOperationException.java,
3858 java/awt/dnd/MouseDragGestureRecognizer.java,
3859 java/awt/dnd/peer/DropTargetContextPeer.java,
3860 java/awt/event/AWTEventListener.java,
3861 java/awt/event/AWTEventListenerProxy.java,
3862 java/awt/event/ActionEvent.java,
3863 java/awt/event/AdjustmentEvent.java,
3864 java/awt/event/AdjustmentListener.java,
3865 java/awt/event/ComponentAdapter.java,
3866 java/awt/event/ComponentEvent.java,
3867 java/awt/event/ComponentListener.java,
3868 java/awt/event/ContainerAdapter.java,
3869 java/awt/event/ContainerEvent.java,
3870 java/awt/event/ContainerListener.java,
3871 java/awt/event/FocusAdapter.java,
3872 java/awt/event/FocusEvent.java,
3873 java/awt/event/FocusListener.java,
3874 java/awt/event/InputEvent.java,
3875 java/awt/event/InputMethodEvent.java,
3876 java/awt/event/InputMethodListener.java,
3877 java/awt/event/InvocationEvent.java,
3878 java/awt/event/ItemEvent.java,
3879 java/awt/event/ItemListener.java,
3880 java/awt/event/KeyAdapter.java,
3881 java/awt/event/KeyEvent.java,
3882 java/awt/event/KeyListener.java,
3883 java/awt/event/MouseAdapter.java,
3884 java/awt/event/MouseEvent.java,
3885 java/awt/event/MouseListener.java,
3886 java/awt/event/MouseMotionAdapter.java,
3887 java/awt/event/MouseMotionListener.java,
3888 java/awt/event/MouseWheelEvent.java,
3889 java/awt/event/MouseWheelListener.java,
3890 java/awt/event/PaintEvent.java,
3891 java/awt/event/TextEvent.java,
3892 java/awt/event/TextListener.java,
3893 java/awt/event/WindowAdapter.java,
3894 java/awt/event/WindowEvent.java,
3895 java/awt/event/WindowFocusListener.java,
3896 java/awt/event/WindowListener.java,
3897 java/awt/event/WindowStateListener.java,
3898 java/awt/font/TextHitInfo.java,
3899 java/awt/geom/CubicCurve2D.java,
3900 java/awt/geom/Dimension2D.java,
3901 java/awt/geom/Ellipse2D.java,
3902 java/awt/geom/IllegalPathStateException.java,
3903 java/awt/geom/Line2D.java,
3904 java/awt/geom/NoninvertibleTransformException.java,
3905 java/awt/geom/PathIterator.java,
3906 java/awt/geom/Point2D.java,
3907 java/awt/geom/QuadCurve2D.java,
3908 java/awt/geom/RectangularShape.java,
3909 java/awt/geom/RoundRectangle2D.java,
3910 java/awt/im/InputContext.java,
3911 java/awt/im/InputMethodHighlight.java,
3912 java/awt/im/InputMethodRequests.java,
3913 java/awt/im/InputSubset.java,
3914 java/awt/im/spi/InputMethod.java,
3915 java/awt/im/spi/InputMethodDescriptor.java,
3916 java/awt/image/BandCombineOp.java,
3917 java/awt/image/BandedSampleModel.java,
3918 java/awt/image/ByteLookupTable.java,
3919 java/awt/image/ComponentSampleModel.java,
3920 java/awt/image/DataBuffer.java,
3921 java/awt/image/DataBufferByte.java,
3922 java/awt/image/DataBufferDouble.java,
3923 java/awt/image/DataBufferFloat.java,
3924 java/awt/image/DataBufferInt.java,
3925 java/awt/image/DataBufferShort.java,
3926 java/awt/image/DataBufferUShort.java,
3927 java/awt/image/ImagingOpException.java,
3928 java/awt/image/Kernel.java,
3929 java/awt/image/LookupTable.java,
3930 java/awt/image/MultiPixelPackedSampleModel.java,
3931 java/awt/image/PackedColorModel.java,
3932 java/awt/image/PixelInterleavedSampleModel.java,
3933 java/awt/image/RGBImageFilter.java,
3934 java/awt/image/Raster.java,
3935 java/awt/image/RasterFormatException.java,
3936 java/awt/image/SampleModel.java,
3937 java/awt/image/ShortLookupTable.java,
3938 java/awt/image/SinglePixelPackedSampleModel.java,
3939 java/awt/image/WritableRaster.java,
3940 java/awt/print/PrinterAbortException.java,
3941 java/awt/print/PrinterException.java,
3942 java/awt/print/PrinterIOException.java,
3943 java/beans/AppletInitializer.java,
3944 java/beans/ExceptionListener.java,
3945 java/beans/PropertyChangeEvent.java,
3946 java/beans/PropertyChangeListenerProxy.java,
3947 java/beans/PropertyChangeSupport.java,
3948 java/beans/PropertyDescriptor.java,
3949 java/beans/VetoableChangeListenerProxy.java,
3950 java/beans/VetoableChangeSupport.java,
3951 java/io/BufferedReader.java,
3952 java/io/ByteArrayInputStream.java,
3953 java/io/ByteArrayOutputStream.java,
3954 java/io/CharArrayReader.java,
3955 java/io/CharArrayWriter.java,
3956 java/io/CharConversionException.java,
3957 java/io/DataInput.java,
3958 java/io/DataInputStream.java,
3959 java/io/DataOutput.java,
3960 java/io/DataOutputStream.java,
3961 java/io/EOFException.java,
3962 java/io/FileInputStream.java,
3963 java/io/FileNotFoundException.java,
3964 java/io/FileOutputStream.java,
3965 java/io/FilenameFilter.java,
3966 java/io/FilterInputStream.java,
3967 java/io/FilterOutputStream.java,
3968 java/io/FilterReader.java,
3969 java/io/FilterWriter.java,
3970 java/io/IOException.java,
3971 java/io/InputStream.java,
3972 java/io/InterruptedIOException.java,
3973 java/io/LineNumberInputStream.java,
3974 java/io/LineNumberReader.java,
3975 java/io/ObjectInputStream.java,
3976 java/io/ObjectStreamException.java,
3977 java/io/OptionalDataException.java,
3978 java/io/OutputStream.java,
3979 java/io/OutputStreamWriter.java,
3980 java/io/PrintStream.java,
3981 java/io/PrintWriter.java,
3982 java/io/PushbackInputStream.java,
3983 java/io/PushbackReader.java,
3984 java/io/RandomAccessFile.java,
3985 java/io/Reader.java,
3986 java/io/SequenceInputStream.java,
3987 java/io/Serializable.java,
3988 java/io/StreamCorruptedException.java,
3989 java/io/StreamTokenizer.java,
3990 java/io/StringBufferInputStream.java,
3991 java/io/StringWriter.java,
3992 java/io/SyncFailedException.java,
3993 java/io/UTFDataFormatException.java,
3994 java/io/UnsupportedEncodingException.java,
3995 java/io/WriteAbortedException.java,
3996 java/io/Writer.java,
3997 java/lang/AbstractMethodError.java,
3998 java/lang/ArithmeticException.java,
3999 java/lang/ArrayIndexOutOfBoundsException.java,
4000 java/lang/ArrayStoreException.java,
4001 java/lang/AssertionError.java,
4002 java/lang/Boolean.java,
4003 java/lang/Byte.java,
4004 java/lang/Class.java,
4005 java/lang/ClassCastException.java,
4006 java/lang/ClassCircularityError.java,
4007 java/lang/ClassLoader.java,
4008 java/lang/ClassNotFoundException.java,
4009 java/lang/CloneNotSupportedException.java,
4010 java/lang/Cloneable.java,
4011 java/lang/Comparable.java,
4012 java/lang/Compiler.java,
4013 java/lang/Double.java,
4014 java/lang/Error.java,
4015 java/lang/Exception.java,
4016 java/lang/ExceptionInInitializerError.java,
4017 java/lang/Float.java,
4018 java/lang/IllegalAccessError.java,
4019 java/lang/IllegalAccessException.java,
4020 java/lang/IllegalArgumentException.java,
4021 java/lang/IllegalMonitorStateException.java,
4022 java/lang/IllegalStateException.java,
4023 java/lang/IllegalThreadStateException.java,
4024 java/lang/IncompatibleClassChangeError.java,
4025 java/lang/IndexOutOfBoundsException.java,
4026 java/lang/InheritableThreadLocal.java,
4027 java/lang/InstantiationError.java,
4028 java/lang/InstantiationException.java,
4029 java/lang/Integer.java,
4030 java/lang/InternalError.java,
4031 java/lang/InterruptedException.java,
4032 java/lang/LinkageError.java,
4033 java/lang/Long.java,
4034 java/lang/NegativeArraySizeException.java,
4035 java/lang/NoClassDefFoundError.java,
4036 java/lang/NoSuchFieldError.java,
4037 java/lang/NoSuchFieldException.java,
4038 java/lang/NoSuchMethodError.java,
4039 java/lang/NoSuchMethodException.java,
4040 java/lang/NullPointerException.java,
4041 java/lang/Number.java,
4042 java/lang/NumberFormatException.java,
4043 java/lang/OutOfMemoryError.java,
4044 java/lang/Process.java,
4045 java/lang/Runnable.java,
4046 java/lang/Runtime.java,
4047 java/lang/RuntimeException.java,
4048 java/lang/RuntimePermission.java,
4049 java/lang/SecurityException.java,
4050 java/lang/SecurityManager.java,
4051 java/lang/Short.java,
4052 java/lang/StackOverflowError.java,
4053 java/lang/StackTraceElement.java,
4054 java/lang/StringBuffer.java,
4055 java/lang/StringIndexOutOfBoundsException.java,
4056 java/lang/ThreadDeath.java,
4057 java/lang/ThreadGroup.java,
4058 java/lang/Throwable.java,
4059 java/lang/UnsatisfiedLinkError.java,
4060 java/lang/UnsupportedOperationException.java,
4061 java/lang/VerifyError.java,
4062 java/lang/VirtualMachineError.java,
4063 java/lang/reflect/AccessibleObject.java,
4064 java/lang/reflect/Array.java,
4065 java/lang/reflect/InvocationTargetException.java,
4066 java/lang/reflect/Member.java,
4067 java/lang/reflect/Modifier.java,
4068 java/lang/reflect/Proxy.java,
4069 java/lang/reflect/ReflectPermission.java,
4070 java/lang/reflect/UndeclaredThrowableException.java,
4071 java/math/BigInteger.java,
4072 java/net/NetworkInterface.java,
4073 java/nio/ByteBufferHelper.java,
4074 java/nio/ByteBufferImpl.java,
4075 java/nio/DirectByteBufferImpl.java,
4076 java/nio/DoubleBufferImpl.java,
4077 java/nio/FloatBufferImpl.java,
4078 java/nio/IntBufferImpl.java,
4079 java/nio/LongBufferImpl.java,
4080 java/nio/ShortBufferImpl.java,
4081 java/nio/channels/Channel.java,
4082 java/nio/channels/IllegalBlockingModeException.java,
4083 java/nio/charset/spi/CharsetProvider.java,
4084 java/security/AccessControlException.java,
4085 java/security/BasicPermission.java,
4086 java/security/DigestException.java,
4087 java/security/DigestInputStream.java,
4088 java/security/DigestOutputStream.java,
4089 java/security/GeneralSecurityException.java,
4090 java/security/Guard.java,
4091 java/security/GuardedObject.java,
4092 java/security/InvalidAlgorithmParameterException.java,
4093 java/security/InvalidKeyException.java,
4094 java/security/InvalidParameterException.java,
4095 java/security/Key.java,
4096 java/security/KeyException.java,
4097 java/security/KeyManagementException.java,
4098 java/security/KeyStoreException.java,
4099 java/security/MessageDigestSpi.java,
4100 java/security/NoSuchAlgorithmException.java,
4101 java/security/NoSuchProviderException.java,
4102 java/security/Permission.java,
4103 java/security/PermissionCollection.java,
4104 java/security/Permissions.java,
4105 java/security/Principal.java,
4106 java/security/PrivateKey.java,
4107 java/security/PrivilegedActionException.java,
4108 java/security/ProviderException.java,
4109 java/security/PublicKey.java,
4110 java/security/SecureRandom.java,
4111 java/security/SecureRandomSpi.java,
4112 java/security/SignatureException.java,
4113 java/security/SignatureSpi.java,
4114 java/security/SignedObject.java,
4115 java/security/Signer.java,
4116 java/security/UnrecoverableKeyException.java,
4117 java/security/UnresolvedPermission.java,
4118 java/security/acl/AclNotFoundException.java,
4119 java/security/acl/LastOwnerException.java,
4120 java/security/acl/NotOwnerException.java,
4121 java/security/cert/CertPath.java,
4122 java/security/cert/CertPathBuilderException.java,
4123 java/security/cert/CertPathValidatorException.java,
4124 java/security/cert/CertStoreException.java,
4125 java/text/BreakIterator.java,
4126 java/text/ChoiceFormat.java,
4127 java/text/CollationElementIterator.java,
4128 java/text/CollationKey.java,
4129 java/text/Collator.java,
4130 java/text/DateFormat.java,
4131 java/text/DateFormatSymbols.java,
4132 java/text/DecimalFormat.java,
4133 java/text/DecimalFormatSymbols.java,
4134 java/text/FieldPosition.java,
4135 java/text/Format.java,
4136 java/text/NumberFormat.java,
4137 java/text/ParseException.java,
4138 java/text/ParsePosition.java,
4139 java/text/StringCharacterIterator.java,
4140 java/util/AbstractCollection.java,
4141 java/util/AbstractList.java,
4142 java/util/AbstractMap.java,
4143 java/util/AbstractSequentialList.java,
4144 java/util/AbstractSet.java,
4145 java/util/ArrayList.java,
4146 java/util/Arrays.java,
4147 java/util/BitSet.java,
4148 java/util/Collection.java,
4149 java/util/Collections.java,
4150 java/util/Comparator.java,
4151 java/util/ConcurrentModificationException.java,
4152 java/util/Currency.java,
4153 java/util/Date.java,
4154 java/util/EmptyStackException.java,
4155 java/util/Enumeration.java,
4156 java/util/EventListener.java,
4157 java/util/EventListenerProxy.java,
4158 java/util/EventObject.java,
4159 java/util/HashMap.java,
4160 java/util/HashSet.java,
4161 java/util/Hashtable.java,
4162 java/util/IdentityHashMap.java,
4163 java/util/Iterator.java,
4164 java/util/LinkedHashSet.java,
4165 java/util/LinkedList.java,
4166 java/util/List.java,
4167 java/util/ListIterator.java,
4168 java/util/ListResourceBundle.java,
4170 java/util/MissingResourceException.java,
4171 java/util/NoSuchElementException.java,
4172 java/util/Observable.java,
4173 java/util/Observer.java,
4174 java/util/Properties.java,
4175 java/util/PropertyPermissionCollection.java,
4176 java/util/RandomAccess.java,
4178 java/util/SortedMap.java,
4179 java/util/SortedSet.java,
4180 java/util/Stack.java,
4181 java/util/StringTokenizer.java,
4182 java/util/TooManyListenersException.java,
4183 java/util/TreeMap.java,
4184 java/util/TreeSet.java,
4185 java/util/Vector.java,
4186 java/util/logging/FileHandler.java,
4187 java/util/logging/Level.java,
4188 java/util/prefs/BackingStoreException.java,
4189 java/util/prefs/InvalidPreferencesFormatException.java,
4190 java/util/prefs/Preferences.java,
4191 javax/accessibility/Accessible.java,
4192 javax/accessibility/AccessibleAction.java,
4193 javax/accessibility/AccessibleBundle.java,
4194 javax/accessibility/AccessibleComponent.java,
4195 javax/accessibility/AccessibleContext.java,
4196 javax/accessibility/AccessibleEditableText.java,
4197 javax/accessibility/AccessibleExtendedComponent.java,
4198 javax/accessibility/AccessibleExtendedTable.java,
4199 javax/accessibility/AccessibleHyperlink.java,
4200 javax/accessibility/AccessibleHypertext.java,
4201 javax/accessibility/AccessibleIcon.java,
4202 javax/accessibility/AccessibleKeyBinding.java,
4203 javax/accessibility/AccessibleRelation.java,
4204 javax/accessibility/AccessibleRelationSet.java,
4205 javax/accessibility/AccessibleResourceBundle.java,
4206 javax/accessibility/AccessibleRole.java,
4207 javax/accessibility/AccessibleSelection.java,
4208 javax/accessibility/AccessibleState.java,
4209 javax/accessibility/AccessibleStateSet.java,
4210 javax/accessibility/AccessibleTable.java,
4211 javax/accessibility/AccessibleTableModelChange.java,
4212 javax/accessibility/AccessibleText.java,
4213 javax/accessibility/AccessibleValue.java,
4214 javax/imageio/IIOException.java,
4215 javax/imageio/ImageIO.java,
4216 javax/imageio/spi/IIOServiceProvider.java,
4217 javax/imageio/spi/ImageInputStreamSpi.java,
4218 javax/imageio/spi/ImageOutputStreamSpi.java,
4219 javax/imageio/spi/ImageReaderWriterSpi.java,
4220 javax/imageio/spi/ImageTranscoderSpi.java,
4221 javax/imageio/spi/RegisterableService.java,
4222 javax/imageio/spi/ServiceRegistry.java,
4223 javax/imageio/stream/IIOByteBuffer.java,
4224 javax/imageio/stream/ImageInputStream.java,
4225 javax/imageio/stream/ImageOutputStream.java,
4226 javax/naming/Binding.java,
4227 javax/naming/CannotProceedException.java,
4228 javax/naming/CompositeName.java,
4229 javax/naming/CompoundName.java,
4230 javax/naming/LinkException.java,
4231 javax/naming/LinkRef.java,
4232 javax/naming/NameClassPair.java,
4233 javax/naming/Reference.java,
4234 javax/naming/ReferralException.java,
4235 javax/naming/directory/Attribute.java,
4236 javax/naming/directory/AttributeModificationException.java,
4237 javax/naming/directory/Attributes.java,
4238 javax/naming/directory/DirContext.java,
4239 javax/naming/directory/ModificationItem.java,
4240 javax/naming/directory/SearchControls.java,
4241 javax/naming/directory/SearchResult.java,
4242 javax/naming/event/EventContext.java,
4243 javax/naming/event/EventDirContext.java,
4244 javax/naming/event/NamespaceChangeListener.java,
4245 javax/naming/event/NamingExceptionEvent.java,
4246 javax/naming/event/NamingListener.java,
4247 javax/naming/event/ObjectChangeListener.java,
4248 javax/naming/ldap/Control.java,
4249 javax/naming/ldap/ExtendedResponse.java,
4250 javax/naming/ldap/HasControls.java,
4251 javax/naming/ldap/LdapContext.java,
4252 javax/naming/ldap/UnsolicitedNotification.java,
4253 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4254 javax/naming/ldap/UnsolicitedNotificationListener.java,
4255 javax/naming/spi/DirectoryManager.java,
4256 javax/naming/spi/ResolveResult.java,
4257 javax/naming/spi/Resolver.java,
4258 javax/security/auth/callback/Callback.java,
4259 javax/security/auth/callback/CallbackHandler.java,
4260 javax/security/auth/callback/ChoiceCallback.java,
4261 javax/security/auth/callback/ConfirmationCallback.java,
4262 javax/security/auth/callback/LanguageCallback.java,
4263 javax/security/auth/callback/NameCallback.java,
4264 javax/security/auth/callback/PasswordCallback.java,
4265 javax/security/auth/callback/TextInputCallback.java,
4266 javax/security/auth/callback/TextOutputCallback.java,
4267 javax/security/auth/callback/UnsupportedCallbackException.java,
4268 javax/security/sasl/Sasl.java,
4269 javax/security/sasl/SaslServerFactory.java,
4270 javax/swing/DefaultBoundedRangeModel.java,
4271 javax/swing/JComponent.java,
4272 javax/swing/JList.java,
4273 javax/swing/JProgressBar.java,
4274 javax/swing/JRadioButton.java,
4275 javax/swing/JTextArea.java,
4276 javax/swing/JTextField.java,
4277 javax/swing/JToggleButton.java,
4278 javax/swing/JTree.java,
4279 javax/swing/SpinnerListModel.java,
4280 javax/swing/event/EventListenerList.java,
4281 javax/swing/text/JTextComponent.java,
4282 javax/swing/text/StringContent.java,
4283 javax/swing/text/Utilities.java,
4284 javax/swing/undo/UndoManager.java,
4285 javax/swing/undo/UndoableEditSupport.java,
4286 javax/transaction/HeuristicCommitException.java,
4287 javax/transaction/HeuristicMixedException.java,
4288 javax/transaction/HeuristicRollbackException.java,
4289 javax/transaction/InvalidTransactionException.java,
4290 javax/transaction/NotSupportedException.java,
4291 javax/transaction/RollbackException.java,
4292 javax/transaction/Status.java,
4293 javax/transaction/Synchronization.java,
4294 javax/transaction/SystemException.java,
4295 javax/transaction/Transaction.java,
4296 javax/transaction/TransactionManager.java,
4297 javax/transaction/TransactionRequiredException.java,
4298 javax/transaction/TransactionRolledbackException.java,
4299 javax/transaction/UserTransaction.java,
4300 javax/transaction/xa/XAException.java,
4301 javax/transaction/xa/XAResource.java,
4302 javax/transaction/xa/Xid.java,
4303 javax/xml/XMLConstants.java,
4304 javax/xml/datatype/DatatypeConfigurationException.java,
4305 javax/xml/datatype/DatatypeConstants.java,
4306 javax/xml/datatype/DatatypeFactory.java,
4307 javax/xml/datatype/Duration.java,
4308 javax/xml/datatype/XMLGregorianCalendar.java,
4309 javax/xml/namespace/NamespaceContext.java,
4310 javax/xml/namespace/QName.java,
4311 javax/xml/parsers/DocumentBuilder.java,
4312 javax/xml/parsers/DocumentBuilderFactory.java,
4313 javax/xml/parsers/FactoryConfigurationError.java,
4314 javax/xml/parsers/ParserConfigurationException.java,
4315 javax/xml/parsers/SAXParser.java,
4316 javax/xml/parsers/SAXParserFactory.java,
4317 javax/xml/transform/ErrorListener.java,
4318 javax/xml/transform/OutputKeys.java,
4319 javax/xml/transform/Result.java,
4320 javax/xml/transform/Source.java,
4321 javax/xml/transform/SourceLocator.java,
4322 javax/xml/transform/Templates.java,
4323 javax/xml/transform/Transformer.java,
4324 javax/xml/transform/TransformerConfigurationException.java,
4325 javax/xml/transform/TransformerException.java,
4326 javax/xml/transform/TransformerFactory.java,
4327 javax/xml/transform/TransformerFactoryConfigurationError.java,
4328 javax/xml/transform/URIResolver.java,
4329 javax/xml/transform/dom/DOMLocator.java,
4330 javax/xml/transform/dom/DOMResult.java,
4331 javax/xml/transform/dom/DOMSource.java,
4332 javax/xml/transform/sax/SAXResult.java,
4333 javax/xml/transform/sax/SAXSource.java,
4334 javax/xml/transform/sax/SAXTransformerFactory.java,
4335 javax/xml/transform/sax/TemplatesHandler.java,
4336 javax/xml/transform/sax/TransformerHandler.java,
4337 javax/xml/transform/stream/StreamResult.java,
4338 javax/xml/transform/stream/StreamSource.java,
4339 javax/xml/validation/Schema.java,
4340 javax/xml/validation/SchemaFactory.java,
4341 javax/xml/validation/TypeInfoProvider.java,
4342 javax/xml/validation/Validator.java,
4343 javax/xml/validation/ValidatorHandler.java,
4344 javax/xml/xpath/XPathConstants.java,
4345 javax/xml/xpath/XPathException.java,
4346 javax/xml/xpath/XPathExpression.java,
4347 javax/xml/xpath/XPathExpressionException.java,
4348 javax/xml/xpath/XPathFactory.java,
4349 javax/xml/xpath/XPathFactoryConfigurationException.java,
4350 javax/xml/xpath/XPathFunction.java,
4351 javax/xml/xpath/XPathFunctionException.java,
4352 javax/xml/xpath/XPathFunctionResolver.java:
4353 Fixed usage of @author tag, reworked import statements,
4354 removed CVS tags, changed the modifier order and fixed
4355 HTML usage in javadocs.
4357 2005-02-16 Julian Scheid <julian@sektor37.de>
4359 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4361 (encodeLoop): Likewise.
4363 2005-02-16 Mark Wielaard <mark@klomp.org>
4365 * Makefile.am (ordinary_java_source_files): Add new files
4366 gnu/java/security/ber/BER.java,
4367 gnu/java/security/ber/BEREncodingException.java,
4368 gnu/java/security/ber/BERReader.java,
4369 gnu/java/security/ber/BERValue.java,
4370 gnu/java/security/pkcs/PKCS7SignedData.java and
4371 gnu/java/security/pkcs/SignerInfo.java.
4372 * Makefile.in: Regenerated.
4374 2005-02-16 Casey Marshall <csm@gnu.org>
4376 * gnu/java/security/provider/GnuDSAPrivateKey.java
4377 (encodedKey): new field.
4378 (getFormat): return "PKCS#8".
4379 (getEncoded): implemented.
4380 (toString): check for 'null' values.
4381 * gnu/java/security/provider/GnuDSAPublicKey.java
4382 (encodedKey): new field.
4383 (getFormat): return "X.509".
4384 (getEncoded): implemented.
4385 (toString): check for 'null' values.
4387 2005-02-16 Michael Koch <konqueror@gmx.de>
4389 * java/util/jar/JarFile.java: Imports reworked.
4391 2005-02-16 Mark Wielaard <mark@klomp.org>
4393 * java/util/jar/JarFile.java (verify): Make package private.
4394 (signaturesRead): Likewise.
4395 (verified): Likewise.
4396 (entryCerts): Likewise.
4399 (entries): Construct new JarEnumeration with reference to this.
4400 (JarEnumeration): Make static.
4401 (JarEnumeration.jarfile): New field.
4402 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4403 Compare verified value to Boolean.TRUE or Boolean.False only
4404 when verify is true.
4405 (getEntry): Make synchronized. Compare value of verified to
4407 (getInputStream): Construct EntryInputStream with reference to this.
4408 (getManifest): Make synchronized.
4409 (EntryInputStream): Make static.
4410 (EntryInputStream.jarfile): New field.
4411 (EntryInputStream.EntryInputStream): Check if manifest exists,
4412 before getting attributes.
4413 (eof): Synchronize on jarfile.
4415 2005-02-16 Casey Marshall <csm@gnu.org>
4417 * java/util/jar/JarFile.java (verify): return if the jar is signed
4418 with an unsupported algorithm.
4420 2005-02-16 Mark Wielaard <mark@klomp.org>
4422 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4423 InputStream as argument.
4424 (getInputStream): Construct a new EntryInputStream with the result of
4425 super.getInputStream(entry).
4427 2005-02-16 Casey Marshall <csm@gnu.org>
4429 Signed JAR file support.
4430 * java/net/URLClassLoader.java
4431 (JarURLResource.getCertificates): re-read jar entry to ensure
4432 certificates are picked up.
4433 (findClass): fill in class `signers' field, too.
4434 * java/util/jar/JarFile.java (META_INF): new constant.
4435 (PKCS7_DSA_SUFFIX): new constant.
4436 (PKCS7_RSA_SUFFIX): new constant.
4437 (DIGEST_KEY_SUFFIX): new constant.
4438 (SF_SUFFIX): new constant.
4439 (MD2_OID): new constant.
4440 (MD4_OID): new constant.
4441 (MD5_OID): new constant.
4442 (SHA1_OID): new constant.
4443 (DSA_ENCRYPTION_OID): new constant.
4444 (RSA_ENCRYPTION_OID): new constant.
4445 (signaturesRead): new field.
4446 (verified): new field.
4447 (entryCerts): new field.
4448 (DEBUG): new constant.
4449 (debug): new method.
4450 (JarEnumeration.nextElement): fill in entry certificates, read
4451 signatures if they haven't been read.
4452 (getEntry): likewise.
4453 (getInputStream): verify stream if it hasn't been verified yet.
4454 (readSignatures): new method.
4455 (verify): new method.
4456 (verifyHashes): new method.
4457 (readManifestEntry): new method.
4458 (EntryInputStream): new class.
4459 * gnu/java/io/Base64InputStream.java (decode): new class
4461 * gnu/java/security/der/DERReader.java don't make class
4463 (in): made protected.
4465 (readLength): likewise.
4466 * gnu/java/security/ber/BER.java,
4467 * gnu/java/security/ber/BEREncodingException.java,
4468 * gnu/java/security/ber/BERReader.java,
4469 * gnu/java/security/ber/BERValue.java,
4470 * gnu/java/security/pkcs/PKCS7SignedData.java,
4471 * gnu/java/security/pkcs/SignerInfo.java:
4474 2005-02-16 Tom Tromey <tromey@redhat.com>
4476 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4477 copied file on exit.
4479 2005-02-15 Mark Wielaard <mark@klomp.org>
4481 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4483 2005-02-15 Michael Koch <konqueror@gmx.de>
4485 * gnu/java/awt/peer/gtk/GtkArg.java,
4486 gnu/java/awt/peer/gtk/GtkArgList.java:
4489 2005-02-15 Craig Black <craig.black@aonix.com>
4491 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4492 (postMenuActionEvent): Implement to notify ItemListeners.
4493 * java/awt/CheckboxMenuItem.java
4494 (dispatchEventImpl): Update state on ItemEvent.
4495 * java/awt/MenuItem.java
4496 (processActionEvent): Retarget event source.
4498 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4500 * gnu/java/awt/color/ClutProfileConverter.java,
4501 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4502 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4503 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4504 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4505 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4506 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4507 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4508 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4509 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4510 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4511 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4512 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4513 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4514 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4515 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4516 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4517 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4518 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4519 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4520 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4521 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4522 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4523 gnu/java/awt/peer/gtk/GtkToolkit.java,
4524 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4525 javax/swing/JPopupMenu.java,
4526 javax/swing/JSpinner.java,
4527 javax/swing/SortingFocusTraversalPolicy.java,
4528 javax/swing/SwingUtilities.java,
4529 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4530 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4531 javax/swing/tree/DefaultMutableTreeNode.java:
4532 Removed unused imports and expanded starred
4535 2005-02-15 Mark Wielaard <mark@klomp.org>
4537 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4538 IllegalArgumentException when the given String is null.
4540 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4541 when given keystoke sequence cannot be parsed.
4543 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4544 if one is installed. Only install the given menubar is not null.
4546 * javax/swing/JViewport.java (getViewSize): Return an empty
4547 Dimension when the view isn't set or preferred component size when
4550 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4551 empty Dimension when there is no view set.
4552 (minimumLayoutSize): Likewise.
4553 (layoutContainer): Don't try to layout when there is no view.
4555 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4558 * include/jawt.h: Likewise.
4559 * include/jawt_md.h: Likewise.
4560 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4562 * jni/classpath/classpath_jawt.h: Likewise.
4563 * jni/gtk-peer/gtk_jawt.c: Likewise.
4564 * Makefile.am: Build libjawt.so.
4566 2005-02-15 Michael Koch <konqueror@gmx.de>
4568 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4569 Merged file header with classpath CVS head.
4570 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4571 Merged code formatting with classpath CVS head.
4572 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4574 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4575 Handle special JNI strings with 2 '\0' at the end.
4576 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4577 Merged file header with classpath CVS head.
4578 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4579 Merged code formatting with classpath CVS head.
4581 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4584 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4585 (handle_response): Use GTK_RESPONSE_ACCEPT.
4587 2005-02-15 Graydon Hoare <graydon@redhat.com>
4589 * Makefile.am: Fix library build breakage.
4590 * Makefile.in: Regenerate.
4592 2005-02-15 Michael Koch <konqueror@gmx.de>
4594 * javax/swing/JTabbedPane.java
4595 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4597 2005-02-15 Michael Koch <konqueror@gmx.de>
4599 * javax/swing/tree/DefaultMutableTreeNode.java:
4600 Reworked Javadocs all over.
4601 (getPathToRoot): Fixed direction of result array initialization.
4603 2005-02-15 Michael Koch <konqueror@gmx.de>
4605 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4606 Fix includes for cairo 0.3.0 snappshot.
4607 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4608 Merged file header from classpath CVS HEAD.
4610 2005-02-15 Craig Black <craig.black@aonix.com>
4612 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4613 (copyState): Pass a JNI global reference to signal handler.
4614 (realize_cb): Use and free JNI global reference.
4615 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4616 (create): Pass a JNI global reference to signal handler.
4617 (selection_changed): Match declaration.
4618 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4619 (dispose): Do not remove entries from state tables until after widget is
4622 2005-02-15 Michael Koch <konqueror@gmx.de>
4624 * java/awt/Container.javai (paramString):
4625 If layoutMgr is null just return result of super.paramString().
4626 * java/awt/Scrollbar.java: Reformatted.
4627 * java/awt/im/InputContext.java (static):
4628 Removed redundant initializations.
4630 2005-02-15 Michael Koch <konqueror@gmx.de>
4632 * javax/swing/ImageIcon.java,
4633 javax/swing/UIManager.java,
4634 javax/swing/text/EditorKit.java,
4635 javax/swing/text/Segment.java:
4636 More whitespace cleanups.
4638 2005-02-15 Michael Koch <konqueror@gmx.de>
4640 * gnu/java/awt/EmbeddedWindow.java,
4641 gnu/java/awt/image/ImageDecoder.java,
4642 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4643 java/awt/DefaultKeyboardFocusManager.java,
4644 java/awt/Frame.java,
4645 java/awt/image/RGBImageFilter.java,
4646 javax/swing/AbstractButton.java,
4647 javax/swing/ActionMap.java,
4648 javax/swing/ComponentInputMap.java,
4649 javax/swing/DefaultDesktopManager.java,
4650 javax/swing/ImageIcon.java,
4651 javax/swing/InputMap.java,
4652 javax/swing/JButton.java,
4653 javax/swing/JCheckBox.java,
4654 javax/swing/JCheckBoxMenuItem.java,
4655 javax/swing/JEditorPane.java,
4656 javax/swing/JMenu.java,
4657 javax/swing/JMenuItem.java,
4658 javax/swing/JOptionPane.java,
4659 javax/swing/JRootPane.java,
4660 javax/swing/JTable.java,
4661 javax/swing/MenuSelectionManager.java,
4662 javax/swing/RepaintManager.java,
4663 javax/swing/ScrollPaneLayout.java,
4664 javax/swing/SortingFocusTraversalPolicy.java,
4665 javax/swing/UIManager.java,
4666 javax/swing/ViewportLayout.java,
4667 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4668 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4669 javax/swing/plaf/basic/BasicLabelUI.java,
4670 javax/swing/plaf/basic/BasicListUI.java,
4671 javax/swing/plaf/basic/BasicMenuItemUI.java,
4672 javax/swing/plaf/basic/BasicMenuUI.java,
4673 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4674 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4675 javax/swing/plaf/basic/BasicRootPaneUI.java,
4676 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4677 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4678 javax/swing/plaf/basic/BasicTextUI.java,
4679 javax/swing/table/TableColumnModel.java,
4680 javax/swing/text/AbstractDocument.java,
4681 javax/swing/text/EditorKit.java,
4682 javax/swing/text/Position.java,
4683 javax/swing/text/Segment.java,
4684 javax/swing/text/StyledEditorKit.java,
4685 javax/swing/text/ViewFactory.java:
4686 Cleanup whitespace differences to classpath CVS HEAD.
4688 2005-02-15 Graydon Hoare <graydon@redhat.com>
4690 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4691 (finalize): Call finish from here.
4692 (produce): Not from here.
4693 * Makefile.am (gtk_c_source_files):
4694 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4695 * Makefile.in: Regenerate.
4696 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4698 (cairoDrawGdkTextLayout):
4700 (getPeerTextMetrics):
4701 (getPeerFontMetrics): Remove.
4702 (setFont): Don't call cairoSetFont.
4703 (cairoDrawGlyphVector): Accept font peer argument.
4704 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4705 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4706 (ensure_metrics_cairo):
4707 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4708 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4709 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4710 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4712 (metrics_surface): Remove.
4713 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4714 Pass and install font peer.
4716 2005-02-15 Graydon Hoare <graydon@redhat.com>
4718 * Makefile.am: Create "split library" structure.
4719 * Makefile.in: Regenerate.
4721 2005-02-15 Graydon Hoare <graydon@redhat.com>
4723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4724 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4725 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4727 Release GDK lock during upcalls.
4729 2005-02-15 Graydon Hoare <graydon@redhat.com>
4731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4732 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4733 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4734 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4735 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4737 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4740 (getTextMetrics): New native methods.
4741 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4742 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4743 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4744 * Makefile.in: Regenerate.
4746 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4748 * javax/swing/SwingUtilities.java:
4749 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4750 Implemented and documented.
4751 (getAccessibleChild(java.awt.Component, int)): Likewise.
4752 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4753 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4754 (getAccessibleStateSet(java.awt.Component)): Likewise.
4756 2005-02-15 Michael Koch <konqueror@gmx.de>
4758 * javax/swing/SwingUtilities.java
4759 (getFontMetrics): Removed.
4761 2005-02-15 Michael Koch <konqueror@gmx.de>
4763 * java/awt/Container.java
4764 (paramString): Implemented.
4765 * javax/swing/AbstractButton.java
4766 (paramString): Implemented.
4767 * javax/swing/JComponent.java
4768 (paramString): Implemented.
4769 * javax/swing/JMenu.java
4770 (paramString): Implemented.
4771 * javax/swing/JMenuBar.java
4772 (paramString): Implemented.
4773 * javax/swing/JMenuItem.java
4774 (paramString): Implemented.
4775 * javax/swing/JPopupMenu.java
4776 (paramString): Implemented.
4778 2005-02-15 Michael Koch <konqueror@gmx.de>
4780 * javax/swing/JMenu.java
4781 (uiClassID): Removed.
4782 (JMenu): Set invoker on popup menu.
4783 (getUIClassID): Return id directly.
4784 (getItemCount): Simply return getMenuComponentCount().
4786 (isTopLevelMenu): Simplified.
4787 * javax/swing/JMenuItem.java
4788 (uiClassID): Removed.
4789 (getUIClassID): Return id directly.
4790 * javax/swing/JPopupMenu.java
4791 (uiClassID): Removed.
4792 (JPopupMenu): Always initialize correctly.
4793 (getSubElements): Only return components implementing MenuElement
4795 (HeavyWeightPopup.hide): Removed.
4797 2005-02-15 Michael Koch <konqueror@gmx.de>
4799 * java/awt/image/ReplicateScaleFilter.java
4800 (replicatePixels): Made private.
4801 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4802 (DefaultRGBChooserPanel): Made package private.
4803 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4804 (RecentSwatchPanel): Likewise.
4805 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4806 (MouseInputAdapter): Made abstract.
4807 * javax/swing/tree/DefaultMutableTreeNode.java
4809 (growTree): Likewise.
4811 2005-02-15 Michael Koch <konqueror@gmx.de>
4813 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4816 2005-02-15 Michael Koch <konqueror@gmx.de>
4818 * javax/swing/JComponent.java (getComponentGraphics):
4819 Removed accidently commited code.
4821 2005-02-15 Graydon Hoare <graydon@redhat.com>
4823 * java/awt/dnd/DropTarget.java
4824 (addDropTargetListener): Despite documentation, do not throw.
4825 * javax/swing/JComponent.java: Set a default DropTarget.
4827 2005-02-15 Michael Koch <konqueror@gmx.de>
4829 * javax/swing/AbstractAction.java
4830 (ENABLED_PROPERTY): Removed.
4831 (setEnabled): Replaced constant with real string.
4832 * javax/swing/AbstractButton.java
4833 (createActionPropertyChangeListener.propertyChange): Likewise.
4834 * javax/swing/JComboBox.java
4835 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4836 (EDITABLE_CHANGED_PROPERTY): Removed.
4837 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4838 (ENABLED_CHANGED_PROPERTY):Likewise.
4839 (RENDERER_CHANGED_PROPERTY):Likewise.
4840 (EDITOR_CHANGED_PROPERTY):Likewise.
4841 (MODEL_CHANGED_PROPERTY):Likewise.
4842 (uiClassID):Likewise.
4843 (getUIClassID): Replaced constant with real string.
4844 (setModel):Likewise.
4845 (setEditable):Likewise.
4846 (setMaximumRowCount):Likewise.
4847 (setRenderer):Likewise.
4848 (setEditor):Likewise.
4849 (setEnabled):Likewise.
4850 * javax/swing/JLabel.java
4851 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
4852 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
4853 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
4854 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4855 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4856 (ICON_CHANGED_PROPERTY): Likewise.
4857 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
4858 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
4859 (TEXT_CHANGED_PROPERTY): Likewise.
4860 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4861 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4862 (setText): Replaced constant with real string.
4863 (setIcon): Likewise.
4864 (setDisabledIcon): Likewise.
4865 (setDisplayedMnemonic): Likewise.
4866 (setIconTextGap): Likewise.
4867 (setVerticalAlignment): Likewise.
4868 (setHorizontalAlignment): Likewise.
4869 (setVerticalTextPosition): Likewise.
4870 (setHorizontalTextPosition): Likewise.
4871 (setLabelFor): Replaced constant with real string.
4872 Fire property change event after property got changed.
4873 * javax/swing/JList.java
4874 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
4875 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
4876 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
4877 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
4878 (MODEL_PROPERTY_CHANGED): Likewise.
4879 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
4880 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
4881 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
4882 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
4883 (setFixedCellWidth): Reimplemented.
4884 (setFixedCellHeight): Exit if new value is identical.
4885 Replaced constant with real string.
4886 (setSelectionBackground): Likewise.
4887 (setSelectionForeground): Likewise.
4888 (setPrototypeCellValue): Likewise.
4889 (setCellRenderer): Replaced constant with real string.
4890 (setModel): Likewise.
4891 (setSelectionModel): Likewise.
4892 * javax/swing/JMenuBar.java
4893 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4894 (MODEL_CHANGED_PROPERTY): Likewise.
4895 (MARGIN_CHANGED_PROPERTY): Likewise.
4896 (setBorderPainted): Reimplemented.
4897 (setMargin): Likewise.
4898 (setSelectionModel): Replaced constant with real string.
4899 * javax/swing/JPopupMenu.java
4900 (LABEL_CHANGED_PROPERTY): Removed.
4901 (VISIBLE_CHANGED_PROPERTY): Likewise.
4902 (borderPainted): Likewise.
4903 (setLabel): Replaced constant with real string.
4904 (setVisible): Exit if new value is identical.
4905 Replaced constant with real string.
4906 * javax/swing/JProgressBar.java
4907 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4908 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4909 (STRING_CHANGED_PROPERTY): Likewise.
4910 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
4911 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
4912 (setOrientation): Replaced constant with real string.
4913 (setStringPainted): Likewise.
4914 (setString): Likewise.
4915 (setBorderPainted): Likewise.
4916 (setIndeterminate): Likewise.
4917 * javax/swing/JScrollBar.java
4918 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
4919 (MODEL_CHANGED_PROPERTY): Likewise.
4920 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4921 (setOrientation): Replaced constant with real string.
4922 (setModel): Likewise.
4923 (setUnitIncrement): Likewise.
4924 (setBlockIncrement): Likewise.
4925 * javax/swing/JScrollPane.java
4926 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
4927 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
4928 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4929 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4930 (LAYOUT_CHANGED_PROPERTY): Likewise.
4931 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
4932 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4933 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4934 (VIEWPORT_CHANGED_PROPERTY): Likewise.
4935 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
4936 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
4937 (setComponentOrientation): Replaced constant with real string.
4938 (setColumnHeader): Likewise.
4939 (setHorizontalScrollBar): Likewise.
4940 (setHorizontalScrollBarPolicy): Likewise.
4941 (setRowHeader): Likewise.
4942 (setVerticalScrollBar): Likewise.
4943 (setVerticalScrollBarPolicy): Likewise.
4944 (setWheelScrollingEnabled): Likewise.
4945 (setViewport): Likewise.
4946 (setViewportBorder): Likewise.
4947 * javax/swing/JSlider.java
4948 (INVERTED_CHANGED_PROPERTY): Removed.
4949 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
4950 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4951 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4952 (MODEL_CHANGED_PROPERTY): Likewise.
4953 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4954 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
4955 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
4956 (setModel): Replaced constant with real string.
4957 (setOrientation): Likewise.
4958 (setLabelTable): Likewise.
4959 (setInverted): Likewise.
4960 (setMajorTickSpacing): Likewise.
4961 (setMinorTickSpacing): Likewise.
4962 (setPaintTicks): Likewise.
4963 (setPaintLabels): Likewise.
4964 * javax/swing/JTabbedPane.java
4965 (MODEL_CHANGED_PROPERTY): Removed.
4966 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
4967 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
4968 (setModel): Replaced constant with real string.
4969 (setTabPlacement): Likewise.
4970 (setTabLayoutPolicy): Likewise.
4971 * javax/swing/JToolBar.java
4972 (ORIENTATION_CHANGED_PROPERTY): Removed.
4973 (FLOATABLE_CHANGED_PROPERTY): Likewise.
4974 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
4975 (MARGIN_CHANGED_PROPERTY): Likewise.
4976 (ROLLOVER_CHANGED_PROPERTY): Likewise.
4977 (setRollover): Replaced constant with real string.
4978 (setMargin): Likewise.
4979 (setBorderPainted): Likewise.
4980 (setFloatable): Likewise.
4981 (setOrientation): Likewise.
4982 * javax/swing/plaf/basic/BasicComboBoxUI.java
4983 (PropertyChangeHandler.propertyChange): Likewise.
4984 * javax/swing/plaf/basic/BasicComboPopup.java
4985 (PropertyChangeHandler.propertyChange): Likewise.
4986 * javax/swing/plaf/basic/BasicMenuBarUI.java
4987 (PropertyChangeHandler.propertyChange): Likewise.
4988 * javax/swing/plaf/basic/BasicProgressBarUI.java
4989 (PropertyChangeHandler.propertyChange): Likewise.
4990 * javax/swing/plaf/basic/BasicScrollBarUI.java
4991 (PropertyChangeHandler.propertyChange): Likewise.
4992 * javax/swing/plaf/basic/BasicSliderUI.java
4993 (PropertyChangeHandler.propertyChange): Likewise.
4994 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4995 (PropertyChangeHandler.propertyChange): Likewise.
4996 * javax/swing/plaf/basic/BasicToolBarUI.java
4997 (PropertyChangeHandler.propertyChange): Likewise.
4999 2005-02-15 Michael Koch <konqueror@gmx.de>
5001 * javax/swing/DefaultButtonModel.java
5002 (changeState): Made private.
5003 * javax/swing/DefaultDesktopManager.java
5004 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5005 * javax/swing/JLayeredPane.java
5006 (layerToRange): Made private.
5007 (incrLayer): Likewise.
5008 (decrLayer): Likewise.
5009 * javax/swing/JTable.java
5010 (dragEnabled): Likewise.
5011 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5012 * javax/swing/KeyStroke.java
5013 (Keystroke): Made private.
5014 * javax/swing/TransferHandler.java
5015 (COMMAND_COPY): Likewise.
5016 (COMMAND_CUT): Likewise.
5017 (COMMAND_PASTE): Likewise.
5019 2005-02-15 Michael Koch <konqueror@gmx.de>
5021 * javax/swing/JTextField.java
5022 (postActionEvent): Use text in field when actionCommand is null.
5023 (getActionCommand): Removed.
5025 2005-02-15 Michael Koch <konqueror@gmx.de>
5027 * javax/swing/AbstractSet.java: Removed.
5028 * Makefile.am: Removed javax/swing/AbstractSet.java.
5029 * Makefile.in: Regenerated.
5031 2005-02-15 Michael Koch <konqueror@gmx.de>
5033 * java/awt/Window.java
5034 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5035 * java/awt/dnd/DnDConstants.java
5036 (DnDConstants): New private constructor.
5038 2005-02-15 Michael Koch <konqueror@gmx.de>
5040 * javax/swing/DefaultCellRenderer.java: Removed.
5041 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5042 * Makefile.in: Regenerated.
5044 2005-02-15 Michael Koch <konqueror@gmx.de>
5046 * javax/swing/AbstractButton.java
5047 (fireItemStateChanged): Made protected.
5048 (fireActionPerformed): Likewise.
5049 (fireStateChanged): Likewise.
5050 * javax/swing/DefaultButtonModel.java
5051 (fireItemStateChanged): Likewise.
5052 (fireActionPerformed): Likewise.
5053 (fireStateChanged): Likewise.
5054 * javax/swing/JApplet.java
5056 (frameInit): Likewise.
5057 (setRootPane): Made protected.
5058 (createRootPane): Likewise.
5059 * javax/swing/JComponent.java
5060 (getClientProperty): Likewise.
5061 (putClientProperty): Likewise.
5062 * javax/swing/JEditorPane.java
5063 (getContentType): Likewise.
5064 (setContentType): Likewise.
5065 * javax/swing/JFrame.java
5066 (setRootPane): Likewise.
5067 (createRootPane): Likewise.
5068 * javax/swing/JInternalFrame.java
5069 (getFocusCycleRootAncestor): Made final. Added @since tag.
5070 (isFocusCycleRoot): Likewise.
5071 (getWarningString): Made final.
5072 * javax/swing/JScrollBar.java
5073 (changeListener): Removed.
5074 (changeEvent): Likewise.
5075 (createChangeListener): Likewise.
5076 (fireStateChanged): Likewise.
5077 (addChangeListener): Likewise.
5078 (removeChangeListener): Likewise.
5079 (getChangeListeners): Likewise.
5080 * javax/swing/JScrollPane.java
5081 (createViewport): Made protected.
5082 * javax/swing/JViewport.java
5083 (addImpl): Likewise.
5084 (setBorder): New method.
5085 * javax/swing/JWindow.java
5086 (setRootPane): Made protected.
5087 (createRootPane): Likewise.
5088 * javax/swing/plaf/basic/BasicButtonUI.java
5089 (installListeners): Likewise.
5090 (uninstallListeners): Likewise.
5091 * javax/swing/plaf/basic/BasicProgressBarUI.java
5092 (incrementAnimationIndex): Likewise.
5093 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5094 (createLayoutManager): Likewise.
5095 * javax/swing/table/DefaultTableCellRenderer.java
5096 (firePropertyChange): Likewise.
5097 * javax/swing/table/JTableHeader.java
5098 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5100 * javax/swing/text/PlainDocument.java
5101 (reindex): Made private.
5102 * javax/swing/text/PlainView.java
5103 (drawLine): Made protected.
5104 (getTabSize): Likewise.
5105 * javax/swing/text/View.java
5107 (preferenceChanged): New method.
5108 (getBreakWeight): Likewise.
5109 (breakView): Likewise.
5110 (getViewIndex): Likewise.
5112 2005-02-15 Michael Koch <konqueror@gmx.de>
5114 * javax/swing/JScrollPane.java
5115 (ScrollBar): Made class protected.
5116 * javax/swing/JSpinner.java
5117 (JSpinner): Added @since tag.
5118 (listenerList): Removed.
5119 * javax/swing/JTable.java
5120 (setValueAt): New method.
5121 (getColumn): Likewise.
5122 * javax/swing/JWindow.java
5123 (rootPaneCheckingEnabled): Renamed from checking.
5125 2005-02-15 Michael Koch <konqueror@gmx.de>
5127 * javax/swing/plaf/basic/BasicTextUI.java
5128 (RootView.modelToView): Made it public and return a java.awt.Shape.
5129 Handle null subview.
5130 (uninstall): Set textComponent to null when its not possible used
5132 * javax/swing/text/View.java
5133 (setParent): Use better argument name.
5134 (getContainer): Get parent via getParent().
5135 (getViewFactory): Likewise.
5136 (getAttributes): Get element via getElement().
5137 (getStartOffset): Likewise.
5138 (getEndOffset): Likewise.
5139 (getResizeWeight): New method.
5140 (getMaximumSpan): Likewise.
5141 (getMinimumSpan): Likewise.
5142 (setSize): Likewise.
5143 (getGraphics): Likewise.
5145 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5147 * java/awt/Checkbox.java:
5148 (AccessibleAWTCheckbox()): Added public constructor
5150 * java/awt/Choice.java:
5151 (AccessibleAWTChoice): Added class documentation.
5152 (AccessibleAWTChoice()): Added public constructor
5154 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5155 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5156 and changed role to COMBO_BOX.
5157 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5158 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5159 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5161 2005-02-15 Graydon Hoare <graydon@redhat.com>
5162 Michael Koch <konqueror@gmx.de>
5164 * javax/swing/LayoutFocusTraversalPolicy.java,
5165 javax/swing/SortingFocusTraversalPolicy.java:
5167 * Makefile.am: Added new classes.
5168 * Makefike.in: Regenerated.
5171 2005-02-15 Michael Koch <konqueror@gmx.de>
5173 * javax/swing/DebugGraphics.java: Mostly implemented.
5175 2005-02-15 Michael Koch <konqueror@gmx.de>
5177 * javax/swing/SwingUtilities.java
5178 (findFocusOwner): New method.
5180 2005-02-15 Michael Koch <konqueror@gmx.de>
5182 * javax/swing/text/DefaultEditorKit.java
5183 (read): Added '\n' after each line.
5184 * javax/swing/text/PlainView.java
5185 (modelToView): Update metrics.
5186 (drawLine): Use offsets from element.
5187 (paint): Update metrics. Draw all lines.
5189 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5191 * java/awt/Checkbox.java:
5192 (AccessibleAWTCheckbox): Added class documentation
5193 * java/awt/Scrollbar.java:
5194 (AccessibleAWTScrollBar): typo corrected and docs added
5195 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5196 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5197 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5198 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5199 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5200 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5201 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5202 (getAccessibleContext()): name of accessible class corrected
5204 2005-02-15 Mark Wielaard <mark@klomp.org>
5206 * java/awt/BasicStroke.java (hashCode): Implement.
5209 2005-02-15 Michael Koch <konqueror@gmx.de>
5211 * java/awt/print/PrinterJob.java
5212 (pageDialog): Throws java.awt.HeadlessException.
5213 (printDialog): Likewise.
5215 2005-02-15 Mark Wielaard <mark@klomp.org>
5217 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5219 2005-02-15 Michael Koch <konqueror@gmx.de>
5221 * javax/swing/JTable.java
5222 (getValueAt): New method.
5223 * javax/swing/table/JTableHeader.java
5224 (columnAtPoint): New method.
5226 2005-02-15 Michael Koch <konqueror@gmx.de>
5228 * javax/swing/JTextField.java
5229 (actions): New field.
5230 (static): Initalize actions field.
5231 (getActions): New method.
5233 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5235 * java/awt/Checkbox.java:
5236 (AccessibleAWTCheckbox): name capitalization corrected
5237 and serialization UID added.
5238 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5240 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5241 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5242 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5243 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5244 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5245 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5246 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5247 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5248 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5249 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5250 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5252 (getAccessibleContext()): name of accessible class corrected
5254 2005-02-15 Sven de Marothy <sven@physto.se>
5256 * java/awt/geom/doc-files/Area-1.png,
5257 java/awt/geom/doc-files/Ellipse-1.png,
5258 java/awt/geom/doc-files/GeneralPath-1.png:
5261 2005-02-15 Graydon Hoare <graydon@redhat.com>
5263 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5264 Use union to avoid type-punning warning.
5266 2005-02-15 Michael Koch <konqueror@gmx.de>
5268 * javax/swing/DefaultListSelectionModel.java
5269 (clone): New method.
5271 2005-02-15 Mark Wielaard <mark@klomp.org>
5273 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5274 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5275 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5276 Correct method signature of gtkSetFilename.
5278 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5280 * javax/swing/text/StringContent.java: New file.
5282 2005-02-15 Michael Koch <konqueror@gmx.de>
5284 * Makefile.am: Added javax/swing/text/StringContent.java.
5285 * Makefile.in: Regenerated.
5287 2005-02-15 Michael Koch <konqueror@gmx.de>
5289 * gnu/java/awt/ClasspathToolkit.java:
5290 Import statements reworked.
5291 (imageCache): Made it of type java.util.HashMap.
5293 2005-02-15 Michael Koch <konqueror@gmx.de>
5295 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5296 Reworked import statements.
5298 2005-02-15 Graydon Hoare <graydon@redhat.com>
5300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5302 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5304 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5305 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5307 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5309 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5310 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5311 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5312 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5313 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5314 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5316 Rewrite uses of extern variable to be function calls.
5317 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5318 function, from extern variable.
5319 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5320 (gdk_env): Remove variable, add new function.
5321 (java_vm): Add new variable.
5322 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5323 java_vm rather than old gdk_env variable.
5325 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5327 * javax/swing/DefaultListModel.java
5328 (add): fire correct event,
5329 (addElement): corrected interval indices in event,
5330 (clear): corrected upper bound for interval, only fire event if
5332 (setSize): fire appropriate event.
5334 2005-02-15 Graydon Hoare <graydon@redhat.com>
5336 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5337 * gnu/awt/xlib/XToolkit.java: Likewise.
5338 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5339 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5340 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5341 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5342 * java/awt/EventQueue.java (getNextEvent):
5343 Adjust event loop to switch to native mode after 100ms.
5344 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5346 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5347 Wake up event thread.
5348 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5349 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5350 Adjust event loop to switch to java mode after 100ms.
5352 2005-02-15 Graydon Hoare <graydon@redhat.com>
5354 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5355 accidentally removed in last change.
5357 2005-02-15 Michael Koch <konqueror@gmx.de>
5359 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5360 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5362 2005-02-15 Graydon Hoare <graydon@redhat.com>
5364 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5365 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5366 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5367 * jni.cc: Reuse bottom frame between calls, avoid clearing
5368 frame when no local references are made.
5370 2005-02-15 Michael Koch <konqueror@gmx.de>
5372 * javax/swing/UIDefaults.java (UIDefaults):
5373 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5374 Fixed HTML entity and removed a redundant comma.
5376 2005-02-15 Michael Koch <konqueror@gmx.de>
5378 * javax/swing/text/DefaultEditorKit.java
5379 (deinstall): Removed.
5380 (install): Likewise.
5382 2005-02-15 Michael Koch <konqueror@gmx.de>
5384 * javax/swing/UIDefaults.java (put): Handle value of null.
5386 2005-02-15 Michael Koch <konqueror@gmx.de>
5388 * java/awt/Robot.java,
5389 java/awt/Scrollbar.java,
5390 java/awt/print/PrinterJob.java,
5391 javax/swing/JTable.java,
5392 javax/swing/text/AbstractDocument.java:
5393 Reworked import statements.
5395 2005-02-15 Michael Koch <konqueror@gmx.de>
5397 * javax/swing/JEditorPane.java
5398 (read): Implemented.
5400 * javax/swing/text/DefaultEditorKit.java
5401 (page): Renamed from page_url. Made private.
5402 (editorKit): Renamed from kit. Made private.
5404 (JEditorPane): All constructors reimplemented.
5405 (getContentType): Use content type from editor kit.
5406 (getEditorKit): Return editorKit.
5407 (getEditorKitForContentType):Likewise.
5408 (getPage): Return page.
5409 (setContentType): Reimplemented.
5410 (setEditorKit): Likewise.
5411 (setEditorKitForContentType): Removed wrong implementation.
5412 (setPage): Implemented.
5414 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5416 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5417 (nativeSetIconImageFromData): Re-add native implementation.
5419 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5421 * javax/swing/table/DefaultTableModel.java
5422 (DefaultTableModel()): Added Javadocs.
5423 (DefaultTableModel(int, int)): Fixed implementation.
5424 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5425 for negative rowCount.
5426 (DefaultTableModel(Object[], int)): Added Javadocs.
5427 (DefaultTableModel(Vector, Vector)): Likewise.
5428 (DefaultTableModel(Object[][], Object[])): Likewise.
5429 (getDataVector): Likewise.
5430 (setDataVector(Vector, Vector)): Likewise.
5431 (setDataVector(Object[][], Object[])): Likewise.
5432 (newDataAvailable): Likewise.
5433 (newRowsAdded): Likewise.
5434 (rowsRemoved): Likewise.
5435 (setColumnIdentifiers(Vector)): Allow for null argument.
5436 (setColumnIdentifiers(Object[])): Added Javadocs.
5437 (setNumRows): Likewise.
5438 (setRowCount): Adds new rows if necessary, and sends more specific
5440 (setColumnCount): Allow for null columnIdentifiers.
5441 (addColumn(Object)): Added Javadocs.
5442 (addColumn(Object, Vector)): Handle null columnData.
5443 (addColumn(Object, Object[])): Handle columnData with more or less
5444 entries than rows in the table.
5445 (addRow(Vector)): Fire appropriate event.
5446 (addRow(Object[])): Added Javadocs.
5447 (insertRow(int, Vector)): Fire appropriate event.
5448 (insertRow(int, Object[])): Added Javadocs.
5449 (moveRow): Reimplemented.
5450 (removeRow(int)): Fire appropriate event.
5451 (getColumnCount): Allow for null columnIdentifiers.
5452 (getColumnName): Now returns empty string when column index is too
5454 (isCellEditable): Added Javadocs.
5455 (getValueAt): Likewise.
5456 (setValueAt): Fire more specific event.
5457 (convertToVector): Added Javadocs.
5458 * javax/swing/table/TableModel.java
5461 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5463 * libgcj.spec.in (lib): Add -l-javax-imageio.
5465 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5467 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5468 references to event queue q with method call q().
5469 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5470 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5471 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5472 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5473 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5474 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5477 2005-02-15 Graydon Hoare <graydon@redhat.com>
5479 * gnu/java/awt/ClasspathToolkit.java
5480 (registerImageIOSpis): New method.
5481 * gnu/java/awt/image/ImageDecoder.java
5482 (imageDecoder): New constructor using InputStream
5483 (startProduction): Handle existing InputStream.
5484 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5485 (findSimpleIntegerArray): Make public and static.
5486 (updateBufferedImage): Set each pixel, in a loop.
5487 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5488 Implement ImageIO SPI classes.
5489 (createBufferedImage): Rewrite in terms of SPI classes.
5490 * gnu/java/awt/peer/gtk/GtkToolkit.java
5491 (registerImageIOSpis): New method.
5492 * java/lang/reflect/natMethod.cc
5493 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5494 which lets JNI call interface methods properly.
5495 * javax/imageio/ImageIO.java
5496 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5497 (WriterMIMETypeFilter.filter): Likewise.
5498 (ImageReaderIterator): Pass extension argument through to SPI.
5499 (getReadersByFilter): Likewise.
5500 (getWritersByFilter): Likewise.
5501 (getImageReadersByFormatName): Likewise.
5502 (getImageReadersByMIMEType): Likewise.
5503 (getImageReadersBySuffix): Likewise.
5504 (getImageWritersByFormatName): Likewise.
5505 (getImageWritersByMIMEType): Likewise.
5506 (getImageWritersBySuffix): Likewise.
5509 * javax/imageio/ImageReader.java
5510 (progressListeners): Initialize.
5511 (setInput): Implement.
5512 * javax/imageio/ImageWriter.java
5513 (progressListeners): Initialize.
5514 (warningListeners): Likewise.
5515 (warningLocales): Likewise.
5516 (setOutput): Test "isInstance" rather than class equality.
5517 * javax/imageio/spi/IIORegistry.java
5518 (static): Add reader and writer SPIs.
5519 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5521 (query_formats): New function.
5522 (save_to_stream): Likewise.
5523 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5525 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5529 (keyPress): Likewise.
5530 (keyRelease): Likewise.
5532 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5534 * javax/swing/JTable.java
5535 (columnAtPoint): New Method. Implemented.
5536 (rowAtPoint): Likewise.
5537 (countSelections): Fixed few small count errors.
5538 (getSelections): Likewise.
5539 (setSelectionMode): Set selection mode for column
5540 selection model in addition to row selection model.
5541 * javax/swing/plaf/basic/BasicTableUI.java:
5542 (getRowForPoint): Removed. Replaced by
5543 JTable.rowAtPoint().
5544 (getColForPoint): Removed. Replaced by
5545 JTable.columnAtPoint().
5546 (updateSelection): Updated to call JTable.columnAtPoint
5547 and JTable.rowAtPoint.
5548 * javax/swing/table/DefaultTableColumnModel.java:
5549 (getSelectedColumns): Implemented.
5550 (getSelectedColumnCount): Implemented.
5552 2005-02-15 Graydon Hoare <graydon@redhat.com>
5555 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5556 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5557 * Makefile.in: Regenerate.
5558 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5559 * gnu/awt/xlib/XFramePeer.java: Likewise.
5560 * gnu/awt/xlib/XToolkit.java: Likewise.
5561 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5562 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5563 * gnu/java/awt/ClasspathToolkit.java
5566 (iterateNativeQueue): New methods.
5567 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5568 * gnu/java/awt/peer/gtk/GtkToolkit.java
5569 (gtkInit): Absorb from defunct GtkMainThread class.
5570 (static): Run gtkInit in static startup block.
5571 (GtkToolkit): Remove construction of GtkMainThread and queue.
5572 (getSystemEventQueueImpl): Construct queue when requested.
5575 (iterateNativeQueue): New methods.
5576 * java/awt/Component.java (removeNotify): Remove race.
5577 * java/awt/EventDispatchThread.java
5578 (EventDispatchThread): Don't start on construction.
5579 (run): Remove isInterrupted check.
5580 * java/awt/EventQueue.java (shutdown): New flag.
5581 (isShutdown): New method checking J2SE shutdown condition.
5582 (setShutdown): New method.
5583 (getNextEvent): Restructure to use ClasspathToolkit.
5584 (postEvent): Activate new thread on posting, wake thread on
5585 post of possible shutdown condition event.
5586 * java/awt/Frame.java
5587 (Frame): Call noteFrame in all constructors.
5588 (fireDummyEvent): New helper method.
5589 (addNotify): Fire a dummy event to wake up queue.
5590 (removeNotify): Fire a dummy event to wake up queue.
5591 (noteFrame): New method.
5592 (weakFrames): New static field.
5593 (getFrames): Implement.
5594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5596 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5597 Move everything from GtkMainThread into this file
5598 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5599 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5600 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5601 New functions to implement single-threaded queue semantics.
5603 2005-02-15 Michael Koch <konqueror@gmx.de>
5605 * javax/swing/plaf/metal/MetalLookAndFeel.java
5606 (getControlTextFont): New method.
5607 (getMenuTextFont): Likewise.
5608 (getSubTextFont): Likewise.
5609 (getSystemTextFont): Likewise.
5610 (getUserTextFont): Likewise.
5611 (getWindowTitleFont): Likewise.
5613 2005-02-15 Michael Koch <konqueror@gmx.de>
5615 * javax/swing/text/AbstractDocument.java
5616 (documentFilter): New field.
5617 (getDocumentFilter): New method.
5618 (setDocumentFilter): Likewise.
5621 2005-02-15 Michael Koch <konqueror@gmx.de>
5623 * javax/swing/JTree.java
5624 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5626 2005-02-15 Michael Koch <konqueror@gmx.de>
5628 * javax/swing/text/AbstractDocument.java
5629 (AbstractElement.getLength): Fixed off-by-one error.
5630 (AbstractElement.children): Made abstract.
5631 (AbstractElement.getAllowsChildren): Likewise.
5632 (AbstractElement.getElement): Likewise.
5633 (AbstractElement.dumpElement): New private method.
5634 (AbstractElement.dump): New method.
5635 (BranchElememt.getName): Fixed implementation.
5636 (BranchElememt.toString): Likewise.
5637 (BranchElememt.getElement): Fixed arguments.
5638 (LeafElement.getName): Fixed implementation.
5639 (LeafElement.toString): Likewise.
5640 * javax/swing/text/GapContent.java
5641 (GapContent): Put default content into buffer.
5642 * javax/swing/text/PlainDocument.java
5643 (reindex): Use empty attribute sets instead of null.
5644 (createDefaultRoot): Reimplemented.
5645 (insertUpdate): Call super method.
5646 (removeUpdate): Likewise.
5647 (getParagraphElement): Implemented.
5649 2005-02-15 Michael Koch <konqueror@gmx.de>
5651 * gnu/java/awt/ClasspathToolkit.java
5652 (createRobot): Throws java.awt.AWTException.
5653 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5654 Added '__attribute__((unused))' to all unused method arguments.
5656 2005-02-15 Michael Koch <konqueror@gmx.de>
5658 * javax/swing/DefaultBoundedRangeModel.java
5659 (fireValueChanged): Fixed off-by-one error.
5661 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5663 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5664 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5666 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5667 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5668 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5669 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5670 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5671 (getDefaultScreenDevice): Implement.
5672 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5673 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5674 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5675 * java/awt/Robot.java: Implement.
5676 * java/awt/peer/RobotPeer.java: Rename parameters.
5677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5679 (awt_keycode_to_keysym): Make non-static.
5680 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5681 AWT_BUTTON3_MASK): Declare constants.
5682 (awt_keycode_to_keysym): Declare.
5684 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5685 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5686 and is non-empty pass its value to "make check".
5687 (test_mauve_sim): Likewise.
5689 2005-02-15 Michael Koch <konqueror@gmx.de>
5691 * javax/imageio/IIOParam.java
5692 (setSourceBands): New method.
5693 (setSourceSubsampling): Likewise.
5694 * javax/imageio/ImageReadParam.java
5695 (setDestination): Likewise.
5696 (setDestinationBands): Likewise.
5697 (setSourceProgressivePasses): Likewise.
5698 * javax/imageio/metadata/IIOInvalidTreeException.java
5699 (serialVersionUID): New static field.
5700 * javax/imageio/metadata/IIOMetadataNode.java
5701 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5702 (parent): Dont initailize with default value explicitely.
5704 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5705 (removeAttributeNode): Likewise.
5706 (removeAttributeNS): Likewise.
5707 (setAttribute): Likewise.
5708 (setAttributeNode): Likewise.
5709 (setAttributeNodeNS): Likewise.
5710 (setAttributeNS): Likewise.
5711 (appendChild): Likewise.
5712 (getNodeValue): Likewise.
5713 (insertBefore): Likewise.
5714 (removeChild): Likewise.
5715 (replaceChild): Likewise.
5716 (setPrefix): Likewise.
5718 2005-02-15 Michael Koch <konqueror@gmx.de>
5720 * javax/swing/LookAndFeel.java
5721 (getDesktopPropertyValue): New method.
5723 2005-02-15 Michael Koch <konqueror@gmx.de>
5725 * javax/swing/JTree.java
5726 (hasChildren): New instance field.
5728 2005-02-15 Michael Koch <konqueror@gmx.de>
5730 * javax/swing/JComponent.java
5731 (getToolTipText): New method.
5732 (getTitledBorderText): Likewise.
5733 (getAccessibleKeyBinding): Likewise.
5734 (getVerifyInputWhenFocusTarget): Likewise.
5735 (setVerifyInputWhenFocusTarget): Likewise.
5736 (verifyInputWhenFocusTarget): New instance field.
5738 2005-02-15 Michael Koch <konqueror@gmx.de>
5740 * javax/swing/DefaultListSelectionModel.java
5741 (fireValueChanged): New method.
5743 2005-02-15 Michael Koch <konqueror@gmx.de>
5745 * javax/swing/DefaultBoundedRangeModel.java:
5746 Fixed javadocs all over.
5747 (fireStateChanged): Simplified.
5748 * javax/swing/BoundedRangeModel.java:
5751 2005-02-15 Michael Koch <konqueror@gmx.de>
5753 * javax/swing/JRootPane.java
5754 (setMenuBar): Added @deprecated tag.
5755 (getMenuBar): Likewise.
5756 * javax/swing/JTable.java
5757 (sizeColumnsToFit): Likewise.
5759 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5761 * javax/swing/ImageIcon.java (setImage): Implemented.
5763 2005-02-15 Michael Koch <konqueror@gmx.de>
5765 * javax/swing/JTable.java:
5766 Removed unused imports.
5768 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5770 (prepareRenderer): Get column's index in dataModel instead
5771 of column's view index.
5772 (getColumnCount): return count of the columns in ColumnModel,
5774 (removeColumn): Implemented.
5775 (moveColumm): Likewise.
5776 (setRowHeight): throw IllegalArgumentException if height is
5778 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5779 (DefaultTableColumnModel):Add call to createSelectionModel().
5780 (addColumn): Fire columnAdded event to registered listeners.
5781 (removeColumn): Fire columnRemoved event to registered listeners.
5782 (moveColumn): Fire columnMoved event to registered listeners.
5783 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5784 (getColumnIndex): Changed parameter name.
5785 (setColumnSelectionAllowed): Likewise.
5786 (fireColumnAdded): Implemented.
5787 (fireColumnRemoved): Likewise.
5788 (fireColumnMoved): Likewise.
5789 (fireColumnMarginChanged): Likewise.
5790 (getListeners): Changed parameter name.
5791 (propertyChange): Implemented.
5792 (valueChanged): Changed parameter name.
5793 (createSelectionModel): Implemented.
5795 2005-02-15 Michael Koch <konqueror@gmx.de>
5797 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5798 Explicitely import used classes.
5799 (getLocalGraphicsEnvironment): Simplify.
5800 * java/awt/Window.java (Window):
5801 Enable code to get the default GraphicsConfiguration.
5803 2005-02-15 Michael Koch <konqueror@gmx.de>
5805 * javax/swing/plaf/metal/DefaultMetalTheme.java
5806 (CONTROL_TEXT_FONT): New static field.
5807 (MENU_TEXT_FONT): Likewise.
5808 (SUB_TEXT_FONT): Likewise.
5809 (SYSTEM_TEXT_FONT): Likewise.
5810 (USER_TEXT_FONT): Likewise.
5811 (WINDOW_TITLE_FONT): Likewise.
5812 (getControlTextFont): New method.
5813 (getMenuTextFont): Likewise.
5814 (getSubTextFont): Likewise.
5815 (getSystemTextFont): Likewise.
5816 (getUserTextFont): Likewise.
5817 (getWindowTitleFont): Likewise.
5818 * javax/swing/plaf/metal/MetalTheme.java
5819 (BLACK): Initialize with Color.BLACK.
5820 (WHITE): Initialize with Color.WHITE.
5821 (getInactiveControlTextColor): Return getControlDisabled().
5822 (getMenuDisabledForeground): Return getSecondary3().
5823 (getControlTextFont): New abstract method.
5824 (getMenuTextFont): Likewise.
5825 (getSubTextFont): Likewise.
5826 (getSystemTextFont): Likewise.
5827 (getUserTextFont): Likewise.
5828 (getWindowTitleFont): Likewise.
5830 2005-02-15 Michael Koch <konqueror@gmx.de>
5832 * javax/swing/JFormattedTextField.java
5833 (getFocusLostBehavior): Fixed typo in method name.
5834 (setFocusLostBehavior): Likewise.
5836 2005-02-15 Michael Koch <konqueror@gmx.de>
5838 * javax/swing/TransferHandler.java:
5839 Reworked import statements.
5841 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5843 * java/awt/Button.java,
5844 java/awt/Canvas.java,
5845 java/awt/Checkbox.java,
5846 java/awt/CheckboxMenuItem.java,
5847 java/awt/Choice.java,
5848 java/awt/Dialog.java,
5849 java/awt/Frame.java,
5850 java/awt/Label.java,
5853 java/awt/MenuBar.java,
5854 java/awt/MenuItem.java,
5855 java/awt/PopupMenu.java,
5856 java/awt/ScrollPane.java,
5857 java/awt/Scrollbar.java,
5858 java/awt/TextArea.java,
5859 java/awt/Window.java (getAccessibleContext): Clean up comments.
5861 * java/awt/Button.java,
5862 java/awt/Checkbox.java,
5863 java/awt/Choice.java,
5865 java/awt/PopupMenu.java,
5866 java/awt/TextArea.java (getAccessibleContext): Only create new
5868 * java/awt/TextComponent.java (getAccessibleContext): Implement.
5870 2005-02-15 Michael Koch <konqueror@gmx.de>
5872 * java/awt/Button.java,
5873 javax/swing/JApplet.java,
5874 javax/swing/JFormattedTextField.java,
5875 javax/swing/JWindow.java,
5876 javax/swing/JTree.java,
5877 javax/swing/plaf/basic/BasicEditorPaneUI.java,
5878 javax/swing/plaf/basic/BasicTextPaneUI.java,
5879 javax/swing/plaf/basic/BasicTreeUI.java:
5880 Reworked import statements.
5882 2005-02-15 Michael Koch <konqueror@gmx.de>
5884 * Makefile.am: Put javax.imageio into its own library and link it
5885 against lib-org-w3c-dom.la to fix bootstrapping.
5886 * Makefile.in: Regenerated.
5888 2005-02-15 Michael Koch <konqueror@gmx.de>
5890 * javax/swing/text/TextAction.java
5891 (getTextComponent): Simplified. Added Javadoc.
5892 (augmentList): Implemented. Added Javadoc.
5893 (getFocusedComponent): Added javadoc.
5895 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5897 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
5898 getAccessibleContext): Implement.
5899 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
5900 getAccessibleContext): Implement.
5902 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5904 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
5906 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
5908 * java/awt/Window.java (getAccessibleContext): Fix comment.
5909 Remove extra import.
5911 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5913 * java/awt/Window.java (AccessibleAWTWindow): Implement.
5914 (isActive, isFocused, getAccessibleContext): Implement.
5916 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5918 * java/awt/MenuItem.java (getAccessibleContext): Implement.
5919 * java/awt/MenuComponent.java (accessibleContext): Make package
5921 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
5922 AccessibleAWTCheckboxMenuItem): Implement.
5924 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5926 * java/awt/List.java: Implement AccessibleAWTList,
5927 AccessibleAWTListChild.
5929 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5931 * java/awt/Choice.java: Add implements declaration for
5934 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5936 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
5939 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5941 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
5942 implemented interface list.
5944 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5946 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
5947 * javax/imageio/metadata/IIOAttr.java: New class.
5948 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
5949 * javax/imageio/metadata/IIONodeList.java: New class.
5950 * Makefile.am: Added new files.
5951 * Makefile.in: Regenerated.
5953 2005-02-15 Michael Koch <konqueror@gmx.de>
5955 * javax/swing/AbstractAction.java,
5956 javax/swing/AbstractCellEditor.java,
5957 javax/swing/AbstractListModel.java,
5958 javax/swing/DefaultBoundedRangeModel.java,
5959 javax/swing/DefaultButtonModel.java,
5960 javax/swing/DefaultCellEditor.java,
5961 javax/swing/DefaultComboBoxModel.java,
5962 javax/swing/DefaultDesktopManager.java,
5963 javax/swing/JMenu.java,
5964 javax/swing/JSlider.java,
5965 javax/swing/KeyStroke.java,
5966 javax/swing/OverlayLayout.java,
5967 javax/swing/ScrollPaneLayout.java,
5968 javax/swing/SizeRequirements.java,
5969 javax/swing/ViewportLayout.java:
5970 Made serialVersionUID private.
5972 2005-02-15 Michael Koch <konqueror@gmx.de>
5974 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
5977 2005-02-15 Michael Koch <konqueror@gmx.de>
5979 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
5981 2005-02-15 Michael Koch <konqueror@gmx.de>
5983 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
5985 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
5987 * java/awt/EventDispatchThread.java,
5988 java/awt/Toolkit.java:
5989 Don't catch java.lang.ThreadDeath.
5991 2005-02-15 Michael Koch <konqueror@gmx.de>
5993 * javax/swing/text/PasswordView.java
5994 (drawEchoCharacter): Added javadoc.
5995 (drawSelectedText): Likewise.
5996 (drawUnselectedText): Likewise.
5998 2005-02-15 Michael Koch <konqueror@gmx.de>
6000 * javax/swing/JRootPane.java
6001 (windowDecorationStyle): New field.
6002 (setMenuBar): New method.
6003 (getMenuBar): Likewise.
6004 (getWindowDecorationStyle): Likewise.
6005 (setWindowDecorationStyle): Likewise.
6007 2005-02-15 Michael Koch <konqueror@gmx.de>
6009 * javax/swing/DefaultListSelectionModel.java
6010 (leadAnchorNotificationEnabled): Made protected.
6012 2005-02-15 Michael Koch <konqueror@gmx.de>
6014 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6015 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6016 * Makefile.in: Regenerated.
6019 2005-02-15 Michael Koch <konqueror@gmx.de>
6021 * javax/swing/JFormattedTextField.java: Implemented.
6022 * javax/swing/JWindow.java
6023 (JWindow): New constructors.
6024 (initWindow): Renamed from initFrame.
6025 * javax/swing/UIDefaults.java
6026 (ActiveValue): Made interface static.
6027 (LazyValue): Likewise.
6028 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6029 (TitlePaneLayout.TitlePaneLayout): New constructor.
6030 * javax/swing/plaf/basic/BasicSliderUI.java
6031 (ChangeHandler): Made public.
6032 (FocusHandler): Likewise.
6033 (PropertyChangeHandler): Likewise.
6034 (ScrollListener): Likewise.
6035 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6036 (FocusHandler): Likewise.
6037 (MouseHandler): Likewise.
6038 * javax/swing/plaf/basic/BasicTextPaneUI.java
6039 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6040 * javax/swing/plaf/basic/BasicToolBarUI.java
6041 (BasicToolBarUI): Simplified. Reworked javadoc.
6042 (canDock): Simplified. Make public.
6043 (DockingListener): Made public.
6044 * javax/swing/text/JTextComponent.java
6045 (navigationFilter): New field.
6046 (getNavigationFilter): New method.
6047 (setNavigationFilter): Likewise.
6049 2005-02-15 Michael Koch <konqueror@gmx.de>
6051 * javax/swing/plaf/metal/MetalTheme.java
6052 (getControlTextColor): Return getControlInfo().
6053 (getHighlightedTextColor): Return getControlTextColor().
6055 2005-02-15 Michael Koch <konqueror@gmx.de>
6057 * javax/swing/plaf/basic/BasicButtonListener.java
6058 (BasicButtonListener): New constructor.
6059 * javax/swing/plaf/basic/BasicButtonUI.java
6060 (createButtonListener): Usw new BasicButtonListener constructor.
6062 2005-02-15 Michael Koch <konqueror@gmx.de>
6064 * javax/imageio/event/package.html,
6065 javax/imageio/metadata/package.html: New files.
6067 2005-02-15 Michael Koch <konqueror@gmx.de>
6069 * java/awt/image/MemoryImageSource.java: Reformatted.
6071 2005-02-15 Michael Koch <konqueror@gmx.de>
6073 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6075 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6077 * java/awt/color/ICC_Profile.java
6078 (finalize): Removed pointless field assignments.
6080 2005-02-15 Michael Koch <konqueror@gmx.de>
6082 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6083 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6084 * Makefile.in: Regenerated.
6086 2005-02-15 Michael Koch <konqueror@gmx.de>
6088 * javax/swing/text/DefaultStyledDocument.java: New file.
6089 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6090 * Makefile.in: Regenerated.
6092 2005-02-15 Michael Koch <konqueror@gmx.de>
6094 * javax/swing/JFileChooser.java
6095 (showDialog): Return CANCEL_OPTION for now.
6096 (showOpenDialog): Likewise.
6097 (showSaveDialog): Likewise.
6099 2005-02-15 Michael Koch <konqueror@gmx.de>
6101 * javax/swing/JApplet.java
6102 (HIDE_ON_CLOSE): Removed.
6103 (EXIT_ON_CLOSE): Likewise.
6104 (DISPOSE_ON_CLOSE): Likewise.
6105 (DO_NOTHING_ON_CLOSE): Likewise.
6106 (close_action): Likewise.
6107 (getDefaultCloseOperation): Likewise.
6108 (setDefaultCloseOperation): Likewise.
6109 (processWindowEvent): Likewise.
6110 (getPreferredSize): Simplified.
6111 * javax/swing/JInternalFrame.java
6112 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6114 * javax/swing/JWindow.java
6115 (HIDE_ON_CLOSE): Removed.
6116 (EXIT_ON_CLOSE): Likewise.
6117 (DISPOSE_ON_CLOSE): Likewise.
6118 (DO_NOTHING_ON_CLOSE): Likewise.
6119 (close_action): Likewise.
6120 (processKeyEvent): Likewise.
6121 (setDefaultCloseOperation): Likewise.
6122 (getPreferredSize): Simplified.
6124 2005-02-15 Michael Koch <konqueror@gmx.de>
6126 * javax/swing/JTextField.java
6127 (getPreferredSize): Re-implemented.
6129 2005-02-15 Michael Koch <konqueror@gmx.de>
6131 * javax/swing/JLabel.java
6132 (setDisplayedMnemonic): Use only upper case characters.
6133 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6134 PropertyChangeEvent after property got set to the new index.
6136 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6138 * javax/swing/JComboBox.java:
6139 (JComboBox): Removed selection of the
6140 first item in the model.
6142 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6144 * javax/swing/JComboBox.java
6145 added support for no item being selected
6146 (JComboBox): select first or nothing depending on element count
6147 (setModel): cleaned up unneeded "this." usage, added more
6148 docs, made exception behavior match that of the JDK
6149 (setLighWeightPopupEnabled): removed unneeded "this." usage
6151 (setMaximumRowCount): dito
6153 (setPrototypeDisplayValue): dito
6154 (getSelectedItem): simplified, added more user doc
6155 (setSelectedIndex): corrected exception behavior, added more user doc
6156 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6157 added performance warning to user doc
6158 (addItem): fixed exception behavior, added user doc
6159 (insertItemAt): dito
6161 (removeItemAt): dito
6162 (removeAll): fixed exception behavior, added user doc, added support
6163 for model not being instance of DefaultComboBoxModel
6164 (getSelectedItemObjects): simplified
6165 (getItemCount): fixed dependency on DefaultComboBoxModel
6166 (getItemAt): fixed dependency on MutableComboBoxModel
6167 * javax/swing/DefaultComboBoxModel.java:
6168 (setSelectedItem): updates selected item only if new
6169 value is null or known (match JDK behavior)
6170 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6171 (paintCurrentValue): renders "" if no item is selected
6173 2005-02-15 Michael Koch <konqueror@gmx.de>
6175 * javax/swing/plaf/metal/MetalTheme.java,
6176 javax/swing/plaf/metal/DefaultMetalTheme.java:
6178 * javax/swing/plaf/metal/MetalLookAndFeel.java
6179 * Makefile.am: Added the new files.
6180 * Makefile.in: Regenerated.
6182 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6184 * javax/swing/JTable.java
6185 (editorComp): New field.
6186 (JTable): Initialize local variables and call updateUI
6187 (selectionBackground): Make protected.
6188 (selectionForeground): Likewise.
6189 (initializeLocalVars): Create default editors and renderers,
6190 initialize editingColumn, editingRow variables.
6191 (createDefaultEditors): New Method.
6192 (createDefaultRenderers): Likewise.
6193 (createDefaultListSelectionModel): Removed
6194 (createDefaultSelectionModel): New Method.
6195 (createDefaultTableHeader): Likewise
6196 (removeColumn): Likewise.
6197 (getEditingColumn): Likewise.
6198 (setEditingColumn): Likewise.
6199 (getEditingRow): Likewise.
6200 (setEditingRow): Likewise.
6201 (getEditorComponent): Likewise.
6202 (isEditing): Likewise.
6203 (setDefaultEditor): Likewise.
6204 (addColumnSelectionInterval): Likewise.
6205 (addRowSelectionInterval): Likewise.
6206 (setColumnSelectionInterval): Likewise.
6207 (setRowSelectionInterval): Likewise.
6208 (removeColumnSelectionInterval): Likewise.
6209 (removeRowSelectionInterval): Likewise.
6210 (isColumnSelected): Likewise.
6211 (isRowSelected): Likewise.
6212 (isCellSelected): Likewise.
6213 (selectAll): Likewise.
6215 2005-02-15 Michael Koch <konqueror@gmx.de>
6217 * javax/swing/JTable.java
6218 (addColumn): New method.
6219 (getColumnClass): Likewise.
6220 (getColumnName): Likewise.
6222 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6224 * javax/swing/TransferHandler.java
6225 (createTransferable): Made protected.
6227 2005-02-15 Michael Koch <konqueror@gmx.de>
6229 * javax/swing/JTable.java,
6230 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6231 javax/swing/plaf/basic/BasicTableUI.java:
6232 Use fixed get/setIntercellSpacing() methods.
6234 2005-02-15 Michael Koch <konqueror@gmx.de>
6236 * javax/swing/JTable.java
6237 (getIntercellSpacing): Fixed typo in method name.
6238 (setIntercellSpacing): Likewise.
6240 2005-02-15 Michael Koch <konqueror@gmx.de>
6242 * javax/swing/text/JTextComponent.java
6243 (focusAccelerator): New variable.
6244 (getFocusAccelerator): New method.
6245 (setFocusAccelerator): Likewise.
6247 2005-02-15 Michael Koch <konqueror@gmx.de>
6249 * javax/swing/JComponent.java
6250 (setTransferHandler): Made public. Fire property change event.
6251 * javax/swing/TransferHandler.java: Implemented.
6252 * javax/swing/text/JTextComponent.java
6253 (DefaultTransferHandler): New inner class.
6254 (defaultTransferHandler): New variable.
6258 (doTransferAction): Likewise.
6260 2005-02-15 Michael Koch <konqueror@gmx.de>
6262 * javax/swing/JTree.java
6263 (collapsePath): New method.
6264 (collapseRow): Likewise.
6265 (expandPath): Likewise.
6266 (expandRow): Likewise.
6267 (checkExpandParents): Likewise.
6268 (doExpandParents): Likewise.
6269 (setExpandedState): Likewise.
6270 (makeVisible): Likewise.
6272 2005-02-15 Michael Koch <konqueror@gmx.de>
6274 * javax/swing/JPasswordField.java: Updated javadocs.
6276 2005-02-15 Michael Koch <konqueror@gmx.de>
6278 * javax/swing/JLayeredPane.java
6279 (getLayer): Fixed return type, made public.
6280 (getPosition): Use new getLayer().
6281 (SetPosition): Likewise.
6282 (getIndexOf): Likewise.
6284 * javax/swing/JInternalFrame.java
6285 (getLayer): Use new JLayeredPane.getLayer().
6288 2005-02-15 Michael Koch <konqueror@gmx.de>
6290 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6291 (setHeaderValue): Simplified. Do nothing when old value == new value.
6293 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6295 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6296 against null clip region.
6297 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6298 gtkWindowSetResizable.
6299 (postConfigureEvent): Only revalidate if frame size has changed.
6300 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6301 Only revalidate if frame size has changed.
6302 * java/awt/Component.java (reshape): Only repaint and post
6303 component events if component is showing.
6304 * java/awt/Container.java (addImpl): Only post container event if
6305 container is showing.
6307 * java/awt/Window.java (setLocationRelativeTo): Implement.
6308 (setBoundsCallback): Only post component events if component is
6310 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6311 Protect against null graphics structure. Flush gdk event queue.
6313 2005-02-15 Michael Koch <konqueror@gmx.de>
6315 * javax/imageio/ImageReader.java,
6316 javax/imageio/ImageTranscoder.java,
6317 javax/imageio/ImageWriter.java,
6318 javax/imageio/spi/ImageInputStreamSpi.java,
6319 javax/imageio/spi/ImageOutputStreamSpi.java,
6320 javax/imageio/spi/ServiceRegistry.java,
6321 javax/imageio/stream/ImageInputStream.java,
6322 javax/imageio/stream/ImageOutputStream.java: Updated.
6323 * javax/imageio/IIOException.java,
6324 javax/imageio/IIOImage.java,
6325 javax/imageio/IIOParam.java,
6326 javax/imageio/IIOParamController.java,
6327 javax/imageio/ImageIO.java,
6328 javax/imageio/ImageReadParam.java,
6329 javax/imageio/ImageTypeSpecifier.java,
6330 javax/imageio/ImageWriteParam.java,
6331 javax/imageio/spi/IIORegistry.java,
6332 javax/imageio/spi/ImageReaderSpi.java,
6333 javax/imageio/spi/ImageWriterSpi.java,
6334 javax/imageio/stream/FileCacheImageInputStream.java,
6335 javax/imageio/stream/FileCacheImageOutputStream.java,
6336 javax/imageio/stream/FileImageInputStream.java,
6337 javax/imageio/stream/FileImageOutputStream.java,
6338 javax/imageio/stream/ImageInputStreamImpl.java,
6339 javax/imageio/stream/ImageOutputStreamImpl.java,
6340 javax/imageio/stream/MemoryCacheImageInputStream.java,
6341 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6342 javax/imageio/event/IIOReadProgressListener.java,
6343 javax/imageio/event/IIOReadUpdateListener.java,
6344 javax/imageio/event/IIOReadWarningListener.java,
6345 javax/imageio/event/IIOWriteProgressListener.java,
6346 javax/imageio/event/IIOWriteWarningListener.java,
6347 javax/imageio/metadata/IIOMetadata.java,
6348 javax/imageio/metadata/IIOMetadataController.java,
6349 javax/imageio/metadata/IIOMetadataFormat.java,
6350 javax/imageio/metadata/IIOInvalidTreeException.java,
6351 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6352 javax/imageio/metadata/IIOMetadataNode.java: New files.
6353 * Makefile.am (javax_source_files): Added new files
6354 * Makefile.in: Regenerated.
6356 2005-02-15 Graydon Hoare <graydon@redhat.com>
6358 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6359 Rework painting into BufferedImages
6360 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6361 Construct BufferedImage with alpha only when alpha is
6362 present in colormodel.
6363 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6364 Rework painting into client-side jint arrays.
6365 * jni/gtk-peer/gtkcairopeer.h:
6368 2005-02-15 Michael Koch <konqueror@gmx.de>
6370 * javax/swing/DefaultListCellRenderer.java
6371 (serialVersionUID): Made private.
6372 (getListCellRendererComponent): Set horizontal alignment.
6373 * javax/swing/JLabel.java
6374 (setVerticalAlignment): Re-implemented.
6375 (setHorizontalAlignment): Do nothing if old value = new value.
6376 * javax/swing/JList.java
6377 (setCellRenderer): Likewise.
6378 (setModel): Re-implemented.
6379 (setSelectionModel): Likewise.
6381 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6383 * java/awt/Component.java,
6384 java/awt/geom/Rectangle2D.java:
6387 2005-02-15 Michael Koch <konqueror@gmx.de>
6389 * javax/swing/AbstractListModel.java
6390 (fireContentsChanged): Simplified.
6391 (fireIntervalAdded): Likewise.
6392 (fireIntervalRemoved): Likewise.
6393 * javax/swing/DefaultSingleSelectionModel.java:
6395 (fireStateChanged): Simplified.
6396 * javax/swing/JPopupMenu.java
6397 (setSelectionModel): Set property.
6399 2005-02-15 Michael Koch <konqueror@gmx.de>
6401 * java/awt/print/Book.java: Reformatted.
6403 2005-02-15 Michael Koch <konqueror@gmx.de>
6405 * java/awt/geom/Area.java
6406 (QuadSegment.curveArea): Remove unused variables.
6407 (CubicSegment.curveArea): Likewise.
6409 2005-02-15 Michael Koch <konqueror@gmx.de>
6411 * javax/swing/JTree.java
6412 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6413 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6414 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6415 (EXPANDED): New constant.
6416 (COLLAPSED): Likewise.
6417 (nodeStates): New field.
6418 (cellEditor): New method.
6419 (cellRenderer): Likewise.
6420 (selectionModel): Likewise.
6421 (treeModel): Likewise.
6422 (scrollPathToVisible): Likewise.
6423 (scrollRowToVisible): Likewise.
6424 (isCollapsed): Likewise.
6425 (isExpanded): Likewise.
6426 (clearToggledPaths): Likewise.
6427 (getDescendantToggledPaths): Likewise.
6428 (hasBeenExpanded): Likewise.
6429 (isVisible): Likewise.
6430 (isPathEditable): Likewise.
6432 2005-02-15 Michael Koch <konqueror@gmx.de>
6434 * javax/swing/JLayeredPane.java: Reformatted.
6436 2005-02-15 Michael Koch <konqueror@gmx.de>
6438 * javax/swing/tree/DefaultMutableTreeNode.java:
6440 * javax/swing/tree/MutableTreeNode.java:
6443 2005-02-15 Michael Koch <konqueror@gmx.de>
6445 * javax/swing/JFormattedTextField.java
6446 (setDocument): Call setDocument of super class. Don't fire property
6449 2005-02-15 Sven de Marothy <sven@physto.se>
6451 * java/awt/image/IndexColorModel.java:
6452 Add FIXME with respect to alpha handling.
6453 (getAlpha): Default to returning opaque pixels.
6454 * java/awt/image/MultiPixelPackedSampleModel.java
6455 (MultiPixelPackedSampleModel): Corrected parameters, order of
6456 bit shifts and masks, stride length off by one.
6458 2005-02-15 Michael Koch <konqueror@gmx.de>
6460 * javax/swing/JList.java, javax/swing/JTree.java:
6461 Added much new methods and fixed much methods setting bound properties.
6463 2005-02-16 Mark Wielaard <mark@klomp.org>
6465 * Makefile.am (gnu_xml_source_files): Removed
6466 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6467 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6468 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6469 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6470 gnu/xml/dom/DomDocumentFragment.java,
6471 gnu/xml/dom/DomProcessingInstruction.java and
6472 gnu/xml/dom/ls/DomLSException.java.
6473 * Makefile.in: Regenerated.
6475 2005-02-16 Tom Tromey <tromey@redhat.com>
6477 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6478 attribute index is out of bounds.
6480 2005-02-16 Chris Burdess <dog@gnu.org>
6482 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6483 isDeclared methods. Improved performance of isSpecified methods.
6485 2005-02-16 Chris Burdess <dog@gnu.org>
6487 Fixes bug libgcj/19864
6488 * gnu/xml/dom/DomAttr.java,
6489 gnu/xml/dom/DomCDATA.java,
6490 gnu/xml/dom/DomCDATASection.java,
6491 gnu/xml/dom/DomCharacterData.java,
6492 gnu/xml/dom/DomDOMException.java,
6493 gnu/xml/dom/DomDoctype.java,
6494 gnu/xml/dom/DomDocument.java,
6495 gnu/xml/dom/DomDocumentConfiguration.java,
6496 gnu/xml/dom/DomDocumentFragment.java,
6497 gnu/xml/dom/DomElement.java,
6498 gnu/xml/dom/DomEx.java,
6499 gnu/xml/dom/DomFragment.java,
6500 gnu/xml/dom/DomImpl.java,
6501 gnu/xml/dom/DomIterator.java,
6502 gnu/xml/dom/DomNamedNodeMap.java,
6503 gnu/xml/dom/DomNode.java,
6504 gnu/xml/dom/DomNsNode.java,
6505 gnu/xml/dom/DomPI.java,
6506 gnu/xml/dom/DomProcessingInstruction.java,
6507 gnu/xml/dom/DomText.java,
6508 gnu/xml/dom/DomLSEx.java,
6509 gnu/xml/dom/DomLSException.java,
6510 gnu/xml/dom/DomLSParser.java,
6511 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6512 implementation class names to conform to Classpath guidelines. Make
6513 DomLSException use JDK 1.4+ exception chaining.
6514 * gnu/xml/util/SAXNullTransformerFactory.java,
6515 gnu/xml/xpath/Predicate.java: Use constants relative to
6516 declaring class or interface.
6518 2005-02-16 Andrew Haley <aph@redhat.com>
6520 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6521 null, create a new AccessControlContext.
6522 * java/security/SecureClassLoader.java (protectionDomainCache):
6524 (defineClass): Create a new protection domain and add it to our
6527 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6528 addStub() to keep track of the stub we've exported.
6529 (unexportObject): Call deleteStub().
6530 * java/rmi/server/RemoteObject.java (stubs): New field.
6531 (addStub): New method.
6532 (deleteStub): New method.
6535 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6536 true to findHelper (tryParents).
6537 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6539 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6540 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6542 If tryParents is false, don't scan parent class loaders.
6544 * java/security/Permissions.java (PermissionsHash.implies):
6545 Iterate over the collection and invoke implies() on each
6548 2005-02-16 Andrew Haley <aph@redhat.com>
6550 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6552 (PersistentByteMap): Set name
6553 Magic number changed to 0x67636a64 ("gcjd").
6554 (init): Force the map to be prime.
6555 (emptyPersistentByteMap): File name was a string, now a File.
6556 (addBytes): Share srings between entries.
6557 (stringTableSize): New method.
6558 (capacity): Scale by load factor.
6559 (force): New method.
6560 (getFile): New method.
6561 (close): New method.
6562 (putAll): New method.
6563 (ByteWrapper): New class.
6564 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6565 (main): Guess the average string size as 32, not 64.
6566 Copy a database before modifying it, so that we can update a
6567 database in a running system.
6568 If a database isn't big enough, resize it.
6569 "-m": new option: merges databases.
6570 "-a": Create a new detabase if it doesn't exist.
6571 (usage): Correct, add new option.
6572 (addJar): Copy a database before modifying it.
6573 (resizeMap): New method.
6575 2005-02-15 David Daney <ddaney@avtrex.com>
6576 Bryce McKinlay <mckinlay@redhat.com>
6578 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6579 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6580 ensure that GC threads inherit the new signal mask.
6581 (block_sigchld): Call JvFail rather than throwing exception if
6582 pthread_sigmask() fails.
6584 2005-02-15 Mark Wielaard <mark@klomp.org>
6586 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6587 file path elements are separated by spaces.
6589 2005-02-15 Mark Wielaard <mark@klomp.org>
6591 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6592 to describe attributes without a constant field value in this class.
6594 2005-02-15 Michael Koch <konqueror@gmx.de>
6596 * java/util/jar/Attributes.java
6597 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6599 2005-02-15 Mark Wielaard <mark@klomp.org>
6601 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6602 space for parsing CLASS_PATH attribute.
6604 2005-02-15 Mark Wielaard <mark@klomp.org>
6606 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6607 aside for "GCJLIBS" in directory where jarfiles are loaded.
6608 (JarURLLoader.getClass): Removed method.
6609 (JarURLLoader.toString): Removed method.
6610 (FileResource.toString): Removed method.
6612 2005-02-15 Mark Wielaard <mark@klomp.org>
6614 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6615 and/or cause before throwing.
6617 2005-02-15 Richard Henderson <rth@redhat.com>
6619 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6620 (libgcj0_convenience_la_SOURCES): ... here.
6621 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6622 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6623 * Makefile.in: Regenerate.
6625 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6628 * include/jawt.h: Likewise.
6629 * include/jawt_md.h: Likewise.
6630 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6632 * include/Makefile.in: Regenerate.
6633 * jni/classpath/classpath_jawt.h: Likewise.
6634 * jni/gtk-peer/gtk_jawt.c: Likewise.
6635 * Makefile.am: Build libjawt.so.
6636 * Makefile.in: Regenerate.
6638 2005-02-14 Tom Tromey <tromey@redhat.com>
6640 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6642 2005-02-14 Tom Tromey <tromey@redhat.com>
6644 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6645 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6647 2005-02-14 Tom Tromey <tromey@redhat.com>
6650 * testsuite/libjava.lang/PR19929.out: New file.
6651 * testsuite/libjava.lang/PR19929.java: New file.
6653 2005-02-14 Anthony Green <green@redhat.com>
6656 * testsuite/libjava.jni/PR18116.c: New file.
6657 * testsuite/libjava.jni/PR18116.java: New file.
6658 * testsuite/libjava.jni/PR18116.out: New file.
6660 2005-02-13 Anthony Green <green@redhat.com>
6663 * jni.cc (nathash_add): Don't strdup the method signature.
6664 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6668 2005-02-12 Mark Wielaard <mark@klomp.org>
6670 Fixes bug libgcj/8170
6671 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6672 ClassNotFoundException.
6673 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6674 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6675 (remove_internal): New field superceding remove_interpreter.
6676 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6677 Remove no-class methods starting with "_Jv_". And Replace null
6678 class or method names with the empty string. Stop at either the
6679 MainThread or a real Thread run() method.
6680 (newElement): Made static.
6681 * java/net/URLClassLoader.java (findClass): Throw
6682 ClassNotFoundExceptions including urls, plus parent using toString().
6683 (thisString): New field.
6684 (toString): New method.
6686 2005-02-10 Tom Tromey <tromey@redhat.com>
6688 * external/sax/Makefile.in: Rebuilt.
6689 * external/sax/Makefile.am (all-local): Removed.
6690 (BUILT_SOURCES): New variable.
6691 (mostlyclean-local): No error if no classes to delete.
6692 * external/w3c_dom/Makefile.in: Rebuilt.
6693 * external/w3c_dom/Makefile.am (all-local): Removed.
6694 (BUILT_SOURCES): New variable.
6695 (mostlyclean-local): No error if no classes to delete.
6697 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6699 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6700 of mauve and libjava.
6702 2005-02-09 Tom Tromey <tromey@redhat.com>
6704 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6705 jar file with OPEN_DELETE.
6706 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6707 OPEN_DELETE is used.
6709 2005-02-09 Tom Tromey <tromey@redhat.com>
6711 * java/util/zip/InflaterInputStream.java (markSupported):
6713 (mark, reset): Likewise.
6715 2005-02-08 Tom Tromey <tromey@redhat.com>
6717 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6718 name or port is missing.
6719 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6720 AUTHORITY_PORT_GROUP): Updated.
6722 2005-02-08 Tom Tromey <tromey@redhat.com>
6724 * configure: Rebuilt.
6725 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6728 2005-02-07 Tom Tromey <tromey@redhat.com>
6730 * java/lang/natRuntime.cc (insertSystemProperties): Set
6731 sun.boot.class.path earlier.
6733 2005-02-07 Tom Tromey <tromey@redhat.com>
6735 * defineclass.cc (handleClassBegin): Use
6736 _Jv_RegisterInitiatingLoader.
6737 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6738 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6739 class. Use _Jv_UnregisterInitiatingLoader.
6740 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6743 2005-02-07 Mark Wielaard <mark@klomp.org>
6745 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6746 java/util/regex/Matcher.java (lookingAt): Set position when match
6748 (matches): Implemented through lookingAt().
6750 2005-02-07 Mark Wielaard <mark@klomp.org>
6752 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6753 * java/util/regex/Pattern.java (split(CharSequence,int)):
6754 Fix while empties > 0 loops.
6756 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6758 * gnu/java/nio/charset/ISO_8859_1.java,
6759 gnu/java/nio/charset/US_ASCII.java,
6760 gnu/java/nio/charset/UTF_16.java,
6761 gnu/java/nio/charset/UTF_16_LE.java,
6762 gnu/java/nio/charset/UTF_16_BE.java,
6763 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6764 and aliases according to
6765 "http://www.iana.org/assignments/character-sets",
6766 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6767 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6768 * gnu/java/nio/charset/Provider.java: Made charset lookup
6769 case-insensitive which fixes bug #11740.
6771 2005-02-07 Tom Tromey <tromey@redhat.com>
6774 * Makefile.in: Rebuilt.
6775 * Makefile.am (src.zip): New target.
6776 (install-src.zip): Likewise.
6777 (sourcesdir): New variable.
6779 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6781 * javax/imageio/metadata/IIOMetadataNode.java:
6783 * javax/imageio/metadata/IIOAttr.java,
6784 javax/imageio/metadata/IIONamedNodeMap.java,
6785 javax/imageio/metadata/IIONodeList.java:
6788 2005-02-06 Graydon Hoare <graydon@redhat.com>
6790 * gnu/java/awt/ClasspathToolkit.java
6791 (registerImageIOSpis): New method.
6792 * javax/imageio/ImageIO.java
6793 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6794 (WriterMIMETypeFilter.filter): Likewise.
6795 (ImageReaderIterator): Pass extension argument through to SPI.
6796 (getReadersByFilter): Likewise.
6797 (getWritersByFilter): Likewise.
6798 (getImageReadersByFormatName): Likewise.
6799 (getImageReadersByMIMEType): Likewise.
6800 (getImageReadersBySuffix): Likewise.
6801 (getImageWritersByFormatName): Likewise.
6802 (getImageWritersByMIMEType): Likewise.
6803 (getImageWritersBySuffix): Likewise.
6806 * javax/imageio/ImageReader.java
6807 (progressListeners): Initialize.
6808 (setInput): Implement.
6809 * javax/imageio/ImageWriter.java
6810 (progressListeners): Initialize.
6811 (warningListeners): Likewise.
6812 (warningLocales): Likewise.
6813 (setOutput): Test "isInstance" rather than class equality.
6814 * javax/imageio/spi/IIORegistry.java
6815 (static): Add reader and writer SPIs.
6816 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6818 2005-02-06 Michael Koch <konqueror@gmx.de>
6820 * javax/imageio/metadata/IIOInvalidTreeException.java
6821 (IIOInvalidTreeException): Reformatted.
6822 * javax/imageio/spi/IIORegistry.java
6823 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6824 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6825 Reworked import statements.
6827 2005-02-06 Michael Koch <konqueror@gmx.de>
6829 * javax/imageio/stream/FileImageOutputStream.java:
6832 2005-02-06 Michael Koch <konqueror@gmx.de>
6834 * javax/imageio/stream/FileCacheImageInputStream.java,
6835 javax/imageio/stream/FileCacheImageOutputStream.java,
6836 javax/imageio/stream/FileImageInputStream.java,
6837 javax/imageio/stream/ImageInputStreamImpl.java,
6838 javax/imageio/stream/ImageOutputStreamImpl.java,
6839 javax/imageio/stream/MemoryCacheImageInputStream.java,
6840 javax/imageio/stream/MemoryCacheImageOutputStream.java:
6841 Added all missing methods in javax.imageio.stream.
6843 2005-02-02 David Daney <ddaney@avtrex.com>
6845 * java/net/InetAddress.java (InetAddress): Make a private copy of
6847 * java/net/Inet4Address.java (getAddress): Return a copy of the
6849 * java/net/Inet6Address.java (Inet6Address): Use private copy of
6851 (getAddress): Return a copy of the address.
6854 2005-02-02 Tom Tromey <tromey@redhat.com>
6856 * Makefile.in: Rebuilt.
6857 * Makefile.am (classes.stamp): New target, broken out from
6859 ($(all_java_class_files)): Depend on it.
6860 (libgcj-@gcc_version@.jar): Likewise.
6861 (all-recursive): Likewise.
6862 (CLEANFILES): Include classes.stamp.
6864 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
6866 * link.cc: Include <stdio.h>
6868 2005-02-02 Tom Tromey <tromey@redhat.com>
6871 * Makefile.in: Rebuilt.
6872 * Makefile.am (ordinary_java_source_files): Added new class.
6873 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6874 Use system_instance, not instance.
6875 * gnu/gcj/runtime/SystemClassLoader.java: New file.
6876 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
6878 (system_instance): New field.
6879 (initialize): Initialize the system loader as well.
6880 (VMClassLoader): Default to LIB_CACHE.
6882 2005-02-02 Tom Tromey <tromey@redhat.com>
6884 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
6885 * prims.cc: Fixed comment.
6887 2005-02-01 Tom Tromey <tromey@redhat.com>
6889 * Makefile.in: Rebuilt.
6890 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
6891 (.java.class): Use BOOTCLASSPATH.
6893 2005-02-01 Tom Tromey <tromey@redhat.com>
6895 * external/w3c_dom/Makefile.am: New file.
6896 * external/w3c_dom/Makefile.in: New file.
6897 * external/sax/Makefile.am: New file.
6898 * external/sax/Makefile.in: New file.
6899 * external/Makefile.in: New file.
6900 * external/Makefile.am: New file.
6901 * external/README: New file from Classpath.
6902 * configure, aclocal.m4, Makefile.in: Rebuilt.
6903 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
6904 * Makefile.am (SUBDIRS): Added external.
6905 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
6906 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
6907 (BOOTCLASSPATH): New variable.
6908 (AM_GCJFLAGS): Use it.
6909 (gnu_xml_source_files): New variable.
6910 (libgcj_la_SOURCES): Use it.
6911 (libgcj_la_LDADD): Include new convenience libraries.
6912 (lib_org_ietf_jgss_la_SOURCES): Removed.
6913 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
6914 (lib_org_ietf_jgss_la_LIBADD): Likewise.
6915 (lib_org_w3c_dom_la_SOURCES): Removed.
6916 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
6917 (lib_org_w3c_dom_la_LIBADD): Likewise.
6918 (lib_org_xml_sax_la_SOURCES): Removed.
6919 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
6920 (lib_org_xml_sax_la_LIBADD): Likewise.
6921 (all_java_source_files): Updated.
6922 (property_files): Likewise.
6923 (libgcj-@gcc_version@.jar): Include classes from external/.
6924 (javax_source_files): Updated.
6925 (ordinary_java_source_files): Updated.
6926 * javax/xml/XMLConstants.java,
6927 javax/xml/datatype/DatatypeConfigurationException.java,
6928 javax/xml/datatype/DatatypeConstants.java,
6929 javax/xml/datatype/DatatypeFactory.java,
6930 javax/xml/datatype/Duration.java,
6931 javax/xml/datatype/XMLGregorianCalendar.java,
6932 javax/xml/datatype/package.html,
6933 javax/xml/namespace/NamespaceContext.java,
6934 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
6935 javax/xml/parsers/DocumentBuilder.java,
6936 javax/xml/parsers/DocumentBuilderFactory.java,
6937 javax/xml/parsers/FactoryConfigurationError.java,
6938 javax/xml/parsers/ParserConfigurationException.java,
6939 javax/xml/parsers/SAXParser.java,
6940 javax/xml/parsers/SAXParserFactory.java,
6941 javax/xml/parsers/package.html,
6942 javax/xml/transform/ErrorListener.java,
6943 javax/xml/transform/OutputKeys.java,
6944 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
6945 javax/xml/transform/SourceLocator.java,
6946 javax/xml/transform/Templates.java,
6947 javax/xml/transform/Transformer.java,
6948 javax/xml/transform/TransformerConfigurationException.java,
6949 javax/xml/transform/TransformerException.java,
6950 javax/xml/transform/TransformerFactory.java,
6951 javax/xml/transform/TransformerFactoryConfigurationError.java,
6952 javax/xml/transform/URIResolver.java,
6953 javax/xml/transform/package.html,
6954 javax/xml/transform/dom/DOMLocator.java,
6955 javax/xml/transform/dom/DOMResult.java,
6956 javax/xml/transform/dom/DOMSource.java,
6957 javax/xml/transform/dom/package.html,
6958 javax/xml/transform/sax/SAXResult.java,
6959 javax/xml/transform/sax/SAXSource.java,
6960 javax/xml/transform/sax/SAXTransformerFactory.java,
6961 javax/xml/transform/sax/TemplatesHandler.java,
6962 javax/xml/transform/sax/TransformerHandler.java,
6963 javax/xml/transform/sax/package.html,
6964 javax/xml/transform/stream/StreamResult.java,
6965 javax/xml/transform/stream/StreamSource.java,
6966 javax/xml/transform/stream/package.html,
6967 javax/xml/validation/Schema.java,
6968 javax/xml/validation/SchemaFactory.java,
6969 javax/xml/validation/TypeInfoProvider.java,
6970 javax/xml/validation/Validator.java,
6971 javax/xml/validation/ValidatorHandler.java,
6972 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
6973 javax/xml/xpath/XPathConstants.java,
6974 javax/xml/xpath/XPathException.java,
6975 javax/xml/xpath/XPathExpression.java,
6976 javax/xml/xpath/XPathExpressionException.java,
6977 javax/xml/xpath/XPathFactory.java,
6978 javax/xml/xpath/XPathFactoryConfigurationException.java,
6979 javax/xml/xpath/XPathFunction.java,
6980 javax/xml/xpath/XPathFunctionException.java,
6981 javax/xml/xpath/XPathFunctionResolver.java,
6982 javax/xml/xpath/XPathVariableResolver.java,
6983 javax/xml/xpath/package.html: New files, from GNU JAXP.
6984 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
6985 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
6986 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
6987 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
6988 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
6989 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
6990 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
6991 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
6992 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
6993 org/w3c/dom/ranges/DocumentRange.java,
6994 org/w3c/dom/ranges/Range.java,
6995 org/w3c/dom/ranges/RangeException.java,
6996 org/w3c/dom/traversal/DocumentTraversal.java,
6997 org/w3c/dom/traversal/NodeFilter.java,
6998 org/w3c/dom/traversal/NodeIterator.java,
6999 org/w3c/dom/traversal/TreeWalker.java,
7000 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7001 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7002 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7003 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7004 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7005 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7006 org/xml/sax/SAXNotRecognizedException.java,
7007 org/xml/sax/SAXNotSupportedException.java,
7008 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7009 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7010 org/xml/sax/ext/DeclHandler.java,
7011 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7012 org/xml/sax/helpers/AttributeListImpl.java,
7013 org/xml/sax/helpers/AttributesImpl.java,
7014 org/xml/sax/helpers/DefaultHandler.java,
7015 org/xml/sax/helpers/LocatorImpl.java,
7016 org/xml/sax/helpers/NamespaceSupport.java,
7017 org/xml/sax/helpers/NewInstance.java,
7018 org/xml/sax/helpers/ParserAdapter.java,
7019 org/xml/sax/helpers/ParserFactory.java,
7020 org/xml/sax/helpers/XMLFilterImpl.java,
7021 org/xml/sax/helpers/XMLReaderAdapter.java,
7022 org/xml/sax/helpers/XMLReaderFactory.java,
7023 org/xml/sax/helpers/package.html: Moved to external/.
7024 * external/sax/README,
7025 external/sax/org/xml/sax/AttributeList.java,
7026 external/sax/org/xml/sax/Attributes.java,
7027 external/sax/org/xml/sax/ContentHandler.java,
7028 external/sax/org/xml/sax/DTDHandler.java,
7029 external/sax/org/xml/sax/DocumentHandler.java,
7030 external/sax/org/xml/sax/EntityResolver.java,
7031 external/sax/org/xml/sax/ErrorHandler.java,
7032 external/sax/org/xml/sax/HandlerBase.java,
7033 external/sax/org/xml/sax/InputSource.java,
7034 external/sax/org/xml/sax/Locator.java,
7035 external/sax/org/xml/sax/Parser.java,
7036 external/sax/org/xml/sax/SAXException.java,
7037 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7038 external/sax/org/xml/sax/SAXNotSupportedException.java,
7039 external/sax/org/xml/sax/SAXParseException.java,
7040 external/sax/org/xml/sax/XMLFilter.java,
7041 external/sax/org/xml/sax/XMLReader.java,
7042 external/sax/org/xml/sax/package.html,
7043 external/sax/org/xml/sax/ext/Attributes2.java,
7044 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7045 external/sax/org/xml/sax/ext/DeclHandler.java,
7046 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7047 external/sax/org/xml/sax/ext/EntityResolver2.java,
7048 external/sax/org/xml/sax/ext/LexicalHandler.java,
7049 external/sax/org/xml/sax/ext/Locator2.java,
7050 external/sax/org/xml/sax/ext/Locator2Impl.java,
7051 external/sax/org/xml/sax/ext/package.html,
7052 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7053 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7054 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7055 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7056 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7057 external/sax/org/xml/sax/helpers/NewInstance.java,
7058 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7059 external/sax/org/xml/sax/helpers/ParserFactory.java,
7060 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7061 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7062 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7063 external/sax/org/xml/sax/helpers/package.html,
7064 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7065 external/w3c_dom/org/w3c/dom/Attr.java,
7066 external/w3c_dom/org/w3c/dom/CDATASection.java,
7067 external/w3c_dom/org/w3c/dom/CharacterData.java,
7068 external/w3c_dom/org/w3c/dom/Comment.java,
7069 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7070 external/w3c_dom/org/w3c/dom/DOMError.java,
7071 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7072 external/w3c_dom/org/w3c/dom/DOMException.java,
7073 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7074 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7075 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7076 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7077 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7078 external/w3c_dom/org/w3c/dom/Document.java,
7079 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7080 external/w3c_dom/org/w3c/dom/DocumentType.java,
7081 external/w3c_dom/org/w3c/dom/Element.java,
7082 external/w3c_dom/org/w3c/dom/Entity.java,
7083 external/w3c_dom/org/w3c/dom/EntityReference.java,
7084 external/w3c_dom/org/w3c/dom/NameList.java,
7085 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7086 external/w3c_dom/org/w3c/dom/Node.java,
7087 external/w3c_dom/org/w3c/dom/NodeList.java,
7088 external/w3c_dom/org/w3c/dom/Notation.java,
7089 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7090 external/w3c_dom/org/w3c/dom/Text.java,
7091 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7092 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7093 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7094 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7095 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7096 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7097 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7098 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7099 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7100 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7101 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7102 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7103 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7104 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7105 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7106 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7107 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7108 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7109 external/w3c_dom/org/w3c/dom/css/Counter.java,
7110 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7111 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7112 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7113 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7114 external/w3c_dom/org/w3c/dom/css/Rect.java,
7115 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7116 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7117 external/w3c_dom/org/w3c/dom/events/Event.java,
7118 external/w3c_dom/org/w3c/dom/events/EventException.java,
7119 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7120 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7121 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7122 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7123 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7124 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7125 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7126 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7127 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7128 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7129 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7130 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7131 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7132 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7133 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7134 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7135 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7136 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7137 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7138 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7139 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7140 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7141 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7142 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7143 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7144 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7145 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7146 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7147 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7148 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7149 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7150 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7151 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7152 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7153 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7154 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7155 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7156 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7157 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7158 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7159 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7160 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7161 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7162 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7163 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7164 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7165 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7166 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7167 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7168 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7169 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7170 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7171 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7172 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7173 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7174 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7175 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7176 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7177 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7178 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7179 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7180 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7181 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7182 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7183 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7184 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7185 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7186 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7187 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7188 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7189 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7190 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7191 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7192 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7193 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7194 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7195 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7196 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7197 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7198 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7199 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7200 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7201 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7202 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7203 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7204 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7205 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7206 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7207 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7208 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7209 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7210 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7213 2005-01-31 Anthony Green <green@redhat.com>
7215 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7216 Support IP_MULTICAST_LOOP.
7217 (setOption): Support IP_MULTICAST_LOOP.
7219 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7220 SO_REUSEADDR support.
7221 (getOption): Support SO_REUSEADDR.
7223 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7226 * java/util/Date.java
7227 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7229 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7231 (getTimezoneOffset): Inverted sign.
7233 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7235 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7236 remove other passing tests and add new XFAILs.
7238 2005-01-24 Tom Tromey <tromey@redhat.com>
7240 * java/lang/Class.h (next): Updated documentation. Renamed to
7242 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7243 _Jv_CheckABIVersion.
7244 (_Jv_RegisterClasses_Counted): Likewise.
7245 (_Jv_RegisterClassHookDefault): Fix starting condition of
7246 duplicate-checking loop.
7247 * include/jvm.h (GCJ_VERSION): New define.
7248 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7249 (_Jv_CheckABIVersion): New function.
7251 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7253 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7254 (libgij_la_LDFLAGS): Add.
7255 * Makefile.in: Rebuilt.
7257 2005-01-24 Roger Sayle <roger@eyesopen.com>
7260 * testsuite/libjava.compile/PR19295.java: New test case.
7262 2005-01-19 Tom Tromey <tromey@redhat.com>
7264 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7265 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7266 if 'handler' is valid.
7268 2005-01-17 Tom Tromey <tromey@redhat.com>
7270 * java/text/MessageFormat.java (scanString): Changed how quoting
7272 (scanFormatElement): Likewise.
7274 2004-12-07 Mark Wielaard <mark@klomp.org>
7276 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7278 2005-01-15 Michael Koch <konqueror@gmx.de>
7282 (AUTHORITY_REGEXP): New regexp constant.
7283 (AUTHORITY_USERINFO_GROUP): New constant.
7284 (AUTHORITY_HOST_GROUP): Likewise.
7285 (AUTHORITY_PORT_GROUP): Likewise.
7286 (port): Changed default value to -1.
7287 (parseURI): Parse authority part and initialize host,
7290 2005-01-14 Robin Green <greenrd@greenrd.org>
7292 * java/io/File.java (toURI): Generate a URI which we understand.
7294 2005-01-13 Graydon Hoare <graydon@redhat.com>
7296 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7297 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7298 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7299 * jni.cc: Reuse bottom frame between calls, avoid clearing
7300 frame when no local references are made.
7302 2005-01-13 Michael Koch <konqueror@gmx.de>
7305 * java/lang/Thread.java
7306 (Thread): Call checkAccess().
7307 (stop): Fixed argument name to match javadoc.
7308 * java/lang/natThread.cc
7309 (interrupt): Call checkAccess().
7312 2005-01-11 Michael Koch <konqueror@gmx.de>
7315 * java/net/URL.java (URL): Handle specs like
7316 "/redir?http://domain2.com/index.html" which start with a slash.
7318 2005-01-11 Michael Koch <konqueror@gmx.de>
7320 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7321 * gnu/java/net/BASE64.java,
7322 gnu/java/net/EmptyX509TrustManager.java,
7323 gnu/java/net/LineInputStream.java,
7324 gnu/java/net/protocol/http/Authenticator.java,
7325 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7326 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7327 gnu/java/net/protocol/http/ChunkedInputStream.java,
7328 gnu/java/net/protocol/http/Cookie.java,
7329 gnu/java/net/protocol/http/CookieManager.java,
7330 gnu/java/net/protocol/http/Credentials.java,
7331 gnu/java/net/protocol/http/HTTPConnection.java,
7332 gnu/java/net/protocol/http/HTTPDateFormat.java,
7333 gnu/java/net/protocol/http/HTTPURLConnection.java,
7334 gnu/java/net/protocol/http/Headers.java,
7335 gnu/java/net/protocol/http/Request.java,
7336 gnu/java/net/protocol/http/RequestBodyWriter.java,
7337 gnu/java/net/protocol/http/Response.java,
7338 gnu/java/net/protocol/http/ResponseBodyReader.java,
7339 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7340 gnu/java/net/protocol/http/SimpleCookieManager.java,
7341 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7342 gnu/java/net/protocol/http/event/ConnectionListener.java,
7343 gnu/java/net/protocol/http/event/RequestEvent.java,
7344 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7345 * gnu/java/net/protocol/http/Connection.java: Removed.
7346 * gnu/java/net/protocol/http/Handler.java,
7347 javax/net/ssl/HttpsURLConnection.java: Updated.
7348 * Makefile.am: Added new files and remove old ones.
7349 * Makefile.in: Regenerated.
7351 2005-01-11 Tom Tromey <tromey@redhat.com>
7354 * java/io/BufferedInputStream.java (read): Repeatedly read to
7356 (refill): Change test to see if buffer must be grown.
7358 2005-01-10 Tom Tromey <tromey@redhat.com>
7360 * mauve-libgcj: Exclude some swing tests.
7362 2005-01-10 Tom Tromey <tromey@redhat.com>
7364 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7365 * java/lang/Package.java (getPackages): Use VMClassLoader when
7367 (getPackage): Likewise.
7368 * prims.cc (_Jv_CreateJavaVM): Call
7369 _Jv_RegisterBootstrapPackages.
7370 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7371 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7372 (getPackages): Likewise.
7373 (definedPackages): New field.
7374 (definePackageForNative): New method.
7375 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7376 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7377 * defineclass.cc (handleClassBegin): Use
7378 ClassLoader.findLoadedClass.
7379 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7381 (struct _Jv_LoaderInfo): Removed.
7382 (initiated_classes): Likewise.
7383 (_Jv_UnregisterClass): Don't use initiated_classes.
7384 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7385 (_Jv_FindClass): Register classes found during boostrap.
7386 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7387 (bootstrap_class_list): New global.
7388 (bootstrap_index): Likewise.
7389 (_Jv_RegisterBootstrapPackages): New function.
7390 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7391 definePackageForNative.
7392 (findClass): Updated.
7393 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7396 2005-01-10 Tom Tromey <tromey@redhat.com>
7399 * include/jvm.h (_Jv_Linker::find_field): Declare.
7400 (_Jv_Linker::find_field_helper): Likewise.
7401 * link.cc (find_field_helper): New method.
7402 (find_field): Likewise.
7403 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7405 (link_symbol_table): Use find_field.
7407 2005-01-10 Michael Koch <konqueror@gmx.de>
7410 * java/util/Locale.java (Locale): Don't uppercase variant.
7411 (getISOCountries): Fixed typo in javadoc.
7413 2005-01-10 Michael Koch <konqueror@gmx.de>
7415 * java/util/SimpleTimeZone.java (checkRule):
7416 Throw IllegalArgumentException on invalid month values.
7417 * java/util/TimeZone.java (setID):
7418 Throw NullPointerException if needed.
7420 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7422 * java/util/SimpleTimeZone.java (getOffset):
7423 offset end date with daylight savings
7425 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7427 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7428 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7430 2005-01-09 Michael Koch <konqueror@gmx.de>
7433 * java/net/InetAddress.java (getLocalHost):
7434 Throw UnknownHostException if local hostname cannot be determined.
7436 2005-01-06 Tom Tromey <tromey@redhat.com>
7438 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7440 2005-01-07 Michael Koch <konqueror@gmx.de>
7443 * java/nio/Buffer.java (address): New field.
7444 * java/nio/DirectByteBufferImpl.java (address): Removed.
7445 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7446 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7447 Explicitly initialize Buffer.address if needed.
7448 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7449 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7450 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7451 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7452 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7453 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7454 DirectByteBufferImpl object.
7455 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7456 * testsuite/libjava.jni/directbuffer.c,
7457 testsuite/libjava.jni/directbuffer.java,
7458 testsuite/libjava.jni/directbuffer.out,
7459 testsuite/libjava.jni/bytebuffer.c,
7460 testsuite/libjava.jni/bytebuffer.java,
7461 testsuite/libjava.jni/bytebuffer.out: New files.
7463 2005-01-05 Tom Tromey <tromey@redhat.com>
7465 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7467 (compressedSize): Now 'long'. Default to -1.
7468 (getCompressedSize): Rewrote.
7469 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7470 deflate at all if we need input.
7472 2005-01-05 Tom Tromey <tromey@redhat.com>
7475 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7478 2005-01-05 Tom Tromey <tromey@redhat.com>
7480 * java/lang/natRuntime.cc (insertSystemProperties): Set
7481 java.ext.dirs earlier.
7483 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7485 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7486 sync_info element of the object if needed.
7488 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7490 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7491 a non-zero exit status from 'false'.
7493 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7495 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.