1 2005-06-04 Anthony Green <green@redhat.com>
3 * java/net/URLClassLoader.java: import gnu.gcj.Core,
4 and gnu.java.net.protocol.core.CoreInputStream.
5 (CureURLLoader): New class.
6 (CoreResource): New class.
7 (addURLImpl): Add special treatment for the "core" protocol.
8 * gnu/gcj/natCore.cc (find): New method.
9 * gnu/gcj/Core.java (find): New method.
11 2005-06-03 Keith Seitz <keiths@redhat.com>
13 * gnu/classpath/jdwp/transport/ITransport.java: New file.
14 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
15 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
17 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
19 * jawt.c: Remove malloc.h, covered by stdlib.h.
21 * testsuite/libjava.jni/jni.exp
22 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
25 2005-06-02 Keith Seitz <keiths@redhat.com>
27 * gnu/classpath/jdwp/transport/TransportException.java: New file.
29 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
31 * mauve-libgcj: Remove implemented classes from the fail section.
32 Add two new not implemented to it.
34 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
36 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
37 AC_SUBST definition from configure.host.
38 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
39 to -fomit-frame-pointer on 32-bit x86 targets.
41 2005-06-01 Tom Tromey <tromey@redhat.com>
43 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
45 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
48 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
49 (static): Add possessive matching to JAVA_1_4 syntax.
50 * gnu/regexp/RETokenRepeated.java (possessive): New field.
51 (makePossessive, isPossessive): New methods.
52 (match): Don't back off during possessive matching.
53 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
54 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
57 2005-06-01 Keith Seitz <keiths@redhat.com>
59 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
60 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
61 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
63 2005-06-01 Tom Tromey <tromey@redhat.com>
66 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
67 (currentLoader): New method.
68 * java/io/ObjectInputStream.java (resolveProxyClass): Use
70 (currentLoader): Now native.
71 (currentClassLoader): Removed.
72 * testsuite/libjava.lang/pr21785.java: New file.
73 * testsuite/libjava.lang/pr21785.out: New file.
75 2005-06-01 Tom Tromey <tromey@redhat.com>
78 * java/lang/natString.cc (substring): Changed sharing heuristic.
80 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
83 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
84 MAXPATHLEN. Format exception message using a StringBuffer instead.
86 2005-05-29 Michael Koch <konqueror@gmx.de>
89 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
91 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
93 * ChangeLog: Fix typo.
95 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
97 Testsuite adjustments for PR java/19870.
98 * testsuite/libjava.lang/PR19870.java: New testcase.
99 * testsuite/libjava.lang/PR19870.out: Expected output for the
101 * testsuite/libjava.jacks/jacks.xfail: Add
102 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
105 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
107 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
108 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
109 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
111 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
112 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
113 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
114 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
116 2005-05-25 Richard Henderson <rth@redhat.com>
119 * sysdep/descriptor-n.h: New file.
120 * sysdep/descriptor-y.h: New file.
121 * sysdep/powerpc/descriptor.h: New file.
122 * configure.host: Set $descriptor_h appropriate for the host.
123 * configure.ac: Link it.
124 * configure: Regenerate.
125 * stacktrace.cc: Include sysdep/descriptor.h.
126 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
128 2005-05-25 Chris Burdess <dog@gnu.org>
130 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
131 end entity callbacks.
133 2005-05-24 Gary Benson <gbenson@redhat.com>
136 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
137 Handle DateFormat.DEFAULT case correctly.
139 2005-05-21 Tom Tromey <tromey@redhat.com>
142 * java/lang/ref/natReference.cc (find_slot): Handle case where
143 table has no NULL entries.
144 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
145 table has no NULL entries.
147 2005-05-22 Andreas Jaeger <aj@suse.de>
149 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
152 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
154 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
156 2005-05-19 Richard Henderson <rth@redhat.com>
158 * exception.cc: Revert 05-17 gcc_unreachable change.
160 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
162 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
163 _Jv_RegisterInitiatingLoader to register array classes, not
165 (_Jv_RegisterInitiatingLoader): Give up if called very early during
166 bootstrapping. Add a FIXME to handle this case better.
168 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
170 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
172 (libgcj_la_SOURCES): New. Move sources here.
173 (libgcj.la): Remove rule.
175 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
178 * gnu/java/security/provider/DSASignature.java: Import updates
181 2005-05-18 Anthony Green <green@redhat.com>
183 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
184 classpath_jawt_object_unlock, classpath_jawt_create_lock,
185 classpath_jawt_destroy_lock): New functions.
186 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
187 classpath_jawt_object_unlock, classpath_jawt_create_lock,
188 classpath_jawt_destroy_lock): New functions.
189 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
191 * jawt.c: #include malloc.h.
192 (_Jv_Lock): Use lock.
194 (_Jv_GetDrawingSurface): Initialize lock.
195 (_Jv_FreeDrawingSurface): Destroy lock.
196 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
198 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
200 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
201 * Makefile.in: Regenerate.
203 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
205 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
206 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
207 * aclocal.m4, configure, config.h.in, include/config.h.in,
208 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
209 external/Makefile.in, external/sax/Makefile.in,
210 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
212 2005-05-17 David Daney <ddaney@avtrex.com>
215 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
217 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
219 * exception.cc (abort): Remove std::abort hack.
220 (gcc_unreacheable): Define.
222 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
224 * Makefile.am (Makefile.deps): Do not create native.list and
226 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
227 * Makefile.in: Regenerate.
229 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
231 * configure.ac (--enable-libgcj-multifile): Remove.
233 * Makefile.am (all_native_compiled_source_files,
234 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
235 all_libgcj_lo_files, all_xlib_lo_files,
236 all_java_deps_files, all_java_stamp_files,
237 all_java_filelist_files): New variables.
238 (EXTRA_DIST): New Automake variable.
239 (CLEANFILES): Add .stamp, .list and .lo files.
240 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
241 (classes.stamp): Depend on $(all_java_stamp_files).
242 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
243 going through write_entries_to_file.
245 (all_java_source_files, all_property_files): Move earlier.
246 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
247 all_java_class_files): Remove.
248 (gtk_awt_peer_sources): Rename to...
249 (gtk_awt_peer_source_files): ... this. Adjust throughout.
252 (libgcj0_convenience_la_SOURCES): Remove Java source files.
253 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
254 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
255 (libgcj_la_SOURCES): Remove.
256 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
257 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
258 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
260 * configure: Regenerate.
261 * Makefile.in: Regenerate.
262 * external/Makefile.in: Regenerate.
263 * external/sax/Makefile.in: Regenerate.
264 * external/w3c_dom/Makefile.in: Regenerate.
265 * gcj/Makefile.in: Regenerate.
266 * include/Makefile.in: Regenerate.
267 * libltdl/Makefile.in: Regenerate.
268 * testsuite/Makefile.in: Regenerate.
270 2005-05-16 Tom Tromey <tromey@redhat.com>
272 * java/nio/charset/Charset.java (encode, decode): Synchronize on
273 'this', not the class.
275 2005-05-16 Tom Tromey <tromey@redhat.com>
277 * gnu/java/net/protocol/http/Headers.java (parse): Include final
280 2005-05-16 Tom Tromey <tromey@redhat.com>
283 * java/net/URI.java (unquote): Handle lower-case letters as well.
285 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
288 * gnu/regexp/RE.java: Add support for quoting constructs.
290 2005-05-15 Tom Tromey <tromey@redhat.com>
292 * java/lang/String.java (startsWith): Fixed javadoc.
294 2005-05-15 Tom Tromey <tromey@redhat.com>
297 * testsuite/libjava.compile/pr21519.java: New file.
298 * testsuite/libjava.compile/pr21519.no-link: New file.
300 2005-05-15 Tom Tromey <tromey@redhat.com>
302 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
304 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
307 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
308 interrupt status flag if _Jv_CondWait is interrupted.
310 2005-05-13 Tom Tromey <tromey@redhat.com>
312 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
315 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
317 * include/jvm.h (gcj::verifyClasses): Declare.
318 * link.cc (gcj::verbose_class_flag): Moved.
319 * prims.cc (gcj::verifyClasses): Define here.
320 (gcj::verbose_class_flag): Move definition here.
321 (_Jv_Linker::wait_for_state): Don't call verify_class
322 if gcj::verifyClasses is not set.
323 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
325 2005-05-12 Aaron Luchko <aluchko@redhat.com>
327 * gij.cc (main): Recognize '-verify', '-noverify', and
330 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
332 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
334 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
336 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
339 2005-05-11 Tom Tromey <tromey@redhat.com>
341 * external/w3c_dom/Makefile.in: Rebuilt.
342 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
344 * external/sax/Makefile.in: Rebuilt.
345 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
347 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
349 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
350 Call _Jv_CopyClassesToSystemLoader.
351 * java/lang/natClassLoader.cc (system_class_list): New global.
352 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
354 (_Jv_CopyClassesToSystemLoader): New function.
355 (SYSTEM_LOADER_INITIALIZED): New define.
356 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
357 (_Jv_CheckABIVersion): Use it.
358 (_Jv_ClassForBootstrapLoader): New function.
359 * Makefile.in: Rebuilt.
360 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
362 2005-05-10 Tom Tromey <tromey@redhat.com>
364 * gcj/javaprims.h: Updated.
365 * java/lang/String.java (String(StringBuilder)): New constructor.
366 * java/lang/natStringBuilder.cc: New file.
367 * java/lang/StringBuilder.java: New file.
368 * Makefile.in: Rebuilt.
369 * Makefile.am (core_java_source_files): Added StringBuilder.java.
370 (nat_source_files): Added natStringBuilder.cc.
372 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
375 * testsuite/libjava.jacks/jacks.xfail: Adjust.
377 2005-05-09 Mike Stump <mrs@apple.com>
379 * configure: Regenerate.
381 2005-05-09 David Daney <ddaney@avtrex.com>
383 * java/util/BitSet.java (get(int, int)): Fix breakage when
384 requested set doesn't start on a multiple of 64.
386 2005-05-07 Matthias Klose <doko@debian.org>
388 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
390 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
392 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
393 * Makefile.in: Regenerate.
394 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
395 (createCompatibleVolatileImage(int,int)): Implement.
396 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
398 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
400 (createVolatileImage): Implement.
401 (createBuffers): Likewise.
402 (getBackBuffer): Likewise.
404 (destroyBuffers): Likewise.
405 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
406 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
407 (CanvasFlipBufferStrategy): Likewise.
408 (createBufferStrategy(int)): New method.
409 (createBufferStrategy(int,BufferCapabilities)): Likewise.
410 * java/awt/Component.java (BltBufferStrategy): Implement and
412 (FlipBufferStrategy): Likewise.
413 * java/awt/Window.java (WindowBltBufferStrategy): New class.
414 (WindowFlipBufferStrategy): Likewise.
415 (createBufferStrategy(int)): New method.
416 (createBufferStrategy(int,BufferCapabilities)): Likewise.
417 (getBufferStrategy): Likewise.
418 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
419 front to frontCaps and back to backCaps.
421 2005-05-06 Michael Koch <konqueror@gmx.de>
423 * java/awt/BufferCapabilities.java
424 (BufferCapabilities): Merged javadoc.
426 2005-05-06 Michael Koch <konqueror@gmx.de>
428 * java/util/Locale.java
429 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
430 (getLocale): New methods. Use it everywhere where instances of Locales
432 (getDisplayLanguage): Merged javadoc.
433 (getDisplayCountry): Likewise.
434 (getDisplayVariant): Likewise.
436 2005-05-06 Archie Cobbs <archie@dellroad.org>
438 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
439 use DeleteLocalRef() to avoid exhausting local native references.
441 2005-05-06 Mark Wielaard <mark@klomp.org>
443 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
444 (window_delete_cb): Don't use C++ style comments.
446 2005-05-06 Robert Schuster <thebohemian@gmx.net>
448 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
451 2005-05-06 Robert Schuster <thebohemian@gmx.net>
453 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
454 (window_delete_cb): Made the function return TRUE.
456 2005-05-06 Roman Kennke <roman@kennke.org>
458 * javax/swing/text/PlainView.java
459 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
461 * javax/swing/text/Utilities.java
462 (drawTabbedText): Initilialize local variable pos correctly.
464 2005-05-06 Roman Kennke <roman@kennke.org>
466 * javax/swing/text/AbstractDocument.java
467 (LeafElement): Made start and end package private fields for
468 effective reindexing.
469 * javax/swing/text/PlainDocument.java
470 (constructor): The field rootElement is always BranchElement,
471 so we handle it as such.
472 (removeUpdate): Rewritten reindexing for removeUpdate so that
473 the actual removal is taken into account.
475 2005-05-06 Roman Kennke <roman@kennke.org>
477 * javax/swing/text/GapContent.java:
478 Removed debugging output stuff, which I accidentally left in.
480 2005-05-06 Roman Kennke <roman@kennke.org>
482 * javax/swing/text/GapContent.java:
483 Implemented a real GapContent. Only the public methods have
484 been implemented so far and still no UndoableEdit support.
486 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
488 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
491 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
493 * java/awt/image/BufferStrategy.java: Document.
495 * java/awt/BufferCapabilities.java: Document.
497 2005-05-04 Tom Tromey <tromey@redhat.com>
499 * java/nio/channels/FileLock.java (toString): Entirely avoid
502 2005-05-04 Andrew Overholt <overholt@redhat.com>
504 * java/nio/channels/FileLock.java (toString): Re-implement using
507 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
509 * java/awt/ImageCapabilities.java: Document.
511 * java/awt/image/VolatileImage.java: Unindent copyright header.
513 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
515 * java/awt/image/VolatileImage.java: Document.
517 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
520 (init_glib_threads): Check if threading system is already
523 2005-05-03 Andrew Overholt <overholt@redhat.com>
526 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
527 could not be acquired.
528 * java/nio/channels/FileLock.java (toString): Re-implement to be
529 in line with other implementations.
531 2005-05-03 Tom Tromey <tromey@redhat.com>
533 * java/lang/VMSecurityManager.java (currentClassLoader): Use
534 'systemClasssLoader' directly.
536 2005-05-03 Tom Tromey <tromey@redhat.com>
538 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
539 call VMClassLoader.getSystemClassLoader.
541 2005-04-29 Michael Koch <konqueror@gmx.de>
543 * java/net/NetworkInterface.java
545 (NetworkInterface(String,InetAddress)): Made package-private.
546 (NetworkInterface(String,InetAddress[])): New constructor.
547 (getRealNetworkInterfaces): Removed.
548 (getByName): Use VMNetworkInterface.getInterfaces().
549 (getByInetAddress): Likewise.
550 (getNetworkInterfaces): Likewise.
551 * java/net/VMNetworkInterface.java,
552 java/net/natVMNetworkInterfaceNoNet.cc,
553 java/net/natVMNetworkInterfacePosix.c,c
554 java/net/natVMNetworkInterfaceWin32.cc: New files.
555 * java/net/natNetworkInterfaceNoNet.cc,
556 java/net/natNetworkInterfacePosix.cc,
557 java/net/natNetworkInterfaceWin32.cc: Removed.
560 * configure, Makefile.in: Regenerated.
562 2005-04-29 Andrew Haley <aph@redhat.com>
564 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
566 2005-04-29 Dalibor Topic <robilad@kaffe.org>
568 * java/nio/channels/FileChannelImpl.java
569 (FileChannelImpl(String, int)): Removed.
570 (FileChannelImpl(File, int)): Added. Check if opened file is a
572 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
573 Call FileChannelImpl(File, int).
574 * java/io/FileOutputStream.java (FileInputStream): Call
575 FileChannelImpl(File, int).
576 * java/io/RandomAccessFile.java (RandomAccessFile):
577 Call FileChannelImpl(File, int). Switched constructors around.
579 2005-04-27 Andrew Haley <aph@redhat.com>
582 * prims.cc (_Jv_ResolvePoolEntry): New function.
583 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
584 * link.cc (_Jv_Linker::find_field): New arg: found_class.
585 (resolve_pool_entry): Initialize the class in which a field is
587 (link_symbol_table): Pass new arg to found_class.
589 2005-04-29 Michael Koch <konqueror@gmx.de>
591 * java/nio/charset/Charset.java
592 (provider): Reformatted.
594 2005-04-29 Michael Koch <konqueror@gmx.de>
596 * gnu/java/net/protocol/http/HTTPConnection.java:
597 (userAgent): Initialize from system properties.
598 (initUserAgent): Removed.
600 2005-04-29 Mark Wielaard <mark@klomp.org>
602 * java/util/ResourceBundle.java (getObject): Clarify
603 MissingResourceException detailed message.
604 (tryBundle(String,ClassLoader)): Likewise.
606 2005-04-29 Robert Schuster <thebohemian@gmx.net>
608 * java/beans/FeatureDescriptor.java:
609 (getShortDescription): Implemented fallback mechanism and fixed
610 documentation (fixes bug #12637).
611 (getDisplayName): Dito.
613 2005-04-29 Robert Schuster <thebohemian@gmx.net>
615 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
616 will now be set correctly.
617 (flushCaches): Now flushes all cached intermediate data.
619 2005-04-28 Michael Koch <konqueror@gmx.de>
621 * java/net/InetAddress.java
622 (aton): Fixed javadoc.
625 2005-04-28 Tom Tromey <tromey@redhat.com>
627 * javax/swing/Timer.java
628 (drainEvents, queueEvent): Now package-private.
630 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
632 * javax/swing/Timer.java
633 (constructor): Assigning initialDelay.
635 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
637 * javax/swing/Timer.java
638 (Waker.run): firing the first action event.
640 2005-04-28 Michael Koch <konqueror@gmx.de>
642 * javax/swing/Timer.java: Reordered all fields and methods,
645 2005-04-28 Michael Koch <konqueror@gmx.de>
647 * javax/swing/Timer.java: Javadocs merged
650 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
652 * gnu/java/net/protocol/file/Connection.java
653 (StaticData): New inner class to contain statics.
654 (connect, getHeaderField): Modified to use StaticData.
656 2005-04-28 Michael Koch <konqueror@gmx.de>
658 * gnu/java/net/protocol/file/Connection.java
659 (lineSeparator): Initialize with SystemProperties.getProperty().
661 2005-04-27 Chris Burdess <dog@gnu.org>
663 * gnu/java/net/protocol/file/Connection.java: Return correct content
664 length for directory listing.
665 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
666 #11285: return valid URLs for directories.i
668 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
670 * Makefile.am (ordinary_java_source_files): Add
671 gnu/java/net/protocol/https/Handler.java.
672 * Makefile.in: Regenerate.
673 * java/net/URL.java: Remove org.metastatic.jessie from default
674 protocol search path.
676 2005-04-27 Chris Burdess <dog@gnu.org>
678 * gnu/java/net/protocol/https/Handler.java: New file.
680 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
682 * javax/imageio/spi/IIORegistry.java (IIORegistry):
683 Don't assume that awt Toolkit is always ClasspathToolkit.
685 2005-04-27 Chris Burdess <dog@gnu.org>
687 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
688 absolute and relative paths in Location header.
690 2005-04-27 Chris Burdess <dog@gnu.org>
692 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
693 FileNotFoundException and implement getErrorStream on 404.
695 2005-04-27 Sven de Marothy <sven@physto.se>
697 * java/util/TimeZone.java,
698 (getDefaultDisplayName): Fix previous fix.
700 2005-04-27 Sven de Marothy <sven@physto.se>
702 * java/util/TimeZone.java,
703 (getDefaultDisplayName): Don't print zero offsets.
705 2005-04-27 Roman Kennke <roman@kennke.org>
707 * javax/swing/plaf/basic/BasicScrollBarUI
708 (getThumbBounds): Do not make thumb smaller than
710 * javax/swing/plaf/metal/MetalLookAndFeel
711 (initComponentDefaults): Added color defaults for ScrollBar.
712 * javax/swing/plaf/metal/MetalScrollBarUI
714 (getMinimumThumbSize): Added.
716 2005-04-27 Roman Kennke <roman@kennke.org>
718 * javax/swing/plaf/metal/MetalLookAndFeel
719 (initComponentDefaults): Added some default colors.
721 2005-04-27 Roman Kennke <roman@kennke.org>
723 * javax/swing/plaf/basic/BasicScrollBarUI.java
724 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
725 to 'ScrollBar.thumbShadow'. The formes does not exist.
726 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
728 2005-04-27 Roman Kennke <roman@kennke.org>
730 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
731 * javax/swing/BoxLayout.java: Likewise.
732 * javax/swing/UIManager.java: Likewise.
733 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
734 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
735 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
736 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
737 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
738 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
739 * javax/swing/text/Document.java: Likewise.
740 * javax/swing/text/GapContent.java: Likewise.
741 * javax/swing/text/SimpleAttributeSet.java: Likewise.
742 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
744 2005-04-27 Roman Kennke <roman@kennke.org>
746 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
747 (getPropertyPrefix): Added.
749 2005-04-27 Roman Kennke <roman@kennke.org>
751 * javax/swing/plaf/basic/BasicButtonUI.java
752 (getPropertyPrefix): Added.
753 (installDefaults): Use getPropertyPrefix instead of hard-coded
756 2005-04-27 Roman Kennke <roman@kennke.org>
758 * javax/swing/JToggleButton.java
759 (JToggleButton): Removed horizontalAlignment setting, this
760 was wrong. Added setting of an actionCommand, ToggleButtons
761 have "" as default actionCommand.
763 2005-04-27 Michael Koch <konqueror@gmx.de>
765 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
766 to work around CNI limitation.
768 2005-04-27 Sven de Marothy <sven@physto.se>
770 * java/nio/charset/Charset.java:
771 (defaultCharset()): New method.
772 Status updated to 1.5
774 2005-04-27 Sven de Marothy <sven@physto.se>
776 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
778 2005-04-27 Sven de Marothy <sven@physto.se>
780 * java/nio/charset/Charset.java: Reset cached de/encoders.
782 2005-04-27 Robert Schuster <thebohemian@gmx.net>
784 * java/nio/charset/Charset.java (forName): Throws
785 IllegalArgumentException when argument is null
786 and added documentation.
788 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
790 * java/nio/charset/Charset.java (providers):
791 New method to make an array of CharsetProviders defined in
792 META-INF/services/java.nio.charset.spi.CharsetProvider.
793 (charsetForName, availableCharsets): Use the
794 new method providers().
796 2005-04-26 Michael Koch <konqueror@gmx.de>
798 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
799 Fixed typos in javadocs.
800 (isSiteLocalAddress): Fixed handling of byte values.
801 (isMCLinkLocal): Likewise.
802 * java/net/Inet4Address.java
803 (isMulticastAddress): Call super method.
804 (isLoopbackAddress): Likewise.
805 (isAnyLocalAddress): Likewise.
806 (isLinkLocalAddress): Likewise.
807 (isSiteLocalAddress): Likewise.
808 (isMCGlobal): Likewise.
809 (isMCNodeLocal): Likewise.
810 (isMCLinkLocal): Likewise.
811 (isMCSiteLocal): Likewise.
812 (isMCOrgLocal): Likewise.
813 (getHostAddress): Likewise.
815 2005-04-26 Sven de Marothy <sven@physto.se>
817 * java/net/InetAddress.java
818 (toString): Don't print empty hostnames.
820 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
823 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
824 'false' to native lock().
825 (lock): Pass 'true' to native lock().
827 2005-04-26 Michael Koch <konqueror@gmx.de>
829 * java/net/InetAddress.java:
830 Fixed typos in javadocs.
832 2005-04-26 Andrew Haley <aph@redhat.com>
835 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
838 2005-04-26 Tom Tromey <tromey@redhat.com>
840 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
841 gnu): Now package-private.
842 * javax/swing/text/html/parser/DocumentParser.java (parser,
843 callBack, gnu): Now package-private.
844 * javax/swing/text/StringContent.java (content, setOffset,
845 checkLocation): Now package-private.
846 * javax/swing/text/JTextComponent.java (doc): Now
848 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
849 lastGoodOrientation, origParent, borders, cachedBounds,
850 cachedOrientation, DragWindow): Now package-private.
851 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
852 decrButton, viewport, panel, currentScrollLocation, layoutManager,
853 tabAreaRect, contentRect, createIncreaseButton,
854 createDecreaseButton, findPointForIndex): Now package-private.
855 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
856 (currentDividerLocation, moveDividerTo): Now package-private.
857 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
859 * javax/swing/plaf/basic/BasicScrollBarUI.java
860 (calculatePreferredSize, valueForYPosition, valueForXPosition):
862 * javax/swing/plaf/basic/BasicPopupMenuUI.java
863 (topWindowListener): Now package-private.
864 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
865 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
866 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
868 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
870 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
872 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
874 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
875 borderInsets): Now package-private.
876 (arrowButtonWidth): Likewise. Now a constant.
877 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
878 makeTabs, updatePreviewPanel): Now package-private.
879 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
880 darkShadow, highlight): Now package-private.
881 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
882 (addColorToQueue): Now package-private.
883 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
884 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
885 GSpinner, BSpinner): Now package-private.
886 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
887 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
888 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
889 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
890 updateTrack): Now package-private.
891 * javax/swing/TransferHandler.java (clipboard): Now
893 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
895 * javax/swing/Timer.java (drainEvents, queueEvent): Now
897 * javax/swing/RepaintManager.java (globalManager): Now
899 * javax/swing/JFormattedTextField.java (editValid): Now
901 * javax/swing/JColorChooser.java (makeModal): Now
903 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
904 index, path): Now package-private.
905 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
906 lineQuadIntersect, lineCubicIntersect, linesIntersect,
907 pointEquals): Now package-private.
908 * java/awt/geom/Arc2D.java (type): Now package-private.
909 * java/awt/Window.java (windowFocusOwner): Now package-private.
910 * java/awt/TextComponent.java (editable, selectionStart,
911 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
913 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
915 * java/awt/MenuComponent.java (focusListener): Now
917 * java/awt/Frame.java (state): Now package-private.
918 * java/awt/Choice.java (pItems): Now package-private.
919 * java/awt/Checkbox.java (state): Now package-private.
920 * java/awt/Button.java (actionCommand, label): Now
922 * gnu/javax/swing/text/html/parser/support/Parser.java
923 (attributes, _handleEndTag_remaining, _handleStartTag): Now
925 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
927 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
928 clip, transform, font, comp): Now package-private.
930 2005-04-26 Tom Tromey <tromey@redhat.com>
932 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
935 2005-04-26 Mark Wielaard <mark@klomp.org>
937 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
938 to MalformedURLException.
940 2005-04-26 Michael Koch <konqueror@gmx.de>
942 * java/security/AccessControlContext.java:
944 (protectedDomains): Renamed from 'protectionDomain'.
945 * java/security/AccessController.java:
948 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
950 * gnu/java/security/action/GetSecurityPropertyAction.java
951 (GetSecurityPropertyAction): Implement PrivilegedAction instead
952 of extending GetPropertyAction.
955 (setParamters): New methods.
956 (GetSecurityPropertyAction): Use new setParameters methods.
958 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
960 * java/security/Security.java,
961 java/security/cert/X509CRLSelector.java,
962 java/security/cert/X509CertSelector.java:
963 Modified to use SystemProperties.
965 2005-04-26 Michael Koch <konqueror@gmx.de>
967 * java/lang/System.java
968 (setSecurityManager): Fixed comment.
969 (getSecurityManager): Removed obsolete comment.
971 2005-04-25 Tom Tromey <tromey@redhat.com>
973 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
975 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
978 (connectSignals): Realize the window widget after connecting
981 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
983 * java/awt/GraphicsEnvironment.java
984 (localGraphicsEnvironment): New field.
985 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
987 (isHeadless): Added support for java.awt.headless property.
988 (isHeadlessInstance): Call headless().
990 2005-04-25 Roman Kennke <roman@kennke.org>
992 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
993 (getDisplayMode): Added. Returns the current display mode.
994 (isFullScreenSupported): Added.
995 * java/awt/GraphicsDevice.java
996 (setFullScreenWindow): Implemented a primitive fullscreen mode.
997 This resizes and relocates the fullscreen window so that it uses
998 the whole screen. This is not a fully accelerated fullscreen
1001 2005-04-25 Michael Koch <konqueror@gmx.de>
1003 * java/lang/Runtime.java,
1004 java/lang/SecurityManager.java,
1005 java/lang/System.java,
1006 java/lang/ThreadGroup.java:
1007 Replaced java.lang.Runtime.securityManager by
1008 java.lang.SecurityManager.current (as used in GNU classpath).
1010 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1012 * java/awt/Transparency.java
1013 (getTransparency): fixed API docs.
1015 2005-04-25 Archie Cobbs <archie@dellroad.org>
1017 * java/lang/Throwable.java: simplify initializing cause in constructor
1019 2005-04-25 Michael Koch <konqueror@gmx.de>
1021 * gnu/classpath/SystemProperties.java: New file.
1022 * gnu/classpath/natSystemProperties.cc: New file.
1023 * java/lang/Runtime.java
1024 (defaultProperties): Removed.
1026 (): Made thrown exceptions more verbose.
1027 (insertSystemProperties): Removed.
1028 * java/lang/System.java
1030 (properties): Likewise.
1031 (setSecurityManager): Reordered modifiers.
1032 (getenv): Improved javadoc.
1034 (isWordsBigEndian): Removed.
1035 * java/lang/natRuntime.cc
1036 (_Jv_SetDLLSearchPath): Likewise.
1037 (file_encoding): Likewise.
1038 (default_file_encoding): Likewise.
1039 (getpwuid_adaptor): Likewise.
1040 (insertSystemProperties): Likewise.
1041 * java/lang/natSystem.cc
1042 (isWordsBigEndian): Likewise.
1044 (ordinary_java_source_files):
1045 Added gnu/classpath/SystemProperties.java.
1046 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1047 * Makefile.in: Regenerated.
1049 2005-04-25 Roman Kennke <roman@kennke.org>
1051 * javax/swing/plaf/basic/BasicScrollBarUI.java
1052 (initDefaults): Initialize thumb*Color fields correctly.
1054 2005-04-25 Roman Kennke <roman@kennke.org>
1056 * javax/swing/text/GapContent.java:
1059 2005-04-25 Roman Kennke <roman@kennke.org>
1061 * javax/swing/plaf/metal/MetalBorders.java:
1062 Added inner class ScrollPaneBorder.
1063 * javax/swing/plaf/metal/MetalLookAndFeel.java
1064 (initComponentDefaults): Added default for "ScrollPane.border"
1065 to use the new ScrollPaneBorder.
1067 2005-04-25 Roman Kennke <roman@kennke.org>
1069 * javax/swing/text/AbstractDocument.java:
1070 Added FIXME comments. This class still has to be
1071 implemented thread-safe.
1073 2005-04-25 Roman Kennke <roman@kennke.org>
1075 * javax/swing/tree/DefaultTreeSelectionModel.java
1076 (DefaultTreeSelectionModel): Initialize listenerList here.
1078 2005-04-25 Roman Kennke <roman@kennke.org>
1080 * javax/swing/plaf/metal/MetalTextFieldUI.java
1081 (createUI): Return one instance per Component instead of a
1084 2005-04-25 Roman Kennke <roman@kennke.org>
1086 * javax/swing/text/Document.java:
1087 Added API documentation comments.
1089 2005-04-25 Roman Kennke <roman@kennke.org>
1091 * javax/swing/text/AbstractDocument.java
1092 (getDocumentProperties): Implemented.
1093 (setDocumentProperties): Implemented.
1094 (getProperty): Implemented.
1095 (putProperty): Implemented.
1097 2005-04-25 Roman Kennke <roman@kennke.org>
1099 * javax/swing/BoxLayout
1100 (preferredLayoutSize): Fixed computation so that it correctly
1101 adds the top and bottom insets of the container.
1103 2005-04-25 Roman Kennke <roman@kennke.org>
1105 * javax/swing/plaf/basic/BasicMenuItemUI.java
1106 (paintText): Make use of the 'selectionForeground' UI default
1109 2005-04-25 Roman Kennke <roman@kennke.org>
1111 * javax/swing/plaf/basic/BasicLookAndFeel.java
1112 (initSystemColorDefaults): Modified colors to match the
1113 BasicLookAndFeel in the reference implementation.
1114 (initComponentDefaults): Likewise.
1116 2005-04-25 Tom Tromey <tromey@redhat.com>
1118 * include/jni.h (_Jv_va_list): Removed.
1119 Moved configuration code...
1120 * include/jni_md.h: ... here. New file.
1121 * include/Makefile.in: Rebuilt.
1122 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1124 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1126 * java/io/FileInputStream.java (FileInputStream(File)),
1127 java/io/FileOutputStream.java (FileOutputStream(File)):
1128 Removed unnecessary File.isDirectory() check.
1130 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1132 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1133 gij if get_multilibs fails.
1135 2005-04-22 Anthony Green <green@redhat.com>
1137 * jni.cc (natrehash): Don't bother clearing memory again.
1138 * interpret.cc (do_allocate_static_fields): Ditto.
1139 * java/lang/natString.cc (rehash): Ditto.
1141 2005-04-22 Roman Kennke <roman@kennke.org>
1143 * javax/swing/plaf/basic/BasicLookAndFeel.java
1144 (initComponentDefaults): Changed Button.border to be
1145 BasicBorders.getButtonBorder as it should be.
1147 2005-04-22 Roman Kennke <roman@kennke.org>
1149 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1150 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1151 should according to a mauve testcase, instead of the preferred
1154 2005-04-22 Roman Kennke <roman@kennke.org>
1156 * javax/swing/JMenu.java
1157 (add): add(Component) now calls PopupMenu.insert(..) instead of
1158 PopupMenu.add(..). add(..) is not implemented for Component,
1159 so JComponent.add(..) is called instead, adding the component
1162 2005-04-22 Roman Kennke <roman@kennke.org>
1164 * javax/swing/plaf/basic/BasicButtonListener.java
1165 (mousePressed): replaced query to getModifiersEx with getModifiers.
1166 This method relied on faulty behaviour in getModifierEx.
1167 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1168 This method relied on faulty behaviour in getModifierEx.
1170 2005-04-22 Roman Kennke <roman@kennke.org>
1172 * javax/swing/plaf/metal/MetalLookAndFeel.java
1173 (getDefaults): Call addCustomEntriesToTable on the theme.
1175 2005-04-22 Roman Kennke <roman@kennke.org>
1177 * javax/swing/tree/DefaultTreeSelectionModel.java
1178 (constructor): Added implementation.
1179 (getRowMapper): Added implementation.
1180 (setSelectionMode): Added implementation.
1181 (getSelectionMode): Added implementation.
1182 (getSelectionPath): Added implementation.
1183 (getSelectionPaths): Added implementation.
1184 (getSelectionCount): Added implementation.
1185 (isSelectionEmpty): Added implementation.
1186 (getSelectionRows): Added implementation.
1187 (getMinSelectionRow): Added implementation.
1188 (getMaxSelectionRow): Added implementation.
1189 (getLeadSelectionRow): Added implementation.
1190 (getLeadSelectionPath): Added implementation.
1192 2005-04-22 Casey Marshall <csm@gnu.org>
1194 * gnu/java/security/der/DERValue.java
1195 (getValueAs): new method.
1196 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1197 (<init>): read both dates with 'DERValue.getValueAs', with
1198 'GENERALIZED_TIME' as the argument.
1200 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1202 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1203 be null, check for that case and don't deference it.
1205 2005-04-22 Sven de Marothy <sven@physto.se>
1207 * java/util/logging/LogManager.java: Reformatted.
1208 (readConfiguration): If a logger for a key is not found, create one.
1210 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1212 * java/rmi/Naming.java:
1213 Added class documentation.
1214 (lookup(String)): Call parseURL and getName.
1215 (bind(String,java.rmi.Remote)): Likewise.
1216 (unbind(String)): Likewise.
1217 (rebind(String, java.rmi.Remote)): Likewise.
1218 (list(String)): Call parseURL.
1219 (parseURL(String)): New method to handle parsing and defaults.
1220 (getName(java.net.URL)): New method to handle finding the service name.
1222 2005-04-21 Tom Tromey <tromey@redhat.com>
1224 * java/lang/natClass.cc (initializeClass): Link class.
1226 2005-04-21 Tom Tromey <tromey@redhat.com>
1228 * java/lang/AssertionError.java: Typo fix.
1230 2005-04-21 Tom Tromey <tromey@redhat.com>
1232 * java/lang/VMClassLoader.java (transformException): Removed.
1233 (resolveClass): No longer native. Now does nothing.
1234 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1236 2005-04-21 Anthony Green <green@redhat.com>
1239 * testsuite/libjava.special/special.exp,
1240 testsuite/libjava.special/pr21115I.java,
1241 testsuite/libjava.special/pr21115.java,
1242 testsuite/libjava.special/pr21115.out: New files.
1244 2005-04-21 Chris Burdess <dog@gnu.org>
1246 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1247 CRLF-delimited chunks.
1249 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1251 * java/net/URI.java:
1252 Added class documentation.
1253 (parseURI(String)): Only handle scheme-specific parts
1254 if URI is not opaque. Allow for parts that can't be null.
1255 (toString()): Output the scheme-specific part whole, rather
1256 than as its possibly non-existent components.
1258 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1260 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1261 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1262 Adjusted to match new regexp.
1264 2005-04-20 Michael Koch <konqueror@gmx.de>
1266 * gnu/java/net/protocol/file/Connection.java,
1267 gnu/java/net/protocol/jar/Connection.java:
1268 Reorganized import statements. Fixed @author tags.
1270 2005-04-20 Chris Burdess <dog@gnu.org>
1272 * java/io/DataOutputStream.java (writeUTF): Use block write for
1275 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1277 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1278 (readLine): Changed newline handling.
1280 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1282 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1283 ColorModel,byte[],int,int): Fixed byte to int conversion.
1285 2005-04-20 Michael Koch <konqueror@gmx.de>
1287 * java/io/FilePermission.java
1288 (serialVersionUID): Made private.
1289 (ALL_FILES): New constant.
1290 (implies): Handle '<<ALL FILES>>' case.
1292 2005-04-20 Sven de Marothy <sven@physto.se>
1294 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1295 (drawImage): Don't notify the image observer for offscreen images.
1296 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1297 (setPixels): Don't notify the image observer.
1299 2005-04-20 Sven de Marothy <sven@physto.se>
1301 * java/nio/ByteBufferImpl.java:
1302 (putChar): Inlined for speed.
1303 (put, get): Bulk methods can use arraycopy.
1304 * java/nio/CharBufferImpl.java:
1305 (put, get): Bulk methods can use arraycopy.
1307 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1309 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1311 * java/nio/CharBufferImpl.java
1312 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1313 (get(), put(char)): Inlined checks and field updates. Fixed to
1314 take array_offset into account.
1315 (get(int), put(int, char)): Fixed to take array_offset into account.
1317 2005-04-20 Sven de Marothy <sven@physto.se>
1319 * java/text/SimpleDateFormat.java:
1320 (formatWithAttribute): Pad year before truncating digits.
1322 2005-04-20 Michael Koch <konqueror@gmx.de>
1324 * gnu/java/net/PlainDatagramSocketImpl.java:
1325 Merged copyright header.
1326 * gnu/java/net/PlainSocketImpl.java:
1327 Reorganized import statements. Fixed @author tags.
1329 2005-04-20 Michael Koch <konqueror@gmx.de>
1331 * gnu/java/lang/ClassHelper.java,
1332 gnu/java/lang/reflect/TypeSignature.java:
1335 2005-04-20 Michael Koch <konqueror@gmx.de>
1337 * gnu/java/beans/IntrospectionIncubator.java:
1338 Fixed HTML tags in javadocs.
1340 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1342 * gnu/java/beans/IntrospectionIncubator.java
1343 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1344 set(), is(), add() and remove() with properties or events.
1346 2005-04-20 Michael Koch <konqueror@gmx.de>
1348 * gnu/java/awt/image/XBMDecoder.java:
1349 Fixed modifier order.
1351 2005-04-20 Roman Kennke <roman@kennke.org>
1353 * javax/swing/plaf/basic/BasicButtonUI.java
1354 (paint): This should not care about margin and insets
1355 at the same time, as insets already include the margin
1357 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1358 (getPreferredButtonSize): Likewise.
1359 * javax/swing/plaf/metal/MetalBorders.java
1360 (getBorderInsets): Likewise.
1362 2005-04-20 Roman Kennke <roman@kennke.org>
1364 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1365 (createMessageArea): The JPanel that holds the message area
1366 doesn't need to override getPreferredSize. This prevents some
1367 message components from rendering nicely.
1369 2005-04-20 Roman Kennke <roman@kennke.org>
1371 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1372 (createUI): Do not share instances between components.
1373 * javax/swing/plaf/metal/MetalSliderUI.java
1374 (createUI): Do not share instances between components.
1376 2005-04-20 Roman Kennke <roman@kennke.org>
1378 * javax/swing/plaf/metal/MetalBorders:
1379 (PopupMenuBorder): Added.
1380 * javax/swing/plaf/metal/MetalLookAndFeel
1381 (initComponentDefaults): Added PopupMenuBorder.
1383 2005-04-20 Roman Kennke <roman@kennke.org>
1385 * javax/swing/tree/DefaultTreeSelectionModel.java:
1386 Added API documentation all over the class.
1388 2005-04-20 Roman Kennke <roman@kennke.org>
1390 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1391 (installDefaults): Link managed JScrollPane in instance field.
1392 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1394 2005-04-20 Roman Kennke <roman@kennke.org>
1396 * javax/swing/plaf/basic/BasicScrollBarUI.java
1397 (PropertyChangeHandler.propertyChange): Add default
1398 to switch statement to avoid errors with unusual values
1400 (installComponents): Likewise.
1402 2005-04-20 Roman Kennke <roman@kennke.org>
1404 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1405 (createUI): Instances cannot be shared among JScrollPanes.
1407 2005-04-20 Roman Kennke <roman@kennke.org>
1409 * javax/swing/plaf/metal/MetalLookAndFeel.java
1410 (initComponentDefaults): Added defaults for Menu, MenuBar
1413 2005-04-20 Roman Kennke <roman@kennke.org>
1415 * javax/swing/plaf/basic/BasicScrollBarUI.java
1416 (installUI): Install listeners after everything all, otherwise
1417 we get strange NPEs in some situations, especially with
1419 (createIncreaseButton): Orientation is expected to be
1420 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1421 HORIZONTAL or VERTICAL.
1422 (createDecreaseButton): Orientation is expected to be
1423 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1424 HORIZONTAL or VERTICAL.
1425 (installComponents): Orientation for buttons is expected to be
1426 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1427 HORIZONTAL or VERTICAL.
1429 2005-04-20 Roman Kennke <roman@kennke.org>
1431 * javax/swing/JToolBar.java
1432 (addImpl): Adjust added AbstractButtons to look and feel like
1434 * javax/swing/plaf/metal/MetalBorders.java:
1435 Adjusted insets of ButtonBorder.
1436 (RolloverMarginBorder): Added class for toolbar buttons.
1437 (getButtonBorder): Adjusted factory method to return a shared
1438 instance of button border.
1439 (getToolbarButtonBorder): Added factory method to return a shared
1440 instance of toolbar button border.
1441 (getMarginBorder): Added factory method to return a shared
1442 instance of margin border.
1443 * javax/swing/plaf/metal/MetalButtonUI.java
1444 (installDefauls): If button is child of a JToolBar then set
1445 special border on this button.
1447 2005-04-20 Michael Koch <konqueror@gmx.de>
1449 * java/net/URLConnection.java
1450 (getContent): Fixed javadoc comment.
1452 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1454 * java/net/URL.java:
1455 (toURI()): Implemented.
1457 2005-04-19 Michael Koch <konqueror@gmx.de>
1459 * java/net/InetAddress.java
1460 (InetAddress): Fixed javadoc comment.
1462 (lookup): Added javadoc.
1463 (getFamily): Likewise.
1464 * java/net/ServerSocket.java
1465 (getChannel): Improved javadoc comment.
1467 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1469 * gnu/xml/dom/html2/DomHTMLParser.java:
1470 Changed 'enum' references to become 'enumeration'.
1472 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1474 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1476 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1478 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1479 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1480 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1481 (validateParameters(TagElement,htmlAttributeSet)):
1482 Replaced 'enum' with 'enumeration'.
1483 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1486 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1488 * javax/swing/text/html/parser/Entity.java (getType): New method.
1489 * javax/swing/text/html/parser/DocumentParser.java:
1490 Inherit from javax.swing.text.html.parser.Parser.
1492 2005-04-19 Chris Burdess <dog@gnu.org>
1494 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1495 check for HTML/XHTML namespace.
1497 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1499 * javax/swing/text/html/parser/Parser.java,
1500 javax/swing/text/html/parser/Entity.java:
1501 Inheriting from DTDConstants.
1502 * javax/swing/text/html/parser/AttributeList.java
1503 (getValues): Changed return type.
1504 * javax/swing/text/html/parser/DocumentParser
1505 (parse): Adding the callback parameter that receives
1508 2005-04-19 Chris Burdess <dog@gnu.org>
1510 * gnu/xml/dom/DomImpl.java,
1511 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1512 gnu/xml/dom/html2/DomHTMLDocument.java,
1513 gnu/xml/dom/html2/DomHTMLElement.java,
1514 gnu/xml/dom/html2/DomHTMLFormElement.java,
1515 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1516 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1517 gnu/xml/dom/html2/DomHTMLImpl.java,
1518 gnu/xml/dom/html2/DomHTMLInputElement.java,
1519 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1520 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1521 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1522 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1523 gnu/xml/dom/html2/DomHTMLTableElement.java,
1524 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1525 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1526 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1527 UI events, and tree utility functions.
1529 2005-04-19 Michael Koch <konqueror@gmx.de>
1531 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1532 gnu/javax/swing/text/html/parser/gnuDTD.java,
1533 gnu/javax/swing/text/html/parser/models/node.java:
1534 Reworked import statements.
1536 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1538 * javax/swing/text/html/HTMLDocument.java: New file.
1540 2005-04-19 Michael Koch <konqueror@gmx.de>
1542 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1544 * javax/swing/text/html/parser/AttributeList.java:
1545 Fixed order of modifiers.
1546 (AttributeList): Made final.
1547 * javax/swing/text/html/parser/ContentModel.java:
1548 Fixed html characters in javadocs.
1549 * javax/swing/text/html/parser/DTD.java
1550 (DTD): Don't implement java.io.Serializable directly.
1551 (getElement): Simplified.
1552 * javax/swing/text/html/parser/DTDConstants.java:
1554 * javax/swing/text/html/parser/Element.java:
1555 Fixed order of modifiers.
1556 * javax/swing/text/html/parser/Parser.java:
1557 Reformatted. Don't use fully-qualified class names.
1558 * javax/swing/text/html/parser/ParserDelegator.java:
1559 Fixed order of modifiers.
1560 * javax/swing/text/rtf/RTFParser.java:
1561 Re-ordered import statements.
1562 * javax/swing/text/rtf/RTFScanner.java:
1563 Removed unused import statement.
1565 2005-04-19 Chris Burdess <dog@gnu.org>
1567 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1568 gnu/xml/dom/html2/DomHTMLCollection.java,
1569 gnu/xml/dom/html2/DomHTMLDocument.java,
1570 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1572 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1573 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1574 gnu/xml/dom/html2/DomHTMLDivElement.java,
1575 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1576 gnu/xml/dom/html2/DomHTMLFontElement.java,
1577 gnu/xml/dom/html2/DomHTMLFormElement.java,
1578 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1579 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1580 gnu/xml/dom/html2/DomHTMLHRElement.java,
1581 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1582 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1583 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1584 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1585 gnu/xml/dom/html2/DomHTMLImageElement.java,
1586 gnu/xml/dom/html2/DomHTMLInputElement.java,
1587 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1588 gnu/xml/dom/html2/DomHTMLLIElement.java,
1589 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1590 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1591 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1592 gnu/xml/dom/html2/DomHTMLMapElement.java,
1593 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1594 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1595 gnu/xml/dom/html2/DomHTMLModElement.java,
1596 gnu/xml/dom/html2/DomHTMLOListElement.java,
1597 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1598 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1599 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1600 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1601 gnu/xml/dom/html2/DomHTMLParamElement.java,
1602 gnu/xml/dom/html2/DomHTMLPreElement.java,
1603 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1604 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1605 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1606 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1607 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1608 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1609 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1610 gnu/xml/dom/html2/DomHTMLTableElement.java,
1611 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1612 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1613 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1614 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1615 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1617 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1619 * javax/swing/text/ChangedCharSetException.java,
1620 javax/swing/text/html/HTMLEditorKit.java,
1621 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1622 javax/swing/text/html/parser/AttributeList.java,
1623 javax/swing/text/html/parser/ContentModel.java,
1624 javax/swing/text/html/parser/DocumentParser.java,
1625 javax/swing/text/html/parser/DTD.java,
1626 javax/swing/text/html/parser/DTDConstants.java,
1627 javax/swing/text/html/parser/Element.java,
1628 javax/swing/text/html/parser/Entity.java,
1629 javax/swing/text/html/parser/Parser.java,
1630 javax/swing/text/html/parser/TagElement.java,
1631 gnu/javax/swing/text/html/package.html,
1632 gnu/javax/swing/text/html/parser/gnuDTD.java,
1633 gnu/javax/swing/text/html/parser/HTML_401F.java,
1634 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1635 gnu/javax/swing/text/html/parser/htmlValidator.java,
1636 gnu/javax/swing/text/html/parser/package.html,
1637 gnu/javax/swing/text/html/parser/models/list.java,
1638 gnu/javax/swing/text/html/parser/models/node.java,
1639 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1640 gnu/javax/swing/text/html/parser/models/package.html,
1641 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1642 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1643 gnu/javax/swing/text/html/parser/models/transformer.java,
1644 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1645 gnu/javax/swing/text/html/parser/support/package.html,
1646 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1647 gnu/javax/swing/text/html/parser/support/Parser.java,
1648 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1649 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1650 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1651 gnu/javax/swing/text/html/parser/support/low/Location.java,
1652 gnu/javax/swing/text/html/parser/support/low/node.java,
1653 gnu/javax/swing/text/html/parser/support/low/package.html,
1654 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1655 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1656 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1657 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1659 * javax/swing/text/html/HTML.java,
1660 javax/swing/text/html/parser/ParserDelegator.java:
1661 New files (replacing).
1662 * javax/swing/text/html/package.html,
1663 javax/swing/text/html/parser/package.html: Documenting the
1666 2005-04-19 Chris Burdess <dog@gnu.org>
1668 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1669 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1670 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1671 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1672 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1673 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1674 gnu/xml/dom/html2/DomHTMLBRElement.java,
1675 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1676 gnu/xml/dom/html2/DomHTMLCollection.java,
1677 gnu/xml/dom/html2/DomHTMLDocument.java,
1678 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1680 2005-04-19 Michael Koch <konqueror@gmx.de>
1682 * Makefile.am: Added new files.
1683 * Makefile.in: Regenerated.
1685 2005-04-19 Roman Kennke <roman@kennke.org>
1687 * javax/swing/text/JTextComponent.java
1688 (JTextComponent): Added repaintListener which issues repaint
1689 requests when the underlying document changes.
1690 (setDocument): Adds repaintListener to document when the
1691 document is changed.
1692 * javax/swing/text/DefaultEditorKit.java:
1693 Removed repaint calls on JTextComponent. This is now handled
1694 through a DocumentListener in JTextComponent that repaints
1695 the component when needed.
1697 2005-04-19 Roman Kennke <roman@kennke.org>
1700 * javax/swing/text/StyleContext.java
1701 (NamedStyle.setResolveParent): Added null
1704 2005-04-19 Michael Koch <konqueror@gmx.de>
1706 * java/rmi/server/RemoteObject.java:
1707 Removed unused import statement.
1709 2005-04-19 Michael Koch <konqueror@gmx.de>
1711 * java/net/URL.java: Formatting cleanups.
1713 2005-04-19 Michael Koch <konqueror@gmx.de>
1715 * java/awt/FontMetrics.java: Reformatted.
1716 (getFontRenderContext): Handle case when java.awt.Graphics context is
1719 2005-04-19 Michael Koch <konqueror@gmx.de>
1721 * java/awt/FontMetrics.java
1722 (getStringBounds): New methods.
1725 2005-04-19 Michael Koch <konqueror@gmx.de>
1727 * gnu/java/security/x509/X509Certificate.java
1728 (parse): Handle val == null case.
1730 2005-04-19 Roman Kennke <roman@kennke.org>
1732 * javax/swing/plaf/metal/MetalLookAndFeel.java
1733 (initComponentDefaults): Added defaults for Menu, MenuBar
1736 2005-04-19 Roman Kennke <roman@kennke.org>
1738 * javax/swing/plaf/metal/MetalLookAndFeel.java
1739 (initComponentDefaults): Added Label.font.
1740 (initSystemColorDefaults): Added this method and adjusted the
1741 general control color.
1743 2005-04-19 Roman Kennke <roman@kennke.org>
1745 * javax/swing/plaf/metal/MetalBorders.java:
1747 * javax/swing/plaf/metal/MetalButtonUI.java:
1748 (installDefaults): Install button font.
1749 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1750 (initComponentDefaults): Added button border, font and margin.
1751 Changed components background color to the Metal current themes
1754 2005-04-19 Roman Kennke <roman@kennke.org>
1756 * javax/swing/plaf/metal/MetalLookAndFeel.java
1757 (initComponentDefaults): Added to set Metal specific component
1760 2005-04-19 Mark Wielaard <mark@klomp.org>
1762 * javax/swing/plaf/metal/MetalLookAndFeel.java
1763 (initClassDefaults): Call super.initClassDefaults().
1765 2005-04-19 Roman Kennke <roman@kennke.org>
1767 * javax/swing/plaf/metal/MetalLookAndFeel.java
1768 (initClassDefaults): Added to include the *UI classes.
1770 2005-04-19 Roman Kennke <roman@kennke.org>
1772 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1774 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1776 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1778 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1780 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1782 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1784 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1786 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1788 * javax/swing/plaf/metal/MetalSliderUI.java:
1790 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1792 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1794 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1796 2005-04-19 Roman Kennke <roman@kennke.org>
1798 * javax/swing/plaf/metal/MetalButtonUI.java:
1799 Added skeleton class.
1800 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1801 Added skeleton class.
1802 * javax/swing/plaf/metal/MetalLabelUI.java:
1803 Added skeleton class.
1804 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1805 Added skeleton class.
1806 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1807 Added skeleton class.
1808 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1809 Added skeleton class.
1811 2005-04-19 Roman Kennke <roman@kennke.org>
1813 * javax/swing/UIDefaults.java:
1814 Added API documentation for all methods.
1816 2005-04-19 Roman Kennke <roman@kennke.org>
1818 * javax/swing/UIDefaults.java
1819 (put): Now uses new checkAndPut method instead of checking
1821 (putDefaults): Fixed so that it accepts null-values and
1822 treats them like remove(key).
1823 (checkAndPut): Added. This checks for null-values and calls
1826 2005-04-19 Michael Koch <konqueror@gmx.de>
1828 * Makefile.am: Added new files.
1829 * Makefile.in: Regenerated.
1831 2005-04-19 Mark Wielaard <mark@klomp.org>
1833 * java/lang/natRuntime.cc (insertSystemProperties): Set
1834 java.class.path to CLASSPATH only when not empty. Fall back to
1835 default path "." when java.class.path is empty.
1837 2005-04-19 Michael Koch <konqueror@gmx.de>
1839 * javax/swing/text/rtf/ControlWordToken.java,
1840 javax/swing/text/rtf/RTFEditorKit.java,
1841 javax/swing/text/rtf/RTFParseException.java,
1842 javax/swing/text/rtf/RTFParser.java,
1843 javax/swing/text/rtf/RTFScanner.java,
1844 javax/swing/text/rtf/TextToken.java,
1845 javax/swing/text/rtf/Token.java: New files.
1846 * Makefile.am: Added new files.
1847 * Makefile.in: Regenerated.
1849 2005-04-19 Michael Koch <konqueror@gmx.de>
1851 * java/awt/geom/QuadCurve2D.java:
1852 Fixed Brian Gough's name for real.
1854 2005-04-19 Roman Kennke <roman@kennke.org>
1856 * javax/swing/UIManager.java:
1857 Make the UIManager respect the swing.defaultlaf system
1860 2005-04-19 Tom Tromey <tromey@redhat.com>
1862 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1865 2005-04-19 Roman Kennke <roman@kennke.org>
1867 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1868 Fixed tabs to spaces.
1870 2005-04-19 Roman Kennke <roman@kennke.org>
1872 * javax/swing/plaf/basic/BasicMenuUI.java
1873 (getMaximumSize): Now returns preferredSize because JMenu should
1874 never be bigger than that.
1875 * javax/swing/JRootPane
1876 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1878 2005-04-19 Roman Kennke <roman@kennke.org>
1880 * javax/swing/JRootPane.java:
1881 Fixed various tabs to be spaces.
1882 (RootLayout.layoutContainer): Made menubar left aligned.
1884 2005-04-19 Roman Kennke <roman@ontographics.com>
1886 * javax/swing/JList.java
1887 (getPreferredScrollableViewportSize):
1888 The previous implementation was merely guessing the size,
1889 now it respects layoutOrientation, visibleRowCount
1891 (getScrollableTracksViewportHeight):
1892 Reimplemented so that layoutOrientation, visibleRowCount
1893 and preferred size are respected.
1894 (getScrollableTracksViewportWidth):
1895 Reimplemented so that layoutOrientation, visibleRowCount
1896 and preferred size are respected.
1897 * javax/swing/plaf/basic/BasicListUI.java
1899 Improved calculation of preferredSize when JList is
1900 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1902 The previous implementation assumed a layoutOrientation of
1903 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1904 JList.VERTICAL_WRAP.
1906 2005-04-19 Roman Kennke <roman@ontographics.com>
1908 * javax/swing/plaf/basic/BasicListUI.java
1909 (paintCell): use CellRendererPane for painting the cells.
1911 2005-04-19 Roman Kennke <roman@ontographics.com>
1913 * javax/swing/plaf/basic/BasicListUI:
1914 fixed modifiers of several fields, methods and inner
1915 classes to match the 'spec'.
1916 (getMaximumSize): removed. It's not in the spec and the
1917 implementations was superfluous.
1919 2005-04-19 Roman Kennke <roman@ontographics.com>
1921 * javax/swing/plaf/basic/BasicListUI:
1922 make BasicListUI capable of wrapping lists
1923 (layoutOrientation property of javax.swing.JList)
1925 2005-04-19 Roman Kennke <roman@ontographics.com>
1927 * javax/swing/plaf/basic/BasicListUI
1928 (updateLayoutState,paint): make BasicListUI aware of the
1929 width of the rendered JList.
1931 2005-04-19 Roman Kennke <roman@kennke.org>
1933 * javax/swing/ImageIcon.java
1934 Added API documentation.
1936 2005-04-19 Roman Kennke <roman@kennke.org>
1938 * javax/swing/text/ImageIcon.java
1939 (ImageIcon): Use setImage instead of direct assignment.
1940 (setImage): Call loadImage to make sure that the image is loaded.
1941 (loadImage): Waits for the image to complete loading.
1942 (getImageLoadStatus): Added. Returns the load status of the
1945 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1947 * javax/swing/JTextArea.java (replaceRange):
1948 Fixing doc.remove(start, length) misinterpretation.
1950 2005-04-19 Roman Kennke <roman@ontographics.com>
1952 * javax/swing/CellRendererPane.java:
1953 implemented all methods of this class.
1954 reformatted all wrong formatted code.
1956 2005-04-19 Roman Kennke <roman@kennke.org>
1958 * javax/swing/BoxLayout.java:
1959 (layoutContainer): Made this layout manager respect the
1960 minimum, maximum and preferred size more correctly.
1962 2005-04-19 Roman Kennke <roman@ontographics.com>
1964 * javax/swing/BoxLayout.java:
1965 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1966 layoutContainer): Make these methods and thereby the
1967 BoxLayout respect the insets (like borders) of the
1968 component that is laid out.
1970 2005-04-19 Roman Kennke <roman@kennke.org>
1972 * javax/swing/JComponent.java:
1973 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1974 Untabified the file.
1976 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1978 * javax/swing/JComboBox.java (constructors): selecting the
1979 first item if the box was constructed from the provided
1980 non - empty array or vector.
1982 2005-04-19 Michael Koch <konqueror@gmx.de>
1984 * gnu/java/awt/peer/gtk/GdkGraphics.java
1985 (getClipBounds): Handle clip being null.
1986 (setClip): Likewise.
1987 * java/beans/beancontext/BeanContextSupport.java
1991 (removeAll): Likewise.
1992 (retainAll): Likewise.
1994 2005-04-19 Michael Koch <konqueror@gmx.de>
1996 * java/beans/beancontext/BeanContextServicesSupport.java
1997 (BeanContextServicesSupport): Reimplemented.
1998 (addBeanContextServicesListener): Implemented.
1999 (initialize): Likewise.
2000 (removeBeanContextServicesListener): Likewise.
2001 * java/beans/beancontext/BeanContextSupport.java
2003 (addBeanContextMembershipListener): Likewise.
2004 (getLocale): Likewise.
2005 (initialize): Likewise.
2006 (iterator): Likewise.
2008 (toArray): Likewise.
2010 2005-04-19 Roman Kennke <roman@kennke.org>
2012 * java/awt/MediaTracker.java:
2013 Reindented tabs to spaces.
2015 2005-04-19 Roman Kennke <roman@kennke.org>
2017 * java/awt/MediaTracker.java
2018 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2019 confused the media tracker and lead to lockups. The LOADING
2020 bit is handled on other places.
2021 (addImage): Removed the 'start image tracking' stuff. This
2022 is not necessary and could confuse the media tracker.
2023 (checkAll): Improved the check for image status so that
2024 images that already complete images are detected. Also now
2025 are really all images checked and if necessary loaded. Before
2026 the method bailed out after the first incomplete image.
2027 (statusAll): Detect images that are complete after the
2028 call to Component.prepareImage(..).
2029 (checkID): The same as in checkAll.
2030 (statusID): The same as in statusAll.
2032 2005-04-19 Roman Kennke <roman@kennke.org>
2034 * java/awt/MediaTracker.java
2035 (addImage): Synchronized list access.
2036 (waitForAll): Fixed comparison of time (changed < to >).
2037 (waitForID): Fixed comparison of time (changed < to >).
2038 (removeImage): Synchronized list access.
2040 2005-04-19 Roman Kennke <roman@kennke.org>
2042 * java/awt/MediaTracker.java
2043 Added API documentation.
2045 2005-04-19 Roman Kennke <roman@kennke.org>
2047 * java/awt/MediaTracker.java
2048 (MediaEntry.imageUpdate): Fixed flags. The different flags
2049 must not be ORed together.
2050 (checkAll): Modified to handle different meaning of the flags.
2051 (waitForAll): Fixed so that it waits maximum the
2052 specified amount of milliseconds.
2053 (statusAll): Modified to handle different meaning of the flags.
2054 (waitForID): Fixed so that it waits maximum the
2055 specified amount of milliseconds.
2057 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2059 * java/awt/Font.java (decode): Handle null argument and allow
2062 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2064 * java/beans/EventHandler.java: Reworked documentation.
2065 (invoke): Fixed behavior to match spec.
2067 2005-04-19 Michael Koch <konqueror@gmx.de>
2069 * java/awt/print/PrinterJob.java
2070 (pageDialog): New method.
2071 (printDialog): Implemented.
2073 2005-04-19 Michael Koch <konqueror@gmx.de>
2075 * java/awt/image/ConvolveOp.java:
2076 Removed comment added by eclipse.
2078 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2080 * java/awt/image/IndexColorModel.java
2081 (getRGB): Check if pixel is negative.
2083 2005-04-19 Michael Koch <konqueror@gmx.de>
2085 * java/awt/image/RasterOp.java:
2086 Fixed wrong formatting.
2088 2005-04-18 Roman Kennke <roman@kennke.org>
2090 * java/awt/Compmonent.java
2091 (setComponentOrientation): Made this property firing a
2092 PropertyChangeEvent.
2094 2005-04-18 Roman Kennke <roman@kennke.org>
2096 * java/awt/BorderLayout.java
2097 (calcSize): Check for overflow when component sizes are added.
2099 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2101 * java/awt/AWTEvent.java (toString): Added case
2102 for source not being an AWT component.
2104 2005-04-18 Chris Burdess <dog@gnu.org>
2106 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2108 2005-04-18 Michael Koch <konqueror@gmx.de>
2110 gnu/java/awt/EmbeddedWindowSupport.java,
2111 gnu/java/net/HeaderFieldHelper.java,
2112 gnu/java/net/URLParseError.java,
2113 gnu/java/net/protocol/file/Handler.java,
2114 gnu/java/net/protocol/jar/Handler.java:
2115 Fixed usage of @author tag.
2117 2005-04-18 Michael Koch <konqueror@gmx.de>
2119 * gnu/xml/aelfred2/XmlParser.java:
2120 Reverted my typo fix.
2122 2005-04-18 Michael Koch <konqueror@gmx.de>
2124 * java/awt/geom/CubicCurve2D.java,
2125 java/awt/geom/QuadCurve2D.java:
2126 Fixed mentioning of Brian Gouph.
2128 2005-04-18 Michael Koch <konqueror@gmx.de>
2130 * gnu/java/awt/Buffers.java,
2131 gnu/java/awt/image/ImageDecoder.java,
2132 gnu/java/awt/image/XBMDecoder.java,
2133 gnu/java/awt/peer/ClasspathFontPeer.java,
2134 gnu/java/net/CRLFInputStream.java,
2135 gnu/java/net/EmptyX509TrustManager.java,
2136 gnu/java/net/LineInputStream.java,
2137 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2138 gnu/java/net/protocol/ftp/BlockInputStream.java,
2139 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2140 gnu/java/net/protocol/ftp/DTP.java,
2141 gnu/java/net/protocol/ftp/DTPInputStream.java,
2142 gnu/java/net/protocol/ftp/FTPConnection.java,
2143 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2144 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2145 gnu/java/net/protocol/ftp/StreamInputStream.java,
2146 gnu/java/net/protocol/http/ChunkedInputStream.java,
2147 gnu/java/net/protocol/http/HTTPConnection.java,
2148 gnu/java/net/protocol/http/HTTPURLConnection.java,
2149 gnu/java/net/protocol/http/Headers.java,
2150 gnu/java/net/protocol/http/Request.java,
2151 gnu/java/nio/ChannelInputStream.java,
2152 gnu/java/nio/ChannelOutputStream.java,
2153 gnu/java/nio/InputStreamChannel.java,
2154 gnu/java/nio/OutputStreamChannel.java,
2155 gnu/java/nio/SelectorProviderImpl.java,
2156 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2157 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2158 gnu/java/rmi/dgc/DGCImpl.java,
2159 gnu/java/rmi/registry/RegistryImpl.java,
2160 gnu/java/rmi/server/ProtocolConstants.java,
2161 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2162 gnu/java/rmi/server/RMIIncomingThread.java,
2163 gnu/java/rmi/server/RMIObjectInputStream.java,
2164 gnu/java/rmi/server/RMIObjectOutputStream.java,
2165 gnu/java/rmi/server/RMIVoidValue.java,
2166 gnu/java/rmi/server/UnicastConnectionManager.java,
2167 gnu/java/rmi/server/UnicastRef.java,
2168 gnu/java/rmi/server/UnicastRemoteCall.java,
2169 gnu/java/rmi/server/UnicastRemoteStub.java,
2170 gnu/java/rmi/server/UnicastServerRef.java,
2171 gnu/java/security/OID.java,
2172 gnu/java/security/der/DERReader.java,
2173 gnu/java/security/provider/CollectionCertStoreImpl.java,
2174 gnu/java/security/provider/DSAParameterGenerator.java,
2175 gnu/java/security/provider/DefaultPolicy.java,
2176 gnu/java/security/provider/EncodedKeyFactory.java,
2177 gnu/java/security/provider/GnuDHPublicKey.java,
2178 gnu/java/security/provider/GnuDSAPrivateKey.java,
2179 gnu/java/security/provider/GnuDSAPublicKey.java,
2180 gnu/java/security/provider/GnuRSAPrivateKey.java,
2181 gnu/java/security/provider/GnuRSAPublicKey.java,
2182 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2183 gnu/java/security/provider/RSA.java,
2184 gnu/java/security/provider/SHA1PRNG.java,
2185 gnu/java/security/provider/SHA1withRSA.java,
2186 gnu/java/security/provider/X509CertificateFactory.java,
2187 gnu/java/security/x509/GnuPKIExtension.java,
2188 gnu/java/security/x509/X500DistinguishedName.java,
2189 gnu/java/security/x509/X509CRL.java,
2190 gnu/java/security/x509/X509CRLEntry.java,
2191 gnu/java/security/x509/X509CertPath.java,
2192 gnu/java/security/x509/X509CertSelectorImpl.java,
2193 gnu/java/security/x509/X509Certificate.java,
2194 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2195 gnu/java/security/x509/ext/BasicConstraints.java,
2196 gnu/java/security/x509/ext/CRLNumber.java,
2197 gnu/java/security/x509/ext/CertificatePolicies.java,
2198 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2199 gnu/java/security/x509/ext/Extension.java,
2200 gnu/java/security/x509/ext/GeneralNames.java,
2201 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2202 gnu/java/security/x509/ext/KeyUsage.java,
2203 gnu/java/security/x509/ext/PolicyConstraint.java,
2204 gnu/java/security/x509/ext/PolicyMappings.java,
2205 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2206 gnu/java/security/x509/ext/ReasonCode.java,
2207 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2208 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2209 Reorganized import statements.
2211 2005-04-18 Michael Koch <konqueror@gmx.de>
2213 * gnu/java/awt/color/CieXyzConverter.java,
2214 gnu/java/awt/color/ClutProfileConverter.java,
2215 gnu/java/awt/color/ColorLookUpTable.java,
2216 gnu/java/awt/color/ColorSpaceConverter.java,
2217 gnu/java/awt/color/GrayProfileConverter.java,
2218 gnu/java/awt/color/GrayScaleConverter.java,
2219 gnu/java/awt/color/LinearRGBConverter.java,
2220 gnu/java/awt/color/ProfileHeader.java,
2221 gnu/java/awt/color/PyccConverter.java,
2222 gnu/java/awt/color/RgbProfileConverter.java,
2223 gnu/java/awt/color/SrgbConverter.java,
2224 gnu/java/awt/color/TagEntry.java,
2225 gnu/java/awt/color/ToneReproductionCurve.java:
2226 Standardized file headers.
2228 2005-04-16 Tom Tromey <tromey@redhat.com>
2230 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2231 'ANY' package-private.
2233 2005-04-15 Tom Tromey <tromey@redhat.com>
2235 * Makefile.in: Rebuilt.
2236 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2237 (libgcj0_convenience_la_LIBADD): ... here.
2239 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2241 * gij.cc (version): Properly quote java version.
2242 (main): Fix typo in comment.
2244 2005-04-13 Mark Wielaard <mark@klomp.org>
2246 * java/lang/natRuntime.cc (insertSystemProperties): Set
2247 java.class.path to CLASSPATH if not already set.
2249 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2251 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2253 2005-04-12 Mike Stump <mrs@apple.com>
2255 * configure: Regenerate.
2257 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2260 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2261 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2263 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2266 * scripts/TexinfoDoclet.java: Removed.
2267 * Makefile.am (texinfo): Removed.
2268 * Makefile.in: Regenerated.
2270 2005-04-11 Michael Koch <konqueror@gmx.de>
2272 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2273 Fixed wrong casting.
2275 2005-04-06 Andrew Haley <aph@redhat.com>
2277 * testsuite/libjava.lang/bytearray.java: New file.
2278 * testsuite/libjava.lang/bytearray.out: New file.
2279 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2280 (loadClass): Use it.
2281 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2283 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2285 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2286 gcj-dbtool dependency
2287 * Makefile.in: Regenerated
2289 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2291 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2292 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2294 2005-04-05 Andrew Haley <aph@redhat.com>
2296 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2297 (Tokenizer): New class.
2298 (getFiles): New method.
2299 (main): Add "-" argument.
2301 Read list of files from stdin when merging map databases.
2302 (usage): Add "-" argument.
2306 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2309 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2310 * Makefile.in: Regenerate.
2311 * configure.ac: Add --with-java-home option.
2312 * configure: Regenerate.
2313 * external/Makefile.in: Regenerate.
2314 * external/sax/Makefile.in: Regenerate.
2315 * external/w3c_dom/Makefile.in: Regenerate.
2316 * gcj/Makefile.in: Regenerate.
2317 * include/Makefile.in: Regenerate.
2318 * testsuite/Makefile.in: Regenerate.
2319 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2322 2005-04-05 Tom Tromey <tromey@redhat.com>
2324 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2325 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2326 Rewrote to use _Jv_FindClassFromSignature.
2327 * verify.cc (resolve): throw NoClassDefFoundError.
2328 * link.cc (resolve_field): Throw NoClassDefFoundError.
2329 (find_field): Likewise.
2330 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2331 Handle error cases. Added 'endp' argument.
2332 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2334 2005-04-05 Tom Tromey <tromey@redhat.com>
2336 * Makefile.in: Rebuilt.
2337 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2338 gtk_awt_peer_sources.
2339 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2340 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2341 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2342 (gtk-awt-peer.lo): New target.
2344 2005-04-04 Steve Pribyl <steve@netfuel.com>
2347 * configure.ac: Fix fastjar definition for cross builds.
2348 * configure: Rebuilt.
2350 2005-04-04 Tom Tromey <tromey@redhat.com>
2352 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2353 it was already found.
2355 2005-04-04 Tom Tromey <tromey@redhat.com>
2357 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2358 org.metastatic.jessie.
2360 2005-04-02 Anthony Green <green@redhat.com>
2363 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2365 2005-04-02 Mark Wielaard <mark@klomp.org>
2367 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2368 Attributes and attribute order doesn't matter.
2369 (BasicAttributesEnumeration.where): Initialize to zero.
2370 (BasicAttributesEnumeration.nextElement): Update and compare where
2371 appropriately (zero based).
2373 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2375 PR libgcj/20090, PR libgcj/20526
2376 * gij.cc (nonstandard_opts_help): New function.
2377 (add_option): New function.
2378 (main): Support java options. Set java.class.path. Don't set
2380 * prims.cc (parse_x_arg): New function.
2381 (parse_init_args): Call parse_x_arg for -X and _ options, when
2382 ignoreUnrecognized is true.
2383 (new _Jv_RunMain): New vm_args variant.
2384 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2385 (_Jv_Jar_Class_Path): Remove variable.
2386 * include/java-props.h: Likewise.
2387 * include/cni.h (JvRealloc): New function.
2388 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2389 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2390 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2392 * configure.ac (JV_VERSION): Define.
2393 (JV_API_VERSION): Likewise.
2394 * configure: Regenerate.
2395 * include/config.h.in: Regenerate.
2397 2005-04-01 Mark Anderson <mark@panonet.net>
2399 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2400 -Infinity as parameters.
2402 2005-04-01 Michael Koch <konqueror@gmx.de>
2404 * java/io/PipedInputStream.java
2405 (read): Make sure a positive byte value is returned. Revised javadoc.
2406 Thanks to Olafur Bragason for reporting these bugs.
2408 2005-04-01 Tom Tromey <tromey@redhat.com>
2410 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2411 Updated for name change.
2412 (nativeFindClass): New method.
2413 (loadClass): Use nativeFindClass.
2414 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2416 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2417 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2419 (initialize): New method.
2420 (nativeFindClass): Declare.
2421 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2422 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2423 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2425 (definePackageForNative): Removed.
2426 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2427 Moved to VMClassLoader.java.
2428 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2429 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2430 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2431 removed VMClassLoader.java.
2432 (nat_source_files): Removed natVMClassLoader.cc.
2434 2005-04-01 Tom Tromey <tromey@redhat.com>
2436 * Makefile.in: Rebuilt.
2437 * Makefile.am (db_pathtail): Use $(gcc_version), not
2440 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2442 * java/util/Timer.java
2443 (run): Stop the queue if a task throws an exception.
2445 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2447 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2449 2005-03-29 Ian Lance Taylor <ian@airs.com>
2451 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2452 * external/sax/Makefile.in: Rebuild.
2453 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2455 * external/w3c_dom/Makefile.in: Rebuild.
2457 2005-03-29 Tom Tromey <tromey@redhat.com>
2459 * java/lang/natRuntime.cc (insertSystemProperties): Set
2460 gnu.gcj.runtime.endorsed.dirs.
2461 * Makefile.in: Rebuilt.
2462 * Makefile.am (ordinary_java_source_files): Added
2463 HelperClassLoader.java.
2464 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2465 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2467 (init): Use addDirectoriesFromProperty.
2468 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2469 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2470 gnu.gcj.runtime.endorsed.dirs.
2471 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2473 2005-03-26 Chris Burdess <dog@gnu.org>
2475 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2478 2005-03-13 Michael Koch <konqueror@gmx.de>
2480 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2482 2005-03-11 Chris Burdess <dog@gnu.org>
2484 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2487 2005-02-27 Chris Burdess <dog@gnu.org>
2489 * gnu/xml/aelfred2/JAXPFactory.java,
2490 gnu/xml/aelfred2/SAXDriver.java,
2491 gnu/xml/aelfred2/XmlParser.java,
2492 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2493 formatting conventions. Replaced arrays of Object with struct-like
2494 classes for easier maintainability. Made SAXDriver.stringInterning
2495 package private to allow access from XmlParser inside the loop without
2496 a method call overhead.
2498 2005-03-11 Chris Burdess <dog@gnu.org>
2500 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2503 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2505 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2506 settings to sub Makefiles.
2507 (GCJH, ZIP): Prefix with top_builddir.
2508 * configure: Rebuild.
2509 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2510 * external/w3c_dom/Makefile.in: Rebuild.
2511 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2512 * external/sax/Makefile.in: Rebuild.
2514 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2516 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2517 libsocket to the libraries to link for Solaris.
2519 2005-03-28 Per Bothner <per@bothner.com>
2521 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2522 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2524 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2526 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2527 to fix a ONESTEP fallout.
2528 * Makefile.in: Regenerate.
2530 2005-03-25 Mike Stump <mrs@apple.com>
2532 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2533 paths like we do for the compiler, as we use it in external/sax
2534 and it doesn't get MULTIBUILDTOP right when multilibing.
2536 2005-03-24 Anthony Green <green@redhat.com>
2538 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2540 (usage): Add [LIBDIR] to help output.
2541 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2542 * Makefile.am (AM_CXXFLAGS): Define
2543 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2544 (db_pathtail): New macro.
2546 2005-03-24 Tom Tromey <tromey@redhat.com>
2548 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2549 add sax and w3c libraries.
2550 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2552 * external/w3c_dom/Makefile.in: Rebuilt.
2553 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2555 (libw3c_gcj_la_LDFLAGS): New variable.
2556 (noinst_LTLIBRARIES): Renamed.
2557 * external/sax/Makefile.in: Rebuilt.
2558 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2560 (libsax_gcj_la_LDFLAGS): New variable.
2561 (noinst_LTLIBRARIES): Renamed.
2563 2005-03-23 Tom Tromey <tromey@redhat.com>
2565 * Makefile.in: Rebuilt.
2566 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2567 (libgcj0_convenience_la_SOURCES): Don't include
2568 gnu_xml_source_files.
2569 (libgcj0_convenience_la_LIBADD): New variable.
2570 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2571 (all_java_source_files): javax_imageio_source_files,
2572 javax_xml_source_files, and gnu_java_beans_source_files.
2573 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2574 (gnu-xml.lo): New target.
2575 (javax-imageio.lo): Likewise.
2576 (javax-xml.lo): Likewise.
2577 (gnu-java-beans.lo): Likewise.
2578 (gnu_java_beans_source_files): New variable.
2579 (javax_imageio_source_files): Likewise.
2580 (javax_xml_source_files): Likewise.
2581 (javax_source_files): Moved files to other variable.
2582 (awt_java_source_files): Likewise.
2583 (ordinary_java_source_files): Added BootClassLoader.java.
2584 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2585 not system class loader.
2586 (initBootLoader): New method.
2587 (loadClass): Search bootLoader.
2588 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2589 boot loader, not system class loader.
2590 (_Jv_UnregisterInitiatingLoader): Likewise.
2591 (_Jv_FindClass): Likewise. Ensure entries in
2592 bootstrap_class_list are unique.
2593 * java/lang/natClass.cc (getClassLoader): Don't special case
2594 system class loader.
2595 * java/lang/VMClassLoader.java (bootLoader): New field.
2596 (getResource): Use bootLoader.
2597 (getResources): Likewise.
2598 (initBootLoader): Declare.
2599 * gnu/gcj/runtime/BootClassLoader.java: New file.
2600 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2601 (EMPTY_ENUMERATION): Now package-private.
2602 * external/w3c_com/Makefile.in: Rebuilt.
2603 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2604 (w3c.jar): New target.
2605 (classes.stamp): Updated.
2606 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2607 Changed name of library.
2608 (libw3c_gcj_la_SOURCES): New variable.
2609 (libw3c_gcj_la_GCJFLAGS): Likewise.
2610 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2611 * external/sax/Makefile.in: Rebuilt.
2612 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2613 (sax.jar): New target.
2614 (classes.stamp): Updated.
2615 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2616 Changed name of library.
2617 (libsax_gcj_la_SOURCES): New variable.
2618 (libsax_gcj_la_GCJFLAGS): Likewise.
2619 (source_files): Renamed from libsax_convenience_la_SOURCES.
2620 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2622 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2624 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2626 2005-03-23 Sven de Marothy <sven@physto.se>
2628 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2630 * java/util/Calendar.java
2631 (set): Use starting day of week when one is needed if none is given.
2632 * java/text/SimpleDateFormat.java
2633 (parse): Handle 1-12 and 1-24 timestamps correctly.
2634 * java/util/GregorianCalendar.java
2635 (computeTime, computeFields): HOUR should be in 0-11 format.
2636 (nonLeniencyCheck): Adjust leniency checking to that fact.
2637 (getLinearDay): Should be private.
2639 2005-03-23 Tom Tromey <tromey@redhat.com>
2641 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2642 (_Jv_CheckABIVersion): Use it.
2644 2005-03-22 Mike Stump <mrs@apple.com>
2646 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2648 * include/posix.h: .dylib is used on all Apple MACH platforms.
2649 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2651 2005-03-22 Tom Tromey <tromey@redhat.com>
2653 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2655 2005-03-21 Tom Tromey <tromey@redhat.com>
2657 * java/lang/VMCompiler.java (static block): Also catch
2658 BufferUnderflowException.
2660 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2662 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2663 set tool_include_dir. In all substitutions, leave $(gcc_version)
2664 to be expanded by the Makefile.
2665 * aclocal.m4, configure: Regenerate.
2666 * Makefile.am: Set gcc_version. Replace all uses of
2667 @gcc_version@ with $(gcc_version).
2668 * external/Makefile.am, external/sax/Makefile.am
2669 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2670 * testsuite/Makefile.am: Set gcc_version.
2671 * include/Makefile.am: Set gcc_version and tool_include_dir.
2672 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2673 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2674 * testsuite/Makefile.in: Regenerate.
2676 2005-03-17 Andrew Haley <aph@redhat.com>
2678 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2680 Pass klass to _Jv_StackTrace::GetClassContext().
2681 * java/lang/ClassLoader.java (getParent): Pass class to
2682 VMSecurityManager.getClassContext()
2683 (getSystemClassLoader): Likewise.
2684 * java/lang/Package.java (getPackage): Likewise.
2685 (getPackages): Likewise.
2686 * java/lang/SecurityManager.java (getClassContext): Likewise.
2687 (currentClassLoader): Likewise.
2688 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2689 (currentClassLoader) Add new arg: caller.
2690 Pass caller to VMSecurityManager.getClassContext.
2692 * stacktrace.cc (GetClassContext): Correct calculation of
2695 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2696 im->source_file_name.
2698 2005-03-16 Andrew Haley <aph@redhat.com>
2700 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2702 2005-03-16 Tom Tromey <tromey@redhat.com>
2704 * link.cc (ensure_class_linked): Removed #ifdef.
2705 (print_class_loaded): Likewise.
2706 (wait_for_state): Likewise.
2707 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2708 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2709 * include/java-interp.h: ... here.
2711 2005-03-16 Tom Tromey <tromey@redhat.com>
2713 * gnu/java/lang/MainThread.java (run): Load main class using
2714 system class loader.
2716 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2718 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2719 lgcc_s to the libraries to link for Darwin.
2721 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2723 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2724 interpreter-specific code with #ifdef INTERPRETER.
2725 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2726 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2727 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2728 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2729 #ifdef INTERPRETER. Also protect declarations that use it.
2730 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2731 #ifdef INTERPRETER block.
2733 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2736 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2737 * Makefile.in: Rebuilt.
2739 2005-03-15 David Daney <ddaney@avtrex.com>
2741 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2744 2005-03-15 David Daney <ddaney@avtrex.com>
2746 * java/io/BufferedInputStream.java (available): Use 'in' instead
2747 of 'super' for underlying stream access.
2749 (read(byte[], int, int)): Ditto.
2751 (skip): Call skip on underlying stream when possible.
2753 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2755 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2756 SJLJ_EXCEPTIONS is defined.
2758 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2760 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2763 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2765 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2767 (libjava_arguments): Likewise.
2769 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2770 (gcj_jni_test_one): Likewise.
2771 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2772 Add flags to keep the Darwin linker quiet.
2773 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2774 Add -liconv for Darwin.
2776 2005-03-11 Tom Tromey <tromey@redhat.com>
2778 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2779 (_Jv_CheckABIVersion): Use it.
2781 2005-03-11 Tom Tromey <tromey@redhat.com>
2783 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2784 (usage): Document '-p'.
2785 * Makefile.in: Rebuilt.
2786 * Makefile.am (dbexecdir): New variable.
2787 (db_name): Likewise.
2788 (dbexec_DATA): Likewise.
2789 ($(db_name)): New target.
2790 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2791 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2794 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2796 * exception.cc: Remove stray MethodRef.h include.
2797 * java/lang/natClass.cc: Likewise.
2798 * gnu/gcj/runtime/MethodRef.java: Removed.
2799 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2800 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2801 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2802 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2803 * Makefile.in: Rebuilt.
2805 2005-03-10 Tom Tromey <tromey@redhat.com>
2807 * Makefile.in: Rebuilt.
2808 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2810 2005-03-10 Chris Burdess <dog@bluezoo.org>
2812 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2813 not currently parsing the DTD.
2815 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2817 New Stack Trace infrastructure.
2818 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2819 (gnu/gcj/runtime/StackTrace.java): Removed.
2820 (ordinary_java_source_files): Remove obsolete files.
2821 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2822 * configure.host (fallback_backtrace_h): Set backtrace header
2823 for mingw and cygwin targets.
2824 * configure.ac: Make symlink for fallback backtrace headers.
2825 * Makefile.in, configure: Rebuilt.
2826 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2827 Read 'LineNumberTable' attribute.
2828 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2830 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2832 * exception.cc: Remove unused include.
2833 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2834 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2835 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2836 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2837 table to direct threaded instruction values.
2838 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2839 (_Jv_InterpMethod::run): No longer member function. All
2840 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2841 is made or where an instruction could throw.
2842 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2844 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2845 (catch_fpe): Likewise.
2846 * stacktrace.cc: New file. Stack trace code now here.
2847 * gnu/gcj/runtime/MethodRef.java:
2848 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2849 calls addr2line to look up PC addresses in a given binary or shared
2851 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2852 gnu/gcj/runtime/natStackTrace.cc: Removed.
2853 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2854 this function name is specially recognised by the stack trace code
2855 and shouldn't be changed.
2856 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2857 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2858 (_Jv_InterpMethod::run): Update declaration.
2859 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2861 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2862 * include/java-stack.h: New file. Declarations for stack tracing.
2863 * include/jvm.h (_Jv_Frame_info): Removed.
2864 * java/lang/Class.h: Update friend declarations.
2865 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2867 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2868 (getStackTrace): Now native.
2869 (data): New RawDataManaged field.
2870 * java/lang/natClass.cc: Update includes.
2871 (forName): Use _Jv_StackTrace::GetCallingClass for
2872 calling-classloader check.
2873 (getClassLoader): Likewise.
2874 * java/lang/natRuntime.cc: Update includes.
2875 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2876 * java/lang/natVMSecurityManager.cc: Update includes.
2877 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2878 * java/lang/natVMThrowable.cc: New file. Native methods for
2880 * java/lang/reflect/natArray.cc: Update includes.
2881 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2882 accessibility check.
2883 * java/lang/reflect/natConstructor.cc: Update includes.
2884 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2885 accessibility check.
2886 * java/lang/reflect/natField.cc: Update includes.
2887 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2888 accessibility check.
2889 * java/lang/reflect/natMethod.cc: Update includes.
2890 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2891 accessibility check.
2892 * java/util/natResourceBundle.cc: Update includes.
2893 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2894 * java/util/logging/natLogger.cc: Update includes. Use
2895 _Jv_StackTrace::GetCallerInfo to get call-site info.
2896 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2898 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2901 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2903 * testsuite/libjava.compile/PR20312.java: New file.
2904 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2905 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2907 2005-03-09 Andrew Haley <aph@redhat.com>
2909 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2911 (smallTransferTo): New.
2912 (transferFrom): Loop around smallTransferFrom, copying pageSize
2914 (transferTo): Likewise.
2916 2005-03-09 David Daney <ddaney@avtrex.com>
2919 Merge BufferedInputStream from GNU Classpath.
2920 * java/io/BufferedInputStream.java (marktarget): Field removed.
2921 (CHUNKSIZE): Field removed.
2922 (bufferSize): New field.
2923 (BufferedInputStream): Initialize fields.
2924 (close): Invalidate mark and buffer indexes.
2926 (read()): Move mark handling code to refill.
2927 (read(byte[], int, int)): Ditto.
2928 (skip): Ditto and simplify EOF testing.
2929 (refill): Rewritten.
2930 * java/io/InputStreamReader.java (refill): Removed mark and reset
2931 of internal BufferedInputStream.
2933 2005-03-09 Tom Tromey <tromey@redhat.com>
2935 * java/lang/natVMClassLoader.cc (defineClass): Reference
2936 'systemClassLoader' field directly.
2937 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2939 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2940 Reference 'systemClassLoader' field directly.
2941 (_Jv_UnregisterInitiatingLoader): Likewise.
2942 (_Jv_FindClass): Likewise.
2944 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2946 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2948 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2949 the file in GNU Classpath style.
2951 2005-03-09 Tom Tromey <tromey@redhat.com>
2953 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2954 (toString): Synchronize.
2956 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2958 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2959 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2961 2005-03-07 Tom Tromey <tromey@redhat.com>
2963 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2964 (usage): Document '-f'.
2966 2005-03-07 Tom Tromey <tromey@redhat.com>
2968 * java/lang/VMCompiler.java (md5Digest): New field.
2969 (compileClass): Clone md5Digest instead of looking up a new one.
2971 2005-03-07 Tom Tromey <tromey@redhat.com>
2974 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2975 * link.cc (find_field_helper): Added 'type' argument.
2976 (find_field): Updated.
2978 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2979 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2980 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2981 throw UnsupportedOperationException, fixed comments.
2982 (setFont, setForeground): Fixed comments.
2983 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2984 return type to boolean.
2985 (getNextEvent): Fixed javadocs.
2986 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2987 (nativeQueueEmpty): Removed unused code.
2988 (iterateNativeQueue): Removed outer loop.
2990 2005-03-06 Roger Sayle <roger@eyesopen.com>
2993 * Makefile.am (libgcj0_convenience.la): Revert last change.
2994 * Makefile.in: Regenerate.
2996 2005-03-05 Anthony Green <green@redhat.com>
2998 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2999 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3000 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3001 (_Jv_GetDrawingSurface): Set visualID.
3002 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3003 (JAWT_GetAWT): Set Lock and Unlock.
3004 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3006 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3007 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3008 JAWT_LOCK_SURFACE_CHANGED): New macros.
3009 (struct _JAWT): Add Lock and Unlock.
3011 2005-03-05 Roger Sayle <roger@eyesopen.com>
3012 Alexandre Oliva <aoliva@redhat.com>
3013 Kelley Cook <kcook@gcc.gnu.org>
3016 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3017 of the object files to link to avoid exceeding the command line
3018 length limits on some platforms.
3019 (clean-local): Clean up objectlist files.
3020 * Makefile.in: Regenerate.
3022 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3024 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3025 spec_case. Initialize pointer mlo.
3027 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3030 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3032 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3035 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3036 uninitialized variable z.
3038 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3039 possible unused variables.
3041 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3043 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3045 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3048 * testsuite/libjava.jni/jni.exp
3049 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3051 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3053 2005-02-23 David Daney <ddaney@avtrex.com>
3055 * configure.host: Don't use -mxgot for MIPS builds.
3057 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3060 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3061 (COMPPATH): Removed.
3062 (ZIP, GCJH): Replace it with ../$(host_subdir).
3063 (built_gcc_dir): Add $(host_subdir).
3064 * configure: Regenerate.
3065 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3066 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3067 external/w3c_dom/Makefile.in: Regenerate.
3069 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3071 * java/awt/font/TextAttribute.java: changed names to lower case;
3072 (readResolve): implemented.
3073 Added doc comments all over.
3075 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3078 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3079 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3080 value. Move argument parsing code to prims.cc.
3081 * prims.cc (no_properties): Remove.
3082 (_Jv_Compiler_Properties): Initialize to NULL.
3083 (_Jv_Properties_Count): Initialize to 0.
3084 (parse_verbose_args): New function.
3085 (parse_init_args): New function.
3086 (_Jv_CreateJavaVM): Call parse_init_args.
3087 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3088 * gcj/cni.h (JvVMOption): New struct.
3089 (JvVMInitArgs): Likewise.
3090 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3092 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3093 (_Jv_VMInitArgs): Likewise.
3094 * include/java-props.h (_Jv_Properties_Count): Declare.
3095 * java/lang/natRuntime.cc (insertSystemProperties): Use
3096 _Jv_Properties_Count in for loop exit condition.
3097 * testsuite/libjava.jni/jni.exp
3098 (gcj_invocation_compile_c_to_binary): New procedure.
3099 (gcj_invocation_test_one): Likewise.
3100 (gcj_jni_run): Run JNI invocation API tests.
3101 * testsuite/libjava.jni/invocation/PR16923.c,
3102 testsuite/libjava.jni/invocation/PR16923.java,
3103 testsuite/libjava.jni/invocation/PR16923.out: New test.
3105 2005-02-23 Michael Koch <konqueror@gmx.de>
3107 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3108 * Makefile.in: Regenerated.
3110 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3112 * gnu/java/nio/ChannelReader: Fixed comments.
3114 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3116 * java/nio/channels/Channels: Added FIXMEs about
3117 stub method implementation.
3118 (newReader): Implemented.
3119 * gnu/java/nio/ChannelReader: New class.
3121 2005-02-23 Michael Koch <konqueror@gmx.de>
3123 * java/text/SimpleDateFormat.java:
3124 Removed unused import.
3126 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3129 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3130 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3131 * Makefile.in: Regenerate.
3132 * configure.ac: Check for libXtst.
3133 * configure: Regenerate.
3135 2005-02-22 Mark Wielaard <address@bogus.example.com>
3137 * java/security/AlgorithmParameterGenerator.java (getInstance):
3138 Mention provider when throwing NoSuchProviderException.
3139 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3140 * java/security/KeyFactory.java (getInstance): Likewise.
3141 * java/security/KeyStore.java (getInstance): Likewise.
3142 * java/security/SecureRandom.java (getInstance): Likewise.
3143 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3145 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3147 * java/lang/reflect/Proxy.java,
3149 java/security/SecureRandom.java,
3150 java/util/Timer.java,
3151 java/util/prefs/AbstractPreferences.java:
3152 Don't catch java.lang.ThreadDeath.
3154 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3156 * java/awt/font/TransformAttribute.java,
3157 (TransformAttribute(AffineTransform)): throw
3158 IllegalArgumentException for null transform.
3159 (getTransform): return a copy of transform.
3160 Added doc comments to all.
3162 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3164 * java/io/Externalizable.java,
3165 java/io/Serializable.java
3166 (serialVersionUID): Removed.
3167 * java/rmi/server/RemoteObject.java,
3168 java/rmi/server/UID.java
3169 (serialVersionUID): Made private.
3170 * java/rmi/server/RemoteRef.java,
3171 java/rmi/server/ServerRef.java
3172 (serialVersionUID): Set proper value.
3173 * java/security/interfaces/DSAPrivateKey.java,
3174 java/security/interfaces/DSAPublicKey.java,
3175 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3176 java/security/interfaces/RSAPrivateCrtKey.java,
3177 java/security/interfaces/RSAPrivateKey.java,
3178 java/security/interfaces/RSAPublicKey.java,
3179 javax/crypto/SecretKey.java
3180 (serialVersionUID): Added.
3182 2005-02-22 Tom Tromey <tromey@redhat.com>
3184 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3186 2005-02-22 Tom Tromey <tromey@redhat.com>
3189 * verify.cc (type::EITHER): New constant.
3190 (check_field_constant): Use it.
3191 (type::compatible): Handle it.
3193 2005-02-22 Michael Koch <konqueror@gmx.de>
3195 * gnu/java/security/PolicyFile.java,
3196 gnu/java/security/pkcs/PKCS7SignedData.java,
3197 gnu/java/security/pkcs/SignerInfo.java:
3198 Fixed copyright header.
3200 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3202 * java/beans/PropertyDescriptor.java
3203 (PropertyDescriptor,setReadMethod): Set propertyType.
3205 2005-02-22 Michael Koch <konqueror@gmx.de>
3207 * java/nio/DirectByteBufferImpl.java
3208 (owner): Fixed formatting of javadoc.
3209 * java/text/DateFormat.java
3210 (getAvailableLocales): Fixed formatting.
3211 * java/text/SimpleDateFormat.java:
3212 Fixed formatting and import statement order.
3213 * java/util/Calendar.java
3214 (Calendar): Fixed javadoc to be HTML compliant.
3215 * java/util/SimpleTimeZone.java:
3218 2005-02-22 Roman Kennke <roman@ontographics.com>
3220 * javax/swing/plaf/basic/BasicLookAndFeel.java
3221 (initComponentDefaults): Fixed Button left and right margin.
3223 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3225 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3229 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3230 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3231 (getWidth): New method.
3232 (getHeight): Likewise.
3233 (create): Remove width, height and insets parameters. Move size
3235 (realize_cb): ... here. New function.
3236 (connectSignals): Connect realize_cb.
3237 (request_frame_extents): Remove FIXME. Move
3238 postInsetsChangedEvent lookup ...
3239 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3240 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3241 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3243 (windowGetWidthID): Likewise.
3244 (windowGetHeightID): Likewise.
3246 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3249 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3250 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3252 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3254 Merge serialization from GNU Classpath.
3255 * gcj/method.h: Add missing #includes.
3256 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3257 primitive class IDs on the stream here...
3258 (resolveClass): ...not here.
3259 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3261 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3262 setLongNative, setIntNative, setShortNative, setCharNative,
3263 setByteNative, setBooleanNative, setObjectNative): New native methods.
3264 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3265 setLongNative, setIntNative, setShortNative, setCharNative,
3266 setByteNative, setBooleanNative, setObjectNative): Implement them.
3267 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3268 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3269 the constructor here.
3270 (callConstructor): Removed.
3271 (getCallersClassLoader): Removed.
3272 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3273 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3274 to control whether setting final field values is permitted. Call
3275 getAddr() with checkFinal parameter instead of setAddr().
3276 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3277 only if not done already.
3278 (getAddr): Add checkFinal parameter. Do the final field check only if
3282 2005-02-21 Mark Wielaard <mark@klomp.org>
3285 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3288 2005-02-21 Mark Wielaard <mark@klomp.org>
3291 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3292 without a super class and us ObjectStreamClass.lookupForClassObject().
3293 (resolveClass): Check for primitive types.
3294 (lookupClass): Return null when argument is null.
3296 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3298 * java/io/ObjectInputStream.java
3299 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3301 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3303 * java/io/ObjectOutputStream.java
3304 (writeObject, callWriteMethod): Replaced reflection with accessing
3305 cached info in ObjectStreamClass.
3306 (getMethod): Removed.
3307 * java/io/ObjectStreamClass.java
3308 (findMethod): Added check to make sure the method found has the
3310 (cacheMethods): Added writeReplace and writeObject methods.
3311 (setFlags): Look at new writeObjectMethod field instead of doing
3313 (writeReplaceMethod): New field.
3314 (writeObjectMethod): New field.
3316 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3317 Jeroen Frijters <jeroen@frijters.net>
3319 * java/io/ObjectInputStream.java
3320 (newObject): Changed prototype. Get a constructor reflect object
3322 (callConstructor): Removed.
3323 (allocateObject): Changed prototype.
3324 (readClassDescriptor): Build the constructor reflection directly.
3325 (readObject): Invoke newObject using the new prototype.
3327 * java/io/ObjectStreamClass.java
3328 (firstNonSerializableParent): Removed.
3329 (firstNonSerializableParentConstructor): Added.
3331 2005-02-21 Mark Wielaard <mark@klomp.org>
3333 * gnu/java/locale/LocaleInformation_en.java: Extend
3334 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3336 2005-02-21 Mark Wielaard <mark@klomp.org>
3338 * java/text/SimpleDateFormat.java
3339 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3340 NullPointerException when formatData is null.
3342 2005-02-21 Mark Wielaard <mark@klomp.org>
3344 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3345 taking dstSavings into account.
3347 2005-02-21 Sven de Marothy <sven@physto.se>
3349 * java/text/SimpleDateFormat.java,
3350 (parse): Set correct DST_OFFSET to the correct value.
3352 2005-02-21 Mark Wielaard <mark@klomp.org>
3354 * java/util/SimpleTimeZone.java (checkRule): Throw
3355 IllegalArgumentException when month out of range.
3357 2005-02-21 Sven de Marothy <sven@physto.se>
3359 * java/util/GregorianCalendar.java,
3360 (add): Don't set fields directly anymore. Use set()
3362 2005-02-21 Mark Wielaard <mark@klomp.org>
3364 * java/text/SimpleDateFormat.java (CompiledField.toString):
3365 Use StringBuffer, not StringBuilder.
3366 (toString): Likewise.
3368 2005-02-21 Sven de Marothy <sven@physto.se>
3370 * java/util/Calendar.java
3371 (clear): Dates should clear to local time.
3372 * java/util/GregorianCalendar.java
3373 (computeTime): Fix priority problem with DAY_OF_WEEK,
3374 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3376 2005-02-21 Sven de Marothy <sven@physto.se>
3378 * java/util/Calendar.java
3379 (Calendar): Constructor should clear fields.
3381 2005-02-21 Sven de Marothy <sven@physto.se>
3383 * java/text/SimpleDateFormat.java
3384 (parse): Tweak handling of 2-year dates
3385 * java/util/Calendar.java
3386 (clear): Clear fields to correct value.
3387 * java/util/GregorianCalendar.java
3388 (computeTime): Correct handling of time zones.
3389 Correct field minimum values.
3391 2005-02-21 Sven de Marothy <sven@physto.se>
3393 * java/util/Calendar.java
3394 (set) Invalidate all fields on first call to set().
3396 2005-02-21 Sven de Marothy <sven@physto.se>
3398 * java/util/GregorianCalendar.java
3399 (computeTime): Fixed handling of time zones.
3401 2005-02-21 Sven de Marothy <sven@physto.se>
3403 * java/util/Calendar.java
3404 (clear): Set values to Epoch instead of zero.
3405 (set): Set isSet to the relevant field pattern instead of just
3407 * java/util/GregorianCalendar.java
3408 (getBundle): Removed.
3409 (getDayOfYear): Removed.
3410 (getFirstDayOfMonth): New private method.
3411 (nonLeniencyCheck): New private method.
3412 (computeTime): Correct handling of insufficient data.
3414 2005-02-21 Sven de Marothy <sven@physto.se>
3416 * java/util/Calendar.java: Invalidate ERA field on setting
3418 * java/util/SimpleTimeZone.java:
3419 (getDaysInMonth): Reimplemented.
3420 * java/util/GregorianCalendar.java:
3421 (getLinearTime): Removed.
3422 (isLeapYear(int,boolean)): Removed.
3423 (before(), after()): Removed.
3424 (computeTime): Reimplemented.
3426 2005-02-21 Sven de Marothy <sven@physto.se>
3428 * java/util/Calendar.java: Reformatted.
3429 * java/util/GregorianCalendar.java: Reformatted.
3430 * java/util/SimpleTimeZone.java: Reformatted.
3432 2005-02-21 Sven de Marothy <sven@physto.se>
3434 * java/util/GregorianCalendar.java
3435 (GregorianCalendar): Update fields in the constructor
3437 2005-02-21 Noa Resare <noa@resare.com>
3439 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3440 (set(int,int)): Set and use new field.
3441 (set(int,int,int)): Check new field.
3443 2005-02-21 Noa Resare <address@hidden>
3445 * java/util/Calendar.java(set):
3446 Fix for DST related regression.
3448 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3450 * java/util/Calendar.java
3451 (setTimeInMillis): Added call to clear, removed computeFields call.
3452 * java/util/Date.java
3453 (Date(int,int,int,int,int,int)): Removed workaround for
3454 GregorianCalendar bug.
3455 * java/util/GregorianCalendar.java
3456 (GregorianCalendar): Chained all constructors to a (new)
3458 (computeTime): Fixed support for lenient month treatment.
3459 (getLinearDay): Return long instead of int.
3460 (calculateDay): Added fields argument and changed day argument
3463 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3465 * java/text/SimpleDateFormat.java
3466 Lots of documentation updates.
3467 (readObject(java.io.ObjectInputStream)): Wraps
3468 IllegalArgumentException as specified.
3469 (compileFormat(String)): Uses standardChars
3470 rather than the local pattern characters.
3471 Throws IllegalArgumentException rather than
3473 (toString()): Extended to include all variables
3475 (translateLocalizedPattern(String, String, String)):
3476 Renamed to better define the use of this method.
3478 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3480 * java/text/DateFormat.java:
3481 Documented pattern character offset constants and
3483 (Field): Added new static fields for new pattern chars.
3484 * java/text/SimpleDateFormat.java:
3485 (CompiledField): Changed name of FieldSizePair class
3486 to CompiledField after adding the character as an
3487 attribute. Changed fields to private and added
3488 accessors to give encapsulation.
3489 (CompiledField.CompiledField(int,int,char)): Extended
3490 with character field.
3491 (CompiledField.getField()): New accessor method.
3492 (CompiledField.getSize()): New acceessor method.
3493 (CompiledField.getCharacter()): New accessor method.
3494 (CompiledField.toString()): Added primarily for debugging.
3495 (standardChars): Now uses extended 24 character sequence.
3496 (compileFormat(String)): Changed to use CompiledField.
3497 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3498 java.text.FieldPosition)): Changed to use CompiledField.
3499 New handler for RFC 822 timezones added.
3501 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3503 * java/text/SimpleDateFormat.java:
3504 (parse(String, java.text.ParsePosition)):
3505 Changed 'E' and 'M' cases to use both
3506 short and long names. Extended 'z'
3507 case to also handle 'Z', and deal
3508 with simple GMT offsets such as +0100.
3509 (computeOffset(String)): New private method,
3510 which converts a GMT offset specification,
3511 such as GMT-0500 to a numeric offset in
3513 * java/util/TimeZone.java:
3514 (timezones()): Added "CEST", the daylight
3515 savings time version of "CET", or Central
3518 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3520 * java/text/SimpleDateFormat.java:
3521 (parse): Set the DST offset to 0 when parsing
3522 GMT offset timezones.
3524 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3526 * java/text/SimpleDateFormat.java:
3527 (parse): Use offset to set ZONE_OFFSET
3528 rather than the DST_OFFSET, so that
3529 GMT offset timezones change the right
3532 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3534 * java/text/SimpleDateFormat.java:
3535 (getDateFormatSymbols()): return a copy
3536 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3537 throw exception on null input
3538 (clone()): implemented to clone
3541 2005-02-21 Sven de Marothy <sven@physto.se>
3543 * java/text/SimpleDateFormat.java
3544 (parse): comparison should be case-insensitive, ignore null
3547 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3549 * gnu/java/beans/IntrospectionIncubator.java
3550 (addMethod) Reverts the patch that ntroduced a regression (see bug
3551 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3553 2005-02-21 Michael Koch <konqueror@gmx.de>
3555 * java/awt/Checkbox.java
3556 (next_checkbox_number): New static variable.
3557 (generateName): New method.
3558 (getUniqueLong): Likewise.
3559 * java/awt/Window.java
3560 (next_window_number): New static variable.
3561 (generateName): New method.
3562 (getUniqueLong): Likewise.
3564 2005-02-21 Mark Wielaard <mark@klomp.org>
3566 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3569 2005-02-21 Andrew Haley <aph@redhat.com>
3571 * Makefile.in: Rebuilt.
3572 * Makefile.am (nat_source_files): Added natLogger.cc.
3573 * java/util/logging/natLogger.cc: New file.
3574 * java/util/logging/Logger.java (getCallerStackFrame): Now
3577 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3579 * Makefile.am (all_property_files): Remove left over.
3580 (classes.stamp): Add stamp for the ONESTEP build, also known as
3581 --enable-libgcj-multifile.
3582 * Makefile.in: Regenerated.
3584 2005-02-21 Michael Koch <konqueror@gmx.de>
3586 * java/awt/Button.java,
3587 java/awt/Container.java,
3589 java/awt/Frame.java,
3590 java/text/CollationElementIterator.java,
3591 java/text/RuleBasedCollator.java,
3592 java/util/PropertyPermission.java:
3593 Fixed formatting issues all over.
3595 2005-02-21 Mark Wielaard <mark@klomp.org>
3597 * java/io/FileDescriptor.java (sync): Add real exception to
3598 SyncFailedException.
3600 2005-02-21 Michael Koch <konqueror@gmx.de>
3602 * java/io/InputStreamReader.java:
3605 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3608 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3610 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3612 * libraries/javalib/gnu/regexp/RE.java,
3613 libraries/javalib/java/io/ObjectInputStream.java,
3614 libraries/javalib/java/security/AllPermission.java,
3615 libraries/javalib/java/security/BasicPermission.java,
3616 libraries/javalib/java/security/Permissions.java,
3617 libraries/javalib/java/text/MessageFormat.java:
3618 Made 'inner' classes real public static inner classes,
3619 and made them final where possible, or removed them
3622 2005-02-20 Michael Koch <konqueror@gmx.de>
3624 * gnu/java/text/FormatCharacterIterator.java:
3625 Removed redundant modifiers.
3627 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3629 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3632 2005-02-19 Michael Koch <konqueror@gmx.de>
3634 * Makefile.am: Added new files in gnu/java/beans and
3635 java/beans/XMLDecoder.java.
3636 * Makefile.in: Regenerated.
3638 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3640 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3641 assignment behavior by using java.lang.reflect.Array.set()
3644 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3646 * gnu/java/beans/EmptyBeanInfo.java,
3647 gnu/java/beans/info/ComponentBeanInfo.java:
3648 Removed unused files.
3650 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3652 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3653 of AppletStub for java.beans.Beans.instantiate.
3654 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3656 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3657 to be conformant with Javadoc guidelines.
3658 (instantiate): Added two more overloaded variants, reworked user
3659 documentation, fixed exception behavior, fixed behavior when
3662 2005-02-19 Mark Wielaard <mark@klomp.org>
3664 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3666 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3668 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3670 * gnu/java/beans/decoder/AbstractContext.java,
3671 gnu/java/beans/decoder/AbstractCreatableContext.java,
3672 gnu/java/beans/decoder/AbstractElementHandler.java,
3673 gnu/java/beans/decoder/AbstractObjectContext.java,
3674 gnu/java/beans/decoder/ArrayContext.java,
3675 gnu/java/beans/decoder/ArrayHandler.java,
3676 gnu/java/beans/decoder/AssemblyException.java,
3677 gnu/java/beans/decoder/BooleanHandler.java,
3678 gnu/java/beans/decoder/ByteHandler.java,
3679 gnu/java/beans/decoder/CharHandler.java,
3680 gnu/java/beans/decoder/ClassHandler.java,
3681 gnu/java/beans/decoder/ConstructorContext.java,
3682 gnu/java/beans/decoder/Context.java,
3683 gnu/java/beans/decoder/DecoderContext.java,
3684 gnu/java/beans/decoder/DefaultExceptionListener.java,
3685 gnu/java/beans/decoder/DoubleHandler.java,
3686 gnu/java/beans/decoder/DummyContext.java,
3687 gnu/java/beans/decoder/DummyHandler.java,
3688 gnu/java/beans/decoder/ElementHandler.java,
3689 gnu/java/beans/decoder/FloatHandler.java,
3690 gnu/java/beans/decoder/GrowableArrayContext.java,
3691 gnu/java/beans/decoder/IndexContext.java,
3692 gnu/java/beans/decoder/IntHandler.java,
3693 gnu/java/beans/decoder/JavaHandler.java,
3694 gnu/java/beans/decoder/LongHandler.java,
3695 gnu/java/beans/decoder/MethodContext.java,
3696 gnu/java/beans/decoder/MethodFinder.java,
3697 gnu/java/beans/decoder/NullHandler.java,
3698 gnu/java/beans/decoder/ObjectContext.java,
3699 gnu/java/beans/decoder/ObjectHandler.java,
3700 gnu/java/beans/decoder/PersistenceParser.java,
3701 gnu/java/beans/decoder/PropertyContext.java,
3702 gnu/java/beans/decoder/ShortHandler.java,
3703 gnu/java/beans/decoder/SimpleHandler.java,
3704 gnu/java/beans/decoder/StaticMethodContext.java,
3705 gnu/java/beans/decoder/StringHandler.java,
3706 gnu/java/beans/decoder/VoidHandler.java: New class
3707 implementing java.beans.XMLDecoder decoding functionality.
3708 * java/beans/XMLDecoder.java: New class.
3710 2005-02-19 Michael Koch <konqueror@gmx.de>
3712 * javax/swing/JTextField.java
3713 (notfiyAction): Added javadoc.
3715 2005-02-19 Sven de Marothy <sven@physto.se>
3717 * javax/swing/SpinnerDateModel.java: Implemented.
3719 2005-02-19 Michael Koch <konqueror@gmx.de>
3721 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3722 * Makefile.in: Regenerated.
3724 2005-02-19 Michael Koch <konqueror@gmx.de>
3726 * gnu/java/nio/SelectorImpl.java:
3727 Reworked import statements.
3728 (register): Removed unused code.
3729 * java/nio/channels/Channels.java: Reformatted.
3730 * java/nio/charset/Charset.java: Likewise.
3731 * java/rmi/server/RemoteObject.java
3732 (serialVersionUID): Made private.
3733 * java/rmi/server/UID.java
3734 (serialVersionUID): Likewise.
3736 2005-02-19 Michael Koch <konqueror@gmx.de>
3738 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3739 gnu/java/net/protocol/ftp/BlockInputStream.java,
3740 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3741 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3742 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3743 gnu/java/net/protocol/ftp/DTPInputStream.java,
3744 gnu/java/net/protocol/ftp/DTP.java,
3745 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3746 gnu/java/net/protocol/ftp/FTPConnection.java,
3747 gnu/java/net/protocol/ftp/FTPException.java,
3748 gnu/java/net/protocol/ftp/FTPResponse.java,
3749 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3750 gnu/java/net/protocol/ftp/Handler.java,
3751 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3752 gnu/java/net/protocol/ftp/StreamInputStream.java,
3753 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3754 gnu/java/net/CRLFInputStream.java,
3755 gnu/java/net/CRLFOutputStream.java,
3756 gnu/java/net/GetLocalHostAction.java,
3757 gnu/java/net/protocol/ftp/package.html: New files.
3758 * Makefile.am: Added new files.
3759 * Makefile.in: Regenerated.
3761 2005-02-18 Tom Tromey <tromey@redhat.com>
3763 * link.cc (make_vtable): Remove abstract method check.
3764 (append_partial_itable): Likewise.
3767 * verify.cc (type::equals): Fixed test.
3768 * testsuite/libjava.lang/PR20056.out: New file.
3769 * testsuite/libjava.lang/PR20056.java: New file.
3771 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3773 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3774 not the HashEntry. Reported by Jean-Marie White.
3776 2005-02-18 Tom Tromey <tromey@redhat.com>
3779 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3780 * link.cc (has_field_p): New function.
3781 * verify.cc (check_field_constant): Added 'putfield' argument.
3782 (verify_instructions_0): Updated.
3783 (type::equals): New method.
3785 2005-02-18 Anthony Green <green@redhat.com>
3787 * NEWS: Draft of libgcj NEWS for 4.0.
3789 2005-02-18 Anthony Green <green@redhat.com>
3791 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3792 architecture names to "i386" for compatibility reasons. Win32
3795 2005-02-18 Anthony Green <green@redhat.com>
3797 * gij.cc (version): Change year for '--version' to 2005.
3798 * gnu/gcj/convert/Convert.java: Ditto.
3799 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3800 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3802 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3803 recent copyright year in `--version' output.
3805 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3807 * java/nio/charset/Charset.java (forName): Throws
3808 IllegalArgumentException when argument is null
3809 and added documentation.
3811 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3813 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3814 Move the position of the source buffer forward.
3816 2005-02-17 Tom Tromey <tromey@redhat.com>
3818 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3819 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3820 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3821 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3822 Changed type of second argument. Rewrote.
3823 (make_vtable): Use it.
3824 (append_partial_itable): Updated.
3825 (layout_vtable_methods): Updated.
3827 2005-02-17 Michael Koch <konqueror@gmx.de>
3829 * gnu/java/net/PlainSocketImpl.java
3830 (shutdownInput): Added javadoc.
3831 (shutdownOutput): Likewise.
3833 2005-02-17 Michael Koch <konqueror@gmx.de>
3835 * javax/print/attribute/standard/Chromaticity.java,
3836 javax/print/attribute/standard/Destination.java,
3837 javax/print/attribute/standard/MediaPrintableArea.java,
3838 javax/print/attribute/standard/MediaSize.java: New files.
3839 * Makefile.am: Added new files.
3840 * Makefile.in: Regenerated.
3842 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3843 Michael Koch <konqueror@gmx.de>
3845 * gnu/java/net/protocol/http/Cookie.java,
3846 gnu/java/net/protocol/http/HTTPConnection.java,
3847 gnu/java/net/protocol/http/HTTPDateFormat.java,
3848 gnu/java/net/protocol/http/Request.java,
3849 gnu/java/nio/PipeImpl.java,
3850 gnu/java/rmi/dgc/DGCImpl.java,
3851 gnu/java/rmi/server/ConnectionRunnerPool.java,
3852 gnu/java/rmi/server/UnicastConnectionManager.java,
3853 gnu/java/security/der/DERWriter.java,
3854 gnu/java/security/pkcs/SignerInfo.java,
3855 gnu/java/security/provider/EncodedKeyFactory.java,
3856 gnu/java/security/provider/GnuDHPublicKey.java,
3857 gnu/java/security/provider/GnuDSAPrivateKey.java,
3858 gnu/java/security/provider/GnuDSAPublicKey.java,
3859 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3860 gnu/java/security/x509/X500DistinguishedName.java,
3861 gnu/java/security/x509/X509CRL.java,
3862 gnu/java/security/x509/X509CRLEntry.java,
3863 gnu/java/security/x509/X509Certificate.java,
3864 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3865 gnu/java/security/x509/ext/CertificatePolicies.java,
3866 gnu/java/security/x509/ext/PolicyConstraint.java,
3867 gnu/xml/dom/Consumer.java,
3868 gnu/xml/dom/DomCharacterData.java,
3869 gnu/xml/dom/DomDocument.java,
3870 gnu/xml/dom/DomDocumentBuilder.java,
3871 gnu/xml/dom/DomIterator.java,
3872 gnu/xml/dom/DomNode.java,
3873 gnu/xml/dom/DomXPathExpression.java,
3874 gnu/xml/dom/DomXPathResult.java,
3875 gnu/xml/dom/JAXPFactory.java,
3876 gnu/xml/pipeline/CallFilter.java,
3877 gnu/xml/pipeline/DomConsumer.java,
3878 gnu/xml/pipeline/LinkFilter.java,
3879 gnu/xml/pipeline/NSFilter.java,
3880 gnu/xml/pipeline/TeeConsumer.java,
3881 gnu/xml/pipeline/ValidationConsumer.java,
3882 gnu/xml/pipeline/WellFormednessFilter.java,
3883 gnu/xml/pipeline/XIncludeFilter.java,
3884 gnu/xml/pipeline/XsltFilter.java,
3885 gnu/xml/transform/ApplyImportsNode.java,
3886 gnu/xml/transform/Bindings.java,
3887 gnu/xml/transform/DocumentFunction.java,
3888 gnu/xml/transform/FormatNumberFunction.java,
3889 gnu/xml/transform/NodeNumberNode.java,
3890 gnu/xml/transform/NumberNode.java,
3891 gnu/xml/transform/Stylesheet.java,
3892 gnu/xml/transform/SystemPropertyFunction.java,
3893 gnu/xml/transform/Template.java,
3894 gnu/xml/transform/TemplatesImpl.java,
3895 gnu/xml/transform/TransformerImpl.java,
3896 gnu/xml/transform/ValueOfNode.java,
3897 gnu/xml/transform/XSLURIResolver.java,
3898 gnu/xml/util/DoParse.java,
3899 gnu/xml/util/Resolver.java,
3900 gnu/xml/xpath/Expr.java,
3901 gnu/xml/xpath/FunctionCall.java,
3902 gnu/xml/xpath/RelationalExpr.java,
3903 gnu/xml/xpath/Selector.java,
3904 gnu/xml/xpath/XPathParser.java:
3905 Reworked import statements, fixed modifier order and some little
3908 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3910 * java/nio/ByteBufferImpl.java (compact):
3911 Set position and limit even if no bytes were moved.
3913 2005-02-17 Michael Koch <konqueror@gmx.de>
3915 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3916 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3917 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3918 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3919 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3920 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3921 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3922 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3923 * java/nio/FloatBufferImpl.java (compact): Set position.
3924 * java/nio/CharBufferImpl.java (compact): Likewise.
3925 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3926 * java/nio/IntBufferImpl.java (compact): Likewise.
3927 * java/nio/LongBufferImpl.java (compact): Likewise.
3928 * java/nio/ShortBufferImpl.java (compact): Likewise.
3930 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3932 * java/nio/ByteBufferImpl.java,
3933 java/nio/CharBufferImpl.java,
3934 java/nio/DirectByteBufferImpl.java,
3935 java/nio/DoubleBufferImpl.java,
3936 java/nio/FloatBufferImpl.java,
3937 java/nio/IntBufferImpl.java,
3938 java/nio/LongBufferImpl.java,
3939 java/nio/MappedByteBufferImpl.java,
3940 java/nio/ShortBufferImpl.java
3941 (compact): Added explicit read-only check and invalidate mark.
3943 2005-02-17 Michael Koch <konqueror@gmx.de>
3945 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3946 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3947 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3948 gnu/java/awt/peer/gtk/GdkGraphics.java,
3949 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3950 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3951 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3952 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3953 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3954 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3955 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3956 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3957 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3958 gnu/java/awt/peer/gtk/GtkClipboard.java,
3959 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3960 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3961 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3962 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3963 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3964 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3965 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3966 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3967 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3968 gnu/java/awt/peer/gtk/GtkToolkit.java,
3969 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3970 java/applet/Applet.java,
3971 java/awt/AWTError.java,
3972 java/awt/AWTEvent.java,
3973 java/awt/AWTEventMulticaster.java,
3974 java/awt/AWTException.java,
3975 java/awt/AWTKeyStroke.java,
3976 java/awt/AWTPermission.java,
3977 java/awt/ActiveEvent.java,
3978 java/awt/Adjustable.java,
3979 java/awt/AlphaComposite.java,
3980 java/awt/AttributeValue.java,
3981 java/awt/BorderLayout.java,
3982 java/awt/BufferCapabilities.java,
3983 java/awt/Button.java,
3984 java/awt/Canvas.java,
3985 java/awt/CheckboxGroup.java,
3986 java/awt/CheckboxMenuItem.java,
3987 java/awt/Color.java,
3988 java/awt/ColorPaintContext.java,
3989 java/awt/Component.java,
3990 java/awt/ComponentOrientation.java,
3991 java/awt/Composite.java,
3992 java/awt/CompositeContext.java,
3993 java/awt/Container.java,
3994 java/awt/ContainerOrderFocusTraversalPolicy.java,
3995 java/awt/DefaultFocusTraversalPolicy.java,
3996 java/awt/Dialog.java,
3997 java/awt/Dimension.java,
3998 java/awt/DisplayMode.java,
3999 java/awt/EventQueue.java,
4000 java/awt/FileDialog.java,
4001 java/awt/FontFormatException.java,
4002 java/awt/Graphics.java,
4003 java/awt/Graphics2D.java,
4004 java/awt/GraphicsConfigTemplate.java,
4005 java/awt/GraphicsConfiguration.java,
4006 java/awt/GraphicsDevice.java,
4007 java/awt/GridBagLayout.java,
4008 java/awt/GridBagLayoutInfo.java,
4009 java/awt/GridLayout.java,
4010 java/awt/HeadlessException.java,
4011 java/awt/IllegalComponentStateException.java,
4012 java/awt/Image.java,
4013 java/awt/Insets.java,
4014 java/awt/ItemSelectable.java,
4015 java/awt/JobAttributes.java,
4016 java/awt/KeyEventDispatcher.java,
4017 java/awt/KeyEventPostProcessor.java,
4018 java/awt/KeyboardFocusManager.java,
4019 java/awt/Label.java,
4020 java/awt/LayoutManager.java,
4021 java/awt/MenuBar.java,
4022 java/awt/MenuComponent.java,
4023 java/awt/MenuContainer.java,
4024 java/awt/PageAttributes.java,
4025 java/awt/Paint.java,
4026 java/awt/PaintContext.java,
4027 java/awt/Panel.java,
4028 java/awt/Point.java,
4029 java/awt/Polygon.java,
4030 java/awt/PrintGraphics.java,
4031 java/awt/PrintJob.java,
4032 java/awt/Rectangle.java,
4033 java/awt/RenderingHints.java,
4034 java/awt/Shape.java,
4035 java/awt/Stroke.java,
4036 java/awt/SystemColor.java,
4037 java/awt/Toolkit.java,
4038 java/awt/Transparency.java,
4039 java/awt/Window.java,
4040 java/awt/color/CMMException.java,
4041 java/awt/color/ColorSpace.java,
4042 java/awt/color/ICC_ColorSpace.java,
4043 java/awt/color/ICC_Profile.java,
4044 java/awt/color/ProfileDataException.java,
4045 java/awt/datatransfer/FlavorTable.java,
4046 java/awt/datatransfer/MimeTypeParseException.java,
4047 java/awt/datatransfer/Transferable.java,
4048 java/awt/datatransfer/UnsupportedFlavorException.java,
4049 java/awt/dnd/Autoscroll.java,
4050 java/awt/dnd/DnDConstants.java,
4051 java/awt/dnd/DragGestureListener.java,
4052 java/awt/dnd/DragSourceAdapter.java,
4053 java/awt/dnd/DragSourceDropEvent.java,
4054 java/awt/dnd/DragSourceListener.java,
4055 java/awt/dnd/DragSourceMotionListener.java,
4056 java/awt/dnd/DropTargetAdapter.java,
4057 java/awt/dnd/DropTargetContext.java,
4058 java/awt/dnd/DropTargetListener.java,
4059 java/awt/dnd/InvalidDnDOperationException.java,
4060 java/awt/dnd/MouseDragGestureRecognizer.java,
4061 java/awt/dnd/peer/DropTargetContextPeer.java,
4062 java/awt/event/AWTEventListener.java,
4063 java/awt/event/AWTEventListenerProxy.java,
4064 java/awt/event/ActionEvent.java,
4065 java/awt/event/AdjustmentEvent.java,
4066 java/awt/event/AdjustmentListener.java,
4067 java/awt/event/ComponentAdapter.java,
4068 java/awt/event/ComponentEvent.java,
4069 java/awt/event/ComponentListener.java,
4070 java/awt/event/ContainerAdapter.java,
4071 java/awt/event/ContainerEvent.java,
4072 java/awt/event/ContainerListener.java,
4073 java/awt/event/FocusAdapter.java,
4074 java/awt/event/FocusEvent.java,
4075 java/awt/event/FocusListener.java,
4076 java/awt/event/InputEvent.java,
4077 java/awt/event/InputMethodEvent.java,
4078 java/awt/event/InputMethodListener.java,
4079 java/awt/event/InvocationEvent.java,
4080 java/awt/event/ItemEvent.java,
4081 java/awt/event/ItemListener.java,
4082 java/awt/event/KeyAdapter.java,
4083 java/awt/event/KeyEvent.java,
4084 java/awt/event/KeyListener.java,
4085 java/awt/event/MouseAdapter.java,
4086 java/awt/event/MouseEvent.java,
4087 java/awt/event/MouseListener.java,
4088 java/awt/event/MouseMotionAdapter.java,
4089 java/awt/event/MouseMotionListener.java,
4090 java/awt/event/MouseWheelEvent.java,
4091 java/awt/event/MouseWheelListener.java,
4092 java/awt/event/PaintEvent.java,
4093 java/awt/event/TextEvent.java,
4094 java/awt/event/TextListener.java,
4095 java/awt/event/WindowAdapter.java,
4096 java/awt/event/WindowEvent.java,
4097 java/awt/event/WindowFocusListener.java,
4098 java/awt/event/WindowListener.java,
4099 java/awt/event/WindowStateListener.java,
4100 java/awt/font/TextHitInfo.java,
4101 java/awt/geom/CubicCurve2D.java,
4102 java/awt/geom/Dimension2D.java,
4103 java/awt/geom/Ellipse2D.java,
4104 java/awt/geom/IllegalPathStateException.java,
4105 java/awt/geom/Line2D.java,
4106 java/awt/geom/NoninvertibleTransformException.java,
4107 java/awt/geom/PathIterator.java,
4108 java/awt/geom/Point2D.java,
4109 java/awt/geom/QuadCurve2D.java,
4110 java/awt/geom/RectangularShape.java,
4111 java/awt/geom/RoundRectangle2D.java,
4112 java/awt/im/InputContext.java,
4113 java/awt/im/InputMethodHighlight.java,
4114 java/awt/im/InputMethodRequests.java,
4115 java/awt/im/InputSubset.java,
4116 java/awt/im/spi/InputMethod.java,
4117 java/awt/im/spi/InputMethodDescriptor.java,
4118 java/awt/image/BandCombineOp.java,
4119 java/awt/image/BandedSampleModel.java,
4120 java/awt/image/ByteLookupTable.java,
4121 java/awt/image/ComponentSampleModel.java,
4122 java/awt/image/DataBuffer.java,
4123 java/awt/image/DataBufferByte.java,
4124 java/awt/image/DataBufferDouble.java,
4125 java/awt/image/DataBufferFloat.java,
4126 java/awt/image/DataBufferInt.java,
4127 java/awt/image/DataBufferShort.java,
4128 java/awt/image/DataBufferUShort.java,
4129 java/awt/image/ImagingOpException.java,
4130 java/awt/image/Kernel.java,
4131 java/awt/image/LookupTable.java,
4132 java/awt/image/MultiPixelPackedSampleModel.java,
4133 java/awt/image/PackedColorModel.java,
4134 java/awt/image/PixelInterleavedSampleModel.java,
4135 java/awt/image/RGBImageFilter.java,
4136 java/awt/image/Raster.java,
4137 java/awt/image/RasterFormatException.java,
4138 java/awt/image/SampleModel.java,
4139 java/awt/image/ShortLookupTable.java,
4140 java/awt/image/SinglePixelPackedSampleModel.java,
4141 java/awt/image/WritableRaster.java,
4142 java/awt/print/PrinterAbortException.java,
4143 java/awt/print/PrinterException.java,
4144 java/awt/print/PrinterIOException.java,
4145 java/beans/AppletInitializer.java,
4146 java/beans/ExceptionListener.java,
4147 java/beans/PropertyChangeEvent.java,
4148 java/beans/PropertyChangeListenerProxy.java,
4149 java/beans/PropertyChangeSupport.java,
4150 java/beans/PropertyDescriptor.java,
4151 java/beans/VetoableChangeListenerProxy.java,
4152 java/beans/VetoableChangeSupport.java,
4153 java/io/BufferedReader.java,
4154 java/io/ByteArrayInputStream.java,
4155 java/io/ByteArrayOutputStream.java,
4156 java/io/CharArrayReader.java,
4157 java/io/CharArrayWriter.java,
4158 java/io/CharConversionException.java,
4159 java/io/DataInput.java,
4160 java/io/DataInputStream.java,
4161 java/io/DataOutput.java,
4162 java/io/DataOutputStream.java,
4163 java/io/EOFException.java,
4164 java/io/FileInputStream.java,
4165 java/io/FileNotFoundException.java,
4166 java/io/FileOutputStream.java,
4167 java/io/FilenameFilter.java,
4168 java/io/FilterInputStream.java,
4169 java/io/FilterOutputStream.java,
4170 java/io/FilterReader.java,
4171 java/io/FilterWriter.java,
4172 java/io/IOException.java,
4173 java/io/InputStream.java,
4174 java/io/InterruptedIOException.java,
4175 java/io/LineNumberInputStream.java,
4176 java/io/LineNumberReader.java,
4177 java/io/ObjectInputStream.java,
4178 java/io/ObjectStreamException.java,
4179 java/io/OptionalDataException.java,
4180 java/io/OutputStream.java,
4181 java/io/OutputStreamWriter.java,
4182 java/io/PrintStream.java,
4183 java/io/PrintWriter.java,
4184 java/io/PushbackInputStream.java,
4185 java/io/PushbackReader.java,
4186 java/io/RandomAccessFile.java,
4187 java/io/Reader.java,
4188 java/io/SequenceInputStream.java,
4189 java/io/Serializable.java,
4190 java/io/StreamCorruptedException.java,
4191 java/io/StreamTokenizer.java,
4192 java/io/StringBufferInputStream.java,
4193 java/io/StringWriter.java,
4194 java/io/SyncFailedException.java,
4195 java/io/UTFDataFormatException.java,
4196 java/io/UnsupportedEncodingException.java,
4197 java/io/WriteAbortedException.java,
4198 java/io/Writer.java,
4199 java/lang/AbstractMethodError.java,
4200 java/lang/ArithmeticException.java,
4201 java/lang/ArrayIndexOutOfBoundsException.java,
4202 java/lang/ArrayStoreException.java,
4203 java/lang/AssertionError.java,
4204 java/lang/Boolean.java,
4205 java/lang/Byte.java,
4206 java/lang/Class.java,
4207 java/lang/ClassCastException.java,
4208 java/lang/ClassCircularityError.java,
4209 java/lang/ClassLoader.java,
4210 java/lang/ClassNotFoundException.java,
4211 java/lang/CloneNotSupportedException.java,
4212 java/lang/Cloneable.java,
4213 java/lang/Comparable.java,
4214 java/lang/Compiler.java,
4215 java/lang/Double.java,
4216 java/lang/Error.java,
4217 java/lang/Exception.java,
4218 java/lang/ExceptionInInitializerError.java,
4219 java/lang/Float.java,
4220 java/lang/IllegalAccessError.java,
4221 java/lang/IllegalAccessException.java,
4222 java/lang/IllegalArgumentException.java,
4223 java/lang/IllegalMonitorStateException.java,
4224 java/lang/IllegalStateException.java,
4225 java/lang/IllegalThreadStateException.java,
4226 java/lang/IncompatibleClassChangeError.java,
4227 java/lang/IndexOutOfBoundsException.java,
4228 java/lang/InheritableThreadLocal.java,
4229 java/lang/InstantiationError.java,
4230 java/lang/InstantiationException.java,
4231 java/lang/Integer.java,
4232 java/lang/InternalError.java,
4233 java/lang/InterruptedException.java,
4234 java/lang/LinkageError.java,
4235 java/lang/Long.java,
4236 java/lang/NegativeArraySizeException.java,
4237 java/lang/NoClassDefFoundError.java,
4238 java/lang/NoSuchFieldError.java,
4239 java/lang/NoSuchFieldException.java,
4240 java/lang/NoSuchMethodError.java,
4241 java/lang/NoSuchMethodException.java,
4242 java/lang/NullPointerException.java,
4243 java/lang/Number.java,
4244 java/lang/NumberFormatException.java,
4245 java/lang/OutOfMemoryError.java,
4246 java/lang/Process.java,
4247 java/lang/Runnable.java,
4248 java/lang/Runtime.java,
4249 java/lang/RuntimeException.java,
4250 java/lang/RuntimePermission.java,
4251 java/lang/SecurityException.java,
4252 java/lang/SecurityManager.java,
4253 java/lang/Short.java,
4254 java/lang/StackOverflowError.java,
4255 java/lang/StackTraceElement.java,
4256 java/lang/StringBuffer.java,
4257 java/lang/StringIndexOutOfBoundsException.java,
4258 java/lang/ThreadDeath.java,
4259 java/lang/ThreadGroup.java,
4260 java/lang/Throwable.java,
4261 java/lang/UnsatisfiedLinkError.java,
4262 java/lang/UnsupportedOperationException.java,
4263 java/lang/VerifyError.java,
4264 java/lang/VirtualMachineError.java,
4265 java/lang/reflect/AccessibleObject.java,
4266 java/lang/reflect/Array.java,
4267 java/lang/reflect/InvocationTargetException.java,
4268 java/lang/reflect/Member.java,
4269 java/lang/reflect/Modifier.java,
4270 java/lang/reflect/Proxy.java,
4271 java/lang/reflect/ReflectPermission.java,
4272 java/lang/reflect/UndeclaredThrowableException.java,
4273 java/math/BigInteger.java,
4274 java/net/NetworkInterface.java,
4275 java/nio/ByteBufferHelper.java,
4276 java/nio/ByteBufferImpl.java,
4277 java/nio/DirectByteBufferImpl.java,
4278 java/nio/DoubleBufferImpl.java,
4279 java/nio/FloatBufferImpl.java,
4280 java/nio/IntBufferImpl.java,
4281 java/nio/LongBufferImpl.java,
4282 java/nio/ShortBufferImpl.java,
4283 java/nio/channels/Channel.java,
4284 java/nio/channels/IllegalBlockingModeException.java,
4285 java/nio/charset/spi/CharsetProvider.java,
4286 java/security/AccessControlException.java,
4287 java/security/BasicPermission.java,
4288 java/security/DigestException.java,
4289 java/security/DigestInputStream.java,
4290 java/security/DigestOutputStream.java,
4291 java/security/GeneralSecurityException.java,
4292 java/security/Guard.java,
4293 java/security/GuardedObject.java,
4294 java/security/InvalidAlgorithmParameterException.java,
4295 java/security/InvalidKeyException.java,
4296 java/security/InvalidParameterException.java,
4297 java/security/Key.java,
4298 java/security/KeyException.java,
4299 java/security/KeyManagementException.java,
4300 java/security/KeyStoreException.java,
4301 java/security/MessageDigestSpi.java,
4302 java/security/NoSuchAlgorithmException.java,
4303 java/security/NoSuchProviderException.java,
4304 java/security/Permission.java,
4305 java/security/PermissionCollection.java,
4306 java/security/Permissions.java,
4307 java/security/Principal.java,
4308 java/security/PrivateKey.java,
4309 java/security/PrivilegedActionException.java,
4310 java/security/ProviderException.java,
4311 java/security/PublicKey.java,
4312 java/security/SecureRandom.java,
4313 java/security/SecureRandomSpi.java,
4314 java/security/SignatureException.java,
4315 java/security/SignatureSpi.java,
4316 java/security/SignedObject.java,
4317 java/security/Signer.java,
4318 java/security/UnrecoverableKeyException.java,
4319 java/security/UnresolvedPermission.java,
4320 java/security/acl/AclNotFoundException.java,
4321 java/security/acl/LastOwnerException.java,
4322 java/security/acl/NotOwnerException.java,
4323 java/security/cert/CertPath.java,
4324 java/security/cert/CertPathBuilderException.java,
4325 java/security/cert/CertPathValidatorException.java,
4326 java/security/cert/CertStoreException.java,
4327 java/text/BreakIterator.java,
4328 java/text/ChoiceFormat.java,
4329 java/text/CollationElementIterator.java,
4330 java/text/CollationKey.java,
4331 java/text/Collator.java,
4332 java/text/DateFormat.java,
4333 java/text/DateFormatSymbols.java,
4334 java/text/DecimalFormat.java,
4335 java/text/DecimalFormatSymbols.java,
4336 java/text/FieldPosition.java,
4337 java/text/Format.java,
4338 java/text/NumberFormat.java,
4339 java/text/ParseException.java,
4340 java/text/ParsePosition.java,
4341 java/text/StringCharacterIterator.java,
4342 java/util/AbstractCollection.java,
4343 java/util/AbstractList.java,
4344 java/util/AbstractMap.java,
4345 java/util/AbstractSequentialList.java,
4346 java/util/AbstractSet.java,
4347 java/util/ArrayList.java,
4348 java/util/Arrays.java,
4349 java/util/BitSet.java,
4350 java/util/Collection.java,
4351 java/util/Collections.java,
4352 java/util/Comparator.java,
4353 java/util/ConcurrentModificationException.java,
4354 java/util/Currency.java,
4355 java/util/Date.java,
4356 java/util/EmptyStackException.java,
4357 java/util/Enumeration.java,
4358 java/util/EventListener.java,
4359 java/util/EventListenerProxy.java,
4360 java/util/EventObject.java,
4361 java/util/HashMap.java,
4362 java/util/HashSet.java,
4363 java/util/Hashtable.java,
4364 java/util/IdentityHashMap.java,
4365 java/util/Iterator.java,
4366 java/util/LinkedHashSet.java,
4367 java/util/LinkedList.java,
4368 java/util/List.java,
4369 java/util/ListIterator.java,
4370 java/util/ListResourceBundle.java,
4372 java/util/MissingResourceException.java,
4373 java/util/NoSuchElementException.java,
4374 java/util/Observable.java,
4375 java/util/Observer.java,
4376 java/util/Properties.java,
4377 java/util/PropertyPermissionCollection.java,
4378 java/util/RandomAccess.java,
4380 java/util/SortedMap.java,
4381 java/util/SortedSet.java,
4382 java/util/Stack.java,
4383 java/util/StringTokenizer.java,
4384 java/util/TooManyListenersException.java,
4385 java/util/TreeMap.java,
4386 java/util/TreeSet.java,
4387 java/util/Vector.java,
4388 java/util/logging/FileHandler.java,
4389 java/util/logging/Level.java,
4390 java/util/prefs/BackingStoreException.java,
4391 java/util/prefs/InvalidPreferencesFormatException.java,
4392 java/util/prefs/Preferences.java,
4393 javax/accessibility/Accessible.java,
4394 javax/accessibility/AccessibleAction.java,
4395 javax/accessibility/AccessibleBundle.java,
4396 javax/accessibility/AccessibleComponent.java,
4397 javax/accessibility/AccessibleContext.java,
4398 javax/accessibility/AccessibleEditableText.java,
4399 javax/accessibility/AccessibleExtendedComponent.java,
4400 javax/accessibility/AccessibleExtendedTable.java,
4401 javax/accessibility/AccessibleHyperlink.java,
4402 javax/accessibility/AccessibleHypertext.java,
4403 javax/accessibility/AccessibleIcon.java,
4404 javax/accessibility/AccessibleKeyBinding.java,
4405 javax/accessibility/AccessibleRelation.java,
4406 javax/accessibility/AccessibleRelationSet.java,
4407 javax/accessibility/AccessibleResourceBundle.java,
4408 javax/accessibility/AccessibleRole.java,
4409 javax/accessibility/AccessibleSelection.java,
4410 javax/accessibility/AccessibleState.java,
4411 javax/accessibility/AccessibleStateSet.java,
4412 javax/accessibility/AccessibleTable.java,
4413 javax/accessibility/AccessibleTableModelChange.java,
4414 javax/accessibility/AccessibleText.java,
4415 javax/accessibility/AccessibleValue.java,
4416 javax/imageio/IIOException.java,
4417 javax/imageio/ImageIO.java,
4418 javax/imageio/spi/IIOServiceProvider.java,
4419 javax/imageio/spi/ImageInputStreamSpi.java,
4420 javax/imageio/spi/ImageOutputStreamSpi.java,
4421 javax/imageio/spi/ImageReaderWriterSpi.java,
4422 javax/imageio/spi/ImageTranscoderSpi.java,
4423 javax/imageio/spi/RegisterableService.java,
4424 javax/imageio/spi/ServiceRegistry.java,
4425 javax/imageio/stream/IIOByteBuffer.java,
4426 javax/imageio/stream/ImageInputStream.java,
4427 javax/imageio/stream/ImageOutputStream.java,
4428 javax/naming/Binding.java,
4429 javax/naming/CannotProceedException.java,
4430 javax/naming/CompositeName.java,
4431 javax/naming/CompoundName.java,
4432 javax/naming/LinkException.java,
4433 javax/naming/LinkRef.java,
4434 javax/naming/NameClassPair.java,
4435 javax/naming/Reference.java,
4436 javax/naming/ReferralException.java,
4437 javax/naming/directory/Attribute.java,
4438 javax/naming/directory/AttributeModificationException.java,
4439 javax/naming/directory/Attributes.java,
4440 javax/naming/directory/DirContext.java,
4441 javax/naming/directory/ModificationItem.java,
4442 javax/naming/directory/SearchControls.java,
4443 javax/naming/directory/SearchResult.java,
4444 javax/naming/event/EventContext.java,
4445 javax/naming/event/EventDirContext.java,
4446 javax/naming/event/NamespaceChangeListener.java,
4447 javax/naming/event/NamingExceptionEvent.java,
4448 javax/naming/event/NamingListener.java,
4449 javax/naming/event/ObjectChangeListener.java,
4450 javax/naming/ldap/Control.java,
4451 javax/naming/ldap/ExtendedResponse.java,
4452 javax/naming/ldap/HasControls.java,
4453 javax/naming/ldap/LdapContext.java,
4454 javax/naming/ldap/UnsolicitedNotification.java,
4455 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4456 javax/naming/ldap/UnsolicitedNotificationListener.java,
4457 javax/naming/spi/DirectoryManager.java,
4458 javax/naming/spi/ResolveResult.java,
4459 javax/naming/spi/Resolver.java,
4460 javax/security/auth/callback/Callback.java,
4461 javax/security/auth/callback/CallbackHandler.java,
4462 javax/security/auth/callback/ChoiceCallback.java,
4463 javax/security/auth/callback/ConfirmationCallback.java,
4464 javax/security/auth/callback/LanguageCallback.java,
4465 javax/security/auth/callback/NameCallback.java,
4466 javax/security/auth/callback/PasswordCallback.java,
4467 javax/security/auth/callback/TextInputCallback.java,
4468 javax/security/auth/callback/TextOutputCallback.java,
4469 javax/security/auth/callback/UnsupportedCallbackException.java,
4470 javax/security/sasl/Sasl.java,
4471 javax/security/sasl/SaslServerFactory.java,
4472 javax/swing/DefaultBoundedRangeModel.java,
4473 javax/swing/JComponent.java,
4474 javax/swing/JList.java,
4475 javax/swing/JProgressBar.java,
4476 javax/swing/JRadioButton.java,
4477 javax/swing/JTextArea.java,
4478 javax/swing/JTextField.java,
4479 javax/swing/JToggleButton.java,
4480 javax/swing/JTree.java,
4481 javax/swing/SpinnerListModel.java,
4482 javax/swing/event/EventListenerList.java,
4483 javax/swing/text/JTextComponent.java,
4484 javax/swing/text/StringContent.java,
4485 javax/swing/text/Utilities.java,
4486 javax/swing/undo/UndoManager.java,
4487 javax/swing/undo/UndoableEditSupport.java,
4488 javax/transaction/HeuristicCommitException.java,
4489 javax/transaction/HeuristicMixedException.java,
4490 javax/transaction/HeuristicRollbackException.java,
4491 javax/transaction/InvalidTransactionException.java,
4492 javax/transaction/NotSupportedException.java,
4493 javax/transaction/RollbackException.java,
4494 javax/transaction/Status.java,
4495 javax/transaction/Synchronization.java,
4496 javax/transaction/SystemException.java,
4497 javax/transaction/Transaction.java,
4498 javax/transaction/TransactionManager.java,
4499 javax/transaction/TransactionRequiredException.java,
4500 javax/transaction/TransactionRolledbackException.java,
4501 javax/transaction/UserTransaction.java,
4502 javax/transaction/xa/XAException.java,
4503 javax/transaction/xa/XAResource.java,
4504 javax/transaction/xa/Xid.java,
4505 javax/xml/XMLConstants.java,
4506 javax/xml/datatype/DatatypeConfigurationException.java,
4507 javax/xml/datatype/DatatypeConstants.java,
4508 javax/xml/datatype/DatatypeFactory.java,
4509 javax/xml/datatype/Duration.java,
4510 javax/xml/datatype/XMLGregorianCalendar.java,
4511 javax/xml/namespace/NamespaceContext.java,
4512 javax/xml/namespace/QName.java,
4513 javax/xml/parsers/DocumentBuilder.java,
4514 javax/xml/parsers/DocumentBuilderFactory.java,
4515 javax/xml/parsers/FactoryConfigurationError.java,
4516 javax/xml/parsers/ParserConfigurationException.java,
4517 javax/xml/parsers/SAXParser.java,
4518 javax/xml/parsers/SAXParserFactory.java,
4519 javax/xml/transform/ErrorListener.java,
4520 javax/xml/transform/OutputKeys.java,
4521 javax/xml/transform/Result.java,
4522 javax/xml/transform/Source.java,
4523 javax/xml/transform/SourceLocator.java,
4524 javax/xml/transform/Templates.java,
4525 javax/xml/transform/Transformer.java,
4526 javax/xml/transform/TransformerConfigurationException.java,
4527 javax/xml/transform/TransformerException.java,
4528 javax/xml/transform/TransformerFactory.java,
4529 javax/xml/transform/TransformerFactoryConfigurationError.java,
4530 javax/xml/transform/URIResolver.java,
4531 javax/xml/transform/dom/DOMLocator.java,
4532 javax/xml/transform/dom/DOMResult.java,
4533 javax/xml/transform/dom/DOMSource.java,
4534 javax/xml/transform/sax/SAXResult.java,
4535 javax/xml/transform/sax/SAXSource.java,
4536 javax/xml/transform/sax/SAXTransformerFactory.java,
4537 javax/xml/transform/sax/TemplatesHandler.java,
4538 javax/xml/transform/sax/TransformerHandler.java,
4539 javax/xml/transform/stream/StreamResult.java,
4540 javax/xml/transform/stream/StreamSource.java,
4541 javax/xml/validation/Schema.java,
4542 javax/xml/validation/SchemaFactory.java,
4543 javax/xml/validation/TypeInfoProvider.java,
4544 javax/xml/validation/Validator.java,
4545 javax/xml/validation/ValidatorHandler.java,
4546 javax/xml/xpath/XPathConstants.java,
4547 javax/xml/xpath/XPathException.java,
4548 javax/xml/xpath/XPathExpression.java,
4549 javax/xml/xpath/XPathExpressionException.java,
4550 javax/xml/xpath/XPathFactory.java,
4551 javax/xml/xpath/XPathFactoryConfigurationException.java,
4552 javax/xml/xpath/XPathFunction.java,
4553 javax/xml/xpath/XPathFunctionException.java,
4554 javax/xml/xpath/XPathFunctionResolver.java:
4555 Fixed usage of @author tag, reworked import statements,
4556 removed CVS tags, changed the modifier order and fixed
4557 HTML usage in javadocs.
4559 2005-02-16 Julian Scheid <julian@sektor37.de>
4561 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4563 (encodeLoop): Likewise.
4565 2005-02-16 Mark Wielaard <mark@klomp.org>
4567 * Makefile.am (ordinary_java_source_files): Add new files
4568 gnu/java/security/ber/BER.java,
4569 gnu/java/security/ber/BEREncodingException.java,
4570 gnu/java/security/ber/BERReader.java,
4571 gnu/java/security/ber/BERValue.java,
4572 gnu/java/security/pkcs/PKCS7SignedData.java and
4573 gnu/java/security/pkcs/SignerInfo.java.
4574 * Makefile.in: Regenerated.
4576 2005-02-16 Casey Marshall <csm@gnu.org>
4578 * gnu/java/security/provider/GnuDSAPrivateKey.java
4579 (encodedKey): new field.
4580 (getFormat): return "PKCS#8".
4581 (getEncoded): implemented.
4582 (toString): check for 'null' values.
4583 * gnu/java/security/provider/GnuDSAPublicKey.java
4584 (encodedKey): new field.
4585 (getFormat): return "X.509".
4586 (getEncoded): implemented.
4587 (toString): check for 'null' values.
4589 2005-02-16 Michael Koch <konqueror@gmx.de>
4591 * java/util/jar/JarFile.java: Imports reworked.
4593 2005-02-16 Mark Wielaard <mark@klomp.org>
4595 * java/util/jar/JarFile.java (verify): Make package private.
4596 (signaturesRead): Likewise.
4597 (verified): Likewise.
4598 (entryCerts): Likewise.
4601 (entries): Construct new JarEnumeration with reference to this.
4602 (JarEnumeration): Make static.
4603 (JarEnumeration.jarfile): New field.
4604 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4605 Compare verified value to Boolean.TRUE or Boolean.False only
4606 when verify is true.
4607 (getEntry): Make synchronized. Compare value of verified to
4609 (getInputStream): Construct EntryInputStream with reference to this.
4610 (getManifest): Make synchronized.
4611 (EntryInputStream): Make static.
4612 (EntryInputStream.jarfile): New field.
4613 (EntryInputStream.EntryInputStream): Check if manifest exists,
4614 before getting attributes.
4615 (eof): Synchronize on jarfile.
4617 2005-02-16 Casey Marshall <csm@gnu.org>
4619 * java/util/jar/JarFile.java (verify): return if the jar is signed
4620 with an unsupported algorithm.
4622 2005-02-16 Mark Wielaard <mark@klomp.org>
4624 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4625 InputStream as argument.
4626 (getInputStream): Construct a new EntryInputStream with the result of
4627 super.getInputStream(entry).
4629 2005-02-16 Casey Marshall <csm@gnu.org>
4631 Signed JAR file support.
4632 * java/net/URLClassLoader.java
4633 (JarURLResource.getCertificates): re-read jar entry to ensure
4634 certificates are picked up.
4635 (findClass): fill in class `signers' field, too.
4636 * java/util/jar/JarFile.java (META_INF): new constant.
4637 (PKCS7_DSA_SUFFIX): new constant.
4638 (PKCS7_RSA_SUFFIX): new constant.
4639 (DIGEST_KEY_SUFFIX): new constant.
4640 (SF_SUFFIX): new constant.
4641 (MD2_OID): new constant.
4642 (MD4_OID): new constant.
4643 (MD5_OID): new constant.
4644 (SHA1_OID): new constant.
4645 (DSA_ENCRYPTION_OID): new constant.
4646 (RSA_ENCRYPTION_OID): new constant.
4647 (signaturesRead): new field.
4648 (verified): new field.
4649 (entryCerts): new field.
4650 (DEBUG): new constant.
4651 (debug): new method.
4652 (JarEnumeration.nextElement): fill in entry certificates, read
4653 signatures if they haven't been read.
4654 (getEntry): likewise.
4655 (getInputStream): verify stream if it hasn't been verified yet.
4656 (readSignatures): new method.
4657 (verify): new method.
4658 (verifyHashes): new method.
4659 (readManifestEntry): new method.
4660 (EntryInputStream): new class.
4661 * gnu/java/io/Base64InputStream.java (decode): new class
4663 * gnu/java/security/der/DERReader.java don't make class
4665 (in): made protected.
4667 (readLength): likewise.
4668 * gnu/java/security/ber/BER.java,
4669 * gnu/java/security/ber/BEREncodingException.java,
4670 * gnu/java/security/ber/BERReader.java,
4671 * gnu/java/security/ber/BERValue.java,
4672 * gnu/java/security/pkcs/PKCS7SignedData.java,
4673 * gnu/java/security/pkcs/SignerInfo.java:
4676 2005-02-16 Tom Tromey <tromey@redhat.com>
4678 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4679 copied file on exit.
4681 2005-02-15 Mark Wielaard <mark@klomp.org>
4683 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4685 2005-02-15 Michael Koch <konqueror@gmx.de>
4687 * gnu/java/awt/peer/gtk/GtkArg.java,
4688 gnu/java/awt/peer/gtk/GtkArgList.java:
4691 2005-02-15 Craig Black <craig.black@aonix.com>
4693 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4694 (postMenuActionEvent): Implement to notify ItemListeners.
4695 * java/awt/CheckboxMenuItem.java
4696 (dispatchEventImpl): Update state on ItemEvent.
4697 * java/awt/MenuItem.java
4698 (processActionEvent): Retarget event source.
4700 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4702 * gnu/java/awt/color/ClutProfileConverter.java,
4703 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4704 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4705 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4706 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4707 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4708 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4709 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4710 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4711 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4712 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4713 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4714 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4715 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4716 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4717 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4718 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4719 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4720 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4721 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4722 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4723 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4724 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4725 gnu/java/awt/peer/gtk/GtkToolkit.java,
4726 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4727 javax/swing/JPopupMenu.java,
4728 javax/swing/JSpinner.java,
4729 javax/swing/SortingFocusTraversalPolicy.java,
4730 javax/swing/SwingUtilities.java,
4731 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4732 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4733 javax/swing/tree/DefaultMutableTreeNode.java:
4734 Removed unused imports and expanded starred
4737 2005-02-15 Mark Wielaard <mark@klomp.org>
4739 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4740 IllegalArgumentException when the given String is null.
4742 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4743 when given keystoke sequence cannot be parsed.
4745 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4746 if one is installed. Only install the given menubar is not null.
4748 * javax/swing/JViewport.java (getViewSize): Return an empty
4749 Dimension when the view isn't set or preferred component size when
4752 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4753 empty Dimension when there is no view set.
4754 (minimumLayoutSize): Likewise.
4755 (layoutContainer): Don't try to layout when there is no view.
4757 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4760 * include/jawt.h: Likewise.
4761 * include/jawt_md.h: Likewise.
4762 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4764 * jni/classpath/classpath_jawt.h: Likewise.
4765 * jni/gtk-peer/gtk_jawt.c: Likewise.
4766 * Makefile.am: Build libjawt.so.
4768 2005-02-15 Michael Koch <konqueror@gmx.de>
4770 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4771 Merged file header with classpath CVS head.
4772 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4773 Merged code formatting with classpath CVS head.
4774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4776 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4777 Handle special JNI strings with 2 '\0' at the end.
4778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4779 Merged file header with classpath CVS head.
4780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4781 Merged code formatting with classpath CVS head.
4783 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4786 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4787 (handle_response): Use GTK_RESPONSE_ACCEPT.
4789 2005-02-15 Graydon Hoare <graydon@redhat.com>
4791 * Makefile.am: Fix library build breakage.
4792 * Makefile.in: Regenerate.
4794 2005-02-15 Michael Koch <konqueror@gmx.de>
4796 * javax/swing/JTabbedPane.java
4797 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4799 2005-02-15 Michael Koch <konqueror@gmx.de>
4801 * javax/swing/tree/DefaultMutableTreeNode.java:
4802 Reworked Javadocs all over.
4803 (getPathToRoot): Fixed direction of result array initialization.
4805 2005-02-15 Michael Koch <konqueror@gmx.de>
4807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4808 Fix includes for cairo 0.3.0 snappshot.
4809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4810 Merged file header from classpath CVS HEAD.
4812 2005-02-15 Craig Black <craig.black@aonix.com>
4814 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4815 (copyState): Pass a JNI global reference to signal handler.
4816 (realize_cb): Use and free JNI global reference.
4817 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4818 (create): Pass a JNI global reference to signal handler.
4819 (selection_changed): Match declaration.
4820 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4821 (dispose): Do not remove entries from state tables until after widget is
4824 2005-02-15 Michael Koch <konqueror@gmx.de>
4826 * java/awt/Container.javai (paramString):
4827 If layoutMgr is null just return result of super.paramString().
4828 * java/awt/Scrollbar.java: Reformatted.
4829 * java/awt/im/InputContext.java (static):
4830 Removed redundant initializations.
4832 2005-02-15 Michael Koch <konqueror@gmx.de>
4834 * javax/swing/ImageIcon.java,
4835 javax/swing/UIManager.java,
4836 javax/swing/text/EditorKit.java,
4837 javax/swing/text/Segment.java:
4838 More whitespace cleanups.
4840 2005-02-15 Michael Koch <konqueror@gmx.de>
4842 * gnu/java/awt/EmbeddedWindow.java,
4843 gnu/java/awt/image/ImageDecoder.java,
4844 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4845 java/awt/DefaultKeyboardFocusManager.java,
4846 java/awt/Frame.java,
4847 java/awt/image/RGBImageFilter.java,
4848 javax/swing/AbstractButton.java,
4849 javax/swing/ActionMap.java,
4850 javax/swing/ComponentInputMap.java,
4851 javax/swing/DefaultDesktopManager.java,
4852 javax/swing/ImageIcon.java,
4853 javax/swing/InputMap.java,
4854 javax/swing/JButton.java,
4855 javax/swing/JCheckBox.java,
4856 javax/swing/JCheckBoxMenuItem.java,
4857 javax/swing/JEditorPane.java,
4858 javax/swing/JMenu.java,
4859 javax/swing/JMenuItem.java,
4860 javax/swing/JOptionPane.java,
4861 javax/swing/JRootPane.java,
4862 javax/swing/JTable.java,
4863 javax/swing/MenuSelectionManager.java,
4864 javax/swing/RepaintManager.java,
4865 javax/swing/ScrollPaneLayout.java,
4866 javax/swing/SortingFocusTraversalPolicy.java,
4867 javax/swing/UIManager.java,
4868 javax/swing/ViewportLayout.java,
4869 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4870 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4871 javax/swing/plaf/basic/BasicLabelUI.java,
4872 javax/swing/plaf/basic/BasicListUI.java,
4873 javax/swing/plaf/basic/BasicMenuItemUI.java,
4874 javax/swing/plaf/basic/BasicMenuUI.java,
4875 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4876 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4877 javax/swing/plaf/basic/BasicRootPaneUI.java,
4878 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4879 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4880 javax/swing/plaf/basic/BasicTextUI.java,
4881 javax/swing/table/TableColumnModel.java,
4882 javax/swing/text/AbstractDocument.java,
4883 javax/swing/text/EditorKit.java,
4884 javax/swing/text/Position.java,
4885 javax/swing/text/Segment.java,
4886 javax/swing/text/StyledEditorKit.java,
4887 javax/swing/text/ViewFactory.java:
4888 Cleanup whitespace differences to classpath CVS HEAD.
4890 2005-02-15 Graydon Hoare <graydon@redhat.com>
4892 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4893 (finalize): Call finish from here.
4894 (produce): Not from here.
4895 * Makefile.am (gtk_c_source_files):
4896 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4897 * Makefile.in: Regenerate.
4898 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4900 (cairoDrawGdkTextLayout):
4902 (getPeerTextMetrics):
4903 (getPeerFontMetrics): Remove.
4904 (setFont): Don't call cairoSetFont.
4905 (cairoDrawGlyphVector): Accept font peer argument.
4906 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4907 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4908 (ensure_metrics_cairo):
4909 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4910 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4911 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4912 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4914 (metrics_surface): Remove.
4915 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4916 Pass and install font peer.
4918 2005-02-15 Graydon Hoare <graydon@redhat.com>
4920 * Makefile.am: Create "split library" structure.
4921 * Makefile.in: Regenerate.
4923 2005-02-15 Graydon Hoare <graydon@redhat.com>
4925 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4928 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4929 Release GDK lock during upcalls.
4931 2005-02-15 Graydon Hoare <graydon@redhat.com>
4933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4935 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4936 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4937 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4938 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4939 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4942 (getTextMetrics): New native methods.
4943 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4944 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4945 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4946 * Makefile.in: Regenerate.
4948 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4950 * javax/swing/SwingUtilities.java:
4951 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4952 Implemented and documented.
4953 (getAccessibleChild(java.awt.Component, int)): Likewise.
4954 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4955 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4956 (getAccessibleStateSet(java.awt.Component)): Likewise.
4958 2005-02-15 Michael Koch <konqueror@gmx.de>
4960 * javax/swing/SwingUtilities.java
4961 (getFontMetrics): Removed.
4963 2005-02-15 Michael Koch <konqueror@gmx.de>
4965 * java/awt/Container.java
4966 (paramString): Implemented.
4967 * javax/swing/AbstractButton.java
4968 (paramString): Implemented.
4969 * javax/swing/JComponent.java
4970 (paramString): Implemented.
4971 * javax/swing/JMenu.java
4972 (paramString): Implemented.
4973 * javax/swing/JMenuBar.java
4974 (paramString): Implemented.
4975 * javax/swing/JMenuItem.java
4976 (paramString): Implemented.
4977 * javax/swing/JPopupMenu.java
4978 (paramString): Implemented.
4980 2005-02-15 Michael Koch <konqueror@gmx.de>
4982 * javax/swing/JMenu.java
4983 (uiClassID): Removed.
4984 (JMenu): Set invoker on popup menu.
4985 (getUIClassID): Return id directly.
4986 (getItemCount): Simply return getMenuComponentCount().
4988 (isTopLevelMenu): Simplified.
4989 * javax/swing/JMenuItem.java
4990 (uiClassID): Removed.
4991 (getUIClassID): Return id directly.
4992 * javax/swing/JPopupMenu.java
4993 (uiClassID): Removed.
4994 (JPopupMenu): Always initialize correctly.
4995 (getSubElements): Only return components implementing MenuElement
4997 (HeavyWeightPopup.hide): Removed.
4999 2005-02-15 Michael Koch <konqueror@gmx.de>
5001 * java/awt/image/ReplicateScaleFilter.java
5002 (replicatePixels): Made private.
5003 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5004 (DefaultRGBChooserPanel): Made package private.
5005 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5006 (RecentSwatchPanel): Likewise.
5007 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5008 (MouseInputAdapter): Made abstract.
5009 * javax/swing/tree/DefaultMutableTreeNode.java
5011 (growTree): Likewise.
5013 2005-02-15 Michael Koch <konqueror@gmx.de>
5015 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5018 2005-02-15 Michael Koch <konqueror@gmx.de>
5020 * javax/swing/JComponent.java (getComponentGraphics):
5021 Removed accidently commited code.
5023 2005-02-15 Graydon Hoare <graydon@redhat.com>
5025 * java/awt/dnd/DropTarget.java
5026 (addDropTargetListener): Despite documentation, do not throw.
5027 * javax/swing/JComponent.java: Set a default DropTarget.
5029 2005-02-15 Michael Koch <konqueror@gmx.de>
5031 * javax/swing/AbstractAction.java
5032 (ENABLED_PROPERTY): Removed.
5033 (setEnabled): Replaced constant with real string.
5034 * javax/swing/AbstractButton.java
5035 (createActionPropertyChangeListener.propertyChange): Likewise.
5036 * javax/swing/JComboBox.java
5037 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5038 (EDITABLE_CHANGED_PROPERTY): Removed.
5039 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5040 (ENABLED_CHANGED_PROPERTY):Likewise.
5041 (RENDERER_CHANGED_PROPERTY):Likewise.
5042 (EDITOR_CHANGED_PROPERTY):Likewise.
5043 (MODEL_CHANGED_PROPERTY):Likewise.
5044 (uiClassID):Likewise.
5045 (getUIClassID): Replaced constant with real string.
5046 (setModel):Likewise.
5047 (setEditable):Likewise.
5048 (setMaximumRowCount):Likewise.
5049 (setRenderer):Likewise.
5050 (setEditor):Likewise.
5051 (setEnabled):Likewise.
5052 * javax/swing/JLabel.java
5053 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5054 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5055 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5056 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5057 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5058 (ICON_CHANGED_PROPERTY): Likewise.
5059 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5060 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5061 (TEXT_CHANGED_PROPERTY): Likewise.
5062 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5063 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5064 (setText): Replaced constant with real string.
5065 (setIcon): Likewise.
5066 (setDisabledIcon): Likewise.
5067 (setDisplayedMnemonic): Likewise.
5068 (setIconTextGap): Likewise.
5069 (setVerticalAlignment): Likewise.
5070 (setHorizontalAlignment): Likewise.
5071 (setVerticalTextPosition): Likewise.
5072 (setHorizontalTextPosition): Likewise.
5073 (setLabelFor): Replaced constant with real string.
5074 Fire property change event after property got changed.
5075 * javax/swing/JList.java
5076 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5077 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5078 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5079 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5080 (MODEL_PROPERTY_CHANGED): Likewise.
5081 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5082 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5083 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5084 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5085 (setFixedCellWidth): Reimplemented.
5086 (setFixedCellHeight): Exit if new value is identical.
5087 Replaced constant with real string.
5088 (setSelectionBackground): Likewise.
5089 (setSelectionForeground): Likewise.
5090 (setPrototypeCellValue): Likewise.
5091 (setCellRenderer): Replaced constant with real string.
5092 (setModel): Likewise.
5093 (setSelectionModel): Likewise.
5094 * javax/swing/JMenuBar.java
5095 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5096 (MODEL_CHANGED_PROPERTY): Likewise.
5097 (MARGIN_CHANGED_PROPERTY): Likewise.
5098 (setBorderPainted): Reimplemented.
5099 (setMargin): Likewise.
5100 (setSelectionModel): Replaced constant with real string.
5101 * javax/swing/JPopupMenu.java
5102 (LABEL_CHANGED_PROPERTY): Removed.
5103 (VISIBLE_CHANGED_PROPERTY): Likewise.
5104 (borderPainted): Likewise.
5105 (setLabel): Replaced constant with real string.
5106 (setVisible): Exit if new value is identical.
5107 Replaced constant with real string.
5108 * javax/swing/JProgressBar.java
5109 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5110 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5111 (STRING_CHANGED_PROPERTY): Likewise.
5112 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5113 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5114 (setOrientation): Replaced constant with real string.
5115 (setStringPainted): Likewise.
5116 (setString): Likewise.
5117 (setBorderPainted): Likewise.
5118 (setIndeterminate): Likewise.
5119 * javax/swing/JScrollBar.java
5120 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5121 (MODEL_CHANGED_PROPERTY): Likewise.
5122 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5123 (setOrientation): Replaced constant with real string.
5124 (setModel): Likewise.
5125 (setUnitIncrement): Likewise.
5126 (setBlockIncrement): Likewise.
5127 * javax/swing/JScrollPane.java
5128 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5129 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5130 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5131 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5132 (LAYOUT_CHANGED_PROPERTY): Likewise.
5133 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5134 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5135 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5136 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5137 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5138 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5139 (setComponentOrientation): Replaced constant with real string.
5140 (setColumnHeader): Likewise.
5141 (setHorizontalScrollBar): Likewise.
5142 (setHorizontalScrollBarPolicy): Likewise.
5143 (setRowHeader): Likewise.
5144 (setVerticalScrollBar): Likewise.
5145 (setVerticalScrollBarPolicy): Likewise.
5146 (setWheelScrollingEnabled): Likewise.
5147 (setViewport): Likewise.
5148 (setViewportBorder): Likewise.
5149 * javax/swing/JSlider.java
5150 (INVERTED_CHANGED_PROPERTY): Removed.
5151 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5152 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5153 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5154 (MODEL_CHANGED_PROPERTY): Likewise.
5155 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5156 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5157 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5158 (setModel): Replaced constant with real string.
5159 (setOrientation): Likewise.
5160 (setLabelTable): Likewise.
5161 (setInverted): Likewise.
5162 (setMajorTickSpacing): Likewise.
5163 (setMinorTickSpacing): Likewise.
5164 (setPaintTicks): Likewise.
5165 (setPaintLabels): Likewise.
5166 * javax/swing/JTabbedPane.java
5167 (MODEL_CHANGED_PROPERTY): Removed.
5168 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5169 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5170 (setModel): Replaced constant with real string.
5171 (setTabPlacement): Likewise.
5172 (setTabLayoutPolicy): Likewise.
5173 * javax/swing/JToolBar.java
5174 (ORIENTATION_CHANGED_PROPERTY): Removed.
5175 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5176 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5177 (MARGIN_CHANGED_PROPERTY): Likewise.
5178 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5179 (setRollover): Replaced constant with real string.
5180 (setMargin): Likewise.
5181 (setBorderPainted): Likewise.
5182 (setFloatable): Likewise.
5183 (setOrientation): Likewise.
5184 * javax/swing/plaf/basic/BasicComboBoxUI.java
5185 (PropertyChangeHandler.propertyChange): Likewise.
5186 * javax/swing/plaf/basic/BasicComboPopup.java
5187 (PropertyChangeHandler.propertyChange): Likewise.
5188 * javax/swing/plaf/basic/BasicMenuBarUI.java
5189 (PropertyChangeHandler.propertyChange): Likewise.
5190 * javax/swing/plaf/basic/BasicProgressBarUI.java
5191 (PropertyChangeHandler.propertyChange): Likewise.
5192 * javax/swing/plaf/basic/BasicScrollBarUI.java
5193 (PropertyChangeHandler.propertyChange): Likewise.
5194 * javax/swing/plaf/basic/BasicSliderUI.java
5195 (PropertyChangeHandler.propertyChange): Likewise.
5196 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5197 (PropertyChangeHandler.propertyChange): Likewise.
5198 * javax/swing/plaf/basic/BasicToolBarUI.java
5199 (PropertyChangeHandler.propertyChange): Likewise.
5201 2005-02-15 Michael Koch <konqueror@gmx.de>
5203 * javax/swing/DefaultButtonModel.java
5204 (changeState): Made private.
5205 * javax/swing/DefaultDesktopManager.java
5206 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5207 * javax/swing/JLayeredPane.java
5208 (layerToRange): Made private.
5209 (incrLayer): Likewise.
5210 (decrLayer): Likewise.
5211 * javax/swing/JTable.java
5212 (dragEnabled): Likewise.
5213 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5214 * javax/swing/KeyStroke.java
5215 (Keystroke): Made private.
5216 * javax/swing/TransferHandler.java
5217 (COMMAND_COPY): Likewise.
5218 (COMMAND_CUT): Likewise.
5219 (COMMAND_PASTE): Likewise.
5221 2005-02-15 Michael Koch <konqueror@gmx.de>
5223 * javax/swing/JTextField.java
5224 (postActionEvent): Use text in field when actionCommand is null.
5225 (getActionCommand): Removed.
5227 2005-02-15 Michael Koch <konqueror@gmx.de>
5229 * javax/swing/AbstractSet.java: Removed.
5230 * Makefile.am: Removed javax/swing/AbstractSet.java.
5231 * Makefile.in: Regenerated.
5233 2005-02-15 Michael Koch <konqueror@gmx.de>
5235 * java/awt/Window.java
5236 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5237 * java/awt/dnd/DnDConstants.java
5238 (DnDConstants): New private constructor.
5240 2005-02-15 Michael Koch <konqueror@gmx.de>
5242 * javax/swing/DefaultCellRenderer.java: Removed.
5243 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5244 * Makefile.in: Regenerated.
5246 2005-02-15 Michael Koch <konqueror@gmx.de>
5248 * javax/swing/AbstractButton.java
5249 (fireItemStateChanged): Made protected.
5250 (fireActionPerformed): Likewise.
5251 (fireStateChanged): Likewise.
5252 * javax/swing/DefaultButtonModel.java
5253 (fireItemStateChanged): Likewise.
5254 (fireActionPerformed): Likewise.
5255 (fireStateChanged): Likewise.
5256 * javax/swing/JApplet.java
5258 (frameInit): Likewise.
5259 (setRootPane): Made protected.
5260 (createRootPane): Likewise.
5261 * javax/swing/JComponent.java
5262 (getClientProperty): Likewise.
5263 (putClientProperty): Likewise.
5264 * javax/swing/JEditorPane.java
5265 (getContentType): Likewise.
5266 (setContentType): Likewise.
5267 * javax/swing/JFrame.java
5268 (setRootPane): Likewise.
5269 (createRootPane): Likewise.
5270 * javax/swing/JInternalFrame.java
5271 (getFocusCycleRootAncestor): Made final. Added @since tag.
5272 (isFocusCycleRoot): Likewise.
5273 (getWarningString): Made final.
5274 * javax/swing/JScrollBar.java
5275 (changeListener): Removed.
5276 (changeEvent): Likewise.
5277 (createChangeListener): Likewise.
5278 (fireStateChanged): Likewise.
5279 (addChangeListener): Likewise.
5280 (removeChangeListener): Likewise.
5281 (getChangeListeners): Likewise.
5282 * javax/swing/JScrollPane.java
5283 (createViewport): Made protected.
5284 * javax/swing/JViewport.java
5285 (addImpl): Likewise.
5286 (setBorder): New method.
5287 * javax/swing/JWindow.java
5288 (setRootPane): Made protected.
5289 (createRootPane): Likewise.
5290 * javax/swing/plaf/basic/BasicButtonUI.java
5291 (installListeners): Likewise.
5292 (uninstallListeners): Likewise.
5293 * javax/swing/plaf/basic/BasicProgressBarUI.java
5294 (incrementAnimationIndex): Likewise.
5295 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5296 (createLayoutManager): Likewise.
5297 * javax/swing/table/DefaultTableCellRenderer.java
5298 (firePropertyChange): Likewise.
5299 * javax/swing/table/JTableHeader.java
5300 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5302 * javax/swing/text/PlainDocument.java
5303 (reindex): Made private.
5304 * javax/swing/text/PlainView.java
5305 (drawLine): Made protected.
5306 (getTabSize): Likewise.
5307 * javax/swing/text/View.java
5309 (preferenceChanged): New method.
5310 (getBreakWeight): Likewise.
5311 (breakView): Likewise.
5312 (getViewIndex): Likewise.
5314 2005-02-15 Michael Koch <konqueror@gmx.de>
5316 * javax/swing/JScrollPane.java
5317 (ScrollBar): Made class protected.
5318 * javax/swing/JSpinner.java
5319 (JSpinner): Added @since tag.
5320 (listenerList): Removed.
5321 * javax/swing/JTable.java
5322 (setValueAt): New method.
5323 (getColumn): Likewise.
5324 * javax/swing/JWindow.java
5325 (rootPaneCheckingEnabled): Renamed from checking.
5327 2005-02-15 Michael Koch <konqueror@gmx.de>
5329 * javax/swing/plaf/basic/BasicTextUI.java
5330 (RootView.modelToView): Made it public and return a java.awt.Shape.
5331 Handle null subview.
5332 (uninstall): Set textComponent to null when its not possible used
5334 * javax/swing/text/View.java
5335 (setParent): Use better argument name.
5336 (getContainer): Get parent via getParent().
5337 (getViewFactory): Likewise.
5338 (getAttributes): Get element via getElement().
5339 (getStartOffset): Likewise.
5340 (getEndOffset): Likewise.
5341 (getResizeWeight): New method.
5342 (getMaximumSpan): Likewise.
5343 (getMinimumSpan): Likewise.
5344 (setSize): Likewise.
5345 (getGraphics): Likewise.
5347 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5349 * java/awt/Checkbox.java:
5350 (AccessibleAWTCheckbox()): Added public constructor
5352 * java/awt/Choice.java:
5353 (AccessibleAWTChoice): Added class documentation.
5354 (AccessibleAWTChoice()): Added public constructor
5356 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5357 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5358 and changed role to COMBO_BOX.
5359 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5360 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5361 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5363 2005-02-15 Graydon Hoare <graydon@redhat.com>
5364 Michael Koch <konqueror@gmx.de>
5366 * javax/swing/LayoutFocusTraversalPolicy.java,
5367 javax/swing/SortingFocusTraversalPolicy.java:
5369 * Makefile.am: Added new classes.
5370 * Makefike.in: Regenerated.
5373 2005-02-15 Michael Koch <konqueror@gmx.de>
5375 * javax/swing/DebugGraphics.java: Mostly implemented.
5377 2005-02-15 Michael Koch <konqueror@gmx.de>
5379 * javax/swing/SwingUtilities.java
5380 (findFocusOwner): New method.
5382 2005-02-15 Michael Koch <konqueror@gmx.de>
5384 * javax/swing/text/DefaultEditorKit.java
5385 (read): Added '\n' after each line.
5386 * javax/swing/text/PlainView.java
5387 (modelToView): Update metrics.
5388 (drawLine): Use offsets from element.
5389 (paint): Update metrics. Draw all lines.
5391 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5393 * java/awt/Checkbox.java:
5394 (AccessibleAWTCheckbox): Added class documentation
5395 * java/awt/Scrollbar.java:
5396 (AccessibleAWTScrollBar): typo corrected and docs added
5397 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5398 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5399 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5400 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5401 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5402 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5403 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5404 (getAccessibleContext()): name of accessible class corrected
5406 2005-02-15 Mark Wielaard <mark@klomp.org>
5408 * java/awt/BasicStroke.java (hashCode): Implement.
5411 2005-02-15 Michael Koch <konqueror@gmx.de>
5413 * java/awt/print/PrinterJob.java
5414 (pageDialog): Throws java.awt.HeadlessException.
5415 (printDialog): Likewise.
5417 2005-02-15 Mark Wielaard <mark@klomp.org>
5419 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5421 2005-02-15 Michael Koch <konqueror@gmx.de>
5423 * javax/swing/JTable.java
5424 (getValueAt): New method.
5425 * javax/swing/table/JTableHeader.java
5426 (columnAtPoint): New method.
5428 2005-02-15 Michael Koch <konqueror@gmx.de>
5430 * javax/swing/JTextField.java
5431 (actions): New field.
5432 (static): Initalize actions field.
5433 (getActions): New method.
5435 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5437 * java/awt/Checkbox.java:
5438 (AccessibleAWTCheckbox): name capitalization corrected
5439 and serialization UID added.
5440 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5442 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5443 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5444 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5445 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5446 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5447 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5448 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5449 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5450 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5451 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5452 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5454 (getAccessibleContext()): name of accessible class corrected
5456 2005-02-15 Sven de Marothy <sven@physto.se>
5458 * java/awt/geom/doc-files/Area-1.png,
5459 java/awt/geom/doc-files/Ellipse-1.png,
5460 java/awt/geom/doc-files/GeneralPath-1.png:
5463 2005-02-15 Graydon Hoare <graydon@redhat.com>
5465 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5466 Use union to avoid type-punning warning.
5468 2005-02-15 Michael Koch <konqueror@gmx.de>
5470 * javax/swing/DefaultListSelectionModel.java
5471 (clone): New method.
5473 2005-02-15 Mark Wielaard <mark@klomp.org>
5475 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5476 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5477 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5478 Correct method signature of gtkSetFilename.
5480 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5482 * javax/swing/text/StringContent.java: New file.
5484 2005-02-15 Michael Koch <konqueror@gmx.de>
5486 * Makefile.am: Added javax/swing/text/StringContent.java.
5487 * Makefile.in: Regenerated.
5489 2005-02-15 Michael Koch <konqueror@gmx.de>
5491 * gnu/java/awt/ClasspathToolkit.java:
5492 Import statements reworked.
5493 (imageCache): Made it of type java.util.HashMap.
5495 2005-02-15 Michael Koch <konqueror@gmx.de>
5497 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5498 Reworked import statements.
5500 2005-02-15 Graydon Hoare <graydon@redhat.com>
5502 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5515 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5516 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5518 Rewrite uses of extern variable to be function calls.
5519 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5520 function, from extern variable.
5521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5522 (gdk_env): Remove variable, add new function.
5523 (java_vm): Add new variable.
5524 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5525 java_vm rather than old gdk_env variable.
5527 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5529 * javax/swing/DefaultListModel.java
5530 (add): fire correct event,
5531 (addElement): corrected interval indices in event,
5532 (clear): corrected upper bound for interval, only fire event if
5534 (setSize): fire appropriate event.
5536 2005-02-15 Graydon Hoare <graydon@redhat.com>
5538 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5539 * gnu/awt/xlib/XToolkit.java: Likewise.
5540 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5541 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5542 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5543 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5544 * java/awt/EventQueue.java (getNextEvent):
5545 Adjust event loop to switch to native mode after 100ms.
5546 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5547 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5548 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5549 Wake up event thread.
5550 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5551 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5552 Adjust event loop to switch to java mode after 100ms.
5554 2005-02-15 Graydon Hoare <graydon@redhat.com>
5556 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5557 accidentally removed in last change.
5559 2005-02-15 Michael Koch <konqueror@gmx.de>
5561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5562 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5564 2005-02-15 Graydon Hoare <graydon@redhat.com>
5566 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5567 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5568 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5569 * jni.cc: Reuse bottom frame between calls, avoid clearing
5570 frame when no local references are made.
5572 2005-02-15 Michael Koch <konqueror@gmx.de>
5574 * javax/swing/UIDefaults.java (UIDefaults):
5575 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5576 Fixed HTML entity and removed a redundant comma.
5578 2005-02-15 Michael Koch <konqueror@gmx.de>
5580 * javax/swing/text/DefaultEditorKit.java
5581 (deinstall): Removed.
5582 (install): Likewise.
5584 2005-02-15 Michael Koch <konqueror@gmx.de>
5586 * javax/swing/UIDefaults.java (put): Handle value of null.
5588 2005-02-15 Michael Koch <konqueror@gmx.de>
5590 * java/awt/Robot.java,
5591 java/awt/Scrollbar.java,
5592 java/awt/print/PrinterJob.java,
5593 javax/swing/JTable.java,
5594 javax/swing/text/AbstractDocument.java:
5595 Reworked import statements.
5597 2005-02-15 Michael Koch <konqueror@gmx.de>
5599 * javax/swing/JEditorPane.java
5600 (read): Implemented.
5602 * javax/swing/text/DefaultEditorKit.java
5603 (page): Renamed from page_url. Made private.
5604 (editorKit): Renamed from kit. Made private.
5606 (JEditorPane): All constructors reimplemented.
5607 (getContentType): Use content type from editor kit.
5608 (getEditorKit): Return editorKit.
5609 (getEditorKitForContentType):Likewise.
5610 (getPage): Return page.
5611 (setContentType): Reimplemented.
5612 (setEditorKit): Likewise.
5613 (setEditorKitForContentType): Removed wrong implementation.
5614 (setPage): Implemented.
5616 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5619 (nativeSetIconImageFromData): Re-add native implementation.
5621 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5623 * javax/swing/table/DefaultTableModel.java
5624 (DefaultTableModel()): Added Javadocs.
5625 (DefaultTableModel(int, int)): Fixed implementation.
5626 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5627 for negative rowCount.
5628 (DefaultTableModel(Object[], int)): Added Javadocs.
5629 (DefaultTableModel(Vector, Vector)): Likewise.
5630 (DefaultTableModel(Object[][], Object[])): Likewise.
5631 (getDataVector): Likewise.
5632 (setDataVector(Vector, Vector)): Likewise.
5633 (setDataVector(Object[][], Object[])): Likewise.
5634 (newDataAvailable): Likewise.
5635 (newRowsAdded): Likewise.
5636 (rowsRemoved): Likewise.
5637 (setColumnIdentifiers(Vector)): Allow for null argument.
5638 (setColumnIdentifiers(Object[])): Added Javadocs.
5639 (setNumRows): Likewise.
5640 (setRowCount): Adds new rows if necessary, and sends more specific
5642 (setColumnCount): Allow for null columnIdentifiers.
5643 (addColumn(Object)): Added Javadocs.
5644 (addColumn(Object, Vector)): Handle null columnData.
5645 (addColumn(Object, Object[])): Handle columnData with more or less
5646 entries than rows in the table.
5647 (addRow(Vector)): Fire appropriate event.
5648 (addRow(Object[])): Added Javadocs.
5649 (insertRow(int, Vector)): Fire appropriate event.
5650 (insertRow(int, Object[])): Added Javadocs.
5651 (moveRow): Reimplemented.
5652 (removeRow(int)): Fire appropriate event.
5653 (getColumnCount): Allow for null columnIdentifiers.
5654 (getColumnName): Now returns empty string when column index is too
5656 (isCellEditable): Added Javadocs.
5657 (getValueAt): Likewise.
5658 (setValueAt): Fire more specific event.
5659 (convertToVector): Added Javadocs.
5660 * javax/swing/table/TableModel.java
5663 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5665 * libgcj.spec.in (lib): Add -l-javax-imageio.
5667 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5669 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5670 references to event queue q with method call q().
5671 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5672 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5673 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5674 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5675 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5676 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5679 2005-02-15 Graydon Hoare <graydon@redhat.com>
5681 * gnu/java/awt/ClasspathToolkit.java
5682 (registerImageIOSpis): New method.
5683 * gnu/java/awt/image/ImageDecoder.java
5684 (imageDecoder): New constructor using InputStream
5685 (startProduction): Handle existing InputStream.
5686 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5687 (findSimpleIntegerArray): Make public and static.
5688 (updateBufferedImage): Set each pixel, in a loop.
5689 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5690 Implement ImageIO SPI classes.
5691 (createBufferedImage): Rewrite in terms of SPI classes.
5692 * gnu/java/awt/peer/gtk/GtkToolkit.java
5693 (registerImageIOSpis): New method.
5694 * java/lang/reflect/natMethod.cc
5695 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5696 which lets JNI call interface methods properly.
5697 * javax/imageio/ImageIO.java
5698 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5699 (WriterMIMETypeFilter.filter): Likewise.
5700 (ImageReaderIterator): Pass extension argument through to SPI.
5701 (getReadersByFilter): Likewise.
5702 (getWritersByFilter): Likewise.
5703 (getImageReadersByFormatName): Likewise.
5704 (getImageReadersByMIMEType): Likewise.
5705 (getImageReadersBySuffix): Likewise.
5706 (getImageWritersByFormatName): Likewise.
5707 (getImageWritersByMIMEType): Likewise.
5708 (getImageWritersBySuffix): Likewise.
5711 * javax/imageio/ImageReader.java
5712 (progressListeners): Initialize.
5713 (setInput): Implement.
5714 * javax/imageio/ImageWriter.java
5715 (progressListeners): Initialize.
5716 (warningListeners): Likewise.
5717 (warningLocales): Likewise.
5718 (setOutput): Test "isInstance" rather than class equality.
5719 * javax/imageio/spi/IIORegistry.java
5720 (static): Add reader and writer SPIs.
5721 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5723 (query_formats): New function.
5724 (save_to_stream): Likewise.
5725 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5727 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5729 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5731 (keyPress): Likewise.
5732 (keyRelease): Likewise.
5734 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5736 * javax/swing/JTable.java
5737 (columnAtPoint): New Method. Implemented.
5738 (rowAtPoint): Likewise.
5739 (countSelections): Fixed few small count errors.
5740 (getSelections): Likewise.
5741 (setSelectionMode): Set selection mode for column
5742 selection model in addition to row selection model.
5743 * javax/swing/plaf/basic/BasicTableUI.java:
5744 (getRowForPoint): Removed. Replaced by
5745 JTable.rowAtPoint().
5746 (getColForPoint): Removed. Replaced by
5747 JTable.columnAtPoint().
5748 (updateSelection): Updated to call JTable.columnAtPoint
5749 and JTable.rowAtPoint.
5750 * javax/swing/table/DefaultTableColumnModel.java:
5751 (getSelectedColumns): Implemented.
5752 (getSelectedColumnCount): Implemented.
5754 2005-02-15 Graydon Hoare <graydon@redhat.com>
5757 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5758 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5759 * Makefile.in: Regenerate.
5760 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5761 * gnu/awt/xlib/XFramePeer.java: Likewise.
5762 * gnu/awt/xlib/XToolkit.java: Likewise.
5763 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5764 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5765 * gnu/java/awt/ClasspathToolkit.java
5768 (iterateNativeQueue): New methods.
5769 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5770 * gnu/java/awt/peer/gtk/GtkToolkit.java
5771 (gtkInit): Absorb from defunct GtkMainThread class.
5772 (static): Run gtkInit in static startup block.
5773 (GtkToolkit): Remove construction of GtkMainThread and queue.
5774 (getSystemEventQueueImpl): Construct queue when requested.
5777 (iterateNativeQueue): New methods.
5778 * java/awt/Component.java (removeNotify): Remove race.
5779 * java/awt/EventDispatchThread.java
5780 (EventDispatchThread): Don't start on construction.
5781 (run): Remove isInterrupted check.
5782 * java/awt/EventQueue.java (shutdown): New flag.
5783 (isShutdown): New method checking J2SE shutdown condition.
5784 (setShutdown): New method.
5785 (getNextEvent): Restructure to use ClasspathToolkit.
5786 (postEvent): Activate new thread on posting, wake thread on
5787 post of possible shutdown condition event.
5788 * java/awt/Frame.java
5789 (Frame): Call noteFrame in all constructors.
5790 (fireDummyEvent): New helper method.
5791 (addNotify): Fire a dummy event to wake up queue.
5792 (removeNotify): Fire a dummy event to wake up queue.
5793 (noteFrame): New method.
5794 (weakFrames): New static field.
5795 (getFrames): Implement.
5796 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5799 Move everything from GtkMainThread into this file
5800 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5801 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5802 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5803 New functions to implement single-threaded queue semantics.
5805 2005-02-15 Michael Koch <konqueror@gmx.de>
5807 * javax/swing/plaf/metal/MetalLookAndFeel.java
5808 (getControlTextFont): New method.
5809 (getMenuTextFont): Likewise.
5810 (getSubTextFont): Likewise.
5811 (getSystemTextFont): Likewise.
5812 (getUserTextFont): Likewise.
5813 (getWindowTitleFont): Likewise.
5815 2005-02-15 Michael Koch <konqueror@gmx.de>
5817 * javax/swing/text/AbstractDocument.java
5818 (documentFilter): New field.
5819 (getDocumentFilter): New method.
5820 (setDocumentFilter): Likewise.
5823 2005-02-15 Michael Koch <konqueror@gmx.de>
5825 * javax/swing/JTree.java
5826 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5828 2005-02-15 Michael Koch <konqueror@gmx.de>
5830 * javax/swing/text/AbstractDocument.java
5831 (AbstractElement.getLength): Fixed off-by-one error.
5832 (AbstractElement.children): Made abstract.
5833 (AbstractElement.getAllowsChildren): Likewise.
5834 (AbstractElement.getElement): Likewise.
5835 (AbstractElement.dumpElement): New private method.
5836 (AbstractElement.dump): New method.
5837 (BranchElememt.getName): Fixed implementation.
5838 (BranchElememt.toString): Likewise.
5839 (BranchElememt.getElement): Fixed arguments.
5840 (LeafElement.getName): Fixed implementation.
5841 (LeafElement.toString): Likewise.
5842 * javax/swing/text/GapContent.java
5843 (GapContent): Put default content into buffer.
5844 * javax/swing/text/PlainDocument.java
5845 (reindex): Use empty attribute sets instead of null.
5846 (createDefaultRoot): Reimplemented.
5847 (insertUpdate): Call super method.
5848 (removeUpdate): Likewise.
5849 (getParagraphElement): Implemented.
5851 2005-02-15 Michael Koch <konqueror@gmx.de>
5853 * gnu/java/awt/ClasspathToolkit.java
5854 (createRobot): Throws java.awt.AWTException.
5855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5856 Added '__attribute__((unused))' to all unused method arguments.
5858 2005-02-15 Michael Koch <konqueror@gmx.de>
5860 * javax/swing/DefaultBoundedRangeModel.java
5861 (fireValueChanged): Fixed off-by-one error.
5863 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5865 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5866 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5868 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5869 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5870 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5871 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5872 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5873 (getDefaultScreenDevice): Implement.
5874 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5875 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5876 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5877 * java/awt/Robot.java: Implement.
5878 * java/awt/peer/RobotPeer.java: Rename parameters.
5879 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5880 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5881 (awt_keycode_to_keysym): Make non-static.
5882 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5883 AWT_BUTTON3_MASK): Declare constants.
5884 (awt_keycode_to_keysym): Declare.
5886 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5887 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5888 and is non-empty pass its value to "make check".
5889 (test_mauve_sim): Likewise.
5891 2005-02-15 Michael Koch <konqueror@gmx.de>
5893 * javax/imageio/IIOParam.java
5894 (setSourceBands): New method.
5895 (setSourceSubsampling): Likewise.
5896 * javax/imageio/ImageReadParam.java
5897 (setDestination): Likewise.
5898 (setDestinationBands): Likewise.
5899 (setSourceProgressivePasses): Likewise.
5900 * javax/imageio/metadata/IIOInvalidTreeException.java
5901 (serialVersionUID): New static field.
5902 * javax/imageio/metadata/IIOMetadataNode.java
5903 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5904 (parent): Dont initailize with default value explicitely.
5906 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5907 (removeAttributeNode): Likewise.
5908 (removeAttributeNS): Likewise.
5909 (setAttribute): Likewise.
5910 (setAttributeNode): Likewise.
5911 (setAttributeNodeNS): Likewise.
5912 (setAttributeNS): Likewise.
5913 (appendChild): Likewise.
5914 (getNodeValue): Likewise.
5915 (insertBefore): Likewise.
5916 (removeChild): Likewise.
5917 (replaceChild): Likewise.
5918 (setPrefix): Likewise.
5920 2005-02-15 Michael Koch <konqueror@gmx.de>
5922 * javax/swing/LookAndFeel.java
5923 (getDesktopPropertyValue): New method.
5925 2005-02-15 Michael Koch <konqueror@gmx.de>
5927 * javax/swing/JTree.java
5928 (hasChildren): New instance field.
5930 2005-02-15 Michael Koch <konqueror@gmx.de>
5932 * javax/swing/JComponent.java
5933 (getToolTipText): New method.
5934 (getTitledBorderText): Likewise.
5935 (getAccessibleKeyBinding): Likewise.
5936 (getVerifyInputWhenFocusTarget): Likewise.
5937 (setVerifyInputWhenFocusTarget): Likewise.
5938 (verifyInputWhenFocusTarget): New instance field.
5940 2005-02-15 Michael Koch <konqueror@gmx.de>
5942 * javax/swing/DefaultListSelectionModel.java
5943 (fireValueChanged): New method.
5945 2005-02-15 Michael Koch <konqueror@gmx.de>
5947 * javax/swing/DefaultBoundedRangeModel.java:
5948 Fixed javadocs all over.
5949 (fireStateChanged): Simplified.
5950 * javax/swing/BoundedRangeModel.java:
5953 2005-02-15 Michael Koch <konqueror@gmx.de>
5955 * javax/swing/JRootPane.java
5956 (setMenuBar): Added @deprecated tag.
5957 (getMenuBar): Likewise.
5958 * javax/swing/JTable.java
5959 (sizeColumnsToFit): Likewise.
5961 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5963 * javax/swing/ImageIcon.java (setImage): Implemented.
5965 2005-02-15 Michael Koch <konqueror@gmx.de>
5967 * javax/swing/JTable.java:
5968 Removed unused imports.
5970 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5972 (prepareRenderer): Get column's index in dataModel instead
5973 of column's view index.
5974 (getColumnCount): return count of the columns in ColumnModel,
5976 (removeColumn): Implemented.
5977 (moveColumm): Likewise.
5978 (setRowHeight): throw IllegalArgumentException if height is
5980 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5981 (DefaultTableColumnModel):Add call to createSelectionModel().
5982 (addColumn): Fire columnAdded event to registered listeners.
5983 (removeColumn): Fire columnRemoved event to registered listeners.
5984 (moveColumn): Fire columnMoved event to registered listeners.
5985 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5986 (getColumnIndex): Changed parameter name.
5987 (setColumnSelectionAllowed): Likewise.
5988 (fireColumnAdded): Implemented.
5989 (fireColumnRemoved): Likewise.
5990 (fireColumnMoved): Likewise.
5991 (fireColumnMarginChanged): Likewise.
5992 (getListeners): Changed parameter name.
5993 (propertyChange): Implemented.
5994 (valueChanged): Changed parameter name.
5995 (createSelectionModel): Implemented.
5997 2005-02-15 Michael Koch <konqueror@gmx.de>
5999 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6000 Explicitely import used classes.
6001 (getLocalGraphicsEnvironment): Simplify.
6002 * java/awt/Window.java (Window):
6003 Enable code to get the default GraphicsConfiguration.
6005 2005-02-15 Michael Koch <konqueror@gmx.de>
6007 * javax/swing/plaf/metal/DefaultMetalTheme.java
6008 (CONTROL_TEXT_FONT): New static field.
6009 (MENU_TEXT_FONT): Likewise.
6010 (SUB_TEXT_FONT): Likewise.
6011 (SYSTEM_TEXT_FONT): Likewise.
6012 (USER_TEXT_FONT): Likewise.
6013 (WINDOW_TITLE_FONT): Likewise.
6014 (getControlTextFont): New method.
6015 (getMenuTextFont): Likewise.
6016 (getSubTextFont): Likewise.
6017 (getSystemTextFont): Likewise.
6018 (getUserTextFont): Likewise.
6019 (getWindowTitleFont): Likewise.
6020 * javax/swing/plaf/metal/MetalTheme.java
6021 (BLACK): Initialize with Color.BLACK.
6022 (WHITE): Initialize with Color.WHITE.
6023 (getInactiveControlTextColor): Return getControlDisabled().
6024 (getMenuDisabledForeground): Return getSecondary3().
6025 (getControlTextFont): New abstract method.
6026 (getMenuTextFont): Likewise.
6027 (getSubTextFont): Likewise.
6028 (getSystemTextFont): Likewise.
6029 (getUserTextFont): Likewise.
6030 (getWindowTitleFont): Likewise.
6032 2005-02-15 Michael Koch <konqueror@gmx.de>
6034 * javax/swing/JFormattedTextField.java
6035 (getFocusLostBehavior): Fixed typo in method name.
6036 (setFocusLostBehavior): Likewise.
6038 2005-02-15 Michael Koch <konqueror@gmx.de>
6040 * javax/swing/TransferHandler.java:
6041 Reworked import statements.
6043 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6045 * java/awt/Button.java,
6046 java/awt/Canvas.java,
6047 java/awt/Checkbox.java,
6048 java/awt/CheckboxMenuItem.java,
6049 java/awt/Choice.java,
6050 java/awt/Dialog.java,
6051 java/awt/Frame.java,
6052 java/awt/Label.java,
6055 java/awt/MenuBar.java,
6056 java/awt/MenuItem.java,
6057 java/awt/PopupMenu.java,
6058 java/awt/ScrollPane.java,
6059 java/awt/Scrollbar.java,
6060 java/awt/TextArea.java,
6061 java/awt/Window.java (getAccessibleContext): Clean up comments.
6063 * java/awt/Button.java,
6064 java/awt/Checkbox.java,
6065 java/awt/Choice.java,
6067 java/awt/PopupMenu.java,
6068 java/awt/TextArea.java (getAccessibleContext): Only create new
6070 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6072 2005-02-15 Michael Koch <konqueror@gmx.de>
6074 * java/awt/Button.java,
6075 javax/swing/JApplet.java,
6076 javax/swing/JFormattedTextField.java,
6077 javax/swing/JWindow.java,
6078 javax/swing/JTree.java,
6079 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6080 javax/swing/plaf/basic/BasicTextPaneUI.java,
6081 javax/swing/plaf/basic/BasicTreeUI.java:
6082 Reworked import statements.
6084 2005-02-15 Michael Koch <konqueror@gmx.de>
6086 * Makefile.am: Put javax.imageio into its own library and link it
6087 against lib-org-w3c-dom.la to fix bootstrapping.
6088 * Makefile.in: Regenerated.
6090 2005-02-15 Michael Koch <konqueror@gmx.de>
6092 * javax/swing/text/TextAction.java
6093 (getTextComponent): Simplified. Added Javadoc.
6094 (augmentList): Implemented. Added Javadoc.
6095 (getFocusedComponent): Added javadoc.
6097 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6099 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6100 getAccessibleContext): Implement.
6101 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6102 getAccessibleContext): Implement.
6104 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6106 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6108 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6110 * java/awt/Window.java (getAccessibleContext): Fix comment.
6111 Remove extra import.
6113 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6115 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6116 (isActive, isFocused, getAccessibleContext): Implement.
6118 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6120 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6121 * java/awt/MenuComponent.java (accessibleContext): Make package
6123 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6124 AccessibleAWTCheckboxMenuItem): Implement.
6126 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6128 * java/awt/List.java: Implement AccessibleAWTList,
6129 AccessibleAWTListChild.
6131 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6133 * java/awt/Choice.java: Add implements declaration for
6136 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6138 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6141 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6143 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6144 implemented interface list.
6146 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6148 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6149 * javax/imageio/metadata/IIOAttr.java: New class.
6150 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6151 * javax/imageio/metadata/IIONodeList.java: New class.
6152 * Makefile.am: Added new files.
6153 * Makefile.in: Regenerated.
6155 2005-02-15 Michael Koch <konqueror@gmx.de>
6157 * javax/swing/AbstractAction.java,
6158 javax/swing/AbstractCellEditor.java,
6159 javax/swing/AbstractListModel.java,
6160 javax/swing/DefaultBoundedRangeModel.java,
6161 javax/swing/DefaultButtonModel.java,
6162 javax/swing/DefaultCellEditor.java,
6163 javax/swing/DefaultComboBoxModel.java,
6164 javax/swing/DefaultDesktopManager.java,
6165 javax/swing/JMenu.java,
6166 javax/swing/JSlider.java,
6167 javax/swing/KeyStroke.java,
6168 javax/swing/OverlayLayout.java,
6169 javax/swing/ScrollPaneLayout.java,
6170 javax/swing/SizeRequirements.java,
6171 javax/swing/ViewportLayout.java:
6172 Made serialVersionUID private.
6174 2005-02-15 Michael Koch <konqueror@gmx.de>
6176 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6179 2005-02-15 Michael Koch <konqueror@gmx.de>
6181 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6183 2005-02-15 Michael Koch <konqueror@gmx.de>
6185 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6187 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6189 * java/awt/EventDispatchThread.java,
6190 java/awt/Toolkit.java:
6191 Don't catch java.lang.ThreadDeath.
6193 2005-02-15 Michael Koch <konqueror@gmx.de>
6195 * javax/swing/text/PasswordView.java
6196 (drawEchoCharacter): Added javadoc.
6197 (drawSelectedText): Likewise.
6198 (drawUnselectedText): Likewise.
6200 2005-02-15 Michael Koch <konqueror@gmx.de>
6202 * javax/swing/JRootPane.java
6203 (windowDecorationStyle): New field.
6204 (setMenuBar): New method.
6205 (getMenuBar): Likewise.
6206 (getWindowDecorationStyle): Likewise.
6207 (setWindowDecorationStyle): Likewise.
6209 2005-02-15 Michael Koch <konqueror@gmx.de>
6211 * javax/swing/DefaultListSelectionModel.java
6212 (leadAnchorNotificationEnabled): Made protected.
6214 2005-02-15 Michael Koch <konqueror@gmx.de>
6216 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6217 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6218 * Makefile.in: Regenerated.
6221 2005-02-15 Michael Koch <konqueror@gmx.de>
6223 * javax/swing/JFormattedTextField.java: Implemented.
6224 * javax/swing/JWindow.java
6225 (JWindow): New constructors.
6226 (initWindow): Renamed from initFrame.
6227 * javax/swing/UIDefaults.java
6228 (ActiveValue): Made interface static.
6229 (LazyValue): Likewise.
6230 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6231 (TitlePaneLayout.TitlePaneLayout): New constructor.
6232 * javax/swing/plaf/basic/BasicSliderUI.java
6233 (ChangeHandler): Made public.
6234 (FocusHandler): Likewise.
6235 (PropertyChangeHandler): Likewise.
6236 (ScrollListener): Likewise.
6237 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6238 (FocusHandler): Likewise.
6239 (MouseHandler): Likewise.
6240 * javax/swing/plaf/basic/BasicTextPaneUI.java
6241 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6242 * javax/swing/plaf/basic/BasicToolBarUI.java
6243 (BasicToolBarUI): Simplified. Reworked javadoc.
6244 (canDock): Simplified. Make public.
6245 (DockingListener): Made public.
6246 * javax/swing/text/JTextComponent.java
6247 (navigationFilter): New field.
6248 (getNavigationFilter): New method.
6249 (setNavigationFilter): Likewise.
6251 2005-02-15 Michael Koch <konqueror@gmx.de>
6253 * javax/swing/plaf/metal/MetalTheme.java
6254 (getControlTextColor): Return getControlInfo().
6255 (getHighlightedTextColor): Return getControlTextColor().
6257 2005-02-15 Michael Koch <konqueror@gmx.de>
6259 * javax/swing/plaf/basic/BasicButtonListener.java
6260 (BasicButtonListener): New constructor.
6261 * javax/swing/plaf/basic/BasicButtonUI.java
6262 (createButtonListener): Usw new BasicButtonListener constructor.
6264 2005-02-15 Michael Koch <konqueror@gmx.de>
6266 * javax/imageio/event/package.html,
6267 javax/imageio/metadata/package.html: New files.
6269 2005-02-15 Michael Koch <konqueror@gmx.de>
6271 * java/awt/image/MemoryImageSource.java: Reformatted.
6273 2005-02-15 Michael Koch <konqueror@gmx.de>
6275 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6277 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6279 * java/awt/color/ICC_Profile.java
6280 (finalize): Removed pointless field assignments.
6282 2005-02-15 Michael Koch <konqueror@gmx.de>
6284 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6285 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6286 * Makefile.in: Regenerated.
6288 2005-02-15 Michael Koch <konqueror@gmx.de>
6290 * javax/swing/text/DefaultStyledDocument.java: New file.
6291 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6292 * Makefile.in: Regenerated.
6294 2005-02-15 Michael Koch <konqueror@gmx.de>
6296 * javax/swing/JFileChooser.java
6297 (showDialog): Return CANCEL_OPTION for now.
6298 (showOpenDialog): Likewise.
6299 (showSaveDialog): Likewise.
6301 2005-02-15 Michael Koch <konqueror@gmx.de>
6303 * javax/swing/JApplet.java
6304 (HIDE_ON_CLOSE): Removed.
6305 (EXIT_ON_CLOSE): Likewise.
6306 (DISPOSE_ON_CLOSE): Likewise.
6307 (DO_NOTHING_ON_CLOSE): Likewise.
6308 (close_action): Likewise.
6309 (getDefaultCloseOperation): Likewise.
6310 (setDefaultCloseOperation): Likewise.
6311 (processWindowEvent): Likewise.
6312 (getPreferredSize): Simplified.
6313 * javax/swing/JInternalFrame.java
6314 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6316 * javax/swing/JWindow.java
6317 (HIDE_ON_CLOSE): Removed.
6318 (EXIT_ON_CLOSE): Likewise.
6319 (DISPOSE_ON_CLOSE): Likewise.
6320 (DO_NOTHING_ON_CLOSE): Likewise.
6321 (close_action): Likewise.
6322 (processKeyEvent): Likewise.
6323 (setDefaultCloseOperation): Likewise.
6324 (getPreferredSize): Simplified.
6326 2005-02-15 Michael Koch <konqueror@gmx.de>
6328 * javax/swing/JTextField.java
6329 (getPreferredSize): Re-implemented.
6331 2005-02-15 Michael Koch <konqueror@gmx.de>
6333 * javax/swing/JLabel.java
6334 (setDisplayedMnemonic): Use only upper case characters.
6335 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6336 PropertyChangeEvent after property got set to the new index.
6338 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6340 * javax/swing/JComboBox.java:
6341 (JComboBox): Removed selection of the
6342 first item in the model.
6344 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6346 * javax/swing/JComboBox.java
6347 added support for no item being selected
6348 (JComboBox): select first or nothing depending on element count
6349 (setModel): cleaned up unneeded "this." usage, added more
6350 docs, made exception behavior match that of the JDK
6351 (setLighWeightPopupEnabled): removed unneeded "this." usage
6353 (setMaximumRowCount): dito
6355 (setPrototypeDisplayValue): dito
6356 (getSelectedItem): simplified, added more user doc
6357 (setSelectedIndex): corrected exception behavior, added more user doc
6358 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6359 added performance warning to user doc
6360 (addItem): fixed exception behavior, added user doc
6361 (insertItemAt): dito
6363 (removeItemAt): dito
6364 (removeAll): fixed exception behavior, added user doc, added support
6365 for model not being instance of DefaultComboBoxModel
6366 (getSelectedItemObjects): simplified
6367 (getItemCount): fixed dependency on DefaultComboBoxModel
6368 (getItemAt): fixed dependency on MutableComboBoxModel
6369 * javax/swing/DefaultComboBoxModel.java:
6370 (setSelectedItem): updates selected item only if new
6371 value is null or known (match JDK behavior)
6372 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6373 (paintCurrentValue): renders "" if no item is selected
6375 2005-02-15 Michael Koch <konqueror@gmx.de>
6377 * javax/swing/plaf/metal/MetalTheme.java,
6378 javax/swing/plaf/metal/DefaultMetalTheme.java:
6380 * javax/swing/plaf/metal/MetalLookAndFeel.java
6381 * Makefile.am: Added the new files.
6382 * Makefile.in: Regenerated.
6384 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6386 * javax/swing/JTable.java
6387 (editorComp): New field.
6388 (JTable): Initialize local variables and call updateUI
6389 (selectionBackground): Make protected.
6390 (selectionForeground): Likewise.
6391 (initializeLocalVars): Create default editors and renderers,
6392 initialize editingColumn, editingRow variables.
6393 (createDefaultEditors): New Method.
6394 (createDefaultRenderers): Likewise.
6395 (createDefaultListSelectionModel): Removed
6396 (createDefaultSelectionModel): New Method.
6397 (createDefaultTableHeader): Likewise
6398 (removeColumn): Likewise.
6399 (getEditingColumn): Likewise.
6400 (setEditingColumn): Likewise.
6401 (getEditingRow): Likewise.
6402 (setEditingRow): Likewise.
6403 (getEditorComponent): Likewise.
6404 (isEditing): Likewise.
6405 (setDefaultEditor): Likewise.
6406 (addColumnSelectionInterval): Likewise.
6407 (addRowSelectionInterval): Likewise.
6408 (setColumnSelectionInterval): Likewise.
6409 (setRowSelectionInterval): Likewise.
6410 (removeColumnSelectionInterval): Likewise.
6411 (removeRowSelectionInterval): Likewise.
6412 (isColumnSelected): Likewise.
6413 (isRowSelected): Likewise.
6414 (isCellSelected): Likewise.
6415 (selectAll): Likewise.
6417 2005-02-15 Michael Koch <konqueror@gmx.de>
6419 * javax/swing/JTable.java
6420 (addColumn): New method.
6421 (getColumnClass): Likewise.
6422 (getColumnName): Likewise.
6424 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6426 * javax/swing/TransferHandler.java
6427 (createTransferable): Made protected.
6429 2005-02-15 Michael Koch <konqueror@gmx.de>
6431 * javax/swing/JTable.java,
6432 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6433 javax/swing/plaf/basic/BasicTableUI.java:
6434 Use fixed get/setIntercellSpacing() methods.
6436 2005-02-15 Michael Koch <konqueror@gmx.de>
6438 * javax/swing/JTable.java
6439 (getIntercellSpacing): Fixed typo in method name.
6440 (setIntercellSpacing): Likewise.
6442 2005-02-15 Michael Koch <konqueror@gmx.de>
6444 * javax/swing/text/JTextComponent.java
6445 (focusAccelerator): New variable.
6446 (getFocusAccelerator): New method.
6447 (setFocusAccelerator): Likewise.
6449 2005-02-15 Michael Koch <konqueror@gmx.de>
6451 * javax/swing/JComponent.java
6452 (setTransferHandler): Made public. Fire property change event.
6453 * javax/swing/TransferHandler.java: Implemented.
6454 * javax/swing/text/JTextComponent.java
6455 (DefaultTransferHandler): New inner class.
6456 (defaultTransferHandler): New variable.
6460 (doTransferAction): Likewise.
6462 2005-02-15 Michael Koch <konqueror@gmx.de>
6464 * javax/swing/JTree.java
6465 (collapsePath): New method.
6466 (collapseRow): Likewise.
6467 (expandPath): Likewise.
6468 (expandRow): Likewise.
6469 (checkExpandParents): Likewise.
6470 (doExpandParents): Likewise.
6471 (setExpandedState): Likewise.
6472 (makeVisible): Likewise.
6474 2005-02-15 Michael Koch <konqueror@gmx.de>
6476 * javax/swing/JPasswordField.java: Updated javadocs.
6478 2005-02-15 Michael Koch <konqueror@gmx.de>
6480 * javax/swing/JLayeredPane.java
6481 (getLayer): Fixed return type, made public.
6482 (getPosition): Use new getLayer().
6483 (SetPosition): Likewise.
6484 (getIndexOf): Likewise.
6486 * javax/swing/JInternalFrame.java
6487 (getLayer): Use new JLayeredPane.getLayer().
6490 2005-02-15 Michael Koch <konqueror@gmx.de>
6492 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6493 (setHeaderValue): Simplified. Do nothing when old value == new value.
6495 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6497 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6498 against null clip region.
6499 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6500 gtkWindowSetResizable.
6501 (postConfigureEvent): Only revalidate if frame size has changed.
6502 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6503 Only revalidate if frame size has changed.
6504 * java/awt/Component.java (reshape): Only repaint and post
6505 component events if component is showing.
6506 * java/awt/Container.java (addImpl): Only post container event if
6507 container is showing.
6509 * java/awt/Window.java (setLocationRelativeTo): Implement.
6510 (setBoundsCallback): Only post component events if component is
6512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6513 Protect against null graphics structure. Flush gdk event queue.
6515 2005-02-15 Michael Koch <konqueror@gmx.de>
6517 * javax/imageio/ImageReader.java,
6518 javax/imageio/ImageTranscoder.java,
6519 javax/imageio/ImageWriter.java,
6520 javax/imageio/spi/ImageInputStreamSpi.java,
6521 javax/imageio/spi/ImageOutputStreamSpi.java,
6522 javax/imageio/spi/ServiceRegistry.java,
6523 javax/imageio/stream/ImageInputStream.java,
6524 javax/imageio/stream/ImageOutputStream.java: Updated.
6525 * javax/imageio/IIOException.java,
6526 javax/imageio/IIOImage.java,
6527 javax/imageio/IIOParam.java,
6528 javax/imageio/IIOParamController.java,
6529 javax/imageio/ImageIO.java,
6530 javax/imageio/ImageReadParam.java,
6531 javax/imageio/ImageTypeSpecifier.java,
6532 javax/imageio/ImageWriteParam.java,
6533 javax/imageio/spi/IIORegistry.java,
6534 javax/imageio/spi/ImageReaderSpi.java,
6535 javax/imageio/spi/ImageWriterSpi.java,
6536 javax/imageio/stream/FileCacheImageInputStream.java,
6537 javax/imageio/stream/FileCacheImageOutputStream.java,
6538 javax/imageio/stream/FileImageInputStream.java,
6539 javax/imageio/stream/FileImageOutputStream.java,
6540 javax/imageio/stream/ImageInputStreamImpl.java,
6541 javax/imageio/stream/ImageOutputStreamImpl.java,
6542 javax/imageio/stream/MemoryCacheImageInputStream.java,
6543 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6544 javax/imageio/event/IIOReadProgressListener.java,
6545 javax/imageio/event/IIOReadUpdateListener.java,
6546 javax/imageio/event/IIOReadWarningListener.java,
6547 javax/imageio/event/IIOWriteProgressListener.java,
6548 javax/imageio/event/IIOWriteWarningListener.java,
6549 javax/imageio/metadata/IIOMetadata.java,
6550 javax/imageio/metadata/IIOMetadataController.java,
6551 javax/imageio/metadata/IIOMetadataFormat.java,
6552 javax/imageio/metadata/IIOInvalidTreeException.java,
6553 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6554 javax/imageio/metadata/IIOMetadataNode.java: New files.
6555 * Makefile.am (javax_source_files): Added new files
6556 * Makefile.in: Regenerated.
6558 2005-02-15 Graydon Hoare <graydon@redhat.com>
6560 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6561 Rework painting into BufferedImages
6562 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6563 Construct BufferedImage with alpha only when alpha is
6564 present in colormodel.
6565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6566 Rework painting into client-side jint arrays.
6567 * jni/gtk-peer/gtkcairopeer.h:
6570 2005-02-15 Michael Koch <konqueror@gmx.de>
6572 * javax/swing/DefaultListCellRenderer.java
6573 (serialVersionUID): Made private.
6574 (getListCellRendererComponent): Set horizontal alignment.
6575 * javax/swing/JLabel.java
6576 (setVerticalAlignment): Re-implemented.
6577 (setHorizontalAlignment): Do nothing if old value = new value.
6578 * javax/swing/JList.java
6579 (setCellRenderer): Likewise.
6580 (setModel): Re-implemented.
6581 (setSelectionModel): Likewise.
6583 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6585 * java/awt/Component.java,
6586 java/awt/geom/Rectangle2D.java:
6589 2005-02-15 Michael Koch <konqueror@gmx.de>
6591 * javax/swing/AbstractListModel.java
6592 (fireContentsChanged): Simplified.
6593 (fireIntervalAdded): Likewise.
6594 (fireIntervalRemoved): Likewise.
6595 * javax/swing/DefaultSingleSelectionModel.java:
6597 (fireStateChanged): Simplified.
6598 * javax/swing/JPopupMenu.java
6599 (setSelectionModel): Set property.
6601 2005-02-15 Michael Koch <konqueror@gmx.de>
6603 * java/awt/print/Book.java: Reformatted.
6605 2005-02-15 Michael Koch <konqueror@gmx.de>
6607 * java/awt/geom/Area.java
6608 (QuadSegment.curveArea): Remove unused variables.
6609 (CubicSegment.curveArea): Likewise.
6611 2005-02-15 Michael Koch <konqueror@gmx.de>
6613 * javax/swing/JTree.java
6614 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6615 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6616 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6617 (EXPANDED): New constant.
6618 (COLLAPSED): Likewise.
6619 (nodeStates): New field.
6620 (cellEditor): New method.
6621 (cellRenderer): Likewise.
6622 (selectionModel): Likewise.
6623 (treeModel): Likewise.
6624 (scrollPathToVisible): Likewise.
6625 (scrollRowToVisible): Likewise.
6626 (isCollapsed): Likewise.
6627 (isExpanded): Likewise.
6628 (clearToggledPaths): Likewise.
6629 (getDescendantToggledPaths): Likewise.
6630 (hasBeenExpanded): Likewise.
6631 (isVisible): Likewise.
6632 (isPathEditable): Likewise.
6634 2005-02-15 Michael Koch <konqueror@gmx.de>
6636 * javax/swing/JLayeredPane.java: Reformatted.
6638 2005-02-15 Michael Koch <konqueror@gmx.de>
6640 * javax/swing/tree/DefaultMutableTreeNode.java:
6642 * javax/swing/tree/MutableTreeNode.java:
6645 2005-02-15 Michael Koch <konqueror@gmx.de>
6647 * javax/swing/JFormattedTextField.java
6648 (setDocument): Call setDocument of super class. Don't fire property
6651 2005-02-15 Sven de Marothy <sven@physto.se>
6653 * java/awt/image/IndexColorModel.java:
6654 Add FIXME with respect to alpha handling.
6655 (getAlpha): Default to returning opaque pixels.
6656 * java/awt/image/MultiPixelPackedSampleModel.java
6657 (MultiPixelPackedSampleModel): Corrected parameters, order of
6658 bit shifts and masks, stride length off by one.
6660 2005-02-15 Michael Koch <konqueror@gmx.de>
6662 * javax/swing/JList.java, javax/swing/JTree.java:
6663 Added much new methods and fixed much methods setting bound properties.
6665 2005-02-16 Mark Wielaard <mark@klomp.org>
6667 * Makefile.am (gnu_xml_source_files): Removed
6668 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6669 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6670 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6671 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6672 gnu/xml/dom/DomDocumentFragment.java,
6673 gnu/xml/dom/DomProcessingInstruction.java and
6674 gnu/xml/dom/ls/DomLSException.java.
6675 * Makefile.in: Regenerated.
6677 2005-02-16 Tom Tromey <tromey@redhat.com>
6679 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6680 attribute index is out of bounds.
6682 2005-02-16 Chris Burdess <dog@gnu.org>
6684 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6685 isDeclared methods. Improved performance of isSpecified methods.
6687 2005-02-16 Chris Burdess <dog@gnu.org>
6689 Fixes bug libgcj/19864
6690 * gnu/xml/dom/DomAttr.java,
6691 gnu/xml/dom/DomCDATA.java,
6692 gnu/xml/dom/DomCDATASection.java,
6693 gnu/xml/dom/DomCharacterData.java,
6694 gnu/xml/dom/DomDOMException.java,
6695 gnu/xml/dom/DomDoctype.java,
6696 gnu/xml/dom/DomDocument.java,
6697 gnu/xml/dom/DomDocumentConfiguration.java,
6698 gnu/xml/dom/DomDocumentFragment.java,
6699 gnu/xml/dom/DomElement.java,
6700 gnu/xml/dom/DomEx.java,
6701 gnu/xml/dom/DomFragment.java,
6702 gnu/xml/dom/DomImpl.java,
6703 gnu/xml/dom/DomIterator.java,
6704 gnu/xml/dom/DomNamedNodeMap.java,
6705 gnu/xml/dom/DomNode.java,
6706 gnu/xml/dom/DomNsNode.java,
6707 gnu/xml/dom/DomPI.java,
6708 gnu/xml/dom/DomProcessingInstruction.java,
6709 gnu/xml/dom/DomText.java,
6710 gnu/xml/dom/DomLSEx.java,
6711 gnu/xml/dom/DomLSException.java,
6712 gnu/xml/dom/DomLSParser.java,
6713 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6714 implementation class names to conform to Classpath guidelines. Make
6715 DomLSException use JDK 1.4+ exception chaining.
6716 * gnu/xml/util/SAXNullTransformerFactory.java,
6717 gnu/xml/xpath/Predicate.java: Use constants relative to
6718 declaring class or interface.
6720 2005-02-16 Andrew Haley <aph@redhat.com>
6722 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6723 null, create a new AccessControlContext.
6724 * java/security/SecureClassLoader.java (protectionDomainCache):
6726 (defineClass): Create a new protection domain and add it to our
6729 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6730 addStub() to keep track of the stub we've exported.
6731 (unexportObject): Call deleteStub().
6732 * java/rmi/server/RemoteObject.java (stubs): New field.
6733 (addStub): New method.
6734 (deleteStub): New method.
6737 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6738 true to findHelper (tryParents).
6739 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6741 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6742 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6744 If tryParents is false, don't scan parent class loaders.
6746 * java/security/Permissions.java (PermissionsHash.implies):
6747 Iterate over the collection and invoke implies() on each
6750 2005-02-16 Andrew Haley <aph@redhat.com>
6752 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6754 (PersistentByteMap): Set name
6755 Magic number changed to 0x67636a64 ("gcjd").
6756 (init): Force the map to be prime.
6757 (emptyPersistentByteMap): File name was a string, now a File.
6758 (addBytes): Share srings between entries.
6759 (stringTableSize): New method.
6760 (capacity): Scale by load factor.
6761 (force): New method.
6762 (getFile): New method.
6763 (close): New method.
6764 (putAll): New method.
6765 (ByteWrapper): New class.
6766 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6767 (main): Guess the average string size as 32, not 64.
6768 Copy a database before modifying it, so that we can update a
6769 database in a running system.
6770 If a database isn't big enough, resize it.
6771 "-m": new option: merges databases.
6772 "-a": Create a new detabase if it doesn't exist.
6773 (usage): Correct, add new option.
6774 (addJar): Copy a database before modifying it.
6775 (resizeMap): New method.
6777 2005-02-15 David Daney <ddaney@avtrex.com>
6778 Bryce McKinlay <mckinlay@redhat.com>
6780 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6781 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6782 ensure that GC threads inherit the new signal mask.
6783 (block_sigchld): Call JvFail rather than throwing exception if
6784 pthread_sigmask() fails.
6786 2005-02-15 Mark Wielaard <mark@klomp.org>
6788 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6789 file path elements are separated by spaces.
6791 2005-02-15 Mark Wielaard <mark@klomp.org>
6793 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6794 to describe attributes without a constant field value in this class.
6796 2005-02-15 Michael Koch <konqueror@gmx.de>
6798 * java/util/jar/Attributes.java
6799 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6801 2005-02-15 Mark Wielaard <mark@klomp.org>
6803 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6804 space for parsing CLASS_PATH attribute.
6806 2005-02-15 Mark Wielaard <mark@klomp.org>
6808 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6809 aside for "GCJLIBS" in directory where jarfiles are loaded.
6810 (JarURLLoader.getClass): Removed method.
6811 (JarURLLoader.toString): Removed method.
6812 (FileResource.toString): Removed method.
6814 2005-02-15 Mark Wielaard <mark@klomp.org>
6816 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6817 and/or cause before throwing.
6819 2005-02-15 Richard Henderson <rth@redhat.com>
6821 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6822 (libgcj0_convenience_la_SOURCES): ... here.
6823 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6824 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6825 * Makefile.in: Regenerate.
6827 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6830 * include/jawt.h: Likewise.
6831 * include/jawt_md.h: Likewise.
6832 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6834 * include/Makefile.in: Regenerate.
6835 * jni/classpath/classpath_jawt.h: Likewise.
6836 * jni/gtk-peer/gtk_jawt.c: Likewise.
6837 * Makefile.am: Build libjawt.so.
6838 * Makefile.in: Regenerate.
6840 2005-02-14 Tom Tromey <tromey@redhat.com>
6842 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6844 2005-02-14 Tom Tromey <tromey@redhat.com>
6846 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6847 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6849 2005-02-14 Tom Tromey <tromey@redhat.com>
6852 * testsuite/libjava.lang/PR19929.out: New file.
6853 * testsuite/libjava.lang/PR19929.java: New file.
6855 2005-02-14 Anthony Green <green@redhat.com>
6858 * testsuite/libjava.jni/PR18116.c: New file.
6859 * testsuite/libjava.jni/PR18116.java: New file.
6860 * testsuite/libjava.jni/PR18116.out: New file.
6862 2005-02-13 Anthony Green <green@redhat.com>
6865 * jni.cc (nathash_add): Don't strdup the method signature.
6866 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6870 2005-02-12 Mark Wielaard <mark@klomp.org>
6872 Fixes bug libgcj/8170
6873 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6874 ClassNotFoundException.
6875 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6876 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6877 (remove_internal): New field superceding remove_interpreter.
6878 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6879 Remove no-class methods starting with "_Jv_". And Replace null
6880 class or method names with the empty string. Stop at either the
6881 MainThread or a real Thread run() method.
6882 (newElement): Made static.
6883 * java/net/URLClassLoader.java (findClass): Throw
6884 ClassNotFoundExceptions including urls, plus parent using toString().
6885 (thisString): New field.
6886 (toString): New method.
6888 2005-02-10 Tom Tromey <tromey@redhat.com>
6890 * external/sax/Makefile.in: Rebuilt.
6891 * external/sax/Makefile.am (all-local): Removed.
6892 (BUILT_SOURCES): New variable.
6893 (mostlyclean-local): No error if no classes to delete.
6894 * external/w3c_dom/Makefile.in: Rebuilt.
6895 * external/w3c_dom/Makefile.am (all-local): Removed.
6896 (BUILT_SOURCES): New variable.
6897 (mostlyclean-local): No error if no classes to delete.
6899 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6901 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6902 of mauve and libjava.
6904 2005-02-09 Tom Tromey <tromey@redhat.com>
6906 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6907 jar file with OPEN_DELETE.
6908 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6909 OPEN_DELETE is used.
6911 2005-02-09 Tom Tromey <tromey@redhat.com>
6913 * java/util/zip/InflaterInputStream.java (markSupported):
6915 (mark, reset): Likewise.
6917 2005-02-08 Tom Tromey <tromey@redhat.com>
6919 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6920 name or port is missing.
6921 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6922 AUTHORITY_PORT_GROUP): Updated.
6924 2005-02-08 Tom Tromey <tromey@redhat.com>
6926 * configure: Rebuilt.
6927 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6930 2005-02-07 Tom Tromey <tromey@redhat.com>
6932 * java/lang/natRuntime.cc (insertSystemProperties): Set
6933 sun.boot.class.path earlier.
6935 2005-02-07 Tom Tromey <tromey@redhat.com>
6937 * defineclass.cc (handleClassBegin): Use
6938 _Jv_RegisterInitiatingLoader.
6939 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6940 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6941 class. Use _Jv_UnregisterInitiatingLoader.
6942 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6945 2005-02-07 Mark Wielaard <mark@klomp.org>
6947 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6948 java/util/regex/Matcher.java (lookingAt): Set position when match
6950 (matches): Implemented through lookingAt().
6952 2005-02-07 Mark Wielaard <mark@klomp.org>
6954 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6955 * java/util/regex/Pattern.java (split(CharSequence,int)):
6956 Fix while empties > 0 loops.
6958 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6960 * gnu/java/nio/charset/ISO_8859_1.java,
6961 gnu/java/nio/charset/US_ASCII.java,
6962 gnu/java/nio/charset/UTF_16.java,
6963 gnu/java/nio/charset/UTF_16_LE.java,
6964 gnu/java/nio/charset/UTF_16_BE.java,
6965 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6966 and aliases according to
6967 "http://www.iana.org/assignments/character-sets",
6968 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6969 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6970 * gnu/java/nio/charset/Provider.java: Made charset lookup
6971 case-insensitive which fixes bug #11740.
6973 2005-02-07 Tom Tromey <tromey@redhat.com>
6976 * Makefile.in: Rebuilt.
6977 * Makefile.am (src.zip): New target.
6978 (install-src.zip): Likewise.
6979 (sourcesdir): New variable.
6981 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6983 * javax/imageio/metadata/IIOMetadataNode.java:
6985 * javax/imageio/metadata/IIOAttr.java,
6986 javax/imageio/metadata/IIONamedNodeMap.java,
6987 javax/imageio/metadata/IIONodeList.java:
6990 2005-02-06 Graydon Hoare <graydon@redhat.com>
6992 * gnu/java/awt/ClasspathToolkit.java
6993 (registerImageIOSpis): New method.
6994 * javax/imageio/ImageIO.java
6995 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6996 (WriterMIMETypeFilter.filter): Likewise.
6997 (ImageReaderIterator): Pass extension argument through to SPI.
6998 (getReadersByFilter): Likewise.
6999 (getWritersByFilter): Likewise.
7000 (getImageReadersByFormatName): Likewise.
7001 (getImageReadersByMIMEType): Likewise.
7002 (getImageReadersBySuffix): Likewise.
7003 (getImageWritersByFormatName): Likewise.
7004 (getImageWritersByMIMEType): Likewise.
7005 (getImageWritersBySuffix): Likewise.
7008 * javax/imageio/ImageReader.java
7009 (progressListeners): Initialize.
7010 (setInput): Implement.
7011 * javax/imageio/ImageWriter.java
7012 (progressListeners): Initialize.
7013 (warningListeners): Likewise.
7014 (warningLocales): Likewise.
7015 (setOutput): Test "isInstance" rather than class equality.
7016 * javax/imageio/spi/IIORegistry.java
7017 (static): Add reader and writer SPIs.
7018 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7020 2005-02-06 Michael Koch <konqueror@gmx.de>
7022 * javax/imageio/metadata/IIOInvalidTreeException.java
7023 (IIOInvalidTreeException): Reformatted.
7024 * javax/imageio/spi/IIORegistry.java
7025 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7026 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7027 Reworked import statements.
7029 2005-02-06 Michael Koch <konqueror@gmx.de>
7031 * javax/imageio/stream/FileImageOutputStream.java:
7034 2005-02-06 Michael Koch <konqueror@gmx.de>
7036 * javax/imageio/stream/FileCacheImageInputStream.java,
7037 javax/imageio/stream/FileCacheImageOutputStream.java,
7038 javax/imageio/stream/FileImageInputStream.java,
7039 javax/imageio/stream/ImageInputStreamImpl.java,
7040 javax/imageio/stream/ImageOutputStreamImpl.java,
7041 javax/imageio/stream/MemoryCacheImageInputStream.java,
7042 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7043 Added all missing methods in javax.imageio.stream.
7045 2005-02-02 David Daney <ddaney@avtrex.com>
7047 * java/net/InetAddress.java (InetAddress): Make a private copy of
7049 * java/net/Inet4Address.java (getAddress): Return a copy of the
7051 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7053 (getAddress): Return a copy of the address.
7056 2005-02-02 Tom Tromey <tromey@redhat.com>
7058 * Makefile.in: Rebuilt.
7059 * Makefile.am (classes.stamp): New target, broken out from
7061 ($(all_java_class_files)): Depend on it.
7062 (libgcj-@gcc_version@.jar): Likewise.
7063 (all-recursive): Likewise.
7064 (CLEANFILES): Include classes.stamp.
7066 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7068 * link.cc: Include <stdio.h>
7070 2005-02-02 Tom Tromey <tromey@redhat.com>
7073 * Makefile.in: Rebuilt.
7074 * Makefile.am (ordinary_java_source_files): Added new class.
7075 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7076 Use system_instance, not instance.
7077 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7078 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7080 (system_instance): New field.
7081 (initialize): Initialize the system loader as well.
7082 (VMClassLoader): Default to LIB_CACHE.
7084 2005-02-02 Tom Tromey <tromey@redhat.com>
7086 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7087 * prims.cc: Fixed comment.
7089 2005-02-01 Tom Tromey <tromey@redhat.com>
7091 * Makefile.in: Rebuilt.
7092 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7093 (.java.class): Use BOOTCLASSPATH.
7095 2005-02-01 Tom Tromey <tromey@redhat.com>
7097 * external/w3c_dom/Makefile.am: New file.
7098 * external/w3c_dom/Makefile.in: New file.
7099 * external/sax/Makefile.am: New file.
7100 * external/sax/Makefile.in: New file.
7101 * external/Makefile.in: New file.
7102 * external/Makefile.am: New file.
7103 * external/README: New file from Classpath.
7104 * configure, aclocal.m4, Makefile.in: Rebuilt.
7105 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7106 * Makefile.am (SUBDIRS): Added external.
7107 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7108 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7109 (BOOTCLASSPATH): New variable.
7110 (AM_GCJFLAGS): Use it.
7111 (gnu_xml_source_files): New variable.
7112 (libgcj_la_SOURCES): Use it.
7113 (libgcj_la_LDADD): Include new convenience libraries.
7114 (lib_org_ietf_jgss_la_SOURCES): Removed.
7115 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7116 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7117 (lib_org_w3c_dom_la_SOURCES): Removed.
7118 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7119 (lib_org_w3c_dom_la_LIBADD): Likewise.
7120 (lib_org_xml_sax_la_SOURCES): Removed.
7121 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7122 (lib_org_xml_sax_la_LIBADD): Likewise.
7123 (all_java_source_files): Updated.
7124 (property_files): Likewise.
7125 (libgcj-@gcc_version@.jar): Include classes from external/.
7126 (javax_source_files): Updated.
7127 (ordinary_java_source_files): Updated.
7128 * javax/xml/XMLConstants.java,
7129 javax/xml/datatype/DatatypeConfigurationException.java,
7130 javax/xml/datatype/DatatypeConstants.java,
7131 javax/xml/datatype/DatatypeFactory.java,
7132 javax/xml/datatype/Duration.java,
7133 javax/xml/datatype/XMLGregorianCalendar.java,
7134 javax/xml/datatype/package.html,
7135 javax/xml/namespace/NamespaceContext.java,
7136 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7137 javax/xml/parsers/DocumentBuilder.java,
7138 javax/xml/parsers/DocumentBuilderFactory.java,
7139 javax/xml/parsers/FactoryConfigurationError.java,
7140 javax/xml/parsers/ParserConfigurationException.java,
7141 javax/xml/parsers/SAXParser.java,
7142 javax/xml/parsers/SAXParserFactory.java,
7143 javax/xml/parsers/package.html,
7144 javax/xml/transform/ErrorListener.java,
7145 javax/xml/transform/OutputKeys.java,
7146 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7147 javax/xml/transform/SourceLocator.java,
7148 javax/xml/transform/Templates.java,
7149 javax/xml/transform/Transformer.java,
7150 javax/xml/transform/TransformerConfigurationException.java,
7151 javax/xml/transform/TransformerException.java,
7152 javax/xml/transform/TransformerFactory.java,
7153 javax/xml/transform/TransformerFactoryConfigurationError.java,
7154 javax/xml/transform/URIResolver.java,
7155 javax/xml/transform/package.html,
7156 javax/xml/transform/dom/DOMLocator.java,
7157 javax/xml/transform/dom/DOMResult.java,
7158 javax/xml/transform/dom/DOMSource.java,
7159 javax/xml/transform/dom/package.html,
7160 javax/xml/transform/sax/SAXResult.java,
7161 javax/xml/transform/sax/SAXSource.java,
7162 javax/xml/transform/sax/SAXTransformerFactory.java,
7163 javax/xml/transform/sax/TemplatesHandler.java,
7164 javax/xml/transform/sax/TransformerHandler.java,
7165 javax/xml/transform/sax/package.html,
7166 javax/xml/transform/stream/StreamResult.java,
7167 javax/xml/transform/stream/StreamSource.java,
7168 javax/xml/transform/stream/package.html,
7169 javax/xml/validation/Schema.java,
7170 javax/xml/validation/SchemaFactory.java,
7171 javax/xml/validation/TypeInfoProvider.java,
7172 javax/xml/validation/Validator.java,
7173 javax/xml/validation/ValidatorHandler.java,
7174 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7175 javax/xml/xpath/XPathConstants.java,
7176 javax/xml/xpath/XPathException.java,
7177 javax/xml/xpath/XPathExpression.java,
7178 javax/xml/xpath/XPathExpressionException.java,
7179 javax/xml/xpath/XPathFactory.java,
7180 javax/xml/xpath/XPathFactoryConfigurationException.java,
7181 javax/xml/xpath/XPathFunction.java,
7182 javax/xml/xpath/XPathFunctionException.java,
7183 javax/xml/xpath/XPathFunctionResolver.java,
7184 javax/xml/xpath/XPathVariableResolver.java,
7185 javax/xml/xpath/package.html: New files, from GNU JAXP.
7186 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7187 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7188 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7189 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7190 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7191 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7192 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7193 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7194 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7195 org/w3c/dom/ranges/DocumentRange.java,
7196 org/w3c/dom/ranges/Range.java,
7197 org/w3c/dom/ranges/RangeException.java,
7198 org/w3c/dom/traversal/DocumentTraversal.java,
7199 org/w3c/dom/traversal/NodeFilter.java,
7200 org/w3c/dom/traversal/NodeIterator.java,
7201 org/w3c/dom/traversal/TreeWalker.java,
7202 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7203 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7204 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7205 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7206 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7207 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7208 org/xml/sax/SAXNotRecognizedException.java,
7209 org/xml/sax/SAXNotSupportedException.java,
7210 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7211 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7212 org/xml/sax/ext/DeclHandler.java,
7213 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7214 org/xml/sax/helpers/AttributeListImpl.java,
7215 org/xml/sax/helpers/AttributesImpl.java,
7216 org/xml/sax/helpers/DefaultHandler.java,
7217 org/xml/sax/helpers/LocatorImpl.java,
7218 org/xml/sax/helpers/NamespaceSupport.java,
7219 org/xml/sax/helpers/NewInstance.java,
7220 org/xml/sax/helpers/ParserAdapter.java,
7221 org/xml/sax/helpers/ParserFactory.java,
7222 org/xml/sax/helpers/XMLFilterImpl.java,
7223 org/xml/sax/helpers/XMLReaderAdapter.java,
7224 org/xml/sax/helpers/XMLReaderFactory.java,
7225 org/xml/sax/helpers/package.html: Moved to external/.
7226 * external/sax/README,
7227 external/sax/org/xml/sax/AttributeList.java,
7228 external/sax/org/xml/sax/Attributes.java,
7229 external/sax/org/xml/sax/ContentHandler.java,
7230 external/sax/org/xml/sax/DTDHandler.java,
7231 external/sax/org/xml/sax/DocumentHandler.java,
7232 external/sax/org/xml/sax/EntityResolver.java,
7233 external/sax/org/xml/sax/ErrorHandler.java,
7234 external/sax/org/xml/sax/HandlerBase.java,
7235 external/sax/org/xml/sax/InputSource.java,
7236 external/sax/org/xml/sax/Locator.java,
7237 external/sax/org/xml/sax/Parser.java,
7238 external/sax/org/xml/sax/SAXException.java,
7239 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7240 external/sax/org/xml/sax/SAXNotSupportedException.java,
7241 external/sax/org/xml/sax/SAXParseException.java,
7242 external/sax/org/xml/sax/XMLFilter.java,
7243 external/sax/org/xml/sax/XMLReader.java,
7244 external/sax/org/xml/sax/package.html,
7245 external/sax/org/xml/sax/ext/Attributes2.java,
7246 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7247 external/sax/org/xml/sax/ext/DeclHandler.java,
7248 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7249 external/sax/org/xml/sax/ext/EntityResolver2.java,
7250 external/sax/org/xml/sax/ext/LexicalHandler.java,
7251 external/sax/org/xml/sax/ext/Locator2.java,
7252 external/sax/org/xml/sax/ext/Locator2Impl.java,
7253 external/sax/org/xml/sax/ext/package.html,
7254 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7255 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7256 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7257 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7258 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7259 external/sax/org/xml/sax/helpers/NewInstance.java,
7260 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7261 external/sax/org/xml/sax/helpers/ParserFactory.java,
7262 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7263 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7264 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7265 external/sax/org/xml/sax/helpers/package.html,
7266 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7267 external/w3c_dom/org/w3c/dom/Attr.java,
7268 external/w3c_dom/org/w3c/dom/CDATASection.java,
7269 external/w3c_dom/org/w3c/dom/CharacterData.java,
7270 external/w3c_dom/org/w3c/dom/Comment.java,
7271 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7272 external/w3c_dom/org/w3c/dom/DOMError.java,
7273 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7274 external/w3c_dom/org/w3c/dom/DOMException.java,
7275 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7276 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7277 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7278 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7279 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7280 external/w3c_dom/org/w3c/dom/Document.java,
7281 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7282 external/w3c_dom/org/w3c/dom/DocumentType.java,
7283 external/w3c_dom/org/w3c/dom/Element.java,
7284 external/w3c_dom/org/w3c/dom/Entity.java,
7285 external/w3c_dom/org/w3c/dom/EntityReference.java,
7286 external/w3c_dom/org/w3c/dom/NameList.java,
7287 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7288 external/w3c_dom/org/w3c/dom/Node.java,
7289 external/w3c_dom/org/w3c/dom/NodeList.java,
7290 external/w3c_dom/org/w3c/dom/Notation.java,
7291 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7292 external/w3c_dom/org/w3c/dom/Text.java,
7293 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7294 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7295 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7296 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7297 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7298 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7299 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7300 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7301 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7302 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7303 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7304 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7305 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7306 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7307 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7308 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7309 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7310 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7311 external/w3c_dom/org/w3c/dom/css/Counter.java,
7312 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7313 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7314 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7315 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7316 external/w3c_dom/org/w3c/dom/css/Rect.java,
7317 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7318 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7319 external/w3c_dom/org/w3c/dom/events/Event.java,
7320 external/w3c_dom/org/w3c/dom/events/EventException.java,
7321 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7322 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7323 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7324 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7325 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7326 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7327 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7328 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7329 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7330 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7331 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7332 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7333 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7334 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7335 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7336 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7337 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7338 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7339 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7340 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7341 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7342 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7343 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7344 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7345 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7346 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7347 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7348 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7349 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7350 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7351 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7352 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7353 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7354 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7355 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7356 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7357 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7358 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7359 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7360 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7361 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7362 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7363 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7364 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7365 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7366 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7367 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7368 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7369 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7370 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7371 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7372 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7373 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7374 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7375 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7376 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7377 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7378 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7379 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7380 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7381 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7382 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7383 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7384 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7385 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7386 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7387 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7388 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7389 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7390 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7391 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7392 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7393 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7394 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7395 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7396 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7397 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7398 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7399 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7400 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7401 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7402 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7403 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7404 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7405 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7406 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7407 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7408 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7409 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7410 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7411 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7412 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7415 2005-01-31 Anthony Green <green@redhat.com>
7417 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7418 Support IP_MULTICAST_LOOP.
7419 (setOption): Support IP_MULTICAST_LOOP.
7421 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7422 SO_REUSEADDR support.
7423 (getOption): Support SO_REUSEADDR.
7425 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7428 * java/util/Date.java
7429 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7431 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7433 (getTimezoneOffset): Inverted sign.
7435 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7437 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7438 remove other passing tests and add new XFAILs.
7440 2005-01-24 Tom Tromey <tromey@redhat.com>
7442 * java/lang/Class.h (next): Updated documentation. Renamed to
7444 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7445 _Jv_CheckABIVersion.
7446 (_Jv_RegisterClasses_Counted): Likewise.
7447 (_Jv_RegisterClassHookDefault): Fix starting condition of
7448 duplicate-checking loop.
7449 * include/jvm.h (GCJ_VERSION): New define.
7450 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7451 (_Jv_CheckABIVersion): New function.
7453 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7455 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7456 (libgij_la_LDFLAGS): Add.
7457 * Makefile.in: Rebuilt.
7459 2005-01-24 Roger Sayle <roger@eyesopen.com>
7462 * testsuite/libjava.compile/PR19295.java: New test case.
7464 2005-01-19 Tom Tromey <tromey@redhat.com>
7466 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7467 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7468 if 'handler' is valid.
7470 2005-01-17 Tom Tromey <tromey@redhat.com>
7472 * java/text/MessageFormat.java (scanString): Changed how quoting
7474 (scanFormatElement): Likewise.
7476 2004-12-07 Mark Wielaard <mark@klomp.org>
7478 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7480 2005-01-15 Michael Koch <konqueror@gmx.de>
7484 (AUTHORITY_REGEXP): New regexp constant.
7485 (AUTHORITY_USERINFO_GROUP): New constant.
7486 (AUTHORITY_HOST_GROUP): Likewise.
7487 (AUTHORITY_PORT_GROUP): Likewise.
7488 (port): Changed default value to -1.
7489 (parseURI): Parse authority part and initialize host,
7492 2005-01-14 Robin Green <greenrd@greenrd.org>
7494 * java/io/File.java (toURI): Generate a URI which we understand.
7496 2005-01-13 Graydon Hoare <graydon@redhat.com>
7498 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7499 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7500 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7501 * jni.cc: Reuse bottom frame between calls, avoid clearing
7502 frame when no local references are made.
7504 2005-01-13 Michael Koch <konqueror@gmx.de>
7507 * java/lang/Thread.java
7508 (Thread): Call checkAccess().
7509 (stop): Fixed argument name to match javadoc.
7510 * java/lang/natThread.cc
7511 (interrupt): Call checkAccess().
7514 2005-01-11 Michael Koch <konqueror@gmx.de>
7517 * java/net/URL.java (URL): Handle specs like
7518 "/redir?http://domain2.com/index.html" which start with a slash.
7520 2005-01-11 Michael Koch <konqueror@gmx.de>
7522 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7523 * gnu/java/net/BASE64.java,
7524 gnu/java/net/EmptyX509TrustManager.java,
7525 gnu/java/net/LineInputStream.java,
7526 gnu/java/net/protocol/http/Authenticator.java,
7527 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7528 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7529 gnu/java/net/protocol/http/ChunkedInputStream.java,
7530 gnu/java/net/protocol/http/Cookie.java,
7531 gnu/java/net/protocol/http/CookieManager.java,
7532 gnu/java/net/protocol/http/Credentials.java,
7533 gnu/java/net/protocol/http/HTTPConnection.java,
7534 gnu/java/net/protocol/http/HTTPDateFormat.java,
7535 gnu/java/net/protocol/http/HTTPURLConnection.java,
7536 gnu/java/net/protocol/http/Headers.java,
7537 gnu/java/net/protocol/http/Request.java,
7538 gnu/java/net/protocol/http/RequestBodyWriter.java,
7539 gnu/java/net/protocol/http/Response.java,
7540 gnu/java/net/protocol/http/ResponseBodyReader.java,
7541 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7542 gnu/java/net/protocol/http/SimpleCookieManager.java,
7543 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7544 gnu/java/net/protocol/http/event/ConnectionListener.java,
7545 gnu/java/net/protocol/http/event/RequestEvent.java,
7546 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7547 * gnu/java/net/protocol/http/Connection.java: Removed.
7548 * gnu/java/net/protocol/http/Handler.java,
7549 javax/net/ssl/HttpsURLConnection.java: Updated.
7550 * Makefile.am: Added new files and remove old ones.
7551 * Makefile.in: Regenerated.
7553 2005-01-11 Tom Tromey <tromey@redhat.com>
7556 * java/io/BufferedInputStream.java (read): Repeatedly read to
7558 (refill): Change test to see if buffer must be grown.
7560 2005-01-10 Tom Tromey <tromey@redhat.com>
7562 * mauve-libgcj: Exclude some swing tests.
7564 2005-01-10 Tom Tromey <tromey@redhat.com>
7566 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7567 * java/lang/Package.java (getPackages): Use VMClassLoader when
7569 (getPackage): Likewise.
7570 * prims.cc (_Jv_CreateJavaVM): Call
7571 _Jv_RegisterBootstrapPackages.
7572 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7573 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7574 (getPackages): Likewise.
7575 (definedPackages): New field.
7576 (definePackageForNative): New method.
7577 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7578 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7579 * defineclass.cc (handleClassBegin): Use
7580 ClassLoader.findLoadedClass.
7581 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7583 (struct _Jv_LoaderInfo): Removed.
7584 (initiated_classes): Likewise.
7585 (_Jv_UnregisterClass): Don't use initiated_classes.
7586 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7587 (_Jv_FindClass): Register classes found during boostrap.
7588 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7589 (bootstrap_class_list): New global.
7590 (bootstrap_index): Likewise.
7591 (_Jv_RegisterBootstrapPackages): New function.
7592 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7593 definePackageForNative.
7594 (findClass): Updated.
7595 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7598 2005-01-10 Tom Tromey <tromey@redhat.com>
7601 * include/jvm.h (_Jv_Linker::find_field): Declare.
7602 (_Jv_Linker::find_field_helper): Likewise.
7603 * link.cc (find_field_helper): New method.
7604 (find_field): Likewise.
7605 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7607 (link_symbol_table): Use find_field.
7609 2005-01-10 Michael Koch <konqueror@gmx.de>
7612 * java/util/Locale.java (Locale): Don't uppercase variant.
7613 (getISOCountries): Fixed typo in javadoc.
7615 2005-01-10 Michael Koch <konqueror@gmx.de>
7617 * java/util/SimpleTimeZone.java (checkRule):
7618 Throw IllegalArgumentException on invalid month values.
7619 * java/util/TimeZone.java (setID):
7620 Throw NullPointerException if needed.
7622 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7624 * java/util/SimpleTimeZone.java (getOffset):
7625 offset end date with daylight savings
7627 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7629 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7630 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7632 2005-01-09 Michael Koch <konqueror@gmx.de>
7635 * java/net/InetAddress.java (getLocalHost):
7636 Throw UnknownHostException if local hostname cannot be determined.
7638 2005-01-06 Tom Tromey <tromey@redhat.com>
7640 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7642 2005-01-07 Michael Koch <konqueror@gmx.de>
7645 * java/nio/Buffer.java (address): New field.
7646 * java/nio/DirectByteBufferImpl.java (address): Removed.
7647 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7648 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7649 Explicitly initialize Buffer.address if needed.
7650 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7651 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7652 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7653 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7654 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7655 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7656 DirectByteBufferImpl object.
7657 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7658 * testsuite/libjava.jni/directbuffer.c,
7659 testsuite/libjava.jni/directbuffer.java,
7660 testsuite/libjava.jni/directbuffer.out,
7661 testsuite/libjava.jni/bytebuffer.c,
7662 testsuite/libjava.jni/bytebuffer.java,
7663 testsuite/libjava.jni/bytebuffer.out: New files.
7665 2005-01-05 Tom Tromey <tromey@redhat.com>
7667 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7669 (compressedSize): Now 'long'. Default to -1.
7670 (getCompressedSize): Rewrote.
7671 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7672 deflate at all if we need input.
7674 2005-01-05 Tom Tromey <tromey@redhat.com>
7677 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7680 2005-01-05 Tom Tromey <tromey@redhat.com>
7682 * java/lang/natRuntime.cc (insertSystemProperties): Set
7683 java.ext.dirs earlier.
7685 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7687 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7688 sync_info element of the object if needed.
7690 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7692 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7693 a non-zero exit status from 'false'.
7695 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7697 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.