1 2005-06-14 Tom Tromey <tromey@redhat.com>
4 * configure, aclocal.m4, Makefile.in: Rebuilt.
6 2005-06-14 Tom Tromey <tromey@redhat.com>
8 * java/lang/Class.java (getClasses): New method.
9 (internalGetClasses): Likewise.
10 (getClassLoader): Updated documentation.
11 (getDeclaredClasses): New overload; old overload no longer
13 (_getConstructors): Removed.
14 (resourcePath): Updated.
15 * java/lang/natClass.cc (getClasses): Removed.
16 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
18 (_getConstructors): Removed.
20 2005-06-13 Jim Huang <jserv@kaffe.org>
23 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
24 (_Jv_JNI_NewObject): Likewise.
26 2005-06-13 Tom Tromey <tromey@redhat.com>
29 * testsuite/libjava.lang/pr21844.java: New file.
30 * testsuite/libjava.lang/pr21844.out: New file.
32 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
35 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
38 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
40 * java/text/MessageFormat.java (parse): When parsing strings, check
41 for an empty pattern trailer.
43 2005-06-06 Keith Seitz <keiths@redhat.com>
45 * gnu/classpath/jdwp/util/Signature.java: New file.
46 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
48 2005-06-05 Anthony Green <green@redhat.com>
50 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
53 2005-06-04 Anthony Green <green@redhat.com>
55 * java/net/URLClassLoader.java: import gnu.gcj.Core,
56 and gnu.java.net.protocol.core.CoreInputStream.
57 (CureURLLoader): New class.
58 (CoreResource): New class.
59 (addURLImpl): Add special treatment for the "core" protocol.
60 * gnu/gcj/natCore.cc (find): New method.
61 * gnu/gcj/Core.java (find): New method.
63 2005-06-03 Keith Seitz <keiths@redhat.com>
65 * gnu/classpath/jdwp/transport/ITransport.java: New file.
66 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
67 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
69 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
71 * jawt.c: Remove malloc.h, covered by stdlib.h.
73 * testsuite/libjava.jni/jni.exp
74 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
77 2005-06-02 Keith Seitz <keiths@redhat.com>
79 * gnu/classpath/jdwp/transport/TransportException.java: New file.
81 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
83 * mauve-libgcj: Remove implemented classes from the fail section.
84 Add two new not implemented to it.
86 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
88 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
89 AC_SUBST definition from configure.host.
90 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
91 to -fomit-frame-pointer on 32-bit x86 targets.
93 2005-06-01 Tom Tromey <tromey@redhat.com>
95 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
97 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
100 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
101 (static): Add possessive matching to JAVA_1_4 syntax.
102 * gnu/regexp/RETokenRepeated.java (possessive): New field.
103 (makePossessive, isPossessive): New methods.
104 (match): Don't back off during possessive matching.
105 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
106 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
109 2005-06-01 Keith Seitz <keiths@redhat.com>
111 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
112 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
113 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
115 2005-06-01 Tom Tromey <tromey@redhat.com>
118 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
119 (currentLoader): New method.
120 * java/io/ObjectInputStream.java (resolveProxyClass): Use
122 (currentLoader): Now native.
123 (currentClassLoader): Removed.
124 * testsuite/libjava.lang/pr21785.java: New file.
125 * testsuite/libjava.lang/pr21785.out: New file.
127 2005-06-01 Tom Tromey <tromey@redhat.com>
130 * java/lang/natString.cc (substring): Changed sharing heuristic.
132 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
135 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
136 MAXPATHLEN. Format exception message using a StringBuffer instead.
138 2005-05-29 Michael Koch <konqueror@gmx.de>
141 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
143 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
145 * ChangeLog: Fix typo.
147 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
149 Testsuite adjustments for PR java/19870.
150 * testsuite/libjava.lang/PR19870.java: New testcase.
151 * testsuite/libjava.lang/PR19870.out: Expected output for the
153 * testsuite/libjava.jacks/jacks.xfail: Add
154 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
157 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
159 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
160 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
161 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
163 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
164 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
165 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
166 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
168 2005-05-25 Richard Henderson <rth@redhat.com>
171 * sysdep/descriptor-n.h: New file.
172 * sysdep/descriptor-y.h: New file.
173 * sysdep/powerpc/descriptor.h: New file.
174 * configure.host: Set $descriptor_h appropriate for the host.
175 * configure.ac: Link it.
176 * configure: Regenerate.
177 * stacktrace.cc: Include sysdep/descriptor.h.
178 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
180 2005-05-25 Chris Burdess <dog@gnu.org>
182 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
183 end entity callbacks.
185 2005-05-24 Gary Benson <gbenson@redhat.com>
188 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
189 Handle DateFormat.DEFAULT case correctly.
191 2005-05-21 Tom Tromey <tromey@redhat.com>
194 * java/lang/ref/natReference.cc (find_slot): Handle case where
195 table has no NULL entries.
196 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
197 table has no NULL entries.
199 2005-05-22 Andreas Jaeger <aj@suse.de>
201 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
204 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
206 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
208 2005-05-19 Richard Henderson <rth@redhat.com>
210 * exception.cc: Revert 05-17 gcc_unreachable change.
212 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
214 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
215 _Jv_RegisterInitiatingLoader to register array classes, not
217 (_Jv_RegisterInitiatingLoader): Give up if called very early during
218 bootstrapping. Add a FIXME to handle this case better.
220 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
222 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
224 (libgcj_la_SOURCES): New. Move sources here.
225 (libgcj.la): Remove rule.
227 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
230 * gnu/java/security/provider/DSASignature.java: Import updates
233 2005-05-18 Anthony Green <green@redhat.com>
235 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
236 classpath_jawt_object_unlock, classpath_jawt_create_lock,
237 classpath_jawt_destroy_lock): New functions.
238 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
239 classpath_jawt_object_unlock, classpath_jawt_create_lock,
240 classpath_jawt_destroy_lock): New functions.
241 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
243 * jawt.c: #include malloc.h.
244 (_Jv_Lock): Use lock.
246 (_Jv_GetDrawingSurface): Initialize lock.
247 (_Jv_FreeDrawingSurface): Destroy lock.
248 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
250 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
252 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
253 * Makefile.in: Regenerate.
255 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
257 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
258 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
259 * aclocal.m4, configure, config.h.in, include/config.h.in,
260 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
261 external/Makefile.in, external/sax/Makefile.in,
262 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
264 2005-05-17 David Daney <ddaney@avtrex.com>
267 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
269 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
271 * exception.cc (abort): Remove std::abort hack.
272 (gcc_unreacheable): Define.
274 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
276 * Makefile.am (Makefile.deps): Do not create native.list and
278 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
279 * Makefile.in: Regenerate.
281 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
283 * configure.ac (--enable-libgcj-multifile): Remove.
285 * Makefile.am (all_native_compiled_source_files,
286 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
287 all_libgcj_lo_files, all_xlib_lo_files,
288 all_java_deps_files, all_java_stamp_files,
289 all_java_filelist_files): New variables.
290 (EXTRA_DIST): New Automake variable.
291 (CLEANFILES): Add .stamp, .list and .lo files.
292 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
293 (classes.stamp): Depend on $(all_java_stamp_files).
294 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
295 going through write_entries_to_file.
297 (all_java_source_files, all_property_files): Move earlier.
298 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
299 all_java_class_files): Remove.
300 (gtk_awt_peer_sources): Rename to...
301 (gtk_awt_peer_source_files): ... this. Adjust throughout.
304 (libgcj0_convenience_la_SOURCES): Remove Java source files.
305 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
306 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
307 (libgcj_la_SOURCES): Remove.
308 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
309 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
310 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
312 * configure: Regenerate.
313 * Makefile.in: Regenerate.
314 * external/Makefile.in: Regenerate.
315 * external/sax/Makefile.in: Regenerate.
316 * external/w3c_dom/Makefile.in: Regenerate.
317 * gcj/Makefile.in: Regenerate.
318 * include/Makefile.in: Regenerate.
319 * libltdl/Makefile.in: Regenerate.
320 * testsuite/Makefile.in: Regenerate.
322 2005-05-16 Tom Tromey <tromey@redhat.com>
324 * java/nio/charset/Charset.java (encode, decode): Synchronize on
325 'this', not the class.
327 2005-05-16 Tom Tromey <tromey@redhat.com>
329 * gnu/java/net/protocol/http/Headers.java (parse): Include final
332 2005-05-16 Tom Tromey <tromey@redhat.com>
335 * java/net/URI.java (unquote): Handle lower-case letters as well.
337 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
340 * gnu/regexp/RE.java: Add support for quoting constructs.
342 2005-05-15 Tom Tromey <tromey@redhat.com>
344 * java/lang/String.java (startsWith): Fixed javadoc.
346 2005-05-15 Tom Tromey <tromey@redhat.com>
349 * testsuite/libjava.compile/pr21519.java: New file.
350 * testsuite/libjava.compile/pr21519.no-link: New file.
352 2005-05-15 Tom Tromey <tromey@redhat.com>
354 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
356 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
359 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
360 interrupt status flag if _Jv_CondWait is interrupted.
362 2005-05-13 Tom Tromey <tromey@redhat.com>
364 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
367 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
369 * include/jvm.h (gcj::verifyClasses): Declare.
370 * link.cc (gcj::verbose_class_flag): Moved.
371 * prims.cc (gcj::verifyClasses): Define here.
372 (gcj::verbose_class_flag): Move definition here.
373 (_Jv_Linker::wait_for_state): Don't call verify_class
374 if gcj::verifyClasses is not set.
375 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
377 2005-05-12 Aaron Luchko <aluchko@redhat.com>
379 * gij.cc (main): Recognize '-verify', '-noverify', and
382 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
384 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
386 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
388 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
391 2005-05-11 Tom Tromey <tromey@redhat.com>
393 * external/w3c_dom/Makefile.in: Rebuilt.
394 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
396 * external/sax/Makefile.in: Rebuilt.
397 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
399 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
401 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
402 Call _Jv_CopyClassesToSystemLoader.
403 * java/lang/natClassLoader.cc (system_class_list): New global.
404 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
406 (_Jv_CopyClassesToSystemLoader): New function.
407 (SYSTEM_LOADER_INITIALIZED): New define.
408 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
409 (_Jv_CheckABIVersion): Use it.
410 (_Jv_ClassForBootstrapLoader): New function.
411 * Makefile.in: Rebuilt.
412 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
414 2005-05-10 Tom Tromey <tromey@redhat.com>
416 * gcj/javaprims.h: Updated.
417 * java/lang/String.java (String(StringBuilder)): New constructor.
418 * java/lang/natStringBuilder.cc: New file.
419 * java/lang/StringBuilder.java: New file.
420 * Makefile.in: Rebuilt.
421 * Makefile.am (core_java_source_files): Added StringBuilder.java.
422 (nat_source_files): Added natStringBuilder.cc.
424 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
427 * testsuite/libjava.jacks/jacks.xfail: Adjust.
429 2005-05-09 Mike Stump <mrs@apple.com>
431 * configure: Regenerate.
433 2005-05-09 David Daney <ddaney@avtrex.com>
435 * java/util/BitSet.java (get(int, int)): Fix breakage when
436 requested set doesn't start on a multiple of 64.
438 2005-05-07 Matthias Klose <doko@debian.org>
440 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
442 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
444 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
445 * Makefile.in: Regenerate.
446 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
447 (createCompatibleVolatileImage(int,int)): Implement.
448 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
450 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
452 (createVolatileImage): Implement.
453 (createBuffers): Likewise.
454 (getBackBuffer): Likewise.
456 (destroyBuffers): Likewise.
457 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
458 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
459 (CanvasFlipBufferStrategy): Likewise.
460 (createBufferStrategy(int)): New method.
461 (createBufferStrategy(int,BufferCapabilities)): Likewise.
462 * java/awt/Component.java (BltBufferStrategy): Implement and
464 (FlipBufferStrategy): Likewise.
465 * java/awt/Window.java (WindowBltBufferStrategy): New class.
466 (WindowFlipBufferStrategy): Likewise.
467 (createBufferStrategy(int)): New method.
468 (createBufferStrategy(int,BufferCapabilities)): Likewise.
469 (getBufferStrategy): Likewise.
470 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
471 front to frontCaps and back to backCaps.
473 2005-05-06 Michael Koch <konqueror@gmx.de>
475 * java/awt/BufferCapabilities.java
476 (BufferCapabilities): Merged javadoc.
478 2005-05-06 Michael Koch <konqueror@gmx.de>
480 * java/util/Locale.java
481 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
482 (getLocale): New methods. Use it everywhere where instances of Locales
484 (getDisplayLanguage): Merged javadoc.
485 (getDisplayCountry): Likewise.
486 (getDisplayVariant): Likewise.
488 2005-05-06 Archie Cobbs <archie@dellroad.org>
490 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
491 use DeleteLocalRef() to avoid exhausting local native references.
493 2005-05-06 Mark Wielaard <mark@klomp.org>
495 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
496 (window_delete_cb): Don't use C++ style comments.
498 2005-05-06 Robert Schuster <thebohemian@gmx.net>
500 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
503 2005-05-06 Robert Schuster <thebohemian@gmx.net>
505 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
506 (window_delete_cb): Made the function return TRUE.
508 2005-05-06 Roman Kennke <roman@kennke.org>
510 * javax/swing/text/PlainView.java
511 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
513 * javax/swing/text/Utilities.java
514 (drawTabbedText): Initilialize local variable pos correctly.
516 2005-05-06 Roman Kennke <roman@kennke.org>
518 * javax/swing/text/AbstractDocument.java
519 (LeafElement): Made start and end package private fields for
520 effective reindexing.
521 * javax/swing/text/PlainDocument.java
522 (constructor): The field rootElement is always BranchElement,
523 so we handle it as such.
524 (removeUpdate): Rewritten reindexing for removeUpdate so that
525 the actual removal is taken into account.
527 2005-05-06 Roman Kennke <roman@kennke.org>
529 * javax/swing/text/GapContent.java:
530 Removed debugging output stuff, which I accidentally left in.
532 2005-05-06 Roman Kennke <roman@kennke.org>
534 * javax/swing/text/GapContent.java:
535 Implemented a real GapContent. Only the public methods have
536 been implemented so far and still no UndoableEdit support.
538 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
540 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
543 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
545 * java/awt/image/BufferStrategy.java: Document.
547 * java/awt/BufferCapabilities.java: Document.
549 2005-05-04 Tom Tromey <tromey@redhat.com>
551 * java/nio/channels/FileLock.java (toString): Entirely avoid
554 2005-05-04 Andrew Overholt <overholt@redhat.com>
556 * java/nio/channels/FileLock.java (toString): Re-implement using
559 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
561 * java/awt/ImageCapabilities.java: Document.
563 * java/awt/image/VolatileImage.java: Unindent copyright header.
565 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
567 * java/awt/image/VolatileImage.java: Document.
569 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
572 (init_glib_threads): Check if threading system is already
575 2005-05-03 Andrew Overholt <overholt@redhat.com>
578 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
579 could not be acquired.
580 * java/nio/channels/FileLock.java (toString): Re-implement to be
581 in line with other implementations.
583 2005-05-03 Tom Tromey <tromey@redhat.com>
585 * java/lang/VMSecurityManager.java (currentClassLoader): Use
586 'systemClasssLoader' directly.
588 2005-05-03 Tom Tromey <tromey@redhat.com>
590 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
591 call VMClassLoader.getSystemClassLoader.
593 2005-04-29 Michael Koch <konqueror@gmx.de>
595 * java/net/NetworkInterface.java
597 (NetworkInterface(String,InetAddress)): Made package-private.
598 (NetworkInterface(String,InetAddress[])): New constructor.
599 (getRealNetworkInterfaces): Removed.
600 (getByName): Use VMNetworkInterface.getInterfaces().
601 (getByInetAddress): Likewise.
602 (getNetworkInterfaces): Likewise.
603 * java/net/VMNetworkInterface.java,
604 java/net/natVMNetworkInterfaceNoNet.cc,
605 java/net/natVMNetworkInterfacePosix.c,c
606 java/net/natVMNetworkInterfaceWin32.cc: New files.
607 * java/net/natNetworkInterfaceNoNet.cc,
608 java/net/natNetworkInterfacePosix.cc,
609 java/net/natNetworkInterfaceWin32.cc: Removed.
612 * configure, Makefile.in: Regenerated.
614 2005-04-29 Andrew Haley <aph@redhat.com>
616 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
618 2005-04-29 Dalibor Topic <robilad@kaffe.org>
620 * java/nio/channels/FileChannelImpl.java
621 (FileChannelImpl(String, int)): Removed.
622 (FileChannelImpl(File, int)): Added. Check if opened file is a
624 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
625 Call FileChannelImpl(File, int).
626 * java/io/FileOutputStream.java (FileInputStream): Call
627 FileChannelImpl(File, int).
628 * java/io/RandomAccessFile.java (RandomAccessFile):
629 Call FileChannelImpl(File, int). Switched constructors around.
631 2005-04-27 Andrew Haley <aph@redhat.com>
634 * prims.cc (_Jv_ResolvePoolEntry): New function.
635 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
636 * link.cc (_Jv_Linker::find_field): New arg: found_class.
637 (resolve_pool_entry): Initialize the class in which a field is
639 (link_symbol_table): Pass new arg to found_class.
641 2005-04-29 Michael Koch <konqueror@gmx.de>
643 * java/nio/charset/Charset.java
644 (provider): Reformatted.
646 2005-04-29 Michael Koch <konqueror@gmx.de>
648 * gnu/java/net/protocol/http/HTTPConnection.java:
649 (userAgent): Initialize from system properties.
650 (initUserAgent): Removed.
652 2005-04-29 Mark Wielaard <mark@klomp.org>
654 * java/util/ResourceBundle.java (getObject): Clarify
655 MissingResourceException detailed message.
656 (tryBundle(String,ClassLoader)): Likewise.
658 2005-04-29 Robert Schuster <thebohemian@gmx.net>
660 * java/beans/FeatureDescriptor.java:
661 (getShortDescription): Implemented fallback mechanism and fixed
662 documentation (fixes bug #12637).
663 (getDisplayName): Dito.
665 2005-04-29 Robert Schuster <thebohemian@gmx.net>
667 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
668 will now be set correctly.
669 (flushCaches): Now flushes all cached intermediate data.
671 2005-04-28 Michael Koch <konqueror@gmx.de>
673 * java/net/InetAddress.java
674 (aton): Fixed javadoc.
677 2005-04-28 Tom Tromey <tromey@redhat.com>
679 * javax/swing/Timer.java
680 (drainEvents, queueEvent): Now package-private.
682 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
684 * javax/swing/Timer.java
685 (constructor): Assigning initialDelay.
687 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
689 * javax/swing/Timer.java
690 (Waker.run): firing the first action event.
692 2005-04-28 Michael Koch <konqueror@gmx.de>
694 * javax/swing/Timer.java: Reordered all fields and methods,
697 2005-04-28 Michael Koch <konqueror@gmx.de>
699 * javax/swing/Timer.java: Javadocs merged
702 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
704 * gnu/java/net/protocol/file/Connection.java
705 (StaticData): New inner class to contain statics.
706 (connect, getHeaderField): Modified to use StaticData.
708 2005-04-28 Michael Koch <konqueror@gmx.de>
710 * gnu/java/net/protocol/file/Connection.java
711 (lineSeparator): Initialize with SystemProperties.getProperty().
713 2005-04-27 Chris Burdess <dog@gnu.org>
715 * gnu/java/net/protocol/file/Connection.java: Return correct content
716 length for directory listing.
717 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
718 #11285: return valid URLs for directories.i
720 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
722 * Makefile.am (ordinary_java_source_files): Add
723 gnu/java/net/protocol/https/Handler.java.
724 * Makefile.in: Regenerate.
725 * java/net/URL.java: Remove org.metastatic.jessie from default
726 protocol search path.
728 2005-04-27 Chris Burdess <dog@gnu.org>
730 * gnu/java/net/protocol/https/Handler.java: New file.
732 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
734 * javax/imageio/spi/IIORegistry.java (IIORegistry):
735 Don't assume that awt Toolkit is always ClasspathToolkit.
737 2005-04-27 Chris Burdess <dog@gnu.org>
739 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
740 absolute and relative paths in Location header.
742 2005-04-27 Chris Burdess <dog@gnu.org>
744 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
745 FileNotFoundException and implement getErrorStream on 404.
747 2005-04-27 Sven de Marothy <sven@physto.se>
749 * java/util/TimeZone.java,
750 (getDefaultDisplayName): Fix previous fix.
752 2005-04-27 Sven de Marothy <sven@physto.se>
754 * java/util/TimeZone.java,
755 (getDefaultDisplayName): Don't print zero offsets.
757 2005-04-27 Roman Kennke <roman@kennke.org>
759 * javax/swing/plaf/basic/BasicScrollBarUI
760 (getThumbBounds): Do not make thumb smaller than
762 * javax/swing/plaf/metal/MetalLookAndFeel
763 (initComponentDefaults): Added color defaults for ScrollBar.
764 * javax/swing/plaf/metal/MetalScrollBarUI
766 (getMinimumThumbSize): Added.
768 2005-04-27 Roman Kennke <roman@kennke.org>
770 * javax/swing/plaf/metal/MetalLookAndFeel
771 (initComponentDefaults): Added some default colors.
773 2005-04-27 Roman Kennke <roman@kennke.org>
775 * javax/swing/plaf/basic/BasicScrollBarUI.java
776 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
777 to 'ScrollBar.thumbShadow'. The formes does not exist.
778 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
780 2005-04-27 Roman Kennke <roman@kennke.org>
782 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
783 * javax/swing/BoxLayout.java: Likewise.
784 * javax/swing/UIManager.java: Likewise.
785 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
786 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
787 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
788 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
789 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
790 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
791 * javax/swing/text/Document.java: Likewise.
792 * javax/swing/text/GapContent.java: Likewise.
793 * javax/swing/text/SimpleAttributeSet.java: Likewise.
794 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
796 2005-04-27 Roman Kennke <roman@kennke.org>
798 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
799 (getPropertyPrefix): Added.
801 2005-04-27 Roman Kennke <roman@kennke.org>
803 * javax/swing/plaf/basic/BasicButtonUI.java
804 (getPropertyPrefix): Added.
805 (installDefaults): Use getPropertyPrefix instead of hard-coded
808 2005-04-27 Roman Kennke <roman@kennke.org>
810 * javax/swing/JToggleButton.java
811 (JToggleButton): Removed horizontalAlignment setting, this
812 was wrong. Added setting of an actionCommand, ToggleButtons
813 have "" as default actionCommand.
815 2005-04-27 Michael Koch <konqueror@gmx.de>
817 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
818 to work around CNI limitation.
820 2005-04-27 Sven de Marothy <sven@physto.se>
822 * java/nio/charset/Charset.java:
823 (defaultCharset()): New method.
824 Status updated to 1.5
826 2005-04-27 Sven de Marothy <sven@physto.se>
828 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
830 2005-04-27 Sven de Marothy <sven@physto.se>
832 * java/nio/charset/Charset.java: Reset cached de/encoders.
834 2005-04-27 Robert Schuster <thebohemian@gmx.net>
836 * java/nio/charset/Charset.java (forName): Throws
837 IllegalArgumentException when argument is null
838 and added documentation.
840 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
842 * java/nio/charset/Charset.java (providers):
843 New method to make an array of CharsetProviders defined in
844 META-INF/services/java.nio.charset.spi.CharsetProvider.
845 (charsetForName, availableCharsets): Use the
846 new method providers().
848 2005-04-26 Michael Koch <konqueror@gmx.de>
850 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
851 Fixed typos in javadocs.
852 (isSiteLocalAddress): Fixed handling of byte values.
853 (isMCLinkLocal): Likewise.
854 * java/net/Inet4Address.java
855 (isMulticastAddress): Call super method.
856 (isLoopbackAddress): Likewise.
857 (isAnyLocalAddress): Likewise.
858 (isLinkLocalAddress): Likewise.
859 (isSiteLocalAddress): Likewise.
860 (isMCGlobal): Likewise.
861 (isMCNodeLocal): Likewise.
862 (isMCLinkLocal): Likewise.
863 (isMCSiteLocal): Likewise.
864 (isMCOrgLocal): Likewise.
865 (getHostAddress): Likewise.
867 2005-04-26 Sven de Marothy <sven@physto.se>
869 * java/net/InetAddress.java
870 (toString): Don't print empty hostnames.
872 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
875 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
876 'false' to native lock().
877 (lock): Pass 'true' to native lock().
879 2005-04-26 Michael Koch <konqueror@gmx.de>
881 * java/net/InetAddress.java:
882 Fixed typos in javadocs.
884 2005-04-26 Andrew Haley <aph@redhat.com>
887 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
890 2005-04-26 Tom Tromey <tromey@redhat.com>
892 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
893 gnu): Now package-private.
894 * javax/swing/text/html/parser/DocumentParser.java (parser,
895 callBack, gnu): Now package-private.
896 * javax/swing/text/StringContent.java (content, setOffset,
897 checkLocation): Now package-private.
898 * javax/swing/text/JTextComponent.java (doc): Now
900 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
901 lastGoodOrientation, origParent, borders, cachedBounds,
902 cachedOrientation, DragWindow): Now package-private.
903 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
904 decrButton, viewport, panel, currentScrollLocation, layoutManager,
905 tabAreaRect, contentRect, createIncreaseButton,
906 createDecreaseButton, findPointForIndex): Now package-private.
907 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
908 (currentDividerLocation, moveDividerTo): Now package-private.
909 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
911 * javax/swing/plaf/basic/BasicScrollBarUI.java
912 (calculatePreferredSize, valueForYPosition, valueForXPosition):
914 * javax/swing/plaf/basic/BasicPopupMenuUI.java
915 (topWindowListener): Now package-private.
916 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
917 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
918 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
920 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
922 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
924 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
926 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
927 borderInsets): Now package-private.
928 (arrowButtonWidth): Likewise. Now a constant.
929 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
930 makeTabs, updatePreviewPanel): Now package-private.
931 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
932 darkShadow, highlight): Now package-private.
933 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
934 (addColorToQueue): Now package-private.
935 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
936 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
937 GSpinner, BSpinner): Now package-private.
938 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
939 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
940 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
941 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
942 updateTrack): Now package-private.
943 * javax/swing/TransferHandler.java (clipboard): Now
945 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
947 * javax/swing/Timer.java (drainEvents, queueEvent): Now
949 * javax/swing/RepaintManager.java (globalManager): Now
951 * javax/swing/JFormattedTextField.java (editValid): Now
953 * javax/swing/JColorChooser.java (makeModal): Now
955 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
956 index, path): Now package-private.
957 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
958 lineQuadIntersect, lineCubicIntersect, linesIntersect,
959 pointEquals): Now package-private.
960 * java/awt/geom/Arc2D.java (type): Now package-private.
961 * java/awt/Window.java (windowFocusOwner): Now package-private.
962 * java/awt/TextComponent.java (editable, selectionStart,
963 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
965 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
967 * java/awt/MenuComponent.java (focusListener): Now
969 * java/awt/Frame.java (state): Now package-private.
970 * java/awt/Choice.java (pItems): Now package-private.
971 * java/awt/Checkbox.java (state): Now package-private.
972 * java/awt/Button.java (actionCommand, label): Now
974 * gnu/javax/swing/text/html/parser/support/Parser.java
975 (attributes, _handleEndTag_remaining, _handleStartTag): Now
977 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
979 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
980 clip, transform, font, comp): Now package-private.
982 2005-04-26 Tom Tromey <tromey@redhat.com>
984 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
987 2005-04-26 Mark Wielaard <mark@klomp.org>
989 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
990 to MalformedURLException.
992 2005-04-26 Michael Koch <konqueror@gmx.de>
994 * java/security/AccessControlContext.java:
996 (protectedDomains): Renamed from 'protectionDomain'.
997 * java/security/AccessController.java:
1000 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1002 * gnu/java/security/action/GetSecurityPropertyAction.java
1003 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1004 of extending GetPropertyAction.
1007 (setParamters): New methods.
1008 (GetSecurityPropertyAction): Use new setParameters methods.
1010 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1012 * java/security/Security.java,
1013 java/security/cert/X509CRLSelector.java,
1014 java/security/cert/X509CertSelector.java:
1015 Modified to use SystemProperties.
1017 2005-04-26 Michael Koch <konqueror@gmx.de>
1019 * java/lang/System.java
1020 (setSecurityManager): Fixed comment.
1021 (getSecurityManager): Removed obsolete comment.
1023 2005-04-25 Tom Tromey <tromey@redhat.com>
1025 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1027 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1030 (connectSignals): Realize the window widget after connecting
1033 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1035 * java/awt/GraphicsEnvironment.java
1036 (localGraphicsEnvironment): New field.
1037 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1039 (isHeadless): Added support for java.awt.headless property.
1040 (isHeadlessInstance): Call headless().
1042 2005-04-25 Roman Kennke <roman@kennke.org>
1044 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1045 (getDisplayMode): Added. Returns the current display mode.
1046 (isFullScreenSupported): Added.
1047 * java/awt/GraphicsDevice.java
1048 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1049 This resizes and relocates the fullscreen window so that it uses
1050 the whole screen. This is not a fully accelerated fullscreen
1053 2005-04-25 Michael Koch <konqueror@gmx.de>
1055 * java/lang/Runtime.java,
1056 java/lang/SecurityManager.java,
1057 java/lang/System.java,
1058 java/lang/ThreadGroup.java:
1059 Replaced java.lang.Runtime.securityManager by
1060 java.lang.SecurityManager.current (as used in GNU classpath).
1062 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1064 * java/awt/Transparency.java
1065 (getTransparency): fixed API docs.
1067 2005-04-25 Archie Cobbs <archie@dellroad.org>
1069 * java/lang/Throwable.java: simplify initializing cause in constructor
1071 2005-04-25 Michael Koch <konqueror@gmx.de>
1073 * gnu/classpath/SystemProperties.java: New file.
1074 * gnu/classpath/natSystemProperties.cc: New file.
1075 * java/lang/Runtime.java
1076 (defaultProperties): Removed.
1078 (): Made thrown exceptions more verbose.
1079 (insertSystemProperties): Removed.
1080 * java/lang/System.java
1082 (properties): Likewise.
1083 (setSecurityManager): Reordered modifiers.
1084 (getenv): Improved javadoc.
1086 (isWordsBigEndian): Removed.
1087 * java/lang/natRuntime.cc
1088 (_Jv_SetDLLSearchPath): Likewise.
1089 (file_encoding): Likewise.
1090 (default_file_encoding): Likewise.
1091 (getpwuid_adaptor): Likewise.
1092 (insertSystemProperties): Likewise.
1093 * java/lang/natSystem.cc
1094 (isWordsBigEndian): Likewise.
1096 (ordinary_java_source_files):
1097 Added gnu/classpath/SystemProperties.java.
1098 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1099 * Makefile.in: Regenerated.
1101 2005-04-25 Roman Kennke <roman@kennke.org>
1103 * javax/swing/plaf/basic/BasicScrollBarUI.java
1104 (initDefaults): Initialize thumb*Color fields correctly.
1106 2005-04-25 Roman Kennke <roman@kennke.org>
1108 * javax/swing/text/GapContent.java:
1111 2005-04-25 Roman Kennke <roman@kennke.org>
1113 * javax/swing/plaf/metal/MetalBorders.java:
1114 Added inner class ScrollPaneBorder.
1115 * javax/swing/plaf/metal/MetalLookAndFeel.java
1116 (initComponentDefaults): Added default for "ScrollPane.border"
1117 to use the new ScrollPaneBorder.
1119 2005-04-25 Roman Kennke <roman@kennke.org>
1121 * javax/swing/text/AbstractDocument.java:
1122 Added FIXME comments. This class still has to be
1123 implemented thread-safe.
1125 2005-04-25 Roman Kennke <roman@kennke.org>
1127 * javax/swing/tree/DefaultTreeSelectionModel.java
1128 (DefaultTreeSelectionModel): Initialize listenerList here.
1130 2005-04-25 Roman Kennke <roman@kennke.org>
1132 * javax/swing/plaf/metal/MetalTextFieldUI.java
1133 (createUI): Return one instance per Component instead of a
1136 2005-04-25 Roman Kennke <roman@kennke.org>
1138 * javax/swing/text/Document.java:
1139 Added API documentation comments.
1141 2005-04-25 Roman Kennke <roman@kennke.org>
1143 * javax/swing/text/AbstractDocument.java
1144 (getDocumentProperties): Implemented.
1145 (setDocumentProperties): Implemented.
1146 (getProperty): Implemented.
1147 (putProperty): Implemented.
1149 2005-04-25 Roman Kennke <roman@kennke.org>
1151 * javax/swing/BoxLayout
1152 (preferredLayoutSize): Fixed computation so that it correctly
1153 adds the top and bottom insets of the container.
1155 2005-04-25 Roman Kennke <roman@kennke.org>
1157 * javax/swing/plaf/basic/BasicMenuItemUI.java
1158 (paintText): Make use of the 'selectionForeground' UI default
1161 2005-04-25 Roman Kennke <roman@kennke.org>
1163 * javax/swing/plaf/basic/BasicLookAndFeel.java
1164 (initSystemColorDefaults): Modified colors to match the
1165 BasicLookAndFeel in the reference implementation.
1166 (initComponentDefaults): Likewise.
1168 2005-04-25 Tom Tromey <tromey@redhat.com>
1170 * include/jni.h (_Jv_va_list): Removed.
1171 Moved configuration code...
1172 * include/jni_md.h: ... here. New file.
1173 * include/Makefile.in: Rebuilt.
1174 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1176 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1178 * java/io/FileInputStream.java (FileInputStream(File)),
1179 java/io/FileOutputStream.java (FileOutputStream(File)):
1180 Removed unnecessary File.isDirectory() check.
1182 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1184 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1185 gij if get_multilibs fails.
1187 2005-04-22 Anthony Green <green@redhat.com>
1189 * jni.cc (natrehash): Don't bother clearing memory again.
1190 * interpret.cc (do_allocate_static_fields): Ditto.
1191 * java/lang/natString.cc (rehash): Ditto.
1193 2005-04-22 Roman Kennke <roman@kennke.org>
1195 * javax/swing/plaf/basic/BasicLookAndFeel.java
1196 (initComponentDefaults): Changed Button.border to be
1197 BasicBorders.getButtonBorder as it should be.
1199 2005-04-22 Roman Kennke <roman@kennke.org>
1201 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1202 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1203 should according to a mauve testcase, instead of the preferred
1206 2005-04-22 Roman Kennke <roman@kennke.org>
1208 * javax/swing/JMenu.java
1209 (add): add(Component) now calls PopupMenu.insert(..) instead of
1210 PopupMenu.add(..). add(..) is not implemented for Component,
1211 so JComponent.add(..) is called instead, adding the component
1214 2005-04-22 Roman Kennke <roman@kennke.org>
1216 * javax/swing/plaf/basic/BasicButtonListener.java
1217 (mousePressed): replaced query to getModifiersEx with getModifiers.
1218 This method relied on faulty behaviour in getModifierEx.
1219 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1220 This method relied on faulty behaviour in getModifierEx.
1222 2005-04-22 Roman Kennke <roman@kennke.org>
1224 * javax/swing/plaf/metal/MetalLookAndFeel.java
1225 (getDefaults): Call addCustomEntriesToTable on the theme.
1227 2005-04-22 Roman Kennke <roman@kennke.org>
1229 * javax/swing/tree/DefaultTreeSelectionModel.java
1230 (constructor): Added implementation.
1231 (getRowMapper): Added implementation.
1232 (setSelectionMode): Added implementation.
1233 (getSelectionMode): Added implementation.
1234 (getSelectionPath): Added implementation.
1235 (getSelectionPaths): Added implementation.
1236 (getSelectionCount): Added implementation.
1237 (isSelectionEmpty): Added implementation.
1238 (getSelectionRows): Added implementation.
1239 (getMinSelectionRow): Added implementation.
1240 (getMaxSelectionRow): Added implementation.
1241 (getLeadSelectionRow): Added implementation.
1242 (getLeadSelectionPath): Added implementation.
1244 2005-04-22 Casey Marshall <csm@gnu.org>
1246 * gnu/java/security/der/DERValue.java
1247 (getValueAs): new method.
1248 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1249 (<init>): read both dates with 'DERValue.getValueAs', with
1250 'GENERALIZED_TIME' as the argument.
1252 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1254 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1255 be null, check for that case and don't deference it.
1257 2005-04-22 Sven de Marothy <sven@physto.se>
1259 * java/util/logging/LogManager.java: Reformatted.
1260 (readConfiguration): If a logger for a key is not found, create one.
1262 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1264 * java/rmi/Naming.java:
1265 Added class documentation.
1266 (lookup(String)): Call parseURL and getName.
1267 (bind(String,java.rmi.Remote)): Likewise.
1268 (unbind(String)): Likewise.
1269 (rebind(String, java.rmi.Remote)): Likewise.
1270 (list(String)): Call parseURL.
1271 (parseURL(String)): New method to handle parsing and defaults.
1272 (getName(java.net.URL)): New method to handle finding the service name.
1274 2005-04-21 Tom Tromey <tromey@redhat.com>
1276 * java/lang/natClass.cc (initializeClass): Link class.
1278 2005-04-21 Tom Tromey <tromey@redhat.com>
1280 * java/lang/AssertionError.java: Typo fix.
1282 2005-04-21 Tom Tromey <tromey@redhat.com>
1284 * java/lang/VMClassLoader.java (transformException): Removed.
1285 (resolveClass): No longer native. Now does nothing.
1286 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1288 2005-04-21 Anthony Green <green@redhat.com>
1291 * testsuite/libjava.special/special.exp,
1292 testsuite/libjava.special/pr21115I.java,
1293 testsuite/libjava.special/pr21115.java,
1294 testsuite/libjava.special/pr21115.out: New files.
1296 2005-04-21 Chris Burdess <dog@gnu.org>
1298 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1299 CRLF-delimited chunks.
1301 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1303 * java/net/URI.java:
1304 Added class documentation.
1305 (parseURI(String)): Only handle scheme-specific parts
1306 if URI is not opaque. Allow for parts that can't be null.
1307 (toString()): Output the scheme-specific part whole, rather
1308 than as its possibly non-existent components.
1310 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1312 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1313 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1314 Adjusted to match new regexp.
1316 2005-04-20 Michael Koch <konqueror@gmx.de>
1318 * gnu/java/net/protocol/file/Connection.java,
1319 gnu/java/net/protocol/jar/Connection.java:
1320 Reorganized import statements. Fixed @author tags.
1322 2005-04-20 Chris Burdess <dog@gnu.org>
1324 * java/io/DataOutputStream.java (writeUTF): Use block write for
1327 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1329 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1330 (readLine): Changed newline handling.
1332 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1334 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1335 ColorModel,byte[],int,int): Fixed byte to int conversion.
1337 2005-04-20 Michael Koch <konqueror@gmx.de>
1339 * java/io/FilePermission.java
1340 (serialVersionUID): Made private.
1341 (ALL_FILES): New constant.
1342 (implies): Handle '<<ALL FILES>>' case.
1344 2005-04-20 Sven de Marothy <sven@physto.se>
1346 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1347 (drawImage): Don't notify the image observer for offscreen images.
1348 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1349 (setPixels): Don't notify the image observer.
1351 2005-04-20 Sven de Marothy <sven@physto.se>
1353 * java/nio/ByteBufferImpl.java:
1354 (putChar): Inlined for speed.
1355 (put, get): Bulk methods can use arraycopy.
1356 * java/nio/CharBufferImpl.java:
1357 (put, get): Bulk methods can use arraycopy.
1359 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1361 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1363 * java/nio/CharBufferImpl.java
1364 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1365 (get(), put(char)): Inlined checks and field updates. Fixed to
1366 take array_offset into account.
1367 (get(int), put(int, char)): Fixed to take array_offset into account.
1369 2005-04-20 Sven de Marothy <sven@physto.se>
1371 * java/text/SimpleDateFormat.java:
1372 (formatWithAttribute): Pad year before truncating digits.
1374 2005-04-20 Michael Koch <konqueror@gmx.de>
1376 * gnu/java/net/PlainDatagramSocketImpl.java:
1377 Merged copyright header.
1378 * gnu/java/net/PlainSocketImpl.java:
1379 Reorganized import statements. Fixed @author tags.
1381 2005-04-20 Michael Koch <konqueror@gmx.de>
1383 * gnu/java/lang/ClassHelper.java,
1384 gnu/java/lang/reflect/TypeSignature.java:
1387 2005-04-20 Michael Koch <konqueror@gmx.de>
1389 * gnu/java/beans/IntrospectionIncubator.java:
1390 Fixed HTML tags in javadocs.
1392 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1394 * gnu/java/beans/IntrospectionIncubator.java
1395 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1396 set(), is(), add() and remove() with properties or events.
1398 2005-04-20 Michael Koch <konqueror@gmx.de>
1400 * gnu/java/awt/image/XBMDecoder.java:
1401 Fixed modifier order.
1403 2005-04-20 Roman Kennke <roman@kennke.org>
1405 * javax/swing/plaf/basic/BasicButtonUI.java
1406 (paint): This should not care about margin and insets
1407 at the same time, as insets already include the margin
1409 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1410 (getPreferredButtonSize): Likewise.
1411 * javax/swing/plaf/metal/MetalBorders.java
1412 (getBorderInsets): Likewise.
1414 2005-04-20 Roman Kennke <roman@kennke.org>
1416 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1417 (createMessageArea): The JPanel that holds the message area
1418 doesn't need to override getPreferredSize. This prevents some
1419 message components from rendering nicely.
1421 2005-04-20 Roman Kennke <roman@kennke.org>
1423 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1424 (createUI): Do not share instances between components.
1425 * javax/swing/plaf/metal/MetalSliderUI.java
1426 (createUI): Do not share instances between components.
1428 2005-04-20 Roman Kennke <roman@kennke.org>
1430 * javax/swing/plaf/metal/MetalBorders:
1431 (PopupMenuBorder): Added.
1432 * javax/swing/plaf/metal/MetalLookAndFeel
1433 (initComponentDefaults): Added PopupMenuBorder.
1435 2005-04-20 Roman Kennke <roman@kennke.org>
1437 * javax/swing/tree/DefaultTreeSelectionModel.java:
1438 Added API documentation all over the class.
1440 2005-04-20 Roman Kennke <roman@kennke.org>
1442 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1443 (installDefaults): Link managed JScrollPane in instance field.
1444 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1446 2005-04-20 Roman Kennke <roman@kennke.org>
1448 * javax/swing/plaf/basic/BasicScrollBarUI.java
1449 (PropertyChangeHandler.propertyChange): Add default
1450 to switch statement to avoid errors with unusual values
1452 (installComponents): Likewise.
1454 2005-04-20 Roman Kennke <roman@kennke.org>
1456 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1457 (createUI): Instances cannot be shared among JScrollPanes.
1459 2005-04-20 Roman Kennke <roman@kennke.org>
1461 * javax/swing/plaf/metal/MetalLookAndFeel.java
1462 (initComponentDefaults): Added defaults for Menu, MenuBar
1465 2005-04-20 Roman Kennke <roman@kennke.org>
1467 * javax/swing/plaf/basic/BasicScrollBarUI.java
1468 (installUI): Install listeners after everything all, otherwise
1469 we get strange NPEs in some situations, especially with
1471 (createIncreaseButton): Orientation is expected to be
1472 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1473 HORIZONTAL or VERTICAL.
1474 (createDecreaseButton): Orientation is expected to be
1475 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1476 HORIZONTAL or VERTICAL.
1477 (installComponents): Orientation for buttons is expected to be
1478 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1479 HORIZONTAL or VERTICAL.
1481 2005-04-20 Roman Kennke <roman@kennke.org>
1483 * javax/swing/JToolBar.java
1484 (addImpl): Adjust added AbstractButtons to look and feel like
1486 * javax/swing/plaf/metal/MetalBorders.java:
1487 Adjusted insets of ButtonBorder.
1488 (RolloverMarginBorder): Added class for toolbar buttons.
1489 (getButtonBorder): Adjusted factory method to return a shared
1490 instance of button border.
1491 (getToolbarButtonBorder): Added factory method to return a shared
1492 instance of toolbar button border.
1493 (getMarginBorder): Added factory method to return a shared
1494 instance of margin border.
1495 * javax/swing/plaf/metal/MetalButtonUI.java
1496 (installDefauls): If button is child of a JToolBar then set
1497 special border on this button.
1499 2005-04-20 Michael Koch <konqueror@gmx.de>
1501 * java/net/URLConnection.java
1502 (getContent): Fixed javadoc comment.
1504 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1506 * java/net/URL.java:
1507 (toURI()): Implemented.
1509 2005-04-19 Michael Koch <konqueror@gmx.de>
1511 * java/net/InetAddress.java
1512 (InetAddress): Fixed javadoc comment.
1514 (lookup): Added javadoc.
1515 (getFamily): Likewise.
1516 * java/net/ServerSocket.java
1517 (getChannel): Improved javadoc comment.
1519 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1521 * gnu/xml/dom/html2/DomHTMLParser.java:
1522 Changed 'enum' references to become 'enumeration'.
1524 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1526 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1528 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1530 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1531 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1532 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1533 (validateParameters(TagElement,htmlAttributeSet)):
1534 Replaced 'enum' with 'enumeration'.
1535 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1538 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1540 * javax/swing/text/html/parser/Entity.java (getType): New method.
1541 * javax/swing/text/html/parser/DocumentParser.java:
1542 Inherit from javax.swing.text.html.parser.Parser.
1544 2005-04-19 Chris Burdess <dog@gnu.org>
1546 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1547 check for HTML/XHTML namespace.
1549 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1551 * javax/swing/text/html/parser/Parser.java,
1552 javax/swing/text/html/parser/Entity.java:
1553 Inheriting from DTDConstants.
1554 * javax/swing/text/html/parser/AttributeList.java
1555 (getValues): Changed return type.
1556 * javax/swing/text/html/parser/DocumentParser
1557 (parse): Adding the callback parameter that receives
1560 2005-04-19 Chris Burdess <dog@gnu.org>
1562 * gnu/xml/dom/DomImpl.java,
1563 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1564 gnu/xml/dom/html2/DomHTMLDocument.java,
1565 gnu/xml/dom/html2/DomHTMLElement.java,
1566 gnu/xml/dom/html2/DomHTMLFormElement.java,
1567 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1568 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1569 gnu/xml/dom/html2/DomHTMLImpl.java,
1570 gnu/xml/dom/html2/DomHTMLInputElement.java,
1571 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1572 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1573 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1574 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1575 gnu/xml/dom/html2/DomHTMLTableElement.java,
1576 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1577 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1578 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1579 UI events, and tree utility functions.
1581 2005-04-19 Michael Koch <konqueror@gmx.de>
1583 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1584 gnu/javax/swing/text/html/parser/gnuDTD.java,
1585 gnu/javax/swing/text/html/parser/models/node.java:
1586 Reworked import statements.
1588 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1590 * javax/swing/text/html/HTMLDocument.java: New file.
1592 2005-04-19 Michael Koch <konqueror@gmx.de>
1594 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1596 * javax/swing/text/html/parser/AttributeList.java:
1597 Fixed order of modifiers.
1598 (AttributeList): Made final.
1599 * javax/swing/text/html/parser/ContentModel.java:
1600 Fixed html characters in javadocs.
1601 * javax/swing/text/html/parser/DTD.java
1602 (DTD): Don't implement java.io.Serializable directly.
1603 (getElement): Simplified.
1604 * javax/swing/text/html/parser/DTDConstants.java:
1606 * javax/swing/text/html/parser/Element.java:
1607 Fixed order of modifiers.
1608 * javax/swing/text/html/parser/Parser.java:
1609 Reformatted. Don't use fully-qualified class names.
1610 * javax/swing/text/html/parser/ParserDelegator.java:
1611 Fixed order of modifiers.
1612 * javax/swing/text/rtf/RTFParser.java:
1613 Re-ordered import statements.
1614 * javax/swing/text/rtf/RTFScanner.java:
1615 Removed unused import statement.
1617 2005-04-19 Chris Burdess <dog@gnu.org>
1619 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1620 gnu/xml/dom/html2/DomHTMLCollection.java,
1621 gnu/xml/dom/html2/DomHTMLDocument.java,
1622 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1624 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1625 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1626 gnu/xml/dom/html2/DomHTMLDivElement.java,
1627 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1628 gnu/xml/dom/html2/DomHTMLFontElement.java,
1629 gnu/xml/dom/html2/DomHTMLFormElement.java,
1630 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1631 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1632 gnu/xml/dom/html2/DomHTMLHRElement.java,
1633 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1634 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1635 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1636 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1637 gnu/xml/dom/html2/DomHTMLImageElement.java,
1638 gnu/xml/dom/html2/DomHTMLInputElement.java,
1639 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1640 gnu/xml/dom/html2/DomHTMLLIElement.java,
1641 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1642 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1643 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1644 gnu/xml/dom/html2/DomHTMLMapElement.java,
1645 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1646 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1647 gnu/xml/dom/html2/DomHTMLModElement.java,
1648 gnu/xml/dom/html2/DomHTMLOListElement.java,
1649 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1650 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1651 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1652 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1653 gnu/xml/dom/html2/DomHTMLParamElement.java,
1654 gnu/xml/dom/html2/DomHTMLPreElement.java,
1655 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1656 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1657 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1658 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1659 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1660 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1661 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1662 gnu/xml/dom/html2/DomHTMLTableElement.java,
1663 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1664 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1665 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1666 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1667 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1669 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1671 * javax/swing/text/ChangedCharSetException.java,
1672 javax/swing/text/html/HTMLEditorKit.java,
1673 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1674 javax/swing/text/html/parser/AttributeList.java,
1675 javax/swing/text/html/parser/ContentModel.java,
1676 javax/swing/text/html/parser/DocumentParser.java,
1677 javax/swing/text/html/parser/DTD.java,
1678 javax/swing/text/html/parser/DTDConstants.java,
1679 javax/swing/text/html/parser/Element.java,
1680 javax/swing/text/html/parser/Entity.java,
1681 javax/swing/text/html/parser/Parser.java,
1682 javax/swing/text/html/parser/TagElement.java,
1683 gnu/javax/swing/text/html/package.html,
1684 gnu/javax/swing/text/html/parser/gnuDTD.java,
1685 gnu/javax/swing/text/html/parser/HTML_401F.java,
1686 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1687 gnu/javax/swing/text/html/parser/htmlValidator.java,
1688 gnu/javax/swing/text/html/parser/package.html,
1689 gnu/javax/swing/text/html/parser/models/list.java,
1690 gnu/javax/swing/text/html/parser/models/node.java,
1691 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1692 gnu/javax/swing/text/html/parser/models/package.html,
1693 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1694 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1695 gnu/javax/swing/text/html/parser/models/transformer.java,
1696 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1697 gnu/javax/swing/text/html/parser/support/package.html,
1698 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1699 gnu/javax/swing/text/html/parser/support/Parser.java,
1700 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1701 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1702 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1703 gnu/javax/swing/text/html/parser/support/low/Location.java,
1704 gnu/javax/swing/text/html/parser/support/low/node.java,
1705 gnu/javax/swing/text/html/parser/support/low/package.html,
1706 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1707 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1708 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1709 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1711 * javax/swing/text/html/HTML.java,
1712 javax/swing/text/html/parser/ParserDelegator.java:
1713 New files (replacing).
1714 * javax/swing/text/html/package.html,
1715 javax/swing/text/html/parser/package.html: Documenting the
1718 2005-04-19 Chris Burdess <dog@gnu.org>
1720 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1721 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1722 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1723 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1724 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1725 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1726 gnu/xml/dom/html2/DomHTMLBRElement.java,
1727 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1728 gnu/xml/dom/html2/DomHTMLCollection.java,
1729 gnu/xml/dom/html2/DomHTMLDocument.java,
1730 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1732 2005-04-19 Michael Koch <konqueror@gmx.de>
1734 * Makefile.am: Added new files.
1735 * Makefile.in: Regenerated.
1737 2005-04-19 Roman Kennke <roman@kennke.org>
1739 * javax/swing/text/JTextComponent.java
1740 (JTextComponent): Added repaintListener which issues repaint
1741 requests when the underlying document changes.
1742 (setDocument): Adds repaintListener to document when the
1743 document is changed.
1744 * javax/swing/text/DefaultEditorKit.java:
1745 Removed repaint calls on JTextComponent. This is now handled
1746 through a DocumentListener in JTextComponent that repaints
1747 the component when needed.
1749 2005-04-19 Roman Kennke <roman@kennke.org>
1752 * javax/swing/text/StyleContext.java
1753 (NamedStyle.setResolveParent): Added null
1756 2005-04-19 Michael Koch <konqueror@gmx.de>
1758 * java/rmi/server/RemoteObject.java:
1759 Removed unused import statement.
1761 2005-04-19 Michael Koch <konqueror@gmx.de>
1763 * java/net/URL.java: Formatting cleanups.
1765 2005-04-19 Michael Koch <konqueror@gmx.de>
1767 * java/awt/FontMetrics.java: Reformatted.
1768 (getFontRenderContext): Handle case when java.awt.Graphics context is
1771 2005-04-19 Michael Koch <konqueror@gmx.de>
1773 * java/awt/FontMetrics.java
1774 (getStringBounds): New methods.
1777 2005-04-19 Michael Koch <konqueror@gmx.de>
1779 * gnu/java/security/x509/X509Certificate.java
1780 (parse): Handle val == null case.
1782 2005-04-19 Roman Kennke <roman@kennke.org>
1784 * javax/swing/plaf/metal/MetalLookAndFeel.java
1785 (initComponentDefaults): Added defaults for Menu, MenuBar
1788 2005-04-19 Roman Kennke <roman@kennke.org>
1790 * javax/swing/plaf/metal/MetalLookAndFeel.java
1791 (initComponentDefaults): Added Label.font.
1792 (initSystemColorDefaults): Added this method and adjusted the
1793 general control color.
1795 2005-04-19 Roman Kennke <roman@kennke.org>
1797 * javax/swing/plaf/metal/MetalBorders.java:
1799 * javax/swing/plaf/metal/MetalButtonUI.java:
1800 (installDefaults): Install button font.
1801 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1802 (initComponentDefaults): Added button border, font and margin.
1803 Changed components background color to the Metal current themes
1806 2005-04-19 Roman Kennke <roman@kennke.org>
1808 * javax/swing/plaf/metal/MetalLookAndFeel.java
1809 (initComponentDefaults): Added to set Metal specific component
1812 2005-04-19 Mark Wielaard <mark@klomp.org>
1814 * javax/swing/plaf/metal/MetalLookAndFeel.java
1815 (initClassDefaults): Call super.initClassDefaults().
1817 2005-04-19 Roman Kennke <roman@kennke.org>
1819 * javax/swing/plaf/metal/MetalLookAndFeel.java
1820 (initClassDefaults): Added to include the *UI classes.
1822 2005-04-19 Roman Kennke <roman@kennke.org>
1824 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1826 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1828 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1830 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1832 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1834 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1836 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1838 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1840 * javax/swing/plaf/metal/MetalSliderUI.java:
1842 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1844 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1846 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1848 2005-04-19 Roman Kennke <roman@kennke.org>
1850 * javax/swing/plaf/metal/MetalButtonUI.java:
1851 Added skeleton class.
1852 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1853 Added skeleton class.
1854 * javax/swing/plaf/metal/MetalLabelUI.java:
1855 Added skeleton class.
1856 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1857 Added skeleton class.
1858 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1859 Added skeleton class.
1860 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1861 Added skeleton class.
1863 2005-04-19 Roman Kennke <roman@kennke.org>
1865 * javax/swing/UIDefaults.java:
1866 Added API documentation for all methods.
1868 2005-04-19 Roman Kennke <roman@kennke.org>
1870 * javax/swing/UIDefaults.java
1871 (put): Now uses new checkAndPut method instead of checking
1873 (putDefaults): Fixed so that it accepts null-values and
1874 treats them like remove(key).
1875 (checkAndPut): Added. This checks for null-values and calls
1878 2005-04-19 Michael Koch <konqueror@gmx.de>
1880 * Makefile.am: Added new files.
1881 * Makefile.in: Regenerated.
1883 2005-04-19 Mark Wielaard <mark@klomp.org>
1885 * java/lang/natRuntime.cc (insertSystemProperties): Set
1886 java.class.path to CLASSPATH only when not empty. Fall back to
1887 default path "." when java.class.path is empty.
1889 2005-04-19 Michael Koch <konqueror@gmx.de>
1891 * javax/swing/text/rtf/ControlWordToken.java,
1892 javax/swing/text/rtf/RTFEditorKit.java,
1893 javax/swing/text/rtf/RTFParseException.java,
1894 javax/swing/text/rtf/RTFParser.java,
1895 javax/swing/text/rtf/RTFScanner.java,
1896 javax/swing/text/rtf/TextToken.java,
1897 javax/swing/text/rtf/Token.java: New files.
1898 * Makefile.am: Added new files.
1899 * Makefile.in: Regenerated.
1901 2005-04-19 Michael Koch <konqueror@gmx.de>
1903 * java/awt/geom/QuadCurve2D.java:
1904 Fixed Brian Gough's name for real.
1906 2005-04-19 Roman Kennke <roman@kennke.org>
1908 * javax/swing/UIManager.java:
1909 Make the UIManager respect the swing.defaultlaf system
1912 2005-04-19 Tom Tromey <tromey@redhat.com>
1914 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1917 2005-04-19 Roman Kennke <roman@kennke.org>
1919 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1920 Fixed tabs to spaces.
1922 2005-04-19 Roman Kennke <roman@kennke.org>
1924 * javax/swing/plaf/basic/BasicMenuUI.java
1925 (getMaximumSize): Now returns preferredSize because JMenu should
1926 never be bigger than that.
1927 * javax/swing/JRootPane
1928 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1930 2005-04-19 Roman Kennke <roman@kennke.org>
1932 * javax/swing/JRootPane.java:
1933 Fixed various tabs to be spaces.
1934 (RootLayout.layoutContainer): Made menubar left aligned.
1936 2005-04-19 Roman Kennke <roman@ontographics.com>
1938 * javax/swing/JList.java
1939 (getPreferredScrollableViewportSize):
1940 The previous implementation was merely guessing the size,
1941 now it respects layoutOrientation, visibleRowCount
1943 (getScrollableTracksViewportHeight):
1944 Reimplemented so that layoutOrientation, visibleRowCount
1945 and preferred size are respected.
1946 (getScrollableTracksViewportWidth):
1947 Reimplemented so that layoutOrientation, visibleRowCount
1948 and preferred size are respected.
1949 * javax/swing/plaf/basic/BasicListUI.java
1951 Improved calculation of preferredSize when JList is
1952 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1954 The previous implementation assumed a layoutOrientation of
1955 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1956 JList.VERTICAL_WRAP.
1958 2005-04-19 Roman Kennke <roman@ontographics.com>
1960 * javax/swing/plaf/basic/BasicListUI.java
1961 (paintCell): use CellRendererPane for painting the cells.
1963 2005-04-19 Roman Kennke <roman@ontographics.com>
1965 * javax/swing/plaf/basic/BasicListUI:
1966 fixed modifiers of several fields, methods and inner
1967 classes to match the 'spec'.
1968 (getMaximumSize): removed. It's not in the spec and the
1969 implementations was superfluous.
1971 2005-04-19 Roman Kennke <roman@ontographics.com>
1973 * javax/swing/plaf/basic/BasicListUI:
1974 make BasicListUI capable of wrapping lists
1975 (layoutOrientation property of javax.swing.JList)
1977 2005-04-19 Roman Kennke <roman@ontographics.com>
1979 * javax/swing/plaf/basic/BasicListUI
1980 (updateLayoutState,paint): make BasicListUI aware of the
1981 width of the rendered JList.
1983 2005-04-19 Roman Kennke <roman@kennke.org>
1985 * javax/swing/ImageIcon.java
1986 Added API documentation.
1988 2005-04-19 Roman Kennke <roman@kennke.org>
1990 * javax/swing/text/ImageIcon.java
1991 (ImageIcon): Use setImage instead of direct assignment.
1992 (setImage): Call loadImage to make sure that the image is loaded.
1993 (loadImage): Waits for the image to complete loading.
1994 (getImageLoadStatus): Added. Returns the load status of the
1997 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1999 * javax/swing/JTextArea.java (replaceRange):
2000 Fixing doc.remove(start, length) misinterpretation.
2002 2005-04-19 Roman Kennke <roman@ontographics.com>
2004 * javax/swing/CellRendererPane.java:
2005 implemented all methods of this class.
2006 reformatted all wrong formatted code.
2008 2005-04-19 Roman Kennke <roman@kennke.org>
2010 * javax/swing/BoxLayout.java:
2011 (layoutContainer): Made this layout manager respect the
2012 minimum, maximum and preferred size more correctly.
2014 2005-04-19 Roman Kennke <roman@ontographics.com>
2016 * javax/swing/BoxLayout.java:
2017 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2018 layoutContainer): Make these methods and thereby the
2019 BoxLayout respect the insets (like borders) of the
2020 component that is laid out.
2022 2005-04-19 Roman Kennke <roman@kennke.org>
2024 * javax/swing/JComponent.java:
2025 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2026 Untabified the file.
2028 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2030 * javax/swing/JComboBox.java (constructors): selecting the
2031 first item if the box was constructed from the provided
2032 non - empty array or vector.
2034 2005-04-19 Michael Koch <konqueror@gmx.de>
2036 * gnu/java/awt/peer/gtk/GdkGraphics.java
2037 (getClipBounds): Handle clip being null.
2038 (setClip): Likewise.
2039 * java/beans/beancontext/BeanContextSupport.java
2043 (removeAll): Likewise.
2044 (retainAll): Likewise.
2046 2005-04-19 Michael Koch <konqueror@gmx.de>
2048 * java/beans/beancontext/BeanContextServicesSupport.java
2049 (BeanContextServicesSupport): Reimplemented.
2050 (addBeanContextServicesListener): Implemented.
2051 (initialize): Likewise.
2052 (removeBeanContextServicesListener): Likewise.
2053 * java/beans/beancontext/BeanContextSupport.java
2055 (addBeanContextMembershipListener): Likewise.
2056 (getLocale): Likewise.
2057 (initialize): Likewise.
2058 (iterator): Likewise.
2060 (toArray): Likewise.
2062 2005-04-19 Roman Kennke <roman@kennke.org>
2064 * java/awt/MediaTracker.java:
2065 Reindented tabs to spaces.
2067 2005-04-19 Roman Kennke <roman@kennke.org>
2069 * java/awt/MediaTracker.java
2070 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2071 confused the media tracker and lead to lockups. The LOADING
2072 bit is handled on other places.
2073 (addImage): Removed the 'start image tracking' stuff. This
2074 is not necessary and could confuse the media tracker.
2075 (checkAll): Improved the check for image status so that
2076 images that already complete images are detected. Also now
2077 are really all images checked and if necessary loaded. Before
2078 the method bailed out after the first incomplete image.
2079 (statusAll): Detect images that are complete after the
2080 call to Component.prepareImage(..).
2081 (checkID): The same as in checkAll.
2082 (statusID): The same as in statusAll.
2084 2005-04-19 Roman Kennke <roman@kennke.org>
2086 * java/awt/MediaTracker.java
2087 (addImage): Synchronized list access.
2088 (waitForAll): Fixed comparison of time (changed < to >).
2089 (waitForID): Fixed comparison of time (changed < to >).
2090 (removeImage): Synchronized list access.
2092 2005-04-19 Roman Kennke <roman@kennke.org>
2094 * java/awt/MediaTracker.java
2095 Added API documentation.
2097 2005-04-19 Roman Kennke <roman@kennke.org>
2099 * java/awt/MediaTracker.java
2100 (MediaEntry.imageUpdate): Fixed flags. The different flags
2101 must not be ORed together.
2102 (checkAll): Modified to handle different meaning of the flags.
2103 (waitForAll): Fixed so that it waits maximum the
2104 specified amount of milliseconds.
2105 (statusAll): Modified to handle different meaning of the flags.
2106 (waitForID): Fixed so that it waits maximum the
2107 specified amount of milliseconds.
2109 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2111 * java/awt/Font.java (decode): Handle null argument and allow
2114 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2116 * java/beans/EventHandler.java: Reworked documentation.
2117 (invoke): Fixed behavior to match spec.
2119 2005-04-19 Michael Koch <konqueror@gmx.de>
2121 * java/awt/print/PrinterJob.java
2122 (pageDialog): New method.
2123 (printDialog): Implemented.
2125 2005-04-19 Michael Koch <konqueror@gmx.de>
2127 * java/awt/image/ConvolveOp.java:
2128 Removed comment added by eclipse.
2130 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2132 * java/awt/image/IndexColorModel.java
2133 (getRGB): Check if pixel is negative.
2135 2005-04-19 Michael Koch <konqueror@gmx.de>
2137 * java/awt/image/RasterOp.java:
2138 Fixed wrong formatting.
2140 2005-04-18 Roman Kennke <roman@kennke.org>
2142 * java/awt/Compmonent.java
2143 (setComponentOrientation): Made this property firing a
2144 PropertyChangeEvent.
2146 2005-04-18 Roman Kennke <roman@kennke.org>
2148 * java/awt/BorderLayout.java
2149 (calcSize): Check for overflow when component sizes are added.
2151 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2153 * java/awt/AWTEvent.java (toString): Added case
2154 for source not being an AWT component.
2156 2005-04-18 Chris Burdess <dog@gnu.org>
2158 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2160 2005-04-18 Michael Koch <konqueror@gmx.de>
2162 gnu/java/awt/EmbeddedWindowSupport.java,
2163 gnu/java/net/HeaderFieldHelper.java,
2164 gnu/java/net/URLParseError.java,
2165 gnu/java/net/protocol/file/Handler.java,
2166 gnu/java/net/protocol/jar/Handler.java:
2167 Fixed usage of @author tag.
2169 2005-04-18 Michael Koch <konqueror@gmx.de>
2171 * gnu/xml/aelfred2/XmlParser.java:
2172 Reverted my typo fix.
2174 2005-04-18 Michael Koch <konqueror@gmx.de>
2176 * java/awt/geom/CubicCurve2D.java,
2177 java/awt/geom/QuadCurve2D.java:
2178 Fixed mentioning of Brian Gouph.
2180 2005-04-18 Michael Koch <konqueror@gmx.de>
2182 * gnu/java/awt/Buffers.java,
2183 gnu/java/awt/image/ImageDecoder.java,
2184 gnu/java/awt/image/XBMDecoder.java,
2185 gnu/java/awt/peer/ClasspathFontPeer.java,
2186 gnu/java/net/CRLFInputStream.java,
2187 gnu/java/net/EmptyX509TrustManager.java,
2188 gnu/java/net/LineInputStream.java,
2189 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2190 gnu/java/net/protocol/ftp/BlockInputStream.java,
2191 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2192 gnu/java/net/protocol/ftp/DTP.java,
2193 gnu/java/net/protocol/ftp/DTPInputStream.java,
2194 gnu/java/net/protocol/ftp/FTPConnection.java,
2195 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2196 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2197 gnu/java/net/protocol/ftp/StreamInputStream.java,
2198 gnu/java/net/protocol/http/ChunkedInputStream.java,
2199 gnu/java/net/protocol/http/HTTPConnection.java,
2200 gnu/java/net/protocol/http/HTTPURLConnection.java,
2201 gnu/java/net/protocol/http/Headers.java,
2202 gnu/java/net/protocol/http/Request.java,
2203 gnu/java/nio/ChannelInputStream.java,
2204 gnu/java/nio/ChannelOutputStream.java,
2205 gnu/java/nio/InputStreamChannel.java,
2206 gnu/java/nio/OutputStreamChannel.java,
2207 gnu/java/nio/SelectorProviderImpl.java,
2208 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2209 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2210 gnu/java/rmi/dgc/DGCImpl.java,
2211 gnu/java/rmi/registry/RegistryImpl.java,
2212 gnu/java/rmi/server/ProtocolConstants.java,
2213 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2214 gnu/java/rmi/server/RMIIncomingThread.java,
2215 gnu/java/rmi/server/RMIObjectInputStream.java,
2216 gnu/java/rmi/server/RMIObjectOutputStream.java,
2217 gnu/java/rmi/server/RMIVoidValue.java,
2218 gnu/java/rmi/server/UnicastConnectionManager.java,
2219 gnu/java/rmi/server/UnicastRef.java,
2220 gnu/java/rmi/server/UnicastRemoteCall.java,
2221 gnu/java/rmi/server/UnicastRemoteStub.java,
2222 gnu/java/rmi/server/UnicastServerRef.java,
2223 gnu/java/security/OID.java,
2224 gnu/java/security/der/DERReader.java,
2225 gnu/java/security/provider/CollectionCertStoreImpl.java,
2226 gnu/java/security/provider/DSAParameterGenerator.java,
2227 gnu/java/security/provider/DefaultPolicy.java,
2228 gnu/java/security/provider/EncodedKeyFactory.java,
2229 gnu/java/security/provider/GnuDHPublicKey.java,
2230 gnu/java/security/provider/GnuDSAPrivateKey.java,
2231 gnu/java/security/provider/GnuDSAPublicKey.java,
2232 gnu/java/security/provider/GnuRSAPrivateKey.java,
2233 gnu/java/security/provider/GnuRSAPublicKey.java,
2234 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2235 gnu/java/security/provider/RSA.java,
2236 gnu/java/security/provider/SHA1PRNG.java,
2237 gnu/java/security/provider/SHA1withRSA.java,
2238 gnu/java/security/provider/X509CertificateFactory.java,
2239 gnu/java/security/x509/GnuPKIExtension.java,
2240 gnu/java/security/x509/X500DistinguishedName.java,
2241 gnu/java/security/x509/X509CRL.java,
2242 gnu/java/security/x509/X509CRLEntry.java,
2243 gnu/java/security/x509/X509CertPath.java,
2244 gnu/java/security/x509/X509CertSelectorImpl.java,
2245 gnu/java/security/x509/X509Certificate.java,
2246 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2247 gnu/java/security/x509/ext/BasicConstraints.java,
2248 gnu/java/security/x509/ext/CRLNumber.java,
2249 gnu/java/security/x509/ext/CertificatePolicies.java,
2250 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2251 gnu/java/security/x509/ext/Extension.java,
2252 gnu/java/security/x509/ext/GeneralNames.java,
2253 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2254 gnu/java/security/x509/ext/KeyUsage.java,
2255 gnu/java/security/x509/ext/PolicyConstraint.java,
2256 gnu/java/security/x509/ext/PolicyMappings.java,
2257 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2258 gnu/java/security/x509/ext/ReasonCode.java,
2259 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2260 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2261 Reorganized import statements.
2263 2005-04-18 Michael Koch <konqueror@gmx.de>
2265 * gnu/java/awt/color/CieXyzConverter.java,
2266 gnu/java/awt/color/ClutProfileConverter.java,
2267 gnu/java/awt/color/ColorLookUpTable.java,
2268 gnu/java/awt/color/ColorSpaceConverter.java,
2269 gnu/java/awt/color/GrayProfileConverter.java,
2270 gnu/java/awt/color/GrayScaleConverter.java,
2271 gnu/java/awt/color/LinearRGBConverter.java,
2272 gnu/java/awt/color/ProfileHeader.java,
2273 gnu/java/awt/color/PyccConverter.java,
2274 gnu/java/awt/color/RgbProfileConverter.java,
2275 gnu/java/awt/color/SrgbConverter.java,
2276 gnu/java/awt/color/TagEntry.java,
2277 gnu/java/awt/color/ToneReproductionCurve.java:
2278 Standardized file headers.
2280 2005-04-16 Tom Tromey <tromey@redhat.com>
2282 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2283 'ANY' package-private.
2285 2005-04-15 Tom Tromey <tromey@redhat.com>
2287 * Makefile.in: Rebuilt.
2288 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2289 (libgcj0_convenience_la_LIBADD): ... here.
2291 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2293 * gij.cc (version): Properly quote java version.
2294 (main): Fix typo in comment.
2296 2005-04-13 Mark Wielaard <mark@klomp.org>
2298 * java/lang/natRuntime.cc (insertSystemProperties): Set
2299 java.class.path to CLASSPATH if not already set.
2301 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2303 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2305 2005-04-12 Mike Stump <mrs@apple.com>
2307 * configure: Regenerate.
2309 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2312 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2313 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2315 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2318 * scripts/TexinfoDoclet.java: Removed.
2319 * Makefile.am (texinfo): Removed.
2320 * Makefile.in: Regenerated.
2322 2005-04-11 Michael Koch <konqueror@gmx.de>
2324 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2325 Fixed wrong casting.
2327 2005-04-06 Andrew Haley <aph@redhat.com>
2329 * testsuite/libjava.lang/bytearray.java: New file.
2330 * testsuite/libjava.lang/bytearray.out: New file.
2331 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2332 (loadClass): Use it.
2333 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2335 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2337 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2338 gcj-dbtool dependency
2339 * Makefile.in: Regenerated
2341 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2343 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2344 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2346 2005-04-05 Andrew Haley <aph@redhat.com>
2348 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2349 (Tokenizer): New class.
2350 (getFiles): New method.
2351 (main): Add "-" argument.
2353 Read list of files from stdin when merging map databases.
2354 (usage): Add "-" argument.
2358 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2361 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2362 * Makefile.in: Regenerate.
2363 * configure.ac: Add --with-java-home option.
2364 * configure: Regenerate.
2365 * external/Makefile.in: Regenerate.
2366 * external/sax/Makefile.in: Regenerate.
2367 * external/w3c_dom/Makefile.in: Regenerate.
2368 * gcj/Makefile.in: Regenerate.
2369 * include/Makefile.in: Regenerate.
2370 * testsuite/Makefile.in: Regenerate.
2371 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2374 2005-04-05 Tom Tromey <tromey@redhat.com>
2376 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2377 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2378 Rewrote to use _Jv_FindClassFromSignature.
2379 * verify.cc (resolve): throw NoClassDefFoundError.
2380 * link.cc (resolve_field): Throw NoClassDefFoundError.
2381 (find_field): Likewise.
2382 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2383 Handle error cases. Added 'endp' argument.
2384 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2386 2005-04-05 Tom Tromey <tromey@redhat.com>
2388 * Makefile.in: Rebuilt.
2389 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2390 gtk_awt_peer_sources.
2391 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2392 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2393 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2394 (gtk-awt-peer.lo): New target.
2396 2005-04-04 Steve Pribyl <steve@netfuel.com>
2399 * configure.ac: Fix fastjar definition for cross builds.
2400 * configure: Rebuilt.
2402 2005-04-04 Tom Tromey <tromey@redhat.com>
2404 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2405 it was already found.
2407 2005-04-04 Tom Tromey <tromey@redhat.com>
2409 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2410 org.metastatic.jessie.
2412 2005-04-02 Anthony Green <green@redhat.com>
2415 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2417 2005-04-02 Mark Wielaard <mark@klomp.org>
2419 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2420 Attributes and attribute order doesn't matter.
2421 (BasicAttributesEnumeration.where): Initialize to zero.
2422 (BasicAttributesEnumeration.nextElement): Update and compare where
2423 appropriately (zero based).
2425 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2427 PR libgcj/20090, PR libgcj/20526
2428 * gij.cc (nonstandard_opts_help): New function.
2429 (add_option): New function.
2430 (main): Support java options. Set java.class.path. Don't set
2432 * prims.cc (parse_x_arg): New function.
2433 (parse_init_args): Call parse_x_arg for -X and _ options, when
2434 ignoreUnrecognized is true.
2435 (new _Jv_RunMain): New vm_args variant.
2436 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2437 (_Jv_Jar_Class_Path): Remove variable.
2438 * include/java-props.h: Likewise.
2439 * include/cni.h (JvRealloc): New function.
2440 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2441 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2442 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2444 * configure.ac (JV_VERSION): Define.
2445 (JV_API_VERSION): Likewise.
2446 * configure: Regenerate.
2447 * include/config.h.in: Regenerate.
2449 2005-04-01 Mark Anderson <mark@panonet.net>
2451 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2452 -Infinity as parameters.
2454 2005-04-01 Michael Koch <konqueror@gmx.de>
2456 * java/io/PipedInputStream.java
2457 (read): Make sure a positive byte value is returned. Revised javadoc.
2458 Thanks to Olafur Bragason for reporting these bugs.
2460 2005-04-01 Tom Tromey <tromey@redhat.com>
2462 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2463 Updated for name change.
2464 (nativeFindClass): New method.
2465 (loadClass): Use nativeFindClass.
2466 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2468 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2469 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2471 (initialize): New method.
2472 (nativeFindClass): Declare.
2473 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2474 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2475 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2477 (definePackageForNative): Removed.
2478 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2479 Moved to VMClassLoader.java.
2480 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2481 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2482 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2483 removed VMClassLoader.java.
2484 (nat_source_files): Removed natVMClassLoader.cc.
2486 2005-04-01 Tom Tromey <tromey@redhat.com>
2488 * Makefile.in: Rebuilt.
2489 * Makefile.am (db_pathtail): Use $(gcc_version), not
2492 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2494 * java/util/Timer.java
2495 (run): Stop the queue if a task throws an exception.
2497 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2499 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2501 2005-03-29 Ian Lance Taylor <ian@airs.com>
2503 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2504 * external/sax/Makefile.in: Rebuild.
2505 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2507 * external/w3c_dom/Makefile.in: Rebuild.
2509 2005-03-29 Tom Tromey <tromey@redhat.com>
2511 * java/lang/natRuntime.cc (insertSystemProperties): Set
2512 gnu.gcj.runtime.endorsed.dirs.
2513 * Makefile.in: Rebuilt.
2514 * Makefile.am (ordinary_java_source_files): Added
2515 HelperClassLoader.java.
2516 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2517 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2519 (init): Use addDirectoriesFromProperty.
2520 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2521 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2522 gnu.gcj.runtime.endorsed.dirs.
2523 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2525 2005-03-26 Chris Burdess <dog@gnu.org>
2527 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2530 2005-03-13 Michael Koch <konqueror@gmx.de>
2532 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2534 2005-03-11 Chris Burdess <dog@gnu.org>
2536 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2539 2005-02-27 Chris Burdess <dog@gnu.org>
2541 * gnu/xml/aelfred2/JAXPFactory.java,
2542 gnu/xml/aelfred2/SAXDriver.java,
2543 gnu/xml/aelfred2/XmlParser.java,
2544 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2545 formatting conventions. Replaced arrays of Object with struct-like
2546 classes for easier maintainability. Made SAXDriver.stringInterning
2547 package private to allow access from XmlParser inside the loop without
2548 a method call overhead.
2550 2005-03-11 Chris Burdess <dog@gnu.org>
2552 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2555 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2557 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2558 settings to sub Makefiles.
2559 (GCJH, ZIP): Prefix with top_builddir.
2560 * configure: Rebuild.
2561 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2562 * external/w3c_dom/Makefile.in: Rebuild.
2563 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2564 * external/sax/Makefile.in: Rebuild.
2566 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2568 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2569 libsocket to the libraries to link for Solaris.
2571 2005-03-28 Per Bothner <per@bothner.com>
2573 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2574 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2576 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2578 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2579 to fix a ONESTEP fallout.
2580 * Makefile.in: Regenerate.
2582 2005-03-25 Mike Stump <mrs@apple.com>
2584 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2585 paths like we do for the compiler, as we use it in external/sax
2586 and it doesn't get MULTIBUILDTOP right when multilibing.
2588 2005-03-24 Anthony Green <green@redhat.com>
2590 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2592 (usage): Add [LIBDIR] to help output.
2593 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2594 * Makefile.am (AM_CXXFLAGS): Define
2595 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2596 (db_pathtail): New macro.
2598 2005-03-24 Tom Tromey <tromey@redhat.com>
2600 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2601 add sax and w3c libraries.
2602 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2604 * external/w3c_dom/Makefile.in: Rebuilt.
2605 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2607 (libw3c_gcj_la_LDFLAGS): New variable.
2608 (noinst_LTLIBRARIES): Renamed.
2609 * external/sax/Makefile.in: Rebuilt.
2610 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2612 (libsax_gcj_la_LDFLAGS): New variable.
2613 (noinst_LTLIBRARIES): Renamed.
2615 2005-03-23 Tom Tromey <tromey@redhat.com>
2617 * Makefile.in: Rebuilt.
2618 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2619 (libgcj0_convenience_la_SOURCES): Don't include
2620 gnu_xml_source_files.
2621 (libgcj0_convenience_la_LIBADD): New variable.
2622 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2623 (all_java_source_files): javax_imageio_source_files,
2624 javax_xml_source_files, and gnu_java_beans_source_files.
2625 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2626 (gnu-xml.lo): New target.
2627 (javax-imageio.lo): Likewise.
2628 (javax-xml.lo): Likewise.
2629 (gnu-java-beans.lo): Likewise.
2630 (gnu_java_beans_source_files): New variable.
2631 (javax_imageio_source_files): Likewise.
2632 (javax_xml_source_files): Likewise.
2633 (javax_source_files): Moved files to other variable.
2634 (awt_java_source_files): Likewise.
2635 (ordinary_java_source_files): Added BootClassLoader.java.
2636 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2637 not system class loader.
2638 (initBootLoader): New method.
2639 (loadClass): Search bootLoader.
2640 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2641 boot loader, not system class loader.
2642 (_Jv_UnregisterInitiatingLoader): Likewise.
2643 (_Jv_FindClass): Likewise. Ensure entries in
2644 bootstrap_class_list are unique.
2645 * java/lang/natClass.cc (getClassLoader): Don't special case
2646 system class loader.
2647 * java/lang/VMClassLoader.java (bootLoader): New field.
2648 (getResource): Use bootLoader.
2649 (getResources): Likewise.
2650 (initBootLoader): Declare.
2651 * gnu/gcj/runtime/BootClassLoader.java: New file.
2652 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2653 (EMPTY_ENUMERATION): Now package-private.
2654 * external/w3c_com/Makefile.in: Rebuilt.
2655 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2656 (w3c.jar): New target.
2657 (classes.stamp): Updated.
2658 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2659 Changed name of library.
2660 (libw3c_gcj_la_SOURCES): New variable.
2661 (libw3c_gcj_la_GCJFLAGS): Likewise.
2662 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2663 * external/sax/Makefile.in: Rebuilt.
2664 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2665 (sax.jar): New target.
2666 (classes.stamp): Updated.
2667 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2668 Changed name of library.
2669 (libsax_gcj_la_SOURCES): New variable.
2670 (libsax_gcj_la_GCJFLAGS): Likewise.
2671 (source_files): Renamed from libsax_convenience_la_SOURCES.
2672 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2674 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2676 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2678 2005-03-23 Sven de Marothy <sven@physto.se>
2680 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2682 * java/util/Calendar.java
2683 (set): Use starting day of week when one is needed if none is given.
2684 * java/text/SimpleDateFormat.java
2685 (parse): Handle 1-12 and 1-24 timestamps correctly.
2686 * java/util/GregorianCalendar.java
2687 (computeTime, computeFields): HOUR should be in 0-11 format.
2688 (nonLeniencyCheck): Adjust leniency checking to that fact.
2689 (getLinearDay): Should be private.
2691 2005-03-23 Tom Tromey <tromey@redhat.com>
2693 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2694 (_Jv_CheckABIVersion): Use it.
2696 2005-03-22 Mike Stump <mrs@apple.com>
2698 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2700 * include/posix.h: .dylib is used on all Apple MACH platforms.
2701 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2703 2005-03-22 Tom Tromey <tromey@redhat.com>
2705 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2707 2005-03-21 Tom Tromey <tromey@redhat.com>
2709 * java/lang/VMCompiler.java (static block): Also catch
2710 BufferUnderflowException.
2712 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2714 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2715 set tool_include_dir. In all substitutions, leave $(gcc_version)
2716 to be expanded by the Makefile.
2717 * aclocal.m4, configure: Regenerate.
2718 * Makefile.am: Set gcc_version. Replace all uses of
2719 @gcc_version@ with $(gcc_version).
2720 * external/Makefile.am, external/sax/Makefile.am
2721 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2722 * testsuite/Makefile.am: Set gcc_version.
2723 * include/Makefile.am: Set gcc_version and tool_include_dir.
2724 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2725 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2726 * testsuite/Makefile.in: Regenerate.
2728 2005-03-17 Andrew Haley <aph@redhat.com>
2730 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2732 Pass klass to _Jv_StackTrace::GetClassContext().
2733 * java/lang/ClassLoader.java (getParent): Pass class to
2734 VMSecurityManager.getClassContext()
2735 (getSystemClassLoader): Likewise.
2736 * java/lang/Package.java (getPackage): Likewise.
2737 (getPackages): Likewise.
2738 * java/lang/SecurityManager.java (getClassContext): Likewise.
2739 (currentClassLoader): Likewise.
2740 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2741 (currentClassLoader) Add new arg: caller.
2742 Pass caller to VMSecurityManager.getClassContext.
2744 * stacktrace.cc (GetClassContext): Correct calculation of
2747 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2748 im->source_file_name.
2750 2005-03-16 Andrew Haley <aph@redhat.com>
2752 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2754 2005-03-16 Tom Tromey <tromey@redhat.com>
2756 * link.cc (ensure_class_linked): Removed #ifdef.
2757 (print_class_loaded): Likewise.
2758 (wait_for_state): Likewise.
2759 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2760 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2761 * include/java-interp.h: ... here.
2763 2005-03-16 Tom Tromey <tromey@redhat.com>
2765 * gnu/java/lang/MainThread.java (run): Load main class using
2766 system class loader.
2768 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2770 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2771 lgcc_s to the libraries to link for Darwin.
2773 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2775 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2776 interpreter-specific code with #ifdef INTERPRETER.
2777 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2778 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2779 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2780 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2781 #ifdef INTERPRETER. Also protect declarations that use it.
2782 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2783 #ifdef INTERPRETER block.
2785 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2788 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2789 * Makefile.in: Rebuilt.
2791 2005-03-15 David Daney <ddaney@avtrex.com>
2793 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2796 2005-03-15 David Daney <ddaney@avtrex.com>
2798 * java/io/BufferedInputStream.java (available): Use 'in' instead
2799 of 'super' for underlying stream access.
2801 (read(byte[], int, int)): Ditto.
2803 (skip): Call skip on underlying stream when possible.
2805 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2807 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2808 SJLJ_EXCEPTIONS is defined.
2810 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2812 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2815 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2817 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2819 (libjava_arguments): Likewise.
2821 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2822 (gcj_jni_test_one): Likewise.
2823 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2824 Add flags to keep the Darwin linker quiet.
2825 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2826 Add -liconv for Darwin.
2828 2005-03-11 Tom Tromey <tromey@redhat.com>
2830 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2831 (_Jv_CheckABIVersion): Use it.
2833 2005-03-11 Tom Tromey <tromey@redhat.com>
2835 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2836 (usage): Document '-p'.
2837 * Makefile.in: Rebuilt.
2838 * Makefile.am (dbexecdir): New variable.
2839 (db_name): Likewise.
2840 (dbexec_DATA): Likewise.
2841 ($(db_name)): New target.
2842 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2843 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2846 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2848 * exception.cc: Remove stray MethodRef.h include.
2849 * java/lang/natClass.cc: Likewise.
2850 * gnu/gcj/runtime/MethodRef.java: Removed.
2851 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2852 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2853 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2854 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2855 * Makefile.in: Rebuilt.
2857 2005-03-10 Tom Tromey <tromey@redhat.com>
2859 * Makefile.in: Rebuilt.
2860 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2862 2005-03-10 Chris Burdess <dog@bluezoo.org>
2864 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2865 not currently parsing the DTD.
2867 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2869 New Stack Trace infrastructure.
2870 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2871 (gnu/gcj/runtime/StackTrace.java): Removed.
2872 (ordinary_java_source_files): Remove obsolete files.
2873 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2874 * configure.host (fallback_backtrace_h): Set backtrace header
2875 for mingw and cygwin targets.
2876 * configure.ac: Make symlink for fallback backtrace headers.
2877 * Makefile.in, configure: Rebuilt.
2878 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2879 Read 'LineNumberTable' attribute.
2880 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2882 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2884 * exception.cc: Remove unused include.
2885 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2886 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2887 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2888 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2889 table to direct threaded instruction values.
2890 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2891 (_Jv_InterpMethod::run): No longer member function. All
2892 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2893 is made or where an instruction could throw.
2894 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2896 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2897 (catch_fpe): Likewise.
2898 * stacktrace.cc: New file. Stack trace code now here.
2899 * gnu/gcj/runtime/MethodRef.java:
2900 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2901 calls addr2line to look up PC addresses in a given binary or shared
2903 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2904 gnu/gcj/runtime/natStackTrace.cc: Removed.
2905 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2906 this function name is specially recognised by the stack trace code
2907 and shouldn't be changed.
2908 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2909 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2910 (_Jv_InterpMethod::run): Update declaration.
2911 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2913 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2914 * include/java-stack.h: New file. Declarations for stack tracing.
2915 * include/jvm.h (_Jv_Frame_info): Removed.
2916 * java/lang/Class.h: Update friend declarations.
2917 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2919 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2920 (getStackTrace): Now native.
2921 (data): New RawDataManaged field.
2922 * java/lang/natClass.cc: Update includes.
2923 (forName): Use _Jv_StackTrace::GetCallingClass for
2924 calling-classloader check.
2925 (getClassLoader): Likewise.
2926 * java/lang/natRuntime.cc: Update includes.
2927 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2928 * java/lang/natVMSecurityManager.cc: Update includes.
2929 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2930 * java/lang/natVMThrowable.cc: New file. Native methods for
2932 * java/lang/reflect/natArray.cc: Update includes.
2933 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2934 accessibility check.
2935 * java/lang/reflect/natConstructor.cc: Update includes.
2936 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2937 accessibility check.
2938 * java/lang/reflect/natField.cc: Update includes.
2939 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2940 accessibility check.
2941 * java/lang/reflect/natMethod.cc: Update includes.
2942 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2943 accessibility check.
2944 * java/util/natResourceBundle.cc: Update includes.
2945 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2946 * java/util/logging/natLogger.cc: Update includes. Use
2947 _Jv_StackTrace::GetCallerInfo to get call-site info.
2948 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2950 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2953 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2955 * testsuite/libjava.compile/PR20312.java: New file.
2956 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2957 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2959 2005-03-09 Andrew Haley <aph@redhat.com>
2961 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2963 (smallTransferTo): New.
2964 (transferFrom): Loop around smallTransferFrom, copying pageSize
2966 (transferTo): Likewise.
2968 2005-03-09 David Daney <ddaney@avtrex.com>
2971 Merge BufferedInputStream from GNU Classpath.
2972 * java/io/BufferedInputStream.java (marktarget): Field removed.
2973 (CHUNKSIZE): Field removed.
2974 (bufferSize): New field.
2975 (BufferedInputStream): Initialize fields.
2976 (close): Invalidate mark and buffer indexes.
2978 (read()): Move mark handling code to refill.
2979 (read(byte[], int, int)): Ditto.
2980 (skip): Ditto and simplify EOF testing.
2981 (refill): Rewritten.
2982 * java/io/InputStreamReader.java (refill): Removed mark and reset
2983 of internal BufferedInputStream.
2985 2005-03-09 Tom Tromey <tromey@redhat.com>
2987 * java/lang/natVMClassLoader.cc (defineClass): Reference
2988 'systemClassLoader' field directly.
2989 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2991 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2992 Reference 'systemClassLoader' field directly.
2993 (_Jv_UnregisterInitiatingLoader): Likewise.
2994 (_Jv_FindClass): Likewise.
2996 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2998 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3000 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3001 the file in GNU Classpath style.
3003 2005-03-09 Tom Tromey <tromey@redhat.com>
3005 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3006 (toString): Synchronize.
3008 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3010 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3011 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3013 2005-03-07 Tom Tromey <tromey@redhat.com>
3015 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3016 (usage): Document '-f'.
3018 2005-03-07 Tom Tromey <tromey@redhat.com>
3020 * java/lang/VMCompiler.java (md5Digest): New field.
3021 (compileClass): Clone md5Digest instead of looking up a new one.
3023 2005-03-07 Tom Tromey <tromey@redhat.com>
3026 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3027 * link.cc (find_field_helper): Added 'type' argument.
3028 (find_field): Updated.
3030 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3031 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3032 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3033 throw UnsupportedOperationException, fixed comments.
3034 (setFont, setForeground): Fixed comments.
3035 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3036 return type to boolean.
3037 (getNextEvent): Fixed javadocs.
3038 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3039 (nativeQueueEmpty): Removed unused code.
3040 (iterateNativeQueue): Removed outer loop.
3042 2005-03-06 Roger Sayle <roger@eyesopen.com>
3045 * Makefile.am (libgcj0_convenience.la): Revert last change.
3046 * Makefile.in: Regenerate.
3048 2005-03-05 Anthony Green <green@redhat.com>
3050 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3051 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3052 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3053 (_Jv_GetDrawingSurface): Set visualID.
3054 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3055 (JAWT_GetAWT): Set Lock and Unlock.
3056 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3058 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3059 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3060 JAWT_LOCK_SURFACE_CHANGED): New macros.
3061 (struct _JAWT): Add Lock and Unlock.
3063 2005-03-05 Roger Sayle <roger@eyesopen.com>
3064 Alexandre Oliva <aoliva@redhat.com>
3065 Kelley Cook <kcook@gcc.gnu.org>
3068 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3069 of the object files to link to avoid exceeding the command line
3070 length limits on some platforms.
3071 (clean-local): Clean up objectlist files.
3072 * Makefile.in: Regenerate.
3074 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3076 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3077 spec_case. Initialize pointer mlo.
3079 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3082 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3084 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3087 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3088 uninitialized variable z.
3090 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3091 possible unused variables.
3093 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3095 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3097 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3100 * testsuite/libjava.jni/jni.exp
3101 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3103 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3105 2005-02-23 David Daney <ddaney@avtrex.com>
3107 * configure.host: Don't use -mxgot for MIPS builds.
3109 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3112 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3113 (COMPPATH): Removed.
3114 (ZIP, GCJH): Replace it with ../$(host_subdir).
3115 (built_gcc_dir): Add $(host_subdir).
3116 * configure: Regenerate.
3117 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3118 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3119 external/w3c_dom/Makefile.in: Regenerate.
3121 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3123 * java/awt/font/TextAttribute.java: changed names to lower case;
3124 (readResolve): implemented.
3125 Added doc comments all over.
3127 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3130 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3131 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3132 value. Move argument parsing code to prims.cc.
3133 * prims.cc (no_properties): Remove.
3134 (_Jv_Compiler_Properties): Initialize to NULL.
3135 (_Jv_Properties_Count): Initialize to 0.
3136 (parse_verbose_args): New function.
3137 (parse_init_args): New function.
3138 (_Jv_CreateJavaVM): Call parse_init_args.
3139 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3140 * gcj/cni.h (JvVMOption): New struct.
3141 (JvVMInitArgs): Likewise.
3142 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3144 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3145 (_Jv_VMInitArgs): Likewise.
3146 * include/java-props.h (_Jv_Properties_Count): Declare.
3147 * java/lang/natRuntime.cc (insertSystemProperties): Use
3148 _Jv_Properties_Count in for loop exit condition.
3149 * testsuite/libjava.jni/jni.exp
3150 (gcj_invocation_compile_c_to_binary): New procedure.
3151 (gcj_invocation_test_one): Likewise.
3152 (gcj_jni_run): Run JNI invocation API tests.
3153 * testsuite/libjava.jni/invocation/PR16923.c,
3154 testsuite/libjava.jni/invocation/PR16923.java,
3155 testsuite/libjava.jni/invocation/PR16923.out: New test.
3157 2005-02-23 Michael Koch <konqueror@gmx.de>
3159 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3160 * Makefile.in: Regenerated.
3162 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3164 * gnu/java/nio/ChannelReader: Fixed comments.
3166 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3168 * java/nio/channels/Channels: Added FIXMEs about
3169 stub method implementation.
3170 (newReader): Implemented.
3171 * gnu/java/nio/ChannelReader: New class.
3173 2005-02-23 Michael Koch <konqueror@gmx.de>
3175 * java/text/SimpleDateFormat.java:
3176 Removed unused import.
3178 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3181 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3182 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3183 * Makefile.in: Regenerate.
3184 * configure.ac: Check for libXtst.
3185 * configure: Regenerate.
3187 2005-02-22 Mark Wielaard <address@bogus.example.com>
3189 * java/security/AlgorithmParameterGenerator.java (getInstance):
3190 Mention provider when throwing NoSuchProviderException.
3191 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3192 * java/security/KeyFactory.java (getInstance): Likewise.
3193 * java/security/KeyStore.java (getInstance): Likewise.
3194 * java/security/SecureRandom.java (getInstance): Likewise.
3195 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3197 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3199 * java/lang/reflect/Proxy.java,
3201 java/security/SecureRandom.java,
3202 java/util/Timer.java,
3203 java/util/prefs/AbstractPreferences.java:
3204 Don't catch java.lang.ThreadDeath.
3206 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3208 * java/awt/font/TransformAttribute.java,
3209 (TransformAttribute(AffineTransform)): throw
3210 IllegalArgumentException for null transform.
3211 (getTransform): return a copy of transform.
3212 Added doc comments to all.
3214 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3216 * java/io/Externalizable.java,
3217 java/io/Serializable.java
3218 (serialVersionUID): Removed.
3219 * java/rmi/server/RemoteObject.java,
3220 java/rmi/server/UID.java
3221 (serialVersionUID): Made private.
3222 * java/rmi/server/RemoteRef.java,
3223 java/rmi/server/ServerRef.java
3224 (serialVersionUID): Set proper value.
3225 * java/security/interfaces/DSAPrivateKey.java,
3226 java/security/interfaces/DSAPublicKey.java,
3227 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3228 java/security/interfaces/RSAPrivateCrtKey.java,
3229 java/security/interfaces/RSAPrivateKey.java,
3230 java/security/interfaces/RSAPublicKey.java,
3231 javax/crypto/SecretKey.java
3232 (serialVersionUID): Added.
3234 2005-02-22 Tom Tromey <tromey@redhat.com>
3236 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3238 2005-02-22 Tom Tromey <tromey@redhat.com>
3241 * verify.cc (type::EITHER): New constant.
3242 (check_field_constant): Use it.
3243 (type::compatible): Handle it.
3245 2005-02-22 Michael Koch <konqueror@gmx.de>
3247 * gnu/java/security/PolicyFile.java,
3248 gnu/java/security/pkcs/PKCS7SignedData.java,
3249 gnu/java/security/pkcs/SignerInfo.java:
3250 Fixed copyright header.
3252 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3254 * java/beans/PropertyDescriptor.java
3255 (PropertyDescriptor,setReadMethod): Set propertyType.
3257 2005-02-22 Michael Koch <konqueror@gmx.de>
3259 * java/nio/DirectByteBufferImpl.java
3260 (owner): Fixed formatting of javadoc.
3261 * java/text/DateFormat.java
3262 (getAvailableLocales): Fixed formatting.
3263 * java/text/SimpleDateFormat.java:
3264 Fixed formatting and import statement order.
3265 * java/util/Calendar.java
3266 (Calendar): Fixed javadoc to be HTML compliant.
3267 * java/util/SimpleTimeZone.java:
3270 2005-02-22 Roman Kennke <roman@ontographics.com>
3272 * javax/swing/plaf/basic/BasicLookAndFeel.java
3273 (initComponentDefaults): Fixed Button left and right margin.
3275 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3277 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3281 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3282 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3283 (getWidth): New method.
3284 (getHeight): Likewise.
3285 (create): Remove width, height and insets parameters. Move size
3287 (realize_cb): ... here. New function.
3288 (connectSignals): Connect realize_cb.
3289 (request_frame_extents): Remove FIXME. Move
3290 postInsetsChangedEvent lookup ...
3291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3292 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3293 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3295 (windowGetWidthID): Likewise.
3296 (windowGetHeightID): Likewise.
3298 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3302 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3304 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3306 Merge serialization from GNU Classpath.
3307 * gcj/method.h: Add missing #includes.
3308 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3309 primitive class IDs on the stream here...
3310 (resolveClass): ...not here.
3311 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3313 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3314 setLongNative, setIntNative, setShortNative, setCharNative,
3315 setByteNative, setBooleanNative, setObjectNative): New native methods.
3316 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3317 setLongNative, setIntNative, setShortNative, setCharNative,
3318 setByteNative, setBooleanNative, setObjectNative): Implement them.
3319 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3320 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3321 the constructor here.
3322 (callConstructor): Removed.
3323 (getCallersClassLoader): Removed.
3324 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3325 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3326 to control whether setting final field values is permitted. Call
3327 getAddr() with checkFinal parameter instead of setAddr().
3328 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3329 only if not done already.
3330 (getAddr): Add checkFinal parameter. Do the final field check only if
3334 2005-02-21 Mark Wielaard <mark@klomp.org>
3337 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3340 2005-02-21 Mark Wielaard <mark@klomp.org>
3343 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3344 without a super class and us ObjectStreamClass.lookupForClassObject().
3345 (resolveClass): Check for primitive types.
3346 (lookupClass): Return null when argument is null.
3348 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3350 * java/io/ObjectInputStream.java
3351 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3353 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3355 * java/io/ObjectOutputStream.java
3356 (writeObject, callWriteMethod): Replaced reflection with accessing
3357 cached info in ObjectStreamClass.
3358 (getMethod): Removed.
3359 * java/io/ObjectStreamClass.java
3360 (findMethod): Added check to make sure the method found has the
3362 (cacheMethods): Added writeReplace and writeObject methods.
3363 (setFlags): Look at new writeObjectMethod field instead of doing
3365 (writeReplaceMethod): New field.
3366 (writeObjectMethod): New field.
3368 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3369 Jeroen Frijters <jeroen@frijters.net>
3371 * java/io/ObjectInputStream.java
3372 (newObject): Changed prototype. Get a constructor reflect object
3374 (callConstructor): Removed.
3375 (allocateObject): Changed prototype.
3376 (readClassDescriptor): Build the constructor reflection directly.
3377 (readObject): Invoke newObject using the new prototype.
3379 * java/io/ObjectStreamClass.java
3380 (firstNonSerializableParent): Removed.
3381 (firstNonSerializableParentConstructor): Added.
3383 2005-02-21 Mark Wielaard <mark@klomp.org>
3385 * gnu/java/locale/LocaleInformation_en.java: Extend
3386 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3388 2005-02-21 Mark Wielaard <mark@klomp.org>
3390 * java/text/SimpleDateFormat.java
3391 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3392 NullPointerException when formatData is null.
3394 2005-02-21 Mark Wielaard <mark@klomp.org>
3396 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3397 taking dstSavings into account.
3399 2005-02-21 Sven de Marothy <sven@physto.se>
3401 * java/text/SimpleDateFormat.java,
3402 (parse): Set correct DST_OFFSET to the correct value.
3404 2005-02-21 Mark Wielaard <mark@klomp.org>
3406 * java/util/SimpleTimeZone.java (checkRule): Throw
3407 IllegalArgumentException when month out of range.
3409 2005-02-21 Sven de Marothy <sven@physto.se>
3411 * java/util/GregorianCalendar.java,
3412 (add): Don't set fields directly anymore. Use set()
3414 2005-02-21 Mark Wielaard <mark@klomp.org>
3416 * java/text/SimpleDateFormat.java (CompiledField.toString):
3417 Use StringBuffer, not StringBuilder.
3418 (toString): Likewise.
3420 2005-02-21 Sven de Marothy <sven@physto.se>
3422 * java/util/Calendar.java
3423 (clear): Dates should clear to local time.
3424 * java/util/GregorianCalendar.java
3425 (computeTime): Fix priority problem with DAY_OF_WEEK,
3426 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3428 2005-02-21 Sven de Marothy <sven@physto.se>
3430 * java/util/Calendar.java
3431 (Calendar): Constructor should clear fields.
3433 2005-02-21 Sven de Marothy <sven@physto.se>
3435 * java/text/SimpleDateFormat.java
3436 (parse): Tweak handling of 2-year dates
3437 * java/util/Calendar.java
3438 (clear): Clear fields to correct value.
3439 * java/util/GregorianCalendar.java
3440 (computeTime): Correct handling of time zones.
3441 Correct field minimum values.
3443 2005-02-21 Sven de Marothy <sven@physto.se>
3445 * java/util/Calendar.java
3446 (set) Invalidate all fields on first call to set().
3448 2005-02-21 Sven de Marothy <sven@physto.se>
3450 * java/util/GregorianCalendar.java
3451 (computeTime): Fixed handling of time zones.
3453 2005-02-21 Sven de Marothy <sven@physto.se>
3455 * java/util/Calendar.java
3456 (clear): Set values to Epoch instead of zero.
3457 (set): Set isSet to the relevant field pattern instead of just
3459 * java/util/GregorianCalendar.java
3460 (getBundle): Removed.
3461 (getDayOfYear): Removed.
3462 (getFirstDayOfMonth): New private method.
3463 (nonLeniencyCheck): New private method.
3464 (computeTime): Correct handling of insufficient data.
3466 2005-02-21 Sven de Marothy <sven@physto.se>
3468 * java/util/Calendar.java: Invalidate ERA field on setting
3470 * java/util/SimpleTimeZone.java:
3471 (getDaysInMonth): Reimplemented.
3472 * java/util/GregorianCalendar.java:
3473 (getLinearTime): Removed.
3474 (isLeapYear(int,boolean)): Removed.
3475 (before(), after()): Removed.
3476 (computeTime): Reimplemented.
3478 2005-02-21 Sven de Marothy <sven@physto.se>
3480 * java/util/Calendar.java: Reformatted.
3481 * java/util/GregorianCalendar.java: Reformatted.
3482 * java/util/SimpleTimeZone.java: Reformatted.
3484 2005-02-21 Sven de Marothy <sven@physto.se>
3486 * java/util/GregorianCalendar.java
3487 (GregorianCalendar): Update fields in the constructor
3489 2005-02-21 Noa Resare <noa@resare.com>
3491 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3492 (set(int,int)): Set and use new field.
3493 (set(int,int,int)): Check new field.
3495 2005-02-21 Noa Resare <address@hidden>
3497 * java/util/Calendar.java(set):
3498 Fix for DST related regression.
3500 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3502 * java/util/Calendar.java
3503 (setTimeInMillis): Added call to clear, removed computeFields call.
3504 * java/util/Date.java
3505 (Date(int,int,int,int,int,int)): Removed workaround for
3506 GregorianCalendar bug.
3507 * java/util/GregorianCalendar.java
3508 (GregorianCalendar): Chained all constructors to a (new)
3510 (computeTime): Fixed support for lenient month treatment.
3511 (getLinearDay): Return long instead of int.
3512 (calculateDay): Added fields argument and changed day argument
3515 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3517 * java/text/SimpleDateFormat.java
3518 Lots of documentation updates.
3519 (readObject(java.io.ObjectInputStream)): Wraps
3520 IllegalArgumentException as specified.
3521 (compileFormat(String)): Uses standardChars
3522 rather than the local pattern characters.
3523 Throws IllegalArgumentException rather than
3525 (toString()): Extended to include all variables
3527 (translateLocalizedPattern(String, String, String)):
3528 Renamed to better define the use of this method.
3530 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3532 * java/text/DateFormat.java:
3533 Documented pattern character offset constants and
3535 (Field): Added new static fields for new pattern chars.
3536 * java/text/SimpleDateFormat.java:
3537 (CompiledField): Changed name of FieldSizePair class
3538 to CompiledField after adding the character as an
3539 attribute. Changed fields to private and added
3540 accessors to give encapsulation.
3541 (CompiledField.CompiledField(int,int,char)): Extended
3542 with character field.
3543 (CompiledField.getField()): New accessor method.
3544 (CompiledField.getSize()): New acceessor method.
3545 (CompiledField.getCharacter()): New accessor method.
3546 (CompiledField.toString()): Added primarily for debugging.
3547 (standardChars): Now uses extended 24 character sequence.
3548 (compileFormat(String)): Changed to use CompiledField.
3549 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3550 java.text.FieldPosition)): Changed to use CompiledField.
3551 New handler for RFC 822 timezones added.
3553 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3555 * java/text/SimpleDateFormat.java:
3556 (parse(String, java.text.ParsePosition)):
3557 Changed 'E' and 'M' cases to use both
3558 short and long names. Extended 'z'
3559 case to also handle 'Z', and deal
3560 with simple GMT offsets such as +0100.
3561 (computeOffset(String)): New private method,
3562 which converts a GMT offset specification,
3563 such as GMT-0500 to a numeric offset in
3565 * java/util/TimeZone.java:
3566 (timezones()): Added "CEST", the daylight
3567 savings time version of "CET", or Central
3570 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3572 * java/text/SimpleDateFormat.java:
3573 (parse): Set the DST offset to 0 when parsing
3574 GMT offset timezones.
3576 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3578 * java/text/SimpleDateFormat.java:
3579 (parse): Use offset to set ZONE_OFFSET
3580 rather than the DST_OFFSET, so that
3581 GMT offset timezones change the right
3584 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3586 * java/text/SimpleDateFormat.java:
3587 (getDateFormatSymbols()): return a copy
3588 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3589 throw exception on null input
3590 (clone()): implemented to clone
3593 2005-02-21 Sven de Marothy <sven@physto.se>
3595 * java/text/SimpleDateFormat.java
3596 (parse): comparison should be case-insensitive, ignore null
3599 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3601 * gnu/java/beans/IntrospectionIncubator.java
3602 (addMethod) Reverts the patch that ntroduced a regression (see bug
3603 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3605 2005-02-21 Michael Koch <konqueror@gmx.de>
3607 * java/awt/Checkbox.java
3608 (next_checkbox_number): New static variable.
3609 (generateName): New method.
3610 (getUniqueLong): Likewise.
3611 * java/awt/Window.java
3612 (next_window_number): New static variable.
3613 (generateName): New method.
3614 (getUniqueLong): Likewise.
3616 2005-02-21 Mark Wielaard <mark@klomp.org>
3618 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3621 2005-02-21 Andrew Haley <aph@redhat.com>
3623 * Makefile.in: Rebuilt.
3624 * Makefile.am (nat_source_files): Added natLogger.cc.
3625 * java/util/logging/natLogger.cc: New file.
3626 * java/util/logging/Logger.java (getCallerStackFrame): Now
3629 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3631 * Makefile.am (all_property_files): Remove left over.
3632 (classes.stamp): Add stamp for the ONESTEP build, also known as
3633 --enable-libgcj-multifile.
3634 * Makefile.in: Regenerated.
3636 2005-02-21 Michael Koch <konqueror@gmx.de>
3638 * java/awt/Button.java,
3639 java/awt/Container.java,
3641 java/awt/Frame.java,
3642 java/text/CollationElementIterator.java,
3643 java/text/RuleBasedCollator.java,
3644 java/util/PropertyPermission.java:
3645 Fixed formatting issues all over.
3647 2005-02-21 Mark Wielaard <mark@klomp.org>
3649 * java/io/FileDescriptor.java (sync): Add real exception to
3650 SyncFailedException.
3652 2005-02-21 Michael Koch <konqueror@gmx.de>
3654 * java/io/InputStreamReader.java:
3657 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3660 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3662 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3664 * libraries/javalib/gnu/regexp/RE.java,
3665 libraries/javalib/java/io/ObjectInputStream.java,
3666 libraries/javalib/java/security/AllPermission.java,
3667 libraries/javalib/java/security/BasicPermission.java,
3668 libraries/javalib/java/security/Permissions.java,
3669 libraries/javalib/java/text/MessageFormat.java:
3670 Made 'inner' classes real public static inner classes,
3671 and made them final where possible, or removed them
3674 2005-02-20 Michael Koch <konqueror@gmx.de>
3676 * gnu/java/text/FormatCharacterIterator.java:
3677 Removed redundant modifiers.
3679 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3681 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3684 2005-02-19 Michael Koch <konqueror@gmx.de>
3686 * Makefile.am: Added new files in gnu/java/beans and
3687 java/beans/XMLDecoder.java.
3688 * Makefile.in: Regenerated.
3690 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3692 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3693 assignment behavior by using java.lang.reflect.Array.set()
3696 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3698 * gnu/java/beans/EmptyBeanInfo.java,
3699 gnu/java/beans/info/ComponentBeanInfo.java:
3700 Removed unused files.
3702 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3704 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3705 of AppletStub for java.beans.Beans.instantiate.
3706 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3708 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3709 to be conformant with Javadoc guidelines.
3710 (instantiate): Added two more overloaded variants, reworked user
3711 documentation, fixed exception behavior, fixed behavior when
3714 2005-02-19 Mark Wielaard <mark@klomp.org>
3716 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3718 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3720 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3722 * gnu/java/beans/decoder/AbstractContext.java,
3723 gnu/java/beans/decoder/AbstractCreatableContext.java,
3724 gnu/java/beans/decoder/AbstractElementHandler.java,
3725 gnu/java/beans/decoder/AbstractObjectContext.java,
3726 gnu/java/beans/decoder/ArrayContext.java,
3727 gnu/java/beans/decoder/ArrayHandler.java,
3728 gnu/java/beans/decoder/AssemblyException.java,
3729 gnu/java/beans/decoder/BooleanHandler.java,
3730 gnu/java/beans/decoder/ByteHandler.java,
3731 gnu/java/beans/decoder/CharHandler.java,
3732 gnu/java/beans/decoder/ClassHandler.java,
3733 gnu/java/beans/decoder/ConstructorContext.java,
3734 gnu/java/beans/decoder/Context.java,
3735 gnu/java/beans/decoder/DecoderContext.java,
3736 gnu/java/beans/decoder/DefaultExceptionListener.java,
3737 gnu/java/beans/decoder/DoubleHandler.java,
3738 gnu/java/beans/decoder/DummyContext.java,
3739 gnu/java/beans/decoder/DummyHandler.java,
3740 gnu/java/beans/decoder/ElementHandler.java,
3741 gnu/java/beans/decoder/FloatHandler.java,
3742 gnu/java/beans/decoder/GrowableArrayContext.java,
3743 gnu/java/beans/decoder/IndexContext.java,
3744 gnu/java/beans/decoder/IntHandler.java,
3745 gnu/java/beans/decoder/JavaHandler.java,
3746 gnu/java/beans/decoder/LongHandler.java,
3747 gnu/java/beans/decoder/MethodContext.java,
3748 gnu/java/beans/decoder/MethodFinder.java,
3749 gnu/java/beans/decoder/NullHandler.java,
3750 gnu/java/beans/decoder/ObjectContext.java,
3751 gnu/java/beans/decoder/ObjectHandler.java,
3752 gnu/java/beans/decoder/PersistenceParser.java,
3753 gnu/java/beans/decoder/PropertyContext.java,
3754 gnu/java/beans/decoder/ShortHandler.java,
3755 gnu/java/beans/decoder/SimpleHandler.java,
3756 gnu/java/beans/decoder/StaticMethodContext.java,
3757 gnu/java/beans/decoder/StringHandler.java,
3758 gnu/java/beans/decoder/VoidHandler.java: New class
3759 implementing java.beans.XMLDecoder decoding functionality.
3760 * java/beans/XMLDecoder.java: New class.
3762 2005-02-19 Michael Koch <konqueror@gmx.de>
3764 * javax/swing/JTextField.java
3765 (notfiyAction): Added javadoc.
3767 2005-02-19 Sven de Marothy <sven@physto.se>
3769 * javax/swing/SpinnerDateModel.java: Implemented.
3771 2005-02-19 Michael Koch <konqueror@gmx.de>
3773 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3774 * Makefile.in: Regenerated.
3776 2005-02-19 Michael Koch <konqueror@gmx.de>
3778 * gnu/java/nio/SelectorImpl.java:
3779 Reworked import statements.
3780 (register): Removed unused code.
3781 * java/nio/channels/Channels.java: Reformatted.
3782 * java/nio/charset/Charset.java: Likewise.
3783 * java/rmi/server/RemoteObject.java
3784 (serialVersionUID): Made private.
3785 * java/rmi/server/UID.java
3786 (serialVersionUID): Likewise.
3788 2005-02-19 Michael Koch <konqueror@gmx.de>
3790 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3791 gnu/java/net/protocol/ftp/BlockInputStream.java,
3792 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3793 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3794 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3795 gnu/java/net/protocol/ftp/DTPInputStream.java,
3796 gnu/java/net/protocol/ftp/DTP.java,
3797 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3798 gnu/java/net/protocol/ftp/FTPConnection.java,
3799 gnu/java/net/protocol/ftp/FTPException.java,
3800 gnu/java/net/protocol/ftp/FTPResponse.java,
3801 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3802 gnu/java/net/protocol/ftp/Handler.java,
3803 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3804 gnu/java/net/protocol/ftp/StreamInputStream.java,
3805 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3806 gnu/java/net/CRLFInputStream.java,
3807 gnu/java/net/CRLFOutputStream.java,
3808 gnu/java/net/GetLocalHostAction.java,
3809 gnu/java/net/protocol/ftp/package.html: New files.
3810 * Makefile.am: Added new files.
3811 * Makefile.in: Regenerated.
3813 2005-02-18 Tom Tromey <tromey@redhat.com>
3815 * link.cc (make_vtable): Remove abstract method check.
3816 (append_partial_itable): Likewise.
3819 * verify.cc (type::equals): Fixed test.
3820 * testsuite/libjava.lang/PR20056.out: New file.
3821 * testsuite/libjava.lang/PR20056.java: New file.
3823 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3825 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3826 not the HashEntry. Reported by Jean-Marie White.
3828 2005-02-18 Tom Tromey <tromey@redhat.com>
3831 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3832 * link.cc (has_field_p): New function.
3833 * verify.cc (check_field_constant): Added 'putfield' argument.
3834 (verify_instructions_0): Updated.
3835 (type::equals): New method.
3837 2005-02-18 Anthony Green <green@redhat.com>
3839 * NEWS: Draft of libgcj NEWS for 4.0.
3841 2005-02-18 Anthony Green <green@redhat.com>
3843 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3844 architecture names to "i386" for compatibility reasons. Win32
3847 2005-02-18 Anthony Green <green@redhat.com>
3849 * gij.cc (version): Change year for '--version' to 2005.
3850 * gnu/gcj/convert/Convert.java: Ditto.
3851 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3852 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3854 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3855 recent copyright year in `--version' output.
3857 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3859 * java/nio/charset/Charset.java (forName): Throws
3860 IllegalArgumentException when argument is null
3861 and added documentation.
3863 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3865 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3866 Move the position of the source buffer forward.
3868 2005-02-17 Tom Tromey <tromey@redhat.com>
3870 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3871 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3872 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3873 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3874 Changed type of second argument. Rewrote.
3875 (make_vtable): Use it.
3876 (append_partial_itable): Updated.
3877 (layout_vtable_methods): Updated.
3879 2005-02-17 Michael Koch <konqueror@gmx.de>
3881 * gnu/java/net/PlainSocketImpl.java
3882 (shutdownInput): Added javadoc.
3883 (shutdownOutput): Likewise.
3885 2005-02-17 Michael Koch <konqueror@gmx.de>
3887 * javax/print/attribute/standard/Chromaticity.java,
3888 javax/print/attribute/standard/Destination.java,
3889 javax/print/attribute/standard/MediaPrintableArea.java,
3890 javax/print/attribute/standard/MediaSize.java: New files.
3891 * Makefile.am: Added new files.
3892 * Makefile.in: Regenerated.
3894 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3895 Michael Koch <konqueror@gmx.de>
3897 * gnu/java/net/protocol/http/Cookie.java,
3898 gnu/java/net/protocol/http/HTTPConnection.java,
3899 gnu/java/net/protocol/http/HTTPDateFormat.java,
3900 gnu/java/net/protocol/http/Request.java,
3901 gnu/java/nio/PipeImpl.java,
3902 gnu/java/rmi/dgc/DGCImpl.java,
3903 gnu/java/rmi/server/ConnectionRunnerPool.java,
3904 gnu/java/rmi/server/UnicastConnectionManager.java,
3905 gnu/java/security/der/DERWriter.java,
3906 gnu/java/security/pkcs/SignerInfo.java,
3907 gnu/java/security/provider/EncodedKeyFactory.java,
3908 gnu/java/security/provider/GnuDHPublicKey.java,
3909 gnu/java/security/provider/GnuDSAPrivateKey.java,
3910 gnu/java/security/provider/GnuDSAPublicKey.java,
3911 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3912 gnu/java/security/x509/X500DistinguishedName.java,
3913 gnu/java/security/x509/X509CRL.java,
3914 gnu/java/security/x509/X509CRLEntry.java,
3915 gnu/java/security/x509/X509Certificate.java,
3916 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3917 gnu/java/security/x509/ext/CertificatePolicies.java,
3918 gnu/java/security/x509/ext/PolicyConstraint.java,
3919 gnu/xml/dom/Consumer.java,
3920 gnu/xml/dom/DomCharacterData.java,
3921 gnu/xml/dom/DomDocument.java,
3922 gnu/xml/dom/DomDocumentBuilder.java,
3923 gnu/xml/dom/DomIterator.java,
3924 gnu/xml/dom/DomNode.java,
3925 gnu/xml/dom/DomXPathExpression.java,
3926 gnu/xml/dom/DomXPathResult.java,
3927 gnu/xml/dom/JAXPFactory.java,
3928 gnu/xml/pipeline/CallFilter.java,
3929 gnu/xml/pipeline/DomConsumer.java,
3930 gnu/xml/pipeline/LinkFilter.java,
3931 gnu/xml/pipeline/NSFilter.java,
3932 gnu/xml/pipeline/TeeConsumer.java,
3933 gnu/xml/pipeline/ValidationConsumer.java,
3934 gnu/xml/pipeline/WellFormednessFilter.java,
3935 gnu/xml/pipeline/XIncludeFilter.java,
3936 gnu/xml/pipeline/XsltFilter.java,
3937 gnu/xml/transform/ApplyImportsNode.java,
3938 gnu/xml/transform/Bindings.java,
3939 gnu/xml/transform/DocumentFunction.java,
3940 gnu/xml/transform/FormatNumberFunction.java,
3941 gnu/xml/transform/NodeNumberNode.java,
3942 gnu/xml/transform/NumberNode.java,
3943 gnu/xml/transform/Stylesheet.java,
3944 gnu/xml/transform/SystemPropertyFunction.java,
3945 gnu/xml/transform/Template.java,
3946 gnu/xml/transform/TemplatesImpl.java,
3947 gnu/xml/transform/TransformerImpl.java,
3948 gnu/xml/transform/ValueOfNode.java,
3949 gnu/xml/transform/XSLURIResolver.java,
3950 gnu/xml/util/DoParse.java,
3951 gnu/xml/util/Resolver.java,
3952 gnu/xml/xpath/Expr.java,
3953 gnu/xml/xpath/FunctionCall.java,
3954 gnu/xml/xpath/RelationalExpr.java,
3955 gnu/xml/xpath/Selector.java,
3956 gnu/xml/xpath/XPathParser.java:
3957 Reworked import statements, fixed modifier order and some little
3960 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3962 * java/nio/ByteBufferImpl.java (compact):
3963 Set position and limit even if no bytes were moved.
3965 2005-02-17 Michael Koch <konqueror@gmx.de>
3967 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3968 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3969 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3970 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3971 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3972 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3973 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3974 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3975 * java/nio/FloatBufferImpl.java (compact): Set position.
3976 * java/nio/CharBufferImpl.java (compact): Likewise.
3977 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3978 * java/nio/IntBufferImpl.java (compact): Likewise.
3979 * java/nio/LongBufferImpl.java (compact): Likewise.
3980 * java/nio/ShortBufferImpl.java (compact): Likewise.
3982 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3984 * java/nio/ByteBufferImpl.java,
3985 java/nio/CharBufferImpl.java,
3986 java/nio/DirectByteBufferImpl.java,
3987 java/nio/DoubleBufferImpl.java,
3988 java/nio/FloatBufferImpl.java,
3989 java/nio/IntBufferImpl.java,
3990 java/nio/LongBufferImpl.java,
3991 java/nio/MappedByteBufferImpl.java,
3992 java/nio/ShortBufferImpl.java
3993 (compact): Added explicit read-only check and invalidate mark.
3995 2005-02-17 Michael Koch <konqueror@gmx.de>
3997 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3998 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3999 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4000 gnu/java/awt/peer/gtk/GdkGraphics.java,
4001 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4002 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4003 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4004 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4005 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4006 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4007 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4008 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4009 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4010 gnu/java/awt/peer/gtk/GtkClipboard.java,
4011 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4012 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4013 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4014 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4015 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4016 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4017 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4018 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4019 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4020 gnu/java/awt/peer/gtk/GtkToolkit.java,
4021 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4022 java/applet/Applet.java,
4023 java/awt/AWTError.java,
4024 java/awt/AWTEvent.java,
4025 java/awt/AWTEventMulticaster.java,
4026 java/awt/AWTException.java,
4027 java/awt/AWTKeyStroke.java,
4028 java/awt/AWTPermission.java,
4029 java/awt/ActiveEvent.java,
4030 java/awt/Adjustable.java,
4031 java/awt/AlphaComposite.java,
4032 java/awt/AttributeValue.java,
4033 java/awt/BorderLayout.java,
4034 java/awt/BufferCapabilities.java,
4035 java/awt/Button.java,
4036 java/awt/Canvas.java,
4037 java/awt/CheckboxGroup.java,
4038 java/awt/CheckboxMenuItem.java,
4039 java/awt/Color.java,
4040 java/awt/ColorPaintContext.java,
4041 java/awt/Component.java,
4042 java/awt/ComponentOrientation.java,
4043 java/awt/Composite.java,
4044 java/awt/CompositeContext.java,
4045 java/awt/Container.java,
4046 java/awt/ContainerOrderFocusTraversalPolicy.java,
4047 java/awt/DefaultFocusTraversalPolicy.java,
4048 java/awt/Dialog.java,
4049 java/awt/Dimension.java,
4050 java/awt/DisplayMode.java,
4051 java/awt/EventQueue.java,
4052 java/awt/FileDialog.java,
4053 java/awt/FontFormatException.java,
4054 java/awt/Graphics.java,
4055 java/awt/Graphics2D.java,
4056 java/awt/GraphicsConfigTemplate.java,
4057 java/awt/GraphicsConfiguration.java,
4058 java/awt/GraphicsDevice.java,
4059 java/awt/GridBagLayout.java,
4060 java/awt/GridBagLayoutInfo.java,
4061 java/awt/GridLayout.java,
4062 java/awt/HeadlessException.java,
4063 java/awt/IllegalComponentStateException.java,
4064 java/awt/Image.java,
4065 java/awt/Insets.java,
4066 java/awt/ItemSelectable.java,
4067 java/awt/JobAttributes.java,
4068 java/awt/KeyEventDispatcher.java,
4069 java/awt/KeyEventPostProcessor.java,
4070 java/awt/KeyboardFocusManager.java,
4071 java/awt/Label.java,
4072 java/awt/LayoutManager.java,
4073 java/awt/MenuBar.java,
4074 java/awt/MenuComponent.java,
4075 java/awt/MenuContainer.java,
4076 java/awt/PageAttributes.java,
4077 java/awt/Paint.java,
4078 java/awt/PaintContext.java,
4079 java/awt/Panel.java,
4080 java/awt/Point.java,
4081 java/awt/Polygon.java,
4082 java/awt/PrintGraphics.java,
4083 java/awt/PrintJob.java,
4084 java/awt/Rectangle.java,
4085 java/awt/RenderingHints.java,
4086 java/awt/Shape.java,
4087 java/awt/Stroke.java,
4088 java/awt/SystemColor.java,
4089 java/awt/Toolkit.java,
4090 java/awt/Transparency.java,
4091 java/awt/Window.java,
4092 java/awt/color/CMMException.java,
4093 java/awt/color/ColorSpace.java,
4094 java/awt/color/ICC_ColorSpace.java,
4095 java/awt/color/ICC_Profile.java,
4096 java/awt/color/ProfileDataException.java,
4097 java/awt/datatransfer/FlavorTable.java,
4098 java/awt/datatransfer/MimeTypeParseException.java,
4099 java/awt/datatransfer/Transferable.java,
4100 java/awt/datatransfer/UnsupportedFlavorException.java,
4101 java/awt/dnd/Autoscroll.java,
4102 java/awt/dnd/DnDConstants.java,
4103 java/awt/dnd/DragGestureListener.java,
4104 java/awt/dnd/DragSourceAdapter.java,
4105 java/awt/dnd/DragSourceDropEvent.java,
4106 java/awt/dnd/DragSourceListener.java,
4107 java/awt/dnd/DragSourceMotionListener.java,
4108 java/awt/dnd/DropTargetAdapter.java,
4109 java/awt/dnd/DropTargetContext.java,
4110 java/awt/dnd/DropTargetListener.java,
4111 java/awt/dnd/InvalidDnDOperationException.java,
4112 java/awt/dnd/MouseDragGestureRecognizer.java,
4113 java/awt/dnd/peer/DropTargetContextPeer.java,
4114 java/awt/event/AWTEventListener.java,
4115 java/awt/event/AWTEventListenerProxy.java,
4116 java/awt/event/ActionEvent.java,
4117 java/awt/event/AdjustmentEvent.java,
4118 java/awt/event/AdjustmentListener.java,
4119 java/awt/event/ComponentAdapter.java,
4120 java/awt/event/ComponentEvent.java,
4121 java/awt/event/ComponentListener.java,
4122 java/awt/event/ContainerAdapter.java,
4123 java/awt/event/ContainerEvent.java,
4124 java/awt/event/ContainerListener.java,
4125 java/awt/event/FocusAdapter.java,
4126 java/awt/event/FocusEvent.java,
4127 java/awt/event/FocusListener.java,
4128 java/awt/event/InputEvent.java,
4129 java/awt/event/InputMethodEvent.java,
4130 java/awt/event/InputMethodListener.java,
4131 java/awt/event/InvocationEvent.java,
4132 java/awt/event/ItemEvent.java,
4133 java/awt/event/ItemListener.java,
4134 java/awt/event/KeyAdapter.java,
4135 java/awt/event/KeyEvent.java,
4136 java/awt/event/KeyListener.java,
4137 java/awt/event/MouseAdapter.java,
4138 java/awt/event/MouseEvent.java,
4139 java/awt/event/MouseListener.java,
4140 java/awt/event/MouseMotionAdapter.java,
4141 java/awt/event/MouseMotionListener.java,
4142 java/awt/event/MouseWheelEvent.java,
4143 java/awt/event/MouseWheelListener.java,
4144 java/awt/event/PaintEvent.java,
4145 java/awt/event/TextEvent.java,
4146 java/awt/event/TextListener.java,
4147 java/awt/event/WindowAdapter.java,
4148 java/awt/event/WindowEvent.java,
4149 java/awt/event/WindowFocusListener.java,
4150 java/awt/event/WindowListener.java,
4151 java/awt/event/WindowStateListener.java,
4152 java/awt/font/TextHitInfo.java,
4153 java/awt/geom/CubicCurve2D.java,
4154 java/awt/geom/Dimension2D.java,
4155 java/awt/geom/Ellipse2D.java,
4156 java/awt/geom/IllegalPathStateException.java,
4157 java/awt/geom/Line2D.java,
4158 java/awt/geom/NoninvertibleTransformException.java,
4159 java/awt/geom/PathIterator.java,
4160 java/awt/geom/Point2D.java,
4161 java/awt/geom/QuadCurve2D.java,
4162 java/awt/geom/RectangularShape.java,
4163 java/awt/geom/RoundRectangle2D.java,
4164 java/awt/im/InputContext.java,
4165 java/awt/im/InputMethodHighlight.java,
4166 java/awt/im/InputMethodRequests.java,
4167 java/awt/im/InputSubset.java,
4168 java/awt/im/spi/InputMethod.java,
4169 java/awt/im/spi/InputMethodDescriptor.java,
4170 java/awt/image/BandCombineOp.java,
4171 java/awt/image/BandedSampleModel.java,
4172 java/awt/image/ByteLookupTable.java,
4173 java/awt/image/ComponentSampleModel.java,
4174 java/awt/image/DataBuffer.java,
4175 java/awt/image/DataBufferByte.java,
4176 java/awt/image/DataBufferDouble.java,
4177 java/awt/image/DataBufferFloat.java,
4178 java/awt/image/DataBufferInt.java,
4179 java/awt/image/DataBufferShort.java,
4180 java/awt/image/DataBufferUShort.java,
4181 java/awt/image/ImagingOpException.java,
4182 java/awt/image/Kernel.java,
4183 java/awt/image/LookupTable.java,
4184 java/awt/image/MultiPixelPackedSampleModel.java,
4185 java/awt/image/PackedColorModel.java,
4186 java/awt/image/PixelInterleavedSampleModel.java,
4187 java/awt/image/RGBImageFilter.java,
4188 java/awt/image/Raster.java,
4189 java/awt/image/RasterFormatException.java,
4190 java/awt/image/SampleModel.java,
4191 java/awt/image/ShortLookupTable.java,
4192 java/awt/image/SinglePixelPackedSampleModel.java,
4193 java/awt/image/WritableRaster.java,
4194 java/awt/print/PrinterAbortException.java,
4195 java/awt/print/PrinterException.java,
4196 java/awt/print/PrinterIOException.java,
4197 java/beans/AppletInitializer.java,
4198 java/beans/ExceptionListener.java,
4199 java/beans/PropertyChangeEvent.java,
4200 java/beans/PropertyChangeListenerProxy.java,
4201 java/beans/PropertyChangeSupport.java,
4202 java/beans/PropertyDescriptor.java,
4203 java/beans/VetoableChangeListenerProxy.java,
4204 java/beans/VetoableChangeSupport.java,
4205 java/io/BufferedReader.java,
4206 java/io/ByteArrayInputStream.java,
4207 java/io/ByteArrayOutputStream.java,
4208 java/io/CharArrayReader.java,
4209 java/io/CharArrayWriter.java,
4210 java/io/CharConversionException.java,
4211 java/io/DataInput.java,
4212 java/io/DataInputStream.java,
4213 java/io/DataOutput.java,
4214 java/io/DataOutputStream.java,
4215 java/io/EOFException.java,
4216 java/io/FileInputStream.java,
4217 java/io/FileNotFoundException.java,
4218 java/io/FileOutputStream.java,
4219 java/io/FilenameFilter.java,
4220 java/io/FilterInputStream.java,
4221 java/io/FilterOutputStream.java,
4222 java/io/FilterReader.java,
4223 java/io/FilterWriter.java,
4224 java/io/IOException.java,
4225 java/io/InputStream.java,
4226 java/io/InterruptedIOException.java,
4227 java/io/LineNumberInputStream.java,
4228 java/io/LineNumberReader.java,
4229 java/io/ObjectInputStream.java,
4230 java/io/ObjectStreamException.java,
4231 java/io/OptionalDataException.java,
4232 java/io/OutputStream.java,
4233 java/io/OutputStreamWriter.java,
4234 java/io/PrintStream.java,
4235 java/io/PrintWriter.java,
4236 java/io/PushbackInputStream.java,
4237 java/io/PushbackReader.java,
4238 java/io/RandomAccessFile.java,
4239 java/io/Reader.java,
4240 java/io/SequenceInputStream.java,
4241 java/io/Serializable.java,
4242 java/io/StreamCorruptedException.java,
4243 java/io/StreamTokenizer.java,
4244 java/io/StringBufferInputStream.java,
4245 java/io/StringWriter.java,
4246 java/io/SyncFailedException.java,
4247 java/io/UTFDataFormatException.java,
4248 java/io/UnsupportedEncodingException.java,
4249 java/io/WriteAbortedException.java,
4250 java/io/Writer.java,
4251 java/lang/AbstractMethodError.java,
4252 java/lang/ArithmeticException.java,
4253 java/lang/ArrayIndexOutOfBoundsException.java,
4254 java/lang/ArrayStoreException.java,
4255 java/lang/AssertionError.java,
4256 java/lang/Boolean.java,
4257 java/lang/Byte.java,
4258 java/lang/Class.java,
4259 java/lang/ClassCastException.java,
4260 java/lang/ClassCircularityError.java,
4261 java/lang/ClassLoader.java,
4262 java/lang/ClassNotFoundException.java,
4263 java/lang/CloneNotSupportedException.java,
4264 java/lang/Cloneable.java,
4265 java/lang/Comparable.java,
4266 java/lang/Compiler.java,
4267 java/lang/Double.java,
4268 java/lang/Error.java,
4269 java/lang/Exception.java,
4270 java/lang/ExceptionInInitializerError.java,
4271 java/lang/Float.java,
4272 java/lang/IllegalAccessError.java,
4273 java/lang/IllegalAccessException.java,
4274 java/lang/IllegalArgumentException.java,
4275 java/lang/IllegalMonitorStateException.java,
4276 java/lang/IllegalStateException.java,
4277 java/lang/IllegalThreadStateException.java,
4278 java/lang/IncompatibleClassChangeError.java,
4279 java/lang/IndexOutOfBoundsException.java,
4280 java/lang/InheritableThreadLocal.java,
4281 java/lang/InstantiationError.java,
4282 java/lang/InstantiationException.java,
4283 java/lang/Integer.java,
4284 java/lang/InternalError.java,
4285 java/lang/InterruptedException.java,
4286 java/lang/LinkageError.java,
4287 java/lang/Long.java,
4288 java/lang/NegativeArraySizeException.java,
4289 java/lang/NoClassDefFoundError.java,
4290 java/lang/NoSuchFieldError.java,
4291 java/lang/NoSuchFieldException.java,
4292 java/lang/NoSuchMethodError.java,
4293 java/lang/NoSuchMethodException.java,
4294 java/lang/NullPointerException.java,
4295 java/lang/Number.java,
4296 java/lang/NumberFormatException.java,
4297 java/lang/OutOfMemoryError.java,
4298 java/lang/Process.java,
4299 java/lang/Runnable.java,
4300 java/lang/Runtime.java,
4301 java/lang/RuntimeException.java,
4302 java/lang/RuntimePermission.java,
4303 java/lang/SecurityException.java,
4304 java/lang/SecurityManager.java,
4305 java/lang/Short.java,
4306 java/lang/StackOverflowError.java,
4307 java/lang/StackTraceElement.java,
4308 java/lang/StringBuffer.java,
4309 java/lang/StringIndexOutOfBoundsException.java,
4310 java/lang/ThreadDeath.java,
4311 java/lang/ThreadGroup.java,
4312 java/lang/Throwable.java,
4313 java/lang/UnsatisfiedLinkError.java,
4314 java/lang/UnsupportedOperationException.java,
4315 java/lang/VerifyError.java,
4316 java/lang/VirtualMachineError.java,
4317 java/lang/reflect/AccessibleObject.java,
4318 java/lang/reflect/Array.java,
4319 java/lang/reflect/InvocationTargetException.java,
4320 java/lang/reflect/Member.java,
4321 java/lang/reflect/Modifier.java,
4322 java/lang/reflect/Proxy.java,
4323 java/lang/reflect/ReflectPermission.java,
4324 java/lang/reflect/UndeclaredThrowableException.java,
4325 java/math/BigInteger.java,
4326 java/net/NetworkInterface.java,
4327 java/nio/ByteBufferHelper.java,
4328 java/nio/ByteBufferImpl.java,
4329 java/nio/DirectByteBufferImpl.java,
4330 java/nio/DoubleBufferImpl.java,
4331 java/nio/FloatBufferImpl.java,
4332 java/nio/IntBufferImpl.java,
4333 java/nio/LongBufferImpl.java,
4334 java/nio/ShortBufferImpl.java,
4335 java/nio/channels/Channel.java,
4336 java/nio/channels/IllegalBlockingModeException.java,
4337 java/nio/charset/spi/CharsetProvider.java,
4338 java/security/AccessControlException.java,
4339 java/security/BasicPermission.java,
4340 java/security/DigestException.java,
4341 java/security/DigestInputStream.java,
4342 java/security/DigestOutputStream.java,
4343 java/security/GeneralSecurityException.java,
4344 java/security/Guard.java,
4345 java/security/GuardedObject.java,
4346 java/security/InvalidAlgorithmParameterException.java,
4347 java/security/InvalidKeyException.java,
4348 java/security/InvalidParameterException.java,
4349 java/security/Key.java,
4350 java/security/KeyException.java,
4351 java/security/KeyManagementException.java,
4352 java/security/KeyStoreException.java,
4353 java/security/MessageDigestSpi.java,
4354 java/security/NoSuchAlgorithmException.java,
4355 java/security/NoSuchProviderException.java,
4356 java/security/Permission.java,
4357 java/security/PermissionCollection.java,
4358 java/security/Permissions.java,
4359 java/security/Principal.java,
4360 java/security/PrivateKey.java,
4361 java/security/PrivilegedActionException.java,
4362 java/security/ProviderException.java,
4363 java/security/PublicKey.java,
4364 java/security/SecureRandom.java,
4365 java/security/SecureRandomSpi.java,
4366 java/security/SignatureException.java,
4367 java/security/SignatureSpi.java,
4368 java/security/SignedObject.java,
4369 java/security/Signer.java,
4370 java/security/UnrecoverableKeyException.java,
4371 java/security/UnresolvedPermission.java,
4372 java/security/acl/AclNotFoundException.java,
4373 java/security/acl/LastOwnerException.java,
4374 java/security/acl/NotOwnerException.java,
4375 java/security/cert/CertPath.java,
4376 java/security/cert/CertPathBuilderException.java,
4377 java/security/cert/CertPathValidatorException.java,
4378 java/security/cert/CertStoreException.java,
4379 java/text/BreakIterator.java,
4380 java/text/ChoiceFormat.java,
4381 java/text/CollationElementIterator.java,
4382 java/text/CollationKey.java,
4383 java/text/Collator.java,
4384 java/text/DateFormat.java,
4385 java/text/DateFormatSymbols.java,
4386 java/text/DecimalFormat.java,
4387 java/text/DecimalFormatSymbols.java,
4388 java/text/FieldPosition.java,
4389 java/text/Format.java,
4390 java/text/NumberFormat.java,
4391 java/text/ParseException.java,
4392 java/text/ParsePosition.java,
4393 java/text/StringCharacterIterator.java,
4394 java/util/AbstractCollection.java,
4395 java/util/AbstractList.java,
4396 java/util/AbstractMap.java,
4397 java/util/AbstractSequentialList.java,
4398 java/util/AbstractSet.java,
4399 java/util/ArrayList.java,
4400 java/util/Arrays.java,
4401 java/util/BitSet.java,
4402 java/util/Collection.java,
4403 java/util/Collections.java,
4404 java/util/Comparator.java,
4405 java/util/ConcurrentModificationException.java,
4406 java/util/Currency.java,
4407 java/util/Date.java,
4408 java/util/EmptyStackException.java,
4409 java/util/Enumeration.java,
4410 java/util/EventListener.java,
4411 java/util/EventListenerProxy.java,
4412 java/util/EventObject.java,
4413 java/util/HashMap.java,
4414 java/util/HashSet.java,
4415 java/util/Hashtable.java,
4416 java/util/IdentityHashMap.java,
4417 java/util/Iterator.java,
4418 java/util/LinkedHashSet.java,
4419 java/util/LinkedList.java,
4420 java/util/List.java,
4421 java/util/ListIterator.java,
4422 java/util/ListResourceBundle.java,
4424 java/util/MissingResourceException.java,
4425 java/util/NoSuchElementException.java,
4426 java/util/Observable.java,
4427 java/util/Observer.java,
4428 java/util/Properties.java,
4429 java/util/PropertyPermissionCollection.java,
4430 java/util/RandomAccess.java,
4432 java/util/SortedMap.java,
4433 java/util/SortedSet.java,
4434 java/util/Stack.java,
4435 java/util/StringTokenizer.java,
4436 java/util/TooManyListenersException.java,
4437 java/util/TreeMap.java,
4438 java/util/TreeSet.java,
4439 java/util/Vector.java,
4440 java/util/logging/FileHandler.java,
4441 java/util/logging/Level.java,
4442 java/util/prefs/BackingStoreException.java,
4443 java/util/prefs/InvalidPreferencesFormatException.java,
4444 java/util/prefs/Preferences.java,
4445 javax/accessibility/Accessible.java,
4446 javax/accessibility/AccessibleAction.java,
4447 javax/accessibility/AccessibleBundle.java,
4448 javax/accessibility/AccessibleComponent.java,
4449 javax/accessibility/AccessibleContext.java,
4450 javax/accessibility/AccessibleEditableText.java,
4451 javax/accessibility/AccessibleExtendedComponent.java,
4452 javax/accessibility/AccessibleExtendedTable.java,
4453 javax/accessibility/AccessibleHyperlink.java,
4454 javax/accessibility/AccessibleHypertext.java,
4455 javax/accessibility/AccessibleIcon.java,
4456 javax/accessibility/AccessibleKeyBinding.java,
4457 javax/accessibility/AccessibleRelation.java,
4458 javax/accessibility/AccessibleRelationSet.java,
4459 javax/accessibility/AccessibleResourceBundle.java,
4460 javax/accessibility/AccessibleRole.java,
4461 javax/accessibility/AccessibleSelection.java,
4462 javax/accessibility/AccessibleState.java,
4463 javax/accessibility/AccessibleStateSet.java,
4464 javax/accessibility/AccessibleTable.java,
4465 javax/accessibility/AccessibleTableModelChange.java,
4466 javax/accessibility/AccessibleText.java,
4467 javax/accessibility/AccessibleValue.java,
4468 javax/imageio/IIOException.java,
4469 javax/imageio/ImageIO.java,
4470 javax/imageio/spi/IIOServiceProvider.java,
4471 javax/imageio/spi/ImageInputStreamSpi.java,
4472 javax/imageio/spi/ImageOutputStreamSpi.java,
4473 javax/imageio/spi/ImageReaderWriterSpi.java,
4474 javax/imageio/spi/ImageTranscoderSpi.java,
4475 javax/imageio/spi/RegisterableService.java,
4476 javax/imageio/spi/ServiceRegistry.java,
4477 javax/imageio/stream/IIOByteBuffer.java,
4478 javax/imageio/stream/ImageInputStream.java,
4479 javax/imageio/stream/ImageOutputStream.java,
4480 javax/naming/Binding.java,
4481 javax/naming/CannotProceedException.java,
4482 javax/naming/CompositeName.java,
4483 javax/naming/CompoundName.java,
4484 javax/naming/LinkException.java,
4485 javax/naming/LinkRef.java,
4486 javax/naming/NameClassPair.java,
4487 javax/naming/Reference.java,
4488 javax/naming/ReferralException.java,
4489 javax/naming/directory/Attribute.java,
4490 javax/naming/directory/AttributeModificationException.java,
4491 javax/naming/directory/Attributes.java,
4492 javax/naming/directory/DirContext.java,
4493 javax/naming/directory/ModificationItem.java,
4494 javax/naming/directory/SearchControls.java,
4495 javax/naming/directory/SearchResult.java,
4496 javax/naming/event/EventContext.java,
4497 javax/naming/event/EventDirContext.java,
4498 javax/naming/event/NamespaceChangeListener.java,
4499 javax/naming/event/NamingExceptionEvent.java,
4500 javax/naming/event/NamingListener.java,
4501 javax/naming/event/ObjectChangeListener.java,
4502 javax/naming/ldap/Control.java,
4503 javax/naming/ldap/ExtendedResponse.java,
4504 javax/naming/ldap/HasControls.java,
4505 javax/naming/ldap/LdapContext.java,
4506 javax/naming/ldap/UnsolicitedNotification.java,
4507 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4508 javax/naming/ldap/UnsolicitedNotificationListener.java,
4509 javax/naming/spi/DirectoryManager.java,
4510 javax/naming/spi/ResolveResult.java,
4511 javax/naming/spi/Resolver.java,
4512 javax/security/auth/callback/Callback.java,
4513 javax/security/auth/callback/CallbackHandler.java,
4514 javax/security/auth/callback/ChoiceCallback.java,
4515 javax/security/auth/callback/ConfirmationCallback.java,
4516 javax/security/auth/callback/LanguageCallback.java,
4517 javax/security/auth/callback/NameCallback.java,
4518 javax/security/auth/callback/PasswordCallback.java,
4519 javax/security/auth/callback/TextInputCallback.java,
4520 javax/security/auth/callback/TextOutputCallback.java,
4521 javax/security/auth/callback/UnsupportedCallbackException.java,
4522 javax/security/sasl/Sasl.java,
4523 javax/security/sasl/SaslServerFactory.java,
4524 javax/swing/DefaultBoundedRangeModel.java,
4525 javax/swing/JComponent.java,
4526 javax/swing/JList.java,
4527 javax/swing/JProgressBar.java,
4528 javax/swing/JRadioButton.java,
4529 javax/swing/JTextArea.java,
4530 javax/swing/JTextField.java,
4531 javax/swing/JToggleButton.java,
4532 javax/swing/JTree.java,
4533 javax/swing/SpinnerListModel.java,
4534 javax/swing/event/EventListenerList.java,
4535 javax/swing/text/JTextComponent.java,
4536 javax/swing/text/StringContent.java,
4537 javax/swing/text/Utilities.java,
4538 javax/swing/undo/UndoManager.java,
4539 javax/swing/undo/UndoableEditSupport.java,
4540 javax/transaction/HeuristicCommitException.java,
4541 javax/transaction/HeuristicMixedException.java,
4542 javax/transaction/HeuristicRollbackException.java,
4543 javax/transaction/InvalidTransactionException.java,
4544 javax/transaction/NotSupportedException.java,
4545 javax/transaction/RollbackException.java,
4546 javax/transaction/Status.java,
4547 javax/transaction/Synchronization.java,
4548 javax/transaction/SystemException.java,
4549 javax/transaction/Transaction.java,
4550 javax/transaction/TransactionManager.java,
4551 javax/transaction/TransactionRequiredException.java,
4552 javax/transaction/TransactionRolledbackException.java,
4553 javax/transaction/UserTransaction.java,
4554 javax/transaction/xa/XAException.java,
4555 javax/transaction/xa/XAResource.java,
4556 javax/transaction/xa/Xid.java,
4557 javax/xml/XMLConstants.java,
4558 javax/xml/datatype/DatatypeConfigurationException.java,
4559 javax/xml/datatype/DatatypeConstants.java,
4560 javax/xml/datatype/DatatypeFactory.java,
4561 javax/xml/datatype/Duration.java,
4562 javax/xml/datatype/XMLGregorianCalendar.java,
4563 javax/xml/namespace/NamespaceContext.java,
4564 javax/xml/namespace/QName.java,
4565 javax/xml/parsers/DocumentBuilder.java,
4566 javax/xml/parsers/DocumentBuilderFactory.java,
4567 javax/xml/parsers/FactoryConfigurationError.java,
4568 javax/xml/parsers/ParserConfigurationException.java,
4569 javax/xml/parsers/SAXParser.java,
4570 javax/xml/parsers/SAXParserFactory.java,
4571 javax/xml/transform/ErrorListener.java,
4572 javax/xml/transform/OutputKeys.java,
4573 javax/xml/transform/Result.java,
4574 javax/xml/transform/Source.java,
4575 javax/xml/transform/SourceLocator.java,
4576 javax/xml/transform/Templates.java,
4577 javax/xml/transform/Transformer.java,
4578 javax/xml/transform/TransformerConfigurationException.java,
4579 javax/xml/transform/TransformerException.java,
4580 javax/xml/transform/TransformerFactory.java,
4581 javax/xml/transform/TransformerFactoryConfigurationError.java,
4582 javax/xml/transform/URIResolver.java,
4583 javax/xml/transform/dom/DOMLocator.java,
4584 javax/xml/transform/dom/DOMResult.java,
4585 javax/xml/transform/dom/DOMSource.java,
4586 javax/xml/transform/sax/SAXResult.java,
4587 javax/xml/transform/sax/SAXSource.java,
4588 javax/xml/transform/sax/SAXTransformerFactory.java,
4589 javax/xml/transform/sax/TemplatesHandler.java,
4590 javax/xml/transform/sax/TransformerHandler.java,
4591 javax/xml/transform/stream/StreamResult.java,
4592 javax/xml/transform/stream/StreamSource.java,
4593 javax/xml/validation/Schema.java,
4594 javax/xml/validation/SchemaFactory.java,
4595 javax/xml/validation/TypeInfoProvider.java,
4596 javax/xml/validation/Validator.java,
4597 javax/xml/validation/ValidatorHandler.java,
4598 javax/xml/xpath/XPathConstants.java,
4599 javax/xml/xpath/XPathException.java,
4600 javax/xml/xpath/XPathExpression.java,
4601 javax/xml/xpath/XPathExpressionException.java,
4602 javax/xml/xpath/XPathFactory.java,
4603 javax/xml/xpath/XPathFactoryConfigurationException.java,
4604 javax/xml/xpath/XPathFunction.java,
4605 javax/xml/xpath/XPathFunctionException.java,
4606 javax/xml/xpath/XPathFunctionResolver.java:
4607 Fixed usage of @author tag, reworked import statements,
4608 removed CVS tags, changed the modifier order and fixed
4609 HTML usage in javadocs.
4611 2005-02-16 Julian Scheid <julian@sektor37.de>
4613 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4615 (encodeLoop): Likewise.
4617 2005-02-16 Mark Wielaard <mark@klomp.org>
4619 * Makefile.am (ordinary_java_source_files): Add new files
4620 gnu/java/security/ber/BER.java,
4621 gnu/java/security/ber/BEREncodingException.java,
4622 gnu/java/security/ber/BERReader.java,
4623 gnu/java/security/ber/BERValue.java,
4624 gnu/java/security/pkcs/PKCS7SignedData.java and
4625 gnu/java/security/pkcs/SignerInfo.java.
4626 * Makefile.in: Regenerated.
4628 2005-02-16 Casey Marshall <csm@gnu.org>
4630 * gnu/java/security/provider/GnuDSAPrivateKey.java
4631 (encodedKey): new field.
4632 (getFormat): return "PKCS#8".
4633 (getEncoded): implemented.
4634 (toString): check for 'null' values.
4635 * gnu/java/security/provider/GnuDSAPublicKey.java
4636 (encodedKey): new field.
4637 (getFormat): return "X.509".
4638 (getEncoded): implemented.
4639 (toString): check for 'null' values.
4641 2005-02-16 Michael Koch <konqueror@gmx.de>
4643 * java/util/jar/JarFile.java: Imports reworked.
4645 2005-02-16 Mark Wielaard <mark@klomp.org>
4647 * java/util/jar/JarFile.java (verify): Make package private.
4648 (signaturesRead): Likewise.
4649 (verified): Likewise.
4650 (entryCerts): Likewise.
4653 (entries): Construct new JarEnumeration with reference to this.
4654 (JarEnumeration): Make static.
4655 (JarEnumeration.jarfile): New field.
4656 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4657 Compare verified value to Boolean.TRUE or Boolean.False only
4658 when verify is true.
4659 (getEntry): Make synchronized. Compare value of verified to
4661 (getInputStream): Construct EntryInputStream with reference to this.
4662 (getManifest): Make synchronized.
4663 (EntryInputStream): Make static.
4664 (EntryInputStream.jarfile): New field.
4665 (EntryInputStream.EntryInputStream): Check if manifest exists,
4666 before getting attributes.
4667 (eof): Synchronize on jarfile.
4669 2005-02-16 Casey Marshall <csm@gnu.org>
4671 * java/util/jar/JarFile.java (verify): return if the jar is signed
4672 with an unsupported algorithm.
4674 2005-02-16 Mark Wielaard <mark@klomp.org>
4676 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4677 InputStream as argument.
4678 (getInputStream): Construct a new EntryInputStream with the result of
4679 super.getInputStream(entry).
4681 2005-02-16 Casey Marshall <csm@gnu.org>
4683 Signed JAR file support.
4684 * java/net/URLClassLoader.java
4685 (JarURLResource.getCertificates): re-read jar entry to ensure
4686 certificates are picked up.
4687 (findClass): fill in class `signers' field, too.
4688 * java/util/jar/JarFile.java (META_INF): new constant.
4689 (PKCS7_DSA_SUFFIX): new constant.
4690 (PKCS7_RSA_SUFFIX): new constant.
4691 (DIGEST_KEY_SUFFIX): new constant.
4692 (SF_SUFFIX): new constant.
4693 (MD2_OID): new constant.
4694 (MD4_OID): new constant.
4695 (MD5_OID): new constant.
4696 (SHA1_OID): new constant.
4697 (DSA_ENCRYPTION_OID): new constant.
4698 (RSA_ENCRYPTION_OID): new constant.
4699 (signaturesRead): new field.
4700 (verified): new field.
4701 (entryCerts): new field.
4702 (DEBUG): new constant.
4703 (debug): new method.
4704 (JarEnumeration.nextElement): fill in entry certificates, read
4705 signatures if they haven't been read.
4706 (getEntry): likewise.
4707 (getInputStream): verify stream if it hasn't been verified yet.
4708 (readSignatures): new method.
4709 (verify): new method.
4710 (verifyHashes): new method.
4711 (readManifestEntry): new method.
4712 (EntryInputStream): new class.
4713 * gnu/java/io/Base64InputStream.java (decode): new class
4715 * gnu/java/security/der/DERReader.java don't make class
4717 (in): made protected.
4719 (readLength): likewise.
4720 * gnu/java/security/ber/BER.java,
4721 * gnu/java/security/ber/BEREncodingException.java,
4722 * gnu/java/security/ber/BERReader.java,
4723 * gnu/java/security/ber/BERValue.java,
4724 * gnu/java/security/pkcs/PKCS7SignedData.java,
4725 * gnu/java/security/pkcs/SignerInfo.java:
4728 2005-02-16 Tom Tromey <tromey@redhat.com>
4730 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4731 copied file on exit.
4733 2005-02-15 Mark Wielaard <mark@klomp.org>
4735 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4737 2005-02-15 Michael Koch <konqueror@gmx.de>
4739 * gnu/java/awt/peer/gtk/GtkArg.java,
4740 gnu/java/awt/peer/gtk/GtkArgList.java:
4743 2005-02-15 Craig Black <craig.black@aonix.com>
4745 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4746 (postMenuActionEvent): Implement to notify ItemListeners.
4747 * java/awt/CheckboxMenuItem.java
4748 (dispatchEventImpl): Update state on ItemEvent.
4749 * java/awt/MenuItem.java
4750 (processActionEvent): Retarget event source.
4752 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4754 * gnu/java/awt/color/ClutProfileConverter.java,
4755 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4756 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4757 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4758 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4759 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4760 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4761 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4762 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4763 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4764 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4765 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4766 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4767 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4768 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4769 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4770 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4771 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4772 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4773 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4774 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4775 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4776 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4777 gnu/java/awt/peer/gtk/GtkToolkit.java,
4778 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4779 javax/swing/JPopupMenu.java,
4780 javax/swing/JSpinner.java,
4781 javax/swing/SortingFocusTraversalPolicy.java,
4782 javax/swing/SwingUtilities.java,
4783 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4784 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4785 javax/swing/tree/DefaultMutableTreeNode.java:
4786 Removed unused imports and expanded starred
4789 2005-02-15 Mark Wielaard <mark@klomp.org>
4791 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4792 IllegalArgumentException when the given String is null.
4794 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4795 when given keystoke sequence cannot be parsed.
4797 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4798 if one is installed. Only install the given menubar is not null.
4800 * javax/swing/JViewport.java (getViewSize): Return an empty
4801 Dimension when the view isn't set or preferred component size when
4804 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4805 empty Dimension when there is no view set.
4806 (minimumLayoutSize): Likewise.
4807 (layoutContainer): Don't try to layout when there is no view.
4809 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4812 * include/jawt.h: Likewise.
4813 * include/jawt_md.h: Likewise.
4814 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4816 * jni/classpath/classpath_jawt.h: Likewise.
4817 * jni/gtk-peer/gtk_jawt.c: Likewise.
4818 * Makefile.am: Build libjawt.so.
4820 2005-02-15 Michael Koch <konqueror@gmx.de>
4822 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4823 Merged file header with classpath CVS head.
4824 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4825 Merged code formatting with classpath CVS head.
4826 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4828 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4829 Handle special JNI strings with 2 '\0' at the end.
4830 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4831 Merged file header with classpath CVS head.
4832 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4833 Merged code formatting with classpath CVS head.
4835 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4837 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4838 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4839 (handle_response): Use GTK_RESPONSE_ACCEPT.
4841 2005-02-15 Graydon Hoare <graydon@redhat.com>
4843 * Makefile.am: Fix library build breakage.
4844 * Makefile.in: Regenerate.
4846 2005-02-15 Michael Koch <konqueror@gmx.de>
4848 * javax/swing/JTabbedPane.java
4849 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4851 2005-02-15 Michael Koch <konqueror@gmx.de>
4853 * javax/swing/tree/DefaultMutableTreeNode.java:
4854 Reworked Javadocs all over.
4855 (getPathToRoot): Fixed direction of result array initialization.
4857 2005-02-15 Michael Koch <konqueror@gmx.de>
4859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4860 Fix includes for cairo 0.3.0 snappshot.
4861 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4862 Merged file header from classpath CVS HEAD.
4864 2005-02-15 Craig Black <craig.black@aonix.com>
4866 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4867 (copyState): Pass a JNI global reference to signal handler.
4868 (realize_cb): Use and free JNI global reference.
4869 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4870 (create): Pass a JNI global reference to signal handler.
4871 (selection_changed): Match declaration.
4872 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4873 (dispose): Do not remove entries from state tables until after widget is
4876 2005-02-15 Michael Koch <konqueror@gmx.de>
4878 * java/awt/Container.javai (paramString):
4879 If layoutMgr is null just return result of super.paramString().
4880 * java/awt/Scrollbar.java: Reformatted.
4881 * java/awt/im/InputContext.java (static):
4882 Removed redundant initializations.
4884 2005-02-15 Michael Koch <konqueror@gmx.de>
4886 * javax/swing/ImageIcon.java,
4887 javax/swing/UIManager.java,
4888 javax/swing/text/EditorKit.java,
4889 javax/swing/text/Segment.java:
4890 More whitespace cleanups.
4892 2005-02-15 Michael Koch <konqueror@gmx.de>
4894 * gnu/java/awt/EmbeddedWindow.java,
4895 gnu/java/awt/image/ImageDecoder.java,
4896 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4897 java/awt/DefaultKeyboardFocusManager.java,
4898 java/awt/Frame.java,
4899 java/awt/image/RGBImageFilter.java,
4900 javax/swing/AbstractButton.java,
4901 javax/swing/ActionMap.java,
4902 javax/swing/ComponentInputMap.java,
4903 javax/swing/DefaultDesktopManager.java,
4904 javax/swing/ImageIcon.java,
4905 javax/swing/InputMap.java,
4906 javax/swing/JButton.java,
4907 javax/swing/JCheckBox.java,
4908 javax/swing/JCheckBoxMenuItem.java,
4909 javax/swing/JEditorPane.java,
4910 javax/swing/JMenu.java,
4911 javax/swing/JMenuItem.java,
4912 javax/swing/JOptionPane.java,
4913 javax/swing/JRootPane.java,
4914 javax/swing/JTable.java,
4915 javax/swing/MenuSelectionManager.java,
4916 javax/swing/RepaintManager.java,
4917 javax/swing/ScrollPaneLayout.java,
4918 javax/swing/SortingFocusTraversalPolicy.java,
4919 javax/swing/UIManager.java,
4920 javax/swing/ViewportLayout.java,
4921 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4922 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4923 javax/swing/plaf/basic/BasicLabelUI.java,
4924 javax/swing/plaf/basic/BasicListUI.java,
4925 javax/swing/plaf/basic/BasicMenuItemUI.java,
4926 javax/swing/plaf/basic/BasicMenuUI.java,
4927 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4928 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4929 javax/swing/plaf/basic/BasicRootPaneUI.java,
4930 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4931 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4932 javax/swing/plaf/basic/BasicTextUI.java,
4933 javax/swing/table/TableColumnModel.java,
4934 javax/swing/text/AbstractDocument.java,
4935 javax/swing/text/EditorKit.java,
4936 javax/swing/text/Position.java,
4937 javax/swing/text/Segment.java,
4938 javax/swing/text/StyledEditorKit.java,
4939 javax/swing/text/ViewFactory.java:
4940 Cleanup whitespace differences to classpath CVS HEAD.
4942 2005-02-15 Graydon Hoare <graydon@redhat.com>
4944 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4945 (finalize): Call finish from here.
4946 (produce): Not from here.
4947 * Makefile.am (gtk_c_source_files):
4948 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4949 * Makefile.in: Regenerate.
4950 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4952 (cairoDrawGdkTextLayout):
4954 (getPeerTextMetrics):
4955 (getPeerFontMetrics): Remove.
4956 (setFont): Don't call cairoSetFont.
4957 (cairoDrawGlyphVector): Accept font peer argument.
4958 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4959 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4960 (ensure_metrics_cairo):
4961 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4962 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4963 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4964 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4966 (metrics_surface): Remove.
4967 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4968 Pass and install font peer.
4970 2005-02-15 Graydon Hoare <graydon@redhat.com>
4972 * Makefile.am: Create "split library" structure.
4973 * Makefile.in: Regenerate.
4975 2005-02-15 Graydon Hoare <graydon@redhat.com>
4977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4979 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4981 Release GDK lock during upcalls.
4983 2005-02-15 Graydon Hoare <graydon@redhat.com>
4985 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4986 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4987 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4988 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4989 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4991 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4994 (getTextMetrics): New native methods.
4995 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4996 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4997 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4998 * Makefile.in: Regenerate.
5000 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5002 * javax/swing/SwingUtilities.java:
5003 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5004 Implemented and documented.
5005 (getAccessibleChild(java.awt.Component, int)): Likewise.
5006 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5007 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5008 (getAccessibleStateSet(java.awt.Component)): Likewise.
5010 2005-02-15 Michael Koch <konqueror@gmx.de>
5012 * javax/swing/SwingUtilities.java
5013 (getFontMetrics): Removed.
5015 2005-02-15 Michael Koch <konqueror@gmx.de>
5017 * java/awt/Container.java
5018 (paramString): Implemented.
5019 * javax/swing/AbstractButton.java
5020 (paramString): Implemented.
5021 * javax/swing/JComponent.java
5022 (paramString): Implemented.
5023 * javax/swing/JMenu.java
5024 (paramString): Implemented.
5025 * javax/swing/JMenuBar.java
5026 (paramString): Implemented.
5027 * javax/swing/JMenuItem.java
5028 (paramString): Implemented.
5029 * javax/swing/JPopupMenu.java
5030 (paramString): Implemented.
5032 2005-02-15 Michael Koch <konqueror@gmx.de>
5034 * javax/swing/JMenu.java
5035 (uiClassID): Removed.
5036 (JMenu): Set invoker on popup menu.
5037 (getUIClassID): Return id directly.
5038 (getItemCount): Simply return getMenuComponentCount().
5040 (isTopLevelMenu): Simplified.
5041 * javax/swing/JMenuItem.java
5042 (uiClassID): Removed.
5043 (getUIClassID): Return id directly.
5044 * javax/swing/JPopupMenu.java
5045 (uiClassID): Removed.
5046 (JPopupMenu): Always initialize correctly.
5047 (getSubElements): Only return components implementing MenuElement
5049 (HeavyWeightPopup.hide): Removed.
5051 2005-02-15 Michael Koch <konqueror@gmx.de>
5053 * java/awt/image/ReplicateScaleFilter.java
5054 (replicatePixels): Made private.
5055 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5056 (DefaultRGBChooserPanel): Made package private.
5057 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5058 (RecentSwatchPanel): Likewise.
5059 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5060 (MouseInputAdapter): Made abstract.
5061 * javax/swing/tree/DefaultMutableTreeNode.java
5063 (growTree): Likewise.
5065 2005-02-15 Michael Koch <konqueror@gmx.de>
5067 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5070 2005-02-15 Michael Koch <konqueror@gmx.de>
5072 * javax/swing/JComponent.java (getComponentGraphics):
5073 Removed accidently commited code.
5075 2005-02-15 Graydon Hoare <graydon@redhat.com>
5077 * java/awt/dnd/DropTarget.java
5078 (addDropTargetListener): Despite documentation, do not throw.
5079 * javax/swing/JComponent.java: Set a default DropTarget.
5081 2005-02-15 Michael Koch <konqueror@gmx.de>
5083 * javax/swing/AbstractAction.java
5084 (ENABLED_PROPERTY): Removed.
5085 (setEnabled): Replaced constant with real string.
5086 * javax/swing/AbstractButton.java
5087 (createActionPropertyChangeListener.propertyChange): Likewise.
5088 * javax/swing/JComboBox.java
5089 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5090 (EDITABLE_CHANGED_PROPERTY): Removed.
5091 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5092 (ENABLED_CHANGED_PROPERTY):Likewise.
5093 (RENDERER_CHANGED_PROPERTY):Likewise.
5094 (EDITOR_CHANGED_PROPERTY):Likewise.
5095 (MODEL_CHANGED_PROPERTY):Likewise.
5096 (uiClassID):Likewise.
5097 (getUIClassID): Replaced constant with real string.
5098 (setModel):Likewise.
5099 (setEditable):Likewise.
5100 (setMaximumRowCount):Likewise.
5101 (setRenderer):Likewise.
5102 (setEditor):Likewise.
5103 (setEnabled):Likewise.
5104 * javax/swing/JLabel.java
5105 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5106 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5107 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5108 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5109 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5110 (ICON_CHANGED_PROPERTY): Likewise.
5111 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5112 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5113 (TEXT_CHANGED_PROPERTY): Likewise.
5114 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5115 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5116 (setText): Replaced constant with real string.
5117 (setIcon): Likewise.
5118 (setDisabledIcon): Likewise.
5119 (setDisplayedMnemonic): Likewise.
5120 (setIconTextGap): Likewise.
5121 (setVerticalAlignment): Likewise.
5122 (setHorizontalAlignment): Likewise.
5123 (setVerticalTextPosition): Likewise.
5124 (setHorizontalTextPosition): Likewise.
5125 (setLabelFor): Replaced constant with real string.
5126 Fire property change event after property got changed.
5127 * javax/swing/JList.java
5128 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5129 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5130 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5131 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5132 (MODEL_PROPERTY_CHANGED): Likewise.
5133 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5134 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5135 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5136 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5137 (setFixedCellWidth): Reimplemented.
5138 (setFixedCellHeight): Exit if new value is identical.
5139 Replaced constant with real string.
5140 (setSelectionBackground): Likewise.
5141 (setSelectionForeground): Likewise.
5142 (setPrototypeCellValue): Likewise.
5143 (setCellRenderer): Replaced constant with real string.
5144 (setModel): Likewise.
5145 (setSelectionModel): Likewise.
5146 * javax/swing/JMenuBar.java
5147 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5148 (MODEL_CHANGED_PROPERTY): Likewise.
5149 (MARGIN_CHANGED_PROPERTY): Likewise.
5150 (setBorderPainted): Reimplemented.
5151 (setMargin): Likewise.
5152 (setSelectionModel): Replaced constant with real string.
5153 * javax/swing/JPopupMenu.java
5154 (LABEL_CHANGED_PROPERTY): Removed.
5155 (VISIBLE_CHANGED_PROPERTY): Likewise.
5156 (borderPainted): Likewise.
5157 (setLabel): Replaced constant with real string.
5158 (setVisible): Exit if new value is identical.
5159 Replaced constant with real string.
5160 * javax/swing/JProgressBar.java
5161 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5162 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5163 (STRING_CHANGED_PROPERTY): Likewise.
5164 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5165 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5166 (setOrientation): Replaced constant with real string.
5167 (setStringPainted): Likewise.
5168 (setString): Likewise.
5169 (setBorderPainted): Likewise.
5170 (setIndeterminate): Likewise.
5171 * javax/swing/JScrollBar.java
5172 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5173 (MODEL_CHANGED_PROPERTY): Likewise.
5174 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5175 (setOrientation): Replaced constant with real string.
5176 (setModel): Likewise.
5177 (setUnitIncrement): Likewise.
5178 (setBlockIncrement): Likewise.
5179 * javax/swing/JScrollPane.java
5180 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5181 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5182 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5183 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5184 (LAYOUT_CHANGED_PROPERTY): Likewise.
5185 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5186 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5187 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5188 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5189 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5190 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5191 (setComponentOrientation): Replaced constant with real string.
5192 (setColumnHeader): Likewise.
5193 (setHorizontalScrollBar): Likewise.
5194 (setHorizontalScrollBarPolicy): Likewise.
5195 (setRowHeader): Likewise.
5196 (setVerticalScrollBar): Likewise.
5197 (setVerticalScrollBarPolicy): Likewise.
5198 (setWheelScrollingEnabled): Likewise.
5199 (setViewport): Likewise.
5200 (setViewportBorder): Likewise.
5201 * javax/swing/JSlider.java
5202 (INVERTED_CHANGED_PROPERTY): Removed.
5203 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5204 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5205 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5206 (MODEL_CHANGED_PROPERTY): Likewise.
5207 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5208 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5209 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5210 (setModel): Replaced constant with real string.
5211 (setOrientation): Likewise.
5212 (setLabelTable): Likewise.
5213 (setInverted): Likewise.
5214 (setMajorTickSpacing): Likewise.
5215 (setMinorTickSpacing): Likewise.
5216 (setPaintTicks): Likewise.
5217 (setPaintLabels): Likewise.
5218 * javax/swing/JTabbedPane.java
5219 (MODEL_CHANGED_PROPERTY): Removed.
5220 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5221 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5222 (setModel): Replaced constant with real string.
5223 (setTabPlacement): Likewise.
5224 (setTabLayoutPolicy): Likewise.
5225 * javax/swing/JToolBar.java
5226 (ORIENTATION_CHANGED_PROPERTY): Removed.
5227 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5228 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5229 (MARGIN_CHANGED_PROPERTY): Likewise.
5230 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5231 (setRollover): Replaced constant with real string.
5232 (setMargin): Likewise.
5233 (setBorderPainted): Likewise.
5234 (setFloatable): Likewise.
5235 (setOrientation): Likewise.
5236 * javax/swing/plaf/basic/BasicComboBoxUI.java
5237 (PropertyChangeHandler.propertyChange): Likewise.
5238 * javax/swing/plaf/basic/BasicComboPopup.java
5239 (PropertyChangeHandler.propertyChange): Likewise.
5240 * javax/swing/plaf/basic/BasicMenuBarUI.java
5241 (PropertyChangeHandler.propertyChange): Likewise.
5242 * javax/swing/plaf/basic/BasicProgressBarUI.java
5243 (PropertyChangeHandler.propertyChange): Likewise.
5244 * javax/swing/plaf/basic/BasicScrollBarUI.java
5245 (PropertyChangeHandler.propertyChange): Likewise.
5246 * javax/swing/plaf/basic/BasicSliderUI.java
5247 (PropertyChangeHandler.propertyChange): Likewise.
5248 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5249 (PropertyChangeHandler.propertyChange): Likewise.
5250 * javax/swing/plaf/basic/BasicToolBarUI.java
5251 (PropertyChangeHandler.propertyChange): Likewise.
5253 2005-02-15 Michael Koch <konqueror@gmx.de>
5255 * javax/swing/DefaultButtonModel.java
5256 (changeState): Made private.
5257 * javax/swing/DefaultDesktopManager.java
5258 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5259 * javax/swing/JLayeredPane.java
5260 (layerToRange): Made private.
5261 (incrLayer): Likewise.
5262 (decrLayer): Likewise.
5263 * javax/swing/JTable.java
5264 (dragEnabled): Likewise.
5265 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5266 * javax/swing/KeyStroke.java
5267 (Keystroke): Made private.
5268 * javax/swing/TransferHandler.java
5269 (COMMAND_COPY): Likewise.
5270 (COMMAND_CUT): Likewise.
5271 (COMMAND_PASTE): Likewise.
5273 2005-02-15 Michael Koch <konqueror@gmx.de>
5275 * javax/swing/JTextField.java
5276 (postActionEvent): Use text in field when actionCommand is null.
5277 (getActionCommand): Removed.
5279 2005-02-15 Michael Koch <konqueror@gmx.de>
5281 * javax/swing/AbstractSet.java: Removed.
5282 * Makefile.am: Removed javax/swing/AbstractSet.java.
5283 * Makefile.in: Regenerated.
5285 2005-02-15 Michael Koch <konqueror@gmx.de>
5287 * java/awt/Window.java
5288 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5289 * java/awt/dnd/DnDConstants.java
5290 (DnDConstants): New private constructor.
5292 2005-02-15 Michael Koch <konqueror@gmx.de>
5294 * javax/swing/DefaultCellRenderer.java: Removed.
5295 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5296 * Makefile.in: Regenerated.
5298 2005-02-15 Michael Koch <konqueror@gmx.de>
5300 * javax/swing/AbstractButton.java
5301 (fireItemStateChanged): Made protected.
5302 (fireActionPerformed): Likewise.
5303 (fireStateChanged): Likewise.
5304 * javax/swing/DefaultButtonModel.java
5305 (fireItemStateChanged): Likewise.
5306 (fireActionPerformed): Likewise.
5307 (fireStateChanged): Likewise.
5308 * javax/swing/JApplet.java
5310 (frameInit): Likewise.
5311 (setRootPane): Made protected.
5312 (createRootPane): Likewise.
5313 * javax/swing/JComponent.java
5314 (getClientProperty): Likewise.
5315 (putClientProperty): Likewise.
5316 * javax/swing/JEditorPane.java
5317 (getContentType): Likewise.
5318 (setContentType): Likewise.
5319 * javax/swing/JFrame.java
5320 (setRootPane): Likewise.
5321 (createRootPane): Likewise.
5322 * javax/swing/JInternalFrame.java
5323 (getFocusCycleRootAncestor): Made final. Added @since tag.
5324 (isFocusCycleRoot): Likewise.
5325 (getWarningString): Made final.
5326 * javax/swing/JScrollBar.java
5327 (changeListener): Removed.
5328 (changeEvent): Likewise.
5329 (createChangeListener): Likewise.
5330 (fireStateChanged): Likewise.
5331 (addChangeListener): Likewise.
5332 (removeChangeListener): Likewise.
5333 (getChangeListeners): Likewise.
5334 * javax/swing/JScrollPane.java
5335 (createViewport): Made protected.
5336 * javax/swing/JViewport.java
5337 (addImpl): Likewise.
5338 (setBorder): New method.
5339 * javax/swing/JWindow.java
5340 (setRootPane): Made protected.
5341 (createRootPane): Likewise.
5342 * javax/swing/plaf/basic/BasicButtonUI.java
5343 (installListeners): Likewise.
5344 (uninstallListeners): Likewise.
5345 * javax/swing/plaf/basic/BasicProgressBarUI.java
5346 (incrementAnimationIndex): Likewise.
5347 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5348 (createLayoutManager): Likewise.
5349 * javax/swing/table/DefaultTableCellRenderer.java
5350 (firePropertyChange): Likewise.
5351 * javax/swing/table/JTableHeader.java
5352 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5354 * javax/swing/text/PlainDocument.java
5355 (reindex): Made private.
5356 * javax/swing/text/PlainView.java
5357 (drawLine): Made protected.
5358 (getTabSize): Likewise.
5359 * javax/swing/text/View.java
5361 (preferenceChanged): New method.
5362 (getBreakWeight): Likewise.
5363 (breakView): Likewise.
5364 (getViewIndex): Likewise.
5366 2005-02-15 Michael Koch <konqueror@gmx.de>
5368 * javax/swing/JScrollPane.java
5369 (ScrollBar): Made class protected.
5370 * javax/swing/JSpinner.java
5371 (JSpinner): Added @since tag.
5372 (listenerList): Removed.
5373 * javax/swing/JTable.java
5374 (setValueAt): New method.
5375 (getColumn): Likewise.
5376 * javax/swing/JWindow.java
5377 (rootPaneCheckingEnabled): Renamed from checking.
5379 2005-02-15 Michael Koch <konqueror@gmx.de>
5381 * javax/swing/plaf/basic/BasicTextUI.java
5382 (RootView.modelToView): Made it public and return a java.awt.Shape.
5383 Handle null subview.
5384 (uninstall): Set textComponent to null when its not possible used
5386 * javax/swing/text/View.java
5387 (setParent): Use better argument name.
5388 (getContainer): Get parent via getParent().
5389 (getViewFactory): Likewise.
5390 (getAttributes): Get element via getElement().
5391 (getStartOffset): Likewise.
5392 (getEndOffset): Likewise.
5393 (getResizeWeight): New method.
5394 (getMaximumSpan): Likewise.
5395 (getMinimumSpan): Likewise.
5396 (setSize): Likewise.
5397 (getGraphics): Likewise.
5399 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5401 * java/awt/Checkbox.java:
5402 (AccessibleAWTCheckbox()): Added public constructor
5404 * java/awt/Choice.java:
5405 (AccessibleAWTChoice): Added class documentation.
5406 (AccessibleAWTChoice()): Added public constructor
5408 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5409 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5410 and changed role to COMBO_BOX.
5411 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5412 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5413 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5415 2005-02-15 Graydon Hoare <graydon@redhat.com>
5416 Michael Koch <konqueror@gmx.de>
5418 * javax/swing/LayoutFocusTraversalPolicy.java,
5419 javax/swing/SortingFocusTraversalPolicy.java:
5421 * Makefile.am: Added new classes.
5422 * Makefike.in: Regenerated.
5425 2005-02-15 Michael Koch <konqueror@gmx.de>
5427 * javax/swing/DebugGraphics.java: Mostly implemented.
5429 2005-02-15 Michael Koch <konqueror@gmx.de>
5431 * javax/swing/SwingUtilities.java
5432 (findFocusOwner): New method.
5434 2005-02-15 Michael Koch <konqueror@gmx.de>
5436 * javax/swing/text/DefaultEditorKit.java
5437 (read): Added '\n' after each line.
5438 * javax/swing/text/PlainView.java
5439 (modelToView): Update metrics.
5440 (drawLine): Use offsets from element.
5441 (paint): Update metrics. Draw all lines.
5443 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5445 * java/awt/Checkbox.java:
5446 (AccessibleAWTCheckbox): Added class documentation
5447 * java/awt/Scrollbar.java:
5448 (AccessibleAWTScrollBar): typo corrected and docs added
5449 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5450 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5451 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5452 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5453 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5454 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5455 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5456 (getAccessibleContext()): name of accessible class corrected
5458 2005-02-15 Mark Wielaard <mark@klomp.org>
5460 * java/awt/BasicStroke.java (hashCode): Implement.
5463 2005-02-15 Michael Koch <konqueror@gmx.de>
5465 * java/awt/print/PrinterJob.java
5466 (pageDialog): Throws java.awt.HeadlessException.
5467 (printDialog): Likewise.
5469 2005-02-15 Mark Wielaard <mark@klomp.org>
5471 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5473 2005-02-15 Michael Koch <konqueror@gmx.de>
5475 * javax/swing/JTable.java
5476 (getValueAt): New method.
5477 * javax/swing/table/JTableHeader.java
5478 (columnAtPoint): New method.
5480 2005-02-15 Michael Koch <konqueror@gmx.de>
5482 * javax/swing/JTextField.java
5483 (actions): New field.
5484 (static): Initalize actions field.
5485 (getActions): New method.
5487 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5489 * java/awt/Checkbox.java:
5490 (AccessibleAWTCheckbox): name capitalization corrected
5491 and serialization UID added.
5492 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5494 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5495 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5496 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5497 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5498 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5499 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5500 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5501 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5502 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5503 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5504 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5506 (getAccessibleContext()): name of accessible class corrected
5508 2005-02-15 Sven de Marothy <sven@physto.se>
5510 * java/awt/geom/doc-files/Area-1.png,
5511 java/awt/geom/doc-files/Ellipse-1.png,
5512 java/awt/geom/doc-files/GeneralPath-1.png:
5515 2005-02-15 Graydon Hoare <graydon@redhat.com>
5517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5518 Use union to avoid type-punning warning.
5520 2005-02-15 Michael Koch <konqueror@gmx.de>
5522 * javax/swing/DefaultListSelectionModel.java
5523 (clone): New method.
5525 2005-02-15 Mark Wielaard <mark@klomp.org>
5527 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5528 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5529 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5530 Correct method signature of gtkSetFilename.
5532 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5534 * javax/swing/text/StringContent.java: New file.
5536 2005-02-15 Michael Koch <konqueror@gmx.de>
5538 * Makefile.am: Added javax/swing/text/StringContent.java.
5539 * Makefile.in: Regenerated.
5541 2005-02-15 Michael Koch <konqueror@gmx.de>
5543 * gnu/java/awt/ClasspathToolkit.java:
5544 Import statements reworked.
5545 (imageCache): Made it of type java.util.HashMap.
5547 2005-02-15 Michael Koch <konqueror@gmx.de>
5549 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5550 Reworked import statements.
5552 2005-02-15 Graydon Hoare <graydon@redhat.com>
5554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5557 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5559 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5564 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5566 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5567 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5569 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5570 Rewrite uses of extern variable to be function calls.
5571 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5572 function, from extern variable.
5573 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5574 (gdk_env): Remove variable, add new function.
5575 (java_vm): Add new variable.
5576 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5577 java_vm rather than old gdk_env variable.
5579 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5581 * javax/swing/DefaultListModel.java
5582 (add): fire correct event,
5583 (addElement): corrected interval indices in event,
5584 (clear): corrected upper bound for interval, only fire event if
5586 (setSize): fire appropriate event.
5588 2005-02-15 Graydon Hoare <graydon@redhat.com>
5590 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5591 * gnu/awt/xlib/XToolkit.java: Likewise.
5592 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5593 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5594 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5595 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5596 * java/awt/EventQueue.java (getNextEvent):
5597 Adjust event loop to switch to native mode after 100ms.
5598 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5599 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5600 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5601 Wake up event thread.
5602 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5603 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5604 Adjust event loop to switch to java mode after 100ms.
5606 2005-02-15 Graydon Hoare <graydon@redhat.com>
5608 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5609 accidentally removed in last change.
5611 2005-02-15 Michael Koch <konqueror@gmx.de>
5613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5614 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5616 2005-02-15 Graydon Hoare <graydon@redhat.com>
5618 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5619 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5620 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5621 * jni.cc: Reuse bottom frame between calls, avoid clearing
5622 frame when no local references are made.
5624 2005-02-15 Michael Koch <konqueror@gmx.de>
5626 * javax/swing/UIDefaults.java (UIDefaults):
5627 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5628 Fixed HTML entity and removed a redundant comma.
5630 2005-02-15 Michael Koch <konqueror@gmx.de>
5632 * javax/swing/text/DefaultEditorKit.java
5633 (deinstall): Removed.
5634 (install): Likewise.
5636 2005-02-15 Michael Koch <konqueror@gmx.de>
5638 * javax/swing/UIDefaults.java (put): Handle value of null.
5640 2005-02-15 Michael Koch <konqueror@gmx.de>
5642 * java/awt/Robot.java,
5643 java/awt/Scrollbar.java,
5644 java/awt/print/PrinterJob.java,
5645 javax/swing/JTable.java,
5646 javax/swing/text/AbstractDocument.java:
5647 Reworked import statements.
5649 2005-02-15 Michael Koch <konqueror@gmx.de>
5651 * javax/swing/JEditorPane.java
5652 (read): Implemented.
5654 * javax/swing/text/DefaultEditorKit.java
5655 (page): Renamed from page_url. Made private.
5656 (editorKit): Renamed from kit. Made private.
5658 (JEditorPane): All constructors reimplemented.
5659 (getContentType): Use content type from editor kit.
5660 (getEditorKit): Return editorKit.
5661 (getEditorKitForContentType):Likewise.
5662 (getPage): Return page.
5663 (setContentType): Reimplemented.
5664 (setEditorKit): Likewise.
5665 (setEditorKitForContentType): Removed wrong implementation.
5666 (setPage): Implemented.
5668 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5670 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5671 (nativeSetIconImageFromData): Re-add native implementation.
5673 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5675 * javax/swing/table/DefaultTableModel.java
5676 (DefaultTableModel()): Added Javadocs.
5677 (DefaultTableModel(int, int)): Fixed implementation.
5678 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5679 for negative rowCount.
5680 (DefaultTableModel(Object[], int)): Added Javadocs.
5681 (DefaultTableModel(Vector, Vector)): Likewise.
5682 (DefaultTableModel(Object[][], Object[])): Likewise.
5683 (getDataVector): Likewise.
5684 (setDataVector(Vector, Vector)): Likewise.
5685 (setDataVector(Object[][], Object[])): Likewise.
5686 (newDataAvailable): Likewise.
5687 (newRowsAdded): Likewise.
5688 (rowsRemoved): Likewise.
5689 (setColumnIdentifiers(Vector)): Allow for null argument.
5690 (setColumnIdentifiers(Object[])): Added Javadocs.
5691 (setNumRows): Likewise.
5692 (setRowCount): Adds new rows if necessary, and sends more specific
5694 (setColumnCount): Allow for null columnIdentifiers.
5695 (addColumn(Object)): Added Javadocs.
5696 (addColumn(Object, Vector)): Handle null columnData.
5697 (addColumn(Object, Object[])): Handle columnData with more or less
5698 entries than rows in the table.
5699 (addRow(Vector)): Fire appropriate event.
5700 (addRow(Object[])): Added Javadocs.
5701 (insertRow(int, Vector)): Fire appropriate event.
5702 (insertRow(int, Object[])): Added Javadocs.
5703 (moveRow): Reimplemented.
5704 (removeRow(int)): Fire appropriate event.
5705 (getColumnCount): Allow for null columnIdentifiers.
5706 (getColumnName): Now returns empty string when column index is too
5708 (isCellEditable): Added Javadocs.
5709 (getValueAt): Likewise.
5710 (setValueAt): Fire more specific event.
5711 (convertToVector): Added Javadocs.
5712 * javax/swing/table/TableModel.java
5715 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5717 * libgcj.spec.in (lib): Add -l-javax-imageio.
5719 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5721 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5722 references to event queue q with method call q().
5723 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5724 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5725 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5726 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5727 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5728 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5731 2005-02-15 Graydon Hoare <graydon@redhat.com>
5733 * gnu/java/awt/ClasspathToolkit.java
5734 (registerImageIOSpis): New method.
5735 * gnu/java/awt/image/ImageDecoder.java
5736 (imageDecoder): New constructor using InputStream
5737 (startProduction): Handle existing InputStream.
5738 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5739 (findSimpleIntegerArray): Make public and static.
5740 (updateBufferedImage): Set each pixel, in a loop.
5741 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5742 Implement ImageIO SPI classes.
5743 (createBufferedImage): Rewrite in terms of SPI classes.
5744 * gnu/java/awt/peer/gtk/GtkToolkit.java
5745 (registerImageIOSpis): New method.
5746 * java/lang/reflect/natMethod.cc
5747 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5748 which lets JNI call interface methods properly.
5749 * javax/imageio/ImageIO.java
5750 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5751 (WriterMIMETypeFilter.filter): Likewise.
5752 (ImageReaderIterator): Pass extension argument through to SPI.
5753 (getReadersByFilter): Likewise.
5754 (getWritersByFilter): Likewise.
5755 (getImageReadersByFormatName): Likewise.
5756 (getImageReadersByMIMEType): Likewise.
5757 (getImageReadersBySuffix): Likewise.
5758 (getImageWritersByFormatName): Likewise.
5759 (getImageWritersByMIMEType): Likewise.
5760 (getImageWritersBySuffix): Likewise.
5763 * javax/imageio/ImageReader.java
5764 (progressListeners): Initialize.
5765 (setInput): Implement.
5766 * javax/imageio/ImageWriter.java
5767 (progressListeners): Initialize.
5768 (warningListeners): Likewise.
5769 (warningLocales): Likewise.
5770 (setOutput): Test "isInstance" rather than class equality.
5771 * javax/imageio/spi/IIORegistry.java
5772 (static): Add reader and writer SPIs.
5773 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5775 (query_formats): New function.
5776 (save_to_stream): Likewise.
5777 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5779 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5783 (keyPress): Likewise.
5784 (keyRelease): Likewise.
5786 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5788 * javax/swing/JTable.java
5789 (columnAtPoint): New Method. Implemented.
5790 (rowAtPoint): Likewise.
5791 (countSelections): Fixed few small count errors.
5792 (getSelections): Likewise.
5793 (setSelectionMode): Set selection mode for column
5794 selection model in addition to row selection model.
5795 * javax/swing/plaf/basic/BasicTableUI.java:
5796 (getRowForPoint): Removed. Replaced by
5797 JTable.rowAtPoint().
5798 (getColForPoint): Removed. Replaced by
5799 JTable.columnAtPoint().
5800 (updateSelection): Updated to call JTable.columnAtPoint
5801 and JTable.rowAtPoint.
5802 * javax/swing/table/DefaultTableColumnModel.java:
5803 (getSelectedColumns): Implemented.
5804 (getSelectedColumnCount): Implemented.
5806 2005-02-15 Graydon Hoare <graydon@redhat.com>
5809 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5810 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5811 * Makefile.in: Regenerate.
5812 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5813 * gnu/awt/xlib/XFramePeer.java: Likewise.
5814 * gnu/awt/xlib/XToolkit.java: Likewise.
5815 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5816 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5817 * gnu/java/awt/ClasspathToolkit.java
5820 (iterateNativeQueue): New methods.
5821 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5822 * gnu/java/awt/peer/gtk/GtkToolkit.java
5823 (gtkInit): Absorb from defunct GtkMainThread class.
5824 (static): Run gtkInit in static startup block.
5825 (GtkToolkit): Remove construction of GtkMainThread and queue.
5826 (getSystemEventQueueImpl): Construct queue when requested.
5829 (iterateNativeQueue): New methods.
5830 * java/awt/Component.java (removeNotify): Remove race.
5831 * java/awt/EventDispatchThread.java
5832 (EventDispatchThread): Don't start on construction.
5833 (run): Remove isInterrupted check.
5834 * java/awt/EventQueue.java (shutdown): New flag.
5835 (isShutdown): New method checking J2SE shutdown condition.
5836 (setShutdown): New method.
5837 (getNextEvent): Restructure to use ClasspathToolkit.
5838 (postEvent): Activate new thread on posting, wake thread on
5839 post of possible shutdown condition event.
5840 * java/awt/Frame.java
5841 (Frame): Call noteFrame in all constructors.
5842 (fireDummyEvent): New helper method.
5843 (addNotify): Fire a dummy event to wake up queue.
5844 (removeNotify): Fire a dummy event to wake up queue.
5845 (noteFrame): New method.
5846 (weakFrames): New static field.
5847 (getFrames): Implement.
5848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5850 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5851 Move everything from GtkMainThread into this file
5852 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5853 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5854 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5855 New functions to implement single-threaded queue semantics.
5857 2005-02-15 Michael Koch <konqueror@gmx.de>
5859 * javax/swing/plaf/metal/MetalLookAndFeel.java
5860 (getControlTextFont): New method.
5861 (getMenuTextFont): Likewise.
5862 (getSubTextFont): Likewise.
5863 (getSystemTextFont): Likewise.
5864 (getUserTextFont): Likewise.
5865 (getWindowTitleFont): Likewise.
5867 2005-02-15 Michael Koch <konqueror@gmx.de>
5869 * javax/swing/text/AbstractDocument.java
5870 (documentFilter): New field.
5871 (getDocumentFilter): New method.
5872 (setDocumentFilter): Likewise.
5875 2005-02-15 Michael Koch <konqueror@gmx.de>
5877 * javax/swing/JTree.java
5878 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5880 2005-02-15 Michael Koch <konqueror@gmx.de>
5882 * javax/swing/text/AbstractDocument.java
5883 (AbstractElement.getLength): Fixed off-by-one error.
5884 (AbstractElement.children): Made abstract.
5885 (AbstractElement.getAllowsChildren): Likewise.
5886 (AbstractElement.getElement): Likewise.
5887 (AbstractElement.dumpElement): New private method.
5888 (AbstractElement.dump): New method.
5889 (BranchElememt.getName): Fixed implementation.
5890 (BranchElememt.toString): Likewise.
5891 (BranchElememt.getElement): Fixed arguments.
5892 (LeafElement.getName): Fixed implementation.
5893 (LeafElement.toString): Likewise.
5894 * javax/swing/text/GapContent.java
5895 (GapContent): Put default content into buffer.
5896 * javax/swing/text/PlainDocument.java
5897 (reindex): Use empty attribute sets instead of null.
5898 (createDefaultRoot): Reimplemented.
5899 (insertUpdate): Call super method.
5900 (removeUpdate): Likewise.
5901 (getParagraphElement): Implemented.
5903 2005-02-15 Michael Koch <konqueror@gmx.de>
5905 * gnu/java/awt/ClasspathToolkit.java
5906 (createRobot): Throws java.awt.AWTException.
5907 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5908 Added '__attribute__((unused))' to all unused method arguments.
5910 2005-02-15 Michael Koch <konqueror@gmx.de>
5912 * javax/swing/DefaultBoundedRangeModel.java
5913 (fireValueChanged): Fixed off-by-one error.
5915 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5917 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5918 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5920 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5921 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5922 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5923 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5924 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5925 (getDefaultScreenDevice): Implement.
5926 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5927 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5928 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5929 * java/awt/Robot.java: Implement.
5930 * java/awt/peer/RobotPeer.java: Rename parameters.
5931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5932 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5933 (awt_keycode_to_keysym): Make non-static.
5934 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5935 AWT_BUTTON3_MASK): Declare constants.
5936 (awt_keycode_to_keysym): Declare.
5938 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5939 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5940 and is non-empty pass its value to "make check".
5941 (test_mauve_sim): Likewise.
5943 2005-02-15 Michael Koch <konqueror@gmx.de>
5945 * javax/imageio/IIOParam.java
5946 (setSourceBands): New method.
5947 (setSourceSubsampling): Likewise.
5948 * javax/imageio/ImageReadParam.java
5949 (setDestination): Likewise.
5950 (setDestinationBands): Likewise.
5951 (setSourceProgressivePasses): Likewise.
5952 * javax/imageio/metadata/IIOInvalidTreeException.java
5953 (serialVersionUID): New static field.
5954 * javax/imageio/metadata/IIOMetadataNode.java
5955 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5956 (parent): Dont initailize with default value explicitely.
5958 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5959 (removeAttributeNode): Likewise.
5960 (removeAttributeNS): Likewise.
5961 (setAttribute): Likewise.
5962 (setAttributeNode): Likewise.
5963 (setAttributeNodeNS): Likewise.
5964 (setAttributeNS): Likewise.
5965 (appendChild): Likewise.
5966 (getNodeValue): Likewise.
5967 (insertBefore): Likewise.
5968 (removeChild): Likewise.
5969 (replaceChild): Likewise.
5970 (setPrefix): Likewise.
5972 2005-02-15 Michael Koch <konqueror@gmx.de>
5974 * javax/swing/LookAndFeel.java
5975 (getDesktopPropertyValue): New method.
5977 2005-02-15 Michael Koch <konqueror@gmx.de>
5979 * javax/swing/JTree.java
5980 (hasChildren): New instance field.
5982 2005-02-15 Michael Koch <konqueror@gmx.de>
5984 * javax/swing/JComponent.java
5985 (getToolTipText): New method.
5986 (getTitledBorderText): Likewise.
5987 (getAccessibleKeyBinding): Likewise.
5988 (getVerifyInputWhenFocusTarget): Likewise.
5989 (setVerifyInputWhenFocusTarget): Likewise.
5990 (verifyInputWhenFocusTarget): New instance field.
5992 2005-02-15 Michael Koch <konqueror@gmx.de>
5994 * javax/swing/DefaultListSelectionModel.java
5995 (fireValueChanged): New method.
5997 2005-02-15 Michael Koch <konqueror@gmx.de>
5999 * javax/swing/DefaultBoundedRangeModel.java:
6000 Fixed javadocs all over.
6001 (fireStateChanged): Simplified.
6002 * javax/swing/BoundedRangeModel.java:
6005 2005-02-15 Michael Koch <konqueror@gmx.de>
6007 * javax/swing/JRootPane.java
6008 (setMenuBar): Added @deprecated tag.
6009 (getMenuBar): Likewise.
6010 * javax/swing/JTable.java
6011 (sizeColumnsToFit): Likewise.
6013 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6015 * javax/swing/ImageIcon.java (setImage): Implemented.
6017 2005-02-15 Michael Koch <konqueror@gmx.de>
6019 * javax/swing/JTable.java:
6020 Removed unused imports.
6022 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6024 (prepareRenderer): Get column's index in dataModel instead
6025 of column's view index.
6026 (getColumnCount): return count of the columns in ColumnModel,
6028 (removeColumn): Implemented.
6029 (moveColumm): Likewise.
6030 (setRowHeight): throw IllegalArgumentException if height is
6032 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6033 (DefaultTableColumnModel):Add call to createSelectionModel().
6034 (addColumn): Fire columnAdded event to registered listeners.
6035 (removeColumn): Fire columnRemoved event to registered listeners.
6036 (moveColumn): Fire columnMoved event to registered listeners.
6037 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6038 (getColumnIndex): Changed parameter name.
6039 (setColumnSelectionAllowed): Likewise.
6040 (fireColumnAdded): Implemented.
6041 (fireColumnRemoved): Likewise.
6042 (fireColumnMoved): Likewise.
6043 (fireColumnMarginChanged): Likewise.
6044 (getListeners): Changed parameter name.
6045 (propertyChange): Implemented.
6046 (valueChanged): Changed parameter name.
6047 (createSelectionModel): Implemented.
6049 2005-02-15 Michael Koch <konqueror@gmx.de>
6051 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6052 Explicitely import used classes.
6053 (getLocalGraphicsEnvironment): Simplify.
6054 * java/awt/Window.java (Window):
6055 Enable code to get the default GraphicsConfiguration.
6057 2005-02-15 Michael Koch <konqueror@gmx.de>
6059 * javax/swing/plaf/metal/DefaultMetalTheme.java
6060 (CONTROL_TEXT_FONT): New static field.
6061 (MENU_TEXT_FONT): Likewise.
6062 (SUB_TEXT_FONT): Likewise.
6063 (SYSTEM_TEXT_FONT): Likewise.
6064 (USER_TEXT_FONT): Likewise.
6065 (WINDOW_TITLE_FONT): Likewise.
6066 (getControlTextFont): New method.
6067 (getMenuTextFont): Likewise.
6068 (getSubTextFont): Likewise.
6069 (getSystemTextFont): Likewise.
6070 (getUserTextFont): Likewise.
6071 (getWindowTitleFont): Likewise.
6072 * javax/swing/plaf/metal/MetalTheme.java
6073 (BLACK): Initialize with Color.BLACK.
6074 (WHITE): Initialize with Color.WHITE.
6075 (getInactiveControlTextColor): Return getControlDisabled().
6076 (getMenuDisabledForeground): Return getSecondary3().
6077 (getControlTextFont): New abstract method.
6078 (getMenuTextFont): Likewise.
6079 (getSubTextFont): Likewise.
6080 (getSystemTextFont): Likewise.
6081 (getUserTextFont): Likewise.
6082 (getWindowTitleFont): Likewise.
6084 2005-02-15 Michael Koch <konqueror@gmx.de>
6086 * javax/swing/JFormattedTextField.java
6087 (getFocusLostBehavior): Fixed typo in method name.
6088 (setFocusLostBehavior): Likewise.
6090 2005-02-15 Michael Koch <konqueror@gmx.de>
6092 * javax/swing/TransferHandler.java:
6093 Reworked import statements.
6095 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6097 * java/awt/Button.java,
6098 java/awt/Canvas.java,
6099 java/awt/Checkbox.java,
6100 java/awt/CheckboxMenuItem.java,
6101 java/awt/Choice.java,
6102 java/awt/Dialog.java,
6103 java/awt/Frame.java,
6104 java/awt/Label.java,
6107 java/awt/MenuBar.java,
6108 java/awt/MenuItem.java,
6109 java/awt/PopupMenu.java,
6110 java/awt/ScrollPane.java,
6111 java/awt/Scrollbar.java,
6112 java/awt/TextArea.java,
6113 java/awt/Window.java (getAccessibleContext): Clean up comments.
6115 * java/awt/Button.java,
6116 java/awt/Checkbox.java,
6117 java/awt/Choice.java,
6119 java/awt/PopupMenu.java,
6120 java/awt/TextArea.java (getAccessibleContext): Only create new
6122 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6124 2005-02-15 Michael Koch <konqueror@gmx.de>
6126 * java/awt/Button.java,
6127 javax/swing/JApplet.java,
6128 javax/swing/JFormattedTextField.java,
6129 javax/swing/JWindow.java,
6130 javax/swing/JTree.java,
6131 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6132 javax/swing/plaf/basic/BasicTextPaneUI.java,
6133 javax/swing/plaf/basic/BasicTreeUI.java:
6134 Reworked import statements.
6136 2005-02-15 Michael Koch <konqueror@gmx.de>
6138 * Makefile.am: Put javax.imageio into its own library and link it
6139 against lib-org-w3c-dom.la to fix bootstrapping.
6140 * Makefile.in: Regenerated.
6142 2005-02-15 Michael Koch <konqueror@gmx.de>
6144 * javax/swing/text/TextAction.java
6145 (getTextComponent): Simplified. Added Javadoc.
6146 (augmentList): Implemented. Added Javadoc.
6147 (getFocusedComponent): Added javadoc.
6149 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6151 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6152 getAccessibleContext): Implement.
6153 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6154 getAccessibleContext): Implement.
6156 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6158 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6160 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6162 * java/awt/Window.java (getAccessibleContext): Fix comment.
6163 Remove extra import.
6165 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6167 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6168 (isActive, isFocused, getAccessibleContext): Implement.
6170 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6172 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6173 * java/awt/MenuComponent.java (accessibleContext): Make package
6175 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6176 AccessibleAWTCheckboxMenuItem): Implement.
6178 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6180 * java/awt/List.java: Implement AccessibleAWTList,
6181 AccessibleAWTListChild.
6183 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6185 * java/awt/Choice.java: Add implements declaration for
6188 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6190 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6193 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6195 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6196 implemented interface list.
6198 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6200 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6201 * javax/imageio/metadata/IIOAttr.java: New class.
6202 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6203 * javax/imageio/metadata/IIONodeList.java: New class.
6204 * Makefile.am: Added new files.
6205 * Makefile.in: Regenerated.
6207 2005-02-15 Michael Koch <konqueror@gmx.de>
6209 * javax/swing/AbstractAction.java,
6210 javax/swing/AbstractCellEditor.java,
6211 javax/swing/AbstractListModel.java,
6212 javax/swing/DefaultBoundedRangeModel.java,
6213 javax/swing/DefaultButtonModel.java,
6214 javax/swing/DefaultCellEditor.java,
6215 javax/swing/DefaultComboBoxModel.java,
6216 javax/swing/DefaultDesktopManager.java,
6217 javax/swing/JMenu.java,
6218 javax/swing/JSlider.java,
6219 javax/swing/KeyStroke.java,
6220 javax/swing/OverlayLayout.java,
6221 javax/swing/ScrollPaneLayout.java,
6222 javax/swing/SizeRequirements.java,
6223 javax/swing/ViewportLayout.java:
6224 Made serialVersionUID private.
6226 2005-02-15 Michael Koch <konqueror@gmx.de>
6228 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6231 2005-02-15 Michael Koch <konqueror@gmx.de>
6233 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6235 2005-02-15 Michael Koch <konqueror@gmx.de>
6237 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6239 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6241 * java/awt/EventDispatchThread.java,
6242 java/awt/Toolkit.java:
6243 Don't catch java.lang.ThreadDeath.
6245 2005-02-15 Michael Koch <konqueror@gmx.de>
6247 * javax/swing/text/PasswordView.java
6248 (drawEchoCharacter): Added javadoc.
6249 (drawSelectedText): Likewise.
6250 (drawUnselectedText): Likewise.
6252 2005-02-15 Michael Koch <konqueror@gmx.de>
6254 * javax/swing/JRootPane.java
6255 (windowDecorationStyle): New field.
6256 (setMenuBar): New method.
6257 (getMenuBar): Likewise.
6258 (getWindowDecorationStyle): Likewise.
6259 (setWindowDecorationStyle): Likewise.
6261 2005-02-15 Michael Koch <konqueror@gmx.de>
6263 * javax/swing/DefaultListSelectionModel.java
6264 (leadAnchorNotificationEnabled): Made protected.
6266 2005-02-15 Michael Koch <konqueror@gmx.de>
6268 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6269 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6270 * Makefile.in: Regenerated.
6273 2005-02-15 Michael Koch <konqueror@gmx.de>
6275 * javax/swing/JFormattedTextField.java: Implemented.
6276 * javax/swing/JWindow.java
6277 (JWindow): New constructors.
6278 (initWindow): Renamed from initFrame.
6279 * javax/swing/UIDefaults.java
6280 (ActiveValue): Made interface static.
6281 (LazyValue): Likewise.
6282 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6283 (TitlePaneLayout.TitlePaneLayout): New constructor.
6284 * javax/swing/plaf/basic/BasicSliderUI.java
6285 (ChangeHandler): Made public.
6286 (FocusHandler): Likewise.
6287 (PropertyChangeHandler): Likewise.
6288 (ScrollListener): Likewise.
6289 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6290 (FocusHandler): Likewise.
6291 (MouseHandler): Likewise.
6292 * javax/swing/plaf/basic/BasicTextPaneUI.java
6293 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6294 * javax/swing/plaf/basic/BasicToolBarUI.java
6295 (BasicToolBarUI): Simplified. Reworked javadoc.
6296 (canDock): Simplified. Make public.
6297 (DockingListener): Made public.
6298 * javax/swing/text/JTextComponent.java
6299 (navigationFilter): New field.
6300 (getNavigationFilter): New method.
6301 (setNavigationFilter): Likewise.
6303 2005-02-15 Michael Koch <konqueror@gmx.de>
6305 * javax/swing/plaf/metal/MetalTheme.java
6306 (getControlTextColor): Return getControlInfo().
6307 (getHighlightedTextColor): Return getControlTextColor().
6309 2005-02-15 Michael Koch <konqueror@gmx.de>
6311 * javax/swing/plaf/basic/BasicButtonListener.java
6312 (BasicButtonListener): New constructor.
6313 * javax/swing/plaf/basic/BasicButtonUI.java
6314 (createButtonListener): Usw new BasicButtonListener constructor.
6316 2005-02-15 Michael Koch <konqueror@gmx.de>
6318 * javax/imageio/event/package.html,
6319 javax/imageio/metadata/package.html: New files.
6321 2005-02-15 Michael Koch <konqueror@gmx.de>
6323 * java/awt/image/MemoryImageSource.java: Reformatted.
6325 2005-02-15 Michael Koch <konqueror@gmx.de>
6327 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6329 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6331 * java/awt/color/ICC_Profile.java
6332 (finalize): Removed pointless field assignments.
6334 2005-02-15 Michael Koch <konqueror@gmx.de>
6336 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6337 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6338 * Makefile.in: Regenerated.
6340 2005-02-15 Michael Koch <konqueror@gmx.de>
6342 * javax/swing/text/DefaultStyledDocument.java: New file.
6343 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6344 * Makefile.in: Regenerated.
6346 2005-02-15 Michael Koch <konqueror@gmx.de>
6348 * javax/swing/JFileChooser.java
6349 (showDialog): Return CANCEL_OPTION for now.
6350 (showOpenDialog): Likewise.
6351 (showSaveDialog): Likewise.
6353 2005-02-15 Michael Koch <konqueror@gmx.de>
6355 * javax/swing/JApplet.java
6356 (HIDE_ON_CLOSE): Removed.
6357 (EXIT_ON_CLOSE): Likewise.
6358 (DISPOSE_ON_CLOSE): Likewise.
6359 (DO_NOTHING_ON_CLOSE): Likewise.
6360 (close_action): Likewise.
6361 (getDefaultCloseOperation): Likewise.
6362 (setDefaultCloseOperation): Likewise.
6363 (processWindowEvent): Likewise.
6364 (getPreferredSize): Simplified.
6365 * javax/swing/JInternalFrame.java
6366 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6368 * javax/swing/JWindow.java
6369 (HIDE_ON_CLOSE): Removed.
6370 (EXIT_ON_CLOSE): Likewise.
6371 (DISPOSE_ON_CLOSE): Likewise.
6372 (DO_NOTHING_ON_CLOSE): Likewise.
6373 (close_action): Likewise.
6374 (processKeyEvent): Likewise.
6375 (setDefaultCloseOperation): Likewise.
6376 (getPreferredSize): Simplified.
6378 2005-02-15 Michael Koch <konqueror@gmx.de>
6380 * javax/swing/JTextField.java
6381 (getPreferredSize): Re-implemented.
6383 2005-02-15 Michael Koch <konqueror@gmx.de>
6385 * javax/swing/JLabel.java
6386 (setDisplayedMnemonic): Use only upper case characters.
6387 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6388 PropertyChangeEvent after property got set to the new index.
6390 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6392 * javax/swing/JComboBox.java:
6393 (JComboBox): Removed selection of the
6394 first item in the model.
6396 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6398 * javax/swing/JComboBox.java
6399 added support for no item being selected
6400 (JComboBox): select first or nothing depending on element count
6401 (setModel): cleaned up unneeded "this." usage, added more
6402 docs, made exception behavior match that of the JDK
6403 (setLighWeightPopupEnabled): removed unneeded "this." usage
6405 (setMaximumRowCount): dito
6407 (setPrototypeDisplayValue): dito
6408 (getSelectedItem): simplified, added more user doc
6409 (setSelectedIndex): corrected exception behavior, added more user doc
6410 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6411 added performance warning to user doc
6412 (addItem): fixed exception behavior, added user doc
6413 (insertItemAt): dito
6415 (removeItemAt): dito
6416 (removeAll): fixed exception behavior, added user doc, added support
6417 for model not being instance of DefaultComboBoxModel
6418 (getSelectedItemObjects): simplified
6419 (getItemCount): fixed dependency on DefaultComboBoxModel
6420 (getItemAt): fixed dependency on MutableComboBoxModel
6421 * javax/swing/DefaultComboBoxModel.java:
6422 (setSelectedItem): updates selected item only if new
6423 value is null or known (match JDK behavior)
6424 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6425 (paintCurrentValue): renders "" if no item is selected
6427 2005-02-15 Michael Koch <konqueror@gmx.de>
6429 * javax/swing/plaf/metal/MetalTheme.java,
6430 javax/swing/plaf/metal/DefaultMetalTheme.java:
6432 * javax/swing/plaf/metal/MetalLookAndFeel.java
6433 * Makefile.am: Added the new files.
6434 * Makefile.in: Regenerated.
6436 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6438 * javax/swing/JTable.java
6439 (editorComp): New field.
6440 (JTable): Initialize local variables and call updateUI
6441 (selectionBackground): Make protected.
6442 (selectionForeground): Likewise.
6443 (initializeLocalVars): Create default editors and renderers,
6444 initialize editingColumn, editingRow variables.
6445 (createDefaultEditors): New Method.
6446 (createDefaultRenderers): Likewise.
6447 (createDefaultListSelectionModel): Removed
6448 (createDefaultSelectionModel): New Method.
6449 (createDefaultTableHeader): Likewise
6450 (removeColumn): Likewise.
6451 (getEditingColumn): Likewise.
6452 (setEditingColumn): Likewise.
6453 (getEditingRow): Likewise.
6454 (setEditingRow): Likewise.
6455 (getEditorComponent): Likewise.
6456 (isEditing): Likewise.
6457 (setDefaultEditor): Likewise.
6458 (addColumnSelectionInterval): Likewise.
6459 (addRowSelectionInterval): Likewise.
6460 (setColumnSelectionInterval): Likewise.
6461 (setRowSelectionInterval): Likewise.
6462 (removeColumnSelectionInterval): Likewise.
6463 (removeRowSelectionInterval): Likewise.
6464 (isColumnSelected): Likewise.
6465 (isRowSelected): Likewise.
6466 (isCellSelected): Likewise.
6467 (selectAll): Likewise.
6469 2005-02-15 Michael Koch <konqueror@gmx.de>
6471 * javax/swing/JTable.java
6472 (addColumn): New method.
6473 (getColumnClass): Likewise.
6474 (getColumnName): Likewise.
6476 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6478 * javax/swing/TransferHandler.java
6479 (createTransferable): Made protected.
6481 2005-02-15 Michael Koch <konqueror@gmx.de>
6483 * javax/swing/JTable.java,
6484 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6485 javax/swing/plaf/basic/BasicTableUI.java:
6486 Use fixed get/setIntercellSpacing() methods.
6488 2005-02-15 Michael Koch <konqueror@gmx.de>
6490 * javax/swing/JTable.java
6491 (getIntercellSpacing): Fixed typo in method name.
6492 (setIntercellSpacing): Likewise.
6494 2005-02-15 Michael Koch <konqueror@gmx.de>
6496 * javax/swing/text/JTextComponent.java
6497 (focusAccelerator): New variable.
6498 (getFocusAccelerator): New method.
6499 (setFocusAccelerator): Likewise.
6501 2005-02-15 Michael Koch <konqueror@gmx.de>
6503 * javax/swing/JComponent.java
6504 (setTransferHandler): Made public. Fire property change event.
6505 * javax/swing/TransferHandler.java: Implemented.
6506 * javax/swing/text/JTextComponent.java
6507 (DefaultTransferHandler): New inner class.
6508 (defaultTransferHandler): New variable.
6512 (doTransferAction): Likewise.
6514 2005-02-15 Michael Koch <konqueror@gmx.de>
6516 * javax/swing/JTree.java
6517 (collapsePath): New method.
6518 (collapseRow): Likewise.
6519 (expandPath): Likewise.
6520 (expandRow): Likewise.
6521 (checkExpandParents): Likewise.
6522 (doExpandParents): Likewise.
6523 (setExpandedState): Likewise.
6524 (makeVisible): Likewise.
6526 2005-02-15 Michael Koch <konqueror@gmx.de>
6528 * javax/swing/JPasswordField.java: Updated javadocs.
6530 2005-02-15 Michael Koch <konqueror@gmx.de>
6532 * javax/swing/JLayeredPane.java
6533 (getLayer): Fixed return type, made public.
6534 (getPosition): Use new getLayer().
6535 (SetPosition): Likewise.
6536 (getIndexOf): Likewise.
6538 * javax/swing/JInternalFrame.java
6539 (getLayer): Use new JLayeredPane.getLayer().
6542 2005-02-15 Michael Koch <konqueror@gmx.de>
6544 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6545 (setHeaderValue): Simplified. Do nothing when old value == new value.
6547 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6549 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6550 against null clip region.
6551 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6552 gtkWindowSetResizable.
6553 (postConfigureEvent): Only revalidate if frame size has changed.
6554 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6555 Only revalidate if frame size has changed.
6556 * java/awt/Component.java (reshape): Only repaint and post
6557 component events if component is showing.
6558 * java/awt/Container.java (addImpl): Only post container event if
6559 container is showing.
6561 * java/awt/Window.java (setLocationRelativeTo): Implement.
6562 (setBoundsCallback): Only post component events if component is
6564 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6565 Protect against null graphics structure. Flush gdk event queue.
6567 2005-02-15 Michael Koch <konqueror@gmx.de>
6569 * javax/imageio/ImageReader.java,
6570 javax/imageio/ImageTranscoder.java,
6571 javax/imageio/ImageWriter.java,
6572 javax/imageio/spi/ImageInputStreamSpi.java,
6573 javax/imageio/spi/ImageOutputStreamSpi.java,
6574 javax/imageio/spi/ServiceRegistry.java,
6575 javax/imageio/stream/ImageInputStream.java,
6576 javax/imageio/stream/ImageOutputStream.java: Updated.
6577 * javax/imageio/IIOException.java,
6578 javax/imageio/IIOImage.java,
6579 javax/imageio/IIOParam.java,
6580 javax/imageio/IIOParamController.java,
6581 javax/imageio/ImageIO.java,
6582 javax/imageio/ImageReadParam.java,
6583 javax/imageio/ImageTypeSpecifier.java,
6584 javax/imageio/ImageWriteParam.java,
6585 javax/imageio/spi/IIORegistry.java,
6586 javax/imageio/spi/ImageReaderSpi.java,
6587 javax/imageio/spi/ImageWriterSpi.java,
6588 javax/imageio/stream/FileCacheImageInputStream.java,
6589 javax/imageio/stream/FileCacheImageOutputStream.java,
6590 javax/imageio/stream/FileImageInputStream.java,
6591 javax/imageio/stream/FileImageOutputStream.java,
6592 javax/imageio/stream/ImageInputStreamImpl.java,
6593 javax/imageio/stream/ImageOutputStreamImpl.java,
6594 javax/imageio/stream/MemoryCacheImageInputStream.java,
6595 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6596 javax/imageio/event/IIOReadProgressListener.java,
6597 javax/imageio/event/IIOReadUpdateListener.java,
6598 javax/imageio/event/IIOReadWarningListener.java,
6599 javax/imageio/event/IIOWriteProgressListener.java,
6600 javax/imageio/event/IIOWriteWarningListener.java,
6601 javax/imageio/metadata/IIOMetadata.java,
6602 javax/imageio/metadata/IIOMetadataController.java,
6603 javax/imageio/metadata/IIOMetadataFormat.java,
6604 javax/imageio/metadata/IIOInvalidTreeException.java,
6605 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6606 javax/imageio/metadata/IIOMetadataNode.java: New files.
6607 * Makefile.am (javax_source_files): Added new files
6608 * Makefile.in: Regenerated.
6610 2005-02-15 Graydon Hoare <graydon@redhat.com>
6612 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6613 Rework painting into BufferedImages
6614 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6615 Construct BufferedImage with alpha only when alpha is
6616 present in colormodel.
6617 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6618 Rework painting into client-side jint arrays.
6619 * jni/gtk-peer/gtkcairopeer.h:
6622 2005-02-15 Michael Koch <konqueror@gmx.de>
6624 * javax/swing/DefaultListCellRenderer.java
6625 (serialVersionUID): Made private.
6626 (getListCellRendererComponent): Set horizontal alignment.
6627 * javax/swing/JLabel.java
6628 (setVerticalAlignment): Re-implemented.
6629 (setHorizontalAlignment): Do nothing if old value = new value.
6630 * javax/swing/JList.java
6631 (setCellRenderer): Likewise.
6632 (setModel): Re-implemented.
6633 (setSelectionModel): Likewise.
6635 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6637 * java/awt/Component.java,
6638 java/awt/geom/Rectangle2D.java:
6641 2005-02-15 Michael Koch <konqueror@gmx.de>
6643 * javax/swing/AbstractListModel.java
6644 (fireContentsChanged): Simplified.
6645 (fireIntervalAdded): Likewise.
6646 (fireIntervalRemoved): Likewise.
6647 * javax/swing/DefaultSingleSelectionModel.java:
6649 (fireStateChanged): Simplified.
6650 * javax/swing/JPopupMenu.java
6651 (setSelectionModel): Set property.
6653 2005-02-15 Michael Koch <konqueror@gmx.de>
6655 * java/awt/print/Book.java: Reformatted.
6657 2005-02-15 Michael Koch <konqueror@gmx.de>
6659 * java/awt/geom/Area.java
6660 (QuadSegment.curveArea): Remove unused variables.
6661 (CubicSegment.curveArea): Likewise.
6663 2005-02-15 Michael Koch <konqueror@gmx.de>
6665 * javax/swing/JTree.java
6666 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6667 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6668 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6669 (EXPANDED): New constant.
6670 (COLLAPSED): Likewise.
6671 (nodeStates): New field.
6672 (cellEditor): New method.
6673 (cellRenderer): Likewise.
6674 (selectionModel): Likewise.
6675 (treeModel): Likewise.
6676 (scrollPathToVisible): Likewise.
6677 (scrollRowToVisible): Likewise.
6678 (isCollapsed): Likewise.
6679 (isExpanded): Likewise.
6680 (clearToggledPaths): Likewise.
6681 (getDescendantToggledPaths): Likewise.
6682 (hasBeenExpanded): Likewise.
6683 (isVisible): Likewise.
6684 (isPathEditable): Likewise.
6686 2005-02-15 Michael Koch <konqueror@gmx.de>
6688 * javax/swing/JLayeredPane.java: Reformatted.
6690 2005-02-15 Michael Koch <konqueror@gmx.de>
6692 * javax/swing/tree/DefaultMutableTreeNode.java:
6694 * javax/swing/tree/MutableTreeNode.java:
6697 2005-02-15 Michael Koch <konqueror@gmx.de>
6699 * javax/swing/JFormattedTextField.java
6700 (setDocument): Call setDocument of super class. Don't fire property
6703 2005-02-15 Sven de Marothy <sven@physto.se>
6705 * java/awt/image/IndexColorModel.java:
6706 Add FIXME with respect to alpha handling.
6707 (getAlpha): Default to returning opaque pixels.
6708 * java/awt/image/MultiPixelPackedSampleModel.java
6709 (MultiPixelPackedSampleModel): Corrected parameters, order of
6710 bit shifts and masks, stride length off by one.
6712 2005-02-15 Michael Koch <konqueror@gmx.de>
6714 * javax/swing/JList.java, javax/swing/JTree.java:
6715 Added much new methods and fixed much methods setting bound properties.
6717 2005-02-16 Mark Wielaard <mark@klomp.org>
6719 * Makefile.am (gnu_xml_source_files): Removed
6720 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6721 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6722 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6723 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6724 gnu/xml/dom/DomDocumentFragment.java,
6725 gnu/xml/dom/DomProcessingInstruction.java and
6726 gnu/xml/dom/ls/DomLSException.java.
6727 * Makefile.in: Regenerated.
6729 2005-02-16 Tom Tromey <tromey@redhat.com>
6731 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6732 attribute index is out of bounds.
6734 2005-02-16 Chris Burdess <dog@gnu.org>
6736 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6737 isDeclared methods. Improved performance of isSpecified methods.
6739 2005-02-16 Chris Burdess <dog@gnu.org>
6741 Fixes bug libgcj/19864
6742 * gnu/xml/dom/DomAttr.java,
6743 gnu/xml/dom/DomCDATA.java,
6744 gnu/xml/dom/DomCDATASection.java,
6745 gnu/xml/dom/DomCharacterData.java,
6746 gnu/xml/dom/DomDOMException.java,
6747 gnu/xml/dom/DomDoctype.java,
6748 gnu/xml/dom/DomDocument.java,
6749 gnu/xml/dom/DomDocumentConfiguration.java,
6750 gnu/xml/dom/DomDocumentFragment.java,
6751 gnu/xml/dom/DomElement.java,
6752 gnu/xml/dom/DomEx.java,
6753 gnu/xml/dom/DomFragment.java,
6754 gnu/xml/dom/DomImpl.java,
6755 gnu/xml/dom/DomIterator.java,
6756 gnu/xml/dom/DomNamedNodeMap.java,
6757 gnu/xml/dom/DomNode.java,
6758 gnu/xml/dom/DomNsNode.java,
6759 gnu/xml/dom/DomPI.java,
6760 gnu/xml/dom/DomProcessingInstruction.java,
6761 gnu/xml/dom/DomText.java,
6762 gnu/xml/dom/DomLSEx.java,
6763 gnu/xml/dom/DomLSException.java,
6764 gnu/xml/dom/DomLSParser.java,
6765 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6766 implementation class names to conform to Classpath guidelines. Make
6767 DomLSException use JDK 1.4+ exception chaining.
6768 * gnu/xml/util/SAXNullTransformerFactory.java,
6769 gnu/xml/xpath/Predicate.java: Use constants relative to
6770 declaring class or interface.
6772 2005-02-16 Andrew Haley <aph@redhat.com>
6774 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6775 null, create a new AccessControlContext.
6776 * java/security/SecureClassLoader.java (protectionDomainCache):
6778 (defineClass): Create a new protection domain and add it to our
6781 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6782 addStub() to keep track of the stub we've exported.
6783 (unexportObject): Call deleteStub().
6784 * java/rmi/server/RemoteObject.java (stubs): New field.
6785 (addStub): New method.
6786 (deleteStub): New method.
6789 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6790 true to findHelper (tryParents).
6791 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6793 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6794 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6796 If tryParents is false, don't scan parent class loaders.
6798 * java/security/Permissions.java (PermissionsHash.implies):
6799 Iterate over the collection and invoke implies() on each
6802 2005-02-16 Andrew Haley <aph@redhat.com>
6804 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6806 (PersistentByteMap): Set name
6807 Magic number changed to 0x67636a64 ("gcjd").
6808 (init): Force the map to be prime.
6809 (emptyPersistentByteMap): File name was a string, now a File.
6810 (addBytes): Share srings between entries.
6811 (stringTableSize): New method.
6812 (capacity): Scale by load factor.
6813 (force): New method.
6814 (getFile): New method.
6815 (close): New method.
6816 (putAll): New method.
6817 (ByteWrapper): New class.
6818 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6819 (main): Guess the average string size as 32, not 64.
6820 Copy a database before modifying it, so that we can update a
6821 database in a running system.
6822 If a database isn't big enough, resize it.
6823 "-m": new option: merges databases.
6824 "-a": Create a new detabase if it doesn't exist.
6825 (usage): Correct, add new option.
6826 (addJar): Copy a database before modifying it.
6827 (resizeMap): New method.
6829 2005-02-15 David Daney <ddaney@avtrex.com>
6830 Bryce McKinlay <mckinlay@redhat.com>
6832 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6833 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6834 ensure that GC threads inherit the new signal mask.
6835 (block_sigchld): Call JvFail rather than throwing exception if
6836 pthread_sigmask() fails.
6838 2005-02-15 Mark Wielaard <mark@klomp.org>
6840 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6841 file path elements are separated by spaces.
6843 2005-02-15 Mark Wielaard <mark@klomp.org>
6845 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6846 to describe attributes without a constant field value in this class.
6848 2005-02-15 Michael Koch <konqueror@gmx.de>
6850 * java/util/jar/Attributes.java
6851 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6853 2005-02-15 Mark Wielaard <mark@klomp.org>
6855 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6856 space for parsing CLASS_PATH attribute.
6858 2005-02-15 Mark Wielaard <mark@klomp.org>
6860 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6861 aside for "GCJLIBS" in directory where jarfiles are loaded.
6862 (JarURLLoader.getClass): Removed method.
6863 (JarURLLoader.toString): Removed method.
6864 (FileResource.toString): Removed method.
6866 2005-02-15 Mark Wielaard <mark@klomp.org>
6868 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6869 and/or cause before throwing.
6871 2005-02-15 Richard Henderson <rth@redhat.com>
6873 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6874 (libgcj0_convenience_la_SOURCES): ... here.
6875 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6876 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6877 * Makefile.in: Regenerate.
6879 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6882 * include/jawt.h: Likewise.
6883 * include/jawt_md.h: Likewise.
6884 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6886 * include/Makefile.in: Regenerate.
6887 * jni/classpath/classpath_jawt.h: Likewise.
6888 * jni/gtk-peer/gtk_jawt.c: Likewise.
6889 * Makefile.am: Build libjawt.so.
6890 * Makefile.in: Regenerate.
6892 2005-02-14 Tom Tromey <tromey@redhat.com>
6894 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6896 2005-02-14 Tom Tromey <tromey@redhat.com>
6898 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6899 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6901 2005-02-14 Tom Tromey <tromey@redhat.com>
6904 * testsuite/libjava.lang/PR19929.out: New file.
6905 * testsuite/libjava.lang/PR19929.java: New file.
6907 2005-02-14 Anthony Green <green@redhat.com>
6910 * testsuite/libjava.jni/PR18116.c: New file.
6911 * testsuite/libjava.jni/PR18116.java: New file.
6912 * testsuite/libjava.jni/PR18116.out: New file.
6914 2005-02-13 Anthony Green <green@redhat.com>
6917 * jni.cc (nathash_add): Don't strdup the method signature.
6918 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6922 2005-02-12 Mark Wielaard <mark@klomp.org>
6924 Fixes bug libgcj/8170
6925 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6926 ClassNotFoundException.
6927 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6928 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6929 (remove_internal): New field superceding remove_interpreter.
6930 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6931 Remove no-class methods starting with "_Jv_". And Replace null
6932 class or method names with the empty string. Stop at either the
6933 MainThread or a real Thread run() method.
6934 (newElement): Made static.
6935 * java/net/URLClassLoader.java (findClass): Throw
6936 ClassNotFoundExceptions including urls, plus parent using toString().
6937 (thisString): New field.
6938 (toString): New method.
6940 2005-02-10 Tom Tromey <tromey@redhat.com>
6942 * external/sax/Makefile.in: Rebuilt.
6943 * external/sax/Makefile.am (all-local): Removed.
6944 (BUILT_SOURCES): New variable.
6945 (mostlyclean-local): No error if no classes to delete.
6946 * external/w3c_dom/Makefile.in: Rebuilt.
6947 * external/w3c_dom/Makefile.am (all-local): Removed.
6948 (BUILT_SOURCES): New variable.
6949 (mostlyclean-local): No error if no classes to delete.
6951 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6953 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6954 of mauve and libjava.
6956 2005-02-09 Tom Tromey <tromey@redhat.com>
6958 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6959 jar file with OPEN_DELETE.
6960 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6961 OPEN_DELETE is used.
6963 2005-02-09 Tom Tromey <tromey@redhat.com>
6965 * java/util/zip/InflaterInputStream.java (markSupported):
6967 (mark, reset): Likewise.
6969 2005-02-08 Tom Tromey <tromey@redhat.com>
6971 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6972 name or port is missing.
6973 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6974 AUTHORITY_PORT_GROUP): Updated.
6976 2005-02-08 Tom Tromey <tromey@redhat.com>
6978 * configure: Rebuilt.
6979 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6982 2005-02-07 Tom Tromey <tromey@redhat.com>
6984 * java/lang/natRuntime.cc (insertSystemProperties): Set
6985 sun.boot.class.path earlier.
6987 2005-02-07 Tom Tromey <tromey@redhat.com>
6989 * defineclass.cc (handleClassBegin): Use
6990 _Jv_RegisterInitiatingLoader.
6991 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6992 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6993 class. Use _Jv_UnregisterInitiatingLoader.
6994 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6997 2005-02-07 Mark Wielaard <mark@klomp.org>
6999 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7000 java/util/regex/Matcher.java (lookingAt): Set position when match
7002 (matches): Implemented through lookingAt().
7004 2005-02-07 Mark Wielaard <mark@klomp.org>
7006 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7007 * java/util/regex/Pattern.java (split(CharSequence,int)):
7008 Fix while empties > 0 loops.
7010 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7012 * gnu/java/nio/charset/ISO_8859_1.java,
7013 gnu/java/nio/charset/US_ASCII.java,
7014 gnu/java/nio/charset/UTF_16.java,
7015 gnu/java/nio/charset/UTF_16_LE.java,
7016 gnu/java/nio/charset/UTF_16_BE.java,
7017 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7018 and aliases according to
7019 "http://www.iana.org/assignments/character-sets",
7020 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7021 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7022 * gnu/java/nio/charset/Provider.java: Made charset lookup
7023 case-insensitive which fixes bug #11740.
7025 2005-02-07 Tom Tromey <tromey@redhat.com>
7028 * Makefile.in: Rebuilt.
7029 * Makefile.am (src.zip): New target.
7030 (install-src.zip): Likewise.
7031 (sourcesdir): New variable.
7033 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7035 * javax/imageio/metadata/IIOMetadataNode.java:
7037 * javax/imageio/metadata/IIOAttr.java,
7038 javax/imageio/metadata/IIONamedNodeMap.java,
7039 javax/imageio/metadata/IIONodeList.java:
7042 2005-02-06 Graydon Hoare <graydon@redhat.com>
7044 * gnu/java/awt/ClasspathToolkit.java
7045 (registerImageIOSpis): New method.
7046 * javax/imageio/ImageIO.java
7047 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7048 (WriterMIMETypeFilter.filter): Likewise.
7049 (ImageReaderIterator): Pass extension argument through to SPI.
7050 (getReadersByFilter): Likewise.
7051 (getWritersByFilter): Likewise.
7052 (getImageReadersByFormatName): Likewise.
7053 (getImageReadersByMIMEType): Likewise.
7054 (getImageReadersBySuffix): Likewise.
7055 (getImageWritersByFormatName): Likewise.
7056 (getImageWritersByMIMEType): Likewise.
7057 (getImageWritersBySuffix): Likewise.
7060 * javax/imageio/ImageReader.java
7061 (progressListeners): Initialize.
7062 (setInput): Implement.
7063 * javax/imageio/ImageWriter.java
7064 (progressListeners): Initialize.
7065 (warningListeners): Likewise.
7066 (warningLocales): Likewise.
7067 (setOutput): Test "isInstance" rather than class equality.
7068 * javax/imageio/spi/IIORegistry.java
7069 (static): Add reader and writer SPIs.
7070 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7072 2005-02-06 Michael Koch <konqueror@gmx.de>
7074 * javax/imageio/metadata/IIOInvalidTreeException.java
7075 (IIOInvalidTreeException): Reformatted.
7076 * javax/imageio/spi/IIORegistry.java
7077 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7078 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7079 Reworked import statements.
7081 2005-02-06 Michael Koch <konqueror@gmx.de>
7083 * javax/imageio/stream/FileImageOutputStream.java:
7086 2005-02-06 Michael Koch <konqueror@gmx.de>
7088 * javax/imageio/stream/FileCacheImageInputStream.java,
7089 javax/imageio/stream/FileCacheImageOutputStream.java,
7090 javax/imageio/stream/FileImageInputStream.java,
7091 javax/imageio/stream/ImageInputStreamImpl.java,
7092 javax/imageio/stream/ImageOutputStreamImpl.java,
7093 javax/imageio/stream/MemoryCacheImageInputStream.java,
7094 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7095 Added all missing methods in javax.imageio.stream.
7097 2005-02-02 David Daney <ddaney@avtrex.com>
7099 * java/net/InetAddress.java (InetAddress): Make a private copy of
7101 * java/net/Inet4Address.java (getAddress): Return a copy of the
7103 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7105 (getAddress): Return a copy of the address.
7108 2005-02-02 Tom Tromey <tromey@redhat.com>
7110 * Makefile.in: Rebuilt.
7111 * Makefile.am (classes.stamp): New target, broken out from
7113 ($(all_java_class_files)): Depend on it.
7114 (libgcj-@gcc_version@.jar): Likewise.
7115 (all-recursive): Likewise.
7116 (CLEANFILES): Include classes.stamp.
7118 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7120 * link.cc: Include <stdio.h>
7122 2005-02-02 Tom Tromey <tromey@redhat.com>
7125 * Makefile.in: Rebuilt.
7126 * Makefile.am (ordinary_java_source_files): Added new class.
7127 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7128 Use system_instance, not instance.
7129 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7130 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7132 (system_instance): New field.
7133 (initialize): Initialize the system loader as well.
7134 (VMClassLoader): Default to LIB_CACHE.
7136 2005-02-02 Tom Tromey <tromey@redhat.com>
7138 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7139 * prims.cc: Fixed comment.
7141 2005-02-01 Tom Tromey <tromey@redhat.com>
7143 * Makefile.in: Rebuilt.
7144 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7145 (.java.class): Use BOOTCLASSPATH.
7147 2005-02-01 Tom Tromey <tromey@redhat.com>
7149 * external/w3c_dom/Makefile.am: New file.
7150 * external/w3c_dom/Makefile.in: New file.
7151 * external/sax/Makefile.am: New file.
7152 * external/sax/Makefile.in: New file.
7153 * external/Makefile.in: New file.
7154 * external/Makefile.am: New file.
7155 * external/README: New file from Classpath.
7156 * configure, aclocal.m4, Makefile.in: Rebuilt.
7157 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7158 * Makefile.am (SUBDIRS): Added external.
7159 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7160 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7161 (BOOTCLASSPATH): New variable.
7162 (AM_GCJFLAGS): Use it.
7163 (gnu_xml_source_files): New variable.
7164 (libgcj_la_SOURCES): Use it.
7165 (libgcj_la_LDADD): Include new convenience libraries.
7166 (lib_org_ietf_jgss_la_SOURCES): Removed.
7167 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7168 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7169 (lib_org_w3c_dom_la_SOURCES): Removed.
7170 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7171 (lib_org_w3c_dom_la_LIBADD): Likewise.
7172 (lib_org_xml_sax_la_SOURCES): Removed.
7173 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7174 (lib_org_xml_sax_la_LIBADD): Likewise.
7175 (all_java_source_files): Updated.
7176 (property_files): Likewise.
7177 (libgcj-@gcc_version@.jar): Include classes from external/.
7178 (javax_source_files): Updated.
7179 (ordinary_java_source_files): Updated.
7180 * javax/xml/XMLConstants.java,
7181 javax/xml/datatype/DatatypeConfigurationException.java,
7182 javax/xml/datatype/DatatypeConstants.java,
7183 javax/xml/datatype/DatatypeFactory.java,
7184 javax/xml/datatype/Duration.java,
7185 javax/xml/datatype/XMLGregorianCalendar.java,
7186 javax/xml/datatype/package.html,
7187 javax/xml/namespace/NamespaceContext.java,
7188 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7189 javax/xml/parsers/DocumentBuilder.java,
7190 javax/xml/parsers/DocumentBuilderFactory.java,
7191 javax/xml/parsers/FactoryConfigurationError.java,
7192 javax/xml/parsers/ParserConfigurationException.java,
7193 javax/xml/parsers/SAXParser.java,
7194 javax/xml/parsers/SAXParserFactory.java,
7195 javax/xml/parsers/package.html,
7196 javax/xml/transform/ErrorListener.java,
7197 javax/xml/transform/OutputKeys.java,
7198 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7199 javax/xml/transform/SourceLocator.java,
7200 javax/xml/transform/Templates.java,
7201 javax/xml/transform/Transformer.java,
7202 javax/xml/transform/TransformerConfigurationException.java,
7203 javax/xml/transform/TransformerException.java,
7204 javax/xml/transform/TransformerFactory.java,
7205 javax/xml/transform/TransformerFactoryConfigurationError.java,
7206 javax/xml/transform/URIResolver.java,
7207 javax/xml/transform/package.html,
7208 javax/xml/transform/dom/DOMLocator.java,
7209 javax/xml/transform/dom/DOMResult.java,
7210 javax/xml/transform/dom/DOMSource.java,
7211 javax/xml/transform/dom/package.html,
7212 javax/xml/transform/sax/SAXResult.java,
7213 javax/xml/transform/sax/SAXSource.java,
7214 javax/xml/transform/sax/SAXTransformerFactory.java,
7215 javax/xml/transform/sax/TemplatesHandler.java,
7216 javax/xml/transform/sax/TransformerHandler.java,
7217 javax/xml/transform/sax/package.html,
7218 javax/xml/transform/stream/StreamResult.java,
7219 javax/xml/transform/stream/StreamSource.java,
7220 javax/xml/transform/stream/package.html,
7221 javax/xml/validation/Schema.java,
7222 javax/xml/validation/SchemaFactory.java,
7223 javax/xml/validation/TypeInfoProvider.java,
7224 javax/xml/validation/Validator.java,
7225 javax/xml/validation/ValidatorHandler.java,
7226 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7227 javax/xml/xpath/XPathConstants.java,
7228 javax/xml/xpath/XPathException.java,
7229 javax/xml/xpath/XPathExpression.java,
7230 javax/xml/xpath/XPathExpressionException.java,
7231 javax/xml/xpath/XPathFactory.java,
7232 javax/xml/xpath/XPathFactoryConfigurationException.java,
7233 javax/xml/xpath/XPathFunction.java,
7234 javax/xml/xpath/XPathFunctionException.java,
7235 javax/xml/xpath/XPathFunctionResolver.java,
7236 javax/xml/xpath/XPathVariableResolver.java,
7237 javax/xml/xpath/package.html: New files, from GNU JAXP.
7238 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7239 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7240 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7241 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7242 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7243 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7244 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7245 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7246 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7247 org/w3c/dom/ranges/DocumentRange.java,
7248 org/w3c/dom/ranges/Range.java,
7249 org/w3c/dom/ranges/RangeException.java,
7250 org/w3c/dom/traversal/DocumentTraversal.java,
7251 org/w3c/dom/traversal/NodeFilter.java,
7252 org/w3c/dom/traversal/NodeIterator.java,
7253 org/w3c/dom/traversal/TreeWalker.java,
7254 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7255 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7256 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7257 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7258 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7259 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7260 org/xml/sax/SAXNotRecognizedException.java,
7261 org/xml/sax/SAXNotSupportedException.java,
7262 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7263 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7264 org/xml/sax/ext/DeclHandler.java,
7265 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7266 org/xml/sax/helpers/AttributeListImpl.java,
7267 org/xml/sax/helpers/AttributesImpl.java,
7268 org/xml/sax/helpers/DefaultHandler.java,
7269 org/xml/sax/helpers/LocatorImpl.java,
7270 org/xml/sax/helpers/NamespaceSupport.java,
7271 org/xml/sax/helpers/NewInstance.java,
7272 org/xml/sax/helpers/ParserAdapter.java,
7273 org/xml/sax/helpers/ParserFactory.java,
7274 org/xml/sax/helpers/XMLFilterImpl.java,
7275 org/xml/sax/helpers/XMLReaderAdapter.java,
7276 org/xml/sax/helpers/XMLReaderFactory.java,
7277 org/xml/sax/helpers/package.html: Moved to external/.
7278 * external/sax/README,
7279 external/sax/org/xml/sax/AttributeList.java,
7280 external/sax/org/xml/sax/Attributes.java,
7281 external/sax/org/xml/sax/ContentHandler.java,
7282 external/sax/org/xml/sax/DTDHandler.java,
7283 external/sax/org/xml/sax/DocumentHandler.java,
7284 external/sax/org/xml/sax/EntityResolver.java,
7285 external/sax/org/xml/sax/ErrorHandler.java,
7286 external/sax/org/xml/sax/HandlerBase.java,
7287 external/sax/org/xml/sax/InputSource.java,
7288 external/sax/org/xml/sax/Locator.java,
7289 external/sax/org/xml/sax/Parser.java,
7290 external/sax/org/xml/sax/SAXException.java,
7291 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7292 external/sax/org/xml/sax/SAXNotSupportedException.java,
7293 external/sax/org/xml/sax/SAXParseException.java,
7294 external/sax/org/xml/sax/XMLFilter.java,
7295 external/sax/org/xml/sax/XMLReader.java,
7296 external/sax/org/xml/sax/package.html,
7297 external/sax/org/xml/sax/ext/Attributes2.java,
7298 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7299 external/sax/org/xml/sax/ext/DeclHandler.java,
7300 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7301 external/sax/org/xml/sax/ext/EntityResolver2.java,
7302 external/sax/org/xml/sax/ext/LexicalHandler.java,
7303 external/sax/org/xml/sax/ext/Locator2.java,
7304 external/sax/org/xml/sax/ext/Locator2Impl.java,
7305 external/sax/org/xml/sax/ext/package.html,
7306 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7307 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7308 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7309 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7310 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7311 external/sax/org/xml/sax/helpers/NewInstance.java,
7312 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7313 external/sax/org/xml/sax/helpers/ParserFactory.java,
7314 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7315 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7316 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7317 external/sax/org/xml/sax/helpers/package.html,
7318 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7319 external/w3c_dom/org/w3c/dom/Attr.java,
7320 external/w3c_dom/org/w3c/dom/CDATASection.java,
7321 external/w3c_dom/org/w3c/dom/CharacterData.java,
7322 external/w3c_dom/org/w3c/dom/Comment.java,
7323 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7324 external/w3c_dom/org/w3c/dom/DOMError.java,
7325 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7326 external/w3c_dom/org/w3c/dom/DOMException.java,
7327 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7328 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7329 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7330 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7331 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7332 external/w3c_dom/org/w3c/dom/Document.java,
7333 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7334 external/w3c_dom/org/w3c/dom/DocumentType.java,
7335 external/w3c_dom/org/w3c/dom/Element.java,
7336 external/w3c_dom/org/w3c/dom/Entity.java,
7337 external/w3c_dom/org/w3c/dom/EntityReference.java,
7338 external/w3c_dom/org/w3c/dom/NameList.java,
7339 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7340 external/w3c_dom/org/w3c/dom/Node.java,
7341 external/w3c_dom/org/w3c/dom/NodeList.java,
7342 external/w3c_dom/org/w3c/dom/Notation.java,
7343 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7344 external/w3c_dom/org/w3c/dom/Text.java,
7345 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7346 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7347 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7348 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7349 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7350 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7351 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7352 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7353 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7354 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7355 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7356 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7357 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7358 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7359 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7360 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7361 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7362 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7363 external/w3c_dom/org/w3c/dom/css/Counter.java,
7364 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7365 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7366 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7367 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7368 external/w3c_dom/org/w3c/dom/css/Rect.java,
7369 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7370 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7371 external/w3c_dom/org/w3c/dom/events/Event.java,
7372 external/w3c_dom/org/w3c/dom/events/EventException.java,
7373 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7374 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7375 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7376 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7377 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7378 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7379 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7380 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7381 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7382 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7383 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7384 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7385 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7386 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7387 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7388 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7389 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7390 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7391 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7392 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7393 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7394 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7395 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7396 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7397 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7398 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7399 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7400 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7401 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7402 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7403 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7404 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7405 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7406 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7407 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7408 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7409 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7410 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7411 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7412 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7413 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7414 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7415 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7416 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7417 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7418 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7419 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7420 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7421 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7422 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7423 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7424 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7425 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7426 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7427 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7428 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7429 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7430 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7431 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7432 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7433 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7434 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7435 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7436 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7437 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7438 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7439 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7440 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7441 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7442 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7443 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7444 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7445 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7446 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7447 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7448 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7449 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7450 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7451 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7452 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7453 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7454 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7455 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7456 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7457 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7458 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7459 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7460 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7461 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7462 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7463 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7464 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7467 2005-01-31 Anthony Green <green@redhat.com>
7469 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7470 Support IP_MULTICAST_LOOP.
7471 (setOption): Support IP_MULTICAST_LOOP.
7473 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7474 SO_REUSEADDR support.
7475 (getOption): Support SO_REUSEADDR.
7477 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7480 * java/util/Date.java
7481 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7483 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7485 (getTimezoneOffset): Inverted sign.
7487 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7489 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7490 remove other passing tests and add new XFAILs.
7492 2005-01-24 Tom Tromey <tromey@redhat.com>
7494 * java/lang/Class.h (next): Updated documentation. Renamed to
7496 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7497 _Jv_CheckABIVersion.
7498 (_Jv_RegisterClasses_Counted): Likewise.
7499 (_Jv_RegisterClassHookDefault): Fix starting condition of
7500 duplicate-checking loop.
7501 * include/jvm.h (GCJ_VERSION): New define.
7502 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7503 (_Jv_CheckABIVersion): New function.
7505 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7507 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7508 (libgij_la_LDFLAGS): Add.
7509 * Makefile.in: Rebuilt.
7511 2005-01-24 Roger Sayle <roger@eyesopen.com>
7514 * testsuite/libjava.compile/PR19295.java: New test case.
7516 2005-01-19 Tom Tromey <tromey@redhat.com>
7518 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7519 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7520 if 'handler' is valid.
7522 2005-01-17 Tom Tromey <tromey@redhat.com>
7524 * java/text/MessageFormat.java (scanString): Changed how quoting
7526 (scanFormatElement): Likewise.
7528 2004-12-07 Mark Wielaard <mark@klomp.org>
7530 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7532 2005-01-15 Michael Koch <konqueror@gmx.de>
7536 (AUTHORITY_REGEXP): New regexp constant.
7537 (AUTHORITY_USERINFO_GROUP): New constant.
7538 (AUTHORITY_HOST_GROUP): Likewise.
7539 (AUTHORITY_PORT_GROUP): Likewise.
7540 (port): Changed default value to -1.
7541 (parseURI): Parse authority part and initialize host,
7544 2005-01-14 Robin Green <greenrd@greenrd.org>
7546 * java/io/File.java (toURI): Generate a URI which we understand.
7548 2005-01-13 Graydon Hoare <graydon@redhat.com>
7550 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7551 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7552 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7553 * jni.cc: Reuse bottom frame between calls, avoid clearing
7554 frame when no local references are made.
7556 2005-01-13 Michael Koch <konqueror@gmx.de>
7559 * java/lang/Thread.java
7560 (Thread): Call checkAccess().
7561 (stop): Fixed argument name to match javadoc.
7562 * java/lang/natThread.cc
7563 (interrupt): Call checkAccess().
7566 2005-01-11 Michael Koch <konqueror@gmx.de>
7569 * java/net/URL.java (URL): Handle specs like
7570 "/redir?http://domain2.com/index.html" which start with a slash.
7572 2005-01-11 Michael Koch <konqueror@gmx.de>
7574 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7575 * gnu/java/net/BASE64.java,
7576 gnu/java/net/EmptyX509TrustManager.java,
7577 gnu/java/net/LineInputStream.java,
7578 gnu/java/net/protocol/http/Authenticator.java,
7579 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7580 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7581 gnu/java/net/protocol/http/ChunkedInputStream.java,
7582 gnu/java/net/protocol/http/Cookie.java,
7583 gnu/java/net/protocol/http/CookieManager.java,
7584 gnu/java/net/protocol/http/Credentials.java,
7585 gnu/java/net/protocol/http/HTTPConnection.java,
7586 gnu/java/net/protocol/http/HTTPDateFormat.java,
7587 gnu/java/net/protocol/http/HTTPURLConnection.java,
7588 gnu/java/net/protocol/http/Headers.java,
7589 gnu/java/net/protocol/http/Request.java,
7590 gnu/java/net/protocol/http/RequestBodyWriter.java,
7591 gnu/java/net/protocol/http/Response.java,
7592 gnu/java/net/protocol/http/ResponseBodyReader.java,
7593 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7594 gnu/java/net/protocol/http/SimpleCookieManager.java,
7595 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7596 gnu/java/net/protocol/http/event/ConnectionListener.java,
7597 gnu/java/net/protocol/http/event/RequestEvent.java,
7598 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7599 * gnu/java/net/protocol/http/Connection.java: Removed.
7600 * gnu/java/net/protocol/http/Handler.java,
7601 javax/net/ssl/HttpsURLConnection.java: Updated.
7602 * Makefile.am: Added new files and remove old ones.
7603 * Makefile.in: Regenerated.
7605 2005-01-11 Tom Tromey <tromey@redhat.com>
7608 * java/io/BufferedInputStream.java (read): Repeatedly read to
7610 (refill): Change test to see if buffer must be grown.
7612 2005-01-10 Tom Tromey <tromey@redhat.com>
7614 * mauve-libgcj: Exclude some swing tests.
7616 2005-01-10 Tom Tromey <tromey@redhat.com>
7618 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7619 * java/lang/Package.java (getPackages): Use VMClassLoader when
7621 (getPackage): Likewise.
7622 * prims.cc (_Jv_CreateJavaVM): Call
7623 _Jv_RegisterBootstrapPackages.
7624 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7625 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7626 (getPackages): Likewise.
7627 (definedPackages): New field.
7628 (definePackageForNative): New method.
7629 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7630 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7631 * defineclass.cc (handleClassBegin): Use
7632 ClassLoader.findLoadedClass.
7633 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7635 (struct _Jv_LoaderInfo): Removed.
7636 (initiated_classes): Likewise.
7637 (_Jv_UnregisterClass): Don't use initiated_classes.
7638 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7639 (_Jv_FindClass): Register classes found during boostrap.
7640 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7641 (bootstrap_class_list): New global.
7642 (bootstrap_index): Likewise.
7643 (_Jv_RegisterBootstrapPackages): New function.
7644 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7645 definePackageForNative.
7646 (findClass): Updated.
7647 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7650 2005-01-10 Tom Tromey <tromey@redhat.com>
7653 * include/jvm.h (_Jv_Linker::find_field): Declare.
7654 (_Jv_Linker::find_field_helper): Likewise.
7655 * link.cc (find_field_helper): New method.
7656 (find_field): Likewise.
7657 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7659 (link_symbol_table): Use find_field.
7661 2005-01-10 Michael Koch <konqueror@gmx.de>
7664 * java/util/Locale.java (Locale): Don't uppercase variant.
7665 (getISOCountries): Fixed typo in javadoc.
7667 2005-01-10 Michael Koch <konqueror@gmx.de>
7669 * java/util/SimpleTimeZone.java (checkRule):
7670 Throw IllegalArgumentException on invalid month values.
7671 * java/util/TimeZone.java (setID):
7672 Throw NullPointerException if needed.
7674 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7676 * java/util/SimpleTimeZone.java (getOffset):
7677 offset end date with daylight savings
7679 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7681 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7682 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7684 2005-01-09 Michael Koch <konqueror@gmx.de>
7687 * java/net/InetAddress.java (getLocalHost):
7688 Throw UnknownHostException if local hostname cannot be determined.
7690 2005-01-06 Tom Tromey <tromey@redhat.com>
7692 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7694 2005-01-07 Michael Koch <konqueror@gmx.de>
7697 * java/nio/Buffer.java (address): New field.
7698 * java/nio/DirectByteBufferImpl.java (address): Removed.
7699 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7700 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7701 Explicitly initialize Buffer.address if needed.
7702 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7703 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7704 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7705 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7706 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7707 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7708 DirectByteBufferImpl object.
7709 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7710 * testsuite/libjava.jni/directbuffer.c,
7711 testsuite/libjava.jni/directbuffer.java,
7712 testsuite/libjava.jni/directbuffer.out,
7713 testsuite/libjava.jni/bytebuffer.c,
7714 testsuite/libjava.jni/bytebuffer.java,
7715 testsuite/libjava.jni/bytebuffer.out: New files.
7717 2005-01-05 Tom Tromey <tromey@redhat.com>
7719 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7721 (compressedSize): Now 'long'. Default to -1.
7722 (getCompressedSize): Rewrote.
7723 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7724 deflate at all if we need input.
7726 2005-01-05 Tom Tromey <tromey@redhat.com>
7729 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7732 2005-01-05 Tom Tromey <tromey@redhat.com>
7734 * java/lang/natRuntime.cc (insertSystemProperties): Set
7735 java.ext.dirs earlier.
7737 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7739 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7740 sync_info element of the object if needed.
7742 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7744 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7745 a non-zero exit status from 'false'.
7747 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7749 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.