1 2005-06-15 Tom Tromey <tromey@redhat.com>
3 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
6 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8 * configure.host: Handle Solaris 10/x86.
10 2005-06-14 Keith Seitz <keiths@redhat.com>
12 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
13 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
15 2005-06-14 Keith Seitz <keiths@redhat.com>
17 * gnu/classpath/jdwp/id/ArrayId.java: New file.
18 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
19 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
20 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
21 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
22 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
23 * gnu/classpath/jdwp/id/JdwpId.java: New file.
24 * gnu/classpath/jdwp/id/ObjectId.java: New file.
25 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
26 * gnu/classpath/jdwp/id/StringId.java: New file.
27 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
28 * gnu/classpath/jdwp/id/ThreadId.java: New file.
30 2005-06-14 Tom Tromey <tromey@redhat.com>
33 * configure, aclocal.m4, Makefile.in: Rebuilt.
35 2005-06-14 Tom Tromey <tromey@redhat.com>
37 * java/lang/Class.java (getClasses): New method.
38 (internalGetClasses): Likewise.
39 (getClassLoader): Updated documentation.
40 (getDeclaredClasses): New overload; old overload no longer
42 (_getConstructors): Removed.
43 (resourcePath): Updated.
44 * java/lang/natClass.cc (getClasses): Removed.
45 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
47 (_getConstructors): Removed.
49 2005-06-13 Jim Huang <jserv@kaffe.org>
52 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
53 (_Jv_JNI_NewObject): Likewise.
55 2005-06-13 Tom Tromey <tromey@redhat.com>
58 * testsuite/libjava.lang/pr21844.java: New file.
59 * testsuite/libjava.lang/pr21844.out: New file.
61 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
64 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
67 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
69 * java/text/MessageFormat.java (parse): When parsing strings, check
70 for an empty pattern trailer.
72 2005-06-06 Keith Seitz <keiths@redhat.com>
74 * gnu/classpath/jdwp/util/Signature.java: New file.
75 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
77 2005-06-05 Anthony Green <green@redhat.com>
79 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
82 2005-06-04 Anthony Green <green@redhat.com>
84 * java/net/URLClassLoader.java: import gnu.gcj.Core,
85 and gnu.java.net.protocol.core.CoreInputStream.
86 (CureURLLoader): New class.
87 (CoreResource): New class.
88 (addURLImpl): Add special treatment for the "core" protocol.
89 * gnu/gcj/natCore.cc (find): New method.
90 * gnu/gcj/Core.java (find): New method.
92 2005-06-03 Keith Seitz <keiths@redhat.com>
94 * gnu/classpath/jdwp/transport/ITransport.java: New file.
95 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
96 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
98 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
100 * jawt.c: Remove malloc.h, covered by stdlib.h.
102 * testsuite/libjava.jni/jni.exp
103 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
106 2005-06-02 Keith Seitz <keiths@redhat.com>
108 * gnu/classpath/jdwp/transport/TransportException.java: New file.
110 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
112 * mauve-libgcj: Remove implemented classes from the fail section.
113 Add two new not implemented to it.
115 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
117 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
118 AC_SUBST definition from configure.host.
119 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
120 to -fomit-frame-pointer on 32-bit x86 targets.
122 2005-06-01 Tom Tromey <tromey@redhat.com>
124 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
126 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
129 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
130 (static): Add possessive matching to JAVA_1_4 syntax.
131 * gnu/regexp/RETokenRepeated.java (possessive): New field.
132 (makePossessive, isPossessive): New methods.
133 (match): Don't back off during possessive matching.
134 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
135 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
138 2005-06-01 Keith Seitz <keiths@redhat.com>
140 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
141 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
142 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
144 2005-06-01 Tom Tromey <tromey@redhat.com>
147 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
148 (currentLoader): New method.
149 * java/io/ObjectInputStream.java (resolveProxyClass): Use
151 (currentLoader): Now native.
152 (currentClassLoader): Removed.
153 * testsuite/libjava.lang/pr21785.java: New file.
154 * testsuite/libjava.lang/pr21785.out: New file.
156 2005-06-01 Tom Tromey <tromey@redhat.com>
159 * java/lang/natString.cc (substring): Changed sharing heuristic.
161 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
164 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
165 MAXPATHLEN. Format exception message using a StringBuffer instead.
167 2005-05-29 Michael Koch <konqueror@gmx.de>
170 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
172 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
174 * ChangeLog: Fix typo.
176 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
178 Testsuite adjustments for PR java/19870.
179 * testsuite/libjava.lang/PR19870.java: New testcase.
180 * testsuite/libjava.lang/PR19870.out: Expected output for the
182 * testsuite/libjava.jacks/jacks.xfail: Add
183 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
186 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
188 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
189 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
190 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
192 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
193 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
194 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
195 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
197 2005-05-25 Richard Henderson <rth@redhat.com>
200 * sysdep/descriptor-n.h: New file.
201 * sysdep/descriptor-y.h: New file.
202 * sysdep/powerpc/descriptor.h: New file.
203 * configure.host: Set $descriptor_h appropriate for the host.
204 * configure.ac: Link it.
205 * configure: Regenerate.
206 * stacktrace.cc: Include sysdep/descriptor.h.
207 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
209 2005-05-25 Chris Burdess <dog@gnu.org>
211 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
212 end entity callbacks.
214 2005-05-24 Gary Benson <gbenson@redhat.com>
217 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
218 Handle DateFormat.DEFAULT case correctly.
220 2005-05-21 Tom Tromey <tromey@redhat.com>
223 * java/lang/ref/natReference.cc (find_slot): Handle case where
224 table has no NULL entries.
225 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
226 table has no NULL entries.
228 2005-05-22 Andreas Jaeger <aj@suse.de>
230 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
233 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
235 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
237 2005-05-19 Richard Henderson <rth@redhat.com>
239 * exception.cc: Revert 05-17 gcc_unreachable change.
241 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
243 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
244 _Jv_RegisterInitiatingLoader to register array classes, not
246 (_Jv_RegisterInitiatingLoader): Give up if called very early during
247 bootstrapping. Add a FIXME to handle this case better.
249 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
251 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
253 (libgcj_la_SOURCES): New. Move sources here.
254 (libgcj.la): Remove rule.
256 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
259 * gnu/java/security/provider/DSASignature.java: Import updates
262 2005-05-18 Anthony Green <green@redhat.com>
264 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
265 classpath_jawt_object_unlock, classpath_jawt_create_lock,
266 classpath_jawt_destroy_lock): New functions.
267 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
268 classpath_jawt_object_unlock, classpath_jawt_create_lock,
269 classpath_jawt_destroy_lock): New functions.
270 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
272 * jawt.c: #include malloc.h.
273 (_Jv_Lock): Use lock.
275 (_Jv_GetDrawingSurface): Initialize lock.
276 (_Jv_FreeDrawingSurface): Destroy lock.
277 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
279 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
281 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
282 * Makefile.in: Regenerate.
284 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
286 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
287 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
288 * aclocal.m4, configure, config.h.in, include/config.h.in,
289 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
290 external/Makefile.in, external/sax/Makefile.in,
291 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
293 2005-05-17 David Daney <ddaney@avtrex.com>
296 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
298 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
300 * exception.cc (abort): Remove std::abort hack.
301 (gcc_unreacheable): Define.
303 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
305 * Makefile.am (Makefile.deps): Do not create native.list and
307 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
308 * Makefile.in: Regenerate.
310 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
312 * configure.ac (--enable-libgcj-multifile): Remove.
314 * Makefile.am (all_native_compiled_source_files,
315 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
316 all_libgcj_lo_files, all_xlib_lo_files,
317 all_java_deps_files, all_java_stamp_files,
318 all_java_filelist_files): New variables.
319 (EXTRA_DIST): New Automake variable.
320 (CLEANFILES): Add .stamp, .list and .lo files.
321 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
322 (classes.stamp): Depend on $(all_java_stamp_files).
323 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
324 going through write_entries_to_file.
326 (all_java_source_files, all_property_files): Move earlier.
327 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
328 all_java_class_files): Remove.
329 (gtk_awt_peer_sources): Rename to...
330 (gtk_awt_peer_source_files): ... this. Adjust throughout.
333 (libgcj0_convenience_la_SOURCES): Remove Java source files.
334 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
335 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
336 (libgcj_la_SOURCES): Remove.
337 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
338 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
339 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
341 * configure: Regenerate.
342 * Makefile.in: Regenerate.
343 * external/Makefile.in: Regenerate.
344 * external/sax/Makefile.in: Regenerate.
345 * external/w3c_dom/Makefile.in: Regenerate.
346 * gcj/Makefile.in: Regenerate.
347 * include/Makefile.in: Regenerate.
348 * libltdl/Makefile.in: Regenerate.
349 * testsuite/Makefile.in: Regenerate.
351 2005-05-16 Tom Tromey <tromey@redhat.com>
353 * java/nio/charset/Charset.java (encode, decode): Synchronize on
354 'this', not the class.
356 2005-05-16 Tom Tromey <tromey@redhat.com>
358 * gnu/java/net/protocol/http/Headers.java (parse): Include final
361 2005-05-16 Tom Tromey <tromey@redhat.com>
364 * java/net/URI.java (unquote): Handle lower-case letters as well.
366 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
369 * gnu/regexp/RE.java: Add support for quoting constructs.
371 2005-05-15 Tom Tromey <tromey@redhat.com>
373 * java/lang/String.java (startsWith): Fixed javadoc.
375 2005-05-15 Tom Tromey <tromey@redhat.com>
378 * testsuite/libjava.compile/pr21519.java: New file.
379 * testsuite/libjava.compile/pr21519.no-link: New file.
381 2005-05-15 Tom Tromey <tromey@redhat.com>
383 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
385 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
388 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
389 interrupt status flag if _Jv_CondWait is interrupted.
391 2005-05-13 Tom Tromey <tromey@redhat.com>
393 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
396 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
398 * include/jvm.h (gcj::verifyClasses): Declare.
399 * link.cc (gcj::verbose_class_flag): Moved.
400 * prims.cc (gcj::verifyClasses): Define here.
401 (gcj::verbose_class_flag): Move definition here.
402 (_Jv_Linker::wait_for_state): Don't call verify_class
403 if gcj::verifyClasses is not set.
404 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
406 2005-05-12 Aaron Luchko <aluchko@redhat.com>
408 * gij.cc (main): Recognize '-verify', '-noverify', and
411 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
413 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
415 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
417 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
420 2005-05-11 Tom Tromey <tromey@redhat.com>
422 * external/w3c_dom/Makefile.in: Rebuilt.
423 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
425 * external/sax/Makefile.in: Rebuilt.
426 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
428 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
430 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
431 Call _Jv_CopyClassesToSystemLoader.
432 * java/lang/natClassLoader.cc (system_class_list): New global.
433 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
435 (_Jv_CopyClassesToSystemLoader): New function.
436 (SYSTEM_LOADER_INITIALIZED): New define.
437 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
438 (_Jv_CheckABIVersion): Use it.
439 (_Jv_ClassForBootstrapLoader): New function.
440 * Makefile.in: Rebuilt.
441 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
443 2005-05-10 Tom Tromey <tromey@redhat.com>
445 * gcj/javaprims.h: Updated.
446 * java/lang/String.java (String(StringBuilder)): New constructor.
447 * java/lang/natStringBuilder.cc: New file.
448 * java/lang/StringBuilder.java: New file.
449 * Makefile.in: Rebuilt.
450 * Makefile.am (core_java_source_files): Added StringBuilder.java.
451 (nat_source_files): Added natStringBuilder.cc.
453 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
456 * testsuite/libjava.jacks/jacks.xfail: Adjust.
458 2005-05-09 Mike Stump <mrs@apple.com>
460 * configure: Regenerate.
462 2005-05-09 David Daney <ddaney@avtrex.com>
464 * java/util/BitSet.java (get(int, int)): Fix breakage when
465 requested set doesn't start on a multiple of 64.
467 2005-05-07 Matthias Klose <doko@debian.org>
469 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
471 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
473 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
474 * Makefile.in: Regenerate.
475 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
476 (createCompatibleVolatileImage(int,int)): Implement.
477 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
479 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
481 (createVolatileImage): Implement.
482 (createBuffers): Likewise.
483 (getBackBuffer): Likewise.
485 (destroyBuffers): Likewise.
486 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
487 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
488 (CanvasFlipBufferStrategy): Likewise.
489 (createBufferStrategy(int)): New method.
490 (createBufferStrategy(int,BufferCapabilities)): Likewise.
491 * java/awt/Component.java (BltBufferStrategy): Implement and
493 (FlipBufferStrategy): Likewise.
494 * java/awt/Window.java (WindowBltBufferStrategy): New class.
495 (WindowFlipBufferStrategy): Likewise.
496 (createBufferStrategy(int)): New method.
497 (createBufferStrategy(int,BufferCapabilities)): Likewise.
498 (getBufferStrategy): Likewise.
499 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
500 front to frontCaps and back to backCaps.
502 2005-05-06 Michael Koch <konqueror@gmx.de>
504 * java/awt/BufferCapabilities.java
505 (BufferCapabilities): Merged javadoc.
507 2005-05-06 Michael Koch <konqueror@gmx.de>
509 * java/util/Locale.java
510 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
511 (getLocale): New methods. Use it everywhere where instances of Locales
513 (getDisplayLanguage): Merged javadoc.
514 (getDisplayCountry): Likewise.
515 (getDisplayVariant): Likewise.
517 2005-05-06 Archie Cobbs <archie@dellroad.org>
519 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
520 use DeleteLocalRef() to avoid exhausting local native references.
522 2005-05-06 Mark Wielaard <mark@klomp.org>
524 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
525 (window_delete_cb): Don't use C++ style comments.
527 2005-05-06 Robert Schuster <thebohemian@gmx.net>
529 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
532 2005-05-06 Robert Schuster <thebohemian@gmx.net>
534 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
535 (window_delete_cb): Made the function return TRUE.
537 2005-05-06 Roman Kennke <roman@kennke.org>
539 * javax/swing/text/PlainView.java
540 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
542 * javax/swing/text/Utilities.java
543 (drawTabbedText): Initilialize local variable pos correctly.
545 2005-05-06 Roman Kennke <roman@kennke.org>
547 * javax/swing/text/AbstractDocument.java
548 (LeafElement): Made start and end package private fields for
549 effective reindexing.
550 * javax/swing/text/PlainDocument.java
551 (constructor): The field rootElement is always BranchElement,
552 so we handle it as such.
553 (removeUpdate): Rewritten reindexing for removeUpdate so that
554 the actual removal is taken into account.
556 2005-05-06 Roman Kennke <roman@kennke.org>
558 * javax/swing/text/GapContent.java:
559 Removed debugging output stuff, which I accidentally left in.
561 2005-05-06 Roman Kennke <roman@kennke.org>
563 * javax/swing/text/GapContent.java:
564 Implemented a real GapContent. Only the public methods have
565 been implemented so far and still no UndoableEdit support.
567 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
569 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
572 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
574 * java/awt/image/BufferStrategy.java: Document.
576 * java/awt/BufferCapabilities.java: Document.
578 2005-05-04 Tom Tromey <tromey@redhat.com>
580 * java/nio/channels/FileLock.java (toString): Entirely avoid
583 2005-05-04 Andrew Overholt <overholt@redhat.com>
585 * java/nio/channels/FileLock.java (toString): Re-implement using
588 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
590 * java/awt/ImageCapabilities.java: Document.
592 * java/awt/image/VolatileImage.java: Unindent copyright header.
594 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
596 * java/awt/image/VolatileImage.java: Document.
598 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
601 (init_glib_threads): Check if threading system is already
604 2005-05-03 Andrew Overholt <overholt@redhat.com>
607 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
608 could not be acquired.
609 * java/nio/channels/FileLock.java (toString): Re-implement to be
610 in line with other implementations.
612 2005-05-03 Tom Tromey <tromey@redhat.com>
614 * java/lang/VMSecurityManager.java (currentClassLoader): Use
615 'systemClasssLoader' directly.
617 2005-05-03 Tom Tromey <tromey@redhat.com>
619 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
620 call VMClassLoader.getSystemClassLoader.
622 2005-04-29 Michael Koch <konqueror@gmx.de>
624 * java/net/NetworkInterface.java
626 (NetworkInterface(String,InetAddress)): Made package-private.
627 (NetworkInterface(String,InetAddress[])): New constructor.
628 (getRealNetworkInterfaces): Removed.
629 (getByName): Use VMNetworkInterface.getInterfaces().
630 (getByInetAddress): Likewise.
631 (getNetworkInterfaces): Likewise.
632 * java/net/VMNetworkInterface.java,
633 java/net/natVMNetworkInterfaceNoNet.cc,
634 java/net/natVMNetworkInterfacePosix.c,c
635 java/net/natVMNetworkInterfaceWin32.cc: New files.
636 * java/net/natNetworkInterfaceNoNet.cc,
637 java/net/natNetworkInterfacePosix.cc,
638 java/net/natNetworkInterfaceWin32.cc: Removed.
641 * configure, Makefile.in: Regenerated.
643 2005-04-29 Andrew Haley <aph@redhat.com>
645 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
647 2005-04-29 Dalibor Topic <robilad@kaffe.org>
649 * java/nio/channels/FileChannelImpl.java
650 (FileChannelImpl(String, int)): Removed.
651 (FileChannelImpl(File, int)): Added. Check if opened file is a
653 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
654 Call FileChannelImpl(File, int).
655 * java/io/FileOutputStream.java (FileInputStream): Call
656 FileChannelImpl(File, int).
657 * java/io/RandomAccessFile.java (RandomAccessFile):
658 Call FileChannelImpl(File, int). Switched constructors around.
660 2005-04-27 Andrew Haley <aph@redhat.com>
663 * prims.cc (_Jv_ResolvePoolEntry): New function.
664 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
665 * link.cc (_Jv_Linker::find_field): New arg: found_class.
666 (resolve_pool_entry): Initialize the class in which a field is
668 (link_symbol_table): Pass new arg to found_class.
670 2005-04-29 Michael Koch <konqueror@gmx.de>
672 * java/nio/charset/Charset.java
673 (provider): Reformatted.
675 2005-04-29 Michael Koch <konqueror@gmx.de>
677 * gnu/java/net/protocol/http/HTTPConnection.java:
678 (userAgent): Initialize from system properties.
679 (initUserAgent): Removed.
681 2005-04-29 Mark Wielaard <mark@klomp.org>
683 * java/util/ResourceBundle.java (getObject): Clarify
684 MissingResourceException detailed message.
685 (tryBundle(String,ClassLoader)): Likewise.
687 2005-04-29 Robert Schuster <thebohemian@gmx.net>
689 * java/beans/FeatureDescriptor.java:
690 (getShortDescription): Implemented fallback mechanism and fixed
691 documentation (fixes bug #12637).
692 (getDisplayName): Dito.
694 2005-04-29 Robert Schuster <thebohemian@gmx.net>
696 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
697 will now be set correctly.
698 (flushCaches): Now flushes all cached intermediate data.
700 2005-04-28 Michael Koch <konqueror@gmx.de>
702 * java/net/InetAddress.java
703 (aton): Fixed javadoc.
706 2005-04-28 Tom Tromey <tromey@redhat.com>
708 * javax/swing/Timer.java
709 (drainEvents, queueEvent): Now package-private.
711 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
713 * javax/swing/Timer.java
714 (constructor): Assigning initialDelay.
716 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
718 * javax/swing/Timer.java
719 (Waker.run): firing the first action event.
721 2005-04-28 Michael Koch <konqueror@gmx.de>
723 * javax/swing/Timer.java: Reordered all fields and methods,
726 2005-04-28 Michael Koch <konqueror@gmx.de>
728 * javax/swing/Timer.java: Javadocs merged
731 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
733 * gnu/java/net/protocol/file/Connection.java
734 (StaticData): New inner class to contain statics.
735 (connect, getHeaderField): Modified to use StaticData.
737 2005-04-28 Michael Koch <konqueror@gmx.de>
739 * gnu/java/net/protocol/file/Connection.java
740 (lineSeparator): Initialize with SystemProperties.getProperty().
742 2005-04-27 Chris Burdess <dog@gnu.org>
744 * gnu/java/net/protocol/file/Connection.java: Return correct content
745 length for directory listing.
746 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
747 #11285: return valid URLs for directories.i
749 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
751 * Makefile.am (ordinary_java_source_files): Add
752 gnu/java/net/protocol/https/Handler.java.
753 * Makefile.in: Regenerate.
754 * java/net/URL.java: Remove org.metastatic.jessie from default
755 protocol search path.
757 2005-04-27 Chris Burdess <dog@gnu.org>
759 * gnu/java/net/protocol/https/Handler.java: New file.
761 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
763 * javax/imageio/spi/IIORegistry.java (IIORegistry):
764 Don't assume that awt Toolkit is always ClasspathToolkit.
766 2005-04-27 Chris Burdess <dog@gnu.org>
768 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
769 absolute and relative paths in Location header.
771 2005-04-27 Chris Burdess <dog@gnu.org>
773 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
774 FileNotFoundException and implement getErrorStream on 404.
776 2005-04-27 Sven de Marothy <sven@physto.se>
778 * java/util/TimeZone.java,
779 (getDefaultDisplayName): Fix previous fix.
781 2005-04-27 Sven de Marothy <sven@physto.se>
783 * java/util/TimeZone.java,
784 (getDefaultDisplayName): Don't print zero offsets.
786 2005-04-27 Roman Kennke <roman@kennke.org>
788 * javax/swing/plaf/basic/BasicScrollBarUI
789 (getThumbBounds): Do not make thumb smaller than
791 * javax/swing/plaf/metal/MetalLookAndFeel
792 (initComponentDefaults): Added color defaults for ScrollBar.
793 * javax/swing/plaf/metal/MetalScrollBarUI
795 (getMinimumThumbSize): Added.
797 2005-04-27 Roman Kennke <roman@kennke.org>
799 * javax/swing/plaf/metal/MetalLookAndFeel
800 (initComponentDefaults): Added some default colors.
802 2005-04-27 Roman Kennke <roman@kennke.org>
804 * javax/swing/plaf/basic/BasicScrollBarUI.java
805 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
806 to 'ScrollBar.thumbShadow'. The formes does not exist.
807 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
809 2005-04-27 Roman Kennke <roman@kennke.org>
811 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
812 * javax/swing/BoxLayout.java: Likewise.
813 * javax/swing/UIManager.java: Likewise.
814 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
815 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
816 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
817 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
818 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
819 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
820 * javax/swing/text/Document.java: Likewise.
821 * javax/swing/text/GapContent.java: Likewise.
822 * javax/swing/text/SimpleAttributeSet.java: Likewise.
823 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
825 2005-04-27 Roman Kennke <roman@kennke.org>
827 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
828 (getPropertyPrefix): Added.
830 2005-04-27 Roman Kennke <roman@kennke.org>
832 * javax/swing/plaf/basic/BasicButtonUI.java
833 (getPropertyPrefix): Added.
834 (installDefaults): Use getPropertyPrefix instead of hard-coded
837 2005-04-27 Roman Kennke <roman@kennke.org>
839 * javax/swing/JToggleButton.java
840 (JToggleButton): Removed horizontalAlignment setting, this
841 was wrong. Added setting of an actionCommand, ToggleButtons
842 have "" as default actionCommand.
844 2005-04-27 Michael Koch <konqueror@gmx.de>
846 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
847 to work around CNI limitation.
849 2005-04-27 Sven de Marothy <sven@physto.se>
851 * java/nio/charset/Charset.java:
852 (defaultCharset()): New method.
853 Status updated to 1.5
855 2005-04-27 Sven de Marothy <sven@physto.se>
857 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
859 2005-04-27 Sven de Marothy <sven@physto.se>
861 * java/nio/charset/Charset.java: Reset cached de/encoders.
863 2005-04-27 Robert Schuster <thebohemian@gmx.net>
865 * java/nio/charset/Charset.java (forName): Throws
866 IllegalArgumentException when argument is null
867 and added documentation.
869 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
871 * java/nio/charset/Charset.java (providers):
872 New method to make an array of CharsetProviders defined in
873 META-INF/services/java.nio.charset.spi.CharsetProvider.
874 (charsetForName, availableCharsets): Use the
875 new method providers().
877 2005-04-26 Michael Koch <konqueror@gmx.de>
879 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
880 Fixed typos in javadocs.
881 (isSiteLocalAddress): Fixed handling of byte values.
882 (isMCLinkLocal): Likewise.
883 * java/net/Inet4Address.java
884 (isMulticastAddress): Call super method.
885 (isLoopbackAddress): Likewise.
886 (isAnyLocalAddress): Likewise.
887 (isLinkLocalAddress): Likewise.
888 (isSiteLocalAddress): Likewise.
889 (isMCGlobal): Likewise.
890 (isMCNodeLocal): Likewise.
891 (isMCLinkLocal): Likewise.
892 (isMCSiteLocal): Likewise.
893 (isMCOrgLocal): Likewise.
894 (getHostAddress): Likewise.
896 2005-04-26 Sven de Marothy <sven@physto.se>
898 * java/net/InetAddress.java
899 (toString): Don't print empty hostnames.
901 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
904 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
905 'false' to native lock().
906 (lock): Pass 'true' to native lock().
908 2005-04-26 Michael Koch <konqueror@gmx.de>
910 * java/net/InetAddress.java:
911 Fixed typos in javadocs.
913 2005-04-26 Andrew Haley <aph@redhat.com>
916 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
919 2005-04-26 Tom Tromey <tromey@redhat.com>
921 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
922 gnu): Now package-private.
923 * javax/swing/text/html/parser/DocumentParser.java (parser,
924 callBack, gnu): Now package-private.
925 * javax/swing/text/StringContent.java (content, setOffset,
926 checkLocation): Now package-private.
927 * javax/swing/text/JTextComponent.java (doc): Now
929 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
930 lastGoodOrientation, origParent, borders, cachedBounds,
931 cachedOrientation, DragWindow): Now package-private.
932 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
933 decrButton, viewport, panel, currentScrollLocation, layoutManager,
934 tabAreaRect, contentRect, createIncreaseButton,
935 createDecreaseButton, findPointForIndex): Now package-private.
936 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
937 (currentDividerLocation, moveDividerTo): Now package-private.
938 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
940 * javax/swing/plaf/basic/BasicScrollBarUI.java
941 (calculatePreferredSize, valueForYPosition, valueForXPosition):
943 * javax/swing/plaf/basic/BasicPopupMenuUI.java
944 (topWindowListener): Now package-private.
945 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
946 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
947 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
949 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
951 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
953 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
955 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
956 borderInsets): Now package-private.
957 (arrowButtonWidth): Likewise. Now a constant.
958 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
959 makeTabs, updatePreviewPanel): Now package-private.
960 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
961 darkShadow, highlight): Now package-private.
962 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
963 (addColorToQueue): Now package-private.
964 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
965 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
966 GSpinner, BSpinner): Now package-private.
967 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
968 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
969 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
970 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
971 updateTrack): Now package-private.
972 * javax/swing/TransferHandler.java (clipboard): Now
974 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
976 * javax/swing/Timer.java (drainEvents, queueEvent): Now
978 * javax/swing/RepaintManager.java (globalManager): Now
980 * javax/swing/JFormattedTextField.java (editValid): Now
982 * javax/swing/JColorChooser.java (makeModal): Now
984 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
985 index, path): Now package-private.
986 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
987 lineQuadIntersect, lineCubicIntersect, linesIntersect,
988 pointEquals): Now package-private.
989 * java/awt/geom/Arc2D.java (type): Now package-private.
990 * java/awt/Window.java (windowFocusOwner): Now package-private.
991 * java/awt/TextComponent.java (editable, selectionStart,
992 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
994 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
996 * java/awt/MenuComponent.java (focusListener): Now
998 * java/awt/Frame.java (state): Now package-private.
999 * java/awt/Choice.java (pItems): Now package-private.
1000 * java/awt/Checkbox.java (state): Now package-private.
1001 * java/awt/Button.java (actionCommand, label): Now
1003 * gnu/javax/swing/text/html/parser/support/Parser.java
1004 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1006 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1008 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1009 clip, transform, font, comp): Now package-private.
1011 2005-04-26 Tom Tromey <tromey@redhat.com>
1013 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1016 2005-04-26 Mark Wielaard <mark@klomp.org>
1018 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1019 to MalformedURLException.
1021 2005-04-26 Michael Koch <konqueror@gmx.de>
1023 * java/security/AccessControlContext.java:
1025 (protectedDomains): Renamed from 'protectionDomain'.
1026 * java/security/AccessController.java:
1029 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1031 * gnu/java/security/action/GetSecurityPropertyAction.java
1032 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1033 of extending GetPropertyAction.
1036 (setParamters): New methods.
1037 (GetSecurityPropertyAction): Use new setParameters methods.
1039 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1041 * java/security/Security.java,
1042 java/security/cert/X509CRLSelector.java,
1043 java/security/cert/X509CertSelector.java:
1044 Modified to use SystemProperties.
1046 2005-04-26 Michael Koch <konqueror@gmx.de>
1048 * java/lang/System.java
1049 (setSecurityManager): Fixed comment.
1050 (getSecurityManager): Removed obsolete comment.
1052 2005-04-25 Tom Tromey <tromey@redhat.com>
1054 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1056 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1059 (connectSignals): Realize the window widget after connecting
1062 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1064 * java/awt/GraphicsEnvironment.java
1065 (localGraphicsEnvironment): New field.
1066 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1068 (isHeadless): Added support for java.awt.headless property.
1069 (isHeadlessInstance): Call headless().
1071 2005-04-25 Roman Kennke <roman@kennke.org>
1073 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1074 (getDisplayMode): Added. Returns the current display mode.
1075 (isFullScreenSupported): Added.
1076 * java/awt/GraphicsDevice.java
1077 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1078 This resizes and relocates the fullscreen window so that it uses
1079 the whole screen. This is not a fully accelerated fullscreen
1082 2005-04-25 Michael Koch <konqueror@gmx.de>
1084 * java/lang/Runtime.java,
1085 java/lang/SecurityManager.java,
1086 java/lang/System.java,
1087 java/lang/ThreadGroup.java:
1088 Replaced java.lang.Runtime.securityManager by
1089 java.lang.SecurityManager.current (as used in GNU classpath).
1091 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1093 * java/awt/Transparency.java
1094 (getTransparency): fixed API docs.
1096 2005-04-25 Archie Cobbs <archie@dellroad.org>
1098 * java/lang/Throwable.java: simplify initializing cause in constructor
1100 2005-04-25 Michael Koch <konqueror@gmx.de>
1102 * gnu/classpath/SystemProperties.java: New file.
1103 * gnu/classpath/natSystemProperties.cc: New file.
1104 * java/lang/Runtime.java
1105 (defaultProperties): Removed.
1107 (): Made thrown exceptions more verbose.
1108 (insertSystemProperties): Removed.
1109 * java/lang/System.java
1111 (properties): Likewise.
1112 (setSecurityManager): Reordered modifiers.
1113 (getenv): Improved javadoc.
1115 (isWordsBigEndian): Removed.
1116 * java/lang/natRuntime.cc
1117 (_Jv_SetDLLSearchPath): Likewise.
1118 (file_encoding): Likewise.
1119 (default_file_encoding): Likewise.
1120 (getpwuid_adaptor): Likewise.
1121 (insertSystemProperties): Likewise.
1122 * java/lang/natSystem.cc
1123 (isWordsBigEndian): Likewise.
1125 (ordinary_java_source_files):
1126 Added gnu/classpath/SystemProperties.java.
1127 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1128 * Makefile.in: Regenerated.
1130 2005-04-25 Roman Kennke <roman@kennke.org>
1132 * javax/swing/plaf/basic/BasicScrollBarUI.java
1133 (initDefaults): Initialize thumb*Color fields correctly.
1135 2005-04-25 Roman Kennke <roman@kennke.org>
1137 * javax/swing/text/GapContent.java:
1140 2005-04-25 Roman Kennke <roman@kennke.org>
1142 * javax/swing/plaf/metal/MetalBorders.java:
1143 Added inner class ScrollPaneBorder.
1144 * javax/swing/plaf/metal/MetalLookAndFeel.java
1145 (initComponentDefaults): Added default for "ScrollPane.border"
1146 to use the new ScrollPaneBorder.
1148 2005-04-25 Roman Kennke <roman@kennke.org>
1150 * javax/swing/text/AbstractDocument.java:
1151 Added FIXME comments. This class still has to be
1152 implemented thread-safe.
1154 2005-04-25 Roman Kennke <roman@kennke.org>
1156 * javax/swing/tree/DefaultTreeSelectionModel.java
1157 (DefaultTreeSelectionModel): Initialize listenerList here.
1159 2005-04-25 Roman Kennke <roman@kennke.org>
1161 * javax/swing/plaf/metal/MetalTextFieldUI.java
1162 (createUI): Return one instance per Component instead of a
1165 2005-04-25 Roman Kennke <roman@kennke.org>
1167 * javax/swing/text/Document.java:
1168 Added API documentation comments.
1170 2005-04-25 Roman Kennke <roman@kennke.org>
1172 * javax/swing/text/AbstractDocument.java
1173 (getDocumentProperties): Implemented.
1174 (setDocumentProperties): Implemented.
1175 (getProperty): Implemented.
1176 (putProperty): Implemented.
1178 2005-04-25 Roman Kennke <roman@kennke.org>
1180 * javax/swing/BoxLayout
1181 (preferredLayoutSize): Fixed computation so that it correctly
1182 adds the top and bottom insets of the container.
1184 2005-04-25 Roman Kennke <roman@kennke.org>
1186 * javax/swing/plaf/basic/BasicMenuItemUI.java
1187 (paintText): Make use of the 'selectionForeground' UI default
1190 2005-04-25 Roman Kennke <roman@kennke.org>
1192 * javax/swing/plaf/basic/BasicLookAndFeel.java
1193 (initSystemColorDefaults): Modified colors to match the
1194 BasicLookAndFeel in the reference implementation.
1195 (initComponentDefaults): Likewise.
1197 2005-04-25 Tom Tromey <tromey@redhat.com>
1199 * include/jni.h (_Jv_va_list): Removed.
1200 Moved configuration code...
1201 * include/jni_md.h: ... here. New file.
1202 * include/Makefile.in: Rebuilt.
1203 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1205 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1207 * java/io/FileInputStream.java (FileInputStream(File)),
1208 java/io/FileOutputStream.java (FileOutputStream(File)):
1209 Removed unnecessary File.isDirectory() check.
1211 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1213 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1214 gij if get_multilibs fails.
1216 2005-04-22 Anthony Green <green@redhat.com>
1218 * jni.cc (natrehash): Don't bother clearing memory again.
1219 * interpret.cc (do_allocate_static_fields): Ditto.
1220 * java/lang/natString.cc (rehash): Ditto.
1222 2005-04-22 Roman Kennke <roman@kennke.org>
1224 * javax/swing/plaf/basic/BasicLookAndFeel.java
1225 (initComponentDefaults): Changed Button.border to be
1226 BasicBorders.getButtonBorder as it should be.
1228 2005-04-22 Roman Kennke <roman@kennke.org>
1230 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1231 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1232 should according to a mauve testcase, instead of the preferred
1235 2005-04-22 Roman Kennke <roman@kennke.org>
1237 * javax/swing/JMenu.java
1238 (add): add(Component) now calls PopupMenu.insert(..) instead of
1239 PopupMenu.add(..). add(..) is not implemented for Component,
1240 so JComponent.add(..) is called instead, adding the component
1243 2005-04-22 Roman Kennke <roman@kennke.org>
1245 * javax/swing/plaf/basic/BasicButtonListener.java
1246 (mousePressed): replaced query to getModifiersEx with getModifiers.
1247 This method relied on faulty behaviour in getModifierEx.
1248 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1249 This method relied on faulty behaviour in getModifierEx.
1251 2005-04-22 Roman Kennke <roman@kennke.org>
1253 * javax/swing/plaf/metal/MetalLookAndFeel.java
1254 (getDefaults): Call addCustomEntriesToTable on the theme.
1256 2005-04-22 Roman Kennke <roman@kennke.org>
1258 * javax/swing/tree/DefaultTreeSelectionModel.java
1259 (constructor): Added implementation.
1260 (getRowMapper): Added implementation.
1261 (setSelectionMode): Added implementation.
1262 (getSelectionMode): Added implementation.
1263 (getSelectionPath): Added implementation.
1264 (getSelectionPaths): Added implementation.
1265 (getSelectionCount): Added implementation.
1266 (isSelectionEmpty): Added implementation.
1267 (getSelectionRows): Added implementation.
1268 (getMinSelectionRow): Added implementation.
1269 (getMaxSelectionRow): Added implementation.
1270 (getLeadSelectionRow): Added implementation.
1271 (getLeadSelectionPath): Added implementation.
1273 2005-04-22 Casey Marshall <csm@gnu.org>
1275 * gnu/java/security/der/DERValue.java
1276 (getValueAs): new method.
1277 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1278 (<init>): read both dates with 'DERValue.getValueAs', with
1279 'GENERALIZED_TIME' as the argument.
1281 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1283 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1284 be null, check for that case and don't deference it.
1286 2005-04-22 Sven de Marothy <sven@physto.se>
1288 * java/util/logging/LogManager.java: Reformatted.
1289 (readConfiguration): If a logger for a key is not found, create one.
1291 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1293 * java/rmi/Naming.java:
1294 Added class documentation.
1295 (lookup(String)): Call parseURL and getName.
1296 (bind(String,java.rmi.Remote)): Likewise.
1297 (unbind(String)): Likewise.
1298 (rebind(String, java.rmi.Remote)): Likewise.
1299 (list(String)): Call parseURL.
1300 (parseURL(String)): New method to handle parsing and defaults.
1301 (getName(java.net.URL)): New method to handle finding the service name.
1303 2005-04-21 Tom Tromey <tromey@redhat.com>
1305 * java/lang/natClass.cc (initializeClass): Link class.
1307 2005-04-21 Tom Tromey <tromey@redhat.com>
1309 * java/lang/AssertionError.java: Typo fix.
1311 2005-04-21 Tom Tromey <tromey@redhat.com>
1313 * java/lang/VMClassLoader.java (transformException): Removed.
1314 (resolveClass): No longer native. Now does nothing.
1315 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1317 2005-04-21 Anthony Green <green@redhat.com>
1320 * testsuite/libjava.special/special.exp,
1321 testsuite/libjava.special/pr21115I.java,
1322 testsuite/libjava.special/pr21115.java,
1323 testsuite/libjava.special/pr21115.out: New files.
1325 2005-04-21 Chris Burdess <dog@gnu.org>
1327 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1328 CRLF-delimited chunks.
1330 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1332 * java/net/URI.java:
1333 Added class documentation.
1334 (parseURI(String)): Only handle scheme-specific parts
1335 if URI is not opaque. Allow for parts that can't be null.
1336 (toString()): Output the scheme-specific part whole, rather
1337 than as its possibly non-existent components.
1339 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1341 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1342 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1343 Adjusted to match new regexp.
1345 2005-04-20 Michael Koch <konqueror@gmx.de>
1347 * gnu/java/net/protocol/file/Connection.java,
1348 gnu/java/net/protocol/jar/Connection.java:
1349 Reorganized import statements. Fixed @author tags.
1351 2005-04-20 Chris Burdess <dog@gnu.org>
1353 * java/io/DataOutputStream.java (writeUTF): Use block write for
1356 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1358 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1359 (readLine): Changed newline handling.
1361 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1363 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1364 ColorModel,byte[],int,int): Fixed byte to int conversion.
1366 2005-04-20 Michael Koch <konqueror@gmx.de>
1368 * java/io/FilePermission.java
1369 (serialVersionUID): Made private.
1370 (ALL_FILES): New constant.
1371 (implies): Handle '<<ALL FILES>>' case.
1373 2005-04-20 Sven de Marothy <sven@physto.se>
1375 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1376 (drawImage): Don't notify the image observer for offscreen images.
1377 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1378 (setPixels): Don't notify the image observer.
1380 2005-04-20 Sven de Marothy <sven@physto.se>
1382 * java/nio/ByteBufferImpl.java:
1383 (putChar): Inlined for speed.
1384 (put, get): Bulk methods can use arraycopy.
1385 * java/nio/CharBufferImpl.java:
1386 (put, get): Bulk methods can use arraycopy.
1388 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1390 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1392 * java/nio/CharBufferImpl.java
1393 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1394 (get(), put(char)): Inlined checks and field updates. Fixed to
1395 take array_offset into account.
1396 (get(int), put(int, char)): Fixed to take array_offset into account.
1398 2005-04-20 Sven de Marothy <sven@physto.se>
1400 * java/text/SimpleDateFormat.java:
1401 (formatWithAttribute): Pad year before truncating digits.
1403 2005-04-20 Michael Koch <konqueror@gmx.de>
1405 * gnu/java/net/PlainDatagramSocketImpl.java:
1406 Merged copyright header.
1407 * gnu/java/net/PlainSocketImpl.java:
1408 Reorganized import statements. Fixed @author tags.
1410 2005-04-20 Michael Koch <konqueror@gmx.de>
1412 * gnu/java/lang/ClassHelper.java,
1413 gnu/java/lang/reflect/TypeSignature.java:
1416 2005-04-20 Michael Koch <konqueror@gmx.de>
1418 * gnu/java/beans/IntrospectionIncubator.java:
1419 Fixed HTML tags in javadocs.
1421 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1423 * gnu/java/beans/IntrospectionIncubator.java
1424 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1425 set(), is(), add() and remove() with properties or events.
1427 2005-04-20 Michael Koch <konqueror@gmx.de>
1429 * gnu/java/awt/image/XBMDecoder.java:
1430 Fixed modifier order.
1432 2005-04-20 Roman Kennke <roman@kennke.org>
1434 * javax/swing/plaf/basic/BasicButtonUI.java
1435 (paint): This should not care about margin and insets
1436 at the same time, as insets already include the margin
1438 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1439 (getPreferredButtonSize): Likewise.
1440 * javax/swing/plaf/metal/MetalBorders.java
1441 (getBorderInsets): Likewise.
1443 2005-04-20 Roman Kennke <roman@kennke.org>
1445 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1446 (createMessageArea): The JPanel that holds the message area
1447 doesn't need to override getPreferredSize. This prevents some
1448 message components from rendering nicely.
1450 2005-04-20 Roman Kennke <roman@kennke.org>
1452 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1453 (createUI): Do not share instances between components.
1454 * javax/swing/plaf/metal/MetalSliderUI.java
1455 (createUI): Do not share instances between components.
1457 2005-04-20 Roman Kennke <roman@kennke.org>
1459 * javax/swing/plaf/metal/MetalBorders:
1460 (PopupMenuBorder): Added.
1461 * javax/swing/plaf/metal/MetalLookAndFeel
1462 (initComponentDefaults): Added PopupMenuBorder.
1464 2005-04-20 Roman Kennke <roman@kennke.org>
1466 * javax/swing/tree/DefaultTreeSelectionModel.java:
1467 Added API documentation all over the class.
1469 2005-04-20 Roman Kennke <roman@kennke.org>
1471 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1472 (installDefaults): Link managed JScrollPane in instance field.
1473 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1475 2005-04-20 Roman Kennke <roman@kennke.org>
1477 * javax/swing/plaf/basic/BasicScrollBarUI.java
1478 (PropertyChangeHandler.propertyChange): Add default
1479 to switch statement to avoid errors with unusual values
1481 (installComponents): Likewise.
1483 2005-04-20 Roman Kennke <roman@kennke.org>
1485 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1486 (createUI): Instances cannot be shared among JScrollPanes.
1488 2005-04-20 Roman Kennke <roman@kennke.org>
1490 * javax/swing/plaf/metal/MetalLookAndFeel.java
1491 (initComponentDefaults): Added defaults for Menu, MenuBar
1494 2005-04-20 Roman Kennke <roman@kennke.org>
1496 * javax/swing/plaf/basic/BasicScrollBarUI.java
1497 (installUI): Install listeners after everything all, otherwise
1498 we get strange NPEs in some situations, especially with
1500 (createIncreaseButton): Orientation is expected to be
1501 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1502 HORIZONTAL or VERTICAL.
1503 (createDecreaseButton): Orientation is expected to be
1504 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1505 HORIZONTAL or VERTICAL.
1506 (installComponents): Orientation for buttons is expected to be
1507 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1508 HORIZONTAL or VERTICAL.
1510 2005-04-20 Roman Kennke <roman@kennke.org>
1512 * javax/swing/JToolBar.java
1513 (addImpl): Adjust added AbstractButtons to look and feel like
1515 * javax/swing/plaf/metal/MetalBorders.java:
1516 Adjusted insets of ButtonBorder.
1517 (RolloverMarginBorder): Added class for toolbar buttons.
1518 (getButtonBorder): Adjusted factory method to return a shared
1519 instance of button border.
1520 (getToolbarButtonBorder): Added factory method to return a shared
1521 instance of toolbar button border.
1522 (getMarginBorder): Added factory method to return a shared
1523 instance of margin border.
1524 * javax/swing/plaf/metal/MetalButtonUI.java
1525 (installDefauls): If button is child of a JToolBar then set
1526 special border on this button.
1528 2005-04-20 Michael Koch <konqueror@gmx.de>
1530 * java/net/URLConnection.java
1531 (getContent): Fixed javadoc comment.
1533 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1535 * java/net/URL.java:
1536 (toURI()): Implemented.
1538 2005-04-19 Michael Koch <konqueror@gmx.de>
1540 * java/net/InetAddress.java
1541 (InetAddress): Fixed javadoc comment.
1543 (lookup): Added javadoc.
1544 (getFamily): Likewise.
1545 * java/net/ServerSocket.java
1546 (getChannel): Improved javadoc comment.
1548 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1550 * gnu/xml/dom/html2/DomHTMLParser.java:
1551 Changed 'enum' references to become 'enumeration'.
1553 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1555 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1557 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1559 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1560 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1561 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1562 (validateParameters(TagElement,htmlAttributeSet)):
1563 Replaced 'enum' with 'enumeration'.
1564 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1567 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1569 * javax/swing/text/html/parser/Entity.java (getType): New method.
1570 * javax/swing/text/html/parser/DocumentParser.java:
1571 Inherit from javax.swing.text.html.parser.Parser.
1573 2005-04-19 Chris Burdess <dog@gnu.org>
1575 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1576 check for HTML/XHTML namespace.
1578 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1580 * javax/swing/text/html/parser/Parser.java,
1581 javax/swing/text/html/parser/Entity.java:
1582 Inheriting from DTDConstants.
1583 * javax/swing/text/html/parser/AttributeList.java
1584 (getValues): Changed return type.
1585 * javax/swing/text/html/parser/DocumentParser
1586 (parse): Adding the callback parameter that receives
1589 2005-04-19 Chris Burdess <dog@gnu.org>
1591 * gnu/xml/dom/DomImpl.java,
1592 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1593 gnu/xml/dom/html2/DomHTMLDocument.java,
1594 gnu/xml/dom/html2/DomHTMLElement.java,
1595 gnu/xml/dom/html2/DomHTMLFormElement.java,
1596 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1597 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1598 gnu/xml/dom/html2/DomHTMLImpl.java,
1599 gnu/xml/dom/html2/DomHTMLInputElement.java,
1600 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1601 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1602 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1603 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1604 gnu/xml/dom/html2/DomHTMLTableElement.java,
1605 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1606 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1607 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1608 UI events, and tree utility functions.
1610 2005-04-19 Michael Koch <konqueror@gmx.de>
1612 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1613 gnu/javax/swing/text/html/parser/gnuDTD.java,
1614 gnu/javax/swing/text/html/parser/models/node.java:
1615 Reworked import statements.
1617 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1619 * javax/swing/text/html/HTMLDocument.java: New file.
1621 2005-04-19 Michael Koch <konqueror@gmx.de>
1623 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1625 * javax/swing/text/html/parser/AttributeList.java:
1626 Fixed order of modifiers.
1627 (AttributeList): Made final.
1628 * javax/swing/text/html/parser/ContentModel.java:
1629 Fixed html characters in javadocs.
1630 * javax/swing/text/html/parser/DTD.java
1631 (DTD): Don't implement java.io.Serializable directly.
1632 (getElement): Simplified.
1633 * javax/swing/text/html/parser/DTDConstants.java:
1635 * javax/swing/text/html/parser/Element.java:
1636 Fixed order of modifiers.
1637 * javax/swing/text/html/parser/Parser.java:
1638 Reformatted. Don't use fully-qualified class names.
1639 * javax/swing/text/html/parser/ParserDelegator.java:
1640 Fixed order of modifiers.
1641 * javax/swing/text/rtf/RTFParser.java:
1642 Re-ordered import statements.
1643 * javax/swing/text/rtf/RTFScanner.java:
1644 Removed unused import statement.
1646 2005-04-19 Chris Burdess <dog@gnu.org>
1648 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1649 gnu/xml/dom/html2/DomHTMLCollection.java,
1650 gnu/xml/dom/html2/DomHTMLDocument.java,
1651 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1653 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1654 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1655 gnu/xml/dom/html2/DomHTMLDivElement.java,
1656 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1657 gnu/xml/dom/html2/DomHTMLFontElement.java,
1658 gnu/xml/dom/html2/DomHTMLFormElement.java,
1659 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1660 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1661 gnu/xml/dom/html2/DomHTMLHRElement.java,
1662 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1663 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1664 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1665 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1666 gnu/xml/dom/html2/DomHTMLImageElement.java,
1667 gnu/xml/dom/html2/DomHTMLInputElement.java,
1668 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1669 gnu/xml/dom/html2/DomHTMLLIElement.java,
1670 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1671 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1672 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1673 gnu/xml/dom/html2/DomHTMLMapElement.java,
1674 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1675 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1676 gnu/xml/dom/html2/DomHTMLModElement.java,
1677 gnu/xml/dom/html2/DomHTMLOListElement.java,
1678 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1679 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1680 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1681 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1682 gnu/xml/dom/html2/DomHTMLParamElement.java,
1683 gnu/xml/dom/html2/DomHTMLPreElement.java,
1684 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1685 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1686 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1687 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1688 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1689 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1690 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1691 gnu/xml/dom/html2/DomHTMLTableElement.java,
1692 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1693 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1694 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1695 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1696 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1698 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1700 * javax/swing/text/ChangedCharSetException.java,
1701 javax/swing/text/html/HTMLEditorKit.java,
1702 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1703 javax/swing/text/html/parser/AttributeList.java,
1704 javax/swing/text/html/parser/ContentModel.java,
1705 javax/swing/text/html/parser/DocumentParser.java,
1706 javax/swing/text/html/parser/DTD.java,
1707 javax/swing/text/html/parser/DTDConstants.java,
1708 javax/swing/text/html/parser/Element.java,
1709 javax/swing/text/html/parser/Entity.java,
1710 javax/swing/text/html/parser/Parser.java,
1711 javax/swing/text/html/parser/TagElement.java,
1712 gnu/javax/swing/text/html/package.html,
1713 gnu/javax/swing/text/html/parser/gnuDTD.java,
1714 gnu/javax/swing/text/html/parser/HTML_401F.java,
1715 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1716 gnu/javax/swing/text/html/parser/htmlValidator.java,
1717 gnu/javax/swing/text/html/parser/package.html,
1718 gnu/javax/swing/text/html/parser/models/list.java,
1719 gnu/javax/swing/text/html/parser/models/node.java,
1720 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1721 gnu/javax/swing/text/html/parser/models/package.html,
1722 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1723 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1724 gnu/javax/swing/text/html/parser/models/transformer.java,
1725 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1726 gnu/javax/swing/text/html/parser/support/package.html,
1727 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1728 gnu/javax/swing/text/html/parser/support/Parser.java,
1729 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1730 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1731 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1732 gnu/javax/swing/text/html/parser/support/low/Location.java,
1733 gnu/javax/swing/text/html/parser/support/low/node.java,
1734 gnu/javax/swing/text/html/parser/support/low/package.html,
1735 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1736 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1737 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1738 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1740 * javax/swing/text/html/HTML.java,
1741 javax/swing/text/html/parser/ParserDelegator.java:
1742 New files (replacing).
1743 * javax/swing/text/html/package.html,
1744 javax/swing/text/html/parser/package.html: Documenting the
1747 2005-04-19 Chris Burdess <dog@gnu.org>
1749 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1750 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1751 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1752 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1753 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1754 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1755 gnu/xml/dom/html2/DomHTMLBRElement.java,
1756 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1757 gnu/xml/dom/html2/DomHTMLCollection.java,
1758 gnu/xml/dom/html2/DomHTMLDocument.java,
1759 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1761 2005-04-19 Michael Koch <konqueror@gmx.de>
1763 * Makefile.am: Added new files.
1764 * Makefile.in: Regenerated.
1766 2005-04-19 Roman Kennke <roman@kennke.org>
1768 * javax/swing/text/JTextComponent.java
1769 (JTextComponent): Added repaintListener which issues repaint
1770 requests when the underlying document changes.
1771 (setDocument): Adds repaintListener to document when the
1772 document is changed.
1773 * javax/swing/text/DefaultEditorKit.java:
1774 Removed repaint calls on JTextComponent. This is now handled
1775 through a DocumentListener in JTextComponent that repaints
1776 the component when needed.
1778 2005-04-19 Roman Kennke <roman@kennke.org>
1781 * javax/swing/text/StyleContext.java
1782 (NamedStyle.setResolveParent): Added null
1785 2005-04-19 Michael Koch <konqueror@gmx.de>
1787 * java/rmi/server/RemoteObject.java:
1788 Removed unused import statement.
1790 2005-04-19 Michael Koch <konqueror@gmx.de>
1792 * java/net/URL.java: Formatting cleanups.
1794 2005-04-19 Michael Koch <konqueror@gmx.de>
1796 * java/awt/FontMetrics.java: Reformatted.
1797 (getFontRenderContext): Handle case when java.awt.Graphics context is
1800 2005-04-19 Michael Koch <konqueror@gmx.de>
1802 * java/awt/FontMetrics.java
1803 (getStringBounds): New methods.
1806 2005-04-19 Michael Koch <konqueror@gmx.de>
1808 * gnu/java/security/x509/X509Certificate.java
1809 (parse): Handle val == null case.
1811 2005-04-19 Roman Kennke <roman@kennke.org>
1813 * javax/swing/plaf/metal/MetalLookAndFeel.java
1814 (initComponentDefaults): Added defaults for Menu, MenuBar
1817 2005-04-19 Roman Kennke <roman@kennke.org>
1819 * javax/swing/plaf/metal/MetalLookAndFeel.java
1820 (initComponentDefaults): Added Label.font.
1821 (initSystemColorDefaults): Added this method and adjusted the
1822 general control color.
1824 2005-04-19 Roman Kennke <roman@kennke.org>
1826 * javax/swing/plaf/metal/MetalBorders.java:
1828 * javax/swing/plaf/metal/MetalButtonUI.java:
1829 (installDefaults): Install button font.
1830 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1831 (initComponentDefaults): Added button border, font and margin.
1832 Changed components background color to the Metal current themes
1835 2005-04-19 Roman Kennke <roman@kennke.org>
1837 * javax/swing/plaf/metal/MetalLookAndFeel.java
1838 (initComponentDefaults): Added to set Metal specific component
1841 2005-04-19 Mark Wielaard <mark@klomp.org>
1843 * javax/swing/plaf/metal/MetalLookAndFeel.java
1844 (initClassDefaults): Call super.initClassDefaults().
1846 2005-04-19 Roman Kennke <roman@kennke.org>
1848 * javax/swing/plaf/metal/MetalLookAndFeel.java
1849 (initClassDefaults): Added to include the *UI classes.
1851 2005-04-19 Roman Kennke <roman@kennke.org>
1853 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1855 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1857 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1859 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1861 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1863 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1865 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1867 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1869 * javax/swing/plaf/metal/MetalSliderUI.java:
1871 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1873 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1875 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1877 2005-04-19 Roman Kennke <roman@kennke.org>
1879 * javax/swing/plaf/metal/MetalButtonUI.java:
1880 Added skeleton class.
1881 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1882 Added skeleton class.
1883 * javax/swing/plaf/metal/MetalLabelUI.java:
1884 Added skeleton class.
1885 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1886 Added skeleton class.
1887 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1888 Added skeleton class.
1889 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1890 Added skeleton class.
1892 2005-04-19 Roman Kennke <roman@kennke.org>
1894 * javax/swing/UIDefaults.java:
1895 Added API documentation for all methods.
1897 2005-04-19 Roman Kennke <roman@kennke.org>
1899 * javax/swing/UIDefaults.java
1900 (put): Now uses new checkAndPut method instead of checking
1902 (putDefaults): Fixed so that it accepts null-values and
1903 treats them like remove(key).
1904 (checkAndPut): Added. This checks for null-values and calls
1907 2005-04-19 Michael Koch <konqueror@gmx.de>
1909 * Makefile.am: Added new files.
1910 * Makefile.in: Regenerated.
1912 2005-04-19 Mark Wielaard <mark@klomp.org>
1914 * java/lang/natRuntime.cc (insertSystemProperties): Set
1915 java.class.path to CLASSPATH only when not empty. Fall back to
1916 default path "." when java.class.path is empty.
1918 2005-04-19 Michael Koch <konqueror@gmx.de>
1920 * javax/swing/text/rtf/ControlWordToken.java,
1921 javax/swing/text/rtf/RTFEditorKit.java,
1922 javax/swing/text/rtf/RTFParseException.java,
1923 javax/swing/text/rtf/RTFParser.java,
1924 javax/swing/text/rtf/RTFScanner.java,
1925 javax/swing/text/rtf/TextToken.java,
1926 javax/swing/text/rtf/Token.java: New files.
1927 * Makefile.am: Added new files.
1928 * Makefile.in: Regenerated.
1930 2005-04-19 Michael Koch <konqueror@gmx.de>
1932 * java/awt/geom/QuadCurve2D.java:
1933 Fixed Brian Gough's name for real.
1935 2005-04-19 Roman Kennke <roman@kennke.org>
1937 * javax/swing/UIManager.java:
1938 Make the UIManager respect the swing.defaultlaf system
1941 2005-04-19 Tom Tromey <tromey@redhat.com>
1943 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1946 2005-04-19 Roman Kennke <roman@kennke.org>
1948 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1949 Fixed tabs to spaces.
1951 2005-04-19 Roman Kennke <roman@kennke.org>
1953 * javax/swing/plaf/basic/BasicMenuUI.java
1954 (getMaximumSize): Now returns preferredSize because JMenu should
1955 never be bigger than that.
1956 * javax/swing/JRootPane
1957 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1959 2005-04-19 Roman Kennke <roman@kennke.org>
1961 * javax/swing/JRootPane.java:
1962 Fixed various tabs to be spaces.
1963 (RootLayout.layoutContainer): Made menubar left aligned.
1965 2005-04-19 Roman Kennke <roman@ontographics.com>
1967 * javax/swing/JList.java
1968 (getPreferredScrollableViewportSize):
1969 The previous implementation was merely guessing the size,
1970 now it respects layoutOrientation, visibleRowCount
1972 (getScrollableTracksViewportHeight):
1973 Reimplemented so that layoutOrientation, visibleRowCount
1974 and preferred size are respected.
1975 (getScrollableTracksViewportWidth):
1976 Reimplemented so that layoutOrientation, visibleRowCount
1977 and preferred size are respected.
1978 * javax/swing/plaf/basic/BasicListUI.java
1980 Improved calculation of preferredSize when JList is
1981 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1983 The previous implementation assumed a layoutOrientation of
1984 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1985 JList.VERTICAL_WRAP.
1987 2005-04-19 Roman Kennke <roman@ontographics.com>
1989 * javax/swing/plaf/basic/BasicListUI.java
1990 (paintCell): use CellRendererPane for painting the cells.
1992 2005-04-19 Roman Kennke <roman@ontographics.com>
1994 * javax/swing/plaf/basic/BasicListUI:
1995 fixed modifiers of several fields, methods and inner
1996 classes to match the 'spec'.
1997 (getMaximumSize): removed. It's not in the spec and the
1998 implementations was superfluous.
2000 2005-04-19 Roman Kennke <roman@ontographics.com>
2002 * javax/swing/plaf/basic/BasicListUI:
2003 make BasicListUI capable of wrapping lists
2004 (layoutOrientation property of javax.swing.JList)
2006 2005-04-19 Roman Kennke <roman@ontographics.com>
2008 * javax/swing/plaf/basic/BasicListUI
2009 (updateLayoutState,paint): make BasicListUI aware of the
2010 width of the rendered JList.
2012 2005-04-19 Roman Kennke <roman@kennke.org>
2014 * javax/swing/ImageIcon.java
2015 Added API documentation.
2017 2005-04-19 Roman Kennke <roman@kennke.org>
2019 * javax/swing/text/ImageIcon.java
2020 (ImageIcon): Use setImage instead of direct assignment.
2021 (setImage): Call loadImage to make sure that the image is loaded.
2022 (loadImage): Waits for the image to complete loading.
2023 (getImageLoadStatus): Added. Returns the load status of the
2026 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2028 * javax/swing/JTextArea.java (replaceRange):
2029 Fixing doc.remove(start, length) misinterpretation.
2031 2005-04-19 Roman Kennke <roman@ontographics.com>
2033 * javax/swing/CellRendererPane.java:
2034 implemented all methods of this class.
2035 reformatted all wrong formatted code.
2037 2005-04-19 Roman Kennke <roman@kennke.org>
2039 * javax/swing/BoxLayout.java:
2040 (layoutContainer): Made this layout manager respect the
2041 minimum, maximum and preferred size more correctly.
2043 2005-04-19 Roman Kennke <roman@ontographics.com>
2045 * javax/swing/BoxLayout.java:
2046 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2047 layoutContainer): Make these methods and thereby the
2048 BoxLayout respect the insets (like borders) of the
2049 component that is laid out.
2051 2005-04-19 Roman Kennke <roman@kennke.org>
2053 * javax/swing/JComponent.java:
2054 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2055 Untabified the file.
2057 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2059 * javax/swing/JComboBox.java (constructors): selecting the
2060 first item if the box was constructed from the provided
2061 non - empty array or vector.
2063 2005-04-19 Michael Koch <konqueror@gmx.de>
2065 * gnu/java/awt/peer/gtk/GdkGraphics.java
2066 (getClipBounds): Handle clip being null.
2067 (setClip): Likewise.
2068 * java/beans/beancontext/BeanContextSupport.java
2072 (removeAll): Likewise.
2073 (retainAll): Likewise.
2075 2005-04-19 Michael Koch <konqueror@gmx.de>
2077 * java/beans/beancontext/BeanContextServicesSupport.java
2078 (BeanContextServicesSupport): Reimplemented.
2079 (addBeanContextServicesListener): Implemented.
2080 (initialize): Likewise.
2081 (removeBeanContextServicesListener): Likewise.
2082 * java/beans/beancontext/BeanContextSupport.java
2084 (addBeanContextMembershipListener): Likewise.
2085 (getLocale): Likewise.
2086 (initialize): Likewise.
2087 (iterator): Likewise.
2089 (toArray): Likewise.
2091 2005-04-19 Roman Kennke <roman@kennke.org>
2093 * java/awt/MediaTracker.java:
2094 Reindented tabs to spaces.
2096 2005-04-19 Roman Kennke <roman@kennke.org>
2098 * java/awt/MediaTracker.java
2099 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2100 confused the media tracker and lead to lockups. The LOADING
2101 bit is handled on other places.
2102 (addImage): Removed the 'start image tracking' stuff. This
2103 is not necessary and could confuse the media tracker.
2104 (checkAll): Improved the check for image status so that
2105 images that already complete images are detected. Also now
2106 are really all images checked and if necessary loaded. Before
2107 the method bailed out after the first incomplete image.
2108 (statusAll): Detect images that are complete after the
2109 call to Component.prepareImage(..).
2110 (checkID): The same as in checkAll.
2111 (statusID): The same as in statusAll.
2113 2005-04-19 Roman Kennke <roman@kennke.org>
2115 * java/awt/MediaTracker.java
2116 (addImage): Synchronized list access.
2117 (waitForAll): Fixed comparison of time (changed < to >).
2118 (waitForID): Fixed comparison of time (changed < to >).
2119 (removeImage): Synchronized list access.
2121 2005-04-19 Roman Kennke <roman@kennke.org>
2123 * java/awt/MediaTracker.java
2124 Added API documentation.
2126 2005-04-19 Roman Kennke <roman@kennke.org>
2128 * java/awt/MediaTracker.java
2129 (MediaEntry.imageUpdate): Fixed flags. The different flags
2130 must not be ORed together.
2131 (checkAll): Modified to handle different meaning of the flags.
2132 (waitForAll): Fixed so that it waits maximum the
2133 specified amount of milliseconds.
2134 (statusAll): Modified to handle different meaning of the flags.
2135 (waitForID): Fixed so that it waits maximum the
2136 specified amount of milliseconds.
2138 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2140 * java/awt/Font.java (decode): Handle null argument and allow
2143 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2145 * java/beans/EventHandler.java: Reworked documentation.
2146 (invoke): Fixed behavior to match spec.
2148 2005-04-19 Michael Koch <konqueror@gmx.de>
2150 * java/awt/print/PrinterJob.java
2151 (pageDialog): New method.
2152 (printDialog): Implemented.
2154 2005-04-19 Michael Koch <konqueror@gmx.de>
2156 * java/awt/image/ConvolveOp.java:
2157 Removed comment added by eclipse.
2159 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2161 * java/awt/image/IndexColorModel.java
2162 (getRGB): Check if pixel is negative.
2164 2005-04-19 Michael Koch <konqueror@gmx.de>
2166 * java/awt/image/RasterOp.java:
2167 Fixed wrong formatting.
2169 2005-04-18 Roman Kennke <roman@kennke.org>
2171 * java/awt/Compmonent.java
2172 (setComponentOrientation): Made this property firing a
2173 PropertyChangeEvent.
2175 2005-04-18 Roman Kennke <roman@kennke.org>
2177 * java/awt/BorderLayout.java
2178 (calcSize): Check for overflow when component sizes are added.
2180 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2182 * java/awt/AWTEvent.java (toString): Added case
2183 for source not being an AWT component.
2185 2005-04-18 Chris Burdess <dog@gnu.org>
2187 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2189 2005-04-18 Michael Koch <konqueror@gmx.de>
2191 gnu/java/awt/EmbeddedWindowSupport.java,
2192 gnu/java/net/HeaderFieldHelper.java,
2193 gnu/java/net/URLParseError.java,
2194 gnu/java/net/protocol/file/Handler.java,
2195 gnu/java/net/protocol/jar/Handler.java:
2196 Fixed usage of @author tag.
2198 2005-04-18 Michael Koch <konqueror@gmx.de>
2200 * gnu/xml/aelfred2/XmlParser.java:
2201 Reverted my typo fix.
2203 2005-04-18 Michael Koch <konqueror@gmx.de>
2205 * java/awt/geom/CubicCurve2D.java,
2206 java/awt/geom/QuadCurve2D.java:
2207 Fixed mentioning of Brian Gouph.
2209 2005-04-18 Michael Koch <konqueror@gmx.de>
2211 * gnu/java/awt/Buffers.java,
2212 gnu/java/awt/image/ImageDecoder.java,
2213 gnu/java/awt/image/XBMDecoder.java,
2214 gnu/java/awt/peer/ClasspathFontPeer.java,
2215 gnu/java/net/CRLFInputStream.java,
2216 gnu/java/net/EmptyX509TrustManager.java,
2217 gnu/java/net/LineInputStream.java,
2218 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2219 gnu/java/net/protocol/ftp/BlockInputStream.java,
2220 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2221 gnu/java/net/protocol/ftp/DTP.java,
2222 gnu/java/net/protocol/ftp/DTPInputStream.java,
2223 gnu/java/net/protocol/ftp/FTPConnection.java,
2224 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2225 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2226 gnu/java/net/protocol/ftp/StreamInputStream.java,
2227 gnu/java/net/protocol/http/ChunkedInputStream.java,
2228 gnu/java/net/protocol/http/HTTPConnection.java,
2229 gnu/java/net/protocol/http/HTTPURLConnection.java,
2230 gnu/java/net/protocol/http/Headers.java,
2231 gnu/java/net/protocol/http/Request.java,
2232 gnu/java/nio/ChannelInputStream.java,
2233 gnu/java/nio/ChannelOutputStream.java,
2234 gnu/java/nio/InputStreamChannel.java,
2235 gnu/java/nio/OutputStreamChannel.java,
2236 gnu/java/nio/SelectorProviderImpl.java,
2237 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2238 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2239 gnu/java/rmi/dgc/DGCImpl.java,
2240 gnu/java/rmi/registry/RegistryImpl.java,
2241 gnu/java/rmi/server/ProtocolConstants.java,
2242 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2243 gnu/java/rmi/server/RMIIncomingThread.java,
2244 gnu/java/rmi/server/RMIObjectInputStream.java,
2245 gnu/java/rmi/server/RMIObjectOutputStream.java,
2246 gnu/java/rmi/server/RMIVoidValue.java,
2247 gnu/java/rmi/server/UnicastConnectionManager.java,
2248 gnu/java/rmi/server/UnicastRef.java,
2249 gnu/java/rmi/server/UnicastRemoteCall.java,
2250 gnu/java/rmi/server/UnicastRemoteStub.java,
2251 gnu/java/rmi/server/UnicastServerRef.java,
2252 gnu/java/security/OID.java,
2253 gnu/java/security/der/DERReader.java,
2254 gnu/java/security/provider/CollectionCertStoreImpl.java,
2255 gnu/java/security/provider/DSAParameterGenerator.java,
2256 gnu/java/security/provider/DefaultPolicy.java,
2257 gnu/java/security/provider/EncodedKeyFactory.java,
2258 gnu/java/security/provider/GnuDHPublicKey.java,
2259 gnu/java/security/provider/GnuDSAPrivateKey.java,
2260 gnu/java/security/provider/GnuDSAPublicKey.java,
2261 gnu/java/security/provider/GnuRSAPrivateKey.java,
2262 gnu/java/security/provider/GnuRSAPublicKey.java,
2263 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2264 gnu/java/security/provider/RSA.java,
2265 gnu/java/security/provider/SHA1PRNG.java,
2266 gnu/java/security/provider/SHA1withRSA.java,
2267 gnu/java/security/provider/X509CertificateFactory.java,
2268 gnu/java/security/x509/GnuPKIExtension.java,
2269 gnu/java/security/x509/X500DistinguishedName.java,
2270 gnu/java/security/x509/X509CRL.java,
2271 gnu/java/security/x509/X509CRLEntry.java,
2272 gnu/java/security/x509/X509CertPath.java,
2273 gnu/java/security/x509/X509CertSelectorImpl.java,
2274 gnu/java/security/x509/X509Certificate.java,
2275 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2276 gnu/java/security/x509/ext/BasicConstraints.java,
2277 gnu/java/security/x509/ext/CRLNumber.java,
2278 gnu/java/security/x509/ext/CertificatePolicies.java,
2279 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2280 gnu/java/security/x509/ext/Extension.java,
2281 gnu/java/security/x509/ext/GeneralNames.java,
2282 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2283 gnu/java/security/x509/ext/KeyUsage.java,
2284 gnu/java/security/x509/ext/PolicyConstraint.java,
2285 gnu/java/security/x509/ext/PolicyMappings.java,
2286 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2287 gnu/java/security/x509/ext/ReasonCode.java,
2288 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2289 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2290 Reorganized import statements.
2292 2005-04-18 Michael Koch <konqueror@gmx.de>
2294 * gnu/java/awt/color/CieXyzConverter.java,
2295 gnu/java/awt/color/ClutProfileConverter.java,
2296 gnu/java/awt/color/ColorLookUpTable.java,
2297 gnu/java/awt/color/ColorSpaceConverter.java,
2298 gnu/java/awt/color/GrayProfileConverter.java,
2299 gnu/java/awt/color/GrayScaleConverter.java,
2300 gnu/java/awt/color/LinearRGBConverter.java,
2301 gnu/java/awt/color/ProfileHeader.java,
2302 gnu/java/awt/color/PyccConverter.java,
2303 gnu/java/awt/color/RgbProfileConverter.java,
2304 gnu/java/awt/color/SrgbConverter.java,
2305 gnu/java/awt/color/TagEntry.java,
2306 gnu/java/awt/color/ToneReproductionCurve.java:
2307 Standardized file headers.
2309 2005-04-16 Tom Tromey <tromey@redhat.com>
2311 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2312 'ANY' package-private.
2314 2005-04-15 Tom Tromey <tromey@redhat.com>
2316 * Makefile.in: Rebuilt.
2317 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2318 (libgcj0_convenience_la_LIBADD): ... here.
2320 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2322 * gij.cc (version): Properly quote java version.
2323 (main): Fix typo in comment.
2325 2005-04-13 Mark Wielaard <mark@klomp.org>
2327 * java/lang/natRuntime.cc (insertSystemProperties): Set
2328 java.class.path to CLASSPATH if not already set.
2330 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2332 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2334 2005-04-12 Mike Stump <mrs@apple.com>
2336 * configure: Regenerate.
2338 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2341 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2342 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2344 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2347 * scripts/TexinfoDoclet.java: Removed.
2348 * Makefile.am (texinfo): Removed.
2349 * Makefile.in: Regenerated.
2351 2005-04-11 Michael Koch <konqueror@gmx.de>
2353 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2354 Fixed wrong casting.
2356 2005-04-06 Andrew Haley <aph@redhat.com>
2358 * testsuite/libjava.lang/bytearray.java: New file.
2359 * testsuite/libjava.lang/bytearray.out: New file.
2360 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2361 (loadClass): Use it.
2362 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2364 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2366 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2367 gcj-dbtool dependency
2368 * Makefile.in: Regenerated
2370 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2372 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2373 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2375 2005-04-05 Andrew Haley <aph@redhat.com>
2377 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2378 (Tokenizer): New class.
2379 (getFiles): New method.
2380 (main): Add "-" argument.
2382 Read list of files from stdin when merging map databases.
2383 (usage): Add "-" argument.
2387 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2390 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2391 * Makefile.in: Regenerate.
2392 * configure.ac: Add --with-java-home option.
2393 * configure: Regenerate.
2394 * external/Makefile.in: Regenerate.
2395 * external/sax/Makefile.in: Regenerate.
2396 * external/w3c_dom/Makefile.in: Regenerate.
2397 * gcj/Makefile.in: Regenerate.
2398 * include/Makefile.in: Regenerate.
2399 * testsuite/Makefile.in: Regenerate.
2400 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2403 2005-04-05 Tom Tromey <tromey@redhat.com>
2405 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2406 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2407 Rewrote to use _Jv_FindClassFromSignature.
2408 * verify.cc (resolve): throw NoClassDefFoundError.
2409 * link.cc (resolve_field): Throw NoClassDefFoundError.
2410 (find_field): Likewise.
2411 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2412 Handle error cases. Added 'endp' argument.
2413 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2415 2005-04-05 Tom Tromey <tromey@redhat.com>
2417 * Makefile.in: Rebuilt.
2418 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2419 gtk_awt_peer_sources.
2420 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2421 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2422 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2423 (gtk-awt-peer.lo): New target.
2425 2005-04-04 Steve Pribyl <steve@netfuel.com>
2428 * configure.ac: Fix fastjar definition for cross builds.
2429 * configure: Rebuilt.
2431 2005-04-04 Tom Tromey <tromey@redhat.com>
2433 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2434 it was already found.
2436 2005-04-04 Tom Tromey <tromey@redhat.com>
2438 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2439 org.metastatic.jessie.
2441 2005-04-02 Anthony Green <green@redhat.com>
2444 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2446 2005-04-02 Mark Wielaard <mark@klomp.org>
2448 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2449 Attributes and attribute order doesn't matter.
2450 (BasicAttributesEnumeration.where): Initialize to zero.
2451 (BasicAttributesEnumeration.nextElement): Update and compare where
2452 appropriately (zero based).
2454 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2456 PR libgcj/20090, PR libgcj/20526
2457 * gij.cc (nonstandard_opts_help): New function.
2458 (add_option): New function.
2459 (main): Support java options. Set java.class.path. Don't set
2461 * prims.cc (parse_x_arg): New function.
2462 (parse_init_args): Call parse_x_arg for -X and _ options, when
2463 ignoreUnrecognized is true.
2464 (new _Jv_RunMain): New vm_args variant.
2465 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2466 (_Jv_Jar_Class_Path): Remove variable.
2467 * include/java-props.h: Likewise.
2468 * include/cni.h (JvRealloc): New function.
2469 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2470 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2471 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2473 * configure.ac (JV_VERSION): Define.
2474 (JV_API_VERSION): Likewise.
2475 * configure: Regenerate.
2476 * include/config.h.in: Regenerate.
2478 2005-04-01 Mark Anderson <mark@panonet.net>
2480 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2481 -Infinity as parameters.
2483 2005-04-01 Michael Koch <konqueror@gmx.de>
2485 * java/io/PipedInputStream.java
2486 (read): Make sure a positive byte value is returned. Revised javadoc.
2487 Thanks to Olafur Bragason for reporting these bugs.
2489 2005-04-01 Tom Tromey <tromey@redhat.com>
2491 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2492 Updated for name change.
2493 (nativeFindClass): New method.
2494 (loadClass): Use nativeFindClass.
2495 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2497 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2498 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2500 (initialize): New method.
2501 (nativeFindClass): Declare.
2502 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2503 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2504 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2506 (definePackageForNative): Removed.
2507 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2508 Moved to VMClassLoader.java.
2509 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2510 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2511 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2512 removed VMClassLoader.java.
2513 (nat_source_files): Removed natVMClassLoader.cc.
2515 2005-04-01 Tom Tromey <tromey@redhat.com>
2517 * Makefile.in: Rebuilt.
2518 * Makefile.am (db_pathtail): Use $(gcc_version), not
2521 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2523 * java/util/Timer.java
2524 (run): Stop the queue if a task throws an exception.
2526 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2528 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2530 2005-03-29 Ian Lance Taylor <ian@airs.com>
2532 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2533 * external/sax/Makefile.in: Rebuild.
2534 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2536 * external/w3c_dom/Makefile.in: Rebuild.
2538 2005-03-29 Tom Tromey <tromey@redhat.com>
2540 * java/lang/natRuntime.cc (insertSystemProperties): Set
2541 gnu.gcj.runtime.endorsed.dirs.
2542 * Makefile.in: Rebuilt.
2543 * Makefile.am (ordinary_java_source_files): Added
2544 HelperClassLoader.java.
2545 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2546 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2548 (init): Use addDirectoriesFromProperty.
2549 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2550 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2551 gnu.gcj.runtime.endorsed.dirs.
2552 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2554 2005-03-26 Chris Burdess <dog@gnu.org>
2556 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2559 2005-03-13 Michael Koch <konqueror@gmx.de>
2561 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2563 2005-03-11 Chris Burdess <dog@gnu.org>
2565 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2568 2005-02-27 Chris Burdess <dog@gnu.org>
2570 * gnu/xml/aelfred2/JAXPFactory.java,
2571 gnu/xml/aelfred2/SAXDriver.java,
2572 gnu/xml/aelfred2/XmlParser.java,
2573 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2574 formatting conventions. Replaced arrays of Object with struct-like
2575 classes for easier maintainability. Made SAXDriver.stringInterning
2576 package private to allow access from XmlParser inside the loop without
2577 a method call overhead.
2579 2005-03-11 Chris Burdess <dog@gnu.org>
2581 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2584 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2586 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2587 settings to sub Makefiles.
2588 (GCJH, ZIP): Prefix with top_builddir.
2589 * configure: Rebuild.
2590 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2591 * external/w3c_dom/Makefile.in: Rebuild.
2592 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2593 * external/sax/Makefile.in: Rebuild.
2595 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2597 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2598 libsocket to the libraries to link for Solaris.
2600 2005-03-28 Per Bothner <per@bothner.com>
2602 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2603 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2605 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2607 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2608 to fix a ONESTEP fallout.
2609 * Makefile.in: Regenerate.
2611 2005-03-25 Mike Stump <mrs@apple.com>
2613 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2614 paths like we do for the compiler, as we use it in external/sax
2615 and it doesn't get MULTIBUILDTOP right when multilibing.
2617 2005-03-24 Anthony Green <green@redhat.com>
2619 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2621 (usage): Add [LIBDIR] to help output.
2622 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2623 * Makefile.am (AM_CXXFLAGS): Define
2624 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2625 (db_pathtail): New macro.
2627 2005-03-24 Tom Tromey <tromey@redhat.com>
2629 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2630 add sax and w3c libraries.
2631 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2633 * external/w3c_dom/Makefile.in: Rebuilt.
2634 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2636 (libw3c_gcj_la_LDFLAGS): New variable.
2637 (noinst_LTLIBRARIES): Renamed.
2638 * external/sax/Makefile.in: Rebuilt.
2639 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2641 (libsax_gcj_la_LDFLAGS): New variable.
2642 (noinst_LTLIBRARIES): Renamed.
2644 2005-03-23 Tom Tromey <tromey@redhat.com>
2646 * Makefile.in: Rebuilt.
2647 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2648 (libgcj0_convenience_la_SOURCES): Don't include
2649 gnu_xml_source_files.
2650 (libgcj0_convenience_la_LIBADD): New variable.
2651 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2652 (all_java_source_files): javax_imageio_source_files,
2653 javax_xml_source_files, and gnu_java_beans_source_files.
2654 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2655 (gnu-xml.lo): New target.
2656 (javax-imageio.lo): Likewise.
2657 (javax-xml.lo): Likewise.
2658 (gnu-java-beans.lo): Likewise.
2659 (gnu_java_beans_source_files): New variable.
2660 (javax_imageio_source_files): Likewise.
2661 (javax_xml_source_files): Likewise.
2662 (javax_source_files): Moved files to other variable.
2663 (awt_java_source_files): Likewise.
2664 (ordinary_java_source_files): Added BootClassLoader.java.
2665 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2666 not system class loader.
2667 (initBootLoader): New method.
2668 (loadClass): Search bootLoader.
2669 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2670 boot loader, not system class loader.
2671 (_Jv_UnregisterInitiatingLoader): Likewise.
2672 (_Jv_FindClass): Likewise. Ensure entries in
2673 bootstrap_class_list are unique.
2674 * java/lang/natClass.cc (getClassLoader): Don't special case
2675 system class loader.
2676 * java/lang/VMClassLoader.java (bootLoader): New field.
2677 (getResource): Use bootLoader.
2678 (getResources): Likewise.
2679 (initBootLoader): Declare.
2680 * gnu/gcj/runtime/BootClassLoader.java: New file.
2681 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2682 (EMPTY_ENUMERATION): Now package-private.
2683 * external/w3c_com/Makefile.in: Rebuilt.
2684 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2685 (w3c.jar): New target.
2686 (classes.stamp): Updated.
2687 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2688 Changed name of library.
2689 (libw3c_gcj_la_SOURCES): New variable.
2690 (libw3c_gcj_la_GCJFLAGS): Likewise.
2691 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2692 * external/sax/Makefile.in: Rebuilt.
2693 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2694 (sax.jar): New target.
2695 (classes.stamp): Updated.
2696 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2697 Changed name of library.
2698 (libsax_gcj_la_SOURCES): New variable.
2699 (libsax_gcj_la_GCJFLAGS): Likewise.
2700 (source_files): Renamed from libsax_convenience_la_SOURCES.
2701 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2703 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2705 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2707 2005-03-23 Sven de Marothy <sven@physto.se>
2709 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2711 * java/util/Calendar.java
2712 (set): Use starting day of week when one is needed if none is given.
2713 * java/text/SimpleDateFormat.java
2714 (parse): Handle 1-12 and 1-24 timestamps correctly.
2715 * java/util/GregorianCalendar.java
2716 (computeTime, computeFields): HOUR should be in 0-11 format.
2717 (nonLeniencyCheck): Adjust leniency checking to that fact.
2718 (getLinearDay): Should be private.
2720 2005-03-23 Tom Tromey <tromey@redhat.com>
2722 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2723 (_Jv_CheckABIVersion): Use it.
2725 2005-03-22 Mike Stump <mrs@apple.com>
2727 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2729 * include/posix.h: .dylib is used on all Apple MACH platforms.
2730 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2732 2005-03-22 Tom Tromey <tromey@redhat.com>
2734 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2736 2005-03-21 Tom Tromey <tromey@redhat.com>
2738 * java/lang/VMCompiler.java (static block): Also catch
2739 BufferUnderflowException.
2741 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2743 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2744 set tool_include_dir. In all substitutions, leave $(gcc_version)
2745 to be expanded by the Makefile.
2746 * aclocal.m4, configure: Regenerate.
2747 * Makefile.am: Set gcc_version. Replace all uses of
2748 @gcc_version@ with $(gcc_version).
2749 * external/Makefile.am, external/sax/Makefile.am
2750 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2751 * testsuite/Makefile.am: Set gcc_version.
2752 * include/Makefile.am: Set gcc_version and tool_include_dir.
2753 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2754 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2755 * testsuite/Makefile.in: Regenerate.
2757 2005-03-17 Andrew Haley <aph@redhat.com>
2759 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2761 Pass klass to _Jv_StackTrace::GetClassContext().
2762 * java/lang/ClassLoader.java (getParent): Pass class to
2763 VMSecurityManager.getClassContext()
2764 (getSystemClassLoader): Likewise.
2765 * java/lang/Package.java (getPackage): Likewise.
2766 (getPackages): Likewise.
2767 * java/lang/SecurityManager.java (getClassContext): Likewise.
2768 (currentClassLoader): Likewise.
2769 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2770 (currentClassLoader) Add new arg: caller.
2771 Pass caller to VMSecurityManager.getClassContext.
2773 * stacktrace.cc (GetClassContext): Correct calculation of
2776 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2777 im->source_file_name.
2779 2005-03-16 Andrew Haley <aph@redhat.com>
2781 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2783 2005-03-16 Tom Tromey <tromey@redhat.com>
2785 * link.cc (ensure_class_linked): Removed #ifdef.
2786 (print_class_loaded): Likewise.
2787 (wait_for_state): Likewise.
2788 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2789 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2790 * include/java-interp.h: ... here.
2792 2005-03-16 Tom Tromey <tromey@redhat.com>
2794 * gnu/java/lang/MainThread.java (run): Load main class using
2795 system class loader.
2797 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2799 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2800 lgcc_s to the libraries to link for Darwin.
2802 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2804 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2805 interpreter-specific code with #ifdef INTERPRETER.
2806 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2807 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2808 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2809 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2810 #ifdef INTERPRETER. Also protect declarations that use it.
2811 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2812 #ifdef INTERPRETER block.
2814 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2817 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2818 * Makefile.in: Rebuilt.
2820 2005-03-15 David Daney <ddaney@avtrex.com>
2822 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2825 2005-03-15 David Daney <ddaney@avtrex.com>
2827 * java/io/BufferedInputStream.java (available): Use 'in' instead
2828 of 'super' for underlying stream access.
2830 (read(byte[], int, int)): Ditto.
2832 (skip): Call skip on underlying stream when possible.
2834 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2836 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2837 SJLJ_EXCEPTIONS is defined.
2839 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2841 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2844 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2846 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2848 (libjava_arguments): Likewise.
2850 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2851 (gcj_jni_test_one): Likewise.
2852 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2853 Add flags to keep the Darwin linker quiet.
2854 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2855 Add -liconv for Darwin.
2857 2005-03-11 Tom Tromey <tromey@redhat.com>
2859 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2860 (_Jv_CheckABIVersion): Use it.
2862 2005-03-11 Tom Tromey <tromey@redhat.com>
2864 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2865 (usage): Document '-p'.
2866 * Makefile.in: Rebuilt.
2867 * Makefile.am (dbexecdir): New variable.
2868 (db_name): Likewise.
2869 (dbexec_DATA): Likewise.
2870 ($(db_name)): New target.
2871 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2872 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2875 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2877 * exception.cc: Remove stray MethodRef.h include.
2878 * java/lang/natClass.cc: Likewise.
2879 * gnu/gcj/runtime/MethodRef.java: Removed.
2880 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2881 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2882 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2883 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2884 * Makefile.in: Rebuilt.
2886 2005-03-10 Tom Tromey <tromey@redhat.com>
2888 * Makefile.in: Rebuilt.
2889 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2891 2005-03-10 Chris Burdess <dog@bluezoo.org>
2893 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2894 not currently parsing the DTD.
2896 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2898 New Stack Trace infrastructure.
2899 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2900 (gnu/gcj/runtime/StackTrace.java): Removed.
2901 (ordinary_java_source_files): Remove obsolete files.
2902 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2903 * configure.host (fallback_backtrace_h): Set backtrace header
2904 for mingw and cygwin targets.
2905 * configure.ac: Make symlink for fallback backtrace headers.
2906 * Makefile.in, configure: Rebuilt.
2907 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2908 Read 'LineNumberTable' attribute.
2909 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2911 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2913 * exception.cc: Remove unused include.
2914 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2915 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2916 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2917 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2918 table to direct threaded instruction values.
2919 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2920 (_Jv_InterpMethod::run): No longer member function. All
2921 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2922 is made or where an instruction could throw.
2923 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2925 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2926 (catch_fpe): Likewise.
2927 * stacktrace.cc: New file. Stack trace code now here.
2928 * gnu/gcj/runtime/MethodRef.java:
2929 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2930 calls addr2line to look up PC addresses in a given binary or shared
2932 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2933 gnu/gcj/runtime/natStackTrace.cc: Removed.
2934 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2935 this function name is specially recognised by the stack trace code
2936 and shouldn't be changed.
2937 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2938 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2939 (_Jv_InterpMethod::run): Update declaration.
2940 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2942 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2943 * include/java-stack.h: New file. Declarations for stack tracing.
2944 * include/jvm.h (_Jv_Frame_info): Removed.
2945 * java/lang/Class.h: Update friend declarations.
2946 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2948 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2949 (getStackTrace): Now native.
2950 (data): New RawDataManaged field.
2951 * java/lang/natClass.cc: Update includes.
2952 (forName): Use _Jv_StackTrace::GetCallingClass for
2953 calling-classloader check.
2954 (getClassLoader): Likewise.
2955 * java/lang/natRuntime.cc: Update includes.
2956 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2957 * java/lang/natVMSecurityManager.cc: Update includes.
2958 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2959 * java/lang/natVMThrowable.cc: New file. Native methods for
2961 * java/lang/reflect/natArray.cc: Update includes.
2962 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2963 accessibility check.
2964 * java/lang/reflect/natConstructor.cc: Update includes.
2965 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2966 accessibility check.
2967 * java/lang/reflect/natField.cc: Update includes.
2968 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2969 accessibility check.
2970 * java/lang/reflect/natMethod.cc: Update includes.
2971 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2972 accessibility check.
2973 * java/util/natResourceBundle.cc: Update includes.
2974 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2975 * java/util/logging/natLogger.cc: Update includes. Use
2976 _Jv_StackTrace::GetCallerInfo to get call-site info.
2977 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2979 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2982 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2984 * testsuite/libjava.compile/PR20312.java: New file.
2985 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2986 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2988 2005-03-09 Andrew Haley <aph@redhat.com>
2990 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2992 (smallTransferTo): New.
2993 (transferFrom): Loop around smallTransferFrom, copying pageSize
2995 (transferTo): Likewise.
2997 2005-03-09 David Daney <ddaney@avtrex.com>
3000 Merge BufferedInputStream from GNU Classpath.
3001 * java/io/BufferedInputStream.java (marktarget): Field removed.
3002 (CHUNKSIZE): Field removed.
3003 (bufferSize): New field.
3004 (BufferedInputStream): Initialize fields.
3005 (close): Invalidate mark and buffer indexes.
3007 (read()): Move mark handling code to refill.
3008 (read(byte[], int, int)): Ditto.
3009 (skip): Ditto and simplify EOF testing.
3010 (refill): Rewritten.
3011 * java/io/InputStreamReader.java (refill): Removed mark and reset
3012 of internal BufferedInputStream.
3014 2005-03-09 Tom Tromey <tromey@redhat.com>
3016 * java/lang/natVMClassLoader.cc (defineClass): Reference
3017 'systemClassLoader' field directly.
3018 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3020 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3021 Reference 'systemClassLoader' field directly.
3022 (_Jv_UnregisterInitiatingLoader): Likewise.
3023 (_Jv_FindClass): Likewise.
3025 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3027 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3029 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3030 the file in GNU Classpath style.
3032 2005-03-09 Tom Tromey <tromey@redhat.com>
3034 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3035 (toString): Synchronize.
3037 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3039 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3040 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3042 2005-03-07 Tom Tromey <tromey@redhat.com>
3044 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3045 (usage): Document '-f'.
3047 2005-03-07 Tom Tromey <tromey@redhat.com>
3049 * java/lang/VMCompiler.java (md5Digest): New field.
3050 (compileClass): Clone md5Digest instead of looking up a new one.
3052 2005-03-07 Tom Tromey <tromey@redhat.com>
3055 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3056 * link.cc (find_field_helper): Added 'type' argument.
3057 (find_field): Updated.
3059 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3060 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3061 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3062 throw UnsupportedOperationException, fixed comments.
3063 (setFont, setForeground): Fixed comments.
3064 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3065 return type to boolean.
3066 (getNextEvent): Fixed javadocs.
3067 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3068 (nativeQueueEmpty): Removed unused code.
3069 (iterateNativeQueue): Removed outer loop.
3071 2005-03-06 Roger Sayle <roger@eyesopen.com>
3074 * Makefile.am (libgcj0_convenience.la): Revert last change.
3075 * Makefile.in: Regenerate.
3077 2005-03-05 Anthony Green <green@redhat.com>
3079 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3080 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3081 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3082 (_Jv_GetDrawingSurface): Set visualID.
3083 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3084 (JAWT_GetAWT): Set Lock and Unlock.
3085 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3087 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3088 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3089 JAWT_LOCK_SURFACE_CHANGED): New macros.
3090 (struct _JAWT): Add Lock and Unlock.
3092 2005-03-05 Roger Sayle <roger@eyesopen.com>
3093 Alexandre Oliva <aoliva@redhat.com>
3094 Kelley Cook <kcook@gcc.gnu.org>
3097 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3098 of the object files to link to avoid exceeding the command line
3099 length limits on some platforms.
3100 (clean-local): Clean up objectlist files.
3101 * Makefile.in: Regenerate.
3103 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3105 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3106 spec_case. Initialize pointer mlo.
3108 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3111 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3113 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3116 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3117 uninitialized variable z.
3119 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3120 possible unused variables.
3122 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3124 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3126 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3129 * testsuite/libjava.jni/jni.exp
3130 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3132 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3134 2005-02-23 David Daney <ddaney@avtrex.com>
3136 * configure.host: Don't use -mxgot for MIPS builds.
3138 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3141 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3142 (COMPPATH): Removed.
3143 (ZIP, GCJH): Replace it with ../$(host_subdir).
3144 (built_gcc_dir): Add $(host_subdir).
3145 * configure: Regenerate.
3146 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3147 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3148 external/w3c_dom/Makefile.in: Regenerate.
3150 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3152 * java/awt/font/TextAttribute.java: changed names to lower case;
3153 (readResolve): implemented.
3154 Added doc comments all over.
3156 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3159 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3160 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3161 value. Move argument parsing code to prims.cc.
3162 * prims.cc (no_properties): Remove.
3163 (_Jv_Compiler_Properties): Initialize to NULL.
3164 (_Jv_Properties_Count): Initialize to 0.
3165 (parse_verbose_args): New function.
3166 (parse_init_args): New function.
3167 (_Jv_CreateJavaVM): Call parse_init_args.
3168 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3169 * gcj/cni.h (JvVMOption): New struct.
3170 (JvVMInitArgs): Likewise.
3171 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3173 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3174 (_Jv_VMInitArgs): Likewise.
3175 * include/java-props.h (_Jv_Properties_Count): Declare.
3176 * java/lang/natRuntime.cc (insertSystemProperties): Use
3177 _Jv_Properties_Count in for loop exit condition.
3178 * testsuite/libjava.jni/jni.exp
3179 (gcj_invocation_compile_c_to_binary): New procedure.
3180 (gcj_invocation_test_one): Likewise.
3181 (gcj_jni_run): Run JNI invocation API tests.
3182 * testsuite/libjava.jni/invocation/PR16923.c,
3183 testsuite/libjava.jni/invocation/PR16923.java,
3184 testsuite/libjava.jni/invocation/PR16923.out: New test.
3186 2005-02-23 Michael Koch <konqueror@gmx.de>
3188 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3189 * Makefile.in: Regenerated.
3191 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3193 * gnu/java/nio/ChannelReader: Fixed comments.
3195 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3197 * java/nio/channels/Channels: Added FIXMEs about
3198 stub method implementation.
3199 (newReader): Implemented.
3200 * gnu/java/nio/ChannelReader: New class.
3202 2005-02-23 Michael Koch <konqueror@gmx.de>
3204 * java/text/SimpleDateFormat.java:
3205 Removed unused import.
3207 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3210 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3211 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3212 * Makefile.in: Regenerate.
3213 * configure.ac: Check for libXtst.
3214 * configure: Regenerate.
3216 2005-02-22 Mark Wielaard <address@bogus.example.com>
3218 * java/security/AlgorithmParameterGenerator.java (getInstance):
3219 Mention provider when throwing NoSuchProviderException.
3220 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3221 * java/security/KeyFactory.java (getInstance): Likewise.
3222 * java/security/KeyStore.java (getInstance): Likewise.
3223 * java/security/SecureRandom.java (getInstance): Likewise.
3224 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3226 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3228 * java/lang/reflect/Proxy.java,
3230 java/security/SecureRandom.java,
3231 java/util/Timer.java,
3232 java/util/prefs/AbstractPreferences.java:
3233 Don't catch java.lang.ThreadDeath.
3235 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3237 * java/awt/font/TransformAttribute.java,
3238 (TransformAttribute(AffineTransform)): throw
3239 IllegalArgumentException for null transform.
3240 (getTransform): return a copy of transform.
3241 Added doc comments to all.
3243 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3245 * java/io/Externalizable.java,
3246 java/io/Serializable.java
3247 (serialVersionUID): Removed.
3248 * java/rmi/server/RemoteObject.java,
3249 java/rmi/server/UID.java
3250 (serialVersionUID): Made private.
3251 * java/rmi/server/RemoteRef.java,
3252 java/rmi/server/ServerRef.java
3253 (serialVersionUID): Set proper value.
3254 * java/security/interfaces/DSAPrivateKey.java,
3255 java/security/interfaces/DSAPublicKey.java,
3256 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3257 java/security/interfaces/RSAPrivateCrtKey.java,
3258 java/security/interfaces/RSAPrivateKey.java,
3259 java/security/interfaces/RSAPublicKey.java,
3260 javax/crypto/SecretKey.java
3261 (serialVersionUID): Added.
3263 2005-02-22 Tom Tromey <tromey@redhat.com>
3265 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3267 2005-02-22 Tom Tromey <tromey@redhat.com>
3270 * verify.cc (type::EITHER): New constant.
3271 (check_field_constant): Use it.
3272 (type::compatible): Handle it.
3274 2005-02-22 Michael Koch <konqueror@gmx.de>
3276 * gnu/java/security/PolicyFile.java,
3277 gnu/java/security/pkcs/PKCS7SignedData.java,
3278 gnu/java/security/pkcs/SignerInfo.java:
3279 Fixed copyright header.
3281 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3283 * java/beans/PropertyDescriptor.java
3284 (PropertyDescriptor,setReadMethod): Set propertyType.
3286 2005-02-22 Michael Koch <konqueror@gmx.de>
3288 * java/nio/DirectByteBufferImpl.java
3289 (owner): Fixed formatting of javadoc.
3290 * java/text/DateFormat.java
3291 (getAvailableLocales): Fixed formatting.
3292 * java/text/SimpleDateFormat.java:
3293 Fixed formatting and import statement order.
3294 * java/util/Calendar.java
3295 (Calendar): Fixed javadoc to be HTML compliant.
3296 * java/util/SimpleTimeZone.java:
3299 2005-02-22 Roman Kennke <roman@ontographics.com>
3301 * javax/swing/plaf/basic/BasicLookAndFeel.java
3302 (initComponentDefaults): Fixed Button left and right margin.
3304 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3306 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3310 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3311 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3312 (getWidth): New method.
3313 (getHeight): Likewise.
3314 (create): Remove width, height and insets parameters. Move size
3316 (realize_cb): ... here. New function.
3317 (connectSignals): Connect realize_cb.
3318 (request_frame_extents): Remove FIXME. Move
3319 postInsetsChangedEvent lookup ...
3320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3321 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3322 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3324 (windowGetWidthID): Likewise.
3325 (windowGetHeightID): Likewise.
3327 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3330 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3331 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3333 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3335 Merge serialization from GNU Classpath.
3336 * gcj/method.h: Add missing #includes.
3337 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3338 primitive class IDs on the stream here...
3339 (resolveClass): ...not here.
3340 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3342 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3343 setLongNative, setIntNative, setShortNative, setCharNative,
3344 setByteNative, setBooleanNative, setObjectNative): New native methods.
3345 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3346 setLongNative, setIntNative, setShortNative, setCharNative,
3347 setByteNative, setBooleanNative, setObjectNative): Implement them.
3348 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3349 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3350 the constructor here.
3351 (callConstructor): Removed.
3352 (getCallersClassLoader): Removed.
3353 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3354 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3355 to control whether setting final field values is permitted. Call
3356 getAddr() with checkFinal parameter instead of setAddr().
3357 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3358 only if not done already.
3359 (getAddr): Add checkFinal parameter. Do the final field check only if
3363 2005-02-21 Mark Wielaard <mark@klomp.org>
3366 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3369 2005-02-21 Mark Wielaard <mark@klomp.org>
3372 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3373 without a super class and us ObjectStreamClass.lookupForClassObject().
3374 (resolveClass): Check for primitive types.
3375 (lookupClass): Return null when argument is null.
3377 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3379 * java/io/ObjectInputStream.java
3380 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3382 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3384 * java/io/ObjectOutputStream.java
3385 (writeObject, callWriteMethod): Replaced reflection with accessing
3386 cached info in ObjectStreamClass.
3387 (getMethod): Removed.
3388 * java/io/ObjectStreamClass.java
3389 (findMethod): Added check to make sure the method found has the
3391 (cacheMethods): Added writeReplace and writeObject methods.
3392 (setFlags): Look at new writeObjectMethod field instead of doing
3394 (writeReplaceMethod): New field.
3395 (writeObjectMethod): New field.
3397 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3398 Jeroen Frijters <jeroen@frijters.net>
3400 * java/io/ObjectInputStream.java
3401 (newObject): Changed prototype. Get a constructor reflect object
3403 (callConstructor): Removed.
3404 (allocateObject): Changed prototype.
3405 (readClassDescriptor): Build the constructor reflection directly.
3406 (readObject): Invoke newObject using the new prototype.
3408 * java/io/ObjectStreamClass.java
3409 (firstNonSerializableParent): Removed.
3410 (firstNonSerializableParentConstructor): Added.
3412 2005-02-21 Mark Wielaard <mark@klomp.org>
3414 * gnu/java/locale/LocaleInformation_en.java: Extend
3415 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3417 2005-02-21 Mark Wielaard <mark@klomp.org>
3419 * java/text/SimpleDateFormat.java
3420 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3421 NullPointerException when formatData is null.
3423 2005-02-21 Mark Wielaard <mark@klomp.org>
3425 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3426 taking dstSavings into account.
3428 2005-02-21 Sven de Marothy <sven@physto.se>
3430 * java/text/SimpleDateFormat.java,
3431 (parse): Set correct DST_OFFSET to the correct value.
3433 2005-02-21 Mark Wielaard <mark@klomp.org>
3435 * java/util/SimpleTimeZone.java (checkRule): Throw
3436 IllegalArgumentException when month out of range.
3438 2005-02-21 Sven de Marothy <sven@physto.se>
3440 * java/util/GregorianCalendar.java,
3441 (add): Don't set fields directly anymore. Use set()
3443 2005-02-21 Mark Wielaard <mark@klomp.org>
3445 * java/text/SimpleDateFormat.java (CompiledField.toString):
3446 Use StringBuffer, not StringBuilder.
3447 (toString): Likewise.
3449 2005-02-21 Sven de Marothy <sven@physto.se>
3451 * java/util/Calendar.java
3452 (clear): Dates should clear to local time.
3453 * java/util/GregorianCalendar.java
3454 (computeTime): Fix priority problem with DAY_OF_WEEK,
3455 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3457 2005-02-21 Sven de Marothy <sven@physto.se>
3459 * java/util/Calendar.java
3460 (Calendar): Constructor should clear fields.
3462 2005-02-21 Sven de Marothy <sven@physto.se>
3464 * java/text/SimpleDateFormat.java
3465 (parse): Tweak handling of 2-year dates
3466 * java/util/Calendar.java
3467 (clear): Clear fields to correct value.
3468 * java/util/GregorianCalendar.java
3469 (computeTime): Correct handling of time zones.
3470 Correct field minimum values.
3472 2005-02-21 Sven de Marothy <sven@physto.se>
3474 * java/util/Calendar.java
3475 (set) Invalidate all fields on first call to set().
3477 2005-02-21 Sven de Marothy <sven@physto.se>
3479 * java/util/GregorianCalendar.java
3480 (computeTime): Fixed handling of time zones.
3482 2005-02-21 Sven de Marothy <sven@physto.se>
3484 * java/util/Calendar.java
3485 (clear): Set values to Epoch instead of zero.
3486 (set): Set isSet to the relevant field pattern instead of just
3488 * java/util/GregorianCalendar.java
3489 (getBundle): Removed.
3490 (getDayOfYear): Removed.
3491 (getFirstDayOfMonth): New private method.
3492 (nonLeniencyCheck): New private method.
3493 (computeTime): Correct handling of insufficient data.
3495 2005-02-21 Sven de Marothy <sven@physto.se>
3497 * java/util/Calendar.java: Invalidate ERA field on setting
3499 * java/util/SimpleTimeZone.java:
3500 (getDaysInMonth): Reimplemented.
3501 * java/util/GregorianCalendar.java:
3502 (getLinearTime): Removed.
3503 (isLeapYear(int,boolean)): Removed.
3504 (before(), after()): Removed.
3505 (computeTime): Reimplemented.
3507 2005-02-21 Sven de Marothy <sven@physto.se>
3509 * java/util/Calendar.java: Reformatted.
3510 * java/util/GregorianCalendar.java: Reformatted.
3511 * java/util/SimpleTimeZone.java: Reformatted.
3513 2005-02-21 Sven de Marothy <sven@physto.se>
3515 * java/util/GregorianCalendar.java
3516 (GregorianCalendar): Update fields in the constructor
3518 2005-02-21 Noa Resare <noa@resare.com>
3520 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3521 (set(int,int)): Set and use new field.
3522 (set(int,int,int)): Check new field.
3524 2005-02-21 Noa Resare <address@hidden>
3526 * java/util/Calendar.java(set):
3527 Fix for DST related regression.
3529 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3531 * java/util/Calendar.java
3532 (setTimeInMillis): Added call to clear, removed computeFields call.
3533 * java/util/Date.java
3534 (Date(int,int,int,int,int,int)): Removed workaround for
3535 GregorianCalendar bug.
3536 * java/util/GregorianCalendar.java
3537 (GregorianCalendar): Chained all constructors to a (new)
3539 (computeTime): Fixed support for lenient month treatment.
3540 (getLinearDay): Return long instead of int.
3541 (calculateDay): Added fields argument and changed day argument
3544 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3546 * java/text/SimpleDateFormat.java
3547 Lots of documentation updates.
3548 (readObject(java.io.ObjectInputStream)): Wraps
3549 IllegalArgumentException as specified.
3550 (compileFormat(String)): Uses standardChars
3551 rather than the local pattern characters.
3552 Throws IllegalArgumentException rather than
3554 (toString()): Extended to include all variables
3556 (translateLocalizedPattern(String, String, String)):
3557 Renamed to better define the use of this method.
3559 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3561 * java/text/DateFormat.java:
3562 Documented pattern character offset constants and
3564 (Field): Added new static fields for new pattern chars.
3565 * java/text/SimpleDateFormat.java:
3566 (CompiledField): Changed name of FieldSizePair class
3567 to CompiledField after adding the character as an
3568 attribute. Changed fields to private and added
3569 accessors to give encapsulation.
3570 (CompiledField.CompiledField(int,int,char)): Extended
3571 with character field.
3572 (CompiledField.getField()): New accessor method.
3573 (CompiledField.getSize()): New acceessor method.
3574 (CompiledField.getCharacter()): New accessor method.
3575 (CompiledField.toString()): Added primarily for debugging.
3576 (standardChars): Now uses extended 24 character sequence.
3577 (compileFormat(String)): Changed to use CompiledField.
3578 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3579 java.text.FieldPosition)): Changed to use CompiledField.
3580 New handler for RFC 822 timezones added.
3582 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3584 * java/text/SimpleDateFormat.java:
3585 (parse(String, java.text.ParsePosition)):
3586 Changed 'E' and 'M' cases to use both
3587 short and long names. Extended 'z'
3588 case to also handle 'Z', and deal
3589 with simple GMT offsets such as +0100.
3590 (computeOffset(String)): New private method,
3591 which converts a GMT offset specification,
3592 such as GMT-0500 to a numeric offset in
3594 * java/util/TimeZone.java:
3595 (timezones()): Added "CEST", the daylight
3596 savings time version of "CET", or Central
3599 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3601 * java/text/SimpleDateFormat.java:
3602 (parse): Set the DST offset to 0 when parsing
3603 GMT offset timezones.
3605 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3607 * java/text/SimpleDateFormat.java:
3608 (parse): Use offset to set ZONE_OFFSET
3609 rather than the DST_OFFSET, so that
3610 GMT offset timezones change the right
3613 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3615 * java/text/SimpleDateFormat.java:
3616 (getDateFormatSymbols()): return a copy
3617 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3618 throw exception on null input
3619 (clone()): implemented to clone
3622 2005-02-21 Sven de Marothy <sven@physto.se>
3624 * java/text/SimpleDateFormat.java
3625 (parse): comparison should be case-insensitive, ignore null
3628 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3630 * gnu/java/beans/IntrospectionIncubator.java
3631 (addMethod) Reverts the patch that ntroduced a regression (see bug
3632 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3634 2005-02-21 Michael Koch <konqueror@gmx.de>
3636 * java/awt/Checkbox.java
3637 (next_checkbox_number): New static variable.
3638 (generateName): New method.
3639 (getUniqueLong): Likewise.
3640 * java/awt/Window.java
3641 (next_window_number): New static variable.
3642 (generateName): New method.
3643 (getUniqueLong): Likewise.
3645 2005-02-21 Mark Wielaard <mark@klomp.org>
3647 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3650 2005-02-21 Andrew Haley <aph@redhat.com>
3652 * Makefile.in: Rebuilt.
3653 * Makefile.am (nat_source_files): Added natLogger.cc.
3654 * java/util/logging/natLogger.cc: New file.
3655 * java/util/logging/Logger.java (getCallerStackFrame): Now
3658 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3660 * Makefile.am (all_property_files): Remove left over.
3661 (classes.stamp): Add stamp for the ONESTEP build, also known as
3662 --enable-libgcj-multifile.
3663 * Makefile.in: Regenerated.
3665 2005-02-21 Michael Koch <konqueror@gmx.de>
3667 * java/awt/Button.java,
3668 java/awt/Container.java,
3670 java/awt/Frame.java,
3671 java/text/CollationElementIterator.java,
3672 java/text/RuleBasedCollator.java,
3673 java/util/PropertyPermission.java:
3674 Fixed formatting issues all over.
3676 2005-02-21 Mark Wielaard <mark@klomp.org>
3678 * java/io/FileDescriptor.java (sync): Add real exception to
3679 SyncFailedException.
3681 2005-02-21 Michael Koch <konqueror@gmx.de>
3683 * java/io/InputStreamReader.java:
3686 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3689 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3691 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3693 * libraries/javalib/gnu/regexp/RE.java,
3694 libraries/javalib/java/io/ObjectInputStream.java,
3695 libraries/javalib/java/security/AllPermission.java,
3696 libraries/javalib/java/security/BasicPermission.java,
3697 libraries/javalib/java/security/Permissions.java,
3698 libraries/javalib/java/text/MessageFormat.java:
3699 Made 'inner' classes real public static inner classes,
3700 and made them final where possible, or removed them
3703 2005-02-20 Michael Koch <konqueror@gmx.de>
3705 * gnu/java/text/FormatCharacterIterator.java:
3706 Removed redundant modifiers.
3708 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3710 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3713 2005-02-19 Michael Koch <konqueror@gmx.de>
3715 * Makefile.am: Added new files in gnu/java/beans and
3716 java/beans/XMLDecoder.java.
3717 * Makefile.in: Regenerated.
3719 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3721 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3722 assignment behavior by using java.lang.reflect.Array.set()
3725 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3727 * gnu/java/beans/EmptyBeanInfo.java,
3728 gnu/java/beans/info/ComponentBeanInfo.java:
3729 Removed unused files.
3731 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3733 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3734 of AppletStub for java.beans.Beans.instantiate.
3735 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3737 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3738 to be conformant with Javadoc guidelines.
3739 (instantiate): Added two more overloaded variants, reworked user
3740 documentation, fixed exception behavior, fixed behavior when
3743 2005-02-19 Mark Wielaard <mark@klomp.org>
3745 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3747 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3749 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3751 * gnu/java/beans/decoder/AbstractContext.java,
3752 gnu/java/beans/decoder/AbstractCreatableContext.java,
3753 gnu/java/beans/decoder/AbstractElementHandler.java,
3754 gnu/java/beans/decoder/AbstractObjectContext.java,
3755 gnu/java/beans/decoder/ArrayContext.java,
3756 gnu/java/beans/decoder/ArrayHandler.java,
3757 gnu/java/beans/decoder/AssemblyException.java,
3758 gnu/java/beans/decoder/BooleanHandler.java,
3759 gnu/java/beans/decoder/ByteHandler.java,
3760 gnu/java/beans/decoder/CharHandler.java,
3761 gnu/java/beans/decoder/ClassHandler.java,
3762 gnu/java/beans/decoder/ConstructorContext.java,
3763 gnu/java/beans/decoder/Context.java,
3764 gnu/java/beans/decoder/DecoderContext.java,
3765 gnu/java/beans/decoder/DefaultExceptionListener.java,
3766 gnu/java/beans/decoder/DoubleHandler.java,
3767 gnu/java/beans/decoder/DummyContext.java,
3768 gnu/java/beans/decoder/DummyHandler.java,
3769 gnu/java/beans/decoder/ElementHandler.java,
3770 gnu/java/beans/decoder/FloatHandler.java,
3771 gnu/java/beans/decoder/GrowableArrayContext.java,
3772 gnu/java/beans/decoder/IndexContext.java,
3773 gnu/java/beans/decoder/IntHandler.java,
3774 gnu/java/beans/decoder/JavaHandler.java,
3775 gnu/java/beans/decoder/LongHandler.java,
3776 gnu/java/beans/decoder/MethodContext.java,
3777 gnu/java/beans/decoder/MethodFinder.java,
3778 gnu/java/beans/decoder/NullHandler.java,
3779 gnu/java/beans/decoder/ObjectContext.java,
3780 gnu/java/beans/decoder/ObjectHandler.java,
3781 gnu/java/beans/decoder/PersistenceParser.java,
3782 gnu/java/beans/decoder/PropertyContext.java,
3783 gnu/java/beans/decoder/ShortHandler.java,
3784 gnu/java/beans/decoder/SimpleHandler.java,
3785 gnu/java/beans/decoder/StaticMethodContext.java,
3786 gnu/java/beans/decoder/StringHandler.java,
3787 gnu/java/beans/decoder/VoidHandler.java: New class
3788 implementing java.beans.XMLDecoder decoding functionality.
3789 * java/beans/XMLDecoder.java: New class.
3791 2005-02-19 Michael Koch <konqueror@gmx.de>
3793 * javax/swing/JTextField.java
3794 (notfiyAction): Added javadoc.
3796 2005-02-19 Sven de Marothy <sven@physto.se>
3798 * javax/swing/SpinnerDateModel.java: Implemented.
3800 2005-02-19 Michael Koch <konqueror@gmx.de>
3802 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3803 * Makefile.in: Regenerated.
3805 2005-02-19 Michael Koch <konqueror@gmx.de>
3807 * gnu/java/nio/SelectorImpl.java:
3808 Reworked import statements.
3809 (register): Removed unused code.
3810 * java/nio/channels/Channels.java: Reformatted.
3811 * java/nio/charset/Charset.java: Likewise.
3812 * java/rmi/server/RemoteObject.java
3813 (serialVersionUID): Made private.
3814 * java/rmi/server/UID.java
3815 (serialVersionUID): Likewise.
3817 2005-02-19 Michael Koch <konqueror@gmx.de>
3819 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3820 gnu/java/net/protocol/ftp/BlockInputStream.java,
3821 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3822 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3823 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3824 gnu/java/net/protocol/ftp/DTPInputStream.java,
3825 gnu/java/net/protocol/ftp/DTP.java,
3826 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3827 gnu/java/net/protocol/ftp/FTPConnection.java,
3828 gnu/java/net/protocol/ftp/FTPException.java,
3829 gnu/java/net/protocol/ftp/FTPResponse.java,
3830 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3831 gnu/java/net/protocol/ftp/Handler.java,
3832 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3833 gnu/java/net/protocol/ftp/StreamInputStream.java,
3834 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3835 gnu/java/net/CRLFInputStream.java,
3836 gnu/java/net/CRLFOutputStream.java,
3837 gnu/java/net/GetLocalHostAction.java,
3838 gnu/java/net/protocol/ftp/package.html: New files.
3839 * Makefile.am: Added new files.
3840 * Makefile.in: Regenerated.
3842 2005-02-18 Tom Tromey <tromey@redhat.com>
3844 * link.cc (make_vtable): Remove abstract method check.
3845 (append_partial_itable): Likewise.
3848 * verify.cc (type::equals): Fixed test.
3849 * testsuite/libjava.lang/PR20056.out: New file.
3850 * testsuite/libjava.lang/PR20056.java: New file.
3852 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3854 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3855 not the HashEntry. Reported by Jean-Marie White.
3857 2005-02-18 Tom Tromey <tromey@redhat.com>
3860 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3861 * link.cc (has_field_p): New function.
3862 * verify.cc (check_field_constant): Added 'putfield' argument.
3863 (verify_instructions_0): Updated.
3864 (type::equals): New method.
3866 2005-02-18 Anthony Green <green@redhat.com>
3868 * NEWS: Draft of libgcj NEWS for 4.0.
3870 2005-02-18 Anthony Green <green@redhat.com>
3872 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3873 architecture names to "i386" for compatibility reasons. Win32
3876 2005-02-18 Anthony Green <green@redhat.com>
3878 * gij.cc (version): Change year for '--version' to 2005.
3879 * gnu/gcj/convert/Convert.java: Ditto.
3880 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3881 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3883 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3884 recent copyright year in `--version' output.
3886 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3888 * java/nio/charset/Charset.java (forName): Throws
3889 IllegalArgumentException when argument is null
3890 and added documentation.
3892 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3894 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3895 Move the position of the source buffer forward.
3897 2005-02-17 Tom Tromey <tromey@redhat.com>
3899 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3900 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3901 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3902 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3903 Changed type of second argument. Rewrote.
3904 (make_vtable): Use it.
3905 (append_partial_itable): Updated.
3906 (layout_vtable_methods): Updated.
3908 2005-02-17 Michael Koch <konqueror@gmx.de>
3910 * gnu/java/net/PlainSocketImpl.java
3911 (shutdownInput): Added javadoc.
3912 (shutdownOutput): Likewise.
3914 2005-02-17 Michael Koch <konqueror@gmx.de>
3916 * javax/print/attribute/standard/Chromaticity.java,
3917 javax/print/attribute/standard/Destination.java,
3918 javax/print/attribute/standard/MediaPrintableArea.java,
3919 javax/print/attribute/standard/MediaSize.java: New files.
3920 * Makefile.am: Added new files.
3921 * Makefile.in: Regenerated.
3923 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3924 Michael Koch <konqueror@gmx.de>
3926 * gnu/java/net/protocol/http/Cookie.java,
3927 gnu/java/net/protocol/http/HTTPConnection.java,
3928 gnu/java/net/protocol/http/HTTPDateFormat.java,
3929 gnu/java/net/protocol/http/Request.java,
3930 gnu/java/nio/PipeImpl.java,
3931 gnu/java/rmi/dgc/DGCImpl.java,
3932 gnu/java/rmi/server/ConnectionRunnerPool.java,
3933 gnu/java/rmi/server/UnicastConnectionManager.java,
3934 gnu/java/security/der/DERWriter.java,
3935 gnu/java/security/pkcs/SignerInfo.java,
3936 gnu/java/security/provider/EncodedKeyFactory.java,
3937 gnu/java/security/provider/GnuDHPublicKey.java,
3938 gnu/java/security/provider/GnuDSAPrivateKey.java,
3939 gnu/java/security/provider/GnuDSAPublicKey.java,
3940 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3941 gnu/java/security/x509/X500DistinguishedName.java,
3942 gnu/java/security/x509/X509CRL.java,
3943 gnu/java/security/x509/X509CRLEntry.java,
3944 gnu/java/security/x509/X509Certificate.java,
3945 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3946 gnu/java/security/x509/ext/CertificatePolicies.java,
3947 gnu/java/security/x509/ext/PolicyConstraint.java,
3948 gnu/xml/dom/Consumer.java,
3949 gnu/xml/dom/DomCharacterData.java,
3950 gnu/xml/dom/DomDocument.java,
3951 gnu/xml/dom/DomDocumentBuilder.java,
3952 gnu/xml/dom/DomIterator.java,
3953 gnu/xml/dom/DomNode.java,
3954 gnu/xml/dom/DomXPathExpression.java,
3955 gnu/xml/dom/DomXPathResult.java,
3956 gnu/xml/dom/JAXPFactory.java,
3957 gnu/xml/pipeline/CallFilter.java,
3958 gnu/xml/pipeline/DomConsumer.java,
3959 gnu/xml/pipeline/LinkFilter.java,
3960 gnu/xml/pipeline/NSFilter.java,
3961 gnu/xml/pipeline/TeeConsumer.java,
3962 gnu/xml/pipeline/ValidationConsumer.java,
3963 gnu/xml/pipeline/WellFormednessFilter.java,
3964 gnu/xml/pipeline/XIncludeFilter.java,
3965 gnu/xml/pipeline/XsltFilter.java,
3966 gnu/xml/transform/ApplyImportsNode.java,
3967 gnu/xml/transform/Bindings.java,
3968 gnu/xml/transform/DocumentFunction.java,
3969 gnu/xml/transform/FormatNumberFunction.java,
3970 gnu/xml/transform/NodeNumberNode.java,
3971 gnu/xml/transform/NumberNode.java,
3972 gnu/xml/transform/Stylesheet.java,
3973 gnu/xml/transform/SystemPropertyFunction.java,
3974 gnu/xml/transform/Template.java,
3975 gnu/xml/transform/TemplatesImpl.java,
3976 gnu/xml/transform/TransformerImpl.java,
3977 gnu/xml/transform/ValueOfNode.java,
3978 gnu/xml/transform/XSLURIResolver.java,
3979 gnu/xml/util/DoParse.java,
3980 gnu/xml/util/Resolver.java,
3981 gnu/xml/xpath/Expr.java,
3982 gnu/xml/xpath/FunctionCall.java,
3983 gnu/xml/xpath/RelationalExpr.java,
3984 gnu/xml/xpath/Selector.java,
3985 gnu/xml/xpath/XPathParser.java:
3986 Reworked import statements, fixed modifier order and some little
3989 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3991 * java/nio/ByteBufferImpl.java (compact):
3992 Set position and limit even if no bytes were moved.
3994 2005-02-17 Michael Koch <konqueror@gmx.de>
3996 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3997 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3998 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3999 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4000 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4001 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4002 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4003 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4004 * java/nio/FloatBufferImpl.java (compact): Set position.
4005 * java/nio/CharBufferImpl.java (compact): Likewise.
4006 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4007 * java/nio/IntBufferImpl.java (compact): Likewise.
4008 * java/nio/LongBufferImpl.java (compact): Likewise.
4009 * java/nio/ShortBufferImpl.java (compact): Likewise.
4011 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4013 * java/nio/ByteBufferImpl.java,
4014 java/nio/CharBufferImpl.java,
4015 java/nio/DirectByteBufferImpl.java,
4016 java/nio/DoubleBufferImpl.java,
4017 java/nio/FloatBufferImpl.java,
4018 java/nio/IntBufferImpl.java,
4019 java/nio/LongBufferImpl.java,
4020 java/nio/MappedByteBufferImpl.java,
4021 java/nio/ShortBufferImpl.java
4022 (compact): Added explicit read-only check and invalidate mark.
4024 2005-02-17 Michael Koch <konqueror@gmx.de>
4026 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4027 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4028 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4029 gnu/java/awt/peer/gtk/GdkGraphics.java,
4030 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4031 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4032 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4033 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4034 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4035 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4036 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4037 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4038 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4039 gnu/java/awt/peer/gtk/GtkClipboard.java,
4040 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4041 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4042 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4043 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4044 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4045 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4046 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4047 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4048 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4049 gnu/java/awt/peer/gtk/GtkToolkit.java,
4050 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4051 java/applet/Applet.java,
4052 java/awt/AWTError.java,
4053 java/awt/AWTEvent.java,
4054 java/awt/AWTEventMulticaster.java,
4055 java/awt/AWTException.java,
4056 java/awt/AWTKeyStroke.java,
4057 java/awt/AWTPermission.java,
4058 java/awt/ActiveEvent.java,
4059 java/awt/Adjustable.java,
4060 java/awt/AlphaComposite.java,
4061 java/awt/AttributeValue.java,
4062 java/awt/BorderLayout.java,
4063 java/awt/BufferCapabilities.java,
4064 java/awt/Button.java,
4065 java/awt/Canvas.java,
4066 java/awt/CheckboxGroup.java,
4067 java/awt/CheckboxMenuItem.java,
4068 java/awt/Color.java,
4069 java/awt/ColorPaintContext.java,
4070 java/awt/Component.java,
4071 java/awt/ComponentOrientation.java,
4072 java/awt/Composite.java,
4073 java/awt/CompositeContext.java,
4074 java/awt/Container.java,
4075 java/awt/ContainerOrderFocusTraversalPolicy.java,
4076 java/awt/DefaultFocusTraversalPolicy.java,
4077 java/awt/Dialog.java,
4078 java/awt/Dimension.java,
4079 java/awt/DisplayMode.java,
4080 java/awt/EventQueue.java,
4081 java/awt/FileDialog.java,
4082 java/awt/FontFormatException.java,
4083 java/awt/Graphics.java,
4084 java/awt/Graphics2D.java,
4085 java/awt/GraphicsConfigTemplate.java,
4086 java/awt/GraphicsConfiguration.java,
4087 java/awt/GraphicsDevice.java,
4088 java/awt/GridBagLayout.java,
4089 java/awt/GridBagLayoutInfo.java,
4090 java/awt/GridLayout.java,
4091 java/awt/HeadlessException.java,
4092 java/awt/IllegalComponentStateException.java,
4093 java/awt/Image.java,
4094 java/awt/Insets.java,
4095 java/awt/ItemSelectable.java,
4096 java/awt/JobAttributes.java,
4097 java/awt/KeyEventDispatcher.java,
4098 java/awt/KeyEventPostProcessor.java,
4099 java/awt/KeyboardFocusManager.java,
4100 java/awt/Label.java,
4101 java/awt/LayoutManager.java,
4102 java/awt/MenuBar.java,
4103 java/awt/MenuComponent.java,
4104 java/awt/MenuContainer.java,
4105 java/awt/PageAttributes.java,
4106 java/awt/Paint.java,
4107 java/awt/PaintContext.java,
4108 java/awt/Panel.java,
4109 java/awt/Point.java,
4110 java/awt/Polygon.java,
4111 java/awt/PrintGraphics.java,
4112 java/awt/PrintJob.java,
4113 java/awt/Rectangle.java,
4114 java/awt/RenderingHints.java,
4115 java/awt/Shape.java,
4116 java/awt/Stroke.java,
4117 java/awt/SystemColor.java,
4118 java/awt/Toolkit.java,
4119 java/awt/Transparency.java,
4120 java/awt/Window.java,
4121 java/awt/color/CMMException.java,
4122 java/awt/color/ColorSpace.java,
4123 java/awt/color/ICC_ColorSpace.java,
4124 java/awt/color/ICC_Profile.java,
4125 java/awt/color/ProfileDataException.java,
4126 java/awt/datatransfer/FlavorTable.java,
4127 java/awt/datatransfer/MimeTypeParseException.java,
4128 java/awt/datatransfer/Transferable.java,
4129 java/awt/datatransfer/UnsupportedFlavorException.java,
4130 java/awt/dnd/Autoscroll.java,
4131 java/awt/dnd/DnDConstants.java,
4132 java/awt/dnd/DragGestureListener.java,
4133 java/awt/dnd/DragSourceAdapter.java,
4134 java/awt/dnd/DragSourceDropEvent.java,
4135 java/awt/dnd/DragSourceListener.java,
4136 java/awt/dnd/DragSourceMotionListener.java,
4137 java/awt/dnd/DropTargetAdapter.java,
4138 java/awt/dnd/DropTargetContext.java,
4139 java/awt/dnd/DropTargetListener.java,
4140 java/awt/dnd/InvalidDnDOperationException.java,
4141 java/awt/dnd/MouseDragGestureRecognizer.java,
4142 java/awt/dnd/peer/DropTargetContextPeer.java,
4143 java/awt/event/AWTEventListener.java,
4144 java/awt/event/AWTEventListenerProxy.java,
4145 java/awt/event/ActionEvent.java,
4146 java/awt/event/AdjustmentEvent.java,
4147 java/awt/event/AdjustmentListener.java,
4148 java/awt/event/ComponentAdapter.java,
4149 java/awt/event/ComponentEvent.java,
4150 java/awt/event/ComponentListener.java,
4151 java/awt/event/ContainerAdapter.java,
4152 java/awt/event/ContainerEvent.java,
4153 java/awt/event/ContainerListener.java,
4154 java/awt/event/FocusAdapter.java,
4155 java/awt/event/FocusEvent.java,
4156 java/awt/event/FocusListener.java,
4157 java/awt/event/InputEvent.java,
4158 java/awt/event/InputMethodEvent.java,
4159 java/awt/event/InputMethodListener.java,
4160 java/awt/event/InvocationEvent.java,
4161 java/awt/event/ItemEvent.java,
4162 java/awt/event/ItemListener.java,
4163 java/awt/event/KeyAdapter.java,
4164 java/awt/event/KeyEvent.java,
4165 java/awt/event/KeyListener.java,
4166 java/awt/event/MouseAdapter.java,
4167 java/awt/event/MouseEvent.java,
4168 java/awt/event/MouseListener.java,
4169 java/awt/event/MouseMotionAdapter.java,
4170 java/awt/event/MouseMotionListener.java,
4171 java/awt/event/MouseWheelEvent.java,
4172 java/awt/event/MouseWheelListener.java,
4173 java/awt/event/PaintEvent.java,
4174 java/awt/event/TextEvent.java,
4175 java/awt/event/TextListener.java,
4176 java/awt/event/WindowAdapter.java,
4177 java/awt/event/WindowEvent.java,
4178 java/awt/event/WindowFocusListener.java,
4179 java/awt/event/WindowListener.java,
4180 java/awt/event/WindowStateListener.java,
4181 java/awt/font/TextHitInfo.java,
4182 java/awt/geom/CubicCurve2D.java,
4183 java/awt/geom/Dimension2D.java,
4184 java/awt/geom/Ellipse2D.java,
4185 java/awt/geom/IllegalPathStateException.java,
4186 java/awt/geom/Line2D.java,
4187 java/awt/geom/NoninvertibleTransformException.java,
4188 java/awt/geom/PathIterator.java,
4189 java/awt/geom/Point2D.java,
4190 java/awt/geom/QuadCurve2D.java,
4191 java/awt/geom/RectangularShape.java,
4192 java/awt/geom/RoundRectangle2D.java,
4193 java/awt/im/InputContext.java,
4194 java/awt/im/InputMethodHighlight.java,
4195 java/awt/im/InputMethodRequests.java,
4196 java/awt/im/InputSubset.java,
4197 java/awt/im/spi/InputMethod.java,
4198 java/awt/im/spi/InputMethodDescriptor.java,
4199 java/awt/image/BandCombineOp.java,
4200 java/awt/image/BandedSampleModel.java,
4201 java/awt/image/ByteLookupTable.java,
4202 java/awt/image/ComponentSampleModel.java,
4203 java/awt/image/DataBuffer.java,
4204 java/awt/image/DataBufferByte.java,
4205 java/awt/image/DataBufferDouble.java,
4206 java/awt/image/DataBufferFloat.java,
4207 java/awt/image/DataBufferInt.java,
4208 java/awt/image/DataBufferShort.java,
4209 java/awt/image/DataBufferUShort.java,
4210 java/awt/image/ImagingOpException.java,
4211 java/awt/image/Kernel.java,
4212 java/awt/image/LookupTable.java,
4213 java/awt/image/MultiPixelPackedSampleModel.java,
4214 java/awt/image/PackedColorModel.java,
4215 java/awt/image/PixelInterleavedSampleModel.java,
4216 java/awt/image/RGBImageFilter.java,
4217 java/awt/image/Raster.java,
4218 java/awt/image/RasterFormatException.java,
4219 java/awt/image/SampleModel.java,
4220 java/awt/image/ShortLookupTable.java,
4221 java/awt/image/SinglePixelPackedSampleModel.java,
4222 java/awt/image/WritableRaster.java,
4223 java/awt/print/PrinterAbortException.java,
4224 java/awt/print/PrinterException.java,
4225 java/awt/print/PrinterIOException.java,
4226 java/beans/AppletInitializer.java,
4227 java/beans/ExceptionListener.java,
4228 java/beans/PropertyChangeEvent.java,
4229 java/beans/PropertyChangeListenerProxy.java,
4230 java/beans/PropertyChangeSupport.java,
4231 java/beans/PropertyDescriptor.java,
4232 java/beans/VetoableChangeListenerProxy.java,
4233 java/beans/VetoableChangeSupport.java,
4234 java/io/BufferedReader.java,
4235 java/io/ByteArrayInputStream.java,
4236 java/io/ByteArrayOutputStream.java,
4237 java/io/CharArrayReader.java,
4238 java/io/CharArrayWriter.java,
4239 java/io/CharConversionException.java,
4240 java/io/DataInput.java,
4241 java/io/DataInputStream.java,
4242 java/io/DataOutput.java,
4243 java/io/DataOutputStream.java,
4244 java/io/EOFException.java,
4245 java/io/FileInputStream.java,
4246 java/io/FileNotFoundException.java,
4247 java/io/FileOutputStream.java,
4248 java/io/FilenameFilter.java,
4249 java/io/FilterInputStream.java,
4250 java/io/FilterOutputStream.java,
4251 java/io/FilterReader.java,
4252 java/io/FilterWriter.java,
4253 java/io/IOException.java,
4254 java/io/InputStream.java,
4255 java/io/InterruptedIOException.java,
4256 java/io/LineNumberInputStream.java,
4257 java/io/LineNumberReader.java,
4258 java/io/ObjectInputStream.java,
4259 java/io/ObjectStreamException.java,
4260 java/io/OptionalDataException.java,
4261 java/io/OutputStream.java,
4262 java/io/OutputStreamWriter.java,
4263 java/io/PrintStream.java,
4264 java/io/PrintWriter.java,
4265 java/io/PushbackInputStream.java,
4266 java/io/PushbackReader.java,
4267 java/io/RandomAccessFile.java,
4268 java/io/Reader.java,
4269 java/io/SequenceInputStream.java,
4270 java/io/Serializable.java,
4271 java/io/StreamCorruptedException.java,
4272 java/io/StreamTokenizer.java,
4273 java/io/StringBufferInputStream.java,
4274 java/io/StringWriter.java,
4275 java/io/SyncFailedException.java,
4276 java/io/UTFDataFormatException.java,
4277 java/io/UnsupportedEncodingException.java,
4278 java/io/WriteAbortedException.java,
4279 java/io/Writer.java,
4280 java/lang/AbstractMethodError.java,
4281 java/lang/ArithmeticException.java,
4282 java/lang/ArrayIndexOutOfBoundsException.java,
4283 java/lang/ArrayStoreException.java,
4284 java/lang/AssertionError.java,
4285 java/lang/Boolean.java,
4286 java/lang/Byte.java,
4287 java/lang/Class.java,
4288 java/lang/ClassCastException.java,
4289 java/lang/ClassCircularityError.java,
4290 java/lang/ClassLoader.java,
4291 java/lang/ClassNotFoundException.java,
4292 java/lang/CloneNotSupportedException.java,
4293 java/lang/Cloneable.java,
4294 java/lang/Comparable.java,
4295 java/lang/Compiler.java,
4296 java/lang/Double.java,
4297 java/lang/Error.java,
4298 java/lang/Exception.java,
4299 java/lang/ExceptionInInitializerError.java,
4300 java/lang/Float.java,
4301 java/lang/IllegalAccessError.java,
4302 java/lang/IllegalAccessException.java,
4303 java/lang/IllegalArgumentException.java,
4304 java/lang/IllegalMonitorStateException.java,
4305 java/lang/IllegalStateException.java,
4306 java/lang/IllegalThreadStateException.java,
4307 java/lang/IncompatibleClassChangeError.java,
4308 java/lang/IndexOutOfBoundsException.java,
4309 java/lang/InheritableThreadLocal.java,
4310 java/lang/InstantiationError.java,
4311 java/lang/InstantiationException.java,
4312 java/lang/Integer.java,
4313 java/lang/InternalError.java,
4314 java/lang/InterruptedException.java,
4315 java/lang/LinkageError.java,
4316 java/lang/Long.java,
4317 java/lang/NegativeArraySizeException.java,
4318 java/lang/NoClassDefFoundError.java,
4319 java/lang/NoSuchFieldError.java,
4320 java/lang/NoSuchFieldException.java,
4321 java/lang/NoSuchMethodError.java,
4322 java/lang/NoSuchMethodException.java,
4323 java/lang/NullPointerException.java,
4324 java/lang/Number.java,
4325 java/lang/NumberFormatException.java,
4326 java/lang/OutOfMemoryError.java,
4327 java/lang/Process.java,
4328 java/lang/Runnable.java,
4329 java/lang/Runtime.java,
4330 java/lang/RuntimeException.java,
4331 java/lang/RuntimePermission.java,
4332 java/lang/SecurityException.java,
4333 java/lang/SecurityManager.java,
4334 java/lang/Short.java,
4335 java/lang/StackOverflowError.java,
4336 java/lang/StackTraceElement.java,
4337 java/lang/StringBuffer.java,
4338 java/lang/StringIndexOutOfBoundsException.java,
4339 java/lang/ThreadDeath.java,
4340 java/lang/ThreadGroup.java,
4341 java/lang/Throwable.java,
4342 java/lang/UnsatisfiedLinkError.java,
4343 java/lang/UnsupportedOperationException.java,
4344 java/lang/VerifyError.java,
4345 java/lang/VirtualMachineError.java,
4346 java/lang/reflect/AccessibleObject.java,
4347 java/lang/reflect/Array.java,
4348 java/lang/reflect/InvocationTargetException.java,
4349 java/lang/reflect/Member.java,
4350 java/lang/reflect/Modifier.java,
4351 java/lang/reflect/Proxy.java,
4352 java/lang/reflect/ReflectPermission.java,
4353 java/lang/reflect/UndeclaredThrowableException.java,
4354 java/math/BigInteger.java,
4355 java/net/NetworkInterface.java,
4356 java/nio/ByteBufferHelper.java,
4357 java/nio/ByteBufferImpl.java,
4358 java/nio/DirectByteBufferImpl.java,
4359 java/nio/DoubleBufferImpl.java,
4360 java/nio/FloatBufferImpl.java,
4361 java/nio/IntBufferImpl.java,
4362 java/nio/LongBufferImpl.java,
4363 java/nio/ShortBufferImpl.java,
4364 java/nio/channels/Channel.java,
4365 java/nio/channels/IllegalBlockingModeException.java,
4366 java/nio/charset/spi/CharsetProvider.java,
4367 java/security/AccessControlException.java,
4368 java/security/BasicPermission.java,
4369 java/security/DigestException.java,
4370 java/security/DigestInputStream.java,
4371 java/security/DigestOutputStream.java,
4372 java/security/GeneralSecurityException.java,
4373 java/security/Guard.java,
4374 java/security/GuardedObject.java,
4375 java/security/InvalidAlgorithmParameterException.java,
4376 java/security/InvalidKeyException.java,
4377 java/security/InvalidParameterException.java,
4378 java/security/Key.java,
4379 java/security/KeyException.java,
4380 java/security/KeyManagementException.java,
4381 java/security/KeyStoreException.java,
4382 java/security/MessageDigestSpi.java,
4383 java/security/NoSuchAlgorithmException.java,
4384 java/security/NoSuchProviderException.java,
4385 java/security/Permission.java,
4386 java/security/PermissionCollection.java,
4387 java/security/Permissions.java,
4388 java/security/Principal.java,
4389 java/security/PrivateKey.java,
4390 java/security/PrivilegedActionException.java,
4391 java/security/ProviderException.java,
4392 java/security/PublicKey.java,
4393 java/security/SecureRandom.java,
4394 java/security/SecureRandomSpi.java,
4395 java/security/SignatureException.java,
4396 java/security/SignatureSpi.java,
4397 java/security/SignedObject.java,
4398 java/security/Signer.java,
4399 java/security/UnrecoverableKeyException.java,
4400 java/security/UnresolvedPermission.java,
4401 java/security/acl/AclNotFoundException.java,
4402 java/security/acl/LastOwnerException.java,
4403 java/security/acl/NotOwnerException.java,
4404 java/security/cert/CertPath.java,
4405 java/security/cert/CertPathBuilderException.java,
4406 java/security/cert/CertPathValidatorException.java,
4407 java/security/cert/CertStoreException.java,
4408 java/text/BreakIterator.java,
4409 java/text/ChoiceFormat.java,
4410 java/text/CollationElementIterator.java,
4411 java/text/CollationKey.java,
4412 java/text/Collator.java,
4413 java/text/DateFormat.java,
4414 java/text/DateFormatSymbols.java,
4415 java/text/DecimalFormat.java,
4416 java/text/DecimalFormatSymbols.java,
4417 java/text/FieldPosition.java,
4418 java/text/Format.java,
4419 java/text/NumberFormat.java,
4420 java/text/ParseException.java,
4421 java/text/ParsePosition.java,
4422 java/text/StringCharacterIterator.java,
4423 java/util/AbstractCollection.java,
4424 java/util/AbstractList.java,
4425 java/util/AbstractMap.java,
4426 java/util/AbstractSequentialList.java,
4427 java/util/AbstractSet.java,
4428 java/util/ArrayList.java,
4429 java/util/Arrays.java,
4430 java/util/BitSet.java,
4431 java/util/Collection.java,
4432 java/util/Collections.java,
4433 java/util/Comparator.java,
4434 java/util/ConcurrentModificationException.java,
4435 java/util/Currency.java,
4436 java/util/Date.java,
4437 java/util/EmptyStackException.java,
4438 java/util/Enumeration.java,
4439 java/util/EventListener.java,
4440 java/util/EventListenerProxy.java,
4441 java/util/EventObject.java,
4442 java/util/HashMap.java,
4443 java/util/HashSet.java,
4444 java/util/Hashtable.java,
4445 java/util/IdentityHashMap.java,
4446 java/util/Iterator.java,
4447 java/util/LinkedHashSet.java,
4448 java/util/LinkedList.java,
4449 java/util/List.java,
4450 java/util/ListIterator.java,
4451 java/util/ListResourceBundle.java,
4453 java/util/MissingResourceException.java,
4454 java/util/NoSuchElementException.java,
4455 java/util/Observable.java,
4456 java/util/Observer.java,
4457 java/util/Properties.java,
4458 java/util/PropertyPermissionCollection.java,
4459 java/util/RandomAccess.java,
4461 java/util/SortedMap.java,
4462 java/util/SortedSet.java,
4463 java/util/Stack.java,
4464 java/util/StringTokenizer.java,
4465 java/util/TooManyListenersException.java,
4466 java/util/TreeMap.java,
4467 java/util/TreeSet.java,
4468 java/util/Vector.java,
4469 java/util/logging/FileHandler.java,
4470 java/util/logging/Level.java,
4471 java/util/prefs/BackingStoreException.java,
4472 java/util/prefs/InvalidPreferencesFormatException.java,
4473 java/util/prefs/Preferences.java,
4474 javax/accessibility/Accessible.java,
4475 javax/accessibility/AccessibleAction.java,
4476 javax/accessibility/AccessibleBundle.java,
4477 javax/accessibility/AccessibleComponent.java,
4478 javax/accessibility/AccessibleContext.java,
4479 javax/accessibility/AccessibleEditableText.java,
4480 javax/accessibility/AccessibleExtendedComponent.java,
4481 javax/accessibility/AccessibleExtendedTable.java,
4482 javax/accessibility/AccessibleHyperlink.java,
4483 javax/accessibility/AccessibleHypertext.java,
4484 javax/accessibility/AccessibleIcon.java,
4485 javax/accessibility/AccessibleKeyBinding.java,
4486 javax/accessibility/AccessibleRelation.java,
4487 javax/accessibility/AccessibleRelationSet.java,
4488 javax/accessibility/AccessibleResourceBundle.java,
4489 javax/accessibility/AccessibleRole.java,
4490 javax/accessibility/AccessibleSelection.java,
4491 javax/accessibility/AccessibleState.java,
4492 javax/accessibility/AccessibleStateSet.java,
4493 javax/accessibility/AccessibleTable.java,
4494 javax/accessibility/AccessibleTableModelChange.java,
4495 javax/accessibility/AccessibleText.java,
4496 javax/accessibility/AccessibleValue.java,
4497 javax/imageio/IIOException.java,
4498 javax/imageio/ImageIO.java,
4499 javax/imageio/spi/IIOServiceProvider.java,
4500 javax/imageio/spi/ImageInputStreamSpi.java,
4501 javax/imageio/spi/ImageOutputStreamSpi.java,
4502 javax/imageio/spi/ImageReaderWriterSpi.java,
4503 javax/imageio/spi/ImageTranscoderSpi.java,
4504 javax/imageio/spi/RegisterableService.java,
4505 javax/imageio/spi/ServiceRegistry.java,
4506 javax/imageio/stream/IIOByteBuffer.java,
4507 javax/imageio/stream/ImageInputStream.java,
4508 javax/imageio/stream/ImageOutputStream.java,
4509 javax/naming/Binding.java,
4510 javax/naming/CannotProceedException.java,
4511 javax/naming/CompositeName.java,
4512 javax/naming/CompoundName.java,
4513 javax/naming/LinkException.java,
4514 javax/naming/LinkRef.java,
4515 javax/naming/NameClassPair.java,
4516 javax/naming/Reference.java,
4517 javax/naming/ReferralException.java,
4518 javax/naming/directory/Attribute.java,
4519 javax/naming/directory/AttributeModificationException.java,
4520 javax/naming/directory/Attributes.java,
4521 javax/naming/directory/DirContext.java,
4522 javax/naming/directory/ModificationItem.java,
4523 javax/naming/directory/SearchControls.java,
4524 javax/naming/directory/SearchResult.java,
4525 javax/naming/event/EventContext.java,
4526 javax/naming/event/EventDirContext.java,
4527 javax/naming/event/NamespaceChangeListener.java,
4528 javax/naming/event/NamingExceptionEvent.java,
4529 javax/naming/event/NamingListener.java,
4530 javax/naming/event/ObjectChangeListener.java,
4531 javax/naming/ldap/Control.java,
4532 javax/naming/ldap/ExtendedResponse.java,
4533 javax/naming/ldap/HasControls.java,
4534 javax/naming/ldap/LdapContext.java,
4535 javax/naming/ldap/UnsolicitedNotification.java,
4536 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4537 javax/naming/ldap/UnsolicitedNotificationListener.java,
4538 javax/naming/spi/DirectoryManager.java,
4539 javax/naming/spi/ResolveResult.java,
4540 javax/naming/spi/Resolver.java,
4541 javax/security/auth/callback/Callback.java,
4542 javax/security/auth/callback/CallbackHandler.java,
4543 javax/security/auth/callback/ChoiceCallback.java,
4544 javax/security/auth/callback/ConfirmationCallback.java,
4545 javax/security/auth/callback/LanguageCallback.java,
4546 javax/security/auth/callback/NameCallback.java,
4547 javax/security/auth/callback/PasswordCallback.java,
4548 javax/security/auth/callback/TextInputCallback.java,
4549 javax/security/auth/callback/TextOutputCallback.java,
4550 javax/security/auth/callback/UnsupportedCallbackException.java,
4551 javax/security/sasl/Sasl.java,
4552 javax/security/sasl/SaslServerFactory.java,
4553 javax/swing/DefaultBoundedRangeModel.java,
4554 javax/swing/JComponent.java,
4555 javax/swing/JList.java,
4556 javax/swing/JProgressBar.java,
4557 javax/swing/JRadioButton.java,
4558 javax/swing/JTextArea.java,
4559 javax/swing/JTextField.java,
4560 javax/swing/JToggleButton.java,
4561 javax/swing/JTree.java,
4562 javax/swing/SpinnerListModel.java,
4563 javax/swing/event/EventListenerList.java,
4564 javax/swing/text/JTextComponent.java,
4565 javax/swing/text/StringContent.java,
4566 javax/swing/text/Utilities.java,
4567 javax/swing/undo/UndoManager.java,
4568 javax/swing/undo/UndoableEditSupport.java,
4569 javax/transaction/HeuristicCommitException.java,
4570 javax/transaction/HeuristicMixedException.java,
4571 javax/transaction/HeuristicRollbackException.java,
4572 javax/transaction/InvalidTransactionException.java,
4573 javax/transaction/NotSupportedException.java,
4574 javax/transaction/RollbackException.java,
4575 javax/transaction/Status.java,
4576 javax/transaction/Synchronization.java,
4577 javax/transaction/SystemException.java,
4578 javax/transaction/Transaction.java,
4579 javax/transaction/TransactionManager.java,
4580 javax/transaction/TransactionRequiredException.java,
4581 javax/transaction/TransactionRolledbackException.java,
4582 javax/transaction/UserTransaction.java,
4583 javax/transaction/xa/XAException.java,
4584 javax/transaction/xa/XAResource.java,
4585 javax/transaction/xa/Xid.java,
4586 javax/xml/XMLConstants.java,
4587 javax/xml/datatype/DatatypeConfigurationException.java,
4588 javax/xml/datatype/DatatypeConstants.java,
4589 javax/xml/datatype/DatatypeFactory.java,
4590 javax/xml/datatype/Duration.java,
4591 javax/xml/datatype/XMLGregorianCalendar.java,
4592 javax/xml/namespace/NamespaceContext.java,
4593 javax/xml/namespace/QName.java,
4594 javax/xml/parsers/DocumentBuilder.java,
4595 javax/xml/parsers/DocumentBuilderFactory.java,
4596 javax/xml/parsers/FactoryConfigurationError.java,
4597 javax/xml/parsers/ParserConfigurationException.java,
4598 javax/xml/parsers/SAXParser.java,
4599 javax/xml/parsers/SAXParserFactory.java,
4600 javax/xml/transform/ErrorListener.java,
4601 javax/xml/transform/OutputKeys.java,
4602 javax/xml/transform/Result.java,
4603 javax/xml/transform/Source.java,
4604 javax/xml/transform/SourceLocator.java,
4605 javax/xml/transform/Templates.java,
4606 javax/xml/transform/Transformer.java,
4607 javax/xml/transform/TransformerConfigurationException.java,
4608 javax/xml/transform/TransformerException.java,
4609 javax/xml/transform/TransformerFactory.java,
4610 javax/xml/transform/TransformerFactoryConfigurationError.java,
4611 javax/xml/transform/URIResolver.java,
4612 javax/xml/transform/dom/DOMLocator.java,
4613 javax/xml/transform/dom/DOMResult.java,
4614 javax/xml/transform/dom/DOMSource.java,
4615 javax/xml/transform/sax/SAXResult.java,
4616 javax/xml/transform/sax/SAXSource.java,
4617 javax/xml/transform/sax/SAXTransformerFactory.java,
4618 javax/xml/transform/sax/TemplatesHandler.java,
4619 javax/xml/transform/sax/TransformerHandler.java,
4620 javax/xml/transform/stream/StreamResult.java,
4621 javax/xml/transform/stream/StreamSource.java,
4622 javax/xml/validation/Schema.java,
4623 javax/xml/validation/SchemaFactory.java,
4624 javax/xml/validation/TypeInfoProvider.java,
4625 javax/xml/validation/Validator.java,
4626 javax/xml/validation/ValidatorHandler.java,
4627 javax/xml/xpath/XPathConstants.java,
4628 javax/xml/xpath/XPathException.java,
4629 javax/xml/xpath/XPathExpression.java,
4630 javax/xml/xpath/XPathExpressionException.java,
4631 javax/xml/xpath/XPathFactory.java,
4632 javax/xml/xpath/XPathFactoryConfigurationException.java,
4633 javax/xml/xpath/XPathFunction.java,
4634 javax/xml/xpath/XPathFunctionException.java,
4635 javax/xml/xpath/XPathFunctionResolver.java:
4636 Fixed usage of @author tag, reworked import statements,
4637 removed CVS tags, changed the modifier order and fixed
4638 HTML usage in javadocs.
4640 2005-02-16 Julian Scheid <julian@sektor37.de>
4642 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4644 (encodeLoop): Likewise.
4646 2005-02-16 Mark Wielaard <mark@klomp.org>
4648 * Makefile.am (ordinary_java_source_files): Add new files
4649 gnu/java/security/ber/BER.java,
4650 gnu/java/security/ber/BEREncodingException.java,
4651 gnu/java/security/ber/BERReader.java,
4652 gnu/java/security/ber/BERValue.java,
4653 gnu/java/security/pkcs/PKCS7SignedData.java and
4654 gnu/java/security/pkcs/SignerInfo.java.
4655 * Makefile.in: Regenerated.
4657 2005-02-16 Casey Marshall <csm@gnu.org>
4659 * gnu/java/security/provider/GnuDSAPrivateKey.java
4660 (encodedKey): new field.
4661 (getFormat): return "PKCS#8".
4662 (getEncoded): implemented.
4663 (toString): check for 'null' values.
4664 * gnu/java/security/provider/GnuDSAPublicKey.java
4665 (encodedKey): new field.
4666 (getFormat): return "X.509".
4667 (getEncoded): implemented.
4668 (toString): check for 'null' values.
4670 2005-02-16 Michael Koch <konqueror@gmx.de>
4672 * java/util/jar/JarFile.java: Imports reworked.
4674 2005-02-16 Mark Wielaard <mark@klomp.org>
4676 * java/util/jar/JarFile.java (verify): Make package private.
4677 (signaturesRead): Likewise.
4678 (verified): Likewise.
4679 (entryCerts): Likewise.
4682 (entries): Construct new JarEnumeration with reference to this.
4683 (JarEnumeration): Make static.
4684 (JarEnumeration.jarfile): New field.
4685 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4686 Compare verified value to Boolean.TRUE or Boolean.False only
4687 when verify is true.
4688 (getEntry): Make synchronized. Compare value of verified to
4690 (getInputStream): Construct EntryInputStream with reference to this.
4691 (getManifest): Make synchronized.
4692 (EntryInputStream): Make static.
4693 (EntryInputStream.jarfile): New field.
4694 (EntryInputStream.EntryInputStream): Check if manifest exists,
4695 before getting attributes.
4696 (eof): Synchronize on jarfile.
4698 2005-02-16 Casey Marshall <csm@gnu.org>
4700 * java/util/jar/JarFile.java (verify): return if the jar is signed
4701 with an unsupported algorithm.
4703 2005-02-16 Mark Wielaard <mark@klomp.org>
4705 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4706 InputStream as argument.
4707 (getInputStream): Construct a new EntryInputStream with the result of
4708 super.getInputStream(entry).
4710 2005-02-16 Casey Marshall <csm@gnu.org>
4712 Signed JAR file support.
4713 * java/net/URLClassLoader.java
4714 (JarURLResource.getCertificates): re-read jar entry to ensure
4715 certificates are picked up.
4716 (findClass): fill in class `signers' field, too.
4717 * java/util/jar/JarFile.java (META_INF): new constant.
4718 (PKCS7_DSA_SUFFIX): new constant.
4719 (PKCS7_RSA_SUFFIX): new constant.
4720 (DIGEST_KEY_SUFFIX): new constant.
4721 (SF_SUFFIX): new constant.
4722 (MD2_OID): new constant.
4723 (MD4_OID): new constant.
4724 (MD5_OID): new constant.
4725 (SHA1_OID): new constant.
4726 (DSA_ENCRYPTION_OID): new constant.
4727 (RSA_ENCRYPTION_OID): new constant.
4728 (signaturesRead): new field.
4729 (verified): new field.
4730 (entryCerts): new field.
4731 (DEBUG): new constant.
4732 (debug): new method.
4733 (JarEnumeration.nextElement): fill in entry certificates, read
4734 signatures if they haven't been read.
4735 (getEntry): likewise.
4736 (getInputStream): verify stream if it hasn't been verified yet.
4737 (readSignatures): new method.
4738 (verify): new method.
4739 (verifyHashes): new method.
4740 (readManifestEntry): new method.
4741 (EntryInputStream): new class.
4742 * gnu/java/io/Base64InputStream.java (decode): new class
4744 * gnu/java/security/der/DERReader.java don't make class
4746 (in): made protected.
4748 (readLength): likewise.
4749 * gnu/java/security/ber/BER.java,
4750 * gnu/java/security/ber/BEREncodingException.java,
4751 * gnu/java/security/ber/BERReader.java,
4752 * gnu/java/security/ber/BERValue.java,
4753 * gnu/java/security/pkcs/PKCS7SignedData.java,
4754 * gnu/java/security/pkcs/SignerInfo.java:
4757 2005-02-16 Tom Tromey <tromey@redhat.com>
4759 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4760 copied file on exit.
4762 2005-02-15 Mark Wielaard <mark@klomp.org>
4764 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4766 2005-02-15 Michael Koch <konqueror@gmx.de>
4768 * gnu/java/awt/peer/gtk/GtkArg.java,
4769 gnu/java/awt/peer/gtk/GtkArgList.java:
4772 2005-02-15 Craig Black <craig.black@aonix.com>
4774 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4775 (postMenuActionEvent): Implement to notify ItemListeners.
4776 * java/awt/CheckboxMenuItem.java
4777 (dispatchEventImpl): Update state on ItemEvent.
4778 * java/awt/MenuItem.java
4779 (processActionEvent): Retarget event source.
4781 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4783 * gnu/java/awt/color/ClutProfileConverter.java,
4784 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4785 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4786 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4787 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4788 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4789 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4790 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4791 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4792 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4793 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4794 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4795 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4796 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4797 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4798 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4799 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4800 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4801 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4802 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4803 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4804 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4805 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4806 gnu/java/awt/peer/gtk/GtkToolkit.java,
4807 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4808 javax/swing/JPopupMenu.java,
4809 javax/swing/JSpinner.java,
4810 javax/swing/SortingFocusTraversalPolicy.java,
4811 javax/swing/SwingUtilities.java,
4812 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4813 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4814 javax/swing/tree/DefaultMutableTreeNode.java:
4815 Removed unused imports and expanded starred
4818 2005-02-15 Mark Wielaard <mark@klomp.org>
4820 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4821 IllegalArgumentException when the given String is null.
4823 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4824 when given keystoke sequence cannot be parsed.
4826 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4827 if one is installed. Only install the given menubar is not null.
4829 * javax/swing/JViewport.java (getViewSize): Return an empty
4830 Dimension when the view isn't set or preferred component size when
4833 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4834 empty Dimension when there is no view set.
4835 (minimumLayoutSize): Likewise.
4836 (layoutContainer): Don't try to layout when there is no view.
4838 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4841 * include/jawt.h: Likewise.
4842 * include/jawt_md.h: Likewise.
4843 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4845 * jni/classpath/classpath_jawt.h: Likewise.
4846 * jni/gtk-peer/gtk_jawt.c: Likewise.
4847 * Makefile.am: Build libjawt.so.
4849 2005-02-15 Michael Koch <konqueror@gmx.de>
4851 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4852 Merged file header with classpath CVS head.
4853 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4854 Merged code formatting with classpath CVS head.
4855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4857 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4858 Handle special JNI strings with 2 '\0' at the end.
4859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4860 Merged file header with classpath CVS head.
4861 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4862 Merged code formatting with classpath CVS head.
4864 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4867 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4868 (handle_response): Use GTK_RESPONSE_ACCEPT.
4870 2005-02-15 Graydon Hoare <graydon@redhat.com>
4872 * Makefile.am: Fix library build breakage.
4873 * Makefile.in: Regenerate.
4875 2005-02-15 Michael Koch <konqueror@gmx.de>
4877 * javax/swing/JTabbedPane.java
4878 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4880 2005-02-15 Michael Koch <konqueror@gmx.de>
4882 * javax/swing/tree/DefaultMutableTreeNode.java:
4883 Reworked Javadocs all over.
4884 (getPathToRoot): Fixed direction of result array initialization.
4886 2005-02-15 Michael Koch <konqueror@gmx.de>
4888 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4889 Fix includes for cairo 0.3.0 snappshot.
4890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4891 Merged file header from classpath CVS HEAD.
4893 2005-02-15 Craig Black <craig.black@aonix.com>
4895 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4896 (copyState): Pass a JNI global reference to signal handler.
4897 (realize_cb): Use and free JNI global reference.
4898 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4899 (create): Pass a JNI global reference to signal handler.
4900 (selection_changed): Match declaration.
4901 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4902 (dispose): Do not remove entries from state tables until after widget is
4905 2005-02-15 Michael Koch <konqueror@gmx.de>
4907 * java/awt/Container.javai (paramString):
4908 If layoutMgr is null just return result of super.paramString().
4909 * java/awt/Scrollbar.java: Reformatted.
4910 * java/awt/im/InputContext.java (static):
4911 Removed redundant initializations.
4913 2005-02-15 Michael Koch <konqueror@gmx.de>
4915 * javax/swing/ImageIcon.java,
4916 javax/swing/UIManager.java,
4917 javax/swing/text/EditorKit.java,
4918 javax/swing/text/Segment.java:
4919 More whitespace cleanups.
4921 2005-02-15 Michael Koch <konqueror@gmx.de>
4923 * gnu/java/awt/EmbeddedWindow.java,
4924 gnu/java/awt/image/ImageDecoder.java,
4925 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4926 java/awt/DefaultKeyboardFocusManager.java,
4927 java/awt/Frame.java,
4928 java/awt/image/RGBImageFilter.java,
4929 javax/swing/AbstractButton.java,
4930 javax/swing/ActionMap.java,
4931 javax/swing/ComponentInputMap.java,
4932 javax/swing/DefaultDesktopManager.java,
4933 javax/swing/ImageIcon.java,
4934 javax/swing/InputMap.java,
4935 javax/swing/JButton.java,
4936 javax/swing/JCheckBox.java,
4937 javax/swing/JCheckBoxMenuItem.java,
4938 javax/swing/JEditorPane.java,
4939 javax/swing/JMenu.java,
4940 javax/swing/JMenuItem.java,
4941 javax/swing/JOptionPane.java,
4942 javax/swing/JRootPane.java,
4943 javax/swing/JTable.java,
4944 javax/swing/MenuSelectionManager.java,
4945 javax/swing/RepaintManager.java,
4946 javax/swing/ScrollPaneLayout.java,
4947 javax/swing/SortingFocusTraversalPolicy.java,
4948 javax/swing/UIManager.java,
4949 javax/swing/ViewportLayout.java,
4950 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4951 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4952 javax/swing/plaf/basic/BasicLabelUI.java,
4953 javax/swing/plaf/basic/BasicListUI.java,
4954 javax/swing/plaf/basic/BasicMenuItemUI.java,
4955 javax/swing/plaf/basic/BasicMenuUI.java,
4956 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4957 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4958 javax/swing/plaf/basic/BasicRootPaneUI.java,
4959 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4960 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4961 javax/swing/plaf/basic/BasicTextUI.java,
4962 javax/swing/table/TableColumnModel.java,
4963 javax/swing/text/AbstractDocument.java,
4964 javax/swing/text/EditorKit.java,
4965 javax/swing/text/Position.java,
4966 javax/swing/text/Segment.java,
4967 javax/swing/text/StyledEditorKit.java,
4968 javax/swing/text/ViewFactory.java:
4969 Cleanup whitespace differences to classpath CVS HEAD.
4971 2005-02-15 Graydon Hoare <graydon@redhat.com>
4973 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4974 (finalize): Call finish from here.
4975 (produce): Not from here.
4976 * Makefile.am (gtk_c_source_files):
4977 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4978 * Makefile.in: Regenerate.
4979 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4981 (cairoDrawGdkTextLayout):
4983 (getPeerTextMetrics):
4984 (getPeerFontMetrics): Remove.
4985 (setFont): Don't call cairoSetFont.
4986 (cairoDrawGlyphVector): Accept font peer argument.
4987 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4989 (ensure_metrics_cairo):
4990 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4991 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4992 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4993 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4995 (metrics_surface): Remove.
4996 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4997 Pass and install font peer.
4999 2005-02-15 Graydon Hoare <graydon@redhat.com>
5001 * Makefile.am: Create "split library" structure.
5002 * Makefile.in: Regenerate.
5004 2005-02-15 Graydon Hoare <graydon@redhat.com>
5006 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5008 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5009 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5010 Release GDK lock during upcalls.
5012 2005-02-15 Graydon Hoare <graydon@redhat.com>
5014 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5016 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5017 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5018 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5019 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5020 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5023 (getTextMetrics): New native methods.
5024 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5025 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5026 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5027 * Makefile.in: Regenerate.
5029 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5031 * javax/swing/SwingUtilities.java:
5032 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5033 Implemented and documented.
5034 (getAccessibleChild(java.awt.Component, int)): Likewise.
5035 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5036 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5037 (getAccessibleStateSet(java.awt.Component)): Likewise.
5039 2005-02-15 Michael Koch <konqueror@gmx.de>
5041 * javax/swing/SwingUtilities.java
5042 (getFontMetrics): Removed.
5044 2005-02-15 Michael Koch <konqueror@gmx.de>
5046 * java/awt/Container.java
5047 (paramString): Implemented.
5048 * javax/swing/AbstractButton.java
5049 (paramString): Implemented.
5050 * javax/swing/JComponent.java
5051 (paramString): Implemented.
5052 * javax/swing/JMenu.java
5053 (paramString): Implemented.
5054 * javax/swing/JMenuBar.java
5055 (paramString): Implemented.
5056 * javax/swing/JMenuItem.java
5057 (paramString): Implemented.
5058 * javax/swing/JPopupMenu.java
5059 (paramString): Implemented.
5061 2005-02-15 Michael Koch <konqueror@gmx.de>
5063 * javax/swing/JMenu.java
5064 (uiClassID): Removed.
5065 (JMenu): Set invoker on popup menu.
5066 (getUIClassID): Return id directly.
5067 (getItemCount): Simply return getMenuComponentCount().
5069 (isTopLevelMenu): Simplified.
5070 * javax/swing/JMenuItem.java
5071 (uiClassID): Removed.
5072 (getUIClassID): Return id directly.
5073 * javax/swing/JPopupMenu.java
5074 (uiClassID): Removed.
5075 (JPopupMenu): Always initialize correctly.
5076 (getSubElements): Only return components implementing MenuElement
5078 (HeavyWeightPopup.hide): Removed.
5080 2005-02-15 Michael Koch <konqueror@gmx.de>
5082 * java/awt/image/ReplicateScaleFilter.java
5083 (replicatePixels): Made private.
5084 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5085 (DefaultRGBChooserPanel): Made package private.
5086 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5087 (RecentSwatchPanel): Likewise.
5088 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5089 (MouseInputAdapter): Made abstract.
5090 * javax/swing/tree/DefaultMutableTreeNode.java
5092 (growTree): Likewise.
5094 2005-02-15 Michael Koch <konqueror@gmx.de>
5096 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5099 2005-02-15 Michael Koch <konqueror@gmx.de>
5101 * javax/swing/JComponent.java (getComponentGraphics):
5102 Removed accidently commited code.
5104 2005-02-15 Graydon Hoare <graydon@redhat.com>
5106 * java/awt/dnd/DropTarget.java
5107 (addDropTargetListener): Despite documentation, do not throw.
5108 * javax/swing/JComponent.java: Set a default DropTarget.
5110 2005-02-15 Michael Koch <konqueror@gmx.de>
5112 * javax/swing/AbstractAction.java
5113 (ENABLED_PROPERTY): Removed.
5114 (setEnabled): Replaced constant with real string.
5115 * javax/swing/AbstractButton.java
5116 (createActionPropertyChangeListener.propertyChange): Likewise.
5117 * javax/swing/JComboBox.java
5118 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5119 (EDITABLE_CHANGED_PROPERTY): Removed.
5120 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5121 (ENABLED_CHANGED_PROPERTY):Likewise.
5122 (RENDERER_CHANGED_PROPERTY):Likewise.
5123 (EDITOR_CHANGED_PROPERTY):Likewise.
5124 (MODEL_CHANGED_PROPERTY):Likewise.
5125 (uiClassID):Likewise.
5126 (getUIClassID): Replaced constant with real string.
5127 (setModel):Likewise.
5128 (setEditable):Likewise.
5129 (setMaximumRowCount):Likewise.
5130 (setRenderer):Likewise.
5131 (setEditor):Likewise.
5132 (setEnabled):Likewise.
5133 * javax/swing/JLabel.java
5134 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5135 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5136 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5137 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5138 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5139 (ICON_CHANGED_PROPERTY): Likewise.
5140 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5141 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5142 (TEXT_CHANGED_PROPERTY): Likewise.
5143 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5144 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5145 (setText): Replaced constant with real string.
5146 (setIcon): Likewise.
5147 (setDisabledIcon): Likewise.
5148 (setDisplayedMnemonic): Likewise.
5149 (setIconTextGap): Likewise.
5150 (setVerticalAlignment): Likewise.
5151 (setHorizontalAlignment): Likewise.
5152 (setVerticalTextPosition): Likewise.
5153 (setHorizontalTextPosition): Likewise.
5154 (setLabelFor): Replaced constant with real string.
5155 Fire property change event after property got changed.
5156 * javax/swing/JList.java
5157 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5158 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5159 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5160 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5161 (MODEL_PROPERTY_CHANGED): Likewise.
5162 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5163 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5164 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5165 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5166 (setFixedCellWidth): Reimplemented.
5167 (setFixedCellHeight): Exit if new value is identical.
5168 Replaced constant with real string.
5169 (setSelectionBackground): Likewise.
5170 (setSelectionForeground): Likewise.
5171 (setPrototypeCellValue): Likewise.
5172 (setCellRenderer): Replaced constant with real string.
5173 (setModel): Likewise.
5174 (setSelectionModel): Likewise.
5175 * javax/swing/JMenuBar.java
5176 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5177 (MODEL_CHANGED_PROPERTY): Likewise.
5178 (MARGIN_CHANGED_PROPERTY): Likewise.
5179 (setBorderPainted): Reimplemented.
5180 (setMargin): Likewise.
5181 (setSelectionModel): Replaced constant with real string.
5182 * javax/swing/JPopupMenu.java
5183 (LABEL_CHANGED_PROPERTY): Removed.
5184 (VISIBLE_CHANGED_PROPERTY): Likewise.
5185 (borderPainted): Likewise.
5186 (setLabel): Replaced constant with real string.
5187 (setVisible): Exit if new value is identical.
5188 Replaced constant with real string.
5189 * javax/swing/JProgressBar.java
5190 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5191 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5192 (STRING_CHANGED_PROPERTY): Likewise.
5193 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5194 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5195 (setOrientation): Replaced constant with real string.
5196 (setStringPainted): Likewise.
5197 (setString): Likewise.
5198 (setBorderPainted): Likewise.
5199 (setIndeterminate): Likewise.
5200 * javax/swing/JScrollBar.java
5201 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5202 (MODEL_CHANGED_PROPERTY): Likewise.
5203 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5204 (setOrientation): Replaced constant with real string.
5205 (setModel): Likewise.
5206 (setUnitIncrement): Likewise.
5207 (setBlockIncrement): Likewise.
5208 * javax/swing/JScrollPane.java
5209 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5210 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5211 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5212 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5213 (LAYOUT_CHANGED_PROPERTY): Likewise.
5214 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5215 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5216 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5217 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5218 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5219 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5220 (setComponentOrientation): Replaced constant with real string.
5221 (setColumnHeader): Likewise.
5222 (setHorizontalScrollBar): Likewise.
5223 (setHorizontalScrollBarPolicy): Likewise.
5224 (setRowHeader): Likewise.
5225 (setVerticalScrollBar): Likewise.
5226 (setVerticalScrollBarPolicy): Likewise.
5227 (setWheelScrollingEnabled): Likewise.
5228 (setViewport): Likewise.
5229 (setViewportBorder): Likewise.
5230 * javax/swing/JSlider.java
5231 (INVERTED_CHANGED_PROPERTY): Removed.
5232 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5233 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5234 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5235 (MODEL_CHANGED_PROPERTY): Likewise.
5236 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5237 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5238 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5239 (setModel): Replaced constant with real string.
5240 (setOrientation): Likewise.
5241 (setLabelTable): Likewise.
5242 (setInverted): Likewise.
5243 (setMajorTickSpacing): Likewise.
5244 (setMinorTickSpacing): Likewise.
5245 (setPaintTicks): Likewise.
5246 (setPaintLabels): Likewise.
5247 * javax/swing/JTabbedPane.java
5248 (MODEL_CHANGED_PROPERTY): Removed.
5249 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5250 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5251 (setModel): Replaced constant with real string.
5252 (setTabPlacement): Likewise.
5253 (setTabLayoutPolicy): Likewise.
5254 * javax/swing/JToolBar.java
5255 (ORIENTATION_CHANGED_PROPERTY): Removed.
5256 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5257 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5258 (MARGIN_CHANGED_PROPERTY): Likewise.
5259 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5260 (setRollover): Replaced constant with real string.
5261 (setMargin): Likewise.
5262 (setBorderPainted): Likewise.
5263 (setFloatable): Likewise.
5264 (setOrientation): Likewise.
5265 * javax/swing/plaf/basic/BasicComboBoxUI.java
5266 (PropertyChangeHandler.propertyChange): Likewise.
5267 * javax/swing/plaf/basic/BasicComboPopup.java
5268 (PropertyChangeHandler.propertyChange): Likewise.
5269 * javax/swing/plaf/basic/BasicMenuBarUI.java
5270 (PropertyChangeHandler.propertyChange): Likewise.
5271 * javax/swing/plaf/basic/BasicProgressBarUI.java
5272 (PropertyChangeHandler.propertyChange): Likewise.
5273 * javax/swing/plaf/basic/BasicScrollBarUI.java
5274 (PropertyChangeHandler.propertyChange): Likewise.
5275 * javax/swing/plaf/basic/BasicSliderUI.java
5276 (PropertyChangeHandler.propertyChange): Likewise.
5277 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5278 (PropertyChangeHandler.propertyChange): Likewise.
5279 * javax/swing/plaf/basic/BasicToolBarUI.java
5280 (PropertyChangeHandler.propertyChange): Likewise.
5282 2005-02-15 Michael Koch <konqueror@gmx.de>
5284 * javax/swing/DefaultButtonModel.java
5285 (changeState): Made private.
5286 * javax/swing/DefaultDesktopManager.java
5287 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5288 * javax/swing/JLayeredPane.java
5289 (layerToRange): Made private.
5290 (incrLayer): Likewise.
5291 (decrLayer): Likewise.
5292 * javax/swing/JTable.java
5293 (dragEnabled): Likewise.
5294 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5295 * javax/swing/KeyStroke.java
5296 (Keystroke): Made private.
5297 * javax/swing/TransferHandler.java
5298 (COMMAND_COPY): Likewise.
5299 (COMMAND_CUT): Likewise.
5300 (COMMAND_PASTE): Likewise.
5302 2005-02-15 Michael Koch <konqueror@gmx.de>
5304 * javax/swing/JTextField.java
5305 (postActionEvent): Use text in field when actionCommand is null.
5306 (getActionCommand): Removed.
5308 2005-02-15 Michael Koch <konqueror@gmx.de>
5310 * javax/swing/AbstractSet.java: Removed.
5311 * Makefile.am: Removed javax/swing/AbstractSet.java.
5312 * Makefile.in: Regenerated.
5314 2005-02-15 Michael Koch <konqueror@gmx.de>
5316 * java/awt/Window.java
5317 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5318 * java/awt/dnd/DnDConstants.java
5319 (DnDConstants): New private constructor.
5321 2005-02-15 Michael Koch <konqueror@gmx.de>
5323 * javax/swing/DefaultCellRenderer.java: Removed.
5324 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5325 * Makefile.in: Regenerated.
5327 2005-02-15 Michael Koch <konqueror@gmx.de>
5329 * javax/swing/AbstractButton.java
5330 (fireItemStateChanged): Made protected.
5331 (fireActionPerformed): Likewise.
5332 (fireStateChanged): Likewise.
5333 * javax/swing/DefaultButtonModel.java
5334 (fireItemStateChanged): Likewise.
5335 (fireActionPerformed): Likewise.
5336 (fireStateChanged): Likewise.
5337 * javax/swing/JApplet.java
5339 (frameInit): Likewise.
5340 (setRootPane): Made protected.
5341 (createRootPane): Likewise.
5342 * javax/swing/JComponent.java
5343 (getClientProperty): Likewise.
5344 (putClientProperty): Likewise.
5345 * javax/swing/JEditorPane.java
5346 (getContentType): Likewise.
5347 (setContentType): Likewise.
5348 * javax/swing/JFrame.java
5349 (setRootPane): Likewise.
5350 (createRootPane): Likewise.
5351 * javax/swing/JInternalFrame.java
5352 (getFocusCycleRootAncestor): Made final. Added @since tag.
5353 (isFocusCycleRoot): Likewise.
5354 (getWarningString): Made final.
5355 * javax/swing/JScrollBar.java
5356 (changeListener): Removed.
5357 (changeEvent): Likewise.
5358 (createChangeListener): Likewise.
5359 (fireStateChanged): Likewise.
5360 (addChangeListener): Likewise.
5361 (removeChangeListener): Likewise.
5362 (getChangeListeners): Likewise.
5363 * javax/swing/JScrollPane.java
5364 (createViewport): Made protected.
5365 * javax/swing/JViewport.java
5366 (addImpl): Likewise.
5367 (setBorder): New method.
5368 * javax/swing/JWindow.java
5369 (setRootPane): Made protected.
5370 (createRootPane): Likewise.
5371 * javax/swing/plaf/basic/BasicButtonUI.java
5372 (installListeners): Likewise.
5373 (uninstallListeners): Likewise.
5374 * javax/swing/plaf/basic/BasicProgressBarUI.java
5375 (incrementAnimationIndex): Likewise.
5376 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5377 (createLayoutManager): Likewise.
5378 * javax/swing/table/DefaultTableCellRenderer.java
5379 (firePropertyChange): Likewise.
5380 * javax/swing/table/JTableHeader.java
5381 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5383 * javax/swing/text/PlainDocument.java
5384 (reindex): Made private.
5385 * javax/swing/text/PlainView.java
5386 (drawLine): Made protected.
5387 (getTabSize): Likewise.
5388 * javax/swing/text/View.java
5390 (preferenceChanged): New method.
5391 (getBreakWeight): Likewise.
5392 (breakView): Likewise.
5393 (getViewIndex): Likewise.
5395 2005-02-15 Michael Koch <konqueror@gmx.de>
5397 * javax/swing/JScrollPane.java
5398 (ScrollBar): Made class protected.
5399 * javax/swing/JSpinner.java
5400 (JSpinner): Added @since tag.
5401 (listenerList): Removed.
5402 * javax/swing/JTable.java
5403 (setValueAt): New method.
5404 (getColumn): Likewise.
5405 * javax/swing/JWindow.java
5406 (rootPaneCheckingEnabled): Renamed from checking.
5408 2005-02-15 Michael Koch <konqueror@gmx.de>
5410 * javax/swing/plaf/basic/BasicTextUI.java
5411 (RootView.modelToView): Made it public and return a java.awt.Shape.
5412 Handle null subview.
5413 (uninstall): Set textComponent to null when its not possible used
5415 * javax/swing/text/View.java
5416 (setParent): Use better argument name.
5417 (getContainer): Get parent via getParent().
5418 (getViewFactory): Likewise.
5419 (getAttributes): Get element via getElement().
5420 (getStartOffset): Likewise.
5421 (getEndOffset): Likewise.
5422 (getResizeWeight): New method.
5423 (getMaximumSpan): Likewise.
5424 (getMinimumSpan): Likewise.
5425 (setSize): Likewise.
5426 (getGraphics): Likewise.
5428 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5430 * java/awt/Checkbox.java:
5431 (AccessibleAWTCheckbox()): Added public constructor
5433 * java/awt/Choice.java:
5434 (AccessibleAWTChoice): Added class documentation.
5435 (AccessibleAWTChoice()): Added public constructor
5437 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5438 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5439 and changed role to COMBO_BOX.
5440 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5441 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5442 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5444 2005-02-15 Graydon Hoare <graydon@redhat.com>
5445 Michael Koch <konqueror@gmx.de>
5447 * javax/swing/LayoutFocusTraversalPolicy.java,
5448 javax/swing/SortingFocusTraversalPolicy.java:
5450 * Makefile.am: Added new classes.
5451 * Makefike.in: Regenerated.
5454 2005-02-15 Michael Koch <konqueror@gmx.de>
5456 * javax/swing/DebugGraphics.java: Mostly implemented.
5458 2005-02-15 Michael Koch <konqueror@gmx.de>
5460 * javax/swing/SwingUtilities.java
5461 (findFocusOwner): New method.
5463 2005-02-15 Michael Koch <konqueror@gmx.de>
5465 * javax/swing/text/DefaultEditorKit.java
5466 (read): Added '\n' after each line.
5467 * javax/swing/text/PlainView.java
5468 (modelToView): Update metrics.
5469 (drawLine): Use offsets from element.
5470 (paint): Update metrics. Draw all lines.
5472 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5474 * java/awt/Checkbox.java:
5475 (AccessibleAWTCheckbox): Added class documentation
5476 * java/awt/Scrollbar.java:
5477 (AccessibleAWTScrollBar): typo corrected and docs added
5478 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5479 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5480 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5481 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5482 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5483 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5484 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5485 (getAccessibleContext()): name of accessible class corrected
5487 2005-02-15 Mark Wielaard <mark@klomp.org>
5489 * java/awt/BasicStroke.java (hashCode): Implement.
5492 2005-02-15 Michael Koch <konqueror@gmx.de>
5494 * java/awt/print/PrinterJob.java
5495 (pageDialog): Throws java.awt.HeadlessException.
5496 (printDialog): Likewise.
5498 2005-02-15 Mark Wielaard <mark@klomp.org>
5500 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5502 2005-02-15 Michael Koch <konqueror@gmx.de>
5504 * javax/swing/JTable.java
5505 (getValueAt): New method.
5506 * javax/swing/table/JTableHeader.java
5507 (columnAtPoint): New method.
5509 2005-02-15 Michael Koch <konqueror@gmx.de>
5511 * javax/swing/JTextField.java
5512 (actions): New field.
5513 (static): Initalize actions field.
5514 (getActions): New method.
5516 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5518 * java/awt/Checkbox.java:
5519 (AccessibleAWTCheckbox): name capitalization corrected
5520 and serialization UID added.
5521 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5523 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5524 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5525 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5526 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5527 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5528 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5529 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5530 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5531 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5532 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5533 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5535 (getAccessibleContext()): name of accessible class corrected
5537 2005-02-15 Sven de Marothy <sven@physto.se>
5539 * java/awt/geom/doc-files/Area-1.png,
5540 java/awt/geom/doc-files/Ellipse-1.png,
5541 java/awt/geom/doc-files/GeneralPath-1.png:
5544 2005-02-15 Graydon Hoare <graydon@redhat.com>
5546 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5547 Use union to avoid type-punning warning.
5549 2005-02-15 Michael Koch <konqueror@gmx.de>
5551 * javax/swing/DefaultListSelectionModel.java
5552 (clone): New method.
5554 2005-02-15 Mark Wielaard <mark@klomp.org>
5556 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5557 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5558 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5559 Correct method signature of gtkSetFilename.
5561 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5563 * javax/swing/text/StringContent.java: New file.
5565 2005-02-15 Michael Koch <konqueror@gmx.de>
5567 * Makefile.am: Added javax/swing/text/StringContent.java.
5568 * Makefile.in: Regenerated.
5570 2005-02-15 Michael Koch <konqueror@gmx.de>
5572 * gnu/java/awt/ClasspathToolkit.java:
5573 Import statements reworked.
5574 (imageCache): Made it of type java.util.HashMap.
5576 2005-02-15 Michael Koch <konqueror@gmx.de>
5578 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5579 Reworked import statements.
5581 2005-02-15 Graydon Hoare <graydon@redhat.com>
5583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5584 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5585 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5586 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5587 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5590 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5592 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5593 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5595 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5596 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5597 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5598 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5599 Rewrite uses of extern variable to be function calls.
5600 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5601 function, from extern variable.
5602 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5603 (gdk_env): Remove variable, add new function.
5604 (java_vm): Add new variable.
5605 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5606 java_vm rather than old gdk_env variable.
5608 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5610 * javax/swing/DefaultListModel.java
5611 (add): fire correct event,
5612 (addElement): corrected interval indices in event,
5613 (clear): corrected upper bound for interval, only fire event if
5615 (setSize): fire appropriate event.
5617 2005-02-15 Graydon Hoare <graydon@redhat.com>
5619 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5620 * gnu/awt/xlib/XToolkit.java: Likewise.
5621 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5622 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5623 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5624 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5625 * java/awt/EventQueue.java (getNextEvent):
5626 Adjust event loop to switch to native mode after 100ms.
5627 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5629 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5630 Wake up event thread.
5631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5632 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5633 Adjust event loop to switch to java mode after 100ms.
5635 2005-02-15 Graydon Hoare <graydon@redhat.com>
5637 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5638 accidentally removed in last change.
5640 2005-02-15 Michael Koch <konqueror@gmx.de>
5642 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5643 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5645 2005-02-15 Graydon Hoare <graydon@redhat.com>
5647 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5648 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5649 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5650 * jni.cc: Reuse bottom frame between calls, avoid clearing
5651 frame when no local references are made.
5653 2005-02-15 Michael Koch <konqueror@gmx.de>
5655 * javax/swing/UIDefaults.java (UIDefaults):
5656 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5657 Fixed HTML entity and removed a redundant comma.
5659 2005-02-15 Michael Koch <konqueror@gmx.de>
5661 * javax/swing/text/DefaultEditorKit.java
5662 (deinstall): Removed.
5663 (install): Likewise.
5665 2005-02-15 Michael Koch <konqueror@gmx.de>
5667 * javax/swing/UIDefaults.java (put): Handle value of null.
5669 2005-02-15 Michael Koch <konqueror@gmx.de>
5671 * java/awt/Robot.java,
5672 java/awt/Scrollbar.java,
5673 java/awt/print/PrinterJob.java,
5674 javax/swing/JTable.java,
5675 javax/swing/text/AbstractDocument.java:
5676 Reworked import statements.
5678 2005-02-15 Michael Koch <konqueror@gmx.de>
5680 * javax/swing/JEditorPane.java
5681 (read): Implemented.
5683 * javax/swing/text/DefaultEditorKit.java
5684 (page): Renamed from page_url. Made private.
5685 (editorKit): Renamed from kit. Made private.
5687 (JEditorPane): All constructors reimplemented.
5688 (getContentType): Use content type from editor kit.
5689 (getEditorKit): Return editorKit.
5690 (getEditorKitForContentType):Likewise.
5691 (getPage): Return page.
5692 (setContentType): Reimplemented.
5693 (setEditorKit): Likewise.
5694 (setEditorKitForContentType): Removed wrong implementation.
5695 (setPage): Implemented.
5697 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5699 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5700 (nativeSetIconImageFromData): Re-add native implementation.
5702 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5704 * javax/swing/table/DefaultTableModel.java
5705 (DefaultTableModel()): Added Javadocs.
5706 (DefaultTableModel(int, int)): Fixed implementation.
5707 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5708 for negative rowCount.
5709 (DefaultTableModel(Object[], int)): Added Javadocs.
5710 (DefaultTableModel(Vector, Vector)): Likewise.
5711 (DefaultTableModel(Object[][], Object[])): Likewise.
5712 (getDataVector): Likewise.
5713 (setDataVector(Vector, Vector)): Likewise.
5714 (setDataVector(Object[][], Object[])): Likewise.
5715 (newDataAvailable): Likewise.
5716 (newRowsAdded): Likewise.
5717 (rowsRemoved): Likewise.
5718 (setColumnIdentifiers(Vector)): Allow for null argument.
5719 (setColumnIdentifiers(Object[])): Added Javadocs.
5720 (setNumRows): Likewise.
5721 (setRowCount): Adds new rows if necessary, and sends more specific
5723 (setColumnCount): Allow for null columnIdentifiers.
5724 (addColumn(Object)): Added Javadocs.
5725 (addColumn(Object, Vector)): Handle null columnData.
5726 (addColumn(Object, Object[])): Handle columnData with more or less
5727 entries than rows in the table.
5728 (addRow(Vector)): Fire appropriate event.
5729 (addRow(Object[])): Added Javadocs.
5730 (insertRow(int, Vector)): Fire appropriate event.
5731 (insertRow(int, Object[])): Added Javadocs.
5732 (moveRow): Reimplemented.
5733 (removeRow(int)): Fire appropriate event.
5734 (getColumnCount): Allow for null columnIdentifiers.
5735 (getColumnName): Now returns empty string when column index is too
5737 (isCellEditable): Added Javadocs.
5738 (getValueAt): Likewise.
5739 (setValueAt): Fire more specific event.
5740 (convertToVector): Added Javadocs.
5741 * javax/swing/table/TableModel.java
5744 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5746 * libgcj.spec.in (lib): Add -l-javax-imageio.
5748 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5750 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5751 references to event queue q with method call q().
5752 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5753 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5754 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5755 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5756 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5757 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5760 2005-02-15 Graydon Hoare <graydon@redhat.com>
5762 * gnu/java/awt/ClasspathToolkit.java
5763 (registerImageIOSpis): New method.
5764 * gnu/java/awt/image/ImageDecoder.java
5765 (imageDecoder): New constructor using InputStream
5766 (startProduction): Handle existing InputStream.
5767 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5768 (findSimpleIntegerArray): Make public and static.
5769 (updateBufferedImage): Set each pixel, in a loop.
5770 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5771 Implement ImageIO SPI classes.
5772 (createBufferedImage): Rewrite in terms of SPI classes.
5773 * gnu/java/awt/peer/gtk/GtkToolkit.java
5774 (registerImageIOSpis): New method.
5775 * java/lang/reflect/natMethod.cc
5776 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5777 which lets JNI call interface methods properly.
5778 * javax/imageio/ImageIO.java
5779 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5780 (WriterMIMETypeFilter.filter): Likewise.
5781 (ImageReaderIterator): Pass extension argument through to SPI.
5782 (getReadersByFilter): Likewise.
5783 (getWritersByFilter): Likewise.
5784 (getImageReadersByFormatName): Likewise.
5785 (getImageReadersByMIMEType): Likewise.
5786 (getImageReadersBySuffix): Likewise.
5787 (getImageWritersByFormatName): Likewise.
5788 (getImageWritersByMIMEType): Likewise.
5789 (getImageWritersBySuffix): Likewise.
5792 * javax/imageio/ImageReader.java
5793 (progressListeners): Initialize.
5794 (setInput): Implement.
5795 * javax/imageio/ImageWriter.java
5796 (progressListeners): Initialize.
5797 (warningListeners): Likewise.
5798 (warningLocales): Likewise.
5799 (setOutput): Test "isInstance" rather than class equality.
5800 * javax/imageio/spi/IIORegistry.java
5801 (static): Add reader and writer SPIs.
5802 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5803 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5804 (query_formats): New function.
5805 (save_to_stream): Likewise.
5806 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5808 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5810 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5812 (keyPress): Likewise.
5813 (keyRelease): Likewise.
5815 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5817 * javax/swing/JTable.java
5818 (columnAtPoint): New Method. Implemented.
5819 (rowAtPoint): Likewise.
5820 (countSelections): Fixed few small count errors.
5821 (getSelections): Likewise.
5822 (setSelectionMode): Set selection mode for column
5823 selection model in addition to row selection model.
5824 * javax/swing/plaf/basic/BasicTableUI.java:
5825 (getRowForPoint): Removed. Replaced by
5826 JTable.rowAtPoint().
5827 (getColForPoint): Removed. Replaced by
5828 JTable.columnAtPoint().
5829 (updateSelection): Updated to call JTable.columnAtPoint
5830 and JTable.rowAtPoint.
5831 * javax/swing/table/DefaultTableColumnModel.java:
5832 (getSelectedColumns): Implemented.
5833 (getSelectedColumnCount): Implemented.
5835 2005-02-15 Graydon Hoare <graydon@redhat.com>
5838 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5839 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5840 * Makefile.in: Regenerate.
5841 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5842 * gnu/awt/xlib/XFramePeer.java: Likewise.
5843 * gnu/awt/xlib/XToolkit.java: Likewise.
5844 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5845 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5846 * gnu/java/awt/ClasspathToolkit.java
5849 (iterateNativeQueue): New methods.
5850 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5851 * gnu/java/awt/peer/gtk/GtkToolkit.java
5852 (gtkInit): Absorb from defunct GtkMainThread class.
5853 (static): Run gtkInit in static startup block.
5854 (GtkToolkit): Remove construction of GtkMainThread and queue.
5855 (getSystemEventQueueImpl): Construct queue when requested.
5858 (iterateNativeQueue): New methods.
5859 * java/awt/Component.java (removeNotify): Remove race.
5860 * java/awt/EventDispatchThread.java
5861 (EventDispatchThread): Don't start on construction.
5862 (run): Remove isInterrupted check.
5863 * java/awt/EventQueue.java (shutdown): New flag.
5864 (isShutdown): New method checking J2SE shutdown condition.
5865 (setShutdown): New method.
5866 (getNextEvent): Restructure to use ClasspathToolkit.
5867 (postEvent): Activate new thread on posting, wake thread on
5868 post of possible shutdown condition event.
5869 * java/awt/Frame.java
5870 (Frame): Call noteFrame in all constructors.
5871 (fireDummyEvent): New helper method.
5872 (addNotify): Fire a dummy event to wake up queue.
5873 (removeNotify): Fire a dummy event to wake up queue.
5874 (noteFrame): New method.
5875 (weakFrames): New static field.
5876 (getFrames): Implement.
5877 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5879 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5880 Move everything from GtkMainThread into this file
5881 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5882 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5883 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5884 New functions to implement single-threaded queue semantics.
5886 2005-02-15 Michael Koch <konqueror@gmx.de>
5888 * javax/swing/plaf/metal/MetalLookAndFeel.java
5889 (getControlTextFont): New method.
5890 (getMenuTextFont): Likewise.
5891 (getSubTextFont): Likewise.
5892 (getSystemTextFont): Likewise.
5893 (getUserTextFont): Likewise.
5894 (getWindowTitleFont): Likewise.
5896 2005-02-15 Michael Koch <konqueror@gmx.de>
5898 * javax/swing/text/AbstractDocument.java
5899 (documentFilter): New field.
5900 (getDocumentFilter): New method.
5901 (setDocumentFilter): Likewise.
5904 2005-02-15 Michael Koch <konqueror@gmx.de>
5906 * javax/swing/JTree.java
5907 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5909 2005-02-15 Michael Koch <konqueror@gmx.de>
5911 * javax/swing/text/AbstractDocument.java
5912 (AbstractElement.getLength): Fixed off-by-one error.
5913 (AbstractElement.children): Made abstract.
5914 (AbstractElement.getAllowsChildren): Likewise.
5915 (AbstractElement.getElement): Likewise.
5916 (AbstractElement.dumpElement): New private method.
5917 (AbstractElement.dump): New method.
5918 (BranchElememt.getName): Fixed implementation.
5919 (BranchElememt.toString): Likewise.
5920 (BranchElememt.getElement): Fixed arguments.
5921 (LeafElement.getName): Fixed implementation.
5922 (LeafElement.toString): Likewise.
5923 * javax/swing/text/GapContent.java
5924 (GapContent): Put default content into buffer.
5925 * javax/swing/text/PlainDocument.java
5926 (reindex): Use empty attribute sets instead of null.
5927 (createDefaultRoot): Reimplemented.
5928 (insertUpdate): Call super method.
5929 (removeUpdate): Likewise.
5930 (getParagraphElement): Implemented.
5932 2005-02-15 Michael Koch <konqueror@gmx.de>
5934 * gnu/java/awt/ClasspathToolkit.java
5935 (createRobot): Throws java.awt.AWTException.
5936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5937 Added '__attribute__((unused))' to all unused method arguments.
5939 2005-02-15 Michael Koch <konqueror@gmx.de>
5941 * javax/swing/DefaultBoundedRangeModel.java
5942 (fireValueChanged): Fixed off-by-one error.
5944 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5946 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5947 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5949 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5950 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5951 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5952 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5953 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5954 (getDefaultScreenDevice): Implement.
5955 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5956 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5957 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5958 * java/awt/Robot.java: Implement.
5959 * java/awt/peer/RobotPeer.java: Rename parameters.
5960 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5962 (awt_keycode_to_keysym): Make non-static.
5963 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5964 AWT_BUTTON3_MASK): Declare constants.
5965 (awt_keycode_to_keysym): Declare.
5967 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5968 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5969 and is non-empty pass its value to "make check".
5970 (test_mauve_sim): Likewise.
5972 2005-02-15 Michael Koch <konqueror@gmx.de>
5974 * javax/imageio/IIOParam.java
5975 (setSourceBands): New method.
5976 (setSourceSubsampling): Likewise.
5977 * javax/imageio/ImageReadParam.java
5978 (setDestination): Likewise.
5979 (setDestinationBands): Likewise.
5980 (setSourceProgressivePasses): Likewise.
5981 * javax/imageio/metadata/IIOInvalidTreeException.java
5982 (serialVersionUID): New static field.
5983 * javax/imageio/metadata/IIOMetadataNode.java
5984 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5985 (parent): Dont initailize with default value explicitely.
5987 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5988 (removeAttributeNode): Likewise.
5989 (removeAttributeNS): Likewise.
5990 (setAttribute): Likewise.
5991 (setAttributeNode): Likewise.
5992 (setAttributeNodeNS): Likewise.
5993 (setAttributeNS): Likewise.
5994 (appendChild): Likewise.
5995 (getNodeValue): Likewise.
5996 (insertBefore): Likewise.
5997 (removeChild): Likewise.
5998 (replaceChild): Likewise.
5999 (setPrefix): Likewise.
6001 2005-02-15 Michael Koch <konqueror@gmx.de>
6003 * javax/swing/LookAndFeel.java
6004 (getDesktopPropertyValue): New method.
6006 2005-02-15 Michael Koch <konqueror@gmx.de>
6008 * javax/swing/JTree.java
6009 (hasChildren): New instance field.
6011 2005-02-15 Michael Koch <konqueror@gmx.de>
6013 * javax/swing/JComponent.java
6014 (getToolTipText): New method.
6015 (getTitledBorderText): Likewise.
6016 (getAccessibleKeyBinding): Likewise.
6017 (getVerifyInputWhenFocusTarget): Likewise.
6018 (setVerifyInputWhenFocusTarget): Likewise.
6019 (verifyInputWhenFocusTarget): New instance field.
6021 2005-02-15 Michael Koch <konqueror@gmx.de>
6023 * javax/swing/DefaultListSelectionModel.java
6024 (fireValueChanged): New method.
6026 2005-02-15 Michael Koch <konqueror@gmx.de>
6028 * javax/swing/DefaultBoundedRangeModel.java:
6029 Fixed javadocs all over.
6030 (fireStateChanged): Simplified.
6031 * javax/swing/BoundedRangeModel.java:
6034 2005-02-15 Michael Koch <konqueror@gmx.de>
6036 * javax/swing/JRootPane.java
6037 (setMenuBar): Added @deprecated tag.
6038 (getMenuBar): Likewise.
6039 * javax/swing/JTable.java
6040 (sizeColumnsToFit): Likewise.
6042 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6044 * javax/swing/ImageIcon.java (setImage): Implemented.
6046 2005-02-15 Michael Koch <konqueror@gmx.de>
6048 * javax/swing/JTable.java:
6049 Removed unused imports.
6051 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6053 (prepareRenderer): Get column's index in dataModel instead
6054 of column's view index.
6055 (getColumnCount): return count of the columns in ColumnModel,
6057 (removeColumn): Implemented.
6058 (moveColumm): Likewise.
6059 (setRowHeight): throw IllegalArgumentException if height is
6061 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6062 (DefaultTableColumnModel):Add call to createSelectionModel().
6063 (addColumn): Fire columnAdded event to registered listeners.
6064 (removeColumn): Fire columnRemoved event to registered listeners.
6065 (moveColumn): Fire columnMoved event to registered listeners.
6066 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6067 (getColumnIndex): Changed parameter name.
6068 (setColumnSelectionAllowed): Likewise.
6069 (fireColumnAdded): Implemented.
6070 (fireColumnRemoved): Likewise.
6071 (fireColumnMoved): Likewise.
6072 (fireColumnMarginChanged): Likewise.
6073 (getListeners): Changed parameter name.
6074 (propertyChange): Implemented.
6075 (valueChanged): Changed parameter name.
6076 (createSelectionModel): Implemented.
6078 2005-02-15 Michael Koch <konqueror@gmx.de>
6080 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6081 Explicitely import used classes.
6082 (getLocalGraphicsEnvironment): Simplify.
6083 * java/awt/Window.java (Window):
6084 Enable code to get the default GraphicsConfiguration.
6086 2005-02-15 Michael Koch <konqueror@gmx.de>
6088 * javax/swing/plaf/metal/DefaultMetalTheme.java
6089 (CONTROL_TEXT_FONT): New static field.
6090 (MENU_TEXT_FONT): Likewise.
6091 (SUB_TEXT_FONT): Likewise.
6092 (SYSTEM_TEXT_FONT): Likewise.
6093 (USER_TEXT_FONT): Likewise.
6094 (WINDOW_TITLE_FONT): Likewise.
6095 (getControlTextFont): New method.
6096 (getMenuTextFont): Likewise.
6097 (getSubTextFont): Likewise.
6098 (getSystemTextFont): Likewise.
6099 (getUserTextFont): Likewise.
6100 (getWindowTitleFont): Likewise.
6101 * javax/swing/plaf/metal/MetalTheme.java
6102 (BLACK): Initialize with Color.BLACK.
6103 (WHITE): Initialize with Color.WHITE.
6104 (getInactiveControlTextColor): Return getControlDisabled().
6105 (getMenuDisabledForeground): Return getSecondary3().
6106 (getControlTextFont): New abstract method.
6107 (getMenuTextFont): Likewise.
6108 (getSubTextFont): Likewise.
6109 (getSystemTextFont): Likewise.
6110 (getUserTextFont): Likewise.
6111 (getWindowTitleFont): Likewise.
6113 2005-02-15 Michael Koch <konqueror@gmx.de>
6115 * javax/swing/JFormattedTextField.java
6116 (getFocusLostBehavior): Fixed typo in method name.
6117 (setFocusLostBehavior): Likewise.
6119 2005-02-15 Michael Koch <konqueror@gmx.de>
6121 * javax/swing/TransferHandler.java:
6122 Reworked import statements.
6124 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6126 * java/awt/Button.java,
6127 java/awt/Canvas.java,
6128 java/awt/Checkbox.java,
6129 java/awt/CheckboxMenuItem.java,
6130 java/awt/Choice.java,
6131 java/awt/Dialog.java,
6132 java/awt/Frame.java,
6133 java/awt/Label.java,
6136 java/awt/MenuBar.java,
6137 java/awt/MenuItem.java,
6138 java/awt/PopupMenu.java,
6139 java/awt/ScrollPane.java,
6140 java/awt/Scrollbar.java,
6141 java/awt/TextArea.java,
6142 java/awt/Window.java (getAccessibleContext): Clean up comments.
6144 * java/awt/Button.java,
6145 java/awt/Checkbox.java,
6146 java/awt/Choice.java,
6148 java/awt/PopupMenu.java,
6149 java/awt/TextArea.java (getAccessibleContext): Only create new
6151 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6153 2005-02-15 Michael Koch <konqueror@gmx.de>
6155 * java/awt/Button.java,
6156 javax/swing/JApplet.java,
6157 javax/swing/JFormattedTextField.java,
6158 javax/swing/JWindow.java,
6159 javax/swing/JTree.java,
6160 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6161 javax/swing/plaf/basic/BasicTextPaneUI.java,
6162 javax/swing/plaf/basic/BasicTreeUI.java:
6163 Reworked import statements.
6165 2005-02-15 Michael Koch <konqueror@gmx.de>
6167 * Makefile.am: Put javax.imageio into its own library and link it
6168 against lib-org-w3c-dom.la to fix bootstrapping.
6169 * Makefile.in: Regenerated.
6171 2005-02-15 Michael Koch <konqueror@gmx.de>
6173 * javax/swing/text/TextAction.java
6174 (getTextComponent): Simplified. Added Javadoc.
6175 (augmentList): Implemented. Added Javadoc.
6176 (getFocusedComponent): Added javadoc.
6178 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6180 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6181 getAccessibleContext): Implement.
6182 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6183 getAccessibleContext): Implement.
6185 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6187 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6189 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6191 * java/awt/Window.java (getAccessibleContext): Fix comment.
6192 Remove extra import.
6194 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6196 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6197 (isActive, isFocused, getAccessibleContext): Implement.
6199 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6201 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6202 * java/awt/MenuComponent.java (accessibleContext): Make package
6204 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6205 AccessibleAWTCheckboxMenuItem): Implement.
6207 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6209 * java/awt/List.java: Implement AccessibleAWTList,
6210 AccessibleAWTListChild.
6212 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6214 * java/awt/Choice.java: Add implements declaration for
6217 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6219 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6222 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6224 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6225 implemented interface list.
6227 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6229 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6230 * javax/imageio/metadata/IIOAttr.java: New class.
6231 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6232 * javax/imageio/metadata/IIONodeList.java: New class.
6233 * Makefile.am: Added new files.
6234 * Makefile.in: Regenerated.
6236 2005-02-15 Michael Koch <konqueror@gmx.de>
6238 * javax/swing/AbstractAction.java,
6239 javax/swing/AbstractCellEditor.java,
6240 javax/swing/AbstractListModel.java,
6241 javax/swing/DefaultBoundedRangeModel.java,
6242 javax/swing/DefaultButtonModel.java,
6243 javax/swing/DefaultCellEditor.java,
6244 javax/swing/DefaultComboBoxModel.java,
6245 javax/swing/DefaultDesktopManager.java,
6246 javax/swing/JMenu.java,
6247 javax/swing/JSlider.java,
6248 javax/swing/KeyStroke.java,
6249 javax/swing/OverlayLayout.java,
6250 javax/swing/ScrollPaneLayout.java,
6251 javax/swing/SizeRequirements.java,
6252 javax/swing/ViewportLayout.java:
6253 Made serialVersionUID private.
6255 2005-02-15 Michael Koch <konqueror@gmx.de>
6257 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6260 2005-02-15 Michael Koch <konqueror@gmx.de>
6262 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6264 2005-02-15 Michael Koch <konqueror@gmx.de>
6266 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6268 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6270 * java/awt/EventDispatchThread.java,
6271 java/awt/Toolkit.java:
6272 Don't catch java.lang.ThreadDeath.
6274 2005-02-15 Michael Koch <konqueror@gmx.de>
6276 * javax/swing/text/PasswordView.java
6277 (drawEchoCharacter): Added javadoc.
6278 (drawSelectedText): Likewise.
6279 (drawUnselectedText): Likewise.
6281 2005-02-15 Michael Koch <konqueror@gmx.de>
6283 * javax/swing/JRootPane.java
6284 (windowDecorationStyle): New field.
6285 (setMenuBar): New method.
6286 (getMenuBar): Likewise.
6287 (getWindowDecorationStyle): Likewise.
6288 (setWindowDecorationStyle): Likewise.
6290 2005-02-15 Michael Koch <konqueror@gmx.de>
6292 * javax/swing/DefaultListSelectionModel.java
6293 (leadAnchorNotificationEnabled): Made protected.
6295 2005-02-15 Michael Koch <konqueror@gmx.de>
6297 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6298 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6299 * Makefile.in: Regenerated.
6302 2005-02-15 Michael Koch <konqueror@gmx.de>
6304 * javax/swing/JFormattedTextField.java: Implemented.
6305 * javax/swing/JWindow.java
6306 (JWindow): New constructors.
6307 (initWindow): Renamed from initFrame.
6308 * javax/swing/UIDefaults.java
6309 (ActiveValue): Made interface static.
6310 (LazyValue): Likewise.
6311 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6312 (TitlePaneLayout.TitlePaneLayout): New constructor.
6313 * javax/swing/plaf/basic/BasicSliderUI.java
6314 (ChangeHandler): Made public.
6315 (FocusHandler): Likewise.
6316 (PropertyChangeHandler): Likewise.
6317 (ScrollListener): Likewise.
6318 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6319 (FocusHandler): Likewise.
6320 (MouseHandler): Likewise.
6321 * javax/swing/plaf/basic/BasicTextPaneUI.java
6322 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6323 * javax/swing/plaf/basic/BasicToolBarUI.java
6324 (BasicToolBarUI): Simplified. Reworked javadoc.
6325 (canDock): Simplified. Make public.
6326 (DockingListener): Made public.
6327 * javax/swing/text/JTextComponent.java
6328 (navigationFilter): New field.
6329 (getNavigationFilter): New method.
6330 (setNavigationFilter): Likewise.
6332 2005-02-15 Michael Koch <konqueror@gmx.de>
6334 * javax/swing/plaf/metal/MetalTheme.java
6335 (getControlTextColor): Return getControlInfo().
6336 (getHighlightedTextColor): Return getControlTextColor().
6338 2005-02-15 Michael Koch <konqueror@gmx.de>
6340 * javax/swing/plaf/basic/BasicButtonListener.java
6341 (BasicButtonListener): New constructor.
6342 * javax/swing/plaf/basic/BasicButtonUI.java
6343 (createButtonListener): Usw new BasicButtonListener constructor.
6345 2005-02-15 Michael Koch <konqueror@gmx.de>
6347 * javax/imageio/event/package.html,
6348 javax/imageio/metadata/package.html: New files.
6350 2005-02-15 Michael Koch <konqueror@gmx.de>
6352 * java/awt/image/MemoryImageSource.java: Reformatted.
6354 2005-02-15 Michael Koch <konqueror@gmx.de>
6356 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6358 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6360 * java/awt/color/ICC_Profile.java
6361 (finalize): Removed pointless field assignments.
6363 2005-02-15 Michael Koch <konqueror@gmx.de>
6365 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6366 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6367 * Makefile.in: Regenerated.
6369 2005-02-15 Michael Koch <konqueror@gmx.de>
6371 * javax/swing/text/DefaultStyledDocument.java: New file.
6372 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6373 * Makefile.in: Regenerated.
6375 2005-02-15 Michael Koch <konqueror@gmx.de>
6377 * javax/swing/JFileChooser.java
6378 (showDialog): Return CANCEL_OPTION for now.
6379 (showOpenDialog): Likewise.
6380 (showSaveDialog): Likewise.
6382 2005-02-15 Michael Koch <konqueror@gmx.de>
6384 * javax/swing/JApplet.java
6385 (HIDE_ON_CLOSE): Removed.
6386 (EXIT_ON_CLOSE): Likewise.
6387 (DISPOSE_ON_CLOSE): Likewise.
6388 (DO_NOTHING_ON_CLOSE): Likewise.
6389 (close_action): Likewise.
6390 (getDefaultCloseOperation): Likewise.
6391 (setDefaultCloseOperation): Likewise.
6392 (processWindowEvent): Likewise.
6393 (getPreferredSize): Simplified.
6394 * javax/swing/JInternalFrame.java
6395 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6397 * javax/swing/JWindow.java
6398 (HIDE_ON_CLOSE): Removed.
6399 (EXIT_ON_CLOSE): Likewise.
6400 (DISPOSE_ON_CLOSE): Likewise.
6401 (DO_NOTHING_ON_CLOSE): Likewise.
6402 (close_action): Likewise.
6403 (processKeyEvent): Likewise.
6404 (setDefaultCloseOperation): Likewise.
6405 (getPreferredSize): Simplified.
6407 2005-02-15 Michael Koch <konqueror@gmx.de>
6409 * javax/swing/JTextField.java
6410 (getPreferredSize): Re-implemented.
6412 2005-02-15 Michael Koch <konqueror@gmx.de>
6414 * javax/swing/JLabel.java
6415 (setDisplayedMnemonic): Use only upper case characters.
6416 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6417 PropertyChangeEvent after property got set to the new index.
6419 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6421 * javax/swing/JComboBox.java:
6422 (JComboBox): Removed selection of the
6423 first item in the model.
6425 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6427 * javax/swing/JComboBox.java
6428 added support for no item being selected
6429 (JComboBox): select first or nothing depending on element count
6430 (setModel): cleaned up unneeded "this." usage, added more
6431 docs, made exception behavior match that of the JDK
6432 (setLighWeightPopupEnabled): removed unneeded "this." usage
6434 (setMaximumRowCount): dito
6436 (setPrototypeDisplayValue): dito
6437 (getSelectedItem): simplified, added more user doc
6438 (setSelectedIndex): corrected exception behavior, added more user doc
6439 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6440 added performance warning to user doc
6441 (addItem): fixed exception behavior, added user doc
6442 (insertItemAt): dito
6444 (removeItemAt): dito
6445 (removeAll): fixed exception behavior, added user doc, added support
6446 for model not being instance of DefaultComboBoxModel
6447 (getSelectedItemObjects): simplified
6448 (getItemCount): fixed dependency on DefaultComboBoxModel
6449 (getItemAt): fixed dependency on MutableComboBoxModel
6450 * javax/swing/DefaultComboBoxModel.java:
6451 (setSelectedItem): updates selected item only if new
6452 value is null or known (match JDK behavior)
6453 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6454 (paintCurrentValue): renders "" if no item is selected
6456 2005-02-15 Michael Koch <konqueror@gmx.de>
6458 * javax/swing/plaf/metal/MetalTheme.java,
6459 javax/swing/plaf/metal/DefaultMetalTheme.java:
6461 * javax/swing/plaf/metal/MetalLookAndFeel.java
6462 * Makefile.am: Added the new files.
6463 * Makefile.in: Regenerated.
6465 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6467 * javax/swing/JTable.java
6468 (editorComp): New field.
6469 (JTable): Initialize local variables and call updateUI
6470 (selectionBackground): Make protected.
6471 (selectionForeground): Likewise.
6472 (initializeLocalVars): Create default editors and renderers,
6473 initialize editingColumn, editingRow variables.
6474 (createDefaultEditors): New Method.
6475 (createDefaultRenderers): Likewise.
6476 (createDefaultListSelectionModel): Removed
6477 (createDefaultSelectionModel): New Method.
6478 (createDefaultTableHeader): Likewise
6479 (removeColumn): Likewise.
6480 (getEditingColumn): Likewise.
6481 (setEditingColumn): Likewise.
6482 (getEditingRow): Likewise.
6483 (setEditingRow): Likewise.
6484 (getEditorComponent): Likewise.
6485 (isEditing): Likewise.
6486 (setDefaultEditor): Likewise.
6487 (addColumnSelectionInterval): Likewise.
6488 (addRowSelectionInterval): Likewise.
6489 (setColumnSelectionInterval): Likewise.
6490 (setRowSelectionInterval): Likewise.
6491 (removeColumnSelectionInterval): Likewise.
6492 (removeRowSelectionInterval): Likewise.
6493 (isColumnSelected): Likewise.
6494 (isRowSelected): Likewise.
6495 (isCellSelected): Likewise.
6496 (selectAll): Likewise.
6498 2005-02-15 Michael Koch <konqueror@gmx.de>
6500 * javax/swing/JTable.java
6501 (addColumn): New method.
6502 (getColumnClass): Likewise.
6503 (getColumnName): Likewise.
6505 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6507 * javax/swing/TransferHandler.java
6508 (createTransferable): Made protected.
6510 2005-02-15 Michael Koch <konqueror@gmx.de>
6512 * javax/swing/JTable.java,
6513 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6514 javax/swing/plaf/basic/BasicTableUI.java:
6515 Use fixed get/setIntercellSpacing() methods.
6517 2005-02-15 Michael Koch <konqueror@gmx.de>
6519 * javax/swing/JTable.java
6520 (getIntercellSpacing): Fixed typo in method name.
6521 (setIntercellSpacing): Likewise.
6523 2005-02-15 Michael Koch <konqueror@gmx.de>
6525 * javax/swing/text/JTextComponent.java
6526 (focusAccelerator): New variable.
6527 (getFocusAccelerator): New method.
6528 (setFocusAccelerator): Likewise.
6530 2005-02-15 Michael Koch <konqueror@gmx.de>
6532 * javax/swing/JComponent.java
6533 (setTransferHandler): Made public. Fire property change event.
6534 * javax/swing/TransferHandler.java: Implemented.
6535 * javax/swing/text/JTextComponent.java
6536 (DefaultTransferHandler): New inner class.
6537 (defaultTransferHandler): New variable.
6541 (doTransferAction): Likewise.
6543 2005-02-15 Michael Koch <konqueror@gmx.de>
6545 * javax/swing/JTree.java
6546 (collapsePath): New method.
6547 (collapseRow): Likewise.
6548 (expandPath): Likewise.
6549 (expandRow): Likewise.
6550 (checkExpandParents): Likewise.
6551 (doExpandParents): Likewise.
6552 (setExpandedState): Likewise.
6553 (makeVisible): Likewise.
6555 2005-02-15 Michael Koch <konqueror@gmx.de>
6557 * javax/swing/JPasswordField.java: Updated javadocs.
6559 2005-02-15 Michael Koch <konqueror@gmx.de>
6561 * javax/swing/JLayeredPane.java
6562 (getLayer): Fixed return type, made public.
6563 (getPosition): Use new getLayer().
6564 (SetPosition): Likewise.
6565 (getIndexOf): Likewise.
6567 * javax/swing/JInternalFrame.java
6568 (getLayer): Use new JLayeredPane.getLayer().
6571 2005-02-15 Michael Koch <konqueror@gmx.de>
6573 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6574 (setHeaderValue): Simplified. Do nothing when old value == new value.
6576 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6578 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6579 against null clip region.
6580 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6581 gtkWindowSetResizable.
6582 (postConfigureEvent): Only revalidate if frame size has changed.
6583 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6584 Only revalidate if frame size has changed.
6585 * java/awt/Component.java (reshape): Only repaint and post
6586 component events if component is showing.
6587 * java/awt/Container.java (addImpl): Only post container event if
6588 container is showing.
6590 * java/awt/Window.java (setLocationRelativeTo): Implement.
6591 (setBoundsCallback): Only post component events if component is
6593 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6594 Protect against null graphics structure. Flush gdk event queue.
6596 2005-02-15 Michael Koch <konqueror@gmx.de>
6598 * javax/imageio/ImageReader.java,
6599 javax/imageio/ImageTranscoder.java,
6600 javax/imageio/ImageWriter.java,
6601 javax/imageio/spi/ImageInputStreamSpi.java,
6602 javax/imageio/spi/ImageOutputStreamSpi.java,
6603 javax/imageio/spi/ServiceRegistry.java,
6604 javax/imageio/stream/ImageInputStream.java,
6605 javax/imageio/stream/ImageOutputStream.java: Updated.
6606 * javax/imageio/IIOException.java,
6607 javax/imageio/IIOImage.java,
6608 javax/imageio/IIOParam.java,
6609 javax/imageio/IIOParamController.java,
6610 javax/imageio/ImageIO.java,
6611 javax/imageio/ImageReadParam.java,
6612 javax/imageio/ImageTypeSpecifier.java,
6613 javax/imageio/ImageWriteParam.java,
6614 javax/imageio/spi/IIORegistry.java,
6615 javax/imageio/spi/ImageReaderSpi.java,
6616 javax/imageio/spi/ImageWriterSpi.java,
6617 javax/imageio/stream/FileCacheImageInputStream.java,
6618 javax/imageio/stream/FileCacheImageOutputStream.java,
6619 javax/imageio/stream/FileImageInputStream.java,
6620 javax/imageio/stream/FileImageOutputStream.java,
6621 javax/imageio/stream/ImageInputStreamImpl.java,
6622 javax/imageio/stream/ImageOutputStreamImpl.java,
6623 javax/imageio/stream/MemoryCacheImageInputStream.java,
6624 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6625 javax/imageio/event/IIOReadProgressListener.java,
6626 javax/imageio/event/IIOReadUpdateListener.java,
6627 javax/imageio/event/IIOReadWarningListener.java,
6628 javax/imageio/event/IIOWriteProgressListener.java,
6629 javax/imageio/event/IIOWriteWarningListener.java,
6630 javax/imageio/metadata/IIOMetadata.java,
6631 javax/imageio/metadata/IIOMetadataController.java,
6632 javax/imageio/metadata/IIOMetadataFormat.java,
6633 javax/imageio/metadata/IIOInvalidTreeException.java,
6634 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6635 javax/imageio/metadata/IIOMetadataNode.java: New files.
6636 * Makefile.am (javax_source_files): Added new files
6637 * Makefile.in: Regenerated.
6639 2005-02-15 Graydon Hoare <graydon@redhat.com>
6641 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6642 Rework painting into BufferedImages
6643 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6644 Construct BufferedImage with alpha only when alpha is
6645 present in colormodel.
6646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6647 Rework painting into client-side jint arrays.
6648 * jni/gtk-peer/gtkcairopeer.h:
6651 2005-02-15 Michael Koch <konqueror@gmx.de>
6653 * javax/swing/DefaultListCellRenderer.java
6654 (serialVersionUID): Made private.
6655 (getListCellRendererComponent): Set horizontal alignment.
6656 * javax/swing/JLabel.java
6657 (setVerticalAlignment): Re-implemented.
6658 (setHorizontalAlignment): Do nothing if old value = new value.
6659 * javax/swing/JList.java
6660 (setCellRenderer): Likewise.
6661 (setModel): Re-implemented.
6662 (setSelectionModel): Likewise.
6664 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6666 * java/awt/Component.java,
6667 java/awt/geom/Rectangle2D.java:
6670 2005-02-15 Michael Koch <konqueror@gmx.de>
6672 * javax/swing/AbstractListModel.java
6673 (fireContentsChanged): Simplified.
6674 (fireIntervalAdded): Likewise.
6675 (fireIntervalRemoved): Likewise.
6676 * javax/swing/DefaultSingleSelectionModel.java:
6678 (fireStateChanged): Simplified.
6679 * javax/swing/JPopupMenu.java
6680 (setSelectionModel): Set property.
6682 2005-02-15 Michael Koch <konqueror@gmx.de>
6684 * java/awt/print/Book.java: Reformatted.
6686 2005-02-15 Michael Koch <konqueror@gmx.de>
6688 * java/awt/geom/Area.java
6689 (QuadSegment.curveArea): Remove unused variables.
6690 (CubicSegment.curveArea): Likewise.
6692 2005-02-15 Michael Koch <konqueror@gmx.de>
6694 * javax/swing/JTree.java
6695 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6696 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6697 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6698 (EXPANDED): New constant.
6699 (COLLAPSED): Likewise.
6700 (nodeStates): New field.
6701 (cellEditor): New method.
6702 (cellRenderer): Likewise.
6703 (selectionModel): Likewise.
6704 (treeModel): Likewise.
6705 (scrollPathToVisible): Likewise.
6706 (scrollRowToVisible): Likewise.
6707 (isCollapsed): Likewise.
6708 (isExpanded): Likewise.
6709 (clearToggledPaths): Likewise.
6710 (getDescendantToggledPaths): Likewise.
6711 (hasBeenExpanded): Likewise.
6712 (isVisible): Likewise.
6713 (isPathEditable): Likewise.
6715 2005-02-15 Michael Koch <konqueror@gmx.de>
6717 * javax/swing/JLayeredPane.java: Reformatted.
6719 2005-02-15 Michael Koch <konqueror@gmx.de>
6721 * javax/swing/tree/DefaultMutableTreeNode.java:
6723 * javax/swing/tree/MutableTreeNode.java:
6726 2005-02-15 Michael Koch <konqueror@gmx.de>
6728 * javax/swing/JFormattedTextField.java
6729 (setDocument): Call setDocument of super class. Don't fire property
6732 2005-02-15 Sven de Marothy <sven@physto.se>
6734 * java/awt/image/IndexColorModel.java:
6735 Add FIXME with respect to alpha handling.
6736 (getAlpha): Default to returning opaque pixels.
6737 * java/awt/image/MultiPixelPackedSampleModel.java
6738 (MultiPixelPackedSampleModel): Corrected parameters, order of
6739 bit shifts and masks, stride length off by one.
6741 2005-02-15 Michael Koch <konqueror@gmx.de>
6743 * javax/swing/JList.java, javax/swing/JTree.java:
6744 Added much new methods and fixed much methods setting bound properties.
6746 2005-02-16 Mark Wielaard <mark@klomp.org>
6748 * Makefile.am (gnu_xml_source_files): Removed
6749 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6750 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6751 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6752 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6753 gnu/xml/dom/DomDocumentFragment.java,
6754 gnu/xml/dom/DomProcessingInstruction.java and
6755 gnu/xml/dom/ls/DomLSException.java.
6756 * Makefile.in: Regenerated.
6758 2005-02-16 Tom Tromey <tromey@redhat.com>
6760 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6761 attribute index is out of bounds.
6763 2005-02-16 Chris Burdess <dog@gnu.org>
6765 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6766 isDeclared methods. Improved performance of isSpecified methods.
6768 2005-02-16 Chris Burdess <dog@gnu.org>
6770 Fixes bug libgcj/19864
6771 * gnu/xml/dom/DomAttr.java,
6772 gnu/xml/dom/DomCDATA.java,
6773 gnu/xml/dom/DomCDATASection.java,
6774 gnu/xml/dom/DomCharacterData.java,
6775 gnu/xml/dom/DomDOMException.java,
6776 gnu/xml/dom/DomDoctype.java,
6777 gnu/xml/dom/DomDocument.java,
6778 gnu/xml/dom/DomDocumentConfiguration.java,
6779 gnu/xml/dom/DomDocumentFragment.java,
6780 gnu/xml/dom/DomElement.java,
6781 gnu/xml/dom/DomEx.java,
6782 gnu/xml/dom/DomFragment.java,
6783 gnu/xml/dom/DomImpl.java,
6784 gnu/xml/dom/DomIterator.java,
6785 gnu/xml/dom/DomNamedNodeMap.java,
6786 gnu/xml/dom/DomNode.java,
6787 gnu/xml/dom/DomNsNode.java,
6788 gnu/xml/dom/DomPI.java,
6789 gnu/xml/dom/DomProcessingInstruction.java,
6790 gnu/xml/dom/DomText.java,
6791 gnu/xml/dom/DomLSEx.java,
6792 gnu/xml/dom/DomLSException.java,
6793 gnu/xml/dom/DomLSParser.java,
6794 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6795 implementation class names to conform to Classpath guidelines. Make
6796 DomLSException use JDK 1.4+ exception chaining.
6797 * gnu/xml/util/SAXNullTransformerFactory.java,
6798 gnu/xml/xpath/Predicate.java: Use constants relative to
6799 declaring class or interface.
6801 2005-02-16 Andrew Haley <aph@redhat.com>
6803 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6804 null, create a new AccessControlContext.
6805 * java/security/SecureClassLoader.java (protectionDomainCache):
6807 (defineClass): Create a new protection domain and add it to our
6810 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6811 addStub() to keep track of the stub we've exported.
6812 (unexportObject): Call deleteStub().
6813 * java/rmi/server/RemoteObject.java (stubs): New field.
6814 (addStub): New method.
6815 (deleteStub): New method.
6818 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6819 true to findHelper (tryParents).
6820 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6822 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6823 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6825 If tryParents is false, don't scan parent class loaders.
6827 * java/security/Permissions.java (PermissionsHash.implies):
6828 Iterate over the collection and invoke implies() on each
6831 2005-02-16 Andrew Haley <aph@redhat.com>
6833 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6835 (PersistentByteMap): Set name
6836 Magic number changed to 0x67636a64 ("gcjd").
6837 (init): Force the map to be prime.
6838 (emptyPersistentByteMap): File name was a string, now a File.
6839 (addBytes): Share srings between entries.
6840 (stringTableSize): New method.
6841 (capacity): Scale by load factor.
6842 (force): New method.
6843 (getFile): New method.
6844 (close): New method.
6845 (putAll): New method.
6846 (ByteWrapper): New class.
6847 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6848 (main): Guess the average string size as 32, not 64.
6849 Copy a database before modifying it, so that we can update a
6850 database in a running system.
6851 If a database isn't big enough, resize it.
6852 "-m": new option: merges databases.
6853 "-a": Create a new detabase if it doesn't exist.
6854 (usage): Correct, add new option.
6855 (addJar): Copy a database before modifying it.
6856 (resizeMap): New method.
6858 2005-02-15 David Daney <ddaney@avtrex.com>
6859 Bryce McKinlay <mckinlay@redhat.com>
6861 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6862 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6863 ensure that GC threads inherit the new signal mask.
6864 (block_sigchld): Call JvFail rather than throwing exception if
6865 pthread_sigmask() fails.
6867 2005-02-15 Mark Wielaard <mark@klomp.org>
6869 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6870 file path elements are separated by spaces.
6872 2005-02-15 Mark Wielaard <mark@klomp.org>
6874 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6875 to describe attributes without a constant field value in this class.
6877 2005-02-15 Michael Koch <konqueror@gmx.de>
6879 * java/util/jar/Attributes.java
6880 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6882 2005-02-15 Mark Wielaard <mark@klomp.org>
6884 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6885 space for parsing CLASS_PATH attribute.
6887 2005-02-15 Mark Wielaard <mark@klomp.org>
6889 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6890 aside for "GCJLIBS" in directory where jarfiles are loaded.
6891 (JarURLLoader.getClass): Removed method.
6892 (JarURLLoader.toString): Removed method.
6893 (FileResource.toString): Removed method.
6895 2005-02-15 Mark Wielaard <mark@klomp.org>
6897 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6898 and/or cause before throwing.
6900 2005-02-15 Richard Henderson <rth@redhat.com>
6902 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6903 (libgcj0_convenience_la_SOURCES): ... here.
6904 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6905 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6906 * Makefile.in: Regenerate.
6908 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6911 * include/jawt.h: Likewise.
6912 * include/jawt_md.h: Likewise.
6913 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6915 * include/Makefile.in: Regenerate.
6916 * jni/classpath/classpath_jawt.h: Likewise.
6917 * jni/gtk-peer/gtk_jawt.c: Likewise.
6918 * Makefile.am: Build libjawt.so.
6919 * Makefile.in: Regenerate.
6921 2005-02-14 Tom Tromey <tromey@redhat.com>
6923 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6925 2005-02-14 Tom Tromey <tromey@redhat.com>
6927 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6928 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6930 2005-02-14 Tom Tromey <tromey@redhat.com>
6933 * testsuite/libjava.lang/PR19929.out: New file.
6934 * testsuite/libjava.lang/PR19929.java: New file.
6936 2005-02-14 Anthony Green <green@redhat.com>
6939 * testsuite/libjava.jni/PR18116.c: New file.
6940 * testsuite/libjava.jni/PR18116.java: New file.
6941 * testsuite/libjava.jni/PR18116.out: New file.
6943 2005-02-13 Anthony Green <green@redhat.com>
6946 * jni.cc (nathash_add): Don't strdup the method signature.
6947 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6951 2005-02-12 Mark Wielaard <mark@klomp.org>
6953 Fixes bug libgcj/8170
6954 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6955 ClassNotFoundException.
6956 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6957 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6958 (remove_internal): New field superceding remove_interpreter.
6959 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6960 Remove no-class methods starting with "_Jv_". And Replace null
6961 class or method names with the empty string. Stop at either the
6962 MainThread or a real Thread run() method.
6963 (newElement): Made static.
6964 * java/net/URLClassLoader.java (findClass): Throw
6965 ClassNotFoundExceptions including urls, plus parent using toString().
6966 (thisString): New field.
6967 (toString): New method.
6969 2005-02-10 Tom Tromey <tromey@redhat.com>
6971 * external/sax/Makefile.in: Rebuilt.
6972 * external/sax/Makefile.am (all-local): Removed.
6973 (BUILT_SOURCES): New variable.
6974 (mostlyclean-local): No error if no classes to delete.
6975 * external/w3c_dom/Makefile.in: Rebuilt.
6976 * external/w3c_dom/Makefile.am (all-local): Removed.
6977 (BUILT_SOURCES): New variable.
6978 (mostlyclean-local): No error if no classes to delete.
6980 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6982 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6983 of mauve and libjava.
6985 2005-02-09 Tom Tromey <tromey@redhat.com>
6987 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6988 jar file with OPEN_DELETE.
6989 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6990 OPEN_DELETE is used.
6992 2005-02-09 Tom Tromey <tromey@redhat.com>
6994 * java/util/zip/InflaterInputStream.java (markSupported):
6996 (mark, reset): Likewise.
6998 2005-02-08 Tom Tromey <tromey@redhat.com>
7000 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7001 name or port is missing.
7002 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7003 AUTHORITY_PORT_GROUP): Updated.
7005 2005-02-08 Tom Tromey <tromey@redhat.com>
7007 * configure: Rebuilt.
7008 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7011 2005-02-07 Tom Tromey <tromey@redhat.com>
7013 * java/lang/natRuntime.cc (insertSystemProperties): Set
7014 sun.boot.class.path earlier.
7016 2005-02-07 Tom Tromey <tromey@redhat.com>
7018 * defineclass.cc (handleClassBegin): Use
7019 _Jv_RegisterInitiatingLoader.
7020 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7021 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7022 class. Use _Jv_UnregisterInitiatingLoader.
7023 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7026 2005-02-07 Mark Wielaard <mark@klomp.org>
7028 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7029 java/util/regex/Matcher.java (lookingAt): Set position when match
7031 (matches): Implemented through lookingAt().
7033 2005-02-07 Mark Wielaard <mark@klomp.org>
7035 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7036 * java/util/regex/Pattern.java (split(CharSequence,int)):
7037 Fix while empties > 0 loops.
7039 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7041 * gnu/java/nio/charset/ISO_8859_1.java,
7042 gnu/java/nio/charset/US_ASCII.java,
7043 gnu/java/nio/charset/UTF_16.java,
7044 gnu/java/nio/charset/UTF_16_LE.java,
7045 gnu/java/nio/charset/UTF_16_BE.java,
7046 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7047 and aliases according to
7048 "http://www.iana.org/assignments/character-sets",
7049 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7050 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7051 * gnu/java/nio/charset/Provider.java: Made charset lookup
7052 case-insensitive which fixes bug #11740.
7054 2005-02-07 Tom Tromey <tromey@redhat.com>
7057 * Makefile.in: Rebuilt.
7058 * Makefile.am (src.zip): New target.
7059 (install-src.zip): Likewise.
7060 (sourcesdir): New variable.
7062 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7064 * javax/imageio/metadata/IIOMetadataNode.java:
7066 * javax/imageio/metadata/IIOAttr.java,
7067 javax/imageio/metadata/IIONamedNodeMap.java,
7068 javax/imageio/metadata/IIONodeList.java:
7071 2005-02-06 Graydon Hoare <graydon@redhat.com>
7073 * gnu/java/awt/ClasspathToolkit.java
7074 (registerImageIOSpis): New method.
7075 * javax/imageio/ImageIO.java
7076 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7077 (WriterMIMETypeFilter.filter): Likewise.
7078 (ImageReaderIterator): Pass extension argument through to SPI.
7079 (getReadersByFilter): Likewise.
7080 (getWritersByFilter): Likewise.
7081 (getImageReadersByFormatName): Likewise.
7082 (getImageReadersByMIMEType): Likewise.
7083 (getImageReadersBySuffix): Likewise.
7084 (getImageWritersByFormatName): Likewise.
7085 (getImageWritersByMIMEType): Likewise.
7086 (getImageWritersBySuffix): Likewise.
7089 * javax/imageio/ImageReader.java
7090 (progressListeners): Initialize.
7091 (setInput): Implement.
7092 * javax/imageio/ImageWriter.java
7093 (progressListeners): Initialize.
7094 (warningListeners): Likewise.
7095 (warningLocales): Likewise.
7096 (setOutput): Test "isInstance" rather than class equality.
7097 * javax/imageio/spi/IIORegistry.java
7098 (static): Add reader and writer SPIs.
7099 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7101 2005-02-06 Michael Koch <konqueror@gmx.de>
7103 * javax/imageio/metadata/IIOInvalidTreeException.java
7104 (IIOInvalidTreeException): Reformatted.
7105 * javax/imageio/spi/IIORegistry.java
7106 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7107 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7108 Reworked import statements.
7110 2005-02-06 Michael Koch <konqueror@gmx.de>
7112 * javax/imageio/stream/FileImageOutputStream.java:
7115 2005-02-06 Michael Koch <konqueror@gmx.de>
7117 * javax/imageio/stream/FileCacheImageInputStream.java,
7118 javax/imageio/stream/FileCacheImageOutputStream.java,
7119 javax/imageio/stream/FileImageInputStream.java,
7120 javax/imageio/stream/ImageInputStreamImpl.java,
7121 javax/imageio/stream/ImageOutputStreamImpl.java,
7122 javax/imageio/stream/MemoryCacheImageInputStream.java,
7123 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7124 Added all missing methods in javax.imageio.stream.
7126 2005-02-02 David Daney <ddaney@avtrex.com>
7128 * java/net/InetAddress.java (InetAddress): Make a private copy of
7130 * java/net/Inet4Address.java (getAddress): Return a copy of the
7132 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7134 (getAddress): Return a copy of the address.
7137 2005-02-02 Tom Tromey <tromey@redhat.com>
7139 * Makefile.in: Rebuilt.
7140 * Makefile.am (classes.stamp): New target, broken out from
7142 ($(all_java_class_files)): Depend on it.
7143 (libgcj-@gcc_version@.jar): Likewise.
7144 (all-recursive): Likewise.
7145 (CLEANFILES): Include classes.stamp.
7147 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7149 * link.cc: Include <stdio.h>
7151 2005-02-02 Tom Tromey <tromey@redhat.com>
7154 * Makefile.in: Rebuilt.
7155 * Makefile.am (ordinary_java_source_files): Added new class.
7156 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7157 Use system_instance, not instance.
7158 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7159 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7161 (system_instance): New field.
7162 (initialize): Initialize the system loader as well.
7163 (VMClassLoader): Default to LIB_CACHE.
7165 2005-02-02 Tom Tromey <tromey@redhat.com>
7167 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7168 * prims.cc: Fixed comment.
7170 2005-02-01 Tom Tromey <tromey@redhat.com>
7172 * Makefile.in: Rebuilt.
7173 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7174 (.java.class): Use BOOTCLASSPATH.
7176 2005-02-01 Tom Tromey <tromey@redhat.com>
7178 * external/w3c_dom/Makefile.am: New file.
7179 * external/w3c_dom/Makefile.in: New file.
7180 * external/sax/Makefile.am: New file.
7181 * external/sax/Makefile.in: New file.
7182 * external/Makefile.in: New file.
7183 * external/Makefile.am: New file.
7184 * external/README: New file from Classpath.
7185 * configure, aclocal.m4, Makefile.in: Rebuilt.
7186 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7187 * Makefile.am (SUBDIRS): Added external.
7188 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7189 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7190 (BOOTCLASSPATH): New variable.
7191 (AM_GCJFLAGS): Use it.
7192 (gnu_xml_source_files): New variable.
7193 (libgcj_la_SOURCES): Use it.
7194 (libgcj_la_LDADD): Include new convenience libraries.
7195 (lib_org_ietf_jgss_la_SOURCES): Removed.
7196 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7197 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7198 (lib_org_w3c_dom_la_SOURCES): Removed.
7199 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7200 (lib_org_w3c_dom_la_LIBADD): Likewise.
7201 (lib_org_xml_sax_la_SOURCES): Removed.
7202 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7203 (lib_org_xml_sax_la_LIBADD): Likewise.
7204 (all_java_source_files): Updated.
7205 (property_files): Likewise.
7206 (libgcj-@gcc_version@.jar): Include classes from external/.
7207 (javax_source_files): Updated.
7208 (ordinary_java_source_files): Updated.
7209 * javax/xml/XMLConstants.java,
7210 javax/xml/datatype/DatatypeConfigurationException.java,
7211 javax/xml/datatype/DatatypeConstants.java,
7212 javax/xml/datatype/DatatypeFactory.java,
7213 javax/xml/datatype/Duration.java,
7214 javax/xml/datatype/XMLGregorianCalendar.java,
7215 javax/xml/datatype/package.html,
7216 javax/xml/namespace/NamespaceContext.java,
7217 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7218 javax/xml/parsers/DocumentBuilder.java,
7219 javax/xml/parsers/DocumentBuilderFactory.java,
7220 javax/xml/parsers/FactoryConfigurationError.java,
7221 javax/xml/parsers/ParserConfigurationException.java,
7222 javax/xml/parsers/SAXParser.java,
7223 javax/xml/parsers/SAXParserFactory.java,
7224 javax/xml/parsers/package.html,
7225 javax/xml/transform/ErrorListener.java,
7226 javax/xml/transform/OutputKeys.java,
7227 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7228 javax/xml/transform/SourceLocator.java,
7229 javax/xml/transform/Templates.java,
7230 javax/xml/transform/Transformer.java,
7231 javax/xml/transform/TransformerConfigurationException.java,
7232 javax/xml/transform/TransformerException.java,
7233 javax/xml/transform/TransformerFactory.java,
7234 javax/xml/transform/TransformerFactoryConfigurationError.java,
7235 javax/xml/transform/URIResolver.java,
7236 javax/xml/transform/package.html,
7237 javax/xml/transform/dom/DOMLocator.java,
7238 javax/xml/transform/dom/DOMResult.java,
7239 javax/xml/transform/dom/DOMSource.java,
7240 javax/xml/transform/dom/package.html,
7241 javax/xml/transform/sax/SAXResult.java,
7242 javax/xml/transform/sax/SAXSource.java,
7243 javax/xml/transform/sax/SAXTransformerFactory.java,
7244 javax/xml/transform/sax/TemplatesHandler.java,
7245 javax/xml/transform/sax/TransformerHandler.java,
7246 javax/xml/transform/sax/package.html,
7247 javax/xml/transform/stream/StreamResult.java,
7248 javax/xml/transform/stream/StreamSource.java,
7249 javax/xml/transform/stream/package.html,
7250 javax/xml/validation/Schema.java,
7251 javax/xml/validation/SchemaFactory.java,
7252 javax/xml/validation/TypeInfoProvider.java,
7253 javax/xml/validation/Validator.java,
7254 javax/xml/validation/ValidatorHandler.java,
7255 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7256 javax/xml/xpath/XPathConstants.java,
7257 javax/xml/xpath/XPathException.java,
7258 javax/xml/xpath/XPathExpression.java,
7259 javax/xml/xpath/XPathExpressionException.java,
7260 javax/xml/xpath/XPathFactory.java,
7261 javax/xml/xpath/XPathFactoryConfigurationException.java,
7262 javax/xml/xpath/XPathFunction.java,
7263 javax/xml/xpath/XPathFunctionException.java,
7264 javax/xml/xpath/XPathFunctionResolver.java,
7265 javax/xml/xpath/XPathVariableResolver.java,
7266 javax/xml/xpath/package.html: New files, from GNU JAXP.
7267 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7268 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7269 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7270 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7271 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7272 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7273 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7274 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7275 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7276 org/w3c/dom/ranges/DocumentRange.java,
7277 org/w3c/dom/ranges/Range.java,
7278 org/w3c/dom/ranges/RangeException.java,
7279 org/w3c/dom/traversal/DocumentTraversal.java,
7280 org/w3c/dom/traversal/NodeFilter.java,
7281 org/w3c/dom/traversal/NodeIterator.java,
7282 org/w3c/dom/traversal/TreeWalker.java,
7283 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7284 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7285 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7286 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7287 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7288 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7289 org/xml/sax/SAXNotRecognizedException.java,
7290 org/xml/sax/SAXNotSupportedException.java,
7291 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7292 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7293 org/xml/sax/ext/DeclHandler.java,
7294 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7295 org/xml/sax/helpers/AttributeListImpl.java,
7296 org/xml/sax/helpers/AttributesImpl.java,
7297 org/xml/sax/helpers/DefaultHandler.java,
7298 org/xml/sax/helpers/LocatorImpl.java,
7299 org/xml/sax/helpers/NamespaceSupport.java,
7300 org/xml/sax/helpers/NewInstance.java,
7301 org/xml/sax/helpers/ParserAdapter.java,
7302 org/xml/sax/helpers/ParserFactory.java,
7303 org/xml/sax/helpers/XMLFilterImpl.java,
7304 org/xml/sax/helpers/XMLReaderAdapter.java,
7305 org/xml/sax/helpers/XMLReaderFactory.java,
7306 org/xml/sax/helpers/package.html: Moved to external/.
7307 * external/sax/README,
7308 external/sax/org/xml/sax/AttributeList.java,
7309 external/sax/org/xml/sax/Attributes.java,
7310 external/sax/org/xml/sax/ContentHandler.java,
7311 external/sax/org/xml/sax/DTDHandler.java,
7312 external/sax/org/xml/sax/DocumentHandler.java,
7313 external/sax/org/xml/sax/EntityResolver.java,
7314 external/sax/org/xml/sax/ErrorHandler.java,
7315 external/sax/org/xml/sax/HandlerBase.java,
7316 external/sax/org/xml/sax/InputSource.java,
7317 external/sax/org/xml/sax/Locator.java,
7318 external/sax/org/xml/sax/Parser.java,
7319 external/sax/org/xml/sax/SAXException.java,
7320 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7321 external/sax/org/xml/sax/SAXNotSupportedException.java,
7322 external/sax/org/xml/sax/SAXParseException.java,
7323 external/sax/org/xml/sax/XMLFilter.java,
7324 external/sax/org/xml/sax/XMLReader.java,
7325 external/sax/org/xml/sax/package.html,
7326 external/sax/org/xml/sax/ext/Attributes2.java,
7327 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7328 external/sax/org/xml/sax/ext/DeclHandler.java,
7329 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7330 external/sax/org/xml/sax/ext/EntityResolver2.java,
7331 external/sax/org/xml/sax/ext/LexicalHandler.java,
7332 external/sax/org/xml/sax/ext/Locator2.java,
7333 external/sax/org/xml/sax/ext/Locator2Impl.java,
7334 external/sax/org/xml/sax/ext/package.html,
7335 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7336 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7337 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7338 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7339 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7340 external/sax/org/xml/sax/helpers/NewInstance.java,
7341 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7342 external/sax/org/xml/sax/helpers/ParserFactory.java,
7343 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7344 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7345 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7346 external/sax/org/xml/sax/helpers/package.html,
7347 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7348 external/w3c_dom/org/w3c/dom/Attr.java,
7349 external/w3c_dom/org/w3c/dom/CDATASection.java,
7350 external/w3c_dom/org/w3c/dom/CharacterData.java,
7351 external/w3c_dom/org/w3c/dom/Comment.java,
7352 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7353 external/w3c_dom/org/w3c/dom/DOMError.java,
7354 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7355 external/w3c_dom/org/w3c/dom/DOMException.java,
7356 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7357 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7358 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7359 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7360 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7361 external/w3c_dom/org/w3c/dom/Document.java,
7362 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7363 external/w3c_dom/org/w3c/dom/DocumentType.java,
7364 external/w3c_dom/org/w3c/dom/Element.java,
7365 external/w3c_dom/org/w3c/dom/Entity.java,
7366 external/w3c_dom/org/w3c/dom/EntityReference.java,
7367 external/w3c_dom/org/w3c/dom/NameList.java,
7368 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7369 external/w3c_dom/org/w3c/dom/Node.java,
7370 external/w3c_dom/org/w3c/dom/NodeList.java,
7371 external/w3c_dom/org/w3c/dom/Notation.java,
7372 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7373 external/w3c_dom/org/w3c/dom/Text.java,
7374 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7375 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7376 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7377 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7378 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7379 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7380 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7381 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7382 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7383 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7384 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7385 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7386 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7387 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7388 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7389 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7390 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7391 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7392 external/w3c_dom/org/w3c/dom/css/Counter.java,
7393 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7394 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7395 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7396 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7397 external/w3c_dom/org/w3c/dom/css/Rect.java,
7398 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7399 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7400 external/w3c_dom/org/w3c/dom/events/Event.java,
7401 external/w3c_dom/org/w3c/dom/events/EventException.java,
7402 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7403 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7404 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7405 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7406 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7407 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7408 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7409 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7410 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7411 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7412 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7413 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7414 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7415 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7416 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7417 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7418 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7419 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7420 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7421 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7422 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7423 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7424 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7425 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7426 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7427 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7428 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7429 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7430 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7431 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7432 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7433 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7434 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7435 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7436 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7437 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7438 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7439 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7440 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7441 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7442 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7443 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7444 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7445 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7446 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7447 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7448 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7449 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7450 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7451 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7452 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7453 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7454 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7455 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7456 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7457 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7458 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7459 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7460 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7461 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7462 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7463 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7464 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7465 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7466 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7467 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7468 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7469 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7470 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7471 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7472 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7473 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7474 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7475 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7476 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7477 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7478 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7479 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7480 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7481 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7482 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7483 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7484 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7485 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7486 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7487 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7488 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7489 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7490 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7491 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7492 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7493 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7496 2005-01-31 Anthony Green <green@redhat.com>
7498 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7499 Support IP_MULTICAST_LOOP.
7500 (setOption): Support IP_MULTICAST_LOOP.
7502 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7503 SO_REUSEADDR support.
7504 (getOption): Support SO_REUSEADDR.
7506 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7509 * java/util/Date.java
7510 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7512 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7514 (getTimezoneOffset): Inverted sign.
7516 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7518 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7519 remove other passing tests and add new XFAILs.
7521 2005-01-24 Tom Tromey <tromey@redhat.com>
7523 * java/lang/Class.h (next): Updated documentation. Renamed to
7525 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7526 _Jv_CheckABIVersion.
7527 (_Jv_RegisterClasses_Counted): Likewise.
7528 (_Jv_RegisterClassHookDefault): Fix starting condition of
7529 duplicate-checking loop.
7530 * include/jvm.h (GCJ_VERSION): New define.
7531 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7532 (_Jv_CheckABIVersion): New function.
7534 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7536 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7537 (libgij_la_LDFLAGS): Add.
7538 * Makefile.in: Rebuilt.
7540 2005-01-24 Roger Sayle <roger@eyesopen.com>
7543 * testsuite/libjava.compile/PR19295.java: New test case.
7545 2005-01-19 Tom Tromey <tromey@redhat.com>
7547 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7548 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7549 if 'handler' is valid.
7551 2005-01-17 Tom Tromey <tromey@redhat.com>
7553 * java/text/MessageFormat.java (scanString): Changed how quoting
7555 (scanFormatElement): Likewise.
7557 2004-12-07 Mark Wielaard <mark@klomp.org>
7559 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7561 2005-01-15 Michael Koch <konqueror@gmx.de>
7565 (AUTHORITY_REGEXP): New regexp constant.
7566 (AUTHORITY_USERINFO_GROUP): New constant.
7567 (AUTHORITY_HOST_GROUP): Likewise.
7568 (AUTHORITY_PORT_GROUP): Likewise.
7569 (port): Changed default value to -1.
7570 (parseURI): Parse authority part and initialize host,
7573 2005-01-14 Robin Green <greenrd@greenrd.org>
7575 * java/io/File.java (toURI): Generate a URI which we understand.
7577 2005-01-13 Graydon Hoare <graydon@redhat.com>
7579 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7580 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7581 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7582 * jni.cc: Reuse bottom frame between calls, avoid clearing
7583 frame when no local references are made.
7585 2005-01-13 Michael Koch <konqueror@gmx.de>
7588 * java/lang/Thread.java
7589 (Thread): Call checkAccess().
7590 (stop): Fixed argument name to match javadoc.
7591 * java/lang/natThread.cc
7592 (interrupt): Call checkAccess().
7595 2005-01-11 Michael Koch <konqueror@gmx.de>
7598 * java/net/URL.java (URL): Handle specs like
7599 "/redir?http://domain2.com/index.html" which start with a slash.
7601 2005-01-11 Michael Koch <konqueror@gmx.de>
7603 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7604 * gnu/java/net/BASE64.java,
7605 gnu/java/net/EmptyX509TrustManager.java,
7606 gnu/java/net/LineInputStream.java,
7607 gnu/java/net/protocol/http/Authenticator.java,
7608 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7609 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7610 gnu/java/net/protocol/http/ChunkedInputStream.java,
7611 gnu/java/net/protocol/http/Cookie.java,
7612 gnu/java/net/protocol/http/CookieManager.java,
7613 gnu/java/net/protocol/http/Credentials.java,
7614 gnu/java/net/protocol/http/HTTPConnection.java,
7615 gnu/java/net/protocol/http/HTTPDateFormat.java,
7616 gnu/java/net/protocol/http/HTTPURLConnection.java,
7617 gnu/java/net/protocol/http/Headers.java,
7618 gnu/java/net/protocol/http/Request.java,
7619 gnu/java/net/protocol/http/RequestBodyWriter.java,
7620 gnu/java/net/protocol/http/Response.java,
7621 gnu/java/net/protocol/http/ResponseBodyReader.java,
7622 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7623 gnu/java/net/protocol/http/SimpleCookieManager.java,
7624 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7625 gnu/java/net/protocol/http/event/ConnectionListener.java,
7626 gnu/java/net/protocol/http/event/RequestEvent.java,
7627 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7628 * gnu/java/net/protocol/http/Connection.java: Removed.
7629 * gnu/java/net/protocol/http/Handler.java,
7630 javax/net/ssl/HttpsURLConnection.java: Updated.
7631 * Makefile.am: Added new files and remove old ones.
7632 * Makefile.in: Regenerated.
7634 2005-01-11 Tom Tromey <tromey@redhat.com>
7637 * java/io/BufferedInputStream.java (read): Repeatedly read to
7639 (refill): Change test to see if buffer must be grown.
7641 2005-01-10 Tom Tromey <tromey@redhat.com>
7643 * mauve-libgcj: Exclude some swing tests.
7645 2005-01-10 Tom Tromey <tromey@redhat.com>
7647 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7648 * java/lang/Package.java (getPackages): Use VMClassLoader when
7650 (getPackage): Likewise.
7651 * prims.cc (_Jv_CreateJavaVM): Call
7652 _Jv_RegisterBootstrapPackages.
7653 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7654 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7655 (getPackages): Likewise.
7656 (definedPackages): New field.
7657 (definePackageForNative): New method.
7658 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7659 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7660 * defineclass.cc (handleClassBegin): Use
7661 ClassLoader.findLoadedClass.
7662 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7664 (struct _Jv_LoaderInfo): Removed.
7665 (initiated_classes): Likewise.
7666 (_Jv_UnregisterClass): Don't use initiated_classes.
7667 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7668 (_Jv_FindClass): Register classes found during boostrap.
7669 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7670 (bootstrap_class_list): New global.
7671 (bootstrap_index): Likewise.
7672 (_Jv_RegisterBootstrapPackages): New function.
7673 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7674 definePackageForNative.
7675 (findClass): Updated.
7676 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7679 2005-01-10 Tom Tromey <tromey@redhat.com>
7682 * include/jvm.h (_Jv_Linker::find_field): Declare.
7683 (_Jv_Linker::find_field_helper): Likewise.
7684 * link.cc (find_field_helper): New method.
7685 (find_field): Likewise.
7686 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7688 (link_symbol_table): Use find_field.
7690 2005-01-10 Michael Koch <konqueror@gmx.de>
7693 * java/util/Locale.java (Locale): Don't uppercase variant.
7694 (getISOCountries): Fixed typo in javadoc.
7696 2005-01-10 Michael Koch <konqueror@gmx.de>
7698 * java/util/SimpleTimeZone.java (checkRule):
7699 Throw IllegalArgumentException on invalid month values.
7700 * java/util/TimeZone.java (setID):
7701 Throw NullPointerException if needed.
7703 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7705 * java/util/SimpleTimeZone.java (getOffset):
7706 offset end date with daylight savings
7708 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7710 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7711 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7713 2005-01-09 Michael Koch <konqueror@gmx.de>
7716 * java/net/InetAddress.java (getLocalHost):
7717 Throw UnknownHostException if local hostname cannot be determined.
7719 2005-01-06 Tom Tromey <tromey@redhat.com>
7721 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7723 2005-01-07 Michael Koch <konqueror@gmx.de>
7726 * java/nio/Buffer.java (address): New field.
7727 * java/nio/DirectByteBufferImpl.java (address): Removed.
7728 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7729 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7730 Explicitly initialize Buffer.address if needed.
7731 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7732 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7733 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7734 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7735 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7736 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7737 DirectByteBufferImpl object.
7738 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7739 * testsuite/libjava.jni/directbuffer.c,
7740 testsuite/libjava.jni/directbuffer.java,
7741 testsuite/libjava.jni/directbuffer.out,
7742 testsuite/libjava.jni/bytebuffer.c,
7743 testsuite/libjava.jni/bytebuffer.java,
7744 testsuite/libjava.jni/bytebuffer.out: New files.
7746 2005-01-05 Tom Tromey <tromey@redhat.com>
7748 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7750 (compressedSize): Now 'long'. Default to -1.
7751 (getCompressedSize): Rewrote.
7752 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7753 deflate at all if we need input.
7755 2005-01-05 Tom Tromey <tromey@redhat.com>
7758 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7761 2005-01-05 Tom Tromey <tromey@redhat.com>
7763 * java/lang/natRuntime.cc (insertSystemProperties): Set
7764 java.ext.dirs earlier.
7766 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7768 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7769 sync_info element of the object if needed.
7771 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7773 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7774 a non-zero exit status from 'false'.
7776 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7778 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.