1 2005-06-14 Tom Tromey <tromey@redhat.com>
3 * java/lang/Class.java (getClasses): New method.
4 (internalGetClasses): Likewise.
5 (getClassLoader): Updated documentation.
6 (getDeclaredClasses): New overload; old overload no longer
8 (_getConstructors): Removed.
9 (resourcePath): Updated.
10 * java/lang/natClass.cc (getClasses): Removed.
11 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
13 (_getConstructors): Removed.
15 2005-06-13 Jim Huang <jserv@kaffe.org>
18 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
19 (_Jv_JNI_NewObject): Likewise.
21 2005-06-13 Tom Tromey <tromey@redhat.com>
24 * testsuite/libjava.lang/pr21844.java: New file.
25 * testsuite/libjava.lang/pr21844.out: New file.
27 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
30 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
33 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
35 * java/text/MessageFormat.java (parse): When parsing strings, check
36 for an empty pattern trailer.
38 2005-06-06 Keith Seitz <keiths@redhat.com>
40 * gnu/classpath/jdwp/util/Signature.java: New file.
41 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
43 2005-06-05 Anthony Green <green@redhat.com>
45 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
48 2005-06-04 Anthony Green <green@redhat.com>
50 * java/net/URLClassLoader.java: import gnu.gcj.Core,
51 and gnu.java.net.protocol.core.CoreInputStream.
52 (CureURLLoader): New class.
53 (CoreResource): New class.
54 (addURLImpl): Add special treatment for the "core" protocol.
55 * gnu/gcj/natCore.cc (find): New method.
56 * gnu/gcj/Core.java (find): New method.
58 2005-06-03 Keith Seitz <keiths@redhat.com>
60 * gnu/classpath/jdwp/transport/ITransport.java: New file.
61 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
62 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
64 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
66 * jawt.c: Remove malloc.h, covered by stdlib.h.
68 * testsuite/libjava.jni/jni.exp
69 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
72 2005-06-02 Keith Seitz <keiths@redhat.com>
74 * gnu/classpath/jdwp/transport/TransportException.java: New file.
76 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
78 * mauve-libgcj: Remove implemented classes from the fail section.
79 Add two new not implemented to it.
81 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
83 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
84 AC_SUBST definition from configure.host.
85 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
86 to -fomit-frame-pointer on 32-bit x86 targets.
88 2005-06-01 Tom Tromey <tromey@redhat.com>
90 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
92 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
95 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
96 (static): Add possessive matching to JAVA_1_4 syntax.
97 * gnu/regexp/RETokenRepeated.java (possessive): New field.
98 (makePossessive, isPossessive): New methods.
99 (match): Don't back off during possessive matching.
100 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
101 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
104 2005-06-01 Keith Seitz <keiths@redhat.com>
106 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
107 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
108 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
110 2005-06-01 Tom Tromey <tromey@redhat.com>
113 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
114 (currentLoader): New method.
115 * java/io/ObjectInputStream.java (resolveProxyClass): Use
117 (currentLoader): Now native.
118 (currentClassLoader): Removed.
119 * testsuite/libjava.lang/pr21785.java: New file.
120 * testsuite/libjava.lang/pr21785.out: New file.
122 2005-06-01 Tom Tromey <tromey@redhat.com>
125 * java/lang/natString.cc (substring): Changed sharing heuristic.
127 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
130 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
131 MAXPATHLEN. Format exception message using a StringBuffer instead.
133 2005-05-29 Michael Koch <konqueror@gmx.de>
136 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
138 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
140 * ChangeLog: Fix typo.
142 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
144 Testsuite adjustments for PR java/19870.
145 * testsuite/libjava.lang/PR19870.java: New testcase.
146 * testsuite/libjava.lang/PR19870.out: Expected output for the
148 * testsuite/libjava.jacks/jacks.xfail: Add
149 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
152 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
154 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
155 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
156 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
158 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
159 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
160 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
161 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
163 2005-05-25 Richard Henderson <rth@redhat.com>
166 * sysdep/descriptor-n.h: New file.
167 * sysdep/descriptor-y.h: New file.
168 * sysdep/powerpc/descriptor.h: New file.
169 * configure.host: Set $descriptor_h appropriate for the host.
170 * configure.ac: Link it.
171 * configure: Regenerate.
172 * stacktrace.cc: Include sysdep/descriptor.h.
173 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
175 2005-05-25 Chris Burdess <dog@gnu.org>
177 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
178 end entity callbacks.
180 2005-05-24 Gary Benson <gbenson@redhat.com>
183 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
184 Handle DateFormat.DEFAULT case correctly.
186 2005-05-21 Tom Tromey <tromey@redhat.com>
189 * java/lang/ref/natReference.cc (find_slot): Handle case where
190 table has no NULL entries.
191 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
192 table has no NULL entries.
194 2005-05-22 Andreas Jaeger <aj@suse.de>
196 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
199 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
201 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
203 2005-05-19 Richard Henderson <rth@redhat.com>
205 * exception.cc: Revert 05-17 gcc_unreachable change.
207 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
209 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
210 _Jv_RegisterInitiatingLoader to register array classes, not
212 (_Jv_RegisterInitiatingLoader): Give up if called very early during
213 bootstrapping. Add a FIXME to handle this case better.
215 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
217 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
219 (libgcj_la_SOURCES): New. Move sources here.
220 (libgcj.la): Remove rule.
222 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
225 * gnu/java/security/provider/DSASignature.java: Import updates
228 2005-05-18 Anthony Green <green@redhat.com>
230 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
231 classpath_jawt_object_unlock, classpath_jawt_create_lock,
232 classpath_jawt_destroy_lock): New functions.
233 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
234 classpath_jawt_object_unlock, classpath_jawt_create_lock,
235 classpath_jawt_destroy_lock): New functions.
236 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
238 * jawt.c: #include malloc.h.
239 (_Jv_Lock): Use lock.
241 (_Jv_GetDrawingSurface): Initialize lock.
242 (_Jv_FreeDrawingSurface): Destroy lock.
243 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
245 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
247 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
248 * Makefile.in: Regenerate.
250 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
252 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
253 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
254 * aclocal.m4, configure, config.h.in, include/config.h.in,
255 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
256 external/Makefile.in, external/sax/Makefile.in,
257 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
259 2005-05-17 David Daney <ddaney@avtrex.com>
262 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
264 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
266 * exception.cc (abort): Remove std::abort hack.
267 (gcc_unreacheable): Define.
269 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
271 * Makefile.am (Makefile.deps): Do not create native.list and
273 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
274 * Makefile.in: Regenerate.
276 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
278 * configure.ac (--enable-libgcj-multifile): Remove.
280 * Makefile.am (all_native_compiled_source_files,
281 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
282 all_libgcj_lo_files, all_xlib_lo_files,
283 all_java_deps_files, all_java_stamp_files,
284 all_java_filelist_files): New variables.
285 (EXTRA_DIST): New Automake variable.
286 (CLEANFILES): Add .stamp, .list and .lo files.
287 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
288 (classes.stamp): Depend on $(all_java_stamp_files).
289 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
290 going through write_entries_to_file.
292 (all_java_source_files, all_property_files): Move earlier.
293 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
294 all_java_class_files): Remove.
295 (gtk_awt_peer_sources): Rename to...
296 (gtk_awt_peer_source_files): ... this. Adjust throughout.
299 (libgcj0_convenience_la_SOURCES): Remove Java source files.
300 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
301 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
302 (libgcj_la_SOURCES): Remove.
303 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
304 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
305 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
307 * configure: Regenerate.
308 * Makefile.in: Regenerate.
309 * external/Makefile.in: Regenerate.
310 * external/sax/Makefile.in: Regenerate.
311 * external/w3c_dom/Makefile.in: Regenerate.
312 * gcj/Makefile.in: Regenerate.
313 * include/Makefile.in: Regenerate.
314 * libltdl/Makefile.in: Regenerate.
315 * testsuite/Makefile.in: Regenerate.
317 2005-05-16 Tom Tromey <tromey@redhat.com>
319 * java/nio/charset/Charset.java (encode, decode): Synchronize on
320 'this', not the class.
322 2005-05-16 Tom Tromey <tromey@redhat.com>
324 * gnu/java/net/protocol/http/Headers.java (parse): Include final
327 2005-05-16 Tom Tromey <tromey@redhat.com>
330 * java/net/URI.java (unquote): Handle lower-case letters as well.
332 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
335 * gnu/regexp/RE.java: Add support for quoting constructs.
337 2005-05-15 Tom Tromey <tromey@redhat.com>
339 * java/lang/String.java (startsWith): Fixed javadoc.
341 2005-05-15 Tom Tromey <tromey@redhat.com>
344 * testsuite/libjava.compile/pr21519.java: New file.
345 * testsuite/libjava.compile/pr21519.no-link: New file.
347 2005-05-15 Tom Tromey <tromey@redhat.com>
349 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
351 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
354 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
355 interrupt status flag if _Jv_CondWait is interrupted.
357 2005-05-13 Tom Tromey <tromey@redhat.com>
359 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
362 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
364 * include/jvm.h (gcj::verifyClasses): Declare.
365 * link.cc (gcj::verbose_class_flag): Moved.
366 * prims.cc (gcj::verifyClasses): Define here.
367 (gcj::verbose_class_flag): Move definition here.
368 (_Jv_Linker::wait_for_state): Don't call verify_class
369 if gcj::verifyClasses is not set.
370 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
372 2005-05-12 Aaron Luchko <aluchko@redhat.com>
374 * gij.cc (main): Recognize '-verify', '-noverify', and
377 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
379 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
381 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
383 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
386 2005-05-11 Tom Tromey <tromey@redhat.com>
388 * external/w3c_dom/Makefile.in: Rebuilt.
389 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
391 * external/sax/Makefile.in: Rebuilt.
392 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
394 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
396 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
397 Call _Jv_CopyClassesToSystemLoader.
398 * java/lang/natClassLoader.cc (system_class_list): New global.
399 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
401 (_Jv_CopyClassesToSystemLoader): New function.
402 (SYSTEM_LOADER_INITIALIZED): New define.
403 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
404 (_Jv_CheckABIVersion): Use it.
405 (_Jv_ClassForBootstrapLoader): New function.
406 * Makefile.in: Rebuilt.
407 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
409 2005-05-10 Tom Tromey <tromey@redhat.com>
411 * gcj/javaprims.h: Updated.
412 * java/lang/String.java (String(StringBuilder)): New constructor.
413 * java/lang/natStringBuilder.cc: New file.
414 * java/lang/StringBuilder.java: New file.
415 * Makefile.in: Rebuilt.
416 * Makefile.am (core_java_source_files): Added StringBuilder.java.
417 (nat_source_files): Added natStringBuilder.cc.
419 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
422 * testsuite/libjava.jacks/jacks.xfail: Adjust.
424 2005-05-09 Mike Stump <mrs@apple.com>
426 * configure: Regenerate.
428 2005-05-09 David Daney <ddaney@avtrex.com>
430 * java/util/BitSet.java (get(int, int)): Fix breakage when
431 requested set doesn't start on a multiple of 64.
433 2005-05-07 Matthias Klose <doko@debian.org>
435 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
437 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
439 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
440 * Makefile.in: Regenerate.
441 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
442 (createCompatibleVolatileImage(int,int)): Implement.
443 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
445 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
447 (createVolatileImage): Implement.
448 (createBuffers): Likewise.
449 (getBackBuffer): Likewise.
451 (destroyBuffers): Likewise.
452 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
453 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
454 (CanvasFlipBufferStrategy): Likewise.
455 (createBufferStrategy(int)): New method.
456 (createBufferStrategy(int,BufferCapabilities)): Likewise.
457 * java/awt/Component.java (BltBufferStrategy): Implement and
459 (FlipBufferStrategy): Likewise.
460 * java/awt/Window.java (WindowBltBufferStrategy): New class.
461 (WindowFlipBufferStrategy): Likewise.
462 (createBufferStrategy(int)): New method.
463 (createBufferStrategy(int,BufferCapabilities)): Likewise.
464 (getBufferStrategy): Likewise.
465 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
466 front to frontCaps and back to backCaps.
468 2005-05-06 Michael Koch <konqueror@gmx.de>
470 * java/awt/BufferCapabilities.java
471 (BufferCapabilities): Merged javadoc.
473 2005-05-06 Michael Koch <konqueror@gmx.de>
475 * java/util/Locale.java
476 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
477 (getLocale): New methods. Use it everywhere where instances of Locales
479 (getDisplayLanguage): Merged javadoc.
480 (getDisplayCountry): Likewise.
481 (getDisplayVariant): Likewise.
483 2005-05-06 Archie Cobbs <archie@dellroad.org>
485 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
486 use DeleteLocalRef() to avoid exhausting local native references.
488 2005-05-06 Mark Wielaard <mark@klomp.org>
490 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
491 (window_delete_cb): Don't use C++ style comments.
493 2005-05-06 Robert Schuster <thebohemian@gmx.net>
495 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
498 2005-05-06 Robert Schuster <thebohemian@gmx.net>
500 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
501 (window_delete_cb): Made the function return TRUE.
503 2005-05-06 Roman Kennke <roman@kennke.org>
505 * javax/swing/text/PlainView.java
506 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
508 * javax/swing/text/Utilities.java
509 (drawTabbedText): Initilialize local variable pos correctly.
511 2005-05-06 Roman Kennke <roman@kennke.org>
513 * javax/swing/text/AbstractDocument.java
514 (LeafElement): Made start and end package private fields for
515 effective reindexing.
516 * javax/swing/text/PlainDocument.java
517 (constructor): The field rootElement is always BranchElement,
518 so we handle it as such.
519 (removeUpdate): Rewritten reindexing for removeUpdate so that
520 the actual removal is taken into account.
522 2005-05-06 Roman Kennke <roman@kennke.org>
524 * javax/swing/text/GapContent.java:
525 Removed debugging output stuff, which I accidentally left in.
527 2005-05-06 Roman Kennke <roman@kennke.org>
529 * javax/swing/text/GapContent.java:
530 Implemented a real GapContent. Only the public methods have
531 been implemented so far and still no UndoableEdit support.
533 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
535 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
538 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
540 * java/awt/image/BufferStrategy.java: Document.
542 * java/awt/BufferCapabilities.java: Document.
544 2005-05-04 Tom Tromey <tromey@redhat.com>
546 * java/nio/channels/FileLock.java (toString): Entirely avoid
549 2005-05-04 Andrew Overholt <overholt@redhat.com>
551 * java/nio/channels/FileLock.java (toString): Re-implement using
554 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
556 * java/awt/ImageCapabilities.java: Document.
558 * java/awt/image/VolatileImage.java: Unindent copyright header.
560 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
562 * java/awt/image/VolatileImage.java: Document.
564 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
566 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
567 (init_glib_threads): Check if threading system is already
570 2005-05-03 Andrew Overholt <overholt@redhat.com>
573 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
574 could not be acquired.
575 * java/nio/channels/FileLock.java (toString): Re-implement to be
576 in line with other implementations.
578 2005-05-03 Tom Tromey <tromey@redhat.com>
580 * java/lang/VMSecurityManager.java (currentClassLoader): Use
581 'systemClasssLoader' directly.
583 2005-05-03 Tom Tromey <tromey@redhat.com>
585 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
586 call VMClassLoader.getSystemClassLoader.
588 2005-04-29 Michael Koch <konqueror@gmx.de>
590 * java/net/NetworkInterface.java
592 (NetworkInterface(String,InetAddress)): Made package-private.
593 (NetworkInterface(String,InetAddress[])): New constructor.
594 (getRealNetworkInterfaces): Removed.
595 (getByName): Use VMNetworkInterface.getInterfaces().
596 (getByInetAddress): Likewise.
597 (getNetworkInterfaces): Likewise.
598 * java/net/VMNetworkInterface.java,
599 java/net/natVMNetworkInterfaceNoNet.cc,
600 java/net/natVMNetworkInterfacePosix.c,c
601 java/net/natVMNetworkInterfaceWin32.cc: New files.
602 * java/net/natNetworkInterfaceNoNet.cc,
603 java/net/natNetworkInterfacePosix.cc,
604 java/net/natNetworkInterfaceWin32.cc: Removed.
607 * configure, Makefile.in: Regenerated.
609 2005-04-29 Andrew Haley <aph@redhat.com>
611 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
613 2005-04-29 Dalibor Topic <robilad@kaffe.org>
615 * java/nio/channels/FileChannelImpl.java
616 (FileChannelImpl(String, int)): Removed.
617 (FileChannelImpl(File, int)): Added. Check if opened file is a
619 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
620 Call FileChannelImpl(File, int).
621 * java/io/FileOutputStream.java (FileInputStream): Call
622 FileChannelImpl(File, int).
623 * java/io/RandomAccessFile.java (RandomAccessFile):
624 Call FileChannelImpl(File, int). Switched constructors around.
626 2005-04-27 Andrew Haley <aph@redhat.com>
629 * prims.cc (_Jv_ResolvePoolEntry): New function.
630 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
631 * link.cc (_Jv_Linker::find_field): New arg: found_class.
632 (resolve_pool_entry): Initialize the class in which a field is
634 (link_symbol_table): Pass new arg to found_class.
636 2005-04-29 Michael Koch <konqueror@gmx.de>
638 * java/nio/charset/Charset.java
639 (provider): Reformatted.
641 2005-04-29 Michael Koch <konqueror@gmx.de>
643 * gnu/java/net/protocol/http/HTTPConnection.java:
644 (userAgent): Initialize from system properties.
645 (initUserAgent): Removed.
647 2005-04-29 Mark Wielaard <mark@klomp.org>
649 * java/util/ResourceBundle.java (getObject): Clarify
650 MissingResourceException detailed message.
651 (tryBundle(String,ClassLoader)): Likewise.
653 2005-04-29 Robert Schuster <thebohemian@gmx.net>
655 * java/beans/FeatureDescriptor.java:
656 (getShortDescription): Implemented fallback mechanism and fixed
657 documentation (fixes bug #12637).
658 (getDisplayName): Dito.
660 2005-04-29 Robert Schuster <thebohemian@gmx.net>
662 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
663 will now be set correctly.
664 (flushCaches): Now flushes all cached intermediate data.
666 2005-04-28 Michael Koch <konqueror@gmx.de>
668 * java/net/InetAddress.java
669 (aton): Fixed javadoc.
672 2005-04-28 Tom Tromey <tromey@redhat.com>
674 * javax/swing/Timer.java
675 (drainEvents, queueEvent): Now package-private.
677 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
679 * javax/swing/Timer.java
680 (constructor): Assigning initialDelay.
682 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
684 * javax/swing/Timer.java
685 (Waker.run): firing the first action event.
687 2005-04-28 Michael Koch <konqueror@gmx.de>
689 * javax/swing/Timer.java: Reordered all fields and methods,
692 2005-04-28 Michael Koch <konqueror@gmx.de>
694 * javax/swing/Timer.java: Javadocs merged
697 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
699 * gnu/java/net/protocol/file/Connection.java
700 (StaticData): New inner class to contain statics.
701 (connect, getHeaderField): Modified to use StaticData.
703 2005-04-28 Michael Koch <konqueror@gmx.de>
705 * gnu/java/net/protocol/file/Connection.java
706 (lineSeparator): Initialize with SystemProperties.getProperty().
708 2005-04-27 Chris Burdess <dog@gnu.org>
710 * gnu/java/net/protocol/file/Connection.java: Return correct content
711 length for directory listing.
712 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
713 #11285: return valid URLs for directories.i
715 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
717 * Makefile.am (ordinary_java_source_files): Add
718 gnu/java/net/protocol/https/Handler.java.
719 * Makefile.in: Regenerate.
720 * java/net/URL.java: Remove org.metastatic.jessie from default
721 protocol search path.
723 2005-04-27 Chris Burdess <dog@gnu.org>
725 * gnu/java/net/protocol/https/Handler.java: New file.
727 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
729 * javax/imageio/spi/IIORegistry.java (IIORegistry):
730 Don't assume that awt Toolkit is always ClasspathToolkit.
732 2005-04-27 Chris Burdess <dog@gnu.org>
734 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
735 absolute and relative paths in Location header.
737 2005-04-27 Chris Burdess <dog@gnu.org>
739 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
740 FileNotFoundException and implement getErrorStream on 404.
742 2005-04-27 Sven de Marothy <sven@physto.se>
744 * java/util/TimeZone.java,
745 (getDefaultDisplayName): Fix previous fix.
747 2005-04-27 Sven de Marothy <sven@physto.se>
749 * java/util/TimeZone.java,
750 (getDefaultDisplayName): Don't print zero offsets.
752 2005-04-27 Roman Kennke <roman@kennke.org>
754 * javax/swing/plaf/basic/BasicScrollBarUI
755 (getThumbBounds): Do not make thumb smaller than
757 * javax/swing/plaf/metal/MetalLookAndFeel
758 (initComponentDefaults): Added color defaults for ScrollBar.
759 * javax/swing/plaf/metal/MetalScrollBarUI
761 (getMinimumThumbSize): Added.
763 2005-04-27 Roman Kennke <roman@kennke.org>
765 * javax/swing/plaf/metal/MetalLookAndFeel
766 (initComponentDefaults): Added some default colors.
768 2005-04-27 Roman Kennke <roman@kennke.org>
770 * javax/swing/plaf/basic/BasicScrollBarUI.java
771 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
772 to 'ScrollBar.thumbShadow'. The formes does not exist.
773 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
775 2005-04-27 Roman Kennke <roman@kennke.org>
777 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
778 * javax/swing/BoxLayout.java: Likewise.
779 * javax/swing/UIManager.java: Likewise.
780 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
781 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
782 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
783 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
784 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
785 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
786 * javax/swing/text/Document.java: Likewise.
787 * javax/swing/text/GapContent.java: Likewise.
788 * javax/swing/text/SimpleAttributeSet.java: Likewise.
789 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
791 2005-04-27 Roman Kennke <roman@kennke.org>
793 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
794 (getPropertyPrefix): Added.
796 2005-04-27 Roman Kennke <roman@kennke.org>
798 * javax/swing/plaf/basic/BasicButtonUI.java
799 (getPropertyPrefix): Added.
800 (installDefaults): Use getPropertyPrefix instead of hard-coded
803 2005-04-27 Roman Kennke <roman@kennke.org>
805 * javax/swing/JToggleButton.java
806 (JToggleButton): Removed horizontalAlignment setting, this
807 was wrong. Added setting of an actionCommand, ToggleButtons
808 have "" as default actionCommand.
810 2005-04-27 Michael Koch <konqueror@gmx.de>
812 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
813 to work around CNI limitation.
815 2005-04-27 Sven de Marothy <sven@physto.se>
817 * java/nio/charset/Charset.java:
818 (defaultCharset()): New method.
819 Status updated to 1.5
821 2005-04-27 Sven de Marothy <sven@physto.se>
823 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
825 2005-04-27 Sven de Marothy <sven@physto.se>
827 * java/nio/charset/Charset.java: Reset cached de/encoders.
829 2005-04-27 Robert Schuster <thebohemian@gmx.net>
831 * java/nio/charset/Charset.java (forName): Throws
832 IllegalArgumentException when argument is null
833 and added documentation.
835 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
837 * java/nio/charset/Charset.java (providers):
838 New method to make an array of CharsetProviders defined in
839 META-INF/services/java.nio.charset.spi.CharsetProvider.
840 (charsetForName, availableCharsets): Use the
841 new method providers().
843 2005-04-26 Michael Koch <konqueror@gmx.de>
845 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
846 Fixed typos in javadocs.
847 (isSiteLocalAddress): Fixed handling of byte values.
848 (isMCLinkLocal): Likewise.
849 * java/net/Inet4Address.java
850 (isMulticastAddress): Call super method.
851 (isLoopbackAddress): Likewise.
852 (isAnyLocalAddress): Likewise.
853 (isLinkLocalAddress): Likewise.
854 (isSiteLocalAddress): Likewise.
855 (isMCGlobal): Likewise.
856 (isMCNodeLocal): Likewise.
857 (isMCLinkLocal): Likewise.
858 (isMCSiteLocal): Likewise.
859 (isMCOrgLocal): Likewise.
860 (getHostAddress): Likewise.
862 2005-04-26 Sven de Marothy <sven@physto.se>
864 * java/net/InetAddress.java
865 (toString): Don't print empty hostnames.
867 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
870 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
871 'false' to native lock().
872 (lock): Pass 'true' to native lock().
874 2005-04-26 Michael Koch <konqueror@gmx.de>
876 * java/net/InetAddress.java:
877 Fixed typos in javadocs.
879 2005-04-26 Andrew Haley <aph@redhat.com>
882 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
885 2005-04-26 Tom Tromey <tromey@redhat.com>
887 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
888 gnu): Now package-private.
889 * javax/swing/text/html/parser/DocumentParser.java (parser,
890 callBack, gnu): Now package-private.
891 * javax/swing/text/StringContent.java (content, setOffset,
892 checkLocation): Now package-private.
893 * javax/swing/text/JTextComponent.java (doc): Now
895 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
896 lastGoodOrientation, origParent, borders, cachedBounds,
897 cachedOrientation, DragWindow): Now package-private.
898 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
899 decrButton, viewport, panel, currentScrollLocation, layoutManager,
900 tabAreaRect, contentRect, createIncreaseButton,
901 createDecreaseButton, findPointForIndex): Now package-private.
902 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
903 (currentDividerLocation, moveDividerTo): Now package-private.
904 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
906 * javax/swing/plaf/basic/BasicScrollBarUI.java
907 (calculatePreferredSize, valueForYPosition, valueForXPosition):
909 * javax/swing/plaf/basic/BasicPopupMenuUI.java
910 (topWindowListener): Now package-private.
911 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
912 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
913 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
915 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
917 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
919 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
921 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
922 borderInsets): Now package-private.
923 (arrowButtonWidth): Likewise. Now a constant.
924 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
925 makeTabs, updatePreviewPanel): Now package-private.
926 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
927 darkShadow, highlight): Now package-private.
928 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
929 (addColorToQueue): Now package-private.
930 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
931 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
932 GSpinner, BSpinner): Now package-private.
933 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
934 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
935 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
936 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
937 updateTrack): Now package-private.
938 * javax/swing/TransferHandler.java (clipboard): Now
940 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
942 * javax/swing/Timer.java (drainEvents, queueEvent): Now
944 * javax/swing/RepaintManager.java (globalManager): Now
946 * javax/swing/JFormattedTextField.java (editValid): Now
948 * javax/swing/JColorChooser.java (makeModal): Now
950 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
951 index, path): Now package-private.
952 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
953 lineQuadIntersect, lineCubicIntersect, linesIntersect,
954 pointEquals): Now package-private.
955 * java/awt/geom/Arc2D.java (type): Now package-private.
956 * java/awt/Window.java (windowFocusOwner): Now package-private.
957 * java/awt/TextComponent.java (editable, selectionStart,
958 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
960 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
962 * java/awt/MenuComponent.java (focusListener): Now
964 * java/awt/Frame.java (state): Now package-private.
965 * java/awt/Choice.java (pItems): Now package-private.
966 * java/awt/Checkbox.java (state): Now package-private.
967 * java/awt/Button.java (actionCommand, label): Now
969 * gnu/javax/swing/text/html/parser/support/Parser.java
970 (attributes, _handleEndTag_remaining, _handleStartTag): Now
972 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
974 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
975 clip, transform, font, comp): Now package-private.
977 2005-04-26 Tom Tromey <tromey@redhat.com>
979 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
982 2005-04-26 Mark Wielaard <mark@klomp.org>
984 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
985 to MalformedURLException.
987 2005-04-26 Michael Koch <konqueror@gmx.de>
989 * java/security/AccessControlContext.java:
991 (protectedDomains): Renamed from 'protectionDomain'.
992 * java/security/AccessController.java:
995 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
997 * gnu/java/security/action/GetSecurityPropertyAction.java
998 (GetSecurityPropertyAction): Implement PrivilegedAction instead
999 of extending GetPropertyAction.
1002 (setParamters): New methods.
1003 (GetSecurityPropertyAction): Use new setParameters methods.
1005 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1007 * java/security/Security.java,
1008 java/security/cert/X509CRLSelector.java,
1009 java/security/cert/X509CertSelector.java:
1010 Modified to use SystemProperties.
1012 2005-04-26 Michael Koch <konqueror@gmx.de>
1014 * java/lang/System.java
1015 (setSecurityManager): Fixed comment.
1016 (getSecurityManager): Removed obsolete comment.
1018 2005-04-25 Tom Tromey <tromey@redhat.com>
1020 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1022 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1025 (connectSignals): Realize the window widget after connecting
1028 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1030 * java/awt/GraphicsEnvironment.java
1031 (localGraphicsEnvironment): New field.
1032 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1034 (isHeadless): Added support for java.awt.headless property.
1035 (isHeadlessInstance): Call headless().
1037 2005-04-25 Roman Kennke <roman@kennke.org>
1039 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1040 (getDisplayMode): Added. Returns the current display mode.
1041 (isFullScreenSupported): Added.
1042 * java/awt/GraphicsDevice.java
1043 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1044 This resizes and relocates the fullscreen window so that it uses
1045 the whole screen. This is not a fully accelerated fullscreen
1048 2005-04-25 Michael Koch <konqueror@gmx.de>
1050 * java/lang/Runtime.java,
1051 java/lang/SecurityManager.java,
1052 java/lang/System.java,
1053 java/lang/ThreadGroup.java:
1054 Replaced java.lang.Runtime.securityManager by
1055 java.lang.SecurityManager.current (as used in GNU classpath).
1057 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1059 * java/awt/Transparency.java
1060 (getTransparency): fixed API docs.
1062 2005-04-25 Archie Cobbs <archie@dellroad.org>
1064 * java/lang/Throwable.java: simplify initializing cause in constructor
1066 2005-04-25 Michael Koch <konqueror@gmx.de>
1068 * gnu/classpath/SystemProperties.java: New file.
1069 * gnu/classpath/natSystemProperties.cc: New file.
1070 * java/lang/Runtime.java
1071 (defaultProperties): Removed.
1073 (): Made thrown exceptions more verbose.
1074 (insertSystemProperties): Removed.
1075 * java/lang/System.java
1077 (properties): Likewise.
1078 (setSecurityManager): Reordered modifiers.
1079 (getenv): Improved javadoc.
1081 (isWordsBigEndian): Removed.
1082 * java/lang/natRuntime.cc
1083 (_Jv_SetDLLSearchPath): Likewise.
1084 (file_encoding): Likewise.
1085 (default_file_encoding): Likewise.
1086 (getpwuid_adaptor): Likewise.
1087 (insertSystemProperties): Likewise.
1088 * java/lang/natSystem.cc
1089 (isWordsBigEndian): Likewise.
1091 (ordinary_java_source_files):
1092 Added gnu/classpath/SystemProperties.java.
1093 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1094 * Makefile.in: Regenerated.
1096 2005-04-25 Roman Kennke <roman@kennke.org>
1098 * javax/swing/plaf/basic/BasicScrollBarUI.java
1099 (initDefaults): Initialize thumb*Color fields correctly.
1101 2005-04-25 Roman Kennke <roman@kennke.org>
1103 * javax/swing/text/GapContent.java:
1106 2005-04-25 Roman Kennke <roman@kennke.org>
1108 * javax/swing/plaf/metal/MetalBorders.java:
1109 Added inner class ScrollPaneBorder.
1110 * javax/swing/plaf/metal/MetalLookAndFeel.java
1111 (initComponentDefaults): Added default for "ScrollPane.border"
1112 to use the new ScrollPaneBorder.
1114 2005-04-25 Roman Kennke <roman@kennke.org>
1116 * javax/swing/text/AbstractDocument.java:
1117 Added FIXME comments. This class still has to be
1118 implemented thread-safe.
1120 2005-04-25 Roman Kennke <roman@kennke.org>
1122 * javax/swing/tree/DefaultTreeSelectionModel.java
1123 (DefaultTreeSelectionModel): Initialize listenerList here.
1125 2005-04-25 Roman Kennke <roman@kennke.org>
1127 * javax/swing/plaf/metal/MetalTextFieldUI.java
1128 (createUI): Return one instance per Component instead of a
1131 2005-04-25 Roman Kennke <roman@kennke.org>
1133 * javax/swing/text/Document.java:
1134 Added API documentation comments.
1136 2005-04-25 Roman Kennke <roman@kennke.org>
1138 * javax/swing/text/AbstractDocument.java
1139 (getDocumentProperties): Implemented.
1140 (setDocumentProperties): Implemented.
1141 (getProperty): Implemented.
1142 (putProperty): Implemented.
1144 2005-04-25 Roman Kennke <roman@kennke.org>
1146 * javax/swing/BoxLayout
1147 (preferredLayoutSize): Fixed computation so that it correctly
1148 adds the top and bottom insets of the container.
1150 2005-04-25 Roman Kennke <roman@kennke.org>
1152 * javax/swing/plaf/basic/BasicMenuItemUI.java
1153 (paintText): Make use of the 'selectionForeground' UI default
1156 2005-04-25 Roman Kennke <roman@kennke.org>
1158 * javax/swing/plaf/basic/BasicLookAndFeel.java
1159 (initSystemColorDefaults): Modified colors to match the
1160 BasicLookAndFeel in the reference implementation.
1161 (initComponentDefaults): Likewise.
1163 2005-04-25 Tom Tromey <tromey@redhat.com>
1165 * include/jni.h (_Jv_va_list): Removed.
1166 Moved configuration code...
1167 * include/jni_md.h: ... here. New file.
1168 * include/Makefile.in: Rebuilt.
1169 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1171 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1173 * java/io/FileInputStream.java (FileInputStream(File)),
1174 java/io/FileOutputStream.java (FileOutputStream(File)):
1175 Removed unnecessary File.isDirectory() check.
1177 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1179 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1180 gij if get_multilibs fails.
1182 2005-04-22 Anthony Green <green@redhat.com>
1184 * jni.cc (natrehash): Don't bother clearing memory again.
1185 * interpret.cc (do_allocate_static_fields): Ditto.
1186 * java/lang/natString.cc (rehash): Ditto.
1188 2005-04-22 Roman Kennke <roman@kennke.org>
1190 * javax/swing/plaf/basic/BasicLookAndFeel.java
1191 (initComponentDefaults): Changed Button.border to be
1192 BasicBorders.getButtonBorder as it should be.
1194 2005-04-22 Roman Kennke <roman@kennke.org>
1196 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1197 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1198 should according to a mauve testcase, instead of the preferred
1201 2005-04-22 Roman Kennke <roman@kennke.org>
1203 * javax/swing/JMenu.java
1204 (add): add(Component) now calls PopupMenu.insert(..) instead of
1205 PopupMenu.add(..). add(..) is not implemented for Component,
1206 so JComponent.add(..) is called instead, adding the component
1209 2005-04-22 Roman Kennke <roman@kennke.org>
1211 * javax/swing/plaf/basic/BasicButtonListener.java
1212 (mousePressed): replaced query to getModifiersEx with getModifiers.
1213 This method relied on faulty behaviour in getModifierEx.
1214 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1215 This method relied on faulty behaviour in getModifierEx.
1217 2005-04-22 Roman Kennke <roman@kennke.org>
1219 * javax/swing/plaf/metal/MetalLookAndFeel.java
1220 (getDefaults): Call addCustomEntriesToTable on the theme.
1222 2005-04-22 Roman Kennke <roman@kennke.org>
1224 * javax/swing/tree/DefaultTreeSelectionModel.java
1225 (constructor): Added implementation.
1226 (getRowMapper): Added implementation.
1227 (setSelectionMode): Added implementation.
1228 (getSelectionMode): Added implementation.
1229 (getSelectionPath): Added implementation.
1230 (getSelectionPaths): Added implementation.
1231 (getSelectionCount): Added implementation.
1232 (isSelectionEmpty): Added implementation.
1233 (getSelectionRows): Added implementation.
1234 (getMinSelectionRow): Added implementation.
1235 (getMaxSelectionRow): Added implementation.
1236 (getLeadSelectionRow): Added implementation.
1237 (getLeadSelectionPath): Added implementation.
1239 2005-04-22 Casey Marshall <csm@gnu.org>
1241 * gnu/java/security/der/DERValue.java
1242 (getValueAs): new method.
1243 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1244 (<init>): read both dates with 'DERValue.getValueAs', with
1245 'GENERALIZED_TIME' as the argument.
1247 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1249 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1250 be null, check for that case and don't deference it.
1252 2005-04-22 Sven de Marothy <sven@physto.se>
1254 * java/util/logging/LogManager.java: Reformatted.
1255 (readConfiguration): If a logger for a key is not found, create one.
1257 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1259 * java/rmi/Naming.java:
1260 Added class documentation.
1261 (lookup(String)): Call parseURL and getName.
1262 (bind(String,java.rmi.Remote)): Likewise.
1263 (unbind(String)): Likewise.
1264 (rebind(String, java.rmi.Remote)): Likewise.
1265 (list(String)): Call parseURL.
1266 (parseURL(String)): New method to handle parsing and defaults.
1267 (getName(java.net.URL)): New method to handle finding the service name.
1269 2005-04-21 Tom Tromey <tromey@redhat.com>
1271 * java/lang/natClass.cc (initializeClass): Link class.
1273 2005-04-21 Tom Tromey <tromey@redhat.com>
1275 * java/lang/AssertionError.java: Typo fix.
1277 2005-04-21 Tom Tromey <tromey@redhat.com>
1279 * java/lang/VMClassLoader.java (transformException): Removed.
1280 (resolveClass): No longer native. Now does nothing.
1281 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1283 2005-04-21 Anthony Green <green@redhat.com>
1286 * testsuite/libjava.special/special.exp,
1287 testsuite/libjava.special/pr21115I.java,
1288 testsuite/libjava.special/pr21115.java,
1289 testsuite/libjava.special/pr21115.out: New files.
1291 2005-04-21 Chris Burdess <dog@gnu.org>
1293 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1294 CRLF-delimited chunks.
1296 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1298 * java/net/URI.java:
1299 Added class documentation.
1300 (parseURI(String)): Only handle scheme-specific parts
1301 if URI is not opaque. Allow for parts that can't be null.
1302 (toString()): Output the scheme-specific part whole, rather
1303 than as its possibly non-existent components.
1305 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1307 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1308 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1309 Adjusted to match new regexp.
1311 2005-04-20 Michael Koch <konqueror@gmx.de>
1313 * gnu/java/net/protocol/file/Connection.java,
1314 gnu/java/net/protocol/jar/Connection.java:
1315 Reorganized import statements. Fixed @author tags.
1317 2005-04-20 Chris Burdess <dog@gnu.org>
1319 * java/io/DataOutputStream.java (writeUTF): Use block write for
1322 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1324 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1325 (readLine): Changed newline handling.
1327 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1329 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1330 ColorModel,byte[],int,int): Fixed byte to int conversion.
1332 2005-04-20 Michael Koch <konqueror@gmx.de>
1334 * java/io/FilePermission.java
1335 (serialVersionUID): Made private.
1336 (ALL_FILES): New constant.
1337 (implies): Handle '<<ALL FILES>>' case.
1339 2005-04-20 Sven de Marothy <sven@physto.se>
1341 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1342 (drawImage): Don't notify the image observer for offscreen images.
1343 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1344 (setPixels): Don't notify the image observer.
1346 2005-04-20 Sven de Marothy <sven@physto.se>
1348 * java/nio/ByteBufferImpl.java:
1349 (putChar): Inlined for speed.
1350 (put, get): Bulk methods can use arraycopy.
1351 * java/nio/CharBufferImpl.java:
1352 (put, get): Bulk methods can use arraycopy.
1354 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1356 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1358 * java/nio/CharBufferImpl.java
1359 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1360 (get(), put(char)): Inlined checks and field updates. Fixed to
1361 take array_offset into account.
1362 (get(int), put(int, char)): Fixed to take array_offset into account.
1364 2005-04-20 Sven de Marothy <sven@physto.se>
1366 * java/text/SimpleDateFormat.java:
1367 (formatWithAttribute): Pad year before truncating digits.
1369 2005-04-20 Michael Koch <konqueror@gmx.de>
1371 * gnu/java/net/PlainDatagramSocketImpl.java:
1372 Merged copyright header.
1373 * gnu/java/net/PlainSocketImpl.java:
1374 Reorganized import statements. Fixed @author tags.
1376 2005-04-20 Michael Koch <konqueror@gmx.de>
1378 * gnu/java/lang/ClassHelper.java,
1379 gnu/java/lang/reflect/TypeSignature.java:
1382 2005-04-20 Michael Koch <konqueror@gmx.de>
1384 * gnu/java/beans/IntrospectionIncubator.java:
1385 Fixed HTML tags in javadocs.
1387 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1389 * gnu/java/beans/IntrospectionIncubator.java
1390 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1391 set(), is(), add() and remove() with properties or events.
1393 2005-04-20 Michael Koch <konqueror@gmx.de>
1395 * gnu/java/awt/image/XBMDecoder.java:
1396 Fixed modifier order.
1398 2005-04-20 Roman Kennke <roman@kennke.org>
1400 * javax/swing/plaf/basic/BasicButtonUI.java
1401 (paint): This should not care about margin and insets
1402 at the same time, as insets already include the margin
1404 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1405 (getPreferredButtonSize): Likewise.
1406 * javax/swing/plaf/metal/MetalBorders.java
1407 (getBorderInsets): Likewise.
1409 2005-04-20 Roman Kennke <roman@kennke.org>
1411 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1412 (createMessageArea): The JPanel that holds the message area
1413 doesn't need to override getPreferredSize. This prevents some
1414 message components from rendering nicely.
1416 2005-04-20 Roman Kennke <roman@kennke.org>
1418 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1419 (createUI): Do not share instances between components.
1420 * javax/swing/plaf/metal/MetalSliderUI.java
1421 (createUI): Do not share instances between components.
1423 2005-04-20 Roman Kennke <roman@kennke.org>
1425 * javax/swing/plaf/metal/MetalBorders:
1426 (PopupMenuBorder): Added.
1427 * javax/swing/plaf/metal/MetalLookAndFeel
1428 (initComponentDefaults): Added PopupMenuBorder.
1430 2005-04-20 Roman Kennke <roman@kennke.org>
1432 * javax/swing/tree/DefaultTreeSelectionModel.java:
1433 Added API documentation all over the class.
1435 2005-04-20 Roman Kennke <roman@kennke.org>
1437 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1438 (installDefaults): Link managed JScrollPane in instance field.
1439 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1441 2005-04-20 Roman Kennke <roman@kennke.org>
1443 * javax/swing/plaf/basic/BasicScrollBarUI.java
1444 (PropertyChangeHandler.propertyChange): Add default
1445 to switch statement to avoid errors with unusual values
1447 (installComponents): Likewise.
1449 2005-04-20 Roman Kennke <roman@kennke.org>
1451 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1452 (createUI): Instances cannot be shared among JScrollPanes.
1454 2005-04-20 Roman Kennke <roman@kennke.org>
1456 * javax/swing/plaf/metal/MetalLookAndFeel.java
1457 (initComponentDefaults): Added defaults for Menu, MenuBar
1460 2005-04-20 Roman Kennke <roman@kennke.org>
1462 * javax/swing/plaf/basic/BasicScrollBarUI.java
1463 (installUI): Install listeners after everything all, otherwise
1464 we get strange NPEs in some situations, especially with
1466 (createIncreaseButton): Orientation is expected to be
1467 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1468 HORIZONTAL or VERTICAL.
1469 (createDecreaseButton): Orientation is expected to be
1470 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1471 HORIZONTAL or VERTICAL.
1472 (installComponents): Orientation for buttons is expected to be
1473 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1474 HORIZONTAL or VERTICAL.
1476 2005-04-20 Roman Kennke <roman@kennke.org>
1478 * javax/swing/JToolBar.java
1479 (addImpl): Adjust added AbstractButtons to look and feel like
1481 * javax/swing/plaf/metal/MetalBorders.java:
1482 Adjusted insets of ButtonBorder.
1483 (RolloverMarginBorder): Added class for toolbar buttons.
1484 (getButtonBorder): Adjusted factory method to return a shared
1485 instance of button border.
1486 (getToolbarButtonBorder): Added factory method to return a shared
1487 instance of toolbar button border.
1488 (getMarginBorder): Added factory method to return a shared
1489 instance of margin border.
1490 * javax/swing/plaf/metal/MetalButtonUI.java
1491 (installDefauls): If button is child of a JToolBar then set
1492 special border on this button.
1494 2005-04-20 Michael Koch <konqueror@gmx.de>
1496 * java/net/URLConnection.java
1497 (getContent): Fixed javadoc comment.
1499 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1501 * java/net/URL.java:
1502 (toURI()): Implemented.
1504 2005-04-19 Michael Koch <konqueror@gmx.de>
1506 * java/net/InetAddress.java
1507 (InetAddress): Fixed javadoc comment.
1509 (lookup): Added javadoc.
1510 (getFamily): Likewise.
1511 * java/net/ServerSocket.java
1512 (getChannel): Improved javadoc comment.
1514 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1516 * gnu/xml/dom/html2/DomHTMLParser.java:
1517 Changed 'enum' references to become 'enumeration'.
1519 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1521 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1523 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1525 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1526 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1527 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1528 (validateParameters(TagElement,htmlAttributeSet)):
1529 Replaced 'enum' with 'enumeration'.
1530 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1533 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1535 * javax/swing/text/html/parser/Entity.java (getType): New method.
1536 * javax/swing/text/html/parser/DocumentParser.java:
1537 Inherit from javax.swing.text.html.parser.Parser.
1539 2005-04-19 Chris Burdess <dog@gnu.org>
1541 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1542 check for HTML/XHTML namespace.
1544 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1546 * javax/swing/text/html/parser/Parser.java,
1547 javax/swing/text/html/parser/Entity.java:
1548 Inheriting from DTDConstants.
1549 * javax/swing/text/html/parser/AttributeList.java
1550 (getValues): Changed return type.
1551 * javax/swing/text/html/parser/DocumentParser
1552 (parse): Adding the callback parameter that receives
1555 2005-04-19 Chris Burdess <dog@gnu.org>
1557 * gnu/xml/dom/DomImpl.java,
1558 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1559 gnu/xml/dom/html2/DomHTMLDocument.java,
1560 gnu/xml/dom/html2/DomHTMLElement.java,
1561 gnu/xml/dom/html2/DomHTMLFormElement.java,
1562 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1563 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1564 gnu/xml/dom/html2/DomHTMLImpl.java,
1565 gnu/xml/dom/html2/DomHTMLInputElement.java,
1566 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1567 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1568 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1569 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1570 gnu/xml/dom/html2/DomHTMLTableElement.java,
1571 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1572 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1573 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1574 UI events, and tree utility functions.
1576 2005-04-19 Michael Koch <konqueror@gmx.de>
1578 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1579 gnu/javax/swing/text/html/parser/gnuDTD.java,
1580 gnu/javax/swing/text/html/parser/models/node.java:
1581 Reworked import statements.
1583 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1585 * javax/swing/text/html/HTMLDocument.java: New file.
1587 2005-04-19 Michael Koch <konqueror@gmx.de>
1589 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1591 * javax/swing/text/html/parser/AttributeList.java:
1592 Fixed order of modifiers.
1593 (AttributeList): Made final.
1594 * javax/swing/text/html/parser/ContentModel.java:
1595 Fixed html characters in javadocs.
1596 * javax/swing/text/html/parser/DTD.java
1597 (DTD): Don't implement java.io.Serializable directly.
1598 (getElement): Simplified.
1599 * javax/swing/text/html/parser/DTDConstants.java:
1601 * javax/swing/text/html/parser/Element.java:
1602 Fixed order of modifiers.
1603 * javax/swing/text/html/parser/Parser.java:
1604 Reformatted. Don't use fully-qualified class names.
1605 * javax/swing/text/html/parser/ParserDelegator.java:
1606 Fixed order of modifiers.
1607 * javax/swing/text/rtf/RTFParser.java:
1608 Re-ordered import statements.
1609 * javax/swing/text/rtf/RTFScanner.java:
1610 Removed unused import statement.
1612 2005-04-19 Chris Burdess <dog@gnu.org>
1614 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1615 gnu/xml/dom/html2/DomHTMLCollection.java,
1616 gnu/xml/dom/html2/DomHTMLDocument.java,
1617 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1619 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1620 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1621 gnu/xml/dom/html2/DomHTMLDivElement.java,
1622 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1623 gnu/xml/dom/html2/DomHTMLFontElement.java,
1624 gnu/xml/dom/html2/DomHTMLFormElement.java,
1625 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1626 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1627 gnu/xml/dom/html2/DomHTMLHRElement.java,
1628 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1629 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1630 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1631 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1632 gnu/xml/dom/html2/DomHTMLImageElement.java,
1633 gnu/xml/dom/html2/DomHTMLInputElement.java,
1634 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1635 gnu/xml/dom/html2/DomHTMLLIElement.java,
1636 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1637 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1638 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1639 gnu/xml/dom/html2/DomHTMLMapElement.java,
1640 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1641 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1642 gnu/xml/dom/html2/DomHTMLModElement.java,
1643 gnu/xml/dom/html2/DomHTMLOListElement.java,
1644 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1645 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1646 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1647 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1648 gnu/xml/dom/html2/DomHTMLParamElement.java,
1649 gnu/xml/dom/html2/DomHTMLPreElement.java,
1650 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1651 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1652 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1653 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1654 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1655 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1656 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1657 gnu/xml/dom/html2/DomHTMLTableElement.java,
1658 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1659 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1660 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1661 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1662 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1664 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1666 * javax/swing/text/ChangedCharSetException.java,
1667 javax/swing/text/html/HTMLEditorKit.java,
1668 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1669 javax/swing/text/html/parser/AttributeList.java,
1670 javax/swing/text/html/parser/ContentModel.java,
1671 javax/swing/text/html/parser/DocumentParser.java,
1672 javax/swing/text/html/parser/DTD.java,
1673 javax/swing/text/html/parser/DTDConstants.java,
1674 javax/swing/text/html/parser/Element.java,
1675 javax/swing/text/html/parser/Entity.java,
1676 javax/swing/text/html/parser/Parser.java,
1677 javax/swing/text/html/parser/TagElement.java,
1678 gnu/javax/swing/text/html/package.html,
1679 gnu/javax/swing/text/html/parser/gnuDTD.java,
1680 gnu/javax/swing/text/html/parser/HTML_401F.java,
1681 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1682 gnu/javax/swing/text/html/parser/htmlValidator.java,
1683 gnu/javax/swing/text/html/parser/package.html,
1684 gnu/javax/swing/text/html/parser/models/list.java,
1685 gnu/javax/swing/text/html/parser/models/node.java,
1686 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1687 gnu/javax/swing/text/html/parser/models/package.html,
1688 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1689 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1690 gnu/javax/swing/text/html/parser/models/transformer.java,
1691 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1692 gnu/javax/swing/text/html/parser/support/package.html,
1693 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1694 gnu/javax/swing/text/html/parser/support/Parser.java,
1695 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1696 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1697 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1698 gnu/javax/swing/text/html/parser/support/low/Location.java,
1699 gnu/javax/swing/text/html/parser/support/low/node.java,
1700 gnu/javax/swing/text/html/parser/support/low/package.html,
1701 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1702 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1703 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1704 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1706 * javax/swing/text/html/HTML.java,
1707 javax/swing/text/html/parser/ParserDelegator.java:
1708 New files (replacing).
1709 * javax/swing/text/html/package.html,
1710 javax/swing/text/html/parser/package.html: Documenting the
1713 2005-04-19 Chris Burdess <dog@gnu.org>
1715 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1716 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1717 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1718 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1719 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1720 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1721 gnu/xml/dom/html2/DomHTMLBRElement.java,
1722 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1723 gnu/xml/dom/html2/DomHTMLCollection.java,
1724 gnu/xml/dom/html2/DomHTMLDocument.java,
1725 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1727 2005-04-19 Michael Koch <konqueror@gmx.de>
1729 * Makefile.am: Added new files.
1730 * Makefile.in: Regenerated.
1732 2005-04-19 Roman Kennke <roman@kennke.org>
1734 * javax/swing/text/JTextComponent.java
1735 (JTextComponent): Added repaintListener which issues repaint
1736 requests when the underlying document changes.
1737 (setDocument): Adds repaintListener to document when the
1738 document is changed.
1739 * javax/swing/text/DefaultEditorKit.java:
1740 Removed repaint calls on JTextComponent. This is now handled
1741 through a DocumentListener in JTextComponent that repaints
1742 the component when needed.
1744 2005-04-19 Roman Kennke <roman@kennke.org>
1747 * javax/swing/text/StyleContext.java
1748 (NamedStyle.setResolveParent): Added null
1751 2005-04-19 Michael Koch <konqueror@gmx.de>
1753 * java/rmi/server/RemoteObject.java:
1754 Removed unused import statement.
1756 2005-04-19 Michael Koch <konqueror@gmx.de>
1758 * java/net/URL.java: Formatting cleanups.
1760 2005-04-19 Michael Koch <konqueror@gmx.de>
1762 * java/awt/FontMetrics.java: Reformatted.
1763 (getFontRenderContext): Handle case when java.awt.Graphics context is
1766 2005-04-19 Michael Koch <konqueror@gmx.de>
1768 * java/awt/FontMetrics.java
1769 (getStringBounds): New methods.
1772 2005-04-19 Michael Koch <konqueror@gmx.de>
1774 * gnu/java/security/x509/X509Certificate.java
1775 (parse): Handle val == null case.
1777 2005-04-19 Roman Kennke <roman@kennke.org>
1779 * javax/swing/plaf/metal/MetalLookAndFeel.java
1780 (initComponentDefaults): Added defaults for Menu, MenuBar
1783 2005-04-19 Roman Kennke <roman@kennke.org>
1785 * javax/swing/plaf/metal/MetalLookAndFeel.java
1786 (initComponentDefaults): Added Label.font.
1787 (initSystemColorDefaults): Added this method and adjusted the
1788 general control color.
1790 2005-04-19 Roman Kennke <roman@kennke.org>
1792 * javax/swing/plaf/metal/MetalBorders.java:
1794 * javax/swing/plaf/metal/MetalButtonUI.java:
1795 (installDefaults): Install button font.
1796 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1797 (initComponentDefaults): Added button border, font and margin.
1798 Changed components background color to the Metal current themes
1801 2005-04-19 Roman Kennke <roman@kennke.org>
1803 * javax/swing/plaf/metal/MetalLookAndFeel.java
1804 (initComponentDefaults): Added to set Metal specific component
1807 2005-04-19 Mark Wielaard <mark@klomp.org>
1809 * javax/swing/plaf/metal/MetalLookAndFeel.java
1810 (initClassDefaults): Call super.initClassDefaults().
1812 2005-04-19 Roman Kennke <roman@kennke.org>
1814 * javax/swing/plaf/metal/MetalLookAndFeel.java
1815 (initClassDefaults): Added to include the *UI classes.
1817 2005-04-19 Roman Kennke <roman@kennke.org>
1819 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1821 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1823 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1825 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1827 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1829 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1831 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1833 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1835 * javax/swing/plaf/metal/MetalSliderUI.java:
1837 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1839 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1841 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1843 2005-04-19 Roman Kennke <roman@kennke.org>
1845 * javax/swing/plaf/metal/MetalButtonUI.java:
1846 Added skeleton class.
1847 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1848 Added skeleton class.
1849 * javax/swing/plaf/metal/MetalLabelUI.java:
1850 Added skeleton class.
1851 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1852 Added skeleton class.
1853 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1854 Added skeleton class.
1855 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1856 Added skeleton class.
1858 2005-04-19 Roman Kennke <roman@kennke.org>
1860 * javax/swing/UIDefaults.java:
1861 Added API documentation for all methods.
1863 2005-04-19 Roman Kennke <roman@kennke.org>
1865 * javax/swing/UIDefaults.java
1866 (put): Now uses new checkAndPut method instead of checking
1868 (putDefaults): Fixed so that it accepts null-values and
1869 treats them like remove(key).
1870 (checkAndPut): Added. This checks for null-values and calls
1873 2005-04-19 Michael Koch <konqueror@gmx.de>
1875 * Makefile.am: Added new files.
1876 * Makefile.in: Regenerated.
1878 2005-04-19 Mark Wielaard <mark@klomp.org>
1880 * java/lang/natRuntime.cc (insertSystemProperties): Set
1881 java.class.path to CLASSPATH only when not empty. Fall back to
1882 default path "." when java.class.path is empty.
1884 2005-04-19 Michael Koch <konqueror@gmx.de>
1886 * javax/swing/text/rtf/ControlWordToken.java,
1887 javax/swing/text/rtf/RTFEditorKit.java,
1888 javax/swing/text/rtf/RTFParseException.java,
1889 javax/swing/text/rtf/RTFParser.java,
1890 javax/swing/text/rtf/RTFScanner.java,
1891 javax/swing/text/rtf/TextToken.java,
1892 javax/swing/text/rtf/Token.java: New files.
1893 * Makefile.am: Added new files.
1894 * Makefile.in: Regenerated.
1896 2005-04-19 Michael Koch <konqueror@gmx.de>
1898 * java/awt/geom/QuadCurve2D.java:
1899 Fixed Brian Gough's name for real.
1901 2005-04-19 Roman Kennke <roman@kennke.org>
1903 * javax/swing/UIManager.java:
1904 Make the UIManager respect the swing.defaultlaf system
1907 2005-04-19 Tom Tromey <tromey@redhat.com>
1909 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1912 2005-04-19 Roman Kennke <roman@kennke.org>
1914 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1915 Fixed tabs to spaces.
1917 2005-04-19 Roman Kennke <roman@kennke.org>
1919 * javax/swing/plaf/basic/BasicMenuUI.java
1920 (getMaximumSize): Now returns preferredSize because JMenu should
1921 never be bigger than that.
1922 * javax/swing/JRootPane
1923 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1925 2005-04-19 Roman Kennke <roman@kennke.org>
1927 * javax/swing/JRootPane.java:
1928 Fixed various tabs to be spaces.
1929 (RootLayout.layoutContainer): Made menubar left aligned.
1931 2005-04-19 Roman Kennke <roman@ontographics.com>
1933 * javax/swing/JList.java
1934 (getPreferredScrollableViewportSize):
1935 The previous implementation was merely guessing the size,
1936 now it respects layoutOrientation, visibleRowCount
1938 (getScrollableTracksViewportHeight):
1939 Reimplemented so that layoutOrientation, visibleRowCount
1940 and preferred size are respected.
1941 (getScrollableTracksViewportWidth):
1942 Reimplemented so that layoutOrientation, visibleRowCount
1943 and preferred size are respected.
1944 * javax/swing/plaf/basic/BasicListUI.java
1946 Improved calculation of preferredSize when JList is
1947 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1949 The previous implementation assumed a layoutOrientation of
1950 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1951 JList.VERTICAL_WRAP.
1953 2005-04-19 Roman Kennke <roman@ontographics.com>
1955 * javax/swing/plaf/basic/BasicListUI.java
1956 (paintCell): use CellRendererPane for painting the cells.
1958 2005-04-19 Roman Kennke <roman@ontographics.com>
1960 * javax/swing/plaf/basic/BasicListUI:
1961 fixed modifiers of several fields, methods and inner
1962 classes to match the 'spec'.
1963 (getMaximumSize): removed. It's not in the spec and the
1964 implementations was superfluous.
1966 2005-04-19 Roman Kennke <roman@ontographics.com>
1968 * javax/swing/plaf/basic/BasicListUI:
1969 make BasicListUI capable of wrapping lists
1970 (layoutOrientation property of javax.swing.JList)
1972 2005-04-19 Roman Kennke <roman@ontographics.com>
1974 * javax/swing/plaf/basic/BasicListUI
1975 (updateLayoutState,paint): make BasicListUI aware of the
1976 width of the rendered JList.
1978 2005-04-19 Roman Kennke <roman@kennke.org>
1980 * javax/swing/ImageIcon.java
1981 Added API documentation.
1983 2005-04-19 Roman Kennke <roman@kennke.org>
1985 * javax/swing/text/ImageIcon.java
1986 (ImageIcon): Use setImage instead of direct assignment.
1987 (setImage): Call loadImage to make sure that the image is loaded.
1988 (loadImage): Waits for the image to complete loading.
1989 (getImageLoadStatus): Added. Returns the load status of the
1992 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1994 * javax/swing/JTextArea.java (replaceRange):
1995 Fixing doc.remove(start, length) misinterpretation.
1997 2005-04-19 Roman Kennke <roman@ontographics.com>
1999 * javax/swing/CellRendererPane.java:
2000 implemented all methods of this class.
2001 reformatted all wrong formatted code.
2003 2005-04-19 Roman Kennke <roman@kennke.org>
2005 * javax/swing/BoxLayout.java:
2006 (layoutContainer): Made this layout manager respect the
2007 minimum, maximum and preferred size more correctly.
2009 2005-04-19 Roman Kennke <roman@ontographics.com>
2011 * javax/swing/BoxLayout.java:
2012 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2013 layoutContainer): Make these methods and thereby the
2014 BoxLayout respect the insets (like borders) of the
2015 component that is laid out.
2017 2005-04-19 Roman Kennke <roman@kennke.org>
2019 * javax/swing/JComponent.java:
2020 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2021 Untabified the file.
2023 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2025 * javax/swing/JComboBox.java (constructors): selecting the
2026 first item if the box was constructed from the provided
2027 non - empty array or vector.
2029 2005-04-19 Michael Koch <konqueror@gmx.de>
2031 * gnu/java/awt/peer/gtk/GdkGraphics.java
2032 (getClipBounds): Handle clip being null.
2033 (setClip): Likewise.
2034 * java/beans/beancontext/BeanContextSupport.java
2038 (removeAll): Likewise.
2039 (retainAll): Likewise.
2041 2005-04-19 Michael Koch <konqueror@gmx.de>
2043 * java/beans/beancontext/BeanContextServicesSupport.java
2044 (BeanContextServicesSupport): Reimplemented.
2045 (addBeanContextServicesListener): Implemented.
2046 (initialize): Likewise.
2047 (removeBeanContextServicesListener): Likewise.
2048 * java/beans/beancontext/BeanContextSupport.java
2050 (addBeanContextMembershipListener): Likewise.
2051 (getLocale): Likewise.
2052 (initialize): Likewise.
2053 (iterator): Likewise.
2055 (toArray): Likewise.
2057 2005-04-19 Roman Kennke <roman@kennke.org>
2059 * java/awt/MediaTracker.java:
2060 Reindented tabs to spaces.
2062 2005-04-19 Roman Kennke <roman@kennke.org>
2064 * java/awt/MediaTracker.java
2065 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2066 confused the media tracker and lead to lockups. The LOADING
2067 bit is handled on other places.
2068 (addImage): Removed the 'start image tracking' stuff. This
2069 is not necessary and could confuse the media tracker.
2070 (checkAll): Improved the check for image status so that
2071 images that already complete images are detected. Also now
2072 are really all images checked and if necessary loaded. Before
2073 the method bailed out after the first incomplete image.
2074 (statusAll): Detect images that are complete after the
2075 call to Component.prepareImage(..).
2076 (checkID): The same as in checkAll.
2077 (statusID): The same as in statusAll.
2079 2005-04-19 Roman Kennke <roman@kennke.org>
2081 * java/awt/MediaTracker.java
2082 (addImage): Synchronized list access.
2083 (waitForAll): Fixed comparison of time (changed < to >).
2084 (waitForID): Fixed comparison of time (changed < to >).
2085 (removeImage): Synchronized list access.
2087 2005-04-19 Roman Kennke <roman@kennke.org>
2089 * java/awt/MediaTracker.java
2090 Added API documentation.
2092 2005-04-19 Roman Kennke <roman@kennke.org>
2094 * java/awt/MediaTracker.java
2095 (MediaEntry.imageUpdate): Fixed flags. The different flags
2096 must not be ORed together.
2097 (checkAll): Modified to handle different meaning of the flags.
2098 (waitForAll): Fixed so that it waits maximum the
2099 specified amount of milliseconds.
2100 (statusAll): Modified to handle different meaning of the flags.
2101 (waitForID): Fixed so that it waits maximum the
2102 specified amount of milliseconds.
2104 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2106 * java/awt/Font.java (decode): Handle null argument and allow
2109 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2111 * java/beans/EventHandler.java: Reworked documentation.
2112 (invoke): Fixed behavior to match spec.
2114 2005-04-19 Michael Koch <konqueror@gmx.de>
2116 * java/awt/print/PrinterJob.java
2117 (pageDialog): New method.
2118 (printDialog): Implemented.
2120 2005-04-19 Michael Koch <konqueror@gmx.de>
2122 * java/awt/image/ConvolveOp.java:
2123 Removed comment added by eclipse.
2125 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2127 * java/awt/image/IndexColorModel.java
2128 (getRGB): Check if pixel is negative.
2130 2005-04-19 Michael Koch <konqueror@gmx.de>
2132 * java/awt/image/RasterOp.java:
2133 Fixed wrong formatting.
2135 2005-04-18 Roman Kennke <roman@kennke.org>
2137 * java/awt/Compmonent.java
2138 (setComponentOrientation): Made this property firing a
2139 PropertyChangeEvent.
2141 2005-04-18 Roman Kennke <roman@kennke.org>
2143 * java/awt/BorderLayout.java
2144 (calcSize): Check for overflow when component sizes are added.
2146 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2148 * java/awt/AWTEvent.java (toString): Added case
2149 for source not being an AWT component.
2151 2005-04-18 Chris Burdess <dog@gnu.org>
2153 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2155 2005-04-18 Michael Koch <konqueror@gmx.de>
2157 gnu/java/awt/EmbeddedWindowSupport.java,
2158 gnu/java/net/HeaderFieldHelper.java,
2159 gnu/java/net/URLParseError.java,
2160 gnu/java/net/protocol/file/Handler.java,
2161 gnu/java/net/protocol/jar/Handler.java:
2162 Fixed usage of @author tag.
2164 2005-04-18 Michael Koch <konqueror@gmx.de>
2166 * gnu/xml/aelfred2/XmlParser.java:
2167 Reverted my typo fix.
2169 2005-04-18 Michael Koch <konqueror@gmx.de>
2171 * java/awt/geom/CubicCurve2D.java,
2172 java/awt/geom/QuadCurve2D.java:
2173 Fixed mentioning of Brian Gouph.
2175 2005-04-18 Michael Koch <konqueror@gmx.de>
2177 * gnu/java/awt/Buffers.java,
2178 gnu/java/awt/image/ImageDecoder.java,
2179 gnu/java/awt/image/XBMDecoder.java,
2180 gnu/java/awt/peer/ClasspathFontPeer.java,
2181 gnu/java/net/CRLFInputStream.java,
2182 gnu/java/net/EmptyX509TrustManager.java,
2183 gnu/java/net/LineInputStream.java,
2184 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2185 gnu/java/net/protocol/ftp/BlockInputStream.java,
2186 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2187 gnu/java/net/protocol/ftp/DTP.java,
2188 gnu/java/net/protocol/ftp/DTPInputStream.java,
2189 gnu/java/net/protocol/ftp/FTPConnection.java,
2190 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2191 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2192 gnu/java/net/protocol/ftp/StreamInputStream.java,
2193 gnu/java/net/protocol/http/ChunkedInputStream.java,
2194 gnu/java/net/protocol/http/HTTPConnection.java,
2195 gnu/java/net/protocol/http/HTTPURLConnection.java,
2196 gnu/java/net/protocol/http/Headers.java,
2197 gnu/java/net/protocol/http/Request.java,
2198 gnu/java/nio/ChannelInputStream.java,
2199 gnu/java/nio/ChannelOutputStream.java,
2200 gnu/java/nio/InputStreamChannel.java,
2201 gnu/java/nio/OutputStreamChannel.java,
2202 gnu/java/nio/SelectorProviderImpl.java,
2203 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2204 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2205 gnu/java/rmi/dgc/DGCImpl.java,
2206 gnu/java/rmi/registry/RegistryImpl.java,
2207 gnu/java/rmi/server/ProtocolConstants.java,
2208 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2209 gnu/java/rmi/server/RMIIncomingThread.java,
2210 gnu/java/rmi/server/RMIObjectInputStream.java,
2211 gnu/java/rmi/server/RMIObjectOutputStream.java,
2212 gnu/java/rmi/server/RMIVoidValue.java,
2213 gnu/java/rmi/server/UnicastConnectionManager.java,
2214 gnu/java/rmi/server/UnicastRef.java,
2215 gnu/java/rmi/server/UnicastRemoteCall.java,
2216 gnu/java/rmi/server/UnicastRemoteStub.java,
2217 gnu/java/rmi/server/UnicastServerRef.java,
2218 gnu/java/security/OID.java,
2219 gnu/java/security/der/DERReader.java,
2220 gnu/java/security/provider/CollectionCertStoreImpl.java,
2221 gnu/java/security/provider/DSAParameterGenerator.java,
2222 gnu/java/security/provider/DefaultPolicy.java,
2223 gnu/java/security/provider/EncodedKeyFactory.java,
2224 gnu/java/security/provider/GnuDHPublicKey.java,
2225 gnu/java/security/provider/GnuDSAPrivateKey.java,
2226 gnu/java/security/provider/GnuDSAPublicKey.java,
2227 gnu/java/security/provider/GnuRSAPrivateKey.java,
2228 gnu/java/security/provider/GnuRSAPublicKey.java,
2229 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2230 gnu/java/security/provider/RSA.java,
2231 gnu/java/security/provider/SHA1PRNG.java,
2232 gnu/java/security/provider/SHA1withRSA.java,
2233 gnu/java/security/provider/X509CertificateFactory.java,
2234 gnu/java/security/x509/GnuPKIExtension.java,
2235 gnu/java/security/x509/X500DistinguishedName.java,
2236 gnu/java/security/x509/X509CRL.java,
2237 gnu/java/security/x509/X509CRLEntry.java,
2238 gnu/java/security/x509/X509CertPath.java,
2239 gnu/java/security/x509/X509CertSelectorImpl.java,
2240 gnu/java/security/x509/X509Certificate.java,
2241 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2242 gnu/java/security/x509/ext/BasicConstraints.java,
2243 gnu/java/security/x509/ext/CRLNumber.java,
2244 gnu/java/security/x509/ext/CertificatePolicies.java,
2245 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2246 gnu/java/security/x509/ext/Extension.java,
2247 gnu/java/security/x509/ext/GeneralNames.java,
2248 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2249 gnu/java/security/x509/ext/KeyUsage.java,
2250 gnu/java/security/x509/ext/PolicyConstraint.java,
2251 gnu/java/security/x509/ext/PolicyMappings.java,
2252 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2253 gnu/java/security/x509/ext/ReasonCode.java,
2254 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2255 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2256 Reorganized import statements.
2258 2005-04-18 Michael Koch <konqueror@gmx.de>
2260 * gnu/java/awt/color/CieXyzConverter.java,
2261 gnu/java/awt/color/ClutProfileConverter.java,
2262 gnu/java/awt/color/ColorLookUpTable.java,
2263 gnu/java/awt/color/ColorSpaceConverter.java,
2264 gnu/java/awt/color/GrayProfileConverter.java,
2265 gnu/java/awt/color/GrayScaleConverter.java,
2266 gnu/java/awt/color/LinearRGBConverter.java,
2267 gnu/java/awt/color/ProfileHeader.java,
2268 gnu/java/awt/color/PyccConverter.java,
2269 gnu/java/awt/color/RgbProfileConverter.java,
2270 gnu/java/awt/color/SrgbConverter.java,
2271 gnu/java/awt/color/TagEntry.java,
2272 gnu/java/awt/color/ToneReproductionCurve.java:
2273 Standardized file headers.
2275 2005-04-16 Tom Tromey <tromey@redhat.com>
2277 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2278 'ANY' package-private.
2280 2005-04-15 Tom Tromey <tromey@redhat.com>
2282 * Makefile.in: Rebuilt.
2283 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2284 (libgcj0_convenience_la_LIBADD): ... here.
2286 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2288 * gij.cc (version): Properly quote java version.
2289 (main): Fix typo in comment.
2291 2005-04-13 Mark Wielaard <mark@klomp.org>
2293 * java/lang/natRuntime.cc (insertSystemProperties): Set
2294 java.class.path to CLASSPATH if not already set.
2296 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2298 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2300 2005-04-12 Mike Stump <mrs@apple.com>
2302 * configure: Regenerate.
2304 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2307 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2308 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2310 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2313 * scripts/TexinfoDoclet.java: Removed.
2314 * Makefile.am (texinfo): Removed.
2315 * Makefile.in: Regenerated.
2317 2005-04-11 Michael Koch <konqueror@gmx.de>
2319 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2320 Fixed wrong casting.
2322 2005-04-06 Andrew Haley <aph@redhat.com>
2324 * testsuite/libjava.lang/bytearray.java: New file.
2325 * testsuite/libjava.lang/bytearray.out: New file.
2326 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2327 (loadClass): Use it.
2328 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2330 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2332 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2333 gcj-dbtool dependency
2334 * Makefile.in: Regenerated
2336 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2338 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2339 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2341 2005-04-05 Andrew Haley <aph@redhat.com>
2343 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2344 (Tokenizer): New class.
2345 (getFiles): New method.
2346 (main): Add "-" argument.
2348 Read list of files from stdin when merging map databases.
2349 (usage): Add "-" argument.
2353 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2356 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2357 * Makefile.in: Regenerate.
2358 * configure.ac: Add --with-java-home option.
2359 * configure: Regenerate.
2360 * external/Makefile.in: Regenerate.
2361 * external/sax/Makefile.in: Regenerate.
2362 * external/w3c_dom/Makefile.in: Regenerate.
2363 * gcj/Makefile.in: Regenerate.
2364 * include/Makefile.in: Regenerate.
2365 * testsuite/Makefile.in: Regenerate.
2366 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2369 2005-04-05 Tom Tromey <tromey@redhat.com>
2371 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2372 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2373 Rewrote to use _Jv_FindClassFromSignature.
2374 * verify.cc (resolve): throw NoClassDefFoundError.
2375 * link.cc (resolve_field): Throw NoClassDefFoundError.
2376 (find_field): Likewise.
2377 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2378 Handle error cases. Added 'endp' argument.
2379 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2381 2005-04-05 Tom Tromey <tromey@redhat.com>
2383 * Makefile.in: Rebuilt.
2384 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2385 gtk_awt_peer_sources.
2386 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2387 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2388 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2389 (gtk-awt-peer.lo): New target.
2391 2005-04-04 Steve Pribyl <steve@netfuel.com>
2394 * configure.ac: Fix fastjar definition for cross builds.
2395 * configure: Rebuilt.
2397 2005-04-04 Tom Tromey <tromey@redhat.com>
2399 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2400 it was already found.
2402 2005-04-04 Tom Tromey <tromey@redhat.com>
2404 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2405 org.metastatic.jessie.
2407 2005-04-02 Anthony Green <green@redhat.com>
2410 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2412 2005-04-02 Mark Wielaard <mark@klomp.org>
2414 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2415 Attributes and attribute order doesn't matter.
2416 (BasicAttributesEnumeration.where): Initialize to zero.
2417 (BasicAttributesEnumeration.nextElement): Update and compare where
2418 appropriately (zero based).
2420 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2422 PR libgcj/20090, PR libgcj/20526
2423 * gij.cc (nonstandard_opts_help): New function.
2424 (add_option): New function.
2425 (main): Support java options. Set java.class.path. Don't set
2427 * prims.cc (parse_x_arg): New function.
2428 (parse_init_args): Call parse_x_arg for -X and _ options, when
2429 ignoreUnrecognized is true.
2430 (new _Jv_RunMain): New vm_args variant.
2431 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2432 (_Jv_Jar_Class_Path): Remove variable.
2433 * include/java-props.h: Likewise.
2434 * include/cni.h (JvRealloc): New function.
2435 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2436 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2437 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2439 * configure.ac (JV_VERSION): Define.
2440 (JV_API_VERSION): Likewise.
2441 * configure: Regenerate.
2442 * include/config.h.in: Regenerate.
2444 2005-04-01 Mark Anderson <mark@panonet.net>
2446 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2447 -Infinity as parameters.
2449 2005-04-01 Michael Koch <konqueror@gmx.de>
2451 * java/io/PipedInputStream.java
2452 (read): Make sure a positive byte value is returned. Revised javadoc.
2453 Thanks to Olafur Bragason for reporting these bugs.
2455 2005-04-01 Tom Tromey <tromey@redhat.com>
2457 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2458 Updated for name change.
2459 (nativeFindClass): New method.
2460 (loadClass): Use nativeFindClass.
2461 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2463 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2464 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2466 (initialize): New method.
2467 (nativeFindClass): Declare.
2468 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2469 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2470 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2472 (definePackageForNative): Removed.
2473 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2474 Moved to VMClassLoader.java.
2475 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2476 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2477 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2478 removed VMClassLoader.java.
2479 (nat_source_files): Removed natVMClassLoader.cc.
2481 2005-04-01 Tom Tromey <tromey@redhat.com>
2483 * Makefile.in: Rebuilt.
2484 * Makefile.am (db_pathtail): Use $(gcc_version), not
2487 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2489 * java/util/Timer.java
2490 (run): Stop the queue if a task throws an exception.
2492 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2494 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2496 2005-03-29 Ian Lance Taylor <ian@airs.com>
2498 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2499 * external/sax/Makefile.in: Rebuild.
2500 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2502 * external/w3c_dom/Makefile.in: Rebuild.
2504 2005-03-29 Tom Tromey <tromey@redhat.com>
2506 * java/lang/natRuntime.cc (insertSystemProperties): Set
2507 gnu.gcj.runtime.endorsed.dirs.
2508 * Makefile.in: Rebuilt.
2509 * Makefile.am (ordinary_java_source_files): Added
2510 HelperClassLoader.java.
2511 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2512 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2514 (init): Use addDirectoriesFromProperty.
2515 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2516 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2517 gnu.gcj.runtime.endorsed.dirs.
2518 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2520 2005-03-26 Chris Burdess <dog@gnu.org>
2522 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2525 2005-03-13 Michael Koch <konqueror@gmx.de>
2527 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2529 2005-03-11 Chris Burdess <dog@gnu.org>
2531 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2534 2005-02-27 Chris Burdess <dog@gnu.org>
2536 * gnu/xml/aelfred2/JAXPFactory.java,
2537 gnu/xml/aelfred2/SAXDriver.java,
2538 gnu/xml/aelfred2/XmlParser.java,
2539 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2540 formatting conventions. Replaced arrays of Object with struct-like
2541 classes for easier maintainability. Made SAXDriver.stringInterning
2542 package private to allow access from XmlParser inside the loop without
2543 a method call overhead.
2545 2005-03-11 Chris Burdess <dog@gnu.org>
2547 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2550 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2552 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2553 settings to sub Makefiles.
2554 (GCJH, ZIP): Prefix with top_builddir.
2555 * configure: Rebuild.
2556 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2557 * external/w3c_dom/Makefile.in: Rebuild.
2558 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2559 * external/sax/Makefile.in: Rebuild.
2561 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2563 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2564 libsocket to the libraries to link for Solaris.
2566 2005-03-28 Per Bothner <per@bothner.com>
2568 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2569 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2571 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2573 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2574 to fix a ONESTEP fallout.
2575 * Makefile.in: Regenerate.
2577 2005-03-25 Mike Stump <mrs@apple.com>
2579 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2580 paths like we do for the compiler, as we use it in external/sax
2581 and it doesn't get MULTIBUILDTOP right when multilibing.
2583 2005-03-24 Anthony Green <green@redhat.com>
2585 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2587 (usage): Add [LIBDIR] to help output.
2588 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2589 * Makefile.am (AM_CXXFLAGS): Define
2590 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2591 (db_pathtail): New macro.
2593 2005-03-24 Tom Tromey <tromey@redhat.com>
2595 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2596 add sax and w3c libraries.
2597 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2599 * external/w3c_dom/Makefile.in: Rebuilt.
2600 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2602 (libw3c_gcj_la_LDFLAGS): New variable.
2603 (noinst_LTLIBRARIES): Renamed.
2604 * external/sax/Makefile.in: Rebuilt.
2605 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2607 (libsax_gcj_la_LDFLAGS): New variable.
2608 (noinst_LTLIBRARIES): Renamed.
2610 2005-03-23 Tom Tromey <tromey@redhat.com>
2612 * Makefile.in: Rebuilt.
2613 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2614 (libgcj0_convenience_la_SOURCES): Don't include
2615 gnu_xml_source_files.
2616 (libgcj0_convenience_la_LIBADD): New variable.
2617 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2618 (all_java_source_files): javax_imageio_source_files,
2619 javax_xml_source_files, and gnu_java_beans_source_files.
2620 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2621 (gnu-xml.lo): New target.
2622 (javax-imageio.lo): Likewise.
2623 (javax-xml.lo): Likewise.
2624 (gnu-java-beans.lo): Likewise.
2625 (gnu_java_beans_source_files): New variable.
2626 (javax_imageio_source_files): Likewise.
2627 (javax_xml_source_files): Likewise.
2628 (javax_source_files): Moved files to other variable.
2629 (awt_java_source_files): Likewise.
2630 (ordinary_java_source_files): Added BootClassLoader.java.
2631 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2632 not system class loader.
2633 (initBootLoader): New method.
2634 (loadClass): Search bootLoader.
2635 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2636 boot loader, not system class loader.
2637 (_Jv_UnregisterInitiatingLoader): Likewise.
2638 (_Jv_FindClass): Likewise. Ensure entries in
2639 bootstrap_class_list are unique.
2640 * java/lang/natClass.cc (getClassLoader): Don't special case
2641 system class loader.
2642 * java/lang/VMClassLoader.java (bootLoader): New field.
2643 (getResource): Use bootLoader.
2644 (getResources): Likewise.
2645 (initBootLoader): Declare.
2646 * gnu/gcj/runtime/BootClassLoader.java: New file.
2647 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2648 (EMPTY_ENUMERATION): Now package-private.
2649 * external/w3c_com/Makefile.in: Rebuilt.
2650 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2651 (w3c.jar): New target.
2652 (classes.stamp): Updated.
2653 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2654 Changed name of library.
2655 (libw3c_gcj_la_SOURCES): New variable.
2656 (libw3c_gcj_la_GCJFLAGS): Likewise.
2657 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2658 * external/sax/Makefile.in: Rebuilt.
2659 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2660 (sax.jar): New target.
2661 (classes.stamp): Updated.
2662 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2663 Changed name of library.
2664 (libsax_gcj_la_SOURCES): New variable.
2665 (libsax_gcj_la_GCJFLAGS): Likewise.
2666 (source_files): Renamed from libsax_convenience_la_SOURCES.
2667 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2669 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2671 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2673 2005-03-23 Sven de Marothy <sven@physto.se>
2675 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2677 * java/util/Calendar.java
2678 (set): Use starting day of week when one is needed if none is given.
2679 * java/text/SimpleDateFormat.java
2680 (parse): Handle 1-12 and 1-24 timestamps correctly.
2681 * java/util/GregorianCalendar.java
2682 (computeTime, computeFields): HOUR should be in 0-11 format.
2683 (nonLeniencyCheck): Adjust leniency checking to that fact.
2684 (getLinearDay): Should be private.
2686 2005-03-23 Tom Tromey <tromey@redhat.com>
2688 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2689 (_Jv_CheckABIVersion): Use it.
2691 2005-03-22 Mike Stump <mrs@apple.com>
2693 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2695 * include/posix.h: .dylib is used on all Apple MACH platforms.
2696 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2698 2005-03-22 Tom Tromey <tromey@redhat.com>
2700 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2702 2005-03-21 Tom Tromey <tromey@redhat.com>
2704 * java/lang/VMCompiler.java (static block): Also catch
2705 BufferUnderflowException.
2707 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2709 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2710 set tool_include_dir. In all substitutions, leave $(gcc_version)
2711 to be expanded by the Makefile.
2712 * aclocal.m4, configure: Regenerate.
2713 * Makefile.am: Set gcc_version. Replace all uses of
2714 @gcc_version@ with $(gcc_version).
2715 * external/Makefile.am, external/sax/Makefile.am
2716 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2717 * testsuite/Makefile.am: Set gcc_version.
2718 * include/Makefile.am: Set gcc_version and tool_include_dir.
2719 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2720 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2721 * testsuite/Makefile.in: Regenerate.
2723 2005-03-17 Andrew Haley <aph@redhat.com>
2725 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2727 Pass klass to _Jv_StackTrace::GetClassContext().
2728 * java/lang/ClassLoader.java (getParent): Pass class to
2729 VMSecurityManager.getClassContext()
2730 (getSystemClassLoader): Likewise.
2731 * java/lang/Package.java (getPackage): Likewise.
2732 (getPackages): Likewise.
2733 * java/lang/SecurityManager.java (getClassContext): Likewise.
2734 (currentClassLoader): Likewise.
2735 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2736 (currentClassLoader) Add new arg: caller.
2737 Pass caller to VMSecurityManager.getClassContext.
2739 * stacktrace.cc (GetClassContext): Correct calculation of
2742 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2743 im->source_file_name.
2745 2005-03-16 Andrew Haley <aph@redhat.com>
2747 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2749 2005-03-16 Tom Tromey <tromey@redhat.com>
2751 * link.cc (ensure_class_linked): Removed #ifdef.
2752 (print_class_loaded): Likewise.
2753 (wait_for_state): Likewise.
2754 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2755 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2756 * include/java-interp.h: ... here.
2758 2005-03-16 Tom Tromey <tromey@redhat.com>
2760 * gnu/java/lang/MainThread.java (run): Load main class using
2761 system class loader.
2763 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2765 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2766 lgcc_s to the libraries to link for Darwin.
2768 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2770 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2771 interpreter-specific code with #ifdef INTERPRETER.
2772 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2773 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2774 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2775 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2776 #ifdef INTERPRETER. Also protect declarations that use it.
2777 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2778 #ifdef INTERPRETER block.
2780 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2783 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2784 * Makefile.in: Rebuilt.
2786 2005-03-15 David Daney <ddaney@avtrex.com>
2788 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2791 2005-03-15 David Daney <ddaney@avtrex.com>
2793 * java/io/BufferedInputStream.java (available): Use 'in' instead
2794 of 'super' for underlying stream access.
2796 (read(byte[], int, int)): Ditto.
2798 (skip): Call skip on underlying stream when possible.
2800 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2802 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2803 SJLJ_EXCEPTIONS is defined.
2805 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2807 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2810 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2812 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2814 (libjava_arguments): Likewise.
2816 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2817 (gcj_jni_test_one): Likewise.
2818 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2819 Add flags to keep the Darwin linker quiet.
2820 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2821 Add -liconv for Darwin.
2823 2005-03-11 Tom Tromey <tromey@redhat.com>
2825 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2826 (_Jv_CheckABIVersion): Use it.
2828 2005-03-11 Tom Tromey <tromey@redhat.com>
2830 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2831 (usage): Document '-p'.
2832 * Makefile.in: Rebuilt.
2833 * Makefile.am (dbexecdir): New variable.
2834 (db_name): Likewise.
2835 (dbexec_DATA): Likewise.
2836 ($(db_name)): New target.
2837 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2838 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2841 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2843 * exception.cc: Remove stray MethodRef.h include.
2844 * java/lang/natClass.cc: Likewise.
2845 * gnu/gcj/runtime/MethodRef.java: Removed.
2846 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2847 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2848 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2849 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2850 * Makefile.in: Rebuilt.
2852 2005-03-10 Tom Tromey <tromey@redhat.com>
2854 * Makefile.in: Rebuilt.
2855 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2857 2005-03-10 Chris Burdess <dog@bluezoo.org>
2859 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2860 not currently parsing the DTD.
2862 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2864 New Stack Trace infrastructure.
2865 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2866 (gnu/gcj/runtime/StackTrace.java): Removed.
2867 (ordinary_java_source_files): Remove obsolete files.
2868 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2869 * configure.host (fallback_backtrace_h): Set backtrace header
2870 for mingw and cygwin targets.
2871 * configure.ac: Make symlink for fallback backtrace headers.
2872 * Makefile.in, configure: Rebuilt.
2873 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2874 Read 'LineNumberTable' attribute.
2875 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2877 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2879 * exception.cc: Remove unused include.
2880 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2881 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2882 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2883 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2884 table to direct threaded instruction values.
2885 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2886 (_Jv_InterpMethod::run): No longer member function. All
2887 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2888 is made or where an instruction could throw.
2889 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2891 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2892 (catch_fpe): Likewise.
2893 * stacktrace.cc: New file. Stack trace code now here.
2894 * gnu/gcj/runtime/MethodRef.java:
2895 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2896 calls addr2line to look up PC addresses in a given binary or shared
2898 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2899 gnu/gcj/runtime/natStackTrace.cc: Removed.
2900 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2901 this function name is specially recognised by the stack trace code
2902 and shouldn't be changed.
2903 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2904 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2905 (_Jv_InterpMethod::run): Update declaration.
2906 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2908 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2909 * include/java-stack.h: New file. Declarations for stack tracing.
2910 * include/jvm.h (_Jv_Frame_info): Removed.
2911 * java/lang/Class.h: Update friend declarations.
2912 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2914 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2915 (getStackTrace): Now native.
2916 (data): New RawDataManaged field.
2917 * java/lang/natClass.cc: Update includes.
2918 (forName): Use _Jv_StackTrace::GetCallingClass for
2919 calling-classloader check.
2920 (getClassLoader): Likewise.
2921 * java/lang/natRuntime.cc: Update includes.
2922 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2923 * java/lang/natVMSecurityManager.cc: Update includes.
2924 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2925 * java/lang/natVMThrowable.cc: New file. Native methods for
2927 * java/lang/reflect/natArray.cc: Update includes.
2928 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2929 accessibility check.
2930 * java/lang/reflect/natConstructor.cc: Update includes.
2931 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2932 accessibility check.
2933 * java/lang/reflect/natField.cc: Update includes.
2934 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2935 accessibility check.
2936 * java/lang/reflect/natMethod.cc: Update includes.
2937 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2938 accessibility check.
2939 * java/util/natResourceBundle.cc: Update includes.
2940 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2941 * java/util/logging/natLogger.cc: Update includes. Use
2942 _Jv_StackTrace::GetCallerInfo to get call-site info.
2943 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2945 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2948 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2950 * testsuite/libjava.compile/PR20312.java: New file.
2951 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2952 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2954 2005-03-09 Andrew Haley <aph@redhat.com>
2956 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2958 (smallTransferTo): New.
2959 (transferFrom): Loop around smallTransferFrom, copying pageSize
2961 (transferTo): Likewise.
2963 2005-03-09 David Daney <ddaney@avtrex.com>
2966 Merge BufferedInputStream from GNU Classpath.
2967 * java/io/BufferedInputStream.java (marktarget): Field removed.
2968 (CHUNKSIZE): Field removed.
2969 (bufferSize): New field.
2970 (BufferedInputStream): Initialize fields.
2971 (close): Invalidate mark and buffer indexes.
2973 (read()): Move mark handling code to refill.
2974 (read(byte[], int, int)): Ditto.
2975 (skip): Ditto and simplify EOF testing.
2976 (refill): Rewritten.
2977 * java/io/InputStreamReader.java (refill): Removed mark and reset
2978 of internal BufferedInputStream.
2980 2005-03-09 Tom Tromey <tromey@redhat.com>
2982 * java/lang/natVMClassLoader.cc (defineClass): Reference
2983 'systemClassLoader' field directly.
2984 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2986 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2987 Reference 'systemClassLoader' field directly.
2988 (_Jv_UnregisterInitiatingLoader): Likewise.
2989 (_Jv_FindClass): Likewise.
2991 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2993 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2995 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2996 the file in GNU Classpath style.
2998 2005-03-09 Tom Tromey <tromey@redhat.com>
3000 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3001 (toString): Synchronize.
3003 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3005 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3006 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3008 2005-03-07 Tom Tromey <tromey@redhat.com>
3010 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3011 (usage): Document '-f'.
3013 2005-03-07 Tom Tromey <tromey@redhat.com>
3015 * java/lang/VMCompiler.java (md5Digest): New field.
3016 (compileClass): Clone md5Digest instead of looking up a new one.
3018 2005-03-07 Tom Tromey <tromey@redhat.com>
3021 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3022 * link.cc (find_field_helper): Added 'type' argument.
3023 (find_field): Updated.
3025 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3026 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3027 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3028 throw UnsupportedOperationException, fixed comments.
3029 (setFont, setForeground): Fixed comments.
3030 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3031 return type to boolean.
3032 (getNextEvent): Fixed javadocs.
3033 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3034 (nativeQueueEmpty): Removed unused code.
3035 (iterateNativeQueue): Removed outer loop.
3037 2005-03-06 Roger Sayle <roger@eyesopen.com>
3040 * Makefile.am (libgcj0_convenience.la): Revert last change.
3041 * Makefile.in: Regenerate.
3043 2005-03-05 Anthony Green <green@redhat.com>
3045 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3046 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3047 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3048 (_Jv_GetDrawingSurface): Set visualID.
3049 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3050 (JAWT_GetAWT): Set Lock and Unlock.
3051 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3053 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3054 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3055 JAWT_LOCK_SURFACE_CHANGED): New macros.
3056 (struct _JAWT): Add Lock and Unlock.
3058 2005-03-05 Roger Sayle <roger@eyesopen.com>
3059 Alexandre Oliva <aoliva@redhat.com>
3060 Kelley Cook <kcook@gcc.gnu.org>
3063 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3064 of the object files to link to avoid exceeding the command line
3065 length limits on some platforms.
3066 (clean-local): Clean up objectlist files.
3067 * Makefile.in: Regenerate.
3069 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3071 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3072 spec_case. Initialize pointer mlo.
3074 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3077 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3079 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3082 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3083 uninitialized variable z.
3085 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3086 possible unused variables.
3088 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3090 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3092 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3095 * testsuite/libjava.jni/jni.exp
3096 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3098 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3100 2005-02-23 David Daney <ddaney@avtrex.com>
3102 * configure.host: Don't use -mxgot for MIPS builds.
3104 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3107 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3108 (COMPPATH): Removed.
3109 (ZIP, GCJH): Replace it with ../$(host_subdir).
3110 (built_gcc_dir): Add $(host_subdir).
3111 * configure: Regenerate.
3112 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3113 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3114 external/w3c_dom/Makefile.in: Regenerate.
3116 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3118 * java/awt/font/TextAttribute.java: changed names to lower case;
3119 (readResolve): implemented.
3120 Added doc comments all over.
3122 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3125 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3126 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3127 value. Move argument parsing code to prims.cc.
3128 * prims.cc (no_properties): Remove.
3129 (_Jv_Compiler_Properties): Initialize to NULL.
3130 (_Jv_Properties_Count): Initialize to 0.
3131 (parse_verbose_args): New function.
3132 (parse_init_args): New function.
3133 (_Jv_CreateJavaVM): Call parse_init_args.
3134 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3135 * gcj/cni.h (JvVMOption): New struct.
3136 (JvVMInitArgs): Likewise.
3137 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3139 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3140 (_Jv_VMInitArgs): Likewise.
3141 * include/java-props.h (_Jv_Properties_Count): Declare.
3142 * java/lang/natRuntime.cc (insertSystemProperties): Use
3143 _Jv_Properties_Count in for loop exit condition.
3144 * testsuite/libjava.jni/jni.exp
3145 (gcj_invocation_compile_c_to_binary): New procedure.
3146 (gcj_invocation_test_one): Likewise.
3147 (gcj_jni_run): Run JNI invocation API tests.
3148 * testsuite/libjava.jni/invocation/PR16923.c,
3149 testsuite/libjava.jni/invocation/PR16923.java,
3150 testsuite/libjava.jni/invocation/PR16923.out: New test.
3152 2005-02-23 Michael Koch <konqueror@gmx.de>
3154 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3155 * Makefile.in: Regenerated.
3157 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3159 * gnu/java/nio/ChannelReader: Fixed comments.
3161 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3163 * java/nio/channels/Channels: Added FIXMEs about
3164 stub method implementation.
3165 (newReader): Implemented.
3166 * gnu/java/nio/ChannelReader: New class.
3168 2005-02-23 Michael Koch <konqueror@gmx.de>
3170 * java/text/SimpleDateFormat.java:
3171 Removed unused import.
3173 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3176 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3177 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3178 * Makefile.in: Regenerate.
3179 * configure.ac: Check for libXtst.
3180 * configure: Regenerate.
3182 2005-02-22 Mark Wielaard <address@bogus.example.com>
3184 * java/security/AlgorithmParameterGenerator.java (getInstance):
3185 Mention provider when throwing NoSuchProviderException.
3186 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3187 * java/security/KeyFactory.java (getInstance): Likewise.
3188 * java/security/KeyStore.java (getInstance): Likewise.
3189 * java/security/SecureRandom.java (getInstance): Likewise.
3190 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3192 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3194 * java/lang/reflect/Proxy.java,
3196 java/security/SecureRandom.java,
3197 java/util/Timer.java,
3198 java/util/prefs/AbstractPreferences.java:
3199 Don't catch java.lang.ThreadDeath.
3201 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3203 * java/awt/font/TransformAttribute.java,
3204 (TransformAttribute(AffineTransform)): throw
3205 IllegalArgumentException for null transform.
3206 (getTransform): return a copy of transform.
3207 Added doc comments to all.
3209 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3211 * java/io/Externalizable.java,
3212 java/io/Serializable.java
3213 (serialVersionUID): Removed.
3214 * java/rmi/server/RemoteObject.java,
3215 java/rmi/server/UID.java
3216 (serialVersionUID): Made private.
3217 * java/rmi/server/RemoteRef.java,
3218 java/rmi/server/ServerRef.java
3219 (serialVersionUID): Set proper value.
3220 * java/security/interfaces/DSAPrivateKey.java,
3221 java/security/interfaces/DSAPublicKey.java,
3222 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3223 java/security/interfaces/RSAPrivateCrtKey.java,
3224 java/security/interfaces/RSAPrivateKey.java,
3225 java/security/interfaces/RSAPublicKey.java,
3226 javax/crypto/SecretKey.java
3227 (serialVersionUID): Added.
3229 2005-02-22 Tom Tromey <tromey@redhat.com>
3231 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3233 2005-02-22 Tom Tromey <tromey@redhat.com>
3236 * verify.cc (type::EITHER): New constant.
3237 (check_field_constant): Use it.
3238 (type::compatible): Handle it.
3240 2005-02-22 Michael Koch <konqueror@gmx.de>
3242 * gnu/java/security/PolicyFile.java,
3243 gnu/java/security/pkcs/PKCS7SignedData.java,
3244 gnu/java/security/pkcs/SignerInfo.java:
3245 Fixed copyright header.
3247 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3249 * java/beans/PropertyDescriptor.java
3250 (PropertyDescriptor,setReadMethod): Set propertyType.
3252 2005-02-22 Michael Koch <konqueror@gmx.de>
3254 * java/nio/DirectByteBufferImpl.java
3255 (owner): Fixed formatting of javadoc.
3256 * java/text/DateFormat.java
3257 (getAvailableLocales): Fixed formatting.
3258 * java/text/SimpleDateFormat.java:
3259 Fixed formatting and import statement order.
3260 * java/util/Calendar.java
3261 (Calendar): Fixed javadoc to be HTML compliant.
3262 * java/util/SimpleTimeZone.java:
3265 2005-02-22 Roman Kennke <roman@ontographics.com>
3267 * javax/swing/plaf/basic/BasicLookAndFeel.java
3268 (initComponentDefaults): Fixed Button left and right margin.
3270 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3272 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3276 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3277 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3278 (getWidth): New method.
3279 (getHeight): Likewise.
3280 (create): Remove width, height and insets parameters. Move size
3282 (realize_cb): ... here. New function.
3283 (connectSignals): Connect realize_cb.
3284 (request_frame_extents): Remove FIXME. Move
3285 postInsetsChangedEvent lookup ...
3286 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3287 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3288 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3290 (windowGetWidthID): Likewise.
3291 (windowGetHeightID): Likewise.
3293 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3297 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3299 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3301 Merge serialization from GNU Classpath.
3302 * gcj/method.h: Add missing #includes.
3303 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3304 primitive class IDs on the stream here...
3305 (resolveClass): ...not here.
3306 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3308 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3309 setLongNative, setIntNative, setShortNative, setCharNative,
3310 setByteNative, setBooleanNative, setObjectNative): New native methods.
3311 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3312 setLongNative, setIntNative, setShortNative, setCharNative,
3313 setByteNative, setBooleanNative, setObjectNative): Implement them.
3314 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3315 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3316 the constructor here.
3317 (callConstructor): Removed.
3318 (getCallersClassLoader): Removed.
3319 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3320 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3321 to control whether setting final field values is permitted. Call
3322 getAddr() with checkFinal parameter instead of setAddr().
3323 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3324 only if not done already.
3325 (getAddr): Add checkFinal parameter. Do the final field check only if
3329 2005-02-21 Mark Wielaard <mark@klomp.org>
3332 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3335 2005-02-21 Mark Wielaard <mark@klomp.org>
3338 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3339 without a super class and us ObjectStreamClass.lookupForClassObject().
3340 (resolveClass): Check for primitive types.
3341 (lookupClass): Return null when argument is null.
3343 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3345 * java/io/ObjectInputStream.java
3346 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3348 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3350 * java/io/ObjectOutputStream.java
3351 (writeObject, callWriteMethod): Replaced reflection with accessing
3352 cached info in ObjectStreamClass.
3353 (getMethod): Removed.
3354 * java/io/ObjectStreamClass.java
3355 (findMethod): Added check to make sure the method found has the
3357 (cacheMethods): Added writeReplace and writeObject methods.
3358 (setFlags): Look at new writeObjectMethod field instead of doing
3360 (writeReplaceMethod): New field.
3361 (writeObjectMethod): New field.
3363 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3364 Jeroen Frijters <jeroen@frijters.net>
3366 * java/io/ObjectInputStream.java
3367 (newObject): Changed prototype. Get a constructor reflect object
3369 (callConstructor): Removed.
3370 (allocateObject): Changed prototype.
3371 (readClassDescriptor): Build the constructor reflection directly.
3372 (readObject): Invoke newObject using the new prototype.
3374 * java/io/ObjectStreamClass.java
3375 (firstNonSerializableParent): Removed.
3376 (firstNonSerializableParentConstructor): Added.
3378 2005-02-21 Mark Wielaard <mark@klomp.org>
3380 * gnu/java/locale/LocaleInformation_en.java: Extend
3381 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3383 2005-02-21 Mark Wielaard <mark@klomp.org>
3385 * java/text/SimpleDateFormat.java
3386 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3387 NullPointerException when formatData is null.
3389 2005-02-21 Mark Wielaard <mark@klomp.org>
3391 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3392 taking dstSavings into account.
3394 2005-02-21 Sven de Marothy <sven@physto.se>
3396 * java/text/SimpleDateFormat.java,
3397 (parse): Set correct DST_OFFSET to the correct value.
3399 2005-02-21 Mark Wielaard <mark@klomp.org>
3401 * java/util/SimpleTimeZone.java (checkRule): Throw
3402 IllegalArgumentException when month out of range.
3404 2005-02-21 Sven de Marothy <sven@physto.se>
3406 * java/util/GregorianCalendar.java,
3407 (add): Don't set fields directly anymore. Use set()
3409 2005-02-21 Mark Wielaard <mark@klomp.org>
3411 * java/text/SimpleDateFormat.java (CompiledField.toString):
3412 Use StringBuffer, not StringBuilder.
3413 (toString): Likewise.
3415 2005-02-21 Sven de Marothy <sven@physto.se>
3417 * java/util/Calendar.java
3418 (clear): Dates should clear to local time.
3419 * java/util/GregorianCalendar.java
3420 (computeTime): Fix priority problem with DAY_OF_WEEK,
3421 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3423 2005-02-21 Sven de Marothy <sven@physto.se>
3425 * java/util/Calendar.java
3426 (Calendar): Constructor should clear fields.
3428 2005-02-21 Sven de Marothy <sven@physto.se>
3430 * java/text/SimpleDateFormat.java
3431 (parse): Tweak handling of 2-year dates
3432 * java/util/Calendar.java
3433 (clear): Clear fields to correct value.
3434 * java/util/GregorianCalendar.java
3435 (computeTime): Correct handling of time zones.
3436 Correct field minimum values.
3438 2005-02-21 Sven de Marothy <sven@physto.se>
3440 * java/util/Calendar.java
3441 (set) Invalidate all fields on first call to set().
3443 2005-02-21 Sven de Marothy <sven@physto.se>
3445 * java/util/GregorianCalendar.java
3446 (computeTime): Fixed handling of time zones.
3448 2005-02-21 Sven de Marothy <sven@physto.se>
3450 * java/util/Calendar.java
3451 (clear): Set values to Epoch instead of zero.
3452 (set): Set isSet to the relevant field pattern instead of just
3454 * java/util/GregorianCalendar.java
3455 (getBundle): Removed.
3456 (getDayOfYear): Removed.
3457 (getFirstDayOfMonth): New private method.
3458 (nonLeniencyCheck): New private method.
3459 (computeTime): Correct handling of insufficient data.
3461 2005-02-21 Sven de Marothy <sven@physto.se>
3463 * java/util/Calendar.java: Invalidate ERA field on setting
3465 * java/util/SimpleTimeZone.java:
3466 (getDaysInMonth): Reimplemented.
3467 * java/util/GregorianCalendar.java:
3468 (getLinearTime): Removed.
3469 (isLeapYear(int,boolean)): Removed.
3470 (before(), after()): Removed.
3471 (computeTime): Reimplemented.
3473 2005-02-21 Sven de Marothy <sven@physto.se>
3475 * java/util/Calendar.java: Reformatted.
3476 * java/util/GregorianCalendar.java: Reformatted.
3477 * java/util/SimpleTimeZone.java: Reformatted.
3479 2005-02-21 Sven de Marothy <sven@physto.se>
3481 * java/util/GregorianCalendar.java
3482 (GregorianCalendar): Update fields in the constructor
3484 2005-02-21 Noa Resare <noa@resare.com>
3486 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3487 (set(int,int)): Set and use new field.
3488 (set(int,int,int)): Check new field.
3490 2005-02-21 Noa Resare <address@hidden>
3492 * java/util/Calendar.java(set):
3493 Fix for DST related regression.
3495 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3497 * java/util/Calendar.java
3498 (setTimeInMillis): Added call to clear, removed computeFields call.
3499 * java/util/Date.java
3500 (Date(int,int,int,int,int,int)): Removed workaround for
3501 GregorianCalendar bug.
3502 * java/util/GregorianCalendar.java
3503 (GregorianCalendar): Chained all constructors to a (new)
3505 (computeTime): Fixed support for lenient month treatment.
3506 (getLinearDay): Return long instead of int.
3507 (calculateDay): Added fields argument and changed day argument
3510 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3512 * java/text/SimpleDateFormat.java
3513 Lots of documentation updates.
3514 (readObject(java.io.ObjectInputStream)): Wraps
3515 IllegalArgumentException as specified.
3516 (compileFormat(String)): Uses standardChars
3517 rather than the local pattern characters.
3518 Throws IllegalArgumentException rather than
3520 (toString()): Extended to include all variables
3522 (translateLocalizedPattern(String, String, String)):
3523 Renamed to better define the use of this method.
3525 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3527 * java/text/DateFormat.java:
3528 Documented pattern character offset constants and
3530 (Field): Added new static fields for new pattern chars.
3531 * java/text/SimpleDateFormat.java:
3532 (CompiledField): Changed name of FieldSizePair class
3533 to CompiledField after adding the character as an
3534 attribute. Changed fields to private and added
3535 accessors to give encapsulation.
3536 (CompiledField.CompiledField(int,int,char)): Extended
3537 with character field.
3538 (CompiledField.getField()): New accessor method.
3539 (CompiledField.getSize()): New acceessor method.
3540 (CompiledField.getCharacter()): New accessor method.
3541 (CompiledField.toString()): Added primarily for debugging.
3542 (standardChars): Now uses extended 24 character sequence.
3543 (compileFormat(String)): Changed to use CompiledField.
3544 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3545 java.text.FieldPosition)): Changed to use CompiledField.
3546 New handler for RFC 822 timezones added.
3548 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3550 * java/text/SimpleDateFormat.java:
3551 (parse(String, java.text.ParsePosition)):
3552 Changed 'E' and 'M' cases to use both
3553 short and long names. Extended 'z'
3554 case to also handle 'Z', and deal
3555 with simple GMT offsets such as +0100.
3556 (computeOffset(String)): New private method,
3557 which converts a GMT offset specification,
3558 such as GMT-0500 to a numeric offset in
3560 * java/util/TimeZone.java:
3561 (timezones()): Added "CEST", the daylight
3562 savings time version of "CET", or Central
3565 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3567 * java/text/SimpleDateFormat.java:
3568 (parse): Set the DST offset to 0 when parsing
3569 GMT offset timezones.
3571 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3573 * java/text/SimpleDateFormat.java:
3574 (parse): Use offset to set ZONE_OFFSET
3575 rather than the DST_OFFSET, so that
3576 GMT offset timezones change the right
3579 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3581 * java/text/SimpleDateFormat.java:
3582 (getDateFormatSymbols()): return a copy
3583 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3584 throw exception on null input
3585 (clone()): implemented to clone
3588 2005-02-21 Sven de Marothy <sven@physto.se>
3590 * java/text/SimpleDateFormat.java
3591 (parse): comparison should be case-insensitive, ignore null
3594 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3596 * gnu/java/beans/IntrospectionIncubator.java
3597 (addMethod) Reverts the patch that ntroduced a regression (see bug
3598 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3600 2005-02-21 Michael Koch <konqueror@gmx.de>
3602 * java/awt/Checkbox.java
3603 (next_checkbox_number): New static variable.
3604 (generateName): New method.
3605 (getUniqueLong): Likewise.
3606 * java/awt/Window.java
3607 (next_window_number): New static variable.
3608 (generateName): New method.
3609 (getUniqueLong): Likewise.
3611 2005-02-21 Mark Wielaard <mark@klomp.org>
3613 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3616 2005-02-21 Andrew Haley <aph@redhat.com>
3618 * Makefile.in: Rebuilt.
3619 * Makefile.am (nat_source_files): Added natLogger.cc.
3620 * java/util/logging/natLogger.cc: New file.
3621 * java/util/logging/Logger.java (getCallerStackFrame): Now
3624 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3626 * Makefile.am (all_property_files): Remove left over.
3627 (classes.stamp): Add stamp for the ONESTEP build, also known as
3628 --enable-libgcj-multifile.
3629 * Makefile.in: Regenerated.
3631 2005-02-21 Michael Koch <konqueror@gmx.de>
3633 * java/awt/Button.java,
3634 java/awt/Container.java,
3636 java/awt/Frame.java,
3637 java/text/CollationElementIterator.java,
3638 java/text/RuleBasedCollator.java,
3639 java/util/PropertyPermission.java:
3640 Fixed formatting issues all over.
3642 2005-02-21 Mark Wielaard <mark@klomp.org>
3644 * java/io/FileDescriptor.java (sync): Add real exception to
3645 SyncFailedException.
3647 2005-02-21 Michael Koch <konqueror@gmx.de>
3649 * java/io/InputStreamReader.java:
3652 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3655 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3657 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3659 * libraries/javalib/gnu/regexp/RE.java,
3660 libraries/javalib/java/io/ObjectInputStream.java,
3661 libraries/javalib/java/security/AllPermission.java,
3662 libraries/javalib/java/security/BasicPermission.java,
3663 libraries/javalib/java/security/Permissions.java,
3664 libraries/javalib/java/text/MessageFormat.java:
3665 Made 'inner' classes real public static inner classes,
3666 and made them final where possible, or removed them
3669 2005-02-20 Michael Koch <konqueror@gmx.de>
3671 * gnu/java/text/FormatCharacterIterator.java:
3672 Removed redundant modifiers.
3674 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3676 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3679 2005-02-19 Michael Koch <konqueror@gmx.de>
3681 * Makefile.am: Added new files in gnu/java/beans and
3682 java/beans/XMLDecoder.java.
3683 * Makefile.in: Regenerated.
3685 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3687 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3688 assignment behavior by using java.lang.reflect.Array.set()
3691 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3693 * gnu/java/beans/EmptyBeanInfo.java,
3694 gnu/java/beans/info/ComponentBeanInfo.java:
3695 Removed unused files.
3697 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3699 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3700 of AppletStub for java.beans.Beans.instantiate.
3701 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3703 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3704 to be conformant with Javadoc guidelines.
3705 (instantiate): Added two more overloaded variants, reworked user
3706 documentation, fixed exception behavior, fixed behavior when
3709 2005-02-19 Mark Wielaard <mark@klomp.org>
3711 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3713 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3715 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3717 * gnu/java/beans/decoder/AbstractContext.java,
3718 gnu/java/beans/decoder/AbstractCreatableContext.java,
3719 gnu/java/beans/decoder/AbstractElementHandler.java,
3720 gnu/java/beans/decoder/AbstractObjectContext.java,
3721 gnu/java/beans/decoder/ArrayContext.java,
3722 gnu/java/beans/decoder/ArrayHandler.java,
3723 gnu/java/beans/decoder/AssemblyException.java,
3724 gnu/java/beans/decoder/BooleanHandler.java,
3725 gnu/java/beans/decoder/ByteHandler.java,
3726 gnu/java/beans/decoder/CharHandler.java,
3727 gnu/java/beans/decoder/ClassHandler.java,
3728 gnu/java/beans/decoder/ConstructorContext.java,
3729 gnu/java/beans/decoder/Context.java,
3730 gnu/java/beans/decoder/DecoderContext.java,
3731 gnu/java/beans/decoder/DefaultExceptionListener.java,
3732 gnu/java/beans/decoder/DoubleHandler.java,
3733 gnu/java/beans/decoder/DummyContext.java,
3734 gnu/java/beans/decoder/DummyHandler.java,
3735 gnu/java/beans/decoder/ElementHandler.java,
3736 gnu/java/beans/decoder/FloatHandler.java,
3737 gnu/java/beans/decoder/GrowableArrayContext.java,
3738 gnu/java/beans/decoder/IndexContext.java,
3739 gnu/java/beans/decoder/IntHandler.java,
3740 gnu/java/beans/decoder/JavaHandler.java,
3741 gnu/java/beans/decoder/LongHandler.java,
3742 gnu/java/beans/decoder/MethodContext.java,
3743 gnu/java/beans/decoder/MethodFinder.java,
3744 gnu/java/beans/decoder/NullHandler.java,
3745 gnu/java/beans/decoder/ObjectContext.java,
3746 gnu/java/beans/decoder/ObjectHandler.java,
3747 gnu/java/beans/decoder/PersistenceParser.java,
3748 gnu/java/beans/decoder/PropertyContext.java,
3749 gnu/java/beans/decoder/ShortHandler.java,
3750 gnu/java/beans/decoder/SimpleHandler.java,
3751 gnu/java/beans/decoder/StaticMethodContext.java,
3752 gnu/java/beans/decoder/StringHandler.java,
3753 gnu/java/beans/decoder/VoidHandler.java: New class
3754 implementing java.beans.XMLDecoder decoding functionality.
3755 * java/beans/XMLDecoder.java: New class.
3757 2005-02-19 Michael Koch <konqueror@gmx.de>
3759 * javax/swing/JTextField.java
3760 (notfiyAction): Added javadoc.
3762 2005-02-19 Sven de Marothy <sven@physto.se>
3764 * javax/swing/SpinnerDateModel.java: Implemented.
3766 2005-02-19 Michael Koch <konqueror@gmx.de>
3768 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3769 * Makefile.in: Regenerated.
3771 2005-02-19 Michael Koch <konqueror@gmx.de>
3773 * gnu/java/nio/SelectorImpl.java:
3774 Reworked import statements.
3775 (register): Removed unused code.
3776 * java/nio/channels/Channels.java: Reformatted.
3777 * java/nio/charset/Charset.java: Likewise.
3778 * java/rmi/server/RemoteObject.java
3779 (serialVersionUID): Made private.
3780 * java/rmi/server/UID.java
3781 (serialVersionUID): Likewise.
3783 2005-02-19 Michael Koch <konqueror@gmx.de>
3785 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3786 gnu/java/net/protocol/ftp/BlockInputStream.java,
3787 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3788 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3789 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3790 gnu/java/net/protocol/ftp/DTPInputStream.java,
3791 gnu/java/net/protocol/ftp/DTP.java,
3792 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3793 gnu/java/net/protocol/ftp/FTPConnection.java,
3794 gnu/java/net/protocol/ftp/FTPException.java,
3795 gnu/java/net/protocol/ftp/FTPResponse.java,
3796 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3797 gnu/java/net/protocol/ftp/Handler.java,
3798 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3799 gnu/java/net/protocol/ftp/StreamInputStream.java,
3800 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3801 gnu/java/net/CRLFInputStream.java,
3802 gnu/java/net/CRLFOutputStream.java,
3803 gnu/java/net/GetLocalHostAction.java,
3804 gnu/java/net/protocol/ftp/package.html: New files.
3805 * Makefile.am: Added new files.
3806 * Makefile.in: Regenerated.
3808 2005-02-18 Tom Tromey <tromey@redhat.com>
3810 * link.cc (make_vtable): Remove abstract method check.
3811 (append_partial_itable): Likewise.
3814 * verify.cc (type::equals): Fixed test.
3815 * testsuite/libjava.lang/PR20056.out: New file.
3816 * testsuite/libjava.lang/PR20056.java: New file.
3818 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3820 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3821 not the HashEntry. Reported by Jean-Marie White.
3823 2005-02-18 Tom Tromey <tromey@redhat.com>
3826 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3827 * link.cc (has_field_p): New function.
3828 * verify.cc (check_field_constant): Added 'putfield' argument.
3829 (verify_instructions_0): Updated.
3830 (type::equals): New method.
3832 2005-02-18 Anthony Green <green@redhat.com>
3834 * NEWS: Draft of libgcj NEWS for 4.0.
3836 2005-02-18 Anthony Green <green@redhat.com>
3838 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3839 architecture names to "i386" for compatibility reasons. Win32
3842 2005-02-18 Anthony Green <green@redhat.com>
3844 * gij.cc (version): Change year for '--version' to 2005.
3845 * gnu/gcj/convert/Convert.java: Ditto.
3846 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3847 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3849 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3850 recent copyright year in `--version' output.
3852 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3854 * java/nio/charset/Charset.java (forName): Throws
3855 IllegalArgumentException when argument is null
3856 and added documentation.
3858 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3860 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3861 Move the position of the source buffer forward.
3863 2005-02-17 Tom Tromey <tromey@redhat.com>
3865 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3866 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3867 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3868 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3869 Changed type of second argument. Rewrote.
3870 (make_vtable): Use it.
3871 (append_partial_itable): Updated.
3872 (layout_vtable_methods): Updated.
3874 2005-02-17 Michael Koch <konqueror@gmx.de>
3876 * gnu/java/net/PlainSocketImpl.java
3877 (shutdownInput): Added javadoc.
3878 (shutdownOutput): Likewise.
3880 2005-02-17 Michael Koch <konqueror@gmx.de>
3882 * javax/print/attribute/standard/Chromaticity.java,
3883 javax/print/attribute/standard/Destination.java,
3884 javax/print/attribute/standard/MediaPrintableArea.java,
3885 javax/print/attribute/standard/MediaSize.java: New files.
3886 * Makefile.am: Added new files.
3887 * Makefile.in: Regenerated.
3889 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3890 Michael Koch <konqueror@gmx.de>
3892 * gnu/java/net/protocol/http/Cookie.java,
3893 gnu/java/net/protocol/http/HTTPConnection.java,
3894 gnu/java/net/protocol/http/HTTPDateFormat.java,
3895 gnu/java/net/protocol/http/Request.java,
3896 gnu/java/nio/PipeImpl.java,
3897 gnu/java/rmi/dgc/DGCImpl.java,
3898 gnu/java/rmi/server/ConnectionRunnerPool.java,
3899 gnu/java/rmi/server/UnicastConnectionManager.java,
3900 gnu/java/security/der/DERWriter.java,
3901 gnu/java/security/pkcs/SignerInfo.java,
3902 gnu/java/security/provider/EncodedKeyFactory.java,
3903 gnu/java/security/provider/GnuDHPublicKey.java,
3904 gnu/java/security/provider/GnuDSAPrivateKey.java,
3905 gnu/java/security/provider/GnuDSAPublicKey.java,
3906 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3907 gnu/java/security/x509/X500DistinguishedName.java,
3908 gnu/java/security/x509/X509CRL.java,
3909 gnu/java/security/x509/X509CRLEntry.java,
3910 gnu/java/security/x509/X509Certificate.java,
3911 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3912 gnu/java/security/x509/ext/CertificatePolicies.java,
3913 gnu/java/security/x509/ext/PolicyConstraint.java,
3914 gnu/xml/dom/Consumer.java,
3915 gnu/xml/dom/DomCharacterData.java,
3916 gnu/xml/dom/DomDocument.java,
3917 gnu/xml/dom/DomDocumentBuilder.java,
3918 gnu/xml/dom/DomIterator.java,
3919 gnu/xml/dom/DomNode.java,
3920 gnu/xml/dom/DomXPathExpression.java,
3921 gnu/xml/dom/DomXPathResult.java,
3922 gnu/xml/dom/JAXPFactory.java,
3923 gnu/xml/pipeline/CallFilter.java,
3924 gnu/xml/pipeline/DomConsumer.java,
3925 gnu/xml/pipeline/LinkFilter.java,
3926 gnu/xml/pipeline/NSFilter.java,
3927 gnu/xml/pipeline/TeeConsumer.java,
3928 gnu/xml/pipeline/ValidationConsumer.java,
3929 gnu/xml/pipeline/WellFormednessFilter.java,
3930 gnu/xml/pipeline/XIncludeFilter.java,
3931 gnu/xml/pipeline/XsltFilter.java,
3932 gnu/xml/transform/ApplyImportsNode.java,
3933 gnu/xml/transform/Bindings.java,
3934 gnu/xml/transform/DocumentFunction.java,
3935 gnu/xml/transform/FormatNumberFunction.java,
3936 gnu/xml/transform/NodeNumberNode.java,
3937 gnu/xml/transform/NumberNode.java,
3938 gnu/xml/transform/Stylesheet.java,
3939 gnu/xml/transform/SystemPropertyFunction.java,
3940 gnu/xml/transform/Template.java,
3941 gnu/xml/transform/TemplatesImpl.java,
3942 gnu/xml/transform/TransformerImpl.java,
3943 gnu/xml/transform/ValueOfNode.java,
3944 gnu/xml/transform/XSLURIResolver.java,
3945 gnu/xml/util/DoParse.java,
3946 gnu/xml/util/Resolver.java,
3947 gnu/xml/xpath/Expr.java,
3948 gnu/xml/xpath/FunctionCall.java,
3949 gnu/xml/xpath/RelationalExpr.java,
3950 gnu/xml/xpath/Selector.java,
3951 gnu/xml/xpath/XPathParser.java:
3952 Reworked import statements, fixed modifier order and some little
3955 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3957 * java/nio/ByteBufferImpl.java (compact):
3958 Set position and limit even if no bytes were moved.
3960 2005-02-17 Michael Koch <konqueror@gmx.de>
3962 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3963 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3964 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3965 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3966 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3967 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3968 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3969 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3970 * java/nio/FloatBufferImpl.java (compact): Set position.
3971 * java/nio/CharBufferImpl.java (compact): Likewise.
3972 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3973 * java/nio/IntBufferImpl.java (compact): Likewise.
3974 * java/nio/LongBufferImpl.java (compact): Likewise.
3975 * java/nio/ShortBufferImpl.java (compact): Likewise.
3977 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3979 * java/nio/ByteBufferImpl.java,
3980 java/nio/CharBufferImpl.java,
3981 java/nio/DirectByteBufferImpl.java,
3982 java/nio/DoubleBufferImpl.java,
3983 java/nio/FloatBufferImpl.java,
3984 java/nio/IntBufferImpl.java,
3985 java/nio/LongBufferImpl.java,
3986 java/nio/MappedByteBufferImpl.java,
3987 java/nio/ShortBufferImpl.java
3988 (compact): Added explicit read-only check and invalidate mark.
3990 2005-02-17 Michael Koch <konqueror@gmx.de>
3992 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3993 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3994 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3995 gnu/java/awt/peer/gtk/GdkGraphics.java,
3996 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3997 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3998 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3999 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4000 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4001 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4002 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4003 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4004 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4005 gnu/java/awt/peer/gtk/GtkClipboard.java,
4006 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4007 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4008 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4009 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4010 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4011 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4012 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4013 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4014 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4015 gnu/java/awt/peer/gtk/GtkToolkit.java,
4016 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4017 java/applet/Applet.java,
4018 java/awt/AWTError.java,
4019 java/awt/AWTEvent.java,
4020 java/awt/AWTEventMulticaster.java,
4021 java/awt/AWTException.java,
4022 java/awt/AWTKeyStroke.java,
4023 java/awt/AWTPermission.java,
4024 java/awt/ActiveEvent.java,
4025 java/awt/Adjustable.java,
4026 java/awt/AlphaComposite.java,
4027 java/awt/AttributeValue.java,
4028 java/awt/BorderLayout.java,
4029 java/awt/BufferCapabilities.java,
4030 java/awt/Button.java,
4031 java/awt/Canvas.java,
4032 java/awt/CheckboxGroup.java,
4033 java/awt/CheckboxMenuItem.java,
4034 java/awt/Color.java,
4035 java/awt/ColorPaintContext.java,
4036 java/awt/Component.java,
4037 java/awt/ComponentOrientation.java,
4038 java/awt/Composite.java,
4039 java/awt/CompositeContext.java,
4040 java/awt/Container.java,
4041 java/awt/ContainerOrderFocusTraversalPolicy.java,
4042 java/awt/DefaultFocusTraversalPolicy.java,
4043 java/awt/Dialog.java,
4044 java/awt/Dimension.java,
4045 java/awt/DisplayMode.java,
4046 java/awt/EventQueue.java,
4047 java/awt/FileDialog.java,
4048 java/awt/FontFormatException.java,
4049 java/awt/Graphics.java,
4050 java/awt/Graphics2D.java,
4051 java/awt/GraphicsConfigTemplate.java,
4052 java/awt/GraphicsConfiguration.java,
4053 java/awt/GraphicsDevice.java,
4054 java/awt/GridBagLayout.java,
4055 java/awt/GridBagLayoutInfo.java,
4056 java/awt/GridLayout.java,
4057 java/awt/HeadlessException.java,
4058 java/awt/IllegalComponentStateException.java,
4059 java/awt/Image.java,
4060 java/awt/Insets.java,
4061 java/awt/ItemSelectable.java,
4062 java/awt/JobAttributes.java,
4063 java/awt/KeyEventDispatcher.java,
4064 java/awt/KeyEventPostProcessor.java,
4065 java/awt/KeyboardFocusManager.java,
4066 java/awt/Label.java,
4067 java/awt/LayoutManager.java,
4068 java/awt/MenuBar.java,
4069 java/awt/MenuComponent.java,
4070 java/awt/MenuContainer.java,
4071 java/awt/PageAttributes.java,
4072 java/awt/Paint.java,
4073 java/awt/PaintContext.java,
4074 java/awt/Panel.java,
4075 java/awt/Point.java,
4076 java/awt/Polygon.java,
4077 java/awt/PrintGraphics.java,
4078 java/awt/PrintJob.java,
4079 java/awt/Rectangle.java,
4080 java/awt/RenderingHints.java,
4081 java/awt/Shape.java,
4082 java/awt/Stroke.java,
4083 java/awt/SystemColor.java,
4084 java/awt/Toolkit.java,
4085 java/awt/Transparency.java,
4086 java/awt/Window.java,
4087 java/awt/color/CMMException.java,
4088 java/awt/color/ColorSpace.java,
4089 java/awt/color/ICC_ColorSpace.java,
4090 java/awt/color/ICC_Profile.java,
4091 java/awt/color/ProfileDataException.java,
4092 java/awt/datatransfer/FlavorTable.java,
4093 java/awt/datatransfer/MimeTypeParseException.java,
4094 java/awt/datatransfer/Transferable.java,
4095 java/awt/datatransfer/UnsupportedFlavorException.java,
4096 java/awt/dnd/Autoscroll.java,
4097 java/awt/dnd/DnDConstants.java,
4098 java/awt/dnd/DragGestureListener.java,
4099 java/awt/dnd/DragSourceAdapter.java,
4100 java/awt/dnd/DragSourceDropEvent.java,
4101 java/awt/dnd/DragSourceListener.java,
4102 java/awt/dnd/DragSourceMotionListener.java,
4103 java/awt/dnd/DropTargetAdapter.java,
4104 java/awt/dnd/DropTargetContext.java,
4105 java/awt/dnd/DropTargetListener.java,
4106 java/awt/dnd/InvalidDnDOperationException.java,
4107 java/awt/dnd/MouseDragGestureRecognizer.java,
4108 java/awt/dnd/peer/DropTargetContextPeer.java,
4109 java/awt/event/AWTEventListener.java,
4110 java/awt/event/AWTEventListenerProxy.java,
4111 java/awt/event/ActionEvent.java,
4112 java/awt/event/AdjustmentEvent.java,
4113 java/awt/event/AdjustmentListener.java,
4114 java/awt/event/ComponentAdapter.java,
4115 java/awt/event/ComponentEvent.java,
4116 java/awt/event/ComponentListener.java,
4117 java/awt/event/ContainerAdapter.java,
4118 java/awt/event/ContainerEvent.java,
4119 java/awt/event/ContainerListener.java,
4120 java/awt/event/FocusAdapter.java,
4121 java/awt/event/FocusEvent.java,
4122 java/awt/event/FocusListener.java,
4123 java/awt/event/InputEvent.java,
4124 java/awt/event/InputMethodEvent.java,
4125 java/awt/event/InputMethodListener.java,
4126 java/awt/event/InvocationEvent.java,
4127 java/awt/event/ItemEvent.java,
4128 java/awt/event/ItemListener.java,
4129 java/awt/event/KeyAdapter.java,
4130 java/awt/event/KeyEvent.java,
4131 java/awt/event/KeyListener.java,
4132 java/awt/event/MouseAdapter.java,
4133 java/awt/event/MouseEvent.java,
4134 java/awt/event/MouseListener.java,
4135 java/awt/event/MouseMotionAdapter.java,
4136 java/awt/event/MouseMotionListener.java,
4137 java/awt/event/MouseWheelEvent.java,
4138 java/awt/event/MouseWheelListener.java,
4139 java/awt/event/PaintEvent.java,
4140 java/awt/event/TextEvent.java,
4141 java/awt/event/TextListener.java,
4142 java/awt/event/WindowAdapter.java,
4143 java/awt/event/WindowEvent.java,
4144 java/awt/event/WindowFocusListener.java,
4145 java/awt/event/WindowListener.java,
4146 java/awt/event/WindowStateListener.java,
4147 java/awt/font/TextHitInfo.java,
4148 java/awt/geom/CubicCurve2D.java,
4149 java/awt/geom/Dimension2D.java,
4150 java/awt/geom/Ellipse2D.java,
4151 java/awt/geom/IllegalPathStateException.java,
4152 java/awt/geom/Line2D.java,
4153 java/awt/geom/NoninvertibleTransformException.java,
4154 java/awt/geom/PathIterator.java,
4155 java/awt/geom/Point2D.java,
4156 java/awt/geom/QuadCurve2D.java,
4157 java/awt/geom/RectangularShape.java,
4158 java/awt/geom/RoundRectangle2D.java,
4159 java/awt/im/InputContext.java,
4160 java/awt/im/InputMethodHighlight.java,
4161 java/awt/im/InputMethodRequests.java,
4162 java/awt/im/InputSubset.java,
4163 java/awt/im/spi/InputMethod.java,
4164 java/awt/im/spi/InputMethodDescriptor.java,
4165 java/awt/image/BandCombineOp.java,
4166 java/awt/image/BandedSampleModel.java,
4167 java/awt/image/ByteLookupTable.java,
4168 java/awt/image/ComponentSampleModel.java,
4169 java/awt/image/DataBuffer.java,
4170 java/awt/image/DataBufferByte.java,
4171 java/awt/image/DataBufferDouble.java,
4172 java/awt/image/DataBufferFloat.java,
4173 java/awt/image/DataBufferInt.java,
4174 java/awt/image/DataBufferShort.java,
4175 java/awt/image/DataBufferUShort.java,
4176 java/awt/image/ImagingOpException.java,
4177 java/awt/image/Kernel.java,
4178 java/awt/image/LookupTable.java,
4179 java/awt/image/MultiPixelPackedSampleModel.java,
4180 java/awt/image/PackedColorModel.java,
4181 java/awt/image/PixelInterleavedSampleModel.java,
4182 java/awt/image/RGBImageFilter.java,
4183 java/awt/image/Raster.java,
4184 java/awt/image/RasterFormatException.java,
4185 java/awt/image/SampleModel.java,
4186 java/awt/image/ShortLookupTable.java,
4187 java/awt/image/SinglePixelPackedSampleModel.java,
4188 java/awt/image/WritableRaster.java,
4189 java/awt/print/PrinterAbortException.java,
4190 java/awt/print/PrinterException.java,
4191 java/awt/print/PrinterIOException.java,
4192 java/beans/AppletInitializer.java,
4193 java/beans/ExceptionListener.java,
4194 java/beans/PropertyChangeEvent.java,
4195 java/beans/PropertyChangeListenerProxy.java,
4196 java/beans/PropertyChangeSupport.java,
4197 java/beans/PropertyDescriptor.java,
4198 java/beans/VetoableChangeListenerProxy.java,
4199 java/beans/VetoableChangeSupport.java,
4200 java/io/BufferedReader.java,
4201 java/io/ByteArrayInputStream.java,
4202 java/io/ByteArrayOutputStream.java,
4203 java/io/CharArrayReader.java,
4204 java/io/CharArrayWriter.java,
4205 java/io/CharConversionException.java,
4206 java/io/DataInput.java,
4207 java/io/DataInputStream.java,
4208 java/io/DataOutput.java,
4209 java/io/DataOutputStream.java,
4210 java/io/EOFException.java,
4211 java/io/FileInputStream.java,
4212 java/io/FileNotFoundException.java,
4213 java/io/FileOutputStream.java,
4214 java/io/FilenameFilter.java,
4215 java/io/FilterInputStream.java,
4216 java/io/FilterOutputStream.java,
4217 java/io/FilterReader.java,
4218 java/io/FilterWriter.java,
4219 java/io/IOException.java,
4220 java/io/InputStream.java,
4221 java/io/InterruptedIOException.java,
4222 java/io/LineNumberInputStream.java,
4223 java/io/LineNumberReader.java,
4224 java/io/ObjectInputStream.java,
4225 java/io/ObjectStreamException.java,
4226 java/io/OptionalDataException.java,
4227 java/io/OutputStream.java,
4228 java/io/OutputStreamWriter.java,
4229 java/io/PrintStream.java,
4230 java/io/PrintWriter.java,
4231 java/io/PushbackInputStream.java,
4232 java/io/PushbackReader.java,
4233 java/io/RandomAccessFile.java,
4234 java/io/Reader.java,
4235 java/io/SequenceInputStream.java,
4236 java/io/Serializable.java,
4237 java/io/StreamCorruptedException.java,
4238 java/io/StreamTokenizer.java,
4239 java/io/StringBufferInputStream.java,
4240 java/io/StringWriter.java,
4241 java/io/SyncFailedException.java,
4242 java/io/UTFDataFormatException.java,
4243 java/io/UnsupportedEncodingException.java,
4244 java/io/WriteAbortedException.java,
4245 java/io/Writer.java,
4246 java/lang/AbstractMethodError.java,
4247 java/lang/ArithmeticException.java,
4248 java/lang/ArrayIndexOutOfBoundsException.java,
4249 java/lang/ArrayStoreException.java,
4250 java/lang/AssertionError.java,
4251 java/lang/Boolean.java,
4252 java/lang/Byte.java,
4253 java/lang/Class.java,
4254 java/lang/ClassCastException.java,
4255 java/lang/ClassCircularityError.java,
4256 java/lang/ClassLoader.java,
4257 java/lang/ClassNotFoundException.java,
4258 java/lang/CloneNotSupportedException.java,
4259 java/lang/Cloneable.java,
4260 java/lang/Comparable.java,
4261 java/lang/Compiler.java,
4262 java/lang/Double.java,
4263 java/lang/Error.java,
4264 java/lang/Exception.java,
4265 java/lang/ExceptionInInitializerError.java,
4266 java/lang/Float.java,
4267 java/lang/IllegalAccessError.java,
4268 java/lang/IllegalAccessException.java,
4269 java/lang/IllegalArgumentException.java,
4270 java/lang/IllegalMonitorStateException.java,
4271 java/lang/IllegalStateException.java,
4272 java/lang/IllegalThreadStateException.java,
4273 java/lang/IncompatibleClassChangeError.java,
4274 java/lang/IndexOutOfBoundsException.java,
4275 java/lang/InheritableThreadLocal.java,
4276 java/lang/InstantiationError.java,
4277 java/lang/InstantiationException.java,
4278 java/lang/Integer.java,
4279 java/lang/InternalError.java,
4280 java/lang/InterruptedException.java,
4281 java/lang/LinkageError.java,
4282 java/lang/Long.java,
4283 java/lang/NegativeArraySizeException.java,
4284 java/lang/NoClassDefFoundError.java,
4285 java/lang/NoSuchFieldError.java,
4286 java/lang/NoSuchFieldException.java,
4287 java/lang/NoSuchMethodError.java,
4288 java/lang/NoSuchMethodException.java,
4289 java/lang/NullPointerException.java,
4290 java/lang/Number.java,
4291 java/lang/NumberFormatException.java,
4292 java/lang/OutOfMemoryError.java,
4293 java/lang/Process.java,
4294 java/lang/Runnable.java,
4295 java/lang/Runtime.java,
4296 java/lang/RuntimeException.java,
4297 java/lang/RuntimePermission.java,
4298 java/lang/SecurityException.java,
4299 java/lang/SecurityManager.java,
4300 java/lang/Short.java,
4301 java/lang/StackOverflowError.java,
4302 java/lang/StackTraceElement.java,
4303 java/lang/StringBuffer.java,
4304 java/lang/StringIndexOutOfBoundsException.java,
4305 java/lang/ThreadDeath.java,
4306 java/lang/ThreadGroup.java,
4307 java/lang/Throwable.java,
4308 java/lang/UnsatisfiedLinkError.java,
4309 java/lang/UnsupportedOperationException.java,
4310 java/lang/VerifyError.java,
4311 java/lang/VirtualMachineError.java,
4312 java/lang/reflect/AccessibleObject.java,
4313 java/lang/reflect/Array.java,
4314 java/lang/reflect/InvocationTargetException.java,
4315 java/lang/reflect/Member.java,
4316 java/lang/reflect/Modifier.java,
4317 java/lang/reflect/Proxy.java,
4318 java/lang/reflect/ReflectPermission.java,
4319 java/lang/reflect/UndeclaredThrowableException.java,
4320 java/math/BigInteger.java,
4321 java/net/NetworkInterface.java,
4322 java/nio/ByteBufferHelper.java,
4323 java/nio/ByteBufferImpl.java,
4324 java/nio/DirectByteBufferImpl.java,
4325 java/nio/DoubleBufferImpl.java,
4326 java/nio/FloatBufferImpl.java,
4327 java/nio/IntBufferImpl.java,
4328 java/nio/LongBufferImpl.java,
4329 java/nio/ShortBufferImpl.java,
4330 java/nio/channels/Channel.java,
4331 java/nio/channels/IllegalBlockingModeException.java,
4332 java/nio/charset/spi/CharsetProvider.java,
4333 java/security/AccessControlException.java,
4334 java/security/BasicPermission.java,
4335 java/security/DigestException.java,
4336 java/security/DigestInputStream.java,
4337 java/security/DigestOutputStream.java,
4338 java/security/GeneralSecurityException.java,
4339 java/security/Guard.java,
4340 java/security/GuardedObject.java,
4341 java/security/InvalidAlgorithmParameterException.java,
4342 java/security/InvalidKeyException.java,
4343 java/security/InvalidParameterException.java,
4344 java/security/Key.java,
4345 java/security/KeyException.java,
4346 java/security/KeyManagementException.java,
4347 java/security/KeyStoreException.java,
4348 java/security/MessageDigestSpi.java,
4349 java/security/NoSuchAlgorithmException.java,
4350 java/security/NoSuchProviderException.java,
4351 java/security/Permission.java,
4352 java/security/PermissionCollection.java,
4353 java/security/Permissions.java,
4354 java/security/Principal.java,
4355 java/security/PrivateKey.java,
4356 java/security/PrivilegedActionException.java,
4357 java/security/ProviderException.java,
4358 java/security/PublicKey.java,
4359 java/security/SecureRandom.java,
4360 java/security/SecureRandomSpi.java,
4361 java/security/SignatureException.java,
4362 java/security/SignatureSpi.java,
4363 java/security/SignedObject.java,
4364 java/security/Signer.java,
4365 java/security/UnrecoverableKeyException.java,
4366 java/security/UnresolvedPermission.java,
4367 java/security/acl/AclNotFoundException.java,
4368 java/security/acl/LastOwnerException.java,
4369 java/security/acl/NotOwnerException.java,
4370 java/security/cert/CertPath.java,
4371 java/security/cert/CertPathBuilderException.java,
4372 java/security/cert/CertPathValidatorException.java,
4373 java/security/cert/CertStoreException.java,
4374 java/text/BreakIterator.java,
4375 java/text/ChoiceFormat.java,
4376 java/text/CollationElementIterator.java,
4377 java/text/CollationKey.java,
4378 java/text/Collator.java,
4379 java/text/DateFormat.java,
4380 java/text/DateFormatSymbols.java,
4381 java/text/DecimalFormat.java,
4382 java/text/DecimalFormatSymbols.java,
4383 java/text/FieldPosition.java,
4384 java/text/Format.java,
4385 java/text/NumberFormat.java,
4386 java/text/ParseException.java,
4387 java/text/ParsePosition.java,
4388 java/text/StringCharacterIterator.java,
4389 java/util/AbstractCollection.java,
4390 java/util/AbstractList.java,
4391 java/util/AbstractMap.java,
4392 java/util/AbstractSequentialList.java,
4393 java/util/AbstractSet.java,
4394 java/util/ArrayList.java,
4395 java/util/Arrays.java,
4396 java/util/BitSet.java,
4397 java/util/Collection.java,
4398 java/util/Collections.java,
4399 java/util/Comparator.java,
4400 java/util/ConcurrentModificationException.java,
4401 java/util/Currency.java,
4402 java/util/Date.java,
4403 java/util/EmptyStackException.java,
4404 java/util/Enumeration.java,
4405 java/util/EventListener.java,
4406 java/util/EventListenerProxy.java,
4407 java/util/EventObject.java,
4408 java/util/HashMap.java,
4409 java/util/HashSet.java,
4410 java/util/Hashtable.java,
4411 java/util/IdentityHashMap.java,
4412 java/util/Iterator.java,
4413 java/util/LinkedHashSet.java,
4414 java/util/LinkedList.java,
4415 java/util/List.java,
4416 java/util/ListIterator.java,
4417 java/util/ListResourceBundle.java,
4419 java/util/MissingResourceException.java,
4420 java/util/NoSuchElementException.java,
4421 java/util/Observable.java,
4422 java/util/Observer.java,
4423 java/util/Properties.java,
4424 java/util/PropertyPermissionCollection.java,
4425 java/util/RandomAccess.java,
4427 java/util/SortedMap.java,
4428 java/util/SortedSet.java,
4429 java/util/Stack.java,
4430 java/util/StringTokenizer.java,
4431 java/util/TooManyListenersException.java,
4432 java/util/TreeMap.java,
4433 java/util/TreeSet.java,
4434 java/util/Vector.java,
4435 java/util/logging/FileHandler.java,
4436 java/util/logging/Level.java,
4437 java/util/prefs/BackingStoreException.java,
4438 java/util/prefs/InvalidPreferencesFormatException.java,
4439 java/util/prefs/Preferences.java,
4440 javax/accessibility/Accessible.java,
4441 javax/accessibility/AccessibleAction.java,
4442 javax/accessibility/AccessibleBundle.java,
4443 javax/accessibility/AccessibleComponent.java,
4444 javax/accessibility/AccessibleContext.java,
4445 javax/accessibility/AccessibleEditableText.java,
4446 javax/accessibility/AccessibleExtendedComponent.java,
4447 javax/accessibility/AccessibleExtendedTable.java,
4448 javax/accessibility/AccessibleHyperlink.java,
4449 javax/accessibility/AccessibleHypertext.java,
4450 javax/accessibility/AccessibleIcon.java,
4451 javax/accessibility/AccessibleKeyBinding.java,
4452 javax/accessibility/AccessibleRelation.java,
4453 javax/accessibility/AccessibleRelationSet.java,
4454 javax/accessibility/AccessibleResourceBundle.java,
4455 javax/accessibility/AccessibleRole.java,
4456 javax/accessibility/AccessibleSelection.java,
4457 javax/accessibility/AccessibleState.java,
4458 javax/accessibility/AccessibleStateSet.java,
4459 javax/accessibility/AccessibleTable.java,
4460 javax/accessibility/AccessibleTableModelChange.java,
4461 javax/accessibility/AccessibleText.java,
4462 javax/accessibility/AccessibleValue.java,
4463 javax/imageio/IIOException.java,
4464 javax/imageio/ImageIO.java,
4465 javax/imageio/spi/IIOServiceProvider.java,
4466 javax/imageio/spi/ImageInputStreamSpi.java,
4467 javax/imageio/spi/ImageOutputStreamSpi.java,
4468 javax/imageio/spi/ImageReaderWriterSpi.java,
4469 javax/imageio/spi/ImageTranscoderSpi.java,
4470 javax/imageio/spi/RegisterableService.java,
4471 javax/imageio/spi/ServiceRegistry.java,
4472 javax/imageio/stream/IIOByteBuffer.java,
4473 javax/imageio/stream/ImageInputStream.java,
4474 javax/imageio/stream/ImageOutputStream.java,
4475 javax/naming/Binding.java,
4476 javax/naming/CannotProceedException.java,
4477 javax/naming/CompositeName.java,
4478 javax/naming/CompoundName.java,
4479 javax/naming/LinkException.java,
4480 javax/naming/LinkRef.java,
4481 javax/naming/NameClassPair.java,
4482 javax/naming/Reference.java,
4483 javax/naming/ReferralException.java,
4484 javax/naming/directory/Attribute.java,
4485 javax/naming/directory/AttributeModificationException.java,
4486 javax/naming/directory/Attributes.java,
4487 javax/naming/directory/DirContext.java,
4488 javax/naming/directory/ModificationItem.java,
4489 javax/naming/directory/SearchControls.java,
4490 javax/naming/directory/SearchResult.java,
4491 javax/naming/event/EventContext.java,
4492 javax/naming/event/EventDirContext.java,
4493 javax/naming/event/NamespaceChangeListener.java,
4494 javax/naming/event/NamingExceptionEvent.java,
4495 javax/naming/event/NamingListener.java,
4496 javax/naming/event/ObjectChangeListener.java,
4497 javax/naming/ldap/Control.java,
4498 javax/naming/ldap/ExtendedResponse.java,
4499 javax/naming/ldap/HasControls.java,
4500 javax/naming/ldap/LdapContext.java,
4501 javax/naming/ldap/UnsolicitedNotification.java,
4502 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4503 javax/naming/ldap/UnsolicitedNotificationListener.java,
4504 javax/naming/spi/DirectoryManager.java,
4505 javax/naming/spi/ResolveResult.java,
4506 javax/naming/spi/Resolver.java,
4507 javax/security/auth/callback/Callback.java,
4508 javax/security/auth/callback/CallbackHandler.java,
4509 javax/security/auth/callback/ChoiceCallback.java,
4510 javax/security/auth/callback/ConfirmationCallback.java,
4511 javax/security/auth/callback/LanguageCallback.java,
4512 javax/security/auth/callback/NameCallback.java,
4513 javax/security/auth/callback/PasswordCallback.java,
4514 javax/security/auth/callback/TextInputCallback.java,
4515 javax/security/auth/callback/TextOutputCallback.java,
4516 javax/security/auth/callback/UnsupportedCallbackException.java,
4517 javax/security/sasl/Sasl.java,
4518 javax/security/sasl/SaslServerFactory.java,
4519 javax/swing/DefaultBoundedRangeModel.java,
4520 javax/swing/JComponent.java,
4521 javax/swing/JList.java,
4522 javax/swing/JProgressBar.java,
4523 javax/swing/JRadioButton.java,
4524 javax/swing/JTextArea.java,
4525 javax/swing/JTextField.java,
4526 javax/swing/JToggleButton.java,
4527 javax/swing/JTree.java,
4528 javax/swing/SpinnerListModel.java,
4529 javax/swing/event/EventListenerList.java,
4530 javax/swing/text/JTextComponent.java,
4531 javax/swing/text/StringContent.java,
4532 javax/swing/text/Utilities.java,
4533 javax/swing/undo/UndoManager.java,
4534 javax/swing/undo/UndoableEditSupport.java,
4535 javax/transaction/HeuristicCommitException.java,
4536 javax/transaction/HeuristicMixedException.java,
4537 javax/transaction/HeuristicRollbackException.java,
4538 javax/transaction/InvalidTransactionException.java,
4539 javax/transaction/NotSupportedException.java,
4540 javax/transaction/RollbackException.java,
4541 javax/transaction/Status.java,
4542 javax/transaction/Synchronization.java,
4543 javax/transaction/SystemException.java,
4544 javax/transaction/Transaction.java,
4545 javax/transaction/TransactionManager.java,
4546 javax/transaction/TransactionRequiredException.java,
4547 javax/transaction/TransactionRolledbackException.java,
4548 javax/transaction/UserTransaction.java,
4549 javax/transaction/xa/XAException.java,
4550 javax/transaction/xa/XAResource.java,
4551 javax/transaction/xa/Xid.java,
4552 javax/xml/XMLConstants.java,
4553 javax/xml/datatype/DatatypeConfigurationException.java,
4554 javax/xml/datatype/DatatypeConstants.java,
4555 javax/xml/datatype/DatatypeFactory.java,
4556 javax/xml/datatype/Duration.java,
4557 javax/xml/datatype/XMLGregorianCalendar.java,
4558 javax/xml/namespace/NamespaceContext.java,
4559 javax/xml/namespace/QName.java,
4560 javax/xml/parsers/DocumentBuilder.java,
4561 javax/xml/parsers/DocumentBuilderFactory.java,
4562 javax/xml/parsers/FactoryConfigurationError.java,
4563 javax/xml/parsers/ParserConfigurationException.java,
4564 javax/xml/parsers/SAXParser.java,
4565 javax/xml/parsers/SAXParserFactory.java,
4566 javax/xml/transform/ErrorListener.java,
4567 javax/xml/transform/OutputKeys.java,
4568 javax/xml/transform/Result.java,
4569 javax/xml/transform/Source.java,
4570 javax/xml/transform/SourceLocator.java,
4571 javax/xml/transform/Templates.java,
4572 javax/xml/transform/Transformer.java,
4573 javax/xml/transform/TransformerConfigurationException.java,
4574 javax/xml/transform/TransformerException.java,
4575 javax/xml/transform/TransformerFactory.java,
4576 javax/xml/transform/TransformerFactoryConfigurationError.java,
4577 javax/xml/transform/URIResolver.java,
4578 javax/xml/transform/dom/DOMLocator.java,
4579 javax/xml/transform/dom/DOMResult.java,
4580 javax/xml/transform/dom/DOMSource.java,
4581 javax/xml/transform/sax/SAXResult.java,
4582 javax/xml/transform/sax/SAXSource.java,
4583 javax/xml/transform/sax/SAXTransformerFactory.java,
4584 javax/xml/transform/sax/TemplatesHandler.java,
4585 javax/xml/transform/sax/TransformerHandler.java,
4586 javax/xml/transform/stream/StreamResult.java,
4587 javax/xml/transform/stream/StreamSource.java,
4588 javax/xml/validation/Schema.java,
4589 javax/xml/validation/SchemaFactory.java,
4590 javax/xml/validation/TypeInfoProvider.java,
4591 javax/xml/validation/Validator.java,
4592 javax/xml/validation/ValidatorHandler.java,
4593 javax/xml/xpath/XPathConstants.java,
4594 javax/xml/xpath/XPathException.java,
4595 javax/xml/xpath/XPathExpression.java,
4596 javax/xml/xpath/XPathExpressionException.java,
4597 javax/xml/xpath/XPathFactory.java,
4598 javax/xml/xpath/XPathFactoryConfigurationException.java,
4599 javax/xml/xpath/XPathFunction.java,
4600 javax/xml/xpath/XPathFunctionException.java,
4601 javax/xml/xpath/XPathFunctionResolver.java:
4602 Fixed usage of @author tag, reworked import statements,
4603 removed CVS tags, changed the modifier order and fixed
4604 HTML usage in javadocs.
4606 2005-02-16 Julian Scheid <julian@sektor37.de>
4608 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4610 (encodeLoop): Likewise.
4612 2005-02-16 Mark Wielaard <mark@klomp.org>
4614 * Makefile.am (ordinary_java_source_files): Add new files
4615 gnu/java/security/ber/BER.java,
4616 gnu/java/security/ber/BEREncodingException.java,
4617 gnu/java/security/ber/BERReader.java,
4618 gnu/java/security/ber/BERValue.java,
4619 gnu/java/security/pkcs/PKCS7SignedData.java and
4620 gnu/java/security/pkcs/SignerInfo.java.
4621 * Makefile.in: Regenerated.
4623 2005-02-16 Casey Marshall <csm@gnu.org>
4625 * gnu/java/security/provider/GnuDSAPrivateKey.java
4626 (encodedKey): new field.
4627 (getFormat): return "PKCS#8".
4628 (getEncoded): implemented.
4629 (toString): check for 'null' values.
4630 * gnu/java/security/provider/GnuDSAPublicKey.java
4631 (encodedKey): new field.
4632 (getFormat): return "X.509".
4633 (getEncoded): implemented.
4634 (toString): check for 'null' values.
4636 2005-02-16 Michael Koch <konqueror@gmx.de>
4638 * java/util/jar/JarFile.java: Imports reworked.
4640 2005-02-16 Mark Wielaard <mark@klomp.org>
4642 * java/util/jar/JarFile.java (verify): Make package private.
4643 (signaturesRead): Likewise.
4644 (verified): Likewise.
4645 (entryCerts): Likewise.
4648 (entries): Construct new JarEnumeration with reference to this.
4649 (JarEnumeration): Make static.
4650 (JarEnumeration.jarfile): New field.
4651 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4652 Compare verified value to Boolean.TRUE or Boolean.False only
4653 when verify is true.
4654 (getEntry): Make synchronized. Compare value of verified to
4656 (getInputStream): Construct EntryInputStream with reference to this.
4657 (getManifest): Make synchronized.
4658 (EntryInputStream): Make static.
4659 (EntryInputStream.jarfile): New field.
4660 (EntryInputStream.EntryInputStream): Check if manifest exists,
4661 before getting attributes.
4662 (eof): Synchronize on jarfile.
4664 2005-02-16 Casey Marshall <csm@gnu.org>
4666 * java/util/jar/JarFile.java (verify): return if the jar is signed
4667 with an unsupported algorithm.
4669 2005-02-16 Mark Wielaard <mark@klomp.org>
4671 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4672 InputStream as argument.
4673 (getInputStream): Construct a new EntryInputStream with the result of
4674 super.getInputStream(entry).
4676 2005-02-16 Casey Marshall <csm@gnu.org>
4678 Signed JAR file support.
4679 * java/net/URLClassLoader.java
4680 (JarURLResource.getCertificates): re-read jar entry to ensure
4681 certificates are picked up.
4682 (findClass): fill in class `signers' field, too.
4683 * java/util/jar/JarFile.java (META_INF): new constant.
4684 (PKCS7_DSA_SUFFIX): new constant.
4685 (PKCS7_RSA_SUFFIX): new constant.
4686 (DIGEST_KEY_SUFFIX): new constant.
4687 (SF_SUFFIX): new constant.
4688 (MD2_OID): new constant.
4689 (MD4_OID): new constant.
4690 (MD5_OID): new constant.
4691 (SHA1_OID): new constant.
4692 (DSA_ENCRYPTION_OID): new constant.
4693 (RSA_ENCRYPTION_OID): new constant.
4694 (signaturesRead): new field.
4695 (verified): new field.
4696 (entryCerts): new field.
4697 (DEBUG): new constant.
4698 (debug): new method.
4699 (JarEnumeration.nextElement): fill in entry certificates, read
4700 signatures if they haven't been read.
4701 (getEntry): likewise.
4702 (getInputStream): verify stream if it hasn't been verified yet.
4703 (readSignatures): new method.
4704 (verify): new method.
4705 (verifyHashes): new method.
4706 (readManifestEntry): new method.
4707 (EntryInputStream): new class.
4708 * gnu/java/io/Base64InputStream.java (decode): new class
4710 * gnu/java/security/der/DERReader.java don't make class
4712 (in): made protected.
4714 (readLength): likewise.
4715 * gnu/java/security/ber/BER.java,
4716 * gnu/java/security/ber/BEREncodingException.java,
4717 * gnu/java/security/ber/BERReader.java,
4718 * gnu/java/security/ber/BERValue.java,
4719 * gnu/java/security/pkcs/PKCS7SignedData.java,
4720 * gnu/java/security/pkcs/SignerInfo.java:
4723 2005-02-16 Tom Tromey <tromey@redhat.com>
4725 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4726 copied file on exit.
4728 2005-02-15 Mark Wielaard <mark@klomp.org>
4730 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4732 2005-02-15 Michael Koch <konqueror@gmx.de>
4734 * gnu/java/awt/peer/gtk/GtkArg.java,
4735 gnu/java/awt/peer/gtk/GtkArgList.java:
4738 2005-02-15 Craig Black <craig.black@aonix.com>
4740 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4741 (postMenuActionEvent): Implement to notify ItemListeners.
4742 * java/awt/CheckboxMenuItem.java
4743 (dispatchEventImpl): Update state on ItemEvent.
4744 * java/awt/MenuItem.java
4745 (processActionEvent): Retarget event source.
4747 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4749 * gnu/java/awt/color/ClutProfileConverter.java,
4750 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4751 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4752 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4753 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4754 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4755 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4756 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4757 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4758 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4759 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4760 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4761 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4762 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4763 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4764 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4765 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4766 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4767 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4768 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4769 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4770 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4771 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4772 gnu/java/awt/peer/gtk/GtkToolkit.java,
4773 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4774 javax/swing/JPopupMenu.java,
4775 javax/swing/JSpinner.java,
4776 javax/swing/SortingFocusTraversalPolicy.java,
4777 javax/swing/SwingUtilities.java,
4778 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4779 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4780 javax/swing/tree/DefaultMutableTreeNode.java:
4781 Removed unused imports and expanded starred
4784 2005-02-15 Mark Wielaard <mark@klomp.org>
4786 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4787 IllegalArgumentException when the given String is null.
4789 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4790 when given keystoke sequence cannot be parsed.
4792 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4793 if one is installed. Only install the given menubar is not null.
4795 * javax/swing/JViewport.java (getViewSize): Return an empty
4796 Dimension when the view isn't set or preferred component size when
4799 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4800 empty Dimension when there is no view set.
4801 (minimumLayoutSize): Likewise.
4802 (layoutContainer): Don't try to layout when there is no view.
4804 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4807 * include/jawt.h: Likewise.
4808 * include/jawt_md.h: Likewise.
4809 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4811 * jni/classpath/classpath_jawt.h: Likewise.
4812 * jni/gtk-peer/gtk_jawt.c: Likewise.
4813 * Makefile.am: Build libjawt.so.
4815 2005-02-15 Michael Koch <konqueror@gmx.de>
4817 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4818 Merged file header with classpath CVS head.
4819 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4820 Merged code formatting with classpath CVS head.
4821 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4823 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4824 Handle special JNI strings with 2 '\0' at the end.
4825 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4826 Merged file header with classpath CVS head.
4827 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4828 Merged code formatting with classpath CVS head.
4830 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4832 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4833 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4834 (handle_response): Use GTK_RESPONSE_ACCEPT.
4836 2005-02-15 Graydon Hoare <graydon@redhat.com>
4838 * Makefile.am: Fix library build breakage.
4839 * Makefile.in: Regenerate.
4841 2005-02-15 Michael Koch <konqueror@gmx.de>
4843 * javax/swing/JTabbedPane.java
4844 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4846 2005-02-15 Michael Koch <konqueror@gmx.de>
4848 * javax/swing/tree/DefaultMutableTreeNode.java:
4849 Reworked Javadocs all over.
4850 (getPathToRoot): Fixed direction of result array initialization.
4852 2005-02-15 Michael Koch <konqueror@gmx.de>
4854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4855 Fix includes for cairo 0.3.0 snappshot.
4856 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4857 Merged file header from classpath CVS HEAD.
4859 2005-02-15 Craig Black <craig.black@aonix.com>
4861 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4862 (copyState): Pass a JNI global reference to signal handler.
4863 (realize_cb): Use and free JNI global reference.
4864 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4865 (create): Pass a JNI global reference to signal handler.
4866 (selection_changed): Match declaration.
4867 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4868 (dispose): Do not remove entries from state tables until after widget is
4871 2005-02-15 Michael Koch <konqueror@gmx.de>
4873 * java/awt/Container.javai (paramString):
4874 If layoutMgr is null just return result of super.paramString().
4875 * java/awt/Scrollbar.java: Reformatted.
4876 * java/awt/im/InputContext.java (static):
4877 Removed redundant initializations.
4879 2005-02-15 Michael Koch <konqueror@gmx.de>
4881 * javax/swing/ImageIcon.java,
4882 javax/swing/UIManager.java,
4883 javax/swing/text/EditorKit.java,
4884 javax/swing/text/Segment.java:
4885 More whitespace cleanups.
4887 2005-02-15 Michael Koch <konqueror@gmx.de>
4889 * gnu/java/awt/EmbeddedWindow.java,
4890 gnu/java/awt/image/ImageDecoder.java,
4891 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4892 java/awt/DefaultKeyboardFocusManager.java,
4893 java/awt/Frame.java,
4894 java/awt/image/RGBImageFilter.java,
4895 javax/swing/AbstractButton.java,
4896 javax/swing/ActionMap.java,
4897 javax/swing/ComponentInputMap.java,
4898 javax/swing/DefaultDesktopManager.java,
4899 javax/swing/ImageIcon.java,
4900 javax/swing/InputMap.java,
4901 javax/swing/JButton.java,
4902 javax/swing/JCheckBox.java,
4903 javax/swing/JCheckBoxMenuItem.java,
4904 javax/swing/JEditorPane.java,
4905 javax/swing/JMenu.java,
4906 javax/swing/JMenuItem.java,
4907 javax/swing/JOptionPane.java,
4908 javax/swing/JRootPane.java,
4909 javax/swing/JTable.java,
4910 javax/swing/MenuSelectionManager.java,
4911 javax/swing/RepaintManager.java,
4912 javax/swing/ScrollPaneLayout.java,
4913 javax/swing/SortingFocusTraversalPolicy.java,
4914 javax/swing/UIManager.java,
4915 javax/swing/ViewportLayout.java,
4916 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4917 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4918 javax/swing/plaf/basic/BasicLabelUI.java,
4919 javax/swing/plaf/basic/BasicListUI.java,
4920 javax/swing/plaf/basic/BasicMenuItemUI.java,
4921 javax/swing/plaf/basic/BasicMenuUI.java,
4922 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4923 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4924 javax/swing/plaf/basic/BasicRootPaneUI.java,
4925 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4926 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4927 javax/swing/plaf/basic/BasicTextUI.java,
4928 javax/swing/table/TableColumnModel.java,
4929 javax/swing/text/AbstractDocument.java,
4930 javax/swing/text/EditorKit.java,
4931 javax/swing/text/Position.java,
4932 javax/swing/text/Segment.java,
4933 javax/swing/text/StyledEditorKit.java,
4934 javax/swing/text/ViewFactory.java:
4935 Cleanup whitespace differences to classpath CVS HEAD.
4937 2005-02-15 Graydon Hoare <graydon@redhat.com>
4939 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4940 (finalize): Call finish from here.
4941 (produce): Not from here.
4942 * Makefile.am (gtk_c_source_files):
4943 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4944 * Makefile.in: Regenerate.
4945 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4947 (cairoDrawGdkTextLayout):
4949 (getPeerTextMetrics):
4950 (getPeerFontMetrics): Remove.
4951 (setFont): Don't call cairoSetFont.
4952 (cairoDrawGlyphVector): Accept font peer argument.
4953 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4954 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4955 (ensure_metrics_cairo):
4956 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4957 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4958 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4959 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4961 (metrics_surface): Remove.
4962 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4963 Pass and install font peer.
4965 2005-02-15 Graydon Hoare <graydon@redhat.com>
4967 * Makefile.am: Create "split library" structure.
4968 * Makefile.in: Regenerate.
4970 2005-02-15 Graydon Hoare <graydon@redhat.com>
4972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4973 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4975 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4976 Release GDK lock during upcalls.
4978 2005-02-15 Graydon Hoare <graydon@redhat.com>
4980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4981 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4982 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4983 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4984 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4985 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4986 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4989 (getTextMetrics): New native methods.
4990 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4991 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4992 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4993 * Makefile.in: Regenerate.
4995 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4997 * javax/swing/SwingUtilities.java:
4998 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4999 Implemented and documented.
5000 (getAccessibleChild(java.awt.Component, int)): Likewise.
5001 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5002 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5003 (getAccessibleStateSet(java.awt.Component)): Likewise.
5005 2005-02-15 Michael Koch <konqueror@gmx.de>
5007 * javax/swing/SwingUtilities.java
5008 (getFontMetrics): Removed.
5010 2005-02-15 Michael Koch <konqueror@gmx.de>
5012 * java/awt/Container.java
5013 (paramString): Implemented.
5014 * javax/swing/AbstractButton.java
5015 (paramString): Implemented.
5016 * javax/swing/JComponent.java
5017 (paramString): Implemented.
5018 * javax/swing/JMenu.java
5019 (paramString): Implemented.
5020 * javax/swing/JMenuBar.java
5021 (paramString): Implemented.
5022 * javax/swing/JMenuItem.java
5023 (paramString): Implemented.
5024 * javax/swing/JPopupMenu.java
5025 (paramString): Implemented.
5027 2005-02-15 Michael Koch <konqueror@gmx.de>
5029 * javax/swing/JMenu.java
5030 (uiClassID): Removed.
5031 (JMenu): Set invoker on popup menu.
5032 (getUIClassID): Return id directly.
5033 (getItemCount): Simply return getMenuComponentCount().
5035 (isTopLevelMenu): Simplified.
5036 * javax/swing/JMenuItem.java
5037 (uiClassID): Removed.
5038 (getUIClassID): Return id directly.
5039 * javax/swing/JPopupMenu.java
5040 (uiClassID): Removed.
5041 (JPopupMenu): Always initialize correctly.
5042 (getSubElements): Only return components implementing MenuElement
5044 (HeavyWeightPopup.hide): Removed.
5046 2005-02-15 Michael Koch <konqueror@gmx.de>
5048 * java/awt/image/ReplicateScaleFilter.java
5049 (replicatePixels): Made private.
5050 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5051 (DefaultRGBChooserPanel): Made package private.
5052 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5053 (RecentSwatchPanel): Likewise.
5054 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5055 (MouseInputAdapter): Made abstract.
5056 * javax/swing/tree/DefaultMutableTreeNode.java
5058 (growTree): Likewise.
5060 2005-02-15 Michael Koch <konqueror@gmx.de>
5062 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5065 2005-02-15 Michael Koch <konqueror@gmx.de>
5067 * javax/swing/JComponent.java (getComponentGraphics):
5068 Removed accidently commited code.
5070 2005-02-15 Graydon Hoare <graydon@redhat.com>
5072 * java/awt/dnd/DropTarget.java
5073 (addDropTargetListener): Despite documentation, do not throw.
5074 * javax/swing/JComponent.java: Set a default DropTarget.
5076 2005-02-15 Michael Koch <konqueror@gmx.de>
5078 * javax/swing/AbstractAction.java
5079 (ENABLED_PROPERTY): Removed.
5080 (setEnabled): Replaced constant with real string.
5081 * javax/swing/AbstractButton.java
5082 (createActionPropertyChangeListener.propertyChange): Likewise.
5083 * javax/swing/JComboBox.java
5084 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5085 (EDITABLE_CHANGED_PROPERTY): Removed.
5086 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5087 (ENABLED_CHANGED_PROPERTY):Likewise.
5088 (RENDERER_CHANGED_PROPERTY):Likewise.
5089 (EDITOR_CHANGED_PROPERTY):Likewise.
5090 (MODEL_CHANGED_PROPERTY):Likewise.
5091 (uiClassID):Likewise.
5092 (getUIClassID): Replaced constant with real string.
5093 (setModel):Likewise.
5094 (setEditable):Likewise.
5095 (setMaximumRowCount):Likewise.
5096 (setRenderer):Likewise.
5097 (setEditor):Likewise.
5098 (setEnabled):Likewise.
5099 * javax/swing/JLabel.java
5100 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5101 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5102 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5103 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5104 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5105 (ICON_CHANGED_PROPERTY): Likewise.
5106 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5107 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5108 (TEXT_CHANGED_PROPERTY): Likewise.
5109 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5110 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5111 (setText): Replaced constant with real string.
5112 (setIcon): Likewise.
5113 (setDisabledIcon): Likewise.
5114 (setDisplayedMnemonic): Likewise.
5115 (setIconTextGap): Likewise.
5116 (setVerticalAlignment): Likewise.
5117 (setHorizontalAlignment): Likewise.
5118 (setVerticalTextPosition): Likewise.
5119 (setHorizontalTextPosition): Likewise.
5120 (setLabelFor): Replaced constant with real string.
5121 Fire property change event after property got changed.
5122 * javax/swing/JList.java
5123 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5124 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5125 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5126 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5127 (MODEL_PROPERTY_CHANGED): Likewise.
5128 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5129 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5130 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5131 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5132 (setFixedCellWidth): Reimplemented.
5133 (setFixedCellHeight): Exit if new value is identical.
5134 Replaced constant with real string.
5135 (setSelectionBackground): Likewise.
5136 (setSelectionForeground): Likewise.
5137 (setPrototypeCellValue): Likewise.
5138 (setCellRenderer): Replaced constant with real string.
5139 (setModel): Likewise.
5140 (setSelectionModel): Likewise.
5141 * javax/swing/JMenuBar.java
5142 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5143 (MODEL_CHANGED_PROPERTY): Likewise.
5144 (MARGIN_CHANGED_PROPERTY): Likewise.
5145 (setBorderPainted): Reimplemented.
5146 (setMargin): Likewise.
5147 (setSelectionModel): Replaced constant with real string.
5148 * javax/swing/JPopupMenu.java
5149 (LABEL_CHANGED_PROPERTY): Removed.
5150 (VISIBLE_CHANGED_PROPERTY): Likewise.
5151 (borderPainted): Likewise.
5152 (setLabel): Replaced constant with real string.
5153 (setVisible): Exit if new value is identical.
5154 Replaced constant with real string.
5155 * javax/swing/JProgressBar.java
5156 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5157 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5158 (STRING_CHANGED_PROPERTY): Likewise.
5159 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5160 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5161 (setOrientation): Replaced constant with real string.
5162 (setStringPainted): Likewise.
5163 (setString): Likewise.
5164 (setBorderPainted): Likewise.
5165 (setIndeterminate): Likewise.
5166 * javax/swing/JScrollBar.java
5167 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5168 (MODEL_CHANGED_PROPERTY): Likewise.
5169 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5170 (setOrientation): Replaced constant with real string.
5171 (setModel): Likewise.
5172 (setUnitIncrement): Likewise.
5173 (setBlockIncrement): Likewise.
5174 * javax/swing/JScrollPane.java
5175 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5176 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5177 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5178 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5179 (LAYOUT_CHANGED_PROPERTY): Likewise.
5180 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5181 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5182 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5183 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5184 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5185 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5186 (setComponentOrientation): Replaced constant with real string.
5187 (setColumnHeader): Likewise.
5188 (setHorizontalScrollBar): Likewise.
5189 (setHorizontalScrollBarPolicy): Likewise.
5190 (setRowHeader): Likewise.
5191 (setVerticalScrollBar): Likewise.
5192 (setVerticalScrollBarPolicy): Likewise.
5193 (setWheelScrollingEnabled): Likewise.
5194 (setViewport): Likewise.
5195 (setViewportBorder): Likewise.
5196 * javax/swing/JSlider.java
5197 (INVERTED_CHANGED_PROPERTY): Removed.
5198 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5199 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5200 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5201 (MODEL_CHANGED_PROPERTY): Likewise.
5202 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5203 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5204 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5205 (setModel): Replaced constant with real string.
5206 (setOrientation): Likewise.
5207 (setLabelTable): Likewise.
5208 (setInverted): Likewise.
5209 (setMajorTickSpacing): Likewise.
5210 (setMinorTickSpacing): Likewise.
5211 (setPaintTicks): Likewise.
5212 (setPaintLabels): Likewise.
5213 * javax/swing/JTabbedPane.java
5214 (MODEL_CHANGED_PROPERTY): Removed.
5215 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5216 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5217 (setModel): Replaced constant with real string.
5218 (setTabPlacement): Likewise.
5219 (setTabLayoutPolicy): Likewise.
5220 * javax/swing/JToolBar.java
5221 (ORIENTATION_CHANGED_PROPERTY): Removed.
5222 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5223 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5224 (MARGIN_CHANGED_PROPERTY): Likewise.
5225 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5226 (setRollover): Replaced constant with real string.
5227 (setMargin): Likewise.
5228 (setBorderPainted): Likewise.
5229 (setFloatable): Likewise.
5230 (setOrientation): Likewise.
5231 * javax/swing/plaf/basic/BasicComboBoxUI.java
5232 (PropertyChangeHandler.propertyChange): Likewise.
5233 * javax/swing/plaf/basic/BasicComboPopup.java
5234 (PropertyChangeHandler.propertyChange): Likewise.
5235 * javax/swing/plaf/basic/BasicMenuBarUI.java
5236 (PropertyChangeHandler.propertyChange): Likewise.
5237 * javax/swing/plaf/basic/BasicProgressBarUI.java
5238 (PropertyChangeHandler.propertyChange): Likewise.
5239 * javax/swing/plaf/basic/BasicScrollBarUI.java
5240 (PropertyChangeHandler.propertyChange): Likewise.
5241 * javax/swing/plaf/basic/BasicSliderUI.java
5242 (PropertyChangeHandler.propertyChange): Likewise.
5243 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5244 (PropertyChangeHandler.propertyChange): Likewise.
5245 * javax/swing/plaf/basic/BasicToolBarUI.java
5246 (PropertyChangeHandler.propertyChange): Likewise.
5248 2005-02-15 Michael Koch <konqueror@gmx.de>
5250 * javax/swing/DefaultButtonModel.java
5251 (changeState): Made private.
5252 * javax/swing/DefaultDesktopManager.java
5253 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5254 * javax/swing/JLayeredPane.java
5255 (layerToRange): Made private.
5256 (incrLayer): Likewise.
5257 (decrLayer): Likewise.
5258 * javax/swing/JTable.java
5259 (dragEnabled): Likewise.
5260 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5261 * javax/swing/KeyStroke.java
5262 (Keystroke): Made private.
5263 * javax/swing/TransferHandler.java
5264 (COMMAND_COPY): Likewise.
5265 (COMMAND_CUT): Likewise.
5266 (COMMAND_PASTE): Likewise.
5268 2005-02-15 Michael Koch <konqueror@gmx.de>
5270 * javax/swing/JTextField.java
5271 (postActionEvent): Use text in field when actionCommand is null.
5272 (getActionCommand): Removed.
5274 2005-02-15 Michael Koch <konqueror@gmx.de>
5276 * javax/swing/AbstractSet.java: Removed.
5277 * Makefile.am: Removed javax/swing/AbstractSet.java.
5278 * Makefile.in: Regenerated.
5280 2005-02-15 Michael Koch <konqueror@gmx.de>
5282 * java/awt/Window.java
5283 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5284 * java/awt/dnd/DnDConstants.java
5285 (DnDConstants): New private constructor.
5287 2005-02-15 Michael Koch <konqueror@gmx.de>
5289 * javax/swing/DefaultCellRenderer.java: Removed.
5290 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5291 * Makefile.in: Regenerated.
5293 2005-02-15 Michael Koch <konqueror@gmx.de>
5295 * javax/swing/AbstractButton.java
5296 (fireItemStateChanged): Made protected.
5297 (fireActionPerformed): Likewise.
5298 (fireStateChanged): Likewise.
5299 * javax/swing/DefaultButtonModel.java
5300 (fireItemStateChanged): Likewise.
5301 (fireActionPerformed): Likewise.
5302 (fireStateChanged): Likewise.
5303 * javax/swing/JApplet.java
5305 (frameInit): Likewise.
5306 (setRootPane): Made protected.
5307 (createRootPane): Likewise.
5308 * javax/swing/JComponent.java
5309 (getClientProperty): Likewise.
5310 (putClientProperty): Likewise.
5311 * javax/swing/JEditorPane.java
5312 (getContentType): Likewise.
5313 (setContentType): Likewise.
5314 * javax/swing/JFrame.java
5315 (setRootPane): Likewise.
5316 (createRootPane): Likewise.
5317 * javax/swing/JInternalFrame.java
5318 (getFocusCycleRootAncestor): Made final. Added @since tag.
5319 (isFocusCycleRoot): Likewise.
5320 (getWarningString): Made final.
5321 * javax/swing/JScrollBar.java
5322 (changeListener): Removed.
5323 (changeEvent): Likewise.
5324 (createChangeListener): Likewise.
5325 (fireStateChanged): Likewise.
5326 (addChangeListener): Likewise.
5327 (removeChangeListener): Likewise.
5328 (getChangeListeners): Likewise.
5329 * javax/swing/JScrollPane.java
5330 (createViewport): Made protected.
5331 * javax/swing/JViewport.java
5332 (addImpl): Likewise.
5333 (setBorder): New method.
5334 * javax/swing/JWindow.java
5335 (setRootPane): Made protected.
5336 (createRootPane): Likewise.
5337 * javax/swing/plaf/basic/BasicButtonUI.java
5338 (installListeners): Likewise.
5339 (uninstallListeners): Likewise.
5340 * javax/swing/plaf/basic/BasicProgressBarUI.java
5341 (incrementAnimationIndex): Likewise.
5342 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5343 (createLayoutManager): Likewise.
5344 * javax/swing/table/DefaultTableCellRenderer.java
5345 (firePropertyChange): Likewise.
5346 * javax/swing/table/JTableHeader.java
5347 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5349 * javax/swing/text/PlainDocument.java
5350 (reindex): Made private.
5351 * javax/swing/text/PlainView.java
5352 (drawLine): Made protected.
5353 (getTabSize): Likewise.
5354 * javax/swing/text/View.java
5356 (preferenceChanged): New method.
5357 (getBreakWeight): Likewise.
5358 (breakView): Likewise.
5359 (getViewIndex): Likewise.
5361 2005-02-15 Michael Koch <konqueror@gmx.de>
5363 * javax/swing/JScrollPane.java
5364 (ScrollBar): Made class protected.
5365 * javax/swing/JSpinner.java
5366 (JSpinner): Added @since tag.
5367 (listenerList): Removed.
5368 * javax/swing/JTable.java
5369 (setValueAt): New method.
5370 (getColumn): Likewise.
5371 * javax/swing/JWindow.java
5372 (rootPaneCheckingEnabled): Renamed from checking.
5374 2005-02-15 Michael Koch <konqueror@gmx.de>
5376 * javax/swing/plaf/basic/BasicTextUI.java
5377 (RootView.modelToView): Made it public and return a java.awt.Shape.
5378 Handle null subview.
5379 (uninstall): Set textComponent to null when its not possible used
5381 * javax/swing/text/View.java
5382 (setParent): Use better argument name.
5383 (getContainer): Get parent via getParent().
5384 (getViewFactory): Likewise.
5385 (getAttributes): Get element via getElement().
5386 (getStartOffset): Likewise.
5387 (getEndOffset): Likewise.
5388 (getResizeWeight): New method.
5389 (getMaximumSpan): Likewise.
5390 (getMinimumSpan): Likewise.
5391 (setSize): Likewise.
5392 (getGraphics): Likewise.
5394 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5396 * java/awt/Checkbox.java:
5397 (AccessibleAWTCheckbox()): Added public constructor
5399 * java/awt/Choice.java:
5400 (AccessibleAWTChoice): Added class documentation.
5401 (AccessibleAWTChoice()): Added public constructor
5403 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5404 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5405 and changed role to COMBO_BOX.
5406 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5407 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5408 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5410 2005-02-15 Graydon Hoare <graydon@redhat.com>
5411 Michael Koch <konqueror@gmx.de>
5413 * javax/swing/LayoutFocusTraversalPolicy.java,
5414 javax/swing/SortingFocusTraversalPolicy.java:
5416 * Makefile.am: Added new classes.
5417 * Makefike.in: Regenerated.
5420 2005-02-15 Michael Koch <konqueror@gmx.de>
5422 * javax/swing/DebugGraphics.java: Mostly implemented.
5424 2005-02-15 Michael Koch <konqueror@gmx.de>
5426 * javax/swing/SwingUtilities.java
5427 (findFocusOwner): New method.
5429 2005-02-15 Michael Koch <konqueror@gmx.de>
5431 * javax/swing/text/DefaultEditorKit.java
5432 (read): Added '\n' after each line.
5433 * javax/swing/text/PlainView.java
5434 (modelToView): Update metrics.
5435 (drawLine): Use offsets from element.
5436 (paint): Update metrics. Draw all lines.
5438 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5440 * java/awt/Checkbox.java:
5441 (AccessibleAWTCheckbox): Added class documentation
5442 * java/awt/Scrollbar.java:
5443 (AccessibleAWTScrollBar): typo corrected and docs added
5444 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5445 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5446 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5447 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5448 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5449 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5450 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5451 (getAccessibleContext()): name of accessible class corrected
5453 2005-02-15 Mark Wielaard <mark@klomp.org>
5455 * java/awt/BasicStroke.java (hashCode): Implement.
5458 2005-02-15 Michael Koch <konqueror@gmx.de>
5460 * java/awt/print/PrinterJob.java
5461 (pageDialog): Throws java.awt.HeadlessException.
5462 (printDialog): Likewise.
5464 2005-02-15 Mark Wielaard <mark@klomp.org>
5466 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5468 2005-02-15 Michael Koch <konqueror@gmx.de>
5470 * javax/swing/JTable.java
5471 (getValueAt): New method.
5472 * javax/swing/table/JTableHeader.java
5473 (columnAtPoint): New method.
5475 2005-02-15 Michael Koch <konqueror@gmx.de>
5477 * javax/swing/JTextField.java
5478 (actions): New field.
5479 (static): Initalize actions field.
5480 (getActions): New method.
5482 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5484 * java/awt/Checkbox.java:
5485 (AccessibleAWTCheckbox): name capitalization corrected
5486 and serialization UID added.
5487 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5489 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5490 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5491 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5492 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5493 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5494 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5495 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5496 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5497 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5498 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5499 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5501 (getAccessibleContext()): name of accessible class corrected
5503 2005-02-15 Sven de Marothy <sven@physto.se>
5505 * java/awt/geom/doc-files/Area-1.png,
5506 java/awt/geom/doc-files/Ellipse-1.png,
5507 java/awt/geom/doc-files/GeneralPath-1.png:
5510 2005-02-15 Graydon Hoare <graydon@redhat.com>
5512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5513 Use union to avoid type-punning warning.
5515 2005-02-15 Michael Koch <konqueror@gmx.de>
5517 * javax/swing/DefaultListSelectionModel.java
5518 (clone): New method.
5520 2005-02-15 Mark Wielaard <mark@klomp.org>
5522 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5523 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5524 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5525 Correct method signature of gtkSetFilename.
5527 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5529 * javax/swing/text/StringContent.java: New file.
5531 2005-02-15 Michael Koch <konqueror@gmx.de>
5533 * Makefile.am: Added javax/swing/text/StringContent.java.
5534 * Makefile.in: Regenerated.
5536 2005-02-15 Michael Koch <konqueror@gmx.de>
5538 * gnu/java/awt/ClasspathToolkit.java:
5539 Import statements reworked.
5540 (imageCache): Made it of type java.util.HashMap.
5542 2005-02-15 Michael Koch <konqueror@gmx.de>
5544 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5545 Reworked import statements.
5547 2005-02-15 Graydon Hoare <graydon@redhat.com>
5549 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5550 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5551 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5552 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5553 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5557 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5559 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5564 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5565 Rewrite uses of extern variable to be function calls.
5566 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5567 function, from extern variable.
5568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5569 (gdk_env): Remove variable, add new function.
5570 (java_vm): Add new variable.
5571 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5572 java_vm rather than old gdk_env variable.
5574 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5576 * javax/swing/DefaultListModel.java
5577 (add): fire correct event,
5578 (addElement): corrected interval indices in event,
5579 (clear): corrected upper bound for interval, only fire event if
5581 (setSize): fire appropriate event.
5583 2005-02-15 Graydon Hoare <graydon@redhat.com>
5585 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5586 * gnu/awt/xlib/XToolkit.java: Likewise.
5587 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5588 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5589 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5590 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5591 * java/awt/EventQueue.java (getNextEvent):
5592 Adjust event loop to switch to native mode after 100ms.
5593 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5595 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5596 Wake up event thread.
5597 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5598 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5599 Adjust event loop to switch to java mode after 100ms.
5601 2005-02-15 Graydon Hoare <graydon@redhat.com>
5603 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5604 accidentally removed in last change.
5606 2005-02-15 Michael Koch <konqueror@gmx.de>
5608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5609 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5611 2005-02-15 Graydon Hoare <graydon@redhat.com>
5613 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5614 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5615 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5616 * jni.cc: Reuse bottom frame between calls, avoid clearing
5617 frame when no local references are made.
5619 2005-02-15 Michael Koch <konqueror@gmx.de>
5621 * javax/swing/UIDefaults.java (UIDefaults):
5622 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5623 Fixed HTML entity and removed a redundant comma.
5625 2005-02-15 Michael Koch <konqueror@gmx.de>
5627 * javax/swing/text/DefaultEditorKit.java
5628 (deinstall): Removed.
5629 (install): Likewise.
5631 2005-02-15 Michael Koch <konqueror@gmx.de>
5633 * javax/swing/UIDefaults.java (put): Handle value of null.
5635 2005-02-15 Michael Koch <konqueror@gmx.de>
5637 * java/awt/Robot.java,
5638 java/awt/Scrollbar.java,
5639 java/awt/print/PrinterJob.java,
5640 javax/swing/JTable.java,
5641 javax/swing/text/AbstractDocument.java:
5642 Reworked import statements.
5644 2005-02-15 Michael Koch <konqueror@gmx.de>
5646 * javax/swing/JEditorPane.java
5647 (read): Implemented.
5649 * javax/swing/text/DefaultEditorKit.java
5650 (page): Renamed from page_url. Made private.
5651 (editorKit): Renamed from kit. Made private.
5653 (JEditorPane): All constructors reimplemented.
5654 (getContentType): Use content type from editor kit.
5655 (getEditorKit): Return editorKit.
5656 (getEditorKitForContentType):Likewise.
5657 (getPage): Return page.
5658 (setContentType): Reimplemented.
5659 (setEditorKit): Likewise.
5660 (setEditorKitForContentType): Removed wrong implementation.
5661 (setPage): Implemented.
5663 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5665 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5666 (nativeSetIconImageFromData): Re-add native implementation.
5668 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5670 * javax/swing/table/DefaultTableModel.java
5671 (DefaultTableModel()): Added Javadocs.
5672 (DefaultTableModel(int, int)): Fixed implementation.
5673 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5674 for negative rowCount.
5675 (DefaultTableModel(Object[], int)): Added Javadocs.
5676 (DefaultTableModel(Vector, Vector)): Likewise.
5677 (DefaultTableModel(Object[][], Object[])): Likewise.
5678 (getDataVector): Likewise.
5679 (setDataVector(Vector, Vector)): Likewise.
5680 (setDataVector(Object[][], Object[])): Likewise.
5681 (newDataAvailable): Likewise.
5682 (newRowsAdded): Likewise.
5683 (rowsRemoved): Likewise.
5684 (setColumnIdentifiers(Vector)): Allow for null argument.
5685 (setColumnIdentifiers(Object[])): Added Javadocs.
5686 (setNumRows): Likewise.
5687 (setRowCount): Adds new rows if necessary, and sends more specific
5689 (setColumnCount): Allow for null columnIdentifiers.
5690 (addColumn(Object)): Added Javadocs.
5691 (addColumn(Object, Vector)): Handle null columnData.
5692 (addColumn(Object, Object[])): Handle columnData with more or less
5693 entries than rows in the table.
5694 (addRow(Vector)): Fire appropriate event.
5695 (addRow(Object[])): Added Javadocs.
5696 (insertRow(int, Vector)): Fire appropriate event.
5697 (insertRow(int, Object[])): Added Javadocs.
5698 (moveRow): Reimplemented.
5699 (removeRow(int)): Fire appropriate event.
5700 (getColumnCount): Allow for null columnIdentifiers.
5701 (getColumnName): Now returns empty string when column index is too
5703 (isCellEditable): Added Javadocs.
5704 (getValueAt): Likewise.
5705 (setValueAt): Fire more specific event.
5706 (convertToVector): Added Javadocs.
5707 * javax/swing/table/TableModel.java
5710 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5712 * libgcj.spec.in (lib): Add -l-javax-imageio.
5714 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5716 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5717 references to event queue q with method call q().
5718 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5719 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5720 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5721 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5722 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5723 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5726 2005-02-15 Graydon Hoare <graydon@redhat.com>
5728 * gnu/java/awt/ClasspathToolkit.java
5729 (registerImageIOSpis): New method.
5730 * gnu/java/awt/image/ImageDecoder.java
5731 (imageDecoder): New constructor using InputStream
5732 (startProduction): Handle existing InputStream.
5733 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5734 (findSimpleIntegerArray): Make public and static.
5735 (updateBufferedImage): Set each pixel, in a loop.
5736 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5737 Implement ImageIO SPI classes.
5738 (createBufferedImage): Rewrite in terms of SPI classes.
5739 * gnu/java/awt/peer/gtk/GtkToolkit.java
5740 (registerImageIOSpis): New method.
5741 * java/lang/reflect/natMethod.cc
5742 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5743 which lets JNI call interface methods properly.
5744 * javax/imageio/ImageIO.java
5745 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5746 (WriterMIMETypeFilter.filter): Likewise.
5747 (ImageReaderIterator): Pass extension argument through to SPI.
5748 (getReadersByFilter): Likewise.
5749 (getWritersByFilter): Likewise.
5750 (getImageReadersByFormatName): Likewise.
5751 (getImageReadersByMIMEType): Likewise.
5752 (getImageReadersBySuffix): Likewise.
5753 (getImageWritersByFormatName): Likewise.
5754 (getImageWritersByMIMEType): Likewise.
5755 (getImageWritersBySuffix): Likewise.
5758 * javax/imageio/ImageReader.java
5759 (progressListeners): Initialize.
5760 (setInput): Implement.
5761 * javax/imageio/ImageWriter.java
5762 (progressListeners): Initialize.
5763 (warningListeners): Likewise.
5764 (warningLocales): Likewise.
5765 (setOutput): Test "isInstance" rather than class equality.
5766 * javax/imageio/spi/IIORegistry.java
5767 (static): Add reader and writer SPIs.
5768 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5769 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5770 (query_formats): New function.
5771 (save_to_stream): Likewise.
5772 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5774 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5776 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5778 (keyPress): Likewise.
5779 (keyRelease): Likewise.
5781 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5783 * javax/swing/JTable.java
5784 (columnAtPoint): New Method. Implemented.
5785 (rowAtPoint): Likewise.
5786 (countSelections): Fixed few small count errors.
5787 (getSelections): Likewise.
5788 (setSelectionMode): Set selection mode for column
5789 selection model in addition to row selection model.
5790 * javax/swing/plaf/basic/BasicTableUI.java:
5791 (getRowForPoint): Removed. Replaced by
5792 JTable.rowAtPoint().
5793 (getColForPoint): Removed. Replaced by
5794 JTable.columnAtPoint().
5795 (updateSelection): Updated to call JTable.columnAtPoint
5796 and JTable.rowAtPoint.
5797 * javax/swing/table/DefaultTableColumnModel.java:
5798 (getSelectedColumns): Implemented.
5799 (getSelectedColumnCount): Implemented.
5801 2005-02-15 Graydon Hoare <graydon@redhat.com>
5804 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5805 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5806 * Makefile.in: Regenerate.
5807 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5808 * gnu/awt/xlib/XFramePeer.java: Likewise.
5809 * gnu/awt/xlib/XToolkit.java: Likewise.
5810 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5811 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5812 * gnu/java/awt/ClasspathToolkit.java
5815 (iterateNativeQueue): New methods.
5816 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5817 * gnu/java/awt/peer/gtk/GtkToolkit.java
5818 (gtkInit): Absorb from defunct GtkMainThread class.
5819 (static): Run gtkInit in static startup block.
5820 (GtkToolkit): Remove construction of GtkMainThread and queue.
5821 (getSystemEventQueueImpl): Construct queue when requested.
5824 (iterateNativeQueue): New methods.
5825 * java/awt/Component.java (removeNotify): Remove race.
5826 * java/awt/EventDispatchThread.java
5827 (EventDispatchThread): Don't start on construction.
5828 (run): Remove isInterrupted check.
5829 * java/awt/EventQueue.java (shutdown): New flag.
5830 (isShutdown): New method checking J2SE shutdown condition.
5831 (setShutdown): New method.
5832 (getNextEvent): Restructure to use ClasspathToolkit.
5833 (postEvent): Activate new thread on posting, wake thread on
5834 post of possible shutdown condition event.
5835 * java/awt/Frame.java
5836 (Frame): Call noteFrame in all constructors.
5837 (fireDummyEvent): New helper method.
5838 (addNotify): Fire a dummy event to wake up queue.
5839 (removeNotify): Fire a dummy event to wake up queue.
5840 (noteFrame): New method.
5841 (weakFrames): New static field.
5842 (getFrames): Implement.
5843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5846 Move everything from GtkMainThread into this file
5847 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5848 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5849 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5850 New functions to implement single-threaded queue semantics.
5852 2005-02-15 Michael Koch <konqueror@gmx.de>
5854 * javax/swing/plaf/metal/MetalLookAndFeel.java
5855 (getControlTextFont): New method.
5856 (getMenuTextFont): Likewise.
5857 (getSubTextFont): Likewise.
5858 (getSystemTextFont): Likewise.
5859 (getUserTextFont): Likewise.
5860 (getWindowTitleFont): Likewise.
5862 2005-02-15 Michael Koch <konqueror@gmx.de>
5864 * javax/swing/text/AbstractDocument.java
5865 (documentFilter): New field.
5866 (getDocumentFilter): New method.
5867 (setDocumentFilter): Likewise.
5870 2005-02-15 Michael Koch <konqueror@gmx.de>
5872 * javax/swing/JTree.java
5873 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5875 2005-02-15 Michael Koch <konqueror@gmx.de>
5877 * javax/swing/text/AbstractDocument.java
5878 (AbstractElement.getLength): Fixed off-by-one error.
5879 (AbstractElement.children): Made abstract.
5880 (AbstractElement.getAllowsChildren): Likewise.
5881 (AbstractElement.getElement): Likewise.
5882 (AbstractElement.dumpElement): New private method.
5883 (AbstractElement.dump): New method.
5884 (BranchElememt.getName): Fixed implementation.
5885 (BranchElememt.toString): Likewise.
5886 (BranchElememt.getElement): Fixed arguments.
5887 (LeafElement.getName): Fixed implementation.
5888 (LeafElement.toString): Likewise.
5889 * javax/swing/text/GapContent.java
5890 (GapContent): Put default content into buffer.
5891 * javax/swing/text/PlainDocument.java
5892 (reindex): Use empty attribute sets instead of null.
5893 (createDefaultRoot): Reimplemented.
5894 (insertUpdate): Call super method.
5895 (removeUpdate): Likewise.
5896 (getParagraphElement): Implemented.
5898 2005-02-15 Michael Koch <konqueror@gmx.de>
5900 * gnu/java/awt/ClasspathToolkit.java
5901 (createRobot): Throws java.awt.AWTException.
5902 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5903 Added '__attribute__((unused))' to all unused method arguments.
5905 2005-02-15 Michael Koch <konqueror@gmx.de>
5907 * javax/swing/DefaultBoundedRangeModel.java
5908 (fireValueChanged): Fixed off-by-one error.
5910 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5912 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5913 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5915 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5916 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5917 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5918 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5919 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5920 (getDefaultScreenDevice): Implement.
5921 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5922 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5923 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5924 * java/awt/Robot.java: Implement.
5925 * java/awt/peer/RobotPeer.java: Rename parameters.
5926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5928 (awt_keycode_to_keysym): Make non-static.
5929 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5930 AWT_BUTTON3_MASK): Declare constants.
5931 (awt_keycode_to_keysym): Declare.
5933 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5934 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5935 and is non-empty pass its value to "make check".
5936 (test_mauve_sim): Likewise.
5938 2005-02-15 Michael Koch <konqueror@gmx.de>
5940 * javax/imageio/IIOParam.java
5941 (setSourceBands): New method.
5942 (setSourceSubsampling): Likewise.
5943 * javax/imageio/ImageReadParam.java
5944 (setDestination): Likewise.
5945 (setDestinationBands): Likewise.
5946 (setSourceProgressivePasses): Likewise.
5947 * javax/imageio/metadata/IIOInvalidTreeException.java
5948 (serialVersionUID): New static field.
5949 * javax/imageio/metadata/IIOMetadataNode.java
5950 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5951 (parent): Dont initailize with default value explicitely.
5953 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5954 (removeAttributeNode): Likewise.
5955 (removeAttributeNS): Likewise.
5956 (setAttribute): Likewise.
5957 (setAttributeNode): Likewise.
5958 (setAttributeNodeNS): Likewise.
5959 (setAttributeNS): Likewise.
5960 (appendChild): Likewise.
5961 (getNodeValue): Likewise.
5962 (insertBefore): Likewise.
5963 (removeChild): Likewise.
5964 (replaceChild): Likewise.
5965 (setPrefix): Likewise.
5967 2005-02-15 Michael Koch <konqueror@gmx.de>
5969 * javax/swing/LookAndFeel.java
5970 (getDesktopPropertyValue): New method.
5972 2005-02-15 Michael Koch <konqueror@gmx.de>
5974 * javax/swing/JTree.java
5975 (hasChildren): New instance field.
5977 2005-02-15 Michael Koch <konqueror@gmx.de>
5979 * javax/swing/JComponent.java
5980 (getToolTipText): New method.
5981 (getTitledBorderText): Likewise.
5982 (getAccessibleKeyBinding): Likewise.
5983 (getVerifyInputWhenFocusTarget): Likewise.
5984 (setVerifyInputWhenFocusTarget): Likewise.
5985 (verifyInputWhenFocusTarget): New instance field.
5987 2005-02-15 Michael Koch <konqueror@gmx.de>
5989 * javax/swing/DefaultListSelectionModel.java
5990 (fireValueChanged): New method.
5992 2005-02-15 Michael Koch <konqueror@gmx.de>
5994 * javax/swing/DefaultBoundedRangeModel.java:
5995 Fixed javadocs all over.
5996 (fireStateChanged): Simplified.
5997 * javax/swing/BoundedRangeModel.java:
6000 2005-02-15 Michael Koch <konqueror@gmx.de>
6002 * javax/swing/JRootPane.java
6003 (setMenuBar): Added @deprecated tag.
6004 (getMenuBar): Likewise.
6005 * javax/swing/JTable.java
6006 (sizeColumnsToFit): Likewise.
6008 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6010 * javax/swing/ImageIcon.java (setImage): Implemented.
6012 2005-02-15 Michael Koch <konqueror@gmx.de>
6014 * javax/swing/JTable.java:
6015 Removed unused imports.
6017 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6019 (prepareRenderer): Get column's index in dataModel instead
6020 of column's view index.
6021 (getColumnCount): return count of the columns in ColumnModel,
6023 (removeColumn): Implemented.
6024 (moveColumm): Likewise.
6025 (setRowHeight): throw IllegalArgumentException if height is
6027 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6028 (DefaultTableColumnModel):Add call to createSelectionModel().
6029 (addColumn): Fire columnAdded event to registered listeners.
6030 (removeColumn): Fire columnRemoved event to registered listeners.
6031 (moveColumn): Fire columnMoved event to registered listeners.
6032 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6033 (getColumnIndex): Changed parameter name.
6034 (setColumnSelectionAllowed): Likewise.
6035 (fireColumnAdded): Implemented.
6036 (fireColumnRemoved): Likewise.
6037 (fireColumnMoved): Likewise.
6038 (fireColumnMarginChanged): Likewise.
6039 (getListeners): Changed parameter name.
6040 (propertyChange): Implemented.
6041 (valueChanged): Changed parameter name.
6042 (createSelectionModel): Implemented.
6044 2005-02-15 Michael Koch <konqueror@gmx.de>
6046 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6047 Explicitely import used classes.
6048 (getLocalGraphicsEnvironment): Simplify.
6049 * java/awt/Window.java (Window):
6050 Enable code to get the default GraphicsConfiguration.
6052 2005-02-15 Michael Koch <konqueror@gmx.de>
6054 * javax/swing/plaf/metal/DefaultMetalTheme.java
6055 (CONTROL_TEXT_FONT): New static field.
6056 (MENU_TEXT_FONT): Likewise.
6057 (SUB_TEXT_FONT): Likewise.
6058 (SYSTEM_TEXT_FONT): Likewise.
6059 (USER_TEXT_FONT): Likewise.
6060 (WINDOW_TITLE_FONT): Likewise.
6061 (getControlTextFont): New method.
6062 (getMenuTextFont): Likewise.
6063 (getSubTextFont): Likewise.
6064 (getSystemTextFont): Likewise.
6065 (getUserTextFont): Likewise.
6066 (getWindowTitleFont): Likewise.
6067 * javax/swing/plaf/metal/MetalTheme.java
6068 (BLACK): Initialize with Color.BLACK.
6069 (WHITE): Initialize with Color.WHITE.
6070 (getInactiveControlTextColor): Return getControlDisabled().
6071 (getMenuDisabledForeground): Return getSecondary3().
6072 (getControlTextFont): New abstract method.
6073 (getMenuTextFont): Likewise.
6074 (getSubTextFont): Likewise.
6075 (getSystemTextFont): Likewise.
6076 (getUserTextFont): Likewise.
6077 (getWindowTitleFont): Likewise.
6079 2005-02-15 Michael Koch <konqueror@gmx.de>
6081 * javax/swing/JFormattedTextField.java
6082 (getFocusLostBehavior): Fixed typo in method name.
6083 (setFocusLostBehavior): Likewise.
6085 2005-02-15 Michael Koch <konqueror@gmx.de>
6087 * javax/swing/TransferHandler.java:
6088 Reworked import statements.
6090 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6092 * java/awt/Button.java,
6093 java/awt/Canvas.java,
6094 java/awt/Checkbox.java,
6095 java/awt/CheckboxMenuItem.java,
6096 java/awt/Choice.java,
6097 java/awt/Dialog.java,
6098 java/awt/Frame.java,
6099 java/awt/Label.java,
6102 java/awt/MenuBar.java,
6103 java/awt/MenuItem.java,
6104 java/awt/PopupMenu.java,
6105 java/awt/ScrollPane.java,
6106 java/awt/Scrollbar.java,
6107 java/awt/TextArea.java,
6108 java/awt/Window.java (getAccessibleContext): Clean up comments.
6110 * java/awt/Button.java,
6111 java/awt/Checkbox.java,
6112 java/awt/Choice.java,
6114 java/awt/PopupMenu.java,
6115 java/awt/TextArea.java (getAccessibleContext): Only create new
6117 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6119 2005-02-15 Michael Koch <konqueror@gmx.de>
6121 * java/awt/Button.java,
6122 javax/swing/JApplet.java,
6123 javax/swing/JFormattedTextField.java,
6124 javax/swing/JWindow.java,
6125 javax/swing/JTree.java,
6126 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6127 javax/swing/plaf/basic/BasicTextPaneUI.java,
6128 javax/swing/plaf/basic/BasicTreeUI.java:
6129 Reworked import statements.
6131 2005-02-15 Michael Koch <konqueror@gmx.de>
6133 * Makefile.am: Put javax.imageio into its own library and link it
6134 against lib-org-w3c-dom.la to fix bootstrapping.
6135 * Makefile.in: Regenerated.
6137 2005-02-15 Michael Koch <konqueror@gmx.de>
6139 * javax/swing/text/TextAction.java
6140 (getTextComponent): Simplified. Added Javadoc.
6141 (augmentList): Implemented. Added Javadoc.
6142 (getFocusedComponent): Added javadoc.
6144 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6146 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6147 getAccessibleContext): Implement.
6148 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6149 getAccessibleContext): Implement.
6151 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6153 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6155 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6157 * java/awt/Window.java (getAccessibleContext): Fix comment.
6158 Remove extra import.
6160 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6162 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6163 (isActive, isFocused, getAccessibleContext): Implement.
6165 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6167 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6168 * java/awt/MenuComponent.java (accessibleContext): Make package
6170 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6171 AccessibleAWTCheckboxMenuItem): Implement.
6173 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6175 * java/awt/List.java: Implement AccessibleAWTList,
6176 AccessibleAWTListChild.
6178 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6180 * java/awt/Choice.java: Add implements declaration for
6183 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6185 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6188 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6190 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6191 implemented interface list.
6193 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6195 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6196 * javax/imageio/metadata/IIOAttr.java: New class.
6197 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6198 * javax/imageio/metadata/IIONodeList.java: New class.
6199 * Makefile.am: Added new files.
6200 * Makefile.in: Regenerated.
6202 2005-02-15 Michael Koch <konqueror@gmx.de>
6204 * javax/swing/AbstractAction.java,
6205 javax/swing/AbstractCellEditor.java,
6206 javax/swing/AbstractListModel.java,
6207 javax/swing/DefaultBoundedRangeModel.java,
6208 javax/swing/DefaultButtonModel.java,
6209 javax/swing/DefaultCellEditor.java,
6210 javax/swing/DefaultComboBoxModel.java,
6211 javax/swing/DefaultDesktopManager.java,
6212 javax/swing/JMenu.java,
6213 javax/swing/JSlider.java,
6214 javax/swing/KeyStroke.java,
6215 javax/swing/OverlayLayout.java,
6216 javax/swing/ScrollPaneLayout.java,
6217 javax/swing/SizeRequirements.java,
6218 javax/swing/ViewportLayout.java:
6219 Made serialVersionUID private.
6221 2005-02-15 Michael Koch <konqueror@gmx.de>
6223 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6226 2005-02-15 Michael Koch <konqueror@gmx.de>
6228 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6230 2005-02-15 Michael Koch <konqueror@gmx.de>
6232 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6234 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6236 * java/awt/EventDispatchThread.java,
6237 java/awt/Toolkit.java:
6238 Don't catch java.lang.ThreadDeath.
6240 2005-02-15 Michael Koch <konqueror@gmx.de>
6242 * javax/swing/text/PasswordView.java
6243 (drawEchoCharacter): Added javadoc.
6244 (drawSelectedText): Likewise.
6245 (drawUnselectedText): Likewise.
6247 2005-02-15 Michael Koch <konqueror@gmx.de>
6249 * javax/swing/JRootPane.java
6250 (windowDecorationStyle): New field.
6251 (setMenuBar): New method.
6252 (getMenuBar): Likewise.
6253 (getWindowDecorationStyle): Likewise.
6254 (setWindowDecorationStyle): Likewise.
6256 2005-02-15 Michael Koch <konqueror@gmx.de>
6258 * javax/swing/DefaultListSelectionModel.java
6259 (leadAnchorNotificationEnabled): Made protected.
6261 2005-02-15 Michael Koch <konqueror@gmx.de>
6263 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6264 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6265 * Makefile.in: Regenerated.
6268 2005-02-15 Michael Koch <konqueror@gmx.de>
6270 * javax/swing/JFormattedTextField.java: Implemented.
6271 * javax/swing/JWindow.java
6272 (JWindow): New constructors.
6273 (initWindow): Renamed from initFrame.
6274 * javax/swing/UIDefaults.java
6275 (ActiveValue): Made interface static.
6276 (LazyValue): Likewise.
6277 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6278 (TitlePaneLayout.TitlePaneLayout): New constructor.
6279 * javax/swing/plaf/basic/BasicSliderUI.java
6280 (ChangeHandler): Made public.
6281 (FocusHandler): Likewise.
6282 (PropertyChangeHandler): Likewise.
6283 (ScrollListener): Likewise.
6284 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6285 (FocusHandler): Likewise.
6286 (MouseHandler): Likewise.
6287 * javax/swing/plaf/basic/BasicTextPaneUI.java
6288 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6289 * javax/swing/plaf/basic/BasicToolBarUI.java
6290 (BasicToolBarUI): Simplified. Reworked javadoc.
6291 (canDock): Simplified. Make public.
6292 (DockingListener): Made public.
6293 * javax/swing/text/JTextComponent.java
6294 (navigationFilter): New field.
6295 (getNavigationFilter): New method.
6296 (setNavigationFilter): Likewise.
6298 2005-02-15 Michael Koch <konqueror@gmx.de>
6300 * javax/swing/plaf/metal/MetalTheme.java
6301 (getControlTextColor): Return getControlInfo().
6302 (getHighlightedTextColor): Return getControlTextColor().
6304 2005-02-15 Michael Koch <konqueror@gmx.de>
6306 * javax/swing/plaf/basic/BasicButtonListener.java
6307 (BasicButtonListener): New constructor.
6308 * javax/swing/plaf/basic/BasicButtonUI.java
6309 (createButtonListener): Usw new BasicButtonListener constructor.
6311 2005-02-15 Michael Koch <konqueror@gmx.de>
6313 * javax/imageio/event/package.html,
6314 javax/imageio/metadata/package.html: New files.
6316 2005-02-15 Michael Koch <konqueror@gmx.de>
6318 * java/awt/image/MemoryImageSource.java: Reformatted.
6320 2005-02-15 Michael Koch <konqueror@gmx.de>
6322 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6324 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6326 * java/awt/color/ICC_Profile.java
6327 (finalize): Removed pointless field assignments.
6329 2005-02-15 Michael Koch <konqueror@gmx.de>
6331 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6332 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6333 * Makefile.in: Regenerated.
6335 2005-02-15 Michael Koch <konqueror@gmx.de>
6337 * javax/swing/text/DefaultStyledDocument.java: New file.
6338 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6339 * Makefile.in: Regenerated.
6341 2005-02-15 Michael Koch <konqueror@gmx.de>
6343 * javax/swing/JFileChooser.java
6344 (showDialog): Return CANCEL_OPTION for now.
6345 (showOpenDialog): Likewise.
6346 (showSaveDialog): Likewise.
6348 2005-02-15 Michael Koch <konqueror@gmx.de>
6350 * javax/swing/JApplet.java
6351 (HIDE_ON_CLOSE): Removed.
6352 (EXIT_ON_CLOSE): Likewise.
6353 (DISPOSE_ON_CLOSE): Likewise.
6354 (DO_NOTHING_ON_CLOSE): Likewise.
6355 (close_action): Likewise.
6356 (getDefaultCloseOperation): Likewise.
6357 (setDefaultCloseOperation): Likewise.
6358 (processWindowEvent): Likewise.
6359 (getPreferredSize): Simplified.
6360 * javax/swing/JInternalFrame.java
6361 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6363 * javax/swing/JWindow.java
6364 (HIDE_ON_CLOSE): Removed.
6365 (EXIT_ON_CLOSE): Likewise.
6366 (DISPOSE_ON_CLOSE): Likewise.
6367 (DO_NOTHING_ON_CLOSE): Likewise.
6368 (close_action): Likewise.
6369 (processKeyEvent): Likewise.
6370 (setDefaultCloseOperation): Likewise.
6371 (getPreferredSize): Simplified.
6373 2005-02-15 Michael Koch <konqueror@gmx.de>
6375 * javax/swing/JTextField.java
6376 (getPreferredSize): Re-implemented.
6378 2005-02-15 Michael Koch <konqueror@gmx.de>
6380 * javax/swing/JLabel.java
6381 (setDisplayedMnemonic): Use only upper case characters.
6382 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6383 PropertyChangeEvent after property got set to the new index.
6385 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6387 * javax/swing/JComboBox.java:
6388 (JComboBox): Removed selection of the
6389 first item in the model.
6391 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6393 * javax/swing/JComboBox.java
6394 added support for no item being selected
6395 (JComboBox): select first or nothing depending on element count
6396 (setModel): cleaned up unneeded "this." usage, added more
6397 docs, made exception behavior match that of the JDK
6398 (setLighWeightPopupEnabled): removed unneeded "this." usage
6400 (setMaximumRowCount): dito
6402 (setPrototypeDisplayValue): dito
6403 (getSelectedItem): simplified, added more user doc
6404 (setSelectedIndex): corrected exception behavior, added more user doc
6405 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6406 added performance warning to user doc
6407 (addItem): fixed exception behavior, added user doc
6408 (insertItemAt): dito
6410 (removeItemAt): dito
6411 (removeAll): fixed exception behavior, added user doc, added support
6412 for model not being instance of DefaultComboBoxModel
6413 (getSelectedItemObjects): simplified
6414 (getItemCount): fixed dependency on DefaultComboBoxModel
6415 (getItemAt): fixed dependency on MutableComboBoxModel
6416 * javax/swing/DefaultComboBoxModel.java:
6417 (setSelectedItem): updates selected item only if new
6418 value is null or known (match JDK behavior)
6419 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6420 (paintCurrentValue): renders "" if no item is selected
6422 2005-02-15 Michael Koch <konqueror@gmx.de>
6424 * javax/swing/plaf/metal/MetalTheme.java,
6425 javax/swing/plaf/metal/DefaultMetalTheme.java:
6427 * javax/swing/plaf/metal/MetalLookAndFeel.java
6428 * Makefile.am: Added the new files.
6429 * Makefile.in: Regenerated.
6431 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6433 * javax/swing/JTable.java
6434 (editorComp): New field.
6435 (JTable): Initialize local variables and call updateUI
6436 (selectionBackground): Make protected.
6437 (selectionForeground): Likewise.
6438 (initializeLocalVars): Create default editors and renderers,
6439 initialize editingColumn, editingRow variables.
6440 (createDefaultEditors): New Method.
6441 (createDefaultRenderers): Likewise.
6442 (createDefaultListSelectionModel): Removed
6443 (createDefaultSelectionModel): New Method.
6444 (createDefaultTableHeader): Likewise
6445 (removeColumn): Likewise.
6446 (getEditingColumn): Likewise.
6447 (setEditingColumn): Likewise.
6448 (getEditingRow): Likewise.
6449 (setEditingRow): Likewise.
6450 (getEditorComponent): Likewise.
6451 (isEditing): Likewise.
6452 (setDefaultEditor): Likewise.
6453 (addColumnSelectionInterval): Likewise.
6454 (addRowSelectionInterval): Likewise.
6455 (setColumnSelectionInterval): Likewise.
6456 (setRowSelectionInterval): Likewise.
6457 (removeColumnSelectionInterval): Likewise.
6458 (removeRowSelectionInterval): Likewise.
6459 (isColumnSelected): Likewise.
6460 (isRowSelected): Likewise.
6461 (isCellSelected): Likewise.
6462 (selectAll): Likewise.
6464 2005-02-15 Michael Koch <konqueror@gmx.de>
6466 * javax/swing/JTable.java
6467 (addColumn): New method.
6468 (getColumnClass): Likewise.
6469 (getColumnName): Likewise.
6471 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6473 * javax/swing/TransferHandler.java
6474 (createTransferable): Made protected.
6476 2005-02-15 Michael Koch <konqueror@gmx.de>
6478 * javax/swing/JTable.java,
6479 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6480 javax/swing/plaf/basic/BasicTableUI.java:
6481 Use fixed get/setIntercellSpacing() methods.
6483 2005-02-15 Michael Koch <konqueror@gmx.de>
6485 * javax/swing/JTable.java
6486 (getIntercellSpacing): Fixed typo in method name.
6487 (setIntercellSpacing): Likewise.
6489 2005-02-15 Michael Koch <konqueror@gmx.de>
6491 * javax/swing/text/JTextComponent.java
6492 (focusAccelerator): New variable.
6493 (getFocusAccelerator): New method.
6494 (setFocusAccelerator): Likewise.
6496 2005-02-15 Michael Koch <konqueror@gmx.de>
6498 * javax/swing/JComponent.java
6499 (setTransferHandler): Made public. Fire property change event.
6500 * javax/swing/TransferHandler.java: Implemented.
6501 * javax/swing/text/JTextComponent.java
6502 (DefaultTransferHandler): New inner class.
6503 (defaultTransferHandler): New variable.
6507 (doTransferAction): Likewise.
6509 2005-02-15 Michael Koch <konqueror@gmx.de>
6511 * javax/swing/JTree.java
6512 (collapsePath): New method.
6513 (collapseRow): Likewise.
6514 (expandPath): Likewise.
6515 (expandRow): Likewise.
6516 (checkExpandParents): Likewise.
6517 (doExpandParents): Likewise.
6518 (setExpandedState): Likewise.
6519 (makeVisible): Likewise.
6521 2005-02-15 Michael Koch <konqueror@gmx.de>
6523 * javax/swing/JPasswordField.java: Updated javadocs.
6525 2005-02-15 Michael Koch <konqueror@gmx.de>
6527 * javax/swing/JLayeredPane.java
6528 (getLayer): Fixed return type, made public.
6529 (getPosition): Use new getLayer().
6530 (SetPosition): Likewise.
6531 (getIndexOf): Likewise.
6533 * javax/swing/JInternalFrame.java
6534 (getLayer): Use new JLayeredPane.getLayer().
6537 2005-02-15 Michael Koch <konqueror@gmx.de>
6539 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6540 (setHeaderValue): Simplified. Do nothing when old value == new value.
6542 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6544 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6545 against null clip region.
6546 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6547 gtkWindowSetResizable.
6548 (postConfigureEvent): Only revalidate if frame size has changed.
6549 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6550 Only revalidate if frame size has changed.
6551 * java/awt/Component.java (reshape): Only repaint and post
6552 component events if component is showing.
6553 * java/awt/Container.java (addImpl): Only post container event if
6554 container is showing.
6556 * java/awt/Window.java (setLocationRelativeTo): Implement.
6557 (setBoundsCallback): Only post component events if component is
6559 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6560 Protect against null graphics structure. Flush gdk event queue.
6562 2005-02-15 Michael Koch <konqueror@gmx.de>
6564 * javax/imageio/ImageReader.java,
6565 javax/imageio/ImageTranscoder.java,
6566 javax/imageio/ImageWriter.java,
6567 javax/imageio/spi/ImageInputStreamSpi.java,
6568 javax/imageio/spi/ImageOutputStreamSpi.java,
6569 javax/imageio/spi/ServiceRegistry.java,
6570 javax/imageio/stream/ImageInputStream.java,
6571 javax/imageio/stream/ImageOutputStream.java: Updated.
6572 * javax/imageio/IIOException.java,
6573 javax/imageio/IIOImage.java,
6574 javax/imageio/IIOParam.java,
6575 javax/imageio/IIOParamController.java,
6576 javax/imageio/ImageIO.java,
6577 javax/imageio/ImageReadParam.java,
6578 javax/imageio/ImageTypeSpecifier.java,
6579 javax/imageio/ImageWriteParam.java,
6580 javax/imageio/spi/IIORegistry.java,
6581 javax/imageio/spi/ImageReaderSpi.java,
6582 javax/imageio/spi/ImageWriterSpi.java,
6583 javax/imageio/stream/FileCacheImageInputStream.java,
6584 javax/imageio/stream/FileCacheImageOutputStream.java,
6585 javax/imageio/stream/FileImageInputStream.java,
6586 javax/imageio/stream/FileImageOutputStream.java,
6587 javax/imageio/stream/ImageInputStreamImpl.java,
6588 javax/imageio/stream/ImageOutputStreamImpl.java,
6589 javax/imageio/stream/MemoryCacheImageInputStream.java,
6590 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6591 javax/imageio/event/IIOReadProgressListener.java,
6592 javax/imageio/event/IIOReadUpdateListener.java,
6593 javax/imageio/event/IIOReadWarningListener.java,
6594 javax/imageio/event/IIOWriteProgressListener.java,
6595 javax/imageio/event/IIOWriteWarningListener.java,
6596 javax/imageio/metadata/IIOMetadata.java,
6597 javax/imageio/metadata/IIOMetadataController.java,
6598 javax/imageio/metadata/IIOMetadataFormat.java,
6599 javax/imageio/metadata/IIOInvalidTreeException.java,
6600 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6601 javax/imageio/metadata/IIOMetadataNode.java: New files.
6602 * Makefile.am (javax_source_files): Added new files
6603 * Makefile.in: Regenerated.
6605 2005-02-15 Graydon Hoare <graydon@redhat.com>
6607 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6608 Rework painting into BufferedImages
6609 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6610 Construct BufferedImage with alpha only when alpha is
6611 present in colormodel.
6612 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6613 Rework painting into client-side jint arrays.
6614 * jni/gtk-peer/gtkcairopeer.h:
6617 2005-02-15 Michael Koch <konqueror@gmx.de>
6619 * javax/swing/DefaultListCellRenderer.java
6620 (serialVersionUID): Made private.
6621 (getListCellRendererComponent): Set horizontal alignment.
6622 * javax/swing/JLabel.java
6623 (setVerticalAlignment): Re-implemented.
6624 (setHorizontalAlignment): Do nothing if old value = new value.
6625 * javax/swing/JList.java
6626 (setCellRenderer): Likewise.
6627 (setModel): Re-implemented.
6628 (setSelectionModel): Likewise.
6630 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6632 * java/awt/Component.java,
6633 java/awt/geom/Rectangle2D.java:
6636 2005-02-15 Michael Koch <konqueror@gmx.de>
6638 * javax/swing/AbstractListModel.java
6639 (fireContentsChanged): Simplified.
6640 (fireIntervalAdded): Likewise.
6641 (fireIntervalRemoved): Likewise.
6642 * javax/swing/DefaultSingleSelectionModel.java:
6644 (fireStateChanged): Simplified.
6645 * javax/swing/JPopupMenu.java
6646 (setSelectionModel): Set property.
6648 2005-02-15 Michael Koch <konqueror@gmx.de>
6650 * java/awt/print/Book.java: Reformatted.
6652 2005-02-15 Michael Koch <konqueror@gmx.de>
6654 * java/awt/geom/Area.java
6655 (QuadSegment.curveArea): Remove unused variables.
6656 (CubicSegment.curveArea): Likewise.
6658 2005-02-15 Michael Koch <konqueror@gmx.de>
6660 * javax/swing/JTree.java
6661 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6662 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6663 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6664 (EXPANDED): New constant.
6665 (COLLAPSED): Likewise.
6666 (nodeStates): New field.
6667 (cellEditor): New method.
6668 (cellRenderer): Likewise.
6669 (selectionModel): Likewise.
6670 (treeModel): Likewise.
6671 (scrollPathToVisible): Likewise.
6672 (scrollRowToVisible): Likewise.
6673 (isCollapsed): Likewise.
6674 (isExpanded): Likewise.
6675 (clearToggledPaths): Likewise.
6676 (getDescendantToggledPaths): Likewise.
6677 (hasBeenExpanded): Likewise.
6678 (isVisible): Likewise.
6679 (isPathEditable): Likewise.
6681 2005-02-15 Michael Koch <konqueror@gmx.de>
6683 * javax/swing/JLayeredPane.java: Reformatted.
6685 2005-02-15 Michael Koch <konqueror@gmx.de>
6687 * javax/swing/tree/DefaultMutableTreeNode.java:
6689 * javax/swing/tree/MutableTreeNode.java:
6692 2005-02-15 Michael Koch <konqueror@gmx.de>
6694 * javax/swing/JFormattedTextField.java
6695 (setDocument): Call setDocument of super class. Don't fire property
6698 2005-02-15 Sven de Marothy <sven@physto.se>
6700 * java/awt/image/IndexColorModel.java:
6701 Add FIXME with respect to alpha handling.
6702 (getAlpha): Default to returning opaque pixels.
6703 * java/awt/image/MultiPixelPackedSampleModel.java
6704 (MultiPixelPackedSampleModel): Corrected parameters, order of
6705 bit shifts and masks, stride length off by one.
6707 2005-02-15 Michael Koch <konqueror@gmx.de>
6709 * javax/swing/JList.java, javax/swing/JTree.java:
6710 Added much new methods and fixed much methods setting bound properties.
6712 2005-02-16 Mark Wielaard <mark@klomp.org>
6714 * Makefile.am (gnu_xml_source_files): Removed
6715 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6716 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6717 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6718 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6719 gnu/xml/dom/DomDocumentFragment.java,
6720 gnu/xml/dom/DomProcessingInstruction.java and
6721 gnu/xml/dom/ls/DomLSException.java.
6722 * Makefile.in: Regenerated.
6724 2005-02-16 Tom Tromey <tromey@redhat.com>
6726 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6727 attribute index is out of bounds.
6729 2005-02-16 Chris Burdess <dog@gnu.org>
6731 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6732 isDeclared methods. Improved performance of isSpecified methods.
6734 2005-02-16 Chris Burdess <dog@gnu.org>
6736 Fixes bug libgcj/19864
6737 * gnu/xml/dom/DomAttr.java,
6738 gnu/xml/dom/DomCDATA.java,
6739 gnu/xml/dom/DomCDATASection.java,
6740 gnu/xml/dom/DomCharacterData.java,
6741 gnu/xml/dom/DomDOMException.java,
6742 gnu/xml/dom/DomDoctype.java,
6743 gnu/xml/dom/DomDocument.java,
6744 gnu/xml/dom/DomDocumentConfiguration.java,
6745 gnu/xml/dom/DomDocumentFragment.java,
6746 gnu/xml/dom/DomElement.java,
6747 gnu/xml/dom/DomEx.java,
6748 gnu/xml/dom/DomFragment.java,
6749 gnu/xml/dom/DomImpl.java,
6750 gnu/xml/dom/DomIterator.java,
6751 gnu/xml/dom/DomNamedNodeMap.java,
6752 gnu/xml/dom/DomNode.java,
6753 gnu/xml/dom/DomNsNode.java,
6754 gnu/xml/dom/DomPI.java,
6755 gnu/xml/dom/DomProcessingInstruction.java,
6756 gnu/xml/dom/DomText.java,
6757 gnu/xml/dom/DomLSEx.java,
6758 gnu/xml/dom/DomLSException.java,
6759 gnu/xml/dom/DomLSParser.java,
6760 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6761 implementation class names to conform to Classpath guidelines. Make
6762 DomLSException use JDK 1.4+ exception chaining.
6763 * gnu/xml/util/SAXNullTransformerFactory.java,
6764 gnu/xml/xpath/Predicate.java: Use constants relative to
6765 declaring class or interface.
6767 2005-02-16 Andrew Haley <aph@redhat.com>
6769 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6770 null, create a new AccessControlContext.
6771 * java/security/SecureClassLoader.java (protectionDomainCache):
6773 (defineClass): Create a new protection domain and add it to our
6776 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6777 addStub() to keep track of the stub we've exported.
6778 (unexportObject): Call deleteStub().
6779 * java/rmi/server/RemoteObject.java (stubs): New field.
6780 (addStub): New method.
6781 (deleteStub): New method.
6784 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6785 true to findHelper (tryParents).
6786 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6788 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6789 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6791 If tryParents is false, don't scan parent class loaders.
6793 * java/security/Permissions.java (PermissionsHash.implies):
6794 Iterate over the collection and invoke implies() on each
6797 2005-02-16 Andrew Haley <aph@redhat.com>
6799 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6801 (PersistentByteMap): Set name
6802 Magic number changed to 0x67636a64 ("gcjd").
6803 (init): Force the map to be prime.
6804 (emptyPersistentByteMap): File name was a string, now a File.
6805 (addBytes): Share srings between entries.
6806 (stringTableSize): New method.
6807 (capacity): Scale by load factor.
6808 (force): New method.
6809 (getFile): New method.
6810 (close): New method.
6811 (putAll): New method.
6812 (ByteWrapper): New class.
6813 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6814 (main): Guess the average string size as 32, not 64.
6815 Copy a database before modifying it, so that we can update a
6816 database in a running system.
6817 If a database isn't big enough, resize it.
6818 "-m": new option: merges databases.
6819 "-a": Create a new detabase if it doesn't exist.
6820 (usage): Correct, add new option.
6821 (addJar): Copy a database before modifying it.
6822 (resizeMap): New method.
6824 2005-02-15 David Daney <ddaney@avtrex.com>
6825 Bryce McKinlay <mckinlay@redhat.com>
6827 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6828 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6829 ensure that GC threads inherit the new signal mask.
6830 (block_sigchld): Call JvFail rather than throwing exception if
6831 pthread_sigmask() fails.
6833 2005-02-15 Mark Wielaard <mark@klomp.org>
6835 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6836 file path elements are separated by spaces.
6838 2005-02-15 Mark Wielaard <mark@klomp.org>
6840 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6841 to describe attributes without a constant field value in this class.
6843 2005-02-15 Michael Koch <konqueror@gmx.de>
6845 * java/util/jar/Attributes.java
6846 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6848 2005-02-15 Mark Wielaard <mark@klomp.org>
6850 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6851 space for parsing CLASS_PATH attribute.
6853 2005-02-15 Mark Wielaard <mark@klomp.org>
6855 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6856 aside for "GCJLIBS" in directory where jarfiles are loaded.
6857 (JarURLLoader.getClass): Removed method.
6858 (JarURLLoader.toString): Removed method.
6859 (FileResource.toString): Removed method.
6861 2005-02-15 Mark Wielaard <mark@klomp.org>
6863 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6864 and/or cause before throwing.
6866 2005-02-15 Richard Henderson <rth@redhat.com>
6868 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6869 (libgcj0_convenience_la_SOURCES): ... here.
6870 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6871 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6872 * Makefile.in: Regenerate.
6874 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6877 * include/jawt.h: Likewise.
6878 * include/jawt_md.h: Likewise.
6879 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6881 * include/Makefile.in: Regenerate.
6882 * jni/classpath/classpath_jawt.h: Likewise.
6883 * jni/gtk-peer/gtk_jawt.c: Likewise.
6884 * Makefile.am: Build libjawt.so.
6885 * Makefile.in: Regenerate.
6887 2005-02-14 Tom Tromey <tromey@redhat.com>
6889 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6891 2005-02-14 Tom Tromey <tromey@redhat.com>
6893 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6894 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6896 2005-02-14 Tom Tromey <tromey@redhat.com>
6899 * testsuite/libjava.lang/PR19929.out: New file.
6900 * testsuite/libjava.lang/PR19929.java: New file.
6902 2005-02-14 Anthony Green <green@redhat.com>
6905 * testsuite/libjava.jni/PR18116.c: New file.
6906 * testsuite/libjava.jni/PR18116.java: New file.
6907 * testsuite/libjava.jni/PR18116.out: New file.
6909 2005-02-13 Anthony Green <green@redhat.com>
6912 * jni.cc (nathash_add): Don't strdup the method signature.
6913 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6917 2005-02-12 Mark Wielaard <mark@klomp.org>
6919 Fixes bug libgcj/8170
6920 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6921 ClassNotFoundException.
6922 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6923 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6924 (remove_internal): New field superceding remove_interpreter.
6925 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6926 Remove no-class methods starting with "_Jv_". And Replace null
6927 class or method names with the empty string. Stop at either the
6928 MainThread or a real Thread run() method.
6929 (newElement): Made static.
6930 * java/net/URLClassLoader.java (findClass): Throw
6931 ClassNotFoundExceptions including urls, plus parent using toString().
6932 (thisString): New field.
6933 (toString): New method.
6935 2005-02-10 Tom Tromey <tromey@redhat.com>
6937 * external/sax/Makefile.in: Rebuilt.
6938 * external/sax/Makefile.am (all-local): Removed.
6939 (BUILT_SOURCES): New variable.
6940 (mostlyclean-local): No error if no classes to delete.
6941 * external/w3c_dom/Makefile.in: Rebuilt.
6942 * external/w3c_dom/Makefile.am (all-local): Removed.
6943 (BUILT_SOURCES): New variable.
6944 (mostlyclean-local): No error if no classes to delete.
6946 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6948 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6949 of mauve and libjava.
6951 2005-02-09 Tom Tromey <tromey@redhat.com>
6953 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6954 jar file with OPEN_DELETE.
6955 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6956 OPEN_DELETE is used.
6958 2005-02-09 Tom Tromey <tromey@redhat.com>
6960 * java/util/zip/InflaterInputStream.java (markSupported):
6962 (mark, reset): Likewise.
6964 2005-02-08 Tom Tromey <tromey@redhat.com>
6966 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6967 name or port is missing.
6968 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6969 AUTHORITY_PORT_GROUP): Updated.
6971 2005-02-08 Tom Tromey <tromey@redhat.com>
6973 * configure: Rebuilt.
6974 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6977 2005-02-07 Tom Tromey <tromey@redhat.com>
6979 * java/lang/natRuntime.cc (insertSystemProperties): Set
6980 sun.boot.class.path earlier.
6982 2005-02-07 Tom Tromey <tromey@redhat.com>
6984 * defineclass.cc (handleClassBegin): Use
6985 _Jv_RegisterInitiatingLoader.
6986 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6987 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6988 class. Use _Jv_UnregisterInitiatingLoader.
6989 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6992 2005-02-07 Mark Wielaard <mark@klomp.org>
6994 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6995 java/util/regex/Matcher.java (lookingAt): Set position when match
6997 (matches): Implemented through lookingAt().
6999 2005-02-07 Mark Wielaard <mark@klomp.org>
7001 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7002 * java/util/regex/Pattern.java (split(CharSequence,int)):
7003 Fix while empties > 0 loops.
7005 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7007 * gnu/java/nio/charset/ISO_8859_1.java,
7008 gnu/java/nio/charset/US_ASCII.java,
7009 gnu/java/nio/charset/UTF_16.java,
7010 gnu/java/nio/charset/UTF_16_LE.java,
7011 gnu/java/nio/charset/UTF_16_BE.java,
7012 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7013 and aliases according to
7014 "http://www.iana.org/assignments/character-sets",
7015 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7016 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7017 * gnu/java/nio/charset/Provider.java: Made charset lookup
7018 case-insensitive which fixes bug #11740.
7020 2005-02-07 Tom Tromey <tromey@redhat.com>
7023 * Makefile.in: Rebuilt.
7024 * Makefile.am (src.zip): New target.
7025 (install-src.zip): Likewise.
7026 (sourcesdir): New variable.
7028 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7030 * javax/imageio/metadata/IIOMetadataNode.java:
7032 * javax/imageio/metadata/IIOAttr.java,
7033 javax/imageio/metadata/IIONamedNodeMap.java,
7034 javax/imageio/metadata/IIONodeList.java:
7037 2005-02-06 Graydon Hoare <graydon@redhat.com>
7039 * gnu/java/awt/ClasspathToolkit.java
7040 (registerImageIOSpis): New method.
7041 * javax/imageio/ImageIO.java
7042 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7043 (WriterMIMETypeFilter.filter): Likewise.
7044 (ImageReaderIterator): Pass extension argument through to SPI.
7045 (getReadersByFilter): Likewise.
7046 (getWritersByFilter): Likewise.
7047 (getImageReadersByFormatName): Likewise.
7048 (getImageReadersByMIMEType): Likewise.
7049 (getImageReadersBySuffix): Likewise.
7050 (getImageWritersByFormatName): Likewise.
7051 (getImageWritersByMIMEType): Likewise.
7052 (getImageWritersBySuffix): Likewise.
7055 * javax/imageio/ImageReader.java
7056 (progressListeners): Initialize.
7057 (setInput): Implement.
7058 * javax/imageio/ImageWriter.java
7059 (progressListeners): Initialize.
7060 (warningListeners): Likewise.
7061 (warningLocales): Likewise.
7062 (setOutput): Test "isInstance" rather than class equality.
7063 * javax/imageio/spi/IIORegistry.java
7064 (static): Add reader and writer SPIs.
7065 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7067 2005-02-06 Michael Koch <konqueror@gmx.de>
7069 * javax/imageio/metadata/IIOInvalidTreeException.java
7070 (IIOInvalidTreeException): Reformatted.
7071 * javax/imageio/spi/IIORegistry.java
7072 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7073 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7074 Reworked import statements.
7076 2005-02-06 Michael Koch <konqueror@gmx.de>
7078 * javax/imageio/stream/FileImageOutputStream.java:
7081 2005-02-06 Michael Koch <konqueror@gmx.de>
7083 * javax/imageio/stream/FileCacheImageInputStream.java,
7084 javax/imageio/stream/FileCacheImageOutputStream.java,
7085 javax/imageio/stream/FileImageInputStream.java,
7086 javax/imageio/stream/ImageInputStreamImpl.java,
7087 javax/imageio/stream/ImageOutputStreamImpl.java,
7088 javax/imageio/stream/MemoryCacheImageInputStream.java,
7089 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7090 Added all missing methods in javax.imageio.stream.
7092 2005-02-02 David Daney <ddaney@avtrex.com>
7094 * java/net/InetAddress.java (InetAddress): Make a private copy of
7096 * java/net/Inet4Address.java (getAddress): Return a copy of the
7098 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7100 (getAddress): Return a copy of the address.
7103 2005-02-02 Tom Tromey <tromey@redhat.com>
7105 * Makefile.in: Rebuilt.
7106 * Makefile.am (classes.stamp): New target, broken out from
7108 ($(all_java_class_files)): Depend on it.
7109 (libgcj-@gcc_version@.jar): Likewise.
7110 (all-recursive): Likewise.
7111 (CLEANFILES): Include classes.stamp.
7113 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7115 * link.cc: Include <stdio.h>
7117 2005-02-02 Tom Tromey <tromey@redhat.com>
7120 * Makefile.in: Rebuilt.
7121 * Makefile.am (ordinary_java_source_files): Added new class.
7122 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7123 Use system_instance, not instance.
7124 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7125 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7127 (system_instance): New field.
7128 (initialize): Initialize the system loader as well.
7129 (VMClassLoader): Default to LIB_CACHE.
7131 2005-02-02 Tom Tromey <tromey@redhat.com>
7133 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7134 * prims.cc: Fixed comment.
7136 2005-02-01 Tom Tromey <tromey@redhat.com>
7138 * Makefile.in: Rebuilt.
7139 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7140 (.java.class): Use BOOTCLASSPATH.
7142 2005-02-01 Tom Tromey <tromey@redhat.com>
7144 * external/w3c_dom/Makefile.am: New file.
7145 * external/w3c_dom/Makefile.in: New file.
7146 * external/sax/Makefile.am: New file.
7147 * external/sax/Makefile.in: New file.
7148 * external/Makefile.in: New file.
7149 * external/Makefile.am: New file.
7150 * external/README: New file from Classpath.
7151 * configure, aclocal.m4, Makefile.in: Rebuilt.
7152 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7153 * Makefile.am (SUBDIRS): Added external.
7154 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7155 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7156 (BOOTCLASSPATH): New variable.
7157 (AM_GCJFLAGS): Use it.
7158 (gnu_xml_source_files): New variable.
7159 (libgcj_la_SOURCES): Use it.
7160 (libgcj_la_LDADD): Include new convenience libraries.
7161 (lib_org_ietf_jgss_la_SOURCES): Removed.
7162 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7163 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7164 (lib_org_w3c_dom_la_SOURCES): Removed.
7165 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7166 (lib_org_w3c_dom_la_LIBADD): Likewise.
7167 (lib_org_xml_sax_la_SOURCES): Removed.
7168 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7169 (lib_org_xml_sax_la_LIBADD): Likewise.
7170 (all_java_source_files): Updated.
7171 (property_files): Likewise.
7172 (libgcj-@gcc_version@.jar): Include classes from external/.
7173 (javax_source_files): Updated.
7174 (ordinary_java_source_files): Updated.
7175 * javax/xml/XMLConstants.java,
7176 javax/xml/datatype/DatatypeConfigurationException.java,
7177 javax/xml/datatype/DatatypeConstants.java,
7178 javax/xml/datatype/DatatypeFactory.java,
7179 javax/xml/datatype/Duration.java,
7180 javax/xml/datatype/XMLGregorianCalendar.java,
7181 javax/xml/datatype/package.html,
7182 javax/xml/namespace/NamespaceContext.java,
7183 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7184 javax/xml/parsers/DocumentBuilder.java,
7185 javax/xml/parsers/DocumentBuilderFactory.java,
7186 javax/xml/parsers/FactoryConfigurationError.java,
7187 javax/xml/parsers/ParserConfigurationException.java,
7188 javax/xml/parsers/SAXParser.java,
7189 javax/xml/parsers/SAXParserFactory.java,
7190 javax/xml/parsers/package.html,
7191 javax/xml/transform/ErrorListener.java,
7192 javax/xml/transform/OutputKeys.java,
7193 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7194 javax/xml/transform/SourceLocator.java,
7195 javax/xml/transform/Templates.java,
7196 javax/xml/transform/Transformer.java,
7197 javax/xml/transform/TransformerConfigurationException.java,
7198 javax/xml/transform/TransformerException.java,
7199 javax/xml/transform/TransformerFactory.java,
7200 javax/xml/transform/TransformerFactoryConfigurationError.java,
7201 javax/xml/transform/URIResolver.java,
7202 javax/xml/transform/package.html,
7203 javax/xml/transform/dom/DOMLocator.java,
7204 javax/xml/transform/dom/DOMResult.java,
7205 javax/xml/transform/dom/DOMSource.java,
7206 javax/xml/transform/dom/package.html,
7207 javax/xml/transform/sax/SAXResult.java,
7208 javax/xml/transform/sax/SAXSource.java,
7209 javax/xml/transform/sax/SAXTransformerFactory.java,
7210 javax/xml/transform/sax/TemplatesHandler.java,
7211 javax/xml/transform/sax/TransformerHandler.java,
7212 javax/xml/transform/sax/package.html,
7213 javax/xml/transform/stream/StreamResult.java,
7214 javax/xml/transform/stream/StreamSource.java,
7215 javax/xml/transform/stream/package.html,
7216 javax/xml/validation/Schema.java,
7217 javax/xml/validation/SchemaFactory.java,
7218 javax/xml/validation/TypeInfoProvider.java,
7219 javax/xml/validation/Validator.java,
7220 javax/xml/validation/ValidatorHandler.java,
7221 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7222 javax/xml/xpath/XPathConstants.java,
7223 javax/xml/xpath/XPathException.java,
7224 javax/xml/xpath/XPathExpression.java,
7225 javax/xml/xpath/XPathExpressionException.java,
7226 javax/xml/xpath/XPathFactory.java,
7227 javax/xml/xpath/XPathFactoryConfigurationException.java,
7228 javax/xml/xpath/XPathFunction.java,
7229 javax/xml/xpath/XPathFunctionException.java,
7230 javax/xml/xpath/XPathFunctionResolver.java,
7231 javax/xml/xpath/XPathVariableResolver.java,
7232 javax/xml/xpath/package.html: New files, from GNU JAXP.
7233 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7234 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7235 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7236 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7237 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7238 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7239 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7240 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7241 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7242 org/w3c/dom/ranges/DocumentRange.java,
7243 org/w3c/dom/ranges/Range.java,
7244 org/w3c/dom/ranges/RangeException.java,
7245 org/w3c/dom/traversal/DocumentTraversal.java,
7246 org/w3c/dom/traversal/NodeFilter.java,
7247 org/w3c/dom/traversal/NodeIterator.java,
7248 org/w3c/dom/traversal/TreeWalker.java,
7249 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7250 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7251 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7252 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7253 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7254 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7255 org/xml/sax/SAXNotRecognizedException.java,
7256 org/xml/sax/SAXNotSupportedException.java,
7257 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7258 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7259 org/xml/sax/ext/DeclHandler.java,
7260 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7261 org/xml/sax/helpers/AttributeListImpl.java,
7262 org/xml/sax/helpers/AttributesImpl.java,
7263 org/xml/sax/helpers/DefaultHandler.java,
7264 org/xml/sax/helpers/LocatorImpl.java,
7265 org/xml/sax/helpers/NamespaceSupport.java,
7266 org/xml/sax/helpers/NewInstance.java,
7267 org/xml/sax/helpers/ParserAdapter.java,
7268 org/xml/sax/helpers/ParserFactory.java,
7269 org/xml/sax/helpers/XMLFilterImpl.java,
7270 org/xml/sax/helpers/XMLReaderAdapter.java,
7271 org/xml/sax/helpers/XMLReaderFactory.java,
7272 org/xml/sax/helpers/package.html: Moved to external/.
7273 * external/sax/README,
7274 external/sax/org/xml/sax/AttributeList.java,
7275 external/sax/org/xml/sax/Attributes.java,
7276 external/sax/org/xml/sax/ContentHandler.java,
7277 external/sax/org/xml/sax/DTDHandler.java,
7278 external/sax/org/xml/sax/DocumentHandler.java,
7279 external/sax/org/xml/sax/EntityResolver.java,
7280 external/sax/org/xml/sax/ErrorHandler.java,
7281 external/sax/org/xml/sax/HandlerBase.java,
7282 external/sax/org/xml/sax/InputSource.java,
7283 external/sax/org/xml/sax/Locator.java,
7284 external/sax/org/xml/sax/Parser.java,
7285 external/sax/org/xml/sax/SAXException.java,
7286 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7287 external/sax/org/xml/sax/SAXNotSupportedException.java,
7288 external/sax/org/xml/sax/SAXParseException.java,
7289 external/sax/org/xml/sax/XMLFilter.java,
7290 external/sax/org/xml/sax/XMLReader.java,
7291 external/sax/org/xml/sax/package.html,
7292 external/sax/org/xml/sax/ext/Attributes2.java,
7293 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7294 external/sax/org/xml/sax/ext/DeclHandler.java,
7295 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7296 external/sax/org/xml/sax/ext/EntityResolver2.java,
7297 external/sax/org/xml/sax/ext/LexicalHandler.java,
7298 external/sax/org/xml/sax/ext/Locator2.java,
7299 external/sax/org/xml/sax/ext/Locator2Impl.java,
7300 external/sax/org/xml/sax/ext/package.html,
7301 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7302 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7303 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7304 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7305 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7306 external/sax/org/xml/sax/helpers/NewInstance.java,
7307 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7308 external/sax/org/xml/sax/helpers/ParserFactory.java,
7309 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7310 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7311 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7312 external/sax/org/xml/sax/helpers/package.html,
7313 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7314 external/w3c_dom/org/w3c/dom/Attr.java,
7315 external/w3c_dom/org/w3c/dom/CDATASection.java,
7316 external/w3c_dom/org/w3c/dom/CharacterData.java,
7317 external/w3c_dom/org/w3c/dom/Comment.java,
7318 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7319 external/w3c_dom/org/w3c/dom/DOMError.java,
7320 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7321 external/w3c_dom/org/w3c/dom/DOMException.java,
7322 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7323 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7324 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7325 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7326 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7327 external/w3c_dom/org/w3c/dom/Document.java,
7328 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7329 external/w3c_dom/org/w3c/dom/DocumentType.java,
7330 external/w3c_dom/org/w3c/dom/Element.java,
7331 external/w3c_dom/org/w3c/dom/Entity.java,
7332 external/w3c_dom/org/w3c/dom/EntityReference.java,
7333 external/w3c_dom/org/w3c/dom/NameList.java,
7334 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7335 external/w3c_dom/org/w3c/dom/Node.java,
7336 external/w3c_dom/org/w3c/dom/NodeList.java,
7337 external/w3c_dom/org/w3c/dom/Notation.java,
7338 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7339 external/w3c_dom/org/w3c/dom/Text.java,
7340 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7341 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7342 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7343 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7344 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7345 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7346 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7347 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7348 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7349 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7350 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7351 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7352 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7353 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7354 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7355 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7356 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7357 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7358 external/w3c_dom/org/w3c/dom/css/Counter.java,
7359 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7360 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7361 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7362 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7363 external/w3c_dom/org/w3c/dom/css/Rect.java,
7364 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7365 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7366 external/w3c_dom/org/w3c/dom/events/Event.java,
7367 external/w3c_dom/org/w3c/dom/events/EventException.java,
7368 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7369 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7370 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7371 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7372 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7373 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7374 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7375 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7376 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7377 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7378 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7379 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7380 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7381 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7382 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7383 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7384 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7385 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7386 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7387 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7388 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7389 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7390 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7391 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7392 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7393 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7394 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7395 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7396 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7397 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7398 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7399 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7400 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7401 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7402 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7403 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7404 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7405 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7406 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7407 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7408 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7409 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7410 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7411 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7412 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7413 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7414 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7415 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7416 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7417 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7418 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7419 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7420 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7421 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7422 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7423 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7424 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7425 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7426 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7427 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7428 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7429 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7430 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7431 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7432 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7433 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7434 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7435 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7436 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7437 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7438 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7439 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7440 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7441 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7442 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7443 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7444 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7445 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7446 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7447 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7448 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7449 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7450 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7451 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7452 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7453 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7454 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7455 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7456 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7457 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7458 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7459 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7462 2005-01-31 Anthony Green <green@redhat.com>
7464 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7465 Support IP_MULTICAST_LOOP.
7466 (setOption): Support IP_MULTICAST_LOOP.
7468 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7469 SO_REUSEADDR support.
7470 (getOption): Support SO_REUSEADDR.
7472 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7475 * java/util/Date.java
7476 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7478 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7480 (getTimezoneOffset): Inverted sign.
7482 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7484 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7485 remove other passing tests and add new XFAILs.
7487 2005-01-24 Tom Tromey <tromey@redhat.com>
7489 * java/lang/Class.h (next): Updated documentation. Renamed to
7491 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7492 _Jv_CheckABIVersion.
7493 (_Jv_RegisterClasses_Counted): Likewise.
7494 (_Jv_RegisterClassHookDefault): Fix starting condition of
7495 duplicate-checking loop.
7496 * include/jvm.h (GCJ_VERSION): New define.
7497 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7498 (_Jv_CheckABIVersion): New function.
7500 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7502 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7503 (libgij_la_LDFLAGS): Add.
7504 * Makefile.in: Rebuilt.
7506 2005-01-24 Roger Sayle <roger@eyesopen.com>
7509 * testsuite/libjava.compile/PR19295.java: New test case.
7511 2005-01-19 Tom Tromey <tromey@redhat.com>
7513 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7514 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7515 if 'handler' is valid.
7517 2005-01-17 Tom Tromey <tromey@redhat.com>
7519 * java/text/MessageFormat.java (scanString): Changed how quoting
7521 (scanFormatElement): Likewise.
7523 2004-12-07 Mark Wielaard <mark@klomp.org>
7525 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7527 2005-01-15 Michael Koch <konqueror@gmx.de>
7531 (AUTHORITY_REGEXP): New regexp constant.
7532 (AUTHORITY_USERINFO_GROUP): New constant.
7533 (AUTHORITY_HOST_GROUP): Likewise.
7534 (AUTHORITY_PORT_GROUP): Likewise.
7535 (port): Changed default value to -1.
7536 (parseURI): Parse authority part and initialize host,
7539 2005-01-14 Robin Green <greenrd@greenrd.org>
7541 * java/io/File.java (toURI): Generate a URI which we understand.
7543 2005-01-13 Graydon Hoare <graydon@redhat.com>
7545 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7546 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7547 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7548 * jni.cc: Reuse bottom frame between calls, avoid clearing
7549 frame when no local references are made.
7551 2005-01-13 Michael Koch <konqueror@gmx.de>
7554 * java/lang/Thread.java
7555 (Thread): Call checkAccess().
7556 (stop): Fixed argument name to match javadoc.
7557 * java/lang/natThread.cc
7558 (interrupt): Call checkAccess().
7561 2005-01-11 Michael Koch <konqueror@gmx.de>
7564 * java/net/URL.java (URL): Handle specs like
7565 "/redir?http://domain2.com/index.html" which start with a slash.
7567 2005-01-11 Michael Koch <konqueror@gmx.de>
7569 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7570 * gnu/java/net/BASE64.java,
7571 gnu/java/net/EmptyX509TrustManager.java,
7572 gnu/java/net/LineInputStream.java,
7573 gnu/java/net/protocol/http/Authenticator.java,
7574 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7575 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7576 gnu/java/net/protocol/http/ChunkedInputStream.java,
7577 gnu/java/net/protocol/http/Cookie.java,
7578 gnu/java/net/protocol/http/CookieManager.java,
7579 gnu/java/net/protocol/http/Credentials.java,
7580 gnu/java/net/protocol/http/HTTPConnection.java,
7581 gnu/java/net/protocol/http/HTTPDateFormat.java,
7582 gnu/java/net/protocol/http/HTTPURLConnection.java,
7583 gnu/java/net/protocol/http/Headers.java,
7584 gnu/java/net/protocol/http/Request.java,
7585 gnu/java/net/protocol/http/RequestBodyWriter.java,
7586 gnu/java/net/protocol/http/Response.java,
7587 gnu/java/net/protocol/http/ResponseBodyReader.java,
7588 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7589 gnu/java/net/protocol/http/SimpleCookieManager.java,
7590 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7591 gnu/java/net/protocol/http/event/ConnectionListener.java,
7592 gnu/java/net/protocol/http/event/RequestEvent.java,
7593 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7594 * gnu/java/net/protocol/http/Connection.java: Removed.
7595 * gnu/java/net/protocol/http/Handler.java,
7596 javax/net/ssl/HttpsURLConnection.java: Updated.
7597 * Makefile.am: Added new files and remove old ones.
7598 * Makefile.in: Regenerated.
7600 2005-01-11 Tom Tromey <tromey@redhat.com>
7603 * java/io/BufferedInputStream.java (read): Repeatedly read to
7605 (refill): Change test to see if buffer must be grown.
7607 2005-01-10 Tom Tromey <tromey@redhat.com>
7609 * mauve-libgcj: Exclude some swing tests.
7611 2005-01-10 Tom Tromey <tromey@redhat.com>
7613 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7614 * java/lang/Package.java (getPackages): Use VMClassLoader when
7616 (getPackage): Likewise.
7617 * prims.cc (_Jv_CreateJavaVM): Call
7618 _Jv_RegisterBootstrapPackages.
7619 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7620 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7621 (getPackages): Likewise.
7622 (definedPackages): New field.
7623 (definePackageForNative): New method.
7624 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7625 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7626 * defineclass.cc (handleClassBegin): Use
7627 ClassLoader.findLoadedClass.
7628 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7630 (struct _Jv_LoaderInfo): Removed.
7631 (initiated_classes): Likewise.
7632 (_Jv_UnregisterClass): Don't use initiated_classes.
7633 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7634 (_Jv_FindClass): Register classes found during boostrap.
7635 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7636 (bootstrap_class_list): New global.
7637 (bootstrap_index): Likewise.
7638 (_Jv_RegisterBootstrapPackages): New function.
7639 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7640 definePackageForNative.
7641 (findClass): Updated.
7642 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7645 2005-01-10 Tom Tromey <tromey@redhat.com>
7648 * include/jvm.h (_Jv_Linker::find_field): Declare.
7649 (_Jv_Linker::find_field_helper): Likewise.
7650 * link.cc (find_field_helper): New method.
7651 (find_field): Likewise.
7652 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7654 (link_symbol_table): Use find_field.
7656 2005-01-10 Michael Koch <konqueror@gmx.de>
7659 * java/util/Locale.java (Locale): Don't uppercase variant.
7660 (getISOCountries): Fixed typo in javadoc.
7662 2005-01-10 Michael Koch <konqueror@gmx.de>
7664 * java/util/SimpleTimeZone.java (checkRule):
7665 Throw IllegalArgumentException on invalid month values.
7666 * java/util/TimeZone.java (setID):
7667 Throw NullPointerException if needed.
7669 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7671 * java/util/SimpleTimeZone.java (getOffset):
7672 offset end date with daylight savings
7674 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7676 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7677 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7679 2005-01-09 Michael Koch <konqueror@gmx.de>
7682 * java/net/InetAddress.java (getLocalHost):
7683 Throw UnknownHostException if local hostname cannot be determined.
7685 2005-01-06 Tom Tromey <tromey@redhat.com>
7687 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7689 2005-01-07 Michael Koch <konqueror@gmx.de>
7692 * java/nio/Buffer.java (address): New field.
7693 * java/nio/DirectByteBufferImpl.java (address): Removed.
7694 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7695 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7696 Explicitly initialize Buffer.address if needed.
7697 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7698 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7699 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7700 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7701 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7702 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7703 DirectByteBufferImpl object.
7704 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7705 * testsuite/libjava.jni/directbuffer.c,
7706 testsuite/libjava.jni/directbuffer.java,
7707 testsuite/libjava.jni/directbuffer.out,
7708 testsuite/libjava.jni/bytebuffer.c,
7709 testsuite/libjava.jni/bytebuffer.java,
7710 testsuite/libjava.jni/bytebuffer.out: New files.
7712 2005-01-05 Tom Tromey <tromey@redhat.com>
7714 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7716 (compressedSize): Now 'long'. Default to -1.
7717 (getCompressedSize): Rewrote.
7718 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7719 deflate at all if we need input.
7721 2005-01-05 Tom Tromey <tromey@redhat.com>
7724 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7727 2005-01-05 Tom Tromey <tromey@redhat.com>
7729 * java/lang/natRuntime.cc (insertSystemProperties): Set
7730 java.ext.dirs earlier.
7732 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7734 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7735 sync_info element of the object if needed.
7737 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7739 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7740 a non-zero exit status from 'false'.
7742 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7744 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.