1 2005-06-06 Keith Seitz <keiths@redhat.com>
3 * gnu/classpath/jdwp/util/Signature.java: New file.
4 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
6 2005-06-05 Anthony Green <green@redhat.com>
8 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
11 2005-06-04 Anthony Green <green@redhat.com>
13 * java/net/URLClassLoader.java: import gnu.gcj.Core,
14 and gnu.java.net.protocol.core.CoreInputStream.
15 (CureURLLoader): New class.
16 (CoreResource): New class.
17 (addURLImpl): Add special treatment for the "core" protocol.
18 * gnu/gcj/natCore.cc (find): New method.
19 * gnu/gcj/Core.java (find): New method.
21 2005-06-03 Keith Seitz <keiths@redhat.com>
23 * gnu/classpath/jdwp/transport/ITransport.java: New file.
24 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
25 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
27 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
29 * jawt.c: Remove malloc.h, covered by stdlib.h.
31 * testsuite/libjava.jni/jni.exp
32 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
35 2005-06-02 Keith Seitz <keiths@redhat.com>
37 * gnu/classpath/jdwp/transport/TransportException.java: New file.
39 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
41 * mauve-libgcj: Remove implemented classes from the fail section.
42 Add two new not implemented to it.
44 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
46 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
47 AC_SUBST definition from configure.host.
48 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
49 to -fomit-frame-pointer on 32-bit x86 targets.
51 2005-06-01 Tom Tromey <tromey@redhat.com>
53 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
55 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
58 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
59 (static): Add possessive matching to JAVA_1_4 syntax.
60 * gnu/regexp/RETokenRepeated.java (possessive): New field.
61 (makePossessive, isPossessive): New methods.
62 (match): Don't back off during possessive matching.
63 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
64 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
67 2005-06-01 Keith Seitz <keiths@redhat.com>
69 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
70 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
71 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
73 2005-06-01 Tom Tromey <tromey@redhat.com>
76 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
77 (currentLoader): New method.
78 * java/io/ObjectInputStream.java (resolveProxyClass): Use
80 (currentLoader): Now native.
81 (currentClassLoader): Removed.
82 * testsuite/libjava.lang/pr21785.java: New file.
83 * testsuite/libjava.lang/pr21785.out: New file.
85 2005-06-01 Tom Tromey <tromey@redhat.com>
88 * java/lang/natString.cc (substring): Changed sharing heuristic.
90 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
93 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
94 MAXPATHLEN. Format exception message using a StringBuffer instead.
96 2005-05-29 Michael Koch <konqueror@gmx.de>
99 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
101 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
103 * ChangeLog: Fix typo.
105 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
107 Testsuite adjustments for PR java/19870.
108 * testsuite/libjava.lang/PR19870.java: New testcase.
109 * testsuite/libjava.lang/PR19870.out: Expected output for the
111 * testsuite/libjava.jacks/jacks.xfail: Add
112 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
115 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
117 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
118 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
119 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
121 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
122 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
123 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
124 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
126 2005-05-25 Richard Henderson <rth@redhat.com>
129 * sysdep/descriptor-n.h: New file.
130 * sysdep/descriptor-y.h: New file.
131 * sysdep/powerpc/descriptor.h: New file.
132 * configure.host: Set $descriptor_h appropriate for the host.
133 * configure.ac: Link it.
134 * configure: Regenerate.
135 * stacktrace.cc: Include sysdep/descriptor.h.
136 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
138 2005-05-25 Chris Burdess <dog@gnu.org>
140 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
141 end entity callbacks.
143 2005-05-24 Gary Benson <gbenson@redhat.com>
146 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
147 Handle DateFormat.DEFAULT case correctly.
149 2005-05-21 Tom Tromey <tromey@redhat.com>
152 * java/lang/ref/natReference.cc (find_slot): Handle case where
153 table has no NULL entries.
154 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
155 table has no NULL entries.
157 2005-05-22 Andreas Jaeger <aj@suse.de>
159 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
162 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
164 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
166 2005-05-19 Richard Henderson <rth@redhat.com>
168 * exception.cc: Revert 05-17 gcc_unreachable change.
170 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
172 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
173 _Jv_RegisterInitiatingLoader to register array classes, not
175 (_Jv_RegisterInitiatingLoader): Give up if called very early during
176 bootstrapping. Add a FIXME to handle this case better.
178 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
180 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
182 (libgcj_la_SOURCES): New. Move sources here.
183 (libgcj.la): Remove rule.
185 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
188 * gnu/java/security/provider/DSASignature.java: Import updates
191 2005-05-18 Anthony Green <green@redhat.com>
193 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
194 classpath_jawt_object_unlock, classpath_jawt_create_lock,
195 classpath_jawt_destroy_lock): New functions.
196 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
197 classpath_jawt_object_unlock, classpath_jawt_create_lock,
198 classpath_jawt_destroy_lock): New functions.
199 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
201 * jawt.c: #include malloc.h.
202 (_Jv_Lock): Use lock.
204 (_Jv_GetDrawingSurface): Initialize lock.
205 (_Jv_FreeDrawingSurface): Destroy lock.
206 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
208 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
210 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
211 * Makefile.in: Regenerate.
213 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
215 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
216 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
217 * aclocal.m4, configure, config.h.in, include/config.h.in,
218 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
219 external/Makefile.in, external/sax/Makefile.in,
220 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
222 2005-05-17 David Daney <ddaney@avtrex.com>
225 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
227 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
229 * exception.cc (abort): Remove std::abort hack.
230 (gcc_unreacheable): Define.
232 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
234 * Makefile.am (Makefile.deps): Do not create native.list and
236 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
237 * Makefile.in: Regenerate.
239 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
241 * configure.ac (--enable-libgcj-multifile): Remove.
243 * Makefile.am (all_native_compiled_source_files,
244 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
245 all_libgcj_lo_files, all_xlib_lo_files,
246 all_java_deps_files, all_java_stamp_files,
247 all_java_filelist_files): New variables.
248 (EXTRA_DIST): New Automake variable.
249 (CLEANFILES): Add .stamp, .list and .lo files.
250 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
251 (classes.stamp): Depend on $(all_java_stamp_files).
252 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
253 going through write_entries_to_file.
255 (all_java_source_files, all_property_files): Move earlier.
256 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
257 all_java_class_files): Remove.
258 (gtk_awt_peer_sources): Rename to...
259 (gtk_awt_peer_source_files): ... this. Adjust throughout.
262 (libgcj0_convenience_la_SOURCES): Remove Java source files.
263 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
264 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
265 (libgcj_la_SOURCES): Remove.
266 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
267 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
268 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
270 * configure: Regenerate.
271 * Makefile.in: Regenerate.
272 * external/Makefile.in: Regenerate.
273 * external/sax/Makefile.in: Regenerate.
274 * external/w3c_dom/Makefile.in: Regenerate.
275 * gcj/Makefile.in: Regenerate.
276 * include/Makefile.in: Regenerate.
277 * libltdl/Makefile.in: Regenerate.
278 * testsuite/Makefile.in: Regenerate.
280 2005-05-16 Tom Tromey <tromey@redhat.com>
282 * java/nio/charset/Charset.java (encode, decode): Synchronize on
283 'this', not the class.
285 2005-05-16 Tom Tromey <tromey@redhat.com>
287 * gnu/java/net/protocol/http/Headers.java (parse): Include final
290 2005-05-16 Tom Tromey <tromey@redhat.com>
293 * java/net/URI.java (unquote): Handle lower-case letters as well.
295 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
298 * gnu/regexp/RE.java: Add support for quoting constructs.
300 2005-05-15 Tom Tromey <tromey@redhat.com>
302 * java/lang/String.java (startsWith): Fixed javadoc.
304 2005-05-15 Tom Tromey <tromey@redhat.com>
307 * testsuite/libjava.compile/pr21519.java: New file.
308 * testsuite/libjava.compile/pr21519.no-link: New file.
310 2005-05-15 Tom Tromey <tromey@redhat.com>
312 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
314 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
317 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
318 interrupt status flag if _Jv_CondWait is interrupted.
320 2005-05-13 Tom Tromey <tromey@redhat.com>
322 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
325 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
327 * include/jvm.h (gcj::verifyClasses): Declare.
328 * link.cc (gcj::verbose_class_flag): Moved.
329 * prims.cc (gcj::verifyClasses): Define here.
330 (gcj::verbose_class_flag): Move definition here.
331 (_Jv_Linker::wait_for_state): Don't call verify_class
332 if gcj::verifyClasses is not set.
333 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
335 2005-05-12 Aaron Luchko <aluchko@redhat.com>
337 * gij.cc (main): Recognize '-verify', '-noverify', and
340 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
342 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
344 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
346 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
349 2005-05-11 Tom Tromey <tromey@redhat.com>
351 * external/w3c_dom/Makefile.in: Rebuilt.
352 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
354 * external/sax/Makefile.in: Rebuilt.
355 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
357 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
359 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
360 Call _Jv_CopyClassesToSystemLoader.
361 * java/lang/natClassLoader.cc (system_class_list): New global.
362 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
364 (_Jv_CopyClassesToSystemLoader): New function.
365 (SYSTEM_LOADER_INITIALIZED): New define.
366 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
367 (_Jv_CheckABIVersion): Use it.
368 (_Jv_ClassForBootstrapLoader): New function.
369 * Makefile.in: Rebuilt.
370 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
372 2005-05-10 Tom Tromey <tromey@redhat.com>
374 * gcj/javaprims.h: Updated.
375 * java/lang/String.java (String(StringBuilder)): New constructor.
376 * java/lang/natStringBuilder.cc: New file.
377 * java/lang/StringBuilder.java: New file.
378 * Makefile.in: Rebuilt.
379 * Makefile.am (core_java_source_files): Added StringBuilder.java.
380 (nat_source_files): Added natStringBuilder.cc.
382 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
385 * testsuite/libjava.jacks/jacks.xfail: Adjust.
387 2005-05-09 Mike Stump <mrs@apple.com>
389 * configure: Regenerate.
391 2005-05-09 David Daney <ddaney@avtrex.com>
393 * java/util/BitSet.java (get(int, int)): Fix breakage when
394 requested set doesn't start on a multiple of 64.
396 2005-05-07 Matthias Klose <doko@debian.org>
398 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
400 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
402 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
403 * Makefile.in: Regenerate.
404 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
405 (createCompatibleVolatileImage(int,int)): Implement.
406 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
408 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
410 (createVolatileImage): Implement.
411 (createBuffers): Likewise.
412 (getBackBuffer): Likewise.
414 (destroyBuffers): Likewise.
415 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
416 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
417 (CanvasFlipBufferStrategy): Likewise.
418 (createBufferStrategy(int)): New method.
419 (createBufferStrategy(int,BufferCapabilities)): Likewise.
420 * java/awt/Component.java (BltBufferStrategy): Implement and
422 (FlipBufferStrategy): Likewise.
423 * java/awt/Window.java (WindowBltBufferStrategy): New class.
424 (WindowFlipBufferStrategy): Likewise.
425 (createBufferStrategy(int)): New method.
426 (createBufferStrategy(int,BufferCapabilities)): Likewise.
427 (getBufferStrategy): Likewise.
428 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
429 front to frontCaps and back to backCaps.
431 2005-05-06 Michael Koch <konqueror@gmx.de>
433 * java/awt/BufferCapabilities.java
434 (BufferCapabilities): Merged javadoc.
436 2005-05-06 Michael Koch <konqueror@gmx.de>
438 * java/util/Locale.java
439 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
440 (getLocale): New methods. Use it everywhere where instances of Locales
442 (getDisplayLanguage): Merged javadoc.
443 (getDisplayCountry): Likewise.
444 (getDisplayVariant): Likewise.
446 2005-05-06 Archie Cobbs <archie@dellroad.org>
448 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
449 use DeleteLocalRef() to avoid exhausting local native references.
451 2005-05-06 Mark Wielaard <mark@klomp.org>
453 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
454 (window_delete_cb): Don't use C++ style comments.
456 2005-05-06 Robert Schuster <thebohemian@gmx.net>
458 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
461 2005-05-06 Robert Schuster <thebohemian@gmx.net>
463 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
464 (window_delete_cb): Made the function return TRUE.
466 2005-05-06 Roman Kennke <roman@kennke.org>
468 * javax/swing/text/PlainView.java
469 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
471 * javax/swing/text/Utilities.java
472 (drawTabbedText): Initilialize local variable pos correctly.
474 2005-05-06 Roman Kennke <roman@kennke.org>
476 * javax/swing/text/AbstractDocument.java
477 (LeafElement): Made start and end package private fields for
478 effective reindexing.
479 * javax/swing/text/PlainDocument.java
480 (constructor): The field rootElement is always BranchElement,
481 so we handle it as such.
482 (removeUpdate): Rewritten reindexing for removeUpdate so that
483 the actual removal is taken into account.
485 2005-05-06 Roman Kennke <roman@kennke.org>
487 * javax/swing/text/GapContent.java:
488 Removed debugging output stuff, which I accidentally left in.
490 2005-05-06 Roman Kennke <roman@kennke.org>
492 * javax/swing/text/GapContent.java:
493 Implemented a real GapContent. Only the public methods have
494 been implemented so far and still no UndoableEdit support.
496 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
498 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
501 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
503 * java/awt/image/BufferStrategy.java: Document.
505 * java/awt/BufferCapabilities.java: Document.
507 2005-05-04 Tom Tromey <tromey@redhat.com>
509 * java/nio/channels/FileLock.java (toString): Entirely avoid
512 2005-05-04 Andrew Overholt <overholt@redhat.com>
514 * java/nio/channels/FileLock.java (toString): Re-implement using
517 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
519 * java/awt/ImageCapabilities.java: Document.
521 * java/awt/image/VolatileImage.java: Unindent copyright header.
523 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
525 * java/awt/image/VolatileImage.java: Document.
527 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
529 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
530 (init_glib_threads): Check if threading system is already
533 2005-05-03 Andrew Overholt <overholt@redhat.com>
536 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
537 could not be acquired.
538 * java/nio/channels/FileLock.java (toString): Re-implement to be
539 in line with other implementations.
541 2005-05-03 Tom Tromey <tromey@redhat.com>
543 * java/lang/VMSecurityManager.java (currentClassLoader): Use
544 'systemClasssLoader' directly.
546 2005-05-03 Tom Tromey <tromey@redhat.com>
548 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
549 call VMClassLoader.getSystemClassLoader.
551 2005-04-29 Michael Koch <konqueror@gmx.de>
553 * java/net/NetworkInterface.java
555 (NetworkInterface(String,InetAddress)): Made package-private.
556 (NetworkInterface(String,InetAddress[])): New constructor.
557 (getRealNetworkInterfaces): Removed.
558 (getByName): Use VMNetworkInterface.getInterfaces().
559 (getByInetAddress): Likewise.
560 (getNetworkInterfaces): Likewise.
561 * java/net/VMNetworkInterface.java,
562 java/net/natVMNetworkInterfaceNoNet.cc,
563 java/net/natVMNetworkInterfacePosix.c,c
564 java/net/natVMNetworkInterfaceWin32.cc: New files.
565 * java/net/natNetworkInterfaceNoNet.cc,
566 java/net/natNetworkInterfacePosix.cc,
567 java/net/natNetworkInterfaceWin32.cc: Removed.
570 * configure, Makefile.in: Regenerated.
572 2005-04-29 Andrew Haley <aph@redhat.com>
574 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
576 2005-04-29 Dalibor Topic <robilad@kaffe.org>
578 * java/nio/channels/FileChannelImpl.java
579 (FileChannelImpl(String, int)): Removed.
580 (FileChannelImpl(File, int)): Added. Check if opened file is a
582 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
583 Call FileChannelImpl(File, int).
584 * java/io/FileOutputStream.java (FileInputStream): Call
585 FileChannelImpl(File, int).
586 * java/io/RandomAccessFile.java (RandomAccessFile):
587 Call FileChannelImpl(File, int). Switched constructors around.
589 2005-04-27 Andrew Haley <aph@redhat.com>
592 * prims.cc (_Jv_ResolvePoolEntry): New function.
593 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
594 * link.cc (_Jv_Linker::find_field): New arg: found_class.
595 (resolve_pool_entry): Initialize the class in which a field is
597 (link_symbol_table): Pass new arg to found_class.
599 2005-04-29 Michael Koch <konqueror@gmx.de>
601 * java/nio/charset/Charset.java
602 (provider): Reformatted.
604 2005-04-29 Michael Koch <konqueror@gmx.de>
606 * gnu/java/net/protocol/http/HTTPConnection.java:
607 (userAgent): Initialize from system properties.
608 (initUserAgent): Removed.
610 2005-04-29 Mark Wielaard <mark@klomp.org>
612 * java/util/ResourceBundle.java (getObject): Clarify
613 MissingResourceException detailed message.
614 (tryBundle(String,ClassLoader)): Likewise.
616 2005-04-29 Robert Schuster <thebohemian@gmx.net>
618 * java/beans/FeatureDescriptor.java:
619 (getShortDescription): Implemented fallback mechanism and fixed
620 documentation (fixes bug #12637).
621 (getDisplayName): Dito.
623 2005-04-29 Robert Schuster <thebohemian@gmx.net>
625 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
626 will now be set correctly.
627 (flushCaches): Now flushes all cached intermediate data.
629 2005-04-28 Michael Koch <konqueror@gmx.de>
631 * java/net/InetAddress.java
632 (aton): Fixed javadoc.
635 2005-04-28 Tom Tromey <tromey@redhat.com>
637 * javax/swing/Timer.java
638 (drainEvents, queueEvent): Now package-private.
640 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
642 * javax/swing/Timer.java
643 (constructor): Assigning initialDelay.
645 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
647 * javax/swing/Timer.java
648 (Waker.run): firing the first action event.
650 2005-04-28 Michael Koch <konqueror@gmx.de>
652 * javax/swing/Timer.java: Reordered all fields and methods,
655 2005-04-28 Michael Koch <konqueror@gmx.de>
657 * javax/swing/Timer.java: Javadocs merged
660 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
662 * gnu/java/net/protocol/file/Connection.java
663 (StaticData): New inner class to contain statics.
664 (connect, getHeaderField): Modified to use StaticData.
666 2005-04-28 Michael Koch <konqueror@gmx.de>
668 * gnu/java/net/protocol/file/Connection.java
669 (lineSeparator): Initialize with SystemProperties.getProperty().
671 2005-04-27 Chris Burdess <dog@gnu.org>
673 * gnu/java/net/protocol/file/Connection.java: Return correct content
674 length for directory listing.
675 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
676 #11285: return valid URLs for directories.i
678 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
680 * Makefile.am (ordinary_java_source_files): Add
681 gnu/java/net/protocol/https/Handler.java.
682 * Makefile.in: Regenerate.
683 * java/net/URL.java: Remove org.metastatic.jessie from default
684 protocol search path.
686 2005-04-27 Chris Burdess <dog@gnu.org>
688 * gnu/java/net/protocol/https/Handler.java: New file.
690 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
692 * javax/imageio/spi/IIORegistry.java (IIORegistry):
693 Don't assume that awt Toolkit is always ClasspathToolkit.
695 2005-04-27 Chris Burdess <dog@gnu.org>
697 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
698 absolute and relative paths in Location header.
700 2005-04-27 Chris Burdess <dog@gnu.org>
702 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
703 FileNotFoundException and implement getErrorStream on 404.
705 2005-04-27 Sven de Marothy <sven@physto.se>
707 * java/util/TimeZone.java,
708 (getDefaultDisplayName): Fix previous fix.
710 2005-04-27 Sven de Marothy <sven@physto.se>
712 * java/util/TimeZone.java,
713 (getDefaultDisplayName): Don't print zero offsets.
715 2005-04-27 Roman Kennke <roman@kennke.org>
717 * javax/swing/plaf/basic/BasicScrollBarUI
718 (getThumbBounds): Do not make thumb smaller than
720 * javax/swing/plaf/metal/MetalLookAndFeel
721 (initComponentDefaults): Added color defaults for ScrollBar.
722 * javax/swing/plaf/metal/MetalScrollBarUI
724 (getMinimumThumbSize): Added.
726 2005-04-27 Roman Kennke <roman@kennke.org>
728 * javax/swing/plaf/metal/MetalLookAndFeel
729 (initComponentDefaults): Added some default colors.
731 2005-04-27 Roman Kennke <roman@kennke.org>
733 * javax/swing/plaf/basic/BasicScrollBarUI.java
734 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
735 to 'ScrollBar.thumbShadow'. The formes does not exist.
736 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
738 2005-04-27 Roman Kennke <roman@kennke.org>
740 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
741 * javax/swing/BoxLayout.java: Likewise.
742 * javax/swing/UIManager.java: Likewise.
743 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
744 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
745 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
746 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
747 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
748 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
749 * javax/swing/text/Document.java: Likewise.
750 * javax/swing/text/GapContent.java: Likewise.
751 * javax/swing/text/SimpleAttributeSet.java: Likewise.
752 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
754 2005-04-27 Roman Kennke <roman@kennke.org>
756 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
757 (getPropertyPrefix): Added.
759 2005-04-27 Roman Kennke <roman@kennke.org>
761 * javax/swing/plaf/basic/BasicButtonUI.java
762 (getPropertyPrefix): Added.
763 (installDefaults): Use getPropertyPrefix instead of hard-coded
766 2005-04-27 Roman Kennke <roman@kennke.org>
768 * javax/swing/JToggleButton.java
769 (JToggleButton): Removed horizontalAlignment setting, this
770 was wrong. Added setting of an actionCommand, ToggleButtons
771 have "" as default actionCommand.
773 2005-04-27 Michael Koch <konqueror@gmx.de>
775 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
776 to work around CNI limitation.
778 2005-04-27 Sven de Marothy <sven@physto.se>
780 * java/nio/charset/Charset.java:
781 (defaultCharset()): New method.
782 Status updated to 1.5
784 2005-04-27 Sven de Marothy <sven@physto.se>
786 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
788 2005-04-27 Sven de Marothy <sven@physto.se>
790 * java/nio/charset/Charset.java: Reset cached de/encoders.
792 2005-04-27 Robert Schuster <thebohemian@gmx.net>
794 * java/nio/charset/Charset.java (forName): Throws
795 IllegalArgumentException when argument is null
796 and added documentation.
798 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
800 * java/nio/charset/Charset.java (providers):
801 New method to make an array of CharsetProviders defined in
802 META-INF/services/java.nio.charset.spi.CharsetProvider.
803 (charsetForName, availableCharsets): Use the
804 new method providers().
806 2005-04-26 Michael Koch <konqueror@gmx.de>
808 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
809 Fixed typos in javadocs.
810 (isSiteLocalAddress): Fixed handling of byte values.
811 (isMCLinkLocal): Likewise.
812 * java/net/Inet4Address.java
813 (isMulticastAddress): Call super method.
814 (isLoopbackAddress): Likewise.
815 (isAnyLocalAddress): Likewise.
816 (isLinkLocalAddress): Likewise.
817 (isSiteLocalAddress): Likewise.
818 (isMCGlobal): Likewise.
819 (isMCNodeLocal): Likewise.
820 (isMCLinkLocal): Likewise.
821 (isMCSiteLocal): Likewise.
822 (isMCOrgLocal): Likewise.
823 (getHostAddress): Likewise.
825 2005-04-26 Sven de Marothy <sven@physto.se>
827 * java/net/InetAddress.java
828 (toString): Don't print empty hostnames.
830 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
833 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
834 'false' to native lock().
835 (lock): Pass 'true' to native lock().
837 2005-04-26 Michael Koch <konqueror@gmx.de>
839 * java/net/InetAddress.java:
840 Fixed typos in javadocs.
842 2005-04-26 Andrew Haley <aph@redhat.com>
845 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
848 2005-04-26 Tom Tromey <tromey@redhat.com>
850 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
851 gnu): Now package-private.
852 * javax/swing/text/html/parser/DocumentParser.java (parser,
853 callBack, gnu): Now package-private.
854 * javax/swing/text/StringContent.java (content, setOffset,
855 checkLocation): Now package-private.
856 * javax/swing/text/JTextComponent.java (doc): Now
858 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
859 lastGoodOrientation, origParent, borders, cachedBounds,
860 cachedOrientation, DragWindow): Now package-private.
861 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
862 decrButton, viewport, panel, currentScrollLocation, layoutManager,
863 tabAreaRect, contentRect, createIncreaseButton,
864 createDecreaseButton, findPointForIndex): Now package-private.
865 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
866 (currentDividerLocation, moveDividerTo): Now package-private.
867 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
869 * javax/swing/plaf/basic/BasicScrollBarUI.java
870 (calculatePreferredSize, valueForYPosition, valueForXPosition):
872 * javax/swing/plaf/basic/BasicPopupMenuUI.java
873 (topWindowListener): Now package-private.
874 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
875 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
876 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
878 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
880 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
882 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
884 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
885 borderInsets): Now package-private.
886 (arrowButtonWidth): Likewise. Now a constant.
887 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
888 makeTabs, updatePreviewPanel): Now package-private.
889 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
890 darkShadow, highlight): Now package-private.
891 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
892 (addColorToQueue): Now package-private.
893 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
894 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
895 GSpinner, BSpinner): Now package-private.
896 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
897 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
898 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
899 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
900 updateTrack): Now package-private.
901 * javax/swing/TransferHandler.java (clipboard): Now
903 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
905 * javax/swing/Timer.java (drainEvents, queueEvent): Now
907 * javax/swing/RepaintManager.java (globalManager): Now
909 * javax/swing/JFormattedTextField.java (editValid): Now
911 * javax/swing/JColorChooser.java (makeModal): Now
913 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
914 index, path): Now package-private.
915 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
916 lineQuadIntersect, lineCubicIntersect, linesIntersect,
917 pointEquals): Now package-private.
918 * java/awt/geom/Arc2D.java (type): Now package-private.
919 * java/awt/Window.java (windowFocusOwner): Now package-private.
920 * java/awt/TextComponent.java (editable, selectionStart,
921 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
923 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
925 * java/awt/MenuComponent.java (focusListener): Now
927 * java/awt/Frame.java (state): Now package-private.
928 * java/awt/Choice.java (pItems): Now package-private.
929 * java/awt/Checkbox.java (state): Now package-private.
930 * java/awt/Button.java (actionCommand, label): Now
932 * gnu/javax/swing/text/html/parser/support/Parser.java
933 (attributes, _handleEndTag_remaining, _handleStartTag): Now
935 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
937 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
938 clip, transform, font, comp): Now package-private.
940 2005-04-26 Tom Tromey <tromey@redhat.com>
942 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
945 2005-04-26 Mark Wielaard <mark@klomp.org>
947 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
948 to MalformedURLException.
950 2005-04-26 Michael Koch <konqueror@gmx.de>
952 * java/security/AccessControlContext.java:
954 (protectedDomains): Renamed from 'protectionDomain'.
955 * java/security/AccessController.java:
958 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
960 * gnu/java/security/action/GetSecurityPropertyAction.java
961 (GetSecurityPropertyAction): Implement PrivilegedAction instead
962 of extending GetPropertyAction.
965 (setParamters): New methods.
966 (GetSecurityPropertyAction): Use new setParameters methods.
968 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
970 * java/security/Security.java,
971 java/security/cert/X509CRLSelector.java,
972 java/security/cert/X509CertSelector.java:
973 Modified to use SystemProperties.
975 2005-04-26 Michael Koch <konqueror@gmx.de>
977 * java/lang/System.java
978 (setSecurityManager): Fixed comment.
979 (getSecurityManager): Removed obsolete comment.
981 2005-04-25 Tom Tromey <tromey@redhat.com>
983 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
985 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
987 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
988 (connectSignals): Realize the window widget after connecting
991 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
993 * java/awt/GraphicsEnvironment.java
994 (localGraphicsEnvironment): New field.
995 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
997 (isHeadless): Added support for java.awt.headless property.
998 (isHeadlessInstance): Call headless().
1000 2005-04-25 Roman Kennke <roman@kennke.org>
1002 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1003 (getDisplayMode): Added. Returns the current display mode.
1004 (isFullScreenSupported): Added.
1005 * java/awt/GraphicsDevice.java
1006 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1007 This resizes and relocates the fullscreen window so that it uses
1008 the whole screen. This is not a fully accelerated fullscreen
1011 2005-04-25 Michael Koch <konqueror@gmx.de>
1013 * java/lang/Runtime.java,
1014 java/lang/SecurityManager.java,
1015 java/lang/System.java,
1016 java/lang/ThreadGroup.java:
1017 Replaced java.lang.Runtime.securityManager by
1018 java.lang.SecurityManager.current (as used in GNU classpath).
1020 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1022 * java/awt/Transparency.java
1023 (getTransparency): fixed API docs.
1025 2005-04-25 Archie Cobbs <archie@dellroad.org>
1027 * java/lang/Throwable.java: simplify initializing cause in constructor
1029 2005-04-25 Michael Koch <konqueror@gmx.de>
1031 * gnu/classpath/SystemProperties.java: New file.
1032 * gnu/classpath/natSystemProperties.cc: New file.
1033 * java/lang/Runtime.java
1034 (defaultProperties): Removed.
1036 (): Made thrown exceptions more verbose.
1037 (insertSystemProperties): Removed.
1038 * java/lang/System.java
1040 (properties): Likewise.
1041 (setSecurityManager): Reordered modifiers.
1042 (getenv): Improved javadoc.
1044 (isWordsBigEndian): Removed.
1045 * java/lang/natRuntime.cc
1046 (_Jv_SetDLLSearchPath): Likewise.
1047 (file_encoding): Likewise.
1048 (default_file_encoding): Likewise.
1049 (getpwuid_adaptor): Likewise.
1050 (insertSystemProperties): Likewise.
1051 * java/lang/natSystem.cc
1052 (isWordsBigEndian): Likewise.
1054 (ordinary_java_source_files):
1055 Added gnu/classpath/SystemProperties.java.
1056 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1057 * Makefile.in: Regenerated.
1059 2005-04-25 Roman Kennke <roman@kennke.org>
1061 * javax/swing/plaf/basic/BasicScrollBarUI.java
1062 (initDefaults): Initialize thumb*Color fields correctly.
1064 2005-04-25 Roman Kennke <roman@kennke.org>
1066 * javax/swing/text/GapContent.java:
1069 2005-04-25 Roman Kennke <roman@kennke.org>
1071 * javax/swing/plaf/metal/MetalBorders.java:
1072 Added inner class ScrollPaneBorder.
1073 * javax/swing/plaf/metal/MetalLookAndFeel.java
1074 (initComponentDefaults): Added default for "ScrollPane.border"
1075 to use the new ScrollPaneBorder.
1077 2005-04-25 Roman Kennke <roman@kennke.org>
1079 * javax/swing/text/AbstractDocument.java:
1080 Added FIXME comments. This class still has to be
1081 implemented thread-safe.
1083 2005-04-25 Roman Kennke <roman@kennke.org>
1085 * javax/swing/tree/DefaultTreeSelectionModel.java
1086 (DefaultTreeSelectionModel): Initialize listenerList here.
1088 2005-04-25 Roman Kennke <roman@kennke.org>
1090 * javax/swing/plaf/metal/MetalTextFieldUI.java
1091 (createUI): Return one instance per Component instead of a
1094 2005-04-25 Roman Kennke <roman@kennke.org>
1096 * javax/swing/text/Document.java:
1097 Added API documentation comments.
1099 2005-04-25 Roman Kennke <roman@kennke.org>
1101 * javax/swing/text/AbstractDocument.java
1102 (getDocumentProperties): Implemented.
1103 (setDocumentProperties): Implemented.
1104 (getProperty): Implemented.
1105 (putProperty): Implemented.
1107 2005-04-25 Roman Kennke <roman@kennke.org>
1109 * javax/swing/BoxLayout
1110 (preferredLayoutSize): Fixed computation so that it correctly
1111 adds the top and bottom insets of the container.
1113 2005-04-25 Roman Kennke <roman@kennke.org>
1115 * javax/swing/plaf/basic/BasicMenuItemUI.java
1116 (paintText): Make use of the 'selectionForeground' UI default
1119 2005-04-25 Roman Kennke <roman@kennke.org>
1121 * javax/swing/plaf/basic/BasicLookAndFeel.java
1122 (initSystemColorDefaults): Modified colors to match the
1123 BasicLookAndFeel in the reference implementation.
1124 (initComponentDefaults): Likewise.
1126 2005-04-25 Tom Tromey <tromey@redhat.com>
1128 * include/jni.h (_Jv_va_list): Removed.
1129 Moved configuration code...
1130 * include/jni_md.h: ... here. New file.
1131 * include/Makefile.in: Rebuilt.
1132 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1134 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1136 * java/io/FileInputStream.java (FileInputStream(File)),
1137 java/io/FileOutputStream.java (FileOutputStream(File)):
1138 Removed unnecessary File.isDirectory() check.
1140 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1142 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1143 gij if get_multilibs fails.
1145 2005-04-22 Anthony Green <green@redhat.com>
1147 * jni.cc (natrehash): Don't bother clearing memory again.
1148 * interpret.cc (do_allocate_static_fields): Ditto.
1149 * java/lang/natString.cc (rehash): Ditto.
1151 2005-04-22 Roman Kennke <roman@kennke.org>
1153 * javax/swing/plaf/basic/BasicLookAndFeel.java
1154 (initComponentDefaults): Changed Button.border to be
1155 BasicBorders.getButtonBorder as it should be.
1157 2005-04-22 Roman Kennke <roman@kennke.org>
1159 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1160 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1161 should according to a mauve testcase, instead of the preferred
1164 2005-04-22 Roman Kennke <roman@kennke.org>
1166 * javax/swing/JMenu.java
1167 (add): add(Component) now calls PopupMenu.insert(..) instead of
1168 PopupMenu.add(..). add(..) is not implemented for Component,
1169 so JComponent.add(..) is called instead, adding the component
1172 2005-04-22 Roman Kennke <roman@kennke.org>
1174 * javax/swing/plaf/basic/BasicButtonListener.java
1175 (mousePressed): replaced query to getModifiersEx with getModifiers.
1176 This method relied on faulty behaviour in getModifierEx.
1177 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1178 This method relied on faulty behaviour in getModifierEx.
1180 2005-04-22 Roman Kennke <roman@kennke.org>
1182 * javax/swing/plaf/metal/MetalLookAndFeel.java
1183 (getDefaults): Call addCustomEntriesToTable on the theme.
1185 2005-04-22 Roman Kennke <roman@kennke.org>
1187 * javax/swing/tree/DefaultTreeSelectionModel.java
1188 (constructor): Added implementation.
1189 (getRowMapper): Added implementation.
1190 (setSelectionMode): Added implementation.
1191 (getSelectionMode): Added implementation.
1192 (getSelectionPath): Added implementation.
1193 (getSelectionPaths): Added implementation.
1194 (getSelectionCount): Added implementation.
1195 (isSelectionEmpty): Added implementation.
1196 (getSelectionRows): Added implementation.
1197 (getMinSelectionRow): Added implementation.
1198 (getMaxSelectionRow): Added implementation.
1199 (getLeadSelectionRow): Added implementation.
1200 (getLeadSelectionPath): Added implementation.
1202 2005-04-22 Casey Marshall <csm@gnu.org>
1204 * gnu/java/security/der/DERValue.java
1205 (getValueAs): new method.
1206 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1207 (<init>): read both dates with 'DERValue.getValueAs', with
1208 'GENERALIZED_TIME' as the argument.
1210 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1212 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1213 be null, check for that case and don't deference it.
1215 2005-04-22 Sven de Marothy <sven@physto.se>
1217 * java/util/logging/LogManager.java: Reformatted.
1218 (readConfiguration): If a logger for a key is not found, create one.
1220 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1222 * java/rmi/Naming.java:
1223 Added class documentation.
1224 (lookup(String)): Call parseURL and getName.
1225 (bind(String,java.rmi.Remote)): Likewise.
1226 (unbind(String)): Likewise.
1227 (rebind(String, java.rmi.Remote)): Likewise.
1228 (list(String)): Call parseURL.
1229 (parseURL(String)): New method to handle parsing and defaults.
1230 (getName(java.net.URL)): New method to handle finding the service name.
1232 2005-04-21 Tom Tromey <tromey@redhat.com>
1234 * java/lang/natClass.cc (initializeClass): Link class.
1236 2005-04-21 Tom Tromey <tromey@redhat.com>
1238 * java/lang/AssertionError.java: Typo fix.
1240 2005-04-21 Tom Tromey <tromey@redhat.com>
1242 * java/lang/VMClassLoader.java (transformException): Removed.
1243 (resolveClass): No longer native. Now does nothing.
1244 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1246 2005-04-21 Anthony Green <green@redhat.com>
1249 * testsuite/libjava.special/special.exp,
1250 testsuite/libjava.special/pr21115I.java,
1251 testsuite/libjava.special/pr21115.java,
1252 testsuite/libjava.special/pr21115.out: New files.
1254 2005-04-21 Chris Burdess <dog@gnu.org>
1256 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1257 CRLF-delimited chunks.
1259 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1261 * java/net/URI.java:
1262 Added class documentation.
1263 (parseURI(String)): Only handle scheme-specific parts
1264 if URI is not opaque. Allow for parts that can't be null.
1265 (toString()): Output the scheme-specific part whole, rather
1266 than as its possibly non-existent components.
1268 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1270 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1271 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1272 Adjusted to match new regexp.
1274 2005-04-20 Michael Koch <konqueror@gmx.de>
1276 * gnu/java/net/protocol/file/Connection.java,
1277 gnu/java/net/protocol/jar/Connection.java:
1278 Reorganized import statements. Fixed @author tags.
1280 2005-04-20 Chris Burdess <dog@gnu.org>
1282 * java/io/DataOutputStream.java (writeUTF): Use block write for
1285 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1287 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1288 (readLine): Changed newline handling.
1290 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1292 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1293 ColorModel,byte[],int,int): Fixed byte to int conversion.
1295 2005-04-20 Michael Koch <konqueror@gmx.de>
1297 * java/io/FilePermission.java
1298 (serialVersionUID): Made private.
1299 (ALL_FILES): New constant.
1300 (implies): Handle '<<ALL FILES>>' case.
1302 2005-04-20 Sven de Marothy <sven@physto.se>
1304 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1305 (drawImage): Don't notify the image observer for offscreen images.
1306 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1307 (setPixels): Don't notify the image observer.
1309 2005-04-20 Sven de Marothy <sven@physto.se>
1311 * java/nio/ByteBufferImpl.java:
1312 (putChar): Inlined for speed.
1313 (put, get): Bulk methods can use arraycopy.
1314 * java/nio/CharBufferImpl.java:
1315 (put, get): Bulk methods can use arraycopy.
1317 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1319 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1321 * java/nio/CharBufferImpl.java
1322 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1323 (get(), put(char)): Inlined checks and field updates. Fixed to
1324 take array_offset into account.
1325 (get(int), put(int, char)): Fixed to take array_offset into account.
1327 2005-04-20 Sven de Marothy <sven@physto.se>
1329 * java/text/SimpleDateFormat.java:
1330 (formatWithAttribute): Pad year before truncating digits.
1332 2005-04-20 Michael Koch <konqueror@gmx.de>
1334 * gnu/java/net/PlainDatagramSocketImpl.java:
1335 Merged copyright header.
1336 * gnu/java/net/PlainSocketImpl.java:
1337 Reorganized import statements. Fixed @author tags.
1339 2005-04-20 Michael Koch <konqueror@gmx.de>
1341 * gnu/java/lang/ClassHelper.java,
1342 gnu/java/lang/reflect/TypeSignature.java:
1345 2005-04-20 Michael Koch <konqueror@gmx.de>
1347 * gnu/java/beans/IntrospectionIncubator.java:
1348 Fixed HTML tags in javadocs.
1350 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1352 * gnu/java/beans/IntrospectionIncubator.java
1353 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1354 set(), is(), add() and remove() with properties or events.
1356 2005-04-20 Michael Koch <konqueror@gmx.de>
1358 * gnu/java/awt/image/XBMDecoder.java:
1359 Fixed modifier order.
1361 2005-04-20 Roman Kennke <roman@kennke.org>
1363 * javax/swing/plaf/basic/BasicButtonUI.java
1364 (paint): This should not care about margin and insets
1365 at the same time, as insets already include the margin
1367 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1368 (getPreferredButtonSize): Likewise.
1369 * javax/swing/plaf/metal/MetalBorders.java
1370 (getBorderInsets): Likewise.
1372 2005-04-20 Roman Kennke <roman@kennke.org>
1374 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1375 (createMessageArea): The JPanel that holds the message area
1376 doesn't need to override getPreferredSize. This prevents some
1377 message components from rendering nicely.
1379 2005-04-20 Roman Kennke <roman@kennke.org>
1381 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1382 (createUI): Do not share instances between components.
1383 * javax/swing/plaf/metal/MetalSliderUI.java
1384 (createUI): Do not share instances between components.
1386 2005-04-20 Roman Kennke <roman@kennke.org>
1388 * javax/swing/plaf/metal/MetalBorders:
1389 (PopupMenuBorder): Added.
1390 * javax/swing/plaf/metal/MetalLookAndFeel
1391 (initComponentDefaults): Added PopupMenuBorder.
1393 2005-04-20 Roman Kennke <roman@kennke.org>
1395 * javax/swing/tree/DefaultTreeSelectionModel.java:
1396 Added API documentation all over the class.
1398 2005-04-20 Roman Kennke <roman@kennke.org>
1400 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1401 (installDefaults): Link managed JScrollPane in instance field.
1402 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1404 2005-04-20 Roman Kennke <roman@kennke.org>
1406 * javax/swing/plaf/basic/BasicScrollBarUI.java
1407 (PropertyChangeHandler.propertyChange): Add default
1408 to switch statement to avoid errors with unusual values
1410 (installComponents): Likewise.
1412 2005-04-20 Roman Kennke <roman@kennke.org>
1414 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1415 (createUI): Instances cannot be shared among JScrollPanes.
1417 2005-04-20 Roman Kennke <roman@kennke.org>
1419 * javax/swing/plaf/metal/MetalLookAndFeel.java
1420 (initComponentDefaults): Added defaults for Menu, MenuBar
1423 2005-04-20 Roman Kennke <roman@kennke.org>
1425 * javax/swing/plaf/basic/BasicScrollBarUI.java
1426 (installUI): Install listeners after everything all, otherwise
1427 we get strange NPEs in some situations, especially with
1429 (createIncreaseButton): Orientation is expected to be
1430 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1431 HORIZONTAL or VERTICAL.
1432 (createDecreaseButton): Orientation is expected to be
1433 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1434 HORIZONTAL or VERTICAL.
1435 (installComponents): Orientation for buttons is expected to be
1436 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1437 HORIZONTAL or VERTICAL.
1439 2005-04-20 Roman Kennke <roman@kennke.org>
1441 * javax/swing/JToolBar.java
1442 (addImpl): Adjust added AbstractButtons to look and feel like
1444 * javax/swing/plaf/metal/MetalBorders.java:
1445 Adjusted insets of ButtonBorder.
1446 (RolloverMarginBorder): Added class for toolbar buttons.
1447 (getButtonBorder): Adjusted factory method to return a shared
1448 instance of button border.
1449 (getToolbarButtonBorder): Added factory method to return a shared
1450 instance of toolbar button border.
1451 (getMarginBorder): Added factory method to return a shared
1452 instance of margin border.
1453 * javax/swing/plaf/metal/MetalButtonUI.java
1454 (installDefauls): If button is child of a JToolBar then set
1455 special border on this button.
1457 2005-04-20 Michael Koch <konqueror@gmx.de>
1459 * java/net/URLConnection.java
1460 (getContent): Fixed javadoc comment.
1462 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1464 * java/net/URL.java:
1465 (toURI()): Implemented.
1467 2005-04-19 Michael Koch <konqueror@gmx.de>
1469 * java/net/InetAddress.java
1470 (InetAddress): Fixed javadoc comment.
1472 (lookup): Added javadoc.
1473 (getFamily): Likewise.
1474 * java/net/ServerSocket.java
1475 (getChannel): Improved javadoc comment.
1477 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1479 * gnu/xml/dom/html2/DomHTMLParser.java:
1480 Changed 'enum' references to become 'enumeration'.
1482 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1484 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1486 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1488 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1489 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1490 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1491 (validateParameters(TagElement,htmlAttributeSet)):
1492 Replaced 'enum' with 'enumeration'.
1493 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1496 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1498 * javax/swing/text/html/parser/Entity.java (getType): New method.
1499 * javax/swing/text/html/parser/DocumentParser.java:
1500 Inherit from javax.swing.text.html.parser.Parser.
1502 2005-04-19 Chris Burdess <dog@gnu.org>
1504 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1505 check for HTML/XHTML namespace.
1507 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1509 * javax/swing/text/html/parser/Parser.java,
1510 javax/swing/text/html/parser/Entity.java:
1511 Inheriting from DTDConstants.
1512 * javax/swing/text/html/parser/AttributeList.java
1513 (getValues): Changed return type.
1514 * javax/swing/text/html/parser/DocumentParser
1515 (parse): Adding the callback parameter that receives
1518 2005-04-19 Chris Burdess <dog@gnu.org>
1520 * gnu/xml/dom/DomImpl.java,
1521 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1522 gnu/xml/dom/html2/DomHTMLDocument.java,
1523 gnu/xml/dom/html2/DomHTMLElement.java,
1524 gnu/xml/dom/html2/DomHTMLFormElement.java,
1525 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1526 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1527 gnu/xml/dom/html2/DomHTMLImpl.java,
1528 gnu/xml/dom/html2/DomHTMLInputElement.java,
1529 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1530 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1531 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1532 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1533 gnu/xml/dom/html2/DomHTMLTableElement.java,
1534 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1535 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1536 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1537 UI events, and tree utility functions.
1539 2005-04-19 Michael Koch <konqueror@gmx.de>
1541 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1542 gnu/javax/swing/text/html/parser/gnuDTD.java,
1543 gnu/javax/swing/text/html/parser/models/node.java:
1544 Reworked import statements.
1546 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1548 * javax/swing/text/html/HTMLDocument.java: New file.
1550 2005-04-19 Michael Koch <konqueror@gmx.de>
1552 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1554 * javax/swing/text/html/parser/AttributeList.java:
1555 Fixed order of modifiers.
1556 (AttributeList): Made final.
1557 * javax/swing/text/html/parser/ContentModel.java:
1558 Fixed html characters in javadocs.
1559 * javax/swing/text/html/parser/DTD.java
1560 (DTD): Don't implement java.io.Serializable directly.
1561 (getElement): Simplified.
1562 * javax/swing/text/html/parser/DTDConstants.java:
1564 * javax/swing/text/html/parser/Element.java:
1565 Fixed order of modifiers.
1566 * javax/swing/text/html/parser/Parser.java:
1567 Reformatted. Don't use fully-qualified class names.
1568 * javax/swing/text/html/parser/ParserDelegator.java:
1569 Fixed order of modifiers.
1570 * javax/swing/text/rtf/RTFParser.java:
1571 Re-ordered import statements.
1572 * javax/swing/text/rtf/RTFScanner.java:
1573 Removed unused import statement.
1575 2005-04-19 Chris Burdess <dog@gnu.org>
1577 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1578 gnu/xml/dom/html2/DomHTMLCollection.java,
1579 gnu/xml/dom/html2/DomHTMLDocument.java,
1580 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1582 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1583 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1584 gnu/xml/dom/html2/DomHTMLDivElement.java,
1585 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1586 gnu/xml/dom/html2/DomHTMLFontElement.java,
1587 gnu/xml/dom/html2/DomHTMLFormElement.java,
1588 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1589 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1590 gnu/xml/dom/html2/DomHTMLHRElement.java,
1591 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1592 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1593 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1594 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1595 gnu/xml/dom/html2/DomHTMLImageElement.java,
1596 gnu/xml/dom/html2/DomHTMLInputElement.java,
1597 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1598 gnu/xml/dom/html2/DomHTMLLIElement.java,
1599 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1600 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1601 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1602 gnu/xml/dom/html2/DomHTMLMapElement.java,
1603 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1604 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1605 gnu/xml/dom/html2/DomHTMLModElement.java,
1606 gnu/xml/dom/html2/DomHTMLOListElement.java,
1607 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1608 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1609 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1610 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1611 gnu/xml/dom/html2/DomHTMLParamElement.java,
1612 gnu/xml/dom/html2/DomHTMLPreElement.java,
1613 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1614 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1615 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1616 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1617 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1618 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1619 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1620 gnu/xml/dom/html2/DomHTMLTableElement.java,
1621 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1622 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1623 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1624 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1625 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1627 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1629 * javax/swing/text/ChangedCharSetException.java,
1630 javax/swing/text/html/HTMLEditorKit.java,
1631 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1632 javax/swing/text/html/parser/AttributeList.java,
1633 javax/swing/text/html/parser/ContentModel.java,
1634 javax/swing/text/html/parser/DocumentParser.java,
1635 javax/swing/text/html/parser/DTD.java,
1636 javax/swing/text/html/parser/DTDConstants.java,
1637 javax/swing/text/html/parser/Element.java,
1638 javax/swing/text/html/parser/Entity.java,
1639 javax/swing/text/html/parser/Parser.java,
1640 javax/swing/text/html/parser/TagElement.java,
1641 gnu/javax/swing/text/html/package.html,
1642 gnu/javax/swing/text/html/parser/gnuDTD.java,
1643 gnu/javax/swing/text/html/parser/HTML_401F.java,
1644 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1645 gnu/javax/swing/text/html/parser/htmlValidator.java,
1646 gnu/javax/swing/text/html/parser/package.html,
1647 gnu/javax/swing/text/html/parser/models/list.java,
1648 gnu/javax/swing/text/html/parser/models/node.java,
1649 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1650 gnu/javax/swing/text/html/parser/models/package.html,
1651 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1652 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1653 gnu/javax/swing/text/html/parser/models/transformer.java,
1654 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1655 gnu/javax/swing/text/html/parser/support/package.html,
1656 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1657 gnu/javax/swing/text/html/parser/support/Parser.java,
1658 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1659 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1660 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1661 gnu/javax/swing/text/html/parser/support/low/Location.java,
1662 gnu/javax/swing/text/html/parser/support/low/node.java,
1663 gnu/javax/swing/text/html/parser/support/low/package.html,
1664 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1665 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1666 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1667 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1669 * javax/swing/text/html/HTML.java,
1670 javax/swing/text/html/parser/ParserDelegator.java:
1671 New files (replacing).
1672 * javax/swing/text/html/package.html,
1673 javax/swing/text/html/parser/package.html: Documenting the
1676 2005-04-19 Chris Burdess <dog@gnu.org>
1678 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1679 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1680 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1681 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1682 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1683 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1684 gnu/xml/dom/html2/DomHTMLBRElement.java,
1685 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1686 gnu/xml/dom/html2/DomHTMLCollection.java,
1687 gnu/xml/dom/html2/DomHTMLDocument.java,
1688 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1690 2005-04-19 Michael Koch <konqueror@gmx.de>
1692 * Makefile.am: Added new files.
1693 * Makefile.in: Regenerated.
1695 2005-04-19 Roman Kennke <roman@kennke.org>
1697 * javax/swing/text/JTextComponent.java
1698 (JTextComponent): Added repaintListener which issues repaint
1699 requests when the underlying document changes.
1700 (setDocument): Adds repaintListener to document when the
1701 document is changed.
1702 * javax/swing/text/DefaultEditorKit.java:
1703 Removed repaint calls on JTextComponent. This is now handled
1704 through a DocumentListener in JTextComponent that repaints
1705 the component when needed.
1707 2005-04-19 Roman Kennke <roman@kennke.org>
1710 * javax/swing/text/StyleContext.java
1711 (NamedStyle.setResolveParent): Added null
1714 2005-04-19 Michael Koch <konqueror@gmx.de>
1716 * java/rmi/server/RemoteObject.java:
1717 Removed unused import statement.
1719 2005-04-19 Michael Koch <konqueror@gmx.de>
1721 * java/net/URL.java: Formatting cleanups.
1723 2005-04-19 Michael Koch <konqueror@gmx.de>
1725 * java/awt/FontMetrics.java: Reformatted.
1726 (getFontRenderContext): Handle case when java.awt.Graphics context is
1729 2005-04-19 Michael Koch <konqueror@gmx.de>
1731 * java/awt/FontMetrics.java
1732 (getStringBounds): New methods.
1735 2005-04-19 Michael Koch <konqueror@gmx.de>
1737 * gnu/java/security/x509/X509Certificate.java
1738 (parse): Handle val == null case.
1740 2005-04-19 Roman Kennke <roman@kennke.org>
1742 * javax/swing/plaf/metal/MetalLookAndFeel.java
1743 (initComponentDefaults): Added defaults for Menu, MenuBar
1746 2005-04-19 Roman Kennke <roman@kennke.org>
1748 * javax/swing/plaf/metal/MetalLookAndFeel.java
1749 (initComponentDefaults): Added Label.font.
1750 (initSystemColorDefaults): Added this method and adjusted the
1751 general control color.
1753 2005-04-19 Roman Kennke <roman@kennke.org>
1755 * javax/swing/plaf/metal/MetalBorders.java:
1757 * javax/swing/plaf/metal/MetalButtonUI.java:
1758 (installDefaults): Install button font.
1759 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1760 (initComponentDefaults): Added button border, font and margin.
1761 Changed components background color to the Metal current themes
1764 2005-04-19 Roman Kennke <roman@kennke.org>
1766 * javax/swing/plaf/metal/MetalLookAndFeel.java
1767 (initComponentDefaults): Added to set Metal specific component
1770 2005-04-19 Mark Wielaard <mark@klomp.org>
1772 * javax/swing/plaf/metal/MetalLookAndFeel.java
1773 (initClassDefaults): Call super.initClassDefaults().
1775 2005-04-19 Roman Kennke <roman@kennke.org>
1777 * javax/swing/plaf/metal/MetalLookAndFeel.java
1778 (initClassDefaults): Added to include the *UI classes.
1780 2005-04-19 Roman Kennke <roman@kennke.org>
1782 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1784 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1786 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1788 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1790 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1792 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1794 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1796 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1798 * javax/swing/plaf/metal/MetalSliderUI.java:
1800 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1802 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1804 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1806 2005-04-19 Roman Kennke <roman@kennke.org>
1808 * javax/swing/plaf/metal/MetalButtonUI.java:
1809 Added skeleton class.
1810 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1811 Added skeleton class.
1812 * javax/swing/plaf/metal/MetalLabelUI.java:
1813 Added skeleton class.
1814 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1815 Added skeleton class.
1816 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1817 Added skeleton class.
1818 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1819 Added skeleton class.
1821 2005-04-19 Roman Kennke <roman@kennke.org>
1823 * javax/swing/UIDefaults.java:
1824 Added API documentation for all methods.
1826 2005-04-19 Roman Kennke <roman@kennke.org>
1828 * javax/swing/UIDefaults.java
1829 (put): Now uses new checkAndPut method instead of checking
1831 (putDefaults): Fixed so that it accepts null-values and
1832 treats them like remove(key).
1833 (checkAndPut): Added. This checks for null-values and calls
1836 2005-04-19 Michael Koch <konqueror@gmx.de>
1838 * Makefile.am: Added new files.
1839 * Makefile.in: Regenerated.
1841 2005-04-19 Mark Wielaard <mark@klomp.org>
1843 * java/lang/natRuntime.cc (insertSystemProperties): Set
1844 java.class.path to CLASSPATH only when not empty. Fall back to
1845 default path "." when java.class.path is empty.
1847 2005-04-19 Michael Koch <konqueror@gmx.de>
1849 * javax/swing/text/rtf/ControlWordToken.java,
1850 javax/swing/text/rtf/RTFEditorKit.java,
1851 javax/swing/text/rtf/RTFParseException.java,
1852 javax/swing/text/rtf/RTFParser.java,
1853 javax/swing/text/rtf/RTFScanner.java,
1854 javax/swing/text/rtf/TextToken.java,
1855 javax/swing/text/rtf/Token.java: New files.
1856 * Makefile.am: Added new files.
1857 * Makefile.in: Regenerated.
1859 2005-04-19 Michael Koch <konqueror@gmx.de>
1861 * java/awt/geom/QuadCurve2D.java:
1862 Fixed Brian Gough's name for real.
1864 2005-04-19 Roman Kennke <roman@kennke.org>
1866 * javax/swing/UIManager.java:
1867 Make the UIManager respect the swing.defaultlaf system
1870 2005-04-19 Tom Tromey <tromey@redhat.com>
1872 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1875 2005-04-19 Roman Kennke <roman@kennke.org>
1877 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1878 Fixed tabs to spaces.
1880 2005-04-19 Roman Kennke <roman@kennke.org>
1882 * javax/swing/plaf/basic/BasicMenuUI.java
1883 (getMaximumSize): Now returns preferredSize because JMenu should
1884 never be bigger than that.
1885 * javax/swing/JRootPane
1886 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1888 2005-04-19 Roman Kennke <roman@kennke.org>
1890 * javax/swing/JRootPane.java:
1891 Fixed various tabs to be spaces.
1892 (RootLayout.layoutContainer): Made menubar left aligned.
1894 2005-04-19 Roman Kennke <roman@ontographics.com>
1896 * javax/swing/JList.java
1897 (getPreferredScrollableViewportSize):
1898 The previous implementation was merely guessing the size,
1899 now it respects layoutOrientation, visibleRowCount
1901 (getScrollableTracksViewportHeight):
1902 Reimplemented so that layoutOrientation, visibleRowCount
1903 and preferred size are respected.
1904 (getScrollableTracksViewportWidth):
1905 Reimplemented so that layoutOrientation, visibleRowCount
1906 and preferred size are respected.
1907 * javax/swing/plaf/basic/BasicListUI.java
1909 Improved calculation of preferredSize when JList is
1910 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1912 The previous implementation assumed a layoutOrientation of
1913 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1914 JList.VERTICAL_WRAP.
1916 2005-04-19 Roman Kennke <roman@ontographics.com>
1918 * javax/swing/plaf/basic/BasicListUI.java
1919 (paintCell): use CellRendererPane for painting the cells.
1921 2005-04-19 Roman Kennke <roman@ontographics.com>
1923 * javax/swing/plaf/basic/BasicListUI:
1924 fixed modifiers of several fields, methods and inner
1925 classes to match the 'spec'.
1926 (getMaximumSize): removed. It's not in the spec and the
1927 implementations was superfluous.
1929 2005-04-19 Roman Kennke <roman@ontographics.com>
1931 * javax/swing/plaf/basic/BasicListUI:
1932 make BasicListUI capable of wrapping lists
1933 (layoutOrientation property of javax.swing.JList)
1935 2005-04-19 Roman Kennke <roman@ontographics.com>
1937 * javax/swing/plaf/basic/BasicListUI
1938 (updateLayoutState,paint): make BasicListUI aware of the
1939 width of the rendered JList.
1941 2005-04-19 Roman Kennke <roman@kennke.org>
1943 * javax/swing/ImageIcon.java
1944 Added API documentation.
1946 2005-04-19 Roman Kennke <roman@kennke.org>
1948 * javax/swing/text/ImageIcon.java
1949 (ImageIcon): Use setImage instead of direct assignment.
1950 (setImage): Call loadImage to make sure that the image is loaded.
1951 (loadImage): Waits for the image to complete loading.
1952 (getImageLoadStatus): Added. Returns the load status of the
1955 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1957 * javax/swing/JTextArea.java (replaceRange):
1958 Fixing doc.remove(start, length) misinterpretation.
1960 2005-04-19 Roman Kennke <roman@ontographics.com>
1962 * javax/swing/CellRendererPane.java:
1963 implemented all methods of this class.
1964 reformatted all wrong formatted code.
1966 2005-04-19 Roman Kennke <roman@kennke.org>
1968 * javax/swing/BoxLayout.java:
1969 (layoutContainer): Made this layout manager respect the
1970 minimum, maximum and preferred size more correctly.
1972 2005-04-19 Roman Kennke <roman@ontographics.com>
1974 * javax/swing/BoxLayout.java:
1975 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1976 layoutContainer): Make these methods and thereby the
1977 BoxLayout respect the insets (like borders) of the
1978 component that is laid out.
1980 2005-04-19 Roman Kennke <roman@kennke.org>
1982 * javax/swing/JComponent.java:
1983 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1984 Untabified the file.
1986 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1988 * javax/swing/JComboBox.java (constructors): selecting the
1989 first item if the box was constructed from the provided
1990 non - empty array or vector.
1992 2005-04-19 Michael Koch <konqueror@gmx.de>
1994 * gnu/java/awt/peer/gtk/GdkGraphics.java
1995 (getClipBounds): Handle clip being null.
1996 (setClip): Likewise.
1997 * java/beans/beancontext/BeanContextSupport.java
2001 (removeAll): Likewise.
2002 (retainAll): Likewise.
2004 2005-04-19 Michael Koch <konqueror@gmx.de>
2006 * java/beans/beancontext/BeanContextServicesSupport.java
2007 (BeanContextServicesSupport): Reimplemented.
2008 (addBeanContextServicesListener): Implemented.
2009 (initialize): Likewise.
2010 (removeBeanContextServicesListener): Likewise.
2011 * java/beans/beancontext/BeanContextSupport.java
2013 (addBeanContextMembershipListener): Likewise.
2014 (getLocale): Likewise.
2015 (initialize): Likewise.
2016 (iterator): Likewise.
2018 (toArray): Likewise.
2020 2005-04-19 Roman Kennke <roman@kennke.org>
2022 * java/awt/MediaTracker.java:
2023 Reindented tabs to spaces.
2025 2005-04-19 Roman Kennke <roman@kennke.org>
2027 * java/awt/MediaTracker.java
2028 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2029 confused the media tracker and lead to lockups. The LOADING
2030 bit is handled on other places.
2031 (addImage): Removed the 'start image tracking' stuff. This
2032 is not necessary and could confuse the media tracker.
2033 (checkAll): Improved the check for image status so that
2034 images that already complete images are detected. Also now
2035 are really all images checked and if necessary loaded. Before
2036 the method bailed out after the first incomplete image.
2037 (statusAll): Detect images that are complete after the
2038 call to Component.prepareImage(..).
2039 (checkID): The same as in checkAll.
2040 (statusID): The same as in statusAll.
2042 2005-04-19 Roman Kennke <roman@kennke.org>
2044 * java/awt/MediaTracker.java
2045 (addImage): Synchronized list access.
2046 (waitForAll): Fixed comparison of time (changed < to >).
2047 (waitForID): Fixed comparison of time (changed < to >).
2048 (removeImage): Synchronized list access.
2050 2005-04-19 Roman Kennke <roman@kennke.org>
2052 * java/awt/MediaTracker.java
2053 Added API documentation.
2055 2005-04-19 Roman Kennke <roman@kennke.org>
2057 * java/awt/MediaTracker.java
2058 (MediaEntry.imageUpdate): Fixed flags. The different flags
2059 must not be ORed together.
2060 (checkAll): Modified to handle different meaning of the flags.
2061 (waitForAll): Fixed so that it waits maximum the
2062 specified amount of milliseconds.
2063 (statusAll): Modified to handle different meaning of the flags.
2064 (waitForID): Fixed so that it waits maximum the
2065 specified amount of milliseconds.
2067 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2069 * java/awt/Font.java (decode): Handle null argument and allow
2072 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2074 * java/beans/EventHandler.java: Reworked documentation.
2075 (invoke): Fixed behavior to match spec.
2077 2005-04-19 Michael Koch <konqueror@gmx.de>
2079 * java/awt/print/PrinterJob.java
2080 (pageDialog): New method.
2081 (printDialog): Implemented.
2083 2005-04-19 Michael Koch <konqueror@gmx.de>
2085 * java/awt/image/ConvolveOp.java:
2086 Removed comment added by eclipse.
2088 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2090 * java/awt/image/IndexColorModel.java
2091 (getRGB): Check if pixel is negative.
2093 2005-04-19 Michael Koch <konqueror@gmx.de>
2095 * java/awt/image/RasterOp.java:
2096 Fixed wrong formatting.
2098 2005-04-18 Roman Kennke <roman@kennke.org>
2100 * java/awt/Compmonent.java
2101 (setComponentOrientation): Made this property firing a
2102 PropertyChangeEvent.
2104 2005-04-18 Roman Kennke <roman@kennke.org>
2106 * java/awt/BorderLayout.java
2107 (calcSize): Check for overflow when component sizes are added.
2109 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2111 * java/awt/AWTEvent.java (toString): Added case
2112 for source not being an AWT component.
2114 2005-04-18 Chris Burdess <dog@gnu.org>
2116 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2118 2005-04-18 Michael Koch <konqueror@gmx.de>
2120 gnu/java/awt/EmbeddedWindowSupport.java,
2121 gnu/java/net/HeaderFieldHelper.java,
2122 gnu/java/net/URLParseError.java,
2123 gnu/java/net/protocol/file/Handler.java,
2124 gnu/java/net/protocol/jar/Handler.java:
2125 Fixed usage of @author tag.
2127 2005-04-18 Michael Koch <konqueror@gmx.de>
2129 * gnu/xml/aelfred2/XmlParser.java:
2130 Reverted my typo fix.
2132 2005-04-18 Michael Koch <konqueror@gmx.de>
2134 * java/awt/geom/CubicCurve2D.java,
2135 java/awt/geom/QuadCurve2D.java:
2136 Fixed mentioning of Brian Gouph.
2138 2005-04-18 Michael Koch <konqueror@gmx.de>
2140 * gnu/java/awt/Buffers.java,
2141 gnu/java/awt/image/ImageDecoder.java,
2142 gnu/java/awt/image/XBMDecoder.java,
2143 gnu/java/awt/peer/ClasspathFontPeer.java,
2144 gnu/java/net/CRLFInputStream.java,
2145 gnu/java/net/EmptyX509TrustManager.java,
2146 gnu/java/net/LineInputStream.java,
2147 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2148 gnu/java/net/protocol/ftp/BlockInputStream.java,
2149 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2150 gnu/java/net/protocol/ftp/DTP.java,
2151 gnu/java/net/protocol/ftp/DTPInputStream.java,
2152 gnu/java/net/protocol/ftp/FTPConnection.java,
2153 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2154 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2155 gnu/java/net/protocol/ftp/StreamInputStream.java,
2156 gnu/java/net/protocol/http/ChunkedInputStream.java,
2157 gnu/java/net/protocol/http/HTTPConnection.java,
2158 gnu/java/net/protocol/http/HTTPURLConnection.java,
2159 gnu/java/net/protocol/http/Headers.java,
2160 gnu/java/net/protocol/http/Request.java,
2161 gnu/java/nio/ChannelInputStream.java,
2162 gnu/java/nio/ChannelOutputStream.java,
2163 gnu/java/nio/InputStreamChannel.java,
2164 gnu/java/nio/OutputStreamChannel.java,
2165 gnu/java/nio/SelectorProviderImpl.java,
2166 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2167 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2168 gnu/java/rmi/dgc/DGCImpl.java,
2169 gnu/java/rmi/registry/RegistryImpl.java,
2170 gnu/java/rmi/server/ProtocolConstants.java,
2171 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2172 gnu/java/rmi/server/RMIIncomingThread.java,
2173 gnu/java/rmi/server/RMIObjectInputStream.java,
2174 gnu/java/rmi/server/RMIObjectOutputStream.java,
2175 gnu/java/rmi/server/RMIVoidValue.java,
2176 gnu/java/rmi/server/UnicastConnectionManager.java,
2177 gnu/java/rmi/server/UnicastRef.java,
2178 gnu/java/rmi/server/UnicastRemoteCall.java,
2179 gnu/java/rmi/server/UnicastRemoteStub.java,
2180 gnu/java/rmi/server/UnicastServerRef.java,
2181 gnu/java/security/OID.java,
2182 gnu/java/security/der/DERReader.java,
2183 gnu/java/security/provider/CollectionCertStoreImpl.java,
2184 gnu/java/security/provider/DSAParameterGenerator.java,
2185 gnu/java/security/provider/DefaultPolicy.java,
2186 gnu/java/security/provider/EncodedKeyFactory.java,
2187 gnu/java/security/provider/GnuDHPublicKey.java,
2188 gnu/java/security/provider/GnuDSAPrivateKey.java,
2189 gnu/java/security/provider/GnuDSAPublicKey.java,
2190 gnu/java/security/provider/GnuRSAPrivateKey.java,
2191 gnu/java/security/provider/GnuRSAPublicKey.java,
2192 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2193 gnu/java/security/provider/RSA.java,
2194 gnu/java/security/provider/SHA1PRNG.java,
2195 gnu/java/security/provider/SHA1withRSA.java,
2196 gnu/java/security/provider/X509CertificateFactory.java,
2197 gnu/java/security/x509/GnuPKIExtension.java,
2198 gnu/java/security/x509/X500DistinguishedName.java,
2199 gnu/java/security/x509/X509CRL.java,
2200 gnu/java/security/x509/X509CRLEntry.java,
2201 gnu/java/security/x509/X509CertPath.java,
2202 gnu/java/security/x509/X509CertSelectorImpl.java,
2203 gnu/java/security/x509/X509Certificate.java,
2204 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2205 gnu/java/security/x509/ext/BasicConstraints.java,
2206 gnu/java/security/x509/ext/CRLNumber.java,
2207 gnu/java/security/x509/ext/CertificatePolicies.java,
2208 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2209 gnu/java/security/x509/ext/Extension.java,
2210 gnu/java/security/x509/ext/GeneralNames.java,
2211 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2212 gnu/java/security/x509/ext/KeyUsage.java,
2213 gnu/java/security/x509/ext/PolicyConstraint.java,
2214 gnu/java/security/x509/ext/PolicyMappings.java,
2215 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2216 gnu/java/security/x509/ext/ReasonCode.java,
2217 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2218 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2219 Reorganized import statements.
2221 2005-04-18 Michael Koch <konqueror@gmx.de>
2223 * gnu/java/awt/color/CieXyzConverter.java,
2224 gnu/java/awt/color/ClutProfileConverter.java,
2225 gnu/java/awt/color/ColorLookUpTable.java,
2226 gnu/java/awt/color/ColorSpaceConverter.java,
2227 gnu/java/awt/color/GrayProfileConverter.java,
2228 gnu/java/awt/color/GrayScaleConverter.java,
2229 gnu/java/awt/color/LinearRGBConverter.java,
2230 gnu/java/awt/color/ProfileHeader.java,
2231 gnu/java/awt/color/PyccConverter.java,
2232 gnu/java/awt/color/RgbProfileConverter.java,
2233 gnu/java/awt/color/SrgbConverter.java,
2234 gnu/java/awt/color/TagEntry.java,
2235 gnu/java/awt/color/ToneReproductionCurve.java:
2236 Standardized file headers.
2238 2005-04-16 Tom Tromey <tromey@redhat.com>
2240 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2241 'ANY' package-private.
2243 2005-04-15 Tom Tromey <tromey@redhat.com>
2245 * Makefile.in: Rebuilt.
2246 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2247 (libgcj0_convenience_la_LIBADD): ... here.
2249 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2251 * gij.cc (version): Properly quote java version.
2252 (main): Fix typo in comment.
2254 2005-04-13 Mark Wielaard <mark@klomp.org>
2256 * java/lang/natRuntime.cc (insertSystemProperties): Set
2257 java.class.path to CLASSPATH if not already set.
2259 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2261 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2263 2005-04-12 Mike Stump <mrs@apple.com>
2265 * configure: Regenerate.
2267 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2270 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2271 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2273 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2276 * scripts/TexinfoDoclet.java: Removed.
2277 * Makefile.am (texinfo): Removed.
2278 * Makefile.in: Regenerated.
2280 2005-04-11 Michael Koch <konqueror@gmx.de>
2282 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2283 Fixed wrong casting.
2285 2005-04-06 Andrew Haley <aph@redhat.com>
2287 * testsuite/libjava.lang/bytearray.java: New file.
2288 * testsuite/libjava.lang/bytearray.out: New file.
2289 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2290 (loadClass): Use it.
2291 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2293 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2295 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2296 gcj-dbtool dependency
2297 * Makefile.in: Regenerated
2299 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2301 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2302 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2304 2005-04-05 Andrew Haley <aph@redhat.com>
2306 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2307 (Tokenizer): New class.
2308 (getFiles): New method.
2309 (main): Add "-" argument.
2311 Read list of files from stdin when merging map databases.
2312 (usage): Add "-" argument.
2316 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2319 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2320 * Makefile.in: Regenerate.
2321 * configure.ac: Add --with-java-home option.
2322 * configure: Regenerate.
2323 * external/Makefile.in: Regenerate.
2324 * external/sax/Makefile.in: Regenerate.
2325 * external/w3c_dom/Makefile.in: Regenerate.
2326 * gcj/Makefile.in: Regenerate.
2327 * include/Makefile.in: Regenerate.
2328 * testsuite/Makefile.in: Regenerate.
2329 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2332 2005-04-05 Tom Tromey <tromey@redhat.com>
2334 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2335 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2336 Rewrote to use _Jv_FindClassFromSignature.
2337 * verify.cc (resolve): throw NoClassDefFoundError.
2338 * link.cc (resolve_field): Throw NoClassDefFoundError.
2339 (find_field): Likewise.
2340 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2341 Handle error cases. Added 'endp' argument.
2342 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2344 2005-04-05 Tom Tromey <tromey@redhat.com>
2346 * Makefile.in: Rebuilt.
2347 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2348 gtk_awt_peer_sources.
2349 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2350 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2351 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2352 (gtk-awt-peer.lo): New target.
2354 2005-04-04 Steve Pribyl <steve@netfuel.com>
2357 * configure.ac: Fix fastjar definition for cross builds.
2358 * configure: Rebuilt.
2360 2005-04-04 Tom Tromey <tromey@redhat.com>
2362 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2363 it was already found.
2365 2005-04-04 Tom Tromey <tromey@redhat.com>
2367 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2368 org.metastatic.jessie.
2370 2005-04-02 Anthony Green <green@redhat.com>
2373 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2375 2005-04-02 Mark Wielaard <mark@klomp.org>
2377 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2378 Attributes and attribute order doesn't matter.
2379 (BasicAttributesEnumeration.where): Initialize to zero.
2380 (BasicAttributesEnumeration.nextElement): Update and compare where
2381 appropriately (zero based).
2383 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2385 PR libgcj/20090, PR libgcj/20526
2386 * gij.cc (nonstandard_opts_help): New function.
2387 (add_option): New function.
2388 (main): Support java options. Set java.class.path. Don't set
2390 * prims.cc (parse_x_arg): New function.
2391 (parse_init_args): Call parse_x_arg for -X and _ options, when
2392 ignoreUnrecognized is true.
2393 (new _Jv_RunMain): New vm_args variant.
2394 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2395 (_Jv_Jar_Class_Path): Remove variable.
2396 * include/java-props.h: Likewise.
2397 * include/cni.h (JvRealloc): New function.
2398 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2399 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2400 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2402 * configure.ac (JV_VERSION): Define.
2403 (JV_API_VERSION): Likewise.
2404 * configure: Regenerate.
2405 * include/config.h.in: Regenerate.
2407 2005-04-01 Mark Anderson <mark@panonet.net>
2409 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2410 -Infinity as parameters.
2412 2005-04-01 Michael Koch <konqueror@gmx.de>
2414 * java/io/PipedInputStream.java
2415 (read): Make sure a positive byte value is returned. Revised javadoc.
2416 Thanks to Olafur Bragason for reporting these bugs.
2418 2005-04-01 Tom Tromey <tromey@redhat.com>
2420 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2421 Updated for name change.
2422 (nativeFindClass): New method.
2423 (loadClass): Use nativeFindClass.
2424 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2426 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2427 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2429 (initialize): New method.
2430 (nativeFindClass): Declare.
2431 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2432 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2433 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2435 (definePackageForNative): Removed.
2436 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2437 Moved to VMClassLoader.java.
2438 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2439 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2440 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2441 removed VMClassLoader.java.
2442 (nat_source_files): Removed natVMClassLoader.cc.
2444 2005-04-01 Tom Tromey <tromey@redhat.com>
2446 * Makefile.in: Rebuilt.
2447 * Makefile.am (db_pathtail): Use $(gcc_version), not
2450 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2452 * java/util/Timer.java
2453 (run): Stop the queue if a task throws an exception.
2455 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2457 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2459 2005-03-29 Ian Lance Taylor <ian@airs.com>
2461 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2462 * external/sax/Makefile.in: Rebuild.
2463 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2465 * external/w3c_dom/Makefile.in: Rebuild.
2467 2005-03-29 Tom Tromey <tromey@redhat.com>
2469 * java/lang/natRuntime.cc (insertSystemProperties): Set
2470 gnu.gcj.runtime.endorsed.dirs.
2471 * Makefile.in: Rebuilt.
2472 * Makefile.am (ordinary_java_source_files): Added
2473 HelperClassLoader.java.
2474 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2475 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2477 (init): Use addDirectoriesFromProperty.
2478 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2479 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2480 gnu.gcj.runtime.endorsed.dirs.
2481 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2483 2005-03-26 Chris Burdess <dog@gnu.org>
2485 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2488 2005-03-13 Michael Koch <konqueror@gmx.de>
2490 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2492 2005-03-11 Chris Burdess <dog@gnu.org>
2494 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2497 2005-02-27 Chris Burdess <dog@gnu.org>
2499 * gnu/xml/aelfred2/JAXPFactory.java,
2500 gnu/xml/aelfred2/SAXDriver.java,
2501 gnu/xml/aelfred2/XmlParser.java,
2502 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2503 formatting conventions. Replaced arrays of Object with struct-like
2504 classes for easier maintainability. Made SAXDriver.stringInterning
2505 package private to allow access from XmlParser inside the loop without
2506 a method call overhead.
2508 2005-03-11 Chris Burdess <dog@gnu.org>
2510 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2513 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2515 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2516 settings to sub Makefiles.
2517 (GCJH, ZIP): Prefix with top_builddir.
2518 * configure: Rebuild.
2519 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2520 * external/w3c_dom/Makefile.in: Rebuild.
2521 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2522 * external/sax/Makefile.in: Rebuild.
2524 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2526 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2527 libsocket to the libraries to link for Solaris.
2529 2005-03-28 Per Bothner <per@bothner.com>
2531 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2532 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2534 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2536 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2537 to fix a ONESTEP fallout.
2538 * Makefile.in: Regenerate.
2540 2005-03-25 Mike Stump <mrs@apple.com>
2542 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2543 paths like we do for the compiler, as we use it in external/sax
2544 and it doesn't get MULTIBUILDTOP right when multilibing.
2546 2005-03-24 Anthony Green <green@redhat.com>
2548 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2550 (usage): Add [LIBDIR] to help output.
2551 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2552 * Makefile.am (AM_CXXFLAGS): Define
2553 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2554 (db_pathtail): New macro.
2556 2005-03-24 Tom Tromey <tromey@redhat.com>
2558 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2559 add sax and w3c libraries.
2560 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2562 * external/w3c_dom/Makefile.in: Rebuilt.
2563 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2565 (libw3c_gcj_la_LDFLAGS): New variable.
2566 (noinst_LTLIBRARIES): Renamed.
2567 * external/sax/Makefile.in: Rebuilt.
2568 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2570 (libsax_gcj_la_LDFLAGS): New variable.
2571 (noinst_LTLIBRARIES): Renamed.
2573 2005-03-23 Tom Tromey <tromey@redhat.com>
2575 * Makefile.in: Rebuilt.
2576 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2577 (libgcj0_convenience_la_SOURCES): Don't include
2578 gnu_xml_source_files.
2579 (libgcj0_convenience_la_LIBADD): New variable.
2580 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2581 (all_java_source_files): javax_imageio_source_files,
2582 javax_xml_source_files, and gnu_java_beans_source_files.
2583 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2584 (gnu-xml.lo): New target.
2585 (javax-imageio.lo): Likewise.
2586 (javax-xml.lo): Likewise.
2587 (gnu-java-beans.lo): Likewise.
2588 (gnu_java_beans_source_files): New variable.
2589 (javax_imageio_source_files): Likewise.
2590 (javax_xml_source_files): Likewise.
2591 (javax_source_files): Moved files to other variable.
2592 (awt_java_source_files): Likewise.
2593 (ordinary_java_source_files): Added BootClassLoader.java.
2594 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2595 not system class loader.
2596 (initBootLoader): New method.
2597 (loadClass): Search bootLoader.
2598 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2599 boot loader, not system class loader.
2600 (_Jv_UnregisterInitiatingLoader): Likewise.
2601 (_Jv_FindClass): Likewise. Ensure entries in
2602 bootstrap_class_list are unique.
2603 * java/lang/natClass.cc (getClassLoader): Don't special case
2604 system class loader.
2605 * java/lang/VMClassLoader.java (bootLoader): New field.
2606 (getResource): Use bootLoader.
2607 (getResources): Likewise.
2608 (initBootLoader): Declare.
2609 * gnu/gcj/runtime/BootClassLoader.java: New file.
2610 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2611 (EMPTY_ENUMERATION): Now package-private.
2612 * external/w3c_com/Makefile.in: Rebuilt.
2613 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2614 (w3c.jar): New target.
2615 (classes.stamp): Updated.
2616 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2617 Changed name of library.
2618 (libw3c_gcj_la_SOURCES): New variable.
2619 (libw3c_gcj_la_GCJFLAGS): Likewise.
2620 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2621 * external/sax/Makefile.in: Rebuilt.
2622 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2623 (sax.jar): New target.
2624 (classes.stamp): Updated.
2625 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2626 Changed name of library.
2627 (libsax_gcj_la_SOURCES): New variable.
2628 (libsax_gcj_la_GCJFLAGS): Likewise.
2629 (source_files): Renamed from libsax_convenience_la_SOURCES.
2630 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2632 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2634 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2636 2005-03-23 Sven de Marothy <sven@physto.se>
2638 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2640 * java/util/Calendar.java
2641 (set): Use starting day of week when one is needed if none is given.
2642 * java/text/SimpleDateFormat.java
2643 (parse): Handle 1-12 and 1-24 timestamps correctly.
2644 * java/util/GregorianCalendar.java
2645 (computeTime, computeFields): HOUR should be in 0-11 format.
2646 (nonLeniencyCheck): Adjust leniency checking to that fact.
2647 (getLinearDay): Should be private.
2649 2005-03-23 Tom Tromey <tromey@redhat.com>
2651 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2652 (_Jv_CheckABIVersion): Use it.
2654 2005-03-22 Mike Stump <mrs@apple.com>
2656 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2658 * include/posix.h: .dylib is used on all Apple MACH platforms.
2659 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2661 2005-03-22 Tom Tromey <tromey@redhat.com>
2663 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2665 2005-03-21 Tom Tromey <tromey@redhat.com>
2667 * java/lang/VMCompiler.java (static block): Also catch
2668 BufferUnderflowException.
2670 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2672 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2673 set tool_include_dir. In all substitutions, leave $(gcc_version)
2674 to be expanded by the Makefile.
2675 * aclocal.m4, configure: Regenerate.
2676 * Makefile.am: Set gcc_version. Replace all uses of
2677 @gcc_version@ with $(gcc_version).
2678 * external/Makefile.am, external/sax/Makefile.am
2679 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2680 * testsuite/Makefile.am: Set gcc_version.
2681 * include/Makefile.am: Set gcc_version and tool_include_dir.
2682 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2683 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2684 * testsuite/Makefile.in: Regenerate.
2686 2005-03-17 Andrew Haley <aph@redhat.com>
2688 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2690 Pass klass to _Jv_StackTrace::GetClassContext().
2691 * java/lang/ClassLoader.java (getParent): Pass class to
2692 VMSecurityManager.getClassContext()
2693 (getSystemClassLoader): Likewise.
2694 * java/lang/Package.java (getPackage): Likewise.
2695 (getPackages): Likewise.
2696 * java/lang/SecurityManager.java (getClassContext): Likewise.
2697 (currentClassLoader): Likewise.
2698 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2699 (currentClassLoader) Add new arg: caller.
2700 Pass caller to VMSecurityManager.getClassContext.
2702 * stacktrace.cc (GetClassContext): Correct calculation of
2705 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2706 im->source_file_name.
2708 2005-03-16 Andrew Haley <aph@redhat.com>
2710 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2712 2005-03-16 Tom Tromey <tromey@redhat.com>
2714 * link.cc (ensure_class_linked): Removed #ifdef.
2715 (print_class_loaded): Likewise.
2716 (wait_for_state): Likewise.
2717 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2718 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2719 * include/java-interp.h: ... here.
2721 2005-03-16 Tom Tromey <tromey@redhat.com>
2723 * gnu/java/lang/MainThread.java (run): Load main class using
2724 system class loader.
2726 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2728 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2729 lgcc_s to the libraries to link for Darwin.
2731 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2733 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2734 interpreter-specific code with #ifdef INTERPRETER.
2735 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2736 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2737 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2738 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2739 #ifdef INTERPRETER. Also protect declarations that use it.
2740 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2741 #ifdef INTERPRETER block.
2743 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2746 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2747 * Makefile.in: Rebuilt.
2749 2005-03-15 David Daney <ddaney@avtrex.com>
2751 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2754 2005-03-15 David Daney <ddaney@avtrex.com>
2756 * java/io/BufferedInputStream.java (available): Use 'in' instead
2757 of 'super' for underlying stream access.
2759 (read(byte[], int, int)): Ditto.
2761 (skip): Call skip on underlying stream when possible.
2763 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2765 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2766 SJLJ_EXCEPTIONS is defined.
2768 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2770 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2773 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2775 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2777 (libjava_arguments): Likewise.
2779 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2780 (gcj_jni_test_one): Likewise.
2781 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2782 Add flags to keep the Darwin linker quiet.
2783 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2784 Add -liconv for Darwin.
2786 2005-03-11 Tom Tromey <tromey@redhat.com>
2788 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2789 (_Jv_CheckABIVersion): Use it.
2791 2005-03-11 Tom Tromey <tromey@redhat.com>
2793 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2794 (usage): Document '-p'.
2795 * Makefile.in: Rebuilt.
2796 * Makefile.am (dbexecdir): New variable.
2797 (db_name): Likewise.
2798 (dbexec_DATA): Likewise.
2799 ($(db_name)): New target.
2800 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2801 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2804 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2806 * exception.cc: Remove stray MethodRef.h include.
2807 * java/lang/natClass.cc: Likewise.
2808 * gnu/gcj/runtime/MethodRef.java: Removed.
2809 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2810 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2811 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2812 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2813 * Makefile.in: Rebuilt.
2815 2005-03-10 Tom Tromey <tromey@redhat.com>
2817 * Makefile.in: Rebuilt.
2818 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2820 2005-03-10 Chris Burdess <dog@bluezoo.org>
2822 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2823 not currently parsing the DTD.
2825 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2827 New Stack Trace infrastructure.
2828 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2829 (gnu/gcj/runtime/StackTrace.java): Removed.
2830 (ordinary_java_source_files): Remove obsolete files.
2831 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2832 * configure.host (fallback_backtrace_h): Set backtrace header
2833 for mingw and cygwin targets.
2834 * configure.ac: Make symlink for fallback backtrace headers.
2835 * Makefile.in, configure: Rebuilt.
2836 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2837 Read 'LineNumberTable' attribute.
2838 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2840 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2842 * exception.cc: Remove unused include.
2843 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2844 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2845 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2846 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2847 table to direct threaded instruction values.
2848 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2849 (_Jv_InterpMethod::run): No longer member function. All
2850 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2851 is made or where an instruction could throw.
2852 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2854 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2855 (catch_fpe): Likewise.
2856 * stacktrace.cc: New file. Stack trace code now here.
2857 * gnu/gcj/runtime/MethodRef.java:
2858 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2859 calls addr2line to look up PC addresses in a given binary or shared
2861 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2862 gnu/gcj/runtime/natStackTrace.cc: Removed.
2863 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2864 this function name is specially recognised by the stack trace code
2865 and shouldn't be changed.
2866 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2867 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2868 (_Jv_InterpMethod::run): Update declaration.
2869 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2871 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2872 * include/java-stack.h: New file. Declarations for stack tracing.
2873 * include/jvm.h (_Jv_Frame_info): Removed.
2874 * java/lang/Class.h: Update friend declarations.
2875 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2877 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2878 (getStackTrace): Now native.
2879 (data): New RawDataManaged field.
2880 * java/lang/natClass.cc: Update includes.
2881 (forName): Use _Jv_StackTrace::GetCallingClass for
2882 calling-classloader check.
2883 (getClassLoader): Likewise.
2884 * java/lang/natRuntime.cc: Update includes.
2885 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2886 * java/lang/natVMSecurityManager.cc: Update includes.
2887 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2888 * java/lang/natVMThrowable.cc: New file. Native methods for
2890 * java/lang/reflect/natArray.cc: Update includes.
2891 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2892 accessibility check.
2893 * java/lang/reflect/natConstructor.cc: Update includes.
2894 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2895 accessibility check.
2896 * java/lang/reflect/natField.cc: Update includes.
2897 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2898 accessibility check.
2899 * java/lang/reflect/natMethod.cc: Update includes.
2900 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2901 accessibility check.
2902 * java/util/natResourceBundle.cc: Update includes.
2903 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2904 * java/util/logging/natLogger.cc: Update includes. Use
2905 _Jv_StackTrace::GetCallerInfo to get call-site info.
2906 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2908 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2911 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2913 * testsuite/libjava.compile/PR20312.java: New file.
2914 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2915 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2917 2005-03-09 Andrew Haley <aph@redhat.com>
2919 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2921 (smallTransferTo): New.
2922 (transferFrom): Loop around smallTransferFrom, copying pageSize
2924 (transferTo): Likewise.
2926 2005-03-09 David Daney <ddaney@avtrex.com>
2929 Merge BufferedInputStream from GNU Classpath.
2930 * java/io/BufferedInputStream.java (marktarget): Field removed.
2931 (CHUNKSIZE): Field removed.
2932 (bufferSize): New field.
2933 (BufferedInputStream): Initialize fields.
2934 (close): Invalidate mark and buffer indexes.
2936 (read()): Move mark handling code to refill.
2937 (read(byte[], int, int)): Ditto.
2938 (skip): Ditto and simplify EOF testing.
2939 (refill): Rewritten.
2940 * java/io/InputStreamReader.java (refill): Removed mark and reset
2941 of internal BufferedInputStream.
2943 2005-03-09 Tom Tromey <tromey@redhat.com>
2945 * java/lang/natVMClassLoader.cc (defineClass): Reference
2946 'systemClassLoader' field directly.
2947 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2949 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2950 Reference 'systemClassLoader' field directly.
2951 (_Jv_UnregisterInitiatingLoader): Likewise.
2952 (_Jv_FindClass): Likewise.
2954 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2956 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2958 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2959 the file in GNU Classpath style.
2961 2005-03-09 Tom Tromey <tromey@redhat.com>
2963 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2964 (toString): Synchronize.
2966 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2968 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2969 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2971 2005-03-07 Tom Tromey <tromey@redhat.com>
2973 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2974 (usage): Document '-f'.
2976 2005-03-07 Tom Tromey <tromey@redhat.com>
2978 * java/lang/VMCompiler.java (md5Digest): New field.
2979 (compileClass): Clone md5Digest instead of looking up a new one.
2981 2005-03-07 Tom Tromey <tromey@redhat.com>
2984 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2985 * link.cc (find_field_helper): Added 'type' argument.
2986 (find_field): Updated.
2988 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2989 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2990 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2991 throw UnsupportedOperationException, fixed comments.
2992 (setFont, setForeground): Fixed comments.
2993 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2994 return type to boolean.
2995 (getNextEvent): Fixed javadocs.
2996 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2997 (nativeQueueEmpty): Removed unused code.
2998 (iterateNativeQueue): Removed outer loop.
3000 2005-03-06 Roger Sayle <roger@eyesopen.com>
3003 * Makefile.am (libgcj0_convenience.la): Revert last change.
3004 * Makefile.in: Regenerate.
3006 2005-03-05 Anthony Green <green@redhat.com>
3008 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3009 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3010 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3011 (_Jv_GetDrawingSurface): Set visualID.
3012 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3013 (JAWT_GetAWT): Set Lock and Unlock.
3014 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3016 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3017 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3018 JAWT_LOCK_SURFACE_CHANGED): New macros.
3019 (struct _JAWT): Add Lock and Unlock.
3021 2005-03-05 Roger Sayle <roger@eyesopen.com>
3022 Alexandre Oliva <aoliva@redhat.com>
3023 Kelley Cook <kcook@gcc.gnu.org>
3026 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3027 of the object files to link to avoid exceeding the command line
3028 length limits on some platforms.
3029 (clean-local): Clean up objectlist files.
3030 * Makefile.in: Regenerate.
3032 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3034 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3035 spec_case. Initialize pointer mlo.
3037 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3040 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3042 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3045 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3046 uninitialized variable z.
3048 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3049 possible unused variables.
3051 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3053 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3055 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3058 * testsuite/libjava.jni/jni.exp
3059 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3061 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3063 2005-02-23 David Daney <ddaney@avtrex.com>
3065 * configure.host: Don't use -mxgot for MIPS builds.
3067 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3070 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3071 (COMPPATH): Removed.
3072 (ZIP, GCJH): Replace it with ../$(host_subdir).
3073 (built_gcc_dir): Add $(host_subdir).
3074 * configure: Regenerate.
3075 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3076 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3077 external/w3c_dom/Makefile.in: Regenerate.
3079 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3081 * java/awt/font/TextAttribute.java: changed names to lower case;
3082 (readResolve): implemented.
3083 Added doc comments all over.
3085 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3088 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3089 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3090 value. Move argument parsing code to prims.cc.
3091 * prims.cc (no_properties): Remove.
3092 (_Jv_Compiler_Properties): Initialize to NULL.
3093 (_Jv_Properties_Count): Initialize to 0.
3094 (parse_verbose_args): New function.
3095 (parse_init_args): New function.
3096 (_Jv_CreateJavaVM): Call parse_init_args.
3097 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3098 * gcj/cni.h (JvVMOption): New struct.
3099 (JvVMInitArgs): Likewise.
3100 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3102 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3103 (_Jv_VMInitArgs): Likewise.
3104 * include/java-props.h (_Jv_Properties_Count): Declare.
3105 * java/lang/natRuntime.cc (insertSystemProperties): Use
3106 _Jv_Properties_Count in for loop exit condition.
3107 * testsuite/libjava.jni/jni.exp
3108 (gcj_invocation_compile_c_to_binary): New procedure.
3109 (gcj_invocation_test_one): Likewise.
3110 (gcj_jni_run): Run JNI invocation API tests.
3111 * testsuite/libjava.jni/invocation/PR16923.c,
3112 testsuite/libjava.jni/invocation/PR16923.java,
3113 testsuite/libjava.jni/invocation/PR16923.out: New test.
3115 2005-02-23 Michael Koch <konqueror@gmx.de>
3117 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3118 * Makefile.in: Regenerated.
3120 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3122 * gnu/java/nio/ChannelReader: Fixed comments.
3124 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3126 * java/nio/channels/Channels: Added FIXMEs about
3127 stub method implementation.
3128 (newReader): Implemented.
3129 * gnu/java/nio/ChannelReader: New class.
3131 2005-02-23 Michael Koch <konqueror@gmx.de>
3133 * java/text/SimpleDateFormat.java:
3134 Removed unused import.
3136 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3139 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3140 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3141 * Makefile.in: Regenerate.
3142 * configure.ac: Check for libXtst.
3143 * configure: Regenerate.
3145 2005-02-22 Mark Wielaard <address@bogus.example.com>
3147 * java/security/AlgorithmParameterGenerator.java (getInstance):
3148 Mention provider when throwing NoSuchProviderException.
3149 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3150 * java/security/KeyFactory.java (getInstance): Likewise.
3151 * java/security/KeyStore.java (getInstance): Likewise.
3152 * java/security/SecureRandom.java (getInstance): Likewise.
3153 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3155 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3157 * java/lang/reflect/Proxy.java,
3159 java/security/SecureRandom.java,
3160 java/util/Timer.java,
3161 java/util/prefs/AbstractPreferences.java:
3162 Don't catch java.lang.ThreadDeath.
3164 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3166 * java/awt/font/TransformAttribute.java,
3167 (TransformAttribute(AffineTransform)): throw
3168 IllegalArgumentException for null transform.
3169 (getTransform): return a copy of transform.
3170 Added doc comments to all.
3172 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3174 * java/io/Externalizable.java,
3175 java/io/Serializable.java
3176 (serialVersionUID): Removed.
3177 * java/rmi/server/RemoteObject.java,
3178 java/rmi/server/UID.java
3179 (serialVersionUID): Made private.
3180 * java/rmi/server/RemoteRef.java,
3181 java/rmi/server/ServerRef.java
3182 (serialVersionUID): Set proper value.
3183 * java/security/interfaces/DSAPrivateKey.java,
3184 java/security/interfaces/DSAPublicKey.java,
3185 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3186 java/security/interfaces/RSAPrivateCrtKey.java,
3187 java/security/interfaces/RSAPrivateKey.java,
3188 java/security/interfaces/RSAPublicKey.java,
3189 javax/crypto/SecretKey.java
3190 (serialVersionUID): Added.
3192 2005-02-22 Tom Tromey <tromey@redhat.com>
3194 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3196 2005-02-22 Tom Tromey <tromey@redhat.com>
3199 * verify.cc (type::EITHER): New constant.
3200 (check_field_constant): Use it.
3201 (type::compatible): Handle it.
3203 2005-02-22 Michael Koch <konqueror@gmx.de>
3205 * gnu/java/security/PolicyFile.java,
3206 gnu/java/security/pkcs/PKCS7SignedData.java,
3207 gnu/java/security/pkcs/SignerInfo.java:
3208 Fixed copyright header.
3210 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3212 * java/beans/PropertyDescriptor.java
3213 (PropertyDescriptor,setReadMethod): Set propertyType.
3215 2005-02-22 Michael Koch <konqueror@gmx.de>
3217 * java/nio/DirectByteBufferImpl.java
3218 (owner): Fixed formatting of javadoc.
3219 * java/text/DateFormat.java
3220 (getAvailableLocales): Fixed formatting.
3221 * java/text/SimpleDateFormat.java:
3222 Fixed formatting and import statement order.
3223 * java/util/Calendar.java
3224 (Calendar): Fixed javadoc to be HTML compliant.
3225 * java/util/SimpleTimeZone.java:
3228 2005-02-22 Roman Kennke <roman@ontographics.com>
3230 * javax/swing/plaf/basic/BasicLookAndFeel.java
3231 (initComponentDefaults): Fixed Button left and right margin.
3233 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3235 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3239 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3240 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3241 (getWidth): New method.
3242 (getHeight): Likewise.
3243 (create): Remove width, height and insets parameters. Move size
3245 (realize_cb): ... here. New function.
3246 (connectSignals): Connect realize_cb.
3247 (request_frame_extents): Remove FIXME. Move
3248 postInsetsChangedEvent lookup ...
3249 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3250 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3251 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3253 (windowGetWidthID): Likewise.
3254 (windowGetHeightID): Likewise.
3256 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3260 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3262 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3264 Merge serialization from GNU Classpath.
3265 * gcj/method.h: Add missing #includes.
3266 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3267 primitive class IDs on the stream here...
3268 (resolveClass): ...not here.
3269 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3271 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3272 setLongNative, setIntNative, setShortNative, setCharNative,
3273 setByteNative, setBooleanNative, setObjectNative): New native methods.
3274 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3275 setLongNative, setIntNative, setShortNative, setCharNative,
3276 setByteNative, setBooleanNative, setObjectNative): Implement them.
3277 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3278 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3279 the constructor here.
3280 (callConstructor): Removed.
3281 (getCallersClassLoader): Removed.
3282 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3283 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3284 to control whether setting final field values is permitted. Call
3285 getAddr() with checkFinal parameter instead of setAddr().
3286 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3287 only if not done already.
3288 (getAddr): Add checkFinal parameter. Do the final field check only if
3292 2005-02-21 Mark Wielaard <mark@klomp.org>
3295 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3298 2005-02-21 Mark Wielaard <mark@klomp.org>
3301 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3302 without a super class and us ObjectStreamClass.lookupForClassObject().
3303 (resolveClass): Check for primitive types.
3304 (lookupClass): Return null when argument is null.
3306 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3308 * java/io/ObjectInputStream.java
3309 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3311 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3313 * java/io/ObjectOutputStream.java
3314 (writeObject, callWriteMethod): Replaced reflection with accessing
3315 cached info in ObjectStreamClass.
3316 (getMethod): Removed.
3317 * java/io/ObjectStreamClass.java
3318 (findMethod): Added check to make sure the method found has the
3320 (cacheMethods): Added writeReplace and writeObject methods.
3321 (setFlags): Look at new writeObjectMethod field instead of doing
3323 (writeReplaceMethod): New field.
3324 (writeObjectMethod): New field.
3326 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3327 Jeroen Frijters <jeroen@frijters.net>
3329 * java/io/ObjectInputStream.java
3330 (newObject): Changed prototype. Get a constructor reflect object
3332 (callConstructor): Removed.
3333 (allocateObject): Changed prototype.
3334 (readClassDescriptor): Build the constructor reflection directly.
3335 (readObject): Invoke newObject using the new prototype.
3337 * java/io/ObjectStreamClass.java
3338 (firstNonSerializableParent): Removed.
3339 (firstNonSerializableParentConstructor): Added.
3341 2005-02-21 Mark Wielaard <mark@klomp.org>
3343 * gnu/java/locale/LocaleInformation_en.java: Extend
3344 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3346 2005-02-21 Mark Wielaard <mark@klomp.org>
3348 * java/text/SimpleDateFormat.java
3349 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3350 NullPointerException when formatData is null.
3352 2005-02-21 Mark Wielaard <mark@klomp.org>
3354 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3355 taking dstSavings into account.
3357 2005-02-21 Sven de Marothy <sven@physto.se>
3359 * java/text/SimpleDateFormat.java,
3360 (parse): Set correct DST_OFFSET to the correct value.
3362 2005-02-21 Mark Wielaard <mark@klomp.org>
3364 * java/util/SimpleTimeZone.java (checkRule): Throw
3365 IllegalArgumentException when month out of range.
3367 2005-02-21 Sven de Marothy <sven@physto.se>
3369 * java/util/GregorianCalendar.java,
3370 (add): Don't set fields directly anymore. Use set()
3372 2005-02-21 Mark Wielaard <mark@klomp.org>
3374 * java/text/SimpleDateFormat.java (CompiledField.toString):
3375 Use StringBuffer, not StringBuilder.
3376 (toString): Likewise.
3378 2005-02-21 Sven de Marothy <sven@physto.se>
3380 * java/util/Calendar.java
3381 (clear): Dates should clear to local time.
3382 * java/util/GregorianCalendar.java
3383 (computeTime): Fix priority problem with DAY_OF_WEEK,
3384 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3386 2005-02-21 Sven de Marothy <sven@physto.se>
3388 * java/util/Calendar.java
3389 (Calendar): Constructor should clear fields.
3391 2005-02-21 Sven de Marothy <sven@physto.se>
3393 * java/text/SimpleDateFormat.java
3394 (parse): Tweak handling of 2-year dates
3395 * java/util/Calendar.java
3396 (clear): Clear fields to correct value.
3397 * java/util/GregorianCalendar.java
3398 (computeTime): Correct handling of time zones.
3399 Correct field minimum values.
3401 2005-02-21 Sven de Marothy <sven@physto.se>
3403 * java/util/Calendar.java
3404 (set) Invalidate all fields on first call to set().
3406 2005-02-21 Sven de Marothy <sven@physto.se>
3408 * java/util/GregorianCalendar.java
3409 (computeTime): Fixed handling of time zones.
3411 2005-02-21 Sven de Marothy <sven@physto.se>
3413 * java/util/Calendar.java
3414 (clear): Set values to Epoch instead of zero.
3415 (set): Set isSet to the relevant field pattern instead of just
3417 * java/util/GregorianCalendar.java
3418 (getBundle): Removed.
3419 (getDayOfYear): Removed.
3420 (getFirstDayOfMonth): New private method.
3421 (nonLeniencyCheck): New private method.
3422 (computeTime): Correct handling of insufficient data.
3424 2005-02-21 Sven de Marothy <sven@physto.se>
3426 * java/util/Calendar.java: Invalidate ERA field on setting
3428 * java/util/SimpleTimeZone.java:
3429 (getDaysInMonth): Reimplemented.
3430 * java/util/GregorianCalendar.java:
3431 (getLinearTime): Removed.
3432 (isLeapYear(int,boolean)): Removed.
3433 (before(), after()): Removed.
3434 (computeTime): Reimplemented.
3436 2005-02-21 Sven de Marothy <sven@physto.se>
3438 * java/util/Calendar.java: Reformatted.
3439 * java/util/GregorianCalendar.java: Reformatted.
3440 * java/util/SimpleTimeZone.java: Reformatted.
3442 2005-02-21 Sven de Marothy <sven@physto.se>
3444 * java/util/GregorianCalendar.java
3445 (GregorianCalendar): Update fields in the constructor
3447 2005-02-21 Noa Resare <noa@resare.com>
3449 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3450 (set(int,int)): Set and use new field.
3451 (set(int,int,int)): Check new field.
3453 2005-02-21 Noa Resare <address@hidden>
3455 * java/util/Calendar.java(set):
3456 Fix for DST related regression.
3458 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3460 * java/util/Calendar.java
3461 (setTimeInMillis): Added call to clear, removed computeFields call.
3462 * java/util/Date.java
3463 (Date(int,int,int,int,int,int)): Removed workaround for
3464 GregorianCalendar bug.
3465 * java/util/GregorianCalendar.java
3466 (GregorianCalendar): Chained all constructors to a (new)
3468 (computeTime): Fixed support for lenient month treatment.
3469 (getLinearDay): Return long instead of int.
3470 (calculateDay): Added fields argument and changed day argument
3473 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3475 * java/text/SimpleDateFormat.java
3476 Lots of documentation updates.
3477 (readObject(java.io.ObjectInputStream)): Wraps
3478 IllegalArgumentException as specified.
3479 (compileFormat(String)): Uses standardChars
3480 rather than the local pattern characters.
3481 Throws IllegalArgumentException rather than
3483 (toString()): Extended to include all variables
3485 (translateLocalizedPattern(String, String, String)):
3486 Renamed to better define the use of this method.
3488 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3490 * java/text/DateFormat.java:
3491 Documented pattern character offset constants and
3493 (Field): Added new static fields for new pattern chars.
3494 * java/text/SimpleDateFormat.java:
3495 (CompiledField): Changed name of FieldSizePair class
3496 to CompiledField after adding the character as an
3497 attribute. Changed fields to private and added
3498 accessors to give encapsulation.
3499 (CompiledField.CompiledField(int,int,char)): Extended
3500 with character field.
3501 (CompiledField.getField()): New accessor method.
3502 (CompiledField.getSize()): New acceessor method.
3503 (CompiledField.getCharacter()): New accessor method.
3504 (CompiledField.toString()): Added primarily for debugging.
3505 (standardChars): Now uses extended 24 character sequence.
3506 (compileFormat(String)): Changed to use CompiledField.
3507 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3508 java.text.FieldPosition)): Changed to use CompiledField.
3509 New handler for RFC 822 timezones added.
3511 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3513 * java/text/SimpleDateFormat.java:
3514 (parse(String, java.text.ParsePosition)):
3515 Changed 'E' and 'M' cases to use both
3516 short and long names. Extended 'z'
3517 case to also handle 'Z', and deal
3518 with simple GMT offsets such as +0100.
3519 (computeOffset(String)): New private method,
3520 which converts a GMT offset specification,
3521 such as GMT-0500 to a numeric offset in
3523 * java/util/TimeZone.java:
3524 (timezones()): Added "CEST", the daylight
3525 savings time version of "CET", or Central
3528 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3530 * java/text/SimpleDateFormat.java:
3531 (parse): Set the DST offset to 0 when parsing
3532 GMT offset timezones.
3534 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3536 * java/text/SimpleDateFormat.java:
3537 (parse): Use offset to set ZONE_OFFSET
3538 rather than the DST_OFFSET, so that
3539 GMT offset timezones change the right
3542 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3544 * java/text/SimpleDateFormat.java:
3545 (getDateFormatSymbols()): return a copy
3546 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3547 throw exception on null input
3548 (clone()): implemented to clone
3551 2005-02-21 Sven de Marothy <sven@physto.se>
3553 * java/text/SimpleDateFormat.java
3554 (parse): comparison should be case-insensitive, ignore null
3557 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3559 * gnu/java/beans/IntrospectionIncubator.java
3560 (addMethod) Reverts the patch that ntroduced a regression (see bug
3561 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3563 2005-02-21 Michael Koch <konqueror@gmx.de>
3565 * java/awt/Checkbox.java
3566 (next_checkbox_number): New static variable.
3567 (generateName): New method.
3568 (getUniqueLong): Likewise.
3569 * java/awt/Window.java
3570 (next_window_number): New static variable.
3571 (generateName): New method.
3572 (getUniqueLong): Likewise.
3574 2005-02-21 Mark Wielaard <mark@klomp.org>
3576 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3579 2005-02-21 Andrew Haley <aph@redhat.com>
3581 * Makefile.in: Rebuilt.
3582 * Makefile.am (nat_source_files): Added natLogger.cc.
3583 * java/util/logging/natLogger.cc: New file.
3584 * java/util/logging/Logger.java (getCallerStackFrame): Now
3587 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3589 * Makefile.am (all_property_files): Remove left over.
3590 (classes.stamp): Add stamp for the ONESTEP build, also known as
3591 --enable-libgcj-multifile.
3592 * Makefile.in: Regenerated.
3594 2005-02-21 Michael Koch <konqueror@gmx.de>
3596 * java/awt/Button.java,
3597 java/awt/Container.java,
3599 java/awt/Frame.java,
3600 java/text/CollationElementIterator.java,
3601 java/text/RuleBasedCollator.java,
3602 java/util/PropertyPermission.java:
3603 Fixed formatting issues all over.
3605 2005-02-21 Mark Wielaard <mark@klomp.org>
3607 * java/io/FileDescriptor.java (sync): Add real exception to
3608 SyncFailedException.
3610 2005-02-21 Michael Koch <konqueror@gmx.de>
3612 * java/io/InputStreamReader.java:
3615 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3618 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3620 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3622 * libraries/javalib/gnu/regexp/RE.java,
3623 libraries/javalib/java/io/ObjectInputStream.java,
3624 libraries/javalib/java/security/AllPermission.java,
3625 libraries/javalib/java/security/BasicPermission.java,
3626 libraries/javalib/java/security/Permissions.java,
3627 libraries/javalib/java/text/MessageFormat.java:
3628 Made 'inner' classes real public static inner classes,
3629 and made them final where possible, or removed them
3632 2005-02-20 Michael Koch <konqueror@gmx.de>
3634 * gnu/java/text/FormatCharacterIterator.java:
3635 Removed redundant modifiers.
3637 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3639 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3642 2005-02-19 Michael Koch <konqueror@gmx.de>
3644 * Makefile.am: Added new files in gnu/java/beans and
3645 java/beans/XMLDecoder.java.
3646 * Makefile.in: Regenerated.
3648 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3650 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3651 assignment behavior by using java.lang.reflect.Array.set()
3654 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3656 * gnu/java/beans/EmptyBeanInfo.java,
3657 gnu/java/beans/info/ComponentBeanInfo.java:
3658 Removed unused files.
3660 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3662 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3663 of AppletStub for java.beans.Beans.instantiate.
3664 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3666 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3667 to be conformant with Javadoc guidelines.
3668 (instantiate): Added two more overloaded variants, reworked user
3669 documentation, fixed exception behavior, fixed behavior when
3672 2005-02-19 Mark Wielaard <mark@klomp.org>
3674 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3676 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3678 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3680 * gnu/java/beans/decoder/AbstractContext.java,
3681 gnu/java/beans/decoder/AbstractCreatableContext.java,
3682 gnu/java/beans/decoder/AbstractElementHandler.java,
3683 gnu/java/beans/decoder/AbstractObjectContext.java,
3684 gnu/java/beans/decoder/ArrayContext.java,
3685 gnu/java/beans/decoder/ArrayHandler.java,
3686 gnu/java/beans/decoder/AssemblyException.java,
3687 gnu/java/beans/decoder/BooleanHandler.java,
3688 gnu/java/beans/decoder/ByteHandler.java,
3689 gnu/java/beans/decoder/CharHandler.java,
3690 gnu/java/beans/decoder/ClassHandler.java,
3691 gnu/java/beans/decoder/ConstructorContext.java,
3692 gnu/java/beans/decoder/Context.java,
3693 gnu/java/beans/decoder/DecoderContext.java,
3694 gnu/java/beans/decoder/DefaultExceptionListener.java,
3695 gnu/java/beans/decoder/DoubleHandler.java,
3696 gnu/java/beans/decoder/DummyContext.java,
3697 gnu/java/beans/decoder/DummyHandler.java,
3698 gnu/java/beans/decoder/ElementHandler.java,
3699 gnu/java/beans/decoder/FloatHandler.java,
3700 gnu/java/beans/decoder/GrowableArrayContext.java,
3701 gnu/java/beans/decoder/IndexContext.java,
3702 gnu/java/beans/decoder/IntHandler.java,
3703 gnu/java/beans/decoder/JavaHandler.java,
3704 gnu/java/beans/decoder/LongHandler.java,
3705 gnu/java/beans/decoder/MethodContext.java,
3706 gnu/java/beans/decoder/MethodFinder.java,
3707 gnu/java/beans/decoder/NullHandler.java,
3708 gnu/java/beans/decoder/ObjectContext.java,
3709 gnu/java/beans/decoder/ObjectHandler.java,
3710 gnu/java/beans/decoder/PersistenceParser.java,
3711 gnu/java/beans/decoder/PropertyContext.java,
3712 gnu/java/beans/decoder/ShortHandler.java,
3713 gnu/java/beans/decoder/SimpleHandler.java,
3714 gnu/java/beans/decoder/StaticMethodContext.java,
3715 gnu/java/beans/decoder/StringHandler.java,
3716 gnu/java/beans/decoder/VoidHandler.java: New class
3717 implementing java.beans.XMLDecoder decoding functionality.
3718 * java/beans/XMLDecoder.java: New class.
3720 2005-02-19 Michael Koch <konqueror@gmx.de>
3722 * javax/swing/JTextField.java
3723 (notfiyAction): Added javadoc.
3725 2005-02-19 Sven de Marothy <sven@physto.se>
3727 * javax/swing/SpinnerDateModel.java: Implemented.
3729 2005-02-19 Michael Koch <konqueror@gmx.de>
3731 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3732 * Makefile.in: Regenerated.
3734 2005-02-19 Michael Koch <konqueror@gmx.de>
3736 * gnu/java/nio/SelectorImpl.java:
3737 Reworked import statements.
3738 (register): Removed unused code.
3739 * java/nio/channels/Channels.java: Reformatted.
3740 * java/nio/charset/Charset.java: Likewise.
3741 * java/rmi/server/RemoteObject.java
3742 (serialVersionUID): Made private.
3743 * java/rmi/server/UID.java
3744 (serialVersionUID): Likewise.
3746 2005-02-19 Michael Koch <konqueror@gmx.de>
3748 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3749 gnu/java/net/protocol/ftp/BlockInputStream.java,
3750 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3751 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3752 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3753 gnu/java/net/protocol/ftp/DTPInputStream.java,
3754 gnu/java/net/protocol/ftp/DTP.java,
3755 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3756 gnu/java/net/protocol/ftp/FTPConnection.java,
3757 gnu/java/net/protocol/ftp/FTPException.java,
3758 gnu/java/net/protocol/ftp/FTPResponse.java,
3759 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3760 gnu/java/net/protocol/ftp/Handler.java,
3761 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3762 gnu/java/net/protocol/ftp/StreamInputStream.java,
3763 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3764 gnu/java/net/CRLFInputStream.java,
3765 gnu/java/net/CRLFOutputStream.java,
3766 gnu/java/net/GetLocalHostAction.java,
3767 gnu/java/net/protocol/ftp/package.html: New files.
3768 * Makefile.am: Added new files.
3769 * Makefile.in: Regenerated.
3771 2005-02-18 Tom Tromey <tromey@redhat.com>
3773 * link.cc (make_vtable): Remove abstract method check.
3774 (append_partial_itable): Likewise.
3777 * verify.cc (type::equals): Fixed test.
3778 * testsuite/libjava.lang/PR20056.out: New file.
3779 * testsuite/libjava.lang/PR20056.java: New file.
3781 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3783 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3784 not the HashEntry. Reported by Jean-Marie White.
3786 2005-02-18 Tom Tromey <tromey@redhat.com>
3789 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3790 * link.cc (has_field_p): New function.
3791 * verify.cc (check_field_constant): Added 'putfield' argument.
3792 (verify_instructions_0): Updated.
3793 (type::equals): New method.
3795 2005-02-18 Anthony Green <green@redhat.com>
3797 * NEWS: Draft of libgcj NEWS for 4.0.
3799 2005-02-18 Anthony Green <green@redhat.com>
3801 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3802 architecture names to "i386" for compatibility reasons. Win32
3805 2005-02-18 Anthony Green <green@redhat.com>
3807 * gij.cc (version): Change year for '--version' to 2005.
3808 * gnu/gcj/convert/Convert.java: Ditto.
3809 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3810 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3812 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3813 recent copyright year in `--version' output.
3815 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3817 * java/nio/charset/Charset.java (forName): Throws
3818 IllegalArgumentException when argument is null
3819 and added documentation.
3821 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3823 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3824 Move the position of the source buffer forward.
3826 2005-02-17 Tom Tromey <tromey@redhat.com>
3828 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3829 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3830 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3831 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3832 Changed type of second argument. Rewrote.
3833 (make_vtable): Use it.
3834 (append_partial_itable): Updated.
3835 (layout_vtable_methods): Updated.
3837 2005-02-17 Michael Koch <konqueror@gmx.de>
3839 * gnu/java/net/PlainSocketImpl.java
3840 (shutdownInput): Added javadoc.
3841 (shutdownOutput): Likewise.
3843 2005-02-17 Michael Koch <konqueror@gmx.de>
3845 * javax/print/attribute/standard/Chromaticity.java,
3846 javax/print/attribute/standard/Destination.java,
3847 javax/print/attribute/standard/MediaPrintableArea.java,
3848 javax/print/attribute/standard/MediaSize.java: New files.
3849 * Makefile.am: Added new files.
3850 * Makefile.in: Regenerated.
3852 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3853 Michael Koch <konqueror@gmx.de>
3855 * gnu/java/net/protocol/http/Cookie.java,
3856 gnu/java/net/protocol/http/HTTPConnection.java,
3857 gnu/java/net/protocol/http/HTTPDateFormat.java,
3858 gnu/java/net/protocol/http/Request.java,
3859 gnu/java/nio/PipeImpl.java,
3860 gnu/java/rmi/dgc/DGCImpl.java,
3861 gnu/java/rmi/server/ConnectionRunnerPool.java,
3862 gnu/java/rmi/server/UnicastConnectionManager.java,
3863 gnu/java/security/der/DERWriter.java,
3864 gnu/java/security/pkcs/SignerInfo.java,
3865 gnu/java/security/provider/EncodedKeyFactory.java,
3866 gnu/java/security/provider/GnuDHPublicKey.java,
3867 gnu/java/security/provider/GnuDSAPrivateKey.java,
3868 gnu/java/security/provider/GnuDSAPublicKey.java,
3869 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3870 gnu/java/security/x509/X500DistinguishedName.java,
3871 gnu/java/security/x509/X509CRL.java,
3872 gnu/java/security/x509/X509CRLEntry.java,
3873 gnu/java/security/x509/X509Certificate.java,
3874 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3875 gnu/java/security/x509/ext/CertificatePolicies.java,
3876 gnu/java/security/x509/ext/PolicyConstraint.java,
3877 gnu/xml/dom/Consumer.java,
3878 gnu/xml/dom/DomCharacterData.java,
3879 gnu/xml/dom/DomDocument.java,
3880 gnu/xml/dom/DomDocumentBuilder.java,
3881 gnu/xml/dom/DomIterator.java,
3882 gnu/xml/dom/DomNode.java,
3883 gnu/xml/dom/DomXPathExpression.java,
3884 gnu/xml/dom/DomXPathResult.java,
3885 gnu/xml/dom/JAXPFactory.java,
3886 gnu/xml/pipeline/CallFilter.java,
3887 gnu/xml/pipeline/DomConsumer.java,
3888 gnu/xml/pipeline/LinkFilter.java,
3889 gnu/xml/pipeline/NSFilter.java,
3890 gnu/xml/pipeline/TeeConsumer.java,
3891 gnu/xml/pipeline/ValidationConsumer.java,
3892 gnu/xml/pipeline/WellFormednessFilter.java,
3893 gnu/xml/pipeline/XIncludeFilter.java,
3894 gnu/xml/pipeline/XsltFilter.java,
3895 gnu/xml/transform/ApplyImportsNode.java,
3896 gnu/xml/transform/Bindings.java,
3897 gnu/xml/transform/DocumentFunction.java,
3898 gnu/xml/transform/FormatNumberFunction.java,
3899 gnu/xml/transform/NodeNumberNode.java,
3900 gnu/xml/transform/NumberNode.java,
3901 gnu/xml/transform/Stylesheet.java,
3902 gnu/xml/transform/SystemPropertyFunction.java,
3903 gnu/xml/transform/Template.java,
3904 gnu/xml/transform/TemplatesImpl.java,
3905 gnu/xml/transform/TransformerImpl.java,
3906 gnu/xml/transform/ValueOfNode.java,
3907 gnu/xml/transform/XSLURIResolver.java,
3908 gnu/xml/util/DoParse.java,
3909 gnu/xml/util/Resolver.java,
3910 gnu/xml/xpath/Expr.java,
3911 gnu/xml/xpath/FunctionCall.java,
3912 gnu/xml/xpath/RelationalExpr.java,
3913 gnu/xml/xpath/Selector.java,
3914 gnu/xml/xpath/XPathParser.java:
3915 Reworked import statements, fixed modifier order and some little
3918 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3920 * java/nio/ByteBufferImpl.java (compact):
3921 Set position and limit even if no bytes were moved.
3923 2005-02-17 Michael Koch <konqueror@gmx.de>
3925 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3926 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3927 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3928 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3929 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3930 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3931 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3932 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3933 * java/nio/FloatBufferImpl.java (compact): Set position.
3934 * java/nio/CharBufferImpl.java (compact): Likewise.
3935 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3936 * java/nio/IntBufferImpl.java (compact): Likewise.
3937 * java/nio/LongBufferImpl.java (compact): Likewise.
3938 * java/nio/ShortBufferImpl.java (compact): Likewise.
3940 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3942 * java/nio/ByteBufferImpl.java,
3943 java/nio/CharBufferImpl.java,
3944 java/nio/DirectByteBufferImpl.java,
3945 java/nio/DoubleBufferImpl.java,
3946 java/nio/FloatBufferImpl.java,
3947 java/nio/IntBufferImpl.java,
3948 java/nio/LongBufferImpl.java,
3949 java/nio/MappedByteBufferImpl.java,
3950 java/nio/ShortBufferImpl.java
3951 (compact): Added explicit read-only check and invalidate mark.
3953 2005-02-17 Michael Koch <konqueror@gmx.de>
3955 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3956 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3957 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3958 gnu/java/awt/peer/gtk/GdkGraphics.java,
3959 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3960 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3961 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3962 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3963 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3964 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3965 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3966 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3967 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3968 gnu/java/awt/peer/gtk/GtkClipboard.java,
3969 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3970 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3971 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3972 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3973 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3974 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3975 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3976 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3977 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3978 gnu/java/awt/peer/gtk/GtkToolkit.java,
3979 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3980 java/applet/Applet.java,
3981 java/awt/AWTError.java,
3982 java/awt/AWTEvent.java,
3983 java/awt/AWTEventMulticaster.java,
3984 java/awt/AWTException.java,
3985 java/awt/AWTKeyStroke.java,
3986 java/awt/AWTPermission.java,
3987 java/awt/ActiveEvent.java,
3988 java/awt/Adjustable.java,
3989 java/awt/AlphaComposite.java,
3990 java/awt/AttributeValue.java,
3991 java/awt/BorderLayout.java,
3992 java/awt/BufferCapabilities.java,
3993 java/awt/Button.java,
3994 java/awt/Canvas.java,
3995 java/awt/CheckboxGroup.java,
3996 java/awt/CheckboxMenuItem.java,
3997 java/awt/Color.java,
3998 java/awt/ColorPaintContext.java,
3999 java/awt/Component.java,
4000 java/awt/ComponentOrientation.java,
4001 java/awt/Composite.java,
4002 java/awt/CompositeContext.java,
4003 java/awt/Container.java,
4004 java/awt/ContainerOrderFocusTraversalPolicy.java,
4005 java/awt/DefaultFocusTraversalPolicy.java,
4006 java/awt/Dialog.java,
4007 java/awt/Dimension.java,
4008 java/awt/DisplayMode.java,
4009 java/awt/EventQueue.java,
4010 java/awt/FileDialog.java,
4011 java/awt/FontFormatException.java,
4012 java/awt/Graphics.java,
4013 java/awt/Graphics2D.java,
4014 java/awt/GraphicsConfigTemplate.java,
4015 java/awt/GraphicsConfiguration.java,
4016 java/awt/GraphicsDevice.java,
4017 java/awt/GridBagLayout.java,
4018 java/awt/GridBagLayoutInfo.java,
4019 java/awt/GridLayout.java,
4020 java/awt/HeadlessException.java,
4021 java/awt/IllegalComponentStateException.java,
4022 java/awt/Image.java,
4023 java/awt/Insets.java,
4024 java/awt/ItemSelectable.java,
4025 java/awt/JobAttributes.java,
4026 java/awt/KeyEventDispatcher.java,
4027 java/awt/KeyEventPostProcessor.java,
4028 java/awt/KeyboardFocusManager.java,
4029 java/awt/Label.java,
4030 java/awt/LayoutManager.java,
4031 java/awt/MenuBar.java,
4032 java/awt/MenuComponent.java,
4033 java/awt/MenuContainer.java,
4034 java/awt/PageAttributes.java,
4035 java/awt/Paint.java,
4036 java/awt/PaintContext.java,
4037 java/awt/Panel.java,
4038 java/awt/Point.java,
4039 java/awt/Polygon.java,
4040 java/awt/PrintGraphics.java,
4041 java/awt/PrintJob.java,
4042 java/awt/Rectangle.java,
4043 java/awt/RenderingHints.java,
4044 java/awt/Shape.java,
4045 java/awt/Stroke.java,
4046 java/awt/SystemColor.java,
4047 java/awt/Toolkit.java,
4048 java/awt/Transparency.java,
4049 java/awt/Window.java,
4050 java/awt/color/CMMException.java,
4051 java/awt/color/ColorSpace.java,
4052 java/awt/color/ICC_ColorSpace.java,
4053 java/awt/color/ICC_Profile.java,
4054 java/awt/color/ProfileDataException.java,
4055 java/awt/datatransfer/FlavorTable.java,
4056 java/awt/datatransfer/MimeTypeParseException.java,
4057 java/awt/datatransfer/Transferable.java,
4058 java/awt/datatransfer/UnsupportedFlavorException.java,
4059 java/awt/dnd/Autoscroll.java,
4060 java/awt/dnd/DnDConstants.java,
4061 java/awt/dnd/DragGestureListener.java,
4062 java/awt/dnd/DragSourceAdapter.java,
4063 java/awt/dnd/DragSourceDropEvent.java,
4064 java/awt/dnd/DragSourceListener.java,
4065 java/awt/dnd/DragSourceMotionListener.java,
4066 java/awt/dnd/DropTargetAdapter.java,
4067 java/awt/dnd/DropTargetContext.java,
4068 java/awt/dnd/DropTargetListener.java,
4069 java/awt/dnd/InvalidDnDOperationException.java,
4070 java/awt/dnd/MouseDragGestureRecognizer.java,
4071 java/awt/dnd/peer/DropTargetContextPeer.java,
4072 java/awt/event/AWTEventListener.java,
4073 java/awt/event/AWTEventListenerProxy.java,
4074 java/awt/event/ActionEvent.java,
4075 java/awt/event/AdjustmentEvent.java,
4076 java/awt/event/AdjustmentListener.java,
4077 java/awt/event/ComponentAdapter.java,
4078 java/awt/event/ComponentEvent.java,
4079 java/awt/event/ComponentListener.java,
4080 java/awt/event/ContainerAdapter.java,
4081 java/awt/event/ContainerEvent.java,
4082 java/awt/event/ContainerListener.java,
4083 java/awt/event/FocusAdapter.java,
4084 java/awt/event/FocusEvent.java,
4085 java/awt/event/FocusListener.java,
4086 java/awt/event/InputEvent.java,
4087 java/awt/event/InputMethodEvent.java,
4088 java/awt/event/InputMethodListener.java,
4089 java/awt/event/InvocationEvent.java,
4090 java/awt/event/ItemEvent.java,
4091 java/awt/event/ItemListener.java,
4092 java/awt/event/KeyAdapter.java,
4093 java/awt/event/KeyEvent.java,
4094 java/awt/event/KeyListener.java,
4095 java/awt/event/MouseAdapter.java,
4096 java/awt/event/MouseEvent.java,
4097 java/awt/event/MouseListener.java,
4098 java/awt/event/MouseMotionAdapter.java,
4099 java/awt/event/MouseMotionListener.java,
4100 java/awt/event/MouseWheelEvent.java,
4101 java/awt/event/MouseWheelListener.java,
4102 java/awt/event/PaintEvent.java,
4103 java/awt/event/TextEvent.java,
4104 java/awt/event/TextListener.java,
4105 java/awt/event/WindowAdapter.java,
4106 java/awt/event/WindowEvent.java,
4107 java/awt/event/WindowFocusListener.java,
4108 java/awt/event/WindowListener.java,
4109 java/awt/event/WindowStateListener.java,
4110 java/awt/font/TextHitInfo.java,
4111 java/awt/geom/CubicCurve2D.java,
4112 java/awt/geom/Dimension2D.java,
4113 java/awt/geom/Ellipse2D.java,
4114 java/awt/geom/IllegalPathStateException.java,
4115 java/awt/geom/Line2D.java,
4116 java/awt/geom/NoninvertibleTransformException.java,
4117 java/awt/geom/PathIterator.java,
4118 java/awt/geom/Point2D.java,
4119 java/awt/geom/QuadCurve2D.java,
4120 java/awt/geom/RectangularShape.java,
4121 java/awt/geom/RoundRectangle2D.java,
4122 java/awt/im/InputContext.java,
4123 java/awt/im/InputMethodHighlight.java,
4124 java/awt/im/InputMethodRequests.java,
4125 java/awt/im/InputSubset.java,
4126 java/awt/im/spi/InputMethod.java,
4127 java/awt/im/spi/InputMethodDescriptor.java,
4128 java/awt/image/BandCombineOp.java,
4129 java/awt/image/BandedSampleModel.java,
4130 java/awt/image/ByteLookupTable.java,
4131 java/awt/image/ComponentSampleModel.java,
4132 java/awt/image/DataBuffer.java,
4133 java/awt/image/DataBufferByte.java,
4134 java/awt/image/DataBufferDouble.java,
4135 java/awt/image/DataBufferFloat.java,
4136 java/awt/image/DataBufferInt.java,
4137 java/awt/image/DataBufferShort.java,
4138 java/awt/image/DataBufferUShort.java,
4139 java/awt/image/ImagingOpException.java,
4140 java/awt/image/Kernel.java,
4141 java/awt/image/LookupTable.java,
4142 java/awt/image/MultiPixelPackedSampleModel.java,
4143 java/awt/image/PackedColorModel.java,
4144 java/awt/image/PixelInterleavedSampleModel.java,
4145 java/awt/image/RGBImageFilter.java,
4146 java/awt/image/Raster.java,
4147 java/awt/image/RasterFormatException.java,
4148 java/awt/image/SampleModel.java,
4149 java/awt/image/ShortLookupTable.java,
4150 java/awt/image/SinglePixelPackedSampleModel.java,
4151 java/awt/image/WritableRaster.java,
4152 java/awt/print/PrinterAbortException.java,
4153 java/awt/print/PrinterException.java,
4154 java/awt/print/PrinterIOException.java,
4155 java/beans/AppletInitializer.java,
4156 java/beans/ExceptionListener.java,
4157 java/beans/PropertyChangeEvent.java,
4158 java/beans/PropertyChangeListenerProxy.java,
4159 java/beans/PropertyChangeSupport.java,
4160 java/beans/PropertyDescriptor.java,
4161 java/beans/VetoableChangeListenerProxy.java,
4162 java/beans/VetoableChangeSupport.java,
4163 java/io/BufferedReader.java,
4164 java/io/ByteArrayInputStream.java,
4165 java/io/ByteArrayOutputStream.java,
4166 java/io/CharArrayReader.java,
4167 java/io/CharArrayWriter.java,
4168 java/io/CharConversionException.java,
4169 java/io/DataInput.java,
4170 java/io/DataInputStream.java,
4171 java/io/DataOutput.java,
4172 java/io/DataOutputStream.java,
4173 java/io/EOFException.java,
4174 java/io/FileInputStream.java,
4175 java/io/FileNotFoundException.java,
4176 java/io/FileOutputStream.java,
4177 java/io/FilenameFilter.java,
4178 java/io/FilterInputStream.java,
4179 java/io/FilterOutputStream.java,
4180 java/io/FilterReader.java,
4181 java/io/FilterWriter.java,
4182 java/io/IOException.java,
4183 java/io/InputStream.java,
4184 java/io/InterruptedIOException.java,
4185 java/io/LineNumberInputStream.java,
4186 java/io/LineNumberReader.java,
4187 java/io/ObjectInputStream.java,
4188 java/io/ObjectStreamException.java,
4189 java/io/OptionalDataException.java,
4190 java/io/OutputStream.java,
4191 java/io/OutputStreamWriter.java,
4192 java/io/PrintStream.java,
4193 java/io/PrintWriter.java,
4194 java/io/PushbackInputStream.java,
4195 java/io/PushbackReader.java,
4196 java/io/RandomAccessFile.java,
4197 java/io/Reader.java,
4198 java/io/SequenceInputStream.java,
4199 java/io/Serializable.java,
4200 java/io/StreamCorruptedException.java,
4201 java/io/StreamTokenizer.java,
4202 java/io/StringBufferInputStream.java,
4203 java/io/StringWriter.java,
4204 java/io/SyncFailedException.java,
4205 java/io/UTFDataFormatException.java,
4206 java/io/UnsupportedEncodingException.java,
4207 java/io/WriteAbortedException.java,
4208 java/io/Writer.java,
4209 java/lang/AbstractMethodError.java,
4210 java/lang/ArithmeticException.java,
4211 java/lang/ArrayIndexOutOfBoundsException.java,
4212 java/lang/ArrayStoreException.java,
4213 java/lang/AssertionError.java,
4214 java/lang/Boolean.java,
4215 java/lang/Byte.java,
4216 java/lang/Class.java,
4217 java/lang/ClassCastException.java,
4218 java/lang/ClassCircularityError.java,
4219 java/lang/ClassLoader.java,
4220 java/lang/ClassNotFoundException.java,
4221 java/lang/CloneNotSupportedException.java,
4222 java/lang/Cloneable.java,
4223 java/lang/Comparable.java,
4224 java/lang/Compiler.java,
4225 java/lang/Double.java,
4226 java/lang/Error.java,
4227 java/lang/Exception.java,
4228 java/lang/ExceptionInInitializerError.java,
4229 java/lang/Float.java,
4230 java/lang/IllegalAccessError.java,
4231 java/lang/IllegalAccessException.java,
4232 java/lang/IllegalArgumentException.java,
4233 java/lang/IllegalMonitorStateException.java,
4234 java/lang/IllegalStateException.java,
4235 java/lang/IllegalThreadStateException.java,
4236 java/lang/IncompatibleClassChangeError.java,
4237 java/lang/IndexOutOfBoundsException.java,
4238 java/lang/InheritableThreadLocal.java,
4239 java/lang/InstantiationError.java,
4240 java/lang/InstantiationException.java,
4241 java/lang/Integer.java,
4242 java/lang/InternalError.java,
4243 java/lang/InterruptedException.java,
4244 java/lang/LinkageError.java,
4245 java/lang/Long.java,
4246 java/lang/NegativeArraySizeException.java,
4247 java/lang/NoClassDefFoundError.java,
4248 java/lang/NoSuchFieldError.java,
4249 java/lang/NoSuchFieldException.java,
4250 java/lang/NoSuchMethodError.java,
4251 java/lang/NoSuchMethodException.java,
4252 java/lang/NullPointerException.java,
4253 java/lang/Number.java,
4254 java/lang/NumberFormatException.java,
4255 java/lang/OutOfMemoryError.java,
4256 java/lang/Process.java,
4257 java/lang/Runnable.java,
4258 java/lang/Runtime.java,
4259 java/lang/RuntimeException.java,
4260 java/lang/RuntimePermission.java,
4261 java/lang/SecurityException.java,
4262 java/lang/SecurityManager.java,
4263 java/lang/Short.java,
4264 java/lang/StackOverflowError.java,
4265 java/lang/StackTraceElement.java,
4266 java/lang/StringBuffer.java,
4267 java/lang/StringIndexOutOfBoundsException.java,
4268 java/lang/ThreadDeath.java,
4269 java/lang/ThreadGroup.java,
4270 java/lang/Throwable.java,
4271 java/lang/UnsatisfiedLinkError.java,
4272 java/lang/UnsupportedOperationException.java,
4273 java/lang/VerifyError.java,
4274 java/lang/VirtualMachineError.java,
4275 java/lang/reflect/AccessibleObject.java,
4276 java/lang/reflect/Array.java,
4277 java/lang/reflect/InvocationTargetException.java,
4278 java/lang/reflect/Member.java,
4279 java/lang/reflect/Modifier.java,
4280 java/lang/reflect/Proxy.java,
4281 java/lang/reflect/ReflectPermission.java,
4282 java/lang/reflect/UndeclaredThrowableException.java,
4283 java/math/BigInteger.java,
4284 java/net/NetworkInterface.java,
4285 java/nio/ByteBufferHelper.java,
4286 java/nio/ByteBufferImpl.java,
4287 java/nio/DirectByteBufferImpl.java,
4288 java/nio/DoubleBufferImpl.java,
4289 java/nio/FloatBufferImpl.java,
4290 java/nio/IntBufferImpl.java,
4291 java/nio/LongBufferImpl.java,
4292 java/nio/ShortBufferImpl.java,
4293 java/nio/channels/Channel.java,
4294 java/nio/channels/IllegalBlockingModeException.java,
4295 java/nio/charset/spi/CharsetProvider.java,
4296 java/security/AccessControlException.java,
4297 java/security/BasicPermission.java,
4298 java/security/DigestException.java,
4299 java/security/DigestInputStream.java,
4300 java/security/DigestOutputStream.java,
4301 java/security/GeneralSecurityException.java,
4302 java/security/Guard.java,
4303 java/security/GuardedObject.java,
4304 java/security/InvalidAlgorithmParameterException.java,
4305 java/security/InvalidKeyException.java,
4306 java/security/InvalidParameterException.java,
4307 java/security/Key.java,
4308 java/security/KeyException.java,
4309 java/security/KeyManagementException.java,
4310 java/security/KeyStoreException.java,
4311 java/security/MessageDigestSpi.java,
4312 java/security/NoSuchAlgorithmException.java,
4313 java/security/NoSuchProviderException.java,
4314 java/security/Permission.java,
4315 java/security/PermissionCollection.java,
4316 java/security/Permissions.java,
4317 java/security/Principal.java,
4318 java/security/PrivateKey.java,
4319 java/security/PrivilegedActionException.java,
4320 java/security/ProviderException.java,
4321 java/security/PublicKey.java,
4322 java/security/SecureRandom.java,
4323 java/security/SecureRandomSpi.java,
4324 java/security/SignatureException.java,
4325 java/security/SignatureSpi.java,
4326 java/security/SignedObject.java,
4327 java/security/Signer.java,
4328 java/security/UnrecoverableKeyException.java,
4329 java/security/UnresolvedPermission.java,
4330 java/security/acl/AclNotFoundException.java,
4331 java/security/acl/LastOwnerException.java,
4332 java/security/acl/NotOwnerException.java,
4333 java/security/cert/CertPath.java,
4334 java/security/cert/CertPathBuilderException.java,
4335 java/security/cert/CertPathValidatorException.java,
4336 java/security/cert/CertStoreException.java,
4337 java/text/BreakIterator.java,
4338 java/text/ChoiceFormat.java,
4339 java/text/CollationElementIterator.java,
4340 java/text/CollationKey.java,
4341 java/text/Collator.java,
4342 java/text/DateFormat.java,
4343 java/text/DateFormatSymbols.java,
4344 java/text/DecimalFormat.java,
4345 java/text/DecimalFormatSymbols.java,
4346 java/text/FieldPosition.java,
4347 java/text/Format.java,
4348 java/text/NumberFormat.java,
4349 java/text/ParseException.java,
4350 java/text/ParsePosition.java,
4351 java/text/StringCharacterIterator.java,
4352 java/util/AbstractCollection.java,
4353 java/util/AbstractList.java,
4354 java/util/AbstractMap.java,
4355 java/util/AbstractSequentialList.java,
4356 java/util/AbstractSet.java,
4357 java/util/ArrayList.java,
4358 java/util/Arrays.java,
4359 java/util/BitSet.java,
4360 java/util/Collection.java,
4361 java/util/Collections.java,
4362 java/util/Comparator.java,
4363 java/util/ConcurrentModificationException.java,
4364 java/util/Currency.java,
4365 java/util/Date.java,
4366 java/util/EmptyStackException.java,
4367 java/util/Enumeration.java,
4368 java/util/EventListener.java,
4369 java/util/EventListenerProxy.java,
4370 java/util/EventObject.java,
4371 java/util/HashMap.java,
4372 java/util/HashSet.java,
4373 java/util/Hashtable.java,
4374 java/util/IdentityHashMap.java,
4375 java/util/Iterator.java,
4376 java/util/LinkedHashSet.java,
4377 java/util/LinkedList.java,
4378 java/util/List.java,
4379 java/util/ListIterator.java,
4380 java/util/ListResourceBundle.java,
4382 java/util/MissingResourceException.java,
4383 java/util/NoSuchElementException.java,
4384 java/util/Observable.java,
4385 java/util/Observer.java,
4386 java/util/Properties.java,
4387 java/util/PropertyPermissionCollection.java,
4388 java/util/RandomAccess.java,
4390 java/util/SortedMap.java,
4391 java/util/SortedSet.java,
4392 java/util/Stack.java,
4393 java/util/StringTokenizer.java,
4394 java/util/TooManyListenersException.java,
4395 java/util/TreeMap.java,
4396 java/util/TreeSet.java,
4397 java/util/Vector.java,
4398 java/util/logging/FileHandler.java,
4399 java/util/logging/Level.java,
4400 java/util/prefs/BackingStoreException.java,
4401 java/util/prefs/InvalidPreferencesFormatException.java,
4402 java/util/prefs/Preferences.java,
4403 javax/accessibility/Accessible.java,
4404 javax/accessibility/AccessibleAction.java,
4405 javax/accessibility/AccessibleBundle.java,
4406 javax/accessibility/AccessibleComponent.java,
4407 javax/accessibility/AccessibleContext.java,
4408 javax/accessibility/AccessibleEditableText.java,
4409 javax/accessibility/AccessibleExtendedComponent.java,
4410 javax/accessibility/AccessibleExtendedTable.java,
4411 javax/accessibility/AccessibleHyperlink.java,
4412 javax/accessibility/AccessibleHypertext.java,
4413 javax/accessibility/AccessibleIcon.java,
4414 javax/accessibility/AccessibleKeyBinding.java,
4415 javax/accessibility/AccessibleRelation.java,
4416 javax/accessibility/AccessibleRelationSet.java,
4417 javax/accessibility/AccessibleResourceBundle.java,
4418 javax/accessibility/AccessibleRole.java,
4419 javax/accessibility/AccessibleSelection.java,
4420 javax/accessibility/AccessibleState.java,
4421 javax/accessibility/AccessibleStateSet.java,
4422 javax/accessibility/AccessibleTable.java,
4423 javax/accessibility/AccessibleTableModelChange.java,
4424 javax/accessibility/AccessibleText.java,
4425 javax/accessibility/AccessibleValue.java,
4426 javax/imageio/IIOException.java,
4427 javax/imageio/ImageIO.java,
4428 javax/imageio/spi/IIOServiceProvider.java,
4429 javax/imageio/spi/ImageInputStreamSpi.java,
4430 javax/imageio/spi/ImageOutputStreamSpi.java,
4431 javax/imageio/spi/ImageReaderWriterSpi.java,
4432 javax/imageio/spi/ImageTranscoderSpi.java,
4433 javax/imageio/spi/RegisterableService.java,
4434 javax/imageio/spi/ServiceRegistry.java,
4435 javax/imageio/stream/IIOByteBuffer.java,
4436 javax/imageio/stream/ImageInputStream.java,
4437 javax/imageio/stream/ImageOutputStream.java,
4438 javax/naming/Binding.java,
4439 javax/naming/CannotProceedException.java,
4440 javax/naming/CompositeName.java,
4441 javax/naming/CompoundName.java,
4442 javax/naming/LinkException.java,
4443 javax/naming/LinkRef.java,
4444 javax/naming/NameClassPair.java,
4445 javax/naming/Reference.java,
4446 javax/naming/ReferralException.java,
4447 javax/naming/directory/Attribute.java,
4448 javax/naming/directory/AttributeModificationException.java,
4449 javax/naming/directory/Attributes.java,
4450 javax/naming/directory/DirContext.java,
4451 javax/naming/directory/ModificationItem.java,
4452 javax/naming/directory/SearchControls.java,
4453 javax/naming/directory/SearchResult.java,
4454 javax/naming/event/EventContext.java,
4455 javax/naming/event/EventDirContext.java,
4456 javax/naming/event/NamespaceChangeListener.java,
4457 javax/naming/event/NamingExceptionEvent.java,
4458 javax/naming/event/NamingListener.java,
4459 javax/naming/event/ObjectChangeListener.java,
4460 javax/naming/ldap/Control.java,
4461 javax/naming/ldap/ExtendedResponse.java,
4462 javax/naming/ldap/HasControls.java,
4463 javax/naming/ldap/LdapContext.java,
4464 javax/naming/ldap/UnsolicitedNotification.java,
4465 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4466 javax/naming/ldap/UnsolicitedNotificationListener.java,
4467 javax/naming/spi/DirectoryManager.java,
4468 javax/naming/spi/ResolveResult.java,
4469 javax/naming/spi/Resolver.java,
4470 javax/security/auth/callback/Callback.java,
4471 javax/security/auth/callback/CallbackHandler.java,
4472 javax/security/auth/callback/ChoiceCallback.java,
4473 javax/security/auth/callback/ConfirmationCallback.java,
4474 javax/security/auth/callback/LanguageCallback.java,
4475 javax/security/auth/callback/NameCallback.java,
4476 javax/security/auth/callback/PasswordCallback.java,
4477 javax/security/auth/callback/TextInputCallback.java,
4478 javax/security/auth/callback/TextOutputCallback.java,
4479 javax/security/auth/callback/UnsupportedCallbackException.java,
4480 javax/security/sasl/Sasl.java,
4481 javax/security/sasl/SaslServerFactory.java,
4482 javax/swing/DefaultBoundedRangeModel.java,
4483 javax/swing/JComponent.java,
4484 javax/swing/JList.java,
4485 javax/swing/JProgressBar.java,
4486 javax/swing/JRadioButton.java,
4487 javax/swing/JTextArea.java,
4488 javax/swing/JTextField.java,
4489 javax/swing/JToggleButton.java,
4490 javax/swing/JTree.java,
4491 javax/swing/SpinnerListModel.java,
4492 javax/swing/event/EventListenerList.java,
4493 javax/swing/text/JTextComponent.java,
4494 javax/swing/text/StringContent.java,
4495 javax/swing/text/Utilities.java,
4496 javax/swing/undo/UndoManager.java,
4497 javax/swing/undo/UndoableEditSupport.java,
4498 javax/transaction/HeuristicCommitException.java,
4499 javax/transaction/HeuristicMixedException.java,
4500 javax/transaction/HeuristicRollbackException.java,
4501 javax/transaction/InvalidTransactionException.java,
4502 javax/transaction/NotSupportedException.java,
4503 javax/transaction/RollbackException.java,
4504 javax/transaction/Status.java,
4505 javax/transaction/Synchronization.java,
4506 javax/transaction/SystemException.java,
4507 javax/transaction/Transaction.java,
4508 javax/transaction/TransactionManager.java,
4509 javax/transaction/TransactionRequiredException.java,
4510 javax/transaction/TransactionRolledbackException.java,
4511 javax/transaction/UserTransaction.java,
4512 javax/transaction/xa/XAException.java,
4513 javax/transaction/xa/XAResource.java,
4514 javax/transaction/xa/Xid.java,
4515 javax/xml/XMLConstants.java,
4516 javax/xml/datatype/DatatypeConfigurationException.java,
4517 javax/xml/datatype/DatatypeConstants.java,
4518 javax/xml/datatype/DatatypeFactory.java,
4519 javax/xml/datatype/Duration.java,
4520 javax/xml/datatype/XMLGregorianCalendar.java,
4521 javax/xml/namespace/NamespaceContext.java,
4522 javax/xml/namespace/QName.java,
4523 javax/xml/parsers/DocumentBuilder.java,
4524 javax/xml/parsers/DocumentBuilderFactory.java,
4525 javax/xml/parsers/FactoryConfigurationError.java,
4526 javax/xml/parsers/ParserConfigurationException.java,
4527 javax/xml/parsers/SAXParser.java,
4528 javax/xml/parsers/SAXParserFactory.java,
4529 javax/xml/transform/ErrorListener.java,
4530 javax/xml/transform/OutputKeys.java,
4531 javax/xml/transform/Result.java,
4532 javax/xml/transform/Source.java,
4533 javax/xml/transform/SourceLocator.java,
4534 javax/xml/transform/Templates.java,
4535 javax/xml/transform/Transformer.java,
4536 javax/xml/transform/TransformerConfigurationException.java,
4537 javax/xml/transform/TransformerException.java,
4538 javax/xml/transform/TransformerFactory.java,
4539 javax/xml/transform/TransformerFactoryConfigurationError.java,
4540 javax/xml/transform/URIResolver.java,
4541 javax/xml/transform/dom/DOMLocator.java,
4542 javax/xml/transform/dom/DOMResult.java,
4543 javax/xml/transform/dom/DOMSource.java,
4544 javax/xml/transform/sax/SAXResult.java,
4545 javax/xml/transform/sax/SAXSource.java,
4546 javax/xml/transform/sax/SAXTransformerFactory.java,
4547 javax/xml/transform/sax/TemplatesHandler.java,
4548 javax/xml/transform/sax/TransformerHandler.java,
4549 javax/xml/transform/stream/StreamResult.java,
4550 javax/xml/transform/stream/StreamSource.java,
4551 javax/xml/validation/Schema.java,
4552 javax/xml/validation/SchemaFactory.java,
4553 javax/xml/validation/TypeInfoProvider.java,
4554 javax/xml/validation/Validator.java,
4555 javax/xml/validation/ValidatorHandler.java,
4556 javax/xml/xpath/XPathConstants.java,
4557 javax/xml/xpath/XPathException.java,
4558 javax/xml/xpath/XPathExpression.java,
4559 javax/xml/xpath/XPathExpressionException.java,
4560 javax/xml/xpath/XPathFactory.java,
4561 javax/xml/xpath/XPathFactoryConfigurationException.java,
4562 javax/xml/xpath/XPathFunction.java,
4563 javax/xml/xpath/XPathFunctionException.java,
4564 javax/xml/xpath/XPathFunctionResolver.java:
4565 Fixed usage of @author tag, reworked import statements,
4566 removed CVS tags, changed the modifier order and fixed
4567 HTML usage in javadocs.
4569 2005-02-16 Julian Scheid <julian@sektor37.de>
4571 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4573 (encodeLoop): Likewise.
4575 2005-02-16 Mark Wielaard <mark@klomp.org>
4577 * Makefile.am (ordinary_java_source_files): Add new files
4578 gnu/java/security/ber/BER.java,
4579 gnu/java/security/ber/BEREncodingException.java,
4580 gnu/java/security/ber/BERReader.java,
4581 gnu/java/security/ber/BERValue.java,
4582 gnu/java/security/pkcs/PKCS7SignedData.java and
4583 gnu/java/security/pkcs/SignerInfo.java.
4584 * Makefile.in: Regenerated.
4586 2005-02-16 Casey Marshall <csm@gnu.org>
4588 * gnu/java/security/provider/GnuDSAPrivateKey.java
4589 (encodedKey): new field.
4590 (getFormat): return "PKCS#8".
4591 (getEncoded): implemented.
4592 (toString): check for 'null' values.
4593 * gnu/java/security/provider/GnuDSAPublicKey.java
4594 (encodedKey): new field.
4595 (getFormat): return "X.509".
4596 (getEncoded): implemented.
4597 (toString): check for 'null' values.
4599 2005-02-16 Michael Koch <konqueror@gmx.de>
4601 * java/util/jar/JarFile.java: Imports reworked.
4603 2005-02-16 Mark Wielaard <mark@klomp.org>
4605 * java/util/jar/JarFile.java (verify): Make package private.
4606 (signaturesRead): Likewise.
4607 (verified): Likewise.
4608 (entryCerts): Likewise.
4611 (entries): Construct new JarEnumeration with reference to this.
4612 (JarEnumeration): Make static.
4613 (JarEnumeration.jarfile): New field.
4614 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4615 Compare verified value to Boolean.TRUE or Boolean.False only
4616 when verify is true.
4617 (getEntry): Make synchronized. Compare value of verified to
4619 (getInputStream): Construct EntryInputStream with reference to this.
4620 (getManifest): Make synchronized.
4621 (EntryInputStream): Make static.
4622 (EntryInputStream.jarfile): New field.
4623 (EntryInputStream.EntryInputStream): Check if manifest exists,
4624 before getting attributes.
4625 (eof): Synchronize on jarfile.
4627 2005-02-16 Casey Marshall <csm@gnu.org>
4629 * java/util/jar/JarFile.java (verify): return if the jar is signed
4630 with an unsupported algorithm.
4632 2005-02-16 Mark Wielaard <mark@klomp.org>
4634 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4635 InputStream as argument.
4636 (getInputStream): Construct a new EntryInputStream with the result of
4637 super.getInputStream(entry).
4639 2005-02-16 Casey Marshall <csm@gnu.org>
4641 Signed JAR file support.
4642 * java/net/URLClassLoader.java
4643 (JarURLResource.getCertificates): re-read jar entry to ensure
4644 certificates are picked up.
4645 (findClass): fill in class `signers' field, too.
4646 * java/util/jar/JarFile.java (META_INF): new constant.
4647 (PKCS7_DSA_SUFFIX): new constant.
4648 (PKCS7_RSA_SUFFIX): new constant.
4649 (DIGEST_KEY_SUFFIX): new constant.
4650 (SF_SUFFIX): new constant.
4651 (MD2_OID): new constant.
4652 (MD4_OID): new constant.
4653 (MD5_OID): new constant.
4654 (SHA1_OID): new constant.
4655 (DSA_ENCRYPTION_OID): new constant.
4656 (RSA_ENCRYPTION_OID): new constant.
4657 (signaturesRead): new field.
4658 (verified): new field.
4659 (entryCerts): new field.
4660 (DEBUG): new constant.
4661 (debug): new method.
4662 (JarEnumeration.nextElement): fill in entry certificates, read
4663 signatures if they haven't been read.
4664 (getEntry): likewise.
4665 (getInputStream): verify stream if it hasn't been verified yet.
4666 (readSignatures): new method.
4667 (verify): new method.
4668 (verifyHashes): new method.
4669 (readManifestEntry): new method.
4670 (EntryInputStream): new class.
4671 * gnu/java/io/Base64InputStream.java (decode): new class
4673 * gnu/java/security/der/DERReader.java don't make class
4675 (in): made protected.
4677 (readLength): likewise.
4678 * gnu/java/security/ber/BER.java,
4679 * gnu/java/security/ber/BEREncodingException.java,
4680 * gnu/java/security/ber/BERReader.java,
4681 * gnu/java/security/ber/BERValue.java,
4682 * gnu/java/security/pkcs/PKCS7SignedData.java,
4683 * gnu/java/security/pkcs/SignerInfo.java:
4686 2005-02-16 Tom Tromey <tromey@redhat.com>
4688 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4689 copied file on exit.
4691 2005-02-15 Mark Wielaard <mark@klomp.org>
4693 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4695 2005-02-15 Michael Koch <konqueror@gmx.de>
4697 * gnu/java/awt/peer/gtk/GtkArg.java,
4698 gnu/java/awt/peer/gtk/GtkArgList.java:
4701 2005-02-15 Craig Black <craig.black@aonix.com>
4703 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4704 (postMenuActionEvent): Implement to notify ItemListeners.
4705 * java/awt/CheckboxMenuItem.java
4706 (dispatchEventImpl): Update state on ItemEvent.
4707 * java/awt/MenuItem.java
4708 (processActionEvent): Retarget event source.
4710 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4712 * gnu/java/awt/color/ClutProfileConverter.java,
4713 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4714 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4715 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4716 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4717 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4718 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4719 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4720 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4721 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4722 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4723 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4724 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4725 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4726 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4727 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4728 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4729 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4730 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4731 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4732 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4733 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4734 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4735 gnu/java/awt/peer/gtk/GtkToolkit.java,
4736 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4737 javax/swing/JPopupMenu.java,
4738 javax/swing/JSpinner.java,
4739 javax/swing/SortingFocusTraversalPolicy.java,
4740 javax/swing/SwingUtilities.java,
4741 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4742 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4743 javax/swing/tree/DefaultMutableTreeNode.java:
4744 Removed unused imports and expanded starred
4747 2005-02-15 Mark Wielaard <mark@klomp.org>
4749 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4750 IllegalArgumentException when the given String is null.
4752 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4753 when given keystoke sequence cannot be parsed.
4755 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4756 if one is installed. Only install the given menubar is not null.
4758 * javax/swing/JViewport.java (getViewSize): Return an empty
4759 Dimension when the view isn't set or preferred component size when
4762 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4763 empty Dimension when there is no view set.
4764 (minimumLayoutSize): Likewise.
4765 (layoutContainer): Don't try to layout when there is no view.
4767 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4770 * include/jawt.h: Likewise.
4771 * include/jawt_md.h: Likewise.
4772 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4774 * jni/classpath/classpath_jawt.h: Likewise.
4775 * jni/gtk-peer/gtk_jawt.c: Likewise.
4776 * Makefile.am: Build libjawt.so.
4778 2005-02-15 Michael Koch <konqueror@gmx.de>
4780 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4781 Merged file header with classpath CVS head.
4782 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4783 Merged code formatting with classpath CVS head.
4784 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4786 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4787 Handle special JNI strings with 2 '\0' at the end.
4788 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4789 Merged file header with classpath CVS head.
4790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4791 Merged code formatting with classpath CVS head.
4793 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4795 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4796 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4797 (handle_response): Use GTK_RESPONSE_ACCEPT.
4799 2005-02-15 Graydon Hoare <graydon@redhat.com>
4801 * Makefile.am: Fix library build breakage.
4802 * Makefile.in: Regenerate.
4804 2005-02-15 Michael Koch <konqueror@gmx.de>
4806 * javax/swing/JTabbedPane.java
4807 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4809 2005-02-15 Michael Koch <konqueror@gmx.de>
4811 * javax/swing/tree/DefaultMutableTreeNode.java:
4812 Reworked Javadocs all over.
4813 (getPathToRoot): Fixed direction of result array initialization.
4815 2005-02-15 Michael Koch <konqueror@gmx.de>
4817 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4818 Fix includes for cairo 0.3.0 snappshot.
4819 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4820 Merged file header from classpath CVS HEAD.
4822 2005-02-15 Craig Black <craig.black@aonix.com>
4824 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4825 (copyState): Pass a JNI global reference to signal handler.
4826 (realize_cb): Use and free JNI global reference.
4827 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4828 (create): Pass a JNI global reference to signal handler.
4829 (selection_changed): Match declaration.
4830 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4831 (dispose): Do not remove entries from state tables until after widget is
4834 2005-02-15 Michael Koch <konqueror@gmx.de>
4836 * java/awt/Container.javai (paramString):
4837 If layoutMgr is null just return result of super.paramString().
4838 * java/awt/Scrollbar.java: Reformatted.
4839 * java/awt/im/InputContext.java (static):
4840 Removed redundant initializations.
4842 2005-02-15 Michael Koch <konqueror@gmx.de>
4844 * javax/swing/ImageIcon.java,
4845 javax/swing/UIManager.java,
4846 javax/swing/text/EditorKit.java,
4847 javax/swing/text/Segment.java:
4848 More whitespace cleanups.
4850 2005-02-15 Michael Koch <konqueror@gmx.de>
4852 * gnu/java/awt/EmbeddedWindow.java,
4853 gnu/java/awt/image/ImageDecoder.java,
4854 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4855 java/awt/DefaultKeyboardFocusManager.java,
4856 java/awt/Frame.java,
4857 java/awt/image/RGBImageFilter.java,
4858 javax/swing/AbstractButton.java,
4859 javax/swing/ActionMap.java,
4860 javax/swing/ComponentInputMap.java,
4861 javax/swing/DefaultDesktopManager.java,
4862 javax/swing/ImageIcon.java,
4863 javax/swing/InputMap.java,
4864 javax/swing/JButton.java,
4865 javax/swing/JCheckBox.java,
4866 javax/swing/JCheckBoxMenuItem.java,
4867 javax/swing/JEditorPane.java,
4868 javax/swing/JMenu.java,
4869 javax/swing/JMenuItem.java,
4870 javax/swing/JOptionPane.java,
4871 javax/swing/JRootPane.java,
4872 javax/swing/JTable.java,
4873 javax/swing/MenuSelectionManager.java,
4874 javax/swing/RepaintManager.java,
4875 javax/swing/ScrollPaneLayout.java,
4876 javax/swing/SortingFocusTraversalPolicy.java,
4877 javax/swing/UIManager.java,
4878 javax/swing/ViewportLayout.java,
4879 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4880 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4881 javax/swing/plaf/basic/BasicLabelUI.java,
4882 javax/swing/plaf/basic/BasicListUI.java,
4883 javax/swing/plaf/basic/BasicMenuItemUI.java,
4884 javax/swing/plaf/basic/BasicMenuUI.java,
4885 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4886 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4887 javax/swing/plaf/basic/BasicRootPaneUI.java,
4888 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4889 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4890 javax/swing/plaf/basic/BasicTextUI.java,
4891 javax/swing/table/TableColumnModel.java,
4892 javax/swing/text/AbstractDocument.java,
4893 javax/swing/text/EditorKit.java,
4894 javax/swing/text/Position.java,
4895 javax/swing/text/Segment.java,
4896 javax/swing/text/StyledEditorKit.java,
4897 javax/swing/text/ViewFactory.java:
4898 Cleanup whitespace differences to classpath CVS HEAD.
4900 2005-02-15 Graydon Hoare <graydon@redhat.com>
4902 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4903 (finalize): Call finish from here.
4904 (produce): Not from here.
4905 * Makefile.am (gtk_c_source_files):
4906 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4907 * Makefile.in: Regenerate.
4908 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4910 (cairoDrawGdkTextLayout):
4912 (getPeerTextMetrics):
4913 (getPeerFontMetrics): Remove.
4914 (setFont): Don't call cairoSetFont.
4915 (cairoDrawGlyphVector): Accept font peer argument.
4916 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4918 (ensure_metrics_cairo):
4919 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4920 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4921 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4922 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4924 (metrics_surface): Remove.
4925 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4926 Pass and install font peer.
4928 2005-02-15 Graydon Hoare <graydon@redhat.com>
4930 * Makefile.am: Create "split library" structure.
4931 * Makefile.in: Regenerate.
4933 2005-02-15 Graydon Hoare <graydon@redhat.com>
4935 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4937 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4938 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4939 Release GDK lock during upcalls.
4941 2005-02-15 Graydon Hoare <graydon@redhat.com>
4943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4944 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4945 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4946 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4947 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4949 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4952 (getTextMetrics): New native methods.
4953 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4954 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4955 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4956 * Makefile.in: Regenerate.
4958 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4960 * javax/swing/SwingUtilities.java:
4961 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4962 Implemented and documented.
4963 (getAccessibleChild(java.awt.Component, int)): Likewise.
4964 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4965 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4966 (getAccessibleStateSet(java.awt.Component)): Likewise.
4968 2005-02-15 Michael Koch <konqueror@gmx.de>
4970 * javax/swing/SwingUtilities.java
4971 (getFontMetrics): Removed.
4973 2005-02-15 Michael Koch <konqueror@gmx.de>
4975 * java/awt/Container.java
4976 (paramString): Implemented.
4977 * javax/swing/AbstractButton.java
4978 (paramString): Implemented.
4979 * javax/swing/JComponent.java
4980 (paramString): Implemented.
4981 * javax/swing/JMenu.java
4982 (paramString): Implemented.
4983 * javax/swing/JMenuBar.java
4984 (paramString): Implemented.
4985 * javax/swing/JMenuItem.java
4986 (paramString): Implemented.
4987 * javax/swing/JPopupMenu.java
4988 (paramString): Implemented.
4990 2005-02-15 Michael Koch <konqueror@gmx.de>
4992 * javax/swing/JMenu.java
4993 (uiClassID): Removed.
4994 (JMenu): Set invoker on popup menu.
4995 (getUIClassID): Return id directly.
4996 (getItemCount): Simply return getMenuComponentCount().
4998 (isTopLevelMenu): Simplified.
4999 * javax/swing/JMenuItem.java
5000 (uiClassID): Removed.
5001 (getUIClassID): Return id directly.
5002 * javax/swing/JPopupMenu.java
5003 (uiClassID): Removed.
5004 (JPopupMenu): Always initialize correctly.
5005 (getSubElements): Only return components implementing MenuElement
5007 (HeavyWeightPopup.hide): Removed.
5009 2005-02-15 Michael Koch <konqueror@gmx.de>
5011 * java/awt/image/ReplicateScaleFilter.java
5012 (replicatePixels): Made private.
5013 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5014 (DefaultRGBChooserPanel): Made package private.
5015 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5016 (RecentSwatchPanel): Likewise.
5017 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5018 (MouseInputAdapter): Made abstract.
5019 * javax/swing/tree/DefaultMutableTreeNode.java
5021 (growTree): Likewise.
5023 2005-02-15 Michael Koch <konqueror@gmx.de>
5025 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5028 2005-02-15 Michael Koch <konqueror@gmx.de>
5030 * javax/swing/JComponent.java (getComponentGraphics):
5031 Removed accidently commited code.
5033 2005-02-15 Graydon Hoare <graydon@redhat.com>
5035 * java/awt/dnd/DropTarget.java
5036 (addDropTargetListener): Despite documentation, do not throw.
5037 * javax/swing/JComponent.java: Set a default DropTarget.
5039 2005-02-15 Michael Koch <konqueror@gmx.de>
5041 * javax/swing/AbstractAction.java
5042 (ENABLED_PROPERTY): Removed.
5043 (setEnabled): Replaced constant with real string.
5044 * javax/swing/AbstractButton.java
5045 (createActionPropertyChangeListener.propertyChange): Likewise.
5046 * javax/swing/JComboBox.java
5047 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5048 (EDITABLE_CHANGED_PROPERTY): Removed.
5049 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5050 (ENABLED_CHANGED_PROPERTY):Likewise.
5051 (RENDERER_CHANGED_PROPERTY):Likewise.
5052 (EDITOR_CHANGED_PROPERTY):Likewise.
5053 (MODEL_CHANGED_PROPERTY):Likewise.
5054 (uiClassID):Likewise.
5055 (getUIClassID): Replaced constant with real string.
5056 (setModel):Likewise.
5057 (setEditable):Likewise.
5058 (setMaximumRowCount):Likewise.
5059 (setRenderer):Likewise.
5060 (setEditor):Likewise.
5061 (setEnabled):Likewise.
5062 * javax/swing/JLabel.java
5063 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5064 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5065 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5066 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5067 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5068 (ICON_CHANGED_PROPERTY): Likewise.
5069 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5070 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5071 (TEXT_CHANGED_PROPERTY): Likewise.
5072 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5073 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5074 (setText): Replaced constant with real string.
5075 (setIcon): Likewise.
5076 (setDisabledIcon): Likewise.
5077 (setDisplayedMnemonic): Likewise.
5078 (setIconTextGap): Likewise.
5079 (setVerticalAlignment): Likewise.
5080 (setHorizontalAlignment): Likewise.
5081 (setVerticalTextPosition): Likewise.
5082 (setHorizontalTextPosition): Likewise.
5083 (setLabelFor): Replaced constant with real string.
5084 Fire property change event after property got changed.
5085 * javax/swing/JList.java
5086 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5087 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5088 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5089 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5090 (MODEL_PROPERTY_CHANGED): Likewise.
5091 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5092 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5093 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5094 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5095 (setFixedCellWidth): Reimplemented.
5096 (setFixedCellHeight): Exit if new value is identical.
5097 Replaced constant with real string.
5098 (setSelectionBackground): Likewise.
5099 (setSelectionForeground): Likewise.
5100 (setPrototypeCellValue): Likewise.
5101 (setCellRenderer): Replaced constant with real string.
5102 (setModel): Likewise.
5103 (setSelectionModel): Likewise.
5104 * javax/swing/JMenuBar.java
5105 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5106 (MODEL_CHANGED_PROPERTY): Likewise.
5107 (MARGIN_CHANGED_PROPERTY): Likewise.
5108 (setBorderPainted): Reimplemented.
5109 (setMargin): Likewise.
5110 (setSelectionModel): Replaced constant with real string.
5111 * javax/swing/JPopupMenu.java
5112 (LABEL_CHANGED_PROPERTY): Removed.
5113 (VISIBLE_CHANGED_PROPERTY): Likewise.
5114 (borderPainted): Likewise.
5115 (setLabel): Replaced constant with real string.
5116 (setVisible): Exit if new value is identical.
5117 Replaced constant with real string.
5118 * javax/swing/JProgressBar.java
5119 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5120 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5121 (STRING_CHANGED_PROPERTY): Likewise.
5122 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5123 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5124 (setOrientation): Replaced constant with real string.
5125 (setStringPainted): Likewise.
5126 (setString): Likewise.
5127 (setBorderPainted): Likewise.
5128 (setIndeterminate): Likewise.
5129 * javax/swing/JScrollBar.java
5130 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5131 (MODEL_CHANGED_PROPERTY): Likewise.
5132 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5133 (setOrientation): Replaced constant with real string.
5134 (setModel): Likewise.
5135 (setUnitIncrement): Likewise.
5136 (setBlockIncrement): Likewise.
5137 * javax/swing/JScrollPane.java
5138 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5139 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5140 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5141 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5142 (LAYOUT_CHANGED_PROPERTY): Likewise.
5143 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5144 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5145 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5146 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5147 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5148 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5149 (setComponentOrientation): Replaced constant with real string.
5150 (setColumnHeader): Likewise.
5151 (setHorizontalScrollBar): Likewise.
5152 (setHorizontalScrollBarPolicy): Likewise.
5153 (setRowHeader): Likewise.
5154 (setVerticalScrollBar): Likewise.
5155 (setVerticalScrollBarPolicy): Likewise.
5156 (setWheelScrollingEnabled): Likewise.
5157 (setViewport): Likewise.
5158 (setViewportBorder): Likewise.
5159 * javax/swing/JSlider.java
5160 (INVERTED_CHANGED_PROPERTY): Removed.
5161 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5162 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5163 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5164 (MODEL_CHANGED_PROPERTY): Likewise.
5165 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5166 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5167 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5168 (setModel): Replaced constant with real string.
5169 (setOrientation): Likewise.
5170 (setLabelTable): Likewise.
5171 (setInverted): Likewise.
5172 (setMajorTickSpacing): Likewise.
5173 (setMinorTickSpacing): Likewise.
5174 (setPaintTicks): Likewise.
5175 (setPaintLabels): Likewise.
5176 * javax/swing/JTabbedPane.java
5177 (MODEL_CHANGED_PROPERTY): Removed.
5178 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5179 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5180 (setModel): Replaced constant with real string.
5181 (setTabPlacement): Likewise.
5182 (setTabLayoutPolicy): Likewise.
5183 * javax/swing/JToolBar.java
5184 (ORIENTATION_CHANGED_PROPERTY): Removed.
5185 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5186 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5187 (MARGIN_CHANGED_PROPERTY): Likewise.
5188 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5189 (setRollover): Replaced constant with real string.
5190 (setMargin): Likewise.
5191 (setBorderPainted): Likewise.
5192 (setFloatable): Likewise.
5193 (setOrientation): Likewise.
5194 * javax/swing/plaf/basic/BasicComboBoxUI.java
5195 (PropertyChangeHandler.propertyChange): Likewise.
5196 * javax/swing/plaf/basic/BasicComboPopup.java
5197 (PropertyChangeHandler.propertyChange): Likewise.
5198 * javax/swing/plaf/basic/BasicMenuBarUI.java
5199 (PropertyChangeHandler.propertyChange): Likewise.
5200 * javax/swing/plaf/basic/BasicProgressBarUI.java
5201 (PropertyChangeHandler.propertyChange): Likewise.
5202 * javax/swing/plaf/basic/BasicScrollBarUI.java
5203 (PropertyChangeHandler.propertyChange): Likewise.
5204 * javax/swing/plaf/basic/BasicSliderUI.java
5205 (PropertyChangeHandler.propertyChange): Likewise.
5206 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5207 (PropertyChangeHandler.propertyChange): Likewise.
5208 * javax/swing/plaf/basic/BasicToolBarUI.java
5209 (PropertyChangeHandler.propertyChange): Likewise.
5211 2005-02-15 Michael Koch <konqueror@gmx.de>
5213 * javax/swing/DefaultButtonModel.java
5214 (changeState): Made private.
5215 * javax/swing/DefaultDesktopManager.java
5216 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5217 * javax/swing/JLayeredPane.java
5218 (layerToRange): Made private.
5219 (incrLayer): Likewise.
5220 (decrLayer): Likewise.
5221 * javax/swing/JTable.java
5222 (dragEnabled): Likewise.
5223 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5224 * javax/swing/KeyStroke.java
5225 (Keystroke): Made private.
5226 * javax/swing/TransferHandler.java
5227 (COMMAND_COPY): Likewise.
5228 (COMMAND_CUT): Likewise.
5229 (COMMAND_PASTE): Likewise.
5231 2005-02-15 Michael Koch <konqueror@gmx.de>
5233 * javax/swing/JTextField.java
5234 (postActionEvent): Use text in field when actionCommand is null.
5235 (getActionCommand): Removed.
5237 2005-02-15 Michael Koch <konqueror@gmx.de>
5239 * javax/swing/AbstractSet.java: Removed.
5240 * Makefile.am: Removed javax/swing/AbstractSet.java.
5241 * Makefile.in: Regenerated.
5243 2005-02-15 Michael Koch <konqueror@gmx.de>
5245 * java/awt/Window.java
5246 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5247 * java/awt/dnd/DnDConstants.java
5248 (DnDConstants): New private constructor.
5250 2005-02-15 Michael Koch <konqueror@gmx.de>
5252 * javax/swing/DefaultCellRenderer.java: Removed.
5253 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5254 * Makefile.in: Regenerated.
5256 2005-02-15 Michael Koch <konqueror@gmx.de>
5258 * javax/swing/AbstractButton.java
5259 (fireItemStateChanged): Made protected.
5260 (fireActionPerformed): Likewise.
5261 (fireStateChanged): Likewise.
5262 * javax/swing/DefaultButtonModel.java
5263 (fireItemStateChanged): Likewise.
5264 (fireActionPerformed): Likewise.
5265 (fireStateChanged): Likewise.
5266 * javax/swing/JApplet.java
5268 (frameInit): Likewise.
5269 (setRootPane): Made protected.
5270 (createRootPane): Likewise.
5271 * javax/swing/JComponent.java
5272 (getClientProperty): Likewise.
5273 (putClientProperty): Likewise.
5274 * javax/swing/JEditorPane.java
5275 (getContentType): Likewise.
5276 (setContentType): Likewise.
5277 * javax/swing/JFrame.java
5278 (setRootPane): Likewise.
5279 (createRootPane): Likewise.
5280 * javax/swing/JInternalFrame.java
5281 (getFocusCycleRootAncestor): Made final. Added @since tag.
5282 (isFocusCycleRoot): Likewise.
5283 (getWarningString): Made final.
5284 * javax/swing/JScrollBar.java
5285 (changeListener): Removed.
5286 (changeEvent): Likewise.
5287 (createChangeListener): Likewise.
5288 (fireStateChanged): Likewise.
5289 (addChangeListener): Likewise.
5290 (removeChangeListener): Likewise.
5291 (getChangeListeners): Likewise.
5292 * javax/swing/JScrollPane.java
5293 (createViewport): Made protected.
5294 * javax/swing/JViewport.java
5295 (addImpl): Likewise.
5296 (setBorder): New method.
5297 * javax/swing/JWindow.java
5298 (setRootPane): Made protected.
5299 (createRootPane): Likewise.
5300 * javax/swing/plaf/basic/BasicButtonUI.java
5301 (installListeners): Likewise.
5302 (uninstallListeners): Likewise.
5303 * javax/swing/plaf/basic/BasicProgressBarUI.java
5304 (incrementAnimationIndex): Likewise.
5305 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5306 (createLayoutManager): Likewise.
5307 * javax/swing/table/DefaultTableCellRenderer.java
5308 (firePropertyChange): Likewise.
5309 * javax/swing/table/JTableHeader.java
5310 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5312 * javax/swing/text/PlainDocument.java
5313 (reindex): Made private.
5314 * javax/swing/text/PlainView.java
5315 (drawLine): Made protected.
5316 (getTabSize): Likewise.
5317 * javax/swing/text/View.java
5319 (preferenceChanged): New method.
5320 (getBreakWeight): Likewise.
5321 (breakView): Likewise.
5322 (getViewIndex): Likewise.
5324 2005-02-15 Michael Koch <konqueror@gmx.de>
5326 * javax/swing/JScrollPane.java
5327 (ScrollBar): Made class protected.
5328 * javax/swing/JSpinner.java
5329 (JSpinner): Added @since tag.
5330 (listenerList): Removed.
5331 * javax/swing/JTable.java
5332 (setValueAt): New method.
5333 (getColumn): Likewise.
5334 * javax/swing/JWindow.java
5335 (rootPaneCheckingEnabled): Renamed from checking.
5337 2005-02-15 Michael Koch <konqueror@gmx.de>
5339 * javax/swing/plaf/basic/BasicTextUI.java
5340 (RootView.modelToView): Made it public and return a java.awt.Shape.
5341 Handle null subview.
5342 (uninstall): Set textComponent to null when its not possible used
5344 * javax/swing/text/View.java
5345 (setParent): Use better argument name.
5346 (getContainer): Get parent via getParent().
5347 (getViewFactory): Likewise.
5348 (getAttributes): Get element via getElement().
5349 (getStartOffset): Likewise.
5350 (getEndOffset): Likewise.
5351 (getResizeWeight): New method.
5352 (getMaximumSpan): Likewise.
5353 (getMinimumSpan): Likewise.
5354 (setSize): Likewise.
5355 (getGraphics): Likewise.
5357 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5359 * java/awt/Checkbox.java:
5360 (AccessibleAWTCheckbox()): Added public constructor
5362 * java/awt/Choice.java:
5363 (AccessibleAWTChoice): Added class documentation.
5364 (AccessibleAWTChoice()): Added public constructor
5366 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5367 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5368 and changed role to COMBO_BOX.
5369 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5370 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5371 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5373 2005-02-15 Graydon Hoare <graydon@redhat.com>
5374 Michael Koch <konqueror@gmx.de>
5376 * javax/swing/LayoutFocusTraversalPolicy.java,
5377 javax/swing/SortingFocusTraversalPolicy.java:
5379 * Makefile.am: Added new classes.
5380 * Makefike.in: Regenerated.
5383 2005-02-15 Michael Koch <konqueror@gmx.de>
5385 * javax/swing/DebugGraphics.java: Mostly implemented.
5387 2005-02-15 Michael Koch <konqueror@gmx.de>
5389 * javax/swing/SwingUtilities.java
5390 (findFocusOwner): New method.
5392 2005-02-15 Michael Koch <konqueror@gmx.de>
5394 * javax/swing/text/DefaultEditorKit.java
5395 (read): Added '\n' after each line.
5396 * javax/swing/text/PlainView.java
5397 (modelToView): Update metrics.
5398 (drawLine): Use offsets from element.
5399 (paint): Update metrics. Draw all lines.
5401 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5403 * java/awt/Checkbox.java:
5404 (AccessibleAWTCheckbox): Added class documentation
5405 * java/awt/Scrollbar.java:
5406 (AccessibleAWTScrollBar): typo corrected and docs added
5407 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5408 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5409 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5410 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5411 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5412 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5413 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5414 (getAccessibleContext()): name of accessible class corrected
5416 2005-02-15 Mark Wielaard <mark@klomp.org>
5418 * java/awt/BasicStroke.java (hashCode): Implement.
5421 2005-02-15 Michael Koch <konqueror@gmx.de>
5423 * java/awt/print/PrinterJob.java
5424 (pageDialog): Throws java.awt.HeadlessException.
5425 (printDialog): Likewise.
5427 2005-02-15 Mark Wielaard <mark@klomp.org>
5429 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5431 2005-02-15 Michael Koch <konqueror@gmx.de>
5433 * javax/swing/JTable.java
5434 (getValueAt): New method.
5435 * javax/swing/table/JTableHeader.java
5436 (columnAtPoint): New method.
5438 2005-02-15 Michael Koch <konqueror@gmx.de>
5440 * javax/swing/JTextField.java
5441 (actions): New field.
5442 (static): Initalize actions field.
5443 (getActions): New method.
5445 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5447 * java/awt/Checkbox.java:
5448 (AccessibleAWTCheckbox): name capitalization corrected
5449 and serialization UID added.
5450 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5452 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5453 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5454 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5455 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5456 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5457 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5458 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5459 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5460 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5461 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5462 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5464 (getAccessibleContext()): name of accessible class corrected
5466 2005-02-15 Sven de Marothy <sven@physto.se>
5468 * java/awt/geom/doc-files/Area-1.png,
5469 java/awt/geom/doc-files/Ellipse-1.png,
5470 java/awt/geom/doc-files/GeneralPath-1.png:
5473 2005-02-15 Graydon Hoare <graydon@redhat.com>
5475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5476 Use union to avoid type-punning warning.
5478 2005-02-15 Michael Koch <konqueror@gmx.de>
5480 * javax/swing/DefaultListSelectionModel.java
5481 (clone): New method.
5483 2005-02-15 Mark Wielaard <mark@klomp.org>
5485 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5486 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5487 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5488 Correct method signature of gtkSetFilename.
5490 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5492 * javax/swing/text/StringContent.java: New file.
5494 2005-02-15 Michael Koch <konqueror@gmx.de>
5496 * Makefile.am: Added javax/swing/text/StringContent.java.
5497 * Makefile.in: Regenerated.
5499 2005-02-15 Michael Koch <konqueror@gmx.de>
5501 * gnu/java/awt/ClasspathToolkit.java:
5502 Import statements reworked.
5503 (imageCache): Made it of type java.util.HashMap.
5505 2005-02-15 Michael Koch <konqueror@gmx.de>
5507 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5508 Reworked import statements.
5510 2005-02-15 Graydon Hoare <graydon@redhat.com>
5512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5515 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5516 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5518 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5523 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5528 Rewrite uses of extern variable to be function calls.
5529 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5530 function, from extern variable.
5531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5532 (gdk_env): Remove variable, add new function.
5533 (java_vm): Add new variable.
5534 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5535 java_vm rather than old gdk_env variable.
5537 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5539 * javax/swing/DefaultListModel.java
5540 (add): fire correct event,
5541 (addElement): corrected interval indices in event,
5542 (clear): corrected upper bound for interval, only fire event if
5544 (setSize): fire appropriate event.
5546 2005-02-15 Graydon Hoare <graydon@redhat.com>
5548 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5549 * gnu/awt/xlib/XToolkit.java: Likewise.
5550 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5551 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5552 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5553 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5554 * java/awt/EventQueue.java (getNextEvent):
5555 Adjust event loop to switch to native mode after 100ms.
5556 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5557 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5558 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5559 Wake up event thread.
5560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5561 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5562 Adjust event loop to switch to java mode after 100ms.
5564 2005-02-15 Graydon Hoare <graydon@redhat.com>
5566 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5567 accidentally removed in last change.
5569 2005-02-15 Michael Koch <konqueror@gmx.de>
5571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5572 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5574 2005-02-15 Graydon Hoare <graydon@redhat.com>
5576 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5577 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5578 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5579 * jni.cc: Reuse bottom frame between calls, avoid clearing
5580 frame when no local references are made.
5582 2005-02-15 Michael Koch <konqueror@gmx.de>
5584 * javax/swing/UIDefaults.java (UIDefaults):
5585 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5586 Fixed HTML entity and removed a redundant comma.
5588 2005-02-15 Michael Koch <konqueror@gmx.de>
5590 * javax/swing/text/DefaultEditorKit.java
5591 (deinstall): Removed.
5592 (install): Likewise.
5594 2005-02-15 Michael Koch <konqueror@gmx.de>
5596 * javax/swing/UIDefaults.java (put): Handle value of null.
5598 2005-02-15 Michael Koch <konqueror@gmx.de>
5600 * java/awt/Robot.java,
5601 java/awt/Scrollbar.java,
5602 java/awt/print/PrinterJob.java,
5603 javax/swing/JTable.java,
5604 javax/swing/text/AbstractDocument.java:
5605 Reworked import statements.
5607 2005-02-15 Michael Koch <konqueror@gmx.de>
5609 * javax/swing/JEditorPane.java
5610 (read): Implemented.
5612 * javax/swing/text/DefaultEditorKit.java
5613 (page): Renamed from page_url. Made private.
5614 (editorKit): Renamed from kit. Made private.
5616 (JEditorPane): All constructors reimplemented.
5617 (getContentType): Use content type from editor kit.
5618 (getEditorKit): Return editorKit.
5619 (getEditorKitForContentType):Likewise.
5620 (getPage): Return page.
5621 (setContentType): Reimplemented.
5622 (setEditorKit): Likewise.
5623 (setEditorKitForContentType): Removed wrong implementation.
5624 (setPage): Implemented.
5626 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5629 (nativeSetIconImageFromData): Re-add native implementation.
5631 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5633 * javax/swing/table/DefaultTableModel.java
5634 (DefaultTableModel()): Added Javadocs.
5635 (DefaultTableModel(int, int)): Fixed implementation.
5636 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5637 for negative rowCount.
5638 (DefaultTableModel(Object[], int)): Added Javadocs.
5639 (DefaultTableModel(Vector, Vector)): Likewise.
5640 (DefaultTableModel(Object[][], Object[])): Likewise.
5641 (getDataVector): Likewise.
5642 (setDataVector(Vector, Vector)): Likewise.
5643 (setDataVector(Object[][], Object[])): Likewise.
5644 (newDataAvailable): Likewise.
5645 (newRowsAdded): Likewise.
5646 (rowsRemoved): Likewise.
5647 (setColumnIdentifiers(Vector)): Allow for null argument.
5648 (setColumnIdentifiers(Object[])): Added Javadocs.
5649 (setNumRows): Likewise.
5650 (setRowCount): Adds new rows if necessary, and sends more specific
5652 (setColumnCount): Allow for null columnIdentifiers.
5653 (addColumn(Object)): Added Javadocs.
5654 (addColumn(Object, Vector)): Handle null columnData.
5655 (addColumn(Object, Object[])): Handle columnData with more or less
5656 entries than rows in the table.
5657 (addRow(Vector)): Fire appropriate event.
5658 (addRow(Object[])): Added Javadocs.
5659 (insertRow(int, Vector)): Fire appropriate event.
5660 (insertRow(int, Object[])): Added Javadocs.
5661 (moveRow): Reimplemented.
5662 (removeRow(int)): Fire appropriate event.
5663 (getColumnCount): Allow for null columnIdentifiers.
5664 (getColumnName): Now returns empty string when column index is too
5666 (isCellEditable): Added Javadocs.
5667 (getValueAt): Likewise.
5668 (setValueAt): Fire more specific event.
5669 (convertToVector): Added Javadocs.
5670 * javax/swing/table/TableModel.java
5673 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5675 * libgcj.spec.in (lib): Add -l-javax-imageio.
5677 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5679 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5680 references to event queue q with method call q().
5681 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5682 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5683 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5684 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5685 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5686 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5689 2005-02-15 Graydon Hoare <graydon@redhat.com>
5691 * gnu/java/awt/ClasspathToolkit.java
5692 (registerImageIOSpis): New method.
5693 * gnu/java/awt/image/ImageDecoder.java
5694 (imageDecoder): New constructor using InputStream
5695 (startProduction): Handle existing InputStream.
5696 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5697 (findSimpleIntegerArray): Make public and static.
5698 (updateBufferedImage): Set each pixel, in a loop.
5699 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5700 Implement ImageIO SPI classes.
5701 (createBufferedImage): Rewrite in terms of SPI classes.
5702 * gnu/java/awt/peer/gtk/GtkToolkit.java
5703 (registerImageIOSpis): New method.
5704 * java/lang/reflect/natMethod.cc
5705 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5706 which lets JNI call interface methods properly.
5707 * javax/imageio/ImageIO.java
5708 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5709 (WriterMIMETypeFilter.filter): Likewise.
5710 (ImageReaderIterator): Pass extension argument through to SPI.
5711 (getReadersByFilter): Likewise.
5712 (getWritersByFilter): Likewise.
5713 (getImageReadersByFormatName): Likewise.
5714 (getImageReadersByMIMEType): Likewise.
5715 (getImageReadersBySuffix): Likewise.
5716 (getImageWritersByFormatName): Likewise.
5717 (getImageWritersByMIMEType): Likewise.
5718 (getImageWritersBySuffix): Likewise.
5721 * javax/imageio/ImageReader.java
5722 (progressListeners): Initialize.
5723 (setInput): Implement.
5724 * javax/imageio/ImageWriter.java
5725 (progressListeners): Initialize.
5726 (warningListeners): Likewise.
5727 (warningLocales): Likewise.
5728 (setOutput): Test "isInstance" rather than class equality.
5729 * javax/imageio/spi/IIORegistry.java
5730 (static): Add reader and writer SPIs.
5731 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5732 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5733 (query_formats): New function.
5734 (save_to_stream): Likewise.
5735 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5737 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5739 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5741 (keyPress): Likewise.
5742 (keyRelease): Likewise.
5744 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5746 * javax/swing/JTable.java
5747 (columnAtPoint): New Method. Implemented.
5748 (rowAtPoint): Likewise.
5749 (countSelections): Fixed few small count errors.
5750 (getSelections): Likewise.
5751 (setSelectionMode): Set selection mode for column
5752 selection model in addition to row selection model.
5753 * javax/swing/plaf/basic/BasicTableUI.java:
5754 (getRowForPoint): Removed. Replaced by
5755 JTable.rowAtPoint().
5756 (getColForPoint): Removed. Replaced by
5757 JTable.columnAtPoint().
5758 (updateSelection): Updated to call JTable.columnAtPoint
5759 and JTable.rowAtPoint.
5760 * javax/swing/table/DefaultTableColumnModel.java:
5761 (getSelectedColumns): Implemented.
5762 (getSelectedColumnCount): Implemented.
5764 2005-02-15 Graydon Hoare <graydon@redhat.com>
5767 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5768 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5769 * Makefile.in: Regenerate.
5770 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5771 * gnu/awt/xlib/XFramePeer.java: Likewise.
5772 * gnu/awt/xlib/XToolkit.java: Likewise.
5773 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5774 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5775 * gnu/java/awt/ClasspathToolkit.java
5778 (iterateNativeQueue): New methods.
5779 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5780 * gnu/java/awt/peer/gtk/GtkToolkit.java
5781 (gtkInit): Absorb from defunct GtkMainThread class.
5782 (static): Run gtkInit in static startup block.
5783 (GtkToolkit): Remove construction of GtkMainThread and queue.
5784 (getSystemEventQueueImpl): Construct queue when requested.
5787 (iterateNativeQueue): New methods.
5788 * java/awt/Component.java (removeNotify): Remove race.
5789 * java/awt/EventDispatchThread.java
5790 (EventDispatchThread): Don't start on construction.
5791 (run): Remove isInterrupted check.
5792 * java/awt/EventQueue.java (shutdown): New flag.
5793 (isShutdown): New method checking J2SE shutdown condition.
5794 (setShutdown): New method.
5795 (getNextEvent): Restructure to use ClasspathToolkit.
5796 (postEvent): Activate new thread on posting, wake thread on
5797 post of possible shutdown condition event.
5798 * java/awt/Frame.java
5799 (Frame): Call noteFrame in all constructors.
5800 (fireDummyEvent): New helper method.
5801 (addNotify): Fire a dummy event to wake up queue.
5802 (removeNotify): Fire a dummy event to wake up queue.
5803 (noteFrame): New method.
5804 (weakFrames): New static field.
5805 (getFrames): Implement.
5806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5808 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5809 Move everything from GtkMainThread into this file
5810 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5811 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5812 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5813 New functions to implement single-threaded queue semantics.
5815 2005-02-15 Michael Koch <konqueror@gmx.de>
5817 * javax/swing/plaf/metal/MetalLookAndFeel.java
5818 (getControlTextFont): New method.
5819 (getMenuTextFont): Likewise.
5820 (getSubTextFont): Likewise.
5821 (getSystemTextFont): Likewise.
5822 (getUserTextFont): Likewise.
5823 (getWindowTitleFont): Likewise.
5825 2005-02-15 Michael Koch <konqueror@gmx.de>
5827 * javax/swing/text/AbstractDocument.java
5828 (documentFilter): New field.
5829 (getDocumentFilter): New method.
5830 (setDocumentFilter): Likewise.
5833 2005-02-15 Michael Koch <konqueror@gmx.de>
5835 * javax/swing/JTree.java
5836 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5838 2005-02-15 Michael Koch <konqueror@gmx.de>
5840 * javax/swing/text/AbstractDocument.java
5841 (AbstractElement.getLength): Fixed off-by-one error.
5842 (AbstractElement.children): Made abstract.
5843 (AbstractElement.getAllowsChildren): Likewise.
5844 (AbstractElement.getElement): Likewise.
5845 (AbstractElement.dumpElement): New private method.
5846 (AbstractElement.dump): New method.
5847 (BranchElememt.getName): Fixed implementation.
5848 (BranchElememt.toString): Likewise.
5849 (BranchElememt.getElement): Fixed arguments.
5850 (LeafElement.getName): Fixed implementation.
5851 (LeafElement.toString): Likewise.
5852 * javax/swing/text/GapContent.java
5853 (GapContent): Put default content into buffer.
5854 * javax/swing/text/PlainDocument.java
5855 (reindex): Use empty attribute sets instead of null.
5856 (createDefaultRoot): Reimplemented.
5857 (insertUpdate): Call super method.
5858 (removeUpdate): Likewise.
5859 (getParagraphElement): Implemented.
5861 2005-02-15 Michael Koch <konqueror@gmx.de>
5863 * gnu/java/awt/ClasspathToolkit.java
5864 (createRobot): Throws java.awt.AWTException.
5865 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5866 Added '__attribute__((unused))' to all unused method arguments.
5868 2005-02-15 Michael Koch <konqueror@gmx.de>
5870 * javax/swing/DefaultBoundedRangeModel.java
5871 (fireValueChanged): Fixed off-by-one error.
5873 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5875 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5876 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5878 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5879 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5880 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5881 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5882 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5883 (getDefaultScreenDevice): Implement.
5884 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5885 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5886 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5887 * java/awt/Robot.java: Implement.
5888 * java/awt/peer/RobotPeer.java: Rename parameters.
5889 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5891 (awt_keycode_to_keysym): Make non-static.
5892 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5893 AWT_BUTTON3_MASK): Declare constants.
5894 (awt_keycode_to_keysym): Declare.
5896 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5897 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5898 and is non-empty pass its value to "make check".
5899 (test_mauve_sim): Likewise.
5901 2005-02-15 Michael Koch <konqueror@gmx.de>
5903 * javax/imageio/IIOParam.java
5904 (setSourceBands): New method.
5905 (setSourceSubsampling): Likewise.
5906 * javax/imageio/ImageReadParam.java
5907 (setDestination): Likewise.
5908 (setDestinationBands): Likewise.
5909 (setSourceProgressivePasses): Likewise.
5910 * javax/imageio/metadata/IIOInvalidTreeException.java
5911 (serialVersionUID): New static field.
5912 * javax/imageio/metadata/IIOMetadataNode.java
5913 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5914 (parent): Dont initailize with default value explicitely.
5916 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5917 (removeAttributeNode): Likewise.
5918 (removeAttributeNS): Likewise.
5919 (setAttribute): Likewise.
5920 (setAttributeNode): Likewise.
5921 (setAttributeNodeNS): Likewise.
5922 (setAttributeNS): Likewise.
5923 (appendChild): Likewise.
5924 (getNodeValue): Likewise.
5925 (insertBefore): Likewise.
5926 (removeChild): Likewise.
5927 (replaceChild): Likewise.
5928 (setPrefix): Likewise.
5930 2005-02-15 Michael Koch <konqueror@gmx.de>
5932 * javax/swing/LookAndFeel.java
5933 (getDesktopPropertyValue): New method.
5935 2005-02-15 Michael Koch <konqueror@gmx.de>
5937 * javax/swing/JTree.java
5938 (hasChildren): New instance field.
5940 2005-02-15 Michael Koch <konqueror@gmx.de>
5942 * javax/swing/JComponent.java
5943 (getToolTipText): New method.
5944 (getTitledBorderText): Likewise.
5945 (getAccessibleKeyBinding): Likewise.
5946 (getVerifyInputWhenFocusTarget): Likewise.
5947 (setVerifyInputWhenFocusTarget): Likewise.
5948 (verifyInputWhenFocusTarget): New instance field.
5950 2005-02-15 Michael Koch <konqueror@gmx.de>
5952 * javax/swing/DefaultListSelectionModel.java
5953 (fireValueChanged): New method.
5955 2005-02-15 Michael Koch <konqueror@gmx.de>
5957 * javax/swing/DefaultBoundedRangeModel.java:
5958 Fixed javadocs all over.
5959 (fireStateChanged): Simplified.
5960 * javax/swing/BoundedRangeModel.java:
5963 2005-02-15 Michael Koch <konqueror@gmx.de>
5965 * javax/swing/JRootPane.java
5966 (setMenuBar): Added @deprecated tag.
5967 (getMenuBar): Likewise.
5968 * javax/swing/JTable.java
5969 (sizeColumnsToFit): Likewise.
5971 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5973 * javax/swing/ImageIcon.java (setImage): Implemented.
5975 2005-02-15 Michael Koch <konqueror@gmx.de>
5977 * javax/swing/JTable.java:
5978 Removed unused imports.
5980 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5982 (prepareRenderer): Get column's index in dataModel instead
5983 of column's view index.
5984 (getColumnCount): return count of the columns in ColumnModel,
5986 (removeColumn): Implemented.
5987 (moveColumm): Likewise.
5988 (setRowHeight): throw IllegalArgumentException if height is
5990 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5991 (DefaultTableColumnModel):Add call to createSelectionModel().
5992 (addColumn): Fire columnAdded event to registered listeners.
5993 (removeColumn): Fire columnRemoved event to registered listeners.
5994 (moveColumn): Fire columnMoved event to registered listeners.
5995 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5996 (getColumnIndex): Changed parameter name.
5997 (setColumnSelectionAllowed): Likewise.
5998 (fireColumnAdded): Implemented.
5999 (fireColumnRemoved): Likewise.
6000 (fireColumnMoved): Likewise.
6001 (fireColumnMarginChanged): Likewise.
6002 (getListeners): Changed parameter name.
6003 (propertyChange): Implemented.
6004 (valueChanged): Changed parameter name.
6005 (createSelectionModel): Implemented.
6007 2005-02-15 Michael Koch <konqueror@gmx.de>
6009 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6010 Explicitely import used classes.
6011 (getLocalGraphicsEnvironment): Simplify.
6012 * java/awt/Window.java (Window):
6013 Enable code to get the default GraphicsConfiguration.
6015 2005-02-15 Michael Koch <konqueror@gmx.de>
6017 * javax/swing/plaf/metal/DefaultMetalTheme.java
6018 (CONTROL_TEXT_FONT): New static field.
6019 (MENU_TEXT_FONT): Likewise.
6020 (SUB_TEXT_FONT): Likewise.
6021 (SYSTEM_TEXT_FONT): Likewise.
6022 (USER_TEXT_FONT): Likewise.
6023 (WINDOW_TITLE_FONT): Likewise.
6024 (getControlTextFont): New method.
6025 (getMenuTextFont): Likewise.
6026 (getSubTextFont): Likewise.
6027 (getSystemTextFont): Likewise.
6028 (getUserTextFont): Likewise.
6029 (getWindowTitleFont): Likewise.
6030 * javax/swing/plaf/metal/MetalTheme.java
6031 (BLACK): Initialize with Color.BLACK.
6032 (WHITE): Initialize with Color.WHITE.
6033 (getInactiveControlTextColor): Return getControlDisabled().
6034 (getMenuDisabledForeground): Return getSecondary3().
6035 (getControlTextFont): New abstract method.
6036 (getMenuTextFont): Likewise.
6037 (getSubTextFont): Likewise.
6038 (getSystemTextFont): Likewise.
6039 (getUserTextFont): Likewise.
6040 (getWindowTitleFont): Likewise.
6042 2005-02-15 Michael Koch <konqueror@gmx.de>
6044 * javax/swing/JFormattedTextField.java
6045 (getFocusLostBehavior): Fixed typo in method name.
6046 (setFocusLostBehavior): Likewise.
6048 2005-02-15 Michael Koch <konqueror@gmx.de>
6050 * javax/swing/TransferHandler.java:
6051 Reworked import statements.
6053 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6055 * java/awt/Button.java,
6056 java/awt/Canvas.java,
6057 java/awt/Checkbox.java,
6058 java/awt/CheckboxMenuItem.java,
6059 java/awt/Choice.java,
6060 java/awt/Dialog.java,
6061 java/awt/Frame.java,
6062 java/awt/Label.java,
6065 java/awt/MenuBar.java,
6066 java/awt/MenuItem.java,
6067 java/awt/PopupMenu.java,
6068 java/awt/ScrollPane.java,
6069 java/awt/Scrollbar.java,
6070 java/awt/TextArea.java,
6071 java/awt/Window.java (getAccessibleContext): Clean up comments.
6073 * java/awt/Button.java,
6074 java/awt/Checkbox.java,
6075 java/awt/Choice.java,
6077 java/awt/PopupMenu.java,
6078 java/awt/TextArea.java (getAccessibleContext): Only create new
6080 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6082 2005-02-15 Michael Koch <konqueror@gmx.de>
6084 * java/awt/Button.java,
6085 javax/swing/JApplet.java,
6086 javax/swing/JFormattedTextField.java,
6087 javax/swing/JWindow.java,
6088 javax/swing/JTree.java,
6089 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6090 javax/swing/plaf/basic/BasicTextPaneUI.java,
6091 javax/swing/plaf/basic/BasicTreeUI.java:
6092 Reworked import statements.
6094 2005-02-15 Michael Koch <konqueror@gmx.de>
6096 * Makefile.am: Put javax.imageio into its own library and link it
6097 against lib-org-w3c-dom.la to fix bootstrapping.
6098 * Makefile.in: Regenerated.
6100 2005-02-15 Michael Koch <konqueror@gmx.de>
6102 * javax/swing/text/TextAction.java
6103 (getTextComponent): Simplified. Added Javadoc.
6104 (augmentList): Implemented. Added Javadoc.
6105 (getFocusedComponent): Added javadoc.
6107 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6109 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6110 getAccessibleContext): Implement.
6111 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6112 getAccessibleContext): Implement.
6114 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6116 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6118 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6120 * java/awt/Window.java (getAccessibleContext): Fix comment.
6121 Remove extra import.
6123 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6125 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6126 (isActive, isFocused, getAccessibleContext): Implement.
6128 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6130 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6131 * java/awt/MenuComponent.java (accessibleContext): Make package
6133 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6134 AccessibleAWTCheckboxMenuItem): Implement.
6136 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6138 * java/awt/List.java: Implement AccessibleAWTList,
6139 AccessibleAWTListChild.
6141 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6143 * java/awt/Choice.java: Add implements declaration for
6146 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6148 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6151 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6153 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6154 implemented interface list.
6156 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6158 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6159 * javax/imageio/metadata/IIOAttr.java: New class.
6160 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6161 * javax/imageio/metadata/IIONodeList.java: New class.
6162 * Makefile.am: Added new files.
6163 * Makefile.in: Regenerated.
6165 2005-02-15 Michael Koch <konqueror@gmx.de>
6167 * javax/swing/AbstractAction.java,
6168 javax/swing/AbstractCellEditor.java,
6169 javax/swing/AbstractListModel.java,
6170 javax/swing/DefaultBoundedRangeModel.java,
6171 javax/swing/DefaultButtonModel.java,
6172 javax/swing/DefaultCellEditor.java,
6173 javax/swing/DefaultComboBoxModel.java,
6174 javax/swing/DefaultDesktopManager.java,
6175 javax/swing/JMenu.java,
6176 javax/swing/JSlider.java,
6177 javax/swing/KeyStroke.java,
6178 javax/swing/OverlayLayout.java,
6179 javax/swing/ScrollPaneLayout.java,
6180 javax/swing/SizeRequirements.java,
6181 javax/swing/ViewportLayout.java:
6182 Made serialVersionUID private.
6184 2005-02-15 Michael Koch <konqueror@gmx.de>
6186 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6189 2005-02-15 Michael Koch <konqueror@gmx.de>
6191 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6193 2005-02-15 Michael Koch <konqueror@gmx.de>
6195 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6197 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6199 * java/awt/EventDispatchThread.java,
6200 java/awt/Toolkit.java:
6201 Don't catch java.lang.ThreadDeath.
6203 2005-02-15 Michael Koch <konqueror@gmx.de>
6205 * javax/swing/text/PasswordView.java
6206 (drawEchoCharacter): Added javadoc.
6207 (drawSelectedText): Likewise.
6208 (drawUnselectedText): Likewise.
6210 2005-02-15 Michael Koch <konqueror@gmx.de>
6212 * javax/swing/JRootPane.java
6213 (windowDecorationStyle): New field.
6214 (setMenuBar): New method.
6215 (getMenuBar): Likewise.
6216 (getWindowDecorationStyle): Likewise.
6217 (setWindowDecorationStyle): Likewise.
6219 2005-02-15 Michael Koch <konqueror@gmx.de>
6221 * javax/swing/DefaultListSelectionModel.java
6222 (leadAnchorNotificationEnabled): Made protected.
6224 2005-02-15 Michael Koch <konqueror@gmx.de>
6226 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6227 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6228 * Makefile.in: Regenerated.
6231 2005-02-15 Michael Koch <konqueror@gmx.de>
6233 * javax/swing/JFormattedTextField.java: Implemented.
6234 * javax/swing/JWindow.java
6235 (JWindow): New constructors.
6236 (initWindow): Renamed from initFrame.
6237 * javax/swing/UIDefaults.java
6238 (ActiveValue): Made interface static.
6239 (LazyValue): Likewise.
6240 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6241 (TitlePaneLayout.TitlePaneLayout): New constructor.
6242 * javax/swing/plaf/basic/BasicSliderUI.java
6243 (ChangeHandler): Made public.
6244 (FocusHandler): Likewise.
6245 (PropertyChangeHandler): Likewise.
6246 (ScrollListener): Likewise.
6247 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6248 (FocusHandler): Likewise.
6249 (MouseHandler): Likewise.
6250 * javax/swing/plaf/basic/BasicTextPaneUI.java
6251 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6252 * javax/swing/plaf/basic/BasicToolBarUI.java
6253 (BasicToolBarUI): Simplified. Reworked javadoc.
6254 (canDock): Simplified. Make public.
6255 (DockingListener): Made public.
6256 * javax/swing/text/JTextComponent.java
6257 (navigationFilter): New field.
6258 (getNavigationFilter): New method.
6259 (setNavigationFilter): Likewise.
6261 2005-02-15 Michael Koch <konqueror@gmx.de>
6263 * javax/swing/plaf/metal/MetalTheme.java
6264 (getControlTextColor): Return getControlInfo().
6265 (getHighlightedTextColor): Return getControlTextColor().
6267 2005-02-15 Michael Koch <konqueror@gmx.de>
6269 * javax/swing/plaf/basic/BasicButtonListener.java
6270 (BasicButtonListener): New constructor.
6271 * javax/swing/plaf/basic/BasicButtonUI.java
6272 (createButtonListener): Usw new BasicButtonListener constructor.
6274 2005-02-15 Michael Koch <konqueror@gmx.de>
6276 * javax/imageio/event/package.html,
6277 javax/imageio/metadata/package.html: New files.
6279 2005-02-15 Michael Koch <konqueror@gmx.de>
6281 * java/awt/image/MemoryImageSource.java: Reformatted.
6283 2005-02-15 Michael Koch <konqueror@gmx.de>
6285 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6287 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6289 * java/awt/color/ICC_Profile.java
6290 (finalize): Removed pointless field assignments.
6292 2005-02-15 Michael Koch <konqueror@gmx.de>
6294 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6295 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6296 * Makefile.in: Regenerated.
6298 2005-02-15 Michael Koch <konqueror@gmx.de>
6300 * javax/swing/text/DefaultStyledDocument.java: New file.
6301 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6302 * Makefile.in: Regenerated.
6304 2005-02-15 Michael Koch <konqueror@gmx.de>
6306 * javax/swing/JFileChooser.java
6307 (showDialog): Return CANCEL_OPTION for now.
6308 (showOpenDialog): Likewise.
6309 (showSaveDialog): Likewise.
6311 2005-02-15 Michael Koch <konqueror@gmx.de>
6313 * javax/swing/JApplet.java
6314 (HIDE_ON_CLOSE): Removed.
6315 (EXIT_ON_CLOSE): Likewise.
6316 (DISPOSE_ON_CLOSE): Likewise.
6317 (DO_NOTHING_ON_CLOSE): Likewise.
6318 (close_action): Likewise.
6319 (getDefaultCloseOperation): Likewise.
6320 (setDefaultCloseOperation): Likewise.
6321 (processWindowEvent): Likewise.
6322 (getPreferredSize): Simplified.
6323 * javax/swing/JInternalFrame.java
6324 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6326 * javax/swing/JWindow.java
6327 (HIDE_ON_CLOSE): Removed.
6328 (EXIT_ON_CLOSE): Likewise.
6329 (DISPOSE_ON_CLOSE): Likewise.
6330 (DO_NOTHING_ON_CLOSE): Likewise.
6331 (close_action): Likewise.
6332 (processKeyEvent): Likewise.
6333 (setDefaultCloseOperation): Likewise.
6334 (getPreferredSize): Simplified.
6336 2005-02-15 Michael Koch <konqueror@gmx.de>
6338 * javax/swing/JTextField.java
6339 (getPreferredSize): Re-implemented.
6341 2005-02-15 Michael Koch <konqueror@gmx.de>
6343 * javax/swing/JLabel.java
6344 (setDisplayedMnemonic): Use only upper case characters.
6345 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6346 PropertyChangeEvent after property got set to the new index.
6348 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6350 * javax/swing/JComboBox.java:
6351 (JComboBox): Removed selection of the
6352 first item in the model.
6354 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6356 * javax/swing/JComboBox.java
6357 added support for no item being selected
6358 (JComboBox): select first or nothing depending on element count
6359 (setModel): cleaned up unneeded "this." usage, added more
6360 docs, made exception behavior match that of the JDK
6361 (setLighWeightPopupEnabled): removed unneeded "this." usage
6363 (setMaximumRowCount): dito
6365 (setPrototypeDisplayValue): dito
6366 (getSelectedItem): simplified, added more user doc
6367 (setSelectedIndex): corrected exception behavior, added more user doc
6368 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6369 added performance warning to user doc
6370 (addItem): fixed exception behavior, added user doc
6371 (insertItemAt): dito
6373 (removeItemAt): dito
6374 (removeAll): fixed exception behavior, added user doc, added support
6375 for model not being instance of DefaultComboBoxModel
6376 (getSelectedItemObjects): simplified
6377 (getItemCount): fixed dependency on DefaultComboBoxModel
6378 (getItemAt): fixed dependency on MutableComboBoxModel
6379 * javax/swing/DefaultComboBoxModel.java:
6380 (setSelectedItem): updates selected item only if new
6381 value is null or known (match JDK behavior)
6382 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6383 (paintCurrentValue): renders "" if no item is selected
6385 2005-02-15 Michael Koch <konqueror@gmx.de>
6387 * javax/swing/plaf/metal/MetalTheme.java,
6388 javax/swing/plaf/metal/DefaultMetalTheme.java:
6390 * javax/swing/plaf/metal/MetalLookAndFeel.java
6391 * Makefile.am: Added the new files.
6392 * Makefile.in: Regenerated.
6394 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6396 * javax/swing/JTable.java
6397 (editorComp): New field.
6398 (JTable): Initialize local variables and call updateUI
6399 (selectionBackground): Make protected.
6400 (selectionForeground): Likewise.
6401 (initializeLocalVars): Create default editors and renderers,
6402 initialize editingColumn, editingRow variables.
6403 (createDefaultEditors): New Method.
6404 (createDefaultRenderers): Likewise.
6405 (createDefaultListSelectionModel): Removed
6406 (createDefaultSelectionModel): New Method.
6407 (createDefaultTableHeader): Likewise
6408 (removeColumn): Likewise.
6409 (getEditingColumn): Likewise.
6410 (setEditingColumn): Likewise.
6411 (getEditingRow): Likewise.
6412 (setEditingRow): Likewise.
6413 (getEditorComponent): Likewise.
6414 (isEditing): Likewise.
6415 (setDefaultEditor): Likewise.
6416 (addColumnSelectionInterval): Likewise.
6417 (addRowSelectionInterval): Likewise.
6418 (setColumnSelectionInterval): Likewise.
6419 (setRowSelectionInterval): Likewise.
6420 (removeColumnSelectionInterval): Likewise.
6421 (removeRowSelectionInterval): Likewise.
6422 (isColumnSelected): Likewise.
6423 (isRowSelected): Likewise.
6424 (isCellSelected): Likewise.
6425 (selectAll): Likewise.
6427 2005-02-15 Michael Koch <konqueror@gmx.de>
6429 * javax/swing/JTable.java
6430 (addColumn): New method.
6431 (getColumnClass): Likewise.
6432 (getColumnName): Likewise.
6434 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6436 * javax/swing/TransferHandler.java
6437 (createTransferable): Made protected.
6439 2005-02-15 Michael Koch <konqueror@gmx.de>
6441 * javax/swing/JTable.java,
6442 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6443 javax/swing/plaf/basic/BasicTableUI.java:
6444 Use fixed get/setIntercellSpacing() methods.
6446 2005-02-15 Michael Koch <konqueror@gmx.de>
6448 * javax/swing/JTable.java
6449 (getIntercellSpacing): Fixed typo in method name.
6450 (setIntercellSpacing): Likewise.
6452 2005-02-15 Michael Koch <konqueror@gmx.de>
6454 * javax/swing/text/JTextComponent.java
6455 (focusAccelerator): New variable.
6456 (getFocusAccelerator): New method.
6457 (setFocusAccelerator): Likewise.
6459 2005-02-15 Michael Koch <konqueror@gmx.de>
6461 * javax/swing/JComponent.java
6462 (setTransferHandler): Made public. Fire property change event.
6463 * javax/swing/TransferHandler.java: Implemented.
6464 * javax/swing/text/JTextComponent.java
6465 (DefaultTransferHandler): New inner class.
6466 (defaultTransferHandler): New variable.
6470 (doTransferAction): Likewise.
6472 2005-02-15 Michael Koch <konqueror@gmx.de>
6474 * javax/swing/JTree.java
6475 (collapsePath): New method.
6476 (collapseRow): Likewise.
6477 (expandPath): Likewise.
6478 (expandRow): Likewise.
6479 (checkExpandParents): Likewise.
6480 (doExpandParents): Likewise.
6481 (setExpandedState): Likewise.
6482 (makeVisible): Likewise.
6484 2005-02-15 Michael Koch <konqueror@gmx.de>
6486 * javax/swing/JPasswordField.java: Updated javadocs.
6488 2005-02-15 Michael Koch <konqueror@gmx.de>
6490 * javax/swing/JLayeredPane.java
6491 (getLayer): Fixed return type, made public.
6492 (getPosition): Use new getLayer().
6493 (SetPosition): Likewise.
6494 (getIndexOf): Likewise.
6496 * javax/swing/JInternalFrame.java
6497 (getLayer): Use new JLayeredPane.getLayer().
6500 2005-02-15 Michael Koch <konqueror@gmx.de>
6502 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6503 (setHeaderValue): Simplified. Do nothing when old value == new value.
6505 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6507 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6508 against null clip region.
6509 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6510 gtkWindowSetResizable.
6511 (postConfigureEvent): Only revalidate if frame size has changed.
6512 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6513 Only revalidate if frame size has changed.
6514 * java/awt/Component.java (reshape): Only repaint and post
6515 component events if component is showing.
6516 * java/awt/Container.java (addImpl): Only post container event if
6517 container is showing.
6519 * java/awt/Window.java (setLocationRelativeTo): Implement.
6520 (setBoundsCallback): Only post component events if component is
6522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6523 Protect against null graphics structure. Flush gdk event queue.
6525 2005-02-15 Michael Koch <konqueror@gmx.de>
6527 * javax/imageio/ImageReader.java,
6528 javax/imageio/ImageTranscoder.java,
6529 javax/imageio/ImageWriter.java,
6530 javax/imageio/spi/ImageInputStreamSpi.java,
6531 javax/imageio/spi/ImageOutputStreamSpi.java,
6532 javax/imageio/spi/ServiceRegistry.java,
6533 javax/imageio/stream/ImageInputStream.java,
6534 javax/imageio/stream/ImageOutputStream.java: Updated.
6535 * javax/imageio/IIOException.java,
6536 javax/imageio/IIOImage.java,
6537 javax/imageio/IIOParam.java,
6538 javax/imageio/IIOParamController.java,
6539 javax/imageio/ImageIO.java,
6540 javax/imageio/ImageReadParam.java,
6541 javax/imageio/ImageTypeSpecifier.java,
6542 javax/imageio/ImageWriteParam.java,
6543 javax/imageio/spi/IIORegistry.java,
6544 javax/imageio/spi/ImageReaderSpi.java,
6545 javax/imageio/spi/ImageWriterSpi.java,
6546 javax/imageio/stream/FileCacheImageInputStream.java,
6547 javax/imageio/stream/FileCacheImageOutputStream.java,
6548 javax/imageio/stream/FileImageInputStream.java,
6549 javax/imageio/stream/FileImageOutputStream.java,
6550 javax/imageio/stream/ImageInputStreamImpl.java,
6551 javax/imageio/stream/ImageOutputStreamImpl.java,
6552 javax/imageio/stream/MemoryCacheImageInputStream.java,
6553 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6554 javax/imageio/event/IIOReadProgressListener.java,
6555 javax/imageio/event/IIOReadUpdateListener.java,
6556 javax/imageio/event/IIOReadWarningListener.java,
6557 javax/imageio/event/IIOWriteProgressListener.java,
6558 javax/imageio/event/IIOWriteWarningListener.java,
6559 javax/imageio/metadata/IIOMetadata.java,
6560 javax/imageio/metadata/IIOMetadataController.java,
6561 javax/imageio/metadata/IIOMetadataFormat.java,
6562 javax/imageio/metadata/IIOInvalidTreeException.java,
6563 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6564 javax/imageio/metadata/IIOMetadataNode.java: New files.
6565 * Makefile.am (javax_source_files): Added new files
6566 * Makefile.in: Regenerated.
6568 2005-02-15 Graydon Hoare <graydon@redhat.com>
6570 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6571 Rework painting into BufferedImages
6572 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6573 Construct BufferedImage with alpha only when alpha is
6574 present in colormodel.
6575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6576 Rework painting into client-side jint arrays.
6577 * jni/gtk-peer/gtkcairopeer.h:
6580 2005-02-15 Michael Koch <konqueror@gmx.de>
6582 * javax/swing/DefaultListCellRenderer.java
6583 (serialVersionUID): Made private.
6584 (getListCellRendererComponent): Set horizontal alignment.
6585 * javax/swing/JLabel.java
6586 (setVerticalAlignment): Re-implemented.
6587 (setHorizontalAlignment): Do nothing if old value = new value.
6588 * javax/swing/JList.java
6589 (setCellRenderer): Likewise.
6590 (setModel): Re-implemented.
6591 (setSelectionModel): Likewise.
6593 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6595 * java/awt/Component.java,
6596 java/awt/geom/Rectangle2D.java:
6599 2005-02-15 Michael Koch <konqueror@gmx.de>
6601 * javax/swing/AbstractListModel.java
6602 (fireContentsChanged): Simplified.
6603 (fireIntervalAdded): Likewise.
6604 (fireIntervalRemoved): Likewise.
6605 * javax/swing/DefaultSingleSelectionModel.java:
6607 (fireStateChanged): Simplified.
6608 * javax/swing/JPopupMenu.java
6609 (setSelectionModel): Set property.
6611 2005-02-15 Michael Koch <konqueror@gmx.de>
6613 * java/awt/print/Book.java: Reformatted.
6615 2005-02-15 Michael Koch <konqueror@gmx.de>
6617 * java/awt/geom/Area.java
6618 (QuadSegment.curveArea): Remove unused variables.
6619 (CubicSegment.curveArea): Likewise.
6621 2005-02-15 Michael Koch <konqueror@gmx.de>
6623 * javax/swing/JTree.java
6624 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6625 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6626 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6627 (EXPANDED): New constant.
6628 (COLLAPSED): Likewise.
6629 (nodeStates): New field.
6630 (cellEditor): New method.
6631 (cellRenderer): Likewise.
6632 (selectionModel): Likewise.
6633 (treeModel): Likewise.
6634 (scrollPathToVisible): Likewise.
6635 (scrollRowToVisible): Likewise.
6636 (isCollapsed): Likewise.
6637 (isExpanded): Likewise.
6638 (clearToggledPaths): Likewise.
6639 (getDescendantToggledPaths): Likewise.
6640 (hasBeenExpanded): Likewise.
6641 (isVisible): Likewise.
6642 (isPathEditable): Likewise.
6644 2005-02-15 Michael Koch <konqueror@gmx.de>
6646 * javax/swing/JLayeredPane.java: Reformatted.
6648 2005-02-15 Michael Koch <konqueror@gmx.de>
6650 * javax/swing/tree/DefaultMutableTreeNode.java:
6652 * javax/swing/tree/MutableTreeNode.java:
6655 2005-02-15 Michael Koch <konqueror@gmx.de>
6657 * javax/swing/JFormattedTextField.java
6658 (setDocument): Call setDocument of super class. Don't fire property
6661 2005-02-15 Sven de Marothy <sven@physto.se>
6663 * java/awt/image/IndexColorModel.java:
6664 Add FIXME with respect to alpha handling.
6665 (getAlpha): Default to returning opaque pixels.
6666 * java/awt/image/MultiPixelPackedSampleModel.java
6667 (MultiPixelPackedSampleModel): Corrected parameters, order of
6668 bit shifts and masks, stride length off by one.
6670 2005-02-15 Michael Koch <konqueror@gmx.de>
6672 * javax/swing/JList.java, javax/swing/JTree.java:
6673 Added much new methods and fixed much methods setting bound properties.
6675 2005-02-16 Mark Wielaard <mark@klomp.org>
6677 * Makefile.am (gnu_xml_source_files): Removed
6678 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6679 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6680 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6681 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6682 gnu/xml/dom/DomDocumentFragment.java,
6683 gnu/xml/dom/DomProcessingInstruction.java and
6684 gnu/xml/dom/ls/DomLSException.java.
6685 * Makefile.in: Regenerated.
6687 2005-02-16 Tom Tromey <tromey@redhat.com>
6689 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6690 attribute index is out of bounds.
6692 2005-02-16 Chris Burdess <dog@gnu.org>
6694 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6695 isDeclared methods. Improved performance of isSpecified methods.
6697 2005-02-16 Chris Burdess <dog@gnu.org>
6699 Fixes bug libgcj/19864
6700 * gnu/xml/dom/DomAttr.java,
6701 gnu/xml/dom/DomCDATA.java,
6702 gnu/xml/dom/DomCDATASection.java,
6703 gnu/xml/dom/DomCharacterData.java,
6704 gnu/xml/dom/DomDOMException.java,
6705 gnu/xml/dom/DomDoctype.java,
6706 gnu/xml/dom/DomDocument.java,
6707 gnu/xml/dom/DomDocumentConfiguration.java,
6708 gnu/xml/dom/DomDocumentFragment.java,
6709 gnu/xml/dom/DomElement.java,
6710 gnu/xml/dom/DomEx.java,
6711 gnu/xml/dom/DomFragment.java,
6712 gnu/xml/dom/DomImpl.java,
6713 gnu/xml/dom/DomIterator.java,
6714 gnu/xml/dom/DomNamedNodeMap.java,
6715 gnu/xml/dom/DomNode.java,
6716 gnu/xml/dom/DomNsNode.java,
6717 gnu/xml/dom/DomPI.java,
6718 gnu/xml/dom/DomProcessingInstruction.java,
6719 gnu/xml/dom/DomText.java,
6720 gnu/xml/dom/DomLSEx.java,
6721 gnu/xml/dom/DomLSException.java,
6722 gnu/xml/dom/DomLSParser.java,
6723 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6724 implementation class names to conform to Classpath guidelines. Make
6725 DomLSException use JDK 1.4+ exception chaining.
6726 * gnu/xml/util/SAXNullTransformerFactory.java,
6727 gnu/xml/xpath/Predicate.java: Use constants relative to
6728 declaring class or interface.
6730 2005-02-16 Andrew Haley <aph@redhat.com>
6732 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6733 null, create a new AccessControlContext.
6734 * java/security/SecureClassLoader.java (protectionDomainCache):
6736 (defineClass): Create a new protection domain and add it to our
6739 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6740 addStub() to keep track of the stub we've exported.
6741 (unexportObject): Call deleteStub().
6742 * java/rmi/server/RemoteObject.java (stubs): New field.
6743 (addStub): New method.
6744 (deleteStub): New method.
6747 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6748 true to findHelper (tryParents).
6749 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6751 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6752 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6754 If tryParents is false, don't scan parent class loaders.
6756 * java/security/Permissions.java (PermissionsHash.implies):
6757 Iterate over the collection and invoke implies() on each
6760 2005-02-16 Andrew Haley <aph@redhat.com>
6762 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6764 (PersistentByteMap): Set name
6765 Magic number changed to 0x67636a64 ("gcjd").
6766 (init): Force the map to be prime.
6767 (emptyPersistentByteMap): File name was a string, now a File.
6768 (addBytes): Share srings between entries.
6769 (stringTableSize): New method.
6770 (capacity): Scale by load factor.
6771 (force): New method.
6772 (getFile): New method.
6773 (close): New method.
6774 (putAll): New method.
6775 (ByteWrapper): New class.
6776 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6777 (main): Guess the average string size as 32, not 64.
6778 Copy a database before modifying it, so that we can update a
6779 database in a running system.
6780 If a database isn't big enough, resize it.
6781 "-m": new option: merges databases.
6782 "-a": Create a new detabase if it doesn't exist.
6783 (usage): Correct, add new option.
6784 (addJar): Copy a database before modifying it.
6785 (resizeMap): New method.
6787 2005-02-15 David Daney <ddaney@avtrex.com>
6788 Bryce McKinlay <mckinlay@redhat.com>
6790 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6791 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6792 ensure that GC threads inherit the new signal mask.
6793 (block_sigchld): Call JvFail rather than throwing exception if
6794 pthread_sigmask() fails.
6796 2005-02-15 Mark Wielaard <mark@klomp.org>
6798 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6799 file path elements are separated by spaces.
6801 2005-02-15 Mark Wielaard <mark@klomp.org>
6803 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6804 to describe attributes without a constant field value in this class.
6806 2005-02-15 Michael Koch <konqueror@gmx.de>
6808 * java/util/jar/Attributes.java
6809 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6811 2005-02-15 Mark Wielaard <mark@klomp.org>
6813 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6814 space for parsing CLASS_PATH attribute.
6816 2005-02-15 Mark Wielaard <mark@klomp.org>
6818 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6819 aside for "GCJLIBS" in directory where jarfiles are loaded.
6820 (JarURLLoader.getClass): Removed method.
6821 (JarURLLoader.toString): Removed method.
6822 (FileResource.toString): Removed method.
6824 2005-02-15 Mark Wielaard <mark@klomp.org>
6826 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6827 and/or cause before throwing.
6829 2005-02-15 Richard Henderson <rth@redhat.com>
6831 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6832 (libgcj0_convenience_la_SOURCES): ... here.
6833 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6834 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6835 * Makefile.in: Regenerate.
6837 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6840 * include/jawt.h: Likewise.
6841 * include/jawt_md.h: Likewise.
6842 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6844 * include/Makefile.in: Regenerate.
6845 * jni/classpath/classpath_jawt.h: Likewise.
6846 * jni/gtk-peer/gtk_jawt.c: Likewise.
6847 * Makefile.am: Build libjawt.so.
6848 * Makefile.in: Regenerate.
6850 2005-02-14 Tom Tromey <tromey@redhat.com>
6852 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6854 2005-02-14 Tom Tromey <tromey@redhat.com>
6856 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6857 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6859 2005-02-14 Tom Tromey <tromey@redhat.com>
6862 * testsuite/libjava.lang/PR19929.out: New file.
6863 * testsuite/libjava.lang/PR19929.java: New file.
6865 2005-02-14 Anthony Green <green@redhat.com>
6868 * testsuite/libjava.jni/PR18116.c: New file.
6869 * testsuite/libjava.jni/PR18116.java: New file.
6870 * testsuite/libjava.jni/PR18116.out: New file.
6872 2005-02-13 Anthony Green <green@redhat.com>
6875 * jni.cc (nathash_add): Don't strdup the method signature.
6876 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6880 2005-02-12 Mark Wielaard <mark@klomp.org>
6882 Fixes bug libgcj/8170
6883 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6884 ClassNotFoundException.
6885 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6886 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6887 (remove_internal): New field superceding remove_interpreter.
6888 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6889 Remove no-class methods starting with "_Jv_". And Replace null
6890 class or method names with the empty string. Stop at either the
6891 MainThread or a real Thread run() method.
6892 (newElement): Made static.
6893 * java/net/URLClassLoader.java (findClass): Throw
6894 ClassNotFoundExceptions including urls, plus parent using toString().
6895 (thisString): New field.
6896 (toString): New method.
6898 2005-02-10 Tom Tromey <tromey@redhat.com>
6900 * external/sax/Makefile.in: Rebuilt.
6901 * external/sax/Makefile.am (all-local): Removed.
6902 (BUILT_SOURCES): New variable.
6903 (mostlyclean-local): No error if no classes to delete.
6904 * external/w3c_dom/Makefile.in: Rebuilt.
6905 * external/w3c_dom/Makefile.am (all-local): Removed.
6906 (BUILT_SOURCES): New variable.
6907 (mostlyclean-local): No error if no classes to delete.
6909 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6911 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6912 of mauve and libjava.
6914 2005-02-09 Tom Tromey <tromey@redhat.com>
6916 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6917 jar file with OPEN_DELETE.
6918 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6919 OPEN_DELETE is used.
6921 2005-02-09 Tom Tromey <tromey@redhat.com>
6923 * java/util/zip/InflaterInputStream.java (markSupported):
6925 (mark, reset): Likewise.
6927 2005-02-08 Tom Tromey <tromey@redhat.com>
6929 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6930 name or port is missing.
6931 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6932 AUTHORITY_PORT_GROUP): Updated.
6934 2005-02-08 Tom Tromey <tromey@redhat.com>
6936 * configure: Rebuilt.
6937 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6940 2005-02-07 Tom Tromey <tromey@redhat.com>
6942 * java/lang/natRuntime.cc (insertSystemProperties): Set
6943 sun.boot.class.path earlier.
6945 2005-02-07 Tom Tromey <tromey@redhat.com>
6947 * defineclass.cc (handleClassBegin): Use
6948 _Jv_RegisterInitiatingLoader.
6949 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6950 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6951 class. Use _Jv_UnregisterInitiatingLoader.
6952 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6955 2005-02-07 Mark Wielaard <mark@klomp.org>
6957 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6958 java/util/regex/Matcher.java (lookingAt): Set position when match
6960 (matches): Implemented through lookingAt().
6962 2005-02-07 Mark Wielaard <mark@klomp.org>
6964 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6965 * java/util/regex/Pattern.java (split(CharSequence,int)):
6966 Fix while empties > 0 loops.
6968 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6970 * gnu/java/nio/charset/ISO_8859_1.java,
6971 gnu/java/nio/charset/US_ASCII.java,
6972 gnu/java/nio/charset/UTF_16.java,
6973 gnu/java/nio/charset/UTF_16_LE.java,
6974 gnu/java/nio/charset/UTF_16_BE.java,
6975 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6976 and aliases according to
6977 "http://www.iana.org/assignments/character-sets",
6978 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6979 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6980 * gnu/java/nio/charset/Provider.java: Made charset lookup
6981 case-insensitive which fixes bug #11740.
6983 2005-02-07 Tom Tromey <tromey@redhat.com>
6986 * Makefile.in: Rebuilt.
6987 * Makefile.am (src.zip): New target.
6988 (install-src.zip): Likewise.
6989 (sourcesdir): New variable.
6991 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6993 * javax/imageio/metadata/IIOMetadataNode.java:
6995 * javax/imageio/metadata/IIOAttr.java,
6996 javax/imageio/metadata/IIONamedNodeMap.java,
6997 javax/imageio/metadata/IIONodeList.java:
7000 2005-02-06 Graydon Hoare <graydon@redhat.com>
7002 * gnu/java/awt/ClasspathToolkit.java
7003 (registerImageIOSpis): New method.
7004 * javax/imageio/ImageIO.java
7005 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7006 (WriterMIMETypeFilter.filter): Likewise.
7007 (ImageReaderIterator): Pass extension argument through to SPI.
7008 (getReadersByFilter): Likewise.
7009 (getWritersByFilter): Likewise.
7010 (getImageReadersByFormatName): Likewise.
7011 (getImageReadersByMIMEType): Likewise.
7012 (getImageReadersBySuffix): Likewise.
7013 (getImageWritersByFormatName): Likewise.
7014 (getImageWritersByMIMEType): Likewise.
7015 (getImageWritersBySuffix): Likewise.
7018 * javax/imageio/ImageReader.java
7019 (progressListeners): Initialize.
7020 (setInput): Implement.
7021 * javax/imageio/ImageWriter.java
7022 (progressListeners): Initialize.
7023 (warningListeners): Likewise.
7024 (warningLocales): Likewise.
7025 (setOutput): Test "isInstance" rather than class equality.
7026 * javax/imageio/spi/IIORegistry.java
7027 (static): Add reader and writer SPIs.
7028 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7030 2005-02-06 Michael Koch <konqueror@gmx.de>
7032 * javax/imageio/metadata/IIOInvalidTreeException.java
7033 (IIOInvalidTreeException): Reformatted.
7034 * javax/imageio/spi/IIORegistry.java
7035 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7036 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7037 Reworked import statements.
7039 2005-02-06 Michael Koch <konqueror@gmx.de>
7041 * javax/imageio/stream/FileImageOutputStream.java:
7044 2005-02-06 Michael Koch <konqueror@gmx.de>
7046 * javax/imageio/stream/FileCacheImageInputStream.java,
7047 javax/imageio/stream/FileCacheImageOutputStream.java,
7048 javax/imageio/stream/FileImageInputStream.java,
7049 javax/imageio/stream/ImageInputStreamImpl.java,
7050 javax/imageio/stream/ImageOutputStreamImpl.java,
7051 javax/imageio/stream/MemoryCacheImageInputStream.java,
7052 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7053 Added all missing methods in javax.imageio.stream.
7055 2005-02-02 David Daney <ddaney@avtrex.com>
7057 * java/net/InetAddress.java (InetAddress): Make a private copy of
7059 * java/net/Inet4Address.java (getAddress): Return a copy of the
7061 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7063 (getAddress): Return a copy of the address.
7066 2005-02-02 Tom Tromey <tromey@redhat.com>
7068 * Makefile.in: Rebuilt.
7069 * Makefile.am (classes.stamp): New target, broken out from
7071 ($(all_java_class_files)): Depend on it.
7072 (libgcj-@gcc_version@.jar): Likewise.
7073 (all-recursive): Likewise.
7074 (CLEANFILES): Include classes.stamp.
7076 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7078 * link.cc: Include <stdio.h>
7080 2005-02-02 Tom Tromey <tromey@redhat.com>
7083 * Makefile.in: Rebuilt.
7084 * Makefile.am (ordinary_java_source_files): Added new class.
7085 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7086 Use system_instance, not instance.
7087 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7088 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7090 (system_instance): New field.
7091 (initialize): Initialize the system loader as well.
7092 (VMClassLoader): Default to LIB_CACHE.
7094 2005-02-02 Tom Tromey <tromey@redhat.com>
7096 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7097 * prims.cc: Fixed comment.
7099 2005-02-01 Tom Tromey <tromey@redhat.com>
7101 * Makefile.in: Rebuilt.
7102 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7103 (.java.class): Use BOOTCLASSPATH.
7105 2005-02-01 Tom Tromey <tromey@redhat.com>
7107 * external/w3c_dom/Makefile.am: New file.
7108 * external/w3c_dom/Makefile.in: New file.
7109 * external/sax/Makefile.am: New file.
7110 * external/sax/Makefile.in: New file.
7111 * external/Makefile.in: New file.
7112 * external/Makefile.am: New file.
7113 * external/README: New file from Classpath.
7114 * configure, aclocal.m4, Makefile.in: Rebuilt.
7115 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7116 * Makefile.am (SUBDIRS): Added external.
7117 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7118 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7119 (BOOTCLASSPATH): New variable.
7120 (AM_GCJFLAGS): Use it.
7121 (gnu_xml_source_files): New variable.
7122 (libgcj_la_SOURCES): Use it.
7123 (libgcj_la_LDADD): Include new convenience libraries.
7124 (lib_org_ietf_jgss_la_SOURCES): Removed.
7125 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7126 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7127 (lib_org_w3c_dom_la_SOURCES): Removed.
7128 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7129 (lib_org_w3c_dom_la_LIBADD): Likewise.
7130 (lib_org_xml_sax_la_SOURCES): Removed.
7131 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7132 (lib_org_xml_sax_la_LIBADD): Likewise.
7133 (all_java_source_files): Updated.
7134 (property_files): Likewise.
7135 (libgcj-@gcc_version@.jar): Include classes from external/.
7136 (javax_source_files): Updated.
7137 (ordinary_java_source_files): Updated.
7138 * javax/xml/XMLConstants.java,
7139 javax/xml/datatype/DatatypeConfigurationException.java,
7140 javax/xml/datatype/DatatypeConstants.java,
7141 javax/xml/datatype/DatatypeFactory.java,
7142 javax/xml/datatype/Duration.java,
7143 javax/xml/datatype/XMLGregorianCalendar.java,
7144 javax/xml/datatype/package.html,
7145 javax/xml/namespace/NamespaceContext.java,
7146 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7147 javax/xml/parsers/DocumentBuilder.java,
7148 javax/xml/parsers/DocumentBuilderFactory.java,
7149 javax/xml/parsers/FactoryConfigurationError.java,
7150 javax/xml/parsers/ParserConfigurationException.java,
7151 javax/xml/parsers/SAXParser.java,
7152 javax/xml/parsers/SAXParserFactory.java,
7153 javax/xml/parsers/package.html,
7154 javax/xml/transform/ErrorListener.java,
7155 javax/xml/transform/OutputKeys.java,
7156 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7157 javax/xml/transform/SourceLocator.java,
7158 javax/xml/transform/Templates.java,
7159 javax/xml/transform/Transformer.java,
7160 javax/xml/transform/TransformerConfigurationException.java,
7161 javax/xml/transform/TransformerException.java,
7162 javax/xml/transform/TransformerFactory.java,
7163 javax/xml/transform/TransformerFactoryConfigurationError.java,
7164 javax/xml/transform/URIResolver.java,
7165 javax/xml/transform/package.html,
7166 javax/xml/transform/dom/DOMLocator.java,
7167 javax/xml/transform/dom/DOMResult.java,
7168 javax/xml/transform/dom/DOMSource.java,
7169 javax/xml/transform/dom/package.html,
7170 javax/xml/transform/sax/SAXResult.java,
7171 javax/xml/transform/sax/SAXSource.java,
7172 javax/xml/transform/sax/SAXTransformerFactory.java,
7173 javax/xml/transform/sax/TemplatesHandler.java,
7174 javax/xml/transform/sax/TransformerHandler.java,
7175 javax/xml/transform/sax/package.html,
7176 javax/xml/transform/stream/StreamResult.java,
7177 javax/xml/transform/stream/StreamSource.java,
7178 javax/xml/transform/stream/package.html,
7179 javax/xml/validation/Schema.java,
7180 javax/xml/validation/SchemaFactory.java,
7181 javax/xml/validation/TypeInfoProvider.java,
7182 javax/xml/validation/Validator.java,
7183 javax/xml/validation/ValidatorHandler.java,
7184 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7185 javax/xml/xpath/XPathConstants.java,
7186 javax/xml/xpath/XPathException.java,
7187 javax/xml/xpath/XPathExpression.java,
7188 javax/xml/xpath/XPathExpressionException.java,
7189 javax/xml/xpath/XPathFactory.java,
7190 javax/xml/xpath/XPathFactoryConfigurationException.java,
7191 javax/xml/xpath/XPathFunction.java,
7192 javax/xml/xpath/XPathFunctionException.java,
7193 javax/xml/xpath/XPathFunctionResolver.java,
7194 javax/xml/xpath/XPathVariableResolver.java,
7195 javax/xml/xpath/package.html: New files, from GNU JAXP.
7196 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7197 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7198 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7199 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7200 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7201 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7202 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7203 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7204 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7205 org/w3c/dom/ranges/DocumentRange.java,
7206 org/w3c/dom/ranges/Range.java,
7207 org/w3c/dom/ranges/RangeException.java,
7208 org/w3c/dom/traversal/DocumentTraversal.java,
7209 org/w3c/dom/traversal/NodeFilter.java,
7210 org/w3c/dom/traversal/NodeIterator.java,
7211 org/w3c/dom/traversal/TreeWalker.java,
7212 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7213 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7214 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7215 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7216 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7217 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7218 org/xml/sax/SAXNotRecognizedException.java,
7219 org/xml/sax/SAXNotSupportedException.java,
7220 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7221 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7222 org/xml/sax/ext/DeclHandler.java,
7223 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7224 org/xml/sax/helpers/AttributeListImpl.java,
7225 org/xml/sax/helpers/AttributesImpl.java,
7226 org/xml/sax/helpers/DefaultHandler.java,
7227 org/xml/sax/helpers/LocatorImpl.java,
7228 org/xml/sax/helpers/NamespaceSupport.java,
7229 org/xml/sax/helpers/NewInstance.java,
7230 org/xml/sax/helpers/ParserAdapter.java,
7231 org/xml/sax/helpers/ParserFactory.java,
7232 org/xml/sax/helpers/XMLFilterImpl.java,
7233 org/xml/sax/helpers/XMLReaderAdapter.java,
7234 org/xml/sax/helpers/XMLReaderFactory.java,
7235 org/xml/sax/helpers/package.html: Moved to external/.
7236 * external/sax/README,
7237 external/sax/org/xml/sax/AttributeList.java,
7238 external/sax/org/xml/sax/Attributes.java,
7239 external/sax/org/xml/sax/ContentHandler.java,
7240 external/sax/org/xml/sax/DTDHandler.java,
7241 external/sax/org/xml/sax/DocumentHandler.java,
7242 external/sax/org/xml/sax/EntityResolver.java,
7243 external/sax/org/xml/sax/ErrorHandler.java,
7244 external/sax/org/xml/sax/HandlerBase.java,
7245 external/sax/org/xml/sax/InputSource.java,
7246 external/sax/org/xml/sax/Locator.java,
7247 external/sax/org/xml/sax/Parser.java,
7248 external/sax/org/xml/sax/SAXException.java,
7249 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7250 external/sax/org/xml/sax/SAXNotSupportedException.java,
7251 external/sax/org/xml/sax/SAXParseException.java,
7252 external/sax/org/xml/sax/XMLFilter.java,
7253 external/sax/org/xml/sax/XMLReader.java,
7254 external/sax/org/xml/sax/package.html,
7255 external/sax/org/xml/sax/ext/Attributes2.java,
7256 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7257 external/sax/org/xml/sax/ext/DeclHandler.java,
7258 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7259 external/sax/org/xml/sax/ext/EntityResolver2.java,
7260 external/sax/org/xml/sax/ext/LexicalHandler.java,
7261 external/sax/org/xml/sax/ext/Locator2.java,
7262 external/sax/org/xml/sax/ext/Locator2Impl.java,
7263 external/sax/org/xml/sax/ext/package.html,
7264 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7265 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7266 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7267 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7268 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7269 external/sax/org/xml/sax/helpers/NewInstance.java,
7270 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7271 external/sax/org/xml/sax/helpers/ParserFactory.java,
7272 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7273 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7274 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7275 external/sax/org/xml/sax/helpers/package.html,
7276 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7277 external/w3c_dom/org/w3c/dom/Attr.java,
7278 external/w3c_dom/org/w3c/dom/CDATASection.java,
7279 external/w3c_dom/org/w3c/dom/CharacterData.java,
7280 external/w3c_dom/org/w3c/dom/Comment.java,
7281 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7282 external/w3c_dom/org/w3c/dom/DOMError.java,
7283 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7284 external/w3c_dom/org/w3c/dom/DOMException.java,
7285 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7286 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7287 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7288 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7289 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7290 external/w3c_dom/org/w3c/dom/Document.java,
7291 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7292 external/w3c_dom/org/w3c/dom/DocumentType.java,
7293 external/w3c_dom/org/w3c/dom/Element.java,
7294 external/w3c_dom/org/w3c/dom/Entity.java,
7295 external/w3c_dom/org/w3c/dom/EntityReference.java,
7296 external/w3c_dom/org/w3c/dom/NameList.java,
7297 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7298 external/w3c_dom/org/w3c/dom/Node.java,
7299 external/w3c_dom/org/w3c/dom/NodeList.java,
7300 external/w3c_dom/org/w3c/dom/Notation.java,
7301 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7302 external/w3c_dom/org/w3c/dom/Text.java,
7303 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7304 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7305 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7306 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7307 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7308 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7309 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7310 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7311 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7312 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7313 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7314 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7315 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7316 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7317 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7318 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7319 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7320 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7321 external/w3c_dom/org/w3c/dom/css/Counter.java,
7322 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7323 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7324 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7325 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7326 external/w3c_dom/org/w3c/dom/css/Rect.java,
7327 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7328 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7329 external/w3c_dom/org/w3c/dom/events/Event.java,
7330 external/w3c_dom/org/w3c/dom/events/EventException.java,
7331 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7332 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7333 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7334 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7335 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7336 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7337 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7338 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7339 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7340 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7341 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7342 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7343 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7344 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7345 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7346 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7347 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7348 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7349 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7350 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7351 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7352 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7353 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7354 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7355 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7356 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7357 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7358 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7359 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7360 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7361 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7362 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7363 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7364 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7365 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7366 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7367 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7368 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7369 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7370 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7371 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7372 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7373 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7374 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7375 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7376 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7377 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7378 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7379 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7380 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7381 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7382 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7383 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7384 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7385 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7386 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7387 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7388 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7389 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7390 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7391 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7392 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7393 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7394 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7395 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7396 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7397 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7398 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7399 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7400 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7401 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7402 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7403 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7404 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7405 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7406 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7407 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7408 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7409 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7410 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7411 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7412 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7413 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7414 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7415 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7416 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7417 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7418 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7419 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7420 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7421 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7422 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7425 2005-01-31 Anthony Green <green@redhat.com>
7427 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7428 Support IP_MULTICAST_LOOP.
7429 (setOption): Support IP_MULTICAST_LOOP.
7431 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7432 SO_REUSEADDR support.
7433 (getOption): Support SO_REUSEADDR.
7435 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7438 * java/util/Date.java
7439 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7441 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7443 (getTimezoneOffset): Inverted sign.
7445 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7447 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7448 remove other passing tests and add new XFAILs.
7450 2005-01-24 Tom Tromey <tromey@redhat.com>
7452 * java/lang/Class.h (next): Updated documentation. Renamed to
7454 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7455 _Jv_CheckABIVersion.
7456 (_Jv_RegisterClasses_Counted): Likewise.
7457 (_Jv_RegisterClassHookDefault): Fix starting condition of
7458 duplicate-checking loop.
7459 * include/jvm.h (GCJ_VERSION): New define.
7460 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7461 (_Jv_CheckABIVersion): New function.
7463 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7465 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7466 (libgij_la_LDFLAGS): Add.
7467 * Makefile.in: Rebuilt.
7469 2005-01-24 Roger Sayle <roger@eyesopen.com>
7472 * testsuite/libjava.compile/PR19295.java: New test case.
7474 2005-01-19 Tom Tromey <tromey@redhat.com>
7476 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7477 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7478 if 'handler' is valid.
7480 2005-01-17 Tom Tromey <tromey@redhat.com>
7482 * java/text/MessageFormat.java (scanString): Changed how quoting
7484 (scanFormatElement): Likewise.
7486 2004-12-07 Mark Wielaard <mark@klomp.org>
7488 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7490 2005-01-15 Michael Koch <konqueror@gmx.de>
7494 (AUTHORITY_REGEXP): New regexp constant.
7495 (AUTHORITY_USERINFO_GROUP): New constant.
7496 (AUTHORITY_HOST_GROUP): Likewise.
7497 (AUTHORITY_PORT_GROUP): Likewise.
7498 (port): Changed default value to -1.
7499 (parseURI): Parse authority part and initialize host,
7502 2005-01-14 Robin Green <greenrd@greenrd.org>
7504 * java/io/File.java (toURI): Generate a URI which we understand.
7506 2005-01-13 Graydon Hoare <graydon@redhat.com>
7508 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7509 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7510 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7511 * jni.cc: Reuse bottom frame between calls, avoid clearing
7512 frame when no local references are made.
7514 2005-01-13 Michael Koch <konqueror@gmx.de>
7517 * java/lang/Thread.java
7518 (Thread): Call checkAccess().
7519 (stop): Fixed argument name to match javadoc.
7520 * java/lang/natThread.cc
7521 (interrupt): Call checkAccess().
7524 2005-01-11 Michael Koch <konqueror@gmx.de>
7527 * java/net/URL.java (URL): Handle specs like
7528 "/redir?http://domain2.com/index.html" which start with a slash.
7530 2005-01-11 Michael Koch <konqueror@gmx.de>
7532 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7533 * gnu/java/net/BASE64.java,
7534 gnu/java/net/EmptyX509TrustManager.java,
7535 gnu/java/net/LineInputStream.java,
7536 gnu/java/net/protocol/http/Authenticator.java,
7537 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7538 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7539 gnu/java/net/protocol/http/ChunkedInputStream.java,
7540 gnu/java/net/protocol/http/Cookie.java,
7541 gnu/java/net/protocol/http/CookieManager.java,
7542 gnu/java/net/protocol/http/Credentials.java,
7543 gnu/java/net/protocol/http/HTTPConnection.java,
7544 gnu/java/net/protocol/http/HTTPDateFormat.java,
7545 gnu/java/net/protocol/http/HTTPURLConnection.java,
7546 gnu/java/net/protocol/http/Headers.java,
7547 gnu/java/net/protocol/http/Request.java,
7548 gnu/java/net/protocol/http/RequestBodyWriter.java,
7549 gnu/java/net/protocol/http/Response.java,
7550 gnu/java/net/protocol/http/ResponseBodyReader.java,
7551 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7552 gnu/java/net/protocol/http/SimpleCookieManager.java,
7553 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7554 gnu/java/net/protocol/http/event/ConnectionListener.java,
7555 gnu/java/net/protocol/http/event/RequestEvent.java,
7556 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7557 * gnu/java/net/protocol/http/Connection.java: Removed.
7558 * gnu/java/net/protocol/http/Handler.java,
7559 javax/net/ssl/HttpsURLConnection.java: Updated.
7560 * Makefile.am: Added new files and remove old ones.
7561 * Makefile.in: Regenerated.
7563 2005-01-11 Tom Tromey <tromey@redhat.com>
7566 * java/io/BufferedInputStream.java (read): Repeatedly read to
7568 (refill): Change test to see if buffer must be grown.
7570 2005-01-10 Tom Tromey <tromey@redhat.com>
7572 * mauve-libgcj: Exclude some swing tests.
7574 2005-01-10 Tom Tromey <tromey@redhat.com>
7576 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7577 * java/lang/Package.java (getPackages): Use VMClassLoader when
7579 (getPackage): Likewise.
7580 * prims.cc (_Jv_CreateJavaVM): Call
7581 _Jv_RegisterBootstrapPackages.
7582 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7583 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7584 (getPackages): Likewise.
7585 (definedPackages): New field.
7586 (definePackageForNative): New method.
7587 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7588 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7589 * defineclass.cc (handleClassBegin): Use
7590 ClassLoader.findLoadedClass.
7591 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7593 (struct _Jv_LoaderInfo): Removed.
7594 (initiated_classes): Likewise.
7595 (_Jv_UnregisterClass): Don't use initiated_classes.
7596 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7597 (_Jv_FindClass): Register classes found during boostrap.
7598 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7599 (bootstrap_class_list): New global.
7600 (bootstrap_index): Likewise.
7601 (_Jv_RegisterBootstrapPackages): New function.
7602 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7603 definePackageForNative.
7604 (findClass): Updated.
7605 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7608 2005-01-10 Tom Tromey <tromey@redhat.com>
7611 * include/jvm.h (_Jv_Linker::find_field): Declare.
7612 (_Jv_Linker::find_field_helper): Likewise.
7613 * link.cc (find_field_helper): New method.
7614 (find_field): Likewise.
7615 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7617 (link_symbol_table): Use find_field.
7619 2005-01-10 Michael Koch <konqueror@gmx.de>
7622 * java/util/Locale.java (Locale): Don't uppercase variant.
7623 (getISOCountries): Fixed typo in javadoc.
7625 2005-01-10 Michael Koch <konqueror@gmx.de>
7627 * java/util/SimpleTimeZone.java (checkRule):
7628 Throw IllegalArgumentException on invalid month values.
7629 * java/util/TimeZone.java (setID):
7630 Throw NullPointerException if needed.
7632 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7634 * java/util/SimpleTimeZone.java (getOffset):
7635 offset end date with daylight savings
7637 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7639 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7640 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7642 2005-01-09 Michael Koch <konqueror@gmx.de>
7645 * java/net/InetAddress.java (getLocalHost):
7646 Throw UnknownHostException if local hostname cannot be determined.
7648 2005-01-06 Tom Tromey <tromey@redhat.com>
7650 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7652 2005-01-07 Michael Koch <konqueror@gmx.de>
7655 * java/nio/Buffer.java (address): New field.
7656 * java/nio/DirectByteBufferImpl.java (address): Removed.
7657 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7658 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7659 Explicitly initialize Buffer.address if needed.
7660 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7661 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7662 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7663 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7664 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7665 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7666 DirectByteBufferImpl object.
7667 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7668 * testsuite/libjava.jni/directbuffer.c,
7669 testsuite/libjava.jni/directbuffer.java,
7670 testsuite/libjava.jni/directbuffer.out,
7671 testsuite/libjava.jni/bytebuffer.c,
7672 testsuite/libjava.jni/bytebuffer.java,
7673 testsuite/libjava.jni/bytebuffer.out: New files.
7675 2005-01-05 Tom Tromey <tromey@redhat.com>
7677 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7679 (compressedSize): Now 'long'. Default to -1.
7680 (getCompressedSize): Rewrote.
7681 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7682 deflate at all if we need input.
7684 2005-01-05 Tom Tromey <tromey@redhat.com>
7687 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7690 2005-01-05 Tom Tromey <tromey@redhat.com>
7692 * java/lang/natRuntime.cc (insertSystemProperties): Set
7693 java.ext.dirs earlier.
7695 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7697 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7698 sync_info element of the object if needed.
7700 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7702 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7703 a non-zero exit status from 'false'.
7705 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7707 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.