1 2005-06-03 Keith Seitz <keiths@redhat.com>
3 * gnu/classpath/jdwp/transport/ITransport.java: New file.
4 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
5 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
7 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
9 * jawt.c: Remove malloc.h, covered by stdlib.h.
11 * testsuite/libjava.jni/jni.exp
12 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
15 2005-06-02 Keith Seitz <keiths@redhat.com>
17 * gnu/classpath/jdwp/transport/TransportException.java: New file.
19 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
21 * mauve-libgcj: Remove implemented classes from the fail section.
22 Add two new not implemented to it.
24 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
26 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
27 AC_SUBST definition from configure.host.
28 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
29 to -fomit-frame-pointer on 32-bit x86 targets.
31 2005-06-01 Tom Tromey <tromey@redhat.com>
33 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
35 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
38 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
39 (static): Add possessive matching to JAVA_1_4 syntax.
40 * gnu/regexp/RETokenRepeated.java (possessive): New field.
41 (makePossessive, isPossessive): New methods.
42 (match): Don't back off during possessive matching.
43 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
44 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
47 2005-06-01 Keith Seitz <keiths@redhat.com>
49 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
50 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
51 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
53 2005-06-01 Tom Tromey <tromey@redhat.com>
56 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
57 (currentLoader): New method.
58 * java/io/ObjectInputStream.java (resolveProxyClass): Use
60 (currentLoader): Now native.
61 (currentClassLoader): Removed.
62 * testsuite/libjava.lang/pr21785.java: New file.
63 * testsuite/libjava.lang/pr21785.out: New file.
65 2005-06-01 Tom Tromey <tromey@redhat.com>
68 * java/lang/natString.cc (substring): Changed sharing heuristic.
70 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
73 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
74 MAXPATHLEN. Format exception message using a StringBuffer instead.
76 2005-05-29 Michael Koch <konqueror@gmx.de>
79 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
81 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
83 * ChangeLog: Fix typo.
85 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
87 Testsuite adjustments for PR java/19870.
88 * testsuite/libjava.lang/PR19870.java: New testcase.
89 * testsuite/libjava.lang/PR19870.out: Expected output for the
91 * testsuite/libjava.jacks/jacks.xfail: Add
92 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
95 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
97 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
98 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
99 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
101 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
102 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
103 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
104 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
106 2005-05-25 Richard Henderson <rth@redhat.com>
109 * sysdep/descriptor-n.h: New file.
110 * sysdep/descriptor-y.h: New file.
111 * sysdep/powerpc/descriptor.h: New file.
112 * configure.host: Set $descriptor_h appropriate for the host.
113 * configure.ac: Link it.
114 * configure: Regenerate.
115 * stacktrace.cc: Include sysdep/descriptor.h.
116 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
118 2005-05-25 Chris Burdess <dog@gnu.org>
120 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
121 end entity callbacks.
123 2005-05-24 Gary Benson <gbenson@redhat.com>
126 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
127 Handle DateFormat.DEFAULT case correctly.
129 2005-05-21 Tom Tromey <tromey@redhat.com>
132 * java/lang/ref/natReference.cc (find_slot): Handle case where
133 table has no NULL entries.
134 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
135 table has no NULL entries.
137 2005-05-22 Andreas Jaeger <aj@suse.de>
139 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
142 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
144 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
146 2005-05-19 Richard Henderson <rth@redhat.com>
148 * exception.cc: Revert 05-17 gcc_unreachable change.
150 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
152 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
153 _Jv_RegisterInitiatingLoader to register array classes, not
155 (_Jv_RegisterInitiatingLoader): Give up if called very early during
156 bootstrapping. Add a FIXME to handle this case better.
158 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
160 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
162 (libgcj_la_SOURCES): New. Move sources here.
163 (libgcj.la): Remove rule.
165 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
168 * gnu/java/security/provider/DSASignature.java: Import updates
171 2005-05-18 Anthony Green <green@redhat.com>
173 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
174 classpath_jawt_object_unlock, classpath_jawt_create_lock,
175 classpath_jawt_destroy_lock): New functions.
176 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
177 classpath_jawt_object_unlock, classpath_jawt_create_lock,
178 classpath_jawt_destroy_lock): New functions.
179 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
181 * jawt.c: #include malloc.h.
182 (_Jv_Lock): Use lock.
184 (_Jv_GetDrawingSurface): Initialize lock.
185 (_Jv_FreeDrawingSurface): Destroy lock.
186 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
188 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
190 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
191 * Makefile.in: Regenerate.
193 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
195 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
196 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
197 * aclocal.m4, configure, config.h.in, include/config.h.in,
198 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
199 external/Makefile.in, external/sax/Makefile.in,
200 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
202 2005-05-17 David Daney <ddaney@avtrex.com>
205 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
207 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
209 * exception.cc (abort): Remove std::abort hack.
210 (gcc_unreacheable): Define.
212 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
214 * Makefile.am (Makefile.deps): Do not create native.list and
216 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
217 * Makefile.in: Regenerate.
219 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
221 * configure.ac (--enable-libgcj-multifile): Remove.
223 * Makefile.am (all_native_compiled_source_files,
224 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
225 all_libgcj_lo_files, all_xlib_lo_files,
226 all_java_deps_files, all_java_stamp_files,
227 all_java_filelist_files): New variables.
228 (EXTRA_DIST): New Automake variable.
229 (CLEANFILES): Add .stamp, .list and .lo files.
230 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
231 (classes.stamp): Depend on $(all_java_stamp_files).
232 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
233 going through write_entries_to_file.
235 (all_java_source_files, all_property_files): Move earlier.
236 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
237 all_java_class_files): Remove.
238 (gtk_awt_peer_sources): Rename to...
239 (gtk_awt_peer_source_files): ... this. Adjust throughout.
242 (libgcj0_convenience_la_SOURCES): Remove Java source files.
243 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
244 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
245 (libgcj_la_SOURCES): Remove.
246 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
247 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
248 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
250 * configure: Regenerate.
251 * Makefile.in: Regenerate.
252 * external/Makefile.in: Regenerate.
253 * external/sax/Makefile.in: Regenerate.
254 * external/w3c_dom/Makefile.in: Regenerate.
255 * gcj/Makefile.in: Regenerate.
256 * include/Makefile.in: Regenerate.
257 * libltdl/Makefile.in: Regenerate.
258 * testsuite/Makefile.in: Regenerate.
260 2005-05-16 Tom Tromey <tromey@redhat.com>
262 * java/nio/charset/Charset.java (encode, decode): Synchronize on
263 'this', not the class.
265 2005-05-16 Tom Tromey <tromey@redhat.com>
267 * gnu/java/net/protocol/http/Headers.java (parse): Include final
270 2005-05-16 Tom Tromey <tromey@redhat.com>
273 * java/net/URI.java (unquote): Handle lower-case letters as well.
275 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
278 * gnu/regexp/RE.java: Add support for quoting constructs.
280 2005-05-15 Tom Tromey <tromey@redhat.com>
282 * java/lang/String.java (startsWith): Fixed javadoc.
284 2005-05-15 Tom Tromey <tromey@redhat.com>
287 * testsuite/libjava.compile/pr21519.java: New file.
288 * testsuite/libjava.compile/pr21519.no-link: New file.
290 2005-05-15 Tom Tromey <tromey@redhat.com>
292 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
294 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
297 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
298 interrupt status flag if _Jv_CondWait is interrupted.
300 2005-05-13 Tom Tromey <tromey@redhat.com>
302 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
305 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
307 * include/jvm.h (gcj::verifyClasses): Declare.
308 * link.cc (gcj::verbose_class_flag): Moved.
309 * prims.cc (gcj::verifyClasses): Define here.
310 (gcj::verbose_class_flag): Move definition here.
311 (_Jv_Linker::wait_for_state): Don't call verify_class
312 if gcj::verifyClasses is not set.
313 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
315 2005-05-12 Aaron Luchko <aluchko@redhat.com>
317 * gij.cc (main): Recognize '-verify', '-noverify', and
320 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
322 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
324 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
326 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
329 2005-05-11 Tom Tromey <tromey@redhat.com>
331 * external/w3c_dom/Makefile.in: Rebuilt.
332 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
334 * external/sax/Makefile.in: Rebuilt.
335 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
337 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
339 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
340 Call _Jv_CopyClassesToSystemLoader.
341 * java/lang/natClassLoader.cc (system_class_list): New global.
342 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
344 (_Jv_CopyClassesToSystemLoader): New function.
345 (SYSTEM_LOADER_INITIALIZED): New define.
346 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
347 (_Jv_CheckABIVersion): Use it.
348 (_Jv_ClassForBootstrapLoader): New function.
349 * Makefile.in: Rebuilt.
350 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
352 2005-05-10 Tom Tromey <tromey@redhat.com>
354 * gcj/javaprims.h: Updated.
355 * java/lang/String.java (String(StringBuilder)): New constructor.
356 * java/lang/natStringBuilder.cc: New file.
357 * java/lang/StringBuilder.java: New file.
358 * Makefile.in: Rebuilt.
359 * Makefile.am (core_java_source_files): Added StringBuilder.java.
360 (nat_source_files): Added natStringBuilder.cc.
362 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
365 * testsuite/libjava.jacks/jacks.xfail: Adjust.
367 2005-05-09 Mike Stump <mrs@apple.com>
369 * configure: Regenerate.
371 2005-05-09 David Daney <ddaney@avtrex.com>
373 * java/util/BitSet.java (get(int, int)): Fix breakage when
374 requested set doesn't start on a multiple of 64.
376 2005-05-07 Matthias Klose <doko@debian.org>
378 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
380 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
382 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
383 * Makefile.in: Regenerate.
384 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
385 (createCompatibleVolatileImage(int,int)): Implement.
386 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
388 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
390 (createVolatileImage): Implement.
391 (createBuffers): Likewise.
392 (getBackBuffer): Likewise.
394 (destroyBuffers): Likewise.
395 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
396 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
397 (CanvasFlipBufferStrategy): Likewise.
398 (createBufferStrategy(int)): New method.
399 (createBufferStrategy(int,BufferCapabilities)): Likewise.
400 * java/awt/Component.java (BltBufferStrategy): Implement and
402 (FlipBufferStrategy): Likewise.
403 * java/awt/Window.java (WindowBltBufferStrategy): New class.
404 (WindowFlipBufferStrategy): Likewise.
405 (createBufferStrategy(int)): New method.
406 (createBufferStrategy(int,BufferCapabilities)): Likewise.
407 (getBufferStrategy): Likewise.
408 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
409 front to frontCaps and back to backCaps.
411 2005-05-06 Michael Koch <konqueror@gmx.de>
413 * java/awt/BufferCapabilities.java
414 (BufferCapabilities): Merged javadoc.
416 2005-05-06 Michael Koch <konqueror@gmx.de>
418 * java/util/Locale.java
419 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
420 (getLocale): New methods. Use it everywhere where instances of Locales
422 (getDisplayLanguage): Merged javadoc.
423 (getDisplayCountry): Likewise.
424 (getDisplayVariant): Likewise.
426 2005-05-06 Archie Cobbs <archie@dellroad.org>
428 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
429 use DeleteLocalRef() to avoid exhausting local native references.
431 2005-05-06 Mark Wielaard <mark@klomp.org>
433 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
434 (window_delete_cb): Don't use C++ style comments.
436 2005-05-06 Robert Schuster <thebohemian@gmx.net>
438 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
441 2005-05-06 Robert Schuster <thebohemian@gmx.net>
443 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
444 (window_delete_cb): Made the function return TRUE.
446 2005-05-06 Roman Kennke <roman@kennke.org>
448 * javax/swing/text/PlainView.java
449 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
451 * javax/swing/text/Utilities.java
452 (drawTabbedText): Initilialize local variable pos correctly.
454 2005-05-06 Roman Kennke <roman@kennke.org>
456 * javax/swing/text/AbstractDocument.java
457 (LeafElement): Made start and end package private fields for
458 effective reindexing.
459 * javax/swing/text/PlainDocument.java
460 (constructor): The field rootElement is always BranchElement,
461 so we handle it as such.
462 (removeUpdate): Rewritten reindexing for removeUpdate so that
463 the actual removal is taken into account.
465 2005-05-06 Roman Kennke <roman@kennke.org>
467 * javax/swing/text/GapContent.java:
468 Removed debugging output stuff, which I accidentally left in.
470 2005-05-06 Roman Kennke <roman@kennke.org>
472 * javax/swing/text/GapContent.java:
473 Implemented a real GapContent. Only the public methods have
474 been implemented so far and still no UndoableEdit support.
476 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
478 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
481 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
483 * java/awt/image/BufferStrategy.java: Document.
485 * java/awt/BufferCapabilities.java: Document.
487 2005-05-04 Tom Tromey <tromey@redhat.com>
489 * java/nio/channels/FileLock.java (toString): Entirely avoid
492 2005-05-04 Andrew Overholt <overholt@redhat.com>
494 * java/nio/channels/FileLock.java (toString): Re-implement using
497 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
499 * java/awt/ImageCapabilities.java: Document.
501 * java/awt/image/VolatileImage.java: Unindent copyright header.
503 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
505 * java/awt/image/VolatileImage.java: Document.
507 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
510 (init_glib_threads): Check if threading system is already
513 2005-05-03 Andrew Overholt <overholt@redhat.com>
516 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
517 could not be acquired.
518 * java/nio/channels/FileLock.java (toString): Re-implement to be
519 in line with other implementations.
521 2005-05-03 Tom Tromey <tromey@redhat.com>
523 * java/lang/VMSecurityManager.java (currentClassLoader): Use
524 'systemClasssLoader' directly.
526 2005-05-03 Tom Tromey <tromey@redhat.com>
528 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
529 call VMClassLoader.getSystemClassLoader.
531 2005-04-29 Michael Koch <konqueror@gmx.de>
533 * java/net/NetworkInterface.java
535 (NetworkInterface(String,InetAddress)): Made package-private.
536 (NetworkInterface(String,InetAddress[])): New constructor.
537 (getRealNetworkInterfaces): Removed.
538 (getByName): Use VMNetworkInterface.getInterfaces().
539 (getByInetAddress): Likewise.
540 (getNetworkInterfaces): Likewise.
541 * java/net/VMNetworkInterface.java,
542 java/net/natVMNetworkInterfaceNoNet.cc,
543 java/net/natVMNetworkInterfacePosix.c,c
544 java/net/natVMNetworkInterfaceWin32.cc: New files.
545 * java/net/natNetworkInterfaceNoNet.cc,
546 java/net/natNetworkInterfacePosix.cc,
547 java/net/natNetworkInterfaceWin32.cc: Removed.
550 * configure, Makefile.in: Regenerated.
552 2005-04-29 Andrew Haley <aph@redhat.com>
554 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
556 2005-04-29 Dalibor Topic <robilad@kaffe.org>
558 * java/nio/channels/FileChannelImpl.java
559 (FileChannelImpl(String, int)): Removed.
560 (FileChannelImpl(File, int)): Added. Check if opened file is a
562 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
563 Call FileChannelImpl(File, int).
564 * java/io/FileOutputStream.java (FileInputStream): Call
565 FileChannelImpl(File, int).
566 * java/io/RandomAccessFile.java (RandomAccessFile):
567 Call FileChannelImpl(File, int). Switched constructors around.
569 2005-04-27 Andrew Haley <aph@redhat.com>
572 * prims.cc (_Jv_ResolvePoolEntry): New function.
573 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
574 * link.cc (_Jv_Linker::find_field): New arg: found_class.
575 (resolve_pool_entry): Initialize the class in which a field is
577 (link_symbol_table): Pass new arg to found_class.
579 2005-04-29 Michael Koch <konqueror@gmx.de>
581 * java/nio/charset/Charset.java
582 (provider): Reformatted.
584 2005-04-29 Michael Koch <konqueror@gmx.de>
586 * gnu/java/net/protocol/http/HTTPConnection.java:
587 (userAgent): Initialize from system properties.
588 (initUserAgent): Removed.
590 2005-04-29 Mark Wielaard <mark@klomp.org>
592 * java/util/ResourceBundle.java (getObject): Clarify
593 MissingResourceException detailed message.
594 (tryBundle(String,ClassLoader)): Likewise.
596 2005-04-29 Robert Schuster <thebohemian@gmx.net>
598 * java/beans/FeatureDescriptor.java:
599 (getShortDescription): Implemented fallback mechanism and fixed
600 documentation (fixes bug #12637).
601 (getDisplayName): Dito.
603 2005-04-29 Robert Schuster <thebohemian@gmx.net>
605 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
606 will now be set correctly.
607 (flushCaches): Now flushes all cached intermediate data.
609 2005-04-28 Michael Koch <konqueror@gmx.de>
611 * java/net/InetAddress.java
612 (aton): Fixed javadoc.
615 2005-04-28 Tom Tromey <tromey@redhat.com>
617 * javax/swing/Timer.java
618 (drainEvents, queueEvent): Now package-private.
620 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
622 * javax/swing/Timer.java
623 (constructor): Assigning initialDelay.
625 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
627 * javax/swing/Timer.java
628 (Waker.run): firing the first action event.
630 2005-04-28 Michael Koch <konqueror@gmx.de>
632 * javax/swing/Timer.java: Reordered all fields and methods,
635 2005-04-28 Michael Koch <konqueror@gmx.de>
637 * javax/swing/Timer.java: Javadocs merged
640 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
642 * gnu/java/net/protocol/file/Connection.java
643 (StaticData): New inner class to contain statics.
644 (connect, getHeaderField): Modified to use StaticData.
646 2005-04-28 Michael Koch <konqueror@gmx.de>
648 * gnu/java/net/protocol/file/Connection.java
649 (lineSeparator): Initialize with SystemProperties.getProperty().
651 2005-04-27 Chris Burdess <dog@gnu.org>
653 * gnu/java/net/protocol/file/Connection.java: Return correct content
654 length for directory listing.
655 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
656 #11285: return valid URLs for directories.i
658 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
660 * Makefile.am (ordinary_java_source_files): Add
661 gnu/java/net/protocol/https/Handler.java.
662 * Makefile.in: Regenerate.
663 * java/net/URL.java: Remove org.metastatic.jessie from default
664 protocol search path.
666 2005-04-27 Chris Burdess <dog@gnu.org>
668 * gnu/java/net/protocol/https/Handler.java: New file.
670 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
672 * javax/imageio/spi/IIORegistry.java (IIORegistry):
673 Don't assume that awt Toolkit is always ClasspathToolkit.
675 2005-04-27 Chris Burdess <dog@gnu.org>
677 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
678 absolute and relative paths in Location header.
680 2005-04-27 Chris Burdess <dog@gnu.org>
682 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
683 FileNotFoundException and implement getErrorStream on 404.
685 2005-04-27 Sven de Marothy <sven@physto.se>
687 * java/util/TimeZone.java,
688 (getDefaultDisplayName): Fix previous fix.
690 2005-04-27 Sven de Marothy <sven@physto.se>
692 * java/util/TimeZone.java,
693 (getDefaultDisplayName): Don't print zero offsets.
695 2005-04-27 Roman Kennke <roman@kennke.org>
697 * javax/swing/plaf/basic/BasicScrollBarUI
698 (getThumbBounds): Do not make thumb smaller than
700 * javax/swing/plaf/metal/MetalLookAndFeel
701 (initComponentDefaults): Added color defaults for ScrollBar.
702 * javax/swing/plaf/metal/MetalScrollBarUI
704 (getMinimumThumbSize): Added.
706 2005-04-27 Roman Kennke <roman@kennke.org>
708 * javax/swing/plaf/metal/MetalLookAndFeel
709 (initComponentDefaults): Added some default colors.
711 2005-04-27 Roman Kennke <roman@kennke.org>
713 * javax/swing/plaf/basic/BasicScrollBarUI.java
714 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
715 to 'ScrollBar.thumbShadow'. The formes does not exist.
716 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
718 2005-04-27 Roman Kennke <roman@kennke.org>
720 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
721 * javax/swing/BoxLayout.java: Likewise.
722 * javax/swing/UIManager.java: Likewise.
723 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
724 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
725 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
726 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
727 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
728 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
729 * javax/swing/text/Document.java: Likewise.
730 * javax/swing/text/GapContent.java: Likewise.
731 * javax/swing/text/SimpleAttributeSet.java: Likewise.
732 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
734 2005-04-27 Roman Kennke <roman@kennke.org>
736 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
737 (getPropertyPrefix): Added.
739 2005-04-27 Roman Kennke <roman@kennke.org>
741 * javax/swing/plaf/basic/BasicButtonUI.java
742 (getPropertyPrefix): Added.
743 (installDefaults): Use getPropertyPrefix instead of hard-coded
746 2005-04-27 Roman Kennke <roman@kennke.org>
748 * javax/swing/JToggleButton.java
749 (JToggleButton): Removed horizontalAlignment setting, this
750 was wrong. Added setting of an actionCommand, ToggleButtons
751 have "" as default actionCommand.
753 2005-04-27 Michael Koch <konqueror@gmx.de>
755 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
756 to work around CNI limitation.
758 2005-04-27 Sven de Marothy <sven@physto.se>
760 * java/nio/charset/Charset.java:
761 (defaultCharset()): New method.
762 Status updated to 1.5
764 2005-04-27 Sven de Marothy <sven@physto.se>
766 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
768 2005-04-27 Sven de Marothy <sven@physto.se>
770 * java/nio/charset/Charset.java: Reset cached de/encoders.
772 2005-04-27 Robert Schuster <thebohemian@gmx.net>
774 * java/nio/charset/Charset.java (forName): Throws
775 IllegalArgumentException when argument is null
776 and added documentation.
778 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
780 * java/nio/charset/Charset.java (providers):
781 New method to make an array of CharsetProviders defined in
782 META-INF/services/java.nio.charset.spi.CharsetProvider.
783 (charsetForName, availableCharsets): Use the
784 new method providers().
786 2005-04-26 Michael Koch <konqueror@gmx.de>
788 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
789 Fixed typos in javadocs.
790 (isSiteLocalAddress): Fixed handling of byte values.
791 (isMCLinkLocal): Likewise.
792 * java/net/Inet4Address.java
793 (isMulticastAddress): Call super method.
794 (isLoopbackAddress): Likewise.
795 (isAnyLocalAddress): Likewise.
796 (isLinkLocalAddress): Likewise.
797 (isSiteLocalAddress): Likewise.
798 (isMCGlobal): Likewise.
799 (isMCNodeLocal): Likewise.
800 (isMCLinkLocal): Likewise.
801 (isMCSiteLocal): Likewise.
802 (isMCOrgLocal): Likewise.
803 (getHostAddress): Likewise.
805 2005-04-26 Sven de Marothy <sven@physto.se>
807 * java/net/InetAddress.java
808 (toString): Don't print empty hostnames.
810 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
813 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
814 'false' to native lock().
815 (lock): Pass 'true' to native lock().
817 2005-04-26 Michael Koch <konqueror@gmx.de>
819 * java/net/InetAddress.java:
820 Fixed typos in javadocs.
822 2005-04-26 Andrew Haley <aph@redhat.com>
825 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
828 2005-04-26 Tom Tromey <tromey@redhat.com>
830 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
831 gnu): Now package-private.
832 * javax/swing/text/html/parser/DocumentParser.java (parser,
833 callBack, gnu): Now package-private.
834 * javax/swing/text/StringContent.java (content, setOffset,
835 checkLocation): Now package-private.
836 * javax/swing/text/JTextComponent.java (doc): Now
838 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
839 lastGoodOrientation, origParent, borders, cachedBounds,
840 cachedOrientation, DragWindow): Now package-private.
841 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
842 decrButton, viewport, panel, currentScrollLocation, layoutManager,
843 tabAreaRect, contentRect, createIncreaseButton,
844 createDecreaseButton, findPointForIndex): Now package-private.
845 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
846 (currentDividerLocation, moveDividerTo): Now package-private.
847 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
849 * javax/swing/plaf/basic/BasicScrollBarUI.java
850 (calculatePreferredSize, valueForYPosition, valueForXPosition):
852 * javax/swing/plaf/basic/BasicPopupMenuUI.java
853 (topWindowListener): Now package-private.
854 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
855 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
856 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
858 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
860 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
862 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
864 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
865 borderInsets): Now package-private.
866 (arrowButtonWidth): Likewise. Now a constant.
867 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
868 makeTabs, updatePreviewPanel): Now package-private.
869 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
870 darkShadow, highlight): Now package-private.
871 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
872 (addColorToQueue): Now package-private.
873 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
874 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
875 GSpinner, BSpinner): Now package-private.
876 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
877 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
878 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
879 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
880 updateTrack): Now package-private.
881 * javax/swing/TransferHandler.java (clipboard): Now
883 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
885 * javax/swing/Timer.java (drainEvents, queueEvent): Now
887 * javax/swing/RepaintManager.java (globalManager): Now
889 * javax/swing/JFormattedTextField.java (editValid): Now
891 * javax/swing/JColorChooser.java (makeModal): Now
893 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
894 index, path): Now package-private.
895 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
896 lineQuadIntersect, lineCubicIntersect, linesIntersect,
897 pointEquals): Now package-private.
898 * java/awt/geom/Arc2D.java (type): Now package-private.
899 * java/awt/Window.java (windowFocusOwner): Now package-private.
900 * java/awt/TextComponent.java (editable, selectionStart,
901 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
903 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
905 * java/awt/MenuComponent.java (focusListener): Now
907 * java/awt/Frame.java (state): Now package-private.
908 * java/awt/Choice.java (pItems): Now package-private.
909 * java/awt/Checkbox.java (state): Now package-private.
910 * java/awt/Button.java (actionCommand, label): Now
912 * gnu/javax/swing/text/html/parser/support/Parser.java
913 (attributes, _handleEndTag_remaining, _handleStartTag): Now
915 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
917 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
918 clip, transform, font, comp): Now package-private.
920 2005-04-26 Tom Tromey <tromey@redhat.com>
922 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
925 2005-04-26 Mark Wielaard <mark@klomp.org>
927 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
928 to MalformedURLException.
930 2005-04-26 Michael Koch <konqueror@gmx.de>
932 * java/security/AccessControlContext.java:
934 (protectedDomains): Renamed from 'protectionDomain'.
935 * java/security/AccessController.java:
938 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
940 * gnu/java/security/action/GetSecurityPropertyAction.java
941 (GetSecurityPropertyAction): Implement PrivilegedAction instead
942 of extending GetPropertyAction.
945 (setParamters): New methods.
946 (GetSecurityPropertyAction): Use new setParameters methods.
948 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
950 * java/security/Security.java,
951 java/security/cert/X509CRLSelector.java,
952 java/security/cert/X509CertSelector.java:
953 Modified to use SystemProperties.
955 2005-04-26 Michael Koch <konqueror@gmx.de>
957 * java/lang/System.java
958 (setSecurityManager): Fixed comment.
959 (getSecurityManager): Removed obsolete comment.
961 2005-04-25 Tom Tromey <tromey@redhat.com>
963 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
965 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
967 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
968 (connectSignals): Realize the window widget after connecting
971 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
973 * java/awt/GraphicsEnvironment.java
974 (localGraphicsEnvironment): New field.
975 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
977 (isHeadless): Added support for java.awt.headless property.
978 (isHeadlessInstance): Call headless().
980 2005-04-25 Roman Kennke <roman@kennke.org>
982 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
983 (getDisplayMode): Added. Returns the current display mode.
984 (isFullScreenSupported): Added.
985 * java/awt/GraphicsDevice.java
986 (setFullScreenWindow): Implemented a primitive fullscreen mode.
987 This resizes and relocates the fullscreen window so that it uses
988 the whole screen. This is not a fully accelerated fullscreen
991 2005-04-25 Michael Koch <konqueror@gmx.de>
993 * java/lang/Runtime.java,
994 java/lang/SecurityManager.java,
995 java/lang/System.java,
996 java/lang/ThreadGroup.java:
997 Replaced java.lang.Runtime.securityManager by
998 java.lang.SecurityManager.current (as used in GNU classpath).
1000 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1002 * java/awt/Transparency.java
1003 (getTransparency): fixed API docs.
1005 2005-04-25 Archie Cobbs <archie@dellroad.org>
1007 * java/lang/Throwable.java: simplify initializing cause in constructor
1009 2005-04-25 Michael Koch <konqueror@gmx.de>
1011 * gnu/classpath/SystemProperties.java: New file.
1012 * gnu/classpath/natSystemProperties.cc: New file.
1013 * java/lang/Runtime.java
1014 (defaultProperties): Removed.
1016 (): Made thrown exceptions more verbose.
1017 (insertSystemProperties): Removed.
1018 * java/lang/System.java
1020 (properties): Likewise.
1021 (setSecurityManager): Reordered modifiers.
1022 (getenv): Improved javadoc.
1024 (isWordsBigEndian): Removed.
1025 * java/lang/natRuntime.cc
1026 (_Jv_SetDLLSearchPath): Likewise.
1027 (file_encoding): Likewise.
1028 (default_file_encoding): Likewise.
1029 (getpwuid_adaptor): Likewise.
1030 (insertSystemProperties): Likewise.
1031 * java/lang/natSystem.cc
1032 (isWordsBigEndian): Likewise.
1034 (ordinary_java_source_files):
1035 Added gnu/classpath/SystemProperties.java.
1036 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1037 * Makefile.in: Regenerated.
1039 2005-04-25 Roman Kennke <roman@kennke.org>
1041 * javax/swing/plaf/basic/BasicScrollBarUI.java
1042 (initDefaults): Initialize thumb*Color fields correctly.
1044 2005-04-25 Roman Kennke <roman@kennke.org>
1046 * javax/swing/text/GapContent.java:
1049 2005-04-25 Roman Kennke <roman@kennke.org>
1051 * javax/swing/plaf/metal/MetalBorders.java:
1052 Added inner class ScrollPaneBorder.
1053 * javax/swing/plaf/metal/MetalLookAndFeel.java
1054 (initComponentDefaults): Added default for "ScrollPane.border"
1055 to use the new ScrollPaneBorder.
1057 2005-04-25 Roman Kennke <roman@kennke.org>
1059 * javax/swing/text/AbstractDocument.java:
1060 Added FIXME comments. This class still has to be
1061 implemented thread-safe.
1063 2005-04-25 Roman Kennke <roman@kennke.org>
1065 * javax/swing/tree/DefaultTreeSelectionModel.java
1066 (DefaultTreeSelectionModel): Initialize listenerList here.
1068 2005-04-25 Roman Kennke <roman@kennke.org>
1070 * javax/swing/plaf/metal/MetalTextFieldUI.java
1071 (createUI): Return one instance per Component instead of a
1074 2005-04-25 Roman Kennke <roman@kennke.org>
1076 * javax/swing/text/Document.java:
1077 Added API documentation comments.
1079 2005-04-25 Roman Kennke <roman@kennke.org>
1081 * javax/swing/text/AbstractDocument.java
1082 (getDocumentProperties): Implemented.
1083 (setDocumentProperties): Implemented.
1084 (getProperty): Implemented.
1085 (putProperty): Implemented.
1087 2005-04-25 Roman Kennke <roman@kennke.org>
1089 * javax/swing/BoxLayout
1090 (preferredLayoutSize): Fixed computation so that it correctly
1091 adds the top and bottom insets of the container.
1093 2005-04-25 Roman Kennke <roman@kennke.org>
1095 * javax/swing/plaf/basic/BasicMenuItemUI.java
1096 (paintText): Make use of the 'selectionForeground' UI default
1099 2005-04-25 Roman Kennke <roman@kennke.org>
1101 * javax/swing/plaf/basic/BasicLookAndFeel.java
1102 (initSystemColorDefaults): Modified colors to match the
1103 BasicLookAndFeel in the reference implementation.
1104 (initComponentDefaults): Likewise.
1106 2005-04-25 Tom Tromey <tromey@redhat.com>
1108 * include/jni.h (_Jv_va_list): Removed.
1109 Moved configuration code...
1110 * include/jni_md.h: ... here. New file.
1111 * include/Makefile.in: Rebuilt.
1112 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1114 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1116 * java/io/FileInputStream.java (FileInputStream(File)),
1117 java/io/FileOutputStream.java (FileOutputStream(File)):
1118 Removed unnecessary File.isDirectory() check.
1120 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1122 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1123 gij if get_multilibs fails.
1125 2005-04-22 Anthony Green <green@redhat.com>
1127 * jni.cc (natrehash): Don't bother clearing memory again.
1128 * interpret.cc (do_allocate_static_fields): Ditto.
1129 * java/lang/natString.cc (rehash): Ditto.
1131 2005-04-22 Roman Kennke <roman@kennke.org>
1133 * javax/swing/plaf/basic/BasicLookAndFeel.java
1134 (initComponentDefaults): Changed Button.border to be
1135 BasicBorders.getButtonBorder as it should be.
1137 2005-04-22 Roman Kennke <roman@kennke.org>
1139 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1140 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1141 should according to a mauve testcase, instead of the preferred
1144 2005-04-22 Roman Kennke <roman@kennke.org>
1146 * javax/swing/JMenu.java
1147 (add): add(Component) now calls PopupMenu.insert(..) instead of
1148 PopupMenu.add(..). add(..) is not implemented for Component,
1149 so JComponent.add(..) is called instead, adding the component
1152 2005-04-22 Roman Kennke <roman@kennke.org>
1154 * javax/swing/plaf/basic/BasicButtonListener.java
1155 (mousePressed): replaced query to getModifiersEx with getModifiers.
1156 This method relied on faulty behaviour in getModifierEx.
1157 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1158 This method relied on faulty behaviour in getModifierEx.
1160 2005-04-22 Roman Kennke <roman@kennke.org>
1162 * javax/swing/plaf/metal/MetalLookAndFeel.java
1163 (getDefaults): Call addCustomEntriesToTable on the theme.
1165 2005-04-22 Roman Kennke <roman@kennke.org>
1167 * javax/swing/tree/DefaultTreeSelectionModel.java
1168 (constructor): Added implementation.
1169 (getRowMapper): Added implementation.
1170 (setSelectionMode): Added implementation.
1171 (getSelectionMode): Added implementation.
1172 (getSelectionPath): Added implementation.
1173 (getSelectionPaths): Added implementation.
1174 (getSelectionCount): Added implementation.
1175 (isSelectionEmpty): Added implementation.
1176 (getSelectionRows): Added implementation.
1177 (getMinSelectionRow): Added implementation.
1178 (getMaxSelectionRow): Added implementation.
1179 (getLeadSelectionRow): Added implementation.
1180 (getLeadSelectionPath): Added implementation.
1182 2005-04-22 Casey Marshall <csm@gnu.org>
1184 * gnu/java/security/der/DERValue.java
1185 (getValueAs): new method.
1186 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1187 (<init>): read both dates with 'DERValue.getValueAs', with
1188 'GENERALIZED_TIME' as the argument.
1190 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1192 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1193 be null, check for that case and don't deference it.
1195 2005-04-22 Sven de Marothy <sven@physto.se>
1197 * java/util/logging/LogManager.java: Reformatted.
1198 (readConfiguration): If a logger for a key is not found, create one.
1200 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1202 * java/rmi/Naming.java:
1203 Added class documentation.
1204 (lookup(String)): Call parseURL and getName.
1205 (bind(String,java.rmi.Remote)): Likewise.
1206 (unbind(String)): Likewise.
1207 (rebind(String, java.rmi.Remote)): Likewise.
1208 (list(String)): Call parseURL.
1209 (parseURL(String)): New method to handle parsing and defaults.
1210 (getName(java.net.URL)): New method to handle finding the service name.
1212 2005-04-21 Tom Tromey <tromey@redhat.com>
1214 * java/lang/natClass.cc (initializeClass): Link class.
1216 2005-04-21 Tom Tromey <tromey@redhat.com>
1218 * java/lang/AssertionError.java: Typo fix.
1220 2005-04-21 Tom Tromey <tromey@redhat.com>
1222 * java/lang/VMClassLoader.java (transformException): Removed.
1223 (resolveClass): No longer native. Now does nothing.
1224 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1226 2005-04-21 Anthony Green <green@redhat.com>
1229 * testsuite/libjava.special/special.exp,
1230 testsuite/libjava.special/pr21115I.java,
1231 testsuite/libjava.special/pr21115.java,
1232 testsuite/libjava.special/pr21115.out: New files.
1234 2005-04-21 Chris Burdess <dog@gnu.org>
1236 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1237 CRLF-delimited chunks.
1239 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1241 * java/net/URI.java:
1242 Added class documentation.
1243 (parseURI(String)): Only handle scheme-specific parts
1244 if URI is not opaque. Allow for parts that can't be null.
1245 (toString()): Output the scheme-specific part whole, rather
1246 than as its possibly non-existent components.
1248 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1250 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1251 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1252 Adjusted to match new regexp.
1254 2005-04-20 Michael Koch <konqueror@gmx.de>
1256 * gnu/java/net/protocol/file/Connection.java,
1257 gnu/java/net/protocol/jar/Connection.java:
1258 Reorganized import statements. Fixed @author tags.
1260 2005-04-20 Chris Burdess <dog@gnu.org>
1262 * java/io/DataOutputStream.java (writeUTF): Use block write for
1265 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1267 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1268 (readLine): Changed newline handling.
1270 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1272 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1273 ColorModel,byte[],int,int): Fixed byte to int conversion.
1275 2005-04-20 Michael Koch <konqueror@gmx.de>
1277 * java/io/FilePermission.java
1278 (serialVersionUID): Made private.
1279 (ALL_FILES): New constant.
1280 (implies): Handle '<<ALL FILES>>' case.
1282 2005-04-20 Sven de Marothy <sven@physto.se>
1284 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1285 (drawImage): Don't notify the image observer for offscreen images.
1286 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1287 (setPixels): Don't notify the image observer.
1289 2005-04-20 Sven de Marothy <sven@physto.se>
1291 * java/nio/ByteBufferImpl.java:
1292 (putChar): Inlined for speed.
1293 (put, get): Bulk methods can use arraycopy.
1294 * java/nio/CharBufferImpl.java:
1295 (put, get): Bulk methods can use arraycopy.
1297 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1299 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1301 * java/nio/CharBufferImpl.java
1302 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1303 (get(), put(char)): Inlined checks and field updates. Fixed to
1304 take array_offset into account.
1305 (get(int), put(int, char)): Fixed to take array_offset into account.
1307 2005-04-20 Sven de Marothy <sven@physto.se>
1309 * java/text/SimpleDateFormat.java:
1310 (formatWithAttribute): Pad year before truncating digits.
1312 2005-04-20 Michael Koch <konqueror@gmx.de>
1314 * gnu/java/net/PlainDatagramSocketImpl.java:
1315 Merged copyright header.
1316 * gnu/java/net/PlainSocketImpl.java:
1317 Reorganized import statements. Fixed @author tags.
1319 2005-04-20 Michael Koch <konqueror@gmx.de>
1321 * gnu/java/lang/ClassHelper.java,
1322 gnu/java/lang/reflect/TypeSignature.java:
1325 2005-04-20 Michael Koch <konqueror@gmx.de>
1327 * gnu/java/beans/IntrospectionIncubator.java:
1328 Fixed HTML tags in javadocs.
1330 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1332 * gnu/java/beans/IntrospectionIncubator.java
1333 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1334 set(), is(), add() and remove() with properties or events.
1336 2005-04-20 Michael Koch <konqueror@gmx.de>
1338 * gnu/java/awt/image/XBMDecoder.java:
1339 Fixed modifier order.
1341 2005-04-20 Roman Kennke <roman@kennke.org>
1343 * javax/swing/plaf/basic/BasicButtonUI.java
1344 (paint): This should not care about margin and insets
1345 at the same time, as insets already include the margin
1347 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1348 (getPreferredButtonSize): Likewise.
1349 * javax/swing/plaf/metal/MetalBorders.java
1350 (getBorderInsets): Likewise.
1352 2005-04-20 Roman Kennke <roman@kennke.org>
1354 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1355 (createMessageArea): The JPanel that holds the message area
1356 doesn't need to override getPreferredSize. This prevents some
1357 message components from rendering nicely.
1359 2005-04-20 Roman Kennke <roman@kennke.org>
1361 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1362 (createUI): Do not share instances between components.
1363 * javax/swing/plaf/metal/MetalSliderUI.java
1364 (createUI): Do not share instances between components.
1366 2005-04-20 Roman Kennke <roman@kennke.org>
1368 * javax/swing/plaf/metal/MetalBorders:
1369 (PopupMenuBorder): Added.
1370 * javax/swing/plaf/metal/MetalLookAndFeel
1371 (initComponentDefaults): Added PopupMenuBorder.
1373 2005-04-20 Roman Kennke <roman@kennke.org>
1375 * javax/swing/tree/DefaultTreeSelectionModel.java:
1376 Added API documentation all over the class.
1378 2005-04-20 Roman Kennke <roman@kennke.org>
1380 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1381 (installDefaults): Link managed JScrollPane in instance field.
1382 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1384 2005-04-20 Roman Kennke <roman@kennke.org>
1386 * javax/swing/plaf/basic/BasicScrollBarUI.java
1387 (PropertyChangeHandler.propertyChange): Add default
1388 to switch statement to avoid errors with unusual values
1390 (installComponents): Likewise.
1392 2005-04-20 Roman Kennke <roman@kennke.org>
1394 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1395 (createUI): Instances cannot be shared among JScrollPanes.
1397 2005-04-20 Roman Kennke <roman@kennke.org>
1399 * javax/swing/plaf/metal/MetalLookAndFeel.java
1400 (initComponentDefaults): Added defaults for Menu, MenuBar
1403 2005-04-20 Roman Kennke <roman@kennke.org>
1405 * javax/swing/plaf/basic/BasicScrollBarUI.java
1406 (installUI): Install listeners after everything all, otherwise
1407 we get strange NPEs in some situations, especially with
1409 (createIncreaseButton): Orientation is expected to be
1410 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1411 HORIZONTAL or VERTICAL.
1412 (createDecreaseButton): Orientation is expected to be
1413 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1414 HORIZONTAL or VERTICAL.
1415 (installComponents): Orientation for buttons is expected to be
1416 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1417 HORIZONTAL or VERTICAL.
1419 2005-04-20 Roman Kennke <roman@kennke.org>
1421 * javax/swing/JToolBar.java
1422 (addImpl): Adjust added AbstractButtons to look and feel like
1424 * javax/swing/plaf/metal/MetalBorders.java:
1425 Adjusted insets of ButtonBorder.
1426 (RolloverMarginBorder): Added class for toolbar buttons.
1427 (getButtonBorder): Adjusted factory method to return a shared
1428 instance of button border.
1429 (getToolbarButtonBorder): Added factory method to return a shared
1430 instance of toolbar button border.
1431 (getMarginBorder): Added factory method to return a shared
1432 instance of margin border.
1433 * javax/swing/plaf/metal/MetalButtonUI.java
1434 (installDefauls): If button is child of a JToolBar then set
1435 special border on this button.
1437 2005-04-20 Michael Koch <konqueror@gmx.de>
1439 * java/net/URLConnection.java
1440 (getContent): Fixed javadoc comment.
1442 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1444 * java/net/URL.java:
1445 (toURI()): Implemented.
1447 2005-04-19 Michael Koch <konqueror@gmx.de>
1449 * java/net/InetAddress.java
1450 (InetAddress): Fixed javadoc comment.
1452 (lookup): Added javadoc.
1453 (getFamily): Likewise.
1454 * java/net/ServerSocket.java
1455 (getChannel): Improved javadoc comment.
1457 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1459 * gnu/xml/dom/html2/DomHTMLParser.java:
1460 Changed 'enum' references to become 'enumeration'.
1462 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1464 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1466 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1468 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1469 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1470 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1471 (validateParameters(TagElement,htmlAttributeSet)):
1472 Replaced 'enum' with 'enumeration'.
1473 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1476 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1478 * javax/swing/text/html/parser/Entity.java (getType): New method.
1479 * javax/swing/text/html/parser/DocumentParser.java:
1480 Inherit from javax.swing.text.html.parser.Parser.
1482 2005-04-19 Chris Burdess <dog@gnu.org>
1484 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1485 check for HTML/XHTML namespace.
1487 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1489 * javax/swing/text/html/parser/Parser.java,
1490 javax/swing/text/html/parser/Entity.java:
1491 Inheriting from DTDConstants.
1492 * javax/swing/text/html/parser/AttributeList.java
1493 (getValues): Changed return type.
1494 * javax/swing/text/html/parser/DocumentParser
1495 (parse): Adding the callback parameter that receives
1498 2005-04-19 Chris Burdess <dog@gnu.org>
1500 * gnu/xml/dom/DomImpl.java,
1501 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1502 gnu/xml/dom/html2/DomHTMLDocument.java,
1503 gnu/xml/dom/html2/DomHTMLElement.java,
1504 gnu/xml/dom/html2/DomHTMLFormElement.java,
1505 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1506 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1507 gnu/xml/dom/html2/DomHTMLImpl.java,
1508 gnu/xml/dom/html2/DomHTMLInputElement.java,
1509 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1510 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1511 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1512 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1513 gnu/xml/dom/html2/DomHTMLTableElement.java,
1514 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1515 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1516 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1517 UI events, and tree utility functions.
1519 2005-04-19 Michael Koch <konqueror@gmx.de>
1521 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1522 gnu/javax/swing/text/html/parser/gnuDTD.java,
1523 gnu/javax/swing/text/html/parser/models/node.java:
1524 Reworked import statements.
1526 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1528 * javax/swing/text/html/HTMLDocument.java: New file.
1530 2005-04-19 Michael Koch <konqueror@gmx.de>
1532 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1534 * javax/swing/text/html/parser/AttributeList.java:
1535 Fixed order of modifiers.
1536 (AttributeList): Made final.
1537 * javax/swing/text/html/parser/ContentModel.java:
1538 Fixed html characters in javadocs.
1539 * javax/swing/text/html/parser/DTD.java
1540 (DTD): Don't implement java.io.Serializable directly.
1541 (getElement): Simplified.
1542 * javax/swing/text/html/parser/DTDConstants.java:
1544 * javax/swing/text/html/parser/Element.java:
1545 Fixed order of modifiers.
1546 * javax/swing/text/html/parser/Parser.java:
1547 Reformatted. Don't use fully-qualified class names.
1548 * javax/swing/text/html/parser/ParserDelegator.java:
1549 Fixed order of modifiers.
1550 * javax/swing/text/rtf/RTFParser.java:
1551 Re-ordered import statements.
1552 * javax/swing/text/rtf/RTFScanner.java:
1553 Removed unused import statement.
1555 2005-04-19 Chris Burdess <dog@gnu.org>
1557 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1558 gnu/xml/dom/html2/DomHTMLCollection.java,
1559 gnu/xml/dom/html2/DomHTMLDocument.java,
1560 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1562 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1563 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1564 gnu/xml/dom/html2/DomHTMLDivElement.java,
1565 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1566 gnu/xml/dom/html2/DomHTMLFontElement.java,
1567 gnu/xml/dom/html2/DomHTMLFormElement.java,
1568 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1569 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1570 gnu/xml/dom/html2/DomHTMLHRElement.java,
1571 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1572 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1573 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1574 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1575 gnu/xml/dom/html2/DomHTMLImageElement.java,
1576 gnu/xml/dom/html2/DomHTMLInputElement.java,
1577 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1578 gnu/xml/dom/html2/DomHTMLLIElement.java,
1579 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1580 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1581 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1582 gnu/xml/dom/html2/DomHTMLMapElement.java,
1583 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1584 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1585 gnu/xml/dom/html2/DomHTMLModElement.java,
1586 gnu/xml/dom/html2/DomHTMLOListElement.java,
1587 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1588 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1589 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1590 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1591 gnu/xml/dom/html2/DomHTMLParamElement.java,
1592 gnu/xml/dom/html2/DomHTMLPreElement.java,
1593 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1594 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1595 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1596 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1597 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1598 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1599 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1600 gnu/xml/dom/html2/DomHTMLTableElement.java,
1601 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1602 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1603 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1604 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1605 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1607 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1609 * javax/swing/text/ChangedCharSetException.java,
1610 javax/swing/text/html/HTMLEditorKit.java,
1611 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1612 javax/swing/text/html/parser/AttributeList.java,
1613 javax/swing/text/html/parser/ContentModel.java,
1614 javax/swing/text/html/parser/DocumentParser.java,
1615 javax/swing/text/html/parser/DTD.java,
1616 javax/swing/text/html/parser/DTDConstants.java,
1617 javax/swing/text/html/parser/Element.java,
1618 javax/swing/text/html/parser/Entity.java,
1619 javax/swing/text/html/parser/Parser.java,
1620 javax/swing/text/html/parser/TagElement.java,
1621 gnu/javax/swing/text/html/package.html,
1622 gnu/javax/swing/text/html/parser/gnuDTD.java,
1623 gnu/javax/swing/text/html/parser/HTML_401F.java,
1624 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1625 gnu/javax/swing/text/html/parser/htmlValidator.java,
1626 gnu/javax/swing/text/html/parser/package.html,
1627 gnu/javax/swing/text/html/parser/models/list.java,
1628 gnu/javax/swing/text/html/parser/models/node.java,
1629 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1630 gnu/javax/swing/text/html/parser/models/package.html,
1631 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1632 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1633 gnu/javax/swing/text/html/parser/models/transformer.java,
1634 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1635 gnu/javax/swing/text/html/parser/support/package.html,
1636 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1637 gnu/javax/swing/text/html/parser/support/Parser.java,
1638 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1639 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1640 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1641 gnu/javax/swing/text/html/parser/support/low/Location.java,
1642 gnu/javax/swing/text/html/parser/support/low/node.java,
1643 gnu/javax/swing/text/html/parser/support/low/package.html,
1644 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1645 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1646 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1647 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1649 * javax/swing/text/html/HTML.java,
1650 javax/swing/text/html/parser/ParserDelegator.java:
1651 New files (replacing).
1652 * javax/swing/text/html/package.html,
1653 javax/swing/text/html/parser/package.html: Documenting the
1656 2005-04-19 Chris Burdess <dog@gnu.org>
1658 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1659 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1660 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1661 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1662 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1663 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1664 gnu/xml/dom/html2/DomHTMLBRElement.java,
1665 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1666 gnu/xml/dom/html2/DomHTMLCollection.java,
1667 gnu/xml/dom/html2/DomHTMLDocument.java,
1668 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1670 2005-04-19 Michael Koch <konqueror@gmx.de>
1672 * Makefile.am: Added new files.
1673 * Makefile.in: Regenerated.
1675 2005-04-19 Roman Kennke <roman@kennke.org>
1677 * javax/swing/text/JTextComponent.java
1678 (JTextComponent): Added repaintListener which issues repaint
1679 requests when the underlying document changes.
1680 (setDocument): Adds repaintListener to document when the
1681 document is changed.
1682 * javax/swing/text/DefaultEditorKit.java:
1683 Removed repaint calls on JTextComponent. This is now handled
1684 through a DocumentListener in JTextComponent that repaints
1685 the component when needed.
1687 2005-04-19 Roman Kennke <roman@kennke.org>
1690 * javax/swing/text/StyleContext.java
1691 (NamedStyle.setResolveParent): Added null
1694 2005-04-19 Michael Koch <konqueror@gmx.de>
1696 * java/rmi/server/RemoteObject.java:
1697 Removed unused import statement.
1699 2005-04-19 Michael Koch <konqueror@gmx.de>
1701 * java/net/URL.java: Formatting cleanups.
1703 2005-04-19 Michael Koch <konqueror@gmx.de>
1705 * java/awt/FontMetrics.java: Reformatted.
1706 (getFontRenderContext): Handle case when java.awt.Graphics context is
1709 2005-04-19 Michael Koch <konqueror@gmx.de>
1711 * java/awt/FontMetrics.java
1712 (getStringBounds): New methods.
1715 2005-04-19 Michael Koch <konqueror@gmx.de>
1717 * gnu/java/security/x509/X509Certificate.java
1718 (parse): Handle val == null case.
1720 2005-04-19 Roman Kennke <roman@kennke.org>
1722 * javax/swing/plaf/metal/MetalLookAndFeel.java
1723 (initComponentDefaults): Added defaults for Menu, MenuBar
1726 2005-04-19 Roman Kennke <roman@kennke.org>
1728 * javax/swing/plaf/metal/MetalLookAndFeel.java
1729 (initComponentDefaults): Added Label.font.
1730 (initSystemColorDefaults): Added this method and adjusted the
1731 general control color.
1733 2005-04-19 Roman Kennke <roman@kennke.org>
1735 * javax/swing/plaf/metal/MetalBorders.java:
1737 * javax/swing/plaf/metal/MetalButtonUI.java:
1738 (installDefaults): Install button font.
1739 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1740 (initComponentDefaults): Added button border, font and margin.
1741 Changed components background color to the Metal current themes
1744 2005-04-19 Roman Kennke <roman@kennke.org>
1746 * javax/swing/plaf/metal/MetalLookAndFeel.java
1747 (initComponentDefaults): Added to set Metal specific component
1750 2005-04-19 Mark Wielaard <mark@klomp.org>
1752 * javax/swing/plaf/metal/MetalLookAndFeel.java
1753 (initClassDefaults): Call super.initClassDefaults().
1755 2005-04-19 Roman Kennke <roman@kennke.org>
1757 * javax/swing/plaf/metal/MetalLookAndFeel.java
1758 (initClassDefaults): Added to include the *UI classes.
1760 2005-04-19 Roman Kennke <roman@kennke.org>
1762 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1764 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1766 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1768 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1770 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1772 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1774 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1776 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1778 * javax/swing/plaf/metal/MetalSliderUI.java:
1780 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1782 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1784 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1786 2005-04-19 Roman Kennke <roman@kennke.org>
1788 * javax/swing/plaf/metal/MetalButtonUI.java:
1789 Added skeleton class.
1790 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1791 Added skeleton class.
1792 * javax/swing/plaf/metal/MetalLabelUI.java:
1793 Added skeleton class.
1794 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1795 Added skeleton class.
1796 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1797 Added skeleton class.
1798 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1799 Added skeleton class.
1801 2005-04-19 Roman Kennke <roman@kennke.org>
1803 * javax/swing/UIDefaults.java:
1804 Added API documentation for all methods.
1806 2005-04-19 Roman Kennke <roman@kennke.org>
1808 * javax/swing/UIDefaults.java
1809 (put): Now uses new checkAndPut method instead of checking
1811 (putDefaults): Fixed so that it accepts null-values and
1812 treats them like remove(key).
1813 (checkAndPut): Added. This checks for null-values and calls
1816 2005-04-19 Michael Koch <konqueror@gmx.de>
1818 * Makefile.am: Added new files.
1819 * Makefile.in: Regenerated.
1821 2005-04-19 Mark Wielaard <mark@klomp.org>
1823 * java/lang/natRuntime.cc (insertSystemProperties): Set
1824 java.class.path to CLASSPATH only when not empty. Fall back to
1825 default path "." when java.class.path is empty.
1827 2005-04-19 Michael Koch <konqueror@gmx.de>
1829 * javax/swing/text/rtf/ControlWordToken.java,
1830 javax/swing/text/rtf/RTFEditorKit.java,
1831 javax/swing/text/rtf/RTFParseException.java,
1832 javax/swing/text/rtf/RTFParser.java,
1833 javax/swing/text/rtf/RTFScanner.java,
1834 javax/swing/text/rtf/TextToken.java,
1835 javax/swing/text/rtf/Token.java: New files.
1836 * Makefile.am: Added new files.
1837 * Makefile.in: Regenerated.
1839 2005-04-19 Michael Koch <konqueror@gmx.de>
1841 * java/awt/geom/QuadCurve2D.java:
1842 Fixed Brian Gough's name for real.
1844 2005-04-19 Roman Kennke <roman@kennke.org>
1846 * javax/swing/UIManager.java:
1847 Make the UIManager respect the swing.defaultlaf system
1850 2005-04-19 Tom Tromey <tromey@redhat.com>
1852 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1855 2005-04-19 Roman Kennke <roman@kennke.org>
1857 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1858 Fixed tabs to spaces.
1860 2005-04-19 Roman Kennke <roman@kennke.org>
1862 * javax/swing/plaf/basic/BasicMenuUI.java
1863 (getMaximumSize): Now returns preferredSize because JMenu should
1864 never be bigger than that.
1865 * javax/swing/JRootPane
1866 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1868 2005-04-19 Roman Kennke <roman@kennke.org>
1870 * javax/swing/JRootPane.java:
1871 Fixed various tabs to be spaces.
1872 (RootLayout.layoutContainer): Made menubar left aligned.
1874 2005-04-19 Roman Kennke <roman@ontographics.com>
1876 * javax/swing/JList.java
1877 (getPreferredScrollableViewportSize):
1878 The previous implementation was merely guessing the size,
1879 now it respects layoutOrientation, visibleRowCount
1881 (getScrollableTracksViewportHeight):
1882 Reimplemented so that layoutOrientation, visibleRowCount
1883 and preferred size are respected.
1884 (getScrollableTracksViewportWidth):
1885 Reimplemented so that layoutOrientation, visibleRowCount
1886 and preferred size are respected.
1887 * javax/swing/plaf/basic/BasicListUI.java
1889 Improved calculation of preferredSize when JList is
1890 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1892 The previous implementation assumed a layoutOrientation of
1893 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1894 JList.VERTICAL_WRAP.
1896 2005-04-19 Roman Kennke <roman@ontographics.com>
1898 * javax/swing/plaf/basic/BasicListUI.java
1899 (paintCell): use CellRendererPane for painting the cells.
1901 2005-04-19 Roman Kennke <roman@ontographics.com>
1903 * javax/swing/plaf/basic/BasicListUI:
1904 fixed modifiers of several fields, methods and inner
1905 classes to match the 'spec'.
1906 (getMaximumSize): removed. It's not in the spec and the
1907 implementations was superfluous.
1909 2005-04-19 Roman Kennke <roman@ontographics.com>
1911 * javax/swing/plaf/basic/BasicListUI:
1912 make BasicListUI capable of wrapping lists
1913 (layoutOrientation property of javax.swing.JList)
1915 2005-04-19 Roman Kennke <roman@ontographics.com>
1917 * javax/swing/plaf/basic/BasicListUI
1918 (updateLayoutState,paint): make BasicListUI aware of the
1919 width of the rendered JList.
1921 2005-04-19 Roman Kennke <roman@kennke.org>
1923 * javax/swing/ImageIcon.java
1924 Added API documentation.
1926 2005-04-19 Roman Kennke <roman@kennke.org>
1928 * javax/swing/text/ImageIcon.java
1929 (ImageIcon): Use setImage instead of direct assignment.
1930 (setImage): Call loadImage to make sure that the image is loaded.
1931 (loadImage): Waits for the image to complete loading.
1932 (getImageLoadStatus): Added. Returns the load status of the
1935 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1937 * javax/swing/JTextArea.java (replaceRange):
1938 Fixing doc.remove(start, length) misinterpretation.
1940 2005-04-19 Roman Kennke <roman@ontographics.com>
1942 * javax/swing/CellRendererPane.java:
1943 implemented all methods of this class.
1944 reformatted all wrong formatted code.
1946 2005-04-19 Roman Kennke <roman@kennke.org>
1948 * javax/swing/BoxLayout.java:
1949 (layoutContainer): Made this layout manager respect the
1950 minimum, maximum and preferred size more correctly.
1952 2005-04-19 Roman Kennke <roman@ontographics.com>
1954 * javax/swing/BoxLayout.java:
1955 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1956 layoutContainer): Make these methods and thereby the
1957 BoxLayout respect the insets (like borders) of the
1958 component that is laid out.
1960 2005-04-19 Roman Kennke <roman@kennke.org>
1962 * javax/swing/JComponent.java:
1963 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1964 Untabified the file.
1966 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1968 * javax/swing/JComboBox.java (constructors): selecting the
1969 first item if the box was constructed from the provided
1970 non - empty array or vector.
1972 2005-04-19 Michael Koch <konqueror@gmx.de>
1974 * gnu/java/awt/peer/gtk/GdkGraphics.java
1975 (getClipBounds): Handle clip being null.
1976 (setClip): Likewise.
1977 * java/beans/beancontext/BeanContextSupport.java
1981 (removeAll): Likewise.
1982 (retainAll): Likewise.
1984 2005-04-19 Michael Koch <konqueror@gmx.de>
1986 * java/beans/beancontext/BeanContextServicesSupport.java
1987 (BeanContextServicesSupport): Reimplemented.
1988 (addBeanContextServicesListener): Implemented.
1989 (initialize): Likewise.
1990 (removeBeanContextServicesListener): Likewise.
1991 * java/beans/beancontext/BeanContextSupport.java
1993 (addBeanContextMembershipListener): Likewise.
1994 (getLocale): Likewise.
1995 (initialize): Likewise.
1996 (iterator): Likewise.
1998 (toArray): Likewise.
2000 2005-04-19 Roman Kennke <roman@kennke.org>
2002 * java/awt/MediaTracker.java:
2003 Reindented tabs to spaces.
2005 2005-04-19 Roman Kennke <roman@kennke.org>
2007 * java/awt/MediaTracker.java
2008 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2009 confused the media tracker and lead to lockups. The LOADING
2010 bit is handled on other places.
2011 (addImage): Removed the 'start image tracking' stuff. This
2012 is not necessary and could confuse the media tracker.
2013 (checkAll): Improved the check for image status so that
2014 images that already complete images are detected. Also now
2015 are really all images checked and if necessary loaded. Before
2016 the method bailed out after the first incomplete image.
2017 (statusAll): Detect images that are complete after the
2018 call to Component.prepareImage(..).
2019 (checkID): The same as in checkAll.
2020 (statusID): The same as in statusAll.
2022 2005-04-19 Roman Kennke <roman@kennke.org>
2024 * java/awt/MediaTracker.java
2025 (addImage): Synchronized list access.
2026 (waitForAll): Fixed comparison of time (changed < to >).
2027 (waitForID): Fixed comparison of time (changed < to >).
2028 (removeImage): Synchronized list access.
2030 2005-04-19 Roman Kennke <roman@kennke.org>
2032 * java/awt/MediaTracker.java
2033 Added API documentation.
2035 2005-04-19 Roman Kennke <roman@kennke.org>
2037 * java/awt/MediaTracker.java
2038 (MediaEntry.imageUpdate): Fixed flags. The different flags
2039 must not be ORed together.
2040 (checkAll): Modified to handle different meaning of the flags.
2041 (waitForAll): Fixed so that it waits maximum the
2042 specified amount of milliseconds.
2043 (statusAll): Modified to handle different meaning of the flags.
2044 (waitForID): Fixed so that it waits maximum the
2045 specified amount of milliseconds.
2047 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2049 * java/awt/Font.java (decode): Handle null argument and allow
2052 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2054 * java/beans/EventHandler.java: Reworked documentation.
2055 (invoke): Fixed behavior to match spec.
2057 2005-04-19 Michael Koch <konqueror@gmx.de>
2059 * java/awt/print/PrinterJob.java
2060 (pageDialog): New method.
2061 (printDialog): Implemented.
2063 2005-04-19 Michael Koch <konqueror@gmx.de>
2065 * java/awt/image/ConvolveOp.java:
2066 Removed comment added by eclipse.
2068 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2070 * java/awt/image/IndexColorModel.java
2071 (getRGB): Check if pixel is negative.
2073 2005-04-19 Michael Koch <konqueror@gmx.de>
2075 * java/awt/image/RasterOp.java:
2076 Fixed wrong formatting.
2078 2005-04-18 Roman Kennke <roman@kennke.org>
2080 * java/awt/Compmonent.java
2081 (setComponentOrientation): Made this property firing a
2082 PropertyChangeEvent.
2084 2005-04-18 Roman Kennke <roman@kennke.org>
2086 * java/awt/BorderLayout.java
2087 (calcSize): Check for overflow when component sizes are added.
2089 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2091 * java/awt/AWTEvent.java (toString): Added case
2092 for source not being an AWT component.
2094 2005-04-18 Chris Burdess <dog@gnu.org>
2096 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2098 2005-04-18 Michael Koch <konqueror@gmx.de>
2100 gnu/java/awt/EmbeddedWindowSupport.java,
2101 gnu/java/net/HeaderFieldHelper.java,
2102 gnu/java/net/URLParseError.java,
2103 gnu/java/net/protocol/file/Handler.java,
2104 gnu/java/net/protocol/jar/Handler.java:
2105 Fixed usage of @author tag.
2107 2005-04-18 Michael Koch <konqueror@gmx.de>
2109 * gnu/xml/aelfred2/XmlParser.java:
2110 Reverted my typo fix.
2112 2005-04-18 Michael Koch <konqueror@gmx.de>
2114 * java/awt/geom/CubicCurve2D.java,
2115 java/awt/geom/QuadCurve2D.java:
2116 Fixed mentioning of Brian Gouph.
2118 2005-04-18 Michael Koch <konqueror@gmx.de>
2120 * gnu/java/awt/Buffers.java,
2121 gnu/java/awt/image/ImageDecoder.java,
2122 gnu/java/awt/image/XBMDecoder.java,
2123 gnu/java/awt/peer/ClasspathFontPeer.java,
2124 gnu/java/net/CRLFInputStream.java,
2125 gnu/java/net/EmptyX509TrustManager.java,
2126 gnu/java/net/LineInputStream.java,
2127 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2128 gnu/java/net/protocol/ftp/BlockInputStream.java,
2129 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2130 gnu/java/net/protocol/ftp/DTP.java,
2131 gnu/java/net/protocol/ftp/DTPInputStream.java,
2132 gnu/java/net/protocol/ftp/FTPConnection.java,
2133 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2134 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2135 gnu/java/net/protocol/ftp/StreamInputStream.java,
2136 gnu/java/net/protocol/http/ChunkedInputStream.java,
2137 gnu/java/net/protocol/http/HTTPConnection.java,
2138 gnu/java/net/protocol/http/HTTPURLConnection.java,
2139 gnu/java/net/protocol/http/Headers.java,
2140 gnu/java/net/protocol/http/Request.java,
2141 gnu/java/nio/ChannelInputStream.java,
2142 gnu/java/nio/ChannelOutputStream.java,
2143 gnu/java/nio/InputStreamChannel.java,
2144 gnu/java/nio/OutputStreamChannel.java,
2145 gnu/java/nio/SelectorProviderImpl.java,
2146 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2147 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2148 gnu/java/rmi/dgc/DGCImpl.java,
2149 gnu/java/rmi/registry/RegistryImpl.java,
2150 gnu/java/rmi/server/ProtocolConstants.java,
2151 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2152 gnu/java/rmi/server/RMIIncomingThread.java,
2153 gnu/java/rmi/server/RMIObjectInputStream.java,
2154 gnu/java/rmi/server/RMIObjectOutputStream.java,
2155 gnu/java/rmi/server/RMIVoidValue.java,
2156 gnu/java/rmi/server/UnicastConnectionManager.java,
2157 gnu/java/rmi/server/UnicastRef.java,
2158 gnu/java/rmi/server/UnicastRemoteCall.java,
2159 gnu/java/rmi/server/UnicastRemoteStub.java,
2160 gnu/java/rmi/server/UnicastServerRef.java,
2161 gnu/java/security/OID.java,
2162 gnu/java/security/der/DERReader.java,
2163 gnu/java/security/provider/CollectionCertStoreImpl.java,
2164 gnu/java/security/provider/DSAParameterGenerator.java,
2165 gnu/java/security/provider/DefaultPolicy.java,
2166 gnu/java/security/provider/EncodedKeyFactory.java,
2167 gnu/java/security/provider/GnuDHPublicKey.java,
2168 gnu/java/security/provider/GnuDSAPrivateKey.java,
2169 gnu/java/security/provider/GnuDSAPublicKey.java,
2170 gnu/java/security/provider/GnuRSAPrivateKey.java,
2171 gnu/java/security/provider/GnuRSAPublicKey.java,
2172 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2173 gnu/java/security/provider/RSA.java,
2174 gnu/java/security/provider/SHA1PRNG.java,
2175 gnu/java/security/provider/SHA1withRSA.java,
2176 gnu/java/security/provider/X509CertificateFactory.java,
2177 gnu/java/security/x509/GnuPKIExtension.java,
2178 gnu/java/security/x509/X500DistinguishedName.java,
2179 gnu/java/security/x509/X509CRL.java,
2180 gnu/java/security/x509/X509CRLEntry.java,
2181 gnu/java/security/x509/X509CertPath.java,
2182 gnu/java/security/x509/X509CertSelectorImpl.java,
2183 gnu/java/security/x509/X509Certificate.java,
2184 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2185 gnu/java/security/x509/ext/BasicConstraints.java,
2186 gnu/java/security/x509/ext/CRLNumber.java,
2187 gnu/java/security/x509/ext/CertificatePolicies.java,
2188 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2189 gnu/java/security/x509/ext/Extension.java,
2190 gnu/java/security/x509/ext/GeneralNames.java,
2191 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2192 gnu/java/security/x509/ext/KeyUsage.java,
2193 gnu/java/security/x509/ext/PolicyConstraint.java,
2194 gnu/java/security/x509/ext/PolicyMappings.java,
2195 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2196 gnu/java/security/x509/ext/ReasonCode.java,
2197 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2198 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2199 Reorganized import statements.
2201 2005-04-18 Michael Koch <konqueror@gmx.de>
2203 * gnu/java/awt/color/CieXyzConverter.java,
2204 gnu/java/awt/color/ClutProfileConverter.java,
2205 gnu/java/awt/color/ColorLookUpTable.java,
2206 gnu/java/awt/color/ColorSpaceConverter.java,
2207 gnu/java/awt/color/GrayProfileConverter.java,
2208 gnu/java/awt/color/GrayScaleConverter.java,
2209 gnu/java/awt/color/LinearRGBConverter.java,
2210 gnu/java/awt/color/ProfileHeader.java,
2211 gnu/java/awt/color/PyccConverter.java,
2212 gnu/java/awt/color/RgbProfileConverter.java,
2213 gnu/java/awt/color/SrgbConverter.java,
2214 gnu/java/awt/color/TagEntry.java,
2215 gnu/java/awt/color/ToneReproductionCurve.java:
2216 Standardized file headers.
2218 2005-04-16 Tom Tromey <tromey@redhat.com>
2220 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2221 'ANY' package-private.
2223 2005-04-15 Tom Tromey <tromey@redhat.com>
2225 * Makefile.in: Rebuilt.
2226 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2227 (libgcj0_convenience_la_LIBADD): ... here.
2229 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2231 * gij.cc (version): Properly quote java version.
2232 (main): Fix typo in comment.
2234 2005-04-13 Mark Wielaard <mark@klomp.org>
2236 * java/lang/natRuntime.cc (insertSystemProperties): Set
2237 java.class.path to CLASSPATH if not already set.
2239 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2241 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2243 2005-04-12 Mike Stump <mrs@apple.com>
2245 * configure: Regenerate.
2247 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2250 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2251 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2253 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2256 * scripts/TexinfoDoclet.java: Removed.
2257 * Makefile.am (texinfo): Removed.
2258 * Makefile.in: Regenerated.
2260 2005-04-11 Michael Koch <konqueror@gmx.de>
2262 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2263 Fixed wrong casting.
2265 2005-04-06 Andrew Haley <aph@redhat.com>
2267 * testsuite/libjava.lang/bytearray.java: New file.
2268 * testsuite/libjava.lang/bytearray.out: New file.
2269 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2270 (loadClass): Use it.
2271 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2273 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2275 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2276 gcj-dbtool dependency
2277 * Makefile.in: Regenerated
2279 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2281 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2282 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2284 2005-04-05 Andrew Haley <aph@redhat.com>
2286 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2287 (Tokenizer): New class.
2288 (getFiles): New method.
2289 (main): Add "-" argument.
2291 Read list of files from stdin when merging map databases.
2292 (usage): Add "-" argument.
2296 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2299 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2300 * Makefile.in: Regenerate.
2301 * configure.ac: Add --with-java-home option.
2302 * configure: Regenerate.
2303 * external/Makefile.in: Regenerate.
2304 * external/sax/Makefile.in: Regenerate.
2305 * external/w3c_dom/Makefile.in: Regenerate.
2306 * gcj/Makefile.in: Regenerate.
2307 * include/Makefile.in: Regenerate.
2308 * testsuite/Makefile.in: Regenerate.
2309 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2312 2005-04-05 Tom Tromey <tromey@redhat.com>
2314 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2315 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2316 Rewrote to use _Jv_FindClassFromSignature.
2317 * verify.cc (resolve): throw NoClassDefFoundError.
2318 * link.cc (resolve_field): Throw NoClassDefFoundError.
2319 (find_field): Likewise.
2320 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2321 Handle error cases. Added 'endp' argument.
2322 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2324 2005-04-05 Tom Tromey <tromey@redhat.com>
2326 * Makefile.in: Rebuilt.
2327 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2328 gtk_awt_peer_sources.
2329 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2330 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2331 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2332 (gtk-awt-peer.lo): New target.
2334 2005-04-04 Steve Pribyl <steve@netfuel.com>
2337 * configure.ac: Fix fastjar definition for cross builds.
2338 * configure: Rebuilt.
2340 2005-04-04 Tom Tromey <tromey@redhat.com>
2342 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2343 it was already found.
2345 2005-04-04 Tom Tromey <tromey@redhat.com>
2347 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2348 org.metastatic.jessie.
2350 2005-04-02 Anthony Green <green@redhat.com>
2353 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2355 2005-04-02 Mark Wielaard <mark@klomp.org>
2357 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2358 Attributes and attribute order doesn't matter.
2359 (BasicAttributesEnumeration.where): Initialize to zero.
2360 (BasicAttributesEnumeration.nextElement): Update and compare where
2361 appropriately (zero based).
2363 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2365 PR libgcj/20090, PR libgcj/20526
2366 * gij.cc (nonstandard_opts_help): New function.
2367 (add_option): New function.
2368 (main): Support java options. Set java.class.path. Don't set
2370 * prims.cc (parse_x_arg): New function.
2371 (parse_init_args): Call parse_x_arg for -X and _ options, when
2372 ignoreUnrecognized is true.
2373 (new _Jv_RunMain): New vm_args variant.
2374 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2375 (_Jv_Jar_Class_Path): Remove variable.
2376 * include/java-props.h: Likewise.
2377 * include/cni.h (JvRealloc): New function.
2378 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2379 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2380 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2382 * configure.ac (JV_VERSION): Define.
2383 (JV_API_VERSION): Likewise.
2384 * configure: Regenerate.
2385 * include/config.h.in: Regenerate.
2387 2005-04-01 Mark Anderson <mark@panonet.net>
2389 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2390 -Infinity as parameters.
2392 2005-04-01 Michael Koch <konqueror@gmx.de>
2394 * java/io/PipedInputStream.java
2395 (read): Make sure a positive byte value is returned. Revised javadoc.
2396 Thanks to Olafur Bragason for reporting these bugs.
2398 2005-04-01 Tom Tromey <tromey@redhat.com>
2400 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2401 Updated for name change.
2402 (nativeFindClass): New method.
2403 (loadClass): Use nativeFindClass.
2404 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2406 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2407 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2409 (initialize): New method.
2410 (nativeFindClass): Declare.
2411 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2412 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2413 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2415 (definePackageForNative): Removed.
2416 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2417 Moved to VMClassLoader.java.
2418 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2419 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2420 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2421 removed VMClassLoader.java.
2422 (nat_source_files): Removed natVMClassLoader.cc.
2424 2005-04-01 Tom Tromey <tromey@redhat.com>
2426 * Makefile.in: Rebuilt.
2427 * Makefile.am (db_pathtail): Use $(gcc_version), not
2430 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2432 * java/util/Timer.java
2433 (run): Stop the queue if a task throws an exception.
2435 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2437 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2439 2005-03-29 Ian Lance Taylor <ian@airs.com>
2441 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2442 * external/sax/Makefile.in: Rebuild.
2443 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2445 * external/w3c_dom/Makefile.in: Rebuild.
2447 2005-03-29 Tom Tromey <tromey@redhat.com>
2449 * java/lang/natRuntime.cc (insertSystemProperties): Set
2450 gnu.gcj.runtime.endorsed.dirs.
2451 * Makefile.in: Rebuilt.
2452 * Makefile.am (ordinary_java_source_files): Added
2453 HelperClassLoader.java.
2454 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2455 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2457 (init): Use addDirectoriesFromProperty.
2458 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2459 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2460 gnu.gcj.runtime.endorsed.dirs.
2461 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2463 2005-03-26 Chris Burdess <dog@gnu.org>
2465 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2468 2005-03-13 Michael Koch <konqueror@gmx.de>
2470 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2472 2005-03-11 Chris Burdess <dog@gnu.org>
2474 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2477 2005-02-27 Chris Burdess <dog@gnu.org>
2479 * gnu/xml/aelfred2/JAXPFactory.java,
2480 gnu/xml/aelfred2/SAXDriver.java,
2481 gnu/xml/aelfred2/XmlParser.java,
2482 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2483 formatting conventions. Replaced arrays of Object with struct-like
2484 classes for easier maintainability. Made SAXDriver.stringInterning
2485 package private to allow access from XmlParser inside the loop without
2486 a method call overhead.
2488 2005-03-11 Chris Burdess <dog@gnu.org>
2490 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2493 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2495 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2496 settings to sub Makefiles.
2497 (GCJH, ZIP): Prefix with top_builddir.
2498 * configure: Rebuild.
2499 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2500 * external/w3c_dom/Makefile.in: Rebuild.
2501 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2502 * external/sax/Makefile.in: Rebuild.
2504 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2506 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2507 libsocket to the libraries to link for Solaris.
2509 2005-03-28 Per Bothner <per@bothner.com>
2511 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2512 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2514 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2516 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2517 to fix a ONESTEP fallout.
2518 * Makefile.in: Regenerate.
2520 2005-03-25 Mike Stump <mrs@apple.com>
2522 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2523 paths like we do for the compiler, as we use it in external/sax
2524 and it doesn't get MULTIBUILDTOP right when multilibing.
2526 2005-03-24 Anthony Green <green@redhat.com>
2528 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2530 (usage): Add [LIBDIR] to help output.
2531 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2532 * Makefile.am (AM_CXXFLAGS): Define
2533 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2534 (db_pathtail): New macro.
2536 2005-03-24 Tom Tromey <tromey@redhat.com>
2538 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2539 add sax and w3c libraries.
2540 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2542 * external/w3c_dom/Makefile.in: Rebuilt.
2543 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2545 (libw3c_gcj_la_LDFLAGS): New variable.
2546 (noinst_LTLIBRARIES): Renamed.
2547 * external/sax/Makefile.in: Rebuilt.
2548 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2550 (libsax_gcj_la_LDFLAGS): New variable.
2551 (noinst_LTLIBRARIES): Renamed.
2553 2005-03-23 Tom Tromey <tromey@redhat.com>
2555 * Makefile.in: Rebuilt.
2556 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2557 (libgcj0_convenience_la_SOURCES): Don't include
2558 gnu_xml_source_files.
2559 (libgcj0_convenience_la_LIBADD): New variable.
2560 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2561 (all_java_source_files): javax_imageio_source_files,
2562 javax_xml_source_files, and gnu_java_beans_source_files.
2563 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2564 (gnu-xml.lo): New target.
2565 (javax-imageio.lo): Likewise.
2566 (javax-xml.lo): Likewise.
2567 (gnu-java-beans.lo): Likewise.
2568 (gnu_java_beans_source_files): New variable.
2569 (javax_imageio_source_files): Likewise.
2570 (javax_xml_source_files): Likewise.
2571 (javax_source_files): Moved files to other variable.
2572 (awt_java_source_files): Likewise.
2573 (ordinary_java_source_files): Added BootClassLoader.java.
2574 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2575 not system class loader.
2576 (initBootLoader): New method.
2577 (loadClass): Search bootLoader.
2578 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2579 boot loader, not system class loader.
2580 (_Jv_UnregisterInitiatingLoader): Likewise.
2581 (_Jv_FindClass): Likewise. Ensure entries in
2582 bootstrap_class_list are unique.
2583 * java/lang/natClass.cc (getClassLoader): Don't special case
2584 system class loader.
2585 * java/lang/VMClassLoader.java (bootLoader): New field.
2586 (getResource): Use bootLoader.
2587 (getResources): Likewise.
2588 (initBootLoader): Declare.
2589 * gnu/gcj/runtime/BootClassLoader.java: New file.
2590 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2591 (EMPTY_ENUMERATION): Now package-private.
2592 * external/w3c_com/Makefile.in: Rebuilt.
2593 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2594 (w3c.jar): New target.
2595 (classes.stamp): Updated.
2596 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2597 Changed name of library.
2598 (libw3c_gcj_la_SOURCES): New variable.
2599 (libw3c_gcj_la_GCJFLAGS): Likewise.
2600 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2601 * external/sax/Makefile.in: Rebuilt.
2602 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2603 (sax.jar): New target.
2604 (classes.stamp): Updated.
2605 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2606 Changed name of library.
2607 (libsax_gcj_la_SOURCES): New variable.
2608 (libsax_gcj_la_GCJFLAGS): Likewise.
2609 (source_files): Renamed from libsax_convenience_la_SOURCES.
2610 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2612 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2614 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2616 2005-03-23 Sven de Marothy <sven@physto.se>
2618 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2620 * java/util/Calendar.java
2621 (set): Use starting day of week when one is needed if none is given.
2622 * java/text/SimpleDateFormat.java
2623 (parse): Handle 1-12 and 1-24 timestamps correctly.
2624 * java/util/GregorianCalendar.java
2625 (computeTime, computeFields): HOUR should be in 0-11 format.
2626 (nonLeniencyCheck): Adjust leniency checking to that fact.
2627 (getLinearDay): Should be private.
2629 2005-03-23 Tom Tromey <tromey@redhat.com>
2631 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2632 (_Jv_CheckABIVersion): Use it.
2634 2005-03-22 Mike Stump <mrs@apple.com>
2636 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2638 * include/posix.h: .dylib is used on all Apple MACH platforms.
2639 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2641 2005-03-22 Tom Tromey <tromey@redhat.com>
2643 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2645 2005-03-21 Tom Tromey <tromey@redhat.com>
2647 * java/lang/VMCompiler.java (static block): Also catch
2648 BufferUnderflowException.
2650 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2652 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2653 set tool_include_dir. In all substitutions, leave $(gcc_version)
2654 to be expanded by the Makefile.
2655 * aclocal.m4, configure: Regenerate.
2656 * Makefile.am: Set gcc_version. Replace all uses of
2657 @gcc_version@ with $(gcc_version).
2658 * external/Makefile.am, external/sax/Makefile.am
2659 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2660 * testsuite/Makefile.am: Set gcc_version.
2661 * include/Makefile.am: Set gcc_version and tool_include_dir.
2662 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2663 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2664 * testsuite/Makefile.in: Regenerate.
2666 2005-03-17 Andrew Haley <aph@redhat.com>
2668 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2670 Pass klass to _Jv_StackTrace::GetClassContext().
2671 * java/lang/ClassLoader.java (getParent): Pass class to
2672 VMSecurityManager.getClassContext()
2673 (getSystemClassLoader): Likewise.
2674 * java/lang/Package.java (getPackage): Likewise.
2675 (getPackages): Likewise.
2676 * java/lang/SecurityManager.java (getClassContext): Likewise.
2677 (currentClassLoader): Likewise.
2678 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2679 (currentClassLoader) Add new arg: caller.
2680 Pass caller to VMSecurityManager.getClassContext.
2682 * stacktrace.cc (GetClassContext): Correct calculation of
2685 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2686 im->source_file_name.
2688 2005-03-16 Andrew Haley <aph@redhat.com>
2690 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2692 2005-03-16 Tom Tromey <tromey@redhat.com>
2694 * link.cc (ensure_class_linked): Removed #ifdef.
2695 (print_class_loaded): Likewise.
2696 (wait_for_state): Likewise.
2697 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2698 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2699 * include/java-interp.h: ... here.
2701 2005-03-16 Tom Tromey <tromey@redhat.com>
2703 * gnu/java/lang/MainThread.java (run): Load main class using
2704 system class loader.
2706 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2708 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2709 lgcc_s to the libraries to link for Darwin.
2711 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2713 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2714 interpreter-specific code with #ifdef INTERPRETER.
2715 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2716 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2717 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2718 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2719 #ifdef INTERPRETER. Also protect declarations that use it.
2720 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2721 #ifdef INTERPRETER block.
2723 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2726 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2727 * Makefile.in: Rebuilt.
2729 2005-03-15 David Daney <ddaney@avtrex.com>
2731 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2734 2005-03-15 David Daney <ddaney@avtrex.com>
2736 * java/io/BufferedInputStream.java (available): Use 'in' instead
2737 of 'super' for underlying stream access.
2739 (read(byte[], int, int)): Ditto.
2741 (skip): Call skip on underlying stream when possible.
2743 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2745 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2746 SJLJ_EXCEPTIONS is defined.
2748 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2750 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2753 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2755 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2757 (libjava_arguments): Likewise.
2759 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2760 (gcj_jni_test_one): Likewise.
2761 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2762 Add flags to keep the Darwin linker quiet.
2763 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2764 Add -liconv for Darwin.
2766 2005-03-11 Tom Tromey <tromey@redhat.com>
2768 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2769 (_Jv_CheckABIVersion): Use it.
2771 2005-03-11 Tom Tromey <tromey@redhat.com>
2773 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2774 (usage): Document '-p'.
2775 * Makefile.in: Rebuilt.
2776 * Makefile.am (dbexecdir): New variable.
2777 (db_name): Likewise.
2778 (dbexec_DATA): Likewise.
2779 ($(db_name)): New target.
2780 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2781 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2784 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2786 * exception.cc: Remove stray MethodRef.h include.
2787 * java/lang/natClass.cc: Likewise.
2788 * gnu/gcj/runtime/MethodRef.java: Removed.
2789 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2790 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2791 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2792 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2793 * Makefile.in: Rebuilt.
2795 2005-03-10 Tom Tromey <tromey@redhat.com>
2797 * Makefile.in: Rebuilt.
2798 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2800 2005-03-10 Chris Burdess <dog@bluezoo.org>
2802 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2803 not currently parsing the DTD.
2805 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2807 New Stack Trace infrastructure.
2808 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2809 (gnu/gcj/runtime/StackTrace.java): Removed.
2810 (ordinary_java_source_files): Remove obsolete files.
2811 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2812 * configure.host (fallback_backtrace_h): Set backtrace header
2813 for mingw and cygwin targets.
2814 * configure.ac: Make symlink for fallback backtrace headers.
2815 * Makefile.in, configure: Rebuilt.
2816 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2817 Read 'LineNumberTable' attribute.
2818 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2820 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2822 * exception.cc: Remove unused include.
2823 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2824 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2825 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2826 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2827 table to direct threaded instruction values.
2828 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2829 (_Jv_InterpMethod::run): No longer member function. All
2830 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2831 is made or where an instruction could throw.
2832 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2834 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2835 (catch_fpe): Likewise.
2836 * stacktrace.cc: New file. Stack trace code now here.
2837 * gnu/gcj/runtime/MethodRef.java:
2838 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2839 calls addr2line to look up PC addresses in a given binary or shared
2841 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2842 gnu/gcj/runtime/natStackTrace.cc: Removed.
2843 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2844 this function name is specially recognised by the stack trace code
2845 and shouldn't be changed.
2846 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2847 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2848 (_Jv_InterpMethod::run): Update declaration.
2849 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2851 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2852 * include/java-stack.h: New file. Declarations for stack tracing.
2853 * include/jvm.h (_Jv_Frame_info): Removed.
2854 * java/lang/Class.h: Update friend declarations.
2855 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2857 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2858 (getStackTrace): Now native.
2859 (data): New RawDataManaged field.
2860 * java/lang/natClass.cc: Update includes.
2861 (forName): Use _Jv_StackTrace::GetCallingClass for
2862 calling-classloader check.
2863 (getClassLoader): Likewise.
2864 * java/lang/natRuntime.cc: Update includes.
2865 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2866 * java/lang/natVMSecurityManager.cc: Update includes.
2867 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2868 * java/lang/natVMThrowable.cc: New file. Native methods for
2870 * java/lang/reflect/natArray.cc: Update includes.
2871 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2872 accessibility check.
2873 * java/lang/reflect/natConstructor.cc: Update includes.
2874 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2875 accessibility check.
2876 * java/lang/reflect/natField.cc: Update includes.
2877 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2878 accessibility check.
2879 * java/lang/reflect/natMethod.cc: Update includes.
2880 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2881 accessibility check.
2882 * java/util/natResourceBundle.cc: Update includes.
2883 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2884 * java/util/logging/natLogger.cc: Update includes. Use
2885 _Jv_StackTrace::GetCallerInfo to get call-site info.
2886 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2888 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2891 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2893 * testsuite/libjava.compile/PR20312.java: New file.
2894 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2895 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2897 2005-03-09 Andrew Haley <aph@redhat.com>
2899 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2901 (smallTransferTo): New.
2902 (transferFrom): Loop around smallTransferFrom, copying pageSize
2904 (transferTo): Likewise.
2906 2005-03-09 David Daney <ddaney@avtrex.com>
2909 Merge BufferedInputStream from GNU Classpath.
2910 * java/io/BufferedInputStream.java (marktarget): Field removed.
2911 (CHUNKSIZE): Field removed.
2912 (bufferSize): New field.
2913 (BufferedInputStream): Initialize fields.
2914 (close): Invalidate mark and buffer indexes.
2916 (read()): Move mark handling code to refill.
2917 (read(byte[], int, int)): Ditto.
2918 (skip): Ditto and simplify EOF testing.
2919 (refill): Rewritten.
2920 * java/io/InputStreamReader.java (refill): Removed mark and reset
2921 of internal BufferedInputStream.
2923 2005-03-09 Tom Tromey <tromey@redhat.com>
2925 * java/lang/natVMClassLoader.cc (defineClass): Reference
2926 'systemClassLoader' field directly.
2927 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2929 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2930 Reference 'systemClassLoader' field directly.
2931 (_Jv_UnregisterInitiatingLoader): Likewise.
2932 (_Jv_FindClass): Likewise.
2934 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2936 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2938 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2939 the file in GNU Classpath style.
2941 2005-03-09 Tom Tromey <tromey@redhat.com>
2943 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2944 (toString): Synchronize.
2946 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2948 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2949 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2951 2005-03-07 Tom Tromey <tromey@redhat.com>
2953 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2954 (usage): Document '-f'.
2956 2005-03-07 Tom Tromey <tromey@redhat.com>
2958 * java/lang/VMCompiler.java (md5Digest): New field.
2959 (compileClass): Clone md5Digest instead of looking up a new one.
2961 2005-03-07 Tom Tromey <tromey@redhat.com>
2964 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2965 * link.cc (find_field_helper): Added 'type' argument.
2966 (find_field): Updated.
2968 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2969 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2970 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2971 throw UnsupportedOperationException, fixed comments.
2972 (setFont, setForeground): Fixed comments.
2973 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2974 return type to boolean.
2975 (getNextEvent): Fixed javadocs.
2976 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2977 (nativeQueueEmpty): Removed unused code.
2978 (iterateNativeQueue): Removed outer loop.
2980 2005-03-06 Roger Sayle <roger@eyesopen.com>
2983 * Makefile.am (libgcj0_convenience.la): Revert last change.
2984 * Makefile.in: Regenerate.
2986 2005-03-05 Anthony Green <green@redhat.com>
2988 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2989 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2990 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2991 (_Jv_GetDrawingSurface): Set visualID.
2992 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2993 (JAWT_GetAWT): Set Lock and Unlock.
2994 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2996 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2997 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2998 JAWT_LOCK_SURFACE_CHANGED): New macros.
2999 (struct _JAWT): Add Lock and Unlock.
3001 2005-03-05 Roger Sayle <roger@eyesopen.com>
3002 Alexandre Oliva <aoliva@redhat.com>
3003 Kelley Cook <kcook@gcc.gnu.org>
3006 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3007 of the object files to link to avoid exceeding the command line
3008 length limits on some platforms.
3009 (clean-local): Clean up objectlist files.
3010 * Makefile.in: Regenerate.
3012 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3014 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3015 spec_case. Initialize pointer mlo.
3017 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3020 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3022 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3025 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3026 uninitialized variable z.
3028 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3029 possible unused variables.
3031 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3033 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3035 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3038 * testsuite/libjava.jni/jni.exp
3039 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3041 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3043 2005-02-23 David Daney <ddaney@avtrex.com>
3045 * configure.host: Don't use -mxgot for MIPS builds.
3047 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3050 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3051 (COMPPATH): Removed.
3052 (ZIP, GCJH): Replace it with ../$(host_subdir).
3053 (built_gcc_dir): Add $(host_subdir).
3054 * configure: Regenerate.
3055 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3056 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3057 external/w3c_dom/Makefile.in: Regenerate.
3059 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3061 * java/awt/font/TextAttribute.java: changed names to lower case;
3062 (readResolve): implemented.
3063 Added doc comments all over.
3065 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3068 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3069 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3070 value. Move argument parsing code to prims.cc.
3071 * prims.cc (no_properties): Remove.
3072 (_Jv_Compiler_Properties): Initialize to NULL.
3073 (_Jv_Properties_Count): Initialize to 0.
3074 (parse_verbose_args): New function.
3075 (parse_init_args): New function.
3076 (_Jv_CreateJavaVM): Call parse_init_args.
3077 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3078 * gcj/cni.h (JvVMOption): New struct.
3079 (JvVMInitArgs): Likewise.
3080 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3082 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3083 (_Jv_VMInitArgs): Likewise.
3084 * include/java-props.h (_Jv_Properties_Count): Declare.
3085 * java/lang/natRuntime.cc (insertSystemProperties): Use
3086 _Jv_Properties_Count in for loop exit condition.
3087 * testsuite/libjava.jni/jni.exp
3088 (gcj_invocation_compile_c_to_binary): New procedure.
3089 (gcj_invocation_test_one): Likewise.
3090 (gcj_jni_run): Run JNI invocation API tests.
3091 * testsuite/libjava.jni/invocation/PR16923.c,
3092 testsuite/libjava.jni/invocation/PR16923.java,
3093 testsuite/libjava.jni/invocation/PR16923.out: New test.
3095 2005-02-23 Michael Koch <konqueror@gmx.de>
3097 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3098 * Makefile.in: Regenerated.
3100 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3102 * gnu/java/nio/ChannelReader: Fixed comments.
3104 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3106 * java/nio/channels/Channels: Added FIXMEs about
3107 stub method implementation.
3108 (newReader): Implemented.
3109 * gnu/java/nio/ChannelReader: New class.
3111 2005-02-23 Michael Koch <konqueror@gmx.de>
3113 * java/text/SimpleDateFormat.java:
3114 Removed unused import.
3116 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3119 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3120 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3121 * Makefile.in: Regenerate.
3122 * configure.ac: Check for libXtst.
3123 * configure: Regenerate.
3125 2005-02-22 Mark Wielaard <address@bogus.example.com>
3127 * java/security/AlgorithmParameterGenerator.java (getInstance):
3128 Mention provider when throwing NoSuchProviderException.
3129 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3130 * java/security/KeyFactory.java (getInstance): Likewise.
3131 * java/security/KeyStore.java (getInstance): Likewise.
3132 * java/security/SecureRandom.java (getInstance): Likewise.
3133 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3135 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3137 * java/lang/reflect/Proxy.java,
3139 java/security/SecureRandom.java,
3140 java/util/Timer.java,
3141 java/util/prefs/AbstractPreferences.java:
3142 Don't catch java.lang.ThreadDeath.
3144 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3146 * java/awt/font/TransformAttribute.java,
3147 (TransformAttribute(AffineTransform)): throw
3148 IllegalArgumentException for null transform.
3149 (getTransform): return a copy of transform.
3150 Added doc comments to all.
3152 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3154 * java/io/Externalizable.java,
3155 java/io/Serializable.java
3156 (serialVersionUID): Removed.
3157 * java/rmi/server/RemoteObject.java,
3158 java/rmi/server/UID.java
3159 (serialVersionUID): Made private.
3160 * java/rmi/server/RemoteRef.java,
3161 java/rmi/server/ServerRef.java
3162 (serialVersionUID): Set proper value.
3163 * java/security/interfaces/DSAPrivateKey.java,
3164 java/security/interfaces/DSAPublicKey.java,
3165 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3166 java/security/interfaces/RSAPrivateCrtKey.java,
3167 java/security/interfaces/RSAPrivateKey.java,
3168 java/security/interfaces/RSAPublicKey.java,
3169 javax/crypto/SecretKey.java
3170 (serialVersionUID): Added.
3172 2005-02-22 Tom Tromey <tromey@redhat.com>
3174 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3176 2005-02-22 Tom Tromey <tromey@redhat.com>
3179 * verify.cc (type::EITHER): New constant.
3180 (check_field_constant): Use it.
3181 (type::compatible): Handle it.
3183 2005-02-22 Michael Koch <konqueror@gmx.de>
3185 * gnu/java/security/PolicyFile.java,
3186 gnu/java/security/pkcs/PKCS7SignedData.java,
3187 gnu/java/security/pkcs/SignerInfo.java:
3188 Fixed copyright header.
3190 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3192 * java/beans/PropertyDescriptor.java
3193 (PropertyDescriptor,setReadMethod): Set propertyType.
3195 2005-02-22 Michael Koch <konqueror@gmx.de>
3197 * java/nio/DirectByteBufferImpl.java
3198 (owner): Fixed formatting of javadoc.
3199 * java/text/DateFormat.java
3200 (getAvailableLocales): Fixed formatting.
3201 * java/text/SimpleDateFormat.java:
3202 Fixed formatting and import statement order.
3203 * java/util/Calendar.java
3204 (Calendar): Fixed javadoc to be HTML compliant.
3205 * java/util/SimpleTimeZone.java:
3208 2005-02-22 Roman Kennke <roman@ontographics.com>
3210 * javax/swing/plaf/basic/BasicLookAndFeel.java
3211 (initComponentDefaults): Fixed Button left and right margin.
3213 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3215 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3219 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3220 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3221 (getWidth): New method.
3222 (getHeight): Likewise.
3223 (create): Remove width, height and insets parameters. Move size
3225 (realize_cb): ... here. New function.
3226 (connectSignals): Connect realize_cb.
3227 (request_frame_extents): Remove FIXME. Move
3228 postInsetsChangedEvent lookup ...
3229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3230 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3231 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3233 (windowGetWidthID): Likewise.
3234 (windowGetHeightID): Likewise.
3236 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3239 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3240 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3242 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3244 Merge serialization from GNU Classpath.
3245 * gcj/method.h: Add missing #includes.
3246 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3247 primitive class IDs on the stream here...
3248 (resolveClass): ...not here.
3249 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3251 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3252 setLongNative, setIntNative, setShortNative, setCharNative,
3253 setByteNative, setBooleanNative, setObjectNative): New native methods.
3254 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3255 setLongNative, setIntNative, setShortNative, setCharNative,
3256 setByteNative, setBooleanNative, setObjectNative): Implement them.
3257 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3258 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3259 the constructor here.
3260 (callConstructor): Removed.
3261 (getCallersClassLoader): Removed.
3262 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3263 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3264 to control whether setting final field values is permitted. Call
3265 getAddr() with checkFinal parameter instead of setAddr().
3266 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3267 only if not done already.
3268 (getAddr): Add checkFinal parameter. Do the final field check only if
3272 2005-02-21 Mark Wielaard <mark@klomp.org>
3275 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3278 2005-02-21 Mark Wielaard <mark@klomp.org>
3281 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3282 without a super class and us ObjectStreamClass.lookupForClassObject().
3283 (resolveClass): Check for primitive types.
3284 (lookupClass): Return null when argument is null.
3286 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3288 * java/io/ObjectInputStream.java
3289 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3291 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3293 * java/io/ObjectOutputStream.java
3294 (writeObject, callWriteMethod): Replaced reflection with accessing
3295 cached info in ObjectStreamClass.
3296 (getMethod): Removed.
3297 * java/io/ObjectStreamClass.java
3298 (findMethod): Added check to make sure the method found has the
3300 (cacheMethods): Added writeReplace and writeObject methods.
3301 (setFlags): Look at new writeObjectMethod field instead of doing
3303 (writeReplaceMethod): New field.
3304 (writeObjectMethod): New field.
3306 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3307 Jeroen Frijters <jeroen@frijters.net>
3309 * java/io/ObjectInputStream.java
3310 (newObject): Changed prototype. Get a constructor reflect object
3312 (callConstructor): Removed.
3313 (allocateObject): Changed prototype.
3314 (readClassDescriptor): Build the constructor reflection directly.
3315 (readObject): Invoke newObject using the new prototype.
3317 * java/io/ObjectStreamClass.java
3318 (firstNonSerializableParent): Removed.
3319 (firstNonSerializableParentConstructor): Added.
3321 2005-02-21 Mark Wielaard <mark@klomp.org>
3323 * gnu/java/locale/LocaleInformation_en.java: Extend
3324 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3326 2005-02-21 Mark Wielaard <mark@klomp.org>
3328 * java/text/SimpleDateFormat.java
3329 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3330 NullPointerException when formatData is null.
3332 2005-02-21 Mark Wielaard <mark@klomp.org>
3334 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3335 taking dstSavings into account.
3337 2005-02-21 Sven de Marothy <sven@physto.se>
3339 * java/text/SimpleDateFormat.java,
3340 (parse): Set correct DST_OFFSET to the correct value.
3342 2005-02-21 Mark Wielaard <mark@klomp.org>
3344 * java/util/SimpleTimeZone.java (checkRule): Throw
3345 IllegalArgumentException when month out of range.
3347 2005-02-21 Sven de Marothy <sven@physto.se>
3349 * java/util/GregorianCalendar.java,
3350 (add): Don't set fields directly anymore. Use set()
3352 2005-02-21 Mark Wielaard <mark@klomp.org>
3354 * java/text/SimpleDateFormat.java (CompiledField.toString):
3355 Use StringBuffer, not StringBuilder.
3356 (toString): Likewise.
3358 2005-02-21 Sven de Marothy <sven@physto.se>
3360 * java/util/Calendar.java
3361 (clear): Dates should clear to local time.
3362 * java/util/GregorianCalendar.java
3363 (computeTime): Fix priority problem with DAY_OF_WEEK,
3364 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3366 2005-02-21 Sven de Marothy <sven@physto.se>
3368 * java/util/Calendar.java
3369 (Calendar): Constructor should clear fields.
3371 2005-02-21 Sven de Marothy <sven@physto.se>
3373 * java/text/SimpleDateFormat.java
3374 (parse): Tweak handling of 2-year dates
3375 * java/util/Calendar.java
3376 (clear): Clear fields to correct value.
3377 * java/util/GregorianCalendar.java
3378 (computeTime): Correct handling of time zones.
3379 Correct field minimum values.
3381 2005-02-21 Sven de Marothy <sven@physto.se>
3383 * java/util/Calendar.java
3384 (set) Invalidate all fields on first call to set().
3386 2005-02-21 Sven de Marothy <sven@physto.se>
3388 * java/util/GregorianCalendar.java
3389 (computeTime): Fixed handling of time zones.
3391 2005-02-21 Sven de Marothy <sven@physto.se>
3393 * java/util/Calendar.java
3394 (clear): Set values to Epoch instead of zero.
3395 (set): Set isSet to the relevant field pattern instead of just
3397 * java/util/GregorianCalendar.java
3398 (getBundle): Removed.
3399 (getDayOfYear): Removed.
3400 (getFirstDayOfMonth): New private method.
3401 (nonLeniencyCheck): New private method.
3402 (computeTime): Correct handling of insufficient data.
3404 2005-02-21 Sven de Marothy <sven@physto.se>
3406 * java/util/Calendar.java: Invalidate ERA field on setting
3408 * java/util/SimpleTimeZone.java:
3409 (getDaysInMonth): Reimplemented.
3410 * java/util/GregorianCalendar.java:
3411 (getLinearTime): Removed.
3412 (isLeapYear(int,boolean)): Removed.
3413 (before(), after()): Removed.
3414 (computeTime): Reimplemented.
3416 2005-02-21 Sven de Marothy <sven@physto.se>
3418 * java/util/Calendar.java: Reformatted.
3419 * java/util/GregorianCalendar.java: Reformatted.
3420 * java/util/SimpleTimeZone.java: Reformatted.
3422 2005-02-21 Sven de Marothy <sven@physto.se>
3424 * java/util/GregorianCalendar.java
3425 (GregorianCalendar): Update fields in the constructor
3427 2005-02-21 Noa Resare <noa@resare.com>
3429 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3430 (set(int,int)): Set and use new field.
3431 (set(int,int,int)): Check new field.
3433 2005-02-21 Noa Resare <address@hidden>
3435 * java/util/Calendar.java(set):
3436 Fix for DST related regression.
3438 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3440 * java/util/Calendar.java
3441 (setTimeInMillis): Added call to clear, removed computeFields call.
3442 * java/util/Date.java
3443 (Date(int,int,int,int,int,int)): Removed workaround for
3444 GregorianCalendar bug.
3445 * java/util/GregorianCalendar.java
3446 (GregorianCalendar): Chained all constructors to a (new)
3448 (computeTime): Fixed support for lenient month treatment.
3449 (getLinearDay): Return long instead of int.
3450 (calculateDay): Added fields argument and changed day argument
3453 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3455 * java/text/SimpleDateFormat.java
3456 Lots of documentation updates.
3457 (readObject(java.io.ObjectInputStream)): Wraps
3458 IllegalArgumentException as specified.
3459 (compileFormat(String)): Uses standardChars
3460 rather than the local pattern characters.
3461 Throws IllegalArgumentException rather than
3463 (toString()): Extended to include all variables
3465 (translateLocalizedPattern(String, String, String)):
3466 Renamed to better define the use of this method.
3468 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3470 * java/text/DateFormat.java:
3471 Documented pattern character offset constants and
3473 (Field): Added new static fields for new pattern chars.
3474 * java/text/SimpleDateFormat.java:
3475 (CompiledField): Changed name of FieldSizePair class
3476 to CompiledField after adding the character as an
3477 attribute. Changed fields to private and added
3478 accessors to give encapsulation.
3479 (CompiledField.CompiledField(int,int,char)): Extended
3480 with character field.
3481 (CompiledField.getField()): New accessor method.
3482 (CompiledField.getSize()): New acceessor method.
3483 (CompiledField.getCharacter()): New accessor method.
3484 (CompiledField.toString()): Added primarily for debugging.
3485 (standardChars): Now uses extended 24 character sequence.
3486 (compileFormat(String)): Changed to use CompiledField.
3487 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3488 java.text.FieldPosition)): Changed to use CompiledField.
3489 New handler for RFC 822 timezones added.
3491 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3493 * java/text/SimpleDateFormat.java:
3494 (parse(String, java.text.ParsePosition)):
3495 Changed 'E' and 'M' cases to use both
3496 short and long names. Extended 'z'
3497 case to also handle 'Z', and deal
3498 with simple GMT offsets such as +0100.
3499 (computeOffset(String)): New private method,
3500 which converts a GMT offset specification,
3501 such as GMT-0500 to a numeric offset in
3503 * java/util/TimeZone.java:
3504 (timezones()): Added "CEST", the daylight
3505 savings time version of "CET", or Central
3508 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3510 * java/text/SimpleDateFormat.java:
3511 (parse): Set the DST offset to 0 when parsing
3512 GMT offset timezones.
3514 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3516 * java/text/SimpleDateFormat.java:
3517 (parse): Use offset to set ZONE_OFFSET
3518 rather than the DST_OFFSET, so that
3519 GMT offset timezones change the right
3522 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3524 * java/text/SimpleDateFormat.java:
3525 (getDateFormatSymbols()): return a copy
3526 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3527 throw exception on null input
3528 (clone()): implemented to clone
3531 2005-02-21 Sven de Marothy <sven@physto.se>
3533 * java/text/SimpleDateFormat.java
3534 (parse): comparison should be case-insensitive, ignore null
3537 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3539 * gnu/java/beans/IntrospectionIncubator.java
3540 (addMethod) Reverts the patch that ntroduced a regression (see bug
3541 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3543 2005-02-21 Michael Koch <konqueror@gmx.de>
3545 * java/awt/Checkbox.java
3546 (next_checkbox_number): New static variable.
3547 (generateName): New method.
3548 (getUniqueLong): Likewise.
3549 * java/awt/Window.java
3550 (next_window_number): New static variable.
3551 (generateName): New method.
3552 (getUniqueLong): Likewise.
3554 2005-02-21 Mark Wielaard <mark@klomp.org>
3556 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3559 2005-02-21 Andrew Haley <aph@redhat.com>
3561 * Makefile.in: Rebuilt.
3562 * Makefile.am (nat_source_files): Added natLogger.cc.
3563 * java/util/logging/natLogger.cc: New file.
3564 * java/util/logging/Logger.java (getCallerStackFrame): Now
3567 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3569 * Makefile.am (all_property_files): Remove left over.
3570 (classes.stamp): Add stamp for the ONESTEP build, also known as
3571 --enable-libgcj-multifile.
3572 * Makefile.in: Regenerated.
3574 2005-02-21 Michael Koch <konqueror@gmx.de>
3576 * java/awt/Button.java,
3577 java/awt/Container.java,
3579 java/awt/Frame.java,
3580 java/text/CollationElementIterator.java,
3581 java/text/RuleBasedCollator.java,
3582 java/util/PropertyPermission.java:
3583 Fixed formatting issues all over.
3585 2005-02-21 Mark Wielaard <mark@klomp.org>
3587 * java/io/FileDescriptor.java (sync): Add real exception to
3588 SyncFailedException.
3590 2005-02-21 Michael Koch <konqueror@gmx.de>
3592 * java/io/InputStreamReader.java:
3595 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3598 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3600 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3602 * libraries/javalib/gnu/regexp/RE.java,
3603 libraries/javalib/java/io/ObjectInputStream.java,
3604 libraries/javalib/java/security/AllPermission.java,
3605 libraries/javalib/java/security/BasicPermission.java,
3606 libraries/javalib/java/security/Permissions.java,
3607 libraries/javalib/java/text/MessageFormat.java:
3608 Made 'inner' classes real public static inner classes,
3609 and made them final where possible, or removed them
3612 2005-02-20 Michael Koch <konqueror@gmx.de>
3614 * gnu/java/text/FormatCharacterIterator.java:
3615 Removed redundant modifiers.
3617 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3619 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3622 2005-02-19 Michael Koch <konqueror@gmx.de>
3624 * Makefile.am: Added new files in gnu/java/beans and
3625 java/beans/XMLDecoder.java.
3626 * Makefile.in: Regenerated.
3628 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3630 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3631 assignment behavior by using java.lang.reflect.Array.set()
3634 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3636 * gnu/java/beans/EmptyBeanInfo.java,
3637 gnu/java/beans/info/ComponentBeanInfo.java:
3638 Removed unused files.
3640 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3642 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3643 of AppletStub for java.beans.Beans.instantiate.
3644 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3646 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3647 to be conformant with Javadoc guidelines.
3648 (instantiate): Added two more overloaded variants, reworked user
3649 documentation, fixed exception behavior, fixed behavior when
3652 2005-02-19 Mark Wielaard <mark@klomp.org>
3654 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3656 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3658 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3660 * gnu/java/beans/decoder/AbstractContext.java,
3661 gnu/java/beans/decoder/AbstractCreatableContext.java,
3662 gnu/java/beans/decoder/AbstractElementHandler.java,
3663 gnu/java/beans/decoder/AbstractObjectContext.java,
3664 gnu/java/beans/decoder/ArrayContext.java,
3665 gnu/java/beans/decoder/ArrayHandler.java,
3666 gnu/java/beans/decoder/AssemblyException.java,
3667 gnu/java/beans/decoder/BooleanHandler.java,
3668 gnu/java/beans/decoder/ByteHandler.java,
3669 gnu/java/beans/decoder/CharHandler.java,
3670 gnu/java/beans/decoder/ClassHandler.java,
3671 gnu/java/beans/decoder/ConstructorContext.java,
3672 gnu/java/beans/decoder/Context.java,
3673 gnu/java/beans/decoder/DecoderContext.java,
3674 gnu/java/beans/decoder/DefaultExceptionListener.java,
3675 gnu/java/beans/decoder/DoubleHandler.java,
3676 gnu/java/beans/decoder/DummyContext.java,
3677 gnu/java/beans/decoder/DummyHandler.java,
3678 gnu/java/beans/decoder/ElementHandler.java,
3679 gnu/java/beans/decoder/FloatHandler.java,
3680 gnu/java/beans/decoder/GrowableArrayContext.java,
3681 gnu/java/beans/decoder/IndexContext.java,
3682 gnu/java/beans/decoder/IntHandler.java,
3683 gnu/java/beans/decoder/JavaHandler.java,
3684 gnu/java/beans/decoder/LongHandler.java,
3685 gnu/java/beans/decoder/MethodContext.java,
3686 gnu/java/beans/decoder/MethodFinder.java,
3687 gnu/java/beans/decoder/NullHandler.java,
3688 gnu/java/beans/decoder/ObjectContext.java,
3689 gnu/java/beans/decoder/ObjectHandler.java,
3690 gnu/java/beans/decoder/PersistenceParser.java,
3691 gnu/java/beans/decoder/PropertyContext.java,
3692 gnu/java/beans/decoder/ShortHandler.java,
3693 gnu/java/beans/decoder/SimpleHandler.java,
3694 gnu/java/beans/decoder/StaticMethodContext.java,
3695 gnu/java/beans/decoder/StringHandler.java,
3696 gnu/java/beans/decoder/VoidHandler.java: New class
3697 implementing java.beans.XMLDecoder decoding functionality.
3698 * java/beans/XMLDecoder.java: New class.
3700 2005-02-19 Michael Koch <konqueror@gmx.de>
3702 * javax/swing/JTextField.java
3703 (notfiyAction): Added javadoc.
3705 2005-02-19 Sven de Marothy <sven@physto.se>
3707 * javax/swing/SpinnerDateModel.java: Implemented.
3709 2005-02-19 Michael Koch <konqueror@gmx.de>
3711 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3712 * Makefile.in: Regenerated.
3714 2005-02-19 Michael Koch <konqueror@gmx.de>
3716 * gnu/java/nio/SelectorImpl.java:
3717 Reworked import statements.
3718 (register): Removed unused code.
3719 * java/nio/channels/Channels.java: Reformatted.
3720 * java/nio/charset/Charset.java: Likewise.
3721 * java/rmi/server/RemoteObject.java
3722 (serialVersionUID): Made private.
3723 * java/rmi/server/UID.java
3724 (serialVersionUID): Likewise.
3726 2005-02-19 Michael Koch <konqueror@gmx.de>
3728 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3729 gnu/java/net/protocol/ftp/BlockInputStream.java,
3730 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3731 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3732 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3733 gnu/java/net/protocol/ftp/DTPInputStream.java,
3734 gnu/java/net/protocol/ftp/DTP.java,
3735 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3736 gnu/java/net/protocol/ftp/FTPConnection.java,
3737 gnu/java/net/protocol/ftp/FTPException.java,
3738 gnu/java/net/protocol/ftp/FTPResponse.java,
3739 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3740 gnu/java/net/protocol/ftp/Handler.java,
3741 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3742 gnu/java/net/protocol/ftp/StreamInputStream.java,
3743 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3744 gnu/java/net/CRLFInputStream.java,
3745 gnu/java/net/CRLFOutputStream.java,
3746 gnu/java/net/GetLocalHostAction.java,
3747 gnu/java/net/protocol/ftp/package.html: New files.
3748 * Makefile.am: Added new files.
3749 * Makefile.in: Regenerated.
3751 2005-02-18 Tom Tromey <tromey@redhat.com>
3753 * link.cc (make_vtable): Remove abstract method check.
3754 (append_partial_itable): Likewise.
3757 * verify.cc (type::equals): Fixed test.
3758 * testsuite/libjava.lang/PR20056.out: New file.
3759 * testsuite/libjava.lang/PR20056.java: New file.
3761 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3763 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3764 not the HashEntry. Reported by Jean-Marie White.
3766 2005-02-18 Tom Tromey <tromey@redhat.com>
3769 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3770 * link.cc (has_field_p): New function.
3771 * verify.cc (check_field_constant): Added 'putfield' argument.
3772 (verify_instructions_0): Updated.
3773 (type::equals): New method.
3775 2005-02-18 Anthony Green <green@redhat.com>
3777 * NEWS: Draft of libgcj NEWS for 4.0.
3779 2005-02-18 Anthony Green <green@redhat.com>
3781 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3782 architecture names to "i386" for compatibility reasons. Win32
3785 2005-02-18 Anthony Green <green@redhat.com>
3787 * gij.cc (version): Change year for '--version' to 2005.
3788 * gnu/gcj/convert/Convert.java: Ditto.
3789 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3790 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3792 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3793 recent copyright year in `--version' output.
3795 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3797 * java/nio/charset/Charset.java (forName): Throws
3798 IllegalArgumentException when argument is null
3799 and added documentation.
3801 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3803 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3804 Move the position of the source buffer forward.
3806 2005-02-17 Tom Tromey <tromey@redhat.com>
3808 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3809 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3810 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3811 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3812 Changed type of second argument. Rewrote.
3813 (make_vtable): Use it.
3814 (append_partial_itable): Updated.
3815 (layout_vtable_methods): Updated.
3817 2005-02-17 Michael Koch <konqueror@gmx.de>
3819 * gnu/java/net/PlainSocketImpl.java
3820 (shutdownInput): Added javadoc.
3821 (shutdownOutput): Likewise.
3823 2005-02-17 Michael Koch <konqueror@gmx.de>
3825 * javax/print/attribute/standard/Chromaticity.java,
3826 javax/print/attribute/standard/Destination.java,
3827 javax/print/attribute/standard/MediaPrintableArea.java,
3828 javax/print/attribute/standard/MediaSize.java: New files.
3829 * Makefile.am: Added new files.
3830 * Makefile.in: Regenerated.
3832 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3833 Michael Koch <konqueror@gmx.de>
3835 * gnu/java/net/protocol/http/Cookie.java,
3836 gnu/java/net/protocol/http/HTTPConnection.java,
3837 gnu/java/net/protocol/http/HTTPDateFormat.java,
3838 gnu/java/net/protocol/http/Request.java,
3839 gnu/java/nio/PipeImpl.java,
3840 gnu/java/rmi/dgc/DGCImpl.java,
3841 gnu/java/rmi/server/ConnectionRunnerPool.java,
3842 gnu/java/rmi/server/UnicastConnectionManager.java,
3843 gnu/java/security/der/DERWriter.java,
3844 gnu/java/security/pkcs/SignerInfo.java,
3845 gnu/java/security/provider/EncodedKeyFactory.java,
3846 gnu/java/security/provider/GnuDHPublicKey.java,
3847 gnu/java/security/provider/GnuDSAPrivateKey.java,
3848 gnu/java/security/provider/GnuDSAPublicKey.java,
3849 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3850 gnu/java/security/x509/X500DistinguishedName.java,
3851 gnu/java/security/x509/X509CRL.java,
3852 gnu/java/security/x509/X509CRLEntry.java,
3853 gnu/java/security/x509/X509Certificate.java,
3854 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3855 gnu/java/security/x509/ext/CertificatePolicies.java,
3856 gnu/java/security/x509/ext/PolicyConstraint.java,
3857 gnu/xml/dom/Consumer.java,
3858 gnu/xml/dom/DomCharacterData.java,
3859 gnu/xml/dom/DomDocument.java,
3860 gnu/xml/dom/DomDocumentBuilder.java,
3861 gnu/xml/dom/DomIterator.java,
3862 gnu/xml/dom/DomNode.java,
3863 gnu/xml/dom/DomXPathExpression.java,
3864 gnu/xml/dom/DomXPathResult.java,
3865 gnu/xml/dom/JAXPFactory.java,
3866 gnu/xml/pipeline/CallFilter.java,
3867 gnu/xml/pipeline/DomConsumer.java,
3868 gnu/xml/pipeline/LinkFilter.java,
3869 gnu/xml/pipeline/NSFilter.java,
3870 gnu/xml/pipeline/TeeConsumer.java,
3871 gnu/xml/pipeline/ValidationConsumer.java,
3872 gnu/xml/pipeline/WellFormednessFilter.java,
3873 gnu/xml/pipeline/XIncludeFilter.java,
3874 gnu/xml/pipeline/XsltFilter.java,
3875 gnu/xml/transform/ApplyImportsNode.java,
3876 gnu/xml/transform/Bindings.java,
3877 gnu/xml/transform/DocumentFunction.java,
3878 gnu/xml/transform/FormatNumberFunction.java,
3879 gnu/xml/transform/NodeNumberNode.java,
3880 gnu/xml/transform/NumberNode.java,
3881 gnu/xml/transform/Stylesheet.java,
3882 gnu/xml/transform/SystemPropertyFunction.java,
3883 gnu/xml/transform/Template.java,
3884 gnu/xml/transform/TemplatesImpl.java,
3885 gnu/xml/transform/TransformerImpl.java,
3886 gnu/xml/transform/ValueOfNode.java,
3887 gnu/xml/transform/XSLURIResolver.java,
3888 gnu/xml/util/DoParse.java,
3889 gnu/xml/util/Resolver.java,
3890 gnu/xml/xpath/Expr.java,
3891 gnu/xml/xpath/FunctionCall.java,
3892 gnu/xml/xpath/RelationalExpr.java,
3893 gnu/xml/xpath/Selector.java,
3894 gnu/xml/xpath/XPathParser.java:
3895 Reworked import statements, fixed modifier order and some little
3898 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3900 * java/nio/ByteBufferImpl.java (compact):
3901 Set position and limit even if no bytes were moved.
3903 2005-02-17 Michael Koch <konqueror@gmx.de>
3905 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3906 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3907 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3908 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3909 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3910 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3911 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3912 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3913 * java/nio/FloatBufferImpl.java (compact): Set position.
3914 * java/nio/CharBufferImpl.java (compact): Likewise.
3915 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3916 * java/nio/IntBufferImpl.java (compact): Likewise.
3917 * java/nio/LongBufferImpl.java (compact): Likewise.
3918 * java/nio/ShortBufferImpl.java (compact): Likewise.
3920 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3922 * java/nio/ByteBufferImpl.java,
3923 java/nio/CharBufferImpl.java,
3924 java/nio/DirectByteBufferImpl.java,
3925 java/nio/DoubleBufferImpl.java,
3926 java/nio/FloatBufferImpl.java,
3927 java/nio/IntBufferImpl.java,
3928 java/nio/LongBufferImpl.java,
3929 java/nio/MappedByteBufferImpl.java,
3930 java/nio/ShortBufferImpl.java
3931 (compact): Added explicit read-only check and invalidate mark.
3933 2005-02-17 Michael Koch <konqueror@gmx.de>
3935 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3936 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3937 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3938 gnu/java/awt/peer/gtk/GdkGraphics.java,
3939 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3940 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3941 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3942 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3943 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3944 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3945 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3946 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3947 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3948 gnu/java/awt/peer/gtk/GtkClipboard.java,
3949 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3950 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3951 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3952 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3953 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3954 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3955 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3956 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3957 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3958 gnu/java/awt/peer/gtk/GtkToolkit.java,
3959 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3960 java/applet/Applet.java,
3961 java/awt/AWTError.java,
3962 java/awt/AWTEvent.java,
3963 java/awt/AWTEventMulticaster.java,
3964 java/awt/AWTException.java,
3965 java/awt/AWTKeyStroke.java,
3966 java/awt/AWTPermission.java,
3967 java/awt/ActiveEvent.java,
3968 java/awt/Adjustable.java,
3969 java/awt/AlphaComposite.java,
3970 java/awt/AttributeValue.java,
3971 java/awt/BorderLayout.java,
3972 java/awt/BufferCapabilities.java,
3973 java/awt/Button.java,
3974 java/awt/Canvas.java,
3975 java/awt/CheckboxGroup.java,
3976 java/awt/CheckboxMenuItem.java,
3977 java/awt/Color.java,
3978 java/awt/ColorPaintContext.java,
3979 java/awt/Component.java,
3980 java/awt/ComponentOrientation.java,
3981 java/awt/Composite.java,
3982 java/awt/CompositeContext.java,
3983 java/awt/Container.java,
3984 java/awt/ContainerOrderFocusTraversalPolicy.java,
3985 java/awt/DefaultFocusTraversalPolicy.java,
3986 java/awt/Dialog.java,
3987 java/awt/Dimension.java,
3988 java/awt/DisplayMode.java,
3989 java/awt/EventQueue.java,
3990 java/awt/FileDialog.java,
3991 java/awt/FontFormatException.java,
3992 java/awt/Graphics.java,
3993 java/awt/Graphics2D.java,
3994 java/awt/GraphicsConfigTemplate.java,
3995 java/awt/GraphicsConfiguration.java,
3996 java/awt/GraphicsDevice.java,
3997 java/awt/GridBagLayout.java,
3998 java/awt/GridBagLayoutInfo.java,
3999 java/awt/GridLayout.java,
4000 java/awt/HeadlessException.java,
4001 java/awt/IllegalComponentStateException.java,
4002 java/awt/Image.java,
4003 java/awt/Insets.java,
4004 java/awt/ItemSelectable.java,
4005 java/awt/JobAttributes.java,
4006 java/awt/KeyEventDispatcher.java,
4007 java/awt/KeyEventPostProcessor.java,
4008 java/awt/KeyboardFocusManager.java,
4009 java/awt/Label.java,
4010 java/awt/LayoutManager.java,
4011 java/awt/MenuBar.java,
4012 java/awt/MenuComponent.java,
4013 java/awt/MenuContainer.java,
4014 java/awt/PageAttributes.java,
4015 java/awt/Paint.java,
4016 java/awt/PaintContext.java,
4017 java/awt/Panel.java,
4018 java/awt/Point.java,
4019 java/awt/Polygon.java,
4020 java/awt/PrintGraphics.java,
4021 java/awt/PrintJob.java,
4022 java/awt/Rectangle.java,
4023 java/awt/RenderingHints.java,
4024 java/awt/Shape.java,
4025 java/awt/Stroke.java,
4026 java/awt/SystemColor.java,
4027 java/awt/Toolkit.java,
4028 java/awt/Transparency.java,
4029 java/awt/Window.java,
4030 java/awt/color/CMMException.java,
4031 java/awt/color/ColorSpace.java,
4032 java/awt/color/ICC_ColorSpace.java,
4033 java/awt/color/ICC_Profile.java,
4034 java/awt/color/ProfileDataException.java,
4035 java/awt/datatransfer/FlavorTable.java,
4036 java/awt/datatransfer/MimeTypeParseException.java,
4037 java/awt/datatransfer/Transferable.java,
4038 java/awt/datatransfer/UnsupportedFlavorException.java,
4039 java/awt/dnd/Autoscroll.java,
4040 java/awt/dnd/DnDConstants.java,
4041 java/awt/dnd/DragGestureListener.java,
4042 java/awt/dnd/DragSourceAdapter.java,
4043 java/awt/dnd/DragSourceDropEvent.java,
4044 java/awt/dnd/DragSourceListener.java,
4045 java/awt/dnd/DragSourceMotionListener.java,
4046 java/awt/dnd/DropTargetAdapter.java,
4047 java/awt/dnd/DropTargetContext.java,
4048 java/awt/dnd/DropTargetListener.java,
4049 java/awt/dnd/InvalidDnDOperationException.java,
4050 java/awt/dnd/MouseDragGestureRecognizer.java,
4051 java/awt/dnd/peer/DropTargetContextPeer.java,
4052 java/awt/event/AWTEventListener.java,
4053 java/awt/event/AWTEventListenerProxy.java,
4054 java/awt/event/ActionEvent.java,
4055 java/awt/event/AdjustmentEvent.java,
4056 java/awt/event/AdjustmentListener.java,
4057 java/awt/event/ComponentAdapter.java,
4058 java/awt/event/ComponentEvent.java,
4059 java/awt/event/ComponentListener.java,
4060 java/awt/event/ContainerAdapter.java,
4061 java/awt/event/ContainerEvent.java,
4062 java/awt/event/ContainerListener.java,
4063 java/awt/event/FocusAdapter.java,
4064 java/awt/event/FocusEvent.java,
4065 java/awt/event/FocusListener.java,
4066 java/awt/event/InputEvent.java,
4067 java/awt/event/InputMethodEvent.java,
4068 java/awt/event/InputMethodListener.java,
4069 java/awt/event/InvocationEvent.java,
4070 java/awt/event/ItemEvent.java,
4071 java/awt/event/ItemListener.java,
4072 java/awt/event/KeyAdapter.java,
4073 java/awt/event/KeyEvent.java,
4074 java/awt/event/KeyListener.java,
4075 java/awt/event/MouseAdapter.java,
4076 java/awt/event/MouseEvent.java,
4077 java/awt/event/MouseListener.java,
4078 java/awt/event/MouseMotionAdapter.java,
4079 java/awt/event/MouseMotionListener.java,
4080 java/awt/event/MouseWheelEvent.java,
4081 java/awt/event/MouseWheelListener.java,
4082 java/awt/event/PaintEvent.java,
4083 java/awt/event/TextEvent.java,
4084 java/awt/event/TextListener.java,
4085 java/awt/event/WindowAdapter.java,
4086 java/awt/event/WindowEvent.java,
4087 java/awt/event/WindowFocusListener.java,
4088 java/awt/event/WindowListener.java,
4089 java/awt/event/WindowStateListener.java,
4090 java/awt/font/TextHitInfo.java,
4091 java/awt/geom/CubicCurve2D.java,
4092 java/awt/geom/Dimension2D.java,
4093 java/awt/geom/Ellipse2D.java,
4094 java/awt/geom/IllegalPathStateException.java,
4095 java/awt/geom/Line2D.java,
4096 java/awt/geom/NoninvertibleTransformException.java,
4097 java/awt/geom/PathIterator.java,
4098 java/awt/geom/Point2D.java,
4099 java/awt/geom/QuadCurve2D.java,
4100 java/awt/geom/RectangularShape.java,
4101 java/awt/geom/RoundRectangle2D.java,
4102 java/awt/im/InputContext.java,
4103 java/awt/im/InputMethodHighlight.java,
4104 java/awt/im/InputMethodRequests.java,
4105 java/awt/im/InputSubset.java,
4106 java/awt/im/spi/InputMethod.java,
4107 java/awt/im/spi/InputMethodDescriptor.java,
4108 java/awt/image/BandCombineOp.java,
4109 java/awt/image/BandedSampleModel.java,
4110 java/awt/image/ByteLookupTable.java,
4111 java/awt/image/ComponentSampleModel.java,
4112 java/awt/image/DataBuffer.java,
4113 java/awt/image/DataBufferByte.java,
4114 java/awt/image/DataBufferDouble.java,
4115 java/awt/image/DataBufferFloat.java,
4116 java/awt/image/DataBufferInt.java,
4117 java/awt/image/DataBufferShort.java,
4118 java/awt/image/DataBufferUShort.java,
4119 java/awt/image/ImagingOpException.java,
4120 java/awt/image/Kernel.java,
4121 java/awt/image/LookupTable.java,
4122 java/awt/image/MultiPixelPackedSampleModel.java,
4123 java/awt/image/PackedColorModel.java,
4124 java/awt/image/PixelInterleavedSampleModel.java,
4125 java/awt/image/RGBImageFilter.java,
4126 java/awt/image/Raster.java,
4127 java/awt/image/RasterFormatException.java,
4128 java/awt/image/SampleModel.java,
4129 java/awt/image/ShortLookupTable.java,
4130 java/awt/image/SinglePixelPackedSampleModel.java,
4131 java/awt/image/WritableRaster.java,
4132 java/awt/print/PrinterAbortException.java,
4133 java/awt/print/PrinterException.java,
4134 java/awt/print/PrinterIOException.java,
4135 java/beans/AppletInitializer.java,
4136 java/beans/ExceptionListener.java,
4137 java/beans/PropertyChangeEvent.java,
4138 java/beans/PropertyChangeListenerProxy.java,
4139 java/beans/PropertyChangeSupport.java,
4140 java/beans/PropertyDescriptor.java,
4141 java/beans/VetoableChangeListenerProxy.java,
4142 java/beans/VetoableChangeSupport.java,
4143 java/io/BufferedReader.java,
4144 java/io/ByteArrayInputStream.java,
4145 java/io/ByteArrayOutputStream.java,
4146 java/io/CharArrayReader.java,
4147 java/io/CharArrayWriter.java,
4148 java/io/CharConversionException.java,
4149 java/io/DataInput.java,
4150 java/io/DataInputStream.java,
4151 java/io/DataOutput.java,
4152 java/io/DataOutputStream.java,
4153 java/io/EOFException.java,
4154 java/io/FileInputStream.java,
4155 java/io/FileNotFoundException.java,
4156 java/io/FileOutputStream.java,
4157 java/io/FilenameFilter.java,
4158 java/io/FilterInputStream.java,
4159 java/io/FilterOutputStream.java,
4160 java/io/FilterReader.java,
4161 java/io/FilterWriter.java,
4162 java/io/IOException.java,
4163 java/io/InputStream.java,
4164 java/io/InterruptedIOException.java,
4165 java/io/LineNumberInputStream.java,
4166 java/io/LineNumberReader.java,
4167 java/io/ObjectInputStream.java,
4168 java/io/ObjectStreamException.java,
4169 java/io/OptionalDataException.java,
4170 java/io/OutputStream.java,
4171 java/io/OutputStreamWriter.java,
4172 java/io/PrintStream.java,
4173 java/io/PrintWriter.java,
4174 java/io/PushbackInputStream.java,
4175 java/io/PushbackReader.java,
4176 java/io/RandomAccessFile.java,
4177 java/io/Reader.java,
4178 java/io/SequenceInputStream.java,
4179 java/io/Serializable.java,
4180 java/io/StreamCorruptedException.java,
4181 java/io/StreamTokenizer.java,
4182 java/io/StringBufferInputStream.java,
4183 java/io/StringWriter.java,
4184 java/io/SyncFailedException.java,
4185 java/io/UTFDataFormatException.java,
4186 java/io/UnsupportedEncodingException.java,
4187 java/io/WriteAbortedException.java,
4188 java/io/Writer.java,
4189 java/lang/AbstractMethodError.java,
4190 java/lang/ArithmeticException.java,
4191 java/lang/ArrayIndexOutOfBoundsException.java,
4192 java/lang/ArrayStoreException.java,
4193 java/lang/AssertionError.java,
4194 java/lang/Boolean.java,
4195 java/lang/Byte.java,
4196 java/lang/Class.java,
4197 java/lang/ClassCastException.java,
4198 java/lang/ClassCircularityError.java,
4199 java/lang/ClassLoader.java,
4200 java/lang/ClassNotFoundException.java,
4201 java/lang/CloneNotSupportedException.java,
4202 java/lang/Cloneable.java,
4203 java/lang/Comparable.java,
4204 java/lang/Compiler.java,
4205 java/lang/Double.java,
4206 java/lang/Error.java,
4207 java/lang/Exception.java,
4208 java/lang/ExceptionInInitializerError.java,
4209 java/lang/Float.java,
4210 java/lang/IllegalAccessError.java,
4211 java/lang/IllegalAccessException.java,
4212 java/lang/IllegalArgumentException.java,
4213 java/lang/IllegalMonitorStateException.java,
4214 java/lang/IllegalStateException.java,
4215 java/lang/IllegalThreadStateException.java,
4216 java/lang/IncompatibleClassChangeError.java,
4217 java/lang/IndexOutOfBoundsException.java,
4218 java/lang/InheritableThreadLocal.java,
4219 java/lang/InstantiationError.java,
4220 java/lang/InstantiationException.java,
4221 java/lang/Integer.java,
4222 java/lang/InternalError.java,
4223 java/lang/InterruptedException.java,
4224 java/lang/LinkageError.java,
4225 java/lang/Long.java,
4226 java/lang/NegativeArraySizeException.java,
4227 java/lang/NoClassDefFoundError.java,
4228 java/lang/NoSuchFieldError.java,
4229 java/lang/NoSuchFieldException.java,
4230 java/lang/NoSuchMethodError.java,
4231 java/lang/NoSuchMethodException.java,
4232 java/lang/NullPointerException.java,
4233 java/lang/Number.java,
4234 java/lang/NumberFormatException.java,
4235 java/lang/OutOfMemoryError.java,
4236 java/lang/Process.java,
4237 java/lang/Runnable.java,
4238 java/lang/Runtime.java,
4239 java/lang/RuntimeException.java,
4240 java/lang/RuntimePermission.java,
4241 java/lang/SecurityException.java,
4242 java/lang/SecurityManager.java,
4243 java/lang/Short.java,
4244 java/lang/StackOverflowError.java,
4245 java/lang/StackTraceElement.java,
4246 java/lang/StringBuffer.java,
4247 java/lang/StringIndexOutOfBoundsException.java,
4248 java/lang/ThreadDeath.java,
4249 java/lang/ThreadGroup.java,
4250 java/lang/Throwable.java,
4251 java/lang/UnsatisfiedLinkError.java,
4252 java/lang/UnsupportedOperationException.java,
4253 java/lang/VerifyError.java,
4254 java/lang/VirtualMachineError.java,
4255 java/lang/reflect/AccessibleObject.java,
4256 java/lang/reflect/Array.java,
4257 java/lang/reflect/InvocationTargetException.java,
4258 java/lang/reflect/Member.java,
4259 java/lang/reflect/Modifier.java,
4260 java/lang/reflect/Proxy.java,
4261 java/lang/reflect/ReflectPermission.java,
4262 java/lang/reflect/UndeclaredThrowableException.java,
4263 java/math/BigInteger.java,
4264 java/net/NetworkInterface.java,
4265 java/nio/ByteBufferHelper.java,
4266 java/nio/ByteBufferImpl.java,
4267 java/nio/DirectByteBufferImpl.java,
4268 java/nio/DoubleBufferImpl.java,
4269 java/nio/FloatBufferImpl.java,
4270 java/nio/IntBufferImpl.java,
4271 java/nio/LongBufferImpl.java,
4272 java/nio/ShortBufferImpl.java,
4273 java/nio/channels/Channel.java,
4274 java/nio/channels/IllegalBlockingModeException.java,
4275 java/nio/charset/spi/CharsetProvider.java,
4276 java/security/AccessControlException.java,
4277 java/security/BasicPermission.java,
4278 java/security/DigestException.java,
4279 java/security/DigestInputStream.java,
4280 java/security/DigestOutputStream.java,
4281 java/security/GeneralSecurityException.java,
4282 java/security/Guard.java,
4283 java/security/GuardedObject.java,
4284 java/security/InvalidAlgorithmParameterException.java,
4285 java/security/InvalidKeyException.java,
4286 java/security/InvalidParameterException.java,
4287 java/security/Key.java,
4288 java/security/KeyException.java,
4289 java/security/KeyManagementException.java,
4290 java/security/KeyStoreException.java,
4291 java/security/MessageDigestSpi.java,
4292 java/security/NoSuchAlgorithmException.java,
4293 java/security/NoSuchProviderException.java,
4294 java/security/Permission.java,
4295 java/security/PermissionCollection.java,
4296 java/security/Permissions.java,
4297 java/security/Principal.java,
4298 java/security/PrivateKey.java,
4299 java/security/PrivilegedActionException.java,
4300 java/security/ProviderException.java,
4301 java/security/PublicKey.java,
4302 java/security/SecureRandom.java,
4303 java/security/SecureRandomSpi.java,
4304 java/security/SignatureException.java,
4305 java/security/SignatureSpi.java,
4306 java/security/SignedObject.java,
4307 java/security/Signer.java,
4308 java/security/UnrecoverableKeyException.java,
4309 java/security/UnresolvedPermission.java,
4310 java/security/acl/AclNotFoundException.java,
4311 java/security/acl/LastOwnerException.java,
4312 java/security/acl/NotOwnerException.java,
4313 java/security/cert/CertPath.java,
4314 java/security/cert/CertPathBuilderException.java,
4315 java/security/cert/CertPathValidatorException.java,
4316 java/security/cert/CertStoreException.java,
4317 java/text/BreakIterator.java,
4318 java/text/ChoiceFormat.java,
4319 java/text/CollationElementIterator.java,
4320 java/text/CollationKey.java,
4321 java/text/Collator.java,
4322 java/text/DateFormat.java,
4323 java/text/DateFormatSymbols.java,
4324 java/text/DecimalFormat.java,
4325 java/text/DecimalFormatSymbols.java,
4326 java/text/FieldPosition.java,
4327 java/text/Format.java,
4328 java/text/NumberFormat.java,
4329 java/text/ParseException.java,
4330 java/text/ParsePosition.java,
4331 java/text/StringCharacterIterator.java,
4332 java/util/AbstractCollection.java,
4333 java/util/AbstractList.java,
4334 java/util/AbstractMap.java,
4335 java/util/AbstractSequentialList.java,
4336 java/util/AbstractSet.java,
4337 java/util/ArrayList.java,
4338 java/util/Arrays.java,
4339 java/util/BitSet.java,
4340 java/util/Collection.java,
4341 java/util/Collections.java,
4342 java/util/Comparator.java,
4343 java/util/ConcurrentModificationException.java,
4344 java/util/Currency.java,
4345 java/util/Date.java,
4346 java/util/EmptyStackException.java,
4347 java/util/Enumeration.java,
4348 java/util/EventListener.java,
4349 java/util/EventListenerProxy.java,
4350 java/util/EventObject.java,
4351 java/util/HashMap.java,
4352 java/util/HashSet.java,
4353 java/util/Hashtable.java,
4354 java/util/IdentityHashMap.java,
4355 java/util/Iterator.java,
4356 java/util/LinkedHashSet.java,
4357 java/util/LinkedList.java,
4358 java/util/List.java,
4359 java/util/ListIterator.java,
4360 java/util/ListResourceBundle.java,
4362 java/util/MissingResourceException.java,
4363 java/util/NoSuchElementException.java,
4364 java/util/Observable.java,
4365 java/util/Observer.java,
4366 java/util/Properties.java,
4367 java/util/PropertyPermissionCollection.java,
4368 java/util/RandomAccess.java,
4370 java/util/SortedMap.java,
4371 java/util/SortedSet.java,
4372 java/util/Stack.java,
4373 java/util/StringTokenizer.java,
4374 java/util/TooManyListenersException.java,
4375 java/util/TreeMap.java,
4376 java/util/TreeSet.java,
4377 java/util/Vector.java,
4378 java/util/logging/FileHandler.java,
4379 java/util/logging/Level.java,
4380 java/util/prefs/BackingStoreException.java,
4381 java/util/prefs/InvalidPreferencesFormatException.java,
4382 java/util/prefs/Preferences.java,
4383 javax/accessibility/Accessible.java,
4384 javax/accessibility/AccessibleAction.java,
4385 javax/accessibility/AccessibleBundle.java,
4386 javax/accessibility/AccessibleComponent.java,
4387 javax/accessibility/AccessibleContext.java,
4388 javax/accessibility/AccessibleEditableText.java,
4389 javax/accessibility/AccessibleExtendedComponent.java,
4390 javax/accessibility/AccessibleExtendedTable.java,
4391 javax/accessibility/AccessibleHyperlink.java,
4392 javax/accessibility/AccessibleHypertext.java,
4393 javax/accessibility/AccessibleIcon.java,
4394 javax/accessibility/AccessibleKeyBinding.java,
4395 javax/accessibility/AccessibleRelation.java,
4396 javax/accessibility/AccessibleRelationSet.java,
4397 javax/accessibility/AccessibleResourceBundle.java,
4398 javax/accessibility/AccessibleRole.java,
4399 javax/accessibility/AccessibleSelection.java,
4400 javax/accessibility/AccessibleState.java,
4401 javax/accessibility/AccessibleStateSet.java,
4402 javax/accessibility/AccessibleTable.java,
4403 javax/accessibility/AccessibleTableModelChange.java,
4404 javax/accessibility/AccessibleText.java,
4405 javax/accessibility/AccessibleValue.java,
4406 javax/imageio/IIOException.java,
4407 javax/imageio/ImageIO.java,
4408 javax/imageio/spi/IIOServiceProvider.java,
4409 javax/imageio/spi/ImageInputStreamSpi.java,
4410 javax/imageio/spi/ImageOutputStreamSpi.java,
4411 javax/imageio/spi/ImageReaderWriterSpi.java,
4412 javax/imageio/spi/ImageTranscoderSpi.java,
4413 javax/imageio/spi/RegisterableService.java,
4414 javax/imageio/spi/ServiceRegistry.java,
4415 javax/imageio/stream/IIOByteBuffer.java,
4416 javax/imageio/stream/ImageInputStream.java,
4417 javax/imageio/stream/ImageOutputStream.java,
4418 javax/naming/Binding.java,
4419 javax/naming/CannotProceedException.java,
4420 javax/naming/CompositeName.java,
4421 javax/naming/CompoundName.java,
4422 javax/naming/LinkException.java,
4423 javax/naming/LinkRef.java,
4424 javax/naming/NameClassPair.java,
4425 javax/naming/Reference.java,
4426 javax/naming/ReferralException.java,
4427 javax/naming/directory/Attribute.java,
4428 javax/naming/directory/AttributeModificationException.java,
4429 javax/naming/directory/Attributes.java,
4430 javax/naming/directory/DirContext.java,
4431 javax/naming/directory/ModificationItem.java,
4432 javax/naming/directory/SearchControls.java,
4433 javax/naming/directory/SearchResult.java,
4434 javax/naming/event/EventContext.java,
4435 javax/naming/event/EventDirContext.java,
4436 javax/naming/event/NamespaceChangeListener.java,
4437 javax/naming/event/NamingExceptionEvent.java,
4438 javax/naming/event/NamingListener.java,
4439 javax/naming/event/ObjectChangeListener.java,
4440 javax/naming/ldap/Control.java,
4441 javax/naming/ldap/ExtendedResponse.java,
4442 javax/naming/ldap/HasControls.java,
4443 javax/naming/ldap/LdapContext.java,
4444 javax/naming/ldap/UnsolicitedNotification.java,
4445 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4446 javax/naming/ldap/UnsolicitedNotificationListener.java,
4447 javax/naming/spi/DirectoryManager.java,
4448 javax/naming/spi/ResolveResult.java,
4449 javax/naming/spi/Resolver.java,
4450 javax/security/auth/callback/Callback.java,
4451 javax/security/auth/callback/CallbackHandler.java,
4452 javax/security/auth/callback/ChoiceCallback.java,
4453 javax/security/auth/callback/ConfirmationCallback.java,
4454 javax/security/auth/callback/LanguageCallback.java,
4455 javax/security/auth/callback/NameCallback.java,
4456 javax/security/auth/callback/PasswordCallback.java,
4457 javax/security/auth/callback/TextInputCallback.java,
4458 javax/security/auth/callback/TextOutputCallback.java,
4459 javax/security/auth/callback/UnsupportedCallbackException.java,
4460 javax/security/sasl/Sasl.java,
4461 javax/security/sasl/SaslServerFactory.java,
4462 javax/swing/DefaultBoundedRangeModel.java,
4463 javax/swing/JComponent.java,
4464 javax/swing/JList.java,
4465 javax/swing/JProgressBar.java,
4466 javax/swing/JRadioButton.java,
4467 javax/swing/JTextArea.java,
4468 javax/swing/JTextField.java,
4469 javax/swing/JToggleButton.java,
4470 javax/swing/JTree.java,
4471 javax/swing/SpinnerListModel.java,
4472 javax/swing/event/EventListenerList.java,
4473 javax/swing/text/JTextComponent.java,
4474 javax/swing/text/StringContent.java,
4475 javax/swing/text/Utilities.java,
4476 javax/swing/undo/UndoManager.java,
4477 javax/swing/undo/UndoableEditSupport.java,
4478 javax/transaction/HeuristicCommitException.java,
4479 javax/transaction/HeuristicMixedException.java,
4480 javax/transaction/HeuristicRollbackException.java,
4481 javax/transaction/InvalidTransactionException.java,
4482 javax/transaction/NotSupportedException.java,
4483 javax/transaction/RollbackException.java,
4484 javax/transaction/Status.java,
4485 javax/transaction/Synchronization.java,
4486 javax/transaction/SystemException.java,
4487 javax/transaction/Transaction.java,
4488 javax/transaction/TransactionManager.java,
4489 javax/transaction/TransactionRequiredException.java,
4490 javax/transaction/TransactionRolledbackException.java,
4491 javax/transaction/UserTransaction.java,
4492 javax/transaction/xa/XAException.java,
4493 javax/transaction/xa/XAResource.java,
4494 javax/transaction/xa/Xid.java,
4495 javax/xml/XMLConstants.java,
4496 javax/xml/datatype/DatatypeConfigurationException.java,
4497 javax/xml/datatype/DatatypeConstants.java,
4498 javax/xml/datatype/DatatypeFactory.java,
4499 javax/xml/datatype/Duration.java,
4500 javax/xml/datatype/XMLGregorianCalendar.java,
4501 javax/xml/namespace/NamespaceContext.java,
4502 javax/xml/namespace/QName.java,
4503 javax/xml/parsers/DocumentBuilder.java,
4504 javax/xml/parsers/DocumentBuilderFactory.java,
4505 javax/xml/parsers/FactoryConfigurationError.java,
4506 javax/xml/parsers/ParserConfigurationException.java,
4507 javax/xml/parsers/SAXParser.java,
4508 javax/xml/parsers/SAXParserFactory.java,
4509 javax/xml/transform/ErrorListener.java,
4510 javax/xml/transform/OutputKeys.java,
4511 javax/xml/transform/Result.java,
4512 javax/xml/transform/Source.java,
4513 javax/xml/transform/SourceLocator.java,
4514 javax/xml/transform/Templates.java,
4515 javax/xml/transform/Transformer.java,
4516 javax/xml/transform/TransformerConfigurationException.java,
4517 javax/xml/transform/TransformerException.java,
4518 javax/xml/transform/TransformerFactory.java,
4519 javax/xml/transform/TransformerFactoryConfigurationError.java,
4520 javax/xml/transform/URIResolver.java,
4521 javax/xml/transform/dom/DOMLocator.java,
4522 javax/xml/transform/dom/DOMResult.java,
4523 javax/xml/transform/dom/DOMSource.java,
4524 javax/xml/transform/sax/SAXResult.java,
4525 javax/xml/transform/sax/SAXSource.java,
4526 javax/xml/transform/sax/SAXTransformerFactory.java,
4527 javax/xml/transform/sax/TemplatesHandler.java,
4528 javax/xml/transform/sax/TransformerHandler.java,
4529 javax/xml/transform/stream/StreamResult.java,
4530 javax/xml/transform/stream/StreamSource.java,
4531 javax/xml/validation/Schema.java,
4532 javax/xml/validation/SchemaFactory.java,
4533 javax/xml/validation/TypeInfoProvider.java,
4534 javax/xml/validation/Validator.java,
4535 javax/xml/validation/ValidatorHandler.java,
4536 javax/xml/xpath/XPathConstants.java,
4537 javax/xml/xpath/XPathException.java,
4538 javax/xml/xpath/XPathExpression.java,
4539 javax/xml/xpath/XPathExpressionException.java,
4540 javax/xml/xpath/XPathFactory.java,
4541 javax/xml/xpath/XPathFactoryConfigurationException.java,
4542 javax/xml/xpath/XPathFunction.java,
4543 javax/xml/xpath/XPathFunctionException.java,
4544 javax/xml/xpath/XPathFunctionResolver.java:
4545 Fixed usage of @author tag, reworked import statements,
4546 removed CVS tags, changed the modifier order and fixed
4547 HTML usage in javadocs.
4549 2005-02-16 Julian Scheid <julian@sektor37.de>
4551 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4553 (encodeLoop): Likewise.
4555 2005-02-16 Mark Wielaard <mark@klomp.org>
4557 * Makefile.am (ordinary_java_source_files): Add new files
4558 gnu/java/security/ber/BER.java,
4559 gnu/java/security/ber/BEREncodingException.java,
4560 gnu/java/security/ber/BERReader.java,
4561 gnu/java/security/ber/BERValue.java,
4562 gnu/java/security/pkcs/PKCS7SignedData.java and
4563 gnu/java/security/pkcs/SignerInfo.java.
4564 * Makefile.in: Regenerated.
4566 2005-02-16 Casey Marshall <csm@gnu.org>
4568 * gnu/java/security/provider/GnuDSAPrivateKey.java
4569 (encodedKey): new field.
4570 (getFormat): return "PKCS#8".
4571 (getEncoded): implemented.
4572 (toString): check for 'null' values.
4573 * gnu/java/security/provider/GnuDSAPublicKey.java
4574 (encodedKey): new field.
4575 (getFormat): return "X.509".
4576 (getEncoded): implemented.
4577 (toString): check for 'null' values.
4579 2005-02-16 Michael Koch <konqueror@gmx.de>
4581 * java/util/jar/JarFile.java: Imports reworked.
4583 2005-02-16 Mark Wielaard <mark@klomp.org>
4585 * java/util/jar/JarFile.java (verify): Make package private.
4586 (signaturesRead): Likewise.
4587 (verified): Likewise.
4588 (entryCerts): Likewise.
4591 (entries): Construct new JarEnumeration with reference to this.
4592 (JarEnumeration): Make static.
4593 (JarEnumeration.jarfile): New field.
4594 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4595 Compare verified value to Boolean.TRUE or Boolean.False only
4596 when verify is true.
4597 (getEntry): Make synchronized. Compare value of verified to
4599 (getInputStream): Construct EntryInputStream with reference to this.
4600 (getManifest): Make synchronized.
4601 (EntryInputStream): Make static.
4602 (EntryInputStream.jarfile): New field.
4603 (EntryInputStream.EntryInputStream): Check if manifest exists,
4604 before getting attributes.
4605 (eof): Synchronize on jarfile.
4607 2005-02-16 Casey Marshall <csm@gnu.org>
4609 * java/util/jar/JarFile.java (verify): return if the jar is signed
4610 with an unsupported algorithm.
4612 2005-02-16 Mark Wielaard <mark@klomp.org>
4614 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4615 InputStream as argument.
4616 (getInputStream): Construct a new EntryInputStream with the result of
4617 super.getInputStream(entry).
4619 2005-02-16 Casey Marshall <csm@gnu.org>
4621 Signed JAR file support.
4622 * java/net/URLClassLoader.java
4623 (JarURLResource.getCertificates): re-read jar entry to ensure
4624 certificates are picked up.
4625 (findClass): fill in class `signers' field, too.
4626 * java/util/jar/JarFile.java (META_INF): new constant.
4627 (PKCS7_DSA_SUFFIX): new constant.
4628 (PKCS7_RSA_SUFFIX): new constant.
4629 (DIGEST_KEY_SUFFIX): new constant.
4630 (SF_SUFFIX): new constant.
4631 (MD2_OID): new constant.
4632 (MD4_OID): new constant.
4633 (MD5_OID): new constant.
4634 (SHA1_OID): new constant.
4635 (DSA_ENCRYPTION_OID): new constant.
4636 (RSA_ENCRYPTION_OID): new constant.
4637 (signaturesRead): new field.
4638 (verified): new field.
4639 (entryCerts): new field.
4640 (DEBUG): new constant.
4641 (debug): new method.
4642 (JarEnumeration.nextElement): fill in entry certificates, read
4643 signatures if they haven't been read.
4644 (getEntry): likewise.
4645 (getInputStream): verify stream if it hasn't been verified yet.
4646 (readSignatures): new method.
4647 (verify): new method.
4648 (verifyHashes): new method.
4649 (readManifestEntry): new method.
4650 (EntryInputStream): new class.
4651 * gnu/java/io/Base64InputStream.java (decode): new class
4653 * gnu/java/security/der/DERReader.java don't make class
4655 (in): made protected.
4657 (readLength): likewise.
4658 * gnu/java/security/ber/BER.java,
4659 * gnu/java/security/ber/BEREncodingException.java,
4660 * gnu/java/security/ber/BERReader.java,
4661 * gnu/java/security/ber/BERValue.java,
4662 * gnu/java/security/pkcs/PKCS7SignedData.java,
4663 * gnu/java/security/pkcs/SignerInfo.java:
4666 2005-02-16 Tom Tromey <tromey@redhat.com>
4668 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4669 copied file on exit.
4671 2005-02-15 Mark Wielaard <mark@klomp.org>
4673 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4675 2005-02-15 Michael Koch <konqueror@gmx.de>
4677 * gnu/java/awt/peer/gtk/GtkArg.java,
4678 gnu/java/awt/peer/gtk/GtkArgList.java:
4681 2005-02-15 Craig Black <craig.black@aonix.com>
4683 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4684 (postMenuActionEvent): Implement to notify ItemListeners.
4685 * java/awt/CheckboxMenuItem.java
4686 (dispatchEventImpl): Update state on ItemEvent.
4687 * java/awt/MenuItem.java
4688 (processActionEvent): Retarget event source.
4690 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4692 * gnu/java/awt/color/ClutProfileConverter.java,
4693 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4694 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4695 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4696 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4697 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4698 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4699 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4700 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4701 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4702 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4703 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4704 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4705 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4706 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4707 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4708 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4709 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4710 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4711 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4712 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4713 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4714 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4715 gnu/java/awt/peer/gtk/GtkToolkit.java,
4716 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4717 javax/swing/JPopupMenu.java,
4718 javax/swing/JSpinner.java,
4719 javax/swing/SortingFocusTraversalPolicy.java,
4720 javax/swing/SwingUtilities.java,
4721 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4722 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4723 javax/swing/tree/DefaultMutableTreeNode.java:
4724 Removed unused imports and expanded starred
4727 2005-02-15 Mark Wielaard <mark@klomp.org>
4729 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4730 IllegalArgumentException when the given String is null.
4732 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4733 when given keystoke sequence cannot be parsed.
4735 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4736 if one is installed. Only install the given menubar is not null.
4738 * javax/swing/JViewport.java (getViewSize): Return an empty
4739 Dimension when the view isn't set or preferred component size when
4742 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4743 empty Dimension when there is no view set.
4744 (minimumLayoutSize): Likewise.
4745 (layoutContainer): Don't try to layout when there is no view.
4747 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4750 * include/jawt.h: Likewise.
4751 * include/jawt_md.h: Likewise.
4752 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4754 * jni/classpath/classpath_jawt.h: Likewise.
4755 * jni/gtk-peer/gtk_jawt.c: Likewise.
4756 * Makefile.am: Build libjawt.so.
4758 2005-02-15 Michael Koch <konqueror@gmx.de>
4760 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4761 Merged file header with classpath CVS head.
4762 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4763 Merged code formatting with classpath CVS head.
4764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4766 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4767 Handle special JNI strings with 2 '\0' at the end.
4768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4769 Merged file header with classpath CVS head.
4770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4771 Merged code formatting with classpath CVS head.
4773 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4776 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4777 (handle_response): Use GTK_RESPONSE_ACCEPT.
4779 2005-02-15 Graydon Hoare <graydon@redhat.com>
4781 * Makefile.am: Fix library build breakage.
4782 * Makefile.in: Regenerate.
4784 2005-02-15 Michael Koch <konqueror@gmx.de>
4786 * javax/swing/JTabbedPane.java
4787 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4789 2005-02-15 Michael Koch <konqueror@gmx.de>
4791 * javax/swing/tree/DefaultMutableTreeNode.java:
4792 Reworked Javadocs all over.
4793 (getPathToRoot): Fixed direction of result array initialization.
4795 2005-02-15 Michael Koch <konqueror@gmx.de>
4797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4798 Fix includes for cairo 0.3.0 snappshot.
4799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4800 Merged file header from classpath CVS HEAD.
4802 2005-02-15 Craig Black <craig.black@aonix.com>
4804 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4805 (copyState): Pass a JNI global reference to signal handler.
4806 (realize_cb): Use and free JNI global reference.
4807 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4808 (create): Pass a JNI global reference to signal handler.
4809 (selection_changed): Match declaration.
4810 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4811 (dispose): Do not remove entries from state tables until after widget is
4814 2005-02-15 Michael Koch <konqueror@gmx.de>
4816 * java/awt/Container.javai (paramString):
4817 If layoutMgr is null just return result of super.paramString().
4818 * java/awt/Scrollbar.java: Reformatted.
4819 * java/awt/im/InputContext.java (static):
4820 Removed redundant initializations.
4822 2005-02-15 Michael Koch <konqueror@gmx.de>
4824 * javax/swing/ImageIcon.java,
4825 javax/swing/UIManager.java,
4826 javax/swing/text/EditorKit.java,
4827 javax/swing/text/Segment.java:
4828 More whitespace cleanups.
4830 2005-02-15 Michael Koch <konqueror@gmx.de>
4832 * gnu/java/awt/EmbeddedWindow.java,
4833 gnu/java/awt/image/ImageDecoder.java,
4834 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4835 java/awt/DefaultKeyboardFocusManager.java,
4836 java/awt/Frame.java,
4837 java/awt/image/RGBImageFilter.java,
4838 javax/swing/AbstractButton.java,
4839 javax/swing/ActionMap.java,
4840 javax/swing/ComponentInputMap.java,
4841 javax/swing/DefaultDesktopManager.java,
4842 javax/swing/ImageIcon.java,
4843 javax/swing/InputMap.java,
4844 javax/swing/JButton.java,
4845 javax/swing/JCheckBox.java,
4846 javax/swing/JCheckBoxMenuItem.java,
4847 javax/swing/JEditorPane.java,
4848 javax/swing/JMenu.java,
4849 javax/swing/JMenuItem.java,
4850 javax/swing/JOptionPane.java,
4851 javax/swing/JRootPane.java,
4852 javax/swing/JTable.java,
4853 javax/swing/MenuSelectionManager.java,
4854 javax/swing/RepaintManager.java,
4855 javax/swing/ScrollPaneLayout.java,
4856 javax/swing/SortingFocusTraversalPolicy.java,
4857 javax/swing/UIManager.java,
4858 javax/swing/ViewportLayout.java,
4859 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4860 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4861 javax/swing/plaf/basic/BasicLabelUI.java,
4862 javax/swing/plaf/basic/BasicListUI.java,
4863 javax/swing/plaf/basic/BasicMenuItemUI.java,
4864 javax/swing/plaf/basic/BasicMenuUI.java,
4865 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4866 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4867 javax/swing/plaf/basic/BasicRootPaneUI.java,
4868 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4869 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4870 javax/swing/plaf/basic/BasicTextUI.java,
4871 javax/swing/table/TableColumnModel.java,
4872 javax/swing/text/AbstractDocument.java,
4873 javax/swing/text/EditorKit.java,
4874 javax/swing/text/Position.java,
4875 javax/swing/text/Segment.java,
4876 javax/swing/text/StyledEditorKit.java,
4877 javax/swing/text/ViewFactory.java:
4878 Cleanup whitespace differences to classpath CVS HEAD.
4880 2005-02-15 Graydon Hoare <graydon@redhat.com>
4882 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4883 (finalize): Call finish from here.
4884 (produce): Not from here.
4885 * Makefile.am (gtk_c_source_files):
4886 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4887 * Makefile.in: Regenerate.
4888 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4890 (cairoDrawGdkTextLayout):
4892 (getPeerTextMetrics):
4893 (getPeerFontMetrics): Remove.
4894 (setFont): Don't call cairoSetFont.
4895 (cairoDrawGlyphVector): Accept font peer argument.
4896 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4898 (ensure_metrics_cairo):
4899 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4900 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4901 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4902 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4904 (metrics_surface): Remove.
4905 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4906 Pass and install font peer.
4908 2005-02-15 Graydon Hoare <graydon@redhat.com>
4910 * Makefile.am: Create "split library" structure.
4911 * Makefile.in: Regenerate.
4913 2005-02-15 Graydon Hoare <graydon@redhat.com>
4915 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4916 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4919 Release GDK lock during upcalls.
4921 2005-02-15 Graydon Hoare <graydon@redhat.com>
4923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4924 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4925 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4926 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4927 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4928 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4929 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4932 (getTextMetrics): New native methods.
4933 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4934 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4935 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4936 * Makefile.in: Regenerate.
4938 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4940 * javax/swing/SwingUtilities.java:
4941 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4942 Implemented and documented.
4943 (getAccessibleChild(java.awt.Component, int)): Likewise.
4944 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4945 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4946 (getAccessibleStateSet(java.awt.Component)): Likewise.
4948 2005-02-15 Michael Koch <konqueror@gmx.de>
4950 * javax/swing/SwingUtilities.java
4951 (getFontMetrics): Removed.
4953 2005-02-15 Michael Koch <konqueror@gmx.de>
4955 * java/awt/Container.java
4956 (paramString): Implemented.
4957 * javax/swing/AbstractButton.java
4958 (paramString): Implemented.
4959 * javax/swing/JComponent.java
4960 (paramString): Implemented.
4961 * javax/swing/JMenu.java
4962 (paramString): Implemented.
4963 * javax/swing/JMenuBar.java
4964 (paramString): Implemented.
4965 * javax/swing/JMenuItem.java
4966 (paramString): Implemented.
4967 * javax/swing/JPopupMenu.java
4968 (paramString): Implemented.
4970 2005-02-15 Michael Koch <konqueror@gmx.de>
4972 * javax/swing/JMenu.java
4973 (uiClassID): Removed.
4974 (JMenu): Set invoker on popup menu.
4975 (getUIClassID): Return id directly.
4976 (getItemCount): Simply return getMenuComponentCount().
4978 (isTopLevelMenu): Simplified.
4979 * javax/swing/JMenuItem.java
4980 (uiClassID): Removed.
4981 (getUIClassID): Return id directly.
4982 * javax/swing/JPopupMenu.java
4983 (uiClassID): Removed.
4984 (JPopupMenu): Always initialize correctly.
4985 (getSubElements): Only return components implementing MenuElement
4987 (HeavyWeightPopup.hide): Removed.
4989 2005-02-15 Michael Koch <konqueror@gmx.de>
4991 * java/awt/image/ReplicateScaleFilter.java
4992 (replicatePixels): Made private.
4993 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4994 (DefaultRGBChooserPanel): Made package private.
4995 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4996 (RecentSwatchPanel): Likewise.
4997 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4998 (MouseInputAdapter): Made abstract.
4999 * javax/swing/tree/DefaultMutableTreeNode.java
5001 (growTree): Likewise.
5003 2005-02-15 Michael Koch <konqueror@gmx.de>
5005 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5008 2005-02-15 Michael Koch <konqueror@gmx.de>
5010 * javax/swing/JComponent.java (getComponentGraphics):
5011 Removed accidently commited code.
5013 2005-02-15 Graydon Hoare <graydon@redhat.com>
5015 * java/awt/dnd/DropTarget.java
5016 (addDropTargetListener): Despite documentation, do not throw.
5017 * javax/swing/JComponent.java: Set a default DropTarget.
5019 2005-02-15 Michael Koch <konqueror@gmx.de>
5021 * javax/swing/AbstractAction.java
5022 (ENABLED_PROPERTY): Removed.
5023 (setEnabled): Replaced constant with real string.
5024 * javax/swing/AbstractButton.java
5025 (createActionPropertyChangeListener.propertyChange): Likewise.
5026 * javax/swing/JComboBox.java
5027 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5028 (EDITABLE_CHANGED_PROPERTY): Removed.
5029 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5030 (ENABLED_CHANGED_PROPERTY):Likewise.
5031 (RENDERER_CHANGED_PROPERTY):Likewise.
5032 (EDITOR_CHANGED_PROPERTY):Likewise.
5033 (MODEL_CHANGED_PROPERTY):Likewise.
5034 (uiClassID):Likewise.
5035 (getUIClassID): Replaced constant with real string.
5036 (setModel):Likewise.
5037 (setEditable):Likewise.
5038 (setMaximumRowCount):Likewise.
5039 (setRenderer):Likewise.
5040 (setEditor):Likewise.
5041 (setEnabled):Likewise.
5042 * javax/swing/JLabel.java
5043 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5044 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5045 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5046 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5047 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5048 (ICON_CHANGED_PROPERTY): Likewise.
5049 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5050 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5051 (TEXT_CHANGED_PROPERTY): Likewise.
5052 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5053 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5054 (setText): Replaced constant with real string.
5055 (setIcon): Likewise.
5056 (setDisabledIcon): Likewise.
5057 (setDisplayedMnemonic): Likewise.
5058 (setIconTextGap): Likewise.
5059 (setVerticalAlignment): Likewise.
5060 (setHorizontalAlignment): Likewise.
5061 (setVerticalTextPosition): Likewise.
5062 (setHorizontalTextPosition): Likewise.
5063 (setLabelFor): Replaced constant with real string.
5064 Fire property change event after property got changed.
5065 * javax/swing/JList.java
5066 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5067 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5068 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5069 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5070 (MODEL_PROPERTY_CHANGED): Likewise.
5071 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5072 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5073 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5074 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5075 (setFixedCellWidth): Reimplemented.
5076 (setFixedCellHeight): Exit if new value is identical.
5077 Replaced constant with real string.
5078 (setSelectionBackground): Likewise.
5079 (setSelectionForeground): Likewise.
5080 (setPrototypeCellValue): Likewise.
5081 (setCellRenderer): Replaced constant with real string.
5082 (setModel): Likewise.
5083 (setSelectionModel): Likewise.
5084 * javax/swing/JMenuBar.java
5085 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5086 (MODEL_CHANGED_PROPERTY): Likewise.
5087 (MARGIN_CHANGED_PROPERTY): Likewise.
5088 (setBorderPainted): Reimplemented.
5089 (setMargin): Likewise.
5090 (setSelectionModel): Replaced constant with real string.
5091 * javax/swing/JPopupMenu.java
5092 (LABEL_CHANGED_PROPERTY): Removed.
5093 (VISIBLE_CHANGED_PROPERTY): Likewise.
5094 (borderPainted): Likewise.
5095 (setLabel): Replaced constant with real string.
5096 (setVisible): Exit if new value is identical.
5097 Replaced constant with real string.
5098 * javax/swing/JProgressBar.java
5099 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5100 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5101 (STRING_CHANGED_PROPERTY): Likewise.
5102 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5103 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5104 (setOrientation): Replaced constant with real string.
5105 (setStringPainted): Likewise.
5106 (setString): Likewise.
5107 (setBorderPainted): Likewise.
5108 (setIndeterminate): Likewise.
5109 * javax/swing/JScrollBar.java
5110 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5111 (MODEL_CHANGED_PROPERTY): Likewise.
5112 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5113 (setOrientation): Replaced constant with real string.
5114 (setModel): Likewise.
5115 (setUnitIncrement): Likewise.
5116 (setBlockIncrement): Likewise.
5117 * javax/swing/JScrollPane.java
5118 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5119 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5120 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5121 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5122 (LAYOUT_CHANGED_PROPERTY): Likewise.
5123 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5124 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5125 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5126 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5127 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5128 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5129 (setComponentOrientation): Replaced constant with real string.
5130 (setColumnHeader): Likewise.
5131 (setHorizontalScrollBar): Likewise.
5132 (setHorizontalScrollBarPolicy): Likewise.
5133 (setRowHeader): Likewise.
5134 (setVerticalScrollBar): Likewise.
5135 (setVerticalScrollBarPolicy): Likewise.
5136 (setWheelScrollingEnabled): Likewise.
5137 (setViewport): Likewise.
5138 (setViewportBorder): Likewise.
5139 * javax/swing/JSlider.java
5140 (INVERTED_CHANGED_PROPERTY): Removed.
5141 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5142 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5143 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5144 (MODEL_CHANGED_PROPERTY): Likewise.
5145 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5146 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5147 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5148 (setModel): Replaced constant with real string.
5149 (setOrientation): Likewise.
5150 (setLabelTable): Likewise.
5151 (setInverted): Likewise.
5152 (setMajorTickSpacing): Likewise.
5153 (setMinorTickSpacing): Likewise.
5154 (setPaintTicks): Likewise.
5155 (setPaintLabels): Likewise.
5156 * javax/swing/JTabbedPane.java
5157 (MODEL_CHANGED_PROPERTY): Removed.
5158 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5159 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5160 (setModel): Replaced constant with real string.
5161 (setTabPlacement): Likewise.
5162 (setTabLayoutPolicy): Likewise.
5163 * javax/swing/JToolBar.java
5164 (ORIENTATION_CHANGED_PROPERTY): Removed.
5165 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5166 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5167 (MARGIN_CHANGED_PROPERTY): Likewise.
5168 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5169 (setRollover): Replaced constant with real string.
5170 (setMargin): Likewise.
5171 (setBorderPainted): Likewise.
5172 (setFloatable): Likewise.
5173 (setOrientation): Likewise.
5174 * javax/swing/plaf/basic/BasicComboBoxUI.java
5175 (PropertyChangeHandler.propertyChange): Likewise.
5176 * javax/swing/plaf/basic/BasicComboPopup.java
5177 (PropertyChangeHandler.propertyChange): Likewise.
5178 * javax/swing/plaf/basic/BasicMenuBarUI.java
5179 (PropertyChangeHandler.propertyChange): Likewise.
5180 * javax/swing/plaf/basic/BasicProgressBarUI.java
5181 (PropertyChangeHandler.propertyChange): Likewise.
5182 * javax/swing/plaf/basic/BasicScrollBarUI.java
5183 (PropertyChangeHandler.propertyChange): Likewise.
5184 * javax/swing/plaf/basic/BasicSliderUI.java
5185 (PropertyChangeHandler.propertyChange): Likewise.
5186 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5187 (PropertyChangeHandler.propertyChange): Likewise.
5188 * javax/swing/plaf/basic/BasicToolBarUI.java
5189 (PropertyChangeHandler.propertyChange): Likewise.
5191 2005-02-15 Michael Koch <konqueror@gmx.de>
5193 * javax/swing/DefaultButtonModel.java
5194 (changeState): Made private.
5195 * javax/swing/DefaultDesktopManager.java
5196 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5197 * javax/swing/JLayeredPane.java
5198 (layerToRange): Made private.
5199 (incrLayer): Likewise.
5200 (decrLayer): Likewise.
5201 * javax/swing/JTable.java
5202 (dragEnabled): Likewise.
5203 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5204 * javax/swing/KeyStroke.java
5205 (Keystroke): Made private.
5206 * javax/swing/TransferHandler.java
5207 (COMMAND_COPY): Likewise.
5208 (COMMAND_CUT): Likewise.
5209 (COMMAND_PASTE): Likewise.
5211 2005-02-15 Michael Koch <konqueror@gmx.de>
5213 * javax/swing/JTextField.java
5214 (postActionEvent): Use text in field when actionCommand is null.
5215 (getActionCommand): Removed.
5217 2005-02-15 Michael Koch <konqueror@gmx.de>
5219 * javax/swing/AbstractSet.java: Removed.
5220 * Makefile.am: Removed javax/swing/AbstractSet.java.
5221 * Makefile.in: Regenerated.
5223 2005-02-15 Michael Koch <konqueror@gmx.de>
5225 * java/awt/Window.java
5226 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5227 * java/awt/dnd/DnDConstants.java
5228 (DnDConstants): New private constructor.
5230 2005-02-15 Michael Koch <konqueror@gmx.de>
5232 * javax/swing/DefaultCellRenderer.java: Removed.
5233 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5234 * Makefile.in: Regenerated.
5236 2005-02-15 Michael Koch <konqueror@gmx.de>
5238 * javax/swing/AbstractButton.java
5239 (fireItemStateChanged): Made protected.
5240 (fireActionPerformed): Likewise.
5241 (fireStateChanged): Likewise.
5242 * javax/swing/DefaultButtonModel.java
5243 (fireItemStateChanged): Likewise.
5244 (fireActionPerformed): Likewise.
5245 (fireStateChanged): Likewise.
5246 * javax/swing/JApplet.java
5248 (frameInit): Likewise.
5249 (setRootPane): Made protected.
5250 (createRootPane): Likewise.
5251 * javax/swing/JComponent.java
5252 (getClientProperty): Likewise.
5253 (putClientProperty): Likewise.
5254 * javax/swing/JEditorPane.java
5255 (getContentType): Likewise.
5256 (setContentType): Likewise.
5257 * javax/swing/JFrame.java
5258 (setRootPane): Likewise.
5259 (createRootPane): Likewise.
5260 * javax/swing/JInternalFrame.java
5261 (getFocusCycleRootAncestor): Made final. Added @since tag.
5262 (isFocusCycleRoot): Likewise.
5263 (getWarningString): Made final.
5264 * javax/swing/JScrollBar.java
5265 (changeListener): Removed.
5266 (changeEvent): Likewise.
5267 (createChangeListener): Likewise.
5268 (fireStateChanged): Likewise.
5269 (addChangeListener): Likewise.
5270 (removeChangeListener): Likewise.
5271 (getChangeListeners): Likewise.
5272 * javax/swing/JScrollPane.java
5273 (createViewport): Made protected.
5274 * javax/swing/JViewport.java
5275 (addImpl): Likewise.
5276 (setBorder): New method.
5277 * javax/swing/JWindow.java
5278 (setRootPane): Made protected.
5279 (createRootPane): Likewise.
5280 * javax/swing/plaf/basic/BasicButtonUI.java
5281 (installListeners): Likewise.
5282 (uninstallListeners): Likewise.
5283 * javax/swing/plaf/basic/BasicProgressBarUI.java
5284 (incrementAnimationIndex): Likewise.
5285 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5286 (createLayoutManager): Likewise.
5287 * javax/swing/table/DefaultTableCellRenderer.java
5288 (firePropertyChange): Likewise.
5289 * javax/swing/table/JTableHeader.java
5290 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5292 * javax/swing/text/PlainDocument.java
5293 (reindex): Made private.
5294 * javax/swing/text/PlainView.java
5295 (drawLine): Made protected.
5296 (getTabSize): Likewise.
5297 * javax/swing/text/View.java
5299 (preferenceChanged): New method.
5300 (getBreakWeight): Likewise.
5301 (breakView): Likewise.
5302 (getViewIndex): Likewise.
5304 2005-02-15 Michael Koch <konqueror@gmx.de>
5306 * javax/swing/JScrollPane.java
5307 (ScrollBar): Made class protected.
5308 * javax/swing/JSpinner.java
5309 (JSpinner): Added @since tag.
5310 (listenerList): Removed.
5311 * javax/swing/JTable.java
5312 (setValueAt): New method.
5313 (getColumn): Likewise.
5314 * javax/swing/JWindow.java
5315 (rootPaneCheckingEnabled): Renamed from checking.
5317 2005-02-15 Michael Koch <konqueror@gmx.de>
5319 * javax/swing/plaf/basic/BasicTextUI.java
5320 (RootView.modelToView): Made it public and return a java.awt.Shape.
5321 Handle null subview.
5322 (uninstall): Set textComponent to null when its not possible used
5324 * javax/swing/text/View.java
5325 (setParent): Use better argument name.
5326 (getContainer): Get parent via getParent().
5327 (getViewFactory): Likewise.
5328 (getAttributes): Get element via getElement().
5329 (getStartOffset): Likewise.
5330 (getEndOffset): Likewise.
5331 (getResizeWeight): New method.
5332 (getMaximumSpan): Likewise.
5333 (getMinimumSpan): Likewise.
5334 (setSize): Likewise.
5335 (getGraphics): Likewise.
5337 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5339 * java/awt/Checkbox.java:
5340 (AccessibleAWTCheckbox()): Added public constructor
5342 * java/awt/Choice.java:
5343 (AccessibleAWTChoice): Added class documentation.
5344 (AccessibleAWTChoice()): Added public constructor
5346 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5347 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5348 and changed role to COMBO_BOX.
5349 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5350 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5351 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5353 2005-02-15 Graydon Hoare <graydon@redhat.com>
5354 Michael Koch <konqueror@gmx.de>
5356 * javax/swing/LayoutFocusTraversalPolicy.java,
5357 javax/swing/SortingFocusTraversalPolicy.java:
5359 * Makefile.am: Added new classes.
5360 * Makefike.in: Regenerated.
5363 2005-02-15 Michael Koch <konqueror@gmx.de>
5365 * javax/swing/DebugGraphics.java: Mostly implemented.
5367 2005-02-15 Michael Koch <konqueror@gmx.de>
5369 * javax/swing/SwingUtilities.java
5370 (findFocusOwner): New method.
5372 2005-02-15 Michael Koch <konqueror@gmx.de>
5374 * javax/swing/text/DefaultEditorKit.java
5375 (read): Added '\n' after each line.
5376 * javax/swing/text/PlainView.java
5377 (modelToView): Update metrics.
5378 (drawLine): Use offsets from element.
5379 (paint): Update metrics. Draw all lines.
5381 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5383 * java/awt/Checkbox.java:
5384 (AccessibleAWTCheckbox): Added class documentation
5385 * java/awt/Scrollbar.java:
5386 (AccessibleAWTScrollBar): typo corrected and docs added
5387 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5388 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5389 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5390 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5391 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5392 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5393 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5394 (getAccessibleContext()): name of accessible class corrected
5396 2005-02-15 Mark Wielaard <mark@klomp.org>
5398 * java/awt/BasicStroke.java (hashCode): Implement.
5401 2005-02-15 Michael Koch <konqueror@gmx.de>
5403 * java/awt/print/PrinterJob.java
5404 (pageDialog): Throws java.awt.HeadlessException.
5405 (printDialog): Likewise.
5407 2005-02-15 Mark Wielaard <mark@klomp.org>
5409 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5411 2005-02-15 Michael Koch <konqueror@gmx.de>
5413 * javax/swing/JTable.java
5414 (getValueAt): New method.
5415 * javax/swing/table/JTableHeader.java
5416 (columnAtPoint): New method.
5418 2005-02-15 Michael Koch <konqueror@gmx.de>
5420 * javax/swing/JTextField.java
5421 (actions): New field.
5422 (static): Initalize actions field.
5423 (getActions): New method.
5425 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5427 * java/awt/Checkbox.java:
5428 (AccessibleAWTCheckbox): name capitalization corrected
5429 and serialization UID added.
5430 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5432 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5433 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5434 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5435 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5436 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5437 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5438 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5439 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5440 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5441 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5442 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5444 (getAccessibleContext()): name of accessible class corrected
5446 2005-02-15 Sven de Marothy <sven@physto.se>
5448 * java/awt/geom/doc-files/Area-1.png,
5449 java/awt/geom/doc-files/Ellipse-1.png,
5450 java/awt/geom/doc-files/GeneralPath-1.png:
5453 2005-02-15 Graydon Hoare <graydon@redhat.com>
5455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5456 Use union to avoid type-punning warning.
5458 2005-02-15 Michael Koch <konqueror@gmx.de>
5460 * javax/swing/DefaultListSelectionModel.java
5461 (clone): New method.
5463 2005-02-15 Mark Wielaard <mark@klomp.org>
5465 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5466 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5467 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5468 Correct method signature of gtkSetFilename.
5470 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5472 * javax/swing/text/StringContent.java: New file.
5474 2005-02-15 Michael Koch <konqueror@gmx.de>
5476 * Makefile.am: Added javax/swing/text/StringContent.java.
5477 * Makefile.in: Regenerated.
5479 2005-02-15 Michael Koch <konqueror@gmx.de>
5481 * gnu/java/awt/ClasspathToolkit.java:
5482 Import statements reworked.
5483 (imageCache): Made it of type java.util.HashMap.
5485 2005-02-15 Michael Koch <konqueror@gmx.de>
5487 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5488 Reworked import statements.
5490 2005-02-15 Graydon Hoare <graydon@redhat.com>
5492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5493 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5494 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5496 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5497 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5498 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5502 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5508 Rewrite uses of extern variable to be function calls.
5509 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5510 function, from extern variable.
5511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5512 (gdk_env): Remove variable, add new function.
5513 (java_vm): Add new variable.
5514 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5515 java_vm rather than old gdk_env variable.
5517 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5519 * javax/swing/DefaultListModel.java
5520 (add): fire correct event,
5521 (addElement): corrected interval indices in event,
5522 (clear): corrected upper bound for interval, only fire event if
5524 (setSize): fire appropriate event.
5526 2005-02-15 Graydon Hoare <graydon@redhat.com>
5528 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5529 * gnu/awt/xlib/XToolkit.java: Likewise.
5530 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5531 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5532 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5533 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5534 * java/awt/EventQueue.java (getNextEvent):
5535 Adjust event loop to switch to native mode after 100ms.
5536 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5538 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5539 Wake up event thread.
5540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5541 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5542 Adjust event loop to switch to java mode after 100ms.
5544 2005-02-15 Graydon Hoare <graydon@redhat.com>
5546 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5547 accidentally removed in last change.
5549 2005-02-15 Michael Koch <konqueror@gmx.de>
5551 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5552 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5554 2005-02-15 Graydon Hoare <graydon@redhat.com>
5556 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5557 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5558 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5559 * jni.cc: Reuse bottom frame between calls, avoid clearing
5560 frame when no local references are made.
5562 2005-02-15 Michael Koch <konqueror@gmx.de>
5564 * javax/swing/UIDefaults.java (UIDefaults):
5565 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5566 Fixed HTML entity and removed a redundant comma.
5568 2005-02-15 Michael Koch <konqueror@gmx.de>
5570 * javax/swing/text/DefaultEditorKit.java
5571 (deinstall): Removed.
5572 (install): Likewise.
5574 2005-02-15 Michael Koch <konqueror@gmx.de>
5576 * javax/swing/UIDefaults.java (put): Handle value of null.
5578 2005-02-15 Michael Koch <konqueror@gmx.de>
5580 * java/awt/Robot.java,
5581 java/awt/Scrollbar.java,
5582 java/awt/print/PrinterJob.java,
5583 javax/swing/JTable.java,
5584 javax/swing/text/AbstractDocument.java:
5585 Reworked import statements.
5587 2005-02-15 Michael Koch <konqueror@gmx.de>
5589 * javax/swing/JEditorPane.java
5590 (read): Implemented.
5592 * javax/swing/text/DefaultEditorKit.java
5593 (page): Renamed from page_url. Made private.
5594 (editorKit): Renamed from kit. Made private.
5596 (JEditorPane): All constructors reimplemented.
5597 (getContentType): Use content type from editor kit.
5598 (getEditorKit): Return editorKit.
5599 (getEditorKitForContentType):Likewise.
5600 (getPage): Return page.
5601 (setContentType): Reimplemented.
5602 (setEditorKit): Likewise.
5603 (setEditorKitForContentType): Removed wrong implementation.
5604 (setPage): Implemented.
5606 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5609 (nativeSetIconImageFromData): Re-add native implementation.
5611 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5613 * javax/swing/table/DefaultTableModel.java
5614 (DefaultTableModel()): Added Javadocs.
5615 (DefaultTableModel(int, int)): Fixed implementation.
5616 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5617 for negative rowCount.
5618 (DefaultTableModel(Object[], int)): Added Javadocs.
5619 (DefaultTableModel(Vector, Vector)): Likewise.
5620 (DefaultTableModel(Object[][], Object[])): Likewise.
5621 (getDataVector): Likewise.
5622 (setDataVector(Vector, Vector)): Likewise.
5623 (setDataVector(Object[][], Object[])): Likewise.
5624 (newDataAvailable): Likewise.
5625 (newRowsAdded): Likewise.
5626 (rowsRemoved): Likewise.
5627 (setColumnIdentifiers(Vector)): Allow for null argument.
5628 (setColumnIdentifiers(Object[])): Added Javadocs.
5629 (setNumRows): Likewise.
5630 (setRowCount): Adds new rows if necessary, and sends more specific
5632 (setColumnCount): Allow for null columnIdentifiers.
5633 (addColumn(Object)): Added Javadocs.
5634 (addColumn(Object, Vector)): Handle null columnData.
5635 (addColumn(Object, Object[])): Handle columnData with more or less
5636 entries than rows in the table.
5637 (addRow(Vector)): Fire appropriate event.
5638 (addRow(Object[])): Added Javadocs.
5639 (insertRow(int, Vector)): Fire appropriate event.
5640 (insertRow(int, Object[])): Added Javadocs.
5641 (moveRow): Reimplemented.
5642 (removeRow(int)): Fire appropriate event.
5643 (getColumnCount): Allow for null columnIdentifiers.
5644 (getColumnName): Now returns empty string when column index is too
5646 (isCellEditable): Added Javadocs.
5647 (getValueAt): Likewise.
5648 (setValueAt): Fire more specific event.
5649 (convertToVector): Added Javadocs.
5650 * javax/swing/table/TableModel.java
5653 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5655 * libgcj.spec.in (lib): Add -l-javax-imageio.
5657 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5659 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5660 references to event queue q with method call q().
5661 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5662 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5663 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5664 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5665 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5666 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5669 2005-02-15 Graydon Hoare <graydon@redhat.com>
5671 * gnu/java/awt/ClasspathToolkit.java
5672 (registerImageIOSpis): New method.
5673 * gnu/java/awt/image/ImageDecoder.java
5674 (imageDecoder): New constructor using InputStream
5675 (startProduction): Handle existing InputStream.
5676 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5677 (findSimpleIntegerArray): Make public and static.
5678 (updateBufferedImage): Set each pixel, in a loop.
5679 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5680 Implement ImageIO SPI classes.
5681 (createBufferedImage): Rewrite in terms of SPI classes.
5682 * gnu/java/awt/peer/gtk/GtkToolkit.java
5683 (registerImageIOSpis): New method.
5684 * java/lang/reflect/natMethod.cc
5685 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5686 which lets JNI call interface methods properly.
5687 * javax/imageio/ImageIO.java
5688 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5689 (WriterMIMETypeFilter.filter): Likewise.
5690 (ImageReaderIterator): Pass extension argument through to SPI.
5691 (getReadersByFilter): Likewise.
5692 (getWritersByFilter): Likewise.
5693 (getImageReadersByFormatName): Likewise.
5694 (getImageReadersByMIMEType): Likewise.
5695 (getImageReadersBySuffix): Likewise.
5696 (getImageWritersByFormatName): Likewise.
5697 (getImageWritersByMIMEType): Likewise.
5698 (getImageWritersBySuffix): Likewise.
5701 * javax/imageio/ImageReader.java
5702 (progressListeners): Initialize.
5703 (setInput): Implement.
5704 * javax/imageio/ImageWriter.java
5705 (progressListeners): Initialize.
5706 (warningListeners): Likewise.
5707 (warningLocales): Likewise.
5708 (setOutput): Test "isInstance" rather than class equality.
5709 * javax/imageio/spi/IIORegistry.java
5710 (static): Add reader and writer SPIs.
5711 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5713 (query_formats): New function.
5714 (save_to_stream): Likewise.
5715 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5717 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5721 (keyPress): Likewise.
5722 (keyRelease): Likewise.
5724 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5726 * javax/swing/JTable.java
5727 (columnAtPoint): New Method. Implemented.
5728 (rowAtPoint): Likewise.
5729 (countSelections): Fixed few small count errors.
5730 (getSelections): Likewise.
5731 (setSelectionMode): Set selection mode for column
5732 selection model in addition to row selection model.
5733 * javax/swing/plaf/basic/BasicTableUI.java:
5734 (getRowForPoint): Removed. Replaced by
5735 JTable.rowAtPoint().
5736 (getColForPoint): Removed. Replaced by
5737 JTable.columnAtPoint().
5738 (updateSelection): Updated to call JTable.columnAtPoint
5739 and JTable.rowAtPoint.
5740 * javax/swing/table/DefaultTableColumnModel.java:
5741 (getSelectedColumns): Implemented.
5742 (getSelectedColumnCount): Implemented.
5744 2005-02-15 Graydon Hoare <graydon@redhat.com>
5747 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5748 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5749 * Makefile.in: Regenerate.
5750 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5751 * gnu/awt/xlib/XFramePeer.java: Likewise.
5752 * gnu/awt/xlib/XToolkit.java: Likewise.
5753 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5754 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5755 * gnu/java/awt/ClasspathToolkit.java
5758 (iterateNativeQueue): New methods.
5759 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5760 * gnu/java/awt/peer/gtk/GtkToolkit.java
5761 (gtkInit): Absorb from defunct GtkMainThread class.
5762 (static): Run gtkInit in static startup block.
5763 (GtkToolkit): Remove construction of GtkMainThread and queue.
5764 (getSystemEventQueueImpl): Construct queue when requested.
5767 (iterateNativeQueue): New methods.
5768 * java/awt/Component.java (removeNotify): Remove race.
5769 * java/awt/EventDispatchThread.java
5770 (EventDispatchThread): Don't start on construction.
5771 (run): Remove isInterrupted check.
5772 * java/awt/EventQueue.java (shutdown): New flag.
5773 (isShutdown): New method checking J2SE shutdown condition.
5774 (setShutdown): New method.
5775 (getNextEvent): Restructure to use ClasspathToolkit.
5776 (postEvent): Activate new thread on posting, wake thread on
5777 post of possible shutdown condition event.
5778 * java/awt/Frame.java
5779 (Frame): Call noteFrame in all constructors.
5780 (fireDummyEvent): New helper method.
5781 (addNotify): Fire a dummy event to wake up queue.
5782 (removeNotify): Fire a dummy event to wake up queue.
5783 (noteFrame): New method.
5784 (weakFrames): New static field.
5785 (getFrames): Implement.
5786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5788 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5789 Move everything from GtkMainThread into this file
5790 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5791 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5792 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5793 New functions to implement single-threaded queue semantics.
5795 2005-02-15 Michael Koch <konqueror@gmx.de>
5797 * javax/swing/plaf/metal/MetalLookAndFeel.java
5798 (getControlTextFont): New method.
5799 (getMenuTextFont): Likewise.
5800 (getSubTextFont): Likewise.
5801 (getSystemTextFont): Likewise.
5802 (getUserTextFont): Likewise.
5803 (getWindowTitleFont): Likewise.
5805 2005-02-15 Michael Koch <konqueror@gmx.de>
5807 * javax/swing/text/AbstractDocument.java
5808 (documentFilter): New field.
5809 (getDocumentFilter): New method.
5810 (setDocumentFilter): Likewise.
5813 2005-02-15 Michael Koch <konqueror@gmx.de>
5815 * javax/swing/JTree.java
5816 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5818 2005-02-15 Michael Koch <konqueror@gmx.de>
5820 * javax/swing/text/AbstractDocument.java
5821 (AbstractElement.getLength): Fixed off-by-one error.
5822 (AbstractElement.children): Made abstract.
5823 (AbstractElement.getAllowsChildren): Likewise.
5824 (AbstractElement.getElement): Likewise.
5825 (AbstractElement.dumpElement): New private method.
5826 (AbstractElement.dump): New method.
5827 (BranchElememt.getName): Fixed implementation.
5828 (BranchElememt.toString): Likewise.
5829 (BranchElememt.getElement): Fixed arguments.
5830 (LeafElement.getName): Fixed implementation.
5831 (LeafElement.toString): Likewise.
5832 * javax/swing/text/GapContent.java
5833 (GapContent): Put default content into buffer.
5834 * javax/swing/text/PlainDocument.java
5835 (reindex): Use empty attribute sets instead of null.
5836 (createDefaultRoot): Reimplemented.
5837 (insertUpdate): Call super method.
5838 (removeUpdate): Likewise.
5839 (getParagraphElement): Implemented.
5841 2005-02-15 Michael Koch <konqueror@gmx.de>
5843 * gnu/java/awt/ClasspathToolkit.java
5844 (createRobot): Throws java.awt.AWTException.
5845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5846 Added '__attribute__((unused))' to all unused method arguments.
5848 2005-02-15 Michael Koch <konqueror@gmx.de>
5850 * javax/swing/DefaultBoundedRangeModel.java
5851 (fireValueChanged): Fixed off-by-one error.
5853 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5855 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5856 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5858 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5859 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5860 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5861 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5862 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5863 (getDefaultScreenDevice): Implement.
5864 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5865 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5866 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5867 * java/awt/Robot.java: Implement.
5868 * java/awt/peer/RobotPeer.java: Rename parameters.
5869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5870 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5871 (awt_keycode_to_keysym): Make non-static.
5872 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5873 AWT_BUTTON3_MASK): Declare constants.
5874 (awt_keycode_to_keysym): Declare.
5876 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5877 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5878 and is non-empty pass its value to "make check".
5879 (test_mauve_sim): Likewise.
5881 2005-02-15 Michael Koch <konqueror@gmx.de>
5883 * javax/imageio/IIOParam.java
5884 (setSourceBands): New method.
5885 (setSourceSubsampling): Likewise.
5886 * javax/imageio/ImageReadParam.java
5887 (setDestination): Likewise.
5888 (setDestinationBands): Likewise.
5889 (setSourceProgressivePasses): Likewise.
5890 * javax/imageio/metadata/IIOInvalidTreeException.java
5891 (serialVersionUID): New static field.
5892 * javax/imageio/metadata/IIOMetadataNode.java
5893 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5894 (parent): Dont initailize with default value explicitely.
5896 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5897 (removeAttributeNode): Likewise.
5898 (removeAttributeNS): Likewise.
5899 (setAttribute): Likewise.
5900 (setAttributeNode): Likewise.
5901 (setAttributeNodeNS): Likewise.
5902 (setAttributeNS): Likewise.
5903 (appendChild): Likewise.
5904 (getNodeValue): Likewise.
5905 (insertBefore): Likewise.
5906 (removeChild): Likewise.
5907 (replaceChild): Likewise.
5908 (setPrefix): Likewise.
5910 2005-02-15 Michael Koch <konqueror@gmx.de>
5912 * javax/swing/LookAndFeel.java
5913 (getDesktopPropertyValue): New method.
5915 2005-02-15 Michael Koch <konqueror@gmx.de>
5917 * javax/swing/JTree.java
5918 (hasChildren): New instance field.
5920 2005-02-15 Michael Koch <konqueror@gmx.de>
5922 * javax/swing/JComponent.java
5923 (getToolTipText): New method.
5924 (getTitledBorderText): Likewise.
5925 (getAccessibleKeyBinding): Likewise.
5926 (getVerifyInputWhenFocusTarget): Likewise.
5927 (setVerifyInputWhenFocusTarget): Likewise.
5928 (verifyInputWhenFocusTarget): New instance field.
5930 2005-02-15 Michael Koch <konqueror@gmx.de>
5932 * javax/swing/DefaultListSelectionModel.java
5933 (fireValueChanged): New method.
5935 2005-02-15 Michael Koch <konqueror@gmx.de>
5937 * javax/swing/DefaultBoundedRangeModel.java:
5938 Fixed javadocs all over.
5939 (fireStateChanged): Simplified.
5940 * javax/swing/BoundedRangeModel.java:
5943 2005-02-15 Michael Koch <konqueror@gmx.de>
5945 * javax/swing/JRootPane.java
5946 (setMenuBar): Added @deprecated tag.
5947 (getMenuBar): Likewise.
5948 * javax/swing/JTable.java
5949 (sizeColumnsToFit): Likewise.
5951 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5953 * javax/swing/ImageIcon.java (setImage): Implemented.
5955 2005-02-15 Michael Koch <konqueror@gmx.de>
5957 * javax/swing/JTable.java:
5958 Removed unused imports.
5960 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5962 (prepareRenderer): Get column's index in dataModel instead
5963 of column's view index.
5964 (getColumnCount): return count of the columns in ColumnModel,
5966 (removeColumn): Implemented.
5967 (moveColumm): Likewise.
5968 (setRowHeight): throw IllegalArgumentException if height is
5970 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5971 (DefaultTableColumnModel):Add call to createSelectionModel().
5972 (addColumn): Fire columnAdded event to registered listeners.
5973 (removeColumn): Fire columnRemoved event to registered listeners.
5974 (moveColumn): Fire columnMoved event to registered listeners.
5975 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5976 (getColumnIndex): Changed parameter name.
5977 (setColumnSelectionAllowed): Likewise.
5978 (fireColumnAdded): Implemented.
5979 (fireColumnRemoved): Likewise.
5980 (fireColumnMoved): Likewise.
5981 (fireColumnMarginChanged): Likewise.
5982 (getListeners): Changed parameter name.
5983 (propertyChange): Implemented.
5984 (valueChanged): Changed parameter name.
5985 (createSelectionModel): Implemented.
5987 2005-02-15 Michael Koch <konqueror@gmx.de>
5989 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5990 Explicitely import used classes.
5991 (getLocalGraphicsEnvironment): Simplify.
5992 * java/awt/Window.java (Window):
5993 Enable code to get the default GraphicsConfiguration.
5995 2005-02-15 Michael Koch <konqueror@gmx.de>
5997 * javax/swing/plaf/metal/DefaultMetalTheme.java
5998 (CONTROL_TEXT_FONT): New static field.
5999 (MENU_TEXT_FONT): Likewise.
6000 (SUB_TEXT_FONT): Likewise.
6001 (SYSTEM_TEXT_FONT): Likewise.
6002 (USER_TEXT_FONT): Likewise.
6003 (WINDOW_TITLE_FONT): Likewise.
6004 (getControlTextFont): New method.
6005 (getMenuTextFont): Likewise.
6006 (getSubTextFont): Likewise.
6007 (getSystemTextFont): Likewise.
6008 (getUserTextFont): Likewise.
6009 (getWindowTitleFont): Likewise.
6010 * javax/swing/plaf/metal/MetalTheme.java
6011 (BLACK): Initialize with Color.BLACK.
6012 (WHITE): Initialize with Color.WHITE.
6013 (getInactiveControlTextColor): Return getControlDisabled().
6014 (getMenuDisabledForeground): Return getSecondary3().
6015 (getControlTextFont): New abstract method.
6016 (getMenuTextFont): Likewise.
6017 (getSubTextFont): Likewise.
6018 (getSystemTextFont): Likewise.
6019 (getUserTextFont): Likewise.
6020 (getWindowTitleFont): Likewise.
6022 2005-02-15 Michael Koch <konqueror@gmx.de>
6024 * javax/swing/JFormattedTextField.java
6025 (getFocusLostBehavior): Fixed typo in method name.
6026 (setFocusLostBehavior): Likewise.
6028 2005-02-15 Michael Koch <konqueror@gmx.de>
6030 * javax/swing/TransferHandler.java:
6031 Reworked import statements.
6033 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6035 * java/awt/Button.java,
6036 java/awt/Canvas.java,
6037 java/awt/Checkbox.java,
6038 java/awt/CheckboxMenuItem.java,
6039 java/awt/Choice.java,
6040 java/awt/Dialog.java,
6041 java/awt/Frame.java,
6042 java/awt/Label.java,
6045 java/awt/MenuBar.java,
6046 java/awt/MenuItem.java,
6047 java/awt/PopupMenu.java,
6048 java/awt/ScrollPane.java,
6049 java/awt/Scrollbar.java,
6050 java/awt/TextArea.java,
6051 java/awt/Window.java (getAccessibleContext): Clean up comments.
6053 * java/awt/Button.java,
6054 java/awt/Checkbox.java,
6055 java/awt/Choice.java,
6057 java/awt/PopupMenu.java,
6058 java/awt/TextArea.java (getAccessibleContext): Only create new
6060 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6062 2005-02-15 Michael Koch <konqueror@gmx.de>
6064 * java/awt/Button.java,
6065 javax/swing/JApplet.java,
6066 javax/swing/JFormattedTextField.java,
6067 javax/swing/JWindow.java,
6068 javax/swing/JTree.java,
6069 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6070 javax/swing/plaf/basic/BasicTextPaneUI.java,
6071 javax/swing/plaf/basic/BasicTreeUI.java:
6072 Reworked import statements.
6074 2005-02-15 Michael Koch <konqueror@gmx.de>
6076 * Makefile.am: Put javax.imageio into its own library and link it
6077 against lib-org-w3c-dom.la to fix bootstrapping.
6078 * Makefile.in: Regenerated.
6080 2005-02-15 Michael Koch <konqueror@gmx.de>
6082 * javax/swing/text/TextAction.java
6083 (getTextComponent): Simplified. Added Javadoc.
6084 (augmentList): Implemented. Added Javadoc.
6085 (getFocusedComponent): Added javadoc.
6087 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6089 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6090 getAccessibleContext): Implement.
6091 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6092 getAccessibleContext): Implement.
6094 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6096 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6098 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6100 * java/awt/Window.java (getAccessibleContext): Fix comment.
6101 Remove extra import.
6103 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6105 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6106 (isActive, isFocused, getAccessibleContext): Implement.
6108 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6110 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6111 * java/awt/MenuComponent.java (accessibleContext): Make package
6113 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6114 AccessibleAWTCheckboxMenuItem): Implement.
6116 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6118 * java/awt/List.java: Implement AccessibleAWTList,
6119 AccessibleAWTListChild.
6121 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6123 * java/awt/Choice.java: Add implements declaration for
6126 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6128 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6131 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6133 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6134 implemented interface list.
6136 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6138 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6139 * javax/imageio/metadata/IIOAttr.java: New class.
6140 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6141 * javax/imageio/metadata/IIONodeList.java: New class.
6142 * Makefile.am: Added new files.
6143 * Makefile.in: Regenerated.
6145 2005-02-15 Michael Koch <konqueror@gmx.de>
6147 * javax/swing/AbstractAction.java,
6148 javax/swing/AbstractCellEditor.java,
6149 javax/swing/AbstractListModel.java,
6150 javax/swing/DefaultBoundedRangeModel.java,
6151 javax/swing/DefaultButtonModel.java,
6152 javax/swing/DefaultCellEditor.java,
6153 javax/swing/DefaultComboBoxModel.java,
6154 javax/swing/DefaultDesktopManager.java,
6155 javax/swing/JMenu.java,
6156 javax/swing/JSlider.java,
6157 javax/swing/KeyStroke.java,
6158 javax/swing/OverlayLayout.java,
6159 javax/swing/ScrollPaneLayout.java,
6160 javax/swing/SizeRequirements.java,
6161 javax/swing/ViewportLayout.java:
6162 Made serialVersionUID private.
6164 2005-02-15 Michael Koch <konqueror@gmx.de>
6166 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6169 2005-02-15 Michael Koch <konqueror@gmx.de>
6171 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6173 2005-02-15 Michael Koch <konqueror@gmx.de>
6175 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6177 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6179 * java/awt/EventDispatchThread.java,
6180 java/awt/Toolkit.java:
6181 Don't catch java.lang.ThreadDeath.
6183 2005-02-15 Michael Koch <konqueror@gmx.de>
6185 * javax/swing/text/PasswordView.java
6186 (drawEchoCharacter): Added javadoc.
6187 (drawSelectedText): Likewise.
6188 (drawUnselectedText): Likewise.
6190 2005-02-15 Michael Koch <konqueror@gmx.de>
6192 * javax/swing/JRootPane.java
6193 (windowDecorationStyle): New field.
6194 (setMenuBar): New method.
6195 (getMenuBar): Likewise.
6196 (getWindowDecorationStyle): Likewise.
6197 (setWindowDecorationStyle): Likewise.
6199 2005-02-15 Michael Koch <konqueror@gmx.de>
6201 * javax/swing/DefaultListSelectionModel.java
6202 (leadAnchorNotificationEnabled): Made protected.
6204 2005-02-15 Michael Koch <konqueror@gmx.de>
6206 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6207 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6208 * Makefile.in: Regenerated.
6211 2005-02-15 Michael Koch <konqueror@gmx.de>
6213 * javax/swing/JFormattedTextField.java: Implemented.
6214 * javax/swing/JWindow.java
6215 (JWindow): New constructors.
6216 (initWindow): Renamed from initFrame.
6217 * javax/swing/UIDefaults.java
6218 (ActiveValue): Made interface static.
6219 (LazyValue): Likewise.
6220 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6221 (TitlePaneLayout.TitlePaneLayout): New constructor.
6222 * javax/swing/plaf/basic/BasicSliderUI.java
6223 (ChangeHandler): Made public.
6224 (FocusHandler): Likewise.
6225 (PropertyChangeHandler): Likewise.
6226 (ScrollListener): Likewise.
6227 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6228 (FocusHandler): Likewise.
6229 (MouseHandler): Likewise.
6230 * javax/swing/plaf/basic/BasicTextPaneUI.java
6231 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6232 * javax/swing/plaf/basic/BasicToolBarUI.java
6233 (BasicToolBarUI): Simplified. Reworked javadoc.
6234 (canDock): Simplified. Make public.
6235 (DockingListener): Made public.
6236 * javax/swing/text/JTextComponent.java
6237 (navigationFilter): New field.
6238 (getNavigationFilter): New method.
6239 (setNavigationFilter): Likewise.
6241 2005-02-15 Michael Koch <konqueror@gmx.de>
6243 * javax/swing/plaf/metal/MetalTheme.java
6244 (getControlTextColor): Return getControlInfo().
6245 (getHighlightedTextColor): Return getControlTextColor().
6247 2005-02-15 Michael Koch <konqueror@gmx.de>
6249 * javax/swing/plaf/basic/BasicButtonListener.java
6250 (BasicButtonListener): New constructor.
6251 * javax/swing/plaf/basic/BasicButtonUI.java
6252 (createButtonListener): Usw new BasicButtonListener constructor.
6254 2005-02-15 Michael Koch <konqueror@gmx.de>
6256 * javax/imageio/event/package.html,
6257 javax/imageio/metadata/package.html: New files.
6259 2005-02-15 Michael Koch <konqueror@gmx.de>
6261 * java/awt/image/MemoryImageSource.java: Reformatted.
6263 2005-02-15 Michael Koch <konqueror@gmx.de>
6265 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6267 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6269 * java/awt/color/ICC_Profile.java
6270 (finalize): Removed pointless field assignments.
6272 2005-02-15 Michael Koch <konqueror@gmx.de>
6274 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6275 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6276 * Makefile.in: Regenerated.
6278 2005-02-15 Michael Koch <konqueror@gmx.de>
6280 * javax/swing/text/DefaultStyledDocument.java: New file.
6281 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6282 * Makefile.in: Regenerated.
6284 2005-02-15 Michael Koch <konqueror@gmx.de>
6286 * javax/swing/JFileChooser.java
6287 (showDialog): Return CANCEL_OPTION for now.
6288 (showOpenDialog): Likewise.
6289 (showSaveDialog): Likewise.
6291 2005-02-15 Michael Koch <konqueror@gmx.de>
6293 * javax/swing/JApplet.java
6294 (HIDE_ON_CLOSE): Removed.
6295 (EXIT_ON_CLOSE): Likewise.
6296 (DISPOSE_ON_CLOSE): Likewise.
6297 (DO_NOTHING_ON_CLOSE): Likewise.
6298 (close_action): Likewise.
6299 (getDefaultCloseOperation): Likewise.
6300 (setDefaultCloseOperation): Likewise.
6301 (processWindowEvent): Likewise.
6302 (getPreferredSize): Simplified.
6303 * javax/swing/JInternalFrame.java
6304 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6306 * javax/swing/JWindow.java
6307 (HIDE_ON_CLOSE): Removed.
6308 (EXIT_ON_CLOSE): Likewise.
6309 (DISPOSE_ON_CLOSE): Likewise.
6310 (DO_NOTHING_ON_CLOSE): Likewise.
6311 (close_action): Likewise.
6312 (processKeyEvent): Likewise.
6313 (setDefaultCloseOperation): Likewise.
6314 (getPreferredSize): Simplified.
6316 2005-02-15 Michael Koch <konqueror@gmx.de>
6318 * javax/swing/JTextField.java
6319 (getPreferredSize): Re-implemented.
6321 2005-02-15 Michael Koch <konqueror@gmx.de>
6323 * javax/swing/JLabel.java
6324 (setDisplayedMnemonic): Use only upper case characters.
6325 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6326 PropertyChangeEvent after property got set to the new index.
6328 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6330 * javax/swing/JComboBox.java:
6331 (JComboBox): Removed selection of the
6332 first item in the model.
6334 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6336 * javax/swing/JComboBox.java
6337 added support for no item being selected
6338 (JComboBox): select first or nothing depending on element count
6339 (setModel): cleaned up unneeded "this." usage, added more
6340 docs, made exception behavior match that of the JDK
6341 (setLighWeightPopupEnabled): removed unneeded "this." usage
6343 (setMaximumRowCount): dito
6345 (setPrototypeDisplayValue): dito
6346 (getSelectedItem): simplified, added more user doc
6347 (setSelectedIndex): corrected exception behavior, added more user doc
6348 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6349 added performance warning to user doc
6350 (addItem): fixed exception behavior, added user doc
6351 (insertItemAt): dito
6353 (removeItemAt): dito
6354 (removeAll): fixed exception behavior, added user doc, added support
6355 for model not being instance of DefaultComboBoxModel
6356 (getSelectedItemObjects): simplified
6357 (getItemCount): fixed dependency on DefaultComboBoxModel
6358 (getItemAt): fixed dependency on MutableComboBoxModel
6359 * javax/swing/DefaultComboBoxModel.java:
6360 (setSelectedItem): updates selected item only if new
6361 value is null or known (match JDK behavior)
6362 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6363 (paintCurrentValue): renders "" if no item is selected
6365 2005-02-15 Michael Koch <konqueror@gmx.de>
6367 * javax/swing/plaf/metal/MetalTheme.java,
6368 javax/swing/plaf/metal/DefaultMetalTheme.java:
6370 * javax/swing/plaf/metal/MetalLookAndFeel.java
6371 * Makefile.am: Added the new files.
6372 * Makefile.in: Regenerated.
6374 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6376 * javax/swing/JTable.java
6377 (editorComp): New field.
6378 (JTable): Initialize local variables and call updateUI
6379 (selectionBackground): Make protected.
6380 (selectionForeground): Likewise.
6381 (initializeLocalVars): Create default editors and renderers,
6382 initialize editingColumn, editingRow variables.
6383 (createDefaultEditors): New Method.
6384 (createDefaultRenderers): Likewise.
6385 (createDefaultListSelectionModel): Removed
6386 (createDefaultSelectionModel): New Method.
6387 (createDefaultTableHeader): Likewise
6388 (removeColumn): Likewise.
6389 (getEditingColumn): Likewise.
6390 (setEditingColumn): Likewise.
6391 (getEditingRow): Likewise.
6392 (setEditingRow): Likewise.
6393 (getEditorComponent): Likewise.
6394 (isEditing): Likewise.
6395 (setDefaultEditor): Likewise.
6396 (addColumnSelectionInterval): Likewise.
6397 (addRowSelectionInterval): Likewise.
6398 (setColumnSelectionInterval): Likewise.
6399 (setRowSelectionInterval): Likewise.
6400 (removeColumnSelectionInterval): Likewise.
6401 (removeRowSelectionInterval): Likewise.
6402 (isColumnSelected): Likewise.
6403 (isRowSelected): Likewise.
6404 (isCellSelected): Likewise.
6405 (selectAll): Likewise.
6407 2005-02-15 Michael Koch <konqueror@gmx.de>
6409 * javax/swing/JTable.java
6410 (addColumn): New method.
6411 (getColumnClass): Likewise.
6412 (getColumnName): Likewise.
6414 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6416 * javax/swing/TransferHandler.java
6417 (createTransferable): Made protected.
6419 2005-02-15 Michael Koch <konqueror@gmx.de>
6421 * javax/swing/JTable.java,
6422 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6423 javax/swing/plaf/basic/BasicTableUI.java:
6424 Use fixed get/setIntercellSpacing() methods.
6426 2005-02-15 Michael Koch <konqueror@gmx.de>
6428 * javax/swing/JTable.java
6429 (getIntercellSpacing): Fixed typo in method name.
6430 (setIntercellSpacing): Likewise.
6432 2005-02-15 Michael Koch <konqueror@gmx.de>
6434 * javax/swing/text/JTextComponent.java
6435 (focusAccelerator): New variable.
6436 (getFocusAccelerator): New method.
6437 (setFocusAccelerator): Likewise.
6439 2005-02-15 Michael Koch <konqueror@gmx.de>
6441 * javax/swing/JComponent.java
6442 (setTransferHandler): Made public. Fire property change event.
6443 * javax/swing/TransferHandler.java: Implemented.
6444 * javax/swing/text/JTextComponent.java
6445 (DefaultTransferHandler): New inner class.
6446 (defaultTransferHandler): New variable.
6450 (doTransferAction): Likewise.
6452 2005-02-15 Michael Koch <konqueror@gmx.de>
6454 * javax/swing/JTree.java
6455 (collapsePath): New method.
6456 (collapseRow): Likewise.
6457 (expandPath): Likewise.
6458 (expandRow): Likewise.
6459 (checkExpandParents): Likewise.
6460 (doExpandParents): Likewise.
6461 (setExpandedState): Likewise.
6462 (makeVisible): Likewise.
6464 2005-02-15 Michael Koch <konqueror@gmx.de>
6466 * javax/swing/JPasswordField.java: Updated javadocs.
6468 2005-02-15 Michael Koch <konqueror@gmx.de>
6470 * javax/swing/JLayeredPane.java
6471 (getLayer): Fixed return type, made public.
6472 (getPosition): Use new getLayer().
6473 (SetPosition): Likewise.
6474 (getIndexOf): Likewise.
6476 * javax/swing/JInternalFrame.java
6477 (getLayer): Use new JLayeredPane.getLayer().
6480 2005-02-15 Michael Koch <konqueror@gmx.de>
6482 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6483 (setHeaderValue): Simplified. Do nothing when old value == new value.
6485 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6487 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6488 against null clip region.
6489 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6490 gtkWindowSetResizable.
6491 (postConfigureEvent): Only revalidate if frame size has changed.
6492 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6493 Only revalidate if frame size has changed.
6494 * java/awt/Component.java (reshape): Only repaint and post
6495 component events if component is showing.
6496 * java/awt/Container.java (addImpl): Only post container event if
6497 container is showing.
6499 * java/awt/Window.java (setLocationRelativeTo): Implement.
6500 (setBoundsCallback): Only post component events if component is
6502 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6503 Protect against null graphics structure. Flush gdk event queue.
6505 2005-02-15 Michael Koch <konqueror@gmx.de>
6507 * javax/imageio/ImageReader.java,
6508 javax/imageio/ImageTranscoder.java,
6509 javax/imageio/ImageWriter.java,
6510 javax/imageio/spi/ImageInputStreamSpi.java,
6511 javax/imageio/spi/ImageOutputStreamSpi.java,
6512 javax/imageio/spi/ServiceRegistry.java,
6513 javax/imageio/stream/ImageInputStream.java,
6514 javax/imageio/stream/ImageOutputStream.java: Updated.
6515 * javax/imageio/IIOException.java,
6516 javax/imageio/IIOImage.java,
6517 javax/imageio/IIOParam.java,
6518 javax/imageio/IIOParamController.java,
6519 javax/imageio/ImageIO.java,
6520 javax/imageio/ImageReadParam.java,
6521 javax/imageio/ImageTypeSpecifier.java,
6522 javax/imageio/ImageWriteParam.java,
6523 javax/imageio/spi/IIORegistry.java,
6524 javax/imageio/spi/ImageReaderSpi.java,
6525 javax/imageio/spi/ImageWriterSpi.java,
6526 javax/imageio/stream/FileCacheImageInputStream.java,
6527 javax/imageio/stream/FileCacheImageOutputStream.java,
6528 javax/imageio/stream/FileImageInputStream.java,
6529 javax/imageio/stream/FileImageOutputStream.java,
6530 javax/imageio/stream/ImageInputStreamImpl.java,
6531 javax/imageio/stream/ImageOutputStreamImpl.java,
6532 javax/imageio/stream/MemoryCacheImageInputStream.java,
6533 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6534 javax/imageio/event/IIOReadProgressListener.java,
6535 javax/imageio/event/IIOReadUpdateListener.java,
6536 javax/imageio/event/IIOReadWarningListener.java,
6537 javax/imageio/event/IIOWriteProgressListener.java,
6538 javax/imageio/event/IIOWriteWarningListener.java,
6539 javax/imageio/metadata/IIOMetadata.java,
6540 javax/imageio/metadata/IIOMetadataController.java,
6541 javax/imageio/metadata/IIOMetadataFormat.java,
6542 javax/imageio/metadata/IIOInvalidTreeException.java,
6543 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6544 javax/imageio/metadata/IIOMetadataNode.java: New files.
6545 * Makefile.am (javax_source_files): Added new files
6546 * Makefile.in: Regenerated.
6548 2005-02-15 Graydon Hoare <graydon@redhat.com>
6550 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6551 Rework painting into BufferedImages
6552 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6553 Construct BufferedImage with alpha only when alpha is
6554 present in colormodel.
6555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6556 Rework painting into client-side jint arrays.
6557 * jni/gtk-peer/gtkcairopeer.h:
6560 2005-02-15 Michael Koch <konqueror@gmx.de>
6562 * javax/swing/DefaultListCellRenderer.java
6563 (serialVersionUID): Made private.
6564 (getListCellRendererComponent): Set horizontal alignment.
6565 * javax/swing/JLabel.java
6566 (setVerticalAlignment): Re-implemented.
6567 (setHorizontalAlignment): Do nothing if old value = new value.
6568 * javax/swing/JList.java
6569 (setCellRenderer): Likewise.
6570 (setModel): Re-implemented.
6571 (setSelectionModel): Likewise.
6573 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6575 * java/awt/Component.java,
6576 java/awt/geom/Rectangle2D.java:
6579 2005-02-15 Michael Koch <konqueror@gmx.de>
6581 * javax/swing/AbstractListModel.java
6582 (fireContentsChanged): Simplified.
6583 (fireIntervalAdded): Likewise.
6584 (fireIntervalRemoved): Likewise.
6585 * javax/swing/DefaultSingleSelectionModel.java:
6587 (fireStateChanged): Simplified.
6588 * javax/swing/JPopupMenu.java
6589 (setSelectionModel): Set property.
6591 2005-02-15 Michael Koch <konqueror@gmx.de>
6593 * java/awt/print/Book.java: Reformatted.
6595 2005-02-15 Michael Koch <konqueror@gmx.de>
6597 * java/awt/geom/Area.java
6598 (QuadSegment.curveArea): Remove unused variables.
6599 (CubicSegment.curveArea): Likewise.
6601 2005-02-15 Michael Koch <konqueror@gmx.de>
6603 * javax/swing/JTree.java
6604 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6605 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6606 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6607 (EXPANDED): New constant.
6608 (COLLAPSED): Likewise.
6609 (nodeStates): New field.
6610 (cellEditor): New method.
6611 (cellRenderer): Likewise.
6612 (selectionModel): Likewise.
6613 (treeModel): Likewise.
6614 (scrollPathToVisible): Likewise.
6615 (scrollRowToVisible): Likewise.
6616 (isCollapsed): Likewise.
6617 (isExpanded): Likewise.
6618 (clearToggledPaths): Likewise.
6619 (getDescendantToggledPaths): Likewise.
6620 (hasBeenExpanded): Likewise.
6621 (isVisible): Likewise.
6622 (isPathEditable): Likewise.
6624 2005-02-15 Michael Koch <konqueror@gmx.de>
6626 * javax/swing/JLayeredPane.java: Reformatted.
6628 2005-02-15 Michael Koch <konqueror@gmx.de>
6630 * javax/swing/tree/DefaultMutableTreeNode.java:
6632 * javax/swing/tree/MutableTreeNode.java:
6635 2005-02-15 Michael Koch <konqueror@gmx.de>
6637 * javax/swing/JFormattedTextField.java
6638 (setDocument): Call setDocument of super class. Don't fire property
6641 2005-02-15 Sven de Marothy <sven@physto.se>
6643 * java/awt/image/IndexColorModel.java:
6644 Add FIXME with respect to alpha handling.
6645 (getAlpha): Default to returning opaque pixels.
6646 * java/awt/image/MultiPixelPackedSampleModel.java
6647 (MultiPixelPackedSampleModel): Corrected parameters, order of
6648 bit shifts and masks, stride length off by one.
6650 2005-02-15 Michael Koch <konqueror@gmx.de>
6652 * javax/swing/JList.java, javax/swing/JTree.java:
6653 Added much new methods and fixed much methods setting bound properties.
6655 2005-02-16 Mark Wielaard <mark@klomp.org>
6657 * Makefile.am (gnu_xml_source_files): Removed
6658 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6659 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6660 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6661 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6662 gnu/xml/dom/DomDocumentFragment.java,
6663 gnu/xml/dom/DomProcessingInstruction.java and
6664 gnu/xml/dom/ls/DomLSException.java.
6665 * Makefile.in: Regenerated.
6667 2005-02-16 Tom Tromey <tromey@redhat.com>
6669 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6670 attribute index is out of bounds.
6672 2005-02-16 Chris Burdess <dog@gnu.org>
6674 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6675 isDeclared methods. Improved performance of isSpecified methods.
6677 2005-02-16 Chris Burdess <dog@gnu.org>
6679 Fixes bug libgcj/19864
6680 * gnu/xml/dom/DomAttr.java,
6681 gnu/xml/dom/DomCDATA.java,
6682 gnu/xml/dom/DomCDATASection.java,
6683 gnu/xml/dom/DomCharacterData.java,
6684 gnu/xml/dom/DomDOMException.java,
6685 gnu/xml/dom/DomDoctype.java,
6686 gnu/xml/dom/DomDocument.java,
6687 gnu/xml/dom/DomDocumentConfiguration.java,
6688 gnu/xml/dom/DomDocumentFragment.java,
6689 gnu/xml/dom/DomElement.java,
6690 gnu/xml/dom/DomEx.java,
6691 gnu/xml/dom/DomFragment.java,
6692 gnu/xml/dom/DomImpl.java,
6693 gnu/xml/dom/DomIterator.java,
6694 gnu/xml/dom/DomNamedNodeMap.java,
6695 gnu/xml/dom/DomNode.java,
6696 gnu/xml/dom/DomNsNode.java,
6697 gnu/xml/dom/DomPI.java,
6698 gnu/xml/dom/DomProcessingInstruction.java,
6699 gnu/xml/dom/DomText.java,
6700 gnu/xml/dom/DomLSEx.java,
6701 gnu/xml/dom/DomLSException.java,
6702 gnu/xml/dom/DomLSParser.java,
6703 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6704 implementation class names to conform to Classpath guidelines. Make
6705 DomLSException use JDK 1.4+ exception chaining.
6706 * gnu/xml/util/SAXNullTransformerFactory.java,
6707 gnu/xml/xpath/Predicate.java: Use constants relative to
6708 declaring class or interface.
6710 2005-02-16 Andrew Haley <aph@redhat.com>
6712 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6713 null, create a new AccessControlContext.
6714 * java/security/SecureClassLoader.java (protectionDomainCache):
6716 (defineClass): Create a new protection domain and add it to our
6719 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6720 addStub() to keep track of the stub we've exported.
6721 (unexportObject): Call deleteStub().
6722 * java/rmi/server/RemoteObject.java (stubs): New field.
6723 (addStub): New method.
6724 (deleteStub): New method.
6727 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6728 true to findHelper (tryParents).
6729 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6731 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6732 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6734 If tryParents is false, don't scan parent class loaders.
6736 * java/security/Permissions.java (PermissionsHash.implies):
6737 Iterate over the collection and invoke implies() on each
6740 2005-02-16 Andrew Haley <aph@redhat.com>
6742 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6744 (PersistentByteMap): Set name
6745 Magic number changed to 0x67636a64 ("gcjd").
6746 (init): Force the map to be prime.
6747 (emptyPersistentByteMap): File name was a string, now a File.
6748 (addBytes): Share srings between entries.
6749 (stringTableSize): New method.
6750 (capacity): Scale by load factor.
6751 (force): New method.
6752 (getFile): New method.
6753 (close): New method.
6754 (putAll): New method.
6755 (ByteWrapper): New class.
6756 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6757 (main): Guess the average string size as 32, not 64.
6758 Copy a database before modifying it, so that we can update a
6759 database in a running system.
6760 If a database isn't big enough, resize it.
6761 "-m": new option: merges databases.
6762 "-a": Create a new detabase if it doesn't exist.
6763 (usage): Correct, add new option.
6764 (addJar): Copy a database before modifying it.
6765 (resizeMap): New method.
6767 2005-02-15 David Daney <ddaney@avtrex.com>
6768 Bryce McKinlay <mckinlay@redhat.com>
6770 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6771 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6772 ensure that GC threads inherit the new signal mask.
6773 (block_sigchld): Call JvFail rather than throwing exception if
6774 pthread_sigmask() fails.
6776 2005-02-15 Mark Wielaard <mark@klomp.org>
6778 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6779 file path elements are separated by spaces.
6781 2005-02-15 Mark Wielaard <mark@klomp.org>
6783 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6784 to describe attributes without a constant field value in this class.
6786 2005-02-15 Michael Koch <konqueror@gmx.de>
6788 * java/util/jar/Attributes.java
6789 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6791 2005-02-15 Mark Wielaard <mark@klomp.org>
6793 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6794 space for parsing CLASS_PATH attribute.
6796 2005-02-15 Mark Wielaard <mark@klomp.org>
6798 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6799 aside for "GCJLIBS" in directory where jarfiles are loaded.
6800 (JarURLLoader.getClass): Removed method.
6801 (JarURLLoader.toString): Removed method.
6802 (FileResource.toString): Removed method.
6804 2005-02-15 Mark Wielaard <mark@klomp.org>
6806 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6807 and/or cause before throwing.
6809 2005-02-15 Richard Henderson <rth@redhat.com>
6811 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6812 (libgcj0_convenience_la_SOURCES): ... here.
6813 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6814 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6815 * Makefile.in: Regenerate.
6817 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6820 * include/jawt.h: Likewise.
6821 * include/jawt_md.h: Likewise.
6822 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6824 * include/Makefile.in: Regenerate.
6825 * jni/classpath/classpath_jawt.h: Likewise.
6826 * jni/gtk-peer/gtk_jawt.c: Likewise.
6827 * Makefile.am: Build libjawt.so.
6828 * Makefile.in: Regenerate.
6830 2005-02-14 Tom Tromey <tromey@redhat.com>
6832 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6834 2005-02-14 Tom Tromey <tromey@redhat.com>
6836 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6837 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6839 2005-02-14 Tom Tromey <tromey@redhat.com>
6842 * testsuite/libjava.lang/PR19929.out: New file.
6843 * testsuite/libjava.lang/PR19929.java: New file.
6845 2005-02-14 Anthony Green <green@redhat.com>
6848 * testsuite/libjava.jni/PR18116.c: New file.
6849 * testsuite/libjava.jni/PR18116.java: New file.
6850 * testsuite/libjava.jni/PR18116.out: New file.
6852 2005-02-13 Anthony Green <green@redhat.com>
6855 * jni.cc (nathash_add): Don't strdup the method signature.
6856 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6860 2005-02-12 Mark Wielaard <mark@klomp.org>
6862 Fixes bug libgcj/8170
6863 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6864 ClassNotFoundException.
6865 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6866 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6867 (remove_internal): New field superceding remove_interpreter.
6868 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6869 Remove no-class methods starting with "_Jv_". And Replace null
6870 class or method names with the empty string. Stop at either the
6871 MainThread or a real Thread run() method.
6872 (newElement): Made static.
6873 * java/net/URLClassLoader.java (findClass): Throw
6874 ClassNotFoundExceptions including urls, plus parent using toString().
6875 (thisString): New field.
6876 (toString): New method.
6878 2005-02-10 Tom Tromey <tromey@redhat.com>
6880 * external/sax/Makefile.in: Rebuilt.
6881 * external/sax/Makefile.am (all-local): Removed.
6882 (BUILT_SOURCES): New variable.
6883 (mostlyclean-local): No error if no classes to delete.
6884 * external/w3c_dom/Makefile.in: Rebuilt.
6885 * external/w3c_dom/Makefile.am (all-local): Removed.
6886 (BUILT_SOURCES): New variable.
6887 (mostlyclean-local): No error if no classes to delete.
6889 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6891 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6892 of mauve and libjava.
6894 2005-02-09 Tom Tromey <tromey@redhat.com>
6896 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6897 jar file with OPEN_DELETE.
6898 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6899 OPEN_DELETE is used.
6901 2005-02-09 Tom Tromey <tromey@redhat.com>
6903 * java/util/zip/InflaterInputStream.java (markSupported):
6905 (mark, reset): Likewise.
6907 2005-02-08 Tom Tromey <tromey@redhat.com>
6909 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6910 name or port is missing.
6911 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6912 AUTHORITY_PORT_GROUP): Updated.
6914 2005-02-08 Tom Tromey <tromey@redhat.com>
6916 * configure: Rebuilt.
6917 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6920 2005-02-07 Tom Tromey <tromey@redhat.com>
6922 * java/lang/natRuntime.cc (insertSystemProperties): Set
6923 sun.boot.class.path earlier.
6925 2005-02-07 Tom Tromey <tromey@redhat.com>
6927 * defineclass.cc (handleClassBegin): Use
6928 _Jv_RegisterInitiatingLoader.
6929 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6930 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6931 class. Use _Jv_UnregisterInitiatingLoader.
6932 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6935 2005-02-07 Mark Wielaard <mark@klomp.org>
6937 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6938 java/util/regex/Matcher.java (lookingAt): Set position when match
6940 (matches): Implemented through lookingAt().
6942 2005-02-07 Mark Wielaard <mark@klomp.org>
6944 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6945 * java/util/regex/Pattern.java (split(CharSequence,int)):
6946 Fix while empties > 0 loops.
6948 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6950 * gnu/java/nio/charset/ISO_8859_1.java,
6951 gnu/java/nio/charset/US_ASCII.java,
6952 gnu/java/nio/charset/UTF_16.java,
6953 gnu/java/nio/charset/UTF_16_LE.java,
6954 gnu/java/nio/charset/UTF_16_BE.java,
6955 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6956 and aliases according to
6957 "http://www.iana.org/assignments/character-sets",
6958 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6959 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6960 * gnu/java/nio/charset/Provider.java: Made charset lookup
6961 case-insensitive which fixes bug #11740.
6963 2005-02-07 Tom Tromey <tromey@redhat.com>
6966 * Makefile.in: Rebuilt.
6967 * Makefile.am (src.zip): New target.
6968 (install-src.zip): Likewise.
6969 (sourcesdir): New variable.
6971 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6973 * javax/imageio/metadata/IIOMetadataNode.java:
6975 * javax/imageio/metadata/IIOAttr.java,
6976 javax/imageio/metadata/IIONamedNodeMap.java,
6977 javax/imageio/metadata/IIONodeList.java:
6980 2005-02-06 Graydon Hoare <graydon@redhat.com>
6982 * gnu/java/awt/ClasspathToolkit.java
6983 (registerImageIOSpis): New method.
6984 * javax/imageio/ImageIO.java
6985 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6986 (WriterMIMETypeFilter.filter): Likewise.
6987 (ImageReaderIterator): Pass extension argument through to SPI.
6988 (getReadersByFilter): Likewise.
6989 (getWritersByFilter): Likewise.
6990 (getImageReadersByFormatName): Likewise.
6991 (getImageReadersByMIMEType): Likewise.
6992 (getImageReadersBySuffix): Likewise.
6993 (getImageWritersByFormatName): Likewise.
6994 (getImageWritersByMIMEType): Likewise.
6995 (getImageWritersBySuffix): Likewise.
6998 * javax/imageio/ImageReader.java
6999 (progressListeners): Initialize.
7000 (setInput): Implement.
7001 * javax/imageio/ImageWriter.java
7002 (progressListeners): Initialize.
7003 (warningListeners): Likewise.
7004 (warningLocales): Likewise.
7005 (setOutput): Test "isInstance" rather than class equality.
7006 * javax/imageio/spi/IIORegistry.java
7007 (static): Add reader and writer SPIs.
7008 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7010 2005-02-06 Michael Koch <konqueror@gmx.de>
7012 * javax/imageio/metadata/IIOInvalidTreeException.java
7013 (IIOInvalidTreeException): Reformatted.
7014 * javax/imageio/spi/IIORegistry.java
7015 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7016 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7017 Reworked import statements.
7019 2005-02-06 Michael Koch <konqueror@gmx.de>
7021 * javax/imageio/stream/FileImageOutputStream.java:
7024 2005-02-06 Michael Koch <konqueror@gmx.de>
7026 * javax/imageio/stream/FileCacheImageInputStream.java,
7027 javax/imageio/stream/FileCacheImageOutputStream.java,
7028 javax/imageio/stream/FileImageInputStream.java,
7029 javax/imageio/stream/ImageInputStreamImpl.java,
7030 javax/imageio/stream/ImageOutputStreamImpl.java,
7031 javax/imageio/stream/MemoryCacheImageInputStream.java,
7032 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7033 Added all missing methods in javax.imageio.stream.
7035 2005-02-02 David Daney <ddaney@avtrex.com>
7037 * java/net/InetAddress.java (InetAddress): Make a private copy of
7039 * java/net/Inet4Address.java (getAddress): Return a copy of the
7041 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7043 (getAddress): Return a copy of the address.
7046 2005-02-02 Tom Tromey <tromey@redhat.com>
7048 * Makefile.in: Rebuilt.
7049 * Makefile.am (classes.stamp): New target, broken out from
7051 ($(all_java_class_files)): Depend on it.
7052 (libgcj-@gcc_version@.jar): Likewise.
7053 (all-recursive): Likewise.
7054 (CLEANFILES): Include classes.stamp.
7056 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7058 * link.cc: Include <stdio.h>
7060 2005-02-02 Tom Tromey <tromey@redhat.com>
7063 * Makefile.in: Rebuilt.
7064 * Makefile.am (ordinary_java_source_files): Added new class.
7065 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7066 Use system_instance, not instance.
7067 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7068 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7070 (system_instance): New field.
7071 (initialize): Initialize the system loader as well.
7072 (VMClassLoader): Default to LIB_CACHE.
7074 2005-02-02 Tom Tromey <tromey@redhat.com>
7076 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7077 * prims.cc: Fixed comment.
7079 2005-02-01 Tom Tromey <tromey@redhat.com>
7081 * Makefile.in: Rebuilt.
7082 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7083 (.java.class): Use BOOTCLASSPATH.
7085 2005-02-01 Tom Tromey <tromey@redhat.com>
7087 * external/w3c_dom/Makefile.am: New file.
7088 * external/w3c_dom/Makefile.in: New file.
7089 * external/sax/Makefile.am: New file.
7090 * external/sax/Makefile.in: New file.
7091 * external/Makefile.in: New file.
7092 * external/Makefile.am: New file.
7093 * external/README: New file from Classpath.
7094 * configure, aclocal.m4, Makefile.in: Rebuilt.
7095 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7096 * Makefile.am (SUBDIRS): Added external.
7097 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7098 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7099 (BOOTCLASSPATH): New variable.
7100 (AM_GCJFLAGS): Use it.
7101 (gnu_xml_source_files): New variable.
7102 (libgcj_la_SOURCES): Use it.
7103 (libgcj_la_LDADD): Include new convenience libraries.
7104 (lib_org_ietf_jgss_la_SOURCES): Removed.
7105 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7106 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7107 (lib_org_w3c_dom_la_SOURCES): Removed.
7108 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7109 (lib_org_w3c_dom_la_LIBADD): Likewise.
7110 (lib_org_xml_sax_la_SOURCES): Removed.
7111 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7112 (lib_org_xml_sax_la_LIBADD): Likewise.
7113 (all_java_source_files): Updated.
7114 (property_files): Likewise.
7115 (libgcj-@gcc_version@.jar): Include classes from external/.
7116 (javax_source_files): Updated.
7117 (ordinary_java_source_files): Updated.
7118 * javax/xml/XMLConstants.java,
7119 javax/xml/datatype/DatatypeConfigurationException.java,
7120 javax/xml/datatype/DatatypeConstants.java,
7121 javax/xml/datatype/DatatypeFactory.java,
7122 javax/xml/datatype/Duration.java,
7123 javax/xml/datatype/XMLGregorianCalendar.java,
7124 javax/xml/datatype/package.html,
7125 javax/xml/namespace/NamespaceContext.java,
7126 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7127 javax/xml/parsers/DocumentBuilder.java,
7128 javax/xml/parsers/DocumentBuilderFactory.java,
7129 javax/xml/parsers/FactoryConfigurationError.java,
7130 javax/xml/parsers/ParserConfigurationException.java,
7131 javax/xml/parsers/SAXParser.java,
7132 javax/xml/parsers/SAXParserFactory.java,
7133 javax/xml/parsers/package.html,
7134 javax/xml/transform/ErrorListener.java,
7135 javax/xml/transform/OutputKeys.java,
7136 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7137 javax/xml/transform/SourceLocator.java,
7138 javax/xml/transform/Templates.java,
7139 javax/xml/transform/Transformer.java,
7140 javax/xml/transform/TransformerConfigurationException.java,
7141 javax/xml/transform/TransformerException.java,
7142 javax/xml/transform/TransformerFactory.java,
7143 javax/xml/transform/TransformerFactoryConfigurationError.java,
7144 javax/xml/transform/URIResolver.java,
7145 javax/xml/transform/package.html,
7146 javax/xml/transform/dom/DOMLocator.java,
7147 javax/xml/transform/dom/DOMResult.java,
7148 javax/xml/transform/dom/DOMSource.java,
7149 javax/xml/transform/dom/package.html,
7150 javax/xml/transform/sax/SAXResult.java,
7151 javax/xml/transform/sax/SAXSource.java,
7152 javax/xml/transform/sax/SAXTransformerFactory.java,
7153 javax/xml/transform/sax/TemplatesHandler.java,
7154 javax/xml/transform/sax/TransformerHandler.java,
7155 javax/xml/transform/sax/package.html,
7156 javax/xml/transform/stream/StreamResult.java,
7157 javax/xml/transform/stream/StreamSource.java,
7158 javax/xml/transform/stream/package.html,
7159 javax/xml/validation/Schema.java,
7160 javax/xml/validation/SchemaFactory.java,
7161 javax/xml/validation/TypeInfoProvider.java,
7162 javax/xml/validation/Validator.java,
7163 javax/xml/validation/ValidatorHandler.java,
7164 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7165 javax/xml/xpath/XPathConstants.java,
7166 javax/xml/xpath/XPathException.java,
7167 javax/xml/xpath/XPathExpression.java,
7168 javax/xml/xpath/XPathExpressionException.java,
7169 javax/xml/xpath/XPathFactory.java,
7170 javax/xml/xpath/XPathFactoryConfigurationException.java,
7171 javax/xml/xpath/XPathFunction.java,
7172 javax/xml/xpath/XPathFunctionException.java,
7173 javax/xml/xpath/XPathFunctionResolver.java,
7174 javax/xml/xpath/XPathVariableResolver.java,
7175 javax/xml/xpath/package.html: New files, from GNU JAXP.
7176 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7177 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7178 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7179 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7180 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7181 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7182 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7183 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7184 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7185 org/w3c/dom/ranges/DocumentRange.java,
7186 org/w3c/dom/ranges/Range.java,
7187 org/w3c/dom/ranges/RangeException.java,
7188 org/w3c/dom/traversal/DocumentTraversal.java,
7189 org/w3c/dom/traversal/NodeFilter.java,
7190 org/w3c/dom/traversal/NodeIterator.java,
7191 org/w3c/dom/traversal/TreeWalker.java,
7192 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7193 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7194 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7195 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7196 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7197 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7198 org/xml/sax/SAXNotRecognizedException.java,
7199 org/xml/sax/SAXNotSupportedException.java,
7200 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7201 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7202 org/xml/sax/ext/DeclHandler.java,
7203 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7204 org/xml/sax/helpers/AttributeListImpl.java,
7205 org/xml/sax/helpers/AttributesImpl.java,
7206 org/xml/sax/helpers/DefaultHandler.java,
7207 org/xml/sax/helpers/LocatorImpl.java,
7208 org/xml/sax/helpers/NamespaceSupport.java,
7209 org/xml/sax/helpers/NewInstance.java,
7210 org/xml/sax/helpers/ParserAdapter.java,
7211 org/xml/sax/helpers/ParserFactory.java,
7212 org/xml/sax/helpers/XMLFilterImpl.java,
7213 org/xml/sax/helpers/XMLReaderAdapter.java,
7214 org/xml/sax/helpers/XMLReaderFactory.java,
7215 org/xml/sax/helpers/package.html: Moved to external/.
7216 * external/sax/README,
7217 external/sax/org/xml/sax/AttributeList.java,
7218 external/sax/org/xml/sax/Attributes.java,
7219 external/sax/org/xml/sax/ContentHandler.java,
7220 external/sax/org/xml/sax/DTDHandler.java,
7221 external/sax/org/xml/sax/DocumentHandler.java,
7222 external/sax/org/xml/sax/EntityResolver.java,
7223 external/sax/org/xml/sax/ErrorHandler.java,
7224 external/sax/org/xml/sax/HandlerBase.java,
7225 external/sax/org/xml/sax/InputSource.java,
7226 external/sax/org/xml/sax/Locator.java,
7227 external/sax/org/xml/sax/Parser.java,
7228 external/sax/org/xml/sax/SAXException.java,
7229 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7230 external/sax/org/xml/sax/SAXNotSupportedException.java,
7231 external/sax/org/xml/sax/SAXParseException.java,
7232 external/sax/org/xml/sax/XMLFilter.java,
7233 external/sax/org/xml/sax/XMLReader.java,
7234 external/sax/org/xml/sax/package.html,
7235 external/sax/org/xml/sax/ext/Attributes2.java,
7236 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7237 external/sax/org/xml/sax/ext/DeclHandler.java,
7238 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7239 external/sax/org/xml/sax/ext/EntityResolver2.java,
7240 external/sax/org/xml/sax/ext/LexicalHandler.java,
7241 external/sax/org/xml/sax/ext/Locator2.java,
7242 external/sax/org/xml/sax/ext/Locator2Impl.java,
7243 external/sax/org/xml/sax/ext/package.html,
7244 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7245 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7246 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7247 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7248 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7249 external/sax/org/xml/sax/helpers/NewInstance.java,
7250 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7251 external/sax/org/xml/sax/helpers/ParserFactory.java,
7252 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7253 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7254 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7255 external/sax/org/xml/sax/helpers/package.html,
7256 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7257 external/w3c_dom/org/w3c/dom/Attr.java,
7258 external/w3c_dom/org/w3c/dom/CDATASection.java,
7259 external/w3c_dom/org/w3c/dom/CharacterData.java,
7260 external/w3c_dom/org/w3c/dom/Comment.java,
7261 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7262 external/w3c_dom/org/w3c/dom/DOMError.java,
7263 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7264 external/w3c_dom/org/w3c/dom/DOMException.java,
7265 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7266 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7267 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7268 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7269 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7270 external/w3c_dom/org/w3c/dom/Document.java,
7271 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7272 external/w3c_dom/org/w3c/dom/DocumentType.java,
7273 external/w3c_dom/org/w3c/dom/Element.java,
7274 external/w3c_dom/org/w3c/dom/Entity.java,
7275 external/w3c_dom/org/w3c/dom/EntityReference.java,
7276 external/w3c_dom/org/w3c/dom/NameList.java,
7277 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7278 external/w3c_dom/org/w3c/dom/Node.java,
7279 external/w3c_dom/org/w3c/dom/NodeList.java,
7280 external/w3c_dom/org/w3c/dom/Notation.java,
7281 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7282 external/w3c_dom/org/w3c/dom/Text.java,
7283 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7284 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7285 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7286 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7287 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7288 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7289 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7290 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7291 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7292 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7293 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7294 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7295 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7296 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7297 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7298 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7299 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7300 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7301 external/w3c_dom/org/w3c/dom/css/Counter.java,
7302 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7303 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7304 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7305 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7306 external/w3c_dom/org/w3c/dom/css/Rect.java,
7307 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7308 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7309 external/w3c_dom/org/w3c/dom/events/Event.java,
7310 external/w3c_dom/org/w3c/dom/events/EventException.java,
7311 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7312 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7313 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7314 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7315 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7316 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7317 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7318 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7319 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7320 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7321 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7322 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7323 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7324 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7325 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7326 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7327 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7328 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7329 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7330 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7331 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7332 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7333 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7334 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7335 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7336 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7337 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7338 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7339 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7340 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7341 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7342 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7343 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7344 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7345 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7346 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7347 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7348 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7349 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7350 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7351 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7352 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7353 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7354 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7355 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7356 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7357 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7358 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7359 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7360 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7361 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7362 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7363 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7364 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7365 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7366 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7367 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7368 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7369 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7370 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7371 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7372 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7373 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7374 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7375 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7376 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7377 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7378 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7379 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7380 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7381 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7382 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7383 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7384 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7385 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7386 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7387 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7388 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7389 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7390 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7391 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7392 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7393 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7394 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7395 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7396 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7397 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7398 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7399 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7400 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7401 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7402 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7405 2005-01-31 Anthony Green <green@redhat.com>
7407 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7408 Support IP_MULTICAST_LOOP.
7409 (setOption): Support IP_MULTICAST_LOOP.
7411 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7412 SO_REUSEADDR support.
7413 (getOption): Support SO_REUSEADDR.
7415 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7418 * java/util/Date.java
7419 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7421 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7423 (getTimezoneOffset): Inverted sign.
7425 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7427 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7428 remove other passing tests and add new XFAILs.
7430 2005-01-24 Tom Tromey <tromey@redhat.com>
7432 * java/lang/Class.h (next): Updated documentation. Renamed to
7434 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7435 _Jv_CheckABIVersion.
7436 (_Jv_RegisterClasses_Counted): Likewise.
7437 (_Jv_RegisterClassHookDefault): Fix starting condition of
7438 duplicate-checking loop.
7439 * include/jvm.h (GCJ_VERSION): New define.
7440 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7441 (_Jv_CheckABIVersion): New function.
7443 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7445 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7446 (libgij_la_LDFLAGS): Add.
7447 * Makefile.in: Rebuilt.
7449 2005-01-24 Roger Sayle <roger@eyesopen.com>
7452 * testsuite/libjava.compile/PR19295.java: New test case.
7454 2005-01-19 Tom Tromey <tromey@redhat.com>
7456 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7457 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7458 if 'handler' is valid.
7460 2005-01-17 Tom Tromey <tromey@redhat.com>
7462 * java/text/MessageFormat.java (scanString): Changed how quoting
7464 (scanFormatElement): Likewise.
7466 2004-12-07 Mark Wielaard <mark@klomp.org>
7468 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7470 2005-01-15 Michael Koch <konqueror@gmx.de>
7474 (AUTHORITY_REGEXP): New regexp constant.
7475 (AUTHORITY_USERINFO_GROUP): New constant.
7476 (AUTHORITY_HOST_GROUP): Likewise.
7477 (AUTHORITY_PORT_GROUP): Likewise.
7478 (port): Changed default value to -1.
7479 (parseURI): Parse authority part and initialize host,
7482 2005-01-14 Robin Green <greenrd@greenrd.org>
7484 * java/io/File.java (toURI): Generate a URI which we understand.
7486 2005-01-13 Graydon Hoare <graydon@redhat.com>
7488 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7489 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7490 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7491 * jni.cc: Reuse bottom frame between calls, avoid clearing
7492 frame when no local references are made.
7494 2005-01-13 Michael Koch <konqueror@gmx.de>
7497 * java/lang/Thread.java
7498 (Thread): Call checkAccess().
7499 (stop): Fixed argument name to match javadoc.
7500 * java/lang/natThread.cc
7501 (interrupt): Call checkAccess().
7504 2005-01-11 Michael Koch <konqueror@gmx.de>
7507 * java/net/URL.java (URL): Handle specs like
7508 "/redir?http://domain2.com/index.html" which start with a slash.
7510 2005-01-11 Michael Koch <konqueror@gmx.de>
7512 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7513 * gnu/java/net/BASE64.java,
7514 gnu/java/net/EmptyX509TrustManager.java,
7515 gnu/java/net/LineInputStream.java,
7516 gnu/java/net/protocol/http/Authenticator.java,
7517 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7518 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7519 gnu/java/net/protocol/http/ChunkedInputStream.java,
7520 gnu/java/net/protocol/http/Cookie.java,
7521 gnu/java/net/protocol/http/CookieManager.java,
7522 gnu/java/net/protocol/http/Credentials.java,
7523 gnu/java/net/protocol/http/HTTPConnection.java,
7524 gnu/java/net/protocol/http/HTTPDateFormat.java,
7525 gnu/java/net/protocol/http/HTTPURLConnection.java,
7526 gnu/java/net/protocol/http/Headers.java,
7527 gnu/java/net/protocol/http/Request.java,
7528 gnu/java/net/protocol/http/RequestBodyWriter.java,
7529 gnu/java/net/protocol/http/Response.java,
7530 gnu/java/net/protocol/http/ResponseBodyReader.java,
7531 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7532 gnu/java/net/protocol/http/SimpleCookieManager.java,
7533 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7534 gnu/java/net/protocol/http/event/ConnectionListener.java,
7535 gnu/java/net/protocol/http/event/RequestEvent.java,
7536 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7537 * gnu/java/net/protocol/http/Connection.java: Removed.
7538 * gnu/java/net/protocol/http/Handler.java,
7539 javax/net/ssl/HttpsURLConnection.java: Updated.
7540 * Makefile.am: Added new files and remove old ones.
7541 * Makefile.in: Regenerated.
7543 2005-01-11 Tom Tromey <tromey@redhat.com>
7546 * java/io/BufferedInputStream.java (read): Repeatedly read to
7548 (refill): Change test to see if buffer must be grown.
7550 2005-01-10 Tom Tromey <tromey@redhat.com>
7552 * mauve-libgcj: Exclude some swing tests.
7554 2005-01-10 Tom Tromey <tromey@redhat.com>
7556 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7557 * java/lang/Package.java (getPackages): Use VMClassLoader when
7559 (getPackage): Likewise.
7560 * prims.cc (_Jv_CreateJavaVM): Call
7561 _Jv_RegisterBootstrapPackages.
7562 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7563 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7564 (getPackages): Likewise.
7565 (definedPackages): New field.
7566 (definePackageForNative): New method.
7567 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7568 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7569 * defineclass.cc (handleClassBegin): Use
7570 ClassLoader.findLoadedClass.
7571 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7573 (struct _Jv_LoaderInfo): Removed.
7574 (initiated_classes): Likewise.
7575 (_Jv_UnregisterClass): Don't use initiated_classes.
7576 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7577 (_Jv_FindClass): Register classes found during boostrap.
7578 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7579 (bootstrap_class_list): New global.
7580 (bootstrap_index): Likewise.
7581 (_Jv_RegisterBootstrapPackages): New function.
7582 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7583 definePackageForNative.
7584 (findClass): Updated.
7585 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7588 2005-01-10 Tom Tromey <tromey@redhat.com>
7591 * include/jvm.h (_Jv_Linker::find_field): Declare.
7592 (_Jv_Linker::find_field_helper): Likewise.
7593 * link.cc (find_field_helper): New method.
7594 (find_field): Likewise.
7595 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7597 (link_symbol_table): Use find_field.
7599 2005-01-10 Michael Koch <konqueror@gmx.de>
7602 * java/util/Locale.java (Locale): Don't uppercase variant.
7603 (getISOCountries): Fixed typo in javadoc.
7605 2005-01-10 Michael Koch <konqueror@gmx.de>
7607 * java/util/SimpleTimeZone.java (checkRule):
7608 Throw IllegalArgumentException on invalid month values.
7609 * java/util/TimeZone.java (setID):
7610 Throw NullPointerException if needed.
7612 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7614 * java/util/SimpleTimeZone.java (getOffset):
7615 offset end date with daylight savings
7617 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7619 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7620 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7622 2005-01-09 Michael Koch <konqueror@gmx.de>
7625 * java/net/InetAddress.java (getLocalHost):
7626 Throw UnknownHostException if local hostname cannot be determined.
7628 2005-01-06 Tom Tromey <tromey@redhat.com>
7630 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7632 2005-01-07 Michael Koch <konqueror@gmx.de>
7635 * java/nio/Buffer.java (address): New field.
7636 * java/nio/DirectByteBufferImpl.java (address): Removed.
7637 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7638 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7639 Explicitly initialize Buffer.address if needed.
7640 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7641 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7642 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7643 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7644 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7645 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7646 DirectByteBufferImpl object.
7647 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7648 * testsuite/libjava.jni/directbuffer.c,
7649 testsuite/libjava.jni/directbuffer.java,
7650 testsuite/libjava.jni/directbuffer.out,
7651 testsuite/libjava.jni/bytebuffer.c,
7652 testsuite/libjava.jni/bytebuffer.java,
7653 testsuite/libjava.jni/bytebuffer.out: New files.
7655 2005-01-05 Tom Tromey <tromey@redhat.com>
7657 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7659 (compressedSize): Now 'long'. Default to -1.
7660 (getCompressedSize): Rewrote.
7661 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7662 deflate at all if we need input.
7664 2005-01-05 Tom Tromey <tromey@redhat.com>
7667 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7670 2005-01-05 Tom Tromey <tromey@redhat.com>
7672 * java/lang/natRuntime.cc (insertSystemProperties): Set
7673 java.ext.dirs earlier.
7675 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7677 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7678 sync_info element of the object if needed.
7680 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7682 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7683 a non-zero exit status from 'false'.
7685 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7687 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.