1 2005-06-01 Keith Seitz <keiths@redhat.com>
3 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
4 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
5 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
7 2005-06-01 Tom Tromey <tromey@redhat.com>
10 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
11 (currentLoader): New method.
12 * java/io/ObjectInputStream.java (resolveProxyClass): Use
14 (currentLoader): Now native.
15 (currentClassLoader): Removed.
16 * testsuite/libjava.lang/pr21785.java: New file.
17 * testsuite/libjava.lang/pr21785.out: New file.
19 2005-06-01 Tom Tromey <tromey@redhat.com>
22 * java/lang/natString.cc (substring): Changed sharing heuristic.
24 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
27 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
28 MAXPATHLEN. Format exception message using a StringBuffer instead.
30 2005-05-29 Michael Koch <konqueror@gmx.de>
33 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
35 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
37 * ChangeLog: Fix typo.
39 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
41 Testsuite adjustments for PR java/19870.
42 * testsuite/libjava.lang/PR19870.java: New testcase.
43 * testsuite/libjava.lang/PR19870.out: Expected output for the
45 * testsuite/libjava.jacks/jacks.xfail: Add
46 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
49 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
51 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
52 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
53 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
55 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
56 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
57 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
58 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
60 2005-05-25 Richard Henderson <rth@redhat.com>
63 * sysdep/descriptor-n.h: New file.
64 * sysdep/descriptor-y.h: New file.
65 * sysdep/powerpc/descriptor.h: New file.
66 * configure.host: Set $descriptor_h appropriate for the host.
67 * configure.ac: Link it.
68 * configure: Regenerate.
69 * stacktrace.cc: Include sysdep/descriptor.h.
70 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
72 2005-05-25 Chris Burdess <dog@gnu.org>
74 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
77 2005-05-24 Gary Benson <gbenson@redhat.com>
80 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
81 Handle DateFormat.DEFAULT case correctly.
83 2005-05-21 Tom Tromey <tromey@redhat.com>
86 * java/lang/ref/natReference.cc (find_slot): Handle case where
87 table has no NULL entries.
88 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
89 table has no NULL entries.
91 2005-05-22 Andreas Jaeger <aj@suse.de>
93 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
96 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
98 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
100 2005-05-19 Richard Henderson <rth@redhat.com>
102 * exception.cc: Revert 05-17 gcc_unreachable change.
104 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
106 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
107 _Jv_RegisterInitiatingLoader to register array classes, not
109 (_Jv_RegisterInitiatingLoader): Give up if called very early during
110 bootstrapping. Add a FIXME to handle this case better.
112 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
114 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
116 (libgcj_la_SOURCES): New. Move sources here.
117 (libgcj.la): Remove rule.
119 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
122 * gnu/java/security/provider/DSASignature.java: Import updates
125 2005-05-18 Anthony Green <green@redhat.com>
127 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
128 classpath_jawt_object_unlock, classpath_jawt_create_lock,
129 classpath_jawt_destroy_lock): New functions.
130 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
131 classpath_jawt_object_unlock, classpath_jawt_create_lock,
132 classpath_jawt_destroy_lock): New functions.
133 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
135 * jawt.c: #include malloc.h.
136 (_Jv_Lock): Use lock.
138 (_Jv_GetDrawingSurface): Initialize lock.
139 (_Jv_FreeDrawingSurface): Destroy lock.
140 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
142 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
144 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
145 * Makefile.in: Regenerate.
147 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
149 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
150 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
151 * aclocal.m4, configure, config.h.in, include/config.h.in,
152 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
153 external/Makefile.in, external/sax/Makefile.in,
154 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
156 2005-05-17 David Daney <ddaney@avtrex.com>
159 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
161 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
163 * exception.cc (abort): Remove std::abort hack.
164 (gcc_unreacheable): Define.
166 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
168 * Makefile.am (Makefile.deps): Do not create native.list and
170 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
171 * Makefile.in: Regenerate.
173 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
175 * configure.ac (--enable-libgcj-multifile): Remove.
177 * Makefile.am (all_native_compiled_source_files,
178 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
179 all_libgcj_lo_files, all_xlib_lo_files,
180 all_java_deps_files, all_java_stamp_files,
181 all_java_filelist_files): New variables.
182 (EXTRA_DIST): New Automake variable.
183 (CLEANFILES): Add .stamp, .list and .lo files.
184 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
185 (classes.stamp): Depend on $(all_java_stamp_files).
186 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
187 going through write_entries_to_file.
189 (all_java_source_files, all_property_files): Move earlier.
190 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
191 all_java_class_files): Remove.
192 (gtk_awt_peer_sources): Rename to...
193 (gtk_awt_peer_source_files): ... this. Adjust throughout.
196 (libgcj0_convenience_la_SOURCES): Remove Java source files.
197 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
198 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
199 (libgcj_la_SOURCES): Remove.
200 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
201 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
202 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
204 * configure: Regenerate.
205 * Makefile.in: Regenerate.
206 * external/Makefile.in: Regenerate.
207 * external/sax/Makefile.in: Regenerate.
208 * external/w3c_dom/Makefile.in: Regenerate.
209 * gcj/Makefile.in: Regenerate.
210 * include/Makefile.in: Regenerate.
211 * libltdl/Makefile.in: Regenerate.
212 * testsuite/Makefile.in: Regenerate.
214 2005-05-16 Tom Tromey <tromey@redhat.com>
216 * java/nio/charset/Charset.java (encode, decode): Synchronize on
217 'this', not the class.
219 2005-05-16 Tom Tromey <tromey@redhat.com>
221 * gnu/java/net/protocol/http/Headers.java (parse): Include final
224 2005-05-16 Tom Tromey <tromey@redhat.com>
227 * java/net/URI.java (unquote): Handle lower-case letters as well.
229 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
232 * gnu/regexp/RE.java: Add support for quoting constructs.
234 2005-05-15 Tom Tromey <tromey@redhat.com>
236 * java/lang/String.java (startsWith): Fixed javadoc.
238 2005-05-15 Tom Tromey <tromey@redhat.com>
241 * testsuite/libjava.compile/pr21519.java: New file.
242 * testsuite/libjava.compile/pr21519.no-link: New file.
244 2005-05-15 Tom Tromey <tromey@redhat.com>
246 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
248 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
251 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
252 interrupt status flag if _Jv_CondWait is interrupted.
254 2005-05-13 Tom Tromey <tromey@redhat.com>
256 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
259 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
261 * include/jvm.h (gcj::verifyClasses): Declare.
262 * link.cc (gcj::verbose_class_flag): Moved.
263 * prims.cc (gcj::verifyClasses): Define here.
264 (gcj::verbose_class_flag): Move definition here.
265 (_Jv_Linker::wait_for_state): Don't call verify_class
266 if gcj::verifyClasses is not set.
267 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
269 2005-05-12 Aaron Luchko <aluchko@redhat.com>
271 * gij.cc (main): Recognize '-verify', '-noverify', and
274 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
276 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
278 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
280 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
283 2005-05-11 Tom Tromey <tromey@redhat.com>
285 * external/w3c_dom/Makefile.in: Rebuilt.
286 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
288 * external/sax/Makefile.in: Rebuilt.
289 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
291 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
293 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
294 Call _Jv_CopyClassesToSystemLoader.
295 * java/lang/natClassLoader.cc (system_class_list): New global.
296 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
298 (_Jv_CopyClassesToSystemLoader): New function.
299 (SYSTEM_LOADER_INITIALIZED): New define.
300 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
301 (_Jv_CheckABIVersion): Use it.
302 (_Jv_ClassForBootstrapLoader): New function.
303 * Makefile.in: Rebuilt.
304 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
306 2005-05-10 Tom Tromey <tromey@redhat.com>
308 * gcj/javaprims.h: Updated.
309 * java/lang/String.java (String(StringBuilder)): New constructor.
310 * java/lang/natStringBuilder.cc: New file.
311 * java/lang/StringBuilder.java: New file.
312 * Makefile.in: Rebuilt.
313 * Makefile.am (core_java_source_files): Added StringBuilder.java.
314 (nat_source_files): Added natStringBuilder.cc.
316 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
319 * testsuite/libjava.jacks/jacks.xfail: Adjust.
321 2005-05-09 Mike Stump <mrs@apple.com>
323 * configure: Regenerate.
325 2005-05-09 David Daney <ddaney@avtrex.com>
327 * java/util/BitSet.java (get(int, int)): Fix breakage when
328 requested set doesn't start on a multiple of 64.
330 2005-05-07 Matthias Klose <doko@debian.org>
332 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
334 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
336 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
337 * Makefile.in: Regenerate.
338 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
339 (createCompatibleVolatileImage(int,int)): Implement.
340 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
342 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
344 (createVolatileImage): Implement.
345 (createBuffers): Likewise.
346 (getBackBuffer): Likewise.
348 (destroyBuffers): Likewise.
349 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
350 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
351 (CanvasFlipBufferStrategy): Likewise.
352 (createBufferStrategy(int)): New method.
353 (createBufferStrategy(int,BufferCapabilities)): Likewise.
354 * java/awt/Component.java (BltBufferStrategy): Implement and
356 (FlipBufferStrategy): Likewise.
357 * java/awt/Window.java (WindowBltBufferStrategy): New class.
358 (WindowFlipBufferStrategy): Likewise.
359 (createBufferStrategy(int)): New method.
360 (createBufferStrategy(int,BufferCapabilities)): Likewise.
361 (getBufferStrategy): Likewise.
362 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
363 front to frontCaps and back to backCaps.
365 2005-05-06 Michael Koch <konqueror@gmx.de>
367 * java/awt/BufferCapabilities.java
368 (BufferCapabilities): Merged javadoc.
370 2005-05-06 Michael Koch <konqueror@gmx.de>
372 * java/util/Locale.java
373 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
374 (getLocale): New methods. Use it everywhere where instances of Locales
376 (getDisplayLanguage): Merged javadoc.
377 (getDisplayCountry): Likewise.
378 (getDisplayVariant): Likewise.
380 2005-05-06 Archie Cobbs <archie@dellroad.org>
382 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
383 use DeleteLocalRef() to avoid exhausting local native references.
385 2005-05-06 Mark Wielaard <mark@klomp.org>
387 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
388 (window_delete_cb): Don't use C++ style comments.
390 2005-05-06 Robert Schuster <thebohemian@gmx.net>
392 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
395 2005-05-06 Robert Schuster <thebohemian@gmx.net>
397 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
398 (window_delete_cb): Made the function return TRUE.
400 2005-05-06 Roman Kennke <roman@kennke.org>
402 * javax/swing/text/PlainView.java
403 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
405 * javax/swing/text/Utilities.java
406 (drawTabbedText): Initilialize local variable pos correctly.
408 2005-05-06 Roman Kennke <roman@kennke.org>
410 * javax/swing/text/AbstractDocument.java
411 (LeafElement): Made start and end package private fields for
412 effective reindexing.
413 * javax/swing/text/PlainDocument.java
414 (constructor): The field rootElement is always BranchElement,
415 so we handle it as such.
416 (removeUpdate): Rewritten reindexing for removeUpdate so that
417 the actual removal is taken into account.
419 2005-05-06 Roman Kennke <roman@kennke.org>
421 * javax/swing/text/GapContent.java:
422 Removed debugging output stuff, which I accidentally left in.
424 2005-05-06 Roman Kennke <roman@kennke.org>
426 * javax/swing/text/GapContent.java:
427 Implemented a real GapContent. Only the public methods have
428 been implemented so far and still no UndoableEdit support.
430 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
432 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
435 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
437 * java/awt/image/BufferStrategy.java: Document.
439 * java/awt/BufferCapabilities.java: Document.
441 2005-05-04 Tom Tromey <tromey@redhat.com>
443 * java/nio/channels/FileLock.java (toString): Entirely avoid
446 2005-05-04 Andrew Overholt <overholt@redhat.com>
448 * java/nio/channels/FileLock.java (toString): Re-implement using
451 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
453 * java/awt/ImageCapabilities.java: Document.
455 * java/awt/image/VolatileImage.java: Unindent copyright header.
457 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
459 * java/awt/image/VolatileImage.java: Document.
461 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
464 (init_glib_threads): Check if threading system is already
467 2005-05-03 Andrew Overholt <overholt@redhat.com>
470 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
471 could not be acquired.
472 * java/nio/channels/FileLock.java (toString): Re-implement to be
473 in line with other implementations.
475 2005-05-03 Tom Tromey <tromey@redhat.com>
477 * java/lang/VMSecurityManager.java (currentClassLoader): Use
478 'systemClasssLoader' directly.
480 2005-05-03 Tom Tromey <tromey@redhat.com>
482 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
483 call VMClassLoader.getSystemClassLoader.
485 2005-04-29 Michael Koch <konqueror@gmx.de>
487 * java/net/NetworkInterface.java
489 (NetworkInterface(String,InetAddress)): Made package-private.
490 (NetworkInterface(String,InetAddress[])): New constructor.
491 (getRealNetworkInterfaces): Removed.
492 (getByName): Use VMNetworkInterface.getInterfaces().
493 (getByInetAddress): Likewise.
494 (getNetworkInterfaces): Likewise.
495 * java/net/VMNetworkInterface.java,
496 java/net/natVMNetworkInterfaceNoNet.cc,
497 java/net/natVMNetworkInterfacePosix.c,c
498 java/net/natVMNetworkInterfaceWin32.cc: New files.
499 * java/net/natNetworkInterfaceNoNet.cc,
500 java/net/natNetworkInterfacePosix.cc,
501 java/net/natNetworkInterfaceWin32.cc: Removed.
504 * configure, Makefile.in: Regenerated.
506 2005-04-29 Andrew Haley <aph@redhat.com>
508 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
510 2005-04-29 Dalibor Topic <robilad@kaffe.org>
512 * java/nio/channels/FileChannelImpl.java
513 (FileChannelImpl(String, int)): Removed.
514 (FileChannelImpl(File, int)): Added. Check if opened file is a
516 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
517 Call FileChannelImpl(File, int).
518 * java/io/FileOutputStream.java (FileInputStream): Call
519 FileChannelImpl(File, int).
520 * java/io/RandomAccessFile.java (RandomAccessFile):
521 Call FileChannelImpl(File, int). Switched constructors around.
523 2005-04-27 Andrew Haley <aph@redhat.com>
526 * prims.cc (_Jv_ResolvePoolEntry): New function.
527 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
528 * link.cc (_Jv_Linker::find_field): New arg: found_class.
529 (resolve_pool_entry): Initialize the class in which a field is
531 (link_symbol_table): Pass new arg to found_class.
533 2005-04-29 Michael Koch <konqueror@gmx.de>
535 * java/nio/charset/Charset.java
536 (provider): Reformatted.
538 2005-04-29 Michael Koch <konqueror@gmx.de>
540 * gnu/java/net/protocol/http/HTTPConnection.java:
541 (userAgent): Initialize from system properties.
542 (initUserAgent): Removed.
544 2005-04-29 Mark Wielaard <mark@klomp.org>
546 * java/util/ResourceBundle.java (getObject): Clarify
547 MissingResourceException detailed message.
548 (tryBundle(String,ClassLoader)): Likewise.
550 2005-04-29 Robert Schuster <thebohemian@gmx.net>
552 * java/beans/FeatureDescriptor.java:
553 (getShortDescription): Implemented fallback mechanism and fixed
554 documentation (fixes bug #12637).
555 (getDisplayName): Dito.
557 2005-04-29 Robert Schuster <thebohemian@gmx.net>
559 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
560 will now be set correctly.
561 (flushCaches): Now flushes all cached intermediate data.
563 2005-04-28 Michael Koch <konqueror@gmx.de>
565 * java/net/InetAddress.java
566 (aton): Fixed javadoc.
569 2005-04-28 Tom Tromey <tromey@redhat.com>
571 * javax/swing/Timer.java
572 (drainEvents, queueEvent): Now package-private.
574 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
576 * javax/swing/Timer.java
577 (constructor): Assigning initialDelay.
579 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
581 * javax/swing/Timer.java
582 (Waker.run): firing the first action event.
584 2005-04-28 Michael Koch <konqueror@gmx.de>
586 * javax/swing/Timer.java: Reordered all fields and methods,
589 2005-04-28 Michael Koch <konqueror@gmx.de>
591 * javax/swing/Timer.java: Javadocs merged
594 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
596 * gnu/java/net/protocol/file/Connection.java
597 (StaticData): New inner class to contain statics.
598 (connect, getHeaderField): Modified to use StaticData.
600 2005-04-28 Michael Koch <konqueror@gmx.de>
602 * gnu/java/net/protocol/file/Connection.java
603 (lineSeparator): Initialize with SystemProperties.getProperty().
605 2005-04-27 Chris Burdess <dog@gnu.org>
607 * gnu/java/net/protocol/file/Connection.java: Return correct content
608 length for directory listing.
609 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
610 #11285: return valid URLs for directories.i
612 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
614 * Makefile.am (ordinary_java_source_files): Add
615 gnu/java/net/protocol/https/Handler.java.
616 * Makefile.in: Regenerate.
617 * java/net/URL.java: Remove org.metastatic.jessie from default
618 protocol search path.
620 2005-04-27 Chris Burdess <dog@gnu.org>
622 * gnu/java/net/protocol/https/Handler.java: New file.
624 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
626 * javax/imageio/spi/IIORegistry.java (IIORegistry):
627 Don't assume that awt Toolkit is always ClasspathToolkit.
629 2005-04-27 Chris Burdess <dog@gnu.org>
631 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
632 absolute and relative paths in Location header.
634 2005-04-27 Chris Burdess <dog@gnu.org>
636 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
637 FileNotFoundException and implement getErrorStream on 404.
639 2005-04-27 Sven de Marothy <sven@physto.se>
641 * java/util/TimeZone.java,
642 (getDefaultDisplayName): Fix previous fix.
644 2005-04-27 Sven de Marothy <sven@physto.se>
646 * java/util/TimeZone.java,
647 (getDefaultDisplayName): Don't print zero offsets.
649 2005-04-27 Roman Kennke <roman@kennke.org>
651 * javax/swing/plaf/basic/BasicScrollBarUI
652 (getThumbBounds): Do not make thumb smaller than
654 * javax/swing/plaf/metal/MetalLookAndFeel
655 (initComponentDefaults): Added color defaults for ScrollBar.
656 * javax/swing/plaf/metal/MetalScrollBarUI
658 (getMinimumThumbSize): Added.
660 2005-04-27 Roman Kennke <roman@kennke.org>
662 * javax/swing/plaf/metal/MetalLookAndFeel
663 (initComponentDefaults): Added some default colors.
665 2005-04-27 Roman Kennke <roman@kennke.org>
667 * javax/swing/plaf/basic/BasicScrollBarUI.java
668 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
669 to 'ScrollBar.thumbShadow'. The formes does not exist.
670 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
672 2005-04-27 Roman Kennke <roman@kennke.org>
674 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
675 * javax/swing/BoxLayout.java: Likewise.
676 * javax/swing/UIManager.java: Likewise.
677 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
678 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
679 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
680 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
681 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
682 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
683 * javax/swing/text/Document.java: Likewise.
684 * javax/swing/text/GapContent.java: Likewise.
685 * javax/swing/text/SimpleAttributeSet.java: Likewise.
686 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
688 2005-04-27 Roman Kennke <roman@kennke.org>
690 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
691 (getPropertyPrefix): Added.
693 2005-04-27 Roman Kennke <roman@kennke.org>
695 * javax/swing/plaf/basic/BasicButtonUI.java
696 (getPropertyPrefix): Added.
697 (installDefaults): Use getPropertyPrefix instead of hard-coded
700 2005-04-27 Roman Kennke <roman@kennke.org>
702 * javax/swing/JToggleButton.java
703 (JToggleButton): Removed horizontalAlignment setting, this
704 was wrong. Added setting of an actionCommand, ToggleButtons
705 have "" as default actionCommand.
707 2005-04-27 Michael Koch <konqueror@gmx.de>
709 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
710 to work around CNI limitation.
712 2005-04-27 Sven de Marothy <sven@physto.se>
714 * java/nio/charset/Charset.java:
715 (defaultCharset()): New method.
716 Status updated to 1.5
718 2005-04-27 Sven de Marothy <sven@physto.se>
720 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
722 2005-04-27 Sven de Marothy <sven@physto.se>
724 * java/nio/charset/Charset.java: Reset cached de/encoders.
726 2005-04-27 Robert Schuster <thebohemian@gmx.net>
728 * java/nio/charset/Charset.java (forName): Throws
729 IllegalArgumentException when argument is null
730 and added documentation.
732 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
734 * java/nio/charset/Charset.java (providers):
735 New method to make an array of CharsetProviders defined in
736 META-INF/services/java.nio.charset.spi.CharsetProvider.
737 (charsetForName, availableCharsets): Use the
738 new method providers().
740 2005-04-26 Michael Koch <konqueror@gmx.de>
742 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
743 Fixed typos in javadocs.
744 (isSiteLocalAddress): Fixed handling of byte values.
745 (isMCLinkLocal): Likewise.
746 * java/net/Inet4Address.java
747 (isMulticastAddress): Call super method.
748 (isLoopbackAddress): Likewise.
749 (isAnyLocalAddress): Likewise.
750 (isLinkLocalAddress): Likewise.
751 (isSiteLocalAddress): Likewise.
752 (isMCGlobal): Likewise.
753 (isMCNodeLocal): Likewise.
754 (isMCLinkLocal): Likewise.
755 (isMCSiteLocal): Likewise.
756 (isMCOrgLocal): Likewise.
757 (getHostAddress): Likewise.
759 2005-04-26 Sven de Marothy <sven@physto.se>
761 * java/net/InetAddress.java
762 (toString): Don't print empty hostnames.
764 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
767 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
768 'false' to native lock().
769 (lock): Pass 'true' to native lock().
771 2005-04-26 Michael Koch <konqueror@gmx.de>
773 * java/net/InetAddress.java:
774 Fixed typos in javadocs.
776 2005-04-26 Andrew Haley <aph@redhat.com>
779 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
782 2005-04-26 Tom Tromey <tromey@redhat.com>
784 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
785 gnu): Now package-private.
786 * javax/swing/text/html/parser/DocumentParser.java (parser,
787 callBack, gnu): Now package-private.
788 * javax/swing/text/StringContent.java (content, setOffset,
789 checkLocation): Now package-private.
790 * javax/swing/text/JTextComponent.java (doc): Now
792 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
793 lastGoodOrientation, origParent, borders, cachedBounds,
794 cachedOrientation, DragWindow): Now package-private.
795 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
796 decrButton, viewport, panel, currentScrollLocation, layoutManager,
797 tabAreaRect, contentRect, createIncreaseButton,
798 createDecreaseButton, findPointForIndex): Now package-private.
799 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
800 (currentDividerLocation, moveDividerTo): Now package-private.
801 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
803 * javax/swing/plaf/basic/BasicScrollBarUI.java
804 (calculatePreferredSize, valueForYPosition, valueForXPosition):
806 * javax/swing/plaf/basic/BasicPopupMenuUI.java
807 (topWindowListener): Now package-private.
808 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
809 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
810 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
812 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
814 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
816 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
818 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
819 borderInsets): Now package-private.
820 (arrowButtonWidth): Likewise. Now a constant.
821 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
822 makeTabs, updatePreviewPanel): Now package-private.
823 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
824 darkShadow, highlight): Now package-private.
825 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
826 (addColorToQueue): Now package-private.
827 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
828 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
829 GSpinner, BSpinner): Now package-private.
830 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
831 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
832 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
833 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
834 updateTrack): Now package-private.
835 * javax/swing/TransferHandler.java (clipboard): Now
837 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
839 * javax/swing/Timer.java (drainEvents, queueEvent): Now
841 * javax/swing/RepaintManager.java (globalManager): Now
843 * javax/swing/JFormattedTextField.java (editValid): Now
845 * javax/swing/JColorChooser.java (makeModal): Now
847 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
848 index, path): Now package-private.
849 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
850 lineQuadIntersect, lineCubicIntersect, linesIntersect,
851 pointEquals): Now package-private.
852 * java/awt/geom/Arc2D.java (type): Now package-private.
853 * java/awt/Window.java (windowFocusOwner): Now package-private.
854 * java/awt/TextComponent.java (editable, selectionStart,
855 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
857 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
859 * java/awt/MenuComponent.java (focusListener): Now
861 * java/awt/Frame.java (state): Now package-private.
862 * java/awt/Choice.java (pItems): Now package-private.
863 * java/awt/Checkbox.java (state): Now package-private.
864 * java/awt/Button.java (actionCommand, label): Now
866 * gnu/javax/swing/text/html/parser/support/Parser.java
867 (attributes, _handleEndTag_remaining, _handleStartTag): Now
869 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
871 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
872 clip, transform, font, comp): Now package-private.
874 2005-04-26 Tom Tromey <tromey@redhat.com>
876 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
879 2005-04-26 Mark Wielaard <mark@klomp.org>
881 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
882 to MalformedURLException.
884 2005-04-26 Michael Koch <konqueror@gmx.de>
886 * java/security/AccessControlContext.java:
888 (protectedDomains): Renamed from 'protectionDomain'.
889 * java/security/AccessController.java:
892 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
894 * gnu/java/security/action/GetSecurityPropertyAction.java
895 (GetSecurityPropertyAction): Implement PrivilegedAction instead
896 of extending GetPropertyAction.
899 (setParamters): New methods.
900 (GetSecurityPropertyAction): Use new setParameters methods.
902 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
904 * java/security/Security.java,
905 java/security/cert/X509CRLSelector.java,
906 java/security/cert/X509CertSelector.java:
907 Modified to use SystemProperties.
909 2005-04-26 Michael Koch <konqueror@gmx.de>
911 * java/lang/System.java
912 (setSecurityManager): Fixed comment.
913 (getSecurityManager): Removed obsolete comment.
915 2005-04-25 Tom Tromey <tromey@redhat.com>
917 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
919 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
921 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
922 (connectSignals): Realize the window widget after connecting
925 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
927 * java/awt/GraphicsEnvironment.java
928 (localGraphicsEnvironment): New field.
929 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
931 (isHeadless): Added support for java.awt.headless property.
932 (isHeadlessInstance): Call headless().
934 2005-04-25 Roman Kennke <roman@kennke.org>
936 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
937 (getDisplayMode): Added. Returns the current display mode.
938 (isFullScreenSupported): Added.
939 * java/awt/GraphicsDevice.java
940 (setFullScreenWindow): Implemented a primitive fullscreen mode.
941 This resizes and relocates the fullscreen window so that it uses
942 the whole screen. This is not a fully accelerated fullscreen
945 2005-04-25 Michael Koch <konqueror@gmx.de>
947 * java/lang/Runtime.java,
948 java/lang/SecurityManager.java,
949 java/lang/System.java,
950 java/lang/ThreadGroup.java:
951 Replaced java.lang.Runtime.securityManager by
952 java.lang.SecurityManager.current (as used in GNU classpath).
954 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
956 * java/awt/Transparency.java
957 (getTransparency): fixed API docs.
959 2005-04-25 Archie Cobbs <archie@dellroad.org>
961 * java/lang/Throwable.java: simplify initializing cause in constructor
963 2005-04-25 Michael Koch <konqueror@gmx.de>
965 * gnu/classpath/SystemProperties.java: New file.
966 * gnu/classpath/natSystemProperties.cc: New file.
967 * java/lang/Runtime.java
968 (defaultProperties): Removed.
970 (): Made thrown exceptions more verbose.
971 (insertSystemProperties): Removed.
972 * java/lang/System.java
974 (properties): Likewise.
975 (setSecurityManager): Reordered modifiers.
976 (getenv): Improved javadoc.
978 (isWordsBigEndian): Removed.
979 * java/lang/natRuntime.cc
980 (_Jv_SetDLLSearchPath): Likewise.
981 (file_encoding): Likewise.
982 (default_file_encoding): Likewise.
983 (getpwuid_adaptor): Likewise.
984 (insertSystemProperties): Likewise.
985 * java/lang/natSystem.cc
986 (isWordsBigEndian): Likewise.
988 (ordinary_java_source_files):
989 Added gnu/classpath/SystemProperties.java.
990 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
991 * Makefile.in: Regenerated.
993 2005-04-25 Roman Kennke <roman@kennke.org>
995 * javax/swing/plaf/basic/BasicScrollBarUI.java
996 (initDefaults): Initialize thumb*Color fields correctly.
998 2005-04-25 Roman Kennke <roman@kennke.org>
1000 * javax/swing/text/GapContent.java:
1003 2005-04-25 Roman Kennke <roman@kennke.org>
1005 * javax/swing/plaf/metal/MetalBorders.java:
1006 Added inner class ScrollPaneBorder.
1007 * javax/swing/plaf/metal/MetalLookAndFeel.java
1008 (initComponentDefaults): Added default for "ScrollPane.border"
1009 to use the new ScrollPaneBorder.
1011 2005-04-25 Roman Kennke <roman@kennke.org>
1013 * javax/swing/text/AbstractDocument.java:
1014 Added FIXME comments. This class still has to be
1015 implemented thread-safe.
1017 2005-04-25 Roman Kennke <roman@kennke.org>
1019 * javax/swing/tree/DefaultTreeSelectionModel.java
1020 (DefaultTreeSelectionModel): Initialize listenerList here.
1022 2005-04-25 Roman Kennke <roman@kennke.org>
1024 * javax/swing/plaf/metal/MetalTextFieldUI.java
1025 (createUI): Return one instance per Component instead of a
1028 2005-04-25 Roman Kennke <roman@kennke.org>
1030 * javax/swing/text/Document.java:
1031 Added API documentation comments.
1033 2005-04-25 Roman Kennke <roman@kennke.org>
1035 * javax/swing/text/AbstractDocument.java
1036 (getDocumentProperties): Implemented.
1037 (setDocumentProperties): Implemented.
1038 (getProperty): Implemented.
1039 (putProperty): Implemented.
1041 2005-04-25 Roman Kennke <roman@kennke.org>
1043 * javax/swing/BoxLayout
1044 (preferredLayoutSize): Fixed computation so that it correctly
1045 adds the top and bottom insets of the container.
1047 2005-04-25 Roman Kennke <roman@kennke.org>
1049 * javax/swing/plaf/basic/BasicMenuItemUI.java
1050 (paintText): Make use of the 'selectionForeground' UI default
1053 2005-04-25 Roman Kennke <roman@kennke.org>
1055 * javax/swing/plaf/basic/BasicLookAndFeel.java
1056 (initSystemColorDefaults): Modified colors to match the
1057 BasicLookAndFeel in the reference implementation.
1058 (initComponentDefaults): Likewise.
1060 2005-04-25 Tom Tromey <tromey@redhat.com>
1062 * include/jni.h (_Jv_va_list): Removed.
1063 Moved configuration code...
1064 * include/jni_md.h: ... here. New file.
1065 * include/Makefile.in: Rebuilt.
1066 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1068 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1070 * java/io/FileInputStream.java (FileInputStream(File)),
1071 java/io/FileOutputStream.java (FileOutputStream(File)):
1072 Removed unnecessary File.isDirectory() check.
1074 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1076 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1077 gij if get_multilibs fails.
1079 2005-04-22 Anthony Green <green@redhat.com>
1081 * jni.cc (natrehash): Don't bother clearing memory again.
1082 * interpret.cc (do_allocate_static_fields): Ditto.
1083 * java/lang/natString.cc (rehash): Ditto.
1085 2005-04-22 Roman Kennke <roman@kennke.org>
1087 * javax/swing/plaf/basic/BasicLookAndFeel.java
1088 (initComponentDefaults): Changed Button.border to be
1089 BasicBorders.getButtonBorder as it should be.
1091 2005-04-22 Roman Kennke <roman@kennke.org>
1093 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1094 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1095 should according to a mauve testcase, instead of the preferred
1098 2005-04-22 Roman Kennke <roman@kennke.org>
1100 * javax/swing/JMenu.java
1101 (add): add(Component) now calls PopupMenu.insert(..) instead of
1102 PopupMenu.add(..). add(..) is not implemented for Component,
1103 so JComponent.add(..) is called instead, adding the component
1106 2005-04-22 Roman Kennke <roman@kennke.org>
1108 * javax/swing/plaf/basic/BasicButtonListener.java
1109 (mousePressed): replaced query to getModifiersEx with getModifiers.
1110 This method relied on faulty behaviour in getModifierEx.
1111 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1112 This method relied on faulty behaviour in getModifierEx.
1114 2005-04-22 Roman Kennke <roman@kennke.org>
1116 * javax/swing/plaf/metal/MetalLookAndFeel.java
1117 (getDefaults): Call addCustomEntriesToTable on the theme.
1119 2005-04-22 Roman Kennke <roman@kennke.org>
1121 * javax/swing/tree/DefaultTreeSelectionModel.java
1122 (constructor): Added implementation.
1123 (getRowMapper): Added implementation.
1124 (setSelectionMode): Added implementation.
1125 (getSelectionMode): Added implementation.
1126 (getSelectionPath): Added implementation.
1127 (getSelectionPaths): Added implementation.
1128 (getSelectionCount): Added implementation.
1129 (isSelectionEmpty): Added implementation.
1130 (getSelectionRows): Added implementation.
1131 (getMinSelectionRow): Added implementation.
1132 (getMaxSelectionRow): Added implementation.
1133 (getLeadSelectionRow): Added implementation.
1134 (getLeadSelectionPath): Added implementation.
1136 2005-04-22 Casey Marshall <csm@gnu.org>
1138 * gnu/java/security/der/DERValue.java
1139 (getValueAs): new method.
1140 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1141 (<init>): read both dates with 'DERValue.getValueAs', with
1142 'GENERALIZED_TIME' as the argument.
1144 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1146 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1147 be null, check for that case and don't deference it.
1149 2005-04-22 Sven de Marothy <sven@physto.se>
1151 * java/util/logging/LogManager.java: Reformatted.
1152 (readConfiguration): If a logger for a key is not found, create one.
1154 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1156 * java/rmi/Naming.java:
1157 Added class documentation.
1158 (lookup(String)): Call parseURL and getName.
1159 (bind(String,java.rmi.Remote)): Likewise.
1160 (unbind(String)): Likewise.
1161 (rebind(String, java.rmi.Remote)): Likewise.
1162 (list(String)): Call parseURL.
1163 (parseURL(String)): New method to handle parsing and defaults.
1164 (getName(java.net.URL)): New method to handle finding the service name.
1166 2005-04-21 Tom Tromey <tromey@redhat.com>
1168 * java/lang/natClass.cc (initializeClass): Link class.
1170 2005-04-21 Tom Tromey <tromey@redhat.com>
1172 * java/lang/AssertionError.java: Typo fix.
1174 2005-04-21 Tom Tromey <tromey@redhat.com>
1176 * java/lang/VMClassLoader.java (transformException): Removed.
1177 (resolveClass): No longer native. Now does nothing.
1178 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1180 2005-04-21 Anthony Green <green@redhat.com>
1183 * testsuite/libjava.special/special.exp,
1184 testsuite/libjava.special/pr21115I.java,
1185 testsuite/libjava.special/pr21115.java,
1186 testsuite/libjava.special/pr21115.out: New files.
1188 2005-04-21 Chris Burdess <dog@gnu.org>
1190 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1191 CRLF-delimited chunks.
1193 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1195 * java/net/URI.java:
1196 Added class documentation.
1197 (parseURI(String)): Only handle scheme-specific parts
1198 if URI is not opaque. Allow for parts that can't be null.
1199 (toString()): Output the scheme-specific part whole, rather
1200 than as its possibly non-existent components.
1202 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1204 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1205 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1206 Adjusted to match new regexp.
1208 2005-04-20 Michael Koch <konqueror@gmx.de>
1210 * gnu/java/net/protocol/file/Connection.java,
1211 gnu/java/net/protocol/jar/Connection.java:
1212 Reorganized import statements. Fixed @author tags.
1214 2005-04-20 Chris Burdess <dog@gnu.org>
1216 * java/io/DataOutputStream.java (writeUTF): Use block write for
1219 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1221 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1222 (readLine): Changed newline handling.
1224 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1226 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1227 ColorModel,byte[],int,int): Fixed byte to int conversion.
1229 2005-04-20 Michael Koch <konqueror@gmx.de>
1231 * java/io/FilePermission.java
1232 (serialVersionUID): Made private.
1233 (ALL_FILES): New constant.
1234 (implies): Handle '<<ALL FILES>>' case.
1236 2005-04-20 Sven de Marothy <sven@physto.se>
1238 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1239 (drawImage): Don't notify the image observer for offscreen images.
1240 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1241 (setPixels): Don't notify the image observer.
1243 2005-04-20 Sven de Marothy <sven@physto.se>
1245 * java/nio/ByteBufferImpl.java:
1246 (putChar): Inlined for speed.
1247 (put, get): Bulk methods can use arraycopy.
1248 * java/nio/CharBufferImpl.java:
1249 (put, get): Bulk methods can use arraycopy.
1251 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1253 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1255 * java/nio/CharBufferImpl.java
1256 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1257 (get(), put(char)): Inlined checks and field updates. Fixed to
1258 take array_offset into account.
1259 (get(int), put(int, char)): Fixed to take array_offset into account.
1261 2005-04-20 Sven de Marothy <sven@physto.se>
1263 * java/text/SimpleDateFormat.java:
1264 (formatWithAttribute): Pad year before truncating digits.
1266 2005-04-20 Michael Koch <konqueror@gmx.de>
1268 * gnu/java/net/PlainDatagramSocketImpl.java:
1269 Merged copyright header.
1270 * gnu/java/net/PlainSocketImpl.java:
1271 Reorganized import statements. Fixed @author tags.
1273 2005-04-20 Michael Koch <konqueror@gmx.de>
1275 * gnu/java/lang/ClassHelper.java,
1276 gnu/java/lang/reflect/TypeSignature.java:
1279 2005-04-20 Michael Koch <konqueror@gmx.de>
1281 * gnu/java/beans/IntrospectionIncubator.java:
1282 Fixed HTML tags in javadocs.
1284 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1286 * gnu/java/beans/IntrospectionIncubator.java
1287 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1288 set(), is(), add() and remove() with properties or events.
1290 2005-04-20 Michael Koch <konqueror@gmx.de>
1292 * gnu/java/awt/image/XBMDecoder.java:
1293 Fixed modifier order.
1295 2005-04-20 Roman Kennke <roman@kennke.org>
1297 * javax/swing/plaf/basic/BasicButtonUI.java
1298 (paint): This should not care about margin and insets
1299 at the same time, as insets already include the margin
1301 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1302 (getPreferredButtonSize): Likewise.
1303 * javax/swing/plaf/metal/MetalBorders.java
1304 (getBorderInsets): Likewise.
1306 2005-04-20 Roman Kennke <roman@kennke.org>
1308 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1309 (createMessageArea): The JPanel that holds the message area
1310 doesn't need to override getPreferredSize. This prevents some
1311 message components from rendering nicely.
1313 2005-04-20 Roman Kennke <roman@kennke.org>
1315 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1316 (createUI): Do not share instances between components.
1317 * javax/swing/plaf/metal/MetalSliderUI.java
1318 (createUI): Do not share instances between components.
1320 2005-04-20 Roman Kennke <roman@kennke.org>
1322 * javax/swing/plaf/metal/MetalBorders:
1323 (PopupMenuBorder): Added.
1324 * javax/swing/plaf/metal/MetalLookAndFeel
1325 (initComponentDefaults): Added PopupMenuBorder.
1327 2005-04-20 Roman Kennke <roman@kennke.org>
1329 * javax/swing/tree/DefaultTreeSelectionModel.java:
1330 Added API documentation all over the class.
1332 2005-04-20 Roman Kennke <roman@kennke.org>
1334 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1335 (installDefaults): Link managed JScrollPane in instance field.
1336 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1338 2005-04-20 Roman Kennke <roman@kennke.org>
1340 * javax/swing/plaf/basic/BasicScrollBarUI.java
1341 (PropertyChangeHandler.propertyChange): Add default
1342 to switch statement to avoid errors with unusual values
1344 (installComponents): Likewise.
1346 2005-04-20 Roman Kennke <roman@kennke.org>
1348 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1349 (createUI): Instances cannot be shared among JScrollPanes.
1351 2005-04-20 Roman Kennke <roman@kennke.org>
1353 * javax/swing/plaf/metal/MetalLookAndFeel.java
1354 (initComponentDefaults): Added defaults for Menu, MenuBar
1357 2005-04-20 Roman Kennke <roman@kennke.org>
1359 * javax/swing/plaf/basic/BasicScrollBarUI.java
1360 (installUI): Install listeners after everything all, otherwise
1361 we get strange NPEs in some situations, especially with
1363 (createIncreaseButton): Orientation is expected to be
1364 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1365 HORIZONTAL or VERTICAL.
1366 (createDecreaseButton): Orientation is expected to be
1367 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1368 HORIZONTAL or VERTICAL.
1369 (installComponents): Orientation for buttons is expected to be
1370 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1371 HORIZONTAL or VERTICAL.
1373 2005-04-20 Roman Kennke <roman@kennke.org>
1375 * javax/swing/JToolBar.java
1376 (addImpl): Adjust added AbstractButtons to look and feel like
1378 * javax/swing/plaf/metal/MetalBorders.java:
1379 Adjusted insets of ButtonBorder.
1380 (RolloverMarginBorder): Added class for toolbar buttons.
1381 (getButtonBorder): Adjusted factory method to return a shared
1382 instance of button border.
1383 (getToolbarButtonBorder): Added factory method to return a shared
1384 instance of toolbar button border.
1385 (getMarginBorder): Added factory method to return a shared
1386 instance of margin border.
1387 * javax/swing/plaf/metal/MetalButtonUI.java
1388 (installDefauls): If button is child of a JToolBar then set
1389 special border on this button.
1391 2005-04-20 Michael Koch <konqueror@gmx.de>
1393 * java/net/URLConnection.java
1394 (getContent): Fixed javadoc comment.
1396 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1398 * java/net/URL.java:
1399 (toURI()): Implemented.
1401 2005-04-19 Michael Koch <konqueror@gmx.de>
1403 * java/net/InetAddress.java
1404 (InetAddress): Fixed javadoc comment.
1406 (lookup): Added javadoc.
1407 (getFamily): Likewise.
1408 * java/net/ServerSocket.java
1409 (getChannel): Improved javadoc comment.
1411 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1413 * gnu/xml/dom/html2/DomHTMLParser.java:
1414 Changed 'enum' references to become 'enumeration'.
1416 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1418 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1420 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1422 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1423 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1424 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1425 (validateParameters(TagElement,htmlAttributeSet)):
1426 Replaced 'enum' with 'enumeration'.
1427 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1430 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1432 * javax/swing/text/html/parser/Entity.java (getType): New method.
1433 * javax/swing/text/html/parser/DocumentParser.java:
1434 Inherit from javax.swing.text.html.parser.Parser.
1436 2005-04-19 Chris Burdess <dog@gnu.org>
1438 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1439 check for HTML/XHTML namespace.
1441 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1443 * javax/swing/text/html/parser/Parser.java,
1444 javax/swing/text/html/parser/Entity.java:
1445 Inheriting from DTDConstants.
1446 * javax/swing/text/html/parser/AttributeList.java
1447 (getValues): Changed return type.
1448 * javax/swing/text/html/parser/DocumentParser
1449 (parse): Adding the callback parameter that receives
1452 2005-04-19 Chris Burdess <dog@gnu.org>
1454 * gnu/xml/dom/DomImpl.java,
1455 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1456 gnu/xml/dom/html2/DomHTMLDocument.java,
1457 gnu/xml/dom/html2/DomHTMLElement.java,
1458 gnu/xml/dom/html2/DomHTMLFormElement.java,
1459 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1460 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1461 gnu/xml/dom/html2/DomHTMLImpl.java,
1462 gnu/xml/dom/html2/DomHTMLInputElement.java,
1463 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1464 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1465 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1466 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1467 gnu/xml/dom/html2/DomHTMLTableElement.java,
1468 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1469 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1470 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1471 UI events, and tree utility functions.
1473 2005-04-19 Michael Koch <konqueror@gmx.de>
1475 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1476 gnu/javax/swing/text/html/parser/gnuDTD.java,
1477 gnu/javax/swing/text/html/parser/models/node.java:
1478 Reworked import statements.
1480 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1482 * javax/swing/text/html/HTMLDocument.java: New file.
1484 2005-04-19 Michael Koch <konqueror@gmx.de>
1486 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1488 * javax/swing/text/html/parser/AttributeList.java:
1489 Fixed order of modifiers.
1490 (AttributeList): Made final.
1491 * javax/swing/text/html/parser/ContentModel.java:
1492 Fixed html characters in javadocs.
1493 * javax/swing/text/html/parser/DTD.java
1494 (DTD): Don't implement java.io.Serializable directly.
1495 (getElement): Simplified.
1496 * javax/swing/text/html/parser/DTDConstants.java:
1498 * javax/swing/text/html/parser/Element.java:
1499 Fixed order of modifiers.
1500 * javax/swing/text/html/parser/Parser.java:
1501 Reformatted. Don't use fully-qualified class names.
1502 * javax/swing/text/html/parser/ParserDelegator.java:
1503 Fixed order of modifiers.
1504 * javax/swing/text/rtf/RTFParser.java:
1505 Re-ordered import statements.
1506 * javax/swing/text/rtf/RTFScanner.java:
1507 Removed unused import statement.
1509 2005-04-19 Chris Burdess <dog@gnu.org>
1511 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1512 gnu/xml/dom/html2/DomHTMLCollection.java,
1513 gnu/xml/dom/html2/DomHTMLDocument.java,
1514 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1516 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1517 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1518 gnu/xml/dom/html2/DomHTMLDivElement.java,
1519 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1520 gnu/xml/dom/html2/DomHTMLFontElement.java,
1521 gnu/xml/dom/html2/DomHTMLFormElement.java,
1522 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1523 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1524 gnu/xml/dom/html2/DomHTMLHRElement.java,
1525 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1526 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1527 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1528 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1529 gnu/xml/dom/html2/DomHTMLImageElement.java,
1530 gnu/xml/dom/html2/DomHTMLInputElement.java,
1531 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1532 gnu/xml/dom/html2/DomHTMLLIElement.java,
1533 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1534 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1535 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1536 gnu/xml/dom/html2/DomHTMLMapElement.java,
1537 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1538 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1539 gnu/xml/dom/html2/DomHTMLModElement.java,
1540 gnu/xml/dom/html2/DomHTMLOListElement.java,
1541 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1542 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1543 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1544 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1545 gnu/xml/dom/html2/DomHTMLParamElement.java,
1546 gnu/xml/dom/html2/DomHTMLPreElement.java,
1547 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1548 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1549 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1550 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1551 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1552 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1553 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1554 gnu/xml/dom/html2/DomHTMLTableElement.java,
1555 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1556 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1557 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1558 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1559 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1561 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1563 * javax/swing/text/ChangedCharSetException.java,
1564 javax/swing/text/html/HTMLEditorKit.java,
1565 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1566 javax/swing/text/html/parser/AttributeList.java,
1567 javax/swing/text/html/parser/ContentModel.java,
1568 javax/swing/text/html/parser/DocumentParser.java,
1569 javax/swing/text/html/parser/DTD.java,
1570 javax/swing/text/html/parser/DTDConstants.java,
1571 javax/swing/text/html/parser/Element.java,
1572 javax/swing/text/html/parser/Entity.java,
1573 javax/swing/text/html/parser/Parser.java,
1574 javax/swing/text/html/parser/TagElement.java,
1575 gnu/javax/swing/text/html/package.html,
1576 gnu/javax/swing/text/html/parser/gnuDTD.java,
1577 gnu/javax/swing/text/html/parser/HTML_401F.java,
1578 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1579 gnu/javax/swing/text/html/parser/htmlValidator.java,
1580 gnu/javax/swing/text/html/parser/package.html,
1581 gnu/javax/swing/text/html/parser/models/list.java,
1582 gnu/javax/swing/text/html/parser/models/node.java,
1583 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1584 gnu/javax/swing/text/html/parser/models/package.html,
1585 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1586 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1587 gnu/javax/swing/text/html/parser/models/transformer.java,
1588 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1589 gnu/javax/swing/text/html/parser/support/package.html,
1590 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1591 gnu/javax/swing/text/html/parser/support/Parser.java,
1592 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1593 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1594 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1595 gnu/javax/swing/text/html/parser/support/low/Location.java,
1596 gnu/javax/swing/text/html/parser/support/low/node.java,
1597 gnu/javax/swing/text/html/parser/support/low/package.html,
1598 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1599 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1600 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1601 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1603 * javax/swing/text/html/HTML.java,
1604 javax/swing/text/html/parser/ParserDelegator.java:
1605 New files (replacing).
1606 * javax/swing/text/html/package.html,
1607 javax/swing/text/html/parser/package.html: Documenting the
1610 2005-04-19 Chris Burdess <dog@gnu.org>
1612 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1613 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1614 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1615 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1616 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1617 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1618 gnu/xml/dom/html2/DomHTMLBRElement.java,
1619 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1620 gnu/xml/dom/html2/DomHTMLCollection.java,
1621 gnu/xml/dom/html2/DomHTMLDocument.java,
1622 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1624 2005-04-19 Michael Koch <konqueror@gmx.de>
1626 * Makefile.am: Added new files.
1627 * Makefile.in: Regenerated.
1629 2005-04-19 Roman Kennke <roman@kennke.org>
1631 * javax/swing/text/JTextComponent.java
1632 (JTextComponent): Added repaintListener which issues repaint
1633 requests when the underlying document changes.
1634 (setDocument): Adds repaintListener to document when the
1635 document is changed.
1636 * javax/swing/text/DefaultEditorKit.java:
1637 Removed repaint calls on JTextComponent. This is now handled
1638 through a DocumentListener in JTextComponent that repaints
1639 the component when needed.
1641 2005-04-19 Roman Kennke <roman@kennke.org>
1644 * javax/swing/text/StyleContext.java
1645 (NamedStyle.setResolveParent): Added null
1648 2005-04-19 Michael Koch <konqueror@gmx.de>
1650 * java/rmi/server/RemoteObject.java:
1651 Removed unused import statement.
1653 2005-04-19 Michael Koch <konqueror@gmx.de>
1655 * java/net/URL.java: Formatting cleanups.
1657 2005-04-19 Michael Koch <konqueror@gmx.de>
1659 * java/awt/FontMetrics.java: Reformatted.
1660 (getFontRenderContext): Handle case when java.awt.Graphics context is
1663 2005-04-19 Michael Koch <konqueror@gmx.de>
1665 * java/awt/FontMetrics.java
1666 (getStringBounds): New methods.
1669 2005-04-19 Michael Koch <konqueror@gmx.de>
1671 * gnu/java/security/x509/X509Certificate.java
1672 (parse): Handle val == null case.
1674 2005-04-19 Roman Kennke <roman@kennke.org>
1676 * javax/swing/plaf/metal/MetalLookAndFeel.java
1677 (initComponentDefaults): Added defaults for Menu, MenuBar
1680 2005-04-19 Roman Kennke <roman@kennke.org>
1682 * javax/swing/plaf/metal/MetalLookAndFeel.java
1683 (initComponentDefaults): Added Label.font.
1684 (initSystemColorDefaults): Added this method and adjusted the
1685 general control color.
1687 2005-04-19 Roman Kennke <roman@kennke.org>
1689 * javax/swing/plaf/metal/MetalBorders.java:
1691 * javax/swing/plaf/metal/MetalButtonUI.java:
1692 (installDefaults): Install button font.
1693 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1694 (initComponentDefaults): Added button border, font and margin.
1695 Changed components background color to the Metal current themes
1698 2005-04-19 Roman Kennke <roman@kennke.org>
1700 * javax/swing/plaf/metal/MetalLookAndFeel.java
1701 (initComponentDefaults): Added to set Metal specific component
1704 2005-04-19 Mark Wielaard <mark@klomp.org>
1706 * javax/swing/plaf/metal/MetalLookAndFeel.java
1707 (initClassDefaults): Call super.initClassDefaults().
1709 2005-04-19 Roman Kennke <roman@kennke.org>
1711 * javax/swing/plaf/metal/MetalLookAndFeel.java
1712 (initClassDefaults): Added to include the *UI classes.
1714 2005-04-19 Roman Kennke <roman@kennke.org>
1716 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1718 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1720 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1722 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1724 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1726 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1728 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1730 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1732 * javax/swing/plaf/metal/MetalSliderUI.java:
1734 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1736 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1738 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1740 2005-04-19 Roman Kennke <roman@kennke.org>
1742 * javax/swing/plaf/metal/MetalButtonUI.java:
1743 Added skeleton class.
1744 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1745 Added skeleton class.
1746 * javax/swing/plaf/metal/MetalLabelUI.java:
1747 Added skeleton class.
1748 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1749 Added skeleton class.
1750 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1751 Added skeleton class.
1752 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1753 Added skeleton class.
1755 2005-04-19 Roman Kennke <roman@kennke.org>
1757 * javax/swing/UIDefaults.java:
1758 Added API documentation for all methods.
1760 2005-04-19 Roman Kennke <roman@kennke.org>
1762 * javax/swing/UIDefaults.java
1763 (put): Now uses new checkAndPut method instead of checking
1765 (putDefaults): Fixed so that it accepts null-values and
1766 treats them like remove(key).
1767 (checkAndPut): Added. This checks for null-values and calls
1770 2005-04-19 Michael Koch <konqueror@gmx.de>
1772 * Makefile.am: Added new files.
1773 * Makefile.in: Regenerated.
1775 2005-04-19 Mark Wielaard <mark@klomp.org>
1777 * java/lang/natRuntime.cc (insertSystemProperties): Set
1778 java.class.path to CLASSPATH only when not empty. Fall back to
1779 default path "." when java.class.path is empty.
1781 2005-04-19 Michael Koch <konqueror@gmx.de>
1783 * javax/swing/text/rtf/ControlWordToken.java,
1784 javax/swing/text/rtf/RTFEditorKit.java,
1785 javax/swing/text/rtf/RTFParseException.java,
1786 javax/swing/text/rtf/RTFParser.java,
1787 javax/swing/text/rtf/RTFScanner.java,
1788 javax/swing/text/rtf/TextToken.java,
1789 javax/swing/text/rtf/Token.java: New files.
1790 * Makefile.am: Added new files.
1791 * Makefile.in: Regenerated.
1793 2005-04-19 Michael Koch <konqueror@gmx.de>
1795 * java/awt/geom/QuadCurve2D.java:
1796 Fixed Brian Gough's name for real.
1798 2005-04-19 Roman Kennke <roman@kennke.org>
1800 * javax/swing/UIManager.java:
1801 Make the UIManager respect the swing.defaultlaf system
1804 2005-04-19 Tom Tromey <tromey@redhat.com>
1806 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1809 2005-04-19 Roman Kennke <roman@kennke.org>
1811 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1812 Fixed tabs to spaces.
1814 2005-04-19 Roman Kennke <roman@kennke.org>
1816 * javax/swing/plaf/basic/BasicMenuUI.java
1817 (getMaximumSize): Now returns preferredSize because JMenu should
1818 never be bigger than that.
1819 * javax/swing/JRootPane
1820 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1822 2005-04-19 Roman Kennke <roman@kennke.org>
1824 * javax/swing/JRootPane.java:
1825 Fixed various tabs to be spaces.
1826 (RootLayout.layoutContainer): Made menubar left aligned.
1828 2005-04-19 Roman Kennke <roman@ontographics.com>
1830 * javax/swing/JList.java
1831 (getPreferredScrollableViewportSize):
1832 The previous implementation was merely guessing the size,
1833 now it respects layoutOrientation, visibleRowCount
1835 (getScrollableTracksViewportHeight):
1836 Reimplemented so that layoutOrientation, visibleRowCount
1837 and preferred size are respected.
1838 (getScrollableTracksViewportWidth):
1839 Reimplemented so that layoutOrientation, visibleRowCount
1840 and preferred size are respected.
1841 * javax/swing/plaf/basic/BasicListUI.java
1843 Improved calculation of preferredSize when JList is
1844 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1846 The previous implementation assumed a layoutOrientation of
1847 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1848 JList.VERTICAL_WRAP.
1850 2005-04-19 Roman Kennke <roman@ontographics.com>
1852 * javax/swing/plaf/basic/BasicListUI.java
1853 (paintCell): use CellRendererPane for painting the cells.
1855 2005-04-19 Roman Kennke <roman@ontographics.com>
1857 * javax/swing/plaf/basic/BasicListUI:
1858 fixed modifiers of several fields, methods and inner
1859 classes to match the 'spec'.
1860 (getMaximumSize): removed. It's not in the spec and the
1861 implementations was superfluous.
1863 2005-04-19 Roman Kennke <roman@ontographics.com>
1865 * javax/swing/plaf/basic/BasicListUI:
1866 make BasicListUI capable of wrapping lists
1867 (layoutOrientation property of javax.swing.JList)
1869 2005-04-19 Roman Kennke <roman@ontographics.com>
1871 * javax/swing/plaf/basic/BasicListUI
1872 (updateLayoutState,paint): make BasicListUI aware of the
1873 width of the rendered JList.
1875 2005-04-19 Roman Kennke <roman@kennke.org>
1877 * javax/swing/ImageIcon.java
1878 Added API documentation.
1880 2005-04-19 Roman Kennke <roman@kennke.org>
1882 * javax/swing/text/ImageIcon.java
1883 (ImageIcon): Use setImage instead of direct assignment.
1884 (setImage): Call loadImage to make sure that the image is loaded.
1885 (loadImage): Waits for the image to complete loading.
1886 (getImageLoadStatus): Added. Returns the load status of the
1889 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1891 * javax/swing/JTextArea.java (replaceRange):
1892 Fixing doc.remove(start, length) misinterpretation.
1894 2005-04-19 Roman Kennke <roman@ontographics.com>
1896 * javax/swing/CellRendererPane.java:
1897 implemented all methods of this class.
1898 reformatted all wrong formatted code.
1900 2005-04-19 Roman Kennke <roman@kennke.org>
1902 * javax/swing/BoxLayout.java:
1903 (layoutContainer): Made this layout manager respect the
1904 minimum, maximum and preferred size more correctly.
1906 2005-04-19 Roman Kennke <roman@ontographics.com>
1908 * javax/swing/BoxLayout.java:
1909 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1910 layoutContainer): Make these methods and thereby the
1911 BoxLayout respect the insets (like borders) of the
1912 component that is laid out.
1914 2005-04-19 Roman Kennke <roman@kennke.org>
1916 * javax/swing/JComponent.java:
1917 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1918 Untabified the file.
1920 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1922 * javax/swing/JComboBox.java (constructors): selecting the
1923 first item if the box was constructed from the provided
1924 non - empty array or vector.
1926 2005-04-19 Michael Koch <konqueror@gmx.de>
1928 * gnu/java/awt/peer/gtk/GdkGraphics.java
1929 (getClipBounds): Handle clip being null.
1930 (setClip): Likewise.
1931 * java/beans/beancontext/BeanContextSupport.java
1935 (removeAll): Likewise.
1936 (retainAll): Likewise.
1938 2005-04-19 Michael Koch <konqueror@gmx.de>
1940 * java/beans/beancontext/BeanContextServicesSupport.java
1941 (BeanContextServicesSupport): Reimplemented.
1942 (addBeanContextServicesListener): Implemented.
1943 (initialize): Likewise.
1944 (removeBeanContextServicesListener): Likewise.
1945 * java/beans/beancontext/BeanContextSupport.java
1947 (addBeanContextMembershipListener): Likewise.
1948 (getLocale): Likewise.
1949 (initialize): Likewise.
1950 (iterator): Likewise.
1952 (toArray): Likewise.
1954 2005-04-19 Roman Kennke <roman@kennke.org>
1956 * java/awt/MediaTracker.java:
1957 Reindented tabs to spaces.
1959 2005-04-19 Roman Kennke <roman@kennke.org>
1961 * java/awt/MediaTracker.java
1962 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1963 confused the media tracker and lead to lockups. The LOADING
1964 bit is handled on other places.
1965 (addImage): Removed the 'start image tracking' stuff. This
1966 is not necessary and could confuse the media tracker.
1967 (checkAll): Improved the check for image status so that
1968 images that already complete images are detected. Also now
1969 are really all images checked and if necessary loaded. Before
1970 the method bailed out after the first incomplete image.
1971 (statusAll): Detect images that are complete after the
1972 call to Component.prepareImage(..).
1973 (checkID): The same as in checkAll.
1974 (statusID): The same as in statusAll.
1976 2005-04-19 Roman Kennke <roman@kennke.org>
1978 * java/awt/MediaTracker.java
1979 (addImage): Synchronized list access.
1980 (waitForAll): Fixed comparison of time (changed < to >).
1981 (waitForID): Fixed comparison of time (changed < to >).
1982 (removeImage): Synchronized list access.
1984 2005-04-19 Roman Kennke <roman@kennke.org>
1986 * java/awt/MediaTracker.java
1987 Added API documentation.
1989 2005-04-19 Roman Kennke <roman@kennke.org>
1991 * java/awt/MediaTracker.java
1992 (MediaEntry.imageUpdate): Fixed flags. The different flags
1993 must not be ORed together.
1994 (checkAll): Modified to handle different meaning of the flags.
1995 (waitForAll): Fixed so that it waits maximum the
1996 specified amount of milliseconds.
1997 (statusAll): Modified to handle different meaning of the flags.
1998 (waitForID): Fixed so that it waits maximum the
1999 specified amount of milliseconds.
2001 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2003 * java/awt/Font.java (decode): Handle null argument and allow
2006 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2008 * java/beans/EventHandler.java: Reworked documentation.
2009 (invoke): Fixed behavior to match spec.
2011 2005-04-19 Michael Koch <konqueror@gmx.de>
2013 * java/awt/print/PrinterJob.java
2014 (pageDialog): New method.
2015 (printDialog): Implemented.
2017 2005-04-19 Michael Koch <konqueror@gmx.de>
2019 * java/awt/image/ConvolveOp.java:
2020 Removed comment added by eclipse.
2022 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2024 * java/awt/image/IndexColorModel.java
2025 (getRGB): Check if pixel is negative.
2027 2005-04-19 Michael Koch <konqueror@gmx.de>
2029 * java/awt/image/RasterOp.java:
2030 Fixed wrong formatting.
2032 2005-04-18 Roman Kennke <roman@kennke.org>
2034 * java/awt/Compmonent.java
2035 (setComponentOrientation): Made this property firing a
2036 PropertyChangeEvent.
2038 2005-04-18 Roman Kennke <roman@kennke.org>
2040 * java/awt/BorderLayout.java
2041 (calcSize): Check for overflow when component sizes are added.
2043 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2045 * java/awt/AWTEvent.java (toString): Added case
2046 for source not being an AWT component.
2048 2005-04-18 Chris Burdess <dog@gnu.org>
2050 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2052 2005-04-18 Michael Koch <konqueror@gmx.de>
2054 gnu/java/awt/EmbeddedWindowSupport.java,
2055 gnu/java/net/HeaderFieldHelper.java,
2056 gnu/java/net/URLParseError.java,
2057 gnu/java/net/protocol/file/Handler.java,
2058 gnu/java/net/protocol/jar/Handler.java:
2059 Fixed usage of @author tag.
2061 2005-04-18 Michael Koch <konqueror@gmx.de>
2063 * gnu/xml/aelfred2/XmlParser.java:
2064 Reverted my typo fix.
2066 2005-04-18 Michael Koch <konqueror@gmx.de>
2068 * java/awt/geom/CubicCurve2D.java,
2069 java/awt/geom/QuadCurve2D.java:
2070 Fixed mentioning of Brian Gouph.
2072 2005-04-18 Michael Koch <konqueror@gmx.de>
2074 * gnu/java/awt/Buffers.java,
2075 gnu/java/awt/image/ImageDecoder.java,
2076 gnu/java/awt/image/XBMDecoder.java,
2077 gnu/java/awt/peer/ClasspathFontPeer.java,
2078 gnu/java/net/CRLFInputStream.java,
2079 gnu/java/net/EmptyX509TrustManager.java,
2080 gnu/java/net/LineInputStream.java,
2081 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2082 gnu/java/net/protocol/ftp/BlockInputStream.java,
2083 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2084 gnu/java/net/protocol/ftp/DTP.java,
2085 gnu/java/net/protocol/ftp/DTPInputStream.java,
2086 gnu/java/net/protocol/ftp/FTPConnection.java,
2087 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2088 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2089 gnu/java/net/protocol/ftp/StreamInputStream.java,
2090 gnu/java/net/protocol/http/ChunkedInputStream.java,
2091 gnu/java/net/protocol/http/HTTPConnection.java,
2092 gnu/java/net/protocol/http/HTTPURLConnection.java,
2093 gnu/java/net/protocol/http/Headers.java,
2094 gnu/java/net/protocol/http/Request.java,
2095 gnu/java/nio/ChannelInputStream.java,
2096 gnu/java/nio/ChannelOutputStream.java,
2097 gnu/java/nio/InputStreamChannel.java,
2098 gnu/java/nio/OutputStreamChannel.java,
2099 gnu/java/nio/SelectorProviderImpl.java,
2100 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2101 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2102 gnu/java/rmi/dgc/DGCImpl.java,
2103 gnu/java/rmi/registry/RegistryImpl.java,
2104 gnu/java/rmi/server/ProtocolConstants.java,
2105 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2106 gnu/java/rmi/server/RMIIncomingThread.java,
2107 gnu/java/rmi/server/RMIObjectInputStream.java,
2108 gnu/java/rmi/server/RMIObjectOutputStream.java,
2109 gnu/java/rmi/server/RMIVoidValue.java,
2110 gnu/java/rmi/server/UnicastConnectionManager.java,
2111 gnu/java/rmi/server/UnicastRef.java,
2112 gnu/java/rmi/server/UnicastRemoteCall.java,
2113 gnu/java/rmi/server/UnicastRemoteStub.java,
2114 gnu/java/rmi/server/UnicastServerRef.java,
2115 gnu/java/security/OID.java,
2116 gnu/java/security/der/DERReader.java,
2117 gnu/java/security/provider/CollectionCertStoreImpl.java,
2118 gnu/java/security/provider/DSAParameterGenerator.java,
2119 gnu/java/security/provider/DefaultPolicy.java,
2120 gnu/java/security/provider/EncodedKeyFactory.java,
2121 gnu/java/security/provider/GnuDHPublicKey.java,
2122 gnu/java/security/provider/GnuDSAPrivateKey.java,
2123 gnu/java/security/provider/GnuDSAPublicKey.java,
2124 gnu/java/security/provider/GnuRSAPrivateKey.java,
2125 gnu/java/security/provider/GnuRSAPublicKey.java,
2126 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2127 gnu/java/security/provider/RSA.java,
2128 gnu/java/security/provider/SHA1PRNG.java,
2129 gnu/java/security/provider/SHA1withRSA.java,
2130 gnu/java/security/provider/X509CertificateFactory.java,
2131 gnu/java/security/x509/GnuPKIExtension.java,
2132 gnu/java/security/x509/X500DistinguishedName.java,
2133 gnu/java/security/x509/X509CRL.java,
2134 gnu/java/security/x509/X509CRLEntry.java,
2135 gnu/java/security/x509/X509CertPath.java,
2136 gnu/java/security/x509/X509CertSelectorImpl.java,
2137 gnu/java/security/x509/X509Certificate.java,
2138 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2139 gnu/java/security/x509/ext/BasicConstraints.java,
2140 gnu/java/security/x509/ext/CRLNumber.java,
2141 gnu/java/security/x509/ext/CertificatePolicies.java,
2142 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2143 gnu/java/security/x509/ext/Extension.java,
2144 gnu/java/security/x509/ext/GeneralNames.java,
2145 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2146 gnu/java/security/x509/ext/KeyUsage.java,
2147 gnu/java/security/x509/ext/PolicyConstraint.java,
2148 gnu/java/security/x509/ext/PolicyMappings.java,
2149 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2150 gnu/java/security/x509/ext/ReasonCode.java,
2151 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2152 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2153 Reorganized import statements.
2155 2005-04-18 Michael Koch <konqueror@gmx.de>
2157 * gnu/java/awt/color/CieXyzConverter.java,
2158 gnu/java/awt/color/ClutProfileConverter.java,
2159 gnu/java/awt/color/ColorLookUpTable.java,
2160 gnu/java/awt/color/ColorSpaceConverter.java,
2161 gnu/java/awt/color/GrayProfileConverter.java,
2162 gnu/java/awt/color/GrayScaleConverter.java,
2163 gnu/java/awt/color/LinearRGBConverter.java,
2164 gnu/java/awt/color/ProfileHeader.java,
2165 gnu/java/awt/color/PyccConverter.java,
2166 gnu/java/awt/color/RgbProfileConverter.java,
2167 gnu/java/awt/color/SrgbConverter.java,
2168 gnu/java/awt/color/TagEntry.java,
2169 gnu/java/awt/color/ToneReproductionCurve.java:
2170 Standardized file headers.
2172 2005-04-16 Tom Tromey <tromey@redhat.com>
2174 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2175 'ANY' package-private.
2177 2005-04-15 Tom Tromey <tromey@redhat.com>
2179 * Makefile.in: Rebuilt.
2180 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2181 (libgcj0_convenience_la_LIBADD): ... here.
2183 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2185 * gij.cc (version): Properly quote java version.
2186 (main): Fix typo in comment.
2188 2005-04-13 Mark Wielaard <mark@klomp.org>
2190 * java/lang/natRuntime.cc (insertSystemProperties): Set
2191 java.class.path to CLASSPATH if not already set.
2193 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2195 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2197 2005-04-12 Mike Stump <mrs@apple.com>
2199 * configure: Regenerate.
2201 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2204 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2205 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2207 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2210 * scripts/TexinfoDoclet.java: Removed.
2211 * Makefile.am (texinfo): Removed.
2212 * Makefile.in: Regenerated.
2214 2005-04-11 Michael Koch <konqueror@gmx.de>
2216 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2217 Fixed wrong casting.
2219 2005-04-06 Andrew Haley <aph@redhat.com>
2221 * testsuite/libjava.lang/bytearray.java: New file.
2222 * testsuite/libjava.lang/bytearray.out: New file.
2223 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2224 (loadClass): Use it.
2225 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2227 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2229 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2230 gcj-dbtool dependency
2231 * Makefile.in: Regenerated
2233 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2235 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2236 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2238 2005-04-05 Andrew Haley <aph@redhat.com>
2240 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2241 (Tokenizer): New class.
2242 (getFiles): New method.
2243 (main): Add "-" argument.
2245 Read list of files from stdin when merging map databases.
2246 (usage): Add "-" argument.
2250 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2253 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2254 * Makefile.in: Regenerate.
2255 * configure.ac: Add --with-java-home option.
2256 * configure: Regenerate.
2257 * external/Makefile.in: Regenerate.
2258 * external/sax/Makefile.in: Regenerate.
2259 * external/w3c_dom/Makefile.in: Regenerate.
2260 * gcj/Makefile.in: Regenerate.
2261 * include/Makefile.in: Regenerate.
2262 * testsuite/Makefile.in: Regenerate.
2263 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2266 2005-04-05 Tom Tromey <tromey@redhat.com>
2268 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2269 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2270 Rewrote to use _Jv_FindClassFromSignature.
2271 * verify.cc (resolve): throw NoClassDefFoundError.
2272 * link.cc (resolve_field): Throw NoClassDefFoundError.
2273 (find_field): Likewise.
2274 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2275 Handle error cases. Added 'endp' argument.
2276 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2278 2005-04-05 Tom Tromey <tromey@redhat.com>
2280 * Makefile.in: Rebuilt.
2281 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2282 gtk_awt_peer_sources.
2283 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2284 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2285 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2286 (gtk-awt-peer.lo): New target.
2288 2005-04-04 Steve Pribyl <steve@netfuel.com>
2291 * configure.ac: Fix fastjar definition for cross builds.
2292 * configure: Rebuilt.
2294 2005-04-04 Tom Tromey <tromey@redhat.com>
2296 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2297 it was already found.
2299 2005-04-04 Tom Tromey <tromey@redhat.com>
2301 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2302 org.metastatic.jessie.
2304 2005-04-02 Anthony Green <green@redhat.com>
2307 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2309 2005-04-02 Mark Wielaard <mark@klomp.org>
2311 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2312 Attributes and attribute order doesn't matter.
2313 (BasicAttributesEnumeration.where): Initialize to zero.
2314 (BasicAttributesEnumeration.nextElement): Update and compare where
2315 appropriately (zero based).
2317 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2319 PR libgcj/20090, PR libgcj/20526
2320 * gij.cc (nonstandard_opts_help): New function.
2321 (add_option): New function.
2322 (main): Support java options. Set java.class.path. Don't set
2324 * prims.cc (parse_x_arg): New function.
2325 (parse_init_args): Call parse_x_arg for -X and _ options, when
2326 ignoreUnrecognized is true.
2327 (new _Jv_RunMain): New vm_args variant.
2328 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2329 (_Jv_Jar_Class_Path): Remove variable.
2330 * include/java-props.h: Likewise.
2331 * include/cni.h (JvRealloc): New function.
2332 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2333 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2334 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2336 * configure.ac (JV_VERSION): Define.
2337 (JV_API_VERSION): Likewise.
2338 * configure: Regenerate.
2339 * include/config.h.in: Regenerate.
2341 2005-04-01 Mark Anderson <mark@panonet.net>
2343 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2344 -Infinity as parameters.
2346 2005-04-01 Michael Koch <konqueror@gmx.de>
2348 * java/io/PipedInputStream.java
2349 (read): Make sure a positive byte value is returned. Revised javadoc.
2350 Thanks to Olafur Bragason for reporting these bugs.
2352 2005-04-01 Tom Tromey <tromey@redhat.com>
2354 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2355 Updated for name change.
2356 (nativeFindClass): New method.
2357 (loadClass): Use nativeFindClass.
2358 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2360 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2361 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2363 (initialize): New method.
2364 (nativeFindClass): Declare.
2365 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2366 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2367 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2369 (definePackageForNative): Removed.
2370 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2371 Moved to VMClassLoader.java.
2372 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2373 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2374 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2375 removed VMClassLoader.java.
2376 (nat_source_files): Removed natVMClassLoader.cc.
2378 2005-04-01 Tom Tromey <tromey@redhat.com>
2380 * Makefile.in: Rebuilt.
2381 * Makefile.am (db_pathtail): Use $(gcc_version), not
2384 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2386 * java/util/Timer.java
2387 (run): Stop the queue if a task throws an exception.
2389 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2391 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2393 2005-03-29 Ian Lance Taylor <ian@airs.com>
2395 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2396 * external/sax/Makefile.in: Rebuild.
2397 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2399 * external/w3c_dom/Makefile.in: Rebuild.
2401 2005-03-29 Tom Tromey <tromey@redhat.com>
2403 * java/lang/natRuntime.cc (insertSystemProperties): Set
2404 gnu.gcj.runtime.endorsed.dirs.
2405 * Makefile.in: Rebuilt.
2406 * Makefile.am (ordinary_java_source_files): Added
2407 HelperClassLoader.java.
2408 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2409 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2411 (init): Use addDirectoriesFromProperty.
2412 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2413 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2414 gnu.gcj.runtime.endorsed.dirs.
2415 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2417 2005-03-26 Chris Burdess <dog@gnu.org>
2419 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2422 2005-03-13 Michael Koch <konqueror@gmx.de>
2424 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2426 2005-03-11 Chris Burdess <dog@gnu.org>
2428 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2431 2005-02-27 Chris Burdess <dog@gnu.org>
2433 * gnu/xml/aelfred2/JAXPFactory.java,
2434 gnu/xml/aelfred2/SAXDriver.java,
2435 gnu/xml/aelfred2/XmlParser.java,
2436 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2437 formatting conventions. Replaced arrays of Object with struct-like
2438 classes for easier maintainability. Made SAXDriver.stringInterning
2439 package private to allow access from XmlParser inside the loop without
2440 a method call overhead.
2442 2005-03-11 Chris Burdess <dog@gnu.org>
2444 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2447 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2449 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2450 settings to sub Makefiles.
2451 (GCJH, ZIP): Prefix with top_builddir.
2452 * configure: Rebuild.
2453 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2454 * external/w3c_dom/Makefile.in: Rebuild.
2455 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2456 * external/sax/Makefile.in: Rebuild.
2458 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2460 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2461 libsocket to the libraries to link for Solaris.
2463 2005-03-28 Per Bothner <per@bothner.com>
2465 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2466 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2468 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2470 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2471 to fix a ONESTEP fallout.
2472 * Makefile.in: Regenerate.
2474 2005-03-25 Mike Stump <mrs@apple.com>
2476 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2477 paths like we do for the compiler, as we use it in external/sax
2478 and it doesn't get MULTIBUILDTOP right when multilibing.
2480 2005-03-24 Anthony Green <green@redhat.com>
2482 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2484 (usage): Add [LIBDIR] to help output.
2485 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2486 * Makefile.am (AM_CXXFLAGS): Define
2487 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2488 (db_pathtail): New macro.
2490 2005-03-24 Tom Tromey <tromey@redhat.com>
2492 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2493 add sax and w3c libraries.
2494 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2496 * external/w3c_dom/Makefile.in: Rebuilt.
2497 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2499 (libw3c_gcj_la_LDFLAGS): New variable.
2500 (noinst_LTLIBRARIES): Renamed.
2501 * external/sax/Makefile.in: Rebuilt.
2502 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2504 (libsax_gcj_la_LDFLAGS): New variable.
2505 (noinst_LTLIBRARIES): Renamed.
2507 2005-03-23 Tom Tromey <tromey@redhat.com>
2509 * Makefile.in: Rebuilt.
2510 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2511 (libgcj0_convenience_la_SOURCES): Don't include
2512 gnu_xml_source_files.
2513 (libgcj0_convenience_la_LIBADD): New variable.
2514 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2515 (all_java_source_files): javax_imageio_source_files,
2516 javax_xml_source_files, and gnu_java_beans_source_files.
2517 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2518 (gnu-xml.lo): New target.
2519 (javax-imageio.lo): Likewise.
2520 (javax-xml.lo): Likewise.
2521 (gnu-java-beans.lo): Likewise.
2522 (gnu_java_beans_source_files): New variable.
2523 (javax_imageio_source_files): Likewise.
2524 (javax_xml_source_files): Likewise.
2525 (javax_source_files): Moved files to other variable.
2526 (awt_java_source_files): Likewise.
2527 (ordinary_java_source_files): Added BootClassLoader.java.
2528 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2529 not system class loader.
2530 (initBootLoader): New method.
2531 (loadClass): Search bootLoader.
2532 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2533 boot loader, not system class loader.
2534 (_Jv_UnregisterInitiatingLoader): Likewise.
2535 (_Jv_FindClass): Likewise. Ensure entries in
2536 bootstrap_class_list are unique.
2537 * java/lang/natClass.cc (getClassLoader): Don't special case
2538 system class loader.
2539 * java/lang/VMClassLoader.java (bootLoader): New field.
2540 (getResource): Use bootLoader.
2541 (getResources): Likewise.
2542 (initBootLoader): Declare.
2543 * gnu/gcj/runtime/BootClassLoader.java: New file.
2544 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2545 (EMPTY_ENUMERATION): Now package-private.
2546 * external/w3c_com/Makefile.in: Rebuilt.
2547 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2548 (w3c.jar): New target.
2549 (classes.stamp): Updated.
2550 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2551 Changed name of library.
2552 (libw3c_gcj_la_SOURCES): New variable.
2553 (libw3c_gcj_la_GCJFLAGS): Likewise.
2554 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2555 * external/sax/Makefile.in: Rebuilt.
2556 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2557 (sax.jar): New target.
2558 (classes.stamp): Updated.
2559 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2560 Changed name of library.
2561 (libsax_gcj_la_SOURCES): New variable.
2562 (libsax_gcj_la_GCJFLAGS): Likewise.
2563 (source_files): Renamed from libsax_convenience_la_SOURCES.
2564 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2566 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2568 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2570 2005-03-23 Sven de Marothy <sven@physto.se>
2572 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2574 * java/util/Calendar.java
2575 (set): Use starting day of week when one is needed if none is given.
2576 * java/text/SimpleDateFormat.java
2577 (parse): Handle 1-12 and 1-24 timestamps correctly.
2578 * java/util/GregorianCalendar.java
2579 (computeTime, computeFields): HOUR should be in 0-11 format.
2580 (nonLeniencyCheck): Adjust leniency checking to that fact.
2581 (getLinearDay): Should be private.
2583 2005-03-23 Tom Tromey <tromey@redhat.com>
2585 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2586 (_Jv_CheckABIVersion): Use it.
2588 2005-03-22 Mike Stump <mrs@apple.com>
2590 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2592 * include/posix.h: .dylib is used on all Apple MACH platforms.
2593 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2595 2005-03-22 Tom Tromey <tromey@redhat.com>
2597 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2599 2005-03-21 Tom Tromey <tromey@redhat.com>
2601 * java/lang/VMCompiler.java (static block): Also catch
2602 BufferUnderflowException.
2604 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2606 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2607 set tool_include_dir. In all substitutions, leave $(gcc_version)
2608 to be expanded by the Makefile.
2609 * aclocal.m4, configure: Regenerate.
2610 * Makefile.am: Set gcc_version. Replace all uses of
2611 @gcc_version@ with $(gcc_version).
2612 * external/Makefile.am, external/sax/Makefile.am
2613 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2614 * testsuite/Makefile.am: Set gcc_version.
2615 * include/Makefile.am: Set gcc_version and tool_include_dir.
2616 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2617 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2618 * testsuite/Makefile.in: Regenerate.
2620 2005-03-17 Andrew Haley <aph@redhat.com>
2622 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2624 Pass klass to _Jv_StackTrace::GetClassContext().
2625 * java/lang/ClassLoader.java (getParent): Pass class to
2626 VMSecurityManager.getClassContext()
2627 (getSystemClassLoader): Likewise.
2628 * java/lang/Package.java (getPackage): Likewise.
2629 (getPackages): Likewise.
2630 * java/lang/SecurityManager.java (getClassContext): Likewise.
2631 (currentClassLoader): Likewise.
2632 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2633 (currentClassLoader) Add new arg: caller.
2634 Pass caller to VMSecurityManager.getClassContext.
2636 * stacktrace.cc (GetClassContext): Correct calculation of
2639 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2640 im->source_file_name.
2642 2005-03-16 Andrew Haley <aph@redhat.com>
2644 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2646 2005-03-16 Tom Tromey <tromey@redhat.com>
2648 * link.cc (ensure_class_linked): Removed #ifdef.
2649 (print_class_loaded): Likewise.
2650 (wait_for_state): Likewise.
2651 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2652 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2653 * include/java-interp.h: ... here.
2655 2005-03-16 Tom Tromey <tromey@redhat.com>
2657 * gnu/java/lang/MainThread.java (run): Load main class using
2658 system class loader.
2660 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2662 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2663 lgcc_s to the libraries to link for Darwin.
2665 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2667 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2668 interpreter-specific code with #ifdef INTERPRETER.
2669 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2670 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2671 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2672 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2673 #ifdef INTERPRETER. Also protect declarations that use it.
2674 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2675 #ifdef INTERPRETER block.
2677 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2680 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2681 * Makefile.in: Rebuilt.
2683 2005-03-15 David Daney <ddaney@avtrex.com>
2685 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2688 2005-03-15 David Daney <ddaney@avtrex.com>
2690 * java/io/BufferedInputStream.java (available): Use 'in' instead
2691 of 'super' for underlying stream access.
2693 (read(byte[], int, int)): Ditto.
2695 (skip): Call skip on underlying stream when possible.
2697 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2699 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2700 SJLJ_EXCEPTIONS is defined.
2702 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2704 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2707 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2709 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2711 (libjava_arguments): Likewise.
2713 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2714 (gcj_jni_test_one): Likewise.
2715 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2716 Add flags to keep the Darwin linker quiet.
2717 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2718 Add -liconv for Darwin.
2720 2005-03-11 Tom Tromey <tromey@redhat.com>
2722 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2723 (_Jv_CheckABIVersion): Use it.
2725 2005-03-11 Tom Tromey <tromey@redhat.com>
2727 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2728 (usage): Document '-p'.
2729 * Makefile.in: Rebuilt.
2730 * Makefile.am (dbexecdir): New variable.
2731 (db_name): Likewise.
2732 (dbexec_DATA): Likewise.
2733 ($(db_name)): New target.
2734 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2735 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2738 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2740 * exception.cc: Remove stray MethodRef.h include.
2741 * java/lang/natClass.cc: Likewise.
2742 * gnu/gcj/runtime/MethodRef.java: Removed.
2743 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2744 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2745 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2746 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2747 * Makefile.in: Rebuilt.
2749 2005-03-10 Tom Tromey <tromey@redhat.com>
2751 * Makefile.in: Rebuilt.
2752 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2754 2005-03-10 Chris Burdess <dog@bluezoo.org>
2756 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2757 not currently parsing the DTD.
2759 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2761 New Stack Trace infrastructure.
2762 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2763 (gnu/gcj/runtime/StackTrace.java): Removed.
2764 (ordinary_java_source_files): Remove obsolete files.
2765 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2766 * configure.host (fallback_backtrace_h): Set backtrace header
2767 for mingw and cygwin targets.
2768 * configure.ac: Make symlink for fallback backtrace headers.
2769 * Makefile.in, configure: Rebuilt.
2770 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2771 Read 'LineNumberTable' attribute.
2772 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2774 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2776 * exception.cc: Remove unused include.
2777 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2778 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2779 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2780 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2781 table to direct threaded instruction values.
2782 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2783 (_Jv_InterpMethod::run): No longer member function. All
2784 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2785 is made or where an instruction could throw.
2786 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2788 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2789 (catch_fpe): Likewise.
2790 * stacktrace.cc: New file. Stack trace code now here.
2791 * gnu/gcj/runtime/MethodRef.java:
2792 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2793 calls addr2line to look up PC addresses in a given binary or shared
2795 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2796 gnu/gcj/runtime/natStackTrace.cc: Removed.
2797 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2798 this function name is specially recognised by the stack trace code
2799 and shouldn't be changed.
2800 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2801 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2802 (_Jv_InterpMethod::run): Update declaration.
2803 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2805 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2806 * include/java-stack.h: New file. Declarations for stack tracing.
2807 * include/jvm.h (_Jv_Frame_info): Removed.
2808 * java/lang/Class.h: Update friend declarations.
2809 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2811 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2812 (getStackTrace): Now native.
2813 (data): New RawDataManaged field.
2814 * java/lang/natClass.cc: Update includes.
2815 (forName): Use _Jv_StackTrace::GetCallingClass for
2816 calling-classloader check.
2817 (getClassLoader): Likewise.
2818 * java/lang/natRuntime.cc: Update includes.
2819 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2820 * java/lang/natVMSecurityManager.cc: Update includes.
2821 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2822 * java/lang/natVMThrowable.cc: New file. Native methods for
2824 * java/lang/reflect/natArray.cc: Update includes.
2825 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2826 accessibility check.
2827 * java/lang/reflect/natConstructor.cc: Update includes.
2828 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2829 accessibility check.
2830 * java/lang/reflect/natField.cc: Update includes.
2831 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2832 accessibility check.
2833 * java/lang/reflect/natMethod.cc: Update includes.
2834 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2835 accessibility check.
2836 * java/util/natResourceBundle.cc: Update includes.
2837 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2838 * java/util/logging/natLogger.cc: Update includes. Use
2839 _Jv_StackTrace::GetCallerInfo to get call-site info.
2840 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2842 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2845 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2847 * testsuite/libjava.compile/PR20312.java: New file.
2848 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2849 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2851 2005-03-09 Andrew Haley <aph@redhat.com>
2853 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2855 (smallTransferTo): New.
2856 (transferFrom): Loop around smallTransferFrom, copying pageSize
2858 (transferTo): Likewise.
2860 2005-03-09 David Daney <ddaney@avtrex.com>
2863 Merge BufferedInputStream from GNU Classpath.
2864 * java/io/BufferedInputStream.java (marktarget): Field removed.
2865 (CHUNKSIZE): Field removed.
2866 (bufferSize): New field.
2867 (BufferedInputStream): Initialize fields.
2868 (close): Invalidate mark and buffer indexes.
2870 (read()): Move mark handling code to refill.
2871 (read(byte[], int, int)): Ditto.
2872 (skip): Ditto and simplify EOF testing.
2873 (refill): Rewritten.
2874 * java/io/InputStreamReader.java (refill): Removed mark and reset
2875 of internal BufferedInputStream.
2877 2005-03-09 Tom Tromey <tromey@redhat.com>
2879 * java/lang/natVMClassLoader.cc (defineClass): Reference
2880 'systemClassLoader' field directly.
2881 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2883 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2884 Reference 'systemClassLoader' field directly.
2885 (_Jv_UnregisterInitiatingLoader): Likewise.
2886 (_Jv_FindClass): Likewise.
2888 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2890 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2892 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2893 the file in GNU Classpath style.
2895 2005-03-09 Tom Tromey <tromey@redhat.com>
2897 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2898 (toString): Synchronize.
2900 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2902 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2903 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2905 2005-03-07 Tom Tromey <tromey@redhat.com>
2907 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2908 (usage): Document '-f'.
2910 2005-03-07 Tom Tromey <tromey@redhat.com>
2912 * java/lang/VMCompiler.java (md5Digest): New field.
2913 (compileClass): Clone md5Digest instead of looking up a new one.
2915 2005-03-07 Tom Tromey <tromey@redhat.com>
2918 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2919 * link.cc (find_field_helper): Added 'type' argument.
2920 (find_field): Updated.
2922 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2923 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2924 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2925 throw UnsupportedOperationException, fixed comments.
2926 (setFont, setForeground): Fixed comments.
2927 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2928 return type to boolean.
2929 (getNextEvent): Fixed javadocs.
2930 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2931 (nativeQueueEmpty): Removed unused code.
2932 (iterateNativeQueue): Removed outer loop.
2934 2005-03-06 Roger Sayle <roger@eyesopen.com>
2937 * Makefile.am (libgcj0_convenience.la): Revert last change.
2938 * Makefile.in: Regenerate.
2940 2005-03-05 Anthony Green <green@redhat.com>
2942 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2943 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2944 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2945 (_Jv_GetDrawingSurface): Set visualID.
2946 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2947 (JAWT_GetAWT): Set Lock and Unlock.
2948 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2950 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2951 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2952 JAWT_LOCK_SURFACE_CHANGED): New macros.
2953 (struct _JAWT): Add Lock and Unlock.
2955 2005-03-05 Roger Sayle <roger@eyesopen.com>
2956 Alexandre Oliva <aoliva@redhat.com>
2957 Kelley Cook <kcook@gcc.gnu.org>
2960 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2961 of the object files to link to avoid exceeding the command line
2962 length limits on some platforms.
2963 (clean-local): Clean up objectlist files.
2964 * Makefile.in: Regenerate.
2966 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2968 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2969 spec_case. Initialize pointer mlo.
2971 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2974 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2976 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2979 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2980 uninitialized variable z.
2982 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2983 possible unused variables.
2985 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2987 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2989 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2992 * testsuite/libjava.jni/jni.exp
2993 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2995 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2997 2005-02-23 David Daney <ddaney@avtrex.com>
2999 * configure.host: Don't use -mxgot for MIPS builds.
3001 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3004 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3005 (COMPPATH): Removed.
3006 (ZIP, GCJH): Replace it with ../$(host_subdir).
3007 (built_gcc_dir): Add $(host_subdir).
3008 * configure: Regenerate.
3009 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3010 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3011 external/w3c_dom/Makefile.in: Regenerate.
3013 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3015 * java/awt/font/TextAttribute.java: changed names to lower case;
3016 (readResolve): implemented.
3017 Added doc comments all over.
3019 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3022 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3023 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3024 value. Move argument parsing code to prims.cc.
3025 * prims.cc (no_properties): Remove.
3026 (_Jv_Compiler_Properties): Initialize to NULL.
3027 (_Jv_Properties_Count): Initialize to 0.
3028 (parse_verbose_args): New function.
3029 (parse_init_args): New function.
3030 (_Jv_CreateJavaVM): Call parse_init_args.
3031 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3032 * gcj/cni.h (JvVMOption): New struct.
3033 (JvVMInitArgs): Likewise.
3034 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3036 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3037 (_Jv_VMInitArgs): Likewise.
3038 * include/java-props.h (_Jv_Properties_Count): Declare.
3039 * java/lang/natRuntime.cc (insertSystemProperties): Use
3040 _Jv_Properties_Count in for loop exit condition.
3041 * testsuite/libjava.jni/jni.exp
3042 (gcj_invocation_compile_c_to_binary): New procedure.
3043 (gcj_invocation_test_one): Likewise.
3044 (gcj_jni_run): Run JNI invocation API tests.
3045 * testsuite/libjava.jni/invocation/PR16923.c,
3046 testsuite/libjava.jni/invocation/PR16923.java,
3047 testsuite/libjava.jni/invocation/PR16923.out: New test.
3049 2005-02-23 Michael Koch <konqueror@gmx.de>
3051 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3052 * Makefile.in: Regenerated.
3054 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3056 * gnu/java/nio/ChannelReader: Fixed comments.
3058 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3060 * java/nio/channels/Channels: Added FIXMEs about
3061 stub method implementation.
3062 (newReader): Implemented.
3063 * gnu/java/nio/ChannelReader: New class.
3065 2005-02-23 Michael Koch <konqueror@gmx.de>
3067 * java/text/SimpleDateFormat.java:
3068 Removed unused import.
3070 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3073 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3074 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3075 * Makefile.in: Regenerate.
3076 * configure.ac: Check for libXtst.
3077 * configure: Regenerate.
3079 2005-02-22 Mark Wielaard <address@bogus.example.com>
3081 * java/security/AlgorithmParameterGenerator.java (getInstance):
3082 Mention provider when throwing NoSuchProviderException.
3083 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3084 * java/security/KeyFactory.java (getInstance): Likewise.
3085 * java/security/KeyStore.java (getInstance): Likewise.
3086 * java/security/SecureRandom.java (getInstance): Likewise.
3087 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3089 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3091 * java/lang/reflect/Proxy.java,
3093 java/security/SecureRandom.java,
3094 java/util/Timer.java,
3095 java/util/prefs/AbstractPreferences.java:
3096 Don't catch java.lang.ThreadDeath.
3098 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3100 * java/awt/font/TransformAttribute.java,
3101 (TransformAttribute(AffineTransform)): throw
3102 IllegalArgumentException for null transform.
3103 (getTransform): return a copy of transform.
3104 Added doc comments to all.
3106 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3108 * java/io/Externalizable.java,
3109 java/io/Serializable.java
3110 (serialVersionUID): Removed.
3111 * java/rmi/server/RemoteObject.java,
3112 java/rmi/server/UID.java
3113 (serialVersionUID): Made private.
3114 * java/rmi/server/RemoteRef.java,
3115 java/rmi/server/ServerRef.java
3116 (serialVersionUID): Set proper value.
3117 * java/security/interfaces/DSAPrivateKey.java,
3118 java/security/interfaces/DSAPublicKey.java,
3119 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3120 java/security/interfaces/RSAPrivateCrtKey.java,
3121 java/security/interfaces/RSAPrivateKey.java,
3122 java/security/interfaces/RSAPublicKey.java,
3123 javax/crypto/SecretKey.java
3124 (serialVersionUID): Added.
3126 2005-02-22 Tom Tromey <tromey@redhat.com>
3128 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3130 2005-02-22 Tom Tromey <tromey@redhat.com>
3133 * verify.cc (type::EITHER): New constant.
3134 (check_field_constant): Use it.
3135 (type::compatible): Handle it.
3137 2005-02-22 Michael Koch <konqueror@gmx.de>
3139 * gnu/java/security/PolicyFile.java,
3140 gnu/java/security/pkcs/PKCS7SignedData.java,
3141 gnu/java/security/pkcs/SignerInfo.java:
3142 Fixed copyright header.
3144 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3146 * java/beans/PropertyDescriptor.java
3147 (PropertyDescriptor,setReadMethod): Set propertyType.
3149 2005-02-22 Michael Koch <konqueror@gmx.de>
3151 * java/nio/DirectByteBufferImpl.java
3152 (owner): Fixed formatting of javadoc.
3153 * java/text/DateFormat.java
3154 (getAvailableLocales): Fixed formatting.
3155 * java/text/SimpleDateFormat.java:
3156 Fixed formatting and import statement order.
3157 * java/util/Calendar.java
3158 (Calendar): Fixed javadoc to be HTML compliant.
3159 * java/util/SimpleTimeZone.java:
3162 2005-02-22 Roman Kennke <roman@ontographics.com>
3164 * javax/swing/plaf/basic/BasicLookAndFeel.java
3165 (initComponentDefaults): Fixed Button left and right margin.
3167 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3169 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3173 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3174 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3175 (getWidth): New method.
3176 (getHeight): Likewise.
3177 (create): Remove width, height and insets parameters. Move size
3179 (realize_cb): ... here. New function.
3180 (connectSignals): Connect realize_cb.
3181 (request_frame_extents): Remove FIXME. Move
3182 postInsetsChangedEvent lookup ...
3183 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3184 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3185 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3187 (windowGetWidthID): Likewise.
3188 (windowGetHeightID): Likewise.
3190 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3194 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3196 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3198 Merge serialization from GNU Classpath.
3199 * gcj/method.h: Add missing #includes.
3200 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3201 primitive class IDs on the stream here...
3202 (resolveClass): ...not here.
3203 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3205 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3206 setLongNative, setIntNative, setShortNative, setCharNative,
3207 setByteNative, setBooleanNative, setObjectNative): New native methods.
3208 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3209 setLongNative, setIntNative, setShortNative, setCharNative,
3210 setByteNative, setBooleanNative, setObjectNative): Implement them.
3211 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3212 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3213 the constructor here.
3214 (callConstructor): Removed.
3215 (getCallersClassLoader): Removed.
3216 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3217 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3218 to control whether setting final field values is permitted. Call
3219 getAddr() with checkFinal parameter instead of setAddr().
3220 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3221 only if not done already.
3222 (getAddr): Add checkFinal parameter. Do the final field check only if
3226 2005-02-21 Mark Wielaard <mark@klomp.org>
3229 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3232 2005-02-21 Mark Wielaard <mark@klomp.org>
3235 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3236 without a super class and us ObjectStreamClass.lookupForClassObject().
3237 (resolveClass): Check for primitive types.
3238 (lookupClass): Return null when argument is null.
3240 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3242 * java/io/ObjectInputStream.java
3243 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3245 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3247 * java/io/ObjectOutputStream.java
3248 (writeObject, callWriteMethod): Replaced reflection with accessing
3249 cached info in ObjectStreamClass.
3250 (getMethod): Removed.
3251 * java/io/ObjectStreamClass.java
3252 (findMethod): Added check to make sure the method found has the
3254 (cacheMethods): Added writeReplace and writeObject methods.
3255 (setFlags): Look at new writeObjectMethod field instead of doing
3257 (writeReplaceMethod): New field.
3258 (writeObjectMethod): New field.
3260 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3261 Jeroen Frijters <jeroen@frijters.net>
3263 * java/io/ObjectInputStream.java
3264 (newObject): Changed prototype. Get a constructor reflect object
3266 (callConstructor): Removed.
3267 (allocateObject): Changed prototype.
3268 (readClassDescriptor): Build the constructor reflection directly.
3269 (readObject): Invoke newObject using the new prototype.
3271 * java/io/ObjectStreamClass.java
3272 (firstNonSerializableParent): Removed.
3273 (firstNonSerializableParentConstructor): Added.
3275 2005-02-21 Mark Wielaard <mark@klomp.org>
3277 * gnu/java/locale/LocaleInformation_en.java: Extend
3278 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3280 2005-02-21 Mark Wielaard <mark@klomp.org>
3282 * java/text/SimpleDateFormat.java
3283 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3284 NullPointerException when formatData is null.
3286 2005-02-21 Mark Wielaard <mark@klomp.org>
3288 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3289 taking dstSavings into account.
3291 2005-02-21 Sven de Marothy <sven@physto.se>
3293 * java/text/SimpleDateFormat.java,
3294 (parse): Set correct DST_OFFSET to the correct value.
3296 2005-02-21 Mark Wielaard <mark@klomp.org>
3298 * java/util/SimpleTimeZone.java (checkRule): Throw
3299 IllegalArgumentException when month out of range.
3301 2005-02-21 Sven de Marothy <sven@physto.se>
3303 * java/util/GregorianCalendar.java,
3304 (add): Don't set fields directly anymore. Use set()
3306 2005-02-21 Mark Wielaard <mark@klomp.org>
3308 * java/text/SimpleDateFormat.java (CompiledField.toString):
3309 Use StringBuffer, not StringBuilder.
3310 (toString): Likewise.
3312 2005-02-21 Sven de Marothy <sven@physto.se>
3314 * java/util/Calendar.java
3315 (clear): Dates should clear to local time.
3316 * java/util/GregorianCalendar.java
3317 (computeTime): Fix priority problem with DAY_OF_WEEK,
3318 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3320 2005-02-21 Sven de Marothy <sven@physto.se>
3322 * java/util/Calendar.java
3323 (Calendar): Constructor should clear fields.
3325 2005-02-21 Sven de Marothy <sven@physto.se>
3327 * java/text/SimpleDateFormat.java
3328 (parse): Tweak handling of 2-year dates
3329 * java/util/Calendar.java
3330 (clear): Clear fields to correct value.
3331 * java/util/GregorianCalendar.java
3332 (computeTime): Correct handling of time zones.
3333 Correct field minimum values.
3335 2005-02-21 Sven de Marothy <sven@physto.se>
3337 * java/util/Calendar.java
3338 (set) Invalidate all fields on first call to set().
3340 2005-02-21 Sven de Marothy <sven@physto.se>
3342 * java/util/GregorianCalendar.java
3343 (computeTime): Fixed handling of time zones.
3345 2005-02-21 Sven de Marothy <sven@physto.se>
3347 * java/util/Calendar.java
3348 (clear): Set values to Epoch instead of zero.
3349 (set): Set isSet to the relevant field pattern instead of just
3351 * java/util/GregorianCalendar.java
3352 (getBundle): Removed.
3353 (getDayOfYear): Removed.
3354 (getFirstDayOfMonth): New private method.
3355 (nonLeniencyCheck): New private method.
3356 (computeTime): Correct handling of insufficient data.
3358 2005-02-21 Sven de Marothy <sven@physto.se>
3360 * java/util/Calendar.java: Invalidate ERA field on setting
3362 * java/util/SimpleTimeZone.java:
3363 (getDaysInMonth): Reimplemented.
3364 * java/util/GregorianCalendar.java:
3365 (getLinearTime): Removed.
3366 (isLeapYear(int,boolean)): Removed.
3367 (before(), after()): Removed.
3368 (computeTime): Reimplemented.
3370 2005-02-21 Sven de Marothy <sven@physto.se>
3372 * java/util/Calendar.java: Reformatted.
3373 * java/util/GregorianCalendar.java: Reformatted.
3374 * java/util/SimpleTimeZone.java: Reformatted.
3376 2005-02-21 Sven de Marothy <sven@physto.se>
3378 * java/util/GregorianCalendar.java
3379 (GregorianCalendar): Update fields in the constructor
3381 2005-02-21 Noa Resare <noa@resare.com>
3383 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3384 (set(int,int)): Set and use new field.
3385 (set(int,int,int)): Check new field.
3387 2005-02-21 Noa Resare <address@hidden>
3389 * java/util/Calendar.java(set):
3390 Fix for DST related regression.
3392 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3394 * java/util/Calendar.java
3395 (setTimeInMillis): Added call to clear, removed computeFields call.
3396 * java/util/Date.java
3397 (Date(int,int,int,int,int,int)): Removed workaround for
3398 GregorianCalendar bug.
3399 * java/util/GregorianCalendar.java
3400 (GregorianCalendar): Chained all constructors to a (new)
3402 (computeTime): Fixed support for lenient month treatment.
3403 (getLinearDay): Return long instead of int.
3404 (calculateDay): Added fields argument and changed day argument
3407 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3409 * java/text/SimpleDateFormat.java
3410 Lots of documentation updates.
3411 (readObject(java.io.ObjectInputStream)): Wraps
3412 IllegalArgumentException as specified.
3413 (compileFormat(String)): Uses standardChars
3414 rather than the local pattern characters.
3415 Throws IllegalArgumentException rather than
3417 (toString()): Extended to include all variables
3419 (translateLocalizedPattern(String, String, String)):
3420 Renamed to better define the use of this method.
3422 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3424 * java/text/DateFormat.java:
3425 Documented pattern character offset constants and
3427 (Field): Added new static fields for new pattern chars.
3428 * java/text/SimpleDateFormat.java:
3429 (CompiledField): Changed name of FieldSizePair class
3430 to CompiledField after adding the character as an
3431 attribute. Changed fields to private and added
3432 accessors to give encapsulation.
3433 (CompiledField.CompiledField(int,int,char)): Extended
3434 with character field.
3435 (CompiledField.getField()): New accessor method.
3436 (CompiledField.getSize()): New acceessor method.
3437 (CompiledField.getCharacter()): New accessor method.
3438 (CompiledField.toString()): Added primarily for debugging.
3439 (standardChars): Now uses extended 24 character sequence.
3440 (compileFormat(String)): Changed to use CompiledField.
3441 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3442 java.text.FieldPosition)): Changed to use CompiledField.
3443 New handler for RFC 822 timezones added.
3445 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3447 * java/text/SimpleDateFormat.java:
3448 (parse(String, java.text.ParsePosition)):
3449 Changed 'E' and 'M' cases to use both
3450 short and long names. Extended 'z'
3451 case to also handle 'Z', and deal
3452 with simple GMT offsets such as +0100.
3453 (computeOffset(String)): New private method,
3454 which converts a GMT offset specification,
3455 such as GMT-0500 to a numeric offset in
3457 * java/util/TimeZone.java:
3458 (timezones()): Added "CEST", the daylight
3459 savings time version of "CET", or Central
3462 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3464 * java/text/SimpleDateFormat.java:
3465 (parse): Set the DST offset to 0 when parsing
3466 GMT offset timezones.
3468 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3470 * java/text/SimpleDateFormat.java:
3471 (parse): Use offset to set ZONE_OFFSET
3472 rather than the DST_OFFSET, so that
3473 GMT offset timezones change the right
3476 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3478 * java/text/SimpleDateFormat.java:
3479 (getDateFormatSymbols()): return a copy
3480 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3481 throw exception on null input
3482 (clone()): implemented to clone
3485 2005-02-21 Sven de Marothy <sven@physto.se>
3487 * java/text/SimpleDateFormat.java
3488 (parse): comparison should be case-insensitive, ignore null
3491 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3493 * gnu/java/beans/IntrospectionIncubator.java
3494 (addMethod) Reverts the patch that ntroduced a regression (see bug
3495 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3497 2005-02-21 Michael Koch <konqueror@gmx.de>
3499 * java/awt/Checkbox.java
3500 (next_checkbox_number): New static variable.
3501 (generateName): New method.
3502 (getUniqueLong): Likewise.
3503 * java/awt/Window.java
3504 (next_window_number): New static variable.
3505 (generateName): New method.
3506 (getUniqueLong): Likewise.
3508 2005-02-21 Mark Wielaard <mark@klomp.org>
3510 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3513 2005-02-21 Andrew Haley <aph@redhat.com>
3515 * Makefile.in: Rebuilt.
3516 * Makefile.am (nat_source_files): Added natLogger.cc.
3517 * java/util/logging/natLogger.cc: New file.
3518 * java/util/logging/Logger.java (getCallerStackFrame): Now
3521 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3523 * Makefile.am (all_property_files): Remove left over.
3524 (classes.stamp): Add stamp for the ONESTEP build, also known as
3525 --enable-libgcj-multifile.
3526 * Makefile.in: Regenerated.
3528 2005-02-21 Michael Koch <konqueror@gmx.de>
3530 * java/awt/Button.java,
3531 java/awt/Container.java,
3533 java/awt/Frame.java,
3534 java/text/CollationElementIterator.java,
3535 java/text/RuleBasedCollator.java,
3536 java/util/PropertyPermission.java:
3537 Fixed formatting issues all over.
3539 2005-02-21 Mark Wielaard <mark@klomp.org>
3541 * java/io/FileDescriptor.java (sync): Add real exception to
3542 SyncFailedException.
3544 2005-02-21 Michael Koch <konqueror@gmx.de>
3546 * java/io/InputStreamReader.java:
3549 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3552 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3554 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3556 * libraries/javalib/gnu/regexp/RE.java,
3557 libraries/javalib/java/io/ObjectInputStream.java,
3558 libraries/javalib/java/security/AllPermission.java,
3559 libraries/javalib/java/security/BasicPermission.java,
3560 libraries/javalib/java/security/Permissions.java,
3561 libraries/javalib/java/text/MessageFormat.java:
3562 Made 'inner' classes real public static inner classes,
3563 and made them final where possible, or removed them
3566 2005-02-20 Michael Koch <konqueror@gmx.de>
3568 * gnu/java/text/FormatCharacterIterator.java:
3569 Removed redundant modifiers.
3571 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3573 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3576 2005-02-19 Michael Koch <konqueror@gmx.de>
3578 * Makefile.am: Added new files in gnu/java/beans and
3579 java/beans/XMLDecoder.java.
3580 * Makefile.in: Regenerated.
3582 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3584 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3585 assignment behavior by using java.lang.reflect.Array.set()
3588 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3590 * gnu/java/beans/EmptyBeanInfo.java,
3591 gnu/java/beans/info/ComponentBeanInfo.java:
3592 Removed unused files.
3594 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3596 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3597 of AppletStub for java.beans.Beans.instantiate.
3598 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3600 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3601 to be conformant with Javadoc guidelines.
3602 (instantiate): Added two more overloaded variants, reworked user
3603 documentation, fixed exception behavior, fixed behavior when
3606 2005-02-19 Mark Wielaard <mark@klomp.org>
3608 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3610 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3612 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3614 * gnu/java/beans/decoder/AbstractContext.java,
3615 gnu/java/beans/decoder/AbstractCreatableContext.java,
3616 gnu/java/beans/decoder/AbstractElementHandler.java,
3617 gnu/java/beans/decoder/AbstractObjectContext.java,
3618 gnu/java/beans/decoder/ArrayContext.java,
3619 gnu/java/beans/decoder/ArrayHandler.java,
3620 gnu/java/beans/decoder/AssemblyException.java,
3621 gnu/java/beans/decoder/BooleanHandler.java,
3622 gnu/java/beans/decoder/ByteHandler.java,
3623 gnu/java/beans/decoder/CharHandler.java,
3624 gnu/java/beans/decoder/ClassHandler.java,
3625 gnu/java/beans/decoder/ConstructorContext.java,
3626 gnu/java/beans/decoder/Context.java,
3627 gnu/java/beans/decoder/DecoderContext.java,
3628 gnu/java/beans/decoder/DefaultExceptionListener.java,
3629 gnu/java/beans/decoder/DoubleHandler.java,
3630 gnu/java/beans/decoder/DummyContext.java,
3631 gnu/java/beans/decoder/DummyHandler.java,
3632 gnu/java/beans/decoder/ElementHandler.java,
3633 gnu/java/beans/decoder/FloatHandler.java,
3634 gnu/java/beans/decoder/GrowableArrayContext.java,
3635 gnu/java/beans/decoder/IndexContext.java,
3636 gnu/java/beans/decoder/IntHandler.java,
3637 gnu/java/beans/decoder/JavaHandler.java,
3638 gnu/java/beans/decoder/LongHandler.java,
3639 gnu/java/beans/decoder/MethodContext.java,
3640 gnu/java/beans/decoder/MethodFinder.java,
3641 gnu/java/beans/decoder/NullHandler.java,
3642 gnu/java/beans/decoder/ObjectContext.java,
3643 gnu/java/beans/decoder/ObjectHandler.java,
3644 gnu/java/beans/decoder/PersistenceParser.java,
3645 gnu/java/beans/decoder/PropertyContext.java,
3646 gnu/java/beans/decoder/ShortHandler.java,
3647 gnu/java/beans/decoder/SimpleHandler.java,
3648 gnu/java/beans/decoder/StaticMethodContext.java,
3649 gnu/java/beans/decoder/StringHandler.java,
3650 gnu/java/beans/decoder/VoidHandler.java: New class
3651 implementing java.beans.XMLDecoder decoding functionality.
3652 * java/beans/XMLDecoder.java: New class.
3654 2005-02-19 Michael Koch <konqueror@gmx.de>
3656 * javax/swing/JTextField.java
3657 (notfiyAction): Added javadoc.
3659 2005-02-19 Sven de Marothy <sven@physto.se>
3661 * javax/swing/SpinnerDateModel.java: Implemented.
3663 2005-02-19 Michael Koch <konqueror@gmx.de>
3665 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3666 * Makefile.in: Regenerated.
3668 2005-02-19 Michael Koch <konqueror@gmx.de>
3670 * gnu/java/nio/SelectorImpl.java:
3671 Reworked import statements.
3672 (register): Removed unused code.
3673 * java/nio/channels/Channels.java: Reformatted.
3674 * java/nio/charset/Charset.java: Likewise.
3675 * java/rmi/server/RemoteObject.java
3676 (serialVersionUID): Made private.
3677 * java/rmi/server/UID.java
3678 (serialVersionUID): Likewise.
3680 2005-02-19 Michael Koch <konqueror@gmx.de>
3682 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3683 gnu/java/net/protocol/ftp/BlockInputStream.java,
3684 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3685 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3686 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3687 gnu/java/net/protocol/ftp/DTPInputStream.java,
3688 gnu/java/net/protocol/ftp/DTP.java,
3689 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3690 gnu/java/net/protocol/ftp/FTPConnection.java,
3691 gnu/java/net/protocol/ftp/FTPException.java,
3692 gnu/java/net/protocol/ftp/FTPResponse.java,
3693 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3694 gnu/java/net/protocol/ftp/Handler.java,
3695 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3696 gnu/java/net/protocol/ftp/StreamInputStream.java,
3697 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3698 gnu/java/net/CRLFInputStream.java,
3699 gnu/java/net/CRLFOutputStream.java,
3700 gnu/java/net/GetLocalHostAction.java,
3701 gnu/java/net/protocol/ftp/package.html: New files.
3702 * Makefile.am: Added new files.
3703 * Makefile.in: Regenerated.
3705 2005-02-18 Tom Tromey <tromey@redhat.com>
3707 * link.cc (make_vtable): Remove abstract method check.
3708 (append_partial_itable): Likewise.
3711 * verify.cc (type::equals): Fixed test.
3712 * testsuite/libjava.lang/PR20056.out: New file.
3713 * testsuite/libjava.lang/PR20056.java: New file.
3715 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3717 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3718 not the HashEntry. Reported by Jean-Marie White.
3720 2005-02-18 Tom Tromey <tromey@redhat.com>
3723 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3724 * link.cc (has_field_p): New function.
3725 * verify.cc (check_field_constant): Added 'putfield' argument.
3726 (verify_instructions_0): Updated.
3727 (type::equals): New method.
3729 2005-02-18 Anthony Green <green@redhat.com>
3731 * NEWS: Draft of libgcj NEWS for 4.0.
3733 2005-02-18 Anthony Green <green@redhat.com>
3735 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3736 architecture names to "i386" for compatibility reasons. Win32
3739 2005-02-18 Anthony Green <green@redhat.com>
3741 * gij.cc (version): Change year for '--version' to 2005.
3742 * gnu/gcj/convert/Convert.java: Ditto.
3743 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3744 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3746 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3747 recent copyright year in `--version' output.
3749 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3751 * java/nio/charset/Charset.java (forName): Throws
3752 IllegalArgumentException when argument is null
3753 and added documentation.
3755 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3757 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3758 Move the position of the source buffer forward.
3760 2005-02-17 Tom Tromey <tromey@redhat.com>
3762 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3763 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3764 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3765 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3766 Changed type of second argument. Rewrote.
3767 (make_vtable): Use it.
3768 (append_partial_itable): Updated.
3769 (layout_vtable_methods): Updated.
3771 2005-02-17 Michael Koch <konqueror@gmx.de>
3773 * gnu/java/net/PlainSocketImpl.java
3774 (shutdownInput): Added javadoc.
3775 (shutdownOutput): Likewise.
3777 2005-02-17 Michael Koch <konqueror@gmx.de>
3779 * javax/print/attribute/standard/Chromaticity.java,
3780 javax/print/attribute/standard/Destination.java,
3781 javax/print/attribute/standard/MediaPrintableArea.java,
3782 javax/print/attribute/standard/MediaSize.java: New files.
3783 * Makefile.am: Added new files.
3784 * Makefile.in: Regenerated.
3786 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3787 Michael Koch <konqueror@gmx.de>
3789 * gnu/java/net/protocol/http/Cookie.java,
3790 gnu/java/net/protocol/http/HTTPConnection.java,
3791 gnu/java/net/protocol/http/HTTPDateFormat.java,
3792 gnu/java/net/protocol/http/Request.java,
3793 gnu/java/nio/PipeImpl.java,
3794 gnu/java/rmi/dgc/DGCImpl.java,
3795 gnu/java/rmi/server/ConnectionRunnerPool.java,
3796 gnu/java/rmi/server/UnicastConnectionManager.java,
3797 gnu/java/security/der/DERWriter.java,
3798 gnu/java/security/pkcs/SignerInfo.java,
3799 gnu/java/security/provider/EncodedKeyFactory.java,
3800 gnu/java/security/provider/GnuDHPublicKey.java,
3801 gnu/java/security/provider/GnuDSAPrivateKey.java,
3802 gnu/java/security/provider/GnuDSAPublicKey.java,
3803 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3804 gnu/java/security/x509/X500DistinguishedName.java,
3805 gnu/java/security/x509/X509CRL.java,
3806 gnu/java/security/x509/X509CRLEntry.java,
3807 gnu/java/security/x509/X509Certificate.java,
3808 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3809 gnu/java/security/x509/ext/CertificatePolicies.java,
3810 gnu/java/security/x509/ext/PolicyConstraint.java,
3811 gnu/xml/dom/Consumer.java,
3812 gnu/xml/dom/DomCharacterData.java,
3813 gnu/xml/dom/DomDocument.java,
3814 gnu/xml/dom/DomDocumentBuilder.java,
3815 gnu/xml/dom/DomIterator.java,
3816 gnu/xml/dom/DomNode.java,
3817 gnu/xml/dom/DomXPathExpression.java,
3818 gnu/xml/dom/DomXPathResult.java,
3819 gnu/xml/dom/JAXPFactory.java,
3820 gnu/xml/pipeline/CallFilter.java,
3821 gnu/xml/pipeline/DomConsumer.java,
3822 gnu/xml/pipeline/LinkFilter.java,
3823 gnu/xml/pipeline/NSFilter.java,
3824 gnu/xml/pipeline/TeeConsumer.java,
3825 gnu/xml/pipeline/ValidationConsumer.java,
3826 gnu/xml/pipeline/WellFormednessFilter.java,
3827 gnu/xml/pipeline/XIncludeFilter.java,
3828 gnu/xml/pipeline/XsltFilter.java,
3829 gnu/xml/transform/ApplyImportsNode.java,
3830 gnu/xml/transform/Bindings.java,
3831 gnu/xml/transform/DocumentFunction.java,
3832 gnu/xml/transform/FormatNumberFunction.java,
3833 gnu/xml/transform/NodeNumberNode.java,
3834 gnu/xml/transform/NumberNode.java,
3835 gnu/xml/transform/Stylesheet.java,
3836 gnu/xml/transform/SystemPropertyFunction.java,
3837 gnu/xml/transform/Template.java,
3838 gnu/xml/transform/TemplatesImpl.java,
3839 gnu/xml/transform/TransformerImpl.java,
3840 gnu/xml/transform/ValueOfNode.java,
3841 gnu/xml/transform/XSLURIResolver.java,
3842 gnu/xml/util/DoParse.java,
3843 gnu/xml/util/Resolver.java,
3844 gnu/xml/xpath/Expr.java,
3845 gnu/xml/xpath/FunctionCall.java,
3846 gnu/xml/xpath/RelationalExpr.java,
3847 gnu/xml/xpath/Selector.java,
3848 gnu/xml/xpath/XPathParser.java:
3849 Reworked import statements, fixed modifier order and some little
3852 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3854 * java/nio/ByteBufferImpl.java (compact):
3855 Set position and limit even if no bytes were moved.
3857 2005-02-17 Michael Koch <konqueror@gmx.de>
3859 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3860 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3861 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3862 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3863 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3864 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3865 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3866 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3867 * java/nio/FloatBufferImpl.java (compact): Set position.
3868 * java/nio/CharBufferImpl.java (compact): Likewise.
3869 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3870 * java/nio/IntBufferImpl.java (compact): Likewise.
3871 * java/nio/LongBufferImpl.java (compact): Likewise.
3872 * java/nio/ShortBufferImpl.java (compact): Likewise.
3874 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3876 * java/nio/ByteBufferImpl.java,
3877 java/nio/CharBufferImpl.java,
3878 java/nio/DirectByteBufferImpl.java,
3879 java/nio/DoubleBufferImpl.java,
3880 java/nio/FloatBufferImpl.java,
3881 java/nio/IntBufferImpl.java,
3882 java/nio/LongBufferImpl.java,
3883 java/nio/MappedByteBufferImpl.java,
3884 java/nio/ShortBufferImpl.java
3885 (compact): Added explicit read-only check and invalidate mark.
3887 2005-02-17 Michael Koch <konqueror@gmx.de>
3889 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3890 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3891 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3892 gnu/java/awt/peer/gtk/GdkGraphics.java,
3893 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3894 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3895 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3896 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3897 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3898 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3899 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3900 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3901 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3902 gnu/java/awt/peer/gtk/GtkClipboard.java,
3903 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3904 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3905 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3906 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3907 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3908 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3909 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3910 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3911 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3912 gnu/java/awt/peer/gtk/GtkToolkit.java,
3913 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3914 java/applet/Applet.java,
3915 java/awt/AWTError.java,
3916 java/awt/AWTEvent.java,
3917 java/awt/AWTEventMulticaster.java,
3918 java/awt/AWTException.java,
3919 java/awt/AWTKeyStroke.java,
3920 java/awt/AWTPermission.java,
3921 java/awt/ActiveEvent.java,
3922 java/awt/Adjustable.java,
3923 java/awt/AlphaComposite.java,
3924 java/awt/AttributeValue.java,
3925 java/awt/BorderLayout.java,
3926 java/awt/BufferCapabilities.java,
3927 java/awt/Button.java,
3928 java/awt/Canvas.java,
3929 java/awt/CheckboxGroup.java,
3930 java/awt/CheckboxMenuItem.java,
3931 java/awt/Color.java,
3932 java/awt/ColorPaintContext.java,
3933 java/awt/Component.java,
3934 java/awt/ComponentOrientation.java,
3935 java/awt/Composite.java,
3936 java/awt/CompositeContext.java,
3937 java/awt/Container.java,
3938 java/awt/ContainerOrderFocusTraversalPolicy.java,
3939 java/awt/DefaultFocusTraversalPolicy.java,
3940 java/awt/Dialog.java,
3941 java/awt/Dimension.java,
3942 java/awt/DisplayMode.java,
3943 java/awt/EventQueue.java,
3944 java/awt/FileDialog.java,
3945 java/awt/FontFormatException.java,
3946 java/awt/Graphics.java,
3947 java/awt/Graphics2D.java,
3948 java/awt/GraphicsConfigTemplate.java,
3949 java/awt/GraphicsConfiguration.java,
3950 java/awt/GraphicsDevice.java,
3951 java/awt/GridBagLayout.java,
3952 java/awt/GridBagLayoutInfo.java,
3953 java/awt/GridLayout.java,
3954 java/awt/HeadlessException.java,
3955 java/awt/IllegalComponentStateException.java,
3956 java/awt/Image.java,
3957 java/awt/Insets.java,
3958 java/awt/ItemSelectable.java,
3959 java/awt/JobAttributes.java,
3960 java/awt/KeyEventDispatcher.java,
3961 java/awt/KeyEventPostProcessor.java,
3962 java/awt/KeyboardFocusManager.java,
3963 java/awt/Label.java,
3964 java/awt/LayoutManager.java,
3965 java/awt/MenuBar.java,
3966 java/awt/MenuComponent.java,
3967 java/awt/MenuContainer.java,
3968 java/awt/PageAttributes.java,
3969 java/awt/Paint.java,
3970 java/awt/PaintContext.java,
3971 java/awt/Panel.java,
3972 java/awt/Point.java,
3973 java/awt/Polygon.java,
3974 java/awt/PrintGraphics.java,
3975 java/awt/PrintJob.java,
3976 java/awt/Rectangle.java,
3977 java/awt/RenderingHints.java,
3978 java/awt/Shape.java,
3979 java/awt/Stroke.java,
3980 java/awt/SystemColor.java,
3981 java/awt/Toolkit.java,
3982 java/awt/Transparency.java,
3983 java/awt/Window.java,
3984 java/awt/color/CMMException.java,
3985 java/awt/color/ColorSpace.java,
3986 java/awt/color/ICC_ColorSpace.java,
3987 java/awt/color/ICC_Profile.java,
3988 java/awt/color/ProfileDataException.java,
3989 java/awt/datatransfer/FlavorTable.java,
3990 java/awt/datatransfer/MimeTypeParseException.java,
3991 java/awt/datatransfer/Transferable.java,
3992 java/awt/datatransfer/UnsupportedFlavorException.java,
3993 java/awt/dnd/Autoscroll.java,
3994 java/awt/dnd/DnDConstants.java,
3995 java/awt/dnd/DragGestureListener.java,
3996 java/awt/dnd/DragSourceAdapter.java,
3997 java/awt/dnd/DragSourceDropEvent.java,
3998 java/awt/dnd/DragSourceListener.java,
3999 java/awt/dnd/DragSourceMotionListener.java,
4000 java/awt/dnd/DropTargetAdapter.java,
4001 java/awt/dnd/DropTargetContext.java,
4002 java/awt/dnd/DropTargetListener.java,
4003 java/awt/dnd/InvalidDnDOperationException.java,
4004 java/awt/dnd/MouseDragGestureRecognizer.java,
4005 java/awt/dnd/peer/DropTargetContextPeer.java,
4006 java/awt/event/AWTEventListener.java,
4007 java/awt/event/AWTEventListenerProxy.java,
4008 java/awt/event/ActionEvent.java,
4009 java/awt/event/AdjustmentEvent.java,
4010 java/awt/event/AdjustmentListener.java,
4011 java/awt/event/ComponentAdapter.java,
4012 java/awt/event/ComponentEvent.java,
4013 java/awt/event/ComponentListener.java,
4014 java/awt/event/ContainerAdapter.java,
4015 java/awt/event/ContainerEvent.java,
4016 java/awt/event/ContainerListener.java,
4017 java/awt/event/FocusAdapter.java,
4018 java/awt/event/FocusEvent.java,
4019 java/awt/event/FocusListener.java,
4020 java/awt/event/InputEvent.java,
4021 java/awt/event/InputMethodEvent.java,
4022 java/awt/event/InputMethodListener.java,
4023 java/awt/event/InvocationEvent.java,
4024 java/awt/event/ItemEvent.java,
4025 java/awt/event/ItemListener.java,
4026 java/awt/event/KeyAdapter.java,
4027 java/awt/event/KeyEvent.java,
4028 java/awt/event/KeyListener.java,
4029 java/awt/event/MouseAdapter.java,
4030 java/awt/event/MouseEvent.java,
4031 java/awt/event/MouseListener.java,
4032 java/awt/event/MouseMotionAdapter.java,
4033 java/awt/event/MouseMotionListener.java,
4034 java/awt/event/MouseWheelEvent.java,
4035 java/awt/event/MouseWheelListener.java,
4036 java/awt/event/PaintEvent.java,
4037 java/awt/event/TextEvent.java,
4038 java/awt/event/TextListener.java,
4039 java/awt/event/WindowAdapter.java,
4040 java/awt/event/WindowEvent.java,
4041 java/awt/event/WindowFocusListener.java,
4042 java/awt/event/WindowListener.java,
4043 java/awt/event/WindowStateListener.java,
4044 java/awt/font/TextHitInfo.java,
4045 java/awt/geom/CubicCurve2D.java,
4046 java/awt/geom/Dimension2D.java,
4047 java/awt/geom/Ellipse2D.java,
4048 java/awt/geom/IllegalPathStateException.java,
4049 java/awt/geom/Line2D.java,
4050 java/awt/geom/NoninvertibleTransformException.java,
4051 java/awt/geom/PathIterator.java,
4052 java/awt/geom/Point2D.java,
4053 java/awt/geom/QuadCurve2D.java,
4054 java/awt/geom/RectangularShape.java,
4055 java/awt/geom/RoundRectangle2D.java,
4056 java/awt/im/InputContext.java,
4057 java/awt/im/InputMethodHighlight.java,
4058 java/awt/im/InputMethodRequests.java,
4059 java/awt/im/InputSubset.java,
4060 java/awt/im/spi/InputMethod.java,
4061 java/awt/im/spi/InputMethodDescriptor.java,
4062 java/awt/image/BandCombineOp.java,
4063 java/awt/image/BandedSampleModel.java,
4064 java/awt/image/ByteLookupTable.java,
4065 java/awt/image/ComponentSampleModel.java,
4066 java/awt/image/DataBuffer.java,
4067 java/awt/image/DataBufferByte.java,
4068 java/awt/image/DataBufferDouble.java,
4069 java/awt/image/DataBufferFloat.java,
4070 java/awt/image/DataBufferInt.java,
4071 java/awt/image/DataBufferShort.java,
4072 java/awt/image/DataBufferUShort.java,
4073 java/awt/image/ImagingOpException.java,
4074 java/awt/image/Kernel.java,
4075 java/awt/image/LookupTable.java,
4076 java/awt/image/MultiPixelPackedSampleModel.java,
4077 java/awt/image/PackedColorModel.java,
4078 java/awt/image/PixelInterleavedSampleModel.java,
4079 java/awt/image/RGBImageFilter.java,
4080 java/awt/image/Raster.java,
4081 java/awt/image/RasterFormatException.java,
4082 java/awt/image/SampleModel.java,
4083 java/awt/image/ShortLookupTable.java,
4084 java/awt/image/SinglePixelPackedSampleModel.java,
4085 java/awt/image/WritableRaster.java,
4086 java/awt/print/PrinterAbortException.java,
4087 java/awt/print/PrinterException.java,
4088 java/awt/print/PrinterIOException.java,
4089 java/beans/AppletInitializer.java,
4090 java/beans/ExceptionListener.java,
4091 java/beans/PropertyChangeEvent.java,
4092 java/beans/PropertyChangeListenerProxy.java,
4093 java/beans/PropertyChangeSupport.java,
4094 java/beans/PropertyDescriptor.java,
4095 java/beans/VetoableChangeListenerProxy.java,
4096 java/beans/VetoableChangeSupport.java,
4097 java/io/BufferedReader.java,
4098 java/io/ByteArrayInputStream.java,
4099 java/io/ByteArrayOutputStream.java,
4100 java/io/CharArrayReader.java,
4101 java/io/CharArrayWriter.java,
4102 java/io/CharConversionException.java,
4103 java/io/DataInput.java,
4104 java/io/DataInputStream.java,
4105 java/io/DataOutput.java,
4106 java/io/DataOutputStream.java,
4107 java/io/EOFException.java,
4108 java/io/FileInputStream.java,
4109 java/io/FileNotFoundException.java,
4110 java/io/FileOutputStream.java,
4111 java/io/FilenameFilter.java,
4112 java/io/FilterInputStream.java,
4113 java/io/FilterOutputStream.java,
4114 java/io/FilterReader.java,
4115 java/io/FilterWriter.java,
4116 java/io/IOException.java,
4117 java/io/InputStream.java,
4118 java/io/InterruptedIOException.java,
4119 java/io/LineNumberInputStream.java,
4120 java/io/LineNumberReader.java,
4121 java/io/ObjectInputStream.java,
4122 java/io/ObjectStreamException.java,
4123 java/io/OptionalDataException.java,
4124 java/io/OutputStream.java,
4125 java/io/OutputStreamWriter.java,
4126 java/io/PrintStream.java,
4127 java/io/PrintWriter.java,
4128 java/io/PushbackInputStream.java,
4129 java/io/PushbackReader.java,
4130 java/io/RandomAccessFile.java,
4131 java/io/Reader.java,
4132 java/io/SequenceInputStream.java,
4133 java/io/Serializable.java,
4134 java/io/StreamCorruptedException.java,
4135 java/io/StreamTokenizer.java,
4136 java/io/StringBufferInputStream.java,
4137 java/io/StringWriter.java,
4138 java/io/SyncFailedException.java,
4139 java/io/UTFDataFormatException.java,
4140 java/io/UnsupportedEncodingException.java,
4141 java/io/WriteAbortedException.java,
4142 java/io/Writer.java,
4143 java/lang/AbstractMethodError.java,
4144 java/lang/ArithmeticException.java,
4145 java/lang/ArrayIndexOutOfBoundsException.java,
4146 java/lang/ArrayStoreException.java,
4147 java/lang/AssertionError.java,
4148 java/lang/Boolean.java,
4149 java/lang/Byte.java,
4150 java/lang/Class.java,
4151 java/lang/ClassCastException.java,
4152 java/lang/ClassCircularityError.java,
4153 java/lang/ClassLoader.java,
4154 java/lang/ClassNotFoundException.java,
4155 java/lang/CloneNotSupportedException.java,
4156 java/lang/Cloneable.java,
4157 java/lang/Comparable.java,
4158 java/lang/Compiler.java,
4159 java/lang/Double.java,
4160 java/lang/Error.java,
4161 java/lang/Exception.java,
4162 java/lang/ExceptionInInitializerError.java,
4163 java/lang/Float.java,
4164 java/lang/IllegalAccessError.java,
4165 java/lang/IllegalAccessException.java,
4166 java/lang/IllegalArgumentException.java,
4167 java/lang/IllegalMonitorStateException.java,
4168 java/lang/IllegalStateException.java,
4169 java/lang/IllegalThreadStateException.java,
4170 java/lang/IncompatibleClassChangeError.java,
4171 java/lang/IndexOutOfBoundsException.java,
4172 java/lang/InheritableThreadLocal.java,
4173 java/lang/InstantiationError.java,
4174 java/lang/InstantiationException.java,
4175 java/lang/Integer.java,
4176 java/lang/InternalError.java,
4177 java/lang/InterruptedException.java,
4178 java/lang/LinkageError.java,
4179 java/lang/Long.java,
4180 java/lang/NegativeArraySizeException.java,
4181 java/lang/NoClassDefFoundError.java,
4182 java/lang/NoSuchFieldError.java,
4183 java/lang/NoSuchFieldException.java,
4184 java/lang/NoSuchMethodError.java,
4185 java/lang/NoSuchMethodException.java,
4186 java/lang/NullPointerException.java,
4187 java/lang/Number.java,
4188 java/lang/NumberFormatException.java,
4189 java/lang/OutOfMemoryError.java,
4190 java/lang/Process.java,
4191 java/lang/Runnable.java,
4192 java/lang/Runtime.java,
4193 java/lang/RuntimeException.java,
4194 java/lang/RuntimePermission.java,
4195 java/lang/SecurityException.java,
4196 java/lang/SecurityManager.java,
4197 java/lang/Short.java,
4198 java/lang/StackOverflowError.java,
4199 java/lang/StackTraceElement.java,
4200 java/lang/StringBuffer.java,
4201 java/lang/StringIndexOutOfBoundsException.java,
4202 java/lang/ThreadDeath.java,
4203 java/lang/ThreadGroup.java,
4204 java/lang/Throwable.java,
4205 java/lang/UnsatisfiedLinkError.java,
4206 java/lang/UnsupportedOperationException.java,
4207 java/lang/VerifyError.java,
4208 java/lang/VirtualMachineError.java,
4209 java/lang/reflect/AccessibleObject.java,
4210 java/lang/reflect/Array.java,
4211 java/lang/reflect/InvocationTargetException.java,
4212 java/lang/reflect/Member.java,
4213 java/lang/reflect/Modifier.java,
4214 java/lang/reflect/Proxy.java,
4215 java/lang/reflect/ReflectPermission.java,
4216 java/lang/reflect/UndeclaredThrowableException.java,
4217 java/math/BigInteger.java,
4218 java/net/NetworkInterface.java,
4219 java/nio/ByteBufferHelper.java,
4220 java/nio/ByteBufferImpl.java,
4221 java/nio/DirectByteBufferImpl.java,
4222 java/nio/DoubleBufferImpl.java,
4223 java/nio/FloatBufferImpl.java,
4224 java/nio/IntBufferImpl.java,
4225 java/nio/LongBufferImpl.java,
4226 java/nio/ShortBufferImpl.java,
4227 java/nio/channels/Channel.java,
4228 java/nio/channels/IllegalBlockingModeException.java,
4229 java/nio/charset/spi/CharsetProvider.java,
4230 java/security/AccessControlException.java,
4231 java/security/BasicPermission.java,
4232 java/security/DigestException.java,
4233 java/security/DigestInputStream.java,
4234 java/security/DigestOutputStream.java,
4235 java/security/GeneralSecurityException.java,
4236 java/security/Guard.java,
4237 java/security/GuardedObject.java,
4238 java/security/InvalidAlgorithmParameterException.java,
4239 java/security/InvalidKeyException.java,
4240 java/security/InvalidParameterException.java,
4241 java/security/Key.java,
4242 java/security/KeyException.java,
4243 java/security/KeyManagementException.java,
4244 java/security/KeyStoreException.java,
4245 java/security/MessageDigestSpi.java,
4246 java/security/NoSuchAlgorithmException.java,
4247 java/security/NoSuchProviderException.java,
4248 java/security/Permission.java,
4249 java/security/PermissionCollection.java,
4250 java/security/Permissions.java,
4251 java/security/Principal.java,
4252 java/security/PrivateKey.java,
4253 java/security/PrivilegedActionException.java,
4254 java/security/ProviderException.java,
4255 java/security/PublicKey.java,
4256 java/security/SecureRandom.java,
4257 java/security/SecureRandomSpi.java,
4258 java/security/SignatureException.java,
4259 java/security/SignatureSpi.java,
4260 java/security/SignedObject.java,
4261 java/security/Signer.java,
4262 java/security/UnrecoverableKeyException.java,
4263 java/security/UnresolvedPermission.java,
4264 java/security/acl/AclNotFoundException.java,
4265 java/security/acl/LastOwnerException.java,
4266 java/security/acl/NotOwnerException.java,
4267 java/security/cert/CertPath.java,
4268 java/security/cert/CertPathBuilderException.java,
4269 java/security/cert/CertPathValidatorException.java,
4270 java/security/cert/CertStoreException.java,
4271 java/text/BreakIterator.java,
4272 java/text/ChoiceFormat.java,
4273 java/text/CollationElementIterator.java,
4274 java/text/CollationKey.java,
4275 java/text/Collator.java,
4276 java/text/DateFormat.java,
4277 java/text/DateFormatSymbols.java,
4278 java/text/DecimalFormat.java,
4279 java/text/DecimalFormatSymbols.java,
4280 java/text/FieldPosition.java,
4281 java/text/Format.java,
4282 java/text/NumberFormat.java,
4283 java/text/ParseException.java,
4284 java/text/ParsePosition.java,
4285 java/text/StringCharacterIterator.java,
4286 java/util/AbstractCollection.java,
4287 java/util/AbstractList.java,
4288 java/util/AbstractMap.java,
4289 java/util/AbstractSequentialList.java,
4290 java/util/AbstractSet.java,
4291 java/util/ArrayList.java,
4292 java/util/Arrays.java,
4293 java/util/BitSet.java,
4294 java/util/Collection.java,
4295 java/util/Collections.java,
4296 java/util/Comparator.java,
4297 java/util/ConcurrentModificationException.java,
4298 java/util/Currency.java,
4299 java/util/Date.java,
4300 java/util/EmptyStackException.java,
4301 java/util/Enumeration.java,
4302 java/util/EventListener.java,
4303 java/util/EventListenerProxy.java,
4304 java/util/EventObject.java,
4305 java/util/HashMap.java,
4306 java/util/HashSet.java,
4307 java/util/Hashtable.java,
4308 java/util/IdentityHashMap.java,
4309 java/util/Iterator.java,
4310 java/util/LinkedHashSet.java,
4311 java/util/LinkedList.java,
4312 java/util/List.java,
4313 java/util/ListIterator.java,
4314 java/util/ListResourceBundle.java,
4316 java/util/MissingResourceException.java,
4317 java/util/NoSuchElementException.java,
4318 java/util/Observable.java,
4319 java/util/Observer.java,
4320 java/util/Properties.java,
4321 java/util/PropertyPermissionCollection.java,
4322 java/util/RandomAccess.java,
4324 java/util/SortedMap.java,
4325 java/util/SortedSet.java,
4326 java/util/Stack.java,
4327 java/util/StringTokenizer.java,
4328 java/util/TooManyListenersException.java,
4329 java/util/TreeMap.java,
4330 java/util/TreeSet.java,
4331 java/util/Vector.java,
4332 java/util/logging/FileHandler.java,
4333 java/util/logging/Level.java,
4334 java/util/prefs/BackingStoreException.java,
4335 java/util/prefs/InvalidPreferencesFormatException.java,
4336 java/util/prefs/Preferences.java,
4337 javax/accessibility/Accessible.java,
4338 javax/accessibility/AccessibleAction.java,
4339 javax/accessibility/AccessibleBundle.java,
4340 javax/accessibility/AccessibleComponent.java,
4341 javax/accessibility/AccessibleContext.java,
4342 javax/accessibility/AccessibleEditableText.java,
4343 javax/accessibility/AccessibleExtendedComponent.java,
4344 javax/accessibility/AccessibleExtendedTable.java,
4345 javax/accessibility/AccessibleHyperlink.java,
4346 javax/accessibility/AccessibleHypertext.java,
4347 javax/accessibility/AccessibleIcon.java,
4348 javax/accessibility/AccessibleKeyBinding.java,
4349 javax/accessibility/AccessibleRelation.java,
4350 javax/accessibility/AccessibleRelationSet.java,
4351 javax/accessibility/AccessibleResourceBundle.java,
4352 javax/accessibility/AccessibleRole.java,
4353 javax/accessibility/AccessibleSelection.java,
4354 javax/accessibility/AccessibleState.java,
4355 javax/accessibility/AccessibleStateSet.java,
4356 javax/accessibility/AccessibleTable.java,
4357 javax/accessibility/AccessibleTableModelChange.java,
4358 javax/accessibility/AccessibleText.java,
4359 javax/accessibility/AccessibleValue.java,
4360 javax/imageio/IIOException.java,
4361 javax/imageio/ImageIO.java,
4362 javax/imageio/spi/IIOServiceProvider.java,
4363 javax/imageio/spi/ImageInputStreamSpi.java,
4364 javax/imageio/spi/ImageOutputStreamSpi.java,
4365 javax/imageio/spi/ImageReaderWriterSpi.java,
4366 javax/imageio/spi/ImageTranscoderSpi.java,
4367 javax/imageio/spi/RegisterableService.java,
4368 javax/imageio/spi/ServiceRegistry.java,
4369 javax/imageio/stream/IIOByteBuffer.java,
4370 javax/imageio/stream/ImageInputStream.java,
4371 javax/imageio/stream/ImageOutputStream.java,
4372 javax/naming/Binding.java,
4373 javax/naming/CannotProceedException.java,
4374 javax/naming/CompositeName.java,
4375 javax/naming/CompoundName.java,
4376 javax/naming/LinkException.java,
4377 javax/naming/LinkRef.java,
4378 javax/naming/NameClassPair.java,
4379 javax/naming/Reference.java,
4380 javax/naming/ReferralException.java,
4381 javax/naming/directory/Attribute.java,
4382 javax/naming/directory/AttributeModificationException.java,
4383 javax/naming/directory/Attributes.java,
4384 javax/naming/directory/DirContext.java,
4385 javax/naming/directory/ModificationItem.java,
4386 javax/naming/directory/SearchControls.java,
4387 javax/naming/directory/SearchResult.java,
4388 javax/naming/event/EventContext.java,
4389 javax/naming/event/EventDirContext.java,
4390 javax/naming/event/NamespaceChangeListener.java,
4391 javax/naming/event/NamingExceptionEvent.java,
4392 javax/naming/event/NamingListener.java,
4393 javax/naming/event/ObjectChangeListener.java,
4394 javax/naming/ldap/Control.java,
4395 javax/naming/ldap/ExtendedResponse.java,
4396 javax/naming/ldap/HasControls.java,
4397 javax/naming/ldap/LdapContext.java,
4398 javax/naming/ldap/UnsolicitedNotification.java,
4399 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4400 javax/naming/ldap/UnsolicitedNotificationListener.java,
4401 javax/naming/spi/DirectoryManager.java,
4402 javax/naming/spi/ResolveResult.java,
4403 javax/naming/spi/Resolver.java,
4404 javax/security/auth/callback/Callback.java,
4405 javax/security/auth/callback/CallbackHandler.java,
4406 javax/security/auth/callback/ChoiceCallback.java,
4407 javax/security/auth/callback/ConfirmationCallback.java,
4408 javax/security/auth/callback/LanguageCallback.java,
4409 javax/security/auth/callback/NameCallback.java,
4410 javax/security/auth/callback/PasswordCallback.java,
4411 javax/security/auth/callback/TextInputCallback.java,
4412 javax/security/auth/callback/TextOutputCallback.java,
4413 javax/security/auth/callback/UnsupportedCallbackException.java,
4414 javax/security/sasl/Sasl.java,
4415 javax/security/sasl/SaslServerFactory.java,
4416 javax/swing/DefaultBoundedRangeModel.java,
4417 javax/swing/JComponent.java,
4418 javax/swing/JList.java,
4419 javax/swing/JProgressBar.java,
4420 javax/swing/JRadioButton.java,
4421 javax/swing/JTextArea.java,
4422 javax/swing/JTextField.java,
4423 javax/swing/JToggleButton.java,
4424 javax/swing/JTree.java,
4425 javax/swing/SpinnerListModel.java,
4426 javax/swing/event/EventListenerList.java,
4427 javax/swing/text/JTextComponent.java,
4428 javax/swing/text/StringContent.java,
4429 javax/swing/text/Utilities.java,
4430 javax/swing/undo/UndoManager.java,
4431 javax/swing/undo/UndoableEditSupport.java,
4432 javax/transaction/HeuristicCommitException.java,
4433 javax/transaction/HeuristicMixedException.java,
4434 javax/transaction/HeuristicRollbackException.java,
4435 javax/transaction/InvalidTransactionException.java,
4436 javax/transaction/NotSupportedException.java,
4437 javax/transaction/RollbackException.java,
4438 javax/transaction/Status.java,
4439 javax/transaction/Synchronization.java,
4440 javax/transaction/SystemException.java,
4441 javax/transaction/Transaction.java,
4442 javax/transaction/TransactionManager.java,
4443 javax/transaction/TransactionRequiredException.java,
4444 javax/transaction/TransactionRolledbackException.java,
4445 javax/transaction/UserTransaction.java,
4446 javax/transaction/xa/XAException.java,
4447 javax/transaction/xa/XAResource.java,
4448 javax/transaction/xa/Xid.java,
4449 javax/xml/XMLConstants.java,
4450 javax/xml/datatype/DatatypeConfigurationException.java,
4451 javax/xml/datatype/DatatypeConstants.java,
4452 javax/xml/datatype/DatatypeFactory.java,
4453 javax/xml/datatype/Duration.java,
4454 javax/xml/datatype/XMLGregorianCalendar.java,
4455 javax/xml/namespace/NamespaceContext.java,
4456 javax/xml/namespace/QName.java,
4457 javax/xml/parsers/DocumentBuilder.java,
4458 javax/xml/parsers/DocumentBuilderFactory.java,
4459 javax/xml/parsers/FactoryConfigurationError.java,
4460 javax/xml/parsers/ParserConfigurationException.java,
4461 javax/xml/parsers/SAXParser.java,
4462 javax/xml/parsers/SAXParserFactory.java,
4463 javax/xml/transform/ErrorListener.java,
4464 javax/xml/transform/OutputKeys.java,
4465 javax/xml/transform/Result.java,
4466 javax/xml/transform/Source.java,
4467 javax/xml/transform/SourceLocator.java,
4468 javax/xml/transform/Templates.java,
4469 javax/xml/transform/Transformer.java,
4470 javax/xml/transform/TransformerConfigurationException.java,
4471 javax/xml/transform/TransformerException.java,
4472 javax/xml/transform/TransformerFactory.java,
4473 javax/xml/transform/TransformerFactoryConfigurationError.java,
4474 javax/xml/transform/URIResolver.java,
4475 javax/xml/transform/dom/DOMLocator.java,
4476 javax/xml/transform/dom/DOMResult.java,
4477 javax/xml/transform/dom/DOMSource.java,
4478 javax/xml/transform/sax/SAXResult.java,
4479 javax/xml/transform/sax/SAXSource.java,
4480 javax/xml/transform/sax/SAXTransformerFactory.java,
4481 javax/xml/transform/sax/TemplatesHandler.java,
4482 javax/xml/transform/sax/TransformerHandler.java,
4483 javax/xml/transform/stream/StreamResult.java,
4484 javax/xml/transform/stream/StreamSource.java,
4485 javax/xml/validation/Schema.java,
4486 javax/xml/validation/SchemaFactory.java,
4487 javax/xml/validation/TypeInfoProvider.java,
4488 javax/xml/validation/Validator.java,
4489 javax/xml/validation/ValidatorHandler.java,
4490 javax/xml/xpath/XPathConstants.java,
4491 javax/xml/xpath/XPathException.java,
4492 javax/xml/xpath/XPathExpression.java,
4493 javax/xml/xpath/XPathExpressionException.java,
4494 javax/xml/xpath/XPathFactory.java,
4495 javax/xml/xpath/XPathFactoryConfigurationException.java,
4496 javax/xml/xpath/XPathFunction.java,
4497 javax/xml/xpath/XPathFunctionException.java,
4498 javax/xml/xpath/XPathFunctionResolver.java:
4499 Fixed usage of @author tag, reworked import statements,
4500 removed CVS tags, changed the modifier order and fixed
4501 HTML usage in javadocs.
4503 2005-02-16 Julian Scheid <julian@sektor37.de>
4505 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4507 (encodeLoop): Likewise.
4509 2005-02-16 Mark Wielaard <mark@klomp.org>
4511 * Makefile.am (ordinary_java_source_files): Add new files
4512 gnu/java/security/ber/BER.java,
4513 gnu/java/security/ber/BEREncodingException.java,
4514 gnu/java/security/ber/BERReader.java,
4515 gnu/java/security/ber/BERValue.java,
4516 gnu/java/security/pkcs/PKCS7SignedData.java and
4517 gnu/java/security/pkcs/SignerInfo.java.
4518 * Makefile.in: Regenerated.
4520 2005-02-16 Casey Marshall <csm@gnu.org>
4522 * gnu/java/security/provider/GnuDSAPrivateKey.java
4523 (encodedKey): new field.
4524 (getFormat): return "PKCS#8".
4525 (getEncoded): implemented.
4526 (toString): check for 'null' values.
4527 * gnu/java/security/provider/GnuDSAPublicKey.java
4528 (encodedKey): new field.
4529 (getFormat): return "X.509".
4530 (getEncoded): implemented.
4531 (toString): check for 'null' values.
4533 2005-02-16 Michael Koch <konqueror@gmx.de>
4535 * java/util/jar/JarFile.java: Imports reworked.
4537 2005-02-16 Mark Wielaard <mark@klomp.org>
4539 * java/util/jar/JarFile.java (verify): Make package private.
4540 (signaturesRead): Likewise.
4541 (verified): Likewise.
4542 (entryCerts): Likewise.
4545 (entries): Construct new JarEnumeration with reference to this.
4546 (JarEnumeration): Make static.
4547 (JarEnumeration.jarfile): New field.
4548 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4549 Compare verified value to Boolean.TRUE or Boolean.False only
4550 when verify is true.
4551 (getEntry): Make synchronized. Compare value of verified to
4553 (getInputStream): Construct EntryInputStream with reference to this.
4554 (getManifest): Make synchronized.
4555 (EntryInputStream): Make static.
4556 (EntryInputStream.jarfile): New field.
4557 (EntryInputStream.EntryInputStream): Check if manifest exists,
4558 before getting attributes.
4559 (eof): Synchronize on jarfile.
4561 2005-02-16 Casey Marshall <csm@gnu.org>
4563 * java/util/jar/JarFile.java (verify): return if the jar is signed
4564 with an unsupported algorithm.
4566 2005-02-16 Mark Wielaard <mark@klomp.org>
4568 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4569 InputStream as argument.
4570 (getInputStream): Construct a new EntryInputStream with the result of
4571 super.getInputStream(entry).
4573 2005-02-16 Casey Marshall <csm@gnu.org>
4575 Signed JAR file support.
4576 * java/net/URLClassLoader.java
4577 (JarURLResource.getCertificates): re-read jar entry to ensure
4578 certificates are picked up.
4579 (findClass): fill in class `signers' field, too.
4580 * java/util/jar/JarFile.java (META_INF): new constant.
4581 (PKCS7_DSA_SUFFIX): new constant.
4582 (PKCS7_RSA_SUFFIX): new constant.
4583 (DIGEST_KEY_SUFFIX): new constant.
4584 (SF_SUFFIX): new constant.
4585 (MD2_OID): new constant.
4586 (MD4_OID): new constant.
4587 (MD5_OID): new constant.
4588 (SHA1_OID): new constant.
4589 (DSA_ENCRYPTION_OID): new constant.
4590 (RSA_ENCRYPTION_OID): new constant.
4591 (signaturesRead): new field.
4592 (verified): new field.
4593 (entryCerts): new field.
4594 (DEBUG): new constant.
4595 (debug): new method.
4596 (JarEnumeration.nextElement): fill in entry certificates, read
4597 signatures if they haven't been read.
4598 (getEntry): likewise.
4599 (getInputStream): verify stream if it hasn't been verified yet.
4600 (readSignatures): new method.
4601 (verify): new method.
4602 (verifyHashes): new method.
4603 (readManifestEntry): new method.
4604 (EntryInputStream): new class.
4605 * gnu/java/io/Base64InputStream.java (decode): new class
4607 * gnu/java/security/der/DERReader.java don't make class
4609 (in): made protected.
4611 (readLength): likewise.
4612 * gnu/java/security/ber/BER.java,
4613 * gnu/java/security/ber/BEREncodingException.java,
4614 * gnu/java/security/ber/BERReader.java,
4615 * gnu/java/security/ber/BERValue.java,
4616 * gnu/java/security/pkcs/PKCS7SignedData.java,
4617 * gnu/java/security/pkcs/SignerInfo.java:
4620 2005-02-16 Tom Tromey <tromey@redhat.com>
4622 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4623 copied file on exit.
4625 2005-02-15 Mark Wielaard <mark@klomp.org>
4627 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4629 2005-02-15 Michael Koch <konqueror@gmx.de>
4631 * gnu/java/awt/peer/gtk/GtkArg.java,
4632 gnu/java/awt/peer/gtk/GtkArgList.java:
4635 2005-02-15 Craig Black <craig.black@aonix.com>
4637 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4638 (postMenuActionEvent): Implement to notify ItemListeners.
4639 * java/awt/CheckboxMenuItem.java
4640 (dispatchEventImpl): Update state on ItemEvent.
4641 * java/awt/MenuItem.java
4642 (processActionEvent): Retarget event source.
4644 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4646 * gnu/java/awt/color/ClutProfileConverter.java,
4647 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4648 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4649 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4650 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4651 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4652 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4653 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4654 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4655 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4656 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4657 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4658 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4659 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4660 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4661 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4662 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4663 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4664 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4665 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4666 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4667 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4668 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4669 gnu/java/awt/peer/gtk/GtkToolkit.java,
4670 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4671 javax/swing/JPopupMenu.java,
4672 javax/swing/JSpinner.java,
4673 javax/swing/SortingFocusTraversalPolicy.java,
4674 javax/swing/SwingUtilities.java,
4675 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4676 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4677 javax/swing/tree/DefaultMutableTreeNode.java:
4678 Removed unused imports and expanded starred
4681 2005-02-15 Mark Wielaard <mark@klomp.org>
4683 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4684 IllegalArgumentException when the given String is null.
4686 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4687 when given keystoke sequence cannot be parsed.
4689 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4690 if one is installed. Only install the given menubar is not null.
4692 * javax/swing/JViewport.java (getViewSize): Return an empty
4693 Dimension when the view isn't set or preferred component size when
4696 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4697 empty Dimension when there is no view set.
4698 (minimumLayoutSize): Likewise.
4699 (layoutContainer): Don't try to layout when there is no view.
4701 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4704 * include/jawt.h: Likewise.
4705 * include/jawt_md.h: Likewise.
4706 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4708 * jni/classpath/classpath_jawt.h: Likewise.
4709 * jni/gtk-peer/gtk_jawt.c: Likewise.
4710 * Makefile.am: Build libjawt.so.
4712 2005-02-15 Michael Koch <konqueror@gmx.de>
4714 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4715 Merged file header with classpath CVS head.
4716 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4717 Merged code formatting with classpath CVS head.
4718 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4720 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4721 Handle special JNI strings with 2 '\0' at the end.
4722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4723 Merged file header with classpath CVS head.
4724 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4725 Merged code formatting with classpath CVS head.
4727 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4729 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4730 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4731 (handle_response): Use GTK_RESPONSE_ACCEPT.
4733 2005-02-15 Graydon Hoare <graydon@redhat.com>
4735 * Makefile.am: Fix library build breakage.
4736 * Makefile.in: Regenerate.
4738 2005-02-15 Michael Koch <konqueror@gmx.de>
4740 * javax/swing/JTabbedPane.java
4741 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4743 2005-02-15 Michael Koch <konqueror@gmx.de>
4745 * javax/swing/tree/DefaultMutableTreeNode.java:
4746 Reworked Javadocs all over.
4747 (getPathToRoot): Fixed direction of result array initialization.
4749 2005-02-15 Michael Koch <konqueror@gmx.de>
4751 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4752 Fix includes for cairo 0.3.0 snappshot.
4753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4754 Merged file header from classpath CVS HEAD.
4756 2005-02-15 Craig Black <craig.black@aonix.com>
4758 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4759 (copyState): Pass a JNI global reference to signal handler.
4760 (realize_cb): Use and free JNI global reference.
4761 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4762 (create): Pass a JNI global reference to signal handler.
4763 (selection_changed): Match declaration.
4764 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4765 (dispose): Do not remove entries from state tables until after widget is
4768 2005-02-15 Michael Koch <konqueror@gmx.de>
4770 * java/awt/Container.javai (paramString):
4771 If layoutMgr is null just return result of super.paramString().
4772 * java/awt/Scrollbar.java: Reformatted.
4773 * java/awt/im/InputContext.java (static):
4774 Removed redundant initializations.
4776 2005-02-15 Michael Koch <konqueror@gmx.de>
4778 * javax/swing/ImageIcon.java,
4779 javax/swing/UIManager.java,
4780 javax/swing/text/EditorKit.java,
4781 javax/swing/text/Segment.java:
4782 More whitespace cleanups.
4784 2005-02-15 Michael Koch <konqueror@gmx.de>
4786 * gnu/java/awt/EmbeddedWindow.java,
4787 gnu/java/awt/image/ImageDecoder.java,
4788 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4789 java/awt/DefaultKeyboardFocusManager.java,
4790 java/awt/Frame.java,
4791 java/awt/image/RGBImageFilter.java,
4792 javax/swing/AbstractButton.java,
4793 javax/swing/ActionMap.java,
4794 javax/swing/ComponentInputMap.java,
4795 javax/swing/DefaultDesktopManager.java,
4796 javax/swing/ImageIcon.java,
4797 javax/swing/InputMap.java,
4798 javax/swing/JButton.java,
4799 javax/swing/JCheckBox.java,
4800 javax/swing/JCheckBoxMenuItem.java,
4801 javax/swing/JEditorPane.java,
4802 javax/swing/JMenu.java,
4803 javax/swing/JMenuItem.java,
4804 javax/swing/JOptionPane.java,
4805 javax/swing/JRootPane.java,
4806 javax/swing/JTable.java,
4807 javax/swing/MenuSelectionManager.java,
4808 javax/swing/RepaintManager.java,
4809 javax/swing/ScrollPaneLayout.java,
4810 javax/swing/SortingFocusTraversalPolicy.java,
4811 javax/swing/UIManager.java,
4812 javax/swing/ViewportLayout.java,
4813 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4814 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4815 javax/swing/plaf/basic/BasicLabelUI.java,
4816 javax/swing/plaf/basic/BasicListUI.java,
4817 javax/swing/plaf/basic/BasicMenuItemUI.java,
4818 javax/swing/plaf/basic/BasicMenuUI.java,
4819 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4820 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4821 javax/swing/plaf/basic/BasicRootPaneUI.java,
4822 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4823 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4824 javax/swing/plaf/basic/BasicTextUI.java,
4825 javax/swing/table/TableColumnModel.java,
4826 javax/swing/text/AbstractDocument.java,
4827 javax/swing/text/EditorKit.java,
4828 javax/swing/text/Position.java,
4829 javax/swing/text/Segment.java,
4830 javax/swing/text/StyledEditorKit.java,
4831 javax/swing/text/ViewFactory.java:
4832 Cleanup whitespace differences to classpath CVS HEAD.
4834 2005-02-15 Graydon Hoare <graydon@redhat.com>
4836 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4837 (finalize): Call finish from here.
4838 (produce): Not from here.
4839 * Makefile.am (gtk_c_source_files):
4840 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4841 * Makefile.in: Regenerate.
4842 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4844 (cairoDrawGdkTextLayout):
4846 (getPeerTextMetrics):
4847 (getPeerFontMetrics): Remove.
4848 (setFont): Don't call cairoSetFont.
4849 (cairoDrawGlyphVector): Accept font peer argument.
4850 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4852 (ensure_metrics_cairo):
4853 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4854 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4855 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4856 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4858 (metrics_surface): Remove.
4859 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4860 Pass and install font peer.
4862 2005-02-15 Graydon Hoare <graydon@redhat.com>
4864 * Makefile.am: Create "split library" structure.
4865 * Makefile.in: Regenerate.
4867 2005-02-15 Graydon Hoare <graydon@redhat.com>
4869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4870 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4871 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4872 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4873 Release GDK lock during upcalls.
4875 2005-02-15 Graydon Hoare <graydon@redhat.com>
4877 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4878 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4879 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4880 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4881 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4883 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4886 (getTextMetrics): New native methods.
4887 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4888 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4889 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4890 * Makefile.in: Regenerate.
4892 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4894 * javax/swing/SwingUtilities.java:
4895 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4896 Implemented and documented.
4897 (getAccessibleChild(java.awt.Component, int)): Likewise.
4898 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4899 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4900 (getAccessibleStateSet(java.awt.Component)): Likewise.
4902 2005-02-15 Michael Koch <konqueror@gmx.de>
4904 * javax/swing/SwingUtilities.java
4905 (getFontMetrics): Removed.
4907 2005-02-15 Michael Koch <konqueror@gmx.de>
4909 * java/awt/Container.java
4910 (paramString): Implemented.
4911 * javax/swing/AbstractButton.java
4912 (paramString): Implemented.
4913 * javax/swing/JComponent.java
4914 (paramString): Implemented.
4915 * javax/swing/JMenu.java
4916 (paramString): Implemented.
4917 * javax/swing/JMenuBar.java
4918 (paramString): Implemented.
4919 * javax/swing/JMenuItem.java
4920 (paramString): Implemented.
4921 * javax/swing/JPopupMenu.java
4922 (paramString): Implemented.
4924 2005-02-15 Michael Koch <konqueror@gmx.de>
4926 * javax/swing/JMenu.java
4927 (uiClassID): Removed.
4928 (JMenu): Set invoker on popup menu.
4929 (getUIClassID): Return id directly.
4930 (getItemCount): Simply return getMenuComponentCount().
4932 (isTopLevelMenu): Simplified.
4933 * javax/swing/JMenuItem.java
4934 (uiClassID): Removed.
4935 (getUIClassID): Return id directly.
4936 * javax/swing/JPopupMenu.java
4937 (uiClassID): Removed.
4938 (JPopupMenu): Always initialize correctly.
4939 (getSubElements): Only return components implementing MenuElement
4941 (HeavyWeightPopup.hide): Removed.
4943 2005-02-15 Michael Koch <konqueror@gmx.de>
4945 * java/awt/image/ReplicateScaleFilter.java
4946 (replicatePixels): Made private.
4947 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4948 (DefaultRGBChooserPanel): Made package private.
4949 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4950 (RecentSwatchPanel): Likewise.
4951 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4952 (MouseInputAdapter): Made abstract.
4953 * javax/swing/tree/DefaultMutableTreeNode.java
4955 (growTree): Likewise.
4957 2005-02-15 Michael Koch <konqueror@gmx.de>
4959 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4962 2005-02-15 Michael Koch <konqueror@gmx.de>
4964 * javax/swing/JComponent.java (getComponentGraphics):
4965 Removed accidently commited code.
4967 2005-02-15 Graydon Hoare <graydon@redhat.com>
4969 * java/awt/dnd/DropTarget.java
4970 (addDropTargetListener): Despite documentation, do not throw.
4971 * javax/swing/JComponent.java: Set a default DropTarget.
4973 2005-02-15 Michael Koch <konqueror@gmx.de>
4975 * javax/swing/AbstractAction.java
4976 (ENABLED_PROPERTY): Removed.
4977 (setEnabled): Replaced constant with real string.
4978 * javax/swing/AbstractButton.java
4979 (createActionPropertyChangeListener.propertyChange): Likewise.
4980 * javax/swing/JComboBox.java
4981 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4982 (EDITABLE_CHANGED_PROPERTY): Removed.
4983 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4984 (ENABLED_CHANGED_PROPERTY):Likewise.
4985 (RENDERER_CHANGED_PROPERTY):Likewise.
4986 (EDITOR_CHANGED_PROPERTY):Likewise.
4987 (MODEL_CHANGED_PROPERTY):Likewise.
4988 (uiClassID):Likewise.
4989 (getUIClassID): Replaced constant with real string.
4990 (setModel):Likewise.
4991 (setEditable):Likewise.
4992 (setMaximumRowCount):Likewise.
4993 (setRenderer):Likewise.
4994 (setEditor):Likewise.
4995 (setEnabled):Likewise.
4996 * javax/swing/JLabel.java
4997 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
4998 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
4999 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5000 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5001 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5002 (ICON_CHANGED_PROPERTY): Likewise.
5003 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5004 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5005 (TEXT_CHANGED_PROPERTY): Likewise.
5006 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5007 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5008 (setText): Replaced constant with real string.
5009 (setIcon): Likewise.
5010 (setDisabledIcon): Likewise.
5011 (setDisplayedMnemonic): Likewise.
5012 (setIconTextGap): Likewise.
5013 (setVerticalAlignment): Likewise.
5014 (setHorizontalAlignment): Likewise.
5015 (setVerticalTextPosition): Likewise.
5016 (setHorizontalTextPosition): Likewise.
5017 (setLabelFor): Replaced constant with real string.
5018 Fire property change event after property got changed.
5019 * javax/swing/JList.java
5020 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5021 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5022 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5023 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5024 (MODEL_PROPERTY_CHANGED): Likewise.
5025 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5026 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5027 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5028 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5029 (setFixedCellWidth): Reimplemented.
5030 (setFixedCellHeight): Exit if new value is identical.
5031 Replaced constant with real string.
5032 (setSelectionBackground): Likewise.
5033 (setSelectionForeground): Likewise.
5034 (setPrototypeCellValue): Likewise.
5035 (setCellRenderer): Replaced constant with real string.
5036 (setModel): Likewise.
5037 (setSelectionModel): Likewise.
5038 * javax/swing/JMenuBar.java
5039 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5040 (MODEL_CHANGED_PROPERTY): Likewise.
5041 (MARGIN_CHANGED_PROPERTY): Likewise.
5042 (setBorderPainted): Reimplemented.
5043 (setMargin): Likewise.
5044 (setSelectionModel): Replaced constant with real string.
5045 * javax/swing/JPopupMenu.java
5046 (LABEL_CHANGED_PROPERTY): Removed.
5047 (VISIBLE_CHANGED_PROPERTY): Likewise.
5048 (borderPainted): Likewise.
5049 (setLabel): Replaced constant with real string.
5050 (setVisible): Exit if new value is identical.
5051 Replaced constant with real string.
5052 * javax/swing/JProgressBar.java
5053 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5054 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5055 (STRING_CHANGED_PROPERTY): Likewise.
5056 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5057 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5058 (setOrientation): Replaced constant with real string.
5059 (setStringPainted): Likewise.
5060 (setString): Likewise.
5061 (setBorderPainted): Likewise.
5062 (setIndeterminate): Likewise.
5063 * javax/swing/JScrollBar.java
5064 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5065 (MODEL_CHANGED_PROPERTY): Likewise.
5066 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5067 (setOrientation): Replaced constant with real string.
5068 (setModel): Likewise.
5069 (setUnitIncrement): Likewise.
5070 (setBlockIncrement): Likewise.
5071 * javax/swing/JScrollPane.java
5072 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5073 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5074 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5075 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5076 (LAYOUT_CHANGED_PROPERTY): Likewise.
5077 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5078 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5079 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5080 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5081 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5082 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5083 (setComponentOrientation): Replaced constant with real string.
5084 (setColumnHeader): Likewise.
5085 (setHorizontalScrollBar): Likewise.
5086 (setHorizontalScrollBarPolicy): Likewise.
5087 (setRowHeader): Likewise.
5088 (setVerticalScrollBar): Likewise.
5089 (setVerticalScrollBarPolicy): Likewise.
5090 (setWheelScrollingEnabled): Likewise.
5091 (setViewport): Likewise.
5092 (setViewportBorder): Likewise.
5093 * javax/swing/JSlider.java
5094 (INVERTED_CHANGED_PROPERTY): Removed.
5095 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5096 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5097 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5098 (MODEL_CHANGED_PROPERTY): Likewise.
5099 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5100 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5101 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5102 (setModel): Replaced constant with real string.
5103 (setOrientation): Likewise.
5104 (setLabelTable): Likewise.
5105 (setInverted): Likewise.
5106 (setMajorTickSpacing): Likewise.
5107 (setMinorTickSpacing): Likewise.
5108 (setPaintTicks): Likewise.
5109 (setPaintLabels): Likewise.
5110 * javax/swing/JTabbedPane.java
5111 (MODEL_CHANGED_PROPERTY): Removed.
5112 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5113 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5114 (setModel): Replaced constant with real string.
5115 (setTabPlacement): Likewise.
5116 (setTabLayoutPolicy): Likewise.
5117 * javax/swing/JToolBar.java
5118 (ORIENTATION_CHANGED_PROPERTY): Removed.
5119 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5120 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5121 (MARGIN_CHANGED_PROPERTY): Likewise.
5122 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5123 (setRollover): Replaced constant with real string.
5124 (setMargin): Likewise.
5125 (setBorderPainted): Likewise.
5126 (setFloatable): Likewise.
5127 (setOrientation): Likewise.
5128 * javax/swing/plaf/basic/BasicComboBoxUI.java
5129 (PropertyChangeHandler.propertyChange): Likewise.
5130 * javax/swing/plaf/basic/BasicComboPopup.java
5131 (PropertyChangeHandler.propertyChange): Likewise.
5132 * javax/swing/plaf/basic/BasicMenuBarUI.java
5133 (PropertyChangeHandler.propertyChange): Likewise.
5134 * javax/swing/plaf/basic/BasicProgressBarUI.java
5135 (PropertyChangeHandler.propertyChange): Likewise.
5136 * javax/swing/plaf/basic/BasicScrollBarUI.java
5137 (PropertyChangeHandler.propertyChange): Likewise.
5138 * javax/swing/plaf/basic/BasicSliderUI.java
5139 (PropertyChangeHandler.propertyChange): Likewise.
5140 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5141 (PropertyChangeHandler.propertyChange): Likewise.
5142 * javax/swing/plaf/basic/BasicToolBarUI.java
5143 (PropertyChangeHandler.propertyChange): Likewise.
5145 2005-02-15 Michael Koch <konqueror@gmx.de>
5147 * javax/swing/DefaultButtonModel.java
5148 (changeState): Made private.
5149 * javax/swing/DefaultDesktopManager.java
5150 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5151 * javax/swing/JLayeredPane.java
5152 (layerToRange): Made private.
5153 (incrLayer): Likewise.
5154 (decrLayer): Likewise.
5155 * javax/swing/JTable.java
5156 (dragEnabled): Likewise.
5157 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5158 * javax/swing/KeyStroke.java
5159 (Keystroke): Made private.
5160 * javax/swing/TransferHandler.java
5161 (COMMAND_COPY): Likewise.
5162 (COMMAND_CUT): Likewise.
5163 (COMMAND_PASTE): Likewise.
5165 2005-02-15 Michael Koch <konqueror@gmx.de>
5167 * javax/swing/JTextField.java
5168 (postActionEvent): Use text in field when actionCommand is null.
5169 (getActionCommand): Removed.
5171 2005-02-15 Michael Koch <konqueror@gmx.de>
5173 * javax/swing/AbstractSet.java: Removed.
5174 * Makefile.am: Removed javax/swing/AbstractSet.java.
5175 * Makefile.in: Regenerated.
5177 2005-02-15 Michael Koch <konqueror@gmx.de>
5179 * java/awt/Window.java
5180 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5181 * java/awt/dnd/DnDConstants.java
5182 (DnDConstants): New private constructor.
5184 2005-02-15 Michael Koch <konqueror@gmx.de>
5186 * javax/swing/DefaultCellRenderer.java: Removed.
5187 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5188 * Makefile.in: Regenerated.
5190 2005-02-15 Michael Koch <konqueror@gmx.de>
5192 * javax/swing/AbstractButton.java
5193 (fireItemStateChanged): Made protected.
5194 (fireActionPerformed): Likewise.
5195 (fireStateChanged): Likewise.
5196 * javax/swing/DefaultButtonModel.java
5197 (fireItemStateChanged): Likewise.
5198 (fireActionPerformed): Likewise.
5199 (fireStateChanged): Likewise.
5200 * javax/swing/JApplet.java
5202 (frameInit): Likewise.
5203 (setRootPane): Made protected.
5204 (createRootPane): Likewise.
5205 * javax/swing/JComponent.java
5206 (getClientProperty): Likewise.
5207 (putClientProperty): Likewise.
5208 * javax/swing/JEditorPane.java
5209 (getContentType): Likewise.
5210 (setContentType): Likewise.
5211 * javax/swing/JFrame.java
5212 (setRootPane): Likewise.
5213 (createRootPane): Likewise.
5214 * javax/swing/JInternalFrame.java
5215 (getFocusCycleRootAncestor): Made final. Added @since tag.
5216 (isFocusCycleRoot): Likewise.
5217 (getWarningString): Made final.
5218 * javax/swing/JScrollBar.java
5219 (changeListener): Removed.
5220 (changeEvent): Likewise.
5221 (createChangeListener): Likewise.
5222 (fireStateChanged): Likewise.
5223 (addChangeListener): Likewise.
5224 (removeChangeListener): Likewise.
5225 (getChangeListeners): Likewise.
5226 * javax/swing/JScrollPane.java
5227 (createViewport): Made protected.
5228 * javax/swing/JViewport.java
5229 (addImpl): Likewise.
5230 (setBorder): New method.
5231 * javax/swing/JWindow.java
5232 (setRootPane): Made protected.
5233 (createRootPane): Likewise.
5234 * javax/swing/plaf/basic/BasicButtonUI.java
5235 (installListeners): Likewise.
5236 (uninstallListeners): Likewise.
5237 * javax/swing/plaf/basic/BasicProgressBarUI.java
5238 (incrementAnimationIndex): Likewise.
5239 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5240 (createLayoutManager): Likewise.
5241 * javax/swing/table/DefaultTableCellRenderer.java
5242 (firePropertyChange): Likewise.
5243 * javax/swing/table/JTableHeader.java
5244 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5246 * javax/swing/text/PlainDocument.java
5247 (reindex): Made private.
5248 * javax/swing/text/PlainView.java
5249 (drawLine): Made protected.
5250 (getTabSize): Likewise.
5251 * javax/swing/text/View.java
5253 (preferenceChanged): New method.
5254 (getBreakWeight): Likewise.
5255 (breakView): Likewise.
5256 (getViewIndex): Likewise.
5258 2005-02-15 Michael Koch <konqueror@gmx.de>
5260 * javax/swing/JScrollPane.java
5261 (ScrollBar): Made class protected.
5262 * javax/swing/JSpinner.java
5263 (JSpinner): Added @since tag.
5264 (listenerList): Removed.
5265 * javax/swing/JTable.java
5266 (setValueAt): New method.
5267 (getColumn): Likewise.
5268 * javax/swing/JWindow.java
5269 (rootPaneCheckingEnabled): Renamed from checking.
5271 2005-02-15 Michael Koch <konqueror@gmx.de>
5273 * javax/swing/plaf/basic/BasicTextUI.java
5274 (RootView.modelToView): Made it public and return a java.awt.Shape.
5275 Handle null subview.
5276 (uninstall): Set textComponent to null when its not possible used
5278 * javax/swing/text/View.java
5279 (setParent): Use better argument name.
5280 (getContainer): Get parent via getParent().
5281 (getViewFactory): Likewise.
5282 (getAttributes): Get element via getElement().
5283 (getStartOffset): Likewise.
5284 (getEndOffset): Likewise.
5285 (getResizeWeight): New method.
5286 (getMaximumSpan): Likewise.
5287 (getMinimumSpan): Likewise.
5288 (setSize): Likewise.
5289 (getGraphics): Likewise.
5291 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5293 * java/awt/Checkbox.java:
5294 (AccessibleAWTCheckbox()): Added public constructor
5296 * java/awt/Choice.java:
5297 (AccessibleAWTChoice): Added class documentation.
5298 (AccessibleAWTChoice()): Added public constructor
5300 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5301 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5302 and changed role to COMBO_BOX.
5303 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5304 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5305 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5307 2005-02-15 Graydon Hoare <graydon@redhat.com>
5308 Michael Koch <konqueror@gmx.de>
5310 * javax/swing/LayoutFocusTraversalPolicy.java,
5311 javax/swing/SortingFocusTraversalPolicy.java:
5313 * Makefile.am: Added new classes.
5314 * Makefike.in: Regenerated.
5317 2005-02-15 Michael Koch <konqueror@gmx.de>
5319 * javax/swing/DebugGraphics.java: Mostly implemented.
5321 2005-02-15 Michael Koch <konqueror@gmx.de>
5323 * javax/swing/SwingUtilities.java
5324 (findFocusOwner): New method.
5326 2005-02-15 Michael Koch <konqueror@gmx.de>
5328 * javax/swing/text/DefaultEditorKit.java
5329 (read): Added '\n' after each line.
5330 * javax/swing/text/PlainView.java
5331 (modelToView): Update metrics.
5332 (drawLine): Use offsets from element.
5333 (paint): Update metrics. Draw all lines.
5335 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5337 * java/awt/Checkbox.java:
5338 (AccessibleAWTCheckbox): Added class documentation
5339 * java/awt/Scrollbar.java:
5340 (AccessibleAWTScrollBar): typo corrected and docs added
5341 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5342 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5343 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5344 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5345 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5346 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5347 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5348 (getAccessibleContext()): name of accessible class corrected
5350 2005-02-15 Mark Wielaard <mark@klomp.org>
5352 * java/awt/BasicStroke.java (hashCode): Implement.
5355 2005-02-15 Michael Koch <konqueror@gmx.de>
5357 * java/awt/print/PrinterJob.java
5358 (pageDialog): Throws java.awt.HeadlessException.
5359 (printDialog): Likewise.
5361 2005-02-15 Mark Wielaard <mark@klomp.org>
5363 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5365 2005-02-15 Michael Koch <konqueror@gmx.de>
5367 * javax/swing/JTable.java
5368 (getValueAt): New method.
5369 * javax/swing/table/JTableHeader.java
5370 (columnAtPoint): New method.
5372 2005-02-15 Michael Koch <konqueror@gmx.de>
5374 * javax/swing/JTextField.java
5375 (actions): New field.
5376 (static): Initalize actions field.
5377 (getActions): New method.
5379 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5381 * java/awt/Checkbox.java:
5382 (AccessibleAWTCheckbox): name capitalization corrected
5383 and serialization UID added.
5384 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5386 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5387 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5388 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5389 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5390 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5391 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5392 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5393 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5394 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5395 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5396 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5398 (getAccessibleContext()): name of accessible class corrected
5400 2005-02-15 Sven de Marothy <sven@physto.se>
5402 * java/awt/geom/doc-files/Area-1.png,
5403 java/awt/geom/doc-files/Ellipse-1.png,
5404 java/awt/geom/doc-files/GeneralPath-1.png:
5407 2005-02-15 Graydon Hoare <graydon@redhat.com>
5409 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5410 Use union to avoid type-punning warning.
5412 2005-02-15 Michael Koch <konqueror@gmx.de>
5414 * javax/swing/DefaultListSelectionModel.java
5415 (clone): New method.
5417 2005-02-15 Mark Wielaard <mark@klomp.org>
5419 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5420 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5421 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5422 Correct method signature of gtkSetFilename.
5424 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5426 * javax/swing/text/StringContent.java: New file.
5428 2005-02-15 Michael Koch <konqueror@gmx.de>
5430 * Makefile.am: Added javax/swing/text/StringContent.java.
5431 * Makefile.in: Regenerated.
5433 2005-02-15 Michael Koch <konqueror@gmx.de>
5435 * gnu/java/awt/ClasspathToolkit.java:
5436 Import statements reworked.
5437 (imageCache): Made it of type java.util.HashMap.
5439 2005-02-15 Michael Koch <konqueror@gmx.de>
5441 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5442 Reworked import statements.
5444 2005-02-15 Graydon Hoare <graydon@redhat.com>
5446 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5448 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5449 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5450 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5451 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5452 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5453 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5454 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5457 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5458 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5459 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5460 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5461 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5462 Rewrite uses of extern variable to be function calls.
5463 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5464 function, from extern variable.
5465 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5466 (gdk_env): Remove variable, add new function.
5467 (java_vm): Add new variable.
5468 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5469 java_vm rather than old gdk_env variable.
5471 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5473 * javax/swing/DefaultListModel.java
5474 (add): fire correct event,
5475 (addElement): corrected interval indices in event,
5476 (clear): corrected upper bound for interval, only fire event if
5478 (setSize): fire appropriate event.
5480 2005-02-15 Graydon Hoare <graydon@redhat.com>
5482 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5483 * gnu/awt/xlib/XToolkit.java: Likewise.
5484 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5485 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5486 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5487 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5488 * java/awt/EventQueue.java (getNextEvent):
5489 Adjust event loop to switch to native mode after 100ms.
5490 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5491 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5492 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5493 Wake up event thread.
5494 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5495 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5496 Adjust event loop to switch to java mode after 100ms.
5498 2005-02-15 Graydon Hoare <graydon@redhat.com>
5500 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5501 accidentally removed in last change.
5503 2005-02-15 Michael Koch <konqueror@gmx.de>
5505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5506 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5508 2005-02-15 Graydon Hoare <graydon@redhat.com>
5510 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5511 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5512 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5513 * jni.cc: Reuse bottom frame between calls, avoid clearing
5514 frame when no local references are made.
5516 2005-02-15 Michael Koch <konqueror@gmx.de>
5518 * javax/swing/UIDefaults.java (UIDefaults):
5519 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5520 Fixed HTML entity and removed a redundant comma.
5522 2005-02-15 Michael Koch <konqueror@gmx.de>
5524 * javax/swing/text/DefaultEditorKit.java
5525 (deinstall): Removed.
5526 (install): Likewise.
5528 2005-02-15 Michael Koch <konqueror@gmx.de>
5530 * javax/swing/UIDefaults.java (put): Handle value of null.
5532 2005-02-15 Michael Koch <konqueror@gmx.de>
5534 * java/awt/Robot.java,
5535 java/awt/Scrollbar.java,
5536 java/awt/print/PrinterJob.java,
5537 javax/swing/JTable.java,
5538 javax/swing/text/AbstractDocument.java:
5539 Reworked import statements.
5541 2005-02-15 Michael Koch <konqueror@gmx.de>
5543 * javax/swing/JEditorPane.java
5544 (read): Implemented.
5546 * javax/swing/text/DefaultEditorKit.java
5547 (page): Renamed from page_url. Made private.
5548 (editorKit): Renamed from kit. Made private.
5550 (JEditorPane): All constructors reimplemented.
5551 (getContentType): Use content type from editor kit.
5552 (getEditorKit): Return editorKit.
5553 (getEditorKitForContentType):Likewise.
5554 (getPage): Return page.
5555 (setContentType): Reimplemented.
5556 (setEditorKit): Likewise.
5557 (setEditorKitForContentType): Removed wrong implementation.
5558 (setPage): Implemented.
5560 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5563 (nativeSetIconImageFromData): Re-add native implementation.
5565 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5567 * javax/swing/table/DefaultTableModel.java
5568 (DefaultTableModel()): Added Javadocs.
5569 (DefaultTableModel(int, int)): Fixed implementation.
5570 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5571 for negative rowCount.
5572 (DefaultTableModel(Object[], int)): Added Javadocs.
5573 (DefaultTableModel(Vector, Vector)): Likewise.
5574 (DefaultTableModel(Object[][], Object[])): Likewise.
5575 (getDataVector): Likewise.
5576 (setDataVector(Vector, Vector)): Likewise.
5577 (setDataVector(Object[][], Object[])): Likewise.
5578 (newDataAvailable): Likewise.
5579 (newRowsAdded): Likewise.
5580 (rowsRemoved): Likewise.
5581 (setColumnIdentifiers(Vector)): Allow for null argument.
5582 (setColumnIdentifiers(Object[])): Added Javadocs.
5583 (setNumRows): Likewise.
5584 (setRowCount): Adds new rows if necessary, and sends more specific
5586 (setColumnCount): Allow for null columnIdentifiers.
5587 (addColumn(Object)): Added Javadocs.
5588 (addColumn(Object, Vector)): Handle null columnData.
5589 (addColumn(Object, Object[])): Handle columnData with more or less
5590 entries than rows in the table.
5591 (addRow(Vector)): Fire appropriate event.
5592 (addRow(Object[])): Added Javadocs.
5593 (insertRow(int, Vector)): Fire appropriate event.
5594 (insertRow(int, Object[])): Added Javadocs.
5595 (moveRow): Reimplemented.
5596 (removeRow(int)): Fire appropriate event.
5597 (getColumnCount): Allow for null columnIdentifiers.
5598 (getColumnName): Now returns empty string when column index is too
5600 (isCellEditable): Added Javadocs.
5601 (getValueAt): Likewise.
5602 (setValueAt): Fire more specific event.
5603 (convertToVector): Added Javadocs.
5604 * javax/swing/table/TableModel.java
5607 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5609 * libgcj.spec.in (lib): Add -l-javax-imageio.
5611 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5613 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5614 references to event queue q with method call q().
5615 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5616 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5617 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5618 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5619 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5620 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5623 2005-02-15 Graydon Hoare <graydon@redhat.com>
5625 * gnu/java/awt/ClasspathToolkit.java
5626 (registerImageIOSpis): New method.
5627 * gnu/java/awt/image/ImageDecoder.java
5628 (imageDecoder): New constructor using InputStream
5629 (startProduction): Handle existing InputStream.
5630 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5631 (findSimpleIntegerArray): Make public and static.
5632 (updateBufferedImage): Set each pixel, in a loop.
5633 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5634 Implement ImageIO SPI classes.
5635 (createBufferedImage): Rewrite in terms of SPI classes.
5636 * gnu/java/awt/peer/gtk/GtkToolkit.java
5637 (registerImageIOSpis): New method.
5638 * java/lang/reflect/natMethod.cc
5639 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5640 which lets JNI call interface methods properly.
5641 * javax/imageio/ImageIO.java
5642 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5643 (WriterMIMETypeFilter.filter): Likewise.
5644 (ImageReaderIterator): Pass extension argument through to SPI.
5645 (getReadersByFilter): Likewise.
5646 (getWritersByFilter): Likewise.
5647 (getImageReadersByFormatName): Likewise.
5648 (getImageReadersByMIMEType): Likewise.
5649 (getImageReadersBySuffix): Likewise.
5650 (getImageWritersByFormatName): Likewise.
5651 (getImageWritersByMIMEType): Likewise.
5652 (getImageWritersBySuffix): Likewise.
5655 * javax/imageio/ImageReader.java
5656 (progressListeners): Initialize.
5657 (setInput): Implement.
5658 * javax/imageio/ImageWriter.java
5659 (progressListeners): Initialize.
5660 (warningListeners): Likewise.
5661 (warningLocales): Likewise.
5662 (setOutput): Test "isInstance" rather than class equality.
5663 * javax/imageio/spi/IIORegistry.java
5664 (static): Add reader and writer SPIs.
5665 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5667 (query_formats): New function.
5668 (save_to_stream): Likewise.
5669 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5671 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5673 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5675 (keyPress): Likewise.
5676 (keyRelease): Likewise.
5678 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5680 * javax/swing/JTable.java
5681 (columnAtPoint): New Method. Implemented.
5682 (rowAtPoint): Likewise.
5683 (countSelections): Fixed few small count errors.
5684 (getSelections): Likewise.
5685 (setSelectionMode): Set selection mode for column
5686 selection model in addition to row selection model.
5687 * javax/swing/plaf/basic/BasicTableUI.java:
5688 (getRowForPoint): Removed. Replaced by
5689 JTable.rowAtPoint().
5690 (getColForPoint): Removed. Replaced by
5691 JTable.columnAtPoint().
5692 (updateSelection): Updated to call JTable.columnAtPoint
5693 and JTable.rowAtPoint.
5694 * javax/swing/table/DefaultTableColumnModel.java:
5695 (getSelectedColumns): Implemented.
5696 (getSelectedColumnCount): Implemented.
5698 2005-02-15 Graydon Hoare <graydon@redhat.com>
5701 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5702 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5703 * Makefile.in: Regenerate.
5704 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5705 * gnu/awt/xlib/XFramePeer.java: Likewise.
5706 * gnu/awt/xlib/XToolkit.java: Likewise.
5707 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5708 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5709 * gnu/java/awt/ClasspathToolkit.java
5712 (iterateNativeQueue): New methods.
5713 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5714 * gnu/java/awt/peer/gtk/GtkToolkit.java
5715 (gtkInit): Absorb from defunct GtkMainThread class.
5716 (static): Run gtkInit in static startup block.
5717 (GtkToolkit): Remove construction of GtkMainThread and queue.
5718 (getSystemEventQueueImpl): Construct queue when requested.
5721 (iterateNativeQueue): New methods.
5722 * java/awt/Component.java (removeNotify): Remove race.
5723 * java/awt/EventDispatchThread.java
5724 (EventDispatchThread): Don't start on construction.
5725 (run): Remove isInterrupted check.
5726 * java/awt/EventQueue.java (shutdown): New flag.
5727 (isShutdown): New method checking J2SE shutdown condition.
5728 (setShutdown): New method.
5729 (getNextEvent): Restructure to use ClasspathToolkit.
5730 (postEvent): Activate new thread on posting, wake thread on
5731 post of possible shutdown condition event.
5732 * java/awt/Frame.java
5733 (Frame): Call noteFrame in all constructors.
5734 (fireDummyEvent): New helper method.
5735 (addNotify): Fire a dummy event to wake up queue.
5736 (removeNotify): Fire a dummy event to wake up queue.
5737 (noteFrame): New method.
5738 (weakFrames): New static field.
5739 (getFrames): Implement.
5740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5742 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5743 Move everything from GtkMainThread into this file
5744 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5745 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5746 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5747 New functions to implement single-threaded queue semantics.
5749 2005-02-15 Michael Koch <konqueror@gmx.de>
5751 * javax/swing/plaf/metal/MetalLookAndFeel.java
5752 (getControlTextFont): New method.
5753 (getMenuTextFont): Likewise.
5754 (getSubTextFont): Likewise.
5755 (getSystemTextFont): Likewise.
5756 (getUserTextFont): Likewise.
5757 (getWindowTitleFont): Likewise.
5759 2005-02-15 Michael Koch <konqueror@gmx.de>
5761 * javax/swing/text/AbstractDocument.java
5762 (documentFilter): New field.
5763 (getDocumentFilter): New method.
5764 (setDocumentFilter): Likewise.
5767 2005-02-15 Michael Koch <konqueror@gmx.de>
5769 * javax/swing/JTree.java
5770 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5772 2005-02-15 Michael Koch <konqueror@gmx.de>
5774 * javax/swing/text/AbstractDocument.java
5775 (AbstractElement.getLength): Fixed off-by-one error.
5776 (AbstractElement.children): Made abstract.
5777 (AbstractElement.getAllowsChildren): Likewise.
5778 (AbstractElement.getElement): Likewise.
5779 (AbstractElement.dumpElement): New private method.
5780 (AbstractElement.dump): New method.
5781 (BranchElememt.getName): Fixed implementation.
5782 (BranchElememt.toString): Likewise.
5783 (BranchElememt.getElement): Fixed arguments.
5784 (LeafElement.getName): Fixed implementation.
5785 (LeafElement.toString): Likewise.
5786 * javax/swing/text/GapContent.java
5787 (GapContent): Put default content into buffer.
5788 * javax/swing/text/PlainDocument.java
5789 (reindex): Use empty attribute sets instead of null.
5790 (createDefaultRoot): Reimplemented.
5791 (insertUpdate): Call super method.
5792 (removeUpdate): Likewise.
5793 (getParagraphElement): Implemented.
5795 2005-02-15 Michael Koch <konqueror@gmx.de>
5797 * gnu/java/awt/ClasspathToolkit.java
5798 (createRobot): Throws java.awt.AWTException.
5799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5800 Added '__attribute__((unused))' to all unused method arguments.
5802 2005-02-15 Michael Koch <konqueror@gmx.de>
5804 * javax/swing/DefaultBoundedRangeModel.java
5805 (fireValueChanged): Fixed off-by-one error.
5807 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5809 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5810 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5812 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5813 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5814 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5815 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5816 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5817 (getDefaultScreenDevice): Implement.
5818 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5819 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5820 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5821 * java/awt/Robot.java: Implement.
5822 * java/awt/peer/RobotPeer.java: Rename parameters.
5823 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5825 (awt_keycode_to_keysym): Make non-static.
5826 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5827 AWT_BUTTON3_MASK): Declare constants.
5828 (awt_keycode_to_keysym): Declare.
5830 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5831 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5832 and is non-empty pass its value to "make check".
5833 (test_mauve_sim): Likewise.
5835 2005-02-15 Michael Koch <konqueror@gmx.de>
5837 * javax/imageio/IIOParam.java
5838 (setSourceBands): New method.
5839 (setSourceSubsampling): Likewise.
5840 * javax/imageio/ImageReadParam.java
5841 (setDestination): Likewise.
5842 (setDestinationBands): Likewise.
5843 (setSourceProgressivePasses): Likewise.
5844 * javax/imageio/metadata/IIOInvalidTreeException.java
5845 (serialVersionUID): New static field.
5846 * javax/imageio/metadata/IIOMetadataNode.java
5847 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5848 (parent): Dont initailize with default value explicitely.
5850 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5851 (removeAttributeNode): Likewise.
5852 (removeAttributeNS): Likewise.
5853 (setAttribute): Likewise.
5854 (setAttributeNode): Likewise.
5855 (setAttributeNodeNS): Likewise.
5856 (setAttributeNS): Likewise.
5857 (appendChild): Likewise.
5858 (getNodeValue): Likewise.
5859 (insertBefore): Likewise.
5860 (removeChild): Likewise.
5861 (replaceChild): Likewise.
5862 (setPrefix): Likewise.
5864 2005-02-15 Michael Koch <konqueror@gmx.de>
5866 * javax/swing/LookAndFeel.java
5867 (getDesktopPropertyValue): New method.
5869 2005-02-15 Michael Koch <konqueror@gmx.de>
5871 * javax/swing/JTree.java
5872 (hasChildren): New instance field.
5874 2005-02-15 Michael Koch <konqueror@gmx.de>
5876 * javax/swing/JComponent.java
5877 (getToolTipText): New method.
5878 (getTitledBorderText): Likewise.
5879 (getAccessibleKeyBinding): Likewise.
5880 (getVerifyInputWhenFocusTarget): Likewise.
5881 (setVerifyInputWhenFocusTarget): Likewise.
5882 (verifyInputWhenFocusTarget): New instance field.
5884 2005-02-15 Michael Koch <konqueror@gmx.de>
5886 * javax/swing/DefaultListSelectionModel.java
5887 (fireValueChanged): New method.
5889 2005-02-15 Michael Koch <konqueror@gmx.de>
5891 * javax/swing/DefaultBoundedRangeModel.java:
5892 Fixed javadocs all over.
5893 (fireStateChanged): Simplified.
5894 * javax/swing/BoundedRangeModel.java:
5897 2005-02-15 Michael Koch <konqueror@gmx.de>
5899 * javax/swing/JRootPane.java
5900 (setMenuBar): Added @deprecated tag.
5901 (getMenuBar): Likewise.
5902 * javax/swing/JTable.java
5903 (sizeColumnsToFit): Likewise.
5905 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5907 * javax/swing/ImageIcon.java (setImage): Implemented.
5909 2005-02-15 Michael Koch <konqueror@gmx.de>
5911 * javax/swing/JTable.java:
5912 Removed unused imports.
5914 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5916 (prepareRenderer): Get column's index in dataModel instead
5917 of column's view index.
5918 (getColumnCount): return count of the columns in ColumnModel,
5920 (removeColumn): Implemented.
5921 (moveColumm): Likewise.
5922 (setRowHeight): throw IllegalArgumentException if height is
5924 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5925 (DefaultTableColumnModel):Add call to createSelectionModel().
5926 (addColumn): Fire columnAdded event to registered listeners.
5927 (removeColumn): Fire columnRemoved event to registered listeners.
5928 (moveColumn): Fire columnMoved event to registered listeners.
5929 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5930 (getColumnIndex): Changed parameter name.
5931 (setColumnSelectionAllowed): Likewise.
5932 (fireColumnAdded): Implemented.
5933 (fireColumnRemoved): Likewise.
5934 (fireColumnMoved): Likewise.
5935 (fireColumnMarginChanged): Likewise.
5936 (getListeners): Changed parameter name.
5937 (propertyChange): Implemented.
5938 (valueChanged): Changed parameter name.
5939 (createSelectionModel): Implemented.
5941 2005-02-15 Michael Koch <konqueror@gmx.de>
5943 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5944 Explicitely import used classes.
5945 (getLocalGraphicsEnvironment): Simplify.
5946 * java/awt/Window.java (Window):
5947 Enable code to get the default GraphicsConfiguration.
5949 2005-02-15 Michael Koch <konqueror@gmx.de>
5951 * javax/swing/plaf/metal/DefaultMetalTheme.java
5952 (CONTROL_TEXT_FONT): New static field.
5953 (MENU_TEXT_FONT): Likewise.
5954 (SUB_TEXT_FONT): Likewise.
5955 (SYSTEM_TEXT_FONT): Likewise.
5956 (USER_TEXT_FONT): Likewise.
5957 (WINDOW_TITLE_FONT): Likewise.
5958 (getControlTextFont): New method.
5959 (getMenuTextFont): Likewise.
5960 (getSubTextFont): Likewise.
5961 (getSystemTextFont): Likewise.
5962 (getUserTextFont): Likewise.
5963 (getWindowTitleFont): Likewise.
5964 * javax/swing/plaf/metal/MetalTheme.java
5965 (BLACK): Initialize with Color.BLACK.
5966 (WHITE): Initialize with Color.WHITE.
5967 (getInactiveControlTextColor): Return getControlDisabled().
5968 (getMenuDisabledForeground): Return getSecondary3().
5969 (getControlTextFont): New abstract method.
5970 (getMenuTextFont): Likewise.
5971 (getSubTextFont): Likewise.
5972 (getSystemTextFont): Likewise.
5973 (getUserTextFont): Likewise.
5974 (getWindowTitleFont): Likewise.
5976 2005-02-15 Michael Koch <konqueror@gmx.de>
5978 * javax/swing/JFormattedTextField.java
5979 (getFocusLostBehavior): Fixed typo in method name.
5980 (setFocusLostBehavior): Likewise.
5982 2005-02-15 Michael Koch <konqueror@gmx.de>
5984 * javax/swing/TransferHandler.java:
5985 Reworked import statements.
5987 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5989 * java/awt/Button.java,
5990 java/awt/Canvas.java,
5991 java/awt/Checkbox.java,
5992 java/awt/CheckboxMenuItem.java,
5993 java/awt/Choice.java,
5994 java/awt/Dialog.java,
5995 java/awt/Frame.java,
5996 java/awt/Label.java,
5999 java/awt/MenuBar.java,
6000 java/awt/MenuItem.java,
6001 java/awt/PopupMenu.java,
6002 java/awt/ScrollPane.java,
6003 java/awt/Scrollbar.java,
6004 java/awt/TextArea.java,
6005 java/awt/Window.java (getAccessibleContext): Clean up comments.
6007 * java/awt/Button.java,
6008 java/awt/Checkbox.java,
6009 java/awt/Choice.java,
6011 java/awt/PopupMenu.java,
6012 java/awt/TextArea.java (getAccessibleContext): Only create new
6014 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6016 2005-02-15 Michael Koch <konqueror@gmx.de>
6018 * java/awt/Button.java,
6019 javax/swing/JApplet.java,
6020 javax/swing/JFormattedTextField.java,
6021 javax/swing/JWindow.java,
6022 javax/swing/JTree.java,
6023 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6024 javax/swing/plaf/basic/BasicTextPaneUI.java,
6025 javax/swing/plaf/basic/BasicTreeUI.java:
6026 Reworked import statements.
6028 2005-02-15 Michael Koch <konqueror@gmx.de>
6030 * Makefile.am: Put javax.imageio into its own library and link it
6031 against lib-org-w3c-dom.la to fix bootstrapping.
6032 * Makefile.in: Regenerated.
6034 2005-02-15 Michael Koch <konqueror@gmx.de>
6036 * javax/swing/text/TextAction.java
6037 (getTextComponent): Simplified. Added Javadoc.
6038 (augmentList): Implemented. Added Javadoc.
6039 (getFocusedComponent): Added javadoc.
6041 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6043 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6044 getAccessibleContext): Implement.
6045 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6046 getAccessibleContext): Implement.
6048 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6050 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6052 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6054 * java/awt/Window.java (getAccessibleContext): Fix comment.
6055 Remove extra import.
6057 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6059 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6060 (isActive, isFocused, getAccessibleContext): Implement.
6062 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6064 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6065 * java/awt/MenuComponent.java (accessibleContext): Make package
6067 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6068 AccessibleAWTCheckboxMenuItem): Implement.
6070 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6072 * java/awt/List.java: Implement AccessibleAWTList,
6073 AccessibleAWTListChild.
6075 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6077 * java/awt/Choice.java: Add implements declaration for
6080 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6082 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6085 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6087 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6088 implemented interface list.
6090 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6092 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6093 * javax/imageio/metadata/IIOAttr.java: New class.
6094 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6095 * javax/imageio/metadata/IIONodeList.java: New class.
6096 * Makefile.am: Added new files.
6097 * Makefile.in: Regenerated.
6099 2005-02-15 Michael Koch <konqueror@gmx.de>
6101 * javax/swing/AbstractAction.java,
6102 javax/swing/AbstractCellEditor.java,
6103 javax/swing/AbstractListModel.java,
6104 javax/swing/DefaultBoundedRangeModel.java,
6105 javax/swing/DefaultButtonModel.java,
6106 javax/swing/DefaultCellEditor.java,
6107 javax/swing/DefaultComboBoxModel.java,
6108 javax/swing/DefaultDesktopManager.java,
6109 javax/swing/JMenu.java,
6110 javax/swing/JSlider.java,
6111 javax/swing/KeyStroke.java,
6112 javax/swing/OverlayLayout.java,
6113 javax/swing/ScrollPaneLayout.java,
6114 javax/swing/SizeRequirements.java,
6115 javax/swing/ViewportLayout.java:
6116 Made serialVersionUID private.
6118 2005-02-15 Michael Koch <konqueror@gmx.de>
6120 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6123 2005-02-15 Michael Koch <konqueror@gmx.de>
6125 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6127 2005-02-15 Michael Koch <konqueror@gmx.de>
6129 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6131 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6133 * java/awt/EventDispatchThread.java,
6134 java/awt/Toolkit.java:
6135 Don't catch java.lang.ThreadDeath.
6137 2005-02-15 Michael Koch <konqueror@gmx.de>
6139 * javax/swing/text/PasswordView.java
6140 (drawEchoCharacter): Added javadoc.
6141 (drawSelectedText): Likewise.
6142 (drawUnselectedText): Likewise.
6144 2005-02-15 Michael Koch <konqueror@gmx.de>
6146 * javax/swing/JRootPane.java
6147 (windowDecorationStyle): New field.
6148 (setMenuBar): New method.
6149 (getMenuBar): Likewise.
6150 (getWindowDecorationStyle): Likewise.
6151 (setWindowDecorationStyle): Likewise.
6153 2005-02-15 Michael Koch <konqueror@gmx.de>
6155 * javax/swing/DefaultListSelectionModel.java
6156 (leadAnchorNotificationEnabled): Made protected.
6158 2005-02-15 Michael Koch <konqueror@gmx.de>
6160 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6161 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6162 * Makefile.in: Regenerated.
6165 2005-02-15 Michael Koch <konqueror@gmx.de>
6167 * javax/swing/JFormattedTextField.java: Implemented.
6168 * javax/swing/JWindow.java
6169 (JWindow): New constructors.
6170 (initWindow): Renamed from initFrame.
6171 * javax/swing/UIDefaults.java
6172 (ActiveValue): Made interface static.
6173 (LazyValue): Likewise.
6174 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6175 (TitlePaneLayout.TitlePaneLayout): New constructor.
6176 * javax/swing/plaf/basic/BasicSliderUI.java
6177 (ChangeHandler): Made public.
6178 (FocusHandler): Likewise.
6179 (PropertyChangeHandler): Likewise.
6180 (ScrollListener): Likewise.
6181 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6182 (FocusHandler): Likewise.
6183 (MouseHandler): Likewise.
6184 * javax/swing/plaf/basic/BasicTextPaneUI.java
6185 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6186 * javax/swing/plaf/basic/BasicToolBarUI.java
6187 (BasicToolBarUI): Simplified. Reworked javadoc.
6188 (canDock): Simplified. Make public.
6189 (DockingListener): Made public.
6190 * javax/swing/text/JTextComponent.java
6191 (navigationFilter): New field.
6192 (getNavigationFilter): New method.
6193 (setNavigationFilter): Likewise.
6195 2005-02-15 Michael Koch <konqueror@gmx.de>
6197 * javax/swing/plaf/metal/MetalTheme.java
6198 (getControlTextColor): Return getControlInfo().
6199 (getHighlightedTextColor): Return getControlTextColor().
6201 2005-02-15 Michael Koch <konqueror@gmx.de>
6203 * javax/swing/plaf/basic/BasicButtonListener.java
6204 (BasicButtonListener): New constructor.
6205 * javax/swing/plaf/basic/BasicButtonUI.java
6206 (createButtonListener): Usw new BasicButtonListener constructor.
6208 2005-02-15 Michael Koch <konqueror@gmx.de>
6210 * javax/imageio/event/package.html,
6211 javax/imageio/metadata/package.html: New files.
6213 2005-02-15 Michael Koch <konqueror@gmx.de>
6215 * java/awt/image/MemoryImageSource.java: Reformatted.
6217 2005-02-15 Michael Koch <konqueror@gmx.de>
6219 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6221 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6223 * java/awt/color/ICC_Profile.java
6224 (finalize): Removed pointless field assignments.
6226 2005-02-15 Michael Koch <konqueror@gmx.de>
6228 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6229 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6230 * Makefile.in: Regenerated.
6232 2005-02-15 Michael Koch <konqueror@gmx.de>
6234 * javax/swing/text/DefaultStyledDocument.java: New file.
6235 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6236 * Makefile.in: Regenerated.
6238 2005-02-15 Michael Koch <konqueror@gmx.de>
6240 * javax/swing/JFileChooser.java
6241 (showDialog): Return CANCEL_OPTION for now.
6242 (showOpenDialog): Likewise.
6243 (showSaveDialog): Likewise.
6245 2005-02-15 Michael Koch <konqueror@gmx.de>
6247 * javax/swing/JApplet.java
6248 (HIDE_ON_CLOSE): Removed.
6249 (EXIT_ON_CLOSE): Likewise.
6250 (DISPOSE_ON_CLOSE): Likewise.
6251 (DO_NOTHING_ON_CLOSE): Likewise.
6252 (close_action): Likewise.
6253 (getDefaultCloseOperation): Likewise.
6254 (setDefaultCloseOperation): Likewise.
6255 (processWindowEvent): Likewise.
6256 (getPreferredSize): Simplified.
6257 * javax/swing/JInternalFrame.java
6258 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6260 * javax/swing/JWindow.java
6261 (HIDE_ON_CLOSE): Removed.
6262 (EXIT_ON_CLOSE): Likewise.
6263 (DISPOSE_ON_CLOSE): Likewise.
6264 (DO_NOTHING_ON_CLOSE): Likewise.
6265 (close_action): Likewise.
6266 (processKeyEvent): Likewise.
6267 (setDefaultCloseOperation): Likewise.
6268 (getPreferredSize): Simplified.
6270 2005-02-15 Michael Koch <konqueror@gmx.de>
6272 * javax/swing/JTextField.java
6273 (getPreferredSize): Re-implemented.
6275 2005-02-15 Michael Koch <konqueror@gmx.de>
6277 * javax/swing/JLabel.java
6278 (setDisplayedMnemonic): Use only upper case characters.
6279 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6280 PropertyChangeEvent after property got set to the new index.
6282 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6284 * javax/swing/JComboBox.java:
6285 (JComboBox): Removed selection of the
6286 first item in the model.
6288 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6290 * javax/swing/JComboBox.java
6291 added support for no item being selected
6292 (JComboBox): select first or nothing depending on element count
6293 (setModel): cleaned up unneeded "this." usage, added more
6294 docs, made exception behavior match that of the JDK
6295 (setLighWeightPopupEnabled): removed unneeded "this." usage
6297 (setMaximumRowCount): dito
6299 (setPrototypeDisplayValue): dito
6300 (getSelectedItem): simplified, added more user doc
6301 (setSelectedIndex): corrected exception behavior, added more user doc
6302 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6303 added performance warning to user doc
6304 (addItem): fixed exception behavior, added user doc
6305 (insertItemAt): dito
6307 (removeItemAt): dito
6308 (removeAll): fixed exception behavior, added user doc, added support
6309 for model not being instance of DefaultComboBoxModel
6310 (getSelectedItemObjects): simplified
6311 (getItemCount): fixed dependency on DefaultComboBoxModel
6312 (getItemAt): fixed dependency on MutableComboBoxModel
6313 * javax/swing/DefaultComboBoxModel.java:
6314 (setSelectedItem): updates selected item only if new
6315 value is null or known (match JDK behavior)
6316 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6317 (paintCurrentValue): renders "" if no item is selected
6319 2005-02-15 Michael Koch <konqueror@gmx.de>
6321 * javax/swing/plaf/metal/MetalTheme.java,
6322 javax/swing/plaf/metal/DefaultMetalTheme.java:
6324 * javax/swing/plaf/metal/MetalLookAndFeel.java
6325 * Makefile.am: Added the new files.
6326 * Makefile.in: Regenerated.
6328 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6330 * javax/swing/JTable.java
6331 (editorComp): New field.
6332 (JTable): Initialize local variables and call updateUI
6333 (selectionBackground): Make protected.
6334 (selectionForeground): Likewise.
6335 (initializeLocalVars): Create default editors and renderers,
6336 initialize editingColumn, editingRow variables.
6337 (createDefaultEditors): New Method.
6338 (createDefaultRenderers): Likewise.
6339 (createDefaultListSelectionModel): Removed
6340 (createDefaultSelectionModel): New Method.
6341 (createDefaultTableHeader): Likewise
6342 (removeColumn): Likewise.
6343 (getEditingColumn): Likewise.
6344 (setEditingColumn): Likewise.
6345 (getEditingRow): Likewise.
6346 (setEditingRow): Likewise.
6347 (getEditorComponent): Likewise.
6348 (isEditing): Likewise.
6349 (setDefaultEditor): Likewise.
6350 (addColumnSelectionInterval): Likewise.
6351 (addRowSelectionInterval): Likewise.
6352 (setColumnSelectionInterval): Likewise.
6353 (setRowSelectionInterval): Likewise.
6354 (removeColumnSelectionInterval): Likewise.
6355 (removeRowSelectionInterval): Likewise.
6356 (isColumnSelected): Likewise.
6357 (isRowSelected): Likewise.
6358 (isCellSelected): Likewise.
6359 (selectAll): Likewise.
6361 2005-02-15 Michael Koch <konqueror@gmx.de>
6363 * javax/swing/JTable.java
6364 (addColumn): New method.
6365 (getColumnClass): Likewise.
6366 (getColumnName): Likewise.
6368 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6370 * javax/swing/TransferHandler.java
6371 (createTransferable): Made protected.
6373 2005-02-15 Michael Koch <konqueror@gmx.de>
6375 * javax/swing/JTable.java,
6376 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6377 javax/swing/plaf/basic/BasicTableUI.java:
6378 Use fixed get/setIntercellSpacing() methods.
6380 2005-02-15 Michael Koch <konqueror@gmx.de>
6382 * javax/swing/JTable.java
6383 (getIntercellSpacing): Fixed typo in method name.
6384 (setIntercellSpacing): Likewise.
6386 2005-02-15 Michael Koch <konqueror@gmx.de>
6388 * javax/swing/text/JTextComponent.java
6389 (focusAccelerator): New variable.
6390 (getFocusAccelerator): New method.
6391 (setFocusAccelerator): Likewise.
6393 2005-02-15 Michael Koch <konqueror@gmx.de>
6395 * javax/swing/JComponent.java
6396 (setTransferHandler): Made public. Fire property change event.
6397 * javax/swing/TransferHandler.java: Implemented.
6398 * javax/swing/text/JTextComponent.java
6399 (DefaultTransferHandler): New inner class.
6400 (defaultTransferHandler): New variable.
6404 (doTransferAction): Likewise.
6406 2005-02-15 Michael Koch <konqueror@gmx.de>
6408 * javax/swing/JTree.java
6409 (collapsePath): New method.
6410 (collapseRow): Likewise.
6411 (expandPath): Likewise.
6412 (expandRow): Likewise.
6413 (checkExpandParents): Likewise.
6414 (doExpandParents): Likewise.
6415 (setExpandedState): Likewise.
6416 (makeVisible): Likewise.
6418 2005-02-15 Michael Koch <konqueror@gmx.de>
6420 * javax/swing/JPasswordField.java: Updated javadocs.
6422 2005-02-15 Michael Koch <konqueror@gmx.de>
6424 * javax/swing/JLayeredPane.java
6425 (getLayer): Fixed return type, made public.
6426 (getPosition): Use new getLayer().
6427 (SetPosition): Likewise.
6428 (getIndexOf): Likewise.
6430 * javax/swing/JInternalFrame.java
6431 (getLayer): Use new JLayeredPane.getLayer().
6434 2005-02-15 Michael Koch <konqueror@gmx.de>
6436 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6437 (setHeaderValue): Simplified. Do nothing when old value == new value.
6439 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6441 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6442 against null clip region.
6443 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6444 gtkWindowSetResizable.
6445 (postConfigureEvent): Only revalidate if frame size has changed.
6446 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6447 Only revalidate if frame size has changed.
6448 * java/awt/Component.java (reshape): Only repaint and post
6449 component events if component is showing.
6450 * java/awt/Container.java (addImpl): Only post container event if
6451 container is showing.
6453 * java/awt/Window.java (setLocationRelativeTo): Implement.
6454 (setBoundsCallback): Only post component events if component is
6456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6457 Protect against null graphics structure. Flush gdk event queue.
6459 2005-02-15 Michael Koch <konqueror@gmx.de>
6461 * javax/imageio/ImageReader.java,
6462 javax/imageio/ImageTranscoder.java,
6463 javax/imageio/ImageWriter.java,
6464 javax/imageio/spi/ImageInputStreamSpi.java,
6465 javax/imageio/spi/ImageOutputStreamSpi.java,
6466 javax/imageio/spi/ServiceRegistry.java,
6467 javax/imageio/stream/ImageInputStream.java,
6468 javax/imageio/stream/ImageOutputStream.java: Updated.
6469 * javax/imageio/IIOException.java,
6470 javax/imageio/IIOImage.java,
6471 javax/imageio/IIOParam.java,
6472 javax/imageio/IIOParamController.java,
6473 javax/imageio/ImageIO.java,
6474 javax/imageio/ImageReadParam.java,
6475 javax/imageio/ImageTypeSpecifier.java,
6476 javax/imageio/ImageWriteParam.java,
6477 javax/imageio/spi/IIORegistry.java,
6478 javax/imageio/spi/ImageReaderSpi.java,
6479 javax/imageio/spi/ImageWriterSpi.java,
6480 javax/imageio/stream/FileCacheImageInputStream.java,
6481 javax/imageio/stream/FileCacheImageOutputStream.java,
6482 javax/imageio/stream/FileImageInputStream.java,
6483 javax/imageio/stream/FileImageOutputStream.java,
6484 javax/imageio/stream/ImageInputStreamImpl.java,
6485 javax/imageio/stream/ImageOutputStreamImpl.java,
6486 javax/imageio/stream/MemoryCacheImageInputStream.java,
6487 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6488 javax/imageio/event/IIOReadProgressListener.java,
6489 javax/imageio/event/IIOReadUpdateListener.java,
6490 javax/imageio/event/IIOReadWarningListener.java,
6491 javax/imageio/event/IIOWriteProgressListener.java,
6492 javax/imageio/event/IIOWriteWarningListener.java,
6493 javax/imageio/metadata/IIOMetadata.java,
6494 javax/imageio/metadata/IIOMetadataController.java,
6495 javax/imageio/metadata/IIOMetadataFormat.java,
6496 javax/imageio/metadata/IIOInvalidTreeException.java,
6497 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6498 javax/imageio/metadata/IIOMetadataNode.java: New files.
6499 * Makefile.am (javax_source_files): Added new files
6500 * Makefile.in: Regenerated.
6502 2005-02-15 Graydon Hoare <graydon@redhat.com>
6504 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6505 Rework painting into BufferedImages
6506 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6507 Construct BufferedImage with alpha only when alpha is
6508 present in colormodel.
6509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6510 Rework painting into client-side jint arrays.
6511 * jni/gtk-peer/gtkcairopeer.h:
6514 2005-02-15 Michael Koch <konqueror@gmx.de>
6516 * javax/swing/DefaultListCellRenderer.java
6517 (serialVersionUID): Made private.
6518 (getListCellRendererComponent): Set horizontal alignment.
6519 * javax/swing/JLabel.java
6520 (setVerticalAlignment): Re-implemented.
6521 (setHorizontalAlignment): Do nothing if old value = new value.
6522 * javax/swing/JList.java
6523 (setCellRenderer): Likewise.
6524 (setModel): Re-implemented.
6525 (setSelectionModel): Likewise.
6527 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6529 * java/awt/Component.java,
6530 java/awt/geom/Rectangle2D.java:
6533 2005-02-15 Michael Koch <konqueror@gmx.de>
6535 * javax/swing/AbstractListModel.java
6536 (fireContentsChanged): Simplified.
6537 (fireIntervalAdded): Likewise.
6538 (fireIntervalRemoved): Likewise.
6539 * javax/swing/DefaultSingleSelectionModel.java:
6541 (fireStateChanged): Simplified.
6542 * javax/swing/JPopupMenu.java
6543 (setSelectionModel): Set property.
6545 2005-02-15 Michael Koch <konqueror@gmx.de>
6547 * java/awt/print/Book.java: Reformatted.
6549 2005-02-15 Michael Koch <konqueror@gmx.de>
6551 * java/awt/geom/Area.java
6552 (QuadSegment.curveArea): Remove unused variables.
6553 (CubicSegment.curveArea): Likewise.
6555 2005-02-15 Michael Koch <konqueror@gmx.de>
6557 * javax/swing/JTree.java
6558 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6559 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6560 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6561 (EXPANDED): New constant.
6562 (COLLAPSED): Likewise.
6563 (nodeStates): New field.
6564 (cellEditor): New method.
6565 (cellRenderer): Likewise.
6566 (selectionModel): Likewise.
6567 (treeModel): Likewise.
6568 (scrollPathToVisible): Likewise.
6569 (scrollRowToVisible): Likewise.
6570 (isCollapsed): Likewise.
6571 (isExpanded): Likewise.
6572 (clearToggledPaths): Likewise.
6573 (getDescendantToggledPaths): Likewise.
6574 (hasBeenExpanded): Likewise.
6575 (isVisible): Likewise.
6576 (isPathEditable): Likewise.
6578 2005-02-15 Michael Koch <konqueror@gmx.de>
6580 * javax/swing/JLayeredPane.java: Reformatted.
6582 2005-02-15 Michael Koch <konqueror@gmx.de>
6584 * javax/swing/tree/DefaultMutableTreeNode.java:
6586 * javax/swing/tree/MutableTreeNode.java:
6589 2005-02-15 Michael Koch <konqueror@gmx.de>
6591 * javax/swing/JFormattedTextField.java
6592 (setDocument): Call setDocument of super class. Don't fire property
6595 2005-02-15 Sven de Marothy <sven@physto.se>
6597 * java/awt/image/IndexColorModel.java:
6598 Add FIXME with respect to alpha handling.
6599 (getAlpha): Default to returning opaque pixels.
6600 * java/awt/image/MultiPixelPackedSampleModel.java
6601 (MultiPixelPackedSampleModel): Corrected parameters, order of
6602 bit shifts and masks, stride length off by one.
6604 2005-02-15 Michael Koch <konqueror@gmx.de>
6606 * javax/swing/JList.java, javax/swing/JTree.java:
6607 Added much new methods and fixed much methods setting bound properties.
6609 2005-02-16 Mark Wielaard <mark@klomp.org>
6611 * Makefile.am (gnu_xml_source_files): Removed
6612 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6613 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6614 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6615 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6616 gnu/xml/dom/DomDocumentFragment.java,
6617 gnu/xml/dom/DomProcessingInstruction.java and
6618 gnu/xml/dom/ls/DomLSException.java.
6619 * Makefile.in: Regenerated.
6621 2005-02-16 Tom Tromey <tromey@redhat.com>
6623 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6624 attribute index is out of bounds.
6626 2005-02-16 Chris Burdess <dog@gnu.org>
6628 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6629 isDeclared methods. Improved performance of isSpecified methods.
6631 2005-02-16 Chris Burdess <dog@gnu.org>
6633 Fixes bug libgcj/19864
6634 * gnu/xml/dom/DomAttr.java,
6635 gnu/xml/dom/DomCDATA.java,
6636 gnu/xml/dom/DomCDATASection.java,
6637 gnu/xml/dom/DomCharacterData.java,
6638 gnu/xml/dom/DomDOMException.java,
6639 gnu/xml/dom/DomDoctype.java,
6640 gnu/xml/dom/DomDocument.java,
6641 gnu/xml/dom/DomDocumentConfiguration.java,
6642 gnu/xml/dom/DomDocumentFragment.java,
6643 gnu/xml/dom/DomElement.java,
6644 gnu/xml/dom/DomEx.java,
6645 gnu/xml/dom/DomFragment.java,
6646 gnu/xml/dom/DomImpl.java,
6647 gnu/xml/dom/DomIterator.java,
6648 gnu/xml/dom/DomNamedNodeMap.java,
6649 gnu/xml/dom/DomNode.java,
6650 gnu/xml/dom/DomNsNode.java,
6651 gnu/xml/dom/DomPI.java,
6652 gnu/xml/dom/DomProcessingInstruction.java,
6653 gnu/xml/dom/DomText.java,
6654 gnu/xml/dom/DomLSEx.java,
6655 gnu/xml/dom/DomLSException.java,
6656 gnu/xml/dom/DomLSParser.java,
6657 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6658 implementation class names to conform to Classpath guidelines. Make
6659 DomLSException use JDK 1.4+ exception chaining.
6660 * gnu/xml/util/SAXNullTransformerFactory.java,
6661 gnu/xml/xpath/Predicate.java: Use constants relative to
6662 declaring class or interface.
6664 2005-02-16 Andrew Haley <aph@redhat.com>
6666 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6667 null, create a new AccessControlContext.
6668 * java/security/SecureClassLoader.java (protectionDomainCache):
6670 (defineClass): Create a new protection domain and add it to our
6673 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6674 addStub() to keep track of the stub we've exported.
6675 (unexportObject): Call deleteStub().
6676 * java/rmi/server/RemoteObject.java (stubs): New field.
6677 (addStub): New method.
6678 (deleteStub): New method.
6681 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6682 true to findHelper (tryParents).
6683 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6685 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6686 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6688 If tryParents is false, don't scan parent class loaders.
6690 * java/security/Permissions.java (PermissionsHash.implies):
6691 Iterate over the collection and invoke implies() on each
6694 2005-02-16 Andrew Haley <aph@redhat.com>
6696 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6698 (PersistentByteMap): Set name
6699 Magic number changed to 0x67636a64 ("gcjd").
6700 (init): Force the map to be prime.
6701 (emptyPersistentByteMap): File name was a string, now a File.
6702 (addBytes): Share srings between entries.
6703 (stringTableSize): New method.
6704 (capacity): Scale by load factor.
6705 (force): New method.
6706 (getFile): New method.
6707 (close): New method.
6708 (putAll): New method.
6709 (ByteWrapper): New class.
6710 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6711 (main): Guess the average string size as 32, not 64.
6712 Copy a database before modifying it, so that we can update a
6713 database in a running system.
6714 If a database isn't big enough, resize it.
6715 "-m": new option: merges databases.
6716 "-a": Create a new detabase if it doesn't exist.
6717 (usage): Correct, add new option.
6718 (addJar): Copy a database before modifying it.
6719 (resizeMap): New method.
6721 2005-02-15 David Daney <ddaney@avtrex.com>
6722 Bryce McKinlay <mckinlay@redhat.com>
6724 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6725 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6726 ensure that GC threads inherit the new signal mask.
6727 (block_sigchld): Call JvFail rather than throwing exception if
6728 pthread_sigmask() fails.
6730 2005-02-15 Mark Wielaard <mark@klomp.org>
6732 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6733 file path elements are separated by spaces.
6735 2005-02-15 Mark Wielaard <mark@klomp.org>
6737 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6738 to describe attributes without a constant field value in this class.
6740 2005-02-15 Michael Koch <konqueror@gmx.de>
6742 * java/util/jar/Attributes.java
6743 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6745 2005-02-15 Mark Wielaard <mark@klomp.org>
6747 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6748 space for parsing CLASS_PATH attribute.
6750 2005-02-15 Mark Wielaard <mark@klomp.org>
6752 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6753 aside for "GCJLIBS" in directory where jarfiles are loaded.
6754 (JarURLLoader.getClass): Removed method.
6755 (JarURLLoader.toString): Removed method.
6756 (FileResource.toString): Removed method.
6758 2005-02-15 Mark Wielaard <mark@klomp.org>
6760 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6761 and/or cause before throwing.
6763 2005-02-15 Richard Henderson <rth@redhat.com>
6765 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6766 (libgcj0_convenience_la_SOURCES): ... here.
6767 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6768 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6769 * Makefile.in: Regenerate.
6771 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6774 * include/jawt.h: Likewise.
6775 * include/jawt_md.h: Likewise.
6776 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6778 * include/Makefile.in: Regenerate.
6779 * jni/classpath/classpath_jawt.h: Likewise.
6780 * jni/gtk-peer/gtk_jawt.c: Likewise.
6781 * Makefile.am: Build libjawt.so.
6782 * Makefile.in: Regenerate.
6784 2005-02-14 Tom Tromey <tromey@redhat.com>
6786 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6788 2005-02-14 Tom Tromey <tromey@redhat.com>
6790 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6791 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6793 2005-02-14 Tom Tromey <tromey@redhat.com>
6796 * testsuite/libjava.lang/PR19929.out: New file.
6797 * testsuite/libjava.lang/PR19929.java: New file.
6799 2005-02-14 Anthony Green <green@redhat.com>
6802 * testsuite/libjava.jni/PR18116.c: New file.
6803 * testsuite/libjava.jni/PR18116.java: New file.
6804 * testsuite/libjava.jni/PR18116.out: New file.
6806 2005-02-13 Anthony Green <green@redhat.com>
6809 * jni.cc (nathash_add): Don't strdup the method signature.
6810 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6814 2005-02-12 Mark Wielaard <mark@klomp.org>
6816 Fixes bug libgcj/8170
6817 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6818 ClassNotFoundException.
6819 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6820 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6821 (remove_internal): New field superceding remove_interpreter.
6822 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6823 Remove no-class methods starting with "_Jv_". And Replace null
6824 class or method names with the empty string. Stop at either the
6825 MainThread or a real Thread run() method.
6826 (newElement): Made static.
6827 * java/net/URLClassLoader.java (findClass): Throw
6828 ClassNotFoundExceptions including urls, plus parent using toString().
6829 (thisString): New field.
6830 (toString): New method.
6832 2005-02-10 Tom Tromey <tromey@redhat.com>
6834 * external/sax/Makefile.in: Rebuilt.
6835 * external/sax/Makefile.am (all-local): Removed.
6836 (BUILT_SOURCES): New variable.
6837 (mostlyclean-local): No error if no classes to delete.
6838 * external/w3c_dom/Makefile.in: Rebuilt.
6839 * external/w3c_dom/Makefile.am (all-local): Removed.
6840 (BUILT_SOURCES): New variable.
6841 (mostlyclean-local): No error if no classes to delete.
6843 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6845 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6846 of mauve and libjava.
6848 2005-02-09 Tom Tromey <tromey@redhat.com>
6850 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6851 jar file with OPEN_DELETE.
6852 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6853 OPEN_DELETE is used.
6855 2005-02-09 Tom Tromey <tromey@redhat.com>
6857 * java/util/zip/InflaterInputStream.java (markSupported):
6859 (mark, reset): Likewise.
6861 2005-02-08 Tom Tromey <tromey@redhat.com>
6863 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6864 name or port is missing.
6865 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6866 AUTHORITY_PORT_GROUP): Updated.
6868 2005-02-08 Tom Tromey <tromey@redhat.com>
6870 * configure: Rebuilt.
6871 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6874 2005-02-07 Tom Tromey <tromey@redhat.com>
6876 * java/lang/natRuntime.cc (insertSystemProperties): Set
6877 sun.boot.class.path earlier.
6879 2005-02-07 Tom Tromey <tromey@redhat.com>
6881 * defineclass.cc (handleClassBegin): Use
6882 _Jv_RegisterInitiatingLoader.
6883 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6884 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6885 class. Use _Jv_UnregisterInitiatingLoader.
6886 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6889 2005-02-07 Mark Wielaard <mark@klomp.org>
6891 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6892 java/util/regex/Matcher.java (lookingAt): Set position when match
6894 (matches): Implemented through lookingAt().
6896 2005-02-07 Mark Wielaard <mark@klomp.org>
6898 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6899 * java/util/regex/Pattern.java (split(CharSequence,int)):
6900 Fix while empties > 0 loops.
6902 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6904 * gnu/java/nio/charset/ISO_8859_1.java,
6905 gnu/java/nio/charset/US_ASCII.java,
6906 gnu/java/nio/charset/UTF_16.java,
6907 gnu/java/nio/charset/UTF_16_LE.java,
6908 gnu/java/nio/charset/UTF_16_BE.java,
6909 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6910 and aliases according to
6911 "http://www.iana.org/assignments/character-sets",
6912 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6913 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6914 * gnu/java/nio/charset/Provider.java: Made charset lookup
6915 case-insensitive which fixes bug #11740.
6917 2005-02-07 Tom Tromey <tromey@redhat.com>
6920 * Makefile.in: Rebuilt.
6921 * Makefile.am (src.zip): New target.
6922 (install-src.zip): Likewise.
6923 (sourcesdir): New variable.
6925 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6927 * javax/imageio/metadata/IIOMetadataNode.java:
6929 * javax/imageio/metadata/IIOAttr.java,
6930 javax/imageio/metadata/IIONamedNodeMap.java,
6931 javax/imageio/metadata/IIONodeList.java:
6934 2005-02-06 Graydon Hoare <graydon@redhat.com>
6936 * gnu/java/awt/ClasspathToolkit.java
6937 (registerImageIOSpis): New method.
6938 * javax/imageio/ImageIO.java
6939 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6940 (WriterMIMETypeFilter.filter): Likewise.
6941 (ImageReaderIterator): Pass extension argument through to SPI.
6942 (getReadersByFilter): Likewise.
6943 (getWritersByFilter): Likewise.
6944 (getImageReadersByFormatName): Likewise.
6945 (getImageReadersByMIMEType): Likewise.
6946 (getImageReadersBySuffix): Likewise.
6947 (getImageWritersByFormatName): Likewise.
6948 (getImageWritersByMIMEType): Likewise.
6949 (getImageWritersBySuffix): Likewise.
6952 * javax/imageio/ImageReader.java
6953 (progressListeners): Initialize.
6954 (setInput): Implement.
6955 * javax/imageio/ImageWriter.java
6956 (progressListeners): Initialize.
6957 (warningListeners): Likewise.
6958 (warningLocales): Likewise.
6959 (setOutput): Test "isInstance" rather than class equality.
6960 * javax/imageio/spi/IIORegistry.java
6961 (static): Add reader and writer SPIs.
6962 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6964 2005-02-06 Michael Koch <konqueror@gmx.de>
6966 * javax/imageio/metadata/IIOInvalidTreeException.java
6967 (IIOInvalidTreeException): Reformatted.
6968 * javax/imageio/spi/IIORegistry.java
6969 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6970 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6971 Reworked import statements.
6973 2005-02-06 Michael Koch <konqueror@gmx.de>
6975 * javax/imageio/stream/FileImageOutputStream.java:
6978 2005-02-06 Michael Koch <konqueror@gmx.de>
6980 * javax/imageio/stream/FileCacheImageInputStream.java,
6981 javax/imageio/stream/FileCacheImageOutputStream.java,
6982 javax/imageio/stream/FileImageInputStream.java,
6983 javax/imageio/stream/ImageInputStreamImpl.java,
6984 javax/imageio/stream/ImageOutputStreamImpl.java,
6985 javax/imageio/stream/MemoryCacheImageInputStream.java,
6986 javax/imageio/stream/MemoryCacheImageOutputStream.java:
6987 Added all missing methods in javax.imageio.stream.
6989 2005-02-02 David Daney <ddaney@avtrex.com>
6991 * java/net/InetAddress.java (InetAddress): Make a private copy of
6993 * java/net/Inet4Address.java (getAddress): Return a copy of the
6995 * java/net/Inet6Address.java (Inet6Address): Use private copy of
6997 (getAddress): Return a copy of the address.
7000 2005-02-02 Tom Tromey <tromey@redhat.com>
7002 * Makefile.in: Rebuilt.
7003 * Makefile.am (classes.stamp): New target, broken out from
7005 ($(all_java_class_files)): Depend on it.
7006 (libgcj-@gcc_version@.jar): Likewise.
7007 (all-recursive): Likewise.
7008 (CLEANFILES): Include classes.stamp.
7010 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7012 * link.cc: Include <stdio.h>
7014 2005-02-02 Tom Tromey <tromey@redhat.com>
7017 * Makefile.in: Rebuilt.
7018 * Makefile.am (ordinary_java_source_files): Added new class.
7019 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7020 Use system_instance, not instance.
7021 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7022 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7024 (system_instance): New field.
7025 (initialize): Initialize the system loader as well.
7026 (VMClassLoader): Default to LIB_CACHE.
7028 2005-02-02 Tom Tromey <tromey@redhat.com>
7030 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7031 * prims.cc: Fixed comment.
7033 2005-02-01 Tom Tromey <tromey@redhat.com>
7035 * Makefile.in: Rebuilt.
7036 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7037 (.java.class): Use BOOTCLASSPATH.
7039 2005-02-01 Tom Tromey <tromey@redhat.com>
7041 * external/w3c_dom/Makefile.am: New file.
7042 * external/w3c_dom/Makefile.in: New file.
7043 * external/sax/Makefile.am: New file.
7044 * external/sax/Makefile.in: New file.
7045 * external/Makefile.in: New file.
7046 * external/Makefile.am: New file.
7047 * external/README: New file from Classpath.
7048 * configure, aclocal.m4, Makefile.in: Rebuilt.
7049 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7050 * Makefile.am (SUBDIRS): Added external.
7051 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7052 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7053 (BOOTCLASSPATH): New variable.
7054 (AM_GCJFLAGS): Use it.
7055 (gnu_xml_source_files): New variable.
7056 (libgcj_la_SOURCES): Use it.
7057 (libgcj_la_LDADD): Include new convenience libraries.
7058 (lib_org_ietf_jgss_la_SOURCES): Removed.
7059 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7060 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7061 (lib_org_w3c_dom_la_SOURCES): Removed.
7062 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7063 (lib_org_w3c_dom_la_LIBADD): Likewise.
7064 (lib_org_xml_sax_la_SOURCES): Removed.
7065 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7066 (lib_org_xml_sax_la_LIBADD): Likewise.
7067 (all_java_source_files): Updated.
7068 (property_files): Likewise.
7069 (libgcj-@gcc_version@.jar): Include classes from external/.
7070 (javax_source_files): Updated.
7071 (ordinary_java_source_files): Updated.
7072 * javax/xml/XMLConstants.java,
7073 javax/xml/datatype/DatatypeConfigurationException.java,
7074 javax/xml/datatype/DatatypeConstants.java,
7075 javax/xml/datatype/DatatypeFactory.java,
7076 javax/xml/datatype/Duration.java,
7077 javax/xml/datatype/XMLGregorianCalendar.java,
7078 javax/xml/datatype/package.html,
7079 javax/xml/namespace/NamespaceContext.java,
7080 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7081 javax/xml/parsers/DocumentBuilder.java,
7082 javax/xml/parsers/DocumentBuilderFactory.java,
7083 javax/xml/parsers/FactoryConfigurationError.java,
7084 javax/xml/parsers/ParserConfigurationException.java,
7085 javax/xml/parsers/SAXParser.java,
7086 javax/xml/parsers/SAXParserFactory.java,
7087 javax/xml/parsers/package.html,
7088 javax/xml/transform/ErrorListener.java,
7089 javax/xml/transform/OutputKeys.java,
7090 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7091 javax/xml/transform/SourceLocator.java,
7092 javax/xml/transform/Templates.java,
7093 javax/xml/transform/Transformer.java,
7094 javax/xml/transform/TransformerConfigurationException.java,
7095 javax/xml/transform/TransformerException.java,
7096 javax/xml/transform/TransformerFactory.java,
7097 javax/xml/transform/TransformerFactoryConfigurationError.java,
7098 javax/xml/transform/URIResolver.java,
7099 javax/xml/transform/package.html,
7100 javax/xml/transform/dom/DOMLocator.java,
7101 javax/xml/transform/dom/DOMResult.java,
7102 javax/xml/transform/dom/DOMSource.java,
7103 javax/xml/transform/dom/package.html,
7104 javax/xml/transform/sax/SAXResult.java,
7105 javax/xml/transform/sax/SAXSource.java,
7106 javax/xml/transform/sax/SAXTransformerFactory.java,
7107 javax/xml/transform/sax/TemplatesHandler.java,
7108 javax/xml/transform/sax/TransformerHandler.java,
7109 javax/xml/transform/sax/package.html,
7110 javax/xml/transform/stream/StreamResult.java,
7111 javax/xml/transform/stream/StreamSource.java,
7112 javax/xml/transform/stream/package.html,
7113 javax/xml/validation/Schema.java,
7114 javax/xml/validation/SchemaFactory.java,
7115 javax/xml/validation/TypeInfoProvider.java,
7116 javax/xml/validation/Validator.java,
7117 javax/xml/validation/ValidatorHandler.java,
7118 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7119 javax/xml/xpath/XPathConstants.java,
7120 javax/xml/xpath/XPathException.java,
7121 javax/xml/xpath/XPathExpression.java,
7122 javax/xml/xpath/XPathExpressionException.java,
7123 javax/xml/xpath/XPathFactory.java,
7124 javax/xml/xpath/XPathFactoryConfigurationException.java,
7125 javax/xml/xpath/XPathFunction.java,
7126 javax/xml/xpath/XPathFunctionException.java,
7127 javax/xml/xpath/XPathFunctionResolver.java,
7128 javax/xml/xpath/XPathVariableResolver.java,
7129 javax/xml/xpath/package.html: New files, from GNU JAXP.
7130 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7131 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7132 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7133 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7134 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7135 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7136 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7137 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7138 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7139 org/w3c/dom/ranges/DocumentRange.java,
7140 org/w3c/dom/ranges/Range.java,
7141 org/w3c/dom/ranges/RangeException.java,
7142 org/w3c/dom/traversal/DocumentTraversal.java,
7143 org/w3c/dom/traversal/NodeFilter.java,
7144 org/w3c/dom/traversal/NodeIterator.java,
7145 org/w3c/dom/traversal/TreeWalker.java,
7146 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7147 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7148 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7149 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7150 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7151 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7152 org/xml/sax/SAXNotRecognizedException.java,
7153 org/xml/sax/SAXNotSupportedException.java,
7154 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7155 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7156 org/xml/sax/ext/DeclHandler.java,
7157 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7158 org/xml/sax/helpers/AttributeListImpl.java,
7159 org/xml/sax/helpers/AttributesImpl.java,
7160 org/xml/sax/helpers/DefaultHandler.java,
7161 org/xml/sax/helpers/LocatorImpl.java,
7162 org/xml/sax/helpers/NamespaceSupport.java,
7163 org/xml/sax/helpers/NewInstance.java,
7164 org/xml/sax/helpers/ParserAdapter.java,
7165 org/xml/sax/helpers/ParserFactory.java,
7166 org/xml/sax/helpers/XMLFilterImpl.java,
7167 org/xml/sax/helpers/XMLReaderAdapter.java,
7168 org/xml/sax/helpers/XMLReaderFactory.java,
7169 org/xml/sax/helpers/package.html: Moved to external/.
7170 * external/sax/README,
7171 external/sax/org/xml/sax/AttributeList.java,
7172 external/sax/org/xml/sax/Attributes.java,
7173 external/sax/org/xml/sax/ContentHandler.java,
7174 external/sax/org/xml/sax/DTDHandler.java,
7175 external/sax/org/xml/sax/DocumentHandler.java,
7176 external/sax/org/xml/sax/EntityResolver.java,
7177 external/sax/org/xml/sax/ErrorHandler.java,
7178 external/sax/org/xml/sax/HandlerBase.java,
7179 external/sax/org/xml/sax/InputSource.java,
7180 external/sax/org/xml/sax/Locator.java,
7181 external/sax/org/xml/sax/Parser.java,
7182 external/sax/org/xml/sax/SAXException.java,
7183 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7184 external/sax/org/xml/sax/SAXNotSupportedException.java,
7185 external/sax/org/xml/sax/SAXParseException.java,
7186 external/sax/org/xml/sax/XMLFilter.java,
7187 external/sax/org/xml/sax/XMLReader.java,
7188 external/sax/org/xml/sax/package.html,
7189 external/sax/org/xml/sax/ext/Attributes2.java,
7190 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7191 external/sax/org/xml/sax/ext/DeclHandler.java,
7192 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7193 external/sax/org/xml/sax/ext/EntityResolver2.java,
7194 external/sax/org/xml/sax/ext/LexicalHandler.java,
7195 external/sax/org/xml/sax/ext/Locator2.java,
7196 external/sax/org/xml/sax/ext/Locator2Impl.java,
7197 external/sax/org/xml/sax/ext/package.html,
7198 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7199 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7200 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7201 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7202 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7203 external/sax/org/xml/sax/helpers/NewInstance.java,
7204 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7205 external/sax/org/xml/sax/helpers/ParserFactory.java,
7206 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7207 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7208 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7209 external/sax/org/xml/sax/helpers/package.html,
7210 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7211 external/w3c_dom/org/w3c/dom/Attr.java,
7212 external/w3c_dom/org/w3c/dom/CDATASection.java,
7213 external/w3c_dom/org/w3c/dom/CharacterData.java,
7214 external/w3c_dom/org/w3c/dom/Comment.java,
7215 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7216 external/w3c_dom/org/w3c/dom/DOMError.java,
7217 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7218 external/w3c_dom/org/w3c/dom/DOMException.java,
7219 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7220 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7221 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7222 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7223 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7224 external/w3c_dom/org/w3c/dom/Document.java,
7225 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7226 external/w3c_dom/org/w3c/dom/DocumentType.java,
7227 external/w3c_dom/org/w3c/dom/Element.java,
7228 external/w3c_dom/org/w3c/dom/Entity.java,
7229 external/w3c_dom/org/w3c/dom/EntityReference.java,
7230 external/w3c_dom/org/w3c/dom/NameList.java,
7231 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7232 external/w3c_dom/org/w3c/dom/Node.java,
7233 external/w3c_dom/org/w3c/dom/NodeList.java,
7234 external/w3c_dom/org/w3c/dom/Notation.java,
7235 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7236 external/w3c_dom/org/w3c/dom/Text.java,
7237 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7238 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7239 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7240 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7241 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7242 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7243 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7244 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7245 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7246 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7247 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7248 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7249 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7250 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7251 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7252 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7253 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7254 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7255 external/w3c_dom/org/w3c/dom/css/Counter.java,
7256 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7257 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7258 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7259 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7260 external/w3c_dom/org/w3c/dom/css/Rect.java,
7261 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7262 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7263 external/w3c_dom/org/w3c/dom/events/Event.java,
7264 external/w3c_dom/org/w3c/dom/events/EventException.java,
7265 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7266 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7267 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7268 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7269 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7270 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7271 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7272 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7273 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7274 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7275 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7276 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7277 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7278 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7279 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7280 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7281 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7282 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7283 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7284 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7285 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7286 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7287 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7288 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7289 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7290 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7291 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7292 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7293 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7294 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7295 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7296 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7297 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7298 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7299 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7300 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7301 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7302 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7303 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7304 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7305 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7306 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7307 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7308 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7309 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7310 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7311 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7312 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7313 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7314 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7315 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7316 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7317 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7318 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7319 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7320 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7321 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7322 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7323 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7324 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7325 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7326 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7327 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7328 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7329 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7330 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7331 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7332 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7333 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7334 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7335 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7336 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7337 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7338 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7339 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7340 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7341 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7342 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7343 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7344 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7345 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7346 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7347 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7348 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7349 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7350 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7351 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7352 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7353 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7354 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7355 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7356 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7359 2005-01-31 Anthony Green <green@redhat.com>
7361 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7362 Support IP_MULTICAST_LOOP.
7363 (setOption): Support IP_MULTICAST_LOOP.
7365 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7366 SO_REUSEADDR support.
7367 (getOption): Support SO_REUSEADDR.
7369 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7372 * java/util/Date.java
7373 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7375 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7377 (getTimezoneOffset): Inverted sign.
7379 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7381 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7382 remove other passing tests and add new XFAILs.
7384 2005-01-24 Tom Tromey <tromey@redhat.com>
7386 * java/lang/Class.h (next): Updated documentation. Renamed to
7388 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7389 _Jv_CheckABIVersion.
7390 (_Jv_RegisterClasses_Counted): Likewise.
7391 (_Jv_RegisterClassHookDefault): Fix starting condition of
7392 duplicate-checking loop.
7393 * include/jvm.h (GCJ_VERSION): New define.
7394 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7395 (_Jv_CheckABIVersion): New function.
7397 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7399 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7400 (libgij_la_LDFLAGS): Add.
7401 * Makefile.in: Rebuilt.
7403 2005-01-24 Roger Sayle <roger@eyesopen.com>
7406 * testsuite/libjava.compile/PR19295.java: New test case.
7408 2005-01-19 Tom Tromey <tromey@redhat.com>
7410 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7411 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7412 if 'handler' is valid.
7414 2005-01-17 Tom Tromey <tromey@redhat.com>
7416 * java/text/MessageFormat.java (scanString): Changed how quoting
7418 (scanFormatElement): Likewise.
7420 2004-12-07 Mark Wielaard <mark@klomp.org>
7422 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7424 2005-01-15 Michael Koch <konqueror@gmx.de>
7428 (AUTHORITY_REGEXP): New regexp constant.
7429 (AUTHORITY_USERINFO_GROUP): New constant.
7430 (AUTHORITY_HOST_GROUP): Likewise.
7431 (AUTHORITY_PORT_GROUP): Likewise.
7432 (port): Changed default value to -1.
7433 (parseURI): Parse authority part and initialize host,
7436 2005-01-14 Robin Green <greenrd@greenrd.org>
7438 * java/io/File.java (toURI): Generate a URI which we understand.
7440 2005-01-13 Graydon Hoare <graydon@redhat.com>
7442 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7443 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7444 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7445 * jni.cc: Reuse bottom frame between calls, avoid clearing
7446 frame when no local references are made.
7448 2005-01-13 Michael Koch <konqueror@gmx.de>
7451 * java/lang/Thread.java
7452 (Thread): Call checkAccess().
7453 (stop): Fixed argument name to match javadoc.
7454 * java/lang/natThread.cc
7455 (interrupt): Call checkAccess().
7458 2005-01-11 Michael Koch <konqueror@gmx.de>
7461 * java/net/URL.java (URL): Handle specs like
7462 "/redir?http://domain2.com/index.html" which start with a slash.
7464 2005-01-11 Michael Koch <konqueror@gmx.de>
7466 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7467 * gnu/java/net/BASE64.java,
7468 gnu/java/net/EmptyX509TrustManager.java,
7469 gnu/java/net/LineInputStream.java,
7470 gnu/java/net/protocol/http/Authenticator.java,
7471 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7472 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7473 gnu/java/net/protocol/http/ChunkedInputStream.java,
7474 gnu/java/net/protocol/http/Cookie.java,
7475 gnu/java/net/protocol/http/CookieManager.java,
7476 gnu/java/net/protocol/http/Credentials.java,
7477 gnu/java/net/protocol/http/HTTPConnection.java,
7478 gnu/java/net/protocol/http/HTTPDateFormat.java,
7479 gnu/java/net/protocol/http/HTTPURLConnection.java,
7480 gnu/java/net/protocol/http/Headers.java,
7481 gnu/java/net/protocol/http/Request.java,
7482 gnu/java/net/protocol/http/RequestBodyWriter.java,
7483 gnu/java/net/protocol/http/Response.java,
7484 gnu/java/net/protocol/http/ResponseBodyReader.java,
7485 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7486 gnu/java/net/protocol/http/SimpleCookieManager.java,
7487 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7488 gnu/java/net/protocol/http/event/ConnectionListener.java,
7489 gnu/java/net/protocol/http/event/RequestEvent.java,
7490 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7491 * gnu/java/net/protocol/http/Connection.java: Removed.
7492 * gnu/java/net/protocol/http/Handler.java,
7493 javax/net/ssl/HttpsURLConnection.java: Updated.
7494 * Makefile.am: Added new files and remove old ones.
7495 * Makefile.in: Regenerated.
7497 2005-01-11 Tom Tromey <tromey@redhat.com>
7500 * java/io/BufferedInputStream.java (read): Repeatedly read to
7502 (refill): Change test to see if buffer must be grown.
7504 2005-01-10 Tom Tromey <tromey@redhat.com>
7506 * mauve-libgcj: Exclude some swing tests.
7508 2005-01-10 Tom Tromey <tromey@redhat.com>
7510 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7511 * java/lang/Package.java (getPackages): Use VMClassLoader when
7513 (getPackage): Likewise.
7514 * prims.cc (_Jv_CreateJavaVM): Call
7515 _Jv_RegisterBootstrapPackages.
7516 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7517 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7518 (getPackages): Likewise.
7519 (definedPackages): New field.
7520 (definePackageForNative): New method.
7521 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7522 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7523 * defineclass.cc (handleClassBegin): Use
7524 ClassLoader.findLoadedClass.
7525 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7527 (struct _Jv_LoaderInfo): Removed.
7528 (initiated_classes): Likewise.
7529 (_Jv_UnregisterClass): Don't use initiated_classes.
7530 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7531 (_Jv_FindClass): Register classes found during boostrap.
7532 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7533 (bootstrap_class_list): New global.
7534 (bootstrap_index): Likewise.
7535 (_Jv_RegisterBootstrapPackages): New function.
7536 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7537 definePackageForNative.
7538 (findClass): Updated.
7539 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7542 2005-01-10 Tom Tromey <tromey@redhat.com>
7545 * include/jvm.h (_Jv_Linker::find_field): Declare.
7546 (_Jv_Linker::find_field_helper): Likewise.
7547 * link.cc (find_field_helper): New method.
7548 (find_field): Likewise.
7549 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7551 (link_symbol_table): Use find_field.
7553 2005-01-10 Michael Koch <konqueror@gmx.de>
7556 * java/util/Locale.java (Locale): Don't uppercase variant.
7557 (getISOCountries): Fixed typo in javadoc.
7559 2005-01-10 Michael Koch <konqueror@gmx.de>
7561 * java/util/SimpleTimeZone.java (checkRule):
7562 Throw IllegalArgumentException on invalid month values.
7563 * java/util/TimeZone.java (setID):
7564 Throw NullPointerException if needed.
7566 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7568 * java/util/SimpleTimeZone.java (getOffset):
7569 offset end date with daylight savings
7571 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7573 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7574 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7576 2005-01-09 Michael Koch <konqueror@gmx.de>
7579 * java/net/InetAddress.java (getLocalHost):
7580 Throw UnknownHostException if local hostname cannot be determined.
7582 2005-01-06 Tom Tromey <tromey@redhat.com>
7584 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7586 2005-01-07 Michael Koch <konqueror@gmx.de>
7589 * java/nio/Buffer.java (address): New field.
7590 * java/nio/DirectByteBufferImpl.java (address): Removed.
7591 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7592 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7593 Explicitly initialize Buffer.address if needed.
7594 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7595 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7596 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7597 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7598 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7599 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7600 DirectByteBufferImpl object.
7601 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7602 * testsuite/libjava.jni/directbuffer.c,
7603 testsuite/libjava.jni/directbuffer.java,
7604 testsuite/libjava.jni/directbuffer.out,
7605 testsuite/libjava.jni/bytebuffer.c,
7606 testsuite/libjava.jni/bytebuffer.java,
7607 testsuite/libjava.jni/bytebuffer.out: New files.
7609 2005-01-05 Tom Tromey <tromey@redhat.com>
7611 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7613 (compressedSize): Now 'long'. Default to -1.
7614 (getCompressedSize): Rewrote.
7615 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7616 deflate at all if we need input.
7618 2005-01-05 Tom Tromey <tromey@redhat.com>
7621 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7624 2005-01-05 Tom Tromey <tromey@redhat.com>
7626 * java/lang/natRuntime.cc (insertSystemProperties): Set
7627 java.ext.dirs earlier.
7629 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7631 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7632 sync_info element of the object if needed.
7634 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7636 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7637 a non-zero exit status from 'false'.
7639 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7641 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.