1 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
3 * jawt.c: Remove malloc.h, covered by stdlib.h.
5 * testsuite/libjava.jni/jni.exp
6 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
9 2005-06-02 Keith Seitz <keiths@redhat.com>
11 * gnu/classpath/jdwp/transport/TransportException.java: New file.
13 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
15 * mauve-libgcj: Remove implemented classes from the fail section.
16 Add two new not implemented to it.
18 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
20 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
21 AC_SUBST definition from configure.host.
22 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
23 to -fomit-frame-pointer on 32-bit x86 targets.
25 2005-06-01 Tom Tromey <tromey@redhat.com>
27 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
29 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
32 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
33 (static): Add possessive matching to JAVA_1_4 syntax.
34 * gnu/regexp/RETokenRepeated.java (possessive): New field.
35 (makePossessive, isPossessive): New methods.
36 (match): Don't back off during possessive matching.
37 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
38 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
41 2005-06-01 Keith Seitz <keiths@redhat.com>
43 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
44 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
45 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
47 2005-06-01 Tom Tromey <tromey@redhat.com>
50 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
51 (currentLoader): New method.
52 * java/io/ObjectInputStream.java (resolveProxyClass): Use
54 (currentLoader): Now native.
55 (currentClassLoader): Removed.
56 * testsuite/libjava.lang/pr21785.java: New file.
57 * testsuite/libjava.lang/pr21785.out: New file.
59 2005-06-01 Tom Tromey <tromey@redhat.com>
62 * java/lang/natString.cc (substring): Changed sharing heuristic.
64 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
67 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
68 MAXPATHLEN. Format exception message using a StringBuffer instead.
70 2005-05-29 Michael Koch <konqueror@gmx.de>
73 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
75 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
77 * ChangeLog: Fix typo.
79 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
81 Testsuite adjustments for PR java/19870.
82 * testsuite/libjava.lang/PR19870.java: New testcase.
83 * testsuite/libjava.lang/PR19870.out: Expected output for the
85 * testsuite/libjava.jacks/jacks.xfail: Add
86 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
89 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
91 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
92 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
93 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
95 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
96 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
97 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
98 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
100 2005-05-25 Richard Henderson <rth@redhat.com>
103 * sysdep/descriptor-n.h: New file.
104 * sysdep/descriptor-y.h: New file.
105 * sysdep/powerpc/descriptor.h: New file.
106 * configure.host: Set $descriptor_h appropriate for the host.
107 * configure.ac: Link it.
108 * configure: Regenerate.
109 * stacktrace.cc: Include sysdep/descriptor.h.
110 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
112 2005-05-25 Chris Burdess <dog@gnu.org>
114 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
115 end entity callbacks.
117 2005-05-24 Gary Benson <gbenson@redhat.com>
120 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
121 Handle DateFormat.DEFAULT case correctly.
123 2005-05-21 Tom Tromey <tromey@redhat.com>
126 * java/lang/ref/natReference.cc (find_slot): Handle case where
127 table has no NULL entries.
128 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
129 table has no NULL entries.
131 2005-05-22 Andreas Jaeger <aj@suse.de>
133 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
136 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
138 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
140 2005-05-19 Richard Henderson <rth@redhat.com>
142 * exception.cc: Revert 05-17 gcc_unreachable change.
144 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
146 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
147 _Jv_RegisterInitiatingLoader to register array classes, not
149 (_Jv_RegisterInitiatingLoader): Give up if called very early during
150 bootstrapping. Add a FIXME to handle this case better.
152 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
154 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
156 (libgcj_la_SOURCES): New. Move sources here.
157 (libgcj.la): Remove rule.
159 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
162 * gnu/java/security/provider/DSASignature.java: Import updates
165 2005-05-18 Anthony Green <green@redhat.com>
167 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
168 classpath_jawt_object_unlock, classpath_jawt_create_lock,
169 classpath_jawt_destroy_lock): New functions.
170 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
171 classpath_jawt_object_unlock, classpath_jawt_create_lock,
172 classpath_jawt_destroy_lock): New functions.
173 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
175 * jawt.c: #include malloc.h.
176 (_Jv_Lock): Use lock.
178 (_Jv_GetDrawingSurface): Initialize lock.
179 (_Jv_FreeDrawingSurface): Destroy lock.
180 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
182 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
184 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
185 * Makefile.in: Regenerate.
187 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
189 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
190 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
191 * aclocal.m4, configure, config.h.in, include/config.h.in,
192 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
193 external/Makefile.in, external/sax/Makefile.in,
194 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
196 2005-05-17 David Daney <ddaney@avtrex.com>
199 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
201 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
203 * exception.cc (abort): Remove std::abort hack.
204 (gcc_unreacheable): Define.
206 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
208 * Makefile.am (Makefile.deps): Do not create native.list and
210 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
211 * Makefile.in: Regenerate.
213 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
215 * configure.ac (--enable-libgcj-multifile): Remove.
217 * Makefile.am (all_native_compiled_source_files,
218 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
219 all_libgcj_lo_files, all_xlib_lo_files,
220 all_java_deps_files, all_java_stamp_files,
221 all_java_filelist_files): New variables.
222 (EXTRA_DIST): New Automake variable.
223 (CLEANFILES): Add .stamp, .list and .lo files.
224 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
225 (classes.stamp): Depend on $(all_java_stamp_files).
226 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
227 going through write_entries_to_file.
229 (all_java_source_files, all_property_files): Move earlier.
230 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
231 all_java_class_files): Remove.
232 (gtk_awt_peer_sources): Rename to...
233 (gtk_awt_peer_source_files): ... this. Adjust throughout.
236 (libgcj0_convenience_la_SOURCES): Remove Java source files.
237 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
238 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
239 (libgcj_la_SOURCES): Remove.
240 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
241 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
242 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
244 * configure: Regenerate.
245 * Makefile.in: Regenerate.
246 * external/Makefile.in: Regenerate.
247 * external/sax/Makefile.in: Regenerate.
248 * external/w3c_dom/Makefile.in: Regenerate.
249 * gcj/Makefile.in: Regenerate.
250 * include/Makefile.in: Regenerate.
251 * libltdl/Makefile.in: Regenerate.
252 * testsuite/Makefile.in: Regenerate.
254 2005-05-16 Tom Tromey <tromey@redhat.com>
256 * java/nio/charset/Charset.java (encode, decode): Synchronize on
257 'this', not the class.
259 2005-05-16 Tom Tromey <tromey@redhat.com>
261 * gnu/java/net/protocol/http/Headers.java (parse): Include final
264 2005-05-16 Tom Tromey <tromey@redhat.com>
267 * java/net/URI.java (unquote): Handle lower-case letters as well.
269 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
272 * gnu/regexp/RE.java: Add support for quoting constructs.
274 2005-05-15 Tom Tromey <tromey@redhat.com>
276 * java/lang/String.java (startsWith): Fixed javadoc.
278 2005-05-15 Tom Tromey <tromey@redhat.com>
281 * testsuite/libjava.compile/pr21519.java: New file.
282 * testsuite/libjava.compile/pr21519.no-link: New file.
284 2005-05-15 Tom Tromey <tromey@redhat.com>
286 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
288 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
291 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
292 interrupt status flag if _Jv_CondWait is interrupted.
294 2005-05-13 Tom Tromey <tromey@redhat.com>
296 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
299 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
301 * include/jvm.h (gcj::verifyClasses): Declare.
302 * link.cc (gcj::verbose_class_flag): Moved.
303 * prims.cc (gcj::verifyClasses): Define here.
304 (gcj::verbose_class_flag): Move definition here.
305 (_Jv_Linker::wait_for_state): Don't call verify_class
306 if gcj::verifyClasses is not set.
307 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
309 2005-05-12 Aaron Luchko <aluchko@redhat.com>
311 * gij.cc (main): Recognize '-verify', '-noverify', and
314 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
316 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
318 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
320 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
323 2005-05-11 Tom Tromey <tromey@redhat.com>
325 * external/w3c_dom/Makefile.in: Rebuilt.
326 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
328 * external/sax/Makefile.in: Rebuilt.
329 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
331 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
333 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
334 Call _Jv_CopyClassesToSystemLoader.
335 * java/lang/natClassLoader.cc (system_class_list): New global.
336 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
338 (_Jv_CopyClassesToSystemLoader): New function.
339 (SYSTEM_LOADER_INITIALIZED): New define.
340 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
341 (_Jv_CheckABIVersion): Use it.
342 (_Jv_ClassForBootstrapLoader): New function.
343 * Makefile.in: Rebuilt.
344 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
346 2005-05-10 Tom Tromey <tromey@redhat.com>
348 * gcj/javaprims.h: Updated.
349 * java/lang/String.java (String(StringBuilder)): New constructor.
350 * java/lang/natStringBuilder.cc: New file.
351 * java/lang/StringBuilder.java: New file.
352 * Makefile.in: Rebuilt.
353 * Makefile.am (core_java_source_files): Added StringBuilder.java.
354 (nat_source_files): Added natStringBuilder.cc.
356 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
359 * testsuite/libjava.jacks/jacks.xfail: Adjust.
361 2005-05-09 Mike Stump <mrs@apple.com>
363 * configure: Regenerate.
365 2005-05-09 David Daney <ddaney@avtrex.com>
367 * java/util/BitSet.java (get(int, int)): Fix breakage when
368 requested set doesn't start on a multiple of 64.
370 2005-05-07 Matthias Klose <doko@debian.org>
372 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
374 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
376 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
377 * Makefile.in: Regenerate.
378 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
379 (createCompatibleVolatileImage(int,int)): Implement.
380 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
382 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
384 (createVolatileImage): Implement.
385 (createBuffers): Likewise.
386 (getBackBuffer): Likewise.
388 (destroyBuffers): Likewise.
389 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
390 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
391 (CanvasFlipBufferStrategy): Likewise.
392 (createBufferStrategy(int)): New method.
393 (createBufferStrategy(int,BufferCapabilities)): Likewise.
394 * java/awt/Component.java (BltBufferStrategy): Implement and
396 (FlipBufferStrategy): Likewise.
397 * java/awt/Window.java (WindowBltBufferStrategy): New class.
398 (WindowFlipBufferStrategy): Likewise.
399 (createBufferStrategy(int)): New method.
400 (createBufferStrategy(int,BufferCapabilities)): Likewise.
401 (getBufferStrategy): Likewise.
402 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
403 front to frontCaps and back to backCaps.
405 2005-05-06 Michael Koch <konqueror@gmx.de>
407 * java/awt/BufferCapabilities.java
408 (BufferCapabilities): Merged javadoc.
410 2005-05-06 Michael Koch <konqueror@gmx.de>
412 * java/util/Locale.java
413 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
414 (getLocale): New methods. Use it everywhere where instances of Locales
416 (getDisplayLanguage): Merged javadoc.
417 (getDisplayCountry): Likewise.
418 (getDisplayVariant): Likewise.
420 2005-05-06 Archie Cobbs <archie@dellroad.org>
422 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
423 use DeleteLocalRef() to avoid exhausting local native references.
425 2005-05-06 Mark Wielaard <mark@klomp.org>
427 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
428 (window_delete_cb): Don't use C++ style comments.
430 2005-05-06 Robert Schuster <thebohemian@gmx.net>
432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
435 2005-05-06 Robert Schuster <thebohemian@gmx.net>
437 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
438 (window_delete_cb): Made the function return TRUE.
440 2005-05-06 Roman Kennke <roman@kennke.org>
442 * javax/swing/text/PlainView.java
443 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
445 * javax/swing/text/Utilities.java
446 (drawTabbedText): Initilialize local variable pos correctly.
448 2005-05-06 Roman Kennke <roman@kennke.org>
450 * javax/swing/text/AbstractDocument.java
451 (LeafElement): Made start and end package private fields for
452 effective reindexing.
453 * javax/swing/text/PlainDocument.java
454 (constructor): The field rootElement is always BranchElement,
455 so we handle it as such.
456 (removeUpdate): Rewritten reindexing for removeUpdate so that
457 the actual removal is taken into account.
459 2005-05-06 Roman Kennke <roman@kennke.org>
461 * javax/swing/text/GapContent.java:
462 Removed debugging output stuff, which I accidentally left in.
464 2005-05-06 Roman Kennke <roman@kennke.org>
466 * javax/swing/text/GapContent.java:
467 Implemented a real GapContent. Only the public methods have
468 been implemented so far and still no UndoableEdit support.
470 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
472 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
475 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
477 * java/awt/image/BufferStrategy.java: Document.
479 * java/awt/BufferCapabilities.java: Document.
481 2005-05-04 Tom Tromey <tromey@redhat.com>
483 * java/nio/channels/FileLock.java (toString): Entirely avoid
486 2005-05-04 Andrew Overholt <overholt@redhat.com>
488 * java/nio/channels/FileLock.java (toString): Re-implement using
491 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
493 * java/awt/ImageCapabilities.java: Document.
495 * java/awt/image/VolatileImage.java: Unindent copyright header.
497 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
499 * java/awt/image/VolatileImage.java: Document.
501 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
504 (init_glib_threads): Check if threading system is already
507 2005-05-03 Andrew Overholt <overholt@redhat.com>
510 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
511 could not be acquired.
512 * java/nio/channels/FileLock.java (toString): Re-implement to be
513 in line with other implementations.
515 2005-05-03 Tom Tromey <tromey@redhat.com>
517 * java/lang/VMSecurityManager.java (currentClassLoader): Use
518 'systemClasssLoader' directly.
520 2005-05-03 Tom Tromey <tromey@redhat.com>
522 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
523 call VMClassLoader.getSystemClassLoader.
525 2005-04-29 Michael Koch <konqueror@gmx.de>
527 * java/net/NetworkInterface.java
529 (NetworkInterface(String,InetAddress)): Made package-private.
530 (NetworkInterface(String,InetAddress[])): New constructor.
531 (getRealNetworkInterfaces): Removed.
532 (getByName): Use VMNetworkInterface.getInterfaces().
533 (getByInetAddress): Likewise.
534 (getNetworkInterfaces): Likewise.
535 * java/net/VMNetworkInterface.java,
536 java/net/natVMNetworkInterfaceNoNet.cc,
537 java/net/natVMNetworkInterfacePosix.c,c
538 java/net/natVMNetworkInterfaceWin32.cc: New files.
539 * java/net/natNetworkInterfaceNoNet.cc,
540 java/net/natNetworkInterfacePosix.cc,
541 java/net/natNetworkInterfaceWin32.cc: Removed.
544 * configure, Makefile.in: Regenerated.
546 2005-04-29 Andrew Haley <aph@redhat.com>
548 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
550 2005-04-29 Dalibor Topic <robilad@kaffe.org>
552 * java/nio/channels/FileChannelImpl.java
553 (FileChannelImpl(String, int)): Removed.
554 (FileChannelImpl(File, int)): Added. Check if opened file is a
556 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
557 Call FileChannelImpl(File, int).
558 * java/io/FileOutputStream.java (FileInputStream): Call
559 FileChannelImpl(File, int).
560 * java/io/RandomAccessFile.java (RandomAccessFile):
561 Call FileChannelImpl(File, int). Switched constructors around.
563 2005-04-27 Andrew Haley <aph@redhat.com>
566 * prims.cc (_Jv_ResolvePoolEntry): New function.
567 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
568 * link.cc (_Jv_Linker::find_field): New arg: found_class.
569 (resolve_pool_entry): Initialize the class in which a field is
571 (link_symbol_table): Pass new arg to found_class.
573 2005-04-29 Michael Koch <konqueror@gmx.de>
575 * java/nio/charset/Charset.java
576 (provider): Reformatted.
578 2005-04-29 Michael Koch <konqueror@gmx.de>
580 * gnu/java/net/protocol/http/HTTPConnection.java:
581 (userAgent): Initialize from system properties.
582 (initUserAgent): Removed.
584 2005-04-29 Mark Wielaard <mark@klomp.org>
586 * java/util/ResourceBundle.java (getObject): Clarify
587 MissingResourceException detailed message.
588 (tryBundle(String,ClassLoader)): Likewise.
590 2005-04-29 Robert Schuster <thebohemian@gmx.net>
592 * java/beans/FeatureDescriptor.java:
593 (getShortDescription): Implemented fallback mechanism and fixed
594 documentation (fixes bug #12637).
595 (getDisplayName): Dito.
597 2005-04-29 Robert Schuster <thebohemian@gmx.net>
599 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
600 will now be set correctly.
601 (flushCaches): Now flushes all cached intermediate data.
603 2005-04-28 Michael Koch <konqueror@gmx.de>
605 * java/net/InetAddress.java
606 (aton): Fixed javadoc.
609 2005-04-28 Tom Tromey <tromey@redhat.com>
611 * javax/swing/Timer.java
612 (drainEvents, queueEvent): Now package-private.
614 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
616 * javax/swing/Timer.java
617 (constructor): Assigning initialDelay.
619 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
621 * javax/swing/Timer.java
622 (Waker.run): firing the first action event.
624 2005-04-28 Michael Koch <konqueror@gmx.de>
626 * javax/swing/Timer.java: Reordered all fields and methods,
629 2005-04-28 Michael Koch <konqueror@gmx.de>
631 * javax/swing/Timer.java: Javadocs merged
634 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
636 * gnu/java/net/protocol/file/Connection.java
637 (StaticData): New inner class to contain statics.
638 (connect, getHeaderField): Modified to use StaticData.
640 2005-04-28 Michael Koch <konqueror@gmx.de>
642 * gnu/java/net/protocol/file/Connection.java
643 (lineSeparator): Initialize with SystemProperties.getProperty().
645 2005-04-27 Chris Burdess <dog@gnu.org>
647 * gnu/java/net/protocol/file/Connection.java: Return correct content
648 length for directory listing.
649 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
650 #11285: return valid URLs for directories.i
652 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
654 * Makefile.am (ordinary_java_source_files): Add
655 gnu/java/net/protocol/https/Handler.java.
656 * Makefile.in: Regenerate.
657 * java/net/URL.java: Remove org.metastatic.jessie from default
658 protocol search path.
660 2005-04-27 Chris Burdess <dog@gnu.org>
662 * gnu/java/net/protocol/https/Handler.java: New file.
664 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
666 * javax/imageio/spi/IIORegistry.java (IIORegistry):
667 Don't assume that awt Toolkit is always ClasspathToolkit.
669 2005-04-27 Chris Burdess <dog@gnu.org>
671 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
672 absolute and relative paths in Location header.
674 2005-04-27 Chris Burdess <dog@gnu.org>
676 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
677 FileNotFoundException and implement getErrorStream on 404.
679 2005-04-27 Sven de Marothy <sven@physto.se>
681 * java/util/TimeZone.java,
682 (getDefaultDisplayName): Fix previous fix.
684 2005-04-27 Sven de Marothy <sven@physto.se>
686 * java/util/TimeZone.java,
687 (getDefaultDisplayName): Don't print zero offsets.
689 2005-04-27 Roman Kennke <roman@kennke.org>
691 * javax/swing/plaf/basic/BasicScrollBarUI
692 (getThumbBounds): Do not make thumb smaller than
694 * javax/swing/plaf/metal/MetalLookAndFeel
695 (initComponentDefaults): Added color defaults for ScrollBar.
696 * javax/swing/plaf/metal/MetalScrollBarUI
698 (getMinimumThumbSize): Added.
700 2005-04-27 Roman Kennke <roman@kennke.org>
702 * javax/swing/plaf/metal/MetalLookAndFeel
703 (initComponentDefaults): Added some default colors.
705 2005-04-27 Roman Kennke <roman@kennke.org>
707 * javax/swing/plaf/basic/BasicScrollBarUI.java
708 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
709 to 'ScrollBar.thumbShadow'. The formes does not exist.
710 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
712 2005-04-27 Roman Kennke <roman@kennke.org>
714 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
715 * javax/swing/BoxLayout.java: Likewise.
716 * javax/swing/UIManager.java: Likewise.
717 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
718 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
719 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
720 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
721 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
722 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
723 * javax/swing/text/Document.java: Likewise.
724 * javax/swing/text/GapContent.java: Likewise.
725 * javax/swing/text/SimpleAttributeSet.java: Likewise.
726 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
728 2005-04-27 Roman Kennke <roman@kennke.org>
730 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
731 (getPropertyPrefix): Added.
733 2005-04-27 Roman Kennke <roman@kennke.org>
735 * javax/swing/plaf/basic/BasicButtonUI.java
736 (getPropertyPrefix): Added.
737 (installDefaults): Use getPropertyPrefix instead of hard-coded
740 2005-04-27 Roman Kennke <roman@kennke.org>
742 * javax/swing/JToggleButton.java
743 (JToggleButton): Removed horizontalAlignment setting, this
744 was wrong. Added setting of an actionCommand, ToggleButtons
745 have "" as default actionCommand.
747 2005-04-27 Michael Koch <konqueror@gmx.de>
749 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
750 to work around CNI limitation.
752 2005-04-27 Sven de Marothy <sven@physto.se>
754 * java/nio/charset/Charset.java:
755 (defaultCharset()): New method.
756 Status updated to 1.5
758 2005-04-27 Sven de Marothy <sven@physto.se>
760 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
762 2005-04-27 Sven de Marothy <sven@physto.se>
764 * java/nio/charset/Charset.java: Reset cached de/encoders.
766 2005-04-27 Robert Schuster <thebohemian@gmx.net>
768 * java/nio/charset/Charset.java (forName): Throws
769 IllegalArgumentException when argument is null
770 and added documentation.
772 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
774 * java/nio/charset/Charset.java (providers):
775 New method to make an array of CharsetProviders defined in
776 META-INF/services/java.nio.charset.spi.CharsetProvider.
777 (charsetForName, availableCharsets): Use the
778 new method providers().
780 2005-04-26 Michael Koch <konqueror@gmx.de>
782 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
783 Fixed typos in javadocs.
784 (isSiteLocalAddress): Fixed handling of byte values.
785 (isMCLinkLocal): Likewise.
786 * java/net/Inet4Address.java
787 (isMulticastAddress): Call super method.
788 (isLoopbackAddress): Likewise.
789 (isAnyLocalAddress): Likewise.
790 (isLinkLocalAddress): Likewise.
791 (isSiteLocalAddress): Likewise.
792 (isMCGlobal): Likewise.
793 (isMCNodeLocal): Likewise.
794 (isMCLinkLocal): Likewise.
795 (isMCSiteLocal): Likewise.
796 (isMCOrgLocal): Likewise.
797 (getHostAddress): Likewise.
799 2005-04-26 Sven de Marothy <sven@physto.se>
801 * java/net/InetAddress.java
802 (toString): Don't print empty hostnames.
804 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
807 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
808 'false' to native lock().
809 (lock): Pass 'true' to native lock().
811 2005-04-26 Michael Koch <konqueror@gmx.de>
813 * java/net/InetAddress.java:
814 Fixed typos in javadocs.
816 2005-04-26 Andrew Haley <aph@redhat.com>
819 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
822 2005-04-26 Tom Tromey <tromey@redhat.com>
824 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
825 gnu): Now package-private.
826 * javax/swing/text/html/parser/DocumentParser.java (parser,
827 callBack, gnu): Now package-private.
828 * javax/swing/text/StringContent.java (content, setOffset,
829 checkLocation): Now package-private.
830 * javax/swing/text/JTextComponent.java (doc): Now
832 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
833 lastGoodOrientation, origParent, borders, cachedBounds,
834 cachedOrientation, DragWindow): Now package-private.
835 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
836 decrButton, viewport, panel, currentScrollLocation, layoutManager,
837 tabAreaRect, contentRect, createIncreaseButton,
838 createDecreaseButton, findPointForIndex): Now package-private.
839 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
840 (currentDividerLocation, moveDividerTo): Now package-private.
841 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
843 * javax/swing/plaf/basic/BasicScrollBarUI.java
844 (calculatePreferredSize, valueForYPosition, valueForXPosition):
846 * javax/swing/plaf/basic/BasicPopupMenuUI.java
847 (topWindowListener): Now package-private.
848 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
849 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
850 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
852 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
854 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
856 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
858 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
859 borderInsets): Now package-private.
860 (arrowButtonWidth): Likewise. Now a constant.
861 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
862 makeTabs, updatePreviewPanel): Now package-private.
863 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
864 darkShadow, highlight): Now package-private.
865 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
866 (addColorToQueue): Now package-private.
867 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
868 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
869 GSpinner, BSpinner): Now package-private.
870 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
871 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
872 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
873 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
874 updateTrack): Now package-private.
875 * javax/swing/TransferHandler.java (clipboard): Now
877 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
879 * javax/swing/Timer.java (drainEvents, queueEvent): Now
881 * javax/swing/RepaintManager.java (globalManager): Now
883 * javax/swing/JFormattedTextField.java (editValid): Now
885 * javax/swing/JColorChooser.java (makeModal): Now
887 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
888 index, path): Now package-private.
889 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
890 lineQuadIntersect, lineCubicIntersect, linesIntersect,
891 pointEquals): Now package-private.
892 * java/awt/geom/Arc2D.java (type): Now package-private.
893 * java/awt/Window.java (windowFocusOwner): Now package-private.
894 * java/awt/TextComponent.java (editable, selectionStart,
895 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
897 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
899 * java/awt/MenuComponent.java (focusListener): Now
901 * java/awt/Frame.java (state): Now package-private.
902 * java/awt/Choice.java (pItems): Now package-private.
903 * java/awt/Checkbox.java (state): Now package-private.
904 * java/awt/Button.java (actionCommand, label): Now
906 * gnu/javax/swing/text/html/parser/support/Parser.java
907 (attributes, _handleEndTag_remaining, _handleStartTag): Now
909 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
911 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
912 clip, transform, font, comp): Now package-private.
914 2005-04-26 Tom Tromey <tromey@redhat.com>
916 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
919 2005-04-26 Mark Wielaard <mark@klomp.org>
921 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
922 to MalformedURLException.
924 2005-04-26 Michael Koch <konqueror@gmx.de>
926 * java/security/AccessControlContext.java:
928 (protectedDomains): Renamed from 'protectionDomain'.
929 * java/security/AccessController.java:
932 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
934 * gnu/java/security/action/GetSecurityPropertyAction.java
935 (GetSecurityPropertyAction): Implement PrivilegedAction instead
936 of extending GetPropertyAction.
939 (setParamters): New methods.
940 (GetSecurityPropertyAction): Use new setParameters methods.
942 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
944 * java/security/Security.java,
945 java/security/cert/X509CRLSelector.java,
946 java/security/cert/X509CertSelector.java:
947 Modified to use SystemProperties.
949 2005-04-26 Michael Koch <konqueror@gmx.de>
951 * java/lang/System.java
952 (setSecurityManager): Fixed comment.
953 (getSecurityManager): Removed obsolete comment.
955 2005-04-25 Tom Tromey <tromey@redhat.com>
957 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
959 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
962 (connectSignals): Realize the window widget after connecting
965 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
967 * java/awt/GraphicsEnvironment.java
968 (localGraphicsEnvironment): New field.
969 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
971 (isHeadless): Added support for java.awt.headless property.
972 (isHeadlessInstance): Call headless().
974 2005-04-25 Roman Kennke <roman@kennke.org>
976 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
977 (getDisplayMode): Added. Returns the current display mode.
978 (isFullScreenSupported): Added.
979 * java/awt/GraphicsDevice.java
980 (setFullScreenWindow): Implemented a primitive fullscreen mode.
981 This resizes and relocates the fullscreen window so that it uses
982 the whole screen. This is not a fully accelerated fullscreen
985 2005-04-25 Michael Koch <konqueror@gmx.de>
987 * java/lang/Runtime.java,
988 java/lang/SecurityManager.java,
989 java/lang/System.java,
990 java/lang/ThreadGroup.java:
991 Replaced java.lang.Runtime.securityManager by
992 java.lang.SecurityManager.current (as used in GNU classpath).
994 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
996 * java/awt/Transparency.java
997 (getTransparency): fixed API docs.
999 2005-04-25 Archie Cobbs <archie@dellroad.org>
1001 * java/lang/Throwable.java: simplify initializing cause in constructor
1003 2005-04-25 Michael Koch <konqueror@gmx.de>
1005 * gnu/classpath/SystemProperties.java: New file.
1006 * gnu/classpath/natSystemProperties.cc: New file.
1007 * java/lang/Runtime.java
1008 (defaultProperties): Removed.
1010 (): Made thrown exceptions more verbose.
1011 (insertSystemProperties): Removed.
1012 * java/lang/System.java
1014 (properties): Likewise.
1015 (setSecurityManager): Reordered modifiers.
1016 (getenv): Improved javadoc.
1018 (isWordsBigEndian): Removed.
1019 * java/lang/natRuntime.cc
1020 (_Jv_SetDLLSearchPath): Likewise.
1021 (file_encoding): Likewise.
1022 (default_file_encoding): Likewise.
1023 (getpwuid_adaptor): Likewise.
1024 (insertSystemProperties): Likewise.
1025 * java/lang/natSystem.cc
1026 (isWordsBigEndian): Likewise.
1028 (ordinary_java_source_files):
1029 Added gnu/classpath/SystemProperties.java.
1030 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1031 * Makefile.in: Regenerated.
1033 2005-04-25 Roman Kennke <roman@kennke.org>
1035 * javax/swing/plaf/basic/BasicScrollBarUI.java
1036 (initDefaults): Initialize thumb*Color fields correctly.
1038 2005-04-25 Roman Kennke <roman@kennke.org>
1040 * javax/swing/text/GapContent.java:
1043 2005-04-25 Roman Kennke <roman@kennke.org>
1045 * javax/swing/plaf/metal/MetalBorders.java:
1046 Added inner class ScrollPaneBorder.
1047 * javax/swing/plaf/metal/MetalLookAndFeel.java
1048 (initComponentDefaults): Added default for "ScrollPane.border"
1049 to use the new ScrollPaneBorder.
1051 2005-04-25 Roman Kennke <roman@kennke.org>
1053 * javax/swing/text/AbstractDocument.java:
1054 Added FIXME comments. This class still has to be
1055 implemented thread-safe.
1057 2005-04-25 Roman Kennke <roman@kennke.org>
1059 * javax/swing/tree/DefaultTreeSelectionModel.java
1060 (DefaultTreeSelectionModel): Initialize listenerList here.
1062 2005-04-25 Roman Kennke <roman@kennke.org>
1064 * javax/swing/plaf/metal/MetalTextFieldUI.java
1065 (createUI): Return one instance per Component instead of a
1068 2005-04-25 Roman Kennke <roman@kennke.org>
1070 * javax/swing/text/Document.java:
1071 Added API documentation comments.
1073 2005-04-25 Roman Kennke <roman@kennke.org>
1075 * javax/swing/text/AbstractDocument.java
1076 (getDocumentProperties): Implemented.
1077 (setDocumentProperties): Implemented.
1078 (getProperty): Implemented.
1079 (putProperty): Implemented.
1081 2005-04-25 Roman Kennke <roman@kennke.org>
1083 * javax/swing/BoxLayout
1084 (preferredLayoutSize): Fixed computation so that it correctly
1085 adds the top and bottom insets of the container.
1087 2005-04-25 Roman Kennke <roman@kennke.org>
1089 * javax/swing/plaf/basic/BasicMenuItemUI.java
1090 (paintText): Make use of the 'selectionForeground' UI default
1093 2005-04-25 Roman Kennke <roman@kennke.org>
1095 * javax/swing/plaf/basic/BasicLookAndFeel.java
1096 (initSystemColorDefaults): Modified colors to match the
1097 BasicLookAndFeel in the reference implementation.
1098 (initComponentDefaults): Likewise.
1100 2005-04-25 Tom Tromey <tromey@redhat.com>
1102 * include/jni.h (_Jv_va_list): Removed.
1103 Moved configuration code...
1104 * include/jni_md.h: ... here. New file.
1105 * include/Makefile.in: Rebuilt.
1106 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1108 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1110 * java/io/FileInputStream.java (FileInputStream(File)),
1111 java/io/FileOutputStream.java (FileOutputStream(File)):
1112 Removed unnecessary File.isDirectory() check.
1114 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1116 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1117 gij if get_multilibs fails.
1119 2005-04-22 Anthony Green <green@redhat.com>
1121 * jni.cc (natrehash): Don't bother clearing memory again.
1122 * interpret.cc (do_allocate_static_fields): Ditto.
1123 * java/lang/natString.cc (rehash): Ditto.
1125 2005-04-22 Roman Kennke <roman@kennke.org>
1127 * javax/swing/plaf/basic/BasicLookAndFeel.java
1128 (initComponentDefaults): Changed Button.border to be
1129 BasicBorders.getButtonBorder as it should be.
1131 2005-04-22 Roman Kennke <roman@kennke.org>
1133 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1134 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1135 should according to a mauve testcase, instead of the preferred
1138 2005-04-22 Roman Kennke <roman@kennke.org>
1140 * javax/swing/JMenu.java
1141 (add): add(Component) now calls PopupMenu.insert(..) instead of
1142 PopupMenu.add(..). add(..) is not implemented for Component,
1143 so JComponent.add(..) is called instead, adding the component
1146 2005-04-22 Roman Kennke <roman@kennke.org>
1148 * javax/swing/plaf/basic/BasicButtonListener.java
1149 (mousePressed): replaced query to getModifiersEx with getModifiers.
1150 This method relied on faulty behaviour in getModifierEx.
1151 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1152 This method relied on faulty behaviour in getModifierEx.
1154 2005-04-22 Roman Kennke <roman@kennke.org>
1156 * javax/swing/plaf/metal/MetalLookAndFeel.java
1157 (getDefaults): Call addCustomEntriesToTable on the theme.
1159 2005-04-22 Roman Kennke <roman@kennke.org>
1161 * javax/swing/tree/DefaultTreeSelectionModel.java
1162 (constructor): Added implementation.
1163 (getRowMapper): Added implementation.
1164 (setSelectionMode): Added implementation.
1165 (getSelectionMode): Added implementation.
1166 (getSelectionPath): Added implementation.
1167 (getSelectionPaths): Added implementation.
1168 (getSelectionCount): Added implementation.
1169 (isSelectionEmpty): Added implementation.
1170 (getSelectionRows): Added implementation.
1171 (getMinSelectionRow): Added implementation.
1172 (getMaxSelectionRow): Added implementation.
1173 (getLeadSelectionRow): Added implementation.
1174 (getLeadSelectionPath): Added implementation.
1176 2005-04-22 Casey Marshall <csm@gnu.org>
1178 * gnu/java/security/der/DERValue.java
1179 (getValueAs): new method.
1180 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1181 (<init>): read both dates with 'DERValue.getValueAs', with
1182 'GENERALIZED_TIME' as the argument.
1184 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1186 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1187 be null, check for that case and don't deference it.
1189 2005-04-22 Sven de Marothy <sven@physto.se>
1191 * java/util/logging/LogManager.java: Reformatted.
1192 (readConfiguration): If a logger for a key is not found, create one.
1194 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1196 * java/rmi/Naming.java:
1197 Added class documentation.
1198 (lookup(String)): Call parseURL and getName.
1199 (bind(String,java.rmi.Remote)): Likewise.
1200 (unbind(String)): Likewise.
1201 (rebind(String, java.rmi.Remote)): Likewise.
1202 (list(String)): Call parseURL.
1203 (parseURL(String)): New method to handle parsing and defaults.
1204 (getName(java.net.URL)): New method to handle finding the service name.
1206 2005-04-21 Tom Tromey <tromey@redhat.com>
1208 * java/lang/natClass.cc (initializeClass): Link class.
1210 2005-04-21 Tom Tromey <tromey@redhat.com>
1212 * java/lang/AssertionError.java: Typo fix.
1214 2005-04-21 Tom Tromey <tromey@redhat.com>
1216 * java/lang/VMClassLoader.java (transformException): Removed.
1217 (resolveClass): No longer native. Now does nothing.
1218 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1220 2005-04-21 Anthony Green <green@redhat.com>
1223 * testsuite/libjava.special/special.exp,
1224 testsuite/libjava.special/pr21115I.java,
1225 testsuite/libjava.special/pr21115.java,
1226 testsuite/libjava.special/pr21115.out: New files.
1228 2005-04-21 Chris Burdess <dog@gnu.org>
1230 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1231 CRLF-delimited chunks.
1233 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1235 * java/net/URI.java:
1236 Added class documentation.
1237 (parseURI(String)): Only handle scheme-specific parts
1238 if URI is not opaque. Allow for parts that can't be null.
1239 (toString()): Output the scheme-specific part whole, rather
1240 than as its possibly non-existent components.
1242 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1244 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1245 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1246 Adjusted to match new regexp.
1248 2005-04-20 Michael Koch <konqueror@gmx.de>
1250 * gnu/java/net/protocol/file/Connection.java,
1251 gnu/java/net/protocol/jar/Connection.java:
1252 Reorganized import statements. Fixed @author tags.
1254 2005-04-20 Chris Burdess <dog@gnu.org>
1256 * java/io/DataOutputStream.java (writeUTF): Use block write for
1259 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1261 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1262 (readLine): Changed newline handling.
1264 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1266 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1267 ColorModel,byte[],int,int): Fixed byte to int conversion.
1269 2005-04-20 Michael Koch <konqueror@gmx.de>
1271 * java/io/FilePermission.java
1272 (serialVersionUID): Made private.
1273 (ALL_FILES): New constant.
1274 (implies): Handle '<<ALL FILES>>' case.
1276 2005-04-20 Sven de Marothy <sven@physto.se>
1278 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1279 (drawImage): Don't notify the image observer for offscreen images.
1280 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1281 (setPixels): Don't notify the image observer.
1283 2005-04-20 Sven de Marothy <sven@physto.se>
1285 * java/nio/ByteBufferImpl.java:
1286 (putChar): Inlined for speed.
1287 (put, get): Bulk methods can use arraycopy.
1288 * java/nio/CharBufferImpl.java:
1289 (put, get): Bulk methods can use arraycopy.
1291 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1293 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1295 * java/nio/CharBufferImpl.java
1296 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1297 (get(), put(char)): Inlined checks and field updates. Fixed to
1298 take array_offset into account.
1299 (get(int), put(int, char)): Fixed to take array_offset into account.
1301 2005-04-20 Sven de Marothy <sven@physto.se>
1303 * java/text/SimpleDateFormat.java:
1304 (formatWithAttribute): Pad year before truncating digits.
1306 2005-04-20 Michael Koch <konqueror@gmx.de>
1308 * gnu/java/net/PlainDatagramSocketImpl.java:
1309 Merged copyright header.
1310 * gnu/java/net/PlainSocketImpl.java:
1311 Reorganized import statements. Fixed @author tags.
1313 2005-04-20 Michael Koch <konqueror@gmx.de>
1315 * gnu/java/lang/ClassHelper.java,
1316 gnu/java/lang/reflect/TypeSignature.java:
1319 2005-04-20 Michael Koch <konqueror@gmx.de>
1321 * gnu/java/beans/IntrospectionIncubator.java:
1322 Fixed HTML tags in javadocs.
1324 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1326 * gnu/java/beans/IntrospectionIncubator.java
1327 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1328 set(), is(), add() and remove() with properties or events.
1330 2005-04-20 Michael Koch <konqueror@gmx.de>
1332 * gnu/java/awt/image/XBMDecoder.java:
1333 Fixed modifier order.
1335 2005-04-20 Roman Kennke <roman@kennke.org>
1337 * javax/swing/plaf/basic/BasicButtonUI.java
1338 (paint): This should not care about margin and insets
1339 at the same time, as insets already include the margin
1341 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1342 (getPreferredButtonSize): Likewise.
1343 * javax/swing/plaf/metal/MetalBorders.java
1344 (getBorderInsets): Likewise.
1346 2005-04-20 Roman Kennke <roman@kennke.org>
1348 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1349 (createMessageArea): The JPanel that holds the message area
1350 doesn't need to override getPreferredSize. This prevents some
1351 message components from rendering nicely.
1353 2005-04-20 Roman Kennke <roman@kennke.org>
1355 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1356 (createUI): Do not share instances between components.
1357 * javax/swing/plaf/metal/MetalSliderUI.java
1358 (createUI): Do not share instances between components.
1360 2005-04-20 Roman Kennke <roman@kennke.org>
1362 * javax/swing/plaf/metal/MetalBorders:
1363 (PopupMenuBorder): Added.
1364 * javax/swing/plaf/metal/MetalLookAndFeel
1365 (initComponentDefaults): Added PopupMenuBorder.
1367 2005-04-20 Roman Kennke <roman@kennke.org>
1369 * javax/swing/tree/DefaultTreeSelectionModel.java:
1370 Added API documentation all over the class.
1372 2005-04-20 Roman Kennke <roman@kennke.org>
1374 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1375 (installDefaults): Link managed JScrollPane in instance field.
1376 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1378 2005-04-20 Roman Kennke <roman@kennke.org>
1380 * javax/swing/plaf/basic/BasicScrollBarUI.java
1381 (PropertyChangeHandler.propertyChange): Add default
1382 to switch statement to avoid errors with unusual values
1384 (installComponents): Likewise.
1386 2005-04-20 Roman Kennke <roman@kennke.org>
1388 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1389 (createUI): Instances cannot be shared among JScrollPanes.
1391 2005-04-20 Roman Kennke <roman@kennke.org>
1393 * javax/swing/plaf/metal/MetalLookAndFeel.java
1394 (initComponentDefaults): Added defaults for Menu, MenuBar
1397 2005-04-20 Roman Kennke <roman@kennke.org>
1399 * javax/swing/plaf/basic/BasicScrollBarUI.java
1400 (installUI): Install listeners after everything all, otherwise
1401 we get strange NPEs in some situations, especially with
1403 (createIncreaseButton): Orientation is expected to be
1404 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1405 HORIZONTAL or VERTICAL.
1406 (createDecreaseButton): Orientation is expected to be
1407 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1408 HORIZONTAL or VERTICAL.
1409 (installComponents): Orientation for buttons is expected to be
1410 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1411 HORIZONTAL or VERTICAL.
1413 2005-04-20 Roman Kennke <roman@kennke.org>
1415 * javax/swing/JToolBar.java
1416 (addImpl): Adjust added AbstractButtons to look and feel like
1418 * javax/swing/plaf/metal/MetalBorders.java:
1419 Adjusted insets of ButtonBorder.
1420 (RolloverMarginBorder): Added class for toolbar buttons.
1421 (getButtonBorder): Adjusted factory method to return a shared
1422 instance of button border.
1423 (getToolbarButtonBorder): Added factory method to return a shared
1424 instance of toolbar button border.
1425 (getMarginBorder): Added factory method to return a shared
1426 instance of margin border.
1427 * javax/swing/plaf/metal/MetalButtonUI.java
1428 (installDefauls): If button is child of a JToolBar then set
1429 special border on this button.
1431 2005-04-20 Michael Koch <konqueror@gmx.de>
1433 * java/net/URLConnection.java
1434 (getContent): Fixed javadoc comment.
1436 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1438 * java/net/URL.java:
1439 (toURI()): Implemented.
1441 2005-04-19 Michael Koch <konqueror@gmx.de>
1443 * java/net/InetAddress.java
1444 (InetAddress): Fixed javadoc comment.
1446 (lookup): Added javadoc.
1447 (getFamily): Likewise.
1448 * java/net/ServerSocket.java
1449 (getChannel): Improved javadoc comment.
1451 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1453 * gnu/xml/dom/html2/DomHTMLParser.java:
1454 Changed 'enum' references to become 'enumeration'.
1456 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1458 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1460 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1462 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1463 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1464 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1465 (validateParameters(TagElement,htmlAttributeSet)):
1466 Replaced 'enum' with 'enumeration'.
1467 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1470 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1472 * javax/swing/text/html/parser/Entity.java (getType): New method.
1473 * javax/swing/text/html/parser/DocumentParser.java:
1474 Inherit from javax.swing.text.html.parser.Parser.
1476 2005-04-19 Chris Burdess <dog@gnu.org>
1478 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1479 check for HTML/XHTML namespace.
1481 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1483 * javax/swing/text/html/parser/Parser.java,
1484 javax/swing/text/html/parser/Entity.java:
1485 Inheriting from DTDConstants.
1486 * javax/swing/text/html/parser/AttributeList.java
1487 (getValues): Changed return type.
1488 * javax/swing/text/html/parser/DocumentParser
1489 (parse): Adding the callback parameter that receives
1492 2005-04-19 Chris Burdess <dog@gnu.org>
1494 * gnu/xml/dom/DomImpl.java,
1495 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1496 gnu/xml/dom/html2/DomHTMLDocument.java,
1497 gnu/xml/dom/html2/DomHTMLElement.java,
1498 gnu/xml/dom/html2/DomHTMLFormElement.java,
1499 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1500 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1501 gnu/xml/dom/html2/DomHTMLImpl.java,
1502 gnu/xml/dom/html2/DomHTMLInputElement.java,
1503 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1504 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1505 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1506 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1507 gnu/xml/dom/html2/DomHTMLTableElement.java,
1508 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1509 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1510 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1511 UI events, and tree utility functions.
1513 2005-04-19 Michael Koch <konqueror@gmx.de>
1515 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1516 gnu/javax/swing/text/html/parser/gnuDTD.java,
1517 gnu/javax/swing/text/html/parser/models/node.java:
1518 Reworked import statements.
1520 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1522 * javax/swing/text/html/HTMLDocument.java: New file.
1524 2005-04-19 Michael Koch <konqueror@gmx.de>
1526 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1528 * javax/swing/text/html/parser/AttributeList.java:
1529 Fixed order of modifiers.
1530 (AttributeList): Made final.
1531 * javax/swing/text/html/parser/ContentModel.java:
1532 Fixed html characters in javadocs.
1533 * javax/swing/text/html/parser/DTD.java
1534 (DTD): Don't implement java.io.Serializable directly.
1535 (getElement): Simplified.
1536 * javax/swing/text/html/parser/DTDConstants.java:
1538 * javax/swing/text/html/parser/Element.java:
1539 Fixed order of modifiers.
1540 * javax/swing/text/html/parser/Parser.java:
1541 Reformatted. Don't use fully-qualified class names.
1542 * javax/swing/text/html/parser/ParserDelegator.java:
1543 Fixed order of modifiers.
1544 * javax/swing/text/rtf/RTFParser.java:
1545 Re-ordered import statements.
1546 * javax/swing/text/rtf/RTFScanner.java:
1547 Removed unused import statement.
1549 2005-04-19 Chris Burdess <dog@gnu.org>
1551 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1552 gnu/xml/dom/html2/DomHTMLCollection.java,
1553 gnu/xml/dom/html2/DomHTMLDocument.java,
1554 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1556 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1557 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1558 gnu/xml/dom/html2/DomHTMLDivElement.java,
1559 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1560 gnu/xml/dom/html2/DomHTMLFontElement.java,
1561 gnu/xml/dom/html2/DomHTMLFormElement.java,
1562 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1563 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1564 gnu/xml/dom/html2/DomHTMLHRElement.java,
1565 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1566 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1567 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1568 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1569 gnu/xml/dom/html2/DomHTMLImageElement.java,
1570 gnu/xml/dom/html2/DomHTMLInputElement.java,
1571 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1572 gnu/xml/dom/html2/DomHTMLLIElement.java,
1573 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1574 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1575 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1576 gnu/xml/dom/html2/DomHTMLMapElement.java,
1577 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1578 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1579 gnu/xml/dom/html2/DomHTMLModElement.java,
1580 gnu/xml/dom/html2/DomHTMLOListElement.java,
1581 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1582 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1583 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1584 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1585 gnu/xml/dom/html2/DomHTMLParamElement.java,
1586 gnu/xml/dom/html2/DomHTMLPreElement.java,
1587 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1588 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1589 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1590 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1591 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1592 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1593 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1594 gnu/xml/dom/html2/DomHTMLTableElement.java,
1595 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1596 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1597 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1598 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1599 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1601 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1603 * javax/swing/text/ChangedCharSetException.java,
1604 javax/swing/text/html/HTMLEditorKit.java,
1605 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1606 javax/swing/text/html/parser/AttributeList.java,
1607 javax/swing/text/html/parser/ContentModel.java,
1608 javax/swing/text/html/parser/DocumentParser.java,
1609 javax/swing/text/html/parser/DTD.java,
1610 javax/swing/text/html/parser/DTDConstants.java,
1611 javax/swing/text/html/parser/Element.java,
1612 javax/swing/text/html/parser/Entity.java,
1613 javax/swing/text/html/parser/Parser.java,
1614 javax/swing/text/html/parser/TagElement.java,
1615 gnu/javax/swing/text/html/package.html,
1616 gnu/javax/swing/text/html/parser/gnuDTD.java,
1617 gnu/javax/swing/text/html/parser/HTML_401F.java,
1618 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1619 gnu/javax/swing/text/html/parser/htmlValidator.java,
1620 gnu/javax/swing/text/html/parser/package.html,
1621 gnu/javax/swing/text/html/parser/models/list.java,
1622 gnu/javax/swing/text/html/parser/models/node.java,
1623 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1624 gnu/javax/swing/text/html/parser/models/package.html,
1625 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1626 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1627 gnu/javax/swing/text/html/parser/models/transformer.java,
1628 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1629 gnu/javax/swing/text/html/parser/support/package.html,
1630 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1631 gnu/javax/swing/text/html/parser/support/Parser.java,
1632 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1633 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1634 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1635 gnu/javax/swing/text/html/parser/support/low/Location.java,
1636 gnu/javax/swing/text/html/parser/support/low/node.java,
1637 gnu/javax/swing/text/html/parser/support/low/package.html,
1638 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1639 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1640 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1641 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1643 * javax/swing/text/html/HTML.java,
1644 javax/swing/text/html/parser/ParserDelegator.java:
1645 New files (replacing).
1646 * javax/swing/text/html/package.html,
1647 javax/swing/text/html/parser/package.html: Documenting the
1650 2005-04-19 Chris Burdess <dog@gnu.org>
1652 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1653 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1654 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1655 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1656 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1657 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1658 gnu/xml/dom/html2/DomHTMLBRElement.java,
1659 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1660 gnu/xml/dom/html2/DomHTMLCollection.java,
1661 gnu/xml/dom/html2/DomHTMLDocument.java,
1662 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1664 2005-04-19 Michael Koch <konqueror@gmx.de>
1666 * Makefile.am: Added new files.
1667 * Makefile.in: Regenerated.
1669 2005-04-19 Roman Kennke <roman@kennke.org>
1671 * javax/swing/text/JTextComponent.java
1672 (JTextComponent): Added repaintListener which issues repaint
1673 requests when the underlying document changes.
1674 (setDocument): Adds repaintListener to document when the
1675 document is changed.
1676 * javax/swing/text/DefaultEditorKit.java:
1677 Removed repaint calls on JTextComponent. This is now handled
1678 through a DocumentListener in JTextComponent that repaints
1679 the component when needed.
1681 2005-04-19 Roman Kennke <roman@kennke.org>
1684 * javax/swing/text/StyleContext.java
1685 (NamedStyle.setResolveParent): Added null
1688 2005-04-19 Michael Koch <konqueror@gmx.de>
1690 * java/rmi/server/RemoteObject.java:
1691 Removed unused import statement.
1693 2005-04-19 Michael Koch <konqueror@gmx.de>
1695 * java/net/URL.java: Formatting cleanups.
1697 2005-04-19 Michael Koch <konqueror@gmx.de>
1699 * java/awt/FontMetrics.java: Reformatted.
1700 (getFontRenderContext): Handle case when java.awt.Graphics context is
1703 2005-04-19 Michael Koch <konqueror@gmx.de>
1705 * java/awt/FontMetrics.java
1706 (getStringBounds): New methods.
1709 2005-04-19 Michael Koch <konqueror@gmx.de>
1711 * gnu/java/security/x509/X509Certificate.java
1712 (parse): Handle val == null case.
1714 2005-04-19 Roman Kennke <roman@kennke.org>
1716 * javax/swing/plaf/metal/MetalLookAndFeel.java
1717 (initComponentDefaults): Added defaults for Menu, MenuBar
1720 2005-04-19 Roman Kennke <roman@kennke.org>
1722 * javax/swing/plaf/metal/MetalLookAndFeel.java
1723 (initComponentDefaults): Added Label.font.
1724 (initSystemColorDefaults): Added this method and adjusted the
1725 general control color.
1727 2005-04-19 Roman Kennke <roman@kennke.org>
1729 * javax/swing/plaf/metal/MetalBorders.java:
1731 * javax/swing/plaf/metal/MetalButtonUI.java:
1732 (installDefaults): Install button font.
1733 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1734 (initComponentDefaults): Added button border, font and margin.
1735 Changed components background color to the Metal current themes
1738 2005-04-19 Roman Kennke <roman@kennke.org>
1740 * javax/swing/plaf/metal/MetalLookAndFeel.java
1741 (initComponentDefaults): Added to set Metal specific component
1744 2005-04-19 Mark Wielaard <mark@klomp.org>
1746 * javax/swing/plaf/metal/MetalLookAndFeel.java
1747 (initClassDefaults): Call super.initClassDefaults().
1749 2005-04-19 Roman Kennke <roman@kennke.org>
1751 * javax/swing/plaf/metal/MetalLookAndFeel.java
1752 (initClassDefaults): Added to include the *UI classes.
1754 2005-04-19 Roman Kennke <roman@kennke.org>
1756 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1758 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1760 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1762 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1764 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1766 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1768 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1770 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1772 * javax/swing/plaf/metal/MetalSliderUI.java:
1774 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1776 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1778 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1780 2005-04-19 Roman Kennke <roman@kennke.org>
1782 * javax/swing/plaf/metal/MetalButtonUI.java:
1783 Added skeleton class.
1784 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1785 Added skeleton class.
1786 * javax/swing/plaf/metal/MetalLabelUI.java:
1787 Added skeleton class.
1788 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1789 Added skeleton class.
1790 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1791 Added skeleton class.
1792 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1793 Added skeleton class.
1795 2005-04-19 Roman Kennke <roman@kennke.org>
1797 * javax/swing/UIDefaults.java:
1798 Added API documentation for all methods.
1800 2005-04-19 Roman Kennke <roman@kennke.org>
1802 * javax/swing/UIDefaults.java
1803 (put): Now uses new checkAndPut method instead of checking
1805 (putDefaults): Fixed so that it accepts null-values and
1806 treats them like remove(key).
1807 (checkAndPut): Added. This checks for null-values and calls
1810 2005-04-19 Michael Koch <konqueror@gmx.de>
1812 * Makefile.am: Added new files.
1813 * Makefile.in: Regenerated.
1815 2005-04-19 Mark Wielaard <mark@klomp.org>
1817 * java/lang/natRuntime.cc (insertSystemProperties): Set
1818 java.class.path to CLASSPATH only when not empty. Fall back to
1819 default path "." when java.class.path is empty.
1821 2005-04-19 Michael Koch <konqueror@gmx.de>
1823 * javax/swing/text/rtf/ControlWordToken.java,
1824 javax/swing/text/rtf/RTFEditorKit.java,
1825 javax/swing/text/rtf/RTFParseException.java,
1826 javax/swing/text/rtf/RTFParser.java,
1827 javax/swing/text/rtf/RTFScanner.java,
1828 javax/swing/text/rtf/TextToken.java,
1829 javax/swing/text/rtf/Token.java: New files.
1830 * Makefile.am: Added new files.
1831 * Makefile.in: Regenerated.
1833 2005-04-19 Michael Koch <konqueror@gmx.de>
1835 * java/awt/geom/QuadCurve2D.java:
1836 Fixed Brian Gough's name for real.
1838 2005-04-19 Roman Kennke <roman@kennke.org>
1840 * javax/swing/UIManager.java:
1841 Make the UIManager respect the swing.defaultlaf system
1844 2005-04-19 Tom Tromey <tromey@redhat.com>
1846 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1849 2005-04-19 Roman Kennke <roman@kennke.org>
1851 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1852 Fixed tabs to spaces.
1854 2005-04-19 Roman Kennke <roman@kennke.org>
1856 * javax/swing/plaf/basic/BasicMenuUI.java
1857 (getMaximumSize): Now returns preferredSize because JMenu should
1858 never be bigger than that.
1859 * javax/swing/JRootPane
1860 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1862 2005-04-19 Roman Kennke <roman@kennke.org>
1864 * javax/swing/JRootPane.java:
1865 Fixed various tabs to be spaces.
1866 (RootLayout.layoutContainer): Made menubar left aligned.
1868 2005-04-19 Roman Kennke <roman@ontographics.com>
1870 * javax/swing/JList.java
1871 (getPreferredScrollableViewportSize):
1872 The previous implementation was merely guessing the size,
1873 now it respects layoutOrientation, visibleRowCount
1875 (getScrollableTracksViewportHeight):
1876 Reimplemented so that layoutOrientation, visibleRowCount
1877 and preferred size are respected.
1878 (getScrollableTracksViewportWidth):
1879 Reimplemented so that layoutOrientation, visibleRowCount
1880 and preferred size are respected.
1881 * javax/swing/plaf/basic/BasicListUI.java
1883 Improved calculation of preferredSize when JList is
1884 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1886 The previous implementation assumed a layoutOrientation of
1887 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1888 JList.VERTICAL_WRAP.
1890 2005-04-19 Roman Kennke <roman@ontographics.com>
1892 * javax/swing/plaf/basic/BasicListUI.java
1893 (paintCell): use CellRendererPane for painting the cells.
1895 2005-04-19 Roman Kennke <roman@ontographics.com>
1897 * javax/swing/plaf/basic/BasicListUI:
1898 fixed modifiers of several fields, methods and inner
1899 classes to match the 'spec'.
1900 (getMaximumSize): removed. It's not in the spec and the
1901 implementations was superfluous.
1903 2005-04-19 Roman Kennke <roman@ontographics.com>
1905 * javax/swing/plaf/basic/BasicListUI:
1906 make BasicListUI capable of wrapping lists
1907 (layoutOrientation property of javax.swing.JList)
1909 2005-04-19 Roman Kennke <roman@ontographics.com>
1911 * javax/swing/plaf/basic/BasicListUI
1912 (updateLayoutState,paint): make BasicListUI aware of the
1913 width of the rendered JList.
1915 2005-04-19 Roman Kennke <roman@kennke.org>
1917 * javax/swing/ImageIcon.java
1918 Added API documentation.
1920 2005-04-19 Roman Kennke <roman@kennke.org>
1922 * javax/swing/text/ImageIcon.java
1923 (ImageIcon): Use setImage instead of direct assignment.
1924 (setImage): Call loadImage to make sure that the image is loaded.
1925 (loadImage): Waits for the image to complete loading.
1926 (getImageLoadStatus): Added. Returns the load status of the
1929 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1931 * javax/swing/JTextArea.java (replaceRange):
1932 Fixing doc.remove(start, length) misinterpretation.
1934 2005-04-19 Roman Kennke <roman@ontographics.com>
1936 * javax/swing/CellRendererPane.java:
1937 implemented all methods of this class.
1938 reformatted all wrong formatted code.
1940 2005-04-19 Roman Kennke <roman@kennke.org>
1942 * javax/swing/BoxLayout.java:
1943 (layoutContainer): Made this layout manager respect the
1944 minimum, maximum and preferred size more correctly.
1946 2005-04-19 Roman Kennke <roman@ontographics.com>
1948 * javax/swing/BoxLayout.java:
1949 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1950 layoutContainer): Make these methods and thereby the
1951 BoxLayout respect the insets (like borders) of the
1952 component that is laid out.
1954 2005-04-19 Roman Kennke <roman@kennke.org>
1956 * javax/swing/JComponent.java:
1957 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1958 Untabified the file.
1960 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1962 * javax/swing/JComboBox.java (constructors): selecting the
1963 first item if the box was constructed from the provided
1964 non - empty array or vector.
1966 2005-04-19 Michael Koch <konqueror@gmx.de>
1968 * gnu/java/awt/peer/gtk/GdkGraphics.java
1969 (getClipBounds): Handle clip being null.
1970 (setClip): Likewise.
1971 * java/beans/beancontext/BeanContextSupport.java
1975 (removeAll): Likewise.
1976 (retainAll): Likewise.
1978 2005-04-19 Michael Koch <konqueror@gmx.de>
1980 * java/beans/beancontext/BeanContextServicesSupport.java
1981 (BeanContextServicesSupport): Reimplemented.
1982 (addBeanContextServicesListener): Implemented.
1983 (initialize): Likewise.
1984 (removeBeanContextServicesListener): Likewise.
1985 * java/beans/beancontext/BeanContextSupport.java
1987 (addBeanContextMembershipListener): Likewise.
1988 (getLocale): Likewise.
1989 (initialize): Likewise.
1990 (iterator): Likewise.
1992 (toArray): Likewise.
1994 2005-04-19 Roman Kennke <roman@kennke.org>
1996 * java/awt/MediaTracker.java:
1997 Reindented tabs to spaces.
1999 2005-04-19 Roman Kennke <roman@kennke.org>
2001 * java/awt/MediaTracker.java
2002 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2003 confused the media tracker and lead to lockups. The LOADING
2004 bit is handled on other places.
2005 (addImage): Removed the 'start image tracking' stuff. This
2006 is not necessary and could confuse the media tracker.
2007 (checkAll): Improved the check for image status so that
2008 images that already complete images are detected. Also now
2009 are really all images checked and if necessary loaded. Before
2010 the method bailed out after the first incomplete image.
2011 (statusAll): Detect images that are complete after the
2012 call to Component.prepareImage(..).
2013 (checkID): The same as in checkAll.
2014 (statusID): The same as in statusAll.
2016 2005-04-19 Roman Kennke <roman@kennke.org>
2018 * java/awt/MediaTracker.java
2019 (addImage): Synchronized list access.
2020 (waitForAll): Fixed comparison of time (changed < to >).
2021 (waitForID): Fixed comparison of time (changed < to >).
2022 (removeImage): Synchronized list access.
2024 2005-04-19 Roman Kennke <roman@kennke.org>
2026 * java/awt/MediaTracker.java
2027 Added API documentation.
2029 2005-04-19 Roman Kennke <roman@kennke.org>
2031 * java/awt/MediaTracker.java
2032 (MediaEntry.imageUpdate): Fixed flags. The different flags
2033 must not be ORed together.
2034 (checkAll): Modified to handle different meaning of the flags.
2035 (waitForAll): Fixed so that it waits maximum the
2036 specified amount of milliseconds.
2037 (statusAll): Modified to handle different meaning of the flags.
2038 (waitForID): Fixed so that it waits maximum the
2039 specified amount of milliseconds.
2041 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2043 * java/awt/Font.java (decode): Handle null argument and allow
2046 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2048 * java/beans/EventHandler.java: Reworked documentation.
2049 (invoke): Fixed behavior to match spec.
2051 2005-04-19 Michael Koch <konqueror@gmx.de>
2053 * java/awt/print/PrinterJob.java
2054 (pageDialog): New method.
2055 (printDialog): Implemented.
2057 2005-04-19 Michael Koch <konqueror@gmx.de>
2059 * java/awt/image/ConvolveOp.java:
2060 Removed comment added by eclipse.
2062 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2064 * java/awt/image/IndexColorModel.java
2065 (getRGB): Check if pixel is negative.
2067 2005-04-19 Michael Koch <konqueror@gmx.de>
2069 * java/awt/image/RasterOp.java:
2070 Fixed wrong formatting.
2072 2005-04-18 Roman Kennke <roman@kennke.org>
2074 * java/awt/Compmonent.java
2075 (setComponentOrientation): Made this property firing a
2076 PropertyChangeEvent.
2078 2005-04-18 Roman Kennke <roman@kennke.org>
2080 * java/awt/BorderLayout.java
2081 (calcSize): Check for overflow when component sizes are added.
2083 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2085 * java/awt/AWTEvent.java (toString): Added case
2086 for source not being an AWT component.
2088 2005-04-18 Chris Burdess <dog@gnu.org>
2090 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2092 2005-04-18 Michael Koch <konqueror@gmx.de>
2094 gnu/java/awt/EmbeddedWindowSupport.java,
2095 gnu/java/net/HeaderFieldHelper.java,
2096 gnu/java/net/URLParseError.java,
2097 gnu/java/net/protocol/file/Handler.java,
2098 gnu/java/net/protocol/jar/Handler.java:
2099 Fixed usage of @author tag.
2101 2005-04-18 Michael Koch <konqueror@gmx.de>
2103 * gnu/xml/aelfred2/XmlParser.java:
2104 Reverted my typo fix.
2106 2005-04-18 Michael Koch <konqueror@gmx.de>
2108 * java/awt/geom/CubicCurve2D.java,
2109 java/awt/geom/QuadCurve2D.java:
2110 Fixed mentioning of Brian Gouph.
2112 2005-04-18 Michael Koch <konqueror@gmx.de>
2114 * gnu/java/awt/Buffers.java,
2115 gnu/java/awt/image/ImageDecoder.java,
2116 gnu/java/awt/image/XBMDecoder.java,
2117 gnu/java/awt/peer/ClasspathFontPeer.java,
2118 gnu/java/net/CRLFInputStream.java,
2119 gnu/java/net/EmptyX509TrustManager.java,
2120 gnu/java/net/LineInputStream.java,
2121 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2122 gnu/java/net/protocol/ftp/BlockInputStream.java,
2123 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2124 gnu/java/net/protocol/ftp/DTP.java,
2125 gnu/java/net/protocol/ftp/DTPInputStream.java,
2126 gnu/java/net/protocol/ftp/FTPConnection.java,
2127 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2128 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2129 gnu/java/net/protocol/ftp/StreamInputStream.java,
2130 gnu/java/net/protocol/http/ChunkedInputStream.java,
2131 gnu/java/net/protocol/http/HTTPConnection.java,
2132 gnu/java/net/protocol/http/HTTPURLConnection.java,
2133 gnu/java/net/protocol/http/Headers.java,
2134 gnu/java/net/protocol/http/Request.java,
2135 gnu/java/nio/ChannelInputStream.java,
2136 gnu/java/nio/ChannelOutputStream.java,
2137 gnu/java/nio/InputStreamChannel.java,
2138 gnu/java/nio/OutputStreamChannel.java,
2139 gnu/java/nio/SelectorProviderImpl.java,
2140 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2141 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2142 gnu/java/rmi/dgc/DGCImpl.java,
2143 gnu/java/rmi/registry/RegistryImpl.java,
2144 gnu/java/rmi/server/ProtocolConstants.java,
2145 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2146 gnu/java/rmi/server/RMIIncomingThread.java,
2147 gnu/java/rmi/server/RMIObjectInputStream.java,
2148 gnu/java/rmi/server/RMIObjectOutputStream.java,
2149 gnu/java/rmi/server/RMIVoidValue.java,
2150 gnu/java/rmi/server/UnicastConnectionManager.java,
2151 gnu/java/rmi/server/UnicastRef.java,
2152 gnu/java/rmi/server/UnicastRemoteCall.java,
2153 gnu/java/rmi/server/UnicastRemoteStub.java,
2154 gnu/java/rmi/server/UnicastServerRef.java,
2155 gnu/java/security/OID.java,
2156 gnu/java/security/der/DERReader.java,
2157 gnu/java/security/provider/CollectionCertStoreImpl.java,
2158 gnu/java/security/provider/DSAParameterGenerator.java,
2159 gnu/java/security/provider/DefaultPolicy.java,
2160 gnu/java/security/provider/EncodedKeyFactory.java,
2161 gnu/java/security/provider/GnuDHPublicKey.java,
2162 gnu/java/security/provider/GnuDSAPrivateKey.java,
2163 gnu/java/security/provider/GnuDSAPublicKey.java,
2164 gnu/java/security/provider/GnuRSAPrivateKey.java,
2165 gnu/java/security/provider/GnuRSAPublicKey.java,
2166 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2167 gnu/java/security/provider/RSA.java,
2168 gnu/java/security/provider/SHA1PRNG.java,
2169 gnu/java/security/provider/SHA1withRSA.java,
2170 gnu/java/security/provider/X509CertificateFactory.java,
2171 gnu/java/security/x509/GnuPKIExtension.java,
2172 gnu/java/security/x509/X500DistinguishedName.java,
2173 gnu/java/security/x509/X509CRL.java,
2174 gnu/java/security/x509/X509CRLEntry.java,
2175 gnu/java/security/x509/X509CertPath.java,
2176 gnu/java/security/x509/X509CertSelectorImpl.java,
2177 gnu/java/security/x509/X509Certificate.java,
2178 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2179 gnu/java/security/x509/ext/BasicConstraints.java,
2180 gnu/java/security/x509/ext/CRLNumber.java,
2181 gnu/java/security/x509/ext/CertificatePolicies.java,
2182 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2183 gnu/java/security/x509/ext/Extension.java,
2184 gnu/java/security/x509/ext/GeneralNames.java,
2185 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2186 gnu/java/security/x509/ext/KeyUsage.java,
2187 gnu/java/security/x509/ext/PolicyConstraint.java,
2188 gnu/java/security/x509/ext/PolicyMappings.java,
2189 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2190 gnu/java/security/x509/ext/ReasonCode.java,
2191 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2192 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2193 Reorganized import statements.
2195 2005-04-18 Michael Koch <konqueror@gmx.de>
2197 * gnu/java/awt/color/CieXyzConverter.java,
2198 gnu/java/awt/color/ClutProfileConverter.java,
2199 gnu/java/awt/color/ColorLookUpTable.java,
2200 gnu/java/awt/color/ColorSpaceConverter.java,
2201 gnu/java/awt/color/GrayProfileConverter.java,
2202 gnu/java/awt/color/GrayScaleConverter.java,
2203 gnu/java/awt/color/LinearRGBConverter.java,
2204 gnu/java/awt/color/ProfileHeader.java,
2205 gnu/java/awt/color/PyccConverter.java,
2206 gnu/java/awt/color/RgbProfileConverter.java,
2207 gnu/java/awt/color/SrgbConverter.java,
2208 gnu/java/awt/color/TagEntry.java,
2209 gnu/java/awt/color/ToneReproductionCurve.java:
2210 Standardized file headers.
2212 2005-04-16 Tom Tromey <tromey@redhat.com>
2214 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2215 'ANY' package-private.
2217 2005-04-15 Tom Tromey <tromey@redhat.com>
2219 * Makefile.in: Rebuilt.
2220 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2221 (libgcj0_convenience_la_LIBADD): ... here.
2223 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2225 * gij.cc (version): Properly quote java version.
2226 (main): Fix typo in comment.
2228 2005-04-13 Mark Wielaard <mark@klomp.org>
2230 * java/lang/natRuntime.cc (insertSystemProperties): Set
2231 java.class.path to CLASSPATH if not already set.
2233 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2235 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2237 2005-04-12 Mike Stump <mrs@apple.com>
2239 * configure: Regenerate.
2241 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2244 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2245 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2247 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2250 * scripts/TexinfoDoclet.java: Removed.
2251 * Makefile.am (texinfo): Removed.
2252 * Makefile.in: Regenerated.
2254 2005-04-11 Michael Koch <konqueror@gmx.de>
2256 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2257 Fixed wrong casting.
2259 2005-04-06 Andrew Haley <aph@redhat.com>
2261 * testsuite/libjava.lang/bytearray.java: New file.
2262 * testsuite/libjava.lang/bytearray.out: New file.
2263 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2264 (loadClass): Use it.
2265 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2267 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2269 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2270 gcj-dbtool dependency
2271 * Makefile.in: Regenerated
2273 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2275 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2276 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2278 2005-04-05 Andrew Haley <aph@redhat.com>
2280 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2281 (Tokenizer): New class.
2282 (getFiles): New method.
2283 (main): Add "-" argument.
2285 Read list of files from stdin when merging map databases.
2286 (usage): Add "-" argument.
2290 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2293 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2294 * Makefile.in: Regenerate.
2295 * configure.ac: Add --with-java-home option.
2296 * configure: Regenerate.
2297 * external/Makefile.in: Regenerate.
2298 * external/sax/Makefile.in: Regenerate.
2299 * external/w3c_dom/Makefile.in: Regenerate.
2300 * gcj/Makefile.in: Regenerate.
2301 * include/Makefile.in: Regenerate.
2302 * testsuite/Makefile.in: Regenerate.
2303 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2306 2005-04-05 Tom Tromey <tromey@redhat.com>
2308 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2309 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2310 Rewrote to use _Jv_FindClassFromSignature.
2311 * verify.cc (resolve): throw NoClassDefFoundError.
2312 * link.cc (resolve_field): Throw NoClassDefFoundError.
2313 (find_field): Likewise.
2314 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2315 Handle error cases. Added 'endp' argument.
2316 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2318 2005-04-05 Tom Tromey <tromey@redhat.com>
2320 * Makefile.in: Rebuilt.
2321 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2322 gtk_awt_peer_sources.
2323 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2324 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2325 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2326 (gtk-awt-peer.lo): New target.
2328 2005-04-04 Steve Pribyl <steve@netfuel.com>
2331 * configure.ac: Fix fastjar definition for cross builds.
2332 * configure: Rebuilt.
2334 2005-04-04 Tom Tromey <tromey@redhat.com>
2336 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2337 it was already found.
2339 2005-04-04 Tom Tromey <tromey@redhat.com>
2341 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2342 org.metastatic.jessie.
2344 2005-04-02 Anthony Green <green@redhat.com>
2347 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2349 2005-04-02 Mark Wielaard <mark@klomp.org>
2351 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2352 Attributes and attribute order doesn't matter.
2353 (BasicAttributesEnumeration.where): Initialize to zero.
2354 (BasicAttributesEnumeration.nextElement): Update and compare where
2355 appropriately (zero based).
2357 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2359 PR libgcj/20090, PR libgcj/20526
2360 * gij.cc (nonstandard_opts_help): New function.
2361 (add_option): New function.
2362 (main): Support java options. Set java.class.path. Don't set
2364 * prims.cc (parse_x_arg): New function.
2365 (parse_init_args): Call parse_x_arg for -X and _ options, when
2366 ignoreUnrecognized is true.
2367 (new _Jv_RunMain): New vm_args variant.
2368 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2369 (_Jv_Jar_Class_Path): Remove variable.
2370 * include/java-props.h: Likewise.
2371 * include/cni.h (JvRealloc): New function.
2372 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2373 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2374 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2376 * configure.ac (JV_VERSION): Define.
2377 (JV_API_VERSION): Likewise.
2378 * configure: Regenerate.
2379 * include/config.h.in: Regenerate.
2381 2005-04-01 Mark Anderson <mark@panonet.net>
2383 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2384 -Infinity as parameters.
2386 2005-04-01 Michael Koch <konqueror@gmx.de>
2388 * java/io/PipedInputStream.java
2389 (read): Make sure a positive byte value is returned. Revised javadoc.
2390 Thanks to Olafur Bragason for reporting these bugs.
2392 2005-04-01 Tom Tromey <tromey@redhat.com>
2394 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2395 Updated for name change.
2396 (nativeFindClass): New method.
2397 (loadClass): Use nativeFindClass.
2398 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2400 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2401 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2403 (initialize): New method.
2404 (nativeFindClass): Declare.
2405 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2406 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2407 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2409 (definePackageForNative): Removed.
2410 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2411 Moved to VMClassLoader.java.
2412 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2413 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2414 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2415 removed VMClassLoader.java.
2416 (nat_source_files): Removed natVMClassLoader.cc.
2418 2005-04-01 Tom Tromey <tromey@redhat.com>
2420 * Makefile.in: Rebuilt.
2421 * Makefile.am (db_pathtail): Use $(gcc_version), not
2424 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2426 * java/util/Timer.java
2427 (run): Stop the queue if a task throws an exception.
2429 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2431 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2433 2005-03-29 Ian Lance Taylor <ian@airs.com>
2435 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2436 * external/sax/Makefile.in: Rebuild.
2437 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2439 * external/w3c_dom/Makefile.in: Rebuild.
2441 2005-03-29 Tom Tromey <tromey@redhat.com>
2443 * java/lang/natRuntime.cc (insertSystemProperties): Set
2444 gnu.gcj.runtime.endorsed.dirs.
2445 * Makefile.in: Rebuilt.
2446 * Makefile.am (ordinary_java_source_files): Added
2447 HelperClassLoader.java.
2448 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2449 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2451 (init): Use addDirectoriesFromProperty.
2452 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2453 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2454 gnu.gcj.runtime.endorsed.dirs.
2455 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2457 2005-03-26 Chris Burdess <dog@gnu.org>
2459 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2462 2005-03-13 Michael Koch <konqueror@gmx.de>
2464 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2466 2005-03-11 Chris Burdess <dog@gnu.org>
2468 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2471 2005-02-27 Chris Burdess <dog@gnu.org>
2473 * gnu/xml/aelfred2/JAXPFactory.java,
2474 gnu/xml/aelfred2/SAXDriver.java,
2475 gnu/xml/aelfred2/XmlParser.java,
2476 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2477 formatting conventions. Replaced arrays of Object with struct-like
2478 classes for easier maintainability. Made SAXDriver.stringInterning
2479 package private to allow access from XmlParser inside the loop without
2480 a method call overhead.
2482 2005-03-11 Chris Burdess <dog@gnu.org>
2484 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2487 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2489 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2490 settings to sub Makefiles.
2491 (GCJH, ZIP): Prefix with top_builddir.
2492 * configure: Rebuild.
2493 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2494 * external/w3c_dom/Makefile.in: Rebuild.
2495 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2496 * external/sax/Makefile.in: Rebuild.
2498 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2500 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2501 libsocket to the libraries to link for Solaris.
2503 2005-03-28 Per Bothner <per@bothner.com>
2505 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2506 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2508 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2510 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2511 to fix a ONESTEP fallout.
2512 * Makefile.in: Regenerate.
2514 2005-03-25 Mike Stump <mrs@apple.com>
2516 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2517 paths like we do for the compiler, as we use it in external/sax
2518 and it doesn't get MULTIBUILDTOP right when multilibing.
2520 2005-03-24 Anthony Green <green@redhat.com>
2522 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2524 (usage): Add [LIBDIR] to help output.
2525 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2526 * Makefile.am (AM_CXXFLAGS): Define
2527 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2528 (db_pathtail): New macro.
2530 2005-03-24 Tom Tromey <tromey@redhat.com>
2532 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2533 add sax and w3c libraries.
2534 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2536 * external/w3c_dom/Makefile.in: Rebuilt.
2537 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2539 (libw3c_gcj_la_LDFLAGS): New variable.
2540 (noinst_LTLIBRARIES): Renamed.
2541 * external/sax/Makefile.in: Rebuilt.
2542 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2544 (libsax_gcj_la_LDFLAGS): New variable.
2545 (noinst_LTLIBRARIES): Renamed.
2547 2005-03-23 Tom Tromey <tromey@redhat.com>
2549 * Makefile.in: Rebuilt.
2550 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2551 (libgcj0_convenience_la_SOURCES): Don't include
2552 gnu_xml_source_files.
2553 (libgcj0_convenience_la_LIBADD): New variable.
2554 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2555 (all_java_source_files): javax_imageio_source_files,
2556 javax_xml_source_files, and gnu_java_beans_source_files.
2557 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2558 (gnu-xml.lo): New target.
2559 (javax-imageio.lo): Likewise.
2560 (javax-xml.lo): Likewise.
2561 (gnu-java-beans.lo): Likewise.
2562 (gnu_java_beans_source_files): New variable.
2563 (javax_imageio_source_files): Likewise.
2564 (javax_xml_source_files): Likewise.
2565 (javax_source_files): Moved files to other variable.
2566 (awt_java_source_files): Likewise.
2567 (ordinary_java_source_files): Added BootClassLoader.java.
2568 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2569 not system class loader.
2570 (initBootLoader): New method.
2571 (loadClass): Search bootLoader.
2572 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2573 boot loader, not system class loader.
2574 (_Jv_UnregisterInitiatingLoader): Likewise.
2575 (_Jv_FindClass): Likewise. Ensure entries in
2576 bootstrap_class_list are unique.
2577 * java/lang/natClass.cc (getClassLoader): Don't special case
2578 system class loader.
2579 * java/lang/VMClassLoader.java (bootLoader): New field.
2580 (getResource): Use bootLoader.
2581 (getResources): Likewise.
2582 (initBootLoader): Declare.
2583 * gnu/gcj/runtime/BootClassLoader.java: New file.
2584 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2585 (EMPTY_ENUMERATION): Now package-private.
2586 * external/w3c_com/Makefile.in: Rebuilt.
2587 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2588 (w3c.jar): New target.
2589 (classes.stamp): Updated.
2590 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2591 Changed name of library.
2592 (libw3c_gcj_la_SOURCES): New variable.
2593 (libw3c_gcj_la_GCJFLAGS): Likewise.
2594 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2595 * external/sax/Makefile.in: Rebuilt.
2596 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2597 (sax.jar): New target.
2598 (classes.stamp): Updated.
2599 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2600 Changed name of library.
2601 (libsax_gcj_la_SOURCES): New variable.
2602 (libsax_gcj_la_GCJFLAGS): Likewise.
2603 (source_files): Renamed from libsax_convenience_la_SOURCES.
2604 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2606 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2608 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2610 2005-03-23 Sven de Marothy <sven@physto.se>
2612 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2614 * java/util/Calendar.java
2615 (set): Use starting day of week when one is needed if none is given.
2616 * java/text/SimpleDateFormat.java
2617 (parse): Handle 1-12 and 1-24 timestamps correctly.
2618 * java/util/GregorianCalendar.java
2619 (computeTime, computeFields): HOUR should be in 0-11 format.
2620 (nonLeniencyCheck): Adjust leniency checking to that fact.
2621 (getLinearDay): Should be private.
2623 2005-03-23 Tom Tromey <tromey@redhat.com>
2625 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2626 (_Jv_CheckABIVersion): Use it.
2628 2005-03-22 Mike Stump <mrs@apple.com>
2630 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2632 * include/posix.h: .dylib is used on all Apple MACH platforms.
2633 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2635 2005-03-22 Tom Tromey <tromey@redhat.com>
2637 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2639 2005-03-21 Tom Tromey <tromey@redhat.com>
2641 * java/lang/VMCompiler.java (static block): Also catch
2642 BufferUnderflowException.
2644 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2646 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2647 set tool_include_dir. In all substitutions, leave $(gcc_version)
2648 to be expanded by the Makefile.
2649 * aclocal.m4, configure: Regenerate.
2650 * Makefile.am: Set gcc_version. Replace all uses of
2651 @gcc_version@ with $(gcc_version).
2652 * external/Makefile.am, external/sax/Makefile.am
2653 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2654 * testsuite/Makefile.am: Set gcc_version.
2655 * include/Makefile.am: Set gcc_version and tool_include_dir.
2656 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2657 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2658 * testsuite/Makefile.in: Regenerate.
2660 2005-03-17 Andrew Haley <aph@redhat.com>
2662 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2664 Pass klass to _Jv_StackTrace::GetClassContext().
2665 * java/lang/ClassLoader.java (getParent): Pass class to
2666 VMSecurityManager.getClassContext()
2667 (getSystemClassLoader): Likewise.
2668 * java/lang/Package.java (getPackage): Likewise.
2669 (getPackages): Likewise.
2670 * java/lang/SecurityManager.java (getClassContext): Likewise.
2671 (currentClassLoader): Likewise.
2672 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2673 (currentClassLoader) Add new arg: caller.
2674 Pass caller to VMSecurityManager.getClassContext.
2676 * stacktrace.cc (GetClassContext): Correct calculation of
2679 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2680 im->source_file_name.
2682 2005-03-16 Andrew Haley <aph@redhat.com>
2684 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2686 2005-03-16 Tom Tromey <tromey@redhat.com>
2688 * link.cc (ensure_class_linked): Removed #ifdef.
2689 (print_class_loaded): Likewise.
2690 (wait_for_state): Likewise.
2691 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2692 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2693 * include/java-interp.h: ... here.
2695 2005-03-16 Tom Tromey <tromey@redhat.com>
2697 * gnu/java/lang/MainThread.java (run): Load main class using
2698 system class loader.
2700 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2702 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2703 lgcc_s to the libraries to link for Darwin.
2705 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2707 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2708 interpreter-specific code with #ifdef INTERPRETER.
2709 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2710 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2711 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2712 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2713 #ifdef INTERPRETER. Also protect declarations that use it.
2714 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2715 #ifdef INTERPRETER block.
2717 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2720 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2721 * Makefile.in: Rebuilt.
2723 2005-03-15 David Daney <ddaney@avtrex.com>
2725 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2728 2005-03-15 David Daney <ddaney@avtrex.com>
2730 * java/io/BufferedInputStream.java (available): Use 'in' instead
2731 of 'super' for underlying stream access.
2733 (read(byte[], int, int)): Ditto.
2735 (skip): Call skip on underlying stream when possible.
2737 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2739 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2740 SJLJ_EXCEPTIONS is defined.
2742 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2744 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2747 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2749 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2751 (libjava_arguments): Likewise.
2753 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2754 (gcj_jni_test_one): Likewise.
2755 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2756 Add flags to keep the Darwin linker quiet.
2757 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2758 Add -liconv for Darwin.
2760 2005-03-11 Tom Tromey <tromey@redhat.com>
2762 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2763 (_Jv_CheckABIVersion): Use it.
2765 2005-03-11 Tom Tromey <tromey@redhat.com>
2767 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2768 (usage): Document '-p'.
2769 * Makefile.in: Rebuilt.
2770 * Makefile.am (dbexecdir): New variable.
2771 (db_name): Likewise.
2772 (dbexec_DATA): Likewise.
2773 ($(db_name)): New target.
2774 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2775 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2778 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2780 * exception.cc: Remove stray MethodRef.h include.
2781 * java/lang/natClass.cc: Likewise.
2782 * gnu/gcj/runtime/MethodRef.java: Removed.
2783 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2784 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2785 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2786 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2787 * Makefile.in: Rebuilt.
2789 2005-03-10 Tom Tromey <tromey@redhat.com>
2791 * Makefile.in: Rebuilt.
2792 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2794 2005-03-10 Chris Burdess <dog@bluezoo.org>
2796 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2797 not currently parsing the DTD.
2799 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2801 New Stack Trace infrastructure.
2802 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2803 (gnu/gcj/runtime/StackTrace.java): Removed.
2804 (ordinary_java_source_files): Remove obsolete files.
2805 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2806 * configure.host (fallback_backtrace_h): Set backtrace header
2807 for mingw and cygwin targets.
2808 * configure.ac: Make symlink for fallback backtrace headers.
2809 * Makefile.in, configure: Rebuilt.
2810 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2811 Read 'LineNumberTable' attribute.
2812 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2814 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2816 * exception.cc: Remove unused include.
2817 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2818 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2819 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2820 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2821 table to direct threaded instruction values.
2822 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2823 (_Jv_InterpMethod::run): No longer member function. All
2824 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2825 is made or where an instruction could throw.
2826 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2828 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2829 (catch_fpe): Likewise.
2830 * stacktrace.cc: New file. Stack trace code now here.
2831 * gnu/gcj/runtime/MethodRef.java:
2832 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2833 calls addr2line to look up PC addresses in a given binary or shared
2835 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2836 gnu/gcj/runtime/natStackTrace.cc: Removed.
2837 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2838 this function name is specially recognised by the stack trace code
2839 and shouldn't be changed.
2840 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2841 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2842 (_Jv_InterpMethod::run): Update declaration.
2843 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2845 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2846 * include/java-stack.h: New file. Declarations for stack tracing.
2847 * include/jvm.h (_Jv_Frame_info): Removed.
2848 * java/lang/Class.h: Update friend declarations.
2849 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2851 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2852 (getStackTrace): Now native.
2853 (data): New RawDataManaged field.
2854 * java/lang/natClass.cc: Update includes.
2855 (forName): Use _Jv_StackTrace::GetCallingClass for
2856 calling-classloader check.
2857 (getClassLoader): Likewise.
2858 * java/lang/natRuntime.cc: Update includes.
2859 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2860 * java/lang/natVMSecurityManager.cc: Update includes.
2861 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2862 * java/lang/natVMThrowable.cc: New file. Native methods for
2864 * java/lang/reflect/natArray.cc: Update includes.
2865 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2866 accessibility check.
2867 * java/lang/reflect/natConstructor.cc: Update includes.
2868 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2869 accessibility check.
2870 * java/lang/reflect/natField.cc: Update includes.
2871 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2872 accessibility check.
2873 * java/lang/reflect/natMethod.cc: Update includes.
2874 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2875 accessibility check.
2876 * java/util/natResourceBundle.cc: Update includes.
2877 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2878 * java/util/logging/natLogger.cc: Update includes. Use
2879 _Jv_StackTrace::GetCallerInfo to get call-site info.
2880 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2882 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2885 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2887 * testsuite/libjava.compile/PR20312.java: New file.
2888 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2889 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2891 2005-03-09 Andrew Haley <aph@redhat.com>
2893 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2895 (smallTransferTo): New.
2896 (transferFrom): Loop around smallTransferFrom, copying pageSize
2898 (transferTo): Likewise.
2900 2005-03-09 David Daney <ddaney@avtrex.com>
2903 Merge BufferedInputStream from GNU Classpath.
2904 * java/io/BufferedInputStream.java (marktarget): Field removed.
2905 (CHUNKSIZE): Field removed.
2906 (bufferSize): New field.
2907 (BufferedInputStream): Initialize fields.
2908 (close): Invalidate mark and buffer indexes.
2910 (read()): Move mark handling code to refill.
2911 (read(byte[], int, int)): Ditto.
2912 (skip): Ditto and simplify EOF testing.
2913 (refill): Rewritten.
2914 * java/io/InputStreamReader.java (refill): Removed mark and reset
2915 of internal BufferedInputStream.
2917 2005-03-09 Tom Tromey <tromey@redhat.com>
2919 * java/lang/natVMClassLoader.cc (defineClass): Reference
2920 'systemClassLoader' field directly.
2921 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2923 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2924 Reference 'systemClassLoader' field directly.
2925 (_Jv_UnregisterInitiatingLoader): Likewise.
2926 (_Jv_FindClass): Likewise.
2928 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2930 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2932 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2933 the file in GNU Classpath style.
2935 2005-03-09 Tom Tromey <tromey@redhat.com>
2937 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2938 (toString): Synchronize.
2940 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2942 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2943 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2945 2005-03-07 Tom Tromey <tromey@redhat.com>
2947 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2948 (usage): Document '-f'.
2950 2005-03-07 Tom Tromey <tromey@redhat.com>
2952 * java/lang/VMCompiler.java (md5Digest): New field.
2953 (compileClass): Clone md5Digest instead of looking up a new one.
2955 2005-03-07 Tom Tromey <tromey@redhat.com>
2958 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2959 * link.cc (find_field_helper): Added 'type' argument.
2960 (find_field): Updated.
2962 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2963 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2964 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2965 throw UnsupportedOperationException, fixed comments.
2966 (setFont, setForeground): Fixed comments.
2967 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2968 return type to boolean.
2969 (getNextEvent): Fixed javadocs.
2970 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2971 (nativeQueueEmpty): Removed unused code.
2972 (iterateNativeQueue): Removed outer loop.
2974 2005-03-06 Roger Sayle <roger@eyesopen.com>
2977 * Makefile.am (libgcj0_convenience.la): Revert last change.
2978 * Makefile.in: Regenerate.
2980 2005-03-05 Anthony Green <green@redhat.com>
2982 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2983 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2984 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2985 (_Jv_GetDrawingSurface): Set visualID.
2986 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2987 (JAWT_GetAWT): Set Lock and Unlock.
2988 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2990 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2991 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2992 JAWT_LOCK_SURFACE_CHANGED): New macros.
2993 (struct _JAWT): Add Lock and Unlock.
2995 2005-03-05 Roger Sayle <roger@eyesopen.com>
2996 Alexandre Oliva <aoliva@redhat.com>
2997 Kelley Cook <kcook@gcc.gnu.org>
3000 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3001 of the object files to link to avoid exceeding the command line
3002 length limits on some platforms.
3003 (clean-local): Clean up objectlist files.
3004 * Makefile.in: Regenerate.
3006 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3008 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3009 spec_case. Initialize pointer mlo.
3011 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3014 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3016 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3019 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3020 uninitialized variable z.
3022 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3023 possible unused variables.
3025 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3027 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3029 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3032 * testsuite/libjava.jni/jni.exp
3033 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3035 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3037 2005-02-23 David Daney <ddaney@avtrex.com>
3039 * configure.host: Don't use -mxgot for MIPS builds.
3041 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3044 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3045 (COMPPATH): Removed.
3046 (ZIP, GCJH): Replace it with ../$(host_subdir).
3047 (built_gcc_dir): Add $(host_subdir).
3048 * configure: Regenerate.
3049 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3050 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3051 external/w3c_dom/Makefile.in: Regenerate.
3053 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3055 * java/awt/font/TextAttribute.java: changed names to lower case;
3056 (readResolve): implemented.
3057 Added doc comments all over.
3059 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3062 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3063 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3064 value. Move argument parsing code to prims.cc.
3065 * prims.cc (no_properties): Remove.
3066 (_Jv_Compiler_Properties): Initialize to NULL.
3067 (_Jv_Properties_Count): Initialize to 0.
3068 (parse_verbose_args): New function.
3069 (parse_init_args): New function.
3070 (_Jv_CreateJavaVM): Call parse_init_args.
3071 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3072 * gcj/cni.h (JvVMOption): New struct.
3073 (JvVMInitArgs): Likewise.
3074 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3076 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3077 (_Jv_VMInitArgs): Likewise.
3078 * include/java-props.h (_Jv_Properties_Count): Declare.
3079 * java/lang/natRuntime.cc (insertSystemProperties): Use
3080 _Jv_Properties_Count in for loop exit condition.
3081 * testsuite/libjava.jni/jni.exp
3082 (gcj_invocation_compile_c_to_binary): New procedure.
3083 (gcj_invocation_test_one): Likewise.
3084 (gcj_jni_run): Run JNI invocation API tests.
3085 * testsuite/libjava.jni/invocation/PR16923.c,
3086 testsuite/libjava.jni/invocation/PR16923.java,
3087 testsuite/libjava.jni/invocation/PR16923.out: New test.
3089 2005-02-23 Michael Koch <konqueror@gmx.de>
3091 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3092 * Makefile.in: Regenerated.
3094 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3096 * gnu/java/nio/ChannelReader: Fixed comments.
3098 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3100 * java/nio/channels/Channels: Added FIXMEs about
3101 stub method implementation.
3102 (newReader): Implemented.
3103 * gnu/java/nio/ChannelReader: New class.
3105 2005-02-23 Michael Koch <konqueror@gmx.de>
3107 * java/text/SimpleDateFormat.java:
3108 Removed unused import.
3110 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3113 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3114 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3115 * Makefile.in: Regenerate.
3116 * configure.ac: Check for libXtst.
3117 * configure: Regenerate.
3119 2005-02-22 Mark Wielaard <address@bogus.example.com>
3121 * java/security/AlgorithmParameterGenerator.java (getInstance):
3122 Mention provider when throwing NoSuchProviderException.
3123 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3124 * java/security/KeyFactory.java (getInstance): Likewise.
3125 * java/security/KeyStore.java (getInstance): Likewise.
3126 * java/security/SecureRandom.java (getInstance): Likewise.
3127 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3129 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3131 * java/lang/reflect/Proxy.java,
3133 java/security/SecureRandom.java,
3134 java/util/Timer.java,
3135 java/util/prefs/AbstractPreferences.java:
3136 Don't catch java.lang.ThreadDeath.
3138 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3140 * java/awt/font/TransformAttribute.java,
3141 (TransformAttribute(AffineTransform)): throw
3142 IllegalArgumentException for null transform.
3143 (getTransform): return a copy of transform.
3144 Added doc comments to all.
3146 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3148 * java/io/Externalizable.java,
3149 java/io/Serializable.java
3150 (serialVersionUID): Removed.
3151 * java/rmi/server/RemoteObject.java,
3152 java/rmi/server/UID.java
3153 (serialVersionUID): Made private.
3154 * java/rmi/server/RemoteRef.java,
3155 java/rmi/server/ServerRef.java
3156 (serialVersionUID): Set proper value.
3157 * java/security/interfaces/DSAPrivateKey.java,
3158 java/security/interfaces/DSAPublicKey.java,
3159 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3160 java/security/interfaces/RSAPrivateCrtKey.java,
3161 java/security/interfaces/RSAPrivateKey.java,
3162 java/security/interfaces/RSAPublicKey.java,
3163 javax/crypto/SecretKey.java
3164 (serialVersionUID): Added.
3166 2005-02-22 Tom Tromey <tromey@redhat.com>
3168 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3170 2005-02-22 Tom Tromey <tromey@redhat.com>
3173 * verify.cc (type::EITHER): New constant.
3174 (check_field_constant): Use it.
3175 (type::compatible): Handle it.
3177 2005-02-22 Michael Koch <konqueror@gmx.de>
3179 * gnu/java/security/PolicyFile.java,
3180 gnu/java/security/pkcs/PKCS7SignedData.java,
3181 gnu/java/security/pkcs/SignerInfo.java:
3182 Fixed copyright header.
3184 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3186 * java/beans/PropertyDescriptor.java
3187 (PropertyDescriptor,setReadMethod): Set propertyType.
3189 2005-02-22 Michael Koch <konqueror@gmx.de>
3191 * java/nio/DirectByteBufferImpl.java
3192 (owner): Fixed formatting of javadoc.
3193 * java/text/DateFormat.java
3194 (getAvailableLocales): Fixed formatting.
3195 * java/text/SimpleDateFormat.java:
3196 Fixed formatting and import statement order.
3197 * java/util/Calendar.java
3198 (Calendar): Fixed javadoc to be HTML compliant.
3199 * java/util/SimpleTimeZone.java:
3202 2005-02-22 Roman Kennke <roman@ontographics.com>
3204 * javax/swing/plaf/basic/BasicLookAndFeel.java
3205 (initComponentDefaults): Fixed Button left and right margin.
3207 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3209 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3213 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3214 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3215 (getWidth): New method.
3216 (getHeight): Likewise.
3217 (create): Remove width, height and insets parameters. Move size
3219 (realize_cb): ... here. New function.
3220 (connectSignals): Connect realize_cb.
3221 (request_frame_extents): Remove FIXME. Move
3222 postInsetsChangedEvent lookup ...
3223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3224 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3225 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3227 (windowGetWidthID): Likewise.
3228 (windowGetHeightID): Likewise.
3230 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3234 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3236 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3238 Merge serialization from GNU Classpath.
3239 * gcj/method.h: Add missing #includes.
3240 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3241 primitive class IDs on the stream here...
3242 (resolveClass): ...not here.
3243 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3245 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3246 setLongNative, setIntNative, setShortNative, setCharNative,
3247 setByteNative, setBooleanNative, setObjectNative): New native methods.
3248 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3249 setLongNative, setIntNative, setShortNative, setCharNative,
3250 setByteNative, setBooleanNative, setObjectNative): Implement them.
3251 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3252 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3253 the constructor here.
3254 (callConstructor): Removed.
3255 (getCallersClassLoader): Removed.
3256 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3257 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3258 to control whether setting final field values is permitted. Call
3259 getAddr() with checkFinal parameter instead of setAddr().
3260 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3261 only if not done already.
3262 (getAddr): Add checkFinal parameter. Do the final field check only if
3266 2005-02-21 Mark Wielaard <mark@klomp.org>
3269 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3272 2005-02-21 Mark Wielaard <mark@klomp.org>
3275 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3276 without a super class and us ObjectStreamClass.lookupForClassObject().
3277 (resolveClass): Check for primitive types.
3278 (lookupClass): Return null when argument is null.
3280 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3282 * java/io/ObjectInputStream.java
3283 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3285 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3287 * java/io/ObjectOutputStream.java
3288 (writeObject, callWriteMethod): Replaced reflection with accessing
3289 cached info in ObjectStreamClass.
3290 (getMethod): Removed.
3291 * java/io/ObjectStreamClass.java
3292 (findMethod): Added check to make sure the method found has the
3294 (cacheMethods): Added writeReplace and writeObject methods.
3295 (setFlags): Look at new writeObjectMethod field instead of doing
3297 (writeReplaceMethod): New field.
3298 (writeObjectMethod): New field.
3300 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3301 Jeroen Frijters <jeroen@frijters.net>
3303 * java/io/ObjectInputStream.java
3304 (newObject): Changed prototype. Get a constructor reflect object
3306 (callConstructor): Removed.
3307 (allocateObject): Changed prototype.
3308 (readClassDescriptor): Build the constructor reflection directly.
3309 (readObject): Invoke newObject using the new prototype.
3311 * java/io/ObjectStreamClass.java
3312 (firstNonSerializableParent): Removed.
3313 (firstNonSerializableParentConstructor): Added.
3315 2005-02-21 Mark Wielaard <mark@klomp.org>
3317 * gnu/java/locale/LocaleInformation_en.java: Extend
3318 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3320 2005-02-21 Mark Wielaard <mark@klomp.org>
3322 * java/text/SimpleDateFormat.java
3323 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3324 NullPointerException when formatData is null.
3326 2005-02-21 Mark Wielaard <mark@klomp.org>
3328 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3329 taking dstSavings into account.
3331 2005-02-21 Sven de Marothy <sven@physto.se>
3333 * java/text/SimpleDateFormat.java,
3334 (parse): Set correct DST_OFFSET to the correct value.
3336 2005-02-21 Mark Wielaard <mark@klomp.org>
3338 * java/util/SimpleTimeZone.java (checkRule): Throw
3339 IllegalArgumentException when month out of range.
3341 2005-02-21 Sven de Marothy <sven@physto.se>
3343 * java/util/GregorianCalendar.java,
3344 (add): Don't set fields directly anymore. Use set()
3346 2005-02-21 Mark Wielaard <mark@klomp.org>
3348 * java/text/SimpleDateFormat.java (CompiledField.toString):
3349 Use StringBuffer, not StringBuilder.
3350 (toString): Likewise.
3352 2005-02-21 Sven de Marothy <sven@physto.se>
3354 * java/util/Calendar.java
3355 (clear): Dates should clear to local time.
3356 * java/util/GregorianCalendar.java
3357 (computeTime): Fix priority problem with DAY_OF_WEEK,
3358 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3360 2005-02-21 Sven de Marothy <sven@physto.se>
3362 * java/util/Calendar.java
3363 (Calendar): Constructor should clear fields.
3365 2005-02-21 Sven de Marothy <sven@physto.se>
3367 * java/text/SimpleDateFormat.java
3368 (parse): Tweak handling of 2-year dates
3369 * java/util/Calendar.java
3370 (clear): Clear fields to correct value.
3371 * java/util/GregorianCalendar.java
3372 (computeTime): Correct handling of time zones.
3373 Correct field minimum values.
3375 2005-02-21 Sven de Marothy <sven@physto.se>
3377 * java/util/Calendar.java
3378 (set) Invalidate all fields on first call to set().
3380 2005-02-21 Sven de Marothy <sven@physto.se>
3382 * java/util/GregorianCalendar.java
3383 (computeTime): Fixed handling of time zones.
3385 2005-02-21 Sven de Marothy <sven@physto.se>
3387 * java/util/Calendar.java
3388 (clear): Set values to Epoch instead of zero.
3389 (set): Set isSet to the relevant field pattern instead of just
3391 * java/util/GregorianCalendar.java
3392 (getBundle): Removed.
3393 (getDayOfYear): Removed.
3394 (getFirstDayOfMonth): New private method.
3395 (nonLeniencyCheck): New private method.
3396 (computeTime): Correct handling of insufficient data.
3398 2005-02-21 Sven de Marothy <sven@physto.se>
3400 * java/util/Calendar.java: Invalidate ERA field on setting
3402 * java/util/SimpleTimeZone.java:
3403 (getDaysInMonth): Reimplemented.
3404 * java/util/GregorianCalendar.java:
3405 (getLinearTime): Removed.
3406 (isLeapYear(int,boolean)): Removed.
3407 (before(), after()): Removed.
3408 (computeTime): Reimplemented.
3410 2005-02-21 Sven de Marothy <sven@physto.se>
3412 * java/util/Calendar.java: Reformatted.
3413 * java/util/GregorianCalendar.java: Reformatted.
3414 * java/util/SimpleTimeZone.java: Reformatted.
3416 2005-02-21 Sven de Marothy <sven@physto.se>
3418 * java/util/GregorianCalendar.java
3419 (GregorianCalendar): Update fields in the constructor
3421 2005-02-21 Noa Resare <noa@resare.com>
3423 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3424 (set(int,int)): Set and use new field.
3425 (set(int,int,int)): Check new field.
3427 2005-02-21 Noa Resare <address@hidden>
3429 * java/util/Calendar.java(set):
3430 Fix for DST related regression.
3432 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3434 * java/util/Calendar.java
3435 (setTimeInMillis): Added call to clear, removed computeFields call.
3436 * java/util/Date.java
3437 (Date(int,int,int,int,int,int)): Removed workaround for
3438 GregorianCalendar bug.
3439 * java/util/GregorianCalendar.java
3440 (GregorianCalendar): Chained all constructors to a (new)
3442 (computeTime): Fixed support for lenient month treatment.
3443 (getLinearDay): Return long instead of int.
3444 (calculateDay): Added fields argument and changed day argument
3447 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3449 * java/text/SimpleDateFormat.java
3450 Lots of documentation updates.
3451 (readObject(java.io.ObjectInputStream)): Wraps
3452 IllegalArgumentException as specified.
3453 (compileFormat(String)): Uses standardChars
3454 rather than the local pattern characters.
3455 Throws IllegalArgumentException rather than
3457 (toString()): Extended to include all variables
3459 (translateLocalizedPattern(String, String, String)):
3460 Renamed to better define the use of this method.
3462 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3464 * java/text/DateFormat.java:
3465 Documented pattern character offset constants and
3467 (Field): Added new static fields for new pattern chars.
3468 * java/text/SimpleDateFormat.java:
3469 (CompiledField): Changed name of FieldSizePair class
3470 to CompiledField after adding the character as an
3471 attribute. Changed fields to private and added
3472 accessors to give encapsulation.
3473 (CompiledField.CompiledField(int,int,char)): Extended
3474 with character field.
3475 (CompiledField.getField()): New accessor method.
3476 (CompiledField.getSize()): New acceessor method.
3477 (CompiledField.getCharacter()): New accessor method.
3478 (CompiledField.toString()): Added primarily for debugging.
3479 (standardChars): Now uses extended 24 character sequence.
3480 (compileFormat(String)): Changed to use CompiledField.
3481 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3482 java.text.FieldPosition)): Changed to use CompiledField.
3483 New handler for RFC 822 timezones added.
3485 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3487 * java/text/SimpleDateFormat.java:
3488 (parse(String, java.text.ParsePosition)):
3489 Changed 'E' and 'M' cases to use both
3490 short and long names. Extended 'z'
3491 case to also handle 'Z', and deal
3492 with simple GMT offsets such as +0100.
3493 (computeOffset(String)): New private method,
3494 which converts a GMT offset specification,
3495 such as GMT-0500 to a numeric offset in
3497 * java/util/TimeZone.java:
3498 (timezones()): Added "CEST", the daylight
3499 savings time version of "CET", or Central
3502 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3504 * java/text/SimpleDateFormat.java:
3505 (parse): Set the DST offset to 0 when parsing
3506 GMT offset timezones.
3508 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3510 * java/text/SimpleDateFormat.java:
3511 (parse): Use offset to set ZONE_OFFSET
3512 rather than the DST_OFFSET, so that
3513 GMT offset timezones change the right
3516 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3518 * java/text/SimpleDateFormat.java:
3519 (getDateFormatSymbols()): return a copy
3520 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3521 throw exception on null input
3522 (clone()): implemented to clone
3525 2005-02-21 Sven de Marothy <sven@physto.se>
3527 * java/text/SimpleDateFormat.java
3528 (parse): comparison should be case-insensitive, ignore null
3531 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3533 * gnu/java/beans/IntrospectionIncubator.java
3534 (addMethod) Reverts the patch that ntroduced a regression (see bug
3535 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3537 2005-02-21 Michael Koch <konqueror@gmx.de>
3539 * java/awt/Checkbox.java
3540 (next_checkbox_number): New static variable.
3541 (generateName): New method.
3542 (getUniqueLong): Likewise.
3543 * java/awt/Window.java
3544 (next_window_number): New static variable.
3545 (generateName): New method.
3546 (getUniqueLong): Likewise.
3548 2005-02-21 Mark Wielaard <mark@klomp.org>
3550 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3553 2005-02-21 Andrew Haley <aph@redhat.com>
3555 * Makefile.in: Rebuilt.
3556 * Makefile.am (nat_source_files): Added natLogger.cc.
3557 * java/util/logging/natLogger.cc: New file.
3558 * java/util/logging/Logger.java (getCallerStackFrame): Now
3561 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3563 * Makefile.am (all_property_files): Remove left over.
3564 (classes.stamp): Add stamp for the ONESTEP build, also known as
3565 --enable-libgcj-multifile.
3566 * Makefile.in: Regenerated.
3568 2005-02-21 Michael Koch <konqueror@gmx.de>
3570 * java/awt/Button.java,
3571 java/awt/Container.java,
3573 java/awt/Frame.java,
3574 java/text/CollationElementIterator.java,
3575 java/text/RuleBasedCollator.java,
3576 java/util/PropertyPermission.java:
3577 Fixed formatting issues all over.
3579 2005-02-21 Mark Wielaard <mark@klomp.org>
3581 * java/io/FileDescriptor.java (sync): Add real exception to
3582 SyncFailedException.
3584 2005-02-21 Michael Koch <konqueror@gmx.de>
3586 * java/io/InputStreamReader.java:
3589 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3592 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3594 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3596 * libraries/javalib/gnu/regexp/RE.java,
3597 libraries/javalib/java/io/ObjectInputStream.java,
3598 libraries/javalib/java/security/AllPermission.java,
3599 libraries/javalib/java/security/BasicPermission.java,
3600 libraries/javalib/java/security/Permissions.java,
3601 libraries/javalib/java/text/MessageFormat.java:
3602 Made 'inner' classes real public static inner classes,
3603 and made them final where possible, or removed them
3606 2005-02-20 Michael Koch <konqueror@gmx.de>
3608 * gnu/java/text/FormatCharacterIterator.java:
3609 Removed redundant modifiers.
3611 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3613 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3616 2005-02-19 Michael Koch <konqueror@gmx.de>
3618 * Makefile.am: Added new files in gnu/java/beans and
3619 java/beans/XMLDecoder.java.
3620 * Makefile.in: Regenerated.
3622 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3624 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3625 assignment behavior by using java.lang.reflect.Array.set()
3628 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3630 * gnu/java/beans/EmptyBeanInfo.java,
3631 gnu/java/beans/info/ComponentBeanInfo.java:
3632 Removed unused files.
3634 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3636 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3637 of AppletStub for java.beans.Beans.instantiate.
3638 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3640 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3641 to be conformant with Javadoc guidelines.
3642 (instantiate): Added two more overloaded variants, reworked user
3643 documentation, fixed exception behavior, fixed behavior when
3646 2005-02-19 Mark Wielaard <mark@klomp.org>
3648 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3650 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3652 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3654 * gnu/java/beans/decoder/AbstractContext.java,
3655 gnu/java/beans/decoder/AbstractCreatableContext.java,
3656 gnu/java/beans/decoder/AbstractElementHandler.java,
3657 gnu/java/beans/decoder/AbstractObjectContext.java,
3658 gnu/java/beans/decoder/ArrayContext.java,
3659 gnu/java/beans/decoder/ArrayHandler.java,
3660 gnu/java/beans/decoder/AssemblyException.java,
3661 gnu/java/beans/decoder/BooleanHandler.java,
3662 gnu/java/beans/decoder/ByteHandler.java,
3663 gnu/java/beans/decoder/CharHandler.java,
3664 gnu/java/beans/decoder/ClassHandler.java,
3665 gnu/java/beans/decoder/ConstructorContext.java,
3666 gnu/java/beans/decoder/Context.java,
3667 gnu/java/beans/decoder/DecoderContext.java,
3668 gnu/java/beans/decoder/DefaultExceptionListener.java,
3669 gnu/java/beans/decoder/DoubleHandler.java,
3670 gnu/java/beans/decoder/DummyContext.java,
3671 gnu/java/beans/decoder/DummyHandler.java,
3672 gnu/java/beans/decoder/ElementHandler.java,
3673 gnu/java/beans/decoder/FloatHandler.java,
3674 gnu/java/beans/decoder/GrowableArrayContext.java,
3675 gnu/java/beans/decoder/IndexContext.java,
3676 gnu/java/beans/decoder/IntHandler.java,
3677 gnu/java/beans/decoder/JavaHandler.java,
3678 gnu/java/beans/decoder/LongHandler.java,
3679 gnu/java/beans/decoder/MethodContext.java,
3680 gnu/java/beans/decoder/MethodFinder.java,
3681 gnu/java/beans/decoder/NullHandler.java,
3682 gnu/java/beans/decoder/ObjectContext.java,
3683 gnu/java/beans/decoder/ObjectHandler.java,
3684 gnu/java/beans/decoder/PersistenceParser.java,
3685 gnu/java/beans/decoder/PropertyContext.java,
3686 gnu/java/beans/decoder/ShortHandler.java,
3687 gnu/java/beans/decoder/SimpleHandler.java,
3688 gnu/java/beans/decoder/StaticMethodContext.java,
3689 gnu/java/beans/decoder/StringHandler.java,
3690 gnu/java/beans/decoder/VoidHandler.java: New class
3691 implementing java.beans.XMLDecoder decoding functionality.
3692 * java/beans/XMLDecoder.java: New class.
3694 2005-02-19 Michael Koch <konqueror@gmx.de>
3696 * javax/swing/JTextField.java
3697 (notfiyAction): Added javadoc.
3699 2005-02-19 Sven de Marothy <sven@physto.se>
3701 * javax/swing/SpinnerDateModel.java: Implemented.
3703 2005-02-19 Michael Koch <konqueror@gmx.de>
3705 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3706 * Makefile.in: Regenerated.
3708 2005-02-19 Michael Koch <konqueror@gmx.de>
3710 * gnu/java/nio/SelectorImpl.java:
3711 Reworked import statements.
3712 (register): Removed unused code.
3713 * java/nio/channels/Channels.java: Reformatted.
3714 * java/nio/charset/Charset.java: Likewise.
3715 * java/rmi/server/RemoteObject.java
3716 (serialVersionUID): Made private.
3717 * java/rmi/server/UID.java
3718 (serialVersionUID): Likewise.
3720 2005-02-19 Michael Koch <konqueror@gmx.de>
3722 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3723 gnu/java/net/protocol/ftp/BlockInputStream.java,
3724 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3725 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3726 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3727 gnu/java/net/protocol/ftp/DTPInputStream.java,
3728 gnu/java/net/protocol/ftp/DTP.java,
3729 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3730 gnu/java/net/protocol/ftp/FTPConnection.java,
3731 gnu/java/net/protocol/ftp/FTPException.java,
3732 gnu/java/net/protocol/ftp/FTPResponse.java,
3733 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3734 gnu/java/net/protocol/ftp/Handler.java,
3735 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3736 gnu/java/net/protocol/ftp/StreamInputStream.java,
3737 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3738 gnu/java/net/CRLFInputStream.java,
3739 gnu/java/net/CRLFOutputStream.java,
3740 gnu/java/net/GetLocalHostAction.java,
3741 gnu/java/net/protocol/ftp/package.html: New files.
3742 * Makefile.am: Added new files.
3743 * Makefile.in: Regenerated.
3745 2005-02-18 Tom Tromey <tromey@redhat.com>
3747 * link.cc (make_vtable): Remove abstract method check.
3748 (append_partial_itable): Likewise.
3751 * verify.cc (type::equals): Fixed test.
3752 * testsuite/libjava.lang/PR20056.out: New file.
3753 * testsuite/libjava.lang/PR20056.java: New file.
3755 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3757 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3758 not the HashEntry. Reported by Jean-Marie White.
3760 2005-02-18 Tom Tromey <tromey@redhat.com>
3763 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3764 * link.cc (has_field_p): New function.
3765 * verify.cc (check_field_constant): Added 'putfield' argument.
3766 (verify_instructions_0): Updated.
3767 (type::equals): New method.
3769 2005-02-18 Anthony Green <green@redhat.com>
3771 * NEWS: Draft of libgcj NEWS for 4.0.
3773 2005-02-18 Anthony Green <green@redhat.com>
3775 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3776 architecture names to "i386" for compatibility reasons. Win32
3779 2005-02-18 Anthony Green <green@redhat.com>
3781 * gij.cc (version): Change year for '--version' to 2005.
3782 * gnu/gcj/convert/Convert.java: Ditto.
3783 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3784 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3786 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3787 recent copyright year in `--version' output.
3789 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3791 * java/nio/charset/Charset.java (forName): Throws
3792 IllegalArgumentException when argument is null
3793 and added documentation.
3795 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3797 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3798 Move the position of the source buffer forward.
3800 2005-02-17 Tom Tromey <tromey@redhat.com>
3802 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3803 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3804 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3805 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3806 Changed type of second argument. Rewrote.
3807 (make_vtable): Use it.
3808 (append_partial_itable): Updated.
3809 (layout_vtable_methods): Updated.
3811 2005-02-17 Michael Koch <konqueror@gmx.de>
3813 * gnu/java/net/PlainSocketImpl.java
3814 (shutdownInput): Added javadoc.
3815 (shutdownOutput): Likewise.
3817 2005-02-17 Michael Koch <konqueror@gmx.de>
3819 * javax/print/attribute/standard/Chromaticity.java,
3820 javax/print/attribute/standard/Destination.java,
3821 javax/print/attribute/standard/MediaPrintableArea.java,
3822 javax/print/attribute/standard/MediaSize.java: New files.
3823 * Makefile.am: Added new files.
3824 * Makefile.in: Regenerated.
3826 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3827 Michael Koch <konqueror@gmx.de>
3829 * gnu/java/net/protocol/http/Cookie.java,
3830 gnu/java/net/protocol/http/HTTPConnection.java,
3831 gnu/java/net/protocol/http/HTTPDateFormat.java,
3832 gnu/java/net/protocol/http/Request.java,
3833 gnu/java/nio/PipeImpl.java,
3834 gnu/java/rmi/dgc/DGCImpl.java,
3835 gnu/java/rmi/server/ConnectionRunnerPool.java,
3836 gnu/java/rmi/server/UnicastConnectionManager.java,
3837 gnu/java/security/der/DERWriter.java,
3838 gnu/java/security/pkcs/SignerInfo.java,
3839 gnu/java/security/provider/EncodedKeyFactory.java,
3840 gnu/java/security/provider/GnuDHPublicKey.java,
3841 gnu/java/security/provider/GnuDSAPrivateKey.java,
3842 gnu/java/security/provider/GnuDSAPublicKey.java,
3843 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3844 gnu/java/security/x509/X500DistinguishedName.java,
3845 gnu/java/security/x509/X509CRL.java,
3846 gnu/java/security/x509/X509CRLEntry.java,
3847 gnu/java/security/x509/X509Certificate.java,
3848 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3849 gnu/java/security/x509/ext/CertificatePolicies.java,
3850 gnu/java/security/x509/ext/PolicyConstraint.java,
3851 gnu/xml/dom/Consumer.java,
3852 gnu/xml/dom/DomCharacterData.java,
3853 gnu/xml/dom/DomDocument.java,
3854 gnu/xml/dom/DomDocumentBuilder.java,
3855 gnu/xml/dom/DomIterator.java,
3856 gnu/xml/dom/DomNode.java,
3857 gnu/xml/dom/DomXPathExpression.java,
3858 gnu/xml/dom/DomXPathResult.java,
3859 gnu/xml/dom/JAXPFactory.java,
3860 gnu/xml/pipeline/CallFilter.java,
3861 gnu/xml/pipeline/DomConsumer.java,
3862 gnu/xml/pipeline/LinkFilter.java,
3863 gnu/xml/pipeline/NSFilter.java,
3864 gnu/xml/pipeline/TeeConsumer.java,
3865 gnu/xml/pipeline/ValidationConsumer.java,
3866 gnu/xml/pipeline/WellFormednessFilter.java,
3867 gnu/xml/pipeline/XIncludeFilter.java,
3868 gnu/xml/pipeline/XsltFilter.java,
3869 gnu/xml/transform/ApplyImportsNode.java,
3870 gnu/xml/transform/Bindings.java,
3871 gnu/xml/transform/DocumentFunction.java,
3872 gnu/xml/transform/FormatNumberFunction.java,
3873 gnu/xml/transform/NodeNumberNode.java,
3874 gnu/xml/transform/NumberNode.java,
3875 gnu/xml/transform/Stylesheet.java,
3876 gnu/xml/transform/SystemPropertyFunction.java,
3877 gnu/xml/transform/Template.java,
3878 gnu/xml/transform/TemplatesImpl.java,
3879 gnu/xml/transform/TransformerImpl.java,
3880 gnu/xml/transform/ValueOfNode.java,
3881 gnu/xml/transform/XSLURIResolver.java,
3882 gnu/xml/util/DoParse.java,
3883 gnu/xml/util/Resolver.java,
3884 gnu/xml/xpath/Expr.java,
3885 gnu/xml/xpath/FunctionCall.java,
3886 gnu/xml/xpath/RelationalExpr.java,
3887 gnu/xml/xpath/Selector.java,
3888 gnu/xml/xpath/XPathParser.java:
3889 Reworked import statements, fixed modifier order and some little
3892 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3894 * java/nio/ByteBufferImpl.java (compact):
3895 Set position and limit even if no bytes were moved.
3897 2005-02-17 Michael Koch <konqueror@gmx.de>
3899 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3900 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3901 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3902 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3903 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3904 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3905 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3906 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3907 * java/nio/FloatBufferImpl.java (compact): Set position.
3908 * java/nio/CharBufferImpl.java (compact): Likewise.
3909 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3910 * java/nio/IntBufferImpl.java (compact): Likewise.
3911 * java/nio/LongBufferImpl.java (compact): Likewise.
3912 * java/nio/ShortBufferImpl.java (compact): Likewise.
3914 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3916 * java/nio/ByteBufferImpl.java,
3917 java/nio/CharBufferImpl.java,
3918 java/nio/DirectByteBufferImpl.java,
3919 java/nio/DoubleBufferImpl.java,
3920 java/nio/FloatBufferImpl.java,
3921 java/nio/IntBufferImpl.java,
3922 java/nio/LongBufferImpl.java,
3923 java/nio/MappedByteBufferImpl.java,
3924 java/nio/ShortBufferImpl.java
3925 (compact): Added explicit read-only check and invalidate mark.
3927 2005-02-17 Michael Koch <konqueror@gmx.de>
3929 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3930 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3931 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3932 gnu/java/awt/peer/gtk/GdkGraphics.java,
3933 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3934 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3935 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3936 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3937 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3938 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3939 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3940 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3941 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3942 gnu/java/awt/peer/gtk/GtkClipboard.java,
3943 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3944 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3945 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3946 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3947 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3948 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3949 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3950 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3951 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3952 gnu/java/awt/peer/gtk/GtkToolkit.java,
3953 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3954 java/applet/Applet.java,
3955 java/awt/AWTError.java,
3956 java/awt/AWTEvent.java,
3957 java/awt/AWTEventMulticaster.java,
3958 java/awt/AWTException.java,
3959 java/awt/AWTKeyStroke.java,
3960 java/awt/AWTPermission.java,
3961 java/awt/ActiveEvent.java,
3962 java/awt/Adjustable.java,
3963 java/awt/AlphaComposite.java,
3964 java/awt/AttributeValue.java,
3965 java/awt/BorderLayout.java,
3966 java/awt/BufferCapabilities.java,
3967 java/awt/Button.java,
3968 java/awt/Canvas.java,
3969 java/awt/CheckboxGroup.java,
3970 java/awt/CheckboxMenuItem.java,
3971 java/awt/Color.java,
3972 java/awt/ColorPaintContext.java,
3973 java/awt/Component.java,
3974 java/awt/ComponentOrientation.java,
3975 java/awt/Composite.java,
3976 java/awt/CompositeContext.java,
3977 java/awt/Container.java,
3978 java/awt/ContainerOrderFocusTraversalPolicy.java,
3979 java/awt/DefaultFocusTraversalPolicy.java,
3980 java/awt/Dialog.java,
3981 java/awt/Dimension.java,
3982 java/awt/DisplayMode.java,
3983 java/awt/EventQueue.java,
3984 java/awt/FileDialog.java,
3985 java/awt/FontFormatException.java,
3986 java/awt/Graphics.java,
3987 java/awt/Graphics2D.java,
3988 java/awt/GraphicsConfigTemplate.java,
3989 java/awt/GraphicsConfiguration.java,
3990 java/awt/GraphicsDevice.java,
3991 java/awt/GridBagLayout.java,
3992 java/awt/GridBagLayoutInfo.java,
3993 java/awt/GridLayout.java,
3994 java/awt/HeadlessException.java,
3995 java/awt/IllegalComponentStateException.java,
3996 java/awt/Image.java,
3997 java/awt/Insets.java,
3998 java/awt/ItemSelectable.java,
3999 java/awt/JobAttributes.java,
4000 java/awt/KeyEventDispatcher.java,
4001 java/awt/KeyEventPostProcessor.java,
4002 java/awt/KeyboardFocusManager.java,
4003 java/awt/Label.java,
4004 java/awt/LayoutManager.java,
4005 java/awt/MenuBar.java,
4006 java/awt/MenuComponent.java,
4007 java/awt/MenuContainer.java,
4008 java/awt/PageAttributes.java,
4009 java/awt/Paint.java,
4010 java/awt/PaintContext.java,
4011 java/awt/Panel.java,
4012 java/awt/Point.java,
4013 java/awt/Polygon.java,
4014 java/awt/PrintGraphics.java,
4015 java/awt/PrintJob.java,
4016 java/awt/Rectangle.java,
4017 java/awt/RenderingHints.java,
4018 java/awt/Shape.java,
4019 java/awt/Stroke.java,
4020 java/awt/SystemColor.java,
4021 java/awt/Toolkit.java,
4022 java/awt/Transparency.java,
4023 java/awt/Window.java,
4024 java/awt/color/CMMException.java,
4025 java/awt/color/ColorSpace.java,
4026 java/awt/color/ICC_ColorSpace.java,
4027 java/awt/color/ICC_Profile.java,
4028 java/awt/color/ProfileDataException.java,
4029 java/awt/datatransfer/FlavorTable.java,
4030 java/awt/datatransfer/MimeTypeParseException.java,
4031 java/awt/datatransfer/Transferable.java,
4032 java/awt/datatransfer/UnsupportedFlavorException.java,
4033 java/awt/dnd/Autoscroll.java,
4034 java/awt/dnd/DnDConstants.java,
4035 java/awt/dnd/DragGestureListener.java,
4036 java/awt/dnd/DragSourceAdapter.java,
4037 java/awt/dnd/DragSourceDropEvent.java,
4038 java/awt/dnd/DragSourceListener.java,
4039 java/awt/dnd/DragSourceMotionListener.java,
4040 java/awt/dnd/DropTargetAdapter.java,
4041 java/awt/dnd/DropTargetContext.java,
4042 java/awt/dnd/DropTargetListener.java,
4043 java/awt/dnd/InvalidDnDOperationException.java,
4044 java/awt/dnd/MouseDragGestureRecognizer.java,
4045 java/awt/dnd/peer/DropTargetContextPeer.java,
4046 java/awt/event/AWTEventListener.java,
4047 java/awt/event/AWTEventListenerProxy.java,
4048 java/awt/event/ActionEvent.java,
4049 java/awt/event/AdjustmentEvent.java,
4050 java/awt/event/AdjustmentListener.java,
4051 java/awt/event/ComponentAdapter.java,
4052 java/awt/event/ComponentEvent.java,
4053 java/awt/event/ComponentListener.java,
4054 java/awt/event/ContainerAdapter.java,
4055 java/awt/event/ContainerEvent.java,
4056 java/awt/event/ContainerListener.java,
4057 java/awt/event/FocusAdapter.java,
4058 java/awt/event/FocusEvent.java,
4059 java/awt/event/FocusListener.java,
4060 java/awt/event/InputEvent.java,
4061 java/awt/event/InputMethodEvent.java,
4062 java/awt/event/InputMethodListener.java,
4063 java/awt/event/InvocationEvent.java,
4064 java/awt/event/ItemEvent.java,
4065 java/awt/event/ItemListener.java,
4066 java/awt/event/KeyAdapter.java,
4067 java/awt/event/KeyEvent.java,
4068 java/awt/event/KeyListener.java,
4069 java/awt/event/MouseAdapter.java,
4070 java/awt/event/MouseEvent.java,
4071 java/awt/event/MouseListener.java,
4072 java/awt/event/MouseMotionAdapter.java,
4073 java/awt/event/MouseMotionListener.java,
4074 java/awt/event/MouseWheelEvent.java,
4075 java/awt/event/MouseWheelListener.java,
4076 java/awt/event/PaintEvent.java,
4077 java/awt/event/TextEvent.java,
4078 java/awt/event/TextListener.java,
4079 java/awt/event/WindowAdapter.java,
4080 java/awt/event/WindowEvent.java,
4081 java/awt/event/WindowFocusListener.java,
4082 java/awt/event/WindowListener.java,
4083 java/awt/event/WindowStateListener.java,
4084 java/awt/font/TextHitInfo.java,
4085 java/awt/geom/CubicCurve2D.java,
4086 java/awt/geom/Dimension2D.java,
4087 java/awt/geom/Ellipse2D.java,
4088 java/awt/geom/IllegalPathStateException.java,
4089 java/awt/geom/Line2D.java,
4090 java/awt/geom/NoninvertibleTransformException.java,
4091 java/awt/geom/PathIterator.java,
4092 java/awt/geom/Point2D.java,
4093 java/awt/geom/QuadCurve2D.java,
4094 java/awt/geom/RectangularShape.java,
4095 java/awt/geom/RoundRectangle2D.java,
4096 java/awt/im/InputContext.java,
4097 java/awt/im/InputMethodHighlight.java,
4098 java/awt/im/InputMethodRequests.java,
4099 java/awt/im/InputSubset.java,
4100 java/awt/im/spi/InputMethod.java,
4101 java/awt/im/spi/InputMethodDescriptor.java,
4102 java/awt/image/BandCombineOp.java,
4103 java/awt/image/BandedSampleModel.java,
4104 java/awt/image/ByteLookupTable.java,
4105 java/awt/image/ComponentSampleModel.java,
4106 java/awt/image/DataBuffer.java,
4107 java/awt/image/DataBufferByte.java,
4108 java/awt/image/DataBufferDouble.java,
4109 java/awt/image/DataBufferFloat.java,
4110 java/awt/image/DataBufferInt.java,
4111 java/awt/image/DataBufferShort.java,
4112 java/awt/image/DataBufferUShort.java,
4113 java/awt/image/ImagingOpException.java,
4114 java/awt/image/Kernel.java,
4115 java/awt/image/LookupTable.java,
4116 java/awt/image/MultiPixelPackedSampleModel.java,
4117 java/awt/image/PackedColorModel.java,
4118 java/awt/image/PixelInterleavedSampleModel.java,
4119 java/awt/image/RGBImageFilter.java,
4120 java/awt/image/Raster.java,
4121 java/awt/image/RasterFormatException.java,
4122 java/awt/image/SampleModel.java,
4123 java/awt/image/ShortLookupTable.java,
4124 java/awt/image/SinglePixelPackedSampleModel.java,
4125 java/awt/image/WritableRaster.java,
4126 java/awt/print/PrinterAbortException.java,
4127 java/awt/print/PrinterException.java,
4128 java/awt/print/PrinterIOException.java,
4129 java/beans/AppletInitializer.java,
4130 java/beans/ExceptionListener.java,
4131 java/beans/PropertyChangeEvent.java,
4132 java/beans/PropertyChangeListenerProxy.java,
4133 java/beans/PropertyChangeSupport.java,
4134 java/beans/PropertyDescriptor.java,
4135 java/beans/VetoableChangeListenerProxy.java,
4136 java/beans/VetoableChangeSupport.java,
4137 java/io/BufferedReader.java,
4138 java/io/ByteArrayInputStream.java,
4139 java/io/ByteArrayOutputStream.java,
4140 java/io/CharArrayReader.java,
4141 java/io/CharArrayWriter.java,
4142 java/io/CharConversionException.java,
4143 java/io/DataInput.java,
4144 java/io/DataInputStream.java,
4145 java/io/DataOutput.java,
4146 java/io/DataOutputStream.java,
4147 java/io/EOFException.java,
4148 java/io/FileInputStream.java,
4149 java/io/FileNotFoundException.java,
4150 java/io/FileOutputStream.java,
4151 java/io/FilenameFilter.java,
4152 java/io/FilterInputStream.java,
4153 java/io/FilterOutputStream.java,
4154 java/io/FilterReader.java,
4155 java/io/FilterWriter.java,
4156 java/io/IOException.java,
4157 java/io/InputStream.java,
4158 java/io/InterruptedIOException.java,
4159 java/io/LineNumberInputStream.java,
4160 java/io/LineNumberReader.java,
4161 java/io/ObjectInputStream.java,
4162 java/io/ObjectStreamException.java,
4163 java/io/OptionalDataException.java,
4164 java/io/OutputStream.java,
4165 java/io/OutputStreamWriter.java,
4166 java/io/PrintStream.java,
4167 java/io/PrintWriter.java,
4168 java/io/PushbackInputStream.java,
4169 java/io/PushbackReader.java,
4170 java/io/RandomAccessFile.java,
4171 java/io/Reader.java,
4172 java/io/SequenceInputStream.java,
4173 java/io/Serializable.java,
4174 java/io/StreamCorruptedException.java,
4175 java/io/StreamTokenizer.java,
4176 java/io/StringBufferInputStream.java,
4177 java/io/StringWriter.java,
4178 java/io/SyncFailedException.java,
4179 java/io/UTFDataFormatException.java,
4180 java/io/UnsupportedEncodingException.java,
4181 java/io/WriteAbortedException.java,
4182 java/io/Writer.java,
4183 java/lang/AbstractMethodError.java,
4184 java/lang/ArithmeticException.java,
4185 java/lang/ArrayIndexOutOfBoundsException.java,
4186 java/lang/ArrayStoreException.java,
4187 java/lang/AssertionError.java,
4188 java/lang/Boolean.java,
4189 java/lang/Byte.java,
4190 java/lang/Class.java,
4191 java/lang/ClassCastException.java,
4192 java/lang/ClassCircularityError.java,
4193 java/lang/ClassLoader.java,
4194 java/lang/ClassNotFoundException.java,
4195 java/lang/CloneNotSupportedException.java,
4196 java/lang/Cloneable.java,
4197 java/lang/Comparable.java,
4198 java/lang/Compiler.java,
4199 java/lang/Double.java,
4200 java/lang/Error.java,
4201 java/lang/Exception.java,
4202 java/lang/ExceptionInInitializerError.java,
4203 java/lang/Float.java,
4204 java/lang/IllegalAccessError.java,
4205 java/lang/IllegalAccessException.java,
4206 java/lang/IllegalArgumentException.java,
4207 java/lang/IllegalMonitorStateException.java,
4208 java/lang/IllegalStateException.java,
4209 java/lang/IllegalThreadStateException.java,
4210 java/lang/IncompatibleClassChangeError.java,
4211 java/lang/IndexOutOfBoundsException.java,
4212 java/lang/InheritableThreadLocal.java,
4213 java/lang/InstantiationError.java,
4214 java/lang/InstantiationException.java,
4215 java/lang/Integer.java,
4216 java/lang/InternalError.java,
4217 java/lang/InterruptedException.java,
4218 java/lang/LinkageError.java,
4219 java/lang/Long.java,
4220 java/lang/NegativeArraySizeException.java,
4221 java/lang/NoClassDefFoundError.java,
4222 java/lang/NoSuchFieldError.java,
4223 java/lang/NoSuchFieldException.java,
4224 java/lang/NoSuchMethodError.java,
4225 java/lang/NoSuchMethodException.java,
4226 java/lang/NullPointerException.java,
4227 java/lang/Number.java,
4228 java/lang/NumberFormatException.java,
4229 java/lang/OutOfMemoryError.java,
4230 java/lang/Process.java,
4231 java/lang/Runnable.java,
4232 java/lang/Runtime.java,
4233 java/lang/RuntimeException.java,
4234 java/lang/RuntimePermission.java,
4235 java/lang/SecurityException.java,
4236 java/lang/SecurityManager.java,
4237 java/lang/Short.java,
4238 java/lang/StackOverflowError.java,
4239 java/lang/StackTraceElement.java,
4240 java/lang/StringBuffer.java,
4241 java/lang/StringIndexOutOfBoundsException.java,
4242 java/lang/ThreadDeath.java,
4243 java/lang/ThreadGroup.java,
4244 java/lang/Throwable.java,
4245 java/lang/UnsatisfiedLinkError.java,
4246 java/lang/UnsupportedOperationException.java,
4247 java/lang/VerifyError.java,
4248 java/lang/VirtualMachineError.java,
4249 java/lang/reflect/AccessibleObject.java,
4250 java/lang/reflect/Array.java,
4251 java/lang/reflect/InvocationTargetException.java,
4252 java/lang/reflect/Member.java,
4253 java/lang/reflect/Modifier.java,
4254 java/lang/reflect/Proxy.java,
4255 java/lang/reflect/ReflectPermission.java,
4256 java/lang/reflect/UndeclaredThrowableException.java,
4257 java/math/BigInteger.java,
4258 java/net/NetworkInterface.java,
4259 java/nio/ByteBufferHelper.java,
4260 java/nio/ByteBufferImpl.java,
4261 java/nio/DirectByteBufferImpl.java,
4262 java/nio/DoubleBufferImpl.java,
4263 java/nio/FloatBufferImpl.java,
4264 java/nio/IntBufferImpl.java,
4265 java/nio/LongBufferImpl.java,
4266 java/nio/ShortBufferImpl.java,
4267 java/nio/channels/Channel.java,
4268 java/nio/channels/IllegalBlockingModeException.java,
4269 java/nio/charset/spi/CharsetProvider.java,
4270 java/security/AccessControlException.java,
4271 java/security/BasicPermission.java,
4272 java/security/DigestException.java,
4273 java/security/DigestInputStream.java,
4274 java/security/DigestOutputStream.java,
4275 java/security/GeneralSecurityException.java,
4276 java/security/Guard.java,
4277 java/security/GuardedObject.java,
4278 java/security/InvalidAlgorithmParameterException.java,
4279 java/security/InvalidKeyException.java,
4280 java/security/InvalidParameterException.java,
4281 java/security/Key.java,
4282 java/security/KeyException.java,
4283 java/security/KeyManagementException.java,
4284 java/security/KeyStoreException.java,
4285 java/security/MessageDigestSpi.java,
4286 java/security/NoSuchAlgorithmException.java,
4287 java/security/NoSuchProviderException.java,
4288 java/security/Permission.java,
4289 java/security/PermissionCollection.java,
4290 java/security/Permissions.java,
4291 java/security/Principal.java,
4292 java/security/PrivateKey.java,
4293 java/security/PrivilegedActionException.java,
4294 java/security/ProviderException.java,
4295 java/security/PublicKey.java,
4296 java/security/SecureRandom.java,
4297 java/security/SecureRandomSpi.java,
4298 java/security/SignatureException.java,
4299 java/security/SignatureSpi.java,
4300 java/security/SignedObject.java,
4301 java/security/Signer.java,
4302 java/security/UnrecoverableKeyException.java,
4303 java/security/UnresolvedPermission.java,
4304 java/security/acl/AclNotFoundException.java,
4305 java/security/acl/LastOwnerException.java,
4306 java/security/acl/NotOwnerException.java,
4307 java/security/cert/CertPath.java,
4308 java/security/cert/CertPathBuilderException.java,
4309 java/security/cert/CertPathValidatorException.java,
4310 java/security/cert/CertStoreException.java,
4311 java/text/BreakIterator.java,
4312 java/text/ChoiceFormat.java,
4313 java/text/CollationElementIterator.java,
4314 java/text/CollationKey.java,
4315 java/text/Collator.java,
4316 java/text/DateFormat.java,
4317 java/text/DateFormatSymbols.java,
4318 java/text/DecimalFormat.java,
4319 java/text/DecimalFormatSymbols.java,
4320 java/text/FieldPosition.java,
4321 java/text/Format.java,
4322 java/text/NumberFormat.java,
4323 java/text/ParseException.java,
4324 java/text/ParsePosition.java,
4325 java/text/StringCharacterIterator.java,
4326 java/util/AbstractCollection.java,
4327 java/util/AbstractList.java,
4328 java/util/AbstractMap.java,
4329 java/util/AbstractSequentialList.java,
4330 java/util/AbstractSet.java,
4331 java/util/ArrayList.java,
4332 java/util/Arrays.java,
4333 java/util/BitSet.java,
4334 java/util/Collection.java,
4335 java/util/Collections.java,
4336 java/util/Comparator.java,
4337 java/util/ConcurrentModificationException.java,
4338 java/util/Currency.java,
4339 java/util/Date.java,
4340 java/util/EmptyStackException.java,
4341 java/util/Enumeration.java,
4342 java/util/EventListener.java,
4343 java/util/EventListenerProxy.java,
4344 java/util/EventObject.java,
4345 java/util/HashMap.java,
4346 java/util/HashSet.java,
4347 java/util/Hashtable.java,
4348 java/util/IdentityHashMap.java,
4349 java/util/Iterator.java,
4350 java/util/LinkedHashSet.java,
4351 java/util/LinkedList.java,
4352 java/util/List.java,
4353 java/util/ListIterator.java,
4354 java/util/ListResourceBundle.java,
4356 java/util/MissingResourceException.java,
4357 java/util/NoSuchElementException.java,
4358 java/util/Observable.java,
4359 java/util/Observer.java,
4360 java/util/Properties.java,
4361 java/util/PropertyPermissionCollection.java,
4362 java/util/RandomAccess.java,
4364 java/util/SortedMap.java,
4365 java/util/SortedSet.java,
4366 java/util/Stack.java,
4367 java/util/StringTokenizer.java,
4368 java/util/TooManyListenersException.java,
4369 java/util/TreeMap.java,
4370 java/util/TreeSet.java,
4371 java/util/Vector.java,
4372 java/util/logging/FileHandler.java,
4373 java/util/logging/Level.java,
4374 java/util/prefs/BackingStoreException.java,
4375 java/util/prefs/InvalidPreferencesFormatException.java,
4376 java/util/prefs/Preferences.java,
4377 javax/accessibility/Accessible.java,
4378 javax/accessibility/AccessibleAction.java,
4379 javax/accessibility/AccessibleBundle.java,
4380 javax/accessibility/AccessibleComponent.java,
4381 javax/accessibility/AccessibleContext.java,
4382 javax/accessibility/AccessibleEditableText.java,
4383 javax/accessibility/AccessibleExtendedComponent.java,
4384 javax/accessibility/AccessibleExtendedTable.java,
4385 javax/accessibility/AccessibleHyperlink.java,
4386 javax/accessibility/AccessibleHypertext.java,
4387 javax/accessibility/AccessibleIcon.java,
4388 javax/accessibility/AccessibleKeyBinding.java,
4389 javax/accessibility/AccessibleRelation.java,
4390 javax/accessibility/AccessibleRelationSet.java,
4391 javax/accessibility/AccessibleResourceBundle.java,
4392 javax/accessibility/AccessibleRole.java,
4393 javax/accessibility/AccessibleSelection.java,
4394 javax/accessibility/AccessibleState.java,
4395 javax/accessibility/AccessibleStateSet.java,
4396 javax/accessibility/AccessibleTable.java,
4397 javax/accessibility/AccessibleTableModelChange.java,
4398 javax/accessibility/AccessibleText.java,
4399 javax/accessibility/AccessibleValue.java,
4400 javax/imageio/IIOException.java,
4401 javax/imageio/ImageIO.java,
4402 javax/imageio/spi/IIOServiceProvider.java,
4403 javax/imageio/spi/ImageInputStreamSpi.java,
4404 javax/imageio/spi/ImageOutputStreamSpi.java,
4405 javax/imageio/spi/ImageReaderWriterSpi.java,
4406 javax/imageio/spi/ImageTranscoderSpi.java,
4407 javax/imageio/spi/RegisterableService.java,
4408 javax/imageio/spi/ServiceRegistry.java,
4409 javax/imageio/stream/IIOByteBuffer.java,
4410 javax/imageio/stream/ImageInputStream.java,
4411 javax/imageio/stream/ImageOutputStream.java,
4412 javax/naming/Binding.java,
4413 javax/naming/CannotProceedException.java,
4414 javax/naming/CompositeName.java,
4415 javax/naming/CompoundName.java,
4416 javax/naming/LinkException.java,
4417 javax/naming/LinkRef.java,
4418 javax/naming/NameClassPair.java,
4419 javax/naming/Reference.java,
4420 javax/naming/ReferralException.java,
4421 javax/naming/directory/Attribute.java,
4422 javax/naming/directory/AttributeModificationException.java,
4423 javax/naming/directory/Attributes.java,
4424 javax/naming/directory/DirContext.java,
4425 javax/naming/directory/ModificationItem.java,
4426 javax/naming/directory/SearchControls.java,
4427 javax/naming/directory/SearchResult.java,
4428 javax/naming/event/EventContext.java,
4429 javax/naming/event/EventDirContext.java,
4430 javax/naming/event/NamespaceChangeListener.java,
4431 javax/naming/event/NamingExceptionEvent.java,
4432 javax/naming/event/NamingListener.java,
4433 javax/naming/event/ObjectChangeListener.java,
4434 javax/naming/ldap/Control.java,
4435 javax/naming/ldap/ExtendedResponse.java,
4436 javax/naming/ldap/HasControls.java,
4437 javax/naming/ldap/LdapContext.java,
4438 javax/naming/ldap/UnsolicitedNotification.java,
4439 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4440 javax/naming/ldap/UnsolicitedNotificationListener.java,
4441 javax/naming/spi/DirectoryManager.java,
4442 javax/naming/spi/ResolveResult.java,
4443 javax/naming/spi/Resolver.java,
4444 javax/security/auth/callback/Callback.java,
4445 javax/security/auth/callback/CallbackHandler.java,
4446 javax/security/auth/callback/ChoiceCallback.java,
4447 javax/security/auth/callback/ConfirmationCallback.java,
4448 javax/security/auth/callback/LanguageCallback.java,
4449 javax/security/auth/callback/NameCallback.java,
4450 javax/security/auth/callback/PasswordCallback.java,
4451 javax/security/auth/callback/TextInputCallback.java,
4452 javax/security/auth/callback/TextOutputCallback.java,
4453 javax/security/auth/callback/UnsupportedCallbackException.java,
4454 javax/security/sasl/Sasl.java,
4455 javax/security/sasl/SaslServerFactory.java,
4456 javax/swing/DefaultBoundedRangeModel.java,
4457 javax/swing/JComponent.java,
4458 javax/swing/JList.java,
4459 javax/swing/JProgressBar.java,
4460 javax/swing/JRadioButton.java,
4461 javax/swing/JTextArea.java,
4462 javax/swing/JTextField.java,
4463 javax/swing/JToggleButton.java,
4464 javax/swing/JTree.java,
4465 javax/swing/SpinnerListModel.java,
4466 javax/swing/event/EventListenerList.java,
4467 javax/swing/text/JTextComponent.java,
4468 javax/swing/text/StringContent.java,
4469 javax/swing/text/Utilities.java,
4470 javax/swing/undo/UndoManager.java,
4471 javax/swing/undo/UndoableEditSupport.java,
4472 javax/transaction/HeuristicCommitException.java,
4473 javax/transaction/HeuristicMixedException.java,
4474 javax/transaction/HeuristicRollbackException.java,
4475 javax/transaction/InvalidTransactionException.java,
4476 javax/transaction/NotSupportedException.java,
4477 javax/transaction/RollbackException.java,
4478 javax/transaction/Status.java,
4479 javax/transaction/Synchronization.java,
4480 javax/transaction/SystemException.java,
4481 javax/transaction/Transaction.java,
4482 javax/transaction/TransactionManager.java,
4483 javax/transaction/TransactionRequiredException.java,
4484 javax/transaction/TransactionRolledbackException.java,
4485 javax/transaction/UserTransaction.java,
4486 javax/transaction/xa/XAException.java,
4487 javax/transaction/xa/XAResource.java,
4488 javax/transaction/xa/Xid.java,
4489 javax/xml/XMLConstants.java,
4490 javax/xml/datatype/DatatypeConfigurationException.java,
4491 javax/xml/datatype/DatatypeConstants.java,
4492 javax/xml/datatype/DatatypeFactory.java,
4493 javax/xml/datatype/Duration.java,
4494 javax/xml/datatype/XMLGregorianCalendar.java,
4495 javax/xml/namespace/NamespaceContext.java,
4496 javax/xml/namespace/QName.java,
4497 javax/xml/parsers/DocumentBuilder.java,
4498 javax/xml/parsers/DocumentBuilderFactory.java,
4499 javax/xml/parsers/FactoryConfigurationError.java,
4500 javax/xml/parsers/ParserConfigurationException.java,
4501 javax/xml/parsers/SAXParser.java,
4502 javax/xml/parsers/SAXParserFactory.java,
4503 javax/xml/transform/ErrorListener.java,
4504 javax/xml/transform/OutputKeys.java,
4505 javax/xml/transform/Result.java,
4506 javax/xml/transform/Source.java,
4507 javax/xml/transform/SourceLocator.java,
4508 javax/xml/transform/Templates.java,
4509 javax/xml/transform/Transformer.java,
4510 javax/xml/transform/TransformerConfigurationException.java,
4511 javax/xml/transform/TransformerException.java,
4512 javax/xml/transform/TransformerFactory.java,
4513 javax/xml/transform/TransformerFactoryConfigurationError.java,
4514 javax/xml/transform/URIResolver.java,
4515 javax/xml/transform/dom/DOMLocator.java,
4516 javax/xml/transform/dom/DOMResult.java,
4517 javax/xml/transform/dom/DOMSource.java,
4518 javax/xml/transform/sax/SAXResult.java,
4519 javax/xml/transform/sax/SAXSource.java,
4520 javax/xml/transform/sax/SAXTransformerFactory.java,
4521 javax/xml/transform/sax/TemplatesHandler.java,
4522 javax/xml/transform/sax/TransformerHandler.java,
4523 javax/xml/transform/stream/StreamResult.java,
4524 javax/xml/transform/stream/StreamSource.java,
4525 javax/xml/validation/Schema.java,
4526 javax/xml/validation/SchemaFactory.java,
4527 javax/xml/validation/TypeInfoProvider.java,
4528 javax/xml/validation/Validator.java,
4529 javax/xml/validation/ValidatorHandler.java,
4530 javax/xml/xpath/XPathConstants.java,
4531 javax/xml/xpath/XPathException.java,
4532 javax/xml/xpath/XPathExpression.java,
4533 javax/xml/xpath/XPathExpressionException.java,
4534 javax/xml/xpath/XPathFactory.java,
4535 javax/xml/xpath/XPathFactoryConfigurationException.java,
4536 javax/xml/xpath/XPathFunction.java,
4537 javax/xml/xpath/XPathFunctionException.java,
4538 javax/xml/xpath/XPathFunctionResolver.java:
4539 Fixed usage of @author tag, reworked import statements,
4540 removed CVS tags, changed the modifier order and fixed
4541 HTML usage in javadocs.
4543 2005-02-16 Julian Scheid <julian@sektor37.de>
4545 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4547 (encodeLoop): Likewise.
4549 2005-02-16 Mark Wielaard <mark@klomp.org>
4551 * Makefile.am (ordinary_java_source_files): Add new files
4552 gnu/java/security/ber/BER.java,
4553 gnu/java/security/ber/BEREncodingException.java,
4554 gnu/java/security/ber/BERReader.java,
4555 gnu/java/security/ber/BERValue.java,
4556 gnu/java/security/pkcs/PKCS7SignedData.java and
4557 gnu/java/security/pkcs/SignerInfo.java.
4558 * Makefile.in: Regenerated.
4560 2005-02-16 Casey Marshall <csm@gnu.org>
4562 * gnu/java/security/provider/GnuDSAPrivateKey.java
4563 (encodedKey): new field.
4564 (getFormat): return "PKCS#8".
4565 (getEncoded): implemented.
4566 (toString): check for 'null' values.
4567 * gnu/java/security/provider/GnuDSAPublicKey.java
4568 (encodedKey): new field.
4569 (getFormat): return "X.509".
4570 (getEncoded): implemented.
4571 (toString): check for 'null' values.
4573 2005-02-16 Michael Koch <konqueror@gmx.de>
4575 * java/util/jar/JarFile.java: Imports reworked.
4577 2005-02-16 Mark Wielaard <mark@klomp.org>
4579 * java/util/jar/JarFile.java (verify): Make package private.
4580 (signaturesRead): Likewise.
4581 (verified): Likewise.
4582 (entryCerts): Likewise.
4585 (entries): Construct new JarEnumeration with reference to this.
4586 (JarEnumeration): Make static.
4587 (JarEnumeration.jarfile): New field.
4588 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4589 Compare verified value to Boolean.TRUE or Boolean.False only
4590 when verify is true.
4591 (getEntry): Make synchronized. Compare value of verified to
4593 (getInputStream): Construct EntryInputStream with reference to this.
4594 (getManifest): Make synchronized.
4595 (EntryInputStream): Make static.
4596 (EntryInputStream.jarfile): New field.
4597 (EntryInputStream.EntryInputStream): Check if manifest exists,
4598 before getting attributes.
4599 (eof): Synchronize on jarfile.
4601 2005-02-16 Casey Marshall <csm@gnu.org>
4603 * java/util/jar/JarFile.java (verify): return if the jar is signed
4604 with an unsupported algorithm.
4606 2005-02-16 Mark Wielaard <mark@klomp.org>
4608 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4609 InputStream as argument.
4610 (getInputStream): Construct a new EntryInputStream with the result of
4611 super.getInputStream(entry).
4613 2005-02-16 Casey Marshall <csm@gnu.org>
4615 Signed JAR file support.
4616 * java/net/URLClassLoader.java
4617 (JarURLResource.getCertificates): re-read jar entry to ensure
4618 certificates are picked up.
4619 (findClass): fill in class `signers' field, too.
4620 * java/util/jar/JarFile.java (META_INF): new constant.
4621 (PKCS7_DSA_SUFFIX): new constant.
4622 (PKCS7_RSA_SUFFIX): new constant.
4623 (DIGEST_KEY_SUFFIX): new constant.
4624 (SF_SUFFIX): new constant.
4625 (MD2_OID): new constant.
4626 (MD4_OID): new constant.
4627 (MD5_OID): new constant.
4628 (SHA1_OID): new constant.
4629 (DSA_ENCRYPTION_OID): new constant.
4630 (RSA_ENCRYPTION_OID): new constant.
4631 (signaturesRead): new field.
4632 (verified): new field.
4633 (entryCerts): new field.
4634 (DEBUG): new constant.
4635 (debug): new method.
4636 (JarEnumeration.nextElement): fill in entry certificates, read
4637 signatures if they haven't been read.
4638 (getEntry): likewise.
4639 (getInputStream): verify stream if it hasn't been verified yet.
4640 (readSignatures): new method.
4641 (verify): new method.
4642 (verifyHashes): new method.
4643 (readManifestEntry): new method.
4644 (EntryInputStream): new class.
4645 * gnu/java/io/Base64InputStream.java (decode): new class
4647 * gnu/java/security/der/DERReader.java don't make class
4649 (in): made protected.
4651 (readLength): likewise.
4652 * gnu/java/security/ber/BER.java,
4653 * gnu/java/security/ber/BEREncodingException.java,
4654 * gnu/java/security/ber/BERReader.java,
4655 * gnu/java/security/ber/BERValue.java,
4656 * gnu/java/security/pkcs/PKCS7SignedData.java,
4657 * gnu/java/security/pkcs/SignerInfo.java:
4660 2005-02-16 Tom Tromey <tromey@redhat.com>
4662 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4663 copied file on exit.
4665 2005-02-15 Mark Wielaard <mark@klomp.org>
4667 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4669 2005-02-15 Michael Koch <konqueror@gmx.de>
4671 * gnu/java/awt/peer/gtk/GtkArg.java,
4672 gnu/java/awt/peer/gtk/GtkArgList.java:
4675 2005-02-15 Craig Black <craig.black@aonix.com>
4677 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4678 (postMenuActionEvent): Implement to notify ItemListeners.
4679 * java/awt/CheckboxMenuItem.java
4680 (dispatchEventImpl): Update state on ItemEvent.
4681 * java/awt/MenuItem.java
4682 (processActionEvent): Retarget event source.
4684 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4686 * gnu/java/awt/color/ClutProfileConverter.java,
4687 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4688 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4689 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4690 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4691 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4692 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4693 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4694 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4695 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4696 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4697 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4698 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4699 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4700 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4701 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4702 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4703 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4704 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4705 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4706 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4707 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4708 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4709 gnu/java/awt/peer/gtk/GtkToolkit.java,
4710 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4711 javax/swing/JPopupMenu.java,
4712 javax/swing/JSpinner.java,
4713 javax/swing/SortingFocusTraversalPolicy.java,
4714 javax/swing/SwingUtilities.java,
4715 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4716 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4717 javax/swing/tree/DefaultMutableTreeNode.java:
4718 Removed unused imports and expanded starred
4721 2005-02-15 Mark Wielaard <mark@klomp.org>
4723 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4724 IllegalArgumentException when the given String is null.
4726 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4727 when given keystoke sequence cannot be parsed.
4729 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4730 if one is installed. Only install the given menubar is not null.
4732 * javax/swing/JViewport.java (getViewSize): Return an empty
4733 Dimension when the view isn't set or preferred component size when
4736 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4737 empty Dimension when there is no view set.
4738 (minimumLayoutSize): Likewise.
4739 (layoutContainer): Don't try to layout when there is no view.
4741 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4744 * include/jawt.h: Likewise.
4745 * include/jawt_md.h: Likewise.
4746 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4748 * jni/classpath/classpath_jawt.h: Likewise.
4749 * jni/gtk-peer/gtk_jawt.c: Likewise.
4750 * Makefile.am: Build libjawt.so.
4752 2005-02-15 Michael Koch <konqueror@gmx.de>
4754 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4755 Merged file header with classpath CVS head.
4756 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4757 Merged code formatting with classpath CVS head.
4758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4760 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4761 Handle special JNI strings with 2 '\0' at the end.
4762 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4763 Merged file header with classpath CVS head.
4764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4765 Merged code formatting with classpath CVS head.
4767 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4769 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4770 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4771 (handle_response): Use GTK_RESPONSE_ACCEPT.
4773 2005-02-15 Graydon Hoare <graydon@redhat.com>
4775 * Makefile.am: Fix library build breakage.
4776 * Makefile.in: Regenerate.
4778 2005-02-15 Michael Koch <konqueror@gmx.de>
4780 * javax/swing/JTabbedPane.java
4781 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4783 2005-02-15 Michael Koch <konqueror@gmx.de>
4785 * javax/swing/tree/DefaultMutableTreeNode.java:
4786 Reworked Javadocs all over.
4787 (getPathToRoot): Fixed direction of result array initialization.
4789 2005-02-15 Michael Koch <konqueror@gmx.de>
4791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4792 Fix includes for cairo 0.3.0 snappshot.
4793 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4794 Merged file header from classpath CVS HEAD.
4796 2005-02-15 Craig Black <craig.black@aonix.com>
4798 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4799 (copyState): Pass a JNI global reference to signal handler.
4800 (realize_cb): Use and free JNI global reference.
4801 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4802 (create): Pass a JNI global reference to signal handler.
4803 (selection_changed): Match declaration.
4804 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4805 (dispose): Do not remove entries from state tables until after widget is
4808 2005-02-15 Michael Koch <konqueror@gmx.de>
4810 * java/awt/Container.javai (paramString):
4811 If layoutMgr is null just return result of super.paramString().
4812 * java/awt/Scrollbar.java: Reformatted.
4813 * java/awt/im/InputContext.java (static):
4814 Removed redundant initializations.
4816 2005-02-15 Michael Koch <konqueror@gmx.de>
4818 * javax/swing/ImageIcon.java,
4819 javax/swing/UIManager.java,
4820 javax/swing/text/EditorKit.java,
4821 javax/swing/text/Segment.java:
4822 More whitespace cleanups.
4824 2005-02-15 Michael Koch <konqueror@gmx.de>
4826 * gnu/java/awt/EmbeddedWindow.java,
4827 gnu/java/awt/image/ImageDecoder.java,
4828 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4829 java/awt/DefaultKeyboardFocusManager.java,
4830 java/awt/Frame.java,
4831 java/awt/image/RGBImageFilter.java,
4832 javax/swing/AbstractButton.java,
4833 javax/swing/ActionMap.java,
4834 javax/swing/ComponentInputMap.java,
4835 javax/swing/DefaultDesktopManager.java,
4836 javax/swing/ImageIcon.java,
4837 javax/swing/InputMap.java,
4838 javax/swing/JButton.java,
4839 javax/swing/JCheckBox.java,
4840 javax/swing/JCheckBoxMenuItem.java,
4841 javax/swing/JEditorPane.java,
4842 javax/swing/JMenu.java,
4843 javax/swing/JMenuItem.java,
4844 javax/swing/JOptionPane.java,
4845 javax/swing/JRootPane.java,
4846 javax/swing/JTable.java,
4847 javax/swing/MenuSelectionManager.java,
4848 javax/swing/RepaintManager.java,
4849 javax/swing/ScrollPaneLayout.java,
4850 javax/swing/SortingFocusTraversalPolicy.java,
4851 javax/swing/UIManager.java,
4852 javax/swing/ViewportLayout.java,
4853 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4854 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4855 javax/swing/plaf/basic/BasicLabelUI.java,
4856 javax/swing/plaf/basic/BasicListUI.java,
4857 javax/swing/plaf/basic/BasicMenuItemUI.java,
4858 javax/swing/plaf/basic/BasicMenuUI.java,
4859 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4860 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4861 javax/swing/plaf/basic/BasicRootPaneUI.java,
4862 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4863 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4864 javax/swing/plaf/basic/BasicTextUI.java,
4865 javax/swing/table/TableColumnModel.java,
4866 javax/swing/text/AbstractDocument.java,
4867 javax/swing/text/EditorKit.java,
4868 javax/swing/text/Position.java,
4869 javax/swing/text/Segment.java,
4870 javax/swing/text/StyledEditorKit.java,
4871 javax/swing/text/ViewFactory.java:
4872 Cleanup whitespace differences to classpath CVS HEAD.
4874 2005-02-15 Graydon Hoare <graydon@redhat.com>
4876 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4877 (finalize): Call finish from here.
4878 (produce): Not from here.
4879 * Makefile.am (gtk_c_source_files):
4880 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4881 * Makefile.in: Regenerate.
4882 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4884 (cairoDrawGdkTextLayout):
4886 (getPeerTextMetrics):
4887 (getPeerFontMetrics): Remove.
4888 (setFont): Don't call cairoSetFont.
4889 (cairoDrawGlyphVector): Accept font peer argument.
4890 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4891 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4892 (ensure_metrics_cairo):
4893 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4894 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4895 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4896 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4898 (metrics_surface): Remove.
4899 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4900 Pass and install font peer.
4902 2005-02-15 Graydon Hoare <graydon@redhat.com>
4904 * Makefile.am: Create "split library" structure.
4905 * Makefile.in: Regenerate.
4907 2005-02-15 Graydon Hoare <graydon@redhat.com>
4909 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4910 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4911 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4913 Release GDK lock during upcalls.
4915 2005-02-15 Graydon Hoare <graydon@redhat.com>
4917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4919 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4920 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4921 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4922 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4923 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4926 (getTextMetrics): New native methods.
4927 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4928 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4929 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4930 * Makefile.in: Regenerate.
4932 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4934 * javax/swing/SwingUtilities.java:
4935 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4936 Implemented and documented.
4937 (getAccessibleChild(java.awt.Component, int)): Likewise.
4938 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4939 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4940 (getAccessibleStateSet(java.awt.Component)): Likewise.
4942 2005-02-15 Michael Koch <konqueror@gmx.de>
4944 * javax/swing/SwingUtilities.java
4945 (getFontMetrics): Removed.
4947 2005-02-15 Michael Koch <konqueror@gmx.de>
4949 * java/awt/Container.java
4950 (paramString): Implemented.
4951 * javax/swing/AbstractButton.java
4952 (paramString): Implemented.
4953 * javax/swing/JComponent.java
4954 (paramString): Implemented.
4955 * javax/swing/JMenu.java
4956 (paramString): Implemented.
4957 * javax/swing/JMenuBar.java
4958 (paramString): Implemented.
4959 * javax/swing/JMenuItem.java
4960 (paramString): Implemented.
4961 * javax/swing/JPopupMenu.java
4962 (paramString): Implemented.
4964 2005-02-15 Michael Koch <konqueror@gmx.de>
4966 * javax/swing/JMenu.java
4967 (uiClassID): Removed.
4968 (JMenu): Set invoker on popup menu.
4969 (getUIClassID): Return id directly.
4970 (getItemCount): Simply return getMenuComponentCount().
4972 (isTopLevelMenu): Simplified.
4973 * javax/swing/JMenuItem.java
4974 (uiClassID): Removed.
4975 (getUIClassID): Return id directly.
4976 * javax/swing/JPopupMenu.java
4977 (uiClassID): Removed.
4978 (JPopupMenu): Always initialize correctly.
4979 (getSubElements): Only return components implementing MenuElement
4981 (HeavyWeightPopup.hide): Removed.
4983 2005-02-15 Michael Koch <konqueror@gmx.de>
4985 * java/awt/image/ReplicateScaleFilter.java
4986 (replicatePixels): Made private.
4987 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4988 (DefaultRGBChooserPanel): Made package private.
4989 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4990 (RecentSwatchPanel): Likewise.
4991 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4992 (MouseInputAdapter): Made abstract.
4993 * javax/swing/tree/DefaultMutableTreeNode.java
4995 (growTree): Likewise.
4997 2005-02-15 Michael Koch <konqueror@gmx.de>
4999 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5002 2005-02-15 Michael Koch <konqueror@gmx.de>
5004 * javax/swing/JComponent.java (getComponentGraphics):
5005 Removed accidently commited code.
5007 2005-02-15 Graydon Hoare <graydon@redhat.com>
5009 * java/awt/dnd/DropTarget.java
5010 (addDropTargetListener): Despite documentation, do not throw.
5011 * javax/swing/JComponent.java: Set a default DropTarget.
5013 2005-02-15 Michael Koch <konqueror@gmx.de>
5015 * javax/swing/AbstractAction.java
5016 (ENABLED_PROPERTY): Removed.
5017 (setEnabled): Replaced constant with real string.
5018 * javax/swing/AbstractButton.java
5019 (createActionPropertyChangeListener.propertyChange): Likewise.
5020 * javax/swing/JComboBox.java
5021 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5022 (EDITABLE_CHANGED_PROPERTY): Removed.
5023 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5024 (ENABLED_CHANGED_PROPERTY):Likewise.
5025 (RENDERER_CHANGED_PROPERTY):Likewise.
5026 (EDITOR_CHANGED_PROPERTY):Likewise.
5027 (MODEL_CHANGED_PROPERTY):Likewise.
5028 (uiClassID):Likewise.
5029 (getUIClassID): Replaced constant with real string.
5030 (setModel):Likewise.
5031 (setEditable):Likewise.
5032 (setMaximumRowCount):Likewise.
5033 (setRenderer):Likewise.
5034 (setEditor):Likewise.
5035 (setEnabled):Likewise.
5036 * javax/swing/JLabel.java
5037 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5038 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5039 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5040 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5041 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5042 (ICON_CHANGED_PROPERTY): Likewise.
5043 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5044 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5045 (TEXT_CHANGED_PROPERTY): Likewise.
5046 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5047 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5048 (setText): Replaced constant with real string.
5049 (setIcon): Likewise.
5050 (setDisabledIcon): Likewise.
5051 (setDisplayedMnemonic): Likewise.
5052 (setIconTextGap): Likewise.
5053 (setVerticalAlignment): Likewise.
5054 (setHorizontalAlignment): Likewise.
5055 (setVerticalTextPosition): Likewise.
5056 (setHorizontalTextPosition): Likewise.
5057 (setLabelFor): Replaced constant with real string.
5058 Fire property change event after property got changed.
5059 * javax/swing/JList.java
5060 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5061 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5062 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5063 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5064 (MODEL_PROPERTY_CHANGED): Likewise.
5065 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5066 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5067 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5068 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5069 (setFixedCellWidth): Reimplemented.
5070 (setFixedCellHeight): Exit if new value is identical.
5071 Replaced constant with real string.
5072 (setSelectionBackground): Likewise.
5073 (setSelectionForeground): Likewise.
5074 (setPrototypeCellValue): Likewise.
5075 (setCellRenderer): Replaced constant with real string.
5076 (setModel): Likewise.
5077 (setSelectionModel): Likewise.
5078 * javax/swing/JMenuBar.java
5079 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5080 (MODEL_CHANGED_PROPERTY): Likewise.
5081 (MARGIN_CHANGED_PROPERTY): Likewise.
5082 (setBorderPainted): Reimplemented.
5083 (setMargin): Likewise.
5084 (setSelectionModel): Replaced constant with real string.
5085 * javax/swing/JPopupMenu.java
5086 (LABEL_CHANGED_PROPERTY): Removed.
5087 (VISIBLE_CHANGED_PROPERTY): Likewise.
5088 (borderPainted): Likewise.
5089 (setLabel): Replaced constant with real string.
5090 (setVisible): Exit if new value is identical.
5091 Replaced constant with real string.
5092 * javax/swing/JProgressBar.java
5093 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5094 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5095 (STRING_CHANGED_PROPERTY): Likewise.
5096 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5097 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5098 (setOrientation): Replaced constant with real string.
5099 (setStringPainted): Likewise.
5100 (setString): Likewise.
5101 (setBorderPainted): Likewise.
5102 (setIndeterminate): Likewise.
5103 * javax/swing/JScrollBar.java
5104 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5105 (MODEL_CHANGED_PROPERTY): Likewise.
5106 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5107 (setOrientation): Replaced constant with real string.
5108 (setModel): Likewise.
5109 (setUnitIncrement): Likewise.
5110 (setBlockIncrement): Likewise.
5111 * javax/swing/JScrollPane.java
5112 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5113 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5114 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5115 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5116 (LAYOUT_CHANGED_PROPERTY): Likewise.
5117 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5118 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5119 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5120 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5121 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5122 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5123 (setComponentOrientation): Replaced constant with real string.
5124 (setColumnHeader): Likewise.
5125 (setHorizontalScrollBar): Likewise.
5126 (setHorizontalScrollBarPolicy): Likewise.
5127 (setRowHeader): Likewise.
5128 (setVerticalScrollBar): Likewise.
5129 (setVerticalScrollBarPolicy): Likewise.
5130 (setWheelScrollingEnabled): Likewise.
5131 (setViewport): Likewise.
5132 (setViewportBorder): Likewise.
5133 * javax/swing/JSlider.java
5134 (INVERTED_CHANGED_PROPERTY): Removed.
5135 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5136 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5137 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5138 (MODEL_CHANGED_PROPERTY): Likewise.
5139 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5140 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5141 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5142 (setModel): Replaced constant with real string.
5143 (setOrientation): Likewise.
5144 (setLabelTable): Likewise.
5145 (setInverted): Likewise.
5146 (setMajorTickSpacing): Likewise.
5147 (setMinorTickSpacing): Likewise.
5148 (setPaintTicks): Likewise.
5149 (setPaintLabels): Likewise.
5150 * javax/swing/JTabbedPane.java
5151 (MODEL_CHANGED_PROPERTY): Removed.
5152 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5153 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5154 (setModel): Replaced constant with real string.
5155 (setTabPlacement): Likewise.
5156 (setTabLayoutPolicy): Likewise.
5157 * javax/swing/JToolBar.java
5158 (ORIENTATION_CHANGED_PROPERTY): Removed.
5159 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5160 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5161 (MARGIN_CHANGED_PROPERTY): Likewise.
5162 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5163 (setRollover): Replaced constant with real string.
5164 (setMargin): Likewise.
5165 (setBorderPainted): Likewise.
5166 (setFloatable): Likewise.
5167 (setOrientation): Likewise.
5168 * javax/swing/plaf/basic/BasicComboBoxUI.java
5169 (PropertyChangeHandler.propertyChange): Likewise.
5170 * javax/swing/plaf/basic/BasicComboPopup.java
5171 (PropertyChangeHandler.propertyChange): Likewise.
5172 * javax/swing/plaf/basic/BasicMenuBarUI.java
5173 (PropertyChangeHandler.propertyChange): Likewise.
5174 * javax/swing/plaf/basic/BasicProgressBarUI.java
5175 (PropertyChangeHandler.propertyChange): Likewise.
5176 * javax/swing/plaf/basic/BasicScrollBarUI.java
5177 (PropertyChangeHandler.propertyChange): Likewise.
5178 * javax/swing/plaf/basic/BasicSliderUI.java
5179 (PropertyChangeHandler.propertyChange): Likewise.
5180 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5181 (PropertyChangeHandler.propertyChange): Likewise.
5182 * javax/swing/plaf/basic/BasicToolBarUI.java
5183 (PropertyChangeHandler.propertyChange): Likewise.
5185 2005-02-15 Michael Koch <konqueror@gmx.de>
5187 * javax/swing/DefaultButtonModel.java
5188 (changeState): Made private.
5189 * javax/swing/DefaultDesktopManager.java
5190 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5191 * javax/swing/JLayeredPane.java
5192 (layerToRange): Made private.
5193 (incrLayer): Likewise.
5194 (decrLayer): Likewise.
5195 * javax/swing/JTable.java
5196 (dragEnabled): Likewise.
5197 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5198 * javax/swing/KeyStroke.java
5199 (Keystroke): Made private.
5200 * javax/swing/TransferHandler.java
5201 (COMMAND_COPY): Likewise.
5202 (COMMAND_CUT): Likewise.
5203 (COMMAND_PASTE): Likewise.
5205 2005-02-15 Michael Koch <konqueror@gmx.de>
5207 * javax/swing/JTextField.java
5208 (postActionEvent): Use text in field when actionCommand is null.
5209 (getActionCommand): Removed.
5211 2005-02-15 Michael Koch <konqueror@gmx.de>
5213 * javax/swing/AbstractSet.java: Removed.
5214 * Makefile.am: Removed javax/swing/AbstractSet.java.
5215 * Makefile.in: Regenerated.
5217 2005-02-15 Michael Koch <konqueror@gmx.de>
5219 * java/awt/Window.java
5220 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5221 * java/awt/dnd/DnDConstants.java
5222 (DnDConstants): New private constructor.
5224 2005-02-15 Michael Koch <konqueror@gmx.de>
5226 * javax/swing/DefaultCellRenderer.java: Removed.
5227 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5228 * Makefile.in: Regenerated.
5230 2005-02-15 Michael Koch <konqueror@gmx.de>
5232 * javax/swing/AbstractButton.java
5233 (fireItemStateChanged): Made protected.
5234 (fireActionPerformed): Likewise.
5235 (fireStateChanged): Likewise.
5236 * javax/swing/DefaultButtonModel.java
5237 (fireItemStateChanged): Likewise.
5238 (fireActionPerformed): Likewise.
5239 (fireStateChanged): Likewise.
5240 * javax/swing/JApplet.java
5242 (frameInit): Likewise.
5243 (setRootPane): Made protected.
5244 (createRootPane): Likewise.
5245 * javax/swing/JComponent.java
5246 (getClientProperty): Likewise.
5247 (putClientProperty): Likewise.
5248 * javax/swing/JEditorPane.java
5249 (getContentType): Likewise.
5250 (setContentType): Likewise.
5251 * javax/swing/JFrame.java
5252 (setRootPane): Likewise.
5253 (createRootPane): Likewise.
5254 * javax/swing/JInternalFrame.java
5255 (getFocusCycleRootAncestor): Made final. Added @since tag.
5256 (isFocusCycleRoot): Likewise.
5257 (getWarningString): Made final.
5258 * javax/swing/JScrollBar.java
5259 (changeListener): Removed.
5260 (changeEvent): Likewise.
5261 (createChangeListener): Likewise.
5262 (fireStateChanged): Likewise.
5263 (addChangeListener): Likewise.
5264 (removeChangeListener): Likewise.
5265 (getChangeListeners): Likewise.
5266 * javax/swing/JScrollPane.java
5267 (createViewport): Made protected.
5268 * javax/swing/JViewport.java
5269 (addImpl): Likewise.
5270 (setBorder): New method.
5271 * javax/swing/JWindow.java
5272 (setRootPane): Made protected.
5273 (createRootPane): Likewise.
5274 * javax/swing/plaf/basic/BasicButtonUI.java
5275 (installListeners): Likewise.
5276 (uninstallListeners): Likewise.
5277 * javax/swing/plaf/basic/BasicProgressBarUI.java
5278 (incrementAnimationIndex): Likewise.
5279 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5280 (createLayoutManager): Likewise.
5281 * javax/swing/table/DefaultTableCellRenderer.java
5282 (firePropertyChange): Likewise.
5283 * javax/swing/table/JTableHeader.java
5284 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5286 * javax/swing/text/PlainDocument.java
5287 (reindex): Made private.
5288 * javax/swing/text/PlainView.java
5289 (drawLine): Made protected.
5290 (getTabSize): Likewise.
5291 * javax/swing/text/View.java
5293 (preferenceChanged): New method.
5294 (getBreakWeight): Likewise.
5295 (breakView): Likewise.
5296 (getViewIndex): Likewise.
5298 2005-02-15 Michael Koch <konqueror@gmx.de>
5300 * javax/swing/JScrollPane.java
5301 (ScrollBar): Made class protected.
5302 * javax/swing/JSpinner.java
5303 (JSpinner): Added @since tag.
5304 (listenerList): Removed.
5305 * javax/swing/JTable.java
5306 (setValueAt): New method.
5307 (getColumn): Likewise.
5308 * javax/swing/JWindow.java
5309 (rootPaneCheckingEnabled): Renamed from checking.
5311 2005-02-15 Michael Koch <konqueror@gmx.de>
5313 * javax/swing/plaf/basic/BasicTextUI.java
5314 (RootView.modelToView): Made it public and return a java.awt.Shape.
5315 Handle null subview.
5316 (uninstall): Set textComponent to null when its not possible used
5318 * javax/swing/text/View.java
5319 (setParent): Use better argument name.
5320 (getContainer): Get parent via getParent().
5321 (getViewFactory): Likewise.
5322 (getAttributes): Get element via getElement().
5323 (getStartOffset): Likewise.
5324 (getEndOffset): Likewise.
5325 (getResizeWeight): New method.
5326 (getMaximumSpan): Likewise.
5327 (getMinimumSpan): Likewise.
5328 (setSize): Likewise.
5329 (getGraphics): Likewise.
5331 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5333 * java/awt/Checkbox.java:
5334 (AccessibleAWTCheckbox()): Added public constructor
5336 * java/awt/Choice.java:
5337 (AccessibleAWTChoice): Added class documentation.
5338 (AccessibleAWTChoice()): Added public constructor
5340 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5341 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5342 and changed role to COMBO_BOX.
5343 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5344 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5345 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5347 2005-02-15 Graydon Hoare <graydon@redhat.com>
5348 Michael Koch <konqueror@gmx.de>
5350 * javax/swing/LayoutFocusTraversalPolicy.java,
5351 javax/swing/SortingFocusTraversalPolicy.java:
5353 * Makefile.am: Added new classes.
5354 * Makefike.in: Regenerated.
5357 2005-02-15 Michael Koch <konqueror@gmx.de>
5359 * javax/swing/DebugGraphics.java: Mostly implemented.
5361 2005-02-15 Michael Koch <konqueror@gmx.de>
5363 * javax/swing/SwingUtilities.java
5364 (findFocusOwner): New method.
5366 2005-02-15 Michael Koch <konqueror@gmx.de>
5368 * javax/swing/text/DefaultEditorKit.java
5369 (read): Added '\n' after each line.
5370 * javax/swing/text/PlainView.java
5371 (modelToView): Update metrics.
5372 (drawLine): Use offsets from element.
5373 (paint): Update metrics. Draw all lines.
5375 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5377 * java/awt/Checkbox.java:
5378 (AccessibleAWTCheckbox): Added class documentation
5379 * java/awt/Scrollbar.java:
5380 (AccessibleAWTScrollBar): typo corrected and docs added
5381 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5382 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5383 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5384 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5385 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5386 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5387 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5388 (getAccessibleContext()): name of accessible class corrected
5390 2005-02-15 Mark Wielaard <mark@klomp.org>
5392 * java/awt/BasicStroke.java (hashCode): Implement.
5395 2005-02-15 Michael Koch <konqueror@gmx.de>
5397 * java/awt/print/PrinterJob.java
5398 (pageDialog): Throws java.awt.HeadlessException.
5399 (printDialog): Likewise.
5401 2005-02-15 Mark Wielaard <mark@klomp.org>
5403 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5405 2005-02-15 Michael Koch <konqueror@gmx.de>
5407 * javax/swing/JTable.java
5408 (getValueAt): New method.
5409 * javax/swing/table/JTableHeader.java
5410 (columnAtPoint): New method.
5412 2005-02-15 Michael Koch <konqueror@gmx.de>
5414 * javax/swing/JTextField.java
5415 (actions): New field.
5416 (static): Initalize actions field.
5417 (getActions): New method.
5419 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5421 * java/awt/Checkbox.java:
5422 (AccessibleAWTCheckbox): name capitalization corrected
5423 and serialization UID added.
5424 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5426 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5427 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5428 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5429 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5430 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5431 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5432 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5433 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5434 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5435 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5436 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5438 (getAccessibleContext()): name of accessible class corrected
5440 2005-02-15 Sven de Marothy <sven@physto.se>
5442 * java/awt/geom/doc-files/Area-1.png,
5443 java/awt/geom/doc-files/Ellipse-1.png,
5444 java/awt/geom/doc-files/GeneralPath-1.png:
5447 2005-02-15 Graydon Hoare <graydon@redhat.com>
5449 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5450 Use union to avoid type-punning warning.
5452 2005-02-15 Michael Koch <konqueror@gmx.de>
5454 * javax/swing/DefaultListSelectionModel.java
5455 (clone): New method.
5457 2005-02-15 Mark Wielaard <mark@klomp.org>
5459 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5460 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5461 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5462 Correct method signature of gtkSetFilename.
5464 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5466 * javax/swing/text/StringContent.java: New file.
5468 2005-02-15 Michael Koch <konqueror@gmx.de>
5470 * Makefile.am: Added javax/swing/text/StringContent.java.
5471 * Makefile.in: Regenerated.
5473 2005-02-15 Michael Koch <konqueror@gmx.de>
5475 * gnu/java/awt/ClasspathToolkit.java:
5476 Import statements reworked.
5477 (imageCache): Made it of type java.util.HashMap.
5479 2005-02-15 Michael Koch <konqueror@gmx.de>
5481 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5482 Reworked import statements.
5484 2005-02-15 Graydon Hoare <graydon@redhat.com>
5486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5488 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5489 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5490 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5491 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5493 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5494 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5496 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5497 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5498 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5502 Rewrite uses of extern variable to be function calls.
5503 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5504 function, from extern variable.
5505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5506 (gdk_env): Remove variable, add new function.
5507 (java_vm): Add new variable.
5508 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5509 java_vm rather than old gdk_env variable.
5511 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5513 * javax/swing/DefaultListModel.java
5514 (add): fire correct event,
5515 (addElement): corrected interval indices in event,
5516 (clear): corrected upper bound for interval, only fire event if
5518 (setSize): fire appropriate event.
5520 2005-02-15 Graydon Hoare <graydon@redhat.com>
5522 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5523 * gnu/awt/xlib/XToolkit.java: Likewise.
5524 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5525 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5526 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5527 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5528 * java/awt/EventQueue.java (getNextEvent):
5529 Adjust event loop to switch to native mode after 100ms.
5530 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5532 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5533 Wake up event thread.
5534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5535 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5536 Adjust event loop to switch to java mode after 100ms.
5538 2005-02-15 Graydon Hoare <graydon@redhat.com>
5540 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5541 accidentally removed in last change.
5543 2005-02-15 Michael Koch <konqueror@gmx.de>
5545 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5546 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5548 2005-02-15 Graydon Hoare <graydon@redhat.com>
5550 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5551 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5552 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5553 * jni.cc: Reuse bottom frame between calls, avoid clearing
5554 frame when no local references are made.
5556 2005-02-15 Michael Koch <konqueror@gmx.de>
5558 * javax/swing/UIDefaults.java (UIDefaults):
5559 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5560 Fixed HTML entity and removed a redundant comma.
5562 2005-02-15 Michael Koch <konqueror@gmx.de>
5564 * javax/swing/text/DefaultEditorKit.java
5565 (deinstall): Removed.
5566 (install): Likewise.
5568 2005-02-15 Michael Koch <konqueror@gmx.de>
5570 * javax/swing/UIDefaults.java (put): Handle value of null.
5572 2005-02-15 Michael Koch <konqueror@gmx.de>
5574 * java/awt/Robot.java,
5575 java/awt/Scrollbar.java,
5576 java/awt/print/PrinterJob.java,
5577 javax/swing/JTable.java,
5578 javax/swing/text/AbstractDocument.java:
5579 Reworked import statements.
5581 2005-02-15 Michael Koch <konqueror@gmx.de>
5583 * javax/swing/JEditorPane.java
5584 (read): Implemented.
5586 * javax/swing/text/DefaultEditorKit.java
5587 (page): Renamed from page_url. Made private.
5588 (editorKit): Renamed from kit. Made private.
5590 (JEditorPane): All constructors reimplemented.
5591 (getContentType): Use content type from editor kit.
5592 (getEditorKit): Return editorKit.
5593 (getEditorKitForContentType):Likewise.
5594 (getPage): Return page.
5595 (setContentType): Reimplemented.
5596 (setEditorKit): Likewise.
5597 (setEditorKitForContentType): Removed wrong implementation.
5598 (setPage): Implemented.
5600 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5602 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5603 (nativeSetIconImageFromData): Re-add native implementation.
5605 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5607 * javax/swing/table/DefaultTableModel.java
5608 (DefaultTableModel()): Added Javadocs.
5609 (DefaultTableModel(int, int)): Fixed implementation.
5610 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5611 for negative rowCount.
5612 (DefaultTableModel(Object[], int)): Added Javadocs.
5613 (DefaultTableModel(Vector, Vector)): Likewise.
5614 (DefaultTableModel(Object[][], Object[])): Likewise.
5615 (getDataVector): Likewise.
5616 (setDataVector(Vector, Vector)): Likewise.
5617 (setDataVector(Object[][], Object[])): Likewise.
5618 (newDataAvailable): Likewise.
5619 (newRowsAdded): Likewise.
5620 (rowsRemoved): Likewise.
5621 (setColumnIdentifiers(Vector)): Allow for null argument.
5622 (setColumnIdentifiers(Object[])): Added Javadocs.
5623 (setNumRows): Likewise.
5624 (setRowCount): Adds new rows if necessary, and sends more specific
5626 (setColumnCount): Allow for null columnIdentifiers.
5627 (addColumn(Object)): Added Javadocs.
5628 (addColumn(Object, Vector)): Handle null columnData.
5629 (addColumn(Object, Object[])): Handle columnData with more or less
5630 entries than rows in the table.
5631 (addRow(Vector)): Fire appropriate event.
5632 (addRow(Object[])): Added Javadocs.
5633 (insertRow(int, Vector)): Fire appropriate event.
5634 (insertRow(int, Object[])): Added Javadocs.
5635 (moveRow): Reimplemented.
5636 (removeRow(int)): Fire appropriate event.
5637 (getColumnCount): Allow for null columnIdentifiers.
5638 (getColumnName): Now returns empty string when column index is too
5640 (isCellEditable): Added Javadocs.
5641 (getValueAt): Likewise.
5642 (setValueAt): Fire more specific event.
5643 (convertToVector): Added Javadocs.
5644 * javax/swing/table/TableModel.java
5647 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5649 * libgcj.spec.in (lib): Add -l-javax-imageio.
5651 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5653 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5654 references to event queue q with method call q().
5655 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5656 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5657 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5658 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5659 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5660 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5663 2005-02-15 Graydon Hoare <graydon@redhat.com>
5665 * gnu/java/awt/ClasspathToolkit.java
5666 (registerImageIOSpis): New method.
5667 * gnu/java/awt/image/ImageDecoder.java
5668 (imageDecoder): New constructor using InputStream
5669 (startProduction): Handle existing InputStream.
5670 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5671 (findSimpleIntegerArray): Make public and static.
5672 (updateBufferedImage): Set each pixel, in a loop.
5673 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5674 Implement ImageIO SPI classes.
5675 (createBufferedImage): Rewrite in terms of SPI classes.
5676 * gnu/java/awt/peer/gtk/GtkToolkit.java
5677 (registerImageIOSpis): New method.
5678 * java/lang/reflect/natMethod.cc
5679 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5680 which lets JNI call interface methods properly.
5681 * javax/imageio/ImageIO.java
5682 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5683 (WriterMIMETypeFilter.filter): Likewise.
5684 (ImageReaderIterator): Pass extension argument through to SPI.
5685 (getReadersByFilter): Likewise.
5686 (getWritersByFilter): Likewise.
5687 (getImageReadersByFormatName): Likewise.
5688 (getImageReadersByMIMEType): Likewise.
5689 (getImageReadersBySuffix): Likewise.
5690 (getImageWritersByFormatName): Likewise.
5691 (getImageWritersByMIMEType): Likewise.
5692 (getImageWritersBySuffix): Likewise.
5695 * javax/imageio/ImageReader.java
5696 (progressListeners): Initialize.
5697 (setInput): Implement.
5698 * javax/imageio/ImageWriter.java
5699 (progressListeners): Initialize.
5700 (warningListeners): Likewise.
5701 (warningLocales): Likewise.
5702 (setOutput): Test "isInstance" rather than class equality.
5703 * javax/imageio/spi/IIORegistry.java
5704 (static): Add reader and writer SPIs.
5705 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5706 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5707 (query_formats): New function.
5708 (save_to_stream): Likewise.
5709 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5711 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5713 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5715 (keyPress): Likewise.
5716 (keyRelease): Likewise.
5718 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5720 * javax/swing/JTable.java
5721 (columnAtPoint): New Method. Implemented.
5722 (rowAtPoint): Likewise.
5723 (countSelections): Fixed few small count errors.
5724 (getSelections): Likewise.
5725 (setSelectionMode): Set selection mode for column
5726 selection model in addition to row selection model.
5727 * javax/swing/plaf/basic/BasicTableUI.java:
5728 (getRowForPoint): Removed. Replaced by
5729 JTable.rowAtPoint().
5730 (getColForPoint): Removed. Replaced by
5731 JTable.columnAtPoint().
5732 (updateSelection): Updated to call JTable.columnAtPoint
5733 and JTable.rowAtPoint.
5734 * javax/swing/table/DefaultTableColumnModel.java:
5735 (getSelectedColumns): Implemented.
5736 (getSelectedColumnCount): Implemented.
5738 2005-02-15 Graydon Hoare <graydon@redhat.com>
5741 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5742 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5743 * Makefile.in: Regenerate.
5744 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5745 * gnu/awt/xlib/XFramePeer.java: Likewise.
5746 * gnu/awt/xlib/XToolkit.java: Likewise.
5747 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5748 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5749 * gnu/java/awt/ClasspathToolkit.java
5752 (iterateNativeQueue): New methods.
5753 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5754 * gnu/java/awt/peer/gtk/GtkToolkit.java
5755 (gtkInit): Absorb from defunct GtkMainThread class.
5756 (static): Run gtkInit in static startup block.
5757 (GtkToolkit): Remove construction of GtkMainThread and queue.
5758 (getSystemEventQueueImpl): Construct queue when requested.
5761 (iterateNativeQueue): New methods.
5762 * java/awt/Component.java (removeNotify): Remove race.
5763 * java/awt/EventDispatchThread.java
5764 (EventDispatchThread): Don't start on construction.
5765 (run): Remove isInterrupted check.
5766 * java/awt/EventQueue.java (shutdown): New flag.
5767 (isShutdown): New method checking J2SE shutdown condition.
5768 (setShutdown): New method.
5769 (getNextEvent): Restructure to use ClasspathToolkit.
5770 (postEvent): Activate new thread on posting, wake thread on
5771 post of possible shutdown condition event.
5772 * java/awt/Frame.java
5773 (Frame): Call noteFrame in all constructors.
5774 (fireDummyEvent): New helper method.
5775 (addNotify): Fire a dummy event to wake up queue.
5776 (removeNotify): Fire a dummy event to wake up queue.
5777 (noteFrame): New method.
5778 (weakFrames): New static field.
5779 (getFrames): Implement.
5780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5782 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5783 Move everything from GtkMainThread into this file
5784 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5785 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5786 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5787 New functions to implement single-threaded queue semantics.
5789 2005-02-15 Michael Koch <konqueror@gmx.de>
5791 * javax/swing/plaf/metal/MetalLookAndFeel.java
5792 (getControlTextFont): New method.
5793 (getMenuTextFont): Likewise.
5794 (getSubTextFont): Likewise.
5795 (getSystemTextFont): Likewise.
5796 (getUserTextFont): Likewise.
5797 (getWindowTitleFont): Likewise.
5799 2005-02-15 Michael Koch <konqueror@gmx.de>
5801 * javax/swing/text/AbstractDocument.java
5802 (documentFilter): New field.
5803 (getDocumentFilter): New method.
5804 (setDocumentFilter): Likewise.
5807 2005-02-15 Michael Koch <konqueror@gmx.de>
5809 * javax/swing/JTree.java
5810 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5812 2005-02-15 Michael Koch <konqueror@gmx.de>
5814 * javax/swing/text/AbstractDocument.java
5815 (AbstractElement.getLength): Fixed off-by-one error.
5816 (AbstractElement.children): Made abstract.
5817 (AbstractElement.getAllowsChildren): Likewise.
5818 (AbstractElement.getElement): Likewise.
5819 (AbstractElement.dumpElement): New private method.
5820 (AbstractElement.dump): New method.
5821 (BranchElememt.getName): Fixed implementation.
5822 (BranchElememt.toString): Likewise.
5823 (BranchElememt.getElement): Fixed arguments.
5824 (LeafElement.getName): Fixed implementation.
5825 (LeafElement.toString): Likewise.
5826 * javax/swing/text/GapContent.java
5827 (GapContent): Put default content into buffer.
5828 * javax/swing/text/PlainDocument.java
5829 (reindex): Use empty attribute sets instead of null.
5830 (createDefaultRoot): Reimplemented.
5831 (insertUpdate): Call super method.
5832 (removeUpdate): Likewise.
5833 (getParagraphElement): Implemented.
5835 2005-02-15 Michael Koch <konqueror@gmx.de>
5837 * gnu/java/awt/ClasspathToolkit.java
5838 (createRobot): Throws java.awt.AWTException.
5839 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5840 Added '__attribute__((unused))' to all unused method arguments.
5842 2005-02-15 Michael Koch <konqueror@gmx.de>
5844 * javax/swing/DefaultBoundedRangeModel.java
5845 (fireValueChanged): Fixed off-by-one error.
5847 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5849 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5850 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5852 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5853 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5854 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5855 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5856 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5857 (getDefaultScreenDevice): Implement.
5858 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5859 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5860 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5861 * java/awt/Robot.java: Implement.
5862 * java/awt/peer/RobotPeer.java: Rename parameters.
5863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5864 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5865 (awt_keycode_to_keysym): Make non-static.
5866 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5867 AWT_BUTTON3_MASK): Declare constants.
5868 (awt_keycode_to_keysym): Declare.
5870 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5871 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5872 and is non-empty pass its value to "make check".
5873 (test_mauve_sim): Likewise.
5875 2005-02-15 Michael Koch <konqueror@gmx.de>
5877 * javax/imageio/IIOParam.java
5878 (setSourceBands): New method.
5879 (setSourceSubsampling): Likewise.
5880 * javax/imageio/ImageReadParam.java
5881 (setDestination): Likewise.
5882 (setDestinationBands): Likewise.
5883 (setSourceProgressivePasses): Likewise.
5884 * javax/imageio/metadata/IIOInvalidTreeException.java
5885 (serialVersionUID): New static field.
5886 * javax/imageio/metadata/IIOMetadataNode.java
5887 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5888 (parent): Dont initailize with default value explicitely.
5890 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5891 (removeAttributeNode): Likewise.
5892 (removeAttributeNS): Likewise.
5893 (setAttribute): Likewise.
5894 (setAttributeNode): Likewise.
5895 (setAttributeNodeNS): Likewise.
5896 (setAttributeNS): Likewise.
5897 (appendChild): Likewise.
5898 (getNodeValue): Likewise.
5899 (insertBefore): Likewise.
5900 (removeChild): Likewise.
5901 (replaceChild): Likewise.
5902 (setPrefix): Likewise.
5904 2005-02-15 Michael Koch <konqueror@gmx.de>
5906 * javax/swing/LookAndFeel.java
5907 (getDesktopPropertyValue): New method.
5909 2005-02-15 Michael Koch <konqueror@gmx.de>
5911 * javax/swing/JTree.java
5912 (hasChildren): New instance field.
5914 2005-02-15 Michael Koch <konqueror@gmx.de>
5916 * javax/swing/JComponent.java
5917 (getToolTipText): New method.
5918 (getTitledBorderText): Likewise.
5919 (getAccessibleKeyBinding): Likewise.
5920 (getVerifyInputWhenFocusTarget): Likewise.
5921 (setVerifyInputWhenFocusTarget): Likewise.
5922 (verifyInputWhenFocusTarget): New instance field.
5924 2005-02-15 Michael Koch <konqueror@gmx.de>
5926 * javax/swing/DefaultListSelectionModel.java
5927 (fireValueChanged): New method.
5929 2005-02-15 Michael Koch <konqueror@gmx.de>
5931 * javax/swing/DefaultBoundedRangeModel.java:
5932 Fixed javadocs all over.
5933 (fireStateChanged): Simplified.
5934 * javax/swing/BoundedRangeModel.java:
5937 2005-02-15 Michael Koch <konqueror@gmx.de>
5939 * javax/swing/JRootPane.java
5940 (setMenuBar): Added @deprecated tag.
5941 (getMenuBar): Likewise.
5942 * javax/swing/JTable.java
5943 (sizeColumnsToFit): Likewise.
5945 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5947 * javax/swing/ImageIcon.java (setImage): Implemented.
5949 2005-02-15 Michael Koch <konqueror@gmx.de>
5951 * javax/swing/JTable.java:
5952 Removed unused imports.
5954 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5956 (prepareRenderer): Get column's index in dataModel instead
5957 of column's view index.
5958 (getColumnCount): return count of the columns in ColumnModel,
5960 (removeColumn): Implemented.
5961 (moveColumm): Likewise.
5962 (setRowHeight): throw IllegalArgumentException if height is
5964 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5965 (DefaultTableColumnModel):Add call to createSelectionModel().
5966 (addColumn): Fire columnAdded event to registered listeners.
5967 (removeColumn): Fire columnRemoved event to registered listeners.
5968 (moveColumn): Fire columnMoved event to registered listeners.
5969 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5970 (getColumnIndex): Changed parameter name.
5971 (setColumnSelectionAllowed): Likewise.
5972 (fireColumnAdded): Implemented.
5973 (fireColumnRemoved): Likewise.
5974 (fireColumnMoved): Likewise.
5975 (fireColumnMarginChanged): Likewise.
5976 (getListeners): Changed parameter name.
5977 (propertyChange): Implemented.
5978 (valueChanged): Changed parameter name.
5979 (createSelectionModel): Implemented.
5981 2005-02-15 Michael Koch <konqueror@gmx.de>
5983 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5984 Explicitely import used classes.
5985 (getLocalGraphicsEnvironment): Simplify.
5986 * java/awt/Window.java (Window):
5987 Enable code to get the default GraphicsConfiguration.
5989 2005-02-15 Michael Koch <konqueror@gmx.de>
5991 * javax/swing/plaf/metal/DefaultMetalTheme.java
5992 (CONTROL_TEXT_FONT): New static field.
5993 (MENU_TEXT_FONT): Likewise.
5994 (SUB_TEXT_FONT): Likewise.
5995 (SYSTEM_TEXT_FONT): Likewise.
5996 (USER_TEXT_FONT): Likewise.
5997 (WINDOW_TITLE_FONT): Likewise.
5998 (getControlTextFont): New method.
5999 (getMenuTextFont): Likewise.
6000 (getSubTextFont): Likewise.
6001 (getSystemTextFont): Likewise.
6002 (getUserTextFont): Likewise.
6003 (getWindowTitleFont): Likewise.
6004 * javax/swing/plaf/metal/MetalTheme.java
6005 (BLACK): Initialize with Color.BLACK.
6006 (WHITE): Initialize with Color.WHITE.
6007 (getInactiveControlTextColor): Return getControlDisabled().
6008 (getMenuDisabledForeground): Return getSecondary3().
6009 (getControlTextFont): New abstract method.
6010 (getMenuTextFont): Likewise.
6011 (getSubTextFont): Likewise.
6012 (getSystemTextFont): Likewise.
6013 (getUserTextFont): Likewise.
6014 (getWindowTitleFont): Likewise.
6016 2005-02-15 Michael Koch <konqueror@gmx.de>
6018 * javax/swing/JFormattedTextField.java
6019 (getFocusLostBehavior): Fixed typo in method name.
6020 (setFocusLostBehavior): Likewise.
6022 2005-02-15 Michael Koch <konqueror@gmx.de>
6024 * javax/swing/TransferHandler.java:
6025 Reworked import statements.
6027 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6029 * java/awt/Button.java,
6030 java/awt/Canvas.java,
6031 java/awt/Checkbox.java,
6032 java/awt/CheckboxMenuItem.java,
6033 java/awt/Choice.java,
6034 java/awt/Dialog.java,
6035 java/awt/Frame.java,
6036 java/awt/Label.java,
6039 java/awt/MenuBar.java,
6040 java/awt/MenuItem.java,
6041 java/awt/PopupMenu.java,
6042 java/awt/ScrollPane.java,
6043 java/awt/Scrollbar.java,
6044 java/awt/TextArea.java,
6045 java/awt/Window.java (getAccessibleContext): Clean up comments.
6047 * java/awt/Button.java,
6048 java/awt/Checkbox.java,
6049 java/awt/Choice.java,
6051 java/awt/PopupMenu.java,
6052 java/awt/TextArea.java (getAccessibleContext): Only create new
6054 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6056 2005-02-15 Michael Koch <konqueror@gmx.de>
6058 * java/awt/Button.java,
6059 javax/swing/JApplet.java,
6060 javax/swing/JFormattedTextField.java,
6061 javax/swing/JWindow.java,
6062 javax/swing/JTree.java,
6063 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6064 javax/swing/plaf/basic/BasicTextPaneUI.java,
6065 javax/swing/plaf/basic/BasicTreeUI.java:
6066 Reworked import statements.
6068 2005-02-15 Michael Koch <konqueror@gmx.de>
6070 * Makefile.am: Put javax.imageio into its own library and link it
6071 against lib-org-w3c-dom.la to fix bootstrapping.
6072 * Makefile.in: Regenerated.
6074 2005-02-15 Michael Koch <konqueror@gmx.de>
6076 * javax/swing/text/TextAction.java
6077 (getTextComponent): Simplified. Added Javadoc.
6078 (augmentList): Implemented. Added Javadoc.
6079 (getFocusedComponent): Added javadoc.
6081 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6083 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6084 getAccessibleContext): Implement.
6085 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6086 getAccessibleContext): Implement.
6088 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6090 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6092 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6094 * java/awt/Window.java (getAccessibleContext): Fix comment.
6095 Remove extra import.
6097 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6099 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6100 (isActive, isFocused, getAccessibleContext): Implement.
6102 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6104 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6105 * java/awt/MenuComponent.java (accessibleContext): Make package
6107 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6108 AccessibleAWTCheckboxMenuItem): Implement.
6110 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6112 * java/awt/List.java: Implement AccessibleAWTList,
6113 AccessibleAWTListChild.
6115 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6117 * java/awt/Choice.java: Add implements declaration for
6120 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6122 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6125 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6127 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6128 implemented interface list.
6130 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6132 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6133 * javax/imageio/metadata/IIOAttr.java: New class.
6134 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6135 * javax/imageio/metadata/IIONodeList.java: New class.
6136 * Makefile.am: Added new files.
6137 * Makefile.in: Regenerated.
6139 2005-02-15 Michael Koch <konqueror@gmx.de>
6141 * javax/swing/AbstractAction.java,
6142 javax/swing/AbstractCellEditor.java,
6143 javax/swing/AbstractListModel.java,
6144 javax/swing/DefaultBoundedRangeModel.java,
6145 javax/swing/DefaultButtonModel.java,
6146 javax/swing/DefaultCellEditor.java,
6147 javax/swing/DefaultComboBoxModel.java,
6148 javax/swing/DefaultDesktopManager.java,
6149 javax/swing/JMenu.java,
6150 javax/swing/JSlider.java,
6151 javax/swing/KeyStroke.java,
6152 javax/swing/OverlayLayout.java,
6153 javax/swing/ScrollPaneLayout.java,
6154 javax/swing/SizeRequirements.java,
6155 javax/swing/ViewportLayout.java:
6156 Made serialVersionUID private.
6158 2005-02-15 Michael Koch <konqueror@gmx.de>
6160 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6163 2005-02-15 Michael Koch <konqueror@gmx.de>
6165 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6167 2005-02-15 Michael Koch <konqueror@gmx.de>
6169 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6171 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6173 * java/awt/EventDispatchThread.java,
6174 java/awt/Toolkit.java:
6175 Don't catch java.lang.ThreadDeath.
6177 2005-02-15 Michael Koch <konqueror@gmx.de>
6179 * javax/swing/text/PasswordView.java
6180 (drawEchoCharacter): Added javadoc.
6181 (drawSelectedText): Likewise.
6182 (drawUnselectedText): Likewise.
6184 2005-02-15 Michael Koch <konqueror@gmx.de>
6186 * javax/swing/JRootPane.java
6187 (windowDecorationStyle): New field.
6188 (setMenuBar): New method.
6189 (getMenuBar): Likewise.
6190 (getWindowDecorationStyle): Likewise.
6191 (setWindowDecorationStyle): Likewise.
6193 2005-02-15 Michael Koch <konqueror@gmx.de>
6195 * javax/swing/DefaultListSelectionModel.java
6196 (leadAnchorNotificationEnabled): Made protected.
6198 2005-02-15 Michael Koch <konqueror@gmx.de>
6200 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6201 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6202 * Makefile.in: Regenerated.
6205 2005-02-15 Michael Koch <konqueror@gmx.de>
6207 * javax/swing/JFormattedTextField.java: Implemented.
6208 * javax/swing/JWindow.java
6209 (JWindow): New constructors.
6210 (initWindow): Renamed from initFrame.
6211 * javax/swing/UIDefaults.java
6212 (ActiveValue): Made interface static.
6213 (LazyValue): Likewise.
6214 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6215 (TitlePaneLayout.TitlePaneLayout): New constructor.
6216 * javax/swing/plaf/basic/BasicSliderUI.java
6217 (ChangeHandler): Made public.
6218 (FocusHandler): Likewise.
6219 (PropertyChangeHandler): Likewise.
6220 (ScrollListener): Likewise.
6221 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6222 (FocusHandler): Likewise.
6223 (MouseHandler): Likewise.
6224 * javax/swing/plaf/basic/BasicTextPaneUI.java
6225 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6226 * javax/swing/plaf/basic/BasicToolBarUI.java
6227 (BasicToolBarUI): Simplified. Reworked javadoc.
6228 (canDock): Simplified. Make public.
6229 (DockingListener): Made public.
6230 * javax/swing/text/JTextComponent.java
6231 (navigationFilter): New field.
6232 (getNavigationFilter): New method.
6233 (setNavigationFilter): Likewise.
6235 2005-02-15 Michael Koch <konqueror@gmx.de>
6237 * javax/swing/plaf/metal/MetalTheme.java
6238 (getControlTextColor): Return getControlInfo().
6239 (getHighlightedTextColor): Return getControlTextColor().
6241 2005-02-15 Michael Koch <konqueror@gmx.de>
6243 * javax/swing/plaf/basic/BasicButtonListener.java
6244 (BasicButtonListener): New constructor.
6245 * javax/swing/plaf/basic/BasicButtonUI.java
6246 (createButtonListener): Usw new BasicButtonListener constructor.
6248 2005-02-15 Michael Koch <konqueror@gmx.de>
6250 * javax/imageio/event/package.html,
6251 javax/imageio/metadata/package.html: New files.
6253 2005-02-15 Michael Koch <konqueror@gmx.de>
6255 * java/awt/image/MemoryImageSource.java: Reformatted.
6257 2005-02-15 Michael Koch <konqueror@gmx.de>
6259 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6261 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6263 * java/awt/color/ICC_Profile.java
6264 (finalize): Removed pointless field assignments.
6266 2005-02-15 Michael Koch <konqueror@gmx.de>
6268 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6269 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6270 * Makefile.in: Regenerated.
6272 2005-02-15 Michael Koch <konqueror@gmx.de>
6274 * javax/swing/text/DefaultStyledDocument.java: New file.
6275 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6276 * Makefile.in: Regenerated.
6278 2005-02-15 Michael Koch <konqueror@gmx.de>
6280 * javax/swing/JFileChooser.java
6281 (showDialog): Return CANCEL_OPTION for now.
6282 (showOpenDialog): Likewise.
6283 (showSaveDialog): Likewise.
6285 2005-02-15 Michael Koch <konqueror@gmx.de>
6287 * javax/swing/JApplet.java
6288 (HIDE_ON_CLOSE): Removed.
6289 (EXIT_ON_CLOSE): Likewise.
6290 (DISPOSE_ON_CLOSE): Likewise.
6291 (DO_NOTHING_ON_CLOSE): Likewise.
6292 (close_action): Likewise.
6293 (getDefaultCloseOperation): Likewise.
6294 (setDefaultCloseOperation): Likewise.
6295 (processWindowEvent): Likewise.
6296 (getPreferredSize): Simplified.
6297 * javax/swing/JInternalFrame.java
6298 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6300 * javax/swing/JWindow.java
6301 (HIDE_ON_CLOSE): Removed.
6302 (EXIT_ON_CLOSE): Likewise.
6303 (DISPOSE_ON_CLOSE): Likewise.
6304 (DO_NOTHING_ON_CLOSE): Likewise.
6305 (close_action): Likewise.
6306 (processKeyEvent): Likewise.
6307 (setDefaultCloseOperation): Likewise.
6308 (getPreferredSize): Simplified.
6310 2005-02-15 Michael Koch <konqueror@gmx.de>
6312 * javax/swing/JTextField.java
6313 (getPreferredSize): Re-implemented.
6315 2005-02-15 Michael Koch <konqueror@gmx.de>
6317 * javax/swing/JLabel.java
6318 (setDisplayedMnemonic): Use only upper case characters.
6319 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6320 PropertyChangeEvent after property got set to the new index.
6322 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6324 * javax/swing/JComboBox.java:
6325 (JComboBox): Removed selection of the
6326 first item in the model.
6328 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6330 * javax/swing/JComboBox.java
6331 added support for no item being selected
6332 (JComboBox): select first or nothing depending on element count
6333 (setModel): cleaned up unneeded "this." usage, added more
6334 docs, made exception behavior match that of the JDK
6335 (setLighWeightPopupEnabled): removed unneeded "this." usage
6337 (setMaximumRowCount): dito
6339 (setPrototypeDisplayValue): dito
6340 (getSelectedItem): simplified, added more user doc
6341 (setSelectedIndex): corrected exception behavior, added more user doc
6342 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6343 added performance warning to user doc
6344 (addItem): fixed exception behavior, added user doc
6345 (insertItemAt): dito
6347 (removeItemAt): dito
6348 (removeAll): fixed exception behavior, added user doc, added support
6349 for model not being instance of DefaultComboBoxModel
6350 (getSelectedItemObjects): simplified
6351 (getItemCount): fixed dependency on DefaultComboBoxModel
6352 (getItemAt): fixed dependency on MutableComboBoxModel
6353 * javax/swing/DefaultComboBoxModel.java:
6354 (setSelectedItem): updates selected item only if new
6355 value is null or known (match JDK behavior)
6356 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6357 (paintCurrentValue): renders "" if no item is selected
6359 2005-02-15 Michael Koch <konqueror@gmx.de>
6361 * javax/swing/plaf/metal/MetalTheme.java,
6362 javax/swing/plaf/metal/DefaultMetalTheme.java:
6364 * javax/swing/plaf/metal/MetalLookAndFeel.java
6365 * Makefile.am: Added the new files.
6366 * Makefile.in: Regenerated.
6368 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6370 * javax/swing/JTable.java
6371 (editorComp): New field.
6372 (JTable): Initialize local variables and call updateUI
6373 (selectionBackground): Make protected.
6374 (selectionForeground): Likewise.
6375 (initializeLocalVars): Create default editors and renderers,
6376 initialize editingColumn, editingRow variables.
6377 (createDefaultEditors): New Method.
6378 (createDefaultRenderers): Likewise.
6379 (createDefaultListSelectionModel): Removed
6380 (createDefaultSelectionModel): New Method.
6381 (createDefaultTableHeader): Likewise
6382 (removeColumn): Likewise.
6383 (getEditingColumn): Likewise.
6384 (setEditingColumn): Likewise.
6385 (getEditingRow): Likewise.
6386 (setEditingRow): Likewise.
6387 (getEditorComponent): Likewise.
6388 (isEditing): Likewise.
6389 (setDefaultEditor): Likewise.
6390 (addColumnSelectionInterval): Likewise.
6391 (addRowSelectionInterval): Likewise.
6392 (setColumnSelectionInterval): Likewise.
6393 (setRowSelectionInterval): Likewise.
6394 (removeColumnSelectionInterval): Likewise.
6395 (removeRowSelectionInterval): Likewise.
6396 (isColumnSelected): Likewise.
6397 (isRowSelected): Likewise.
6398 (isCellSelected): Likewise.
6399 (selectAll): Likewise.
6401 2005-02-15 Michael Koch <konqueror@gmx.de>
6403 * javax/swing/JTable.java
6404 (addColumn): New method.
6405 (getColumnClass): Likewise.
6406 (getColumnName): Likewise.
6408 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6410 * javax/swing/TransferHandler.java
6411 (createTransferable): Made protected.
6413 2005-02-15 Michael Koch <konqueror@gmx.de>
6415 * javax/swing/JTable.java,
6416 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6417 javax/swing/plaf/basic/BasicTableUI.java:
6418 Use fixed get/setIntercellSpacing() methods.
6420 2005-02-15 Michael Koch <konqueror@gmx.de>
6422 * javax/swing/JTable.java
6423 (getIntercellSpacing): Fixed typo in method name.
6424 (setIntercellSpacing): Likewise.
6426 2005-02-15 Michael Koch <konqueror@gmx.de>
6428 * javax/swing/text/JTextComponent.java
6429 (focusAccelerator): New variable.
6430 (getFocusAccelerator): New method.
6431 (setFocusAccelerator): Likewise.
6433 2005-02-15 Michael Koch <konqueror@gmx.de>
6435 * javax/swing/JComponent.java
6436 (setTransferHandler): Made public. Fire property change event.
6437 * javax/swing/TransferHandler.java: Implemented.
6438 * javax/swing/text/JTextComponent.java
6439 (DefaultTransferHandler): New inner class.
6440 (defaultTransferHandler): New variable.
6444 (doTransferAction): Likewise.
6446 2005-02-15 Michael Koch <konqueror@gmx.de>
6448 * javax/swing/JTree.java
6449 (collapsePath): New method.
6450 (collapseRow): Likewise.
6451 (expandPath): Likewise.
6452 (expandRow): Likewise.
6453 (checkExpandParents): Likewise.
6454 (doExpandParents): Likewise.
6455 (setExpandedState): Likewise.
6456 (makeVisible): Likewise.
6458 2005-02-15 Michael Koch <konqueror@gmx.de>
6460 * javax/swing/JPasswordField.java: Updated javadocs.
6462 2005-02-15 Michael Koch <konqueror@gmx.de>
6464 * javax/swing/JLayeredPane.java
6465 (getLayer): Fixed return type, made public.
6466 (getPosition): Use new getLayer().
6467 (SetPosition): Likewise.
6468 (getIndexOf): Likewise.
6470 * javax/swing/JInternalFrame.java
6471 (getLayer): Use new JLayeredPane.getLayer().
6474 2005-02-15 Michael Koch <konqueror@gmx.de>
6476 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6477 (setHeaderValue): Simplified. Do nothing when old value == new value.
6479 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6481 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6482 against null clip region.
6483 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6484 gtkWindowSetResizable.
6485 (postConfigureEvent): Only revalidate if frame size has changed.
6486 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6487 Only revalidate if frame size has changed.
6488 * java/awt/Component.java (reshape): Only repaint and post
6489 component events if component is showing.
6490 * java/awt/Container.java (addImpl): Only post container event if
6491 container is showing.
6493 * java/awt/Window.java (setLocationRelativeTo): Implement.
6494 (setBoundsCallback): Only post component events if component is
6496 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6497 Protect against null graphics structure. Flush gdk event queue.
6499 2005-02-15 Michael Koch <konqueror@gmx.de>
6501 * javax/imageio/ImageReader.java,
6502 javax/imageio/ImageTranscoder.java,
6503 javax/imageio/ImageWriter.java,
6504 javax/imageio/spi/ImageInputStreamSpi.java,
6505 javax/imageio/spi/ImageOutputStreamSpi.java,
6506 javax/imageio/spi/ServiceRegistry.java,
6507 javax/imageio/stream/ImageInputStream.java,
6508 javax/imageio/stream/ImageOutputStream.java: Updated.
6509 * javax/imageio/IIOException.java,
6510 javax/imageio/IIOImage.java,
6511 javax/imageio/IIOParam.java,
6512 javax/imageio/IIOParamController.java,
6513 javax/imageio/ImageIO.java,
6514 javax/imageio/ImageReadParam.java,
6515 javax/imageio/ImageTypeSpecifier.java,
6516 javax/imageio/ImageWriteParam.java,
6517 javax/imageio/spi/IIORegistry.java,
6518 javax/imageio/spi/ImageReaderSpi.java,
6519 javax/imageio/spi/ImageWriterSpi.java,
6520 javax/imageio/stream/FileCacheImageInputStream.java,
6521 javax/imageio/stream/FileCacheImageOutputStream.java,
6522 javax/imageio/stream/FileImageInputStream.java,
6523 javax/imageio/stream/FileImageOutputStream.java,
6524 javax/imageio/stream/ImageInputStreamImpl.java,
6525 javax/imageio/stream/ImageOutputStreamImpl.java,
6526 javax/imageio/stream/MemoryCacheImageInputStream.java,
6527 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6528 javax/imageio/event/IIOReadProgressListener.java,
6529 javax/imageio/event/IIOReadUpdateListener.java,
6530 javax/imageio/event/IIOReadWarningListener.java,
6531 javax/imageio/event/IIOWriteProgressListener.java,
6532 javax/imageio/event/IIOWriteWarningListener.java,
6533 javax/imageio/metadata/IIOMetadata.java,
6534 javax/imageio/metadata/IIOMetadataController.java,
6535 javax/imageio/metadata/IIOMetadataFormat.java,
6536 javax/imageio/metadata/IIOInvalidTreeException.java,
6537 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6538 javax/imageio/metadata/IIOMetadataNode.java: New files.
6539 * Makefile.am (javax_source_files): Added new files
6540 * Makefile.in: Regenerated.
6542 2005-02-15 Graydon Hoare <graydon@redhat.com>
6544 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6545 Rework painting into BufferedImages
6546 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6547 Construct BufferedImage with alpha only when alpha is
6548 present in colormodel.
6549 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6550 Rework painting into client-side jint arrays.
6551 * jni/gtk-peer/gtkcairopeer.h:
6554 2005-02-15 Michael Koch <konqueror@gmx.de>
6556 * javax/swing/DefaultListCellRenderer.java
6557 (serialVersionUID): Made private.
6558 (getListCellRendererComponent): Set horizontal alignment.
6559 * javax/swing/JLabel.java
6560 (setVerticalAlignment): Re-implemented.
6561 (setHorizontalAlignment): Do nothing if old value = new value.
6562 * javax/swing/JList.java
6563 (setCellRenderer): Likewise.
6564 (setModel): Re-implemented.
6565 (setSelectionModel): Likewise.
6567 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6569 * java/awt/Component.java,
6570 java/awt/geom/Rectangle2D.java:
6573 2005-02-15 Michael Koch <konqueror@gmx.de>
6575 * javax/swing/AbstractListModel.java
6576 (fireContentsChanged): Simplified.
6577 (fireIntervalAdded): Likewise.
6578 (fireIntervalRemoved): Likewise.
6579 * javax/swing/DefaultSingleSelectionModel.java:
6581 (fireStateChanged): Simplified.
6582 * javax/swing/JPopupMenu.java
6583 (setSelectionModel): Set property.
6585 2005-02-15 Michael Koch <konqueror@gmx.de>
6587 * java/awt/print/Book.java: Reformatted.
6589 2005-02-15 Michael Koch <konqueror@gmx.de>
6591 * java/awt/geom/Area.java
6592 (QuadSegment.curveArea): Remove unused variables.
6593 (CubicSegment.curveArea): Likewise.
6595 2005-02-15 Michael Koch <konqueror@gmx.de>
6597 * javax/swing/JTree.java
6598 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6599 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6600 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6601 (EXPANDED): New constant.
6602 (COLLAPSED): Likewise.
6603 (nodeStates): New field.
6604 (cellEditor): New method.
6605 (cellRenderer): Likewise.
6606 (selectionModel): Likewise.
6607 (treeModel): Likewise.
6608 (scrollPathToVisible): Likewise.
6609 (scrollRowToVisible): Likewise.
6610 (isCollapsed): Likewise.
6611 (isExpanded): Likewise.
6612 (clearToggledPaths): Likewise.
6613 (getDescendantToggledPaths): Likewise.
6614 (hasBeenExpanded): Likewise.
6615 (isVisible): Likewise.
6616 (isPathEditable): Likewise.
6618 2005-02-15 Michael Koch <konqueror@gmx.de>
6620 * javax/swing/JLayeredPane.java: Reformatted.
6622 2005-02-15 Michael Koch <konqueror@gmx.de>
6624 * javax/swing/tree/DefaultMutableTreeNode.java:
6626 * javax/swing/tree/MutableTreeNode.java:
6629 2005-02-15 Michael Koch <konqueror@gmx.de>
6631 * javax/swing/JFormattedTextField.java
6632 (setDocument): Call setDocument of super class. Don't fire property
6635 2005-02-15 Sven de Marothy <sven@physto.se>
6637 * java/awt/image/IndexColorModel.java:
6638 Add FIXME with respect to alpha handling.
6639 (getAlpha): Default to returning opaque pixels.
6640 * java/awt/image/MultiPixelPackedSampleModel.java
6641 (MultiPixelPackedSampleModel): Corrected parameters, order of
6642 bit shifts and masks, stride length off by one.
6644 2005-02-15 Michael Koch <konqueror@gmx.de>
6646 * javax/swing/JList.java, javax/swing/JTree.java:
6647 Added much new methods and fixed much methods setting bound properties.
6649 2005-02-16 Mark Wielaard <mark@klomp.org>
6651 * Makefile.am (gnu_xml_source_files): Removed
6652 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6653 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6654 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6655 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6656 gnu/xml/dom/DomDocumentFragment.java,
6657 gnu/xml/dom/DomProcessingInstruction.java and
6658 gnu/xml/dom/ls/DomLSException.java.
6659 * Makefile.in: Regenerated.
6661 2005-02-16 Tom Tromey <tromey@redhat.com>
6663 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6664 attribute index is out of bounds.
6666 2005-02-16 Chris Burdess <dog@gnu.org>
6668 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6669 isDeclared methods. Improved performance of isSpecified methods.
6671 2005-02-16 Chris Burdess <dog@gnu.org>
6673 Fixes bug libgcj/19864
6674 * gnu/xml/dom/DomAttr.java,
6675 gnu/xml/dom/DomCDATA.java,
6676 gnu/xml/dom/DomCDATASection.java,
6677 gnu/xml/dom/DomCharacterData.java,
6678 gnu/xml/dom/DomDOMException.java,
6679 gnu/xml/dom/DomDoctype.java,
6680 gnu/xml/dom/DomDocument.java,
6681 gnu/xml/dom/DomDocumentConfiguration.java,
6682 gnu/xml/dom/DomDocumentFragment.java,
6683 gnu/xml/dom/DomElement.java,
6684 gnu/xml/dom/DomEx.java,
6685 gnu/xml/dom/DomFragment.java,
6686 gnu/xml/dom/DomImpl.java,
6687 gnu/xml/dom/DomIterator.java,
6688 gnu/xml/dom/DomNamedNodeMap.java,
6689 gnu/xml/dom/DomNode.java,
6690 gnu/xml/dom/DomNsNode.java,
6691 gnu/xml/dom/DomPI.java,
6692 gnu/xml/dom/DomProcessingInstruction.java,
6693 gnu/xml/dom/DomText.java,
6694 gnu/xml/dom/DomLSEx.java,
6695 gnu/xml/dom/DomLSException.java,
6696 gnu/xml/dom/DomLSParser.java,
6697 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6698 implementation class names to conform to Classpath guidelines. Make
6699 DomLSException use JDK 1.4+ exception chaining.
6700 * gnu/xml/util/SAXNullTransformerFactory.java,
6701 gnu/xml/xpath/Predicate.java: Use constants relative to
6702 declaring class or interface.
6704 2005-02-16 Andrew Haley <aph@redhat.com>
6706 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6707 null, create a new AccessControlContext.
6708 * java/security/SecureClassLoader.java (protectionDomainCache):
6710 (defineClass): Create a new protection domain and add it to our
6713 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6714 addStub() to keep track of the stub we've exported.
6715 (unexportObject): Call deleteStub().
6716 * java/rmi/server/RemoteObject.java (stubs): New field.
6717 (addStub): New method.
6718 (deleteStub): New method.
6721 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6722 true to findHelper (tryParents).
6723 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6725 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6726 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6728 If tryParents is false, don't scan parent class loaders.
6730 * java/security/Permissions.java (PermissionsHash.implies):
6731 Iterate over the collection and invoke implies() on each
6734 2005-02-16 Andrew Haley <aph@redhat.com>
6736 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6738 (PersistentByteMap): Set name
6739 Magic number changed to 0x67636a64 ("gcjd").
6740 (init): Force the map to be prime.
6741 (emptyPersistentByteMap): File name was a string, now a File.
6742 (addBytes): Share srings between entries.
6743 (stringTableSize): New method.
6744 (capacity): Scale by load factor.
6745 (force): New method.
6746 (getFile): New method.
6747 (close): New method.
6748 (putAll): New method.
6749 (ByteWrapper): New class.
6750 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6751 (main): Guess the average string size as 32, not 64.
6752 Copy a database before modifying it, so that we can update a
6753 database in a running system.
6754 If a database isn't big enough, resize it.
6755 "-m": new option: merges databases.
6756 "-a": Create a new detabase if it doesn't exist.
6757 (usage): Correct, add new option.
6758 (addJar): Copy a database before modifying it.
6759 (resizeMap): New method.
6761 2005-02-15 David Daney <ddaney@avtrex.com>
6762 Bryce McKinlay <mckinlay@redhat.com>
6764 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6765 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6766 ensure that GC threads inherit the new signal mask.
6767 (block_sigchld): Call JvFail rather than throwing exception if
6768 pthread_sigmask() fails.
6770 2005-02-15 Mark Wielaard <mark@klomp.org>
6772 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6773 file path elements are separated by spaces.
6775 2005-02-15 Mark Wielaard <mark@klomp.org>
6777 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6778 to describe attributes without a constant field value in this class.
6780 2005-02-15 Michael Koch <konqueror@gmx.de>
6782 * java/util/jar/Attributes.java
6783 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6785 2005-02-15 Mark Wielaard <mark@klomp.org>
6787 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6788 space for parsing CLASS_PATH attribute.
6790 2005-02-15 Mark Wielaard <mark@klomp.org>
6792 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6793 aside for "GCJLIBS" in directory where jarfiles are loaded.
6794 (JarURLLoader.getClass): Removed method.
6795 (JarURLLoader.toString): Removed method.
6796 (FileResource.toString): Removed method.
6798 2005-02-15 Mark Wielaard <mark@klomp.org>
6800 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6801 and/or cause before throwing.
6803 2005-02-15 Richard Henderson <rth@redhat.com>
6805 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6806 (libgcj0_convenience_la_SOURCES): ... here.
6807 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6808 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6809 * Makefile.in: Regenerate.
6811 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6814 * include/jawt.h: Likewise.
6815 * include/jawt_md.h: Likewise.
6816 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6818 * include/Makefile.in: Regenerate.
6819 * jni/classpath/classpath_jawt.h: Likewise.
6820 * jni/gtk-peer/gtk_jawt.c: Likewise.
6821 * Makefile.am: Build libjawt.so.
6822 * Makefile.in: Regenerate.
6824 2005-02-14 Tom Tromey <tromey@redhat.com>
6826 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6828 2005-02-14 Tom Tromey <tromey@redhat.com>
6830 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6831 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6833 2005-02-14 Tom Tromey <tromey@redhat.com>
6836 * testsuite/libjava.lang/PR19929.out: New file.
6837 * testsuite/libjava.lang/PR19929.java: New file.
6839 2005-02-14 Anthony Green <green@redhat.com>
6842 * testsuite/libjava.jni/PR18116.c: New file.
6843 * testsuite/libjava.jni/PR18116.java: New file.
6844 * testsuite/libjava.jni/PR18116.out: New file.
6846 2005-02-13 Anthony Green <green@redhat.com>
6849 * jni.cc (nathash_add): Don't strdup the method signature.
6850 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6854 2005-02-12 Mark Wielaard <mark@klomp.org>
6856 Fixes bug libgcj/8170
6857 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6858 ClassNotFoundException.
6859 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6860 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6861 (remove_internal): New field superceding remove_interpreter.
6862 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6863 Remove no-class methods starting with "_Jv_". And Replace null
6864 class or method names with the empty string. Stop at either the
6865 MainThread or a real Thread run() method.
6866 (newElement): Made static.
6867 * java/net/URLClassLoader.java (findClass): Throw
6868 ClassNotFoundExceptions including urls, plus parent using toString().
6869 (thisString): New field.
6870 (toString): New method.
6872 2005-02-10 Tom Tromey <tromey@redhat.com>
6874 * external/sax/Makefile.in: Rebuilt.
6875 * external/sax/Makefile.am (all-local): Removed.
6876 (BUILT_SOURCES): New variable.
6877 (mostlyclean-local): No error if no classes to delete.
6878 * external/w3c_dom/Makefile.in: Rebuilt.
6879 * external/w3c_dom/Makefile.am (all-local): Removed.
6880 (BUILT_SOURCES): New variable.
6881 (mostlyclean-local): No error if no classes to delete.
6883 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6885 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6886 of mauve and libjava.
6888 2005-02-09 Tom Tromey <tromey@redhat.com>
6890 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6891 jar file with OPEN_DELETE.
6892 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6893 OPEN_DELETE is used.
6895 2005-02-09 Tom Tromey <tromey@redhat.com>
6897 * java/util/zip/InflaterInputStream.java (markSupported):
6899 (mark, reset): Likewise.
6901 2005-02-08 Tom Tromey <tromey@redhat.com>
6903 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6904 name or port is missing.
6905 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6906 AUTHORITY_PORT_GROUP): Updated.
6908 2005-02-08 Tom Tromey <tromey@redhat.com>
6910 * configure: Rebuilt.
6911 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6914 2005-02-07 Tom Tromey <tromey@redhat.com>
6916 * java/lang/natRuntime.cc (insertSystemProperties): Set
6917 sun.boot.class.path earlier.
6919 2005-02-07 Tom Tromey <tromey@redhat.com>
6921 * defineclass.cc (handleClassBegin): Use
6922 _Jv_RegisterInitiatingLoader.
6923 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6924 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6925 class. Use _Jv_UnregisterInitiatingLoader.
6926 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6929 2005-02-07 Mark Wielaard <mark@klomp.org>
6931 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6932 java/util/regex/Matcher.java (lookingAt): Set position when match
6934 (matches): Implemented through lookingAt().
6936 2005-02-07 Mark Wielaard <mark@klomp.org>
6938 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6939 * java/util/regex/Pattern.java (split(CharSequence,int)):
6940 Fix while empties > 0 loops.
6942 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6944 * gnu/java/nio/charset/ISO_8859_1.java,
6945 gnu/java/nio/charset/US_ASCII.java,
6946 gnu/java/nio/charset/UTF_16.java,
6947 gnu/java/nio/charset/UTF_16_LE.java,
6948 gnu/java/nio/charset/UTF_16_BE.java,
6949 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6950 and aliases according to
6951 "http://www.iana.org/assignments/character-sets",
6952 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6953 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6954 * gnu/java/nio/charset/Provider.java: Made charset lookup
6955 case-insensitive which fixes bug #11740.
6957 2005-02-07 Tom Tromey <tromey@redhat.com>
6960 * Makefile.in: Rebuilt.
6961 * Makefile.am (src.zip): New target.
6962 (install-src.zip): Likewise.
6963 (sourcesdir): New variable.
6965 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6967 * javax/imageio/metadata/IIOMetadataNode.java:
6969 * javax/imageio/metadata/IIOAttr.java,
6970 javax/imageio/metadata/IIONamedNodeMap.java,
6971 javax/imageio/metadata/IIONodeList.java:
6974 2005-02-06 Graydon Hoare <graydon@redhat.com>
6976 * gnu/java/awt/ClasspathToolkit.java
6977 (registerImageIOSpis): New method.
6978 * javax/imageio/ImageIO.java
6979 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6980 (WriterMIMETypeFilter.filter): Likewise.
6981 (ImageReaderIterator): Pass extension argument through to SPI.
6982 (getReadersByFilter): Likewise.
6983 (getWritersByFilter): Likewise.
6984 (getImageReadersByFormatName): Likewise.
6985 (getImageReadersByMIMEType): Likewise.
6986 (getImageReadersBySuffix): Likewise.
6987 (getImageWritersByFormatName): Likewise.
6988 (getImageWritersByMIMEType): Likewise.
6989 (getImageWritersBySuffix): Likewise.
6992 * javax/imageio/ImageReader.java
6993 (progressListeners): Initialize.
6994 (setInput): Implement.
6995 * javax/imageio/ImageWriter.java
6996 (progressListeners): Initialize.
6997 (warningListeners): Likewise.
6998 (warningLocales): Likewise.
6999 (setOutput): Test "isInstance" rather than class equality.
7000 * javax/imageio/spi/IIORegistry.java
7001 (static): Add reader and writer SPIs.
7002 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7004 2005-02-06 Michael Koch <konqueror@gmx.de>
7006 * javax/imageio/metadata/IIOInvalidTreeException.java
7007 (IIOInvalidTreeException): Reformatted.
7008 * javax/imageio/spi/IIORegistry.java
7009 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7010 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7011 Reworked import statements.
7013 2005-02-06 Michael Koch <konqueror@gmx.de>
7015 * javax/imageio/stream/FileImageOutputStream.java:
7018 2005-02-06 Michael Koch <konqueror@gmx.de>
7020 * javax/imageio/stream/FileCacheImageInputStream.java,
7021 javax/imageio/stream/FileCacheImageOutputStream.java,
7022 javax/imageio/stream/FileImageInputStream.java,
7023 javax/imageio/stream/ImageInputStreamImpl.java,
7024 javax/imageio/stream/ImageOutputStreamImpl.java,
7025 javax/imageio/stream/MemoryCacheImageInputStream.java,
7026 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7027 Added all missing methods in javax.imageio.stream.
7029 2005-02-02 David Daney <ddaney@avtrex.com>
7031 * java/net/InetAddress.java (InetAddress): Make a private copy of
7033 * java/net/Inet4Address.java (getAddress): Return a copy of the
7035 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7037 (getAddress): Return a copy of the address.
7040 2005-02-02 Tom Tromey <tromey@redhat.com>
7042 * Makefile.in: Rebuilt.
7043 * Makefile.am (classes.stamp): New target, broken out from
7045 ($(all_java_class_files)): Depend on it.
7046 (libgcj-@gcc_version@.jar): Likewise.
7047 (all-recursive): Likewise.
7048 (CLEANFILES): Include classes.stamp.
7050 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7052 * link.cc: Include <stdio.h>
7054 2005-02-02 Tom Tromey <tromey@redhat.com>
7057 * Makefile.in: Rebuilt.
7058 * Makefile.am (ordinary_java_source_files): Added new class.
7059 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7060 Use system_instance, not instance.
7061 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7062 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7064 (system_instance): New field.
7065 (initialize): Initialize the system loader as well.
7066 (VMClassLoader): Default to LIB_CACHE.
7068 2005-02-02 Tom Tromey <tromey@redhat.com>
7070 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7071 * prims.cc: Fixed comment.
7073 2005-02-01 Tom Tromey <tromey@redhat.com>
7075 * Makefile.in: Rebuilt.
7076 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7077 (.java.class): Use BOOTCLASSPATH.
7079 2005-02-01 Tom Tromey <tromey@redhat.com>
7081 * external/w3c_dom/Makefile.am: New file.
7082 * external/w3c_dom/Makefile.in: New file.
7083 * external/sax/Makefile.am: New file.
7084 * external/sax/Makefile.in: New file.
7085 * external/Makefile.in: New file.
7086 * external/Makefile.am: New file.
7087 * external/README: New file from Classpath.
7088 * configure, aclocal.m4, Makefile.in: Rebuilt.
7089 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7090 * Makefile.am (SUBDIRS): Added external.
7091 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7092 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7093 (BOOTCLASSPATH): New variable.
7094 (AM_GCJFLAGS): Use it.
7095 (gnu_xml_source_files): New variable.
7096 (libgcj_la_SOURCES): Use it.
7097 (libgcj_la_LDADD): Include new convenience libraries.
7098 (lib_org_ietf_jgss_la_SOURCES): Removed.
7099 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7100 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7101 (lib_org_w3c_dom_la_SOURCES): Removed.
7102 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7103 (lib_org_w3c_dom_la_LIBADD): Likewise.
7104 (lib_org_xml_sax_la_SOURCES): Removed.
7105 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7106 (lib_org_xml_sax_la_LIBADD): Likewise.
7107 (all_java_source_files): Updated.
7108 (property_files): Likewise.
7109 (libgcj-@gcc_version@.jar): Include classes from external/.
7110 (javax_source_files): Updated.
7111 (ordinary_java_source_files): Updated.
7112 * javax/xml/XMLConstants.java,
7113 javax/xml/datatype/DatatypeConfigurationException.java,
7114 javax/xml/datatype/DatatypeConstants.java,
7115 javax/xml/datatype/DatatypeFactory.java,
7116 javax/xml/datatype/Duration.java,
7117 javax/xml/datatype/XMLGregorianCalendar.java,
7118 javax/xml/datatype/package.html,
7119 javax/xml/namespace/NamespaceContext.java,
7120 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7121 javax/xml/parsers/DocumentBuilder.java,
7122 javax/xml/parsers/DocumentBuilderFactory.java,
7123 javax/xml/parsers/FactoryConfigurationError.java,
7124 javax/xml/parsers/ParserConfigurationException.java,
7125 javax/xml/parsers/SAXParser.java,
7126 javax/xml/parsers/SAXParserFactory.java,
7127 javax/xml/parsers/package.html,
7128 javax/xml/transform/ErrorListener.java,
7129 javax/xml/transform/OutputKeys.java,
7130 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7131 javax/xml/transform/SourceLocator.java,
7132 javax/xml/transform/Templates.java,
7133 javax/xml/transform/Transformer.java,
7134 javax/xml/transform/TransformerConfigurationException.java,
7135 javax/xml/transform/TransformerException.java,
7136 javax/xml/transform/TransformerFactory.java,
7137 javax/xml/transform/TransformerFactoryConfigurationError.java,
7138 javax/xml/transform/URIResolver.java,
7139 javax/xml/transform/package.html,
7140 javax/xml/transform/dom/DOMLocator.java,
7141 javax/xml/transform/dom/DOMResult.java,
7142 javax/xml/transform/dom/DOMSource.java,
7143 javax/xml/transform/dom/package.html,
7144 javax/xml/transform/sax/SAXResult.java,
7145 javax/xml/transform/sax/SAXSource.java,
7146 javax/xml/transform/sax/SAXTransformerFactory.java,
7147 javax/xml/transform/sax/TemplatesHandler.java,
7148 javax/xml/transform/sax/TransformerHandler.java,
7149 javax/xml/transform/sax/package.html,
7150 javax/xml/transform/stream/StreamResult.java,
7151 javax/xml/transform/stream/StreamSource.java,
7152 javax/xml/transform/stream/package.html,
7153 javax/xml/validation/Schema.java,
7154 javax/xml/validation/SchemaFactory.java,
7155 javax/xml/validation/TypeInfoProvider.java,
7156 javax/xml/validation/Validator.java,
7157 javax/xml/validation/ValidatorHandler.java,
7158 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7159 javax/xml/xpath/XPathConstants.java,
7160 javax/xml/xpath/XPathException.java,
7161 javax/xml/xpath/XPathExpression.java,
7162 javax/xml/xpath/XPathExpressionException.java,
7163 javax/xml/xpath/XPathFactory.java,
7164 javax/xml/xpath/XPathFactoryConfigurationException.java,
7165 javax/xml/xpath/XPathFunction.java,
7166 javax/xml/xpath/XPathFunctionException.java,
7167 javax/xml/xpath/XPathFunctionResolver.java,
7168 javax/xml/xpath/XPathVariableResolver.java,
7169 javax/xml/xpath/package.html: New files, from GNU JAXP.
7170 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7171 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7172 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7173 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7174 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7175 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7176 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7177 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7178 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7179 org/w3c/dom/ranges/DocumentRange.java,
7180 org/w3c/dom/ranges/Range.java,
7181 org/w3c/dom/ranges/RangeException.java,
7182 org/w3c/dom/traversal/DocumentTraversal.java,
7183 org/w3c/dom/traversal/NodeFilter.java,
7184 org/w3c/dom/traversal/NodeIterator.java,
7185 org/w3c/dom/traversal/TreeWalker.java,
7186 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7187 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7188 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7189 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7190 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7191 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7192 org/xml/sax/SAXNotRecognizedException.java,
7193 org/xml/sax/SAXNotSupportedException.java,
7194 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7195 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7196 org/xml/sax/ext/DeclHandler.java,
7197 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7198 org/xml/sax/helpers/AttributeListImpl.java,
7199 org/xml/sax/helpers/AttributesImpl.java,
7200 org/xml/sax/helpers/DefaultHandler.java,
7201 org/xml/sax/helpers/LocatorImpl.java,
7202 org/xml/sax/helpers/NamespaceSupport.java,
7203 org/xml/sax/helpers/NewInstance.java,
7204 org/xml/sax/helpers/ParserAdapter.java,
7205 org/xml/sax/helpers/ParserFactory.java,
7206 org/xml/sax/helpers/XMLFilterImpl.java,
7207 org/xml/sax/helpers/XMLReaderAdapter.java,
7208 org/xml/sax/helpers/XMLReaderFactory.java,
7209 org/xml/sax/helpers/package.html: Moved to external/.
7210 * external/sax/README,
7211 external/sax/org/xml/sax/AttributeList.java,
7212 external/sax/org/xml/sax/Attributes.java,
7213 external/sax/org/xml/sax/ContentHandler.java,
7214 external/sax/org/xml/sax/DTDHandler.java,
7215 external/sax/org/xml/sax/DocumentHandler.java,
7216 external/sax/org/xml/sax/EntityResolver.java,
7217 external/sax/org/xml/sax/ErrorHandler.java,
7218 external/sax/org/xml/sax/HandlerBase.java,
7219 external/sax/org/xml/sax/InputSource.java,
7220 external/sax/org/xml/sax/Locator.java,
7221 external/sax/org/xml/sax/Parser.java,
7222 external/sax/org/xml/sax/SAXException.java,
7223 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7224 external/sax/org/xml/sax/SAXNotSupportedException.java,
7225 external/sax/org/xml/sax/SAXParseException.java,
7226 external/sax/org/xml/sax/XMLFilter.java,
7227 external/sax/org/xml/sax/XMLReader.java,
7228 external/sax/org/xml/sax/package.html,
7229 external/sax/org/xml/sax/ext/Attributes2.java,
7230 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7231 external/sax/org/xml/sax/ext/DeclHandler.java,
7232 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7233 external/sax/org/xml/sax/ext/EntityResolver2.java,
7234 external/sax/org/xml/sax/ext/LexicalHandler.java,
7235 external/sax/org/xml/sax/ext/Locator2.java,
7236 external/sax/org/xml/sax/ext/Locator2Impl.java,
7237 external/sax/org/xml/sax/ext/package.html,
7238 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7239 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7240 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7241 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7242 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7243 external/sax/org/xml/sax/helpers/NewInstance.java,
7244 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7245 external/sax/org/xml/sax/helpers/ParserFactory.java,
7246 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7247 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7248 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7249 external/sax/org/xml/sax/helpers/package.html,
7250 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7251 external/w3c_dom/org/w3c/dom/Attr.java,
7252 external/w3c_dom/org/w3c/dom/CDATASection.java,
7253 external/w3c_dom/org/w3c/dom/CharacterData.java,
7254 external/w3c_dom/org/w3c/dom/Comment.java,
7255 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7256 external/w3c_dom/org/w3c/dom/DOMError.java,
7257 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7258 external/w3c_dom/org/w3c/dom/DOMException.java,
7259 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7260 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7261 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7262 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7263 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7264 external/w3c_dom/org/w3c/dom/Document.java,
7265 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7266 external/w3c_dom/org/w3c/dom/DocumentType.java,
7267 external/w3c_dom/org/w3c/dom/Element.java,
7268 external/w3c_dom/org/w3c/dom/Entity.java,
7269 external/w3c_dom/org/w3c/dom/EntityReference.java,
7270 external/w3c_dom/org/w3c/dom/NameList.java,
7271 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7272 external/w3c_dom/org/w3c/dom/Node.java,
7273 external/w3c_dom/org/w3c/dom/NodeList.java,
7274 external/w3c_dom/org/w3c/dom/Notation.java,
7275 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7276 external/w3c_dom/org/w3c/dom/Text.java,
7277 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7278 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7279 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7280 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7281 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7282 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7283 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7284 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7285 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7286 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7287 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7288 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7289 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7290 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7291 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7292 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7293 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7294 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7295 external/w3c_dom/org/w3c/dom/css/Counter.java,
7296 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7297 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7298 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7299 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7300 external/w3c_dom/org/w3c/dom/css/Rect.java,
7301 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7302 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7303 external/w3c_dom/org/w3c/dom/events/Event.java,
7304 external/w3c_dom/org/w3c/dom/events/EventException.java,
7305 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7306 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7307 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7308 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7309 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7310 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7311 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7312 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7313 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7314 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7315 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7316 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7317 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7318 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7319 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7320 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7321 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7322 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7323 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7324 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7325 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7326 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7327 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7328 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7329 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7330 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7331 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7332 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7333 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7334 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7335 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7336 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7337 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7338 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7339 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7340 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7341 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7342 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7343 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7344 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7345 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7346 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7347 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7348 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7349 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7350 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7351 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7352 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7353 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7354 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7355 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7356 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7357 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7358 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7359 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7360 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7361 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7362 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7363 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7364 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7365 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7366 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7367 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7368 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7369 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7370 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7371 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7372 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7373 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7374 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7375 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7376 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7377 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7378 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7379 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7380 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7381 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7382 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7383 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7384 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7385 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7386 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7387 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7388 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7389 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7390 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7391 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7392 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7393 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7394 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7395 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7396 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7399 2005-01-31 Anthony Green <green@redhat.com>
7401 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7402 Support IP_MULTICAST_LOOP.
7403 (setOption): Support IP_MULTICAST_LOOP.
7405 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7406 SO_REUSEADDR support.
7407 (getOption): Support SO_REUSEADDR.
7409 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7412 * java/util/Date.java
7413 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7415 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7417 (getTimezoneOffset): Inverted sign.
7419 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7421 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7422 remove other passing tests and add new XFAILs.
7424 2005-01-24 Tom Tromey <tromey@redhat.com>
7426 * java/lang/Class.h (next): Updated documentation. Renamed to
7428 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7429 _Jv_CheckABIVersion.
7430 (_Jv_RegisterClasses_Counted): Likewise.
7431 (_Jv_RegisterClassHookDefault): Fix starting condition of
7432 duplicate-checking loop.
7433 * include/jvm.h (GCJ_VERSION): New define.
7434 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7435 (_Jv_CheckABIVersion): New function.
7437 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7439 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7440 (libgij_la_LDFLAGS): Add.
7441 * Makefile.in: Rebuilt.
7443 2005-01-24 Roger Sayle <roger@eyesopen.com>
7446 * testsuite/libjava.compile/PR19295.java: New test case.
7448 2005-01-19 Tom Tromey <tromey@redhat.com>
7450 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7451 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7452 if 'handler' is valid.
7454 2005-01-17 Tom Tromey <tromey@redhat.com>
7456 * java/text/MessageFormat.java (scanString): Changed how quoting
7458 (scanFormatElement): Likewise.
7460 2004-12-07 Mark Wielaard <mark@klomp.org>
7462 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7464 2005-01-15 Michael Koch <konqueror@gmx.de>
7468 (AUTHORITY_REGEXP): New regexp constant.
7469 (AUTHORITY_USERINFO_GROUP): New constant.
7470 (AUTHORITY_HOST_GROUP): Likewise.
7471 (AUTHORITY_PORT_GROUP): Likewise.
7472 (port): Changed default value to -1.
7473 (parseURI): Parse authority part and initialize host,
7476 2005-01-14 Robin Green <greenrd@greenrd.org>
7478 * java/io/File.java (toURI): Generate a URI which we understand.
7480 2005-01-13 Graydon Hoare <graydon@redhat.com>
7482 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7483 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7484 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7485 * jni.cc: Reuse bottom frame between calls, avoid clearing
7486 frame when no local references are made.
7488 2005-01-13 Michael Koch <konqueror@gmx.de>
7491 * java/lang/Thread.java
7492 (Thread): Call checkAccess().
7493 (stop): Fixed argument name to match javadoc.
7494 * java/lang/natThread.cc
7495 (interrupt): Call checkAccess().
7498 2005-01-11 Michael Koch <konqueror@gmx.de>
7501 * java/net/URL.java (URL): Handle specs like
7502 "/redir?http://domain2.com/index.html" which start with a slash.
7504 2005-01-11 Michael Koch <konqueror@gmx.de>
7506 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7507 * gnu/java/net/BASE64.java,
7508 gnu/java/net/EmptyX509TrustManager.java,
7509 gnu/java/net/LineInputStream.java,
7510 gnu/java/net/protocol/http/Authenticator.java,
7511 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7512 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7513 gnu/java/net/protocol/http/ChunkedInputStream.java,
7514 gnu/java/net/protocol/http/Cookie.java,
7515 gnu/java/net/protocol/http/CookieManager.java,
7516 gnu/java/net/protocol/http/Credentials.java,
7517 gnu/java/net/protocol/http/HTTPConnection.java,
7518 gnu/java/net/protocol/http/HTTPDateFormat.java,
7519 gnu/java/net/protocol/http/HTTPURLConnection.java,
7520 gnu/java/net/protocol/http/Headers.java,
7521 gnu/java/net/protocol/http/Request.java,
7522 gnu/java/net/protocol/http/RequestBodyWriter.java,
7523 gnu/java/net/protocol/http/Response.java,
7524 gnu/java/net/protocol/http/ResponseBodyReader.java,
7525 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7526 gnu/java/net/protocol/http/SimpleCookieManager.java,
7527 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7528 gnu/java/net/protocol/http/event/ConnectionListener.java,
7529 gnu/java/net/protocol/http/event/RequestEvent.java,
7530 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7531 * gnu/java/net/protocol/http/Connection.java: Removed.
7532 * gnu/java/net/protocol/http/Handler.java,
7533 javax/net/ssl/HttpsURLConnection.java: Updated.
7534 * Makefile.am: Added new files and remove old ones.
7535 * Makefile.in: Regenerated.
7537 2005-01-11 Tom Tromey <tromey@redhat.com>
7540 * java/io/BufferedInputStream.java (read): Repeatedly read to
7542 (refill): Change test to see if buffer must be grown.
7544 2005-01-10 Tom Tromey <tromey@redhat.com>
7546 * mauve-libgcj: Exclude some swing tests.
7548 2005-01-10 Tom Tromey <tromey@redhat.com>
7550 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7551 * java/lang/Package.java (getPackages): Use VMClassLoader when
7553 (getPackage): Likewise.
7554 * prims.cc (_Jv_CreateJavaVM): Call
7555 _Jv_RegisterBootstrapPackages.
7556 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7557 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7558 (getPackages): Likewise.
7559 (definedPackages): New field.
7560 (definePackageForNative): New method.
7561 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7562 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7563 * defineclass.cc (handleClassBegin): Use
7564 ClassLoader.findLoadedClass.
7565 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7567 (struct _Jv_LoaderInfo): Removed.
7568 (initiated_classes): Likewise.
7569 (_Jv_UnregisterClass): Don't use initiated_classes.
7570 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7571 (_Jv_FindClass): Register classes found during boostrap.
7572 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7573 (bootstrap_class_list): New global.
7574 (bootstrap_index): Likewise.
7575 (_Jv_RegisterBootstrapPackages): New function.
7576 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7577 definePackageForNative.
7578 (findClass): Updated.
7579 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7582 2005-01-10 Tom Tromey <tromey@redhat.com>
7585 * include/jvm.h (_Jv_Linker::find_field): Declare.
7586 (_Jv_Linker::find_field_helper): Likewise.
7587 * link.cc (find_field_helper): New method.
7588 (find_field): Likewise.
7589 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7591 (link_symbol_table): Use find_field.
7593 2005-01-10 Michael Koch <konqueror@gmx.de>
7596 * java/util/Locale.java (Locale): Don't uppercase variant.
7597 (getISOCountries): Fixed typo in javadoc.
7599 2005-01-10 Michael Koch <konqueror@gmx.de>
7601 * java/util/SimpleTimeZone.java (checkRule):
7602 Throw IllegalArgumentException on invalid month values.
7603 * java/util/TimeZone.java (setID):
7604 Throw NullPointerException if needed.
7606 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7608 * java/util/SimpleTimeZone.java (getOffset):
7609 offset end date with daylight savings
7611 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7613 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7614 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7616 2005-01-09 Michael Koch <konqueror@gmx.de>
7619 * java/net/InetAddress.java (getLocalHost):
7620 Throw UnknownHostException if local hostname cannot be determined.
7622 2005-01-06 Tom Tromey <tromey@redhat.com>
7624 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7626 2005-01-07 Michael Koch <konqueror@gmx.de>
7629 * java/nio/Buffer.java (address): New field.
7630 * java/nio/DirectByteBufferImpl.java (address): Removed.
7631 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7632 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7633 Explicitly initialize Buffer.address if needed.
7634 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7635 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7636 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7637 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7638 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7639 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7640 DirectByteBufferImpl object.
7641 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7642 * testsuite/libjava.jni/directbuffer.c,
7643 testsuite/libjava.jni/directbuffer.java,
7644 testsuite/libjava.jni/directbuffer.out,
7645 testsuite/libjava.jni/bytebuffer.c,
7646 testsuite/libjava.jni/bytebuffer.java,
7647 testsuite/libjava.jni/bytebuffer.out: New files.
7649 2005-01-05 Tom Tromey <tromey@redhat.com>
7651 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7653 (compressedSize): Now 'long'. Default to -1.
7654 (getCompressedSize): Rewrote.
7655 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7656 deflate at all if we need input.
7658 2005-01-05 Tom Tromey <tromey@redhat.com>
7661 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7664 2005-01-05 Tom Tromey <tromey@redhat.com>
7666 * java/lang/natRuntime.cc (insertSystemProperties): Set
7667 java.ext.dirs earlier.
7669 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7671 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7672 sync_info element of the object if needed.
7674 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7676 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7677 a non-zero exit status from 'false'.
7679 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7681 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.