1 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3 * configure.host: Handle Solaris 10/x86.
5 2005-06-14 Tom Tromey <tromey@redhat.com>
8 * configure, aclocal.m4, Makefile.in: Rebuilt.
10 2005-06-14 Tom Tromey <tromey@redhat.com>
12 * java/lang/Class.java (getClasses): New method.
13 (internalGetClasses): Likewise.
14 (getClassLoader): Updated documentation.
15 (getDeclaredClasses): New overload; old overload no longer
17 (_getConstructors): Removed.
18 (resourcePath): Updated.
19 * java/lang/natClass.cc (getClasses): Removed.
20 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
22 (_getConstructors): Removed.
24 2005-06-13 Jim Huang <jserv@kaffe.org>
27 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
28 (_Jv_JNI_NewObject): Likewise.
30 2005-06-13 Tom Tromey <tromey@redhat.com>
33 * testsuite/libjava.lang/pr21844.java: New file.
34 * testsuite/libjava.lang/pr21844.out: New file.
36 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
39 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
42 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
44 * java/text/MessageFormat.java (parse): When parsing strings, check
45 for an empty pattern trailer.
47 2005-06-06 Keith Seitz <keiths@redhat.com>
49 * gnu/classpath/jdwp/util/Signature.java: New file.
50 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
52 2005-06-05 Anthony Green <green@redhat.com>
54 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
57 2005-06-04 Anthony Green <green@redhat.com>
59 * java/net/URLClassLoader.java: import gnu.gcj.Core,
60 and gnu.java.net.protocol.core.CoreInputStream.
61 (CureURLLoader): New class.
62 (CoreResource): New class.
63 (addURLImpl): Add special treatment for the "core" protocol.
64 * gnu/gcj/natCore.cc (find): New method.
65 * gnu/gcj/Core.java (find): New method.
67 2005-06-03 Keith Seitz <keiths@redhat.com>
69 * gnu/classpath/jdwp/transport/ITransport.java: New file.
70 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
71 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
73 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
75 * jawt.c: Remove malloc.h, covered by stdlib.h.
77 * testsuite/libjava.jni/jni.exp
78 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
81 2005-06-02 Keith Seitz <keiths@redhat.com>
83 * gnu/classpath/jdwp/transport/TransportException.java: New file.
85 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
87 * mauve-libgcj: Remove implemented classes from the fail section.
88 Add two new not implemented to it.
90 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
92 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
93 AC_SUBST definition from configure.host.
94 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
95 to -fomit-frame-pointer on 32-bit x86 targets.
97 2005-06-01 Tom Tromey <tromey@redhat.com>
99 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
101 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
104 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
105 (static): Add possessive matching to JAVA_1_4 syntax.
106 * gnu/regexp/RETokenRepeated.java (possessive): New field.
107 (makePossessive, isPossessive): New methods.
108 (match): Don't back off during possessive matching.
109 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
110 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
113 2005-06-01 Keith Seitz <keiths@redhat.com>
115 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
116 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
117 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
119 2005-06-01 Tom Tromey <tromey@redhat.com>
122 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
123 (currentLoader): New method.
124 * java/io/ObjectInputStream.java (resolveProxyClass): Use
126 (currentLoader): Now native.
127 (currentClassLoader): Removed.
128 * testsuite/libjava.lang/pr21785.java: New file.
129 * testsuite/libjava.lang/pr21785.out: New file.
131 2005-06-01 Tom Tromey <tromey@redhat.com>
134 * java/lang/natString.cc (substring): Changed sharing heuristic.
136 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
139 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
140 MAXPATHLEN. Format exception message using a StringBuffer instead.
142 2005-05-29 Michael Koch <konqueror@gmx.de>
145 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
147 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
149 * ChangeLog: Fix typo.
151 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
153 Testsuite adjustments for PR java/19870.
154 * testsuite/libjava.lang/PR19870.java: New testcase.
155 * testsuite/libjava.lang/PR19870.out: Expected output for the
157 * testsuite/libjava.jacks/jacks.xfail: Add
158 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
161 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
163 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
164 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
165 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
167 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
168 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
169 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
170 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
172 2005-05-25 Richard Henderson <rth@redhat.com>
175 * sysdep/descriptor-n.h: New file.
176 * sysdep/descriptor-y.h: New file.
177 * sysdep/powerpc/descriptor.h: New file.
178 * configure.host: Set $descriptor_h appropriate for the host.
179 * configure.ac: Link it.
180 * configure: Regenerate.
181 * stacktrace.cc: Include sysdep/descriptor.h.
182 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
184 2005-05-25 Chris Burdess <dog@gnu.org>
186 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
187 end entity callbacks.
189 2005-05-24 Gary Benson <gbenson@redhat.com>
192 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
193 Handle DateFormat.DEFAULT case correctly.
195 2005-05-21 Tom Tromey <tromey@redhat.com>
198 * java/lang/ref/natReference.cc (find_slot): Handle case where
199 table has no NULL entries.
200 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
201 table has no NULL entries.
203 2005-05-22 Andreas Jaeger <aj@suse.de>
205 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
208 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
210 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
212 2005-05-19 Richard Henderson <rth@redhat.com>
214 * exception.cc: Revert 05-17 gcc_unreachable change.
216 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
218 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
219 _Jv_RegisterInitiatingLoader to register array classes, not
221 (_Jv_RegisterInitiatingLoader): Give up if called very early during
222 bootstrapping. Add a FIXME to handle this case better.
224 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
226 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
228 (libgcj_la_SOURCES): New. Move sources here.
229 (libgcj.la): Remove rule.
231 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
234 * gnu/java/security/provider/DSASignature.java: Import updates
237 2005-05-18 Anthony Green <green@redhat.com>
239 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
240 classpath_jawt_object_unlock, classpath_jawt_create_lock,
241 classpath_jawt_destroy_lock): New functions.
242 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
243 classpath_jawt_object_unlock, classpath_jawt_create_lock,
244 classpath_jawt_destroy_lock): New functions.
245 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
247 * jawt.c: #include malloc.h.
248 (_Jv_Lock): Use lock.
250 (_Jv_GetDrawingSurface): Initialize lock.
251 (_Jv_FreeDrawingSurface): Destroy lock.
252 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
254 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
256 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
257 * Makefile.in: Regenerate.
259 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
261 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
262 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
263 * aclocal.m4, configure, config.h.in, include/config.h.in,
264 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
265 external/Makefile.in, external/sax/Makefile.in,
266 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
268 2005-05-17 David Daney <ddaney@avtrex.com>
271 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
273 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
275 * exception.cc (abort): Remove std::abort hack.
276 (gcc_unreacheable): Define.
278 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
280 * Makefile.am (Makefile.deps): Do not create native.list and
282 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
283 * Makefile.in: Regenerate.
285 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
287 * configure.ac (--enable-libgcj-multifile): Remove.
289 * Makefile.am (all_native_compiled_source_files,
290 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
291 all_libgcj_lo_files, all_xlib_lo_files,
292 all_java_deps_files, all_java_stamp_files,
293 all_java_filelist_files): New variables.
294 (EXTRA_DIST): New Automake variable.
295 (CLEANFILES): Add .stamp, .list and .lo files.
296 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
297 (classes.stamp): Depend on $(all_java_stamp_files).
298 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
299 going through write_entries_to_file.
301 (all_java_source_files, all_property_files): Move earlier.
302 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
303 all_java_class_files): Remove.
304 (gtk_awt_peer_sources): Rename to...
305 (gtk_awt_peer_source_files): ... this. Adjust throughout.
308 (libgcj0_convenience_la_SOURCES): Remove Java source files.
309 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
310 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
311 (libgcj_la_SOURCES): Remove.
312 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
313 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
314 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
316 * configure: Regenerate.
317 * Makefile.in: Regenerate.
318 * external/Makefile.in: Regenerate.
319 * external/sax/Makefile.in: Regenerate.
320 * external/w3c_dom/Makefile.in: Regenerate.
321 * gcj/Makefile.in: Regenerate.
322 * include/Makefile.in: Regenerate.
323 * libltdl/Makefile.in: Regenerate.
324 * testsuite/Makefile.in: Regenerate.
326 2005-05-16 Tom Tromey <tromey@redhat.com>
328 * java/nio/charset/Charset.java (encode, decode): Synchronize on
329 'this', not the class.
331 2005-05-16 Tom Tromey <tromey@redhat.com>
333 * gnu/java/net/protocol/http/Headers.java (parse): Include final
336 2005-05-16 Tom Tromey <tromey@redhat.com>
339 * java/net/URI.java (unquote): Handle lower-case letters as well.
341 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
344 * gnu/regexp/RE.java: Add support for quoting constructs.
346 2005-05-15 Tom Tromey <tromey@redhat.com>
348 * java/lang/String.java (startsWith): Fixed javadoc.
350 2005-05-15 Tom Tromey <tromey@redhat.com>
353 * testsuite/libjava.compile/pr21519.java: New file.
354 * testsuite/libjava.compile/pr21519.no-link: New file.
356 2005-05-15 Tom Tromey <tromey@redhat.com>
358 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
360 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
363 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
364 interrupt status flag if _Jv_CondWait is interrupted.
366 2005-05-13 Tom Tromey <tromey@redhat.com>
368 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
371 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
373 * include/jvm.h (gcj::verifyClasses): Declare.
374 * link.cc (gcj::verbose_class_flag): Moved.
375 * prims.cc (gcj::verifyClasses): Define here.
376 (gcj::verbose_class_flag): Move definition here.
377 (_Jv_Linker::wait_for_state): Don't call verify_class
378 if gcj::verifyClasses is not set.
379 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
381 2005-05-12 Aaron Luchko <aluchko@redhat.com>
383 * gij.cc (main): Recognize '-verify', '-noverify', and
386 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
388 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
390 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
392 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
395 2005-05-11 Tom Tromey <tromey@redhat.com>
397 * external/w3c_dom/Makefile.in: Rebuilt.
398 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
400 * external/sax/Makefile.in: Rebuilt.
401 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
403 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
405 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
406 Call _Jv_CopyClassesToSystemLoader.
407 * java/lang/natClassLoader.cc (system_class_list): New global.
408 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
410 (_Jv_CopyClassesToSystemLoader): New function.
411 (SYSTEM_LOADER_INITIALIZED): New define.
412 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
413 (_Jv_CheckABIVersion): Use it.
414 (_Jv_ClassForBootstrapLoader): New function.
415 * Makefile.in: Rebuilt.
416 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
418 2005-05-10 Tom Tromey <tromey@redhat.com>
420 * gcj/javaprims.h: Updated.
421 * java/lang/String.java (String(StringBuilder)): New constructor.
422 * java/lang/natStringBuilder.cc: New file.
423 * java/lang/StringBuilder.java: New file.
424 * Makefile.in: Rebuilt.
425 * Makefile.am (core_java_source_files): Added StringBuilder.java.
426 (nat_source_files): Added natStringBuilder.cc.
428 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
431 * testsuite/libjava.jacks/jacks.xfail: Adjust.
433 2005-05-09 Mike Stump <mrs@apple.com>
435 * configure: Regenerate.
437 2005-05-09 David Daney <ddaney@avtrex.com>
439 * java/util/BitSet.java (get(int, int)): Fix breakage when
440 requested set doesn't start on a multiple of 64.
442 2005-05-07 Matthias Klose <doko@debian.org>
444 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
446 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
448 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
449 * Makefile.in: Regenerate.
450 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
451 (createCompatibleVolatileImage(int,int)): Implement.
452 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
454 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
456 (createVolatileImage): Implement.
457 (createBuffers): Likewise.
458 (getBackBuffer): Likewise.
460 (destroyBuffers): Likewise.
461 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
462 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
463 (CanvasFlipBufferStrategy): Likewise.
464 (createBufferStrategy(int)): New method.
465 (createBufferStrategy(int,BufferCapabilities)): Likewise.
466 * java/awt/Component.java (BltBufferStrategy): Implement and
468 (FlipBufferStrategy): Likewise.
469 * java/awt/Window.java (WindowBltBufferStrategy): New class.
470 (WindowFlipBufferStrategy): Likewise.
471 (createBufferStrategy(int)): New method.
472 (createBufferStrategy(int,BufferCapabilities)): Likewise.
473 (getBufferStrategy): Likewise.
474 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
475 front to frontCaps and back to backCaps.
477 2005-05-06 Michael Koch <konqueror@gmx.de>
479 * java/awt/BufferCapabilities.java
480 (BufferCapabilities): Merged javadoc.
482 2005-05-06 Michael Koch <konqueror@gmx.de>
484 * java/util/Locale.java
485 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
486 (getLocale): New methods. Use it everywhere where instances of Locales
488 (getDisplayLanguage): Merged javadoc.
489 (getDisplayCountry): Likewise.
490 (getDisplayVariant): Likewise.
492 2005-05-06 Archie Cobbs <archie@dellroad.org>
494 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
495 use DeleteLocalRef() to avoid exhausting local native references.
497 2005-05-06 Mark Wielaard <mark@klomp.org>
499 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
500 (window_delete_cb): Don't use C++ style comments.
502 2005-05-06 Robert Schuster <thebohemian@gmx.net>
504 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
507 2005-05-06 Robert Schuster <thebohemian@gmx.net>
509 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
510 (window_delete_cb): Made the function return TRUE.
512 2005-05-06 Roman Kennke <roman@kennke.org>
514 * javax/swing/text/PlainView.java
515 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
517 * javax/swing/text/Utilities.java
518 (drawTabbedText): Initilialize local variable pos correctly.
520 2005-05-06 Roman Kennke <roman@kennke.org>
522 * javax/swing/text/AbstractDocument.java
523 (LeafElement): Made start and end package private fields for
524 effective reindexing.
525 * javax/swing/text/PlainDocument.java
526 (constructor): The field rootElement is always BranchElement,
527 so we handle it as such.
528 (removeUpdate): Rewritten reindexing for removeUpdate so that
529 the actual removal is taken into account.
531 2005-05-06 Roman Kennke <roman@kennke.org>
533 * javax/swing/text/GapContent.java:
534 Removed debugging output stuff, which I accidentally left in.
536 2005-05-06 Roman Kennke <roman@kennke.org>
538 * javax/swing/text/GapContent.java:
539 Implemented a real GapContent. Only the public methods have
540 been implemented so far and still no UndoableEdit support.
542 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
544 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
547 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
549 * java/awt/image/BufferStrategy.java: Document.
551 * java/awt/BufferCapabilities.java: Document.
553 2005-05-04 Tom Tromey <tromey@redhat.com>
555 * java/nio/channels/FileLock.java (toString): Entirely avoid
558 2005-05-04 Andrew Overholt <overholt@redhat.com>
560 * java/nio/channels/FileLock.java (toString): Re-implement using
563 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
565 * java/awt/ImageCapabilities.java: Document.
567 * java/awt/image/VolatileImage.java: Unindent copyright header.
569 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
571 * java/awt/image/VolatileImage.java: Document.
573 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
576 (init_glib_threads): Check if threading system is already
579 2005-05-03 Andrew Overholt <overholt@redhat.com>
582 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
583 could not be acquired.
584 * java/nio/channels/FileLock.java (toString): Re-implement to be
585 in line with other implementations.
587 2005-05-03 Tom Tromey <tromey@redhat.com>
589 * java/lang/VMSecurityManager.java (currentClassLoader): Use
590 'systemClasssLoader' directly.
592 2005-05-03 Tom Tromey <tromey@redhat.com>
594 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
595 call VMClassLoader.getSystemClassLoader.
597 2005-04-29 Michael Koch <konqueror@gmx.de>
599 * java/net/NetworkInterface.java
601 (NetworkInterface(String,InetAddress)): Made package-private.
602 (NetworkInterface(String,InetAddress[])): New constructor.
603 (getRealNetworkInterfaces): Removed.
604 (getByName): Use VMNetworkInterface.getInterfaces().
605 (getByInetAddress): Likewise.
606 (getNetworkInterfaces): Likewise.
607 * java/net/VMNetworkInterface.java,
608 java/net/natVMNetworkInterfaceNoNet.cc,
609 java/net/natVMNetworkInterfacePosix.c,c
610 java/net/natVMNetworkInterfaceWin32.cc: New files.
611 * java/net/natNetworkInterfaceNoNet.cc,
612 java/net/natNetworkInterfacePosix.cc,
613 java/net/natNetworkInterfaceWin32.cc: Removed.
616 * configure, Makefile.in: Regenerated.
618 2005-04-29 Andrew Haley <aph@redhat.com>
620 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
622 2005-04-29 Dalibor Topic <robilad@kaffe.org>
624 * java/nio/channels/FileChannelImpl.java
625 (FileChannelImpl(String, int)): Removed.
626 (FileChannelImpl(File, int)): Added. Check if opened file is a
628 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
629 Call FileChannelImpl(File, int).
630 * java/io/FileOutputStream.java (FileInputStream): Call
631 FileChannelImpl(File, int).
632 * java/io/RandomAccessFile.java (RandomAccessFile):
633 Call FileChannelImpl(File, int). Switched constructors around.
635 2005-04-27 Andrew Haley <aph@redhat.com>
638 * prims.cc (_Jv_ResolvePoolEntry): New function.
639 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
640 * link.cc (_Jv_Linker::find_field): New arg: found_class.
641 (resolve_pool_entry): Initialize the class in which a field is
643 (link_symbol_table): Pass new arg to found_class.
645 2005-04-29 Michael Koch <konqueror@gmx.de>
647 * java/nio/charset/Charset.java
648 (provider): Reformatted.
650 2005-04-29 Michael Koch <konqueror@gmx.de>
652 * gnu/java/net/protocol/http/HTTPConnection.java:
653 (userAgent): Initialize from system properties.
654 (initUserAgent): Removed.
656 2005-04-29 Mark Wielaard <mark@klomp.org>
658 * java/util/ResourceBundle.java (getObject): Clarify
659 MissingResourceException detailed message.
660 (tryBundle(String,ClassLoader)): Likewise.
662 2005-04-29 Robert Schuster <thebohemian@gmx.net>
664 * java/beans/FeatureDescriptor.java:
665 (getShortDescription): Implemented fallback mechanism and fixed
666 documentation (fixes bug #12637).
667 (getDisplayName): Dito.
669 2005-04-29 Robert Schuster <thebohemian@gmx.net>
671 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
672 will now be set correctly.
673 (flushCaches): Now flushes all cached intermediate data.
675 2005-04-28 Michael Koch <konqueror@gmx.de>
677 * java/net/InetAddress.java
678 (aton): Fixed javadoc.
681 2005-04-28 Tom Tromey <tromey@redhat.com>
683 * javax/swing/Timer.java
684 (drainEvents, queueEvent): Now package-private.
686 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
688 * javax/swing/Timer.java
689 (constructor): Assigning initialDelay.
691 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
693 * javax/swing/Timer.java
694 (Waker.run): firing the first action event.
696 2005-04-28 Michael Koch <konqueror@gmx.de>
698 * javax/swing/Timer.java: Reordered all fields and methods,
701 2005-04-28 Michael Koch <konqueror@gmx.de>
703 * javax/swing/Timer.java: Javadocs merged
706 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
708 * gnu/java/net/protocol/file/Connection.java
709 (StaticData): New inner class to contain statics.
710 (connect, getHeaderField): Modified to use StaticData.
712 2005-04-28 Michael Koch <konqueror@gmx.de>
714 * gnu/java/net/protocol/file/Connection.java
715 (lineSeparator): Initialize with SystemProperties.getProperty().
717 2005-04-27 Chris Burdess <dog@gnu.org>
719 * gnu/java/net/protocol/file/Connection.java: Return correct content
720 length for directory listing.
721 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
722 #11285: return valid URLs for directories.i
724 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
726 * Makefile.am (ordinary_java_source_files): Add
727 gnu/java/net/protocol/https/Handler.java.
728 * Makefile.in: Regenerate.
729 * java/net/URL.java: Remove org.metastatic.jessie from default
730 protocol search path.
732 2005-04-27 Chris Burdess <dog@gnu.org>
734 * gnu/java/net/protocol/https/Handler.java: New file.
736 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
738 * javax/imageio/spi/IIORegistry.java (IIORegistry):
739 Don't assume that awt Toolkit is always ClasspathToolkit.
741 2005-04-27 Chris Burdess <dog@gnu.org>
743 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
744 absolute and relative paths in Location header.
746 2005-04-27 Chris Burdess <dog@gnu.org>
748 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
749 FileNotFoundException and implement getErrorStream on 404.
751 2005-04-27 Sven de Marothy <sven@physto.se>
753 * java/util/TimeZone.java,
754 (getDefaultDisplayName): Fix previous fix.
756 2005-04-27 Sven de Marothy <sven@physto.se>
758 * java/util/TimeZone.java,
759 (getDefaultDisplayName): Don't print zero offsets.
761 2005-04-27 Roman Kennke <roman@kennke.org>
763 * javax/swing/plaf/basic/BasicScrollBarUI
764 (getThumbBounds): Do not make thumb smaller than
766 * javax/swing/plaf/metal/MetalLookAndFeel
767 (initComponentDefaults): Added color defaults for ScrollBar.
768 * javax/swing/plaf/metal/MetalScrollBarUI
770 (getMinimumThumbSize): Added.
772 2005-04-27 Roman Kennke <roman@kennke.org>
774 * javax/swing/plaf/metal/MetalLookAndFeel
775 (initComponentDefaults): Added some default colors.
777 2005-04-27 Roman Kennke <roman@kennke.org>
779 * javax/swing/plaf/basic/BasicScrollBarUI.java
780 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
781 to 'ScrollBar.thumbShadow'. The formes does not exist.
782 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
784 2005-04-27 Roman Kennke <roman@kennke.org>
786 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
787 * javax/swing/BoxLayout.java: Likewise.
788 * javax/swing/UIManager.java: Likewise.
789 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
790 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
791 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
792 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
793 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
794 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
795 * javax/swing/text/Document.java: Likewise.
796 * javax/swing/text/GapContent.java: Likewise.
797 * javax/swing/text/SimpleAttributeSet.java: Likewise.
798 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
800 2005-04-27 Roman Kennke <roman@kennke.org>
802 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
803 (getPropertyPrefix): Added.
805 2005-04-27 Roman Kennke <roman@kennke.org>
807 * javax/swing/plaf/basic/BasicButtonUI.java
808 (getPropertyPrefix): Added.
809 (installDefaults): Use getPropertyPrefix instead of hard-coded
812 2005-04-27 Roman Kennke <roman@kennke.org>
814 * javax/swing/JToggleButton.java
815 (JToggleButton): Removed horizontalAlignment setting, this
816 was wrong. Added setting of an actionCommand, ToggleButtons
817 have "" as default actionCommand.
819 2005-04-27 Michael Koch <konqueror@gmx.de>
821 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
822 to work around CNI limitation.
824 2005-04-27 Sven de Marothy <sven@physto.se>
826 * java/nio/charset/Charset.java:
827 (defaultCharset()): New method.
828 Status updated to 1.5
830 2005-04-27 Sven de Marothy <sven@physto.se>
832 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
834 2005-04-27 Sven de Marothy <sven@physto.se>
836 * java/nio/charset/Charset.java: Reset cached de/encoders.
838 2005-04-27 Robert Schuster <thebohemian@gmx.net>
840 * java/nio/charset/Charset.java (forName): Throws
841 IllegalArgumentException when argument is null
842 and added documentation.
844 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
846 * java/nio/charset/Charset.java (providers):
847 New method to make an array of CharsetProviders defined in
848 META-INF/services/java.nio.charset.spi.CharsetProvider.
849 (charsetForName, availableCharsets): Use the
850 new method providers().
852 2005-04-26 Michael Koch <konqueror@gmx.de>
854 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
855 Fixed typos in javadocs.
856 (isSiteLocalAddress): Fixed handling of byte values.
857 (isMCLinkLocal): Likewise.
858 * java/net/Inet4Address.java
859 (isMulticastAddress): Call super method.
860 (isLoopbackAddress): Likewise.
861 (isAnyLocalAddress): Likewise.
862 (isLinkLocalAddress): Likewise.
863 (isSiteLocalAddress): Likewise.
864 (isMCGlobal): Likewise.
865 (isMCNodeLocal): Likewise.
866 (isMCLinkLocal): Likewise.
867 (isMCSiteLocal): Likewise.
868 (isMCOrgLocal): Likewise.
869 (getHostAddress): Likewise.
871 2005-04-26 Sven de Marothy <sven@physto.se>
873 * java/net/InetAddress.java
874 (toString): Don't print empty hostnames.
876 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
879 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
880 'false' to native lock().
881 (lock): Pass 'true' to native lock().
883 2005-04-26 Michael Koch <konqueror@gmx.de>
885 * java/net/InetAddress.java:
886 Fixed typos in javadocs.
888 2005-04-26 Andrew Haley <aph@redhat.com>
891 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
894 2005-04-26 Tom Tromey <tromey@redhat.com>
896 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
897 gnu): Now package-private.
898 * javax/swing/text/html/parser/DocumentParser.java (parser,
899 callBack, gnu): Now package-private.
900 * javax/swing/text/StringContent.java (content, setOffset,
901 checkLocation): Now package-private.
902 * javax/swing/text/JTextComponent.java (doc): Now
904 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
905 lastGoodOrientation, origParent, borders, cachedBounds,
906 cachedOrientation, DragWindow): Now package-private.
907 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
908 decrButton, viewport, panel, currentScrollLocation, layoutManager,
909 tabAreaRect, contentRect, createIncreaseButton,
910 createDecreaseButton, findPointForIndex): Now package-private.
911 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
912 (currentDividerLocation, moveDividerTo): Now package-private.
913 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
915 * javax/swing/plaf/basic/BasicScrollBarUI.java
916 (calculatePreferredSize, valueForYPosition, valueForXPosition):
918 * javax/swing/plaf/basic/BasicPopupMenuUI.java
919 (topWindowListener): Now package-private.
920 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
921 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
922 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
924 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
926 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
928 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
930 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
931 borderInsets): Now package-private.
932 (arrowButtonWidth): Likewise. Now a constant.
933 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
934 makeTabs, updatePreviewPanel): Now package-private.
935 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
936 darkShadow, highlight): Now package-private.
937 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
938 (addColorToQueue): Now package-private.
939 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
940 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
941 GSpinner, BSpinner): Now package-private.
942 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
943 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
944 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
945 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
946 updateTrack): Now package-private.
947 * javax/swing/TransferHandler.java (clipboard): Now
949 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
951 * javax/swing/Timer.java (drainEvents, queueEvent): Now
953 * javax/swing/RepaintManager.java (globalManager): Now
955 * javax/swing/JFormattedTextField.java (editValid): Now
957 * javax/swing/JColorChooser.java (makeModal): Now
959 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
960 index, path): Now package-private.
961 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
962 lineQuadIntersect, lineCubicIntersect, linesIntersect,
963 pointEquals): Now package-private.
964 * java/awt/geom/Arc2D.java (type): Now package-private.
965 * java/awt/Window.java (windowFocusOwner): Now package-private.
966 * java/awt/TextComponent.java (editable, selectionStart,
967 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
969 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
971 * java/awt/MenuComponent.java (focusListener): Now
973 * java/awt/Frame.java (state): Now package-private.
974 * java/awt/Choice.java (pItems): Now package-private.
975 * java/awt/Checkbox.java (state): Now package-private.
976 * java/awt/Button.java (actionCommand, label): Now
978 * gnu/javax/swing/text/html/parser/support/Parser.java
979 (attributes, _handleEndTag_remaining, _handleStartTag): Now
981 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
983 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
984 clip, transform, font, comp): Now package-private.
986 2005-04-26 Tom Tromey <tromey@redhat.com>
988 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
991 2005-04-26 Mark Wielaard <mark@klomp.org>
993 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
994 to MalformedURLException.
996 2005-04-26 Michael Koch <konqueror@gmx.de>
998 * java/security/AccessControlContext.java:
1000 (protectedDomains): Renamed from 'protectionDomain'.
1001 * java/security/AccessController.java:
1004 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1006 * gnu/java/security/action/GetSecurityPropertyAction.java
1007 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1008 of extending GetPropertyAction.
1011 (setParamters): New methods.
1012 (GetSecurityPropertyAction): Use new setParameters methods.
1014 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1016 * java/security/Security.java,
1017 java/security/cert/X509CRLSelector.java,
1018 java/security/cert/X509CertSelector.java:
1019 Modified to use SystemProperties.
1021 2005-04-26 Michael Koch <konqueror@gmx.de>
1023 * java/lang/System.java
1024 (setSecurityManager): Fixed comment.
1025 (getSecurityManager): Removed obsolete comment.
1027 2005-04-25 Tom Tromey <tromey@redhat.com>
1029 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1031 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1033 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1034 (connectSignals): Realize the window widget after connecting
1037 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1039 * java/awt/GraphicsEnvironment.java
1040 (localGraphicsEnvironment): New field.
1041 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1043 (isHeadless): Added support for java.awt.headless property.
1044 (isHeadlessInstance): Call headless().
1046 2005-04-25 Roman Kennke <roman@kennke.org>
1048 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1049 (getDisplayMode): Added. Returns the current display mode.
1050 (isFullScreenSupported): Added.
1051 * java/awt/GraphicsDevice.java
1052 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1053 This resizes and relocates the fullscreen window so that it uses
1054 the whole screen. This is not a fully accelerated fullscreen
1057 2005-04-25 Michael Koch <konqueror@gmx.de>
1059 * java/lang/Runtime.java,
1060 java/lang/SecurityManager.java,
1061 java/lang/System.java,
1062 java/lang/ThreadGroup.java:
1063 Replaced java.lang.Runtime.securityManager by
1064 java.lang.SecurityManager.current (as used in GNU classpath).
1066 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1068 * java/awt/Transparency.java
1069 (getTransparency): fixed API docs.
1071 2005-04-25 Archie Cobbs <archie@dellroad.org>
1073 * java/lang/Throwable.java: simplify initializing cause in constructor
1075 2005-04-25 Michael Koch <konqueror@gmx.de>
1077 * gnu/classpath/SystemProperties.java: New file.
1078 * gnu/classpath/natSystemProperties.cc: New file.
1079 * java/lang/Runtime.java
1080 (defaultProperties): Removed.
1082 (): Made thrown exceptions more verbose.
1083 (insertSystemProperties): Removed.
1084 * java/lang/System.java
1086 (properties): Likewise.
1087 (setSecurityManager): Reordered modifiers.
1088 (getenv): Improved javadoc.
1090 (isWordsBigEndian): Removed.
1091 * java/lang/natRuntime.cc
1092 (_Jv_SetDLLSearchPath): Likewise.
1093 (file_encoding): Likewise.
1094 (default_file_encoding): Likewise.
1095 (getpwuid_adaptor): Likewise.
1096 (insertSystemProperties): Likewise.
1097 * java/lang/natSystem.cc
1098 (isWordsBigEndian): Likewise.
1100 (ordinary_java_source_files):
1101 Added gnu/classpath/SystemProperties.java.
1102 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1103 * Makefile.in: Regenerated.
1105 2005-04-25 Roman Kennke <roman@kennke.org>
1107 * javax/swing/plaf/basic/BasicScrollBarUI.java
1108 (initDefaults): Initialize thumb*Color fields correctly.
1110 2005-04-25 Roman Kennke <roman@kennke.org>
1112 * javax/swing/text/GapContent.java:
1115 2005-04-25 Roman Kennke <roman@kennke.org>
1117 * javax/swing/plaf/metal/MetalBorders.java:
1118 Added inner class ScrollPaneBorder.
1119 * javax/swing/plaf/metal/MetalLookAndFeel.java
1120 (initComponentDefaults): Added default for "ScrollPane.border"
1121 to use the new ScrollPaneBorder.
1123 2005-04-25 Roman Kennke <roman@kennke.org>
1125 * javax/swing/text/AbstractDocument.java:
1126 Added FIXME comments. This class still has to be
1127 implemented thread-safe.
1129 2005-04-25 Roman Kennke <roman@kennke.org>
1131 * javax/swing/tree/DefaultTreeSelectionModel.java
1132 (DefaultTreeSelectionModel): Initialize listenerList here.
1134 2005-04-25 Roman Kennke <roman@kennke.org>
1136 * javax/swing/plaf/metal/MetalTextFieldUI.java
1137 (createUI): Return one instance per Component instead of a
1140 2005-04-25 Roman Kennke <roman@kennke.org>
1142 * javax/swing/text/Document.java:
1143 Added API documentation comments.
1145 2005-04-25 Roman Kennke <roman@kennke.org>
1147 * javax/swing/text/AbstractDocument.java
1148 (getDocumentProperties): Implemented.
1149 (setDocumentProperties): Implemented.
1150 (getProperty): Implemented.
1151 (putProperty): Implemented.
1153 2005-04-25 Roman Kennke <roman@kennke.org>
1155 * javax/swing/BoxLayout
1156 (preferredLayoutSize): Fixed computation so that it correctly
1157 adds the top and bottom insets of the container.
1159 2005-04-25 Roman Kennke <roman@kennke.org>
1161 * javax/swing/plaf/basic/BasicMenuItemUI.java
1162 (paintText): Make use of the 'selectionForeground' UI default
1165 2005-04-25 Roman Kennke <roman@kennke.org>
1167 * javax/swing/plaf/basic/BasicLookAndFeel.java
1168 (initSystemColorDefaults): Modified colors to match the
1169 BasicLookAndFeel in the reference implementation.
1170 (initComponentDefaults): Likewise.
1172 2005-04-25 Tom Tromey <tromey@redhat.com>
1174 * include/jni.h (_Jv_va_list): Removed.
1175 Moved configuration code...
1176 * include/jni_md.h: ... here. New file.
1177 * include/Makefile.in: Rebuilt.
1178 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1180 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1182 * java/io/FileInputStream.java (FileInputStream(File)),
1183 java/io/FileOutputStream.java (FileOutputStream(File)):
1184 Removed unnecessary File.isDirectory() check.
1186 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1188 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1189 gij if get_multilibs fails.
1191 2005-04-22 Anthony Green <green@redhat.com>
1193 * jni.cc (natrehash): Don't bother clearing memory again.
1194 * interpret.cc (do_allocate_static_fields): Ditto.
1195 * java/lang/natString.cc (rehash): Ditto.
1197 2005-04-22 Roman Kennke <roman@kennke.org>
1199 * javax/swing/plaf/basic/BasicLookAndFeel.java
1200 (initComponentDefaults): Changed Button.border to be
1201 BasicBorders.getButtonBorder as it should be.
1203 2005-04-22 Roman Kennke <roman@kennke.org>
1205 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1206 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1207 should according to a mauve testcase, instead of the preferred
1210 2005-04-22 Roman Kennke <roman@kennke.org>
1212 * javax/swing/JMenu.java
1213 (add): add(Component) now calls PopupMenu.insert(..) instead of
1214 PopupMenu.add(..). add(..) is not implemented for Component,
1215 so JComponent.add(..) is called instead, adding the component
1218 2005-04-22 Roman Kennke <roman@kennke.org>
1220 * javax/swing/plaf/basic/BasicButtonListener.java
1221 (mousePressed): replaced query to getModifiersEx with getModifiers.
1222 This method relied on faulty behaviour in getModifierEx.
1223 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1224 This method relied on faulty behaviour in getModifierEx.
1226 2005-04-22 Roman Kennke <roman@kennke.org>
1228 * javax/swing/plaf/metal/MetalLookAndFeel.java
1229 (getDefaults): Call addCustomEntriesToTable on the theme.
1231 2005-04-22 Roman Kennke <roman@kennke.org>
1233 * javax/swing/tree/DefaultTreeSelectionModel.java
1234 (constructor): Added implementation.
1235 (getRowMapper): Added implementation.
1236 (setSelectionMode): Added implementation.
1237 (getSelectionMode): Added implementation.
1238 (getSelectionPath): Added implementation.
1239 (getSelectionPaths): Added implementation.
1240 (getSelectionCount): Added implementation.
1241 (isSelectionEmpty): Added implementation.
1242 (getSelectionRows): Added implementation.
1243 (getMinSelectionRow): Added implementation.
1244 (getMaxSelectionRow): Added implementation.
1245 (getLeadSelectionRow): Added implementation.
1246 (getLeadSelectionPath): Added implementation.
1248 2005-04-22 Casey Marshall <csm@gnu.org>
1250 * gnu/java/security/der/DERValue.java
1251 (getValueAs): new method.
1252 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1253 (<init>): read both dates with 'DERValue.getValueAs', with
1254 'GENERALIZED_TIME' as the argument.
1256 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1258 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1259 be null, check for that case and don't deference it.
1261 2005-04-22 Sven de Marothy <sven@physto.se>
1263 * java/util/logging/LogManager.java: Reformatted.
1264 (readConfiguration): If a logger for a key is not found, create one.
1266 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1268 * java/rmi/Naming.java:
1269 Added class documentation.
1270 (lookup(String)): Call parseURL and getName.
1271 (bind(String,java.rmi.Remote)): Likewise.
1272 (unbind(String)): Likewise.
1273 (rebind(String, java.rmi.Remote)): Likewise.
1274 (list(String)): Call parseURL.
1275 (parseURL(String)): New method to handle parsing and defaults.
1276 (getName(java.net.URL)): New method to handle finding the service name.
1278 2005-04-21 Tom Tromey <tromey@redhat.com>
1280 * java/lang/natClass.cc (initializeClass): Link class.
1282 2005-04-21 Tom Tromey <tromey@redhat.com>
1284 * java/lang/AssertionError.java: Typo fix.
1286 2005-04-21 Tom Tromey <tromey@redhat.com>
1288 * java/lang/VMClassLoader.java (transformException): Removed.
1289 (resolveClass): No longer native. Now does nothing.
1290 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1292 2005-04-21 Anthony Green <green@redhat.com>
1295 * testsuite/libjava.special/special.exp,
1296 testsuite/libjava.special/pr21115I.java,
1297 testsuite/libjava.special/pr21115.java,
1298 testsuite/libjava.special/pr21115.out: New files.
1300 2005-04-21 Chris Burdess <dog@gnu.org>
1302 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1303 CRLF-delimited chunks.
1305 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1307 * java/net/URI.java:
1308 Added class documentation.
1309 (parseURI(String)): Only handle scheme-specific parts
1310 if URI is not opaque. Allow for parts that can't be null.
1311 (toString()): Output the scheme-specific part whole, rather
1312 than as its possibly non-existent components.
1314 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1316 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1317 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1318 Adjusted to match new regexp.
1320 2005-04-20 Michael Koch <konqueror@gmx.de>
1322 * gnu/java/net/protocol/file/Connection.java,
1323 gnu/java/net/protocol/jar/Connection.java:
1324 Reorganized import statements. Fixed @author tags.
1326 2005-04-20 Chris Burdess <dog@gnu.org>
1328 * java/io/DataOutputStream.java (writeUTF): Use block write for
1331 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1333 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1334 (readLine): Changed newline handling.
1336 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1338 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1339 ColorModel,byte[],int,int): Fixed byte to int conversion.
1341 2005-04-20 Michael Koch <konqueror@gmx.de>
1343 * java/io/FilePermission.java
1344 (serialVersionUID): Made private.
1345 (ALL_FILES): New constant.
1346 (implies): Handle '<<ALL FILES>>' case.
1348 2005-04-20 Sven de Marothy <sven@physto.se>
1350 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1351 (drawImage): Don't notify the image observer for offscreen images.
1352 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1353 (setPixels): Don't notify the image observer.
1355 2005-04-20 Sven de Marothy <sven@physto.se>
1357 * java/nio/ByteBufferImpl.java:
1358 (putChar): Inlined for speed.
1359 (put, get): Bulk methods can use arraycopy.
1360 * java/nio/CharBufferImpl.java:
1361 (put, get): Bulk methods can use arraycopy.
1363 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1365 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1367 * java/nio/CharBufferImpl.java
1368 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1369 (get(), put(char)): Inlined checks and field updates. Fixed to
1370 take array_offset into account.
1371 (get(int), put(int, char)): Fixed to take array_offset into account.
1373 2005-04-20 Sven de Marothy <sven@physto.se>
1375 * java/text/SimpleDateFormat.java:
1376 (formatWithAttribute): Pad year before truncating digits.
1378 2005-04-20 Michael Koch <konqueror@gmx.de>
1380 * gnu/java/net/PlainDatagramSocketImpl.java:
1381 Merged copyright header.
1382 * gnu/java/net/PlainSocketImpl.java:
1383 Reorganized import statements. Fixed @author tags.
1385 2005-04-20 Michael Koch <konqueror@gmx.de>
1387 * gnu/java/lang/ClassHelper.java,
1388 gnu/java/lang/reflect/TypeSignature.java:
1391 2005-04-20 Michael Koch <konqueror@gmx.de>
1393 * gnu/java/beans/IntrospectionIncubator.java:
1394 Fixed HTML tags in javadocs.
1396 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1398 * gnu/java/beans/IntrospectionIncubator.java
1399 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1400 set(), is(), add() and remove() with properties or events.
1402 2005-04-20 Michael Koch <konqueror@gmx.de>
1404 * gnu/java/awt/image/XBMDecoder.java:
1405 Fixed modifier order.
1407 2005-04-20 Roman Kennke <roman@kennke.org>
1409 * javax/swing/plaf/basic/BasicButtonUI.java
1410 (paint): This should not care about margin and insets
1411 at the same time, as insets already include the margin
1413 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1414 (getPreferredButtonSize): Likewise.
1415 * javax/swing/plaf/metal/MetalBorders.java
1416 (getBorderInsets): Likewise.
1418 2005-04-20 Roman Kennke <roman@kennke.org>
1420 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1421 (createMessageArea): The JPanel that holds the message area
1422 doesn't need to override getPreferredSize. This prevents some
1423 message components from rendering nicely.
1425 2005-04-20 Roman Kennke <roman@kennke.org>
1427 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1428 (createUI): Do not share instances between components.
1429 * javax/swing/plaf/metal/MetalSliderUI.java
1430 (createUI): Do not share instances between components.
1432 2005-04-20 Roman Kennke <roman@kennke.org>
1434 * javax/swing/plaf/metal/MetalBorders:
1435 (PopupMenuBorder): Added.
1436 * javax/swing/plaf/metal/MetalLookAndFeel
1437 (initComponentDefaults): Added PopupMenuBorder.
1439 2005-04-20 Roman Kennke <roman@kennke.org>
1441 * javax/swing/tree/DefaultTreeSelectionModel.java:
1442 Added API documentation all over the class.
1444 2005-04-20 Roman Kennke <roman@kennke.org>
1446 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1447 (installDefaults): Link managed JScrollPane in instance field.
1448 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1450 2005-04-20 Roman Kennke <roman@kennke.org>
1452 * javax/swing/plaf/basic/BasicScrollBarUI.java
1453 (PropertyChangeHandler.propertyChange): Add default
1454 to switch statement to avoid errors with unusual values
1456 (installComponents): Likewise.
1458 2005-04-20 Roman Kennke <roman@kennke.org>
1460 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1461 (createUI): Instances cannot be shared among JScrollPanes.
1463 2005-04-20 Roman Kennke <roman@kennke.org>
1465 * javax/swing/plaf/metal/MetalLookAndFeel.java
1466 (initComponentDefaults): Added defaults for Menu, MenuBar
1469 2005-04-20 Roman Kennke <roman@kennke.org>
1471 * javax/swing/plaf/basic/BasicScrollBarUI.java
1472 (installUI): Install listeners after everything all, otherwise
1473 we get strange NPEs in some situations, especially with
1475 (createIncreaseButton): Orientation is expected to be
1476 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1477 HORIZONTAL or VERTICAL.
1478 (createDecreaseButton): Orientation is expected to be
1479 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1480 HORIZONTAL or VERTICAL.
1481 (installComponents): Orientation for buttons is expected to be
1482 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1483 HORIZONTAL or VERTICAL.
1485 2005-04-20 Roman Kennke <roman@kennke.org>
1487 * javax/swing/JToolBar.java
1488 (addImpl): Adjust added AbstractButtons to look and feel like
1490 * javax/swing/plaf/metal/MetalBorders.java:
1491 Adjusted insets of ButtonBorder.
1492 (RolloverMarginBorder): Added class for toolbar buttons.
1493 (getButtonBorder): Adjusted factory method to return a shared
1494 instance of button border.
1495 (getToolbarButtonBorder): Added factory method to return a shared
1496 instance of toolbar button border.
1497 (getMarginBorder): Added factory method to return a shared
1498 instance of margin border.
1499 * javax/swing/plaf/metal/MetalButtonUI.java
1500 (installDefauls): If button is child of a JToolBar then set
1501 special border on this button.
1503 2005-04-20 Michael Koch <konqueror@gmx.de>
1505 * java/net/URLConnection.java
1506 (getContent): Fixed javadoc comment.
1508 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1510 * java/net/URL.java:
1511 (toURI()): Implemented.
1513 2005-04-19 Michael Koch <konqueror@gmx.de>
1515 * java/net/InetAddress.java
1516 (InetAddress): Fixed javadoc comment.
1518 (lookup): Added javadoc.
1519 (getFamily): Likewise.
1520 * java/net/ServerSocket.java
1521 (getChannel): Improved javadoc comment.
1523 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1525 * gnu/xml/dom/html2/DomHTMLParser.java:
1526 Changed 'enum' references to become 'enumeration'.
1528 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1530 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1532 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1534 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1535 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1536 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1537 (validateParameters(TagElement,htmlAttributeSet)):
1538 Replaced 'enum' with 'enumeration'.
1539 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1542 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1544 * javax/swing/text/html/parser/Entity.java (getType): New method.
1545 * javax/swing/text/html/parser/DocumentParser.java:
1546 Inherit from javax.swing.text.html.parser.Parser.
1548 2005-04-19 Chris Burdess <dog@gnu.org>
1550 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1551 check for HTML/XHTML namespace.
1553 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1555 * javax/swing/text/html/parser/Parser.java,
1556 javax/swing/text/html/parser/Entity.java:
1557 Inheriting from DTDConstants.
1558 * javax/swing/text/html/parser/AttributeList.java
1559 (getValues): Changed return type.
1560 * javax/swing/text/html/parser/DocumentParser
1561 (parse): Adding the callback parameter that receives
1564 2005-04-19 Chris Burdess <dog@gnu.org>
1566 * gnu/xml/dom/DomImpl.java,
1567 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1568 gnu/xml/dom/html2/DomHTMLDocument.java,
1569 gnu/xml/dom/html2/DomHTMLElement.java,
1570 gnu/xml/dom/html2/DomHTMLFormElement.java,
1571 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1572 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1573 gnu/xml/dom/html2/DomHTMLImpl.java,
1574 gnu/xml/dom/html2/DomHTMLInputElement.java,
1575 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1576 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1577 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1578 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1579 gnu/xml/dom/html2/DomHTMLTableElement.java,
1580 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1581 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1582 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1583 UI events, and tree utility functions.
1585 2005-04-19 Michael Koch <konqueror@gmx.de>
1587 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1588 gnu/javax/swing/text/html/parser/gnuDTD.java,
1589 gnu/javax/swing/text/html/parser/models/node.java:
1590 Reworked import statements.
1592 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1594 * javax/swing/text/html/HTMLDocument.java: New file.
1596 2005-04-19 Michael Koch <konqueror@gmx.de>
1598 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1600 * javax/swing/text/html/parser/AttributeList.java:
1601 Fixed order of modifiers.
1602 (AttributeList): Made final.
1603 * javax/swing/text/html/parser/ContentModel.java:
1604 Fixed html characters in javadocs.
1605 * javax/swing/text/html/parser/DTD.java
1606 (DTD): Don't implement java.io.Serializable directly.
1607 (getElement): Simplified.
1608 * javax/swing/text/html/parser/DTDConstants.java:
1610 * javax/swing/text/html/parser/Element.java:
1611 Fixed order of modifiers.
1612 * javax/swing/text/html/parser/Parser.java:
1613 Reformatted. Don't use fully-qualified class names.
1614 * javax/swing/text/html/parser/ParserDelegator.java:
1615 Fixed order of modifiers.
1616 * javax/swing/text/rtf/RTFParser.java:
1617 Re-ordered import statements.
1618 * javax/swing/text/rtf/RTFScanner.java:
1619 Removed unused import statement.
1621 2005-04-19 Chris Burdess <dog@gnu.org>
1623 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1624 gnu/xml/dom/html2/DomHTMLCollection.java,
1625 gnu/xml/dom/html2/DomHTMLDocument.java,
1626 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1628 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1629 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1630 gnu/xml/dom/html2/DomHTMLDivElement.java,
1631 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1632 gnu/xml/dom/html2/DomHTMLFontElement.java,
1633 gnu/xml/dom/html2/DomHTMLFormElement.java,
1634 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1635 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1636 gnu/xml/dom/html2/DomHTMLHRElement.java,
1637 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1638 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1639 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1640 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1641 gnu/xml/dom/html2/DomHTMLImageElement.java,
1642 gnu/xml/dom/html2/DomHTMLInputElement.java,
1643 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1644 gnu/xml/dom/html2/DomHTMLLIElement.java,
1645 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1646 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1647 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1648 gnu/xml/dom/html2/DomHTMLMapElement.java,
1649 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1650 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1651 gnu/xml/dom/html2/DomHTMLModElement.java,
1652 gnu/xml/dom/html2/DomHTMLOListElement.java,
1653 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1654 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1655 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1656 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1657 gnu/xml/dom/html2/DomHTMLParamElement.java,
1658 gnu/xml/dom/html2/DomHTMLPreElement.java,
1659 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1660 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1661 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1662 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1663 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1664 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1665 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1666 gnu/xml/dom/html2/DomHTMLTableElement.java,
1667 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1668 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1669 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1670 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1671 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1673 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1675 * javax/swing/text/ChangedCharSetException.java,
1676 javax/swing/text/html/HTMLEditorKit.java,
1677 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1678 javax/swing/text/html/parser/AttributeList.java,
1679 javax/swing/text/html/parser/ContentModel.java,
1680 javax/swing/text/html/parser/DocumentParser.java,
1681 javax/swing/text/html/parser/DTD.java,
1682 javax/swing/text/html/parser/DTDConstants.java,
1683 javax/swing/text/html/parser/Element.java,
1684 javax/swing/text/html/parser/Entity.java,
1685 javax/swing/text/html/parser/Parser.java,
1686 javax/swing/text/html/parser/TagElement.java,
1687 gnu/javax/swing/text/html/package.html,
1688 gnu/javax/swing/text/html/parser/gnuDTD.java,
1689 gnu/javax/swing/text/html/parser/HTML_401F.java,
1690 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1691 gnu/javax/swing/text/html/parser/htmlValidator.java,
1692 gnu/javax/swing/text/html/parser/package.html,
1693 gnu/javax/swing/text/html/parser/models/list.java,
1694 gnu/javax/swing/text/html/parser/models/node.java,
1695 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1696 gnu/javax/swing/text/html/parser/models/package.html,
1697 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1698 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1699 gnu/javax/swing/text/html/parser/models/transformer.java,
1700 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1701 gnu/javax/swing/text/html/parser/support/package.html,
1702 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1703 gnu/javax/swing/text/html/parser/support/Parser.java,
1704 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1705 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1706 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1707 gnu/javax/swing/text/html/parser/support/low/Location.java,
1708 gnu/javax/swing/text/html/parser/support/low/node.java,
1709 gnu/javax/swing/text/html/parser/support/low/package.html,
1710 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1711 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1712 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1713 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1715 * javax/swing/text/html/HTML.java,
1716 javax/swing/text/html/parser/ParserDelegator.java:
1717 New files (replacing).
1718 * javax/swing/text/html/package.html,
1719 javax/swing/text/html/parser/package.html: Documenting the
1722 2005-04-19 Chris Burdess <dog@gnu.org>
1724 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1725 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1726 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1727 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1728 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1729 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1730 gnu/xml/dom/html2/DomHTMLBRElement.java,
1731 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1732 gnu/xml/dom/html2/DomHTMLCollection.java,
1733 gnu/xml/dom/html2/DomHTMLDocument.java,
1734 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1736 2005-04-19 Michael Koch <konqueror@gmx.de>
1738 * Makefile.am: Added new files.
1739 * Makefile.in: Regenerated.
1741 2005-04-19 Roman Kennke <roman@kennke.org>
1743 * javax/swing/text/JTextComponent.java
1744 (JTextComponent): Added repaintListener which issues repaint
1745 requests when the underlying document changes.
1746 (setDocument): Adds repaintListener to document when the
1747 document is changed.
1748 * javax/swing/text/DefaultEditorKit.java:
1749 Removed repaint calls on JTextComponent. This is now handled
1750 through a DocumentListener in JTextComponent that repaints
1751 the component when needed.
1753 2005-04-19 Roman Kennke <roman@kennke.org>
1756 * javax/swing/text/StyleContext.java
1757 (NamedStyle.setResolveParent): Added null
1760 2005-04-19 Michael Koch <konqueror@gmx.de>
1762 * java/rmi/server/RemoteObject.java:
1763 Removed unused import statement.
1765 2005-04-19 Michael Koch <konqueror@gmx.de>
1767 * java/net/URL.java: Formatting cleanups.
1769 2005-04-19 Michael Koch <konqueror@gmx.de>
1771 * java/awt/FontMetrics.java: Reformatted.
1772 (getFontRenderContext): Handle case when java.awt.Graphics context is
1775 2005-04-19 Michael Koch <konqueror@gmx.de>
1777 * java/awt/FontMetrics.java
1778 (getStringBounds): New methods.
1781 2005-04-19 Michael Koch <konqueror@gmx.de>
1783 * gnu/java/security/x509/X509Certificate.java
1784 (parse): Handle val == null case.
1786 2005-04-19 Roman Kennke <roman@kennke.org>
1788 * javax/swing/plaf/metal/MetalLookAndFeel.java
1789 (initComponentDefaults): Added defaults for Menu, MenuBar
1792 2005-04-19 Roman Kennke <roman@kennke.org>
1794 * javax/swing/plaf/metal/MetalLookAndFeel.java
1795 (initComponentDefaults): Added Label.font.
1796 (initSystemColorDefaults): Added this method and adjusted the
1797 general control color.
1799 2005-04-19 Roman Kennke <roman@kennke.org>
1801 * javax/swing/plaf/metal/MetalBorders.java:
1803 * javax/swing/plaf/metal/MetalButtonUI.java:
1804 (installDefaults): Install button font.
1805 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1806 (initComponentDefaults): Added button border, font and margin.
1807 Changed components background color to the Metal current themes
1810 2005-04-19 Roman Kennke <roman@kennke.org>
1812 * javax/swing/plaf/metal/MetalLookAndFeel.java
1813 (initComponentDefaults): Added to set Metal specific component
1816 2005-04-19 Mark Wielaard <mark@klomp.org>
1818 * javax/swing/plaf/metal/MetalLookAndFeel.java
1819 (initClassDefaults): Call super.initClassDefaults().
1821 2005-04-19 Roman Kennke <roman@kennke.org>
1823 * javax/swing/plaf/metal/MetalLookAndFeel.java
1824 (initClassDefaults): Added to include the *UI classes.
1826 2005-04-19 Roman Kennke <roman@kennke.org>
1828 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1830 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1832 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1834 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1836 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1838 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1840 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1842 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1844 * javax/swing/plaf/metal/MetalSliderUI.java:
1846 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1848 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1850 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1852 2005-04-19 Roman Kennke <roman@kennke.org>
1854 * javax/swing/plaf/metal/MetalButtonUI.java:
1855 Added skeleton class.
1856 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1857 Added skeleton class.
1858 * javax/swing/plaf/metal/MetalLabelUI.java:
1859 Added skeleton class.
1860 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1861 Added skeleton class.
1862 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1863 Added skeleton class.
1864 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1865 Added skeleton class.
1867 2005-04-19 Roman Kennke <roman@kennke.org>
1869 * javax/swing/UIDefaults.java:
1870 Added API documentation for all methods.
1872 2005-04-19 Roman Kennke <roman@kennke.org>
1874 * javax/swing/UIDefaults.java
1875 (put): Now uses new checkAndPut method instead of checking
1877 (putDefaults): Fixed so that it accepts null-values and
1878 treats them like remove(key).
1879 (checkAndPut): Added. This checks for null-values and calls
1882 2005-04-19 Michael Koch <konqueror@gmx.de>
1884 * Makefile.am: Added new files.
1885 * Makefile.in: Regenerated.
1887 2005-04-19 Mark Wielaard <mark@klomp.org>
1889 * java/lang/natRuntime.cc (insertSystemProperties): Set
1890 java.class.path to CLASSPATH only when not empty. Fall back to
1891 default path "." when java.class.path is empty.
1893 2005-04-19 Michael Koch <konqueror@gmx.de>
1895 * javax/swing/text/rtf/ControlWordToken.java,
1896 javax/swing/text/rtf/RTFEditorKit.java,
1897 javax/swing/text/rtf/RTFParseException.java,
1898 javax/swing/text/rtf/RTFParser.java,
1899 javax/swing/text/rtf/RTFScanner.java,
1900 javax/swing/text/rtf/TextToken.java,
1901 javax/swing/text/rtf/Token.java: New files.
1902 * Makefile.am: Added new files.
1903 * Makefile.in: Regenerated.
1905 2005-04-19 Michael Koch <konqueror@gmx.de>
1907 * java/awt/geom/QuadCurve2D.java:
1908 Fixed Brian Gough's name for real.
1910 2005-04-19 Roman Kennke <roman@kennke.org>
1912 * javax/swing/UIManager.java:
1913 Make the UIManager respect the swing.defaultlaf system
1916 2005-04-19 Tom Tromey <tromey@redhat.com>
1918 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1921 2005-04-19 Roman Kennke <roman@kennke.org>
1923 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1924 Fixed tabs to spaces.
1926 2005-04-19 Roman Kennke <roman@kennke.org>
1928 * javax/swing/plaf/basic/BasicMenuUI.java
1929 (getMaximumSize): Now returns preferredSize because JMenu should
1930 never be bigger than that.
1931 * javax/swing/JRootPane
1932 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1934 2005-04-19 Roman Kennke <roman@kennke.org>
1936 * javax/swing/JRootPane.java:
1937 Fixed various tabs to be spaces.
1938 (RootLayout.layoutContainer): Made menubar left aligned.
1940 2005-04-19 Roman Kennke <roman@ontographics.com>
1942 * javax/swing/JList.java
1943 (getPreferredScrollableViewportSize):
1944 The previous implementation was merely guessing the size,
1945 now it respects layoutOrientation, visibleRowCount
1947 (getScrollableTracksViewportHeight):
1948 Reimplemented so that layoutOrientation, visibleRowCount
1949 and preferred size are respected.
1950 (getScrollableTracksViewportWidth):
1951 Reimplemented so that layoutOrientation, visibleRowCount
1952 and preferred size are respected.
1953 * javax/swing/plaf/basic/BasicListUI.java
1955 Improved calculation of preferredSize when JList is
1956 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1958 The previous implementation assumed a layoutOrientation of
1959 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1960 JList.VERTICAL_WRAP.
1962 2005-04-19 Roman Kennke <roman@ontographics.com>
1964 * javax/swing/plaf/basic/BasicListUI.java
1965 (paintCell): use CellRendererPane for painting the cells.
1967 2005-04-19 Roman Kennke <roman@ontographics.com>
1969 * javax/swing/plaf/basic/BasicListUI:
1970 fixed modifiers of several fields, methods and inner
1971 classes to match the 'spec'.
1972 (getMaximumSize): removed. It's not in the spec and the
1973 implementations was superfluous.
1975 2005-04-19 Roman Kennke <roman@ontographics.com>
1977 * javax/swing/plaf/basic/BasicListUI:
1978 make BasicListUI capable of wrapping lists
1979 (layoutOrientation property of javax.swing.JList)
1981 2005-04-19 Roman Kennke <roman@ontographics.com>
1983 * javax/swing/plaf/basic/BasicListUI
1984 (updateLayoutState,paint): make BasicListUI aware of the
1985 width of the rendered JList.
1987 2005-04-19 Roman Kennke <roman@kennke.org>
1989 * javax/swing/ImageIcon.java
1990 Added API documentation.
1992 2005-04-19 Roman Kennke <roman@kennke.org>
1994 * javax/swing/text/ImageIcon.java
1995 (ImageIcon): Use setImage instead of direct assignment.
1996 (setImage): Call loadImage to make sure that the image is loaded.
1997 (loadImage): Waits for the image to complete loading.
1998 (getImageLoadStatus): Added. Returns the load status of the
2001 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2003 * javax/swing/JTextArea.java (replaceRange):
2004 Fixing doc.remove(start, length) misinterpretation.
2006 2005-04-19 Roman Kennke <roman@ontographics.com>
2008 * javax/swing/CellRendererPane.java:
2009 implemented all methods of this class.
2010 reformatted all wrong formatted code.
2012 2005-04-19 Roman Kennke <roman@kennke.org>
2014 * javax/swing/BoxLayout.java:
2015 (layoutContainer): Made this layout manager respect the
2016 minimum, maximum and preferred size more correctly.
2018 2005-04-19 Roman Kennke <roman@ontographics.com>
2020 * javax/swing/BoxLayout.java:
2021 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2022 layoutContainer): Make these methods and thereby the
2023 BoxLayout respect the insets (like borders) of the
2024 component that is laid out.
2026 2005-04-19 Roman Kennke <roman@kennke.org>
2028 * javax/swing/JComponent.java:
2029 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2030 Untabified the file.
2032 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2034 * javax/swing/JComboBox.java (constructors): selecting the
2035 first item if the box was constructed from the provided
2036 non - empty array or vector.
2038 2005-04-19 Michael Koch <konqueror@gmx.de>
2040 * gnu/java/awt/peer/gtk/GdkGraphics.java
2041 (getClipBounds): Handle clip being null.
2042 (setClip): Likewise.
2043 * java/beans/beancontext/BeanContextSupport.java
2047 (removeAll): Likewise.
2048 (retainAll): Likewise.
2050 2005-04-19 Michael Koch <konqueror@gmx.de>
2052 * java/beans/beancontext/BeanContextServicesSupport.java
2053 (BeanContextServicesSupport): Reimplemented.
2054 (addBeanContextServicesListener): Implemented.
2055 (initialize): Likewise.
2056 (removeBeanContextServicesListener): Likewise.
2057 * java/beans/beancontext/BeanContextSupport.java
2059 (addBeanContextMembershipListener): Likewise.
2060 (getLocale): Likewise.
2061 (initialize): Likewise.
2062 (iterator): Likewise.
2064 (toArray): Likewise.
2066 2005-04-19 Roman Kennke <roman@kennke.org>
2068 * java/awt/MediaTracker.java:
2069 Reindented tabs to spaces.
2071 2005-04-19 Roman Kennke <roman@kennke.org>
2073 * java/awt/MediaTracker.java
2074 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2075 confused the media tracker and lead to lockups. The LOADING
2076 bit is handled on other places.
2077 (addImage): Removed the 'start image tracking' stuff. This
2078 is not necessary and could confuse the media tracker.
2079 (checkAll): Improved the check for image status so that
2080 images that already complete images are detected. Also now
2081 are really all images checked and if necessary loaded. Before
2082 the method bailed out after the first incomplete image.
2083 (statusAll): Detect images that are complete after the
2084 call to Component.prepareImage(..).
2085 (checkID): The same as in checkAll.
2086 (statusID): The same as in statusAll.
2088 2005-04-19 Roman Kennke <roman@kennke.org>
2090 * java/awt/MediaTracker.java
2091 (addImage): Synchronized list access.
2092 (waitForAll): Fixed comparison of time (changed < to >).
2093 (waitForID): Fixed comparison of time (changed < to >).
2094 (removeImage): Synchronized list access.
2096 2005-04-19 Roman Kennke <roman@kennke.org>
2098 * java/awt/MediaTracker.java
2099 Added API documentation.
2101 2005-04-19 Roman Kennke <roman@kennke.org>
2103 * java/awt/MediaTracker.java
2104 (MediaEntry.imageUpdate): Fixed flags. The different flags
2105 must not be ORed together.
2106 (checkAll): Modified to handle different meaning of the flags.
2107 (waitForAll): Fixed so that it waits maximum the
2108 specified amount of milliseconds.
2109 (statusAll): Modified to handle different meaning of the flags.
2110 (waitForID): Fixed so that it waits maximum the
2111 specified amount of milliseconds.
2113 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2115 * java/awt/Font.java (decode): Handle null argument and allow
2118 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2120 * java/beans/EventHandler.java: Reworked documentation.
2121 (invoke): Fixed behavior to match spec.
2123 2005-04-19 Michael Koch <konqueror@gmx.de>
2125 * java/awt/print/PrinterJob.java
2126 (pageDialog): New method.
2127 (printDialog): Implemented.
2129 2005-04-19 Michael Koch <konqueror@gmx.de>
2131 * java/awt/image/ConvolveOp.java:
2132 Removed comment added by eclipse.
2134 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2136 * java/awt/image/IndexColorModel.java
2137 (getRGB): Check if pixel is negative.
2139 2005-04-19 Michael Koch <konqueror@gmx.de>
2141 * java/awt/image/RasterOp.java:
2142 Fixed wrong formatting.
2144 2005-04-18 Roman Kennke <roman@kennke.org>
2146 * java/awt/Compmonent.java
2147 (setComponentOrientation): Made this property firing a
2148 PropertyChangeEvent.
2150 2005-04-18 Roman Kennke <roman@kennke.org>
2152 * java/awt/BorderLayout.java
2153 (calcSize): Check for overflow when component sizes are added.
2155 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2157 * java/awt/AWTEvent.java (toString): Added case
2158 for source not being an AWT component.
2160 2005-04-18 Chris Burdess <dog@gnu.org>
2162 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2164 2005-04-18 Michael Koch <konqueror@gmx.de>
2166 gnu/java/awt/EmbeddedWindowSupport.java,
2167 gnu/java/net/HeaderFieldHelper.java,
2168 gnu/java/net/URLParseError.java,
2169 gnu/java/net/protocol/file/Handler.java,
2170 gnu/java/net/protocol/jar/Handler.java:
2171 Fixed usage of @author tag.
2173 2005-04-18 Michael Koch <konqueror@gmx.de>
2175 * gnu/xml/aelfred2/XmlParser.java:
2176 Reverted my typo fix.
2178 2005-04-18 Michael Koch <konqueror@gmx.de>
2180 * java/awt/geom/CubicCurve2D.java,
2181 java/awt/geom/QuadCurve2D.java:
2182 Fixed mentioning of Brian Gouph.
2184 2005-04-18 Michael Koch <konqueror@gmx.de>
2186 * gnu/java/awt/Buffers.java,
2187 gnu/java/awt/image/ImageDecoder.java,
2188 gnu/java/awt/image/XBMDecoder.java,
2189 gnu/java/awt/peer/ClasspathFontPeer.java,
2190 gnu/java/net/CRLFInputStream.java,
2191 gnu/java/net/EmptyX509TrustManager.java,
2192 gnu/java/net/LineInputStream.java,
2193 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2194 gnu/java/net/protocol/ftp/BlockInputStream.java,
2195 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2196 gnu/java/net/protocol/ftp/DTP.java,
2197 gnu/java/net/protocol/ftp/DTPInputStream.java,
2198 gnu/java/net/protocol/ftp/FTPConnection.java,
2199 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2200 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2201 gnu/java/net/protocol/ftp/StreamInputStream.java,
2202 gnu/java/net/protocol/http/ChunkedInputStream.java,
2203 gnu/java/net/protocol/http/HTTPConnection.java,
2204 gnu/java/net/protocol/http/HTTPURLConnection.java,
2205 gnu/java/net/protocol/http/Headers.java,
2206 gnu/java/net/protocol/http/Request.java,
2207 gnu/java/nio/ChannelInputStream.java,
2208 gnu/java/nio/ChannelOutputStream.java,
2209 gnu/java/nio/InputStreamChannel.java,
2210 gnu/java/nio/OutputStreamChannel.java,
2211 gnu/java/nio/SelectorProviderImpl.java,
2212 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2213 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2214 gnu/java/rmi/dgc/DGCImpl.java,
2215 gnu/java/rmi/registry/RegistryImpl.java,
2216 gnu/java/rmi/server/ProtocolConstants.java,
2217 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2218 gnu/java/rmi/server/RMIIncomingThread.java,
2219 gnu/java/rmi/server/RMIObjectInputStream.java,
2220 gnu/java/rmi/server/RMIObjectOutputStream.java,
2221 gnu/java/rmi/server/RMIVoidValue.java,
2222 gnu/java/rmi/server/UnicastConnectionManager.java,
2223 gnu/java/rmi/server/UnicastRef.java,
2224 gnu/java/rmi/server/UnicastRemoteCall.java,
2225 gnu/java/rmi/server/UnicastRemoteStub.java,
2226 gnu/java/rmi/server/UnicastServerRef.java,
2227 gnu/java/security/OID.java,
2228 gnu/java/security/der/DERReader.java,
2229 gnu/java/security/provider/CollectionCertStoreImpl.java,
2230 gnu/java/security/provider/DSAParameterGenerator.java,
2231 gnu/java/security/provider/DefaultPolicy.java,
2232 gnu/java/security/provider/EncodedKeyFactory.java,
2233 gnu/java/security/provider/GnuDHPublicKey.java,
2234 gnu/java/security/provider/GnuDSAPrivateKey.java,
2235 gnu/java/security/provider/GnuDSAPublicKey.java,
2236 gnu/java/security/provider/GnuRSAPrivateKey.java,
2237 gnu/java/security/provider/GnuRSAPublicKey.java,
2238 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2239 gnu/java/security/provider/RSA.java,
2240 gnu/java/security/provider/SHA1PRNG.java,
2241 gnu/java/security/provider/SHA1withRSA.java,
2242 gnu/java/security/provider/X509CertificateFactory.java,
2243 gnu/java/security/x509/GnuPKIExtension.java,
2244 gnu/java/security/x509/X500DistinguishedName.java,
2245 gnu/java/security/x509/X509CRL.java,
2246 gnu/java/security/x509/X509CRLEntry.java,
2247 gnu/java/security/x509/X509CertPath.java,
2248 gnu/java/security/x509/X509CertSelectorImpl.java,
2249 gnu/java/security/x509/X509Certificate.java,
2250 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2251 gnu/java/security/x509/ext/BasicConstraints.java,
2252 gnu/java/security/x509/ext/CRLNumber.java,
2253 gnu/java/security/x509/ext/CertificatePolicies.java,
2254 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2255 gnu/java/security/x509/ext/Extension.java,
2256 gnu/java/security/x509/ext/GeneralNames.java,
2257 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2258 gnu/java/security/x509/ext/KeyUsage.java,
2259 gnu/java/security/x509/ext/PolicyConstraint.java,
2260 gnu/java/security/x509/ext/PolicyMappings.java,
2261 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2262 gnu/java/security/x509/ext/ReasonCode.java,
2263 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2264 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2265 Reorganized import statements.
2267 2005-04-18 Michael Koch <konqueror@gmx.de>
2269 * gnu/java/awt/color/CieXyzConverter.java,
2270 gnu/java/awt/color/ClutProfileConverter.java,
2271 gnu/java/awt/color/ColorLookUpTable.java,
2272 gnu/java/awt/color/ColorSpaceConverter.java,
2273 gnu/java/awt/color/GrayProfileConverter.java,
2274 gnu/java/awt/color/GrayScaleConverter.java,
2275 gnu/java/awt/color/LinearRGBConverter.java,
2276 gnu/java/awt/color/ProfileHeader.java,
2277 gnu/java/awt/color/PyccConverter.java,
2278 gnu/java/awt/color/RgbProfileConverter.java,
2279 gnu/java/awt/color/SrgbConverter.java,
2280 gnu/java/awt/color/TagEntry.java,
2281 gnu/java/awt/color/ToneReproductionCurve.java:
2282 Standardized file headers.
2284 2005-04-16 Tom Tromey <tromey@redhat.com>
2286 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2287 'ANY' package-private.
2289 2005-04-15 Tom Tromey <tromey@redhat.com>
2291 * Makefile.in: Rebuilt.
2292 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2293 (libgcj0_convenience_la_LIBADD): ... here.
2295 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2297 * gij.cc (version): Properly quote java version.
2298 (main): Fix typo in comment.
2300 2005-04-13 Mark Wielaard <mark@klomp.org>
2302 * java/lang/natRuntime.cc (insertSystemProperties): Set
2303 java.class.path to CLASSPATH if not already set.
2305 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2307 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2309 2005-04-12 Mike Stump <mrs@apple.com>
2311 * configure: Regenerate.
2313 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2316 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2317 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2319 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2322 * scripts/TexinfoDoclet.java: Removed.
2323 * Makefile.am (texinfo): Removed.
2324 * Makefile.in: Regenerated.
2326 2005-04-11 Michael Koch <konqueror@gmx.de>
2328 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2329 Fixed wrong casting.
2331 2005-04-06 Andrew Haley <aph@redhat.com>
2333 * testsuite/libjava.lang/bytearray.java: New file.
2334 * testsuite/libjava.lang/bytearray.out: New file.
2335 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2336 (loadClass): Use it.
2337 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2339 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2341 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2342 gcj-dbtool dependency
2343 * Makefile.in: Regenerated
2345 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2347 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2348 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2350 2005-04-05 Andrew Haley <aph@redhat.com>
2352 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2353 (Tokenizer): New class.
2354 (getFiles): New method.
2355 (main): Add "-" argument.
2357 Read list of files from stdin when merging map databases.
2358 (usage): Add "-" argument.
2362 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2365 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2366 * Makefile.in: Regenerate.
2367 * configure.ac: Add --with-java-home option.
2368 * configure: Regenerate.
2369 * external/Makefile.in: Regenerate.
2370 * external/sax/Makefile.in: Regenerate.
2371 * external/w3c_dom/Makefile.in: Regenerate.
2372 * gcj/Makefile.in: Regenerate.
2373 * include/Makefile.in: Regenerate.
2374 * testsuite/Makefile.in: Regenerate.
2375 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2378 2005-04-05 Tom Tromey <tromey@redhat.com>
2380 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2381 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2382 Rewrote to use _Jv_FindClassFromSignature.
2383 * verify.cc (resolve): throw NoClassDefFoundError.
2384 * link.cc (resolve_field): Throw NoClassDefFoundError.
2385 (find_field): Likewise.
2386 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2387 Handle error cases. Added 'endp' argument.
2388 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2390 2005-04-05 Tom Tromey <tromey@redhat.com>
2392 * Makefile.in: Rebuilt.
2393 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2394 gtk_awt_peer_sources.
2395 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2396 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2397 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2398 (gtk-awt-peer.lo): New target.
2400 2005-04-04 Steve Pribyl <steve@netfuel.com>
2403 * configure.ac: Fix fastjar definition for cross builds.
2404 * configure: Rebuilt.
2406 2005-04-04 Tom Tromey <tromey@redhat.com>
2408 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2409 it was already found.
2411 2005-04-04 Tom Tromey <tromey@redhat.com>
2413 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2414 org.metastatic.jessie.
2416 2005-04-02 Anthony Green <green@redhat.com>
2419 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2421 2005-04-02 Mark Wielaard <mark@klomp.org>
2423 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2424 Attributes and attribute order doesn't matter.
2425 (BasicAttributesEnumeration.where): Initialize to zero.
2426 (BasicAttributesEnumeration.nextElement): Update and compare where
2427 appropriately (zero based).
2429 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2431 PR libgcj/20090, PR libgcj/20526
2432 * gij.cc (nonstandard_opts_help): New function.
2433 (add_option): New function.
2434 (main): Support java options. Set java.class.path. Don't set
2436 * prims.cc (parse_x_arg): New function.
2437 (parse_init_args): Call parse_x_arg for -X and _ options, when
2438 ignoreUnrecognized is true.
2439 (new _Jv_RunMain): New vm_args variant.
2440 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2441 (_Jv_Jar_Class_Path): Remove variable.
2442 * include/java-props.h: Likewise.
2443 * include/cni.h (JvRealloc): New function.
2444 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2445 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2446 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2448 * configure.ac (JV_VERSION): Define.
2449 (JV_API_VERSION): Likewise.
2450 * configure: Regenerate.
2451 * include/config.h.in: Regenerate.
2453 2005-04-01 Mark Anderson <mark@panonet.net>
2455 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2456 -Infinity as parameters.
2458 2005-04-01 Michael Koch <konqueror@gmx.de>
2460 * java/io/PipedInputStream.java
2461 (read): Make sure a positive byte value is returned. Revised javadoc.
2462 Thanks to Olafur Bragason for reporting these bugs.
2464 2005-04-01 Tom Tromey <tromey@redhat.com>
2466 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2467 Updated for name change.
2468 (nativeFindClass): New method.
2469 (loadClass): Use nativeFindClass.
2470 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2472 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2473 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2475 (initialize): New method.
2476 (nativeFindClass): Declare.
2477 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2478 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2479 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2481 (definePackageForNative): Removed.
2482 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2483 Moved to VMClassLoader.java.
2484 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2485 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2486 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2487 removed VMClassLoader.java.
2488 (nat_source_files): Removed natVMClassLoader.cc.
2490 2005-04-01 Tom Tromey <tromey@redhat.com>
2492 * Makefile.in: Rebuilt.
2493 * Makefile.am (db_pathtail): Use $(gcc_version), not
2496 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2498 * java/util/Timer.java
2499 (run): Stop the queue if a task throws an exception.
2501 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2503 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2505 2005-03-29 Ian Lance Taylor <ian@airs.com>
2507 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2508 * external/sax/Makefile.in: Rebuild.
2509 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2511 * external/w3c_dom/Makefile.in: Rebuild.
2513 2005-03-29 Tom Tromey <tromey@redhat.com>
2515 * java/lang/natRuntime.cc (insertSystemProperties): Set
2516 gnu.gcj.runtime.endorsed.dirs.
2517 * Makefile.in: Rebuilt.
2518 * Makefile.am (ordinary_java_source_files): Added
2519 HelperClassLoader.java.
2520 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2521 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2523 (init): Use addDirectoriesFromProperty.
2524 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2525 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2526 gnu.gcj.runtime.endorsed.dirs.
2527 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2529 2005-03-26 Chris Burdess <dog@gnu.org>
2531 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2534 2005-03-13 Michael Koch <konqueror@gmx.de>
2536 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2538 2005-03-11 Chris Burdess <dog@gnu.org>
2540 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2543 2005-02-27 Chris Burdess <dog@gnu.org>
2545 * gnu/xml/aelfred2/JAXPFactory.java,
2546 gnu/xml/aelfred2/SAXDriver.java,
2547 gnu/xml/aelfred2/XmlParser.java,
2548 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2549 formatting conventions. Replaced arrays of Object with struct-like
2550 classes for easier maintainability. Made SAXDriver.stringInterning
2551 package private to allow access from XmlParser inside the loop without
2552 a method call overhead.
2554 2005-03-11 Chris Burdess <dog@gnu.org>
2556 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2559 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2561 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2562 settings to sub Makefiles.
2563 (GCJH, ZIP): Prefix with top_builddir.
2564 * configure: Rebuild.
2565 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2566 * external/w3c_dom/Makefile.in: Rebuild.
2567 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2568 * external/sax/Makefile.in: Rebuild.
2570 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2572 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2573 libsocket to the libraries to link for Solaris.
2575 2005-03-28 Per Bothner <per@bothner.com>
2577 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2578 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2580 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2582 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2583 to fix a ONESTEP fallout.
2584 * Makefile.in: Regenerate.
2586 2005-03-25 Mike Stump <mrs@apple.com>
2588 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2589 paths like we do for the compiler, as we use it in external/sax
2590 and it doesn't get MULTIBUILDTOP right when multilibing.
2592 2005-03-24 Anthony Green <green@redhat.com>
2594 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2596 (usage): Add [LIBDIR] to help output.
2597 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2598 * Makefile.am (AM_CXXFLAGS): Define
2599 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2600 (db_pathtail): New macro.
2602 2005-03-24 Tom Tromey <tromey@redhat.com>
2604 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2605 add sax and w3c libraries.
2606 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2608 * external/w3c_dom/Makefile.in: Rebuilt.
2609 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2611 (libw3c_gcj_la_LDFLAGS): New variable.
2612 (noinst_LTLIBRARIES): Renamed.
2613 * external/sax/Makefile.in: Rebuilt.
2614 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2616 (libsax_gcj_la_LDFLAGS): New variable.
2617 (noinst_LTLIBRARIES): Renamed.
2619 2005-03-23 Tom Tromey <tromey@redhat.com>
2621 * Makefile.in: Rebuilt.
2622 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2623 (libgcj0_convenience_la_SOURCES): Don't include
2624 gnu_xml_source_files.
2625 (libgcj0_convenience_la_LIBADD): New variable.
2626 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2627 (all_java_source_files): javax_imageio_source_files,
2628 javax_xml_source_files, and gnu_java_beans_source_files.
2629 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2630 (gnu-xml.lo): New target.
2631 (javax-imageio.lo): Likewise.
2632 (javax-xml.lo): Likewise.
2633 (gnu-java-beans.lo): Likewise.
2634 (gnu_java_beans_source_files): New variable.
2635 (javax_imageio_source_files): Likewise.
2636 (javax_xml_source_files): Likewise.
2637 (javax_source_files): Moved files to other variable.
2638 (awt_java_source_files): Likewise.
2639 (ordinary_java_source_files): Added BootClassLoader.java.
2640 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2641 not system class loader.
2642 (initBootLoader): New method.
2643 (loadClass): Search bootLoader.
2644 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2645 boot loader, not system class loader.
2646 (_Jv_UnregisterInitiatingLoader): Likewise.
2647 (_Jv_FindClass): Likewise. Ensure entries in
2648 bootstrap_class_list are unique.
2649 * java/lang/natClass.cc (getClassLoader): Don't special case
2650 system class loader.
2651 * java/lang/VMClassLoader.java (bootLoader): New field.
2652 (getResource): Use bootLoader.
2653 (getResources): Likewise.
2654 (initBootLoader): Declare.
2655 * gnu/gcj/runtime/BootClassLoader.java: New file.
2656 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2657 (EMPTY_ENUMERATION): Now package-private.
2658 * external/w3c_com/Makefile.in: Rebuilt.
2659 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2660 (w3c.jar): New target.
2661 (classes.stamp): Updated.
2662 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2663 Changed name of library.
2664 (libw3c_gcj_la_SOURCES): New variable.
2665 (libw3c_gcj_la_GCJFLAGS): Likewise.
2666 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2667 * external/sax/Makefile.in: Rebuilt.
2668 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2669 (sax.jar): New target.
2670 (classes.stamp): Updated.
2671 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2672 Changed name of library.
2673 (libsax_gcj_la_SOURCES): New variable.
2674 (libsax_gcj_la_GCJFLAGS): Likewise.
2675 (source_files): Renamed from libsax_convenience_la_SOURCES.
2676 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2678 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2680 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2682 2005-03-23 Sven de Marothy <sven@physto.se>
2684 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2686 * java/util/Calendar.java
2687 (set): Use starting day of week when one is needed if none is given.
2688 * java/text/SimpleDateFormat.java
2689 (parse): Handle 1-12 and 1-24 timestamps correctly.
2690 * java/util/GregorianCalendar.java
2691 (computeTime, computeFields): HOUR should be in 0-11 format.
2692 (nonLeniencyCheck): Adjust leniency checking to that fact.
2693 (getLinearDay): Should be private.
2695 2005-03-23 Tom Tromey <tromey@redhat.com>
2697 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2698 (_Jv_CheckABIVersion): Use it.
2700 2005-03-22 Mike Stump <mrs@apple.com>
2702 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2704 * include/posix.h: .dylib is used on all Apple MACH platforms.
2705 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2707 2005-03-22 Tom Tromey <tromey@redhat.com>
2709 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2711 2005-03-21 Tom Tromey <tromey@redhat.com>
2713 * java/lang/VMCompiler.java (static block): Also catch
2714 BufferUnderflowException.
2716 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2718 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2719 set tool_include_dir. In all substitutions, leave $(gcc_version)
2720 to be expanded by the Makefile.
2721 * aclocal.m4, configure: Regenerate.
2722 * Makefile.am: Set gcc_version. Replace all uses of
2723 @gcc_version@ with $(gcc_version).
2724 * external/Makefile.am, external/sax/Makefile.am
2725 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2726 * testsuite/Makefile.am: Set gcc_version.
2727 * include/Makefile.am: Set gcc_version and tool_include_dir.
2728 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2729 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2730 * testsuite/Makefile.in: Regenerate.
2732 2005-03-17 Andrew Haley <aph@redhat.com>
2734 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2736 Pass klass to _Jv_StackTrace::GetClassContext().
2737 * java/lang/ClassLoader.java (getParent): Pass class to
2738 VMSecurityManager.getClassContext()
2739 (getSystemClassLoader): Likewise.
2740 * java/lang/Package.java (getPackage): Likewise.
2741 (getPackages): Likewise.
2742 * java/lang/SecurityManager.java (getClassContext): Likewise.
2743 (currentClassLoader): Likewise.
2744 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2745 (currentClassLoader) Add new arg: caller.
2746 Pass caller to VMSecurityManager.getClassContext.
2748 * stacktrace.cc (GetClassContext): Correct calculation of
2751 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2752 im->source_file_name.
2754 2005-03-16 Andrew Haley <aph@redhat.com>
2756 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2758 2005-03-16 Tom Tromey <tromey@redhat.com>
2760 * link.cc (ensure_class_linked): Removed #ifdef.
2761 (print_class_loaded): Likewise.
2762 (wait_for_state): Likewise.
2763 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2764 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2765 * include/java-interp.h: ... here.
2767 2005-03-16 Tom Tromey <tromey@redhat.com>
2769 * gnu/java/lang/MainThread.java (run): Load main class using
2770 system class loader.
2772 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2774 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2775 lgcc_s to the libraries to link for Darwin.
2777 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2779 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2780 interpreter-specific code with #ifdef INTERPRETER.
2781 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2782 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2783 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2784 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2785 #ifdef INTERPRETER. Also protect declarations that use it.
2786 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2787 #ifdef INTERPRETER block.
2789 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2792 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2793 * Makefile.in: Rebuilt.
2795 2005-03-15 David Daney <ddaney@avtrex.com>
2797 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2800 2005-03-15 David Daney <ddaney@avtrex.com>
2802 * java/io/BufferedInputStream.java (available): Use 'in' instead
2803 of 'super' for underlying stream access.
2805 (read(byte[], int, int)): Ditto.
2807 (skip): Call skip on underlying stream when possible.
2809 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2811 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2812 SJLJ_EXCEPTIONS is defined.
2814 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2816 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2819 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2821 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2823 (libjava_arguments): Likewise.
2825 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2826 (gcj_jni_test_one): Likewise.
2827 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2828 Add flags to keep the Darwin linker quiet.
2829 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2830 Add -liconv for Darwin.
2832 2005-03-11 Tom Tromey <tromey@redhat.com>
2834 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2835 (_Jv_CheckABIVersion): Use it.
2837 2005-03-11 Tom Tromey <tromey@redhat.com>
2839 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2840 (usage): Document '-p'.
2841 * Makefile.in: Rebuilt.
2842 * Makefile.am (dbexecdir): New variable.
2843 (db_name): Likewise.
2844 (dbexec_DATA): Likewise.
2845 ($(db_name)): New target.
2846 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2847 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2850 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2852 * exception.cc: Remove stray MethodRef.h include.
2853 * java/lang/natClass.cc: Likewise.
2854 * gnu/gcj/runtime/MethodRef.java: Removed.
2855 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2856 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2857 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2858 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2859 * Makefile.in: Rebuilt.
2861 2005-03-10 Tom Tromey <tromey@redhat.com>
2863 * Makefile.in: Rebuilt.
2864 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2866 2005-03-10 Chris Burdess <dog@bluezoo.org>
2868 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2869 not currently parsing the DTD.
2871 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2873 New Stack Trace infrastructure.
2874 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2875 (gnu/gcj/runtime/StackTrace.java): Removed.
2876 (ordinary_java_source_files): Remove obsolete files.
2877 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2878 * configure.host (fallback_backtrace_h): Set backtrace header
2879 for mingw and cygwin targets.
2880 * configure.ac: Make symlink for fallback backtrace headers.
2881 * Makefile.in, configure: Rebuilt.
2882 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2883 Read 'LineNumberTable' attribute.
2884 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2886 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2888 * exception.cc: Remove unused include.
2889 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2890 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2891 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2892 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2893 table to direct threaded instruction values.
2894 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2895 (_Jv_InterpMethod::run): No longer member function. All
2896 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2897 is made or where an instruction could throw.
2898 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2900 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2901 (catch_fpe): Likewise.
2902 * stacktrace.cc: New file. Stack trace code now here.
2903 * gnu/gcj/runtime/MethodRef.java:
2904 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2905 calls addr2line to look up PC addresses in a given binary or shared
2907 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2908 gnu/gcj/runtime/natStackTrace.cc: Removed.
2909 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2910 this function name is specially recognised by the stack trace code
2911 and shouldn't be changed.
2912 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2913 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2914 (_Jv_InterpMethod::run): Update declaration.
2915 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2917 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2918 * include/java-stack.h: New file. Declarations for stack tracing.
2919 * include/jvm.h (_Jv_Frame_info): Removed.
2920 * java/lang/Class.h: Update friend declarations.
2921 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2923 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2924 (getStackTrace): Now native.
2925 (data): New RawDataManaged field.
2926 * java/lang/natClass.cc: Update includes.
2927 (forName): Use _Jv_StackTrace::GetCallingClass for
2928 calling-classloader check.
2929 (getClassLoader): Likewise.
2930 * java/lang/natRuntime.cc: Update includes.
2931 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2932 * java/lang/natVMSecurityManager.cc: Update includes.
2933 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2934 * java/lang/natVMThrowable.cc: New file. Native methods for
2936 * java/lang/reflect/natArray.cc: Update includes.
2937 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2938 accessibility check.
2939 * java/lang/reflect/natConstructor.cc: Update includes.
2940 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2941 accessibility check.
2942 * java/lang/reflect/natField.cc: Update includes.
2943 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2944 accessibility check.
2945 * java/lang/reflect/natMethod.cc: Update includes.
2946 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2947 accessibility check.
2948 * java/util/natResourceBundle.cc: Update includes.
2949 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2950 * java/util/logging/natLogger.cc: Update includes. Use
2951 _Jv_StackTrace::GetCallerInfo to get call-site info.
2952 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2954 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2957 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2959 * testsuite/libjava.compile/PR20312.java: New file.
2960 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2961 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2963 2005-03-09 Andrew Haley <aph@redhat.com>
2965 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2967 (smallTransferTo): New.
2968 (transferFrom): Loop around smallTransferFrom, copying pageSize
2970 (transferTo): Likewise.
2972 2005-03-09 David Daney <ddaney@avtrex.com>
2975 Merge BufferedInputStream from GNU Classpath.
2976 * java/io/BufferedInputStream.java (marktarget): Field removed.
2977 (CHUNKSIZE): Field removed.
2978 (bufferSize): New field.
2979 (BufferedInputStream): Initialize fields.
2980 (close): Invalidate mark and buffer indexes.
2982 (read()): Move mark handling code to refill.
2983 (read(byte[], int, int)): Ditto.
2984 (skip): Ditto and simplify EOF testing.
2985 (refill): Rewritten.
2986 * java/io/InputStreamReader.java (refill): Removed mark and reset
2987 of internal BufferedInputStream.
2989 2005-03-09 Tom Tromey <tromey@redhat.com>
2991 * java/lang/natVMClassLoader.cc (defineClass): Reference
2992 'systemClassLoader' field directly.
2993 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2995 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2996 Reference 'systemClassLoader' field directly.
2997 (_Jv_UnregisterInitiatingLoader): Likewise.
2998 (_Jv_FindClass): Likewise.
3000 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3002 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3004 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3005 the file in GNU Classpath style.
3007 2005-03-09 Tom Tromey <tromey@redhat.com>
3009 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3010 (toString): Synchronize.
3012 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3014 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3015 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3017 2005-03-07 Tom Tromey <tromey@redhat.com>
3019 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3020 (usage): Document '-f'.
3022 2005-03-07 Tom Tromey <tromey@redhat.com>
3024 * java/lang/VMCompiler.java (md5Digest): New field.
3025 (compileClass): Clone md5Digest instead of looking up a new one.
3027 2005-03-07 Tom Tromey <tromey@redhat.com>
3030 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3031 * link.cc (find_field_helper): Added 'type' argument.
3032 (find_field): Updated.
3034 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3035 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3036 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3037 throw UnsupportedOperationException, fixed comments.
3038 (setFont, setForeground): Fixed comments.
3039 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3040 return type to boolean.
3041 (getNextEvent): Fixed javadocs.
3042 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3043 (nativeQueueEmpty): Removed unused code.
3044 (iterateNativeQueue): Removed outer loop.
3046 2005-03-06 Roger Sayle <roger@eyesopen.com>
3049 * Makefile.am (libgcj0_convenience.la): Revert last change.
3050 * Makefile.in: Regenerate.
3052 2005-03-05 Anthony Green <green@redhat.com>
3054 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3055 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3056 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3057 (_Jv_GetDrawingSurface): Set visualID.
3058 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3059 (JAWT_GetAWT): Set Lock and Unlock.
3060 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3062 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3063 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3064 JAWT_LOCK_SURFACE_CHANGED): New macros.
3065 (struct _JAWT): Add Lock and Unlock.
3067 2005-03-05 Roger Sayle <roger@eyesopen.com>
3068 Alexandre Oliva <aoliva@redhat.com>
3069 Kelley Cook <kcook@gcc.gnu.org>
3072 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3073 of the object files to link to avoid exceeding the command line
3074 length limits on some platforms.
3075 (clean-local): Clean up objectlist files.
3076 * Makefile.in: Regenerate.
3078 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3080 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3081 spec_case. Initialize pointer mlo.
3083 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3086 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3088 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3091 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3092 uninitialized variable z.
3094 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3095 possible unused variables.
3097 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3099 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3101 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3104 * testsuite/libjava.jni/jni.exp
3105 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3107 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3109 2005-02-23 David Daney <ddaney@avtrex.com>
3111 * configure.host: Don't use -mxgot for MIPS builds.
3113 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3116 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3117 (COMPPATH): Removed.
3118 (ZIP, GCJH): Replace it with ../$(host_subdir).
3119 (built_gcc_dir): Add $(host_subdir).
3120 * configure: Regenerate.
3121 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3122 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3123 external/w3c_dom/Makefile.in: Regenerate.
3125 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3127 * java/awt/font/TextAttribute.java: changed names to lower case;
3128 (readResolve): implemented.
3129 Added doc comments all over.
3131 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3134 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3135 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3136 value. Move argument parsing code to prims.cc.
3137 * prims.cc (no_properties): Remove.
3138 (_Jv_Compiler_Properties): Initialize to NULL.
3139 (_Jv_Properties_Count): Initialize to 0.
3140 (parse_verbose_args): New function.
3141 (parse_init_args): New function.
3142 (_Jv_CreateJavaVM): Call parse_init_args.
3143 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3144 * gcj/cni.h (JvVMOption): New struct.
3145 (JvVMInitArgs): Likewise.
3146 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3148 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3149 (_Jv_VMInitArgs): Likewise.
3150 * include/java-props.h (_Jv_Properties_Count): Declare.
3151 * java/lang/natRuntime.cc (insertSystemProperties): Use
3152 _Jv_Properties_Count in for loop exit condition.
3153 * testsuite/libjava.jni/jni.exp
3154 (gcj_invocation_compile_c_to_binary): New procedure.
3155 (gcj_invocation_test_one): Likewise.
3156 (gcj_jni_run): Run JNI invocation API tests.
3157 * testsuite/libjava.jni/invocation/PR16923.c,
3158 testsuite/libjava.jni/invocation/PR16923.java,
3159 testsuite/libjava.jni/invocation/PR16923.out: New test.
3161 2005-02-23 Michael Koch <konqueror@gmx.de>
3163 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3164 * Makefile.in: Regenerated.
3166 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3168 * gnu/java/nio/ChannelReader: Fixed comments.
3170 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3172 * java/nio/channels/Channels: Added FIXMEs about
3173 stub method implementation.
3174 (newReader): Implemented.
3175 * gnu/java/nio/ChannelReader: New class.
3177 2005-02-23 Michael Koch <konqueror@gmx.de>
3179 * java/text/SimpleDateFormat.java:
3180 Removed unused import.
3182 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3185 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3186 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3187 * Makefile.in: Regenerate.
3188 * configure.ac: Check for libXtst.
3189 * configure: Regenerate.
3191 2005-02-22 Mark Wielaard <address@bogus.example.com>
3193 * java/security/AlgorithmParameterGenerator.java (getInstance):
3194 Mention provider when throwing NoSuchProviderException.
3195 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3196 * java/security/KeyFactory.java (getInstance): Likewise.
3197 * java/security/KeyStore.java (getInstance): Likewise.
3198 * java/security/SecureRandom.java (getInstance): Likewise.
3199 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3201 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3203 * java/lang/reflect/Proxy.java,
3205 java/security/SecureRandom.java,
3206 java/util/Timer.java,
3207 java/util/prefs/AbstractPreferences.java:
3208 Don't catch java.lang.ThreadDeath.
3210 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3212 * java/awt/font/TransformAttribute.java,
3213 (TransformAttribute(AffineTransform)): throw
3214 IllegalArgumentException for null transform.
3215 (getTransform): return a copy of transform.
3216 Added doc comments to all.
3218 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3220 * java/io/Externalizable.java,
3221 java/io/Serializable.java
3222 (serialVersionUID): Removed.
3223 * java/rmi/server/RemoteObject.java,
3224 java/rmi/server/UID.java
3225 (serialVersionUID): Made private.
3226 * java/rmi/server/RemoteRef.java,
3227 java/rmi/server/ServerRef.java
3228 (serialVersionUID): Set proper value.
3229 * java/security/interfaces/DSAPrivateKey.java,
3230 java/security/interfaces/DSAPublicKey.java,
3231 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3232 java/security/interfaces/RSAPrivateCrtKey.java,
3233 java/security/interfaces/RSAPrivateKey.java,
3234 java/security/interfaces/RSAPublicKey.java,
3235 javax/crypto/SecretKey.java
3236 (serialVersionUID): Added.
3238 2005-02-22 Tom Tromey <tromey@redhat.com>
3240 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3242 2005-02-22 Tom Tromey <tromey@redhat.com>
3245 * verify.cc (type::EITHER): New constant.
3246 (check_field_constant): Use it.
3247 (type::compatible): Handle it.
3249 2005-02-22 Michael Koch <konqueror@gmx.de>
3251 * gnu/java/security/PolicyFile.java,
3252 gnu/java/security/pkcs/PKCS7SignedData.java,
3253 gnu/java/security/pkcs/SignerInfo.java:
3254 Fixed copyright header.
3256 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3258 * java/beans/PropertyDescriptor.java
3259 (PropertyDescriptor,setReadMethod): Set propertyType.
3261 2005-02-22 Michael Koch <konqueror@gmx.de>
3263 * java/nio/DirectByteBufferImpl.java
3264 (owner): Fixed formatting of javadoc.
3265 * java/text/DateFormat.java
3266 (getAvailableLocales): Fixed formatting.
3267 * java/text/SimpleDateFormat.java:
3268 Fixed formatting and import statement order.
3269 * java/util/Calendar.java
3270 (Calendar): Fixed javadoc to be HTML compliant.
3271 * java/util/SimpleTimeZone.java:
3274 2005-02-22 Roman Kennke <roman@ontographics.com>
3276 * javax/swing/plaf/basic/BasicLookAndFeel.java
3277 (initComponentDefaults): Fixed Button left and right margin.
3279 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3281 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3285 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3286 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3287 (getWidth): New method.
3288 (getHeight): Likewise.
3289 (create): Remove width, height and insets parameters. Move size
3291 (realize_cb): ... here. New function.
3292 (connectSignals): Connect realize_cb.
3293 (request_frame_extents): Remove FIXME. Move
3294 postInsetsChangedEvent lookup ...
3295 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3296 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3297 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3299 (windowGetWidthID): Likewise.
3300 (windowGetHeightID): Likewise.
3302 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3305 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3306 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3308 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3310 Merge serialization from GNU Classpath.
3311 * gcj/method.h: Add missing #includes.
3312 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3313 primitive class IDs on the stream here...
3314 (resolveClass): ...not here.
3315 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3317 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3318 setLongNative, setIntNative, setShortNative, setCharNative,
3319 setByteNative, setBooleanNative, setObjectNative): New native methods.
3320 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3321 setLongNative, setIntNative, setShortNative, setCharNative,
3322 setByteNative, setBooleanNative, setObjectNative): Implement them.
3323 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3324 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3325 the constructor here.
3326 (callConstructor): Removed.
3327 (getCallersClassLoader): Removed.
3328 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3329 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3330 to control whether setting final field values is permitted. Call
3331 getAddr() with checkFinal parameter instead of setAddr().
3332 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3333 only if not done already.
3334 (getAddr): Add checkFinal parameter. Do the final field check only if
3338 2005-02-21 Mark Wielaard <mark@klomp.org>
3341 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3344 2005-02-21 Mark Wielaard <mark@klomp.org>
3347 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3348 without a super class and us ObjectStreamClass.lookupForClassObject().
3349 (resolveClass): Check for primitive types.
3350 (lookupClass): Return null when argument is null.
3352 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3354 * java/io/ObjectInputStream.java
3355 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3357 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3359 * java/io/ObjectOutputStream.java
3360 (writeObject, callWriteMethod): Replaced reflection with accessing
3361 cached info in ObjectStreamClass.
3362 (getMethod): Removed.
3363 * java/io/ObjectStreamClass.java
3364 (findMethod): Added check to make sure the method found has the
3366 (cacheMethods): Added writeReplace and writeObject methods.
3367 (setFlags): Look at new writeObjectMethod field instead of doing
3369 (writeReplaceMethod): New field.
3370 (writeObjectMethod): New field.
3372 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3373 Jeroen Frijters <jeroen@frijters.net>
3375 * java/io/ObjectInputStream.java
3376 (newObject): Changed prototype. Get a constructor reflect object
3378 (callConstructor): Removed.
3379 (allocateObject): Changed prototype.
3380 (readClassDescriptor): Build the constructor reflection directly.
3381 (readObject): Invoke newObject using the new prototype.
3383 * java/io/ObjectStreamClass.java
3384 (firstNonSerializableParent): Removed.
3385 (firstNonSerializableParentConstructor): Added.
3387 2005-02-21 Mark Wielaard <mark@klomp.org>
3389 * gnu/java/locale/LocaleInformation_en.java: Extend
3390 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3392 2005-02-21 Mark Wielaard <mark@klomp.org>
3394 * java/text/SimpleDateFormat.java
3395 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3396 NullPointerException when formatData is null.
3398 2005-02-21 Mark Wielaard <mark@klomp.org>
3400 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3401 taking dstSavings into account.
3403 2005-02-21 Sven de Marothy <sven@physto.se>
3405 * java/text/SimpleDateFormat.java,
3406 (parse): Set correct DST_OFFSET to the correct value.
3408 2005-02-21 Mark Wielaard <mark@klomp.org>
3410 * java/util/SimpleTimeZone.java (checkRule): Throw
3411 IllegalArgumentException when month out of range.
3413 2005-02-21 Sven de Marothy <sven@physto.se>
3415 * java/util/GregorianCalendar.java,
3416 (add): Don't set fields directly anymore. Use set()
3418 2005-02-21 Mark Wielaard <mark@klomp.org>
3420 * java/text/SimpleDateFormat.java (CompiledField.toString):
3421 Use StringBuffer, not StringBuilder.
3422 (toString): Likewise.
3424 2005-02-21 Sven de Marothy <sven@physto.se>
3426 * java/util/Calendar.java
3427 (clear): Dates should clear to local time.
3428 * java/util/GregorianCalendar.java
3429 (computeTime): Fix priority problem with DAY_OF_WEEK,
3430 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3432 2005-02-21 Sven de Marothy <sven@physto.se>
3434 * java/util/Calendar.java
3435 (Calendar): Constructor should clear fields.
3437 2005-02-21 Sven de Marothy <sven@physto.se>
3439 * java/text/SimpleDateFormat.java
3440 (parse): Tweak handling of 2-year dates
3441 * java/util/Calendar.java
3442 (clear): Clear fields to correct value.
3443 * java/util/GregorianCalendar.java
3444 (computeTime): Correct handling of time zones.
3445 Correct field minimum values.
3447 2005-02-21 Sven de Marothy <sven@physto.se>
3449 * java/util/Calendar.java
3450 (set) Invalidate all fields on first call to set().
3452 2005-02-21 Sven de Marothy <sven@physto.se>
3454 * java/util/GregorianCalendar.java
3455 (computeTime): Fixed handling of time zones.
3457 2005-02-21 Sven de Marothy <sven@physto.se>
3459 * java/util/Calendar.java
3460 (clear): Set values to Epoch instead of zero.
3461 (set): Set isSet to the relevant field pattern instead of just
3463 * java/util/GregorianCalendar.java
3464 (getBundle): Removed.
3465 (getDayOfYear): Removed.
3466 (getFirstDayOfMonth): New private method.
3467 (nonLeniencyCheck): New private method.
3468 (computeTime): Correct handling of insufficient data.
3470 2005-02-21 Sven de Marothy <sven@physto.se>
3472 * java/util/Calendar.java: Invalidate ERA field on setting
3474 * java/util/SimpleTimeZone.java:
3475 (getDaysInMonth): Reimplemented.
3476 * java/util/GregorianCalendar.java:
3477 (getLinearTime): Removed.
3478 (isLeapYear(int,boolean)): Removed.
3479 (before(), after()): Removed.
3480 (computeTime): Reimplemented.
3482 2005-02-21 Sven de Marothy <sven@physto.se>
3484 * java/util/Calendar.java: Reformatted.
3485 * java/util/GregorianCalendar.java: Reformatted.
3486 * java/util/SimpleTimeZone.java: Reformatted.
3488 2005-02-21 Sven de Marothy <sven@physto.se>
3490 * java/util/GregorianCalendar.java
3491 (GregorianCalendar): Update fields in the constructor
3493 2005-02-21 Noa Resare <noa@resare.com>
3495 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3496 (set(int,int)): Set and use new field.
3497 (set(int,int,int)): Check new field.
3499 2005-02-21 Noa Resare <address@hidden>
3501 * java/util/Calendar.java(set):
3502 Fix for DST related regression.
3504 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3506 * java/util/Calendar.java
3507 (setTimeInMillis): Added call to clear, removed computeFields call.
3508 * java/util/Date.java
3509 (Date(int,int,int,int,int,int)): Removed workaround for
3510 GregorianCalendar bug.
3511 * java/util/GregorianCalendar.java
3512 (GregorianCalendar): Chained all constructors to a (new)
3514 (computeTime): Fixed support for lenient month treatment.
3515 (getLinearDay): Return long instead of int.
3516 (calculateDay): Added fields argument and changed day argument
3519 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3521 * java/text/SimpleDateFormat.java
3522 Lots of documentation updates.
3523 (readObject(java.io.ObjectInputStream)): Wraps
3524 IllegalArgumentException as specified.
3525 (compileFormat(String)): Uses standardChars
3526 rather than the local pattern characters.
3527 Throws IllegalArgumentException rather than
3529 (toString()): Extended to include all variables
3531 (translateLocalizedPattern(String, String, String)):
3532 Renamed to better define the use of this method.
3534 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3536 * java/text/DateFormat.java:
3537 Documented pattern character offset constants and
3539 (Field): Added new static fields for new pattern chars.
3540 * java/text/SimpleDateFormat.java:
3541 (CompiledField): Changed name of FieldSizePair class
3542 to CompiledField after adding the character as an
3543 attribute. Changed fields to private and added
3544 accessors to give encapsulation.
3545 (CompiledField.CompiledField(int,int,char)): Extended
3546 with character field.
3547 (CompiledField.getField()): New accessor method.
3548 (CompiledField.getSize()): New acceessor method.
3549 (CompiledField.getCharacter()): New accessor method.
3550 (CompiledField.toString()): Added primarily for debugging.
3551 (standardChars): Now uses extended 24 character sequence.
3552 (compileFormat(String)): Changed to use CompiledField.
3553 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3554 java.text.FieldPosition)): Changed to use CompiledField.
3555 New handler for RFC 822 timezones added.
3557 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3559 * java/text/SimpleDateFormat.java:
3560 (parse(String, java.text.ParsePosition)):
3561 Changed 'E' and 'M' cases to use both
3562 short and long names. Extended 'z'
3563 case to also handle 'Z', and deal
3564 with simple GMT offsets such as +0100.
3565 (computeOffset(String)): New private method,
3566 which converts a GMT offset specification,
3567 such as GMT-0500 to a numeric offset in
3569 * java/util/TimeZone.java:
3570 (timezones()): Added "CEST", the daylight
3571 savings time version of "CET", or Central
3574 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3576 * java/text/SimpleDateFormat.java:
3577 (parse): Set the DST offset to 0 when parsing
3578 GMT offset timezones.
3580 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3582 * java/text/SimpleDateFormat.java:
3583 (parse): Use offset to set ZONE_OFFSET
3584 rather than the DST_OFFSET, so that
3585 GMT offset timezones change the right
3588 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3590 * java/text/SimpleDateFormat.java:
3591 (getDateFormatSymbols()): return a copy
3592 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3593 throw exception on null input
3594 (clone()): implemented to clone
3597 2005-02-21 Sven de Marothy <sven@physto.se>
3599 * java/text/SimpleDateFormat.java
3600 (parse): comparison should be case-insensitive, ignore null
3603 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3605 * gnu/java/beans/IntrospectionIncubator.java
3606 (addMethod) Reverts the patch that ntroduced a regression (see bug
3607 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3609 2005-02-21 Michael Koch <konqueror@gmx.de>
3611 * java/awt/Checkbox.java
3612 (next_checkbox_number): New static variable.
3613 (generateName): New method.
3614 (getUniqueLong): Likewise.
3615 * java/awt/Window.java
3616 (next_window_number): New static variable.
3617 (generateName): New method.
3618 (getUniqueLong): Likewise.
3620 2005-02-21 Mark Wielaard <mark@klomp.org>
3622 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3625 2005-02-21 Andrew Haley <aph@redhat.com>
3627 * Makefile.in: Rebuilt.
3628 * Makefile.am (nat_source_files): Added natLogger.cc.
3629 * java/util/logging/natLogger.cc: New file.
3630 * java/util/logging/Logger.java (getCallerStackFrame): Now
3633 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3635 * Makefile.am (all_property_files): Remove left over.
3636 (classes.stamp): Add stamp for the ONESTEP build, also known as
3637 --enable-libgcj-multifile.
3638 * Makefile.in: Regenerated.
3640 2005-02-21 Michael Koch <konqueror@gmx.de>
3642 * java/awt/Button.java,
3643 java/awt/Container.java,
3645 java/awt/Frame.java,
3646 java/text/CollationElementIterator.java,
3647 java/text/RuleBasedCollator.java,
3648 java/util/PropertyPermission.java:
3649 Fixed formatting issues all over.
3651 2005-02-21 Mark Wielaard <mark@klomp.org>
3653 * java/io/FileDescriptor.java (sync): Add real exception to
3654 SyncFailedException.
3656 2005-02-21 Michael Koch <konqueror@gmx.de>
3658 * java/io/InputStreamReader.java:
3661 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3664 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3666 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3668 * libraries/javalib/gnu/regexp/RE.java,
3669 libraries/javalib/java/io/ObjectInputStream.java,
3670 libraries/javalib/java/security/AllPermission.java,
3671 libraries/javalib/java/security/BasicPermission.java,
3672 libraries/javalib/java/security/Permissions.java,
3673 libraries/javalib/java/text/MessageFormat.java:
3674 Made 'inner' classes real public static inner classes,
3675 and made them final where possible, or removed them
3678 2005-02-20 Michael Koch <konqueror@gmx.de>
3680 * gnu/java/text/FormatCharacterIterator.java:
3681 Removed redundant modifiers.
3683 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3685 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3688 2005-02-19 Michael Koch <konqueror@gmx.de>
3690 * Makefile.am: Added new files in gnu/java/beans and
3691 java/beans/XMLDecoder.java.
3692 * Makefile.in: Regenerated.
3694 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3696 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3697 assignment behavior by using java.lang.reflect.Array.set()
3700 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3702 * gnu/java/beans/EmptyBeanInfo.java,
3703 gnu/java/beans/info/ComponentBeanInfo.java:
3704 Removed unused files.
3706 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3708 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3709 of AppletStub for java.beans.Beans.instantiate.
3710 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3712 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3713 to be conformant with Javadoc guidelines.
3714 (instantiate): Added two more overloaded variants, reworked user
3715 documentation, fixed exception behavior, fixed behavior when
3718 2005-02-19 Mark Wielaard <mark@klomp.org>
3720 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3722 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3724 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3726 * gnu/java/beans/decoder/AbstractContext.java,
3727 gnu/java/beans/decoder/AbstractCreatableContext.java,
3728 gnu/java/beans/decoder/AbstractElementHandler.java,
3729 gnu/java/beans/decoder/AbstractObjectContext.java,
3730 gnu/java/beans/decoder/ArrayContext.java,
3731 gnu/java/beans/decoder/ArrayHandler.java,
3732 gnu/java/beans/decoder/AssemblyException.java,
3733 gnu/java/beans/decoder/BooleanHandler.java,
3734 gnu/java/beans/decoder/ByteHandler.java,
3735 gnu/java/beans/decoder/CharHandler.java,
3736 gnu/java/beans/decoder/ClassHandler.java,
3737 gnu/java/beans/decoder/ConstructorContext.java,
3738 gnu/java/beans/decoder/Context.java,
3739 gnu/java/beans/decoder/DecoderContext.java,
3740 gnu/java/beans/decoder/DefaultExceptionListener.java,
3741 gnu/java/beans/decoder/DoubleHandler.java,
3742 gnu/java/beans/decoder/DummyContext.java,
3743 gnu/java/beans/decoder/DummyHandler.java,
3744 gnu/java/beans/decoder/ElementHandler.java,
3745 gnu/java/beans/decoder/FloatHandler.java,
3746 gnu/java/beans/decoder/GrowableArrayContext.java,
3747 gnu/java/beans/decoder/IndexContext.java,
3748 gnu/java/beans/decoder/IntHandler.java,
3749 gnu/java/beans/decoder/JavaHandler.java,
3750 gnu/java/beans/decoder/LongHandler.java,
3751 gnu/java/beans/decoder/MethodContext.java,
3752 gnu/java/beans/decoder/MethodFinder.java,
3753 gnu/java/beans/decoder/NullHandler.java,
3754 gnu/java/beans/decoder/ObjectContext.java,
3755 gnu/java/beans/decoder/ObjectHandler.java,
3756 gnu/java/beans/decoder/PersistenceParser.java,
3757 gnu/java/beans/decoder/PropertyContext.java,
3758 gnu/java/beans/decoder/ShortHandler.java,
3759 gnu/java/beans/decoder/SimpleHandler.java,
3760 gnu/java/beans/decoder/StaticMethodContext.java,
3761 gnu/java/beans/decoder/StringHandler.java,
3762 gnu/java/beans/decoder/VoidHandler.java: New class
3763 implementing java.beans.XMLDecoder decoding functionality.
3764 * java/beans/XMLDecoder.java: New class.
3766 2005-02-19 Michael Koch <konqueror@gmx.de>
3768 * javax/swing/JTextField.java
3769 (notfiyAction): Added javadoc.
3771 2005-02-19 Sven de Marothy <sven@physto.se>
3773 * javax/swing/SpinnerDateModel.java: Implemented.
3775 2005-02-19 Michael Koch <konqueror@gmx.de>
3777 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3778 * Makefile.in: Regenerated.
3780 2005-02-19 Michael Koch <konqueror@gmx.de>
3782 * gnu/java/nio/SelectorImpl.java:
3783 Reworked import statements.
3784 (register): Removed unused code.
3785 * java/nio/channels/Channels.java: Reformatted.
3786 * java/nio/charset/Charset.java: Likewise.
3787 * java/rmi/server/RemoteObject.java
3788 (serialVersionUID): Made private.
3789 * java/rmi/server/UID.java
3790 (serialVersionUID): Likewise.
3792 2005-02-19 Michael Koch <konqueror@gmx.de>
3794 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3795 gnu/java/net/protocol/ftp/BlockInputStream.java,
3796 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3797 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3798 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3799 gnu/java/net/protocol/ftp/DTPInputStream.java,
3800 gnu/java/net/protocol/ftp/DTP.java,
3801 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3802 gnu/java/net/protocol/ftp/FTPConnection.java,
3803 gnu/java/net/protocol/ftp/FTPException.java,
3804 gnu/java/net/protocol/ftp/FTPResponse.java,
3805 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3806 gnu/java/net/protocol/ftp/Handler.java,
3807 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3808 gnu/java/net/protocol/ftp/StreamInputStream.java,
3809 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3810 gnu/java/net/CRLFInputStream.java,
3811 gnu/java/net/CRLFOutputStream.java,
3812 gnu/java/net/GetLocalHostAction.java,
3813 gnu/java/net/protocol/ftp/package.html: New files.
3814 * Makefile.am: Added new files.
3815 * Makefile.in: Regenerated.
3817 2005-02-18 Tom Tromey <tromey@redhat.com>
3819 * link.cc (make_vtable): Remove abstract method check.
3820 (append_partial_itable): Likewise.
3823 * verify.cc (type::equals): Fixed test.
3824 * testsuite/libjava.lang/PR20056.out: New file.
3825 * testsuite/libjava.lang/PR20056.java: New file.
3827 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3829 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3830 not the HashEntry. Reported by Jean-Marie White.
3832 2005-02-18 Tom Tromey <tromey@redhat.com>
3835 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3836 * link.cc (has_field_p): New function.
3837 * verify.cc (check_field_constant): Added 'putfield' argument.
3838 (verify_instructions_0): Updated.
3839 (type::equals): New method.
3841 2005-02-18 Anthony Green <green@redhat.com>
3843 * NEWS: Draft of libgcj NEWS for 4.0.
3845 2005-02-18 Anthony Green <green@redhat.com>
3847 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3848 architecture names to "i386" for compatibility reasons. Win32
3851 2005-02-18 Anthony Green <green@redhat.com>
3853 * gij.cc (version): Change year for '--version' to 2005.
3854 * gnu/gcj/convert/Convert.java: Ditto.
3855 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3856 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3858 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3859 recent copyright year in `--version' output.
3861 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3863 * java/nio/charset/Charset.java (forName): Throws
3864 IllegalArgumentException when argument is null
3865 and added documentation.
3867 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3869 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3870 Move the position of the source buffer forward.
3872 2005-02-17 Tom Tromey <tromey@redhat.com>
3874 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3875 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3876 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3877 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3878 Changed type of second argument. Rewrote.
3879 (make_vtable): Use it.
3880 (append_partial_itable): Updated.
3881 (layout_vtable_methods): Updated.
3883 2005-02-17 Michael Koch <konqueror@gmx.de>
3885 * gnu/java/net/PlainSocketImpl.java
3886 (shutdownInput): Added javadoc.
3887 (shutdownOutput): Likewise.
3889 2005-02-17 Michael Koch <konqueror@gmx.de>
3891 * javax/print/attribute/standard/Chromaticity.java,
3892 javax/print/attribute/standard/Destination.java,
3893 javax/print/attribute/standard/MediaPrintableArea.java,
3894 javax/print/attribute/standard/MediaSize.java: New files.
3895 * Makefile.am: Added new files.
3896 * Makefile.in: Regenerated.
3898 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3899 Michael Koch <konqueror@gmx.de>
3901 * gnu/java/net/protocol/http/Cookie.java,
3902 gnu/java/net/protocol/http/HTTPConnection.java,
3903 gnu/java/net/protocol/http/HTTPDateFormat.java,
3904 gnu/java/net/protocol/http/Request.java,
3905 gnu/java/nio/PipeImpl.java,
3906 gnu/java/rmi/dgc/DGCImpl.java,
3907 gnu/java/rmi/server/ConnectionRunnerPool.java,
3908 gnu/java/rmi/server/UnicastConnectionManager.java,
3909 gnu/java/security/der/DERWriter.java,
3910 gnu/java/security/pkcs/SignerInfo.java,
3911 gnu/java/security/provider/EncodedKeyFactory.java,
3912 gnu/java/security/provider/GnuDHPublicKey.java,
3913 gnu/java/security/provider/GnuDSAPrivateKey.java,
3914 gnu/java/security/provider/GnuDSAPublicKey.java,
3915 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3916 gnu/java/security/x509/X500DistinguishedName.java,
3917 gnu/java/security/x509/X509CRL.java,
3918 gnu/java/security/x509/X509CRLEntry.java,
3919 gnu/java/security/x509/X509Certificate.java,
3920 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3921 gnu/java/security/x509/ext/CertificatePolicies.java,
3922 gnu/java/security/x509/ext/PolicyConstraint.java,
3923 gnu/xml/dom/Consumer.java,
3924 gnu/xml/dom/DomCharacterData.java,
3925 gnu/xml/dom/DomDocument.java,
3926 gnu/xml/dom/DomDocumentBuilder.java,
3927 gnu/xml/dom/DomIterator.java,
3928 gnu/xml/dom/DomNode.java,
3929 gnu/xml/dom/DomXPathExpression.java,
3930 gnu/xml/dom/DomXPathResult.java,
3931 gnu/xml/dom/JAXPFactory.java,
3932 gnu/xml/pipeline/CallFilter.java,
3933 gnu/xml/pipeline/DomConsumer.java,
3934 gnu/xml/pipeline/LinkFilter.java,
3935 gnu/xml/pipeline/NSFilter.java,
3936 gnu/xml/pipeline/TeeConsumer.java,
3937 gnu/xml/pipeline/ValidationConsumer.java,
3938 gnu/xml/pipeline/WellFormednessFilter.java,
3939 gnu/xml/pipeline/XIncludeFilter.java,
3940 gnu/xml/pipeline/XsltFilter.java,
3941 gnu/xml/transform/ApplyImportsNode.java,
3942 gnu/xml/transform/Bindings.java,
3943 gnu/xml/transform/DocumentFunction.java,
3944 gnu/xml/transform/FormatNumberFunction.java,
3945 gnu/xml/transform/NodeNumberNode.java,
3946 gnu/xml/transform/NumberNode.java,
3947 gnu/xml/transform/Stylesheet.java,
3948 gnu/xml/transform/SystemPropertyFunction.java,
3949 gnu/xml/transform/Template.java,
3950 gnu/xml/transform/TemplatesImpl.java,
3951 gnu/xml/transform/TransformerImpl.java,
3952 gnu/xml/transform/ValueOfNode.java,
3953 gnu/xml/transform/XSLURIResolver.java,
3954 gnu/xml/util/DoParse.java,
3955 gnu/xml/util/Resolver.java,
3956 gnu/xml/xpath/Expr.java,
3957 gnu/xml/xpath/FunctionCall.java,
3958 gnu/xml/xpath/RelationalExpr.java,
3959 gnu/xml/xpath/Selector.java,
3960 gnu/xml/xpath/XPathParser.java:
3961 Reworked import statements, fixed modifier order and some little
3964 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3966 * java/nio/ByteBufferImpl.java (compact):
3967 Set position and limit even if no bytes were moved.
3969 2005-02-17 Michael Koch <konqueror@gmx.de>
3971 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3972 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3973 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3974 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3975 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3976 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3977 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3978 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3979 * java/nio/FloatBufferImpl.java (compact): Set position.
3980 * java/nio/CharBufferImpl.java (compact): Likewise.
3981 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3982 * java/nio/IntBufferImpl.java (compact): Likewise.
3983 * java/nio/LongBufferImpl.java (compact): Likewise.
3984 * java/nio/ShortBufferImpl.java (compact): Likewise.
3986 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3988 * java/nio/ByteBufferImpl.java,
3989 java/nio/CharBufferImpl.java,
3990 java/nio/DirectByteBufferImpl.java,
3991 java/nio/DoubleBufferImpl.java,
3992 java/nio/FloatBufferImpl.java,
3993 java/nio/IntBufferImpl.java,
3994 java/nio/LongBufferImpl.java,
3995 java/nio/MappedByteBufferImpl.java,
3996 java/nio/ShortBufferImpl.java
3997 (compact): Added explicit read-only check and invalidate mark.
3999 2005-02-17 Michael Koch <konqueror@gmx.de>
4001 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4002 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4003 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4004 gnu/java/awt/peer/gtk/GdkGraphics.java,
4005 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4006 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4007 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4008 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4009 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4010 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4011 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4012 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4013 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4014 gnu/java/awt/peer/gtk/GtkClipboard.java,
4015 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4016 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4017 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4018 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4019 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4020 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4021 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4022 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4023 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4024 gnu/java/awt/peer/gtk/GtkToolkit.java,
4025 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4026 java/applet/Applet.java,
4027 java/awt/AWTError.java,
4028 java/awt/AWTEvent.java,
4029 java/awt/AWTEventMulticaster.java,
4030 java/awt/AWTException.java,
4031 java/awt/AWTKeyStroke.java,
4032 java/awt/AWTPermission.java,
4033 java/awt/ActiveEvent.java,
4034 java/awt/Adjustable.java,
4035 java/awt/AlphaComposite.java,
4036 java/awt/AttributeValue.java,
4037 java/awt/BorderLayout.java,
4038 java/awt/BufferCapabilities.java,
4039 java/awt/Button.java,
4040 java/awt/Canvas.java,
4041 java/awt/CheckboxGroup.java,
4042 java/awt/CheckboxMenuItem.java,
4043 java/awt/Color.java,
4044 java/awt/ColorPaintContext.java,
4045 java/awt/Component.java,
4046 java/awt/ComponentOrientation.java,
4047 java/awt/Composite.java,
4048 java/awt/CompositeContext.java,
4049 java/awt/Container.java,
4050 java/awt/ContainerOrderFocusTraversalPolicy.java,
4051 java/awt/DefaultFocusTraversalPolicy.java,
4052 java/awt/Dialog.java,
4053 java/awt/Dimension.java,
4054 java/awt/DisplayMode.java,
4055 java/awt/EventQueue.java,
4056 java/awt/FileDialog.java,
4057 java/awt/FontFormatException.java,
4058 java/awt/Graphics.java,
4059 java/awt/Graphics2D.java,
4060 java/awt/GraphicsConfigTemplate.java,
4061 java/awt/GraphicsConfiguration.java,
4062 java/awt/GraphicsDevice.java,
4063 java/awt/GridBagLayout.java,
4064 java/awt/GridBagLayoutInfo.java,
4065 java/awt/GridLayout.java,
4066 java/awt/HeadlessException.java,
4067 java/awt/IllegalComponentStateException.java,
4068 java/awt/Image.java,
4069 java/awt/Insets.java,
4070 java/awt/ItemSelectable.java,
4071 java/awt/JobAttributes.java,
4072 java/awt/KeyEventDispatcher.java,
4073 java/awt/KeyEventPostProcessor.java,
4074 java/awt/KeyboardFocusManager.java,
4075 java/awt/Label.java,
4076 java/awt/LayoutManager.java,
4077 java/awt/MenuBar.java,
4078 java/awt/MenuComponent.java,
4079 java/awt/MenuContainer.java,
4080 java/awt/PageAttributes.java,
4081 java/awt/Paint.java,
4082 java/awt/PaintContext.java,
4083 java/awt/Panel.java,
4084 java/awt/Point.java,
4085 java/awt/Polygon.java,
4086 java/awt/PrintGraphics.java,
4087 java/awt/PrintJob.java,
4088 java/awt/Rectangle.java,
4089 java/awt/RenderingHints.java,
4090 java/awt/Shape.java,
4091 java/awt/Stroke.java,
4092 java/awt/SystemColor.java,
4093 java/awt/Toolkit.java,
4094 java/awt/Transparency.java,
4095 java/awt/Window.java,
4096 java/awt/color/CMMException.java,
4097 java/awt/color/ColorSpace.java,
4098 java/awt/color/ICC_ColorSpace.java,
4099 java/awt/color/ICC_Profile.java,
4100 java/awt/color/ProfileDataException.java,
4101 java/awt/datatransfer/FlavorTable.java,
4102 java/awt/datatransfer/MimeTypeParseException.java,
4103 java/awt/datatransfer/Transferable.java,
4104 java/awt/datatransfer/UnsupportedFlavorException.java,
4105 java/awt/dnd/Autoscroll.java,
4106 java/awt/dnd/DnDConstants.java,
4107 java/awt/dnd/DragGestureListener.java,
4108 java/awt/dnd/DragSourceAdapter.java,
4109 java/awt/dnd/DragSourceDropEvent.java,
4110 java/awt/dnd/DragSourceListener.java,
4111 java/awt/dnd/DragSourceMotionListener.java,
4112 java/awt/dnd/DropTargetAdapter.java,
4113 java/awt/dnd/DropTargetContext.java,
4114 java/awt/dnd/DropTargetListener.java,
4115 java/awt/dnd/InvalidDnDOperationException.java,
4116 java/awt/dnd/MouseDragGestureRecognizer.java,
4117 java/awt/dnd/peer/DropTargetContextPeer.java,
4118 java/awt/event/AWTEventListener.java,
4119 java/awt/event/AWTEventListenerProxy.java,
4120 java/awt/event/ActionEvent.java,
4121 java/awt/event/AdjustmentEvent.java,
4122 java/awt/event/AdjustmentListener.java,
4123 java/awt/event/ComponentAdapter.java,
4124 java/awt/event/ComponentEvent.java,
4125 java/awt/event/ComponentListener.java,
4126 java/awt/event/ContainerAdapter.java,
4127 java/awt/event/ContainerEvent.java,
4128 java/awt/event/ContainerListener.java,
4129 java/awt/event/FocusAdapter.java,
4130 java/awt/event/FocusEvent.java,
4131 java/awt/event/FocusListener.java,
4132 java/awt/event/InputEvent.java,
4133 java/awt/event/InputMethodEvent.java,
4134 java/awt/event/InputMethodListener.java,
4135 java/awt/event/InvocationEvent.java,
4136 java/awt/event/ItemEvent.java,
4137 java/awt/event/ItemListener.java,
4138 java/awt/event/KeyAdapter.java,
4139 java/awt/event/KeyEvent.java,
4140 java/awt/event/KeyListener.java,
4141 java/awt/event/MouseAdapter.java,
4142 java/awt/event/MouseEvent.java,
4143 java/awt/event/MouseListener.java,
4144 java/awt/event/MouseMotionAdapter.java,
4145 java/awt/event/MouseMotionListener.java,
4146 java/awt/event/MouseWheelEvent.java,
4147 java/awt/event/MouseWheelListener.java,
4148 java/awt/event/PaintEvent.java,
4149 java/awt/event/TextEvent.java,
4150 java/awt/event/TextListener.java,
4151 java/awt/event/WindowAdapter.java,
4152 java/awt/event/WindowEvent.java,
4153 java/awt/event/WindowFocusListener.java,
4154 java/awt/event/WindowListener.java,
4155 java/awt/event/WindowStateListener.java,
4156 java/awt/font/TextHitInfo.java,
4157 java/awt/geom/CubicCurve2D.java,
4158 java/awt/geom/Dimension2D.java,
4159 java/awt/geom/Ellipse2D.java,
4160 java/awt/geom/IllegalPathStateException.java,
4161 java/awt/geom/Line2D.java,
4162 java/awt/geom/NoninvertibleTransformException.java,
4163 java/awt/geom/PathIterator.java,
4164 java/awt/geom/Point2D.java,
4165 java/awt/geom/QuadCurve2D.java,
4166 java/awt/geom/RectangularShape.java,
4167 java/awt/geom/RoundRectangle2D.java,
4168 java/awt/im/InputContext.java,
4169 java/awt/im/InputMethodHighlight.java,
4170 java/awt/im/InputMethodRequests.java,
4171 java/awt/im/InputSubset.java,
4172 java/awt/im/spi/InputMethod.java,
4173 java/awt/im/spi/InputMethodDescriptor.java,
4174 java/awt/image/BandCombineOp.java,
4175 java/awt/image/BandedSampleModel.java,
4176 java/awt/image/ByteLookupTable.java,
4177 java/awt/image/ComponentSampleModel.java,
4178 java/awt/image/DataBuffer.java,
4179 java/awt/image/DataBufferByte.java,
4180 java/awt/image/DataBufferDouble.java,
4181 java/awt/image/DataBufferFloat.java,
4182 java/awt/image/DataBufferInt.java,
4183 java/awt/image/DataBufferShort.java,
4184 java/awt/image/DataBufferUShort.java,
4185 java/awt/image/ImagingOpException.java,
4186 java/awt/image/Kernel.java,
4187 java/awt/image/LookupTable.java,
4188 java/awt/image/MultiPixelPackedSampleModel.java,
4189 java/awt/image/PackedColorModel.java,
4190 java/awt/image/PixelInterleavedSampleModel.java,
4191 java/awt/image/RGBImageFilter.java,
4192 java/awt/image/Raster.java,
4193 java/awt/image/RasterFormatException.java,
4194 java/awt/image/SampleModel.java,
4195 java/awt/image/ShortLookupTable.java,
4196 java/awt/image/SinglePixelPackedSampleModel.java,
4197 java/awt/image/WritableRaster.java,
4198 java/awt/print/PrinterAbortException.java,
4199 java/awt/print/PrinterException.java,
4200 java/awt/print/PrinterIOException.java,
4201 java/beans/AppletInitializer.java,
4202 java/beans/ExceptionListener.java,
4203 java/beans/PropertyChangeEvent.java,
4204 java/beans/PropertyChangeListenerProxy.java,
4205 java/beans/PropertyChangeSupport.java,
4206 java/beans/PropertyDescriptor.java,
4207 java/beans/VetoableChangeListenerProxy.java,
4208 java/beans/VetoableChangeSupport.java,
4209 java/io/BufferedReader.java,
4210 java/io/ByteArrayInputStream.java,
4211 java/io/ByteArrayOutputStream.java,
4212 java/io/CharArrayReader.java,
4213 java/io/CharArrayWriter.java,
4214 java/io/CharConversionException.java,
4215 java/io/DataInput.java,
4216 java/io/DataInputStream.java,
4217 java/io/DataOutput.java,
4218 java/io/DataOutputStream.java,
4219 java/io/EOFException.java,
4220 java/io/FileInputStream.java,
4221 java/io/FileNotFoundException.java,
4222 java/io/FileOutputStream.java,
4223 java/io/FilenameFilter.java,
4224 java/io/FilterInputStream.java,
4225 java/io/FilterOutputStream.java,
4226 java/io/FilterReader.java,
4227 java/io/FilterWriter.java,
4228 java/io/IOException.java,
4229 java/io/InputStream.java,
4230 java/io/InterruptedIOException.java,
4231 java/io/LineNumberInputStream.java,
4232 java/io/LineNumberReader.java,
4233 java/io/ObjectInputStream.java,
4234 java/io/ObjectStreamException.java,
4235 java/io/OptionalDataException.java,
4236 java/io/OutputStream.java,
4237 java/io/OutputStreamWriter.java,
4238 java/io/PrintStream.java,
4239 java/io/PrintWriter.java,
4240 java/io/PushbackInputStream.java,
4241 java/io/PushbackReader.java,
4242 java/io/RandomAccessFile.java,
4243 java/io/Reader.java,
4244 java/io/SequenceInputStream.java,
4245 java/io/Serializable.java,
4246 java/io/StreamCorruptedException.java,
4247 java/io/StreamTokenizer.java,
4248 java/io/StringBufferInputStream.java,
4249 java/io/StringWriter.java,
4250 java/io/SyncFailedException.java,
4251 java/io/UTFDataFormatException.java,
4252 java/io/UnsupportedEncodingException.java,
4253 java/io/WriteAbortedException.java,
4254 java/io/Writer.java,
4255 java/lang/AbstractMethodError.java,
4256 java/lang/ArithmeticException.java,
4257 java/lang/ArrayIndexOutOfBoundsException.java,
4258 java/lang/ArrayStoreException.java,
4259 java/lang/AssertionError.java,
4260 java/lang/Boolean.java,
4261 java/lang/Byte.java,
4262 java/lang/Class.java,
4263 java/lang/ClassCastException.java,
4264 java/lang/ClassCircularityError.java,
4265 java/lang/ClassLoader.java,
4266 java/lang/ClassNotFoundException.java,
4267 java/lang/CloneNotSupportedException.java,
4268 java/lang/Cloneable.java,
4269 java/lang/Comparable.java,
4270 java/lang/Compiler.java,
4271 java/lang/Double.java,
4272 java/lang/Error.java,
4273 java/lang/Exception.java,
4274 java/lang/ExceptionInInitializerError.java,
4275 java/lang/Float.java,
4276 java/lang/IllegalAccessError.java,
4277 java/lang/IllegalAccessException.java,
4278 java/lang/IllegalArgumentException.java,
4279 java/lang/IllegalMonitorStateException.java,
4280 java/lang/IllegalStateException.java,
4281 java/lang/IllegalThreadStateException.java,
4282 java/lang/IncompatibleClassChangeError.java,
4283 java/lang/IndexOutOfBoundsException.java,
4284 java/lang/InheritableThreadLocal.java,
4285 java/lang/InstantiationError.java,
4286 java/lang/InstantiationException.java,
4287 java/lang/Integer.java,
4288 java/lang/InternalError.java,
4289 java/lang/InterruptedException.java,
4290 java/lang/LinkageError.java,
4291 java/lang/Long.java,
4292 java/lang/NegativeArraySizeException.java,
4293 java/lang/NoClassDefFoundError.java,
4294 java/lang/NoSuchFieldError.java,
4295 java/lang/NoSuchFieldException.java,
4296 java/lang/NoSuchMethodError.java,
4297 java/lang/NoSuchMethodException.java,
4298 java/lang/NullPointerException.java,
4299 java/lang/Number.java,
4300 java/lang/NumberFormatException.java,
4301 java/lang/OutOfMemoryError.java,
4302 java/lang/Process.java,
4303 java/lang/Runnable.java,
4304 java/lang/Runtime.java,
4305 java/lang/RuntimeException.java,
4306 java/lang/RuntimePermission.java,
4307 java/lang/SecurityException.java,
4308 java/lang/SecurityManager.java,
4309 java/lang/Short.java,
4310 java/lang/StackOverflowError.java,
4311 java/lang/StackTraceElement.java,
4312 java/lang/StringBuffer.java,
4313 java/lang/StringIndexOutOfBoundsException.java,
4314 java/lang/ThreadDeath.java,
4315 java/lang/ThreadGroup.java,
4316 java/lang/Throwable.java,
4317 java/lang/UnsatisfiedLinkError.java,
4318 java/lang/UnsupportedOperationException.java,
4319 java/lang/VerifyError.java,
4320 java/lang/VirtualMachineError.java,
4321 java/lang/reflect/AccessibleObject.java,
4322 java/lang/reflect/Array.java,
4323 java/lang/reflect/InvocationTargetException.java,
4324 java/lang/reflect/Member.java,
4325 java/lang/reflect/Modifier.java,
4326 java/lang/reflect/Proxy.java,
4327 java/lang/reflect/ReflectPermission.java,
4328 java/lang/reflect/UndeclaredThrowableException.java,
4329 java/math/BigInteger.java,
4330 java/net/NetworkInterface.java,
4331 java/nio/ByteBufferHelper.java,
4332 java/nio/ByteBufferImpl.java,
4333 java/nio/DirectByteBufferImpl.java,
4334 java/nio/DoubleBufferImpl.java,
4335 java/nio/FloatBufferImpl.java,
4336 java/nio/IntBufferImpl.java,
4337 java/nio/LongBufferImpl.java,
4338 java/nio/ShortBufferImpl.java,
4339 java/nio/channels/Channel.java,
4340 java/nio/channels/IllegalBlockingModeException.java,
4341 java/nio/charset/spi/CharsetProvider.java,
4342 java/security/AccessControlException.java,
4343 java/security/BasicPermission.java,
4344 java/security/DigestException.java,
4345 java/security/DigestInputStream.java,
4346 java/security/DigestOutputStream.java,
4347 java/security/GeneralSecurityException.java,
4348 java/security/Guard.java,
4349 java/security/GuardedObject.java,
4350 java/security/InvalidAlgorithmParameterException.java,
4351 java/security/InvalidKeyException.java,
4352 java/security/InvalidParameterException.java,
4353 java/security/Key.java,
4354 java/security/KeyException.java,
4355 java/security/KeyManagementException.java,
4356 java/security/KeyStoreException.java,
4357 java/security/MessageDigestSpi.java,
4358 java/security/NoSuchAlgorithmException.java,
4359 java/security/NoSuchProviderException.java,
4360 java/security/Permission.java,
4361 java/security/PermissionCollection.java,
4362 java/security/Permissions.java,
4363 java/security/Principal.java,
4364 java/security/PrivateKey.java,
4365 java/security/PrivilegedActionException.java,
4366 java/security/ProviderException.java,
4367 java/security/PublicKey.java,
4368 java/security/SecureRandom.java,
4369 java/security/SecureRandomSpi.java,
4370 java/security/SignatureException.java,
4371 java/security/SignatureSpi.java,
4372 java/security/SignedObject.java,
4373 java/security/Signer.java,
4374 java/security/UnrecoverableKeyException.java,
4375 java/security/UnresolvedPermission.java,
4376 java/security/acl/AclNotFoundException.java,
4377 java/security/acl/LastOwnerException.java,
4378 java/security/acl/NotOwnerException.java,
4379 java/security/cert/CertPath.java,
4380 java/security/cert/CertPathBuilderException.java,
4381 java/security/cert/CertPathValidatorException.java,
4382 java/security/cert/CertStoreException.java,
4383 java/text/BreakIterator.java,
4384 java/text/ChoiceFormat.java,
4385 java/text/CollationElementIterator.java,
4386 java/text/CollationKey.java,
4387 java/text/Collator.java,
4388 java/text/DateFormat.java,
4389 java/text/DateFormatSymbols.java,
4390 java/text/DecimalFormat.java,
4391 java/text/DecimalFormatSymbols.java,
4392 java/text/FieldPosition.java,
4393 java/text/Format.java,
4394 java/text/NumberFormat.java,
4395 java/text/ParseException.java,
4396 java/text/ParsePosition.java,
4397 java/text/StringCharacterIterator.java,
4398 java/util/AbstractCollection.java,
4399 java/util/AbstractList.java,
4400 java/util/AbstractMap.java,
4401 java/util/AbstractSequentialList.java,
4402 java/util/AbstractSet.java,
4403 java/util/ArrayList.java,
4404 java/util/Arrays.java,
4405 java/util/BitSet.java,
4406 java/util/Collection.java,
4407 java/util/Collections.java,
4408 java/util/Comparator.java,
4409 java/util/ConcurrentModificationException.java,
4410 java/util/Currency.java,
4411 java/util/Date.java,
4412 java/util/EmptyStackException.java,
4413 java/util/Enumeration.java,
4414 java/util/EventListener.java,
4415 java/util/EventListenerProxy.java,
4416 java/util/EventObject.java,
4417 java/util/HashMap.java,
4418 java/util/HashSet.java,
4419 java/util/Hashtable.java,
4420 java/util/IdentityHashMap.java,
4421 java/util/Iterator.java,
4422 java/util/LinkedHashSet.java,
4423 java/util/LinkedList.java,
4424 java/util/List.java,
4425 java/util/ListIterator.java,
4426 java/util/ListResourceBundle.java,
4428 java/util/MissingResourceException.java,
4429 java/util/NoSuchElementException.java,
4430 java/util/Observable.java,
4431 java/util/Observer.java,
4432 java/util/Properties.java,
4433 java/util/PropertyPermissionCollection.java,
4434 java/util/RandomAccess.java,
4436 java/util/SortedMap.java,
4437 java/util/SortedSet.java,
4438 java/util/Stack.java,
4439 java/util/StringTokenizer.java,
4440 java/util/TooManyListenersException.java,
4441 java/util/TreeMap.java,
4442 java/util/TreeSet.java,
4443 java/util/Vector.java,
4444 java/util/logging/FileHandler.java,
4445 java/util/logging/Level.java,
4446 java/util/prefs/BackingStoreException.java,
4447 java/util/prefs/InvalidPreferencesFormatException.java,
4448 java/util/prefs/Preferences.java,
4449 javax/accessibility/Accessible.java,
4450 javax/accessibility/AccessibleAction.java,
4451 javax/accessibility/AccessibleBundle.java,
4452 javax/accessibility/AccessibleComponent.java,
4453 javax/accessibility/AccessibleContext.java,
4454 javax/accessibility/AccessibleEditableText.java,
4455 javax/accessibility/AccessibleExtendedComponent.java,
4456 javax/accessibility/AccessibleExtendedTable.java,
4457 javax/accessibility/AccessibleHyperlink.java,
4458 javax/accessibility/AccessibleHypertext.java,
4459 javax/accessibility/AccessibleIcon.java,
4460 javax/accessibility/AccessibleKeyBinding.java,
4461 javax/accessibility/AccessibleRelation.java,
4462 javax/accessibility/AccessibleRelationSet.java,
4463 javax/accessibility/AccessibleResourceBundle.java,
4464 javax/accessibility/AccessibleRole.java,
4465 javax/accessibility/AccessibleSelection.java,
4466 javax/accessibility/AccessibleState.java,
4467 javax/accessibility/AccessibleStateSet.java,
4468 javax/accessibility/AccessibleTable.java,
4469 javax/accessibility/AccessibleTableModelChange.java,
4470 javax/accessibility/AccessibleText.java,
4471 javax/accessibility/AccessibleValue.java,
4472 javax/imageio/IIOException.java,
4473 javax/imageio/ImageIO.java,
4474 javax/imageio/spi/IIOServiceProvider.java,
4475 javax/imageio/spi/ImageInputStreamSpi.java,
4476 javax/imageio/spi/ImageOutputStreamSpi.java,
4477 javax/imageio/spi/ImageReaderWriterSpi.java,
4478 javax/imageio/spi/ImageTranscoderSpi.java,
4479 javax/imageio/spi/RegisterableService.java,
4480 javax/imageio/spi/ServiceRegistry.java,
4481 javax/imageio/stream/IIOByteBuffer.java,
4482 javax/imageio/stream/ImageInputStream.java,
4483 javax/imageio/stream/ImageOutputStream.java,
4484 javax/naming/Binding.java,
4485 javax/naming/CannotProceedException.java,
4486 javax/naming/CompositeName.java,
4487 javax/naming/CompoundName.java,
4488 javax/naming/LinkException.java,
4489 javax/naming/LinkRef.java,
4490 javax/naming/NameClassPair.java,
4491 javax/naming/Reference.java,
4492 javax/naming/ReferralException.java,
4493 javax/naming/directory/Attribute.java,
4494 javax/naming/directory/AttributeModificationException.java,
4495 javax/naming/directory/Attributes.java,
4496 javax/naming/directory/DirContext.java,
4497 javax/naming/directory/ModificationItem.java,
4498 javax/naming/directory/SearchControls.java,
4499 javax/naming/directory/SearchResult.java,
4500 javax/naming/event/EventContext.java,
4501 javax/naming/event/EventDirContext.java,
4502 javax/naming/event/NamespaceChangeListener.java,
4503 javax/naming/event/NamingExceptionEvent.java,
4504 javax/naming/event/NamingListener.java,
4505 javax/naming/event/ObjectChangeListener.java,
4506 javax/naming/ldap/Control.java,
4507 javax/naming/ldap/ExtendedResponse.java,
4508 javax/naming/ldap/HasControls.java,
4509 javax/naming/ldap/LdapContext.java,
4510 javax/naming/ldap/UnsolicitedNotification.java,
4511 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4512 javax/naming/ldap/UnsolicitedNotificationListener.java,
4513 javax/naming/spi/DirectoryManager.java,
4514 javax/naming/spi/ResolveResult.java,
4515 javax/naming/spi/Resolver.java,
4516 javax/security/auth/callback/Callback.java,
4517 javax/security/auth/callback/CallbackHandler.java,
4518 javax/security/auth/callback/ChoiceCallback.java,
4519 javax/security/auth/callback/ConfirmationCallback.java,
4520 javax/security/auth/callback/LanguageCallback.java,
4521 javax/security/auth/callback/NameCallback.java,
4522 javax/security/auth/callback/PasswordCallback.java,
4523 javax/security/auth/callback/TextInputCallback.java,
4524 javax/security/auth/callback/TextOutputCallback.java,
4525 javax/security/auth/callback/UnsupportedCallbackException.java,
4526 javax/security/sasl/Sasl.java,
4527 javax/security/sasl/SaslServerFactory.java,
4528 javax/swing/DefaultBoundedRangeModel.java,
4529 javax/swing/JComponent.java,
4530 javax/swing/JList.java,
4531 javax/swing/JProgressBar.java,
4532 javax/swing/JRadioButton.java,
4533 javax/swing/JTextArea.java,
4534 javax/swing/JTextField.java,
4535 javax/swing/JToggleButton.java,
4536 javax/swing/JTree.java,
4537 javax/swing/SpinnerListModel.java,
4538 javax/swing/event/EventListenerList.java,
4539 javax/swing/text/JTextComponent.java,
4540 javax/swing/text/StringContent.java,
4541 javax/swing/text/Utilities.java,
4542 javax/swing/undo/UndoManager.java,
4543 javax/swing/undo/UndoableEditSupport.java,
4544 javax/transaction/HeuristicCommitException.java,
4545 javax/transaction/HeuristicMixedException.java,
4546 javax/transaction/HeuristicRollbackException.java,
4547 javax/transaction/InvalidTransactionException.java,
4548 javax/transaction/NotSupportedException.java,
4549 javax/transaction/RollbackException.java,
4550 javax/transaction/Status.java,
4551 javax/transaction/Synchronization.java,
4552 javax/transaction/SystemException.java,
4553 javax/transaction/Transaction.java,
4554 javax/transaction/TransactionManager.java,
4555 javax/transaction/TransactionRequiredException.java,
4556 javax/transaction/TransactionRolledbackException.java,
4557 javax/transaction/UserTransaction.java,
4558 javax/transaction/xa/XAException.java,
4559 javax/transaction/xa/XAResource.java,
4560 javax/transaction/xa/Xid.java,
4561 javax/xml/XMLConstants.java,
4562 javax/xml/datatype/DatatypeConfigurationException.java,
4563 javax/xml/datatype/DatatypeConstants.java,
4564 javax/xml/datatype/DatatypeFactory.java,
4565 javax/xml/datatype/Duration.java,
4566 javax/xml/datatype/XMLGregorianCalendar.java,
4567 javax/xml/namespace/NamespaceContext.java,
4568 javax/xml/namespace/QName.java,
4569 javax/xml/parsers/DocumentBuilder.java,
4570 javax/xml/parsers/DocumentBuilderFactory.java,
4571 javax/xml/parsers/FactoryConfigurationError.java,
4572 javax/xml/parsers/ParserConfigurationException.java,
4573 javax/xml/parsers/SAXParser.java,
4574 javax/xml/parsers/SAXParserFactory.java,
4575 javax/xml/transform/ErrorListener.java,
4576 javax/xml/transform/OutputKeys.java,
4577 javax/xml/transform/Result.java,
4578 javax/xml/transform/Source.java,
4579 javax/xml/transform/SourceLocator.java,
4580 javax/xml/transform/Templates.java,
4581 javax/xml/transform/Transformer.java,
4582 javax/xml/transform/TransformerConfigurationException.java,
4583 javax/xml/transform/TransformerException.java,
4584 javax/xml/transform/TransformerFactory.java,
4585 javax/xml/transform/TransformerFactoryConfigurationError.java,
4586 javax/xml/transform/URIResolver.java,
4587 javax/xml/transform/dom/DOMLocator.java,
4588 javax/xml/transform/dom/DOMResult.java,
4589 javax/xml/transform/dom/DOMSource.java,
4590 javax/xml/transform/sax/SAXResult.java,
4591 javax/xml/transform/sax/SAXSource.java,
4592 javax/xml/transform/sax/SAXTransformerFactory.java,
4593 javax/xml/transform/sax/TemplatesHandler.java,
4594 javax/xml/transform/sax/TransformerHandler.java,
4595 javax/xml/transform/stream/StreamResult.java,
4596 javax/xml/transform/stream/StreamSource.java,
4597 javax/xml/validation/Schema.java,
4598 javax/xml/validation/SchemaFactory.java,
4599 javax/xml/validation/TypeInfoProvider.java,
4600 javax/xml/validation/Validator.java,
4601 javax/xml/validation/ValidatorHandler.java,
4602 javax/xml/xpath/XPathConstants.java,
4603 javax/xml/xpath/XPathException.java,
4604 javax/xml/xpath/XPathExpression.java,
4605 javax/xml/xpath/XPathExpressionException.java,
4606 javax/xml/xpath/XPathFactory.java,
4607 javax/xml/xpath/XPathFactoryConfigurationException.java,
4608 javax/xml/xpath/XPathFunction.java,
4609 javax/xml/xpath/XPathFunctionException.java,
4610 javax/xml/xpath/XPathFunctionResolver.java:
4611 Fixed usage of @author tag, reworked import statements,
4612 removed CVS tags, changed the modifier order and fixed
4613 HTML usage in javadocs.
4615 2005-02-16 Julian Scheid <julian@sektor37.de>
4617 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4619 (encodeLoop): Likewise.
4621 2005-02-16 Mark Wielaard <mark@klomp.org>
4623 * Makefile.am (ordinary_java_source_files): Add new files
4624 gnu/java/security/ber/BER.java,
4625 gnu/java/security/ber/BEREncodingException.java,
4626 gnu/java/security/ber/BERReader.java,
4627 gnu/java/security/ber/BERValue.java,
4628 gnu/java/security/pkcs/PKCS7SignedData.java and
4629 gnu/java/security/pkcs/SignerInfo.java.
4630 * Makefile.in: Regenerated.
4632 2005-02-16 Casey Marshall <csm@gnu.org>
4634 * gnu/java/security/provider/GnuDSAPrivateKey.java
4635 (encodedKey): new field.
4636 (getFormat): return "PKCS#8".
4637 (getEncoded): implemented.
4638 (toString): check for 'null' values.
4639 * gnu/java/security/provider/GnuDSAPublicKey.java
4640 (encodedKey): new field.
4641 (getFormat): return "X.509".
4642 (getEncoded): implemented.
4643 (toString): check for 'null' values.
4645 2005-02-16 Michael Koch <konqueror@gmx.de>
4647 * java/util/jar/JarFile.java: Imports reworked.
4649 2005-02-16 Mark Wielaard <mark@klomp.org>
4651 * java/util/jar/JarFile.java (verify): Make package private.
4652 (signaturesRead): Likewise.
4653 (verified): Likewise.
4654 (entryCerts): Likewise.
4657 (entries): Construct new JarEnumeration with reference to this.
4658 (JarEnumeration): Make static.
4659 (JarEnumeration.jarfile): New field.
4660 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4661 Compare verified value to Boolean.TRUE or Boolean.False only
4662 when verify is true.
4663 (getEntry): Make synchronized. Compare value of verified to
4665 (getInputStream): Construct EntryInputStream with reference to this.
4666 (getManifest): Make synchronized.
4667 (EntryInputStream): Make static.
4668 (EntryInputStream.jarfile): New field.
4669 (EntryInputStream.EntryInputStream): Check if manifest exists,
4670 before getting attributes.
4671 (eof): Synchronize on jarfile.
4673 2005-02-16 Casey Marshall <csm@gnu.org>
4675 * java/util/jar/JarFile.java (verify): return if the jar is signed
4676 with an unsupported algorithm.
4678 2005-02-16 Mark Wielaard <mark@klomp.org>
4680 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4681 InputStream as argument.
4682 (getInputStream): Construct a new EntryInputStream with the result of
4683 super.getInputStream(entry).
4685 2005-02-16 Casey Marshall <csm@gnu.org>
4687 Signed JAR file support.
4688 * java/net/URLClassLoader.java
4689 (JarURLResource.getCertificates): re-read jar entry to ensure
4690 certificates are picked up.
4691 (findClass): fill in class `signers' field, too.
4692 * java/util/jar/JarFile.java (META_INF): new constant.
4693 (PKCS7_DSA_SUFFIX): new constant.
4694 (PKCS7_RSA_SUFFIX): new constant.
4695 (DIGEST_KEY_SUFFIX): new constant.
4696 (SF_SUFFIX): new constant.
4697 (MD2_OID): new constant.
4698 (MD4_OID): new constant.
4699 (MD5_OID): new constant.
4700 (SHA1_OID): new constant.
4701 (DSA_ENCRYPTION_OID): new constant.
4702 (RSA_ENCRYPTION_OID): new constant.
4703 (signaturesRead): new field.
4704 (verified): new field.
4705 (entryCerts): new field.
4706 (DEBUG): new constant.
4707 (debug): new method.
4708 (JarEnumeration.nextElement): fill in entry certificates, read
4709 signatures if they haven't been read.
4710 (getEntry): likewise.
4711 (getInputStream): verify stream if it hasn't been verified yet.
4712 (readSignatures): new method.
4713 (verify): new method.
4714 (verifyHashes): new method.
4715 (readManifestEntry): new method.
4716 (EntryInputStream): new class.
4717 * gnu/java/io/Base64InputStream.java (decode): new class
4719 * gnu/java/security/der/DERReader.java don't make class
4721 (in): made protected.
4723 (readLength): likewise.
4724 * gnu/java/security/ber/BER.java,
4725 * gnu/java/security/ber/BEREncodingException.java,
4726 * gnu/java/security/ber/BERReader.java,
4727 * gnu/java/security/ber/BERValue.java,
4728 * gnu/java/security/pkcs/PKCS7SignedData.java,
4729 * gnu/java/security/pkcs/SignerInfo.java:
4732 2005-02-16 Tom Tromey <tromey@redhat.com>
4734 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4735 copied file on exit.
4737 2005-02-15 Mark Wielaard <mark@klomp.org>
4739 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4741 2005-02-15 Michael Koch <konqueror@gmx.de>
4743 * gnu/java/awt/peer/gtk/GtkArg.java,
4744 gnu/java/awt/peer/gtk/GtkArgList.java:
4747 2005-02-15 Craig Black <craig.black@aonix.com>
4749 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4750 (postMenuActionEvent): Implement to notify ItemListeners.
4751 * java/awt/CheckboxMenuItem.java
4752 (dispatchEventImpl): Update state on ItemEvent.
4753 * java/awt/MenuItem.java
4754 (processActionEvent): Retarget event source.
4756 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4758 * gnu/java/awt/color/ClutProfileConverter.java,
4759 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4760 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4761 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4762 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4763 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4764 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4765 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4766 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4767 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4768 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4769 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4770 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4771 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4772 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4773 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4774 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4775 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4776 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4777 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4778 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4779 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4780 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4781 gnu/java/awt/peer/gtk/GtkToolkit.java,
4782 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4783 javax/swing/JPopupMenu.java,
4784 javax/swing/JSpinner.java,
4785 javax/swing/SortingFocusTraversalPolicy.java,
4786 javax/swing/SwingUtilities.java,
4787 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4788 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4789 javax/swing/tree/DefaultMutableTreeNode.java:
4790 Removed unused imports and expanded starred
4793 2005-02-15 Mark Wielaard <mark@klomp.org>
4795 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4796 IllegalArgumentException when the given String is null.
4798 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4799 when given keystoke sequence cannot be parsed.
4801 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4802 if one is installed. Only install the given menubar is not null.
4804 * javax/swing/JViewport.java (getViewSize): Return an empty
4805 Dimension when the view isn't set or preferred component size when
4808 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4809 empty Dimension when there is no view set.
4810 (minimumLayoutSize): Likewise.
4811 (layoutContainer): Don't try to layout when there is no view.
4813 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4816 * include/jawt.h: Likewise.
4817 * include/jawt_md.h: Likewise.
4818 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4820 * jni/classpath/classpath_jawt.h: Likewise.
4821 * jni/gtk-peer/gtk_jawt.c: Likewise.
4822 * Makefile.am: Build libjawt.so.
4824 2005-02-15 Michael Koch <konqueror@gmx.de>
4826 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4827 Merged file header with classpath CVS head.
4828 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4829 Merged code formatting with classpath CVS head.
4830 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4832 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4833 Handle special JNI strings with 2 '\0' at the end.
4834 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4835 Merged file header with classpath CVS head.
4836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4837 Merged code formatting with classpath CVS head.
4839 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4841 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4842 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4843 (handle_response): Use GTK_RESPONSE_ACCEPT.
4845 2005-02-15 Graydon Hoare <graydon@redhat.com>
4847 * Makefile.am: Fix library build breakage.
4848 * Makefile.in: Regenerate.
4850 2005-02-15 Michael Koch <konqueror@gmx.de>
4852 * javax/swing/JTabbedPane.java
4853 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4855 2005-02-15 Michael Koch <konqueror@gmx.de>
4857 * javax/swing/tree/DefaultMutableTreeNode.java:
4858 Reworked Javadocs all over.
4859 (getPathToRoot): Fixed direction of result array initialization.
4861 2005-02-15 Michael Koch <konqueror@gmx.de>
4863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4864 Fix includes for cairo 0.3.0 snappshot.
4865 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4866 Merged file header from classpath CVS HEAD.
4868 2005-02-15 Craig Black <craig.black@aonix.com>
4870 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4871 (copyState): Pass a JNI global reference to signal handler.
4872 (realize_cb): Use and free JNI global reference.
4873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4874 (create): Pass a JNI global reference to signal handler.
4875 (selection_changed): Match declaration.
4876 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4877 (dispose): Do not remove entries from state tables until after widget is
4880 2005-02-15 Michael Koch <konqueror@gmx.de>
4882 * java/awt/Container.javai (paramString):
4883 If layoutMgr is null just return result of super.paramString().
4884 * java/awt/Scrollbar.java: Reformatted.
4885 * java/awt/im/InputContext.java (static):
4886 Removed redundant initializations.
4888 2005-02-15 Michael Koch <konqueror@gmx.de>
4890 * javax/swing/ImageIcon.java,
4891 javax/swing/UIManager.java,
4892 javax/swing/text/EditorKit.java,
4893 javax/swing/text/Segment.java:
4894 More whitespace cleanups.
4896 2005-02-15 Michael Koch <konqueror@gmx.de>
4898 * gnu/java/awt/EmbeddedWindow.java,
4899 gnu/java/awt/image/ImageDecoder.java,
4900 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4901 java/awt/DefaultKeyboardFocusManager.java,
4902 java/awt/Frame.java,
4903 java/awt/image/RGBImageFilter.java,
4904 javax/swing/AbstractButton.java,
4905 javax/swing/ActionMap.java,
4906 javax/swing/ComponentInputMap.java,
4907 javax/swing/DefaultDesktopManager.java,
4908 javax/swing/ImageIcon.java,
4909 javax/swing/InputMap.java,
4910 javax/swing/JButton.java,
4911 javax/swing/JCheckBox.java,
4912 javax/swing/JCheckBoxMenuItem.java,
4913 javax/swing/JEditorPane.java,
4914 javax/swing/JMenu.java,
4915 javax/swing/JMenuItem.java,
4916 javax/swing/JOptionPane.java,
4917 javax/swing/JRootPane.java,
4918 javax/swing/JTable.java,
4919 javax/swing/MenuSelectionManager.java,
4920 javax/swing/RepaintManager.java,
4921 javax/swing/ScrollPaneLayout.java,
4922 javax/swing/SortingFocusTraversalPolicy.java,
4923 javax/swing/UIManager.java,
4924 javax/swing/ViewportLayout.java,
4925 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4926 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4927 javax/swing/plaf/basic/BasicLabelUI.java,
4928 javax/swing/plaf/basic/BasicListUI.java,
4929 javax/swing/plaf/basic/BasicMenuItemUI.java,
4930 javax/swing/plaf/basic/BasicMenuUI.java,
4931 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4932 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4933 javax/swing/plaf/basic/BasicRootPaneUI.java,
4934 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4935 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4936 javax/swing/plaf/basic/BasicTextUI.java,
4937 javax/swing/table/TableColumnModel.java,
4938 javax/swing/text/AbstractDocument.java,
4939 javax/swing/text/EditorKit.java,
4940 javax/swing/text/Position.java,
4941 javax/swing/text/Segment.java,
4942 javax/swing/text/StyledEditorKit.java,
4943 javax/swing/text/ViewFactory.java:
4944 Cleanup whitespace differences to classpath CVS HEAD.
4946 2005-02-15 Graydon Hoare <graydon@redhat.com>
4948 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4949 (finalize): Call finish from here.
4950 (produce): Not from here.
4951 * Makefile.am (gtk_c_source_files):
4952 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4953 * Makefile.in: Regenerate.
4954 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4956 (cairoDrawGdkTextLayout):
4958 (getPeerTextMetrics):
4959 (getPeerFontMetrics): Remove.
4960 (setFont): Don't call cairoSetFont.
4961 (cairoDrawGlyphVector): Accept font peer argument.
4962 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4964 (ensure_metrics_cairo):
4965 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4966 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4967 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4968 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4970 (metrics_surface): Remove.
4971 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4972 Pass and install font peer.
4974 2005-02-15 Graydon Hoare <graydon@redhat.com>
4976 * Makefile.am: Create "split library" structure.
4977 * Makefile.in: Regenerate.
4979 2005-02-15 Graydon Hoare <graydon@redhat.com>
4981 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4983 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4985 Release GDK lock during upcalls.
4987 2005-02-15 Graydon Hoare <graydon@redhat.com>
4989 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4991 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4992 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4993 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4994 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4995 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4998 (getTextMetrics): New native methods.
4999 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5000 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5001 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5002 * Makefile.in: Regenerate.
5004 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5006 * javax/swing/SwingUtilities.java:
5007 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5008 Implemented and documented.
5009 (getAccessibleChild(java.awt.Component, int)): Likewise.
5010 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5011 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5012 (getAccessibleStateSet(java.awt.Component)): Likewise.
5014 2005-02-15 Michael Koch <konqueror@gmx.de>
5016 * javax/swing/SwingUtilities.java
5017 (getFontMetrics): Removed.
5019 2005-02-15 Michael Koch <konqueror@gmx.de>
5021 * java/awt/Container.java
5022 (paramString): Implemented.
5023 * javax/swing/AbstractButton.java
5024 (paramString): Implemented.
5025 * javax/swing/JComponent.java
5026 (paramString): Implemented.
5027 * javax/swing/JMenu.java
5028 (paramString): Implemented.
5029 * javax/swing/JMenuBar.java
5030 (paramString): Implemented.
5031 * javax/swing/JMenuItem.java
5032 (paramString): Implemented.
5033 * javax/swing/JPopupMenu.java
5034 (paramString): Implemented.
5036 2005-02-15 Michael Koch <konqueror@gmx.de>
5038 * javax/swing/JMenu.java
5039 (uiClassID): Removed.
5040 (JMenu): Set invoker on popup menu.
5041 (getUIClassID): Return id directly.
5042 (getItemCount): Simply return getMenuComponentCount().
5044 (isTopLevelMenu): Simplified.
5045 * javax/swing/JMenuItem.java
5046 (uiClassID): Removed.
5047 (getUIClassID): Return id directly.
5048 * javax/swing/JPopupMenu.java
5049 (uiClassID): Removed.
5050 (JPopupMenu): Always initialize correctly.
5051 (getSubElements): Only return components implementing MenuElement
5053 (HeavyWeightPopup.hide): Removed.
5055 2005-02-15 Michael Koch <konqueror@gmx.de>
5057 * java/awt/image/ReplicateScaleFilter.java
5058 (replicatePixels): Made private.
5059 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5060 (DefaultRGBChooserPanel): Made package private.
5061 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5062 (RecentSwatchPanel): Likewise.
5063 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5064 (MouseInputAdapter): Made abstract.
5065 * javax/swing/tree/DefaultMutableTreeNode.java
5067 (growTree): Likewise.
5069 2005-02-15 Michael Koch <konqueror@gmx.de>
5071 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5074 2005-02-15 Michael Koch <konqueror@gmx.de>
5076 * javax/swing/JComponent.java (getComponentGraphics):
5077 Removed accidently commited code.
5079 2005-02-15 Graydon Hoare <graydon@redhat.com>
5081 * java/awt/dnd/DropTarget.java
5082 (addDropTargetListener): Despite documentation, do not throw.
5083 * javax/swing/JComponent.java: Set a default DropTarget.
5085 2005-02-15 Michael Koch <konqueror@gmx.de>
5087 * javax/swing/AbstractAction.java
5088 (ENABLED_PROPERTY): Removed.
5089 (setEnabled): Replaced constant with real string.
5090 * javax/swing/AbstractButton.java
5091 (createActionPropertyChangeListener.propertyChange): Likewise.
5092 * javax/swing/JComboBox.java
5093 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5094 (EDITABLE_CHANGED_PROPERTY): Removed.
5095 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5096 (ENABLED_CHANGED_PROPERTY):Likewise.
5097 (RENDERER_CHANGED_PROPERTY):Likewise.
5098 (EDITOR_CHANGED_PROPERTY):Likewise.
5099 (MODEL_CHANGED_PROPERTY):Likewise.
5100 (uiClassID):Likewise.
5101 (getUIClassID): Replaced constant with real string.
5102 (setModel):Likewise.
5103 (setEditable):Likewise.
5104 (setMaximumRowCount):Likewise.
5105 (setRenderer):Likewise.
5106 (setEditor):Likewise.
5107 (setEnabled):Likewise.
5108 * javax/swing/JLabel.java
5109 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5110 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5111 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5112 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5113 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5114 (ICON_CHANGED_PROPERTY): Likewise.
5115 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5116 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5117 (TEXT_CHANGED_PROPERTY): Likewise.
5118 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5119 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5120 (setText): Replaced constant with real string.
5121 (setIcon): Likewise.
5122 (setDisabledIcon): Likewise.
5123 (setDisplayedMnemonic): Likewise.
5124 (setIconTextGap): Likewise.
5125 (setVerticalAlignment): Likewise.
5126 (setHorizontalAlignment): Likewise.
5127 (setVerticalTextPosition): Likewise.
5128 (setHorizontalTextPosition): Likewise.
5129 (setLabelFor): Replaced constant with real string.
5130 Fire property change event after property got changed.
5131 * javax/swing/JList.java
5132 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5133 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5134 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5135 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5136 (MODEL_PROPERTY_CHANGED): Likewise.
5137 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5138 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5139 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5140 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5141 (setFixedCellWidth): Reimplemented.
5142 (setFixedCellHeight): Exit if new value is identical.
5143 Replaced constant with real string.
5144 (setSelectionBackground): Likewise.
5145 (setSelectionForeground): Likewise.
5146 (setPrototypeCellValue): Likewise.
5147 (setCellRenderer): Replaced constant with real string.
5148 (setModel): Likewise.
5149 (setSelectionModel): Likewise.
5150 * javax/swing/JMenuBar.java
5151 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5152 (MODEL_CHANGED_PROPERTY): Likewise.
5153 (MARGIN_CHANGED_PROPERTY): Likewise.
5154 (setBorderPainted): Reimplemented.
5155 (setMargin): Likewise.
5156 (setSelectionModel): Replaced constant with real string.
5157 * javax/swing/JPopupMenu.java
5158 (LABEL_CHANGED_PROPERTY): Removed.
5159 (VISIBLE_CHANGED_PROPERTY): Likewise.
5160 (borderPainted): Likewise.
5161 (setLabel): Replaced constant with real string.
5162 (setVisible): Exit if new value is identical.
5163 Replaced constant with real string.
5164 * javax/swing/JProgressBar.java
5165 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5166 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5167 (STRING_CHANGED_PROPERTY): Likewise.
5168 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5169 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5170 (setOrientation): Replaced constant with real string.
5171 (setStringPainted): Likewise.
5172 (setString): Likewise.
5173 (setBorderPainted): Likewise.
5174 (setIndeterminate): Likewise.
5175 * javax/swing/JScrollBar.java
5176 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5177 (MODEL_CHANGED_PROPERTY): Likewise.
5178 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5179 (setOrientation): Replaced constant with real string.
5180 (setModel): Likewise.
5181 (setUnitIncrement): Likewise.
5182 (setBlockIncrement): Likewise.
5183 * javax/swing/JScrollPane.java
5184 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5185 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5186 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5187 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5188 (LAYOUT_CHANGED_PROPERTY): Likewise.
5189 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5190 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5191 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5192 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5193 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5194 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5195 (setComponentOrientation): Replaced constant with real string.
5196 (setColumnHeader): Likewise.
5197 (setHorizontalScrollBar): Likewise.
5198 (setHorizontalScrollBarPolicy): Likewise.
5199 (setRowHeader): Likewise.
5200 (setVerticalScrollBar): Likewise.
5201 (setVerticalScrollBarPolicy): Likewise.
5202 (setWheelScrollingEnabled): Likewise.
5203 (setViewport): Likewise.
5204 (setViewportBorder): Likewise.
5205 * javax/swing/JSlider.java
5206 (INVERTED_CHANGED_PROPERTY): Removed.
5207 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5208 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5209 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5210 (MODEL_CHANGED_PROPERTY): Likewise.
5211 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5212 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5213 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5214 (setModel): Replaced constant with real string.
5215 (setOrientation): Likewise.
5216 (setLabelTable): Likewise.
5217 (setInverted): Likewise.
5218 (setMajorTickSpacing): Likewise.
5219 (setMinorTickSpacing): Likewise.
5220 (setPaintTicks): Likewise.
5221 (setPaintLabels): Likewise.
5222 * javax/swing/JTabbedPane.java
5223 (MODEL_CHANGED_PROPERTY): Removed.
5224 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5225 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5226 (setModel): Replaced constant with real string.
5227 (setTabPlacement): Likewise.
5228 (setTabLayoutPolicy): Likewise.
5229 * javax/swing/JToolBar.java
5230 (ORIENTATION_CHANGED_PROPERTY): Removed.
5231 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5232 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5233 (MARGIN_CHANGED_PROPERTY): Likewise.
5234 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5235 (setRollover): Replaced constant with real string.
5236 (setMargin): Likewise.
5237 (setBorderPainted): Likewise.
5238 (setFloatable): Likewise.
5239 (setOrientation): Likewise.
5240 * javax/swing/plaf/basic/BasicComboBoxUI.java
5241 (PropertyChangeHandler.propertyChange): Likewise.
5242 * javax/swing/plaf/basic/BasicComboPopup.java
5243 (PropertyChangeHandler.propertyChange): Likewise.
5244 * javax/swing/plaf/basic/BasicMenuBarUI.java
5245 (PropertyChangeHandler.propertyChange): Likewise.
5246 * javax/swing/plaf/basic/BasicProgressBarUI.java
5247 (PropertyChangeHandler.propertyChange): Likewise.
5248 * javax/swing/plaf/basic/BasicScrollBarUI.java
5249 (PropertyChangeHandler.propertyChange): Likewise.
5250 * javax/swing/plaf/basic/BasicSliderUI.java
5251 (PropertyChangeHandler.propertyChange): Likewise.
5252 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5253 (PropertyChangeHandler.propertyChange): Likewise.
5254 * javax/swing/plaf/basic/BasicToolBarUI.java
5255 (PropertyChangeHandler.propertyChange): Likewise.
5257 2005-02-15 Michael Koch <konqueror@gmx.de>
5259 * javax/swing/DefaultButtonModel.java
5260 (changeState): Made private.
5261 * javax/swing/DefaultDesktopManager.java
5262 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5263 * javax/swing/JLayeredPane.java
5264 (layerToRange): Made private.
5265 (incrLayer): Likewise.
5266 (decrLayer): Likewise.
5267 * javax/swing/JTable.java
5268 (dragEnabled): Likewise.
5269 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5270 * javax/swing/KeyStroke.java
5271 (Keystroke): Made private.
5272 * javax/swing/TransferHandler.java
5273 (COMMAND_COPY): Likewise.
5274 (COMMAND_CUT): Likewise.
5275 (COMMAND_PASTE): Likewise.
5277 2005-02-15 Michael Koch <konqueror@gmx.de>
5279 * javax/swing/JTextField.java
5280 (postActionEvent): Use text in field when actionCommand is null.
5281 (getActionCommand): Removed.
5283 2005-02-15 Michael Koch <konqueror@gmx.de>
5285 * javax/swing/AbstractSet.java: Removed.
5286 * Makefile.am: Removed javax/swing/AbstractSet.java.
5287 * Makefile.in: Regenerated.
5289 2005-02-15 Michael Koch <konqueror@gmx.de>
5291 * java/awt/Window.java
5292 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5293 * java/awt/dnd/DnDConstants.java
5294 (DnDConstants): New private constructor.
5296 2005-02-15 Michael Koch <konqueror@gmx.de>
5298 * javax/swing/DefaultCellRenderer.java: Removed.
5299 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5300 * Makefile.in: Regenerated.
5302 2005-02-15 Michael Koch <konqueror@gmx.de>
5304 * javax/swing/AbstractButton.java
5305 (fireItemStateChanged): Made protected.
5306 (fireActionPerformed): Likewise.
5307 (fireStateChanged): Likewise.
5308 * javax/swing/DefaultButtonModel.java
5309 (fireItemStateChanged): Likewise.
5310 (fireActionPerformed): Likewise.
5311 (fireStateChanged): Likewise.
5312 * javax/swing/JApplet.java
5314 (frameInit): Likewise.
5315 (setRootPane): Made protected.
5316 (createRootPane): Likewise.
5317 * javax/swing/JComponent.java
5318 (getClientProperty): Likewise.
5319 (putClientProperty): Likewise.
5320 * javax/swing/JEditorPane.java
5321 (getContentType): Likewise.
5322 (setContentType): Likewise.
5323 * javax/swing/JFrame.java
5324 (setRootPane): Likewise.
5325 (createRootPane): Likewise.
5326 * javax/swing/JInternalFrame.java
5327 (getFocusCycleRootAncestor): Made final. Added @since tag.
5328 (isFocusCycleRoot): Likewise.
5329 (getWarningString): Made final.
5330 * javax/swing/JScrollBar.java
5331 (changeListener): Removed.
5332 (changeEvent): Likewise.
5333 (createChangeListener): Likewise.
5334 (fireStateChanged): Likewise.
5335 (addChangeListener): Likewise.
5336 (removeChangeListener): Likewise.
5337 (getChangeListeners): Likewise.
5338 * javax/swing/JScrollPane.java
5339 (createViewport): Made protected.
5340 * javax/swing/JViewport.java
5341 (addImpl): Likewise.
5342 (setBorder): New method.
5343 * javax/swing/JWindow.java
5344 (setRootPane): Made protected.
5345 (createRootPane): Likewise.
5346 * javax/swing/plaf/basic/BasicButtonUI.java
5347 (installListeners): Likewise.
5348 (uninstallListeners): Likewise.
5349 * javax/swing/plaf/basic/BasicProgressBarUI.java
5350 (incrementAnimationIndex): Likewise.
5351 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5352 (createLayoutManager): Likewise.
5353 * javax/swing/table/DefaultTableCellRenderer.java
5354 (firePropertyChange): Likewise.
5355 * javax/swing/table/JTableHeader.java
5356 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5358 * javax/swing/text/PlainDocument.java
5359 (reindex): Made private.
5360 * javax/swing/text/PlainView.java
5361 (drawLine): Made protected.
5362 (getTabSize): Likewise.
5363 * javax/swing/text/View.java
5365 (preferenceChanged): New method.
5366 (getBreakWeight): Likewise.
5367 (breakView): Likewise.
5368 (getViewIndex): Likewise.
5370 2005-02-15 Michael Koch <konqueror@gmx.de>
5372 * javax/swing/JScrollPane.java
5373 (ScrollBar): Made class protected.
5374 * javax/swing/JSpinner.java
5375 (JSpinner): Added @since tag.
5376 (listenerList): Removed.
5377 * javax/swing/JTable.java
5378 (setValueAt): New method.
5379 (getColumn): Likewise.
5380 * javax/swing/JWindow.java
5381 (rootPaneCheckingEnabled): Renamed from checking.
5383 2005-02-15 Michael Koch <konqueror@gmx.de>
5385 * javax/swing/plaf/basic/BasicTextUI.java
5386 (RootView.modelToView): Made it public and return a java.awt.Shape.
5387 Handle null subview.
5388 (uninstall): Set textComponent to null when its not possible used
5390 * javax/swing/text/View.java
5391 (setParent): Use better argument name.
5392 (getContainer): Get parent via getParent().
5393 (getViewFactory): Likewise.
5394 (getAttributes): Get element via getElement().
5395 (getStartOffset): Likewise.
5396 (getEndOffset): Likewise.
5397 (getResizeWeight): New method.
5398 (getMaximumSpan): Likewise.
5399 (getMinimumSpan): Likewise.
5400 (setSize): Likewise.
5401 (getGraphics): Likewise.
5403 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5405 * java/awt/Checkbox.java:
5406 (AccessibleAWTCheckbox()): Added public constructor
5408 * java/awt/Choice.java:
5409 (AccessibleAWTChoice): Added class documentation.
5410 (AccessibleAWTChoice()): Added public constructor
5412 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5413 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5414 and changed role to COMBO_BOX.
5415 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5416 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5417 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5419 2005-02-15 Graydon Hoare <graydon@redhat.com>
5420 Michael Koch <konqueror@gmx.de>
5422 * javax/swing/LayoutFocusTraversalPolicy.java,
5423 javax/swing/SortingFocusTraversalPolicy.java:
5425 * Makefile.am: Added new classes.
5426 * Makefike.in: Regenerated.
5429 2005-02-15 Michael Koch <konqueror@gmx.de>
5431 * javax/swing/DebugGraphics.java: Mostly implemented.
5433 2005-02-15 Michael Koch <konqueror@gmx.de>
5435 * javax/swing/SwingUtilities.java
5436 (findFocusOwner): New method.
5438 2005-02-15 Michael Koch <konqueror@gmx.de>
5440 * javax/swing/text/DefaultEditorKit.java
5441 (read): Added '\n' after each line.
5442 * javax/swing/text/PlainView.java
5443 (modelToView): Update metrics.
5444 (drawLine): Use offsets from element.
5445 (paint): Update metrics. Draw all lines.
5447 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5449 * java/awt/Checkbox.java:
5450 (AccessibleAWTCheckbox): Added class documentation
5451 * java/awt/Scrollbar.java:
5452 (AccessibleAWTScrollBar): typo corrected and docs added
5453 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5454 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5455 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5456 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5457 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5458 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5459 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5460 (getAccessibleContext()): name of accessible class corrected
5462 2005-02-15 Mark Wielaard <mark@klomp.org>
5464 * java/awt/BasicStroke.java (hashCode): Implement.
5467 2005-02-15 Michael Koch <konqueror@gmx.de>
5469 * java/awt/print/PrinterJob.java
5470 (pageDialog): Throws java.awt.HeadlessException.
5471 (printDialog): Likewise.
5473 2005-02-15 Mark Wielaard <mark@klomp.org>
5475 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5477 2005-02-15 Michael Koch <konqueror@gmx.de>
5479 * javax/swing/JTable.java
5480 (getValueAt): New method.
5481 * javax/swing/table/JTableHeader.java
5482 (columnAtPoint): New method.
5484 2005-02-15 Michael Koch <konqueror@gmx.de>
5486 * javax/swing/JTextField.java
5487 (actions): New field.
5488 (static): Initalize actions field.
5489 (getActions): New method.
5491 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5493 * java/awt/Checkbox.java:
5494 (AccessibleAWTCheckbox): name capitalization corrected
5495 and serialization UID added.
5496 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5498 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5499 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5500 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5501 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5502 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5503 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5504 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5505 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5506 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5507 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5508 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5510 (getAccessibleContext()): name of accessible class corrected
5512 2005-02-15 Sven de Marothy <sven@physto.se>
5514 * java/awt/geom/doc-files/Area-1.png,
5515 java/awt/geom/doc-files/Ellipse-1.png,
5516 java/awt/geom/doc-files/GeneralPath-1.png:
5519 2005-02-15 Graydon Hoare <graydon@redhat.com>
5521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5522 Use union to avoid type-punning warning.
5524 2005-02-15 Michael Koch <konqueror@gmx.de>
5526 * javax/swing/DefaultListSelectionModel.java
5527 (clone): New method.
5529 2005-02-15 Mark Wielaard <mark@klomp.org>
5531 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5532 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5533 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5534 Correct method signature of gtkSetFilename.
5536 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5538 * javax/swing/text/StringContent.java: New file.
5540 2005-02-15 Michael Koch <konqueror@gmx.de>
5542 * Makefile.am: Added javax/swing/text/StringContent.java.
5543 * Makefile.in: Regenerated.
5545 2005-02-15 Michael Koch <konqueror@gmx.de>
5547 * gnu/java/awt/ClasspathToolkit.java:
5548 Import statements reworked.
5549 (imageCache): Made it of type java.util.HashMap.
5551 2005-02-15 Michael Koch <konqueror@gmx.de>
5553 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5554 Reworked import statements.
5556 2005-02-15 Graydon Hoare <graydon@redhat.com>
5558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5559 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5564 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5566 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5567 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5569 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5570 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5572 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5573 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5574 Rewrite uses of extern variable to be function calls.
5575 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5576 function, from extern variable.
5577 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5578 (gdk_env): Remove variable, add new function.
5579 (java_vm): Add new variable.
5580 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5581 java_vm rather than old gdk_env variable.
5583 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5585 * javax/swing/DefaultListModel.java
5586 (add): fire correct event,
5587 (addElement): corrected interval indices in event,
5588 (clear): corrected upper bound for interval, only fire event if
5590 (setSize): fire appropriate event.
5592 2005-02-15 Graydon Hoare <graydon@redhat.com>
5594 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5595 * gnu/awt/xlib/XToolkit.java: Likewise.
5596 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5597 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5598 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5599 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5600 * java/awt/EventQueue.java (getNextEvent):
5601 Adjust event loop to switch to native mode after 100ms.
5602 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5603 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5604 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5605 Wake up event thread.
5606 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5607 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5608 Adjust event loop to switch to java mode after 100ms.
5610 2005-02-15 Graydon Hoare <graydon@redhat.com>
5612 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5613 accidentally removed in last change.
5615 2005-02-15 Michael Koch <konqueror@gmx.de>
5617 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5618 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5620 2005-02-15 Graydon Hoare <graydon@redhat.com>
5622 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5623 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5624 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5625 * jni.cc: Reuse bottom frame between calls, avoid clearing
5626 frame when no local references are made.
5628 2005-02-15 Michael Koch <konqueror@gmx.de>
5630 * javax/swing/UIDefaults.java (UIDefaults):
5631 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5632 Fixed HTML entity and removed a redundant comma.
5634 2005-02-15 Michael Koch <konqueror@gmx.de>
5636 * javax/swing/text/DefaultEditorKit.java
5637 (deinstall): Removed.
5638 (install): Likewise.
5640 2005-02-15 Michael Koch <konqueror@gmx.de>
5642 * javax/swing/UIDefaults.java (put): Handle value of null.
5644 2005-02-15 Michael Koch <konqueror@gmx.de>
5646 * java/awt/Robot.java,
5647 java/awt/Scrollbar.java,
5648 java/awt/print/PrinterJob.java,
5649 javax/swing/JTable.java,
5650 javax/swing/text/AbstractDocument.java:
5651 Reworked import statements.
5653 2005-02-15 Michael Koch <konqueror@gmx.de>
5655 * javax/swing/JEditorPane.java
5656 (read): Implemented.
5658 * javax/swing/text/DefaultEditorKit.java
5659 (page): Renamed from page_url. Made private.
5660 (editorKit): Renamed from kit. Made private.
5662 (JEditorPane): All constructors reimplemented.
5663 (getContentType): Use content type from editor kit.
5664 (getEditorKit): Return editorKit.
5665 (getEditorKitForContentType):Likewise.
5666 (getPage): Return page.
5667 (setContentType): Reimplemented.
5668 (setEditorKit): Likewise.
5669 (setEditorKitForContentType): Removed wrong implementation.
5670 (setPage): Implemented.
5672 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5675 (nativeSetIconImageFromData): Re-add native implementation.
5677 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5679 * javax/swing/table/DefaultTableModel.java
5680 (DefaultTableModel()): Added Javadocs.
5681 (DefaultTableModel(int, int)): Fixed implementation.
5682 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5683 for negative rowCount.
5684 (DefaultTableModel(Object[], int)): Added Javadocs.
5685 (DefaultTableModel(Vector, Vector)): Likewise.
5686 (DefaultTableModel(Object[][], Object[])): Likewise.
5687 (getDataVector): Likewise.
5688 (setDataVector(Vector, Vector)): Likewise.
5689 (setDataVector(Object[][], Object[])): Likewise.
5690 (newDataAvailable): Likewise.
5691 (newRowsAdded): Likewise.
5692 (rowsRemoved): Likewise.
5693 (setColumnIdentifiers(Vector)): Allow for null argument.
5694 (setColumnIdentifiers(Object[])): Added Javadocs.
5695 (setNumRows): Likewise.
5696 (setRowCount): Adds new rows if necessary, and sends more specific
5698 (setColumnCount): Allow for null columnIdentifiers.
5699 (addColumn(Object)): Added Javadocs.
5700 (addColumn(Object, Vector)): Handle null columnData.
5701 (addColumn(Object, Object[])): Handle columnData with more or less
5702 entries than rows in the table.
5703 (addRow(Vector)): Fire appropriate event.
5704 (addRow(Object[])): Added Javadocs.
5705 (insertRow(int, Vector)): Fire appropriate event.
5706 (insertRow(int, Object[])): Added Javadocs.
5707 (moveRow): Reimplemented.
5708 (removeRow(int)): Fire appropriate event.
5709 (getColumnCount): Allow for null columnIdentifiers.
5710 (getColumnName): Now returns empty string when column index is too
5712 (isCellEditable): Added Javadocs.
5713 (getValueAt): Likewise.
5714 (setValueAt): Fire more specific event.
5715 (convertToVector): Added Javadocs.
5716 * javax/swing/table/TableModel.java
5719 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5721 * libgcj.spec.in (lib): Add -l-javax-imageio.
5723 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5725 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5726 references to event queue q with method call q().
5727 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5728 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5729 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5730 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5731 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5732 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5735 2005-02-15 Graydon Hoare <graydon@redhat.com>
5737 * gnu/java/awt/ClasspathToolkit.java
5738 (registerImageIOSpis): New method.
5739 * gnu/java/awt/image/ImageDecoder.java
5740 (imageDecoder): New constructor using InputStream
5741 (startProduction): Handle existing InputStream.
5742 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5743 (findSimpleIntegerArray): Make public and static.
5744 (updateBufferedImage): Set each pixel, in a loop.
5745 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5746 Implement ImageIO SPI classes.
5747 (createBufferedImage): Rewrite in terms of SPI classes.
5748 * gnu/java/awt/peer/gtk/GtkToolkit.java
5749 (registerImageIOSpis): New method.
5750 * java/lang/reflect/natMethod.cc
5751 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5752 which lets JNI call interface methods properly.
5753 * javax/imageio/ImageIO.java
5754 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5755 (WriterMIMETypeFilter.filter): Likewise.
5756 (ImageReaderIterator): Pass extension argument through to SPI.
5757 (getReadersByFilter): Likewise.
5758 (getWritersByFilter): Likewise.
5759 (getImageReadersByFormatName): Likewise.
5760 (getImageReadersByMIMEType): Likewise.
5761 (getImageReadersBySuffix): Likewise.
5762 (getImageWritersByFormatName): Likewise.
5763 (getImageWritersByMIMEType): Likewise.
5764 (getImageWritersBySuffix): Likewise.
5767 * javax/imageio/ImageReader.java
5768 (progressListeners): Initialize.
5769 (setInput): Implement.
5770 * javax/imageio/ImageWriter.java
5771 (progressListeners): Initialize.
5772 (warningListeners): Likewise.
5773 (warningLocales): Likewise.
5774 (setOutput): Test "isInstance" rather than class equality.
5775 * javax/imageio/spi/IIORegistry.java
5776 (static): Add reader and writer SPIs.
5777 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5779 (query_formats): New function.
5780 (save_to_stream): Likewise.
5781 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5783 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5787 (keyPress): Likewise.
5788 (keyRelease): Likewise.
5790 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5792 * javax/swing/JTable.java
5793 (columnAtPoint): New Method. Implemented.
5794 (rowAtPoint): Likewise.
5795 (countSelections): Fixed few small count errors.
5796 (getSelections): Likewise.
5797 (setSelectionMode): Set selection mode for column
5798 selection model in addition to row selection model.
5799 * javax/swing/plaf/basic/BasicTableUI.java:
5800 (getRowForPoint): Removed. Replaced by
5801 JTable.rowAtPoint().
5802 (getColForPoint): Removed. Replaced by
5803 JTable.columnAtPoint().
5804 (updateSelection): Updated to call JTable.columnAtPoint
5805 and JTable.rowAtPoint.
5806 * javax/swing/table/DefaultTableColumnModel.java:
5807 (getSelectedColumns): Implemented.
5808 (getSelectedColumnCount): Implemented.
5810 2005-02-15 Graydon Hoare <graydon@redhat.com>
5813 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5814 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5815 * Makefile.in: Regenerate.
5816 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5817 * gnu/awt/xlib/XFramePeer.java: Likewise.
5818 * gnu/awt/xlib/XToolkit.java: Likewise.
5819 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5820 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5821 * gnu/java/awt/ClasspathToolkit.java
5824 (iterateNativeQueue): New methods.
5825 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5826 * gnu/java/awt/peer/gtk/GtkToolkit.java
5827 (gtkInit): Absorb from defunct GtkMainThread class.
5828 (static): Run gtkInit in static startup block.
5829 (GtkToolkit): Remove construction of GtkMainThread and queue.
5830 (getSystemEventQueueImpl): Construct queue when requested.
5833 (iterateNativeQueue): New methods.
5834 * java/awt/Component.java (removeNotify): Remove race.
5835 * java/awt/EventDispatchThread.java
5836 (EventDispatchThread): Don't start on construction.
5837 (run): Remove isInterrupted check.
5838 * java/awt/EventQueue.java (shutdown): New flag.
5839 (isShutdown): New method checking J2SE shutdown condition.
5840 (setShutdown): New method.
5841 (getNextEvent): Restructure to use ClasspathToolkit.
5842 (postEvent): Activate new thread on posting, wake thread on
5843 post of possible shutdown condition event.
5844 * java/awt/Frame.java
5845 (Frame): Call noteFrame in all constructors.
5846 (fireDummyEvent): New helper method.
5847 (addNotify): Fire a dummy event to wake up queue.
5848 (removeNotify): Fire a dummy event to wake up queue.
5849 (noteFrame): New method.
5850 (weakFrames): New static field.
5851 (getFrames): Implement.
5852 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5855 Move everything from GtkMainThread into this file
5856 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5857 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5858 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5859 New functions to implement single-threaded queue semantics.
5861 2005-02-15 Michael Koch <konqueror@gmx.de>
5863 * javax/swing/plaf/metal/MetalLookAndFeel.java
5864 (getControlTextFont): New method.
5865 (getMenuTextFont): Likewise.
5866 (getSubTextFont): Likewise.
5867 (getSystemTextFont): Likewise.
5868 (getUserTextFont): Likewise.
5869 (getWindowTitleFont): Likewise.
5871 2005-02-15 Michael Koch <konqueror@gmx.de>
5873 * javax/swing/text/AbstractDocument.java
5874 (documentFilter): New field.
5875 (getDocumentFilter): New method.
5876 (setDocumentFilter): Likewise.
5879 2005-02-15 Michael Koch <konqueror@gmx.de>
5881 * javax/swing/JTree.java
5882 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5884 2005-02-15 Michael Koch <konqueror@gmx.de>
5886 * javax/swing/text/AbstractDocument.java
5887 (AbstractElement.getLength): Fixed off-by-one error.
5888 (AbstractElement.children): Made abstract.
5889 (AbstractElement.getAllowsChildren): Likewise.
5890 (AbstractElement.getElement): Likewise.
5891 (AbstractElement.dumpElement): New private method.
5892 (AbstractElement.dump): New method.
5893 (BranchElememt.getName): Fixed implementation.
5894 (BranchElememt.toString): Likewise.
5895 (BranchElememt.getElement): Fixed arguments.
5896 (LeafElement.getName): Fixed implementation.
5897 (LeafElement.toString): Likewise.
5898 * javax/swing/text/GapContent.java
5899 (GapContent): Put default content into buffer.
5900 * javax/swing/text/PlainDocument.java
5901 (reindex): Use empty attribute sets instead of null.
5902 (createDefaultRoot): Reimplemented.
5903 (insertUpdate): Call super method.
5904 (removeUpdate): Likewise.
5905 (getParagraphElement): Implemented.
5907 2005-02-15 Michael Koch <konqueror@gmx.de>
5909 * gnu/java/awt/ClasspathToolkit.java
5910 (createRobot): Throws java.awt.AWTException.
5911 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5912 Added '__attribute__((unused))' to all unused method arguments.
5914 2005-02-15 Michael Koch <konqueror@gmx.de>
5916 * javax/swing/DefaultBoundedRangeModel.java
5917 (fireValueChanged): Fixed off-by-one error.
5919 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5921 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5922 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5924 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5925 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5926 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5927 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5928 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5929 (getDefaultScreenDevice): Implement.
5930 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5931 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5932 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5933 * java/awt/Robot.java: Implement.
5934 * java/awt/peer/RobotPeer.java: Rename parameters.
5935 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5937 (awt_keycode_to_keysym): Make non-static.
5938 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5939 AWT_BUTTON3_MASK): Declare constants.
5940 (awt_keycode_to_keysym): Declare.
5942 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5943 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5944 and is non-empty pass its value to "make check".
5945 (test_mauve_sim): Likewise.
5947 2005-02-15 Michael Koch <konqueror@gmx.de>
5949 * javax/imageio/IIOParam.java
5950 (setSourceBands): New method.
5951 (setSourceSubsampling): Likewise.
5952 * javax/imageio/ImageReadParam.java
5953 (setDestination): Likewise.
5954 (setDestinationBands): Likewise.
5955 (setSourceProgressivePasses): Likewise.
5956 * javax/imageio/metadata/IIOInvalidTreeException.java
5957 (serialVersionUID): New static field.
5958 * javax/imageio/metadata/IIOMetadataNode.java
5959 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5960 (parent): Dont initailize with default value explicitely.
5962 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5963 (removeAttributeNode): Likewise.
5964 (removeAttributeNS): Likewise.
5965 (setAttribute): Likewise.
5966 (setAttributeNode): Likewise.
5967 (setAttributeNodeNS): Likewise.
5968 (setAttributeNS): Likewise.
5969 (appendChild): Likewise.
5970 (getNodeValue): Likewise.
5971 (insertBefore): Likewise.
5972 (removeChild): Likewise.
5973 (replaceChild): Likewise.
5974 (setPrefix): Likewise.
5976 2005-02-15 Michael Koch <konqueror@gmx.de>
5978 * javax/swing/LookAndFeel.java
5979 (getDesktopPropertyValue): New method.
5981 2005-02-15 Michael Koch <konqueror@gmx.de>
5983 * javax/swing/JTree.java
5984 (hasChildren): New instance field.
5986 2005-02-15 Michael Koch <konqueror@gmx.de>
5988 * javax/swing/JComponent.java
5989 (getToolTipText): New method.
5990 (getTitledBorderText): Likewise.
5991 (getAccessibleKeyBinding): Likewise.
5992 (getVerifyInputWhenFocusTarget): Likewise.
5993 (setVerifyInputWhenFocusTarget): Likewise.
5994 (verifyInputWhenFocusTarget): New instance field.
5996 2005-02-15 Michael Koch <konqueror@gmx.de>
5998 * javax/swing/DefaultListSelectionModel.java
5999 (fireValueChanged): New method.
6001 2005-02-15 Michael Koch <konqueror@gmx.de>
6003 * javax/swing/DefaultBoundedRangeModel.java:
6004 Fixed javadocs all over.
6005 (fireStateChanged): Simplified.
6006 * javax/swing/BoundedRangeModel.java:
6009 2005-02-15 Michael Koch <konqueror@gmx.de>
6011 * javax/swing/JRootPane.java
6012 (setMenuBar): Added @deprecated tag.
6013 (getMenuBar): Likewise.
6014 * javax/swing/JTable.java
6015 (sizeColumnsToFit): Likewise.
6017 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6019 * javax/swing/ImageIcon.java (setImage): Implemented.
6021 2005-02-15 Michael Koch <konqueror@gmx.de>
6023 * javax/swing/JTable.java:
6024 Removed unused imports.
6026 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6028 (prepareRenderer): Get column's index in dataModel instead
6029 of column's view index.
6030 (getColumnCount): return count of the columns in ColumnModel,
6032 (removeColumn): Implemented.
6033 (moveColumm): Likewise.
6034 (setRowHeight): throw IllegalArgumentException if height is
6036 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6037 (DefaultTableColumnModel):Add call to createSelectionModel().
6038 (addColumn): Fire columnAdded event to registered listeners.
6039 (removeColumn): Fire columnRemoved event to registered listeners.
6040 (moveColumn): Fire columnMoved event to registered listeners.
6041 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6042 (getColumnIndex): Changed parameter name.
6043 (setColumnSelectionAllowed): Likewise.
6044 (fireColumnAdded): Implemented.
6045 (fireColumnRemoved): Likewise.
6046 (fireColumnMoved): Likewise.
6047 (fireColumnMarginChanged): Likewise.
6048 (getListeners): Changed parameter name.
6049 (propertyChange): Implemented.
6050 (valueChanged): Changed parameter name.
6051 (createSelectionModel): Implemented.
6053 2005-02-15 Michael Koch <konqueror@gmx.de>
6055 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6056 Explicitely import used classes.
6057 (getLocalGraphicsEnvironment): Simplify.
6058 * java/awt/Window.java (Window):
6059 Enable code to get the default GraphicsConfiguration.
6061 2005-02-15 Michael Koch <konqueror@gmx.de>
6063 * javax/swing/plaf/metal/DefaultMetalTheme.java
6064 (CONTROL_TEXT_FONT): New static field.
6065 (MENU_TEXT_FONT): Likewise.
6066 (SUB_TEXT_FONT): Likewise.
6067 (SYSTEM_TEXT_FONT): Likewise.
6068 (USER_TEXT_FONT): Likewise.
6069 (WINDOW_TITLE_FONT): Likewise.
6070 (getControlTextFont): New method.
6071 (getMenuTextFont): Likewise.
6072 (getSubTextFont): Likewise.
6073 (getSystemTextFont): Likewise.
6074 (getUserTextFont): Likewise.
6075 (getWindowTitleFont): Likewise.
6076 * javax/swing/plaf/metal/MetalTheme.java
6077 (BLACK): Initialize with Color.BLACK.
6078 (WHITE): Initialize with Color.WHITE.
6079 (getInactiveControlTextColor): Return getControlDisabled().
6080 (getMenuDisabledForeground): Return getSecondary3().
6081 (getControlTextFont): New abstract method.
6082 (getMenuTextFont): Likewise.
6083 (getSubTextFont): Likewise.
6084 (getSystemTextFont): Likewise.
6085 (getUserTextFont): Likewise.
6086 (getWindowTitleFont): Likewise.
6088 2005-02-15 Michael Koch <konqueror@gmx.de>
6090 * javax/swing/JFormattedTextField.java
6091 (getFocusLostBehavior): Fixed typo in method name.
6092 (setFocusLostBehavior): Likewise.
6094 2005-02-15 Michael Koch <konqueror@gmx.de>
6096 * javax/swing/TransferHandler.java:
6097 Reworked import statements.
6099 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6101 * java/awt/Button.java,
6102 java/awt/Canvas.java,
6103 java/awt/Checkbox.java,
6104 java/awt/CheckboxMenuItem.java,
6105 java/awt/Choice.java,
6106 java/awt/Dialog.java,
6107 java/awt/Frame.java,
6108 java/awt/Label.java,
6111 java/awt/MenuBar.java,
6112 java/awt/MenuItem.java,
6113 java/awt/PopupMenu.java,
6114 java/awt/ScrollPane.java,
6115 java/awt/Scrollbar.java,
6116 java/awt/TextArea.java,
6117 java/awt/Window.java (getAccessibleContext): Clean up comments.
6119 * java/awt/Button.java,
6120 java/awt/Checkbox.java,
6121 java/awt/Choice.java,
6123 java/awt/PopupMenu.java,
6124 java/awt/TextArea.java (getAccessibleContext): Only create new
6126 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6128 2005-02-15 Michael Koch <konqueror@gmx.de>
6130 * java/awt/Button.java,
6131 javax/swing/JApplet.java,
6132 javax/swing/JFormattedTextField.java,
6133 javax/swing/JWindow.java,
6134 javax/swing/JTree.java,
6135 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6136 javax/swing/plaf/basic/BasicTextPaneUI.java,
6137 javax/swing/plaf/basic/BasicTreeUI.java:
6138 Reworked import statements.
6140 2005-02-15 Michael Koch <konqueror@gmx.de>
6142 * Makefile.am: Put javax.imageio into its own library and link it
6143 against lib-org-w3c-dom.la to fix bootstrapping.
6144 * Makefile.in: Regenerated.
6146 2005-02-15 Michael Koch <konqueror@gmx.de>
6148 * javax/swing/text/TextAction.java
6149 (getTextComponent): Simplified. Added Javadoc.
6150 (augmentList): Implemented. Added Javadoc.
6151 (getFocusedComponent): Added javadoc.
6153 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6155 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6156 getAccessibleContext): Implement.
6157 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6158 getAccessibleContext): Implement.
6160 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6162 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6164 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6166 * java/awt/Window.java (getAccessibleContext): Fix comment.
6167 Remove extra import.
6169 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6171 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6172 (isActive, isFocused, getAccessibleContext): Implement.
6174 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6176 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6177 * java/awt/MenuComponent.java (accessibleContext): Make package
6179 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6180 AccessibleAWTCheckboxMenuItem): Implement.
6182 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6184 * java/awt/List.java: Implement AccessibleAWTList,
6185 AccessibleAWTListChild.
6187 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6189 * java/awt/Choice.java: Add implements declaration for
6192 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6194 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6197 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6199 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6200 implemented interface list.
6202 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6204 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6205 * javax/imageio/metadata/IIOAttr.java: New class.
6206 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6207 * javax/imageio/metadata/IIONodeList.java: New class.
6208 * Makefile.am: Added new files.
6209 * Makefile.in: Regenerated.
6211 2005-02-15 Michael Koch <konqueror@gmx.de>
6213 * javax/swing/AbstractAction.java,
6214 javax/swing/AbstractCellEditor.java,
6215 javax/swing/AbstractListModel.java,
6216 javax/swing/DefaultBoundedRangeModel.java,
6217 javax/swing/DefaultButtonModel.java,
6218 javax/swing/DefaultCellEditor.java,
6219 javax/swing/DefaultComboBoxModel.java,
6220 javax/swing/DefaultDesktopManager.java,
6221 javax/swing/JMenu.java,
6222 javax/swing/JSlider.java,
6223 javax/swing/KeyStroke.java,
6224 javax/swing/OverlayLayout.java,
6225 javax/swing/ScrollPaneLayout.java,
6226 javax/swing/SizeRequirements.java,
6227 javax/swing/ViewportLayout.java:
6228 Made serialVersionUID private.
6230 2005-02-15 Michael Koch <konqueror@gmx.de>
6232 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6235 2005-02-15 Michael Koch <konqueror@gmx.de>
6237 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6239 2005-02-15 Michael Koch <konqueror@gmx.de>
6241 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6243 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6245 * java/awt/EventDispatchThread.java,
6246 java/awt/Toolkit.java:
6247 Don't catch java.lang.ThreadDeath.
6249 2005-02-15 Michael Koch <konqueror@gmx.de>
6251 * javax/swing/text/PasswordView.java
6252 (drawEchoCharacter): Added javadoc.
6253 (drawSelectedText): Likewise.
6254 (drawUnselectedText): Likewise.
6256 2005-02-15 Michael Koch <konqueror@gmx.de>
6258 * javax/swing/JRootPane.java
6259 (windowDecorationStyle): New field.
6260 (setMenuBar): New method.
6261 (getMenuBar): Likewise.
6262 (getWindowDecorationStyle): Likewise.
6263 (setWindowDecorationStyle): Likewise.
6265 2005-02-15 Michael Koch <konqueror@gmx.de>
6267 * javax/swing/DefaultListSelectionModel.java
6268 (leadAnchorNotificationEnabled): Made protected.
6270 2005-02-15 Michael Koch <konqueror@gmx.de>
6272 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6273 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6274 * Makefile.in: Regenerated.
6277 2005-02-15 Michael Koch <konqueror@gmx.de>
6279 * javax/swing/JFormattedTextField.java: Implemented.
6280 * javax/swing/JWindow.java
6281 (JWindow): New constructors.
6282 (initWindow): Renamed from initFrame.
6283 * javax/swing/UIDefaults.java
6284 (ActiveValue): Made interface static.
6285 (LazyValue): Likewise.
6286 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6287 (TitlePaneLayout.TitlePaneLayout): New constructor.
6288 * javax/swing/plaf/basic/BasicSliderUI.java
6289 (ChangeHandler): Made public.
6290 (FocusHandler): Likewise.
6291 (PropertyChangeHandler): Likewise.
6292 (ScrollListener): Likewise.
6293 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6294 (FocusHandler): Likewise.
6295 (MouseHandler): Likewise.
6296 * javax/swing/plaf/basic/BasicTextPaneUI.java
6297 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6298 * javax/swing/plaf/basic/BasicToolBarUI.java
6299 (BasicToolBarUI): Simplified. Reworked javadoc.
6300 (canDock): Simplified. Make public.
6301 (DockingListener): Made public.
6302 * javax/swing/text/JTextComponent.java
6303 (navigationFilter): New field.
6304 (getNavigationFilter): New method.
6305 (setNavigationFilter): Likewise.
6307 2005-02-15 Michael Koch <konqueror@gmx.de>
6309 * javax/swing/plaf/metal/MetalTheme.java
6310 (getControlTextColor): Return getControlInfo().
6311 (getHighlightedTextColor): Return getControlTextColor().
6313 2005-02-15 Michael Koch <konqueror@gmx.de>
6315 * javax/swing/plaf/basic/BasicButtonListener.java
6316 (BasicButtonListener): New constructor.
6317 * javax/swing/plaf/basic/BasicButtonUI.java
6318 (createButtonListener): Usw new BasicButtonListener constructor.
6320 2005-02-15 Michael Koch <konqueror@gmx.de>
6322 * javax/imageio/event/package.html,
6323 javax/imageio/metadata/package.html: New files.
6325 2005-02-15 Michael Koch <konqueror@gmx.de>
6327 * java/awt/image/MemoryImageSource.java: Reformatted.
6329 2005-02-15 Michael Koch <konqueror@gmx.de>
6331 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6333 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6335 * java/awt/color/ICC_Profile.java
6336 (finalize): Removed pointless field assignments.
6338 2005-02-15 Michael Koch <konqueror@gmx.de>
6340 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6341 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6342 * Makefile.in: Regenerated.
6344 2005-02-15 Michael Koch <konqueror@gmx.de>
6346 * javax/swing/text/DefaultStyledDocument.java: New file.
6347 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6348 * Makefile.in: Regenerated.
6350 2005-02-15 Michael Koch <konqueror@gmx.de>
6352 * javax/swing/JFileChooser.java
6353 (showDialog): Return CANCEL_OPTION for now.
6354 (showOpenDialog): Likewise.
6355 (showSaveDialog): Likewise.
6357 2005-02-15 Michael Koch <konqueror@gmx.de>
6359 * javax/swing/JApplet.java
6360 (HIDE_ON_CLOSE): Removed.
6361 (EXIT_ON_CLOSE): Likewise.
6362 (DISPOSE_ON_CLOSE): Likewise.
6363 (DO_NOTHING_ON_CLOSE): Likewise.
6364 (close_action): Likewise.
6365 (getDefaultCloseOperation): Likewise.
6366 (setDefaultCloseOperation): Likewise.
6367 (processWindowEvent): Likewise.
6368 (getPreferredSize): Simplified.
6369 * javax/swing/JInternalFrame.java
6370 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6372 * javax/swing/JWindow.java
6373 (HIDE_ON_CLOSE): Removed.
6374 (EXIT_ON_CLOSE): Likewise.
6375 (DISPOSE_ON_CLOSE): Likewise.
6376 (DO_NOTHING_ON_CLOSE): Likewise.
6377 (close_action): Likewise.
6378 (processKeyEvent): Likewise.
6379 (setDefaultCloseOperation): Likewise.
6380 (getPreferredSize): Simplified.
6382 2005-02-15 Michael Koch <konqueror@gmx.de>
6384 * javax/swing/JTextField.java
6385 (getPreferredSize): Re-implemented.
6387 2005-02-15 Michael Koch <konqueror@gmx.de>
6389 * javax/swing/JLabel.java
6390 (setDisplayedMnemonic): Use only upper case characters.
6391 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6392 PropertyChangeEvent after property got set to the new index.
6394 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6396 * javax/swing/JComboBox.java:
6397 (JComboBox): Removed selection of the
6398 first item in the model.
6400 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6402 * javax/swing/JComboBox.java
6403 added support for no item being selected
6404 (JComboBox): select first or nothing depending on element count
6405 (setModel): cleaned up unneeded "this." usage, added more
6406 docs, made exception behavior match that of the JDK
6407 (setLighWeightPopupEnabled): removed unneeded "this." usage
6409 (setMaximumRowCount): dito
6411 (setPrototypeDisplayValue): dito
6412 (getSelectedItem): simplified, added more user doc
6413 (setSelectedIndex): corrected exception behavior, added more user doc
6414 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6415 added performance warning to user doc
6416 (addItem): fixed exception behavior, added user doc
6417 (insertItemAt): dito
6419 (removeItemAt): dito
6420 (removeAll): fixed exception behavior, added user doc, added support
6421 for model not being instance of DefaultComboBoxModel
6422 (getSelectedItemObjects): simplified
6423 (getItemCount): fixed dependency on DefaultComboBoxModel
6424 (getItemAt): fixed dependency on MutableComboBoxModel
6425 * javax/swing/DefaultComboBoxModel.java:
6426 (setSelectedItem): updates selected item only if new
6427 value is null or known (match JDK behavior)
6428 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6429 (paintCurrentValue): renders "" if no item is selected
6431 2005-02-15 Michael Koch <konqueror@gmx.de>
6433 * javax/swing/plaf/metal/MetalTheme.java,
6434 javax/swing/plaf/metal/DefaultMetalTheme.java:
6436 * javax/swing/plaf/metal/MetalLookAndFeel.java
6437 * Makefile.am: Added the new files.
6438 * Makefile.in: Regenerated.
6440 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6442 * javax/swing/JTable.java
6443 (editorComp): New field.
6444 (JTable): Initialize local variables and call updateUI
6445 (selectionBackground): Make protected.
6446 (selectionForeground): Likewise.
6447 (initializeLocalVars): Create default editors and renderers,
6448 initialize editingColumn, editingRow variables.
6449 (createDefaultEditors): New Method.
6450 (createDefaultRenderers): Likewise.
6451 (createDefaultListSelectionModel): Removed
6452 (createDefaultSelectionModel): New Method.
6453 (createDefaultTableHeader): Likewise
6454 (removeColumn): Likewise.
6455 (getEditingColumn): Likewise.
6456 (setEditingColumn): Likewise.
6457 (getEditingRow): Likewise.
6458 (setEditingRow): Likewise.
6459 (getEditorComponent): Likewise.
6460 (isEditing): Likewise.
6461 (setDefaultEditor): Likewise.
6462 (addColumnSelectionInterval): Likewise.
6463 (addRowSelectionInterval): Likewise.
6464 (setColumnSelectionInterval): Likewise.
6465 (setRowSelectionInterval): Likewise.
6466 (removeColumnSelectionInterval): Likewise.
6467 (removeRowSelectionInterval): Likewise.
6468 (isColumnSelected): Likewise.
6469 (isRowSelected): Likewise.
6470 (isCellSelected): Likewise.
6471 (selectAll): Likewise.
6473 2005-02-15 Michael Koch <konqueror@gmx.de>
6475 * javax/swing/JTable.java
6476 (addColumn): New method.
6477 (getColumnClass): Likewise.
6478 (getColumnName): Likewise.
6480 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6482 * javax/swing/TransferHandler.java
6483 (createTransferable): Made protected.
6485 2005-02-15 Michael Koch <konqueror@gmx.de>
6487 * javax/swing/JTable.java,
6488 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6489 javax/swing/plaf/basic/BasicTableUI.java:
6490 Use fixed get/setIntercellSpacing() methods.
6492 2005-02-15 Michael Koch <konqueror@gmx.de>
6494 * javax/swing/JTable.java
6495 (getIntercellSpacing): Fixed typo in method name.
6496 (setIntercellSpacing): Likewise.
6498 2005-02-15 Michael Koch <konqueror@gmx.de>
6500 * javax/swing/text/JTextComponent.java
6501 (focusAccelerator): New variable.
6502 (getFocusAccelerator): New method.
6503 (setFocusAccelerator): Likewise.
6505 2005-02-15 Michael Koch <konqueror@gmx.de>
6507 * javax/swing/JComponent.java
6508 (setTransferHandler): Made public. Fire property change event.
6509 * javax/swing/TransferHandler.java: Implemented.
6510 * javax/swing/text/JTextComponent.java
6511 (DefaultTransferHandler): New inner class.
6512 (defaultTransferHandler): New variable.
6516 (doTransferAction): Likewise.
6518 2005-02-15 Michael Koch <konqueror@gmx.de>
6520 * javax/swing/JTree.java
6521 (collapsePath): New method.
6522 (collapseRow): Likewise.
6523 (expandPath): Likewise.
6524 (expandRow): Likewise.
6525 (checkExpandParents): Likewise.
6526 (doExpandParents): Likewise.
6527 (setExpandedState): Likewise.
6528 (makeVisible): Likewise.
6530 2005-02-15 Michael Koch <konqueror@gmx.de>
6532 * javax/swing/JPasswordField.java: Updated javadocs.
6534 2005-02-15 Michael Koch <konqueror@gmx.de>
6536 * javax/swing/JLayeredPane.java
6537 (getLayer): Fixed return type, made public.
6538 (getPosition): Use new getLayer().
6539 (SetPosition): Likewise.
6540 (getIndexOf): Likewise.
6542 * javax/swing/JInternalFrame.java
6543 (getLayer): Use new JLayeredPane.getLayer().
6546 2005-02-15 Michael Koch <konqueror@gmx.de>
6548 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6549 (setHeaderValue): Simplified. Do nothing when old value == new value.
6551 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6553 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6554 against null clip region.
6555 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6556 gtkWindowSetResizable.
6557 (postConfigureEvent): Only revalidate if frame size has changed.
6558 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6559 Only revalidate if frame size has changed.
6560 * java/awt/Component.java (reshape): Only repaint and post
6561 component events if component is showing.
6562 * java/awt/Container.java (addImpl): Only post container event if
6563 container is showing.
6565 * java/awt/Window.java (setLocationRelativeTo): Implement.
6566 (setBoundsCallback): Only post component events if component is
6568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6569 Protect against null graphics structure. Flush gdk event queue.
6571 2005-02-15 Michael Koch <konqueror@gmx.de>
6573 * javax/imageio/ImageReader.java,
6574 javax/imageio/ImageTranscoder.java,
6575 javax/imageio/ImageWriter.java,
6576 javax/imageio/spi/ImageInputStreamSpi.java,
6577 javax/imageio/spi/ImageOutputStreamSpi.java,
6578 javax/imageio/spi/ServiceRegistry.java,
6579 javax/imageio/stream/ImageInputStream.java,
6580 javax/imageio/stream/ImageOutputStream.java: Updated.
6581 * javax/imageio/IIOException.java,
6582 javax/imageio/IIOImage.java,
6583 javax/imageio/IIOParam.java,
6584 javax/imageio/IIOParamController.java,
6585 javax/imageio/ImageIO.java,
6586 javax/imageio/ImageReadParam.java,
6587 javax/imageio/ImageTypeSpecifier.java,
6588 javax/imageio/ImageWriteParam.java,
6589 javax/imageio/spi/IIORegistry.java,
6590 javax/imageio/spi/ImageReaderSpi.java,
6591 javax/imageio/spi/ImageWriterSpi.java,
6592 javax/imageio/stream/FileCacheImageInputStream.java,
6593 javax/imageio/stream/FileCacheImageOutputStream.java,
6594 javax/imageio/stream/FileImageInputStream.java,
6595 javax/imageio/stream/FileImageOutputStream.java,
6596 javax/imageio/stream/ImageInputStreamImpl.java,
6597 javax/imageio/stream/ImageOutputStreamImpl.java,
6598 javax/imageio/stream/MemoryCacheImageInputStream.java,
6599 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6600 javax/imageio/event/IIOReadProgressListener.java,
6601 javax/imageio/event/IIOReadUpdateListener.java,
6602 javax/imageio/event/IIOReadWarningListener.java,
6603 javax/imageio/event/IIOWriteProgressListener.java,
6604 javax/imageio/event/IIOWriteWarningListener.java,
6605 javax/imageio/metadata/IIOMetadata.java,
6606 javax/imageio/metadata/IIOMetadataController.java,
6607 javax/imageio/metadata/IIOMetadataFormat.java,
6608 javax/imageio/metadata/IIOInvalidTreeException.java,
6609 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6610 javax/imageio/metadata/IIOMetadataNode.java: New files.
6611 * Makefile.am (javax_source_files): Added new files
6612 * Makefile.in: Regenerated.
6614 2005-02-15 Graydon Hoare <graydon@redhat.com>
6616 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6617 Rework painting into BufferedImages
6618 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6619 Construct BufferedImage with alpha only when alpha is
6620 present in colormodel.
6621 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6622 Rework painting into client-side jint arrays.
6623 * jni/gtk-peer/gtkcairopeer.h:
6626 2005-02-15 Michael Koch <konqueror@gmx.de>
6628 * javax/swing/DefaultListCellRenderer.java
6629 (serialVersionUID): Made private.
6630 (getListCellRendererComponent): Set horizontal alignment.
6631 * javax/swing/JLabel.java
6632 (setVerticalAlignment): Re-implemented.
6633 (setHorizontalAlignment): Do nothing if old value = new value.
6634 * javax/swing/JList.java
6635 (setCellRenderer): Likewise.
6636 (setModel): Re-implemented.
6637 (setSelectionModel): Likewise.
6639 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6641 * java/awt/Component.java,
6642 java/awt/geom/Rectangle2D.java:
6645 2005-02-15 Michael Koch <konqueror@gmx.de>
6647 * javax/swing/AbstractListModel.java
6648 (fireContentsChanged): Simplified.
6649 (fireIntervalAdded): Likewise.
6650 (fireIntervalRemoved): Likewise.
6651 * javax/swing/DefaultSingleSelectionModel.java:
6653 (fireStateChanged): Simplified.
6654 * javax/swing/JPopupMenu.java
6655 (setSelectionModel): Set property.
6657 2005-02-15 Michael Koch <konqueror@gmx.de>
6659 * java/awt/print/Book.java: Reformatted.
6661 2005-02-15 Michael Koch <konqueror@gmx.de>
6663 * java/awt/geom/Area.java
6664 (QuadSegment.curveArea): Remove unused variables.
6665 (CubicSegment.curveArea): Likewise.
6667 2005-02-15 Michael Koch <konqueror@gmx.de>
6669 * javax/swing/JTree.java
6670 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6671 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6672 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6673 (EXPANDED): New constant.
6674 (COLLAPSED): Likewise.
6675 (nodeStates): New field.
6676 (cellEditor): New method.
6677 (cellRenderer): Likewise.
6678 (selectionModel): Likewise.
6679 (treeModel): Likewise.
6680 (scrollPathToVisible): Likewise.
6681 (scrollRowToVisible): Likewise.
6682 (isCollapsed): Likewise.
6683 (isExpanded): Likewise.
6684 (clearToggledPaths): Likewise.
6685 (getDescendantToggledPaths): Likewise.
6686 (hasBeenExpanded): Likewise.
6687 (isVisible): Likewise.
6688 (isPathEditable): Likewise.
6690 2005-02-15 Michael Koch <konqueror@gmx.de>
6692 * javax/swing/JLayeredPane.java: Reformatted.
6694 2005-02-15 Michael Koch <konqueror@gmx.de>
6696 * javax/swing/tree/DefaultMutableTreeNode.java:
6698 * javax/swing/tree/MutableTreeNode.java:
6701 2005-02-15 Michael Koch <konqueror@gmx.de>
6703 * javax/swing/JFormattedTextField.java
6704 (setDocument): Call setDocument of super class. Don't fire property
6707 2005-02-15 Sven de Marothy <sven@physto.se>
6709 * java/awt/image/IndexColorModel.java:
6710 Add FIXME with respect to alpha handling.
6711 (getAlpha): Default to returning opaque pixels.
6712 * java/awt/image/MultiPixelPackedSampleModel.java
6713 (MultiPixelPackedSampleModel): Corrected parameters, order of
6714 bit shifts and masks, stride length off by one.
6716 2005-02-15 Michael Koch <konqueror@gmx.de>
6718 * javax/swing/JList.java, javax/swing/JTree.java:
6719 Added much new methods and fixed much methods setting bound properties.
6721 2005-02-16 Mark Wielaard <mark@klomp.org>
6723 * Makefile.am (gnu_xml_source_files): Removed
6724 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6725 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6726 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6727 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6728 gnu/xml/dom/DomDocumentFragment.java,
6729 gnu/xml/dom/DomProcessingInstruction.java and
6730 gnu/xml/dom/ls/DomLSException.java.
6731 * Makefile.in: Regenerated.
6733 2005-02-16 Tom Tromey <tromey@redhat.com>
6735 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6736 attribute index is out of bounds.
6738 2005-02-16 Chris Burdess <dog@gnu.org>
6740 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6741 isDeclared methods. Improved performance of isSpecified methods.
6743 2005-02-16 Chris Burdess <dog@gnu.org>
6745 Fixes bug libgcj/19864
6746 * gnu/xml/dom/DomAttr.java,
6747 gnu/xml/dom/DomCDATA.java,
6748 gnu/xml/dom/DomCDATASection.java,
6749 gnu/xml/dom/DomCharacterData.java,
6750 gnu/xml/dom/DomDOMException.java,
6751 gnu/xml/dom/DomDoctype.java,
6752 gnu/xml/dom/DomDocument.java,
6753 gnu/xml/dom/DomDocumentConfiguration.java,
6754 gnu/xml/dom/DomDocumentFragment.java,
6755 gnu/xml/dom/DomElement.java,
6756 gnu/xml/dom/DomEx.java,
6757 gnu/xml/dom/DomFragment.java,
6758 gnu/xml/dom/DomImpl.java,
6759 gnu/xml/dom/DomIterator.java,
6760 gnu/xml/dom/DomNamedNodeMap.java,
6761 gnu/xml/dom/DomNode.java,
6762 gnu/xml/dom/DomNsNode.java,
6763 gnu/xml/dom/DomPI.java,
6764 gnu/xml/dom/DomProcessingInstruction.java,
6765 gnu/xml/dom/DomText.java,
6766 gnu/xml/dom/DomLSEx.java,
6767 gnu/xml/dom/DomLSException.java,
6768 gnu/xml/dom/DomLSParser.java,
6769 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6770 implementation class names to conform to Classpath guidelines. Make
6771 DomLSException use JDK 1.4+ exception chaining.
6772 * gnu/xml/util/SAXNullTransformerFactory.java,
6773 gnu/xml/xpath/Predicate.java: Use constants relative to
6774 declaring class or interface.
6776 2005-02-16 Andrew Haley <aph@redhat.com>
6778 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6779 null, create a new AccessControlContext.
6780 * java/security/SecureClassLoader.java (protectionDomainCache):
6782 (defineClass): Create a new protection domain and add it to our
6785 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6786 addStub() to keep track of the stub we've exported.
6787 (unexportObject): Call deleteStub().
6788 * java/rmi/server/RemoteObject.java (stubs): New field.
6789 (addStub): New method.
6790 (deleteStub): New method.
6793 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6794 true to findHelper (tryParents).
6795 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6797 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6798 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6800 If tryParents is false, don't scan parent class loaders.
6802 * java/security/Permissions.java (PermissionsHash.implies):
6803 Iterate over the collection and invoke implies() on each
6806 2005-02-16 Andrew Haley <aph@redhat.com>
6808 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6810 (PersistentByteMap): Set name
6811 Magic number changed to 0x67636a64 ("gcjd").
6812 (init): Force the map to be prime.
6813 (emptyPersistentByteMap): File name was a string, now a File.
6814 (addBytes): Share srings between entries.
6815 (stringTableSize): New method.
6816 (capacity): Scale by load factor.
6817 (force): New method.
6818 (getFile): New method.
6819 (close): New method.
6820 (putAll): New method.
6821 (ByteWrapper): New class.
6822 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6823 (main): Guess the average string size as 32, not 64.
6824 Copy a database before modifying it, so that we can update a
6825 database in a running system.
6826 If a database isn't big enough, resize it.
6827 "-m": new option: merges databases.
6828 "-a": Create a new detabase if it doesn't exist.
6829 (usage): Correct, add new option.
6830 (addJar): Copy a database before modifying it.
6831 (resizeMap): New method.
6833 2005-02-15 David Daney <ddaney@avtrex.com>
6834 Bryce McKinlay <mckinlay@redhat.com>
6836 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6837 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6838 ensure that GC threads inherit the new signal mask.
6839 (block_sigchld): Call JvFail rather than throwing exception if
6840 pthread_sigmask() fails.
6842 2005-02-15 Mark Wielaard <mark@klomp.org>
6844 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6845 file path elements are separated by spaces.
6847 2005-02-15 Mark Wielaard <mark@klomp.org>
6849 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6850 to describe attributes without a constant field value in this class.
6852 2005-02-15 Michael Koch <konqueror@gmx.de>
6854 * java/util/jar/Attributes.java
6855 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6857 2005-02-15 Mark Wielaard <mark@klomp.org>
6859 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6860 space for parsing CLASS_PATH attribute.
6862 2005-02-15 Mark Wielaard <mark@klomp.org>
6864 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6865 aside for "GCJLIBS" in directory where jarfiles are loaded.
6866 (JarURLLoader.getClass): Removed method.
6867 (JarURLLoader.toString): Removed method.
6868 (FileResource.toString): Removed method.
6870 2005-02-15 Mark Wielaard <mark@klomp.org>
6872 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6873 and/or cause before throwing.
6875 2005-02-15 Richard Henderson <rth@redhat.com>
6877 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6878 (libgcj0_convenience_la_SOURCES): ... here.
6879 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6880 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6881 * Makefile.in: Regenerate.
6883 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6886 * include/jawt.h: Likewise.
6887 * include/jawt_md.h: Likewise.
6888 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6890 * include/Makefile.in: Regenerate.
6891 * jni/classpath/classpath_jawt.h: Likewise.
6892 * jni/gtk-peer/gtk_jawt.c: Likewise.
6893 * Makefile.am: Build libjawt.so.
6894 * Makefile.in: Regenerate.
6896 2005-02-14 Tom Tromey <tromey@redhat.com>
6898 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6900 2005-02-14 Tom Tromey <tromey@redhat.com>
6902 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6903 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6905 2005-02-14 Tom Tromey <tromey@redhat.com>
6908 * testsuite/libjava.lang/PR19929.out: New file.
6909 * testsuite/libjava.lang/PR19929.java: New file.
6911 2005-02-14 Anthony Green <green@redhat.com>
6914 * testsuite/libjava.jni/PR18116.c: New file.
6915 * testsuite/libjava.jni/PR18116.java: New file.
6916 * testsuite/libjava.jni/PR18116.out: New file.
6918 2005-02-13 Anthony Green <green@redhat.com>
6921 * jni.cc (nathash_add): Don't strdup the method signature.
6922 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6926 2005-02-12 Mark Wielaard <mark@klomp.org>
6928 Fixes bug libgcj/8170
6929 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6930 ClassNotFoundException.
6931 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6932 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6933 (remove_internal): New field superceding remove_interpreter.
6934 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6935 Remove no-class methods starting with "_Jv_". And Replace null
6936 class or method names with the empty string. Stop at either the
6937 MainThread or a real Thread run() method.
6938 (newElement): Made static.
6939 * java/net/URLClassLoader.java (findClass): Throw
6940 ClassNotFoundExceptions including urls, plus parent using toString().
6941 (thisString): New field.
6942 (toString): New method.
6944 2005-02-10 Tom Tromey <tromey@redhat.com>
6946 * external/sax/Makefile.in: Rebuilt.
6947 * external/sax/Makefile.am (all-local): Removed.
6948 (BUILT_SOURCES): New variable.
6949 (mostlyclean-local): No error if no classes to delete.
6950 * external/w3c_dom/Makefile.in: Rebuilt.
6951 * external/w3c_dom/Makefile.am (all-local): Removed.
6952 (BUILT_SOURCES): New variable.
6953 (mostlyclean-local): No error if no classes to delete.
6955 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6957 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6958 of mauve and libjava.
6960 2005-02-09 Tom Tromey <tromey@redhat.com>
6962 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6963 jar file with OPEN_DELETE.
6964 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6965 OPEN_DELETE is used.
6967 2005-02-09 Tom Tromey <tromey@redhat.com>
6969 * java/util/zip/InflaterInputStream.java (markSupported):
6971 (mark, reset): Likewise.
6973 2005-02-08 Tom Tromey <tromey@redhat.com>
6975 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6976 name or port is missing.
6977 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6978 AUTHORITY_PORT_GROUP): Updated.
6980 2005-02-08 Tom Tromey <tromey@redhat.com>
6982 * configure: Rebuilt.
6983 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6986 2005-02-07 Tom Tromey <tromey@redhat.com>
6988 * java/lang/natRuntime.cc (insertSystemProperties): Set
6989 sun.boot.class.path earlier.
6991 2005-02-07 Tom Tromey <tromey@redhat.com>
6993 * defineclass.cc (handleClassBegin): Use
6994 _Jv_RegisterInitiatingLoader.
6995 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6996 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6997 class. Use _Jv_UnregisterInitiatingLoader.
6998 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7001 2005-02-07 Mark Wielaard <mark@klomp.org>
7003 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7004 java/util/regex/Matcher.java (lookingAt): Set position when match
7006 (matches): Implemented through lookingAt().
7008 2005-02-07 Mark Wielaard <mark@klomp.org>
7010 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7011 * java/util/regex/Pattern.java (split(CharSequence,int)):
7012 Fix while empties > 0 loops.
7014 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7016 * gnu/java/nio/charset/ISO_8859_1.java,
7017 gnu/java/nio/charset/US_ASCII.java,
7018 gnu/java/nio/charset/UTF_16.java,
7019 gnu/java/nio/charset/UTF_16_LE.java,
7020 gnu/java/nio/charset/UTF_16_BE.java,
7021 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7022 and aliases according to
7023 "http://www.iana.org/assignments/character-sets",
7024 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7025 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7026 * gnu/java/nio/charset/Provider.java: Made charset lookup
7027 case-insensitive which fixes bug #11740.
7029 2005-02-07 Tom Tromey <tromey@redhat.com>
7032 * Makefile.in: Rebuilt.
7033 * Makefile.am (src.zip): New target.
7034 (install-src.zip): Likewise.
7035 (sourcesdir): New variable.
7037 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7039 * javax/imageio/metadata/IIOMetadataNode.java:
7041 * javax/imageio/metadata/IIOAttr.java,
7042 javax/imageio/metadata/IIONamedNodeMap.java,
7043 javax/imageio/metadata/IIONodeList.java:
7046 2005-02-06 Graydon Hoare <graydon@redhat.com>
7048 * gnu/java/awt/ClasspathToolkit.java
7049 (registerImageIOSpis): New method.
7050 * javax/imageio/ImageIO.java
7051 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7052 (WriterMIMETypeFilter.filter): Likewise.
7053 (ImageReaderIterator): Pass extension argument through to SPI.
7054 (getReadersByFilter): Likewise.
7055 (getWritersByFilter): Likewise.
7056 (getImageReadersByFormatName): Likewise.
7057 (getImageReadersByMIMEType): Likewise.
7058 (getImageReadersBySuffix): Likewise.
7059 (getImageWritersByFormatName): Likewise.
7060 (getImageWritersByMIMEType): Likewise.
7061 (getImageWritersBySuffix): Likewise.
7064 * javax/imageio/ImageReader.java
7065 (progressListeners): Initialize.
7066 (setInput): Implement.
7067 * javax/imageio/ImageWriter.java
7068 (progressListeners): Initialize.
7069 (warningListeners): Likewise.
7070 (warningLocales): Likewise.
7071 (setOutput): Test "isInstance" rather than class equality.
7072 * javax/imageio/spi/IIORegistry.java
7073 (static): Add reader and writer SPIs.
7074 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7076 2005-02-06 Michael Koch <konqueror@gmx.de>
7078 * javax/imageio/metadata/IIOInvalidTreeException.java
7079 (IIOInvalidTreeException): Reformatted.
7080 * javax/imageio/spi/IIORegistry.java
7081 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7082 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7083 Reworked import statements.
7085 2005-02-06 Michael Koch <konqueror@gmx.de>
7087 * javax/imageio/stream/FileImageOutputStream.java:
7090 2005-02-06 Michael Koch <konqueror@gmx.de>
7092 * javax/imageio/stream/FileCacheImageInputStream.java,
7093 javax/imageio/stream/FileCacheImageOutputStream.java,
7094 javax/imageio/stream/FileImageInputStream.java,
7095 javax/imageio/stream/ImageInputStreamImpl.java,
7096 javax/imageio/stream/ImageOutputStreamImpl.java,
7097 javax/imageio/stream/MemoryCacheImageInputStream.java,
7098 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7099 Added all missing methods in javax.imageio.stream.
7101 2005-02-02 David Daney <ddaney@avtrex.com>
7103 * java/net/InetAddress.java (InetAddress): Make a private copy of
7105 * java/net/Inet4Address.java (getAddress): Return a copy of the
7107 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7109 (getAddress): Return a copy of the address.
7112 2005-02-02 Tom Tromey <tromey@redhat.com>
7114 * Makefile.in: Rebuilt.
7115 * Makefile.am (classes.stamp): New target, broken out from
7117 ($(all_java_class_files)): Depend on it.
7118 (libgcj-@gcc_version@.jar): Likewise.
7119 (all-recursive): Likewise.
7120 (CLEANFILES): Include classes.stamp.
7122 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7124 * link.cc: Include <stdio.h>
7126 2005-02-02 Tom Tromey <tromey@redhat.com>
7129 * Makefile.in: Rebuilt.
7130 * Makefile.am (ordinary_java_source_files): Added new class.
7131 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7132 Use system_instance, not instance.
7133 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7134 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7136 (system_instance): New field.
7137 (initialize): Initialize the system loader as well.
7138 (VMClassLoader): Default to LIB_CACHE.
7140 2005-02-02 Tom Tromey <tromey@redhat.com>
7142 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7143 * prims.cc: Fixed comment.
7145 2005-02-01 Tom Tromey <tromey@redhat.com>
7147 * Makefile.in: Rebuilt.
7148 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7149 (.java.class): Use BOOTCLASSPATH.
7151 2005-02-01 Tom Tromey <tromey@redhat.com>
7153 * external/w3c_dom/Makefile.am: New file.
7154 * external/w3c_dom/Makefile.in: New file.
7155 * external/sax/Makefile.am: New file.
7156 * external/sax/Makefile.in: New file.
7157 * external/Makefile.in: New file.
7158 * external/Makefile.am: New file.
7159 * external/README: New file from Classpath.
7160 * configure, aclocal.m4, Makefile.in: Rebuilt.
7161 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7162 * Makefile.am (SUBDIRS): Added external.
7163 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7164 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7165 (BOOTCLASSPATH): New variable.
7166 (AM_GCJFLAGS): Use it.
7167 (gnu_xml_source_files): New variable.
7168 (libgcj_la_SOURCES): Use it.
7169 (libgcj_la_LDADD): Include new convenience libraries.
7170 (lib_org_ietf_jgss_la_SOURCES): Removed.
7171 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7172 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7173 (lib_org_w3c_dom_la_SOURCES): Removed.
7174 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7175 (lib_org_w3c_dom_la_LIBADD): Likewise.
7176 (lib_org_xml_sax_la_SOURCES): Removed.
7177 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7178 (lib_org_xml_sax_la_LIBADD): Likewise.
7179 (all_java_source_files): Updated.
7180 (property_files): Likewise.
7181 (libgcj-@gcc_version@.jar): Include classes from external/.
7182 (javax_source_files): Updated.
7183 (ordinary_java_source_files): Updated.
7184 * javax/xml/XMLConstants.java,
7185 javax/xml/datatype/DatatypeConfigurationException.java,
7186 javax/xml/datatype/DatatypeConstants.java,
7187 javax/xml/datatype/DatatypeFactory.java,
7188 javax/xml/datatype/Duration.java,
7189 javax/xml/datatype/XMLGregorianCalendar.java,
7190 javax/xml/datatype/package.html,
7191 javax/xml/namespace/NamespaceContext.java,
7192 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7193 javax/xml/parsers/DocumentBuilder.java,
7194 javax/xml/parsers/DocumentBuilderFactory.java,
7195 javax/xml/parsers/FactoryConfigurationError.java,
7196 javax/xml/parsers/ParserConfigurationException.java,
7197 javax/xml/parsers/SAXParser.java,
7198 javax/xml/parsers/SAXParserFactory.java,
7199 javax/xml/parsers/package.html,
7200 javax/xml/transform/ErrorListener.java,
7201 javax/xml/transform/OutputKeys.java,
7202 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7203 javax/xml/transform/SourceLocator.java,
7204 javax/xml/transform/Templates.java,
7205 javax/xml/transform/Transformer.java,
7206 javax/xml/transform/TransformerConfigurationException.java,
7207 javax/xml/transform/TransformerException.java,
7208 javax/xml/transform/TransformerFactory.java,
7209 javax/xml/transform/TransformerFactoryConfigurationError.java,
7210 javax/xml/transform/URIResolver.java,
7211 javax/xml/transform/package.html,
7212 javax/xml/transform/dom/DOMLocator.java,
7213 javax/xml/transform/dom/DOMResult.java,
7214 javax/xml/transform/dom/DOMSource.java,
7215 javax/xml/transform/dom/package.html,
7216 javax/xml/transform/sax/SAXResult.java,
7217 javax/xml/transform/sax/SAXSource.java,
7218 javax/xml/transform/sax/SAXTransformerFactory.java,
7219 javax/xml/transform/sax/TemplatesHandler.java,
7220 javax/xml/transform/sax/TransformerHandler.java,
7221 javax/xml/transform/sax/package.html,
7222 javax/xml/transform/stream/StreamResult.java,
7223 javax/xml/transform/stream/StreamSource.java,
7224 javax/xml/transform/stream/package.html,
7225 javax/xml/validation/Schema.java,
7226 javax/xml/validation/SchemaFactory.java,
7227 javax/xml/validation/TypeInfoProvider.java,
7228 javax/xml/validation/Validator.java,
7229 javax/xml/validation/ValidatorHandler.java,
7230 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7231 javax/xml/xpath/XPathConstants.java,
7232 javax/xml/xpath/XPathException.java,
7233 javax/xml/xpath/XPathExpression.java,
7234 javax/xml/xpath/XPathExpressionException.java,
7235 javax/xml/xpath/XPathFactory.java,
7236 javax/xml/xpath/XPathFactoryConfigurationException.java,
7237 javax/xml/xpath/XPathFunction.java,
7238 javax/xml/xpath/XPathFunctionException.java,
7239 javax/xml/xpath/XPathFunctionResolver.java,
7240 javax/xml/xpath/XPathVariableResolver.java,
7241 javax/xml/xpath/package.html: New files, from GNU JAXP.
7242 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7243 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7244 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7245 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7246 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7247 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7248 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7249 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7250 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7251 org/w3c/dom/ranges/DocumentRange.java,
7252 org/w3c/dom/ranges/Range.java,
7253 org/w3c/dom/ranges/RangeException.java,
7254 org/w3c/dom/traversal/DocumentTraversal.java,
7255 org/w3c/dom/traversal/NodeFilter.java,
7256 org/w3c/dom/traversal/NodeIterator.java,
7257 org/w3c/dom/traversal/TreeWalker.java,
7258 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7259 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7260 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7261 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7262 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7263 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7264 org/xml/sax/SAXNotRecognizedException.java,
7265 org/xml/sax/SAXNotSupportedException.java,
7266 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7267 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7268 org/xml/sax/ext/DeclHandler.java,
7269 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7270 org/xml/sax/helpers/AttributeListImpl.java,
7271 org/xml/sax/helpers/AttributesImpl.java,
7272 org/xml/sax/helpers/DefaultHandler.java,
7273 org/xml/sax/helpers/LocatorImpl.java,
7274 org/xml/sax/helpers/NamespaceSupport.java,
7275 org/xml/sax/helpers/NewInstance.java,
7276 org/xml/sax/helpers/ParserAdapter.java,
7277 org/xml/sax/helpers/ParserFactory.java,
7278 org/xml/sax/helpers/XMLFilterImpl.java,
7279 org/xml/sax/helpers/XMLReaderAdapter.java,
7280 org/xml/sax/helpers/XMLReaderFactory.java,
7281 org/xml/sax/helpers/package.html: Moved to external/.
7282 * external/sax/README,
7283 external/sax/org/xml/sax/AttributeList.java,
7284 external/sax/org/xml/sax/Attributes.java,
7285 external/sax/org/xml/sax/ContentHandler.java,
7286 external/sax/org/xml/sax/DTDHandler.java,
7287 external/sax/org/xml/sax/DocumentHandler.java,
7288 external/sax/org/xml/sax/EntityResolver.java,
7289 external/sax/org/xml/sax/ErrorHandler.java,
7290 external/sax/org/xml/sax/HandlerBase.java,
7291 external/sax/org/xml/sax/InputSource.java,
7292 external/sax/org/xml/sax/Locator.java,
7293 external/sax/org/xml/sax/Parser.java,
7294 external/sax/org/xml/sax/SAXException.java,
7295 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7296 external/sax/org/xml/sax/SAXNotSupportedException.java,
7297 external/sax/org/xml/sax/SAXParseException.java,
7298 external/sax/org/xml/sax/XMLFilter.java,
7299 external/sax/org/xml/sax/XMLReader.java,
7300 external/sax/org/xml/sax/package.html,
7301 external/sax/org/xml/sax/ext/Attributes2.java,
7302 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7303 external/sax/org/xml/sax/ext/DeclHandler.java,
7304 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7305 external/sax/org/xml/sax/ext/EntityResolver2.java,
7306 external/sax/org/xml/sax/ext/LexicalHandler.java,
7307 external/sax/org/xml/sax/ext/Locator2.java,
7308 external/sax/org/xml/sax/ext/Locator2Impl.java,
7309 external/sax/org/xml/sax/ext/package.html,
7310 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7311 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7312 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7313 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7314 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7315 external/sax/org/xml/sax/helpers/NewInstance.java,
7316 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7317 external/sax/org/xml/sax/helpers/ParserFactory.java,
7318 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7319 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7320 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7321 external/sax/org/xml/sax/helpers/package.html,
7322 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7323 external/w3c_dom/org/w3c/dom/Attr.java,
7324 external/w3c_dom/org/w3c/dom/CDATASection.java,
7325 external/w3c_dom/org/w3c/dom/CharacterData.java,
7326 external/w3c_dom/org/w3c/dom/Comment.java,
7327 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7328 external/w3c_dom/org/w3c/dom/DOMError.java,
7329 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7330 external/w3c_dom/org/w3c/dom/DOMException.java,
7331 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7332 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7333 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7334 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7335 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7336 external/w3c_dom/org/w3c/dom/Document.java,
7337 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7338 external/w3c_dom/org/w3c/dom/DocumentType.java,
7339 external/w3c_dom/org/w3c/dom/Element.java,
7340 external/w3c_dom/org/w3c/dom/Entity.java,
7341 external/w3c_dom/org/w3c/dom/EntityReference.java,
7342 external/w3c_dom/org/w3c/dom/NameList.java,
7343 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7344 external/w3c_dom/org/w3c/dom/Node.java,
7345 external/w3c_dom/org/w3c/dom/NodeList.java,
7346 external/w3c_dom/org/w3c/dom/Notation.java,
7347 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7348 external/w3c_dom/org/w3c/dom/Text.java,
7349 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7350 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7351 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7352 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7353 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7354 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7355 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7356 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7357 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7358 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7359 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7360 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7361 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7362 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7363 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7364 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7365 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7366 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7367 external/w3c_dom/org/w3c/dom/css/Counter.java,
7368 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7369 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7370 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7371 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7372 external/w3c_dom/org/w3c/dom/css/Rect.java,
7373 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7374 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7375 external/w3c_dom/org/w3c/dom/events/Event.java,
7376 external/w3c_dom/org/w3c/dom/events/EventException.java,
7377 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7378 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7379 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7380 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7381 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7382 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7383 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7384 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7385 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7386 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7387 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7388 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7389 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7390 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7391 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7392 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7393 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7394 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7395 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7396 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7397 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7398 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7399 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7400 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7401 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7402 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7403 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7404 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7405 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7406 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7407 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7408 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7409 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7410 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7411 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7412 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7413 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7414 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7415 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7416 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7417 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7418 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7419 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7420 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7421 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7422 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7423 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7424 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7425 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7426 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7427 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7428 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7429 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7430 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7431 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7432 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7433 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7434 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7435 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7436 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7437 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7438 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7439 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7440 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7441 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7442 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7443 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7444 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7445 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7446 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7447 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7448 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7449 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7450 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7451 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7452 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7453 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7454 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7455 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7456 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7457 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7458 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7459 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7460 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7461 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7462 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7463 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7464 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7465 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7466 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7467 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7468 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7471 2005-01-31 Anthony Green <green@redhat.com>
7473 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7474 Support IP_MULTICAST_LOOP.
7475 (setOption): Support IP_MULTICAST_LOOP.
7477 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7478 SO_REUSEADDR support.
7479 (getOption): Support SO_REUSEADDR.
7481 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7484 * java/util/Date.java
7485 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7487 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7489 (getTimezoneOffset): Inverted sign.
7491 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7493 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7494 remove other passing tests and add new XFAILs.
7496 2005-01-24 Tom Tromey <tromey@redhat.com>
7498 * java/lang/Class.h (next): Updated documentation. Renamed to
7500 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7501 _Jv_CheckABIVersion.
7502 (_Jv_RegisterClasses_Counted): Likewise.
7503 (_Jv_RegisterClassHookDefault): Fix starting condition of
7504 duplicate-checking loop.
7505 * include/jvm.h (GCJ_VERSION): New define.
7506 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7507 (_Jv_CheckABIVersion): New function.
7509 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7511 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7512 (libgij_la_LDFLAGS): Add.
7513 * Makefile.in: Rebuilt.
7515 2005-01-24 Roger Sayle <roger@eyesopen.com>
7518 * testsuite/libjava.compile/PR19295.java: New test case.
7520 2005-01-19 Tom Tromey <tromey@redhat.com>
7522 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7523 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7524 if 'handler' is valid.
7526 2005-01-17 Tom Tromey <tromey@redhat.com>
7528 * java/text/MessageFormat.java (scanString): Changed how quoting
7530 (scanFormatElement): Likewise.
7532 2004-12-07 Mark Wielaard <mark@klomp.org>
7534 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7536 2005-01-15 Michael Koch <konqueror@gmx.de>
7540 (AUTHORITY_REGEXP): New regexp constant.
7541 (AUTHORITY_USERINFO_GROUP): New constant.
7542 (AUTHORITY_HOST_GROUP): Likewise.
7543 (AUTHORITY_PORT_GROUP): Likewise.
7544 (port): Changed default value to -1.
7545 (parseURI): Parse authority part and initialize host,
7548 2005-01-14 Robin Green <greenrd@greenrd.org>
7550 * java/io/File.java (toURI): Generate a URI which we understand.
7552 2005-01-13 Graydon Hoare <graydon@redhat.com>
7554 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7555 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7556 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7557 * jni.cc: Reuse bottom frame between calls, avoid clearing
7558 frame when no local references are made.
7560 2005-01-13 Michael Koch <konqueror@gmx.de>
7563 * java/lang/Thread.java
7564 (Thread): Call checkAccess().
7565 (stop): Fixed argument name to match javadoc.
7566 * java/lang/natThread.cc
7567 (interrupt): Call checkAccess().
7570 2005-01-11 Michael Koch <konqueror@gmx.de>
7573 * java/net/URL.java (URL): Handle specs like
7574 "/redir?http://domain2.com/index.html" which start with a slash.
7576 2005-01-11 Michael Koch <konqueror@gmx.de>
7578 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7579 * gnu/java/net/BASE64.java,
7580 gnu/java/net/EmptyX509TrustManager.java,
7581 gnu/java/net/LineInputStream.java,
7582 gnu/java/net/protocol/http/Authenticator.java,
7583 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7584 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7585 gnu/java/net/protocol/http/ChunkedInputStream.java,
7586 gnu/java/net/protocol/http/Cookie.java,
7587 gnu/java/net/protocol/http/CookieManager.java,
7588 gnu/java/net/protocol/http/Credentials.java,
7589 gnu/java/net/protocol/http/HTTPConnection.java,
7590 gnu/java/net/protocol/http/HTTPDateFormat.java,
7591 gnu/java/net/protocol/http/HTTPURLConnection.java,
7592 gnu/java/net/protocol/http/Headers.java,
7593 gnu/java/net/protocol/http/Request.java,
7594 gnu/java/net/protocol/http/RequestBodyWriter.java,
7595 gnu/java/net/protocol/http/Response.java,
7596 gnu/java/net/protocol/http/ResponseBodyReader.java,
7597 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7598 gnu/java/net/protocol/http/SimpleCookieManager.java,
7599 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7600 gnu/java/net/protocol/http/event/ConnectionListener.java,
7601 gnu/java/net/protocol/http/event/RequestEvent.java,
7602 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7603 * gnu/java/net/protocol/http/Connection.java: Removed.
7604 * gnu/java/net/protocol/http/Handler.java,
7605 javax/net/ssl/HttpsURLConnection.java: Updated.
7606 * Makefile.am: Added new files and remove old ones.
7607 * Makefile.in: Regenerated.
7609 2005-01-11 Tom Tromey <tromey@redhat.com>
7612 * java/io/BufferedInputStream.java (read): Repeatedly read to
7614 (refill): Change test to see if buffer must be grown.
7616 2005-01-10 Tom Tromey <tromey@redhat.com>
7618 * mauve-libgcj: Exclude some swing tests.
7620 2005-01-10 Tom Tromey <tromey@redhat.com>
7622 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7623 * java/lang/Package.java (getPackages): Use VMClassLoader when
7625 (getPackage): Likewise.
7626 * prims.cc (_Jv_CreateJavaVM): Call
7627 _Jv_RegisterBootstrapPackages.
7628 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7629 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7630 (getPackages): Likewise.
7631 (definedPackages): New field.
7632 (definePackageForNative): New method.
7633 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7634 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7635 * defineclass.cc (handleClassBegin): Use
7636 ClassLoader.findLoadedClass.
7637 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7639 (struct _Jv_LoaderInfo): Removed.
7640 (initiated_classes): Likewise.
7641 (_Jv_UnregisterClass): Don't use initiated_classes.
7642 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7643 (_Jv_FindClass): Register classes found during boostrap.
7644 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7645 (bootstrap_class_list): New global.
7646 (bootstrap_index): Likewise.
7647 (_Jv_RegisterBootstrapPackages): New function.
7648 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7649 definePackageForNative.
7650 (findClass): Updated.
7651 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7654 2005-01-10 Tom Tromey <tromey@redhat.com>
7657 * include/jvm.h (_Jv_Linker::find_field): Declare.
7658 (_Jv_Linker::find_field_helper): Likewise.
7659 * link.cc (find_field_helper): New method.
7660 (find_field): Likewise.
7661 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7663 (link_symbol_table): Use find_field.
7665 2005-01-10 Michael Koch <konqueror@gmx.de>
7668 * java/util/Locale.java (Locale): Don't uppercase variant.
7669 (getISOCountries): Fixed typo in javadoc.
7671 2005-01-10 Michael Koch <konqueror@gmx.de>
7673 * java/util/SimpleTimeZone.java (checkRule):
7674 Throw IllegalArgumentException on invalid month values.
7675 * java/util/TimeZone.java (setID):
7676 Throw NullPointerException if needed.
7678 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7680 * java/util/SimpleTimeZone.java (getOffset):
7681 offset end date with daylight savings
7683 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7685 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7686 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7688 2005-01-09 Michael Koch <konqueror@gmx.de>
7691 * java/net/InetAddress.java (getLocalHost):
7692 Throw UnknownHostException if local hostname cannot be determined.
7694 2005-01-06 Tom Tromey <tromey@redhat.com>
7696 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7698 2005-01-07 Michael Koch <konqueror@gmx.de>
7701 * java/nio/Buffer.java (address): New field.
7702 * java/nio/DirectByteBufferImpl.java (address): Removed.
7703 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7704 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7705 Explicitly initialize Buffer.address if needed.
7706 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7707 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7708 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7709 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7710 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7711 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7712 DirectByteBufferImpl object.
7713 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7714 * testsuite/libjava.jni/directbuffer.c,
7715 testsuite/libjava.jni/directbuffer.java,
7716 testsuite/libjava.jni/directbuffer.out,
7717 testsuite/libjava.jni/bytebuffer.c,
7718 testsuite/libjava.jni/bytebuffer.java,
7719 testsuite/libjava.jni/bytebuffer.out: New files.
7721 2005-01-05 Tom Tromey <tromey@redhat.com>
7723 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7725 (compressedSize): Now 'long'. Default to -1.
7726 (getCompressedSize): Rewrote.
7727 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7728 deflate at all if we need input.
7730 2005-01-05 Tom Tromey <tromey@redhat.com>
7733 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7736 2005-01-05 Tom Tromey <tromey@redhat.com>
7738 * java/lang/natRuntime.cc (insertSystemProperties): Set
7739 java.ext.dirs earlier.
7741 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7743 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7744 sync_info element of the object if needed.
7746 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7748 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7749 a non-zero exit status from 'false'.
7751 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7753 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.