1 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
3 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
4 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
5 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
6 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
7 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
8 * Makefile.in: Regenerate.
10 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
12 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
13 (USING_POSIX_PLATFORM): ... here.
14 * Makefile.am: Delete USING_ECOS_PLATFORM.
15 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
16 external/Makefile.in, external/sax/Makefile.in,
17 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
19 2005-06-15 Tom Tromey <tromey@redhat.com>
22 * testsuite/libjava.lang/pr17536.java: New file.
23 * testsuite/libjava.lang/pr17536.out: New file.
25 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
28 * gnu/java/net/protocol/http/HTTPURLConnection.java
29 (getHeaderFieldKey): Check index.
31 2005-06-15 Tom Tromey <tromey@redhat.com>
34 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
36 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
37 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
39 (append_partial_itable): Use it.
40 (set_vtable_entries): Likewise.
42 2005-06-15 Tom Tromey <tromey@redhat.com>
44 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
47 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
49 * configure.host: Handle Solaris 10/x86.
51 2005-06-14 Keith Seitz <keiths@redhat.com>
53 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
54 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
56 2005-06-14 Keith Seitz <keiths@redhat.com>
58 * gnu/classpath/jdwp/id/ArrayId.java: New file.
59 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
60 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
61 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
62 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
63 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
64 * gnu/classpath/jdwp/id/JdwpId.java: New file.
65 * gnu/classpath/jdwp/id/ObjectId.java: New file.
66 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
67 * gnu/classpath/jdwp/id/StringId.java: New file.
68 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
69 * gnu/classpath/jdwp/id/ThreadId.java: New file.
71 2005-06-14 Tom Tromey <tromey@redhat.com>
74 * configure, aclocal.m4, Makefile.in: Rebuilt.
76 2005-06-14 Tom Tromey <tromey@redhat.com>
78 * java/lang/Class.java (getClasses): New method.
79 (internalGetClasses): Likewise.
80 (getClassLoader): Updated documentation.
81 (getDeclaredClasses): New overload; old overload no longer
83 (_getConstructors): Removed.
84 (resourcePath): Updated.
85 * java/lang/natClass.cc (getClasses): Removed.
86 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
88 (_getConstructors): Removed.
90 2005-06-13 Jim Huang <jserv@kaffe.org>
93 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
94 (_Jv_JNI_NewObject): Likewise.
96 2005-06-13 Tom Tromey <tromey@redhat.com>
99 * testsuite/libjava.lang/pr21844.java: New file.
100 * testsuite/libjava.lang/pr21844.out: New file.
102 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
105 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
108 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
110 * java/text/MessageFormat.java (parse): When parsing strings, check
111 for an empty pattern trailer.
113 2005-06-06 Keith Seitz <keiths@redhat.com>
115 * gnu/classpath/jdwp/util/Signature.java: New file.
116 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
118 2005-06-05 Anthony Green <green@redhat.com>
120 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
123 2005-06-04 Anthony Green <green@redhat.com>
125 * java/net/URLClassLoader.java: import gnu.gcj.Core,
126 and gnu.java.net.protocol.core.CoreInputStream.
127 (CureURLLoader): New class.
128 (CoreResource): New class.
129 (addURLImpl): Add special treatment for the "core" protocol.
130 * gnu/gcj/natCore.cc (find): New method.
131 * gnu/gcj/Core.java (find): New method.
133 2005-06-03 Keith Seitz <keiths@redhat.com>
135 * gnu/classpath/jdwp/transport/ITransport.java: New file.
136 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
137 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
139 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
141 * jawt.c: Remove malloc.h, covered by stdlib.h.
143 * testsuite/libjava.jni/jni.exp
144 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
147 2005-06-02 Keith Seitz <keiths@redhat.com>
149 * gnu/classpath/jdwp/transport/TransportException.java: New file.
151 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
153 * mauve-libgcj: Remove implemented classes from the fail section.
154 Add two new not implemented to it.
156 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
158 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
159 AC_SUBST definition from configure.host.
160 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
161 to -fomit-frame-pointer on 32-bit x86 targets.
163 2005-06-01 Tom Tromey <tromey@redhat.com>
165 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
167 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
170 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
171 (static): Add possessive matching to JAVA_1_4 syntax.
172 * gnu/regexp/RETokenRepeated.java (possessive): New field.
173 (makePossessive, isPossessive): New methods.
174 (match): Don't back off during possessive matching.
175 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
176 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
179 2005-06-01 Keith Seitz <keiths@redhat.com>
181 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
182 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
183 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
185 2005-06-01 Tom Tromey <tromey@redhat.com>
188 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
189 (currentLoader): New method.
190 * java/io/ObjectInputStream.java (resolveProxyClass): Use
192 (currentLoader): Now native.
193 (currentClassLoader): Removed.
194 * testsuite/libjava.lang/pr21785.java: New file.
195 * testsuite/libjava.lang/pr21785.out: New file.
197 2005-06-01 Tom Tromey <tromey@redhat.com>
200 * java/lang/natString.cc (substring): Changed sharing heuristic.
202 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
205 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
206 MAXPATHLEN. Format exception message using a StringBuffer instead.
208 2005-05-29 Michael Koch <konqueror@gmx.de>
211 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
213 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
215 * ChangeLog: Fix typo.
217 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
219 Testsuite adjustments for PR java/19870.
220 * testsuite/libjava.lang/PR19870.java: New testcase.
221 * testsuite/libjava.lang/PR19870.out: Expected output for the
223 * testsuite/libjava.jacks/jacks.xfail: Add
224 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
227 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
229 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
230 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
231 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
233 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
234 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
235 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
236 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
238 2005-05-25 Richard Henderson <rth@redhat.com>
241 * sysdep/descriptor-n.h: New file.
242 * sysdep/descriptor-y.h: New file.
243 * sysdep/powerpc/descriptor.h: New file.
244 * configure.host: Set $descriptor_h appropriate for the host.
245 * configure.ac: Link it.
246 * configure: Regenerate.
247 * stacktrace.cc: Include sysdep/descriptor.h.
248 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
250 2005-05-25 Chris Burdess <dog@gnu.org>
252 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
253 end entity callbacks.
255 2005-05-24 Gary Benson <gbenson@redhat.com>
258 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
259 Handle DateFormat.DEFAULT case correctly.
261 2005-05-21 Tom Tromey <tromey@redhat.com>
264 * java/lang/ref/natReference.cc (find_slot): Handle case where
265 table has no NULL entries.
266 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
267 table has no NULL entries.
269 2005-05-22 Andreas Jaeger <aj@suse.de>
271 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
274 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
276 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
278 2005-05-19 Richard Henderson <rth@redhat.com>
280 * exception.cc: Revert 05-17 gcc_unreachable change.
282 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
284 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
285 _Jv_RegisterInitiatingLoader to register array classes, not
287 (_Jv_RegisterInitiatingLoader): Give up if called very early during
288 bootstrapping. Add a FIXME to handle this case better.
290 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
292 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
294 (libgcj_la_SOURCES): New. Move sources here.
295 (libgcj.la): Remove rule.
297 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
300 * gnu/java/security/provider/DSASignature.java: Import updates
303 2005-05-18 Anthony Green <green@redhat.com>
305 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
306 classpath_jawt_object_unlock, classpath_jawt_create_lock,
307 classpath_jawt_destroy_lock): New functions.
308 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
309 classpath_jawt_object_unlock, classpath_jawt_create_lock,
310 classpath_jawt_destroy_lock): New functions.
311 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
313 * jawt.c: #include malloc.h.
314 (_Jv_Lock): Use lock.
316 (_Jv_GetDrawingSurface): Initialize lock.
317 (_Jv_FreeDrawingSurface): Destroy lock.
318 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
320 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
322 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
323 * Makefile.in: Regenerate.
325 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
327 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
328 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
329 * aclocal.m4, configure, config.h.in, include/config.h.in,
330 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
331 external/Makefile.in, external/sax/Makefile.in,
332 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
334 2005-05-17 David Daney <ddaney@avtrex.com>
337 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
339 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
341 * exception.cc (abort): Remove std::abort hack.
342 (gcc_unreacheable): Define.
344 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
346 * Makefile.am (Makefile.deps): Do not create native.list and
348 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
349 * Makefile.in: Regenerate.
351 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
353 * configure.ac (--enable-libgcj-multifile): Remove.
355 * Makefile.am (all_native_compiled_source_files,
356 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
357 all_libgcj_lo_files, all_xlib_lo_files,
358 all_java_deps_files, all_java_stamp_files,
359 all_java_filelist_files): New variables.
360 (EXTRA_DIST): New Automake variable.
361 (CLEANFILES): Add .stamp, .list and .lo files.
362 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
363 (classes.stamp): Depend on $(all_java_stamp_files).
364 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
365 going through write_entries_to_file.
367 (all_java_source_files, all_property_files): Move earlier.
368 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
369 all_java_class_files): Remove.
370 (gtk_awt_peer_sources): Rename to...
371 (gtk_awt_peer_source_files): ... this. Adjust throughout.
374 (libgcj0_convenience_la_SOURCES): Remove Java source files.
375 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
376 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
377 (libgcj_la_SOURCES): Remove.
378 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
379 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
380 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
382 * configure: Regenerate.
383 * Makefile.in: Regenerate.
384 * external/Makefile.in: Regenerate.
385 * external/sax/Makefile.in: Regenerate.
386 * external/w3c_dom/Makefile.in: Regenerate.
387 * gcj/Makefile.in: Regenerate.
388 * include/Makefile.in: Regenerate.
389 * libltdl/Makefile.in: Regenerate.
390 * testsuite/Makefile.in: Regenerate.
392 2005-05-16 Tom Tromey <tromey@redhat.com>
394 * java/nio/charset/Charset.java (encode, decode): Synchronize on
395 'this', not the class.
397 2005-05-16 Tom Tromey <tromey@redhat.com>
399 * gnu/java/net/protocol/http/Headers.java (parse): Include final
402 2005-05-16 Tom Tromey <tromey@redhat.com>
405 * java/net/URI.java (unquote): Handle lower-case letters as well.
407 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
410 * gnu/regexp/RE.java: Add support for quoting constructs.
412 2005-05-15 Tom Tromey <tromey@redhat.com>
414 * java/lang/String.java (startsWith): Fixed javadoc.
416 2005-05-15 Tom Tromey <tromey@redhat.com>
419 * testsuite/libjava.compile/pr21519.java: New file.
420 * testsuite/libjava.compile/pr21519.no-link: New file.
422 2005-05-15 Tom Tromey <tromey@redhat.com>
424 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
426 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
429 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
430 interrupt status flag if _Jv_CondWait is interrupted.
432 2005-05-13 Tom Tromey <tromey@redhat.com>
434 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
437 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
439 * include/jvm.h (gcj::verifyClasses): Declare.
440 * link.cc (gcj::verbose_class_flag): Moved.
441 * prims.cc (gcj::verifyClasses): Define here.
442 (gcj::verbose_class_flag): Move definition here.
443 (_Jv_Linker::wait_for_state): Don't call verify_class
444 if gcj::verifyClasses is not set.
445 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
447 2005-05-12 Aaron Luchko <aluchko@redhat.com>
449 * gij.cc (main): Recognize '-verify', '-noverify', and
452 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
454 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
456 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
458 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
461 2005-05-11 Tom Tromey <tromey@redhat.com>
463 * external/w3c_dom/Makefile.in: Rebuilt.
464 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
466 * external/sax/Makefile.in: Rebuilt.
467 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
469 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
471 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
472 Call _Jv_CopyClassesToSystemLoader.
473 * java/lang/natClassLoader.cc (system_class_list): New global.
474 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
476 (_Jv_CopyClassesToSystemLoader): New function.
477 (SYSTEM_LOADER_INITIALIZED): New define.
478 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
479 (_Jv_CheckABIVersion): Use it.
480 (_Jv_ClassForBootstrapLoader): New function.
481 * Makefile.in: Rebuilt.
482 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
484 2005-05-10 Tom Tromey <tromey@redhat.com>
486 * gcj/javaprims.h: Updated.
487 * java/lang/String.java (String(StringBuilder)): New constructor.
488 * java/lang/natStringBuilder.cc: New file.
489 * java/lang/StringBuilder.java: New file.
490 * Makefile.in: Rebuilt.
491 * Makefile.am (core_java_source_files): Added StringBuilder.java.
492 (nat_source_files): Added natStringBuilder.cc.
494 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
497 * testsuite/libjava.jacks/jacks.xfail: Adjust.
499 2005-05-09 Mike Stump <mrs@apple.com>
501 * configure: Regenerate.
503 2005-05-09 David Daney <ddaney@avtrex.com>
505 * java/util/BitSet.java (get(int, int)): Fix breakage when
506 requested set doesn't start on a multiple of 64.
508 2005-05-07 Matthias Klose <doko@debian.org>
510 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
512 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
514 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
515 * Makefile.in: Regenerate.
516 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
517 (createCompatibleVolatileImage(int,int)): Implement.
518 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
520 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
522 (createVolatileImage): Implement.
523 (createBuffers): Likewise.
524 (getBackBuffer): Likewise.
526 (destroyBuffers): Likewise.
527 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
528 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
529 (CanvasFlipBufferStrategy): Likewise.
530 (createBufferStrategy(int)): New method.
531 (createBufferStrategy(int,BufferCapabilities)): Likewise.
532 * java/awt/Component.java (BltBufferStrategy): Implement and
534 (FlipBufferStrategy): Likewise.
535 * java/awt/Window.java (WindowBltBufferStrategy): New class.
536 (WindowFlipBufferStrategy): Likewise.
537 (createBufferStrategy(int)): New method.
538 (createBufferStrategy(int,BufferCapabilities)): Likewise.
539 (getBufferStrategy): Likewise.
540 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
541 front to frontCaps and back to backCaps.
543 2005-05-06 Michael Koch <konqueror@gmx.de>
545 * java/awt/BufferCapabilities.java
546 (BufferCapabilities): Merged javadoc.
548 2005-05-06 Michael Koch <konqueror@gmx.de>
550 * java/util/Locale.java
551 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
552 (getLocale): New methods. Use it everywhere where instances of Locales
554 (getDisplayLanguage): Merged javadoc.
555 (getDisplayCountry): Likewise.
556 (getDisplayVariant): Likewise.
558 2005-05-06 Archie Cobbs <archie@dellroad.org>
560 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
561 use DeleteLocalRef() to avoid exhausting local native references.
563 2005-05-06 Mark Wielaard <mark@klomp.org>
565 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
566 (window_delete_cb): Don't use C++ style comments.
568 2005-05-06 Robert Schuster <thebohemian@gmx.net>
570 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
573 2005-05-06 Robert Schuster <thebohemian@gmx.net>
575 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
576 (window_delete_cb): Made the function return TRUE.
578 2005-05-06 Roman Kennke <roman@kennke.org>
580 * javax/swing/text/PlainView.java
581 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
583 * javax/swing/text/Utilities.java
584 (drawTabbedText): Initilialize local variable pos correctly.
586 2005-05-06 Roman Kennke <roman@kennke.org>
588 * javax/swing/text/AbstractDocument.java
589 (LeafElement): Made start and end package private fields for
590 effective reindexing.
591 * javax/swing/text/PlainDocument.java
592 (constructor): The field rootElement is always BranchElement,
593 so we handle it as such.
594 (removeUpdate): Rewritten reindexing for removeUpdate so that
595 the actual removal is taken into account.
597 2005-05-06 Roman Kennke <roman@kennke.org>
599 * javax/swing/text/GapContent.java:
600 Removed debugging output stuff, which I accidentally left in.
602 2005-05-06 Roman Kennke <roman@kennke.org>
604 * javax/swing/text/GapContent.java:
605 Implemented a real GapContent. Only the public methods have
606 been implemented so far and still no UndoableEdit support.
608 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
610 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
613 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
615 * java/awt/image/BufferStrategy.java: Document.
617 * java/awt/BufferCapabilities.java: Document.
619 2005-05-04 Tom Tromey <tromey@redhat.com>
621 * java/nio/channels/FileLock.java (toString): Entirely avoid
624 2005-05-04 Andrew Overholt <overholt@redhat.com>
626 * java/nio/channels/FileLock.java (toString): Re-implement using
629 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
631 * java/awt/ImageCapabilities.java: Document.
633 * java/awt/image/VolatileImage.java: Unindent copyright header.
635 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
637 * java/awt/image/VolatileImage.java: Document.
639 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
641 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
642 (init_glib_threads): Check if threading system is already
645 2005-05-03 Andrew Overholt <overholt@redhat.com>
648 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
649 could not be acquired.
650 * java/nio/channels/FileLock.java (toString): Re-implement to be
651 in line with other implementations.
653 2005-05-03 Tom Tromey <tromey@redhat.com>
655 * java/lang/VMSecurityManager.java (currentClassLoader): Use
656 'systemClasssLoader' directly.
658 2005-05-03 Tom Tromey <tromey@redhat.com>
660 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
661 call VMClassLoader.getSystemClassLoader.
663 2005-04-29 Michael Koch <konqueror@gmx.de>
665 * java/net/NetworkInterface.java
667 (NetworkInterface(String,InetAddress)): Made package-private.
668 (NetworkInterface(String,InetAddress[])): New constructor.
669 (getRealNetworkInterfaces): Removed.
670 (getByName): Use VMNetworkInterface.getInterfaces().
671 (getByInetAddress): Likewise.
672 (getNetworkInterfaces): Likewise.
673 * java/net/VMNetworkInterface.java,
674 java/net/natVMNetworkInterfaceNoNet.cc,
675 java/net/natVMNetworkInterfacePosix.c,c
676 java/net/natVMNetworkInterfaceWin32.cc: New files.
677 * java/net/natNetworkInterfaceNoNet.cc,
678 java/net/natNetworkInterfacePosix.cc,
679 java/net/natNetworkInterfaceWin32.cc: Removed.
682 * configure, Makefile.in: Regenerated.
684 2005-04-29 Andrew Haley <aph@redhat.com>
686 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
688 2005-04-29 Dalibor Topic <robilad@kaffe.org>
690 * java/nio/channels/FileChannelImpl.java
691 (FileChannelImpl(String, int)): Removed.
692 (FileChannelImpl(File, int)): Added. Check if opened file is a
694 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
695 Call FileChannelImpl(File, int).
696 * java/io/FileOutputStream.java (FileInputStream): Call
697 FileChannelImpl(File, int).
698 * java/io/RandomAccessFile.java (RandomAccessFile):
699 Call FileChannelImpl(File, int). Switched constructors around.
701 2005-04-27 Andrew Haley <aph@redhat.com>
704 * prims.cc (_Jv_ResolvePoolEntry): New function.
705 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
706 * link.cc (_Jv_Linker::find_field): New arg: found_class.
707 (resolve_pool_entry): Initialize the class in which a field is
709 (link_symbol_table): Pass new arg to found_class.
711 2005-04-29 Michael Koch <konqueror@gmx.de>
713 * java/nio/charset/Charset.java
714 (provider): Reformatted.
716 2005-04-29 Michael Koch <konqueror@gmx.de>
718 * gnu/java/net/protocol/http/HTTPConnection.java:
719 (userAgent): Initialize from system properties.
720 (initUserAgent): Removed.
722 2005-04-29 Mark Wielaard <mark@klomp.org>
724 * java/util/ResourceBundle.java (getObject): Clarify
725 MissingResourceException detailed message.
726 (tryBundle(String,ClassLoader)): Likewise.
728 2005-04-29 Robert Schuster <thebohemian@gmx.net>
730 * java/beans/FeatureDescriptor.java:
731 (getShortDescription): Implemented fallback mechanism and fixed
732 documentation (fixes bug #12637).
733 (getDisplayName): Dito.
735 2005-04-29 Robert Schuster <thebohemian@gmx.net>
737 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
738 will now be set correctly.
739 (flushCaches): Now flushes all cached intermediate data.
741 2005-04-28 Michael Koch <konqueror@gmx.de>
743 * java/net/InetAddress.java
744 (aton): Fixed javadoc.
747 2005-04-28 Tom Tromey <tromey@redhat.com>
749 * javax/swing/Timer.java
750 (drainEvents, queueEvent): Now package-private.
752 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
754 * javax/swing/Timer.java
755 (constructor): Assigning initialDelay.
757 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
759 * javax/swing/Timer.java
760 (Waker.run): firing the first action event.
762 2005-04-28 Michael Koch <konqueror@gmx.de>
764 * javax/swing/Timer.java: Reordered all fields and methods,
767 2005-04-28 Michael Koch <konqueror@gmx.de>
769 * javax/swing/Timer.java: Javadocs merged
772 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
774 * gnu/java/net/protocol/file/Connection.java
775 (StaticData): New inner class to contain statics.
776 (connect, getHeaderField): Modified to use StaticData.
778 2005-04-28 Michael Koch <konqueror@gmx.de>
780 * gnu/java/net/protocol/file/Connection.java
781 (lineSeparator): Initialize with SystemProperties.getProperty().
783 2005-04-27 Chris Burdess <dog@gnu.org>
785 * gnu/java/net/protocol/file/Connection.java: Return correct content
786 length for directory listing.
787 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
788 #11285: return valid URLs for directories.i
790 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
792 * Makefile.am (ordinary_java_source_files): Add
793 gnu/java/net/protocol/https/Handler.java.
794 * Makefile.in: Regenerate.
795 * java/net/URL.java: Remove org.metastatic.jessie from default
796 protocol search path.
798 2005-04-27 Chris Burdess <dog@gnu.org>
800 * gnu/java/net/protocol/https/Handler.java: New file.
802 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
804 * javax/imageio/spi/IIORegistry.java (IIORegistry):
805 Don't assume that awt Toolkit is always ClasspathToolkit.
807 2005-04-27 Chris Burdess <dog@gnu.org>
809 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
810 absolute and relative paths in Location header.
812 2005-04-27 Chris Burdess <dog@gnu.org>
814 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
815 FileNotFoundException and implement getErrorStream on 404.
817 2005-04-27 Sven de Marothy <sven@physto.se>
819 * java/util/TimeZone.java,
820 (getDefaultDisplayName): Fix previous fix.
822 2005-04-27 Sven de Marothy <sven@physto.se>
824 * java/util/TimeZone.java,
825 (getDefaultDisplayName): Don't print zero offsets.
827 2005-04-27 Roman Kennke <roman@kennke.org>
829 * javax/swing/plaf/basic/BasicScrollBarUI
830 (getThumbBounds): Do not make thumb smaller than
832 * javax/swing/plaf/metal/MetalLookAndFeel
833 (initComponentDefaults): Added color defaults for ScrollBar.
834 * javax/swing/plaf/metal/MetalScrollBarUI
836 (getMinimumThumbSize): Added.
838 2005-04-27 Roman Kennke <roman@kennke.org>
840 * javax/swing/plaf/metal/MetalLookAndFeel
841 (initComponentDefaults): Added some default colors.
843 2005-04-27 Roman Kennke <roman@kennke.org>
845 * javax/swing/plaf/basic/BasicScrollBarUI.java
846 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
847 to 'ScrollBar.thumbShadow'. The formes does not exist.
848 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
850 2005-04-27 Roman Kennke <roman@kennke.org>
852 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
853 * javax/swing/BoxLayout.java: Likewise.
854 * javax/swing/UIManager.java: Likewise.
855 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
856 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
857 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
858 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
859 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
860 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
861 * javax/swing/text/Document.java: Likewise.
862 * javax/swing/text/GapContent.java: Likewise.
863 * javax/swing/text/SimpleAttributeSet.java: Likewise.
864 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
866 2005-04-27 Roman Kennke <roman@kennke.org>
868 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
869 (getPropertyPrefix): Added.
871 2005-04-27 Roman Kennke <roman@kennke.org>
873 * javax/swing/plaf/basic/BasicButtonUI.java
874 (getPropertyPrefix): Added.
875 (installDefaults): Use getPropertyPrefix instead of hard-coded
878 2005-04-27 Roman Kennke <roman@kennke.org>
880 * javax/swing/JToggleButton.java
881 (JToggleButton): Removed horizontalAlignment setting, this
882 was wrong. Added setting of an actionCommand, ToggleButtons
883 have "" as default actionCommand.
885 2005-04-27 Michael Koch <konqueror@gmx.de>
887 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
888 to work around CNI limitation.
890 2005-04-27 Sven de Marothy <sven@physto.se>
892 * java/nio/charset/Charset.java:
893 (defaultCharset()): New method.
894 Status updated to 1.5
896 2005-04-27 Sven de Marothy <sven@physto.se>
898 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
900 2005-04-27 Sven de Marothy <sven@physto.se>
902 * java/nio/charset/Charset.java: Reset cached de/encoders.
904 2005-04-27 Robert Schuster <thebohemian@gmx.net>
906 * java/nio/charset/Charset.java (forName): Throws
907 IllegalArgumentException when argument is null
908 and added documentation.
910 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
912 * java/nio/charset/Charset.java (providers):
913 New method to make an array of CharsetProviders defined in
914 META-INF/services/java.nio.charset.spi.CharsetProvider.
915 (charsetForName, availableCharsets): Use the
916 new method providers().
918 2005-04-26 Michael Koch <konqueror@gmx.de>
920 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
921 Fixed typos in javadocs.
922 (isSiteLocalAddress): Fixed handling of byte values.
923 (isMCLinkLocal): Likewise.
924 * java/net/Inet4Address.java
925 (isMulticastAddress): Call super method.
926 (isLoopbackAddress): Likewise.
927 (isAnyLocalAddress): Likewise.
928 (isLinkLocalAddress): Likewise.
929 (isSiteLocalAddress): Likewise.
930 (isMCGlobal): Likewise.
931 (isMCNodeLocal): Likewise.
932 (isMCLinkLocal): Likewise.
933 (isMCSiteLocal): Likewise.
934 (isMCOrgLocal): Likewise.
935 (getHostAddress): Likewise.
937 2005-04-26 Sven de Marothy <sven@physto.se>
939 * java/net/InetAddress.java
940 (toString): Don't print empty hostnames.
942 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
945 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
946 'false' to native lock().
947 (lock): Pass 'true' to native lock().
949 2005-04-26 Michael Koch <konqueror@gmx.de>
951 * java/net/InetAddress.java:
952 Fixed typos in javadocs.
954 2005-04-26 Andrew Haley <aph@redhat.com>
957 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
960 2005-04-26 Tom Tromey <tromey@redhat.com>
962 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
963 gnu): Now package-private.
964 * javax/swing/text/html/parser/DocumentParser.java (parser,
965 callBack, gnu): Now package-private.
966 * javax/swing/text/StringContent.java (content, setOffset,
967 checkLocation): Now package-private.
968 * javax/swing/text/JTextComponent.java (doc): Now
970 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
971 lastGoodOrientation, origParent, borders, cachedBounds,
972 cachedOrientation, DragWindow): Now package-private.
973 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
974 decrButton, viewport, panel, currentScrollLocation, layoutManager,
975 tabAreaRect, contentRect, createIncreaseButton,
976 createDecreaseButton, findPointForIndex): Now package-private.
977 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
978 (currentDividerLocation, moveDividerTo): Now package-private.
979 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
981 * javax/swing/plaf/basic/BasicScrollBarUI.java
982 (calculatePreferredSize, valueForYPosition, valueForXPosition):
984 * javax/swing/plaf/basic/BasicPopupMenuUI.java
985 (topWindowListener): Now package-private.
986 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
987 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
988 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
990 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
992 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
994 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
996 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
997 borderInsets): Now package-private.
998 (arrowButtonWidth): Likewise. Now a constant.
999 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1000 makeTabs, updatePreviewPanel): Now package-private.
1001 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1002 darkShadow, highlight): Now package-private.
1003 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1004 (addColorToQueue): Now package-private.
1005 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1006 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1007 GSpinner, BSpinner): Now package-private.
1008 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1009 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1010 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1011 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1012 updateTrack): Now package-private.
1013 * javax/swing/TransferHandler.java (clipboard): Now
1015 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1017 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1019 * javax/swing/RepaintManager.java (globalManager): Now
1021 * javax/swing/JFormattedTextField.java (editValid): Now
1023 * javax/swing/JColorChooser.java (makeModal): Now
1025 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1026 index, path): Now package-private.
1027 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1028 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1029 pointEquals): Now package-private.
1030 * java/awt/geom/Arc2D.java (type): Now package-private.
1031 * java/awt/Window.java (windowFocusOwner): Now package-private.
1032 * java/awt/TextComponent.java (editable, selectionStart,
1033 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1035 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1037 * java/awt/MenuComponent.java (focusListener): Now
1039 * java/awt/Frame.java (state): Now package-private.
1040 * java/awt/Choice.java (pItems): Now package-private.
1041 * java/awt/Checkbox.java (state): Now package-private.
1042 * java/awt/Button.java (actionCommand, label): Now
1044 * gnu/javax/swing/text/html/parser/support/Parser.java
1045 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1047 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1049 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1050 clip, transform, font, comp): Now package-private.
1052 2005-04-26 Tom Tromey <tromey@redhat.com>
1054 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1057 2005-04-26 Mark Wielaard <mark@klomp.org>
1059 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1060 to MalformedURLException.
1062 2005-04-26 Michael Koch <konqueror@gmx.de>
1064 * java/security/AccessControlContext.java:
1066 (protectedDomains): Renamed from 'protectionDomain'.
1067 * java/security/AccessController.java:
1070 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1072 * gnu/java/security/action/GetSecurityPropertyAction.java
1073 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1074 of extending GetPropertyAction.
1077 (setParamters): New methods.
1078 (GetSecurityPropertyAction): Use new setParameters methods.
1080 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1082 * java/security/Security.java,
1083 java/security/cert/X509CRLSelector.java,
1084 java/security/cert/X509CertSelector.java:
1085 Modified to use SystemProperties.
1087 2005-04-26 Michael Koch <konqueror@gmx.de>
1089 * java/lang/System.java
1090 (setSecurityManager): Fixed comment.
1091 (getSecurityManager): Removed obsolete comment.
1093 2005-04-25 Tom Tromey <tromey@redhat.com>
1095 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1097 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1099 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1100 (connectSignals): Realize the window widget after connecting
1103 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1105 * java/awt/GraphicsEnvironment.java
1106 (localGraphicsEnvironment): New field.
1107 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1109 (isHeadless): Added support for java.awt.headless property.
1110 (isHeadlessInstance): Call headless().
1112 2005-04-25 Roman Kennke <roman@kennke.org>
1114 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1115 (getDisplayMode): Added. Returns the current display mode.
1116 (isFullScreenSupported): Added.
1117 * java/awt/GraphicsDevice.java
1118 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1119 This resizes and relocates the fullscreen window so that it uses
1120 the whole screen. This is not a fully accelerated fullscreen
1123 2005-04-25 Michael Koch <konqueror@gmx.de>
1125 * java/lang/Runtime.java,
1126 java/lang/SecurityManager.java,
1127 java/lang/System.java,
1128 java/lang/ThreadGroup.java:
1129 Replaced java.lang.Runtime.securityManager by
1130 java.lang.SecurityManager.current (as used in GNU classpath).
1132 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1134 * java/awt/Transparency.java
1135 (getTransparency): fixed API docs.
1137 2005-04-25 Archie Cobbs <archie@dellroad.org>
1139 * java/lang/Throwable.java: simplify initializing cause in constructor
1141 2005-04-25 Michael Koch <konqueror@gmx.de>
1143 * gnu/classpath/SystemProperties.java: New file.
1144 * gnu/classpath/natSystemProperties.cc: New file.
1145 * java/lang/Runtime.java
1146 (defaultProperties): Removed.
1148 (): Made thrown exceptions more verbose.
1149 (insertSystemProperties): Removed.
1150 * java/lang/System.java
1152 (properties): Likewise.
1153 (setSecurityManager): Reordered modifiers.
1154 (getenv): Improved javadoc.
1156 (isWordsBigEndian): Removed.
1157 * java/lang/natRuntime.cc
1158 (_Jv_SetDLLSearchPath): Likewise.
1159 (file_encoding): Likewise.
1160 (default_file_encoding): Likewise.
1161 (getpwuid_adaptor): Likewise.
1162 (insertSystemProperties): Likewise.
1163 * java/lang/natSystem.cc
1164 (isWordsBigEndian): Likewise.
1166 (ordinary_java_source_files):
1167 Added gnu/classpath/SystemProperties.java.
1168 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1169 * Makefile.in: Regenerated.
1171 2005-04-25 Roman Kennke <roman@kennke.org>
1173 * javax/swing/plaf/basic/BasicScrollBarUI.java
1174 (initDefaults): Initialize thumb*Color fields correctly.
1176 2005-04-25 Roman Kennke <roman@kennke.org>
1178 * javax/swing/text/GapContent.java:
1181 2005-04-25 Roman Kennke <roman@kennke.org>
1183 * javax/swing/plaf/metal/MetalBorders.java:
1184 Added inner class ScrollPaneBorder.
1185 * javax/swing/plaf/metal/MetalLookAndFeel.java
1186 (initComponentDefaults): Added default for "ScrollPane.border"
1187 to use the new ScrollPaneBorder.
1189 2005-04-25 Roman Kennke <roman@kennke.org>
1191 * javax/swing/text/AbstractDocument.java:
1192 Added FIXME comments. This class still has to be
1193 implemented thread-safe.
1195 2005-04-25 Roman Kennke <roman@kennke.org>
1197 * javax/swing/tree/DefaultTreeSelectionModel.java
1198 (DefaultTreeSelectionModel): Initialize listenerList here.
1200 2005-04-25 Roman Kennke <roman@kennke.org>
1202 * javax/swing/plaf/metal/MetalTextFieldUI.java
1203 (createUI): Return one instance per Component instead of a
1206 2005-04-25 Roman Kennke <roman@kennke.org>
1208 * javax/swing/text/Document.java:
1209 Added API documentation comments.
1211 2005-04-25 Roman Kennke <roman@kennke.org>
1213 * javax/swing/text/AbstractDocument.java
1214 (getDocumentProperties): Implemented.
1215 (setDocumentProperties): Implemented.
1216 (getProperty): Implemented.
1217 (putProperty): Implemented.
1219 2005-04-25 Roman Kennke <roman@kennke.org>
1221 * javax/swing/BoxLayout
1222 (preferredLayoutSize): Fixed computation so that it correctly
1223 adds the top and bottom insets of the container.
1225 2005-04-25 Roman Kennke <roman@kennke.org>
1227 * javax/swing/plaf/basic/BasicMenuItemUI.java
1228 (paintText): Make use of the 'selectionForeground' UI default
1231 2005-04-25 Roman Kennke <roman@kennke.org>
1233 * javax/swing/plaf/basic/BasicLookAndFeel.java
1234 (initSystemColorDefaults): Modified colors to match the
1235 BasicLookAndFeel in the reference implementation.
1236 (initComponentDefaults): Likewise.
1238 2005-04-25 Tom Tromey <tromey@redhat.com>
1240 * include/jni.h (_Jv_va_list): Removed.
1241 Moved configuration code...
1242 * include/jni_md.h: ... here. New file.
1243 * include/Makefile.in: Rebuilt.
1244 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1246 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1248 * java/io/FileInputStream.java (FileInputStream(File)),
1249 java/io/FileOutputStream.java (FileOutputStream(File)):
1250 Removed unnecessary File.isDirectory() check.
1252 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1254 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1255 gij if get_multilibs fails.
1257 2005-04-22 Anthony Green <green@redhat.com>
1259 * jni.cc (natrehash): Don't bother clearing memory again.
1260 * interpret.cc (do_allocate_static_fields): Ditto.
1261 * java/lang/natString.cc (rehash): Ditto.
1263 2005-04-22 Roman Kennke <roman@kennke.org>
1265 * javax/swing/plaf/basic/BasicLookAndFeel.java
1266 (initComponentDefaults): Changed Button.border to be
1267 BasicBorders.getButtonBorder as it should be.
1269 2005-04-22 Roman Kennke <roman@kennke.org>
1271 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1272 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1273 should according to a mauve testcase, instead of the preferred
1276 2005-04-22 Roman Kennke <roman@kennke.org>
1278 * javax/swing/JMenu.java
1279 (add): add(Component) now calls PopupMenu.insert(..) instead of
1280 PopupMenu.add(..). add(..) is not implemented for Component,
1281 so JComponent.add(..) is called instead, adding the component
1284 2005-04-22 Roman Kennke <roman@kennke.org>
1286 * javax/swing/plaf/basic/BasicButtonListener.java
1287 (mousePressed): replaced query to getModifiersEx with getModifiers.
1288 This method relied on faulty behaviour in getModifierEx.
1289 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1290 This method relied on faulty behaviour in getModifierEx.
1292 2005-04-22 Roman Kennke <roman@kennke.org>
1294 * javax/swing/plaf/metal/MetalLookAndFeel.java
1295 (getDefaults): Call addCustomEntriesToTable on the theme.
1297 2005-04-22 Roman Kennke <roman@kennke.org>
1299 * javax/swing/tree/DefaultTreeSelectionModel.java
1300 (constructor): Added implementation.
1301 (getRowMapper): Added implementation.
1302 (setSelectionMode): Added implementation.
1303 (getSelectionMode): Added implementation.
1304 (getSelectionPath): Added implementation.
1305 (getSelectionPaths): Added implementation.
1306 (getSelectionCount): Added implementation.
1307 (isSelectionEmpty): Added implementation.
1308 (getSelectionRows): Added implementation.
1309 (getMinSelectionRow): Added implementation.
1310 (getMaxSelectionRow): Added implementation.
1311 (getLeadSelectionRow): Added implementation.
1312 (getLeadSelectionPath): Added implementation.
1314 2005-04-22 Casey Marshall <csm@gnu.org>
1316 * gnu/java/security/der/DERValue.java
1317 (getValueAs): new method.
1318 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1319 (<init>): read both dates with 'DERValue.getValueAs', with
1320 'GENERALIZED_TIME' as the argument.
1322 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1324 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1325 be null, check for that case and don't deference it.
1327 2005-04-22 Sven de Marothy <sven@physto.se>
1329 * java/util/logging/LogManager.java: Reformatted.
1330 (readConfiguration): If a logger for a key is not found, create one.
1332 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1334 * java/rmi/Naming.java:
1335 Added class documentation.
1336 (lookup(String)): Call parseURL and getName.
1337 (bind(String,java.rmi.Remote)): Likewise.
1338 (unbind(String)): Likewise.
1339 (rebind(String, java.rmi.Remote)): Likewise.
1340 (list(String)): Call parseURL.
1341 (parseURL(String)): New method to handle parsing and defaults.
1342 (getName(java.net.URL)): New method to handle finding the service name.
1344 2005-04-21 Tom Tromey <tromey@redhat.com>
1346 * java/lang/natClass.cc (initializeClass): Link class.
1348 2005-04-21 Tom Tromey <tromey@redhat.com>
1350 * java/lang/AssertionError.java: Typo fix.
1352 2005-04-21 Tom Tromey <tromey@redhat.com>
1354 * java/lang/VMClassLoader.java (transformException): Removed.
1355 (resolveClass): No longer native. Now does nothing.
1356 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1358 2005-04-21 Anthony Green <green@redhat.com>
1361 * testsuite/libjava.special/special.exp,
1362 testsuite/libjava.special/pr21115I.java,
1363 testsuite/libjava.special/pr21115.java,
1364 testsuite/libjava.special/pr21115.out: New files.
1366 2005-04-21 Chris Burdess <dog@gnu.org>
1368 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1369 CRLF-delimited chunks.
1371 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1373 * java/net/URI.java:
1374 Added class documentation.
1375 (parseURI(String)): Only handle scheme-specific parts
1376 if URI is not opaque. Allow for parts that can't be null.
1377 (toString()): Output the scheme-specific part whole, rather
1378 than as its possibly non-existent components.
1380 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1382 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1383 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1384 Adjusted to match new regexp.
1386 2005-04-20 Michael Koch <konqueror@gmx.de>
1388 * gnu/java/net/protocol/file/Connection.java,
1389 gnu/java/net/protocol/jar/Connection.java:
1390 Reorganized import statements. Fixed @author tags.
1392 2005-04-20 Chris Burdess <dog@gnu.org>
1394 * java/io/DataOutputStream.java (writeUTF): Use block write for
1397 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1399 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1400 (readLine): Changed newline handling.
1402 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1404 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1405 ColorModel,byte[],int,int): Fixed byte to int conversion.
1407 2005-04-20 Michael Koch <konqueror@gmx.de>
1409 * java/io/FilePermission.java
1410 (serialVersionUID): Made private.
1411 (ALL_FILES): New constant.
1412 (implies): Handle '<<ALL FILES>>' case.
1414 2005-04-20 Sven de Marothy <sven@physto.se>
1416 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1417 (drawImage): Don't notify the image observer for offscreen images.
1418 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1419 (setPixels): Don't notify the image observer.
1421 2005-04-20 Sven de Marothy <sven@physto.se>
1423 * java/nio/ByteBufferImpl.java:
1424 (putChar): Inlined for speed.
1425 (put, get): Bulk methods can use arraycopy.
1426 * java/nio/CharBufferImpl.java:
1427 (put, get): Bulk methods can use arraycopy.
1429 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1431 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1433 * java/nio/CharBufferImpl.java
1434 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1435 (get(), put(char)): Inlined checks and field updates. Fixed to
1436 take array_offset into account.
1437 (get(int), put(int, char)): Fixed to take array_offset into account.
1439 2005-04-20 Sven de Marothy <sven@physto.se>
1441 * java/text/SimpleDateFormat.java:
1442 (formatWithAttribute): Pad year before truncating digits.
1444 2005-04-20 Michael Koch <konqueror@gmx.de>
1446 * gnu/java/net/PlainDatagramSocketImpl.java:
1447 Merged copyright header.
1448 * gnu/java/net/PlainSocketImpl.java:
1449 Reorganized import statements. Fixed @author tags.
1451 2005-04-20 Michael Koch <konqueror@gmx.de>
1453 * gnu/java/lang/ClassHelper.java,
1454 gnu/java/lang/reflect/TypeSignature.java:
1457 2005-04-20 Michael Koch <konqueror@gmx.de>
1459 * gnu/java/beans/IntrospectionIncubator.java:
1460 Fixed HTML tags in javadocs.
1462 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1464 * gnu/java/beans/IntrospectionIncubator.java
1465 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1466 set(), is(), add() and remove() with properties or events.
1468 2005-04-20 Michael Koch <konqueror@gmx.de>
1470 * gnu/java/awt/image/XBMDecoder.java:
1471 Fixed modifier order.
1473 2005-04-20 Roman Kennke <roman@kennke.org>
1475 * javax/swing/plaf/basic/BasicButtonUI.java
1476 (paint): This should not care about margin and insets
1477 at the same time, as insets already include the margin
1479 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1480 (getPreferredButtonSize): Likewise.
1481 * javax/swing/plaf/metal/MetalBorders.java
1482 (getBorderInsets): Likewise.
1484 2005-04-20 Roman Kennke <roman@kennke.org>
1486 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1487 (createMessageArea): The JPanel that holds the message area
1488 doesn't need to override getPreferredSize. This prevents some
1489 message components from rendering nicely.
1491 2005-04-20 Roman Kennke <roman@kennke.org>
1493 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1494 (createUI): Do not share instances between components.
1495 * javax/swing/plaf/metal/MetalSliderUI.java
1496 (createUI): Do not share instances between components.
1498 2005-04-20 Roman Kennke <roman@kennke.org>
1500 * javax/swing/plaf/metal/MetalBorders:
1501 (PopupMenuBorder): Added.
1502 * javax/swing/plaf/metal/MetalLookAndFeel
1503 (initComponentDefaults): Added PopupMenuBorder.
1505 2005-04-20 Roman Kennke <roman@kennke.org>
1507 * javax/swing/tree/DefaultTreeSelectionModel.java:
1508 Added API documentation all over the class.
1510 2005-04-20 Roman Kennke <roman@kennke.org>
1512 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1513 (installDefaults): Link managed JScrollPane in instance field.
1514 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1516 2005-04-20 Roman Kennke <roman@kennke.org>
1518 * javax/swing/plaf/basic/BasicScrollBarUI.java
1519 (PropertyChangeHandler.propertyChange): Add default
1520 to switch statement to avoid errors with unusual values
1522 (installComponents): Likewise.
1524 2005-04-20 Roman Kennke <roman@kennke.org>
1526 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1527 (createUI): Instances cannot be shared among JScrollPanes.
1529 2005-04-20 Roman Kennke <roman@kennke.org>
1531 * javax/swing/plaf/metal/MetalLookAndFeel.java
1532 (initComponentDefaults): Added defaults for Menu, MenuBar
1535 2005-04-20 Roman Kennke <roman@kennke.org>
1537 * javax/swing/plaf/basic/BasicScrollBarUI.java
1538 (installUI): Install listeners after everything all, otherwise
1539 we get strange NPEs in some situations, especially with
1541 (createIncreaseButton): Orientation is expected to be
1542 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1543 HORIZONTAL or VERTICAL.
1544 (createDecreaseButton): Orientation is expected to be
1545 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1546 HORIZONTAL or VERTICAL.
1547 (installComponents): Orientation for buttons is expected to be
1548 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1549 HORIZONTAL or VERTICAL.
1551 2005-04-20 Roman Kennke <roman@kennke.org>
1553 * javax/swing/JToolBar.java
1554 (addImpl): Adjust added AbstractButtons to look and feel like
1556 * javax/swing/plaf/metal/MetalBorders.java:
1557 Adjusted insets of ButtonBorder.
1558 (RolloverMarginBorder): Added class for toolbar buttons.
1559 (getButtonBorder): Adjusted factory method to return a shared
1560 instance of button border.
1561 (getToolbarButtonBorder): Added factory method to return a shared
1562 instance of toolbar button border.
1563 (getMarginBorder): Added factory method to return a shared
1564 instance of margin border.
1565 * javax/swing/plaf/metal/MetalButtonUI.java
1566 (installDefauls): If button is child of a JToolBar then set
1567 special border on this button.
1569 2005-04-20 Michael Koch <konqueror@gmx.de>
1571 * java/net/URLConnection.java
1572 (getContent): Fixed javadoc comment.
1574 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1576 * java/net/URL.java:
1577 (toURI()): Implemented.
1579 2005-04-19 Michael Koch <konqueror@gmx.de>
1581 * java/net/InetAddress.java
1582 (InetAddress): Fixed javadoc comment.
1584 (lookup): Added javadoc.
1585 (getFamily): Likewise.
1586 * java/net/ServerSocket.java
1587 (getChannel): Improved javadoc comment.
1589 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1591 * gnu/xml/dom/html2/DomHTMLParser.java:
1592 Changed 'enum' references to become 'enumeration'.
1594 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1596 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1598 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1600 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1601 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1602 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1603 (validateParameters(TagElement,htmlAttributeSet)):
1604 Replaced 'enum' with 'enumeration'.
1605 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1608 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1610 * javax/swing/text/html/parser/Entity.java (getType): New method.
1611 * javax/swing/text/html/parser/DocumentParser.java:
1612 Inherit from javax.swing.text.html.parser.Parser.
1614 2005-04-19 Chris Burdess <dog@gnu.org>
1616 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1617 check for HTML/XHTML namespace.
1619 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1621 * javax/swing/text/html/parser/Parser.java,
1622 javax/swing/text/html/parser/Entity.java:
1623 Inheriting from DTDConstants.
1624 * javax/swing/text/html/parser/AttributeList.java
1625 (getValues): Changed return type.
1626 * javax/swing/text/html/parser/DocumentParser
1627 (parse): Adding the callback parameter that receives
1630 2005-04-19 Chris Burdess <dog@gnu.org>
1632 * gnu/xml/dom/DomImpl.java,
1633 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1634 gnu/xml/dom/html2/DomHTMLDocument.java,
1635 gnu/xml/dom/html2/DomHTMLElement.java,
1636 gnu/xml/dom/html2/DomHTMLFormElement.java,
1637 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1638 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1639 gnu/xml/dom/html2/DomHTMLImpl.java,
1640 gnu/xml/dom/html2/DomHTMLInputElement.java,
1641 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1642 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1643 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1644 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1645 gnu/xml/dom/html2/DomHTMLTableElement.java,
1646 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1647 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1648 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1649 UI events, and tree utility functions.
1651 2005-04-19 Michael Koch <konqueror@gmx.de>
1653 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1654 gnu/javax/swing/text/html/parser/gnuDTD.java,
1655 gnu/javax/swing/text/html/parser/models/node.java:
1656 Reworked import statements.
1658 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1660 * javax/swing/text/html/HTMLDocument.java: New file.
1662 2005-04-19 Michael Koch <konqueror@gmx.de>
1664 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1666 * javax/swing/text/html/parser/AttributeList.java:
1667 Fixed order of modifiers.
1668 (AttributeList): Made final.
1669 * javax/swing/text/html/parser/ContentModel.java:
1670 Fixed html characters in javadocs.
1671 * javax/swing/text/html/parser/DTD.java
1672 (DTD): Don't implement java.io.Serializable directly.
1673 (getElement): Simplified.
1674 * javax/swing/text/html/parser/DTDConstants.java:
1676 * javax/swing/text/html/parser/Element.java:
1677 Fixed order of modifiers.
1678 * javax/swing/text/html/parser/Parser.java:
1679 Reformatted. Don't use fully-qualified class names.
1680 * javax/swing/text/html/parser/ParserDelegator.java:
1681 Fixed order of modifiers.
1682 * javax/swing/text/rtf/RTFParser.java:
1683 Re-ordered import statements.
1684 * javax/swing/text/rtf/RTFScanner.java:
1685 Removed unused import statement.
1687 2005-04-19 Chris Burdess <dog@gnu.org>
1689 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1690 gnu/xml/dom/html2/DomHTMLCollection.java,
1691 gnu/xml/dom/html2/DomHTMLDocument.java,
1692 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1694 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1695 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1696 gnu/xml/dom/html2/DomHTMLDivElement.java,
1697 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1698 gnu/xml/dom/html2/DomHTMLFontElement.java,
1699 gnu/xml/dom/html2/DomHTMLFormElement.java,
1700 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1701 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1702 gnu/xml/dom/html2/DomHTMLHRElement.java,
1703 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1704 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1705 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1706 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1707 gnu/xml/dom/html2/DomHTMLImageElement.java,
1708 gnu/xml/dom/html2/DomHTMLInputElement.java,
1709 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1710 gnu/xml/dom/html2/DomHTMLLIElement.java,
1711 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1712 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1713 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1714 gnu/xml/dom/html2/DomHTMLMapElement.java,
1715 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1716 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1717 gnu/xml/dom/html2/DomHTMLModElement.java,
1718 gnu/xml/dom/html2/DomHTMLOListElement.java,
1719 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1720 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1721 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1722 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1723 gnu/xml/dom/html2/DomHTMLParamElement.java,
1724 gnu/xml/dom/html2/DomHTMLPreElement.java,
1725 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1726 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1727 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1728 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1729 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1730 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1731 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1732 gnu/xml/dom/html2/DomHTMLTableElement.java,
1733 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1734 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1735 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1736 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1737 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1739 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1741 * javax/swing/text/ChangedCharSetException.java,
1742 javax/swing/text/html/HTMLEditorKit.java,
1743 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1744 javax/swing/text/html/parser/AttributeList.java,
1745 javax/swing/text/html/parser/ContentModel.java,
1746 javax/swing/text/html/parser/DocumentParser.java,
1747 javax/swing/text/html/parser/DTD.java,
1748 javax/swing/text/html/parser/DTDConstants.java,
1749 javax/swing/text/html/parser/Element.java,
1750 javax/swing/text/html/parser/Entity.java,
1751 javax/swing/text/html/parser/Parser.java,
1752 javax/swing/text/html/parser/TagElement.java,
1753 gnu/javax/swing/text/html/package.html,
1754 gnu/javax/swing/text/html/parser/gnuDTD.java,
1755 gnu/javax/swing/text/html/parser/HTML_401F.java,
1756 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1757 gnu/javax/swing/text/html/parser/htmlValidator.java,
1758 gnu/javax/swing/text/html/parser/package.html,
1759 gnu/javax/swing/text/html/parser/models/list.java,
1760 gnu/javax/swing/text/html/parser/models/node.java,
1761 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1762 gnu/javax/swing/text/html/parser/models/package.html,
1763 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1764 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1765 gnu/javax/swing/text/html/parser/models/transformer.java,
1766 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1767 gnu/javax/swing/text/html/parser/support/package.html,
1768 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1769 gnu/javax/swing/text/html/parser/support/Parser.java,
1770 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1771 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1772 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1773 gnu/javax/swing/text/html/parser/support/low/Location.java,
1774 gnu/javax/swing/text/html/parser/support/low/node.java,
1775 gnu/javax/swing/text/html/parser/support/low/package.html,
1776 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1777 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1778 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1779 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1781 * javax/swing/text/html/HTML.java,
1782 javax/swing/text/html/parser/ParserDelegator.java:
1783 New files (replacing).
1784 * javax/swing/text/html/package.html,
1785 javax/swing/text/html/parser/package.html: Documenting the
1788 2005-04-19 Chris Burdess <dog@gnu.org>
1790 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1791 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1792 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1793 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1794 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1795 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1796 gnu/xml/dom/html2/DomHTMLBRElement.java,
1797 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1798 gnu/xml/dom/html2/DomHTMLCollection.java,
1799 gnu/xml/dom/html2/DomHTMLDocument.java,
1800 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1802 2005-04-19 Michael Koch <konqueror@gmx.de>
1804 * Makefile.am: Added new files.
1805 * Makefile.in: Regenerated.
1807 2005-04-19 Roman Kennke <roman@kennke.org>
1809 * javax/swing/text/JTextComponent.java
1810 (JTextComponent): Added repaintListener which issues repaint
1811 requests when the underlying document changes.
1812 (setDocument): Adds repaintListener to document when the
1813 document is changed.
1814 * javax/swing/text/DefaultEditorKit.java:
1815 Removed repaint calls on JTextComponent. This is now handled
1816 through a DocumentListener in JTextComponent that repaints
1817 the component when needed.
1819 2005-04-19 Roman Kennke <roman@kennke.org>
1822 * javax/swing/text/StyleContext.java
1823 (NamedStyle.setResolveParent): Added null
1826 2005-04-19 Michael Koch <konqueror@gmx.de>
1828 * java/rmi/server/RemoteObject.java:
1829 Removed unused import statement.
1831 2005-04-19 Michael Koch <konqueror@gmx.de>
1833 * java/net/URL.java: Formatting cleanups.
1835 2005-04-19 Michael Koch <konqueror@gmx.de>
1837 * java/awt/FontMetrics.java: Reformatted.
1838 (getFontRenderContext): Handle case when java.awt.Graphics context is
1841 2005-04-19 Michael Koch <konqueror@gmx.de>
1843 * java/awt/FontMetrics.java
1844 (getStringBounds): New methods.
1847 2005-04-19 Michael Koch <konqueror@gmx.de>
1849 * gnu/java/security/x509/X509Certificate.java
1850 (parse): Handle val == null case.
1852 2005-04-19 Roman Kennke <roman@kennke.org>
1854 * javax/swing/plaf/metal/MetalLookAndFeel.java
1855 (initComponentDefaults): Added defaults for Menu, MenuBar
1858 2005-04-19 Roman Kennke <roman@kennke.org>
1860 * javax/swing/plaf/metal/MetalLookAndFeel.java
1861 (initComponentDefaults): Added Label.font.
1862 (initSystemColorDefaults): Added this method and adjusted the
1863 general control color.
1865 2005-04-19 Roman Kennke <roman@kennke.org>
1867 * javax/swing/plaf/metal/MetalBorders.java:
1869 * javax/swing/plaf/metal/MetalButtonUI.java:
1870 (installDefaults): Install button font.
1871 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1872 (initComponentDefaults): Added button border, font and margin.
1873 Changed components background color to the Metal current themes
1876 2005-04-19 Roman Kennke <roman@kennke.org>
1878 * javax/swing/plaf/metal/MetalLookAndFeel.java
1879 (initComponentDefaults): Added to set Metal specific component
1882 2005-04-19 Mark Wielaard <mark@klomp.org>
1884 * javax/swing/plaf/metal/MetalLookAndFeel.java
1885 (initClassDefaults): Call super.initClassDefaults().
1887 2005-04-19 Roman Kennke <roman@kennke.org>
1889 * javax/swing/plaf/metal/MetalLookAndFeel.java
1890 (initClassDefaults): Added to include the *UI classes.
1892 2005-04-19 Roman Kennke <roman@kennke.org>
1894 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1896 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1898 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1900 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1902 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1904 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1906 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1908 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1910 * javax/swing/plaf/metal/MetalSliderUI.java:
1912 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1914 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1916 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1918 2005-04-19 Roman Kennke <roman@kennke.org>
1920 * javax/swing/plaf/metal/MetalButtonUI.java:
1921 Added skeleton class.
1922 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1923 Added skeleton class.
1924 * javax/swing/plaf/metal/MetalLabelUI.java:
1925 Added skeleton class.
1926 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1927 Added skeleton class.
1928 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1929 Added skeleton class.
1930 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1931 Added skeleton class.
1933 2005-04-19 Roman Kennke <roman@kennke.org>
1935 * javax/swing/UIDefaults.java:
1936 Added API documentation for all methods.
1938 2005-04-19 Roman Kennke <roman@kennke.org>
1940 * javax/swing/UIDefaults.java
1941 (put): Now uses new checkAndPut method instead of checking
1943 (putDefaults): Fixed so that it accepts null-values and
1944 treats them like remove(key).
1945 (checkAndPut): Added. This checks for null-values and calls
1948 2005-04-19 Michael Koch <konqueror@gmx.de>
1950 * Makefile.am: Added new files.
1951 * Makefile.in: Regenerated.
1953 2005-04-19 Mark Wielaard <mark@klomp.org>
1955 * java/lang/natRuntime.cc (insertSystemProperties): Set
1956 java.class.path to CLASSPATH only when not empty. Fall back to
1957 default path "." when java.class.path is empty.
1959 2005-04-19 Michael Koch <konqueror@gmx.de>
1961 * javax/swing/text/rtf/ControlWordToken.java,
1962 javax/swing/text/rtf/RTFEditorKit.java,
1963 javax/swing/text/rtf/RTFParseException.java,
1964 javax/swing/text/rtf/RTFParser.java,
1965 javax/swing/text/rtf/RTFScanner.java,
1966 javax/swing/text/rtf/TextToken.java,
1967 javax/swing/text/rtf/Token.java: New files.
1968 * Makefile.am: Added new files.
1969 * Makefile.in: Regenerated.
1971 2005-04-19 Michael Koch <konqueror@gmx.de>
1973 * java/awt/geom/QuadCurve2D.java:
1974 Fixed Brian Gough's name for real.
1976 2005-04-19 Roman Kennke <roman@kennke.org>
1978 * javax/swing/UIManager.java:
1979 Make the UIManager respect the swing.defaultlaf system
1982 2005-04-19 Tom Tromey <tromey@redhat.com>
1984 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1987 2005-04-19 Roman Kennke <roman@kennke.org>
1989 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1990 Fixed tabs to spaces.
1992 2005-04-19 Roman Kennke <roman@kennke.org>
1994 * javax/swing/plaf/basic/BasicMenuUI.java
1995 (getMaximumSize): Now returns preferredSize because JMenu should
1996 never be bigger than that.
1997 * javax/swing/JRootPane
1998 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2000 2005-04-19 Roman Kennke <roman@kennke.org>
2002 * javax/swing/JRootPane.java:
2003 Fixed various tabs to be spaces.
2004 (RootLayout.layoutContainer): Made menubar left aligned.
2006 2005-04-19 Roman Kennke <roman@ontographics.com>
2008 * javax/swing/JList.java
2009 (getPreferredScrollableViewportSize):
2010 The previous implementation was merely guessing the size,
2011 now it respects layoutOrientation, visibleRowCount
2013 (getScrollableTracksViewportHeight):
2014 Reimplemented so that layoutOrientation, visibleRowCount
2015 and preferred size are respected.
2016 (getScrollableTracksViewportWidth):
2017 Reimplemented so that layoutOrientation, visibleRowCount
2018 and preferred size are respected.
2019 * javax/swing/plaf/basic/BasicListUI.java
2021 Improved calculation of preferredSize when JList is
2022 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2024 The previous implementation assumed a layoutOrientation of
2025 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2026 JList.VERTICAL_WRAP.
2028 2005-04-19 Roman Kennke <roman@ontographics.com>
2030 * javax/swing/plaf/basic/BasicListUI.java
2031 (paintCell): use CellRendererPane for painting the cells.
2033 2005-04-19 Roman Kennke <roman@ontographics.com>
2035 * javax/swing/plaf/basic/BasicListUI:
2036 fixed modifiers of several fields, methods and inner
2037 classes to match the 'spec'.
2038 (getMaximumSize): removed. It's not in the spec and the
2039 implementations was superfluous.
2041 2005-04-19 Roman Kennke <roman@ontographics.com>
2043 * javax/swing/plaf/basic/BasicListUI:
2044 make BasicListUI capable of wrapping lists
2045 (layoutOrientation property of javax.swing.JList)
2047 2005-04-19 Roman Kennke <roman@ontographics.com>
2049 * javax/swing/plaf/basic/BasicListUI
2050 (updateLayoutState,paint): make BasicListUI aware of the
2051 width of the rendered JList.
2053 2005-04-19 Roman Kennke <roman@kennke.org>
2055 * javax/swing/ImageIcon.java
2056 Added API documentation.
2058 2005-04-19 Roman Kennke <roman@kennke.org>
2060 * javax/swing/text/ImageIcon.java
2061 (ImageIcon): Use setImage instead of direct assignment.
2062 (setImage): Call loadImage to make sure that the image is loaded.
2063 (loadImage): Waits for the image to complete loading.
2064 (getImageLoadStatus): Added. Returns the load status of the
2067 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2069 * javax/swing/JTextArea.java (replaceRange):
2070 Fixing doc.remove(start, length) misinterpretation.
2072 2005-04-19 Roman Kennke <roman@ontographics.com>
2074 * javax/swing/CellRendererPane.java:
2075 implemented all methods of this class.
2076 reformatted all wrong formatted code.
2078 2005-04-19 Roman Kennke <roman@kennke.org>
2080 * javax/swing/BoxLayout.java:
2081 (layoutContainer): Made this layout manager respect the
2082 minimum, maximum and preferred size more correctly.
2084 2005-04-19 Roman Kennke <roman@ontographics.com>
2086 * javax/swing/BoxLayout.java:
2087 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2088 layoutContainer): Make these methods and thereby the
2089 BoxLayout respect the insets (like borders) of the
2090 component that is laid out.
2092 2005-04-19 Roman Kennke <roman@kennke.org>
2094 * javax/swing/JComponent.java:
2095 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2096 Untabified the file.
2098 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2100 * javax/swing/JComboBox.java (constructors): selecting the
2101 first item if the box was constructed from the provided
2102 non - empty array or vector.
2104 2005-04-19 Michael Koch <konqueror@gmx.de>
2106 * gnu/java/awt/peer/gtk/GdkGraphics.java
2107 (getClipBounds): Handle clip being null.
2108 (setClip): Likewise.
2109 * java/beans/beancontext/BeanContextSupport.java
2113 (removeAll): Likewise.
2114 (retainAll): Likewise.
2116 2005-04-19 Michael Koch <konqueror@gmx.de>
2118 * java/beans/beancontext/BeanContextServicesSupport.java
2119 (BeanContextServicesSupport): Reimplemented.
2120 (addBeanContextServicesListener): Implemented.
2121 (initialize): Likewise.
2122 (removeBeanContextServicesListener): Likewise.
2123 * java/beans/beancontext/BeanContextSupport.java
2125 (addBeanContextMembershipListener): Likewise.
2126 (getLocale): Likewise.
2127 (initialize): Likewise.
2128 (iterator): Likewise.
2130 (toArray): Likewise.
2132 2005-04-19 Roman Kennke <roman@kennke.org>
2134 * java/awt/MediaTracker.java:
2135 Reindented tabs to spaces.
2137 2005-04-19 Roman Kennke <roman@kennke.org>
2139 * java/awt/MediaTracker.java
2140 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2141 confused the media tracker and lead to lockups. The LOADING
2142 bit is handled on other places.
2143 (addImage): Removed the 'start image tracking' stuff. This
2144 is not necessary and could confuse the media tracker.
2145 (checkAll): Improved the check for image status so that
2146 images that already complete images are detected. Also now
2147 are really all images checked and if necessary loaded. Before
2148 the method bailed out after the first incomplete image.
2149 (statusAll): Detect images that are complete after the
2150 call to Component.prepareImage(..).
2151 (checkID): The same as in checkAll.
2152 (statusID): The same as in statusAll.
2154 2005-04-19 Roman Kennke <roman@kennke.org>
2156 * java/awt/MediaTracker.java
2157 (addImage): Synchronized list access.
2158 (waitForAll): Fixed comparison of time (changed < to >).
2159 (waitForID): Fixed comparison of time (changed < to >).
2160 (removeImage): Synchronized list access.
2162 2005-04-19 Roman Kennke <roman@kennke.org>
2164 * java/awt/MediaTracker.java
2165 Added API documentation.
2167 2005-04-19 Roman Kennke <roman@kennke.org>
2169 * java/awt/MediaTracker.java
2170 (MediaEntry.imageUpdate): Fixed flags. The different flags
2171 must not be ORed together.
2172 (checkAll): Modified to handle different meaning of the flags.
2173 (waitForAll): Fixed so that it waits maximum the
2174 specified amount of milliseconds.
2175 (statusAll): Modified to handle different meaning of the flags.
2176 (waitForID): Fixed so that it waits maximum the
2177 specified amount of milliseconds.
2179 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2181 * java/awt/Font.java (decode): Handle null argument and allow
2184 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2186 * java/beans/EventHandler.java: Reworked documentation.
2187 (invoke): Fixed behavior to match spec.
2189 2005-04-19 Michael Koch <konqueror@gmx.de>
2191 * java/awt/print/PrinterJob.java
2192 (pageDialog): New method.
2193 (printDialog): Implemented.
2195 2005-04-19 Michael Koch <konqueror@gmx.de>
2197 * java/awt/image/ConvolveOp.java:
2198 Removed comment added by eclipse.
2200 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2202 * java/awt/image/IndexColorModel.java
2203 (getRGB): Check if pixel is negative.
2205 2005-04-19 Michael Koch <konqueror@gmx.de>
2207 * java/awt/image/RasterOp.java:
2208 Fixed wrong formatting.
2210 2005-04-18 Roman Kennke <roman@kennke.org>
2212 * java/awt/Compmonent.java
2213 (setComponentOrientation): Made this property firing a
2214 PropertyChangeEvent.
2216 2005-04-18 Roman Kennke <roman@kennke.org>
2218 * java/awt/BorderLayout.java
2219 (calcSize): Check for overflow when component sizes are added.
2221 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2223 * java/awt/AWTEvent.java (toString): Added case
2224 for source not being an AWT component.
2226 2005-04-18 Chris Burdess <dog@gnu.org>
2228 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2230 2005-04-18 Michael Koch <konqueror@gmx.de>
2232 gnu/java/awt/EmbeddedWindowSupport.java,
2233 gnu/java/net/HeaderFieldHelper.java,
2234 gnu/java/net/URLParseError.java,
2235 gnu/java/net/protocol/file/Handler.java,
2236 gnu/java/net/protocol/jar/Handler.java:
2237 Fixed usage of @author tag.
2239 2005-04-18 Michael Koch <konqueror@gmx.de>
2241 * gnu/xml/aelfred2/XmlParser.java:
2242 Reverted my typo fix.
2244 2005-04-18 Michael Koch <konqueror@gmx.de>
2246 * java/awt/geom/CubicCurve2D.java,
2247 java/awt/geom/QuadCurve2D.java:
2248 Fixed mentioning of Brian Gouph.
2250 2005-04-18 Michael Koch <konqueror@gmx.de>
2252 * gnu/java/awt/Buffers.java,
2253 gnu/java/awt/image/ImageDecoder.java,
2254 gnu/java/awt/image/XBMDecoder.java,
2255 gnu/java/awt/peer/ClasspathFontPeer.java,
2256 gnu/java/net/CRLFInputStream.java,
2257 gnu/java/net/EmptyX509TrustManager.java,
2258 gnu/java/net/LineInputStream.java,
2259 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2260 gnu/java/net/protocol/ftp/BlockInputStream.java,
2261 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2262 gnu/java/net/protocol/ftp/DTP.java,
2263 gnu/java/net/protocol/ftp/DTPInputStream.java,
2264 gnu/java/net/protocol/ftp/FTPConnection.java,
2265 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2266 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2267 gnu/java/net/protocol/ftp/StreamInputStream.java,
2268 gnu/java/net/protocol/http/ChunkedInputStream.java,
2269 gnu/java/net/protocol/http/HTTPConnection.java,
2270 gnu/java/net/protocol/http/HTTPURLConnection.java,
2271 gnu/java/net/protocol/http/Headers.java,
2272 gnu/java/net/protocol/http/Request.java,
2273 gnu/java/nio/ChannelInputStream.java,
2274 gnu/java/nio/ChannelOutputStream.java,
2275 gnu/java/nio/InputStreamChannel.java,
2276 gnu/java/nio/OutputStreamChannel.java,
2277 gnu/java/nio/SelectorProviderImpl.java,
2278 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2279 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2280 gnu/java/rmi/dgc/DGCImpl.java,
2281 gnu/java/rmi/registry/RegistryImpl.java,
2282 gnu/java/rmi/server/ProtocolConstants.java,
2283 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2284 gnu/java/rmi/server/RMIIncomingThread.java,
2285 gnu/java/rmi/server/RMIObjectInputStream.java,
2286 gnu/java/rmi/server/RMIObjectOutputStream.java,
2287 gnu/java/rmi/server/RMIVoidValue.java,
2288 gnu/java/rmi/server/UnicastConnectionManager.java,
2289 gnu/java/rmi/server/UnicastRef.java,
2290 gnu/java/rmi/server/UnicastRemoteCall.java,
2291 gnu/java/rmi/server/UnicastRemoteStub.java,
2292 gnu/java/rmi/server/UnicastServerRef.java,
2293 gnu/java/security/OID.java,
2294 gnu/java/security/der/DERReader.java,
2295 gnu/java/security/provider/CollectionCertStoreImpl.java,
2296 gnu/java/security/provider/DSAParameterGenerator.java,
2297 gnu/java/security/provider/DefaultPolicy.java,
2298 gnu/java/security/provider/EncodedKeyFactory.java,
2299 gnu/java/security/provider/GnuDHPublicKey.java,
2300 gnu/java/security/provider/GnuDSAPrivateKey.java,
2301 gnu/java/security/provider/GnuDSAPublicKey.java,
2302 gnu/java/security/provider/GnuRSAPrivateKey.java,
2303 gnu/java/security/provider/GnuRSAPublicKey.java,
2304 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2305 gnu/java/security/provider/RSA.java,
2306 gnu/java/security/provider/SHA1PRNG.java,
2307 gnu/java/security/provider/SHA1withRSA.java,
2308 gnu/java/security/provider/X509CertificateFactory.java,
2309 gnu/java/security/x509/GnuPKIExtension.java,
2310 gnu/java/security/x509/X500DistinguishedName.java,
2311 gnu/java/security/x509/X509CRL.java,
2312 gnu/java/security/x509/X509CRLEntry.java,
2313 gnu/java/security/x509/X509CertPath.java,
2314 gnu/java/security/x509/X509CertSelectorImpl.java,
2315 gnu/java/security/x509/X509Certificate.java,
2316 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2317 gnu/java/security/x509/ext/BasicConstraints.java,
2318 gnu/java/security/x509/ext/CRLNumber.java,
2319 gnu/java/security/x509/ext/CertificatePolicies.java,
2320 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2321 gnu/java/security/x509/ext/Extension.java,
2322 gnu/java/security/x509/ext/GeneralNames.java,
2323 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2324 gnu/java/security/x509/ext/KeyUsage.java,
2325 gnu/java/security/x509/ext/PolicyConstraint.java,
2326 gnu/java/security/x509/ext/PolicyMappings.java,
2327 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2328 gnu/java/security/x509/ext/ReasonCode.java,
2329 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2330 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2331 Reorganized import statements.
2333 2005-04-18 Michael Koch <konqueror@gmx.de>
2335 * gnu/java/awt/color/CieXyzConverter.java,
2336 gnu/java/awt/color/ClutProfileConverter.java,
2337 gnu/java/awt/color/ColorLookUpTable.java,
2338 gnu/java/awt/color/ColorSpaceConverter.java,
2339 gnu/java/awt/color/GrayProfileConverter.java,
2340 gnu/java/awt/color/GrayScaleConverter.java,
2341 gnu/java/awt/color/LinearRGBConverter.java,
2342 gnu/java/awt/color/ProfileHeader.java,
2343 gnu/java/awt/color/PyccConverter.java,
2344 gnu/java/awt/color/RgbProfileConverter.java,
2345 gnu/java/awt/color/SrgbConverter.java,
2346 gnu/java/awt/color/TagEntry.java,
2347 gnu/java/awt/color/ToneReproductionCurve.java:
2348 Standardized file headers.
2350 2005-04-16 Tom Tromey <tromey@redhat.com>
2352 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2353 'ANY' package-private.
2355 2005-04-15 Tom Tromey <tromey@redhat.com>
2357 * Makefile.in: Rebuilt.
2358 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2359 (libgcj0_convenience_la_LIBADD): ... here.
2361 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2363 * gij.cc (version): Properly quote java version.
2364 (main): Fix typo in comment.
2366 2005-04-13 Mark Wielaard <mark@klomp.org>
2368 * java/lang/natRuntime.cc (insertSystemProperties): Set
2369 java.class.path to CLASSPATH if not already set.
2371 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2373 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2375 2005-04-12 Mike Stump <mrs@apple.com>
2377 * configure: Regenerate.
2379 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2382 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2383 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2385 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2388 * scripts/TexinfoDoclet.java: Removed.
2389 * Makefile.am (texinfo): Removed.
2390 * Makefile.in: Regenerated.
2392 2005-04-11 Michael Koch <konqueror@gmx.de>
2394 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2395 Fixed wrong casting.
2397 2005-04-06 Andrew Haley <aph@redhat.com>
2399 * testsuite/libjava.lang/bytearray.java: New file.
2400 * testsuite/libjava.lang/bytearray.out: New file.
2401 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2402 (loadClass): Use it.
2403 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2405 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2407 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2408 gcj-dbtool dependency
2409 * Makefile.in: Regenerated
2411 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2413 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2414 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2416 2005-04-05 Andrew Haley <aph@redhat.com>
2418 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2419 (Tokenizer): New class.
2420 (getFiles): New method.
2421 (main): Add "-" argument.
2423 Read list of files from stdin when merging map databases.
2424 (usage): Add "-" argument.
2428 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2431 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2432 * Makefile.in: Regenerate.
2433 * configure.ac: Add --with-java-home option.
2434 * configure: Regenerate.
2435 * external/Makefile.in: Regenerate.
2436 * external/sax/Makefile.in: Regenerate.
2437 * external/w3c_dom/Makefile.in: Regenerate.
2438 * gcj/Makefile.in: Regenerate.
2439 * include/Makefile.in: Regenerate.
2440 * testsuite/Makefile.in: Regenerate.
2441 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2444 2005-04-05 Tom Tromey <tromey@redhat.com>
2446 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2447 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2448 Rewrote to use _Jv_FindClassFromSignature.
2449 * verify.cc (resolve): throw NoClassDefFoundError.
2450 * link.cc (resolve_field): Throw NoClassDefFoundError.
2451 (find_field): Likewise.
2452 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2453 Handle error cases. Added 'endp' argument.
2454 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2456 2005-04-05 Tom Tromey <tromey@redhat.com>
2458 * Makefile.in: Rebuilt.
2459 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2460 gtk_awt_peer_sources.
2461 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2462 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2463 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2464 (gtk-awt-peer.lo): New target.
2466 2005-04-04 Steve Pribyl <steve@netfuel.com>
2469 * configure.ac: Fix fastjar definition for cross builds.
2470 * configure: Rebuilt.
2472 2005-04-04 Tom Tromey <tromey@redhat.com>
2474 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2475 it was already found.
2477 2005-04-04 Tom Tromey <tromey@redhat.com>
2479 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2480 org.metastatic.jessie.
2482 2005-04-02 Anthony Green <green@redhat.com>
2485 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2487 2005-04-02 Mark Wielaard <mark@klomp.org>
2489 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2490 Attributes and attribute order doesn't matter.
2491 (BasicAttributesEnumeration.where): Initialize to zero.
2492 (BasicAttributesEnumeration.nextElement): Update and compare where
2493 appropriately (zero based).
2495 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2497 PR libgcj/20090, PR libgcj/20526
2498 * gij.cc (nonstandard_opts_help): New function.
2499 (add_option): New function.
2500 (main): Support java options. Set java.class.path. Don't set
2502 * prims.cc (parse_x_arg): New function.
2503 (parse_init_args): Call parse_x_arg for -X and _ options, when
2504 ignoreUnrecognized is true.
2505 (new _Jv_RunMain): New vm_args variant.
2506 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2507 (_Jv_Jar_Class_Path): Remove variable.
2508 * include/java-props.h: Likewise.
2509 * include/cni.h (JvRealloc): New function.
2510 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2511 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2512 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2514 * configure.ac (JV_VERSION): Define.
2515 (JV_API_VERSION): Likewise.
2516 * configure: Regenerate.
2517 * include/config.h.in: Regenerate.
2519 2005-04-01 Mark Anderson <mark@panonet.net>
2521 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2522 -Infinity as parameters.
2524 2005-04-01 Michael Koch <konqueror@gmx.de>
2526 * java/io/PipedInputStream.java
2527 (read): Make sure a positive byte value is returned. Revised javadoc.
2528 Thanks to Olafur Bragason for reporting these bugs.
2530 2005-04-01 Tom Tromey <tromey@redhat.com>
2532 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2533 Updated for name change.
2534 (nativeFindClass): New method.
2535 (loadClass): Use nativeFindClass.
2536 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2538 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2539 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2541 (initialize): New method.
2542 (nativeFindClass): Declare.
2543 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2544 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2545 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2547 (definePackageForNative): Removed.
2548 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2549 Moved to VMClassLoader.java.
2550 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2551 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2552 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2553 removed VMClassLoader.java.
2554 (nat_source_files): Removed natVMClassLoader.cc.
2556 2005-04-01 Tom Tromey <tromey@redhat.com>
2558 * Makefile.in: Rebuilt.
2559 * Makefile.am (db_pathtail): Use $(gcc_version), not
2562 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2564 * java/util/Timer.java
2565 (run): Stop the queue if a task throws an exception.
2567 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2569 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2571 2005-03-29 Ian Lance Taylor <ian@airs.com>
2573 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2574 * external/sax/Makefile.in: Rebuild.
2575 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2577 * external/w3c_dom/Makefile.in: Rebuild.
2579 2005-03-29 Tom Tromey <tromey@redhat.com>
2581 * java/lang/natRuntime.cc (insertSystemProperties): Set
2582 gnu.gcj.runtime.endorsed.dirs.
2583 * Makefile.in: Rebuilt.
2584 * Makefile.am (ordinary_java_source_files): Added
2585 HelperClassLoader.java.
2586 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2587 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2589 (init): Use addDirectoriesFromProperty.
2590 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2591 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2592 gnu.gcj.runtime.endorsed.dirs.
2593 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2595 2005-03-26 Chris Burdess <dog@gnu.org>
2597 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2600 2005-03-13 Michael Koch <konqueror@gmx.de>
2602 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2604 2005-03-11 Chris Burdess <dog@gnu.org>
2606 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2609 2005-02-27 Chris Burdess <dog@gnu.org>
2611 * gnu/xml/aelfred2/JAXPFactory.java,
2612 gnu/xml/aelfred2/SAXDriver.java,
2613 gnu/xml/aelfred2/XmlParser.java,
2614 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2615 formatting conventions. Replaced arrays of Object with struct-like
2616 classes for easier maintainability. Made SAXDriver.stringInterning
2617 package private to allow access from XmlParser inside the loop without
2618 a method call overhead.
2620 2005-03-11 Chris Burdess <dog@gnu.org>
2622 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2625 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2627 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2628 settings to sub Makefiles.
2629 (GCJH, ZIP): Prefix with top_builddir.
2630 * configure: Rebuild.
2631 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2632 * external/w3c_dom/Makefile.in: Rebuild.
2633 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2634 * external/sax/Makefile.in: Rebuild.
2636 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2638 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2639 libsocket to the libraries to link for Solaris.
2641 2005-03-28 Per Bothner <per@bothner.com>
2643 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2644 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2646 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2648 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2649 to fix a ONESTEP fallout.
2650 * Makefile.in: Regenerate.
2652 2005-03-25 Mike Stump <mrs@apple.com>
2654 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2655 paths like we do for the compiler, as we use it in external/sax
2656 and it doesn't get MULTIBUILDTOP right when multilibing.
2658 2005-03-24 Anthony Green <green@redhat.com>
2660 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2662 (usage): Add [LIBDIR] to help output.
2663 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2664 * Makefile.am (AM_CXXFLAGS): Define
2665 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2666 (db_pathtail): New macro.
2668 2005-03-24 Tom Tromey <tromey@redhat.com>
2670 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2671 add sax and w3c libraries.
2672 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2674 * external/w3c_dom/Makefile.in: Rebuilt.
2675 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2677 (libw3c_gcj_la_LDFLAGS): New variable.
2678 (noinst_LTLIBRARIES): Renamed.
2679 * external/sax/Makefile.in: Rebuilt.
2680 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2682 (libsax_gcj_la_LDFLAGS): New variable.
2683 (noinst_LTLIBRARIES): Renamed.
2685 2005-03-23 Tom Tromey <tromey@redhat.com>
2687 * Makefile.in: Rebuilt.
2688 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2689 (libgcj0_convenience_la_SOURCES): Don't include
2690 gnu_xml_source_files.
2691 (libgcj0_convenience_la_LIBADD): New variable.
2692 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2693 (all_java_source_files): javax_imageio_source_files,
2694 javax_xml_source_files, and gnu_java_beans_source_files.
2695 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2696 (gnu-xml.lo): New target.
2697 (javax-imageio.lo): Likewise.
2698 (javax-xml.lo): Likewise.
2699 (gnu-java-beans.lo): Likewise.
2700 (gnu_java_beans_source_files): New variable.
2701 (javax_imageio_source_files): Likewise.
2702 (javax_xml_source_files): Likewise.
2703 (javax_source_files): Moved files to other variable.
2704 (awt_java_source_files): Likewise.
2705 (ordinary_java_source_files): Added BootClassLoader.java.
2706 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2707 not system class loader.
2708 (initBootLoader): New method.
2709 (loadClass): Search bootLoader.
2710 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2711 boot loader, not system class loader.
2712 (_Jv_UnregisterInitiatingLoader): Likewise.
2713 (_Jv_FindClass): Likewise. Ensure entries in
2714 bootstrap_class_list are unique.
2715 * java/lang/natClass.cc (getClassLoader): Don't special case
2716 system class loader.
2717 * java/lang/VMClassLoader.java (bootLoader): New field.
2718 (getResource): Use bootLoader.
2719 (getResources): Likewise.
2720 (initBootLoader): Declare.
2721 * gnu/gcj/runtime/BootClassLoader.java: New file.
2722 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2723 (EMPTY_ENUMERATION): Now package-private.
2724 * external/w3c_com/Makefile.in: Rebuilt.
2725 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2726 (w3c.jar): New target.
2727 (classes.stamp): Updated.
2728 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2729 Changed name of library.
2730 (libw3c_gcj_la_SOURCES): New variable.
2731 (libw3c_gcj_la_GCJFLAGS): Likewise.
2732 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2733 * external/sax/Makefile.in: Rebuilt.
2734 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2735 (sax.jar): New target.
2736 (classes.stamp): Updated.
2737 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2738 Changed name of library.
2739 (libsax_gcj_la_SOURCES): New variable.
2740 (libsax_gcj_la_GCJFLAGS): Likewise.
2741 (source_files): Renamed from libsax_convenience_la_SOURCES.
2742 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2744 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2746 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2748 2005-03-23 Sven de Marothy <sven@physto.se>
2750 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2752 * java/util/Calendar.java
2753 (set): Use starting day of week when one is needed if none is given.
2754 * java/text/SimpleDateFormat.java
2755 (parse): Handle 1-12 and 1-24 timestamps correctly.
2756 * java/util/GregorianCalendar.java
2757 (computeTime, computeFields): HOUR should be in 0-11 format.
2758 (nonLeniencyCheck): Adjust leniency checking to that fact.
2759 (getLinearDay): Should be private.
2761 2005-03-23 Tom Tromey <tromey@redhat.com>
2763 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2764 (_Jv_CheckABIVersion): Use it.
2766 2005-03-22 Mike Stump <mrs@apple.com>
2768 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2770 * include/posix.h: .dylib is used on all Apple MACH platforms.
2771 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2773 2005-03-22 Tom Tromey <tromey@redhat.com>
2775 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2777 2005-03-21 Tom Tromey <tromey@redhat.com>
2779 * java/lang/VMCompiler.java (static block): Also catch
2780 BufferUnderflowException.
2782 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2784 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2785 set tool_include_dir. In all substitutions, leave $(gcc_version)
2786 to be expanded by the Makefile.
2787 * aclocal.m4, configure: Regenerate.
2788 * Makefile.am: Set gcc_version. Replace all uses of
2789 @gcc_version@ with $(gcc_version).
2790 * external/Makefile.am, external/sax/Makefile.am
2791 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2792 * testsuite/Makefile.am: Set gcc_version.
2793 * include/Makefile.am: Set gcc_version and tool_include_dir.
2794 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2795 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2796 * testsuite/Makefile.in: Regenerate.
2798 2005-03-17 Andrew Haley <aph@redhat.com>
2800 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2802 Pass klass to _Jv_StackTrace::GetClassContext().
2803 * java/lang/ClassLoader.java (getParent): Pass class to
2804 VMSecurityManager.getClassContext()
2805 (getSystemClassLoader): Likewise.
2806 * java/lang/Package.java (getPackage): Likewise.
2807 (getPackages): Likewise.
2808 * java/lang/SecurityManager.java (getClassContext): Likewise.
2809 (currentClassLoader): Likewise.
2810 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2811 (currentClassLoader) Add new arg: caller.
2812 Pass caller to VMSecurityManager.getClassContext.
2814 * stacktrace.cc (GetClassContext): Correct calculation of
2817 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2818 im->source_file_name.
2820 2005-03-16 Andrew Haley <aph@redhat.com>
2822 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2824 2005-03-16 Tom Tromey <tromey@redhat.com>
2826 * link.cc (ensure_class_linked): Removed #ifdef.
2827 (print_class_loaded): Likewise.
2828 (wait_for_state): Likewise.
2829 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2830 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2831 * include/java-interp.h: ... here.
2833 2005-03-16 Tom Tromey <tromey@redhat.com>
2835 * gnu/java/lang/MainThread.java (run): Load main class using
2836 system class loader.
2838 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2840 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2841 lgcc_s to the libraries to link for Darwin.
2843 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2845 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2846 interpreter-specific code with #ifdef INTERPRETER.
2847 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2848 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2849 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2850 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2851 #ifdef INTERPRETER. Also protect declarations that use it.
2852 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2853 #ifdef INTERPRETER block.
2855 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2858 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2859 * Makefile.in: Rebuilt.
2861 2005-03-15 David Daney <ddaney@avtrex.com>
2863 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2866 2005-03-15 David Daney <ddaney@avtrex.com>
2868 * java/io/BufferedInputStream.java (available): Use 'in' instead
2869 of 'super' for underlying stream access.
2871 (read(byte[], int, int)): Ditto.
2873 (skip): Call skip on underlying stream when possible.
2875 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2877 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2878 SJLJ_EXCEPTIONS is defined.
2880 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2882 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2885 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2887 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2889 (libjava_arguments): Likewise.
2891 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2892 (gcj_jni_test_one): Likewise.
2893 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2894 Add flags to keep the Darwin linker quiet.
2895 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2896 Add -liconv for Darwin.
2898 2005-03-11 Tom Tromey <tromey@redhat.com>
2900 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2901 (_Jv_CheckABIVersion): Use it.
2903 2005-03-11 Tom Tromey <tromey@redhat.com>
2905 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2906 (usage): Document '-p'.
2907 * Makefile.in: Rebuilt.
2908 * Makefile.am (dbexecdir): New variable.
2909 (db_name): Likewise.
2910 (dbexec_DATA): Likewise.
2911 ($(db_name)): New target.
2912 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2913 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2916 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2918 * exception.cc: Remove stray MethodRef.h include.
2919 * java/lang/natClass.cc: Likewise.
2920 * gnu/gcj/runtime/MethodRef.java: Removed.
2921 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2922 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2923 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2924 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2925 * Makefile.in: Rebuilt.
2927 2005-03-10 Tom Tromey <tromey@redhat.com>
2929 * Makefile.in: Rebuilt.
2930 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2932 2005-03-10 Chris Burdess <dog@bluezoo.org>
2934 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2935 not currently parsing the DTD.
2937 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2939 New Stack Trace infrastructure.
2940 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2941 (gnu/gcj/runtime/StackTrace.java): Removed.
2942 (ordinary_java_source_files): Remove obsolete files.
2943 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2944 * configure.host (fallback_backtrace_h): Set backtrace header
2945 for mingw and cygwin targets.
2946 * configure.ac: Make symlink for fallback backtrace headers.
2947 * Makefile.in, configure: Rebuilt.
2948 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2949 Read 'LineNumberTable' attribute.
2950 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2952 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2954 * exception.cc: Remove unused include.
2955 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2956 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2957 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2958 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2959 table to direct threaded instruction values.
2960 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2961 (_Jv_InterpMethod::run): No longer member function. All
2962 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2963 is made or where an instruction could throw.
2964 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2966 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2967 (catch_fpe): Likewise.
2968 * stacktrace.cc: New file. Stack trace code now here.
2969 * gnu/gcj/runtime/MethodRef.java:
2970 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2971 calls addr2line to look up PC addresses in a given binary or shared
2973 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2974 gnu/gcj/runtime/natStackTrace.cc: Removed.
2975 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2976 this function name is specially recognised by the stack trace code
2977 and shouldn't be changed.
2978 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2979 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2980 (_Jv_InterpMethod::run): Update declaration.
2981 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2983 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2984 * include/java-stack.h: New file. Declarations for stack tracing.
2985 * include/jvm.h (_Jv_Frame_info): Removed.
2986 * java/lang/Class.h: Update friend declarations.
2987 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2989 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2990 (getStackTrace): Now native.
2991 (data): New RawDataManaged field.
2992 * java/lang/natClass.cc: Update includes.
2993 (forName): Use _Jv_StackTrace::GetCallingClass for
2994 calling-classloader check.
2995 (getClassLoader): Likewise.
2996 * java/lang/natRuntime.cc: Update includes.
2997 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2998 * java/lang/natVMSecurityManager.cc: Update includes.
2999 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3000 * java/lang/natVMThrowable.cc: New file. Native methods for
3002 * java/lang/reflect/natArray.cc: Update includes.
3003 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3004 accessibility check.
3005 * java/lang/reflect/natConstructor.cc: Update includes.
3006 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3007 accessibility check.
3008 * java/lang/reflect/natField.cc: Update includes.
3009 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3010 accessibility check.
3011 * java/lang/reflect/natMethod.cc: Update includes.
3012 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3013 accessibility check.
3014 * java/util/natResourceBundle.cc: Update includes.
3015 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3016 * java/util/logging/natLogger.cc: Update includes. Use
3017 _Jv_StackTrace::GetCallerInfo to get call-site info.
3018 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3020 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3023 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3025 * testsuite/libjava.compile/PR20312.java: New file.
3026 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3027 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3029 2005-03-09 Andrew Haley <aph@redhat.com>
3031 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3033 (smallTransferTo): New.
3034 (transferFrom): Loop around smallTransferFrom, copying pageSize
3036 (transferTo): Likewise.
3038 2005-03-09 David Daney <ddaney@avtrex.com>
3041 Merge BufferedInputStream from GNU Classpath.
3042 * java/io/BufferedInputStream.java (marktarget): Field removed.
3043 (CHUNKSIZE): Field removed.
3044 (bufferSize): New field.
3045 (BufferedInputStream): Initialize fields.
3046 (close): Invalidate mark and buffer indexes.
3048 (read()): Move mark handling code to refill.
3049 (read(byte[], int, int)): Ditto.
3050 (skip): Ditto and simplify EOF testing.
3051 (refill): Rewritten.
3052 * java/io/InputStreamReader.java (refill): Removed mark and reset
3053 of internal BufferedInputStream.
3055 2005-03-09 Tom Tromey <tromey@redhat.com>
3057 * java/lang/natVMClassLoader.cc (defineClass): Reference
3058 'systemClassLoader' field directly.
3059 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3061 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3062 Reference 'systemClassLoader' field directly.
3063 (_Jv_UnregisterInitiatingLoader): Likewise.
3064 (_Jv_FindClass): Likewise.
3066 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3068 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3070 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3071 the file in GNU Classpath style.
3073 2005-03-09 Tom Tromey <tromey@redhat.com>
3075 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3076 (toString): Synchronize.
3078 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3080 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3081 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3083 2005-03-07 Tom Tromey <tromey@redhat.com>
3085 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3086 (usage): Document '-f'.
3088 2005-03-07 Tom Tromey <tromey@redhat.com>
3090 * java/lang/VMCompiler.java (md5Digest): New field.
3091 (compileClass): Clone md5Digest instead of looking up a new one.
3093 2005-03-07 Tom Tromey <tromey@redhat.com>
3096 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3097 * link.cc (find_field_helper): Added 'type' argument.
3098 (find_field): Updated.
3100 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3101 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3102 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3103 throw UnsupportedOperationException, fixed comments.
3104 (setFont, setForeground): Fixed comments.
3105 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3106 return type to boolean.
3107 (getNextEvent): Fixed javadocs.
3108 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3109 (nativeQueueEmpty): Removed unused code.
3110 (iterateNativeQueue): Removed outer loop.
3112 2005-03-06 Roger Sayle <roger@eyesopen.com>
3115 * Makefile.am (libgcj0_convenience.la): Revert last change.
3116 * Makefile.in: Regenerate.
3118 2005-03-05 Anthony Green <green@redhat.com>
3120 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3121 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3122 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3123 (_Jv_GetDrawingSurface): Set visualID.
3124 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3125 (JAWT_GetAWT): Set Lock and Unlock.
3126 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3128 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3129 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3130 JAWT_LOCK_SURFACE_CHANGED): New macros.
3131 (struct _JAWT): Add Lock and Unlock.
3133 2005-03-05 Roger Sayle <roger@eyesopen.com>
3134 Alexandre Oliva <aoliva@redhat.com>
3135 Kelley Cook <kcook@gcc.gnu.org>
3138 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3139 of the object files to link to avoid exceeding the command line
3140 length limits on some platforms.
3141 (clean-local): Clean up objectlist files.
3142 * Makefile.in: Regenerate.
3144 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3146 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3147 spec_case. Initialize pointer mlo.
3149 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3152 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3154 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3157 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3158 uninitialized variable z.
3160 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3161 possible unused variables.
3163 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3165 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3167 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3170 * testsuite/libjava.jni/jni.exp
3171 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3173 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3175 2005-02-23 David Daney <ddaney@avtrex.com>
3177 * configure.host: Don't use -mxgot for MIPS builds.
3179 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3182 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3183 (COMPPATH): Removed.
3184 (ZIP, GCJH): Replace it with ../$(host_subdir).
3185 (built_gcc_dir): Add $(host_subdir).
3186 * configure: Regenerate.
3187 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3188 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3189 external/w3c_dom/Makefile.in: Regenerate.
3191 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3193 * java/awt/font/TextAttribute.java: changed names to lower case;
3194 (readResolve): implemented.
3195 Added doc comments all over.
3197 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3200 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3201 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3202 value. Move argument parsing code to prims.cc.
3203 * prims.cc (no_properties): Remove.
3204 (_Jv_Compiler_Properties): Initialize to NULL.
3205 (_Jv_Properties_Count): Initialize to 0.
3206 (parse_verbose_args): New function.
3207 (parse_init_args): New function.
3208 (_Jv_CreateJavaVM): Call parse_init_args.
3209 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3210 * gcj/cni.h (JvVMOption): New struct.
3211 (JvVMInitArgs): Likewise.
3212 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3214 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3215 (_Jv_VMInitArgs): Likewise.
3216 * include/java-props.h (_Jv_Properties_Count): Declare.
3217 * java/lang/natRuntime.cc (insertSystemProperties): Use
3218 _Jv_Properties_Count in for loop exit condition.
3219 * testsuite/libjava.jni/jni.exp
3220 (gcj_invocation_compile_c_to_binary): New procedure.
3221 (gcj_invocation_test_one): Likewise.
3222 (gcj_jni_run): Run JNI invocation API tests.
3223 * testsuite/libjava.jni/invocation/PR16923.c,
3224 testsuite/libjava.jni/invocation/PR16923.java,
3225 testsuite/libjava.jni/invocation/PR16923.out: New test.
3227 2005-02-23 Michael Koch <konqueror@gmx.de>
3229 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3230 * Makefile.in: Regenerated.
3232 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3234 * gnu/java/nio/ChannelReader: Fixed comments.
3236 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3238 * java/nio/channels/Channels: Added FIXMEs about
3239 stub method implementation.
3240 (newReader): Implemented.
3241 * gnu/java/nio/ChannelReader: New class.
3243 2005-02-23 Michael Koch <konqueror@gmx.de>
3245 * java/text/SimpleDateFormat.java:
3246 Removed unused import.
3248 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3251 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3252 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3253 * Makefile.in: Regenerate.
3254 * configure.ac: Check for libXtst.
3255 * configure: Regenerate.
3257 2005-02-22 Mark Wielaard <address@bogus.example.com>
3259 * java/security/AlgorithmParameterGenerator.java (getInstance):
3260 Mention provider when throwing NoSuchProviderException.
3261 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3262 * java/security/KeyFactory.java (getInstance): Likewise.
3263 * java/security/KeyStore.java (getInstance): Likewise.
3264 * java/security/SecureRandom.java (getInstance): Likewise.
3265 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3267 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3269 * java/lang/reflect/Proxy.java,
3271 java/security/SecureRandom.java,
3272 java/util/Timer.java,
3273 java/util/prefs/AbstractPreferences.java:
3274 Don't catch java.lang.ThreadDeath.
3276 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3278 * java/awt/font/TransformAttribute.java,
3279 (TransformAttribute(AffineTransform)): throw
3280 IllegalArgumentException for null transform.
3281 (getTransform): return a copy of transform.
3282 Added doc comments to all.
3284 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3286 * java/io/Externalizable.java,
3287 java/io/Serializable.java
3288 (serialVersionUID): Removed.
3289 * java/rmi/server/RemoteObject.java,
3290 java/rmi/server/UID.java
3291 (serialVersionUID): Made private.
3292 * java/rmi/server/RemoteRef.java,
3293 java/rmi/server/ServerRef.java
3294 (serialVersionUID): Set proper value.
3295 * java/security/interfaces/DSAPrivateKey.java,
3296 java/security/interfaces/DSAPublicKey.java,
3297 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3298 java/security/interfaces/RSAPrivateCrtKey.java,
3299 java/security/interfaces/RSAPrivateKey.java,
3300 java/security/interfaces/RSAPublicKey.java,
3301 javax/crypto/SecretKey.java
3302 (serialVersionUID): Added.
3304 2005-02-22 Tom Tromey <tromey@redhat.com>
3306 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3308 2005-02-22 Tom Tromey <tromey@redhat.com>
3311 * verify.cc (type::EITHER): New constant.
3312 (check_field_constant): Use it.
3313 (type::compatible): Handle it.
3315 2005-02-22 Michael Koch <konqueror@gmx.de>
3317 * gnu/java/security/PolicyFile.java,
3318 gnu/java/security/pkcs/PKCS7SignedData.java,
3319 gnu/java/security/pkcs/SignerInfo.java:
3320 Fixed copyright header.
3322 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3324 * java/beans/PropertyDescriptor.java
3325 (PropertyDescriptor,setReadMethod): Set propertyType.
3327 2005-02-22 Michael Koch <konqueror@gmx.de>
3329 * java/nio/DirectByteBufferImpl.java
3330 (owner): Fixed formatting of javadoc.
3331 * java/text/DateFormat.java
3332 (getAvailableLocales): Fixed formatting.
3333 * java/text/SimpleDateFormat.java:
3334 Fixed formatting and import statement order.
3335 * java/util/Calendar.java
3336 (Calendar): Fixed javadoc to be HTML compliant.
3337 * java/util/SimpleTimeZone.java:
3340 2005-02-22 Roman Kennke <roman@ontographics.com>
3342 * javax/swing/plaf/basic/BasicLookAndFeel.java
3343 (initComponentDefaults): Fixed Button left and right margin.
3345 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3347 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3351 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3352 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3353 (getWidth): New method.
3354 (getHeight): Likewise.
3355 (create): Remove width, height and insets parameters. Move size
3357 (realize_cb): ... here. New function.
3358 (connectSignals): Connect realize_cb.
3359 (request_frame_extents): Remove FIXME. Move
3360 postInsetsChangedEvent lookup ...
3361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3362 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3363 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3365 (windowGetWidthID): Likewise.
3366 (windowGetHeightID): Likewise.
3368 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3372 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3374 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3376 Merge serialization from GNU Classpath.
3377 * gcj/method.h: Add missing #includes.
3378 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3379 primitive class IDs on the stream here...
3380 (resolveClass): ...not here.
3381 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3383 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3384 setLongNative, setIntNative, setShortNative, setCharNative,
3385 setByteNative, setBooleanNative, setObjectNative): New native methods.
3386 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3387 setLongNative, setIntNative, setShortNative, setCharNative,
3388 setByteNative, setBooleanNative, setObjectNative): Implement them.
3389 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3390 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3391 the constructor here.
3392 (callConstructor): Removed.
3393 (getCallersClassLoader): Removed.
3394 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3395 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3396 to control whether setting final field values is permitted. Call
3397 getAddr() with checkFinal parameter instead of setAddr().
3398 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3399 only if not done already.
3400 (getAddr): Add checkFinal parameter. Do the final field check only if
3404 2005-02-21 Mark Wielaard <mark@klomp.org>
3407 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3410 2005-02-21 Mark Wielaard <mark@klomp.org>
3413 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3414 without a super class and us ObjectStreamClass.lookupForClassObject().
3415 (resolveClass): Check for primitive types.
3416 (lookupClass): Return null when argument is null.
3418 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3420 * java/io/ObjectInputStream.java
3421 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3423 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3425 * java/io/ObjectOutputStream.java
3426 (writeObject, callWriteMethod): Replaced reflection with accessing
3427 cached info in ObjectStreamClass.
3428 (getMethod): Removed.
3429 * java/io/ObjectStreamClass.java
3430 (findMethod): Added check to make sure the method found has the
3432 (cacheMethods): Added writeReplace and writeObject methods.
3433 (setFlags): Look at new writeObjectMethod field instead of doing
3435 (writeReplaceMethod): New field.
3436 (writeObjectMethod): New field.
3438 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3439 Jeroen Frijters <jeroen@frijters.net>
3441 * java/io/ObjectInputStream.java
3442 (newObject): Changed prototype. Get a constructor reflect object
3444 (callConstructor): Removed.
3445 (allocateObject): Changed prototype.
3446 (readClassDescriptor): Build the constructor reflection directly.
3447 (readObject): Invoke newObject using the new prototype.
3449 * java/io/ObjectStreamClass.java
3450 (firstNonSerializableParent): Removed.
3451 (firstNonSerializableParentConstructor): Added.
3453 2005-02-21 Mark Wielaard <mark@klomp.org>
3455 * gnu/java/locale/LocaleInformation_en.java: Extend
3456 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3458 2005-02-21 Mark Wielaard <mark@klomp.org>
3460 * java/text/SimpleDateFormat.java
3461 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3462 NullPointerException when formatData is null.
3464 2005-02-21 Mark Wielaard <mark@klomp.org>
3466 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3467 taking dstSavings into account.
3469 2005-02-21 Sven de Marothy <sven@physto.se>
3471 * java/text/SimpleDateFormat.java,
3472 (parse): Set correct DST_OFFSET to the correct value.
3474 2005-02-21 Mark Wielaard <mark@klomp.org>
3476 * java/util/SimpleTimeZone.java (checkRule): Throw
3477 IllegalArgumentException when month out of range.
3479 2005-02-21 Sven de Marothy <sven@physto.se>
3481 * java/util/GregorianCalendar.java,
3482 (add): Don't set fields directly anymore. Use set()
3484 2005-02-21 Mark Wielaard <mark@klomp.org>
3486 * java/text/SimpleDateFormat.java (CompiledField.toString):
3487 Use StringBuffer, not StringBuilder.
3488 (toString): Likewise.
3490 2005-02-21 Sven de Marothy <sven@physto.se>
3492 * java/util/Calendar.java
3493 (clear): Dates should clear to local time.
3494 * java/util/GregorianCalendar.java
3495 (computeTime): Fix priority problem with DAY_OF_WEEK,
3496 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3498 2005-02-21 Sven de Marothy <sven@physto.se>
3500 * java/util/Calendar.java
3501 (Calendar): Constructor should clear fields.
3503 2005-02-21 Sven de Marothy <sven@physto.se>
3505 * java/text/SimpleDateFormat.java
3506 (parse): Tweak handling of 2-year dates
3507 * java/util/Calendar.java
3508 (clear): Clear fields to correct value.
3509 * java/util/GregorianCalendar.java
3510 (computeTime): Correct handling of time zones.
3511 Correct field minimum values.
3513 2005-02-21 Sven de Marothy <sven@physto.se>
3515 * java/util/Calendar.java
3516 (set) Invalidate all fields on first call to set().
3518 2005-02-21 Sven de Marothy <sven@physto.se>
3520 * java/util/GregorianCalendar.java
3521 (computeTime): Fixed handling of time zones.
3523 2005-02-21 Sven de Marothy <sven@physto.se>
3525 * java/util/Calendar.java
3526 (clear): Set values to Epoch instead of zero.
3527 (set): Set isSet to the relevant field pattern instead of just
3529 * java/util/GregorianCalendar.java
3530 (getBundle): Removed.
3531 (getDayOfYear): Removed.
3532 (getFirstDayOfMonth): New private method.
3533 (nonLeniencyCheck): New private method.
3534 (computeTime): Correct handling of insufficient data.
3536 2005-02-21 Sven de Marothy <sven@physto.se>
3538 * java/util/Calendar.java: Invalidate ERA field on setting
3540 * java/util/SimpleTimeZone.java:
3541 (getDaysInMonth): Reimplemented.
3542 * java/util/GregorianCalendar.java:
3543 (getLinearTime): Removed.
3544 (isLeapYear(int,boolean)): Removed.
3545 (before(), after()): Removed.
3546 (computeTime): Reimplemented.
3548 2005-02-21 Sven de Marothy <sven@physto.se>
3550 * java/util/Calendar.java: Reformatted.
3551 * java/util/GregorianCalendar.java: Reformatted.
3552 * java/util/SimpleTimeZone.java: Reformatted.
3554 2005-02-21 Sven de Marothy <sven@physto.se>
3556 * java/util/GregorianCalendar.java
3557 (GregorianCalendar): Update fields in the constructor
3559 2005-02-21 Noa Resare <noa@resare.com>
3561 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3562 (set(int,int)): Set and use new field.
3563 (set(int,int,int)): Check new field.
3565 2005-02-21 Noa Resare <address@hidden>
3567 * java/util/Calendar.java(set):
3568 Fix for DST related regression.
3570 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3572 * java/util/Calendar.java
3573 (setTimeInMillis): Added call to clear, removed computeFields call.
3574 * java/util/Date.java
3575 (Date(int,int,int,int,int,int)): Removed workaround for
3576 GregorianCalendar bug.
3577 * java/util/GregorianCalendar.java
3578 (GregorianCalendar): Chained all constructors to a (new)
3580 (computeTime): Fixed support for lenient month treatment.
3581 (getLinearDay): Return long instead of int.
3582 (calculateDay): Added fields argument and changed day argument
3585 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3587 * java/text/SimpleDateFormat.java
3588 Lots of documentation updates.
3589 (readObject(java.io.ObjectInputStream)): Wraps
3590 IllegalArgumentException as specified.
3591 (compileFormat(String)): Uses standardChars
3592 rather than the local pattern characters.
3593 Throws IllegalArgumentException rather than
3595 (toString()): Extended to include all variables
3597 (translateLocalizedPattern(String, String, String)):
3598 Renamed to better define the use of this method.
3600 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3602 * java/text/DateFormat.java:
3603 Documented pattern character offset constants and
3605 (Field): Added new static fields for new pattern chars.
3606 * java/text/SimpleDateFormat.java:
3607 (CompiledField): Changed name of FieldSizePair class
3608 to CompiledField after adding the character as an
3609 attribute. Changed fields to private and added
3610 accessors to give encapsulation.
3611 (CompiledField.CompiledField(int,int,char)): Extended
3612 with character field.
3613 (CompiledField.getField()): New accessor method.
3614 (CompiledField.getSize()): New acceessor method.
3615 (CompiledField.getCharacter()): New accessor method.
3616 (CompiledField.toString()): Added primarily for debugging.
3617 (standardChars): Now uses extended 24 character sequence.
3618 (compileFormat(String)): Changed to use CompiledField.
3619 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3620 java.text.FieldPosition)): Changed to use CompiledField.
3621 New handler for RFC 822 timezones added.
3623 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3625 * java/text/SimpleDateFormat.java:
3626 (parse(String, java.text.ParsePosition)):
3627 Changed 'E' and 'M' cases to use both
3628 short and long names. Extended 'z'
3629 case to also handle 'Z', and deal
3630 with simple GMT offsets such as +0100.
3631 (computeOffset(String)): New private method,
3632 which converts a GMT offset specification,
3633 such as GMT-0500 to a numeric offset in
3635 * java/util/TimeZone.java:
3636 (timezones()): Added "CEST", the daylight
3637 savings time version of "CET", or Central
3640 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3642 * java/text/SimpleDateFormat.java:
3643 (parse): Set the DST offset to 0 when parsing
3644 GMT offset timezones.
3646 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3648 * java/text/SimpleDateFormat.java:
3649 (parse): Use offset to set ZONE_OFFSET
3650 rather than the DST_OFFSET, so that
3651 GMT offset timezones change the right
3654 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3656 * java/text/SimpleDateFormat.java:
3657 (getDateFormatSymbols()): return a copy
3658 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3659 throw exception on null input
3660 (clone()): implemented to clone
3663 2005-02-21 Sven de Marothy <sven@physto.se>
3665 * java/text/SimpleDateFormat.java
3666 (parse): comparison should be case-insensitive, ignore null
3669 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3671 * gnu/java/beans/IntrospectionIncubator.java
3672 (addMethod) Reverts the patch that ntroduced a regression (see bug
3673 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3675 2005-02-21 Michael Koch <konqueror@gmx.de>
3677 * java/awt/Checkbox.java
3678 (next_checkbox_number): New static variable.
3679 (generateName): New method.
3680 (getUniqueLong): Likewise.
3681 * java/awt/Window.java
3682 (next_window_number): New static variable.
3683 (generateName): New method.
3684 (getUniqueLong): Likewise.
3686 2005-02-21 Mark Wielaard <mark@klomp.org>
3688 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3691 2005-02-21 Andrew Haley <aph@redhat.com>
3693 * Makefile.in: Rebuilt.
3694 * Makefile.am (nat_source_files): Added natLogger.cc.
3695 * java/util/logging/natLogger.cc: New file.
3696 * java/util/logging/Logger.java (getCallerStackFrame): Now
3699 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3701 * Makefile.am (all_property_files): Remove left over.
3702 (classes.stamp): Add stamp for the ONESTEP build, also known as
3703 --enable-libgcj-multifile.
3704 * Makefile.in: Regenerated.
3706 2005-02-21 Michael Koch <konqueror@gmx.de>
3708 * java/awt/Button.java,
3709 java/awt/Container.java,
3711 java/awt/Frame.java,
3712 java/text/CollationElementIterator.java,
3713 java/text/RuleBasedCollator.java,
3714 java/util/PropertyPermission.java:
3715 Fixed formatting issues all over.
3717 2005-02-21 Mark Wielaard <mark@klomp.org>
3719 * java/io/FileDescriptor.java (sync): Add real exception to
3720 SyncFailedException.
3722 2005-02-21 Michael Koch <konqueror@gmx.de>
3724 * java/io/InputStreamReader.java:
3727 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3730 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3732 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3734 * libraries/javalib/gnu/regexp/RE.java,
3735 libraries/javalib/java/io/ObjectInputStream.java,
3736 libraries/javalib/java/security/AllPermission.java,
3737 libraries/javalib/java/security/BasicPermission.java,
3738 libraries/javalib/java/security/Permissions.java,
3739 libraries/javalib/java/text/MessageFormat.java:
3740 Made 'inner' classes real public static inner classes,
3741 and made them final where possible, or removed them
3744 2005-02-20 Michael Koch <konqueror@gmx.de>
3746 * gnu/java/text/FormatCharacterIterator.java:
3747 Removed redundant modifiers.
3749 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3751 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3754 2005-02-19 Michael Koch <konqueror@gmx.de>
3756 * Makefile.am: Added new files in gnu/java/beans and
3757 java/beans/XMLDecoder.java.
3758 * Makefile.in: Regenerated.
3760 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3762 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3763 assignment behavior by using java.lang.reflect.Array.set()
3766 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3768 * gnu/java/beans/EmptyBeanInfo.java,
3769 gnu/java/beans/info/ComponentBeanInfo.java:
3770 Removed unused files.
3772 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3774 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3775 of AppletStub for java.beans.Beans.instantiate.
3776 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3778 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3779 to be conformant with Javadoc guidelines.
3780 (instantiate): Added two more overloaded variants, reworked user
3781 documentation, fixed exception behavior, fixed behavior when
3784 2005-02-19 Mark Wielaard <mark@klomp.org>
3786 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3788 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3790 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3792 * gnu/java/beans/decoder/AbstractContext.java,
3793 gnu/java/beans/decoder/AbstractCreatableContext.java,
3794 gnu/java/beans/decoder/AbstractElementHandler.java,
3795 gnu/java/beans/decoder/AbstractObjectContext.java,
3796 gnu/java/beans/decoder/ArrayContext.java,
3797 gnu/java/beans/decoder/ArrayHandler.java,
3798 gnu/java/beans/decoder/AssemblyException.java,
3799 gnu/java/beans/decoder/BooleanHandler.java,
3800 gnu/java/beans/decoder/ByteHandler.java,
3801 gnu/java/beans/decoder/CharHandler.java,
3802 gnu/java/beans/decoder/ClassHandler.java,
3803 gnu/java/beans/decoder/ConstructorContext.java,
3804 gnu/java/beans/decoder/Context.java,
3805 gnu/java/beans/decoder/DecoderContext.java,
3806 gnu/java/beans/decoder/DefaultExceptionListener.java,
3807 gnu/java/beans/decoder/DoubleHandler.java,
3808 gnu/java/beans/decoder/DummyContext.java,
3809 gnu/java/beans/decoder/DummyHandler.java,
3810 gnu/java/beans/decoder/ElementHandler.java,
3811 gnu/java/beans/decoder/FloatHandler.java,
3812 gnu/java/beans/decoder/GrowableArrayContext.java,
3813 gnu/java/beans/decoder/IndexContext.java,
3814 gnu/java/beans/decoder/IntHandler.java,
3815 gnu/java/beans/decoder/JavaHandler.java,
3816 gnu/java/beans/decoder/LongHandler.java,
3817 gnu/java/beans/decoder/MethodContext.java,
3818 gnu/java/beans/decoder/MethodFinder.java,
3819 gnu/java/beans/decoder/NullHandler.java,
3820 gnu/java/beans/decoder/ObjectContext.java,
3821 gnu/java/beans/decoder/ObjectHandler.java,
3822 gnu/java/beans/decoder/PersistenceParser.java,
3823 gnu/java/beans/decoder/PropertyContext.java,
3824 gnu/java/beans/decoder/ShortHandler.java,
3825 gnu/java/beans/decoder/SimpleHandler.java,
3826 gnu/java/beans/decoder/StaticMethodContext.java,
3827 gnu/java/beans/decoder/StringHandler.java,
3828 gnu/java/beans/decoder/VoidHandler.java: New class
3829 implementing java.beans.XMLDecoder decoding functionality.
3830 * java/beans/XMLDecoder.java: New class.
3832 2005-02-19 Michael Koch <konqueror@gmx.de>
3834 * javax/swing/JTextField.java
3835 (notfiyAction): Added javadoc.
3837 2005-02-19 Sven de Marothy <sven@physto.se>
3839 * javax/swing/SpinnerDateModel.java: Implemented.
3841 2005-02-19 Michael Koch <konqueror@gmx.de>
3843 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3844 * Makefile.in: Regenerated.
3846 2005-02-19 Michael Koch <konqueror@gmx.de>
3848 * gnu/java/nio/SelectorImpl.java:
3849 Reworked import statements.
3850 (register): Removed unused code.
3851 * java/nio/channels/Channels.java: Reformatted.
3852 * java/nio/charset/Charset.java: Likewise.
3853 * java/rmi/server/RemoteObject.java
3854 (serialVersionUID): Made private.
3855 * java/rmi/server/UID.java
3856 (serialVersionUID): Likewise.
3858 2005-02-19 Michael Koch <konqueror@gmx.de>
3860 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3861 gnu/java/net/protocol/ftp/BlockInputStream.java,
3862 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3863 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3864 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3865 gnu/java/net/protocol/ftp/DTPInputStream.java,
3866 gnu/java/net/protocol/ftp/DTP.java,
3867 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3868 gnu/java/net/protocol/ftp/FTPConnection.java,
3869 gnu/java/net/protocol/ftp/FTPException.java,
3870 gnu/java/net/protocol/ftp/FTPResponse.java,
3871 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3872 gnu/java/net/protocol/ftp/Handler.java,
3873 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3874 gnu/java/net/protocol/ftp/StreamInputStream.java,
3875 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3876 gnu/java/net/CRLFInputStream.java,
3877 gnu/java/net/CRLFOutputStream.java,
3878 gnu/java/net/GetLocalHostAction.java,
3879 gnu/java/net/protocol/ftp/package.html: New files.
3880 * Makefile.am: Added new files.
3881 * Makefile.in: Regenerated.
3883 2005-02-18 Tom Tromey <tromey@redhat.com>
3885 * link.cc (make_vtable): Remove abstract method check.
3886 (append_partial_itable): Likewise.
3889 * verify.cc (type::equals): Fixed test.
3890 * testsuite/libjava.lang/PR20056.out: New file.
3891 * testsuite/libjava.lang/PR20056.java: New file.
3893 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3895 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3896 not the HashEntry. Reported by Jean-Marie White.
3898 2005-02-18 Tom Tromey <tromey@redhat.com>
3901 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3902 * link.cc (has_field_p): New function.
3903 * verify.cc (check_field_constant): Added 'putfield' argument.
3904 (verify_instructions_0): Updated.
3905 (type::equals): New method.
3907 2005-02-18 Anthony Green <green@redhat.com>
3909 * NEWS: Draft of libgcj NEWS for 4.0.
3911 2005-02-18 Anthony Green <green@redhat.com>
3913 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3914 architecture names to "i386" for compatibility reasons. Win32
3917 2005-02-18 Anthony Green <green@redhat.com>
3919 * gij.cc (version): Change year for '--version' to 2005.
3920 * gnu/gcj/convert/Convert.java: Ditto.
3921 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3922 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3924 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3925 recent copyright year in `--version' output.
3927 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3929 * java/nio/charset/Charset.java (forName): Throws
3930 IllegalArgumentException when argument is null
3931 and added documentation.
3933 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3935 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3936 Move the position of the source buffer forward.
3938 2005-02-17 Tom Tromey <tromey@redhat.com>
3940 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3941 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3942 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3943 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3944 Changed type of second argument. Rewrote.
3945 (make_vtable): Use it.
3946 (append_partial_itable): Updated.
3947 (layout_vtable_methods): Updated.
3949 2005-02-17 Michael Koch <konqueror@gmx.de>
3951 * gnu/java/net/PlainSocketImpl.java
3952 (shutdownInput): Added javadoc.
3953 (shutdownOutput): Likewise.
3955 2005-02-17 Michael Koch <konqueror@gmx.de>
3957 * javax/print/attribute/standard/Chromaticity.java,
3958 javax/print/attribute/standard/Destination.java,
3959 javax/print/attribute/standard/MediaPrintableArea.java,
3960 javax/print/attribute/standard/MediaSize.java: New files.
3961 * Makefile.am: Added new files.
3962 * Makefile.in: Regenerated.
3964 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3965 Michael Koch <konqueror@gmx.de>
3967 * gnu/java/net/protocol/http/Cookie.java,
3968 gnu/java/net/protocol/http/HTTPConnection.java,
3969 gnu/java/net/protocol/http/HTTPDateFormat.java,
3970 gnu/java/net/protocol/http/Request.java,
3971 gnu/java/nio/PipeImpl.java,
3972 gnu/java/rmi/dgc/DGCImpl.java,
3973 gnu/java/rmi/server/ConnectionRunnerPool.java,
3974 gnu/java/rmi/server/UnicastConnectionManager.java,
3975 gnu/java/security/der/DERWriter.java,
3976 gnu/java/security/pkcs/SignerInfo.java,
3977 gnu/java/security/provider/EncodedKeyFactory.java,
3978 gnu/java/security/provider/GnuDHPublicKey.java,
3979 gnu/java/security/provider/GnuDSAPrivateKey.java,
3980 gnu/java/security/provider/GnuDSAPublicKey.java,
3981 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3982 gnu/java/security/x509/X500DistinguishedName.java,
3983 gnu/java/security/x509/X509CRL.java,
3984 gnu/java/security/x509/X509CRLEntry.java,
3985 gnu/java/security/x509/X509Certificate.java,
3986 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3987 gnu/java/security/x509/ext/CertificatePolicies.java,
3988 gnu/java/security/x509/ext/PolicyConstraint.java,
3989 gnu/xml/dom/Consumer.java,
3990 gnu/xml/dom/DomCharacterData.java,
3991 gnu/xml/dom/DomDocument.java,
3992 gnu/xml/dom/DomDocumentBuilder.java,
3993 gnu/xml/dom/DomIterator.java,
3994 gnu/xml/dom/DomNode.java,
3995 gnu/xml/dom/DomXPathExpression.java,
3996 gnu/xml/dom/DomXPathResult.java,
3997 gnu/xml/dom/JAXPFactory.java,
3998 gnu/xml/pipeline/CallFilter.java,
3999 gnu/xml/pipeline/DomConsumer.java,
4000 gnu/xml/pipeline/LinkFilter.java,
4001 gnu/xml/pipeline/NSFilter.java,
4002 gnu/xml/pipeline/TeeConsumer.java,
4003 gnu/xml/pipeline/ValidationConsumer.java,
4004 gnu/xml/pipeline/WellFormednessFilter.java,
4005 gnu/xml/pipeline/XIncludeFilter.java,
4006 gnu/xml/pipeline/XsltFilter.java,
4007 gnu/xml/transform/ApplyImportsNode.java,
4008 gnu/xml/transform/Bindings.java,
4009 gnu/xml/transform/DocumentFunction.java,
4010 gnu/xml/transform/FormatNumberFunction.java,
4011 gnu/xml/transform/NodeNumberNode.java,
4012 gnu/xml/transform/NumberNode.java,
4013 gnu/xml/transform/Stylesheet.java,
4014 gnu/xml/transform/SystemPropertyFunction.java,
4015 gnu/xml/transform/Template.java,
4016 gnu/xml/transform/TemplatesImpl.java,
4017 gnu/xml/transform/TransformerImpl.java,
4018 gnu/xml/transform/ValueOfNode.java,
4019 gnu/xml/transform/XSLURIResolver.java,
4020 gnu/xml/util/DoParse.java,
4021 gnu/xml/util/Resolver.java,
4022 gnu/xml/xpath/Expr.java,
4023 gnu/xml/xpath/FunctionCall.java,
4024 gnu/xml/xpath/RelationalExpr.java,
4025 gnu/xml/xpath/Selector.java,
4026 gnu/xml/xpath/XPathParser.java:
4027 Reworked import statements, fixed modifier order and some little
4030 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4032 * java/nio/ByteBufferImpl.java (compact):
4033 Set position and limit even if no bytes were moved.
4035 2005-02-17 Michael Koch <konqueror@gmx.de>
4037 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4038 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4039 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4040 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4041 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4042 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4043 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4044 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4045 * java/nio/FloatBufferImpl.java (compact): Set position.
4046 * java/nio/CharBufferImpl.java (compact): Likewise.
4047 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4048 * java/nio/IntBufferImpl.java (compact): Likewise.
4049 * java/nio/LongBufferImpl.java (compact): Likewise.
4050 * java/nio/ShortBufferImpl.java (compact): Likewise.
4052 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4054 * java/nio/ByteBufferImpl.java,
4055 java/nio/CharBufferImpl.java,
4056 java/nio/DirectByteBufferImpl.java,
4057 java/nio/DoubleBufferImpl.java,
4058 java/nio/FloatBufferImpl.java,
4059 java/nio/IntBufferImpl.java,
4060 java/nio/LongBufferImpl.java,
4061 java/nio/MappedByteBufferImpl.java,
4062 java/nio/ShortBufferImpl.java
4063 (compact): Added explicit read-only check and invalidate mark.
4065 2005-02-17 Michael Koch <konqueror@gmx.de>
4067 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4068 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4069 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4070 gnu/java/awt/peer/gtk/GdkGraphics.java,
4071 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4072 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4073 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4074 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4075 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4076 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4077 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4078 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4079 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4080 gnu/java/awt/peer/gtk/GtkClipboard.java,
4081 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4082 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4083 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4084 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4085 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4086 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4087 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4088 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4089 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4090 gnu/java/awt/peer/gtk/GtkToolkit.java,
4091 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4092 java/applet/Applet.java,
4093 java/awt/AWTError.java,
4094 java/awt/AWTEvent.java,
4095 java/awt/AWTEventMulticaster.java,
4096 java/awt/AWTException.java,
4097 java/awt/AWTKeyStroke.java,
4098 java/awt/AWTPermission.java,
4099 java/awt/ActiveEvent.java,
4100 java/awt/Adjustable.java,
4101 java/awt/AlphaComposite.java,
4102 java/awt/AttributeValue.java,
4103 java/awt/BorderLayout.java,
4104 java/awt/BufferCapabilities.java,
4105 java/awt/Button.java,
4106 java/awt/Canvas.java,
4107 java/awt/CheckboxGroup.java,
4108 java/awt/CheckboxMenuItem.java,
4109 java/awt/Color.java,
4110 java/awt/ColorPaintContext.java,
4111 java/awt/Component.java,
4112 java/awt/ComponentOrientation.java,
4113 java/awt/Composite.java,
4114 java/awt/CompositeContext.java,
4115 java/awt/Container.java,
4116 java/awt/ContainerOrderFocusTraversalPolicy.java,
4117 java/awt/DefaultFocusTraversalPolicy.java,
4118 java/awt/Dialog.java,
4119 java/awt/Dimension.java,
4120 java/awt/DisplayMode.java,
4121 java/awt/EventQueue.java,
4122 java/awt/FileDialog.java,
4123 java/awt/FontFormatException.java,
4124 java/awt/Graphics.java,
4125 java/awt/Graphics2D.java,
4126 java/awt/GraphicsConfigTemplate.java,
4127 java/awt/GraphicsConfiguration.java,
4128 java/awt/GraphicsDevice.java,
4129 java/awt/GridBagLayout.java,
4130 java/awt/GridBagLayoutInfo.java,
4131 java/awt/GridLayout.java,
4132 java/awt/HeadlessException.java,
4133 java/awt/IllegalComponentStateException.java,
4134 java/awt/Image.java,
4135 java/awt/Insets.java,
4136 java/awt/ItemSelectable.java,
4137 java/awt/JobAttributes.java,
4138 java/awt/KeyEventDispatcher.java,
4139 java/awt/KeyEventPostProcessor.java,
4140 java/awt/KeyboardFocusManager.java,
4141 java/awt/Label.java,
4142 java/awt/LayoutManager.java,
4143 java/awt/MenuBar.java,
4144 java/awt/MenuComponent.java,
4145 java/awt/MenuContainer.java,
4146 java/awt/PageAttributes.java,
4147 java/awt/Paint.java,
4148 java/awt/PaintContext.java,
4149 java/awt/Panel.java,
4150 java/awt/Point.java,
4151 java/awt/Polygon.java,
4152 java/awt/PrintGraphics.java,
4153 java/awt/PrintJob.java,
4154 java/awt/Rectangle.java,
4155 java/awt/RenderingHints.java,
4156 java/awt/Shape.java,
4157 java/awt/Stroke.java,
4158 java/awt/SystemColor.java,
4159 java/awt/Toolkit.java,
4160 java/awt/Transparency.java,
4161 java/awt/Window.java,
4162 java/awt/color/CMMException.java,
4163 java/awt/color/ColorSpace.java,
4164 java/awt/color/ICC_ColorSpace.java,
4165 java/awt/color/ICC_Profile.java,
4166 java/awt/color/ProfileDataException.java,
4167 java/awt/datatransfer/FlavorTable.java,
4168 java/awt/datatransfer/MimeTypeParseException.java,
4169 java/awt/datatransfer/Transferable.java,
4170 java/awt/datatransfer/UnsupportedFlavorException.java,
4171 java/awt/dnd/Autoscroll.java,
4172 java/awt/dnd/DnDConstants.java,
4173 java/awt/dnd/DragGestureListener.java,
4174 java/awt/dnd/DragSourceAdapter.java,
4175 java/awt/dnd/DragSourceDropEvent.java,
4176 java/awt/dnd/DragSourceListener.java,
4177 java/awt/dnd/DragSourceMotionListener.java,
4178 java/awt/dnd/DropTargetAdapter.java,
4179 java/awt/dnd/DropTargetContext.java,
4180 java/awt/dnd/DropTargetListener.java,
4181 java/awt/dnd/InvalidDnDOperationException.java,
4182 java/awt/dnd/MouseDragGestureRecognizer.java,
4183 java/awt/dnd/peer/DropTargetContextPeer.java,
4184 java/awt/event/AWTEventListener.java,
4185 java/awt/event/AWTEventListenerProxy.java,
4186 java/awt/event/ActionEvent.java,
4187 java/awt/event/AdjustmentEvent.java,
4188 java/awt/event/AdjustmentListener.java,
4189 java/awt/event/ComponentAdapter.java,
4190 java/awt/event/ComponentEvent.java,
4191 java/awt/event/ComponentListener.java,
4192 java/awt/event/ContainerAdapter.java,
4193 java/awt/event/ContainerEvent.java,
4194 java/awt/event/ContainerListener.java,
4195 java/awt/event/FocusAdapter.java,
4196 java/awt/event/FocusEvent.java,
4197 java/awt/event/FocusListener.java,
4198 java/awt/event/InputEvent.java,
4199 java/awt/event/InputMethodEvent.java,
4200 java/awt/event/InputMethodListener.java,
4201 java/awt/event/InvocationEvent.java,
4202 java/awt/event/ItemEvent.java,
4203 java/awt/event/ItemListener.java,
4204 java/awt/event/KeyAdapter.java,
4205 java/awt/event/KeyEvent.java,
4206 java/awt/event/KeyListener.java,
4207 java/awt/event/MouseAdapter.java,
4208 java/awt/event/MouseEvent.java,
4209 java/awt/event/MouseListener.java,
4210 java/awt/event/MouseMotionAdapter.java,
4211 java/awt/event/MouseMotionListener.java,
4212 java/awt/event/MouseWheelEvent.java,
4213 java/awt/event/MouseWheelListener.java,
4214 java/awt/event/PaintEvent.java,
4215 java/awt/event/TextEvent.java,
4216 java/awt/event/TextListener.java,
4217 java/awt/event/WindowAdapter.java,
4218 java/awt/event/WindowEvent.java,
4219 java/awt/event/WindowFocusListener.java,
4220 java/awt/event/WindowListener.java,
4221 java/awt/event/WindowStateListener.java,
4222 java/awt/font/TextHitInfo.java,
4223 java/awt/geom/CubicCurve2D.java,
4224 java/awt/geom/Dimension2D.java,
4225 java/awt/geom/Ellipse2D.java,
4226 java/awt/geom/IllegalPathStateException.java,
4227 java/awt/geom/Line2D.java,
4228 java/awt/geom/NoninvertibleTransformException.java,
4229 java/awt/geom/PathIterator.java,
4230 java/awt/geom/Point2D.java,
4231 java/awt/geom/QuadCurve2D.java,
4232 java/awt/geom/RectangularShape.java,
4233 java/awt/geom/RoundRectangle2D.java,
4234 java/awt/im/InputContext.java,
4235 java/awt/im/InputMethodHighlight.java,
4236 java/awt/im/InputMethodRequests.java,
4237 java/awt/im/InputSubset.java,
4238 java/awt/im/spi/InputMethod.java,
4239 java/awt/im/spi/InputMethodDescriptor.java,
4240 java/awt/image/BandCombineOp.java,
4241 java/awt/image/BandedSampleModel.java,
4242 java/awt/image/ByteLookupTable.java,
4243 java/awt/image/ComponentSampleModel.java,
4244 java/awt/image/DataBuffer.java,
4245 java/awt/image/DataBufferByte.java,
4246 java/awt/image/DataBufferDouble.java,
4247 java/awt/image/DataBufferFloat.java,
4248 java/awt/image/DataBufferInt.java,
4249 java/awt/image/DataBufferShort.java,
4250 java/awt/image/DataBufferUShort.java,
4251 java/awt/image/ImagingOpException.java,
4252 java/awt/image/Kernel.java,
4253 java/awt/image/LookupTable.java,
4254 java/awt/image/MultiPixelPackedSampleModel.java,
4255 java/awt/image/PackedColorModel.java,
4256 java/awt/image/PixelInterleavedSampleModel.java,
4257 java/awt/image/RGBImageFilter.java,
4258 java/awt/image/Raster.java,
4259 java/awt/image/RasterFormatException.java,
4260 java/awt/image/SampleModel.java,
4261 java/awt/image/ShortLookupTable.java,
4262 java/awt/image/SinglePixelPackedSampleModel.java,
4263 java/awt/image/WritableRaster.java,
4264 java/awt/print/PrinterAbortException.java,
4265 java/awt/print/PrinterException.java,
4266 java/awt/print/PrinterIOException.java,
4267 java/beans/AppletInitializer.java,
4268 java/beans/ExceptionListener.java,
4269 java/beans/PropertyChangeEvent.java,
4270 java/beans/PropertyChangeListenerProxy.java,
4271 java/beans/PropertyChangeSupport.java,
4272 java/beans/PropertyDescriptor.java,
4273 java/beans/VetoableChangeListenerProxy.java,
4274 java/beans/VetoableChangeSupport.java,
4275 java/io/BufferedReader.java,
4276 java/io/ByteArrayInputStream.java,
4277 java/io/ByteArrayOutputStream.java,
4278 java/io/CharArrayReader.java,
4279 java/io/CharArrayWriter.java,
4280 java/io/CharConversionException.java,
4281 java/io/DataInput.java,
4282 java/io/DataInputStream.java,
4283 java/io/DataOutput.java,
4284 java/io/DataOutputStream.java,
4285 java/io/EOFException.java,
4286 java/io/FileInputStream.java,
4287 java/io/FileNotFoundException.java,
4288 java/io/FileOutputStream.java,
4289 java/io/FilenameFilter.java,
4290 java/io/FilterInputStream.java,
4291 java/io/FilterOutputStream.java,
4292 java/io/FilterReader.java,
4293 java/io/FilterWriter.java,
4294 java/io/IOException.java,
4295 java/io/InputStream.java,
4296 java/io/InterruptedIOException.java,
4297 java/io/LineNumberInputStream.java,
4298 java/io/LineNumberReader.java,
4299 java/io/ObjectInputStream.java,
4300 java/io/ObjectStreamException.java,
4301 java/io/OptionalDataException.java,
4302 java/io/OutputStream.java,
4303 java/io/OutputStreamWriter.java,
4304 java/io/PrintStream.java,
4305 java/io/PrintWriter.java,
4306 java/io/PushbackInputStream.java,
4307 java/io/PushbackReader.java,
4308 java/io/RandomAccessFile.java,
4309 java/io/Reader.java,
4310 java/io/SequenceInputStream.java,
4311 java/io/Serializable.java,
4312 java/io/StreamCorruptedException.java,
4313 java/io/StreamTokenizer.java,
4314 java/io/StringBufferInputStream.java,
4315 java/io/StringWriter.java,
4316 java/io/SyncFailedException.java,
4317 java/io/UTFDataFormatException.java,
4318 java/io/UnsupportedEncodingException.java,
4319 java/io/WriteAbortedException.java,
4320 java/io/Writer.java,
4321 java/lang/AbstractMethodError.java,
4322 java/lang/ArithmeticException.java,
4323 java/lang/ArrayIndexOutOfBoundsException.java,
4324 java/lang/ArrayStoreException.java,
4325 java/lang/AssertionError.java,
4326 java/lang/Boolean.java,
4327 java/lang/Byte.java,
4328 java/lang/Class.java,
4329 java/lang/ClassCastException.java,
4330 java/lang/ClassCircularityError.java,
4331 java/lang/ClassLoader.java,
4332 java/lang/ClassNotFoundException.java,
4333 java/lang/CloneNotSupportedException.java,
4334 java/lang/Cloneable.java,
4335 java/lang/Comparable.java,
4336 java/lang/Compiler.java,
4337 java/lang/Double.java,
4338 java/lang/Error.java,
4339 java/lang/Exception.java,
4340 java/lang/ExceptionInInitializerError.java,
4341 java/lang/Float.java,
4342 java/lang/IllegalAccessError.java,
4343 java/lang/IllegalAccessException.java,
4344 java/lang/IllegalArgumentException.java,
4345 java/lang/IllegalMonitorStateException.java,
4346 java/lang/IllegalStateException.java,
4347 java/lang/IllegalThreadStateException.java,
4348 java/lang/IncompatibleClassChangeError.java,
4349 java/lang/IndexOutOfBoundsException.java,
4350 java/lang/InheritableThreadLocal.java,
4351 java/lang/InstantiationError.java,
4352 java/lang/InstantiationException.java,
4353 java/lang/Integer.java,
4354 java/lang/InternalError.java,
4355 java/lang/InterruptedException.java,
4356 java/lang/LinkageError.java,
4357 java/lang/Long.java,
4358 java/lang/NegativeArraySizeException.java,
4359 java/lang/NoClassDefFoundError.java,
4360 java/lang/NoSuchFieldError.java,
4361 java/lang/NoSuchFieldException.java,
4362 java/lang/NoSuchMethodError.java,
4363 java/lang/NoSuchMethodException.java,
4364 java/lang/NullPointerException.java,
4365 java/lang/Number.java,
4366 java/lang/NumberFormatException.java,
4367 java/lang/OutOfMemoryError.java,
4368 java/lang/Process.java,
4369 java/lang/Runnable.java,
4370 java/lang/Runtime.java,
4371 java/lang/RuntimeException.java,
4372 java/lang/RuntimePermission.java,
4373 java/lang/SecurityException.java,
4374 java/lang/SecurityManager.java,
4375 java/lang/Short.java,
4376 java/lang/StackOverflowError.java,
4377 java/lang/StackTraceElement.java,
4378 java/lang/StringBuffer.java,
4379 java/lang/StringIndexOutOfBoundsException.java,
4380 java/lang/ThreadDeath.java,
4381 java/lang/ThreadGroup.java,
4382 java/lang/Throwable.java,
4383 java/lang/UnsatisfiedLinkError.java,
4384 java/lang/UnsupportedOperationException.java,
4385 java/lang/VerifyError.java,
4386 java/lang/VirtualMachineError.java,
4387 java/lang/reflect/AccessibleObject.java,
4388 java/lang/reflect/Array.java,
4389 java/lang/reflect/InvocationTargetException.java,
4390 java/lang/reflect/Member.java,
4391 java/lang/reflect/Modifier.java,
4392 java/lang/reflect/Proxy.java,
4393 java/lang/reflect/ReflectPermission.java,
4394 java/lang/reflect/UndeclaredThrowableException.java,
4395 java/math/BigInteger.java,
4396 java/net/NetworkInterface.java,
4397 java/nio/ByteBufferHelper.java,
4398 java/nio/ByteBufferImpl.java,
4399 java/nio/DirectByteBufferImpl.java,
4400 java/nio/DoubleBufferImpl.java,
4401 java/nio/FloatBufferImpl.java,
4402 java/nio/IntBufferImpl.java,
4403 java/nio/LongBufferImpl.java,
4404 java/nio/ShortBufferImpl.java,
4405 java/nio/channels/Channel.java,
4406 java/nio/channels/IllegalBlockingModeException.java,
4407 java/nio/charset/spi/CharsetProvider.java,
4408 java/security/AccessControlException.java,
4409 java/security/BasicPermission.java,
4410 java/security/DigestException.java,
4411 java/security/DigestInputStream.java,
4412 java/security/DigestOutputStream.java,
4413 java/security/GeneralSecurityException.java,
4414 java/security/Guard.java,
4415 java/security/GuardedObject.java,
4416 java/security/InvalidAlgorithmParameterException.java,
4417 java/security/InvalidKeyException.java,
4418 java/security/InvalidParameterException.java,
4419 java/security/Key.java,
4420 java/security/KeyException.java,
4421 java/security/KeyManagementException.java,
4422 java/security/KeyStoreException.java,
4423 java/security/MessageDigestSpi.java,
4424 java/security/NoSuchAlgorithmException.java,
4425 java/security/NoSuchProviderException.java,
4426 java/security/Permission.java,
4427 java/security/PermissionCollection.java,
4428 java/security/Permissions.java,
4429 java/security/Principal.java,
4430 java/security/PrivateKey.java,
4431 java/security/PrivilegedActionException.java,
4432 java/security/ProviderException.java,
4433 java/security/PublicKey.java,
4434 java/security/SecureRandom.java,
4435 java/security/SecureRandomSpi.java,
4436 java/security/SignatureException.java,
4437 java/security/SignatureSpi.java,
4438 java/security/SignedObject.java,
4439 java/security/Signer.java,
4440 java/security/UnrecoverableKeyException.java,
4441 java/security/UnresolvedPermission.java,
4442 java/security/acl/AclNotFoundException.java,
4443 java/security/acl/LastOwnerException.java,
4444 java/security/acl/NotOwnerException.java,
4445 java/security/cert/CertPath.java,
4446 java/security/cert/CertPathBuilderException.java,
4447 java/security/cert/CertPathValidatorException.java,
4448 java/security/cert/CertStoreException.java,
4449 java/text/BreakIterator.java,
4450 java/text/ChoiceFormat.java,
4451 java/text/CollationElementIterator.java,
4452 java/text/CollationKey.java,
4453 java/text/Collator.java,
4454 java/text/DateFormat.java,
4455 java/text/DateFormatSymbols.java,
4456 java/text/DecimalFormat.java,
4457 java/text/DecimalFormatSymbols.java,
4458 java/text/FieldPosition.java,
4459 java/text/Format.java,
4460 java/text/NumberFormat.java,
4461 java/text/ParseException.java,
4462 java/text/ParsePosition.java,
4463 java/text/StringCharacterIterator.java,
4464 java/util/AbstractCollection.java,
4465 java/util/AbstractList.java,
4466 java/util/AbstractMap.java,
4467 java/util/AbstractSequentialList.java,
4468 java/util/AbstractSet.java,
4469 java/util/ArrayList.java,
4470 java/util/Arrays.java,
4471 java/util/BitSet.java,
4472 java/util/Collection.java,
4473 java/util/Collections.java,
4474 java/util/Comparator.java,
4475 java/util/ConcurrentModificationException.java,
4476 java/util/Currency.java,
4477 java/util/Date.java,
4478 java/util/EmptyStackException.java,
4479 java/util/Enumeration.java,
4480 java/util/EventListener.java,
4481 java/util/EventListenerProxy.java,
4482 java/util/EventObject.java,
4483 java/util/HashMap.java,
4484 java/util/HashSet.java,
4485 java/util/Hashtable.java,
4486 java/util/IdentityHashMap.java,
4487 java/util/Iterator.java,
4488 java/util/LinkedHashSet.java,
4489 java/util/LinkedList.java,
4490 java/util/List.java,
4491 java/util/ListIterator.java,
4492 java/util/ListResourceBundle.java,
4494 java/util/MissingResourceException.java,
4495 java/util/NoSuchElementException.java,
4496 java/util/Observable.java,
4497 java/util/Observer.java,
4498 java/util/Properties.java,
4499 java/util/PropertyPermissionCollection.java,
4500 java/util/RandomAccess.java,
4502 java/util/SortedMap.java,
4503 java/util/SortedSet.java,
4504 java/util/Stack.java,
4505 java/util/StringTokenizer.java,
4506 java/util/TooManyListenersException.java,
4507 java/util/TreeMap.java,
4508 java/util/TreeSet.java,
4509 java/util/Vector.java,
4510 java/util/logging/FileHandler.java,
4511 java/util/logging/Level.java,
4512 java/util/prefs/BackingStoreException.java,
4513 java/util/prefs/InvalidPreferencesFormatException.java,
4514 java/util/prefs/Preferences.java,
4515 javax/accessibility/Accessible.java,
4516 javax/accessibility/AccessibleAction.java,
4517 javax/accessibility/AccessibleBundle.java,
4518 javax/accessibility/AccessibleComponent.java,
4519 javax/accessibility/AccessibleContext.java,
4520 javax/accessibility/AccessibleEditableText.java,
4521 javax/accessibility/AccessibleExtendedComponent.java,
4522 javax/accessibility/AccessibleExtendedTable.java,
4523 javax/accessibility/AccessibleHyperlink.java,
4524 javax/accessibility/AccessibleHypertext.java,
4525 javax/accessibility/AccessibleIcon.java,
4526 javax/accessibility/AccessibleKeyBinding.java,
4527 javax/accessibility/AccessibleRelation.java,
4528 javax/accessibility/AccessibleRelationSet.java,
4529 javax/accessibility/AccessibleResourceBundle.java,
4530 javax/accessibility/AccessibleRole.java,
4531 javax/accessibility/AccessibleSelection.java,
4532 javax/accessibility/AccessibleState.java,
4533 javax/accessibility/AccessibleStateSet.java,
4534 javax/accessibility/AccessibleTable.java,
4535 javax/accessibility/AccessibleTableModelChange.java,
4536 javax/accessibility/AccessibleText.java,
4537 javax/accessibility/AccessibleValue.java,
4538 javax/imageio/IIOException.java,
4539 javax/imageio/ImageIO.java,
4540 javax/imageio/spi/IIOServiceProvider.java,
4541 javax/imageio/spi/ImageInputStreamSpi.java,
4542 javax/imageio/spi/ImageOutputStreamSpi.java,
4543 javax/imageio/spi/ImageReaderWriterSpi.java,
4544 javax/imageio/spi/ImageTranscoderSpi.java,
4545 javax/imageio/spi/RegisterableService.java,
4546 javax/imageio/spi/ServiceRegistry.java,
4547 javax/imageio/stream/IIOByteBuffer.java,
4548 javax/imageio/stream/ImageInputStream.java,
4549 javax/imageio/stream/ImageOutputStream.java,
4550 javax/naming/Binding.java,
4551 javax/naming/CannotProceedException.java,
4552 javax/naming/CompositeName.java,
4553 javax/naming/CompoundName.java,
4554 javax/naming/LinkException.java,
4555 javax/naming/LinkRef.java,
4556 javax/naming/NameClassPair.java,
4557 javax/naming/Reference.java,
4558 javax/naming/ReferralException.java,
4559 javax/naming/directory/Attribute.java,
4560 javax/naming/directory/AttributeModificationException.java,
4561 javax/naming/directory/Attributes.java,
4562 javax/naming/directory/DirContext.java,
4563 javax/naming/directory/ModificationItem.java,
4564 javax/naming/directory/SearchControls.java,
4565 javax/naming/directory/SearchResult.java,
4566 javax/naming/event/EventContext.java,
4567 javax/naming/event/EventDirContext.java,
4568 javax/naming/event/NamespaceChangeListener.java,
4569 javax/naming/event/NamingExceptionEvent.java,
4570 javax/naming/event/NamingListener.java,
4571 javax/naming/event/ObjectChangeListener.java,
4572 javax/naming/ldap/Control.java,
4573 javax/naming/ldap/ExtendedResponse.java,
4574 javax/naming/ldap/HasControls.java,
4575 javax/naming/ldap/LdapContext.java,
4576 javax/naming/ldap/UnsolicitedNotification.java,
4577 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4578 javax/naming/ldap/UnsolicitedNotificationListener.java,
4579 javax/naming/spi/DirectoryManager.java,
4580 javax/naming/spi/ResolveResult.java,
4581 javax/naming/spi/Resolver.java,
4582 javax/security/auth/callback/Callback.java,
4583 javax/security/auth/callback/CallbackHandler.java,
4584 javax/security/auth/callback/ChoiceCallback.java,
4585 javax/security/auth/callback/ConfirmationCallback.java,
4586 javax/security/auth/callback/LanguageCallback.java,
4587 javax/security/auth/callback/NameCallback.java,
4588 javax/security/auth/callback/PasswordCallback.java,
4589 javax/security/auth/callback/TextInputCallback.java,
4590 javax/security/auth/callback/TextOutputCallback.java,
4591 javax/security/auth/callback/UnsupportedCallbackException.java,
4592 javax/security/sasl/Sasl.java,
4593 javax/security/sasl/SaslServerFactory.java,
4594 javax/swing/DefaultBoundedRangeModel.java,
4595 javax/swing/JComponent.java,
4596 javax/swing/JList.java,
4597 javax/swing/JProgressBar.java,
4598 javax/swing/JRadioButton.java,
4599 javax/swing/JTextArea.java,
4600 javax/swing/JTextField.java,
4601 javax/swing/JToggleButton.java,
4602 javax/swing/JTree.java,
4603 javax/swing/SpinnerListModel.java,
4604 javax/swing/event/EventListenerList.java,
4605 javax/swing/text/JTextComponent.java,
4606 javax/swing/text/StringContent.java,
4607 javax/swing/text/Utilities.java,
4608 javax/swing/undo/UndoManager.java,
4609 javax/swing/undo/UndoableEditSupport.java,
4610 javax/transaction/HeuristicCommitException.java,
4611 javax/transaction/HeuristicMixedException.java,
4612 javax/transaction/HeuristicRollbackException.java,
4613 javax/transaction/InvalidTransactionException.java,
4614 javax/transaction/NotSupportedException.java,
4615 javax/transaction/RollbackException.java,
4616 javax/transaction/Status.java,
4617 javax/transaction/Synchronization.java,
4618 javax/transaction/SystemException.java,
4619 javax/transaction/Transaction.java,
4620 javax/transaction/TransactionManager.java,
4621 javax/transaction/TransactionRequiredException.java,
4622 javax/transaction/TransactionRolledbackException.java,
4623 javax/transaction/UserTransaction.java,
4624 javax/transaction/xa/XAException.java,
4625 javax/transaction/xa/XAResource.java,
4626 javax/transaction/xa/Xid.java,
4627 javax/xml/XMLConstants.java,
4628 javax/xml/datatype/DatatypeConfigurationException.java,
4629 javax/xml/datatype/DatatypeConstants.java,
4630 javax/xml/datatype/DatatypeFactory.java,
4631 javax/xml/datatype/Duration.java,
4632 javax/xml/datatype/XMLGregorianCalendar.java,
4633 javax/xml/namespace/NamespaceContext.java,
4634 javax/xml/namespace/QName.java,
4635 javax/xml/parsers/DocumentBuilder.java,
4636 javax/xml/parsers/DocumentBuilderFactory.java,
4637 javax/xml/parsers/FactoryConfigurationError.java,
4638 javax/xml/parsers/ParserConfigurationException.java,
4639 javax/xml/parsers/SAXParser.java,
4640 javax/xml/parsers/SAXParserFactory.java,
4641 javax/xml/transform/ErrorListener.java,
4642 javax/xml/transform/OutputKeys.java,
4643 javax/xml/transform/Result.java,
4644 javax/xml/transform/Source.java,
4645 javax/xml/transform/SourceLocator.java,
4646 javax/xml/transform/Templates.java,
4647 javax/xml/transform/Transformer.java,
4648 javax/xml/transform/TransformerConfigurationException.java,
4649 javax/xml/transform/TransformerException.java,
4650 javax/xml/transform/TransformerFactory.java,
4651 javax/xml/transform/TransformerFactoryConfigurationError.java,
4652 javax/xml/transform/URIResolver.java,
4653 javax/xml/transform/dom/DOMLocator.java,
4654 javax/xml/transform/dom/DOMResult.java,
4655 javax/xml/transform/dom/DOMSource.java,
4656 javax/xml/transform/sax/SAXResult.java,
4657 javax/xml/transform/sax/SAXSource.java,
4658 javax/xml/transform/sax/SAXTransformerFactory.java,
4659 javax/xml/transform/sax/TemplatesHandler.java,
4660 javax/xml/transform/sax/TransformerHandler.java,
4661 javax/xml/transform/stream/StreamResult.java,
4662 javax/xml/transform/stream/StreamSource.java,
4663 javax/xml/validation/Schema.java,
4664 javax/xml/validation/SchemaFactory.java,
4665 javax/xml/validation/TypeInfoProvider.java,
4666 javax/xml/validation/Validator.java,
4667 javax/xml/validation/ValidatorHandler.java,
4668 javax/xml/xpath/XPathConstants.java,
4669 javax/xml/xpath/XPathException.java,
4670 javax/xml/xpath/XPathExpression.java,
4671 javax/xml/xpath/XPathExpressionException.java,
4672 javax/xml/xpath/XPathFactory.java,
4673 javax/xml/xpath/XPathFactoryConfigurationException.java,
4674 javax/xml/xpath/XPathFunction.java,
4675 javax/xml/xpath/XPathFunctionException.java,
4676 javax/xml/xpath/XPathFunctionResolver.java:
4677 Fixed usage of @author tag, reworked import statements,
4678 removed CVS tags, changed the modifier order and fixed
4679 HTML usage in javadocs.
4681 2005-02-16 Julian Scheid <julian@sektor37.de>
4683 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4685 (encodeLoop): Likewise.
4687 2005-02-16 Mark Wielaard <mark@klomp.org>
4689 * Makefile.am (ordinary_java_source_files): Add new files
4690 gnu/java/security/ber/BER.java,
4691 gnu/java/security/ber/BEREncodingException.java,
4692 gnu/java/security/ber/BERReader.java,
4693 gnu/java/security/ber/BERValue.java,
4694 gnu/java/security/pkcs/PKCS7SignedData.java and
4695 gnu/java/security/pkcs/SignerInfo.java.
4696 * Makefile.in: Regenerated.
4698 2005-02-16 Casey Marshall <csm@gnu.org>
4700 * gnu/java/security/provider/GnuDSAPrivateKey.java
4701 (encodedKey): new field.
4702 (getFormat): return "PKCS#8".
4703 (getEncoded): implemented.
4704 (toString): check for 'null' values.
4705 * gnu/java/security/provider/GnuDSAPublicKey.java
4706 (encodedKey): new field.
4707 (getFormat): return "X.509".
4708 (getEncoded): implemented.
4709 (toString): check for 'null' values.
4711 2005-02-16 Michael Koch <konqueror@gmx.de>
4713 * java/util/jar/JarFile.java: Imports reworked.
4715 2005-02-16 Mark Wielaard <mark@klomp.org>
4717 * java/util/jar/JarFile.java (verify): Make package private.
4718 (signaturesRead): Likewise.
4719 (verified): Likewise.
4720 (entryCerts): Likewise.
4723 (entries): Construct new JarEnumeration with reference to this.
4724 (JarEnumeration): Make static.
4725 (JarEnumeration.jarfile): New field.
4726 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4727 Compare verified value to Boolean.TRUE or Boolean.False only
4728 when verify is true.
4729 (getEntry): Make synchronized. Compare value of verified to
4731 (getInputStream): Construct EntryInputStream with reference to this.
4732 (getManifest): Make synchronized.
4733 (EntryInputStream): Make static.
4734 (EntryInputStream.jarfile): New field.
4735 (EntryInputStream.EntryInputStream): Check if manifest exists,
4736 before getting attributes.
4737 (eof): Synchronize on jarfile.
4739 2005-02-16 Casey Marshall <csm@gnu.org>
4741 * java/util/jar/JarFile.java (verify): return if the jar is signed
4742 with an unsupported algorithm.
4744 2005-02-16 Mark Wielaard <mark@klomp.org>
4746 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4747 InputStream as argument.
4748 (getInputStream): Construct a new EntryInputStream with the result of
4749 super.getInputStream(entry).
4751 2005-02-16 Casey Marshall <csm@gnu.org>
4753 Signed JAR file support.
4754 * java/net/URLClassLoader.java
4755 (JarURLResource.getCertificates): re-read jar entry to ensure
4756 certificates are picked up.
4757 (findClass): fill in class `signers' field, too.
4758 * java/util/jar/JarFile.java (META_INF): new constant.
4759 (PKCS7_DSA_SUFFIX): new constant.
4760 (PKCS7_RSA_SUFFIX): new constant.
4761 (DIGEST_KEY_SUFFIX): new constant.
4762 (SF_SUFFIX): new constant.
4763 (MD2_OID): new constant.
4764 (MD4_OID): new constant.
4765 (MD5_OID): new constant.
4766 (SHA1_OID): new constant.
4767 (DSA_ENCRYPTION_OID): new constant.
4768 (RSA_ENCRYPTION_OID): new constant.
4769 (signaturesRead): new field.
4770 (verified): new field.
4771 (entryCerts): new field.
4772 (DEBUG): new constant.
4773 (debug): new method.
4774 (JarEnumeration.nextElement): fill in entry certificates, read
4775 signatures if they haven't been read.
4776 (getEntry): likewise.
4777 (getInputStream): verify stream if it hasn't been verified yet.
4778 (readSignatures): new method.
4779 (verify): new method.
4780 (verifyHashes): new method.
4781 (readManifestEntry): new method.
4782 (EntryInputStream): new class.
4783 * gnu/java/io/Base64InputStream.java (decode): new class
4785 * gnu/java/security/der/DERReader.java don't make class
4787 (in): made protected.
4789 (readLength): likewise.
4790 * gnu/java/security/ber/BER.java,
4791 * gnu/java/security/ber/BEREncodingException.java,
4792 * gnu/java/security/ber/BERReader.java,
4793 * gnu/java/security/ber/BERValue.java,
4794 * gnu/java/security/pkcs/PKCS7SignedData.java,
4795 * gnu/java/security/pkcs/SignerInfo.java:
4798 2005-02-16 Tom Tromey <tromey@redhat.com>
4800 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4801 copied file on exit.
4803 2005-02-15 Mark Wielaard <mark@klomp.org>
4805 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4807 2005-02-15 Michael Koch <konqueror@gmx.de>
4809 * gnu/java/awt/peer/gtk/GtkArg.java,
4810 gnu/java/awt/peer/gtk/GtkArgList.java:
4813 2005-02-15 Craig Black <craig.black@aonix.com>
4815 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4816 (postMenuActionEvent): Implement to notify ItemListeners.
4817 * java/awt/CheckboxMenuItem.java
4818 (dispatchEventImpl): Update state on ItemEvent.
4819 * java/awt/MenuItem.java
4820 (processActionEvent): Retarget event source.
4822 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4824 * gnu/java/awt/color/ClutProfileConverter.java,
4825 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4826 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4827 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4828 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4829 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4830 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4831 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4832 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4833 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4834 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4835 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4836 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4837 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4838 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4839 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4840 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4841 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4842 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4843 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4844 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4845 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4846 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4847 gnu/java/awt/peer/gtk/GtkToolkit.java,
4848 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4849 javax/swing/JPopupMenu.java,
4850 javax/swing/JSpinner.java,
4851 javax/swing/SortingFocusTraversalPolicy.java,
4852 javax/swing/SwingUtilities.java,
4853 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4854 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4855 javax/swing/tree/DefaultMutableTreeNode.java:
4856 Removed unused imports and expanded starred
4859 2005-02-15 Mark Wielaard <mark@klomp.org>
4861 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4862 IllegalArgumentException when the given String is null.
4864 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4865 when given keystoke sequence cannot be parsed.
4867 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4868 if one is installed. Only install the given menubar is not null.
4870 * javax/swing/JViewport.java (getViewSize): Return an empty
4871 Dimension when the view isn't set or preferred component size when
4874 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4875 empty Dimension when there is no view set.
4876 (minimumLayoutSize): Likewise.
4877 (layoutContainer): Don't try to layout when there is no view.
4879 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4882 * include/jawt.h: Likewise.
4883 * include/jawt_md.h: Likewise.
4884 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4886 * jni/classpath/classpath_jawt.h: Likewise.
4887 * jni/gtk-peer/gtk_jawt.c: Likewise.
4888 * Makefile.am: Build libjawt.so.
4890 2005-02-15 Michael Koch <konqueror@gmx.de>
4892 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4893 Merged file header with classpath CVS head.
4894 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4895 Merged code formatting with classpath CVS head.
4896 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4898 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4899 Handle special JNI strings with 2 '\0' at the end.
4900 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4901 Merged file header with classpath CVS head.
4902 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4903 Merged code formatting with classpath CVS head.
4905 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4907 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4908 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4909 (handle_response): Use GTK_RESPONSE_ACCEPT.
4911 2005-02-15 Graydon Hoare <graydon@redhat.com>
4913 * Makefile.am: Fix library build breakage.
4914 * Makefile.in: Regenerate.
4916 2005-02-15 Michael Koch <konqueror@gmx.de>
4918 * javax/swing/JTabbedPane.java
4919 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4921 2005-02-15 Michael Koch <konqueror@gmx.de>
4923 * javax/swing/tree/DefaultMutableTreeNode.java:
4924 Reworked Javadocs all over.
4925 (getPathToRoot): Fixed direction of result array initialization.
4927 2005-02-15 Michael Koch <konqueror@gmx.de>
4929 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4930 Fix includes for cairo 0.3.0 snappshot.
4931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4932 Merged file header from classpath CVS HEAD.
4934 2005-02-15 Craig Black <craig.black@aonix.com>
4936 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4937 (copyState): Pass a JNI global reference to signal handler.
4938 (realize_cb): Use and free JNI global reference.
4939 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4940 (create): Pass a JNI global reference to signal handler.
4941 (selection_changed): Match declaration.
4942 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4943 (dispose): Do not remove entries from state tables until after widget is
4946 2005-02-15 Michael Koch <konqueror@gmx.de>
4948 * java/awt/Container.javai (paramString):
4949 If layoutMgr is null just return result of super.paramString().
4950 * java/awt/Scrollbar.java: Reformatted.
4951 * java/awt/im/InputContext.java (static):
4952 Removed redundant initializations.
4954 2005-02-15 Michael Koch <konqueror@gmx.de>
4956 * javax/swing/ImageIcon.java,
4957 javax/swing/UIManager.java,
4958 javax/swing/text/EditorKit.java,
4959 javax/swing/text/Segment.java:
4960 More whitespace cleanups.
4962 2005-02-15 Michael Koch <konqueror@gmx.de>
4964 * gnu/java/awt/EmbeddedWindow.java,
4965 gnu/java/awt/image/ImageDecoder.java,
4966 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4967 java/awt/DefaultKeyboardFocusManager.java,
4968 java/awt/Frame.java,
4969 java/awt/image/RGBImageFilter.java,
4970 javax/swing/AbstractButton.java,
4971 javax/swing/ActionMap.java,
4972 javax/swing/ComponentInputMap.java,
4973 javax/swing/DefaultDesktopManager.java,
4974 javax/swing/ImageIcon.java,
4975 javax/swing/InputMap.java,
4976 javax/swing/JButton.java,
4977 javax/swing/JCheckBox.java,
4978 javax/swing/JCheckBoxMenuItem.java,
4979 javax/swing/JEditorPane.java,
4980 javax/swing/JMenu.java,
4981 javax/swing/JMenuItem.java,
4982 javax/swing/JOptionPane.java,
4983 javax/swing/JRootPane.java,
4984 javax/swing/JTable.java,
4985 javax/swing/MenuSelectionManager.java,
4986 javax/swing/RepaintManager.java,
4987 javax/swing/ScrollPaneLayout.java,
4988 javax/swing/SortingFocusTraversalPolicy.java,
4989 javax/swing/UIManager.java,
4990 javax/swing/ViewportLayout.java,
4991 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4992 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4993 javax/swing/plaf/basic/BasicLabelUI.java,
4994 javax/swing/plaf/basic/BasicListUI.java,
4995 javax/swing/plaf/basic/BasicMenuItemUI.java,
4996 javax/swing/plaf/basic/BasicMenuUI.java,
4997 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4998 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4999 javax/swing/plaf/basic/BasicRootPaneUI.java,
5000 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5001 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5002 javax/swing/plaf/basic/BasicTextUI.java,
5003 javax/swing/table/TableColumnModel.java,
5004 javax/swing/text/AbstractDocument.java,
5005 javax/swing/text/EditorKit.java,
5006 javax/swing/text/Position.java,
5007 javax/swing/text/Segment.java,
5008 javax/swing/text/StyledEditorKit.java,
5009 javax/swing/text/ViewFactory.java:
5010 Cleanup whitespace differences to classpath CVS HEAD.
5012 2005-02-15 Graydon Hoare <graydon@redhat.com>
5014 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5015 (finalize): Call finish from here.
5016 (produce): Not from here.
5017 * Makefile.am (gtk_c_source_files):
5018 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5019 * Makefile.in: Regenerate.
5020 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5022 (cairoDrawGdkTextLayout):
5024 (getPeerTextMetrics):
5025 (getPeerFontMetrics): Remove.
5026 (setFont): Don't call cairoSetFont.
5027 (cairoDrawGlyphVector): Accept font peer argument.
5028 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5030 (ensure_metrics_cairo):
5031 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5032 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5033 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5034 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5036 (metrics_surface): Remove.
5037 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5038 Pass and install font peer.
5040 2005-02-15 Graydon Hoare <graydon@redhat.com>
5042 * Makefile.am: Create "split library" structure.
5043 * Makefile.in: Regenerate.
5045 2005-02-15 Graydon Hoare <graydon@redhat.com>
5047 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5049 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5051 Release GDK lock during upcalls.
5053 2005-02-15 Graydon Hoare <graydon@redhat.com>
5055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5057 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5058 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5059 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5061 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5064 (getTextMetrics): New native methods.
5065 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5066 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5067 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5068 * Makefile.in: Regenerate.
5070 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5072 * javax/swing/SwingUtilities.java:
5073 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5074 Implemented and documented.
5075 (getAccessibleChild(java.awt.Component, int)): Likewise.
5076 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5077 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5078 (getAccessibleStateSet(java.awt.Component)): Likewise.
5080 2005-02-15 Michael Koch <konqueror@gmx.de>
5082 * javax/swing/SwingUtilities.java
5083 (getFontMetrics): Removed.
5085 2005-02-15 Michael Koch <konqueror@gmx.de>
5087 * java/awt/Container.java
5088 (paramString): Implemented.
5089 * javax/swing/AbstractButton.java
5090 (paramString): Implemented.
5091 * javax/swing/JComponent.java
5092 (paramString): Implemented.
5093 * javax/swing/JMenu.java
5094 (paramString): Implemented.
5095 * javax/swing/JMenuBar.java
5096 (paramString): Implemented.
5097 * javax/swing/JMenuItem.java
5098 (paramString): Implemented.
5099 * javax/swing/JPopupMenu.java
5100 (paramString): Implemented.
5102 2005-02-15 Michael Koch <konqueror@gmx.de>
5104 * javax/swing/JMenu.java
5105 (uiClassID): Removed.
5106 (JMenu): Set invoker on popup menu.
5107 (getUIClassID): Return id directly.
5108 (getItemCount): Simply return getMenuComponentCount().
5110 (isTopLevelMenu): Simplified.
5111 * javax/swing/JMenuItem.java
5112 (uiClassID): Removed.
5113 (getUIClassID): Return id directly.
5114 * javax/swing/JPopupMenu.java
5115 (uiClassID): Removed.
5116 (JPopupMenu): Always initialize correctly.
5117 (getSubElements): Only return components implementing MenuElement
5119 (HeavyWeightPopup.hide): Removed.
5121 2005-02-15 Michael Koch <konqueror@gmx.de>
5123 * java/awt/image/ReplicateScaleFilter.java
5124 (replicatePixels): Made private.
5125 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5126 (DefaultRGBChooserPanel): Made package private.
5127 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5128 (RecentSwatchPanel): Likewise.
5129 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5130 (MouseInputAdapter): Made abstract.
5131 * javax/swing/tree/DefaultMutableTreeNode.java
5133 (growTree): Likewise.
5135 2005-02-15 Michael Koch <konqueror@gmx.de>
5137 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5140 2005-02-15 Michael Koch <konqueror@gmx.de>
5142 * javax/swing/JComponent.java (getComponentGraphics):
5143 Removed accidently commited code.
5145 2005-02-15 Graydon Hoare <graydon@redhat.com>
5147 * java/awt/dnd/DropTarget.java
5148 (addDropTargetListener): Despite documentation, do not throw.
5149 * javax/swing/JComponent.java: Set a default DropTarget.
5151 2005-02-15 Michael Koch <konqueror@gmx.de>
5153 * javax/swing/AbstractAction.java
5154 (ENABLED_PROPERTY): Removed.
5155 (setEnabled): Replaced constant with real string.
5156 * javax/swing/AbstractButton.java
5157 (createActionPropertyChangeListener.propertyChange): Likewise.
5158 * javax/swing/JComboBox.java
5159 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5160 (EDITABLE_CHANGED_PROPERTY): Removed.
5161 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5162 (ENABLED_CHANGED_PROPERTY):Likewise.
5163 (RENDERER_CHANGED_PROPERTY):Likewise.
5164 (EDITOR_CHANGED_PROPERTY):Likewise.
5165 (MODEL_CHANGED_PROPERTY):Likewise.
5166 (uiClassID):Likewise.
5167 (getUIClassID): Replaced constant with real string.
5168 (setModel):Likewise.
5169 (setEditable):Likewise.
5170 (setMaximumRowCount):Likewise.
5171 (setRenderer):Likewise.
5172 (setEditor):Likewise.
5173 (setEnabled):Likewise.
5174 * javax/swing/JLabel.java
5175 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5176 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5177 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5178 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5179 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5180 (ICON_CHANGED_PROPERTY): Likewise.
5181 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5182 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5183 (TEXT_CHANGED_PROPERTY): Likewise.
5184 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5185 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5186 (setText): Replaced constant with real string.
5187 (setIcon): Likewise.
5188 (setDisabledIcon): Likewise.
5189 (setDisplayedMnemonic): Likewise.
5190 (setIconTextGap): Likewise.
5191 (setVerticalAlignment): Likewise.
5192 (setHorizontalAlignment): Likewise.
5193 (setVerticalTextPosition): Likewise.
5194 (setHorizontalTextPosition): Likewise.
5195 (setLabelFor): Replaced constant with real string.
5196 Fire property change event after property got changed.
5197 * javax/swing/JList.java
5198 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5199 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5200 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5201 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5202 (MODEL_PROPERTY_CHANGED): Likewise.
5203 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5204 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5205 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5206 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5207 (setFixedCellWidth): Reimplemented.
5208 (setFixedCellHeight): Exit if new value is identical.
5209 Replaced constant with real string.
5210 (setSelectionBackground): Likewise.
5211 (setSelectionForeground): Likewise.
5212 (setPrototypeCellValue): Likewise.
5213 (setCellRenderer): Replaced constant with real string.
5214 (setModel): Likewise.
5215 (setSelectionModel): Likewise.
5216 * javax/swing/JMenuBar.java
5217 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5218 (MODEL_CHANGED_PROPERTY): Likewise.
5219 (MARGIN_CHANGED_PROPERTY): Likewise.
5220 (setBorderPainted): Reimplemented.
5221 (setMargin): Likewise.
5222 (setSelectionModel): Replaced constant with real string.
5223 * javax/swing/JPopupMenu.java
5224 (LABEL_CHANGED_PROPERTY): Removed.
5225 (VISIBLE_CHANGED_PROPERTY): Likewise.
5226 (borderPainted): Likewise.
5227 (setLabel): Replaced constant with real string.
5228 (setVisible): Exit if new value is identical.
5229 Replaced constant with real string.
5230 * javax/swing/JProgressBar.java
5231 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5232 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5233 (STRING_CHANGED_PROPERTY): Likewise.
5234 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5235 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5236 (setOrientation): Replaced constant with real string.
5237 (setStringPainted): Likewise.
5238 (setString): Likewise.
5239 (setBorderPainted): Likewise.
5240 (setIndeterminate): Likewise.
5241 * javax/swing/JScrollBar.java
5242 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5243 (MODEL_CHANGED_PROPERTY): Likewise.
5244 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5245 (setOrientation): Replaced constant with real string.
5246 (setModel): Likewise.
5247 (setUnitIncrement): Likewise.
5248 (setBlockIncrement): Likewise.
5249 * javax/swing/JScrollPane.java
5250 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5251 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5252 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5253 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5254 (LAYOUT_CHANGED_PROPERTY): Likewise.
5255 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5256 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5257 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5258 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5259 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5260 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5261 (setComponentOrientation): Replaced constant with real string.
5262 (setColumnHeader): Likewise.
5263 (setHorizontalScrollBar): Likewise.
5264 (setHorizontalScrollBarPolicy): Likewise.
5265 (setRowHeader): Likewise.
5266 (setVerticalScrollBar): Likewise.
5267 (setVerticalScrollBarPolicy): Likewise.
5268 (setWheelScrollingEnabled): Likewise.
5269 (setViewport): Likewise.
5270 (setViewportBorder): Likewise.
5271 * javax/swing/JSlider.java
5272 (INVERTED_CHANGED_PROPERTY): Removed.
5273 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5274 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5275 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5276 (MODEL_CHANGED_PROPERTY): Likewise.
5277 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5278 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5279 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5280 (setModel): Replaced constant with real string.
5281 (setOrientation): Likewise.
5282 (setLabelTable): Likewise.
5283 (setInverted): Likewise.
5284 (setMajorTickSpacing): Likewise.
5285 (setMinorTickSpacing): Likewise.
5286 (setPaintTicks): Likewise.
5287 (setPaintLabels): Likewise.
5288 * javax/swing/JTabbedPane.java
5289 (MODEL_CHANGED_PROPERTY): Removed.
5290 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5291 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5292 (setModel): Replaced constant with real string.
5293 (setTabPlacement): Likewise.
5294 (setTabLayoutPolicy): Likewise.
5295 * javax/swing/JToolBar.java
5296 (ORIENTATION_CHANGED_PROPERTY): Removed.
5297 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5298 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5299 (MARGIN_CHANGED_PROPERTY): Likewise.
5300 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5301 (setRollover): Replaced constant with real string.
5302 (setMargin): Likewise.
5303 (setBorderPainted): Likewise.
5304 (setFloatable): Likewise.
5305 (setOrientation): Likewise.
5306 * javax/swing/plaf/basic/BasicComboBoxUI.java
5307 (PropertyChangeHandler.propertyChange): Likewise.
5308 * javax/swing/plaf/basic/BasicComboPopup.java
5309 (PropertyChangeHandler.propertyChange): Likewise.
5310 * javax/swing/plaf/basic/BasicMenuBarUI.java
5311 (PropertyChangeHandler.propertyChange): Likewise.
5312 * javax/swing/plaf/basic/BasicProgressBarUI.java
5313 (PropertyChangeHandler.propertyChange): Likewise.
5314 * javax/swing/plaf/basic/BasicScrollBarUI.java
5315 (PropertyChangeHandler.propertyChange): Likewise.
5316 * javax/swing/plaf/basic/BasicSliderUI.java
5317 (PropertyChangeHandler.propertyChange): Likewise.
5318 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5319 (PropertyChangeHandler.propertyChange): Likewise.
5320 * javax/swing/plaf/basic/BasicToolBarUI.java
5321 (PropertyChangeHandler.propertyChange): Likewise.
5323 2005-02-15 Michael Koch <konqueror@gmx.de>
5325 * javax/swing/DefaultButtonModel.java
5326 (changeState): Made private.
5327 * javax/swing/DefaultDesktopManager.java
5328 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5329 * javax/swing/JLayeredPane.java
5330 (layerToRange): Made private.
5331 (incrLayer): Likewise.
5332 (decrLayer): Likewise.
5333 * javax/swing/JTable.java
5334 (dragEnabled): Likewise.
5335 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5336 * javax/swing/KeyStroke.java
5337 (Keystroke): Made private.
5338 * javax/swing/TransferHandler.java
5339 (COMMAND_COPY): Likewise.
5340 (COMMAND_CUT): Likewise.
5341 (COMMAND_PASTE): Likewise.
5343 2005-02-15 Michael Koch <konqueror@gmx.de>
5345 * javax/swing/JTextField.java
5346 (postActionEvent): Use text in field when actionCommand is null.
5347 (getActionCommand): Removed.
5349 2005-02-15 Michael Koch <konqueror@gmx.de>
5351 * javax/swing/AbstractSet.java: Removed.
5352 * Makefile.am: Removed javax/swing/AbstractSet.java.
5353 * Makefile.in: Regenerated.
5355 2005-02-15 Michael Koch <konqueror@gmx.de>
5357 * java/awt/Window.java
5358 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5359 * java/awt/dnd/DnDConstants.java
5360 (DnDConstants): New private constructor.
5362 2005-02-15 Michael Koch <konqueror@gmx.de>
5364 * javax/swing/DefaultCellRenderer.java: Removed.
5365 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5366 * Makefile.in: Regenerated.
5368 2005-02-15 Michael Koch <konqueror@gmx.de>
5370 * javax/swing/AbstractButton.java
5371 (fireItemStateChanged): Made protected.
5372 (fireActionPerformed): Likewise.
5373 (fireStateChanged): Likewise.
5374 * javax/swing/DefaultButtonModel.java
5375 (fireItemStateChanged): Likewise.
5376 (fireActionPerformed): Likewise.
5377 (fireStateChanged): Likewise.
5378 * javax/swing/JApplet.java
5380 (frameInit): Likewise.
5381 (setRootPane): Made protected.
5382 (createRootPane): Likewise.
5383 * javax/swing/JComponent.java
5384 (getClientProperty): Likewise.
5385 (putClientProperty): Likewise.
5386 * javax/swing/JEditorPane.java
5387 (getContentType): Likewise.
5388 (setContentType): Likewise.
5389 * javax/swing/JFrame.java
5390 (setRootPane): Likewise.
5391 (createRootPane): Likewise.
5392 * javax/swing/JInternalFrame.java
5393 (getFocusCycleRootAncestor): Made final. Added @since tag.
5394 (isFocusCycleRoot): Likewise.
5395 (getWarningString): Made final.
5396 * javax/swing/JScrollBar.java
5397 (changeListener): Removed.
5398 (changeEvent): Likewise.
5399 (createChangeListener): Likewise.
5400 (fireStateChanged): Likewise.
5401 (addChangeListener): Likewise.
5402 (removeChangeListener): Likewise.
5403 (getChangeListeners): Likewise.
5404 * javax/swing/JScrollPane.java
5405 (createViewport): Made protected.
5406 * javax/swing/JViewport.java
5407 (addImpl): Likewise.
5408 (setBorder): New method.
5409 * javax/swing/JWindow.java
5410 (setRootPane): Made protected.
5411 (createRootPane): Likewise.
5412 * javax/swing/plaf/basic/BasicButtonUI.java
5413 (installListeners): Likewise.
5414 (uninstallListeners): Likewise.
5415 * javax/swing/plaf/basic/BasicProgressBarUI.java
5416 (incrementAnimationIndex): Likewise.
5417 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5418 (createLayoutManager): Likewise.
5419 * javax/swing/table/DefaultTableCellRenderer.java
5420 (firePropertyChange): Likewise.
5421 * javax/swing/table/JTableHeader.java
5422 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5424 * javax/swing/text/PlainDocument.java
5425 (reindex): Made private.
5426 * javax/swing/text/PlainView.java
5427 (drawLine): Made protected.
5428 (getTabSize): Likewise.
5429 * javax/swing/text/View.java
5431 (preferenceChanged): New method.
5432 (getBreakWeight): Likewise.
5433 (breakView): Likewise.
5434 (getViewIndex): Likewise.
5436 2005-02-15 Michael Koch <konqueror@gmx.de>
5438 * javax/swing/JScrollPane.java
5439 (ScrollBar): Made class protected.
5440 * javax/swing/JSpinner.java
5441 (JSpinner): Added @since tag.
5442 (listenerList): Removed.
5443 * javax/swing/JTable.java
5444 (setValueAt): New method.
5445 (getColumn): Likewise.
5446 * javax/swing/JWindow.java
5447 (rootPaneCheckingEnabled): Renamed from checking.
5449 2005-02-15 Michael Koch <konqueror@gmx.de>
5451 * javax/swing/plaf/basic/BasicTextUI.java
5452 (RootView.modelToView): Made it public and return a java.awt.Shape.
5453 Handle null subview.
5454 (uninstall): Set textComponent to null when its not possible used
5456 * javax/swing/text/View.java
5457 (setParent): Use better argument name.
5458 (getContainer): Get parent via getParent().
5459 (getViewFactory): Likewise.
5460 (getAttributes): Get element via getElement().
5461 (getStartOffset): Likewise.
5462 (getEndOffset): Likewise.
5463 (getResizeWeight): New method.
5464 (getMaximumSpan): Likewise.
5465 (getMinimumSpan): Likewise.
5466 (setSize): Likewise.
5467 (getGraphics): Likewise.
5469 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5471 * java/awt/Checkbox.java:
5472 (AccessibleAWTCheckbox()): Added public constructor
5474 * java/awt/Choice.java:
5475 (AccessibleAWTChoice): Added class documentation.
5476 (AccessibleAWTChoice()): Added public constructor
5478 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5479 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5480 and changed role to COMBO_BOX.
5481 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5482 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5483 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5485 2005-02-15 Graydon Hoare <graydon@redhat.com>
5486 Michael Koch <konqueror@gmx.de>
5488 * javax/swing/LayoutFocusTraversalPolicy.java,
5489 javax/swing/SortingFocusTraversalPolicy.java:
5491 * Makefile.am: Added new classes.
5492 * Makefike.in: Regenerated.
5495 2005-02-15 Michael Koch <konqueror@gmx.de>
5497 * javax/swing/DebugGraphics.java: Mostly implemented.
5499 2005-02-15 Michael Koch <konqueror@gmx.de>
5501 * javax/swing/SwingUtilities.java
5502 (findFocusOwner): New method.
5504 2005-02-15 Michael Koch <konqueror@gmx.de>
5506 * javax/swing/text/DefaultEditorKit.java
5507 (read): Added '\n' after each line.
5508 * javax/swing/text/PlainView.java
5509 (modelToView): Update metrics.
5510 (drawLine): Use offsets from element.
5511 (paint): Update metrics. Draw all lines.
5513 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5515 * java/awt/Checkbox.java:
5516 (AccessibleAWTCheckbox): Added class documentation
5517 * java/awt/Scrollbar.java:
5518 (AccessibleAWTScrollBar): typo corrected and docs added
5519 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5520 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5521 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5522 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5523 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5524 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5525 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5526 (getAccessibleContext()): name of accessible class corrected
5528 2005-02-15 Mark Wielaard <mark@klomp.org>
5530 * java/awt/BasicStroke.java (hashCode): Implement.
5533 2005-02-15 Michael Koch <konqueror@gmx.de>
5535 * java/awt/print/PrinterJob.java
5536 (pageDialog): Throws java.awt.HeadlessException.
5537 (printDialog): Likewise.
5539 2005-02-15 Mark Wielaard <mark@klomp.org>
5541 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5543 2005-02-15 Michael Koch <konqueror@gmx.de>
5545 * javax/swing/JTable.java
5546 (getValueAt): New method.
5547 * javax/swing/table/JTableHeader.java
5548 (columnAtPoint): New method.
5550 2005-02-15 Michael Koch <konqueror@gmx.de>
5552 * javax/swing/JTextField.java
5553 (actions): New field.
5554 (static): Initalize actions field.
5555 (getActions): New method.
5557 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5559 * java/awt/Checkbox.java:
5560 (AccessibleAWTCheckbox): name capitalization corrected
5561 and serialization UID added.
5562 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5564 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5565 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5566 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5567 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5568 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5569 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5570 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5571 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5572 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5573 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5574 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5576 (getAccessibleContext()): name of accessible class corrected
5578 2005-02-15 Sven de Marothy <sven@physto.se>
5580 * java/awt/geom/doc-files/Area-1.png,
5581 java/awt/geom/doc-files/Ellipse-1.png,
5582 java/awt/geom/doc-files/GeneralPath-1.png:
5585 2005-02-15 Graydon Hoare <graydon@redhat.com>
5587 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5588 Use union to avoid type-punning warning.
5590 2005-02-15 Michael Koch <konqueror@gmx.de>
5592 * javax/swing/DefaultListSelectionModel.java
5593 (clone): New method.
5595 2005-02-15 Mark Wielaard <mark@klomp.org>
5597 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5598 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5599 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5600 Correct method signature of gtkSetFilename.
5602 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5604 * javax/swing/text/StringContent.java: New file.
5606 2005-02-15 Michael Koch <konqueror@gmx.de>
5608 * Makefile.am: Added javax/swing/text/StringContent.java.
5609 * Makefile.in: Regenerated.
5611 2005-02-15 Michael Koch <konqueror@gmx.de>
5613 * gnu/java/awt/ClasspathToolkit.java:
5614 Import statements reworked.
5615 (imageCache): Made it of type java.util.HashMap.
5617 2005-02-15 Michael Koch <konqueror@gmx.de>
5619 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5620 Reworked import statements.
5622 2005-02-15 Graydon Hoare <graydon@redhat.com>
5624 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5625 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5627 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5629 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5630 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5633 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5634 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5635 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5636 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5637 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5638 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5639 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5640 Rewrite uses of extern variable to be function calls.
5641 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5642 function, from extern variable.
5643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5644 (gdk_env): Remove variable, add new function.
5645 (java_vm): Add new variable.
5646 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5647 java_vm rather than old gdk_env variable.
5649 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5651 * javax/swing/DefaultListModel.java
5652 (add): fire correct event,
5653 (addElement): corrected interval indices in event,
5654 (clear): corrected upper bound for interval, only fire event if
5656 (setSize): fire appropriate event.
5658 2005-02-15 Graydon Hoare <graydon@redhat.com>
5660 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5661 * gnu/awt/xlib/XToolkit.java: Likewise.
5662 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5663 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5664 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5665 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5666 * java/awt/EventQueue.java (getNextEvent):
5667 Adjust event loop to switch to native mode after 100ms.
5668 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5670 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5671 Wake up event thread.
5672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5673 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5674 Adjust event loop to switch to java mode after 100ms.
5676 2005-02-15 Graydon Hoare <graydon@redhat.com>
5678 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5679 accidentally removed in last change.
5681 2005-02-15 Michael Koch <konqueror@gmx.de>
5683 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5684 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5686 2005-02-15 Graydon Hoare <graydon@redhat.com>
5688 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5689 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5690 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5691 * jni.cc: Reuse bottom frame between calls, avoid clearing
5692 frame when no local references are made.
5694 2005-02-15 Michael Koch <konqueror@gmx.de>
5696 * javax/swing/UIDefaults.java (UIDefaults):
5697 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5698 Fixed HTML entity and removed a redundant comma.
5700 2005-02-15 Michael Koch <konqueror@gmx.de>
5702 * javax/swing/text/DefaultEditorKit.java
5703 (deinstall): Removed.
5704 (install): Likewise.
5706 2005-02-15 Michael Koch <konqueror@gmx.de>
5708 * javax/swing/UIDefaults.java (put): Handle value of null.
5710 2005-02-15 Michael Koch <konqueror@gmx.de>
5712 * java/awt/Robot.java,
5713 java/awt/Scrollbar.java,
5714 java/awt/print/PrinterJob.java,
5715 javax/swing/JTable.java,
5716 javax/swing/text/AbstractDocument.java:
5717 Reworked import statements.
5719 2005-02-15 Michael Koch <konqueror@gmx.de>
5721 * javax/swing/JEditorPane.java
5722 (read): Implemented.
5724 * javax/swing/text/DefaultEditorKit.java
5725 (page): Renamed from page_url. Made private.
5726 (editorKit): Renamed from kit. Made private.
5728 (JEditorPane): All constructors reimplemented.
5729 (getContentType): Use content type from editor kit.
5730 (getEditorKit): Return editorKit.
5731 (getEditorKitForContentType):Likewise.
5732 (getPage): Return page.
5733 (setContentType): Reimplemented.
5734 (setEditorKit): Likewise.
5735 (setEditorKitForContentType): Removed wrong implementation.
5736 (setPage): Implemented.
5738 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5741 (nativeSetIconImageFromData): Re-add native implementation.
5743 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5745 * javax/swing/table/DefaultTableModel.java
5746 (DefaultTableModel()): Added Javadocs.
5747 (DefaultTableModel(int, int)): Fixed implementation.
5748 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5749 for negative rowCount.
5750 (DefaultTableModel(Object[], int)): Added Javadocs.
5751 (DefaultTableModel(Vector, Vector)): Likewise.
5752 (DefaultTableModel(Object[][], Object[])): Likewise.
5753 (getDataVector): Likewise.
5754 (setDataVector(Vector, Vector)): Likewise.
5755 (setDataVector(Object[][], Object[])): Likewise.
5756 (newDataAvailable): Likewise.
5757 (newRowsAdded): Likewise.
5758 (rowsRemoved): Likewise.
5759 (setColumnIdentifiers(Vector)): Allow for null argument.
5760 (setColumnIdentifiers(Object[])): Added Javadocs.
5761 (setNumRows): Likewise.
5762 (setRowCount): Adds new rows if necessary, and sends more specific
5764 (setColumnCount): Allow for null columnIdentifiers.
5765 (addColumn(Object)): Added Javadocs.
5766 (addColumn(Object, Vector)): Handle null columnData.
5767 (addColumn(Object, Object[])): Handle columnData with more or less
5768 entries than rows in the table.
5769 (addRow(Vector)): Fire appropriate event.
5770 (addRow(Object[])): Added Javadocs.
5771 (insertRow(int, Vector)): Fire appropriate event.
5772 (insertRow(int, Object[])): Added Javadocs.
5773 (moveRow): Reimplemented.
5774 (removeRow(int)): Fire appropriate event.
5775 (getColumnCount): Allow for null columnIdentifiers.
5776 (getColumnName): Now returns empty string when column index is too
5778 (isCellEditable): Added Javadocs.
5779 (getValueAt): Likewise.
5780 (setValueAt): Fire more specific event.
5781 (convertToVector): Added Javadocs.
5782 * javax/swing/table/TableModel.java
5785 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5787 * libgcj.spec.in (lib): Add -l-javax-imageio.
5789 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5791 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5792 references to event queue q with method call q().
5793 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5794 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5795 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5796 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5797 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5798 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5801 2005-02-15 Graydon Hoare <graydon@redhat.com>
5803 * gnu/java/awt/ClasspathToolkit.java
5804 (registerImageIOSpis): New method.
5805 * gnu/java/awt/image/ImageDecoder.java
5806 (imageDecoder): New constructor using InputStream
5807 (startProduction): Handle existing InputStream.
5808 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5809 (findSimpleIntegerArray): Make public and static.
5810 (updateBufferedImage): Set each pixel, in a loop.
5811 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5812 Implement ImageIO SPI classes.
5813 (createBufferedImage): Rewrite in terms of SPI classes.
5814 * gnu/java/awt/peer/gtk/GtkToolkit.java
5815 (registerImageIOSpis): New method.
5816 * java/lang/reflect/natMethod.cc
5817 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5818 which lets JNI call interface methods properly.
5819 * javax/imageio/ImageIO.java
5820 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5821 (WriterMIMETypeFilter.filter): Likewise.
5822 (ImageReaderIterator): Pass extension argument through to SPI.
5823 (getReadersByFilter): Likewise.
5824 (getWritersByFilter): Likewise.
5825 (getImageReadersByFormatName): Likewise.
5826 (getImageReadersByMIMEType): Likewise.
5827 (getImageReadersBySuffix): Likewise.
5828 (getImageWritersByFormatName): Likewise.
5829 (getImageWritersByMIMEType): Likewise.
5830 (getImageWritersBySuffix): Likewise.
5833 * javax/imageio/ImageReader.java
5834 (progressListeners): Initialize.
5835 (setInput): Implement.
5836 * javax/imageio/ImageWriter.java
5837 (progressListeners): Initialize.
5838 (warningListeners): Likewise.
5839 (warningLocales): Likewise.
5840 (setOutput): Test "isInstance" rather than class equality.
5841 * javax/imageio/spi/IIORegistry.java
5842 (static): Add reader and writer SPIs.
5843 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5845 (query_formats): New function.
5846 (save_to_stream): Likewise.
5847 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5849 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5853 (keyPress): Likewise.
5854 (keyRelease): Likewise.
5856 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5858 * javax/swing/JTable.java
5859 (columnAtPoint): New Method. Implemented.
5860 (rowAtPoint): Likewise.
5861 (countSelections): Fixed few small count errors.
5862 (getSelections): Likewise.
5863 (setSelectionMode): Set selection mode for column
5864 selection model in addition to row selection model.
5865 * javax/swing/plaf/basic/BasicTableUI.java:
5866 (getRowForPoint): Removed. Replaced by
5867 JTable.rowAtPoint().
5868 (getColForPoint): Removed. Replaced by
5869 JTable.columnAtPoint().
5870 (updateSelection): Updated to call JTable.columnAtPoint
5871 and JTable.rowAtPoint.
5872 * javax/swing/table/DefaultTableColumnModel.java:
5873 (getSelectedColumns): Implemented.
5874 (getSelectedColumnCount): Implemented.
5876 2005-02-15 Graydon Hoare <graydon@redhat.com>
5879 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5880 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5881 * Makefile.in: Regenerate.
5882 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5883 * gnu/awt/xlib/XFramePeer.java: Likewise.
5884 * gnu/awt/xlib/XToolkit.java: Likewise.
5885 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5886 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5887 * gnu/java/awt/ClasspathToolkit.java
5890 (iterateNativeQueue): New methods.
5891 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5892 * gnu/java/awt/peer/gtk/GtkToolkit.java
5893 (gtkInit): Absorb from defunct GtkMainThread class.
5894 (static): Run gtkInit in static startup block.
5895 (GtkToolkit): Remove construction of GtkMainThread and queue.
5896 (getSystemEventQueueImpl): Construct queue when requested.
5899 (iterateNativeQueue): New methods.
5900 * java/awt/Component.java (removeNotify): Remove race.
5901 * java/awt/EventDispatchThread.java
5902 (EventDispatchThread): Don't start on construction.
5903 (run): Remove isInterrupted check.
5904 * java/awt/EventQueue.java (shutdown): New flag.
5905 (isShutdown): New method checking J2SE shutdown condition.
5906 (setShutdown): New method.
5907 (getNextEvent): Restructure to use ClasspathToolkit.
5908 (postEvent): Activate new thread on posting, wake thread on
5909 post of possible shutdown condition event.
5910 * java/awt/Frame.java
5911 (Frame): Call noteFrame in all constructors.
5912 (fireDummyEvent): New helper method.
5913 (addNotify): Fire a dummy event to wake up queue.
5914 (removeNotify): Fire a dummy event to wake up queue.
5915 (noteFrame): New method.
5916 (weakFrames): New static field.
5917 (getFrames): Implement.
5918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5920 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5921 Move everything from GtkMainThread into this file
5922 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5923 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5924 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5925 New functions to implement single-threaded queue semantics.
5927 2005-02-15 Michael Koch <konqueror@gmx.de>
5929 * javax/swing/plaf/metal/MetalLookAndFeel.java
5930 (getControlTextFont): New method.
5931 (getMenuTextFont): Likewise.
5932 (getSubTextFont): Likewise.
5933 (getSystemTextFont): Likewise.
5934 (getUserTextFont): Likewise.
5935 (getWindowTitleFont): Likewise.
5937 2005-02-15 Michael Koch <konqueror@gmx.de>
5939 * javax/swing/text/AbstractDocument.java
5940 (documentFilter): New field.
5941 (getDocumentFilter): New method.
5942 (setDocumentFilter): Likewise.
5945 2005-02-15 Michael Koch <konqueror@gmx.de>
5947 * javax/swing/JTree.java
5948 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5950 2005-02-15 Michael Koch <konqueror@gmx.de>
5952 * javax/swing/text/AbstractDocument.java
5953 (AbstractElement.getLength): Fixed off-by-one error.
5954 (AbstractElement.children): Made abstract.
5955 (AbstractElement.getAllowsChildren): Likewise.
5956 (AbstractElement.getElement): Likewise.
5957 (AbstractElement.dumpElement): New private method.
5958 (AbstractElement.dump): New method.
5959 (BranchElememt.getName): Fixed implementation.
5960 (BranchElememt.toString): Likewise.
5961 (BranchElememt.getElement): Fixed arguments.
5962 (LeafElement.getName): Fixed implementation.
5963 (LeafElement.toString): Likewise.
5964 * javax/swing/text/GapContent.java
5965 (GapContent): Put default content into buffer.
5966 * javax/swing/text/PlainDocument.java
5967 (reindex): Use empty attribute sets instead of null.
5968 (createDefaultRoot): Reimplemented.
5969 (insertUpdate): Call super method.
5970 (removeUpdate): Likewise.
5971 (getParagraphElement): Implemented.
5973 2005-02-15 Michael Koch <konqueror@gmx.de>
5975 * gnu/java/awt/ClasspathToolkit.java
5976 (createRobot): Throws java.awt.AWTException.
5977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5978 Added '__attribute__((unused))' to all unused method arguments.
5980 2005-02-15 Michael Koch <konqueror@gmx.de>
5982 * javax/swing/DefaultBoundedRangeModel.java
5983 (fireValueChanged): Fixed off-by-one error.
5985 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5987 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5988 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5990 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5991 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5992 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5993 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5994 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5995 (getDefaultScreenDevice): Implement.
5996 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5997 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5998 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5999 * java/awt/Robot.java: Implement.
6000 * java/awt/peer/RobotPeer.java: Rename parameters.
6001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6002 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6003 (awt_keycode_to_keysym): Make non-static.
6004 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6005 AWT_BUTTON3_MASK): Declare constants.
6006 (awt_keycode_to_keysym): Declare.
6008 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6009 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6010 and is non-empty pass its value to "make check".
6011 (test_mauve_sim): Likewise.
6013 2005-02-15 Michael Koch <konqueror@gmx.de>
6015 * javax/imageio/IIOParam.java
6016 (setSourceBands): New method.
6017 (setSourceSubsampling): Likewise.
6018 * javax/imageio/ImageReadParam.java
6019 (setDestination): Likewise.
6020 (setDestinationBands): Likewise.
6021 (setSourceProgressivePasses): Likewise.
6022 * javax/imageio/metadata/IIOInvalidTreeException.java
6023 (serialVersionUID): New static field.
6024 * javax/imageio/metadata/IIOMetadataNode.java
6025 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6026 (parent): Dont initailize with default value explicitely.
6028 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6029 (removeAttributeNode): Likewise.
6030 (removeAttributeNS): Likewise.
6031 (setAttribute): Likewise.
6032 (setAttributeNode): Likewise.
6033 (setAttributeNodeNS): Likewise.
6034 (setAttributeNS): Likewise.
6035 (appendChild): Likewise.
6036 (getNodeValue): Likewise.
6037 (insertBefore): Likewise.
6038 (removeChild): Likewise.
6039 (replaceChild): Likewise.
6040 (setPrefix): Likewise.
6042 2005-02-15 Michael Koch <konqueror@gmx.de>
6044 * javax/swing/LookAndFeel.java
6045 (getDesktopPropertyValue): New method.
6047 2005-02-15 Michael Koch <konqueror@gmx.de>
6049 * javax/swing/JTree.java
6050 (hasChildren): New instance field.
6052 2005-02-15 Michael Koch <konqueror@gmx.de>
6054 * javax/swing/JComponent.java
6055 (getToolTipText): New method.
6056 (getTitledBorderText): Likewise.
6057 (getAccessibleKeyBinding): Likewise.
6058 (getVerifyInputWhenFocusTarget): Likewise.
6059 (setVerifyInputWhenFocusTarget): Likewise.
6060 (verifyInputWhenFocusTarget): New instance field.
6062 2005-02-15 Michael Koch <konqueror@gmx.de>
6064 * javax/swing/DefaultListSelectionModel.java
6065 (fireValueChanged): New method.
6067 2005-02-15 Michael Koch <konqueror@gmx.de>
6069 * javax/swing/DefaultBoundedRangeModel.java:
6070 Fixed javadocs all over.
6071 (fireStateChanged): Simplified.
6072 * javax/swing/BoundedRangeModel.java:
6075 2005-02-15 Michael Koch <konqueror@gmx.de>
6077 * javax/swing/JRootPane.java
6078 (setMenuBar): Added @deprecated tag.
6079 (getMenuBar): Likewise.
6080 * javax/swing/JTable.java
6081 (sizeColumnsToFit): Likewise.
6083 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6085 * javax/swing/ImageIcon.java (setImage): Implemented.
6087 2005-02-15 Michael Koch <konqueror@gmx.de>
6089 * javax/swing/JTable.java:
6090 Removed unused imports.
6092 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6094 (prepareRenderer): Get column's index in dataModel instead
6095 of column's view index.
6096 (getColumnCount): return count of the columns in ColumnModel,
6098 (removeColumn): Implemented.
6099 (moveColumm): Likewise.
6100 (setRowHeight): throw IllegalArgumentException if height is
6102 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6103 (DefaultTableColumnModel):Add call to createSelectionModel().
6104 (addColumn): Fire columnAdded event to registered listeners.
6105 (removeColumn): Fire columnRemoved event to registered listeners.
6106 (moveColumn): Fire columnMoved event to registered listeners.
6107 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6108 (getColumnIndex): Changed parameter name.
6109 (setColumnSelectionAllowed): Likewise.
6110 (fireColumnAdded): Implemented.
6111 (fireColumnRemoved): Likewise.
6112 (fireColumnMoved): Likewise.
6113 (fireColumnMarginChanged): Likewise.
6114 (getListeners): Changed parameter name.
6115 (propertyChange): Implemented.
6116 (valueChanged): Changed parameter name.
6117 (createSelectionModel): Implemented.
6119 2005-02-15 Michael Koch <konqueror@gmx.de>
6121 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6122 Explicitely import used classes.
6123 (getLocalGraphicsEnvironment): Simplify.
6124 * java/awt/Window.java (Window):
6125 Enable code to get the default GraphicsConfiguration.
6127 2005-02-15 Michael Koch <konqueror@gmx.de>
6129 * javax/swing/plaf/metal/DefaultMetalTheme.java
6130 (CONTROL_TEXT_FONT): New static field.
6131 (MENU_TEXT_FONT): Likewise.
6132 (SUB_TEXT_FONT): Likewise.
6133 (SYSTEM_TEXT_FONT): Likewise.
6134 (USER_TEXT_FONT): Likewise.
6135 (WINDOW_TITLE_FONT): Likewise.
6136 (getControlTextFont): New method.
6137 (getMenuTextFont): Likewise.
6138 (getSubTextFont): Likewise.
6139 (getSystemTextFont): Likewise.
6140 (getUserTextFont): Likewise.
6141 (getWindowTitleFont): Likewise.
6142 * javax/swing/plaf/metal/MetalTheme.java
6143 (BLACK): Initialize with Color.BLACK.
6144 (WHITE): Initialize with Color.WHITE.
6145 (getInactiveControlTextColor): Return getControlDisabled().
6146 (getMenuDisabledForeground): Return getSecondary3().
6147 (getControlTextFont): New abstract method.
6148 (getMenuTextFont): Likewise.
6149 (getSubTextFont): Likewise.
6150 (getSystemTextFont): Likewise.
6151 (getUserTextFont): Likewise.
6152 (getWindowTitleFont): Likewise.
6154 2005-02-15 Michael Koch <konqueror@gmx.de>
6156 * javax/swing/JFormattedTextField.java
6157 (getFocusLostBehavior): Fixed typo in method name.
6158 (setFocusLostBehavior): Likewise.
6160 2005-02-15 Michael Koch <konqueror@gmx.de>
6162 * javax/swing/TransferHandler.java:
6163 Reworked import statements.
6165 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6167 * java/awt/Button.java,
6168 java/awt/Canvas.java,
6169 java/awt/Checkbox.java,
6170 java/awt/CheckboxMenuItem.java,
6171 java/awt/Choice.java,
6172 java/awt/Dialog.java,
6173 java/awt/Frame.java,
6174 java/awt/Label.java,
6177 java/awt/MenuBar.java,
6178 java/awt/MenuItem.java,
6179 java/awt/PopupMenu.java,
6180 java/awt/ScrollPane.java,
6181 java/awt/Scrollbar.java,
6182 java/awt/TextArea.java,
6183 java/awt/Window.java (getAccessibleContext): Clean up comments.
6185 * java/awt/Button.java,
6186 java/awt/Checkbox.java,
6187 java/awt/Choice.java,
6189 java/awt/PopupMenu.java,
6190 java/awt/TextArea.java (getAccessibleContext): Only create new
6192 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6194 2005-02-15 Michael Koch <konqueror@gmx.de>
6196 * java/awt/Button.java,
6197 javax/swing/JApplet.java,
6198 javax/swing/JFormattedTextField.java,
6199 javax/swing/JWindow.java,
6200 javax/swing/JTree.java,
6201 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6202 javax/swing/plaf/basic/BasicTextPaneUI.java,
6203 javax/swing/plaf/basic/BasicTreeUI.java:
6204 Reworked import statements.
6206 2005-02-15 Michael Koch <konqueror@gmx.de>
6208 * Makefile.am: Put javax.imageio into its own library and link it
6209 against lib-org-w3c-dom.la to fix bootstrapping.
6210 * Makefile.in: Regenerated.
6212 2005-02-15 Michael Koch <konqueror@gmx.de>
6214 * javax/swing/text/TextAction.java
6215 (getTextComponent): Simplified. Added Javadoc.
6216 (augmentList): Implemented. Added Javadoc.
6217 (getFocusedComponent): Added javadoc.
6219 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6221 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6222 getAccessibleContext): Implement.
6223 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6224 getAccessibleContext): Implement.
6226 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6228 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6230 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6232 * java/awt/Window.java (getAccessibleContext): Fix comment.
6233 Remove extra import.
6235 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6237 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6238 (isActive, isFocused, getAccessibleContext): Implement.
6240 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6242 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6243 * java/awt/MenuComponent.java (accessibleContext): Make package
6245 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6246 AccessibleAWTCheckboxMenuItem): Implement.
6248 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6250 * java/awt/List.java: Implement AccessibleAWTList,
6251 AccessibleAWTListChild.
6253 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6255 * java/awt/Choice.java: Add implements declaration for
6258 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6260 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6263 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6265 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6266 implemented interface list.
6268 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6270 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6271 * javax/imageio/metadata/IIOAttr.java: New class.
6272 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6273 * javax/imageio/metadata/IIONodeList.java: New class.
6274 * Makefile.am: Added new files.
6275 * Makefile.in: Regenerated.
6277 2005-02-15 Michael Koch <konqueror@gmx.de>
6279 * javax/swing/AbstractAction.java,
6280 javax/swing/AbstractCellEditor.java,
6281 javax/swing/AbstractListModel.java,
6282 javax/swing/DefaultBoundedRangeModel.java,
6283 javax/swing/DefaultButtonModel.java,
6284 javax/swing/DefaultCellEditor.java,
6285 javax/swing/DefaultComboBoxModel.java,
6286 javax/swing/DefaultDesktopManager.java,
6287 javax/swing/JMenu.java,
6288 javax/swing/JSlider.java,
6289 javax/swing/KeyStroke.java,
6290 javax/swing/OverlayLayout.java,
6291 javax/swing/ScrollPaneLayout.java,
6292 javax/swing/SizeRequirements.java,
6293 javax/swing/ViewportLayout.java:
6294 Made serialVersionUID private.
6296 2005-02-15 Michael Koch <konqueror@gmx.de>
6298 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6301 2005-02-15 Michael Koch <konqueror@gmx.de>
6303 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6305 2005-02-15 Michael Koch <konqueror@gmx.de>
6307 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6309 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6311 * java/awt/EventDispatchThread.java,
6312 java/awt/Toolkit.java:
6313 Don't catch java.lang.ThreadDeath.
6315 2005-02-15 Michael Koch <konqueror@gmx.de>
6317 * javax/swing/text/PasswordView.java
6318 (drawEchoCharacter): Added javadoc.
6319 (drawSelectedText): Likewise.
6320 (drawUnselectedText): Likewise.
6322 2005-02-15 Michael Koch <konqueror@gmx.de>
6324 * javax/swing/JRootPane.java
6325 (windowDecorationStyle): New field.
6326 (setMenuBar): New method.
6327 (getMenuBar): Likewise.
6328 (getWindowDecorationStyle): Likewise.
6329 (setWindowDecorationStyle): Likewise.
6331 2005-02-15 Michael Koch <konqueror@gmx.de>
6333 * javax/swing/DefaultListSelectionModel.java
6334 (leadAnchorNotificationEnabled): Made protected.
6336 2005-02-15 Michael Koch <konqueror@gmx.de>
6338 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6339 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6340 * Makefile.in: Regenerated.
6343 2005-02-15 Michael Koch <konqueror@gmx.de>
6345 * javax/swing/JFormattedTextField.java: Implemented.
6346 * javax/swing/JWindow.java
6347 (JWindow): New constructors.
6348 (initWindow): Renamed from initFrame.
6349 * javax/swing/UIDefaults.java
6350 (ActiveValue): Made interface static.
6351 (LazyValue): Likewise.
6352 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6353 (TitlePaneLayout.TitlePaneLayout): New constructor.
6354 * javax/swing/plaf/basic/BasicSliderUI.java
6355 (ChangeHandler): Made public.
6356 (FocusHandler): Likewise.
6357 (PropertyChangeHandler): Likewise.
6358 (ScrollListener): Likewise.
6359 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6360 (FocusHandler): Likewise.
6361 (MouseHandler): Likewise.
6362 * javax/swing/plaf/basic/BasicTextPaneUI.java
6363 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6364 * javax/swing/plaf/basic/BasicToolBarUI.java
6365 (BasicToolBarUI): Simplified. Reworked javadoc.
6366 (canDock): Simplified. Make public.
6367 (DockingListener): Made public.
6368 * javax/swing/text/JTextComponent.java
6369 (navigationFilter): New field.
6370 (getNavigationFilter): New method.
6371 (setNavigationFilter): Likewise.
6373 2005-02-15 Michael Koch <konqueror@gmx.de>
6375 * javax/swing/plaf/metal/MetalTheme.java
6376 (getControlTextColor): Return getControlInfo().
6377 (getHighlightedTextColor): Return getControlTextColor().
6379 2005-02-15 Michael Koch <konqueror@gmx.de>
6381 * javax/swing/plaf/basic/BasicButtonListener.java
6382 (BasicButtonListener): New constructor.
6383 * javax/swing/plaf/basic/BasicButtonUI.java
6384 (createButtonListener): Usw new BasicButtonListener constructor.
6386 2005-02-15 Michael Koch <konqueror@gmx.de>
6388 * javax/imageio/event/package.html,
6389 javax/imageio/metadata/package.html: New files.
6391 2005-02-15 Michael Koch <konqueror@gmx.de>
6393 * java/awt/image/MemoryImageSource.java: Reformatted.
6395 2005-02-15 Michael Koch <konqueror@gmx.de>
6397 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6399 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6401 * java/awt/color/ICC_Profile.java
6402 (finalize): Removed pointless field assignments.
6404 2005-02-15 Michael Koch <konqueror@gmx.de>
6406 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6407 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6408 * Makefile.in: Regenerated.
6410 2005-02-15 Michael Koch <konqueror@gmx.de>
6412 * javax/swing/text/DefaultStyledDocument.java: New file.
6413 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6414 * Makefile.in: Regenerated.
6416 2005-02-15 Michael Koch <konqueror@gmx.de>
6418 * javax/swing/JFileChooser.java
6419 (showDialog): Return CANCEL_OPTION for now.
6420 (showOpenDialog): Likewise.
6421 (showSaveDialog): Likewise.
6423 2005-02-15 Michael Koch <konqueror@gmx.de>
6425 * javax/swing/JApplet.java
6426 (HIDE_ON_CLOSE): Removed.
6427 (EXIT_ON_CLOSE): Likewise.
6428 (DISPOSE_ON_CLOSE): Likewise.
6429 (DO_NOTHING_ON_CLOSE): Likewise.
6430 (close_action): Likewise.
6431 (getDefaultCloseOperation): Likewise.
6432 (setDefaultCloseOperation): Likewise.
6433 (processWindowEvent): Likewise.
6434 (getPreferredSize): Simplified.
6435 * javax/swing/JInternalFrame.java
6436 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6438 * javax/swing/JWindow.java
6439 (HIDE_ON_CLOSE): Removed.
6440 (EXIT_ON_CLOSE): Likewise.
6441 (DISPOSE_ON_CLOSE): Likewise.
6442 (DO_NOTHING_ON_CLOSE): Likewise.
6443 (close_action): Likewise.
6444 (processKeyEvent): Likewise.
6445 (setDefaultCloseOperation): Likewise.
6446 (getPreferredSize): Simplified.
6448 2005-02-15 Michael Koch <konqueror@gmx.de>
6450 * javax/swing/JTextField.java
6451 (getPreferredSize): Re-implemented.
6453 2005-02-15 Michael Koch <konqueror@gmx.de>
6455 * javax/swing/JLabel.java
6456 (setDisplayedMnemonic): Use only upper case characters.
6457 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6458 PropertyChangeEvent after property got set to the new index.
6460 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6462 * javax/swing/JComboBox.java:
6463 (JComboBox): Removed selection of the
6464 first item in the model.
6466 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6468 * javax/swing/JComboBox.java
6469 added support for no item being selected
6470 (JComboBox): select first or nothing depending on element count
6471 (setModel): cleaned up unneeded "this." usage, added more
6472 docs, made exception behavior match that of the JDK
6473 (setLighWeightPopupEnabled): removed unneeded "this." usage
6475 (setMaximumRowCount): dito
6477 (setPrototypeDisplayValue): dito
6478 (getSelectedItem): simplified, added more user doc
6479 (setSelectedIndex): corrected exception behavior, added more user doc
6480 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6481 added performance warning to user doc
6482 (addItem): fixed exception behavior, added user doc
6483 (insertItemAt): dito
6485 (removeItemAt): dito
6486 (removeAll): fixed exception behavior, added user doc, added support
6487 for model not being instance of DefaultComboBoxModel
6488 (getSelectedItemObjects): simplified
6489 (getItemCount): fixed dependency on DefaultComboBoxModel
6490 (getItemAt): fixed dependency on MutableComboBoxModel
6491 * javax/swing/DefaultComboBoxModel.java:
6492 (setSelectedItem): updates selected item only if new
6493 value is null or known (match JDK behavior)
6494 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6495 (paintCurrentValue): renders "" if no item is selected
6497 2005-02-15 Michael Koch <konqueror@gmx.de>
6499 * javax/swing/plaf/metal/MetalTheme.java,
6500 javax/swing/plaf/metal/DefaultMetalTheme.java:
6502 * javax/swing/plaf/metal/MetalLookAndFeel.java
6503 * Makefile.am: Added the new files.
6504 * Makefile.in: Regenerated.
6506 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6508 * javax/swing/JTable.java
6509 (editorComp): New field.
6510 (JTable): Initialize local variables and call updateUI
6511 (selectionBackground): Make protected.
6512 (selectionForeground): Likewise.
6513 (initializeLocalVars): Create default editors and renderers,
6514 initialize editingColumn, editingRow variables.
6515 (createDefaultEditors): New Method.
6516 (createDefaultRenderers): Likewise.
6517 (createDefaultListSelectionModel): Removed
6518 (createDefaultSelectionModel): New Method.
6519 (createDefaultTableHeader): Likewise
6520 (removeColumn): Likewise.
6521 (getEditingColumn): Likewise.
6522 (setEditingColumn): Likewise.
6523 (getEditingRow): Likewise.
6524 (setEditingRow): Likewise.
6525 (getEditorComponent): Likewise.
6526 (isEditing): Likewise.
6527 (setDefaultEditor): Likewise.
6528 (addColumnSelectionInterval): Likewise.
6529 (addRowSelectionInterval): Likewise.
6530 (setColumnSelectionInterval): Likewise.
6531 (setRowSelectionInterval): Likewise.
6532 (removeColumnSelectionInterval): Likewise.
6533 (removeRowSelectionInterval): Likewise.
6534 (isColumnSelected): Likewise.
6535 (isRowSelected): Likewise.
6536 (isCellSelected): Likewise.
6537 (selectAll): Likewise.
6539 2005-02-15 Michael Koch <konqueror@gmx.de>
6541 * javax/swing/JTable.java
6542 (addColumn): New method.
6543 (getColumnClass): Likewise.
6544 (getColumnName): Likewise.
6546 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6548 * javax/swing/TransferHandler.java
6549 (createTransferable): Made protected.
6551 2005-02-15 Michael Koch <konqueror@gmx.de>
6553 * javax/swing/JTable.java,
6554 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6555 javax/swing/plaf/basic/BasicTableUI.java:
6556 Use fixed get/setIntercellSpacing() methods.
6558 2005-02-15 Michael Koch <konqueror@gmx.de>
6560 * javax/swing/JTable.java
6561 (getIntercellSpacing): Fixed typo in method name.
6562 (setIntercellSpacing): Likewise.
6564 2005-02-15 Michael Koch <konqueror@gmx.de>
6566 * javax/swing/text/JTextComponent.java
6567 (focusAccelerator): New variable.
6568 (getFocusAccelerator): New method.
6569 (setFocusAccelerator): Likewise.
6571 2005-02-15 Michael Koch <konqueror@gmx.de>
6573 * javax/swing/JComponent.java
6574 (setTransferHandler): Made public. Fire property change event.
6575 * javax/swing/TransferHandler.java: Implemented.
6576 * javax/swing/text/JTextComponent.java
6577 (DefaultTransferHandler): New inner class.
6578 (defaultTransferHandler): New variable.
6582 (doTransferAction): Likewise.
6584 2005-02-15 Michael Koch <konqueror@gmx.de>
6586 * javax/swing/JTree.java
6587 (collapsePath): New method.
6588 (collapseRow): Likewise.
6589 (expandPath): Likewise.
6590 (expandRow): Likewise.
6591 (checkExpandParents): Likewise.
6592 (doExpandParents): Likewise.
6593 (setExpandedState): Likewise.
6594 (makeVisible): Likewise.
6596 2005-02-15 Michael Koch <konqueror@gmx.de>
6598 * javax/swing/JPasswordField.java: Updated javadocs.
6600 2005-02-15 Michael Koch <konqueror@gmx.de>
6602 * javax/swing/JLayeredPane.java
6603 (getLayer): Fixed return type, made public.
6604 (getPosition): Use new getLayer().
6605 (SetPosition): Likewise.
6606 (getIndexOf): Likewise.
6608 * javax/swing/JInternalFrame.java
6609 (getLayer): Use new JLayeredPane.getLayer().
6612 2005-02-15 Michael Koch <konqueror@gmx.de>
6614 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6615 (setHeaderValue): Simplified. Do nothing when old value == new value.
6617 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6619 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6620 against null clip region.
6621 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6622 gtkWindowSetResizable.
6623 (postConfigureEvent): Only revalidate if frame size has changed.
6624 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6625 Only revalidate if frame size has changed.
6626 * java/awt/Component.java (reshape): Only repaint and post
6627 component events if component is showing.
6628 * java/awt/Container.java (addImpl): Only post container event if
6629 container is showing.
6631 * java/awt/Window.java (setLocationRelativeTo): Implement.
6632 (setBoundsCallback): Only post component events if component is
6634 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6635 Protect against null graphics structure. Flush gdk event queue.
6637 2005-02-15 Michael Koch <konqueror@gmx.de>
6639 * javax/imageio/ImageReader.java,
6640 javax/imageio/ImageTranscoder.java,
6641 javax/imageio/ImageWriter.java,
6642 javax/imageio/spi/ImageInputStreamSpi.java,
6643 javax/imageio/spi/ImageOutputStreamSpi.java,
6644 javax/imageio/spi/ServiceRegistry.java,
6645 javax/imageio/stream/ImageInputStream.java,
6646 javax/imageio/stream/ImageOutputStream.java: Updated.
6647 * javax/imageio/IIOException.java,
6648 javax/imageio/IIOImage.java,
6649 javax/imageio/IIOParam.java,
6650 javax/imageio/IIOParamController.java,
6651 javax/imageio/ImageIO.java,
6652 javax/imageio/ImageReadParam.java,
6653 javax/imageio/ImageTypeSpecifier.java,
6654 javax/imageio/ImageWriteParam.java,
6655 javax/imageio/spi/IIORegistry.java,
6656 javax/imageio/spi/ImageReaderSpi.java,
6657 javax/imageio/spi/ImageWriterSpi.java,
6658 javax/imageio/stream/FileCacheImageInputStream.java,
6659 javax/imageio/stream/FileCacheImageOutputStream.java,
6660 javax/imageio/stream/FileImageInputStream.java,
6661 javax/imageio/stream/FileImageOutputStream.java,
6662 javax/imageio/stream/ImageInputStreamImpl.java,
6663 javax/imageio/stream/ImageOutputStreamImpl.java,
6664 javax/imageio/stream/MemoryCacheImageInputStream.java,
6665 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6666 javax/imageio/event/IIOReadProgressListener.java,
6667 javax/imageio/event/IIOReadUpdateListener.java,
6668 javax/imageio/event/IIOReadWarningListener.java,
6669 javax/imageio/event/IIOWriteProgressListener.java,
6670 javax/imageio/event/IIOWriteWarningListener.java,
6671 javax/imageio/metadata/IIOMetadata.java,
6672 javax/imageio/metadata/IIOMetadataController.java,
6673 javax/imageio/metadata/IIOMetadataFormat.java,
6674 javax/imageio/metadata/IIOInvalidTreeException.java,
6675 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6676 javax/imageio/metadata/IIOMetadataNode.java: New files.
6677 * Makefile.am (javax_source_files): Added new files
6678 * Makefile.in: Regenerated.
6680 2005-02-15 Graydon Hoare <graydon@redhat.com>
6682 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6683 Rework painting into BufferedImages
6684 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6685 Construct BufferedImage with alpha only when alpha is
6686 present in colormodel.
6687 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6688 Rework painting into client-side jint arrays.
6689 * jni/gtk-peer/gtkcairopeer.h:
6692 2005-02-15 Michael Koch <konqueror@gmx.de>
6694 * javax/swing/DefaultListCellRenderer.java
6695 (serialVersionUID): Made private.
6696 (getListCellRendererComponent): Set horizontal alignment.
6697 * javax/swing/JLabel.java
6698 (setVerticalAlignment): Re-implemented.
6699 (setHorizontalAlignment): Do nothing if old value = new value.
6700 * javax/swing/JList.java
6701 (setCellRenderer): Likewise.
6702 (setModel): Re-implemented.
6703 (setSelectionModel): Likewise.
6705 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6707 * java/awt/Component.java,
6708 java/awt/geom/Rectangle2D.java:
6711 2005-02-15 Michael Koch <konqueror@gmx.de>
6713 * javax/swing/AbstractListModel.java
6714 (fireContentsChanged): Simplified.
6715 (fireIntervalAdded): Likewise.
6716 (fireIntervalRemoved): Likewise.
6717 * javax/swing/DefaultSingleSelectionModel.java:
6719 (fireStateChanged): Simplified.
6720 * javax/swing/JPopupMenu.java
6721 (setSelectionModel): Set property.
6723 2005-02-15 Michael Koch <konqueror@gmx.de>
6725 * java/awt/print/Book.java: Reformatted.
6727 2005-02-15 Michael Koch <konqueror@gmx.de>
6729 * java/awt/geom/Area.java
6730 (QuadSegment.curveArea): Remove unused variables.
6731 (CubicSegment.curveArea): Likewise.
6733 2005-02-15 Michael Koch <konqueror@gmx.de>
6735 * javax/swing/JTree.java
6736 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6737 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6738 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6739 (EXPANDED): New constant.
6740 (COLLAPSED): Likewise.
6741 (nodeStates): New field.
6742 (cellEditor): New method.
6743 (cellRenderer): Likewise.
6744 (selectionModel): Likewise.
6745 (treeModel): Likewise.
6746 (scrollPathToVisible): Likewise.
6747 (scrollRowToVisible): Likewise.
6748 (isCollapsed): Likewise.
6749 (isExpanded): Likewise.
6750 (clearToggledPaths): Likewise.
6751 (getDescendantToggledPaths): Likewise.
6752 (hasBeenExpanded): Likewise.
6753 (isVisible): Likewise.
6754 (isPathEditable): Likewise.
6756 2005-02-15 Michael Koch <konqueror@gmx.de>
6758 * javax/swing/JLayeredPane.java: Reformatted.
6760 2005-02-15 Michael Koch <konqueror@gmx.de>
6762 * javax/swing/tree/DefaultMutableTreeNode.java:
6764 * javax/swing/tree/MutableTreeNode.java:
6767 2005-02-15 Michael Koch <konqueror@gmx.de>
6769 * javax/swing/JFormattedTextField.java
6770 (setDocument): Call setDocument of super class. Don't fire property
6773 2005-02-15 Sven de Marothy <sven@physto.se>
6775 * java/awt/image/IndexColorModel.java:
6776 Add FIXME with respect to alpha handling.
6777 (getAlpha): Default to returning opaque pixels.
6778 * java/awt/image/MultiPixelPackedSampleModel.java
6779 (MultiPixelPackedSampleModel): Corrected parameters, order of
6780 bit shifts and masks, stride length off by one.
6782 2005-02-15 Michael Koch <konqueror@gmx.de>
6784 * javax/swing/JList.java, javax/swing/JTree.java:
6785 Added much new methods and fixed much methods setting bound properties.
6787 2005-02-16 Mark Wielaard <mark@klomp.org>
6789 * Makefile.am (gnu_xml_source_files): Removed
6790 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6791 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6792 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6793 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6794 gnu/xml/dom/DomDocumentFragment.java,
6795 gnu/xml/dom/DomProcessingInstruction.java and
6796 gnu/xml/dom/ls/DomLSException.java.
6797 * Makefile.in: Regenerated.
6799 2005-02-16 Tom Tromey <tromey@redhat.com>
6801 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6802 attribute index is out of bounds.
6804 2005-02-16 Chris Burdess <dog@gnu.org>
6806 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6807 isDeclared methods. Improved performance of isSpecified methods.
6809 2005-02-16 Chris Burdess <dog@gnu.org>
6811 Fixes bug libgcj/19864
6812 * gnu/xml/dom/DomAttr.java,
6813 gnu/xml/dom/DomCDATA.java,
6814 gnu/xml/dom/DomCDATASection.java,
6815 gnu/xml/dom/DomCharacterData.java,
6816 gnu/xml/dom/DomDOMException.java,
6817 gnu/xml/dom/DomDoctype.java,
6818 gnu/xml/dom/DomDocument.java,
6819 gnu/xml/dom/DomDocumentConfiguration.java,
6820 gnu/xml/dom/DomDocumentFragment.java,
6821 gnu/xml/dom/DomElement.java,
6822 gnu/xml/dom/DomEx.java,
6823 gnu/xml/dom/DomFragment.java,
6824 gnu/xml/dom/DomImpl.java,
6825 gnu/xml/dom/DomIterator.java,
6826 gnu/xml/dom/DomNamedNodeMap.java,
6827 gnu/xml/dom/DomNode.java,
6828 gnu/xml/dom/DomNsNode.java,
6829 gnu/xml/dom/DomPI.java,
6830 gnu/xml/dom/DomProcessingInstruction.java,
6831 gnu/xml/dom/DomText.java,
6832 gnu/xml/dom/DomLSEx.java,
6833 gnu/xml/dom/DomLSException.java,
6834 gnu/xml/dom/DomLSParser.java,
6835 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6836 implementation class names to conform to Classpath guidelines. Make
6837 DomLSException use JDK 1.4+ exception chaining.
6838 * gnu/xml/util/SAXNullTransformerFactory.java,
6839 gnu/xml/xpath/Predicate.java: Use constants relative to
6840 declaring class or interface.
6842 2005-02-16 Andrew Haley <aph@redhat.com>
6844 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6845 null, create a new AccessControlContext.
6846 * java/security/SecureClassLoader.java (protectionDomainCache):
6848 (defineClass): Create a new protection domain and add it to our
6851 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6852 addStub() to keep track of the stub we've exported.
6853 (unexportObject): Call deleteStub().
6854 * java/rmi/server/RemoteObject.java (stubs): New field.
6855 (addStub): New method.
6856 (deleteStub): New method.
6859 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6860 true to findHelper (tryParents).
6861 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6863 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6864 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6866 If tryParents is false, don't scan parent class loaders.
6868 * java/security/Permissions.java (PermissionsHash.implies):
6869 Iterate over the collection and invoke implies() on each
6872 2005-02-16 Andrew Haley <aph@redhat.com>
6874 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6876 (PersistentByteMap): Set name
6877 Magic number changed to 0x67636a64 ("gcjd").
6878 (init): Force the map to be prime.
6879 (emptyPersistentByteMap): File name was a string, now a File.
6880 (addBytes): Share srings between entries.
6881 (stringTableSize): New method.
6882 (capacity): Scale by load factor.
6883 (force): New method.
6884 (getFile): New method.
6885 (close): New method.
6886 (putAll): New method.
6887 (ByteWrapper): New class.
6888 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6889 (main): Guess the average string size as 32, not 64.
6890 Copy a database before modifying it, so that we can update a
6891 database in a running system.
6892 If a database isn't big enough, resize it.
6893 "-m": new option: merges databases.
6894 "-a": Create a new detabase if it doesn't exist.
6895 (usage): Correct, add new option.
6896 (addJar): Copy a database before modifying it.
6897 (resizeMap): New method.
6899 2005-02-15 David Daney <ddaney@avtrex.com>
6900 Bryce McKinlay <mckinlay@redhat.com>
6902 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6903 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6904 ensure that GC threads inherit the new signal mask.
6905 (block_sigchld): Call JvFail rather than throwing exception if
6906 pthread_sigmask() fails.
6908 2005-02-15 Mark Wielaard <mark@klomp.org>
6910 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6911 file path elements are separated by spaces.
6913 2005-02-15 Mark Wielaard <mark@klomp.org>
6915 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6916 to describe attributes without a constant field value in this class.
6918 2005-02-15 Michael Koch <konqueror@gmx.de>
6920 * java/util/jar/Attributes.java
6921 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6923 2005-02-15 Mark Wielaard <mark@klomp.org>
6925 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6926 space for parsing CLASS_PATH attribute.
6928 2005-02-15 Mark Wielaard <mark@klomp.org>
6930 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6931 aside for "GCJLIBS" in directory where jarfiles are loaded.
6932 (JarURLLoader.getClass): Removed method.
6933 (JarURLLoader.toString): Removed method.
6934 (FileResource.toString): Removed method.
6936 2005-02-15 Mark Wielaard <mark@klomp.org>
6938 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6939 and/or cause before throwing.
6941 2005-02-15 Richard Henderson <rth@redhat.com>
6943 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6944 (libgcj0_convenience_la_SOURCES): ... here.
6945 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6946 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6947 * Makefile.in: Regenerate.
6949 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6952 * include/jawt.h: Likewise.
6953 * include/jawt_md.h: Likewise.
6954 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6956 * include/Makefile.in: Regenerate.
6957 * jni/classpath/classpath_jawt.h: Likewise.
6958 * jni/gtk-peer/gtk_jawt.c: Likewise.
6959 * Makefile.am: Build libjawt.so.
6960 * Makefile.in: Regenerate.
6962 2005-02-14 Tom Tromey <tromey@redhat.com>
6964 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6966 2005-02-14 Tom Tromey <tromey@redhat.com>
6968 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6969 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6971 2005-02-14 Tom Tromey <tromey@redhat.com>
6974 * testsuite/libjava.lang/PR19929.out: New file.
6975 * testsuite/libjava.lang/PR19929.java: New file.
6977 2005-02-14 Anthony Green <green@redhat.com>
6980 * testsuite/libjava.jni/PR18116.c: New file.
6981 * testsuite/libjava.jni/PR18116.java: New file.
6982 * testsuite/libjava.jni/PR18116.out: New file.
6984 2005-02-13 Anthony Green <green@redhat.com>
6987 * jni.cc (nathash_add): Don't strdup the method signature.
6988 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6992 2005-02-12 Mark Wielaard <mark@klomp.org>
6994 Fixes bug libgcj/8170
6995 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6996 ClassNotFoundException.
6997 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6998 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6999 (remove_internal): New field superceding remove_interpreter.
7000 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7001 Remove no-class methods starting with "_Jv_". And Replace null
7002 class or method names with the empty string. Stop at either the
7003 MainThread or a real Thread run() method.
7004 (newElement): Made static.
7005 * java/net/URLClassLoader.java (findClass): Throw
7006 ClassNotFoundExceptions including urls, plus parent using toString().
7007 (thisString): New field.
7008 (toString): New method.
7010 2005-02-10 Tom Tromey <tromey@redhat.com>
7012 * external/sax/Makefile.in: Rebuilt.
7013 * external/sax/Makefile.am (all-local): Removed.
7014 (BUILT_SOURCES): New variable.
7015 (mostlyclean-local): No error if no classes to delete.
7016 * external/w3c_dom/Makefile.in: Rebuilt.
7017 * external/w3c_dom/Makefile.am (all-local): Removed.
7018 (BUILT_SOURCES): New variable.
7019 (mostlyclean-local): No error if no classes to delete.
7021 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7023 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7024 of mauve and libjava.
7026 2005-02-09 Tom Tromey <tromey@redhat.com>
7028 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7029 jar file with OPEN_DELETE.
7030 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7031 OPEN_DELETE is used.
7033 2005-02-09 Tom Tromey <tromey@redhat.com>
7035 * java/util/zip/InflaterInputStream.java (markSupported):
7037 (mark, reset): Likewise.
7039 2005-02-08 Tom Tromey <tromey@redhat.com>
7041 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7042 name or port is missing.
7043 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7044 AUTHORITY_PORT_GROUP): Updated.
7046 2005-02-08 Tom Tromey <tromey@redhat.com>
7048 * configure: Rebuilt.
7049 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7052 2005-02-07 Tom Tromey <tromey@redhat.com>
7054 * java/lang/natRuntime.cc (insertSystemProperties): Set
7055 sun.boot.class.path earlier.
7057 2005-02-07 Tom Tromey <tromey@redhat.com>
7059 * defineclass.cc (handleClassBegin): Use
7060 _Jv_RegisterInitiatingLoader.
7061 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7062 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7063 class. Use _Jv_UnregisterInitiatingLoader.
7064 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7067 2005-02-07 Mark Wielaard <mark@klomp.org>
7069 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7070 java/util/regex/Matcher.java (lookingAt): Set position when match
7072 (matches): Implemented through lookingAt().
7074 2005-02-07 Mark Wielaard <mark@klomp.org>
7076 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7077 * java/util/regex/Pattern.java (split(CharSequence,int)):
7078 Fix while empties > 0 loops.
7080 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7082 * gnu/java/nio/charset/ISO_8859_1.java,
7083 gnu/java/nio/charset/US_ASCII.java,
7084 gnu/java/nio/charset/UTF_16.java,
7085 gnu/java/nio/charset/UTF_16_LE.java,
7086 gnu/java/nio/charset/UTF_16_BE.java,
7087 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7088 and aliases according to
7089 "http://www.iana.org/assignments/character-sets",
7090 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7091 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7092 * gnu/java/nio/charset/Provider.java: Made charset lookup
7093 case-insensitive which fixes bug #11740.
7095 2005-02-07 Tom Tromey <tromey@redhat.com>
7098 * Makefile.in: Rebuilt.
7099 * Makefile.am (src.zip): New target.
7100 (install-src.zip): Likewise.
7101 (sourcesdir): New variable.
7103 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7105 * javax/imageio/metadata/IIOMetadataNode.java:
7107 * javax/imageio/metadata/IIOAttr.java,
7108 javax/imageio/metadata/IIONamedNodeMap.java,
7109 javax/imageio/metadata/IIONodeList.java:
7112 2005-02-06 Graydon Hoare <graydon@redhat.com>
7114 * gnu/java/awt/ClasspathToolkit.java
7115 (registerImageIOSpis): New method.
7116 * javax/imageio/ImageIO.java
7117 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7118 (WriterMIMETypeFilter.filter): Likewise.
7119 (ImageReaderIterator): Pass extension argument through to SPI.
7120 (getReadersByFilter): Likewise.
7121 (getWritersByFilter): Likewise.
7122 (getImageReadersByFormatName): Likewise.
7123 (getImageReadersByMIMEType): Likewise.
7124 (getImageReadersBySuffix): Likewise.
7125 (getImageWritersByFormatName): Likewise.
7126 (getImageWritersByMIMEType): Likewise.
7127 (getImageWritersBySuffix): Likewise.
7130 * javax/imageio/ImageReader.java
7131 (progressListeners): Initialize.
7132 (setInput): Implement.
7133 * javax/imageio/ImageWriter.java
7134 (progressListeners): Initialize.
7135 (warningListeners): Likewise.
7136 (warningLocales): Likewise.
7137 (setOutput): Test "isInstance" rather than class equality.
7138 * javax/imageio/spi/IIORegistry.java
7139 (static): Add reader and writer SPIs.
7140 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7142 2005-02-06 Michael Koch <konqueror@gmx.de>
7144 * javax/imageio/metadata/IIOInvalidTreeException.java
7145 (IIOInvalidTreeException): Reformatted.
7146 * javax/imageio/spi/IIORegistry.java
7147 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7148 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7149 Reworked import statements.
7151 2005-02-06 Michael Koch <konqueror@gmx.de>
7153 * javax/imageio/stream/FileImageOutputStream.java:
7156 2005-02-06 Michael Koch <konqueror@gmx.de>
7158 * javax/imageio/stream/FileCacheImageInputStream.java,
7159 javax/imageio/stream/FileCacheImageOutputStream.java,
7160 javax/imageio/stream/FileImageInputStream.java,
7161 javax/imageio/stream/ImageInputStreamImpl.java,
7162 javax/imageio/stream/ImageOutputStreamImpl.java,
7163 javax/imageio/stream/MemoryCacheImageInputStream.java,
7164 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7165 Added all missing methods in javax.imageio.stream.
7167 2005-02-02 David Daney <ddaney@avtrex.com>
7169 * java/net/InetAddress.java (InetAddress): Make a private copy of
7171 * java/net/Inet4Address.java (getAddress): Return a copy of the
7173 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7175 (getAddress): Return a copy of the address.
7178 2005-02-02 Tom Tromey <tromey@redhat.com>
7180 * Makefile.in: Rebuilt.
7181 * Makefile.am (classes.stamp): New target, broken out from
7183 ($(all_java_class_files)): Depend on it.
7184 (libgcj-@gcc_version@.jar): Likewise.
7185 (all-recursive): Likewise.
7186 (CLEANFILES): Include classes.stamp.
7188 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7190 * link.cc: Include <stdio.h>
7192 2005-02-02 Tom Tromey <tromey@redhat.com>
7195 * Makefile.in: Rebuilt.
7196 * Makefile.am (ordinary_java_source_files): Added new class.
7197 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7198 Use system_instance, not instance.
7199 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7200 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7202 (system_instance): New field.
7203 (initialize): Initialize the system loader as well.
7204 (VMClassLoader): Default to LIB_CACHE.
7206 2005-02-02 Tom Tromey <tromey@redhat.com>
7208 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7209 * prims.cc: Fixed comment.
7211 2005-02-01 Tom Tromey <tromey@redhat.com>
7213 * Makefile.in: Rebuilt.
7214 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7215 (.java.class): Use BOOTCLASSPATH.
7217 2005-02-01 Tom Tromey <tromey@redhat.com>
7219 * external/w3c_dom/Makefile.am: New file.
7220 * external/w3c_dom/Makefile.in: New file.
7221 * external/sax/Makefile.am: New file.
7222 * external/sax/Makefile.in: New file.
7223 * external/Makefile.in: New file.
7224 * external/Makefile.am: New file.
7225 * external/README: New file from Classpath.
7226 * configure, aclocal.m4, Makefile.in: Rebuilt.
7227 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7228 * Makefile.am (SUBDIRS): Added external.
7229 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7230 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7231 (BOOTCLASSPATH): New variable.
7232 (AM_GCJFLAGS): Use it.
7233 (gnu_xml_source_files): New variable.
7234 (libgcj_la_SOURCES): Use it.
7235 (libgcj_la_LDADD): Include new convenience libraries.
7236 (lib_org_ietf_jgss_la_SOURCES): Removed.
7237 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7238 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7239 (lib_org_w3c_dom_la_SOURCES): Removed.
7240 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7241 (lib_org_w3c_dom_la_LIBADD): Likewise.
7242 (lib_org_xml_sax_la_SOURCES): Removed.
7243 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7244 (lib_org_xml_sax_la_LIBADD): Likewise.
7245 (all_java_source_files): Updated.
7246 (property_files): Likewise.
7247 (libgcj-@gcc_version@.jar): Include classes from external/.
7248 (javax_source_files): Updated.
7249 (ordinary_java_source_files): Updated.
7250 * javax/xml/XMLConstants.java,
7251 javax/xml/datatype/DatatypeConfigurationException.java,
7252 javax/xml/datatype/DatatypeConstants.java,
7253 javax/xml/datatype/DatatypeFactory.java,
7254 javax/xml/datatype/Duration.java,
7255 javax/xml/datatype/XMLGregorianCalendar.java,
7256 javax/xml/datatype/package.html,
7257 javax/xml/namespace/NamespaceContext.java,
7258 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7259 javax/xml/parsers/DocumentBuilder.java,
7260 javax/xml/parsers/DocumentBuilderFactory.java,
7261 javax/xml/parsers/FactoryConfigurationError.java,
7262 javax/xml/parsers/ParserConfigurationException.java,
7263 javax/xml/parsers/SAXParser.java,
7264 javax/xml/parsers/SAXParserFactory.java,
7265 javax/xml/parsers/package.html,
7266 javax/xml/transform/ErrorListener.java,
7267 javax/xml/transform/OutputKeys.java,
7268 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7269 javax/xml/transform/SourceLocator.java,
7270 javax/xml/transform/Templates.java,
7271 javax/xml/transform/Transformer.java,
7272 javax/xml/transform/TransformerConfigurationException.java,
7273 javax/xml/transform/TransformerException.java,
7274 javax/xml/transform/TransformerFactory.java,
7275 javax/xml/transform/TransformerFactoryConfigurationError.java,
7276 javax/xml/transform/URIResolver.java,
7277 javax/xml/transform/package.html,
7278 javax/xml/transform/dom/DOMLocator.java,
7279 javax/xml/transform/dom/DOMResult.java,
7280 javax/xml/transform/dom/DOMSource.java,
7281 javax/xml/transform/dom/package.html,
7282 javax/xml/transform/sax/SAXResult.java,
7283 javax/xml/transform/sax/SAXSource.java,
7284 javax/xml/transform/sax/SAXTransformerFactory.java,
7285 javax/xml/transform/sax/TemplatesHandler.java,
7286 javax/xml/transform/sax/TransformerHandler.java,
7287 javax/xml/transform/sax/package.html,
7288 javax/xml/transform/stream/StreamResult.java,
7289 javax/xml/transform/stream/StreamSource.java,
7290 javax/xml/transform/stream/package.html,
7291 javax/xml/validation/Schema.java,
7292 javax/xml/validation/SchemaFactory.java,
7293 javax/xml/validation/TypeInfoProvider.java,
7294 javax/xml/validation/Validator.java,
7295 javax/xml/validation/ValidatorHandler.java,
7296 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7297 javax/xml/xpath/XPathConstants.java,
7298 javax/xml/xpath/XPathException.java,
7299 javax/xml/xpath/XPathExpression.java,
7300 javax/xml/xpath/XPathExpressionException.java,
7301 javax/xml/xpath/XPathFactory.java,
7302 javax/xml/xpath/XPathFactoryConfigurationException.java,
7303 javax/xml/xpath/XPathFunction.java,
7304 javax/xml/xpath/XPathFunctionException.java,
7305 javax/xml/xpath/XPathFunctionResolver.java,
7306 javax/xml/xpath/XPathVariableResolver.java,
7307 javax/xml/xpath/package.html: New files, from GNU JAXP.
7308 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7309 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7310 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7311 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7312 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7313 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7314 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7315 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7316 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7317 org/w3c/dom/ranges/DocumentRange.java,
7318 org/w3c/dom/ranges/Range.java,
7319 org/w3c/dom/ranges/RangeException.java,
7320 org/w3c/dom/traversal/DocumentTraversal.java,
7321 org/w3c/dom/traversal/NodeFilter.java,
7322 org/w3c/dom/traversal/NodeIterator.java,
7323 org/w3c/dom/traversal/TreeWalker.java,
7324 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7325 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7326 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7327 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7328 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7329 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7330 org/xml/sax/SAXNotRecognizedException.java,
7331 org/xml/sax/SAXNotSupportedException.java,
7332 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7333 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7334 org/xml/sax/ext/DeclHandler.java,
7335 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7336 org/xml/sax/helpers/AttributeListImpl.java,
7337 org/xml/sax/helpers/AttributesImpl.java,
7338 org/xml/sax/helpers/DefaultHandler.java,
7339 org/xml/sax/helpers/LocatorImpl.java,
7340 org/xml/sax/helpers/NamespaceSupport.java,
7341 org/xml/sax/helpers/NewInstance.java,
7342 org/xml/sax/helpers/ParserAdapter.java,
7343 org/xml/sax/helpers/ParserFactory.java,
7344 org/xml/sax/helpers/XMLFilterImpl.java,
7345 org/xml/sax/helpers/XMLReaderAdapter.java,
7346 org/xml/sax/helpers/XMLReaderFactory.java,
7347 org/xml/sax/helpers/package.html: Moved to external/.
7348 * external/sax/README,
7349 external/sax/org/xml/sax/AttributeList.java,
7350 external/sax/org/xml/sax/Attributes.java,
7351 external/sax/org/xml/sax/ContentHandler.java,
7352 external/sax/org/xml/sax/DTDHandler.java,
7353 external/sax/org/xml/sax/DocumentHandler.java,
7354 external/sax/org/xml/sax/EntityResolver.java,
7355 external/sax/org/xml/sax/ErrorHandler.java,
7356 external/sax/org/xml/sax/HandlerBase.java,
7357 external/sax/org/xml/sax/InputSource.java,
7358 external/sax/org/xml/sax/Locator.java,
7359 external/sax/org/xml/sax/Parser.java,
7360 external/sax/org/xml/sax/SAXException.java,
7361 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7362 external/sax/org/xml/sax/SAXNotSupportedException.java,
7363 external/sax/org/xml/sax/SAXParseException.java,
7364 external/sax/org/xml/sax/XMLFilter.java,
7365 external/sax/org/xml/sax/XMLReader.java,
7366 external/sax/org/xml/sax/package.html,
7367 external/sax/org/xml/sax/ext/Attributes2.java,
7368 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7369 external/sax/org/xml/sax/ext/DeclHandler.java,
7370 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7371 external/sax/org/xml/sax/ext/EntityResolver2.java,
7372 external/sax/org/xml/sax/ext/LexicalHandler.java,
7373 external/sax/org/xml/sax/ext/Locator2.java,
7374 external/sax/org/xml/sax/ext/Locator2Impl.java,
7375 external/sax/org/xml/sax/ext/package.html,
7376 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7377 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7378 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7379 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7380 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7381 external/sax/org/xml/sax/helpers/NewInstance.java,
7382 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7383 external/sax/org/xml/sax/helpers/ParserFactory.java,
7384 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7385 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7386 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7387 external/sax/org/xml/sax/helpers/package.html,
7388 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7389 external/w3c_dom/org/w3c/dom/Attr.java,
7390 external/w3c_dom/org/w3c/dom/CDATASection.java,
7391 external/w3c_dom/org/w3c/dom/CharacterData.java,
7392 external/w3c_dom/org/w3c/dom/Comment.java,
7393 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7394 external/w3c_dom/org/w3c/dom/DOMError.java,
7395 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7396 external/w3c_dom/org/w3c/dom/DOMException.java,
7397 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7398 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7399 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7400 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7401 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7402 external/w3c_dom/org/w3c/dom/Document.java,
7403 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7404 external/w3c_dom/org/w3c/dom/DocumentType.java,
7405 external/w3c_dom/org/w3c/dom/Element.java,
7406 external/w3c_dom/org/w3c/dom/Entity.java,
7407 external/w3c_dom/org/w3c/dom/EntityReference.java,
7408 external/w3c_dom/org/w3c/dom/NameList.java,
7409 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7410 external/w3c_dom/org/w3c/dom/Node.java,
7411 external/w3c_dom/org/w3c/dom/NodeList.java,
7412 external/w3c_dom/org/w3c/dom/Notation.java,
7413 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7414 external/w3c_dom/org/w3c/dom/Text.java,
7415 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7416 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7417 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7418 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7419 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7420 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7421 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7422 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7423 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7424 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7425 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7426 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7427 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7428 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7429 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7430 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7431 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7432 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7433 external/w3c_dom/org/w3c/dom/css/Counter.java,
7434 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7435 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7436 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7437 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7438 external/w3c_dom/org/w3c/dom/css/Rect.java,
7439 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7440 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7441 external/w3c_dom/org/w3c/dom/events/Event.java,
7442 external/w3c_dom/org/w3c/dom/events/EventException.java,
7443 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7444 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7445 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7446 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7447 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7448 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7449 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7450 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7451 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7452 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7453 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7454 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7455 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7456 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7457 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7458 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7459 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7460 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7461 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7462 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7463 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7464 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7465 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7466 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7467 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7468 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7469 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7470 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7471 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7472 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7473 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7474 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7475 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7476 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7477 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7478 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7479 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7480 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7481 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7482 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7483 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7484 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7485 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7486 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7487 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7488 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7489 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7490 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7491 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7492 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7493 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7494 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7495 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7496 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7497 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7498 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7499 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7500 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7501 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7502 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7503 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7504 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7505 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7506 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7507 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7508 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7509 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7510 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7511 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7512 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7513 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7514 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7515 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7516 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7517 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7518 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7519 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7520 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7521 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7522 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7523 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7524 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7525 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7526 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7527 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7528 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7529 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7530 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7531 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7532 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7533 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7534 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7537 2005-01-31 Anthony Green <green@redhat.com>
7539 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7540 Support IP_MULTICAST_LOOP.
7541 (setOption): Support IP_MULTICAST_LOOP.
7543 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7544 SO_REUSEADDR support.
7545 (getOption): Support SO_REUSEADDR.
7547 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7550 * java/util/Date.java
7551 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7553 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7555 (getTimezoneOffset): Inverted sign.
7557 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7559 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7560 remove other passing tests and add new XFAILs.
7562 2005-01-24 Tom Tromey <tromey@redhat.com>
7564 * java/lang/Class.h (next): Updated documentation. Renamed to
7566 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7567 _Jv_CheckABIVersion.
7568 (_Jv_RegisterClasses_Counted): Likewise.
7569 (_Jv_RegisterClassHookDefault): Fix starting condition of
7570 duplicate-checking loop.
7571 * include/jvm.h (GCJ_VERSION): New define.
7572 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7573 (_Jv_CheckABIVersion): New function.
7575 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7577 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7578 (libgij_la_LDFLAGS): Add.
7579 * Makefile.in: Rebuilt.
7581 2005-01-24 Roger Sayle <roger@eyesopen.com>
7584 * testsuite/libjava.compile/PR19295.java: New test case.
7586 2005-01-19 Tom Tromey <tromey@redhat.com>
7588 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7589 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7590 if 'handler' is valid.
7592 2005-01-17 Tom Tromey <tromey@redhat.com>
7594 * java/text/MessageFormat.java (scanString): Changed how quoting
7596 (scanFormatElement): Likewise.
7598 2004-12-07 Mark Wielaard <mark@klomp.org>
7600 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7602 2005-01-15 Michael Koch <konqueror@gmx.de>
7606 (AUTHORITY_REGEXP): New regexp constant.
7607 (AUTHORITY_USERINFO_GROUP): New constant.
7608 (AUTHORITY_HOST_GROUP): Likewise.
7609 (AUTHORITY_PORT_GROUP): Likewise.
7610 (port): Changed default value to -1.
7611 (parseURI): Parse authority part and initialize host,
7614 2005-01-14 Robin Green <greenrd@greenrd.org>
7616 * java/io/File.java (toURI): Generate a URI which we understand.
7618 2005-01-13 Graydon Hoare <graydon@redhat.com>
7620 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7621 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7622 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7623 * jni.cc: Reuse bottom frame between calls, avoid clearing
7624 frame when no local references are made.
7626 2005-01-13 Michael Koch <konqueror@gmx.de>
7629 * java/lang/Thread.java
7630 (Thread): Call checkAccess().
7631 (stop): Fixed argument name to match javadoc.
7632 * java/lang/natThread.cc
7633 (interrupt): Call checkAccess().
7636 2005-01-11 Michael Koch <konqueror@gmx.de>
7639 * java/net/URL.java (URL): Handle specs like
7640 "/redir?http://domain2.com/index.html" which start with a slash.
7642 2005-01-11 Michael Koch <konqueror@gmx.de>
7644 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7645 * gnu/java/net/BASE64.java,
7646 gnu/java/net/EmptyX509TrustManager.java,
7647 gnu/java/net/LineInputStream.java,
7648 gnu/java/net/protocol/http/Authenticator.java,
7649 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7650 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7651 gnu/java/net/protocol/http/ChunkedInputStream.java,
7652 gnu/java/net/protocol/http/Cookie.java,
7653 gnu/java/net/protocol/http/CookieManager.java,
7654 gnu/java/net/protocol/http/Credentials.java,
7655 gnu/java/net/protocol/http/HTTPConnection.java,
7656 gnu/java/net/protocol/http/HTTPDateFormat.java,
7657 gnu/java/net/protocol/http/HTTPURLConnection.java,
7658 gnu/java/net/protocol/http/Headers.java,
7659 gnu/java/net/protocol/http/Request.java,
7660 gnu/java/net/protocol/http/RequestBodyWriter.java,
7661 gnu/java/net/protocol/http/Response.java,
7662 gnu/java/net/protocol/http/ResponseBodyReader.java,
7663 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7664 gnu/java/net/protocol/http/SimpleCookieManager.java,
7665 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7666 gnu/java/net/protocol/http/event/ConnectionListener.java,
7667 gnu/java/net/protocol/http/event/RequestEvent.java,
7668 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7669 * gnu/java/net/protocol/http/Connection.java: Removed.
7670 * gnu/java/net/protocol/http/Handler.java,
7671 javax/net/ssl/HttpsURLConnection.java: Updated.
7672 * Makefile.am: Added new files and remove old ones.
7673 * Makefile.in: Regenerated.
7675 2005-01-11 Tom Tromey <tromey@redhat.com>
7678 * java/io/BufferedInputStream.java (read): Repeatedly read to
7680 (refill): Change test to see if buffer must be grown.
7682 2005-01-10 Tom Tromey <tromey@redhat.com>
7684 * mauve-libgcj: Exclude some swing tests.
7686 2005-01-10 Tom Tromey <tromey@redhat.com>
7688 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7689 * java/lang/Package.java (getPackages): Use VMClassLoader when
7691 (getPackage): Likewise.
7692 * prims.cc (_Jv_CreateJavaVM): Call
7693 _Jv_RegisterBootstrapPackages.
7694 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7695 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7696 (getPackages): Likewise.
7697 (definedPackages): New field.
7698 (definePackageForNative): New method.
7699 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7700 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7701 * defineclass.cc (handleClassBegin): Use
7702 ClassLoader.findLoadedClass.
7703 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7705 (struct _Jv_LoaderInfo): Removed.
7706 (initiated_classes): Likewise.
7707 (_Jv_UnregisterClass): Don't use initiated_classes.
7708 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7709 (_Jv_FindClass): Register classes found during boostrap.
7710 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7711 (bootstrap_class_list): New global.
7712 (bootstrap_index): Likewise.
7713 (_Jv_RegisterBootstrapPackages): New function.
7714 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7715 definePackageForNative.
7716 (findClass): Updated.
7717 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7720 2005-01-10 Tom Tromey <tromey@redhat.com>
7723 * include/jvm.h (_Jv_Linker::find_field): Declare.
7724 (_Jv_Linker::find_field_helper): Likewise.
7725 * link.cc (find_field_helper): New method.
7726 (find_field): Likewise.
7727 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7729 (link_symbol_table): Use find_field.
7731 2005-01-10 Michael Koch <konqueror@gmx.de>
7734 * java/util/Locale.java (Locale): Don't uppercase variant.
7735 (getISOCountries): Fixed typo in javadoc.
7737 2005-01-10 Michael Koch <konqueror@gmx.de>
7739 * java/util/SimpleTimeZone.java (checkRule):
7740 Throw IllegalArgumentException on invalid month values.
7741 * java/util/TimeZone.java (setID):
7742 Throw NullPointerException if needed.
7744 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7746 * java/util/SimpleTimeZone.java (getOffset):
7747 offset end date with daylight savings
7749 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7751 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7752 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7754 2005-01-09 Michael Koch <konqueror@gmx.de>
7757 * java/net/InetAddress.java (getLocalHost):
7758 Throw UnknownHostException if local hostname cannot be determined.
7760 2005-01-06 Tom Tromey <tromey@redhat.com>
7762 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7764 2005-01-07 Michael Koch <konqueror@gmx.de>
7767 * java/nio/Buffer.java (address): New field.
7768 * java/nio/DirectByteBufferImpl.java (address): Removed.
7769 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7770 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7771 Explicitly initialize Buffer.address if needed.
7772 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7773 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7774 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7775 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7776 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7777 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7778 DirectByteBufferImpl object.
7779 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7780 * testsuite/libjava.jni/directbuffer.c,
7781 testsuite/libjava.jni/directbuffer.java,
7782 testsuite/libjava.jni/directbuffer.out,
7783 testsuite/libjava.jni/bytebuffer.c,
7784 testsuite/libjava.jni/bytebuffer.java,
7785 testsuite/libjava.jni/bytebuffer.out: New files.
7787 2005-01-05 Tom Tromey <tromey@redhat.com>
7789 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7791 (compressedSize): Now 'long'. Default to -1.
7792 (getCompressedSize): Rewrote.
7793 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7794 deflate at all if we need input.
7796 2005-01-05 Tom Tromey <tromey@redhat.com>
7799 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7802 2005-01-05 Tom Tromey <tromey@redhat.com>
7804 * java/lang/natRuntime.cc (insertSystemProperties): Set
7805 java.ext.dirs earlier.
7807 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7809 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7810 sync_info element of the object if needed.
7812 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7814 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7815 a non-zero exit status from 'false'.
7817 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7819 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.