1 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
4 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
5 (static): Add possessive matching to JAVA_1_4 syntax.
6 * gnu/regexp/RETokenRepeated.java (possessive): New field.
7 (makePossessive, isPossessive): New methods.
8 (match): Don't back off during possessive matching.
9 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
10 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
13 2005-06-01 Keith Seitz <keiths@redhat.com>
15 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
16 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
17 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
19 2005-06-01 Tom Tromey <tromey@redhat.com>
22 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
23 (currentLoader): New method.
24 * java/io/ObjectInputStream.java (resolveProxyClass): Use
26 (currentLoader): Now native.
27 (currentClassLoader): Removed.
28 * testsuite/libjava.lang/pr21785.java: New file.
29 * testsuite/libjava.lang/pr21785.out: New file.
31 2005-06-01 Tom Tromey <tromey@redhat.com>
34 * java/lang/natString.cc (substring): Changed sharing heuristic.
36 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
39 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
40 MAXPATHLEN. Format exception message using a StringBuffer instead.
42 2005-05-29 Michael Koch <konqueror@gmx.de>
45 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
47 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
49 * ChangeLog: Fix typo.
51 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
53 Testsuite adjustments for PR java/19870.
54 * testsuite/libjava.lang/PR19870.java: New testcase.
55 * testsuite/libjava.lang/PR19870.out: Expected output for the
57 * testsuite/libjava.jacks/jacks.xfail: Add
58 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
61 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
63 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
64 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
65 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
67 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
68 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
69 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
70 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
72 2005-05-25 Richard Henderson <rth@redhat.com>
75 * sysdep/descriptor-n.h: New file.
76 * sysdep/descriptor-y.h: New file.
77 * sysdep/powerpc/descriptor.h: New file.
78 * configure.host: Set $descriptor_h appropriate for the host.
79 * configure.ac: Link it.
80 * configure: Regenerate.
81 * stacktrace.cc: Include sysdep/descriptor.h.
82 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
84 2005-05-25 Chris Burdess <dog@gnu.org>
86 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
89 2005-05-24 Gary Benson <gbenson@redhat.com>
92 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
93 Handle DateFormat.DEFAULT case correctly.
95 2005-05-21 Tom Tromey <tromey@redhat.com>
98 * java/lang/ref/natReference.cc (find_slot): Handle case where
99 table has no NULL entries.
100 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
101 table has no NULL entries.
103 2005-05-22 Andreas Jaeger <aj@suse.de>
105 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
108 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
110 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
112 2005-05-19 Richard Henderson <rth@redhat.com>
114 * exception.cc: Revert 05-17 gcc_unreachable change.
116 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
118 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
119 _Jv_RegisterInitiatingLoader to register array classes, not
121 (_Jv_RegisterInitiatingLoader): Give up if called very early during
122 bootstrapping. Add a FIXME to handle this case better.
124 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
126 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
128 (libgcj_la_SOURCES): New. Move sources here.
129 (libgcj.la): Remove rule.
131 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
134 * gnu/java/security/provider/DSASignature.java: Import updates
137 2005-05-18 Anthony Green <green@redhat.com>
139 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
140 classpath_jawt_object_unlock, classpath_jawt_create_lock,
141 classpath_jawt_destroy_lock): New functions.
142 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
143 classpath_jawt_object_unlock, classpath_jawt_create_lock,
144 classpath_jawt_destroy_lock): New functions.
145 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
147 * jawt.c: #include malloc.h.
148 (_Jv_Lock): Use lock.
150 (_Jv_GetDrawingSurface): Initialize lock.
151 (_Jv_FreeDrawingSurface): Destroy lock.
152 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
154 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
156 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
157 * Makefile.in: Regenerate.
159 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
161 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
162 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
163 * aclocal.m4, configure, config.h.in, include/config.h.in,
164 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
165 external/Makefile.in, external/sax/Makefile.in,
166 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
168 2005-05-17 David Daney <ddaney@avtrex.com>
171 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
173 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
175 * exception.cc (abort): Remove std::abort hack.
176 (gcc_unreacheable): Define.
178 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
180 * Makefile.am (Makefile.deps): Do not create native.list and
182 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
183 * Makefile.in: Regenerate.
185 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
187 * configure.ac (--enable-libgcj-multifile): Remove.
189 * Makefile.am (all_native_compiled_source_files,
190 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
191 all_libgcj_lo_files, all_xlib_lo_files,
192 all_java_deps_files, all_java_stamp_files,
193 all_java_filelist_files): New variables.
194 (EXTRA_DIST): New Automake variable.
195 (CLEANFILES): Add .stamp, .list and .lo files.
196 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
197 (classes.stamp): Depend on $(all_java_stamp_files).
198 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
199 going through write_entries_to_file.
201 (all_java_source_files, all_property_files): Move earlier.
202 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
203 all_java_class_files): Remove.
204 (gtk_awt_peer_sources): Rename to...
205 (gtk_awt_peer_source_files): ... this. Adjust throughout.
208 (libgcj0_convenience_la_SOURCES): Remove Java source files.
209 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
210 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
211 (libgcj_la_SOURCES): Remove.
212 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
213 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
214 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
216 * configure: Regenerate.
217 * Makefile.in: Regenerate.
218 * external/Makefile.in: Regenerate.
219 * external/sax/Makefile.in: Regenerate.
220 * external/w3c_dom/Makefile.in: Regenerate.
221 * gcj/Makefile.in: Regenerate.
222 * include/Makefile.in: Regenerate.
223 * libltdl/Makefile.in: Regenerate.
224 * testsuite/Makefile.in: Regenerate.
226 2005-05-16 Tom Tromey <tromey@redhat.com>
228 * java/nio/charset/Charset.java (encode, decode): Synchronize on
229 'this', not the class.
231 2005-05-16 Tom Tromey <tromey@redhat.com>
233 * gnu/java/net/protocol/http/Headers.java (parse): Include final
236 2005-05-16 Tom Tromey <tromey@redhat.com>
239 * java/net/URI.java (unquote): Handle lower-case letters as well.
241 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
244 * gnu/regexp/RE.java: Add support for quoting constructs.
246 2005-05-15 Tom Tromey <tromey@redhat.com>
248 * java/lang/String.java (startsWith): Fixed javadoc.
250 2005-05-15 Tom Tromey <tromey@redhat.com>
253 * testsuite/libjava.compile/pr21519.java: New file.
254 * testsuite/libjava.compile/pr21519.no-link: New file.
256 2005-05-15 Tom Tromey <tromey@redhat.com>
258 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
260 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
263 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
264 interrupt status flag if _Jv_CondWait is interrupted.
266 2005-05-13 Tom Tromey <tromey@redhat.com>
268 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
271 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
273 * include/jvm.h (gcj::verifyClasses): Declare.
274 * link.cc (gcj::verbose_class_flag): Moved.
275 * prims.cc (gcj::verifyClasses): Define here.
276 (gcj::verbose_class_flag): Move definition here.
277 (_Jv_Linker::wait_for_state): Don't call verify_class
278 if gcj::verifyClasses is not set.
279 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
281 2005-05-12 Aaron Luchko <aluchko@redhat.com>
283 * gij.cc (main): Recognize '-verify', '-noverify', and
286 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
288 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
290 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
292 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
295 2005-05-11 Tom Tromey <tromey@redhat.com>
297 * external/w3c_dom/Makefile.in: Rebuilt.
298 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
300 * external/sax/Makefile.in: Rebuilt.
301 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
303 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
305 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
306 Call _Jv_CopyClassesToSystemLoader.
307 * java/lang/natClassLoader.cc (system_class_list): New global.
308 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
310 (_Jv_CopyClassesToSystemLoader): New function.
311 (SYSTEM_LOADER_INITIALIZED): New define.
312 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
313 (_Jv_CheckABIVersion): Use it.
314 (_Jv_ClassForBootstrapLoader): New function.
315 * Makefile.in: Rebuilt.
316 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
318 2005-05-10 Tom Tromey <tromey@redhat.com>
320 * gcj/javaprims.h: Updated.
321 * java/lang/String.java (String(StringBuilder)): New constructor.
322 * java/lang/natStringBuilder.cc: New file.
323 * java/lang/StringBuilder.java: New file.
324 * Makefile.in: Rebuilt.
325 * Makefile.am (core_java_source_files): Added StringBuilder.java.
326 (nat_source_files): Added natStringBuilder.cc.
328 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
331 * testsuite/libjava.jacks/jacks.xfail: Adjust.
333 2005-05-09 Mike Stump <mrs@apple.com>
335 * configure: Regenerate.
337 2005-05-09 David Daney <ddaney@avtrex.com>
339 * java/util/BitSet.java (get(int, int)): Fix breakage when
340 requested set doesn't start on a multiple of 64.
342 2005-05-07 Matthias Klose <doko@debian.org>
344 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
346 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
348 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
349 * Makefile.in: Regenerate.
350 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
351 (createCompatibleVolatileImage(int,int)): Implement.
352 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
354 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
356 (createVolatileImage): Implement.
357 (createBuffers): Likewise.
358 (getBackBuffer): Likewise.
360 (destroyBuffers): Likewise.
361 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
362 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
363 (CanvasFlipBufferStrategy): Likewise.
364 (createBufferStrategy(int)): New method.
365 (createBufferStrategy(int,BufferCapabilities)): Likewise.
366 * java/awt/Component.java (BltBufferStrategy): Implement and
368 (FlipBufferStrategy): Likewise.
369 * java/awt/Window.java (WindowBltBufferStrategy): New class.
370 (WindowFlipBufferStrategy): Likewise.
371 (createBufferStrategy(int)): New method.
372 (createBufferStrategy(int,BufferCapabilities)): Likewise.
373 (getBufferStrategy): Likewise.
374 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
375 front to frontCaps and back to backCaps.
377 2005-05-06 Michael Koch <konqueror@gmx.de>
379 * java/awt/BufferCapabilities.java
380 (BufferCapabilities): Merged javadoc.
382 2005-05-06 Michael Koch <konqueror@gmx.de>
384 * java/util/Locale.java
385 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
386 (getLocale): New methods. Use it everywhere where instances of Locales
388 (getDisplayLanguage): Merged javadoc.
389 (getDisplayCountry): Likewise.
390 (getDisplayVariant): Likewise.
392 2005-05-06 Archie Cobbs <archie@dellroad.org>
394 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
395 use DeleteLocalRef() to avoid exhausting local native references.
397 2005-05-06 Mark Wielaard <mark@klomp.org>
399 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
400 (window_delete_cb): Don't use C++ style comments.
402 2005-05-06 Robert Schuster <thebohemian@gmx.net>
404 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
407 2005-05-06 Robert Schuster <thebohemian@gmx.net>
409 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
410 (window_delete_cb): Made the function return TRUE.
412 2005-05-06 Roman Kennke <roman@kennke.org>
414 * javax/swing/text/PlainView.java
415 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
417 * javax/swing/text/Utilities.java
418 (drawTabbedText): Initilialize local variable pos correctly.
420 2005-05-06 Roman Kennke <roman@kennke.org>
422 * javax/swing/text/AbstractDocument.java
423 (LeafElement): Made start and end package private fields for
424 effective reindexing.
425 * javax/swing/text/PlainDocument.java
426 (constructor): The field rootElement is always BranchElement,
427 so we handle it as such.
428 (removeUpdate): Rewritten reindexing for removeUpdate so that
429 the actual removal is taken into account.
431 2005-05-06 Roman Kennke <roman@kennke.org>
433 * javax/swing/text/GapContent.java:
434 Removed debugging output stuff, which I accidentally left in.
436 2005-05-06 Roman Kennke <roman@kennke.org>
438 * javax/swing/text/GapContent.java:
439 Implemented a real GapContent. Only the public methods have
440 been implemented so far and still no UndoableEdit support.
442 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
444 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
447 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
449 * java/awt/image/BufferStrategy.java: Document.
451 * java/awt/BufferCapabilities.java: Document.
453 2005-05-04 Tom Tromey <tromey@redhat.com>
455 * java/nio/channels/FileLock.java (toString): Entirely avoid
458 2005-05-04 Andrew Overholt <overholt@redhat.com>
460 * java/nio/channels/FileLock.java (toString): Re-implement using
463 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
465 * java/awt/ImageCapabilities.java: Document.
467 * java/awt/image/VolatileImage.java: Unindent copyright header.
469 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
471 * java/awt/image/VolatileImage.java: Document.
473 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
476 (init_glib_threads): Check if threading system is already
479 2005-05-03 Andrew Overholt <overholt@redhat.com>
482 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
483 could not be acquired.
484 * java/nio/channels/FileLock.java (toString): Re-implement to be
485 in line with other implementations.
487 2005-05-03 Tom Tromey <tromey@redhat.com>
489 * java/lang/VMSecurityManager.java (currentClassLoader): Use
490 'systemClasssLoader' directly.
492 2005-05-03 Tom Tromey <tromey@redhat.com>
494 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
495 call VMClassLoader.getSystemClassLoader.
497 2005-04-29 Michael Koch <konqueror@gmx.de>
499 * java/net/NetworkInterface.java
501 (NetworkInterface(String,InetAddress)): Made package-private.
502 (NetworkInterface(String,InetAddress[])): New constructor.
503 (getRealNetworkInterfaces): Removed.
504 (getByName): Use VMNetworkInterface.getInterfaces().
505 (getByInetAddress): Likewise.
506 (getNetworkInterfaces): Likewise.
507 * java/net/VMNetworkInterface.java,
508 java/net/natVMNetworkInterfaceNoNet.cc,
509 java/net/natVMNetworkInterfacePosix.c,c
510 java/net/natVMNetworkInterfaceWin32.cc: New files.
511 * java/net/natNetworkInterfaceNoNet.cc,
512 java/net/natNetworkInterfacePosix.cc,
513 java/net/natNetworkInterfaceWin32.cc: Removed.
516 * configure, Makefile.in: Regenerated.
518 2005-04-29 Andrew Haley <aph@redhat.com>
520 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
522 2005-04-29 Dalibor Topic <robilad@kaffe.org>
524 * java/nio/channels/FileChannelImpl.java
525 (FileChannelImpl(String, int)): Removed.
526 (FileChannelImpl(File, int)): Added. Check if opened file is a
528 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
529 Call FileChannelImpl(File, int).
530 * java/io/FileOutputStream.java (FileInputStream): Call
531 FileChannelImpl(File, int).
532 * java/io/RandomAccessFile.java (RandomAccessFile):
533 Call FileChannelImpl(File, int). Switched constructors around.
535 2005-04-27 Andrew Haley <aph@redhat.com>
538 * prims.cc (_Jv_ResolvePoolEntry): New function.
539 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
540 * link.cc (_Jv_Linker::find_field): New arg: found_class.
541 (resolve_pool_entry): Initialize the class in which a field is
543 (link_symbol_table): Pass new arg to found_class.
545 2005-04-29 Michael Koch <konqueror@gmx.de>
547 * java/nio/charset/Charset.java
548 (provider): Reformatted.
550 2005-04-29 Michael Koch <konqueror@gmx.de>
552 * gnu/java/net/protocol/http/HTTPConnection.java:
553 (userAgent): Initialize from system properties.
554 (initUserAgent): Removed.
556 2005-04-29 Mark Wielaard <mark@klomp.org>
558 * java/util/ResourceBundle.java (getObject): Clarify
559 MissingResourceException detailed message.
560 (tryBundle(String,ClassLoader)): Likewise.
562 2005-04-29 Robert Schuster <thebohemian@gmx.net>
564 * java/beans/FeatureDescriptor.java:
565 (getShortDescription): Implemented fallback mechanism and fixed
566 documentation (fixes bug #12637).
567 (getDisplayName): Dito.
569 2005-04-29 Robert Schuster <thebohemian@gmx.net>
571 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
572 will now be set correctly.
573 (flushCaches): Now flushes all cached intermediate data.
575 2005-04-28 Michael Koch <konqueror@gmx.de>
577 * java/net/InetAddress.java
578 (aton): Fixed javadoc.
581 2005-04-28 Tom Tromey <tromey@redhat.com>
583 * javax/swing/Timer.java
584 (drainEvents, queueEvent): Now package-private.
586 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
588 * javax/swing/Timer.java
589 (constructor): Assigning initialDelay.
591 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
593 * javax/swing/Timer.java
594 (Waker.run): firing the first action event.
596 2005-04-28 Michael Koch <konqueror@gmx.de>
598 * javax/swing/Timer.java: Reordered all fields and methods,
601 2005-04-28 Michael Koch <konqueror@gmx.de>
603 * javax/swing/Timer.java: Javadocs merged
606 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
608 * gnu/java/net/protocol/file/Connection.java
609 (StaticData): New inner class to contain statics.
610 (connect, getHeaderField): Modified to use StaticData.
612 2005-04-28 Michael Koch <konqueror@gmx.de>
614 * gnu/java/net/protocol/file/Connection.java
615 (lineSeparator): Initialize with SystemProperties.getProperty().
617 2005-04-27 Chris Burdess <dog@gnu.org>
619 * gnu/java/net/protocol/file/Connection.java: Return correct content
620 length for directory listing.
621 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
622 #11285: return valid URLs for directories.i
624 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
626 * Makefile.am (ordinary_java_source_files): Add
627 gnu/java/net/protocol/https/Handler.java.
628 * Makefile.in: Regenerate.
629 * java/net/URL.java: Remove org.metastatic.jessie from default
630 protocol search path.
632 2005-04-27 Chris Burdess <dog@gnu.org>
634 * gnu/java/net/protocol/https/Handler.java: New file.
636 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
638 * javax/imageio/spi/IIORegistry.java (IIORegistry):
639 Don't assume that awt Toolkit is always ClasspathToolkit.
641 2005-04-27 Chris Burdess <dog@gnu.org>
643 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
644 absolute and relative paths in Location header.
646 2005-04-27 Chris Burdess <dog@gnu.org>
648 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
649 FileNotFoundException and implement getErrorStream on 404.
651 2005-04-27 Sven de Marothy <sven@physto.se>
653 * java/util/TimeZone.java,
654 (getDefaultDisplayName): Fix previous fix.
656 2005-04-27 Sven de Marothy <sven@physto.se>
658 * java/util/TimeZone.java,
659 (getDefaultDisplayName): Don't print zero offsets.
661 2005-04-27 Roman Kennke <roman@kennke.org>
663 * javax/swing/plaf/basic/BasicScrollBarUI
664 (getThumbBounds): Do not make thumb smaller than
666 * javax/swing/plaf/metal/MetalLookAndFeel
667 (initComponentDefaults): Added color defaults for ScrollBar.
668 * javax/swing/plaf/metal/MetalScrollBarUI
670 (getMinimumThumbSize): Added.
672 2005-04-27 Roman Kennke <roman@kennke.org>
674 * javax/swing/plaf/metal/MetalLookAndFeel
675 (initComponentDefaults): Added some default colors.
677 2005-04-27 Roman Kennke <roman@kennke.org>
679 * javax/swing/plaf/basic/BasicScrollBarUI.java
680 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
681 to 'ScrollBar.thumbShadow'. The formes does not exist.
682 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
684 2005-04-27 Roman Kennke <roman@kennke.org>
686 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
687 * javax/swing/BoxLayout.java: Likewise.
688 * javax/swing/UIManager.java: Likewise.
689 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
690 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
691 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
692 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
693 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
694 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
695 * javax/swing/text/Document.java: Likewise.
696 * javax/swing/text/GapContent.java: Likewise.
697 * javax/swing/text/SimpleAttributeSet.java: Likewise.
698 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
700 2005-04-27 Roman Kennke <roman@kennke.org>
702 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
703 (getPropertyPrefix): Added.
705 2005-04-27 Roman Kennke <roman@kennke.org>
707 * javax/swing/plaf/basic/BasicButtonUI.java
708 (getPropertyPrefix): Added.
709 (installDefaults): Use getPropertyPrefix instead of hard-coded
712 2005-04-27 Roman Kennke <roman@kennke.org>
714 * javax/swing/JToggleButton.java
715 (JToggleButton): Removed horizontalAlignment setting, this
716 was wrong. Added setting of an actionCommand, ToggleButtons
717 have "" as default actionCommand.
719 2005-04-27 Michael Koch <konqueror@gmx.de>
721 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
722 to work around CNI limitation.
724 2005-04-27 Sven de Marothy <sven@physto.se>
726 * java/nio/charset/Charset.java:
727 (defaultCharset()): New method.
728 Status updated to 1.5
730 2005-04-27 Sven de Marothy <sven@physto.se>
732 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
734 2005-04-27 Sven de Marothy <sven@physto.se>
736 * java/nio/charset/Charset.java: Reset cached de/encoders.
738 2005-04-27 Robert Schuster <thebohemian@gmx.net>
740 * java/nio/charset/Charset.java (forName): Throws
741 IllegalArgumentException when argument is null
742 and added documentation.
744 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
746 * java/nio/charset/Charset.java (providers):
747 New method to make an array of CharsetProviders defined in
748 META-INF/services/java.nio.charset.spi.CharsetProvider.
749 (charsetForName, availableCharsets): Use the
750 new method providers().
752 2005-04-26 Michael Koch <konqueror@gmx.de>
754 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
755 Fixed typos in javadocs.
756 (isSiteLocalAddress): Fixed handling of byte values.
757 (isMCLinkLocal): Likewise.
758 * java/net/Inet4Address.java
759 (isMulticastAddress): Call super method.
760 (isLoopbackAddress): Likewise.
761 (isAnyLocalAddress): Likewise.
762 (isLinkLocalAddress): Likewise.
763 (isSiteLocalAddress): Likewise.
764 (isMCGlobal): Likewise.
765 (isMCNodeLocal): Likewise.
766 (isMCLinkLocal): Likewise.
767 (isMCSiteLocal): Likewise.
768 (isMCOrgLocal): Likewise.
769 (getHostAddress): Likewise.
771 2005-04-26 Sven de Marothy <sven@physto.se>
773 * java/net/InetAddress.java
774 (toString): Don't print empty hostnames.
776 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
779 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
780 'false' to native lock().
781 (lock): Pass 'true' to native lock().
783 2005-04-26 Michael Koch <konqueror@gmx.de>
785 * java/net/InetAddress.java:
786 Fixed typos in javadocs.
788 2005-04-26 Andrew Haley <aph@redhat.com>
791 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
794 2005-04-26 Tom Tromey <tromey@redhat.com>
796 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
797 gnu): Now package-private.
798 * javax/swing/text/html/parser/DocumentParser.java (parser,
799 callBack, gnu): Now package-private.
800 * javax/swing/text/StringContent.java (content, setOffset,
801 checkLocation): Now package-private.
802 * javax/swing/text/JTextComponent.java (doc): Now
804 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
805 lastGoodOrientation, origParent, borders, cachedBounds,
806 cachedOrientation, DragWindow): Now package-private.
807 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
808 decrButton, viewport, panel, currentScrollLocation, layoutManager,
809 tabAreaRect, contentRect, createIncreaseButton,
810 createDecreaseButton, findPointForIndex): Now package-private.
811 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
812 (currentDividerLocation, moveDividerTo): Now package-private.
813 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
815 * javax/swing/plaf/basic/BasicScrollBarUI.java
816 (calculatePreferredSize, valueForYPosition, valueForXPosition):
818 * javax/swing/plaf/basic/BasicPopupMenuUI.java
819 (topWindowListener): Now package-private.
820 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
821 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
822 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
824 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
826 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
828 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
830 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
831 borderInsets): Now package-private.
832 (arrowButtonWidth): Likewise. Now a constant.
833 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
834 makeTabs, updatePreviewPanel): Now package-private.
835 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
836 darkShadow, highlight): Now package-private.
837 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
838 (addColorToQueue): Now package-private.
839 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
840 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
841 GSpinner, BSpinner): Now package-private.
842 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
843 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
844 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
845 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
846 updateTrack): Now package-private.
847 * javax/swing/TransferHandler.java (clipboard): Now
849 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
851 * javax/swing/Timer.java (drainEvents, queueEvent): Now
853 * javax/swing/RepaintManager.java (globalManager): Now
855 * javax/swing/JFormattedTextField.java (editValid): Now
857 * javax/swing/JColorChooser.java (makeModal): Now
859 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
860 index, path): Now package-private.
861 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
862 lineQuadIntersect, lineCubicIntersect, linesIntersect,
863 pointEquals): Now package-private.
864 * java/awt/geom/Arc2D.java (type): Now package-private.
865 * java/awt/Window.java (windowFocusOwner): Now package-private.
866 * java/awt/TextComponent.java (editable, selectionStart,
867 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
869 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
871 * java/awt/MenuComponent.java (focusListener): Now
873 * java/awt/Frame.java (state): Now package-private.
874 * java/awt/Choice.java (pItems): Now package-private.
875 * java/awt/Checkbox.java (state): Now package-private.
876 * java/awt/Button.java (actionCommand, label): Now
878 * gnu/javax/swing/text/html/parser/support/Parser.java
879 (attributes, _handleEndTag_remaining, _handleStartTag): Now
881 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
883 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
884 clip, transform, font, comp): Now package-private.
886 2005-04-26 Tom Tromey <tromey@redhat.com>
888 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
891 2005-04-26 Mark Wielaard <mark@klomp.org>
893 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
894 to MalformedURLException.
896 2005-04-26 Michael Koch <konqueror@gmx.de>
898 * java/security/AccessControlContext.java:
900 (protectedDomains): Renamed from 'protectionDomain'.
901 * java/security/AccessController.java:
904 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
906 * gnu/java/security/action/GetSecurityPropertyAction.java
907 (GetSecurityPropertyAction): Implement PrivilegedAction instead
908 of extending GetPropertyAction.
911 (setParamters): New methods.
912 (GetSecurityPropertyAction): Use new setParameters methods.
914 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
916 * java/security/Security.java,
917 java/security/cert/X509CRLSelector.java,
918 java/security/cert/X509CertSelector.java:
919 Modified to use SystemProperties.
921 2005-04-26 Michael Koch <konqueror@gmx.de>
923 * java/lang/System.java
924 (setSecurityManager): Fixed comment.
925 (getSecurityManager): Removed obsolete comment.
927 2005-04-25 Tom Tromey <tromey@redhat.com>
929 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
931 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
934 (connectSignals): Realize the window widget after connecting
937 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
939 * java/awt/GraphicsEnvironment.java
940 (localGraphicsEnvironment): New field.
941 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
943 (isHeadless): Added support for java.awt.headless property.
944 (isHeadlessInstance): Call headless().
946 2005-04-25 Roman Kennke <roman@kennke.org>
948 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
949 (getDisplayMode): Added. Returns the current display mode.
950 (isFullScreenSupported): Added.
951 * java/awt/GraphicsDevice.java
952 (setFullScreenWindow): Implemented a primitive fullscreen mode.
953 This resizes and relocates the fullscreen window so that it uses
954 the whole screen. This is not a fully accelerated fullscreen
957 2005-04-25 Michael Koch <konqueror@gmx.de>
959 * java/lang/Runtime.java,
960 java/lang/SecurityManager.java,
961 java/lang/System.java,
962 java/lang/ThreadGroup.java:
963 Replaced java.lang.Runtime.securityManager by
964 java.lang.SecurityManager.current (as used in GNU classpath).
966 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
968 * java/awt/Transparency.java
969 (getTransparency): fixed API docs.
971 2005-04-25 Archie Cobbs <archie@dellroad.org>
973 * java/lang/Throwable.java: simplify initializing cause in constructor
975 2005-04-25 Michael Koch <konqueror@gmx.de>
977 * gnu/classpath/SystemProperties.java: New file.
978 * gnu/classpath/natSystemProperties.cc: New file.
979 * java/lang/Runtime.java
980 (defaultProperties): Removed.
982 (): Made thrown exceptions more verbose.
983 (insertSystemProperties): Removed.
984 * java/lang/System.java
986 (properties): Likewise.
987 (setSecurityManager): Reordered modifiers.
988 (getenv): Improved javadoc.
990 (isWordsBigEndian): Removed.
991 * java/lang/natRuntime.cc
992 (_Jv_SetDLLSearchPath): Likewise.
993 (file_encoding): Likewise.
994 (default_file_encoding): Likewise.
995 (getpwuid_adaptor): Likewise.
996 (insertSystemProperties): Likewise.
997 * java/lang/natSystem.cc
998 (isWordsBigEndian): Likewise.
1000 (ordinary_java_source_files):
1001 Added gnu/classpath/SystemProperties.java.
1002 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1003 * Makefile.in: Regenerated.
1005 2005-04-25 Roman Kennke <roman@kennke.org>
1007 * javax/swing/plaf/basic/BasicScrollBarUI.java
1008 (initDefaults): Initialize thumb*Color fields correctly.
1010 2005-04-25 Roman Kennke <roman@kennke.org>
1012 * javax/swing/text/GapContent.java:
1015 2005-04-25 Roman Kennke <roman@kennke.org>
1017 * javax/swing/plaf/metal/MetalBorders.java:
1018 Added inner class ScrollPaneBorder.
1019 * javax/swing/plaf/metal/MetalLookAndFeel.java
1020 (initComponentDefaults): Added default for "ScrollPane.border"
1021 to use the new ScrollPaneBorder.
1023 2005-04-25 Roman Kennke <roman@kennke.org>
1025 * javax/swing/text/AbstractDocument.java:
1026 Added FIXME comments. This class still has to be
1027 implemented thread-safe.
1029 2005-04-25 Roman Kennke <roman@kennke.org>
1031 * javax/swing/tree/DefaultTreeSelectionModel.java
1032 (DefaultTreeSelectionModel): Initialize listenerList here.
1034 2005-04-25 Roman Kennke <roman@kennke.org>
1036 * javax/swing/plaf/metal/MetalTextFieldUI.java
1037 (createUI): Return one instance per Component instead of a
1040 2005-04-25 Roman Kennke <roman@kennke.org>
1042 * javax/swing/text/Document.java:
1043 Added API documentation comments.
1045 2005-04-25 Roman Kennke <roman@kennke.org>
1047 * javax/swing/text/AbstractDocument.java
1048 (getDocumentProperties): Implemented.
1049 (setDocumentProperties): Implemented.
1050 (getProperty): Implemented.
1051 (putProperty): Implemented.
1053 2005-04-25 Roman Kennke <roman@kennke.org>
1055 * javax/swing/BoxLayout
1056 (preferredLayoutSize): Fixed computation so that it correctly
1057 adds the top and bottom insets of the container.
1059 2005-04-25 Roman Kennke <roman@kennke.org>
1061 * javax/swing/plaf/basic/BasicMenuItemUI.java
1062 (paintText): Make use of the 'selectionForeground' UI default
1065 2005-04-25 Roman Kennke <roman@kennke.org>
1067 * javax/swing/plaf/basic/BasicLookAndFeel.java
1068 (initSystemColorDefaults): Modified colors to match the
1069 BasicLookAndFeel in the reference implementation.
1070 (initComponentDefaults): Likewise.
1072 2005-04-25 Tom Tromey <tromey@redhat.com>
1074 * include/jni.h (_Jv_va_list): Removed.
1075 Moved configuration code...
1076 * include/jni_md.h: ... here. New file.
1077 * include/Makefile.in: Rebuilt.
1078 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1080 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1082 * java/io/FileInputStream.java (FileInputStream(File)),
1083 java/io/FileOutputStream.java (FileOutputStream(File)):
1084 Removed unnecessary File.isDirectory() check.
1086 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1088 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1089 gij if get_multilibs fails.
1091 2005-04-22 Anthony Green <green@redhat.com>
1093 * jni.cc (natrehash): Don't bother clearing memory again.
1094 * interpret.cc (do_allocate_static_fields): Ditto.
1095 * java/lang/natString.cc (rehash): Ditto.
1097 2005-04-22 Roman Kennke <roman@kennke.org>
1099 * javax/swing/plaf/basic/BasicLookAndFeel.java
1100 (initComponentDefaults): Changed Button.border to be
1101 BasicBorders.getButtonBorder as it should be.
1103 2005-04-22 Roman Kennke <roman@kennke.org>
1105 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1106 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1107 should according to a mauve testcase, instead of the preferred
1110 2005-04-22 Roman Kennke <roman@kennke.org>
1112 * javax/swing/JMenu.java
1113 (add): add(Component) now calls PopupMenu.insert(..) instead of
1114 PopupMenu.add(..). add(..) is not implemented for Component,
1115 so JComponent.add(..) is called instead, adding the component
1118 2005-04-22 Roman Kennke <roman@kennke.org>
1120 * javax/swing/plaf/basic/BasicButtonListener.java
1121 (mousePressed): replaced query to getModifiersEx with getModifiers.
1122 This method relied on faulty behaviour in getModifierEx.
1123 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1124 This method relied on faulty behaviour in getModifierEx.
1126 2005-04-22 Roman Kennke <roman@kennke.org>
1128 * javax/swing/plaf/metal/MetalLookAndFeel.java
1129 (getDefaults): Call addCustomEntriesToTable on the theme.
1131 2005-04-22 Roman Kennke <roman@kennke.org>
1133 * javax/swing/tree/DefaultTreeSelectionModel.java
1134 (constructor): Added implementation.
1135 (getRowMapper): Added implementation.
1136 (setSelectionMode): Added implementation.
1137 (getSelectionMode): Added implementation.
1138 (getSelectionPath): Added implementation.
1139 (getSelectionPaths): Added implementation.
1140 (getSelectionCount): Added implementation.
1141 (isSelectionEmpty): Added implementation.
1142 (getSelectionRows): Added implementation.
1143 (getMinSelectionRow): Added implementation.
1144 (getMaxSelectionRow): Added implementation.
1145 (getLeadSelectionRow): Added implementation.
1146 (getLeadSelectionPath): Added implementation.
1148 2005-04-22 Casey Marshall <csm@gnu.org>
1150 * gnu/java/security/der/DERValue.java
1151 (getValueAs): new method.
1152 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1153 (<init>): read both dates with 'DERValue.getValueAs', with
1154 'GENERALIZED_TIME' as the argument.
1156 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1158 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1159 be null, check for that case and don't deference it.
1161 2005-04-22 Sven de Marothy <sven@physto.se>
1163 * java/util/logging/LogManager.java: Reformatted.
1164 (readConfiguration): If a logger for a key is not found, create one.
1166 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1168 * java/rmi/Naming.java:
1169 Added class documentation.
1170 (lookup(String)): Call parseURL and getName.
1171 (bind(String,java.rmi.Remote)): Likewise.
1172 (unbind(String)): Likewise.
1173 (rebind(String, java.rmi.Remote)): Likewise.
1174 (list(String)): Call parseURL.
1175 (parseURL(String)): New method to handle parsing and defaults.
1176 (getName(java.net.URL)): New method to handle finding the service name.
1178 2005-04-21 Tom Tromey <tromey@redhat.com>
1180 * java/lang/natClass.cc (initializeClass): Link class.
1182 2005-04-21 Tom Tromey <tromey@redhat.com>
1184 * java/lang/AssertionError.java: Typo fix.
1186 2005-04-21 Tom Tromey <tromey@redhat.com>
1188 * java/lang/VMClassLoader.java (transformException): Removed.
1189 (resolveClass): No longer native. Now does nothing.
1190 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1192 2005-04-21 Anthony Green <green@redhat.com>
1195 * testsuite/libjava.special/special.exp,
1196 testsuite/libjava.special/pr21115I.java,
1197 testsuite/libjava.special/pr21115.java,
1198 testsuite/libjava.special/pr21115.out: New files.
1200 2005-04-21 Chris Burdess <dog@gnu.org>
1202 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1203 CRLF-delimited chunks.
1205 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1207 * java/net/URI.java:
1208 Added class documentation.
1209 (parseURI(String)): Only handle scheme-specific parts
1210 if URI is not opaque. Allow for parts that can't be null.
1211 (toString()): Output the scheme-specific part whole, rather
1212 than as its possibly non-existent components.
1214 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1216 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1217 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1218 Adjusted to match new regexp.
1220 2005-04-20 Michael Koch <konqueror@gmx.de>
1222 * gnu/java/net/protocol/file/Connection.java,
1223 gnu/java/net/protocol/jar/Connection.java:
1224 Reorganized import statements. Fixed @author tags.
1226 2005-04-20 Chris Burdess <dog@gnu.org>
1228 * java/io/DataOutputStream.java (writeUTF): Use block write for
1231 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1233 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1234 (readLine): Changed newline handling.
1236 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1238 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1239 ColorModel,byte[],int,int): Fixed byte to int conversion.
1241 2005-04-20 Michael Koch <konqueror@gmx.de>
1243 * java/io/FilePermission.java
1244 (serialVersionUID): Made private.
1245 (ALL_FILES): New constant.
1246 (implies): Handle '<<ALL FILES>>' case.
1248 2005-04-20 Sven de Marothy <sven@physto.se>
1250 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1251 (drawImage): Don't notify the image observer for offscreen images.
1252 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1253 (setPixels): Don't notify the image observer.
1255 2005-04-20 Sven de Marothy <sven@physto.se>
1257 * java/nio/ByteBufferImpl.java:
1258 (putChar): Inlined for speed.
1259 (put, get): Bulk methods can use arraycopy.
1260 * java/nio/CharBufferImpl.java:
1261 (put, get): Bulk methods can use arraycopy.
1263 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1265 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1267 * java/nio/CharBufferImpl.java
1268 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1269 (get(), put(char)): Inlined checks and field updates. Fixed to
1270 take array_offset into account.
1271 (get(int), put(int, char)): Fixed to take array_offset into account.
1273 2005-04-20 Sven de Marothy <sven@physto.se>
1275 * java/text/SimpleDateFormat.java:
1276 (formatWithAttribute): Pad year before truncating digits.
1278 2005-04-20 Michael Koch <konqueror@gmx.de>
1280 * gnu/java/net/PlainDatagramSocketImpl.java:
1281 Merged copyright header.
1282 * gnu/java/net/PlainSocketImpl.java:
1283 Reorganized import statements. Fixed @author tags.
1285 2005-04-20 Michael Koch <konqueror@gmx.de>
1287 * gnu/java/lang/ClassHelper.java,
1288 gnu/java/lang/reflect/TypeSignature.java:
1291 2005-04-20 Michael Koch <konqueror@gmx.de>
1293 * gnu/java/beans/IntrospectionIncubator.java:
1294 Fixed HTML tags in javadocs.
1296 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1298 * gnu/java/beans/IntrospectionIncubator.java
1299 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1300 set(), is(), add() and remove() with properties or events.
1302 2005-04-20 Michael Koch <konqueror@gmx.de>
1304 * gnu/java/awt/image/XBMDecoder.java:
1305 Fixed modifier order.
1307 2005-04-20 Roman Kennke <roman@kennke.org>
1309 * javax/swing/plaf/basic/BasicButtonUI.java
1310 (paint): This should not care about margin and insets
1311 at the same time, as insets already include the margin
1313 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1314 (getPreferredButtonSize): Likewise.
1315 * javax/swing/plaf/metal/MetalBorders.java
1316 (getBorderInsets): Likewise.
1318 2005-04-20 Roman Kennke <roman@kennke.org>
1320 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1321 (createMessageArea): The JPanel that holds the message area
1322 doesn't need to override getPreferredSize. This prevents some
1323 message components from rendering nicely.
1325 2005-04-20 Roman Kennke <roman@kennke.org>
1327 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1328 (createUI): Do not share instances between components.
1329 * javax/swing/plaf/metal/MetalSliderUI.java
1330 (createUI): Do not share instances between components.
1332 2005-04-20 Roman Kennke <roman@kennke.org>
1334 * javax/swing/plaf/metal/MetalBorders:
1335 (PopupMenuBorder): Added.
1336 * javax/swing/plaf/metal/MetalLookAndFeel
1337 (initComponentDefaults): Added PopupMenuBorder.
1339 2005-04-20 Roman Kennke <roman@kennke.org>
1341 * javax/swing/tree/DefaultTreeSelectionModel.java:
1342 Added API documentation all over the class.
1344 2005-04-20 Roman Kennke <roman@kennke.org>
1346 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1347 (installDefaults): Link managed JScrollPane in instance field.
1348 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1350 2005-04-20 Roman Kennke <roman@kennke.org>
1352 * javax/swing/plaf/basic/BasicScrollBarUI.java
1353 (PropertyChangeHandler.propertyChange): Add default
1354 to switch statement to avoid errors with unusual values
1356 (installComponents): Likewise.
1358 2005-04-20 Roman Kennke <roman@kennke.org>
1360 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1361 (createUI): Instances cannot be shared among JScrollPanes.
1363 2005-04-20 Roman Kennke <roman@kennke.org>
1365 * javax/swing/plaf/metal/MetalLookAndFeel.java
1366 (initComponentDefaults): Added defaults for Menu, MenuBar
1369 2005-04-20 Roman Kennke <roman@kennke.org>
1371 * javax/swing/plaf/basic/BasicScrollBarUI.java
1372 (installUI): Install listeners after everything all, otherwise
1373 we get strange NPEs in some situations, especially with
1375 (createIncreaseButton): Orientation is expected to be
1376 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1377 HORIZONTAL or VERTICAL.
1378 (createDecreaseButton): Orientation is expected to be
1379 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1380 HORIZONTAL or VERTICAL.
1381 (installComponents): Orientation for buttons is expected to be
1382 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1383 HORIZONTAL or VERTICAL.
1385 2005-04-20 Roman Kennke <roman@kennke.org>
1387 * javax/swing/JToolBar.java
1388 (addImpl): Adjust added AbstractButtons to look and feel like
1390 * javax/swing/plaf/metal/MetalBorders.java:
1391 Adjusted insets of ButtonBorder.
1392 (RolloverMarginBorder): Added class for toolbar buttons.
1393 (getButtonBorder): Adjusted factory method to return a shared
1394 instance of button border.
1395 (getToolbarButtonBorder): Added factory method to return a shared
1396 instance of toolbar button border.
1397 (getMarginBorder): Added factory method to return a shared
1398 instance of margin border.
1399 * javax/swing/plaf/metal/MetalButtonUI.java
1400 (installDefauls): If button is child of a JToolBar then set
1401 special border on this button.
1403 2005-04-20 Michael Koch <konqueror@gmx.de>
1405 * java/net/URLConnection.java
1406 (getContent): Fixed javadoc comment.
1408 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1410 * java/net/URL.java:
1411 (toURI()): Implemented.
1413 2005-04-19 Michael Koch <konqueror@gmx.de>
1415 * java/net/InetAddress.java
1416 (InetAddress): Fixed javadoc comment.
1418 (lookup): Added javadoc.
1419 (getFamily): Likewise.
1420 * java/net/ServerSocket.java
1421 (getChannel): Improved javadoc comment.
1423 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1425 * gnu/xml/dom/html2/DomHTMLParser.java:
1426 Changed 'enum' references to become 'enumeration'.
1428 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1430 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1432 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1434 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1435 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1436 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1437 (validateParameters(TagElement,htmlAttributeSet)):
1438 Replaced 'enum' with 'enumeration'.
1439 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1442 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1444 * javax/swing/text/html/parser/Entity.java (getType): New method.
1445 * javax/swing/text/html/parser/DocumentParser.java:
1446 Inherit from javax.swing.text.html.parser.Parser.
1448 2005-04-19 Chris Burdess <dog@gnu.org>
1450 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1451 check for HTML/XHTML namespace.
1453 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1455 * javax/swing/text/html/parser/Parser.java,
1456 javax/swing/text/html/parser/Entity.java:
1457 Inheriting from DTDConstants.
1458 * javax/swing/text/html/parser/AttributeList.java
1459 (getValues): Changed return type.
1460 * javax/swing/text/html/parser/DocumentParser
1461 (parse): Adding the callback parameter that receives
1464 2005-04-19 Chris Burdess <dog@gnu.org>
1466 * gnu/xml/dom/DomImpl.java,
1467 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1468 gnu/xml/dom/html2/DomHTMLDocument.java,
1469 gnu/xml/dom/html2/DomHTMLElement.java,
1470 gnu/xml/dom/html2/DomHTMLFormElement.java,
1471 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1472 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1473 gnu/xml/dom/html2/DomHTMLImpl.java,
1474 gnu/xml/dom/html2/DomHTMLInputElement.java,
1475 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1476 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1477 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1478 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1479 gnu/xml/dom/html2/DomHTMLTableElement.java,
1480 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1481 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1482 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1483 UI events, and tree utility functions.
1485 2005-04-19 Michael Koch <konqueror@gmx.de>
1487 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1488 gnu/javax/swing/text/html/parser/gnuDTD.java,
1489 gnu/javax/swing/text/html/parser/models/node.java:
1490 Reworked import statements.
1492 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1494 * javax/swing/text/html/HTMLDocument.java: New file.
1496 2005-04-19 Michael Koch <konqueror@gmx.de>
1498 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1500 * javax/swing/text/html/parser/AttributeList.java:
1501 Fixed order of modifiers.
1502 (AttributeList): Made final.
1503 * javax/swing/text/html/parser/ContentModel.java:
1504 Fixed html characters in javadocs.
1505 * javax/swing/text/html/parser/DTD.java
1506 (DTD): Don't implement java.io.Serializable directly.
1507 (getElement): Simplified.
1508 * javax/swing/text/html/parser/DTDConstants.java:
1510 * javax/swing/text/html/parser/Element.java:
1511 Fixed order of modifiers.
1512 * javax/swing/text/html/parser/Parser.java:
1513 Reformatted. Don't use fully-qualified class names.
1514 * javax/swing/text/html/parser/ParserDelegator.java:
1515 Fixed order of modifiers.
1516 * javax/swing/text/rtf/RTFParser.java:
1517 Re-ordered import statements.
1518 * javax/swing/text/rtf/RTFScanner.java:
1519 Removed unused import statement.
1521 2005-04-19 Chris Burdess <dog@gnu.org>
1523 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1524 gnu/xml/dom/html2/DomHTMLCollection.java,
1525 gnu/xml/dom/html2/DomHTMLDocument.java,
1526 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1528 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1529 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1530 gnu/xml/dom/html2/DomHTMLDivElement.java,
1531 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1532 gnu/xml/dom/html2/DomHTMLFontElement.java,
1533 gnu/xml/dom/html2/DomHTMLFormElement.java,
1534 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1535 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1536 gnu/xml/dom/html2/DomHTMLHRElement.java,
1537 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1538 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1539 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1540 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1541 gnu/xml/dom/html2/DomHTMLImageElement.java,
1542 gnu/xml/dom/html2/DomHTMLInputElement.java,
1543 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1544 gnu/xml/dom/html2/DomHTMLLIElement.java,
1545 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1546 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1547 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1548 gnu/xml/dom/html2/DomHTMLMapElement.java,
1549 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1550 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1551 gnu/xml/dom/html2/DomHTMLModElement.java,
1552 gnu/xml/dom/html2/DomHTMLOListElement.java,
1553 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1554 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1555 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1556 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1557 gnu/xml/dom/html2/DomHTMLParamElement.java,
1558 gnu/xml/dom/html2/DomHTMLPreElement.java,
1559 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1560 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1561 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1562 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1563 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1564 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1565 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1566 gnu/xml/dom/html2/DomHTMLTableElement.java,
1567 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1568 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1569 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1570 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1571 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1573 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1575 * javax/swing/text/ChangedCharSetException.java,
1576 javax/swing/text/html/HTMLEditorKit.java,
1577 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1578 javax/swing/text/html/parser/AttributeList.java,
1579 javax/swing/text/html/parser/ContentModel.java,
1580 javax/swing/text/html/parser/DocumentParser.java,
1581 javax/swing/text/html/parser/DTD.java,
1582 javax/swing/text/html/parser/DTDConstants.java,
1583 javax/swing/text/html/parser/Element.java,
1584 javax/swing/text/html/parser/Entity.java,
1585 javax/swing/text/html/parser/Parser.java,
1586 javax/swing/text/html/parser/TagElement.java,
1587 gnu/javax/swing/text/html/package.html,
1588 gnu/javax/swing/text/html/parser/gnuDTD.java,
1589 gnu/javax/swing/text/html/parser/HTML_401F.java,
1590 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1591 gnu/javax/swing/text/html/parser/htmlValidator.java,
1592 gnu/javax/swing/text/html/parser/package.html,
1593 gnu/javax/swing/text/html/parser/models/list.java,
1594 gnu/javax/swing/text/html/parser/models/node.java,
1595 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1596 gnu/javax/swing/text/html/parser/models/package.html,
1597 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1598 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1599 gnu/javax/swing/text/html/parser/models/transformer.java,
1600 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1601 gnu/javax/swing/text/html/parser/support/package.html,
1602 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1603 gnu/javax/swing/text/html/parser/support/Parser.java,
1604 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1605 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1606 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1607 gnu/javax/swing/text/html/parser/support/low/Location.java,
1608 gnu/javax/swing/text/html/parser/support/low/node.java,
1609 gnu/javax/swing/text/html/parser/support/low/package.html,
1610 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1611 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1612 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1613 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1615 * javax/swing/text/html/HTML.java,
1616 javax/swing/text/html/parser/ParserDelegator.java:
1617 New files (replacing).
1618 * javax/swing/text/html/package.html,
1619 javax/swing/text/html/parser/package.html: Documenting the
1622 2005-04-19 Chris Burdess <dog@gnu.org>
1624 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1625 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1626 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1627 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1628 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1629 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1630 gnu/xml/dom/html2/DomHTMLBRElement.java,
1631 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1632 gnu/xml/dom/html2/DomHTMLCollection.java,
1633 gnu/xml/dom/html2/DomHTMLDocument.java,
1634 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1636 2005-04-19 Michael Koch <konqueror@gmx.de>
1638 * Makefile.am: Added new files.
1639 * Makefile.in: Regenerated.
1641 2005-04-19 Roman Kennke <roman@kennke.org>
1643 * javax/swing/text/JTextComponent.java
1644 (JTextComponent): Added repaintListener which issues repaint
1645 requests when the underlying document changes.
1646 (setDocument): Adds repaintListener to document when the
1647 document is changed.
1648 * javax/swing/text/DefaultEditorKit.java:
1649 Removed repaint calls on JTextComponent. This is now handled
1650 through a DocumentListener in JTextComponent that repaints
1651 the component when needed.
1653 2005-04-19 Roman Kennke <roman@kennke.org>
1656 * javax/swing/text/StyleContext.java
1657 (NamedStyle.setResolveParent): Added null
1660 2005-04-19 Michael Koch <konqueror@gmx.de>
1662 * java/rmi/server/RemoteObject.java:
1663 Removed unused import statement.
1665 2005-04-19 Michael Koch <konqueror@gmx.de>
1667 * java/net/URL.java: Formatting cleanups.
1669 2005-04-19 Michael Koch <konqueror@gmx.de>
1671 * java/awt/FontMetrics.java: Reformatted.
1672 (getFontRenderContext): Handle case when java.awt.Graphics context is
1675 2005-04-19 Michael Koch <konqueror@gmx.de>
1677 * java/awt/FontMetrics.java
1678 (getStringBounds): New methods.
1681 2005-04-19 Michael Koch <konqueror@gmx.de>
1683 * gnu/java/security/x509/X509Certificate.java
1684 (parse): Handle val == null case.
1686 2005-04-19 Roman Kennke <roman@kennke.org>
1688 * javax/swing/plaf/metal/MetalLookAndFeel.java
1689 (initComponentDefaults): Added defaults for Menu, MenuBar
1692 2005-04-19 Roman Kennke <roman@kennke.org>
1694 * javax/swing/plaf/metal/MetalLookAndFeel.java
1695 (initComponentDefaults): Added Label.font.
1696 (initSystemColorDefaults): Added this method and adjusted the
1697 general control color.
1699 2005-04-19 Roman Kennke <roman@kennke.org>
1701 * javax/swing/plaf/metal/MetalBorders.java:
1703 * javax/swing/plaf/metal/MetalButtonUI.java:
1704 (installDefaults): Install button font.
1705 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1706 (initComponentDefaults): Added button border, font and margin.
1707 Changed components background color to the Metal current themes
1710 2005-04-19 Roman Kennke <roman@kennke.org>
1712 * javax/swing/plaf/metal/MetalLookAndFeel.java
1713 (initComponentDefaults): Added to set Metal specific component
1716 2005-04-19 Mark Wielaard <mark@klomp.org>
1718 * javax/swing/plaf/metal/MetalLookAndFeel.java
1719 (initClassDefaults): Call super.initClassDefaults().
1721 2005-04-19 Roman Kennke <roman@kennke.org>
1723 * javax/swing/plaf/metal/MetalLookAndFeel.java
1724 (initClassDefaults): Added to include the *UI classes.
1726 2005-04-19 Roman Kennke <roman@kennke.org>
1728 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1730 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1732 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1734 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1736 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1738 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1740 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1742 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1744 * javax/swing/plaf/metal/MetalSliderUI.java:
1746 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1748 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1750 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1752 2005-04-19 Roman Kennke <roman@kennke.org>
1754 * javax/swing/plaf/metal/MetalButtonUI.java:
1755 Added skeleton class.
1756 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1757 Added skeleton class.
1758 * javax/swing/plaf/metal/MetalLabelUI.java:
1759 Added skeleton class.
1760 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1761 Added skeleton class.
1762 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1763 Added skeleton class.
1764 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1765 Added skeleton class.
1767 2005-04-19 Roman Kennke <roman@kennke.org>
1769 * javax/swing/UIDefaults.java:
1770 Added API documentation for all methods.
1772 2005-04-19 Roman Kennke <roman@kennke.org>
1774 * javax/swing/UIDefaults.java
1775 (put): Now uses new checkAndPut method instead of checking
1777 (putDefaults): Fixed so that it accepts null-values and
1778 treats them like remove(key).
1779 (checkAndPut): Added. This checks for null-values and calls
1782 2005-04-19 Michael Koch <konqueror@gmx.de>
1784 * Makefile.am: Added new files.
1785 * Makefile.in: Regenerated.
1787 2005-04-19 Mark Wielaard <mark@klomp.org>
1789 * java/lang/natRuntime.cc (insertSystemProperties): Set
1790 java.class.path to CLASSPATH only when not empty. Fall back to
1791 default path "." when java.class.path is empty.
1793 2005-04-19 Michael Koch <konqueror@gmx.de>
1795 * javax/swing/text/rtf/ControlWordToken.java,
1796 javax/swing/text/rtf/RTFEditorKit.java,
1797 javax/swing/text/rtf/RTFParseException.java,
1798 javax/swing/text/rtf/RTFParser.java,
1799 javax/swing/text/rtf/RTFScanner.java,
1800 javax/swing/text/rtf/TextToken.java,
1801 javax/swing/text/rtf/Token.java: New files.
1802 * Makefile.am: Added new files.
1803 * Makefile.in: Regenerated.
1805 2005-04-19 Michael Koch <konqueror@gmx.de>
1807 * java/awt/geom/QuadCurve2D.java:
1808 Fixed Brian Gough's name for real.
1810 2005-04-19 Roman Kennke <roman@kennke.org>
1812 * javax/swing/UIManager.java:
1813 Make the UIManager respect the swing.defaultlaf system
1816 2005-04-19 Tom Tromey <tromey@redhat.com>
1818 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1821 2005-04-19 Roman Kennke <roman@kennke.org>
1823 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1824 Fixed tabs to spaces.
1826 2005-04-19 Roman Kennke <roman@kennke.org>
1828 * javax/swing/plaf/basic/BasicMenuUI.java
1829 (getMaximumSize): Now returns preferredSize because JMenu should
1830 never be bigger than that.
1831 * javax/swing/JRootPane
1832 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1834 2005-04-19 Roman Kennke <roman@kennke.org>
1836 * javax/swing/JRootPane.java:
1837 Fixed various tabs to be spaces.
1838 (RootLayout.layoutContainer): Made menubar left aligned.
1840 2005-04-19 Roman Kennke <roman@ontographics.com>
1842 * javax/swing/JList.java
1843 (getPreferredScrollableViewportSize):
1844 The previous implementation was merely guessing the size,
1845 now it respects layoutOrientation, visibleRowCount
1847 (getScrollableTracksViewportHeight):
1848 Reimplemented so that layoutOrientation, visibleRowCount
1849 and preferred size are respected.
1850 (getScrollableTracksViewportWidth):
1851 Reimplemented so that layoutOrientation, visibleRowCount
1852 and preferred size are respected.
1853 * javax/swing/plaf/basic/BasicListUI.java
1855 Improved calculation of preferredSize when JList is
1856 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1858 The previous implementation assumed a layoutOrientation of
1859 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1860 JList.VERTICAL_WRAP.
1862 2005-04-19 Roman Kennke <roman@ontographics.com>
1864 * javax/swing/plaf/basic/BasicListUI.java
1865 (paintCell): use CellRendererPane for painting the cells.
1867 2005-04-19 Roman Kennke <roman@ontographics.com>
1869 * javax/swing/plaf/basic/BasicListUI:
1870 fixed modifiers of several fields, methods and inner
1871 classes to match the 'spec'.
1872 (getMaximumSize): removed. It's not in the spec and the
1873 implementations was superfluous.
1875 2005-04-19 Roman Kennke <roman@ontographics.com>
1877 * javax/swing/plaf/basic/BasicListUI:
1878 make BasicListUI capable of wrapping lists
1879 (layoutOrientation property of javax.swing.JList)
1881 2005-04-19 Roman Kennke <roman@ontographics.com>
1883 * javax/swing/plaf/basic/BasicListUI
1884 (updateLayoutState,paint): make BasicListUI aware of the
1885 width of the rendered JList.
1887 2005-04-19 Roman Kennke <roman@kennke.org>
1889 * javax/swing/ImageIcon.java
1890 Added API documentation.
1892 2005-04-19 Roman Kennke <roman@kennke.org>
1894 * javax/swing/text/ImageIcon.java
1895 (ImageIcon): Use setImage instead of direct assignment.
1896 (setImage): Call loadImage to make sure that the image is loaded.
1897 (loadImage): Waits for the image to complete loading.
1898 (getImageLoadStatus): Added. Returns the load status of the
1901 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1903 * javax/swing/JTextArea.java (replaceRange):
1904 Fixing doc.remove(start, length) misinterpretation.
1906 2005-04-19 Roman Kennke <roman@ontographics.com>
1908 * javax/swing/CellRendererPane.java:
1909 implemented all methods of this class.
1910 reformatted all wrong formatted code.
1912 2005-04-19 Roman Kennke <roman@kennke.org>
1914 * javax/swing/BoxLayout.java:
1915 (layoutContainer): Made this layout manager respect the
1916 minimum, maximum and preferred size more correctly.
1918 2005-04-19 Roman Kennke <roman@ontographics.com>
1920 * javax/swing/BoxLayout.java:
1921 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1922 layoutContainer): Make these methods and thereby the
1923 BoxLayout respect the insets (like borders) of the
1924 component that is laid out.
1926 2005-04-19 Roman Kennke <roman@kennke.org>
1928 * javax/swing/JComponent.java:
1929 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1930 Untabified the file.
1932 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1934 * javax/swing/JComboBox.java (constructors): selecting the
1935 first item if the box was constructed from the provided
1936 non - empty array or vector.
1938 2005-04-19 Michael Koch <konqueror@gmx.de>
1940 * gnu/java/awt/peer/gtk/GdkGraphics.java
1941 (getClipBounds): Handle clip being null.
1942 (setClip): Likewise.
1943 * java/beans/beancontext/BeanContextSupport.java
1947 (removeAll): Likewise.
1948 (retainAll): Likewise.
1950 2005-04-19 Michael Koch <konqueror@gmx.de>
1952 * java/beans/beancontext/BeanContextServicesSupport.java
1953 (BeanContextServicesSupport): Reimplemented.
1954 (addBeanContextServicesListener): Implemented.
1955 (initialize): Likewise.
1956 (removeBeanContextServicesListener): Likewise.
1957 * java/beans/beancontext/BeanContextSupport.java
1959 (addBeanContextMembershipListener): Likewise.
1960 (getLocale): Likewise.
1961 (initialize): Likewise.
1962 (iterator): Likewise.
1964 (toArray): Likewise.
1966 2005-04-19 Roman Kennke <roman@kennke.org>
1968 * java/awt/MediaTracker.java:
1969 Reindented tabs to spaces.
1971 2005-04-19 Roman Kennke <roman@kennke.org>
1973 * java/awt/MediaTracker.java
1974 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1975 confused the media tracker and lead to lockups. The LOADING
1976 bit is handled on other places.
1977 (addImage): Removed the 'start image tracking' stuff. This
1978 is not necessary and could confuse the media tracker.
1979 (checkAll): Improved the check for image status so that
1980 images that already complete images are detected. Also now
1981 are really all images checked and if necessary loaded. Before
1982 the method bailed out after the first incomplete image.
1983 (statusAll): Detect images that are complete after the
1984 call to Component.prepareImage(..).
1985 (checkID): The same as in checkAll.
1986 (statusID): The same as in statusAll.
1988 2005-04-19 Roman Kennke <roman@kennke.org>
1990 * java/awt/MediaTracker.java
1991 (addImage): Synchronized list access.
1992 (waitForAll): Fixed comparison of time (changed < to >).
1993 (waitForID): Fixed comparison of time (changed < to >).
1994 (removeImage): Synchronized list access.
1996 2005-04-19 Roman Kennke <roman@kennke.org>
1998 * java/awt/MediaTracker.java
1999 Added API documentation.
2001 2005-04-19 Roman Kennke <roman@kennke.org>
2003 * java/awt/MediaTracker.java
2004 (MediaEntry.imageUpdate): Fixed flags. The different flags
2005 must not be ORed together.
2006 (checkAll): Modified to handle different meaning of the flags.
2007 (waitForAll): Fixed so that it waits maximum the
2008 specified amount of milliseconds.
2009 (statusAll): Modified to handle different meaning of the flags.
2010 (waitForID): Fixed so that it waits maximum the
2011 specified amount of milliseconds.
2013 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2015 * java/awt/Font.java (decode): Handle null argument and allow
2018 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2020 * java/beans/EventHandler.java: Reworked documentation.
2021 (invoke): Fixed behavior to match spec.
2023 2005-04-19 Michael Koch <konqueror@gmx.de>
2025 * java/awt/print/PrinterJob.java
2026 (pageDialog): New method.
2027 (printDialog): Implemented.
2029 2005-04-19 Michael Koch <konqueror@gmx.de>
2031 * java/awt/image/ConvolveOp.java:
2032 Removed comment added by eclipse.
2034 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2036 * java/awt/image/IndexColorModel.java
2037 (getRGB): Check if pixel is negative.
2039 2005-04-19 Michael Koch <konqueror@gmx.de>
2041 * java/awt/image/RasterOp.java:
2042 Fixed wrong formatting.
2044 2005-04-18 Roman Kennke <roman@kennke.org>
2046 * java/awt/Compmonent.java
2047 (setComponentOrientation): Made this property firing a
2048 PropertyChangeEvent.
2050 2005-04-18 Roman Kennke <roman@kennke.org>
2052 * java/awt/BorderLayout.java
2053 (calcSize): Check for overflow when component sizes are added.
2055 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2057 * java/awt/AWTEvent.java (toString): Added case
2058 for source not being an AWT component.
2060 2005-04-18 Chris Burdess <dog@gnu.org>
2062 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2064 2005-04-18 Michael Koch <konqueror@gmx.de>
2066 gnu/java/awt/EmbeddedWindowSupport.java,
2067 gnu/java/net/HeaderFieldHelper.java,
2068 gnu/java/net/URLParseError.java,
2069 gnu/java/net/protocol/file/Handler.java,
2070 gnu/java/net/protocol/jar/Handler.java:
2071 Fixed usage of @author tag.
2073 2005-04-18 Michael Koch <konqueror@gmx.de>
2075 * gnu/xml/aelfred2/XmlParser.java:
2076 Reverted my typo fix.
2078 2005-04-18 Michael Koch <konqueror@gmx.de>
2080 * java/awt/geom/CubicCurve2D.java,
2081 java/awt/geom/QuadCurve2D.java:
2082 Fixed mentioning of Brian Gouph.
2084 2005-04-18 Michael Koch <konqueror@gmx.de>
2086 * gnu/java/awt/Buffers.java,
2087 gnu/java/awt/image/ImageDecoder.java,
2088 gnu/java/awt/image/XBMDecoder.java,
2089 gnu/java/awt/peer/ClasspathFontPeer.java,
2090 gnu/java/net/CRLFInputStream.java,
2091 gnu/java/net/EmptyX509TrustManager.java,
2092 gnu/java/net/LineInputStream.java,
2093 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2094 gnu/java/net/protocol/ftp/BlockInputStream.java,
2095 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2096 gnu/java/net/protocol/ftp/DTP.java,
2097 gnu/java/net/protocol/ftp/DTPInputStream.java,
2098 gnu/java/net/protocol/ftp/FTPConnection.java,
2099 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2100 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2101 gnu/java/net/protocol/ftp/StreamInputStream.java,
2102 gnu/java/net/protocol/http/ChunkedInputStream.java,
2103 gnu/java/net/protocol/http/HTTPConnection.java,
2104 gnu/java/net/protocol/http/HTTPURLConnection.java,
2105 gnu/java/net/protocol/http/Headers.java,
2106 gnu/java/net/protocol/http/Request.java,
2107 gnu/java/nio/ChannelInputStream.java,
2108 gnu/java/nio/ChannelOutputStream.java,
2109 gnu/java/nio/InputStreamChannel.java,
2110 gnu/java/nio/OutputStreamChannel.java,
2111 gnu/java/nio/SelectorProviderImpl.java,
2112 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2113 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2114 gnu/java/rmi/dgc/DGCImpl.java,
2115 gnu/java/rmi/registry/RegistryImpl.java,
2116 gnu/java/rmi/server/ProtocolConstants.java,
2117 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2118 gnu/java/rmi/server/RMIIncomingThread.java,
2119 gnu/java/rmi/server/RMIObjectInputStream.java,
2120 gnu/java/rmi/server/RMIObjectOutputStream.java,
2121 gnu/java/rmi/server/RMIVoidValue.java,
2122 gnu/java/rmi/server/UnicastConnectionManager.java,
2123 gnu/java/rmi/server/UnicastRef.java,
2124 gnu/java/rmi/server/UnicastRemoteCall.java,
2125 gnu/java/rmi/server/UnicastRemoteStub.java,
2126 gnu/java/rmi/server/UnicastServerRef.java,
2127 gnu/java/security/OID.java,
2128 gnu/java/security/der/DERReader.java,
2129 gnu/java/security/provider/CollectionCertStoreImpl.java,
2130 gnu/java/security/provider/DSAParameterGenerator.java,
2131 gnu/java/security/provider/DefaultPolicy.java,
2132 gnu/java/security/provider/EncodedKeyFactory.java,
2133 gnu/java/security/provider/GnuDHPublicKey.java,
2134 gnu/java/security/provider/GnuDSAPrivateKey.java,
2135 gnu/java/security/provider/GnuDSAPublicKey.java,
2136 gnu/java/security/provider/GnuRSAPrivateKey.java,
2137 gnu/java/security/provider/GnuRSAPublicKey.java,
2138 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2139 gnu/java/security/provider/RSA.java,
2140 gnu/java/security/provider/SHA1PRNG.java,
2141 gnu/java/security/provider/SHA1withRSA.java,
2142 gnu/java/security/provider/X509CertificateFactory.java,
2143 gnu/java/security/x509/GnuPKIExtension.java,
2144 gnu/java/security/x509/X500DistinguishedName.java,
2145 gnu/java/security/x509/X509CRL.java,
2146 gnu/java/security/x509/X509CRLEntry.java,
2147 gnu/java/security/x509/X509CertPath.java,
2148 gnu/java/security/x509/X509CertSelectorImpl.java,
2149 gnu/java/security/x509/X509Certificate.java,
2150 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2151 gnu/java/security/x509/ext/BasicConstraints.java,
2152 gnu/java/security/x509/ext/CRLNumber.java,
2153 gnu/java/security/x509/ext/CertificatePolicies.java,
2154 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2155 gnu/java/security/x509/ext/Extension.java,
2156 gnu/java/security/x509/ext/GeneralNames.java,
2157 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2158 gnu/java/security/x509/ext/KeyUsage.java,
2159 gnu/java/security/x509/ext/PolicyConstraint.java,
2160 gnu/java/security/x509/ext/PolicyMappings.java,
2161 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2162 gnu/java/security/x509/ext/ReasonCode.java,
2163 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2164 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2165 Reorganized import statements.
2167 2005-04-18 Michael Koch <konqueror@gmx.de>
2169 * gnu/java/awt/color/CieXyzConverter.java,
2170 gnu/java/awt/color/ClutProfileConverter.java,
2171 gnu/java/awt/color/ColorLookUpTable.java,
2172 gnu/java/awt/color/ColorSpaceConverter.java,
2173 gnu/java/awt/color/GrayProfileConverter.java,
2174 gnu/java/awt/color/GrayScaleConverter.java,
2175 gnu/java/awt/color/LinearRGBConverter.java,
2176 gnu/java/awt/color/ProfileHeader.java,
2177 gnu/java/awt/color/PyccConverter.java,
2178 gnu/java/awt/color/RgbProfileConverter.java,
2179 gnu/java/awt/color/SrgbConverter.java,
2180 gnu/java/awt/color/TagEntry.java,
2181 gnu/java/awt/color/ToneReproductionCurve.java:
2182 Standardized file headers.
2184 2005-04-16 Tom Tromey <tromey@redhat.com>
2186 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2187 'ANY' package-private.
2189 2005-04-15 Tom Tromey <tromey@redhat.com>
2191 * Makefile.in: Rebuilt.
2192 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2193 (libgcj0_convenience_la_LIBADD): ... here.
2195 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2197 * gij.cc (version): Properly quote java version.
2198 (main): Fix typo in comment.
2200 2005-04-13 Mark Wielaard <mark@klomp.org>
2202 * java/lang/natRuntime.cc (insertSystemProperties): Set
2203 java.class.path to CLASSPATH if not already set.
2205 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2207 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2209 2005-04-12 Mike Stump <mrs@apple.com>
2211 * configure: Regenerate.
2213 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2216 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2217 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2219 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2222 * scripts/TexinfoDoclet.java: Removed.
2223 * Makefile.am (texinfo): Removed.
2224 * Makefile.in: Regenerated.
2226 2005-04-11 Michael Koch <konqueror@gmx.de>
2228 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2229 Fixed wrong casting.
2231 2005-04-06 Andrew Haley <aph@redhat.com>
2233 * testsuite/libjava.lang/bytearray.java: New file.
2234 * testsuite/libjava.lang/bytearray.out: New file.
2235 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2236 (loadClass): Use it.
2237 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2239 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2241 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2242 gcj-dbtool dependency
2243 * Makefile.in: Regenerated
2245 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2247 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2248 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2250 2005-04-05 Andrew Haley <aph@redhat.com>
2252 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2253 (Tokenizer): New class.
2254 (getFiles): New method.
2255 (main): Add "-" argument.
2257 Read list of files from stdin when merging map databases.
2258 (usage): Add "-" argument.
2262 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2265 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2266 * Makefile.in: Regenerate.
2267 * configure.ac: Add --with-java-home option.
2268 * configure: Regenerate.
2269 * external/Makefile.in: Regenerate.
2270 * external/sax/Makefile.in: Regenerate.
2271 * external/w3c_dom/Makefile.in: Regenerate.
2272 * gcj/Makefile.in: Regenerate.
2273 * include/Makefile.in: Regenerate.
2274 * testsuite/Makefile.in: Regenerate.
2275 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2278 2005-04-05 Tom Tromey <tromey@redhat.com>
2280 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2281 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2282 Rewrote to use _Jv_FindClassFromSignature.
2283 * verify.cc (resolve): throw NoClassDefFoundError.
2284 * link.cc (resolve_field): Throw NoClassDefFoundError.
2285 (find_field): Likewise.
2286 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2287 Handle error cases. Added 'endp' argument.
2288 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2290 2005-04-05 Tom Tromey <tromey@redhat.com>
2292 * Makefile.in: Rebuilt.
2293 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2294 gtk_awt_peer_sources.
2295 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2296 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2297 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2298 (gtk-awt-peer.lo): New target.
2300 2005-04-04 Steve Pribyl <steve@netfuel.com>
2303 * configure.ac: Fix fastjar definition for cross builds.
2304 * configure: Rebuilt.
2306 2005-04-04 Tom Tromey <tromey@redhat.com>
2308 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2309 it was already found.
2311 2005-04-04 Tom Tromey <tromey@redhat.com>
2313 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2314 org.metastatic.jessie.
2316 2005-04-02 Anthony Green <green@redhat.com>
2319 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2321 2005-04-02 Mark Wielaard <mark@klomp.org>
2323 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2324 Attributes and attribute order doesn't matter.
2325 (BasicAttributesEnumeration.where): Initialize to zero.
2326 (BasicAttributesEnumeration.nextElement): Update and compare where
2327 appropriately (zero based).
2329 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2331 PR libgcj/20090, PR libgcj/20526
2332 * gij.cc (nonstandard_opts_help): New function.
2333 (add_option): New function.
2334 (main): Support java options. Set java.class.path. Don't set
2336 * prims.cc (parse_x_arg): New function.
2337 (parse_init_args): Call parse_x_arg for -X and _ options, when
2338 ignoreUnrecognized is true.
2339 (new _Jv_RunMain): New vm_args variant.
2340 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2341 (_Jv_Jar_Class_Path): Remove variable.
2342 * include/java-props.h: Likewise.
2343 * include/cni.h (JvRealloc): New function.
2344 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2345 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2346 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2348 * configure.ac (JV_VERSION): Define.
2349 (JV_API_VERSION): Likewise.
2350 * configure: Regenerate.
2351 * include/config.h.in: Regenerate.
2353 2005-04-01 Mark Anderson <mark@panonet.net>
2355 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2356 -Infinity as parameters.
2358 2005-04-01 Michael Koch <konqueror@gmx.de>
2360 * java/io/PipedInputStream.java
2361 (read): Make sure a positive byte value is returned. Revised javadoc.
2362 Thanks to Olafur Bragason for reporting these bugs.
2364 2005-04-01 Tom Tromey <tromey@redhat.com>
2366 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2367 Updated for name change.
2368 (nativeFindClass): New method.
2369 (loadClass): Use nativeFindClass.
2370 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2372 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2373 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2375 (initialize): New method.
2376 (nativeFindClass): Declare.
2377 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2378 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2379 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2381 (definePackageForNative): Removed.
2382 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2383 Moved to VMClassLoader.java.
2384 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2385 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2386 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2387 removed VMClassLoader.java.
2388 (nat_source_files): Removed natVMClassLoader.cc.
2390 2005-04-01 Tom Tromey <tromey@redhat.com>
2392 * Makefile.in: Rebuilt.
2393 * Makefile.am (db_pathtail): Use $(gcc_version), not
2396 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2398 * java/util/Timer.java
2399 (run): Stop the queue if a task throws an exception.
2401 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2403 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2405 2005-03-29 Ian Lance Taylor <ian@airs.com>
2407 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2408 * external/sax/Makefile.in: Rebuild.
2409 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2411 * external/w3c_dom/Makefile.in: Rebuild.
2413 2005-03-29 Tom Tromey <tromey@redhat.com>
2415 * java/lang/natRuntime.cc (insertSystemProperties): Set
2416 gnu.gcj.runtime.endorsed.dirs.
2417 * Makefile.in: Rebuilt.
2418 * Makefile.am (ordinary_java_source_files): Added
2419 HelperClassLoader.java.
2420 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2421 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2423 (init): Use addDirectoriesFromProperty.
2424 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2425 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2426 gnu.gcj.runtime.endorsed.dirs.
2427 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2429 2005-03-26 Chris Burdess <dog@gnu.org>
2431 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2434 2005-03-13 Michael Koch <konqueror@gmx.de>
2436 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2438 2005-03-11 Chris Burdess <dog@gnu.org>
2440 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2443 2005-02-27 Chris Burdess <dog@gnu.org>
2445 * gnu/xml/aelfred2/JAXPFactory.java,
2446 gnu/xml/aelfred2/SAXDriver.java,
2447 gnu/xml/aelfred2/XmlParser.java,
2448 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2449 formatting conventions. Replaced arrays of Object with struct-like
2450 classes for easier maintainability. Made SAXDriver.stringInterning
2451 package private to allow access from XmlParser inside the loop without
2452 a method call overhead.
2454 2005-03-11 Chris Burdess <dog@gnu.org>
2456 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2459 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2461 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2462 settings to sub Makefiles.
2463 (GCJH, ZIP): Prefix with top_builddir.
2464 * configure: Rebuild.
2465 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2466 * external/w3c_dom/Makefile.in: Rebuild.
2467 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2468 * external/sax/Makefile.in: Rebuild.
2470 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2472 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2473 libsocket to the libraries to link for Solaris.
2475 2005-03-28 Per Bothner <per@bothner.com>
2477 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2478 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2480 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2482 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2483 to fix a ONESTEP fallout.
2484 * Makefile.in: Regenerate.
2486 2005-03-25 Mike Stump <mrs@apple.com>
2488 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2489 paths like we do for the compiler, as we use it in external/sax
2490 and it doesn't get MULTIBUILDTOP right when multilibing.
2492 2005-03-24 Anthony Green <green@redhat.com>
2494 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2496 (usage): Add [LIBDIR] to help output.
2497 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2498 * Makefile.am (AM_CXXFLAGS): Define
2499 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2500 (db_pathtail): New macro.
2502 2005-03-24 Tom Tromey <tromey@redhat.com>
2504 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2505 add sax and w3c libraries.
2506 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2508 * external/w3c_dom/Makefile.in: Rebuilt.
2509 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2511 (libw3c_gcj_la_LDFLAGS): New variable.
2512 (noinst_LTLIBRARIES): Renamed.
2513 * external/sax/Makefile.in: Rebuilt.
2514 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2516 (libsax_gcj_la_LDFLAGS): New variable.
2517 (noinst_LTLIBRARIES): Renamed.
2519 2005-03-23 Tom Tromey <tromey@redhat.com>
2521 * Makefile.in: Rebuilt.
2522 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2523 (libgcj0_convenience_la_SOURCES): Don't include
2524 gnu_xml_source_files.
2525 (libgcj0_convenience_la_LIBADD): New variable.
2526 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2527 (all_java_source_files): javax_imageio_source_files,
2528 javax_xml_source_files, and gnu_java_beans_source_files.
2529 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2530 (gnu-xml.lo): New target.
2531 (javax-imageio.lo): Likewise.
2532 (javax-xml.lo): Likewise.
2533 (gnu-java-beans.lo): Likewise.
2534 (gnu_java_beans_source_files): New variable.
2535 (javax_imageio_source_files): Likewise.
2536 (javax_xml_source_files): Likewise.
2537 (javax_source_files): Moved files to other variable.
2538 (awt_java_source_files): Likewise.
2539 (ordinary_java_source_files): Added BootClassLoader.java.
2540 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2541 not system class loader.
2542 (initBootLoader): New method.
2543 (loadClass): Search bootLoader.
2544 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2545 boot loader, not system class loader.
2546 (_Jv_UnregisterInitiatingLoader): Likewise.
2547 (_Jv_FindClass): Likewise. Ensure entries in
2548 bootstrap_class_list are unique.
2549 * java/lang/natClass.cc (getClassLoader): Don't special case
2550 system class loader.
2551 * java/lang/VMClassLoader.java (bootLoader): New field.
2552 (getResource): Use bootLoader.
2553 (getResources): Likewise.
2554 (initBootLoader): Declare.
2555 * gnu/gcj/runtime/BootClassLoader.java: New file.
2556 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2557 (EMPTY_ENUMERATION): Now package-private.
2558 * external/w3c_com/Makefile.in: Rebuilt.
2559 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2560 (w3c.jar): New target.
2561 (classes.stamp): Updated.
2562 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2563 Changed name of library.
2564 (libw3c_gcj_la_SOURCES): New variable.
2565 (libw3c_gcj_la_GCJFLAGS): Likewise.
2566 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2567 * external/sax/Makefile.in: Rebuilt.
2568 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2569 (sax.jar): New target.
2570 (classes.stamp): Updated.
2571 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2572 Changed name of library.
2573 (libsax_gcj_la_SOURCES): New variable.
2574 (libsax_gcj_la_GCJFLAGS): Likewise.
2575 (source_files): Renamed from libsax_convenience_la_SOURCES.
2576 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2578 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2580 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2582 2005-03-23 Sven de Marothy <sven@physto.se>
2584 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2586 * java/util/Calendar.java
2587 (set): Use starting day of week when one is needed if none is given.
2588 * java/text/SimpleDateFormat.java
2589 (parse): Handle 1-12 and 1-24 timestamps correctly.
2590 * java/util/GregorianCalendar.java
2591 (computeTime, computeFields): HOUR should be in 0-11 format.
2592 (nonLeniencyCheck): Adjust leniency checking to that fact.
2593 (getLinearDay): Should be private.
2595 2005-03-23 Tom Tromey <tromey@redhat.com>
2597 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2598 (_Jv_CheckABIVersion): Use it.
2600 2005-03-22 Mike Stump <mrs@apple.com>
2602 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2604 * include/posix.h: .dylib is used on all Apple MACH platforms.
2605 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2607 2005-03-22 Tom Tromey <tromey@redhat.com>
2609 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2611 2005-03-21 Tom Tromey <tromey@redhat.com>
2613 * java/lang/VMCompiler.java (static block): Also catch
2614 BufferUnderflowException.
2616 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2618 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2619 set tool_include_dir. In all substitutions, leave $(gcc_version)
2620 to be expanded by the Makefile.
2621 * aclocal.m4, configure: Regenerate.
2622 * Makefile.am: Set gcc_version. Replace all uses of
2623 @gcc_version@ with $(gcc_version).
2624 * external/Makefile.am, external/sax/Makefile.am
2625 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2626 * testsuite/Makefile.am: Set gcc_version.
2627 * include/Makefile.am: Set gcc_version and tool_include_dir.
2628 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2629 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2630 * testsuite/Makefile.in: Regenerate.
2632 2005-03-17 Andrew Haley <aph@redhat.com>
2634 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2636 Pass klass to _Jv_StackTrace::GetClassContext().
2637 * java/lang/ClassLoader.java (getParent): Pass class to
2638 VMSecurityManager.getClassContext()
2639 (getSystemClassLoader): Likewise.
2640 * java/lang/Package.java (getPackage): Likewise.
2641 (getPackages): Likewise.
2642 * java/lang/SecurityManager.java (getClassContext): Likewise.
2643 (currentClassLoader): Likewise.
2644 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2645 (currentClassLoader) Add new arg: caller.
2646 Pass caller to VMSecurityManager.getClassContext.
2648 * stacktrace.cc (GetClassContext): Correct calculation of
2651 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2652 im->source_file_name.
2654 2005-03-16 Andrew Haley <aph@redhat.com>
2656 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2658 2005-03-16 Tom Tromey <tromey@redhat.com>
2660 * link.cc (ensure_class_linked): Removed #ifdef.
2661 (print_class_loaded): Likewise.
2662 (wait_for_state): Likewise.
2663 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2664 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2665 * include/java-interp.h: ... here.
2667 2005-03-16 Tom Tromey <tromey@redhat.com>
2669 * gnu/java/lang/MainThread.java (run): Load main class using
2670 system class loader.
2672 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2674 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2675 lgcc_s to the libraries to link for Darwin.
2677 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2679 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2680 interpreter-specific code with #ifdef INTERPRETER.
2681 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2682 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2683 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2684 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2685 #ifdef INTERPRETER. Also protect declarations that use it.
2686 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2687 #ifdef INTERPRETER block.
2689 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2692 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2693 * Makefile.in: Rebuilt.
2695 2005-03-15 David Daney <ddaney@avtrex.com>
2697 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2700 2005-03-15 David Daney <ddaney@avtrex.com>
2702 * java/io/BufferedInputStream.java (available): Use 'in' instead
2703 of 'super' for underlying stream access.
2705 (read(byte[], int, int)): Ditto.
2707 (skip): Call skip on underlying stream when possible.
2709 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2711 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2712 SJLJ_EXCEPTIONS is defined.
2714 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2716 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2719 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2721 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2723 (libjava_arguments): Likewise.
2725 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2726 (gcj_jni_test_one): Likewise.
2727 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2728 Add flags to keep the Darwin linker quiet.
2729 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2730 Add -liconv for Darwin.
2732 2005-03-11 Tom Tromey <tromey@redhat.com>
2734 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2735 (_Jv_CheckABIVersion): Use it.
2737 2005-03-11 Tom Tromey <tromey@redhat.com>
2739 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2740 (usage): Document '-p'.
2741 * Makefile.in: Rebuilt.
2742 * Makefile.am (dbexecdir): New variable.
2743 (db_name): Likewise.
2744 (dbexec_DATA): Likewise.
2745 ($(db_name)): New target.
2746 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2747 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2750 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2752 * exception.cc: Remove stray MethodRef.h include.
2753 * java/lang/natClass.cc: Likewise.
2754 * gnu/gcj/runtime/MethodRef.java: Removed.
2755 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2756 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2757 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2758 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2759 * Makefile.in: Rebuilt.
2761 2005-03-10 Tom Tromey <tromey@redhat.com>
2763 * Makefile.in: Rebuilt.
2764 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2766 2005-03-10 Chris Burdess <dog@bluezoo.org>
2768 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2769 not currently parsing the DTD.
2771 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2773 New Stack Trace infrastructure.
2774 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2775 (gnu/gcj/runtime/StackTrace.java): Removed.
2776 (ordinary_java_source_files): Remove obsolete files.
2777 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2778 * configure.host (fallback_backtrace_h): Set backtrace header
2779 for mingw and cygwin targets.
2780 * configure.ac: Make symlink for fallback backtrace headers.
2781 * Makefile.in, configure: Rebuilt.
2782 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2783 Read 'LineNumberTable' attribute.
2784 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2786 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2788 * exception.cc: Remove unused include.
2789 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2790 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2791 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2792 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2793 table to direct threaded instruction values.
2794 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2795 (_Jv_InterpMethod::run): No longer member function. All
2796 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2797 is made or where an instruction could throw.
2798 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2800 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2801 (catch_fpe): Likewise.
2802 * stacktrace.cc: New file. Stack trace code now here.
2803 * gnu/gcj/runtime/MethodRef.java:
2804 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2805 calls addr2line to look up PC addresses in a given binary or shared
2807 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2808 gnu/gcj/runtime/natStackTrace.cc: Removed.
2809 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2810 this function name is specially recognised by the stack trace code
2811 and shouldn't be changed.
2812 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2813 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2814 (_Jv_InterpMethod::run): Update declaration.
2815 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2817 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2818 * include/java-stack.h: New file. Declarations for stack tracing.
2819 * include/jvm.h (_Jv_Frame_info): Removed.
2820 * java/lang/Class.h: Update friend declarations.
2821 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2823 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2824 (getStackTrace): Now native.
2825 (data): New RawDataManaged field.
2826 * java/lang/natClass.cc: Update includes.
2827 (forName): Use _Jv_StackTrace::GetCallingClass for
2828 calling-classloader check.
2829 (getClassLoader): Likewise.
2830 * java/lang/natRuntime.cc: Update includes.
2831 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2832 * java/lang/natVMSecurityManager.cc: Update includes.
2833 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2834 * java/lang/natVMThrowable.cc: New file. Native methods for
2836 * java/lang/reflect/natArray.cc: Update includes.
2837 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2838 accessibility check.
2839 * java/lang/reflect/natConstructor.cc: Update includes.
2840 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2841 accessibility check.
2842 * java/lang/reflect/natField.cc: Update includes.
2843 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2844 accessibility check.
2845 * java/lang/reflect/natMethod.cc: Update includes.
2846 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2847 accessibility check.
2848 * java/util/natResourceBundle.cc: Update includes.
2849 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2850 * java/util/logging/natLogger.cc: Update includes. Use
2851 _Jv_StackTrace::GetCallerInfo to get call-site info.
2852 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2854 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2857 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2859 * testsuite/libjava.compile/PR20312.java: New file.
2860 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2861 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2863 2005-03-09 Andrew Haley <aph@redhat.com>
2865 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2867 (smallTransferTo): New.
2868 (transferFrom): Loop around smallTransferFrom, copying pageSize
2870 (transferTo): Likewise.
2872 2005-03-09 David Daney <ddaney@avtrex.com>
2875 Merge BufferedInputStream from GNU Classpath.
2876 * java/io/BufferedInputStream.java (marktarget): Field removed.
2877 (CHUNKSIZE): Field removed.
2878 (bufferSize): New field.
2879 (BufferedInputStream): Initialize fields.
2880 (close): Invalidate mark and buffer indexes.
2882 (read()): Move mark handling code to refill.
2883 (read(byte[], int, int)): Ditto.
2884 (skip): Ditto and simplify EOF testing.
2885 (refill): Rewritten.
2886 * java/io/InputStreamReader.java (refill): Removed mark and reset
2887 of internal BufferedInputStream.
2889 2005-03-09 Tom Tromey <tromey@redhat.com>
2891 * java/lang/natVMClassLoader.cc (defineClass): Reference
2892 'systemClassLoader' field directly.
2893 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2895 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2896 Reference 'systemClassLoader' field directly.
2897 (_Jv_UnregisterInitiatingLoader): Likewise.
2898 (_Jv_FindClass): Likewise.
2900 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2902 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2904 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2905 the file in GNU Classpath style.
2907 2005-03-09 Tom Tromey <tromey@redhat.com>
2909 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2910 (toString): Synchronize.
2912 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2914 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2915 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2917 2005-03-07 Tom Tromey <tromey@redhat.com>
2919 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2920 (usage): Document '-f'.
2922 2005-03-07 Tom Tromey <tromey@redhat.com>
2924 * java/lang/VMCompiler.java (md5Digest): New field.
2925 (compileClass): Clone md5Digest instead of looking up a new one.
2927 2005-03-07 Tom Tromey <tromey@redhat.com>
2930 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2931 * link.cc (find_field_helper): Added 'type' argument.
2932 (find_field): Updated.
2934 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2935 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2936 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2937 throw UnsupportedOperationException, fixed comments.
2938 (setFont, setForeground): Fixed comments.
2939 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2940 return type to boolean.
2941 (getNextEvent): Fixed javadocs.
2942 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2943 (nativeQueueEmpty): Removed unused code.
2944 (iterateNativeQueue): Removed outer loop.
2946 2005-03-06 Roger Sayle <roger@eyesopen.com>
2949 * Makefile.am (libgcj0_convenience.la): Revert last change.
2950 * Makefile.in: Regenerate.
2952 2005-03-05 Anthony Green <green@redhat.com>
2954 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2955 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2956 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2957 (_Jv_GetDrawingSurface): Set visualID.
2958 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2959 (JAWT_GetAWT): Set Lock and Unlock.
2960 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2962 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2963 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2964 JAWT_LOCK_SURFACE_CHANGED): New macros.
2965 (struct _JAWT): Add Lock and Unlock.
2967 2005-03-05 Roger Sayle <roger@eyesopen.com>
2968 Alexandre Oliva <aoliva@redhat.com>
2969 Kelley Cook <kcook@gcc.gnu.org>
2972 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2973 of the object files to link to avoid exceeding the command line
2974 length limits on some platforms.
2975 (clean-local): Clean up objectlist files.
2976 * Makefile.in: Regenerate.
2978 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2980 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2981 spec_case. Initialize pointer mlo.
2983 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2986 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2988 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2991 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2992 uninitialized variable z.
2994 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2995 possible unused variables.
2997 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2999 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3001 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3004 * testsuite/libjava.jni/jni.exp
3005 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3007 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3009 2005-02-23 David Daney <ddaney@avtrex.com>
3011 * configure.host: Don't use -mxgot for MIPS builds.
3013 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3016 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3017 (COMPPATH): Removed.
3018 (ZIP, GCJH): Replace it with ../$(host_subdir).
3019 (built_gcc_dir): Add $(host_subdir).
3020 * configure: Regenerate.
3021 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3022 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3023 external/w3c_dom/Makefile.in: Regenerate.
3025 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3027 * java/awt/font/TextAttribute.java: changed names to lower case;
3028 (readResolve): implemented.
3029 Added doc comments all over.
3031 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3034 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3035 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3036 value. Move argument parsing code to prims.cc.
3037 * prims.cc (no_properties): Remove.
3038 (_Jv_Compiler_Properties): Initialize to NULL.
3039 (_Jv_Properties_Count): Initialize to 0.
3040 (parse_verbose_args): New function.
3041 (parse_init_args): New function.
3042 (_Jv_CreateJavaVM): Call parse_init_args.
3043 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3044 * gcj/cni.h (JvVMOption): New struct.
3045 (JvVMInitArgs): Likewise.
3046 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3048 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3049 (_Jv_VMInitArgs): Likewise.
3050 * include/java-props.h (_Jv_Properties_Count): Declare.
3051 * java/lang/natRuntime.cc (insertSystemProperties): Use
3052 _Jv_Properties_Count in for loop exit condition.
3053 * testsuite/libjava.jni/jni.exp
3054 (gcj_invocation_compile_c_to_binary): New procedure.
3055 (gcj_invocation_test_one): Likewise.
3056 (gcj_jni_run): Run JNI invocation API tests.
3057 * testsuite/libjava.jni/invocation/PR16923.c,
3058 testsuite/libjava.jni/invocation/PR16923.java,
3059 testsuite/libjava.jni/invocation/PR16923.out: New test.
3061 2005-02-23 Michael Koch <konqueror@gmx.de>
3063 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3064 * Makefile.in: Regenerated.
3066 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3068 * gnu/java/nio/ChannelReader: Fixed comments.
3070 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3072 * java/nio/channels/Channels: Added FIXMEs about
3073 stub method implementation.
3074 (newReader): Implemented.
3075 * gnu/java/nio/ChannelReader: New class.
3077 2005-02-23 Michael Koch <konqueror@gmx.de>
3079 * java/text/SimpleDateFormat.java:
3080 Removed unused import.
3082 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3085 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3086 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3087 * Makefile.in: Regenerate.
3088 * configure.ac: Check for libXtst.
3089 * configure: Regenerate.
3091 2005-02-22 Mark Wielaard <address@bogus.example.com>
3093 * java/security/AlgorithmParameterGenerator.java (getInstance):
3094 Mention provider when throwing NoSuchProviderException.
3095 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3096 * java/security/KeyFactory.java (getInstance): Likewise.
3097 * java/security/KeyStore.java (getInstance): Likewise.
3098 * java/security/SecureRandom.java (getInstance): Likewise.
3099 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3101 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3103 * java/lang/reflect/Proxy.java,
3105 java/security/SecureRandom.java,
3106 java/util/Timer.java,
3107 java/util/prefs/AbstractPreferences.java:
3108 Don't catch java.lang.ThreadDeath.
3110 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3112 * java/awt/font/TransformAttribute.java,
3113 (TransformAttribute(AffineTransform)): throw
3114 IllegalArgumentException for null transform.
3115 (getTransform): return a copy of transform.
3116 Added doc comments to all.
3118 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3120 * java/io/Externalizable.java,
3121 java/io/Serializable.java
3122 (serialVersionUID): Removed.
3123 * java/rmi/server/RemoteObject.java,
3124 java/rmi/server/UID.java
3125 (serialVersionUID): Made private.
3126 * java/rmi/server/RemoteRef.java,
3127 java/rmi/server/ServerRef.java
3128 (serialVersionUID): Set proper value.
3129 * java/security/interfaces/DSAPrivateKey.java,
3130 java/security/interfaces/DSAPublicKey.java,
3131 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3132 java/security/interfaces/RSAPrivateCrtKey.java,
3133 java/security/interfaces/RSAPrivateKey.java,
3134 java/security/interfaces/RSAPublicKey.java,
3135 javax/crypto/SecretKey.java
3136 (serialVersionUID): Added.
3138 2005-02-22 Tom Tromey <tromey@redhat.com>
3140 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3142 2005-02-22 Tom Tromey <tromey@redhat.com>
3145 * verify.cc (type::EITHER): New constant.
3146 (check_field_constant): Use it.
3147 (type::compatible): Handle it.
3149 2005-02-22 Michael Koch <konqueror@gmx.de>
3151 * gnu/java/security/PolicyFile.java,
3152 gnu/java/security/pkcs/PKCS7SignedData.java,
3153 gnu/java/security/pkcs/SignerInfo.java:
3154 Fixed copyright header.
3156 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3158 * java/beans/PropertyDescriptor.java
3159 (PropertyDescriptor,setReadMethod): Set propertyType.
3161 2005-02-22 Michael Koch <konqueror@gmx.de>
3163 * java/nio/DirectByteBufferImpl.java
3164 (owner): Fixed formatting of javadoc.
3165 * java/text/DateFormat.java
3166 (getAvailableLocales): Fixed formatting.
3167 * java/text/SimpleDateFormat.java:
3168 Fixed formatting and import statement order.
3169 * java/util/Calendar.java
3170 (Calendar): Fixed javadoc to be HTML compliant.
3171 * java/util/SimpleTimeZone.java:
3174 2005-02-22 Roman Kennke <roman@ontographics.com>
3176 * javax/swing/plaf/basic/BasicLookAndFeel.java
3177 (initComponentDefaults): Fixed Button left and right margin.
3179 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3181 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3185 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3186 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3187 (getWidth): New method.
3188 (getHeight): Likewise.
3189 (create): Remove width, height and insets parameters. Move size
3191 (realize_cb): ... here. New function.
3192 (connectSignals): Connect realize_cb.
3193 (request_frame_extents): Remove FIXME. Move
3194 postInsetsChangedEvent lookup ...
3195 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3196 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3197 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3199 (windowGetWidthID): Likewise.
3200 (windowGetHeightID): Likewise.
3202 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3206 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3208 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3210 Merge serialization from GNU Classpath.
3211 * gcj/method.h: Add missing #includes.
3212 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3213 primitive class IDs on the stream here...
3214 (resolveClass): ...not here.
3215 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3217 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3218 setLongNative, setIntNative, setShortNative, setCharNative,
3219 setByteNative, setBooleanNative, setObjectNative): New native methods.
3220 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3221 setLongNative, setIntNative, setShortNative, setCharNative,
3222 setByteNative, setBooleanNative, setObjectNative): Implement them.
3223 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3224 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3225 the constructor here.
3226 (callConstructor): Removed.
3227 (getCallersClassLoader): Removed.
3228 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3229 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3230 to control whether setting final field values is permitted. Call
3231 getAddr() with checkFinal parameter instead of setAddr().
3232 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3233 only if not done already.
3234 (getAddr): Add checkFinal parameter. Do the final field check only if
3238 2005-02-21 Mark Wielaard <mark@klomp.org>
3241 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3244 2005-02-21 Mark Wielaard <mark@klomp.org>
3247 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3248 without a super class and us ObjectStreamClass.lookupForClassObject().
3249 (resolveClass): Check for primitive types.
3250 (lookupClass): Return null when argument is null.
3252 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3254 * java/io/ObjectInputStream.java
3255 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3257 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3259 * java/io/ObjectOutputStream.java
3260 (writeObject, callWriteMethod): Replaced reflection with accessing
3261 cached info in ObjectStreamClass.
3262 (getMethod): Removed.
3263 * java/io/ObjectStreamClass.java
3264 (findMethod): Added check to make sure the method found has the
3266 (cacheMethods): Added writeReplace and writeObject methods.
3267 (setFlags): Look at new writeObjectMethod field instead of doing
3269 (writeReplaceMethod): New field.
3270 (writeObjectMethod): New field.
3272 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3273 Jeroen Frijters <jeroen@frijters.net>
3275 * java/io/ObjectInputStream.java
3276 (newObject): Changed prototype. Get a constructor reflect object
3278 (callConstructor): Removed.
3279 (allocateObject): Changed prototype.
3280 (readClassDescriptor): Build the constructor reflection directly.
3281 (readObject): Invoke newObject using the new prototype.
3283 * java/io/ObjectStreamClass.java
3284 (firstNonSerializableParent): Removed.
3285 (firstNonSerializableParentConstructor): Added.
3287 2005-02-21 Mark Wielaard <mark@klomp.org>
3289 * gnu/java/locale/LocaleInformation_en.java: Extend
3290 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3292 2005-02-21 Mark Wielaard <mark@klomp.org>
3294 * java/text/SimpleDateFormat.java
3295 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3296 NullPointerException when formatData is null.
3298 2005-02-21 Mark Wielaard <mark@klomp.org>
3300 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3301 taking dstSavings into account.
3303 2005-02-21 Sven de Marothy <sven@physto.se>
3305 * java/text/SimpleDateFormat.java,
3306 (parse): Set correct DST_OFFSET to the correct value.
3308 2005-02-21 Mark Wielaard <mark@klomp.org>
3310 * java/util/SimpleTimeZone.java (checkRule): Throw
3311 IllegalArgumentException when month out of range.
3313 2005-02-21 Sven de Marothy <sven@physto.se>
3315 * java/util/GregorianCalendar.java,
3316 (add): Don't set fields directly anymore. Use set()
3318 2005-02-21 Mark Wielaard <mark@klomp.org>
3320 * java/text/SimpleDateFormat.java (CompiledField.toString):
3321 Use StringBuffer, not StringBuilder.
3322 (toString): Likewise.
3324 2005-02-21 Sven de Marothy <sven@physto.se>
3326 * java/util/Calendar.java
3327 (clear): Dates should clear to local time.
3328 * java/util/GregorianCalendar.java
3329 (computeTime): Fix priority problem with DAY_OF_WEEK,
3330 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3332 2005-02-21 Sven de Marothy <sven@physto.se>
3334 * java/util/Calendar.java
3335 (Calendar): Constructor should clear fields.
3337 2005-02-21 Sven de Marothy <sven@physto.se>
3339 * java/text/SimpleDateFormat.java
3340 (parse): Tweak handling of 2-year dates
3341 * java/util/Calendar.java
3342 (clear): Clear fields to correct value.
3343 * java/util/GregorianCalendar.java
3344 (computeTime): Correct handling of time zones.
3345 Correct field minimum values.
3347 2005-02-21 Sven de Marothy <sven@physto.se>
3349 * java/util/Calendar.java
3350 (set) Invalidate all fields on first call to set().
3352 2005-02-21 Sven de Marothy <sven@physto.se>
3354 * java/util/GregorianCalendar.java
3355 (computeTime): Fixed handling of time zones.
3357 2005-02-21 Sven de Marothy <sven@physto.se>
3359 * java/util/Calendar.java
3360 (clear): Set values to Epoch instead of zero.
3361 (set): Set isSet to the relevant field pattern instead of just
3363 * java/util/GregorianCalendar.java
3364 (getBundle): Removed.
3365 (getDayOfYear): Removed.
3366 (getFirstDayOfMonth): New private method.
3367 (nonLeniencyCheck): New private method.
3368 (computeTime): Correct handling of insufficient data.
3370 2005-02-21 Sven de Marothy <sven@physto.se>
3372 * java/util/Calendar.java: Invalidate ERA field on setting
3374 * java/util/SimpleTimeZone.java:
3375 (getDaysInMonth): Reimplemented.
3376 * java/util/GregorianCalendar.java:
3377 (getLinearTime): Removed.
3378 (isLeapYear(int,boolean)): Removed.
3379 (before(), after()): Removed.
3380 (computeTime): Reimplemented.
3382 2005-02-21 Sven de Marothy <sven@physto.se>
3384 * java/util/Calendar.java: Reformatted.
3385 * java/util/GregorianCalendar.java: Reformatted.
3386 * java/util/SimpleTimeZone.java: Reformatted.
3388 2005-02-21 Sven de Marothy <sven@physto.se>
3390 * java/util/GregorianCalendar.java
3391 (GregorianCalendar): Update fields in the constructor
3393 2005-02-21 Noa Resare <noa@resare.com>
3395 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3396 (set(int,int)): Set and use new field.
3397 (set(int,int,int)): Check new field.
3399 2005-02-21 Noa Resare <address@hidden>
3401 * java/util/Calendar.java(set):
3402 Fix for DST related regression.
3404 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3406 * java/util/Calendar.java
3407 (setTimeInMillis): Added call to clear, removed computeFields call.
3408 * java/util/Date.java
3409 (Date(int,int,int,int,int,int)): Removed workaround for
3410 GregorianCalendar bug.
3411 * java/util/GregorianCalendar.java
3412 (GregorianCalendar): Chained all constructors to a (new)
3414 (computeTime): Fixed support for lenient month treatment.
3415 (getLinearDay): Return long instead of int.
3416 (calculateDay): Added fields argument and changed day argument
3419 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3421 * java/text/SimpleDateFormat.java
3422 Lots of documentation updates.
3423 (readObject(java.io.ObjectInputStream)): Wraps
3424 IllegalArgumentException as specified.
3425 (compileFormat(String)): Uses standardChars
3426 rather than the local pattern characters.
3427 Throws IllegalArgumentException rather than
3429 (toString()): Extended to include all variables
3431 (translateLocalizedPattern(String, String, String)):
3432 Renamed to better define the use of this method.
3434 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3436 * java/text/DateFormat.java:
3437 Documented pattern character offset constants and
3439 (Field): Added new static fields for new pattern chars.
3440 * java/text/SimpleDateFormat.java:
3441 (CompiledField): Changed name of FieldSizePair class
3442 to CompiledField after adding the character as an
3443 attribute. Changed fields to private and added
3444 accessors to give encapsulation.
3445 (CompiledField.CompiledField(int,int,char)): Extended
3446 with character field.
3447 (CompiledField.getField()): New accessor method.
3448 (CompiledField.getSize()): New acceessor method.
3449 (CompiledField.getCharacter()): New accessor method.
3450 (CompiledField.toString()): Added primarily for debugging.
3451 (standardChars): Now uses extended 24 character sequence.
3452 (compileFormat(String)): Changed to use CompiledField.
3453 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3454 java.text.FieldPosition)): Changed to use CompiledField.
3455 New handler for RFC 822 timezones added.
3457 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3459 * java/text/SimpleDateFormat.java:
3460 (parse(String, java.text.ParsePosition)):
3461 Changed 'E' and 'M' cases to use both
3462 short and long names. Extended 'z'
3463 case to also handle 'Z', and deal
3464 with simple GMT offsets such as +0100.
3465 (computeOffset(String)): New private method,
3466 which converts a GMT offset specification,
3467 such as GMT-0500 to a numeric offset in
3469 * java/util/TimeZone.java:
3470 (timezones()): Added "CEST", the daylight
3471 savings time version of "CET", or Central
3474 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3476 * java/text/SimpleDateFormat.java:
3477 (parse): Set the DST offset to 0 when parsing
3478 GMT offset timezones.
3480 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3482 * java/text/SimpleDateFormat.java:
3483 (parse): Use offset to set ZONE_OFFSET
3484 rather than the DST_OFFSET, so that
3485 GMT offset timezones change the right
3488 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3490 * java/text/SimpleDateFormat.java:
3491 (getDateFormatSymbols()): return a copy
3492 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3493 throw exception on null input
3494 (clone()): implemented to clone
3497 2005-02-21 Sven de Marothy <sven@physto.se>
3499 * java/text/SimpleDateFormat.java
3500 (parse): comparison should be case-insensitive, ignore null
3503 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3505 * gnu/java/beans/IntrospectionIncubator.java
3506 (addMethod) Reverts the patch that ntroduced a regression (see bug
3507 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3509 2005-02-21 Michael Koch <konqueror@gmx.de>
3511 * java/awt/Checkbox.java
3512 (next_checkbox_number): New static variable.
3513 (generateName): New method.
3514 (getUniqueLong): Likewise.
3515 * java/awt/Window.java
3516 (next_window_number): New static variable.
3517 (generateName): New method.
3518 (getUniqueLong): Likewise.
3520 2005-02-21 Mark Wielaard <mark@klomp.org>
3522 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3525 2005-02-21 Andrew Haley <aph@redhat.com>
3527 * Makefile.in: Rebuilt.
3528 * Makefile.am (nat_source_files): Added natLogger.cc.
3529 * java/util/logging/natLogger.cc: New file.
3530 * java/util/logging/Logger.java (getCallerStackFrame): Now
3533 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3535 * Makefile.am (all_property_files): Remove left over.
3536 (classes.stamp): Add stamp for the ONESTEP build, also known as
3537 --enable-libgcj-multifile.
3538 * Makefile.in: Regenerated.
3540 2005-02-21 Michael Koch <konqueror@gmx.de>
3542 * java/awt/Button.java,
3543 java/awt/Container.java,
3545 java/awt/Frame.java,
3546 java/text/CollationElementIterator.java,
3547 java/text/RuleBasedCollator.java,
3548 java/util/PropertyPermission.java:
3549 Fixed formatting issues all over.
3551 2005-02-21 Mark Wielaard <mark@klomp.org>
3553 * java/io/FileDescriptor.java (sync): Add real exception to
3554 SyncFailedException.
3556 2005-02-21 Michael Koch <konqueror@gmx.de>
3558 * java/io/InputStreamReader.java:
3561 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3564 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3566 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3568 * libraries/javalib/gnu/regexp/RE.java,
3569 libraries/javalib/java/io/ObjectInputStream.java,
3570 libraries/javalib/java/security/AllPermission.java,
3571 libraries/javalib/java/security/BasicPermission.java,
3572 libraries/javalib/java/security/Permissions.java,
3573 libraries/javalib/java/text/MessageFormat.java:
3574 Made 'inner' classes real public static inner classes,
3575 and made them final where possible, or removed them
3578 2005-02-20 Michael Koch <konqueror@gmx.de>
3580 * gnu/java/text/FormatCharacterIterator.java:
3581 Removed redundant modifiers.
3583 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3585 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3588 2005-02-19 Michael Koch <konqueror@gmx.de>
3590 * Makefile.am: Added new files in gnu/java/beans and
3591 java/beans/XMLDecoder.java.
3592 * Makefile.in: Regenerated.
3594 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3596 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3597 assignment behavior by using java.lang.reflect.Array.set()
3600 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3602 * gnu/java/beans/EmptyBeanInfo.java,
3603 gnu/java/beans/info/ComponentBeanInfo.java:
3604 Removed unused files.
3606 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3608 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3609 of AppletStub for java.beans.Beans.instantiate.
3610 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3612 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3613 to be conformant with Javadoc guidelines.
3614 (instantiate): Added two more overloaded variants, reworked user
3615 documentation, fixed exception behavior, fixed behavior when
3618 2005-02-19 Mark Wielaard <mark@klomp.org>
3620 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3622 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3624 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3626 * gnu/java/beans/decoder/AbstractContext.java,
3627 gnu/java/beans/decoder/AbstractCreatableContext.java,
3628 gnu/java/beans/decoder/AbstractElementHandler.java,
3629 gnu/java/beans/decoder/AbstractObjectContext.java,
3630 gnu/java/beans/decoder/ArrayContext.java,
3631 gnu/java/beans/decoder/ArrayHandler.java,
3632 gnu/java/beans/decoder/AssemblyException.java,
3633 gnu/java/beans/decoder/BooleanHandler.java,
3634 gnu/java/beans/decoder/ByteHandler.java,
3635 gnu/java/beans/decoder/CharHandler.java,
3636 gnu/java/beans/decoder/ClassHandler.java,
3637 gnu/java/beans/decoder/ConstructorContext.java,
3638 gnu/java/beans/decoder/Context.java,
3639 gnu/java/beans/decoder/DecoderContext.java,
3640 gnu/java/beans/decoder/DefaultExceptionListener.java,
3641 gnu/java/beans/decoder/DoubleHandler.java,
3642 gnu/java/beans/decoder/DummyContext.java,
3643 gnu/java/beans/decoder/DummyHandler.java,
3644 gnu/java/beans/decoder/ElementHandler.java,
3645 gnu/java/beans/decoder/FloatHandler.java,
3646 gnu/java/beans/decoder/GrowableArrayContext.java,
3647 gnu/java/beans/decoder/IndexContext.java,
3648 gnu/java/beans/decoder/IntHandler.java,
3649 gnu/java/beans/decoder/JavaHandler.java,
3650 gnu/java/beans/decoder/LongHandler.java,
3651 gnu/java/beans/decoder/MethodContext.java,
3652 gnu/java/beans/decoder/MethodFinder.java,
3653 gnu/java/beans/decoder/NullHandler.java,
3654 gnu/java/beans/decoder/ObjectContext.java,
3655 gnu/java/beans/decoder/ObjectHandler.java,
3656 gnu/java/beans/decoder/PersistenceParser.java,
3657 gnu/java/beans/decoder/PropertyContext.java,
3658 gnu/java/beans/decoder/ShortHandler.java,
3659 gnu/java/beans/decoder/SimpleHandler.java,
3660 gnu/java/beans/decoder/StaticMethodContext.java,
3661 gnu/java/beans/decoder/StringHandler.java,
3662 gnu/java/beans/decoder/VoidHandler.java: New class
3663 implementing java.beans.XMLDecoder decoding functionality.
3664 * java/beans/XMLDecoder.java: New class.
3666 2005-02-19 Michael Koch <konqueror@gmx.de>
3668 * javax/swing/JTextField.java
3669 (notfiyAction): Added javadoc.
3671 2005-02-19 Sven de Marothy <sven@physto.se>
3673 * javax/swing/SpinnerDateModel.java: Implemented.
3675 2005-02-19 Michael Koch <konqueror@gmx.de>
3677 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3678 * Makefile.in: Regenerated.
3680 2005-02-19 Michael Koch <konqueror@gmx.de>
3682 * gnu/java/nio/SelectorImpl.java:
3683 Reworked import statements.
3684 (register): Removed unused code.
3685 * java/nio/channels/Channels.java: Reformatted.
3686 * java/nio/charset/Charset.java: Likewise.
3687 * java/rmi/server/RemoteObject.java
3688 (serialVersionUID): Made private.
3689 * java/rmi/server/UID.java
3690 (serialVersionUID): Likewise.
3692 2005-02-19 Michael Koch <konqueror@gmx.de>
3694 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3695 gnu/java/net/protocol/ftp/BlockInputStream.java,
3696 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3697 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3698 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3699 gnu/java/net/protocol/ftp/DTPInputStream.java,
3700 gnu/java/net/protocol/ftp/DTP.java,
3701 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3702 gnu/java/net/protocol/ftp/FTPConnection.java,
3703 gnu/java/net/protocol/ftp/FTPException.java,
3704 gnu/java/net/protocol/ftp/FTPResponse.java,
3705 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3706 gnu/java/net/protocol/ftp/Handler.java,
3707 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3708 gnu/java/net/protocol/ftp/StreamInputStream.java,
3709 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3710 gnu/java/net/CRLFInputStream.java,
3711 gnu/java/net/CRLFOutputStream.java,
3712 gnu/java/net/GetLocalHostAction.java,
3713 gnu/java/net/protocol/ftp/package.html: New files.
3714 * Makefile.am: Added new files.
3715 * Makefile.in: Regenerated.
3717 2005-02-18 Tom Tromey <tromey@redhat.com>
3719 * link.cc (make_vtable): Remove abstract method check.
3720 (append_partial_itable): Likewise.
3723 * verify.cc (type::equals): Fixed test.
3724 * testsuite/libjava.lang/PR20056.out: New file.
3725 * testsuite/libjava.lang/PR20056.java: New file.
3727 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3729 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3730 not the HashEntry. Reported by Jean-Marie White.
3732 2005-02-18 Tom Tromey <tromey@redhat.com>
3735 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3736 * link.cc (has_field_p): New function.
3737 * verify.cc (check_field_constant): Added 'putfield' argument.
3738 (verify_instructions_0): Updated.
3739 (type::equals): New method.
3741 2005-02-18 Anthony Green <green@redhat.com>
3743 * NEWS: Draft of libgcj NEWS for 4.0.
3745 2005-02-18 Anthony Green <green@redhat.com>
3747 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3748 architecture names to "i386" for compatibility reasons. Win32
3751 2005-02-18 Anthony Green <green@redhat.com>
3753 * gij.cc (version): Change year for '--version' to 2005.
3754 * gnu/gcj/convert/Convert.java: Ditto.
3755 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3756 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3758 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3759 recent copyright year in `--version' output.
3761 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3763 * java/nio/charset/Charset.java (forName): Throws
3764 IllegalArgumentException when argument is null
3765 and added documentation.
3767 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3769 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3770 Move the position of the source buffer forward.
3772 2005-02-17 Tom Tromey <tromey@redhat.com>
3774 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3775 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3776 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3777 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3778 Changed type of second argument. Rewrote.
3779 (make_vtable): Use it.
3780 (append_partial_itable): Updated.
3781 (layout_vtable_methods): Updated.
3783 2005-02-17 Michael Koch <konqueror@gmx.de>
3785 * gnu/java/net/PlainSocketImpl.java
3786 (shutdownInput): Added javadoc.
3787 (shutdownOutput): Likewise.
3789 2005-02-17 Michael Koch <konqueror@gmx.de>
3791 * javax/print/attribute/standard/Chromaticity.java,
3792 javax/print/attribute/standard/Destination.java,
3793 javax/print/attribute/standard/MediaPrintableArea.java,
3794 javax/print/attribute/standard/MediaSize.java: New files.
3795 * Makefile.am: Added new files.
3796 * Makefile.in: Regenerated.
3798 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3799 Michael Koch <konqueror@gmx.de>
3801 * gnu/java/net/protocol/http/Cookie.java,
3802 gnu/java/net/protocol/http/HTTPConnection.java,
3803 gnu/java/net/protocol/http/HTTPDateFormat.java,
3804 gnu/java/net/protocol/http/Request.java,
3805 gnu/java/nio/PipeImpl.java,
3806 gnu/java/rmi/dgc/DGCImpl.java,
3807 gnu/java/rmi/server/ConnectionRunnerPool.java,
3808 gnu/java/rmi/server/UnicastConnectionManager.java,
3809 gnu/java/security/der/DERWriter.java,
3810 gnu/java/security/pkcs/SignerInfo.java,
3811 gnu/java/security/provider/EncodedKeyFactory.java,
3812 gnu/java/security/provider/GnuDHPublicKey.java,
3813 gnu/java/security/provider/GnuDSAPrivateKey.java,
3814 gnu/java/security/provider/GnuDSAPublicKey.java,
3815 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3816 gnu/java/security/x509/X500DistinguishedName.java,
3817 gnu/java/security/x509/X509CRL.java,
3818 gnu/java/security/x509/X509CRLEntry.java,
3819 gnu/java/security/x509/X509Certificate.java,
3820 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3821 gnu/java/security/x509/ext/CertificatePolicies.java,
3822 gnu/java/security/x509/ext/PolicyConstraint.java,
3823 gnu/xml/dom/Consumer.java,
3824 gnu/xml/dom/DomCharacterData.java,
3825 gnu/xml/dom/DomDocument.java,
3826 gnu/xml/dom/DomDocumentBuilder.java,
3827 gnu/xml/dom/DomIterator.java,
3828 gnu/xml/dom/DomNode.java,
3829 gnu/xml/dom/DomXPathExpression.java,
3830 gnu/xml/dom/DomXPathResult.java,
3831 gnu/xml/dom/JAXPFactory.java,
3832 gnu/xml/pipeline/CallFilter.java,
3833 gnu/xml/pipeline/DomConsumer.java,
3834 gnu/xml/pipeline/LinkFilter.java,
3835 gnu/xml/pipeline/NSFilter.java,
3836 gnu/xml/pipeline/TeeConsumer.java,
3837 gnu/xml/pipeline/ValidationConsumer.java,
3838 gnu/xml/pipeline/WellFormednessFilter.java,
3839 gnu/xml/pipeline/XIncludeFilter.java,
3840 gnu/xml/pipeline/XsltFilter.java,
3841 gnu/xml/transform/ApplyImportsNode.java,
3842 gnu/xml/transform/Bindings.java,
3843 gnu/xml/transform/DocumentFunction.java,
3844 gnu/xml/transform/FormatNumberFunction.java,
3845 gnu/xml/transform/NodeNumberNode.java,
3846 gnu/xml/transform/NumberNode.java,
3847 gnu/xml/transform/Stylesheet.java,
3848 gnu/xml/transform/SystemPropertyFunction.java,
3849 gnu/xml/transform/Template.java,
3850 gnu/xml/transform/TemplatesImpl.java,
3851 gnu/xml/transform/TransformerImpl.java,
3852 gnu/xml/transform/ValueOfNode.java,
3853 gnu/xml/transform/XSLURIResolver.java,
3854 gnu/xml/util/DoParse.java,
3855 gnu/xml/util/Resolver.java,
3856 gnu/xml/xpath/Expr.java,
3857 gnu/xml/xpath/FunctionCall.java,
3858 gnu/xml/xpath/RelationalExpr.java,
3859 gnu/xml/xpath/Selector.java,
3860 gnu/xml/xpath/XPathParser.java:
3861 Reworked import statements, fixed modifier order and some little
3864 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3866 * java/nio/ByteBufferImpl.java (compact):
3867 Set position and limit even if no bytes were moved.
3869 2005-02-17 Michael Koch <konqueror@gmx.de>
3871 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3872 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3873 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3874 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3875 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3876 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3877 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3878 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3879 * java/nio/FloatBufferImpl.java (compact): Set position.
3880 * java/nio/CharBufferImpl.java (compact): Likewise.
3881 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3882 * java/nio/IntBufferImpl.java (compact): Likewise.
3883 * java/nio/LongBufferImpl.java (compact): Likewise.
3884 * java/nio/ShortBufferImpl.java (compact): Likewise.
3886 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3888 * java/nio/ByteBufferImpl.java,
3889 java/nio/CharBufferImpl.java,
3890 java/nio/DirectByteBufferImpl.java,
3891 java/nio/DoubleBufferImpl.java,
3892 java/nio/FloatBufferImpl.java,
3893 java/nio/IntBufferImpl.java,
3894 java/nio/LongBufferImpl.java,
3895 java/nio/MappedByteBufferImpl.java,
3896 java/nio/ShortBufferImpl.java
3897 (compact): Added explicit read-only check and invalidate mark.
3899 2005-02-17 Michael Koch <konqueror@gmx.de>
3901 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3902 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3903 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3904 gnu/java/awt/peer/gtk/GdkGraphics.java,
3905 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3906 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3907 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3908 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3909 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3910 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3911 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3912 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3913 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3914 gnu/java/awt/peer/gtk/GtkClipboard.java,
3915 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3916 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3917 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3918 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3919 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3920 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3921 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3922 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3923 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3924 gnu/java/awt/peer/gtk/GtkToolkit.java,
3925 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3926 java/applet/Applet.java,
3927 java/awt/AWTError.java,
3928 java/awt/AWTEvent.java,
3929 java/awt/AWTEventMulticaster.java,
3930 java/awt/AWTException.java,
3931 java/awt/AWTKeyStroke.java,
3932 java/awt/AWTPermission.java,
3933 java/awt/ActiveEvent.java,
3934 java/awt/Adjustable.java,
3935 java/awt/AlphaComposite.java,
3936 java/awt/AttributeValue.java,
3937 java/awt/BorderLayout.java,
3938 java/awt/BufferCapabilities.java,
3939 java/awt/Button.java,
3940 java/awt/Canvas.java,
3941 java/awt/CheckboxGroup.java,
3942 java/awt/CheckboxMenuItem.java,
3943 java/awt/Color.java,
3944 java/awt/ColorPaintContext.java,
3945 java/awt/Component.java,
3946 java/awt/ComponentOrientation.java,
3947 java/awt/Composite.java,
3948 java/awt/CompositeContext.java,
3949 java/awt/Container.java,
3950 java/awt/ContainerOrderFocusTraversalPolicy.java,
3951 java/awt/DefaultFocusTraversalPolicy.java,
3952 java/awt/Dialog.java,
3953 java/awt/Dimension.java,
3954 java/awt/DisplayMode.java,
3955 java/awt/EventQueue.java,
3956 java/awt/FileDialog.java,
3957 java/awt/FontFormatException.java,
3958 java/awt/Graphics.java,
3959 java/awt/Graphics2D.java,
3960 java/awt/GraphicsConfigTemplate.java,
3961 java/awt/GraphicsConfiguration.java,
3962 java/awt/GraphicsDevice.java,
3963 java/awt/GridBagLayout.java,
3964 java/awt/GridBagLayoutInfo.java,
3965 java/awt/GridLayout.java,
3966 java/awt/HeadlessException.java,
3967 java/awt/IllegalComponentStateException.java,
3968 java/awt/Image.java,
3969 java/awt/Insets.java,
3970 java/awt/ItemSelectable.java,
3971 java/awt/JobAttributes.java,
3972 java/awt/KeyEventDispatcher.java,
3973 java/awt/KeyEventPostProcessor.java,
3974 java/awt/KeyboardFocusManager.java,
3975 java/awt/Label.java,
3976 java/awt/LayoutManager.java,
3977 java/awt/MenuBar.java,
3978 java/awt/MenuComponent.java,
3979 java/awt/MenuContainer.java,
3980 java/awt/PageAttributes.java,
3981 java/awt/Paint.java,
3982 java/awt/PaintContext.java,
3983 java/awt/Panel.java,
3984 java/awt/Point.java,
3985 java/awt/Polygon.java,
3986 java/awt/PrintGraphics.java,
3987 java/awt/PrintJob.java,
3988 java/awt/Rectangle.java,
3989 java/awt/RenderingHints.java,
3990 java/awt/Shape.java,
3991 java/awt/Stroke.java,
3992 java/awt/SystemColor.java,
3993 java/awt/Toolkit.java,
3994 java/awt/Transparency.java,
3995 java/awt/Window.java,
3996 java/awt/color/CMMException.java,
3997 java/awt/color/ColorSpace.java,
3998 java/awt/color/ICC_ColorSpace.java,
3999 java/awt/color/ICC_Profile.java,
4000 java/awt/color/ProfileDataException.java,
4001 java/awt/datatransfer/FlavorTable.java,
4002 java/awt/datatransfer/MimeTypeParseException.java,
4003 java/awt/datatransfer/Transferable.java,
4004 java/awt/datatransfer/UnsupportedFlavorException.java,
4005 java/awt/dnd/Autoscroll.java,
4006 java/awt/dnd/DnDConstants.java,
4007 java/awt/dnd/DragGestureListener.java,
4008 java/awt/dnd/DragSourceAdapter.java,
4009 java/awt/dnd/DragSourceDropEvent.java,
4010 java/awt/dnd/DragSourceListener.java,
4011 java/awt/dnd/DragSourceMotionListener.java,
4012 java/awt/dnd/DropTargetAdapter.java,
4013 java/awt/dnd/DropTargetContext.java,
4014 java/awt/dnd/DropTargetListener.java,
4015 java/awt/dnd/InvalidDnDOperationException.java,
4016 java/awt/dnd/MouseDragGestureRecognizer.java,
4017 java/awt/dnd/peer/DropTargetContextPeer.java,
4018 java/awt/event/AWTEventListener.java,
4019 java/awt/event/AWTEventListenerProxy.java,
4020 java/awt/event/ActionEvent.java,
4021 java/awt/event/AdjustmentEvent.java,
4022 java/awt/event/AdjustmentListener.java,
4023 java/awt/event/ComponentAdapter.java,
4024 java/awt/event/ComponentEvent.java,
4025 java/awt/event/ComponentListener.java,
4026 java/awt/event/ContainerAdapter.java,
4027 java/awt/event/ContainerEvent.java,
4028 java/awt/event/ContainerListener.java,
4029 java/awt/event/FocusAdapter.java,
4030 java/awt/event/FocusEvent.java,
4031 java/awt/event/FocusListener.java,
4032 java/awt/event/InputEvent.java,
4033 java/awt/event/InputMethodEvent.java,
4034 java/awt/event/InputMethodListener.java,
4035 java/awt/event/InvocationEvent.java,
4036 java/awt/event/ItemEvent.java,
4037 java/awt/event/ItemListener.java,
4038 java/awt/event/KeyAdapter.java,
4039 java/awt/event/KeyEvent.java,
4040 java/awt/event/KeyListener.java,
4041 java/awt/event/MouseAdapter.java,
4042 java/awt/event/MouseEvent.java,
4043 java/awt/event/MouseListener.java,
4044 java/awt/event/MouseMotionAdapter.java,
4045 java/awt/event/MouseMotionListener.java,
4046 java/awt/event/MouseWheelEvent.java,
4047 java/awt/event/MouseWheelListener.java,
4048 java/awt/event/PaintEvent.java,
4049 java/awt/event/TextEvent.java,
4050 java/awt/event/TextListener.java,
4051 java/awt/event/WindowAdapter.java,
4052 java/awt/event/WindowEvent.java,
4053 java/awt/event/WindowFocusListener.java,
4054 java/awt/event/WindowListener.java,
4055 java/awt/event/WindowStateListener.java,
4056 java/awt/font/TextHitInfo.java,
4057 java/awt/geom/CubicCurve2D.java,
4058 java/awt/geom/Dimension2D.java,
4059 java/awt/geom/Ellipse2D.java,
4060 java/awt/geom/IllegalPathStateException.java,
4061 java/awt/geom/Line2D.java,
4062 java/awt/geom/NoninvertibleTransformException.java,
4063 java/awt/geom/PathIterator.java,
4064 java/awt/geom/Point2D.java,
4065 java/awt/geom/QuadCurve2D.java,
4066 java/awt/geom/RectangularShape.java,
4067 java/awt/geom/RoundRectangle2D.java,
4068 java/awt/im/InputContext.java,
4069 java/awt/im/InputMethodHighlight.java,
4070 java/awt/im/InputMethodRequests.java,
4071 java/awt/im/InputSubset.java,
4072 java/awt/im/spi/InputMethod.java,
4073 java/awt/im/spi/InputMethodDescriptor.java,
4074 java/awt/image/BandCombineOp.java,
4075 java/awt/image/BandedSampleModel.java,
4076 java/awt/image/ByteLookupTable.java,
4077 java/awt/image/ComponentSampleModel.java,
4078 java/awt/image/DataBuffer.java,
4079 java/awt/image/DataBufferByte.java,
4080 java/awt/image/DataBufferDouble.java,
4081 java/awt/image/DataBufferFloat.java,
4082 java/awt/image/DataBufferInt.java,
4083 java/awt/image/DataBufferShort.java,
4084 java/awt/image/DataBufferUShort.java,
4085 java/awt/image/ImagingOpException.java,
4086 java/awt/image/Kernel.java,
4087 java/awt/image/LookupTable.java,
4088 java/awt/image/MultiPixelPackedSampleModel.java,
4089 java/awt/image/PackedColorModel.java,
4090 java/awt/image/PixelInterleavedSampleModel.java,
4091 java/awt/image/RGBImageFilter.java,
4092 java/awt/image/Raster.java,
4093 java/awt/image/RasterFormatException.java,
4094 java/awt/image/SampleModel.java,
4095 java/awt/image/ShortLookupTable.java,
4096 java/awt/image/SinglePixelPackedSampleModel.java,
4097 java/awt/image/WritableRaster.java,
4098 java/awt/print/PrinterAbortException.java,
4099 java/awt/print/PrinterException.java,
4100 java/awt/print/PrinterIOException.java,
4101 java/beans/AppletInitializer.java,
4102 java/beans/ExceptionListener.java,
4103 java/beans/PropertyChangeEvent.java,
4104 java/beans/PropertyChangeListenerProxy.java,
4105 java/beans/PropertyChangeSupport.java,
4106 java/beans/PropertyDescriptor.java,
4107 java/beans/VetoableChangeListenerProxy.java,
4108 java/beans/VetoableChangeSupport.java,
4109 java/io/BufferedReader.java,
4110 java/io/ByteArrayInputStream.java,
4111 java/io/ByteArrayOutputStream.java,
4112 java/io/CharArrayReader.java,
4113 java/io/CharArrayWriter.java,
4114 java/io/CharConversionException.java,
4115 java/io/DataInput.java,
4116 java/io/DataInputStream.java,
4117 java/io/DataOutput.java,
4118 java/io/DataOutputStream.java,
4119 java/io/EOFException.java,
4120 java/io/FileInputStream.java,
4121 java/io/FileNotFoundException.java,
4122 java/io/FileOutputStream.java,
4123 java/io/FilenameFilter.java,
4124 java/io/FilterInputStream.java,
4125 java/io/FilterOutputStream.java,
4126 java/io/FilterReader.java,
4127 java/io/FilterWriter.java,
4128 java/io/IOException.java,
4129 java/io/InputStream.java,
4130 java/io/InterruptedIOException.java,
4131 java/io/LineNumberInputStream.java,
4132 java/io/LineNumberReader.java,
4133 java/io/ObjectInputStream.java,
4134 java/io/ObjectStreamException.java,
4135 java/io/OptionalDataException.java,
4136 java/io/OutputStream.java,
4137 java/io/OutputStreamWriter.java,
4138 java/io/PrintStream.java,
4139 java/io/PrintWriter.java,
4140 java/io/PushbackInputStream.java,
4141 java/io/PushbackReader.java,
4142 java/io/RandomAccessFile.java,
4143 java/io/Reader.java,
4144 java/io/SequenceInputStream.java,
4145 java/io/Serializable.java,
4146 java/io/StreamCorruptedException.java,
4147 java/io/StreamTokenizer.java,
4148 java/io/StringBufferInputStream.java,
4149 java/io/StringWriter.java,
4150 java/io/SyncFailedException.java,
4151 java/io/UTFDataFormatException.java,
4152 java/io/UnsupportedEncodingException.java,
4153 java/io/WriteAbortedException.java,
4154 java/io/Writer.java,
4155 java/lang/AbstractMethodError.java,
4156 java/lang/ArithmeticException.java,
4157 java/lang/ArrayIndexOutOfBoundsException.java,
4158 java/lang/ArrayStoreException.java,
4159 java/lang/AssertionError.java,
4160 java/lang/Boolean.java,
4161 java/lang/Byte.java,
4162 java/lang/Class.java,
4163 java/lang/ClassCastException.java,
4164 java/lang/ClassCircularityError.java,
4165 java/lang/ClassLoader.java,
4166 java/lang/ClassNotFoundException.java,
4167 java/lang/CloneNotSupportedException.java,
4168 java/lang/Cloneable.java,
4169 java/lang/Comparable.java,
4170 java/lang/Compiler.java,
4171 java/lang/Double.java,
4172 java/lang/Error.java,
4173 java/lang/Exception.java,
4174 java/lang/ExceptionInInitializerError.java,
4175 java/lang/Float.java,
4176 java/lang/IllegalAccessError.java,
4177 java/lang/IllegalAccessException.java,
4178 java/lang/IllegalArgumentException.java,
4179 java/lang/IllegalMonitorStateException.java,
4180 java/lang/IllegalStateException.java,
4181 java/lang/IllegalThreadStateException.java,
4182 java/lang/IncompatibleClassChangeError.java,
4183 java/lang/IndexOutOfBoundsException.java,
4184 java/lang/InheritableThreadLocal.java,
4185 java/lang/InstantiationError.java,
4186 java/lang/InstantiationException.java,
4187 java/lang/Integer.java,
4188 java/lang/InternalError.java,
4189 java/lang/InterruptedException.java,
4190 java/lang/LinkageError.java,
4191 java/lang/Long.java,
4192 java/lang/NegativeArraySizeException.java,
4193 java/lang/NoClassDefFoundError.java,
4194 java/lang/NoSuchFieldError.java,
4195 java/lang/NoSuchFieldException.java,
4196 java/lang/NoSuchMethodError.java,
4197 java/lang/NoSuchMethodException.java,
4198 java/lang/NullPointerException.java,
4199 java/lang/Number.java,
4200 java/lang/NumberFormatException.java,
4201 java/lang/OutOfMemoryError.java,
4202 java/lang/Process.java,
4203 java/lang/Runnable.java,
4204 java/lang/Runtime.java,
4205 java/lang/RuntimeException.java,
4206 java/lang/RuntimePermission.java,
4207 java/lang/SecurityException.java,
4208 java/lang/SecurityManager.java,
4209 java/lang/Short.java,
4210 java/lang/StackOverflowError.java,
4211 java/lang/StackTraceElement.java,
4212 java/lang/StringBuffer.java,
4213 java/lang/StringIndexOutOfBoundsException.java,
4214 java/lang/ThreadDeath.java,
4215 java/lang/ThreadGroup.java,
4216 java/lang/Throwable.java,
4217 java/lang/UnsatisfiedLinkError.java,
4218 java/lang/UnsupportedOperationException.java,
4219 java/lang/VerifyError.java,
4220 java/lang/VirtualMachineError.java,
4221 java/lang/reflect/AccessibleObject.java,
4222 java/lang/reflect/Array.java,
4223 java/lang/reflect/InvocationTargetException.java,
4224 java/lang/reflect/Member.java,
4225 java/lang/reflect/Modifier.java,
4226 java/lang/reflect/Proxy.java,
4227 java/lang/reflect/ReflectPermission.java,
4228 java/lang/reflect/UndeclaredThrowableException.java,
4229 java/math/BigInteger.java,
4230 java/net/NetworkInterface.java,
4231 java/nio/ByteBufferHelper.java,
4232 java/nio/ByteBufferImpl.java,
4233 java/nio/DirectByteBufferImpl.java,
4234 java/nio/DoubleBufferImpl.java,
4235 java/nio/FloatBufferImpl.java,
4236 java/nio/IntBufferImpl.java,
4237 java/nio/LongBufferImpl.java,
4238 java/nio/ShortBufferImpl.java,
4239 java/nio/channels/Channel.java,
4240 java/nio/channels/IllegalBlockingModeException.java,
4241 java/nio/charset/spi/CharsetProvider.java,
4242 java/security/AccessControlException.java,
4243 java/security/BasicPermission.java,
4244 java/security/DigestException.java,
4245 java/security/DigestInputStream.java,
4246 java/security/DigestOutputStream.java,
4247 java/security/GeneralSecurityException.java,
4248 java/security/Guard.java,
4249 java/security/GuardedObject.java,
4250 java/security/InvalidAlgorithmParameterException.java,
4251 java/security/InvalidKeyException.java,
4252 java/security/InvalidParameterException.java,
4253 java/security/Key.java,
4254 java/security/KeyException.java,
4255 java/security/KeyManagementException.java,
4256 java/security/KeyStoreException.java,
4257 java/security/MessageDigestSpi.java,
4258 java/security/NoSuchAlgorithmException.java,
4259 java/security/NoSuchProviderException.java,
4260 java/security/Permission.java,
4261 java/security/PermissionCollection.java,
4262 java/security/Permissions.java,
4263 java/security/Principal.java,
4264 java/security/PrivateKey.java,
4265 java/security/PrivilegedActionException.java,
4266 java/security/ProviderException.java,
4267 java/security/PublicKey.java,
4268 java/security/SecureRandom.java,
4269 java/security/SecureRandomSpi.java,
4270 java/security/SignatureException.java,
4271 java/security/SignatureSpi.java,
4272 java/security/SignedObject.java,
4273 java/security/Signer.java,
4274 java/security/UnrecoverableKeyException.java,
4275 java/security/UnresolvedPermission.java,
4276 java/security/acl/AclNotFoundException.java,
4277 java/security/acl/LastOwnerException.java,
4278 java/security/acl/NotOwnerException.java,
4279 java/security/cert/CertPath.java,
4280 java/security/cert/CertPathBuilderException.java,
4281 java/security/cert/CertPathValidatorException.java,
4282 java/security/cert/CertStoreException.java,
4283 java/text/BreakIterator.java,
4284 java/text/ChoiceFormat.java,
4285 java/text/CollationElementIterator.java,
4286 java/text/CollationKey.java,
4287 java/text/Collator.java,
4288 java/text/DateFormat.java,
4289 java/text/DateFormatSymbols.java,
4290 java/text/DecimalFormat.java,
4291 java/text/DecimalFormatSymbols.java,
4292 java/text/FieldPosition.java,
4293 java/text/Format.java,
4294 java/text/NumberFormat.java,
4295 java/text/ParseException.java,
4296 java/text/ParsePosition.java,
4297 java/text/StringCharacterIterator.java,
4298 java/util/AbstractCollection.java,
4299 java/util/AbstractList.java,
4300 java/util/AbstractMap.java,
4301 java/util/AbstractSequentialList.java,
4302 java/util/AbstractSet.java,
4303 java/util/ArrayList.java,
4304 java/util/Arrays.java,
4305 java/util/BitSet.java,
4306 java/util/Collection.java,
4307 java/util/Collections.java,
4308 java/util/Comparator.java,
4309 java/util/ConcurrentModificationException.java,
4310 java/util/Currency.java,
4311 java/util/Date.java,
4312 java/util/EmptyStackException.java,
4313 java/util/Enumeration.java,
4314 java/util/EventListener.java,
4315 java/util/EventListenerProxy.java,
4316 java/util/EventObject.java,
4317 java/util/HashMap.java,
4318 java/util/HashSet.java,
4319 java/util/Hashtable.java,
4320 java/util/IdentityHashMap.java,
4321 java/util/Iterator.java,
4322 java/util/LinkedHashSet.java,
4323 java/util/LinkedList.java,
4324 java/util/List.java,
4325 java/util/ListIterator.java,
4326 java/util/ListResourceBundle.java,
4328 java/util/MissingResourceException.java,
4329 java/util/NoSuchElementException.java,
4330 java/util/Observable.java,
4331 java/util/Observer.java,
4332 java/util/Properties.java,
4333 java/util/PropertyPermissionCollection.java,
4334 java/util/RandomAccess.java,
4336 java/util/SortedMap.java,
4337 java/util/SortedSet.java,
4338 java/util/Stack.java,
4339 java/util/StringTokenizer.java,
4340 java/util/TooManyListenersException.java,
4341 java/util/TreeMap.java,
4342 java/util/TreeSet.java,
4343 java/util/Vector.java,
4344 java/util/logging/FileHandler.java,
4345 java/util/logging/Level.java,
4346 java/util/prefs/BackingStoreException.java,
4347 java/util/prefs/InvalidPreferencesFormatException.java,
4348 java/util/prefs/Preferences.java,
4349 javax/accessibility/Accessible.java,
4350 javax/accessibility/AccessibleAction.java,
4351 javax/accessibility/AccessibleBundle.java,
4352 javax/accessibility/AccessibleComponent.java,
4353 javax/accessibility/AccessibleContext.java,
4354 javax/accessibility/AccessibleEditableText.java,
4355 javax/accessibility/AccessibleExtendedComponent.java,
4356 javax/accessibility/AccessibleExtendedTable.java,
4357 javax/accessibility/AccessibleHyperlink.java,
4358 javax/accessibility/AccessibleHypertext.java,
4359 javax/accessibility/AccessibleIcon.java,
4360 javax/accessibility/AccessibleKeyBinding.java,
4361 javax/accessibility/AccessibleRelation.java,
4362 javax/accessibility/AccessibleRelationSet.java,
4363 javax/accessibility/AccessibleResourceBundle.java,
4364 javax/accessibility/AccessibleRole.java,
4365 javax/accessibility/AccessibleSelection.java,
4366 javax/accessibility/AccessibleState.java,
4367 javax/accessibility/AccessibleStateSet.java,
4368 javax/accessibility/AccessibleTable.java,
4369 javax/accessibility/AccessibleTableModelChange.java,
4370 javax/accessibility/AccessibleText.java,
4371 javax/accessibility/AccessibleValue.java,
4372 javax/imageio/IIOException.java,
4373 javax/imageio/ImageIO.java,
4374 javax/imageio/spi/IIOServiceProvider.java,
4375 javax/imageio/spi/ImageInputStreamSpi.java,
4376 javax/imageio/spi/ImageOutputStreamSpi.java,
4377 javax/imageio/spi/ImageReaderWriterSpi.java,
4378 javax/imageio/spi/ImageTranscoderSpi.java,
4379 javax/imageio/spi/RegisterableService.java,
4380 javax/imageio/spi/ServiceRegistry.java,
4381 javax/imageio/stream/IIOByteBuffer.java,
4382 javax/imageio/stream/ImageInputStream.java,
4383 javax/imageio/stream/ImageOutputStream.java,
4384 javax/naming/Binding.java,
4385 javax/naming/CannotProceedException.java,
4386 javax/naming/CompositeName.java,
4387 javax/naming/CompoundName.java,
4388 javax/naming/LinkException.java,
4389 javax/naming/LinkRef.java,
4390 javax/naming/NameClassPair.java,
4391 javax/naming/Reference.java,
4392 javax/naming/ReferralException.java,
4393 javax/naming/directory/Attribute.java,
4394 javax/naming/directory/AttributeModificationException.java,
4395 javax/naming/directory/Attributes.java,
4396 javax/naming/directory/DirContext.java,
4397 javax/naming/directory/ModificationItem.java,
4398 javax/naming/directory/SearchControls.java,
4399 javax/naming/directory/SearchResult.java,
4400 javax/naming/event/EventContext.java,
4401 javax/naming/event/EventDirContext.java,
4402 javax/naming/event/NamespaceChangeListener.java,
4403 javax/naming/event/NamingExceptionEvent.java,
4404 javax/naming/event/NamingListener.java,
4405 javax/naming/event/ObjectChangeListener.java,
4406 javax/naming/ldap/Control.java,
4407 javax/naming/ldap/ExtendedResponse.java,
4408 javax/naming/ldap/HasControls.java,
4409 javax/naming/ldap/LdapContext.java,
4410 javax/naming/ldap/UnsolicitedNotification.java,
4411 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4412 javax/naming/ldap/UnsolicitedNotificationListener.java,
4413 javax/naming/spi/DirectoryManager.java,
4414 javax/naming/spi/ResolveResult.java,
4415 javax/naming/spi/Resolver.java,
4416 javax/security/auth/callback/Callback.java,
4417 javax/security/auth/callback/CallbackHandler.java,
4418 javax/security/auth/callback/ChoiceCallback.java,
4419 javax/security/auth/callback/ConfirmationCallback.java,
4420 javax/security/auth/callback/LanguageCallback.java,
4421 javax/security/auth/callback/NameCallback.java,
4422 javax/security/auth/callback/PasswordCallback.java,
4423 javax/security/auth/callback/TextInputCallback.java,
4424 javax/security/auth/callback/TextOutputCallback.java,
4425 javax/security/auth/callback/UnsupportedCallbackException.java,
4426 javax/security/sasl/Sasl.java,
4427 javax/security/sasl/SaslServerFactory.java,
4428 javax/swing/DefaultBoundedRangeModel.java,
4429 javax/swing/JComponent.java,
4430 javax/swing/JList.java,
4431 javax/swing/JProgressBar.java,
4432 javax/swing/JRadioButton.java,
4433 javax/swing/JTextArea.java,
4434 javax/swing/JTextField.java,
4435 javax/swing/JToggleButton.java,
4436 javax/swing/JTree.java,
4437 javax/swing/SpinnerListModel.java,
4438 javax/swing/event/EventListenerList.java,
4439 javax/swing/text/JTextComponent.java,
4440 javax/swing/text/StringContent.java,
4441 javax/swing/text/Utilities.java,
4442 javax/swing/undo/UndoManager.java,
4443 javax/swing/undo/UndoableEditSupport.java,
4444 javax/transaction/HeuristicCommitException.java,
4445 javax/transaction/HeuristicMixedException.java,
4446 javax/transaction/HeuristicRollbackException.java,
4447 javax/transaction/InvalidTransactionException.java,
4448 javax/transaction/NotSupportedException.java,
4449 javax/transaction/RollbackException.java,
4450 javax/transaction/Status.java,
4451 javax/transaction/Synchronization.java,
4452 javax/transaction/SystemException.java,
4453 javax/transaction/Transaction.java,
4454 javax/transaction/TransactionManager.java,
4455 javax/transaction/TransactionRequiredException.java,
4456 javax/transaction/TransactionRolledbackException.java,
4457 javax/transaction/UserTransaction.java,
4458 javax/transaction/xa/XAException.java,
4459 javax/transaction/xa/XAResource.java,
4460 javax/transaction/xa/Xid.java,
4461 javax/xml/XMLConstants.java,
4462 javax/xml/datatype/DatatypeConfigurationException.java,
4463 javax/xml/datatype/DatatypeConstants.java,
4464 javax/xml/datatype/DatatypeFactory.java,
4465 javax/xml/datatype/Duration.java,
4466 javax/xml/datatype/XMLGregorianCalendar.java,
4467 javax/xml/namespace/NamespaceContext.java,
4468 javax/xml/namespace/QName.java,
4469 javax/xml/parsers/DocumentBuilder.java,
4470 javax/xml/parsers/DocumentBuilderFactory.java,
4471 javax/xml/parsers/FactoryConfigurationError.java,
4472 javax/xml/parsers/ParserConfigurationException.java,
4473 javax/xml/parsers/SAXParser.java,
4474 javax/xml/parsers/SAXParserFactory.java,
4475 javax/xml/transform/ErrorListener.java,
4476 javax/xml/transform/OutputKeys.java,
4477 javax/xml/transform/Result.java,
4478 javax/xml/transform/Source.java,
4479 javax/xml/transform/SourceLocator.java,
4480 javax/xml/transform/Templates.java,
4481 javax/xml/transform/Transformer.java,
4482 javax/xml/transform/TransformerConfigurationException.java,
4483 javax/xml/transform/TransformerException.java,
4484 javax/xml/transform/TransformerFactory.java,
4485 javax/xml/transform/TransformerFactoryConfigurationError.java,
4486 javax/xml/transform/URIResolver.java,
4487 javax/xml/transform/dom/DOMLocator.java,
4488 javax/xml/transform/dom/DOMResult.java,
4489 javax/xml/transform/dom/DOMSource.java,
4490 javax/xml/transform/sax/SAXResult.java,
4491 javax/xml/transform/sax/SAXSource.java,
4492 javax/xml/transform/sax/SAXTransformerFactory.java,
4493 javax/xml/transform/sax/TemplatesHandler.java,
4494 javax/xml/transform/sax/TransformerHandler.java,
4495 javax/xml/transform/stream/StreamResult.java,
4496 javax/xml/transform/stream/StreamSource.java,
4497 javax/xml/validation/Schema.java,
4498 javax/xml/validation/SchemaFactory.java,
4499 javax/xml/validation/TypeInfoProvider.java,
4500 javax/xml/validation/Validator.java,
4501 javax/xml/validation/ValidatorHandler.java,
4502 javax/xml/xpath/XPathConstants.java,
4503 javax/xml/xpath/XPathException.java,
4504 javax/xml/xpath/XPathExpression.java,
4505 javax/xml/xpath/XPathExpressionException.java,
4506 javax/xml/xpath/XPathFactory.java,
4507 javax/xml/xpath/XPathFactoryConfigurationException.java,
4508 javax/xml/xpath/XPathFunction.java,
4509 javax/xml/xpath/XPathFunctionException.java,
4510 javax/xml/xpath/XPathFunctionResolver.java:
4511 Fixed usage of @author tag, reworked import statements,
4512 removed CVS tags, changed the modifier order and fixed
4513 HTML usage in javadocs.
4515 2005-02-16 Julian Scheid <julian@sektor37.de>
4517 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4519 (encodeLoop): Likewise.
4521 2005-02-16 Mark Wielaard <mark@klomp.org>
4523 * Makefile.am (ordinary_java_source_files): Add new files
4524 gnu/java/security/ber/BER.java,
4525 gnu/java/security/ber/BEREncodingException.java,
4526 gnu/java/security/ber/BERReader.java,
4527 gnu/java/security/ber/BERValue.java,
4528 gnu/java/security/pkcs/PKCS7SignedData.java and
4529 gnu/java/security/pkcs/SignerInfo.java.
4530 * Makefile.in: Regenerated.
4532 2005-02-16 Casey Marshall <csm@gnu.org>
4534 * gnu/java/security/provider/GnuDSAPrivateKey.java
4535 (encodedKey): new field.
4536 (getFormat): return "PKCS#8".
4537 (getEncoded): implemented.
4538 (toString): check for 'null' values.
4539 * gnu/java/security/provider/GnuDSAPublicKey.java
4540 (encodedKey): new field.
4541 (getFormat): return "X.509".
4542 (getEncoded): implemented.
4543 (toString): check for 'null' values.
4545 2005-02-16 Michael Koch <konqueror@gmx.de>
4547 * java/util/jar/JarFile.java: Imports reworked.
4549 2005-02-16 Mark Wielaard <mark@klomp.org>
4551 * java/util/jar/JarFile.java (verify): Make package private.
4552 (signaturesRead): Likewise.
4553 (verified): Likewise.
4554 (entryCerts): Likewise.
4557 (entries): Construct new JarEnumeration with reference to this.
4558 (JarEnumeration): Make static.
4559 (JarEnumeration.jarfile): New field.
4560 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4561 Compare verified value to Boolean.TRUE or Boolean.False only
4562 when verify is true.
4563 (getEntry): Make synchronized. Compare value of verified to
4565 (getInputStream): Construct EntryInputStream with reference to this.
4566 (getManifest): Make synchronized.
4567 (EntryInputStream): Make static.
4568 (EntryInputStream.jarfile): New field.
4569 (EntryInputStream.EntryInputStream): Check if manifest exists,
4570 before getting attributes.
4571 (eof): Synchronize on jarfile.
4573 2005-02-16 Casey Marshall <csm@gnu.org>
4575 * java/util/jar/JarFile.java (verify): return if the jar is signed
4576 with an unsupported algorithm.
4578 2005-02-16 Mark Wielaard <mark@klomp.org>
4580 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4581 InputStream as argument.
4582 (getInputStream): Construct a new EntryInputStream with the result of
4583 super.getInputStream(entry).
4585 2005-02-16 Casey Marshall <csm@gnu.org>
4587 Signed JAR file support.
4588 * java/net/URLClassLoader.java
4589 (JarURLResource.getCertificates): re-read jar entry to ensure
4590 certificates are picked up.
4591 (findClass): fill in class `signers' field, too.
4592 * java/util/jar/JarFile.java (META_INF): new constant.
4593 (PKCS7_DSA_SUFFIX): new constant.
4594 (PKCS7_RSA_SUFFIX): new constant.
4595 (DIGEST_KEY_SUFFIX): new constant.
4596 (SF_SUFFIX): new constant.
4597 (MD2_OID): new constant.
4598 (MD4_OID): new constant.
4599 (MD5_OID): new constant.
4600 (SHA1_OID): new constant.
4601 (DSA_ENCRYPTION_OID): new constant.
4602 (RSA_ENCRYPTION_OID): new constant.
4603 (signaturesRead): new field.
4604 (verified): new field.
4605 (entryCerts): new field.
4606 (DEBUG): new constant.
4607 (debug): new method.
4608 (JarEnumeration.nextElement): fill in entry certificates, read
4609 signatures if they haven't been read.
4610 (getEntry): likewise.
4611 (getInputStream): verify stream if it hasn't been verified yet.
4612 (readSignatures): new method.
4613 (verify): new method.
4614 (verifyHashes): new method.
4615 (readManifestEntry): new method.
4616 (EntryInputStream): new class.
4617 * gnu/java/io/Base64InputStream.java (decode): new class
4619 * gnu/java/security/der/DERReader.java don't make class
4621 (in): made protected.
4623 (readLength): likewise.
4624 * gnu/java/security/ber/BER.java,
4625 * gnu/java/security/ber/BEREncodingException.java,
4626 * gnu/java/security/ber/BERReader.java,
4627 * gnu/java/security/ber/BERValue.java,
4628 * gnu/java/security/pkcs/PKCS7SignedData.java,
4629 * gnu/java/security/pkcs/SignerInfo.java:
4632 2005-02-16 Tom Tromey <tromey@redhat.com>
4634 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4635 copied file on exit.
4637 2005-02-15 Mark Wielaard <mark@klomp.org>
4639 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4641 2005-02-15 Michael Koch <konqueror@gmx.de>
4643 * gnu/java/awt/peer/gtk/GtkArg.java,
4644 gnu/java/awt/peer/gtk/GtkArgList.java:
4647 2005-02-15 Craig Black <craig.black@aonix.com>
4649 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4650 (postMenuActionEvent): Implement to notify ItemListeners.
4651 * java/awt/CheckboxMenuItem.java
4652 (dispatchEventImpl): Update state on ItemEvent.
4653 * java/awt/MenuItem.java
4654 (processActionEvent): Retarget event source.
4656 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4658 * gnu/java/awt/color/ClutProfileConverter.java,
4659 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4660 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4661 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4662 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4663 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4664 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4665 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4666 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4667 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4668 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4669 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4670 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4671 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4672 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4673 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4674 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4675 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4676 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4677 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4678 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4679 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4680 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4681 gnu/java/awt/peer/gtk/GtkToolkit.java,
4682 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4683 javax/swing/JPopupMenu.java,
4684 javax/swing/JSpinner.java,
4685 javax/swing/SortingFocusTraversalPolicy.java,
4686 javax/swing/SwingUtilities.java,
4687 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4688 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4689 javax/swing/tree/DefaultMutableTreeNode.java:
4690 Removed unused imports and expanded starred
4693 2005-02-15 Mark Wielaard <mark@klomp.org>
4695 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4696 IllegalArgumentException when the given String is null.
4698 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4699 when given keystoke sequence cannot be parsed.
4701 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4702 if one is installed. Only install the given menubar is not null.
4704 * javax/swing/JViewport.java (getViewSize): Return an empty
4705 Dimension when the view isn't set or preferred component size when
4708 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4709 empty Dimension when there is no view set.
4710 (minimumLayoutSize): Likewise.
4711 (layoutContainer): Don't try to layout when there is no view.
4713 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4716 * include/jawt.h: Likewise.
4717 * include/jawt_md.h: Likewise.
4718 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4720 * jni/classpath/classpath_jawt.h: Likewise.
4721 * jni/gtk-peer/gtk_jawt.c: Likewise.
4722 * Makefile.am: Build libjawt.so.
4724 2005-02-15 Michael Koch <konqueror@gmx.de>
4726 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4727 Merged file header with classpath CVS head.
4728 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4729 Merged code formatting with classpath CVS head.
4730 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4732 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4733 Handle special JNI strings with 2 '\0' at the end.
4734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4735 Merged file header with classpath CVS head.
4736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4737 Merged code formatting with classpath CVS head.
4739 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4742 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4743 (handle_response): Use GTK_RESPONSE_ACCEPT.
4745 2005-02-15 Graydon Hoare <graydon@redhat.com>
4747 * Makefile.am: Fix library build breakage.
4748 * Makefile.in: Regenerate.
4750 2005-02-15 Michael Koch <konqueror@gmx.de>
4752 * javax/swing/JTabbedPane.java
4753 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4755 2005-02-15 Michael Koch <konqueror@gmx.de>
4757 * javax/swing/tree/DefaultMutableTreeNode.java:
4758 Reworked Javadocs all over.
4759 (getPathToRoot): Fixed direction of result array initialization.
4761 2005-02-15 Michael Koch <konqueror@gmx.de>
4763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4764 Fix includes for cairo 0.3.0 snappshot.
4765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4766 Merged file header from classpath CVS HEAD.
4768 2005-02-15 Craig Black <craig.black@aonix.com>
4770 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4771 (copyState): Pass a JNI global reference to signal handler.
4772 (realize_cb): Use and free JNI global reference.
4773 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4774 (create): Pass a JNI global reference to signal handler.
4775 (selection_changed): Match declaration.
4776 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4777 (dispose): Do not remove entries from state tables until after widget is
4780 2005-02-15 Michael Koch <konqueror@gmx.de>
4782 * java/awt/Container.javai (paramString):
4783 If layoutMgr is null just return result of super.paramString().
4784 * java/awt/Scrollbar.java: Reformatted.
4785 * java/awt/im/InputContext.java (static):
4786 Removed redundant initializations.
4788 2005-02-15 Michael Koch <konqueror@gmx.de>
4790 * javax/swing/ImageIcon.java,
4791 javax/swing/UIManager.java,
4792 javax/swing/text/EditorKit.java,
4793 javax/swing/text/Segment.java:
4794 More whitespace cleanups.
4796 2005-02-15 Michael Koch <konqueror@gmx.de>
4798 * gnu/java/awt/EmbeddedWindow.java,
4799 gnu/java/awt/image/ImageDecoder.java,
4800 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4801 java/awt/DefaultKeyboardFocusManager.java,
4802 java/awt/Frame.java,
4803 java/awt/image/RGBImageFilter.java,
4804 javax/swing/AbstractButton.java,
4805 javax/swing/ActionMap.java,
4806 javax/swing/ComponentInputMap.java,
4807 javax/swing/DefaultDesktopManager.java,
4808 javax/swing/ImageIcon.java,
4809 javax/swing/InputMap.java,
4810 javax/swing/JButton.java,
4811 javax/swing/JCheckBox.java,
4812 javax/swing/JCheckBoxMenuItem.java,
4813 javax/swing/JEditorPane.java,
4814 javax/swing/JMenu.java,
4815 javax/swing/JMenuItem.java,
4816 javax/swing/JOptionPane.java,
4817 javax/swing/JRootPane.java,
4818 javax/swing/JTable.java,
4819 javax/swing/MenuSelectionManager.java,
4820 javax/swing/RepaintManager.java,
4821 javax/swing/ScrollPaneLayout.java,
4822 javax/swing/SortingFocusTraversalPolicy.java,
4823 javax/swing/UIManager.java,
4824 javax/swing/ViewportLayout.java,
4825 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4826 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4827 javax/swing/plaf/basic/BasicLabelUI.java,
4828 javax/swing/plaf/basic/BasicListUI.java,
4829 javax/swing/plaf/basic/BasicMenuItemUI.java,
4830 javax/swing/plaf/basic/BasicMenuUI.java,
4831 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4832 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4833 javax/swing/plaf/basic/BasicRootPaneUI.java,
4834 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4835 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4836 javax/swing/plaf/basic/BasicTextUI.java,
4837 javax/swing/table/TableColumnModel.java,
4838 javax/swing/text/AbstractDocument.java,
4839 javax/swing/text/EditorKit.java,
4840 javax/swing/text/Position.java,
4841 javax/swing/text/Segment.java,
4842 javax/swing/text/StyledEditorKit.java,
4843 javax/swing/text/ViewFactory.java:
4844 Cleanup whitespace differences to classpath CVS HEAD.
4846 2005-02-15 Graydon Hoare <graydon@redhat.com>
4848 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4849 (finalize): Call finish from here.
4850 (produce): Not from here.
4851 * Makefile.am (gtk_c_source_files):
4852 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4853 * Makefile.in: Regenerate.
4854 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4856 (cairoDrawGdkTextLayout):
4858 (getPeerTextMetrics):
4859 (getPeerFontMetrics): Remove.
4860 (setFont): Don't call cairoSetFont.
4861 (cairoDrawGlyphVector): Accept font peer argument.
4862 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4864 (ensure_metrics_cairo):
4865 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4866 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4867 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4868 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4870 (metrics_surface): Remove.
4871 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4872 Pass and install font peer.
4874 2005-02-15 Graydon Hoare <graydon@redhat.com>
4876 * Makefile.am: Create "split library" structure.
4877 * Makefile.in: Regenerate.
4879 2005-02-15 Graydon Hoare <graydon@redhat.com>
4881 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4883 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4884 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4885 Release GDK lock during upcalls.
4887 2005-02-15 Graydon Hoare <graydon@redhat.com>
4889 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4891 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4892 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4893 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4894 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4895 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4898 (getTextMetrics): New native methods.
4899 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4900 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4901 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4902 * Makefile.in: Regenerate.
4904 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4906 * javax/swing/SwingUtilities.java:
4907 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4908 Implemented and documented.
4909 (getAccessibleChild(java.awt.Component, int)): Likewise.
4910 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4911 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4912 (getAccessibleStateSet(java.awt.Component)): Likewise.
4914 2005-02-15 Michael Koch <konqueror@gmx.de>
4916 * javax/swing/SwingUtilities.java
4917 (getFontMetrics): Removed.
4919 2005-02-15 Michael Koch <konqueror@gmx.de>
4921 * java/awt/Container.java
4922 (paramString): Implemented.
4923 * javax/swing/AbstractButton.java
4924 (paramString): Implemented.
4925 * javax/swing/JComponent.java
4926 (paramString): Implemented.
4927 * javax/swing/JMenu.java
4928 (paramString): Implemented.
4929 * javax/swing/JMenuBar.java
4930 (paramString): Implemented.
4931 * javax/swing/JMenuItem.java
4932 (paramString): Implemented.
4933 * javax/swing/JPopupMenu.java
4934 (paramString): Implemented.
4936 2005-02-15 Michael Koch <konqueror@gmx.de>
4938 * javax/swing/JMenu.java
4939 (uiClassID): Removed.
4940 (JMenu): Set invoker on popup menu.
4941 (getUIClassID): Return id directly.
4942 (getItemCount): Simply return getMenuComponentCount().
4944 (isTopLevelMenu): Simplified.
4945 * javax/swing/JMenuItem.java
4946 (uiClassID): Removed.
4947 (getUIClassID): Return id directly.
4948 * javax/swing/JPopupMenu.java
4949 (uiClassID): Removed.
4950 (JPopupMenu): Always initialize correctly.
4951 (getSubElements): Only return components implementing MenuElement
4953 (HeavyWeightPopup.hide): Removed.
4955 2005-02-15 Michael Koch <konqueror@gmx.de>
4957 * java/awt/image/ReplicateScaleFilter.java
4958 (replicatePixels): Made private.
4959 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4960 (DefaultRGBChooserPanel): Made package private.
4961 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4962 (RecentSwatchPanel): Likewise.
4963 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4964 (MouseInputAdapter): Made abstract.
4965 * javax/swing/tree/DefaultMutableTreeNode.java
4967 (growTree): Likewise.
4969 2005-02-15 Michael Koch <konqueror@gmx.de>
4971 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4974 2005-02-15 Michael Koch <konqueror@gmx.de>
4976 * javax/swing/JComponent.java (getComponentGraphics):
4977 Removed accidently commited code.
4979 2005-02-15 Graydon Hoare <graydon@redhat.com>
4981 * java/awt/dnd/DropTarget.java
4982 (addDropTargetListener): Despite documentation, do not throw.
4983 * javax/swing/JComponent.java: Set a default DropTarget.
4985 2005-02-15 Michael Koch <konqueror@gmx.de>
4987 * javax/swing/AbstractAction.java
4988 (ENABLED_PROPERTY): Removed.
4989 (setEnabled): Replaced constant with real string.
4990 * javax/swing/AbstractButton.java
4991 (createActionPropertyChangeListener.propertyChange): Likewise.
4992 * javax/swing/JComboBox.java
4993 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4994 (EDITABLE_CHANGED_PROPERTY): Removed.
4995 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4996 (ENABLED_CHANGED_PROPERTY):Likewise.
4997 (RENDERER_CHANGED_PROPERTY):Likewise.
4998 (EDITOR_CHANGED_PROPERTY):Likewise.
4999 (MODEL_CHANGED_PROPERTY):Likewise.
5000 (uiClassID):Likewise.
5001 (getUIClassID): Replaced constant with real string.
5002 (setModel):Likewise.
5003 (setEditable):Likewise.
5004 (setMaximumRowCount):Likewise.
5005 (setRenderer):Likewise.
5006 (setEditor):Likewise.
5007 (setEnabled):Likewise.
5008 * javax/swing/JLabel.java
5009 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5010 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5011 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5012 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5013 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5014 (ICON_CHANGED_PROPERTY): Likewise.
5015 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5016 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5017 (TEXT_CHANGED_PROPERTY): Likewise.
5018 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5019 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5020 (setText): Replaced constant with real string.
5021 (setIcon): Likewise.
5022 (setDisabledIcon): Likewise.
5023 (setDisplayedMnemonic): Likewise.
5024 (setIconTextGap): Likewise.
5025 (setVerticalAlignment): Likewise.
5026 (setHorizontalAlignment): Likewise.
5027 (setVerticalTextPosition): Likewise.
5028 (setHorizontalTextPosition): Likewise.
5029 (setLabelFor): Replaced constant with real string.
5030 Fire property change event after property got changed.
5031 * javax/swing/JList.java
5032 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5033 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5034 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5035 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5036 (MODEL_PROPERTY_CHANGED): Likewise.
5037 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5038 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5039 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5040 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5041 (setFixedCellWidth): Reimplemented.
5042 (setFixedCellHeight): Exit if new value is identical.
5043 Replaced constant with real string.
5044 (setSelectionBackground): Likewise.
5045 (setSelectionForeground): Likewise.
5046 (setPrototypeCellValue): Likewise.
5047 (setCellRenderer): Replaced constant with real string.
5048 (setModel): Likewise.
5049 (setSelectionModel): Likewise.
5050 * javax/swing/JMenuBar.java
5051 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5052 (MODEL_CHANGED_PROPERTY): Likewise.
5053 (MARGIN_CHANGED_PROPERTY): Likewise.
5054 (setBorderPainted): Reimplemented.
5055 (setMargin): Likewise.
5056 (setSelectionModel): Replaced constant with real string.
5057 * javax/swing/JPopupMenu.java
5058 (LABEL_CHANGED_PROPERTY): Removed.
5059 (VISIBLE_CHANGED_PROPERTY): Likewise.
5060 (borderPainted): Likewise.
5061 (setLabel): Replaced constant with real string.
5062 (setVisible): Exit if new value is identical.
5063 Replaced constant with real string.
5064 * javax/swing/JProgressBar.java
5065 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5066 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5067 (STRING_CHANGED_PROPERTY): Likewise.
5068 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5069 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5070 (setOrientation): Replaced constant with real string.
5071 (setStringPainted): Likewise.
5072 (setString): Likewise.
5073 (setBorderPainted): Likewise.
5074 (setIndeterminate): Likewise.
5075 * javax/swing/JScrollBar.java
5076 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5077 (MODEL_CHANGED_PROPERTY): Likewise.
5078 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5079 (setOrientation): Replaced constant with real string.
5080 (setModel): Likewise.
5081 (setUnitIncrement): Likewise.
5082 (setBlockIncrement): Likewise.
5083 * javax/swing/JScrollPane.java
5084 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5085 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5086 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5087 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5088 (LAYOUT_CHANGED_PROPERTY): Likewise.
5089 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5090 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5091 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5092 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5093 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5094 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5095 (setComponentOrientation): Replaced constant with real string.
5096 (setColumnHeader): Likewise.
5097 (setHorizontalScrollBar): Likewise.
5098 (setHorizontalScrollBarPolicy): Likewise.
5099 (setRowHeader): Likewise.
5100 (setVerticalScrollBar): Likewise.
5101 (setVerticalScrollBarPolicy): Likewise.
5102 (setWheelScrollingEnabled): Likewise.
5103 (setViewport): Likewise.
5104 (setViewportBorder): Likewise.
5105 * javax/swing/JSlider.java
5106 (INVERTED_CHANGED_PROPERTY): Removed.
5107 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5108 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5109 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5110 (MODEL_CHANGED_PROPERTY): Likewise.
5111 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5112 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5113 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5114 (setModel): Replaced constant with real string.
5115 (setOrientation): Likewise.
5116 (setLabelTable): Likewise.
5117 (setInverted): Likewise.
5118 (setMajorTickSpacing): Likewise.
5119 (setMinorTickSpacing): Likewise.
5120 (setPaintTicks): Likewise.
5121 (setPaintLabels): Likewise.
5122 * javax/swing/JTabbedPane.java
5123 (MODEL_CHANGED_PROPERTY): Removed.
5124 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5125 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5126 (setModel): Replaced constant with real string.
5127 (setTabPlacement): Likewise.
5128 (setTabLayoutPolicy): Likewise.
5129 * javax/swing/JToolBar.java
5130 (ORIENTATION_CHANGED_PROPERTY): Removed.
5131 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5132 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5133 (MARGIN_CHANGED_PROPERTY): Likewise.
5134 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5135 (setRollover): Replaced constant with real string.
5136 (setMargin): Likewise.
5137 (setBorderPainted): Likewise.
5138 (setFloatable): Likewise.
5139 (setOrientation): Likewise.
5140 * javax/swing/plaf/basic/BasicComboBoxUI.java
5141 (PropertyChangeHandler.propertyChange): Likewise.
5142 * javax/swing/plaf/basic/BasicComboPopup.java
5143 (PropertyChangeHandler.propertyChange): Likewise.
5144 * javax/swing/plaf/basic/BasicMenuBarUI.java
5145 (PropertyChangeHandler.propertyChange): Likewise.
5146 * javax/swing/plaf/basic/BasicProgressBarUI.java
5147 (PropertyChangeHandler.propertyChange): Likewise.
5148 * javax/swing/plaf/basic/BasicScrollBarUI.java
5149 (PropertyChangeHandler.propertyChange): Likewise.
5150 * javax/swing/plaf/basic/BasicSliderUI.java
5151 (PropertyChangeHandler.propertyChange): Likewise.
5152 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5153 (PropertyChangeHandler.propertyChange): Likewise.
5154 * javax/swing/plaf/basic/BasicToolBarUI.java
5155 (PropertyChangeHandler.propertyChange): Likewise.
5157 2005-02-15 Michael Koch <konqueror@gmx.de>
5159 * javax/swing/DefaultButtonModel.java
5160 (changeState): Made private.
5161 * javax/swing/DefaultDesktopManager.java
5162 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5163 * javax/swing/JLayeredPane.java
5164 (layerToRange): Made private.
5165 (incrLayer): Likewise.
5166 (decrLayer): Likewise.
5167 * javax/swing/JTable.java
5168 (dragEnabled): Likewise.
5169 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5170 * javax/swing/KeyStroke.java
5171 (Keystroke): Made private.
5172 * javax/swing/TransferHandler.java
5173 (COMMAND_COPY): Likewise.
5174 (COMMAND_CUT): Likewise.
5175 (COMMAND_PASTE): Likewise.
5177 2005-02-15 Michael Koch <konqueror@gmx.de>
5179 * javax/swing/JTextField.java
5180 (postActionEvent): Use text in field when actionCommand is null.
5181 (getActionCommand): Removed.
5183 2005-02-15 Michael Koch <konqueror@gmx.de>
5185 * javax/swing/AbstractSet.java: Removed.
5186 * Makefile.am: Removed javax/swing/AbstractSet.java.
5187 * Makefile.in: Regenerated.
5189 2005-02-15 Michael Koch <konqueror@gmx.de>
5191 * java/awt/Window.java
5192 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5193 * java/awt/dnd/DnDConstants.java
5194 (DnDConstants): New private constructor.
5196 2005-02-15 Michael Koch <konqueror@gmx.de>
5198 * javax/swing/DefaultCellRenderer.java: Removed.
5199 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5200 * Makefile.in: Regenerated.
5202 2005-02-15 Michael Koch <konqueror@gmx.de>
5204 * javax/swing/AbstractButton.java
5205 (fireItemStateChanged): Made protected.
5206 (fireActionPerformed): Likewise.
5207 (fireStateChanged): Likewise.
5208 * javax/swing/DefaultButtonModel.java
5209 (fireItemStateChanged): Likewise.
5210 (fireActionPerformed): Likewise.
5211 (fireStateChanged): Likewise.
5212 * javax/swing/JApplet.java
5214 (frameInit): Likewise.
5215 (setRootPane): Made protected.
5216 (createRootPane): Likewise.
5217 * javax/swing/JComponent.java
5218 (getClientProperty): Likewise.
5219 (putClientProperty): Likewise.
5220 * javax/swing/JEditorPane.java
5221 (getContentType): Likewise.
5222 (setContentType): Likewise.
5223 * javax/swing/JFrame.java
5224 (setRootPane): Likewise.
5225 (createRootPane): Likewise.
5226 * javax/swing/JInternalFrame.java
5227 (getFocusCycleRootAncestor): Made final. Added @since tag.
5228 (isFocusCycleRoot): Likewise.
5229 (getWarningString): Made final.
5230 * javax/swing/JScrollBar.java
5231 (changeListener): Removed.
5232 (changeEvent): Likewise.
5233 (createChangeListener): Likewise.
5234 (fireStateChanged): Likewise.
5235 (addChangeListener): Likewise.
5236 (removeChangeListener): Likewise.
5237 (getChangeListeners): Likewise.
5238 * javax/swing/JScrollPane.java
5239 (createViewport): Made protected.
5240 * javax/swing/JViewport.java
5241 (addImpl): Likewise.
5242 (setBorder): New method.
5243 * javax/swing/JWindow.java
5244 (setRootPane): Made protected.
5245 (createRootPane): Likewise.
5246 * javax/swing/plaf/basic/BasicButtonUI.java
5247 (installListeners): Likewise.
5248 (uninstallListeners): Likewise.
5249 * javax/swing/plaf/basic/BasicProgressBarUI.java
5250 (incrementAnimationIndex): Likewise.
5251 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5252 (createLayoutManager): Likewise.
5253 * javax/swing/table/DefaultTableCellRenderer.java
5254 (firePropertyChange): Likewise.
5255 * javax/swing/table/JTableHeader.java
5256 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5258 * javax/swing/text/PlainDocument.java
5259 (reindex): Made private.
5260 * javax/swing/text/PlainView.java
5261 (drawLine): Made protected.
5262 (getTabSize): Likewise.
5263 * javax/swing/text/View.java
5265 (preferenceChanged): New method.
5266 (getBreakWeight): Likewise.
5267 (breakView): Likewise.
5268 (getViewIndex): Likewise.
5270 2005-02-15 Michael Koch <konqueror@gmx.de>
5272 * javax/swing/JScrollPane.java
5273 (ScrollBar): Made class protected.
5274 * javax/swing/JSpinner.java
5275 (JSpinner): Added @since tag.
5276 (listenerList): Removed.
5277 * javax/swing/JTable.java
5278 (setValueAt): New method.
5279 (getColumn): Likewise.
5280 * javax/swing/JWindow.java
5281 (rootPaneCheckingEnabled): Renamed from checking.
5283 2005-02-15 Michael Koch <konqueror@gmx.de>
5285 * javax/swing/plaf/basic/BasicTextUI.java
5286 (RootView.modelToView): Made it public and return a java.awt.Shape.
5287 Handle null subview.
5288 (uninstall): Set textComponent to null when its not possible used
5290 * javax/swing/text/View.java
5291 (setParent): Use better argument name.
5292 (getContainer): Get parent via getParent().
5293 (getViewFactory): Likewise.
5294 (getAttributes): Get element via getElement().
5295 (getStartOffset): Likewise.
5296 (getEndOffset): Likewise.
5297 (getResizeWeight): New method.
5298 (getMaximumSpan): Likewise.
5299 (getMinimumSpan): Likewise.
5300 (setSize): Likewise.
5301 (getGraphics): Likewise.
5303 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5305 * java/awt/Checkbox.java:
5306 (AccessibleAWTCheckbox()): Added public constructor
5308 * java/awt/Choice.java:
5309 (AccessibleAWTChoice): Added class documentation.
5310 (AccessibleAWTChoice()): Added public constructor
5312 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5313 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5314 and changed role to COMBO_BOX.
5315 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5316 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5317 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5319 2005-02-15 Graydon Hoare <graydon@redhat.com>
5320 Michael Koch <konqueror@gmx.de>
5322 * javax/swing/LayoutFocusTraversalPolicy.java,
5323 javax/swing/SortingFocusTraversalPolicy.java:
5325 * Makefile.am: Added new classes.
5326 * Makefike.in: Regenerated.
5329 2005-02-15 Michael Koch <konqueror@gmx.de>
5331 * javax/swing/DebugGraphics.java: Mostly implemented.
5333 2005-02-15 Michael Koch <konqueror@gmx.de>
5335 * javax/swing/SwingUtilities.java
5336 (findFocusOwner): New method.
5338 2005-02-15 Michael Koch <konqueror@gmx.de>
5340 * javax/swing/text/DefaultEditorKit.java
5341 (read): Added '\n' after each line.
5342 * javax/swing/text/PlainView.java
5343 (modelToView): Update metrics.
5344 (drawLine): Use offsets from element.
5345 (paint): Update metrics. Draw all lines.
5347 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5349 * java/awt/Checkbox.java:
5350 (AccessibleAWTCheckbox): Added class documentation
5351 * java/awt/Scrollbar.java:
5352 (AccessibleAWTScrollBar): typo corrected and docs added
5353 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5354 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5355 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5356 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5357 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5358 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5359 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5360 (getAccessibleContext()): name of accessible class corrected
5362 2005-02-15 Mark Wielaard <mark@klomp.org>
5364 * java/awt/BasicStroke.java (hashCode): Implement.
5367 2005-02-15 Michael Koch <konqueror@gmx.de>
5369 * java/awt/print/PrinterJob.java
5370 (pageDialog): Throws java.awt.HeadlessException.
5371 (printDialog): Likewise.
5373 2005-02-15 Mark Wielaard <mark@klomp.org>
5375 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5377 2005-02-15 Michael Koch <konqueror@gmx.de>
5379 * javax/swing/JTable.java
5380 (getValueAt): New method.
5381 * javax/swing/table/JTableHeader.java
5382 (columnAtPoint): New method.
5384 2005-02-15 Michael Koch <konqueror@gmx.de>
5386 * javax/swing/JTextField.java
5387 (actions): New field.
5388 (static): Initalize actions field.
5389 (getActions): New method.
5391 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5393 * java/awt/Checkbox.java:
5394 (AccessibleAWTCheckbox): name capitalization corrected
5395 and serialization UID added.
5396 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5398 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5399 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5400 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5401 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5402 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5403 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5404 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5405 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5406 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5407 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5408 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5410 (getAccessibleContext()): name of accessible class corrected
5412 2005-02-15 Sven de Marothy <sven@physto.se>
5414 * java/awt/geom/doc-files/Area-1.png,
5415 java/awt/geom/doc-files/Ellipse-1.png,
5416 java/awt/geom/doc-files/GeneralPath-1.png:
5419 2005-02-15 Graydon Hoare <graydon@redhat.com>
5421 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5422 Use union to avoid type-punning warning.
5424 2005-02-15 Michael Koch <konqueror@gmx.de>
5426 * javax/swing/DefaultListSelectionModel.java
5427 (clone): New method.
5429 2005-02-15 Mark Wielaard <mark@klomp.org>
5431 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5433 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5434 Correct method signature of gtkSetFilename.
5436 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5438 * javax/swing/text/StringContent.java: New file.
5440 2005-02-15 Michael Koch <konqueror@gmx.de>
5442 * Makefile.am: Added javax/swing/text/StringContent.java.
5443 * Makefile.in: Regenerated.
5445 2005-02-15 Michael Koch <konqueror@gmx.de>
5447 * gnu/java/awt/ClasspathToolkit.java:
5448 Import statements reworked.
5449 (imageCache): Made it of type java.util.HashMap.
5451 2005-02-15 Michael Koch <konqueror@gmx.de>
5453 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5454 Reworked import statements.
5456 2005-02-15 Graydon Hoare <graydon@redhat.com>
5458 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5459 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5460 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5461 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5462 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5465 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5467 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5470 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5472 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5473 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5474 Rewrite uses of extern variable to be function calls.
5475 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5476 function, from extern variable.
5477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5478 (gdk_env): Remove variable, add new function.
5479 (java_vm): Add new variable.
5480 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5481 java_vm rather than old gdk_env variable.
5483 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5485 * javax/swing/DefaultListModel.java
5486 (add): fire correct event,
5487 (addElement): corrected interval indices in event,
5488 (clear): corrected upper bound for interval, only fire event if
5490 (setSize): fire appropriate event.
5492 2005-02-15 Graydon Hoare <graydon@redhat.com>
5494 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5495 * gnu/awt/xlib/XToolkit.java: Likewise.
5496 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5497 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5498 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5499 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5500 * java/awt/EventQueue.java (getNextEvent):
5501 Adjust event loop to switch to native mode after 100ms.
5502 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5504 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5505 Wake up event thread.
5506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5507 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5508 Adjust event loop to switch to java mode after 100ms.
5510 2005-02-15 Graydon Hoare <graydon@redhat.com>
5512 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5513 accidentally removed in last change.
5515 2005-02-15 Michael Koch <konqueror@gmx.de>
5517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5518 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5520 2005-02-15 Graydon Hoare <graydon@redhat.com>
5522 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5523 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5524 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5525 * jni.cc: Reuse bottom frame between calls, avoid clearing
5526 frame when no local references are made.
5528 2005-02-15 Michael Koch <konqueror@gmx.de>
5530 * javax/swing/UIDefaults.java (UIDefaults):
5531 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5532 Fixed HTML entity and removed a redundant comma.
5534 2005-02-15 Michael Koch <konqueror@gmx.de>
5536 * javax/swing/text/DefaultEditorKit.java
5537 (deinstall): Removed.
5538 (install): Likewise.
5540 2005-02-15 Michael Koch <konqueror@gmx.de>
5542 * javax/swing/UIDefaults.java (put): Handle value of null.
5544 2005-02-15 Michael Koch <konqueror@gmx.de>
5546 * java/awt/Robot.java,
5547 java/awt/Scrollbar.java,
5548 java/awt/print/PrinterJob.java,
5549 javax/swing/JTable.java,
5550 javax/swing/text/AbstractDocument.java:
5551 Reworked import statements.
5553 2005-02-15 Michael Koch <konqueror@gmx.de>
5555 * javax/swing/JEditorPane.java
5556 (read): Implemented.
5558 * javax/swing/text/DefaultEditorKit.java
5559 (page): Renamed from page_url. Made private.
5560 (editorKit): Renamed from kit. Made private.
5562 (JEditorPane): All constructors reimplemented.
5563 (getContentType): Use content type from editor kit.
5564 (getEditorKit): Return editorKit.
5565 (getEditorKitForContentType):Likewise.
5566 (getPage): Return page.
5567 (setContentType): Reimplemented.
5568 (setEditorKit): Likewise.
5569 (setEditorKitForContentType): Removed wrong implementation.
5570 (setPage): Implemented.
5572 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5575 (nativeSetIconImageFromData): Re-add native implementation.
5577 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5579 * javax/swing/table/DefaultTableModel.java
5580 (DefaultTableModel()): Added Javadocs.
5581 (DefaultTableModel(int, int)): Fixed implementation.
5582 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5583 for negative rowCount.
5584 (DefaultTableModel(Object[], int)): Added Javadocs.
5585 (DefaultTableModel(Vector, Vector)): Likewise.
5586 (DefaultTableModel(Object[][], Object[])): Likewise.
5587 (getDataVector): Likewise.
5588 (setDataVector(Vector, Vector)): Likewise.
5589 (setDataVector(Object[][], Object[])): Likewise.
5590 (newDataAvailable): Likewise.
5591 (newRowsAdded): Likewise.
5592 (rowsRemoved): Likewise.
5593 (setColumnIdentifiers(Vector)): Allow for null argument.
5594 (setColumnIdentifiers(Object[])): Added Javadocs.
5595 (setNumRows): Likewise.
5596 (setRowCount): Adds new rows if necessary, and sends more specific
5598 (setColumnCount): Allow for null columnIdentifiers.
5599 (addColumn(Object)): Added Javadocs.
5600 (addColumn(Object, Vector)): Handle null columnData.
5601 (addColumn(Object, Object[])): Handle columnData with more or less
5602 entries than rows in the table.
5603 (addRow(Vector)): Fire appropriate event.
5604 (addRow(Object[])): Added Javadocs.
5605 (insertRow(int, Vector)): Fire appropriate event.
5606 (insertRow(int, Object[])): Added Javadocs.
5607 (moveRow): Reimplemented.
5608 (removeRow(int)): Fire appropriate event.
5609 (getColumnCount): Allow for null columnIdentifiers.
5610 (getColumnName): Now returns empty string when column index is too
5612 (isCellEditable): Added Javadocs.
5613 (getValueAt): Likewise.
5614 (setValueAt): Fire more specific event.
5615 (convertToVector): Added Javadocs.
5616 * javax/swing/table/TableModel.java
5619 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5621 * libgcj.spec.in (lib): Add -l-javax-imageio.
5623 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5625 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5626 references to event queue q with method call q().
5627 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5628 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5629 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5630 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5631 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5632 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5635 2005-02-15 Graydon Hoare <graydon@redhat.com>
5637 * gnu/java/awt/ClasspathToolkit.java
5638 (registerImageIOSpis): New method.
5639 * gnu/java/awt/image/ImageDecoder.java
5640 (imageDecoder): New constructor using InputStream
5641 (startProduction): Handle existing InputStream.
5642 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5643 (findSimpleIntegerArray): Make public and static.
5644 (updateBufferedImage): Set each pixel, in a loop.
5645 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5646 Implement ImageIO SPI classes.
5647 (createBufferedImage): Rewrite in terms of SPI classes.
5648 * gnu/java/awt/peer/gtk/GtkToolkit.java
5649 (registerImageIOSpis): New method.
5650 * java/lang/reflect/natMethod.cc
5651 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5652 which lets JNI call interface methods properly.
5653 * javax/imageio/ImageIO.java
5654 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5655 (WriterMIMETypeFilter.filter): Likewise.
5656 (ImageReaderIterator): Pass extension argument through to SPI.
5657 (getReadersByFilter): Likewise.
5658 (getWritersByFilter): Likewise.
5659 (getImageReadersByFormatName): Likewise.
5660 (getImageReadersByMIMEType): Likewise.
5661 (getImageReadersBySuffix): Likewise.
5662 (getImageWritersByFormatName): Likewise.
5663 (getImageWritersByMIMEType): Likewise.
5664 (getImageWritersBySuffix): Likewise.
5667 * javax/imageio/ImageReader.java
5668 (progressListeners): Initialize.
5669 (setInput): Implement.
5670 * javax/imageio/ImageWriter.java
5671 (progressListeners): Initialize.
5672 (warningListeners): Likewise.
5673 (warningLocales): Likewise.
5674 (setOutput): Test "isInstance" rather than class equality.
5675 * javax/imageio/spi/IIORegistry.java
5676 (static): Add reader and writer SPIs.
5677 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5679 (query_formats): New function.
5680 (save_to_stream): Likewise.
5681 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5683 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5687 (keyPress): Likewise.
5688 (keyRelease): Likewise.
5690 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5692 * javax/swing/JTable.java
5693 (columnAtPoint): New Method. Implemented.
5694 (rowAtPoint): Likewise.
5695 (countSelections): Fixed few small count errors.
5696 (getSelections): Likewise.
5697 (setSelectionMode): Set selection mode for column
5698 selection model in addition to row selection model.
5699 * javax/swing/plaf/basic/BasicTableUI.java:
5700 (getRowForPoint): Removed. Replaced by
5701 JTable.rowAtPoint().
5702 (getColForPoint): Removed. Replaced by
5703 JTable.columnAtPoint().
5704 (updateSelection): Updated to call JTable.columnAtPoint
5705 and JTable.rowAtPoint.
5706 * javax/swing/table/DefaultTableColumnModel.java:
5707 (getSelectedColumns): Implemented.
5708 (getSelectedColumnCount): Implemented.
5710 2005-02-15 Graydon Hoare <graydon@redhat.com>
5713 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5714 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5715 * Makefile.in: Regenerate.
5716 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5717 * gnu/awt/xlib/XFramePeer.java: Likewise.
5718 * gnu/awt/xlib/XToolkit.java: Likewise.
5719 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5720 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5721 * gnu/java/awt/ClasspathToolkit.java
5724 (iterateNativeQueue): New methods.
5725 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5726 * gnu/java/awt/peer/gtk/GtkToolkit.java
5727 (gtkInit): Absorb from defunct GtkMainThread class.
5728 (static): Run gtkInit in static startup block.
5729 (GtkToolkit): Remove construction of GtkMainThread and queue.
5730 (getSystemEventQueueImpl): Construct queue when requested.
5733 (iterateNativeQueue): New methods.
5734 * java/awt/Component.java (removeNotify): Remove race.
5735 * java/awt/EventDispatchThread.java
5736 (EventDispatchThread): Don't start on construction.
5737 (run): Remove isInterrupted check.
5738 * java/awt/EventQueue.java (shutdown): New flag.
5739 (isShutdown): New method checking J2SE shutdown condition.
5740 (setShutdown): New method.
5741 (getNextEvent): Restructure to use ClasspathToolkit.
5742 (postEvent): Activate new thread on posting, wake thread on
5743 post of possible shutdown condition event.
5744 * java/awt/Frame.java
5745 (Frame): Call noteFrame in all constructors.
5746 (fireDummyEvent): New helper method.
5747 (addNotify): Fire a dummy event to wake up queue.
5748 (removeNotify): Fire a dummy event to wake up queue.
5749 (noteFrame): New method.
5750 (weakFrames): New static field.
5751 (getFrames): Implement.
5752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5755 Move everything from GtkMainThread into this file
5756 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5757 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5758 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5759 New functions to implement single-threaded queue semantics.
5761 2005-02-15 Michael Koch <konqueror@gmx.de>
5763 * javax/swing/plaf/metal/MetalLookAndFeel.java
5764 (getControlTextFont): New method.
5765 (getMenuTextFont): Likewise.
5766 (getSubTextFont): Likewise.
5767 (getSystemTextFont): Likewise.
5768 (getUserTextFont): Likewise.
5769 (getWindowTitleFont): Likewise.
5771 2005-02-15 Michael Koch <konqueror@gmx.de>
5773 * javax/swing/text/AbstractDocument.java
5774 (documentFilter): New field.
5775 (getDocumentFilter): New method.
5776 (setDocumentFilter): Likewise.
5779 2005-02-15 Michael Koch <konqueror@gmx.de>
5781 * javax/swing/JTree.java
5782 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5784 2005-02-15 Michael Koch <konqueror@gmx.de>
5786 * javax/swing/text/AbstractDocument.java
5787 (AbstractElement.getLength): Fixed off-by-one error.
5788 (AbstractElement.children): Made abstract.
5789 (AbstractElement.getAllowsChildren): Likewise.
5790 (AbstractElement.getElement): Likewise.
5791 (AbstractElement.dumpElement): New private method.
5792 (AbstractElement.dump): New method.
5793 (BranchElememt.getName): Fixed implementation.
5794 (BranchElememt.toString): Likewise.
5795 (BranchElememt.getElement): Fixed arguments.
5796 (LeafElement.getName): Fixed implementation.
5797 (LeafElement.toString): Likewise.
5798 * javax/swing/text/GapContent.java
5799 (GapContent): Put default content into buffer.
5800 * javax/swing/text/PlainDocument.java
5801 (reindex): Use empty attribute sets instead of null.
5802 (createDefaultRoot): Reimplemented.
5803 (insertUpdate): Call super method.
5804 (removeUpdate): Likewise.
5805 (getParagraphElement): Implemented.
5807 2005-02-15 Michael Koch <konqueror@gmx.de>
5809 * gnu/java/awt/ClasspathToolkit.java
5810 (createRobot): Throws java.awt.AWTException.
5811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5812 Added '__attribute__((unused))' to all unused method arguments.
5814 2005-02-15 Michael Koch <konqueror@gmx.de>
5816 * javax/swing/DefaultBoundedRangeModel.java
5817 (fireValueChanged): Fixed off-by-one error.
5819 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5821 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5822 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5824 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5825 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5826 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5827 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5828 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5829 (getDefaultScreenDevice): Implement.
5830 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5831 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5832 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5833 * java/awt/Robot.java: Implement.
5834 * java/awt/peer/RobotPeer.java: Rename parameters.
5835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5837 (awt_keycode_to_keysym): Make non-static.
5838 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5839 AWT_BUTTON3_MASK): Declare constants.
5840 (awt_keycode_to_keysym): Declare.
5842 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5843 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5844 and is non-empty pass its value to "make check".
5845 (test_mauve_sim): Likewise.
5847 2005-02-15 Michael Koch <konqueror@gmx.de>
5849 * javax/imageio/IIOParam.java
5850 (setSourceBands): New method.
5851 (setSourceSubsampling): Likewise.
5852 * javax/imageio/ImageReadParam.java
5853 (setDestination): Likewise.
5854 (setDestinationBands): Likewise.
5855 (setSourceProgressivePasses): Likewise.
5856 * javax/imageio/metadata/IIOInvalidTreeException.java
5857 (serialVersionUID): New static field.
5858 * javax/imageio/metadata/IIOMetadataNode.java
5859 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5860 (parent): Dont initailize with default value explicitely.
5862 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5863 (removeAttributeNode): Likewise.
5864 (removeAttributeNS): Likewise.
5865 (setAttribute): Likewise.
5866 (setAttributeNode): Likewise.
5867 (setAttributeNodeNS): Likewise.
5868 (setAttributeNS): Likewise.
5869 (appendChild): Likewise.
5870 (getNodeValue): Likewise.
5871 (insertBefore): Likewise.
5872 (removeChild): Likewise.
5873 (replaceChild): Likewise.
5874 (setPrefix): Likewise.
5876 2005-02-15 Michael Koch <konqueror@gmx.de>
5878 * javax/swing/LookAndFeel.java
5879 (getDesktopPropertyValue): New method.
5881 2005-02-15 Michael Koch <konqueror@gmx.de>
5883 * javax/swing/JTree.java
5884 (hasChildren): New instance field.
5886 2005-02-15 Michael Koch <konqueror@gmx.de>
5888 * javax/swing/JComponent.java
5889 (getToolTipText): New method.
5890 (getTitledBorderText): Likewise.
5891 (getAccessibleKeyBinding): Likewise.
5892 (getVerifyInputWhenFocusTarget): Likewise.
5893 (setVerifyInputWhenFocusTarget): Likewise.
5894 (verifyInputWhenFocusTarget): New instance field.
5896 2005-02-15 Michael Koch <konqueror@gmx.de>
5898 * javax/swing/DefaultListSelectionModel.java
5899 (fireValueChanged): New method.
5901 2005-02-15 Michael Koch <konqueror@gmx.de>
5903 * javax/swing/DefaultBoundedRangeModel.java:
5904 Fixed javadocs all over.
5905 (fireStateChanged): Simplified.
5906 * javax/swing/BoundedRangeModel.java:
5909 2005-02-15 Michael Koch <konqueror@gmx.de>
5911 * javax/swing/JRootPane.java
5912 (setMenuBar): Added @deprecated tag.
5913 (getMenuBar): Likewise.
5914 * javax/swing/JTable.java
5915 (sizeColumnsToFit): Likewise.
5917 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5919 * javax/swing/ImageIcon.java (setImage): Implemented.
5921 2005-02-15 Michael Koch <konqueror@gmx.de>
5923 * javax/swing/JTable.java:
5924 Removed unused imports.
5926 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5928 (prepareRenderer): Get column's index in dataModel instead
5929 of column's view index.
5930 (getColumnCount): return count of the columns in ColumnModel,
5932 (removeColumn): Implemented.
5933 (moveColumm): Likewise.
5934 (setRowHeight): throw IllegalArgumentException if height is
5936 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5937 (DefaultTableColumnModel):Add call to createSelectionModel().
5938 (addColumn): Fire columnAdded event to registered listeners.
5939 (removeColumn): Fire columnRemoved event to registered listeners.
5940 (moveColumn): Fire columnMoved event to registered listeners.
5941 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5942 (getColumnIndex): Changed parameter name.
5943 (setColumnSelectionAllowed): Likewise.
5944 (fireColumnAdded): Implemented.
5945 (fireColumnRemoved): Likewise.
5946 (fireColumnMoved): Likewise.
5947 (fireColumnMarginChanged): Likewise.
5948 (getListeners): Changed parameter name.
5949 (propertyChange): Implemented.
5950 (valueChanged): Changed parameter name.
5951 (createSelectionModel): Implemented.
5953 2005-02-15 Michael Koch <konqueror@gmx.de>
5955 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5956 Explicitely import used classes.
5957 (getLocalGraphicsEnvironment): Simplify.
5958 * java/awt/Window.java (Window):
5959 Enable code to get the default GraphicsConfiguration.
5961 2005-02-15 Michael Koch <konqueror@gmx.de>
5963 * javax/swing/plaf/metal/DefaultMetalTheme.java
5964 (CONTROL_TEXT_FONT): New static field.
5965 (MENU_TEXT_FONT): Likewise.
5966 (SUB_TEXT_FONT): Likewise.
5967 (SYSTEM_TEXT_FONT): Likewise.
5968 (USER_TEXT_FONT): Likewise.
5969 (WINDOW_TITLE_FONT): Likewise.
5970 (getControlTextFont): New method.
5971 (getMenuTextFont): Likewise.
5972 (getSubTextFont): Likewise.
5973 (getSystemTextFont): Likewise.
5974 (getUserTextFont): Likewise.
5975 (getWindowTitleFont): Likewise.
5976 * javax/swing/plaf/metal/MetalTheme.java
5977 (BLACK): Initialize with Color.BLACK.
5978 (WHITE): Initialize with Color.WHITE.
5979 (getInactiveControlTextColor): Return getControlDisabled().
5980 (getMenuDisabledForeground): Return getSecondary3().
5981 (getControlTextFont): New abstract method.
5982 (getMenuTextFont): Likewise.
5983 (getSubTextFont): Likewise.
5984 (getSystemTextFont): Likewise.
5985 (getUserTextFont): Likewise.
5986 (getWindowTitleFont): Likewise.
5988 2005-02-15 Michael Koch <konqueror@gmx.de>
5990 * javax/swing/JFormattedTextField.java
5991 (getFocusLostBehavior): Fixed typo in method name.
5992 (setFocusLostBehavior): Likewise.
5994 2005-02-15 Michael Koch <konqueror@gmx.de>
5996 * javax/swing/TransferHandler.java:
5997 Reworked import statements.
5999 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6001 * java/awt/Button.java,
6002 java/awt/Canvas.java,
6003 java/awt/Checkbox.java,
6004 java/awt/CheckboxMenuItem.java,
6005 java/awt/Choice.java,
6006 java/awt/Dialog.java,
6007 java/awt/Frame.java,
6008 java/awt/Label.java,
6011 java/awt/MenuBar.java,
6012 java/awt/MenuItem.java,
6013 java/awt/PopupMenu.java,
6014 java/awt/ScrollPane.java,
6015 java/awt/Scrollbar.java,
6016 java/awt/TextArea.java,
6017 java/awt/Window.java (getAccessibleContext): Clean up comments.
6019 * java/awt/Button.java,
6020 java/awt/Checkbox.java,
6021 java/awt/Choice.java,
6023 java/awt/PopupMenu.java,
6024 java/awt/TextArea.java (getAccessibleContext): Only create new
6026 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6028 2005-02-15 Michael Koch <konqueror@gmx.de>
6030 * java/awt/Button.java,
6031 javax/swing/JApplet.java,
6032 javax/swing/JFormattedTextField.java,
6033 javax/swing/JWindow.java,
6034 javax/swing/JTree.java,
6035 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6036 javax/swing/plaf/basic/BasicTextPaneUI.java,
6037 javax/swing/plaf/basic/BasicTreeUI.java:
6038 Reworked import statements.
6040 2005-02-15 Michael Koch <konqueror@gmx.de>
6042 * Makefile.am: Put javax.imageio into its own library and link it
6043 against lib-org-w3c-dom.la to fix bootstrapping.
6044 * Makefile.in: Regenerated.
6046 2005-02-15 Michael Koch <konqueror@gmx.de>
6048 * javax/swing/text/TextAction.java
6049 (getTextComponent): Simplified. Added Javadoc.
6050 (augmentList): Implemented. Added Javadoc.
6051 (getFocusedComponent): Added javadoc.
6053 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6055 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6056 getAccessibleContext): Implement.
6057 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6058 getAccessibleContext): Implement.
6060 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6062 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6064 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6066 * java/awt/Window.java (getAccessibleContext): Fix comment.
6067 Remove extra import.
6069 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6071 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6072 (isActive, isFocused, getAccessibleContext): Implement.
6074 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6076 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6077 * java/awt/MenuComponent.java (accessibleContext): Make package
6079 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6080 AccessibleAWTCheckboxMenuItem): Implement.
6082 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6084 * java/awt/List.java: Implement AccessibleAWTList,
6085 AccessibleAWTListChild.
6087 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6089 * java/awt/Choice.java: Add implements declaration for
6092 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6094 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6097 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6099 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6100 implemented interface list.
6102 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6104 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6105 * javax/imageio/metadata/IIOAttr.java: New class.
6106 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6107 * javax/imageio/metadata/IIONodeList.java: New class.
6108 * Makefile.am: Added new files.
6109 * Makefile.in: Regenerated.
6111 2005-02-15 Michael Koch <konqueror@gmx.de>
6113 * javax/swing/AbstractAction.java,
6114 javax/swing/AbstractCellEditor.java,
6115 javax/swing/AbstractListModel.java,
6116 javax/swing/DefaultBoundedRangeModel.java,
6117 javax/swing/DefaultButtonModel.java,
6118 javax/swing/DefaultCellEditor.java,
6119 javax/swing/DefaultComboBoxModel.java,
6120 javax/swing/DefaultDesktopManager.java,
6121 javax/swing/JMenu.java,
6122 javax/swing/JSlider.java,
6123 javax/swing/KeyStroke.java,
6124 javax/swing/OverlayLayout.java,
6125 javax/swing/ScrollPaneLayout.java,
6126 javax/swing/SizeRequirements.java,
6127 javax/swing/ViewportLayout.java:
6128 Made serialVersionUID private.
6130 2005-02-15 Michael Koch <konqueror@gmx.de>
6132 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6135 2005-02-15 Michael Koch <konqueror@gmx.de>
6137 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6139 2005-02-15 Michael Koch <konqueror@gmx.de>
6141 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6143 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6145 * java/awt/EventDispatchThread.java,
6146 java/awt/Toolkit.java:
6147 Don't catch java.lang.ThreadDeath.
6149 2005-02-15 Michael Koch <konqueror@gmx.de>
6151 * javax/swing/text/PasswordView.java
6152 (drawEchoCharacter): Added javadoc.
6153 (drawSelectedText): Likewise.
6154 (drawUnselectedText): Likewise.
6156 2005-02-15 Michael Koch <konqueror@gmx.de>
6158 * javax/swing/JRootPane.java
6159 (windowDecorationStyle): New field.
6160 (setMenuBar): New method.
6161 (getMenuBar): Likewise.
6162 (getWindowDecorationStyle): Likewise.
6163 (setWindowDecorationStyle): Likewise.
6165 2005-02-15 Michael Koch <konqueror@gmx.de>
6167 * javax/swing/DefaultListSelectionModel.java
6168 (leadAnchorNotificationEnabled): Made protected.
6170 2005-02-15 Michael Koch <konqueror@gmx.de>
6172 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6173 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6174 * Makefile.in: Regenerated.
6177 2005-02-15 Michael Koch <konqueror@gmx.de>
6179 * javax/swing/JFormattedTextField.java: Implemented.
6180 * javax/swing/JWindow.java
6181 (JWindow): New constructors.
6182 (initWindow): Renamed from initFrame.
6183 * javax/swing/UIDefaults.java
6184 (ActiveValue): Made interface static.
6185 (LazyValue): Likewise.
6186 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6187 (TitlePaneLayout.TitlePaneLayout): New constructor.
6188 * javax/swing/plaf/basic/BasicSliderUI.java
6189 (ChangeHandler): Made public.
6190 (FocusHandler): Likewise.
6191 (PropertyChangeHandler): Likewise.
6192 (ScrollListener): Likewise.
6193 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6194 (FocusHandler): Likewise.
6195 (MouseHandler): Likewise.
6196 * javax/swing/plaf/basic/BasicTextPaneUI.java
6197 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6198 * javax/swing/plaf/basic/BasicToolBarUI.java
6199 (BasicToolBarUI): Simplified. Reworked javadoc.
6200 (canDock): Simplified. Make public.
6201 (DockingListener): Made public.
6202 * javax/swing/text/JTextComponent.java
6203 (navigationFilter): New field.
6204 (getNavigationFilter): New method.
6205 (setNavigationFilter): Likewise.
6207 2005-02-15 Michael Koch <konqueror@gmx.de>
6209 * javax/swing/plaf/metal/MetalTheme.java
6210 (getControlTextColor): Return getControlInfo().
6211 (getHighlightedTextColor): Return getControlTextColor().
6213 2005-02-15 Michael Koch <konqueror@gmx.de>
6215 * javax/swing/plaf/basic/BasicButtonListener.java
6216 (BasicButtonListener): New constructor.
6217 * javax/swing/plaf/basic/BasicButtonUI.java
6218 (createButtonListener): Usw new BasicButtonListener constructor.
6220 2005-02-15 Michael Koch <konqueror@gmx.de>
6222 * javax/imageio/event/package.html,
6223 javax/imageio/metadata/package.html: New files.
6225 2005-02-15 Michael Koch <konqueror@gmx.de>
6227 * java/awt/image/MemoryImageSource.java: Reformatted.
6229 2005-02-15 Michael Koch <konqueror@gmx.de>
6231 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6233 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6235 * java/awt/color/ICC_Profile.java
6236 (finalize): Removed pointless field assignments.
6238 2005-02-15 Michael Koch <konqueror@gmx.de>
6240 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6241 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6242 * Makefile.in: Regenerated.
6244 2005-02-15 Michael Koch <konqueror@gmx.de>
6246 * javax/swing/text/DefaultStyledDocument.java: New file.
6247 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6248 * Makefile.in: Regenerated.
6250 2005-02-15 Michael Koch <konqueror@gmx.de>
6252 * javax/swing/JFileChooser.java
6253 (showDialog): Return CANCEL_OPTION for now.
6254 (showOpenDialog): Likewise.
6255 (showSaveDialog): Likewise.
6257 2005-02-15 Michael Koch <konqueror@gmx.de>
6259 * javax/swing/JApplet.java
6260 (HIDE_ON_CLOSE): Removed.
6261 (EXIT_ON_CLOSE): Likewise.
6262 (DISPOSE_ON_CLOSE): Likewise.
6263 (DO_NOTHING_ON_CLOSE): Likewise.
6264 (close_action): Likewise.
6265 (getDefaultCloseOperation): Likewise.
6266 (setDefaultCloseOperation): Likewise.
6267 (processWindowEvent): Likewise.
6268 (getPreferredSize): Simplified.
6269 * javax/swing/JInternalFrame.java
6270 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6272 * javax/swing/JWindow.java
6273 (HIDE_ON_CLOSE): Removed.
6274 (EXIT_ON_CLOSE): Likewise.
6275 (DISPOSE_ON_CLOSE): Likewise.
6276 (DO_NOTHING_ON_CLOSE): Likewise.
6277 (close_action): Likewise.
6278 (processKeyEvent): Likewise.
6279 (setDefaultCloseOperation): Likewise.
6280 (getPreferredSize): Simplified.
6282 2005-02-15 Michael Koch <konqueror@gmx.de>
6284 * javax/swing/JTextField.java
6285 (getPreferredSize): Re-implemented.
6287 2005-02-15 Michael Koch <konqueror@gmx.de>
6289 * javax/swing/JLabel.java
6290 (setDisplayedMnemonic): Use only upper case characters.
6291 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6292 PropertyChangeEvent after property got set to the new index.
6294 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6296 * javax/swing/JComboBox.java:
6297 (JComboBox): Removed selection of the
6298 first item in the model.
6300 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6302 * javax/swing/JComboBox.java
6303 added support for no item being selected
6304 (JComboBox): select first or nothing depending on element count
6305 (setModel): cleaned up unneeded "this." usage, added more
6306 docs, made exception behavior match that of the JDK
6307 (setLighWeightPopupEnabled): removed unneeded "this." usage
6309 (setMaximumRowCount): dito
6311 (setPrototypeDisplayValue): dito
6312 (getSelectedItem): simplified, added more user doc
6313 (setSelectedIndex): corrected exception behavior, added more user doc
6314 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6315 added performance warning to user doc
6316 (addItem): fixed exception behavior, added user doc
6317 (insertItemAt): dito
6319 (removeItemAt): dito
6320 (removeAll): fixed exception behavior, added user doc, added support
6321 for model not being instance of DefaultComboBoxModel
6322 (getSelectedItemObjects): simplified
6323 (getItemCount): fixed dependency on DefaultComboBoxModel
6324 (getItemAt): fixed dependency on MutableComboBoxModel
6325 * javax/swing/DefaultComboBoxModel.java:
6326 (setSelectedItem): updates selected item only if new
6327 value is null or known (match JDK behavior)
6328 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6329 (paintCurrentValue): renders "" if no item is selected
6331 2005-02-15 Michael Koch <konqueror@gmx.de>
6333 * javax/swing/plaf/metal/MetalTheme.java,
6334 javax/swing/plaf/metal/DefaultMetalTheme.java:
6336 * javax/swing/plaf/metal/MetalLookAndFeel.java
6337 * Makefile.am: Added the new files.
6338 * Makefile.in: Regenerated.
6340 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6342 * javax/swing/JTable.java
6343 (editorComp): New field.
6344 (JTable): Initialize local variables and call updateUI
6345 (selectionBackground): Make protected.
6346 (selectionForeground): Likewise.
6347 (initializeLocalVars): Create default editors and renderers,
6348 initialize editingColumn, editingRow variables.
6349 (createDefaultEditors): New Method.
6350 (createDefaultRenderers): Likewise.
6351 (createDefaultListSelectionModel): Removed
6352 (createDefaultSelectionModel): New Method.
6353 (createDefaultTableHeader): Likewise
6354 (removeColumn): Likewise.
6355 (getEditingColumn): Likewise.
6356 (setEditingColumn): Likewise.
6357 (getEditingRow): Likewise.
6358 (setEditingRow): Likewise.
6359 (getEditorComponent): Likewise.
6360 (isEditing): Likewise.
6361 (setDefaultEditor): Likewise.
6362 (addColumnSelectionInterval): Likewise.
6363 (addRowSelectionInterval): Likewise.
6364 (setColumnSelectionInterval): Likewise.
6365 (setRowSelectionInterval): Likewise.
6366 (removeColumnSelectionInterval): Likewise.
6367 (removeRowSelectionInterval): Likewise.
6368 (isColumnSelected): Likewise.
6369 (isRowSelected): Likewise.
6370 (isCellSelected): Likewise.
6371 (selectAll): Likewise.
6373 2005-02-15 Michael Koch <konqueror@gmx.de>
6375 * javax/swing/JTable.java
6376 (addColumn): New method.
6377 (getColumnClass): Likewise.
6378 (getColumnName): Likewise.
6380 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6382 * javax/swing/TransferHandler.java
6383 (createTransferable): Made protected.
6385 2005-02-15 Michael Koch <konqueror@gmx.de>
6387 * javax/swing/JTable.java,
6388 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6389 javax/swing/plaf/basic/BasicTableUI.java:
6390 Use fixed get/setIntercellSpacing() methods.
6392 2005-02-15 Michael Koch <konqueror@gmx.de>
6394 * javax/swing/JTable.java
6395 (getIntercellSpacing): Fixed typo in method name.
6396 (setIntercellSpacing): Likewise.
6398 2005-02-15 Michael Koch <konqueror@gmx.de>
6400 * javax/swing/text/JTextComponent.java
6401 (focusAccelerator): New variable.
6402 (getFocusAccelerator): New method.
6403 (setFocusAccelerator): Likewise.
6405 2005-02-15 Michael Koch <konqueror@gmx.de>
6407 * javax/swing/JComponent.java
6408 (setTransferHandler): Made public. Fire property change event.
6409 * javax/swing/TransferHandler.java: Implemented.
6410 * javax/swing/text/JTextComponent.java
6411 (DefaultTransferHandler): New inner class.
6412 (defaultTransferHandler): New variable.
6416 (doTransferAction): Likewise.
6418 2005-02-15 Michael Koch <konqueror@gmx.de>
6420 * javax/swing/JTree.java
6421 (collapsePath): New method.
6422 (collapseRow): Likewise.
6423 (expandPath): Likewise.
6424 (expandRow): Likewise.
6425 (checkExpandParents): Likewise.
6426 (doExpandParents): Likewise.
6427 (setExpandedState): Likewise.
6428 (makeVisible): Likewise.
6430 2005-02-15 Michael Koch <konqueror@gmx.de>
6432 * javax/swing/JPasswordField.java: Updated javadocs.
6434 2005-02-15 Michael Koch <konqueror@gmx.de>
6436 * javax/swing/JLayeredPane.java
6437 (getLayer): Fixed return type, made public.
6438 (getPosition): Use new getLayer().
6439 (SetPosition): Likewise.
6440 (getIndexOf): Likewise.
6442 * javax/swing/JInternalFrame.java
6443 (getLayer): Use new JLayeredPane.getLayer().
6446 2005-02-15 Michael Koch <konqueror@gmx.de>
6448 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6449 (setHeaderValue): Simplified. Do nothing when old value == new value.
6451 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6453 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6454 against null clip region.
6455 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6456 gtkWindowSetResizable.
6457 (postConfigureEvent): Only revalidate if frame size has changed.
6458 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6459 Only revalidate if frame size has changed.
6460 * java/awt/Component.java (reshape): Only repaint and post
6461 component events if component is showing.
6462 * java/awt/Container.java (addImpl): Only post container event if
6463 container is showing.
6465 * java/awt/Window.java (setLocationRelativeTo): Implement.
6466 (setBoundsCallback): Only post component events if component is
6468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6469 Protect against null graphics structure. Flush gdk event queue.
6471 2005-02-15 Michael Koch <konqueror@gmx.de>
6473 * javax/imageio/ImageReader.java,
6474 javax/imageio/ImageTranscoder.java,
6475 javax/imageio/ImageWriter.java,
6476 javax/imageio/spi/ImageInputStreamSpi.java,
6477 javax/imageio/spi/ImageOutputStreamSpi.java,
6478 javax/imageio/spi/ServiceRegistry.java,
6479 javax/imageio/stream/ImageInputStream.java,
6480 javax/imageio/stream/ImageOutputStream.java: Updated.
6481 * javax/imageio/IIOException.java,
6482 javax/imageio/IIOImage.java,
6483 javax/imageio/IIOParam.java,
6484 javax/imageio/IIOParamController.java,
6485 javax/imageio/ImageIO.java,
6486 javax/imageio/ImageReadParam.java,
6487 javax/imageio/ImageTypeSpecifier.java,
6488 javax/imageio/ImageWriteParam.java,
6489 javax/imageio/spi/IIORegistry.java,
6490 javax/imageio/spi/ImageReaderSpi.java,
6491 javax/imageio/spi/ImageWriterSpi.java,
6492 javax/imageio/stream/FileCacheImageInputStream.java,
6493 javax/imageio/stream/FileCacheImageOutputStream.java,
6494 javax/imageio/stream/FileImageInputStream.java,
6495 javax/imageio/stream/FileImageOutputStream.java,
6496 javax/imageio/stream/ImageInputStreamImpl.java,
6497 javax/imageio/stream/ImageOutputStreamImpl.java,
6498 javax/imageio/stream/MemoryCacheImageInputStream.java,
6499 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6500 javax/imageio/event/IIOReadProgressListener.java,
6501 javax/imageio/event/IIOReadUpdateListener.java,
6502 javax/imageio/event/IIOReadWarningListener.java,
6503 javax/imageio/event/IIOWriteProgressListener.java,
6504 javax/imageio/event/IIOWriteWarningListener.java,
6505 javax/imageio/metadata/IIOMetadata.java,
6506 javax/imageio/metadata/IIOMetadataController.java,
6507 javax/imageio/metadata/IIOMetadataFormat.java,
6508 javax/imageio/metadata/IIOInvalidTreeException.java,
6509 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6510 javax/imageio/metadata/IIOMetadataNode.java: New files.
6511 * Makefile.am (javax_source_files): Added new files
6512 * Makefile.in: Regenerated.
6514 2005-02-15 Graydon Hoare <graydon@redhat.com>
6516 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6517 Rework painting into BufferedImages
6518 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6519 Construct BufferedImage with alpha only when alpha is
6520 present in colormodel.
6521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6522 Rework painting into client-side jint arrays.
6523 * jni/gtk-peer/gtkcairopeer.h:
6526 2005-02-15 Michael Koch <konqueror@gmx.de>
6528 * javax/swing/DefaultListCellRenderer.java
6529 (serialVersionUID): Made private.
6530 (getListCellRendererComponent): Set horizontal alignment.
6531 * javax/swing/JLabel.java
6532 (setVerticalAlignment): Re-implemented.
6533 (setHorizontalAlignment): Do nothing if old value = new value.
6534 * javax/swing/JList.java
6535 (setCellRenderer): Likewise.
6536 (setModel): Re-implemented.
6537 (setSelectionModel): Likewise.
6539 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6541 * java/awt/Component.java,
6542 java/awt/geom/Rectangle2D.java:
6545 2005-02-15 Michael Koch <konqueror@gmx.de>
6547 * javax/swing/AbstractListModel.java
6548 (fireContentsChanged): Simplified.
6549 (fireIntervalAdded): Likewise.
6550 (fireIntervalRemoved): Likewise.
6551 * javax/swing/DefaultSingleSelectionModel.java:
6553 (fireStateChanged): Simplified.
6554 * javax/swing/JPopupMenu.java
6555 (setSelectionModel): Set property.
6557 2005-02-15 Michael Koch <konqueror@gmx.de>
6559 * java/awt/print/Book.java: Reformatted.
6561 2005-02-15 Michael Koch <konqueror@gmx.de>
6563 * java/awt/geom/Area.java
6564 (QuadSegment.curveArea): Remove unused variables.
6565 (CubicSegment.curveArea): Likewise.
6567 2005-02-15 Michael Koch <konqueror@gmx.de>
6569 * javax/swing/JTree.java
6570 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6571 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6572 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6573 (EXPANDED): New constant.
6574 (COLLAPSED): Likewise.
6575 (nodeStates): New field.
6576 (cellEditor): New method.
6577 (cellRenderer): Likewise.
6578 (selectionModel): Likewise.
6579 (treeModel): Likewise.
6580 (scrollPathToVisible): Likewise.
6581 (scrollRowToVisible): Likewise.
6582 (isCollapsed): Likewise.
6583 (isExpanded): Likewise.
6584 (clearToggledPaths): Likewise.
6585 (getDescendantToggledPaths): Likewise.
6586 (hasBeenExpanded): Likewise.
6587 (isVisible): Likewise.
6588 (isPathEditable): Likewise.
6590 2005-02-15 Michael Koch <konqueror@gmx.de>
6592 * javax/swing/JLayeredPane.java: Reformatted.
6594 2005-02-15 Michael Koch <konqueror@gmx.de>
6596 * javax/swing/tree/DefaultMutableTreeNode.java:
6598 * javax/swing/tree/MutableTreeNode.java:
6601 2005-02-15 Michael Koch <konqueror@gmx.de>
6603 * javax/swing/JFormattedTextField.java
6604 (setDocument): Call setDocument of super class. Don't fire property
6607 2005-02-15 Sven de Marothy <sven@physto.se>
6609 * java/awt/image/IndexColorModel.java:
6610 Add FIXME with respect to alpha handling.
6611 (getAlpha): Default to returning opaque pixels.
6612 * java/awt/image/MultiPixelPackedSampleModel.java
6613 (MultiPixelPackedSampleModel): Corrected parameters, order of
6614 bit shifts and masks, stride length off by one.
6616 2005-02-15 Michael Koch <konqueror@gmx.de>
6618 * javax/swing/JList.java, javax/swing/JTree.java:
6619 Added much new methods and fixed much methods setting bound properties.
6621 2005-02-16 Mark Wielaard <mark@klomp.org>
6623 * Makefile.am (gnu_xml_source_files): Removed
6624 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6625 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6626 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6627 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6628 gnu/xml/dom/DomDocumentFragment.java,
6629 gnu/xml/dom/DomProcessingInstruction.java and
6630 gnu/xml/dom/ls/DomLSException.java.
6631 * Makefile.in: Regenerated.
6633 2005-02-16 Tom Tromey <tromey@redhat.com>
6635 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6636 attribute index is out of bounds.
6638 2005-02-16 Chris Burdess <dog@gnu.org>
6640 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6641 isDeclared methods. Improved performance of isSpecified methods.
6643 2005-02-16 Chris Burdess <dog@gnu.org>
6645 Fixes bug libgcj/19864
6646 * gnu/xml/dom/DomAttr.java,
6647 gnu/xml/dom/DomCDATA.java,
6648 gnu/xml/dom/DomCDATASection.java,
6649 gnu/xml/dom/DomCharacterData.java,
6650 gnu/xml/dom/DomDOMException.java,
6651 gnu/xml/dom/DomDoctype.java,
6652 gnu/xml/dom/DomDocument.java,
6653 gnu/xml/dom/DomDocumentConfiguration.java,
6654 gnu/xml/dom/DomDocumentFragment.java,
6655 gnu/xml/dom/DomElement.java,
6656 gnu/xml/dom/DomEx.java,
6657 gnu/xml/dom/DomFragment.java,
6658 gnu/xml/dom/DomImpl.java,
6659 gnu/xml/dom/DomIterator.java,
6660 gnu/xml/dom/DomNamedNodeMap.java,
6661 gnu/xml/dom/DomNode.java,
6662 gnu/xml/dom/DomNsNode.java,
6663 gnu/xml/dom/DomPI.java,
6664 gnu/xml/dom/DomProcessingInstruction.java,
6665 gnu/xml/dom/DomText.java,
6666 gnu/xml/dom/DomLSEx.java,
6667 gnu/xml/dom/DomLSException.java,
6668 gnu/xml/dom/DomLSParser.java,
6669 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6670 implementation class names to conform to Classpath guidelines. Make
6671 DomLSException use JDK 1.4+ exception chaining.
6672 * gnu/xml/util/SAXNullTransformerFactory.java,
6673 gnu/xml/xpath/Predicate.java: Use constants relative to
6674 declaring class or interface.
6676 2005-02-16 Andrew Haley <aph@redhat.com>
6678 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6679 null, create a new AccessControlContext.
6680 * java/security/SecureClassLoader.java (protectionDomainCache):
6682 (defineClass): Create a new protection domain and add it to our
6685 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6686 addStub() to keep track of the stub we've exported.
6687 (unexportObject): Call deleteStub().
6688 * java/rmi/server/RemoteObject.java (stubs): New field.
6689 (addStub): New method.
6690 (deleteStub): New method.
6693 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6694 true to findHelper (tryParents).
6695 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6697 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6698 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6700 If tryParents is false, don't scan parent class loaders.
6702 * java/security/Permissions.java (PermissionsHash.implies):
6703 Iterate over the collection and invoke implies() on each
6706 2005-02-16 Andrew Haley <aph@redhat.com>
6708 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6710 (PersistentByteMap): Set name
6711 Magic number changed to 0x67636a64 ("gcjd").
6712 (init): Force the map to be prime.
6713 (emptyPersistentByteMap): File name was a string, now a File.
6714 (addBytes): Share srings between entries.
6715 (stringTableSize): New method.
6716 (capacity): Scale by load factor.
6717 (force): New method.
6718 (getFile): New method.
6719 (close): New method.
6720 (putAll): New method.
6721 (ByteWrapper): New class.
6722 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6723 (main): Guess the average string size as 32, not 64.
6724 Copy a database before modifying it, so that we can update a
6725 database in a running system.
6726 If a database isn't big enough, resize it.
6727 "-m": new option: merges databases.
6728 "-a": Create a new detabase if it doesn't exist.
6729 (usage): Correct, add new option.
6730 (addJar): Copy a database before modifying it.
6731 (resizeMap): New method.
6733 2005-02-15 David Daney <ddaney@avtrex.com>
6734 Bryce McKinlay <mckinlay@redhat.com>
6736 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6737 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6738 ensure that GC threads inherit the new signal mask.
6739 (block_sigchld): Call JvFail rather than throwing exception if
6740 pthread_sigmask() fails.
6742 2005-02-15 Mark Wielaard <mark@klomp.org>
6744 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6745 file path elements are separated by spaces.
6747 2005-02-15 Mark Wielaard <mark@klomp.org>
6749 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6750 to describe attributes without a constant field value in this class.
6752 2005-02-15 Michael Koch <konqueror@gmx.de>
6754 * java/util/jar/Attributes.java
6755 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6757 2005-02-15 Mark Wielaard <mark@klomp.org>
6759 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6760 space for parsing CLASS_PATH attribute.
6762 2005-02-15 Mark Wielaard <mark@klomp.org>
6764 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6765 aside for "GCJLIBS" in directory where jarfiles are loaded.
6766 (JarURLLoader.getClass): Removed method.
6767 (JarURLLoader.toString): Removed method.
6768 (FileResource.toString): Removed method.
6770 2005-02-15 Mark Wielaard <mark@klomp.org>
6772 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6773 and/or cause before throwing.
6775 2005-02-15 Richard Henderson <rth@redhat.com>
6777 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6778 (libgcj0_convenience_la_SOURCES): ... here.
6779 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6780 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6781 * Makefile.in: Regenerate.
6783 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6786 * include/jawt.h: Likewise.
6787 * include/jawt_md.h: Likewise.
6788 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6790 * include/Makefile.in: Regenerate.
6791 * jni/classpath/classpath_jawt.h: Likewise.
6792 * jni/gtk-peer/gtk_jawt.c: Likewise.
6793 * Makefile.am: Build libjawt.so.
6794 * Makefile.in: Regenerate.
6796 2005-02-14 Tom Tromey <tromey@redhat.com>
6798 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6800 2005-02-14 Tom Tromey <tromey@redhat.com>
6802 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6803 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6805 2005-02-14 Tom Tromey <tromey@redhat.com>
6808 * testsuite/libjava.lang/PR19929.out: New file.
6809 * testsuite/libjava.lang/PR19929.java: New file.
6811 2005-02-14 Anthony Green <green@redhat.com>
6814 * testsuite/libjava.jni/PR18116.c: New file.
6815 * testsuite/libjava.jni/PR18116.java: New file.
6816 * testsuite/libjava.jni/PR18116.out: New file.
6818 2005-02-13 Anthony Green <green@redhat.com>
6821 * jni.cc (nathash_add): Don't strdup the method signature.
6822 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6826 2005-02-12 Mark Wielaard <mark@klomp.org>
6828 Fixes bug libgcj/8170
6829 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6830 ClassNotFoundException.
6831 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6832 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6833 (remove_internal): New field superceding remove_interpreter.
6834 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6835 Remove no-class methods starting with "_Jv_". And Replace null
6836 class or method names with the empty string. Stop at either the
6837 MainThread or a real Thread run() method.
6838 (newElement): Made static.
6839 * java/net/URLClassLoader.java (findClass): Throw
6840 ClassNotFoundExceptions including urls, plus parent using toString().
6841 (thisString): New field.
6842 (toString): New method.
6844 2005-02-10 Tom Tromey <tromey@redhat.com>
6846 * external/sax/Makefile.in: Rebuilt.
6847 * external/sax/Makefile.am (all-local): Removed.
6848 (BUILT_SOURCES): New variable.
6849 (mostlyclean-local): No error if no classes to delete.
6850 * external/w3c_dom/Makefile.in: Rebuilt.
6851 * external/w3c_dom/Makefile.am (all-local): Removed.
6852 (BUILT_SOURCES): New variable.
6853 (mostlyclean-local): No error if no classes to delete.
6855 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6857 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6858 of mauve and libjava.
6860 2005-02-09 Tom Tromey <tromey@redhat.com>
6862 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6863 jar file with OPEN_DELETE.
6864 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6865 OPEN_DELETE is used.
6867 2005-02-09 Tom Tromey <tromey@redhat.com>
6869 * java/util/zip/InflaterInputStream.java (markSupported):
6871 (mark, reset): Likewise.
6873 2005-02-08 Tom Tromey <tromey@redhat.com>
6875 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6876 name or port is missing.
6877 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6878 AUTHORITY_PORT_GROUP): Updated.
6880 2005-02-08 Tom Tromey <tromey@redhat.com>
6882 * configure: Rebuilt.
6883 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6886 2005-02-07 Tom Tromey <tromey@redhat.com>
6888 * java/lang/natRuntime.cc (insertSystemProperties): Set
6889 sun.boot.class.path earlier.
6891 2005-02-07 Tom Tromey <tromey@redhat.com>
6893 * defineclass.cc (handleClassBegin): Use
6894 _Jv_RegisterInitiatingLoader.
6895 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6896 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6897 class. Use _Jv_UnregisterInitiatingLoader.
6898 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6901 2005-02-07 Mark Wielaard <mark@klomp.org>
6903 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6904 java/util/regex/Matcher.java (lookingAt): Set position when match
6906 (matches): Implemented through lookingAt().
6908 2005-02-07 Mark Wielaard <mark@klomp.org>
6910 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6911 * java/util/regex/Pattern.java (split(CharSequence,int)):
6912 Fix while empties > 0 loops.
6914 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6916 * gnu/java/nio/charset/ISO_8859_1.java,
6917 gnu/java/nio/charset/US_ASCII.java,
6918 gnu/java/nio/charset/UTF_16.java,
6919 gnu/java/nio/charset/UTF_16_LE.java,
6920 gnu/java/nio/charset/UTF_16_BE.java,
6921 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6922 and aliases according to
6923 "http://www.iana.org/assignments/character-sets",
6924 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6925 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6926 * gnu/java/nio/charset/Provider.java: Made charset lookup
6927 case-insensitive which fixes bug #11740.
6929 2005-02-07 Tom Tromey <tromey@redhat.com>
6932 * Makefile.in: Rebuilt.
6933 * Makefile.am (src.zip): New target.
6934 (install-src.zip): Likewise.
6935 (sourcesdir): New variable.
6937 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6939 * javax/imageio/metadata/IIOMetadataNode.java:
6941 * javax/imageio/metadata/IIOAttr.java,
6942 javax/imageio/metadata/IIONamedNodeMap.java,
6943 javax/imageio/metadata/IIONodeList.java:
6946 2005-02-06 Graydon Hoare <graydon@redhat.com>
6948 * gnu/java/awt/ClasspathToolkit.java
6949 (registerImageIOSpis): New method.
6950 * javax/imageio/ImageIO.java
6951 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6952 (WriterMIMETypeFilter.filter): Likewise.
6953 (ImageReaderIterator): Pass extension argument through to SPI.
6954 (getReadersByFilter): Likewise.
6955 (getWritersByFilter): Likewise.
6956 (getImageReadersByFormatName): Likewise.
6957 (getImageReadersByMIMEType): Likewise.
6958 (getImageReadersBySuffix): Likewise.
6959 (getImageWritersByFormatName): Likewise.
6960 (getImageWritersByMIMEType): Likewise.
6961 (getImageWritersBySuffix): Likewise.
6964 * javax/imageio/ImageReader.java
6965 (progressListeners): Initialize.
6966 (setInput): Implement.
6967 * javax/imageio/ImageWriter.java
6968 (progressListeners): Initialize.
6969 (warningListeners): Likewise.
6970 (warningLocales): Likewise.
6971 (setOutput): Test "isInstance" rather than class equality.
6972 * javax/imageio/spi/IIORegistry.java
6973 (static): Add reader and writer SPIs.
6974 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6976 2005-02-06 Michael Koch <konqueror@gmx.de>
6978 * javax/imageio/metadata/IIOInvalidTreeException.java
6979 (IIOInvalidTreeException): Reformatted.
6980 * javax/imageio/spi/IIORegistry.java
6981 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6982 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6983 Reworked import statements.
6985 2005-02-06 Michael Koch <konqueror@gmx.de>
6987 * javax/imageio/stream/FileImageOutputStream.java:
6990 2005-02-06 Michael Koch <konqueror@gmx.de>
6992 * javax/imageio/stream/FileCacheImageInputStream.java,
6993 javax/imageio/stream/FileCacheImageOutputStream.java,
6994 javax/imageio/stream/FileImageInputStream.java,
6995 javax/imageio/stream/ImageInputStreamImpl.java,
6996 javax/imageio/stream/ImageOutputStreamImpl.java,
6997 javax/imageio/stream/MemoryCacheImageInputStream.java,
6998 javax/imageio/stream/MemoryCacheImageOutputStream.java:
6999 Added all missing methods in javax.imageio.stream.
7001 2005-02-02 David Daney <ddaney@avtrex.com>
7003 * java/net/InetAddress.java (InetAddress): Make a private copy of
7005 * java/net/Inet4Address.java (getAddress): Return a copy of the
7007 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7009 (getAddress): Return a copy of the address.
7012 2005-02-02 Tom Tromey <tromey@redhat.com>
7014 * Makefile.in: Rebuilt.
7015 * Makefile.am (classes.stamp): New target, broken out from
7017 ($(all_java_class_files)): Depend on it.
7018 (libgcj-@gcc_version@.jar): Likewise.
7019 (all-recursive): Likewise.
7020 (CLEANFILES): Include classes.stamp.
7022 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7024 * link.cc: Include <stdio.h>
7026 2005-02-02 Tom Tromey <tromey@redhat.com>
7029 * Makefile.in: Rebuilt.
7030 * Makefile.am (ordinary_java_source_files): Added new class.
7031 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7032 Use system_instance, not instance.
7033 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7034 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7036 (system_instance): New field.
7037 (initialize): Initialize the system loader as well.
7038 (VMClassLoader): Default to LIB_CACHE.
7040 2005-02-02 Tom Tromey <tromey@redhat.com>
7042 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7043 * prims.cc: Fixed comment.
7045 2005-02-01 Tom Tromey <tromey@redhat.com>
7047 * Makefile.in: Rebuilt.
7048 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7049 (.java.class): Use BOOTCLASSPATH.
7051 2005-02-01 Tom Tromey <tromey@redhat.com>
7053 * external/w3c_dom/Makefile.am: New file.
7054 * external/w3c_dom/Makefile.in: New file.
7055 * external/sax/Makefile.am: New file.
7056 * external/sax/Makefile.in: New file.
7057 * external/Makefile.in: New file.
7058 * external/Makefile.am: New file.
7059 * external/README: New file from Classpath.
7060 * configure, aclocal.m4, Makefile.in: Rebuilt.
7061 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7062 * Makefile.am (SUBDIRS): Added external.
7063 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7064 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7065 (BOOTCLASSPATH): New variable.
7066 (AM_GCJFLAGS): Use it.
7067 (gnu_xml_source_files): New variable.
7068 (libgcj_la_SOURCES): Use it.
7069 (libgcj_la_LDADD): Include new convenience libraries.
7070 (lib_org_ietf_jgss_la_SOURCES): Removed.
7071 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7072 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7073 (lib_org_w3c_dom_la_SOURCES): Removed.
7074 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7075 (lib_org_w3c_dom_la_LIBADD): Likewise.
7076 (lib_org_xml_sax_la_SOURCES): Removed.
7077 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7078 (lib_org_xml_sax_la_LIBADD): Likewise.
7079 (all_java_source_files): Updated.
7080 (property_files): Likewise.
7081 (libgcj-@gcc_version@.jar): Include classes from external/.
7082 (javax_source_files): Updated.
7083 (ordinary_java_source_files): Updated.
7084 * javax/xml/XMLConstants.java,
7085 javax/xml/datatype/DatatypeConfigurationException.java,
7086 javax/xml/datatype/DatatypeConstants.java,
7087 javax/xml/datatype/DatatypeFactory.java,
7088 javax/xml/datatype/Duration.java,
7089 javax/xml/datatype/XMLGregorianCalendar.java,
7090 javax/xml/datatype/package.html,
7091 javax/xml/namespace/NamespaceContext.java,
7092 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7093 javax/xml/parsers/DocumentBuilder.java,
7094 javax/xml/parsers/DocumentBuilderFactory.java,
7095 javax/xml/parsers/FactoryConfigurationError.java,
7096 javax/xml/parsers/ParserConfigurationException.java,
7097 javax/xml/parsers/SAXParser.java,
7098 javax/xml/parsers/SAXParserFactory.java,
7099 javax/xml/parsers/package.html,
7100 javax/xml/transform/ErrorListener.java,
7101 javax/xml/transform/OutputKeys.java,
7102 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7103 javax/xml/transform/SourceLocator.java,
7104 javax/xml/transform/Templates.java,
7105 javax/xml/transform/Transformer.java,
7106 javax/xml/transform/TransformerConfigurationException.java,
7107 javax/xml/transform/TransformerException.java,
7108 javax/xml/transform/TransformerFactory.java,
7109 javax/xml/transform/TransformerFactoryConfigurationError.java,
7110 javax/xml/transform/URIResolver.java,
7111 javax/xml/transform/package.html,
7112 javax/xml/transform/dom/DOMLocator.java,
7113 javax/xml/transform/dom/DOMResult.java,
7114 javax/xml/transform/dom/DOMSource.java,
7115 javax/xml/transform/dom/package.html,
7116 javax/xml/transform/sax/SAXResult.java,
7117 javax/xml/transform/sax/SAXSource.java,
7118 javax/xml/transform/sax/SAXTransformerFactory.java,
7119 javax/xml/transform/sax/TemplatesHandler.java,
7120 javax/xml/transform/sax/TransformerHandler.java,
7121 javax/xml/transform/sax/package.html,
7122 javax/xml/transform/stream/StreamResult.java,
7123 javax/xml/transform/stream/StreamSource.java,
7124 javax/xml/transform/stream/package.html,
7125 javax/xml/validation/Schema.java,
7126 javax/xml/validation/SchemaFactory.java,
7127 javax/xml/validation/TypeInfoProvider.java,
7128 javax/xml/validation/Validator.java,
7129 javax/xml/validation/ValidatorHandler.java,
7130 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7131 javax/xml/xpath/XPathConstants.java,
7132 javax/xml/xpath/XPathException.java,
7133 javax/xml/xpath/XPathExpression.java,
7134 javax/xml/xpath/XPathExpressionException.java,
7135 javax/xml/xpath/XPathFactory.java,
7136 javax/xml/xpath/XPathFactoryConfigurationException.java,
7137 javax/xml/xpath/XPathFunction.java,
7138 javax/xml/xpath/XPathFunctionException.java,
7139 javax/xml/xpath/XPathFunctionResolver.java,
7140 javax/xml/xpath/XPathVariableResolver.java,
7141 javax/xml/xpath/package.html: New files, from GNU JAXP.
7142 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7143 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7144 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7145 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7146 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7147 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7148 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7149 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7150 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7151 org/w3c/dom/ranges/DocumentRange.java,
7152 org/w3c/dom/ranges/Range.java,
7153 org/w3c/dom/ranges/RangeException.java,
7154 org/w3c/dom/traversal/DocumentTraversal.java,
7155 org/w3c/dom/traversal/NodeFilter.java,
7156 org/w3c/dom/traversal/NodeIterator.java,
7157 org/w3c/dom/traversal/TreeWalker.java,
7158 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7159 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7160 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7161 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7162 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7163 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7164 org/xml/sax/SAXNotRecognizedException.java,
7165 org/xml/sax/SAXNotSupportedException.java,
7166 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7167 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7168 org/xml/sax/ext/DeclHandler.java,
7169 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7170 org/xml/sax/helpers/AttributeListImpl.java,
7171 org/xml/sax/helpers/AttributesImpl.java,
7172 org/xml/sax/helpers/DefaultHandler.java,
7173 org/xml/sax/helpers/LocatorImpl.java,
7174 org/xml/sax/helpers/NamespaceSupport.java,
7175 org/xml/sax/helpers/NewInstance.java,
7176 org/xml/sax/helpers/ParserAdapter.java,
7177 org/xml/sax/helpers/ParserFactory.java,
7178 org/xml/sax/helpers/XMLFilterImpl.java,
7179 org/xml/sax/helpers/XMLReaderAdapter.java,
7180 org/xml/sax/helpers/XMLReaderFactory.java,
7181 org/xml/sax/helpers/package.html: Moved to external/.
7182 * external/sax/README,
7183 external/sax/org/xml/sax/AttributeList.java,
7184 external/sax/org/xml/sax/Attributes.java,
7185 external/sax/org/xml/sax/ContentHandler.java,
7186 external/sax/org/xml/sax/DTDHandler.java,
7187 external/sax/org/xml/sax/DocumentHandler.java,
7188 external/sax/org/xml/sax/EntityResolver.java,
7189 external/sax/org/xml/sax/ErrorHandler.java,
7190 external/sax/org/xml/sax/HandlerBase.java,
7191 external/sax/org/xml/sax/InputSource.java,
7192 external/sax/org/xml/sax/Locator.java,
7193 external/sax/org/xml/sax/Parser.java,
7194 external/sax/org/xml/sax/SAXException.java,
7195 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7196 external/sax/org/xml/sax/SAXNotSupportedException.java,
7197 external/sax/org/xml/sax/SAXParseException.java,
7198 external/sax/org/xml/sax/XMLFilter.java,
7199 external/sax/org/xml/sax/XMLReader.java,
7200 external/sax/org/xml/sax/package.html,
7201 external/sax/org/xml/sax/ext/Attributes2.java,
7202 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7203 external/sax/org/xml/sax/ext/DeclHandler.java,
7204 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7205 external/sax/org/xml/sax/ext/EntityResolver2.java,
7206 external/sax/org/xml/sax/ext/LexicalHandler.java,
7207 external/sax/org/xml/sax/ext/Locator2.java,
7208 external/sax/org/xml/sax/ext/Locator2Impl.java,
7209 external/sax/org/xml/sax/ext/package.html,
7210 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7211 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7212 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7213 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7214 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7215 external/sax/org/xml/sax/helpers/NewInstance.java,
7216 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7217 external/sax/org/xml/sax/helpers/ParserFactory.java,
7218 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7219 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7220 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7221 external/sax/org/xml/sax/helpers/package.html,
7222 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7223 external/w3c_dom/org/w3c/dom/Attr.java,
7224 external/w3c_dom/org/w3c/dom/CDATASection.java,
7225 external/w3c_dom/org/w3c/dom/CharacterData.java,
7226 external/w3c_dom/org/w3c/dom/Comment.java,
7227 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7228 external/w3c_dom/org/w3c/dom/DOMError.java,
7229 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7230 external/w3c_dom/org/w3c/dom/DOMException.java,
7231 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7232 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7233 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7234 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7235 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7236 external/w3c_dom/org/w3c/dom/Document.java,
7237 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7238 external/w3c_dom/org/w3c/dom/DocumentType.java,
7239 external/w3c_dom/org/w3c/dom/Element.java,
7240 external/w3c_dom/org/w3c/dom/Entity.java,
7241 external/w3c_dom/org/w3c/dom/EntityReference.java,
7242 external/w3c_dom/org/w3c/dom/NameList.java,
7243 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7244 external/w3c_dom/org/w3c/dom/Node.java,
7245 external/w3c_dom/org/w3c/dom/NodeList.java,
7246 external/w3c_dom/org/w3c/dom/Notation.java,
7247 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7248 external/w3c_dom/org/w3c/dom/Text.java,
7249 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7250 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7251 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7252 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7253 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7254 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7255 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7256 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7257 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7258 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7259 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7260 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7261 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7262 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7263 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7264 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7265 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7266 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7267 external/w3c_dom/org/w3c/dom/css/Counter.java,
7268 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7269 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7270 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7271 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7272 external/w3c_dom/org/w3c/dom/css/Rect.java,
7273 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7274 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7275 external/w3c_dom/org/w3c/dom/events/Event.java,
7276 external/w3c_dom/org/w3c/dom/events/EventException.java,
7277 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7278 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7279 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7280 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7281 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7282 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7283 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7284 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7285 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7286 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7287 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7288 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7289 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7290 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7291 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7292 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7293 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7294 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7295 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7296 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7297 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7298 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7299 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7300 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7301 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7302 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7303 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7304 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7305 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7306 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7307 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7308 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7309 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7310 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7311 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7312 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7313 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7314 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7315 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7316 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7317 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7318 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7319 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7320 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7321 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7322 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7323 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7324 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7325 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7326 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7327 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7328 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7329 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7330 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7331 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7332 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7333 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7334 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7335 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7336 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7337 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7338 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7339 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7340 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7341 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7342 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7343 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7344 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7345 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7346 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7347 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7348 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7349 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7350 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7351 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7352 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7353 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7354 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7355 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7356 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7357 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7358 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7359 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7360 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7361 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7362 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7363 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7364 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7365 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7366 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7367 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7368 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7371 2005-01-31 Anthony Green <green@redhat.com>
7373 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7374 Support IP_MULTICAST_LOOP.
7375 (setOption): Support IP_MULTICAST_LOOP.
7377 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7378 SO_REUSEADDR support.
7379 (getOption): Support SO_REUSEADDR.
7381 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7384 * java/util/Date.java
7385 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7387 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7389 (getTimezoneOffset): Inverted sign.
7391 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7393 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7394 remove other passing tests and add new XFAILs.
7396 2005-01-24 Tom Tromey <tromey@redhat.com>
7398 * java/lang/Class.h (next): Updated documentation. Renamed to
7400 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7401 _Jv_CheckABIVersion.
7402 (_Jv_RegisterClasses_Counted): Likewise.
7403 (_Jv_RegisterClassHookDefault): Fix starting condition of
7404 duplicate-checking loop.
7405 * include/jvm.h (GCJ_VERSION): New define.
7406 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7407 (_Jv_CheckABIVersion): New function.
7409 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7411 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7412 (libgij_la_LDFLAGS): Add.
7413 * Makefile.in: Rebuilt.
7415 2005-01-24 Roger Sayle <roger@eyesopen.com>
7418 * testsuite/libjava.compile/PR19295.java: New test case.
7420 2005-01-19 Tom Tromey <tromey@redhat.com>
7422 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7423 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7424 if 'handler' is valid.
7426 2005-01-17 Tom Tromey <tromey@redhat.com>
7428 * java/text/MessageFormat.java (scanString): Changed how quoting
7430 (scanFormatElement): Likewise.
7432 2004-12-07 Mark Wielaard <mark@klomp.org>
7434 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7436 2005-01-15 Michael Koch <konqueror@gmx.de>
7440 (AUTHORITY_REGEXP): New regexp constant.
7441 (AUTHORITY_USERINFO_GROUP): New constant.
7442 (AUTHORITY_HOST_GROUP): Likewise.
7443 (AUTHORITY_PORT_GROUP): Likewise.
7444 (port): Changed default value to -1.
7445 (parseURI): Parse authority part and initialize host,
7448 2005-01-14 Robin Green <greenrd@greenrd.org>
7450 * java/io/File.java (toURI): Generate a URI which we understand.
7452 2005-01-13 Graydon Hoare <graydon@redhat.com>
7454 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7455 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7456 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7457 * jni.cc: Reuse bottom frame between calls, avoid clearing
7458 frame when no local references are made.
7460 2005-01-13 Michael Koch <konqueror@gmx.de>
7463 * java/lang/Thread.java
7464 (Thread): Call checkAccess().
7465 (stop): Fixed argument name to match javadoc.
7466 * java/lang/natThread.cc
7467 (interrupt): Call checkAccess().
7470 2005-01-11 Michael Koch <konqueror@gmx.de>
7473 * java/net/URL.java (URL): Handle specs like
7474 "/redir?http://domain2.com/index.html" which start with a slash.
7476 2005-01-11 Michael Koch <konqueror@gmx.de>
7478 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7479 * gnu/java/net/BASE64.java,
7480 gnu/java/net/EmptyX509TrustManager.java,
7481 gnu/java/net/LineInputStream.java,
7482 gnu/java/net/protocol/http/Authenticator.java,
7483 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7484 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7485 gnu/java/net/protocol/http/ChunkedInputStream.java,
7486 gnu/java/net/protocol/http/Cookie.java,
7487 gnu/java/net/protocol/http/CookieManager.java,
7488 gnu/java/net/protocol/http/Credentials.java,
7489 gnu/java/net/protocol/http/HTTPConnection.java,
7490 gnu/java/net/protocol/http/HTTPDateFormat.java,
7491 gnu/java/net/protocol/http/HTTPURLConnection.java,
7492 gnu/java/net/protocol/http/Headers.java,
7493 gnu/java/net/protocol/http/Request.java,
7494 gnu/java/net/protocol/http/RequestBodyWriter.java,
7495 gnu/java/net/protocol/http/Response.java,
7496 gnu/java/net/protocol/http/ResponseBodyReader.java,
7497 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7498 gnu/java/net/protocol/http/SimpleCookieManager.java,
7499 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7500 gnu/java/net/protocol/http/event/ConnectionListener.java,
7501 gnu/java/net/protocol/http/event/RequestEvent.java,
7502 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7503 * gnu/java/net/protocol/http/Connection.java: Removed.
7504 * gnu/java/net/protocol/http/Handler.java,
7505 javax/net/ssl/HttpsURLConnection.java: Updated.
7506 * Makefile.am: Added new files and remove old ones.
7507 * Makefile.in: Regenerated.
7509 2005-01-11 Tom Tromey <tromey@redhat.com>
7512 * java/io/BufferedInputStream.java (read): Repeatedly read to
7514 (refill): Change test to see if buffer must be grown.
7516 2005-01-10 Tom Tromey <tromey@redhat.com>
7518 * mauve-libgcj: Exclude some swing tests.
7520 2005-01-10 Tom Tromey <tromey@redhat.com>
7522 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7523 * java/lang/Package.java (getPackages): Use VMClassLoader when
7525 (getPackage): Likewise.
7526 * prims.cc (_Jv_CreateJavaVM): Call
7527 _Jv_RegisterBootstrapPackages.
7528 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7529 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7530 (getPackages): Likewise.
7531 (definedPackages): New field.
7532 (definePackageForNative): New method.
7533 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7534 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7535 * defineclass.cc (handleClassBegin): Use
7536 ClassLoader.findLoadedClass.
7537 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7539 (struct _Jv_LoaderInfo): Removed.
7540 (initiated_classes): Likewise.
7541 (_Jv_UnregisterClass): Don't use initiated_classes.
7542 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7543 (_Jv_FindClass): Register classes found during boostrap.
7544 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7545 (bootstrap_class_list): New global.
7546 (bootstrap_index): Likewise.
7547 (_Jv_RegisterBootstrapPackages): New function.
7548 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7549 definePackageForNative.
7550 (findClass): Updated.
7551 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7554 2005-01-10 Tom Tromey <tromey@redhat.com>
7557 * include/jvm.h (_Jv_Linker::find_field): Declare.
7558 (_Jv_Linker::find_field_helper): Likewise.
7559 * link.cc (find_field_helper): New method.
7560 (find_field): Likewise.
7561 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7563 (link_symbol_table): Use find_field.
7565 2005-01-10 Michael Koch <konqueror@gmx.de>
7568 * java/util/Locale.java (Locale): Don't uppercase variant.
7569 (getISOCountries): Fixed typo in javadoc.
7571 2005-01-10 Michael Koch <konqueror@gmx.de>
7573 * java/util/SimpleTimeZone.java (checkRule):
7574 Throw IllegalArgumentException on invalid month values.
7575 * java/util/TimeZone.java (setID):
7576 Throw NullPointerException if needed.
7578 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7580 * java/util/SimpleTimeZone.java (getOffset):
7581 offset end date with daylight savings
7583 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7585 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7586 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7588 2005-01-09 Michael Koch <konqueror@gmx.de>
7591 * java/net/InetAddress.java (getLocalHost):
7592 Throw UnknownHostException if local hostname cannot be determined.
7594 2005-01-06 Tom Tromey <tromey@redhat.com>
7596 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7598 2005-01-07 Michael Koch <konqueror@gmx.de>
7601 * java/nio/Buffer.java (address): New field.
7602 * java/nio/DirectByteBufferImpl.java (address): Removed.
7603 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7604 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7605 Explicitly initialize Buffer.address if needed.
7606 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7607 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7608 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7609 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7610 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7611 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7612 DirectByteBufferImpl object.
7613 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7614 * testsuite/libjava.jni/directbuffer.c,
7615 testsuite/libjava.jni/directbuffer.java,
7616 testsuite/libjava.jni/directbuffer.out,
7617 testsuite/libjava.jni/bytebuffer.c,
7618 testsuite/libjava.jni/bytebuffer.java,
7619 testsuite/libjava.jni/bytebuffer.out: New files.
7621 2005-01-05 Tom Tromey <tromey@redhat.com>
7623 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7625 (compressedSize): Now 'long'. Default to -1.
7626 (getCompressedSize): Rewrote.
7627 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7628 deflate at all if we need input.
7630 2005-01-05 Tom Tromey <tromey@redhat.com>
7633 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7636 2005-01-05 Tom Tromey <tromey@redhat.com>
7638 * java/lang/natRuntime.cc (insertSystemProperties): Set
7639 java.ext.dirs earlier.
7641 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7643 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7644 sync_info element of the object if needed.
7646 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7648 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7649 a non-zero exit status from 'false'.
7651 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7653 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.