1 2005-06-15 Tom Tromey <tromey@redhat.com>
4 * testsuite/libjava.lang/pr17536.java: New file.
5 * testsuite/libjava.lang/pr17536.out: New file.
7 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
10 * gnu/java/net/protocol/http/HTTPURLConnection.java
11 (getHeaderFieldKey): Check index.
13 2005-06-15 Tom Tromey <tromey@redhat.com>
16 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
18 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
19 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
21 (append_partial_itable): Use it.
22 (set_vtable_entries): Likewise.
24 2005-06-15 Tom Tromey <tromey@redhat.com>
26 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
29 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
31 * configure.host: Handle Solaris 10/x86.
33 2005-06-14 Keith Seitz <keiths@redhat.com>
35 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
36 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
38 2005-06-14 Keith Seitz <keiths@redhat.com>
40 * gnu/classpath/jdwp/id/ArrayId.java: New file.
41 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
42 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
43 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
44 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
45 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
46 * gnu/classpath/jdwp/id/JdwpId.java: New file.
47 * gnu/classpath/jdwp/id/ObjectId.java: New file.
48 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
49 * gnu/classpath/jdwp/id/StringId.java: New file.
50 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
51 * gnu/classpath/jdwp/id/ThreadId.java: New file.
53 2005-06-14 Tom Tromey <tromey@redhat.com>
56 * configure, aclocal.m4, Makefile.in: Rebuilt.
58 2005-06-14 Tom Tromey <tromey@redhat.com>
60 * java/lang/Class.java (getClasses): New method.
61 (internalGetClasses): Likewise.
62 (getClassLoader): Updated documentation.
63 (getDeclaredClasses): New overload; old overload no longer
65 (_getConstructors): Removed.
66 (resourcePath): Updated.
67 * java/lang/natClass.cc (getClasses): Removed.
68 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
70 (_getConstructors): Removed.
72 2005-06-13 Jim Huang <jserv@kaffe.org>
75 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
76 (_Jv_JNI_NewObject): Likewise.
78 2005-06-13 Tom Tromey <tromey@redhat.com>
81 * testsuite/libjava.lang/pr21844.java: New file.
82 * testsuite/libjava.lang/pr21844.out: New file.
84 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
87 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
90 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
92 * java/text/MessageFormat.java (parse): When parsing strings, check
93 for an empty pattern trailer.
95 2005-06-06 Keith Seitz <keiths@redhat.com>
97 * gnu/classpath/jdwp/util/Signature.java: New file.
98 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
100 2005-06-05 Anthony Green <green@redhat.com>
102 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
105 2005-06-04 Anthony Green <green@redhat.com>
107 * java/net/URLClassLoader.java: import gnu.gcj.Core,
108 and gnu.java.net.protocol.core.CoreInputStream.
109 (CureURLLoader): New class.
110 (CoreResource): New class.
111 (addURLImpl): Add special treatment for the "core" protocol.
112 * gnu/gcj/natCore.cc (find): New method.
113 * gnu/gcj/Core.java (find): New method.
115 2005-06-03 Keith Seitz <keiths@redhat.com>
117 * gnu/classpath/jdwp/transport/ITransport.java: New file.
118 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
119 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
121 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
123 * jawt.c: Remove malloc.h, covered by stdlib.h.
125 * testsuite/libjava.jni/jni.exp
126 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
129 2005-06-02 Keith Seitz <keiths@redhat.com>
131 * gnu/classpath/jdwp/transport/TransportException.java: New file.
133 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
135 * mauve-libgcj: Remove implemented classes from the fail section.
136 Add two new not implemented to it.
138 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
140 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
141 AC_SUBST definition from configure.host.
142 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
143 to -fomit-frame-pointer on 32-bit x86 targets.
145 2005-06-01 Tom Tromey <tromey@redhat.com>
147 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
149 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
152 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
153 (static): Add possessive matching to JAVA_1_4 syntax.
154 * gnu/regexp/RETokenRepeated.java (possessive): New field.
155 (makePossessive, isPossessive): New methods.
156 (match): Don't back off during possessive matching.
157 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
158 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
161 2005-06-01 Keith Seitz <keiths@redhat.com>
163 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
164 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
165 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
167 2005-06-01 Tom Tromey <tromey@redhat.com>
170 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
171 (currentLoader): New method.
172 * java/io/ObjectInputStream.java (resolveProxyClass): Use
174 (currentLoader): Now native.
175 (currentClassLoader): Removed.
176 * testsuite/libjava.lang/pr21785.java: New file.
177 * testsuite/libjava.lang/pr21785.out: New file.
179 2005-06-01 Tom Tromey <tromey@redhat.com>
182 * java/lang/natString.cc (substring): Changed sharing heuristic.
184 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
187 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
188 MAXPATHLEN. Format exception message using a StringBuffer instead.
190 2005-05-29 Michael Koch <konqueror@gmx.de>
193 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
195 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
197 * ChangeLog: Fix typo.
199 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
201 Testsuite adjustments for PR java/19870.
202 * testsuite/libjava.lang/PR19870.java: New testcase.
203 * testsuite/libjava.lang/PR19870.out: Expected output for the
205 * testsuite/libjava.jacks/jacks.xfail: Add
206 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
209 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
211 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
212 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
213 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
215 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
216 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
217 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
218 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
220 2005-05-25 Richard Henderson <rth@redhat.com>
223 * sysdep/descriptor-n.h: New file.
224 * sysdep/descriptor-y.h: New file.
225 * sysdep/powerpc/descriptor.h: New file.
226 * configure.host: Set $descriptor_h appropriate for the host.
227 * configure.ac: Link it.
228 * configure: Regenerate.
229 * stacktrace.cc: Include sysdep/descriptor.h.
230 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
232 2005-05-25 Chris Burdess <dog@gnu.org>
234 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
235 end entity callbacks.
237 2005-05-24 Gary Benson <gbenson@redhat.com>
240 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
241 Handle DateFormat.DEFAULT case correctly.
243 2005-05-21 Tom Tromey <tromey@redhat.com>
246 * java/lang/ref/natReference.cc (find_slot): Handle case where
247 table has no NULL entries.
248 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
249 table has no NULL entries.
251 2005-05-22 Andreas Jaeger <aj@suse.de>
253 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
256 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
258 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
260 2005-05-19 Richard Henderson <rth@redhat.com>
262 * exception.cc: Revert 05-17 gcc_unreachable change.
264 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
266 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
267 _Jv_RegisterInitiatingLoader to register array classes, not
269 (_Jv_RegisterInitiatingLoader): Give up if called very early during
270 bootstrapping. Add a FIXME to handle this case better.
272 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
274 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
276 (libgcj_la_SOURCES): New. Move sources here.
277 (libgcj.la): Remove rule.
279 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
282 * gnu/java/security/provider/DSASignature.java: Import updates
285 2005-05-18 Anthony Green <green@redhat.com>
287 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
288 classpath_jawt_object_unlock, classpath_jawt_create_lock,
289 classpath_jawt_destroy_lock): New functions.
290 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
291 classpath_jawt_object_unlock, classpath_jawt_create_lock,
292 classpath_jawt_destroy_lock): New functions.
293 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
295 * jawt.c: #include malloc.h.
296 (_Jv_Lock): Use lock.
298 (_Jv_GetDrawingSurface): Initialize lock.
299 (_Jv_FreeDrawingSurface): Destroy lock.
300 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
302 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
304 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
305 * Makefile.in: Regenerate.
307 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
309 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
310 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
311 * aclocal.m4, configure, config.h.in, include/config.h.in,
312 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
313 external/Makefile.in, external/sax/Makefile.in,
314 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
316 2005-05-17 David Daney <ddaney@avtrex.com>
319 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
321 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
323 * exception.cc (abort): Remove std::abort hack.
324 (gcc_unreacheable): Define.
326 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
328 * Makefile.am (Makefile.deps): Do not create native.list and
330 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
331 * Makefile.in: Regenerate.
333 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
335 * configure.ac (--enable-libgcj-multifile): Remove.
337 * Makefile.am (all_native_compiled_source_files,
338 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
339 all_libgcj_lo_files, all_xlib_lo_files,
340 all_java_deps_files, all_java_stamp_files,
341 all_java_filelist_files): New variables.
342 (EXTRA_DIST): New Automake variable.
343 (CLEANFILES): Add .stamp, .list and .lo files.
344 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
345 (classes.stamp): Depend on $(all_java_stamp_files).
346 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
347 going through write_entries_to_file.
349 (all_java_source_files, all_property_files): Move earlier.
350 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
351 all_java_class_files): Remove.
352 (gtk_awt_peer_sources): Rename to...
353 (gtk_awt_peer_source_files): ... this. Adjust throughout.
356 (libgcj0_convenience_la_SOURCES): Remove Java source files.
357 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
358 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
359 (libgcj_la_SOURCES): Remove.
360 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
361 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
362 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
364 * configure: Regenerate.
365 * Makefile.in: Regenerate.
366 * external/Makefile.in: Regenerate.
367 * external/sax/Makefile.in: Regenerate.
368 * external/w3c_dom/Makefile.in: Regenerate.
369 * gcj/Makefile.in: Regenerate.
370 * include/Makefile.in: Regenerate.
371 * libltdl/Makefile.in: Regenerate.
372 * testsuite/Makefile.in: Regenerate.
374 2005-05-16 Tom Tromey <tromey@redhat.com>
376 * java/nio/charset/Charset.java (encode, decode): Synchronize on
377 'this', not the class.
379 2005-05-16 Tom Tromey <tromey@redhat.com>
381 * gnu/java/net/protocol/http/Headers.java (parse): Include final
384 2005-05-16 Tom Tromey <tromey@redhat.com>
387 * java/net/URI.java (unquote): Handle lower-case letters as well.
389 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
392 * gnu/regexp/RE.java: Add support for quoting constructs.
394 2005-05-15 Tom Tromey <tromey@redhat.com>
396 * java/lang/String.java (startsWith): Fixed javadoc.
398 2005-05-15 Tom Tromey <tromey@redhat.com>
401 * testsuite/libjava.compile/pr21519.java: New file.
402 * testsuite/libjava.compile/pr21519.no-link: New file.
404 2005-05-15 Tom Tromey <tromey@redhat.com>
406 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
408 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
411 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
412 interrupt status flag if _Jv_CondWait is interrupted.
414 2005-05-13 Tom Tromey <tromey@redhat.com>
416 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
419 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
421 * include/jvm.h (gcj::verifyClasses): Declare.
422 * link.cc (gcj::verbose_class_flag): Moved.
423 * prims.cc (gcj::verifyClasses): Define here.
424 (gcj::verbose_class_flag): Move definition here.
425 (_Jv_Linker::wait_for_state): Don't call verify_class
426 if gcj::verifyClasses is not set.
427 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
429 2005-05-12 Aaron Luchko <aluchko@redhat.com>
431 * gij.cc (main): Recognize '-verify', '-noverify', and
434 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
436 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
438 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
440 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
443 2005-05-11 Tom Tromey <tromey@redhat.com>
445 * external/w3c_dom/Makefile.in: Rebuilt.
446 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
448 * external/sax/Makefile.in: Rebuilt.
449 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
451 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
453 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
454 Call _Jv_CopyClassesToSystemLoader.
455 * java/lang/natClassLoader.cc (system_class_list): New global.
456 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
458 (_Jv_CopyClassesToSystemLoader): New function.
459 (SYSTEM_LOADER_INITIALIZED): New define.
460 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
461 (_Jv_CheckABIVersion): Use it.
462 (_Jv_ClassForBootstrapLoader): New function.
463 * Makefile.in: Rebuilt.
464 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
466 2005-05-10 Tom Tromey <tromey@redhat.com>
468 * gcj/javaprims.h: Updated.
469 * java/lang/String.java (String(StringBuilder)): New constructor.
470 * java/lang/natStringBuilder.cc: New file.
471 * java/lang/StringBuilder.java: New file.
472 * Makefile.in: Rebuilt.
473 * Makefile.am (core_java_source_files): Added StringBuilder.java.
474 (nat_source_files): Added natStringBuilder.cc.
476 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
479 * testsuite/libjava.jacks/jacks.xfail: Adjust.
481 2005-05-09 Mike Stump <mrs@apple.com>
483 * configure: Regenerate.
485 2005-05-09 David Daney <ddaney@avtrex.com>
487 * java/util/BitSet.java (get(int, int)): Fix breakage when
488 requested set doesn't start on a multiple of 64.
490 2005-05-07 Matthias Klose <doko@debian.org>
492 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
494 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
496 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
497 * Makefile.in: Regenerate.
498 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
499 (createCompatibleVolatileImage(int,int)): Implement.
500 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
502 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
504 (createVolatileImage): Implement.
505 (createBuffers): Likewise.
506 (getBackBuffer): Likewise.
508 (destroyBuffers): Likewise.
509 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
510 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
511 (CanvasFlipBufferStrategy): Likewise.
512 (createBufferStrategy(int)): New method.
513 (createBufferStrategy(int,BufferCapabilities)): Likewise.
514 * java/awt/Component.java (BltBufferStrategy): Implement and
516 (FlipBufferStrategy): Likewise.
517 * java/awt/Window.java (WindowBltBufferStrategy): New class.
518 (WindowFlipBufferStrategy): Likewise.
519 (createBufferStrategy(int)): New method.
520 (createBufferStrategy(int,BufferCapabilities)): Likewise.
521 (getBufferStrategy): Likewise.
522 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
523 front to frontCaps and back to backCaps.
525 2005-05-06 Michael Koch <konqueror@gmx.de>
527 * java/awt/BufferCapabilities.java
528 (BufferCapabilities): Merged javadoc.
530 2005-05-06 Michael Koch <konqueror@gmx.de>
532 * java/util/Locale.java
533 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
534 (getLocale): New methods. Use it everywhere where instances of Locales
536 (getDisplayLanguage): Merged javadoc.
537 (getDisplayCountry): Likewise.
538 (getDisplayVariant): Likewise.
540 2005-05-06 Archie Cobbs <archie@dellroad.org>
542 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
543 use DeleteLocalRef() to avoid exhausting local native references.
545 2005-05-06 Mark Wielaard <mark@klomp.org>
547 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
548 (window_delete_cb): Don't use C++ style comments.
550 2005-05-06 Robert Schuster <thebohemian@gmx.net>
552 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
555 2005-05-06 Robert Schuster <thebohemian@gmx.net>
557 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
558 (window_delete_cb): Made the function return TRUE.
560 2005-05-06 Roman Kennke <roman@kennke.org>
562 * javax/swing/text/PlainView.java
563 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
565 * javax/swing/text/Utilities.java
566 (drawTabbedText): Initilialize local variable pos correctly.
568 2005-05-06 Roman Kennke <roman@kennke.org>
570 * javax/swing/text/AbstractDocument.java
571 (LeafElement): Made start and end package private fields for
572 effective reindexing.
573 * javax/swing/text/PlainDocument.java
574 (constructor): The field rootElement is always BranchElement,
575 so we handle it as such.
576 (removeUpdate): Rewritten reindexing for removeUpdate so that
577 the actual removal is taken into account.
579 2005-05-06 Roman Kennke <roman@kennke.org>
581 * javax/swing/text/GapContent.java:
582 Removed debugging output stuff, which I accidentally left in.
584 2005-05-06 Roman Kennke <roman@kennke.org>
586 * javax/swing/text/GapContent.java:
587 Implemented a real GapContent. Only the public methods have
588 been implemented so far and still no UndoableEdit support.
590 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
592 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
595 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
597 * java/awt/image/BufferStrategy.java: Document.
599 * java/awt/BufferCapabilities.java: Document.
601 2005-05-04 Tom Tromey <tromey@redhat.com>
603 * java/nio/channels/FileLock.java (toString): Entirely avoid
606 2005-05-04 Andrew Overholt <overholt@redhat.com>
608 * java/nio/channels/FileLock.java (toString): Re-implement using
611 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
613 * java/awt/ImageCapabilities.java: Document.
615 * java/awt/image/VolatileImage.java: Unindent copyright header.
617 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
619 * java/awt/image/VolatileImage.java: Document.
621 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
623 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
624 (init_glib_threads): Check if threading system is already
627 2005-05-03 Andrew Overholt <overholt@redhat.com>
630 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
631 could not be acquired.
632 * java/nio/channels/FileLock.java (toString): Re-implement to be
633 in line with other implementations.
635 2005-05-03 Tom Tromey <tromey@redhat.com>
637 * java/lang/VMSecurityManager.java (currentClassLoader): Use
638 'systemClasssLoader' directly.
640 2005-05-03 Tom Tromey <tromey@redhat.com>
642 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
643 call VMClassLoader.getSystemClassLoader.
645 2005-04-29 Michael Koch <konqueror@gmx.de>
647 * java/net/NetworkInterface.java
649 (NetworkInterface(String,InetAddress)): Made package-private.
650 (NetworkInterface(String,InetAddress[])): New constructor.
651 (getRealNetworkInterfaces): Removed.
652 (getByName): Use VMNetworkInterface.getInterfaces().
653 (getByInetAddress): Likewise.
654 (getNetworkInterfaces): Likewise.
655 * java/net/VMNetworkInterface.java,
656 java/net/natVMNetworkInterfaceNoNet.cc,
657 java/net/natVMNetworkInterfacePosix.c,c
658 java/net/natVMNetworkInterfaceWin32.cc: New files.
659 * java/net/natNetworkInterfaceNoNet.cc,
660 java/net/natNetworkInterfacePosix.cc,
661 java/net/natNetworkInterfaceWin32.cc: Removed.
664 * configure, Makefile.in: Regenerated.
666 2005-04-29 Andrew Haley <aph@redhat.com>
668 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
670 2005-04-29 Dalibor Topic <robilad@kaffe.org>
672 * java/nio/channels/FileChannelImpl.java
673 (FileChannelImpl(String, int)): Removed.
674 (FileChannelImpl(File, int)): Added. Check if opened file is a
676 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
677 Call FileChannelImpl(File, int).
678 * java/io/FileOutputStream.java (FileInputStream): Call
679 FileChannelImpl(File, int).
680 * java/io/RandomAccessFile.java (RandomAccessFile):
681 Call FileChannelImpl(File, int). Switched constructors around.
683 2005-04-27 Andrew Haley <aph@redhat.com>
686 * prims.cc (_Jv_ResolvePoolEntry): New function.
687 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
688 * link.cc (_Jv_Linker::find_field): New arg: found_class.
689 (resolve_pool_entry): Initialize the class in which a field is
691 (link_symbol_table): Pass new arg to found_class.
693 2005-04-29 Michael Koch <konqueror@gmx.de>
695 * java/nio/charset/Charset.java
696 (provider): Reformatted.
698 2005-04-29 Michael Koch <konqueror@gmx.de>
700 * gnu/java/net/protocol/http/HTTPConnection.java:
701 (userAgent): Initialize from system properties.
702 (initUserAgent): Removed.
704 2005-04-29 Mark Wielaard <mark@klomp.org>
706 * java/util/ResourceBundle.java (getObject): Clarify
707 MissingResourceException detailed message.
708 (tryBundle(String,ClassLoader)): Likewise.
710 2005-04-29 Robert Schuster <thebohemian@gmx.net>
712 * java/beans/FeatureDescriptor.java:
713 (getShortDescription): Implemented fallback mechanism and fixed
714 documentation (fixes bug #12637).
715 (getDisplayName): Dito.
717 2005-04-29 Robert Schuster <thebohemian@gmx.net>
719 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
720 will now be set correctly.
721 (flushCaches): Now flushes all cached intermediate data.
723 2005-04-28 Michael Koch <konqueror@gmx.de>
725 * java/net/InetAddress.java
726 (aton): Fixed javadoc.
729 2005-04-28 Tom Tromey <tromey@redhat.com>
731 * javax/swing/Timer.java
732 (drainEvents, queueEvent): Now package-private.
734 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
736 * javax/swing/Timer.java
737 (constructor): Assigning initialDelay.
739 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
741 * javax/swing/Timer.java
742 (Waker.run): firing the first action event.
744 2005-04-28 Michael Koch <konqueror@gmx.de>
746 * javax/swing/Timer.java: Reordered all fields and methods,
749 2005-04-28 Michael Koch <konqueror@gmx.de>
751 * javax/swing/Timer.java: Javadocs merged
754 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
756 * gnu/java/net/protocol/file/Connection.java
757 (StaticData): New inner class to contain statics.
758 (connect, getHeaderField): Modified to use StaticData.
760 2005-04-28 Michael Koch <konqueror@gmx.de>
762 * gnu/java/net/protocol/file/Connection.java
763 (lineSeparator): Initialize with SystemProperties.getProperty().
765 2005-04-27 Chris Burdess <dog@gnu.org>
767 * gnu/java/net/protocol/file/Connection.java: Return correct content
768 length for directory listing.
769 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
770 #11285: return valid URLs for directories.i
772 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
774 * Makefile.am (ordinary_java_source_files): Add
775 gnu/java/net/protocol/https/Handler.java.
776 * Makefile.in: Regenerate.
777 * java/net/URL.java: Remove org.metastatic.jessie from default
778 protocol search path.
780 2005-04-27 Chris Burdess <dog@gnu.org>
782 * gnu/java/net/protocol/https/Handler.java: New file.
784 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
786 * javax/imageio/spi/IIORegistry.java (IIORegistry):
787 Don't assume that awt Toolkit is always ClasspathToolkit.
789 2005-04-27 Chris Burdess <dog@gnu.org>
791 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
792 absolute and relative paths in Location header.
794 2005-04-27 Chris Burdess <dog@gnu.org>
796 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
797 FileNotFoundException and implement getErrorStream on 404.
799 2005-04-27 Sven de Marothy <sven@physto.se>
801 * java/util/TimeZone.java,
802 (getDefaultDisplayName): Fix previous fix.
804 2005-04-27 Sven de Marothy <sven@physto.se>
806 * java/util/TimeZone.java,
807 (getDefaultDisplayName): Don't print zero offsets.
809 2005-04-27 Roman Kennke <roman@kennke.org>
811 * javax/swing/plaf/basic/BasicScrollBarUI
812 (getThumbBounds): Do not make thumb smaller than
814 * javax/swing/plaf/metal/MetalLookAndFeel
815 (initComponentDefaults): Added color defaults for ScrollBar.
816 * javax/swing/plaf/metal/MetalScrollBarUI
818 (getMinimumThumbSize): Added.
820 2005-04-27 Roman Kennke <roman@kennke.org>
822 * javax/swing/plaf/metal/MetalLookAndFeel
823 (initComponentDefaults): Added some default colors.
825 2005-04-27 Roman Kennke <roman@kennke.org>
827 * javax/swing/plaf/basic/BasicScrollBarUI.java
828 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
829 to 'ScrollBar.thumbShadow'. The formes does not exist.
830 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
832 2005-04-27 Roman Kennke <roman@kennke.org>
834 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
835 * javax/swing/BoxLayout.java: Likewise.
836 * javax/swing/UIManager.java: Likewise.
837 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
838 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
839 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
840 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
841 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
842 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
843 * javax/swing/text/Document.java: Likewise.
844 * javax/swing/text/GapContent.java: Likewise.
845 * javax/swing/text/SimpleAttributeSet.java: Likewise.
846 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
848 2005-04-27 Roman Kennke <roman@kennke.org>
850 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
851 (getPropertyPrefix): Added.
853 2005-04-27 Roman Kennke <roman@kennke.org>
855 * javax/swing/plaf/basic/BasicButtonUI.java
856 (getPropertyPrefix): Added.
857 (installDefaults): Use getPropertyPrefix instead of hard-coded
860 2005-04-27 Roman Kennke <roman@kennke.org>
862 * javax/swing/JToggleButton.java
863 (JToggleButton): Removed horizontalAlignment setting, this
864 was wrong. Added setting of an actionCommand, ToggleButtons
865 have "" as default actionCommand.
867 2005-04-27 Michael Koch <konqueror@gmx.de>
869 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
870 to work around CNI limitation.
872 2005-04-27 Sven de Marothy <sven@physto.se>
874 * java/nio/charset/Charset.java:
875 (defaultCharset()): New method.
876 Status updated to 1.5
878 2005-04-27 Sven de Marothy <sven@physto.se>
880 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
882 2005-04-27 Sven de Marothy <sven@physto.se>
884 * java/nio/charset/Charset.java: Reset cached de/encoders.
886 2005-04-27 Robert Schuster <thebohemian@gmx.net>
888 * java/nio/charset/Charset.java (forName): Throws
889 IllegalArgumentException when argument is null
890 and added documentation.
892 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
894 * java/nio/charset/Charset.java (providers):
895 New method to make an array of CharsetProviders defined in
896 META-INF/services/java.nio.charset.spi.CharsetProvider.
897 (charsetForName, availableCharsets): Use the
898 new method providers().
900 2005-04-26 Michael Koch <konqueror@gmx.de>
902 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
903 Fixed typos in javadocs.
904 (isSiteLocalAddress): Fixed handling of byte values.
905 (isMCLinkLocal): Likewise.
906 * java/net/Inet4Address.java
907 (isMulticastAddress): Call super method.
908 (isLoopbackAddress): Likewise.
909 (isAnyLocalAddress): Likewise.
910 (isLinkLocalAddress): Likewise.
911 (isSiteLocalAddress): Likewise.
912 (isMCGlobal): Likewise.
913 (isMCNodeLocal): Likewise.
914 (isMCLinkLocal): Likewise.
915 (isMCSiteLocal): Likewise.
916 (isMCOrgLocal): Likewise.
917 (getHostAddress): Likewise.
919 2005-04-26 Sven de Marothy <sven@physto.se>
921 * java/net/InetAddress.java
922 (toString): Don't print empty hostnames.
924 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
927 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
928 'false' to native lock().
929 (lock): Pass 'true' to native lock().
931 2005-04-26 Michael Koch <konqueror@gmx.de>
933 * java/net/InetAddress.java:
934 Fixed typos in javadocs.
936 2005-04-26 Andrew Haley <aph@redhat.com>
939 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
942 2005-04-26 Tom Tromey <tromey@redhat.com>
944 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
945 gnu): Now package-private.
946 * javax/swing/text/html/parser/DocumentParser.java (parser,
947 callBack, gnu): Now package-private.
948 * javax/swing/text/StringContent.java (content, setOffset,
949 checkLocation): Now package-private.
950 * javax/swing/text/JTextComponent.java (doc): Now
952 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
953 lastGoodOrientation, origParent, borders, cachedBounds,
954 cachedOrientation, DragWindow): Now package-private.
955 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
956 decrButton, viewport, panel, currentScrollLocation, layoutManager,
957 tabAreaRect, contentRect, createIncreaseButton,
958 createDecreaseButton, findPointForIndex): Now package-private.
959 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
960 (currentDividerLocation, moveDividerTo): Now package-private.
961 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
963 * javax/swing/plaf/basic/BasicScrollBarUI.java
964 (calculatePreferredSize, valueForYPosition, valueForXPosition):
966 * javax/swing/plaf/basic/BasicPopupMenuUI.java
967 (topWindowListener): Now package-private.
968 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
969 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
970 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
972 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
974 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
976 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
978 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
979 borderInsets): Now package-private.
980 (arrowButtonWidth): Likewise. Now a constant.
981 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
982 makeTabs, updatePreviewPanel): Now package-private.
983 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
984 darkShadow, highlight): Now package-private.
985 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
986 (addColorToQueue): Now package-private.
987 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
988 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
989 GSpinner, BSpinner): Now package-private.
990 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
991 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
992 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
993 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
994 updateTrack): Now package-private.
995 * javax/swing/TransferHandler.java (clipboard): Now
997 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
999 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1001 * javax/swing/RepaintManager.java (globalManager): Now
1003 * javax/swing/JFormattedTextField.java (editValid): Now
1005 * javax/swing/JColorChooser.java (makeModal): Now
1007 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1008 index, path): Now package-private.
1009 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1010 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1011 pointEquals): Now package-private.
1012 * java/awt/geom/Arc2D.java (type): Now package-private.
1013 * java/awt/Window.java (windowFocusOwner): Now package-private.
1014 * java/awt/TextComponent.java (editable, selectionStart,
1015 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1017 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1019 * java/awt/MenuComponent.java (focusListener): Now
1021 * java/awt/Frame.java (state): Now package-private.
1022 * java/awt/Choice.java (pItems): Now package-private.
1023 * java/awt/Checkbox.java (state): Now package-private.
1024 * java/awt/Button.java (actionCommand, label): Now
1026 * gnu/javax/swing/text/html/parser/support/Parser.java
1027 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1029 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1031 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1032 clip, transform, font, comp): Now package-private.
1034 2005-04-26 Tom Tromey <tromey@redhat.com>
1036 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1039 2005-04-26 Mark Wielaard <mark@klomp.org>
1041 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1042 to MalformedURLException.
1044 2005-04-26 Michael Koch <konqueror@gmx.de>
1046 * java/security/AccessControlContext.java:
1048 (protectedDomains): Renamed from 'protectionDomain'.
1049 * java/security/AccessController.java:
1052 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1054 * gnu/java/security/action/GetSecurityPropertyAction.java
1055 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1056 of extending GetPropertyAction.
1059 (setParamters): New methods.
1060 (GetSecurityPropertyAction): Use new setParameters methods.
1062 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1064 * java/security/Security.java,
1065 java/security/cert/X509CRLSelector.java,
1066 java/security/cert/X509CertSelector.java:
1067 Modified to use SystemProperties.
1069 2005-04-26 Michael Koch <konqueror@gmx.de>
1071 * java/lang/System.java
1072 (setSecurityManager): Fixed comment.
1073 (getSecurityManager): Removed obsolete comment.
1075 2005-04-25 Tom Tromey <tromey@redhat.com>
1077 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1079 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1081 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1082 (connectSignals): Realize the window widget after connecting
1085 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1087 * java/awt/GraphicsEnvironment.java
1088 (localGraphicsEnvironment): New field.
1089 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1091 (isHeadless): Added support for java.awt.headless property.
1092 (isHeadlessInstance): Call headless().
1094 2005-04-25 Roman Kennke <roman@kennke.org>
1096 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1097 (getDisplayMode): Added. Returns the current display mode.
1098 (isFullScreenSupported): Added.
1099 * java/awt/GraphicsDevice.java
1100 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1101 This resizes and relocates the fullscreen window so that it uses
1102 the whole screen. This is not a fully accelerated fullscreen
1105 2005-04-25 Michael Koch <konqueror@gmx.de>
1107 * java/lang/Runtime.java,
1108 java/lang/SecurityManager.java,
1109 java/lang/System.java,
1110 java/lang/ThreadGroup.java:
1111 Replaced java.lang.Runtime.securityManager by
1112 java.lang.SecurityManager.current (as used in GNU classpath).
1114 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1116 * java/awt/Transparency.java
1117 (getTransparency): fixed API docs.
1119 2005-04-25 Archie Cobbs <archie@dellroad.org>
1121 * java/lang/Throwable.java: simplify initializing cause in constructor
1123 2005-04-25 Michael Koch <konqueror@gmx.de>
1125 * gnu/classpath/SystemProperties.java: New file.
1126 * gnu/classpath/natSystemProperties.cc: New file.
1127 * java/lang/Runtime.java
1128 (defaultProperties): Removed.
1130 (): Made thrown exceptions more verbose.
1131 (insertSystemProperties): Removed.
1132 * java/lang/System.java
1134 (properties): Likewise.
1135 (setSecurityManager): Reordered modifiers.
1136 (getenv): Improved javadoc.
1138 (isWordsBigEndian): Removed.
1139 * java/lang/natRuntime.cc
1140 (_Jv_SetDLLSearchPath): Likewise.
1141 (file_encoding): Likewise.
1142 (default_file_encoding): Likewise.
1143 (getpwuid_adaptor): Likewise.
1144 (insertSystemProperties): Likewise.
1145 * java/lang/natSystem.cc
1146 (isWordsBigEndian): Likewise.
1148 (ordinary_java_source_files):
1149 Added gnu/classpath/SystemProperties.java.
1150 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1151 * Makefile.in: Regenerated.
1153 2005-04-25 Roman Kennke <roman@kennke.org>
1155 * javax/swing/plaf/basic/BasicScrollBarUI.java
1156 (initDefaults): Initialize thumb*Color fields correctly.
1158 2005-04-25 Roman Kennke <roman@kennke.org>
1160 * javax/swing/text/GapContent.java:
1163 2005-04-25 Roman Kennke <roman@kennke.org>
1165 * javax/swing/plaf/metal/MetalBorders.java:
1166 Added inner class ScrollPaneBorder.
1167 * javax/swing/plaf/metal/MetalLookAndFeel.java
1168 (initComponentDefaults): Added default for "ScrollPane.border"
1169 to use the new ScrollPaneBorder.
1171 2005-04-25 Roman Kennke <roman@kennke.org>
1173 * javax/swing/text/AbstractDocument.java:
1174 Added FIXME comments. This class still has to be
1175 implemented thread-safe.
1177 2005-04-25 Roman Kennke <roman@kennke.org>
1179 * javax/swing/tree/DefaultTreeSelectionModel.java
1180 (DefaultTreeSelectionModel): Initialize listenerList here.
1182 2005-04-25 Roman Kennke <roman@kennke.org>
1184 * javax/swing/plaf/metal/MetalTextFieldUI.java
1185 (createUI): Return one instance per Component instead of a
1188 2005-04-25 Roman Kennke <roman@kennke.org>
1190 * javax/swing/text/Document.java:
1191 Added API documentation comments.
1193 2005-04-25 Roman Kennke <roman@kennke.org>
1195 * javax/swing/text/AbstractDocument.java
1196 (getDocumentProperties): Implemented.
1197 (setDocumentProperties): Implemented.
1198 (getProperty): Implemented.
1199 (putProperty): Implemented.
1201 2005-04-25 Roman Kennke <roman@kennke.org>
1203 * javax/swing/BoxLayout
1204 (preferredLayoutSize): Fixed computation so that it correctly
1205 adds the top and bottom insets of the container.
1207 2005-04-25 Roman Kennke <roman@kennke.org>
1209 * javax/swing/plaf/basic/BasicMenuItemUI.java
1210 (paintText): Make use of the 'selectionForeground' UI default
1213 2005-04-25 Roman Kennke <roman@kennke.org>
1215 * javax/swing/plaf/basic/BasicLookAndFeel.java
1216 (initSystemColorDefaults): Modified colors to match the
1217 BasicLookAndFeel in the reference implementation.
1218 (initComponentDefaults): Likewise.
1220 2005-04-25 Tom Tromey <tromey@redhat.com>
1222 * include/jni.h (_Jv_va_list): Removed.
1223 Moved configuration code...
1224 * include/jni_md.h: ... here. New file.
1225 * include/Makefile.in: Rebuilt.
1226 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1228 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1230 * java/io/FileInputStream.java (FileInputStream(File)),
1231 java/io/FileOutputStream.java (FileOutputStream(File)):
1232 Removed unnecessary File.isDirectory() check.
1234 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1236 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1237 gij if get_multilibs fails.
1239 2005-04-22 Anthony Green <green@redhat.com>
1241 * jni.cc (natrehash): Don't bother clearing memory again.
1242 * interpret.cc (do_allocate_static_fields): Ditto.
1243 * java/lang/natString.cc (rehash): Ditto.
1245 2005-04-22 Roman Kennke <roman@kennke.org>
1247 * javax/swing/plaf/basic/BasicLookAndFeel.java
1248 (initComponentDefaults): Changed Button.border to be
1249 BasicBorders.getButtonBorder as it should be.
1251 2005-04-22 Roman Kennke <roman@kennke.org>
1253 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1254 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1255 should according to a mauve testcase, instead of the preferred
1258 2005-04-22 Roman Kennke <roman@kennke.org>
1260 * javax/swing/JMenu.java
1261 (add): add(Component) now calls PopupMenu.insert(..) instead of
1262 PopupMenu.add(..). add(..) is not implemented for Component,
1263 so JComponent.add(..) is called instead, adding the component
1266 2005-04-22 Roman Kennke <roman@kennke.org>
1268 * javax/swing/plaf/basic/BasicButtonListener.java
1269 (mousePressed): replaced query to getModifiersEx with getModifiers.
1270 This method relied on faulty behaviour in getModifierEx.
1271 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1272 This method relied on faulty behaviour in getModifierEx.
1274 2005-04-22 Roman Kennke <roman@kennke.org>
1276 * javax/swing/plaf/metal/MetalLookAndFeel.java
1277 (getDefaults): Call addCustomEntriesToTable on the theme.
1279 2005-04-22 Roman Kennke <roman@kennke.org>
1281 * javax/swing/tree/DefaultTreeSelectionModel.java
1282 (constructor): Added implementation.
1283 (getRowMapper): Added implementation.
1284 (setSelectionMode): Added implementation.
1285 (getSelectionMode): Added implementation.
1286 (getSelectionPath): Added implementation.
1287 (getSelectionPaths): Added implementation.
1288 (getSelectionCount): Added implementation.
1289 (isSelectionEmpty): Added implementation.
1290 (getSelectionRows): Added implementation.
1291 (getMinSelectionRow): Added implementation.
1292 (getMaxSelectionRow): Added implementation.
1293 (getLeadSelectionRow): Added implementation.
1294 (getLeadSelectionPath): Added implementation.
1296 2005-04-22 Casey Marshall <csm@gnu.org>
1298 * gnu/java/security/der/DERValue.java
1299 (getValueAs): new method.
1300 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1301 (<init>): read both dates with 'DERValue.getValueAs', with
1302 'GENERALIZED_TIME' as the argument.
1304 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1306 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1307 be null, check for that case and don't deference it.
1309 2005-04-22 Sven de Marothy <sven@physto.se>
1311 * java/util/logging/LogManager.java: Reformatted.
1312 (readConfiguration): If a logger for a key is not found, create one.
1314 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1316 * java/rmi/Naming.java:
1317 Added class documentation.
1318 (lookup(String)): Call parseURL and getName.
1319 (bind(String,java.rmi.Remote)): Likewise.
1320 (unbind(String)): Likewise.
1321 (rebind(String, java.rmi.Remote)): Likewise.
1322 (list(String)): Call parseURL.
1323 (parseURL(String)): New method to handle parsing and defaults.
1324 (getName(java.net.URL)): New method to handle finding the service name.
1326 2005-04-21 Tom Tromey <tromey@redhat.com>
1328 * java/lang/natClass.cc (initializeClass): Link class.
1330 2005-04-21 Tom Tromey <tromey@redhat.com>
1332 * java/lang/AssertionError.java: Typo fix.
1334 2005-04-21 Tom Tromey <tromey@redhat.com>
1336 * java/lang/VMClassLoader.java (transformException): Removed.
1337 (resolveClass): No longer native. Now does nothing.
1338 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1340 2005-04-21 Anthony Green <green@redhat.com>
1343 * testsuite/libjava.special/special.exp,
1344 testsuite/libjava.special/pr21115I.java,
1345 testsuite/libjava.special/pr21115.java,
1346 testsuite/libjava.special/pr21115.out: New files.
1348 2005-04-21 Chris Burdess <dog@gnu.org>
1350 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1351 CRLF-delimited chunks.
1353 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1355 * java/net/URI.java:
1356 Added class documentation.
1357 (parseURI(String)): Only handle scheme-specific parts
1358 if URI is not opaque. Allow for parts that can't be null.
1359 (toString()): Output the scheme-specific part whole, rather
1360 than as its possibly non-existent components.
1362 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1364 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1365 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1366 Adjusted to match new regexp.
1368 2005-04-20 Michael Koch <konqueror@gmx.de>
1370 * gnu/java/net/protocol/file/Connection.java,
1371 gnu/java/net/protocol/jar/Connection.java:
1372 Reorganized import statements. Fixed @author tags.
1374 2005-04-20 Chris Burdess <dog@gnu.org>
1376 * java/io/DataOutputStream.java (writeUTF): Use block write for
1379 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1381 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1382 (readLine): Changed newline handling.
1384 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1386 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1387 ColorModel,byte[],int,int): Fixed byte to int conversion.
1389 2005-04-20 Michael Koch <konqueror@gmx.de>
1391 * java/io/FilePermission.java
1392 (serialVersionUID): Made private.
1393 (ALL_FILES): New constant.
1394 (implies): Handle '<<ALL FILES>>' case.
1396 2005-04-20 Sven de Marothy <sven@physto.se>
1398 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1399 (drawImage): Don't notify the image observer for offscreen images.
1400 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1401 (setPixels): Don't notify the image observer.
1403 2005-04-20 Sven de Marothy <sven@physto.se>
1405 * java/nio/ByteBufferImpl.java:
1406 (putChar): Inlined for speed.
1407 (put, get): Bulk methods can use arraycopy.
1408 * java/nio/CharBufferImpl.java:
1409 (put, get): Bulk methods can use arraycopy.
1411 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1413 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1415 * java/nio/CharBufferImpl.java
1416 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1417 (get(), put(char)): Inlined checks and field updates. Fixed to
1418 take array_offset into account.
1419 (get(int), put(int, char)): Fixed to take array_offset into account.
1421 2005-04-20 Sven de Marothy <sven@physto.se>
1423 * java/text/SimpleDateFormat.java:
1424 (formatWithAttribute): Pad year before truncating digits.
1426 2005-04-20 Michael Koch <konqueror@gmx.de>
1428 * gnu/java/net/PlainDatagramSocketImpl.java:
1429 Merged copyright header.
1430 * gnu/java/net/PlainSocketImpl.java:
1431 Reorganized import statements. Fixed @author tags.
1433 2005-04-20 Michael Koch <konqueror@gmx.de>
1435 * gnu/java/lang/ClassHelper.java,
1436 gnu/java/lang/reflect/TypeSignature.java:
1439 2005-04-20 Michael Koch <konqueror@gmx.de>
1441 * gnu/java/beans/IntrospectionIncubator.java:
1442 Fixed HTML tags in javadocs.
1444 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1446 * gnu/java/beans/IntrospectionIncubator.java
1447 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1448 set(), is(), add() and remove() with properties or events.
1450 2005-04-20 Michael Koch <konqueror@gmx.de>
1452 * gnu/java/awt/image/XBMDecoder.java:
1453 Fixed modifier order.
1455 2005-04-20 Roman Kennke <roman@kennke.org>
1457 * javax/swing/plaf/basic/BasicButtonUI.java
1458 (paint): This should not care about margin and insets
1459 at the same time, as insets already include the margin
1461 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1462 (getPreferredButtonSize): Likewise.
1463 * javax/swing/plaf/metal/MetalBorders.java
1464 (getBorderInsets): Likewise.
1466 2005-04-20 Roman Kennke <roman@kennke.org>
1468 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1469 (createMessageArea): The JPanel that holds the message area
1470 doesn't need to override getPreferredSize. This prevents some
1471 message components from rendering nicely.
1473 2005-04-20 Roman Kennke <roman@kennke.org>
1475 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1476 (createUI): Do not share instances between components.
1477 * javax/swing/plaf/metal/MetalSliderUI.java
1478 (createUI): Do not share instances between components.
1480 2005-04-20 Roman Kennke <roman@kennke.org>
1482 * javax/swing/plaf/metal/MetalBorders:
1483 (PopupMenuBorder): Added.
1484 * javax/swing/plaf/metal/MetalLookAndFeel
1485 (initComponentDefaults): Added PopupMenuBorder.
1487 2005-04-20 Roman Kennke <roman@kennke.org>
1489 * javax/swing/tree/DefaultTreeSelectionModel.java:
1490 Added API documentation all over the class.
1492 2005-04-20 Roman Kennke <roman@kennke.org>
1494 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1495 (installDefaults): Link managed JScrollPane in instance field.
1496 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1498 2005-04-20 Roman Kennke <roman@kennke.org>
1500 * javax/swing/plaf/basic/BasicScrollBarUI.java
1501 (PropertyChangeHandler.propertyChange): Add default
1502 to switch statement to avoid errors with unusual values
1504 (installComponents): Likewise.
1506 2005-04-20 Roman Kennke <roman@kennke.org>
1508 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1509 (createUI): Instances cannot be shared among JScrollPanes.
1511 2005-04-20 Roman Kennke <roman@kennke.org>
1513 * javax/swing/plaf/metal/MetalLookAndFeel.java
1514 (initComponentDefaults): Added defaults for Menu, MenuBar
1517 2005-04-20 Roman Kennke <roman@kennke.org>
1519 * javax/swing/plaf/basic/BasicScrollBarUI.java
1520 (installUI): Install listeners after everything all, otherwise
1521 we get strange NPEs in some situations, especially with
1523 (createIncreaseButton): Orientation is expected to be
1524 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1525 HORIZONTAL or VERTICAL.
1526 (createDecreaseButton): Orientation is expected to be
1527 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1528 HORIZONTAL or VERTICAL.
1529 (installComponents): Orientation for buttons is expected to be
1530 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1531 HORIZONTAL or VERTICAL.
1533 2005-04-20 Roman Kennke <roman@kennke.org>
1535 * javax/swing/JToolBar.java
1536 (addImpl): Adjust added AbstractButtons to look and feel like
1538 * javax/swing/plaf/metal/MetalBorders.java:
1539 Adjusted insets of ButtonBorder.
1540 (RolloverMarginBorder): Added class for toolbar buttons.
1541 (getButtonBorder): Adjusted factory method to return a shared
1542 instance of button border.
1543 (getToolbarButtonBorder): Added factory method to return a shared
1544 instance of toolbar button border.
1545 (getMarginBorder): Added factory method to return a shared
1546 instance of margin border.
1547 * javax/swing/plaf/metal/MetalButtonUI.java
1548 (installDefauls): If button is child of a JToolBar then set
1549 special border on this button.
1551 2005-04-20 Michael Koch <konqueror@gmx.de>
1553 * java/net/URLConnection.java
1554 (getContent): Fixed javadoc comment.
1556 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1558 * java/net/URL.java:
1559 (toURI()): Implemented.
1561 2005-04-19 Michael Koch <konqueror@gmx.de>
1563 * java/net/InetAddress.java
1564 (InetAddress): Fixed javadoc comment.
1566 (lookup): Added javadoc.
1567 (getFamily): Likewise.
1568 * java/net/ServerSocket.java
1569 (getChannel): Improved javadoc comment.
1571 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1573 * gnu/xml/dom/html2/DomHTMLParser.java:
1574 Changed 'enum' references to become 'enumeration'.
1576 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1578 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1580 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1582 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1583 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1584 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1585 (validateParameters(TagElement,htmlAttributeSet)):
1586 Replaced 'enum' with 'enumeration'.
1587 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1590 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1592 * javax/swing/text/html/parser/Entity.java (getType): New method.
1593 * javax/swing/text/html/parser/DocumentParser.java:
1594 Inherit from javax.swing.text.html.parser.Parser.
1596 2005-04-19 Chris Burdess <dog@gnu.org>
1598 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1599 check for HTML/XHTML namespace.
1601 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1603 * javax/swing/text/html/parser/Parser.java,
1604 javax/swing/text/html/parser/Entity.java:
1605 Inheriting from DTDConstants.
1606 * javax/swing/text/html/parser/AttributeList.java
1607 (getValues): Changed return type.
1608 * javax/swing/text/html/parser/DocumentParser
1609 (parse): Adding the callback parameter that receives
1612 2005-04-19 Chris Burdess <dog@gnu.org>
1614 * gnu/xml/dom/DomImpl.java,
1615 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1616 gnu/xml/dom/html2/DomHTMLDocument.java,
1617 gnu/xml/dom/html2/DomHTMLElement.java,
1618 gnu/xml/dom/html2/DomHTMLFormElement.java,
1619 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1620 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1621 gnu/xml/dom/html2/DomHTMLImpl.java,
1622 gnu/xml/dom/html2/DomHTMLInputElement.java,
1623 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1624 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1625 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1626 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1627 gnu/xml/dom/html2/DomHTMLTableElement.java,
1628 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1629 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1630 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1631 UI events, and tree utility functions.
1633 2005-04-19 Michael Koch <konqueror@gmx.de>
1635 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1636 gnu/javax/swing/text/html/parser/gnuDTD.java,
1637 gnu/javax/swing/text/html/parser/models/node.java:
1638 Reworked import statements.
1640 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1642 * javax/swing/text/html/HTMLDocument.java: New file.
1644 2005-04-19 Michael Koch <konqueror@gmx.de>
1646 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1648 * javax/swing/text/html/parser/AttributeList.java:
1649 Fixed order of modifiers.
1650 (AttributeList): Made final.
1651 * javax/swing/text/html/parser/ContentModel.java:
1652 Fixed html characters in javadocs.
1653 * javax/swing/text/html/parser/DTD.java
1654 (DTD): Don't implement java.io.Serializable directly.
1655 (getElement): Simplified.
1656 * javax/swing/text/html/parser/DTDConstants.java:
1658 * javax/swing/text/html/parser/Element.java:
1659 Fixed order of modifiers.
1660 * javax/swing/text/html/parser/Parser.java:
1661 Reformatted. Don't use fully-qualified class names.
1662 * javax/swing/text/html/parser/ParserDelegator.java:
1663 Fixed order of modifiers.
1664 * javax/swing/text/rtf/RTFParser.java:
1665 Re-ordered import statements.
1666 * javax/swing/text/rtf/RTFScanner.java:
1667 Removed unused import statement.
1669 2005-04-19 Chris Burdess <dog@gnu.org>
1671 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1672 gnu/xml/dom/html2/DomHTMLCollection.java,
1673 gnu/xml/dom/html2/DomHTMLDocument.java,
1674 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1676 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1677 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1678 gnu/xml/dom/html2/DomHTMLDivElement.java,
1679 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1680 gnu/xml/dom/html2/DomHTMLFontElement.java,
1681 gnu/xml/dom/html2/DomHTMLFormElement.java,
1682 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1683 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1684 gnu/xml/dom/html2/DomHTMLHRElement.java,
1685 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1686 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1687 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1688 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1689 gnu/xml/dom/html2/DomHTMLImageElement.java,
1690 gnu/xml/dom/html2/DomHTMLInputElement.java,
1691 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1692 gnu/xml/dom/html2/DomHTMLLIElement.java,
1693 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1694 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1695 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1696 gnu/xml/dom/html2/DomHTMLMapElement.java,
1697 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1698 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1699 gnu/xml/dom/html2/DomHTMLModElement.java,
1700 gnu/xml/dom/html2/DomHTMLOListElement.java,
1701 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1702 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1703 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1704 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1705 gnu/xml/dom/html2/DomHTMLParamElement.java,
1706 gnu/xml/dom/html2/DomHTMLPreElement.java,
1707 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1708 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1709 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1710 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1711 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1712 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1713 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1714 gnu/xml/dom/html2/DomHTMLTableElement.java,
1715 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1716 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1717 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1718 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1719 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1721 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1723 * javax/swing/text/ChangedCharSetException.java,
1724 javax/swing/text/html/HTMLEditorKit.java,
1725 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1726 javax/swing/text/html/parser/AttributeList.java,
1727 javax/swing/text/html/parser/ContentModel.java,
1728 javax/swing/text/html/parser/DocumentParser.java,
1729 javax/swing/text/html/parser/DTD.java,
1730 javax/swing/text/html/parser/DTDConstants.java,
1731 javax/swing/text/html/parser/Element.java,
1732 javax/swing/text/html/parser/Entity.java,
1733 javax/swing/text/html/parser/Parser.java,
1734 javax/swing/text/html/parser/TagElement.java,
1735 gnu/javax/swing/text/html/package.html,
1736 gnu/javax/swing/text/html/parser/gnuDTD.java,
1737 gnu/javax/swing/text/html/parser/HTML_401F.java,
1738 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1739 gnu/javax/swing/text/html/parser/htmlValidator.java,
1740 gnu/javax/swing/text/html/parser/package.html,
1741 gnu/javax/swing/text/html/parser/models/list.java,
1742 gnu/javax/swing/text/html/parser/models/node.java,
1743 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1744 gnu/javax/swing/text/html/parser/models/package.html,
1745 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1746 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1747 gnu/javax/swing/text/html/parser/models/transformer.java,
1748 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1749 gnu/javax/swing/text/html/parser/support/package.html,
1750 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1751 gnu/javax/swing/text/html/parser/support/Parser.java,
1752 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1753 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1754 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1755 gnu/javax/swing/text/html/parser/support/low/Location.java,
1756 gnu/javax/swing/text/html/parser/support/low/node.java,
1757 gnu/javax/swing/text/html/parser/support/low/package.html,
1758 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1759 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1760 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1761 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1763 * javax/swing/text/html/HTML.java,
1764 javax/swing/text/html/parser/ParserDelegator.java:
1765 New files (replacing).
1766 * javax/swing/text/html/package.html,
1767 javax/swing/text/html/parser/package.html: Documenting the
1770 2005-04-19 Chris Burdess <dog@gnu.org>
1772 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1773 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1774 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1775 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1776 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1777 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1778 gnu/xml/dom/html2/DomHTMLBRElement.java,
1779 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1780 gnu/xml/dom/html2/DomHTMLCollection.java,
1781 gnu/xml/dom/html2/DomHTMLDocument.java,
1782 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1784 2005-04-19 Michael Koch <konqueror@gmx.de>
1786 * Makefile.am: Added new files.
1787 * Makefile.in: Regenerated.
1789 2005-04-19 Roman Kennke <roman@kennke.org>
1791 * javax/swing/text/JTextComponent.java
1792 (JTextComponent): Added repaintListener which issues repaint
1793 requests when the underlying document changes.
1794 (setDocument): Adds repaintListener to document when the
1795 document is changed.
1796 * javax/swing/text/DefaultEditorKit.java:
1797 Removed repaint calls on JTextComponent. This is now handled
1798 through a DocumentListener in JTextComponent that repaints
1799 the component when needed.
1801 2005-04-19 Roman Kennke <roman@kennke.org>
1804 * javax/swing/text/StyleContext.java
1805 (NamedStyle.setResolveParent): Added null
1808 2005-04-19 Michael Koch <konqueror@gmx.de>
1810 * java/rmi/server/RemoteObject.java:
1811 Removed unused import statement.
1813 2005-04-19 Michael Koch <konqueror@gmx.de>
1815 * java/net/URL.java: Formatting cleanups.
1817 2005-04-19 Michael Koch <konqueror@gmx.de>
1819 * java/awt/FontMetrics.java: Reformatted.
1820 (getFontRenderContext): Handle case when java.awt.Graphics context is
1823 2005-04-19 Michael Koch <konqueror@gmx.de>
1825 * java/awt/FontMetrics.java
1826 (getStringBounds): New methods.
1829 2005-04-19 Michael Koch <konqueror@gmx.de>
1831 * gnu/java/security/x509/X509Certificate.java
1832 (parse): Handle val == null case.
1834 2005-04-19 Roman Kennke <roman@kennke.org>
1836 * javax/swing/plaf/metal/MetalLookAndFeel.java
1837 (initComponentDefaults): Added defaults for Menu, MenuBar
1840 2005-04-19 Roman Kennke <roman@kennke.org>
1842 * javax/swing/plaf/metal/MetalLookAndFeel.java
1843 (initComponentDefaults): Added Label.font.
1844 (initSystemColorDefaults): Added this method and adjusted the
1845 general control color.
1847 2005-04-19 Roman Kennke <roman@kennke.org>
1849 * javax/swing/plaf/metal/MetalBorders.java:
1851 * javax/swing/plaf/metal/MetalButtonUI.java:
1852 (installDefaults): Install button font.
1853 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1854 (initComponentDefaults): Added button border, font and margin.
1855 Changed components background color to the Metal current themes
1858 2005-04-19 Roman Kennke <roman@kennke.org>
1860 * javax/swing/plaf/metal/MetalLookAndFeel.java
1861 (initComponentDefaults): Added to set Metal specific component
1864 2005-04-19 Mark Wielaard <mark@klomp.org>
1866 * javax/swing/plaf/metal/MetalLookAndFeel.java
1867 (initClassDefaults): Call super.initClassDefaults().
1869 2005-04-19 Roman Kennke <roman@kennke.org>
1871 * javax/swing/plaf/metal/MetalLookAndFeel.java
1872 (initClassDefaults): Added to include the *UI classes.
1874 2005-04-19 Roman Kennke <roman@kennke.org>
1876 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1878 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1880 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1882 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1884 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1886 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1888 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1890 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1892 * javax/swing/plaf/metal/MetalSliderUI.java:
1894 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1896 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1898 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1900 2005-04-19 Roman Kennke <roman@kennke.org>
1902 * javax/swing/plaf/metal/MetalButtonUI.java:
1903 Added skeleton class.
1904 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1905 Added skeleton class.
1906 * javax/swing/plaf/metal/MetalLabelUI.java:
1907 Added skeleton class.
1908 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1909 Added skeleton class.
1910 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1911 Added skeleton class.
1912 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1913 Added skeleton class.
1915 2005-04-19 Roman Kennke <roman@kennke.org>
1917 * javax/swing/UIDefaults.java:
1918 Added API documentation for all methods.
1920 2005-04-19 Roman Kennke <roman@kennke.org>
1922 * javax/swing/UIDefaults.java
1923 (put): Now uses new checkAndPut method instead of checking
1925 (putDefaults): Fixed so that it accepts null-values and
1926 treats them like remove(key).
1927 (checkAndPut): Added. This checks for null-values and calls
1930 2005-04-19 Michael Koch <konqueror@gmx.de>
1932 * Makefile.am: Added new files.
1933 * Makefile.in: Regenerated.
1935 2005-04-19 Mark Wielaard <mark@klomp.org>
1937 * java/lang/natRuntime.cc (insertSystemProperties): Set
1938 java.class.path to CLASSPATH only when not empty. Fall back to
1939 default path "." when java.class.path is empty.
1941 2005-04-19 Michael Koch <konqueror@gmx.de>
1943 * javax/swing/text/rtf/ControlWordToken.java,
1944 javax/swing/text/rtf/RTFEditorKit.java,
1945 javax/swing/text/rtf/RTFParseException.java,
1946 javax/swing/text/rtf/RTFParser.java,
1947 javax/swing/text/rtf/RTFScanner.java,
1948 javax/swing/text/rtf/TextToken.java,
1949 javax/swing/text/rtf/Token.java: New files.
1950 * Makefile.am: Added new files.
1951 * Makefile.in: Regenerated.
1953 2005-04-19 Michael Koch <konqueror@gmx.de>
1955 * java/awt/geom/QuadCurve2D.java:
1956 Fixed Brian Gough's name for real.
1958 2005-04-19 Roman Kennke <roman@kennke.org>
1960 * javax/swing/UIManager.java:
1961 Make the UIManager respect the swing.defaultlaf system
1964 2005-04-19 Tom Tromey <tromey@redhat.com>
1966 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1969 2005-04-19 Roman Kennke <roman@kennke.org>
1971 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1972 Fixed tabs to spaces.
1974 2005-04-19 Roman Kennke <roman@kennke.org>
1976 * javax/swing/plaf/basic/BasicMenuUI.java
1977 (getMaximumSize): Now returns preferredSize because JMenu should
1978 never be bigger than that.
1979 * javax/swing/JRootPane
1980 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1982 2005-04-19 Roman Kennke <roman@kennke.org>
1984 * javax/swing/JRootPane.java:
1985 Fixed various tabs to be spaces.
1986 (RootLayout.layoutContainer): Made menubar left aligned.
1988 2005-04-19 Roman Kennke <roman@ontographics.com>
1990 * javax/swing/JList.java
1991 (getPreferredScrollableViewportSize):
1992 The previous implementation was merely guessing the size,
1993 now it respects layoutOrientation, visibleRowCount
1995 (getScrollableTracksViewportHeight):
1996 Reimplemented so that layoutOrientation, visibleRowCount
1997 and preferred size are respected.
1998 (getScrollableTracksViewportWidth):
1999 Reimplemented so that layoutOrientation, visibleRowCount
2000 and preferred size are respected.
2001 * javax/swing/plaf/basic/BasicListUI.java
2003 Improved calculation of preferredSize when JList is
2004 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2006 The previous implementation assumed a layoutOrientation of
2007 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2008 JList.VERTICAL_WRAP.
2010 2005-04-19 Roman Kennke <roman@ontographics.com>
2012 * javax/swing/plaf/basic/BasicListUI.java
2013 (paintCell): use CellRendererPane for painting the cells.
2015 2005-04-19 Roman Kennke <roman@ontographics.com>
2017 * javax/swing/plaf/basic/BasicListUI:
2018 fixed modifiers of several fields, methods and inner
2019 classes to match the 'spec'.
2020 (getMaximumSize): removed. It's not in the spec and the
2021 implementations was superfluous.
2023 2005-04-19 Roman Kennke <roman@ontographics.com>
2025 * javax/swing/plaf/basic/BasicListUI:
2026 make BasicListUI capable of wrapping lists
2027 (layoutOrientation property of javax.swing.JList)
2029 2005-04-19 Roman Kennke <roman@ontographics.com>
2031 * javax/swing/plaf/basic/BasicListUI
2032 (updateLayoutState,paint): make BasicListUI aware of the
2033 width of the rendered JList.
2035 2005-04-19 Roman Kennke <roman@kennke.org>
2037 * javax/swing/ImageIcon.java
2038 Added API documentation.
2040 2005-04-19 Roman Kennke <roman@kennke.org>
2042 * javax/swing/text/ImageIcon.java
2043 (ImageIcon): Use setImage instead of direct assignment.
2044 (setImage): Call loadImage to make sure that the image is loaded.
2045 (loadImage): Waits for the image to complete loading.
2046 (getImageLoadStatus): Added. Returns the load status of the
2049 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2051 * javax/swing/JTextArea.java (replaceRange):
2052 Fixing doc.remove(start, length) misinterpretation.
2054 2005-04-19 Roman Kennke <roman@ontographics.com>
2056 * javax/swing/CellRendererPane.java:
2057 implemented all methods of this class.
2058 reformatted all wrong formatted code.
2060 2005-04-19 Roman Kennke <roman@kennke.org>
2062 * javax/swing/BoxLayout.java:
2063 (layoutContainer): Made this layout manager respect the
2064 minimum, maximum and preferred size more correctly.
2066 2005-04-19 Roman Kennke <roman@ontographics.com>
2068 * javax/swing/BoxLayout.java:
2069 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2070 layoutContainer): Make these methods and thereby the
2071 BoxLayout respect the insets (like borders) of the
2072 component that is laid out.
2074 2005-04-19 Roman Kennke <roman@kennke.org>
2076 * javax/swing/JComponent.java:
2077 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2078 Untabified the file.
2080 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2082 * javax/swing/JComboBox.java (constructors): selecting the
2083 first item if the box was constructed from the provided
2084 non - empty array or vector.
2086 2005-04-19 Michael Koch <konqueror@gmx.de>
2088 * gnu/java/awt/peer/gtk/GdkGraphics.java
2089 (getClipBounds): Handle clip being null.
2090 (setClip): Likewise.
2091 * java/beans/beancontext/BeanContextSupport.java
2095 (removeAll): Likewise.
2096 (retainAll): Likewise.
2098 2005-04-19 Michael Koch <konqueror@gmx.de>
2100 * java/beans/beancontext/BeanContextServicesSupport.java
2101 (BeanContextServicesSupport): Reimplemented.
2102 (addBeanContextServicesListener): Implemented.
2103 (initialize): Likewise.
2104 (removeBeanContextServicesListener): Likewise.
2105 * java/beans/beancontext/BeanContextSupport.java
2107 (addBeanContextMembershipListener): Likewise.
2108 (getLocale): Likewise.
2109 (initialize): Likewise.
2110 (iterator): Likewise.
2112 (toArray): Likewise.
2114 2005-04-19 Roman Kennke <roman@kennke.org>
2116 * java/awt/MediaTracker.java:
2117 Reindented tabs to spaces.
2119 2005-04-19 Roman Kennke <roman@kennke.org>
2121 * java/awt/MediaTracker.java
2122 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2123 confused the media tracker and lead to lockups. The LOADING
2124 bit is handled on other places.
2125 (addImage): Removed the 'start image tracking' stuff. This
2126 is not necessary and could confuse the media tracker.
2127 (checkAll): Improved the check for image status so that
2128 images that already complete images are detected. Also now
2129 are really all images checked and if necessary loaded. Before
2130 the method bailed out after the first incomplete image.
2131 (statusAll): Detect images that are complete after the
2132 call to Component.prepareImage(..).
2133 (checkID): The same as in checkAll.
2134 (statusID): The same as in statusAll.
2136 2005-04-19 Roman Kennke <roman@kennke.org>
2138 * java/awt/MediaTracker.java
2139 (addImage): Synchronized list access.
2140 (waitForAll): Fixed comparison of time (changed < to >).
2141 (waitForID): Fixed comparison of time (changed < to >).
2142 (removeImage): Synchronized list access.
2144 2005-04-19 Roman Kennke <roman@kennke.org>
2146 * java/awt/MediaTracker.java
2147 Added API documentation.
2149 2005-04-19 Roman Kennke <roman@kennke.org>
2151 * java/awt/MediaTracker.java
2152 (MediaEntry.imageUpdate): Fixed flags. The different flags
2153 must not be ORed together.
2154 (checkAll): Modified to handle different meaning of the flags.
2155 (waitForAll): Fixed so that it waits maximum the
2156 specified amount of milliseconds.
2157 (statusAll): Modified to handle different meaning of the flags.
2158 (waitForID): Fixed so that it waits maximum the
2159 specified amount of milliseconds.
2161 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2163 * java/awt/Font.java (decode): Handle null argument and allow
2166 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2168 * java/beans/EventHandler.java: Reworked documentation.
2169 (invoke): Fixed behavior to match spec.
2171 2005-04-19 Michael Koch <konqueror@gmx.de>
2173 * java/awt/print/PrinterJob.java
2174 (pageDialog): New method.
2175 (printDialog): Implemented.
2177 2005-04-19 Michael Koch <konqueror@gmx.de>
2179 * java/awt/image/ConvolveOp.java:
2180 Removed comment added by eclipse.
2182 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2184 * java/awt/image/IndexColorModel.java
2185 (getRGB): Check if pixel is negative.
2187 2005-04-19 Michael Koch <konqueror@gmx.de>
2189 * java/awt/image/RasterOp.java:
2190 Fixed wrong formatting.
2192 2005-04-18 Roman Kennke <roman@kennke.org>
2194 * java/awt/Compmonent.java
2195 (setComponentOrientation): Made this property firing a
2196 PropertyChangeEvent.
2198 2005-04-18 Roman Kennke <roman@kennke.org>
2200 * java/awt/BorderLayout.java
2201 (calcSize): Check for overflow when component sizes are added.
2203 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2205 * java/awt/AWTEvent.java (toString): Added case
2206 for source not being an AWT component.
2208 2005-04-18 Chris Burdess <dog@gnu.org>
2210 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2212 2005-04-18 Michael Koch <konqueror@gmx.de>
2214 gnu/java/awt/EmbeddedWindowSupport.java,
2215 gnu/java/net/HeaderFieldHelper.java,
2216 gnu/java/net/URLParseError.java,
2217 gnu/java/net/protocol/file/Handler.java,
2218 gnu/java/net/protocol/jar/Handler.java:
2219 Fixed usage of @author tag.
2221 2005-04-18 Michael Koch <konqueror@gmx.de>
2223 * gnu/xml/aelfred2/XmlParser.java:
2224 Reverted my typo fix.
2226 2005-04-18 Michael Koch <konqueror@gmx.de>
2228 * java/awt/geom/CubicCurve2D.java,
2229 java/awt/geom/QuadCurve2D.java:
2230 Fixed mentioning of Brian Gouph.
2232 2005-04-18 Michael Koch <konqueror@gmx.de>
2234 * gnu/java/awt/Buffers.java,
2235 gnu/java/awt/image/ImageDecoder.java,
2236 gnu/java/awt/image/XBMDecoder.java,
2237 gnu/java/awt/peer/ClasspathFontPeer.java,
2238 gnu/java/net/CRLFInputStream.java,
2239 gnu/java/net/EmptyX509TrustManager.java,
2240 gnu/java/net/LineInputStream.java,
2241 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2242 gnu/java/net/protocol/ftp/BlockInputStream.java,
2243 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2244 gnu/java/net/protocol/ftp/DTP.java,
2245 gnu/java/net/protocol/ftp/DTPInputStream.java,
2246 gnu/java/net/protocol/ftp/FTPConnection.java,
2247 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2248 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2249 gnu/java/net/protocol/ftp/StreamInputStream.java,
2250 gnu/java/net/protocol/http/ChunkedInputStream.java,
2251 gnu/java/net/protocol/http/HTTPConnection.java,
2252 gnu/java/net/protocol/http/HTTPURLConnection.java,
2253 gnu/java/net/protocol/http/Headers.java,
2254 gnu/java/net/protocol/http/Request.java,
2255 gnu/java/nio/ChannelInputStream.java,
2256 gnu/java/nio/ChannelOutputStream.java,
2257 gnu/java/nio/InputStreamChannel.java,
2258 gnu/java/nio/OutputStreamChannel.java,
2259 gnu/java/nio/SelectorProviderImpl.java,
2260 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2261 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2262 gnu/java/rmi/dgc/DGCImpl.java,
2263 gnu/java/rmi/registry/RegistryImpl.java,
2264 gnu/java/rmi/server/ProtocolConstants.java,
2265 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2266 gnu/java/rmi/server/RMIIncomingThread.java,
2267 gnu/java/rmi/server/RMIObjectInputStream.java,
2268 gnu/java/rmi/server/RMIObjectOutputStream.java,
2269 gnu/java/rmi/server/RMIVoidValue.java,
2270 gnu/java/rmi/server/UnicastConnectionManager.java,
2271 gnu/java/rmi/server/UnicastRef.java,
2272 gnu/java/rmi/server/UnicastRemoteCall.java,
2273 gnu/java/rmi/server/UnicastRemoteStub.java,
2274 gnu/java/rmi/server/UnicastServerRef.java,
2275 gnu/java/security/OID.java,
2276 gnu/java/security/der/DERReader.java,
2277 gnu/java/security/provider/CollectionCertStoreImpl.java,
2278 gnu/java/security/provider/DSAParameterGenerator.java,
2279 gnu/java/security/provider/DefaultPolicy.java,
2280 gnu/java/security/provider/EncodedKeyFactory.java,
2281 gnu/java/security/provider/GnuDHPublicKey.java,
2282 gnu/java/security/provider/GnuDSAPrivateKey.java,
2283 gnu/java/security/provider/GnuDSAPublicKey.java,
2284 gnu/java/security/provider/GnuRSAPrivateKey.java,
2285 gnu/java/security/provider/GnuRSAPublicKey.java,
2286 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2287 gnu/java/security/provider/RSA.java,
2288 gnu/java/security/provider/SHA1PRNG.java,
2289 gnu/java/security/provider/SHA1withRSA.java,
2290 gnu/java/security/provider/X509CertificateFactory.java,
2291 gnu/java/security/x509/GnuPKIExtension.java,
2292 gnu/java/security/x509/X500DistinguishedName.java,
2293 gnu/java/security/x509/X509CRL.java,
2294 gnu/java/security/x509/X509CRLEntry.java,
2295 gnu/java/security/x509/X509CertPath.java,
2296 gnu/java/security/x509/X509CertSelectorImpl.java,
2297 gnu/java/security/x509/X509Certificate.java,
2298 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2299 gnu/java/security/x509/ext/BasicConstraints.java,
2300 gnu/java/security/x509/ext/CRLNumber.java,
2301 gnu/java/security/x509/ext/CertificatePolicies.java,
2302 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2303 gnu/java/security/x509/ext/Extension.java,
2304 gnu/java/security/x509/ext/GeneralNames.java,
2305 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2306 gnu/java/security/x509/ext/KeyUsage.java,
2307 gnu/java/security/x509/ext/PolicyConstraint.java,
2308 gnu/java/security/x509/ext/PolicyMappings.java,
2309 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2310 gnu/java/security/x509/ext/ReasonCode.java,
2311 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2312 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2313 Reorganized import statements.
2315 2005-04-18 Michael Koch <konqueror@gmx.de>
2317 * gnu/java/awt/color/CieXyzConverter.java,
2318 gnu/java/awt/color/ClutProfileConverter.java,
2319 gnu/java/awt/color/ColorLookUpTable.java,
2320 gnu/java/awt/color/ColorSpaceConverter.java,
2321 gnu/java/awt/color/GrayProfileConverter.java,
2322 gnu/java/awt/color/GrayScaleConverter.java,
2323 gnu/java/awt/color/LinearRGBConverter.java,
2324 gnu/java/awt/color/ProfileHeader.java,
2325 gnu/java/awt/color/PyccConverter.java,
2326 gnu/java/awt/color/RgbProfileConverter.java,
2327 gnu/java/awt/color/SrgbConverter.java,
2328 gnu/java/awt/color/TagEntry.java,
2329 gnu/java/awt/color/ToneReproductionCurve.java:
2330 Standardized file headers.
2332 2005-04-16 Tom Tromey <tromey@redhat.com>
2334 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2335 'ANY' package-private.
2337 2005-04-15 Tom Tromey <tromey@redhat.com>
2339 * Makefile.in: Rebuilt.
2340 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2341 (libgcj0_convenience_la_LIBADD): ... here.
2343 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2345 * gij.cc (version): Properly quote java version.
2346 (main): Fix typo in comment.
2348 2005-04-13 Mark Wielaard <mark@klomp.org>
2350 * java/lang/natRuntime.cc (insertSystemProperties): Set
2351 java.class.path to CLASSPATH if not already set.
2353 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2355 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2357 2005-04-12 Mike Stump <mrs@apple.com>
2359 * configure: Regenerate.
2361 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2364 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2365 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2367 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2370 * scripts/TexinfoDoclet.java: Removed.
2371 * Makefile.am (texinfo): Removed.
2372 * Makefile.in: Regenerated.
2374 2005-04-11 Michael Koch <konqueror@gmx.de>
2376 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2377 Fixed wrong casting.
2379 2005-04-06 Andrew Haley <aph@redhat.com>
2381 * testsuite/libjava.lang/bytearray.java: New file.
2382 * testsuite/libjava.lang/bytearray.out: New file.
2383 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2384 (loadClass): Use it.
2385 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2387 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2389 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2390 gcj-dbtool dependency
2391 * Makefile.in: Regenerated
2393 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2395 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2396 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2398 2005-04-05 Andrew Haley <aph@redhat.com>
2400 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2401 (Tokenizer): New class.
2402 (getFiles): New method.
2403 (main): Add "-" argument.
2405 Read list of files from stdin when merging map databases.
2406 (usage): Add "-" argument.
2410 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2413 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2414 * Makefile.in: Regenerate.
2415 * configure.ac: Add --with-java-home option.
2416 * configure: Regenerate.
2417 * external/Makefile.in: Regenerate.
2418 * external/sax/Makefile.in: Regenerate.
2419 * external/w3c_dom/Makefile.in: Regenerate.
2420 * gcj/Makefile.in: Regenerate.
2421 * include/Makefile.in: Regenerate.
2422 * testsuite/Makefile.in: Regenerate.
2423 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2426 2005-04-05 Tom Tromey <tromey@redhat.com>
2428 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2429 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2430 Rewrote to use _Jv_FindClassFromSignature.
2431 * verify.cc (resolve): throw NoClassDefFoundError.
2432 * link.cc (resolve_field): Throw NoClassDefFoundError.
2433 (find_field): Likewise.
2434 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2435 Handle error cases. Added 'endp' argument.
2436 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2438 2005-04-05 Tom Tromey <tromey@redhat.com>
2440 * Makefile.in: Rebuilt.
2441 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2442 gtk_awt_peer_sources.
2443 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2444 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2445 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2446 (gtk-awt-peer.lo): New target.
2448 2005-04-04 Steve Pribyl <steve@netfuel.com>
2451 * configure.ac: Fix fastjar definition for cross builds.
2452 * configure: Rebuilt.
2454 2005-04-04 Tom Tromey <tromey@redhat.com>
2456 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2457 it was already found.
2459 2005-04-04 Tom Tromey <tromey@redhat.com>
2461 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2462 org.metastatic.jessie.
2464 2005-04-02 Anthony Green <green@redhat.com>
2467 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2469 2005-04-02 Mark Wielaard <mark@klomp.org>
2471 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2472 Attributes and attribute order doesn't matter.
2473 (BasicAttributesEnumeration.where): Initialize to zero.
2474 (BasicAttributesEnumeration.nextElement): Update and compare where
2475 appropriately (zero based).
2477 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2479 PR libgcj/20090, PR libgcj/20526
2480 * gij.cc (nonstandard_opts_help): New function.
2481 (add_option): New function.
2482 (main): Support java options. Set java.class.path. Don't set
2484 * prims.cc (parse_x_arg): New function.
2485 (parse_init_args): Call parse_x_arg for -X and _ options, when
2486 ignoreUnrecognized is true.
2487 (new _Jv_RunMain): New vm_args variant.
2488 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2489 (_Jv_Jar_Class_Path): Remove variable.
2490 * include/java-props.h: Likewise.
2491 * include/cni.h (JvRealloc): New function.
2492 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2493 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2494 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2496 * configure.ac (JV_VERSION): Define.
2497 (JV_API_VERSION): Likewise.
2498 * configure: Regenerate.
2499 * include/config.h.in: Regenerate.
2501 2005-04-01 Mark Anderson <mark@panonet.net>
2503 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2504 -Infinity as parameters.
2506 2005-04-01 Michael Koch <konqueror@gmx.de>
2508 * java/io/PipedInputStream.java
2509 (read): Make sure a positive byte value is returned. Revised javadoc.
2510 Thanks to Olafur Bragason for reporting these bugs.
2512 2005-04-01 Tom Tromey <tromey@redhat.com>
2514 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2515 Updated for name change.
2516 (nativeFindClass): New method.
2517 (loadClass): Use nativeFindClass.
2518 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2520 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2521 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2523 (initialize): New method.
2524 (nativeFindClass): Declare.
2525 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2526 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2527 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2529 (definePackageForNative): Removed.
2530 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2531 Moved to VMClassLoader.java.
2532 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2533 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2534 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2535 removed VMClassLoader.java.
2536 (nat_source_files): Removed natVMClassLoader.cc.
2538 2005-04-01 Tom Tromey <tromey@redhat.com>
2540 * Makefile.in: Rebuilt.
2541 * Makefile.am (db_pathtail): Use $(gcc_version), not
2544 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2546 * java/util/Timer.java
2547 (run): Stop the queue if a task throws an exception.
2549 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2551 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2553 2005-03-29 Ian Lance Taylor <ian@airs.com>
2555 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2556 * external/sax/Makefile.in: Rebuild.
2557 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2559 * external/w3c_dom/Makefile.in: Rebuild.
2561 2005-03-29 Tom Tromey <tromey@redhat.com>
2563 * java/lang/natRuntime.cc (insertSystemProperties): Set
2564 gnu.gcj.runtime.endorsed.dirs.
2565 * Makefile.in: Rebuilt.
2566 * Makefile.am (ordinary_java_source_files): Added
2567 HelperClassLoader.java.
2568 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2569 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2571 (init): Use addDirectoriesFromProperty.
2572 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2573 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2574 gnu.gcj.runtime.endorsed.dirs.
2575 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2577 2005-03-26 Chris Burdess <dog@gnu.org>
2579 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2582 2005-03-13 Michael Koch <konqueror@gmx.de>
2584 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2586 2005-03-11 Chris Burdess <dog@gnu.org>
2588 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2591 2005-02-27 Chris Burdess <dog@gnu.org>
2593 * gnu/xml/aelfred2/JAXPFactory.java,
2594 gnu/xml/aelfred2/SAXDriver.java,
2595 gnu/xml/aelfred2/XmlParser.java,
2596 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2597 formatting conventions. Replaced arrays of Object with struct-like
2598 classes for easier maintainability. Made SAXDriver.stringInterning
2599 package private to allow access from XmlParser inside the loop without
2600 a method call overhead.
2602 2005-03-11 Chris Burdess <dog@gnu.org>
2604 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2607 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2609 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2610 settings to sub Makefiles.
2611 (GCJH, ZIP): Prefix with top_builddir.
2612 * configure: Rebuild.
2613 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2614 * external/w3c_dom/Makefile.in: Rebuild.
2615 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2616 * external/sax/Makefile.in: Rebuild.
2618 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2620 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2621 libsocket to the libraries to link for Solaris.
2623 2005-03-28 Per Bothner <per@bothner.com>
2625 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2626 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2628 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2630 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2631 to fix a ONESTEP fallout.
2632 * Makefile.in: Regenerate.
2634 2005-03-25 Mike Stump <mrs@apple.com>
2636 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2637 paths like we do for the compiler, as we use it in external/sax
2638 and it doesn't get MULTIBUILDTOP right when multilibing.
2640 2005-03-24 Anthony Green <green@redhat.com>
2642 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2644 (usage): Add [LIBDIR] to help output.
2645 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2646 * Makefile.am (AM_CXXFLAGS): Define
2647 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2648 (db_pathtail): New macro.
2650 2005-03-24 Tom Tromey <tromey@redhat.com>
2652 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2653 add sax and w3c libraries.
2654 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2656 * external/w3c_dom/Makefile.in: Rebuilt.
2657 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2659 (libw3c_gcj_la_LDFLAGS): New variable.
2660 (noinst_LTLIBRARIES): Renamed.
2661 * external/sax/Makefile.in: Rebuilt.
2662 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2664 (libsax_gcj_la_LDFLAGS): New variable.
2665 (noinst_LTLIBRARIES): Renamed.
2667 2005-03-23 Tom Tromey <tromey@redhat.com>
2669 * Makefile.in: Rebuilt.
2670 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2671 (libgcj0_convenience_la_SOURCES): Don't include
2672 gnu_xml_source_files.
2673 (libgcj0_convenience_la_LIBADD): New variable.
2674 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2675 (all_java_source_files): javax_imageio_source_files,
2676 javax_xml_source_files, and gnu_java_beans_source_files.
2677 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2678 (gnu-xml.lo): New target.
2679 (javax-imageio.lo): Likewise.
2680 (javax-xml.lo): Likewise.
2681 (gnu-java-beans.lo): Likewise.
2682 (gnu_java_beans_source_files): New variable.
2683 (javax_imageio_source_files): Likewise.
2684 (javax_xml_source_files): Likewise.
2685 (javax_source_files): Moved files to other variable.
2686 (awt_java_source_files): Likewise.
2687 (ordinary_java_source_files): Added BootClassLoader.java.
2688 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2689 not system class loader.
2690 (initBootLoader): New method.
2691 (loadClass): Search bootLoader.
2692 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2693 boot loader, not system class loader.
2694 (_Jv_UnregisterInitiatingLoader): Likewise.
2695 (_Jv_FindClass): Likewise. Ensure entries in
2696 bootstrap_class_list are unique.
2697 * java/lang/natClass.cc (getClassLoader): Don't special case
2698 system class loader.
2699 * java/lang/VMClassLoader.java (bootLoader): New field.
2700 (getResource): Use bootLoader.
2701 (getResources): Likewise.
2702 (initBootLoader): Declare.
2703 * gnu/gcj/runtime/BootClassLoader.java: New file.
2704 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2705 (EMPTY_ENUMERATION): Now package-private.
2706 * external/w3c_com/Makefile.in: Rebuilt.
2707 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2708 (w3c.jar): New target.
2709 (classes.stamp): Updated.
2710 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2711 Changed name of library.
2712 (libw3c_gcj_la_SOURCES): New variable.
2713 (libw3c_gcj_la_GCJFLAGS): Likewise.
2714 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2715 * external/sax/Makefile.in: Rebuilt.
2716 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2717 (sax.jar): New target.
2718 (classes.stamp): Updated.
2719 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2720 Changed name of library.
2721 (libsax_gcj_la_SOURCES): New variable.
2722 (libsax_gcj_la_GCJFLAGS): Likewise.
2723 (source_files): Renamed from libsax_convenience_la_SOURCES.
2724 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2726 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2728 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2730 2005-03-23 Sven de Marothy <sven@physto.se>
2732 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2734 * java/util/Calendar.java
2735 (set): Use starting day of week when one is needed if none is given.
2736 * java/text/SimpleDateFormat.java
2737 (parse): Handle 1-12 and 1-24 timestamps correctly.
2738 * java/util/GregorianCalendar.java
2739 (computeTime, computeFields): HOUR should be in 0-11 format.
2740 (nonLeniencyCheck): Adjust leniency checking to that fact.
2741 (getLinearDay): Should be private.
2743 2005-03-23 Tom Tromey <tromey@redhat.com>
2745 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2746 (_Jv_CheckABIVersion): Use it.
2748 2005-03-22 Mike Stump <mrs@apple.com>
2750 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2752 * include/posix.h: .dylib is used on all Apple MACH platforms.
2753 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2755 2005-03-22 Tom Tromey <tromey@redhat.com>
2757 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2759 2005-03-21 Tom Tromey <tromey@redhat.com>
2761 * java/lang/VMCompiler.java (static block): Also catch
2762 BufferUnderflowException.
2764 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2766 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2767 set tool_include_dir. In all substitutions, leave $(gcc_version)
2768 to be expanded by the Makefile.
2769 * aclocal.m4, configure: Regenerate.
2770 * Makefile.am: Set gcc_version. Replace all uses of
2771 @gcc_version@ with $(gcc_version).
2772 * external/Makefile.am, external/sax/Makefile.am
2773 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2774 * testsuite/Makefile.am: Set gcc_version.
2775 * include/Makefile.am: Set gcc_version and tool_include_dir.
2776 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2777 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2778 * testsuite/Makefile.in: Regenerate.
2780 2005-03-17 Andrew Haley <aph@redhat.com>
2782 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2784 Pass klass to _Jv_StackTrace::GetClassContext().
2785 * java/lang/ClassLoader.java (getParent): Pass class to
2786 VMSecurityManager.getClassContext()
2787 (getSystemClassLoader): Likewise.
2788 * java/lang/Package.java (getPackage): Likewise.
2789 (getPackages): Likewise.
2790 * java/lang/SecurityManager.java (getClassContext): Likewise.
2791 (currentClassLoader): Likewise.
2792 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2793 (currentClassLoader) Add new arg: caller.
2794 Pass caller to VMSecurityManager.getClassContext.
2796 * stacktrace.cc (GetClassContext): Correct calculation of
2799 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2800 im->source_file_name.
2802 2005-03-16 Andrew Haley <aph@redhat.com>
2804 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2806 2005-03-16 Tom Tromey <tromey@redhat.com>
2808 * link.cc (ensure_class_linked): Removed #ifdef.
2809 (print_class_loaded): Likewise.
2810 (wait_for_state): Likewise.
2811 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2812 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2813 * include/java-interp.h: ... here.
2815 2005-03-16 Tom Tromey <tromey@redhat.com>
2817 * gnu/java/lang/MainThread.java (run): Load main class using
2818 system class loader.
2820 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2822 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2823 lgcc_s to the libraries to link for Darwin.
2825 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2827 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2828 interpreter-specific code with #ifdef INTERPRETER.
2829 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2830 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2831 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2832 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2833 #ifdef INTERPRETER. Also protect declarations that use it.
2834 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2835 #ifdef INTERPRETER block.
2837 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2840 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2841 * Makefile.in: Rebuilt.
2843 2005-03-15 David Daney <ddaney@avtrex.com>
2845 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2848 2005-03-15 David Daney <ddaney@avtrex.com>
2850 * java/io/BufferedInputStream.java (available): Use 'in' instead
2851 of 'super' for underlying stream access.
2853 (read(byte[], int, int)): Ditto.
2855 (skip): Call skip on underlying stream when possible.
2857 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2859 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2860 SJLJ_EXCEPTIONS is defined.
2862 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2864 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2867 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2869 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2871 (libjava_arguments): Likewise.
2873 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2874 (gcj_jni_test_one): Likewise.
2875 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2876 Add flags to keep the Darwin linker quiet.
2877 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2878 Add -liconv for Darwin.
2880 2005-03-11 Tom Tromey <tromey@redhat.com>
2882 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2883 (_Jv_CheckABIVersion): Use it.
2885 2005-03-11 Tom Tromey <tromey@redhat.com>
2887 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2888 (usage): Document '-p'.
2889 * Makefile.in: Rebuilt.
2890 * Makefile.am (dbexecdir): New variable.
2891 (db_name): Likewise.
2892 (dbexec_DATA): Likewise.
2893 ($(db_name)): New target.
2894 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2895 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2898 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2900 * exception.cc: Remove stray MethodRef.h include.
2901 * java/lang/natClass.cc: Likewise.
2902 * gnu/gcj/runtime/MethodRef.java: Removed.
2903 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2904 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2905 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2906 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2907 * Makefile.in: Rebuilt.
2909 2005-03-10 Tom Tromey <tromey@redhat.com>
2911 * Makefile.in: Rebuilt.
2912 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2914 2005-03-10 Chris Burdess <dog@bluezoo.org>
2916 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2917 not currently parsing the DTD.
2919 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2921 New Stack Trace infrastructure.
2922 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2923 (gnu/gcj/runtime/StackTrace.java): Removed.
2924 (ordinary_java_source_files): Remove obsolete files.
2925 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2926 * configure.host (fallback_backtrace_h): Set backtrace header
2927 for mingw and cygwin targets.
2928 * configure.ac: Make symlink for fallback backtrace headers.
2929 * Makefile.in, configure: Rebuilt.
2930 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2931 Read 'LineNumberTable' attribute.
2932 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2934 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2936 * exception.cc: Remove unused include.
2937 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2938 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2939 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2940 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2941 table to direct threaded instruction values.
2942 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2943 (_Jv_InterpMethod::run): No longer member function. All
2944 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2945 is made or where an instruction could throw.
2946 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2948 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2949 (catch_fpe): Likewise.
2950 * stacktrace.cc: New file. Stack trace code now here.
2951 * gnu/gcj/runtime/MethodRef.java:
2952 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2953 calls addr2line to look up PC addresses in a given binary or shared
2955 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2956 gnu/gcj/runtime/natStackTrace.cc: Removed.
2957 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2958 this function name is specially recognised by the stack trace code
2959 and shouldn't be changed.
2960 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2961 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2962 (_Jv_InterpMethod::run): Update declaration.
2963 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2965 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2966 * include/java-stack.h: New file. Declarations for stack tracing.
2967 * include/jvm.h (_Jv_Frame_info): Removed.
2968 * java/lang/Class.h: Update friend declarations.
2969 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2971 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2972 (getStackTrace): Now native.
2973 (data): New RawDataManaged field.
2974 * java/lang/natClass.cc: Update includes.
2975 (forName): Use _Jv_StackTrace::GetCallingClass for
2976 calling-classloader check.
2977 (getClassLoader): Likewise.
2978 * java/lang/natRuntime.cc: Update includes.
2979 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2980 * java/lang/natVMSecurityManager.cc: Update includes.
2981 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2982 * java/lang/natVMThrowable.cc: New file. Native methods for
2984 * java/lang/reflect/natArray.cc: Update includes.
2985 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2986 accessibility check.
2987 * java/lang/reflect/natConstructor.cc: Update includes.
2988 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2989 accessibility check.
2990 * java/lang/reflect/natField.cc: Update includes.
2991 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2992 accessibility check.
2993 * java/lang/reflect/natMethod.cc: Update includes.
2994 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2995 accessibility check.
2996 * java/util/natResourceBundle.cc: Update includes.
2997 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2998 * java/util/logging/natLogger.cc: Update includes. Use
2999 _Jv_StackTrace::GetCallerInfo to get call-site info.
3000 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3002 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3005 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3007 * testsuite/libjava.compile/PR20312.java: New file.
3008 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3009 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3011 2005-03-09 Andrew Haley <aph@redhat.com>
3013 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3015 (smallTransferTo): New.
3016 (transferFrom): Loop around smallTransferFrom, copying pageSize
3018 (transferTo): Likewise.
3020 2005-03-09 David Daney <ddaney@avtrex.com>
3023 Merge BufferedInputStream from GNU Classpath.
3024 * java/io/BufferedInputStream.java (marktarget): Field removed.
3025 (CHUNKSIZE): Field removed.
3026 (bufferSize): New field.
3027 (BufferedInputStream): Initialize fields.
3028 (close): Invalidate mark and buffer indexes.
3030 (read()): Move mark handling code to refill.
3031 (read(byte[], int, int)): Ditto.
3032 (skip): Ditto and simplify EOF testing.
3033 (refill): Rewritten.
3034 * java/io/InputStreamReader.java (refill): Removed mark and reset
3035 of internal BufferedInputStream.
3037 2005-03-09 Tom Tromey <tromey@redhat.com>
3039 * java/lang/natVMClassLoader.cc (defineClass): Reference
3040 'systemClassLoader' field directly.
3041 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3043 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3044 Reference 'systemClassLoader' field directly.
3045 (_Jv_UnregisterInitiatingLoader): Likewise.
3046 (_Jv_FindClass): Likewise.
3048 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3050 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3052 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3053 the file in GNU Classpath style.
3055 2005-03-09 Tom Tromey <tromey@redhat.com>
3057 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3058 (toString): Synchronize.
3060 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3062 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3063 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3065 2005-03-07 Tom Tromey <tromey@redhat.com>
3067 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3068 (usage): Document '-f'.
3070 2005-03-07 Tom Tromey <tromey@redhat.com>
3072 * java/lang/VMCompiler.java (md5Digest): New field.
3073 (compileClass): Clone md5Digest instead of looking up a new one.
3075 2005-03-07 Tom Tromey <tromey@redhat.com>
3078 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3079 * link.cc (find_field_helper): Added 'type' argument.
3080 (find_field): Updated.
3082 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3083 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3084 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3085 throw UnsupportedOperationException, fixed comments.
3086 (setFont, setForeground): Fixed comments.
3087 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3088 return type to boolean.
3089 (getNextEvent): Fixed javadocs.
3090 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3091 (nativeQueueEmpty): Removed unused code.
3092 (iterateNativeQueue): Removed outer loop.
3094 2005-03-06 Roger Sayle <roger@eyesopen.com>
3097 * Makefile.am (libgcj0_convenience.la): Revert last change.
3098 * Makefile.in: Regenerate.
3100 2005-03-05 Anthony Green <green@redhat.com>
3102 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3103 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3104 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3105 (_Jv_GetDrawingSurface): Set visualID.
3106 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3107 (JAWT_GetAWT): Set Lock and Unlock.
3108 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3110 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3111 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3112 JAWT_LOCK_SURFACE_CHANGED): New macros.
3113 (struct _JAWT): Add Lock and Unlock.
3115 2005-03-05 Roger Sayle <roger@eyesopen.com>
3116 Alexandre Oliva <aoliva@redhat.com>
3117 Kelley Cook <kcook@gcc.gnu.org>
3120 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3121 of the object files to link to avoid exceeding the command line
3122 length limits on some platforms.
3123 (clean-local): Clean up objectlist files.
3124 * Makefile.in: Regenerate.
3126 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3128 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3129 spec_case. Initialize pointer mlo.
3131 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3134 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3136 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3139 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3140 uninitialized variable z.
3142 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3143 possible unused variables.
3145 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3147 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3149 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3152 * testsuite/libjava.jni/jni.exp
3153 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3155 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3157 2005-02-23 David Daney <ddaney@avtrex.com>
3159 * configure.host: Don't use -mxgot for MIPS builds.
3161 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3164 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3165 (COMPPATH): Removed.
3166 (ZIP, GCJH): Replace it with ../$(host_subdir).
3167 (built_gcc_dir): Add $(host_subdir).
3168 * configure: Regenerate.
3169 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3170 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3171 external/w3c_dom/Makefile.in: Regenerate.
3173 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3175 * java/awt/font/TextAttribute.java: changed names to lower case;
3176 (readResolve): implemented.
3177 Added doc comments all over.
3179 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3182 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3183 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3184 value. Move argument parsing code to prims.cc.
3185 * prims.cc (no_properties): Remove.
3186 (_Jv_Compiler_Properties): Initialize to NULL.
3187 (_Jv_Properties_Count): Initialize to 0.
3188 (parse_verbose_args): New function.
3189 (parse_init_args): New function.
3190 (_Jv_CreateJavaVM): Call parse_init_args.
3191 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3192 * gcj/cni.h (JvVMOption): New struct.
3193 (JvVMInitArgs): Likewise.
3194 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3196 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3197 (_Jv_VMInitArgs): Likewise.
3198 * include/java-props.h (_Jv_Properties_Count): Declare.
3199 * java/lang/natRuntime.cc (insertSystemProperties): Use
3200 _Jv_Properties_Count in for loop exit condition.
3201 * testsuite/libjava.jni/jni.exp
3202 (gcj_invocation_compile_c_to_binary): New procedure.
3203 (gcj_invocation_test_one): Likewise.
3204 (gcj_jni_run): Run JNI invocation API tests.
3205 * testsuite/libjava.jni/invocation/PR16923.c,
3206 testsuite/libjava.jni/invocation/PR16923.java,
3207 testsuite/libjava.jni/invocation/PR16923.out: New test.
3209 2005-02-23 Michael Koch <konqueror@gmx.de>
3211 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3212 * Makefile.in: Regenerated.
3214 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3216 * gnu/java/nio/ChannelReader: Fixed comments.
3218 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3220 * java/nio/channels/Channels: Added FIXMEs about
3221 stub method implementation.
3222 (newReader): Implemented.
3223 * gnu/java/nio/ChannelReader: New class.
3225 2005-02-23 Michael Koch <konqueror@gmx.de>
3227 * java/text/SimpleDateFormat.java:
3228 Removed unused import.
3230 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3233 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3234 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3235 * Makefile.in: Regenerate.
3236 * configure.ac: Check for libXtst.
3237 * configure: Regenerate.
3239 2005-02-22 Mark Wielaard <address@bogus.example.com>
3241 * java/security/AlgorithmParameterGenerator.java (getInstance):
3242 Mention provider when throwing NoSuchProviderException.
3243 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3244 * java/security/KeyFactory.java (getInstance): Likewise.
3245 * java/security/KeyStore.java (getInstance): Likewise.
3246 * java/security/SecureRandom.java (getInstance): Likewise.
3247 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3249 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3251 * java/lang/reflect/Proxy.java,
3253 java/security/SecureRandom.java,
3254 java/util/Timer.java,
3255 java/util/prefs/AbstractPreferences.java:
3256 Don't catch java.lang.ThreadDeath.
3258 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3260 * java/awt/font/TransformAttribute.java,
3261 (TransformAttribute(AffineTransform)): throw
3262 IllegalArgumentException for null transform.
3263 (getTransform): return a copy of transform.
3264 Added doc comments to all.
3266 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3268 * java/io/Externalizable.java,
3269 java/io/Serializable.java
3270 (serialVersionUID): Removed.
3271 * java/rmi/server/RemoteObject.java,
3272 java/rmi/server/UID.java
3273 (serialVersionUID): Made private.
3274 * java/rmi/server/RemoteRef.java,
3275 java/rmi/server/ServerRef.java
3276 (serialVersionUID): Set proper value.
3277 * java/security/interfaces/DSAPrivateKey.java,
3278 java/security/interfaces/DSAPublicKey.java,
3279 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3280 java/security/interfaces/RSAPrivateCrtKey.java,
3281 java/security/interfaces/RSAPrivateKey.java,
3282 java/security/interfaces/RSAPublicKey.java,
3283 javax/crypto/SecretKey.java
3284 (serialVersionUID): Added.
3286 2005-02-22 Tom Tromey <tromey@redhat.com>
3288 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3290 2005-02-22 Tom Tromey <tromey@redhat.com>
3293 * verify.cc (type::EITHER): New constant.
3294 (check_field_constant): Use it.
3295 (type::compatible): Handle it.
3297 2005-02-22 Michael Koch <konqueror@gmx.de>
3299 * gnu/java/security/PolicyFile.java,
3300 gnu/java/security/pkcs/PKCS7SignedData.java,
3301 gnu/java/security/pkcs/SignerInfo.java:
3302 Fixed copyright header.
3304 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3306 * java/beans/PropertyDescriptor.java
3307 (PropertyDescriptor,setReadMethod): Set propertyType.
3309 2005-02-22 Michael Koch <konqueror@gmx.de>
3311 * java/nio/DirectByteBufferImpl.java
3312 (owner): Fixed formatting of javadoc.
3313 * java/text/DateFormat.java
3314 (getAvailableLocales): Fixed formatting.
3315 * java/text/SimpleDateFormat.java:
3316 Fixed formatting and import statement order.
3317 * java/util/Calendar.java
3318 (Calendar): Fixed javadoc to be HTML compliant.
3319 * java/util/SimpleTimeZone.java:
3322 2005-02-22 Roman Kennke <roman@ontographics.com>
3324 * javax/swing/plaf/basic/BasicLookAndFeel.java
3325 (initComponentDefaults): Fixed Button left and right margin.
3327 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3329 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3333 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3334 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3335 (getWidth): New method.
3336 (getHeight): Likewise.
3337 (create): Remove width, height and insets parameters. Move size
3339 (realize_cb): ... here. New function.
3340 (connectSignals): Connect realize_cb.
3341 (request_frame_extents): Remove FIXME. Move
3342 postInsetsChangedEvent lookup ...
3343 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3344 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3345 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3347 (windowGetWidthID): Likewise.
3348 (windowGetHeightID): Likewise.
3350 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3354 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3356 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3358 Merge serialization from GNU Classpath.
3359 * gcj/method.h: Add missing #includes.
3360 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3361 primitive class IDs on the stream here...
3362 (resolveClass): ...not here.
3363 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3365 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3366 setLongNative, setIntNative, setShortNative, setCharNative,
3367 setByteNative, setBooleanNative, setObjectNative): New native methods.
3368 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3369 setLongNative, setIntNative, setShortNative, setCharNative,
3370 setByteNative, setBooleanNative, setObjectNative): Implement them.
3371 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3372 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3373 the constructor here.
3374 (callConstructor): Removed.
3375 (getCallersClassLoader): Removed.
3376 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3377 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3378 to control whether setting final field values is permitted. Call
3379 getAddr() with checkFinal parameter instead of setAddr().
3380 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3381 only if not done already.
3382 (getAddr): Add checkFinal parameter. Do the final field check only if
3386 2005-02-21 Mark Wielaard <mark@klomp.org>
3389 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3392 2005-02-21 Mark Wielaard <mark@klomp.org>
3395 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3396 without a super class and us ObjectStreamClass.lookupForClassObject().
3397 (resolveClass): Check for primitive types.
3398 (lookupClass): Return null when argument is null.
3400 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3402 * java/io/ObjectInputStream.java
3403 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3405 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3407 * java/io/ObjectOutputStream.java
3408 (writeObject, callWriteMethod): Replaced reflection with accessing
3409 cached info in ObjectStreamClass.
3410 (getMethod): Removed.
3411 * java/io/ObjectStreamClass.java
3412 (findMethod): Added check to make sure the method found has the
3414 (cacheMethods): Added writeReplace and writeObject methods.
3415 (setFlags): Look at new writeObjectMethod field instead of doing
3417 (writeReplaceMethod): New field.
3418 (writeObjectMethod): New field.
3420 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3421 Jeroen Frijters <jeroen@frijters.net>
3423 * java/io/ObjectInputStream.java
3424 (newObject): Changed prototype. Get a constructor reflect object
3426 (callConstructor): Removed.
3427 (allocateObject): Changed prototype.
3428 (readClassDescriptor): Build the constructor reflection directly.
3429 (readObject): Invoke newObject using the new prototype.
3431 * java/io/ObjectStreamClass.java
3432 (firstNonSerializableParent): Removed.
3433 (firstNonSerializableParentConstructor): Added.
3435 2005-02-21 Mark Wielaard <mark@klomp.org>
3437 * gnu/java/locale/LocaleInformation_en.java: Extend
3438 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3440 2005-02-21 Mark Wielaard <mark@klomp.org>
3442 * java/text/SimpleDateFormat.java
3443 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3444 NullPointerException when formatData is null.
3446 2005-02-21 Mark Wielaard <mark@klomp.org>
3448 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3449 taking dstSavings into account.
3451 2005-02-21 Sven de Marothy <sven@physto.se>
3453 * java/text/SimpleDateFormat.java,
3454 (parse): Set correct DST_OFFSET to the correct value.
3456 2005-02-21 Mark Wielaard <mark@klomp.org>
3458 * java/util/SimpleTimeZone.java (checkRule): Throw
3459 IllegalArgumentException when month out of range.
3461 2005-02-21 Sven de Marothy <sven@physto.se>
3463 * java/util/GregorianCalendar.java,
3464 (add): Don't set fields directly anymore. Use set()
3466 2005-02-21 Mark Wielaard <mark@klomp.org>
3468 * java/text/SimpleDateFormat.java (CompiledField.toString):
3469 Use StringBuffer, not StringBuilder.
3470 (toString): Likewise.
3472 2005-02-21 Sven de Marothy <sven@physto.se>
3474 * java/util/Calendar.java
3475 (clear): Dates should clear to local time.
3476 * java/util/GregorianCalendar.java
3477 (computeTime): Fix priority problem with DAY_OF_WEEK,
3478 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3480 2005-02-21 Sven de Marothy <sven@physto.se>
3482 * java/util/Calendar.java
3483 (Calendar): Constructor should clear fields.
3485 2005-02-21 Sven de Marothy <sven@physto.se>
3487 * java/text/SimpleDateFormat.java
3488 (parse): Tweak handling of 2-year dates
3489 * java/util/Calendar.java
3490 (clear): Clear fields to correct value.
3491 * java/util/GregorianCalendar.java
3492 (computeTime): Correct handling of time zones.
3493 Correct field minimum values.
3495 2005-02-21 Sven de Marothy <sven@physto.se>
3497 * java/util/Calendar.java
3498 (set) Invalidate all fields on first call to set().
3500 2005-02-21 Sven de Marothy <sven@physto.se>
3502 * java/util/GregorianCalendar.java
3503 (computeTime): Fixed handling of time zones.
3505 2005-02-21 Sven de Marothy <sven@physto.se>
3507 * java/util/Calendar.java
3508 (clear): Set values to Epoch instead of zero.
3509 (set): Set isSet to the relevant field pattern instead of just
3511 * java/util/GregorianCalendar.java
3512 (getBundle): Removed.
3513 (getDayOfYear): Removed.
3514 (getFirstDayOfMonth): New private method.
3515 (nonLeniencyCheck): New private method.
3516 (computeTime): Correct handling of insufficient data.
3518 2005-02-21 Sven de Marothy <sven@physto.se>
3520 * java/util/Calendar.java: Invalidate ERA field on setting
3522 * java/util/SimpleTimeZone.java:
3523 (getDaysInMonth): Reimplemented.
3524 * java/util/GregorianCalendar.java:
3525 (getLinearTime): Removed.
3526 (isLeapYear(int,boolean)): Removed.
3527 (before(), after()): Removed.
3528 (computeTime): Reimplemented.
3530 2005-02-21 Sven de Marothy <sven@physto.se>
3532 * java/util/Calendar.java: Reformatted.
3533 * java/util/GregorianCalendar.java: Reformatted.
3534 * java/util/SimpleTimeZone.java: Reformatted.
3536 2005-02-21 Sven de Marothy <sven@physto.se>
3538 * java/util/GregorianCalendar.java
3539 (GregorianCalendar): Update fields in the constructor
3541 2005-02-21 Noa Resare <noa@resare.com>
3543 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3544 (set(int,int)): Set and use new field.
3545 (set(int,int,int)): Check new field.
3547 2005-02-21 Noa Resare <address@hidden>
3549 * java/util/Calendar.java(set):
3550 Fix for DST related regression.
3552 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3554 * java/util/Calendar.java
3555 (setTimeInMillis): Added call to clear, removed computeFields call.
3556 * java/util/Date.java
3557 (Date(int,int,int,int,int,int)): Removed workaround for
3558 GregorianCalendar bug.
3559 * java/util/GregorianCalendar.java
3560 (GregorianCalendar): Chained all constructors to a (new)
3562 (computeTime): Fixed support for lenient month treatment.
3563 (getLinearDay): Return long instead of int.
3564 (calculateDay): Added fields argument and changed day argument
3567 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3569 * java/text/SimpleDateFormat.java
3570 Lots of documentation updates.
3571 (readObject(java.io.ObjectInputStream)): Wraps
3572 IllegalArgumentException as specified.
3573 (compileFormat(String)): Uses standardChars
3574 rather than the local pattern characters.
3575 Throws IllegalArgumentException rather than
3577 (toString()): Extended to include all variables
3579 (translateLocalizedPattern(String, String, String)):
3580 Renamed to better define the use of this method.
3582 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3584 * java/text/DateFormat.java:
3585 Documented pattern character offset constants and
3587 (Field): Added new static fields for new pattern chars.
3588 * java/text/SimpleDateFormat.java:
3589 (CompiledField): Changed name of FieldSizePair class
3590 to CompiledField after adding the character as an
3591 attribute. Changed fields to private and added
3592 accessors to give encapsulation.
3593 (CompiledField.CompiledField(int,int,char)): Extended
3594 with character field.
3595 (CompiledField.getField()): New accessor method.
3596 (CompiledField.getSize()): New acceessor method.
3597 (CompiledField.getCharacter()): New accessor method.
3598 (CompiledField.toString()): Added primarily for debugging.
3599 (standardChars): Now uses extended 24 character sequence.
3600 (compileFormat(String)): Changed to use CompiledField.
3601 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3602 java.text.FieldPosition)): Changed to use CompiledField.
3603 New handler for RFC 822 timezones added.
3605 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3607 * java/text/SimpleDateFormat.java:
3608 (parse(String, java.text.ParsePosition)):
3609 Changed 'E' and 'M' cases to use both
3610 short and long names. Extended 'z'
3611 case to also handle 'Z', and deal
3612 with simple GMT offsets such as +0100.
3613 (computeOffset(String)): New private method,
3614 which converts a GMT offset specification,
3615 such as GMT-0500 to a numeric offset in
3617 * java/util/TimeZone.java:
3618 (timezones()): Added "CEST", the daylight
3619 savings time version of "CET", or Central
3622 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3624 * java/text/SimpleDateFormat.java:
3625 (parse): Set the DST offset to 0 when parsing
3626 GMT offset timezones.
3628 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3630 * java/text/SimpleDateFormat.java:
3631 (parse): Use offset to set ZONE_OFFSET
3632 rather than the DST_OFFSET, so that
3633 GMT offset timezones change the right
3636 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3638 * java/text/SimpleDateFormat.java:
3639 (getDateFormatSymbols()): return a copy
3640 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3641 throw exception on null input
3642 (clone()): implemented to clone
3645 2005-02-21 Sven de Marothy <sven@physto.se>
3647 * java/text/SimpleDateFormat.java
3648 (parse): comparison should be case-insensitive, ignore null
3651 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3653 * gnu/java/beans/IntrospectionIncubator.java
3654 (addMethod) Reverts the patch that ntroduced a regression (see bug
3655 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3657 2005-02-21 Michael Koch <konqueror@gmx.de>
3659 * java/awt/Checkbox.java
3660 (next_checkbox_number): New static variable.
3661 (generateName): New method.
3662 (getUniqueLong): Likewise.
3663 * java/awt/Window.java
3664 (next_window_number): New static variable.
3665 (generateName): New method.
3666 (getUniqueLong): Likewise.
3668 2005-02-21 Mark Wielaard <mark@klomp.org>
3670 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3673 2005-02-21 Andrew Haley <aph@redhat.com>
3675 * Makefile.in: Rebuilt.
3676 * Makefile.am (nat_source_files): Added natLogger.cc.
3677 * java/util/logging/natLogger.cc: New file.
3678 * java/util/logging/Logger.java (getCallerStackFrame): Now
3681 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3683 * Makefile.am (all_property_files): Remove left over.
3684 (classes.stamp): Add stamp for the ONESTEP build, also known as
3685 --enable-libgcj-multifile.
3686 * Makefile.in: Regenerated.
3688 2005-02-21 Michael Koch <konqueror@gmx.de>
3690 * java/awt/Button.java,
3691 java/awt/Container.java,
3693 java/awt/Frame.java,
3694 java/text/CollationElementIterator.java,
3695 java/text/RuleBasedCollator.java,
3696 java/util/PropertyPermission.java:
3697 Fixed formatting issues all over.
3699 2005-02-21 Mark Wielaard <mark@klomp.org>
3701 * java/io/FileDescriptor.java (sync): Add real exception to
3702 SyncFailedException.
3704 2005-02-21 Michael Koch <konqueror@gmx.de>
3706 * java/io/InputStreamReader.java:
3709 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3712 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3714 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3716 * libraries/javalib/gnu/regexp/RE.java,
3717 libraries/javalib/java/io/ObjectInputStream.java,
3718 libraries/javalib/java/security/AllPermission.java,
3719 libraries/javalib/java/security/BasicPermission.java,
3720 libraries/javalib/java/security/Permissions.java,
3721 libraries/javalib/java/text/MessageFormat.java:
3722 Made 'inner' classes real public static inner classes,
3723 and made them final where possible, or removed them
3726 2005-02-20 Michael Koch <konqueror@gmx.de>
3728 * gnu/java/text/FormatCharacterIterator.java:
3729 Removed redundant modifiers.
3731 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3733 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3736 2005-02-19 Michael Koch <konqueror@gmx.de>
3738 * Makefile.am: Added new files in gnu/java/beans and
3739 java/beans/XMLDecoder.java.
3740 * Makefile.in: Regenerated.
3742 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3744 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3745 assignment behavior by using java.lang.reflect.Array.set()
3748 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3750 * gnu/java/beans/EmptyBeanInfo.java,
3751 gnu/java/beans/info/ComponentBeanInfo.java:
3752 Removed unused files.
3754 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3756 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3757 of AppletStub for java.beans.Beans.instantiate.
3758 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3760 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3761 to be conformant with Javadoc guidelines.
3762 (instantiate): Added two more overloaded variants, reworked user
3763 documentation, fixed exception behavior, fixed behavior when
3766 2005-02-19 Mark Wielaard <mark@klomp.org>
3768 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3770 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3772 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3774 * gnu/java/beans/decoder/AbstractContext.java,
3775 gnu/java/beans/decoder/AbstractCreatableContext.java,
3776 gnu/java/beans/decoder/AbstractElementHandler.java,
3777 gnu/java/beans/decoder/AbstractObjectContext.java,
3778 gnu/java/beans/decoder/ArrayContext.java,
3779 gnu/java/beans/decoder/ArrayHandler.java,
3780 gnu/java/beans/decoder/AssemblyException.java,
3781 gnu/java/beans/decoder/BooleanHandler.java,
3782 gnu/java/beans/decoder/ByteHandler.java,
3783 gnu/java/beans/decoder/CharHandler.java,
3784 gnu/java/beans/decoder/ClassHandler.java,
3785 gnu/java/beans/decoder/ConstructorContext.java,
3786 gnu/java/beans/decoder/Context.java,
3787 gnu/java/beans/decoder/DecoderContext.java,
3788 gnu/java/beans/decoder/DefaultExceptionListener.java,
3789 gnu/java/beans/decoder/DoubleHandler.java,
3790 gnu/java/beans/decoder/DummyContext.java,
3791 gnu/java/beans/decoder/DummyHandler.java,
3792 gnu/java/beans/decoder/ElementHandler.java,
3793 gnu/java/beans/decoder/FloatHandler.java,
3794 gnu/java/beans/decoder/GrowableArrayContext.java,
3795 gnu/java/beans/decoder/IndexContext.java,
3796 gnu/java/beans/decoder/IntHandler.java,
3797 gnu/java/beans/decoder/JavaHandler.java,
3798 gnu/java/beans/decoder/LongHandler.java,
3799 gnu/java/beans/decoder/MethodContext.java,
3800 gnu/java/beans/decoder/MethodFinder.java,
3801 gnu/java/beans/decoder/NullHandler.java,
3802 gnu/java/beans/decoder/ObjectContext.java,
3803 gnu/java/beans/decoder/ObjectHandler.java,
3804 gnu/java/beans/decoder/PersistenceParser.java,
3805 gnu/java/beans/decoder/PropertyContext.java,
3806 gnu/java/beans/decoder/ShortHandler.java,
3807 gnu/java/beans/decoder/SimpleHandler.java,
3808 gnu/java/beans/decoder/StaticMethodContext.java,
3809 gnu/java/beans/decoder/StringHandler.java,
3810 gnu/java/beans/decoder/VoidHandler.java: New class
3811 implementing java.beans.XMLDecoder decoding functionality.
3812 * java/beans/XMLDecoder.java: New class.
3814 2005-02-19 Michael Koch <konqueror@gmx.de>
3816 * javax/swing/JTextField.java
3817 (notfiyAction): Added javadoc.
3819 2005-02-19 Sven de Marothy <sven@physto.se>
3821 * javax/swing/SpinnerDateModel.java: Implemented.
3823 2005-02-19 Michael Koch <konqueror@gmx.de>
3825 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3826 * Makefile.in: Regenerated.
3828 2005-02-19 Michael Koch <konqueror@gmx.de>
3830 * gnu/java/nio/SelectorImpl.java:
3831 Reworked import statements.
3832 (register): Removed unused code.
3833 * java/nio/channels/Channels.java: Reformatted.
3834 * java/nio/charset/Charset.java: Likewise.
3835 * java/rmi/server/RemoteObject.java
3836 (serialVersionUID): Made private.
3837 * java/rmi/server/UID.java
3838 (serialVersionUID): Likewise.
3840 2005-02-19 Michael Koch <konqueror@gmx.de>
3842 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3843 gnu/java/net/protocol/ftp/BlockInputStream.java,
3844 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3845 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3846 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3847 gnu/java/net/protocol/ftp/DTPInputStream.java,
3848 gnu/java/net/protocol/ftp/DTP.java,
3849 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3850 gnu/java/net/protocol/ftp/FTPConnection.java,
3851 gnu/java/net/protocol/ftp/FTPException.java,
3852 gnu/java/net/protocol/ftp/FTPResponse.java,
3853 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3854 gnu/java/net/protocol/ftp/Handler.java,
3855 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3856 gnu/java/net/protocol/ftp/StreamInputStream.java,
3857 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3858 gnu/java/net/CRLFInputStream.java,
3859 gnu/java/net/CRLFOutputStream.java,
3860 gnu/java/net/GetLocalHostAction.java,
3861 gnu/java/net/protocol/ftp/package.html: New files.
3862 * Makefile.am: Added new files.
3863 * Makefile.in: Regenerated.
3865 2005-02-18 Tom Tromey <tromey@redhat.com>
3867 * link.cc (make_vtable): Remove abstract method check.
3868 (append_partial_itable): Likewise.
3871 * verify.cc (type::equals): Fixed test.
3872 * testsuite/libjava.lang/PR20056.out: New file.
3873 * testsuite/libjava.lang/PR20056.java: New file.
3875 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3877 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3878 not the HashEntry. Reported by Jean-Marie White.
3880 2005-02-18 Tom Tromey <tromey@redhat.com>
3883 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3884 * link.cc (has_field_p): New function.
3885 * verify.cc (check_field_constant): Added 'putfield' argument.
3886 (verify_instructions_0): Updated.
3887 (type::equals): New method.
3889 2005-02-18 Anthony Green <green@redhat.com>
3891 * NEWS: Draft of libgcj NEWS for 4.0.
3893 2005-02-18 Anthony Green <green@redhat.com>
3895 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3896 architecture names to "i386" for compatibility reasons. Win32
3899 2005-02-18 Anthony Green <green@redhat.com>
3901 * gij.cc (version): Change year for '--version' to 2005.
3902 * gnu/gcj/convert/Convert.java: Ditto.
3903 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3904 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3906 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3907 recent copyright year in `--version' output.
3909 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3911 * java/nio/charset/Charset.java (forName): Throws
3912 IllegalArgumentException when argument is null
3913 and added documentation.
3915 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3917 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3918 Move the position of the source buffer forward.
3920 2005-02-17 Tom Tromey <tromey@redhat.com>
3922 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3923 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3924 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3925 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3926 Changed type of second argument. Rewrote.
3927 (make_vtable): Use it.
3928 (append_partial_itable): Updated.
3929 (layout_vtable_methods): Updated.
3931 2005-02-17 Michael Koch <konqueror@gmx.de>
3933 * gnu/java/net/PlainSocketImpl.java
3934 (shutdownInput): Added javadoc.
3935 (shutdownOutput): Likewise.
3937 2005-02-17 Michael Koch <konqueror@gmx.de>
3939 * javax/print/attribute/standard/Chromaticity.java,
3940 javax/print/attribute/standard/Destination.java,
3941 javax/print/attribute/standard/MediaPrintableArea.java,
3942 javax/print/attribute/standard/MediaSize.java: New files.
3943 * Makefile.am: Added new files.
3944 * Makefile.in: Regenerated.
3946 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3947 Michael Koch <konqueror@gmx.de>
3949 * gnu/java/net/protocol/http/Cookie.java,
3950 gnu/java/net/protocol/http/HTTPConnection.java,
3951 gnu/java/net/protocol/http/HTTPDateFormat.java,
3952 gnu/java/net/protocol/http/Request.java,
3953 gnu/java/nio/PipeImpl.java,
3954 gnu/java/rmi/dgc/DGCImpl.java,
3955 gnu/java/rmi/server/ConnectionRunnerPool.java,
3956 gnu/java/rmi/server/UnicastConnectionManager.java,
3957 gnu/java/security/der/DERWriter.java,
3958 gnu/java/security/pkcs/SignerInfo.java,
3959 gnu/java/security/provider/EncodedKeyFactory.java,
3960 gnu/java/security/provider/GnuDHPublicKey.java,
3961 gnu/java/security/provider/GnuDSAPrivateKey.java,
3962 gnu/java/security/provider/GnuDSAPublicKey.java,
3963 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3964 gnu/java/security/x509/X500DistinguishedName.java,
3965 gnu/java/security/x509/X509CRL.java,
3966 gnu/java/security/x509/X509CRLEntry.java,
3967 gnu/java/security/x509/X509Certificate.java,
3968 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3969 gnu/java/security/x509/ext/CertificatePolicies.java,
3970 gnu/java/security/x509/ext/PolicyConstraint.java,
3971 gnu/xml/dom/Consumer.java,
3972 gnu/xml/dom/DomCharacterData.java,
3973 gnu/xml/dom/DomDocument.java,
3974 gnu/xml/dom/DomDocumentBuilder.java,
3975 gnu/xml/dom/DomIterator.java,
3976 gnu/xml/dom/DomNode.java,
3977 gnu/xml/dom/DomXPathExpression.java,
3978 gnu/xml/dom/DomXPathResult.java,
3979 gnu/xml/dom/JAXPFactory.java,
3980 gnu/xml/pipeline/CallFilter.java,
3981 gnu/xml/pipeline/DomConsumer.java,
3982 gnu/xml/pipeline/LinkFilter.java,
3983 gnu/xml/pipeline/NSFilter.java,
3984 gnu/xml/pipeline/TeeConsumer.java,
3985 gnu/xml/pipeline/ValidationConsumer.java,
3986 gnu/xml/pipeline/WellFormednessFilter.java,
3987 gnu/xml/pipeline/XIncludeFilter.java,
3988 gnu/xml/pipeline/XsltFilter.java,
3989 gnu/xml/transform/ApplyImportsNode.java,
3990 gnu/xml/transform/Bindings.java,
3991 gnu/xml/transform/DocumentFunction.java,
3992 gnu/xml/transform/FormatNumberFunction.java,
3993 gnu/xml/transform/NodeNumberNode.java,
3994 gnu/xml/transform/NumberNode.java,
3995 gnu/xml/transform/Stylesheet.java,
3996 gnu/xml/transform/SystemPropertyFunction.java,
3997 gnu/xml/transform/Template.java,
3998 gnu/xml/transform/TemplatesImpl.java,
3999 gnu/xml/transform/TransformerImpl.java,
4000 gnu/xml/transform/ValueOfNode.java,
4001 gnu/xml/transform/XSLURIResolver.java,
4002 gnu/xml/util/DoParse.java,
4003 gnu/xml/util/Resolver.java,
4004 gnu/xml/xpath/Expr.java,
4005 gnu/xml/xpath/FunctionCall.java,
4006 gnu/xml/xpath/RelationalExpr.java,
4007 gnu/xml/xpath/Selector.java,
4008 gnu/xml/xpath/XPathParser.java:
4009 Reworked import statements, fixed modifier order and some little
4012 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4014 * java/nio/ByteBufferImpl.java (compact):
4015 Set position and limit even if no bytes were moved.
4017 2005-02-17 Michael Koch <konqueror@gmx.de>
4019 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4020 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4021 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4022 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4023 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4024 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4025 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4026 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4027 * java/nio/FloatBufferImpl.java (compact): Set position.
4028 * java/nio/CharBufferImpl.java (compact): Likewise.
4029 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4030 * java/nio/IntBufferImpl.java (compact): Likewise.
4031 * java/nio/LongBufferImpl.java (compact): Likewise.
4032 * java/nio/ShortBufferImpl.java (compact): Likewise.
4034 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4036 * java/nio/ByteBufferImpl.java,
4037 java/nio/CharBufferImpl.java,
4038 java/nio/DirectByteBufferImpl.java,
4039 java/nio/DoubleBufferImpl.java,
4040 java/nio/FloatBufferImpl.java,
4041 java/nio/IntBufferImpl.java,
4042 java/nio/LongBufferImpl.java,
4043 java/nio/MappedByteBufferImpl.java,
4044 java/nio/ShortBufferImpl.java
4045 (compact): Added explicit read-only check and invalidate mark.
4047 2005-02-17 Michael Koch <konqueror@gmx.de>
4049 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4050 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4051 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4052 gnu/java/awt/peer/gtk/GdkGraphics.java,
4053 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4054 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4055 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4056 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4057 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4058 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4059 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4060 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4061 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4062 gnu/java/awt/peer/gtk/GtkClipboard.java,
4063 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4064 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4065 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4066 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4067 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4068 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4069 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4070 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4071 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4072 gnu/java/awt/peer/gtk/GtkToolkit.java,
4073 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4074 java/applet/Applet.java,
4075 java/awt/AWTError.java,
4076 java/awt/AWTEvent.java,
4077 java/awt/AWTEventMulticaster.java,
4078 java/awt/AWTException.java,
4079 java/awt/AWTKeyStroke.java,
4080 java/awt/AWTPermission.java,
4081 java/awt/ActiveEvent.java,
4082 java/awt/Adjustable.java,
4083 java/awt/AlphaComposite.java,
4084 java/awt/AttributeValue.java,
4085 java/awt/BorderLayout.java,
4086 java/awt/BufferCapabilities.java,
4087 java/awt/Button.java,
4088 java/awt/Canvas.java,
4089 java/awt/CheckboxGroup.java,
4090 java/awt/CheckboxMenuItem.java,
4091 java/awt/Color.java,
4092 java/awt/ColorPaintContext.java,
4093 java/awt/Component.java,
4094 java/awt/ComponentOrientation.java,
4095 java/awt/Composite.java,
4096 java/awt/CompositeContext.java,
4097 java/awt/Container.java,
4098 java/awt/ContainerOrderFocusTraversalPolicy.java,
4099 java/awt/DefaultFocusTraversalPolicy.java,
4100 java/awt/Dialog.java,
4101 java/awt/Dimension.java,
4102 java/awt/DisplayMode.java,
4103 java/awt/EventQueue.java,
4104 java/awt/FileDialog.java,
4105 java/awt/FontFormatException.java,
4106 java/awt/Graphics.java,
4107 java/awt/Graphics2D.java,
4108 java/awt/GraphicsConfigTemplate.java,
4109 java/awt/GraphicsConfiguration.java,
4110 java/awt/GraphicsDevice.java,
4111 java/awt/GridBagLayout.java,
4112 java/awt/GridBagLayoutInfo.java,
4113 java/awt/GridLayout.java,
4114 java/awt/HeadlessException.java,
4115 java/awt/IllegalComponentStateException.java,
4116 java/awt/Image.java,
4117 java/awt/Insets.java,
4118 java/awt/ItemSelectable.java,
4119 java/awt/JobAttributes.java,
4120 java/awt/KeyEventDispatcher.java,
4121 java/awt/KeyEventPostProcessor.java,
4122 java/awt/KeyboardFocusManager.java,
4123 java/awt/Label.java,
4124 java/awt/LayoutManager.java,
4125 java/awt/MenuBar.java,
4126 java/awt/MenuComponent.java,
4127 java/awt/MenuContainer.java,
4128 java/awt/PageAttributes.java,
4129 java/awt/Paint.java,
4130 java/awt/PaintContext.java,
4131 java/awt/Panel.java,
4132 java/awt/Point.java,
4133 java/awt/Polygon.java,
4134 java/awt/PrintGraphics.java,
4135 java/awt/PrintJob.java,
4136 java/awt/Rectangle.java,
4137 java/awt/RenderingHints.java,
4138 java/awt/Shape.java,
4139 java/awt/Stroke.java,
4140 java/awt/SystemColor.java,
4141 java/awt/Toolkit.java,
4142 java/awt/Transparency.java,
4143 java/awt/Window.java,
4144 java/awt/color/CMMException.java,
4145 java/awt/color/ColorSpace.java,
4146 java/awt/color/ICC_ColorSpace.java,
4147 java/awt/color/ICC_Profile.java,
4148 java/awt/color/ProfileDataException.java,
4149 java/awt/datatransfer/FlavorTable.java,
4150 java/awt/datatransfer/MimeTypeParseException.java,
4151 java/awt/datatransfer/Transferable.java,
4152 java/awt/datatransfer/UnsupportedFlavorException.java,
4153 java/awt/dnd/Autoscroll.java,
4154 java/awt/dnd/DnDConstants.java,
4155 java/awt/dnd/DragGestureListener.java,
4156 java/awt/dnd/DragSourceAdapter.java,
4157 java/awt/dnd/DragSourceDropEvent.java,
4158 java/awt/dnd/DragSourceListener.java,
4159 java/awt/dnd/DragSourceMotionListener.java,
4160 java/awt/dnd/DropTargetAdapter.java,
4161 java/awt/dnd/DropTargetContext.java,
4162 java/awt/dnd/DropTargetListener.java,
4163 java/awt/dnd/InvalidDnDOperationException.java,
4164 java/awt/dnd/MouseDragGestureRecognizer.java,
4165 java/awt/dnd/peer/DropTargetContextPeer.java,
4166 java/awt/event/AWTEventListener.java,
4167 java/awt/event/AWTEventListenerProxy.java,
4168 java/awt/event/ActionEvent.java,
4169 java/awt/event/AdjustmentEvent.java,
4170 java/awt/event/AdjustmentListener.java,
4171 java/awt/event/ComponentAdapter.java,
4172 java/awt/event/ComponentEvent.java,
4173 java/awt/event/ComponentListener.java,
4174 java/awt/event/ContainerAdapter.java,
4175 java/awt/event/ContainerEvent.java,
4176 java/awt/event/ContainerListener.java,
4177 java/awt/event/FocusAdapter.java,
4178 java/awt/event/FocusEvent.java,
4179 java/awt/event/FocusListener.java,
4180 java/awt/event/InputEvent.java,
4181 java/awt/event/InputMethodEvent.java,
4182 java/awt/event/InputMethodListener.java,
4183 java/awt/event/InvocationEvent.java,
4184 java/awt/event/ItemEvent.java,
4185 java/awt/event/ItemListener.java,
4186 java/awt/event/KeyAdapter.java,
4187 java/awt/event/KeyEvent.java,
4188 java/awt/event/KeyListener.java,
4189 java/awt/event/MouseAdapter.java,
4190 java/awt/event/MouseEvent.java,
4191 java/awt/event/MouseListener.java,
4192 java/awt/event/MouseMotionAdapter.java,
4193 java/awt/event/MouseMotionListener.java,
4194 java/awt/event/MouseWheelEvent.java,
4195 java/awt/event/MouseWheelListener.java,
4196 java/awt/event/PaintEvent.java,
4197 java/awt/event/TextEvent.java,
4198 java/awt/event/TextListener.java,
4199 java/awt/event/WindowAdapter.java,
4200 java/awt/event/WindowEvent.java,
4201 java/awt/event/WindowFocusListener.java,
4202 java/awt/event/WindowListener.java,
4203 java/awt/event/WindowStateListener.java,
4204 java/awt/font/TextHitInfo.java,
4205 java/awt/geom/CubicCurve2D.java,
4206 java/awt/geom/Dimension2D.java,
4207 java/awt/geom/Ellipse2D.java,
4208 java/awt/geom/IllegalPathStateException.java,
4209 java/awt/geom/Line2D.java,
4210 java/awt/geom/NoninvertibleTransformException.java,
4211 java/awt/geom/PathIterator.java,
4212 java/awt/geom/Point2D.java,
4213 java/awt/geom/QuadCurve2D.java,
4214 java/awt/geom/RectangularShape.java,
4215 java/awt/geom/RoundRectangle2D.java,
4216 java/awt/im/InputContext.java,
4217 java/awt/im/InputMethodHighlight.java,
4218 java/awt/im/InputMethodRequests.java,
4219 java/awt/im/InputSubset.java,
4220 java/awt/im/spi/InputMethod.java,
4221 java/awt/im/spi/InputMethodDescriptor.java,
4222 java/awt/image/BandCombineOp.java,
4223 java/awt/image/BandedSampleModel.java,
4224 java/awt/image/ByteLookupTable.java,
4225 java/awt/image/ComponentSampleModel.java,
4226 java/awt/image/DataBuffer.java,
4227 java/awt/image/DataBufferByte.java,
4228 java/awt/image/DataBufferDouble.java,
4229 java/awt/image/DataBufferFloat.java,
4230 java/awt/image/DataBufferInt.java,
4231 java/awt/image/DataBufferShort.java,
4232 java/awt/image/DataBufferUShort.java,
4233 java/awt/image/ImagingOpException.java,
4234 java/awt/image/Kernel.java,
4235 java/awt/image/LookupTable.java,
4236 java/awt/image/MultiPixelPackedSampleModel.java,
4237 java/awt/image/PackedColorModel.java,
4238 java/awt/image/PixelInterleavedSampleModel.java,
4239 java/awt/image/RGBImageFilter.java,
4240 java/awt/image/Raster.java,
4241 java/awt/image/RasterFormatException.java,
4242 java/awt/image/SampleModel.java,
4243 java/awt/image/ShortLookupTable.java,
4244 java/awt/image/SinglePixelPackedSampleModel.java,
4245 java/awt/image/WritableRaster.java,
4246 java/awt/print/PrinterAbortException.java,
4247 java/awt/print/PrinterException.java,
4248 java/awt/print/PrinterIOException.java,
4249 java/beans/AppletInitializer.java,
4250 java/beans/ExceptionListener.java,
4251 java/beans/PropertyChangeEvent.java,
4252 java/beans/PropertyChangeListenerProxy.java,
4253 java/beans/PropertyChangeSupport.java,
4254 java/beans/PropertyDescriptor.java,
4255 java/beans/VetoableChangeListenerProxy.java,
4256 java/beans/VetoableChangeSupport.java,
4257 java/io/BufferedReader.java,
4258 java/io/ByteArrayInputStream.java,
4259 java/io/ByteArrayOutputStream.java,
4260 java/io/CharArrayReader.java,
4261 java/io/CharArrayWriter.java,
4262 java/io/CharConversionException.java,
4263 java/io/DataInput.java,
4264 java/io/DataInputStream.java,
4265 java/io/DataOutput.java,
4266 java/io/DataOutputStream.java,
4267 java/io/EOFException.java,
4268 java/io/FileInputStream.java,
4269 java/io/FileNotFoundException.java,
4270 java/io/FileOutputStream.java,
4271 java/io/FilenameFilter.java,
4272 java/io/FilterInputStream.java,
4273 java/io/FilterOutputStream.java,
4274 java/io/FilterReader.java,
4275 java/io/FilterWriter.java,
4276 java/io/IOException.java,
4277 java/io/InputStream.java,
4278 java/io/InterruptedIOException.java,
4279 java/io/LineNumberInputStream.java,
4280 java/io/LineNumberReader.java,
4281 java/io/ObjectInputStream.java,
4282 java/io/ObjectStreamException.java,
4283 java/io/OptionalDataException.java,
4284 java/io/OutputStream.java,
4285 java/io/OutputStreamWriter.java,
4286 java/io/PrintStream.java,
4287 java/io/PrintWriter.java,
4288 java/io/PushbackInputStream.java,
4289 java/io/PushbackReader.java,
4290 java/io/RandomAccessFile.java,
4291 java/io/Reader.java,
4292 java/io/SequenceInputStream.java,
4293 java/io/Serializable.java,
4294 java/io/StreamCorruptedException.java,
4295 java/io/StreamTokenizer.java,
4296 java/io/StringBufferInputStream.java,
4297 java/io/StringWriter.java,
4298 java/io/SyncFailedException.java,
4299 java/io/UTFDataFormatException.java,
4300 java/io/UnsupportedEncodingException.java,
4301 java/io/WriteAbortedException.java,
4302 java/io/Writer.java,
4303 java/lang/AbstractMethodError.java,
4304 java/lang/ArithmeticException.java,
4305 java/lang/ArrayIndexOutOfBoundsException.java,
4306 java/lang/ArrayStoreException.java,
4307 java/lang/AssertionError.java,
4308 java/lang/Boolean.java,
4309 java/lang/Byte.java,
4310 java/lang/Class.java,
4311 java/lang/ClassCastException.java,
4312 java/lang/ClassCircularityError.java,
4313 java/lang/ClassLoader.java,
4314 java/lang/ClassNotFoundException.java,
4315 java/lang/CloneNotSupportedException.java,
4316 java/lang/Cloneable.java,
4317 java/lang/Comparable.java,
4318 java/lang/Compiler.java,
4319 java/lang/Double.java,
4320 java/lang/Error.java,
4321 java/lang/Exception.java,
4322 java/lang/ExceptionInInitializerError.java,
4323 java/lang/Float.java,
4324 java/lang/IllegalAccessError.java,
4325 java/lang/IllegalAccessException.java,
4326 java/lang/IllegalArgumentException.java,
4327 java/lang/IllegalMonitorStateException.java,
4328 java/lang/IllegalStateException.java,
4329 java/lang/IllegalThreadStateException.java,
4330 java/lang/IncompatibleClassChangeError.java,
4331 java/lang/IndexOutOfBoundsException.java,
4332 java/lang/InheritableThreadLocal.java,
4333 java/lang/InstantiationError.java,
4334 java/lang/InstantiationException.java,
4335 java/lang/Integer.java,
4336 java/lang/InternalError.java,
4337 java/lang/InterruptedException.java,
4338 java/lang/LinkageError.java,
4339 java/lang/Long.java,
4340 java/lang/NegativeArraySizeException.java,
4341 java/lang/NoClassDefFoundError.java,
4342 java/lang/NoSuchFieldError.java,
4343 java/lang/NoSuchFieldException.java,
4344 java/lang/NoSuchMethodError.java,
4345 java/lang/NoSuchMethodException.java,
4346 java/lang/NullPointerException.java,
4347 java/lang/Number.java,
4348 java/lang/NumberFormatException.java,
4349 java/lang/OutOfMemoryError.java,
4350 java/lang/Process.java,
4351 java/lang/Runnable.java,
4352 java/lang/Runtime.java,
4353 java/lang/RuntimeException.java,
4354 java/lang/RuntimePermission.java,
4355 java/lang/SecurityException.java,
4356 java/lang/SecurityManager.java,
4357 java/lang/Short.java,
4358 java/lang/StackOverflowError.java,
4359 java/lang/StackTraceElement.java,
4360 java/lang/StringBuffer.java,
4361 java/lang/StringIndexOutOfBoundsException.java,
4362 java/lang/ThreadDeath.java,
4363 java/lang/ThreadGroup.java,
4364 java/lang/Throwable.java,
4365 java/lang/UnsatisfiedLinkError.java,
4366 java/lang/UnsupportedOperationException.java,
4367 java/lang/VerifyError.java,
4368 java/lang/VirtualMachineError.java,
4369 java/lang/reflect/AccessibleObject.java,
4370 java/lang/reflect/Array.java,
4371 java/lang/reflect/InvocationTargetException.java,
4372 java/lang/reflect/Member.java,
4373 java/lang/reflect/Modifier.java,
4374 java/lang/reflect/Proxy.java,
4375 java/lang/reflect/ReflectPermission.java,
4376 java/lang/reflect/UndeclaredThrowableException.java,
4377 java/math/BigInteger.java,
4378 java/net/NetworkInterface.java,
4379 java/nio/ByteBufferHelper.java,
4380 java/nio/ByteBufferImpl.java,
4381 java/nio/DirectByteBufferImpl.java,
4382 java/nio/DoubleBufferImpl.java,
4383 java/nio/FloatBufferImpl.java,
4384 java/nio/IntBufferImpl.java,
4385 java/nio/LongBufferImpl.java,
4386 java/nio/ShortBufferImpl.java,
4387 java/nio/channels/Channel.java,
4388 java/nio/channels/IllegalBlockingModeException.java,
4389 java/nio/charset/spi/CharsetProvider.java,
4390 java/security/AccessControlException.java,
4391 java/security/BasicPermission.java,
4392 java/security/DigestException.java,
4393 java/security/DigestInputStream.java,
4394 java/security/DigestOutputStream.java,
4395 java/security/GeneralSecurityException.java,
4396 java/security/Guard.java,
4397 java/security/GuardedObject.java,
4398 java/security/InvalidAlgorithmParameterException.java,
4399 java/security/InvalidKeyException.java,
4400 java/security/InvalidParameterException.java,
4401 java/security/Key.java,
4402 java/security/KeyException.java,
4403 java/security/KeyManagementException.java,
4404 java/security/KeyStoreException.java,
4405 java/security/MessageDigestSpi.java,
4406 java/security/NoSuchAlgorithmException.java,
4407 java/security/NoSuchProviderException.java,
4408 java/security/Permission.java,
4409 java/security/PermissionCollection.java,
4410 java/security/Permissions.java,
4411 java/security/Principal.java,
4412 java/security/PrivateKey.java,
4413 java/security/PrivilegedActionException.java,
4414 java/security/ProviderException.java,
4415 java/security/PublicKey.java,
4416 java/security/SecureRandom.java,
4417 java/security/SecureRandomSpi.java,
4418 java/security/SignatureException.java,
4419 java/security/SignatureSpi.java,
4420 java/security/SignedObject.java,
4421 java/security/Signer.java,
4422 java/security/UnrecoverableKeyException.java,
4423 java/security/UnresolvedPermission.java,
4424 java/security/acl/AclNotFoundException.java,
4425 java/security/acl/LastOwnerException.java,
4426 java/security/acl/NotOwnerException.java,
4427 java/security/cert/CertPath.java,
4428 java/security/cert/CertPathBuilderException.java,
4429 java/security/cert/CertPathValidatorException.java,
4430 java/security/cert/CertStoreException.java,
4431 java/text/BreakIterator.java,
4432 java/text/ChoiceFormat.java,
4433 java/text/CollationElementIterator.java,
4434 java/text/CollationKey.java,
4435 java/text/Collator.java,
4436 java/text/DateFormat.java,
4437 java/text/DateFormatSymbols.java,
4438 java/text/DecimalFormat.java,
4439 java/text/DecimalFormatSymbols.java,
4440 java/text/FieldPosition.java,
4441 java/text/Format.java,
4442 java/text/NumberFormat.java,
4443 java/text/ParseException.java,
4444 java/text/ParsePosition.java,
4445 java/text/StringCharacterIterator.java,
4446 java/util/AbstractCollection.java,
4447 java/util/AbstractList.java,
4448 java/util/AbstractMap.java,
4449 java/util/AbstractSequentialList.java,
4450 java/util/AbstractSet.java,
4451 java/util/ArrayList.java,
4452 java/util/Arrays.java,
4453 java/util/BitSet.java,
4454 java/util/Collection.java,
4455 java/util/Collections.java,
4456 java/util/Comparator.java,
4457 java/util/ConcurrentModificationException.java,
4458 java/util/Currency.java,
4459 java/util/Date.java,
4460 java/util/EmptyStackException.java,
4461 java/util/Enumeration.java,
4462 java/util/EventListener.java,
4463 java/util/EventListenerProxy.java,
4464 java/util/EventObject.java,
4465 java/util/HashMap.java,
4466 java/util/HashSet.java,
4467 java/util/Hashtable.java,
4468 java/util/IdentityHashMap.java,
4469 java/util/Iterator.java,
4470 java/util/LinkedHashSet.java,
4471 java/util/LinkedList.java,
4472 java/util/List.java,
4473 java/util/ListIterator.java,
4474 java/util/ListResourceBundle.java,
4476 java/util/MissingResourceException.java,
4477 java/util/NoSuchElementException.java,
4478 java/util/Observable.java,
4479 java/util/Observer.java,
4480 java/util/Properties.java,
4481 java/util/PropertyPermissionCollection.java,
4482 java/util/RandomAccess.java,
4484 java/util/SortedMap.java,
4485 java/util/SortedSet.java,
4486 java/util/Stack.java,
4487 java/util/StringTokenizer.java,
4488 java/util/TooManyListenersException.java,
4489 java/util/TreeMap.java,
4490 java/util/TreeSet.java,
4491 java/util/Vector.java,
4492 java/util/logging/FileHandler.java,
4493 java/util/logging/Level.java,
4494 java/util/prefs/BackingStoreException.java,
4495 java/util/prefs/InvalidPreferencesFormatException.java,
4496 java/util/prefs/Preferences.java,
4497 javax/accessibility/Accessible.java,
4498 javax/accessibility/AccessibleAction.java,
4499 javax/accessibility/AccessibleBundle.java,
4500 javax/accessibility/AccessibleComponent.java,
4501 javax/accessibility/AccessibleContext.java,
4502 javax/accessibility/AccessibleEditableText.java,
4503 javax/accessibility/AccessibleExtendedComponent.java,
4504 javax/accessibility/AccessibleExtendedTable.java,
4505 javax/accessibility/AccessibleHyperlink.java,
4506 javax/accessibility/AccessibleHypertext.java,
4507 javax/accessibility/AccessibleIcon.java,
4508 javax/accessibility/AccessibleKeyBinding.java,
4509 javax/accessibility/AccessibleRelation.java,
4510 javax/accessibility/AccessibleRelationSet.java,
4511 javax/accessibility/AccessibleResourceBundle.java,
4512 javax/accessibility/AccessibleRole.java,
4513 javax/accessibility/AccessibleSelection.java,
4514 javax/accessibility/AccessibleState.java,
4515 javax/accessibility/AccessibleStateSet.java,
4516 javax/accessibility/AccessibleTable.java,
4517 javax/accessibility/AccessibleTableModelChange.java,
4518 javax/accessibility/AccessibleText.java,
4519 javax/accessibility/AccessibleValue.java,
4520 javax/imageio/IIOException.java,
4521 javax/imageio/ImageIO.java,
4522 javax/imageio/spi/IIOServiceProvider.java,
4523 javax/imageio/spi/ImageInputStreamSpi.java,
4524 javax/imageio/spi/ImageOutputStreamSpi.java,
4525 javax/imageio/spi/ImageReaderWriterSpi.java,
4526 javax/imageio/spi/ImageTranscoderSpi.java,
4527 javax/imageio/spi/RegisterableService.java,
4528 javax/imageio/spi/ServiceRegistry.java,
4529 javax/imageio/stream/IIOByteBuffer.java,
4530 javax/imageio/stream/ImageInputStream.java,
4531 javax/imageio/stream/ImageOutputStream.java,
4532 javax/naming/Binding.java,
4533 javax/naming/CannotProceedException.java,
4534 javax/naming/CompositeName.java,
4535 javax/naming/CompoundName.java,
4536 javax/naming/LinkException.java,
4537 javax/naming/LinkRef.java,
4538 javax/naming/NameClassPair.java,
4539 javax/naming/Reference.java,
4540 javax/naming/ReferralException.java,
4541 javax/naming/directory/Attribute.java,
4542 javax/naming/directory/AttributeModificationException.java,
4543 javax/naming/directory/Attributes.java,
4544 javax/naming/directory/DirContext.java,
4545 javax/naming/directory/ModificationItem.java,
4546 javax/naming/directory/SearchControls.java,
4547 javax/naming/directory/SearchResult.java,
4548 javax/naming/event/EventContext.java,
4549 javax/naming/event/EventDirContext.java,
4550 javax/naming/event/NamespaceChangeListener.java,
4551 javax/naming/event/NamingExceptionEvent.java,
4552 javax/naming/event/NamingListener.java,
4553 javax/naming/event/ObjectChangeListener.java,
4554 javax/naming/ldap/Control.java,
4555 javax/naming/ldap/ExtendedResponse.java,
4556 javax/naming/ldap/HasControls.java,
4557 javax/naming/ldap/LdapContext.java,
4558 javax/naming/ldap/UnsolicitedNotification.java,
4559 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4560 javax/naming/ldap/UnsolicitedNotificationListener.java,
4561 javax/naming/spi/DirectoryManager.java,
4562 javax/naming/spi/ResolveResult.java,
4563 javax/naming/spi/Resolver.java,
4564 javax/security/auth/callback/Callback.java,
4565 javax/security/auth/callback/CallbackHandler.java,
4566 javax/security/auth/callback/ChoiceCallback.java,
4567 javax/security/auth/callback/ConfirmationCallback.java,
4568 javax/security/auth/callback/LanguageCallback.java,
4569 javax/security/auth/callback/NameCallback.java,
4570 javax/security/auth/callback/PasswordCallback.java,
4571 javax/security/auth/callback/TextInputCallback.java,
4572 javax/security/auth/callback/TextOutputCallback.java,
4573 javax/security/auth/callback/UnsupportedCallbackException.java,
4574 javax/security/sasl/Sasl.java,
4575 javax/security/sasl/SaslServerFactory.java,
4576 javax/swing/DefaultBoundedRangeModel.java,
4577 javax/swing/JComponent.java,
4578 javax/swing/JList.java,
4579 javax/swing/JProgressBar.java,
4580 javax/swing/JRadioButton.java,
4581 javax/swing/JTextArea.java,
4582 javax/swing/JTextField.java,
4583 javax/swing/JToggleButton.java,
4584 javax/swing/JTree.java,
4585 javax/swing/SpinnerListModel.java,
4586 javax/swing/event/EventListenerList.java,
4587 javax/swing/text/JTextComponent.java,
4588 javax/swing/text/StringContent.java,
4589 javax/swing/text/Utilities.java,
4590 javax/swing/undo/UndoManager.java,
4591 javax/swing/undo/UndoableEditSupport.java,
4592 javax/transaction/HeuristicCommitException.java,
4593 javax/transaction/HeuristicMixedException.java,
4594 javax/transaction/HeuristicRollbackException.java,
4595 javax/transaction/InvalidTransactionException.java,
4596 javax/transaction/NotSupportedException.java,
4597 javax/transaction/RollbackException.java,
4598 javax/transaction/Status.java,
4599 javax/transaction/Synchronization.java,
4600 javax/transaction/SystemException.java,
4601 javax/transaction/Transaction.java,
4602 javax/transaction/TransactionManager.java,
4603 javax/transaction/TransactionRequiredException.java,
4604 javax/transaction/TransactionRolledbackException.java,
4605 javax/transaction/UserTransaction.java,
4606 javax/transaction/xa/XAException.java,
4607 javax/transaction/xa/XAResource.java,
4608 javax/transaction/xa/Xid.java,
4609 javax/xml/XMLConstants.java,
4610 javax/xml/datatype/DatatypeConfigurationException.java,
4611 javax/xml/datatype/DatatypeConstants.java,
4612 javax/xml/datatype/DatatypeFactory.java,
4613 javax/xml/datatype/Duration.java,
4614 javax/xml/datatype/XMLGregorianCalendar.java,
4615 javax/xml/namespace/NamespaceContext.java,
4616 javax/xml/namespace/QName.java,
4617 javax/xml/parsers/DocumentBuilder.java,
4618 javax/xml/parsers/DocumentBuilderFactory.java,
4619 javax/xml/parsers/FactoryConfigurationError.java,
4620 javax/xml/parsers/ParserConfigurationException.java,
4621 javax/xml/parsers/SAXParser.java,
4622 javax/xml/parsers/SAXParserFactory.java,
4623 javax/xml/transform/ErrorListener.java,
4624 javax/xml/transform/OutputKeys.java,
4625 javax/xml/transform/Result.java,
4626 javax/xml/transform/Source.java,
4627 javax/xml/transform/SourceLocator.java,
4628 javax/xml/transform/Templates.java,
4629 javax/xml/transform/Transformer.java,
4630 javax/xml/transform/TransformerConfigurationException.java,
4631 javax/xml/transform/TransformerException.java,
4632 javax/xml/transform/TransformerFactory.java,
4633 javax/xml/transform/TransformerFactoryConfigurationError.java,
4634 javax/xml/transform/URIResolver.java,
4635 javax/xml/transform/dom/DOMLocator.java,
4636 javax/xml/transform/dom/DOMResult.java,
4637 javax/xml/transform/dom/DOMSource.java,
4638 javax/xml/transform/sax/SAXResult.java,
4639 javax/xml/transform/sax/SAXSource.java,
4640 javax/xml/transform/sax/SAXTransformerFactory.java,
4641 javax/xml/transform/sax/TemplatesHandler.java,
4642 javax/xml/transform/sax/TransformerHandler.java,
4643 javax/xml/transform/stream/StreamResult.java,
4644 javax/xml/transform/stream/StreamSource.java,
4645 javax/xml/validation/Schema.java,
4646 javax/xml/validation/SchemaFactory.java,
4647 javax/xml/validation/TypeInfoProvider.java,
4648 javax/xml/validation/Validator.java,
4649 javax/xml/validation/ValidatorHandler.java,
4650 javax/xml/xpath/XPathConstants.java,
4651 javax/xml/xpath/XPathException.java,
4652 javax/xml/xpath/XPathExpression.java,
4653 javax/xml/xpath/XPathExpressionException.java,
4654 javax/xml/xpath/XPathFactory.java,
4655 javax/xml/xpath/XPathFactoryConfigurationException.java,
4656 javax/xml/xpath/XPathFunction.java,
4657 javax/xml/xpath/XPathFunctionException.java,
4658 javax/xml/xpath/XPathFunctionResolver.java:
4659 Fixed usage of @author tag, reworked import statements,
4660 removed CVS tags, changed the modifier order and fixed
4661 HTML usage in javadocs.
4663 2005-02-16 Julian Scheid <julian@sektor37.de>
4665 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4667 (encodeLoop): Likewise.
4669 2005-02-16 Mark Wielaard <mark@klomp.org>
4671 * Makefile.am (ordinary_java_source_files): Add new files
4672 gnu/java/security/ber/BER.java,
4673 gnu/java/security/ber/BEREncodingException.java,
4674 gnu/java/security/ber/BERReader.java,
4675 gnu/java/security/ber/BERValue.java,
4676 gnu/java/security/pkcs/PKCS7SignedData.java and
4677 gnu/java/security/pkcs/SignerInfo.java.
4678 * Makefile.in: Regenerated.
4680 2005-02-16 Casey Marshall <csm@gnu.org>
4682 * gnu/java/security/provider/GnuDSAPrivateKey.java
4683 (encodedKey): new field.
4684 (getFormat): return "PKCS#8".
4685 (getEncoded): implemented.
4686 (toString): check for 'null' values.
4687 * gnu/java/security/provider/GnuDSAPublicKey.java
4688 (encodedKey): new field.
4689 (getFormat): return "X.509".
4690 (getEncoded): implemented.
4691 (toString): check for 'null' values.
4693 2005-02-16 Michael Koch <konqueror@gmx.de>
4695 * java/util/jar/JarFile.java: Imports reworked.
4697 2005-02-16 Mark Wielaard <mark@klomp.org>
4699 * java/util/jar/JarFile.java (verify): Make package private.
4700 (signaturesRead): Likewise.
4701 (verified): Likewise.
4702 (entryCerts): Likewise.
4705 (entries): Construct new JarEnumeration with reference to this.
4706 (JarEnumeration): Make static.
4707 (JarEnumeration.jarfile): New field.
4708 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4709 Compare verified value to Boolean.TRUE or Boolean.False only
4710 when verify is true.
4711 (getEntry): Make synchronized. Compare value of verified to
4713 (getInputStream): Construct EntryInputStream with reference to this.
4714 (getManifest): Make synchronized.
4715 (EntryInputStream): Make static.
4716 (EntryInputStream.jarfile): New field.
4717 (EntryInputStream.EntryInputStream): Check if manifest exists,
4718 before getting attributes.
4719 (eof): Synchronize on jarfile.
4721 2005-02-16 Casey Marshall <csm@gnu.org>
4723 * java/util/jar/JarFile.java (verify): return if the jar is signed
4724 with an unsupported algorithm.
4726 2005-02-16 Mark Wielaard <mark@klomp.org>
4728 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4729 InputStream as argument.
4730 (getInputStream): Construct a new EntryInputStream with the result of
4731 super.getInputStream(entry).
4733 2005-02-16 Casey Marshall <csm@gnu.org>
4735 Signed JAR file support.
4736 * java/net/URLClassLoader.java
4737 (JarURLResource.getCertificates): re-read jar entry to ensure
4738 certificates are picked up.
4739 (findClass): fill in class `signers' field, too.
4740 * java/util/jar/JarFile.java (META_INF): new constant.
4741 (PKCS7_DSA_SUFFIX): new constant.
4742 (PKCS7_RSA_SUFFIX): new constant.
4743 (DIGEST_KEY_SUFFIX): new constant.
4744 (SF_SUFFIX): new constant.
4745 (MD2_OID): new constant.
4746 (MD4_OID): new constant.
4747 (MD5_OID): new constant.
4748 (SHA1_OID): new constant.
4749 (DSA_ENCRYPTION_OID): new constant.
4750 (RSA_ENCRYPTION_OID): new constant.
4751 (signaturesRead): new field.
4752 (verified): new field.
4753 (entryCerts): new field.
4754 (DEBUG): new constant.
4755 (debug): new method.
4756 (JarEnumeration.nextElement): fill in entry certificates, read
4757 signatures if they haven't been read.
4758 (getEntry): likewise.
4759 (getInputStream): verify stream if it hasn't been verified yet.
4760 (readSignatures): new method.
4761 (verify): new method.
4762 (verifyHashes): new method.
4763 (readManifestEntry): new method.
4764 (EntryInputStream): new class.
4765 * gnu/java/io/Base64InputStream.java (decode): new class
4767 * gnu/java/security/der/DERReader.java don't make class
4769 (in): made protected.
4771 (readLength): likewise.
4772 * gnu/java/security/ber/BER.java,
4773 * gnu/java/security/ber/BEREncodingException.java,
4774 * gnu/java/security/ber/BERReader.java,
4775 * gnu/java/security/ber/BERValue.java,
4776 * gnu/java/security/pkcs/PKCS7SignedData.java,
4777 * gnu/java/security/pkcs/SignerInfo.java:
4780 2005-02-16 Tom Tromey <tromey@redhat.com>
4782 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4783 copied file on exit.
4785 2005-02-15 Mark Wielaard <mark@klomp.org>
4787 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4789 2005-02-15 Michael Koch <konqueror@gmx.de>
4791 * gnu/java/awt/peer/gtk/GtkArg.java,
4792 gnu/java/awt/peer/gtk/GtkArgList.java:
4795 2005-02-15 Craig Black <craig.black@aonix.com>
4797 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4798 (postMenuActionEvent): Implement to notify ItemListeners.
4799 * java/awt/CheckboxMenuItem.java
4800 (dispatchEventImpl): Update state on ItemEvent.
4801 * java/awt/MenuItem.java
4802 (processActionEvent): Retarget event source.
4804 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4806 * gnu/java/awt/color/ClutProfileConverter.java,
4807 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4808 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4809 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4810 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4811 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4812 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4813 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4814 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4815 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4816 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4817 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4818 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4819 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4820 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4821 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4822 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4823 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4824 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4825 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4826 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4827 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4828 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4829 gnu/java/awt/peer/gtk/GtkToolkit.java,
4830 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4831 javax/swing/JPopupMenu.java,
4832 javax/swing/JSpinner.java,
4833 javax/swing/SortingFocusTraversalPolicy.java,
4834 javax/swing/SwingUtilities.java,
4835 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4836 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4837 javax/swing/tree/DefaultMutableTreeNode.java:
4838 Removed unused imports and expanded starred
4841 2005-02-15 Mark Wielaard <mark@klomp.org>
4843 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4844 IllegalArgumentException when the given String is null.
4846 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4847 when given keystoke sequence cannot be parsed.
4849 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4850 if one is installed. Only install the given menubar is not null.
4852 * javax/swing/JViewport.java (getViewSize): Return an empty
4853 Dimension when the view isn't set or preferred component size when
4856 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4857 empty Dimension when there is no view set.
4858 (minimumLayoutSize): Likewise.
4859 (layoutContainer): Don't try to layout when there is no view.
4861 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4864 * include/jawt.h: Likewise.
4865 * include/jawt_md.h: Likewise.
4866 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4868 * jni/classpath/classpath_jawt.h: Likewise.
4869 * jni/gtk-peer/gtk_jawt.c: Likewise.
4870 * Makefile.am: Build libjawt.so.
4872 2005-02-15 Michael Koch <konqueror@gmx.de>
4874 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4875 Merged file header with classpath CVS head.
4876 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4877 Merged code formatting with classpath CVS head.
4878 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4880 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4881 Handle special JNI strings with 2 '\0' at the end.
4882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4883 Merged file header with classpath CVS head.
4884 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4885 Merged code formatting with classpath CVS head.
4887 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4889 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4890 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4891 (handle_response): Use GTK_RESPONSE_ACCEPT.
4893 2005-02-15 Graydon Hoare <graydon@redhat.com>
4895 * Makefile.am: Fix library build breakage.
4896 * Makefile.in: Regenerate.
4898 2005-02-15 Michael Koch <konqueror@gmx.de>
4900 * javax/swing/JTabbedPane.java
4901 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4903 2005-02-15 Michael Koch <konqueror@gmx.de>
4905 * javax/swing/tree/DefaultMutableTreeNode.java:
4906 Reworked Javadocs all over.
4907 (getPathToRoot): Fixed direction of result array initialization.
4909 2005-02-15 Michael Koch <konqueror@gmx.de>
4911 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4912 Fix includes for cairo 0.3.0 snappshot.
4913 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4914 Merged file header from classpath CVS HEAD.
4916 2005-02-15 Craig Black <craig.black@aonix.com>
4918 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4919 (copyState): Pass a JNI global reference to signal handler.
4920 (realize_cb): Use and free JNI global reference.
4921 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4922 (create): Pass a JNI global reference to signal handler.
4923 (selection_changed): Match declaration.
4924 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4925 (dispose): Do not remove entries from state tables until after widget is
4928 2005-02-15 Michael Koch <konqueror@gmx.de>
4930 * java/awt/Container.javai (paramString):
4931 If layoutMgr is null just return result of super.paramString().
4932 * java/awt/Scrollbar.java: Reformatted.
4933 * java/awt/im/InputContext.java (static):
4934 Removed redundant initializations.
4936 2005-02-15 Michael Koch <konqueror@gmx.de>
4938 * javax/swing/ImageIcon.java,
4939 javax/swing/UIManager.java,
4940 javax/swing/text/EditorKit.java,
4941 javax/swing/text/Segment.java:
4942 More whitespace cleanups.
4944 2005-02-15 Michael Koch <konqueror@gmx.de>
4946 * gnu/java/awt/EmbeddedWindow.java,
4947 gnu/java/awt/image/ImageDecoder.java,
4948 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4949 java/awt/DefaultKeyboardFocusManager.java,
4950 java/awt/Frame.java,
4951 java/awt/image/RGBImageFilter.java,
4952 javax/swing/AbstractButton.java,
4953 javax/swing/ActionMap.java,
4954 javax/swing/ComponentInputMap.java,
4955 javax/swing/DefaultDesktopManager.java,
4956 javax/swing/ImageIcon.java,
4957 javax/swing/InputMap.java,
4958 javax/swing/JButton.java,
4959 javax/swing/JCheckBox.java,
4960 javax/swing/JCheckBoxMenuItem.java,
4961 javax/swing/JEditorPane.java,
4962 javax/swing/JMenu.java,
4963 javax/swing/JMenuItem.java,
4964 javax/swing/JOptionPane.java,
4965 javax/swing/JRootPane.java,
4966 javax/swing/JTable.java,
4967 javax/swing/MenuSelectionManager.java,
4968 javax/swing/RepaintManager.java,
4969 javax/swing/ScrollPaneLayout.java,
4970 javax/swing/SortingFocusTraversalPolicy.java,
4971 javax/swing/UIManager.java,
4972 javax/swing/ViewportLayout.java,
4973 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4974 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4975 javax/swing/plaf/basic/BasicLabelUI.java,
4976 javax/swing/plaf/basic/BasicListUI.java,
4977 javax/swing/plaf/basic/BasicMenuItemUI.java,
4978 javax/swing/plaf/basic/BasicMenuUI.java,
4979 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4980 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4981 javax/swing/plaf/basic/BasicRootPaneUI.java,
4982 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4983 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4984 javax/swing/plaf/basic/BasicTextUI.java,
4985 javax/swing/table/TableColumnModel.java,
4986 javax/swing/text/AbstractDocument.java,
4987 javax/swing/text/EditorKit.java,
4988 javax/swing/text/Position.java,
4989 javax/swing/text/Segment.java,
4990 javax/swing/text/StyledEditorKit.java,
4991 javax/swing/text/ViewFactory.java:
4992 Cleanup whitespace differences to classpath CVS HEAD.
4994 2005-02-15 Graydon Hoare <graydon@redhat.com>
4996 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4997 (finalize): Call finish from here.
4998 (produce): Not from here.
4999 * Makefile.am (gtk_c_source_files):
5000 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5001 * Makefile.in: Regenerate.
5002 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5004 (cairoDrawGdkTextLayout):
5006 (getPeerTextMetrics):
5007 (getPeerFontMetrics): Remove.
5008 (setFont): Don't call cairoSetFont.
5009 (cairoDrawGlyphVector): Accept font peer argument.
5010 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5012 (ensure_metrics_cairo):
5013 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5014 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5015 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5016 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5018 (metrics_surface): Remove.
5019 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5020 Pass and install font peer.
5022 2005-02-15 Graydon Hoare <graydon@redhat.com>
5024 * Makefile.am: Create "split library" structure.
5025 * Makefile.in: Regenerate.
5027 2005-02-15 Graydon Hoare <graydon@redhat.com>
5029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5031 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5032 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5033 Release GDK lock during upcalls.
5035 2005-02-15 Graydon Hoare <graydon@redhat.com>
5037 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5038 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5039 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5040 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5041 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5042 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5043 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5046 (getTextMetrics): New native methods.
5047 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5048 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5049 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5050 * Makefile.in: Regenerate.
5052 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5054 * javax/swing/SwingUtilities.java:
5055 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5056 Implemented and documented.
5057 (getAccessibleChild(java.awt.Component, int)): Likewise.
5058 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5059 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5060 (getAccessibleStateSet(java.awt.Component)): Likewise.
5062 2005-02-15 Michael Koch <konqueror@gmx.de>
5064 * javax/swing/SwingUtilities.java
5065 (getFontMetrics): Removed.
5067 2005-02-15 Michael Koch <konqueror@gmx.de>
5069 * java/awt/Container.java
5070 (paramString): Implemented.
5071 * javax/swing/AbstractButton.java
5072 (paramString): Implemented.
5073 * javax/swing/JComponent.java
5074 (paramString): Implemented.
5075 * javax/swing/JMenu.java
5076 (paramString): Implemented.
5077 * javax/swing/JMenuBar.java
5078 (paramString): Implemented.
5079 * javax/swing/JMenuItem.java
5080 (paramString): Implemented.
5081 * javax/swing/JPopupMenu.java
5082 (paramString): Implemented.
5084 2005-02-15 Michael Koch <konqueror@gmx.de>
5086 * javax/swing/JMenu.java
5087 (uiClassID): Removed.
5088 (JMenu): Set invoker on popup menu.
5089 (getUIClassID): Return id directly.
5090 (getItemCount): Simply return getMenuComponentCount().
5092 (isTopLevelMenu): Simplified.
5093 * javax/swing/JMenuItem.java
5094 (uiClassID): Removed.
5095 (getUIClassID): Return id directly.
5096 * javax/swing/JPopupMenu.java
5097 (uiClassID): Removed.
5098 (JPopupMenu): Always initialize correctly.
5099 (getSubElements): Only return components implementing MenuElement
5101 (HeavyWeightPopup.hide): Removed.
5103 2005-02-15 Michael Koch <konqueror@gmx.de>
5105 * java/awt/image/ReplicateScaleFilter.java
5106 (replicatePixels): Made private.
5107 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5108 (DefaultRGBChooserPanel): Made package private.
5109 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5110 (RecentSwatchPanel): Likewise.
5111 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5112 (MouseInputAdapter): Made abstract.
5113 * javax/swing/tree/DefaultMutableTreeNode.java
5115 (growTree): Likewise.
5117 2005-02-15 Michael Koch <konqueror@gmx.de>
5119 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5122 2005-02-15 Michael Koch <konqueror@gmx.de>
5124 * javax/swing/JComponent.java (getComponentGraphics):
5125 Removed accidently commited code.
5127 2005-02-15 Graydon Hoare <graydon@redhat.com>
5129 * java/awt/dnd/DropTarget.java
5130 (addDropTargetListener): Despite documentation, do not throw.
5131 * javax/swing/JComponent.java: Set a default DropTarget.
5133 2005-02-15 Michael Koch <konqueror@gmx.de>
5135 * javax/swing/AbstractAction.java
5136 (ENABLED_PROPERTY): Removed.
5137 (setEnabled): Replaced constant with real string.
5138 * javax/swing/AbstractButton.java
5139 (createActionPropertyChangeListener.propertyChange): Likewise.
5140 * javax/swing/JComboBox.java
5141 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5142 (EDITABLE_CHANGED_PROPERTY): Removed.
5143 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5144 (ENABLED_CHANGED_PROPERTY):Likewise.
5145 (RENDERER_CHANGED_PROPERTY):Likewise.
5146 (EDITOR_CHANGED_PROPERTY):Likewise.
5147 (MODEL_CHANGED_PROPERTY):Likewise.
5148 (uiClassID):Likewise.
5149 (getUIClassID): Replaced constant with real string.
5150 (setModel):Likewise.
5151 (setEditable):Likewise.
5152 (setMaximumRowCount):Likewise.
5153 (setRenderer):Likewise.
5154 (setEditor):Likewise.
5155 (setEnabled):Likewise.
5156 * javax/swing/JLabel.java
5157 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5158 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5159 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5160 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5161 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5162 (ICON_CHANGED_PROPERTY): Likewise.
5163 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5164 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5165 (TEXT_CHANGED_PROPERTY): Likewise.
5166 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5167 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5168 (setText): Replaced constant with real string.
5169 (setIcon): Likewise.
5170 (setDisabledIcon): Likewise.
5171 (setDisplayedMnemonic): Likewise.
5172 (setIconTextGap): Likewise.
5173 (setVerticalAlignment): Likewise.
5174 (setHorizontalAlignment): Likewise.
5175 (setVerticalTextPosition): Likewise.
5176 (setHorizontalTextPosition): Likewise.
5177 (setLabelFor): Replaced constant with real string.
5178 Fire property change event after property got changed.
5179 * javax/swing/JList.java
5180 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5181 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5182 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5183 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5184 (MODEL_PROPERTY_CHANGED): Likewise.
5185 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5186 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5187 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5188 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5189 (setFixedCellWidth): Reimplemented.
5190 (setFixedCellHeight): Exit if new value is identical.
5191 Replaced constant with real string.
5192 (setSelectionBackground): Likewise.
5193 (setSelectionForeground): Likewise.
5194 (setPrototypeCellValue): Likewise.
5195 (setCellRenderer): Replaced constant with real string.
5196 (setModel): Likewise.
5197 (setSelectionModel): Likewise.
5198 * javax/swing/JMenuBar.java
5199 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5200 (MODEL_CHANGED_PROPERTY): Likewise.
5201 (MARGIN_CHANGED_PROPERTY): Likewise.
5202 (setBorderPainted): Reimplemented.
5203 (setMargin): Likewise.
5204 (setSelectionModel): Replaced constant with real string.
5205 * javax/swing/JPopupMenu.java
5206 (LABEL_CHANGED_PROPERTY): Removed.
5207 (VISIBLE_CHANGED_PROPERTY): Likewise.
5208 (borderPainted): Likewise.
5209 (setLabel): Replaced constant with real string.
5210 (setVisible): Exit if new value is identical.
5211 Replaced constant with real string.
5212 * javax/swing/JProgressBar.java
5213 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5214 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5215 (STRING_CHANGED_PROPERTY): Likewise.
5216 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5217 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5218 (setOrientation): Replaced constant with real string.
5219 (setStringPainted): Likewise.
5220 (setString): Likewise.
5221 (setBorderPainted): Likewise.
5222 (setIndeterminate): Likewise.
5223 * javax/swing/JScrollBar.java
5224 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5225 (MODEL_CHANGED_PROPERTY): Likewise.
5226 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5227 (setOrientation): Replaced constant with real string.
5228 (setModel): Likewise.
5229 (setUnitIncrement): Likewise.
5230 (setBlockIncrement): Likewise.
5231 * javax/swing/JScrollPane.java
5232 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5233 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5234 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5235 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5236 (LAYOUT_CHANGED_PROPERTY): Likewise.
5237 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5238 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5239 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5240 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5241 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5242 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5243 (setComponentOrientation): Replaced constant with real string.
5244 (setColumnHeader): Likewise.
5245 (setHorizontalScrollBar): Likewise.
5246 (setHorizontalScrollBarPolicy): Likewise.
5247 (setRowHeader): Likewise.
5248 (setVerticalScrollBar): Likewise.
5249 (setVerticalScrollBarPolicy): Likewise.
5250 (setWheelScrollingEnabled): Likewise.
5251 (setViewport): Likewise.
5252 (setViewportBorder): Likewise.
5253 * javax/swing/JSlider.java
5254 (INVERTED_CHANGED_PROPERTY): Removed.
5255 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5256 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5257 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5258 (MODEL_CHANGED_PROPERTY): Likewise.
5259 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5260 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5261 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5262 (setModel): Replaced constant with real string.
5263 (setOrientation): Likewise.
5264 (setLabelTable): Likewise.
5265 (setInverted): Likewise.
5266 (setMajorTickSpacing): Likewise.
5267 (setMinorTickSpacing): Likewise.
5268 (setPaintTicks): Likewise.
5269 (setPaintLabels): Likewise.
5270 * javax/swing/JTabbedPane.java
5271 (MODEL_CHANGED_PROPERTY): Removed.
5272 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5273 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5274 (setModel): Replaced constant with real string.
5275 (setTabPlacement): Likewise.
5276 (setTabLayoutPolicy): Likewise.
5277 * javax/swing/JToolBar.java
5278 (ORIENTATION_CHANGED_PROPERTY): Removed.
5279 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5280 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5281 (MARGIN_CHANGED_PROPERTY): Likewise.
5282 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5283 (setRollover): Replaced constant with real string.
5284 (setMargin): Likewise.
5285 (setBorderPainted): Likewise.
5286 (setFloatable): Likewise.
5287 (setOrientation): Likewise.
5288 * javax/swing/plaf/basic/BasicComboBoxUI.java
5289 (PropertyChangeHandler.propertyChange): Likewise.
5290 * javax/swing/plaf/basic/BasicComboPopup.java
5291 (PropertyChangeHandler.propertyChange): Likewise.
5292 * javax/swing/plaf/basic/BasicMenuBarUI.java
5293 (PropertyChangeHandler.propertyChange): Likewise.
5294 * javax/swing/plaf/basic/BasicProgressBarUI.java
5295 (PropertyChangeHandler.propertyChange): Likewise.
5296 * javax/swing/plaf/basic/BasicScrollBarUI.java
5297 (PropertyChangeHandler.propertyChange): Likewise.
5298 * javax/swing/plaf/basic/BasicSliderUI.java
5299 (PropertyChangeHandler.propertyChange): Likewise.
5300 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5301 (PropertyChangeHandler.propertyChange): Likewise.
5302 * javax/swing/plaf/basic/BasicToolBarUI.java
5303 (PropertyChangeHandler.propertyChange): Likewise.
5305 2005-02-15 Michael Koch <konqueror@gmx.de>
5307 * javax/swing/DefaultButtonModel.java
5308 (changeState): Made private.
5309 * javax/swing/DefaultDesktopManager.java
5310 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5311 * javax/swing/JLayeredPane.java
5312 (layerToRange): Made private.
5313 (incrLayer): Likewise.
5314 (decrLayer): Likewise.
5315 * javax/swing/JTable.java
5316 (dragEnabled): Likewise.
5317 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5318 * javax/swing/KeyStroke.java
5319 (Keystroke): Made private.
5320 * javax/swing/TransferHandler.java
5321 (COMMAND_COPY): Likewise.
5322 (COMMAND_CUT): Likewise.
5323 (COMMAND_PASTE): Likewise.
5325 2005-02-15 Michael Koch <konqueror@gmx.de>
5327 * javax/swing/JTextField.java
5328 (postActionEvent): Use text in field when actionCommand is null.
5329 (getActionCommand): Removed.
5331 2005-02-15 Michael Koch <konqueror@gmx.de>
5333 * javax/swing/AbstractSet.java: Removed.
5334 * Makefile.am: Removed javax/swing/AbstractSet.java.
5335 * Makefile.in: Regenerated.
5337 2005-02-15 Michael Koch <konqueror@gmx.de>
5339 * java/awt/Window.java
5340 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5341 * java/awt/dnd/DnDConstants.java
5342 (DnDConstants): New private constructor.
5344 2005-02-15 Michael Koch <konqueror@gmx.de>
5346 * javax/swing/DefaultCellRenderer.java: Removed.
5347 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5348 * Makefile.in: Regenerated.
5350 2005-02-15 Michael Koch <konqueror@gmx.de>
5352 * javax/swing/AbstractButton.java
5353 (fireItemStateChanged): Made protected.
5354 (fireActionPerformed): Likewise.
5355 (fireStateChanged): Likewise.
5356 * javax/swing/DefaultButtonModel.java
5357 (fireItemStateChanged): Likewise.
5358 (fireActionPerformed): Likewise.
5359 (fireStateChanged): Likewise.
5360 * javax/swing/JApplet.java
5362 (frameInit): Likewise.
5363 (setRootPane): Made protected.
5364 (createRootPane): Likewise.
5365 * javax/swing/JComponent.java
5366 (getClientProperty): Likewise.
5367 (putClientProperty): Likewise.
5368 * javax/swing/JEditorPane.java
5369 (getContentType): Likewise.
5370 (setContentType): Likewise.
5371 * javax/swing/JFrame.java
5372 (setRootPane): Likewise.
5373 (createRootPane): Likewise.
5374 * javax/swing/JInternalFrame.java
5375 (getFocusCycleRootAncestor): Made final. Added @since tag.
5376 (isFocusCycleRoot): Likewise.
5377 (getWarningString): Made final.
5378 * javax/swing/JScrollBar.java
5379 (changeListener): Removed.
5380 (changeEvent): Likewise.
5381 (createChangeListener): Likewise.
5382 (fireStateChanged): Likewise.
5383 (addChangeListener): Likewise.
5384 (removeChangeListener): Likewise.
5385 (getChangeListeners): Likewise.
5386 * javax/swing/JScrollPane.java
5387 (createViewport): Made protected.
5388 * javax/swing/JViewport.java
5389 (addImpl): Likewise.
5390 (setBorder): New method.
5391 * javax/swing/JWindow.java
5392 (setRootPane): Made protected.
5393 (createRootPane): Likewise.
5394 * javax/swing/plaf/basic/BasicButtonUI.java
5395 (installListeners): Likewise.
5396 (uninstallListeners): Likewise.
5397 * javax/swing/plaf/basic/BasicProgressBarUI.java
5398 (incrementAnimationIndex): Likewise.
5399 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5400 (createLayoutManager): Likewise.
5401 * javax/swing/table/DefaultTableCellRenderer.java
5402 (firePropertyChange): Likewise.
5403 * javax/swing/table/JTableHeader.java
5404 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5406 * javax/swing/text/PlainDocument.java
5407 (reindex): Made private.
5408 * javax/swing/text/PlainView.java
5409 (drawLine): Made protected.
5410 (getTabSize): Likewise.
5411 * javax/swing/text/View.java
5413 (preferenceChanged): New method.
5414 (getBreakWeight): Likewise.
5415 (breakView): Likewise.
5416 (getViewIndex): Likewise.
5418 2005-02-15 Michael Koch <konqueror@gmx.de>
5420 * javax/swing/JScrollPane.java
5421 (ScrollBar): Made class protected.
5422 * javax/swing/JSpinner.java
5423 (JSpinner): Added @since tag.
5424 (listenerList): Removed.
5425 * javax/swing/JTable.java
5426 (setValueAt): New method.
5427 (getColumn): Likewise.
5428 * javax/swing/JWindow.java
5429 (rootPaneCheckingEnabled): Renamed from checking.
5431 2005-02-15 Michael Koch <konqueror@gmx.de>
5433 * javax/swing/plaf/basic/BasicTextUI.java
5434 (RootView.modelToView): Made it public and return a java.awt.Shape.
5435 Handle null subview.
5436 (uninstall): Set textComponent to null when its not possible used
5438 * javax/swing/text/View.java
5439 (setParent): Use better argument name.
5440 (getContainer): Get parent via getParent().
5441 (getViewFactory): Likewise.
5442 (getAttributes): Get element via getElement().
5443 (getStartOffset): Likewise.
5444 (getEndOffset): Likewise.
5445 (getResizeWeight): New method.
5446 (getMaximumSpan): Likewise.
5447 (getMinimumSpan): Likewise.
5448 (setSize): Likewise.
5449 (getGraphics): Likewise.
5451 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5453 * java/awt/Checkbox.java:
5454 (AccessibleAWTCheckbox()): Added public constructor
5456 * java/awt/Choice.java:
5457 (AccessibleAWTChoice): Added class documentation.
5458 (AccessibleAWTChoice()): Added public constructor
5460 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5461 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5462 and changed role to COMBO_BOX.
5463 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5464 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5465 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5467 2005-02-15 Graydon Hoare <graydon@redhat.com>
5468 Michael Koch <konqueror@gmx.de>
5470 * javax/swing/LayoutFocusTraversalPolicy.java,
5471 javax/swing/SortingFocusTraversalPolicy.java:
5473 * Makefile.am: Added new classes.
5474 * Makefike.in: Regenerated.
5477 2005-02-15 Michael Koch <konqueror@gmx.de>
5479 * javax/swing/DebugGraphics.java: Mostly implemented.
5481 2005-02-15 Michael Koch <konqueror@gmx.de>
5483 * javax/swing/SwingUtilities.java
5484 (findFocusOwner): New method.
5486 2005-02-15 Michael Koch <konqueror@gmx.de>
5488 * javax/swing/text/DefaultEditorKit.java
5489 (read): Added '\n' after each line.
5490 * javax/swing/text/PlainView.java
5491 (modelToView): Update metrics.
5492 (drawLine): Use offsets from element.
5493 (paint): Update metrics. Draw all lines.
5495 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5497 * java/awt/Checkbox.java:
5498 (AccessibleAWTCheckbox): Added class documentation
5499 * java/awt/Scrollbar.java:
5500 (AccessibleAWTScrollBar): typo corrected and docs added
5501 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5502 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5503 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5504 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5505 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5506 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5507 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5508 (getAccessibleContext()): name of accessible class corrected
5510 2005-02-15 Mark Wielaard <mark@klomp.org>
5512 * java/awt/BasicStroke.java (hashCode): Implement.
5515 2005-02-15 Michael Koch <konqueror@gmx.de>
5517 * java/awt/print/PrinterJob.java
5518 (pageDialog): Throws java.awt.HeadlessException.
5519 (printDialog): Likewise.
5521 2005-02-15 Mark Wielaard <mark@klomp.org>
5523 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5525 2005-02-15 Michael Koch <konqueror@gmx.de>
5527 * javax/swing/JTable.java
5528 (getValueAt): New method.
5529 * javax/swing/table/JTableHeader.java
5530 (columnAtPoint): New method.
5532 2005-02-15 Michael Koch <konqueror@gmx.de>
5534 * javax/swing/JTextField.java
5535 (actions): New field.
5536 (static): Initalize actions field.
5537 (getActions): New method.
5539 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5541 * java/awt/Checkbox.java:
5542 (AccessibleAWTCheckbox): name capitalization corrected
5543 and serialization UID added.
5544 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5546 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5547 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5548 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5549 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5550 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5551 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5552 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5553 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5554 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5555 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5556 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5558 (getAccessibleContext()): name of accessible class corrected
5560 2005-02-15 Sven de Marothy <sven@physto.se>
5562 * java/awt/geom/doc-files/Area-1.png,
5563 java/awt/geom/doc-files/Ellipse-1.png,
5564 java/awt/geom/doc-files/GeneralPath-1.png:
5567 2005-02-15 Graydon Hoare <graydon@redhat.com>
5569 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5570 Use union to avoid type-punning warning.
5572 2005-02-15 Michael Koch <konqueror@gmx.de>
5574 * javax/swing/DefaultListSelectionModel.java
5575 (clone): New method.
5577 2005-02-15 Mark Wielaard <mark@klomp.org>
5579 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5580 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5581 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5582 Correct method signature of gtkSetFilename.
5584 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5586 * javax/swing/text/StringContent.java: New file.
5588 2005-02-15 Michael Koch <konqueror@gmx.de>
5590 * Makefile.am: Added javax/swing/text/StringContent.java.
5591 * Makefile.in: Regenerated.
5593 2005-02-15 Michael Koch <konqueror@gmx.de>
5595 * gnu/java/awt/ClasspathToolkit.java:
5596 Import statements reworked.
5597 (imageCache): Made it of type java.util.HashMap.
5599 2005-02-15 Michael Koch <konqueror@gmx.de>
5601 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5602 Reworked import statements.
5604 2005-02-15 Graydon Hoare <graydon@redhat.com>
5606 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5607 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5609 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5610 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5611 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5612 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5614 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5615 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5616 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5617 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5619 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5620 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5621 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5622 Rewrite uses of extern variable to be function calls.
5623 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5624 function, from extern variable.
5625 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5626 (gdk_env): Remove variable, add new function.
5627 (java_vm): Add new variable.
5628 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5629 java_vm rather than old gdk_env variable.
5631 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5633 * javax/swing/DefaultListModel.java
5634 (add): fire correct event,
5635 (addElement): corrected interval indices in event,
5636 (clear): corrected upper bound for interval, only fire event if
5638 (setSize): fire appropriate event.
5640 2005-02-15 Graydon Hoare <graydon@redhat.com>
5642 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5643 * gnu/awt/xlib/XToolkit.java: Likewise.
5644 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5645 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5646 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5647 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5648 * java/awt/EventQueue.java (getNextEvent):
5649 Adjust event loop to switch to native mode after 100ms.
5650 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5651 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5652 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5653 Wake up event thread.
5654 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5655 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5656 Adjust event loop to switch to java mode after 100ms.
5658 2005-02-15 Graydon Hoare <graydon@redhat.com>
5660 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5661 accidentally removed in last change.
5663 2005-02-15 Michael Koch <konqueror@gmx.de>
5665 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5666 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5668 2005-02-15 Graydon Hoare <graydon@redhat.com>
5670 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5671 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5672 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5673 * jni.cc: Reuse bottom frame between calls, avoid clearing
5674 frame when no local references are made.
5676 2005-02-15 Michael Koch <konqueror@gmx.de>
5678 * javax/swing/UIDefaults.java (UIDefaults):
5679 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5680 Fixed HTML entity and removed a redundant comma.
5682 2005-02-15 Michael Koch <konqueror@gmx.de>
5684 * javax/swing/text/DefaultEditorKit.java
5685 (deinstall): Removed.
5686 (install): Likewise.
5688 2005-02-15 Michael Koch <konqueror@gmx.de>
5690 * javax/swing/UIDefaults.java (put): Handle value of null.
5692 2005-02-15 Michael Koch <konqueror@gmx.de>
5694 * java/awt/Robot.java,
5695 java/awt/Scrollbar.java,
5696 java/awt/print/PrinterJob.java,
5697 javax/swing/JTable.java,
5698 javax/swing/text/AbstractDocument.java:
5699 Reworked import statements.
5701 2005-02-15 Michael Koch <konqueror@gmx.de>
5703 * javax/swing/JEditorPane.java
5704 (read): Implemented.
5706 * javax/swing/text/DefaultEditorKit.java
5707 (page): Renamed from page_url. Made private.
5708 (editorKit): Renamed from kit. Made private.
5710 (JEditorPane): All constructors reimplemented.
5711 (getContentType): Use content type from editor kit.
5712 (getEditorKit): Return editorKit.
5713 (getEditorKitForContentType):Likewise.
5714 (getPage): Return page.
5715 (setContentType): Reimplemented.
5716 (setEditorKit): Likewise.
5717 (setEditorKitForContentType): Removed wrong implementation.
5718 (setPage): Implemented.
5720 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5723 (nativeSetIconImageFromData): Re-add native implementation.
5725 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5727 * javax/swing/table/DefaultTableModel.java
5728 (DefaultTableModel()): Added Javadocs.
5729 (DefaultTableModel(int, int)): Fixed implementation.
5730 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5731 for negative rowCount.
5732 (DefaultTableModel(Object[], int)): Added Javadocs.
5733 (DefaultTableModel(Vector, Vector)): Likewise.
5734 (DefaultTableModel(Object[][], Object[])): Likewise.
5735 (getDataVector): Likewise.
5736 (setDataVector(Vector, Vector)): Likewise.
5737 (setDataVector(Object[][], Object[])): Likewise.
5738 (newDataAvailable): Likewise.
5739 (newRowsAdded): Likewise.
5740 (rowsRemoved): Likewise.
5741 (setColumnIdentifiers(Vector)): Allow for null argument.
5742 (setColumnIdentifiers(Object[])): Added Javadocs.
5743 (setNumRows): Likewise.
5744 (setRowCount): Adds new rows if necessary, and sends more specific
5746 (setColumnCount): Allow for null columnIdentifiers.
5747 (addColumn(Object)): Added Javadocs.
5748 (addColumn(Object, Vector)): Handle null columnData.
5749 (addColumn(Object, Object[])): Handle columnData with more or less
5750 entries than rows in the table.
5751 (addRow(Vector)): Fire appropriate event.
5752 (addRow(Object[])): Added Javadocs.
5753 (insertRow(int, Vector)): Fire appropriate event.
5754 (insertRow(int, Object[])): Added Javadocs.
5755 (moveRow): Reimplemented.
5756 (removeRow(int)): Fire appropriate event.
5757 (getColumnCount): Allow for null columnIdentifiers.
5758 (getColumnName): Now returns empty string when column index is too
5760 (isCellEditable): Added Javadocs.
5761 (getValueAt): Likewise.
5762 (setValueAt): Fire more specific event.
5763 (convertToVector): Added Javadocs.
5764 * javax/swing/table/TableModel.java
5767 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5769 * libgcj.spec.in (lib): Add -l-javax-imageio.
5771 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5773 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5774 references to event queue q with method call q().
5775 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5776 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5777 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5778 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5779 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5780 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5783 2005-02-15 Graydon Hoare <graydon@redhat.com>
5785 * gnu/java/awt/ClasspathToolkit.java
5786 (registerImageIOSpis): New method.
5787 * gnu/java/awt/image/ImageDecoder.java
5788 (imageDecoder): New constructor using InputStream
5789 (startProduction): Handle existing InputStream.
5790 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5791 (findSimpleIntegerArray): Make public and static.
5792 (updateBufferedImage): Set each pixel, in a loop.
5793 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5794 Implement ImageIO SPI classes.
5795 (createBufferedImage): Rewrite in terms of SPI classes.
5796 * gnu/java/awt/peer/gtk/GtkToolkit.java
5797 (registerImageIOSpis): New method.
5798 * java/lang/reflect/natMethod.cc
5799 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5800 which lets JNI call interface methods properly.
5801 * javax/imageio/ImageIO.java
5802 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5803 (WriterMIMETypeFilter.filter): Likewise.
5804 (ImageReaderIterator): Pass extension argument through to SPI.
5805 (getReadersByFilter): Likewise.
5806 (getWritersByFilter): Likewise.
5807 (getImageReadersByFormatName): Likewise.
5808 (getImageReadersByMIMEType): Likewise.
5809 (getImageReadersBySuffix): Likewise.
5810 (getImageWritersByFormatName): Likewise.
5811 (getImageWritersByMIMEType): Likewise.
5812 (getImageWritersBySuffix): Likewise.
5815 * javax/imageio/ImageReader.java
5816 (progressListeners): Initialize.
5817 (setInput): Implement.
5818 * javax/imageio/ImageWriter.java
5819 (progressListeners): Initialize.
5820 (warningListeners): Likewise.
5821 (warningLocales): Likewise.
5822 (setOutput): Test "isInstance" rather than class equality.
5823 * javax/imageio/spi/IIORegistry.java
5824 (static): Add reader and writer SPIs.
5825 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5826 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5827 (query_formats): New function.
5828 (save_to_stream): Likewise.
5829 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5831 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5833 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5835 (keyPress): Likewise.
5836 (keyRelease): Likewise.
5838 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5840 * javax/swing/JTable.java
5841 (columnAtPoint): New Method. Implemented.
5842 (rowAtPoint): Likewise.
5843 (countSelections): Fixed few small count errors.
5844 (getSelections): Likewise.
5845 (setSelectionMode): Set selection mode for column
5846 selection model in addition to row selection model.
5847 * javax/swing/plaf/basic/BasicTableUI.java:
5848 (getRowForPoint): Removed. Replaced by
5849 JTable.rowAtPoint().
5850 (getColForPoint): Removed. Replaced by
5851 JTable.columnAtPoint().
5852 (updateSelection): Updated to call JTable.columnAtPoint
5853 and JTable.rowAtPoint.
5854 * javax/swing/table/DefaultTableColumnModel.java:
5855 (getSelectedColumns): Implemented.
5856 (getSelectedColumnCount): Implemented.
5858 2005-02-15 Graydon Hoare <graydon@redhat.com>
5861 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5862 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5863 * Makefile.in: Regenerate.
5864 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5865 * gnu/awt/xlib/XFramePeer.java: Likewise.
5866 * gnu/awt/xlib/XToolkit.java: Likewise.
5867 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5868 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5869 * gnu/java/awt/ClasspathToolkit.java
5872 (iterateNativeQueue): New methods.
5873 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5874 * gnu/java/awt/peer/gtk/GtkToolkit.java
5875 (gtkInit): Absorb from defunct GtkMainThread class.
5876 (static): Run gtkInit in static startup block.
5877 (GtkToolkit): Remove construction of GtkMainThread and queue.
5878 (getSystemEventQueueImpl): Construct queue when requested.
5881 (iterateNativeQueue): New methods.
5882 * java/awt/Component.java (removeNotify): Remove race.
5883 * java/awt/EventDispatchThread.java
5884 (EventDispatchThread): Don't start on construction.
5885 (run): Remove isInterrupted check.
5886 * java/awt/EventQueue.java (shutdown): New flag.
5887 (isShutdown): New method checking J2SE shutdown condition.
5888 (setShutdown): New method.
5889 (getNextEvent): Restructure to use ClasspathToolkit.
5890 (postEvent): Activate new thread on posting, wake thread on
5891 post of possible shutdown condition event.
5892 * java/awt/Frame.java
5893 (Frame): Call noteFrame in all constructors.
5894 (fireDummyEvent): New helper method.
5895 (addNotify): Fire a dummy event to wake up queue.
5896 (removeNotify): Fire a dummy event to wake up queue.
5897 (noteFrame): New method.
5898 (weakFrames): New static field.
5899 (getFrames): Implement.
5900 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5902 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5903 Move everything from GtkMainThread into this file
5904 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5905 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5906 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5907 New functions to implement single-threaded queue semantics.
5909 2005-02-15 Michael Koch <konqueror@gmx.de>
5911 * javax/swing/plaf/metal/MetalLookAndFeel.java
5912 (getControlTextFont): New method.
5913 (getMenuTextFont): Likewise.
5914 (getSubTextFont): Likewise.
5915 (getSystemTextFont): Likewise.
5916 (getUserTextFont): Likewise.
5917 (getWindowTitleFont): Likewise.
5919 2005-02-15 Michael Koch <konqueror@gmx.de>
5921 * javax/swing/text/AbstractDocument.java
5922 (documentFilter): New field.
5923 (getDocumentFilter): New method.
5924 (setDocumentFilter): Likewise.
5927 2005-02-15 Michael Koch <konqueror@gmx.de>
5929 * javax/swing/JTree.java
5930 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5932 2005-02-15 Michael Koch <konqueror@gmx.de>
5934 * javax/swing/text/AbstractDocument.java
5935 (AbstractElement.getLength): Fixed off-by-one error.
5936 (AbstractElement.children): Made abstract.
5937 (AbstractElement.getAllowsChildren): Likewise.
5938 (AbstractElement.getElement): Likewise.
5939 (AbstractElement.dumpElement): New private method.
5940 (AbstractElement.dump): New method.
5941 (BranchElememt.getName): Fixed implementation.
5942 (BranchElememt.toString): Likewise.
5943 (BranchElememt.getElement): Fixed arguments.
5944 (LeafElement.getName): Fixed implementation.
5945 (LeafElement.toString): Likewise.
5946 * javax/swing/text/GapContent.java
5947 (GapContent): Put default content into buffer.
5948 * javax/swing/text/PlainDocument.java
5949 (reindex): Use empty attribute sets instead of null.
5950 (createDefaultRoot): Reimplemented.
5951 (insertUpdate): Call super method.
5952 (removeUpdate): Likewise.
5953 (getParagraphElement): Implemented.
5955 2005-02-15 Michael Koch <konqueror@gmx.de>
5957 * gnu/java/awt/ClasspathToolkit.java
5958 (createRobot): Throws java.awt.AWTException.
5959 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5960 Added '__attribute__((unused))' to all unused method arguments.
5962 2005-02-15 Michael Koch <konqueror@gmx.de>
5964 * javax/swing/DefaultBoundedRangeModel.java
5965 (fireValueChanged): Fixed off-by-one error.
5967 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5969 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5970 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5972 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5973 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5974 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5975 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5976 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5977 (getDefaultScreenDevice): Implement.
5978 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5979 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5980 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5981 * java/awt/Robot.java: Implement.
5982 * java/awt/peer/RobotPeer.java: Rename parameters.
5983 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5985 (awt_keycode_to_keysym): Make non-static.
5986 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5987 AWT_BUTTON3_MASK): Declare constants.
5988 (awt_keycode_to_keysym): Declare.
5990 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5991 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5992 and is non-empty pass its value to "make check".
5993 (test_mauve_sim): Likewise.
5995 2005-02-15 Michael Koch <konqueror@gmx.de>
5997 * javax/imageio/IIOParam.java
5998 (setSourceBands): New method.
5999 (setSourceSubsampling): Likewise.
6000 * javax/imageio/ImageReadParam.java
6001 (setDestination): Likewise.
6002 (setDestinationBands): Likewise.
6003 (setSourceProgressivePasses): Likewise.
6004 * javax/imageio/metadata/IIOInvalidTreeException.java
6005 (serialVersionUID): New static field.
6006 * javax/imageio/metadata/IIOMetadataNode.java
6007 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6008 (parent): Dont initailize with default value explicitely.
6010 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6011 (removeAttributeNode): Likewise.
6012 (removeAttributeNS): Likewise.
6013 (setAttribute): Likewise.
6014 (setAttributeNode): Likewise.
6015 (setAttributeNodeNS): Likewise.
6016 (setAttributeNS): Likewise.
6017 (appendChild): Likewise.
6018 (getNodeValue): Likewise.
6019 (insertBefore): Likewise.
6020 (removeChild): Likewise.
6021 (replaceChild): Likewise.
6022 (setPrefix): Likewise.
6024 2005-02-15 Michael Koch <konqueror@gmx.de>
6026 * javax/swing/LookAndFeel.java
6027 (getDesktopPropertyValue): New method.
6029 2005-02-15 Michael Koch <konqueror@gmx.de>
6031 * javax/swing/JTree.java
6032 (hasChildren): New instance field.
6034 2005-02-15 Michael Koch <konqueror@gmx.de>
6036 * javax/swing/JComponent.java
6037 (getToolTipText): New method.
6038 (getTitledBorderText): Likewise.
6039 (getAccessibleKeyBinding): Likewise.
6040 (getVerifyInputWhenFocusTarget): Likewise.
6041 (setVerifyInputWhenFocusTarget): Likewise.
6042 (verifyInputWhenFocusTarget): New instance field.
6044 2005-02-15 Michael Koch <konqueror@gmx.de>
6046 * javax/swing/DefaultListSelectionModel.java
6047 (fireValueChanged): New method.
6049 2005-02-15 Michael Koch <konqueror@gmx.de>
6051 * javax/swing/DefaultBoundedRangeModel.java:
6052 Fixed javadocs all over.
6053 (fireStateChanged): Simplified.
6054 * javax/swing/BoundedRangeModel.java:
6057 2005-02-15 Michael Koch <konqueror@gmx.de>
6059 * javax/swing/JRootPane.java
6060 (setMenuBar): Added @deprecated tag.
6061 (getMenuBar): Likewise.
6062 * javax/swing/JTable.java
6063 (sizeColumnsToFit): Likewise.
6065 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6067 * javax/swing/ImageIcon.java (setImage): Implemented.
6069 2005-02-15 Michael Koch <konqueror@gmx.de>
6071 * javax/swing/JTable.java:
6072 Removed unused imports.
6074 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6076 (prepareRenderer): Get column's index in dataModel instead
6077 of column's view index.
6078 (getColumnCount): return count of the columns in ColumnModel,
6080 (removeColumn): Implemented.
6081 (moveColumm): Likewise.
6082 (setRowHeight): throw IllegalArgumentException if height is
6084 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6085 (DefaultTableColumnModel):Add call to createSelectionModel().
6086 (addColumn): Fire columnAdded event to registered listeners.
6087 (removeColumn): Fire columnRemoved event to registered listeners.
6088 (moveColumn): Fire columnMoved event to registered listeners.
6089 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6090 (getColumnIndex): Changed parameter name.
6091 (setColumnSelectionAllowed): Likewise.
6092 (fireColumnAdded): Implemented.
6093 (fireColumnRemoved): Likewise.
6094 (fireColumnMoved): Likewise.
6095 (fireColumnMarginChanged): Likewise.
6096 (getListeners): Changed parameter name.
6097 (propertyChange): Implemented.
6098 (valueChanged): Changed parameter name.
6099 (createSelectionModel): Implemented.
6101 2005-02-15 Michael Koch <konqueror@gmx.de>
6103 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6104 Explicitely import used classes.
6105 (getLocalGraphicsEnvironment): Simplify.
6106 * java/awt/Window.java (Window):
6107 Enable code to get the default GraphicsConfiguration.
6109 2005-02-15 Michael Koch <konqueror@gmx.de>
6111 * javax/swing/plaf/metal/DefaultMetalTheme.java
6112 (CONTROL_TEXT_FONT): New static field.
6113 (MENU_TEXT_FONT): Likewise.
6114 (SUB_TEXT_FONT): Likewise.
6115 (SYSTEM_TEXT_FONT): Likewise.
6116 (USER_TEXT_FONT): Likewise.
6117 (WINDOW_TITLE_FONT): Likewise.
6118 (getControlTextFont): New method.
6119 (getMenuTextFont): Likewise.
6120 (getSubTextFont): Likewise.
6121 (getSystemTextFont): Likewise.
6122 (getUserTextFont): Likewise.
6123 (getWindowTitleFont): Likewise.
6124 * javax/swing/plaf/metal/MetalTheme.java
6125 (BLACK): Initialize with Color.BLACK.
6126 (WHITE): Initialize with Color.WHITE.
6127 (getInactiveControlTextColor): Return getControlDisabled().
6128 (getMenuDisabledForeground): Return getSecondary3().
6129 (getControlTextFont): New abstract method.
6130 (getMenuTextFont): Likewise.
6131 (getSubTextFont): Likewise.
6132 (getSystemTextFont): Likewise.
6133 (getUserTextFont): Likewise.
6134 (getWindowTitleFont): Likewise.
6136 2005-02-15 Michael Koch <konqueror@gmx.de>
6138 * javax/swing/JFormattedTextField.java
6139 (getFocusLostBehavior): Fixed typo in method name.
6140 (setFocusLostBehavior): Likewise.
6142 2005-02-15 Michael Koch <konqueror@gmx.de>
6144 * javax/swing/TransferHandler.java:
6145 Reworked import statements.
6147 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6149 * java/awt/Button.java,
6150 java/awt/Canvas.java,
6151 java/awt/Checkbox.java,
6152 java/awt/CheckboxMenuItem.java,
6153 java/awt/Choice.java,
6154 java/awt/Dialog.java,
6155 java/awt/Frame.java,
6156 java/awt/Label.java,
6159 java/awt/MenuBar.java,
6160 java/awt/MenuItem.java,
6161 java/awt/PopupMenu.java,
6162 java/awt/ScrollPane.java,
6163 java/awt/Scrollbar.java,
6164 java/awt/TextArea.java,
6165 java/awt/Window.java (getAccessibleContext): Clean up comments.
6167 * java/awt/Button.java,
6168 java/awt/Checkbox.java,
6169 java/awt/Choice.java,
6171 java/awt/PopupMenu.java,
6172 java/awt/TextArea.java (getAccessibleContext): Only create new
6174 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6176 2005-02-15 Michael Koch <konqueror@gmx.de>
6178 * java/awt/Button.java,
6179 javax/swing/JApplet.java,
6180 javax/swing/JFormattedTextField.java,
6181 javax/swing/JWindow.java,
6182 javax/swing/JTree.java,
6183 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6184 javax/swing/plaf/basic/BasicTextPaneUI.java,
6185 javax/swing/plaf/basic/BasicTreeUI.java:
6186 Reworked import statements.
6188 2005-02-15 Michael Koch <konqueror@gmx.de>
6190 * Makefile.am: Put javax.imageio into its own library and link it
6191 against lib-org-w3c-dom.la to fix bootstrapping.
6192 * Makefile.in: Regenerated.
6194 2005-02-15 Michael Koch <konqueror@gmx.de>
6196 * javax/swing/text/TextAction.java
6197 (getTextComponent): Simplified. Added Javadoc.
6198 (augmentList): Implemented. Added Javadoc.
6199 (getFocusedComponent): Added javadoc.
6201 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6203 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6204 getAccessibleContext): Implement.
6205 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6206 getAccessibleContext): Implement.
6208 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6210 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6212 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6214 * java/awt/Window.java (getAccessibleContext): Fix comment.
6215 Remove extra import.
6217 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6219 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6220 (isActive, isFocused, getAccessibleContext): Implement.
6222 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6224 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6225 * java/awt/MenuComponent.java (accessibleContext): Make package
6227 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6228 AccessibleAWTCheckboxMenuItem): Implement.
6230 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6232 * java/awt/List.java: Implement AccessibleAWTList,
6233 AccessibleAWTListChild.
6235 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6237 * java/awt/Choice.java: Add implements declaration for
6240 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6242 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6245 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6247 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6248 implemented interface list.
6250 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6252 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6253 * javax/imageio/metadata/IIOAttr.java: New class.
6254 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6255 * javax/imageio/metadata/IIONodeList.java: New class.
6256 * Makefile.am: Added new files.
6257 * Makefile.in: Regenerated.
6259 2005-02-15 Michael Koch <konqueror@gmx.de>
6261 * javax/swing/AbstractAction.java,
6262 javax/swing/AbstractCellEditor.java,
6263 javax/swing/AbstractListModel.java,
6264 javax/swing/DefaultBoundedRangeModel.java,
6265 javax/swing/DefaultButtonModel.java,
6266 javax/swing/DefaultCellEditor.java,
6267 javax/swing/DefaultComboBoxModel.java,
6268 javax/swing/DefaultDesktopManager.java,
6269 javax/swing/JMenu.java,
6270 javax/swing/JSlider.java,
6271 javax/swing/KeyStroke.java,
6272 javax/swing/OverlayLayout.java,
6273 javax/swing/ScrollPaneLayout.java,
6274 javax/swing/SizeRequirements.java,
6275 javax/swing/ViewportLayout.java:
6276 Made serialVersionUID private.
6278 2005-02-15 Michael Koch <konqueror@gmx.de>
6280 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6283 2005-02-15 Michael Koch <konqueror@gmx.de>
6285 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6287 2005-02-15 Michael Koch <konqueror@gmx.de>
6289 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6291 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6293 * java/awt/EventDispatchThread.java,
6294 java/awt/Toolkit.java:
6295 Don't catch java.lang.ThreadDeath.
6297 2005-02-15 Michael Koch <konqueror@gmx.de>
6299 * javax/swing/text/PasswordView.java
6300 (drawEchoCharacter): Added javadoc.
6301 (drawSelectedText): Likewise.
6302 (drawUnselectedText): Likewise.
6304 2005-02-15 Michael Koch <konqueror@gmx.de>
6306 * javax/swing/JRootPane.java
6307 (windowDecorationStyle): New field.
6308 (setMenuBar): New method.
6309 (getMenuBar): Likewise.
6310 (getWindowDecorationStyle): Likewise.
6311 (setWindowDecorationStyle): Likewise.
6313 2005-02-15 Michael Koch <konqueror@gmx.de>
6315 * javax/swing/DefaultListSelectionModel.java
6316 (leadAnchorNotificationEnabled): Made protected.
6318 2005-02-15 Michael Koch <konqueror@gmx.de>
6320 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6321 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6322 * Makefile.in: Regenerated.
6325 2005-02-15 Michael Koch <konqueror@gmx.de>
6327 * javax/swing/JFormattedTextField.java: Implemented.
6328 * javax/swing/JWindow.java
6329 (JWindow): New constructors.
6330 (initWindow): Renamed from initFrame.
6331 * javax/swing/UIDefaults.java
6332 (ActiveValue): Made interface static.
6333 (LazyValue): Likewise.
6334 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6335 (TitlePaneLayout.TitlePaneLayout): New constructor.
6336 * javax/swing/plaf/basic/BasicSliderUI.java
6337 (ChangeHandler): Made public.
6338 (FocusHandler): Likewise.
6339 (PropertyChangeHandler): Likewise.
6340 (ScrollListener): Likewise.
6341 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6342 (FocusHandler): Likewise.
6343 (MouseHandler): Likewise.
6344 * javax/swing/plaf/basic/BasicTextPaneUI.java
6345 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6346 * javax/swing/plaf/basic/BasicToolBarUI.java
6347 (BasicToolBarUI): Simplified. Reworked javadoc.
6348 (canDock): Simplified. Make public.
6349 (DockingListener): Made public.
6350 * javax/swing/text/JTextComponent.java
6351 (navigationFilter): New field.
6352 (getNavigationFilter): New method.
6353 (setNavigationFilter): Likewise.
6355 2005-02-15 Michael Koch <konqueror@gmx.de>
6357 * javax/swing/plaf/metal/MetalTheme.java
6358 (getControlTextColor): Return getControlInfo().
6359 (getHighlightedTextColor): Return getControlTextColor().
6361 2005-02-15 Michael Koch <konqueror@gmx.de>
6363 * javax/swing/plaf/basic/BasicButtonListener.java
6364 (BasicButtonListener): New constructor.
6365 * javax/swing/plaf/basic/BasicButtonUI.java
6366 (createButtonListener): Usw new BasicButtonListener constructor.
6368 2005-02-15 Michael Koch <konqueror@gmx.de>
6370 * javax/imageio/event/package.html,
6371 javax/imageio/metadata/package.html: New files.
6373 2005-02-15 Michael Koch <konqueror@gmx.de>
6375 * java/awt/image/MemoryImageSource.java: Reformatted.
6377 2005-02-15 Michael Koch <konqueror@gmx.de>
6379 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6381 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6383 * java/awt/color/ICC_Profile.java
6384 (finalize): Removed pointless field assignments.
6386 2005-02-15 Michael Koch <konqueror@gmx.de>
6388 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6389 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6390 * Makefile.in: Regenerated.
6392 2005-02-15 Michael Koch <konqueror@gmx.de>
6394 * javax/swing/text/DefaultStyledDocument.java: New file.
6395 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6396 * Makefile.in: Regenerated.
6398 2005-02-15 Michael Koch <konqueror@gmx.de>
6400 * javax/swing/JFileChooser.java
6401 (showDialog): Return CANCEL_OPTION for now.
6402 (showOpenDialog): Likewise.
6403 (showSaveDialog): Likewise.
6405 2005-02-15 Michael Koch <konqueror@gmx.de>
6407 * javax/swing/JApplet.java
6408 (HIDE_ON_CLOSE): Removed.
6409 (EXIT_ON_CLOSE): Likewise.
6410 (DISPOSE_ON_CLOSE): Likewise.
6411 (DO_NOTHING_ON_CLOSE): Likewise.
6412 (close_action): Likewise.
6413 (getDefaultCloseOperation): Likewise.
6414 (setDefaultCloseOperation): Likewise.
6415 (processWindowEvent): Likewise.
6416 (getPreferredSize): Simplified.
6417 * javax/swing/JInternalFrame.java
6418 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6420 * javax/swing/JWindow.java
6421 (HIDE_ON_CLOSE): Removed.
6422 (EXIT_ON_CLOSE): Likewise.
6423 (DISPOSE_ON_CLOSE): Likewise.
6424 (DO_NOTHING_ON_CLOSE): Likewise.
6425 (close_action): Likewise.
6426 (processKeyEvent): Likewise.
6427 (setDefaultCloseOperation): Likewise.
6428 (getPreferredSize): Simplified.
6430 2005-02-15 Michael Koch <konqueror@gmx.de>
6432 * javax/swing/JTextField.java
6433 (getPreferredSize): Re-implemented.
6435 2005-02-15 Michael Koch <konqueror@gmx.de>
6437 * javax/swing/JLabel.java
6438 (setDisplayedMnemonic): Use only upper case characters.
6439 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6440 PropertyChangeEvent after property got set to the new index.
6442 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6444 * javax/swing/JComboBox.java:
6445 (JComboBox): Removed selection of the
6446 first item in the model.
6448 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6450 * javax/swing/JComboBox.java
6451 added support for no item being selected
6452 (JComboBox): select first or nothing depending on element count
6453 (setModel): cleaned up unneeded "this." usage, added more
6454 docs, made exception behavior match that of the JDK
6455 (setLighWeightPopupEnabled): removed unneeded "this." usage
6457 (setMaximumRowCount): dito
6459 (setPrototypeDisplayValue): dito
6460 (getSelectedItem): simplified, added more user doc
6461 (setSelectedIndex): corrected exception behavior, added more user doc
6462 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6463 added performance warning to user doc
6464 (addItem): fixed exception behavior, added user doc
6465 (insertItemAt): dito
6467 (removeItemAt): dito
6468 (removeAll): fixed exception behavior, added user doc, added support
6469 for model not being instance of DefaultComboBoxModel
6470 (getSelectedItemObjects): simplified
6471 (getItemCount): fixed dependency on DefaultComboBoxModel
6472 (getItemAt): fixed dependency on MutableComboBoxModel
6473 * javax/swing/DefaultComboBoxModel.java:
6474 (setSelectedItem): updates selected item only if new
6475 value is null or known (match JDK behavior)
6476 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6477 (paintCurrentValue): renders "" if no item is selected
6479 2005-02-15 Michael Koch <konqueror@gmx.de>
6481 * javax/swing/plaf/metal/MetalTheme.java,
6482 javax/swing/plaf/metal/DefaultMetalTheme.java:
6484 * javax/swing/plaf/metal/MetalLookAndFeel.java
6485 * Makefile.am: Added the new files.
6486 * Makefile.in: Regenerated.
6488 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6490 * javax/swing/JTable.java
6491 (editorComp): New field.
6492 (JTable): Initialize local variables and call updateUI
6493 (selectionBackground): Make protected.
6494 (selectionForeground): Likewise.
6495 (initializeLocalVars): Create default editors and renderers,
6496 initialize editingColumn, editingRow variables.
6497 (createDefaultEditors): New Method.
6498 (createDefaultRenderers): Likewise.
6499 (createDefaultListSelectionModel): Removed
6500 (createDefaultSelectionModel): New Method.
6501 (createDefaultTableHeader): Likewise
6502 (removeColumn): Likewise.
6503 (getEditingColumn): Likewise.
6504 (setEditingColumn): Likewise.
6505 (getEditingRow): Likewise.
6506 (setEditingRow): Likewise.
6507 (getEditorComponent): Likewise.
6508 (isEditing): Likewise.
6509 (setDefaultEditor): Likewise.
6510 (addColumnSelectionInterval): Likewise.
6511 (addRowSelectionInterval): Likewise.
6512 (setColumnSelectionInterval): Likewise.
6513 (setRowSelectionInterval): Likewise.
6514 (removeColumnSelectionInterval): Likewise.
6515 (removeRowSelectionInterval): Likewise.
6516 (isColumnSelected): Likewise.
6517 (isRowSelected): Likewise.
6518 (isCellSelected): Likewise.
6519 (selectAll): Likewise.
6521 2005-02-15 Michael Koch <konqueror@gmx.de>
6523 * javax/swing/JTable.java
6524 (addColumn): New method.
6525 (getColumnClass): Likewise.
6526 (getColumnName): Likewise.
6528 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6530 * javax/swing/TransferHandler.java
6531 (createTransferable): Made protected.
6533 2005-02-15 Michael Koch <konqueror@gmx.de>
6535 * javax/swing/JTable.java,
6536 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6537 javax/swing/plaf/basic/BasicTableUI.java:
6538 Use fixed get/setIntercellSpacing() methods.
6540 2005-02-15 Michael Koch <konqueror@gmx.de>
6542 * javax/swing/JTable.java
6543 (getIntercellSpacing): Fixed typo in method name.
6544 (setIntercellSpacing): Likewise.
6546 2005-02-15 Michael Koch <konqueror@gmx.de>
6548 * javax/swing/text/JTextComponent.java
6549 (focusAccelerator): New variable.
6550 (getFocusAccelerator): New method.
6551 (setFocusAccelerator): Likewise.
6553 2005-02-15 Michael Koch <konqueror@gmx.de>
6555 * javax/swing/JComponent.java
6556 (setTransferHandler): Made public. Fire property change event.
6557 * javax/swing/TransferHandler.java: Implemented.
6558 * javax/swing/text/JTextComponent.java
6559 (DefaultTransferHandler): New inner class.
6560 (defaultTransferHandler): New variable.
6564 (doTransferAction): Likewise.
6566 2005-02-15 Michael Koch <konqueror@gmx.de>
6568 * javax/swing/JTree.java
6569 (collapsePath): New method.
6570 (collapseRow): Likewise.
6571 (expandPath): Likewise.
6572 (expandRow): Likewise.
6573 (checkExpandParents): Likewise.
6574 (doExpandParents): Likewise.
6575 (setExpandedState): Likewise.
6576 (makeVisible): Likewise.
6578 2005-02-15 Michael Koch <konqueror@gmx.de>
6580 * javax/swing/JPasswordField.java: Updated javadocs.
6582 2005-02-15 Michael Koch <konqueror@gmx.de>
6584 * javax/swing/JLayeredPane.java
6585 (getLayer): Fixed return type, made public.
6586 (getPosition): Use new getLayer().
6587 (SetPosition): Likewise.
6588 (getIndexOf): Likewise.
6590 * javax/swing/JInternalFrame.java
6591 (getLayer): Use new JLayeredPane.getLayer().
6594 2005-02-15 Michael Koch <konqueror@gmx.de>
6596 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6597 (setHeaderValue): Simplified. Do nothing when old value == new value.
6599 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6601 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6602 against null clip region.
6603 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6604 gtkWindowSetResizable.
6605 (postConfigureEvent): Only revalidate if frame size has changed.
6606 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6607 Only revalidate if frame size has changed.
6608 * java/awt/Component.java (reshape): Only repaint and post
6609 component events if component is showing.
6610 * java/awt/Container.java (addImpl): Only post container event if
6611 container is showing.
6613 * java/awt/Window.java (setLocationRelativeTo): Implement.
6614 (setBoundsCallback): Only post component events if component is
6616 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6617 Protect against null graphics structure. Flush gdk event queue.
6619 2005-02-15 Michael Koch <konqueror@gmx.de>
6621 * javax/imageio/ImageReader.java,
6622 javax/imageio/ImageTranscoder.java,
6623 javax/imageio/ImageWriter.java,
6624 javax/imageio/spi/ImageInputStreamSpi.java,
6625 javax/imageio/spi/ImageOutputStreamSpi.java,
6626 javax/imageio/spi/ServiceRegistry.java,
6627 javax/imageio/stream/ImageInputStream.java,
6628 javax/imageio/stream/ImageOutputStream.java: Updated.
6629 * javax/imageio/IIOException.java,
6630 javax/imageio/IIOImage.java,
6631 javax/imageio/IIOParam.java,
6632 javax/imageio/IIOParamController.java,
6633 javax/imageio/ImageIO.java,
6634 javax/imageio/ImageReadParam.java,
6635 javax/imageio/ImageTypeSpecifier.java,
6636 javax/imageio/ImageWriteParam.java,
6637 javax/imageio/spi/IIORegistry.java,
6638 javax/imageio/spi/ImageReaderSpi.java,
6639 javax/imageio/spi/ImageWriterSpi.java,
6640 javax/imageio/stream/FileCacheImageInputStream.java,
6641 javax/imageio/stream/FileCacheImageOutputStream.java,
6642 javax/imageio/stream/FileImageInputStream.java,
6643 javax/imageio/stream/FileImageOutputStream.java,
6644 javax/imageio/stream/ImageInputStreamImpl.java,
6645 javax/imageio/stream/ImageOutputStreamImpl.java,
6646 javax/imageio/stream/MemoryCacheImageInputStream.java,
6647 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6648 javax/imageio/event/IIOReadProgressListener.java,
6649 javax/imageio/event/IIOReadUpdateListener.java,
6650 javax/imageio/event/IIOReadWarningListener.java,
6651 javax/imageio/event/IIOWriteProgressListener.java,
6652 javax/imageio/event/IIOWriteWarningListener.java,
6653 javax/imageio/metadata/IIOMetadata.java,
6654 javax/imageio/metadata/IIOMetadataController.java,
6655 javax/imageio/metadata/IIOMetadataFormat.java,
6656 javax/imageio/metadata/IIOInvalidTreeException.java,
6657 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6658 javax/imageio/metadata/IIOMetadataNode.java: New files.
6659 * Makefile.am (javax_source_files): Added new files
6660 * Makefile.in: Regenerated.
6662 2005-02-15 Graydon Hoare <graydon@redhat.com>
6664 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6665 Rework painting into BufferedImages
6666 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6667 Construct BufferedImage with alpha only when alpha is
6668 present in colormodel.
6669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6670 Rework painting into client-side jint arrays.
6671 * jni/gtk-peer/gtkcairopeer.h:
6674 2005-02-15 Michael Koch <konqueror@gmx.de>
6676 * javax/swing/DefaultListCellRenderer.java
6677 (serialVersionUID): Made private.
6678 (getListCellRendererComponent): Set horizontal alignment.
6679 * javax/swing/JLabel.java
6680 (setVerticalAlignment): Re-implemented.
6681 (setHorizontalAlignment): Do nothing if old value = new value.
6682 * javax/swing/JList.java
6683 (setCellRenderer): Likewise.
6684 (setModel): Re-implemented.
6685 (setSelectionModel): Likewise.
6687 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6689 * java/awt/Component.java,
6690 java/awt/geom/Rectangle2D.java:
6693 2005-02-15 Michael Koch <konqueror@gmx.de>
6695 * javax/swing/AbstractListModel.java
6696 (fireContentsChanged): Simplified.
6697 (fireIntervalAdded): Likewise.
6698 (fireIntervalRemoved): Likewise.
6699 * javax/swing/DefaultSingleSelectionModel.java:
6701 (fireStateChanged): Simplified.
6702 * javax/swing/JPopupMenu.java
6703 (setSelectionModel): Set property.
6705 2005-02-15 Michael Koch <konqueror@gmx.de>
6707 * java/awt/print/Book.java: Reformatted.
6709 2005-02-15 Michael Koch <konqueror@gmx.de>
6711 * java/awt/geom/Area.java
6712 (QuadSegment.curveArea): Remove unused variables.
6713 (CubicSegment.curveArea): Likewise.
6715 2005-02-15 Michael Koch <konqueror@gmx.de>
6717 * javax/swing/JTree.java
6718 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6719 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6720 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6721 (EXPANDED): New constant.
6722 (COLLAPSED): Likewise.
6723 (nodeStates): New field.
6724 (cellEditor): New method.
6725 (cellRenderer): Likewise.
6726 (selectionModel): Likewise.
6727 (treeModel): Likewise.
6728 (scrollPathToVisible): Likewise.
6729 (scrollRowToVisible): Likewise.
6730 (isCollapsed): Likewise.
6731 (isExpanded): Likewise.
6732 (clearToggledPaths): Likewise.
6733 (getDescendantToggledPaths): Likewise.
6734 (hasBeenExpanded): Likewise.
6735 (isVisible): Likewise.
6736 (isPathEditable): Likewise.
6738 2005-02-15 Michael Koch <konqueror@gmx.de>
6740 * javax/swing/JLayeredPane.java: Reformatted.
6742 2005-02-15 Michael Koch <konqueror@gmx.de>
6744 * javax/swing/tree/DefaultMutableTreeNode.java:
6746 * javax/swing/tree/MutableTreeNode.java:
6749 2005-02-15 Michael Koch <konqueror@gmx.de>
6751 * javax/swing/JFormattedTextField.java
6752 (setDocument): Call setDocument of super class. Don't fire property
6755 2005-02-15 Sven de Marothy <sven@physto.se>
6757 * java/awt/image/IndexColorModel.java:
6758 Add FIXME with respect to alpha handling.
6759 (getAlpha): Default to returning opaque pixels.
6760 * java/awt/image/MultiPixelPackedSampleModel.java
6761 (MultiPixelPackedSampleModel): Corrected parameters, order of
6762 bit shifts and masks, stride length off by one.
6764 2005-02-15 Michael Koch <konqueror@gmx.de>
6766 * javax/swing/JList.java, javax/swing/JTree.java:
6767 Added much new methods and fixed much methods setting bound properties.
6769 2005-02-16 Mark Wielaard <mark@klomp.org>
6771 * Makefile.am (gnu_xml_source_files): Removed
6772 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6773 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6774 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6775 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6776 gnu/xml/dom/DomDocumentFragment.java,
6777 gnu/xml/dom/DomProcessingInstruction.java and
6778 gnu/xml/dom/ls/DomLSException.java.
6779 * Makefile.in: Regenerated.
6781 2005-02-16 Tom Tromey <tromey@redhat.com>
6783 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6784 attribute index is out of bounds.
6786 2005-02-16 Chris Burdess <dog@gnu.org>
6788 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6789 isDeclared methods. Improved performance of isSpecified methods.
6791 2005-02-16 Chris Burdess <dog@gnu.org>
6793 Fixes bug libgcj/19864
6794 * gnu/xml/dom/DomAttr.java,
6795 gnu/xml/dom/DomCDATA.java,
6796 gnu/xml/dom/DomCDATASection.java,
6797 gnu/xml/dom/DomCharacterData.java,
6798 gnu/xml/dom/DomDOMException.java,
6799 gnu/xml/dom/DomDoctype.java,
6800 gnu/xml/dom/DomDocument.java,
6801 gnu/xml/dom/DomDocumentConfiguration.java,
6802 gnu/xml/dom/DomDocumentFragment.java,
6803 gnu/xml/dom/DomElement.java,
6804 gnu/xml/dom/DomEx.java,
6805 gnu/xml/dom/DomFragment.java,
6806 gnu/xml/dom/DomImpl.java,
6807 gnu/xml/dom/DomIterator.java,
6808 gnu/xml/dom/DomNamedNodeMap.java,
6809 gnu/xml/dom/DomNode.java,
6810 gnu/xml/dom/DomNsNode.java,
6811 gnu/xml/dom/DomPI.java,
6812 gnu/xml/dom/DomProcessingInstruction.java,
6813 gnu/xml/dom/DomText.java,
6814 gnu/xml/dom/DomLSEx.java,
6815 gnu/xml/dom/DomLSException.java,
6816 gnu/xml/dom/DomLSParser.java,
6817 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6818 implementation class names to conform to Classpath guidelines. Make
6819 DomLSException use JDK 1.4+ exception chaining.
6820 * gnu/xml/util/SAXNullTransformerFactory.java,
6821 gnu/xml/xpath/Predicate.java: Use constants relative to
6822 declaring class or interface.
6824 2005-02-16 Andrew Haley <aph@redhat.com>
6826 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6827 null, create a new AccessControlContext.
6828 * java/security/SecureClassLoader.java (protectionDomainCache):
6830 (defineClass): Create a new protection domain and add it to our
6833 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6834 addStub() to keep track of the stub we've exported.
6835 (unexportObject): Call deleteStub().
6836 * java/rmi/server/RemoteObject.java (stubs): New field.
6837 (addStub): New method.
6838 (deleteStub): New method.
6841 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6842 true to findHelper (tryParents).
6843 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6845 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6846 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6848 If tryParents is false, don't scan parent class loaders.
6850 * java/security/Permissions.java (PermissionsHash.implies):
6851 Iterate over the collection and invoke implies() on each
6854 2005-02-16 Andrew Haley <aph@redhat.com>
6856 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6858 (PersistentByteMap): Set name
6859 Magic number changed to 0x67636a64 ("gcjd").
6860 (init): Force the map to be prime.
6861 (emptyPersistentByteMap): File name was a string, now a File.
6862 (addBytes): Share srings between entries.
6863 (stringTableSize): New method.
6864 (capacity): Scale by load factor.
6865 (force): New method.
6866 (getFile): New method.
6867 (close): New method.
6868 (putAll): New method.
6869 (ByteWrapper): New class.
6870 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6871 (main): Guess the average string size as 32, not 64.
6872 Copy a database before modifying it, so that we can update a
6873 database in a running system.
6874 If a database isn't big enough, resize it.
6875 "-m": new option: merges databases.
6876 "-a": Create a new detabase if it doesn't exist.
6877 (usage): Correct, add new option.
6878 (addJar): Copy a database before modifying it.
6879 (resizeMap): New method.
6881 2005-02-15 David Daney <ddaney@avtrex.com>
6882 Bryce McKinlay <mckinlay@redhat.com>
6884 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6885 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6886 ensure that GC threads inherit the new signal mask.
6887 (block_sigchld): Call JvFail rather than throwing exception if
6888 pthread_sigmask() fails.
6890 2005-02-15 Mark Wielaard <mark@klomp.org>
6892 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6893 file path elements are separated by spaces.
6895 2005-02-15 Mark Wielaard <mark@klomp.org>
6897 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6898 to describe attributes without a constant field value in this class.
6900 2005-02-15 Michael Koch <konqueror@gmx.de>
6902 * java/util/jar/Attributes.java
6903 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6905 2005-02-15 Mark Wielaard <mark@klomp.org>
6907 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6908 space for parsing CLASS_PATH attribute.
6910 2005-02-15 Mark Wielaard <mark@klomp.org>
6912 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6913 aside for "GCJLIBS" in directory where jarfiles are loaded.
6914 (JarURLLoader.getClass): Removed method.
6915 (JarURLLoader.toString): Removed method.
6916 (FileResource.toString): Removed method.
6918 2005-02-15 Mark Wielaard <mark@klomp.org>
6920 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6921 and/or cause before throwing.
6923 2005-02-15 Richard Henderson <rth@redhat.com>
6925 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6926 (libgcj0_convenience_la_SOURCES): ... here.
6927 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6928 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6929 * Makefile.in: Regenerate.
6931 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6934 * include/jawt.h: Likewise.
6935 * include/jawt_md.h: Likewise.
6936 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6938 * include/Makefile.in: Regenerate.
6939 * jni/classpath/classpath_jawt.h: Likewise.
6940 * jni/gtk-peer/gtk_jawt.c: Likewise.
6941 * Makefile.am: Build libjawt.so.
6942 * Makefile.in: Regenerate.
6944 2005-02-14 Tom Tromey <tromey@redhat.com>
6946 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6948 2005-02-14 Tom Tromey <tromey@redhat.com>
6950 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6951 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6953 2005-02-14 Tom Tromey <tromey@redhat.com>
6956 * testsuite/libjava.lang/PR19929.out: New file.
6957 * testsuite/libjava.lang/PR19929.java: New file.
6959 2005-02-14 Anthony Green <green@redhat.com>
6962 * testsuite/libjava.jni/PR18116.c: New file.
6963 * testsuite/libjava.jni/PR18116.java: New file.
6964 * testsuite/libjava.jni/PR18116.out: New file.
6966 2005-02-13 Anthony Green <green@redhat.com>
6969 * jni.cc (nathash_add): Don't strdup the method signature.
6970 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6974 2005-02-12 Mark Wielaard <mark@klomp.org>
6976 Fixes bug libgcj/8170
6977 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6978 ClassNotFoundException.
6979 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6980 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6981 (remove_internal): New field superceding remove_interpreter.
6982 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6983 Remove no-class methods starting with "_Jv_". And Replace null
6984 class or method names with the empty string. Stop at either the
6985 MainThread or a real Thread run() method.
6986 (newElement): Made static.
6987 * java/net/URLClassLoader.java (findClass): Throw
6988 ClassNotFoundExceptions including urls, plus parent using toString().
6989 (thisString): New field.
6990 (toString): New method.
6992 2005-02-10 Tom Tromey <tromey@redhat.com>
6994 * external/sax/Makefile.in: Rebuilt.
6995 * external/sax/Makefile.am (all-local): Removed.
6996 (BUILT_SOURCES): New variable.
6997 (mostlyclean-local): No error if no classes to delete.
6998 * external/w3c_dom/Makefile.in: Rebuilt.
6999 * external/w3c_dom/Makefile.am (all-local): Removed.
7000 (BUILT_SOURCES): New variable.
7001 (mostlyclean-local): No error if no classes to delete.
7003 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7005 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7006 of mauve and libjava.
7008 2005-02-09 Tom Tromey <tromey@redhat.com>
7010 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7011 jar file with OPEN_DELETE.
7012 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7013 OPEN_DELETE is used.
7015 2005-02-09 Tom Tromey <tromey@redhat.com>
7017 * java/util/zip/InflaterInputStream.java (markSupported):
7019 (mark, reset): Likewise.
7021 2005-02-08 Tom Tromey <tromey@redhat.com>
7023 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7024 name or port is missing.
7025 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7026 AUTHORITY_PORT_GROUP): Updated.
7028 2005-02-08 Tom Tromey <tromey@redhat.com>
7030 * configure: Rebuilt.
7031 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7034 2005-02-07 Tom Tromey <tromey@redhat.com>
7036 * java/lang/natRuntime.cc (insertSystemProperties): Set
7037 sun.boot.class.path earlier.
7039 2005-02-07 Tom Tromey <tromey@redhat.com>
7041 * defineclass.cc (handleClassBegin): Use
7042 _Jv_RegisterInitiatingLoader.
7043 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7044 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7045 class. Use _Jv_UnregisterInitiatingLoader.
7046 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7049 2005-02-07 Mark Wielaard <mark@klomp.org>
7051 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7052 java/util/regex/Matcher.java (lookingAt): Set position when match
7054 (matches): Implemented through lookingAt().
7056 2005-02-07 Mark Wielaard <mark@klomp.org>
7058 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7059 * java/util/regex/Pattern.java (split(CharSequence,int)):
7060 Fix while empties > 0 loops.
7062 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7064 * gnu/java/nio/charset/ISO_8859_1.java,
7065 gnu/java/nio/charset/US_ASCII.java,
7066 gnu/java/nio/charset/UTF_16.java,
7067 gnu/java/nio/charset/UTF_16_LE.java,
7068 gnu/java/nio/charset/UTF_16_BE.java,
7069 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7070 and aliases according to
7071 "http://www.iana.org/assignments/character-sets",
7072 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7073 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7074 * gnu/java/nio/charset/Provider.java: Made charset lookup
7075 case-insensitive which fixes bug #11740.
7077 2005-02-07 Tom Tromey <tromey@redhat.com>
7080 * Makefile.in: Rebuilt.
7081 * Makefile.am (src.zip): New target.
7082 (install-src.zip): Likewise.
7083 (sourcesdir): New variable.
7085 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7087 * javax/imageio/metadata/IIOMetadataNode.java:
7089 * javax/imageio/metadata/IIOAttr.java,
7090 javax/imageio/metadata/IIONamedNodeMap.java,
7091 javax/imageio/metadata/IIONodeList.java:
7094 2005-02-06 Graydon Hoare <graydon@redhat.com>
7096 * gnu/java/awt/ClasspathToolkit.java
7097 (registerImageIOSpis): New method.
7098 * javax/imageio/ImageIO.java
7099 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7100 (WriterMIMETypeFilter.filter): Likewise.
7101 (ImageReaderIterator): Pass extension argument through to SPI.
7102 (getReadersByFilter): Likewise.
7103 (getWritersByFilter): Likewise.
7104 (getImageReadersByFormatName): Likewise.
7105 (getImageReadersByMIMEType): Likewise.
7106 (getImageReadersBySuffix): Likewise.
7107 (getImageWritersByFormatName): Likewise.
7108 (getImageWritersByMIMEType): Likewise.
7109 (getImageWritersBySuffix): Likewise.
7112 * javax/imageio/ImageReader.java
7113 (progressListeners): Initialize.
7114 (setInput): Implement.
7115 * javax/imageio/ImageWriter.java
7116 (progressListeners): Initialize.
7117 (warningListeners): Likewise.
7118 (warningLocales): Likewise.
7119 (setOutput): Test "isInstance" rather than class equality.
7120 * javax/imageio/spi/IIORegistry.java
7121 (static): Add reader and writer SPIs.
7122 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7124 2005-02-06 Michael Koch <konqueror@gmx.de>
7126 * javax/imageio/metadata/IIOInvalidTreeException.java
7127 (IIOInvalidTreeException): Reformatted.
7128 * javax/imageio/spi/IIORegistry.java
7129 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7130 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7131 Reworked import statements.
7133 2005-02-06 Michael Koch <konqueror@gmx.de>
7135 * javax/imageio/stream/FileImageOutputStream.java:
7138 2005-02-06 Michael Koch <konqueror@gmx.de>
7140 * javax/imageio/stream/FileCacheImageInputStream.java,
7141 javax/imageio/stream/FileCacheImageOutputStream.java,
7142 javax/imageio/stream/FileImageInputStream.java,
7143 javax/imageio/stream/ImageInputStreamImpl.java,
7144 javax/imageio/stream/ImageOutputStreamImpl.java,
7145 javax/imageio/stream/MemoryCacheImageInputStream.java,
7146 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7147 Added all missing methods in javax.imageio.stream.
7149 2005-02-02 David Daney <ddaney@avtrex.com>
7151 * java/net/InetAddress.java (InetAddress): Make a private copy of
7153 * java/net/Inet4Address.java (getAddress): Return a copy of the
7155 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7157 (getAddress): Return a copy of the address.
7160 2005-02-02 Tom Tromey <tromey@redhat.com>
7162 * Makefile.in: Rebuilt.
7163 * Makefile.am (classes.stamp): New target, broken out from
7165 ($(all_java_class_files)): Depend on it.
7166 (libgcj-@gcc_version@.jar): Likewise.
7167 (all-recursive): Likewise.
7168 (CLEANFILES): Include classes.stamp.
7170 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7172 * link.cc: Include <stdio.h>
7174 2005-02-02 Tom Tromey <tromey@redhat.com>
7177 * Makefile.in: Rebuilt.
7178 * Makefile.am (ordinary_java_source_files): Added new class.
7179 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7180 Use system_instance, not instance.
7181 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7182 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7184 (system_instance): New field.
7185 (initialize): Initialize the system loader as well.
7186 (VMClassLoader): Default to LIB_CACHE.
7188 2005-02-02 Tom Tromey <tromey@redhat.com>
7190 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7191 * prims.cc: Fixed comment.
7193 2005-02-01 Tom Tromey <tromey@redhat.com>
7195 * Makefile.in: Rebuilt.
7196 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7197 (.java.class): Use BOOTCLASSPATH.
7199 2005-02-01 Tom Tromey <tromey@redhat.com>
7201 * external/w3c_dom/Makefile.am: New file.
7202 * external/w3c_dom/Makefile.in: New file.
7203 * external/sax/Makefile.am: New file.
7204 * external/sax/Makefile.in: New file.
7205 * external/Makefile.in: New file.
7206 * external/Makefile.am: New file.
7207 * external/README: New file from Classpath.
7208 * configure, aclocal.m4, Makefile.in: Rebuilt.
7209 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7210 * Makefile.am (SUBDIRS): Added external.
7211 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7212 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7213 (BOOTCLASSPATH): New variable.
7214 (AM_GCJFLAGS): Use it.
7215 (gnu_xml_source_files): New variable.
7216 (libgcj_la_SOURCES): Use it.
7217 (libgcj_la_LDADD): Include new convenience libraries.
7218 (lib_org_ietf_jgss_la_SOURCES): Removed.
7219 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7220 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7221 (lib_org_w3c_dom_la_SOURCES): Removed.
7222 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7223 (lib_org_w3c_dom_la_LIBADD): Likewise.
7224 (lib_org_xml_sax_la_SOURCES): Removed.
7225 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7226 (lib_org_xml_sax_la_LIBADD): Likewise.
7227 (all_java_source_files): Updated.
7228 (property_files): Likewise.
7229 (libgcj-@gcc_version@.jar): Include classes from external/.
7230 (javax_source_files): Updated.
7231 (ordinary_java_source_files): Updated.
7232 * javax/xml/XMLConstants.java,
7233 javax/xml/datatype/DatatypeConfigurationException.java,
7234 javax/xml/datatype/DatatypeConstants.java,
7235 javax/xml/datatype/DatatypeFactory.java,
7236 javax/xml/datatype/Duration.java,
7237 javax/xml/datatype/XMLGregorianCalendar.java,
7238 javax/xml/datatype/package.html,
7239 javax/xml/namespace/NamespaceContext.java,
7240 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7241 javax/xml/parsers/DocumentBuilder.java,
7242 javax/xml/parsers/DocumentBuilderFactory.java,
7243 javax/xml/parsers/FactoryConfigurationError.java,
7244 javax/xml/parsers/ParserConfigurationException.java,
7245 javax/xml/parsers/SAXParser.java,
7246 javax/xml/parsers/SAXParserFactory.java,
7247 javax/xml/parsers/package.html,
7248 javax/xml/transform/ErrorListener.java,
7249 javax/xml/transform/OutputKeys.java,
7250 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7251 javax/xml/transform/SourceLocator.java,
7252 javax/xml/transform/Templates.java,
7253 javax/xml/transform/Transformer.java,
7254 javax/xml/transform/TransformerConfigurationException.java,
7255 javax/xml/transform/TransformerException.java,
7256 javax/xml/transform/TransformerFactory.java,
7257 javax/xml/transform/TransformerFactoryConfigurationError.java,
7258 javax/xml/transform/URIResolver.java,
7259 javax/xml/transform/package.html,
7260 javax/xml/transform/dom/DOMLocator.java,
7261 javax/xml/transform/dom/DOMResult.java,
7262 javax/xml/transform/dom/DOMSource.java,
7263 javax/xml/transform/dom/package.html,
7264 javax/xml/transform/sax/SAXResult.java,
7265 javax/xml/transform/sax/SAXSource.java,
7266 javax/xml/transform/sax/SAXTransformerFactory.java,
7267 javax/xml/transform/sax/TemplatesHandler.java,
7268 javax/xml/transform/sax/TransformerHandler.java,
7269 javax/xml/transform/sax/package.html,
7270 javax/xml/transform/stream/StreamResult.java,
7271 javax/xml/transform/stream/StreamSource.java,
7272 javax/xml/transform/stream/package.html,
7273 javax/xml/validation/Schema.java,
7274 javax/xml/validation/SchemaFactory.java,
7275 javax/xml/validation/TypeInfoProvider.java,
7276 javax/xml/validation/Validator.java,
7277 javax/xml/validation/ValidatorHandler.java,
7278 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7279 javax/xml/xpath/XPathConstants.java,
7280 javax/xml/xpath/XPathException.java,
7281 javax/xml/xpath/XPathExpression.java,
7282 javax/xml/xpath/XPathExpressionException.java,
7283 javax/xml/xpath/XPathFactory.java,
7284 javax/xml/xpath/XPathFactoryConfigurationException.java,
7285 javax/xml/xpath/XPathFunction.java,
7286 javax/xml/xpath/XPathFunctionException.java,
7287 javax/xml/xpath/XPathFunctionResolver.java,
7288 javax/xml/xpath/XPathVariableResolver.java,
7289 javax/xml/xpath/package.html: New files, from GNU JAXP.
7290 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7291 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7292 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7293 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7294 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7295 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7296 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7297 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7298 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7299 org/w3c/dom/ranges/DocumentRange.java,
7300 org/w3c/dom/ranges/Range.java,
7301 org/w3c/dom/ranges/RangeException.java,
7302 org/w3c/dom/traversal/DocumentTraversal.java,
7303 org/w3c/dom/traversal/NodeFilter.java,
7304 org/w3c/dom/traversal/NodeIterator.java,
7305 org/w3c/dom/traversal/TreeWalker.java,
7306 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7307 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7308 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7309 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7310 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7311 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7312 org/xml/sax/SAXNotRecognizedException.java,
7313 org/xml/sax/SAXNotSupportedException.java,
7314 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7315 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7316 org/xml/sax/ext/DeclHandler.java,
7317 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7318 org/xml/sax/helpers/AttributeListImpl.java,
7319 org/xml/sax/helpers/AttributesImpl.java,
7320 org/xml/sax/helpers/DefaultHandler.java,
7321 org/xml/sax/helpers/LocatorImpl.java,
7322 org/xml/sax/helpers/NamespaceSupport.java,
7323 org/xml/sax/helpers/NewInstance.java,
7324 org/xml/sax/helpers/ParserAdapter.java,
7325 org/xml/sax/helpers/ParserFactory.java,
7326 org/xml/sax/helpers/XMLFilterImpl.java,
7327 org/xml/sax/helpers/XMLReaderAdapter.java,
7328 org/xml/sax/helpers/XMLReaderFactory.java,
7329 org/xml/sax/helpers/package.html: Moved to external/.
7330 * external/sax/README,
7331 external/sax/org/xml/sax/AttributeList.java,
7332 external/sax/org/xml/sax/Attributes.java,
7333 external/sax/org/xml/sax/ContentHandler.java,
7334 external/sax/org/xml/sax/DTDHandler.java,
7335 external/sax/org/xml/sax/DocumentHandler.java,
7336 external/sax/org/xml/sax/EntityResolver.java,
7337 external/sax/org/xml/sax/ErrorHandler.java,
7338 external/sax/org/xml/sax/HandlerBase.java,
7339 external/sax/org/xml/sax/InputSource.java,
7340 external/sax/org/xml/sax/Locator.java,
7341 external/sax/org/xml/sax/Parser.java,
7342 external/sax/org/xml/sax/SAXException.java,
7343 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7344 external/sax/org/xml/sax/SAXNotSupportedException.java,
7345 external/sax/org/xml/sax/SAXParseException.java,
7346 external/sax/org/xml/sax/XMLFilter.java,
7347 external/sax/org/xml/sax/XMLReader.java,
7348 external/sax/org/xml/sax/package.html,
7349 external/sax/org/xml/sax/ext/Attributes2.java,
7350 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7351 external/sax/org/xml/sax/ext/DeclHandler.java,
7352 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7353 external/sax/org/xml/sax/ext/EntityResolver2.java,
7354 external/sax/org/xml/sax/ext/LexicalHandler.java,
7355 external/sax/org/xml/sax/ext/Locator2.java,
7356 external/sax/org/xml/sax/ext/Locator2Impl.java,
7357 external/sax/org/xml/sax/ext/package.html,
7358 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7359 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7360 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7361 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7362 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7363 external/sax/org/xml/sax/helpers/NewInstance.java,
7364 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7365 external/sax/org/xml/sax/helpers/ParserFactory.java,
7366 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7367 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7368 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7369 external/sax/org/xml/sax/helpers/package.html,
7370 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7371 external/w3c_dom/org/w3c/dom/Attr.java,
7372 external/w3c_dom/org/w3c/dom/CDATASection.java,
7373 external/w3c_dom/org/w3c/dom/CharacterData.java,
7374 external/w3c_dom/org/w3c/dom/Comment.java,
7375 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7376 external/w3c_dom/org/w3c/dom/DOMError.java,
7377 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7378 external/w3c_dom/org/w3c/dom/DOMException.java,
7379 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7380 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7381 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7382 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7383 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7384 external/w3c_dom/org/w3c/dom/Document.java,
7385 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7386 external/w3c_dom/org/w3c/dom/DocumentType.java,
7387 external/w3c_dom/org/w3c/dom/Element.java,
7388 external/w3c_dom/org/w3c/dom/Entity.java,
7389 external/w3c_dom/org/w3c/dom/EntityReference.java,
7390 external/w3c_dom/org/w3c/dom/NameList.java,
7391 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7392 external/w3c_dom/org/w3c/dom/Node.java,
7393 external/w3c_dom/org/w3c/dom/NodeList.java,
7394 external/w3c_dom/org/w3c/dom/Notation.java,
7395 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7396 external/w3c_dom/org/w3c/dom/Text.java,
7397 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7398 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7399 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7400 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7401 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7402 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7403 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7404 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7405 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7406 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7407 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7408 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7409 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7410 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7411 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7412 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7413 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7414 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7415 external/w3c_dom/org/w3c/dom/css/Counter.java,
7416 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7417 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7418 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7419 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7420 external/w3c_dom/org/w3c/dom/css/Rect.java,
7421 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7422 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7423 external/w3c_dom/org/w3c/dom/events/Event.java,
7424 external/w3c_dom/org/w3c/dom/events/EventException.java,
7425 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7426 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7427 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7428 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7429 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7430 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7431 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7432 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7433 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7434 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7435 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7436 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7437 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7438 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7439 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7440 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7441 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7442 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7443 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7444 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7445 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7446 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7447 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7448 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7449 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7450 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7451 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7452 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7453 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7454 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7455 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7456 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7457 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7458 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7459 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7460 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7461 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7462 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7463 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7464 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7465 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7466 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7467 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7468 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7469 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7470 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7471 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7472 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7473 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7474 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7475 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7476 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7477 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7478 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7479 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7480 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7481 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7482 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7483 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7484 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7485 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7486 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7487 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7488 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7489 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7490 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7491 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7492 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7493 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7494 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7495 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7496 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7497 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7498 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7499 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7500 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7501 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7502 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7503 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7504 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7505 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7506 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7507 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7508 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7509 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7510 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7511 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7512 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7513 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7514 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7515 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7516 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7519 2005-01-31 Anthony Green <green@redhat.com>
7521 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7522 Support IP_MULTICAST_LOOP.
7523 (setOption): Support IP_MULTICAST_LOOP.
7525 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7526 SO_REUSEADDR support.
7527 (getOption): Support SO_REUSEADDR.
7529 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7532 * java/util/Date.java
7533 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7535 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7537 (getTimezoneOffset): Inverted sign.
7539 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7541 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7542 remove other passing tests and add new XFAILs.
7544 2005-01-24 Tom Tromey <tromey@redhat.com>
7546 * java/lang/Class.h (next): Updated documentation. Renamed to
7548 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7549 _Jv_CheckABIVersion.
7550 (_Jv_RegisterClasses_Counted): Likewise.
7551 (_Jv_RegisterClassHookDefault): Fix starting condition of
7552 duplicate-checking loop.
7553 * include/jvm.h (GCJ_VERSION): New define.
7554 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7555 (_Jv_CheckABIVersion): New function.
7557 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7559 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7560 (libgij_la_LDFLAGS): Add.
7561 * Makefile.in: Rebuilt.
7563 2005-01-24 Roger Sayle <roger@eyesopen.com>
7566 * testsuite/libjava.compile/PR19295.java: New test case.
7568 2005-01-19 Tom Tromey <tromey@redhat.com>
7570 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7571 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7572 if 'handler' is valid.
7574 2005-01-17 Tom Tromey <tromey@redhat.com>
7576 * java/text/MessageFormat.java (scanString): Changed how quoting
7578 (scanFormatElement): Likewise.
7580 2004-12-07 Mark Wielaard <mark@klomp.org>
7582 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7584 2005-01-15 Michael Koch <konqueror@gmx.de>
7588 (AUTHORITY_REGEXP): New regexp constant.
7589 (AUTHORITY_USERINFO_GROUP): New constant.
7590 (AUTHORITY_HOST_GROUP): Likewise.
7591 (AUTHORITY_PORT_GROUP): Likewise.
7592 (port): Changed default value to -1.
7593 (parseURI): Parse authority part and initialize host,
7596 2005-01-14 Robin Green <greenrd@greenrd.org>
7598 * java/io/File.java (toURI): Generate a URI which we understand.
7600 2005-01-13 Graydon Hoare <graydon@redhat.com>
7602 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7603 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7604 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7605 * jni.cc: Reuse bottom frame between calls, avoid clearing
7606 frame when no local references are made.
7608 2005-01-13 Michael Koch <konqueror@gmx.de>
7611 * java/lang/Thread.java
7612 (Thread): Call checkAccess().
7613 (stop): Fixed argument name to match javadoc.
7614 * java/lang/natThread.cc
7615 (interrupt): Call checkAccess().
7618 2005-01-11 Michael Koch <konqueror@gmx.de>
7621 * java/net/URL.java (URL): Handle specs like
7622 "/redir?http://domain2.com/index.html" which start with a slash.
7624 2005-01-11 Michael Koch <konqueror@gmx.de>
7626 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7627 * gnu/java/net/BASE64.java,
7628 gnu/java/net/EmptyX509TrustManager.java,
7629 gnu/java/net/LineInputStream.java,
7630 gnu/java/net/protocol/http/Authenticator.java,
7631 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7632 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7633 gnu/java/net/protocol/http/ChunkedInputStream.java,
7634 gnu/java/net/protocol/http/Cookie.java,
7635 gnu/java/net/protocol/http/CookieManager.java,
7636 gnu/java/net/protocol/http/Credentials.java,
7637 gnu/java/net/protocol/http/HTTPConnection.java,
7638 gnu/java/net/protocol/http/HTTPDateFormat.java,
7639 gnu/java/net/protocol/http/HTTPURLConnection.java,
7640 gnu/java/net/protocol/http/Headers.java,
7641 gnu/java/net/protocol/http/Request.java,
7642 gnu/java/net/protocol/http/RequestBodyWriter.java,
7643 gnu/java/net/protocol/http/Response.java,
7644 gnu/java/net/protocol/http/ResponseBodyReader.java,
7645 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7646 gnu/java/net/protocol/http/SimpleCookieManager.java,
7647 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7648 gnu/java/net/protocol/http/event/ConnectionListener.java,
7649 gnu/java/net/protocol/http/event/RequestEvent.java,
7650 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7651 * gnu/java/net/protocol/http/Connection.java: Removed.
7652 * gnu/java/net/protocol/http/Handler.java,
7653 javax/net/ssl/HttpsURLConnection.java: Updated.
7654 * Makefile.am: Added new files and remove old ones.
7655 * Makefile.in: Regenerated.
7657 2005-01-11 Tom Tromey <tromey@redhat.com>
7660 * java/io/BufferedInputStream.java (read): Repeatedly read to
7662 (refill): Change test to see if buffer must be grown.
7664 2005-01-10 Tom Tromey <tromey@redhat.com>
7666 * mauve-libgcj: Exclude some swing tests.
7668 2005-01-10 Tom Tromey <tromey@redhat.com>
7670 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7671 * java/lang/Package.java (getPackages): Use VMClassLoader when
7673 (getPackage): Likewise.
7674 * prims.cc (_Jv_CreateJavaVM): Call
7675 _Jv_RegisterBootstrapPackages.
7676 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7677 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7678 (getPackages): Likewise.
7679 (definedPackages): New field.
7680 (definePackageForNative): New method.
7681 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7682 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7683 * defineclass.cc (handleClassBegin): Use
7684 ClassLoader.findLoadedClass.
7685 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7687 (struct _Jv_LoaderInfo): Removed.
7688 (initiated_classes): Likewise.
7689 (_Jv_UnregisterClass): Don't use initiated_classes.
7690 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7691 (_Jv_FindClass): Register classes found during boostrap.
7692 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7693 (bootstrap_class_list): New global.
7694 (bootstrap_index): Likewise.
7695 (_Jv_RegisterBootstrapPackages): New function.
7696 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7697 definePackageForNative.
7698 (findClass): Updated.
7699 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7702 2005-01-10 Tom Tromey <tromey@redhat.com>
7705 * include/jvm.h (_Jv_Linker::find_field): Declare.
7706 (_Jv_Linker::find_field_helper): Likewise.
7707 * link.cc (find_field_helper): New method.
7708 (find_field): Likewise.
7709 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7711 (link_symbol_table): Use find_field.
7713 2005-01-10 Michael Koch <konqueror@gmx.de>
7716 * java/util/Locale.java (Locale): Don't uppercase variant.
7717 (getISOCountries): Fixed typo in javadoc.
7719 2005-01-10 Michael Koch <konqueror@gmx.de>
7721 * java/util/SimpleTimeZone.java (checkRule):
7722 Throw IllegalArgumentException on invalid month values.
7723 * java/util/TimeZone.java (setID):
7724 Throw NullPointerException if needed.
7726 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7728 * java/util/SimpleTimeZone.java (getOffset):
7729 offset end date with daylight savings
7731 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7733 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7734 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7736 2005-01-09 Michael Koch <konqueror@gmx.de>
7739 * java/net/InetAddress.java (getLocalHost):
7740 Throw UnknownHostException if local hostname cannot be determined.
7742 2005-01-06 Tom Tromey <tromey@redhat.com>
7744 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7746 2005-01-07 Michael Koch <konqueror@gmx.de>
7749 * java/nio/Buffer.java (address): New field.
7750 * java/nio/DirectByteBufferImpl.java (address): Removed.
7751 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7752 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7753 Explicitly initialize Buffer.address if needed.
7754 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7755 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7756 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7757 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7758 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7759 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7760 DirectByteBufferImpl object.
7761 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7762 * testsuite/libjava.jni/directbuffer.c,
7763 testsuite/libjava.jni/directbuffer.java,
7764 testsuite/libjava.jni/directbuffer.out,
7765 testsuite/libjava.jni/bytebuffer.c,
7766 testsuite/libjava.jni/bytebuffer.java,
7767 testsuite/libjava.jni/bytebuffer.out: New files.
7769 2005-01-05 Tom Tromey <tromey@redhat.com>
7771 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7773 (compressedSize): Now 'long'. Default to -1.
7774 (getCompressedSize): Rewrote.
7775 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7776 deflate at all if we need input.
7778 2005-01-05 Tom Tromey <tromey@redhat.com>
7781 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7784 2005-01-05 Tom Tromey <tromey@redhat.com>
7786 * java/lang/natRuntime.cc (insertSystemProperties): Set
7787 java.ext.dirs earlier.
7789 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7791 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7792 sync_info element of the object if needed.
7794 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7796 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7797 a non-zero exit status from 'false'.
7799 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7801 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.