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