1 2005-06-13 Tom Tromey <tromey@redhat.com>
4 * testsuite/libjava.lang/pr21844.java: New file.
5 * testsuite/libjava.lang/pr21844.out: New file.
7 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
10 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
13 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
15 * java/text/MessageFormat.java (parse): When parsing strings, check
16 for an empty pattern trailer.
18 2005-06-06 Keith Seitz <keiths@redhat.com>
20 * gnu/classpath/jdwp/util/Signature.java: New file.
21 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
23 2005-06-05 Anthony Green <green@redhat.com>
25 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
28 2005-06-04 Anthony Green <green@redhat.com>
30 * java/net/URLClassLoader.java: import gnu.gcj.Core,
31 and gnu.java.net.protocol.core.CoreInputStream.
32 (CureURLLoader): New class.
33 (CoreResource): New class.
34 (addURLImpl): Add special treatment for the "core" protocol.
35 * gnu/gcj/natCore.cc (find): New method.
36 * gnu/gcj/Core.java (find): New method.
38 2005-06-03 Keith Seitz <keiths@redhat.com>
40 * gnu/classpath/jdwp/transport/ITransport.java: New file.
41 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
42 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
44 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
46 * jawt.c: Remove malloc.h, covered by stdlib.h.
48 * testsuite/libjava.jni/jni.exp
49 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
52 2005-06-02 Keith Seitz <keiths@redhat.com>
54 * gnu/classpath/jdwp/transport/TransportException.java: New file.
56 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
58 * mauve-libgcj: Remove implemented classes from the fail section.
59 Add two new not implemented to it.
61 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
63 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
64 AC_SUBST definition from configure.host.
65 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
66 to -fomit-frame-pointer on 32-bit x86 targets.
68 2005-06-01 Tom Tromey <tromey@redhat.com>
70 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
72 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
75 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
76 (static): Add possessive matching to JAVA_1_4 syntax.
77 * gnu/regexp/RETokenRepeated.java (possessive): New field.
78 (makePossessive, isPossessive): New methods.
79 (match): Don't back off during possessive matching.
80 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
81 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
84 2005-06-01 Keith Seitz <keiths@redhat.com>
86 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
87 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
88 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
90 2005-06-01 Tom Tromey <tromey@redhat.com>
93 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
94 (currentLoader): New method.
95 * java/io/ObjectInputStream.java (resolveProxyClass): Use
97 (currentLoader): Now native.
98 (currentClassLoader): Removed.
99 * testsuite/libjava.lang/pr21785.java: New file.
100 * testsuite/libjava.lang/pr21785.out: New file.
102 2005-06-01 Tom Tromey <tromey@redhat.com>
105 * java/lang/natString.cc (substring): Changed sharing heuristic.
107 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
110 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
111 MAXPATHLEN. Format exception message using a StringBuffer instead.
113 2005-05-29 Michael Koch <konqueror@gmx.de>
116 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
118 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
120 * ChangeLog: Fix typo.
122 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
124 Testsuite adjustments for PR java/19870.
125 * testsuite/libjava.lang/PR19870.java: New testcase.
126 * testsuite/libjava.lang/PR19870.out: Expected output for the
128 * testsuite/libjava.jacks/jacks.xfail: Add
129 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
132 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
134 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
135 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
136 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
138 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
139 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
140 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
141 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
143 2005-05-25 Richard Henderson <rth@redhat.com>
146 * sysdep/descriptor-n.h: New file.
147 * sysdep/descriptor-y.h: New file.
148 * sysdep/powerpc/descriptor.h: New file.
149 * configure.host: Set $descriptor_h appropriate for the host.
150 * configure.ac: Link it.
151 * configure: Regenerate.
152 * stacktrace.cc: Include sysdep/descriptor.h.
153 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
155 2005-05-25 Chris Burdess <dog@gnu.org>
157 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
158 end entity callbacks.
160 2005-05-24 Gary Benson <gbenson@redhat.com>
163 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
164 Handle DateFormat.DEFAULT case correctly.
166 2005-05-21 Tom Tromey <tromey@redhat.com>
169 * java/lang/ref/natReference.cc (find_slot): Handle case where
170 table has no NULL entries.
171 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
172 table has no NULL entries.
174 2005-05-22 Andreas Jaeger <aj@suse.de>
176 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
179 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
181 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
183 2005-05-19 Richard Henderson <rth@redhat.com>
185 * exception.cc: Revert 05-17 gcc_unreachable change.
187 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
189 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
190 _Jv_RegisterInitiatingLoader to register array classes, not
192 (_Jv_RegisterInitiatingLoader): Give up if called very early during
193 bootstrapping. Add a FIXME to handle this case better.
195 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
197 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
199 (libgcj_la_SOURCES): New. Move sources here.
200 (libgcj.la): Remove rule.
202 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
205 * gnu/java/security/provider/DSASignature.java: Import updates
208 2005-05-18 Anthony Green <green@redhat.com>
210 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
211 classpath_jawt_object_unlock, classpath_jawt_create_lock,
212 classpath_jawt_destroy_lock): New functions.
213 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
214 classpath_jawt_object_unlock, classpath_jawt_create_lock,
215 classpath_jawt_destroy_lock): New functions.
216 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
218 * jawt.c: #include malloc.h.
219 (_Jv_Lock): Use lock.
221 (_Jv_GetDrawingSurface): Initialize lock.
222 (_Jv_FreeDrawingSurface): Destroy lock.
223 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
225 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
227 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
228 * Makefile.in: Regenerate.
230 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
232 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
233 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
234 * aclocal.m4, configure, config.h.in, include/config.h.in,
235 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
236 external/Makefile.in, external/sax/Makefile.in,
237 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
239 2005-05-17 David Daney <ddaney@avtrex.com>
242 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
244 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
246 * exception.cc (abort): Remove std::abort hack.
247 (gcc_unreacheable): Define.
249 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
251 * Makefile.am (Makefile.deps): Do not create native.list and
253 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
254 * Makefile.in: Regenerate.
256 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
258 * configure.ac (--enable-libgcj-multifile): Remove.
260 * Makefile.am (all_native_compiled_source_files,
261 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
262 all_libgcj_lo_files, all_xlib_lo_files,
263 all_java_deps_files, all_java_stamp_files,
264 all_java_filelist_files): New variables.
265 (EXTRA_DIST): New Automake variable.
266 (CLEANFILES): Add .stamp, .list and .lo files.
267 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
268 (classes.stamp): Depend on $(all_java_stamp_files).
269 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
270 going through write_entries_to_file.
272 (all_java_source_files, all_property_files): Move earlier.
273 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
274 all_java_class_files): Remove.
275 (gtk_awt_peer_sources): Rename to...
276 (gtk_awt_peer_source_files): ... this. Adjust throughout.
279 (libgcj0_convenience_la_SOURCES): Remove Java source files.
280 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
281 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
282 (libgcj_la_SOURCES): Remove.
283 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
284 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
285 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
287 * configure: Regenerate.
288 * Makefile.in: Regenerate.
289 * external/Makefile.in: Regenerate.
290 * external/sax/Makefile.in: Regenerate.
291 * external/w3c_dom/Makefile.in: Regenerate.
292 * gcj/Makefile.in: Regenerate.
293 * include/Makefile.in: Regenerate.
294 * libltdl/Makefile.in: Regenerate.
295 * testsuite/Makefile.in: Regenerate.
297 2005-05-16 Tom Tromey <tromey@redhat.com>
299 * java/nio/charset/Charset.java (encode, decode): Synchronize on
300 'this', not the class.
302 2005-05-16 Tom Tromey <tromey@redhat.com>
304 * gnu/java/net/protocol/http/Headers.java (parse): Include final
307 2005-05-16 Tom Tromey <tromey@redhat.com>
310 * java/net/URI.java (unquote): Handle lower-case letters as well.
312 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
315 * gnu/regexp/RE.java: Add support for quoting constructs.
317 2005-05-15 Tom Tromey <tromey@redhat.com>
319 * java/lang/String.java (startsWith): Fixed javadoc.
321 2005-05-15 Tom Tromey <tromey@redhat.com>
324 * testsuite/libjava.compile/pr21519.java: New file.
325 * testsuite/libjava.compile/pr21519.no-link: New file.
327 2005-05-15 Tom Tromey <tromey@redhat.com>
329 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
331 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
334 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
335 interrupt status flag if _Jv_CondWait is interrupted.
337 2005-05-13 Tom Tromey <tromey@redhat.com>
339 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
342 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
344 * include/jvm.h (gcj::verifyClasses): Declare.
345 * link.cc (gcj::verbose_class_flag): Moved.
346 * prims.cc (gcj::verifyClasses): Define here.
347 (gcj::verbose_class_flag): Move definition here.
348 (_Jv_Linker::wait_for_state): Don't call verify_class
349 if gcj::verifyClasses is not set.
350 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
352 2005-05-12 Aaron Luchko <aluchko@redhat.com>
354 * gij.cc (main): Recognize '-verify', '-noverify', and
357 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
359 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
361 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
363 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
366 2005-05-11 Tom Tromey <tromey@redhat.com>
368 * external/w3c_dom/Makefile.in: Rebuilt.
369 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
371 * external/sax/Makefile.in: Rebuilt.
372 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
374 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
376 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
377 Call _Jv_CopyClassesToSystemLoader.
378 * java/lang/natClassLoader.cc (system_class_list): New global.
379 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
381 (_Jv_CopyClassesToSystemLoader): New function.
382 (SYSTEM_LOADER_INITIALIZED): New define.
383 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
384 (_Jv_CheckABIVersion): Use it.
385 (_Jv_ClassForBootstrapLoader): New function.
386 * Makefile.in: Rebuilt.
387 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
389 2005-05-10 Tom Tromey <tromey@redhat.com>
391 * gcj/javaprims.h: Updated.
392 * java/lang/String.java (String(StringBuilder)): New constructor.
393 * java/lang/natStringBuilder.cc: New file.
394 * java/lang/StringBuilder.java: New file.
395 * Makefile.in: Rebuilt.
396 * Makefile.am (core_java_source_files): Added StringBuilder.java.
397 (nat_source_files): Added natStringBuilder.cc.
399 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
402 * testsuite/libjava.jacks/jacks.xfail: Adjust.
404 2005-05-09 Mike Stump <mrs@apple.com>
406 * configure: Regenerate.
408 2005-05-09 David Daney <ddaney@avtrex.com>
410 * java/util/BitSet.java (get(int, int)): Fix breakage when
411 requested set doesn't start on a multiple of 64.
413 2005-05-07 Matthias Klose <doko@debian.org>
415 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
417 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
419 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
420 * Makefile.in: Regenerate.
421 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
422 (createCompatibleVolatileImage(int,int)): Implement.
423 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
425 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
427 (createVolatileImage): Implement.
428 (createBuffers): Likewise.
429 (getBackBuffer): Likewise.
431 (destroyBuffers): Likewise.
432 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
433 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
434 (CanvasFlipBufferStrategy): Likewise.
435 (createBufferStrategy(int)): New method.
436 (createBufferStrategy(int,BufferCapabilities)): Likewise.
437 * java/awt/Component.java (BltBufferStrategy): Implement and
439 (FlipBufferStrategy): Likewise.
440 * java/awt/Window.java (WindowBltBufferStrategy): New class.
441 (WindowFlipBufferStrategy): Likewise.
442 (createBufferStrategy(int)): New method.
443 (createBufferStrategy(int,BufferCapabilities)): Likewise.
444 (getBufferStrategy): Likewise.
445 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
446 front to frontCaps and back to backCaps.
448 2005-05-06 Michael Koch <konqueror@gmx.de>
450 * java/awt/BufferCapabilities.java
451 (BufferCapabilities): Merged javadoc.
453 2005-05-06 Michael Koch <konqueror@gmx.de>
455 * java/util/Locale.java
456 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
457 (getLocale): New methods. Use it everywhere where instances of Locales
459 (getDisplayLanguage): Merged javadoc.
460 (getDisplayCountry): Likewise.
461 (getDisplayVariant): Likewise.
463 2005-05-06 Archie Cobbs <archie@dellroad.org>
465 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
466 use DeleteLocalRef() to avoid exhausting local native references.
468 2005-05-06 Mark Wielaard <mark@klomp.org>
470 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
471 (window_delete_cb): Don't use C++ style comments.
473 2005-05-06 Robert Schuster <thebohemian@gmx.net>
475 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
478 2005-05-06 Robert Schuster <thebohemian@gmx.net>
480 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
481 (window_delete_cb): Made the function return TRUE.
483 2005-05-06 Roman Kennke <roman@kennke.org>
485 * javax/swing/text/PlainView.java
486 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
488 * javax/swing/text/Utilities.java
489 (drawTabbedText): Initilialize local variable pos correctly.
491 2005-05-06 Roman Kennke <roman@kennke.org>
493 * javax/swing/text/AbstractDocument.java
494 (LeafElement): Made start and end package private fields for
495 effective reindexing.
496 * javax/swing/text/PlainDocument.java
497 (constructor): The field rootElement is always BranchElement,
498 so we handle it as such.
499 (removeUpdate): Rewritten reindexing for removeUpdate so that
500 the actual removal is taken into account.
502 2005-05-06 Roman Kennke <roman@kennke.org>
504 * javax/swing/text/GapContent.java:
505 Removed debugging output stuff, which I accidentally left in.
507 2005-05-06 Roman Kennke <roman@kennke.org>
509 * javax/swing/text/GapContent.java:
510 Implemented a real GapContent. Only the public methods have
511 been implemented so far and still no UndoableEdit support.
513 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
515 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
518 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
520 * java/awt/image/BufferStrategy.java: Document.
522 * java/awt/BufferCapabilities.java: Document.
524 2005-05-04 Tom Tromey <tromey@redhat.com>
526 * java/nio/channels/FileLock.java (toString): Entirely avoid
529 2005-05-04 Andrew Overholt <overholt@redhat.com>
531 * java/nio/channels/FileLock.java (toString): Re-implement using
534 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
536 * java/awt/ImageCapabilities.java: Document.
538 * java/awt/image/VolatileImage.java: Unindent copyright header.
540 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
542 * java/awt/image/VolatileImage.java: Document.
544 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
546 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
547 (init_glib_threads): Check if threading system is already
550 2005-05-03 Andrew Overholt <overholt@redhat.com>
553 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
554 could not be acquired.
555 * java/nio/channels/FileLock.java (toString): Re-implement to be
556 in line with other implementations.
558 2005-05-03 Tom Tromey <tromey@redhat.com>
560 * java/lang/VMSecurityManager.java (currentClassLoader): Use
561 'systemClasssLoader' directly.
563 2005-05-03 Tom Tromey <tromey@redhat.com>
565 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
566 call VMClassLoader.getSystemClassLoader.
568 2005-04-29 Michael Koch <konqueror@gmx.de>
570 * java/net/NetworkInterface.java
572 (NetworkInterface(String,InetAddress)): Made package-private.
573 (NetworkInterface(String,InetAddress[])): New constructor.
574 (getRealNetworkInterfaces): Removed.
575 (getByName): Use VMNetworkInterface.getInterfaces().
576 (getByInetAddress): Likewise.
577 (getNetworkInterfaces): Likewise.
578 * java/net/VMNetworkInterface.java,
579 java/net/natVMNetworkInterfaceNoNet.cc,
580 java/net/natVMNetworkInterfacePosix.c,c
581 java/net/natVMNetworkInterfaceWin32.cc: New files.
582 * java/net/natNetworkInterfaceNoNet.cc,
583 java/net/natNetworkInterfacePosix.cc,
584 java/net/natNetworkInterfaceWin32.cc: Removed.
587 * configure, Makefile.in: Regenerated.
589 2005-04-29 Andrew Haley <aph@redhat.com>
591 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
593 2005-04-29 Dalibor Topic <robilad@kaffe.org>
595 * java/nio/channels/FileChannelImpl.java
596 (FileChannelImpl(String, int)): Removed.
597 (FileChannelImpl(File, int)): Added. Check if opened file is a
599 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
600 Call FileChannelImpl(File, int).
601 * java/io/FileOutputStream.java (FileInputStream): Call
602 FileChannelImpl(File, int).
603 * java/io/RandomAccessFile.java (RandomAccessFile):
604 Call FileChannelImpl(File, int). Switched constructors around.
606 2005-04-27 Andrew Haley <aph@redhat.com>
609 * prims.cc (_Jv_ResolvePoolEntry): New function.
610 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
611 * link.cc (_Jv_Linker::find_field): New arg: found_class.
612 (resolve_pool_entry): Initialize the class in which a field is
614 (link_symbol_table): Pass new arg to found_class.
616 2005-04-29 Michael Koch <konqueror@gmx.de>
618 * java/nio/charset/Charset.java
619 (provider): Reformatted.
621 2005-04-29 Michael Koch <konqueror@gmx.de>
623 * gnu/java/net/protocol/http/HTTPConnection.java:
624 (userAgent): Initialize from system properties.
625 (initUserAgent): Removed.
627 2005-04-29 Mark Wielaard <mark@klomp.org>
629 * java/util/ResourceBundle.java (getObject): Clarify
630 MissingResourceException detailed message.
631 (tryBundle(String,ClassLoader)): Likewise.
633 2005-04-29 Robert Schuster <thebohemian@gmx.net>
635 * java/beans/FeatureDescriptor.java:
636 (getShortDescription): Implemented fallback mechanism and fixed
637 documentation (fixes bug #12637).
638 (getDisplayName): Dito.
640 2005-04-29 Robert Schuster <thebohemian@gmx.net>
642 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
643 will now be set correctly.
644 (flushCaches): Now flushes all cached intermediate data.
646 2005-04-28 Michael Koch <konqueror@gmx.de>
648 * java/net/InetAddress.java
649 (aton): Fixed javadoc.
652 2005-04-28 Tom Tromey <tromey@redhat.com>
654 * javax/swing/Timer.java
655 (drainEvents, queueEvent): Now package-private.
657 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
659 * javax/swing/Timer.java
660 (constructor): Assigning initialDelay.
662 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
664 * javax/swing/Timer.java
665 (Waker.run): firing the first action event.
667 2005-04-28 Michael Koch <konqueror@gmx.de>
669 * javax/swing/Timer.java: Reordered all fields and methods,
672 2005-04-28 Michael Koch <konqueror@gmx.de>
674 * javax/swing/Timer.java: Javadocs merged
677 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
679 * gnu/java/net/protocol/file/Connection.java
680 (StaticData): New inner class to contain statics.
681 (connect, getHeaderField): Modified to use StaticData.
683 2005-04-28 Michael Koch <konqueror@gmx.de>
685 * gnu/java/net/protocol/file/Connection.java
686 (lineSeparator): Initialize with SystemProperties.getProperty().
688 2005-04-27 Chris Burdess <dog@gnu.org>
690 * gnu/java/net/protocol/file/Connection.java: Return correct content
691 length for directory listing.
692 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
693 #11285: return valid URLs for directories.i
695 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
697 * Makefile.am (ordinary_java_source_files): Add
698 gnu/java/net/protocol/https/Handler.java.
699 * Makefile.in: Regenerate.
700 * java/net/URL.java: Remove org.metastatic.jessie from default
701 protocol search path.
703 2005-04-27 Chris Burdess <dog@gnu.org>
705 * gnu/java/net/protocol/https/Handler.java: New file.
707 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
709 * javax/imageio/spi/IIORegistry.java (IIORegistry):
710 Don't assume that awt Toolkit is always ClasspathToolkit.
712 2005-04-27 Chris Burdess <dog@gnu.org>
714 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
715 absolute and relative paths in Location header.
717 2005-04-27 Chris Burdess <dog@gnu.org>
719 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
720 FileNotFoundException and implement getErrorStream on 404.
722 2005-04-27 Sven de Marothy <sven@physto.se>
724 * java/util/TimeZone.java,
725 (getDefaultDisplayName): Fix previous fix.
727 2005-04-27 Sven de Marothy <sven@physto.se>
729 * java/util/TimeZone.java,
730 (getDefaultDisplayName): Don't print zero offsets.
732 2005-04-27 Roman Kennke <roman@kennke.org>
734 * javax/swing/plaf/basic/BasicScrollBarUI
735 (getThumbBounds): Do not make thumb smaller than
737 * javax/swing/plaf/metal/MetalLookAndFeel
738 (initComponentDefaults): Added color defaults for ScrollBar.
739 * javax/swing/plaf/metal/MetalScrollBarUI
741 (getMinimumThumbSize): Added.
743 2005-04-27 Roman Kennke <roman@kennke.org>
745 * javax/swing/plaf/metal/MetalLookAndFeel
746 (initComponentDefaults): Added some default colors.
748 2005-04-27 Roman Kennke <roman@kennke.org>
750 * javax/swing/plaf/basic/BasicScrollBarUI.java
751 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
752 to 'ScrollBar.thumbShadow'. The formes does not exist.
753 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
755 2005-04-27 Roman Kennke <roman@kennke.org>
757 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
758 * javax/swing/BoxLayout.java: Likewise.
759 * javax/swing/UIManager.java: Likewise.
760 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
761 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
762 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
763 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
764 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
765 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
766 * javax/swing/text/Document.java: Likewise.
767 * javax/swing/text/GapContent.java: Likewise.
768 * javax/swing/text/SimpleAttributeSet.java: Likewise.
769 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
771 2005-04-27 Roman Kennke <roman@kennke.org>
773 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
774 (getPropertyPrefix): Added.
776 2005-04-27 Roman Kennke <roman@kennke.org>
778 * javax/swing/plaf/basic/BasicButtonUI.java
779 (getPropertyPrefix): Added.
780 (installDefaults): Use getPropertyPrefix instead of hard-coded
783 2005-04-27 Roman Kennke <roman@kennke.org>
785 * javax/swing/JToggleButton.java
786 (JToggleButton): Removed horizontalAlignment setting, this
787 was wrong. Added setting of an actionCommand, ToggleButtons
788 have "" as default actionCommand.
790 2005-04-27 Michael Koch <konqueror@gmx.de>
792 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
793 to work around CNI limitation.
795 2005-04-27 Sven de Marothy <sven@physto.se>
797 * java/nio/charset/Charset.java:
798 (defaultCharset()): New method.
799 Status updated to 1.5
801 2005-04-27 Sven de Marothy <sven@physto.se>
803 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
805 2005-04-27 Sven de Marothy <sven@physto.se>
807 * java/nio/charset/Charset.java: Reset cached de/encoders.
809 2005-04-27 Robert Schuster <thebohemian@gmx.net>
811 * java/nio/charset/Charset.java (forName): Throws
812 IllegalArgumentException when argument is null
813 and added documentation.
815 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
817 * java/nio/charset/Charset.java (providers):
818 New method to make an array of CharsetProviders defined in
819 META-INF/services/java.nio.charset.spi.CharsetProvider.
820 (charsetForName, availableCharsets): Use the
821 new method providers().
823 2005-04-26 Michael Koch <konqueror@gmx.de>
825 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
826 Fixed typos in javadocs.
827 (isSiteLocalAddress): Fixed handling of byte values.
828 (isMCLinkLocal): Likewise.
829 * java/net/Inet4Address.java
830 (isMulticastAddress): Call super method.
831 (isLoopbackAddress): Likewise.
832 (isAnyLocalAddress): Likewise.
833 (isLinkLocalAddress): Likewise.
834 (isSiteLocalAddress): Likewise.
835 (isMCGlobal): Likewise.
836 (isMCNodeLocal): Likewise.
837 (isMCLinkLocal): Likewise.
838 (isMCSiteLocal): Likewise.
839 (isMCOrgLocal): Likewise.
840 (getHostAddress): Likewise.
842 2005-04-26 Sven de Marothy <sven@physto.se>
844 * java/net/InetAddress.java
845 (toString): Don't print empty hostnames.
847 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
850 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
851 'false' to native lock().
852 (lock): Pass 'true' to native lock().
854 2005-04-26 Michael Koch <konqueror@gmx.de>
856 * java/net/InetAddress.java:
857 Fixed typos in javadocs.
859 2005-04-26 Andrew Haley <aph@redhat.com>
862 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
865 2005-04-26 Tom Tromey <tromey@redhat.com>
867 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
868 gnu): Now package-private.
869 * javax/swing/text/html/parser/DocumentParser.java (parser,
870 callBack, gnu): Now package-private.
871 * javax/swing/text/StringContent.java (content, setOffset,
872 checkLocation): Now package-private.
873 * javax/swing/text/JTextComponent.java (doc): Now
875 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
876 lastGoodOrientation, origParent, borders, cachedBounds,
877 cachedOrientation, DragWindow): Now package-private.
878 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
879 decrButton, viewport, panel, currentScrollLocation, layoutManager,
880 tabAreaRect, contentRect, createIncreaseButton,
881 createDecreaseButton, findPointForIndex): Now package-private.
882 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
883 (currentDividerLocation, moveDividerTo): Now package-private.
884 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
886 * javax/swing/plaf/basic/BasicScrollBarUI.java
887 (calculatePreferredSize, valueForYPosition, valueForXPosition):
889 * javax/swing/plaf/basic/BasicPopupMenuUI.java
890 (topWindowListener): Now package-private.
891 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
892 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
893 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
895 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
897 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
899 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
901 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
902 borderInsets): Now package-private.
903 (arrowButtonWidth): Likewise. Now a constant.
904 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
905 makeTabs, updatePreviewPanel): Now package-private.
906 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
907 darkShadow, highlight): Now package-private.
908 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
909 (addColorToQueue): Now package-private.
910 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
911 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
912 GSpinner, BSpinner): Now package-private.
913 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
914 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
915 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
916 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
917 updateTrack): Now package-private.
918 * javax/swing/TransferHandler.java (clipboard): Now
920 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
922 * javax/swing/Timer.java (drainEvents, queueEvent): Now
924 * javax/swing/RepaintManager.java (globalManager): Now
926 * javax/swing/JFormattedTextField.java (editValid): Now
928 * javax/swing/JColorChooser.java (makeModal): Now
930 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
931 index, path): Now package-private.
932 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
933 lineQuadIntersect, lineCubicIntersect, linesIntersect,
934 pointEquals): Now package-private.
935 * java/awt/geom/Arc2D.java (type): Now package-private.
936 * java/awt/Window.java (windowFocusOwner): Now package-private.
937 * java/awt/TextComponent.java (editable, selectionStart,
938 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
940 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
942 * java/awt/MenuComponent.java (focusListener): Now
944 * java/awt/Frame.java (state): Now package-private.
945 * java/awt/Choice.java (pItems): Now package-private.
946 * java/awt/Checkbox.java (state): Now package-private.
947 * java/awt/Button.java (actionCommand, label): Now
949 * gnu/javax/swing/text/html/parser/support/Parser.java
950 (attributes, _handleEndTag_remaining, _handleStartTag): Now
952 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
954 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
955 clip, transform, font, comp): Now package-private.
957 2005-04-26 Tom Tromey <tromey@redhat.com>
959 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
962 2005-04-26 Mark Wielaard <mark@klomp.org>
964 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
965 to MalformedURLException.
967 2005-04-26 Michael Koch <konqueror@gmx.de>
969 * java/security/AccessControlContext.java:
971 (protectedDomains): Renamed from 'protectionDomain'.
972 * java/security/AccessController.java:
975 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
977 * gnu/java/security/action/GetSecurityPropertyAction.java
978 (GetSecurityPropertyAction): Implement PrivilegedAction instead
979 of extending GetPropertyAction.
982 (setParamters): New methods.
983 (GetSecurityPropertyAction): Use new setParameters methods.
985 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
987 * java/security/Security.java,
988 java/security/cert/X509CRLSelector.java,
989 java/security/cert/X509CertSelector.java:
990 Modified to use SystemProperties.
992 2005-04-26 Michael Koch <konqueror@gmx.de>
994 * java/lang/System.java
995 (setSecurityManager): Fixed comment.
996 (getSecurityManager): Removed obsolete comment.
998 2005-04-25 Tom Tromey <tromey@redhat.com>
1000 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1002 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1004 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1005 (connectSignals): Realize the window widget after connecting
1008 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1010 * java/awt/GraphicsEnvironment.java
1011 (localGraphicsEnvironment): New field.
1012 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1014 (isHeadless): Added support for java.awt.headless property.
1015 (isHeadlessInstance): Call headless().
1017 2005-04-25 Roman Kennke <roman@kennke.org>
1019 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1020 (getDisplayMode): Added. Returns the current display mode.
1021 (isFullScreenSupported): Added.
1022 * java/awt/GraphicsDevice.java
1023 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1024 This resizes and relocates the fullscreen window so that it uses
1025 the whole screen. This is not a fully accelerated fullscreen
1028 2005-04-25 Michael Koch <konqueror@gmx.de>
1030 * java/lang/Runtime.java,
1031 java/lang/SecurityManager.java,
1032 java/lang/System.java,
1033 java/lang/ThreadGroup.java:
1034 Replaced java.lang.Runtime.securityManager by
1035 java.lang.SecurityManager.current (as used in GNU classpath).
1037 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1039 * java/awt/Transparency.java
1040 (getTransparency): fixed API docs.
1042 2005-04-25 Archie Cobbs <archie@dellroad.org>
1044 * java/lang/Throwable.java: simplify initializing cause in constructor
1046 2005-04-25 Michael Koch <konqueror@gmx.de>
1048 * gnu/classpath/SystemProperties.java: New file.
1049 * gnu/classpath/natSystemProperties.cc: New file.
1050 * java/lang/Runtime.java
1051 (defaultProperties): Removed.
1053 (): Made thrown exceptions more verbose.
1054 (insertSystemProperties): Removed.
1055 * java/lang/System.java
1057 (properties): Likewise.
1058 (setSecurityManager): Reordered modifiers.
1059 (getenv): Improved javadoc.
1061 (isWordsBigEndian): Removed.
1062 * java/lang/natRuntime.cc
1063 (_Jv_SetDLLSearchPath): Likewise.
1064 (file_encoding): Likewise.
1065 (default_file_encoding): Likewise.
1066 (getpwuid_adaptor): Likewise.
1067 (insertSystemProperties): Likewise.
1068 * java/lang/natSystem.cc
1069 (isWordsBigEndian): Likewise.
1071 (ordinary_java_source_files):
1072 Added gnu/classpath/SystemProperties.java.
1073 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1074 * Makefile.in: Regenerated.
1076 2005-04-25 Roman Kennke <roman@kennke.org>
1078 * javax/swing/plaf/basic/BasicScrollBarUI.java
1079 (initDefaults): Initialize thumb*Color fields correctly.
1081 2005-04-25 Roman Kennke <roman@kennke.org>
1083 * javax/swing/text/GapContent.java:
1086 2005-04-25 Roman Kennke <roman@kennke.org>
1088 * javax/swing/plaf/metal/MetalBorders.java:
1089 Added inner class ScrollPaneBorder.
1090 * javax/swing/plaf/metal/MetalLookAndFeel.java
1091 (initComponentDefaults): Added default for "ScrollPane.border"
1092 to use the new ScrollPaneBorder.
1094 2005-04-25 Roman Kennke <roman@kennke.org>
1096 * javax/swing/text/AbstractDocument.java:
1097 Added FIXME comments. This class still has to be
1098 implemented thread-safe.
1100 2005-04-25 Roman Kennke <roman@kennke.org>
1102 * javax/swing/tree/DefaultTreeSelectionModel.java
1103 (DefaultTreeSelectionModel): Initialize listenerList here.
1105 2005-04-25 Roman Kennke <roman@kennke.org>
1107 * javax/swing/plaf/metal/MetalTextFieldUI.java
1108 (createUI): Return one instance per Component instead of a
1111 2005-04-25 Roman Kennke <roman@kennke.org>
1113 * javax/swing/text/Document.java:
1114 Added API documentation comments.
1116 2005-04-25 Roman Kennke <roman@kennke.org>
1118 * javax/swing/text/AbstractDocument.java
1119 (getDocumentProperties): Implemented.
1120 (setDocumentProperties): Implemented.
1121 (getProperty): Implemented.
1122 (putProperty): Implemented.
1124 2005-04-25 Roman Kennke <roman@kennke.org>
1126 * javax/swing/BoxLayout
1127 (preferredLayoutSize): Fixed computation so that it correctly
1128 adds the top and bottom insets of the container.
1130 2005-04-25 Roman Kennke <roman@kennke.org>
1132 * javax/swing/plaf/basic/BasicMenuItemUI.java
1133 (paintText): Make use of the 'selectionForeground' UI default
1136 2005-04-25 Roman Kennke <roman@kennke.org>
1138 * javax/swing/plaf/basic/BasicLookAndFeel.java
1139 (initSystemColorDefaults): Modified colors to match the
1140 BasicLookAndFeel in the reference implementation.
1141 (initComponentDefaults): Likewise.
1143 2005-04-25 Tom Tromey <tromey@redhat.com>
1145 * include/jni.h (_Jv_va_list): Removed.
1146 Moved configuration code...
1147 * include/jni_md.h: ... here. New file.
1148 * include/Makefile.in: Rebuilt.
1149 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1151 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1153 * java/io/FileInputStream.java (FileInputStream(File)),
1154 java/io/FileOutputStream.java (FileOutputStream(File)):
1155 Removed unnecessary File.isDirectory() check.
1157 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1159 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1160 gij if get_multilibs fails.
1162 2005-04-22 Anthony Green <green@redhat.com>
1164 * jni.cc (natrehash): Don't bother clearing memory again.
1165 * interpret.cc (do_allocate_static_fields): Ditto.
1166 * java/lang/natString.cc (rehash): Ditto.
1168 2005-04-22 Roman Kennke <roman@kennke.org>
1170 * javax/swing/plaf/basic/BasicLookAndFeel.java
1171 (initComponentDefaults): Changed Button.border to be
1172 BasicBorders.getButtonBorder as it should be.
1174 2005-04-22 Roman Kennke <roman@kennke.org>
1176 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1177 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1178 should according to a mauve testcase, instead of the preferred
1181 2005-04-22 Roman Kennke <roman@kennke.org>
1183 * javax/swing/JMenu.java
1184 (add): add(Component) now calls PopupMenu.insert(..) instead of
1185 PopupMenu.add(..). add(..) is not implemented for Component,
1186 so JComponent.add(..) is called instead, adding the component
1189 2005-04-22 Roman Kennke <roman@kennke.org>
1191 * javax/swing/plaf/basic/BasicButtonListener.java
1192 (mousePressed): replaced query to getModifiersEx with getModifiers.
1193 This method relied on faulty behaviour in getModifierEx.
1194 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1195 This method relied on faulty behaviour in getModifierEx.
1197 2005-04-22 Roman Kennke <roman@kennke.org>
1199 * javax/swing/plaf/metal/MetalLookAndFeel.java
1200 (getDefaults): Call addCustomEntriesToTable on the theme.
1202 2005-04-22 Roman Kennke <roman@kennke.org>
1204 * javax/swing/tree/DefaultTreeSelectionModel.java
1205 (constructor): Added implementation.
1206 (getRowMapper): Added implementation.
1207 (setSelectionMode): Added implementation.
1208 (getSelectionMode): Added implementation.
1209 (getSelectionPath): Added implementation.
1210 (getSelectionPaths): Added implementation.
1211 (getSelectionCount): Added implementation.
1212 (isSelectionEmpty): Added implementation.
1213 (getSelectionRows): Added implementation.
1214 (getMinSelectionRow): Added implementation.
1215 (getMaxSelectionRow): Added implementation.
1216 (getLeadSelectionRow): Added implementation.
1217 (getLeadSelectionPath): Added implementation.
1219 2005-04-22 Casey Marshall <csm@gnu.org>
1221 * gnu/java/security/der/DERValue.java
1222 (getValueAs): new method.
1223 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1224 (<init>): read both dates with 'DERValue.getValueAs', with
1225 'GENERALIZED_TIME' as the argument.
1227 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1229 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1230 be null, check for that case and don't deference it.
1232 2005-04-22 Sven de Marothy <sven@physto.se>
1234 * java/util/logging/LogManager.java: Reformatted.
1235 (readConfiguration): If a logger for a key is not found, create one.
1237 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1239 * java/rmi/Naming.java:
1240 Added class documentation.
1241 (lookup(String)): Call parseURL and getName.
1242 (bind(String,java.rmi.Remote)): Likewise.
1243 (unbind(String)): Likewise.
1244 (rebind(String, java.rmi.Remote)): Likewise.
1245 (list(String)): Call parseURL.
1246 (parseURL(String)): New method to handle parsing and defaults.
1247 (getName(java.net.URL)): New method to handle finding the service name.
1249 2005-04-21 Tom Tromey <tromey@redhat.com>
1251 * java/lang/natClass.cc (initializeClass): Link class.
1253 2005-04-21 Tom Tromey <tromey@redhat.com>
1255 * java/lang/AssertionError.java: Typo fix.
1257 2005-04-21 Tom Tromey <tromey@redhat.com>
1259 * java/lang/VMClassLoader.java (transformException): Removed.
1260 (resolveClass): No longer native. Now does nothing.
1261 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1263 2005-04-21 Anthony Green <green@redhat.com>
1266 * testsuite/libjava.special/special.exp,
1267 testsuite/libjava.special/pr21115I.java,
1268 testsuite/libjava.special/pr21115.java,
1269 testsuite/libjava.special/pr21115.out: New files.
1271 2005-04-21 Chris Burdess <dog@gnu.org>
1273 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1274 CRLF-delimited chunks.
1276 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1278 * java/net/URI.java:
1279 Added class documentation.
1280 (parseURI(String)): Only handle scheme-specific parts
1281 if URI is not opaque. Allow for parts that can't be null.
1282 (toString()): Output the scheme-specific part whole, rather
1283 than as its possibly non-existent components.
1285 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1287 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1288 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1289 Adjusted to match new regexp.
1291 2005-04-20 Michael Koch <konqueror@gmx.de>
1293 * gnu/java/net/protocol/file/Connection.java,
1294 gnu/java/net/protocol/jar/Connection.java:
1295 Reorganized import statements. Fixed @author tags.
1297 2005-04-20 Chris Burdess <dog@gnu.org>
1299 * java/io/DataOutputStream.java (writeUTF): Use block write for
1302 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1304 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1305 (readLine): Changed newline handling.
1307 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1309 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1310 ColorModel,byte[],int,int): Fixed byte to int conversion.
1312 2005-04-20 Michael Koch <konqueror@gmx.de>
1314 * java/io/FilePermission.java
1315 (serialVersionUID): Made private.
1316 (ALL_FILES): New constant.
1317 (implies): Handle '<<ALL FILES>>' case.
1319 2005-04-20 Sven de Marothy <sven@physto.se>
1321 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1322 (drawImage): Don't notify the image observer for offscreen images.
1323 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1324 (setPixels): Don't notify the image observer.
1326 2005-04-20 Sven de Marothy <sven@physto.se>
1328 * java/nio/ByteBufferImpl.java:
1329 (putChar): Inlined for speed.
1330 (put, get): Bulk methods can use arraycopy.
1331 * java/nio/CharBufferImpl.java:
1332 (put, get): Bulk methods can use arraycopy.
1334 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1336 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1338 * java/nio/CharBufferImpl.java
1339 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1340 (get(), put(char)): Inlined checks and field updates. Fixed to
1341 take array_offset into account.
1342 (get(int), put(int, char)): Fixed to take array_offset into account.
1344 2005-04-20 Sven de Marothy <sven@physto.se>
1346 * java/text/SimpleDateFormat.java:
1347 (formatWithAttribute): Pad year before truncating digits.
1349 2005-04-20 Michael Koch <konqueror@gmx.de>
1351 * gnu/java/net/PlainDatagramSocketImpl.java:
1352 Merged copyright header.
1353 * gnu/java/net/PlainSocketImpl.java:
1354 Reorganized import statements. Fixed @author tags.
1356 2005-04-20 Michael Koch <konqueror@gmx.de>
1358 * gnu/java/lang/ClassHelper.java,
1359 gnu/java/lang/reflect/TypeSignature.java:
1362 2005-04-20 Michael Koch <konqueror@gmx.de>
1364 * gnu/java/beans/IntrospectionIncubator.java:
1365 Fixed HTML tags in javadocs.
1367 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1369 * gnu/java/beans/IntrospectionIncubator.java
1370 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1371 set(), is(), add() and remove() with properties or events.
1373 2005-04-20 Michael Koch <konqueror@gmx.de>
1375 * gnu/java/awt/image/XBMDecoder.java:
1376 Fixed modifier order.
1378 2005-04-20 Roman Kennke <roman@kennke.org>
1380 * javax/swing/plaf/basic/BasicButtonUI.java
1381 (paint): This should not care about margin and insets
1382 at the same time, as insets already include the margin
1384 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1385 (getPreferredButtonSize): Likewise.
1386 * javax/swing/plaf/metal/MetalBorders.java
1387 (getBorderInsets): Likewise.
1389 2005-04-20 Roman Kennke <roman@kennke.org>
1391 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1392 (createMessageArea): The JPanel that holds the message area
1393 doesn't need to override getPreferredSize. This prevents some
1394 message components from rendering nicely.
1396 2005-04-20 Roman Kennke <roman@kennke.org>
1398 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1399 (createUI): Do not share instances between components.
1400 * javax/swing/plaf/metal/MetalSliderUI.java
1401 (createUI): Do not share instances between components.
1403 2005-04-20 Roman Kennke <roman@kennke.org>
1405 * javax/swing/plaf/metal/MetalBorders:
1406 (PopupMenuBorder): Added.
1407 * javax/swing/plaf/metal/MetalLookAndFeel
1408 (initComponentDefaults): Added PopupMenuBorder.
1410 2005-04-20 Roman Kennke <roman@kennke.org>
1412 * javax/swing/tree/DefaultTreeSelectionModel.java:
1413 Added API documentation all over the class.
1415 2005-04-20 Roman Kennke <roman@kennke.org>
1417 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1418 (installDefaults): Link managed JScrollPane in instance field.
1419 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1421 2005-04-20 Roman Kennke <roman@kennke.org>
1423 * javax/swing/plaf/basic/BasicScrollBarUI.java
1424 (PropertyChangeHandler.propertyChange): Add default
1425 to switch statement to avoid errors with unusual values
1427 (installComponents): Likewise.
1429 2005-04-20 Roman Kennke <roman@kennke.org>
1431 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1432 (createUI): Instances cannot be shared among JScrollPanes.
1434 2005-04-20 Roman Kennke <roman@kennke.org>
1436 * javax/swing/plaf/metal/MetalLookAndFeel.java
1437 (initComponentDefaults): Added defaults for Menu, MenuBar
1440 2005-04-20 Roman Kennke <roman@kennke.org>
1442 * javax/swing/plaf/basic/BasicScrollBarUI.java
1443 (installUI): Install listeners after everything all, otherwise
1444 we get strange NPEs in some situations, especially with
1446 (createIncreaseButton): Orientation is expected to be
1447 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1448 HORIZONTAL or VERTICAL.
1449 (createDecreaseButton): Orientation is expected to be
1450 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1451 HORIZONTAL or VERTICAL.
1452 (installComponents): Orientation for buttons is expected to be
1453 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1454 HORIZONTAL or VERTICAL.
1456 2005-04-20 Roman Kennke <roman@kennke.org>
1458 * javax/swing/JToolBar.java
1459 (addImpl): Adjust added AbstractButtons to look and feel like
1461 * javax/swing/plaf/metal/MetalBorders.java:
1462 Adjusted insets of ButtonBorder.
1463 (RolloverMarginBorder): Added class for toolbar buttons.
1464 (getButtonBorder): Adjusted factory method to return a shared
1465 instance of button border.
1466 (getToolbarButtonBorder): Added factory method to return a shared
1467 instance of toolbar button border.
1468 (getMarginBorder): Added factory method to return a shared
1469 instance of margin border.
1470 * javax/swing/plaf/metal/MetalButtonUI.java
1471 (installDefauls): If button is child of a JToolBar then set
1472 special border on this button.
1474 2005-04-20 Michael Koch <konqueror@gmx.de>
1476 * java/net/URLConnection.java
1477 (getContent): Fixed javadoc comment.
1479 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1481 * java/net/URL.java:
1482 (toURI()): Implemented.
1484 2005-04-19 Michael Koch <konqueror@gmx.de>
1486 * java/net/InetAddress.java
1487 (InetAddress): Fixed javadoc comment.
1489 (lookup): Added javadoc.
1490 (getFamily): Likewise.
1491 * java/net/ServerSocket.java
1492 (getChannel): Improved javadoc comment.
1494 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1496 * gnu/xml/dom/html2/DomHTMLParser.java:
1497 Changed 'enum' references to become 'enumeration'.
1499 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1501 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1503 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1505 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1506 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1507 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1508 (validateParameters(TagElement,htmlAttributeSet)):
1509 Replaced 'enum' with 'enumeration'.
1510 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1513 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1515 * javax/swing/text/html/parser/Entity.java (getType): New method.
1516 * javax/swing/text/html/parser/DocumentParser.java:
1517 Inherit from javax.swing.text.html.parser.Parser.
1519 2005-04-19 Chris Burdess <dog@gnu.org>
1521 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1522 check for HTML/XHTML namespace.
1524 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1526 * javax/swing/text/html/parser/Parser.java,
1527 javax/swing/text/html/parser/Entity.java:
1528 Inheriting from DTDConstants.
1529 * javax/swing/text/html/parser/AttributeList.java
1530 (getValues): Changed return type.
1531 * javax/swing/text/html/parser/DocumentParser
1532 (parse): Adding the callback parameter that receives
1535 2005-04-19 Chris Burdess <dog@gnu.org>
1537 * gnu/xml/dom/DomImpl.java,
1538 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1539 gnu/xml/dom/html2/DomHTMLDocument.java,
1540 gnu/xml/dom/html2/DomHTMLElement.java,
1541 gnu/xml/dom/html2/DomHTMLFormElement.java,
1542 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1543 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1544 gnu/xml/dom/html2/DomHTMLImpl.java,
1545 gnu/xml/dom/html2/DomHTMLInputElement.java,
1546 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1547 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1548 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1549 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1550 gnu/xml/dom/html2/DomHTMLTableElement.java,
1551 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1552 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1553 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1554 UI events, and tree utility functions.
1556 2005-04-19 Michael Koch <konqueror@gmx.de>
1558 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1559 gnu/javax/swing/text/html/parser/gnuDTD.java,
1560 gnu/javax/swing/text/html/parser/models/node.java:
1561 Reworked import statements.
1563 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1565 * javax/swing/text/html/HTMLDocument.java: New file.
1567 2005-04-19 Michael Koch <konqueror@gmx.de>
1569 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1571 * javax/swing/text/html/parser/AttributeList.java:
1572 Fixed order of modifiers.
1573 (AttributeList): Made final.
1574 * javax/swing/text/html/parser/ContentModel.java:
1575 Fixed html characters in javadocs.
1576 * javax/swing/text/html/parser/DTD.java
1577 (DTD): Don't implement java.io.Serializable directly.
1578 (getElement): Simplified.
1579 * javax/swing/text/html/parser/DTDConstants.java:
1581 * javax/swing/text/html/parser/Element.java:
1582 Fixed order of modifiers.
1583 * javax/swing/text/html/parser/Parser.java:
1584 Reformatted. Don't use fully-qualified class names.
1585 * javax/swing/text/html/parser/ParserDelegator.java:
1586 Fixed order of modifiers.
1587 * javax/swing/text/rtf/RTFParser.java:
1588 Re-ordered import statements.
1589 * javax/swing/text/rtf/RTFScanner.java:
1590 Removed unused import statement.
1592 2005-04-19 Chris Burdess <dog@gnu.org>
1594 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1595 gnu/xml/dom/html2/DomHTMLCollection.java,
1596 gnu/xml/dom/html2/DomHTMLDocument.java,
1597 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1599 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1600 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1601 gnu/xml/dom/html2/DomHTMLDivElement.java,
1602 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1603 gnu/xml/dom/html2/DomHTMLFontElement.java,
1604 gnu/xml/dom/html2/DomHTMLFormElement.java,
1605 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1606 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1607 gnu/xml/dom/html2/DomHTMLHRElement.java,
1608 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1609 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1610 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1611 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1612 gnu/xml/dom/html2/DomHTMLImageElement.java,
1613 gnu/xml/dom/html2/DomHTMLInputElement.java,
1614 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1615 gnu/xml/dom/html2/DomHTMLLIElement.java,
1616 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1617 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1618 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1619 gnu/xml/dom/html2/DomHTMLMapElement.java,
1620 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1621 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1622 gnu/xml/dom/html2/DomHTMLModElement.java,
1623 gnu/xml/dom/html2/DomHTMLOListElement.java,
1624 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1625 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1626 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1627 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1628 gnu/xml/dom/html2/DomHTMLParamElement.java,
1629 gnu/xml/dom/html2/DomHTMLPreElement.java,
1630 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1631 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1632 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1633 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1634 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1635 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1636 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1637 gnu/xml/dom/html2/DomHTMLTableElement.java,
1638 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1639 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1640 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1641 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1642 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1644 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1646 * javax/swing/text/ChangedCharSetException.java,
1647 javax/swing/text/html/HTMLEditorKit.java,
1648 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1649 javax/swing/text/html/parser/AttributeList.java,
1650 javax/swing/text/html/parser/ContentModel.java,
1651 javax/swing/text/html/parser/DocumentParser.java,
1652 javax/swing/text/html/parser/DTD.java,
1653 javax/swing/text/html/parser/DTDConstants.java,
1654 javax/swing/text/html/parser/Element.java,
1655 javax/swing/text/html/parser/Entity.java,
1656 javax/swing/text/html/parser/Parser.java,
1657 javax/swing/text/html/parser/TagElement.java,
1658 gnu/javax/swing/text/html/package.html,
1659 gnu/javax/swing/text/html/parser/gnuDTD.java,
1660 gnu/javax/swing/text/html/parser/HTML_401F.java,
1661 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1662 gnu/javax/swing/text/html/parser/htmlValidator.java,
1663 gnu/javax/swing/text/html/parser/package.html,
1664 gnu/javax/swing/text/html/parser/models/list.java,
1665 gnu/javax/swing/text/html/parser/models/node.java,
1666 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1667 gnu/javax/swing/text/html/parser/models/package.html,
1668 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1669 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1670 gnu/javax/swing/text/html/parser/models/transformer.java,
1671 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1672 gnu/javax/swing/text/html/parser/support/package.html,
1673 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1674 gnu/javax/swing/text/html/parser/support/Parser.java,
1675 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1676 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1677 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1678 gnu/javax/swing/text/html/parser/support/low/Location.java,
1679 gnu/javax/swing/text/html/parser/support/low/node.java,
1680 gnu/javax/swing/text/html/parser/support/low/package.html,
1681 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1682 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1683 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1684 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1686 * javax/swing/text/html/HTML.java,
1687 javax/swing/text/html/parser/ParserDelegator.java:
1688 New files (replacing).
1689 * javax/swing/text/html/package.html,
1690 javax/swing/text/html/parser/package.html: Documenting the
1693 2005-04-19 Chris Burdess <dog@gnu.org>
1695 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1696 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1697 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1698 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1699 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1700 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1701 gnu/xml/dom/html2/DomHTMLBRElement.java,
1702 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1703 gnu/xml/dom/html2/DomHTMLCollection.java,
1704 gnu/xml/dom/html2/DomHTMLDocument.java,
1705 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1707 2005-04-19 Michael Koch <konqueror@gmx.de>
1709 * Makefile.am: Added new files.
1710 * Makefile.in: Regenerated.
1712 2005-04-19 Roman Kennke <roman@kennke.org>
1714 * javax/swing/text/JTextComponent.java
1715 (JTextComponent): Added repaintListener which issues repaint
1716 requests when the underlying document changes.
1717 (setDocument): Adds repaintListener to document when the
1718 document is changed.
1719 * javax/swing/text/DefaultEditorKit.java:
1720 Removed repaint calls on JTextComponent. This is now handled
1721 through a DocumentListener in JTextComponent that repaints
1722 the component when needed.
1724 2005-04-19 Roman Kennke <roman@kennke.org>
1727 * javax/swing/text/StyleContext.java
1728 (NamedStyle.setResolveParent): Added null
1731 2005-04-19 Michael Koch <konqueror@gmx.de>
1733 * java/rmi/server/RemoteObject.java:
1734 Removed unused import statement.
1736 2005-04-19 Michael Koch <konqueror@gmx.de>
1738 * java/net/URL.java: Formatting cleanups.
1740 2005-04-19 Michael Koch <konqueror@gmx.de>
1742 * java/awt/FontMetrics.java: Reformatted.
1743 (getFontRenderContext): Handle case when java.awt.Graphics context is
1746 2005-04-19 Michael Koch <konqueror@gmx.de>
1748 * java/awt/FontMetrics.java
1749 (getStringBounds): New methods.
1752 2005-04-19 Michael Koch <konqueror@gmx.de>
1754 * gnu/java/security/x509/X509Certificate.java
1755 (parse): Handle val == null case.
1757 2005-04-19 Roman Kennke <roman@kennke.org>
1759 * javax/swing/plaf/metal/MetalLookAndFeel.java
1760 (initComponentDefaults): Added defaults for Menu, MenuBar
1763 2005-04-19 Roman Kennke <roman@kennke.org>
1765 * javax/swing/plaf/metal/MetalLookAndFeel.java
1766 (initComponentDefaults): Added Label.font.
1767 (initSystemColorDefaults): Added this method and adjusted the
1768 general control color.
1770 2005-04-19 Roman Kennke <roman@kennke.org>
1772 * javax/swing/plaf/metal/MetalBorders.java:
1774 * javax/swing/plaf/metal/MetalButtonUI.java:
1775 (installDefaults): Install button font.
1776 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1777 (initComponentDefaults): Added button border, font and margin.
1778 Changed components background color to the Metal current themes
1781 2005-04-19 Roman Kennke <roman@kennke.org>
1783 * javax/swing/plaf/metal/MetalLookAndFeel.java
1784 (initComponentDefaults): Added to set Metal specific component
1787 2005-04-19 Mark Wielaard <mark@klomp.org>
1789 * javax/swing/plaf/metal/MetalLookAndFeel.java
1790 (initClassDefaults): Call super.initClassDefaults().
1792 2005-04-19 Roman Kennke <roman@kennke.org>
1794 * javax/swing/plaf/metal/MetalLookAndFeel.java
1795 (initClassDefaults): Added to include the *UI classes.
1797 2005-04-19 Roman Kennke <roman@kennke.org>
1799 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1801 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1803 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1805 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1807 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1809 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1811 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1813 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1815 * javax/swing/plaf/metal/MetalSliderUI.java:
1817 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1819 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1821 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1823 2005-04-19 Roman Kennke <roman@kennke.org>
1825 * javax/swing/plaf/metal/MetalButtonUI.java:
1826 Added skeleton class.
1827 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1828 Added skeleton class.
1829 * javax/swing/plaf/metal/MetalLabelUI.java:
1830 Added skeleton class.
1831 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1832 Added skeleton class.
1833 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1834 Added skeleton class.
1835 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1836 Added skeleton class.
1838 2005-04-19 Roman Kennke <roman@kennke.org>
1840 * javax/swing/UIDefaults.java:
1841 Added API documentation for all methods.
1843 2005-04-19 Roman Kennke <roman@kennke.org>
1845 * javax/swing/UIDefaults.java
1846 (put): Now uses new checkAndPut method instead of checking
1848 (putDefaults): Fixed so that it accepts null-values and
1849 treats them like remove(key).
1850 (checkAndPut): Added. This checks for null-values and calls
1853 2005-04-19 Michael Koch <konqueror@gmx.de>
1855 * Makefile.am: Added new files.
1856 * Makefile.in: Regenerated.
1858 2005-04-19 Mark Wielaard <mark@klomp.org>
1860 * java/lang/natRuntime.cc (insertSystemProperties): Set
1861 java.class.path to CLASSPATH only when not empty. Fall back to
1862 default path "." when java.class.path is empty.
1864 2005-04-19 Michael Koch <konqueror@gmx.de>
1866 * javax/swing/text/rtf/ControlWordToken.java,
1867 javax/swing/text/rtf/RTFEditorKit.java,
1868 javax/swing/text/rtf/RTFParseException.java,
1869 javax/swing/text/rtf/RTFParser.java,
1870 javax/swing/text/rtf/RTFScanner.java,
1871 javax/swing/text/rtf/TextToken.java,
1872 javax/swing/text/rtf/Token.java: New files.
1873 * Makefile.am: Added new files.
1874 * Makefile.in: Regenerated.
1876 2005-04-19 Michael Koch <konqueror@gmx.de>
1878 * java/awt/geom/QuadCurve2D.java:
1879 Fixed Brian Gough's name for real.
1881 2005-04-19 Roman Kennke <roman@kennke.org>
1883 * javax/swing/UIManager.java:
1884 Make the UIManager respect the swing.defaultlaf system
1887 2005-04-19 Tom Tromey <tromey@redhat.com>
1889 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1892 2005-04-19 Roman Kennke <roman@kennke.org>
1894 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1895 Fixed tabs to spaces.
1897 2005-04-19 Roman Kennke <roman@kennke.org>
1899 * javax/swing/plaf/basic/BasicMenuUI.java
1900 (getMaximumSize): Now returns preferredSize because JMenu should
1901 never be bigger than that.
1902 * javax/swing/JRootPane
1903 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1905 2005-04-19 Roman Kennke <roman@kennke.org>
1907 * javax/swing/JRootPane.java:
1908 Fixed various tabs to be spaces.
1909 (RootLayout.layoutContainer): Made menubar left aligned.
1911 2005-04-19 Roman Kennke <roman@ontographics.com>
1913 * javax/swing/JList.java
1914 (getPreferredScrollableViewportSize):
1915 The previous implementation was merely guessing the size,
1916 now it respects layoutOrientation, visibleRowCount
1918 (getScrollableTracksViewportHeight):
1919 Reimplemented so that layoutOrientation, visibleRowCount
1920 and preferred size are respected.
1921 (getScrollableTracksViewportWidth):
1922 Reimplemented so that layoutOrientation, visibleRowCount
1923 and preferred size are respected.
1924 * javax/swing/plaf/basic/BasicListUI.java
1926 Improved calculation of preferredSize when JList is
1927 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1929 The previous implementation assumed a layoutOrientation of
1930 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1931 JList.VERTICAL_WRAP.
1933 2005-04-19 Roman Kennke <roman@ontographics.com>
1935 * javax/swing/plaf/basic/BasicListUI.java
1936 (paintCell): use CellRendererPane for painting the cells.
1938 2005-04-19 Roman Kennke <roman@ontographics.com>
1940 * javax/swing/plaf/basic/BasicListUI:
1941 fixed modifiers of several fields, methods and inner
1942 classes to match the 'spec'.
1943 (getMaximumSize): removed. It's not in the spec and the
1944 implementations was superfluous.
1946 2005-04-19 Roman Kennke <roman@ontographics.com>
1948 * javax/swing/plaf/basic/BasicListUI:
1949 make BasicListUI capable of wrapping lists
1950 (layoutOrientation property of javax.swing.JList)
1952 2005-04-19 Roman Kennke <roman@ontographics.com>
1954 * javax/swing/plaf/basic/BasicListUI
1955 (updateLayoutState,paint): make BasicListUI aware of the
1956 width of the rendered JList.
1958 2005-04-19 Roman Kennke <roman@kennke.org>
1960 * javax/swing/ImageIcon.java
1961 Added API documentation.
1963 2005-04-19 Roman Kennke <roman@kennke.org>
1965 * javax/swing/text/ImageIcon.java
1966 (ImageIcon): Use setImage instead of direct assignment.
1967 (setImage): Call loadImage to make sure that the image is loaded.
1968 (loadImage): Waits for the image to complete loading.
1969 (getImageLoadStatus): Added. Returns the load status of the
1972 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1974 * javax/swing/JTextArea.java (replaceRange):
1975 Fixing doc.remove(start, length) misinterpretation.
1977 2005-04-19 Roman Kennke <roman@ontographics.com>
1979 * javax/swing/CellRendererPane.java:
1980 implemented all methods of this class.
1981 reformatted all wrong formatted code.
1983 2005-04-19 Roman Kennke <roman@kennke.org>
1985 * javax/swing/BoxLayout.java:
1986 (layoutContainer): Made this layout manager respect the
1987 minimum, maximum and preferred size more correctly.
1989 2005-04-19 Roman Kennke <roman@ontographics.com>
1991 * javax/swing/BoxLayout.java:
1992 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1993 layoutContainer): Make these methods and thereby the
1994 BoxLayout respect the insets (like borders) of the
1995 component that is laid out.
1997 2005-04-19 Roman Kennke <roman@kennke.org>
1999 * javax/swing/JComponent.java:
2000 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2001 Untabified the file.
2003 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2005 * javax/swing/JComboBox.java (constructors): selecting the
2006 first item if the box was constructed from the provided
2007 non - empty array or vector.
2009 2005-04-19 Michael Koch <konqueror@gmx.de>
2011 * gnu/java/awt/peer/gtk/GdkGraphics.java
2012 (getClipBounds): Handle clip being null.
2013 (setClip): Likewise.
2014 * java/beans/beancontext/BeanContextSupport.java
2018 (removeAll): Likewise.
2019 (retainAll): Likewise.
2021 2005-04-19 Michael Koch <konqueror@gmx.de>
2023 * java/beans/beancontext/BeanContextServicesSupport.java
2024 (BeanContextServicesSupport): Reimplemented.
2025 (addBeanContextServicesListener): Implemented.
2026 (initialize): Likewise.
2027 (removeBeanContextServicesListener): Likewise.
2028 * java/beans/beancontext/BeanContextSupport.java
2030 (addBeanContextMembershipListener): Likewise.
2031 (getLocale): Likewise.
2032 (initialize): Likewise.
2033 (iterator): Likewise.
2035 (toArray): Likewise.
2037 2005-04-19 Roman Kennke <roman@kennke.org>
2039 * java/awt/MediaTracker.java:
2040 Reindented tabs to spaces.
2042 2005-04-19 Roman Kennke <roman@kennke.org>
2044 * java/awt/MediaTracker.java
2045 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2046 confused the media tracker and lead to lockups. The LOADING
2047 bit is handled on other places.
2048 (addImage): Removed the 'start image tracking' stuff. This
2049 is not necessary and could confuse the media tracker.
2050 (checkAll): Improved the check for image status so that
2051 images that already complete images are detected. Also now
2052 are really all images checked and if necessary loaded. Before
2053 the method bailed out after the first incomplete image.
2054 (statusAll): Detect images that are complete after the
2055 call to Component.prepareImage(..).
2056 (checkID): The same as in checkAll.
2057 (statusID): The same as in statusAll.
2059 2005-04-19 Roman Kennke <roman@kennke.org>
2061 * java/awt/MediaTracker.java
2062 (addImage): Synchronized list access.
2063 (waitForAll): Fixed comparison of time (changed < to >).
2064 (waitForID): Fixed comparison of time (changed < to >).
2065 (removeImage): Synchronized list access.
2067 2005-04-19 Roman Kennke <roman@kennke.org>
2069 * java/awt/MediaTracker.java
2070 Added API documentation.
2072 2005-04-19 Roman Kennke <roman@kennke.org>
2074 * java/awt/MediaTracker.java
2075 (MediaEntry.imageUpdate): Fixed flags. The different flags
2076 must not be ORed together.
2077 (checkAll): Modified to handle different meaning of the flags.
2078 (waitForAll): Fixed so that it waits maximum the
2079 specified amount of milliseconds.
2080 (statusAll): Modified to handle different meaning of the flags.
2081 (waitForID): Fixed so that it waits maximum the
2082 specified amount of milliseconds.
2084 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2086 * java/awt/Font.java (decode): Handle null argument and allow
2089 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2091 * java/beans/EventHandler.java: Reworked documentation.
2092 (invoke): Fixed behavior to match spec.
2094 2005-04-19 Michael Koch <konqueror@gmx.de>
2096 * java/awt/print/PrinterJob.java
2097 (pageDialog): New method.
2098 (printDialog): Implemented.
2100 2005-04-19 Michael Koch <konqueror@gmx.de>
2102 * java/awt/image/ConvolveOp.java:
2103 Removed comment added by eclipse.
2105 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2107 * java/awt/image/IndexColorModel.java
2108 (getRGB): Check if pixel is negative.
2110 2005-04-19 Michael Koch <konqueror@gmx.de>
2112 * java/awt/image/RasterOp.java:
2113 Fixed wrong formatting.
2115 2005-04-18 Roman Kennke <roman@kennke.org>
2117 * java/awt/Compmonent.java
2118 (setComponentOrientation): Made this property firing a
2119 PropertyChangeEvent.
2121 2005-04-18 Roman Kennke <roman@kennke.org>
2123 * java/awt/BorderLayout.java
2124 (calcSize): Check for overflow when component sizes are added.
2126 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2128 * java/awt/AWTEvent.java (toString): Added case
2129 for source not being an AWT component.
2131 2005-04-18 Chris Burdess <dog@gnu.org>
2133 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2135 2005-04-18 Michael Koch <konqueror@gmx.de>
2137 gnu/java/awt/EmbeddedWindowSupport.java,
2138 gnu/java/net/HeaderFieldHelper.java,
2139 gnu/java/net/URLParseError.java,
2140 gnu/java/net/protocol/file/Handler.java,
2141 gnu/java/net/protocol/jar/Handler.java:
2142 Fixed usage of @author tag.
2144 2005-04-18 Michael Koch <konqueror@gmx.de>
2146 * gnu/xml/aelfred2/XmlParser.java:
2147 Reverted my typo fix.
2149 2005-04-18 Michael Koch <konqueror@gmx.de>
2151 * java/awt/geom/CubicCurve2D.java,
2152 java/awt/geom/QuadCurve2D.java:
2153 Fixed mentioning of Brian Gouph.
2155 2005-04-18 Michael Koch <konqueror@gmx.de>
2157 * gnu/java/awt/Buffers.java,
2158 gnu/java/awt/image/ImageDecoder.java,
2159 gnu/java/awt/image/XBMDecoder.java,
2160 gnu/java/awt/peer/ClasspathFontPeer.java,
2161 gnu/java/net/CRLFInputStream.java,
2162 gnu/java/net/EmptyX509TrustManager.java,
2163 gnu/java/net/LineInputStream.java,
2164 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2165 gnu/java/net/protocol/ftp/BlockInputStream.java,
2166 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2167 gnu/java/net/protocol/ftp/DTP.java,
2168 gnu/java/net/protocol/ftp/DTPInputStream.java,
2169 gnu/java/net/protocol/ftp/FTPConnection.java,
2170 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2171 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2172 gnu/java/net/protocol/ftp/StreamInputStream.java,
2173 gnu/java/net/protocol/http/ChunkedInputStream.java,
2174 gnu/java/net/protocol/http/HTTPConnection.java,
2175 gnu/java/net/protocol/http/HTTPURLConnection.java,
2176 gnu/java/net/protocol/http/Headers.java,
2177 gnu/java/net/protocol/http/Request.java,
2178 gnu/java/nio/ChannelInputStream.java,
2179 gnu/java/nio/ChannelOutputStream.java,
2180 gnu/java/nio/InputStreamChannel.java,
2181 gnu/java/nio/OutputStreamChannel.java,
2182 gnu/java/nio/SelectorProviderImpl.java,
2183 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2184 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2185 gnu/java/rmi/dgc/DGCImpl.java,
2186 gnu/java/rmi/registry/RegistryImpl.java,
2187 gnu/java/rmi/server/ProtocolConstants.java,
2188 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2189 gnu/java/rmi/server/RMIIncomingThread.java,
2190 gnu/java/rmi/server/RMIObjectInputStream.java,
2191 gnu/java/rmi/server/RMIObjectOutputStream.java,
2192 gnu/java/rmi/server/RMIVoidValue.java,
2193 gnu/java/rmi/server/UnicastConnectionManager.java,
2194 gnu/java/rmi/server/UnicastRef.java,
2195 gnu/java/rmi/server/UnicastRemoteCall.java,
2196 gnu/java/rmi/server/UnicastRemoteStub.java,
2197 gnu/java/rmi/server/UnicastServerRef.java,
2198 gnu/java/security/OID.java,
2199 gnu/java/security/der/DERReader.java,
2200 gnu/java/security/provider/CollectionCertStoreImpl.java,
2201 gnu/java/security/provider/DSAParameterGenerator.java,
2202 gnu/java/security/provider/DefaultPolicy.java,
2203 gnu/java/security/provider/EncodedKeyFactory.java,
2204 gnu/java/security/provider/GnuDHPublicKey.java,
2205 gnu/java/security/provider/GnuDSAPrivateKey.java,
2206 gnu/java/security/provider/GnuDSAPublicKey.java,
2207 gnu/java/security/provider/GnuRSAPrivateKey.java,
2208 gnu/java/security/provider/GnuRSAPublicKey.java,
2209 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2210 gnu/java/security/provider/RSA.java,
2211 gnu/java/security/provider/SHA1PRNG.java,
2212 gnu/java/security/provider/SHA1withRSA.java,
2213 gnu/java/security/provider/X509CertificateFactory.java,
2214 gnu/java/security/x509/GnuPKIExtension.java,
2215 gnu/java/security/x509/X500DistinguishedName.java,
2216 gnu/java/security/x509/X509CRL.java,
2217 gnu/java/security/x509/X509CRLEntry.java,
2218 gnu/java/security/x509/X509CertPath.java,
2219 gnu/java/security/x509/X509CertSelectorImpl.java,
2220 gnu/java/security/x509/X509Certificate.java,
2221 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2222 gnu/java/security/x509/ext/BasicConstraints.java,
2223 gnu/java/security/x509/ext/CRLNumber.java,
2224 gnu/java/security/x509/ext/CertificatePolicies.java,
2225 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2226 gnu/java/security/x509/ext/Extension.java,
2227 gnu/java/security/x509/ext/GeneralNames.java,
2228 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2229 gnu/java/security/x509/ext/KeyUsage.java,
2230 gnu/java/security/x509/ext/PolicyConstraint.java,
2231 gnu/java/security/x509/ext/PolicyMappings.java,
2232 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2233 gnu/java/security/x509/ext/ReasonCode.java,
2234 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2235 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2236 Reorganized import statements.
2238 2005-04-18 Michael Koch <konqueror@gmx.de>
2240 * gnu/java/awt/color/CieXyzConverter.java,
2241 gnu/java/awt/color/ClutProfileConverter.java,
2242 gnu/java/awt/color/ColorLookUpTable.java,
2243 gnu/java/awt/color/ColorSpaceConverter.java,
2244 gnu/java/awt/color/GrayProfileConverter.java,
2245 gnu/java/awt/color/GrayScaleConverter.java,
2246 gnu/java/awt/color/LinearRGBConverter.java,
2247 gnu/java/awt/color/ProfileHeader.java,
2248 gnu/java/awt/color/PyccConverter.java,
2249 gnu/java/awt/color/RgbProfileConverter.java,
2250 gnu/java/awt/color/SrgbConverter.java,
2251 gnu/java/awt/color/TagEntry.java,
2252 gnu/java/awt/color/ToneReproductionCurve.java:
2253 Standardized file headers.
2255 2005-04-16 Tom Tromey <tromey@redhat.com>
2257 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2258 'ANY' package-private.
2260 2005-04-15 Tom Tromey <tromey@redhat.com>
2262 * Makefile.in: Rebuilt.
2263 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2264 (libgcj0_convenience_la_LIBADD): ... here.
2266 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2268 * gij.cc (version): Properly quote java version.
2269 (main): Fix typo in comment.
2271 2005-04-13 Mark Wielaard <mark@klomp.org>
2273 * java/lang/natRuntime.cc (insertSystemProperties): Set
2274 java.class.path to CLASSPATH if not already set.
2276 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2278 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2280 2005-04-12 Mike Stump <mrs@apple.com>
2282 * configure: Regenerate.
2284 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2287 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2288 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2290 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2293 * scripts/TexinfoDoclet.java: Removed.
2294 * Makefile.am (texinfo): Removed.
2295 * Makefile.in: Regenerated.
2297 2005-04-11 Michael Koch <konqueror@gmx.de>
2299 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2300 Fixed wrong casting.
2302 2005-04-06 Andrew Haley <aph@redhat.com>
2304 * testsuite/libjava.lang/bytearray.java: New file.
2305 * testsuite/libjava.lang/bytearray.out: New file.
2306 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2307 (loadClass): Use it.
2308 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2310 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2312 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2313 gcj-dbtool dependency
2314 * Makefile.in: Regenerated
2316 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2318 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2319 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2321 2005-04-05 Andrew Haley <aph@redhat.com>
2323 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2324 (Tokenizer): New class.
2325 (getFiles): New method.
2326 (main): Add "-" argument.
2328 Read list of files from stdin when merging map databases.
2329 (usage): Add "-" argument.
2333 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2336 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2337 * Makefile.in: Regenerate.
2338 * configure.ac: Add --with-java-home option.
2339 * configure: Regenerate.
2340 * external/Makefile.in: Regenerate.
2341 * external/sax/Makefile.in: Regenerate.
2342 * external/w3c_dom/Makefile.in: Regenerate.
2343 * gcj/Makefile.in: Regenerate.
2344 * include/Makefile.in: Regenerate.
2345 * testsuite/Makefile.in: Regenerate.
2346 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2349 2005-04-05 Tom Tromey <tromey@redhat.com>
2351 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2352 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2353 Rewrote to use _Jv_FindClassFromSignature.
2354 * verify.cc (resolve): throw NoClassDefFoundError.
2355 * link.cc (resolve_field): Throw NoClassDefFoundError.
2356 (find_field): Likewise.
2357 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2358 Handle error cases. Added 'endp' argument.
2359 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2361 2005-04-05 Tom Tromey <tromey@redhat.com>
2363 * Makefile.in: Rebuilt.
2364 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2365 gtk_awt_peer_sources.
2366 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2367 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2368 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2369 (gtk-awt-peer.lo): New target.
2371 2005-04-04 Steve Pribyl <steve@netfuel.com>
2374 * configure.ac: Fix fastjar definition for cross builds.
2375 * configure: Rebuilt.
2377 2005-04-04 Tom Tromey <tromey@redhat.com>
2379 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2380 it was already found.
2382 2005-04-04 Tom Tromey <tromey@redhat.com>
2384 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2385 org.metastatic.jessie.
2387 2005-04-02 Anthony Green <green@redhat.com>
2390 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2392 2005-04-02 Mark Wielaard <mark@klomp.org>
2394 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2395 Attributes and attribute order doesn't matter.
2396 (BasicAttributesEnumeration.where): Initialize to zero.
2397 (BasicAttributesEnumeration.nextElement): Update and compare where
2398 appropriately (zero based).
2400 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2402 PR libgcj/20090, PR libgcj/20526
2403 * gij.cc (nonstandard_opts_help): New function.
2404 (add_option): New function.
2405 (main): Support java options. Set java.class.path. Don't set
2407 * prims.cc (parse_x_arg): New function.
2408 (parse_init_args): Call parse_x_arg for -X and _ options, when
2409 ignoreUnrecognized is true.
2410 (new _Jv_RunMain): New vm_args variant.
2411 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2412 (_Jv_Jar_Class_Path): Remove variable.
2413 * include/java-props.h: Likewise.
2414 * include/cni.h (JvRealloc): New function.
2415 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2416 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2417 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2419 * configure.ac (JV_VERSION): Define.
2420 (JV_API_VERSION): Likewise.
2421 * configure: Regenerate.
2422 * include/config.h.in: Regenerate.
2424 2005-04-01 Mark Anderson <mark@panonet.net>
2426 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2427 -Infinity as parameters.
2429 2005-04-01 Michael Koch <konqueror@gmx.de>
2431 * java/io/PipedInputStream.java
2432 (read): Make sure a positive byte value is returned. Revised javadoc.
2433 Thanks to Olafur Bragason for reporting these bugs.
2435 2005-04-01 Tom Tromey <tromey@redhat.com>
2437 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2438 Updated for name change.
2439 (nativeFindClass): New method.
2440 (loadClass): Use nativeFindClass.
2441 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2443 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2444 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2446 (initialize): New method.
2447 (nativeFindClass): Declare.
2448 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2449 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2450 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2452 (definePackageForNative): Removed.
2453 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2454 Moved to VMClassLoader.java.
2455 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2456 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2457 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2458 removed VMClassLoader.java.
2459 (nat_source_files): Removed natVMClassLoader.cc.
2461 2005-04-01 Tom Tromey <tromey@redhat.com>
2463 * Makefile.in: Rebuilt.
2464 * Makefile.am (db_pathtail): Use $(gcc_version), not
2467 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2469 * java/util/Timer.java
2470 (run): Stop the queue if a task throws an exception.
2472 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2474 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2476 2005-03-29 Ian Lance Taylor <ian@airs.com>
2478 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2479 * external/sax/Makefile.in: Rebuild.
2480 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2482 * external/w3c_dom/Makefile.in: Rebuild.
2484 2005-03-29 Tom Tromey <tromey@redhat.com>
2486 * java/lang/natRuntime.cc (insertSystemProperties): Set
2487 gnu.gcj.runtime.endorsed.dirs.
2488 * Makefile.in: Rebuilt.
2489 * Makefile.am (ordinary_java_source_files): Added
2490 HelperClassLoader.java.
2491 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2492 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2494 (init): Use addDirectoriesFromProperty.
2495 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2496 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2497 gnu.gcj.runtime.endorsed.dirs.
2498 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2500 2005-03-26 Chris Burdess <dog@gnu.org>
2502 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2505 2005-03-13 Michael Koch <konqueror@gmx.de>
2507 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2509 2005-03-11 Chris Burdess <dog@gnu.org>
2511 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2514 2005-02-27 Chris Burdess <dog@gnu.org>
2516 * gnu/xml/aelfred2/JAXPFactory.java,
2517 gnu/xml/aelfred2/SAXDriver.java,
2518 gnu/xml/aelfred2/XmlParser.java,
2519 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2520 formatting conventions. Replaced arrays of Object with struct-like
2521 classes for easier maintainability. Made SAXDriver.stringInterning
2522 package private to allow access from XmlParser inside the loop without
2523 a method call overhead.
2525 2005-03-11 Chris Burdess <dog@gnu.org>
2527 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2530 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2532 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2533 settings to sub Makefiles.
2534 (GCJH, ZIP): Prefix with top_builddir.
2535 * configure: Rebuild.
2536 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2537 * external/w3c_dom/Makefile.in: Rebuild.
2538 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2539 * external/sax/Makefile.in: Rebuild.
2541 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2543 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2544 libsocket to the libraries to link for Solaris.
2546 2005-03-28 Per Bothner <per@bothner.com>
2548 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2549 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2551 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2553 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2554 to fix a ONESTEP fallout.
2555 * Makefile.in: Regenerate.
2557 2005-03-25 Mike Stump <mrs@apple.com>
2559 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2560 paths like we do for the compiler, as we use it in external/sax
2561 and it doesn't get MULTIBUILDTOP right when multilibing.
2563 2005-03-24 Anthony Green <green@redhat.com>
2565 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2567 (usage): Add [LIBDIR] to help output.
2568 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2569 * Makefile.am (AM_CXXFLAGS): Define
2570 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2571 (db_pathtail): New macro.
2573 2005-03-24 Tom Tromey <tromey@redhat.com>
2575 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2576 add sax and w3c libraries.
2577 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2579 * external/w3c_dom/Makefile.in: Rebuilt.
2580 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2582 (libw3c_gcj_la_LDFLAGS): New variable.
2583 (noinst_LTLIBRARIES): Renamed.
2584 * external/sax/Makefile.in: Rebuilt.
2585 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2587 (libsax_gcj_la_LDFLAGS): New variable.
2588 (noinst_LTLIBRARIES): Renamed.
2590 2005-03-23 Tom Tromey <tromey@redhat.com>
2592 * Makefile.in: Rebuilt.
2593 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2594 (libgcj0_convenience_la_SOURCES): Don't include
2595 gnu_xml_source_files.
2596 (libgcj0_convenience_la_LIBADD): New variable.
2597 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2598 (all_java_source_files): javax_imageio_source_files,
2599 javax_xml_source_files, and gnu_java_beans_source_files.
2600 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2601 (gnu-xml.lo): New target.
2602 (javax-imageio.lo): Likewise.
2603 (javax-xml.lo): Likewise.
2604 (gnu-java-beans.lo): Likewise.
2605 (gnu_java_beans_source_files): New variable.
2606 (javax_imageio_source_files): Likewise.
2607 (javax_xml_source_files): Likewise.
2608 (javax_source_files): Moved files to other variable.
2609 (awt_java_source_files): Likewise.
2610 (ordinary_java_source_files): Added BootClassLoader.java.
2611 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2612 not system class loader.
2613 (initBootLoader): New method.
2614 (loadClass): Search bootLoader.
2615 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2616 boot loader, not system class loader.
2617 (_Jv_UnregisterInitiatingLoader): Likewise.
2618 (_Jv_FindClass): Likewise. Ensure entries in
2619 bootstrap_class_list are unique.
2620 * java/lang/natClass.cc (getClassLoader): Don't special case
2621 system class loader.
2622 * java/lang/VMClassLoader.java (bootLoader): New field.
2623 (getResource): Use bootLoader.
2624 (getResources): Likewise.
2625 (initBootLoader): Declare.
2626 * gnu/gcj/runtime/BootClassLoader.java: New file.
2627 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2628 (EMPTY_ENUMERATION): Now package-private.
2629 * external/w3c_com/Makefile.in: Rebuilt.
2630 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2631 (w3c.jar): New target.
2632 (classes.stamp): Updated.
2633 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2634 Changed name of library.
2635 (libw3c_gcj_la_SOURCES): New variable.
2636 (libw3c_gcj_la_GCJFLAGS): Likewise.
2637 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2638 * external/sax/Makefile.in: Rebuilt.
2639 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2640 (sax.jar): New target.
2641 (classes.stamp): Updated.
2642 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2643 Changed name of library.
2644 (libsax_gcj_la_SOURCES): New variable.
2645 (libsax_gcj_la_GCJFLAGS): Likewise.
2646 (source_files): Renamed from libsax_convenience_la_SOURCES.
2647 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2649 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2651 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2653 2005-03-23 Sven de Marothy <sven@physto.se>
2655 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2657 * java/util/Calendar.java
2658 (set): Use starting day of week when one is needed if none is given.
2659 * java/text/SimpleDateFormat.java
2660 (parse): Handle 1-12 and 1-24 timestamps correctly.
2661 * java/util/GregorianCalendar.java
2662 (computeTime, computeFields): HOUR should be in 0-11 format.
2663 (nonLeniencyCheck): Adjust leniency checking to that fact.
2664 (getLinearDay): Should be private.
2666 2005-03-23 Tom Tromey <tromey@redhat.com>
2668 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2669 (_Jv_CheckABIVersion): Use it.
2671 2005-03-22 Mike Stump <mrs@apple.com>
2673 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2675 * include/posix.h: .dylib is used on all Apple MACH platforms.
2676 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2678 2005-03-22 Tom Tromey <tromey@redhat.com>
2680 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2682 2005-03-21 Tom Tromey <tromey@redhat.com>
2684 * java/lang/VMCompiler.java (static block): Also catch
2685 BufferUnderflowException.
2687 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2689 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2690 set tool_include_dir. In all substitutions, leave $(gcc_version)
2691 to be expanded by the Makefile.
2692 * aclocal.m4, configure: Regenerate.
2693 * Makefile.am: Set gcc_version. Replace all uses of
2694 @gcc_version@ with $(gcc_version).
2695 * external/Makefile.am, external/sax/Makefile.am
2696 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2697 * testsuite/Makefile.am: Set gcc_version.
2698 * include/Makefile.am: Set gcc_version and tool_include_dir.
2699 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2700 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2701 * testsuite/Makefile.in: Regenerate.
2703 2005-03-17 Andrew Haley <aph@redhat.com>
2705 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2707 Pass klass to _Jv_StackTrace::GetClassContext().
2708 * java/lang/ClassLoader.java (getParent): Pass class to
2709 VMSecurityManager.getClassContext()
2710 (getSystemClassLoader): Likewise.
2711 * java/lang/Package.java (getPackage): Likewise.
2712 (getPackages): Likewise.
2713 * java/lang/SecurityManager.java (getClassContext): Likewise.
2714 (currentClassLoader): Likewise.
2715 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2716 (currentClassLoader) Add new arg: caller.
2717 Pass caller to VMSecurityManager.getClassContext.
2719 * stacktrace.cc (GetClassContext): Correct calculation of
2722 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2723 im->source_file_name.
2725 2005-03-16 Andrew Haley <aph@redhat.com>
2727 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2729 2005-03-16 Tom Tromey <tromey@redhat.com>
2731 * link.cc (ensure_class_linked): Removed #ifdef.
2732 (print_class_loaded): Likewise.
2733 (wait_for_state): Likewise.
2734 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2735 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2736 * include/java-interp.h: ... here.
2738 2005-03-16 Tom Tromey <tromey@redhat.com>
2740 * gnu/java/lang/MainThread.java (run): Load main class using
2741 system class loader.
2743 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2745 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2746 lgcc_s to the libraries to link for Darwin.
2748 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2750 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2751 interpreter-specific code with #ifdef INTERPRETER.
2752 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2753 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2754 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2755 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2756 #ifdef INTERPRETER. Also protect declarations that use it.
2757 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2758 #ifdef INTERPRETER block.
2760 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2763 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2764 * Makefile.in: Rebuilt.
2766 2005-03-15 David Daney <ddaney@avtrex.com>
2768 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2771 2005-03-15 David Daney <ddaney@avtrex.com>
2773 * java/io/BufferedInputStream.java (available): Use 'in' instead
2774 of 'super' for underlying stream access.
2776 (read(byte[], int, int)): Ditto.
2778 (skip): Call skip on underlying stream when possible.
2780 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2782 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2783 SJLJ_EXCEPTIONS is defined.
2785 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2787 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2790 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2792 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2794 (libjava_arguments): Likewise.
2796 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2797 (gcj_jni_test_one): Likewise.
2798 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2799 Add flags to keep the Darwin linker quiet.
2800 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2801 Add -liconv for Darwin.
2803 2005-03-11 Tom Tromey <tromey@redhat.com>
2805 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2806 (_Jv_CheckABIVersion): Use it.
2808 2005-03-11 Tom Tromey <tromey@redhat.com>
2810 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2811 (usage): Document '-p'.
2812 * Makefile.in: Rebuilt.
2813 * Makefile.am (dbexecdir): New variable.
2814 (db_name): Likewise.
2815 (dbexec_DATA): Likewise.
2816 ($(db_name)): New target.
2817 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2818 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2821 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2823 * exception.cc: Remove stray MethodRef.h include.
2824 * java/lang/natClass.cc: Likewise.
2825 * gnu/gcj/runtime/MethodRef.java: Removed.
2826 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2827 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2828 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2829 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2830 * Makefile.in: Rebuilt.
2832 2005-03-10 Tom Tromey <tromey@redhat.com>
2834 * Makefile.in: Rebuilt.
2835 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2837 2005-03-10 Chris Burdess <dog@bluezoo.org>
2839 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2840 not currently parsing the DTD.
2842 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2844 New Stack Trace infrastructure.
2845 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2846 (gnu/gcj/runtime/StackTrace.java): Removed.
2847 (ordinary_java_source_files): Remove obsolete files.
2848 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2849 * configure.host (fallback_backtrace_h): Set backtrace header
2850 for mingw and cygwin targets.
2851 * configure.ac: Make symlink for fallback backtrace headers.
2852 * Makefile.in, configure: Rebuilt.
2853 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2854 Read 'LineNumberTable' attribute.
2855 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2857 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2859 * exception.cc: Remove unused include.
2860 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2861 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2862 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2863 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2864 table to direct threaded instruction values.
2865 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2866 (_Jv_InterpMethod::run): No longer member function. All
2867 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2868 is made or where an instruction could throw.
2869 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2871 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2872 (catch_fpe): Likewise.
2873 * stacktrace.cc: New file. Stack trace code now here.
2874 * gnu/gcj/runtime/MethodRef.java:
2875 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2876 calls addr2line to look up PC addresses in a given binary or shared
2878 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2879 gnu/gcj/runtime/natStackTrace.cc: Removed.
2880 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2881 this function name is specially recognised by the stack trace code
2882 and shouldn't be changed.
2883 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2884 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2885 (_Jv_InterpMethod::run): Update declaration.
2886 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2888 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2889 * include/java-stack.h: New file. Declarations for stack tracing.
2890 * include/jvm.h (_Jv_Frame_info): Removed.
2891 * java/lang/Class.h: Update friend declarations.
2892 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2894 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2895 (getStackTrace): Now native.
2896 (data): New RawDataManaged field.
2897 * java/lang/natClass.cc: Update includes.
2898 (forName): Use _Jv_StackTrace::GetCallingClass for
2899 calling-classloader check.
2900 (getClassLoader): Likewise.
2901 * java/lang/natRuntime.cc: Update includes.
2902 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2903 * java/lang/natVMSecurityManager.cc: Update includes.
2904 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2905 * java/lang/natVMThrowable.cc: New file. Native methods for
2907 * java/lang/reflect/natArray.cc: Update includes.
2908 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2909 accessibility check.
2910 * java/lang/reflect/natConstructor.cc: Update includes.
2911 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2912 accessibility check.
2913 * java/lang/reflect/natField.cc: Update includes.
2914 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2915 accessibility check.
2916 * java/lang/reflect/natMethod.cc: Update includes.
2917 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2918 accessibility check.
2919 * java/util/natResourceBundle.cc: Update includes.
2920 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2921 * java/util/logging/natLogger.cc: Update includes. Use
2922 _Jv_StackTrace::GetCallerInfo to get call-site info.
2923 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2925 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2928 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2930 * testsuite/libjava.compile/PR20312.java: New file.
2931 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2932 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2934 2005-03-09 Andrew Haley <aph@redhat.com>
2936 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2938 (smallTransferTo): New.
2939 (transferFrom): Loop around smallTransferFrom, copying pageSize
2941 (transferTo): Likewise.
2943 2005-03-09 David Daney <ddaney@avtrex.com>
2946 Merge BufferedInputStream from GNU Classpath.
2947 * java/io/BufferedInputStream.java (marktarget): Field removed.
2948 (CHUNKSIZE): Field removed.
2949 (bufferSize): New field.
2950 (BufferedInputStream): Initialize fields.
2951 (close): Invalidate mark and buffer indexes.
2953 (read()): Move mark handling code to refill.
2954 (read(byte[], int, int)): Ditto.
2955 (skip): Ditto and simplify EOF testing.
2956 (refill): Rewritten.
2957 * java/io/InputStreamReader.java (refill): Removed mark and reset
2958 of internal BufferedInputStream.
2960 2005-03-09 Tom Tromey <tromey@redhat.com>
2962 * java/lang/natVMClassLoader.cc (defineClass): Reference
2963 'systemClassLoader' field directly.
2964 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2966 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2967 Reference 'systemClassLoader' field directly.
2968 (_Jv_UnregisterInitiatingLoader): Likewise.
2969 (_Jv_FindClass): Likewise.
2971 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2973 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2975 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2976 the file in GNU Classpath style.
2978 2005-03-09 Tom Tromey <tromey@redhat.com>
2980 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2981 (toString): Synchronize.
2983 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2985 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2986 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2988 2005-03-07 Tom Tromey <tromey@redhat.com>
2990 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2991 (usage): Document '-f'.
2993 2005-03-07 Tom Tromey <tromey@redhat.com>
2995 * java/lang/VMCompiler.java (md5Digest): New field.
2996 (compileClass): Clone md5Digest instead of looking up a new one.
2998 2005-03-07 Tom Tromey <tromey@redhat.com>
3001 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3002 * link.cc (find_field_helper): Added 'type' argument.
3003 (find_field): Updated.
3005 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3006 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3007 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3008 throw UnsupportedOperationException, fixed comments.
3009 (setFont, setForeground): Fixed comments.
3010 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3011 return type to boolean.
3012 (getNextEvent): Fixed javadocs.
3013 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3014 (nativeQueueEmpty): Removed unused code.
3015 (iterateNativeQueue): Removed outer loop.
3017 2005-03-06 Roger Sayle <roger@eyesopen.com>
3020 * Makefile.am (libgcj0_convenience.la): Revert last change.
3021 * Makefile.in: Regenerate.
3023 2005-03-05 Anthony Green <green@redhat.com>
3025 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3026 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3027 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3028 (_Jv_GetDrawingSurface): Set visualID.
3029 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3030 (JAWT_GetAWT): Set Lock and Unlock.
3031 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3033 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3034 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3035 JAWT_LOCK_SURFACE_CHANGED): New macros.
3036 (struct _JAWT): Add Lock and Unlock.
3038 2005-03-05 Roger Sayle <roger@eyesopen.com>
3039 Alexandre Oliva <aoliva@redhat.com>
3040 Kelley Cook <kcook@gcc.gnu.org>
3043 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3044 of the object files to link to avoid exceeding the command line
3045 length limits on some platforms.
3046 (clean-local): Clean up objectlist files.
3047 * Makefile.in: Regenerate.
3049 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3051 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3052 spec_case. Initialize pointer mlo.
3054 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3057 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3059 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3062 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3063 uninitialized variable z.
3065 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3066 possible unused variables.
3068 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3070 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3072 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3075 * testsuite/libjava.jni/jni.exp
3076 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3078 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3080 2005-02-23 David Daney <ddaney@avtrex.com>
3082 * configure.host: Don't use -mxgot for MIPS builds.
3084 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3087 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3088 (COMPPATH): Removed.
3089 (ZIP, GCJH): Replace it with ../$(host_subdir).
3090 (built_gcc_dir): Add $(host_subdir).
3091 * configure: Regenerate.
3092 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3093 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3094 external/w3c_dom/Makefile.in: Regenerate.
3096 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3098 * java/awt/font/TextAttribute.java: changed names to lower case;
3099 (readResolve): implemented.
3100 Added doc comments all over.
3102 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3105 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3106 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3107 value. Move argument parsing code to prims.cc.
3108 * prims.cc (no_properties): Remove.
3109 (_Jv_Compiler_Properties): Initialize to NULL.
3110 (_Jv_Properties_Count): Initialize to 0.
3111 (parse_verbose_args): New function.
3112 (parse_init_args): New function.
3113 (_Jv_CreateJavaVM): Call parse_init_args.
3114 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3115 * gcj/cni.h (JvVMOption): New struct.
3116 (JvVMInitArgs): Likewise.
3117 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3119 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3120 (_Jv_VMInitArgs): Likewise.
3121 * include/java-props.h (_Jv_Properties_Count): Declare.
3122 * java/lang/natRuntime.cc (insertSystemProperties): Use
3123 _Jv_Properties_Count in for loop exit condition.
3124 * testsuite/libjava.jni/jni.exp
3125 (gcj_invocation_compile_c_to_binary): New procedure.
3126 (gcj_invocation_test_one): Likewise.
3127 (gcj_jni_run): Run JNI invocation API tests.
3128 * testsuite/libjava.jni/invocation/PR16923.c,
3129 testsuite/libjava.jni/invocation/PR16923.java,
3130 testsuite/libjava.jni/invocation/PR16923.out: New test.
3132 2005-02-23 Michael Koch <konqueror@gmx.de>
3134 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3135 * Makefile.in: Regenerated.
3137 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3139 * gnu/java/nio/ChannelReader: Fixed comments.
3141 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3143 * java/nio/channels/Channels: Added FIXMEs about
3144 stub method implementation.
3145 (newReader): Implemented.
3146 * gnu/java/nio/ChannelReader: New class.
3148 2005-02-23 Michael Koch <konqueror@gmx.de>
3150 * java/text/SimpleDateFormat.java:
3151 Removed unused import.
3153 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3156 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3157 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3158 * Makefile.in: Regenerate.
3159 * configure.ac: Check for libXtst.
3160 * configure: Regenerate.
3162 2005-02-22 Mark Wielaard <address@bogus.example.com>
3164 * java/security/AlgorithmParameterGenerator.java (getInstance):
3165 Mention provider when throwing NoSuchProviderException.
3166 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3167 * java/security/KeyFactory.java (getInstance): Likewise.
3168 * java/security/KeyStore.java (getInstance): Likewise.
3169 * java/security/SecureRandom.java (getInstance): Likewise.
3170 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3172 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3174 * java/lang/reflect/Proxy.java,
3176 java/security/SecureRandom.java,
3177 java/util/Timer.java,
3178 java/util/prefs/AbstractPreferences.java:
3179 Don't catch java.lang.ThreadDeath.
3181 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3183 * java/awt/font/TransformAttribute.java,
3184 (TransformAttribute(AffineTransform)): throw
3185 IllegalArgumentException for null transform.
3186 (getTransform): return a copy of transform.
3187 Added doc comments to all.
3189 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3191 * java/io/Externalizable.java,
3192 java/io/Serializable.java
3193 (serialVersionUID): Removed.
3194 * java/rmi/server/RemoteObject.java,
3195 java/rmi/server/UID.java
3196 (serialVersionUID): Made private.
3197 * java/rmi/server/RemoteRef.java,
3198 java/rmi/server/ServerRef.java
3199 (serialVersionUID): Set proper value.
3200 * java/security/interfaces/DSAPrivateKey.java,
3201 java/security/interfaces/DSAPublicKey.java,
3202 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3203 java/security/interfaces/RSAPrivateCrtKey.java,
3204 java/security/interfaces/RSAPrivateKey.java,
3205 java/security/interfaces/RSAPublicKey.java,
3206 javax/crypto/SecretKey.java
3207 (serialVersionUID): Added.
3209 2005-02-22 Tom Tromey <tromey@redhat.com>
3211 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3213 2005-02-22 Tom Tromey <tromey@redhat.com>
3216 * verify.cc (type::EITHER): New constant.
3217 (check_field_constant): Use it.
3218 (type::compatible): Handle it.
3220 2005-02-22 Michael Koch <konqueror@gmx.de>
3222 * gnu/java/security/PolicyFile.java,
3223 gnu/java/security/pkcs/PKCS7SignedData.java,
3224 gnu/java/security/pkcs/SignerInfo.java:
3225 Fixed copyright header.
3227 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3229 * java/beans/PropertyDescriptor.java
3230 (PropertyDescriptor,setReadMethod): Set propertyType.
3232 2005-02-22 Michael Koch <konqueror@gmx.de>
3234 * java/nio/DirectByteBufferImpl.java
3235 (owner): Fixed formatting of javadoc.
3236 * java/text/DateFormat.java
3237 (getAvailableLocales): Fixed formatting.
3238 * java/text/SimpleDateFormat.java:
3239 Fixed formatting and import statement order.
3240 * java/util/Calendar.java
3241 (Calendar): Fixed javadoc to be HTML compliant.
3242 * java/util/SimpleTimeZone.java:
3245 2005-02-22 Roman Kennke <roman@ontographics.com>
3247 * javax/swing/plaf/basic/BasicLookAndFeel.java
3248 (initComponentDefaults): Fixed Button left and right margin.
3250 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3252 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3256 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3257 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3258 (getWidth): New method.
3259 (getHeight): Likewise.
3260 (create): Remove width, height and insets parameters. Move size
3262 (realize_cb): ... here. New function.
3263 (connectSignals): Connect realize_cb.
3264 (request_frame_extents): Remove FIXME. Move
3265 postInsetsChangedEvent lookup ...
3266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3267 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3268 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3270 (windowGetWidthID): Likewise.
3271 (windowGetHeightID): Likewise.
3273 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3277 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3279 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3281 Merge serialization from GNU Classpath.
3282 * gcj/method.h: Add missing #includes.
3283 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3284 primitive class IDs on the stream here...
3285 (resolveClass): ...not here.
3286 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3288 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3289 setLongNative, setIntNative, setShortNative, setCharNative,
3290 setByteNative, setBooleanNative, setObjectNative): New native methods.
3291 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3292 setLongNative, setIntNative, setShortNative, setCharNative,
3293 setByteNative, setBooleanNative, setObjectNative): Implement them.
3294 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3295 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3296 the constructor here.
3297 (callConstructor): Removed.
3298 (getCallersClassLoader): Removed.
3299 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3300 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3301 to control whether setting final field values is permitted. Call
3302 getAddr() with checkFinal parameter instead of setAddr().
3303 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3304 only if not done already.
3305 (getAddr): Add checkFinal parameter. Do the final field check only if
3309 2005-02-21 Mark Wielaard <mark@klomp.org>
3312 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3315 2005-02-21 Mark Wielaard <mark@klomp.org>
3318 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3319 without a super class and us ObjectStreamClass.lookupForClassObject().
3320 (resolveClass): Check for primitive types.
3321 (lookupClass): Return null when argument is null.
3323 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3325 * java/io/ObjectInputStream.java
3326 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3328 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3330 * java/io/ObjectOutputStream.java
3331 (writeObject, callWriteMethod): Replaced reflection with accessing
3332 cached info in ObjectStreamClass.
3333 (getMethod): Removed.
3334 * java/io/ObjectStreamClass.java
3335 (findMethod): Added check to make sure the method found has the
3337 (cacheMethods): Added writeReplace and writeObject methods.
3338 (setFlags): Look at new writeObjectMethod field instead of doing
3340 (writeReplaceMethod): New field.
3341 (writeObjectMethod): New field.
3343 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3344 Jeroen Frijters <jeroen@frijters.net>
3346 * java/io/ObjectInputStream.java
3347 (newObject): Changed prototype. Get a constructor reflect object
3349 (callConstructor): Removed.
3350 (allocateObject): Changed prototype.
3351 (readClassDescriptor): Build the constructor reflection directly.
3352 (readObject): Invoke newObject using the new prototype.
3354 * java/io/ObjectStreamClass.java
3355 (firstNonSerializableParent): Removed.
3356 (firstNonSerializableParentConstructor): Added.
3358 2005-02-21 Mark Wielaard <mark@klomp.org>
3360 * gnu/java/locale/LocaleInformation_en.java: Extend
3361 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3363 2005-02-21 Mark Wielaard <mark@klomp.org>
3365 * java/text/SimpleDateFormat.java
3366 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3367 NullPointerException when formatData is null.
3369 2005-02-21 Mark Wielaard <mark@klomp.org>
3371 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3372 taking dstSavings into account.
3374 2005-02-21 Sven de Marothy <sven@physto.se>
3376 * java/text/SimpleDateFormat.java,
3377 (parse): Set correct DST_OFFSET to the correct value.
3379 2005-02-21 Mark Wielaard <mark@klomp.org>
3381 * java/util/SimpleTimeZone.java (checkRule): Throw
3382 IllegalArgumentException when month out of range.
3384 2005-02-21 Sven de Marothy <sven@physto.se>
3386 * java/util/GregorianCalendar.java,
3387 (add): Don't set fields directly anymore. Use set()
3389 2005-02-21 Mark Wielaard <mark@klomp.org>
3391 * java/text/SimpleDateFormat.java (CompiledField.toString):
3392 Use StringBuffer, not StringBuilder.
3393 (toString): Likewise.
3395 2005-02-21 Sven de Marothy <sven@physto.se>
3397 * java/util/Calendar.java
3398 (clear): Dates should clear to local time.
3399 * java/util/GregorianCalendar.java
3400 (computeTime): Fix priority problem with DAY_OF_WEEK,
3401 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3403 2005-02-21 Sven de Marothy <sven@physto.se>
3405 * java/util/Calendar.java
3406 (Calendar): Constructor should clear fields.
3408 2005-02-21 Sven de Marothy <sven@physto.se>
3410 * java/text/SimpleDateFormat.java
3411 (parse): Tweak handling of 2-year dates
3412 * java/util/Calendar.java
3413 (clear): Clear fields to correct value.
3414 * java/util/GregorianCalendar.java
3415 (computeTime): Correct handling of time zones.
3416 Correct field minimum values.
3418 2005-02-21 Sven de Marothy <sven@physto.se>
3420 * java/util/Calendar.java
3421 (set) Invalidate all fields on first call to set().
3423 2005-02-21 Sven de Marothy <sven@physto.se>
3425 * java/util/GregorianCalendar.java
3426 (computeTime): Fixed handling of time zones.
3428 2005-02-21 Sven de Marothy <sven@physto.se>
3430 * java/util/Calendar.java
3431 (clear): Set values to Epoch instead of zero.
3432 (set): Set isSet to the relevant field pattern instead of just
3434 * java/util/GregorianCalendar.java
3435 (getBundle): Removed.
3436 (getDayOfYear): Removed.
3437 (getFirstDayOfMonth): New private method.
3438 (nonLeniencyCheck): New private method.
3439 (computeTime): Correct handling of insufficient data.
3441 2005-02-21 Sven de Marothy <sven@physto.se>
3443 * java/util/Calendar.java: Invalidate ERA field on setting
3445 * java/util/SimpleTimeZone.java:
3446 (getDaysInMonth): Reimplemented.
3447 * java/util/GregorianCalendar.java:
3448 (getLinearTime): Removed.
3449 (isLeapYear(int,boolean)): Removed.
3450 (before(), after()): Removed.
3451 (computeTime): Reimplemented.
3453 2005-02-21 Sven de Marothy <sven@physto.se>
3455 * java/util/Calendar.java: Reformatted.
3456 * java/util/GregorianCalendar.java: Reformatted.
3457 * java/util/SimpleTimeZone.java: Reformatted.
3459 2005-02-21 Sven de Marothy <sven@physto.se>
3461 * java/util/GregorianCalendar.java
3462 (GregorianCalendar): Update fields in the constructor
3464 2005-02-21 Noa Resare <noa@resare.com>
3466 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3467 (set(int,int)): Set and use new field.
3468 (set(int,int,int)): Check new field.
3470 2005-02-21 Noa Resare <address@hidden>
3472 * java/util/Calendar.java(set):
3473 Fix for DST related regression.
3475 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3477 * java/util/Calendar.java
3478 (setTimeInMillis): Added call to clear, removed computeFields call.
3479 * java/util/Date.java
3480 (Date(int,int,int,int,int,int)): Removed workaround for
3481 GregorianCalendar bug.
3482 * java/util/GregorianCalendar.java
3483 (GregorianCalendar): Chained all constructors to a (new)
3485 (computeTime): Fixed support for lenient month treatment.
3486 (getLinearDay): Return long instead of int.
3487 (calculateDay): Added fields argument and changed day argument
3490 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3492 * java/text/SimpleDateFormat.java
3493 Lots of documentation updates.
3494 (readObject(java.io.ObjectInputStream)): Wraps
3495 IllegalArgumentException as specified.
3496 (compileFormat(String)): Uses standardChars
3497 rather than the local pattern characters.
3498 Throws IllegalArgumentException rather than
3500 (toString()): Extended to include all variables
3502 (translateLocalizedPattern(String, String, String)):
3503 Renamed to better define the use of this method.
3505 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3507 * java/text/DateFormat.java:
3508 Documented pattern character offset constants and
3510 (Field): Added new static fields for new pattern chars.
3511 * java/text/SimpleDateFormat.java:
3512 (CompiledField): Changed name of FieldSizePair class
3513 to CompiledField after adding the character as an
3514 attribute. Changed fields to private and added
3515 accessors to give encapsulation.
3516 (CompiledField.CompiledField(int,int,char)): Extended
3517 with character field.
3518 (CompiledField.getField()): New accessor method.
3519 (CompiledField.getSize()): New acceessor method.
3520 (CompiledField.getCharacter()): New accessor method.
3521 (CompiledField.toString()): Added primarily for debugging.
3522 (standardChars): Now uses extended 24 character sequence.
3523 (compileFormat(String)): Changed to use CompiledField.
3524 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3525 java.text.FieldPosition)): Changed to use CompiledField.
3526 New handler for RFC 822 timezones added.
3528 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3530 * java/text/SimpleDateFormat.java:
3531 (parse(String, java.text.ParsePosition)):
3532 Changed 'E' and 'M' cases to use both
3533 short and long names. Extended 'z'
3534 case to also handle 'Z', and deal
3535 with simple GMT offsets such as +0100.
3536 (computeOffset(String)): New private method,
3537 which converts a GMT offset specification,
3538 such as GMT-0500 to a numeric offset in
3540 * java/util/TimeZone.java:
3541 (timezones()): Added "CEST", the daylight
3542 savings time version of "CET", or Central
3545 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3547 * java/text/SimpleDateFormat.java:
3548 (parse): Set the DST offset to 0 when parsing
3549 GMT offset timezones.
3551 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3553 * java/text/SimpleDateFormat.java:
3554 (parse): Use offset to set ZONE_OFFSET
3555 rather than the DST_OFFSET, so that
3556 GMT offset timezones change the right
3559 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3561 * java/text/SimpleDateFormat.java:
3562 (getDateFormatSymbols()): return a copy
3563 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3564 throw exception on null input
3565 (clone()): implemented to clone
3568 2005-02-21 Sven de Marothy <sven@physto.se>
3570 * java/text/SimpleDateFormat.java
3571 (parse): comparison should be case-insensitive, ignore null
3574 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3576 * gnu/java/beans/IntrospectionIncubator.java
3577 (addMethod) Reverts the patch that ntroduced a regression (see bug
3578 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3580 2005-02-21 Michael Koch <konqueror@gmx.de>
3582 * java/awt/Checkbox.java
3583 (next_checkbox_number): New static variable.
3584 (generateName): New method.
3585 (getUniqueLong): Likewise.
3586 * java/awt/Window.java
3587 (next_window_number): New static variable.
3588 (generateName): New method.
3589 (getUniqueLong): Likewise.
3591 2005-02-21 Mark Wielaard <mark@klomp.org>
3593 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3596 2005-02-21 Andrew Haley <aph@redhat.com>
3598 * Makefile.in: Rebuilt.
3599 * Makefile.am (nat_source_files): Added natLogger.cc.
3600 * java/util/logging/natLogger.cc: New file.
3601 * java/util/logging/Logger.java (getCallerStackFrame): Now
3604 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3606 * Makefile.am (all_property_files): Remove left over.
3607 (classes.stamp): Add stamp for the ONESTEP build, also known as
3608 --enable-libgcj-multifile.
3609 * Makefile.in: Regenerated.
3611 2005-02-21 Michael Koch <konqueror@gmx.de>
3613 * java/awt/Button.java,
3614 java/awt/Container.java,
3616 java/awt/Frame.java,
3617 java/text/CollationElementIterator.java,
3618 java/text/RuleBasedCollator.java,
3619 java/util/PropertyPermission.java:
3620 Fixed formatting issues all over.
3622 2005-02-21 Mark Wielaard <mark@klomp.org>
3624 * java/io/FileDescriptor.java (sync): Add real exception to
3625 SyncFailedException.
3627 2005-02-21 Michael Koch <konqueror@gmx.de>
3629 * java/io/InputStreamReader.java:
3632 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3635 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3637 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3639 * libraries/javalib/gnu/regexp/RE.java,
3640 libraries/javalib/java/io/ObjectInputStream.java,
3641 libraries/javalib/java/security/AllPermission.java,
3642 libraries/javalib/java/security/BasicPermission.java,
3643 libraries/javalib/java/security/Permissions.java,
3644 libraries/javalib/java/text/MessageFormat.java:
3645 Made 'inner' classes real public static inner classes,
3646 and made them final where possible, or removed them
3649 2005-02-20 Michael Koch <konqueror@gmx.de>
3651 * gnu/java/text/FormatCharacterIterator.java:
3652 Removed redundant modifiers.
3654 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3656 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3659 2005-02-19 Michael Koch <konqueror@gmx.de>
3661 * Makefile.am: Added new files in gnu/java/beans and
3662 java/beans/XMLDecoder.java.
3663 * Makefile.in: Regenerated.
3665 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3667 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3668 assignment behavior by using java.lang.reflect.Array.set()
3671 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3673 * gnu/java/beans/EmptyBeanInfo.java,
3674 gnu/java/beans/info/ComponentBeanInfo.java:
3675 Removed unused files.
3677 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3679 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3680 of AppletStub for java.beans.Beans.instantiate.
3681 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3683 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3684 to be conformant with Javadoc guidelines.
3685 (instantiate): Added two more overloaded variants, reworked user
3686 documentation, fixed exception behavior, fixed behavior when
3689 2005-02-19 Mark Wielaard <mark@klomp.org>
3691 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3693 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3695 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3697 * gnu/java/beans/decoder/AbstractContext.java,
3698 gnu/java/beans/decoder/AbstractCreatableContext.java,
3699 gnu/java/beans/decoder/AbstractElementHandler.java,
3700 gnu/java/beans/decoder/AbstractObjectContext.java,
3701 gnu/java/beans/decoder/ArrayContext.java,
3702 gnu/java/beans/decoder/ArrayHandler.java,
3703 gnu/java/beans/decoder/AssemblyException.java,
3704 gnu/java/beans/decoder/BooleanHandler.java,
3705 gnu/java/beans/decoder/ByteHandler.java,
3706 gnu/java/beans/decoder/CharHandler.java,
3707 gnu/java/beans/decoder/ClassHandler.java,
3708 gnu/java/beans/decoder/ConstructorContext.java,
3709 gnu/java/beans/decoder/Context.java,
3710 gnu/java/beans/decoder/DecoderContext.java,
3711 gnu/java/beans/decoder/DefaultExceptionListener.java,
3712 gnu/java/beans/decoder/DoubleHandler.java,
3713 gnu/java/beans/decoder/DummyContext.java,
3714 gnu/java/beans/decoder/DummyHandler.java,
3715 gnu/java/beans/decoder/ElementHandler.java,
3716 gnu/java/beans/decoder/FloatHandler.java,
3717 gnu/java/beans/decoder/GrowableArrayContext.java,
3718 gnu/java/beans/decoder/IndexContext.java,
3719 gnu/java/beans/decoder/IntHandler.java,
3720 gnu/java/beans/decoder/JavaHandler.java,
3721 gnu/java/beans/decoder/LongHandler.java,
3722 gnu/java/beans/decoder/MethodContext.java,
3723 gnu/java/beans/decoder/MethodFinder.java,
3724 gnu/java/beans/decoder/NullHandler.java,
3725 gnu/java/beans/decoder/ObjectContext.java,
3726 gnu/java/beans/decoder/ObjectHandler.java,
3727 gnu/java/beans/decoder/PersistenceParser.java,
3728 gnu/java/beans/decoder/PropertyContext.java,
3729 gnu/java/beans/decoder/ShortHandler.java,
3730 gnu/java/beans/decoder/SimpleHandler.java,
3731 gnu/java/beans/decoder/StaticMethodContext.java,
3732 gnu/java/beans/decoder/StringHandler.java,
3733 gnu/java/beans/decoder/VoidHandler.java: New class
3734 implementing java.beans.XMLDecoder decoding functionality.
3735 * java/beans/XMLDecoder.java: New class.
3737 2005-02-19 Michael Koch <konqueror@gmx.de>
3739 * javax/swing/JTextField.java
3740 (notfiyAction): Added javadoc.
3742 2005-02-19 Sven de Marothy <sven@physto.se>
3744 * javax/swing/SpinnerDateModel.java: Implemented.
3746 2005-02-19 Michael Koch <konqueror@gmx.de>
3748 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3749 * Makefile.in: Regenerated.
3751 2005-02-19 Michael Koch <konqueror@gmx.de>
3753 * gnu/java/nio/SelectorImpl.java:
3754 Reworked import statements.
3755 (register): Removed unused code.
3756 * java/nio/channels/Channels.java: Reformatted.
3757 * java/nio/charset/Charset.java: Likewise.
3758 * java/rmi/server/RemoteObject.java
3759 (serialVersionUID): Made private.
3760 * java/rmi/server/UID.java
3761 (serialVersionUID): Likewise.
3763 2005-02-19 Michael Koch <konqueror@gmx.de>
3765 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3766 gnu/java/net/protocol/ftp/BlockInputStream.java,
3767 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3768 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3769 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3770 gnu/java/net/protocol/ftp/DTPInputStream.java,
3771 gnu/java/net/protocol/ftp/DTP.java,
3772 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3773 gnu/java/net/protocol/ftp/FTPConnection.java,
3774 gnu/java/net/protocol/ftp/FTPException.java,
3775 gnu/java/net/protocol/ftp/FTPResponse.java,
3776 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3777 gnu/java/net/protocol/ftp/Handler.java,
3778 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3779 gnu/java/net/protocol/ftp/StreamInputStream.java,
3780 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3781 gnu/java/net/CRLFInputStream.java,
3782 gnu/java/net/CRLFOutputStream.java,
3783 gnu/java/net/GetLocalHostAction.java,
3784 gnu/java/net/protocol/ftp/package.html: New files.
3785 * Makefile.am: Added new files.
3786 * Makefile.in: Regenerated.
3788 2005-02-18 Tom Tromey <tromey@redhat.com>
3790 * link.cc (make_vtable): Remove abstract method check.
3791 (append_partial_itable): Likewise.
3794 * verify.cc (type::equals): Fixed test.
3795 * testsuite/libjava.lang/PR20056.out: New file.
3796 * testsuite/libjava.lang/PR20056.java: New file.
3798 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3800 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3801 not the HashEntry. Reported by Jean-Marie White.
3803 2005-02-18 Tom Tromey <tromey@redhat.com>
3806 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3807 * link.cc (has_field_p): New function.
3808 * verify.cc (check_field_constant): Added 'putfield' argument.
3809 (verify_instructions_0): Updated.
3810 (type::equals): New method.
3812 2005-02-18 Anthony Green <green@redhat.com>
3814 * NEWS: Draft of libgcj NEWS for 4.0.
3816 2005-02-18 Anthony Green <green@redhat.com>
3818 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3819 architecture names to "i386" for compatibility reasons. Win32
3822 2005-02-18 Anthony Green <green@redhat.com>
3824 * gij.cc (version): Change year for '--version' to 2005.
3825 * gnu/gcj/convert/Convert.java: Ditto.
3826 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3827 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3829 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3830 recent copyright year in `--version' output.
3832 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3834 * java/nio/charset/Charset.java (forName): Throws
3835 IllegalArgumentException when argument is null
3836 and added documentation.
3838 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3840 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3841 Move the position of the source buffer forward.
3843 2005-02-17 Tom Tromey <tromey@redhat.com>
3845 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3846 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3847 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3848 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3849 Changed type of second argument. Rewrote.
3850 (make_vtable): Use it.
3851 (append_partial_itable): Updated.
3852 (layout_vtable_methods): Updated.
3854 2005-02-17 Michael Koch <konqueror@gmx.de>
3856 * gnu/java/net/PlainSocketImpl.java
3857 (shutdownInput): Added javadoc.
3858 (shutdownOutput): Likewise.
3860 2005-02-17 Michael Koch <konqueror@gmx.de>
3862 * javax/print/attribute/standard/Chromaticity.java,
3863 javax/print/attribute/standard/Destination.java,
3864 javax/print/attribute/standard/MediaPrintableArea.java,
3865 javax/print/attribute/standard/MediaSize.java: New files.
3866 * Makefile.am: Added new files.
3867 * Makefile.in: Regenerated.
3869 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3870 Michael Koch <konqueror@gmx.de>
3872 * gnu/java/net/protocol/http/Cookie.java,
3873 gnu/java/net/protocol/http/HTTPConnection.java,
3874 gnu/java/net/protocol/http/HTTPDateFormat.java,
3875 gnu/java/net/protocol/http/Request.java,
3876 gnu/java/nio/PipeImpl.java,
3877 gnu/java/rmi/dgc/DGCImpl.java,
3878 gnu/java/rmi/server/ConnectionRunnerPool.java,
3879 gnu/java/rmi/server/UnicastConnectionManager.java,
3880 gnu/java/security/der/DERWriter.java,
3881 gnu/java/security/pkcs/SignerInfo.java,
3882 gnu/java/security/provider/EncodedKeyFactory.java,
3883 gnu/java/security/provider/GnuDHPublicKey.java,
3884 gnu/java/security/provider/GnuDSAPrivateKey.java,
3885 gnu/java/security/provider/GnuDSAPublicKey.java,
3886 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3887 gnu/java/security/x509/X500DistinguishedName.java,
3888 gnu/java/security/x509/X509CRL.java,
3889 gnu/java/security/x509/X509CRLEntry.java,
3890 gnu/java/security/x509/X509Certificate.java,
3891 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3892 gnu/java/security/x509/ext/CertificatePolicies.java,
3893 gnu/java/security/x509/ext/PolicyConstraint.java,
3894 gnu/xml/dom/Consumer.java,
3895 gnu/xml/dom/DomCharacterData.java,
3896 gnu/xml/dom/DomDocument.java,
3897 gnu/xml/dom/DomDocumentBuilder.java,
3898 gnu/xml/dom/DomIterator.java,
3899 gnu/xml/dom/DomNode.java,
3900 gnu/xml/dom/DomXPathExpression.java,
3901 gnu/xml/dom/DomXPathResult.java,
3902 gnu/xml/dom/JAXPFactory.java,
3903 gnu/xml/pipeline/CallFilter.java,
3904 gnu/xml/pipeline/DomConsumer.java,
3905 gnu/xml/pipeline/LinkFilter.java,
3906 gnu/xml/pipeline/NSFilter.java,
3907 gnu/xml/pipeline/TeeConsumer.java,
3908 gnu/xml/pipeline/ValidationConsumer.java,
3909 gnu/xml/pipeline/WellFormednessFilter.java,
3910 gnu/xml/pipeline/XIncludeFilter.java,
3911 gnu/xml/pipeline/XsltFilter.java,
3912 gnu/xml/transform/ApplyImportsNode.java,
3913 gnu/xml/transform/Bindings.java,
3914 gnu/xml/transform/DocumentFunction.java,
3915 gnu/xml/transform/FormatNumberFunction.java,
3916 gnu/xml/transform/NodeNumberNode.java,
3917 gnu/xml/transform/NumberNode.java,
3918 gnu/xml/transform/Stylesheet.java,
3919 gnu/xml/transform/SystemPropertyFunction.java,
3920 gnu/xml/transform/Template.java,
3921 gnu/xml/transform/TemplatesImpl.java,
3922 gnu/xml/transform/TransformerImpl.java,
3923 gnu/xml/transform/ValueOfNode.java,
3924 gnu/xml/transform/XSLURIResolver.java,
3925 gnu/xml/util/DoParse.java,
3926 gnu/xml/util/Resolver.java,
3927 gnu/xml/xpath/Expr.java,
3928 gnu/xml/xpath/FunctionCall.java,
3929 gnu/xml/xpath/RelationalExpr.java,
3930 gnu/xml/xpath/Selector.java,
3931 gnu/xml/xpath/XPathParser.java:
3932 Reworked import statements, fixed modifier order and some little
3935 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3937 * java/nio/ByteBufferImpl.java (compact):
3938 Set position and limit even if no bytes were moved.
3940 2005-02-17 Michael Koch <konqueror@gmx.de>
3942 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3943 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3944 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3945 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3946 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3947 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3948 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3949 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3950 * java/nio/FloatBufferImpl.java (compact): Set position.
3951 * java/nio/CharBufferImpl.java (compact): Likewise.
3952 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3953 * java/nio/IntBufferImpl.java (compact): Likewise.
3954 * java/nio/LongBufferImpl.java (compact): Likewise.
3955 * java/nio/ShortBufferImpl.java (compact): Likewise.
3957 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3959 * java/nio/ByteBufferImpl.java,
3960 java/nio/CharBufferImpl.java,
3961 java/nio/DirectByteBufferImpl.java,
3962 java/nio/DoubleBufferImpl.java,
3963 java/nio/FloatBufferImpl.java,
3964 java/nio/IntBufferImpl.java,
3965 java/nio/LongBufferImpl.java,
3966 java/nio/MappedByteBufferImpl.java,
3967 java/nio/ShortBufferImpl.java
3968 (compact): Added explicit read-only check and invalidate mark.
3970 2005-02-17 Michael Koch <konqueror@gmx.de>
3972 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3973 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3974 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3975 gnu/java/awt/peer/gtk/GdkGraphics.java,
3976 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3977 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3978 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3979 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3980 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3981 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3982 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3983 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3984 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3985 gnu/java/awt/peer/gtk/GtkClipboard.java,
3986 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3987 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3988 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3989 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3990 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3991 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3992 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3993 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3994 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3995 gnu/java/awt/peer/gtk/GtkToolkit.java,
3996 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3997 java/applet/Applet.java,
3998 java/awt/AWTError.java,
3999 java/awt/AWTEvent.java,
4000 java/awt/AWTEventMulticaster.java,
4001 java/awt/AWTException.java,
4002 java/awt/AWTKeyStroke.java,
4003 java/awt/AWTPermission.java,
4004 java/awt/ActiveEvent.java,
4005 java/awt/Adjustable.java,
4006 java/awt/AlphaComposite.java,
4007 java/awt/AttributeValue.java,
4008 java/awt/BorderLayout.java,
4009 java/awt/BufferCapabilities.java,
4010 java/awt/Button.java,
4011 java/awt/Canvas.java,
4012 java/awt/CheckboxGroup.java,
4013 java/awt/CheckboxMenuItem.java,
4014 java/awt/Color.java,
4015 java/awt/ColorPaintContext.java,
4016 java/awt/Component.java,
4017 java/awt/ComponentOrientation.java,
4018 java/awt/Composite.java,
4019 java/awt/CompositeContext.java,
4020 java/awt/Container.java,
4021 java/awt/ContainerOrderFocusTraversalPolicy.java,
4022 java/awt/DefaultFocusTraversalPolicy.java,
4023 java/awt/Dialog.java,
4024 java/awt/Dimension.java,
4025 java/awt/DisplayMode.java,
4026 java/awt/EventQueue.java,
4027 java/awt/FileDialog.java,
4028 java/awt/FontFormatException.java,
4029 java/awt/Graphics.java,
4030 java/awt/Graphics2D.java,
4031 java/awt/GraphicsConfigTemplate.java,
4032 java/awt/GraphicsConfiguration.java,
4033 java/awt/GraphicsDevice.java,
4034 java/awt/GridBagLayout.java,
4035 java/awt/GridBagLayoutInfo.java,
4036 java/awt/GridLayout.java,
4037 java/awt/HeadlessException.java,
4038 java/awt/IllegalComponentStateException.java,
4039 java/awt/Image.java,
4040 java/awt/Insets.java,
4041 java/awt/ItemSelectable.java,
4042 java/awt/JobAttributes.java,
4043 java/awt/KeyEventDispatcher.java,
4044 java/awt/KeyEventPostProcessor.java,
4045 java/awt/KeyboardFocusManager.java,
4046 java/awt/Label.java,
4047 java/awt/LayoutManager.java,
4048 java/awt/MenuBar.java,
4049 java/awt/MenuComponent.java,
4050 java/awt/MenuContainer.java,
4051 java/awt/PageAttributes.java,
4052 java/awt/Paint.java,
4053 java/awt/PaintContext.java,
4054 java/awt/Panel.java,
4055 java/awt/Point.java,
4056 java/awt/Polygon.java,
4057 java/awt/PrintGraphics.java,
4058 java/awt/PrintJob.java,
4059 java/awt/Rectangle.java,
4060 java/awt/RenderingHints.java,
4061 java/awt/Shape.java,
4062 java/awt/Stroke.java,
4063 java/awt/SystemColor.java,
4064 java/awt/Toolkit.java,
4065 java/awt/Transparency.java,
4066 java/awt/Window.java,
4067 java/awt/color/CMMException.java,
4068 java/awt/color/ColorSpace.java,
4069 java/awt/color/ICC_ColorSpace.java,
4070 java/awt/color/ICC_Profile.java,
4071 java/awt/color/ProfileDataException.java,
4072 java/awt/datatransfer/FlavorTable.java,
4073 java/awt/datatransfer/MimeTypeParseException.java,
4074 java/awt/datatransfer/Transferable.java,
4075 java/awt/datatransfer/UnsupportedFlavorException.java,
4076 java/awt/dnd/Autoscroll.java,
4077 java/awt/dnd/DnDConstants.java,
4078 java/awt/dnd/DragGestureListener.java,
4079 java/awt/dnd/DragSourceAdapter.java,
4080 java/awt/dnd/DragSourceDropEvent.java,
4081 java/awt/dnd/DragSourceListener.java,
4082 java/awt/dnd/DragSourceMotionListener.java,
4083 java/awt/dnd/DropTargetAdapter.java,
4084 java/awt/dnd/DropTargetContext.java,
4085 java/awt/dnd/DropTargetListener.java,
4086 java/awt/dnd/InvalidDnDOperationException.java,
4087 java/awt/dnd/MouseDragGestureRecognizer.java,
4088 java/awt/dnd/peer/DropTargetContextPeer.java,
4089 java/awt/event/AWTEventListener.java,
4090 java/awt/event/AWTEventListenerProxy.java,
4091 java/awt/event/ActionEvent.java,
4092 java/awt/event/AdjustmentEvent.java,
4093 java/awt/event/AdjustmentListener.java,
4094 java/awt/event/ComponentAdapter.java,
4095 java/awt/event/ComponentEvent.java,
4096 java/awt/event/ComponentListener.java,
4097 java/awt/event/ContainerAdapter.java,
4098 java/awt/event/ContainerEvent.java,
4099 java/awt/event/ContainerListener.java,
4100 java/awt/event/FocusAdapter.java,
4101 java/awt/event/FocusEvent.java,
4102 java/awt/event/FocusListener.java,
4103 java/awt/event/InputEvent.java,
4104 java/awt/event/InputMethodEvent.java,
4105 java/awt/event/InputMethodListener.java,
4106 java/awt/event/InvocationEvent.java,
4107 java/awt/event/ItemEvent.java,
4108 java/awt/event/ItemListener.java,
4109 java/awt/event/KeyAdapter.java,
4110 java/awt/event/KeyEvent.java,
4111 java/awt/event/KeyListener.java,
4112 java/awt/event/MouseAdapter.java,
4113 java/awt/event/MouseEvent.java,
4114 java/awt/event/MouseListener.java,
4115 java/awt/event/MouseMotionAdapter.java,
4116 java/awt/event/MouseMotionListener.java,
4117 java/awt/event/MouseWheelEvent.java,
4118 java/awt/event/MouseWheelListener.java,
4119 java/awt/event/PaintEvent.java,
4120 java/awt/event/TextEvent.java,
4121 java/awt/event/TextListener.java,
4122 java/awt/event/WindowAdapter.java,
4123 java/awt/event/WindowEvent.java,
4124 java/awt/event/WindowFocusListener.java,
4125 java/awt/event/WindowListener.java,
4126 java/awt/event/WindowStateListener.java,
4127 java/awt/font/TextHitInfo.java,
4128 java/awt/geom/CubicCurve2D.java,
4129 java/awt/geom/Dimension2D.java,
4130 java/awt/geom/Ellipse2D.java,
4131 java/awt/geom/IllegalPathStateException.java,
4132 java/awt/geom/Line2D.java,
4133 java/awt/geom/NoninvertibleTransformException.java,
4134 java/awt/geom/PathIterator.java,
4135 java/awt/geom/Point2D.java,
4136 java/awt/geom/QuadCurve2D.java,
4137 java/awt/geom/RectangularShape.java,
4138 java/awt/geom/RoundRectangle2D.java,
4139 java/awt/im/InputContext.java,
4140 java/awt/im/InputMethodHighlight.java,
4141 java/awt/im/InputMethodRequests.java,
4142 java/awt/im/InputSubset.java,
4143 java/awt/im/spi/InputMethod.java,
4144 java/awt/im/spi/InputMethodDescriptor.java,
4145 java/awt/image/BandCombineOp.java,
4146 java/awt/image/BandedSampleModel.java,
4147 java/awt/image/ByteLookupTable.java,
4148 java/awt/image/ComponentSampleModel.java,
4149 java/awt/image/DataBuffer.java,
4150 java/awt/image/DataBufferByte.java,
4151 java/awt/image/DataBufferDouble.java,
4152 java/awt/image/DataBufferFloat.java,
4153 java/awt/image/DataBufferInt.java,
4154 java/awt/image/DataBufferShort.java,
4155 java/awt/image/DataBufferUShort.java,
4156 java/awt/image/ImagingOpException.java,
4157 java/awt/image/Kernel.java,
4158 java/awt/image/LookupTable.java,
4159 java/awt/image/MultiPixelPackedSampleModel.java,
4160 java/awt/image/PackedColorModel.java,
4161 java/awt/image/PixelInterleavedSampleModel.java,
4162 java/awt/image/RGBImageFilter.java,
4163 java/awt/image/Raster.java,
4164 java/awt/image/RasterFormatException.java,
4165 java/awt/image/SampleModel.java,
4166 java/awt/image/ShortLookupTable.java,
4167 java/awt/image/SinglePixelPackedSampleModel.java,
4168 java/awt/image/WritableRaster.java,
4169 java/awt/print/PrinterAbortException.java,
4170 java/awt/print/PrinterException.java,
4171 java/awt/print/PrinterIOException.java,
4172 java/beans/AppletInitializer.java,
4173 java/beans/ExceptionListener.java,
4174 java/beans/PropertyChangeEvent.java,
4175 java/beans/PropertyChangeListenerProxy.java,
4176 java/beans/PropertyChangeSupport.java,
4177 java/beans/PropertyDescriptor.java,
4178 java/beans/VetoableChangeListenerProxy.java,
4179 java/beans/VetoableChangeSupport.java,
4180 java/io/BufferedReader.java,
4181 java/io/ByteArrayInputStream.java,
4182 java/io/ByteArrayOutputStream.java,
4183 java/io/CharArrayReader.java,
4184 java/io/CharArrayWriter.java,
4185 java/io/CharConversionException.java,
4186 java/io/DataInput.java,
4187 java/io/DataInputStream.java,
4188 java/io/DataOutput.java,
4189 java/io/DataOutputStream.java,
4190 java/io/EOFException.java,
4191 java/io/FileInputStream.java,
4192 java/io/FileNotFoundException.java,
4193 java/io/FileOutputStream.java,
4194 java/io/FilenameFilter.java,
4195 java/io/FilterInputStream.java,
4196 java/io/FilterOutputStream.java,
4197 java/io/FilterReader.java,
4198 java/io/FilterWriter.java,
4199 java/io/IOException.java,
4200 java/io/InputStream.java,
4201 java/io/InterruptedIOException.java,
4202 java/io/LineNumberInputStream.java,
4203 java/io/LineNumberReader.java,
4204 java/io/ObjectInputStream.java,
4205 java/io/ObjectStreamException.java,
4206 java/io/OptionalDataException.java,
4207 java/io/OutputStream.java,
4208 java/io/OutputStreamWriter.java,
4209 java/io/PrintStream.java,
4210 java/io/PrintWriter.java,
4211 java/io/PushbackInputStream.java,
4212 java/io/PushbackReader.java,
4213 java/io/RandomAccessFile.java,
4214 java/io/Reader.java,
4215 java/io/SequenceInputStream.java,
4216 java/io/Serializable.java,
4217 java/io/StreamCorruptedException.java,
4218 java/io/StreamTokenizer.java,
4219 java/io/StringBufferInputStream.java,
4220 java/io/StringWriter.java,
4221 java/io/SyncFailedException.java,
4222 java/io/UTFDataFormatException.java,
4223 java/io/UnsupportedEncodingException.java,
4224 java/io/WriteAbortedException.java,
4225 java/io/Writer.java,
4226 java/lang/AbstractMethodError.java,
4227 java/lang/ArithmeticException.java,
4228 java/lang/ArrayIndexOutOfBoundsException.java,
4229 java/lang/ArrayStoreException.java,
4230 java/lang/AssertionError.java,
4231 java/lang/Boolean.java,
4232 java/lang/Byte.java,
4233 java/lang/Class.java,
4234 java/lang/ClassCastException.java,
4235 java/lang/ClassCircularityError.java,
4236 java/lang/ClassLoader.java,
4237 java/lang/ClassNotFoundException.java,
4238 java/lang/CloneNotSupportedException.java,
4239 java/lang/Cloneable.java,
4240 java/lang/Comparable.java,
4241 java/lang/Compiler.java,
4242 java/lang/Double.java,
4243 java/lang/Error.java,
4244 java/lang/Exception.java,
4245 java/lang/ExceptionInInitializerError.java,
4246 java/lang/Float.java,
4247 java/lang/IllegalAccessError.java,
4248 java/lang/IllegalAccessException.java,
4249 java/lang/IllegalArgumentException.java,
4250 java/lang/IllegalMonitorStateException.java,
4251 java/lang/IllegalStateException.java,
4252 java/lang/IllegalThreadStateException.java,
4253 java/lang/IncompatibleClassChangeError.java,
4254 java/lang/IndexOutOfBoundsException.java,
4255 java/lang/InheritableThreadLocal.java,
4256 java/lang/InstantiationError.java,
4257 java/lang/InstantiationException.java,
4258 java/lang/Integer.java,
4259 java/lang/InternalError.java,
4260 java/lang/InterruptedException.java,
4261 java/lang/LinkageError.java,
4262 java/lang/Long.java,
4263 java/lang/NegativeArraySizeException.java,
4264 java/lang/NoClassDefFoundError.java,
4265 java/lang/NoSuchFieldError.java,
4266 java/lang/NoSuchFieldException.java,
4267 java/lang/NoSuchMethodError.java,
4268 java/lang/NoSuchMethodException.java,
4269 java/lang/NullPointerException.java,
4270 java/lang/Number.java,
4271 java/lang/NumberFormatException.java,
4272 java/lang/OutOfMemoryError.java,
4273 java/lang/Process.java,
4274 java/lang/Runnable.java,
4275 java/lang/Runtime.java,
4276 java/lang/RuntimeException.java,
4277 java/lang/RuntimePermission.java,
4278 java/lang/SecurityException.java,
4279 java/lang/SecurityManager.java,
4280 java/lang/Short.java,
4281 java/lang/StackOverflowError.java,
4282 java/lang/StackTraceElement.java,
4283 java/lang/StringBuffer.java,
4284 java/lang/StringIndexOutOfBoundsException.java,
4285 java/lang/ThreadDeath.java,
4286 java/lang/ThreadGroup.java,
4287 java/lang/Throwable.java,
4288 java/lang/UnsatisfiedLinkError.java,
4289 java/lang/UnsupportedOperationException.java,
4290 java/lang/VerifyError.java,
4291 java/lang/VirtualMachineError.java,
4292 java/lang/reflect/AccessibleObject.java,
4293 java/lang/reflect/Array.java,
4294 java/lang/reflect/InvocationTargetException.java,
4295 java/lang/reflect/Member.java,
4296 java/lang/reflect/Modifier.java,
4297 java/lang/reflect/Proxy.java,
4298 java/lang/reflect/ReflectPermission.java,
4299 java/lang/reflect/UndeclaredThrowableException.java,
4300 java/math/BigInteger.java,
4301 java/net/NetworkInterface.java,
4302 java/nio/ByteBufferHelper.java,
4303 java/nio/ByteBufferImpl.java,
4304 java/nio/DirectByteBufferImpl.java,
4305 java/nio/DoubleBufferImpl.java,
4306 java/nio/FloatBufferImpl.java,
4307 java/nio/IntBufferImpl.java,
4308 java/nio/LongBufferImpl.java,
4309 java/nio/ShortBufferImpl.java,
4310 java/nio/channels/Channel.java,
4311 java/nio/channels/IllegalBlockingModeException.java,
4312 java/nio/charset/spi/CharsetProvider.java,
4313 java/security/AccessControlException.java,
4314 java/security/BasicPermission.java,
4315 java/security/DigestException.java,
4316 java/security/DigestInputStream.java,
4317 java/security/DigestOutputStream.java,
4318 java/security/GeneralSecurityException.java,
4319 java/security/Guard.java,
4320 java/security/GuardedObject.java,
4321 java/security/InvalidAlgorithmParameterException.java,
4322 java/security/InvalidKeyException.java,
4323 java/security/InvalidParameterException.java,
4324 java/security/Key.java,
4325 java/security/KeyException.java,
4326 java/security/KeyManagementException.java,
4327 java/security/KeyStoreException.java,
4328 java/security/MessageDigestSpi.java,
4329 java/security/NoSuchAlgorithmException.java,
4330 java/security/NoSuchProviderException.java,
4331 java/security/Permission.java,
4332 java/security/PermissionCollection.java,
4333 java/security/Permissions.java,
4334 java/security/Principal.java,
4335 java/security/PrivateKey.java,
4336 java/security/PrivilegedActionException.java,
4337 java/security/ProviderException.java,
4338 java/security/PublicKey.java,
4339 java/security/SecureRandom.java,
4340 java/security/SecureRandomSpi.java,
4341 java/security/SignatureException.java,
4342 java/security/SignatureSpi.java,
4343 java/security/SignedObject.java,
4344 java/security/Signer.java,
4345 java/security/UnrecoverableKeyException.java,
4346 java/security/UnresolvedPermission.java,
4347 java/security/acl/AclNotFoundException.java,
4348 java/security/acl/LastOwnerException.java,
4349 java/security/acl/NotOwnerException.java,
4350 java/security/cert/CertPath.java,
4351 java/security/cert/CertPathBuilderException.java,
4352 java/security/cert/CertPathValidatorException.java,
4353 java/security/cert/CertStoreException.java,
4354 java/text/BreakIterator.java,
4355 java/text/ChoiceFormat.java,
4356 java/text/CollationElementIterator.java,
4357 java/text/CollationKey.java,
4358 java/text/Collator.java,
4359 java/text/DateFormat.java,
4360 java/text/DateFormatSymbols.java,
4361 java/text/DecimalFormat.java,
4362 java/text/DecimalFormatSymbols.java,
4363 java/text/FieldPosition.java,
4364 java/text/Format.java,
4365 java/text/NumberFormat.java,
4366 java/text/ParseException.java,
4367 java/text/ParsePosition.java,
4368 java/text/StringCharacterIterator.java,
4369 java/util/AbstractCollection.java,
4370 java/util/AbstractList.java,
4371 java/util/AbstractMap.java,
4372 java/util/AbstractSequentialList.java,
4373 java/util/AbstractSet.java,
4374 java/util/ArrayList.java,
4375 java/util/Arrays.java,
4376 java/util/BitSet.java,
4377 java/util/Collection.java,
4378 java/util/Collections.java,
4379 java/util/Comparator.java,
4380 java/util/ConcurrentModificationException.java,
4381 java/util/Currency.java,
4382 java/util/Date.java,
4383 java/util/EmptyStackException.java,
4384 java/util/Enumeration.java,
4385 java/util/EventListener.java,
4386 java/util/EventListenerProxy.java,
4387 java/util/EventObject.java,
4388 java/util/HashMap.java,
4389 java/util/HashSet.java,
4390 java/util/Hashtable.java,
4391 java/util/IdentityHashMap.java,
4392 java/util/Iterator.java,
4393 java/util/LinkedHashSet.java,
4394 java/util/LinkedList.java,
4395 java/util/List.java,
4396 java/util/ListIterator.java,
4397 java/util/ListResourceBundle.java,
4399 java/util/MissingResourceException.java,
4400 java/util/NoSuchElementException.java,
4401 java/util/Observable.java,
4402 java/util/Observer.java,
4403 java/util/Properties.java,
4404 java/util/PropertyPermissionCollection.java,
4405 java/util/RandomAccess.java,
4407 java/util/SortedMap.java,
4408 java/util/SortedSet.java,
4409 java/util/Stack.java,
4410 java/util/StringTokenizer.java,
4411 java/util/TooManyListenersException.java,
4412 java/util/TreeMap.java,
4413 java/util/TreeSet.java,
4414 java/util/Vector.java,
4415 java/util/logging/FileHandler.java,
4416 java/util/logging/Level.java,
4417 java/util/prefs/BackingStoreException.java,
4418 java/util/prefs/InvalidPreferencesFormatException.java,
4419 java/util/prefs/Preferences.java,
4420 javax/accessibility/Accessible.java,
4421 javax/accessibility/AccessibleAction.java,
4422 javax/accessibility/AccessibleBundle.java,
4423 javax/accessibility/AccessibleComponent.java,
4424 javax/accessibility/AccessibleContext.java,
4425 javax/accessibility/AccessibleEditableText.java,
4426 javax/accessibility/AccessibleExtendedComponent.java,
4427 javax/accessibility/AccessibleExtendedTable.java,
4428 javax/accessibility/AccessibleHyperlink.java,
4429 javax/accessibility/AccessibleHypertext.java,
4430 javax/accessibility/AccessibleIcon.java,
4431 javax/accessibility/AccessibleKeyBinding.java,
4432 javax/accessibility/AccessibleRelation.java,
4433 javax/accessibility/AccessibleRelationSet.java,
4434 javax/accessibility/AccessibleResourceBundle.java,
4435 javax/accessibility/AccessibleRole.java,
4436 javax/accessibility/AccessibleSelection.java,
4437 javax/accessibility/AccessibleState.java,
4438 javax/accessibility/AccessibleStateSet.java,
4439 javax/accessibility/AccessibleTable.java,
4440 javax/accessibility/AccessibleTableModelChange.java,
4441 javax/accessibility/AccessibleText.java,
4442 javax/accessibility/AccessibleValue.java,
4443 javax/imageio/IIOException.java,
4444 javax/imageio/ImageIO.java,
4445 javax/imageio/spi/IIOServiceProvider.java,
4446 javax/imageio/spi/ImageInputStreamSpi.java,
4447 javax/imageio/spi/ImageOutputStreamSpi.java,
4448 javax/imageio/spi/ImageReaderWriterSpi.java,
4449 javax/imageio/spi/ImageTranscoderSpi.java,
4450 javax/imageio/spi/RegisterableService.java,
4451 javax/imageio/spi/ServiceRegistry.java,
4452 javax/imageio/stream/IIOByteBuffer.java,
4453 javax/imageio/stream/ImageInputStream.java,
4454 javax/imageio/stream/ImageOutputStream.java,
4455 javax/naming/Binding.java,
4456 javax/naming/CannotProceedException.java,
4457 javax/naming/CompositeName.java,
4458 javax/naming/CompoundName.java,
4459 javax/naming/LinkException.java,
4460 javax/naming/LinkRef.java,
4461 javax/naming/NameClassPair.java,
4462 javax/naming/Reference.java,
4463 javax/naming/ReferralException.java,
4464 javax/naming/directory/Attribute.java,
4465 javax/naming/directory/AttributeModificationException.java,
4466 javax/naming/directory/Attributes.java,
4467 javax/naming/directory/DirContext.java,
4468 javax/naming/directory/ModificationItem.java,
4469 javax/naming/directory/SearchControls.java,
4470 javax/naming/directory/SearchResult.java,
4471 javax/naming/event/EventContext.java,
4472 javax/naming/event/EventDirContext.java,
4473 javax/naming/event/NamespaceChangeListener.java,
4474 javax/naming/event/NamingExceptionEvent.java,
4475 javax/naming/event/NamingListener.java,
4476 javax/naming/event/ObjectChangeListener.java,
4477 javax/naming/ldap/Control.java,
4478 javax/naming/ldap/ExtendedResponse.java,
4479 javax/naming/ldap/HasControls.java,
4480 javax/naming/ldap/LdapContext.java,
4481 javax/naming/ldap/UnsolicitedNotification.java,
4482 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4483 javax/naming/ldap/UnsolicitedNotificationListener.java,
4484 javax/naming/spi/DirectoryManager.java,
4485 javax/naming/spi/ResolveResult.java,
4486 javax/naming/spi/Resolver.java,
4487 javax/security/auth/callback/Callback.java,
4488 javax/security/auth/callback/CallbackHandler.java,
4489 javax/security/auth/callback/ChoiceCallback.java,
4490 javax/security/auth/callback/ConfirmationCallback.java,
4491 javax/security/auth/callback/LanguageCallback.java,
4492 javax/security/auth/callback/NameCallback.java,
4493 javax/security/auth/callback/PasswordCallback.java,
4494 javax/security/auth/callback/TextInputCallback.java,
4495 javax/security/auth/callback/TextOutputCallback.java,
4496 javax/security/auth/callback/UnsupportedCallbackException.java,
4497 javax/security/sasl/Sasl.java,
4498 javax/security/sasl/SaslServerFactory.java,
4499 javax/swing/DefaultBoundedRangeModel.java,
4500 javax/swing/JComponent.java,
4501 javax/swing/JList.java,
4502 javax/swing/JProgressBar.java,
4503 javax/swing/JRadioButton.java,
4504 javax/swing/JTextArea.java,
4505 javax/swing/JTextField.java,
4506 javax/swing/JToggleButton.java,
4507 javax/swing/JTree.java,
4508 javax/swing/SpinnerListModel.java,
4509 javax/swing/event/EventListenerList.java,
4510 javax/swing/text/JTextComponent.java,
4511 javax/swing/text/StringContent.java,
4512 javax/swing/text/Utilities.java,
4513 javax/swing/undo/UndoManager.java,
4514 javax/swing/undo/UndoableEditSupport.java,
4515 javax/transaction/HeuristicCommitException.java,
4516 javax/transaction/HeuristicMixedException.java,
4517 javax/transaction/HeuristicRollbackException.java,
4518 javax/transaction/InvalidTransactionException.java,
4519 javax/transaction/NotSupportedException.java,
4520 javax/transaction/RollbackException.java,
4521 javax/transaction/Status.java,
4522 javax/transaction/Synchronization.java,
4523 javax/transaction/SystemException.java,
4524 javax/transaction/Transaction.java,
4525 javax/transaction/TransactionManager.java,
4526 javax/transaction/TransactionRequiredException.java,
4527 javax/transaction/TransactionRolledbackException.java,
4528 javax/transaction/UserTransaction.java,
4529 javax/transaction/xa/XAException.java,
4530 javax/transaction/xa/XAResource.java,
4531 javax/transaction/xa/Xid.java,
4532 javax/xml/XMLConstants.java,
4533 javax/xml/datatype/DatatypeConfigurationException.java,
4534 javax/xml/datatype/DatatypeConstants.java,
4535 javax/xml/datatype/DatatypeFactory.java,
4536 javax/xml/datatype/Duration.java,
4537 javax/xml/datatype/XMLGregorianCalendar.java,
4538 javax/xml/namespace/NamespaceContext.java,
4539 javax/xml/namespace/QName.java,
4540 javax/xml/parsers/DocumentBuilder.java,
4541 javax/xml/parsers/DocumentBuilderFactory.java,
4542 javax/xml/parsers/FactoryConfigurationError.java,
4543 javax/xml/parsers/ParserConfigurationException.java,
4544 javax/xml/parsers/SAXParser.java,
4545 javax/xml/parsers/SAXParserFactory.java,
4546 javax/xml/transform/ErrorListener.java,
4547 javax/xml/transform/OutputKeys.java,
4548 javax/xml/transform/Result.java,
4549 javax/xml/transform/Source.java,
4550 javax/xml/transform/SourceLocator.java,
4551 javax/xml/transform/Templates.java,
4552 javax/xml/transform/Transformer.java,
4553 javax/xml/transform/TransformerConfigurationException.java,
4554 javax/xml/transform/TransformerException.java,
4555 javax/xml/transform/TransformerFactory.java,
4556 javax/xml/transform/TransformerFactoryConfigurationError.java,
4557 javax/xml/transform/URIResolver.java,
4558 javax/xml/transform/dom/DOMLocator.java,
4559 javax/xml/transform/dom/DOMResult.java,
4560 javax/xml/transform/dom/DOMSource.java,
4561 javax/xml/transform/sax/SAXResult.java,
4562 javax/xml/transform/sax/SAXSource.java,
4563 javax/xml/transform/sax/SAXTransformerFactory.java,
4564 javax/xml/transform/sax/TemplatesHandler.java,
4565 javax/xml/transform/sax/TransformerHandler.java,
4566 javax/xml/transform/stream/StreamResult.java,
4567 javax/xml/transform/stream/StreamSource.java,
4568 javax/xml/validation/Schema.java,
4569 javax/xml/validation/SchemaFactory.java,
4570 javax/xml/validation/TypeInfoProvider.java,
4571 javax/xml/validation/Validator.java,
4572 javax/xml/validation/ValidatorHandler.java,
4573 javax/xml/xpath/XPathConstants.java,
4574 javax/xml/xpath/XPathException.java,
4575 javax/xml/xpath/XPathExpression.java,
4576 javax/xml/xpath/XPathExpressionException.java,
4577 javax/xml/xpath/XPathFactory.java,
4578 javax/xml/xpath/XPathFactoryConfigurationException.java,
4579 javax/xml/xpath/XPathFunction.java,
4580 javax/xml/xpath/XPathFunctionException.java,
4581 javax/xml/xpath/XPathFunctionResolver.java:
4582 Fixed usage of @author tag, reworked import statements,
4583 removed CVS tags, changed the modifier order and fixed
4584 HTML usage in javadocs.
4586 2005-02-16 Julian Scheid <julian@sektor37.de>
4588 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4590 (encodeLoop): Likewise.
4592 2005-02-16 Mark Wielaard <mark@klomp.org>
4594 * Makefile.am (ordinary_java_source_files): Add new files
4595 gnu/java/security/ber/BER.java,
4596 gnu/java/security/ber/BEREncodingException.java,
4597 gnu/java/security/ber/BERReader.java,
4598 gnu/java/security/ber/BERValue.java,
4599 gnu/java/security/pkcs/PKCS7SignedData.java and
4600 gnu/java/security/pkcs/SignerInfo.java.
4601 * Makefile.in: Regenerated.
4603 2005-02-16 Casey Marshall <csm@gnu.org>
4605 * gnu/java/security/provider/GnuDSAPrivateKey.java
4606 (encodedKey): new field.
4607 (getFormat): return "PKCS#8".
4608 (getEncoded): implemented.
4609 (toString): check for 'null' values.
4610 * gnu/java/security/provider/GnuDSAPublicKey.java
4611 (encodedKey): new field.
4612 (getFormat): return "X.509".
4613 (getEncoded): implemented.
4614 (toString): check for 'null' values.
4616 2005-02-16 Michael Koch <konqueror@gmx.de>
4618 * java/util/jar/JarFile.java: Imports reworked.
4620 2005-02-16 Mark Wielaard <mark@klomp.org>
4622 * java/util/jar/JarFile.java (verify): Make package private.
4623 (signaturesRead): Likewise.
4624 (verified): Likewise.
4625 (entryCerts): Likewise.
4628 (entries): Construct new JarEnumeration with reference to this.
4629 (JarEnumeration): Make static.
4630 (JarEnumeration.jarfile): New field.
4631 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4632 Compare verified value to Boolean.TRUE or Boolean.False only
4633 when verify is true.
4634 (getEntry): Make synchronized. Compare value of verified to
4636 (getInputStream): Construct EntryInputStream with reference to this.
4637 (getManifest): Make synchronized.
4638 (EntryInputStream): Make static.
4639 (EntryInputStream.jarfile): New field.
4640 (EntryInputStream.EntryInputStream): Check if manifest exists,
4641 before getting attributes.
4642 (eof): Synchronize on jarfile.
4644 2005-02-16 Casey Marshall <csm@gnu.org>
4646 * java/util/jar/JarFile.java (verify): return if the jar is signed
4647 with an unsupported algorithm.
4649 2005-02-16 Mark Wielaard <mark@klomp.org>
4651 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4652 InputStream as argument.
4653 (getInputStream): Construct a new EntryInputStream with the result of
4654 super.getInputStream(entry).
4656 2005-02-16 Casey Marshall <csm@gnu.org>
4658 Signed JAR file support.
4659 * java/net/URLClassLoader.java
4660 (JarURLResource.getCertificates): re-read jar entry to ensure
4661 certificates are picked up.
4662 (findClass): fill in class `signers' field, too.
4663 * java/util/jar/JarFile.java (META_INF): new constant.
4664 (PKCS7_DSA_SUFFIX): new constant.
4665 (PKCS7_RSA_SUFFIX): new constant.
4666 (DIGEST_KEY_SUFFIX): new constant.
4667 (SF_SUFFIX): new constant.
4668 (MD2_OID): new constant.
4669 (MD4_OID): new constant.
4670 (MD5_OID): new constant.
4671 (SHA1_OID): new constant.
4672 (DSA_ENCRYPTION_OID): new constant.
4673 (RSA_ENCRYPTION_OID): new constant.
4674 (signaturesRead): new field.
4675 (verified): new field.
4676 (entryCerts): new field.
4677 (DEBUG): new constant.
4678 (debug): new method.
4679 (JarEnumeration.nextElement): fill in entry certificates, read
4680 signatures if they haven't been read.
4681 (getEntry): likewise.
4682 (getInputStream): verify stream if it hasn't been verified yet.
4683 (readSignatures): new method.
4684 (verify): new method.
4685 (verifyHashes): new method.
4686 (readManifestEntry): new method.
4687 (EntryInputStream): new class.
4688 * gnu/java/io/Base64InputStream.java (decode): new class
4690 * gnu/java/security/der/DERReader.java don't make class
4692 (in): made protected.
4694 (readLength): likewise.
4695 * gnu/java/security/ber/BER.java,
4696 * gnu/java/security/ber/BEREncodingException.java,
4697 * gnu/java/security/ber/BERReader.java,
4698 * gnu/java/security/ber/BERValue.java,
4699 * gnu/java/security/pkcs/PKCS7SignedData.java,
4700 * gnu/java/security/pkcs/SignerInfo.java:
4703 2005-02-16 Tom Tromey <tromey@redhat.com>
4705 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4706 copied file on exit.
4708 2005-02-15 Mark Wielaard <mark@klomp.org>
4710 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4712 2005-02-15 Michael Koch <konqueror@gmx.de>
4714 * gnu/java/awt/peer/gtk/GtkArg.java,
4715 gnu/java/awt/peer/gtk/GtkArgList.java:
4718 2005-02-15 Craig Black <craig.black@aonix.com>
4720 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4721 (postMenuActionEvent): Implement to notify ItemListeners.
4722 * java/awt/CheckboxMenuItem.java
4723 (dispatchEventImpl): Update state on ItemEvent.
4724 * java/awt/MenuItem.java
4725 (processActionEvent): Retarget event source.
4727 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4729 * gnu/java/awt/color/ClutProfileConverter.java,
4730 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4731 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4732 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4733 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4734 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4735 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4736 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4737 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4738 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4739 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4740 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4741 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4742 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4743 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4744 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4745 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4746 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4747 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4748 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4749 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4750 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4751 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4752 gnu/java/awt/peer/gtk/GtkToolkit.java,
4753 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4754 javax/swing/JPopupMenu.java,
4755 javax/swing/JSpinner.java,
4756 javax/swing/SortingFocusTraversalPolicy.java,
4757 javax/swing/SwingUtilities.java,
4758 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4759 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4760 javax/swing/tree/DefaultMutableTreeNode.java:
4761 Removed unused imports and expanded starred
4764 2005-02-15 Mark Wielaard <mark@klomp.org>
4766 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4767 IllegalArgumentException when the given String is null.
4769 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4770 when given keystoke sequence cannot be parsed.
4772 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4773 if one is installed. Only install the given menubar is not null.
4775 * javax/swing/JViewport.java (getViewSize): Return an empty
4776 Dimension when the view isn't set or preferred component size when
4779 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4780 empty Dimension when there is no view set.
4781 (minimumLayoutSize): Likewise.
4782 (layoutContainer): Don't try to layout when there is no view.
4784 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4787 * include/jawt.h: Likewise.
4788 * include/jawt_md.h: Likewise.
4789 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4791 * jni/classpath/classpath_jawt.h: Likewise.
4792 * jni/gtk-peer/gtk_jawt.c: Likewise.
4793 * Makefile.am: Build libjawt.so.
4795 2005-02-15 Michael Koch <konqueror@gmx.de>
4797 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4798 Merged file header with classpath CVS head.
4799 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4800 Merged code formatting with classpath CVS head.
4801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4803 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4804 Handle special JNI strings with 2 '\0' at the end.
4805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4806 Merged file header with classpath CVS head.
4807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4808 Merged code formatting with classpath CVS head.
4810 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4813 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4814 (handle_response): Use GTK_RESPONSE_ACCEPT.
4816 2005-02-15 Graydon Hoare <graydon@redhat.com>
4818 * Makefile.am: Fix library build breakage.
4819 * Makefile.in: Regenerate.
4821 2005-02-15 Michael Koch <konqueror@gmx.de>
4823 * javax/swing/JTabbedPane.java
4824 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4826 2005-02-15 Michael Koch <konqueror@gmx.de>
4828 * javax/swing/tree/DefaultMutableTreeNode.java:
4829 Reworked Javadocs all over.
4830 (getPathToRoot): Fixed direction of result array initialization.
4832 2005-02-15 Michael Koch <konqueror@gmx.de>
4834 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4835 Fix includes for cairo 0.3.0 snappshot.
4836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4837 Merged file header from classpath CVS HEAD.
4839 2005-02-15 Craig Black <craig.black@aonix.com>
4841 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4842 (copyState): Pass a JNI global reference to signal handler.
4843 (realize_cb): Use and free JNI global reference.
4844 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4845 (create): Pass a JNI global reference to signal handler.
4846 (selection_changed): Match declaration.
4847 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4848 (dispose): Do not remove entries from state tables until after widget is
4851 2005-02-15 Michael Koch <konqueror@gmx.de>
4853 * java/awt/Container.javai (paramString):
4854 If layoutMgr is null just return result of super.paramString().
4855 * java/awt/Scrollbar.java: Reformatted.
4856 * java/awt/im/InputContext.java (static):
4857 Removed redundant initializations.
4859 2005-02-15 Michael Koch <konqueror@gmx.de>
4861 * javax/swing/ImageIcon.java,
4862 javax/swing/UIManager.java,
4863 javax/swing/text/EditorKit.java,
4864 javax/swing/text/Segment.java:
4865 More whitespace cleanups.
4867 2005-02-15 Michael Koch <konqueror@gmx.de>
4869 * gnu/java/awt/EmbeddedWindow.java,
4870 gnu/java/awt/image/ImageDecoder.java,
4871 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4872 java/awt/DefaultKeyboardFocusManager.java,
4873 java/awt/Frame.java,
4874 java/awt/image/RGBImageFilter.java,
4875 javax/swing/AbstractButton.java,
4876 javax/swing/ActionMap.java,
4877 javax/swing/ComponentInputMap.java,
4878 javax/swing/DefaultDesktopManager.java,
4879 javax/swing/ImageIcon.java,
4880 javax/swing/InputMap.java,
4881 javax/swing/JButton.java,
4882 javax/swing/JCheckBox.java,
4883 javax/swing/JCheckBoxMenuItem.java,
4884 javax/swing/JEditorPane.java,
4885 javax/swing/JMenu.java,
4886 javax/swing/JMenuItem.java,
4887 javax/swing/JOptionPane.java,
4888 javax/swing/JRootPane.java,
4889 javax/swing/JTable.java,
4890 javax/swing/MenuSelectionManager.java,
4891 javax/swing/RepaintManager.java,
4892 javax/swing/ScrollPaneLayout.java,
4893 javax/swing/SortingFocusTraversalPolicy.java,
4894 javax/swing/UIManager.java,
4895 javax/swing/ViewportLayout.java,
4896 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4897 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4898 javax/swing/plaf/basic/BasicLabelUI.java,
4899 javax/swing/plaf/basic/BasicListUI.java,
4900 javax/swing/plaf/basic/BasicMenuItemUI.java,
4901 javax/swing/plaf/basic/BasicMenuUI.java,
4902 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4903 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4904 javax/swing/plaf/basic/BasicRootPaneUI.java,
4905 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4906 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4907 javax/swing/plaf/basic/BasicTextUI.java,
4908 javax/swing/table/TableColumnModel.java,
4909 javax/swing/text/AbstractDocument.java,
4910 javax/swing/text/EditorKit.java,
4911 javax/swing/text/Position.java,
4912 javax/swing/text/Segment.java,
4913 javax/swing/text/StyledEditorKit.java,
4914 javax/swing/text/ViewFactory.java:
4915 Cleanup whitespace differences to classpath CVS HEAD.
4917 2005-02-15 Graydon Hoare <graydon@redhat.com>
4919 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4920 (finalize): Call finish from here.
4921 (produce): Not from here.
4922 * Makefile.am (gtk_c_source_files):
4923 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4924 * Makefile.in: Regenerate.
4925 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4927 (cairoDrawGdkTextLayout):
4929 (getPeerTextMetrics):
4930 (getPeerFontMetrics): Remove.
4931 (setFont): Don't call cairoSetFont.
4932 (cairoDrawGlyphVector): Accept font peer argument.
4933 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4935 (ensure_metrics_cairo):
4936 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4937 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4938 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4939 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4941 (metrics_surface): Remove.
4942 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4943 Pass and install font peer.
4945 2005-02-15 Graydon Hoare <graydon@redhat.com>
4947 * Makefile.am: Create "split library" structure.
4948 * Makefile.in: Regenerate.
4950 2005-02-15 Graydon Hoare <graydon@redhat.com>
4952 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4954 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4956 Release GDK lock during upcalls.
4958 2005-02-15 Graydon Hoare <graydon@redhat.com>
4960 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4962 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4963 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4964 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4965 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4966 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4969 (getTextMetrics): New native methods.
4970 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4971 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4972 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4973 * Makefile.in: Regenerate.
4975 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4977 * javax/swing/SwingUtilities.java:
4978 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4979 Implemented and documented.
4980 (getAccessibleChild(java.awt.Component, int)): Likewise.
4981 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4982 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4983 (getAccessibleStateSet(java.awt.Component)): Likewise.
4985 2005-02-15 Michael Koch <konqueror@gmx.de>
4987 * javax/swing/SwingUtilities.java
4988 (getFontMetrics): Removed.
4990 2005-02-15 Michael Koch <konqueror@gmx.de>
4992 * java/awt/Container.java
4993 (paramString): Implemented.
4994 * javax/swing/AbstractButton.java
4995 (paramString): Implemented.
4996 * javax/swing/JComponent.java
4997 (paramString): Implemented.
4998 * javax/swing/JMenu.java
4999 (paramString): Implemented.
5000 * javax/swing/JMenuBar.java
5001 (paramString): Implemented.
5002 * javax/swing/JMenuItem.java
5003 (paramString): Implemented.
5004 * javax/swing/JPopupMenu.java
5005 (paramString): Implemented.
5007 2005-02-15 Michael Koch <konqueror@gmx.de>
5009 * javax/swing/JMenu.java
5010 (uiClassID): Removed.
5011 (JMenu): Set invoker on popup menu.
5012 (getUIClassID): Return id directly.
5013 (getItemCount): Simply return getMenuComponentCount().
5015 (isTopLevelMenu): Simplified.
5016 * javax/swing/JMenuItem.java
5017 (uiClassID): Removed.
5018 (getUIClassID): Return id directly.
5019 * javax/swing/JPopupMenu.java
5020 (uiClassID): Removed.
5021 (JPopupMenu): Always initialize correctly.
5022 (getSubElements): Only return components implementing MenuElement
5024 (HeavyWeightPopup.hide): Removed.
5026 2005-02-15 Michael Koch <konqueror@gmx.de>
5028 * java/awt/image/ReplicateScaleFilter.java
5029 (replicatePixels): Made private.
5030 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5031 (DefaultRGBChooserPanel): Made package private.
5032 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5033 (RecentSwatchPanel): Likewise.
5034 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5035 (MouseInputAdapter): Made abstract.
5036 * javax/swing/tree/DefaultMutableTreeNode.java
5038 (growTree): Likewise.
5040 2005-02-15 Michael Koch <konqueror@gmx.de>
5042 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5045 2005-02-15 Michael Koch <konqueror@gmx.de>
5047 * javax/swing/JComponent.java (getComponentGraphics):
5048 Removed accidently commited code.
5050 2005-02-15 Graydon Hoare <graydon@redhat.com>
5052 * java/awt/dnd/DropTarget.java
5053 (addDropTargetListener): Despite documentation, do not throw.
5054 * javax/swing/JComponent.java: Set a default DropTarget.
5056 2005-02-15 Michael Koch <konqueror@gmx.de>
5058 * javax/swing/AbstractAction.java
5059 (ENABLED_PROPERTY): Removed.
5060 (setEnabled): Replaced constant with real string.
5061 * javax/swing/AbstractButton.java
5062 (createActionPropertyChangeListener.propertyChange): Likewise.
5063 * javax/swing/JComboBox.java
5064 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5065 (EDITABLE_CHANGED_PROPERTY): Removed.
5066 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5067 (ENABLED_CHANGED_PROPERTY):Likewise.
5068 (RENDERER_CHANGED_PROPERTY):Likewise.
5069 (EDITOR_CHANGED_PROPERTY):Likewise.
5070 (MODEL_CHANGED_PROPERTY):Likewise.
5071 (uiClassID):Likewise.
5072 (getUIClassID): Replaced constant with real string.
5073 (setModel):Likewise.
5074 (setEditable):Likewise.
5075 (setMaximumRowCount):Likewise.
5076 (setRenderer):Likewise.
5077 (setEditor):Likewise.
5078 (setEnabled):Likewise.
5079 * javax/swing/JLabel.java
5080 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5081 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5082 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5083 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5084 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5085 (ICON_CHANGED_PROPERTY): Likewise.
5086 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5087 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5088 (TEXT_CHANGED_PROPERTY): Likewise.
5089 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5090 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5091 (setText): Replaced constant with real string.
5092 (setIcon): Likewise.
5093 (setDisabledIcon): Likewise.
5094 (setDisplayedMnemonic): Likewise.
5095 (setIconTextGap): Likewise.
5096 (setVerticalAlignment): Likewise.
5097 (setHorizontalAlignment): Likewise.
5098 (setVerticalTextPosition): Likewise.
5099 (setHorizontalTextPosition): Likewise.
5100 (setLabelFor): Replaced constant with real string.
5101 Fire property change event after property got changed.
5102 * javax/swing/JList.java
5103 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5104 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5105 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5106 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5107 (MODEL_PROPERTY_CHANGED): Likewise.
5108 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5109 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5110 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5111 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5112 (setFixedCellWidth): Reimplemented.
5113 (setFixedCellHeight): Exit if new value is identical.
5114 Replaced constant with real string.
5115 (setSelectionBackground): Likewise.
5116 (setSelectionForeground): Likewise.
5117 (setPrototypeCellValue): Likewise.
5118 (setCellRenderer): Replaced constant with real string.
5119 (setModel): Likewise.
5120 (setSelectionModel): Likewise.
5121 * javax/swing/JMenuBar.java
5122 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5123 (MODEL_CHANGED_PROPERTY): Likewise.
5124 (MARGIN_CHANGED_PROPERTY): Likewise.
5125 (setBorderPainted): Reimplemented.
5126 (setMargin): Likewise.
5127 (setSelectionModel): Replaced constant with real string.
5128 * javax/swing/JPopupMenu.java
5129 (LABEL_CHANGED_PROPERTY): Removed.
5130 (VISIBLE_CHANGED_PROPERTY): Likewise.
5131 (borderPainted): Likewise.
5132 (setLabel): Replaced constant with real string.
5133 (setVisible): Exit if new value is identical.
5134 Replaced constant with real string.
5135 * javax/swing/JProgressBar.java
5136 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5137 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5138 (STRING_CHANGED_PROPERTY): Likewise.
5139 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5140 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5141 (setOrientation): Replaced constant with real string.
5142 (setStringPainted): Likewise.
5143 (setString): Likewise.
5144 (setBorderPainted): Likewise.
5145 (setIndeterminate): Likewise.
5146 * javax/swing/JScrollBar.java
5147 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5148 (MODEL_CHANGED_PROPERTY): Likewise.
5149 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5150 (setOrientation): Replaced constant with real string.
5151 (setModel): Likewise.
5152 (setUnitIncrement): Likewise.
5153 (setBlockIncrement): Likewise.
5154 * javax/swing/JScrollPane.java
5155 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5156 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5157 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5158 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5159 (LAYOUT_CHANGED_PROPERTY): Likewise.
5160 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5161 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5162 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5163 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5164 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5165 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5166 (setComponentOrientation): Replaced constant with real string.
5167 (setColumnHeader): Likewise.
5168 (setHorizontalScrollBar): Likewise.
5169 (setHorizontalScrollBarPolicy): Likewise.
5170 (setRowHeader): Likewise.
5171 (setVerticalScrollBar): Likewise.
5172 (setVerticalScrollBarPolicy): Likewise.
5173 (setWheelScrollingEnabled): Likewise.
5174 (setViewport): Likewise.
5175 (setViewportBorder): Likewise.
5176 * javax/swing/JSlider.java
5177 (INVERTED_CHANGED_PROPERTY): Removed.
5178 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5179 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5180 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5181 (MODEL_CHANGED_PROPERTY): Likewise.
5182 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5183 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5184 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5185 (setModel): Replaced constant with real string.
5186 (setOrientation): Likewise.
5187 (setLabelTable): Likewise.
5188 (setInverted): Likewise.
5189 (setMajorTickSpacing): Likewise.
5190 (setMinorTickSpacing): Likewise.
5191 (setPaintTicks): Likewise.
5192 (setPaintLabels): Likewise.
5193 * javax/swing/JTabbedPane.java
5194 (MODEL_CHANGED_PROPERTY): Removed.
5195 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5196 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5197 (setModel): Replaced constant with real string.
5198 (setTabPlacement): Likewise.
5199 (setTabLayoutPolicy): Likewise.
5200 * javax/swing/JToolBar.java
5201 (ORIENTATION_CHANGED_PROPERTY): Removed.
5202 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5203 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5204 (MARGIN_CHANGED_PROPERTY): Likewise.
5205 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5206 (setRollover): Replaced constant with real string.
5207 (setMargin): Likewise.
5208 (setBorderPainted): Likewise.
5209 (setFloatable): Likewise.
5210 (setOrientation): Likewise.
5211 * javax/swing/plaf/basic/BasicComboBoxUI.java
5212 (PropertyChangeHandler.propertyChange): Likewise.
5213 * javax/swing/plaf/basic/BasicComboPopup.java
5214 (PropertyChangeHandler.propertyChange): Likewise.
5215 * javax/swing/plaf/basic/BasicMenuBarUI.java
5216 (PropertyChangeHandler.propertyChange): Likewise.
5217 * javax/swing/plaf/basic/BasicProgressBarUI.java
5218 (PropertyChangeHandler.propertyChange): Likewise.
5219 * javax/swing/plaf/basic/BasicScrollBarUI.java
5220 (PropertyChangeHandler.propertyChange): Likewise.
5221 * javax/swing/plaf/basic/BasicSliderUI.java
5222 (PropertyChangeHandler.propertyChange): Likewise.
5223 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5224 (PropertyChangeHandler.propertyChange): Likewise.
5225 * javax/swing/plaf/basic/BasicToolBarUI.java
5226 (PropertyChangeHandler.propertyChange): Likewise.
5228 2005-02-15 Michael Koch <konqueror@gmx.de>
5230 * javax/swing/DefaultButtonModel.java
5231 (changeState): Made private.
5232 * javax/swing/DefaultDesktopManager.java
5233 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5234 * javax/swing/JLayeredPane.java
5235 (layerToRange): Made private.
5236 (incrLayer): Likewise.
5237 (decrLayer): Likewise.
5238 * javax/swing/JTable.java
5239 (dragEnabled): Likewise.
5240 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5241 * javax/swing/KeyStroke.java
5242 (Keystroke): Made private.
5243 * javax/swing/TransferHandler.java
5244 (COMMAND_COPY): Likewise.
5245 (COMMAND_CUT): Likewise.
5246 (COMMAND_PASTE): Likewise.
5248 2005-02-15 Michael Koch <konqueror@gmx.de>
5250 * javax/swing/JTextField.java
5251 (postActionEvent): Use text in field when actionCommand is null.
5252 (getActionCommand): Removed.
5254 2005-02-15 Michael Koch <konqueror@gmx.de>
5256 * javax/swing/AbstractSet.java: Removed.
5257 * Makefile.am: Removed javax/swing/AbstractSet.java.
5258 * Makefile.in: Regenerated.
5260 2005-02-15 Michael Koch <konqueror@gmx.de>
5262 * java/awt/Window.java
5263 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5264 * java/awt/dnd/DnDConstants.java
5265 (DnDConstants): New private constructor.
5267 2005-02-15 Michael Koch <konqueror@gmx.de>
5269 * javax/swing/DefaultCellRenderer.java: Removed.
5270 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5271 * Makefile.in: Regenerated.
5273 2005-02-15 Michael Koch <konqueror@gmx.de>
5275 * javax/swing/AbstractButton.java
5276 (fireItemStateChanged): Made protected.
5277 (fireActionPerformed): Likewise.
5278 (fireStateChanged): Likewise.
5279 * javax/swing/DefaultButtonModel.java
5280 (fireItemStateChanged): Likewise.
5281 (fireActionPerformed): Likewise.
5282 (fireStateChanged): Likewise.
5283 * javax/swing/JApplet.java
5285 (frameInit): Likewise.
5286 (setRootPane): Made protected.
5287 (createRootPane): Likewise.
5288 * javax/swing/JComponent.java
5289 (getClientProperty): Likewise.
5290 (putClientProperty): Likewise.
5291 * javax/swing/JEditorPane.java
5292 (getContentType): Likewise.
5293 (setContentType): Likewise.
5294 * javax/swing/JFrame.java
5295 (setRootPane): Likewise.
5296 (createRootPane): Likewise.
5297 * javax/swing/JInternalFrame.java
5298 (getFocusCycleRootAncestor): Made final. Added @since tag.
5299 (isFocusCycleRoot): Likewise.
5300 (getWarningString): Made final.
5301 * javax/swing/JScrollBar.java
5302 (changeListener): Removed.
5303 (changeEvent): Likewise.
5304 (createChangeListener): Likewise.
5305 (fireStateChanged): Likewise.
5306 (addChangeListener): Likewise.
5307 (removeChangeListener): Likewise.
5308 (getChangeListeners): Likewise.
5309 * javax/swing/JScrollPane.java
5310 (createViewport): Made protected.
5311 * javax/swing/JViewport.java
5312 (addImpl): Likewise.
5313 (setBorder): New method.
5314 * javax/swing/JWindow.java
5315 (setRootPane): Made protected.
5316 (createRootPane): Likewise.
5317 * javax/swing/plaf/basic/BasicButtonUI.java
5318 (installListeners): Likewise.
5319 (uninstallListeners): Likewise.
5320 * javax/swing/plaf/basic/BasicProgressBarUI.java
5321 (incrementAnimationIndex): Likewise.
5322 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5323 (createLayoutManager): Likewise.
5324 * javax/swing/table/DefaultTableCellRenderer.java
5325 (firePropertyChange): Likewise.
5326 * javax/swing/table/JTableHeader.java
5327 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5329 * javax/swing/text/PlainDocument.java
5330 (reindex): Made private.
5331 * javax/swing/text/PlainView.java
5332 (drawLine): Made protected.
5333 (getTabSize): Likewise.
5334 * javax/swing/text/View.java
5336 (preferenceChanged): New method.
5337 (getBreakWeight): Likewise.
5338 (breakView): Likewise.
5339 (getViewIndex): Likewise.
5341 2005-02-15 Michael Koch <konqueror@gmx.de>
5343 * javax/swing/JScrollPane.java
5344 (ScrollBar): Made class protected.
5345 * javax/swing/JSpinner.java
5346 (JSpinner): Added @since tag.
5347 (listenerList): Removed.
5348 * javax/swing/JTable.java
5349 (setValueAt): New method.
5350 (getColumn): Likewise.
5351 * javax/swing/JWindow.java
5352 (rootPaneCheckingEnabled): Renamed from checking.
5354 2005-02-15 Michael Koch <konqueror@gmx.de>
5356 * javax/swing/plaf/basic/BasicTextUI.java
5357 (RootView.modelToView): Made it public and return a java.awt.Shape.
5358 Handle null subview.
5359 (uninstall): Set textComponent to null when its not possible used
5361 * javax/swing/text/View.java
5362 (setParent): Use better argument name.
5363 (getContainer): Get parent via getParent().
5364 (getViewFactory): Likewise.
5365 (getAttributes): Get element via getElement().
5366 (getStartOffset): Likewise.
5367 (getEndOffset): Likewise.
5368 (getResizeWeight): New method.
5369 (getMaximumSpan): Likewise.
5370 (getMinimumSpan): Likewise.
5371 (setSize): Likewise.
5372 (getGraphics): Likewise.
5374 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5376 * java/awt/Checkbox.java:
5377 (AccessibleAWTCheckbox()): Added public constructor
5379 * java/awt/Choice.java:
5380 (AccessibleAWTChoice): Added class documentation.
5381 (AccessibleAWTChoice()): Added public constructor
5383 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5384 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5385 and changed role to COMBO_BOX.
5386 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5387 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5388 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5390 2005-02-15 Graydon Hoare <graydon@redhat.com>
5391 Michael Koch <konqueror@gmx.de>
5393 * javax/swing/LayoutFocusTraversalPolicy.java,
5394 javax/swing/SortingFocusTraversalPolicy.java:
5396 * Makefile.am: Added new classes.
5397 * Makefike.in: Regenerated.
5400 2005-02-15 Michael Koch <konqueror@gmx.de>
5402 * javax/swing/DebugGraphics.java: Mostly implemented.
5404 2005-02-15 Michael Koch <konqueror@gmx.de>
5406 * javax/swing/SwingUtilities.java
5407 (findFocusOwner): New method.
5409 2005-02-15 Michael Koch <konqueror@gmx.de>
5411 * javax/swing/text/DefaultEditorKit.java
5412 (read): Added '\n' after each line.
5413 * javax/swing/text/PlainView.java
5414 (modelToView): Update metrics.
5415 (drawLine): Use offsets from element.
5416 (paint): Update metrics. Draw all lines.
5418 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5420 * java/awt/Checkbox.java:
5421 (AccessibleAWTCheckbox): Added class documentation
5422 * java/awt/Scrollbar.java:
5423 (AccessibleAWTScrollBar): typo corrected and docs added
5424 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5425 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5426 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5427 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5428 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5429 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5430 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5431 (getAccessibleContext()): name of accessible class corrected
5433 2005-02-15 Mark Wielaard <mark@klomp.org>
5435 * java/awt/BasicStroke.java (hashCode): Implement.
5438 2005-02-15 Michael Koch <konqueror@gmx.de>
5440 * java/awt/print/PrinterJob.java
5441 (pageDialog): Throws java.awt.HeadlessException.
5442 (printDialog): Likewise.
5444 2005-02-15 Mark Wielaard <mark@klomp.org>
5446 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5448 2005-02-15 Michael Koch <konqueror@gmx.de>
5450 * javax/swing/JTable.java
5451 (getValueAt): New method.
5452 * javax/swing/table/JTableHeader.java
5453 (columnAtPoint): New method.
5455 2005-02-15 Michael Koch <konqueror@gmx.de>
5457 * javax/swing/JTextField.java
5458 (actions): New field.
5459 (static): Initalize actions field.
5460 (getActions): New method.
5462 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5464 * java/awt/Checkbox.java:
5465 (AccessibleAWTCheckbox): name capitalization corrected
5466 and serialization UID added.
5467 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5469 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5470 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5471 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5472 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5473 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5474 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5475 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5476 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5477 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5478 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5479 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5481 (getAccessibleContext()): name of accessible class corrected
5483 2005-02-15 Sven de Marothy <sven@physto.se>
5485 * java/awt/geom/doc-files/Area-1.png,
5486 java/awt/geom/doc-files/Ellipse-1.png,
5487 java/awt/geom/doc-files/GeneralPath-1.png:
5490 2005-02-15 Graydon Hoare <graydon@redhat.com>
5492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5493 Use union to avoid type-punning warning.
5495 2005-02-15 Michael Koch <konqueror@gmx.de>
5497 * javax/swing/DefaultListSelectionModel.java
5498 (clone): New method.
5500 2005-02-15 Mark Wielaard <mark@klomp.org>
5502 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5503 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5504 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5505 Correct method signature of gtkSetFilename.
5507 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5509 * javax/swing/text/StringContent.java: New file.
5511 2005-02-15 Michael Koch <konqueror@gmx.de>
5513 * Makefile.am: Added javax/swing/text/StringContent.java.
5514 * Makefile.in: Regenerated.
5516 2005-02-15 Michael Koch <konqueror@gmx.de>
5518 * gnu/java/awt/ClasspathToolkit.java:
5519 Import statements reworked.
5520 (imageCache): Made it of type java.util.HashMap.
5522 2005-02-15 Michael Koch <konqueror@gmx.de>
5524 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5525 Reworked import statements.
5527 2005-02-15 Graydon Hoare <graydon@redhat.com>
5529 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5530 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5533 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5535 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5538 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5541 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5542 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5543 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5545 Rewrite uses of extern variable to be function calls.
5546 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5547 function, from extern variable.
5548 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5549 (gdk_env): Remove variable, add new function.
5550 (java_vm): Add new variable.
5551 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5552 java_vm rather than old gdk_env variable.
5554 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5556 * javax/swing/DefaultListModel.java
5557 (add): fire correct event,
5558 (addElement): corrected interval indices in event,
5559 (clear): corrected upper bound for interval, only fire event if
5561 (setSize): fire appropriate event.
5563 2005-02-15 Graydon Hoare <graydon@redhat.com>
5565 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5566 * gnu/awt/xlib/XToolkit.java: Likewise.
5567 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5568 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5569 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5570 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5571 * java/awt/EventQueue.java (getNextEvent):
5572 Adjust event loop to switch to native mode after 100ms.
5573 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5575 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5576 Wake up event thread.
5577 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5578 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5579 Adjust event loop to switch to java mode after 100ms.
5581 2005-02-15 Graydon Hoare <graydon@redhat.com>
5583 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5584 accidentally removed in last change.
5586 2005-02-15 Michael Koch <konqueror@gmx.de>
5588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5589 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5591 2005-02-15 Graydon Hoare <graydon@redhat.com>
5593 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5594 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5595 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5596 * jni.cc: Reuse bottom frame between calls, avoid clearing
5597 frame when no local references are made.
5599 2005-02-15 Michael Koch <konqueror@gmx.de>
5601 * javax/swing/UIDefaults.java (UIDefaults):
5602 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5603 Fixed HTML entity and removed a redundant comma.
5605 2005-02-15 Michael Koch <konqueror@gmx.de>
5607 * javax/swing/text/DefaultEditorKit.java
5608 (deinstall): Removed.
5609 (install): Likewise.
5611 2005-02-15 Michael Koch <konqueror@gmx.de>
5613 * javax/swing/UIDefaults.java (put): Handle value of null.
5615 2005-02-15 Michael Koch <konqueror@gmx.de>
5617 * java/awt/Robot.java,
5618 java/awt/Scrollbar.java,
5619 java/awt/print/PrinterJob.java,
5620 javax/swing/JTable.java,
5621 javax/swing/text/AbstractDocument.java:
5622 Reworked import statements.
5624 2005-02-15 Michael Koch <konqueror@gmx.de>
5626 * javax/swing/JEditorPane.java
5627 (read): Implemented.
5629 * javax/swing/text/DefaultEditorKit.java
5630 (page): Renamed from page_url. Made private.
5631 (editorKit): Renamed from kit. Made private.
5633 (JEditorPane): All constructors reimplemented.
5634 (getContentType): Use content type from editor kit.
5635 (getEditorKit): Return editorKit.
5636 (getEditorKitForContentType):Likewise.
5637 (getPage): Return page.
5638 (setContentType): Reimplemented.
5639 (setEditorKit): Likewise.
5640 (setEditorKitForContentType): Removed wrong implementation.
5641 (setPage): Implemented.
5643 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5645 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5646 (nativeSetIconImageFromData): Re-add native implementation.
5648 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5650 * javax/swing/table/DefaultTableModel.java
5651 (DefaultTableModel()): Added Javadocs.
5652 (DefaultTableModel(int, int)): Fixed implementation.
5653 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5654 for negative rowCount.
5655 (DefaultTableModel(Object[], int)): Added Javadocs.
5656 (DefaultTableModel(Vector, Vector)): Likewise.
5657 (DefaultTableModel(Object[][], Object[])): Likewise.
5658 (getDataVector): Likewise.
5659 (setDataVector(Vector, Vector)): Likewise.
5660 (setDataVector(Object[][], Object[])): Likewise.
5661 (newDataAvailable): Likewise.
5662 (newRowsAdded): Likewise.
5663 (rowsRemoved): Likewise.
5664 (setColumnIdentifiers(Vector)): Allow for null argument.
5665 (setColumnIdentifiers(Object[])): Added Javadocs.
5666 (setNumRows): Likewise.
5667 (setRowCount): Adds new rows if necessary, and sends more specific
5669 (setColumnCount): Allow for null columnIdentifiers.
5670 (addColumn(Object)): Added Javadocs.
5671 (addColumn(Object, Vector)): Handle null columnData.
5672 (addColumn(Object, Object[])): Handle columnData with more or less
5673 entries than rows in the table.
5674 (addRow(Vector)): Fire appropriate event.
5675 (addRow(Object[])): Added Javadocs.
5676 (insertRow(int, Vector)): Fire appropriate event.
5677 (insertRow(int, Object[])): Added Javadocs.
5678 (moveRow): Reimplemented.
5679 (removeRow(int)): Fire appropriate event.
5680 (getColumnCount): Allow for null columnIdentifiers.
5681 (getColumnName): Now returns empty string when column index is too
5683 (isCellEditable): Added Javadocs.
5684 (getValueAt): Likewise.
5685 (setValueAt): Fire more specific event.
5686 (convertToVector): Added Javadocs.
5687 * javax/swing/table/TableModel.java
5690 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5692 * libgcj.spec.in (lib): Add -l-javax-imageio.
5694 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5696 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5697 references to event queue q with method call q().
5698 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5699 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5700 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5701 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5702 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5703 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5706 2005-02-15 Graydon Hoare <graydon@redhat.com>
5708 * gnu/java/awt/ClasspathToolkit.java
5709 (registerImageIOSpis): New method.
5710 * gnu/java/awt/image/ImageDecoder.java
5711 (imageDecoder): New constructor using InputStream
5712 (startProduction): Handle existing InputStream.
5713 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5714 (findSimpleIntegerArray): Make public and static.
5715 (updateBufferedImage): Set each pixel, in a loop.
5716 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5717 Implement ImageIO SPI classes.
5718 (createBufferedImage): Rewrite in terms of SPI classes.
5719 * gnu/java/awt/peer/gtk/GtkToolkit.java
5720 (registerImageIOSpis): New method.
5721 * java/lang/reflect/natMethod.cc
5722 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5723 which lets JNI call interface methods properly.
5724 * javax/imageio/ImageIO.java
5725 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5726 (WriterMIMETypeFilter.filter): Likewise.
5727 (ImageReaderIterator): Pass extension argument through to SPI.
5728 (getReadersByFilter): Likewise.
5729 (getWritersByFilter): Likewise.
5730 (getImageReadersByFormatName): Likewise.
5731 (getImageReadersByMIMEType): Likewise.
5732 (getImageReadersBySuffix): Likewise.
5733 (getImageWritersByFormatName): Likewise.
5734 (getImageWritersByMIMEType): Likewise.
5735 (getImageWritersBySuffix): Likewise.
5738 * javax/imageio/ImageReader.java
5739 (progressListeners): Initialize.
5740 (setInput): Implement.
5741 * javax/imageio/ImageWriter.java
5742 (progressListeners): Initialize.
5743 (warningListeners): Likewise.
5744 (warningLocales): Likewise.
5745 (setOutput): Test "isInstance" rather than class equality.
5746 * javax/imageio/spi/IIORegistry.java
5747 (static): Add reader and writer SPIs.
5748 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5750 (query_formats): New function.
5751 (save_to_stream): Likewise.
5752 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5754 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5756 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5758 (keyPress): Likewise.
5759 (keyRelease): Likewise.
5761 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5763 * javax/swing/JTable.java
5764 (columnAtPoint): New Method. Implemented.
5765 (rowAtPoint): Likewise.
5766 (countSelections): Fixed few small count errors.
5767 (getSelections): Likewise.
5768 (setSelectionMode): Set selection mode for column
5769 selection model in addition to row selection model.
5770 * javax/swing/plaf/basic/BasicTableUI.java:
5771 (getRowForPoint): Removed. Replaced by
5772 JTable.rowAtPoint().
5773 (getColForPoint): Removed. Replaced by
5774 JTable.columnAtPoint().
5775 (updateSelection): Updated to call JTable.columnAtPoint
5776 and JTable.rowAtPoint.
5777 * javax/swing/table/DefaultTableColumnModel.java:
5778 (getSelectedColumns): Implemented.
5779 (getSelectedColumnCount): Implemented.
5781 2005-02-15 Graydon Hoare <graydon@redhat.com>
5784 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5785 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5786 * Makefile.in: Regenerate.
5787 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5788 * gnu/awt/xlib/XFramePeer.java: Likewise.
5789 * gnu/awt/xlib/XToolkit.java: Likewise.
5790 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5791 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5792 * gnu/java/awt/ClasspathToolkit.java
5795 (iterateNativeQueue): New methods.
5796 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5797 * gnu/java/awt/peer/gtk/GtkToolkit.java
5798 (gtkInit): Absorb from defunct GtkMainThread class.
5799 (static): Run gtkInit in static startup block.
5800 (GtkToolkit): Remove construction of GtkMainThread and queue.
5801 (getSystemEventQueueImpl): Construct queue when requested.
5804 (iterateNativeQueue): New methods.
5805 * java/awt/Component.java (removeNotify): Remove race.
5806 * java/awt/EventDispatchThread.java
5807 (EventDispatchThread): Don't start on construction.
5808 (run): Remove isInterrupted check.
5809 * java/awt/EventQueue.java (shutdown): New flag.
5810 (isShutdown): New method checking J2SE shutdown condition.
5811 (setShutdown): New method.
5812 (getNextEvent): Restructure to use ClasspathToolkit.
5813 (postEvent): Activate new thread on posting, wake thread on
5814 post of possible shutdown condition event.
5815 * java/awt/Frame.java
5816 (Frame): Call noteFrame in all constructors.
5817 (fireDummyEvent): New helper method.
5818 (addNotify): Fire a dummy event to wake up queue.
5819 (removeNotify): Fire a dummy event to wake up queue.
5820 (noteFrame): New method.
5821 (weakFrames): New static field.
5822 (getFrames): Implement.
5823 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5825 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5826 Move everything from GtkMainThread into this file
5827 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5828 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5829 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5830 New functions to implement single-threaded queue semantics.
5832 2005-02-15 Michael Koch <konqueror@gmx.de>
5834 * javax/swing/plaf/metal/MetalLookAndFeel.java
5835 (getControlTextFont): New method.
5836 (getMenuTextFont): Likewise.
5837 (getSubTextFont): Likewise.
5838 (getSystemTextFont): Likewise.
5839 (getUserTextFont): Likewise.
5840 (getWindowTitleFont): Likewise.
5842 2005-02-15 Michael Koch <konqueror@gmx.de>
5844 * javax/swing/text/AbstractDocument.java
5845 (documentFilter): New field.
5846 (getDocumentFilter): New method.
5847 (setDocumentFilter): Likewise.
5850 2005-02-15 Michael Koch <konqueror@gmx.de>
5852 * javax/swing/JTree.java
5853 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5855 2005-02-15 Michael Koch <konqueror@gmx.de>
5857 * javax/swing/text/AbstractDocument.java
5858 (AbstractElement.getLength): Fixed off-by-one error.
5859 (AbstractElement.children): Made abstract.
5860 (AbstractElement.getAllowsChildren): Likewise.
5861 (AbstractElement.getElement): Likewise.
5862 (AbstractElement.dumpElement): New private method.
5863 (AbstractElement.dump): New method.
5864 (BranchElememt.getName): Fixed implementation.
5865 (BranchElememt.toString): Likewise.
5866 (BranchElememt.getElement): Fixed arguments.
5867 (LeafElement.getName): Fixed implementation.
5868 (LeafElement.toString): Likewise.
5869 * javax/swing/text/GapContent.java
5870 (GapContent): Put default content into buffer.
5871 * javax/swing/text/PlainDocument.java
5872 (reindex): Use empty attribute sets instead of null.
5873 (createDefaultRoot): Reimplemented.
5874 (insertUpdate): Call super method.
5875 (removeUpdate): Likewise.
5876 (getParagraphElement): Implemented.
5878 2005-02-15 Michael Koch <konqueror@gmx.de>
5880 * gnu/java/awt/ClasspathToolkit.java
5881 (createRobot): Throws java.awt.AWTException.
5882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5883 Added '__attribute__((unused))' to all unused method arguments.
5885 2005-02-15 Michael Koch <konqueror@gmx.de>
5887 * javax/swing/DefaultBoundedRangeModel.java
5888 (fireValueChanged): Fixed off-by-one error.
5890 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5892 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5893 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5895 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5896 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5897 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5898 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5899 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5900 (getDefaultScreenDevice): Implement.
5901 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5902 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5903 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5904 * java/awt/Robot.java: Implement.
5905 * java/awt/peer/RobotPeer.java: Rename parameters.
5906 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5907 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5908 (awt_keycode_to_keysym): Make non-static.
5909 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5910 AWT_BUTTON3_MASK): Declare constants.
5911 (awt_keycode_to_keysym): Declare.
5913 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5914 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5915 and is non-empty pass its value to "make check".
5916 (test_mauve_sim): Likewise.
5918 2005-02-15 Michael Koch <konqueror@gmx.de>
5920 * javax/imageio/IIOParam.java
5921 (setSourceBands): New method.
5922 (setSourceSubsampling): Likewise.
5923 * javax/imageio/ImageReadParam.java
5924 (setDestination): Likewise.
5925 (setDestinationBands): Likewise.
5926 (setSourceProgressivePasses): Likewise.
5927 * javax/imageio/metadata/IIOInvalidTreeException.java
5928 (serialVersionUID): New static field.
5929 * javax/imageio/metadata/IIOMetadataNode.java
5930 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5931 (parent): Dont initailize with default value explicitely.
5933 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5934 (removeAttributeNode): Likewise.
5935 (removeAttributeNS): Likewise.
5936 (setAttribute): Likewise.
5937 (setAttributeNode): Likewise.
5938 (setAttributeNodeNS): Likewise.
5939 (setAttributeNS): Likewise.
5940 (appendChild): Likewise.
5941 (getNodeValue): Likewise.
5942 (insertBefore): Likewise.
5943 (removeChild): Likewise.
5944 (replaceChild): Likewise.
5945 (setPrefix): Likewise.
5947 2005-02-15 Michael Koch <konqueror@gmx.de>
5949 * javax/swing/LookAndFeel.java
5950 (getDesktopPropertyValue): New method.
5952 2005-02-15 Michael Koch <konqueror@gmx.de>
5954 * javax/swing/JTree.java
5955 (hasChildren): New instance field.
5957 2005-02-15 Michael Koch <konqueror@gmx.de>
5959 * javax/swing/JComponent.java
5960 (getToolTipText): New method.
5961 (getTitledBorderText): Likewise.
5962 (getAccessibleKeyBinding): Likewise.
5963 (getVerifyInputWhenFocusTarget): Likewise.
5964 (setVerifyInputWhenFocusTarget): Likewise.
5965 (verifyInputWhenFocusTarget): New instance field.
5967 2005-02-15 Michael Koch <konqueror@gmx.de>
5969 * javax/swing/DefaultListSelectionModel.java
5970 (fireValueChanged): New method.
5972 2005-02-15 Michael Koch <konqueror@gmx.de>
5974 * javax/swing/DefaultBoundedRangeModel.java:
5975 Fixed javadocs all over.
5976 (fireStateChanged): Simplified.
5977 * javax/swing/BoundedRangeModel.java:
5980 2005-02-15 Michael Koch <konqueror@gmx.de>
5982 * javax/swing/JRootPane.java
5983 (setMenuBar): Added @deprecated tag.
5984 (getMenuBar): Likewise.
5985 * javax/swing/JTable.java
5986 (sizeColumnsToFit): Likewise.
5988 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5990 * javax/swing/ImageIcon.java (setImage): Implemented.
5992 2005-02-15 Michael Koch <konqueror@gmx.de>
5994 * javax/swing/JTable.java:
5995 Removed unused imports.
5997 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5999 (prepareRenderer): Get column's index in dataModel instead
6000 of column's view index.
6001 (getColumnCount): return count of the columns in ColumnModel,
6003 (removeColumn): Implemented.
6004 (moveColumm): Likewise.
6005 (setRowHeight): throw IllegalArgumentException if height is
6007 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6008 (DefaultTableColumnModel):Add call to createSelectionModel().
6009 (addColumn): Fire columnAdded event to registered listeners.
6010 (removeColumn): Fire columnRemoved event to registered listeners.
6011 (moveColumn): Fire columnMoved event to registered listeners.
6012 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6013 (getColumnIndex): Changed parameter name.
6014 (setColumnSelectionAllowed): Likewise.
6015 (fireColumnAdded): Implemented.
6016 (fireColumnRemoved): Likewise.
6017 (fireColumnMoved): Likewise.
6018 (fireColumnMarginChanged): Likewise.
6019 (getListeners): Changed parameter name.
6020 (propertyChange): Implemented.
6021 (valueChanged): Changed parameter name.
6022 (createSelectionModel): Implemented.
6024 2005-02-15 Michael Koch <konqueror@gmx.de>
6026 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6027 Explicitely import used classes.
6028 (getLocalGraphicsEnvironment): Simplify.
6029 * java/awt/Window.java (Window):
6030 Enable code to get the default GraphicsConfiguration.
6032 2005-02-15 Michael Koch <konqueror@gmx.de>
6034 * javax/swing/plaf/metal/DefaultMetalTheme.java
6035 (CONTROL_TEXT_FONT): New static field.
6036 (MENU_TEXT_FONT): Likewise.
6037 (SUB_TEXT_FONT): Likewise.
6038 (SYSTEM_TEXT_FONT): Likewise.
6039 (USER_TEXT_FONT): Likewise.
6040 (WINDOW_TITLE_FONT): Likewise.
6041 (getControlTextFont): New method.
6042 (getMenuTextFont): Likewise.
6043 (getSubTextFont): Likewise.
6044 (getSystemTextFont): Likewise.
6045 (getUserTextFont): Likewise.
6046 (getWindowTitleFont): Likewise.
6047 * javax/swing/plaf/metal/MetalTheme.java
6048 (BLACK): Initialize with Color.BLACK.
6049 (WHITE): Initialize with Color.WHITE.
6050 (getInactiveControlTextColor): Return getControlDisabled().
6051 (getMenuDisabledForeground): Return getSecondary3().
6052 (getControlTextFont): New abstract method.
6053 (getMenuTextFont): Likewise.
6054 (getSubTextFont): Likewise.
6055 (getSystemTextFont): Likewise.
6056 (getUserTextFont): Likewise.
6057 (getWindowTitleFont): Likewise.
6059 2005-02-15 Michael Koch <konqueror@gmx.de>
6061 * javax/swing/JFormattedTextField.java
6062 (getFocusLostBehavior): Fixed typo in method name.
6063 (setFocusLostBehavior): Likewise.
6065 2005-02-15 Michael Koch <konqueror@gmx.de>
6067 * javax/swing/TransferHandler.java:
6068 Reworked import statements.
6070 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6072 * java/awt/Button.java,
6073 java/awt/Canvas.java,
6074 java/awt/Checkbox.java,
6075 java/awt/CheckboxMenuItem.java,
6076 java/awt/Choice.java,
6077 java/awt/Dialog.java,
6078 java/awt/Frame.java,
6079 java/awt/Label.java,
6082 java/awt/MenuBar.java,
6083 java/awt/MenuItem.java,
6084 java/awt/PopupMenu.java,
6085 java/awt/ScrollPane.java,
6086 java/awt/Scrollbar.java,
6087 java/awt/TextArea.java,
6088 java/awt/Window.java (getAccessibleContext): Clean up comments.
6090 * java/awt/Button.java,
6091 java/awt/Checkbox.java,
6092 java/awt/Choice.java,
6094 java/awt/PopupMenu.java,
6095 java/awt/TextArea.java (getAccessibleContext): Only create new
6097 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6099 2005-02-15 Michael Koch <konqueror@gmx.de>
6101 * java/awt/Button.java,
6102 javax/swing/JApplet.java,
6103 javax/swing/JFormattedTextField.java,
6104 javax/swing/JWindow.java,
6105 javax/swing/JTree.java,
6106 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6107 javax/swing/plaf/basic/BasicTextPaneUI.java,
6108 javax/swing/plaf/basic/BasicTreeUI.java:
6109 Reworked import statements.
6111 2005-02-15 Michael Koch <konqueror@gmx.de>
6113 * Makefile.am: Put javax.imageio into its own library and link it
6114 against lib-org-w3c-dom.la to fix bootstrapping.
6115 * Makefile.in: Regenerated.
6117 2005-02-15 Michael Koch <konqueror@gmx.de>
6119 * javax/swing/text/TextAction.java
6120 (getTextComponent): Simplified. Added Javadoc.
6121 (augmentList): Implemented. Added Javadoc.
6122 (getFocusedComponent): Added javadoc.
6124 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6126 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6127 getAccessibleContext): Implement.
6128 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6129 getAccessibleContext): Implement.
6131 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6133 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6135 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6137 * java/awt/Window.java (getAccessibleContext): Fix comment.
6138 Remove extra import.
6140 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6142 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6143 (isActive, isFocused, getAccessibleContext): Implement.
6145 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6147 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6148 * java/awt/MenuComponent.java (accessibleContext): Make package
6150 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6151 AccessibleAWTCheckboxMenuItem): Implement.
6153 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6155 * java/awt/List.java: Implement AccessibleAWTList,
6156 AccessibleAWTListChild.
6158 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6160 * java/awt/Choice.java: Add implements declaration for
6163 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6165 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6168 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6170 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6171 implemented interface list.
6173 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6175 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6176 * javax/imageio/metadata/IIOAttr.java: New class.
6177 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6178 * javax/imageio/metadata/IIONodeList.java: New class.
6179 * Makefile.am: Added new files.
6180 * Makefile.in: Regenerated.
6182 2005-02-15 Michael Koch <konqueror@gmx.de>
6184 * javax/swing/AbstractAction.java,
6185 javax/swing/AbstractCellEditor.java,
6186 javax/swing/AbstractListModel.java,
6187 javax/swing/DefaultBoundedRangeModel.java,
6188 javax/swing/DefaultButtonModel.java,
6189 javax/swing/DefaultCellEditor.java,
6190 javax/swing/DefaultComboBoxModel.java,
6191 javax/swing/DefaultDesktopManager.java,
6192 javax/swing/JMenu.java,
6193 javax/swing/JSlider.java,
6194 javax/swing/KeyStroke.java,
6195 javax/swing/OverlayLayout.java,
6196 javax/swing/ScrollPaneLayout.java,
6197 javax/swing/SizeRequirements.java,
6198 javax/swing/ViewportLayout.java:
6199 Made serialVersionUID private.
6201 2005-02-15 Michael Koch <konqueror@gmx.de>
6203 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6206 2005-02-15 Michael Koch <konqueror@gmx.de>
6208 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6210 2005-02-15 Michael Koch <konqueror@gmx.de>
6212 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6214 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6216 * java/awt/EventDispatchThread.java,
6217 java/awt/Toolkit.java:
6218 Don't catch java.lang.ThreadDeath.
6220 2005-02-15 Michael Koch <konqueror@gmx.de>
6222 * javax/swing/text/PasswordView.java
6223 (drawEchoCharacter): Added javadoc.
6224 (drawSelectedText): Likewise.
6225 (drawUnselectedText): Likewise.
6227 2005-02-15 Michael Koch <konqueror@gmx.de>
6229 * javax/swing/JRootPane.java
6230 (windowDecorationStyle): New field.
6231 (setMenuBar): New method.
6232 (getMenuBar): Likewise.
6233 (getWindowDecorationStyle): Likewise.
6234 (setWindowDecorationStyle): Likewise.
6236 2005-02-15 Michael Koch <konqueror@gmx.de>
6238 * javax/swing/DefaultListSelectionModel.java
6239 (leadAnchorNotificationEnabled): Made protected.
6241 2005-02-15 Michael Koch <konqueror@gmx.de>
6243 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6244 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6245 * Makefile.in: Regenerated.
6248 2005-02-15 Michael Koch <konqueror@gmx.de>
6250 * javax/swing/JFormattedTextField.java: Implemented.
6251 * javax/swing/JWindow.java
6252 (JWindow): New constructors.
6253 (initWindow): Renamed from initFrame.
6254 * javax/swing/UIDefaults.java
6255 (ActiveValue): Made interface static.
6256 (LazyValue): Likewise.
6257 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6258 (TitlePaneLayout.TitlePaneLayout): New constructor.
6259 * javax/swing/plaf/basic/BasicSliderUI.java
6260 (ChangeHandler): Made public.
6261 (FocusHandler): Likewise.
6262 (PropertyChangeHandler): Likewise.
6263 (ScrollListener): Likewise.
6264 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6265 (FocusHandler): Likewise.
6266 (MouseHandler): Likewise.
6267 * javax/swing/plaf/basic/BasicTextPaneUI.java
6268 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6269 * javax/swing/plaf/basic/BasicToolBarUI.java
6270 (BasicToolBarUI): Simplified. Reworked javadoc.
6271 (canDock): Simplified. Make public.
6272 (DockingListener): Made public.
6273 * javax/swing/text/JTextComponent.java
6274 (navigationFilter): New field.
6275 (getNavigationFilter): New method.
6276 (setNavigationFilter): Likewise.
6278 2005-02-15 Michael Koch <konqueror@gmx.de>
6280 * javax/swing/plaf/metal/MetalTheme.java
6281 (getControlTextColor): Return getControlInfo().
6282 (getHighlightedTextColor): Return getControlTextColor().
6284 2005-02-15 Michael Koch <konqueror@gmx.de>
6286 * javax/swing/plaf/basic/BasicButtonListener.java
6287 (BasicButtonListener): New constructor.
6288 * javax/swing/plaf/basic/BasicButtonUI.java
6289 (createButtonListener): Usw new BasicButtonListener constructor.
6291 2005-02-15 Michael Koch <konqueror@gmx.de>
6293 * javax/imageio/event/package.html,
6294 javax/imageio/metadata/package.html: New files.
6296 2005-02-15 Michael Koch <konqueror@gmx.de>
6298 * java/awt/image/MemoryImageSource.java: Reformatted.
6300 2005-02-15 Michael Koch <konqueror@gmx.de>
6302 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6304 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6306 * java/awt/color/ICC_Profile.java
6307 (finalize): Removed pointless field assignments.
6309 2005-02-15 Michael Koch <konqueror@gmx.de>
6311 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6312 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6313 * Makefile.in: Regenerated.
6315 2005-02-15 Michael Koch <konqueror@gmx.de>
6317 * javax/swing/text/DefaultStyledDocument.java: New file.
6318 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6319 * Makefile.in: Regenerated.
6321 2005-02-15 Michael Koch <konqueror@gmx.de>
6323 * javax/swing/JFileChooser.java
6324 (showDialog): Return CANCEL_OPTION for now.
6325 (showOpenDialog): Likewise.
6326 (showSaveDialog): Likewise.
6328 2005-02-15 Michael Koch <konqueror@gmx.de>
6330 * javax/swing/JApplet.java
6331 (HIDE_ON_CLOSE): Removed.
6332 (EXIT_ON_CLOSE): Likewise.
6333 (DISPOSE_ON_CLOSE): Likewise.
6334 (DO_NOTHING_ON_CLOSE): Likewise.
6335 (close_action): Likewise.
6336 (getDefaultCloseOperation): Likewise.
6337 (setDefaultCloseOperation): Likewise.
6338 (processWindowEvent): Likewise.
6339 (getPreferredSize): Simplified.
6340 * javax/swing/JInternalFrame.java
6341 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6343 * javax/swing/JWindow.java
6344 (HIDE_ON_CLOSE): Removed.
6345 (EXIT_ON_CLOSE): Likewise.
6346 (DISPOSE_ON_CLOSE): Likewise.
6347 (DO_NOTHING_ON_CLOSE): Likewise.
6348 (close_action): Likewise.
6349 (processKeyEvent): Likewise.
6350 (setDefaultCloseOperation): Likewise.
6351 (getPreferredSize): Simplified.
6353 2005-02-15 Michael Koch <konqueror@gmx.de>
6355 * javax/swing/JTextField.java
6356 (getPreferredSize): Re-implemented.
6358 2005-02-15 Michael Koch <konqueror@gmx.de>
6360 * javax/swing/JLabel.java
6361 (setDisplayedMnemonic): Use only upper case characters.
6362 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6363 PropertyChangeEvent after property got set to the new index.
6365 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6367 * javax/swing/JComboBox.java:
6368 (JComboBox): Removed selection of the
6369 first item in the model.
6371 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6373 * javax/swing/JComboBox.java
6374 added support for no item being selected
6375 (JComboBox): select first or nothing depending on element count
6376 (setModel): cleaned up unneeded "this." usage, added more
6377 docs, made exception behavior match that of the JDK
6378 (setLighWeightPopupEnabled): removed unneeded "this." usage
6380 (setMaximumRowCount): dito
6382 (setPrototypeDisplayValue): dito
6383 (getSelectedItem): simplified, added more user doc
6384 (setSelectedIndex): corrected exception behavior, added more user doc
6385 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6386 added performance warning to user doc
6387 (addItem): fixed exception behavior, added user doc
6388 (insertItemAt): dito
6390 (removeItemAt): dito
6391 (removeAll): fixed exception behavior, added user doc, added support
6392 for model not being instance of DefaultComboBoxModel
6393 (getSelectedItemObjects): simplified
6394 (getItemCount): fixed dependency on DefaultComboBoxModel
6395 (getItemAt): fixed dependency on MutableComboBoxModel
6396 * javax/swing/DefaultComboBoxModel.java:
6397 (setSelectedItem): updates selected item only if new
6398 value is null or known (match JDK behavior)
6399 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6400 (paintCurrentValue): renders "" if no item is selected
6402 2005-02-15 Michael Koch <konqueror@gmx.de>
6404 * javax/swing/plaf/metal/MetalTheme.java,
6405 javax/swing/plaf/metal/DefaultMetalTheme.java:
6407 * javax/swing/plaf/metal/MetalLookAndFeel.java
6408 * Makefile.am: Added the new files.
6409 * Makefile.in: Regenerated.
6411 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6413 * javax/swing/JTable.java
6414 (editorComp): New field.
6415 (JTable): Initialize local variables and call updateUI
6416 (selectionBackground): Make protected.
6417 (selectionForeground): Likewise.
6418 (initializeLocalVars): Create default editors and renderers,
6419 initialize editingColumn, editingRow variables.
6420 (createDefaultEditors): New Method.
6421 (createDefaultRenderers): Likewise.
6422 (createDefaultListSelectionModel): Removed
6423 (createDefaultSelectionModel): New Method.
6424 (createDefaultTableHeader): Likewise
6425 (removeColumn): Likewise.
6426 (getEditingColumn): Likewise.
6427 (setEditingColumn): Likewise.
6428 (getEditingRow): Likewise.
6429 (setEditingRow): Likewise.
6430 (getEditorComponent): Likewise.
6431 (isEditing): Likewise.
6432 (setDefaultEditor): Likewise.
6433 (addColumnSelectionInterval): Likewise.
6434 (addRowSelectionInterval): Likewise.
6435 (setColumnSelectionInterval): Likewise.
6436 (setRowSelectionInterval): Likewise.
6437 (removeColumnSelectionInterval): Likewise.
6438 (removeRowSelectionInterval): Likewise.
6439 (isColumnSelected): Likewise.
6440 (isRowSelected): Likewise.
6441 (isCellSelected): Likewise.
6442 (selectAll): Likewise.
6444 2005-02-15 Michael Koch <konqueror@gmx.de>
6446 * javax/swing/JTable.java
6447 (addColumn): New method.
6448 (getColumnClass): Likewise.
6449 (getColumnName): Likewise.
6451 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6453 * javax/swing/TransferHandler.java
6454 (createTransferable): Made protected.
6456 2005-02-15 Michael Koch <konqueror@gmx.de>
6458 * javax/swing/JTable.java,
6459 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6460 javax/swing/plaf/basic/BasicTableUI.java:
6461 Use fixed get/setIntercellSpacing() methods.
6463 2005-02-15 Michael Koch <konqueror@gmx.de>
6465 * javax/swing/JTable.java
6466 (getIntercellSpacing): Fixed typo in method name.
6467 (setIntercellSpacing): Likewise.
6469 2005-02-15 Michael Koch <konqueror@gmx.de>
6471 * javax/swing/text/JTextComponent.java
6472 (focusAccelerator): New variable.
6473 (getFocusAccelerator): New method.
6474 (setFocusAccelerator): Likewise.
6476 2005-02-15 Michael Koch <konqueror@gmx.de>
6478 * javax/swing/JComponent.java
6479 (setTransferHandler): Made public. Fire property change event.
6480 * javax/swing/TransferHandler.java: Implemented.
6481 * javax/swing/text/JTextComponent.java
6482 (DefaultTransferHandler): New inner class.
6483 (defaultTransferHandler): New variable.
6487 (doTransferAction): Likewise.
6489 2005-02-15 Michael Koch <konqueror@gmx.de>
6491 * javax/swing/JTree.java
6492 (collapsePath): New method.
6493 (collapseRow): Likewise.
6494 (expandPath): Likewise.
6495 (expandRow): Likewise.
6496 (checkExpandParents): Likewise.
6497 (doExpandParents): Likewise.
6498 (setExpandedState): Likewise.
6499 (makeVisible): Likewise.
6501 2005-02-15 Michael Koch <konqueror@gmx.de>
6503 * javax/swing/JPasswordField.java: Updated javadocs.
6505 2005-02-15 Michael Koch <konqueror@gmx.de>
6507 * javax/swing/JLayeredPane.java
6508 (getLayer): Fixed return type, made public.
6509 (getPosition): Use new getLayer().
6510 (SetPosition): Likewise.
6511 (getIndexOf): Likewise.
6513 * javax/swing/JInternalFrame.java
6514 (getLayer): Use new JLayeredPane.getLayer().
6517 2005-02-15 Michael Koch <konqueror@gmx.de>
6519 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6520 (setHeaderValue): Simplified. Do nothing when old value == new value.
6522 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6524 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6525 against null clip region.
6526 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6527 gtkWindowSetResizable.
6528 (postConfigureEvent): Only revalidate if frame size has changed.
6529 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6530 Only revalidate if frame size has changed.
6531 * java/awt/Component.java (reshape): Only repaint and post
6532 component events if component is showing.
6533 * java/awt/Container.java (addImpl): Only post container event if
6534 container is showing.
6536 * java/awt/Window.java (setLocationRelativeTo): Implement.
6537 (setBoundsCallback): Only post component events if component is
6539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6540 Protect against null graphics structure. Flush gdk event queue.
6542 2005-02-15 Michael Koch <konqueror@gmx.de>
6544 * javax/imageio/ImageReader.java,
6545 javax/imageio/ImageTranscoder.java,
6546 javax/imageio/ImageWriter.java,
6547 javax/imageio/spi/ImageInputStreamSpi.java,
6548 javax/imageio/spi/ImageOutputStreamSpi.java,
6549 javax/imageio/spi/ServiceRegistry.java,
6550 javax/imageio/stream/ImageInputStream.java,
6551 javax/imageio/stream/ImageOutputStream.java: Updated.
6552 * javax/imageio/IIOException.java,
6553 javax/imageio/IIOImage.java,
6554 javax/imageio/IIOParam.java,
6555 javax/imageio/IIOParamController.java,
6556 javax/imageio/ImageIO.java,
6557 javax/imageio/ImageReadParam.java,
6558 javax/imageio/ImageTypeSpecifier.java,
6559 javax/imageio/ImageWriteParam.java,
6560 javax/imageio/spi/IIORegistry.java,
6561 javax/imageio/spi/ImageReaderSpi.java,
6562 javax/imageio/spi/ImageWriterSpi.java,
6563 javax/imageio/stream/FileCacheImageInputStream.java,
6564 javax/imageio/stream/FileCacheImageOutputStream.java,
6565 javax/imageio/stream/FileImageInputStream.java,
6566 javax/imageio/stream/FileImageOutputStream.java,
6567 javax/imageio/stream/ImageInputStreamImpl.java,
6568 javax/imageio/stream/ImageOutputStreamImpl.java,
6569 javax/imageio/stream/MemoryCacheImageInputStream.java,
6570 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6571 javax/imageio/event/IIOReadProgressListener.java,
6572 javax/imageio/event/IIOReadUpdateListener.java,
6573 javax/imageio/event/IIOReadWarningListener.java,
6574 javax/imageio/event/IIOWriteProgressListener.java,
6575 javax/imageio/event/IIOWriteWarningListener.java,
6576 javax/imageio/metadata/IIOMetadata.java,
6577 javax/imageio/metadata/IIOMetadataController.java,
6578 javax/imageio/metadata/IIOMetadataFormat.java,
6579 javax/imageio/metadata/IIOInvalidTreeException.java,
6580 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6581 javax/imageio/metadata/IIOMetadataNode.java: New files.
6582 * Makefile.am (javax_source_files): Added new files
6583 * Makefile.in: Regenerated.
6585 2005-02-15 Graydon Hoare <graydon@redhat.com>
6587 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6588 Rework painting into BufferedImages
6589 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6590 Construct BufferedImage with alpha only when alpha is
6591 present in colormodel.
6592 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6593 Rework painting into client-side jint arrays.
6594 * jni/gtk-peer/gtkcairopeer.h:
6597 2005-02-15 Michael Koch <konqueror@gmx.de>
6599 * javax/swing/DefaultListCellRenderer.java
6600 (serialVersionUID): Made private.
6601 (getListCellRendererComponent): Set horizontal alignment.
6602 * javax/swing/JLabel.java
6603 (setVerticalAlignment): Re-implemented.
6604 (setHorizontalAlignment): Do nothing if old value = new value.
6605 * javax/swing/JList.java
6606 (setCellRenderer): Likewise.
6607 (setModel): Re-implemented.
6608 (setSelectionModel): Likewise.
6610 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6612 * java/awt/Component.java,
6613 java/awt/geom/Rectangle2D.java:
6616 2005-02-15 Michael Koch <konqueror@gmx.de>
6618 * javax/swing/AbstractListModel.java
6619 (fireContentsChanged): Simplified.
6620 (fireIntervalAdded): Likewise.
6621 (fireIntervalRemoved): Likewise.
6622 * javax/swing/DefaultSingleSelectionModel.java:
6624 (fireStateChanged): Simplified.
6625 * javax/swing/JPopupMenu.java
6626 (setSelectionModel): Set property.
6628 2005-02-15 Michael Koch <konqueror@gmx.de>
6630 * java/awt/print/Book.java: Reformatted.
6632 2005-02-15 Michael Koch <konqueror@gmx.de>
6634 * java/awt/geom/Area.java
6635 (QuadSegment.curveArea): Remove unused variables.
6636 (CubicSegment.curveArea): Likewise.
6638 2005-02-15 Michael Koch <konqueror@gmx.de>
6640 * javax/swing/JTree.java
6641 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6642 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6643 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6644 (EXPANDED): New constant.
6645 (COLLAPSED): Likewise.
6646 (nodeStates): New field.
6647 (cellEditor): New method.
6648 (cellRenderer): Likewise.
6649 (selectionModel): Likewise.
6650 (treeModel): Likewise.
6651 (scrollPathToVisible): Likewise.
6652 (scrollRowToVisible): Likewise.
6653 (isCollapsed): Likewise.
6654 (isExpanded): Likewise.
6655 (clearToggledPaths): Likewise.
6656 (getDescendantToggledPaths): Likewise.
6657 (hasBeenExpanded): Likewise.
6658 (isVisible): Likewise.
6659 (isPathEditable): Likewise.
6661 2005-02-15 Michael Koch <konqueror@gmx.de>
6663 * javax/swing/JLayeredPane.java: Reformatted.
6665 2005-02-15 Michael Koch <konqueror@gmx.de>
6667 * javax/swing/tree/DefaultMutableTreeNode.java:
6669 * javax/swing/tree/MutableTreeNode.java:
6672 2005-02-15 Michael Koch <konqueror@gmx.de>
6674 * javax/swing/JFormattedTextField.java
6675 (setDocument): Call setDocument of super class. Don't fire property
6678 2005-02-15 Sven de Marothy <sven@physto.se>
6680 * java/awt/image/IndexColorModel.java:
6681 Add FIXME with respect to alpha handling.
6682 (getAlpha): Default to returning opaque pixels.
6683 * java/awt/image/MultiPixelPackedSampleModel.java
6684 (MultiPixelPackedSampleModel): Corrected parameters, order of
6685 bit shifts and masks, stride length off by one.
6687 2005-02-15 Michael Koch <konqueror@gmx.de>
6689 * javax/swing/JList.java, javax/swing/JTree.java:
6690 Added much new methods and fixed much methods setting bound properties.
6692 2005-02-16 Mark Wielaard <mark@klomp.org>
6694 * Makefile.am (gnu_xml_source_files): Removed
6695 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6696 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6697 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6698 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6699 gnu/xml/dom/DomDocumentFragment.java,
6700 gnu/xml/dom/DomProcessingInstruction.java and
6701 gnu/xml/dom/ls/DomLSException.java.
6702 * Makefile.in: Regenerated.
6704 2005-02-16 Tom Tromey <tromey@redhat.com>
6706 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6707 attribute index is out of bounds.
6709 2005-02-16 Chris Burdess <dog@gnu.org>
6711 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6712 isDeclared methods. Improved performance of isSpecified methods.
6714 2005-02-16 Chris Burdess <dog@gnu.org>
6716 Fixes bug libgcj/19864
6717 * gnu/xml/dom/DomAttr.java,
6718 gnu/xml/dom/DomCDATA.java,
6719 gnu/xml/dom/DomCDATASection.java,
6720 gnu/xml/dom/DomCharacterData.java,
6721 gnu/xml/dom/DomDOMException.java,
6722 gnu/xml/dom/DomDoctype.java,
6723 gnu/xml/dom/DomDocument.java,
6724 gnu/xml/dom/DomDocumentConfiguration.java,
6725 gnu/xml/dom/DomDocumentFragment.java,
6726 gnu/xml/dom/DomElement.java,
6727 gnu/xml/dom/DomEx.java,
6728 gnu/xml/dom/DomFragment.java,
6729 gnu/xml/dom/DomImpl.java,
6730 gnu/xml/dom/DomIterator.java,
6731 gnu/xml/dom/DomNamedNodeMap.java,
6732 gnu/xml/dom/DomNode.java,
6733 gnu/xml/dom/DomNsNode.java,
6734 gnu/xml/dom/DomPI.java,
6735 gnu/xml/dom/DomProcessingInstruction.java,
6736 gnu/xml/dom/DomText.java,
6737 gnu/xml/dom/DomLSEx.java,
6738 gnu/xml/dom/DomLSException.java,
6739 gnu/xml/dom/DomLSParser.java,
6740 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6741 implementation class names to conform to Classpath guidelines. Make
6742 DomLSException use JDK 1.4+ exception chaining.
6743 * gnu/xml/util/SAXNullTransformerFactory.java,
6744 gnu/xml/xpath/Predicate.java: Use constants relative to
6745 declaring class or interface.
6747 2005-02-16 Andrew Haley <aph@redhat.com>
6749 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6750 null, create a new AccessControlContext.
6751 * java/security/SecureClassLoader.java (protectionDomainCache):
6753 (defineClass): Create a new protection domain and add it to our
6756 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6757 addStub() to keep track of the stub we've exported.
6758 (unexportObject): Call deleteStub().
6759 * java/rmi/server/RemoteObject.java (stubs): New field.
6760 (addStub): New method.
6761 (deleteStub): New method.
6764 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6765 true to findHelper (tryParents).
6766 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6768 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6769 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6771 If tryParents is false, don't scan parent class loaders.
6773 * java/security/Permissions.java (PermissionsHash.implies):
6774 Iterate over the collection and invoke implies() on each
6777 2005-02-16 Andrew Haley <aph@redhat.com>
6779 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6781 (PersistentByteMap): Set name
6782 Magic number changed to 0x67636a64 ("gcjd").
6783 (init): Force the map to be prime.
6784 (emptyPersistentByteMap): File name was a string, now a File.
6785 (addBytes): Share srings between entries.
6786 (stringTableSize): New method.
6787 (capacity): Scale by load factor.
6788 (force): New method.
6789 (getFile): New method.
6790 (close): New method.
6791 (putAll): New method.
6792 (ByteWrapper): New class.
6793 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6794 (main): Guess the average string size as 32, not 64.
6795 Copy a database before modifying it, so that we can update a
6796 database in a running system.
6797 If a database isn't big enough, resize it.
6798 "-m": new option: merges databases.
6799 "-a": Create a new detabase if it doesn't exist.
6800 (usage): Correct, add new option.
6801 (addJar): Copy a database before modifying it.
6802 (resizeMap): New method.
6804 2005-02-15 David Daney <ddaney@avtrex.com>
6805 Bryce McKinlay <mckinlay@redhat.com>
6807 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6808 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6809 ensure that GC threads inherit the new signal mask.
6810 (block_sigchld): Call JvFail rather than throwing exception if
6811 pthread_sigmask() fails.
6813 2005-02-15 Mark Wielaard <mark@klomp.org>
6815 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6816 file path elements are separated by spaces.
6818 2005-02-15 Mark Wielaard <mark@klomp.org>
6820 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6821 to describe attributes without a constant field value in this class.
6823 2005-02-15 Michael Koch <konqueror@gmx.de>
6825 * java/util/jar/Attributes.java
6826 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6828 2005-02-15 Mark Wielaard <mark@klomp.org>
6830 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6831 space for parsing CLASS_PATH attribute.
6833 2005-02-15 Mark Wielaard <mark@klomp.org>
6835 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6836 aside for "GCJLIBS" in directory where jarfiles are loaded.
6837 (JarURLLoader.getClass): Removed method.
6838 (JarURLLoader.toString): Removed method.
6839 (FileResource.toString): Removed method.
6841 2005-02-15 Mark Wielaard <mark@klomp.org>
6843 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6844 and/or cause before throwing.
6846 2005-02-15 Richard Henderson <rth@redhat.com>
6848 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6849 (libgcj0_convenience_la_SOURCES): ... here.
6850 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6851 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6852 * Makefile.in: Regenerate.
6854 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6857 * include/jawt.h: Likewise.
6858 * include/jawt_md.h: Likewise.
6859 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6861 * include/Makefile.in: Regenerate.
6862 * jni/classpath/classpath_jawt.h: Likewise.
6863 * jni/gtk-peer/gtk_jawt.c: Likewise.
6864 * Makefile.am: Build libjawt.so.
6865 * Makefile.in: Regenerate.
6867 2005-02-14 Tom Tromey <tromey@redhat.com>
6869 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6871 2005-02-14 Tom Tromey <tromey@redhat.com>
6873 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6874 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6876 2005-02-14 Tom Tromey <tromey@redhat.com>
6879 * testsuite/libjava.lang/PR19929.out: New file.
6880 * testsuite/libjava.lang/PR19929.java: New file.
6882 2005-02-14 Anthony Green <green@redhat.com>
6885 * testsuite/libjava.jni/PR18116.c: New file.
6886 * testsuite/libjava.jni/PR18116.java: New file.
6887 * testsuite/libjava.jni/PR18116.out: New file.
6889 2005-02-13 Anthony Green <green@redhat.com>
6892 * jni.cc (nathash_add): Don't strdup the method signature.
6893 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6897 2005-02-12 Mark Wielaard <mark@klomp.org>
6899 Fixes bug libgcj/8170
6900 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6901 ClassNotFoundException.
6902 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6903 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6904 (remove_internal): New field superceding remove_interpreter.
6905 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6906 Remove no-class methods starting with "_Jv_". And Replace null
6907 class or method names with the empty string. Stop at either the
6908 MainThread or a real Thread run() method.
6909 (newElement): Made static.
6910 * java/net/URLClassLoader.java (findClass): Throw
6911 ClassNotFoundExceptions including urls, plus parent using toString().
6912 (thisString): New field.
6913 (toString): New method.
6915 2005-02-10 Tom Tromey <tromey@redhat.com>
6917 * external/sax/Makefile.in: Rebuilt.
6918 * external/sax/Makefile.am (all-local): Removed.
6919 (BUILT_SOURCES): New variable.
6920 (mostlyclean-local): No error if no classes to delete.
6921 * external/w3c_dom/Makefile.in: Rebuilt.
6922 * external/w3c_dom/Makefile.am (all-local): Removed.
6923 (BUILT_SOURCES): New variable.
6924 (mostlyclean-local): No error if no classes to delete.
6926 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6928 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6929 of mauve and libjava.
6931 2005-02-09 Tom Tromey <tromey@redhat.com>
6933 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6934 jar file with OPEN_DELETE.
6935 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6936 OPEN_DELETE is used.
6938 2005-02-09 Tom Tromey <tromey@redhat.com>
6940 * java/util/zip/InflaterInputStream.java (markSupported):
6942 (mark, reset): Likewise.
6944 2005-02-08 Tom Tromey <tromey@redhat.com>
6946 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6947 name or port is missing.
6948 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6949 AUTHORITY_PORT_GROUP): Updated.
6951 2005-02-08 Tom Tromey <tromey@redhat.com>
6953 * configure: Rebuilt.
6954 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6957 2005-02-07 Tom Tromey <tromey@redhat.com>
6959 * java/lang/natRuntime.cc (insertSystemProperties): Set
6960 sun.boot.class.path earlier.
6962 2005-02-07 Tom Tromey <tromey@redhat.com>
6964 * defineclass.cc (handleClassBegin): Use
6965 _Jv_RegisterInitiatingLoader.
6966 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6967 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6968 class. Use _Jv_UnregisterInitiatingLoader.
6969 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6972 2005-02-07 Mark Wielaard <mark@klomp.org>
6974 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6975 java/util/regex/Matcher.java (lookingAt): Set position when match
6977 (matches): Implemented through lookingAt().
6979 2005-02-07 Mark Wielaard <mark@klomp.org>
6981 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6982 * java/util/regex/Pattern.java (split(CharSequence,int)):
6983 Fix while empties > 0 loops.
6985 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6987 * gnu/java/nio/charset/ISO_8859_1.java,
6988 gnu/java/nio/charset/US_ASCII.java,
6989 gnu/java/nio/charset/UTF_16.java,
6990 gnu/java/nio/charset/UTF_16_LE.java,
6991 gnu/java/nio/charset/UTF_16_BE.java,
6992 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6993 and aliases according to
6994 "http://www.iana.org/assignments/character-sets",
6995 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6996 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6997 * gnu/java/nio/charset/Provider.java: Made charset lookup
6998 case-insensitive which fixes bug #11740.
7000 2005-02-07 Tom Tromey <tromey@redhat.com>
7003 * Makefile.in: Rebuilt.
7004 * Makefile.am (src.zip): New target.
7005 (install-src.zip): Likewise.
7006 (sourcesdir): New variable.
7008 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7010 * javax/imageio/metadata/IIOMetadataNode.java:
7012 * javax/imageio/metadata/IIOAttr.java,
7013 javax/imageio/metadata/IIONamedNodeMap.java,
7014 javax/imageio/metadata/IIONodeList.java:
7017 2005-02-06 Graydon Hoare <graydon@redhat.com>
7019 * gnu/java/awt/ClasspathToolkit.java
7020 (registerImageIOSpis): New method.
7021 * javax/imageio/ImageIO.java
7022 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7023 (WriterMIMETypeFilter.filter): Likewise.
7024 (ImageReaderIterator): Pass extension argument through to SPI.
7025 (getReadersByFilter): Likewise.
7026 (getWritersByFilter): Likewise.
7027 (getImageReadersByFormatName): Likewise.
7028 (getImageReadersByMIMEType): Likewise.
7029 (getImageReadersBySuffix): Likewise.
7030 (getImageWritersByFormatName): Likewise.
7031 (getImageWritersByMIMEType): Likewise.
7032 (getImageWritersBySuffix): Likewise.
7035 * javax/imageio/ImageReader.java
7036 (progressListeners): Initialize.
7037 (setInput): Implement.
7038 * javax/imageio/ImageWriter.java
7039 (progressListeners): Initialize.
7040 (warningListeners): Likewise.
7041 (warningLocales): Likewise.
7042 (setOutput): Test "isInstance" rather than class equality.
7043 * javax/imageio/spi/IIORegistry.java
7044 (static): Add reader and writer SPIs.
7045 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7047 2005-02-06 Michael Koch <konqueror@gmx.de>
7049 * javax/imageio/metadata/IIOInvalidTreeException.java
7050 (IIOInvalidTreeException): Reformatted.
7051 * javax/imageio/spi/IIORegistry.java
7052 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7053 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7054 Reworked import statements.
7056 2005-02-06 Michael Koch <konqueror@gmx.de>
7058 * javax/imageio/stream/FileImageOutputStream.java:
7061 2005-02-06 Michael Koch <konqueror@gmx.de>
7063 * javax/imageio/stream/FileCacheImageInputStream.java,
7064 javax/imageio/stream/FileCacheImageOutputStream.java,
7065 javax/imageio/stream/FileImageInputStream.java,
7066 javax/imageio/stream/ImageInputStreamImpl.java,
7067 javax/imageio/stream/ImageOutputStreamImpl.java,
7068 javax/imageio/stream/MemoryCacheImageInputStream.java,
7069 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7070 Added all missing methods in javax.imageio.stream.
7072 2005-02-02 David Daney <ddaney@avtrex.com>
7074 * java/net/InetAddress.java (InetAddress): Make a private copy of
7076 * java/net/Inet4Address.java (getAddress): Return a copy of the
7078 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7080 (getAddress): Return a copy of the address.
7083 2005-02-02 Tom Tromey <tromey@redhat.com>
7085 * Makefile.in: Rebuilt.
7086 * Makefile.am (classes.stamp): New target, broken out from
7088 ($(all_java_class_files)): Depend on it.
7089 (libgcj-@gcc_version@.jar): Likewise.
7090 (all-recursive): Likewise.
7091 (CLEANFILES): Include classes.stamp.
7093 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7095 * link.cc: Include <stdio.h>
7097 2005-02-02 Tom Tromey <tromey@redhat.com>
7100 * Makefile.in: Rebuilt.
7101 * Makefile.am (ordinary_java_source_files): Added new class.
7102 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7103 Use system_instance, not instance.
7104 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7105 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7107 (system_instance): New field.
7108 (initialize): Initialize the system loader as well.
7109 (VMClassLoader): Default to LIB_CACHE.
7111 2005-02-02 Tom Tromey <tromey@redhat.com>
7113 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7114 * prims.cc: Fixed comment.
7116 2005-02-01 Tom Tromey <tromey@redhat.com>
7118 * Makefile.in: Rebuilt.
7119 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7120 (.java.class): Use BOOTCLASSPATH.
7122 2005-02-01 Tom Tromey <tromey@redhat.com>
7124 * external/w3c_dom/Makefile.am: New file.
7125 * external/w3c_dom/Makefile.in: New file.
7126 * external/sax/Makefile.am: New file.
7127 * external/sax/Makefile.in: New file.
7128 * external/Makefile.in: New file.
7129 * external/Makefile.am: New file.
7130 * external/README: New file from Classpath.
7131 * configure, aclocal.m4, Makefile.in: Rebuilt.
7132 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7133 * Makefile.am (SUBDIRS): Added external.
7134 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7135 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7136 (BOOTCLASSPATH): New variable.
7137 (AM_GCJFLAGS): Use it.
7138 (gnu_xml_source_files): New variable.
7139 (libgcj_la_SOURCES): Use it.
7140 (libgcj_la_LDADD): Include new convenience libraries.
7141 (lib_org_ietf_jgss_la_SOURCES): Removed.
7142 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7143 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7144 (lib_org_w3c_dom_la_SOURCES): Removed.
7145 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7146 (lib_org_w3c_dom_la_LIBADD): Likewise.
7147 (lib_org_xml_sax_la_SOURCES): Removed.
7148 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7149 (lib_org_xml_sax_la_LIBADD): Likewise.
7150 (all_java_source_files): Updated.
7151 (property_files): Likewise.
7152 (libgcj-@gcc_version@.jar): Include classes from external/.
7153 (javax_source_files): Updated.
7154 (ordinary_java_source_files): Updated.
7155 * javax/xml/XMLConstants.java,
7156 javax/xml/datatype/DatatypeConfigurationException.java,
7157 javax/xml/datatype/DatatypeConstants.java,
7158 javax/xml/datatype/DatatypeFactory.java,
7159 javax/xml/datatype/Duration.java,
7160 javax/xml/datatype/XMLGregorianCalendar.java,
7161 javax/xml/datatype/package.html,
7162 javax/xml/namespace/NamespaceContext.java,
7163 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7164 javax/xml/parsers/DocumentBuilder.java,
7165 javax/xml/parsers/DocumentBuilderFactory.java,
7166 javax/xml/parsers/FactoryConfigurationError.java,
7167 javax/xml/parsers/ParserConfigurationException.java,
7168 javax/xml/parsers/SAXParser.java,
7169 javax/xml/parsers/SAXParserFactory.java,
7170 javax/xml/parsers/package.html,
7171 javax/xml/transform/ErrorListener.java,
7172 javax/xml/transform/OutputKeys.java,
7173 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7174 javax/xml/transform/SourceLocator.java,
7175 javax/xml/transform/Templates.java,
7176 javax/xml/transform/Transformer.java,
7177 javax/xml/transform/TransformerConfigurationException.java,
7178 javax/xml/transform/TransformerException.java,
7179 javax/xml/transform/TransformerFactory.java,
7180 javax/xml/transform/TransformerFactoryConfigurationError.java,
7181 javax/xml/transform/URIResolver.java,
7182 javax/xml/transform/package.html,
7183 javax/xml/transform/dom/DOMLocator.java,
7184 javax/xml/transform/dom/DOMResult.java,
7185 javax/xml/transform/dom/DOMSource.java,
7186 javax/xml/transform/dom/package.html,
7187 javax/xml/transform/sax/SAXResult.java,
7188 javax/xml/transform/sax/SAXSource.java,
7189 javax/xml/transform/sax/SAXTransformerFactory.java,
7190 javax/xml/transform/sax/TemplatesHandler.java,
7191 javax/xml/transform/sax/TransformerHandler.java,
7192 javax/xml/transform/sax/package.html,
7193 javax/xml/transform/stream/StreamResult.java,
7194 javax/xml/transform/stream/StreamSource.java,
7195 javax/xml/transform/stream/package.html,
7196 javax/xml/validation/Schema.java,
7197 javax/xml/validation/SchemaFactory.java,
7198 javax/xml/validation/TypeInfoProvider.java,
7199 javax/xml/validation/Validator.java,
7200 javax/xml/validation/ValidatorHandler.java,
7201 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7202 javax/xml/xpath/XPathConstants.java,
7203 javax/xml/xpath/XPathException.java,
7204 javax/xml/xpath/XPathExpression.java,
7205 javax/xml/xpath/XPathExpressionException.java,
7206 javax/xml/xpath/XPathFactory.java,
7207 javax/xml/xpath/XPathFactoryConfigurationException.java,
7208 javax/xml/xpath/XPathFunction.java,
7209 javax/xml/xpath/XPathFunctionException.java,
7210 javax/xml/xpath/XPathFunctionResolver.java,
7211 javax/xml/xpath/XPathVariableResolver.java,
7212 javax/xml/xpath/package.html: New files, from GNU JAXP.
7213 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7214 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7215 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7216 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7217 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7218 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7219 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7220 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7221 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7222 org/w3c/dom/ranges/DocumentRange.java,
7223 org/w3c/dom/ranges/Range.java,
7224 org/w3c/dom/ranges/RangeException.java,
7225 org/w3c/dom/traversal/DocumentTraversal.java,
7226 org/w3c/dom/traversal/NodeFilter.java,
7227 org/w3c/dom/traversal/NodeIterator.java,
7228 org/w3c/dom/traversal/TreeWalker.java,
7229 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7230 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7231 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7232 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7233 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7234 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7235 org/xml/sax/SAXNotRecognizedException.java,
7236 org/xml/sax/SAXNotSupportedException.java,
7237 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7238 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7239 org/xml/sax/ext/DeclHandler.java,
7240 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7241 org/xml/sax/helpers/AttributeListImpl.java,
7242 org/xml/sax/helpers/AttributesImpl.java,
7243 org/xml/sax/helpers/DefaultHandler.java,
7244 org/xml/sax/helpers/LocatorImpl.java,
7245 org/xml/sax/helpers/NamespaceSupport.java,
7246 org/xml/sax/helpers/NewInstance.java,
7247 org/xml/sax/helpers/ParserAdapter.java,
7248 org/xml/sax/helpers/ParserFactory.java,
7249 org/xml/sax/helpers/XMLFilterImpl.java,
7250 org/xml/sax/helpers/XMLReaderAdapter.java,
7251 org/xml/sax/helpers/XMLReaderFactory.java,
7252 org/xml/sax/helpers/package.html: Moved to external/.
7253 * external/sax/README,
7254 external/sax/org/xml/sax/AttributeList.java,
7255 external/sax/org/xml/sax/Attributes.java,
7256 external/sax/org/xml/sax/ContentHandler.java,
7257 external/sax/org/xml/sax/DTDHandler.java,
7258 external/sax/org/xml/sax/DocumentHandler.java,
7259 external/sax/org/xml/sax/EntityResolver.java,
7260 external/sax/org/xml/sax/ErrorHandler.java,
7261 external/sax/org/xml/sax/HandlerBase.java,
7262 external/sax/org/xml/sax/InputSource.java,
7263 external/sax/org/xml/sax/Locator.java,
7264 external/sax/org/xml/sax/Parser.java,
7265 external/sax/org/xml/sax/SAXException.java,
7266 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7267 external/sax/org/xml/sax/SAXNotSupportedException.java,
7268 external/sax/org/xml/sax/SAXParseException.java,
7269 external/sax/org/xml/sax/XMLFilter.java,
7270 external/sax/org/xml/sax/XMLReader.java,
7271 external/sax/org/xml/sax/package.html,
7272 external/sax/org/xml/sax/ext/Attributes2.java,
7273 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7274 external/sax/org/xml/sax/ext/DeclHandler.java,
7275 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7276 external/sax/org/xml/sax/ext/EntityResolver2.java,
7277 external/sax/org/xml/sax/ext/LexicalHandler.java,
7278 external/sax/org/xml/sax/ext/Locator2.java,
7279 external/sax/org/xml/sax/ext/Locator2Impl.java,
7280 external/sax/org/xml/sax/ext/package.html,
7281 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7282 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7283 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7284 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7285 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7286 external/sax/org/xml/sax/helpers/NewInstance.java,
7287 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7288 external/sax/org/xml/sax/helpers/ParserFactory.java,
7289 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7290 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7291 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7292 external/sax/org/xml/sax/helpers/package.html,
7293 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7294 external/w3c_dom/org/w3c/dom/Attr.java,
7295 external/w3c_dom/org/w3c/dom/CDATASection.java,
7296 external/w3c_dom/org/w3c/dom/CharacterData.java,
7297 external/w3c_dom/org/w3c/dom/Comment.java,
7298 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7299 external/w3c_dom/org/w3c/dom/DOMError.java,
7300 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7301 external/w3c_dom/org/w3c/dom/DOMException.java,
7302 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7303 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7304 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7305 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7306 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7307 external/w3c_dom/org/w3c/dom/Document.java,
7308 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7309 external/w3c_dom/org/w3c/dom/DocumentType.java,
7310 external/w3c_dom/org/w3c/dom/Element.java,
7311 external/w3c_dom/org/w3c/dom/Entity.java,
7312 external/w3c_dom/org/w3c/dom/EntityReference.java,
7313 external/w3c_dom/org/w3c/dom/NameList.java,
7314 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7315 external/w3c_dom/org/w3c/dom/Node.java,
7316 external/w3c_dom/org/w3c/dom/NodeList.java,
7317 external/w3c_dom/org/w3c/dom/Notation.java,
7318 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7319 external/w3c_dom/org/w3c/dom/Text.java,
7320 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7321 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7322 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7323 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7324 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7325 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7326 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7327 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7328 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7329 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7330 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7331 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7332 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7333 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7334 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7335 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7336 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7337 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7338 external/w3c_dom/org/w3c/dom/css/Counter.java,
7339 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7340 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7341 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7342 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7343 external/w3c_dom/org/w3c/dom/css/Rect.java,
7344 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7345 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7346 external/w3c_dom/org/w3c/dom/events/Event.java,
7347 external/w3c_dom/org/w3c/dom/events/EventException.java,
7348 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7349 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7350 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7351 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7352 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7353 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7354 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7355 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7356 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7357 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7358 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7359 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7360 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7361 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7362 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7363 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7364 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7365 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7366 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7367 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7368 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7369 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7370 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7371 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7372 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7373 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7374 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7375 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7376 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7377 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7378 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7379 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7380 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7381 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7382 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7383 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7384 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7385 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7386 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7387 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7388 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7389 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7390 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7391 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7392 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7393 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7394 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7395 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7396 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7397 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7398 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7399 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7400 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7401 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7402 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7403 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7404 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7405 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7406 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7407 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7408 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7409 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7410 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7411 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7412 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7413 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7414 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7415 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7416 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7417 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7418 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7419 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7420 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7421 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7422 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7423 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7424 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7425 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7426 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7427 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7428 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7429 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7430 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7431 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7432 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7433 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7434 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7435 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7436 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7437 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7438 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7439 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7442 2005-01-31 Anthony Green <green@redhat.com>
7444 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7445 Support IP_MULTICAST_LOOP.
7446 (setOption): Support IP_MULTICAST_LOOP.
7448 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7449 SO_REUSEADDR support.
7450 (getOption): Support SO_REUSEADDR.
7452 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7455 * java/util/Date.java
7456 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7458 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7460 (getTimezoneOffset): Inverted sign.
7462 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7464 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7465 remove other passing tests and add new XFAILs.
7467 2005-01-24 Tom Tromey <tromey@redhat.com>
7469 * java/lang/Class.h (next): Updated documentation. Renamed to
7471 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7472 _Jv_CheckABIVersion.
7473 (_Jv_RegisterClasses_Counted): Likewise.
7474 (_Jv_RegisterClassHookDefault): Fix starting condition of
7475 duplicate-checking loop.
7476 * include/jvm.h (GCJ_VERSION): New define.
7477 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7478 (_Jv_CheckABIVersion): New function.
7480 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7482 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7483 (libgij_la_LDFLAGS): Add.
7484 * Makefile.in: Rebuilt.
7486 2005-01-24 Roger Sayle <roger@eyesopen.com>
7489 * testsuite/libjava.compile/PR19295.java: New test case.
7491 2005-01-19 Tom Tromey <tromey@redhat.com>
7493 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7494 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7495 if 'handler' is valid.
7497 2005-01-17 Tom Tromey <tromey@redhat.com>
7499 * java/text/MessageFormat.java (scanString): Changed how quoting
7501 (scanFormatElement): Likewise.
7503 2004-12-07 Mark Wielaard <mark@klomp.org>
7505 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7507 2005-01-15 Michael Koch <konqueror@gmx.de>
7511 (AUTHORITY_REGEXP): New regexp constant.
7512 (AUTHORITY_USERINFO_GROUP): New constant.
7513 (AUTHORITY_HOST_GROUP): Likewise.
7514 (AUTHORITY_PORT_GROUP): Likewise.
7515 (port): Changed default value to -1.
7516 (parseURI): Parse authority part and initialize host,
7519 2005-01-14 Robin Green <greenrd@greenrd.org>
7521 * java/io/File.java (toURI): Generate a URI which we understand.
7523 2005-01-13 Graydon Hoare <graydon@redhat.com>
7525 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7526 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7527 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7528 * jni.cc: Reuse bottom frame between calls, avoid clearing
7529 frame when no local references are made.
7531 2005-01-13 Michael Koch <konqueror@gmx.de>
7534 * java/lang/Thread.java
7535 (Thread): Call checkAccess().
7536 (stop): Fixed argument name to match javadoc.
7537 * java/lang/natThread.cc
7538 (interrupt): Call checkAccess().
7541 2005-01-11 Michael Koch <konqueror@gmx.de>
7544 * java/net/URL.java (URL): Handle specs like
7545 "/redir?http://domain2.com/index.html" which start with a slash.
7547 2005-01-11 Michael Koch <konqueror@gmx.de>
7549 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7550 * gnu/java/net/BASE64.java,
7551 gnu/java/net/EmptyX509TrustManager.java,
7552 gnu/java/net/LineInputStream.java,
7553 gnu/java/net/protocol/http/Authenticator.java,
7554 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7555 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7556 gnu/java/net/protocol/http/ChunkedInputStream.java,
7557 gnu/java/net/protocol/http/Cookie.java,
7558 gnu/java/net/protocol/http/CookieManager.java,
7559 gnu/java/net/protocol/http/Credentials.java,
7560 gnu/java/net/protocol/http/HTTPConnection.java,
7561 gnu/java/net/protocol/http/HTTPDateFormat.java,
7562 gnu/java/net/protocol/http/HTTPURLConnection.java,
7563 gnu/java/net/protocol/http/Headers.java,
7564 gnu/java/net/protocol/http/Request.java,
7565 gnu/java/net/protocol/http/RequestBodyWriter.java,
7566 gnu/java/net/protocol/http/Response.java,
7567 gnu/java/net/protocol/http/ResponseBodyReader.java,
7568 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7569 gnu/java/net/protocol/http/SimpleCookieManager.java,
7570 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7571 gnu/java/net/protocol/http/event/ConnectionListener.java,
7572 gnu/java/net/protocol/http/event/RequestEvent.java,
7573 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7574 * gnu/java/net/protocol/http/Connection.java: Removed.
7575 * gnu/java/net/protocol/http/Handler.java,
7576 javax/net/ssl/HttpsURLConnection.java: Updated.
7577 * Makefile.am: Added new files and remove old ones.
7578 * Makefile.in: Regenerated.
7580 2005-01-11 Tom Tromey <tromey@redhat.com>
7583 * java/io/BufferedInputStream.java (read): Repeatedly read to
7585 (refill): Change test to see if buffer must be grown.
7587 2005-01-10 Tom Tromey <tromey@redhat.com>
7589 * mauve-libgcj: Exclude some swing tests.
7591 2005-01-10 Tom Tromey <tromey@redhat.com>
7593 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7594 * java/lang/Package.java (getPackages): Use VMClassLoader when
7596 (getPackage): Likewise.
7597 * prims.cc (_Jv_CreateJavaVM): Call
7598 _Jv_RegisterBootstrapPackages.
7599 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7600 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7601 (getPackages): Likewise.
7602 (definedPackages): New field.
7603 (definePackageForNative): New method.
7604 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7605 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7606 * defineclass.cc (handleClassBegin): Use
7607 ClassLoader.findLoadedClass.
7608 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7610 (struct _Jv_LoaderInfo): Removed.
7611 (initiated_classes): Likewise.
7612 (_Jv_UnregisterClass): Don't use initiated_classes.
7613 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7614 (_Jv_FindClass): Register classes found during boostrap.
7615 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7616 (bootstrap_class_list): New global.
7617 (bootstrap_index): Likewise.
7618 (_Jv_RegisterBootstrapPackages): New function.
7619 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7620 definePackageForNative.
7621 (findClass): Updated.
7622 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7625 2005-01-10 Tom Tromey <tromey@redhat.com>
7628 * include/jvm.h (_Jv_Linker::find_field): Declare.
7629 (_Jv_Linker::find_field_helper): Likewise.
7630 * link.cc (find_field_helper): New method.
7631 (find_field): Likewise.
7632 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7634 (link_symbol_table): Use find_field.
7636 2005-01-10 Michael Koch <konqueror@gmx.de>
7639 * java/util/Locale.java (Locale): Don't uppercase variant.
7640 (getISOCountries): Fixed typo in javadoc.
7642 2005-01-10 Michael Koch <konqueror@gmx.de>
7644 * java/util/SimpleTimeZone.java (checkRule):
7645 Throw IllegalArgumentException on invalid month values.
7646 * java/util/TimeZone.java (setID):
7647 Throw NullPointerException if needed.
7649 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7651 * java/util/SimpleTimeZone.java (getOffset):
7652 offset end date with daylight savings
7654 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7656 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7657 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7659 2005-01-09 Michael Koch <konqueror@gmx.de>
7662 * java/net/InetAddress.java (getLocalHost):
7663 Throw UnknownHostException if local hostname cannot be determined.
7665 2005-01-06 Tom Tromey <tromey@redhat.com>
7667 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7669 2005-01-07 Michael Koch <konqueror@gmx.de>
7672 * java/nio/Buffer.java (address): New field.
7673 * java/nio/DirectByteBufferImpl.java (address): Removed.
7674 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7675 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7676 Explicitly initialize Buffer.address if needed.
7677 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7678 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7679 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7680 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7681 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7682 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7683 DirectByteBufferImpl object.
7684 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7685 * testsuite/libjava.jni/directbuffer.c,
7686 testsuite/libjava.jni/directbuffer.java,
7687 testsuite/libjava.jni/directbuffer.out,
7688 testsuite/libjava.jni/bytebuffer.c,
7689 testsuite/libjava.jni/bytebuffer.java,
7690 testsuite/libjava.jni/bytebuffer.out: New files.
7692 2005-01-05 Tom Tromey <tromey@redhat.com>
7694 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7696 (compressedSize): Now 'long'. Default to -1.
7697 (getCompressedSize): Rewrote.
7698 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7699 deflate at all if we need input.
7701 2005-01-05 Tom Tromey <tromey@redhat.com>
7704 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7707 2005-01-05 Tom Tromey <tromey@redhat.com>
7709 * java/lang/natRuntime.cc (insertSystemProperties): Set
7710 java.ext.dirs earlier.
7712 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7714 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7715 sync_info element of the object if needed.
7717 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7719 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7720 a non-zero exit status from 'false'.
7722 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7724 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.