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