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