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