1 2005-06-01 Tom Tromey <tromey@redhat.com>
3 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
5 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
8 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
9 (static): Add possessive matching to JAVA_1_4 syntax.
10 * gnu/regexp/RETokenRepeated.java (possessive): New field.
11 (makePossessive, isPossessive): New methods.
12 (match): Don't back off during possessive matching.
13 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
14 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
17 2005-06-01 Keith Seitz <keiths@redhat.com>
19 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
20 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
21 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
23 2005-06-01 Tom Tromey <tromey@redhat.com>
26 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
27 (currentLoader): New method.
28 * java/io/ObjectInputStream.java (resolveProxyClass): Use
30 (currentLoader): Now native.
31 (currentClassLoader): Removed.
32 * testsuite/libjava.lang/pr21785.java: New file.
33 * testsuite/libjava.lang/pr21785.out: New file.
35 2005-06-01 Tom Tromey <tromey@redhat.com>
38 * java/lang/natString.cc (substring): Changed sharing heuristic.
40 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
43 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
44 MAXPATHLEN. Format exception message using a StringBuffer instead.
46 2005-05-29 Michael Koch <konqueror@gmx.de>
49 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
51 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
53 * ChangeLog: Fix typo.
55 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
57 Testsuite adjustments for PR java/19870.
58 * testsuite/libjava.lang/PR19870.java: New testcase.
59 * testsuite/libjava.lang/PR19870.out: Expected output for the
61 * testsuite/libjava.jacks/jacks.xfail: Add
62 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
65 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
67 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
68 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
69 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
71 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
72 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
73 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
74 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
76 2005-05-25 Richard Henderson <rth@redhat.com>
79 * sysdep/descriptor-n.h: New file.
80 * sysdep/descriptor-y.h: New file.
81 * sysdep/powerpc/descriptor.h: New file.
82 * configure.host: Set $descriptor_h appropriate for the host.
83 * configure.ac: Link it.
84 * configure: Regenerate.
85 * stacktrace.cc: Include sysdep/descriptor.h.
86 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
88 2005-05-25 Chris Burdess <dog@gnu.org>
90 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
93 2005-05-24 Gary Benson <gbenson@redhat.com>
96 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
97 Handle DateFormat.DEFAULT case correctly.
99 2005-05-21 Tom Tromey <tromey@redhat.com>
102 * java/lang/ref/natReference.cc (find_slot): Handle case where
103 table has no NULL entries.
104 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
105 table has no NULL entries.
107 2005-05-22 Andreas Jaeger <aj@suse.de>
109 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
112 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
114 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
116 2005-05-19 Richard Henderson <rth@redhat.com>
118 * exception.cc: Revert 05-17 gcc_unreachable change.
120 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
122 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
123 _Jv_RegisterInitiatingLoader to register array classes, not
125 (_Jv_RegisterInitiatingLoader): Give up if called very early during
126 bootstrapping. Add a FIXME to handle this case better.
128 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
130 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
132 (libgcj_la_SOURCES): New. Move sources here.
133 (libgcj.la): Remove rule.
135 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
138 * gnu/java/security/provider/DSASignature.java: Import updates
141 2005-05-18 Anthony Green <green@redhat.com>
143 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
144 classpath_jawt_object_unlock, classpath_jawt_create_lock,
145 classpath_jawt_destroy_lock): New functions.
146 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
147 classpath_jawt_object_unlock, classpath_jawt_create_lock,
148 classpath_jawt_destroy_lock): New functions.
149 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
151 * jawt.c: #include malloc.h.
152 (_Jv_Lock): Use lock.
154 (_Jv_GetDrawingSurface): Initialize lock.
155 (_Jv_FreeDrawingSurface): Destroy lock.
156 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
158 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
160 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
161 * Makefile.in: Regenerate.
163 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
165 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
166 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
167 * aclocal.m4, configure, config.h.in, include/config.h.in,
168 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
169 external/Makefile.in, external/sax/Makefile.in,
170 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
172 2005-05-17 David Daney <ddaney@avtrex.com>
175 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
177 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
179 * exception.cc (abort): Remove std::abort hack.
180 (gcc_unreacheable): Define.
182 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
184 * Makefile.am (Makefile.deps): Do not create native.list and
186 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
187 * Makefile.in: Regenerate.
189 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
191 * configure.ac (--enable-libgcj-multifile): Remove.
193 * Makefile.am (all_native_compiled_source_files,
194 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
195 all_libgcj_lo_files, all_xlib_lo_files,
196 all_java_deps_files, all_java_stamp_files,
197 all_java_filelist_files): New variables.
198 (EXTRA_DIST): New Automake variable.
199 (CLEANFILES): Add .stamp, .list and .lo files.
200 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
201 (classes.stamp): Depend on $(all_java_stamp_files).
202 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
203 going through write_entries_to_file.
205 (all_java_source_files, all_property_files): Move earlier.
206 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
207 all_java_class_files): Remove.
208 (gtk_awt_peer_sources): Rename to...
209 (gtk_awt_peer_source_files): ... this. Adjust throughout.
212 (libgcj0_convenience_la_SOURCES): Remove Java source files.
213 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
214 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
215 (libgcj_la_SOURCES): Remove.
216 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
217 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
218 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
220 * configure: Regenerate.
221 * Makefile.in: Regenerate.
222 * external/Makefile.in: Regenerate.
223 * external/sax/Makefile.in: Regenerate.
224 * external/w3c_dom/Makefile.in: Regenerate.
225 * gcj/Makefile.in: Regenerate.
226 * include/Makefile.in: Regenerate.
227 * libltdl/Makefile.in: Regenerate.
228 * testsuite/Makefile.in: Regenerate.
230 2005-05-16 Tom Tromey <tromey@redhat.com>
232 * java/nio/charset/Charset.java (encode, decode): Synchronize on
233 'this', not the class.
235 2005-05-16 Tom Tromey <tromey@redhat.com>
237 * gnu/java/net/protocol/http/Headers.java (parse): Include final
240 2005-05-16 Tom Tromey <tromey@redhat.com>
243 * java/net/URI.java (unquote): Handle lower-case letters as well.
245 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
248 * gnu/regexp/RE.java: Add support for quoting constructs.
250 2005-05-15 Tom Tromey <tromey@redhat.com>
252 * java/lang/String.java (startsWith): Fixed javadoc.
254 2005-05-15 Tom Tromey <tromey@redhat.com>
257 * testsuite/libjava.compile/pr21519.java: New file.
258 * testsuite/libjava.compile/pr21519.no-link: New file.
260 2005-05-15 Tom Tromey <tromey@redhat.com>
262 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
264 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
267 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
268 interrupt status flag if _Jv_CondWait is interrupted.
270 2005-05-13 Tom Tromey <tromey@redhat.com>
272 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
275 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
277 * include/jvm.h (gcj::verifyClasses): Declare.
278 * link.cc (gcj::verbose_class_flag): Moved.
279 * prims.cc (gcj::verifyClasses): Define here.
280 (gcj::verbose_class_flag): Move definition here.
281 (_Jv_Linker::wait_for_state): Don't call verify_class
282 if gcj::verifyClasses is not set.
283 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
285 2005-05-12 Aaron Luchko <aluchko@redhat.com>
287 * gij.cc (main): Recognize '-verify', '-noverify', and
290 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
292 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
294 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
296 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
299 2005-05-11 Tom Tromey <tromey@redhat.com>
301 * external/w3c_dom/Makefile.in: Rebuilt.
302 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
304 * external/sax/Makefile.in: Rebuilt.
305 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
307 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
309 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
310 Call _Jv_CopyClassesToSystemLoader.
311 * java/lang/natClassLoader.cc (system_class_list): New global.
312 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
314 (_Jv_CopyClassesToSystemLoader): New function.
315 (SYSTEM_LOADER_INITIALIZED): New define.
316 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
317 (_Jv_CheckABIVersion): Use it.
318 (_Jv_ClassForBootstrapLoader): New function.
319 * Makefile.in: Rebuilt.
320 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
322 2005-05-10 Tom Tromey <tromey@redhat.com>
324 * gcj/javaprims.h: Updated.
325 * java/lang/String.java (String(StringBuilder)): New constructor.
326 * java/lang/natStringBuilder.cc: New file.
327 * java/lang/StringBuilder.java: New file.
328 * Makefile.in: Rebuilt.
329 * Makefile.am (core_java_source_files): Added StringBuilder.java.
330 (nat_source_files): Added natStringBuilder.cc.
332 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
335 * testsuite/libjava.jacks/jacks.xfail: Adjust.
337 2005-05-09 Mike Stump <mrs@apple.com>
339 * configure: Regenerate.
341 2005-05-09 David Daney <ddaney@avtrex.com>
343 * java/util/BitSet.java (get(int, int)): Fix breakage when
344 requested set doesn't start on a multiple of 64.
346 2005-05-07 Matthias Klose <doko@debian.org>
348 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
350 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
352 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
353 * Makefile.in: Regenerate.
354 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
355 (createCompatibleVolatileImage(int,int)): Implement.
356 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
358 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
360 (createVolatileImage): Implement.
361 (createBuffers): Likewise.
362 (getBackBuffer): Likewise.
364 (destroyBuffers): Likewise.
365 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
366 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
367 (CanvasFlipBufferStrategy): Likewise.
368 (createBufferStrategy(int)): New method.
369 (createBufferStrategy(int,BufferCapabilities)): Likewise.
370 * java/awt/Component.java (BltBufferStrategy): Implement and
372 (FlipBufferStrategy): Likewise.
373 * java/awt/Window.java (WindowBltBufferStrategy): New class.
374 (WindowFlipBufferStrategy): Likewise.
375 (createBufferStrategy(int)): New method.
376 (createBufferStrategy(int,BufferCapabilities)): Likewise.
377 (getBufferStrategy): Likewise.
378 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
379 front to frontCaps and back to backCaps.
381 2005-05-06 Michael Koch <konqueror@gmx.de>
383 * java/awt/BufferCapabilities.java
384 (BufferCapabilities): Merged javadoc.
386 2005-05-06 Michael Koch <konqueror@gmx.de>
388 * java/util/Locale.java
389 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
390 (getLocale): New methods. Use it everywhere where instances of Locales
392 (getDisplayLanguage): Merged javadoc.
393 (getDisplayCountry): Likewise.
394 (getDisplayVariant): Likewise.
396 2005-05-06 Archie Cobbs <archie@dellroad.org>
398 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
399 use DeleteLocalRef() to avoid exhausting local native references.
401 2005-05-06 Mark Wielaard <mark@klomp.org>
403 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
404 (window_delete_cb): Don't use C++ style comments.
406 2005-05-06 Robert Schuster <thebohemian@gmx.net>
408 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
411 2005-05-06 Robert Schuster <thebohemian@gmx.net>
413 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
414 (window_delete_cb): Made the function return TRUE.
416 2005-05-06 Roman Kennke <roman@kennke.org>
418 * javax/swing/text/PlainView.java
419 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
421 * javax/swing/text/Utilities.java
422 (drawTabbedText): Initilialize local variable pos correctly.
424 2005-05-06 Roman Kennke <roman@kennke.org>
426 * javax/swing/text/AbstractDocument.java
427 (LeafElement): Made start and end package private fields for
428 effective reindexing.
429 * javax/swing/text/PlainDocument.java
430 (constructor): The field rootElement is always BranchElement,
431 so we handle it as such.
432 (removeUpdate): Rewritten reindexing for removeUpdate so that
433 the actual removal is taken into account.
435 2005-05-06 Roman Kennke <roman@kennke.org>
437 * javax/swing/text/GapContent.java:
438 Removed debugging output stuff, which I accidentally left in.
440 2005-05-06 Roman Kennke <roman@kennke.org>
442 * javax/swing/text/GapContent.java:
443 Implemented a real GapContent. Only the public methods have
444 been implemented so far and still no UndoableEdit support.
446 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
448 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
451 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
453 * java/awt/image/BufferStrategy.java: Document.
455 * java/awt/BufferCapabilities.java: Document.
457 2005-05-04 Tom Tromey <tromey@redhat.com>
459 * java/nio/channels/FileLock.java (toString): Entirely avoid
462 2005-05-04 Andrew Overholt <overholt@redhat.com>
464 * java/nio/channels/FileLock.java (toString): Re-implement using
467 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
469 * java/awt/ImageCapabilities.java: Document.
471 * java/awt/image/VolatileImage.java: Unindent copyright header.
473 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
475 * java/awt/image/VolatileImage.java: Document.
477 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
479 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
480 (init_glib_threads): Check if threading system is already
483 2005-05-03 Andrew Overholt <overholt@redhat.com>
486 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
487 could not be acquired.
488 * java/nio/channels/FileLock.java (toString): Re-implement to be
489 in line with other implementations.
491 2005-05-03 Tom Tromey <tromey@redhat.com>
493 * java/lang/VMSecurityManager.java (currentClassLoader): Use
494 'systemClasssLoader' directly.
496 2005-05-03 Tom Tromey <tromey@redhat.com>
498 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
499 call VMClassLoader.getSystemClassLoader.
501 2005-04-29 Michael Koch <konqueror@gmx.de>
503 * java/net/NetworkInterface.java
505 (NetworkInterface(String,InetAddress)): Made package-private.
506 (NetworkInterface(String,InetAddress[])): New constructor.
507 (getRealNetworkInterfaces): Removed.
508 (getByName): Use VMNetworkInterface.getInterfaces().
509 (getByInetAddress): Likewise.
510 (getNetworkInterfaces): Likewise.
511 * java/net/VMNetworkInterface.java,
512 java/net/natVMNetworkInterfaceNoNet.cc,
513 java/net/natVMNetworkInterfacePosix.c,c
514 java/net/natVMNetworkInterfaceWin32.cc: New files.
515 * java/net/natNetworkInterfaceNoNet.cc,
516 java/net/natNetworkInterfacePosix.cc,
517 java/net/natNetworkInterfaceWin32.cc: Removed.
520 * configure, Makefile.in: Regenerated.
522 2005-04-29 Andrew Haley <aph@redhat.com>
524 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
526 2005-04-29 Dalibor Topic <robilad@kaffe.org>
528 * java/nio/channels/FileChannelImpl.java
529 (FileChannelImpl(String, int)): Removed.
530 (FileChannelImpl(File, int)): Added. Check if opened file is a
532 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
533 Call FileChannelImpl(File, int).
534 * java/io/FileOutputStream.java (FileInputStream): Call
535 FileChannelImpl(File, int).
536 * java/io/RandomAccessFile.java (RandomAccessFile):
537 Call FileChannelImpl(File, int). Switched constructors around.
539 2005-04-27 Andrew Haley <aph@redhat.com>
542 * prims.cc (_Jv_ResolvePoolEntry): New function.
543 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
544 * link.cc (_Jv_Linker::find_field): New arg: found_class.
545 (resolve_pool_entry): Initialize the class in which a field is
547 (link_symbol_table): Pass new arg to found_class.
549 2005-04-29 Michael Koch <konqueror@gmx.de>
551 * java/nio/charset/Charset.java
552 (provider): Reformatted.
554 2005-04-29 Michael Koch <konqueror@gmx.de>
556 * gnu/java/net/protocol/http/HTTPConnection.java:
557 (userAgent): Initialize from system properties.
558 (initUserAgent): Removed.
560 2005-04-29 Mark Wielaard <mark@klomp.org>
562 * java/util/ResourceBundle.java (getObject): Clarify
563 MissingResourceException detailed message.
564 (tryBundle(String,ClassLoader)): Likewise.
566 2005-04-29 Robert Schuster <thebohemian@gmx.net>
568 * java/beans/FeatureDescriptor.java:
569 (getShortDescription): Implemented fallback mechanism and fixed
570 documentation (fixes bug #12637).
571 (getDisplayName): Dito.
573 2005-04-29 Robert Schuster <thebohemian@gmx.net>
575 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
576 will now be set correctly.
577 (flushCaches): Now flushes all cached intermediate data.
579 2005-04-28 Michael Koch <konqueror@gmx.de>
581 * java/net/InetAddress.java
582 (aton): Fixed javadoc.
585 2005-04-28 Tom Tromey <tromey@redhat.com>
587 * javax/swing/Timer.java
588 (drainEvents, queueEvent): Now package-private.
590 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
592 * javax/swing/Timer.java
593 (constructor): Assigning initialDelay.
595 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
597 * javax/swing/Timer.java
598 (Waker.run): firing the first action event.
600 2005-04-28 Michael Koch <konqueror@gmx.de>
602 * javax/swing/Timer.java: Reordered all fields and methods,
605 2005-04-28 Michael Koch <konqueror@gmx.de>
607 * javax/swing/Timer.java: Javadocs merged
610 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
612 * gnu/java/net/protocol/file/Connection.java
613 (StaticData): New inner class to contain statics.
614 (connect, getHeaderField): Modified to use StaticData.
616 2005-04-28 Michael Koch <konqueror@gmx.de>
618 * gnu/java/net/protocol/file/Connection.java
619 (lineSeparator): Initialize with SystemProperties.getProperty().
621 2005-04-27 Chris Burdess <dog@gnu.org>
623 * gnu/java/net/protocol/file/Connection.java: Return correct content
624 length for directory listing.
625 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
626 #11285: return valid URLs for directories.i
628 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
630 * Makefile.am (ordinary_java_source_files): Add
631 gnu/java/net/protocol/https/Handler.java.
632 * Makefile.in: Regenerate.
633 * java/net/URL.java: Remove org.metastatic.jessie from default
634 protocol search path.
636 2005-04-27 Chris Burdess <dog@gnu.org>
638 * gnu/java/net/protocol/https/Handler.java: New file.
640 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
642 * javax/imageio/spi/IIORegistry.java (IIORegistry):
643 Don't assume that awt Toolkit is always ClasspathToolkit.
645 2005-04-27 Chris Burdess <dog@gnu.org>
647 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
648 absolute and relative paths in Location header.
650 2005-04-27 Chris Burdess <dog@gnu.org>
652 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
653 FileNotFoundException and implement getErrorStream on 404.
655 2005-04-27 Sven de Marothy <sven@physto.se>
657 * java/util/TimeZone.java,
658 (getDefaultDisplayName): Fix previous fix.
660 2005-04-27 Sven de Marothy <sven@physto.se>
662 * java/util/TimeZone.java,
663 (getDefaultDisplayName): Don't print zero offsets.
665 2005-04-27 Roman Kennke <roman@kennke.org>
667 * javax/swing/plaf/basic/BasicScrollBarUI
668 (getThumbBounds): Do not make thumb smaller than
670 * javax/swing/plaf/metal/MetalLookAndFeel
671 (initComponentDefaults): Added color defaults for ScrollBar.
672 * javax/swing/plaf/metal/MetalScrollBarUI
674 (getMinimumThumbSize): Added.
676 2005-04-27 Roman Kennke <roman@kennke.org>
678 * javax/swing/plaf/metal/MetalLookAndFeel
679 (initComponentDefaults): Added some default colors.
681 2005-04-27 Roman Kennke <roman@kennke.org>
683 * javax/swing/plaf/basic/BasicScrollBarUI.java
684 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
685 to 'ScrollBar.thumbShadow'. The formes does not exist.
686 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
688 2005-04-27 Roman Kennke <roman@kennke.org>
690 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
691 * javax/swing/BoxLayout.java: Likewise.
692 * javax/swing/UIManager.java: Likewise.
693 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
694 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
695 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
696 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
697 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
698 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
699 * javax/swing/text/Document.java: Likewise.
700 * javax/swing/text/GapContent.java: Likewise.
701 * javax/swing/text/SimpleAttributeSet.java: Likewise.
702 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
704 2005-04-27 Roman Kennke <roman@kennke.org>
706 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
707 (getPropertyPrefix): Added.
709 2005-04-27 Roman Kennke <roman@kennke.org>
711 * javax/swing/plaf/basic/BasicButtonUI.java
712 (getPropertyPrefix): Added.
713 (installDefaults): Use getPropertyPrefix instead of hard-coded
716 2005-04-27 Roman Kennke <roman@kennke.org>
718 * javax/swing/JToggleButton.java
719 (JToggleButton): Removed horizontalAlignment setting, this
720 was wrong. Added setting of an actionCommand, ToggleButtons
721 have "" as default actionCommand.
723 2005-04-27 Michael Koch <konqueror@gmx.de>
725 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
726 to work around CNI limitation.
728 2005-04-27 Sven de Marothy <sven@physto.se>
730 * java/nio/charset/Charset.java:
731 (defaultCharset()): New method.
732 Status updated to 1.5
734 2005-04-27 Sven de Marothy <sven@physto.se>
736 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
738 2005-04-27 Sven de Marothy <sven@physto.se>
740 * java/nio/charset/Charset.java: Reset cached de/encoders.
742 2005-04-27 Robert Schuster <thebohemian@gmx.net>
744 * java/nio/charset/Charset.java (forName): Throws
745 IllegalArgumentException when argument is null
746 and added documentation.
748 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
750 * java/nio/charset/Charset.java (providers):
751 New method to make an array of CharsetProviders defined in
752 META-INF/services/java.nio.charset.spi.CharsetProvider.
753 (charsetForName, availableCharsets): Use the
754 new method providers().
756 2005-04-26 Michael Koch <konqueror@gmx.de>
758 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
759 Fixed typos in javadocs.
760 (isSiteLocalAddress): Fixed handling of byte values.
761 (isMCLinkLocal): Likewise.
762 * java/net/Inet4Address.java
763 (isMulticastAddress): Call super method.
764 (isLoopbackAddress): Likewise.
765 (isAnyLocalAddress): Likewise.
766 (isLinkLocalAddress): Likewise.
767 (isSiteLocalAddress): Likewise.
768 (isMCGlobal): Likewise.
769 (isMCNodeLocal): Likewise.
770 (isMCLinkLocal): Likewise.
771 (isMCSiteLocal): Likewise.
772 (isMCOrgLocal): Likewise.
773 (getHostAddress): Likewise.
775 2005-04-26 Sven de Marothy <sven@physto.se>
777 * java/net/InetAddress.java
778 (toString): Don't print empty hostnames.
780 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
783 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
784 'false' to native lock().
785 (lock): Pass 'true' to native lock().
787 2005-04-26 Michael Koch <konqueror@gmx.de>
789 * java/net/InetAddress.java:
790 Fixed typos in javadocs.
792 2005-04-26 Andrew Haley <aph@redhat.com>
795 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
798 2005-04-26 Tom Tromey <tromey@redhat.com>
800 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
801 gnu): Now package-private.
802 * javax/swing/text/html/parser/DocumentParser.java (parser,
803 callBack, gnu): Now package-private.
804 * javax/swing/text/StringContent.java (content, setOffset,
805 checkLocation): Now package-private.
806 * javax/swing/text/JTextComponent.java (doc): Now
808 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
809 lastGoodOrientation, origParent, borders, cachedBounds,
810 cachedOrientation, DragWindow): Now package-private.
811 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
812 decrButton, viewport, panel, currentScrollLocation, layoutManager,
813 tabAreaRect, contentRect, createIncreaseButton,
814 createDecreaseButton, findPointForIndex): Now package-private.
815 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
816 (currentDividerLocation, moveDividerTo): Now package-private.
817 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
819 * javax/swing/plaf/basic/BasicScrollBarUI.java
820 (calculatePreferredSize, valueForYPosition, valueForXPosition):
822 * javax/swing/plaf/basic/BasicPopupMenuUI.java
823 (topWindowListener): Now package-private.
824 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
825 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
826 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
828 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
830 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
832 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
834 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
835 borderInsets): Now package-private.
836 (arrowButtonWidth): Likewise. Now a constant.
837 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
838 makeTabs, updatePreviewPanel): Now package-private.
839 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
840 darkShadow, highlight): Now package-private.
841 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
842 (addColorToQueue): Now package-private.
843 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
844 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
845 GSpinner, BSpinner): Now package-private.
846 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
847 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
848 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
849 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
850 updateTrack): Now package-private.
851 * javax/swing/TransferHandler.java (clipboard): Now
853 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
855 * javax/swing/Timer.java (drainEvents, queueEvent): Now
857 * javax/swing/RepaintManager.java (globalManager): Now
859 * javax/swing/JFormattedTextField.java (editValid): Now
861 * javax/swing/JColorChooser.java (makeModal): Now
863 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
864 index, path): Now package-private.
865 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
866 lineQuadIntersect, lineCubicIntersect, linesIntersect,
867 pointEquals): Now package-private.
868 * java/awt/geom/Arc2D.java (type): Now package-private.
869 * java/awt/Window.java (windowFocusOwner): Now package-private.
870 * java/awt/TextComponent.java (editable, selectionStart,
871 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
873 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
875 * java/awt/MenuComponent.java (focusListener): Now
877 * java/awt/Frame.java (state): Now package-private.
878 * java/awt/Choice.java (pItems): Now package-private.
879 * java/awt/Checkbox.java (state): Now package-private.
880 * java/awt/Button.java (actionCommand, label): Now
882 * gnu/javax/swing/text/html/parser/support/Parser.java
883 (attributes, _handleEndTag_remaining, _handleStartTag): Now
885 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
887 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
888 clip, transform, font, comp): Now package-private.
890 2005-04-26 Tom Tromey <tromey@redhat.com>
892 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
895 2005-04-26 Mark Wielaard <mark@klomp.org>
897 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
898 to MalformedURLException.
900 2005-04-26 Michael Koch <konqueror@gmx.de>
902 * java/security/AccessControlContext.java:
904 (protectedDomains): Renamed from 'protectionDomain'.
905 * java/security/AccessController.java:
908 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
910 * gnu/java/security/action/GetSecurityPropertyAction.java
911 (GetSecurityPropertyAction): Implement PrivilegedAction instead
912 of extending GetPropertyAction.
915 (setParamters): New methods.
916 (GetSecurityPropertyAction): Use new setParameters methods.
918 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
920 * java/security/Security.java,
921 java/security/cert/X509CRLSelector.java,
922 java/security/cert/X509CertSelector.java:
923 Modified to use SystemProperties.
925 2005-04-26 Michael Koch <konqueror@gmx.de>
927 * java/lang/System.java
928 (setSecurityManager): Fixed comment.
929 (getSecurityManager): Removed obsolete comment.
931 2005-04-25 Tom Tromey <tromey@redhat.com>
933 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
935 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
937 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
938 (connectSignals): Realize the window widget after connecting
941 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
943 * java/awt/GraphicsEnvironment.java
944 (localGraphicsEnvironment): New field.
945 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
947 (isHeadless): Added support for java.awt.headless property.
948 (isHeadlessInstance): Call headless().
950 2005-04-25 Roman Kennke <roman@kennke.org>
952 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
953 (getDisplayMode): Added. Returns the current display mode.
954 (isFullScreenSupported): Added.
955 * java/awt/GraphicsDevice.java
956 (setFullScreenWindow): Implemented a primitive fullscreen mode.
957 This resizes and relocates the fullscreen window so that it uses
958 the whole screen. This is not a fully accelerated fullscreen
961 2005-04-25 Michael Koch <konqueror@gmx.de>
963 * java/lang/Runtime.java,
964 java/lang/SecurityManager.java,
965 java/lang/System.java,
966 java/lang/ThreadGroup.java:
967 Replaced java.lang.Runtime.securityManager by
968 java.lang.SecurityManager.current (as used in GNU classpath).
970 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
972 * java/awt/Transparency.java
973 (getTransparency): fixed API docs.
975 2005-04-25 Archie Cobbs <archie@dellroad.org>
977 * java/lang/Throwable.java: simplify initializing cause in constructor
979 2005-04-25 Michael Koch <konqueror@gmx.de>
981 * gnu/classpath/SystemProperties.java: New file.
982 * gnu/classpath/natSystemProperties.cc: New file.
983 * java/lang/Runtime.java
984 (defaultProperties): Removed.
986 (): Made thrown exceptions more verbose.
987 (insertSystemProperties): Removed.
988 * java/lang/System.java
990 (properties): Likewise.
991 (setSecurityManager): Reordered modifiers.
992 (getenv): Improved javadoc.
994 (isWordsBigEndian): Removed.
995 * java/lang/natRuntime.cc
996 (_Jv_SetDLLSearchPath): Likewise.
997 (file_encoding): Likewise.
998 (default_file_encoding): Likewise.
999 (getpwuid_adaptor): Likewise.
1000 (insertSystemProperties): Likewise.
1001 * java/lang/natSystem.cc
1002 (isWordsBigEndian): Likewise.
1004 (ordinary_java_source_files):
1005 Added gnu/classpath/SystemProperties.java.
1006 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1007 * Makefile.in: Regenerated.
1009 2005-04-25 Roman Kennke <roman@kennke.org>
1011 * javax/swing/plaf/basic/BasicScrollBarUI.java
1012 (initDefaults): Initialize thumb*Color fields correctly.
1014 2005-04-25 Roman Kennke <roman@kennke.org>
1016 * javax/swing/text/GapContent.java:
1019 2005-04-25 Roman Kennke <roman@kennke.org>
1021 * javax/swing/plaf/metal/MetalBorders.java:
1022 Added inner class ScrollPaneBorder.
1023 * javax/swing/plaf/metal/MetalLookAndFeel.java
1024 (initComponentDefaults): Added default for "ScrollPane.border"
1025 to use the new ScrollPaneBorder.
1027 2005-04-25 Roman Kennke <roman@kennke.org>
1029 * javax/swing/text/AbstractDocument.java:
1030 Added FIXME comments. This class still has to be
1031 implemented thread-safe.
1033 2005-04-25 Roman Kennke <roman@kennke.org>
1035 * javax/swing/tree/DefaultTreeSelectionModel.java
1036 (DefaultTreeSelectionModel): Initialize listenerList here.
1038 2005-04-25 Roman Kennke <roman@kennke.org>
1040 * javax/swing/plaf/metal/MetalTextFieldUI.java
1041 (createUI): Return one instance per Component instead of a
1044 2005-04-25 Roman Kennke <roman@kennke.org>
1046 * javax/swing/text/Document.java:
1047 Added API documentation comments.
1049 2005-04-25 Roman Kennke <roman@kennke.org>
1051 * javax/swing/text/AbstractDocument.java
1052 (getDocumentProperties): Implemented.
1053 (setDocumentProperties): Implemented.
1054 (getProperty): Implemented.
1055 (putProperty): Implemented.
1057 2005-04-25 Roman Kennke <roman@kennke.org>
1059 * javax/swing/BoxLayout
1060 (preferredLayoutSize): Fixed computation so that it correctly
1061 adds the top and bottom insets of the container.
1063 2005-04-25 Roman Kennke <roman@kennke.org>
1065 * javax/swing/plaf/basic/BasicMenuItemUI.java
1066 (paintText): Make use of the 'selectionForeground' UI default
1069 2005-04-25 Roman Kennke <roman@kennke.org>
1071 * javax/swing/plaf/basic/BasicLookAndFeel.java
1072 (initSystemColorDefaults): Modified colors to match the
1073 BasicLookAndFeel in the reference implementation.
1074 (initComponentDefaults): Likewise.
1076 2005-04-25 Tom Tromey <tromey@redhat.com>
1078 * include/jni.h (_Jv_va_list): Removed.
1079 Moved configuration code...
1080 * include/jni_md.h: ... here. New file.
1081 * include/Makefile.in: Rebuilt.
1082 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1084 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1086 * java/io/FileInputStream.java (FileInputStream(File)),
1087 java/io/FileOutputStream.java (FileOutputStream(File)):
1088 Removed unnecessary File.isDirectory() check.
1090 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1092 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1093 gij if get_multilibs fails.
1095 2005-04-22 Anthony Green <green@redhat.com>
1097 * jni.cc (natrehash): Don't bother clearing memory again.
1098 * interpret.cc (do_allocate_static_fields): Ditto.
1099 * java/lang/natString.cc (rehash): Ditto.
1101 2005-04-22 Roman Kennke <roman@kennke.org>
1103 * javax/swing/plaf/basic/BasicLookAndFeel.java
1104 (initComponentDefaults): Changed Button.border to be
1105 BasicBorders.getButtonBorder as it should be.
1107 2005-04-22 Roman Kennke <roman@kennke.org>
1109 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1110 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1111 should according to a mauve testcase, instead of the preferred
1114 2005-04-22 Roman Kennke <roman@kennke.org>
1116 * javax/swing/JMenu.java
1117 (add): add(Component) now calls PopupMenu.insert(..) instead of
1118 PopupMenu.add(..). add(..) is not implemented for Component,
1119 so JComponent.add(..) is called instead, adding the component
1122 2005-04-22 Roman Kennke <roman@kennke.org>
1124 * javax/swing/plaf/basic/BasicButtonListener.java
1125 (mousePressed): replaced query to getModifiersEx with getModifiers.
1126 This method relied on faulty behaviour in getModifierEx.
1127 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1128 This method relied on faulty behaviour in getModifierEx.
1130 2005-04-22 Roman Kennke <roman@kennke.org>
1132 * javax/swing/plaf/metal/MetalLookAndFeel.java
1133 (getDefaults): Call addCustomEntriesToTable on the theme.
1135 2005-04-22 Roman Kennke <roman@kennke.org>
1137 * javax/swing/tree/DefaultTreeSelectionModel.java
1138 (constructor): Added implementation.
1139 (getRowMapper): Added implementation.
1140 (setSelectionMode): Added implementation.
1141 (getSelectionMode): Added implementation.
1142 (getSelectionPath): Added implementation.
1143 (getSelectionPaths): Added implementation.
1144 (getSelectionCount): Added implementation.
1145 (isSelectionEmpty): Added implementation.
1146 (getSelectionRows): Added implementation.
1147 (getMinSelectionRow): Added implementation.
1148 (getMaxSelectionRow): Added implementation.
1149 (getLeadSelectionRow): Added implementation.
1150 (getLeadSelectionPath): Added implementation.
1152 2005-04-22 Casey Marshall <csm@gnu.org>
1154 * gnu/java/security/der/DERValue.java
1155 (getValueAs): new method.
1156 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1157 (<init>): read both dates with 'DERValue.getValueAs', with
1158 'GENERALIZED_TIME' as the argument.
1160 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1162 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1163 be null, check for that case and don't deference it.
1165 2005-04-22 Sven de Marothy <sven@physto.se>
1167 * java/util/logging/LogManager.java: Reformatted.
1168 (readConfiguration): If a logger for a key is not found, create one.
1170 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1172 * java/rmi/Naming.java:
1173 Added class documentation.
1174 (lookup(String)): Call parseURL and getName.
1175 (bind(String,java.rmi.Remote)): Likewise.
1176 (unbind(String)): Likewise.
1177 (rebind(String, java.rmi.Remote)): Likewise.
1178 (list(String)): Call parseURL.
1179 (parseURL(String)): New method to handle parsing and defaults.
1180 (getName(java.net.URL)): New method to handle finding the service name.
1182 2005-04-21 Tom Tromey <tromey@redhat.com>
1184 * java/lang/natClass.cc (initializeClass): Link class.
1186 2005-04-21 Tom Tromey <tromey@redhat.com>
1188 * java/lang/AssertionError.java: Typo fix.
1190 2005-04-21 Tom Tromey <tromey@redhat.com>
1192 * java/lang/VMClassLoader.java (transformException): Removed.
1193 (resolveClass): No longer native. Now does nothing.
1194 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1196 2005-04-21 Anthony Green <green@redhat.com>
1199 * testsuite/libjava.special/special.exp,
1200 testsuite/libjava.special/pr21115I.java,
1201 testsuite/libjava.special/pr21115.java,
1202 testsuite/libjava.special/pr21115.out: New files.
1204 2005-04-21 Chris Burdess <dog@gnu.org>
1206 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1207 CRLF-delimited chunks.
1209 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1211 * java/net/URI.java:
1212 Added class documentation.
1213 (parseURI(String)): Only handle scheme-specific parts
1214 if URI is not opaque. Allow for parts that can't be null.
1215 (toString()): Output the scheme-specific part whole, rather
1216 than as its possibly non-existent components.
1218 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1220 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1221 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1222 Adjusted to match new regexp.
1224 2005-04-20 Michael Koch <konqueror@gmx.de>
1226 * gnu/java/net/protocol/file/Connection.java,
1227 gnu/java/net/protocol/jar/Connection.java:
1228 Reorganized import statements. Fixed @author tags.
1230 2005-04-20 Chris Burdess <dog@gnu.org>
1232 * java/io/DataOutputStream.java (writeUTF): Use block write for
1235 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1237 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1238 (readLine): Changed newline handling.
1240 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1242 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1243 ColorModel,byte[],int,int): Fixed byte to int conversion.
1245 2005-04-20 Michael Koch <konqueror@gmx.de>
1247 * java/io/FilePermission.java
1248 (serialVersionUID): Made private.
1249 (ALL_FILES): New constant.
1250 (implies): Handle '<<ALL FILES>>' case.
1252 2005-04-20 Sven de Marothy <sven@physto.se>
1254 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1255 (drawImage): Don't notify the image observer for offscreen images.
1256 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1257 (setPixels): Don't notify the image observer.
1259 2005-04-20 Sven de Marothy <sven@physto.se>
1261 * java/nio/ByteBufferImpl.java:
1262 (putChar): Inlined for speed.
1263 (put, get): Bulk methods can use arraycopy.
1264 * java/nio/CharBufferImpl.java:
1265 (put, get): Bulk methods can use arraycopy.
1267 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1269 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1271 * java/nio/CharBufferImpl.java
1272 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1273 (get(), put(char)): Inlined checks and field updates. Fixed to
1274 take array_offset into account.
1275 (get(int), put(int, char)): Fixed to take array_offset into account.
1277 2005-04-20 Sven de Marothy <sven@physto.se>
1279 * java/text/SimpleDateFormat.java:
1280 (formatWithAttribute): Pad year before truncating digits.
1282 2005-04-20 Michael Koch <konqueror@gmx.de>
1284 * gnu/java/net/PlainDatagramSocketImpl.java:
1285 Merged copyright header.
1286 * gnu/java/net/PlainSocketImpl.java:
1287 Reorganized import statements. Fixed @author tags.
1289 2005-04-20 Michael Koch <konqueror@gmx.de>
1291 * gnu/java/lang/ClassHelper.java,
1292 gnu/java/lang/reflect/TypeSignature.java:
1295 2005-04-20 Michael Koch <konqueror@gmx.de>
1297 * gnu/java/beans/IntrospectionIncubator.java:
1298 Fixed HTML tags in javadocs.
1300 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1302 * gnu/java/beans/IntrospectionIncubator.java
1303 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1304 set(), is(), add() and remove() with properties or events.
1306 2005-04-20 Michael Koch <konqueror@gmx.de>
1308 * gnu/java/awt/image/XBMDecoder.java:
1309 Fixed modifier order.
1311 2005-04-20 Roman Kennke <roman@kennke.org>
1313 * javax/swing/plaf/basic/BasicButtonUI.java
1314 (paint): This should not care about margin and insets
1315 at the same time, as insets already include the margin
1317 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1318 (getPreferredButtonSize): Likewise.
1319 * javax/swing/plaf/metal/MetalBorders.java
1320 (getBorderInsets): Likewise.
1322 2005-04-20 Roman Kennke <roman@kennke.org>
1324 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1325 (createMessageArea): The JPanel that holds the message area
1326 doesn't need to override getPreferredSize. This prevents some
1327 message components from rendering nicely.
1329 2005-04-20 Roman Kennke <roman@kennke.org>
1331 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1332 (createUI): Do not share instances between components.
1333 * javax/swing/plaf/metal/MetalSliderUI.java
1334 (createUI): Do not share instances between components.
1336 2005-04-20 Roman Kennke <roman@kennke.org>
1338 * javax/swing/plaf/metal/MetalBorders:
1339 (PopupMenuBorder): Added.
1340 * javax/swing/plaf/metal/MetalLookAndFeel
1341 (initComponentDefaults): Added PopupMenuBorder.
1343 2005-04-20 Roman Kennke <roman@kennke.org>
1345 * javax/swing/tree/DefaultTreeSelectionModel.java:
1346 Added API documentation all over the class.
1348 2005-04-20 Roman Kennke <roman@kennke.org>
1350 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1351 (installDefaults): Link managed JScrollPane in instance field.
1352 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1354 2005-04-20 Roman Kennke <roman@kennke.org>
1356 * javax/swing/plaf/basic/BasicScrollBarUI.java
1357 (PropertyChangeHandler.propertyChange): Add default
1358 to switch statement to avoid errors with unusual values
1360 (installComponents): Likewise.
1362 2005-04-20 Roman Kennke <roman@kennke.org>
1364 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1365 (createUI): Instances cannot be shared among JScrollPanes.
1367 2005-04-20 Roman Kennke <roman@kennke.org>
1369 * javax/swing/plaf/metal/MetalLookAndFeel.java
1370 (initComponentDefaults): Added defaults for Menu, MenuBar
1373 2005-04-20 Roman Kennke <roman@kennke.org>
1375 * javax/swing/plaf/basic/BasicScrollBarUI.java
1376 (installUI): Install listeners after everything all, otherwise
1377 we get strange NPEs in some situations, especially with
1379 (createIncreaseButton): Orientation is expected to be
1380 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1381 HORIZONTAL or VERTICAL.
1382 (createDecreaseButton): Orientation is expected to be
1383 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1384 HORIZONTAL or VERTICAL.
1385 (installComponents): Orientation for buttons is expected to be
1386 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1387 HORIZONTAL or VERTICAL.
1389 2005-04-20 Roman Kennke <roman@kennke.org>
1391 * javax/swing/JToolBar.java
1392 (addImpl): Adjust added AbstractButtons to look and feel like
1394 * javax/swing/plaf/metal/MetalBorders.java:
1395 Adjusted insets of ButtonBorder.
1396 (RolloverMarginBorder): Added class for toolbar buttons.
1397 (getButtonBorder): Adjusted factory method to return a shared
1398 instance of button border.
1399 (getToolbarButtonBorder): Added factory method to return a shared
1400 instance of toolbar button border.
1401 (getMarginBorder): Added factory method to return a shared
1402 instance of margin border.
1403 * javax/swing/plaf/metal/MetalButtonUI.java
1404 (installDefauls): If button is child of a JToolBar then set
1405 special border on this button.
1407 2005-04-20 Michael Koch <konqueror@gmx.de>
1409 * java/net/URLConnection.java
1410 (getContent): Fixed javadoc comment.
1412 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1414 * java/net/URL.java:
1415 (toURI()): Implemented.
1417 2005-04-19 Michael Koch <konqueror@gmx.de>
1419 * java/net/InetAddress.java
1420 (InetAddress): Fixed javadoc comment.
1422 (lookup): Added javadoc.
1423 (getFamily): Likewise.
1424 * java/net/ServerSocket.java
1425 (getChannel): Improved javadoc comment.
1427 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1429 * gnu/xml/dom/html2/DomHTMLParser.java:
1430 Changed 'enum' references to become 'enumeration'.
1432 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1434 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1436 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1438 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1439 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1440 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1441 (validateParameters(TagElement,htmlAttributeSet)):
1442 Replaced 'enum' with 'enumeration'.
1443 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1446 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1448 * javax/swing/text/html/parser/Entity.java (getType): New method.
1449 * javax/swing/text/html/parser/DocumentParser.java:
1450 Inherit from javax.swing.text.html.parser.Parser.
1452 2005-04-19 Chris Burdess <dog@gnu.org>
1454 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1455 check for HTML/XHTML namespace.
1457 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1459 * javax/swing/text/html/parser/Parser.java,
1460 javax/swing/text/html/parser/Entity.java:
1461 Inheriting from DTDConstants.
1462 * javax/swing/text/html/parser/AttributeList.java
1463 (getValues): Changed return type.
1464 * javax/swing/text/html/parser/DocumentParser
1465 (parse): Adding the callback parameter that receives
1468 2005-04-19 Chris Burdess <dog@gnu.org>
1470 * gnu/xml/dom/DomImpl.java,
1471 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1472 gnu/xml/dom/html2/DomHTMLDocument.java,
1473 gnu/xml/dom/html2/DomHTMLElement.java,
1474 gnu/xml/dom/html2/DomHTMLFormElement.java,
1475 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1476 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1477 gnu/xml/dom/html2/DomHTMLImpl.java,
1478 gnu/xml/dom/html2/DomHTMLInputElement.java,
1479 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1480 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1481 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1482 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1483 gnu/xml/dom/html2/DomHTMLTableElement.java,
1484 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1485 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1486 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1487 UI events, and tree utility functions.
1489 2005-04-19 Michael Koch <konqueror@gmx.de>
1491 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1492 gnu/javax/swing/text/html/parser/gnuDTD.java,
1493 gnu/javax/swing/text/html/parser/models/node.java:
1494 Reworked import statements.
1496 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1498 * javax/swing/text/html/HTMLDocument.java: New file.
1500 2005-04-19 Michael Koch <konqueror@gmx.de>
1502 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1504 * javax/swing/text/html/parser/AttributeList.java:
1505 Fixed order of modifiers.
1506 (AttributeList): Made final.
1507 * javax/swing/text/html/parser/ContentModel.java:
1508 Fixed html characters in javadocs.
1509 * javax/swing/text/html/parser/DTD.java
1510 (DTD): Don't implement java.io.Serializable directly.
1511 (getElement): Simplified.
1512 * javax/swing/text/html/parser/DTDConstants.java:
1514 * javax/swing/text/html/parser/Element.java:
1515 Fixed order of modifiers.
1516 * javax/swing/text/html/parser/Parser.java:
1517 Reformatted. Don't use fully-qualified class names.
1518 * javax/swing/text/html/parser/ParserDelegator.java:
1519 Fixed order of modifiers.
1520 * javax/swing/text/rtf/RTFParser.java:
1521 Re-ordered import statements.
1522 * javax/swing/text/rtf/RTFScanner.java:
1523 Removed unused import statement.
1525 2005-04-19 Chris Burdess <dog@gnu.org>
1527 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1528 gnu/xml/dom/html2/DomHTMLCollection.java,
1529 gnu/xml/dom/html2/DomHTMLDocument.java,
1530 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1532 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1533 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1534 gnu/xml/dom/html2/DomHTMLDivElement.java,
1535 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1536 gnu/xml/dom/html2/DomHTMLFontElement.java,
1537 gnu/xml/dom/html2/DomHTMLFormElement.java,
1538 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1539 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1540 gnu/xml/dom/html2/DomHTMLHRElement.java,
1541 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1542 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1543 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1544 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1545 gnu/xml/dom/html2/DomHTMLImageElement.java,
1546 gnu/xml/dom/html2/DomHTMLInputElement.java,
1547 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1548 gnu/xml/dom/html2/DomHTMLLIElement.java,
1549 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1550 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1551 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1552 gnu/xml/dom/html2/DomHTMLMapElement.java,
1553 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1554 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1555 gnu/xml/dom/html2/DomHTMLModElement.java,
1556 gnu/xml/dom/html2/DomHTMLOListElement.java,
1557 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1558 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1559 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1560 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1561 gnu/xml/dom/html2/DomHTMLParamElement.java,
1562 gnu/xml/dom/html2/DomHTMLPreElement.java,
1563 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1564 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1565 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1566 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1567 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1568 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1569 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1570 gnu/xml/dom/html2/DomHTMLTableElement.java,
1571 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1572 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1573 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1574 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1575 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1577 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1579 * javax/swing/text/ChangedCharSetException.java,
1580 javax/swing/text/html/HTMLEditorKit.java,
1581 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1582 javax/swing/text/html/parser/AttributeList.java,
1583 javax/swing/text/html/parser/ContentModel.java,
1584 javax/swing/text/html/parser/DocumentParser.java,
1585 javax/swing/text/html/parser/DTD.java,
1586 javax/swing/text/html/parser/DTDConstants.java,
1587 javax/swing/text/html/parser/Element.java,
1588 javax/swing/text/html/parser/Entity.java,
1589 javax/swing/text/html/parser/Parser.java,
1590 javax/swing/text/html/parser/TagElement.java,
1591 gnu/javax/swing/text/html/package.html,
1592 gnu/javax/swing/text/html/parser/gnuDTD.java,
1593 gnu/javax/swing/text/html/parser/HTML_401F.java,
1594 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1595 gnu/javax/swing/text/html/parser/htmlValidator.java,
1596 gnu/javax/swing/text/html/parser/package.html,
1597 gnu/javax/swing/text/html/parser/models/list.java,
1598 gnu/javax/swing/text/html/parser/models/node.java,
1599 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1600 gnu/javax/swing/text/html/parser/models/package.html,
1601 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1602 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1603 gnu/javax/swing/text/html/parser/models/transformer.java,
1604 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1605 gnu/javax/swing/text/html/parser/support/package.html,
1606 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1607 gnu/javax/swing/text/html/parser/support/Parser.java,
1608 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1609 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1610 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1611 gnu/javax/swing/text/html/parser/support/low/Location.java,
1612 gnu/javax/swing/text/html/parser/support/low/node.java,
1613 gnu/javax/swing/text/html/parser/support/low/package.html,
1614 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1615 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1616 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1617 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1619 * javax/swing/text/html/HTML.java,
1620 javax/swing/text/html/parser/ParserDelegator.java:
1621 New files (replacing).
1622 * javax/swing/text/html/package.html,
1623 javax/swing/text/html/parser/package.html: Documenting the
1626 2005-04-19 Chris Burdess <dog@gnu.org>
1628 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1629 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1630 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1631 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1632 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1633 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1634 gnu/xml/dom/html2/DomHTMLBRElement.java,
1635 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1636 gnu/xml/dom/html2/DomHTMLCollection.java,
1637 gnu/xml/dom/html2/DomHTMLDocument.java,
1638 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1640 2005-04-19 Michael Koch <konqueror@gmx.de>
1642 * Makefile.am: Added new files.
1643 * Makefile.in: Regenerated.
1645 2005-04-19 Roman Kennke <roman@kennke.org>
1647 * javax/swing/text/JTextComponent.java
1648 (JTextComponent): Added repaintListener which issues repaint
1649 requests when the underlying document changes.
1650 (setDocument): Adds repaintListener to document when the
1651 document is changed.
1652 * javax/swing/text/DefaultEditorKit.java:
1653 Removed repaint calls on JTextComponent. This is now handled
1654 through a DocumentListener in JTextComponent that repaints
1655 the component when needed.
1657 2005-04-19 Roman Kennke <roman@kennke.org>
1660 * javax/swing/text/StyleContext.java
1661 (NamedStyle.setResolveParent): Added null
1664 2005-04-19 Michael Koch <konqueror@gmx.de>
1666 * java/rmi/server/RemoteObject.java:
1667 Removed unused import statement.
1669 2005-04-19 Michael Koch <konqueror@gmx.de>
1671 * java/net/URL.java: Formatting cleanups.
1673 2005-04-19 Michael Koch <konqueror@gmx.de>
1675 * java/awt/FontMetrics.java: Reformatted.
1676 (getFontRenderContext): Handle case when java.awt.Graphics context is
1679 2005-04-19 Michael Koch <konqueror@gmx.de>
1681 * java/awt/FontMetrics.java
1682 (getStringBounds): New methods.
1685 2005-04-19 Michael Koch <konqueror@gmx.de>
1687 * gnu/java/security/x509/X509Certificate.java
1688 (parse): Handle val == null case.
1690 2005-04-19 Roman Kennke <roman@kennke.org>
1692 * javax/swing/plaf/metal/MetalLookAndFeel.java
1693 (initComponentDefaults): Added defaults for Menu, MenuBar
1696 2005-04-19 Roman Kennke <roman@kennke.org>
1698 * javax/swing/plaf/metal/MetalLookAndFeel.java
1699 (initComponentDefaults): Added Label.font.
1700 (initSystemColorDefaults): Added this method and adjusted the
1701 general control color.
1703 2005-04-19 Roman Kennke <roman@kennke.org>
1705 * javax/swing/plaf/metal/MetalBorders.java:
1707 * javax/swing/plaf/metal/MetalButtonUI.java:
1708 (installDefaults): Install button font.
1709 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1710 (initComponentDefaults): Added button border, font and margin.
1711 Changed components background color to the Metal current themes
1714 2005-04-19 Roman Kennke <roman@kennke.org>
1716 * javax/swing/plaf/metal/MetalLookAndFeel.java
1717 (initComponentDefaults): Added to set Metal specific component
1720 2005-04-19 Mark Wielaard <mark@klomp.org>
1722 * javax/swing/plaf/metal/MetalLookAndFeel.java
1723 (initClassDefaults): Call super.initClassDefaults().
1725 2005-04-19 Roman Kennke <roman@kennke.org>
1727 * javax/swing/plaf/metal/MetalLookAndFeel.java
1728 (initClassDefaults): Added to include the *UI classes.
1730 2005-04-19 Roman Kennke <roman@kennke.org>
1732 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1734 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1736 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1738 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1740 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1742 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1744 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1746 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1748 * javax/swing/plaf/metal/MetalSliderUI.java:
1750 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1752 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1754 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1756 2005-04-19 Roman Kennke <roman@kennke.org>
1758 * javax/swing/plaf/metal/MetalButtonUI.java:
1759 Added skeleton class.
1760 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1761 Added skeleton class.
1762 * javax/swing/plaf/metal/MetalLabelUI.java:
1763 Added skeleton class.
1764 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1765 Added skeleton class.
1766 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1767 Added skeleton class.
1768 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1769 Added skeleton class.
1771 2005-04-19 Roman Kennke <roman@kennke.org>
1773 * javax/swing/UIDefaults.java:
1774 Added API documentation for all methods.
1776 2005-04-19 Roman Kennke <roman@kennke.org>
1778 * javax/swing/UIDefaults.java
1779 (put): Now uses new checkAndPut method instead of checking
1781 (putDefaults): Fixed so that it accepts null-values and
1782 treats them like remove(key).
1783 (checkAndPut): Added. This checks for null-values and calls
1786 2005-04-19 Michael Koch <konqueror@gmx.de>
1788 * Makefile.am: Added new files.
1789 * Makefile.in: Regenerated.
1791 2005-04-19 Mark Wielaard <mark@klomp.org>
1793 * java/lang/natRuntime.cc (insertSystemProperties): Set
1794 java.class.path to CLASSPATH only when not empty. Fall back to
1795 default path "." when java.class.path is empty.
1797 2005-04-19 Michael Koch <konqueror@gmx.de>
1799 * javax/swing/text/rtf/ControlWordToken.java,
1800 javax/swing/text/rtf/RTFEditorKit.java,
1801 javax/swing/text/rtf/RTFParseException.java,
1802 javax/swing/text/rtf/RTFParser.java,
1803 javax/swing/text/rtf/RTFScanner.java,
1804 javax/swing/text/rtf/TextToken.java,
1805 javax/swing/text/rtf/Token.java: New files.
1806 * Makefile.am: Added new files.
1807 * Makefile.in: Regenerated.
1809 2005-04-19 Michael Koch <konqueror@gmx.de>
1811 * java/awt/geom/QuadCurve2D.java:
1812 Fixed Brian Gough's name for real.
1814 2005-04-19 Roman Kennke <roman@kennke.org>
1816 * javax/swing/UIManager.java:
1817 Make the UIManager respect the swing.defaultlaf system
1820 2005-04-19 Tom Tromey <tromey@redhat.com>
1822 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1825 2005-04-19 Roman Kennke <roman@kennke.org>
1827 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1828 Fixed tabs to spaces.
1830 2005-04-19 Roman Kennke <roman@kennke.org>
1832 * javax/swing/plaf/basic/BasicMenuUI.java
1833 (getMaximumSize): Now returns preferredSize because JMenu should
1834 never be bigger than that.
1835 * javax/swing/JRootPane
1836 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1838 2005-04-19 Roman Kennke <roman@kennke.org>
1840 * javax/swing/JRootPane.java:
1841 Fixed various tabs to be spaces.
1842 (RootLayout.layoutContainer): Made menubar left aligned.
1844 2005-04-19 Roman Kennke <roman@ontographics.com>
1846 * javax/swing/JList.java
1847 (getPreferredScrollableViewportSize):
1848 The previous implementation was merely guessing the size,
1849 now it respects layoutOrientation, visibleRowCount
1851 (getScrollableTracksViewportHeight):
1852 Reimplemented so that layoutOrientation, visibleRowCount
1853 and preferred size are respected.
1854 (getScrollableTracksViewportWidth):
1855 Reimplemented so that layoutOrientation, visibleRowCount
1856 and preferred size are respected.
1857 * javax/swing/plaf/basic/BasicListUI.java
1859 Improved calculation of preferredSize when JList is
1860 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1862 The previous implementation assumed a layoutOrientation of
1863 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1864 JList.VERTICAL_WRAP.
1866 2005-04-19 Roman Kennke <roman@ontographics.com>
1868 * javax/swing/plaf/basic/BasicListUI.java
1869 (paintCell): use CellRendererPane for painting the cells.
1871 2005-04-19 Roman Kennke <roman@ontographics.com>
1873 * javax/swing/plaf/basic/BasicListUI:
1874 fixed modifiers of several fields, methods and inner
1875 classes to match the 'spec'.
1876 (getMaximumSize): removed. It's not in the spec and the
1877 implementations was superfluous.
1879 2005-04-19 Roman Kennke <roman@ontographics.com>
1881 * javax/swing/plaf/basic/BasicListUI:
1882 make BasicListUI capable of wrapping lists
1883 (layoutOrientation property of javax.swing.JList)
1885 2005-04-19 Roman Kennke <roman@ontographics.com>
1887 * javax/swing/plaf/basic/BasicListUI
1888 (updateLayoutState,paint): make BasicListUI aware of the
1889 width of the rendered JList.
1891 2005-04-19 Roman Kennke <roman@kennke.org>
1893 * javax/swing/ImageIcon.java
1894 Added API documentation.
1896 2005-04-19 Roman Kennke <roman@kennke.org>
1898 * javax/swing/text/ImageIcon.java
1899 (ImageIcon): Use setImage instead of direct assignment.
1900 (setImage): Call loadImage to make sure that the image is loaded.
1901 (loadImage): Waits for the image to complete loading.
1902 (getImageLoadStatus): Added. Returns the load status of the
1905 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1907 * javax/swing/JTextArea.java (replaceRange):
1908 Fixing doc.remove(start, length) misinterpretation.
1910 2005-04-19 Roman Kennke <roman@ontographics.com>
1912 * javax/swing/CellRendererPane.java:
1913 implemented all methods of this class.
1914 reformatted all wrong formatted code.
1916 2005-04-19 Roman Kennke <roman@kennke.org>
1918 * javax/swing/BoxLayout.java:
1919 (layoutContainer): Made this layout manager respect the
1920 minimum, maximum and preferred size more correctly.
1922 2005-04-19 Roman Kennke <roman@ontographics.com>
1924 * javax/swing/BoxLayout.java:
1925 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1926 layoutContainer): Make these methods and thereby the
1927 BoxLayout respect the insets (like borders) of the
1928 component that is laid out.
1930 2005-04-19 Roman Kennke <roman@kennke.org>
1932 * javax/swing/JComponent.java:
1933 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1934 Untabified the file.
1936 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1938 * javax/swing/JComboBox.java (constructors): selecting the
1939 first item if the box was constructed from the provided
1940 non - empty array or vector.
1942 2005-04-19 Michael Koch <konqueror@gmx.de>
1944 * gnu/java/awt/peer/gtk/GdkGraphics.java
1945 (getClipBounds): Handle clip being null.
1946 (setClip): Likewise.
1947 * java/beans/beancontext/BeanContextSupport.java
1951 (removeAll): Likewise.
1952 (retainAll): Likewise.
1954 2005-04-19 Michael Koch <konqueror@gmx.de>
1956 * java/beans/beancontext/BeanContextServicesSupport.java
1957 (BeanContextServicesSupport): Reimplemented.
1958 (addBeanContextServicesListener): Implemented.
1959 (initialize): Likewise.
1960 (removeBeanContextServicesListener): Likewise.
1961 * java/beans/beancontext/BeanContextSupport.java
1963 (addBeanContextMembershipListener): Likewise.
1964 (getLocale): Likewise.
1965 (initialize): Likewise.
1966 (iterator): Likewise.
1968 (toArray): Likewise.
1970 2005-04-19 Roman Kennke <roman@kennke.org>
1972 * java/awt/MediaTracker.java:
1973 Reindented tabs to spaces.
1975 2005-04-19 Roman Kennke <roman@kennke.org>
1977 * java/awt/MediaTracker.java
1978 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1979 confused the media tracker and lead to lockups. The LOADING
1980 bit is handled on other places.
1981 (addImage): Removed the 'start image tracking' stuff. This
1982 is not necessary and could confuse the media tracker.
1983 (checkAll): Improved the check for image status so that
1984 images that already complete images are detected. Also now
1985 are really all images checked and if necessary loaded. Before
1986 the method bailed out after the first incomplete image.
1987 (statusAll): Detect images that are complete after the
1988 call to Component.prepareImage(..).
1989 (checkID): The same as in checkAll.
1990 (statusID): The same as in statusAll.
1992 2005-04-19 Roman Kennke <roman@kennke.org>
1994 * java/awt/MediaTracker.java
1995 (addImage): Synchronized list access.
1996 (waitForAll): Fixed comparison of time (changed < to >).
1997 (waitForID): Fixed comparison of time (changed < to >).
1998 (removeImage): Synchronized list access.
2000 2005-04-19 Roman Kennke <roman@kennke.org>
2002 * java/awt/MediaTracker.java
2003 Added API documentation.
2005 2005-04-19 Roman Kennke <roman@kennke.org>
2007 * java/awt/MediaTracker.java
2008 (MediaEntry.imageUpdate): Fixed flags. The different flags
2009 must not be ORed together.
2010 (checkAll): Modified to handle different meaning of the flags.
2011 (waitForAll): Fixed so that it waits maximum the
2012 specified amount of milliseconds.
2013 (statusAll): Modified to handle different meaning of the flags.
2014 (waitForID): Fixed so that it waits maximum the
2015 specified amount of milliseconds.
2017 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2019 * java/awt/Font.java (decode): Handle null argument and allow
2022 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2024 * java/beans/EventHandler.java: Reworked documentation.
2025 (invoke): Fixed behavior to match spec.
2027 2005-04-19 Michael Koch <konqueror@gmx.de>
2029 * java/awt/print/PrinterJob.java
2030 (pageDialog): New method.
2031 (printDialog): Implemented.
2033 2005-04-19 Michael Koch <konqueror@gmx.de>
2035 * java/awt/image/ConvolveOp.java:
2036 Removed comment added by eclipse.
2038 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2040 * java/awt/image/IndexColorModel.java
2041 (getRGB): Check if pixel is negative.
2043 2005-04-19 Michael Koch <konqueror@gmx.de>
2045 * java/awt/image/RasterOp.java:
2046 Fixed wrong formatting.
2048 2005-04-18 Roman Kennke <roman@kennke.org>
2050 * java/awt/Compmonent.java
2051 (setComponentOrientation): Made this property firing a
2052 PropertyChangeEvent.
2054 2005-04-18 Roman Kennke <roman@kennke.org>
2056 * java/awt/BorderLayout.java
2057 (calcSize): Check for overflow when component sizes are added.
2059 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2061 * java/awt/AWTEvent.java (toString): Added case
2062 for source not being an AWT component.
2064 2005-04-18 Chris Burdess <dog@gnu.org>
2066 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2068 2005-04-18 Michael Koch <konqueror@gmx.de>
2070 gnu/java/awt/EmbeddedWindowSupport.java,
2071 gnu/java/net/HeaderFieldHelper.java,
2072 gnu/java/net/URLParseError.java,
2073 gnu/java/net/protocol/file/Handler.java,
2074 gnu/java/net/protocol/jar/Handler.java:
2075 Fixed usage of @author tag.
2077 2005-04-18 Michael Koch <konqueror@gmx.de>
2079 * gnu/xml/aelfred2/XmlParser.java:
2080 Reverted my typo fix.
2082 2005-04-18 Michael Koch <konqueror@gmx.de>
2084 * java/awt/geom/CubicCurve2D.java,
2085 java/awt/geom/QuadCurve2D.java:
2086 Fixed mentioning of Brian Gouph.
2088 2005-04-18 Michael Koch <konqueror@gmx.de>
2090 * gnu/java/awt/Buffers.java,
2091 gnu/java/awt/image/ImageDecoder.java,
2092 gnu/java/awt/image/XBMDecoder.java,
2093 gnu/java/awt/peer/ClasspathFontPeer.java,
2094 gnu/java/net/CRLFInputStream.java,
2095 gnu/java/net/EmptyX509TrustManager.java,
2096 gnu/java/net/LineInputStream.java,
2097 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2098 gnu/java/net/protocol/ftp/BlockInputStream.java,
2099 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2100 gnu/java/net/protocol/ftp/DTP.java,
2101 gnu/java/net/protocol/ftp/DTPInputStream.java,
2102 gnu/java/net/protocol/ftp/FTPConnection.java,
2103 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2104 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2105 gnu/java/net/protocol/ftp/StreamInputStream.java,
2106 gnu/java/net/protocol/http/ChunkedInputStream.java,
2107 gnu/java/net/protocol/http/HTTPConnection.java,
2108 gnu/java/net/protocol/http/HTTPURLConnection.java,
2109 gnu/java/net/protocol/http/Headers.java,
2110 gnu/java/net/protocol/http/Request.java,
2111 gnu/java/nio/ChannelInputStream.java,
2112 gnu/java/nio/ChannelOutputStream.java,
2113 gnu/java/nio/InputStreamChannel.java,
2114 gnu/java/nio/OutputStreamChannel.java,
2115 gnu/java/nio/SelectorProviderImpl.java,
2116 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2117 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2118 gnu/java/rmi/dgc/DGCImpl.java,
2119 gnu/java/rmi/registry/RegistryImpl.java,
2120 gnu/java/rmi/server/ProtocolConstants.java,
2121 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2122 gnu/java/rmi/server/RMIIncomingThread.java,
2123 gnu/java/rmi/server/RMIObjectInputStream.java,
2124 gnu/java/rmi/server/RMIObjectOutputStream.java,
2125 gnu/java/rmi/server/RMIVoidValue.java,
2126 gnu/java/rmi/server/UnicastConnectionManager.java,
2127 gnu/java/rmi/server/UnicastRef.java,
2128 gnu/java/rmi/server/UnicastRemoteCall.java,
2129 gnu/java/rmi/server/UnicastRemoteStub.java,
2130 gnu/java/rmi/server/UnicastServerRef.java,
2131 gnu/java/security/OID.java,
2132 gnu/java/security/der/DERReader.java,
2133 gnu/java/security/provider/CollectionCertStoreImpl.java,
2134 gnu/java/security/provider/DSAParameterGenerator.java,
2135 gnu/java/security/provider/DefaultPolicy.java,
2136 gnu/java/security/provider/EncodedKeyFactory.java,
2137 gnu/java/security/provider/GnuDHPublicKey.java,
2138 gnu/java/security/provider/GnuDSAPrivateKey.java,
2139 gnu/java/security/provider/GnuDSAPublicKey.java,
2140 gnu/java/security/provider/GnuRSAPrivateKey.java,
2141 gnu/java/security/provider/GnuRSAPublicKey.java,
2142 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2143 gnu/java/security/provider/RSA.java,
2144 gnu/java/security/provider/SHA1PRNG.java,
2145 gnu/java/security/provider/SHA1withRSA.java,
2146 gnu/java/security/provider/X509CertificateFactory.java,
2147 gnu/java/security/x509/GnuPKIExtension.java,
2148 gnu/java/security/x509/X500DistinguishedName.java,
2149 gnu/java/security/x509/X509CRL.java,
2150 gnu/java/security/x509/X509CRLEntry.java,
2151 gnu/java/security/x509/X509CertPath.java,
2152 gnu/java/security/x509/X509CertSelectorImpl.java,
2153 gnu/java/security/x509/X509Certificate.java,
2154 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2155 gnu/java/security/x509/ext/BasicConstraints.java,
2156 gnu/java/security/x509/ext/CRLNumber.java,
2157 gnu/java/security/x509/ext/CertificatePolicies.java,
2158 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2159 gnu/java/security/x509/ext/Extension.java,
2160 gnu/java/security/x509/ext/GeneralNames.java,
2161 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2162 gnu/java/security/x509/ext/KeyUsage.java,
2163 gnu/java/security/x509/ext/PolicyConstraint.java,
2164 gnu/java/security/x509/ext/PolicyMappings.java,
2165 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2166 gnu/java/security/x509/ext/ReasonCode.java,
2167 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2168 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2169 Reorganized import statements.
2171 2005-04-18 Michael Koch <konqueror@gmx.de>
2173 * gnu/java/awt/color/CieXyzConverter.java,
2174 gnu/java/awt/color/ClutProfileConverter.java,
2175 gnu/java/awt/color/ColorLookUpTable.java,
2176 gnu/java/awt/color/ColorSpaceConverter.java,
2177 gnu/java/awt/color/GrayProfileConverter.java,
2178 gnu/java/awt/color/GrayScaleConverter.java,
2179 gnu/java/awt/color/LinearRGBConverter.java,
2180 gnu/java/awt/color/ProfileHeader.java,
2181 gnu/java/awt/color/PyccConverter.java,
2182 gnu/java/awt/color/RgbProfileConverter.java,
2183 gnu/java/awt/color/SrgbConverter.java,
2184 gnu/java/awt/color/TagEntry.java,
2185 gnu/java/awt/color/ToneReproductionCurve.java:
2186 Standardized file headers.
2188 2005-04-16 Tom Tromey <tromey@redhat.com>
2190 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2191 'ANY' package-private.
2193 2005-04-15 Tom Tromey <tromey@redhat.com>
2195 * Makefile.in: Rebuilt.
2196 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2197 (libgcj0_convenience_la_LIBADD): ... here.
2199 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2201 * gij.cc (version): Properly quote java version.
2202 (main): Fix typo in comment.
2204 2005-04-13 Mark Wielaard <mark@klomp.org>
2206 * java/lang/natRuntime.cc (insertSystemProperties): Set
2207 java.class.path to CLASSPATH if not already set.
2209 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2211 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2213 2005-04-12 Mike Stump <mrs@apple.com>
2215 * configure: Regenerate.
2217 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2220 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2221 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2223 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2226 * scripts/TexinfoDoclet.java: Removed.
2227 * Makefile.am (texinfo): Removed.
2228 * Makefile.in: Regenerated.
2230 2005-04-11 Michael Koch <konqueror@gmx.de>
2232 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2233 Fixed wrong casting.
2235 2005-04-06 Andrew Haley <aph@redhat.com>
2237 * testsuite/libjava.lang/bytearray.java: New file.
2238 * testsuite/libjava.lang/bytearray.out: New file.
2239 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2240 (loadClass): Use it.
2241 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2243 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2245 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2246 gcj-dbtool dependency
2247 * Makefile.in: Regenerated
2249 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2251 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2252 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2254 2005-04-05 Andrew Haley <aph@redhat.com>
2256 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2257 (Tokenizer): New class.
2258 (getFiles): New method.
2259 (main): Add "-" argument.
2261 Read list of files from stdin when merging map databases.
2262 (usage): Add "-" argument.
2266 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2269 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2270 * Makefile.in: Regenerate.
2271 * configure.ac: Add --with-java-home option.
2272 * configure: Regenerate.
2273 * external/Makefile.in: Regenerate.
2274 * external/sax/Makefile.in: Regenerate.
2275 * external/w3c_dom/Makefile.in: Regenerate.
2276 * gcj/Makefile.in: Regenerate.
2277 * include/Makefile.in: Regenerate.
2278 * testsuite/Makefile.in: Regenerate.
2279 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2282 2005-04-05 Tom Tromey <tromey@redhat.com>
2284 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2285 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2286 Rewrote to use _Jv_FindClassFromSignature.
2287 * verify.cc (resolve): throw NoClassDefFoundError.
2288 * link.cc (resolve_field): Throw NoClassDefFoundError.
2289 (find_field): Likewise.
2290 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2291 Handle error cases. Added 'endp' argument.
2292 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2294 2005-04-05 Tom Tromey <tromey@redhat.com>
2296 * Makefile.in: Rebuilt.
2297 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2298 gtk_awt_peer_sources.
2299 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2300 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2301 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2302 (gtk-awt-peer.lo): New target.
2304 2005-04-04 Steve Pribyl <steve@netfuel.com>
2307 * configure.ac: Fix fastjar definition for cross builds.
2308 * configure: Rebuilt.
2310 2005-04-04 Tom Tromey <tromey@redhat.com>
2312 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2313 it was already found.
2315 2005-04-04 Tom Tromey <tromey@redhat.com>
2317 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2318 org.metastatic.jessie.
2320 2005-04-02 Anthony Green <green@redhat.com>
2323 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2325 2005-04-02 Mark Wielaard <mark@klomp.org>
2327 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2328 Attributes and attribute order doesn't matter.
2329 (BasicAttributesEnumeration.where): Initialize to zero.
2330 (BasicAttributesEnumeration.nextElement): Update and compare where
2331 appropriately (zero based).
2333 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2335 PR libgcj/20090, PR libgcj/20526
2336 * gij.cc (nonstandard_opts_help): New function.
2337 (add_option): New function.
2338 (main): Support java options. Set java.class.path. Don't set
2340 * prims.cc (parse_x_arg): New function.
2341 (parse_init_args): Call parse_x_arg for -X and _ options, when
2342 ignoreUnrecognized is true.
2343 (new _Jv_RunMain): New vm_args variant.
2344 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2345 (_Jv_Jar_Class_Path): Remove variable.
2346 * include/java-props.h: Likewise.
2347 * include/cni.h (JvRealloc): New function.
2348 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2349 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2350 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2352 * configure.ac (JV_VERSION): Define.
2353 (JV_API_VERSION): Likewise.
2354 * configure: Regenerate.
2355 * include/config.h.in: Regenerate.
2357 2005-04-01 Mark Anderson <mark@panonet.net>
2359 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2360 -Infinity as parameters.
2362 2005-04-01 Michael Koch <konqueror@gmx.de>
2364 * java/io/PipedInputStream.java
2365 (read): Make sure a positive byte value is returned. Revised javadoc.
2366 Thanks to Olafur Bragason for reporting these bugs.
2368 2005-04-01 Tom Tromey <tromey@redhat.com>
2370 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2371 Updated for name change.
2372 (nativeFindClass): New method.
2373 (loadClass): Use nativeFindClass.
2374 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2376 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2377 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2379 (initialize): New method.
2380 (nativeFindClass): Declare.
2381 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2382 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2383 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2385 (definePackageForNative): Removed.
2386 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2387 Moved to VMClassLoader.java.
2388 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2389 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2390 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2391 removed VMClassLoader.java.
2392 (nat_source_files): Removed natVMClassLoader.cc.
2394 2005-04-01 Tom Tromey <tromey@redhat.com>
2396 * Makefile.in: Rebuilt.
2397 * Makefile.am (db_pathtail): Use $(gcc_version), not
2400 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2402 * java/util/Timer.java
2403 (run): Stop the queue if a task throws an exception.
2405 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2407 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2409 2005-03-29 Ian Lance Taylor <ian@airs.com>
2411 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2412 * external/sax/Makefile.in: Rebuild.
2413 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2415 * external/w3c_dom/Makefile.in: Rebuild.
2417 2005-03-29 Tom Tromey <tromey@redhat.com>
2419 * java/lang/natRuntime.cc (insertSystemProperties): Set
2420 gnu.gcj.runtime.endorsed.dirs.
2421 * Makefile.in: Rebuilt.
2422 * Makefile.am (ordinary_java_source_files): Added
2423 HelperClassLoader.java.
2424 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2425 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2427 (init): Use addDirectoriesFromProperty.
2428 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2429 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2430 gnu.gcj.runtime.endorsed.dirs.
2431 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2433 2005-03-26 Chris Burdess <dog@gnu.org>
2435 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2438 2005-03-13 Michael Koch <konqueror@gmx.de>
2440 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2442 2005-03-11 Chris Burdess <dog@gnu.org>
2444 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2447 2005-02-27 Chris Burdess <dog@gnu.org>
2449 * gnu/xml/aelfred2/JAXPFactory.java,
2450 gnu/xml/aelfred2/SAXDriver.java,
2451 gnu/xml/aelfred2/XmlParser.java,
2452 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2453 formatting conventions. Replaced arrays of Object with struct-like
2454 classes for easier maintainability. Made SAXDriver.stringInterning
2455 package private to allow access from XmlParser inside the loop without
2456 a method call overhead.
2458 2005-03-11 Chris Burdess <dog@gnu.org>
2460 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2463 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2465 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2466 settings to sub Makefiles.
2467 (GCJH, ZIP): Prefix with top_builddir.
2468 * configure: Rebuild.
2469 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2470 * external/w3c_dom/Makefile.in: Rebuild.
2471 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2472 * external/sax/Makefile.in: Rebuild.
2474 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2476 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2477 libsocket to the libraries to link for Solaris.
2479 2005-03-28 Per Bothner <per@bothner.com>
2481 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2482 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2484 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2486 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2487 to fix a ONESTEP fallout.
2488 * Makefile.in: Regenerate.
2490 2005-03-25 Mike Stump <mrs@apple.com>
2492 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2493 paths like we do for the compiler, as we use it in external/sax
2494 and it doesn't get MULTIBUILDTOP right when multilibing.
2496 2005-03-24 Anthony Green <green@redhat.com>
2498 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2500 (usage): Add [LIBDIR] to help output.
2501 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2502 * Makefile.am (AM_CXXFLAGS): Define
2503 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2504 (db_pathtail): New macro.
2506 2005-03-24 Tom Tromey <tromey@redhat.com>
2508 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2509 add sax and w3c libraries.
2510 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2512 * external/w3c_dom/Makefile.in: Rebuilt.
2513 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2515 (libw3c_gcj_la_LDFLAGS): New variable.
2516 (noinst_LTLIBRARIES): Renamed.
2517 * external/sax/Makefile.in: Rebuilt.
2518 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2520 (libsax_gcj_la_LDFLAGS): New variable.
2521 (noinst_LTLIBRARIES): Renamed.
2523 2005-03-23 Tom Tromey <tromey@redhat.com>
2525 * Makefile.in: Rebuilt.
2526 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2527 (libgcj0_convenience_la_SOURCES): Don't include
2528 gnu_xml_source_files.
2529 (libgcj0_convenience_la_LIBADD): New variable.
2530 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2531 (all_java_source_files): javax_imageio_source_files,
2532 javax_xml_source_files, and gnu_java_beans_source_files.
2533 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2534 (gnu-xml.lo): New target.
2535 (javax-imageio.lo): Likewise.
2536 (javax-xml.lo): Likewise.
2537 (gnu-java-beans.lo): Likewise.
2538 (gnu_java_beans_source_files): New variable.
2539 (javax_imageio_source_files): Likewise.
2540 (javax_xml_source_files): Likewise.
2541 (javax_source_files): Moved files to other variable.
2542 (awt_java_source_files): Likewise.
2543 (ordinary_java_source_files): Added BootClassLoader.java.
2544 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2545 not system class loader.
2546 (initBootLoader): New method.
2547 (loadClass): Search bootLoader.
2548 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2549 boot loader, not system class loader.
2550 (_Jv_UnregisterInitiatingLoader): Likewise.
2551 (_Jv_FindClass): Likewise. Ensure entries in
2552 bootstrap_class_list are unique.
2553 * java/lang/natClass.cc (getClassLoader): Don't special case
2554 system class loader.
2555 * java/lang/VMClassLoader.java (bootLoader): New field.
2556 (getResource): Use bootLoader.
2557 (getResources): Likewise.
2558 (initBootLoader): Declare.
2559 * gnu/gcj/runtime/BootClassLoader.java: New file.
2560 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2561 (EMPTY_ENUMERATION): Now package-private.
2562 * external/w3c_com/Makefile.in: Rebuilt.
2563 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2564 (w3c.jar): New target.
2565 (classes.stamp): Updated.
2566 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2567 Changed name of library.
2568 (libw3c_gcj_la_SOURCES): New variable.
2569 (libw3c_gcj_la_GCJFLAGS): Likewise.
2570 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2571 * external/sax/Makefile.in: Rebuilt.
2572 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2573 (sax.jar): New target.
2574 (classes.stamp): Updated.
2575 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2576 Changed name of library.
2577 (libsax_gcj_la_SOURCES): New variable.
2578 (libsax_gcj_la_GCJFLAGS): Likewise.
2579 (source_files): Renamed from libsax_convenience_la_SOURCES.
2580 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2582 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2584 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2586 2005-03-23 Sven de Marothy <sven@physto.se>
2588 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2590 * java/util/Calendar.java
2591 (set): Use starting day of week when one is needed if none is given.
2592 * java/text/SimpleDateFormat.java
2593 (parse): Handle 1-12 and 1-24 timestamps correctly.
2594 * java/util/GregorianCalendar.java
2595 (computeTime, computeFields): HOUR should be in 0-11 format.
2596 (nonLeniencyCheck): Adjust leniency checking to that fact.
2597 (getLinearDay): Should be private.
2599 2005-03-23 Tom Tromey <tromey@redhat.com>
2601 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2602 (_Jv_CheckABIVersion): Use it.
2604 2005-03-22 Mike Stump <mrs@apple.com>
2606 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2608 * include/posix.h: .dylib is used on all Apple MACH platforms.
2609 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2611 2005-03-22 Tom Tromey <tromey@redhat.com>
2613 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2615 2005-03-21 Tom Tromey <tromey@redhat.com>
2617 * java/lang/VMCompiler.java (static block): Also catch
2618 BufferUnderflowException.
2620 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2622 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2623 set tool_include_dir. In all substitutions, leave $(gcc_version)
2624 to be expanded by the Makefile.
2625 * aclocal.m4, configure: Regenerate.
2626 * Makefile.am: Set gcc_version. Replace all uses of
2627 @gcc_version@ with $(gcc_version).
2628 * external/Makefile.am, external/sax/Makefile.am
2629 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2630 * testsuite/Makefile.am: Set gcc_version.
2631 * include/Makefile.am: Set gcc_version and tool_include_dir.
2632 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2633 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2634 * testsuite/Makefile.in: Regenerate.
2636 2005-03-17 Andrew Haley <aph@redhat.com>
2638 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2640 Pass klass to _Jv_StackTrace::GetClassContext().
2641 * java/lang/ClassLoader.java (getParent): Pass class to
2642 VMSecurityManager.getClassContext()
2643 (getSystemClassLoader): Likewise.
2644 * java/lang/Package.java (getPackage): Likewise.
2645 (getPackages): Likewise.
2646 * java/lang/SecurityManager.java (getClassContext): Likewise.
2647 (currentClassLoader): Likewise.
2648 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2649 (currentClassLoader) Add new arg: caller.
2650 Pass caller to VMSecurityManager.getClassContext.
2652 * stacktrace.cc (GetClassContext): Correct calculation of
2655 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2656 im->source_file_name.
2658 2005-03-16 Andrew Haley <aph@redhat.com>
2660 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2662 2005-03-16 Tom Tromey <tromey@redhat.com>
2664 * link.cc (ensure_class_linked): Removed #ifdef.
2665 (print_class_loaded): Likewise.
2666 (wait_for_state): Likewise.
2667 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2668 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2669 * include/java-interp.h: ... here.
2671 2005-03-16 Tom Tromey <tromey@redhat.com>
2673 * gnu/java/lang/MainThread.java (run): Load main class using
2674 system class loader.
2676 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2678 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2679 lgcc_s to the libraries to link for Darwin.
2681 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2683 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2684 interpreter-specific code with #ifdef INTERPRETER.
2685 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2686 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2687 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2688 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2689 #ifdef INTERPRETER. Also protect declarations that use it.
2690 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2691 #ifdef INTERPRETER block.
2693 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2696 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2697 * Makefile.in: Rebuilt.
2699 2005-03-15 David Daney <ddaney@avtrex.com>
2701 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2704 2005-03-15 David Daney <ddaney@avtrex.com>
2706 * java/io/BufferedInputStream.java (available): Use 'in' instead
2707 of 'super' for underlying stream access.
2709 (read(byte[], int, int)): Ditto.
2711 (skip): Call skip on underlying stream when possible.
2713 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2715 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2716 SJLJ_EXCEPTIONS is defined.
2718 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2720 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2723 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2725 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2727 (libjava_arguments): Likewise.
2729 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2730 (gcj_jni_test_one): Likewise.
2731 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2732 Add flags to keep the Darwin linker quiet.
2733 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2734 Add -liconv for Darwin.
2736 2005-03-11 Tom Tromey <tromey@redhat.com>
2738 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2739 (_Jv_CheckABIVersion): Use it.
2741 2005-03-11 Tom Tromey <tromey@redhat.com>
2743 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2744 (usage): Document '-p'.
2745 * Makefile.in: Rebuilt.
2746 * Makefile.am (dbexecdir): New variable.
2747 (db_name): Likewise.
2748 (dbexec_DATA): Likewise.
2749 ($(db_name)): New target.
2750 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2751 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2754 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2756 * exception.cc: Remove stray MethodRef.h include.
2757 * java/lang/natClass.cc: Likewise.
2758 * gnu/gcj/runtime/MethodRef.java: Removed.
2759 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2760 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2761 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2762 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2763 * Makefile.in: Rebuilt.
2765 2005-03-10 Tom Tromey <tromey@redhat.com>
2767 * Makefile.in: Rebuilt.
2768 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2770 2005-03-10 Chris Burdess <dog@bluezoo.org>
2772 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2773 not currently parsing the DTD.
2775 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2777 New Stack Trace infrastructure.
2778 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2779 (gnu/gcj/runtime/StackTrace.java): Removed.
2780 (ordinary_java_source_files): Remove obsolete files.
2781 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2782 * configure.host (fallback_backtrace_h): Set backtrace header
2783 for mingw and cygwin targets.
2784 * configure.ac: Make symlink for fallback backtrace headers.
2785 * Makefile.in, configure: Rebuilt.
2786 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2787 Read 'LineNumberTable' attribute.
2788 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2790 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2792 * exception.cc: Remove unused include.
2793 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2794 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2795 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2796 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2797 table to direct threaded instruction values.
2798 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2799 (_Jv_InterpMethod::run): No longer member function. All
2800 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2801 is made or where an instruction could throw.
2802 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2804 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2805 (catch_fpe): Likewise.
2806 * stacktrace.cc: New file. Stack trace code now here.
2807 * gnu/gcj/runtime/MethodRef.java:
2808 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2809 calls addr2line to look up PC addresses in a given binary or shared
2811 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2812 gnu/gcj/runtime/natStackTrace.cc: Removed.
2813 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2814 this function name is specially recognised by the stack trace code
2815 and shouldn't be changed.
2816 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2817 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2818 (_Jv_InterpMethod::run): Update declaration.
2819 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2821 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2822 * include/java-stack.h: New file. Declarations for stack tracing.
2823 * include/jvm.h (_Jv_Frame_info): Removed.
2824 * java/lang/Class.h: Update friend declarations.
2825 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2827 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2828 (getStackTrace): Now native.
2829 (data): New RawDataManaged field.
2830 * java/lang/natClass.cc: Update includes.
2831 (forName): Use _Jv_StackTrace::GetCallingClass for
2832 calling-classloader check.
2833 (getClassLoader): Likewise.
2834 * java/lang/natRuntime.cc: Update includes.
2835 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2836 * java/lang/natVMSecurityManager.cc: Update includes.
2837 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2838 * java/lang/natVMThrowable.cc: New file. Native methods for
2840 * java/lang/reflect/natArray.cc: Update includes.
2841 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2842 accessibility check.
2843 * java/lang/reflect/natConstructor.cc: Update includes.
2844 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2845 accessibility check.
2846 * java/lang/reflect/natField.cc: Update includes.
2847 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2848 accessibility check.
2849 * java/lang/reflect/natMethod.cc: Update includes.
2850 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2851 accessibility check.
2852 * java/util/natResourceBundle.cc: Update includes.
2853 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2854 * java/util/logging/natLogger.cc: Update includes. Use
2855 _Jv_StackTrace::GetCallerInfo to get call-site info.
2856 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2858 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2861 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2863 * testsuite/libjava.compile/PR20312.java: New file.
2864 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2865 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2867 2005-03-09 Andrew Haley <aph@redhat.com>
2869 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2871 (smallTransferTo): New.
2872 (transferFrom): Loop around smallTransferFrom, copying pageSize
2874 (transferTo): Likewise.
2876 2005-03-09 David Daney <ddaney@avtrex.com>
2879 Merge BufferedInputStream from GNU Classpath.
2880 * java/io/BufferedInputStream.java (marktarget): Field removed.
2881 (CHUNKSIZE): Field removed.
2882 (bufferSize): New field.
2883 (BufferedInputStream): Initialize fields.
2884 (close): Invalidate mark and buffer indexes.
2886 (read()): Move mark handling code to refill.
2887 (read(byte[], int, int)): Ditto.
2888 (skip): Ditto and simplify EOF testing.
2889 (refill): Rewritten.
2890 * java/io/InputStreamReader.java (refill): Removed mark and reset
2891 of internal BufferedInputStream.
2893 2005-03-09 Tom Tromey <tromey@redhat.com>
2895 * java/lang/natVMClassLoader.cc (defineClass): Reference
2896 'systemClassLoader' field directly.
2897 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2899 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2900 Reference 'systemClassLoader' field directly.
2901 (_Jv_UnregisterInitiatingLoader): Likewise.
2902 (_Jv_FindClass): Likewise.
2904 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2906 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2908 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2909 the file in GNU Classpath style.
2911 2005-03-09 Tom Tromey <tromey@redhat.com>
2913 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2914 (toString): Synchronize.
2916 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2918 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2919 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2921 2005-03-07 Tom Tromey <tromey@redhat.com>
2923 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2924 (usage): Document '-f'.
2926 2005-03-07 Tom Tromey <tromey@redhat.com>
2928 * java/lang/VMCompiler.java (md5Digest): New field.
2929 (compileClass): Clone md5Digest instead of looking up a new one.
2931 2005-03-07 Tom Tromey <tromey@redhat.com>
2934 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2935 * link.cc (find_field_helper): Added 'type' argument.
2936 (find_field): Updated.
2938 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2939 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2940 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2941 throw UnsupportedOperationException, fixed comments.
2942 (setFont, setForeground): Fixed comments.
2943 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2944 return type to boolean.
2945 (getNextEvent): Fixed javadocs.
2946 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2947 (nativeQueueEmpty): Removed unused code.
2948 (iterateNativeQueue): Removed outer loop.
2950 2005-03-06 Roger Sayle <roger@eyesopen.com>
2953 * Makefile.am (libgcj0_convenience.la): Revert last change.
2954 * Makefile.in: Regenerate.
2956 2005-03-05 Anthony Green <green@redhat.com>
2958 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2959 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2960 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2961 (_Jv_GetDrawingSurface): Set visualID.
2962 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2963 (JAWT_GetAWT): Set Lock and Unlock.
2964 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2966 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2967 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2968 JAWT_LOCK_SURFACE_CHANGED): New macros.
2969 (struct _JAWT): Add Lock and Unlock.
2971 2005-03-05 Roger Sayle <roger@eyesopen.com>
2972 Alexandre Oliva <aoliva@redhat.com>
2973 Kelley Cook <kcook@gcc.gnu.org>
2976 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2977 of the object files to link to avoid exceeding the command line
2978 length limits on some platforms.
2979 (clean-local): Clean up objectlist files.
2980 * Makefile.in: Regenerate.
2982 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2984 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2985 spec_case. Initialize pointer mlo.
2987 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2990 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2992 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2995 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2996 uninitialized variable z.
2998 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2999 possible unused variables.
3001 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3003 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3005 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3008 * testsuite/libjava.jni/jni.exp
3009 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3011 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3013 2005-02-23 David Daney <ddaney@avtrex.com>
3015 * configure.host: Don't use -mxgot for MIPS builds.
3017 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3020 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3021 (COMPPATH): Removed.
3022 (ZIP, GCJH): Replace it with ../$(host_subdir).
3023 (built_gcc_dir): Add $(host_subdir).
3024 * configure: Regenerate.
3025 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3026 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3027 external/w3c_dom/Makefile.in: Regenerate.
3029 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3031 * java/awt/font/TextAttribute.java: changed names to lower case;
3032 (readResolve): implemented.
3033 Added doc comments all over.
3035 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3038 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3039 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3040 value. Move argument parsing code to prims.cc.
3041 * prims.cc (no_properties): Remove.
3042 (_Jv_Compiler_Properties): Initialize to NULL.
3043 (_Jv_Properties_Count): Initialize to 0.
3044 (parse_verbose_args): New function.
3045 (parse_init_args): New function.
3046 (_Jv_CreateJavaVM): Call parse_init_args.
3047 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3048 * gcj/cni.h (JvVMOption): New struct.
3049 (JvVMInitArgs): Likewise.
3050 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3052 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3053 (_Jv_VMInitArgs): Likewise.
3054 * include/java-props.h (_Jv_Properties_Count): Declare.
3055 * java/lang/natRuntime.cc (insertSystemProperties): Use
3056 _Jv_Properties_Count in for loop exit condition.
3057 * testsuite/libjava.jni/jni.exp
3058 (gcj_invocation_compile_c_to_binary): New procedure.
3059 (gcj_invocation_test_one): Likewise.
3060 (gcj_jni_run): Run JNI invocation API tests.
3061 * testsuite/libjava.jni/invocation/PR16923.c,
3062 testsuite/libjava.jni/invocation/PR16923.java,
3063 testsuite/libjava.jni/invocation/PR16923.out: New test.
3065 2005-02-23 Michael Koch <konqueror@gmx.de>
3067 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3068 * Makefile.in: Regenerated.
3070 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3072 * gnu/java/nio/ChannelReader: Fixed comments.
3074 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3076 * java/nio/channels/Channels: Added FIXMEs about
3077 stub method implementation.
3078 (newReader): Implemented.
3079 * gnu/java/nio/ChannelReader: New class.
3081 2005-02-23 Michael Koch <konqueror@gmx.de>
3083 * java/text/SimpleDateFormat.java:
3084 Removed unused import.
3086 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3089 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3090 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3091 * Makefile.in: Regenerate.
3092 * configure.ac: Check for libXtst.
3093 * configure: Regenerate.
3095 2005-02-22 Mark Wielaard <address@bogus.example.com>
3097 * java/security/AlgorithmParameterGenerator.java (getInstance):
3098 Mention provider when throwing NoSuchProviderException.
3099 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3100 * java/security/KeyFactory.java (getInstance): Likewise.
3101 * java/security/KeyStore.java (getInstance): Likewise.
3102 * java/security/SecureRandom.java (getInstance): Likewise.
3103 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3105 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3107 * java/lang/reflect/Proxy.java,
3109 java/security/SecureRandom.java,
3110 java/util/Timer.java,
3111 java/util/prefs/AbstractPreferences.java:
3112 Don't catch java.lang.ThreadDeath.
3114 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3116 * java/awt/font/TransformAttribute.java,
3117 (TransformAttribute(AffineTransform)): throw
3118 IllegalArgumentException for null transform.
3119 (getTransform): return a copy of transform.
3120 Added doc comments to all.
3122 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3124 * java/io/Externalizable.java,
3125 java/io/Serializable.java
3126 (serialVersionUID): Removed.
3127 * java/rmi/server/RemoteObject.java,
3128 java/rmi/server/UID.java
3129 (serialVersionUID): Made private.
3130 * java/rmi/server/RemoteRef.java,
3131 java/rmi/server/ServerRef.java
3132 (serialVersionUID): Set proper value.
3133 * java/security/interfaces/DSAPrivateKey.java,
3134 java/security/interfaces/DSAPublicKey.java,
3135 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3136 java/security/interfaces/RSAPrivateCrtKey.java,
3137 java/security/interfaces/RSAPrivateKey.java,
3138 java/security/interfaces/RSAPublicKey.java,
3139 javax/crypto/SecretKey.java
3140 (serialVersionUID): Added.
3142 2005-02-22 Tom Tromey <tromey@redhat.com>
3144 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3146 2005-02-22 Tom Tromey <tromey@redhat.com>
3149 * verify.cc (type::EITHER): New constant.
3150 (check_field_constant): Use it.
3151 (type::compatible): Handle it.
3153 2005-02-22 Michael Koch <konqueror@gmx.de>
3155 * gnu/java/security/PolicyFile.java,
3156 gnu/java/security/pkcs/PKCS7SignedData.java,
3157 gnu/java/security/pkcs/SignerInfo.java:
3158 Fixed copyright header.
3160 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3162 * java/beans/PropertyDescriptor.java
3163 (PropertyDescriptor,setReadMethod): Set propertyType.
3165 2005-02-22 Michael Koch <konqueror@gmx.de>
3167 * java/nio/DirectByteBufferImpl.java
3168 (owner): Fixed formatting of javadoc.
3169 * java/text/DateFormat.java
3170 (getAvailableLocales): Fixed formatting.
3171 * java/text/SimpleDateFormat.java:
3172 Fixed formatting and import statement order.
3173 * java/util/Calendar.java
3174 (Calendar): Fixed javadoc to be HTML compliant.
3175 * java/util/SimpleTimeZone.java:
3178 2005-02-22 Roman Kennke <roman@ontographics.com>
3180 * javax/swing/plaf/basic/BasicLookAndFeel.java
3181 (initComponentDefaults): Fixed Button left and right margin.
3183 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3185 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3189 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3190 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3191 (getWidth): New method.
3192 (getHeight): Likewise.
3193 (create): Remove width, height and insets parameters. Move size
3195 (realize_cb): ... here. New function.
3196 (connectSignals): Connect realize_cb.
3197 (request_frame_extents): Remove FIXME. Move
3198 postInsetsChangedEvent lookup ...
3199 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3200 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3201 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3203 (windowGetWidthID): Likewise.
3204 (windowGetHeightID): Likewise.
3206 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3210 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3212 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3214 Merge serialization from GNU Classpath.
3215 * gcj/method.h: Add missing #includes.
3216 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3217 primitive class IDs on the stream here...
3218 (resolveClass): ...not here.
3219 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3221 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3222 setLongNative, setIntNative, setShortNative, setCharNative,
3223 setByteNative, setBooleanNative, setObjectNative): New native methods.
3224 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3225 setLongNative, setIntNative, setShortNative, setCharNative,
3226 setByteNative, setBooleanNative, setObjectNative): Implement them.
3227 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3228 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3229 the constructor here.
3230 (callConstructor): Removed.
3231 (getCallersClassLoader): Removed.
3232 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3233 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3234 to control whether setting final field values is permitted. Call
3235 getAddr() with checkFinal parameter instead of setAddr().
3236 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3237 only if not done already.
3238 (getAddr): Add checkFinal parameter. Do the final field check only if
3242 2005-02-21 Mark Wielaard <mark@klomp.org>
3245 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3248 2005-02-21 Mark Wielaard <mark@klomp.org>
3251 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3252 without a super class and us ObjectStreamClass.lookupForClassObject().
3253 (resolveClass): Check for primitive types.
3254 (lookupClass): Return null when argument is null.
3256 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3258 * java/io/ObjectInputStream.java
3259 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3261 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3263 * java/io/ObjectOutputStream.java
3264 (writeObject, callWriteMethod): Replaced reflection with accessing
3265 cached info in ObjectStreamClass.
3266 (getMethod): Removed.
3267 * java/io/ObjectStreamClass.java
3268 (findMethod): Added check to make sure the method found has the
3270 (cacheMethods): Added writeReplace and writeObject methods.
3271 (setFlags): Look at new writeObjectMethod field instead of doing
3273 (writeReplaceMethod): New field.
3274 (writeObjectMethod): New field.
3276 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3277 Jeroen Frijters <jeroen@frijters.net>
3279 * java/io/ObjectInputStream.java
3280 (newObject): Changed prototype. Get a constructor reflect object
3282 (callConstructor): Removed.
3283 (allocateObject): Changed prototype.
3284 (readClassDescriptor): Build the constructor reflection directly.
3285 (readObject): Invoke newObject using the new prototype.
3287 * java/io/ObjectStreamClass.java
3288 (firstNonSerializableParent): Removed.
3289 (firstNonSerializableParentConstructor): Added.
3291 2005-02-21 Mark Wielaard <mark@klomp.org>
3293 * gnu/java/locale/LocaleInformation_en.java: Extend
3294 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3296 2005-02-21 Mark Wielaard <mark@klomp.org>
3298 * java/text/SimpleDateFormat.java
3299 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3300 NullPointerException when formatData is null.
3302 2005-02-21 Mark Wielaard <mark@klomp.org>
3304 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3305 taking dstSavings into account.
3307 2005-02-21 Sven de Marothy <sven@physto.se>
3309 * java/text/SimpleDateFormat.java,
3310 (parse): Set correct DST_OFFSET to the correct value.
3312 2005-02-21 Mark Wielaard <mark@klomp.org>
3314 * java/util/SimpleTimeZone.java (checkRule): Throw
3315 IllegalArgumentException when month out of range.
3317 2005-02-21 Sven de Marothy <sven@physto.se>
3319 * java/util/GregorianCalendar.java,
3320 (add): Don't set fields directly anymore. Use set()
3322 2005-02-21 Mark Wielaard <mark@klomp.org>
3324 * java/text/SimpleDateFormat.java (CompiledField.toString):
3325 Use StringBuffer, not StringBuilder.
3326 (toString): Likewise.
3328 2005-02-21 Sven de Marothy <sven@physto.se>
3330 * java/util/Calendar.java
3331 (clear): Dates should clear to local time.
3332 * java/util/GregorianCalendar.java
3333 (computeTime): Fix priority problem with DAY_OF_WEEK,
3334 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3336 2005-02-21 Sven de Marothy <sven@physto.se>
3338 * java/util/Calendar.java
3339 (Calendar): Constructor should clear fields.
3341 2005-02-21 Sven de Marothy <sven@physto.se>
3343 * java/text/SimpleDateFormat.java
3344 (parse): Tweak handling of 2-year dates
3345 * java/util/Calendar.java
3346 (clear): Clear fields to correct value.
3347 * java/util/GregorianCalendar.java
3348 (computeTime): Correct handling of time zones.
3349 Correct field minimum values.
3351 2005-02-21 Sven de Marothy <sven@physto.se>
3353 * java/util/Calendar.java
3354 (set) Invalidate all fields on first call to set().
3356 2005-02-21 Sven de Marothy <sven@physto.se>
3358 * java/util/GregorianCalendar.java
3359 (computeTime): Fixed handling of time zones.
3361 2005-02-21 Sven de Marothy <sven@physto.se>
3363 * java/util/Calendar.java
3364 (clear): Set values to Epoch instead of zero.
3365 (set): Set isSet to the relevant field pattern instead of just
3367 * java/util/GregorianCalendar.java
3368 (getBundle): Removed.
3369 (getDayOfYear): Removed.
3370 (getFirstDayOfMonth): New private method.
3371 (nonLeniencyCheck): New private method.
3372 (computeTime): Correct handling of insufficient data.
3374 2005-02-21 Sven de Marothy <sven@physto.se>
3376 * java/util/Calendar.java: Invalidate ERA field on setting
3378 * java/util/SimpleTimeZone.java:
3379 (getDaysInMonth): Reimplemented.
3380 * java/util/GregorianCalendar.java:
3381 (getLinearTime): Removed.
3382 (isLeapYear(int,boolean)): Removed.
3383 (before(), after()): Removed.
3384 (computeTime): Reimplemented.
3386 2005-02-21 Sven de Marothy <sven@physto.se>
3388 * java/util/Calendar.java: Reformatted.
3389 * java/util/GregorianCalendar.java: Reformatted.
3390 * java/util/SimpleTimeZone.java: Reformatted.
3392 2005-02-21 Sven de Marothy <sven@physto.se>
3394 * java/util/GregorianCalendar.java
3395 (GregorianCalendar): Update fields in the constructor
3397 2005-02-21 Noa Resare <noa@resare.com>
3399 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3400 (set(int,int)): Set and use new field.
3401 (set(int,int,int)): Check new field.
3403 2005-02-21 Noa Resare <address@hidden>
3405 * java/util/Calendar.java(set):
3406 Fix for DST related regression.
3408 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3410 * java/util/Calendar.java
3411 (setTimeInMillis): Added call to clear, removed computeFields call.
3412 * java/util/Date.java
3413 (Date(int,int,int,int,int,int)): Removed workaround for
3414 GregorianCalendar bug.
3415 * java/util/GregorianCalendar.java
3416 (GregorianCalendar): Chained all constructors to a (new)
3418 (computeTime): Fixed support for lenient month treatment.
3419 (getLinearDay): Return long instead of int.
3420 (calculateDay): Added fields argument and changed day argument
3423 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3425 * java/text/SimpleDateFormat.java
3426 Lots of documentation updates.
3427 (readObject(java.io.ObjectInputStream)): Wraps
3428 IllegalArgumentException as specified.
3429 (compileFormat(String)): Uses standardChars
3430 rather than the local pattern characters.
3431 Throws IllegalArgumentException rather than
3433 (toString()): Extended to include all variables
3435 (translateLocalizedPattern(String, String, String)):
3436 Renamed to better define the use of this method.
3438 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3440 * java/text/DateFormat.java:
3441 Documented pattern character offset constants and
3443 (Field): Added new static fields for new pattern chars.
3444 * java/text/SimpleDateFormat.java:
3445 (CompiledField): Changed name of FieldSizePair class
3446 to CompiledField after adding the character as an
3447 attribute. Changed fields to private and added
3448 accessors to give encapsulation.
3449 (CompiledField.CompiledField(int,int,char)): Extended
3450 with character field.
3451 (CompiledField.getField()): New accessor method.
3452 (CompiledField.getSize()): New acceessor method.
3453 (CompiledField.getCharacter()): New accessor method.
3454 (CompiledField.toString()): Added primarily for debugging.
3455 (standardChars): Now uses extended 24 character sequence.
3456 (compileFormat(String)): Changed to use CompiledField.
3457 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3458 java.text.FieldPosition)): Changed to use CompiledField.
3459 New handler for RFC 822 timezones added.
3461 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3463 * java/text/SimpleDateFormat.java:
3464 (parse(String, java.text.ParsePosition)):
3465 Changed 'E' and 'M' cases to use both
3466 short and long names. Extended 'z'
3467 case to also handle 'Z', and deal
3468 with simple GMT offsets such as +0100.
3469 (computeOffset(String)): New private method,
3470 which converts a GMT offset specification,
3471 such as GMT-0500 to a numeric offset in
3473 * java/util/TimeZone.java:
3474 (timezones()): Added "CEST", the daylight
3475 savings time version of "CET", or Central
3478 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3480 * java/text/SimpleDateFormat.java:
3481 (parse): Set the DST offset to 0 when parsing
3482 GMT offset timezones.
3484 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3486 * java/text/SimpleDateFormat.java:
3487 (parse): Use offset to set ZONE_OFFSET
3488 rather than the DST_OFFSET, so that
3489 GMT offset timezones change the right
3492 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3494 * java/text/SimpleDateFormat.java:
3495 (getDateFormatSymbols()): return a copy
3496 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3497 throw exception on null input
3498 (clone()): implemented to clone
3501 2005-02-21 Sven de Marothy <sven@physto.se>
3503 * java/text/SimpleDateFormat.java
3504 (parse): comparison should be case-insensitive, ignore null
3507 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3509 * gnu/java/beans/IntrospectionIncubator.java
3510 (addMethod) Reverts the patch that ntroduced a regression (see bug
3511 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3513 2005-02-21 Michael Koch <konqueror@gmx.de>
3515 * java/awt/Checkbox.java
3516 (next_checkbox_number): New static variable.
3517 (generateName): New method.
3518 (getUniqueLong): Likewise.
3519 * java/awt/Window.java
3520 (next_window_number): New static variable.
3521 (generateName): New method.
3522 (getUniqueLong): Likewise.
3524 2005-02-21 Mark Wielaard <mark@klomp.org>
3526 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3529 2005-02-21 Andrew Haley <aph@redhat.com>
3531 * Makefile.in: Rebuilt.
3532 * Makefile.am (nat_source_files): Added natLogger.cc.
3533 * java/util/logging/natLogger.cc: New file.
3534 * java/util/logging/Logger.java (getCallerStackFrame): Now
3537 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3539 * Makefile.am (all_property_files): Remove left over.
3540 (classes.stamp): Add stamp for the ONESTEP build, also known as
3541 --enable-libgcj-multifile.
3542 * Makefile.in: Regenerated.
3544 2005-02-21 Michael Koch <konqueror@gmx.de>
3546 * java/awt/Button.java,
3547 java/awt/Container.java,
3549 java/awt/Frame.java,
3550 java/text/CollationElementIterator.java,
3551 java/text/RuleBasedCollator.java,
3552 java/util/PropertyPermission.java:
3553 Fixed formatting issues all over.
3555 2005-02-21 Mark Wielaard <mark@klomp.org>
3557 * java/io/FileDescriptor.java (sync): Add real exception to
3558 SyncFailedException.
3560 2005-02-21 Michael Koch <konqueror@gmx.de>
3562 * java/io/InputStreamReader.java:
3565 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3568 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3570 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3572 * libraries/javalib/gnu/regexp/RE.java,
3573 libraries/javalib/java/io/ObjectInputStream.java,
3574 libraries/javalib/java/security/AllPermission.java,
3575 libraries/javalib/java/security/BasicPermission.java,
3576 libraries/javalib/java/security/Permissions.java,
3577 libraries/javalib/java/text/MessageFormat.java:
3578 Made 'inner' classes real public static inner classes,
3579 and made them final where possible, or removed them
3582 2005-02-20 Michael Koch <konqueror@gmx.de>
3584 * gnu/java/text/FormatCharacterIterator.java:
3585 Removed redundant modifiers.
3587 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3589 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3592 2005-02-19 Michael Koch <konqueror@gmx.de>
3594 * Makefile.am: Added new files in gnu/java/beans and
3595 java/beans/XMLDecoder.java.
3596 * Makefile.in: Regenerated.
3598 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3600 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3601 assignment behavior by using java.lang.reflect.Array.set()
3604 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3606 * gnu/java/beans/EmptyBeanInfo.java,
3607 gnu/java/beans/info/ComponentBeanInfo.java:
3608 Removed unused files.
3610 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3612 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3613 of AppletStub for java.beans.Beans.instantiate.
3614 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3616 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3617 to be conformant with Javadoc guidelines.
3618 (instantiate): Added two more overloaded variants, reworked user
3619 documentation, fixed exception behavior, fixed behavior when
3622 2005-02-19 Mark Wielaard <mark@klomp.org>
3624 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3626 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3628 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3630 * gnu/java/beans/decoder/AbstractContext.java,
3631 gnu/java/beans/decoder/AbstractCreatableContext.java,
3632 gnu/java/beans/decoder/AbstractElementHandler.java,
3633 gnu/java/beans/decoder/AbstractObjectContext.java,
3634 gnu/java/beans/decoder/ArrayContext.java,
3635 gnu/java/beans/decoder/ArrayHandler.java,
3636 gnu/java/beans/decoder/AssemblyException.java,
3637 gnu/java/beans/decoder/BooleanHandler.java,
3638 gnu/java/beans/decoder/ByteHandler.java,
3639 gnu/java/beans/decoder/CharHandler.java,
3640 gnu/java/beans/decoder/ClassHandler.java,
3641 gnu/java/beans/decoder/ConstructorContext.java,
3642 gnu/java/beans/decoder/Context.java,
3643 gnu/java/beans/decoder/DecoderContext.java,
3644 gnu/java/beans/decoder/DefaultExceptionListener.java,
3645 gnu/java/beans/decoder/DoubleHandler.java,
3646 gnu/java/beans/decoder/DummyContext.java,
3647 gnu/java/beans/decoder/DummyHandler.java,
3648 gnu/java/beans/decoder/ElementHandler.java,
3649 gnu/java/beans/decoder/FloatHandler.java,
3650 gnu/java/beans/decoder/GrowableArrayContext.java,
3651 gnu/java/beans/decoder/IndexContext.java,
3652 gnu/java/beans/decoder/IntHandler.java,
3653 gnu/java/beans/decoder/JavaHandler.java,
3654 gnu/java/beans/decoder/LongHandler.java,
3655 gnu/java/beans/decoder/MethodContext.java,
3656 gnu/java/beans/decoder/MethodFinder.java,
3657 gnu/java/beans/decoder/NullHandler.java,
3658 gnu/java/beans/decoder/ObjectContext.java,
3659 gnu/java/beans/decoder/ObjectHandler.java,
3660 gnu/java/beans/decoder/PersistenceParser.java,
3661 gnu/java/beans/decoder/PropertyContext.java,
3662 gnu/java/beans/decoder/ShortHandler.java,
3663 gnu/java/beans/decoder/SimpleHandler.java,
3664 gnu/java/beans/decoder/StaticMethodContext.java,
3665 gnu/java/beans/decoder/StringHandler.java,
3666 gnu/java/beans/decoder/VoidHandler.java: New class
3667 implementing java.beans.XMLDecoder decoding functionality.
3668 * java/beans/XMLDecoder.java: New class.
3670 2005-02-19 Michael Koch <konqueror@gmx.de>
3672 * javax/swing/JTextField.java
3673 (notfiyAction): Added javadoc.
3675 2005-02-19 Sven de Marothy <sven@physto.se>
3677 * javax/swing/SpinnerDateModel.java: Implemented.
3679 2005-02-19 Michael Koch <konqueror@gmx.de>
3681 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3682 * Makefile.in: Regenerated.
3684 2005-02-19 Michael Koch <konqueror@gmx.de>
3686 * gnu/java/nio/SelectorImpl.java:
3687 Reworked import statements.
3688 (register): Removed unused code.
3689 * java/nio/channels/Channels.java: Reformatted.
3690 * java/nio/charset/Charset.java: Likewise.
3691 * java/rmi/server/RemoteObject.java
3692 (serialVersionUID): Made private.
3693 * java/rmi/server/UID.java
3694 (serialVersionUID): Likewise.
3696 2005-02-19 Michael Koch <konqueror@gmx.de>
3698 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3699 gnu/java/net/protocol/ftp/BlockInputStream.java,
3700 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3701 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3702 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3703 gnu/java/net/protocol/ftp/DTPInputStream.java,
3704 gnu/java/net/protocol/ftp/DTP.java,
3705 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3706 gnu/java/net/protocol/ftp/FTPConnection.java,
3707 gnu/java/net/protocol/ftp/FTPException.java,
3708 gnu/java/net/protocol/ftp/FTPResponse.java,
3709 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3710 gnu/java/net/protocol/ftp/Handler.java,
3711 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3712 gnu/java/net/protocol/ftp/StreamInputStream.java,
3713 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3714 gnu/java/net/CRLFInputStream.java,
3715 gnu/java/net/CRLFOutputStream.java,
3716 gnu/java/net/GetLocalHostAction.java,
3717 gnu/java/net/protocol/ftp/package.html: New files.
3718 * Makefile.am: Added new files.
3719 * Makefile.in: Regenerated.
3721 2005-02-18 Tom Tromey <tromey@redhat.com>
3723 * link.cc (make_vtable): Remove abstract method check.
3724 (append_partial_itable): Likewise.
3727 * verify.cc (type::equals): Fixed test.
3728 * testsuite/libjava.lang/PR20056.out: New file.
3729 * testsuite/libjava.lang/PR20056.java: New file.
3731 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3733 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3734 not the HashEntry. Reported by Jean-Marie White.
3736 2005-02-18 Tom Tromey <tromey@redhat.com>
3739 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3740 * link.cc (has_field_p): New function.
3741 * verify.cc (check_field_constant): Added 'putfield' argument.
3742 (verify_instructions_0): Updated.
3743 (type::equals): New method.
3745 2005-02-18 Anthony Green <green@redhat.com>
3747 * NEWS: Draft of libgcj NEWS for 4.0.
3749 2005-02-18 Anthony Green <green@redhat.com>
3751 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3752 architecture names to "i386" for compatibility reasons. Win32
3755 2005-02-18 Anthony Green <green@redhat.com>
3757 * gij.cc (version): Change year for '--version' to 2005.
3758 * gnu/gcj/convert/Convert.java: Ditto.
3759 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3760 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3762 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3763 recent copyright year in `--version' output.
3765 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3767 * java/nio/charset/Charset.java (forName): Throws
3768 IllegalArgumentException when argument is null
3769 and added documentation.
3771 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3773 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3774 Move the position of the source buffer forward.
3776 2005-02-17 Tom Tromey <tromey@redhat.com>
3778 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3779 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3780 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3781 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3782 Changed type of second argument. Rewrote.
3783 (make_vtable): Use it.
3784 (append_partial_itable): Updated.
3785 (layout_vtable_methods): Updated.
3787 2005-02-17 Michael Koch <konqueror@gmx.de>
3789 * gnu/java/net/PlainSocketImpl.java
3790 (shutdownInput): Added javadoc.
3791 (shutdownOutput): Likewise.
3793 2005-02-17 Michael Koch <konqueror@gmx.de>
3795 * javax/print/attribute/standard/Chromaticity.java,
3796 javax/print/attribute/standard/Destination.java,
3797 javax/print/attribute/standard/MediaPrintableArea.java,
3798 javax/print/attribute/standard/MediaSize.java: New files.
3799 * Makefile.am: Added new files.
3800 * Makefile.in: Regenerated.
3802 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3803 Michael Koch <konqueror@gmx.de>
3805 * gnu/java/net/protocol/http/Cookie.java,
3806 gnu/java/net/protocol/http/HTTPConnection.java,
3807 gnu/java/net/protocol/http/HTTPDateFormat.java,
3808 gnu/java/net/protocol/http/Request.java,
3809 gnu/java/nio/PipeImpl.java,
3810 gnu/java/rmi/dgc/DGCImpl.java,
3811 gnu/java/rmi/server/ConnectionRunnerPool.java,
3812 gnu/java/rmi/server/UnicastConnectionManager.java,
3813 gnu/java/security/der/DERWriter.java,
3814 gnu/java/security/pkcs/SignerInfo.java,
3815 gnu/java/security/provider/EncodedKeyFactory.java,
3816 gnu/java/security/provider/GnuDHPublicKey.java,
3817 gnu/java/security/provider/GnuDSAPrivateKey.java,
3818 gnu/java/security/provider/GnuDSAPublicKey.java,
3819 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3820 gnu/java/security/x509/X500DistinguishedName.java,
3821 gnu/java/security/x509/X509CRL.java,
3822 gnu/java/security/x509/X509CRLEntry.java,
3823 gnu/java/security/x509/X509Certificate.java,
3824 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3825 gnu/java/security/x509/ext/CertificatePolicies.java,
3826 gnu/java/security/x509/ext/PolicyConstraint.java,
3827 gnu/xml/dom/Consumer.java,
3828 gnu/xml/dom/DomCharacterData.java,
3829 gnu/xml/dom/DomDocument.java,
3830 gnu/xml/dom/DomDocumentBuilder.java,
3831 gnu/xml/dom/DomIterator.java,
3832 gnu/xml/dom/DomNode.java,
3833 gnu/xml/dom/DomXPathExpression.java,
3834 gnu/xml/dom/DomXPathResult.java,
3835 gnu/xml/dom/JAXPFactory.java,
3836 gnu/xml/pipeline/CallFilter.java,
3837 gnu/xml/pipeline/DomConsumer.java,
3838 gnu/xml/pipeline/LinkFilter.java,
3839 gnu/xml/pipeline/NSFilter.java,
3840 gnu/xml/pipeline/TeeConsumer.java,
3841 gnu/xml/pipeline/ValidationConsumer.java,
3842 gnu/xml/pipeline/WellFormednessFilter.java,
3843 gnu/xml/pipeline/XIncludeFilter.java,
3844 gnu/xml/pipeline/XsltFilter.java,
3845 gnu/xml/transform/ApplyImportsNode.java,
3846 gnu/xml/transform/Bindings.java,
3847 gnu/xml/transform/DocumentFunction.java,
3848 gnu/xml/transform/FormatNumberFunction.java,
3849 gnu/xml/transform/NodeNumberNode.java,
3850 gnu/xml/transform/NumberNode.java,
3851 gnu/xml/transform/Stylesheet.java,
3852 gnu/xml/transform/SystemPropertyFunction.java,
3853 gnu/xml/transform/Template.java,
3854 gnu/xml/transform/TemplatesImpl.java,
3855 gnu/xml/transform/TransformerImpl.java,
3856 gnu/xml/transform/ValueOfNode.java,
3857 gnu/xml/transform/XSLURIResolver.java,
3858 gnu/xml/util/DoParse.java,
3859 gnu/xml/util/Resolver.java,
3860 gnu/xml/xpath/Expr.java,
3861 gnu/xml/xpath/FunctionCall.java,
3862 gnu/xml/xpath/RelationalExpr.java,
3863 gnu/xml/xpath/Selector.java,
3864 gnu/xml/xpath/XPathParser.java:
3865 Reworked import statements, fixed modifier order and some little
3868 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3870 * java/nio/ByteBufferImpl.java (compact):
3871 Set position and limit even if no bytes were moved.
3873 2005-02-17 Michael Koch <konqueror@gmx.de>
3875 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3876 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3877 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3878 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3879 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3880 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3881 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3882 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3883 * java/nio/FloatBufferImpl.java (compact): Set position.
3884 * java/nio/CharBufferImpl.java (compact): Likewise.
3885 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3886 * java/nio/IntBufferImpl.java (compact): Likewise.
3887 * java/nio/LongBufferImpl.java (compact): Likewise.
3888 * java/nio/ShortBufferImpl.java (compact): Likewise.
3890 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3892 * java/nio/ByteBufferImpl.java,
3893 java/nio/CharBufferImpl.java,
3894 java/nio/DirectByteBufferImpl.java,
3895 java/nio/DoubleBufferImpl.java,
3896 java/nio/FloatBufferImpl.java,
3897 java/nio/IntBufferImpl.java,
3898 java/nio/LongBufferImpl.java,
3899 java/nio/MappedByteBufferImpl.java,
3900 java/nio/ShortBufferImpl.java
3901 (compact): Added explicit read-only check and invalidate mark.
3903 2005-02-17 Michael Koch <konqueror@gmx.de>
3905 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3906 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3907 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3908 gnu/java/awt/peer/gtk/GdkGraphics.java,
3909 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3910 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3911 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3912 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3913 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3914 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3915 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3916 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3917 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3918 gnu/java/awt/peer/gtk/GtkClipboard.java,
3919 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3920 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3921 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3922 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3923 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3924 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3925 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3926 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3927 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3928 gnu/java/awt/peer/gtk/GtkToolkit.java,
3929 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3930 java/applet/Applet.java,
3931 java/awt/AWTError.java,
3932 java/awt/AWTEvent.java,
3933 java/awt/AWTEventMulticaster.java,
3934 java/awt/AWTException.java,
3935 java/awt/AWTKeyStroke.java,
3936 java/awt/AWTPermission.java,
3937 java/awt/ActiveEvent.java,
3938 java/awt/Adjustable.java,
3939 java/awt/AlphaComposite.java,
3940 java/awt/AttributeValue.java,
3941 java/awt/BorderLayout.java,
3942 java/awt/BufferCapabilities.java,
3943 java/awt/Button.java,
3944 java/awt/Canvas.java,
3945 java/awt/CheckboxGroup.java,
3946 java/awt/CheckboxMenuItem.java,
3947 java/awt/Color.java,
3948 java/awt/ColorPaintContext.java,
3949 java/awt/Component.java,
3950 java/awt/ComponentOrientation.java,
3951 java/awt/Composite.java,
3952 java/awt/CompositeContext.java,
3953 java/awt/Container.java,
3954 java/awt/ContainerOrderFocusTraversalPolicy.java,
3955 java/awt/DefaultFocusTraversalPolicy.java,
3956 java/awt/Dialog.java,
3957 java/awt/Dimension.java,
3958 java/awt/DisplayMode.java,
3959 java/awt/EventQueue.java,
3960 java/awt/FileDialog.java,
3961 java/awt/FontFormatException.java,
3962 java/awt/Graphics.java,
3963 java/awt/Graphics2D.java,
3964 java/awt/GraphicsConfigTemplate.java,
3965 java/awt/GraphicsConfiguration.java,
3966 java/awt/GraphicsDevice.java,
3967 java/awt/GridBagLayout.java,
3968 java/awt/GridBagLayoutInfo.java,
3969 java/awt/GridLayout.java,
3970 java/awt/HeadlessException.java,
3971 java/awt/IllegalComponentStateException.java,
3972 java/awt/Image.java,
3973 java/awt/Insets.java,
3974 java/awt/ItemSelectable.java,
3975 java/awt/JobAttributes.java,
3976 java/awt/KeyEventDispatcher.java,
3977 java/awt/KeyEventPostProcessor.java,
3978 java/awt/KeyboardFocusManager.java,
3979 java/awt/Label.java,
3980 java/awt/LayoutManager.java,
3981 java/awt/MenuBar.java,
3982 java/awt/MenuComponent.java,
3983 java/awt/MenuContainer.java,
3984 java/awt/PageAttributes.java,
3985 java/awt/Paint.java,
3986 java/awt/PaintContext.java,
3987 java/awt/Panel.java,
3988 java/awt/Point.java,
3989 java/awt/Polygon.java,
3990 java/awt/PrintGraphics.java,
3991 java/awt/PrintJob.java,
3992 java/awt/Rectangle.java,
3993 java/awt/RenderingHints.java,
3994 java/awt/Shape.java,
3995 java/awt/Stroke.java,
3996 java/awt/SystemColor.java,
3997 java/awt/Toolkit.java,
3998 java/awt/Transparency.java,
3999 java/awt/Window.java,
4000 java/awt/color/CMMException.java,
4001 java/awt/color/ColorSpace.java,
4002 java/awt/color/ICC_ColorSpace.java,
4003 java/awt/color/ICC_Profile.java,
4004 java/awt/color/ProfileDataException.java,
4005 java/awt/datatransfer/FlavorTable.java,
4006 java/awt/datatransfer/MimeTypeParseException.java,
4007 java/awt/datatransfer/Transferable.java,
4008 java/awt/datatransfer/UnsupportedFlavorException.java,
4009 java/awt/dnd/Autoscroll.java,
4010 java/awt/dnd/DnDConstants.java,
4011 java/awt/dnd/DragGestureListener.java,
4012 java/awt/dnd/DragSourceAdapter.java,
4013 java/awt/dnd/DragSourceDropEvent.java,
4014 java/awt/dnd/DragSourceListener.java,
4015 java/awt/dnd/DragSourceMotionListener.java,
4016 java/awt/dnd/DropTargetAdapter.java,
4017 java/awt/dnd/DropTargetContext.java,
4018 java/awt/dnd/DropTargetListener.java,
4019 java/awt/dnd/InvalidDnDOperationException.java,
4020 java/awt/dnd/MouseDragGestureRecognizer.java,
4021 java/awt/dnd/peer/DropTargetContextPeer.java,
4022 java/awt/event/AWTEventListener.java,
4023 java/awt/event/AWTEventListenerProxy.java,
4024 java/awt/event/ActionEvent.java,
4025 java/awt/event/AdjustmentEvent.java,
4026 java/awt/event/AdjustmentListener.java,
4027 java/awt/event/ComponentAdapter.java,
4028 java/awt/event/ComponentEvent.java,
4029 java/awt/event/ComponentListener.java,
4030 java/awt/event/ContainerAdapter.java,
4031 java/awt/event/ContainerEvent.java,
4032 java/awt/event/ContainerListener.java,
4033 java/awt/event/FocusAdapter.java,
4034 java/awt/event/FocusEvent.java,
4035 java/awt/event/FocusListener.java,
4036 java/awt/event/InputEvent.java,
4037 java/awt/event/InputMethodEvent.java,
4038 java/awt/event/InputMethodListener.java,
4039 java/awt/event/InvocationEvent.java,
4040 java/awt/event/ItemEvent.java,
4041 java/awt/event/ItemListener.java,
4042 java/awt/event/KeyAdapter.java,
4043 java/awt/event/KeyEvent.java,
4044 java/awt/event/KeyListener.java,
4045 java/awt/event/MouseAdapter.java,
4046 java/awt/event/MouseEvent.java,
4047 java/awt/event/MouseListener.java,
4048 java/awt/event/MouseMotionAdapter.java,
4049 java/awt/event/MouseMotionListener.java,
4050 java/awt/event/MouseWheelEvent.java,
4051 java/awt/event/MouseWheelListener.java,
4052 java/awt/event/PaintEvent.java,
4053 java/awt/event/TextEvent.java,
4054 java/awt/event/TextListener.java,
4055 java/awt/event/WindowAdapter.java,
4056 java/awt/event/WindowEvent.java,
4057 java/awt/event/WindowFocusListener.java,
4058 java/awt/event/WindowListener.java,
4059 java/awt/event/WindowStateListener.java,
4060 java/awt/font/TextHitInfo.java,
4061 java/awt/geom/CubicCurve2D.java,
4062 java/awt/geom/Dimension2D.java,
4063 java/awt/geom/Ellipse2D.java,
4064 java/awt/geom/IllegalPathStateException.java,
4065 java/awt/geom/Line2D.java,
4066 java/awt/geom/NoninvertibleTransformException.java,
4067 java/awt/geom/PathIterator.java,
4068 java/awt/geom/Point2D.java,
4069 java/awt/geom/QuadCurve2D.java,
4070 java/awt/geom/RectangularShape.java,
4071 java/awt/geom/RoundRectangle2D.java,
4072 java/awt/im/InputContext.java,
4073 java/awt/im/InputMethodHighlight.java,
4074 java/awt/im/InputMethodRequests.java,
4075 java/awt/im/InputSubset.java,
4076 java/awt/im/spi/InputMethod.java,
4077 java/awt/im/spi/InputMethodDescriptor.java,
4078 java/awt/image/BandCombineOp.java,
4079 java/awt/image/BandedSampleModel.java,
4080 java/awt/image/ByteLookupTable.java,
4081 java/awt/image/ComponentSampleModel.java,
4082 java/awt/image/DataBuffer.java,
4083 java/awt/image/DataBufferByte.java,
4084 java/awt/image/DataBufferDouble.java,
4085 java/awt/image/DataBufferFloat.java,
4086 java/awt/image/DataBufferInt.java,
4087 java/awt/image/DataBufferShort.java,
4088 java/awt/image/DataBufferUShort.java,
4089 java/awt/image/ImagingOpException.java,
4090 java/awt/image/Kernel.java,
4091 java/awt/image/LookupTable.java,
4092 java/awt/image/MultiPixelPackedSampleModel.java,
4093 java/awt/image/PackedColorModel.java,
4094 java/awt/image/PixelInterleavedSampleModel.java,
4095 java/awt/image/RGBImageFilter.java,
4096 java/awt/image/Raster.java,
4097 java/awt/image/RasterFormatException.java,
4098 java/awt/image/SampleModel.java,
4099 java/awt/image/ShortLookupTable.java,
4100 java/awt/image/SinglePixelPackedSampleModel.java,
4101 java/awt/image/WritableRaster.java,
4102 java/awt/print/PrinterAbortException.java,
4103 java/awt/print/PrinterException.java,
4104 java/awt/print/PrinterIOException.java,
4105 java/beans/AppletInitializer.java,
4106 java/beans/ExceptionListener.java,
4107 java/beans/PropertyChangeEvent.java,
4108 java/beans/PropertyChangeListenerProxy.java,
4109 java/beans/PropertyChangeSupport.java,
4110 java/beans/PropertyDescriptor.java,
4111 java/beans/VetoableChangeListenerProxy.java,
4112 java/beans/VetoableChangeSupport.java,
4113 java/io/BufferedReader.java,
4114 java/io/ByteArrayInputStream.java,
4115 java/io/ByteArrayOutputStream.java,
4116 java/io/CharArrayReader.java,
4117 java/io/CharArrayWriter.java,
4118 java/io/CharConversionException.java,
4119 java/io/DataInput.java,
4120 java/io/DataInputStream.java,
4121 java/io/DataOutput.java,
4122 java/io/DataOutputStream.java,
4123 java/io/EOFException.java,
4124 java/io/FileInputStream.java,
4125 java/io/FileNotFoundException.java,
4126 java/io/FileOutputStream.java,
4127 java/io/FilenameFilter.java,
4128 java/io/FilterInputStream.java,
4129 java/io/FilterOutputStream.java,
4130 java/io/FilterReader.java,
4131 java/io/FilterWriter.java,
4132 java/io/IOException.java,
4133 java/io/InputStream.java,
4134 java/io/InterruptedIOException.java,
4135 java/io/LineNumberInputStream.java,
4136 java/io/LineNumberReader.java,
4137 java/io/ObjectInputStream.java,
4138 java/io/ObjectStreamException.java,
4139 java/io/OptionalDataException.java,
4140 java/io/OutputStream.java,
4141 java/io/OutputStreamWriter.java,
4142 java/io/PrintStream.java,
4143 java/io/PrintWriter.java,
4144 java/io/PushbackInputStream.java,
4145 java/io/PushbackReader.java,
4146 java/io/RandomAccessFile.java,
4147 java/io/Reader.java,
4148 java/io/SequenceInputStream.java,
4149 java/io/Serializable.java,
4150 java/io/StreamCorruptedException.java,
4151 java/io/StreamTokenizer.java,
4152 java/io/StringBufferInputStream.java,
4153 java/io/StringWriter.java,
4154 java/io/SyncFailedException.java,
4155 java/io/UTFDataFormatException.java,
4156 java/io/UnsupportedEncodingException.java,
4157 java/io/WriteAbortedException.java,
4158 java/io/Writer.java,
4159 java/lang/AbstractMethodError.java,
4160 java/lang/ArithmeticException.java,
4161 java/lang/ArrayIndexOutOfBoundsException.java,
4162 java/lang/ArrayStoreException.java,
4163 java/lang/AssertionError.java,
4164 java/lang/Boolean.java,
4165 java/lang/Byte.java,
4166 java/lang/Class.java,
4167 java/lang/ClassCastException.java,
4168 java/lang/ClassCircularityError.java,
4169 java/lang/ClassLoader.java,
4170 java/lang/ClassNotFoundException.java,
4171 java/lang/CloneNotSupportedException.java,
4172 java/lang/Cloneable.java,
4173 java/lang/Comparable.java,
4174 java/lang/Compiler.java,
4175 java/lang/Double.java,
4176 java/lang/Error.java,
4177 java/lang/Exception.java,
4178 java/lang/ExceptionInInitializerError.java,
4179 java/lang/Float.java,
4180 java/lang/IllegalAccessError.java,
4181 java/lang/IllegalAccessException.java,
4182 java/lang/IllegalArgumentException.java,
4183 java/lang/IllegalMonitorStateException.java,
4184 java/lang/IllegalStateException.java,
4185 java/lang/IllegalThreadStateException.java,
4186 java/lang/IncompatibleClassChangeError.java,
4187 java/lang/IndexOutOfBoundsException.java,
4188 java/lang/InheritableThreadLocal.java,
4189 java/lang/InstantiationError.java,
4190 java/lang/InstantiationException.java,
4191 java/lang/Integer.java,
4192 java/lang/InternalError.java,
4193 java/lang/InterruptedException.java,
4194 java/lang/LinkageError.java,
4195 java/lang/Long.java,
4196 java/lang/NegativeArraySizeException.java,
4197 java/lang/NoClassDefFoundError.java,
4198 java/lang/NoSuchFieldError.java,
4199 java/lang/NoSuchFieldException.java,
4200 java/lang/NoSuchMethodError.java,
4201 java/lang/NoSuchMethodException.java,
4202 java/lang/NullPointerException.java,
4203 java/lang/Number.java,
4204 java/lang/NumberFormatException.java,
4205 java/lang/OutOfMemoryError.java,
4206 java/lang/Process.java,
4207 java/lang/Runnable.java,
4208 java/lang/Runtime.java,
4209 java/lang/RuntimeException.java,
4210 java/lang/RuntimePermission.java,
4211 java/lang/SecurityException.java,
4212 java/lang/SecurityManager.java,
4213 java/lang/Short.java,
4214 java/lang/StackOverflowError.java,
4215 java/lang/StackTraceElement.java,
4216 java/lang/StringBuffer.java,
4217 java/lang/StringIndexOutOfBoundsException.java,
4218 java/lang/ThreadDeath.java,
4219 java/lang/ThreadGroup.java,
4220 java/lang/Throwable.java,
4221 java/lang/UnsatisfiedLinkError.java,
4222 java/lang/UnsupportedOperationException.java,
4223 java/lang/VerifyError.java,
4224 java/lang/VirtualMachineError.java,
4225 java/lang/reflect/AccessibleObject.java,
4226 java/lang/reflect/Array.java,
4227 java/lang/reflect/InvocationTargetException.java,
4228 java/lang/reflect/Member.java,
4229 java/lang/reflect/Modifier.java,
4230 java/lang/reflect/Proxy.java,
4231 java/lang/reflect/ReflectPermission.java,
4232 java/lang/reflect/UndeclaredThrowableException.java,
4233 java/math/BigInteger.java,
4234 java/net/NetworkInterface.java,
4235 java/nio/ByteBufferHelper.java,
4236 java/nio/ByteBufferImpl.java,
4237 java/nio/DirectByteBufferImpl.java,
4238 java/nio/DoubleBufferImpl.java,
4239 java/nio/FloatBufferImpl.java,
4240 java/nio/IntBufferImpl.java,
4241 java/nio/LongBufferImpl.java,
4242 java/nio/ShortBufferImpl.java,
4243 java/nio/channels/Channel.java,
4244 java/nio/channels/IllegalBlockingModeException.java,
4245 java/nio/charset/spi/CharsetProvider.java,
4246 java/security/AccessControlException.java,
4247 java/security/BasicPermission.java,
4248 java/security/DigestException.java,
4249 java/security/DigestInputStream.java,
4250 java/security/DigestOutputStream.java,
4251 java/security/GeneralSecurityException.java,
4252 java/security/Guard.java,
4253 java/security/GuardedObject.java,
4254 java/security/InvalidAlgorithmParameterException.java,
4255 java/security/InvalidKeyException.java,
4256 java/security/InvalidParameterException.java,
4257 java/security/Key.java,
4258 java/security/KeyException.java,
4259 java/security/KeyManagementException.java,
4260 java/security/KeyStoreException.java,
4261 java/security/MessageDigestSpi.java,
4262 java/security/NoSuchAlgorithmException.java,
4263 java/security/NoSuchProviderException.java,
4264 java/security/Permission.java,
4265 java/security/PermissionCollection.java,
4266 java/security/Permissions.java,
4267 java/security/Principal.java,
4268 java/security/PrivateKey.java,
4269 java/security/PrivilegedActionException.java,
4270 java/security/ProviderException.java,
4271 java/security/PublicKey.java,
4272 java/security/SecureRandom.java,
4273 java/security/SecureRandomSpi.java,
4274 java/security/SignatureException.java,
4275 java/security/SignatureSpi.java,
4276 java/security/SignedObject.java,
4277 java/security/Signer.java,
4278 java/security/UnrecoverableKeyException.java,
4279 java/security/UnresolvedPermission.java,
4280 java/security/acl/AclNotFoundException.java,
4281 java/security/acl/LastOwnerException.java,
4282 java/security/acl/NotOwnerException.java,
4283 java/security/cert/CertPath.java,
4284 java/security/cert/CertPathBuilderException.java,
4285 java/security/cert/CertPathValidatorException.java,
4286 java/security/cert/CertStoreException.java,
4287 java/text/BreakIterator.java,
4288 java/text/ChoiceFormat.java,
4289 java/text/CollationElementIterator.java,
4290 java/text/CollationKey.java,
4291 java/text/Collator.java,
4292 java/text/DateFormat.java,
4293 java/text/DateFormatSymbols.java,
4294 java/text/DecimalFormat.java,
4295 java/text/DecimalFormatSymbols.java,
4296 java/text/FieldPosition.java,
4297 java/text/Format.java,
4298 java/text/NumberFormat.java,
4299 java/text/ParseException.java,
4300 java/text/ParsePosition.java,
4301 java/text/StringCharacterIterator.java,
4302 java/util/AbstractCollection.java,
4303 java/util/AbstractList.java,
4304 java/util/AbstractMap.java,
4305 java/util/AbstractSequentialList.java,
4306 java/util/AbstractSet.java,
4307 java/util/ArrayList.java,
4308 java/util/Arrays.java,
4309 java/util/BitSet.java,
4310 java/util/Collection.java,
4311 java/util/Collections.java,
4312 java/util/Comparator.java,
4313 java/util/ConcurrentModificationException.java,
4314 java/util/Currency.java,
4315 java/util/Date.java,
4316 java/util/EmptyStackException.java,
4317 java/util/Enumeration.java,
4318 java/util/EventListener.java,
4319 java/util/EventListenerProxy.java,
4320 java/util/EventObject.java,
4321 java/util/HashMap.java,
4322 java/util/HashSet.java,
4323 java/util/Hashtable.java,
4324 java/util/IdentityHashMap.java,
4325 java/util/Iterator.java,
4326 java/util/LinkedHashSet.java,
4327 java/util/LinkedList.java,
4328 java/util/List.java,
4329 java/util/ListIterator.java,
4330 java/util/ListResourceBundle.java,
4332 java/util/MissingResourceException.java,
4333 java/util/NoSuchElementException.java,
4334 java/util/Observable.java,
4335 java/util/Observer.java,
4336 java/util/Properties.java,
4337 java/util/PropertyPermissionCollection.java,
4338 java/util/RandomAccess.java,
4340 java/util/SortedMap.java,
4341 java/util/SortedSet.java,
4342 java/util/Stack.java,
4343 java/util/StringTokenizer.java,
4344 java/util/TooManyListenersException.java,
4345 java/util/TreeMap.java,
4346 java/util/TreeSet.java,
4347 java/util/Vector.java,
4348 java/util/logging/FileHandler.java,
4349 java/util/logging/Level.java,
4350 java/util/prefs/BackingStoreException.java,
4351 java/util/prefs/InvalidPreferencesFormatException.java,
4352 java/util/prefs/Preferences.java,
4353 javax/accessibility/Accessible.java,
4354 javax/accessibility/AccessibleAction.java,
4355 javax/accessibility/AccessibleBundle.java,
4356 javax/accessibility/AccessibleComponent.java,
4357 javax/accessibility/AccessibleContext.java,
4358 javax/accessibility/AccessibleEditableText.java,
4359 javax/accessibility/AccessibleExtendedComponent.java,
4360 javax/accessibility/AccessibleExtendedTable.java,
4361 javax/accessibility/AccessibleHyperlink.java,
4362 javax/accessibility/AccessibleHypertext.java,
4363 javax/accessibility/AccessibleIcon.java,
4364 javax/accessibility/AccessibleKeyBinding.java,
4365 javax/accessibility/AccessibleRelation.java,
4366 javax/accessibility/AccessibleRelationSet.java,
4367 javax/accessibility/AccessibleResourceBundle.java,
4368 javax/accessibility/AccessibleRole.java,
4369 javax/accessibility/AccessibleSelection.java,
4370 javax/accessibility/AccessibleState.java,
4371 javax/accessibility/AccessibleStateSet.java,
4372 javax/accessibility/AccessibleTable.java,
4373 javax/accessibility/AccessibleTableModelChange.java,
4374 javax/accessibility/AccessibleText.java,
4375 javax/accessibility/AccessibleValue.java,
4376 javax/imageio/IIOException.java,
4377 javax/imageio/ImageIO.java,
4378 javax/imageio/spi/IIOServiceProvider.java,
4379 javax/imageio/spi/ImageInputStreamSpi.java,
4380 javax/imageio/spi/ImageOutputStreamSpi.java,
4381 javax/imageio/spi/ImageReaderWriterSpi.java,
4382 javax/imageio/spi/ImageTranscoderSpi.java,
4383 javax/imageio/spi/RegisterableService.java,
4384 javax/imageio/spi/ServiceRegistry.java,
4385 javax/imageio/stream/IIOByteBuffer.java,
4386 javax/imageio/stream/ImageInputStream.java,
4387 javax/imageio/stream/ImageOutputStream.java,
4388 javax/naming/Binding.java,
4389 javax/naming/CannotProceedException.java,
4390 javax/naming/CompositeName.java,
4391 javax/naming/CompoundName.java,
4392 javax/naming/LinkException.java,
4393 javax/naming/LinkRef.java,
4394 javax/naming/NameClassPair.java,
4395 javax/naming/Reference.java,
4396 javax/naming/ReferralException.java,
4397 javax/naming/directory/Attribute.java,
4398 javax/naming/directory/AttributeModificationException.java,
4399 javax/naming/directory/Attributes.java,
4400 javax/naming/directory/DirContext.java,
4401 javax/naming/directory/ModificationItem.java,
4402 javax/naming/directory/SearchControls.java,
4403 javax/naming/directory/SearchResult.java,
4404 javax/naming/event/EventContext.java,
4405 javax/naming/event/EventDirContext.java,
4406 javax/naming/event/NamespaceChangeListener.java,
4407 javax/naming/event/NamingExceptionEvent.java,
4408 javax/naming/event/NamingListener.java,
4409 javax/naming/event/ObjectChangeListener.java,
4410 javax/naming/ldap/Control.java,
4411 javax/naming/ldap/ExtendedResponse.java,
4412 javax/naming/ldap/HasControls.java,
4413 javax/naming/ldap/LdapContext.java,
4414 javax/naming/ldap/UnsolicitedNotification.java,
4415 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4416 javax/naming/ldap/UnsolicitedNotificationListener.java,
4417 javax/naming/spi/DirectoryManager.java,
4418 javax/naming/spi/ResolveResult.java,
4419 javax/naming/spi/Resolver.java,
4420 javax/security/auth/callback/Callback.java,
4421 javax/security/auth/callback/CallbackHandler.java,
4422 javax/security/auth/callback/ChoiceCallback.java,
4423 javax/security/auth/callback/ConfirmationCallback.java,
4424 javax/security/auth/callback/LanguageCallback.java,
4425 javax/security/auth/callback/NameCallback.java,
4426 javax/security/auth/callback/PasswordCallback.java,
4427 javax/security/auth/callback/TextInputCallback.java,
4428 javax/security/auth/callback/TextOutputCallback.java,
4429 javax/security/auth/callback/UnsupportedCallbackException.java,
4430 javax/security/sasl/Sasl.java,
4431 javax/security/sasl/SaslServerFactory.java,
4432 javax/swing/DefaultBoundedRangeModel.java,
4433 javax/swing/JComponent.java,
4434 javax/swing/JList.java,
4435 javax/swing/JProgressBar.java,
4436 javax/swing/JRadioButton.java,
4437 javax/swing/JTextArea.java,
4438 javax/swing/JTextField.java,
4439 javax/swing/JToggleButton.java,
4440 javax/swing/JTree.java,
4441 javax/swing/SpinnerListModel.java,
4442 javax/swing/event/EventListenerList.java,
4443 javax/swing/text/JTextComponent.java,
4444 javax/swing/text/StringContent.java,
4445 javax/swing/text/Utilities.java,
4446 javax/swing/undo/UndoManager.java,
4447 javax/swing/undo/UndoableEditSupport.java,
4448 javax/transaction/HeuristicCommitException.java,
4449 javax/transaction/HeuristicMixedException.java,
4450 javax/transaction/HeuristicRollbackException.java,
4451 javax/transaction/InvalidTransactionException.java,
4452 javax/transaction/NotSupportedException.java,
4453 javax/transaction/RollbackException.java,
4454 javax/transaction/Status.java,
4455 javax/transaction/Synchronization.java,
4456 javax/transaction/SystemException.java,
4457 javax/transaction/Transaction.java,
4458 javax/transaction/TransactionManager.java,
4459 javax/transaction/TransactionRequiredException.java,
4460 javax/transaction/TransactionRolledbackException.java,
4461 javax/transaction/UserTransaction.java,
4462 javax/transaction/xa/XAException.java,
4463 javax/transaction/xa/XAResource.java,
4464 javax/transaction/xa/Xid.java,
4465 javax/xml/XMLConstants.java,
4466 javax/xml/datatype/DatatypeConfigurationException.java,
4467 javax/xml/datatype/DatatypeConstants.java,
4468 javax/xml/datatype/DatatypeFactory.java,
4469 javax/xml/datatype/Duration.java,
4470 javax/xml/datatype/XMLGregorianCalendar.java,
4471 javax/xml/namespace/NamespaceContext.java,
4472 javax/xml/namespace/QName.java,
4473 javax/xml/parsers/DocumentBuilder.java,
4474 javax/xml/parsers/DocumentBuilderFactory.java,
4475 javax/xml/parsers/FactoryConfigurationError.java,
4476 javax/xml/parsers/ParserConfigurationException.java,
4477 javax/xml/parsers/SAXParser.java,
4478 javax/xml/parsers/SAXParserFactory.java,
4479 javax/xml/transform/ErrorListener.java,
4480 javax/xml/transform/OutputKeys.java,
4481 javax/xml/transform/Result.java,
4482 javax/xml/transform/Source.java,
4483 javax/xml/transform/SourceLocator.java,
4484 javax/xml/transform/Templates.java,
4485 javax/xml/transform/Transformer.java,
4486 javax/xml/transform/TransformerConfigurationException.java,
4487 javax/xml/transform/TransformerException.java,
4488 javax/xml/transform/TransformerFactory.java,
4489 javax/xml/transform/TransformerFactoryConfigurationError.java,
4490 javax/xml/transform/URIResolver.java,
4491 javax/xml/transform/dom/DOMLocator.java,
4492 javax/xml/transform/dom/DOMResult.java,
4493 javax/xml/transform/dom/DOMSource.java,
4494 javax/xml/transform/sax/SAXResult.java,
4495 javax/xml/transform/sax/SAXSource.java,
4496 javax/xml/transform/sax/SAXTransformerFactory.java,
4497 javax/xml/transform/sax/TemplatesHandler.java,
4498 javax/xml/transform/sax/TransformerHandler.java,
4499 javax/xml/transform/stream/StreamResult.java,
4500 javax/xml/transform/stream/StreamSource.java,
4501 javax/xml/validation/Schema.java,
4502 javax/xml/validation/SchemaFactory.java,
4503 javax/xml/validation/TypeInfoProvider.java,
4504 javax/xml/validation/Validator.java,
4505 javax/xml/validation/ValidatorHandler.java,
4506 javax/xml/xpath/XPathConstants.java,
4507 javax/xml/xpath/XPathException.java,
4508 javax/xml/xpath/XPathExpression.java,
4509 javax/xml/xpath/XPathExpressionException.java,
4510 javax/xml/xpath/XPathFactory.java,
4511 javax/xml/xpath/XPathFactoryConfigurationException.java,
4512 javax/xml/xpath/XPathFunction.java,
4513 javax/xml/xpath/XPathFunctionException.java,
4514 javax/xml/xpath/XPathFunctionResolver.java:
4515 Fixed usage of @author tag, reworked import statements,
4516 removed CVS tags, changed the modifier order and fixed
4517 HTML usage in javadocs.
4519 2005-02-16 Julian Scheid <julian@sektor37.de>
4521 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4523 (encodeLoop): Likewise.
4525 2005-02-16 Mark Wielaard <mark@klomp.org>
4527 * Makefile.am (ordinary_java_source_files): Add new files
4528 gnu/java/security/ber/BER.java,
4529 gnu/java/security/ber/BEREncodingException.java,
4530 gnu/java/security/ber/BERReader.java,
4531 gnu/java/security/ber/BERValue.java,
4532 gnu/java/security/pkcs/PKCS7SignedData.java and
4533 gnu/java/security/pkcs/SignerInfo.java.
4534 * Makefile.in: Regenerated.
4536 2005-02-16 Casey Marshall <csm@gnu.org>
4538 * gnu/java/security/provider/GnuDSAPrivateKey.java
4539 (encodedKey): new field.
4540 (getFormat): return "PKCS#8".
4541 (getEncoded): implemented.
4542 (toString): check for 'null' values.
4543 * gnu/java/security/provider/GnuDSAPublicKey.java
4544 (encodedKey): new field.
4545 (getFormat): return "X.509".
4546 (getEncoded): implemented.
4547 (toString): check for 'null' values.
4549 2005-02-16 Michael Koch <konqueror@gmx.de>
4551 * java/util/jar/JarFile.java: Imports reworked.
4553 2005-02-16 Mark Wielaard <mark@klomp.org>
4555 * java/util/jar/JarFile.java (verify): Make package private.
4556 (signaturesRead): Likewise.
4557 (verified): Likewise.
4558 (entryCerts): Likewise.
4561 (entries): Construct new JarEnumeration with reference to this.
4562 (JarEnumeration): Make static.
4563 (JarEnumeration.jarfile): New field.
4564 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4565 Compare verified value to Boolean.TRUE or Boolean.False only
4566 when verify is true.
4567 (getEntry): Make synchronized. Compare value of verified to
4569 (getInputStream): Construct EntryInputStream with reference to this.
4570 (getManifest): Make synchronized.
4571 (EntryInputStream): Make static.
4572 (EntryInputStream.jarfile): New field.
4573 (EntryInputStream.EntryInputStream): Check if manifest exists,
4574 before getting attributes.
4575 (eof): Synchronize on jarfile.
4577 2005-02-16 Casey Marshall <csm@gnu.org>
4579 * java/util/jar/JarFile.java (verify): return if the jar is signed
4580 with an unsupported algorithm.
4582 2005-02-16 Mark Wielaard <mark@klomp.org>
4584 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4585 InputStream as argument.
4586 (getInputStream): Construct a new EntryInputStream with the result of
4587 super.getInputStream(entry).
4589 2005-02-16 Casey Marshall <csm@gnu.org>
4591 Signed JAR file support.
4592 * java/net/URLClassLoader.java
4593 (JarURLResource.getCertificates): re-read jar entry to ensure
4594 certificates are picked up.
4595 (findClass): fill in class `signers' field, too.
4596 * java/util/jar/JarFile.java (META_INF): new constant.
4597 (PKCS7_DSA_SUFFIX): new constant.
4598 (PKCS7_RSA_SUFFIX): new constant.
4599 (DIGEST_KEY_SUFFIX): new constant.
4600 (SF_SUFFIX): new constant.
4601 (MD2_OID): new constant.
4602 (MD4_OID): new constant.
4603 (MD5_OID): new constant.
4604 (SHA1_OID): new constant.
4605 (DSA_ENCRYPTION_OID): new constant.
4606 (RSA_ENCRYPTION_OID): new constant.
4607 (signaturesRead): new field.
4608 (verified): new field.
4609 (entryCerts): new field.
4610 (DEBUG): new constant.
4611 (debug): new method.
4612 (JarEnumeration.nextElement): fill in entry certificates, read
4613 signatures if they haven't been read.
4614 (getEntry): likewise.
4615 (getInputStream): verify stream if it hasn't been verified yet.
4616 (readSignatures): new method.
4617 (verify): new method.
4618 (verifyHashes): new method.
4619 (readManifestEntry): new method.
4620 (EntryInputStream): new class.
4621 * gnu/java/io/Base64InputStream.java (decode): new class
4623 * gnu/java/security/der/DERReader.java don't make class
4625 (in): made protected.
4627 (readLength): likewise.
4628 * gnu/java/security/ber/BER.java,
4629 * gnu/java/security/ber/BEREncodingException.java,
4630 * gnu/java/security/ber/BERReader.java,
4631 * gnu/java/security/ber/BERValue.java,
4632 * gnu/java/security/pkcs/PKCS7SignedData.java,
4633 * gnu/java/security/pkcs/SignerInfo.java:
4636 2005-02-16 Tom Tromey <tromey@redhat.com>
4638 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4639 copied file on exit.
4641 2005-02-15 Mark Wielaard <mark@klomp.org>
4643 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4645 2005-02-15 Michael Koch <konqueror@gmx.de>
4647 * gnu/java/awt/peer/gtk/GtkArg.java,
4648 gnu/java/awt/peer/gtk/GtkArgList.java:
4651 2005-02-15 Craig Black <craig.black@aonix.com>
4653 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4654 (postMenuActionEvent): Implement to notify ItemListeners.
4655 * java/awt/CheckboxMenuItem.java
4656 (dispatchEventImpl): Update state on ItemEvent.
4657 * java/awt/MenuItem.java
4658 (processActionEvent): Retarget event source.
4660 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4662 * gnu/java/awt/color/ClutProfileConverter.java,
4663 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4664 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4665 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4666 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4667 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4668 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4669 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4670 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4671 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4672 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4673 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4674 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4675 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4676 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4677 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4678 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4679 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4680 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4681 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4682 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4683 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4684 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4685 gnu/java/awt/peer/gtk/GtkToolkit.java,
4686 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4687 javax/swing/JPopupMenu.java,
4688 javax/swing/JSpinner.java,
4689 javax/swing/SortingFocusTraversalPolicy.java,
4690 javax/swing/SwingUtilities.java,
4691 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4692 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4693 javax/swing/tree/DefaultMutableTreeNode.java:
4694 Removed unused imports and expanded starred
4697 2005-02-15 Mark Wielaard <mark@klomp.org>
4699 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4700 IllegalArgumentException when the given String is null.
4702 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4703 when given keystoke sequence cannot be parsed.
4705 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4706 if one is installed. Only install the given menubar is not null.
4708 * javax/swing/JViewport.java (getViewSize): Return an empty
4709 Dimension when the view isn't set or preferred component size when
4712 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4713 empty Dimension when there is no view set.
4714 (minimumLayoutSize): Likewise.
4715 (layoutContainer): Don't try to layout when there is no view.
4717 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4720 * include/jawt.h: Likewise.
4721 * include/jawt_md.h: Likewise.
4722 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4724 * jni/classpath/classpath_jawt.h: Likewise.
4725 * jni/gtk-peer/gtk_jawt.c: Likewise.
4726 * Makefile.am: Build libjawt.so.
4728 2005-02-15 Michael Koch <konqueror@gmx.de>
4730 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4731 Merged file header with classpath CVS head.
4732 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4733 Merged code formatting with classpath CVS head.
4734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4736 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4737 Handle special JNI strings with 2 '\0' at the end.
4738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4739 Merged file header with classpath CVS head.
4740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4741 Merged code formatting with classpath CVS head.
4743 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4746 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4747 (handle_response): Use GTK_RESPONSE_ACCEPT.
4749 2005-02-15 Graydon Hoare <graydon@redhat.com>
4751 * Makefile.am: Fix library build breakage.
4752 * Makefile.in: Regenerate.
4754 2005-02-15 Michael Koch <konqueror@gmx.de>
4756 * javax/swing/JTabbedPane.java
4757 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4759 2005-02-15 Michael Koch <konqueror@gmx.de>
4761 * javax/swing/tree/DefaultMutableTreeNode.java:
4762 Reworked Javadocs all over.
4763 (getPathToRoot): Fixed direction of result array initialization.
4765 2005-02-15 Michael Koch <konqueror@gmx.de>
4767 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4768 Fix includes for cairo 0.3.0 snappshot.
4769 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4770 Merged file header from classpath CVS HEAD.
4772 2005-02-15 Craig Black <craig.black@aonix.com>
4774 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4775 (copyState): Pass a JNI global reference to signal handler.
4776 (realize_cb): Use and free JNI global reference.
4777 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4778 (create): Pass a JNI global reference to signal handler.
4779 (selection_changed): Match declaration.
4780 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4781 (dispose): Do not remove entries from state tables until after widget is
4784 2005-02-15 Michael Koch <konqueror@gmx.de>
4786 * java/awt/Container.javai (paramString):
4787 If layoutMgr is null just return result of super.paramString().
4788 * java/awt/Scrollbar.java: Reformatted.
4789 * java/awt/im/InputContext.java (static):
4790 Removed redundant initializations.
4792 2005-02-15 Michael Koch <konqueror@gmx.de>
4794 * javax/swing/ImageIcon.java,
4795 javax/swing/UIManager.java,
4796 javax/swing/text/EditorKit.java,
4797 javax/swing/text/Segment.java:
4798 More whitespace cleanups.
4800 2005-02-15 Michael Koch <konqueror@gmx.de>
4802 * gnu/java/awt/EmbeddedWindow.java,
4803 gnu/java/awt/image/ImageDecoder.java,
4804 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4805 java/awt/DefaultKeyboardFocusManager.java,
4806 java/awt/Frame.java,
4807 java/awt/image/RGBImageFilter.java,
4808 javax/swing/AbstractButton.java,
4809 javax/swing/ActionMap.java,
4810 javax/swing/ComponentInputMap.java,
4811 javax/swing/DefaultDesktopManager.java,
4812 javax/swing/ImageIcon.java,
4813 javax/swing/InputMap.java,
4814 javax/swing/JButton.java,
4815 javax/swing/JCheckBox.java,
4816 javax/swing/JCheckBoxMenuItem.java,
4817 javax/swing/JEditorPane.java,
4818 javax/swing/JMenu.java,
4819 javax/swing/JMenuItem.java,
4820 javax/swing/JOptionPane.java,
4821 javax/swing/JRootPane.java,
4822 javax/swing/JTable.java,
4823 javax/swing/MenuSelectionManager.java,
4824 javax/swing/RepaintManager.java,
4825 javax/swing/ScrollPaneLayout.java,
4826 javax/swing/SortingFocusTraversalPolicy.java,
4827 javax/swing/UIManager.java,
4828 javax/swing/ViewportLayout.java,
4829 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4830 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4831 javax/swing/plaf/basic/BasicLabelUI.java,
4832 javax/swing/plaf/basic/BasicListUI.java,
4833 javax/swing/plaf/basic/BasicMenuItemUI.java,
4834 javax/swing/plaf/basic/BasicMenuUI.java,
4835 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4836 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4837 javax/swing/plaf/basic/BasicRootPaneUI.java,
4838 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4839 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4840 javax/swing/plaf/basic/BasicTextUI.java,
4841 javax/swing/table/TableColumnModel.java,
4842 javax/swing/text/AbstractDocument.java,
4843 javax/swing/text/EditorKit.java,
4844 javax/swing/text/Position.java,
4845 javax/swing/text/Segment.java,
4846 javax/swing/text/StyledEditorKit.java,
4847 javax/swing/text/ViewFactory.java:
4848 Cleanup whitespace differences to classpath CVS HEAD.
4850 2005-02-15 Graydon Hoare <graydon@redhat.com>
4852 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4853 (finalize): Call finish from here.
4854 (produce): Not from here.
4855 * Makefile.am (gtk_c_source_files):
4856 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4857 * Makefile.in: Regenerate.
4858 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4860 (cairoDrawGdkTextLayout):
4862 (getPeerTextMetrics):
4863 (getPeerFontMetrics): Remove.
4864 (setFont): Don't call cairoSetFont.
4865 (cairoDrawGlyphVector): Accept font peer argument.
4866 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4867 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4868 (ensure_metrics_cairo):
4869 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4870 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4871 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4872 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4874 (metrics_surface): Remove.
4875 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4876 Pass and install font peer.
4878 2005-02-15 Graydon Hoare <graydon@redhat.com>
4880 * Makefile.am: Create "split library" structure.
4881 * Makefile.in: Regenerate.
4883 2005-02-15 Graydon Hoare <graydon@redhat.com>
4885 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4887 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4888 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4889 Release GDK lock during upcalls.
4891 2005-02-15 Graydon Hoare <graydon@redhat.com>
4893 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4894 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4895 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4896 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4897 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4898 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4899 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4902 (getTextMetrics): New native methods.
4903 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4904 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4905 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4906 * Makefile.in: Regenerate.
4908 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4910 * javax/swing/SwingUtilities.java:
4911 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4912 Implemented and documented.
4913 (getAccessibleChild(java.awt.Component, int)): Likewise.
4914 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4915 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4916 (getAccessibleStateSet(java.awt.Component)): Likewise.
4918 2005-02-15 Michael Koch <konqueror@gmx.de>
4920 * javax/swing/SwingUtilities.java
4921 (getFontMetrics): Removed.
4923 2005-02-15 Michael Koch <konqueror@gmx.de>
4925 * java/awt/Container.java
4926 (paramString): Implemented.
4927 * javax/swing/AbstractButton.java
4928 (paramString): Implemented.
4929 * javax/swing/JComponent.java
4930 (paramString): Implemented.
4931 * javax/swing/JMenu.java
4932 (paramString): Implemented.
4933 * javax/swing/JMenuBar.java
4934 (paramString): Implemented.
4935 * javax/swing/JMenuItem.java
4936 (paramString): Implemented.
4937 * javax/swing/JPopupMenu.java
4938 (paramString): Implemented.
4940 2005-02-15 Michael Koch <konqueror@gmx.de>
4942 * javax/swing/JMenu.java
4943 (uiClassID): Removed.
4944 (JMenu): Set invoker on popup menu.
4945 (getUIClassID): Return id directly.
4946 (getItemCount): Simply return getMenuComponentCount().
4948 (isTopLevelMenu): Simplified.
4949 * javax/swing/JMenuItem.java
4950 (uiClassID): Removed.
4951 (getUIClassID): Return id directly.
4952 * javax/swing/JPopupMenu.java
4953 (uiClassID): Removed.
4954 (JPopupMenu): Always initialize correctly.
4955 (getSubElements): Only return components implementing MenuElement
4957 (HeavyWeightPopup.hide): Removed.
4959 2005-02-15 Michael Koch <konqueror@gmx.de>
4961 * java/awt/image/ReplicateScaleFilter.java
4962 (replicatePixels): Made private.
4963 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4964 (DefaultRGBChooserPanel): Made package private.
4965 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4966 (RecentSwatchPanel): Likewise.
4967 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4968 (MouseInputAdapter): Made abstract.
4969 * javax/swing/tree/DefaultMutableTreeNode.java
4971 (growTree): Likewise.
4973 2005-02-15 Michael Koch <konqueror@gmx.de>
4975 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4978 2005-02-15 Michael Koch <konqueror@gmx.de>
4980 * javax/swing/JComponent.java (getComponentGraphics):
4981 Removed accidently commited code.
4983 2005-02-15 Graydon Hoare <graydon@redhat.com>
4985 * java/awt/dnd/DropTarget.java
4986 (addDropTargetListener): Despite documentation, do not throw.
4987 * javax/swing/JComponent.java: Set a default DropTarget.
4989 2005-02-15 Michael Koch <konqueror@gmx.de>
4991 * javax/swing/AbstractAction.java
4992 (ENABLED_PROPERTY): Removed.
4993 (setEnabled): Replaced constant with real string.
4994 * javax/swing/AbstractButton.java
4995 (createActionPropertyChangeListener.propertyChange): Likewise.
4996 * javax/swing/JComboBox.java
4997 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4998 (EDITABLE_CHANGED_PROPERTY): Removed.
4999 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5000 (ENABLED_CHANGED_PROPERTY):Likewise.
5001 (RENDERER_CHANGED_PROPERTY):Likewise.
5002 (EDITOR_CHANGED_PROPERTY):Likewise.
5003 (MODEL_CHANGED_PROPERTY):Likewise.
5004 (uiClassID):Likewise.
5005 (getUIClassID): Replaced constant with real string.
5006 (setModel):Likewise.
5007 (setEditable):Likewise.
5008 (setMaximumRowCount):Likewise.
5009 (setRenderer):Likewise.
5010 (setEditor):Likewise.
5011 (setEnabled):Likewise.
5012 * javax/swing/JLabel.java
5013 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5014 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5015 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5016 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5017 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5018 (ICON_CHANGED_PROPERTY): Likewise.
5019 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5020 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5021 (TEXT_CHANGED_PROPERTY): Likewise.
5022 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5023 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5024 (setText): Replaced constant with real string.
5025 (setIcon): Likewise.
5026 (setDisabledIcon): Likewise.
5027 (setDisplayedMnemonic): Likewise.
5028 (setIconTextGap): Likewise.
5029 (setVerticalAlignment): Likewise.
5030 (setHorizontalAlignment): Likewise.
5031 (setVerticalTextPosition): Likewise.
5032 (setHorizontalTextPosition): Likewise.
5033 (setLabelFor): Replaced constant with real string.
5034 Fire property change event after property got changed.
5035 * javax/swing/JList.java
5036 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5037 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5038 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5039 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5040 (MODEL_PROPERTY_CHANGED): Likewise.
5041 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5042 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5043 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5044 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5045 (setFixedCellWidth): Reimplemented.
5046 (setFixedCellHeight): Exit if new value is identical.
5047 Replaced constant with real string.
5048 (setSelectionBackground): Likewise.
5049 (setSelectionForeground): Likewise.
5050 (setPrototypeCellValue): Likewise.
5051 (setCellRenderer): Replaced constant with real string.
5052 (setModel): Likewise.
5053 (setSelectionModel): Likewise.
5054 * javax/swing/JMenuBar.java
5055 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5056 (MODEL_CHANGED_PROPERTY): Likewise.
5057 (MARGIN_CHANGED_PROPERTY): Likewise.
5058 (setBorderPainted): Reimplemented.
5059 (setMargin): Likewise.
5060 (setSelectionModel): Replaced constant with real string.
5061 * javax/swing/JPopupMenu.java
5062 (LABEL_CHANGED_PROPERTY): Removed.
5063 (VISIBLE_CHANGED_PROPERTY): Likewise.
5064 (borderPainted): Likewise.
5065 (setLabel): Replaced constant with real string.
5066 (setVisible): Exit if new value is identical.
5067 Replaced constant with real string.
5068 * javax/swing/JProgressBar.java
5069 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5070 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5071 (STRING_CHANGED_PROPERTY): Likewise.
5072 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5073 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5074 (setOrientation): Replaced constant with real string.
5075 (setStringPainted): Likewise.
5076 (setString): Likewise.
5077 (setBorderPainted): Likewise.
5078 (setIndeterminate): Likewise.
5079 * javax/swing/JScrollBar.java
5080 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5081 (MODEL_CHANGED_PROPERTY): Likewise.
5082 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5083 (setOrientation): Replaced constant with real string.
5084 (setModel): Likewise.
5085 (setUnitIncrement): Likewise.
5086 (setBlockIncrement): Likewise.
5087 * javax/swing/JScrollPane.java
5088 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5089 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5090 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5091 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5092 (LAYOUT_CHANGED_PROPERTY): Likewise.
5093 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5094 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5095 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5096 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5097 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5098 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5099 (setComponentOrientation): Replaced constant with real string.
5100 (setColumnHeader): Likewise.
5101 (setHorizontalScrollBar): Likewise.
5102 (setHorizontalScrollBarPolicy): Likewise.
5103 (setRowHeader): Likewise.
5104 (setVerticalScrollBar): Likewise.
5105 (setVerticalScrollBarPolicy): Likewise.
5106 (setWheelScrollingEnabled): Likewise.
5107 (setViewport): Likewise.
5108 (setViewportBorder): Likewise.
5109 * javax/swing/JSlider.java
5110 (INVERTED_CHANGED_PROPERTY): Removed.
5111 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5112 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5113 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5114 (MODEL_CHANGED_PROPERTY): Likewise.
5115 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5116 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5117 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5118 (setModel): Replaced constant with real string.
5119 (setOrientation): Likewise.
5120 (setLabelTable): Likewise.
5121 (setInverted): Likewise.
5122 (setMajorTickSpacing): Likewise.
5123 (setMinorTickSpacing): Likewise.
5124 (setPaintTicks): Likewise.
5125 (setPaintLabels): Likewise.
5126 * javax/swing/JTabbedPane.java
5127 (MODEL_CHANGED_PROPERTY): Removed.
5128 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5129 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5130 (setModel): Replaced constant with real string.
5131 (setTabPlacement): Likewise.
5132 (setTabLayoutPolicy): Likewise.
5133 * javax/swing/JToolBar.java
5134 (ORIENTATION_CHANGED_PROPERTY): Removed.
5135 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5136 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5137 (MARGIN_CHANGED_PROPERTY): Likewise.
5138 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5139 (setRollover): Replaced constant with real string.
5140 (setMargin): Likewise.
5141 (setBorderPainted): Likewise.
5142 (setFloatable): Likewise.
5143 (setOrientation): Likewise.
5144 * javax/swing/plaf/basic/BasicComboBoxUI.java
5145 (PropertyChangeHandler.propertyChange): Likewise.
5146 * javax/swing/plaf/basic/BasicComboPopup.java
5147 (PropertyChangeHandler.propertyChange): Likewise.
5148 * javax/swing/plaf/basic/BasicMenuBarUI.java
5149 (PropertyChangeHandler.propertyChange): Likewise.
5150 * javax/swing/plaf/basic/BasicProgressBarUI.java
5151 (PropertyChangeHandler.propertyChange): Likewise.
5152 * javax/swing/plaf/basic/BasicScrollBarUI.java
5153 (PropertyChangeHandler.propertyChange): Likewise.
5154 * javax/swing/plaf/basic/BasicSliderUI.java
5155 (PropertyChangeHandler.propertyChange): Likewise.
5156 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5157 (PropertyChangeHandler.propertyChange): Likewise.
5158 * javax/swing/plaf/basic/BasicToolBarUI.java
5159 (PropertyChangeHandler.propertyChange): Likewise.
5161 2005-02-15 Michael Koch <konqueror@gmx.de>
5163 * javax/swing/DefaultButtonModel.java
5164 (changeState): Made private.
5165 * javax/swing/DefaultDesktopManager.java
5166 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5167 * javax/swing/JLayeredPane.java
5168 (layerToRange): Made private.
5169 (incrLayer): Likewise.
5170 (decrLayer): Likewise.
5171 * javax/swing/JTable.java
5172 (dragEnabled): Likewise.
5173 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5174 * javax/swing/KeyStroke.java
5175 (Keystroke): Made private.
5176 * javax/swing/TransferHandler.java
5177 (COMMAND_COPY): Likewise.
5178 (COMMAND_CUT): Likewise.
5179 (COMMAND_PASTE): Likewise.
5181 2005-02-15 Michael Koch <konqueror@gmx.de>
5183 * javax/swing/JTextField.java
5184 (postActionEvent): Use text in field when actionCommand is null.
5185 (getActionCommand): Removed.
5187 2005-02-15 Michael Koch <konqueror@gmx.de>
5189 * javax/swing/AbstractSet.java: Removed.
5190 * Makefile.am: Removed javax/swing/AbstractSet.java.
5191 * Makefile.in: Regenerated.
5193 2005-02-15 Michael Koch <konqueror@gmx.de>
5195 * java/awt/Window.java
5196 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5197 * java/awt/dnd/DnDConstants.java
5198 (DnDConstants): New private constructor.
5200 2005-02-15 Michael Koch <konqueror@gmx.de>
5202 * javax/swing/DefaultCellRenderer.java: Removed.
5203 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5204 * Makefile.in: Regenerated.
5206 2005-02-15 Michael Koch <konqueror@gmx.de>
5208 * javax/swing/AbstractButton.java
5209 (fireItemStateChanged): Made protected.
5210 (fireActionPerformed): Likewise.
5211 (fireStateChanged): Likewise.
5212 * javax/swing/DefaultButtonModel.java
5213 (fireItemStateChanged): Likewise.
5214 (fireActionPerformed): Likewise.
5215 (fireStateChanged): Likewise.
5216 * javax/swing/JApplet.java
5218 (frameInit): Likewise.
5219 (setRootPane): Made protected.
5220 (createRootPane): Likewise.
5221 * javax/swing/JComponent.java
5222 (getClientProperty): Likewise.
5223 (putClientProperty): Likewise.
5224 * javax/swing/JEditorPane.java
5225 (getContentType): Likewise.
5226 (setContentType): Likewise.
5227 * javax/swing/JFrame.java
5228 (setRootPane): Likewise.
5229 (createRootPane): Likewise.
5230 * javax/swing/JInternalFrame.java
5231 (getFocusCycleRootAncestor): Made final. Added @since tag.
5232 (isFocusCycleRoot): Likewise.
5233 (getWarningString): Made final.
5234 * javax/swing/JScrollBar.java
5235 (changeListener): Removed.
5236 (changeEvent): Likewise.
5237 (createChangeListener): Likewise.
5238 (fireStateChanged): Likewise.
5239 (addChangeListener): Likewise.
5240 (removeChangeListener): Likewise.
5241 (getChangeListeners): Likewise.
5242 * javax/swing/JScrollPane.java
5243 (createViewport): Made protected.
5244 * javax/swing/JViewport.java
5245 (addImpl): Likewise.
5246 (setBorder): New method.
5247 * javax/swing/JWindow.java
5248 (setRootPane): Made protected.
5249 (createRootPane): Likewise.
5250 * javax/swing/plaf/basic/BasicButtonUI.java
5251 (installListeners): Likewise.
5252 (uninstallListeners): Likewise.
5253 * javax/swing/plaf/basic/BasicProgressBarUI.java
5254 (incrementAnimationIndex): Likewise.
5255 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5256 (createLayoutManager): Likewise.
5257 * javax/swing/table/DefaultTableCellRenderer.java
5258 (firePropertyChange): Likewise.
5259 * javax/swing/table/JTableHeader.java
5260 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5262 * javax/swing/text/PlainDocument.java
5263 (reindex): Made private.
5264 * javax/swing/text/PlainView.java
5265 (drawLine): Made protected.
5266 (getTabSize): Likewise.
5267 * javax/swing/text/View.java
5269 (preferenceChanged): New method.
5270 (getBreakWeight): Likewise.
5271 (breakView): Likewise.
5272 (getViewIndex): Likewise.
5274 2005-02-15 Michael Koch <konqueror@gmx.de>
5276 * javax/swing/JScrollPane.java
5277 (ScrollBar): Made class protected.
5278 * javax/swing/JSpinner.java
5279 (JSpinner): Added @since tag.
5280 (listenerList): Removed.
5281 * javax/swing/JTable.java
5282 (setValueAt): New method.
5283 (getColumn): Likewise.
5284 * javax/swing/JWindow.java
5285 (rootPaneCheckingEnabled): Renamed from checking.
5287 2005-02-15 Michael Koch <konqueror@gmx.de>
5289 * javax/swing/plaf/basic/BasicTextUI.java
5290 (RootView.modelToView): Made it public and return a java.awt.Shape.
5291 Handle null subview.
5292 (uninstall): Set textComponent to null when its not possible used
5294 * javax/swing/text/View.java
5295 (setParent): Use better argument name.
5296 (getContainer): Get parent via getParent().
5297 (getViewFactory): Likewise.
5298 (getAttributes): Get element via getElement().
5299 (getStartOffset): Likewise.
5300 (getEndOffset): Likewise.
5301 (getResizeWeight): New method.
5302 (getMaximumSpan): Likewise.
5303 (getMinimumSpan): Likewise.
5304 (setSize): Likewise.
5305 (getGraphics): Likewise.
5307 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5309 * java/awt/Checkbox.java:
5310 (AccessibleAWTCheckbox()): Added public constructor
5312 * java/awt/Choice.java:
5313 (AccessibleAWTChoice): Added class documentation.
5314 (AccessibleAWTChoice()): Added public constructor
5316 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5317 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5318 and changed role to COMBO_BOX.
5319 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5320 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5321 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5323 2005-02-15 Graydon Hoare <graydon@redhat.com>
5324 Michael Koch <konqueror@gmx.de>
5326 * javax/swing/LayoutFocusTraversalPolicy.java,
5327 javax/swing/SortingFocusTraversalPolicy.java:
5329 * Makefile.am: Added new classes.
5330 * Makefike.in: Regenerated.
5333 2005-02-15 Michael Koch <konqueror@gmx.de>
5335 * javax/swing/DebugGraphics.java: Mostly implemented.
5337 2005-02-15 Michael Koch <konqueror@gmx.de>
5339 * javax/swing/SwingUtilities.java
5340 (findFocusOwner): New method.
5342 2005-02-15 Michael Koch <konqueror@gmx.de>
5344 * javax/swing/text/DefaultEditorKit.java
5345 (read): Added '\n' after each line.
5346 * javax/swing/text/PlainView.java
5347 (modelToView): Update metrics.
5348 (drawLine): Use offsets from element.
5349 (paint): Update metrics. Draw all lines.
5351 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5353 * java/awt/Checkbox.java:
5354 (AccessibleAWTCheckbox): Added class documentation
5355 * java/awt/Scrollbar.java:
5356 (AccessibleAWTScrollBar): typo corrected and docs added
5357 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5358 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5359 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5360 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5361 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5362 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5363 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5364 (getAccessibleContext()): name of accessible class corrected
5366 2005-02-15 Mark Wielaard <mark@klomp.org>
5368 * java/awt/BasicStroke.java (hashCode): Implement.
5371 2005-02-15 Michael Koch <konqueror@gmx.de>
5373 * java/awt/print/PrinterJob.java
5374 (pageDialog): Throws java.awt.HeadlessException.
5375 (printDialog): Likewise.
5377 2005-02-15 Mark Wielaard <mark@klomp.org>
5379 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5381 2005-02-15 Michael Koch <konqueror@gmx.de>
5383 * javax/swing/JTable.java
5384 (getValueAt): New method.
5385 * javax/swing/table/JTableHeader.java
5386 (columnAtPoint): New method.
5388 2005-02-15 Michael Koch <konqueror@gmx.de>
5390 * javax/swing/JTextField.java
5391 (actions): New field.
5392 (static): Initalize actions field.
5393 (getActions): New method.
5395 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5397 * java/awt/Checkbox.java:
5398 (AccessibleAWTCheckbox): name capitalization corrected
5399 and serialization UID added.
5400 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5402 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5403 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5404 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5405 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5406 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5407 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5408 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5409 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5410 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5411 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5412 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5414 (getAccessibleContext()): name of accessible class corrected
5416 2005-02-15 Sven de Marothy <sven@physto.se>
5418 * java/awt/geom/doc-files/Area-1.png,
5419 java/awt/geom/doc-files/Ellipse-1.png,
5420 java/awt/geom/doc-files/GeneralPath-1.png:
5423 2005-02-15 Graydon Hoare <graydon@redhat.com>
5425 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5426 Use union to avoid type-punning warning.
5428 2005-02-15 Michael Koch <konqueror@gmx.de>
5430 * javax/swing/DefaultListSelectionModel.java
5431 (clone): New method.
5433 2005-02-15 Mark Wielaard <mark@klomp.org>
5435 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5436 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5437 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5438 Correct method signature of gtkSetFilename.
5440 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5442 * javax/swing/text/StringContent.java: New file.
5444 2005-02-15 Michael Koch <konqueror@gmx.de>
5446 * Makefile.am: Added javax/swing/text/StringContent.java.
5447 * Makefile.in: Regenerated.
5449 2005-02-15 Michael Koch <konqueror@gmx.de>
5451 * gnu/java/awt/ClasspathToolkit.java:
5452 Import statements reworked.
5453 (imageCache): Made it of type java.util.HashMap.
5455 2005-02-15 Michael Koch <konqueror@gmx.de>
5457 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5458 Reworked import statements.
5460 2005-02-15 Graydon Hoare <graydon@redhat.com>
5462 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5465 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5467 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5470 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5472 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5473 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5474 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5478 Rewrite uses of extern variable to be function calls.
5479 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5480 function, from extern variable.
5481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5482 (gdk_env): Remove variable, add new function.
5483 (java_vm): Add new variable.
5484 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5485 java_vm rather than old gdk_env variable.
5487 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5489 * javax/swing/DefaultListModel.java
5490 (add): fire correct event,
5491 (addElement): corrected interval indices in event,
5492 (clear): corrected upper bound for interval, only fire event if
5494 (setSize): fire appropriate event.
5496 2005-02-15 Graydon Hoare <graydon@redhat.com>
5498 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5499 * gnu/awt/xlib/XToolkit.java: Likewise.
5500 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5501 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5502 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5503 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5504 * java/awt/EventQueue.java (getNextEvent):
5505 Adjust event loop to switch to native mode after 100ms.
5506 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5508 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5509 Wake up event thread.
5510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5511 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5512 Adjust event loop to switch to java mode after 100ms.
5514 2005-02-15 Graydon Hoare <graydon@redhat.com>
5516 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5517 accidentally removed in last change.
5519 2005-02-15 Michael Koch <konqueror@gmx.de>
5521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5522 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5524 2005-02-15 Graydon Hoare <graydon@redhat.com>
5526 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5527 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5528 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5529 * jni.cc: Reuse bottom frame between calls, avoid clearing
5530 frame when no local references are made.
5532 2005-02-15 Michael Koch <konqueror@gmx.de>
5534 * javax/swing/UIDefaults.java (UIDefaults):
5535 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5536 Fixed HTML entity and removed a redundant comma.
5538 2005-02-15 Michael Koch <konqueror@gmx.de>
5540 * javax/swing/text/DefaultEditorKit.java
5541 (deinstall): Removed.
5542 (install): Likewise.
5544 2005-02-15 Michael Koch <konqueror@gmx.de>
5546 * javax/swing/UIDefaults.java (put): Handle value of null.
5548 2005-02-15 Michael Koch <konqueror@gmx.de>
5550 * java/awt/Robot.java,
5551 java/awt/Scrollbar.java,
5552 java/awt/print/PrinterJob.java,
5553 javax/swing/JTable.java,
5554 javax/swing/text/AbstractDocument.java:
5555 Reworked import statements.
5557 2005-02-15 Michael Koch <konqueror@gmx.de>
5559 * javax/swing/JEditorPane.java
5560 (read): Implemented.
5562 * javax/swing/text/DefaultEditorKit.java
5563 (page): Renamed from page_url. Made private.
5564 (editorKit): Renamed from kit. Made private.
5566 (JEditorPane): All constructors reimplemented.
5567 (getContentType): Use content type from editor kit.
5568 (getEditorKit): Return editorKit.
5569 (getEditorKitForContentType):Likewise.
5570 (getPage): Return page.
5571 (setContentType): Reimplemented.
5572 (setEditorKit): Likewise.
5573 (setEditorKitForContentType): Removed wrong implementation.
5574 (setPage): Implemented.
5576 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5578 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5579 (nativeSetIconImageFromData): Re-add native implementation.
5581 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5583 * javax/swing/table/DefaultTableModel.java
5584 (DefaultTableModel()): Added Javadocs.
5585 (DefaultTableModel(int, int)): Fixed implementation.
5586 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5587 for negative rowCount.
5588 (DefaultTableModel(Object[], int)): Added Javadocs.
5589 (DefaultTableModel(Vector, Vector)): Likewise.
5590 (DefaultTableModel(Object[][], Object[])): Likewise.
5591 (getDataVector): Likewise.
5592 (setDataVector(Vector, Vector)): Likewise.
5593 (setDataVector(Object[][], Object[])): Likewise.
5594 (newDataAvailable): Likewise.
5595 (newRowsAdded): Likewise.
5596 (rowsRemoved): Likewise.
5597 (setColumnIdentifiers(Vector)): Allow for null argument.
5598 (setColumnIdentifiers(Object[])): Added Javadocs.
5599 (setNumRows): Likewise.
5600 (setRowCount): Adds new rows if necessary, and sends more specific
5602 (setColumnCount): Allow for null columnIdentifiers.
5603 (addColumn(Object)): Added Javadocs.
5604 (addColumn(Object, Vector)): Handle null columnData.
5605 (addColumn(Object, Object[])): Handle columnData with more or less
5606 entries than rows in the table.
5607 (addRow(Vector)): Fire appropriate event.
5608 (addRow(Object[])): Added Javadocs.
5609 (insertRow(int, Vector)): Fire appropriate event.
5610 (insertRow(int, Object[])): Added Javadocs.
5611 (moveRow): Reimplemented.
5612 (removeRow(int)): Fire appropriate event.
5613 (getColumnCount): Allow for null columnIdentifiers.
5614 (getColumnName): Now returns empty string when column index is too
5616 (isCellEditable): Added Javadocs.
5617 (getValueAt): Likewise.
5618 (setValueAt): Fire more specific event.
5619 (convertToVector): Added Javadocs.
5620 * javax/swing/table/TableModel.java
5623 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5625 * libgcj.spec.in (lib): Add -l-javax-imageio.
5627 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5629 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5630 references to event queue q with method call q().
5631 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5632 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5633 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5634 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5635 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5636 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5639 2005-02-15 Graydon Hoare <graydon@redhat.com>
5641 * gnu/java/awt/ClasspathToolkit.java
5642 (registerImageIOSpis): New method.
5643 * gnu/java/awt/image/ImageDecoder.java
5644 (imageDecoder): New constructor using InputStream
5645 (startProduction): Handle existing InputStream.
5646 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5647 (findSimpleIntegerArray): Make public and static.
5648 (updateBufferedImage): Set each pixel, in a loop.
5649 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5650 Implement ImageIO SPI classes.
5651 (createBufferedImage): Rewrite in terms of SPI classes.
5652 * gnu/java/awt/peer/gtk/GtkToolkit.java
5653 (registerImageIOSpis): New method.
5654 * java/lang/reflect/natMethod.cc
5655 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5656 which lets JNI call interface methods properly.
5657 * javax/imageio/ImageIO.java
5658 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5659 (WriterMIMETypeFilter.filter): Likewise.
5660 (ImageReaderIterator): Pass extension argument through to SPI.
5661 (getReadersByFilter): Likewise.
5662 (getWritersByFilter): Likewise.
5663 (getImageReadersByFormatName): Likewise.
5664 (getImageReadersByMIMEType): Likewise.
5665 (getImageReadersBySuffix): Likewise.
5666 (getImageWritersByFormatName): Likewise.
5667 (getImageWritersByMIMEType): Likewise.
5668 (getImageWritersBySuffix): Likewise.
5671 * javax/imageio/ImageReader.java
5672 (progressListeners): Initialize.
5673 (setInput): Implement.
5674 * javax/imageio/ImageWriter.java
5675 (progressListeners): Initialize.
5676 (warningListeners): Likewise.
5677 (warningLocales): Likewise.
5678 (setOutput): Test "isInstance" rather than class equality.
5679 * javax/imageio/spi/IIORegistry.java
5680 (static): Add reader and writer SPIs.
5681 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5682 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5683 (query_formats): New function.
5684 (save_to_stream): Likewise.
5685 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5687 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5689 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5691 (keyPress): Likewise.
5692 (keyRelease): Likewise.
5694 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5696 * javax/swing/JTable.java
5697 (columnAtPoint): New Method. Implemented.
5698 (rowAtPoint): Likewise.
5699 (countSelections): Fixed few small count errors.
5700 (getSelections): Likewise.
5701 (setSelectionMode): Set selection mode for column
5702 selection model in addition to row selection model.
5703 * javax/swing/plaf/basic/BasicTableUI.java:
5704 (getRowForPoint): Removed. Replaced by
5705 JTable.rowAtPoint().
5706 (getColForPoint): Removed. Replaced by
5707 JTable.columnAtPoint().
5708 (updateSelection): Updated to call JTable.columnAtPoint
5709 and JTable.rowAtPoint.
5710 * javax/swing/table/DefaultTableColumnModel.java:
5711 (getSelectedColumns): Implemented.
5712 (getSelectedColumnCount): Implemented.
5714 2005-02-15 Graydon Hoare <graydon@redhat.com>
5717 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5718 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5719 * Makefile.in: Regenerate.
5720 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5721 * gnu/awt/xlib/XFramePeer.java: Likewise.
5722 * gnu/awt/xlib/XToolkit.java: Likewise.
5723 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5724 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5725 * gnu/java/awt/ClasspathToolkit.java
5728 (iterateNativeQueue): New methods.
5729 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5730 * gnu/java/awt/peer/gtk/GtkToolkit.java
5731 (gtkInit): Absorb from defunct GtkMainThread class.
5732 (static): Run gtkInit in static startup block.
5733 (GtkToolkit): Remove construction of GtkMainThread and queue.
5734 (getSystemEventQueueImpl): Construct queue when requested.
5737 (iterateNativeQueue): New methods.
5738 * java/awt/Component.java (removeNotify): Remove race.
5739 * java/awt/EventDispatchThread.java
5740 (EventDispatchThread): Don't start on construction.
5741 (run): Remove isInterrupted check.
5742 * java/awt/EventQueue.java (shutdown): New flag.
5743 (isShutdown): New method checking J2SE shutdown condition.
5744 (setShutdown): New method.
5745 (getNextEvent): Restructure to use ClasspathToolkit.
5746 (postEvent): Activate new thread on posting, wake thread on
5747 post of possible shutdown condition event.
5748 * java/awt/Frame.java
5749 (Frame): Call noteFrame in all constructors.
5750 (fireDummyEvent): New helper method.
5751 (addNotify): Fire a dummy event to wake up queue.
5752 (removeNotify): Fire a dummy event to wake up queue.
5753 (noteFrame): New method.
5754 (weakFrames): New static field.
5755 (getFrames): Implement.
5756 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5759 Move everything from GtkMainThread into this file
5760 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5761 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5762 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5763 New functions to implement single-threaded queue semantics.
5765 2005-02-15 Michael Koch <konqueror@gmx.de>
5767 * javax/swing/plaf/metal/MetalLookAndFeel.java
5768 (getControlTextFont): New method.
5769 (getMenuTextFont): Likewise.
5770 (getSubTextFont): Likewise.
5771 (getSystemTextFont): Likewise.
5772 (getUserTextFont): Likewise.
5773 (getWindowTitleFont): Likewise.
5775 2005-02-15 Michael Koch <konqueror@gmx.de>
5777 * javax/swing/text/AbstractDocument.java
5778 (documentFilter): New field.
5779 (getDocumentFilter): New method.
5780 (setDocumentFilter): Likewise.
5783 2005-02-15 Michael Koch <konqueror@gmx.de>
5785 * javax/swing/JTree.java
5786 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5788 2005-02-15 Michael Koch <konqueror@gmx.de>
5790 * javax/swing/text/AbstractDocument.java
5791 (AbstractElement.getLength): Fixed off-by-one error.
5792 (AbstractElement.children): Made abstract.
5793 (AbstractElement.getAllowsChildren): Likewise.
5794 (AbstractElement.getElement): Likewise.
5795 (AbstractElement.dumpElement): New private method.
5796 (AbstractElement.dump): New method.
5797 (BranchElememt.getName): Fixed implementation.
5798 (BranchElememt.toString): Likewise.
5799 (BranchElememt.getElement): Fixed arguments.
5800 (LeafElement.getName): Fixed implementation.
5801 (LeafElement.toString): Likewise.
5802 * javax/swing/text/GapContent.java
5803 (GapContent): Put default content into buffer.
5804 * javax/swing/text/PlainDocument.java
5805 (reindex): Use empty attribute sets instead of null.
5806 (createDefaultRoot): Reimplemented.
5807 (insertUpdate): Call super method.
5808 (removeUpdate): Likewise.
5809 (getParagraphElement): Implemented.
5811 2005-02-15 Michael Koch <konqueror@gmx.de>
5813 * gnu/java/awt/ClasspathToolkit.java
5814 (createRobot): Throws java.awt.AWTException.
5815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5816 Added '__attribute__((unused))' to all unused method arguments.
5818 2005-02-15 Michael Koch <konqueror@gmx.de>
5820 * javax/swing/DefaultBoundedRangeModel.java
5821 (fireValueChanged): Fixed off-by-one error.
5823 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5825 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5826 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5828 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5829 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5830 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5831 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5832 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5833 (getDefaultScreenDevice): Implement.
5834 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5835 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5836 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5837 * java/awt/Robot.java: Implement.
5838 * java/awt/peer/RobotPeer.java: Rename parameters.
5839 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5840 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5841 (awt_keycode_to_keysym): Make non-static.
5842 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5843 AWT_BUTTON3_MASK): Declare constants.
5844 (awt_keycode_to_keysym): Declare.
5846 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5847 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5848 and is non-empty pass its value to "make check".
5849 (test_mauve_sim): Likewise.
5851 2005-02-15 Michael Koch <konqueror@gmx.de>
5853 * javax/imageio/IIOParam.java
5854 (setSourceBands): New method.
5855 (setSourceSubsampling): Likewise.
5856 * javax/imageio/ImageReadParam.java
5857 (setDestination): Likewise.
5858 (setDestinationBands): Likewise.
5859 (setSourceProgressivePasses): Likewise.
5860 * javax/imageio/metadata/IIOInvalidTreeException.java
5861 (serialVersionUID): New static field.
5862 * javax/imageio/metadata/IIOMetadataNode.java
5863 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5864 (parent): Dont initailize with default value explicitely.
5866 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5867 (removeAttributeNode): Likewise.
5868 (removeAttributeNS): Likewise.
5869 (setAttribute): Likewise.
5870 (setAttributeNode): Likewise.
5871 (setAttributeNodeNS): Likewise.
5872 (setAttributeNS): Likewise.
5873 (appendChild): Likewise.
5874 (getNodeValue): Likewise.
5875 (insertBefore): Likewise.
5876 (removeChild): Likewise.
5877 (replaceChild): Likewise.
5878 (setPrefix): Likewise.
5880 2005-02-15 Michael Koch <konqueror@gmx.de>
5882 * javax/swing/LookAndFeel.java
5883 (getDesktopPropertyValue): New method.
5885 2005-02-15 Michael Koch <konqueror@gmx.de>
5887 * javax/swing/JTree.java
5888 (hasChildren): New instance field.
5890 2005-02-15 Michael Koch <konqueror@gmx.de>
5892 * javax/swing/JComponent.java
5893 (getToolTipText): New method.
5894 (getTitledBorderText): Likewise.
5895 (getAccessibleKeyBinding): Likewise.
5896 (getVerifyInputWhenFocusTarget): Likewise.
5897 (setVerifyInputWhenFocusTarget): Likewise.
5898 (verifyInputWhenFocusTarget): New instance field.
5900 2005-02-15 Michael Koch <konqueror@gmx.de>
5902 * javax/swing/DefaultListSelectionModel.java
5903 (fireValueChanged): New method.
5905 2005-02-15 Michael Koch <konqueror@gmx.de>
5907 * javax/swing/DefaultBoundedRangeModel.java:
5908 Fixed javadocs all over.
5909 (fireStateChanged): Simplified.
5910 * javax/swing/BoundedRangeModel.java:
5913 2005-02-15 Michael Koch <konqueror@gmx.de>
5915 * javax/swing/JRootPane.java
5916 (setMenuBar): Added @deprecated tag.
5917 (getMenuBar): Likewise.
5918 * javax/swing/JTable.java
5919 (sizeColumnsToFit): Likewise.
5921 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5923 * javax/swing/ImageIcon.java (setImage): Implemented.
5925 2005-02-15 Michael Koch <konqueror@gmx.de>
5927 * javax/swing/JTable.java:
5928 Removed unused imports.
5930 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5932 (prepareRenderer): Get column's index in dataModel instead
5933 of column's view index.
5934 (getColumnCount): return count of the columns in ColumnModel,
5936 (removeColumn): Implemented.
5937 (moveColumm): Likewise.
5938 (setRowHeight): throw IllegalArgumentException if height is
5940 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5941 (DefaultTableColumnModel):Add call to createSelectionModel().
5942 (addColumn): Fire columnAdded event to registered listeners.
5943 (removeColumn): Fire columnRemoved event to registered listeners.
5944 (moveColumn): Fire columnMoved event to registered listeners.
5945 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5946 (getColumnIndex): Changed parameter name.
5947 (setColumnSelectionAllowed): Likewise.
5948 (fireColumnAdded): Implemented.
5949 (fireColumnRemoved): Likewise.
5950 (fireColumnMoved): Likewise.
5951 (fireColumnMarginChanged): Likewise.
5952 (getListeners): Changed parameter name.
5953 (propertyChange): Implemented.
5954 (valueChanged): Changed parameter name.
5955 (createSelectionModel): Implemented.
5957 2005-02-15 Michael Koch <konqueror@gmx.de>
5959 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5960 Explicitely import used classes.
5961 (getLocalGraphicsEnvironment): Simplify.
5962 * java/awt/Window.java (Window):
5963 Enable code to get the default GraphicsConfiguration.
5965 2005-02-15 Michael Koch <konqueror@gmx.de>
5967 * javax/swing/plaf/metal/DefaultMetalTheme.java
5968 (CONTROL_TEXT_FONT): New static field.
5969 (MENU_TEXT_FONT): Likewise.
5970 (SUB_TEXT_FONT): Likewise.
5971 (SYSTEM_TEXT_FONT): Likewise.
5972 (USER_TEXT_FONT): Likewise.
5973 (WINDOW_TITLE_FONT): Likewise.
5974 (getControlTextFont): New method.
5975 (getMenuTextFont): Likewise.
5976 (getSubTextFont): Likewise.
5977 (getSystemTextFont): Likewise.
5978 (getUserTextFont): Likewise.
5979 (getWindowTitleFont): Likewise.
5980 * javax/swing/plaf/metal/MetalTheme.java
5981 (BLACK): Initialize with Color.BLACK.
5982 (WHITE): Initialize with Color.WHITE.
5983 (getInactiveControlTextColor): Return getControlDisabled().
5984 (getMenuDisabledForeground): Return getSecondary3().
5985 (getControlTextFont): New abstract method.
5986 (getMenuTextFont): Likewise.
5987 (getSubTextFont): Likewise.
5988 (getSystemTextFont): Likewise.
5989 (getUserTextFont): Likewise.
5990 (getWindowTitleFont): Likewise.
5992 2005-02-15 Michael Koch <konqueror@gmx.de>
5994 * javax/swing/JFormattedTextField.java
5995 (getFocusLostBehavior): Fixed typo in method name.
5996 (setFocusLostBehavior): Likewise.
5998 2005-02-15 Michael Koch <konqueror@gmx.de>
6000 * javax/swing/TransferHandler.java:
6001 Reworked import statements.
6003 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6005 * java/awt/Button.java,
6006 java/awt/Canvas.java,
6007 java/awt/Checkbox.java,
6008 java/awt/CheckboxMenuItem.java,
6009 java/awt/Choice.java,
6010 java/awt/Dialog.java,
6011 java/awt/Frame.java,
6012 java/awt/Label.java,
6015 java/awt/MenuBar.java,
6016 java/awt/MenuItem.java,
6017 java/awt/PopupMenu.java,
6018 java/awt/ScrollPane.java,
6019 java/awt/Scrollbar.java,
6020 java/awt/TextArea.java,
6021 java/awt/Window.java (getAccessibleContext): Clean up comments.
6023 * java/awt/Button.java,
6024 java/awt/Checkbox.java,
6025 java/awt/Choice.java,
6027 java/awt/PopupMenu.java,
6028 java/awt/TextArea.java (getAccessibleContext): Only create new
6030 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6032 2005-02-15 Michael Koch <konqueror@gmx.de>
6034 * java/awt/Button.java,
6035 javax/swing/JApplet.java,
6036 javax/swing/JFormattedTextField.java,
6037 javax/swing/JWindow.java,
6038 javax/swing/JTree.java,
6039 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6040 javax/swing/plaf/basic/BasicTextPaneUI.java,
6041 javax/swing/plaf/basic/BasicTreeUI.java:
6042 Reworked import statements.
6044 2005-02-15 Michael Koch <konqueror@gmx.de>
6046 * Makefile.am: Put javax.imageio into its own library and link it
6047 against lib-org-w3c-dom.la to fix bootstrapping.
6048 * Makefile.in: Regenerated.
6050 2005-02-15 Michael Koch <konqueror@gmx.de>
6052 * javax/swing/text/TextAction.java
6053 (getTextComponent): Simplified. Added Javadoc.
6054 (augmentList): Implemented. Added Javadoc.
6055 (getFocusedComponent): Added javadoc.
6057 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6059 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6060 getAccessibleContext): Implement.
6061 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6062 getAccessibleContext): Implement.
6064 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6066 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6068 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6070 * java/awt/Window.java (getAccessibleContext): Fix comment.
6071 Remove extra import.
6073 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6075 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6076 (isActive, isFocused, getAccessibleContext): Implement.
6078 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6080 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6081 * java/awt/MenuComponent.java (accessibleContext): Make package
6083 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6084 AccessibleAWTCheckboxMenuItem): Implement.
6086 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6088 * java/awt/List.java: Implement AccessibleAWTList,
6089 AccessibleAWTListChild.
6091 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6093 * java/awt/Choice.java: Add implements declaration for
6096 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6098 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6101 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6103 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6104 implemented interface list.
6106 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6108 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6109 * javax/imageio/metadata/IIOAttr.java: New class.
6110 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6111 * javax/imageio/metadata/IIONodeList.java: New class.
6112 * Makefile.am: Added new files.
6113 * Makefile.in: Regenerated.
6115 2005-02-15 Michael Koch <konqueror@gmx.de>
6117 * javax/swing/AbstractAction.java,
6118 javax/swing/AbstractCellEditor.java,
6119 javax/swing/AbstractListModel.java,
6120 javax/swing/DefaultBoundedRangeModel.java,
6121 javax/swing/DefaultButtonModel.java,
6122 javax/swing/DefaultCellEditor.java,
6123 javax/swing/DefaultComboBoxModel.java,
6124 javax/swing/DefaultDesktopManager.java,
6125 javax/swing/JMenu.java,
6126 javax/swing/JSlider.java,
6127 javax/swing/KeyStroke.java,
6128 javax/swing/OverlayLayout.java,
6129 javax/swing/ScrollPaneLayout.java,
6130 javax/swing/SizeRequirements.java,
6131 javax/swing/ViewportLayout.java:
6132 Made serialVersionUID private.
6134 2005-02-15 Michael Koch <konqueror@gmx.de>
6136 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6139 2005-02-15 Michael Koch <konqueror@gmx.de>
6141 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6143 2005-02-15 Michael Koch <konqueror@gmx.de>
6145 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6147 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6149 * java/awt/EventDispatchThread.java,
6150 java/awt/Toolkit.java:
6151 Don't catch java.lang.ThreadDeath.
6153 2005-02-15 Michael Koch <konqueror@gmx.de>
6155 * javax/swing/text/PasswordView.java
6156 (drawEchoCharacter): Added javadoc.
6157 (drawSelectedText): Likewise.
6158 (drawUnselectedText): Likewise.
6160 2005-02-15 Michael Koch <konqueror@gmx.de>
6162 * javax/swing/JRootPane.java
6163 (windowDecorationStyle): New field.
6164 (setMenuBar): New method.
6165 (getMenuBar): Likewise.
6166 (getWindowDecorationStyle): Likewise.
6167 (setWindowDecorationStyle): Likewise.
6169 2005-02-15 Michael Koch <konqueror@gmx.de>
6171 * javax/swing/DefaultListSelectionModel.java
6172 (leadAnchorNotificationEnabled): Made protected.
6174 2005-02-15 Michael Koch <konqueror@gmx.de>
6176 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6177 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6178 * Makefile.in: Regenerated.
6181 2005-02-15 Michael Koch <konqueror@gmx.de>
6183 * javax/swing/JFormattedTextField.java: Implemented.
6184 * javax/swing/JWindow.java
6185 (JWindow): New constructors.
6186 (initWindow): Renamed from initFrame.
6187 * javax/swing/UIDefaults.java
6188 (ActiveValue): Made interface static.
6189 (LazyValue): Likewise.
6190 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6191 (TitlePaneLayout.TitlePaneLayout): New constructor.
6192 * javax/swing/plaf/basic/BasicSliderUI.java
6193 (ChangeHandler): Made public.
6194 (FocusHandler): Likewise.
6195 (PropertyChangeHandler): Likewise.
6196 (ScrollListener): Likewise.
6197 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6198 (FocusHandler): Likewise.
6199 (MouseHandler): Likewise.
6200 * javax/swing/plaf/basic/BasicTextPaneUI.java
6201 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6202 * javax/swing/plaf/basic/BasicToolBarUI.java
6203 (BasicToolBarUI): Simplified. Reworked javadoc.
6204 (canDock): Simplified. Make public.
6205 (DockingListener): Made public.
6206 * javax/swing/text/JTextComponent.java
6207 (navigationFilter): New field.
6208 (getNavigationFilter): New method.
6209 (setNavigationFilter): Likewise.
6211 2005-02-15 Michael Koch <konqueror@gmx.de>
6213 * javax/swing/plaf/metal/MetalTheme.java
6214 (getControlTextColor): Return getControlInfo().
6215 (getHighlightedTextColor): Return getControlTextColor().
6217 2005-02-15 Michael Koch <konqueror@gmx.de>
6219 * javax/swing/plaf/basic/BasicButtonListener.java
6220 (BasicButtonListener): New constructor.
6221 * javax/swing/plaf/basic/BasicButtonUI.java
6222 (createButtonListener): Usw new BasicButtonListener constructor.
6224 2005-02-15 Michael Koch <konqueror@gmx.de>
6226 * javax/imageio/event/package.html,
6227 javax/imageio/metadata/package.html: New files.
6229 2005-02-15 Michael Koch <konqueror@gmx.de>
6231 * java/awt/image/MemoryImageSource.java: Reformatted.
6233 2005-02-15 Michael Koch <konqueror@gmx.de>
6235 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6237 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6239 * java/awt/color/ICC_Profile.java
6240 (finalize): Removed pointless field assignments.
6242 2005-02-15 Michael Koch <konqueror@gmx.de>
6244 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6245 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6246 * Makefile.in: Regenerated.
6248 2005-02-15 Michael Koch <konqueror@gmx.de>
6250 * javax/swing/text/DefaultStyledDocument.java: New file.
6251 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6252 * Makefile.in: Regenerated.
6254 2005-02-15 Michael Koch <konqueror@gmx.de>
6256 * javax/swing/JFileChooser.java
6257 (showDialog): Return CANCEL_OPTION for now.
6258 (showOpenDialog): Likewise.
6259 (showSaveDialog): Likewise.
6261 2005-02-15 Michael Koch <konqueror@gmx.de>
6263 * javax/swing/JApplet.java
6264 (HIDE_ON_CLOSE): Removed.
6265 (EXIT_ON_CLOSE): Likewise.
6266 (DISPOSE_ON_CLOSE): Likewise.
6267 (DO_NOTHING_ON_CLOSE): Likewise.
6268 (close_action): Likewise.
6269 (getDefaultCloseOperation): Likewise.
6270 (setDefaultCloseOperation): Likewise.
6271 (processWindowEvent): Likewise.
6272 (getPreferredSize): Simplified.
6273 * javax/swing/JInternalFrame.java
6274 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6276 * javax/swing/JWindow.java
6277 (HIDE_ON_CLOSE): Removed.
6278 (EXIT_ON_CLOSE): Likewise.
6279 (DISPOSE_ON_CLOSE): Likewise.
6280 (DO_NOTHING_ON_CLOSE): Likewise.
6281 (close_action): Likewise.
6282 (processKeyEvent): Likewise.
6283 (setDefaultCloseOperation): Likewise.
6284 (getPreferredSize): Simplified.
6286 2005-02-15 Michael Koch <konqueror@gmx.de>
6288 * javax/swing/JTextField.java
6289 (getPreferredSize): Re-implemented.
6291 2005-02-15 Michael Koch <konqueror@gmx.de>
6293 * javax/swing/JLabel.java
6294 (setDisplayedMnemonic): Use only upper case characters.
6295 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6296 PropertyChangeEvent after property got set to the new index.
6298 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6300 * javax/swing/JComboBox.java:
6301 (JComboBox): Removed selection of the
6302 first item in the model.
6304 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6306 * javax/swing/JComboBox.java
6307 added support for no item being selected
6308 (JComboBox): select first or nothing depending on element count
6309 (setModel): cleaned up unneeded "this." usage, added more
6310 docs, made exception behavior match that of the JDK
6311 (setLighWeightPopupEnabled): removed unneeded "this." usage
6313 (setMaximumRowCount): dito
6315 (setPrototypeDisplayValue): dito
6316 (getSelectedItem): simplified, added more user doc
6317 (setSelectedIndex): corrected exception behavior, added more user doc
6318 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6319 added performance warning to user doc
6320 (addItem): fixed exception behavior, added user doc
6321 (insertItemAt): dito
6323 (removeItemAt): dito
6324 (removeAll): fixed exception behavior, added user doc, added support
6325 for model not being instance of DefaultComboBoxModel
6326 (getSelectedItemObjects): simplified
6327 (getItemCount): fixed dependency on DefaultComboBoxModel
6328 (getItemAt): fixed dependency on MutableComboBoxModel
6329 * javax/swing/DefaultComboBoxModel.java:
6330 (setSelectedItem): updates selected item only if new
6331 value is null or known (match JDK behavior)
6332 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6333 (paintCurrentValue): renders "" if no item is selected
6335 2005-02-15 Michael Koch <konqueror@gmx.de>
6337 * javax/swing/plaf/metal/MetalTheme.java,
6338 javax/swing/plaf/metal/DefaultMetalTheme.java:
6340 * javax/swing/plaf/metal/MetalLookAndFeel.java
6341 * Makefile.am: Added the new files.
6342 * Makefile.in: Regenerated.
6344 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6346 * javax/swing/JTable.java
6347 (editorComp): New field.
6348 (JTable): Initialize local variables and call updateUI
6349 (selectionBackground): Make protected.
6350 (selectionForeground): Likewise.
6351 (initializeLocalVars): Create default editors and renderers,
6352 initialize editingColumn, editingRow variables.
6353 (createDefaultEditors): New Method.
6354 (createDefaultRenderers): Likewise.
6355 (createDefaultListSelectionModel): Removed
6356 (createDefaultSelectionModel): New Method.
6357 (createDefaultTableHeader): Likewise
6358 (removeColumn): Likewise.
6359 (getEditingColumn): Likewise.
6360 (setEditingColumn): Likewise.
6361 (getEditingRow): Likewise.
6362 (setEditingRow): Likewise.
6363 (getEditorComponent): Likewise.
6364 (isEditing): Likewise.
6365 (setDefaultEditor): Likewise.
6366 (addColumnSelectionInterval): Likewise.
6367 (addRowSelectionInterval): Likewise.
6368 (setColumnSelectionInterval): Likewise.
6369 (setRowSelectionInterval): Likewise.
6370 (removeColumnSelectionInterval): Likewise.
6371 (removeRowSelectionInterval): Likewise.
6372 (isColumnSelected): Likewise.
6373 (isRowSelected): Likewise.
6374 (isCellSelected): Likewise.
6375 (selectAll): Likewise.
6377 2005-02-15 Michael Koch <konqueror@gmx.de>
6379 * javax/swing/JTable.java
6380 (addColumn): New method.
6381 (getColumnClass): Likewise.
6382 (getColumnName): Likewise.
6384 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6386 * javax/swing/TransferHandler.java
6387 (createTransferable): Made protected.
6389 2005-02-15 Michael Koch <konqueror@gmx.de>
6391 * javax/swing/JTable.java,
6392 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6393 javax/swing/plaf/basic/BasicTableUI.java:
6394 Use fixed get/setIntercellSpacing() methods.
6396 2005-02-15 Michael Koch <konqueror@gmx.de>
6398 * javax/swing/JTable.java
6399 (getIntercellSpacing): Fixed typo in method name.
6400 (setIntercellSpacing): Likewise.
6402 2005-02-15 Michael Koch <konqueror@gmx.de>
6404 * javax/swing/text/JTextComponent.java
6405 (focusAccelerator): New variable.
6406 (getFocusAccelerator): New method.
6407 (setFocusAccelerator): Likewise.
6409 2005-02-15 Michael Koch <konqueror@gmx.de>
6411 * javax/swing/JComponent.java
6412 (setTransferHandler): Made public. Fire property change event.
6413 * javax/swing/TransferHandler.java: Implemented.
6414 * javax/swing/text/JTextComponent.java
6415 (DefaultTransferHandler): New inner class.
6416 (defaultTransferHandler): New variable.
6420 (doTransferAction): Likewise.
6422 2005-02-15 Michael Koch <konqueror@gmx.de>
6424 * javax/swing/JTree.java
6425 (collapsePath): New method.
6426 (collapseRow): Likewise.
6427 (expandPath): Likewise.
6428 (expandRow): Likewise.
6429 (checkExpandParents): Likewise.
6430 (doExpandParents): Likewise.
6431 (setExpandedState): Likewise.
6432 (makeVisible): Likewise.
6434 2005-02-15 Michael Koch <konqueror@gmx.de>
6436 * javax/swing/JPasswordField.java: Updated javadocs.
6438 2005-02-15 Michael Koch <konqueror@gmx.de>
6440 * javax/swing/JLayeredPane.java
6441 (getLayer): Fixed return type, made public.
6442 (getPosition): Use new getLayer().
6443 (SetPosition): Likewise.
6444 (getIndexOf): Likewise.
6446 * javax/swing/JInternalFrame.java
6447 (getLayer): Use new JLayeredPane.getLayer().
6450 2005-02-15 Michael Koch <konqueror@gmx.de>
6452 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6453 (setHeaderValue): Simplified. Do nothing when old value == new value.
6455 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6457 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6458 against null clip region.
6459 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6460 gtkWindowSetResizable.
6461 (postConfigureEvent): Only revalidate if frame size has changed.
6462 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6463 Only revalidate if frame size has changed.
6464 * java/awt/Component.java (reshape): Only repaint and post
6465 component events if component is showing.
6466 * java/awt/Container.java (addImpl): Only post container event if
6467 container is showing.
6469 * java/awt/Window.java (setLocationRelativeTo): Implement.
6470 (setBoundsCallback): Only post component events if component is
6472 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6473 Protect against null graphics structure. Flush gdk event queue.
6475 2005-02-15 Michael Koch <konqueror@gmx.de>
6477 * javax/imageio/ImageReader.java,
6478 javax/imageio/ImageTranscoder.java,
6479 javax/imageio/ImageWriter.java,
6480 javax/imageio/spi/ImageInputStreamSpi.java,
6481 javax/imageio/spi/ImageOutputStreamSpi.java,
6482 javax/imageio/spi/ServiceRegistry.java,
6483 javax/imageio/stream/ImageInputStream.java,
6484 javax/imageio/stream/ImageOutputStream.java: Updated.
6485 * javax/imageio/IIOException.java,
6486 javax/imageio/IIOImage.java,
6487 javax/imageio/IIOParam.java,
6488 javax/imageio/IIOParamController.java,
6489 javax/imageio/ImageIO.java,
6490 javax/imageio/ImageReadParam.java,
6491 javax/imageio/ImageTypeSpecifier.java,
6492 javax/imageio/ImageWriteParam.java,
6493 javax/imageio/spi/IIORegistry.java,
6494 javax/imageio/spi/ImageReaderSpi.java,
6495 javax/imageio/spi/ImageWriterSpi.java,
6496 javax/imageio/stream/FileCacheImageInputStream.java,
6497 javax/imageio/stream/FileCacheImageOutputStream.java,
6498 javax/imageio/stream/FileImageInputStream.java,
6499 javax/imageio/stream/FileImageOutputStream.java,
6500 javax/imageio/stream/ImageInputStreamImpl.java,
6501 javax/imageio/stream/ImageOutputStreamImpl.java,
6502 javax/imageio/stream/MemoryCacheImageInputStream.java,
6503 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6504 javax/imageio/event/IIOReadProgressListener.java,
6505 javax/imageio/event/IIOReadUpdateListener.java,
6506 javax/imageio/event/IIOReadWarningListener.java,
6507 javax/imageio/event/IIOWriteProgressListener.java,
6508 javax/imageio/event/IIOWriteWarningListener.java,
6509 javax/imageio/metadata/IIOMetadata.java,
6510 javax/imageio/metadata/IIOMetadataController.java,
6511 javax/imageio/metadata/IIOMetadataFormat.java,
6512 javax/imageio/metadata/IIOInvalidTreeException.java,
6513 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6514 javax/imageio/metadata/IIOMetadataNode.java: New files.
6515 * Makefile.am (javax_source_files): Added new files
6516 * Makefile.in: Regenerated.
6518 2005-02-15 Graydon Hoare <graydon@redhat.com>
6520 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6521 Rework painting into BufferedImages
6522 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6523 Construct BufferedImage with alpha only when alpha is
6524 present in colormodel.
6525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6526 Rework painting into client-side jint arrays.
6527 * jni/gtk-peer/gtkcairopeer.h:
6530 2005-02-15 Michael Koch <konqueror@gmx.de>
6532 * javax/swing/DefaultListCellRenderer.java
6533 (serialVersionUID): Made private.
6534 (getListCellRendererComponent): Set horizontal alignment.
6535 * javax/swing/JLabel.java
6536 (setVerticalAlignment): Re-implemented.
6537 (setHorizontalAlignment): Do nothing if old value = new value.
6538 * javax/swing/JList.java
6539 (setCellRenderer): Likewise.
6540 (setModel): Re-implemented.
6541 (setSelectionModel): Likewise.
6543 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6545 * java/awt/Component.java,
6546 java/awt/geom/Rectangle2D.java:
6549 2005-02-15 Michael Koch <konqueror@gmx.de>
6551 * javax/swing/AbstractListModel.java
6552 (fireContentsChanged): Simplified.
6553 (fireIntervalAdded): Likewise.
6554 (fireIntervalRemoved): Likewise.
6555 * javax/swing/DefaultSingleSelectionModel.java:
6557 (fireStateChanged): Simplified.
6558 * javax/swing/JPopupMenu.java
6559 (setSelectionModel): Set property.
6561 2005-02-15 Michael Koch <konqueror@gmx.de>
6563 * java/awt/print/Book.java: Reformatted.
6565 2005-02-15 Michael Koch <konqueror@gmx.de>
6567 * java/awt/geom/Area.java
6568 (QuadSegment.curveArea): Remove unused variables.
6569 (CubicSegment.curveArea): Likewise.
6571 2005-02-15 Michael Koch <konqueror@gmx.de>
6573 * javax/swing/JTree.java
6574 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6575 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6576 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6577 (EXPANDED): New constant.
6578 (COLLAPSED): Likewise.
6579 (nodeStates): New field.
6580 (cellEditor): New method.
6581 (cellRenderer): Likewise.
6582 (selectionModel): Likewise.
6583 (treeModel): Likewise.
6584 (scrollPathToVisible): Likewise.
6585 (scrollRowToVisible): Likewise.
6586 (isCollapsed): Likewise.
6587 (isExpanded): Likewise.
6588 (clearToggledPaths): Likewise.
6589 (getDescendantToggledPaths): Likewise.
6590 (hasBeenExpanded): Likewise.
6591 (isVisible): Likewise.
6592 (isPathEditable): Likewise.
6594 2005-02-15 Michael Koch <konqueror@gmx.de>
6596 * javax/swing/JLayeredPane.java: Reformatted.
6598 2005-02-15 Michael Koch <konqueror@gmx.de>
6600 * javax/swing/tree/DefaultMutableTreeNode.java:
6602 * javax/swing/tree/MutableTreeNode.java:
6605 2005-02-15 Michael Koch <konqueror@gmx.de>
6607 * javax/swing/JFormattedTextField.java
6608 (setDocument): Call setDocument of super class. Don't fire property
6611 2005-02-15 Sven de Marothy <sven@physto.se>
6613 * java/awt/image/IndexColorModel.java:
6614 Add FIXME with respect to alpha handling.
6615 (getAlpha): Default to returning opaque pixels.
6616 * java/awt/image/MultiPixelPackedSampleModel.java
6617 (MultiPixelPackedSampleModel): Corrected parameters, order of
6618 bit shifts and masks, stride length off by one.
6620 2005-02-15 Michael Koch <konqueror@gmx.de>
6622 * javax/swing/JList.java, javax/swing/JTree.java:
6623 Added much new methods and fixed much methods setting bound properties.
6625 2005-02-16 Mark Wielaard <mark@klomp.org>
6627 * Makefile.am (gnu_xml_source_files): Removed
6628 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6629 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6630 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6631 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6632 gnu/xml/dom/DomDocumentFragment.java,
6633 gnu/xml/dom/DomProcessingInstruction.java and
6634 gnu/xml/dom/ls/DomLSException.java.
6635 * Makefile.in: Regenerated.
6637 2005-02-16 Tom Tromey <tromey@redhat.com>
6639 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6640 attribute index is out of bounds.
6642 2005-02-16 Chris Burdess <dog@gnu.org>
6644 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6645 isDeclared methods. Improved performance of isSpecified methods.
6647 2005-02-16 Chris Burdess <dog@gnu.org>
6649 Fixes bug libgcj/19864
6650 * gnu/xml/dom/DomAttr.java,
6651 gnu/xml/dom/DomCDATA.java,
6652 gnu/xml/dom/DomCDATASection.java,
6653 gnu/xml/dom/DomCharacterData.java,
6654 gnu/xml/dom/DomDOMException.java,
6655 gnu/xml/dom/DomDoctype.java,
6656 gnu/xml/dom/DomDocument.java,
6657 gnu/xml/dom/DomDocumentConfiguration.java,
6658 gnu/xml/dom/DomDocumentFragment.java,
6659 gnu/xml/dom/DomElement.java,
6660 gnu/xml/dom/DomEx.java,
6661 gnu/xml/dom/DomFragment.java,
6662 gnu/xml/dom/DomImpl.java,
6663 gnu/xml/dom/DomIterator.java,
6664 gnu/xml/dom/DomNamedNodeMap.java,
6665 gnu/xml/dom/DomNode.java,
6666 gnu/xml/dom/DomNsNode.java,
6667 gnu/xml/dom/DomPI.java,
6668 gnu/xml/dom/DomProcessingInstruction.java,
6669 gnu/xml/dom/DomText.java,
6670 gnu/xml/dom/DomLSEx.java,
6671 gnu/xml/dom/DomLSException.java,
6672 gnu/xml/dom/DomLSParser.java,
6673 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6674 implementation class names to conform to Classpath guidelines. Make
6675 DomLSException use JDK 1.4+ exception chaining.
6676 * gnu/xml/util/SAXNullTransformerFactory.java,
6677 gnu/xml/xpath/Predicate.java: Use constants relative to
6678 declaring class or interface.
6680 2005-02-16 Andrew Haley <aph@redhat.com>
6682 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6683 null, create a new AccessControlContext.
6684 * java/security/SecureClassLoader.java (protectionDomainCache):
6686 (defineClass): Create a new protection domain and add it to our
6689 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6690 addStub() to keep track of the stub we've exported.
6691 (unexportObject): Call deleteStub().
6692 * java/rmi/server/RemoteObject.java (stubs): New field.
6693 (addStub): New method.
6694 (deleteStub): New method.
6697 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6698 true to findHelper (tryParents).
6699 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6701 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6702 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6704 If tryParents is false, don't scan parent class loaders.
6706 * java/security/Permissions.java (PermissionsHash.implies):
6707 Iterate over the collection and invoke implies() on each
6710 2005-02-16 Andrew Haley <aph@redhat.com>
6712 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6714 (PersistentByteMap): Set name
6715 Magic number changed to 0x67636a64 ("gcjd").
6716 (init): Force the map to be prime.
6717 (emptyPersistentByteMap): File name was a string, now a File.
6718 (addBytes): Share srings between entries.
6719 (stringTableSize): New method.
6720 (capacity): Scale by load factor.
6721 (force): New method.
6722 (getFile): New method.
6723 (close): New method.
6724 (putAll): New method.
6725 (ByteWrapper): New class.
6726 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6727 (main): Guess the average string size as 32, not 64.
6728 Copy a database before modifying it, so that we can update a
6729 database in a running system.
6730 If a database isn't big enough, resize it.
6731 "-m": new option: merges databases.
6732 "-a": Create a new detabase if it doesn't exist.
6733 (usage): Correct, add new option.
6734 (addJar): Copy a database before modifying it.
6735 (resizeMap): New method.
6737 2005-02-15 David Daney <ddaney@avtrex.com>
6738 Bryce McKinlay <mckinlay@redhat.com>
6740 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6741 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6742 ensure that GC threads inherit the new signal mask.
6743 (block_sigchld): Call JvFail rather than throwing exception if
6744 pthread_sigmask() fails.
6746 2005-02-15 Mark Wielaard <mark@klomp.org>
6748 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6749 file path elements are separated by spaces.
6751 2005-02-15 Mark Wielaard <mark@klomp.org>
6753 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6754 to describe attributes without a constant field value in this class.
6756 2005-02-15 Michael Koch <konqueror@gmx.de>
6758 * java/util/jar/Attributes.java
6759 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6761 2005-02-15 Mark Wielaard <mark@klomp.org>
6763 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6764 space for parsing CLASS_PATH attribute.
6766 2005-02-15 Mark Wielaard <mark@klomp.org>
6768 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6769 aside for "GCJLIBS" in directory where jarfiles are loaded.
6770 (JarURLLoader.getClass): Removed method.
6771 (JarURLLoader.toString): Removed method.
6772 (FileResource.toString): Removed method.
6774 2005-02-15 Mark Wielaard <mark@klomp.org>
6776 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6777 and/or cause before throwing.
6779 2005-02-15 Richard Henderson <rth@redhat.com>
6781 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6782 (libgcj0_convenience_la_SOURCES): ... here.
6783 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6784 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6785 * Makefile.in: Regenerate.
6787 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6790 * include/jawt.h: Likewise.
6791 * include/jawt_md.h: Likewise.
6792 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6794 * include/Makefile.in: Regenerate.
6795 * jni/classpath/classpath_jawt.h: Likewise.
6796 * jni/gtk-peer/gtk_jawt.c: Likewise.
6797 * Makefile.am: Build libjawt.so.
6798 * Makefile.in: Regenerate.
6800 2005-02-14 Tom Tromey <tromey@redhat.com>
6802 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6804 2005-02-14 Tom Tromey <tromey@redhat.com>
6806 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6807 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6809 2005-02-14 Tom Tromey <tromey@redhat.com>
6812 * testsuite/libjava.lang/PR19929.out: New file.
6813 * testsuite/libjava.lang/PR19929.java: New file.
6815 2005-02-14 Anthony Green <green@redhat.com>
6818 * testsuite/libjava.jni/PR18116.c: New file.
6819 * testsuite/libjava.jni/PR18116.java: New file.
6820 * testsuite/libjava.jni/PR18116.out: New file.
6822 2005-02-13 Anthony Green <green@redhat.com>
6825 * jni.cc (nathash_add): Don't strdup the method signature.
6826 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6830 2005-02-12 Mark Wielaard <mark@klomp.org>
6832 Fixes bug libgcj/8170
6833 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6834 ClassNotFoundException.
6835 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6836 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6837 (remove_internal): New field superceding remove_interpreter.
6838 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6839 Remove no-class methods starting with "_Jv_". And Replace null
6840 class or method names with the empty string. Stop at either the
6841 MainThread or a real Thread run() method.
6842 (newElement): Made static.
6843 * java/net/URLClassLoader.java (findClass): Throw
6844 ClassNotFoundExceptions including urls, plus parent using toString().
6845 (thisString): New field.
6846 (toString): New method.
6848 2005-02-10 Tom Tromey <tromey@redhat.com>
6850 * external/sax/Makefile.in: Rebuilt.
6851 * external/sax/Makefile.am (all-local): Removed.
6852 (BUILT_SOURCES): New variable.
6853 (mostlyclean-local): No error if no classes to delete.
6854 * external/w3c_dom/Makefile.in: Rebuilt.
6855 * external/w3c_dom/Makefile.am (all-local): Removed.
6856 (BUILT_SOURCES): New variable.
6857 (mostlyclean-local): No error if no classes to delete.
6859 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6861 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6862 of mauve and libjava.
6864 2005-02-09 Tom Tromey <tromey@redhat.com>
6866 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6867 jar file with OPEN_DELETE.
6868 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6869 OPEN_DELETE is used.
6871 2005-02-09 Tom Tromey <tromey@redhat.com>
6873 * java/util/zip/InflaterInputStream.java (markSupported):
6875 (mark, reset): Likewise.
6877 2005-02-08 Tom Tromey <tromey@redhat.com>
6879 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6880 name or port is missing.
6881 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6882 AUTHORITY_PORT_GROUP): Updated.
6884 2005-02-08 Tom Tromey <tromey@redhat.com>
6886 * configure: Rebuilt.
6887 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6890 2005-02-07 Tom Tromey <tromey@redhat.com>
6892 * java/lang/natRuntime.cc (insertSystemProperties): Set
6893 sun.boot.class.path earlier.
6895 2005-02-07 Tom Tromey <tromey@redhat.com>
6897 * defineclass.cc (handleClassBegin): Use
6898 _Jv_RegisterInitiatingLoader.
6899 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6900 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6901 class. Use _Jv_UnregisterInitiatingLoader.
6902 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6905 2005-02-07 Mark Wielaard <mark@klomp.org>
6907 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6908 java/util/regex/Matcher.java (lookingAt): Set position when match
6910 (matches): Implemented through lookingAt().
6912 2005-02-07 Mark Wielaard <mark@klomp.org>
6914 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6915 * java/util/regex/Pattern.java (split(CharSequence,int)):
6916 Fix while empties > 0 loops.
6918 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6920 * gnu/java/nio/charset/ISO_8859_1.java,
6921 gnu/java/nio/charset/US_ASCII.java,
6922 gnu/java/nio/charset/UTF_16.java,
6923 gnu/java/nio/charset/UTF_16_LE.java,
6924 gnu/java/nio/charset/UTF_16_BE.java,
6925 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6926 and aliases according to
6927 "http://www.iana.org/assignments/character-sets",
6928 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6929 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6930 * gnu/java/nio/charset/Provider.java: Made charset lookup
6931 case-insensitive which fixes bug #11740.
6933 2005-02-07 Tom Tromey <tromey@redhat.com>
6936 * Makefile.in: Rebuilt.
6937 * Makefile.am (src.zip): New target.
6938 (install-src.zip): Likewise.
6939 (sourcesdir): New variable.
6941 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6943 * javax/imageio/metadata/IIOMetadataNode.java:
6945 * javax/imageio/metadata/IIOAttr.java,
6946 javax/imageio/metadata/IIONamedNodeMap.java,
6947 javax/imageio/metadata/IIONodeList.java:
6950 2005-02-06 Graydon Hoare <graydon@redhat.com>
6952 * gnu/java/awt/ClasspathToolkit.java
6953 (registerImageIOSpis): New method.
6954 * javax/imageio/ImageIO.java
6955 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6956 (WriterMIMETypeFilter.filter): Likewise.
6957 (ImageReaderIterator): Pass extension argument through to SPI.
6958 (getReadersByFilter): Likewise.
6959 (getWritersByFilter): Likewise.
6960 (getImageReadersByFormatName): Likewise.
6961 (getImageReadersByMIMEType): Likewise.
6962 (getImageReadersBySuffix): Likewise.
6963 (getImageWritersByFormatName): Likewise.
6964 (getImageWritersByMIMEType): Likewise.
6965 (getImageWritersBySuffix): Likewise.
6968 * javax/imageio/ImageReader.java
6969 (progressListeners): Initialize.
6970 (setInput): Implement.
6971 * javax/imageio/ImageWriter.java
6972 (progressListeners): Initialize.
6973 (warningListeners): Likewise.
6974 (warningLocales): Likewise.
6975 (setOutput): Test "isInstance" rather than class equality.
6976 * javax/imageio/spi/IIORegistry.java
6977 (static): Add reader and writer SPIs.
6978 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6980 2005-02-06 Michael Koch <konqueror@gmx.de>
6982 * javax/imageio/metadata/IIOInvalidTreeException.java
6983 (IIOInvalidTreeException): Reformatted.
6984 * javax/imageio/spi/IIORegistry.java
6985 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6986 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6987 Reworked import statements.
6989 2005-02-06 Michael Koch <konqueror@gmx.de>
6991 * javax/imageio/stream/FileImageOutputStream.java:
6994 2005-02-06 Michael Koch <konqueror@gmx.de>
6996 * javax/imageio/stream/FileCacheImageInputStream.java,
6997 javax/imageio/stream/FileCacheImageOutputStream.java,
6998 javax/imageio/stream/FileImageInputStream.java,
6999 javax/imageio/stream/ImageInputStreamImpl.java,
7000 javax/imageio/stream/ImageOutputStreamImpl.java,
7001 javax/imageio/stream/MemoryCacheImageInputStream.java,
7002 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7003 Added all missing methods in javax.imageio.stream.
7005 2005-02-02 David Daney <ddaney@avtrex.com>
7007 * java/net/InetAddress.java (InetAddress): Make a private copy of
7009 * java/net/Inet4Address.java (getAddress): Return a copy of the
7011 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7013 (getAddress): Return a copy of the address.
7016 2005-02-02 Tom Tromey <tromey@redhat.com>
7018 * Makefile.in: Rebuilt.
7019 * Makefile.am (classes.stamp): New target, broken out from
7021 ($(all_java_class_files)): Depend on it.
7022 (libgcj-@gcc_version@.jar): Likewise.
7023 (all-recursive): Likewise.
7024 (CLEANFILES): Include classes.stamp.
7026 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7028 * link.cc: Include <stdio.h>
7030 2005-02-02 Tom Tromey <tromey@redhat.com>
7033 * Makefile.in: Rebuilt.
7034 * Makefile.am (ordinary_java_source_files): Added new class.
7035 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7036 Use system_instance, not instance.
7037 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7038 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7040 (system_instance): New field.
7041 (initialize): Initialize the system loader as well.
7042 (VMClassLoader): Default to LIB_CACHE.
7044 2005-02-02 Tom Tromey <tromey@redhat.com>
7046 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7047 * prims.cc: Fixed comment.
7049 2005-02-01 Tom Tromey <tromey@redhat.com>
7051 * Makefile.in: Rebuilt.
7052 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7053 (.java.class): Use BOOTCLASSPATH.
7055 2005-02-01 Tom Tromey <tromey@redhat.com>
7057 * external/w3c_dom/Makefile.am: New file.
7058 * external/w3c_dom/Makefile.in: New file.
7059 * external/sax/Makefile.am: New file.
7060 * external/sax/Makefile.in: New file.
7061 * external/Makefile.in: New file.
7062 * external/Makefile.am: New file.
7063 * external/README: New file from Classpath.
7064 * configure, aclocal.m4, Makefile.in: Rebuilt.
7065 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7066 * Makefile.am (SUBDIRS): Added external.
7067 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7068 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7069 (BOOTCLASSPATH): New variable.
7070 (AM_GCJFLAGS): Use it.
7071 (gnu_xml_source_files): New variable.
7072 (libgcj_la_SOURCES): Use it.
7073 (libgcj_la_LDADD): Include new convenience libraries.
7074 (lib_org_ietf_jgss_la_SOURCES): Removed.
7075 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7076 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7077 (lib_org_w3c_dom_la_SOURCES): Removed.
7078 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7079 (lib_org_w3c_dom_la_LIBADD): Likewise.
7080 (lib_org_xml_sax_la_SOURCES): Removed.
7081 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7082 (lib_org_xml_sax_la_LIBADD): Likewise.
7083 (all_java_source_files): Updated.
7084 (property_files): Likewise.
7085 (libgcj-@gcc_version@.jar): Include classes from external/.
7086 (javax_source_files): Updated.
7087 (ordinary_java_source_files): Updated.
7088 * javax/xml/XMLConstants.java,
7089 javax/xml/datatype/DatatypeConfigurationException.java,
7090 javax/xml/datatype/DatatypeConstants.java,
7091 javax/xml/datatype/DatatypeFactory.java,
7092 javax/xml/datatype/Duration.java,
7093 javax/xml/datatype/XMLGregorianCalendar.java,
7094 javax/xml/datatype/package.html,
7095 javax/xml/namespace/NamespaceContext.java,
7096 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7097 javax/xml/parsers/DocumentBuilder.java,
7098 javax/xml/parsers/DocumentBuilderFactory.java,
7099 javax/xml/parsers/FactoryConfigurationError.java,
7100 javax/xml/parsers/ParserConfigurationException.java,
7101 javax/xml/parsers/SAXParser.java,
7102 javax/xml/parsers/SAXParserFactory.java,
7103 javax/xml/parsers/package.html,
7104 javax/xml/transform/ErrorListener.java,
7105 javax/xml/transform/OutputKeys.java,
7106 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7107 javax/xml/transform/SourceLocator.java,
7108 javax/xml/transform/Templates.java,
7109 javax/xml/transform/Transformer.java,
7110 javax/xml/transform/TransformerConfigurationException.java,
7111 javax/xml/transform/TransformerException.java,
7112 javax/xml/transform/TransformerFactory.java,
7113 javax/xml/transform/TransformerFactoryConfigurationError.java,
7114 javax/xml/transform/URIResolver.java,
7115 javax/xml/transform/package.html,
7116 javax/xml/transform/dom/DOMLocator.java,
7117 javax/xml/transform/dom/DOMResult.java,
7118 javax/xml/transform/dom/DOMSource.java,
7119 javax/xml/transform/dom/package.html,
7120 javax/xml/transform/sax/SAXResult.java,
7121 javax/xml/transform/sax/SAXSource.java,
7122 javax/xml/transform/sax/SAXTransformerFactory.java,
7123 javax/xml/transform/sax/TemplatesHandler.java,
7124 javax/xml/transform/sax/TransformerHandler.java,
7125 javax/xml/transform/sax/package.html,
7126 javax/xml/transform/stream/StreamResult.java,
7127 javax/xml/transform/stream/StreamSource.java,
7128 javax/xml/transform/stream/package.html,
7129 javax/xml/validation/Schema.java,
7130 javax/xml/validation/SchemaFactory.java,
7131 javax/xml/validation/TypeInfoProvider.java,
7132 javax/xml/validation/Validator.java,
7133 javax/xml/validation/ValidatorHandler.java,
7134 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7135 javax/xml/xpath/XPathConstants.java,
7136 javax/xml/xpath/XPathException.java,
7137 javax/xml/xpath/XPathExpression.java,
7138 javax/xml/xpath/XPathExpressionException.java,
7139 javax/xml/xpath/XPathFactory.java,
7140 javax/xml/xpath/XPathFactoryConfigurationException.java,
7141 javax/xml/xpath/XPathFunction.java,
7142 javax/xml/xpath/XPathFunctionException.java,
7143 javax/xml/xpath/XPathFunctionResolver.java,
7144 javax/xml/xpath/XPathVariableResolver.java,
7145 javax/xml/xpath/package.html: New files, from GNU JAXP.
7146 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7147 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7148 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7149 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7150 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7151 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7152 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7153 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7154 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7155 org/w3c/dom/ranges/DocumentRange.java,
7156 org/w3c/dom/ranges/Range.java,
7157 org/w3c/dom/ranges/RangeException.java,
7158 org/w3c/dom/traversal/DocumentTraversal.java,
7159 org/w3c/dom/traversal/NodeFilter.java,
7160 org/w3c/dom/traversal/NodeIterator.java,
7161 org/w3c/dom/traversal/TreeWalker.java,
7162 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7163 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7164 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7165 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7166 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7167 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7168 org/xml/sax/SAXNotRecognizedException.java,
7169 org/xml/sax/SAXNotSupportedException.java,
7170 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7171 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7172 org/xml/sax/ext/DeclHandler.java,
7173 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7174 org/xml/sax/helpers/AttributeListImpl.java,
7175 org/xml/sax/helpers/AttributesImpl.java,
7176 org/xml/sax/helpers/DefaultHandler.java,
7177 org/xml/sax/helpers/LocatorImpl.java,
7178 org/xml/sax/helpers/NamespaceSupport.java,
7179 org/xml/sax/helpers/NewInstance.java,
7180 org/xml/sax/helpers/ParserAdapter.java,
7181 org/xml/sax/helpers/ParserFactory.java,
7182 org/xml/sax/helpers/XMLFilterImpl.java,
7183 org/xml/sax/helpers/XMLReaderAdapter.java,
7184 org/xml/sax/helpers/XMLReaderFactory.java,
7185 org/xml/sax/helpers/package.html: Moved to external/.
7186 * external/sax/README,
7187 external/sax/org/xml/sax/AttributeList.java,
7188 external/sax/org/xml/sax/Attributes.java,
7189 external/sax/org/xml/sax/ContentHandler.java,
7190 external/sax/org/xml/sax/DTDHandler.java,
7191 external/sax/org/xml/sax/DocumentHandler.java,
7192 external/sax/org/xml/sax/EntityResolver.java,
7193 external/sax/org/xml/sax/ErrorHandler.java,
7194 external/sax/org/xml/sax/HandlerBase.java,
7195 external/sax/org/xml/sax/InputSource.java,
7196 external/sax/org/xml/sax/Locator.java,
7197 external/sax/org/xml/sax/Parser.java,
7198 external/sax/org/xml/sax/SAXException.java,
7199 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7200 external/sax/org/xml/sax/SAXNotSupportedException.java,
7201 external/sax/org/xml/sax/SAXParseException.java,
7202 external/sax/org/xml/sax/XMLFilter.java,
7203 external/sax/org/xml/sax/XMLReader.java,
7204 external/sax/org/xml/sax/package.html,
7205 external/sax/org/xml/sax/ext/Attributes2.java,
7206 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7207 external/sax/org/xml/sax/ext/DeclHandler.java,
7208 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7209 external/sax/org/xml/sax/ext/EntityResolver2.java,
7210 external/sax/org/xml/sax/ext/LexicalHandler.java,
7211 external/sax/org/xml/sax/ext/Locator2.java,
7212 external/sax/org/xml/sax/ext/Locator2Impl.java,
7213 external/sax/org/xml/sax/ext/package.html,
7214 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7215 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7216 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7217 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7218 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7219 external/sax/org/xml/sax/helpers/NewInstance.java,
7220 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7221 external/sax/org/xml/sax/helpers/ParserFactory.java,
7222 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7223 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7224 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7225 external/sax/org/xml/sax/helpers/package.html,
7226 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7227 external/w3c_dom/org/w3c/dom/Attr.java,
7228 external/w3c_dom/org/w3c/dom/CDATASection.java,
7229 external/w3c_dom/org/w3c/dom/CharacterData.java,
7230 external/w3c_dom/org/w3c/dom/Comment.java,
7231 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7232 external/w3c_dom/org/w3c/dom/DOMError.java,
7233 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7234 external/w3c_dom/org/w3c/dom/DOMException.java,
7235 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7236 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7237 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7238 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7239 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7240 external/w3c_dom/org/w3c/dom/Document.java,
7241 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7242 external/w3c_dom/org/w3c/dom/DocumentType.java,
7243 external/w3c_dom/org/w3c/dom/Element.java,
7244 external/w3c_dom/org/w3c/dom/Entity.java,
7245 external/w3c_dom/org/w3c/dom/EntityReference.java,
7246 external/w3c_dom/org/w3c/dom/NameList.java,
7247 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7248 external/w3c_dom/org/w3c/dom/Node.java,
7249 external/w3c_dom/org/w3c/dom/NodeList.java,
7250 external/w3c_dom/org/w3c/dom/Notation.java,
7251 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7252 external/w3c_dom/org/w3c/dom/Text.java,
7253 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7254 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7255 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7256 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7257 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7258 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7259 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7260 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7261 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7262 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7263 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7264 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7265 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7266 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7267 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7268 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7269 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7270 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7271 external/w3c_dom/org/w3c/dom/css/Counter.java,
7272 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7273 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7274 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7275 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7276 external/w3c_dom/org/w3c/dom/css/Rect.java,
7277 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7278 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7279 external/w3c_dom/org/w3c/dom/events/Event.java,
7280 external/w3c_dom/org/w3c/dom/events/EventException.java,
7281 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7282 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7283 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7284 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7285 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7286 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7287 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7288 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7289 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7290 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7291 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7292 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7293 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7294 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7295 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7296 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7297 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7298 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7299 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7300 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7301 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7302 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7303 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7304 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7305 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7306 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7307 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7308 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7309 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7310 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7311 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7312 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7313 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7314 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7315 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7316 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7317 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7318 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7319 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7320 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7321 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7322 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7323 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7324 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7325 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7326 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7327 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7328 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7329 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7330 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7331 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7332 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7333 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7334 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7335 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7336 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7337 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7338 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7339 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7340 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7341 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7342 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7343 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7344 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7345 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7346 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7347 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7348 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7349 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7350 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7351 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7352 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7353 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7354 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7355 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7356 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7357 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7358 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7359 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7360 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7361 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7362 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7363 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7364 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7365 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7366 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7367 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7368 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7369 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7370 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7371 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7372 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7375 2005-01-31 Anthony Green <green@redhat.com>
7377 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7378 Support IP_MULTICAST_LOOP.
7379 (setOption): Support IP_MULTICAST_LOOP.
7381 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7382 SO_REUSEADDR support.
7383 (getOption): Support SO_REUSEADDR.
7385 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7388 * java/util/Date.java
7389 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7391 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7393 (getTimezoneOffset): Inverted sign.
7395 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7397 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7398 remove other passing tests and add new XFAILs.
7400 2005-01-24 Tom Tromey <tromey@redhat.com>
7402 * java/lang/Class.h (next): Updated documentation. Renamed to
7404 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7405 _Jv_CheckABIVersion.
7406 (_Jv_RegisterClasses_Counted): Likewise.
7407 (_Jv_RegisterClassHookDefault): Fix starting condition of
7408 duplicate-checking loop.
7409 * include/jvm.h (GCJ_VERSION): New define.
7410 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7411 (_Jv_CheckABIVersion): New function.
7413 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7415 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7416 (libgij_la_LDFLAGS): Add.
7417 * Makefile.in: Rebuilt.
7419 2005-01-24 Roger Sayle <roger@eyesopen.com>
7422 * testsuite/libjava.compile/PR19295.java: New test case.
7424 2005-01-19 Tom Tromey <tromey@redhat.com>
7426 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7427 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7428 if 'handler' is valid.
7430 2005-01-17 Tom Tromey <tromey@redhat.com>
7432 * java/text/MessageFormat.java (scanString): Changed how quoting
7434 (scanFormatElement): Likewise.
7436 2004-12-07 Mark Wielaard <mark@klomp.org>
7438 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7440 2005-01-15 Michael Koch <konqueror@gmx.de>
7444 (AUTHORITY_REGEXP): New regexp constant.
7445 (AUTHORITY_USERINFO_GROUP): New constant.
7446 (AUTHORITY_HOST_GROUP): Likewise.
7447 (AUTHORITY_PORT_GROUP): Likewise.
7448 (port): Changed default value to -1.
7449 (parseURI): Parse authority part and initialize host,
7452 2005-01-14 Robin Green <greenrd@greenrd.org>
7454 * java/io/File.java (toURI): Generate a URI which we understand.
7456 2005-01-13 Graydon Hoare <graydon@redhat.com>
7458 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7459 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7460 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7461 * jni.cc: Reuse bottom frame between calls, avoid clearing
7462 frame when no local references are made.
7464 2005-01-13 Michael Koch <konqueror@gmx.de>
7467 * java/lang/Thread.java
7468 (Thread): Call checkAccess().
7469 (stop): Fixed argument name to match javadoc.
7470 * java/lang/natThread.cc
7471 (interrupt): Call checkAccess().
7474 2005-01-11 Michael Koch <konqueror@gmx.de>
7477 * java/net/URL.java (URL): Handle specs like
7478 "/redir?http://domain2.com/index.html" which start with a slash.
7480 2005-01-11 Michael Koch <konqueror@gmx.de>
7482 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7483 * gnu/java/net/BASE64.java,
7484 gnu/java/net/EmptyX509TrustManager.java,
7485 gnu/java/net/LineInputStream.java,
7486 gnu/java/net/protocol/http/Authenticator.java,
7487 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7488 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7489 gnu/java/net/protocol/http/ChunkedInputStream.java,
7490 gnu/java/net/protocol/http/Cookie.java,
7491 gnu/java/net/protocol/http/CookieManager.java,
7492 gnu/java/net/protocol/http/Credentials.java,
7493 gnu/java/net/protocol/http/HTTPConnection.java,
7494 gnu/java/net/protocol/http/HTTPDateFormat.java,
7495 gnu/java/net/protocol/http/HTTPURLConnection.java,
7496 gnu/java/net/protocol/http/Headers.java,
7497 gnu/java/net/protocol/http/Request.java,
7498 gnu/java/net/protocol/http/RequestBodyWriter.java,
7499 gnu/java/net/protocol/http/Response.java,
7500 gnu/java/net/protocol/http/ResponseBodyReader.java,
7501 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7502 gnu/java/net/protocol/http/SimpleCookieManager.java,
7503 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7504 gnu/java/net/protocol/http/event/ConnectionListener.java,
7505 gnu/java/net/protocol/http/event/RequestEvent.java,
7506 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7507 * gnu/java/net/protocol/http/Connection.java: Removed.
7508 * gnu/java/net/protocol/http/Handler.java,
7509 javax/net/ssl/HttpsURLConnection.java: Updated.
7510 * Makefile.am: Added new files and remove old ones.
7511 * Makefile.in: Regenerated.
7513 2005-01-11 Tom Tromey <tromey@redhat.com>
7516 * java/io/BufferedInputStream.java (read): Repeatedly read to
7518 (refill): Change test to see if buffer must be grown.
7520 2005-01-10 Tom Tromey <tromey@redhat.com>
7522 * mauve-libgcj: Exclude some swing tests.
7524 2005-01-10 Tom Tromey <tromey@redhat.com>
7526 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7527 * java/lang/Package.java (getPackages): Use VMClassLoader when
7529 (getPackage): Likewise.
7530 * prims.cc (_Jv_CreateJavaVM): Call
7531 _Jv_RegisterBootstrapPackages.
7532 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7533 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7534 (getPackages): Likewise.
7535 (definedPackages): New field.
7536 (definePackageForNative): New method.
7537 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7538 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7539 * defineclass.cc (handleClassBegin): Use
7540 ClassLoader.findLoadedClass.
7541 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7543 (struct _Jv_LoaderInfo): Removed.
7544 (initiated_classes): Likewise.
7545 (_Jv_UnregisterClass): Don't use initiated_classes.
7546 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7547 (_Jv_FindClass): Register classes found during boostrap.
7548 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7549 (bootstrap_class_list): New global.
7550 (bootstrap_index): Likewise.
7551 (_Jv_RegisterBootstrapPackages): New function.
7552 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7553 definePackageForNative.
7554 (findClass): Updated.
7555 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7558 2005-01-10 Tom Tromey <tromey@redhat.com>
7561 * include/jvm.h (_Jv_Linker::find_field): Declare.
7562 (_Jv_Linker::find_field_helper): Likewise.
7563 * link.cc (find_field_helper): New method.
7564 (find_field): Likewise.
7565 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7567 (link_symbol_table): Use find_field.
7569 2005-01-10 Michael Koch <konqueror@gmx.de>
7572 * java/util/Locale.java (Locale): Don't uppercase variant.
7573 (getISOCountries): Fixed typo in javadoc.
7575 2005-01-10 Michael Koch <konqueror@gmx.de>
7577 * java/util/SimpleTimeZone.java (checkRule):
7578 Throw IllegalArgumentException on invalid month values.
7579 * java/util/TimeZone.java (setID):
7580 Throw NullPointerException if needed.
7582 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7584 * java/util/SimpleTimeZone.java (getOffset):
7585 offset end date with daylight savings
7587 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7589 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7590 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7592 2005-01-09 Michael Koch <konqueror@gmx.de>
7595 * java/net/InetAddress.java (getLocalHost):
7596 Throw UnknownHostException if local hostname cannot be determined.
7598 2005-01-06 Tom Tromey <tromey@redhat.com>
7600 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7602 2005-01-07 Michael Koch <konqueror@gmx.de>
7605 * java/nio/Buffer.java (address): New field.
7606 * java/nio/DirectByteBufferImpl.java (address): Removed.
7607 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7608 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7609 Explicitly initialize Buffer.address if needed.
7610 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7611 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7612 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7613 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7614 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7615 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7616 DirectByteBufferImpl object.
7617 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7618 * testsuite/libjava.jni/directbuffer.c,
7619 testsuite/libjava.jni/directbuffer.java,
7620 testsuite/libjava.jni/directbuffer.out,
7621 testsuite/libjava.jni/bytebuffer.c,
7622 testsuite/libjava.jni/bytebuffer.java,
7623 testsuite/libjava.jni/bytebuffer.out: New files.
7625 2005-01-05 Tom Tromey <tromey@redhat.com>
7627 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7629 (compressedSize): Now 'long'. Default to -1.
7630 (getCompressedSize): Rewrote.
7631 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7632 deflate at all if we need input.
7634 2005-01-05 Tom Tromey <tromey@redhat.com>
7637 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7640 2005-01-05 Tom Tromey <tromey@redhat.com>
7642 * java/lang/natRuntime.cc (insertSystemProperties): Set
7643 java.ext.dirs earlier.
7645 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7647 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7648 sync_info element of the object if needed.
7650 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7652 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7653 a non-zero exit status from 'false'.
7655 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7657 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.