1 2005-06-24 Tom Tromey <tromey@redhat.com>
3 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
5 2005-06-24 Tom Tromey <tromey@redhat.com>
7 * verify.cc (verify_instructions_0): Correctly handle situation
8 where PC falls off end.
10 2005-06-24 Tom Tromey <tromey@redhat.com>
12 * interpret.cc (compile): Handle case where table entry is
15 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
17 * testsuite/libjava.compile/PR20697.java: New test-case.
19 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
21 * Makefile.am (SUBDIRS): Use append for conditional.
22 (toolexeclib_LTLIBRARIES): Likewise.
23 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
25 * Makefile.in: Regenerate.
27 2005-06-17 Keith Seitz <keiths@redhat.com>
29 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
30 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
31 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
33 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
34 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
36 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
37 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
38 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
39 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
41 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
42 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
44 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
46 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
47 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
48 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
49 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
50 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
51 * Makefile.in: Regenerate.
53 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
55 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
56 (USING_POSIX_PLATFORM): ... here.
57 * Makefile.am: Delete USING_ECOS_PLATFORM.
58 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
59 external/Makefile.in, external/sax/Makefile.in,
60 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
62 2005-06-15 Tom Tromey <tromey@redhat.com>
65 * testsuite/libjava.lang/pr17536.java: New file.
66 * testsuite/libjava.lang/pr17536.out: New file.
68 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
71 * gnu/java/net/protocol/http/HTTPURLConnection.java
72 (getHeaderFieldKey): Check index.
74 2005-06-15 Tom Tromey <tromey@redhat.com>
77 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
79 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
80 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
82 (append_partial_itable): Use it.
83 (set_vtable_entries): Likewise.
85 2005-06-15 Tom Tromey <tromey@redhat.com>
87 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
90 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
92 * configure.host: Handle Solaris 10/x86.
94 2005-06-14 Keith Seitz <keiths@redhat.com>
96 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
97 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
99 2005-06-14 Keith Seitz <keiths@redhat.com>
101 * gnu/classpath/jdwp/id/ArrayId.java: New file.
102 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
103 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
104 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
105 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
106 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
107 * gnu/classpath/jdwp/id/JdwpId.java: New file.
108 * gnu/classpath/jdwp/id/ObjectId.java: New file.
109 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
110 * gnu/classpath/jdwp/id/StringId.java: New file.
111 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
112 * gnu/classpath/jdwp/id/ThreadId.java: New file.
114 2005-06-14 Tom Tromey <tromey@redhat.com>
117 * configure, aclocal.m4, Makefile.in: Rebuilt.
119 2005-06-14 Tom Tromey <tromey@redhat.com>
121 * java/lang/Class.java (getClasses): New method.
122 (internalGetClasses): Likewise.
123 (getClassLoader): Updated documentation.
124 (getDeclaredClasses): New overload; old overload no longer
126 (_getConstructors): Removed.
127 (resourcePath): Updated.
128 * java/lang/natClass.cc (getClasses): Removed.
129 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
131 (_getConstructors): Removed.
133 2005-06-13 Jim Huang <jserv@kaffe.org>
136 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
137 (_Jv_JNI_NewObject): Likewise.
139 2005-06-13 Tom Tromey <tromey@redhat.com>
142 * testsuite/libjava.lang/pr21844.java: New file.
143 * testsuite/libjava.lang/pr21844.out: New file.
145 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
148 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
151 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
153 * java/text/MessageFormat.java (parse): When parsing strings, check
154 for an empty pattern trailer.
156 2005-06-06 Keith Seitz <keiths@redhat.com>
158 * gnu/classpath/jdwp/util/Signature.java: New file.
159 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
161 2005-06-05 Anthony Green <green@redhat.com>
163 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
166 2005-06-04 Anthony Green <green@redhat.com>
168 * java/net/URLClassLoader.java: import gnu.gcj.Core,
169 and gnu.java.net.protocol.core.CoreInputStream.
170 (CureURLLoader): New class.
171 (CoreResource): New class.
172 (addURLImpl): Add special treatment for the "core" protocol.
173 * gnu/gcj/natCore.cc (find): New method.
174 * gnu/gcj/Core.java (find): New method.
176 2005-06-03 Keith Seitz <keiths@redhat.com>
178 * gnu/classpath/jdwp/transport/ITransport.java: New file.
179 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
180 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
182 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
184 * jawt.c: Remove malloc.h, covered by stdlib.h.
186 * testsuite/libjava.jni/jni.exp
187 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
190 2005-06-02 Keith Seitz <keiths@redhat.com>
192 * gnu/classpath/jdwp/transport/TransportException.java: New file.
194 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
196 * mauve-libgcj: Remove implemented classes from the fail section.
197 Add two new not implemented to it.
199 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
201 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
202 AC_SUBST definition from configure.host.
203 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
204 to -fomit-frame-pointer on 32-bit x86 targets.
206 2005-06-01 Tom Tromey <tromey@redhat.com>
208 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
210 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
213 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
214 (static): Add possessive matching to JAVA_1_4 syntax.
215 * gnu/regexp/RETokenRepeated.java (possessive): New field.
216 (makePossessive, isPossessive): New methods.
217 (match): Don't back off during possessive matching.
218 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
219 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
222 2005-06-01 Keith Seitz <keiths@redhat.com>
224 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
225 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
226 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
228 2005-06-01 Tom Tromey <tromey@redhat.com>
231 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
232 (currentLoader): New method.
233 * java/io/ObjectInputStream.java (resolveProxyClass): Use
235 (currentLoader): Now native.
236 (currentClassLoader): Removed.
237 * testsuite/libjava.lang/pr21785.java: New file.
238 * testsuite/libjava.lang/pr21785.out: New file.
240 2005-06-01 Tom Tromey <tromey@redhat.com>
243 * java/lang/natString.cc (substring): Changed sharing heuristic.
245 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
248 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
249 MAXPATHLEN. Format exception message using a StringBuffer instead.
251 2005-05-29 Michael Koch <konqueror@gmx.de>
254 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
256 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
258 * ChangeLog: Fix typo.
260 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
262 Testsuite adjustments for PR java/19870.
263 * testsuite/libjava.lang/PR19870.java: New testcase.
264 * testsuite/libjava.lang/PR19870.out: Expected output for the
266 * testsuite/libjava.jacks/jacks.xfail: Add
267 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
270 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
272 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
273 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
274 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
276 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
277 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
278 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
279 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
281 2005-05-25 Richard Henderson <rth@redhat.com>
284 * sysdep/descriptor-n.h: New file.
285 * sysdep/descriptor-y.h: New file.
286 * sysdep/powerpc/descriptor.h: New file.
287 * configure.host: Set $descriptor_h appropriate for the host.
288 * configure.ac: Link it.
289 * configure: Regenerate.
290 * stacktrace.cc: Include sysdep/descriptor.h.
291 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
293 2005-05-25 Chris Burdess <dog@gnu.org>
295 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
296 end entity callbacks.
298 2005-05-24 Gary Benson <gbenson@redhat.com>
301 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
302 Handle DateFormat.DEFAULT case correctly.
304 2005-05-21 Tom Tromey <tromey@redhat.com>
307 * java/lang/ref/natReference.cc (find_slot): Handle case where
308 table has no NULL entries.
309 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
310 table has no NULL entries.
312 2005-05-22 Andreas Jaeger <aj@suse.de>
314 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
317 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
319 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
321 2005-05-19 Richard Henderson <rth@redhat.com>
323 * exception.cc: Revert 05-17 gcc_unreachable change.
325 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
327 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
328 _Jv_RegisterInitiatingLoader to register array classes, not
330 (_Jv_RegisterInitiatingLoader): Give up if called very early during
331 bootstrapping. Add a FIXME to handle this case better.
333 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
335 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
337 (libgcj_la_SOURCES): New. Move sources here.
338 (libgcj.la): Remove rule.
340 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
343 * gnu/java/security/provider/DSASignature.java: Import updates
346 2005-05-18 Anthony Green <green@redhat.com>
348 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
349 classpath_jawt_object_unlock, classpath_jawt_create_lock,
350 classpath_jawt_destroy_lock): New functions.
351 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
352 classpath_jawt_object_unlock, classpath_jawt_create_lock,
353 classpath_jawt_destroy_lock): New functions.
354 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
356 * jawt.c: #include malloc.h.
357 (_Jv_Lock): Use lock.
359 (_Jv_GetDrawingSurface): Initialize lock.
360 (_Jv_FreeDrawingSurface): Destroy lock.
361 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
363 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
365 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
366 * Makefile.in: Regenerate.
368 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
370 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
371 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
372 * aclocal.m4, configure, config.h.in, include/config.h.in,
373 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
374 external/Makefile.in, external/sax/Makefile.in,
375 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
377 2005-05-17 David Daney <ddaney@avtrex.com>
380 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
382 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
384 * exception.cc (abort): Remove std::abort hack.
385 (gcc_unreacheable): Define.
387 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
389 * Makefile.am (Makefile.deps): Do not create native.list and
391 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
392 * Makefile.in: Regenerate.
394 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
396 * configure.ac (--enable-libgcj-multifile): Remove.
398 * Makefile.am (all_native_compiled_source_files,
399 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
400 all_libgcj_lo_files, all_xlib_lo_files,
401 all_java_deps_files, all_java_stamp_files,
402 all_java_filelist_files): New variables.
403 (EXTRA_DIST): New Automake variable.
404 (CLEANFILES): Add .stamp, .list and .lo files.
405 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
406 (classes.stamp): Depend on $(all_java_stamp_files).
407 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
408 going through write_entries_to_file.
410 (all_java_source_files, all_property_files): Move earlier.
411 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
412 all_java_class_files): Remove.
413 (gtk_awt_peer_sources): Rename to...
414 (gtk_awt_peer_source_files): ... this. Adjust throughout.
417 (libgcj0_convenience_la_SOURCES): Remove Java source files.
418 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
419 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
420 (libgcj_la_SOURCES): Remove.
421 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
422 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
423 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
425 * configure: Regenerate.
426 * Makefile.in: Regenerate.
427 * external/Makefile.in: Regenerate.
428 * external/sax/Makefile.in: Regenerate.
429 * external/w3c_dom/Makefile.in: Regenerate.
430 * gcj/Makefile.in: Regenerate.
431 * include/Makefile.in: Regenerate.
432 * libltdl/Makefile.in: Regenerate.
433 * testsuite/Makefile.in: Regenerate.
435 2005-05-16 Tom Tromey <tromey@redhat.com>
437 * java/nio/charset/Charset.java (encode, decode): Synchronize on
438 'this', not the class.
440 2005-05-16 Tom Tromey <tromey@redhat.com>
442 * gnu/java/net/protocol/http/Headers.java (parse): Include final
445 2005-05-16 Tom Tromey <tromey@redhat.com>
448 * java/net/URI.java (unquote): Handle lower-case letters as well.
450 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
453 * gnu/regexp/RE.java: Add support for quoting constructs.
455 2005-05-15 Tom Tromey <tromey@redhat.com>
457 * java/lang/String.java (startsWith): Fixed javadoc.
459 2005-05-15 Tom Tromey <tromey@redhat.com>
462 * testsuite/libjava.compile/pr21519.java: New file.
463 * testsuite/libjava.compile/pr21519.no-link: New file.
465 2005-05-15 Tom Tromey <tromey@redhat.com>
467 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
469 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
472 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
473 interrupt status flag if _Jv_CondWait is interrupted.
475 2005-05-13 Tom Tromey <tromey@redhat.com>
477 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
480 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
482 * include/jvm.h (gcj::verifyClasses): Declare.
483 * link.cc (gcj::verbose_class_flag): Moved.
484 * prims.cc (gcj::verifyClasses): Define here.
485 (gcj::verbose_class_flag): Move definition here.
486 (_Jv_Linker::wait_for_state): Don't call verify_class
487 if gcj::verifyClasses is not set.
488 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
490 2005-05-12 Aaron Luchko <aluchko@redhat.com>
492 * gij.cc (main): Recognize '-verify', '-noverify', and
495 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
497 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
499 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
501 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
504 2005-05-11 Tom Tromey <tromey@redhat.com>
506 * external/w3c_dom/Makefile.in: Rebuilt.
507 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
509 * external/sax/Makefile.in: Rebuilt.
510 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
512 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
514 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
515 Call _Jv_CopyClassesToSystemLoader.
516 * java/lang/natClassLoader.cc (system_class_list): New global.
517 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
519 (_Jv_CopyClassesToSystemLoader): New function.
520 (SYSTEM_LOADER_INITIALIZED): New define.
521 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
522 (_Jv_CheckABIVersion): Use it.
523 (_Jv_ClassForBootstrapLoader): New function.
524 * Makefile.in: Rebuilt.
525 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
527 2005-05-10 Tom Tromey <tromey@redhat.com>
529 * gcj/javaprims.h: Updated.
530 * java/lang/String.java (String(StringBuilder)): New constructor.
531 * java/lang/natStringBuilder.cc: New file.
532 * java/lang/StringBuilder.java: New file.
533 * Makefile.in: Rebuilt.
534 * Makefile.am (core_java_source_files): Added StringBuilder.java.
535 (nat_source_files): Added natStringBuilder.cc.
537 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
540 * testsuite/libjava.jacks/jacks.xfail: Adjust.
542 2005-05-09 Mike Stump <mrs@apple.com>
544 * configure: Regenerate.
546 2005-05-09 David Daney <ddaney@avtrex.com>
548 * java/util/BitSet.java (get(int, int)): Fix breakage when
549 requested set doesn't start on a multiple of 64.
551 2005-05-07 Matthias Klose <doko@debian.org>
553 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
555 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
557 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
558 * Makefile.in: Regenerate.
559 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
560 (createCompatibleVolatileImage(int,int)): Implement.
561 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
563 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
565 (createVolatileImage): Implement.
566 (createBuffers): Likewise.
567 (getBackBuffer): Likewise.
569 (destroyBuffers): Likewise.
570 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
571 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
572 (CanvasFlipBufferStrategy): Likewise.
573 (createBufferStrategy(int)): New method.
574 (createBufferStrategy(int,BufferCapabilities)): Likewise.
575 * java/awt/Component.java (BltBufferStrategy): Implement and
577 (FlipBufferStrategy): Likewise.
578 * java/awt/Window.java (WindowBltBufferStrategy): New class.
579 (WindowFlipBufferStrategy): Likewise.
580 (createBufferStrategy(int)): New method.
581 (createBufferStrategy(int,BufferCapabilities)): Likewise.
582 (getBufferStrategy): Likewise.
583 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
584 front to frontCaps and back to backCaps.
586 2005-05-06 Michael Koch <konqueror@gmx.de>
588 * java/awt/BufferCapabilities.java
589 (BufferCapabilities): Merged javadoc.
591 2005-05-06 Michael Koch <konqueror@gmx.de>
593 * java/util/Locale.java
594 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
595 (getLocale): New methods. Use it everywhere where instances of Locales
597 (getDisplayLanguage): Merged javadoc.
598 (getDisplayCountry): Likewise.
599 (getDisplayVariant): Likewise.
601 2005-05-06 Archie Cobbs <archie@dellroad.org>
603 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
604 use DeleteLocalRef() to avoid exhausting local native references.
606 2005-05-06 Mark Wielaard <mark@klomp.org>
608 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
609 (window_delete_cb): Don't use C++ style comments.
611 2005-05-06 Robert Schuster <thebohemian@gmx.net>
613 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
616 2005-05-06 Robert Schuster <thebohemian@gmx.net>
618 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
619 (window_delete_cb): Made the function return TRUE.
621 2005-05-06 Roman Kennke <roman@kennke.org>
623 * javax/swing/text/PlainView.java
624 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
626 * javax/swing/text/Utilities.java
627 (drawTabbedText): Initilialize local variable pos correctly.
629 2005-05-06 Roman Kennke <roman@kennke.org>
631 * javax/swing/text/AbstractDocument.java
632 (LeafElement): Made start and end package private fields for
633 effective reindexing.
634 * javax/swing/text/PlainDocument.java
635 (constructor): The field rootElement is always BranchElement,
636 so we handle it as such.
637 (removeUpdate): Rewritten reindexing for removeUpdate so that
638 the actual removal is taken into account.
640 2005-05-06 Roman Kennke <roman@kennke.org>
642 * javax/swing/text/GapContent.java:
643 Removed debugging output stuff, which I accidentally left in.
645 2005-05-06 Roman Kennke <roman@kennke.org>
647 * javax/swing/text/GapContent.java:
648 Implemented a real GapContent. Only the public methods have
649 been implemented so far and still no UndoableEdit support.
651 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
653 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
656 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
658 * java/awt/image/BufferStrategy.java: Document.
660 * java/awt/BufferCapabilities.java: Document.
662 2005-05-04 Tom Tromey <tromey@redhat.com>
664 * java/nio/channels/FileLock.java (toString): Entirely avoid
667 2005-05-04 Andrew Overholt <overholt@redhat.com>
669 * java/nio/channels/FileLock.java (toString): Re-implement using
672 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
674 * java/awt/ImageCapabilities.java: Document.
676 * java/awt/image/VolatileImage.java: Unindent copyright header.
678 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
680 * java/awt/image/VolatileImage.java: Document.
682 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
685 (init_glib_threads): Check if threading system is already
688 2005-05-03 Andrew Overholt <overholt@redhat.com>
691 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
692 could not be acquired.
693 * java/nio/channels/FileLock.java (toString): Re-implement to be
694 in line with other implementations.
696 2005-05-03 Tom Tromey <tromey@redhat.com>
698 * java/lang/VMSecurityManager.java (currentClassLoader): Use
699 'systemClasssLoader' directly.
701 2005-05-03 Tom Tromey <tromey@redhat.com>
703 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
704 call VMClassLoader.getSystemClassLoader.
706 2005-04-29 Michael Koch <konqueror@gmx.de>
708 * java/net/NetworkInterface.java
710 (NetworkInterface(String,InetAddress)): Made package-private.
711 (NetworkInterface(String,InetAddress[])): New constructor.
712 (getRealNetworkInterfaces): Removed.
713 (getByName): Use VMNetworkInterface.getInterfaces().
714 (getByInetAddress): Likewise.
715 (getNetworkInterfaces): Likewise.
716 * java/net/VMNetworkInterface.java,
717 java/net/natVMNetworkInterfaceNoNet.cc,
718 java/net/natVMNetworkInterfacePosix.c,c
719 java/net/natVMNetworkInterfaceWin32.cc: New files.
720 * java/net/natNetworkInterfaceNoNet.cc,
721 java/net/natNetworkInterfacePosix.cc,
722 java/net/natNetworkInterfaceWin32.cc: Removed.
725 * configure, Makefile.in: Regenerated.
727 2005-04-29 Andrew Haley <aph@redhat.com>
729 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
731 2005-04-29 Dalibor Topic <robilad@kaffe.org>
733 * java/nio/channels/FileChannelImpl.java
734 (FileChannelImpl(String, int)): Removed.
735 (FileChannelImpl(File, int)): Added. Check if opened file is a
737 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
738 Call FileChannelImpl(File, int).
739 * java/io/FileOutputStream.java (FileInputStream): Call
740 FileChannelImpl(File, int).
741 * java/io/RandomAccessFile.java (RandomAccessFile):
742 Call FileChannelImpl(File, int). Switched constructors around.
744 2005-04-27 Andrew Haley <aph@redhat.com>
747 * prims.cc (_Jv_ResolvePoolEntry): New function.
748 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
749 * link.cc (_Jv_Linker::find_field): New arg: found_class.
750 (resolve_pool_entry): Initialize the class in which a field is
752 (link_symbol_table): Pass new arg to found_class.
754 2005-04-29 Michael Koch <konqueror@gmx.de>
756 * java/nio/charset/Charset.java
757 (provider): Reformatted.
759 2005-04-29 Michael Koch <konqueror@gmx.de>
761 * gnu/java/net/protocol/http/HTTPConnection.java:
762 (userAgent): Initialize from system properties.
763 (initUserAgent): Removed.
765 2005-04-29 Mark Wielaard <mark@klomp.org>
767 * java/util/ResourceBundle.java (getObject): Clarify
768 MissingResourceException detailed message.
769 (tryBundle(String,ClassLoader)): Likewise.
771 2005-04-29 Robert Schuster <thebohemian@gmx.net>
773 * java/beans/FeatureDescriptor.java:
774 (getShortDescription): Implemented fallback mechanism and fixed
775 documentation (fixes bug #12637).
776 (getDisplayName): Dito.
778 2005-04-29 Robert Schuster <thebohemian@gmx.net>
780 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
781 will now be set correctly.
782 (flushCaches): Now flushes all cached intermediate data.
784 2005-04-28 Michael Koch <konqueror@gmx.de>
786 * java/net/InetAddress.java
787 (aton): Fixed javadoc.
790 2005-04-28 Tom Tromey <tromey@redhat.com>
792 * javax/swing/Timer.java
793 (drainEvents, queueEvent): Now package-private.
795 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
797 * javax/swing/Timer.java
798 (constructor): Assigning initialDelay.
800 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
802 * javax/swing/Timer.java
803 (Waker.run): firing the first action event.
805 2005-04-28 Michael Koch <konqueror@gmx.de>
807 * javax/swing/Timer.java: Reordered all fields and methods,
810 2005-04-28 Michael Koch <konqueror@gmx.de>
812 * javax/swing/Timer.java: Javadocs merged
815 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
817 * gnu/java/net/protocol/file/Connection.java
818 (StaticData): New inner class to contain statics.
819 (connect, getHeaderField): Modified to use StaticData.
821 2005-04-28 Michael Koch <konqueror@gmx.de>
823 * gnu/java/net/protocol/file/Connection.java
824 (lineSeparator): Initialize with SystemProperties.getProperty().
826 2005-04-27 Chris Burdess <dog@gnu.org>
828 * gnu/java/net/protocol/file/Connection.java: Return correct content
829 length for directory listing.
830 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
831 #11285: return valid URLs for directories.i
833 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
835 * Makefile.am (ordinary_java_source_files): Add
836 gnu/java/net/protocol/https/Handler.java.
837 * Makefile.in: Regenerate.
838 * java/net/URL.java: Remove org.metastatic.jessie from default
839 protocol search path.
841 2005-04-27 Chris Burdess <dog@gnu.org>
843 * gnu/java/net/protocol/https/Handler.java: New file.
845 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
847 * javax/imageio/spi/IIORegistry.java (IIORegistry):
848 Don't assume that awt Toolkit is always ClasspathToolkit.
850 2005-04-27 Chris Burdess <dog@gnu.org>
852 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
853 absolute and relative paths in Location header.
855 2005-04-27 Chris Burdess <dog@gnu.org>
857 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
858 FileNotFoundException and implement getErrorStream on 404.
860 2005-04-27 Sven de Marothy <sven@physto.se>
862 * java/util/TimeZone.java,
863 (getDefaultDisplayName): Fix previous fix.
865 2005-04-27 Sven de Marothy <sven@physto.se>
867 * java/util/TimeZone.java,
868 (getDefaultDisplayName): Don't print zero offsets.
870 2005-04-27 Roman Kennke <roman@kennke.org>
872 * javax/swing/plaf/basic/BasicScrollBarUI
873 (getThumbBounds): Do not make thumb smaller than
875 * javax/swing/plaf/metal/MetalLookAndFeel
876 (initComponentDefaults): Added color defaults for ScrollBar.
877 * javax/swing/plaf/metal/MetalScrollBarUI
879 (getMinimumThumbSize): Added.
881 2005-04-27 Roman Kennke <roman@kennke.org>
883 * javax/swing/plaf/metal/MetalLookAndFeel
884 (initComponentDefaults): Added some default colors.
886 2005-04-27 Roman Kennke <roman@kennke.org>
888 * javax/swing/plaf/basic/BasicScrollBarUI.java
889 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
890 to 'ScrollBar.thumbShadow'. The formes does not exist.
891 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
893 2005-04-27 Roman Kennke <roman@kennke.org>
895 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
896 * javax/swing/BoxLayout.java: Likewise.
897 * javax/swing/UIManager.java: Likewise.
898 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
899 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
900 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
901 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
902 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
903 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
904 * javax/swing/text/Document.java: Likewise.
905 * javax/swing/text/GapContent.java: Likewise.
906 * javax/swing/text/SimpleAttributeSet.java: Likewise.
907 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
909 2005-04-27 Roman Kennke <roman@kennke.org>
911 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
912 (getPropertyPrefix): Added.
914 2005-04-27 Roman Kennke <roman@kennke.org>
916 * javax/swing/plaf/basic/BasicButtonUI.java
917 (getPropertyPrefix): Added.
918 (installDefaults): Use getPropertyPrefix instead of hard-coded
921 2005-04-27 Roman Kennke <roman@kennke.org>
923 * javax/swing/JToggleButton.java
924 (JToggleButton): Removed horizontalAlignment setting, this
925 was wrong. Added setting of an actionCommand, ToggleButtons
926 have "" as default actionCommand.
928 2005-04-27 Michael Koch <konqueror@gmx.de>
930 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
931 to work around CNI limitation.
933 2005-04-27 Sven de Marothy <sven@physto.se>
935 * java/nio/charset/Charset.java:
936 (defaultCharset()): New method.
937 Status updated to 1.5
939 2005-04-27 Sven de Marothy <sven@physto.se>
941 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
943 2005-04-27 Sven de Marothy <sven@physto.se>
945 * java/nio/charset/Charset.java: Reset cached de/encoders.
947 2005-04-27 Robert Schuster <thebohemian@gmx.net>
949 * java/nio/charset/Charset.java (forName): Throws
950 IllegalArgumentException when argument is null
951 and added documentation.
953 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
955 * java/nio/charset/Charset.java (providers):
956 New method to make an array of CharsetProviders defined in
957 META-INF/services/java.nio.charset.spi.CharsetProvider.
958 (charsetForName, availableCharsets): Use the
959 new method providers().
961 2005-04-26 Michael Koch <konqueror@gmx.de>
963 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
964 Fixed typos in javadocs.
965 (isSiteLocalAddress): Fixed handling of byte values.
966 (isMCLinkLocal): Likewise.
967 * java/net/Inet4Address.java
968 (isMulticastAddress): Call super method.
969 (isLoopbackAddress): Likewise.
970 (isAnyLocalAddress): Likewise.
971 (isLinkLocalAddress): Likewise.
972 (isSiteLocalAddress): Likewise.
973 (isMCGlobal): Likewise.
974 (isMCNodeLocal): Likewise.
975 (isMCLinkLocal): Likewise.
976 (isMCSiteLocal): Likewise.
977 (isMCOrgLocal): Likewise.
978 (getHostAddress): Likewise.
980 2005-04-26 Sven de Marothy <sven@physto.se>
982 * java/net/InetAddress.java
983 (toString): Don't print empty hostnames.
985 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
988 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
989 'false' to native lock().
990 (lock): Pass 'true' to native lock().
992 2005-04-26 Michael Koch <konqueror@gmx.de>
994 * java/net/InetAddress.java:
995 Fixed typos in javadocs.
997 2005-04-26 Andrew Haley <aph@redhat.com>
1000 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1003 2005-04-26 Tom Tromey <tromey@redhat.com>
1005 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1006 gnu): Now package-private.
1007 * javax/swing/text/html/parser/DocumentParser.java (parser,
1008 callBack, gnu): Now package-private.
1009 * javax/swing/text/StringContent.java (content, setOffset,
1010 checkLocation): Now package-private.
1011 * javax/swing/text/JTextComponent.java (doc): Now
1013 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1014 lastGoodOrientation, origParent, borders, cachedBounds,
1015 cachedOrientation, DragWindow): Now package-private.
1016 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1017 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1018 tabAreaRect, contentRect, createIncreaseButton,
1019 createDecreaseButton, findPointForIndex): Now package-private.
1020 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1021 (currentDividerLocation, moveDividerTo): Now package-private.
1022 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1024 * javax/swing/plaf/basic/BasicScrollBarUI.java
1025 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1026 Now package-private.
1027 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1028 (topWindowListener): Now package-private.
1029 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1030 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1031 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1033 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1035 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1036 Now package-private.
1037 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1039 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1040 borderInsets): Now package-private.
1041 (arrowButtonWidth): Likewise. Now a constant.
1042 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1043 makeTabs, updatePreviewPanel): Now package-private.
1044 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1045 darkShadow, highlight): Now package-private.
1046 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1047 (addColorToQueue): Now package-private.
1048 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1049 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1050 GSpinner, BSpinner): Now package-private.
1051 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1052 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1053 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1054 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1055 updateTrack): Now package-private.
1056 * javax/swing/TransferHandler.java (clipboard): Now
1058 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1060 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1062 * javax/swing/RepaintManager.java (globalManager): Now
1064 * javax/swing/JFormattedTextField.java (editValid): Now
1066 * javax/swing/JColorChooser.java (makeModal): Now
1068 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1069 index, path): Now package-private.
1070 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1071 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1072 pointEquals): Now package-private.
1073 * java/awt/geom/Arc2D.java (type): Now package-private.
1074 * java/awt/Window.java (windowFocusOwner): Now package-private.
1075 * java/awt/TextComponent.java (editable, selectionStart,
1076 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1078 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1080 * java/awt/MenuComponent.java (focusListener): Now
1082 * java/awt/Frame.java (state): Now package-private.
1083 * java/awt/Choice.java (pItems): Now package-private.
1084 * java/awt/Checkbox.java (state): Now package-private.
1085 * java/awt/Button.java (actionCommand, label): Now
1087 * gnu/javax/swing/text/html/parser/support/Parser.java
1088 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1090 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1092 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1093 clip, transform, font, comp): Now package-private.
1095 2005-04-26 Tom Tromey <tromey@redhat.com>
1097 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1100 2005-04-26 Mark Wielaard <mark@klomp.org>
1102 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1103 to MalformedURLException.
1105 2005-04-26 Michael Koch <konqueror@gmx.de>
1107 * java/security/AccessControlContext.java:
1109 (protectedDomains): Renamed from 'protectionDomain'.
1110 * java/security/AccessController.java:
1113 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1115 * gnu/java/security/action/GetSecurityPropertyAction.java
1116 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1117 of extending GetPropertyAction.
1120 (setParamters): New methods.
1121 (GetSecurityPropertyAction): Use new setParameters methods.
1123 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1125 * java/security/Security.java,
1126 java/security/cert/X509CRLSelector.java,
1127 java/security/cert/X509CertSelector.java:
1128 Modified to use SystemProperties.
1130 2005-04-26 Michael Koch <konqueror@gmx.de>
1132 * java/lang/System.java
1133 (setSecurityManager): Fixed comment.
1134 (getSecurityManager): Removed obsolete comment.
1136 2005-04-25 Tom Tromey <tromey@redhat.com>
1138 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1140 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1142 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1143 (connectSignals): Realize the window widget after connecting
1146 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1148 * java/awt/GraphicsEnvironment.java
1149 (localGraphicsEnvironment): New field.
1150 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1152 (isHeadless): Added support for java.awt.headless property.
1153 (isHeadlessInstance): Call headless().
1155 2005-04-25 Roman Kennke <roman@kennke.org>
1157 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1158 (getDisplayMode): Added. Returns the current display mode.
1159 (isFullScreenSupported): Added.
1160 * java/awt/GraphicsDevice.java
1161 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1162 This resizes and relocates the fullscreen window so that it uses
1163 the whole screen. This is not a fully accelerated fullscreen
1166 2005-04-25 Michael Koch <konqueror@gmx.de>
1168 * java/lang/Runtime.java,
1169 java/lang/SecurityManager.java,
1170 java/lang/System.java,
1171 java/lang/ThreadGroup.java:
1172 Replaced java.lang.Runtime.securityManager by
1173 java.lang.SecurityManager.current (as used in GNU classpath).
1175 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1177 * java/awt/Transparency.java
1178 (getTransparency): fixed API docs.
1180 2005-04-25 Archie Cobbs <archie@dellroad.org>
1182 * java/lang/Throwable.java: simplify initializing cause in constructor
1184 2005-04-25 Michael Koch <konqueror@gmx.de>
1186 * gnu/classpath/SystemProperties.java: New file.
1187 * gnu/classpath/natSystemProperties.cc: New file.
1188 * java/lang/Runtime.java
1189 (defaultProperties): Removed.
1191 (): Made thrown exceptions more verbose.
1192 (insertSystemProperties): Removed.
1193 * java/lang/System.java
1195 (properties): Likewise.
1196 (setSecurityManager): Reordered modifiers.
1197 (getenv): Improved javadoc.
1199 (isWordsBigEndian): Removed.
1200 * java/lang/natRuntime.cc
1201 (_Jv_SetDLLSearchPath): Likewise.
1202 (file_encoding): Likewise.
1203 (default_file_encoding): Likewise.
1204 (getpwuid_adaptor): Likewise.
1205 (insertSystemProperties): Likewise.
1206 * java/lang/natSystem.cc
1207 (isWordsBigEndian): Likewise.
1209 (ordinary_java_source_files):
1210 Added gnu/classpath/SystemProperties.java.
1211 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1212 * Makefile.in: Regenerated.
1214 2005-04-25 Roman Kennke <roman@kennke.org>
1216 * javax/swing/plaf/basic/BasicScrollBarUI.java
1217 (initDefaults): Initialize thumb*Color fields correctly.
1219 2005-04-25 Roman Kennke <roman@kennke.org>
1221 * javax/swing/text/GapContent.java:
1224 2005-04-25 Roman Kennke <roman@kennke.org>
1226 * javax/swing/plaf/metal/MetalBorders.java:
1227 Added inner class ScrollPaneBorder.
1228 * javax/swing/plaf/metal/MetalLookAndFeel.java
1229 (initComponentDefaults): Added default for "ScrollPane.border"
1230 to use the new ScrollPaneBorder.
1232 2005-04-25 Roman Kennke <roman@kennke.org>
1234 * javax/swing/text/AbstractDocument.java:
1235 Added FIXME comments. This class still has to be
1236 implemented thread-safe.
1238 2005-04-25 Roman Kennke <roman@kennke.org>
1240 * javax/swing/tree/DefaultTreeSelectionModel.java
1241 (DefaultTreeSelectionModel): Initialize listenerList here.
1243 2005-04-25 Roman Kennke <roman@kennke.org>
1245 * javax/swing/plaf/metal/MetalTextFieldUI.java
1246 (createUI): Return one instance per Component instead of a
1249 2005-04-25 Roman Kennke <roman@kennke.org>
1251 * javax/swing/text/Document.java:
1252 Added API documentation comments.
1254 2005-04-25 Roman Kennke <roman@kennke.org>
1256 * javax/swing/text/AbstractDocument.java
1257 (getDocumentProperties): Implemented.
1258 (setDocumentProperties): Implemented.
1259 (getProperty): Implemented.
1260 (putProperty): Implemented.
1262 2005-04-25 Roman Kennke <roman@kennke.org>
1264 * javax/swing/BoxLayout
1265 (preferredLayoutSize): Fixed computation so that it correctly
1266 adds the top and bottom insets of the container.
1268 2005-04-25 Roman Kennke <roman@kennke.org>
1270 * javax/swing/plaf/basic/BasicMenuItemUI.java
1271 (paintText): Make use of the 'selectionForeground' UI default
1274 2005-04-25 Roman Kennke <roman@kennke.org>
1276 * javax/swing/plaf/basic/BasicLookAndFeel.java
1277 (initSystemColorDefaults): Modified colors to match the
1278 BasicLookAndFeel in the reference implementation.
1279 (initComponentDefaults): Likewise.
1281 2005-04-25 Tom Tromey <tromey@redhat.com>
1283 * include/jni.h (_Jv_va_list): Removed.
1284 Moved configuration code...
1285 * include/jni_md.h: ... here. New file.
1286 * include/Makefile.in: Rebuilt.
1287 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1289 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1291 * java/io/FileInputStream.java (FileInputStream(File)),
1292 java/io/FileOutputStream.java (FileOutputStream(File)):
1293 Removed unnecessary File.isDirectory() check.
1295 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1297 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1298 gij if get_multilibs fails.
1300 2005-04-22 Anthony Green <green@redhat.com>
1302 * jni.cc (natrehash): Don't bother clearing memory again.
1303 * interpret.cc (do_allocate_static_fields): Ditto.
1304 * java/lang/natString.cc (rehash): Ditto.
1306 2005-04-22 Roman Kennke <roman@kennke.org>
1308 * javax/swing/plaf/basic/BasicLookAndFeel.java
1309 (initComponentDefaults): Changed Button.border to be
1310 BasicBorders.getButtonBorder as it should be.
1312 2005-04-22 Roman Kennke <roman@kennke.org>
1314 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1315 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1316 should according to a mauve testcase, instead of the preferred
1319 2005-04-22 Roman Kennke <roman@kennke.org>
1321 * javax/swing/JMenu.java
1322 (add): add(Component) now calls PopupMenu.insert(..) instead of
1323 PopupMenu.add(..). add(..) is not implemented for Component,
1324 so JComponent.add(..) is called instead, adding the component
1327 2005-04-22 Roman Kennke <roman@kennke.org>
1329 * javax/swing/plaf/basic/BasicButtonListener.java
1330 (mousePressed): replaced query to getModifiersEx with getModifiers.
1331 This method relied on faulty behaviour in getModifierEx.
1332 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1333 This method relied on faulty behaviour in getModifierEx.
1335 2005-04-22 Roman Kennke <roman@kennke.org>
1337 * javax/swing/plaf/metal/MetalLookAndFeel.java
1338 (getDefaults): Call addCustomEntriesToTable on the theme.
1340 2005-04-22 Roman Kennke <roman@kennke.org>
1342 * javax/swing/tree/DefaultTreeSelectionModel.java
1343 (constructor): Added implementation.
1344 (getRowMapper): Added implementation.
1345 (setSelectionMode): Added implementation.
1346 (getSelectionMode): Added implementation.
1347 (getSelectionPath): Added implementation.
1348 (getSelectionPaths): Added implementation.
1349 (getSelectionCount): Added implementation.
1350 (isSelectionEmpty): Added implementation.
1351 (getSelectionRows): Added implementation.
1352 (getMinSelectionRow): Added implementation.
1353 (getMaxSelectionRow): Added implementation.
1354 (getLeadSelectionRow): Added implementation.
1355 (getLeadSelectionPath): Added implementation.
1357 2005-04-22 Casey Marshall <csm@gnu.org>
1359 * gnu/java/security/der/DERValue.java
1360 (getValueAs): new method.
1361 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1362 (<init>): read both dates with 'DERValue.getValueAs', with
1363 'GENERALIZED_TIME' as the argument.
1365 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1367 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1368 be null, check for that case and don't deference it.
1370 2005-04-22 Sven de Marothy <sven@physto.se>
1372 * java/util/logging/LogManager.java: Reformatted.
1373 (readConfiguration): If a logger for a key is not found, create one.
1375 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1377 * java/rmi/Naming.java:
1378 Added class documentation.
1379 (lookup(String)): Call parseURL and getName.
1380 (bind(String,java.rmi.Remote)): Likewise.
1381 (unbind(String)): Likewise.
1382 (rebind(String, java.rmi.Remote)): Likewise.
1383 (list(String)): Call parseURL.
1384 (parseURL(String)): New method to handle parsing and defaults.
1385 (getName(java.net.URL)): New method to handle finding the service name.
1387 2005-04-21 Tom Tromey <tromey@redhat.com>
1389 * java/lang/natClass.cc (initializeClass): Link class.
1391 2005-04-21 Tom Tromey <tromey@redhat.com>
1393 * java/lang/AssertionError.java: Typo fix.
1395 2005-04-21 Tom Tromey <tromey@redhat.com>
1397 * java/lang/VMClassLoader.java (transformException): Removed.
1398 (resolveClass): No longer native. Now does nothing.
1399 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1401 2005-04-21 Anthony Green <green@redhat.com>
1404 * testsuite/libjava.special/special.exp,
1405 testsuite/libjava.special/pr21115I.java,
1406 testsuite/libjava.special/pr21115.java,
1407 testsuite/libjava.special/pr21115.out: New files.
1409 2005-04-21 Chris Burdess <dog@gnu.org>
1411 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1412 CRLF-delimited chunks.
1414 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1416 * java/net/URI.java:
1417 Added class documentation.
1418 (parseURI(String)): Only handle scheme-specific parts
1419 if URI is not opaque. Allow for parts that can't be null.
1420 (toString()): Output the scheme-specific part whole, rather
1421 than as its possibly non-existent components.
1423 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1425 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1426 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1427 Adjusted to match new regexp.
1429 2005-04-20 Michael Koch <konqueror@gmx.de>
1431 * gnu/java/net/protocol/file/Connection.java,
1432 gnu/java/net/protocol/jar/Connection.java:
1433 Reorganized import statements. Fixed @author tags.
1435 2005-04-20 Chris Burdess <dog@gnu.org>
1437 * java/io/DataOutputStream.java (writeUTF): Use block write for
1440 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1442 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1443 (readLine): Changed newline handling.
1445 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1447 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1448 ColorModel,byte[],int,int): Fixed byte to int conversion.
1450 2005-04-20 Michael Koch <konqueror@gmx.de>
1452 * java/io/FilePermission.java
1453 (serialVersionUID): Made private.
1454 (ALL_FILES): New constant.
1455 (implies): Handle '<<ALL FILES>>' case.
1457 2005-04-20 Sven de Marothy <sven@physto.se>
1459 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1460 (drawImage): Don't notify the image observer for offscreen images.
1461 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1462 (setPixels): Don't notify the image observer.
1464 2005-04-20 Sven de Marothy <sven@physto.se>
1466 * java/nio/ByteBufferImpl.java:
1467 (putChar): Inlined for speed.
1468 (put, get): Bulk methods can use arraycopy.
1469 * java/nio/CharBufferImpl.java:
1470 (put, get): Bulk methods can use arraycopy.
1472 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1474 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1476 * java/nio/CharBufferImpl.java
1477 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1478 (get(), put(char)): Inlined checks and field updates. Fixed to
1479 take array_offset into account.
1480 (get(int), put(int, char)): Fixed to take array_offset into account.
1482 2005-04-20 Sven de Marothy <sven@physto.se>
1484 * java/text/SimpleDateFormat.java:
1485 (formatWithAttribute): Pad year before truncating digits.
1487 2005-04-20 Michael Koch <konqueror@gmx.de>
1489 * gnu/java/net/PlainDatagramSocketImpl.java:
1490 Merged copyright header.
1491 * gnu/java/net/PlainSocketImpl.java:
1492 Reorganized import statements. Fixed @author tags.
1494 2005-04-20 Michael Koch <konqueror@gmx.de>
1496 * gnu/java/lang/ClassHelper.java,
1497 gnu/java/lang/reflect/TypeSignature.java:
1500 2005-04-20 Michael Koch <konqueror@gmx.de>
1502 * gnu/java/beans/IntrospectionIncubator.java:
1503 Fixed HTML tags in javadocs.
1505 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1507 * gnu/java/beans/IntrospectionIncubator.java
1508 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1509 set(), is(), add() and remove() with properties or events.
1511 2005-04-20 Michael Koch <konqueror@gmx.de>
1513 * gnu/java/awt/image/XBMDecoder.java:
1514 Fixed modifier order.
1516 2005-04-20 Roman Kennke <roman@kennke.org>
1518 * javax/swing/plaf/basic/BasicButtonUI.java
1519 (paint): This should not care about margin and insets
1520 at the same time, as insets already include the margin
1522 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1523 (getPreferredButtonSize): Likewise.
1524 * javax/swing/plaf/metal/MetalBorders.java
1525 (getBorderInsets): Likewise.
1527 2005-04-20 Roman Kennke <roman@kennke.org>
1529 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1530 (createMessageArea): The JPanel that holds the message area
1531 doesn't need to override getPreferredSize. This prevents some
1532 message components from rendering nicely.
1534 2005-04-20 Roman Kennke <roman@kennke.org>
1536 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1537 (createUI): Do not share instances between components.
1538 * javax/swing/plaf/metal/MetalSliderUI.java
1539 (createUI): Do not share instances between components.
1541 2005-04-20 Roman Kennke <roman@kennke.org>
1543 * javax/swing/plaf/metal/MetalBorders:
1544 (PopupMenuBorder): Added.
1545 * javax/swing/plaf/metal/MetalLookAndFeel
1546 (initComponentDefaults): Added PopupMenuBorder.
1548 2005-04-20 Roman Kennke <roman@kennke.org>
1550 * javax/swing/tree/DefaultTreeSelectionModel.java:
1551 Added API documentation all over the class.
1553 2005-04-20 Roman Kennke <roman@kennke.org>
1555 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1556 (installDefaults): Link managed JScrollPane in instance field.
1557 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1559 2005-04-20 Roman Kennke <roman@kennke.org>
1561 * javax/swing/plaf/basic/BasicScrollBarUI.java
1562 (PropertyChangeHandler.propertyChange): Add default
1563 to switch statement to avoid errors with unusual values
1565 (installComponents): Likewise.
1567 2005-04-20 Roman Kennke <roman@kennke.org>
1569 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1570 (createUI): Instances cannot be shared among JScrollPanes.
1572 2005-04-20 Roman Kennke <roman@kennke.org>
1574 * javax/swing/plaf/metal/MetalLookAndFeel.java
1575 (initComponentDefaults): Added defaults for Menu, MenuBar
1578 2005-04-20 Roman Kennke <roman@kennke.org>
1580 * javax/swing/plaf/basic/BasicScrollBarUI.java
1581 (installUI): Install listeners after everything all, otherwise
1582 we get strange NPEs in some situations, especially with
1584 (createIncreaseButton): Orientation is expected to be
1585 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1586 HORIZONTAL or VERTICAL.
1587 (createDecreaseButton): Orientation is expected to be
1588 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1589 HORIZONTAL or VERTICAL.
1590 (installComponents): Orientation for buttons is expected to be
1591 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1592 HORIZONTAL or VERTICAL.
1594 2005-04-20 Roman Kennke <roman@kennke.org>
1596 * javax/swing/JToolBar.java
1597 (addImpl): Adjust added AbstractButtons to look and feel like
1599 * javax/swing/plaf/metal/MetalBorders.java:
1600 Adjusted insets of ButtonBorder.
1601 (RolloverMarginBorder): Added class for toolbar buttons.
1602 (getButtonBorder): Adjusted factory method to return a shared
1603 instance of button border.
1604 (getToolbarButtonBorder): Added factory method to return a shared
1605 instance of toolbar button border.
1606 (getMarginBorder): Added factory method to return a shared
1607 instance of margin border.
1608 * javax/swing/plaf/metal/MetalButtonUI.java
1609 (installDefauls): If button is child of a JToolBar then set
1610 special border on this button.
1612 2005-04-20 Michael Koch <konqueror@gmx.de>
1614 * java/net/URLConnection.java
1615 (getContent): Fixed javadoc comment.
1617 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1619 * java/net/URL.java:
1620 (toURI()): Implemented.
1622 2005-04-19 Michael Koch <konqueror@gmx.de>
1624 * java/net/InetAddress.java
1625 (InetAddress): Fixed javadoc comment.
1627 (lookup): Added javadoc.
1628 (getFamily): Likewise.
1629 * java/net/ServerSocket.java
1630 (getChannel): Improved javadoc comment.
1632 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1634 * gnu/xml/dom/html2/DomHTMLParser.java:
1635 Changed 'enum' references to become 'enumeration'.
1637 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1639 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1641 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1643 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1644 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1645 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1646 (validateParameters(TagElement,htmlAttributeSet)):
1647 Replaced 'enum' with 'enumeration'.
1648 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1651 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1653 * javax/swing/text/html/parser/Entity.java (getType): New method.
1654 * javax/swing/text/html/parser/DocumentParser.java:
1655 Inherit from javax.swing.text.html.parser.Parser.
1657 2005-04-19 Chris Burdess <dog@gnu.org>
1659 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1660 check for HTML/XHTML namespace.
1662 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1664 * javax/swing/text/html/parser/Parser.java,
1665 javax/swing/text/html/parser/Entity.java:
1666 Inheriting from DTDConstants.
1667 * javax/swing/text/html/parser/AttributeList.java
1668 (getValues): Changed return type.
1669 * javax/swing/text/html/parser/DocumentParser
1670 (parse): Adding the callback parameter that receives
1673 2005-04-19 Chris Burdess <dog@gnu.org>
1675 * gnu/xml/dom/DomImpl.java,
1676 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1677 gnu/xml/dom/html2/DomHTMLDocument.java,
1678 gnu/xml/dom/html2/DomHTMLElement.java,
1679 gnu/xml/dom/html2/DomHTMLFormElement.java,
1680 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1681 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1682 gnu/xml/dom/html2/DomHTMLImpl.java,
1683 gnu/xml/dom/html2/DomHTMLInputElement.java,
1684 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1685 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1686 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1687 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1688 gnu/xml/dom/html2/DomHTMLTableElement.java,
1689 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1690 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1691 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1692 UI events, and tree utility functions.
1694 2005-04-19 Michael Koch <konqueror@gmx.de>
1696 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1697 gnu/javax/swing/text/html/parser/gnuDTD.java,
1698 gnu/javax/swing/text/html/parser/models/node.java:
1699 Reworked import statements.
1701 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1703 * javax/swing/text/html/HTMLDocument.java: New file.
1705 2005-04-19 Michael Koch <konqueror@gmx.de>
1707 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1709 * javax/swing/text/html/parser/AttributeList.java:
1710 Fixed order of modifiers.
1711 (AttributeList): Made final.
1712 * javax/swing/text/html/parser/ContentModel.java:
1713 Fixed html characters in javadocs.
1714 * javax/swing/text/html/parser/DTD.java
1715 (DTD): Don't implement java.io.Serializable directly.
1716 (getElement): Simplified.
1717 * javax/swing/text/html/parser/DTDConstants.java:
1719 * javax/swing/text/html/parser/Element.java:
1720 Fixed order of modifiers.
1721 * javax/swing/text/html/parser/Parser.java:
1722 Reformatted. Don't use fully-qualified class names.
1723 * javax/swing/text/html/parser/ParserDelegator.java:
1724 Fixed order of modifiers.
1725 * javax/swing/text/rtf/RTFParser.java:
1726 Re-ordered import statements.
1727 * javax/swing/text/rtf/RTFScanner.java:
1728 Removed unused import statement.
1730 2005-04-19 Chris Burdess <dog@gnu.org>
1732 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1733 gnu/xml/dom/html2/DomHTMLCollection.java,
1734 gnu/xml/dom/html2/DomHTMLDocument.java,
1735 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1737 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1738 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1739 gnu/xml/dom/html2/DomHTMLDivElement.java,
1740 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1741 gnu/xml/dom/html2/DomHTMLFontElement.java,
1742 gnu/xml/dom/html2/DomHTMLFormElement.java,
1743 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1744 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1745 gnu/xml/dom/html2/DomHTMLHRElement.java,
1746 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1747 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1748 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1749 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1750 gnu/xml/dom/html2/DomHTMLImageElement.java,
1751 gnu/xml/dom/html2/DomHTMLInputElement.java,
1752 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1753 gnu/xml/dom/html2/DomHTMLLIElement.java,
1754 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1755 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1756 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1757 gnu/xml/dom/html2/DomHTMLMapElement.java,
1758 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1759 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1760 gnu/xml/dom/html2/DomHTMLModElement.java,
1761 gnu/xml/dom/html2/DomHTMLOListElement.java,
1762 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1763 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1764 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1765 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1766 gnu/xml/dom/html2/DomHTMLParamElement.java,
1767 gnu/xml/dom/html2/DomHTMLPreElement.java,
1768 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1769 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1770 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1771 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1772 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1773 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1774 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1775 gnu/xml/dom/html2/DomHTMLTableElement.java,
1776 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1777 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1778 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1779 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1780 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1782 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1784 * javax/swing/text/ChangedCharSetException.java,
1785 javax/swing/text/html/HTMLEditorKit.java,
1786 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1787 javax/swing/text/html/parser/AttributeList.java,
1788 javax/swing/text/html/parser/ContentModel.java,
1789 javax/swing/text/html/parser/DocumentParser.java,
1790 javax/swing/text/html/parser/DTD.java,
1791 javax/swing/text/html/parser/DTDConstants.java,
1792 javax/swing/text/html/parser/Element.java,
1793 javax/swing/text/html/parser/Entity.java,
1794 javax/swing/text/html/parser/Parser.java,
1795 javax/swing/text/html/parser/TagElement.java,
1796 gnu/javax/swing/text/html/package.html,
1797 gnu/javax/swing/text/html/parser/gnuDTD.java,
1798 gnu/javax/swing/text/html/parser/HTML_401F.java,
1799 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1800 gnu/javax/swing/text/html/parser/htmlValidator.java,
1801 gnu/javax/swing/text/html/parser/package.html,
1802 gnu/javax/swing/text/html/parser/models/list.java,
1803 gnu/javax/swing/text/html/parser/models/node.java,
1804 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1805 gnu/javax/swing/text/html/parser/models/package.html,
1806 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1807 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1808 gnu/javax/swing/text/html/parser/models/transformer.java,
1809 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1810 gnu/javax/swing/text/html/parser/support/package.html,
1811 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1812 gnu/javax/swing/text/html/parser/support/Parser.java,
1813 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1814 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1815 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1816 gnu/javax/swing/text/html/parser/support/low/Location.java,
1817 gnu/javax/swing/text/html/parser/support/low/node.java,
1818 gnu/javax/swing/text/html/parser/support/low/package.html,
1819 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1820 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1821 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1822 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1824 * javax/swing/text/html/HTML.java,
1825 javax/swing/text/html/parser/ParserDelegator.java:
1826 New files (replacing).
1827 * javax/swing/text/html/package.html,
1828 javax/swing/text/html/parser/package.html: Documenting the
1831 2005-04-19 Chris Burdess <dog@gnu.org>
1833 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1834 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1835 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1836 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1837 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1838 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1839 gnu/xml/dom/html2/DomHTMLBRElement.java,
1840 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1841 gnu/xml/dom/html2/DomHTMLCollection.java,
1842 gnu/xml/dom/html2/DomHTMLDocument.java,
1843 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1845 2005-04-19 Michael Koch <konqueror@gmx.de>
1847 * Makefile.am: Added new files.
1848 * Makefile.in: Regenerated.
1850 2005-04-19 Roman Kennke <roman@kennke.org>
1852 * javax/swing/text/JTextComponent.java
1853 (JTextComponent): Added repaintListener which issues repaint
1854 requests when the underlying document changes.
1855 (setDocument): Adds repaintListener to document when the
1856 document is changed.
1857 * javax/swing/text/DefaultEditorKit.java:
1858 Removed repaint calls on JTextComponent. This is now handled
1859 through a DocumentListener in JTextComponent that repaints
1860 the component when needed.
1862 2005-04-19 Roman Kennke <roman@kennke.org>
1865 * javax/swing/text/StyleContext.java
1866 (NamedStyle.setResolveParent): Added null
1869 2005-04-19 Michael Koch <konqueror@gmx.de>
1871 * java/rmi/server/RemoteObject.java:
1872 Removed unused import statement.
1874 2005-04-19 Michael Koch <konqueror@gmx.de>
1876 * java/net/URL.java: Formatting cleanups.
1878 2005-04-19 Michael Koch <konqueror@gmx.de>
1880 * java/awt/FontMetrics.java: Reformatted.
1881 (getFontRenderContext): Handle case when java.awt.Graphics context is
1884 2005-04-19 Michael Koch <konqueror@gmx.de>
1886 * java/awt/FontMetrics.java
1887 (getStringBounds): New methods.
1890 2005-04-19 Michael Koch <konqueror@gmx.de>
1892 * gnu/java/security/x509/X509Certificate.java
1893 (parse): Handle val == null case.
1895 2005-04-19 Roman Kennke <roman@kennke.org>
1897 * javax/swing/plaf/metal/MetalLookAndFeel.java
1898 (initComponentDefaults): Added defaults for Menu, MenuBar
1901 2005-04-19 Roman Kennke <roman@kennke.org>
1903 * javax/swing/plaf/metal/MetalLookAndFeel.java
1904 (initComponentDefaults): Added Label.font.
1905 (initSystemColorDefaults): Added this method and adjusted the
1906 general control color.
1908 2005-04-19 Roman Kennke <roman@kennke.org>
1910 * javax/swing/plaf/metal/MetalBorders.java:
1912 * javax/swing/plaf/metal/MetalButtonUI.java:
1913 (installDefaults): Install button font.
1914 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1915 (initComponentDefaults): Added button border, font and margin.
1916 Changed components background color to the Metal current themes
1919 2005-04-19 Roman Kennke <roman@kennke.org>
1921 * javax/swing/plaf/metal/MetalLookAndFeel.java
1922 (initComponentDefaults): Added to set Metal specific component
1925 2005-04-19 Mark Wielaard <mark@klomp.org>
1927 * javax/swing/plaf/metal/MetalLookAndFeel.java
1928 (initClassDefaults): Call super.initClassDefaults().
1930 2005-04-19 Roman Kennke <roman@kennke.org>
1932 * javax/swing/plaf/metal/MetalLookAndFeel.java
1933 (initClassDefaults): Added to include the *UI classes.
1935 2005-04-19 Roman Kennke <roman@kennke.org>
1937 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1939 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1941 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1943 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1945 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1947 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1949 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1951 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1953 * javax/swing/plaf/metal/MetalSliderUI.java:
1955 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1957 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1959 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1961 2005-04-19 Roman Kennke <roman@kennke.org>
1963 * javax/swing/plaf/metal/MetalButtonUI.java:
1964 Added skeleton class.
1965 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1966 Added skeleton class.
1967 * javax/swing/plaf/metal/MetalLabelUI.java:
1968 Added skeleton class.
1969 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1970 Added skeleton class.
1971 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1972 Added skeleton class.
1973 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1974 Added skeleton class.
1976 2005-04-19 Roman Kennke <roman@kennke.org>
1978 * javax/swing/UIDefaults.java:
1979 Added API documentation for all methods.
1981 2005-04-19 Roman Kennke <roman@kennke.org>
1983 * javax/swing/UIDefaults.java
1984 (put): Now uses new checkAndPut method instead of checking
1986 (putDefaults): Fixed so that it accepts null-values and
1987 treats them like remove(key).
1988 (checkAndPut): Added. This checks for null-values and calls
1991 2005-04-19 Michael Koch <konqueror@gmx.de>
1993 * Makefile.am: Added new files.
1994 * Makefile.in: Regenerated.
1996 2005-04-19 Mark Wielaard <mark@klomp.org>
1998 * java/lang/natRuntime.cc (insertSystemProperties): Set
1999 java.class.path to CLASSPATH only when not empty. Fall back to
2000 default path "." when java.class.path is empty.
2002 2005-04-19 Michael Koch <konqueror@gmx.de>
2004 * javax/swing/text/rtf/ControlWordToken.java,
2005 javax/swing/text/rtf/RTFEditorKit.java,
2006 javax/swing/text/rtf/RTFParseException.java,
2007 javax/swing/text/rtf/RTFParser.java,
2008 javax/swing/text/rtf/RTFScanner.java,
2009 javax/swing/text/rtf/TextToken.java,
2010 javax/swing/text/rtf/Token.java: New files.
2011 * Makefile.am: Added new files.
2012 * Makefile.in: Regenerated.
2014 2005-04-19 Michael Koch <konqueror@gmx.de>
2016 * java/awt/geom/QuadCurve2D.java:
2017 Fixed Brian Gough's name for real.
2019 2005-04-19 Roman Kennke <roman@kennke.org>
2021 * javax/swing/UIManager.java:
2022 Make the UIManager respect the swing.defaultlaf system
2025 2005-04-19 Tom Tromey <tromey@redhat.com>
2027 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2030 2005-04-19 Roman Kennke <roman@kennke.org>
2032 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2033 Fixed tabs to spaces.
2035 2005-04-19 Roman Kennke <roman@kennke.org>
2037 * javax/swing/plaf/basic/BasicMenuUI.java
2038 (getMaximumSize): Now returns preferredSize because JMenu should
2039 never be bigger than that.
2040 * javax/swing/JRootPane
2041 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2043 2005-04-19 Roman Kennke <roman@kennke.org>
2045 * javax/swing/JRootPane.java:
2046 Fixed various tabs to be spaces.
2047 (RootLayout.layoutContainer): Made menubar left aligned.
2049 2005-04-19 Roman Kennke <roman@ontographics.com>
2051 * javax/swing/JList.java
2052 (getPreferredScrollableViewportSize):
2053 The previous implementation was merely guessing the size,
2054 now it respects layoutOrientation, visibleRowCount
2056 (getScrollableTracksViewportHeight):
2057 Reimplemented so that layoutOrientation, visibleRowCount
2058 and preferred size are respected.
2059 (getScrollableTracksViewportWidth):
2060 Reimplemented so that layoutOrientation, visibleRowCount
2061 and preferred size are respected.
2062 * javax/swing/plaf/basic/BasicListUI.java
2064 Improved calculation of preferredSize when JList is
2065 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2067 The previous implementation assumed a layoutOrientation of
2068 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2069 JList.VERTICAL_WRAP.
2071 2005-04-19 Roman Kennke <roman@ontographics.com>
2073 * javax/swing/plaf/basic/BasicListUI.java
2074 (paintCell): use CellRendererPane for painting the cells.
2076 2005-04-19 Roman Kennke <roman@ontographics.com>
2078 * javax/swing/plaf/basic/BasicListUI:
2079 fixed modifiers of several fields, methods and inner
2080 classes to match the 'spec'.
2081 (getMaximumSize): removed. It's not in the spec and the
2082 implementations was superfluous.
2084 2005-04-19 Roman Kennke <roman@ontographics.com>
2086 * javax/swing/plaf/basic/BasicListUI:
2087 make BasicListUI capable of wrapping lists
2088 (layoutOrientation property of javax.swing.JList)
2090 2005-04-19 Roman Kennke <roman@ontographics.com>
2092 * javax/swing/plaf/basic/BasicListUI
2093 (updateLayoutState,paint): make BasicListUI aware of the
2094 width of the rendered JList.
2096 2005-04-19 Roman Kennke <roman@kennke.org>
2098 * javax/swing/ImageIcon.java
2099 Added API documentation.
2101 2005-04-19 Roman Kennke <roman@kennke.org>
2103 * javax/swing/text/ImageIcon.java
2104 (ImageIcon): Use setImage instead of direct assignment.
2105 (setImage): Call loadImage to make sure that the image is loaded.
2106 (loadImage): Waits for the image to complete loading.
2107 (getImageLoadStatus): Added. Returns the load status of the
2110 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2112 * javax/swing/JTextArea.java (replaceRange):
2113 Fixing doc.remove(start, length) misinterpretation.
2115 2005-04-19 Roman Kennke <roman@ontographics.com>
2117 * javax/swing/CellRendererPane.java:
2118 implemented all methods of this class.
2119 reformatted all wrong formatted code.
2121 2005-04-19 Roman Kennke <roman@kennke.org>
2123 * javax/swing/BoxLayout.java:
2124 (layoutContainer): Made this layout manager respect the
2125 minimum, maximum and preferred size more correctly.
2127 2005-04-19 Roman Kennke <roman@ontographics.com>
2129 * javax/swing/BoxLayout.java:
2130 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2131 layoutContainer): Make these methods and thereby the
2132 BoxLayout respect the insets (like borders) of the
2133 component that is laid out.
2135 2005-04-19 Roman Kennke <roman@kennke.org>
2137 * javax/swing/JComponent.java:
2138 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2139 Untabified the file.
2141 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2143 * javax/swing/JComboBox.java (constructors): selecting the
2144 first item if the box was constructed from the provided
2145 non - empty array or vector.
2147 2005-04-19 Michael Koch <konqueror@gmx.de>
2149 * gnu/java/awt/peer/gtk/GdkGraphics.java
2150 (getClipBounds): Handle clip being null.
2151 (setClip): Likewise.
2152 * java/beans/beancontext/BeanContextSupport.java
2156 (removeAll): Likewise.
2157 (retainAll): Likewise.
2159 2005-04-19 Michael Koch <konqueror@gmx.de>
2161 * java/beans/beancontext/BeanContextServicesSupport.java
2162 (BeanContextServicesSupport): Reimplemented.
2163 (addBeanContextServicesListener): Implemented.
2164 (initialize): Likewise.
2165 (removeBeanContextServicesListener): Likewise.
2166 * java/beans/beancontext/BeanContextSupport.java
2168 (addBeanContextMembershipListener): Likewise.
2169 (getLocale): Likewise.
2170 (initialize): Likewise.
2171 (iterator): Likewise.
2173 (toArray): Likewise.
2175 2005-04-19 Roman Kennke <roman@kennke.org>
2177 * java/awt/MediaTracker.java:
2178 Reindented tabs to spaces.
2180 2005-04-19 Roman Kennke <roman@kennke.org>
2182 * java/awt/MediaTracker.java
2183 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2184 confused the media tracker and lead to lockups. The LOADING
2185 bit is handled on other places.
2186 (addImage): Removed the 'start image tracking' stuff. This
2187 is not necessary and could confuse the media tracker.
2188 (checkAll): Improved the check for image status so that
2189 images that already complete images are detected. Also now
2190 are really all images checked and if necessary loaded. Before
2191 the method bailed out after the first incomplete image.
2192 (statusAll): Detect images that are complete after the
2193 call to Component.prepareImage(..).
2194 (checkID): The same as in checkAll.
2195 (statusID): The same as in statusAll.
2197 2005-04-19 Roman Kennke <roman@kennke.org>
2199 * java/awt/MediaTracker.java
2200 (addImage): Synchronized list access.
2201 (waitForAll): Fixed comparison of time (changed < to >).
2202 (waitForID): Fixed comparison of time (changed < to >).
2203 (removeImage): Synchronized list access.
2205 2005-04-19 Roman Kennke <roman@kennke.org>
2207 * java/awt/MediaTracker.java
2208 Added API documentation.
2210 2005-04-19 Roman Kennke <roman@kennke.org>
2212 * java/awt/MediaTracker.java
2213 (MediaEntry.imageUpdate): Fixed flags. The different flags
2214 must not be ORed together.
2215 (checkAll): Modified to handle different meaning of the flags.
2216 (waitForAll): Fixed so that it waits maximum the
2217 specified amount of milliseconds.
2218 (statusAll): Modified to handle different meaning of the flags.
2219 (waitForID): Fixed so that it waits maximum the
2220 specified amount of milliseconds.
2222 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2224 * java/awt/Font.java (decode): Handle null argument and allow
2227 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2229 * java/beans/EventHandler.java: Reworked documentation.
2230 (invoke): Fixed behavior to match spec.
2232 2005-04-19 Michael Koch <konqueror@gmx.de>
2234 * java/awt/print/PrinterJob.java
2235 (pageDialog): New method.
2236 (printDialog): Implemented.
2238 2005-04-19 Michael Koch <konqueror@gmx.de>
2240 * java/awt/image/ConvolveOp.java:
2241 Removed comment added by eclipse.
2243 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2245 * java/awt/image/IndexColorModel.java
2246 (getRGB): Check if pixel is negative.
2248 2005-04-19 Michael Koch <konqueror@gmx.de>
2250 * java/awt/image/RasterOp.java:
2251 Fixed wrong formatting.
2253 2005-04-18 Roman Kennke <roman@kennke.org>
2255 * java/awt/Compmonent.java
2256 (setComponentOrientation): Made this property firing a
2257 PropertyChangeEvent.
2259 2005-04-18 Roman Kennke <roman@kennke.org>
2261 * java/awt/BorderLayout.java
2262 (calcSize): Check for overflow when component sizes are added.
2264 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2266 * java/awt/AWTEvent.java (toString): Added case
2267 for source not being an AWT component.
2269 2005-04-18 Chris Burdess <dog@gnu.org>
2271 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2273 2005-04-18 Michael Koch <konqueror@gmx.de>
2275 gnu/java/awt/EmbeddedWindowSupport.java,
2276 gnu/java/net/HeaderFieldHelper.java,
2277 gnu/java/net/URLParseError.java,
2278 gnu/java/net/protocol/file/Handler.java,
2279 gnu/java/net/protocol/jar/Handler.java:
2280 Fixed usage of @author tag.
2282 2005-04-18 Michael Koch <konqueror@gmx.de>
2284 * gnu/xml/aelfred2/XmlParser.java:
2285 Reverted my typo fix.
2287 2005-04-18 Michael Koch <konqueror@gmx.de>
2289 * java/awt/geom/CubicCurve2D.java,
2290 java/awt/geom/QuadCurve2D.java:
2291 Fixed mentioning of Brian Gouph.
2293 2005-04-18 Michael Koch <konqueror@gmx.de>
2295 * gnu/java/awt/Buffers.java,
2296 gnu/java/awt/image/ImageDecoder.java,
2297 gnu/java/awt/image/XBMDecoder.java,
2298 gnu/java/awt/peer/ClasspathFontPeer.java,
2299 gnu/java/net/CRLFInputStream.java,
2300 gnu/java/net/EmptyX509TrustManager.java,
2301 gnu/java/net/LineInputStream.java,
2302 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2303 gnu/java/net/protocol/ftp/BlockInputStream.java,
2304 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2305 gnu/java/net/protocol/ftp/DTP.java,
2306 gnu/java/net/protocol/ftp/DTPInputStream.java,
2307 gnu/java/net/protocol/ftp/FTPConnection.java,
2308 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2309 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2310 gnu/java/net/protocol/ftp/StreamInputStream.java,
2311 gnu/java/net/protocol/http/ChunkedInputStream.java,
2312 gnu/java/net/protocol/http/HTTPConnection.java,
2313 gnu/java/net/protocol/http/HTTPURLConnection.java,
2314 gnu/java/net/protocol/http/Headers.java,
2315 gnu/java/net/protocol/http/Request.java,
2316 gnu/java/nio/ChannelInputStream.java,
2317 gnu/java/nio/ChannelOutputStream.java,
2318 gnu/java/nio/InputStreamChannel.java,
2319 gnu/java/nio/OutputStreamChannel.java,
2320 gnu/java/nio/SelectorProviderImpl.java,
2321 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2322 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2323 gnu/java/rmi/dgc/DGCImpl.java,
2324 gnu/java/rmi/registry/RegistryImpl.java,
2325 gnu/java/rmi/server/ProtocolConstants.java,
2326 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2327 gnu/java/rmi/server/RMIIncomingThread.java,
2328 gnu/java/rmi/server/RMIObjectInputStream.java,
2329 gnu/java/rmi/server/RMIObjectOutputStream.java,
2330 gnu/java/rmi/server/RMIVoidValue.java,
2331 gnu/java/rmi/server/UnicastConnectionManager.java,
2332 gnu/java/rmi/server/UnicastRef.java,
2333 gnu/java/rmi/server/UnicastRemoteCall.java,
2334 gnu/java/rmi/server/UnicastRemoteStub.java,
2335 gnu/java/rmi/server/UnicastServerRef.java,
2336 gnu/java/security/OID.java,
2337 gnu/java/security/der/DERReader.java,
2338 gnu/java/security/provider/CollectionCertStoreImpl.java,
2339 gnu/java/security/provider/DSAParameterGenerator.java,
2340 gnu/java/security/provider/DefaultPolicy.java,
2341 gnu/java/security/provider/EncodedKeyFactory.java,
2342 gnu/java/security/provider/GnuDHPublicKey.java,
2343 gnu/java/security/provider/GnuDSAPrivateKey.java,
2344 gnu/java/security/provider/GnuDSAPublicKey.java,
2345 gnu/java/security/provider/GnuRSAPrivateKey.java,
2346 gnu/java/security/provider/GnuRSAPublicKey.java,
2347 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2348 gnu/java/security/provider/RSA.java,
2349 gnu/java/security/provider/SHA1PRNG.java,
2350 gnu/java/security/provider/SHA1withRSA.java,
2351 gnu/java/security/provider/X509CertificateFactory.java,
2352 gnu/java/security/x509/GnuPKIExtension.java,
2353 gnu/java/security/x509/X500DistinguishedName.java,
2354 gnu/java/security/x509/X509CRL.java,
2355 gnu/java/security/x509/X509CRLEntry.java,
2356 gnu/java/security/x509/X509CertPath.java,
2357 gnu/java/security/x509/X509CertSelectorImpl.java,
2358 gnu/java/security/x509/X509Certificate.java,
2359 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2360 gnu/java/security/x509/ext/BasicConstraints.java,
2361 gnu/java/security/x509/ext/CRLNumber.java,
2362 gnu/java/security/x509/ext/CertificatePolicies.java,
2363 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2364 gnu/java/security/x509/ext/Extension.java,
2365 gnu/java/security/x509/ext/GeneralNames.java,
2366 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2367 gnu/java/security/x509/ext/KeyUsage.java,
2368 gnu/java/security/x509/ext/PolicyConstraint.java,
2369 gnu/java/security/x509/ext/PolicyMappings.java,
2370 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2371 gnu/java/security/x509/ext/ReasonCode.java,
2372 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2373 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2374 Reorganized import statements.
2376 2005-04-18 Michael Koch <konqueror@gmx.de>
2378 * gnu/java/awt/color/CieXyzConverter.java,
2379 gnu/java/awt/color/ClutProfileConverter.java,
2380 gnu/java/awt/color/ColorLookUpTable.java,
2381 gnu/java/awt/color/ColorSpaceConverter.java,
2382 gnu/java/awt/color/GrayProfileConverter.java,
2383 gnu/java/awt/color/GrayScaleConverter.java,
2384 gnu/java/awt/color/LinearRGBConverter.java,
2385 gnu/java/awt/color/ProfileHeader.java,
2386 gnu/java/awt/color/PyccConverter.java,
2387 gnu/java/awt/color/RgbProfileConverter.java,
2388 gnu/java/awt/color/SrgbConverter.java,
2389 gnu/java/awt/color/TagEntry.java,
2390 gnu/java/awt/color/ToneReproductionCurve.java:
2391 Standardized file headers.
2393 2005-04-16 Tom Tromey <tromey@redhat.com>
2395 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2396 'ANY' package-private.
2398 2005-04-15 Tom Tromey <tromey@redhat.com>
2400 * Makefile.in: Rebuilt.
2401 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2402 (libgcj0_convenience_la_LIBADD): ... here.
2404 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2406 * gij.cc (version): Properly quote java version.
2407 (main): Fix typo in comment.
2409 2005-04-13 Mark Wielaard <mark@klomp.org>
2411 * java/lang/natRuntime.cc (insertSystemProperties): Set
2412 java.class.path to CLASSPATH if not already set.
2414 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2416 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2418 2005-04-12 Mike Stump <mrs@apple.com>
2420 * configure: Regenerate.
2422 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2425 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2426 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2428 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2431 * scripts/TexinfoDoclet.java: Removed.
2432 * Makefile.am (texinfo): Removed.
2433 * Makefile.in: Regenerated.
2435 2005-04-11 Michael Koch <konqueror@gmx.de>
2437 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2438 Fixed wrong casting.
2440 2005-04-06 Andrew Haley <aph@redhat.com>
2442 * testsuite/libjava.lang/bytearray.java: New file.
2443 * testsuite/libjava.lang/bytearray.out: New file.
2444 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2445 (loadClass): Use it.
2446 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2448 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2450 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2451 gcj-dbtool dependency
2452 * Makefile.in: Regenerated
2454 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2456 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2457 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2459 2005-04-05 Andrew Haley <aph@redhat.com>
2461 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2462 (Tokenizer): New class.
2463 (getFiles): New method.
2464 (main): Add "-" argument.
2466 Read list of files from stdin when merging map databases.
2467 (usage): Add "-" argument.
2471 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2474 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2475 * Makefile.in: Regenerate.
2476 * configure.ac: Add --with-java-home option.
2477 * configure: Regenerate.
2478 * external/Makefile.in: Regenerate.
2479 * external/sax/Makefile.in: Regenerate.
2480 * external/w3c_dom/Makefile.in: Regenerate.
2481 * gcj/Makefile.in: Regenerate.
2482 * include/Makefile.in: Regenerate.
2483 * testsuite/Makefile.in: Regenerate.
2484 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2487 2005-04-05 Tom Tromey <tromey@redhat.com>
2489 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2490 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2491 Rewrote to use _Jv_FindClassFromSignature.
2492 * verify.cc (resolve): throw NoClassDefFoundError.
2493 * link.cc (resolve_field): Throw NoClassDefFoundError.
2494 (find_field): Likewise.
2495 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2496 Handle error cases. Added 'endp' argument.
2497 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2499 2005-04-05 Tom Tromey <tromey@redhat.com>
2501 * Makefile.in: Rebuilt.
2502 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2503 gtk_awt_peer_sources.
2504 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2505 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2506 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2507 (gtk-awt-peer.lo): New target.
2509 2005-04-04 Steve Pribyl <steve@netfuel.com>
2512 * configure.ac: Fix fastjar definition for cross builds.
2513 * configure: Rebuilt.
2515 2005-04-04 Tom Tromey <tromey@redhat.com>
2517 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2518 it was already found.
2520 2005-04-04 Tom Tromey <tromey@redhat.com>
2522 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2523 org.metastatic.jessie.
2525 2005-04-02 Anthony Green <green@redhat.com>
2528 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2530 2005-04-02 Mark Wielaard <mark@klomp.org>
2532 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2533 Attributes and attribute order doesn't matter.
2534 (BasicAttributesEnumeration.where): Initialize to zero.
2535 (BasicAttributesEnumeration.nextElement): Update and compare where
2536 appropriately (zero based).
2538 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2540 PR libgcj/20090, PR libgcj/20526
2541 * gij.cc (nonstandard_opts_help): New function.
2542 (add_option): New function.
2543 (main): Support java options. Set java.class.path. Don't set
2545 * prims.cc (parse_x_arg): New function.
2546 (parse_init_args): Call parse_x_arg for -X and _ options, when
2547 ignoreUnrecognized is true.
2548 (new _Jv_RunMain): New vm_args variant.
2549 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2550 (_Jv_Jar_Class_Path): Remove variable.
2551 * include/java-props.h: Likewise.
2552 * include/cni.h (JvRealloc): New function.
2553 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2554 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2555 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2557 * configure.ac (JV_VERSION): Define.
2558 (JV_API_VERSION): Likewise.
2559 * configure: Regenerate.
2560 * include/config.h.in: Regenerate.
2562 2005-04-01 Mark Anderson <mark@panonet.net>
2564 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2565 -Infinity as parameters.
2567 2005-04-01 Michael Koch <konqueror@gmx.de>
2569 * java/io/PipedInputStream.java
2570 (read): Make sure a positive byte value is returned. Revised javadoc.
2571 Thanks to Olafur Bragason for reporting these bugs.
2573 2005-04-01 Tom Tromey <tromey@redhat.com>
2575 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2576 Updated for name change.
2577 (nativeFindClass): New method.
2578 (loadClass): Use nativeFindClass.
2579 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2581 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2582 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2584 (initialize): New method.
2585 (nativeFindClass): Declare.
2586 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2587 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2588 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2590 (definePackageForNative): Removed.
2591 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2592 Moved to VMClassLoader.java.
2593 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2594 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2595 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2596 removed VMClassLoader.java.
2597 (nat_source_files): Removed natVMClassLoader.cc.
2599 2005-04-01 Tom Tromey <tromey@redhat.com>
2601 * Makefile.in: Rebuilt.
2602 * Makefile.am (db_pathtail): Use $(gcc_version), not
2605 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2607 * java/util/Timer.java
2608 (run): Stop the queue if a task throws an exception.
2610 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2612 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2614 2005-03-29 Ian Lance Taylor <ian@airs.com>
2616 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2617 * external/sax/Makefile.in: Rebuild.
2618 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2620 * external/w3c_dom/Makefile.in: Rebuild.
2622 2005-03-29 Tom Tromey <tromey@redhat.com>
2624 * java/lang/natRuntime.cc (insertSystemProperties): Set
2625 gnu.gcj.runtime.endorsed.dirs.
2626 * Makefile.in: Rebuilt.
2627 * Makefile.am (ordinary_java_source_files): Added
2628 HelperClassLoader.java.
2629 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2630 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2632 (init): Use addDirectoriesFromProperty.
2633 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2634 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2635 gnu.gcj.runtime.endorsed.dirs.
2636 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2638 2005-03-26 Chris Burdess <dog@gnu.org>
2640 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2643 2005-03-13 Michael Koch <konqueror@gmx.de>
2645 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2647 2005-03-11 Chris Burdess <dog@gnu.org>
2649 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2652 2005-02-27 Chris Burdess <dog@gnu.org>
2654 * gnu/xml/aelfred2/JAXPFactory.java,
2655 gnu/xml/aelfred2/SAXDriver.java,
2656 gnu/xml/aelfred2/XmlParser.java,
2657 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2658 formatting conventions. Replaced arrays of Object with struct-like
2659 classes for easier maintainability. Made SAXDriver.stringInterning
2660 package private to allow access from XmlParser inside the loop without
2661 a method call overhead.
2663 2005-03-11 Chris Burdess <dog@gnu.org>
2665 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2668 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2670 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2671 settings to sub Makefiles.
2672 (GCJH, ZIP): Prefix with top_builddir.
2673 * configure: Rebuild.
2674 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2675 * external/w3c_dom/Makefile.in: Rebuild.
2676 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2677 * external/sax/Makefile.in: Rebuild.
2679 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2681 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2682 libsocket to the libraries to link for Solaris.
2684 2005-03-28 Per Bothner <per@bothner.com>
2686 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2687 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2689 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2691 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2692 to fix a ONESTEP fallout.
2693 * Makefile.in: Regenerate.
2695 2005-03-25 Mike Stump <mrs@apple.com>
2697 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2698 paths like we do for the compiler, as we use it in external/sax
2699 and it doesn't get MULTIBUILDTOP right when multilibing.
2701 2005-03-24 Anthony Green <green@redhat.com>
2703 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2705 (usage): Add [LIBDIR] to help output.
2706 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2707 * Makefile.am (AM_CXXFLAGS): Define
2708 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2709 (db_pathtail): New macro.
2711 2005-03-24 Tom Tromey <tromey@redhat.com>
2713 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2714 add sax and w3c libraries.
2715 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2717 * external/w3c_dom/Makefile.in: Rebuilt.
2718 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2720 (libw3c_gcj_la_LDFLAGS): New variable.
2721 (noinst_LTLIBRARIES): Renamed.
2722 * external/sax/Makefile.in: Rebuilt.
2723 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2725 (libsax_gcj_la_LDFLAGS): New variable.
2726 (noinst_LTLIBRARIES): Renamed.
2728 2005-03-23 Tom Tromey <tromey@redhat.com>
2730 * Makefile.in: Rebuilt.
2731 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2732 (libgcj0_convenience_la_SOURCES): Don't include
2733 gnu_xml_source_files.
2734 (libgcj0_convenience_la_LIBADD): New variable.
2735 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2736 (all_java_source_files): javax_imageio_source_files,
2737 javax_xml_source_files, and gnu_java_beans_source_files.
2738 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2739 (gnu-xml.lo): New target.
2740 (javax-imageio.lo): Likewise.
2741 (javax-xml.lo): Likewise.
2742 (gnu-java-beans.lo): Likewise.
2743 (gnu_java_beans_source_files): New variable.
2744 (javax_imageio_source_files): Likewise.
2745 (javax_xml_source_files): Likewise.
2746 (javax_source_files): Moved files to other variable.
2747 (awt_java_source_files): Likewise.
2748 (ordinary_java_source_files): Added BootClassLoader.java.
2749 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2750 not system class loader.
2751 (initBootLoader): New method.
2752 (loadClass): Search bootLoader.
2753 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2754 boot loader, not system class loader.
2755 (_Jv_UnregisterInitiatingLoader): Likewise.
2756 (_Jv_FindClass): Likewise. Ensure entries in
2757 bootstrap_class_list are unique.
2758 * java/lang/natClass.cc (getClassLoader): Don't special case
2759 system class loader.
2760 * java/lang/VMClassLoader.java (bootLoader): New field.
2761 (getResource): Use bootLoader.
2762 (getResources): Likewise.
2763 (initBootLoader): Declare.
2764 * gnu/gcj/runtime/BootClassLoader.java: New file.
2765 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2766 (EMPTY_ENUMERATION): Now package-private.
2767 * external/w3c_com/Makefile.in: Rebuilt.
2768 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2769 (w3c.jar): New target.
2770 (classes.stamp): Updated.
2771 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2772 Changed name of library.
2773 (libw3c_gcj_la_SOURCES): New variable.
2774 (libw3c_gcj_la_GCJFLAGS): Likewise.
2775 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2776 * external/sax/Makefile.in: Rebuilt.
2777 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2778 (sax.jar): New target.
2779 (classes.stamp): Updated.
2780 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2781 Changed name of library.
2782 (libsax_gcj_la_SOURCES): New variable.
2783 (libsax_gcj_la_GCJFLAGS): Likewise.
2784 (source_files): Renamed from libsax_convenience_la_SOURCES.
2785 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2787 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2789 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2791 2005-03-23 Sven de Marothy <sven@physto.se>
2793 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2795 * java/util/Calendar.java
2796 (set): Use starting day of week when one is needed if none is given.
2797 * java/text/SimpleDateFormat.java
2798 (parse): Handle 1-12 and 1-24 timestamps correctly.
2799 * java/util/GregorianCalendar.java
2800 (computeTime, computeFields): HOUR should be in 0-11 format.
2801 (nonLeniencyCheck): Adjust leniency checking to that fact.
2802 (getLinearDay): Should be private.
2804 2005-03-23 Tom Tromey <tromey@redhat.com>
2806 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2807 (_Jv_CheckABIVersion): Use it.
2809 2005-03-22 Mike Stump <mrs@apple.com>
2811 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2813 * include/posix.h: .dylib is used on all Apple MACH platforms.
2814 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2816 2005-03-22 Tom Tromey <tromey@redhat.com>
2818 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2820 2005-03-21 Tom Tromey <tromey@redhat.com>
2822 * java/lang/VMCompiler.java (static block): Also catch
2823 BufferUnderflowException.
2825 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2827 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2828 set tool_include_dir. In all substitutions, leave $(gcc_version)
2829 to be expanded by the Makefile.
2830 * aclocal.m4, configure: Regenerate.
2831 * Makefile.am: Set gcc_version. Replace all uses of
2832 @gcc_version@ with $(gcc_version).
2833 * external/Makefile.am, external/sax/Makefile.am
2834 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2835 * testsuite/Makefile.am: Set gcc_version.
2836 * include/Makefile.am: Set gcc_version and tool_include_dir.
2837 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2838 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2839 * testsuite/Makefile.in: Regenerate.
2841 2005-03-17 Andrew Haley <aph@redhat.com>
2843 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2845 Pass klass to _Jv_StackTrace::GetClassContext().
2846 * java/lang/ClassLoader.java (getParent): Pass class to
2847 VMSecurityManager.getClassContext()
2848 (getSystemClassLoader): Likewise.
2849 * java/lang/Package.java (getPackage): Likewise.
2850 (getPackages): Likewise.
2851 * java/lang/SecurityManager.java (getClassContext): Likewise.
2852 (currentClassLoader): Likewise.
2853 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2854 (currentClassLoader) Add new arg: caller.
2855 Pass caller to VMSecurityManager.getClassContext.
2857 * stacktrace.cc (GetClassContext): Correct calculation of
2860 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2861 im->source_file_name.
2863 2005-03-16 Andrew Haley <aph@redhat.com>
2865 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2867 2005-03-16 Tom Tromey <tromey@redhat.com>
2869 * link.cc (ensure_class_linked): Removed #ifdef.
2870 (print_class_loaded): Likewise.
2871 (wait_for_state): Likewise.
2872 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2873 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2874 * include/java-interp.h: ... here.
2876 2005-03-16 Tom Tromey <tromey@redhat.com>
2878 * gnu/java/lang/MainThread.java (run): Load main class using
2879 system class loader.
2881 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2883 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2884 lgcc_s to the libraries to link for Darwin.
2886 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2888 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2889 interpreter-specific code with #ifdef INTERPRETER.
2890 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2891 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2892 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2893 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2894 #ifdef INTERPRETER. Also protect declarations that use it.
2895 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2896 #ifdef INTERPRETER block.
2898 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2901 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2902 * Makefile.in: Rebuilt.
2904 2005-03-15 David Daney <ddaney@avtrex.com>
2906 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2909 2005-03-15 David Daney <ddaney@avtrex.com>
2911 * java/io/BufferedInputStream.java (available): Use 'in' instead
2912 of 'super' for underlying stream access.
2914 (read(byte[], int, int)): Ditto.
2916 (skip): Call skip on underlying stream when possible.
2918 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2920 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2921 SJLJ_EXCEPTIONS is defined.
2923 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2925 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2928 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2930 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2932 (libjava_arguments): Likewise.
2934 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2935 (gcj_jni_test_one): Likewise.
2936 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2937 Add flags to keep the Darwin linker quiet.
2938 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2939 Add -liconv for Darwin.
2941 2005-03-11 Tom Tromey <tromey@redhat.com>
2943 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2944 (_Jv_CheckABIVersion): Use it.
2946 2005-03-11 Tom Tromey <tromey@redhat.com>
2948 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2949 (usage): Document '-p'.
2950 * Makefile.in: Rebuilt.
2951 * Makefile.am (dbexecdir): New variable.
2952 (db_name): Likewise.
2953 (dbexec_DATA): Likewise.
2954 ($(db_name)): New target.
2955 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2956 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2959 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2961 * exception.cc: Remove stray MethodRef.h include.
2962 * java/lang/natClass.cc: Likewise.
2963 * gnu/gcj/runtime/MethodRef.java: Removed.
2964 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2965 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2966 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2967 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2968 * Makefile.in: Rebuilt.
2970 2005-03-10 Tom Tromey <tromey@redhat.com>
2972 * Makefile.in: Rebuilt.
2973 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2975 2005-03-10 Chris Burdess <dog@bluezoo.org>
2977 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2978 not currently parsing the DTD.
2980 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2982 New Stack Trace infrastructure.
2983 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2984 (gnu/gcj/runtime/StackTrace.java): Removed.
2985 (ordinary_java_source_files): Remove obsolete files.
2986 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2987 * configure.host (fallback_backtrace_h): Set backtrace header
2988 for mingw and cygwin targets.
2989 * configure.ac: Make symlink for fallback backtrace headers.
2990 * Makefile.in, configure: Rebuilt.
2991 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2992 Read 'LineNumberTable' attribute.
2993 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2995 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2997 * exception.cc: Remove unused include.
2998 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2999 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3000 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3001 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3002 table to direct threaded instruction values.
3003 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3004 (_Jv_InterpMethod::run): No longer member function. All
3005 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3006 is made or where an instruction could throw.
3007 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3009 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3010 (catch_fpe): Likewise.
3011 * stacktrace.cc: New file. Stack trace code now here.
3012 * gnu/gcj/runtime/MethodRef.java:
3013 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3014 calls addr2line to look up PC addresses in a given binary or shared
3016 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3017 gnu/gcj/runtime/natStackTrace.cc: Removed.
3018 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3019 this function name is specially recognised by the stack trace code
3020 and shouldn't be changed.
3021 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3022 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3023 (_Jv_InterpMethod::run): Update declaration.
3024 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3026 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3027 * include/java-stack.h: New file. Declarations for stack tracing.
3028 * include/jvm.h (_Jv_Frame_info): Removed.
3029 * java/lang/Class.h: Update friend declarations.
3030 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3032 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3033 (getStackTrace): Now native.
3034 (data): New RawDataManaged field.
3035 * java/lang/natClass.cc: Update includes.
3036 (forName): Use _Jv_StackTrace::GetCallingClass for
3037 calling-classloader check.
3038 (getClassLoader): Likewise.
3039 * java/lang/natRuntime.cc: Update includes.
3040 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3041 * java/lang/natVMSecurityManager.cc: Update includes.
3042 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3043 * java/lang/natVMThrowable.cc: New file. Native methods for
3045 * java/lang/reflect/natArray.cc: Update includes.
3046 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3047 accessibility check.
3048 * java/lang/reflect/natConstructor.cc: Update includes.
3049 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3050 accessibility check.
3051 * java/lang/reflect/natField.cc: Update includes.
3052 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3053 accessibility check.
3054 * java/lang/reflect/natMethod.cc: Update includes.
3055 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3056 accessibility check.
3057 * java/util/natResourceBundle.cc: Update includes.
3058 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3059 * java/util/logging/natLogger.cc: Update includes. Use
3060 _Jv_StackTrace::GetCallerInfo to get call-site info.
3061 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3063 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3066 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3068 * testsuite/libjava.compile/PR20312.java: New file.
3069 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3070 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3072 2005-03-09 Andrew Haley <aph@redhat.com>
3074 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3076 (smallTransferTo): New.
3077 (transferFrom): Loop around smallTransferFrom, copying pageSize
3079 (transferTo): Likewise.
3081 2005-03-09 David Daney <ddaney@avtrex.com>
3084 Merge BufferedInputStream from GNU Classpath.
3085 * java/io/BufferedInputStream.java (marktarget): Field removed.
3086 (CHUNKSIZE): Field removed.
3087 (bufferSize): New field.
3088 (BufferedInputStream): Initialize fields.
3089 (close): Invalidate mark and buffer indexes.
3091 (read()): Move mark handling code to refill.
3092 (read(byte[], int, int)): Ditto.
3093 (skip): Ditto and simplify EOF testing.
3094 (refill): Rewritten.
3095 * java/io/InputStreamReader.java (refill): Removed mark and reset
3096 of internal BufferedInputStream.
3098 2005-03-09 Tom Tromey <tromey@redhat.com>
3100 * java/lang/natVMClassLoader.cc (defineClass): Reference
3101 'systemClassLoader' field directly.
3102 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3104 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3105 Reference 'systemClassLoader' field directly.
3106 (_Jv_UnregisterInitiatingLoader): Likewise.
3107 (_Jv_FindClass): Likewise.
3109 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3111 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3113 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3114 the file in GNU Classpath style.
3116 2005-03-09 Tom Tromey <tromey@redhat.com>
3118 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3119 (toString): Synchronize.
3121 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3123 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3124 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3126 2005-03-07 Tom Tromey <tromey@redhat.com>
3128 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3129 (usage): Document '-f'.
3131 2005-03-07 Tom Tromey <tromey@redhat.com>
3133 * java/lang/VMCompiler.java (md5Digest): New field.
3134 (compileClass): Clone md5Digest instead of looking up a new one.
3136 2005-03-07 Tom Tromey <tromey@redhat.com>
3139 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3140 * link.cc (find_field_helper): Added 'type' argument.
3141 (find_field): Updated.
3143 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3144 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3145 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3146 throw UnsupportedOperationException, fixed comments.
3147 (setFont, setForeground): Fixed comments.
3148 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3149 return type to boolean.
3150 (getNextEvent): Fixed javadocs.
3151 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3152 (nativeQueueEmpty): Removed unused code.
3153 (iterateNativeQueue): Removed outer loop.
3155 2005-03-06 Roger Sayle <roger@eyesopen.com>
3158 * Makefile.am (libgcj0_convenience.la): Revert last change.
3159 * Makefile.in: Regenerate.
3161 2005-03-05 Anthony Green <green@redhat.com>
3163 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3164 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3165 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3166 (_Jv_GetDrawingSurface): Set visualID.
3167 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3168 (JAWT_GetAWT): Set Lock and Unlock.
3169 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3171 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3172 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3173 JAWT_LOCK_SURFACE_CHANGED): New macros.
3174 (struct _JAWT): Add Lock and Unlock.
3176 2005-03-05 Roger Sayle <roger@eyesopen.com>
3177 Alexandre Oliva <aoliva@redhat.com>
3178 Kelley Cook <kcook@gcc.gnu.org>
3181 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3182 of the object files to link to avoid exceeding the command line
3183 length limits on some platforms.
3184 (clean-local): Clean up objectlist files.
3185 * Makefile.in: Regenerate.
3187 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3189 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3190 spec_case. Initialize pointer mlo.
3192 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3195 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3197 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3200 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3201 uninitialized variable z.
3203 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3204 possible unused variables.
3206 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3208 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3210 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3213 * testsuite/libjava.jni/jni.exp
3214 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3216 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3218 2005-02-23 David Daney <ddaney@avtrex.com>
3220 * configure.host: Don't use -mxgot for MIPS builds.
3222 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3225 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3226 (COMPPATH): Removed.
3227 (ZIP, GCJH): Replace it with ../$(host_subdir).
3228 (built_gcc_dir): Add $(host_subdir).
3229 * configure: Regenerate.
3230 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3231 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3232 external/w3c_dom/Makefile.in: Regenerate.
3234 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3236 * java/awt/font/TextAttribute.java: changed names to lower case;
3237 (readResolve): implemented.
3238 Added doc comments all over.
3240 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3243 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3244 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3245 value. Move argument parsing code to prims.cc.
3246 * prims.cc (no_properties): Remove.
3247 (_Jv_Compiler_Properties): Initialize to NULL.
3248 (_Jv_Properties_Count): Initialize to 0.
3249 (parse_verbose_args): New function.
3250 (parse_init_args): New function.
3251 (_Jv_CreateJavaVM): Call parse_init_args.
3252 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3253 * gcj/cni.h (JvVMOption): New struct.
3254 (JvVMInitArgs): Likewise.
3255 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3257 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3258 (_Jv_VMInitArgs): Likewise.
3259 * include/java-props.h (_Jv_Properties_Count): Declare.
3260 * java/lang/natRuntime.cc (insertSystemProperties): Use
3261 _Jv_Properties_Count in for loop exit condition.
3262 * testsuite/libjava.jni/jni.exp
3263 (gcj_invocation_compile_c_to_binary): New procedure.
3264 (gcj_invocation_test_one): Likewise.
3265 (gcj_jni_run): Run JNI invocation API tests.
3266 * testsuite/libjava.jni/invocation/PR16923.c,
3267 testsuite/libjava.jni/invocation/PR16923.java,
3268 testsuite/libjava.jni/invocation/PR16923.out: New test.
3270 2005-02-23 Michael Koch <konqueror@gmx.de>
3272 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3273 * Makefile.in: Regenerated.
3275 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3277 * gnu/java/nio/ChannelReader: Fixed comments.
3279 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3281 * java/nio/channels/Channels: Added FIXMEs about
3282 stub method implementation.
3283 (newReader): Implemented.
3284 * gnu/java/nio/ChannelReader: New class.
3286 2005-02-23 Michael Koch <konqueror@gmx.de>
3288 * java/text/SimpleDateFormat.java:
3289 Removed unused import.
3291 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3294 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3295 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3296 * Makefile.in: Regenerate.
3297 * configure.ac: Check for libXtst.
3298 * configure: Regenerate.
3300 2005-02-22 Mark Wielaard <address@bogus.example.com>
3302 * java/security/AlgorithmParameterGenerator.java (getInstance):
3303 Mention provider when throwing NoSuchProviderException.
3304 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3305 * java/security/KeyFactory.java (getInstance): Likewise.
3306 * java/security/KeyStore.java (getInstance): Likewise.
3307 * java/security/SecureRandom.java (getInstance): Likewise.
3308 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3310 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3312 * java/lang/reflect/Proxy.java,
3314 java/security/SecureRandom.java,
3315 java/util/Timer.java,
3316 java/util/prefs/AbstractPreferences.java:
3317 Don't catch java.lang.ThreadDeath.
3319 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3321 * java/awt/font/TransformAttribute.java,
3322 (TransformAttribute(AffineTransform)): throw
3323 IllegalArgumentException for null transform.
3324 (getTransform): return a copy of transform.
3325 Added doc comments to all.
3327 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3329 * java/io/Externalizable.java,
3330 java/io/Serializable.java
3331 (serialVersionUID): Removed.
3332 * java/rmi/server/RemoteObject.java,
3333 java/rmi/server/UID.java
3334 (serialVersionUID): Made private.
3335 * java/rmi/server/RemoteRef.java,
3336 java/rmi/server/ServerRef.java
3337 (serialVersionUID): Set proper value.
3338 * java/security/interfaces/DSAPrivateKey.java,
3339 java/security/interfaces/DSAPublicKey.java,
3340 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3341 java/security/interfaces/RSAPrivateCrtKey.java,
3342 java/security/interfaces/RSAPrivateKey.java,
3343 java/security/interfaces/RSAPublicKey.java,
3344 javax/crypto/SecretKey.java
3345 (serialVersionUID): Added.
3347 2005-02-22 Tom Tromey <tromey@redhat.com>
3349 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3351 2005-02-22 Tom Tromey <tromey@redhat.com>
3354 * verify.cc (type::EITHER): New constant.
3355 (check_field_constant): Use it.
3356 (type::compatible): Handle it.
3358 2005-02-22 Michael Koch <konqueror@gmx.de>
3360 * gnu/java/security/PolicyFile.java,
3361 gnu/java/security/pkcs/PKCS7SignedData.java,
3362 gnu/java/security/pkcs/SignerInfo.java:
3363 Fixed copyright header.
3365 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3367 * java/beans/PropertyDescriptor.java
3368 (PropertyDescriptor,setReadMethod): Set propertyType.
3370 2005-02-22 Michael Koch <konqueror@gmx.de>
3372 * java/nio/DirectByteBufferImpl.java
3373 (owner): Fixed formatting of javadoc.
3374 * java/text/DateFormat.java
3375 (getAvailableLocales): Fixed formatting.
3376 * java/text/SimpleDateFormat.java:
3377 Fixed formatting and import statement order.
3378 * java/util/Calendar.java
3379 (Calendar): Fixed javadoc to be HTML compliant.
3380 * java/util/SimpleTimeZone.java:
3383 2005-02-22 Roman Kennke <roman@ontographics.com>
3385 * javax/swing/plaf/basic/BasicLookAndFeel.java
3386 (initComponentDefaults): Fixed Button left and right margin.
3388 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3390 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3394 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3395 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3396 (getWidth): New method.
3397 (getHeight): Likewise.
3398 (create): Remove width, height and insets parameters. Move size
3400 (realize_cb): ... here. New function.
3401 (connectSignals): Connect realize_cb.
3402 (request_frame_extents): Remove FIXME. Move
3403 postInsetsChangedEvent lookup ...
3404 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3405 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3406 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3408 (windowGetWidthID): Likewise.
3409 (windowGetHeightID): Likewise.
3411 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3414 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3415 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3417 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3419 Merge serialization from GNU Classpath.
3420 * gcj/method.h: Add missing #includes.
3421 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3422 primitive class IDs on the stream here...
3423 (resolveClass): ...not here.
3424 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3426 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3427 setLongNative, setIntNative, setShortNative, setCharNative,
3428 setByteNative, setBooleanNative, setObjectNative): New native methods.
3429 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3430 setLongNative, setIntNative, setShortNative, setCharNative,
3431 setByteNative, setBooleanNative, setObjectNative): Implement them.
3432 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3433 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3434 the constructor here.
3435 (callConstructor): Removed.
3436 (getCallersClassLoader): Removed.
3437 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3438 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3439 to control whether setting final field values is permitted. Call
3440 getAddr() with checkFinal parameter instead of setAddr().
3441 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3442 only if not done already.
3443 (getAddr): Add checkFinal parameter. Do the final field check only if
3447 2005-02-21 Mark Wielaard <mark@klomp.org>
3450 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3453 2005-02-21 Mark Wielaard <mark@klomp.org>
3456 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3457 without a super class and us ObjectStreamClass.lookupForClassObject().
3458 (resolveClass): Check for primitive types.
3459 (lookupClass): Return null when argument is null.
3461 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3463 * java/io/ObjectInputStream.java
3464 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3466 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3468 * java/io/ObjectOutputStream.java
3469 (writeObject, callWriteMethod): Replaced reflection with accessing
3470 cached info in ObjectStreamClass.
3471 (getMethod): Removed.
3472 * java/io/ObjectStreamClass.java
3473 (findMethod): Added check to make sure the method found has the
3475 (cacheMethods): Added writeReplace and writeObject methods.
3476 (setFlags): Look at new writeObjectMethod field instead of doing
3478 (writeReplaceMethod): New field.
3479 (writeObjectMethod): New field.
3481 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3482 Jeroen Frijters <jeroen@frijters.net>
3484 * java/io/ObjectInputStream.java
3485 (newObject): Changed prototype. Get a constructor reflect object
3487 (callConstructor): Removed.
3488 (allocateObject): Changed prototype.
3489 (readClassDescriptor): Build the constructor reflection directly.
3490 (readObject): Invoke newObject using the new prototype.
3492 * java/io/ObjectStreamClass.java
3493 (firstNonSerializableParent): Removed.
3494 (firstNonSerializableParentConstructor): Added.
3496 2005-02-21 Mark Wielaard <mark@klomp.org>
3498 * gnu/java/locale/LocaleInformation_en.java: Extend
3499 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3501 2005-02-21 Mark Wielaard <mark@klomp.org>
3503 * java/text/SimpleDateFormat.java
3504 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3505 NullPointerException when formatData is null.
3507 2005-02-21 Mark Wielaard <mark@klomp.org>
3509 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3510 taking dstSavings into account.
3512 2005-02-21 Sven de Marothy <sven@physto.se>
3514 * java/text/SimpleDateFormat.java,
3515 (parse): Set correct DST_OFFSET to the correct value.
3517 2005-02-21 Mark Wielaard <mark@klomp.org>
3519 * java/util/SimpleTimeZone.java (checkRule): Throw
3520 IllegalArgumentException when month out of range.
3522 2005-02-21 Sven de Marothy <sven@physto.se>
3524 * java/util/GregorianCalendar.java,
3525 (add): Don't set fields directly anymore. Use set()
3527 2005-02-21 Mark Wielaard <mark@klomp.org>
3529 * java/text/SimpleDateFormat.java (CompiledField.toString):
3530 Use StringBuffer, not StringBuilder.
3531 (toString): Likewise.
3533 2005-02-21 Sven de Marothy <sven@physto.se>
3535 * java/util/Calendar.java
3536 (clear): Dates should clear to local time.
3537 * java/util/GregorianCalendar.java
3538 (computeTime): Fix priority problem with DAY_OF_WEEK,
3539 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3541 2005-02-21 Sven de Marothy <sven@physto.se>
3543 * java/util/Calendar.java
3544 (Calendar): Constructor should clear fields.
3546 2005-02-21 Sven de Marothy <sven@physto.se>
3548 * java/text/SimpleDateFormat.java
3549 (parse): Tweak handling of 2-year dates
3550 * java/util/Calendar.java
3551 (clear): Clear fields to correct value.
3552 * java/util/GregorianCalendar.java
3553 (computeTime): Correct handling of time zones.
3554 Correct field minimum values.
3556 2005-02-21 Sven de Marothy <sven@physto.se>
3558 * java/util/Calendar.java
3559 (set) Invalidate all fields on first call to set().
3561 2005-02-21 Sven de Marothy <sven@physto.se>
3563 * java/util/GregorianCalendar.java
3564 (computeTime): Fixed handling of time zones.
3566 2005-02-21 Sven de Marothy <sven@physto.se>
3568 * java/util/Calendar.java
3569 (clear): Set values to Epoch instead of zero.
3570 (set): Set isSet to the relevant field pattern instead of just
3572 * java/util/GregorianCalendar.java
3573 (getBundle): Removed.
3574 (getDayOfYear): Removed.
3575 (getFirstDayOfMonth): New private method.
3576 (nonLeniencyCheck): New private method.
3577 (computeTime): Correct handling of insufficient data.
3579 2005-02-21 Sven de Marothy <sven@physto.se>
3581 * java/util/Calendar.java: Invalidate ERA field on setting
3583 * java/util/SimpleTimeZone.java:
3584 (getDaysInMonth): Reimplemented.
3585 * java/util/GregorianCalendar.java:
3586 (getLinearTime): Removed.
3587 (isLeapYear(int,boolean)): Removed.
3588 (before(), after()): Removed.
3589 (computeTime): Reimplemented.
3591 2005-02-21 Sven de Marothy <sven@physto.se>
3593 * java/util/Calendar.java: Reformatted.
3594 * java/util/GregorianCalendar.java: Reformatted.
3595 * java/util/SimpleTimeZone.java: Reformatted.
3597 2005-02-21 Sven de Marothy <sven@physto.se>
3599 * java/util/GregorianCalendar.java
3600 (GregorianCalendar): Update fields in the constructor
3602 2005-02-21 Noa Resare <noa@resare.com>
3604 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3605 (set(int,int)): Set and use new field.
3606 (set(int,int,int)): Check new field.
3608 2005-02-21 Noa Resare <address@hidden>
3610 * java/util/Calendar.java(set):
3611 Fix for DST related regression.
3613 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3615 * java/util/Calendar.java
3616 (setTimeInMillis): Added call to clear, removed computeFields call.
3617 * java/util/Date.java
3618 (Date(int,int,int,int,int,int)): Removed workaround for
3619 GregorianCalendar bug.
3620 * java/util/GregorianCalendar.java
3621 (GregorianCalendar): Chained all constructors to a (new)
3623 (computeTime): Fixed support for lenient month treatment.
3624 (getLinearDay): Return long instead of int.
3625 (calculateDay): Added fields argument and changed day argument
3628 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3630 * java/text/SimpleDateFormat.java
3631 Lots of documentation updates.
3632 (readObject(java.io.ObjectInputStream)): Wraps
3633 IllegalArgumentException as specified.
3634 (compileFormat(String)): Uses standardChars
3635 rather than the local pattern characters.
3636 Throws IllegalArgumentException rather than
3638 (toString()): Extended to include all variables
3640 (translateLocalizedPattern(String, String, String)):
3641 Renamed to better define the use of this method.
3643 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3645 * java/text/DateFormat.java:
3646 Documented pattern character offset constants and
3648 (Field): Added new static fields for new pattern chars.
3649 * java/text/SimpleDateFormat.java:
3650 (CompiledField): Changed name of FieldSizePair class
3651 to CompiledField after adding the character as an
3652 attribute. Changed fields to private and added
3653 accessors to give encapsulation.
3654 (CompiledField.CompiledField(int,int,char)): Extended
3655 with character field.
3656 (CompiledField.getField()): New accessor method.
3657 (CompiledField.getSize()): New acceessor method.
3658 (CompiledField.getCharacter()): New accessor method.
3659 (CompiledField.toString()): Added primarily for debugging.
3660 (standardChars): Now uses extended 24 character sequence.
3661 (compileFormat(String)): Changed to use CompiledField.
3662 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3663 java.text.FieldPosition)): Changed to use CompiledField.
3664 New handler for RFC 822 timezones added.
3666 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3668 * java/text/SimpleDateFormat.java:
3669 (parse(String, java.text.ParsePosition)):
3670 Changed 'E' and 'M' cases to use both
3671 short and long names. Extended 'z'
3672 case to also handle 'Z', and deal
3673 with simple GMT offsets such as +0100.
3674 (computeOffset(String)): New private method,
3675 which converts a GMT offset specification,
3676 such as GMT-0500 to a numeric offset in
3678 * java/util/TimeZone.java:
3679 (timezones()): Added "CEST", the daylight
3680 savings time version of "CET", or Central
3683 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3685 * java/text/SimpleDateFormat.java:
3686 (parse): Set the DST offset to 0 when parsing
3687 GMT offset timezones.
3689 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3691 * java/text/SimpleDateFormat.java:
3692 (parse): Use offset to set ZONE_OFFSET
3693 rather than the DST_OFFSET, so that
3694 GMT offset timezones change the right
3697 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3699 * java/text/SimpleDateFormat.java:
3700 (getDateFormatSymbols()): return a copy
3701 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3702 throw exception on null input
3703 (clone()): implemented to clone
3706 2005-02-21 Sven de Marothy <sven@physto.se>
3708 * java/text/SimpleDateFormat.java
3709 (parse): comparison should be case-insensitive, ignore null
3712 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3714 * gnu/java/beans/IntrospectionIncubator.java
3715 (addMethod) Reverts the patch that ntroduced a regression (see bug
3716 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3718 2005-02-21 Michael Koch <konqueror@gmx.de>
3720 * java/awt/Checkbox.java
3721 (next_checkbox_number): New static variable.
3722 (generateName): New method.
3723 (getUniqueLong): Likewise.
3724 * java/awt/Window.java
3725 (next_window_number): New static variable.
3726 (generateName): New method.
3727 (getUniqueLong): Likewise.
3729 2005-02-21 Mark Wielaard <mark@klomp.org>
3731 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3734 2005-02-21 Andrew Haley <aph@redhat.com>
3736 * Makefile.in: Rebuilt.
3737 * Makefile.am (nat_source_files): Added natLogger.cc.
3738 * java/util/logging/natLogger.cc: New file.
3739 * java/util/logging/Logger.java (getCallerStackFrame): Now
3742 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3744 * Makefile.am (all_property_files): Remove left over.
3745 (classes.stamp): Add stamp for the ONESTEP build, also known as
3746 --enable-libgcj-multifile.
3747 * Makefile.in: Regenerated.
3749 2005-02-21 Michael Koch <konqueror@gmx.de>
3751 * java/awt/Button.java,
3752 java/awt/Container.java,
3754 java/awt/Frame.java,
3755 java/text/CollationElementIterator.java,
3756 java/text/RuleBasedCollator.java,
3757 java/util/PropertyPermission.java:
3758 Fixed formatting issues all over.
3760 2005-02-21 Mark Wielaard <mark@klomp.org>
3762 * java/io/FileDescriptor.java (sync): Add real exception to
3763 SyncFailedException.
3765 2005-02-21 Michael Koch <konqueror@gmx.de>
3767 * java/io/InputStreamReader.java:
3770 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3773 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3775 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3777 * libraries/javalib/gnu/regexp/RE.java,
3778 libraries/javalib/java/io/ObjectInputStream.java,
3779 libraries/javalib/java/security/AllPermission.java,
3780 libraries/javalib/java/security/BasicPermission.java,
3781 libraries/javalib/java/security/Permissions.java,
3782 libraries/javalib/java/text/MessageFormat.java:
3783 Made 'inner' classes real public static inner classes,
3784 and made them final where possible, or removed them
3787 2005-02-20 Michael Koch <konqueror@gmx.de>
3789 * gnu/java/text/FormatCharacterIterator.java:
3790 Removed redundant modifiers.
3792 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3794 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3797 2005-02-19 Michael Koch <konqueror@gmx.de>
3799 * Makefile.am: Added new files in gnu/java/beans and
3800 java/beans/XMLDecoder.java.
3801 * Makefile.in: Regenerated.
3803 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3805 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3806 assignment behavior by using java.lang.reflect.Array.set()
3809 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3811 * gnu/java/beans/EmptyBeanInfo.java,
3812 gnu/java/beans/info/ComponentBeanInfo.java:
3813 Removed unused files.
3815 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3817 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3818 of AppletStub for java.beans.Beans.instantiate.
3819 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3821 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3822 to be conformant with Javadoc guidelines.
3823 (instantiate): Added two more overloaded variants, reworked user
3824 documentation, fixed exception behavior, fixed behavior when
3827 2005-02-19 Mark Wielaard <mark@klomp.org>
3829 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3831 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3833 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3835 * gnu/java/beans/decoder/AbstractContext.java,
3836 gnu/java/beans/decoder/AbstractCreatableContext.java,
3837 gnu/java/beans/decoder/AbstractElementHandler.java,
3838 gnu/java/beans/decoder/AbstractObjectContext.java,
3839 gnu/java/beans/decoder/ArrayContext.java,
3840 gnu/java/beans/decoder/ArrayHandler.java,
3841 gnu/java/beans/decoder/AssemblyException.java,
3842 gnu/java/beans/decoder/BooleanHandler.java,
3843 gnu/java/beans/decoder/ByteHandler.java,
3844 gnu/java/beans/decoder/CharHandler.java,
3845 gnu/java/beans/decoder/ClassHandler.java,
3846 gnu/java/beans/decoder/ConstructorContext.java,
3847 gnu/java/beans/decoder/Context.java,
3848 gnu/java/beans/decoder/DecoderContext.java,
3849 gnu/java/beans/decoder/DefaultExceptionListener.java,
3850 gnu/java/beans/decoder/DoubleHandler.java,
3851 gnu/java/beans/decoder/DummyContext.java,
3852 gnu/java/beans/decoder/DummyHandler.java,
3853 gnu/java/beans/decoder/ElementHandler.java,
3854 gnu/java/beans/decoder/FloatHandler.java,
3855 gnu/java/beans/decoder/GrowableArrayContext.java,
3856 gnu/java/beans/decoder/IndexContext.java,
3857 gnu/java/beans/decoder/IntHandler.java,
3858 gnu/java/beans/decoder/JavaHandler.java,
3859 gnu/java/beans/decoder/LongHandler.java,
3860 gnu/java/beans/decoder/MethodContext.java,
3861 gnu/java/beans/decoder/MethodFinder.java,
3862 gnu/java/beans/decoder/NullHandler.java,
3863 gnu/java/beans/decoder/ObjectContext.java,
3864 gnu/java/beans/decoder/ObjectHandler.java,
3865 gnu/java/beans/decoder/PersistenceParser.java,
3866 gnu/java/beans/decoder/PropertyContext.java,
3867 gnu/java/beans/decoder/ShortHandler.java,
3868 gnu/java/beans/decoder/SimpleHandler.java,
3869 gnu/java/beans/decoder/StaticMethodContext.java,
3870 gnu/java/beans/decoder/StringHandler.java,
3871 gnu/java/beans/decoder/VoidHandler.java: New class
3872 implementing java.beans.XMLDecoder decoding functionality.
3873 * java/beans/XMLDecoder.java: New class.
3875 2005-02-19 Michael Koch <konqueror@gmx.de>
3877 * javax/swing/JTextField.java
3878 (notfiyAction): Added javadoc.
3880 2005-02-19 Sven de Marothy <sven@physto.se>
3882 * javax/swing/SpinnerDateModel.java: Implemented.
3884 2005-02-19 Michael Koch <konqueror@gmx.de>
3886 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3887 * Makefile.in: Regenerated.
3889 2005-02-19 Michael Koch <konqueror@gmx.de>
3891 * gnu/java/nio/SelectorImpl.java:
3892 Reworked import statements.
3893 (register): Removed unused code.
3894 * java/nio/channels/Channels.java: Reformatted.
3895 * java/nio/charset/Charset.java: Likewise.
3896 * java/rmi/server/RemoteObject.java
3897 (serialVersionUID): Made private.
3898 * java/rmi/server/UID.java
3899 (serialVersionUID): Likewise.
3901 2005-02-19 Michael Koch <konqueror@gmx.de>
3903 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3904 gnu/java/net/protocol/ftp/BlockInputStream.java,
3905 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3906 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3907 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3908 gnu/java/net/protocol/ftp/DTPInputStream.java,
3909 gnu/java/net/protocol/ftp/DTP.java,
3910 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3911 gnu/java/net/protocol/ftp/FTPConnection.java,
3912 gnu/java/net/protocol/ftp/FTPException.java,
3913 gnu/java/net/protocol/ftp/FTPResponse.java,
3914 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3915 gnu/java/net/protocol/ftp/Handler.java,
3916 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3917 gnu/java/net/protocol/ftp/StreamInputStream.java,
3918 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3919 gnu/java/net/CRLFInputStream.java,
3920 gnu/java/net/CRLFOutputStream.java,
3921 gnu/java/net/GetLocalHostAction.java,
3922 gnu/java/net/protocol/ftp/package.html: New files.
3923 * Makefile.am: Added new files.
3924 * Makefile.in: Regenerated.
3926 2005-02-18 Tom Tromey <tromey@redhat.com>
3928 * link.cc (make_vtable): Remove abstract method check.
3929 (append_partial_itable): Likewise.
3932 * verify.cc (type::equals): Fixed test.
3933 * testsuite/libjava.lang/PR20056.out: New file.
3934 * testsuite/libjava.lang/PR20056.java: New file.
3936 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3938 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3939 not the HashEntry. Reported by Jean-Marie White.
3941 2005-02-18 Tom Tromey <tromey@redhat.com>
3944 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3945 * link.cc (has_field_p): New function.
3946 * verify.cc (check_field_constant): Added 'putfield' argument.
3947 (verify_instructions_0): Updated.
3948 (type::equals): New method.
3950 2005-02-18 Anthony Green <green@redhat.com>
3952 * NEWS: Draft of libgcj NEWS for 4.0.
3954 2005-02-18 Anthony Green <green@redhat.com>
3956 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3957 architecture names to "i386" for compatibility reasons. Win32
3960 2005-02-18 Anthony Green <green@redhat.com>
3962 * gij.cc (version): Change year for '--version' to 2005.
3963 * gnu/gcj/convert/Convert.java: Ditto.
3964 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3965 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3967 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3968 recent copyright year in `--version' output.
3970 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3972 * java/nio/charset/Charset.java (forName): Throws
3973 IllegalArgumentException when argument is null
3974 and added documentation.
3976 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3978 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3979 Move the position of the source buffer forward.
3981 2005-02-17 Tom Tromey <tromey@redhat.com>
3983 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3984 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3985 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3986 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3987 Changed type of second argument. Rewrote.
3988 (make_vtable): Use it.
3989 (append_partial_itable): Updated.
3990 (layout_vtable_methods): Updated.
3992 2005-02-17 Michael Koch <konqueror@gmx.de>
3994 * gnu/java/net/PlainSocketImpl.java
3995 (shutdownInput): Added javadoc.
3996 (shutdownOutput): Likewise.
3998 2005-02-17 Michael Koch <konqueror@gmx.de>
4000 * javax/print/attribute/standard/Chromaticity.java,
4001 javax/print/attribute/standard/Destination.java,
4002 javax/print/attribute/standard/MediaPrintableArea.java,
4003 javax/print/attribute/standard/MediaSize.java: New files.
4004 * Makefile.am: Added new files.
4005 * Makefile.in: Regenerated.
4007 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4008 Michael Koch <konqueror@gmx.de>
4010 * gnu/java/net/protocol/http/Cookie.java,
4011 gnu/java/net/protocol/http/HTTPConnection.java,
4012 gnu/java/net/protocol/http/HTTPDateFormat.java,
4013 gnu/java/net/protocol/http/Request.java,
4014 gnu/java/nio/PipeImpl.java,
4015 gnu/java/rmi/dgc/DGCImpl.java,
4016 gnu/java/rmi/server/ConnectionRunnerPool.java,
4017 gnu/java/rmi/server/UnicastConnectionManager.java,
4018 gnu/java/security/der/DERWriter.java,
4019 gnu/java/security/pkcs/SignerInfo.java,
4020 gnu/java/security/provider/EncodedKeyFactory.java,
4021 gnu/java/security/provider/GnuDHPublicKey.java,
4022 gnu/java/security/provider/GnuDSAPrivateKey.java,
4023 gnu/java/security/provider/GnuDSAPublicKey.java,
4024 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4025 gnu/java/security/x509/X500DistinguishedName.java,
4026 gnu/java/security/x509/X509CRL.java,
4027 gnu/java/security/x509/X509CRLEntry.java,
4028 gnu/java/security/x509/X509Certificate.java,
4029 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4030 gnu/java/security/x509/ext/CertificatePolicies.java,
4031 gnu/java/security/x509/ext/PolicyConstraint.java,
4032 gnu/xml/dom/Consumer.java,
4033 gnu/xml/dom/DomCharacterData.java,
4034 gnu/xml/dom/DomDocument.java,
4035 gnu/xml/dom/DomDocumentBuilder.java,
4036 gnu/xml/dom/DomIterator.java,
4037 gnu/xml/dom/DomNode.java,
4038 gnu/xml/dom/DomXPathExpression.java,
4039 gnu/xml/dom/DomXPathResult.java,
4040 gnu/xml/dom/JAXPFactory.java,
4041 gnu/xml/pipeline/CallFilter.java,
4042 gnu/xml/pipeline/DomConsumer.java,
4043 gnu/xml/pipeline/LinkFilter.java,
4044 gnu/xml/pipeline/NSFilter.java,
4045 gnu/xml/pipeline/TeeConsumer.java,
4046 gnu/xml/pipeline/ValidationConsumer.java,
4047 gnu/xml/pipeline/WellFormednessFilter.java,
4048 gnu/xml/pipeline/XIncludeFilter.java,
4049 gnu/xml/pipeline/XsltFilter.java,
4050 gnu/xml/transform/ApplyImportsNode.java,
4051 gnu/xml/transform/Bindings.java,
4052 gnu/xml/transform/DocumentFunction.java,
4053 gnu/xml/transform/FormatNumberFunction.java,
4054 gnu/xml/transform/NodeNumberNode.java,
4055 gnu/xml/transform/NumberNode.java,
4056 gnu/xml/transform/Stylesheet.java,
4057 gnu/xml/transform/SystemPropertyFunction.java,
4058 gnu/xml/transform/Template.java,
4059 gnu/xml/transform/TemplatesImpl.java,
4060 gnu/xml/transform/TransformerImpl.java,
4061 gnu/xml/transform/ValueOfNode.java,
4062 gnu/xml/transform/XSLURIResolver.java,
4063 gnu/xml/util/DoParse.java,
4064 gnu/xml/util/Resolver.java,
4065 gnu/xml/xpath/Expr.java,
4066 gnu/xml/xpath/FunctionCall.java,
4067 gnu/xml/xpath/RelationalExpr.java,
4068 gnu/xml/xpath/Selector.java,
4069 gnu/xml/xpath/XPathParser.java:
4070 Reworked import statements, fixed modifier order and some little
4073 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4075 * java/nio/ByteBufferImpl.java (compact):
4076 Set position and limit even if no bytes were moved.
4078 2005-02-17 Michael Koch <konqueror@gmx.de>
4080 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4081 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4082 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4083 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4084 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4085 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4086 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4087 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4088 * java/nio/FloatBufferImpl.java (compact): Set position.
4089 * java/nio/CharBufferImpl.java (compact): Likewise.
4090 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4091 * java/nio/IntBufferImpl.java (compact): Likewise.
4092 * java/nio/LongBufferImpl.java (compact): Likewise.
4093 * java/nio/ShortBufferImpl.java (compact): Likewise.
4095 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4097 * java/nio/ByteBufferImpl.java,
4098 java/nio/CharBufferImpl.java,
4099 java/nio/DirectByteBufferImpl.java,
4100 java/nio/DoubleBufferImpl.java,
4101 java/nio/FloatBufferImpl.java,
4102 java/nio/IntBufferImpl.java,
4103 java/nio/LongBufferImpl.java,
4104 java/nio/MappedByteBufferImpl.java,
4105 java/nio/ShortBufferImpl.java
4106 (compact): Added explicit read-only check and invalidate mark.
4108 2005-02-17 Michael Koch <konqueror@gmx.de>
4110 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4111 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4112 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4113 gnu/java/awt/peer/gtk/GdkGraphics.java,
4114 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4115 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4116 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4117 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4118 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4119 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4120 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4121 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4122 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4123 gnu/java/awt/peer/gtk/GtkClipboard.java,
4124 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4125 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4126 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4127 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4128 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4129 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4130 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4131 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4132 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4133 gnu/java/awt/peer/gtk/GtkToolkit.java,
4134 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4135 java/applet/Applet.java,
4136 java/awt/AWTError.java,
4137 java/awt/AWTEvent.java,
4138 java/awt/AWTEventMulticaster.java,
4139 java/awt/AWTException.java,
4140 java/awt/AWTKeyStroke.java,
4141 java/awt/AWTPermission.java,
4142 java/awt/ActiveEvent.java,
4143 java/awt/Adjustable.java,
4144 java/awt/AlphaComposite.java,
4145 java/awt/AttributeValue.java,
4146 java/awt/BorderLayout.java,
4147 java/awt/BufferCapabilities.java,
4148 java/awt/Button.java,
4149 java/awt/Canvas.java,
4150 java/awt/CheckboxGroup.java,
4151 java/awt/CheckboxMenuItem.java,
4152 java/awt/Color.java,
4153 java/awt/ColorPaintContext.java,
4154 java/awt/Component.java,
4155 java/awt/ComponentOrientation.java,
4156 java/awt/Composite.java,
4157 java/awt/CompositeContext.java,
4158 java/awt/Container.java,
4159 java/awt/ContainerOrderFocusTraversalPolicy.java,
4160 java/awt/DefaultFocusTraversalPolicy.java,
4161 java/awt/Dialog.java,
4162 java/awt/Dimension.java,
4163 java/awt/DisplayMode.java,
4164 java/awt/EventQueue.java,
4165 java/awt/FileDialog.java,
4166 java/awt/FontFormatException.java,
4167 java/awt/Graphics.java,
4168 java/awt/Graphics2D.java,
4169 java/awt/GraphicsConfigTemplate.java,
4170 java/awt/GraphicsConfiguration.java,
4171 java/awt/GraphicsDevice.java,
4172 java/awt/GridBagLayout.java,
4173 java/awt/GridBagLayoutInfo.java,
4174 java/awt/GridLayout.java,
4175 java/awt/HeadlessException.java,
4176 java/awt/IllegalComponentStateException.java,
4177 java/awt/Image.java,
4178 java/awt/Insets.java,
4179 java/awt/ItemSelectable.java,
4180 java/awt/JobAttributes.java,
4181 java/awt/KeyEventDispatcher.java,
4182 java/awt/KeyEventPostProcessor.java,
4183 java/awt/KeyboardFocusManager.java,
4184 java/awt/Label.java,
4185 java/awt/LayoutManager.java,
4186 java/awt/MenuBar.java,
4187 java/awt/MenuComponent.java,
4188 java/awt/MenuContainer.java,
4189 java/awt/PageAttributes.java,
4190 java/awt/Paint.java,
4191 java/awt/PaintContext.java,
4192 java/awt/Panel.java,
4193 java/awt/Point.java,
4194 java/awt/Polygon.java,
4195 java/awt/PrintGraphics.java,
4196 java/awt/PrintJob.java,
4197 java/awt/Rectangle.java,
4198 java/awt/RenderingHints.java,
4199 java/awt/Shape.java,
4200 java/awt/Stroke.java,
4201 java/awt/SystemColor.java,
4202 java/awt/Toolkit.java,
4203 java/awt/Transparency.java,
4204 java/awt/Window.java,
4205 java/awt/color/CMMException.java,
4206 java/awt/color/ColorSpace.java,
4207 java/awt/color/ICC_ColorSpace.java,
4208 java/awt/color/ICC_Profile.java,
4209 java/awt/color/ProfileDataException.java,
4210 java/awt/datatransfer/FlavorTable.java,
4211 java/awt/datatransfer/MimeTypeParseException.java,
4212 java/awt/datatransfer/Transferable.java,
4213 java/awt/datatransfer/UnsupportedFlavorException.java,
4214 java/awt/dnd/Autoscroll.java,
4215 java/awt/dnd/DnDConstants.java,
4216 java/awt/dnd/DragGestureListener.java,
4217 java/awt/dnd/DragSourceAdapter.java,
4218 java/awt/dnd/DragSourceDropEvent.java,
4219 java/awt/dnd/DragSourceListener.java,
4220 java/awt/dnd/DragSourceMotionListener.java,
4221 java/awt/dnd/DropTargetAdapter.java,
4222 java/awt/dnd/DropTargetContext.java,
4223 java/awt/dnd/DropTargetListener.java,
4224 java/awt/dnd/InvalidDnDOperationException.java,
4225 java/awt/dnd/MouseDragGestureRecognizer.java,
4226 java/awt/dnd/peer/DropTargetContextPeer.java,
4227 java/awt/event/AWTEventListener.java,
4228 java/awt/event/AWTEventListenerProxy.java,
4229 java/awt/event/ActionEvent.java,
4230 java/awt/event/AdjustmentEvent.java,
4231 java/awt/event/AdjustmentListener.java,
4232 java/awt/event/ComponentAdapter.java,
4233 java/awt/event/ComponentEvent.java,
4234 java/awt/event/ComponentListener.java,
4235 java/awt/event/ContainerAdapter.java,
4236 java/awt/event/ContainerEvent.java,
4237 java/awt/event/ContainerListener.java,
4238 java/awt/event/FocusAdapter.java,
4239 java/awt/event/FocusEvent.java,
4240 java/awt/event/FocusListener.java,
4241 java/awt/event/InputEvent.java,
4242 java/awt/event/InputMethodEvent.java,
4243 java/awt/event/InputMethodListener.java,
4244 java/awt/event/InvocationEvent.java,
4245 java/awt/event/ItemEvent.java,
4246 java/awt/event/ItemListener.java,
4247 java/awt/event/KeyAdapter.java,
4248 java/awt/event/KeyEvent.java,
4249 java/awt/event/KeyListener.java,
4250 java/awt/event/MouseAdapter.java,
4251 java/awt/event/MouseEvent.java,
4252 java/awt/event/MouseListener.java,
4253 java/awt/event/MouseMotionAdapter.java,
4254 java/awt/event/MouseMotionListener.java,
4255 java/awt/event/MouseWheelEvent.java,
4256 java/awt/event/MouseWheelListener.java,
4257 java/awt/event/PaintEvent.java,
4258 java/awt/event/TextEvent.java,
4259 java/awt/event/TextListener.java,
4260 java/awt/event/WindowAdapter.java,
4261 java/awt/event/WindowEvent.java,
4262 java/awt/event/WindowFocusListener.java,
4263 java/awt/event/WindowListener.java,
4264 java/awt/event/WindowStateListener.java,
4265 java/awt/font/TextHitInfo.java,
4266 java/awt/geom/CubicCurve2D.java,
4267 java/awt/geom/Dimension2D.java,
4268 java/awt/geom/Ellipse2D.java,
4269 java/awt/geom/IllegalPathStateException.java,
4270 java/awt/geom/Line2D.java,
4271 java/awt/geom/NoninvertibleTransformException.java,
4272 java/awt/geom/PathIterator.java,
4273 java/awt/geom/Point2D.java,
4274 java/awt/geom/QuadCurve2D.java,
4275 java/awt/geom/RectangularShape.java,
4276 java/awt/geom/RoundRectangle2D.java,
4277 java/awt/im/InputContext.java,
4278 java/awt/im/InputMethodHighlight.java,
4279 java/awt/im/InputMethodRequests.java,
4280 java/awt/im/InputSubset.java,
4281 java/awt/im/spi/InputMethod.java,
4282 java/awt/im/spi/InputMethodDescriptor.java,
4283 java/awt/image/BandCombineOp.java,
4284 java/awt/image/BandedSampleModel.java,
4285 java/awt/image/ByteLookupTable.java,
4286 java/awt/image/ComponentSampleModel.java,
4287 java/awt/image/DataBuffer.java,
4288 java/awt/image/DataBufferByte.java,
4289 java/awt/image/DataBufferDouble.java,
4290 java/awt/image/DataBufferFloat.java,
4291 java/awt/image/DataBufferInt.java,
4292 java/awt/image/DataBufferShort.java,
4293 java/awt/image/DataBufferUShort.java,
4294 java/awt/image/ImagingOpException.java,
4295 java/awt/image/Kernel.java,
4296 java/awt/image/LookupTable.java,
4297 java/awt/image/MultiPixelPackedSampleModel.java,
4298 java/awt/image/PackedColorModel.java,
4299 java/awt/image/PixelInterleavedSampleModel.java,
4300 java/awt/image/RGBImageFilter.java,
4301 java/awt/image/Raster.java,
4302 java/awt/image/RasterFormatException.java,
4303 java/awt/image/SampleModel.java,
4304 java/awt/image/ShortLookupTable.java,
4305 java/awt/image/SinglePixelPackedSampleModel.java,
4306 java/awt/image/WritableRaster.java,
4307 java/awt/print/PrinterAbortException.java,
4308 java/awt/print/PrinterException.java,
4309 java/awt/print/PrinterIOException.java,
4310 java/beans/AppletInitializer.java,
4311 java/beans/ExceptionListener.java,
4312 java/beans/PropertyChangeEvent.java,
4313 java/beans/PropertyChangeListenerProxy.java,
4314 java/beans/PropertyChangeSupport.java,
4315 java/beans/PropertyDescriptor.java,
4316 java/beans/VetoableChangeListenerProxy.java,
4317 java/beans/VetoableChangeSupport.java,
4318 java/io/BufferedReader.java,
4319 java/io/ByteArrayInputStream.java,
4320 java/io/ByteArrayOutputStream.java,
4321 java/io/CharArrayReader.java,
4322 java/io/CharArrayWriter.java,
4323 java/io/CharConversionException.java,
4324 java/io/DataInput.java,
4325 java/io/DataInputStream.java,
4326 java/io/DataOutput.java,
4327 java/io/DataOutputStream.java,
4328 java/io/EOFException.java,
4329 java/io/FileInputStream.java,
4330 java/io/FileNotFoundException.java,
4331 java/io/FileOutputStream.java,
4332 java/io/FilenameFilter.java,
4333 java/io/FilterInputStream.java,
4334 java/io/FilterOutputStream.java,
4335 java/io/FilterReader.java,
4336 java/io/FilterWriter.java,
4337 java/io/IOException.java,
4338 java/io/InputStream.java,
4339 java/io/InterruptedIOException.java,
4340 java/io/LineNumberInputStream.java,
4341 java/io/LineNumberReader.java,
4342 java/io/ObjectInputStream.java,
4343 java/io/ObjectStreamException.java,
4344 java/io/OptionalDataException.java,
4345 java/io/OutputStream.java,
4346 java/io/OutputStreamWriter.java,
4347 java/io/PrintStream.java,
4348 java/io/PrintWriter.java,
4349 java/io/PushbackInputStream.java,
4350 java/io/PushbackReader.java,
4351 java/io/RandomAccessFile.java,
4352 java/io/Reader.java,
4353 java/io/SequenceInputStream.java,
4354 java/io/Serializable.java,
4355 java/io/StreamCorruptedException.java,
4356 java/io/StreamTokenizer.java,
4357 java/io/StringBufferInputStream.java,
4358 java/io/StringWriter.java,
4359 java/io/SyncFailedException.java,
4360 java/io/UTFDataFormatException.java,
4361 java/io/UnsupportedEncodingException.java,
4362 java/io/WriteAbortedException.java,
4363 java/io/Writer.java,
4364 java/lang/AbstractMethodError.java,
4365 java/lang/ArithmeticException.java,
4366 java/lang/ArrayIndexOutOfBoundsException.java,
4367 java/lang/ArrayStoreException.java,
4368 java/lang/AssertionError.java,
4369 java/lang/Boolean.java,
4370 java/lang/Byte.java,
4371 java/lang/Class.java,
4372 java/lang/ClassCastException.java,
4373 java/lang/ClassCircularityError.java,
4374 java/lang/ClassLoader.java,
4375 java/lang/ClassNotFoundException.java,
4376 java/lang/CloneNotSupportedException.java,
4377 java/lang/Cloneable.java,
4378 java/lang/Comparable.java,
4379 java/lang/Compiler.java,
4380 java/lang/Double.java,
4381 java/lang/Error.java,
4382 java/lang/Exception.java,
4383 java/lang/ExceptionInInitializerError.java,
4384 java/lang/Float.java,
4385 java/lang/IllegalAccessError.java,
4386 java/lang/IllegalAccessException.java,
4387 java/lang/IllegalArgumentException.java,
4388 java/lang/IllegalMonitorStateException.java,
4389 java/lang/IllegalStateException.java,
4390 java/lang/IllegalThreadStateException.java,
4391 java/lang/IncompatibleClassChangeError.java,
4392 java/lang/IndexOutOfBoundsException.java,
4393 java/lang/InheritableThreadLocal.java,
4394 java/lang/InstantiationError.java,
4395 java/lang/InstantiationException.java,
4396 java/lang/Integer.java,
4397 java/lang/InternalError.java,
4398 java/lang/InterruptedException.java,
4399 java/lang/LinkageError.java,
4400 java/lang/Long.java,
4401 java/lang/NegativeArraySizeException.java,
4402 java/lang/NoClassDefFoundError.java,
4403 java/lang/NoSuchFieldError.java,
4404 java/lang/NoSuchFieldException.java,
4405 java/lang/NoSuchMethodError.java,
4406 java/lang/NoSuchMethodException.java,
4407 java/lang/NullPointerException.java,
4408 java/lang/Number.java,
4409 java/lang/NumberFormatException.java,
4410 java/lang/OutOfMemoryError.java,
4411 java/lang/Process.java,
4412 java/lang/Runnable.java,
4413 java/lang/Runtime.java,
4414 java/lang/RuntimeException.java,
4415 java/lang/RuntimePermission.java,
4416 java/lang/SecurityException.java,
4417 java/lang/SecurityManager.java,
4418 java/lang/Short.java,
4419 java/lang/StackOverflowError.java,
4420 java/lang/StackTraceElement.java,
4421 java/lang/StringBuffer.java,
4422 java/lang/StringIndexOutOfBoundsException.java,
4423 java/lang/ThreadDeath.java,
4424 java/lang/ThreadGroup.java,
4425 java/lang/Throwable.java,
4426 java/lang/UnsatisfiedLinkError.java,
4427 java/lang/UnsupportedOperationException.java,
4428 java/lang/VerifyError.java,
4429 java/lang/VirtualMachineError.java,
4430 java/lang/reflect/AccessibleObject.java,
4431 java/lang/reflect/Array.java,
4432 java/lang/reflect/InvocationTargetException.java,
4433 java/lang/reflect/Member.java,
4434 java/lang/reflect/Modifier.java,
4435 java/lang/reflect/Proxy.java,
4436 java/lang/reflect/ReflectPermission.java,
4437 java/lang/reflect/UndeclaredThrowableException.java,
4438 java/math/BigInteger.java,
4439 java/net/NetworkInterface.java,
4440 java/nio/ByteBufferHelper.java,
4441 java/nio/ByteBufferImpl.java,
4442 java/nio/DirectByteBufferImpl.java,
4443 java/nio/DoubleBufferImpl.java,
4444 java/nio/FloatBufferImpl.java,
4445 java/nio/IntBufferImpl.java,
4446 java/nio/LongBufferImpl.java,
4447 java/nio/ShortBufferImpl.java,
4448 java/nio/channels/Channel.java,
4449 java/nio/channels/IllegalBlockingModeException.java,
4450 java/nio/charset/spi/CharsetProvider.java,
4451 java/security/AccessControlException.java,
4452 java/security/BasicPermission.java,
4453 java/security/DigestException.java,
4454 java/security/DigestInputStream.java,
4455 java/security/DigestOutputStream.java,
4456 java/security/GeneralSecurityException.java,
4457 java/security/Guard.java,
4458 java/security/GuardedObject.java,
4459 java/security/InvalidAlgorithmParameterException.java,
4460 java/security/InvalidKeyException.java,
4461 java/security/InvalidParameterException.java,
4462 java/security/Key.java,
4463 java/security/KeyException.java,
4464 java/security/KeyManagementException.java,
4465 java/security/KeyStoreException.java,
4466 java/security/MessageDigestSpi.java,
4467 java/security/NoSuchAlgorithmException.java,
4468 java/security/NoSuchProviderException.java,
4469 java/security/Permission.java,
4470 java/security/PermissionCollection.java,
4471 java/security/Permissions.java,
4472 java/security/Principal.java,
4473 java/security/PrivateKey.java,
4474 java/security/PrivilegedActionException.java,
4475 java/security/ProviderException.java,
4476 java/security/PublicKey.java,
4477 java/security/SecureRandom.java,
4478 java/security/SecureRandomSpi.java,
4479 java/security/SignatureException.java,
4480 java/security/SignatureSpi.java,
4481 java/security/SignedObject.java,
4482 java/security/Signer.java,
4483 java/security/UnrecoverableKeyException.java,
4484 java/security/UnresolvedPermission.java,
4485 java/security/acl/AclNotFoundException.java,
4486 java/security/acl/LastOwnerException.java,
4487 java/security/acl/NotOwnerException.java,
4488 java/security/cert/CertPath.java,
4489 java/security/cert/CertPathBuilderException.java,
4490 java/security/cert/CertPathValidatorException.java,
4491 java/security/cert/CertStoreException.java,
4492 java/text/BreakIterator.java,
4493 java/text/ChoiceFormat.java,
4494 java/text/CollationElementIterator.java,
4495 java/text/CollationKey.java,
4496 java/text/Collator.java,
4497 java/text/DateFormat.java,
4498 java/text/DateFormatSymbols.java,
4499 java/text/DecimalFormat.java,
4500 java/text/DecimalFormatSymbols.java,
4501 java/text/FieldPosition.java,
4502 java/text/Format.java,
4503 java/text/NumberFormat.java,
4504 java/text/ParseException.java,
4505 java/text/ParsePosition.java,
4506 java/text/StringCharacterIterator.java,
4507 java/util/AbstractCollection.java,
4508 java/util/AbstractList.java,
4509 java/util/AbstractMap.java,
4510 java/util/AbstractSequentialList.java,
4511 java/util/AbstractSet.java,
4512 java/util/ArrayList.java,
4513 java/util/Arrays.java,
4514 java/util/BitSet.java,
4515 java/util/Collection.java,
4516 java/util/Collections.java,
4517 java/util/Comparator.java,
4518 java/util/ConcurrentModificationException.java,
4519 java/util/Currency.java,
4520 java/util/Date.java,
4521 java/util/EmptyStackException.java,
4522 java/util/Enumeration.java,
4523 java/util/EventListener.java,
4524 java/util/EventListenerProxy.java,
4525 java/util/EventObject.java,
4526 java/util/HashMap.java,
4527 java/util/HashSet.java,
4528 java/util/Hashtable.java,
4529 java/util/IdentityHashMap.java,
4530 java/util/Iterator.java,
4531 java/util/LinkedHashSet.java,
4532 java/util/LinkedList.java,
4533 java/util/List.java,
4534 java/util/ListIterator.java,
4535 java/util/ListResourceBundle.java,
4537 java/util/MissingResourceException.java,
4538 java/util/NoSuchElementException.java,
4539 java/util/Observable.java,
4540 java/util/Observer.java,
4541 java/util/Properties.java,
4542 java/util/PropertyPermissionCollection.java,
4543 java/util/RandomAccess.java,
4545 java/util/SortedMap.java,
4546 java/util/SortedSet.java,
4547 java/util/Stack.java,
4548 java/util/StringTokenizer.java,
4549 java/util/TooManyListenersException.java,
4550 java/util/TreeMap.java,
4551 java/util/TreeSet.java,
4552 java/util/Vector.java,
4553 java/util/logging/FileHandler.java,
4554 java/util/logging/Level.java,
4555 java/util/prefs/BackingStoreException.java,
4556 java/util/prefs/InvalidPreferencesFormatException.java,
4557 java/util/prefs/Preferences.java,
4558 javax/accessibility/Accessible.java,
4559 javax/accessibility/AccessibleAction.java,
4560 javax/accessibility/AccessibleBundle.java,
4561 javax/accessibility/AccessibleComponent.java,
4562 javax/accessibility/AccessibleContext.java,
4563 javax/accessibility/AccessibleEditableText.java,
4564 javax/accessibility/AccessibleExtendedComponent.java,
4565 javax/accessibility/AccessibleExtendedTable.java,
4566 javax/accessibility/AccessibleHyperlink.java,
4567 javax/accessibility/AccessibleHypertext.java,
4568 javax/accessibility/AccessibleIcon.java,
4569 javax/accessibility/AccessibleKeyBinding.java,
4570 javax/accessibility/AccessibleRelation.java,
4571 javax/accessibility/AccessibleRelationSet.java,
4572 javax/accessibility/AccessibleResourceBundle.java,
4573 javax/accessibility/AccessibleRole.java,
4574 javax/accessibility/AccessibleSelection.java,
4575 javax/accessibility/AccessibleState.java,
4576 javax/accessibility/AccessibleStateSet.java,
4577 javax/accessibility/AccessibleTable.java,
4578 javax/accessibility/AccessibleTableModelChange.java,
4579 javax/accessibility/AccessibleText.java,
4580 javax/accessibility/AccessibleValue.java,
4581 javax/imageio/IIOException.java,
4582 javax/imageio/ImageIO.java,
4583 javax/imageio/spi/IIOServiceProvider.java,
4584 javax/imageio/spi/ImageInputStreamSpi.java,
4585 javax/imageio/spi/ImageOutputStreamSpi.java,
4586 javax/imageio/spi/ImageReaderWriterSpi.java,
4587 javax/imageio/spi/ImageTranscoderSpi.java,
4588 javax/imageio/spi/RegisterableService.java,
4589 javax/imageio/spi/ServiceRegistry.java,
4590 javax/imageio/stream/IIOByteBuffer.java,
4591 javax/imageio/stream/ImageInputStream.java,
4592 javax/imageio/stream/ImageOutputStream.java,
4593 javax/naming/Binding.java,
4594 javax/naming/CannotProceedException.java,
4595 javax/naming/CompositeName.java,
4596 javax/naming/CompoundName.java,
4597 javax/naming/LinkException.java,
4598 javax/naming/LinkRef.java,
4599 javax/naming/NameClassPair.java,
4600 javax/naming/Reference.java,
4601 javax/naming/ReferralException.java,
4602 javax/naming/directory/Attribute.java,
4603 javax/naming/directory/AttributeModificationException.java,
4604 javax/naming/directory/Attributes.java,
4605 javax/naming/directory/DirContext.java,
4606 javax/naming/directory/ModificationItem.java,
4607 javax/naming/directory/SearchControls.java,
4608 javax/naming/directory/SearchResult.java,
4609 javax/naming/event/EventContext.java,
4610 javax/naming/event/EventDirContext.java,
4611 javax/naming/event/NamespaceChangeListener.java,
4612 javax/naming/event/NamingExceptionEvent.java,
4613 javax/naming/event/NamingListener.java,
4614 javax/naming/event/ObjectChangeListener.java,
4615 javax/naming/ldap/Control.java,
4616 javax/naming/ldap/ExtendedResponse.java,
4617 javax/naming/ldap/HasControls.java,
4618 javax/naming/ldap/LdapContext.java,
4619 javax/naming/ldap/UnsolicitedNotification.java,
4620 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4621 javax/naming/ldap/UnsolicitedNotificationListener.java,
4622 javax/naming/spi/DirectoryManager.java,
4623 javax/naming/spi/ResolveResult.java,
4624 javax/naming/spi/Resolver.java,
4625 javax/security/auth/callback/Callback.java,
4626 javax/security/auth/callback/CallbackHandler.java,
4627 javax/security/auth/callback/ChoiceCallback.java,
4628 javax/security/auth/callback/ConfirmationCallback.java,
4629 javax/security/auth/callback/LanguageCallback.java,
4630 javax/security/auth/callback/NameCallback.java,
4631 javax/security/auth/callback/PasswordCallback.java,
4632 javax/security/auth/callback/TextInputCallback.java,
4633 javax/security/auth/callback/TextOutputCallback.java,
4634 javax/security/auth/callback/UnsupportedCallbackException.java,
4635 javax/security/sasl/Sasl.java,
4636 javax/security/sasl/SaslServerFactory.java,
4637 javax/swing/DefaultBoundedRangeModel.java,
4638 javax/swing/JComponent.java,
4639 javax/swing/JList.java,
4640 javax/swing/JProgressBar.java,
4641 javax/swing/JRadioButton.java,
4642 javax/swing/JTextArea.java,
4643 javax/swing/JTextField.java,
4644 javax/swing/JToggleButton.java,
4645 javax/swing/JTree.java,
4646 javax/swing/SpinnerListModel.java,
4647 javax/swing/event/EventListenerList.java,
4648 javax/swing/text/JTextComponent.java,
4649 javax/swing/text/StringContent.java,
4650 javax/swing/text/Utilities.java,
4651 javax/swing/undo/UndoManager.java,
4652 javax/swing/undo/UndoableEditSupport.java,
4653 javax/transaction/HeuristicCommitException.java,
4654 javax/transaction/HeuristicMixedException.java,
4655 javax/transaction/HeuristicRollbackException.java,
4656 javax/transaction/InvalidTransactionException.java,
4657 javax/transaction/NotSupportedException.java,
4658 javax/transaction/RollbackException.java,
4659 javax/transaction/Status.java,
4660 javax/transaction/Synchronization.java,
4661 javax/transaction/SystemException.java,
4662 javax/transaction/Transaction.java,
4663 javax/transaction/TransactionManager.java,
4664 javax/transaction/TransactionRequiredException.java,
4665 javax/transaction/TransactionRolledbackException.java,
4666 javax/transaction/UserTransaction.java,
4667 javax/transaction/xa/XAException.java,
4668 javax/transaction/xa/XAResource.java,
4669 javax/transaction/xa/Xid.java,
4670 javax/xml/XMLConstants.java,
4671 javax/xml/datatype/DatatypeConfigurationException.java,
4672 javax/xml/datatype/DatatypeConstants.java,
4673 javax/xml/datatype/DatatypeFactory.java,
4674 javax/xml/datatype/Duration.java,
4675 javax/xml/datatype/XMLGregorianCalendar.java,
4676 javax/xml/namespace/NamespaceContext.java,
4677 javax/xml/namespace/QName.java,
4678 javax/xml/parsers/DocumentBuilder.java,
4679 javax/xml/parsers/DocumentBuilderFactory.java,
4680 javax/xml/parsers/FactoryConfigurationError.java,
4681 javax/xml/parsers/ParserConfigurationException.java,
4682 javax/xml/parsers/SAXParser.java,
4683 javax/xml/parsers/SAXParserFactory.java,
4684 javax/xml/transform/ErrorListener.java,
4685 javax/xml/transform/OutputKeys.java,
4686 javax/xml/transform/Result.java,
4687 javax/xml/transform/Source.java,
4688 javax/xml/transform/SourceLocator.java,
4689 javax/xml/transform/Templates.java,
4690 javax/xml/transform/Transformer.java,
4691 javax/xml/transform/TransformerConfigurationException.java,
4692 javax/xml/transform/TransformerException.java,
4693 javax/xml/transform/TransformerFactory.java,
4694 javax/xml/transform/TransformerFactoryConfigurationError.java,
4695 javax/xml/transform/URIResolver.java,
4696 javax/xml/transform/dom/DOMLocator.java,
4697 javax/xml/transform/dom/DOMResult.java,
4698 javax/xml/transform/dom/DOMSource.java,
4699 javax/xml/transform/sax/SAXResult.java,
4700 javax/xml/transform/sax/SAXSource.java,
4701 javax/xml/transform/sax/SAXTransformerFactory.java,
4702 javax/xml/transform/sax/TemplatesHandler.java,
4703 javax/xml/transform/sax/TransformerHandler.java,
4704 javax/xml/transform/stream/StreamResult.java,
4705 javax/xml/transform/stream/StreamSource.java,
4706 javax/xml/validation/Schema.java,
4707 javax/xml/validation/SchemaFactory.java,
4708 javax/xml/validation/TypeInfoProvider.java,
4709 javax/xml/validation/Validator.java,
4710 javax/xml/validation/ValidatorHandler.java,
4711 javax/xml/xpath/XPathConstants.java,
4712 javax/xml/xpath/XPathException.java,
4713 javax/xml/xpath/XPathExpression.java,
4714 javax/xml/xpath/XPathExpressionException.java,
4715 javax/xml/xpath/XPathFactory.java,
4716 javax/xml/xpath/XPathFactoryConfigurationException.java,
4717 javax/xml/xpath/XPathFunction.java,
4718 javax/xml/xpath/XPathFunctionException.java,
4719 javax/xml/xpath/XPathFunctionResolver.java:
4720 Fixed usage of @author tag, reworked import statements,
4721 removed CVS tags, changed the modifier order and fixed
4722 HTML usage in javadocs.
4724 2005-02-16 Julian Scheid <julian@sektor37.de>
4726 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4728 (encodeLoop): Likewise.
4730 2005-02-16 Mark Wielaard <mark@klomp.org>
4732 * Makefile.am (ordinary_java_source_files): Add new files
4733 gnu/java/security/ber/BER.java,
4734 gnu/java/security/ber/BEREncodingException.java,
4735 gnu/java/security/ber/BERReader.java,
4736 gnu/java/security/ber/BERValue.java,
4737 gnu/java/security/pkcs/PKCS7SignedData.java and
4738 gnu/java/security/pkcs/SignerInfo.java.
4739 * Makefile.in: Regenerated.
4741 2005-02-16 Casey Marshall <csm@gnu.org>
4743 * gnu/java/security/provider/GnuDSAPrivateKey.java
4744 (encodedKey): new field.
4745 (getFormat): return "PKCS#8".
4746 (getEncoded): implemented.
4747 (toString): check for 'null' values.
4748 * gnu/java/security/provider/GnuDSAPublicKey.java
4749 (encodedKey): new field.
4750 (getFormat): return "X.509".
4751 (getEncoded): implemented.
4752 (toString): check for 'null' values.
4754 2005-02-16 Michael Koch <konqueror@gmx.de>
4756 * java/util/jar/JarFile.java: Imports reworked.
4758 2005-02-16 Mark Wielaard <mark@klomp.org>
4760 * java/util/jar/JarFile.java (verify): Make package private.
4761 (signaturesRead): Likewise.
4762 (verified): Likewise.
4763 (entryCerts): Likewise.
4766 (entries): Construct new JarEnumeration with reference to this.
4767 (JarEnumeration): Make static.
4768 (JarEnumeration.jarfile): New field.
4769 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4770 Compare verified value to Boolean.TRUE or Boolean.False only
4771 when verify is true.
4772 (getEntry): Make synchronized. Compare value of verified to
4774 (getInputStream): Construct EntryInputStream with reference to this.
4775 (getManifest): Make synchronized.
4776 (EntryInputStream): Make static.
4777 (EntryInputStream.jarfile): New field.
4778 (EntryInputStream.EntryInputStream): Check if manifest exists,
4779 before getting attributes.
4780 (eof): Synchronize on jarfile.
4782 2005-02-16 Casey Marshall <csm@gnu.org>
4784 * java/util/jar/JarFile.java (verify): return if the jar is signed
4785 with an unsupported algorithm.
4787 2005-02-16 Mark Wielaard <mark@klomp.org>
4789 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4790 InputStream as argument.
4791 (getInputStream): Construct a new EntryInputStream with the result of
4792 super.getInputStream(entry).
4794 2005-02-16 Casey Marshall <csm@gnu.org>
4796 Signed JAR file support.
4797 * java/net/URLClassLoader.java
4798 (JarURLResource.getCertificates): re-read jar entry to ensure
4799 certificates are picked up.
4800 (findClass): fill in class `signers' field, too.
4801 * java/util/jar/JarFile.java (META_INF): new constant.
4802 (PKCS7_DSA_SUFFIX): new constant.
4803 (PKCS7_RSA_SUFFIX): new constant.
4804 (DIGEST_KEY_SUFFIX): new constant.
4805 (SF_SUFFIX): new constant.
4806 (MD2_OID): new constant.
4807 (MD4_OID): new constant.
4808 (MD5_OID): new constant.
4809 (SHA1_OID): new constant.
4810 (DSA_ENCRYPTION_OID): new constant.
4811 (RSA_ENCRYPTION_OID): new constant.
4812 (signaturesRead): new field.
4813 (verified): new field.
4814 (entryCerts): new field.
4815 (DEBUG): new constant.
4816 (debug): new method.
4817 (JarEnumeration.nextElement): fill in entry certificates, read
4818 signatures if they haven't been read.
4819 (getEntry): likewise.
4820 (getInputStream): verify stream if it hasn't been verified yet.
4821 (readSignatures): new method.
4822 (verify): new method.
4823 (verifyHashes): new method.
4824 (readManifestEntry): new method.
4825 (EntryInputStream): new class.
4826 * gnu/java/io/Base64InputStream.java (decode): new class
4828 * gnu/java/security/der/DERReader.java don't make class
4830 (in): made protected.
4832 (readLength): likewise.
4833 * gnu/java/security/ber/BER.java,
4834 * gnu/java/security/ber/BEREncodingException.java,
4835 * gnu/java/security/ber/BERReader.java,
4836 * gnu/java/security/ber/BERValue.java,
4837 * gnu/java/security/pkcs/PKCS7SignedData.java,
4838 * gnu/java/security/pkcs/SignerInfo.java:
4841 2005-02-16 Tom Tromey <tromey@redhat.com>
4843 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4844 copied file on exit.
4846 2005-02-15 Mark Wielaard <mark@klomp.org>
4848 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4850 2005-02-15 Michael Koch <konqueror@gmx.de>
4852 * gnu/java/awt/peer/gtk/GtkArg.java,
4853 gnu/java/awt/peer/gtk/GtkArgList.java:
4856 2005-02-15 Craig Black <craig.black@aonix.com>
4858 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4859 (postMenuActionEvent): Implement to notify ItemListeners.
4860 * java/awt/CheckboxMenuItem.java
4861 (dispatchEventImpl): Update state on ItemEvent.
4862 * java/awt/MenuItem.java
4863 (processActionEvent): Retarget event source.
4865 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4867 * gnu/java/awt/color/ClutProfileConverter.java,
4868 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4869 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4870 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4871 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4872 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4873 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4874 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4875 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4876 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4877 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4878 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4879 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4880 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4881 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4882 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4883 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4884 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4885 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4886 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4887 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4888 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4889 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4890 gnu/java/awt/peer/gtk/GtkToolkit.java,
4891 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4892 javax/swing/JPopupMenu.java,
4893 javax/swing/JSpinner.java,
4894 javax/swing/SortingFocusTraversalPolicy.java,
4895 javax/swing/SwingUtilities.java,
4896 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4897 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4898 javax/swing/tree/DefaultMutableTreeNode.java:
4899 Removed unused imports and expanded starred
4902 2005-02-15 Mark Wielaard <mark@klomp.org>
4904 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4905 IllegalArgumentException when the given String is null.
4907 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4908 when given keystoke sequence cannot be parsed.
4910 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4911 if one is installed. Only install the given menubar is not null.
4913 * javax/swing/JViewport.java (getViewSize): Return an empty
4914 Dimension when the view isn't set or preferred component size when
4917 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4918 empty Dimension when there is no view set.
4919 (minimumLayoutSize): Likewise.
4920 (layoutContainer): Don't try to layout when there is no view.
4922 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4925 * include/jawt.h: Likewise.
4926 * include/jawt_md.h: Likewise.
4927 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4929 * jni/classpath/classpath_jawt.h: Likewise.
4930 * jni/gtk-peer/gtk_jawt.c: Likewise.
4931 * Makefile.am: Build libjawt.so.
4933 2005-02-15 Michael Koch <konqueror@gmx.de>
4935 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4936 Merged file header with classpath CVS head.
4937 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4938 Merged code formatting with classpath CVS head.
4939 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4941 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4942 Handle special JNI strings with 2 '\0' at the end.
4943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4944 Merged file header with classpath CVS head.
4945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4946 Merged code formatting with classpath CVS head.
4948 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4951 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4952 (handle_response): Use GTK_RESPONSE_ACCEPT.
4954 2005-02-15 Graydon Hoare <graydon@redhat.com>
4956 * Makefile.am: Fix library build breakage.
4957 * Makefile.in: Regenerate.
4959 2005-02-15 Michael Koch <konqueror@gmx.de>
4961 * javax/swing/JTabbedPane.java
4962 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4964 2005-02-15 Michael Koch <konqueror@gmx.de>
4966 * javax/swing/tree/DefaultMutableTreeNode.java:
4967 Reworked Javadocs all over.
4968 (getPathToRoot): Fixed direction of result array initialization.
4970 2005-02-15 Michael Koch <konqueror@gmx.de>
4972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4973 Fix includes for cairo 0.3.0 snappshot.
4974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4975 Merged file header from classpath CVS HEAD.
4977 2005-02-15 Craig Black <craig.black@aonix.com>
4979 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4980 (copyState): Pass a JNI global reference to signal handler.
4981 (realize_cb): Use and free JNI global reference.
4982 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4983 (create): Pass a JNI global reference to signal handler.
4984 (selection_changed): Match declaration.
4985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4986 (dispose): Do not remove entries from state tables until after widget is
4989 2005-02-15 Michael Koch <konqueror@gmx.de>
4991 * java/awt/Container.javai (paramString):
4992 If layoutMgr is null just return result of super.paramString().
4993 * java/awt/Scrollbar.java: Reformatted.
4994 * java/awt/im/InputContext.java (static):
4995 Removed redundant initializations.
4997 2005-02-15 Michael Koch <konqueror@gmx.de>
4999 * javax/swing/ImageIcon.java,
5000 javax/swing/UIManager.java,
5001 javax/swing/text/EditorKit.java,
5002 javax/swing/text/Segment.java:
5003 More whitespace cleanups.
5005 2005-02-15 Michael Koch <konqueror@gmx.de>
5007 * gnu/java/awt/EmbeddedWindow.java,
5008 gnu/java/awt/image/ImageDecoder.java,
5009 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5010 java/awt/DefaultKeyboardFocusManager.java,
5011 java/awt/Frame.java,
5012 java/awt/image/RGBImageFilter.java,
5013 javax/swing/AbstractButton.java,
5014 javax/swing/ActionMap.java,
5015 javax/swing/ComponentInputMap.java,
5016 javax/swing/DefaultDesktopManager.java,
5017 javax/swing/ImageIcon.java,
5018 javax/swing/InputMap.java,
5019 javax/swing/JButton.java,
5020 javax/swing/JCheckBox.java,
5021 javax/swing/JCheckBoxMenuItem.java,
5022 javax/swing/JEditorPane.java,
5023 javax/swing/JMenu.java,
5024 javax/swing/JMenuItem.java,
5025 javax/swing/JOptionPane.java,
5026 javax/swing/JRootPane.java,
5027 javax/swing/JTable.java,
5028 javax/swing/MenuSelectionManager.java,
5029 javax/swing/RepaintManager.java,
5030 javax/swing/ScrollPaneLayout.java,
5031 javax/swing/SortingFocusTraversalPolicy.java,
5032 javax/swing/UIManager.java,
5033 javax/swing/ViewportLayout.java,
5034 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5035 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5036 javax/swing/plaf/basic/BasicLabelUI.java,
5037 javax/swing/plaf/basic/BasicListUI.java,
5038 javax/swing/plaf/basic/BasicMenuItemUI.java,
5039 javax/swing/plaf/basic/BasicMenuUI.java,
5040 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5041 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5042 javax/swing/plaf/basic/BasicRootPaneUI.java,
5043 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5044 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5045 javax/swing/plaf/basic/BasicTextUI.java,
5046 javax/swing/table/TableColumnModel.java,
5047 javax/swing/text/AbstractDocument.java,
5048 javax/swing/text/EditorKit.java,
5049 javax/swing/text/Position.java,
5050 javax/swing/text/Segment.java,
5051 javax/swing/text/StyledEditorKit.java,
5052 javax/swing/text/ViewFactory.java:
5053 Cleanup whitespace differences to classpath CVS HEAD.
5055 2005-02-15 Graydon Hoare <graydon@redhat.com>
5057 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5058 (finalize): Call finish from here.
5059 (produce): Not from here.
5060 * Makefile.am (gtk_c_source_files):
5061 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5062 * Makefile.in: Regenerate.
5063 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5065 (cairoDrawGdkTextLayout):
5067 (getPeerTextMetrics):
5068 (getPeerFontMetrics): Remove.
5069 (setFont): Don't call cairoSetFont.
5070 (cairoDrawGlyphVector): Accept font peer argument.
5071 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5073 (ensure_metrics_cairo):
5074 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5075 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5076 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5077 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5079 (metrics_surface): Remove.
5080 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5081 Pass and install font peer.
5083 2005-02-15 Graydon Hoare <graydon@redhat.com>
5085 * Makefile.am: Create "split library" structure.
5086 * Makefile.in: Regenerate.
5088 2005-02-15 Graydon Hoare <graydon@redhat.com>
5090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5091 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5092 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5094 Release GDK lock during upcalls.
5096 2005-02-15 Graydon Hoare <graydon@redhat.com>
5098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5099 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5100 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5101 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5102 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5103 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5104 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5107 (getTextMetrics): New native methods.
5108 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5109 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5110 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5111 * Makefile.in: Regenerate.
5113 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5115 * javax/swing/SwingUtilities.java:
5116 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5117 Implemented and documented.
5118 (getAccessibleChild(java.awt.Component, int)): Likewise.
5119 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5120 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5121 (getAccessibleStateSet(java.awt.Component)): Likewise.
5123 2005-02-15 Michael Koch <konqueror@gmx.de>
5125 * javax/swing/SwingUtilities.java
5126 (getFontMetrics): Removed.
5128 2005-02-15 Michael Koch <konqueror@gmx.de>
5130 * java/awt/Container.java
5131 (paramString): Implemented.
5132 * javax/swing/AbstractButton.java
5133 (paramString): Implemented.
5134 * javax/swing/JComponent.java
5135 (paramString): Implemented.
5136 * javax/swing/JMenu.java
5137 (paramString): Implemented.
5138 * javax/swing/JMenuBar.java
5139 (paramString): Implemented.
5140 * javax/swing/JMenuItem.java
5141 (paramString): Implemented.
5142 * javax/swing/JPopupMenu.java
5143 (paramString): Implemented.
5145 2005-02-15 Michael Koch <konqueror@gmx.de>
5147 * javax/swing/JMenu.java
5148 (uiClassID): Removed.
5149 (JMenu): Set invoker on popup menu.
5150 (getUIClassID): Return id directly.
5151 (getItemCount): Simply return getMenuComponentCount().
5153 (isTopLevelMenu): Simplified.
5154 * javax/swing/JMenuItem.java
5155 (uiClassID): Removed.
5156 (getUIClassID): Return id directly.
5157 * javax/swing/JPopupMenu.java
5158 (uiClassID): Removed.
5159 (JPopupMenu): Always initialize correctly.
5160 (getSubElements): Only return components implementing MenuElement
5162 (HeavyWeightPopup.hide): Removed.
5164 2005-02-15 Michael Koch <konqueror@gmx.de>
5166 * java/awt/image/ReplicateScaleFilter.java
5167 (replicatePixels): Made private.
5168 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5169 (DefaultRGBChooserPanel): Made package private.
5170 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5171 (RecentSwatchPanel): Likewise.
5172 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5173 (MouseInputAdapter): Made abstract.
5174 * javax/swing/tree/DefaultMutableTreeNode.java
5176 (growTree): Likewise.
5178 2005-02-15 Michael Koch <konqueror@gmx.de>
5180 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5183 2005-02-15 Michael Koch <konqueror@gmx.de>
5185 * javax/swing/JComponent.java (getComponentGraphics):
5186 Removed accidently commited code.
5188 2005-02-15 Graydon Hoare <graydon@redhat.com>
5190 * java/awt/dnd/DropTarget.java
5191 (addDropTargetListener): Despite documentation, do not throw.
5192 * javax/swing/JComponent.java: Set a default DropTarget.
5194 2005-02-15 Michael Koch <konqueror@gmx.de>
5196 * javax/swing/AbstractAction.java
5197 (ENABLED_PROPERTY): Removed.
5198 (setEnabled): Replaced constant with real string.
5199 * javax/swing/AbstractButton.java
5200 (createActionPropertyChangeListener.propertyChange): Likewise.
5201 * javax/swing/JComboBox.java
5202 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5203 (EDITABLE_CHANGED_PROPERTY): Removed.
5204 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5205 (ENABLED_CHANGED_PROPERTY):Likewise.
5206 (RENDERER_CHANGED_PROPERTY):Likewise.
5207 (EDITOR_CHANGED_PROPERTY):Likewise.
5208 (MODEL_CHANGED_PROPERTY):Likewise.
5209 (uiClassID):Likewise.
5210 (getUIClassID): Replaced constant with real string.
5211 (setModel):Likewise.
5212 (setEditable):Likewise.
5213 (setMaximumRowCount):Likewise.
5214 (setRenderer):Likewise.
5215 (setEditor):Likewise.
5216 (setEnabled):Likewise.
5217 * javax/swing/JLabel.java
5218 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5219 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5220 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5221 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5222 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5223 (ICON_CHANGED_PROPERTY): Likewise.
5224 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5225 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5226 (TEXT_CHANGED_PROPERTY): Likewise.
5227 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5228 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5229 (setText): Replaced constant with real string.
5230 (setIcon): Likewise.
5231 (setDisabledIcon): Likewise.
5232 (setDisplayedMnemonic): Likewise.
5233 (setIconTextGap): Likewise.
5234 (setVerticalAlignment): Likewise.
5235 (setHorizontalAlignment): Likewise.
5236 (setVerticalTextPosition): Likewise.
5237 (setHorizontalTextPosition): Likewise.
5238 (setLabelFor): Replaced constant with real string.
5239 Fire property change event after property got changed.
5240 * javax/swing/JList.java
5241 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5242 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5243 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5244 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5245 (MODEL_PROPERTY_CHANGED): Likewise.
5246 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5247 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5248 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5249 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5250 (setFixedCellWidth): Reimplemented.
5251 (setFixedCellHeight): Exit if new value is identical.
5252 Replaced constant with real string.
5253 (setSelectionBackground): Likewise.
5254 (setSelectionForeground): Likewise.
5255 (setPrototypeCellValue): Likewise.
5256 (setCellRenderer): Replaced constant with real string.
5257 (setModel): Likewise.
5258 (setSelectionModel): Likewise.
5259 * javax/swing/JMenuBar.java
5260 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5261 (MODEL_CHANGED_PROPERTY): Likewise.
5262 (MARGIN_CHANGED_PROPERTY): Likewise.
5263 (setBorderPainted): Reimplemented.
5264 (setMargin): Likewise.
5265 (setSelectionModel): Replaced constant with real string.
5266 * javax/swing/JPopupMenu.java
5267 (LABEL_CHANGED_PROPERTY): Removed.
5268 (VISIBLE_CHANGED_PROPERTY): Likewise.
5269 (borderPainted): Likewise.
5270 (setLabel): Replaced constant with real string.
5271 (setVisible): Exit if new value is identical.
5272 Replaced constant with real string.
5273 * javax/swing/JProgressBar.java
5274 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5275 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5276 (STRING_CHANGED_PROPERTY): Likewise.
5277 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5278 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5279 (setOrientation): Replaced constant with real string.
5280 (setStringPainted): Likewise.
5281 (setString): Likewise.
5282 (setBorderPainted): Likewise.
5283 (setIndeterminate): Likewise.
5284 * javax/swing/JScrollBar.java
5285 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5286 (MODEL_CHANGED_PROPERTY): Likewise.
5287 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5288 (setOrientation): Replaced constant with real string.
5289 (setModel): Likewise.
5290 (setUnitIncrement): Likewise.
5291 (setBlockIncrement): Likewise.
5292 * javax/swing/JScrollPane.java
5293 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5294 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5295 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5296 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5297 (LAYOUT_CHANGED_PROPERTY): Likewise.
5298 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5299 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5300 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5301 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5302 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5303 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5304 (setComponentOrientation): Replaced constant with real string.
5305 (setColumnHeader): Likewise.
5306 (setHorizontalScrollBar): Likewise.
5307 (setHorizontalScrollBarPolicy): Likewise.
5308 (setRowHeader): Likewise.
5309 (setVerticalScrollBar): Likewise.
5310 (setVerticalScrollBarPolicy): Likewise.
5311 (setWheelScrollingEnabled): Likewise.
5312 (setViewport): Likewise.
5313 (setViewportBorder): Likewise.
5314 * javax/swing/JSlider.java
5315 (INVERTED_CHANGED_PROPERTY): Removed.
5316 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5317 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5318 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5319 (MODEL_CHANGED_PROPERTY): Likewise.
5320 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5321 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5322 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5323 (setModel): Replaced constant with real string.
5324 (setOrientation): Likewise.
5325 (setLabelTable): Likewise.
5326 (setInverted): Likewise.
5327 (setMajorTickSpacing): Likewise.
5328 (setMinorTickSpacing): Likewise.
5329 (setPaintTicks): Likewise.
5330 (setPaintLabels): Likewise.
5331 * javax/swing/JTabbedPane.java
5332 (MODEL_CHANGED_PROPERTY): Removed.
5333 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5334 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5335 (setModel): Replaced constant with real string.
5336 (setTabPlacement): Likewise.
5337 (setTabLayoutPolicy): Likewise.
5338 * javax/swing/JToolBar.java
5339 (ORIENTATION_CHANGED_PROPERTY): Removed.
5340 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5341 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5342 (MARGIN_CHANGED_PROPERTY): Likewise.
5343 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5344 (setRollover): Replaced constant with real string.
5345 (setMargin): Likewise.
5346 (setBorderPainted): Likewise.
5347 (setFloatable): Likewise.
5348 (setOrientation): Likewise.
5349 * javax/swing/plaf/basic/BasicComboBoxUI.java
5350 (PropertyChangeHandler.propertyChange): Likewise.
5351 * javax/swing/plaf/basic/BasicComboPopup.java
5352 (PropertyChangeHandler.propertyChange): Likewise.
5353 * javax/swing/plaf/basic/BasicMenuBarUI.java
5354 (PropertyChangeHandler.propertyChange): Likewise.
5355 * javax/swing/plaf/basic/BasicProgressBarUI.java
5356 (PropertyChangeHandler.propertyChange): Likewise.
5357 * javax/swing/plaf/basic/BasicScrollBarUI.java
5358 (PropertyChangeHandler.propertyChange): Likewise.
5359 * javax/swing/plaf/basic/BasicSliderUI.java
5360 (PropertyChangeHandler.propertyChange): Likewise.
5361 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5362 (PropertyChangeHandler.propertyChange): Likewise.
5363 * javax/swing/plaf/basic/BasicToolBarUI.java
5364 (PropertyChangeHandler.propertyChange): Likewise.
5366 2005-02-15 Michael Koch <konqueror@gmx.de>
5368 * javax/swing/DefaultButtonModel.java
5369 (changeState): Made private.
5370 * javax/swing/DefaultDesktopManager.java
5371 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5372 * javax/swing/JLayeredPane.java
5373 (layerToRange): Made private.
5374 (incrLayer): Likewise.
5375 (decrLayer): Likewise.
5376 * javax/swing/JTable.java
5377 (dragEnabled): Likewise.
5378 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5379 * javax/swing/KeyStroke.java
5380 (Keystroke): Made private.
5381 * javax/swing/TransferHandler.java
5382 (COMMAND_COPY): Likewise.
5383 (COMMAND_CUT): Likewise.
5384 (COMMAND_PASTE): Likewise.
5386 2005-02-15 Michael Koch <konqueror@gmx.de>
5388 * javax/swing/JTextField.java
5389 (postActionEvent): Use text in field when actionCommand is null.
5390 (getActionCommand): Removed.
5392 2005-02-15 Michael Koch <konqueror@gmx.de>
5394 * javax/swing/AbstractSet.java: Removed.
5395 * Makefile.am: Removed javax/swing/AbstractSet.java.
5396 * Makefile.in: Regenerated.
5398 2005-02-15 Michael Koch <konqueror@gmx.de>
5400 * java/awt/Window.java
5401 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5402 * java/awt/dnd/DnDConstants.java
5403 (DnDConstants): New private constructor.
5405 2005-02-15 Michael Koch <konqueror@gmx.de>
5407 * javax/swing/DefaultCellRenderer.java: Removed.
5408 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5409 * Makefile.in: Regenerated.
5411 2005-02-15 Michael Koch <konqueror@gmx.de>
5413 * javax/swing/AbstractButton.java
5414 (fireItemStateChanged): Made protected.
5415 (fireActionPerformed): Likewise.
5416 (fireStateChanged): Likewise.
5417 * javax/swing/DefaultButtonModel.java
5418 (fireItemStateChanged): Likewise.
5419 (fireActionPerformed): Likewise.
5420 (fireStateChanged): Likewise.
5421 * javax/swing/JApplet.java
5423 (frameInit): Likewise.
5424 (setRootPane): Made protected.
5425 (createRootPane): Likewise.
5426 * javax/swing/JComponent.java
5427 (getClientProperty): Likewise.
5428 (putClientProperty): Likewise.
5429 * javax/swing/JEditorPane.java
5430 (getContentType): Likewise.
5431 (setContentType): Likewise.
5432 * javax/swing/JFrame.java
5433 (setRootPane): Likewise.
5434 (createRootPane): Likewise.
5435 * javax/swing/JInternalFrame.java
5436 (getFocusCycleRootAncestor): Made final. Added @since tag.
5437 (isFocusCycleRoot): Likewise.
5438 (getWarningString): Made final.
5439 * javax/swing/JScrollBar.java
5440 (changeListener): Removed.
5441 (changeEvent): Likewise.
5442 (createChangeListener): Likewise.
5443 (fireStateChanged): Likewise.
5444 (addChangeListener): Likewise.
5445 (removeChangeListener): Likewise.
5446 (getChangeListeners): Likewise.
5447 * javax/swing/JScrollPane.java
5448 (createViewport): Made protected.
5449 * javax/swing/JViewport.java
5450 (addImpl): Likewise.
5451 (setBorder): New method.
5452 * javax/swing/JWindow.java
5453 (setRootPane): Made protected.
5454 (createRootPane): Likewise.
5455 * javax/swing/plaf/basic/BasicButtonUI.java
5456 (installListeners): Likewise.
5457 (uninstallListeners): Likewise.
5458 * javax/swing/plaf/basic/BasicProgressBarUI.java
5459 (incrementAnimationIndex): Likewise.
5460 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5461 (createLayoutManager): Likewise.
5462 * javax/swing/table/DefaultTableCellRenderer.java
5463 (firePropertyChange): Likewise.
5464 * javax/swing/table/JTableHeader.java
5465 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5467 * javax/swing/text/PlainDocument.java
5468 (reindex): Made private.
5469 * javax/swing/text/PlainView.java
5470 (drawLine): Made protected.
5471 (getTabSize): Likewise.
5472 * javax/swing/text/View.java
5474 (preferenceChanged): New method.
5475 (getBreakWeight): Likewise.
5476 (breakView): Likewise.
5477 (getViewIndex): Likewise.
5479 2005-02-15 Michael Koch <konqueror@gmx.de>
5481 * javax/swing/JScrollPane.java
5482 (ScrollBar): Made class protected.
5483 * javax/swing/JSpinner.java
5484 (JSpinner): Added @since tag.
5485 (listenerList): Removed.
5486 * javax/swing/JTable.java
5487 (setValueAt): New method.
5488 (getColumn): Likewise.
5489 * javax/swing/JWindow.java
5490 (rootPaneCheckingEnabled): Renamed from checking.
5492 2005-02-15 Michael Koch <konqueror@gmx.de>
5494 * javax/swing/plaf/basic/BasicTextUI.java
5495 (RootView.modelToView): Made it public and return a java.awt.Shape.
5496 Handle null subview.
5497 (uninstall): Set textComponent to null when its not possible used
5499 * javax/swing/text/View.java
5500 (setParent): Use better argument name.
5501 (getContainer): Get parent via getParent().
5502 (getViewFactory): Likewise.
5503 (getAttributes): Get element via getElement().
5504 (getStartOffset): Likewise.
5505 (getEndOffset): Likewise.
5506 (getResizeWeight): New method.
5507 (getMaximumSpan): Likewise.
5508 (getMinimumSpan): Likewise.
5509 (setSize): Likewise.
5510 (getGraphics): Likewise.
5512 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5514 * java/awt/Checkbox.java:
5515 (AccessibleAWTCheckbox()): Added public constructor
5517 * java/awt/Choice.java:
5518 (AccessibleAWTChoice): Added class documentation.
5519 (AccessibleAWTChoice()): Added public constructor
5521 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5522 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5523 and changed role to COMBO_BOX.
5524 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5525 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5526 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5528 2005-02-15 Graydon Hoare <graydon@redhat.com>
5529 Michael Koch <konqueror@gmx.de>
5531 * javax/swing/LayoutFocusTraversalPolicy.java,
5532 javax/swing/SortingFocusTraversalPolicy.java:
5534 * Makefile.am: Added new classes.
5535 * Makefike.in: Regenerated.
5538 2005-02-15 Michael Koch <konqueror@gmx.de>
5540 * javax/swing/DebugGraphics.java: Mostly implemented.
5542 2005-02-15 Michael Koch <konqueror@gmx.de>
5544 * javax/swing/SwingUtilities.java
5545 (findFocusOwner): New method.
5547 2005-02-15 Michael Koch <konqueror@gmx.de>
5549 * javax/swing/text/DefaultEditorKit.java
5550 (read): Added '\n' after each line.
5551 * javax/swing/text/PlainView.java
5552 (modelToView): Update metrics.
5553 (drawLine): Use offsets from element.
5554 (paint): Update metrics. Draw all lines.
5556 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5558 * java/awt/Checkbox.java:
5559 (AccessibleAWTCheckbox): Added class documentation
5560 * java/awt/Scrollbar.java:
5561 (AccessibleAWTScrollBar): typo corrected and docs added
5562 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5563 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5564 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5565 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5566 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5567 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5568 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5569 (getAccessibleContext()): name of accessible class corrected
5571 2005-02-15 Mark Wielaard <mark@klomp.org>
5573 * java/awt/BasicStroke.java (hashCode): Implement.
5576 2005-02-15 Michael Koch <konqueror@gmx.de>
5578 * java/awt/print/PrinterJob.java
5579 (pageDialog): Throws java.awt.HeadlessException.
5580 (printDialog): Likewise.
5582 2005-02-15 Mark Wielaard <mark@klomp.org>
5584 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5586 2005-02-15 Michael Koch <konqueror@gmx.de>
5588 * javax/swing/JTable.java
5589 (getValueAt): New method.
5590 * javax/swing/table/JTableHeader.java
5591 (columnAtPoint): New method.
5593 2005-02-15 Michael Koch <konqueror@gmx.de>
5595 * javax/swing/JTextField.java
5596 (actions): New field.
5597 (static): Initalize actions field.
5598 (getActions): New method.
5600 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5602 * java/awt/Checkbox.java:
5603 (AccessibleAWTCheckbox): name capitalization corrected
5604 and serialization UID added.
5605 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5607 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5608 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5609 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5610 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5611 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5612 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5613 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5614 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5615 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5616 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5617 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5619 (getAccessibleContext()): name of accessible class corrected
5621 2005-02-15 Sven de Marothy <sven@physto.se>
5623 * java/awt/geom/doc-files/Area-1.png,
5624 java/awt/geom/doc-files/Ellipse-1.png,
5625 java/awt/geom/doc-files/GeneralPath-1.png:
5628 2005-02-15 Graydon Hoare <graydon@redhat.com>
5630 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5631 Use union to avoid type-punning warning.
5633 2005-02-15 Michael Koch <konqueror@gmx.de>
5635 * javax/swing/DefaultListSelectionModel.java
5636 (clone): New method.
5638 2005-02-15 Mark Wielaard <mark@klomp.org>
5640 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5641 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5642 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5643 Correct method signature of gtkSetFilename.
5645 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5647 * javax/swing/text/StringContent.java: New file.
5649 2005-02-15 Michael Koch <konqueror@gmx.de>
5651 * Makefile.am: Added javax/swing/text/StringContent.java.
5652 * Makefile.in: Regenerated.
5654 2005-02-15 Michael Koch <konqueror@gmx.de>
5656 * gnu/java/awt/ClasspathToolkit.java:
5657 Import statements reworked.
5658 (imageCache): Made it of type java.util.HashMap.
5660 2005-02-15 Michael Koch <konqueror@gmx.de>
5662 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5663 Reworked import statements.
5665 2005-02-15 Graydon Hoare <graydon@redhat.com>
5667 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5668 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5670 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5671 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5673 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5676 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5679 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5680 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5681 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5682 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5683 Rewrite uses of extern variable to be function calls.
5684 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5685 function, from extern variable.
5686 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5687 (gdk_env): Remove variable, add new function.
5688 (java_vm): Add new variable.
5689 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5690 java_vm rather than old gdk_env variable.
5692 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5694 * javax/swing/DefaultListModel.java
5695 (add): fire correct event,
5696 (addElement): corrected interval indices in event,
5697 (clear): corrected upper bound for interval, only fire event if
5699 (setSize): fire appropriate event.
5701 2005-02-15 Graydon Hoare <graydon@redhat.com>
5703 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5704 * gnu/awt/xlib/XToolkit.java: Likewise.
5705 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5706 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5707 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5708 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5709 * java/awt/EventQueue.java (getNextEvent):
5710 Adjust event loop to switch to native mode after 100ms.
5711 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5713 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5714 Wake up event thread.
5715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5716 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5717 Adjust event loop to switch to java mode after 100ms.
5719 2005-02-15 Graydon Hoare <graydon@redhat.com>
5721 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5722 accidentally removed in last change.
5724 2005-02-15 Michael Koch <konqueror@gmx.de>
5726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5727 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5729 2005-02-15 Graydon Hoare <graydon@redhat.com>
5731 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5732 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5733 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5734 * jni.cc: Reuse bottom frame between calls, avoid clearing
5735 frame when no local references are made.
5737 2005-02-15 Michael Koch <konqueror@gmx.de>
5739 * javax/swing/UIDefaults.java (UIDefaults):
5740 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5741 Fixed HTML entity and removed a redundant comma.
5743 2005-02-15 Michael Koch <konqueror@gmx.de>
5745 * javax/swing/text/DefaultEditorKit.java
5746 (deinstall): Removed.
5747 (install): Likewise.
5749 2005-02-15 Michael Koch <konqueror@gmx.de>
5751 * javax/swing/UIDefaults.java (put): Handle value of null.
5753 2005-02-15 Michael Koch <konqueror@gmx.de>
5755 * java/awt/Robot.java,
5756 java/awt/Scrollbar.java,
5757 java/awt/print/PrinterJob.java,
5758 javax/swing/JTable.java,
5759 javax/swing/text/AbstractDocument.java:
5760 Reworked import statements.
5762 2005-02-15 Michael Koch <konqueror@gmx.de>
5764 * javax/swing/JEditorPane.java
5765 (read): Implemented.
5767 * javax/swing/text/DefaultEditorKit.java
5768 (page): Renamed from page_url. Made private.
5769 (editorKit): Renamed from kit. Made private.
5771 (JEditorPane): All constructors reimplemented.
5772 (getContentType): Use content type from editor kit.
5773 (getEditorKit): Return editorKit.
5774 (getEditorKitForContentType):Likewise.
5775 (getPage): Return page.
5776 (setContentType): Reimplemented.
5777 (setEditorKit): Likewise.
5778 (setEditorKitForContentType): Removed wrong implementation.
5779 (setPage): Implemented.
5781 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5784 (nativeSetIconImageFromData): Re-add native implementation.
5786 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5788 * javax/swing/table/DefaultTableModel.java
5789 (DefaultTableModel()): Added Javadocs.
5790 (DefaultTableModel(int, int)): Fixed implementation.
5791 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5792 for negative rowCount.
5793 (DefaultTableModel(Object[], int)): Added Javadocs.
5794 (DefaultTableModel(Vector, Vector)): Likewise.
5795 (DefaultTableModel(Object[][], Object[])): Likewise.
5796 (getDataVector): Likewise.
5797 (setDataVector(Vector, Vector)): Likewise.
5798 (setDataVector(Object[][], Object[])): Likewise.
5799 (newDataAvailable): Likewise.
5800 (newRowsAdded): Likewise.
5801 (rowsRemoved): Likewise.
5802 (setColumnIdentifiers(Vector)): Allow for null argument.
5803 (setColumnIdentifiers(Object[])): Added Javadocs.
5804 (setNumRows): Likewise.
5805 (setRowCount): Adds new rows if necessary, and sends more specific
5807 (setColumnCount): Allow for null columnIdentifiers.
5808 (addColumn(Object)): Added Javadocs.
5809 (addColumn(Object, Vector)): Handle null columnData.
5810 (addColumn(Object, Object[])): Handle columnData with more or less
5811 entries than rows in the table.
5812 (addRow(Vector)): Fire appropriate event.
5813 (addRow(Object[])): Added Javadocs.
5814 (insertRow(int, Vector)): Fire appropriate event.
5815 (insertRow(int, Object[])): Added Javadocs.
5816 (moveRow): Reimplemented.
5817 (removeRow(int)): Fire appropriate event.
5818 (getColumnCount): Allow for null columnIdentifiers.
5819 (getColumnName): Now returns empty string when column index is too
5821 (isCellEditable): Added Javadocs.
5822 (getValueAt): Likewise.
5823 (setValueAt): Fire more specific event.
5824 (convertToVector): Added Javadocs.
5825 * javax/swing/table/TableModel.java
5828 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5830 * libgcj.spec.in (lib): Add -l-javax-imageio.
5832 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5834 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5835 references to event queue q with method call q().
5836 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5837 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5838 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5839 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5840 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5841 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5844 2005-02-15 Graydon Hoare <graydon@redhat.com>
5846 * gnu/java/awt/ClasspathToolkit.java
5847 (registerImageIOSpis): New method.
5848 * gnu/java/awt/image/ImageDecoder.java
5849 (imageDecoder): New constructor using InputStream
5850 (startProduction): Handle existing InputStream.
5851 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5852 (findSimpleIntegerArray): Make public and static.
5853 (updateBufferedImage): Set each pixel, in a loop.
5854 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5855 Implement ImageIO SPI classes.
5856 (createBufferedImage): Rewrite in terms of SPI classes.
5857 * gnu/java/awt/peer/gtk/GtkToolkit.java
5858 (registerImageIOSpis): New method.
5859 * java/lang/reflect/natMethod.cc
5860 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5861 which lets JNI call interface methods properly.
5862 * javax/imageio/ImageIO.java
5863 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5864 (WriterMIMETypeFilter.filter): Likewise.
5865 (ImageReaderIterator): Pass extension argument through to SPI.
5866 (getReadersByFilter): Likewise.
5867 (getWritersByFilter): Likewise.
5868 (getImageReadersByFormatName): Likewise.
5869 (getImageReadersByMIMEType): Likewise.
5870 (getImageReadersBySuffix): Likewise.
5871 (getImageWritersByFormatName): Likewise.
5872 (getImageWritersByMIMEType): Likewise.
5873 (getImageWritersBySuffix): Likewise.
5876 * javax/imageio/ImageReader.java
5877 (progressListeners): Initialize.
5878 (setInput): Implement.
5879 * javax/imageio/ImageWriter.java
5880 (progressListeners): Initialize.
5881 (warningListeners): Likewise.
5882 (warningLocales): Likewise.
5883 (setOutput): Test "isInstance" rather than class equality.
5884 * javax/imageio/spi/IIORegistry.java
5885 (static): Add reader and writer SPIs.
5886 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5887 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5888 (query_formats): New function.
5889 (save_to_stream): Likewise.
5890 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5892 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5894 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5896 (keyPress): Likewise.
5897 (keyRelease): Likewise.
5899 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5901 * javax/swing/JTable.java
5902 (columnAtPoint): New Method. Implemented.
5903 (rowAtPoint): Likewise.
5904 (countSelections): Fixed few small count errors.
5905 (getSelections): Likewise.
5906 (setSelectionMode): Set selection mode for column
5907 selection model in addition to row selection model.
5908 * javax/swing/plaf/basic/BasicTableUI.java:
5909 (getRowForPoint): Removed. Replaced by
5910 JTable.rowAtPoint().
5911 (getColForPoint): Removed. Replaced by
5912 JTable.columnAtPoint().
5913 (updateSelection): Updated to call JTable.columnAtPoint
5914 and JTable.rowAtPoint.
5915 * javax/swing/table/DefaultTableColumnModel.java:
5916 (getSelectedColumns): Implemented.
5917 (getSelectedColumnCount): Implemented.
5919 2005-02-15 Graydon Hoare <graydon@redhat.com>
5922 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5923 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5924 * Makefile.in: Regenerate.
5925 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5926 * gnu/awt/xlib/XFramePeer.java: Likewise.
5927 * gnu/awt/xlib/XToolkit.java: Likewise.
5928 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5929 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5930 * gnu/java/awt/ClasspathToolkit.java
5933 (iterateNativeQueue): New methods.
5934 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5935 * gnu/java/awt/peer/gtk/GtkToolkit.java
5936 (gtkInit): Absorb from defunct GtkMainThread class.
5937 (static): Run gtkInit in static startup block.
5938 (GtkToolkit): Remove construction of GtkMainThread and queue.
5939 (getSystemEventQueueImpl): Construct queue when requested.
5942 (iterateNativeQueue): New methods.
5943 * java/awt/Component.java (removeNotify): Remove race.
5944 * java/awt/EventDispatchThread.java
5945 (EventDispatchThread): Don't start on construction.
5946 (run): Remove isInterrupted check.
5947 * java/awt/EventQueue.java (shutdown): New flag.
5948 (isShutdown): New method checking J2SE shutdown condition.
5949 (setShutdown): New method.
5950 (getNextEvent): Restructure to use ClasspathToolkit.
5951 (postEvent): Activate new thread on posting, wake thread on
5952 post of possible shutdown condition event.
5953 * java/awt/Frame.java
5954 (Frame): Call noteFrame in all constructors.
5955 (fireDummyEvent): New helper method.
5956 (addNotify): Fire a dummy event to wake up queue.
5957 (removeNotify): Fire a dummy event to wake up queue.
5958 (noteFrame): New method.
5959 (weakFrames): New static field.
5960 (getFrames): Implement.
5961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5964 Move everything from GtkMainThread into this file
5965 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5966 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5967 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5968 New functions to implement single-threaded queue semantics.
5970 2005-02-15 Michael Koch <konqueror@gmx.de>
5972 * javax/swing/plaf/metal/MetalLookAndFeel.java
5973 (getControlTextFont): New method.
5974 (getMenuTextFont): Likewise.
5975 (getSubTextFont): Likewise.
5976 (getSystemTextFont): Likewise.
5977 (getUserTextFont): Likewise.
5978 (getWindowTitleFont): Likewise.
5980 2005-02-15 Michael Koch <konqueror@gmx.de>
5982 * javax/swing/text/AbstractDocument.java
5983 (documentFilter): New field.
5984 (getDocumentFilter): New method.
5985 (setDocumentFilter): Likewise.
5988 2005-02-15 Michael Koch <konqueror@gmx.de>
5990 * javax/swing/JTree.java
5991 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5993 2005-02-15 Michael Koch <konqueror@gmx.de>
5995 * javax/swing/text/AbstractDocument.java
5996 (AbstractElement.getLength): Fixed off-by-one error.
5997 (AbstractElement.children): Made abstract.
5998 (AbstractElement.getAllowsChildren): Likewise.
5999 (AbstractElement.getElement): Likewise.
6000 (AbstractElement.dumpElement): New private method.
6001 (AbstractElement.dump): New method.
6002 (BranchElememt.getName): Fixed implementation.
6003 (BranchElememt.toString): Likewise.
6004 (BranchElememt.getElement): Fixed arguments.
6005 (LeafElement.getName): Fixed implementation.
6006 (LeafElement.toString): Likewise.
6007 * javax/swing/text/GapContent.java
6008 (GapContent): Put default content into buffer.
6009 * javax/swing/text/PlainDocument.java
6010 (reindex): Use empty attribute sets instead of null.
6011 (createDefaultRoot): Reimplemented.
6012 (insertUpdate): Call super method.
6013 (removeUpdate): Likewise.
6014 (getParagraphElement): Implemented.
6016 2005-02-15 Michael Koch <konqueror@gmx.de>
6018 * gnu/java/awt/ClasspathToolkit.java
6019 (createRobot): Throws java.awt.AWTException.
6020 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6021 Added '__attribute__((unused))' to all unused method arguments.
6023 2005-02-15 Michael Koch <konqueror@gmx.de>
6025 * javax/swing/DefaultBoundedRangeModel.java
6026 (fireValueChanged): Fixed off-by-one error.
6028 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6030 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6031 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6033 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6034 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6035 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6036 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6037 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6038 (getDefaultScreenDevice): Implement.
6039 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6040 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6041 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6042 * java/awt/Robot.java: Implement.
6043 * java/awt/peer/RobotPeer.java: Rename parameters.
6044 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6045 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6046 (awt_keycode_to_keysym): Make non-static.
6047 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6048 AWT_BUTTON3_MASK): Declare constants.
6049 (awt_keycode_to_keysym): Declare.
6051 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6052 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6053 and is non-empty pass its value to "make check".
6054 (test_mauve_sim): Likewise.
6056 2005-02-15 Michael Koch <konqueror@gmx.de>
6058 * javax/imageio/IIOParam.java
6059 (setSourceBands): New method.
6060 (setSourceSubsampling): Likewise.
6061 * javax/imageio/ImageReadParam.java
6062 (setDestination): Likewise.
6063 (setDestinationBands): Likewise.
6064 (setSourceProgressivePasses): Likewise.
6065 * javax/imageio/metadata/IIOInvalidTreeException.java
6066 (serialVersionUID): New static field.
6067 * javax/imageio/metadata/IIOMetadataNode.java
6068 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6069 (parent): Dont initailize with default value explicitely.
6071 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6072 (removeAttributeNode): Likewise.
6073 (removeAttributeNS): Likewise.
6074 (setAttribute): Likewise.
6075 (setAttributeNode): Likewise.
6076 (setAttributeNodeNS): Likewise.
6077 (setAttributeNS): Likewise.
6078 (appendChild): Likewise.
6079 (getNodeValue): Likewise.
6080 (insertBefore): Likewise.
6081 (removeChild): Likewise.
6082 (replaceChild): Likewise.
6083 (setPrefix): Likewise.
6085 2005-02-15 Michael Koch <konqueror@gmx.de>
6087 * javax/swing/LookAndFeel.java
6088 (getDesktopPropertyValue): New method.
6090 2005-02-15 Michael Koch <konqueror@gmx.de>
6092 * javax/swing/JTree.java
6093 (hasChildren): New instance field.
6095 2005-02-15 Michael Koch <konqueror@gmx.de>
6097 * javax/swing/JComponent.java
6098 (getToolTipText): New method.
6099 (getTitledBorderText): Likewise.
6100 (getAccessibleKeyBinding): Likewise.
6101 (getVerifyInputWhenFocusTarget): Likewise.
6102 (setVerifyInputWhenFocusTarget): Likewise.
6103 (verifyInputWhenFocusTarget): New instance field.
6105 2005-02-15 Michael Koch <konqueror@gmx.de>
6107 * javax/swing/DefaultListSelectionModel.java
6108 (fireValueChanged): New method.
6110 2005-02-15 Michael Koch <konqueror@gmx.de>
6112 * javax/swing/DefaultBoundedRangeModel.java:
6113 Fixed javadocs all over.
6114 (fireStateChanged): Simplified.
6115 * javax/swing/BoundedRangeModel.java:
6118 2005-02-15 Michael Koch <konqueror@gmx.de>
6120 * javax/swing/JRootPane.java
6121 (setMenuBar): Added @deprecated tag.
6122 (getMenuBar): Likewise.
6123 * javax/swing/JTable.java
6124 (sizeColumnsToFit): Likewise.
6126 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6128 * javax/swing/ImageIcon.java (setImage): Implemented.
6130 2005-02-15 Michael Koch <konqueror@gmx.de>
6132 * javax/swing/JTable.java:
6133 Removed unused imports.
6135 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6137 (prepareRenderer): Get column's index in dataModel instead
6138 of column's view index.
6139 (getColumnCount): return count of the columns in ColumnModel,
6141 (removeColumn): Implemented.
6142 (moveColumm): Likewise.
6143 (setRowHeight): throw IllegalArgumentException if height is
6145 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6146 (DefaultTableColumnModel):Add call to createSelectionModel().
6147 (addColumn): Fire columnAdded event to registered listeners.
6148 (removeColumn): Fire columnRemoved event to registered listeners.
6149 (moveColumn): Fire columnMoved event to registered listeners.
6150 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6151 (getColumnIndex): Changed parameter name.
6152 (setColumnSelectionAllowed): Likewise.
6153 (fireColumnAdded): Implemented.
6154 (fireColumnRemoved): Likewise.
6155 (fireColumnMoved): Likewise.
6156 (fireColumnMarginChanged): Likewise.
6157 (getListeners): Changed parameter name.
6158 (propertyChange): Implemented.
6159 (valueChanged): Changed parameter name.
6160 (createSelectionModel): Implemented.
6162 2005-02-15 Michael Koch <konqueror@gmx.de>
6164 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6165 Explicitely import used classes.
6166 (getLocalGraphicsEnvironment): Simplify.
6167 * java/awt/Window.java (Window):
6168 Enable code to get the default GraphicsConfiguration.
6170 2005-02-15 Michael Koch <konqueror@gmx.de>
6172 * javax/swing/plaf/metal/DefaultMetalTheme.java
6173 (CONTROL_TEXT_FONT): New static field.
6174 (MENU_TEXT_FONT): Likewise.
6175 (SUB_TEXT_FONT): Likewise.
6176 (SYSTEM_TEXT_FONT): Likewise.
6177 (USER_TEXT_FONT): Likewise.
6178 (WINDOW_TITLE_FONT): Likewise.
6179 (getControlTextFont): New method.
6180 (getMenuTextFont): Likewise.
6181 (getSubTextFont): Likewise.
6182 (getSystemTextFont): Likewise.
6183 (getUserTextFont): Likewise.
6184 (getWindowTitleFont): Likewise.
6185 * javax/swing/plaf/metal/MetalTheme.java
6186 (BLACK): Initialize with Color.BLACK.
6187 (WHITE): Initialize with Color.WHITE.
6188 (getInactiveControlTextColor): Return getControlDisabled().
6189 (getMenuDisabledForeground): Return getSecondary3().
6190 (getControlTextFont): New abstract method.
6191 (getMenuTextFont): Likewise.
6192 (getSubTextFont): Likewise.
6193 (getSystemTextFont): Likewise.
6194 (getUserTextFont): Likewise.
6195 (getWindowTitleFont): Likewise.
6197 2005-02-15 Michael Koch <konqueror@gmx.de>
6199 * javax/swing/JFormattedTextField.java
6200 (getFocusLostBehavior): Fixed typo in method name.
6201 (setFocusLostBehavior): Likewise.
6203 2005-02-15 Michael Koch <konqueror@gmx.de>
6205 * javax/swing/TransferHandler.java:
6206 Reworked import statements.
6208 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6210 * java/awt/Button.java,
6211 java/awt/Canvas.java,
6212 java/awt/Checkbox.java,
6213 java/awt/CheckboxMenuItem.java,
6214 java/awt/Choice.java,
6215 java/awt/Dialog.java,
6216 java/awt/Frame.java,
6217 java/awt/Label.java,
6220 java/awt/MenuBar.java,
6221 java/awt/MenuItem.java,
6222 java/awt/PopupMenu.java,
6223 java/awt/ScrollPane.java,
6224 java/awt/Scrollbar.java,
6225 java/awt/TextArea.java,
6226 java/awt/Window.java (getAccessibleContext): Clean up comments.
6228 * java/awt/Button.java,
6229 java/awt/Checkbox.java,
6230 java/awt/Choice.java,
6232 java/awt/PopupMenu.java,
6233 java/awt/TextArea.java (getAccessibleContext): Only create new
6235 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6237 2005-02-15 Michael Koch <konqueror@gmx.de>
6239 * java/awt/Button.java,
6240 javax/swing/JApplet.java,
6241 javax/swing/JFormattedTextField.java,
6242 javax/swing/JWindow.java,
6243 javax/swing/JTree.java,
6244 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6245 javax/swing/plaf/basic/BasicTextPaneUI.java,
6246 javax/swing/plaf/basic/BasicTreeUI.java:
6247 Reworked import statements.
6249 2005-02-15 Michael Koch <konqueror@gmx.de>
6251 * Makefile.am: Put javax.imageio into its own library and link it
6252 against lib-org-w3c-dom.la to fix bootstrapping.
6253 * Makefile.in: Regenerated.
6255 2005-02-15 Michael Koch <konqueror@gmx.de>
6257 * javax/swing/text/TextAction.java
6258 (getTextComponent): Simplified. Added Javadoc.
6259 (augmentList): Implemented. Added Javadoc.
6260 (getFocusedComponent): Added javadoc.
6262 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6264 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6265 getAccessibleContext): Implement.
6266 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6267 getAccessibleContext): Implement.
6269 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6271 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6273 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6275 * java/awt/Window.java (getAccessibleContext): Fix comment.
6276 Remove extra import.
6278 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6280 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6281 (isActive, isFocused, getAccessibleContext): Implement.
6283 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6285 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6286 * java/awt/MenuComponent.java (accessibleContext): Make package
6288 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6289 AccessibleAWTCheckboxMenuItem): Implement.
6291 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6293 * java/awt/List.java: Implement AccessibleAWTList,
6294 AccessibleAWTListChild.
6296 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6298 * java/awt/Choice.java: Add implements declaration for
6301 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6303 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6306 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6308 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6309 implemented interface list.
6311 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6313 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6314 * javax/imageio/metadata/IIOAttr.java: New class.
6315 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6316 * javax/imageio/metadata/IIONodeList.java: New class.
6317 * Makefile.am: Added new files.
6318 * Makefile.in: Regenerated.
6320 2005-02-15 Michael Koch <konqueror@gmx.de>
6322 * javax/swing/AbstractAction.java,
6323 javax/swing/AbstractCellEditor.java,
6324 javax/swing/AbstractListModel.java,
6325 javax/swing/DefaultBoundedRangeModel.java,
6326 javax/swing/DefaultButtonModel.java,
6327 javax/swing/DefaultCellEditor.java,
6328 javax/swing/DefaultComboBoxModel.java,
6329 javax/swing/DefaultDesktopManager.java,
6330 javax/swing/JMenu.java,
6331 javax/swing/JSlider.java,
6332 javax/swing/KeyStroke.java,
6333 javax/swing/OverlayLayout.java,
6334 javax/swing/ScrollPaneLayout.java,
6335 javax/swing/SizeRequirements.java,
6336 javax/swing/ViewportLayout.java:
6337 Made serialVersionUID private.
6339 2005-02-15 Michael Koch <konqueror@gmx.de>
6341 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6344 2005-02-15 Michael Koch <konqueror@gmx.de>
6346 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6348 2005-02-15 Michael Koch <konqueror@gmx.de>
6350 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6352 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6354 * java/awt/EventDispatchThread.java,
6355 java/awt/Toolkit.java:
6356 Don't catch java.lang.ThreadDeath.
6358 2005-02-15 Michael Koch <konqueror@gmx.de>
6360 * javax/swing/text/PasswordView.java
6361 (drawEchoCharacter): Added javadoc.
6362 (drawSelectedText): Likewise.
6363 (drawUnselectedText): Likewise.
6365 2005-02-15 Michael Koch <konqueror@gmx.de>
6367 * javax/swing/JRootPane.java
6368 (windowDecorationStyle): New field.
6369 (setMenuBar): New method.
6370 (getMenuBar): Likewise.
6371 (getWindowDecorationStyle): Likewise.
6372 (setWindowDecorationStyle): Likewise.
6374 2005-02-15 Michael Koch <konqueror@gmx.de>
6376 * javax/swing/DefaultListSelectionModel.java
6377 (leadAnchorNotificationEnabled): Made protected.
6379 2005-02-15 Michael Koch <konqueror@gmx.de>
6381 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6382 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6383 * Makefile.in: Regenerated.
6386 2005-02-15 Michael Koch <konqueror@gmx.de>
6388 * javax/swing/JFormattedTextField.java: Implemented.
6389 * javax/swing/JWindow.java
6390 (JWindow): New constructors.
6391 (initWindow): Renamed from initFrame.
6392 * javax/swing/UIDefaults.java
6393 (ActiveValue): Made interface static.
6394 (LazyValue): Likewise.
6395 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6396 (TitlePaneLayout.TitlePaneLayout): New constructor.
6397 * javax/swing/plaf/basic/BasicSliderUI.java
6398 (ChangeHandler): Made public.
6399 (FocusHandler): Likewise.
6400 (PropertyChangeHandler): Likewise.
6401 (ScrollListener): Likewise.
6402 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6403 (FocusHandler): Likewise.
6404 (MouseHandler): Likewise.
6405 * javax/swing/plaf/basic/BasicTextPaneUI.java
6406 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6407 * javax/swing/plaf/basic/BasicToolBarUI.java
6408 (BasicToolBarUI): Simplified. Reworked javadoc.
6409 (canDock): Simplified. Make public.
6410 (DockingListener): Made public.
6411 * javax/swing/text/JTextComponent.java
6412 (navigationFilter): New field.
6413 (getNavigationFilter): New method.
6414 (setNavigationFilter): Likewise.
6416 2005-02-15 Michael Koch <konqueror@gmx.de>
6418 * javax/swing/plaf/metal/MetalTheme.java
6419 (getControlTextColor): Return getControlInfo().
6420 (getHighlightedTextColor): Return getControlTextColor().
6422 2005-02-15 Michael Koch <konqueror@gmx.de>
6424 * javax/swing/plaf/basic/BasicButtonListener.java
6425 (BasicButtonListener): New constructor.
6426 * javax/swing/plaf/basic/BasicButtonUI.java
6427 (createButtonListener): Usw new BasicButtonListener constructor.
6429 2005-02-15 Michael Koch <konqueror@gmx.de>
6431 * javax/imageio/event/package.html,
6432 javax/imageio/metadata/package.html: New files.
6434 2005-02-15 Michael Koch <konqueror@gmx.de>
6436 * java/awt/image/MemoryImageSource.java: Reformatted.
6438 2005-02-15 Michael Koch <konqueror@gmx.de>
6440 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6442 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6444 * java/awt/color/ICC_Profile.java
6445 (finalize): Removed pointless field assignments.
6447 2005-02-15 Michael Koch <konqueror@gmx.de>
6449 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6450 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6451 * Makefile.in: Regenerated.
6453 2005-02-15 Michael Koch <konqueror@gmx.de>
6455 * javax/swing/text/DefaultStyledDocument.java: New file.
6456 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6457 * Makefile.in: Regenerated.
6459 2005-02-15 Michael Koch <konqueror@gmx.de>
6461 * javax/swing/JFileChooser.java
6462 (showDialog): Return CANCEL_OPTION for now.
6463 (showOpenDialog): Likewise.
6464 (showSaveDialog): Likewise.
6466 2005-02-15 Michael Koch <konqueror@gmx.de>
6468 * javax/swing/JApplet.java
6469 (HIDE_ON_CLOSE): Removed.
6470 (EXIT_ON_CLOSE): Likewise.
6471 (DISPOSE_ON_CLOSE): Likewise.
6472 (DO_NOTHING_ON_CLOSE): Likewise.
6473 (close_action): Likewise.
6474 (getDefaultCloseOperation): Likewise.
6475 (setDefaultCloseOperation): Likewise.
6476 (processWindowEvent): Likewise.
6477 (getPreferredSize): Simplified.
6478 * javax/swing/JInternalFrame.java
6479 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6481 * javax/swing/JWindow.java
6482 (HIDE_ON_CLOSE): Removed.
6483 (EXIT_ON_CLOSE): Likewise.
6484 (DISPOSE_ON_CLOSE): Likewise.
6485 (DO_NOTHING_ON_CLOSE): Likewise.
6486 (close_action): Likewise.
6487 (processKeyEvent): Likewise.
6488 (setDefaultCloseOperation): Likewise.
6489 (getPreferredSize): Simplified.
6491 2005-02-15 Michael Koch <konqueror@gmx.de>
6493 * javax/swing/JTextField.java
6494 (getPreferredSize): Re-implemented.
6496 2005-02-15 Michael Koch <konqueror@gmx.de>
6498 * javax/swing/JLabel.java
6499 (setDisplayedMnemonic): Use only upper case characters.
6500 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6501 PropertyChangeEvent after property got set to the new index.
6503 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6505 * javax/swing/JComboBox.java:
6506 (JComboBox): Removed selection of the
6507 first item in the model.
6509 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6511 * javax/swing/JComboBox.java
6512 added support for no item being selected
6513 (JComboBox): select first or nothing depending on element count
6514 (setModel): cleaned up unneeded "this." usage, added more
6515 docs, made exception behavior match that of the JDK
6516 (setLighWeightPopupEnabled): removed unneeded "this." usage
6518 (setMaximumRowCount): dito
6520 (setPrototypeDisplayValue): dito
6521 (getSelectedItem): simplified, added more user doc
6522 (setSelectedIndex): corrected exception behavior, added more user doc
6523 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6524 added performance warning to user doc
6525 (addItem): fixed exception behavior, added user doc
6526 (insertItemAt): dito
6528 (removeItemAt): dito
6529 (removeAll): fixed exception behavior, added user doc, added support
6530 for model not being instance of DefaultComboBoxModel
6531 (getSelectedItemObjects): simplified
6532 (getItemCount): fixed dependency on DefaultComboBoxModel
6533 (getItemAt): fixed dependency on MutableComboBoxModel
6534 * javax/swing/DefaultComboBoxModel.java:
6535 (setSelectedItem): updates selected item only if new
6536 value is null or known (match JDK behavior)
6537 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6538 (paintCurrentValue): renders "" if no item is selected
6540 2005-02-15 Michael Koch <konqueror@gmx.de>
6542 * javax/swing/plaf/metal/MetalTheme.java,
6543 javax/swing/plaf/metal/DefaultMetalTheme.java:
6545 * javax/swing/plaf/metal/MetalLookAndFeel.java
6546 * Makefile.am: Added the new files.
6547 * Makefile.in: Regenerated.
6549 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6551 * javax/swing/JTable.java
6552 (editorComp): New field.
6553 (JTable): Initialize local variables and call updateUI
6554 (selectionBackground): Make protected.
6555 (selectionForeground): Likewise.
6556 (initializeLocalVars): Create default editors and renderers,
6557 initialize editingColumn, editingRow variables.
6558 (createDefaultEditors): New Method.
6559 (createDefaultRenderers): Likewise.
6560 (createDefaultListSelectionModel): Removed
6561 (createDefaultSelectionModel): New Method.
6562 (createDefaultTableHeader): Likewise
6563 (removeColumn): Likewise.
6564 (getEditingColumn): Likewise.
6565 (setEditingColumn): Likewise.
6566 (getEditingRow): Likewise.
6567 (setEditingRow): Likewise.
6568 (getEditorComponent): Likewise.
6569 (isEditing): Likewise.
6570 (setDefaultEditor): Likewise.
6571 (addColumnSelectionInterval): Likewise.
6572 (addRowSelectionInterval): Likewise.
6573 (setColumnSelectionInterval): Likewise.
6574 (setRowSelectionInterval): Likewise.
6575 (removeColumnSelectionInterval): Likewise.
6576 (removeRowSelectionInterval): Likewise.
6577 (isColumnSelected): Likewise.
6578 (isRowSelected): Likewise.
6579 (isCellSelected): Likewise.
6580 (selectAll): Likewise.
6582 2005-02-15 Michael Koch <konqueror@gmx.de>
6584 * javax/swing/JTable.java
6585 (addColumn): New method.
6586 (getColumnClass): Likewise.
6587 (getColumnName): Likewise.
6589 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6591 * javax/swing/TransferHandler.java
6592 (createTransferable): Made protected.
6594 2005-02-15 Michael Koch <konqueror@gmx.de>
6596 * javax/swing/JTable.java,
6597 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6598 javax/swing/plaf/basic/BasicTableUI.java:
6599 Use fixed get/setIntercellSpacing() methods.
6601 2005-02-15 Michael Koch <konqueror@gmx.de>
6603 * javax/swing/JTable.java
6604 (getIntercellSpacing): Fixed typo in method name.
6605 (setIntercellSpacing): Likewise.
6607 2005-02-15 Michael Koch <konqueror@gmx.de>
6609 * javax/swing/text/JTextComponent.java
6610 (focusAccelerator): New variable.
6611 (getFocusAccelerator): New method.
6612 (setFocusAccelerator): Likewise.
6614 2005-02-15 Michael Koch <konqueror@gmx.de>
6616 * javax/swing/JComponent.java
6617 (setTransferHandler): Made public. Fire property change event.
6618 * javax/swing/TransferHandler.java: Implemented.
6619 * javax/swing/text/JTextComponent.java
6620 (DefaultTransferHandler): New inner class.
6621 (defaultTransferHandler): New variable.
6625 (doTransferAction): Likewise.
6627 2005-02-15 Michael Koch <konqueror@gmx.de>
6629 * javax/swing/JTree.java
6630 (collapsePath): New method.
6631 (collapseRow): Likewise.
6632 (expandPath): Likewise.
6633 (expandRow): Likewise.
6634 (checkExpandParents): Likewise.
6635 (doExpandParents): Likewise.
6636 (setExpandedState): Likewise.
6637 (makeVisible): Likewise.
6639 2005-02-15 Michael Koch <konqueror@gmx.de>
6641 * javax/swing/JPasswordField.java: Updated javadocs.
6643 2005-02-15 Michael Koch <konqueror@gmx.de>
6645 * javax/swing/JLayeredPane.java
6646 (getLayer): Fixed return type, made public.
6647 (getPosition): Use new getLayer().
6648 (SetPosition): Likewise.
6649 (getIndexOf): Likewise.
6651 * javax/swing/JInternalFrame.java
6652 (getLayer): Use new JLayeredPane.getLayer().
6655 2005-02-15 Michael Koch <konqueror@gmx.de>
6657 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6658 (setHeaderValue): Simplified. Do nothing when old value == new value.
6660 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6662 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6663 against null clip region.
6664 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6665 gtkWindowSetResizable.
6666 (postConfigureEvent): Only revalidate if frame size has changed.
6667 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6668 Only revalidate if frame size has changed.
6669 * java/awt/Component.java (reshape): Only repaint and post
6670 component events if component is showing.
6671 * java/awt/Container.java (addImpl): Only post container event if
6672 container is showing.
6674 * java/awt/Window.java (setLocationRelativeTo): Implement.
6675 (setBoundsCallback): Only post component events if component is
6677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6678 Protect against null graphics structure. Flush gdk event queue.
6680 2005-02-15 Michael Koch <konqueror@gmx.de>
6682 * javax/imageio/ImageReader.java,
6683 javax/imageio/ImageTranscoder.java,
6684 javax/imageio/ImageWriter.java,
6685 javax/imageio/spi/ImageInputStreamSpi.java,
6686 javax/imageio/spi/ImageOutputStreamSpi.java,
6687 javax/imageio/spi/ServiceRegistry.java,
6688 javax/imageio/stream/ImageInputStream.java,
6689 javax/imageio/stream/ImageOutputStream.java: Updated.
6690 * javax/imageio/IIOException.java,
6691 javax/imageio/IIOImage.java,
6692 javax/imageio/IIOParam.java,
6693 javax/imageio/IIOParamController.java,
6694 javax/imageio/ImageIO.java,
6695 javax/imageio/ImageReadParam.java,
6696 javax/imageio/ImageTypeSpecifier.java,
6697 javax/imageio/ImageWriteParam.java,
6698 javax/imageio/spi/IIORegistry.java,
6699 javax/imageio/spi/ImageReaderSpi.java,
6700 javax/imageio/spi/ImageWriterSpi.java,
6701 javax/imageio/stream/FileCacheImageInputStream.java,
6702 javax/imageio/stream/FileCacheImageOutputStream.java,
6703 javax/imageio/stream/FileImageInputStream.java,
6704 javax/imageio/stream/FileImageOutputStream.java,
6705 javax/imageio/stream/ImageInputStreamImpl.java,
6706 javax/imageio/stream/ImageOutputStreamImpl.java,
6707 javax/imageio/stream/MemoryCacheImageInputStream.java,
6708 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6709 javax/imageio/event/IIOReadProgressListener.java,
6710 javax/imageio/event/IIOReadUpdateListener.java,
6711 javax/imageio/event/IIOReadWarningListener.java,
6712 javax/imageio/event/IIOWriteProgressListener.java,
6713 javax/imageio/event/IIOWriteWarningListener.java,
6714 javax/imageio/metadata/IIOMetadata.java,
6715 javax/imageio/metadata/IIOMetadataController.java,
6716 javax/imageio/metadata/IIOMetadataFormat.java,
6717 javax/imageio/metadata/IIOInvalidTreeException.java,
6718 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6719 javax/imageio/metadata/IIOMetadataNode.java: New files.
6720 * Makefile.am (javax_source_files): Added new files
6721 * Makefile.in: Regenerated.
6723 2005-02-15 Graydon Hoare <graydon@redhat.com>
6725 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6726 Rework painting into BufferedImages
6727 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6728 Construct BufferedImage with alpha only when alpha is
6729 present in colormodel.
6730 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6731 Rework painting into client-side jint arrays.
6732 * jni/gtk-peer/gtkcairopeer.h:
6735 2005-02-15 Michael Koch <konqueror@gmx.de>
6737 * javax/swing/DefaultListCellRenderer.java
6738 (serialVersionUID): Made private.
6739 (getListCellRendererComponent): Set horizontal alignment.
6740 * javax/swing/JLabel.java
6741 (setVerticalAlignment): Re-implemented.
6742 (setHorizontalAlignment): Do nothing if old value = new value.
6743 * javax/swing/JList.java
6744 (setCellRenderer): Likewise.
6745 (setModel): Re-implemented.
6746 (setSelectionModel): Likewise.
6748 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6750 * java/awt/Component.java,
6751 java/awt/geom/Rectangle2D.java:
6754 2005-02-15 Michael Koch <konqueror@gmx.de>
6756 * javax/swing/AbstractListModel.java
6757 (fireContentsChanged): Simplified.
6758 (fireIntervalAdded): Likewise.
6759 (fireIntervalRemoved): Likewise.
6760 * javax/swing/DefaultSingleSelectionModel.java:
6762 (fireStateChanged): Simplified.
6763 * javax/swing/JPopupMenu.java
6764 (setSelectionModel): Set property.
6766 2005-02-15 Michael Koch <konqueror@gmx.de>
6768 * java/awt/print/Book.java: Reformatted.
6770 2005-02-15 Michael Koch <konqueror@gmx.de>
6772 * java/awt/geom/Area.java
6773 (QuadSegment.curveArea): Remove unused variables.
6774 (CubicSegment.curveArea): Likewise.
6776 2005-02-15 Michael Koch <konqueror@gmx.de>
6778 * javax/swing/JTree.java
6779 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6780 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6781 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6782 (EXPANDED): New constant.
6783 (COLLAPSED): Likewise.
6784 (nodeStates): New field.
6785 (cellEditor): New method.
6786 (cellRenderer): Likewise.
6787 (selectionModel): Likewise.
6788 (treeModel): Likewise.
6789 (scrollPathToVisible): Likewise.
6790 (scrollRowToVisible): Likewise.
6791 (isCollapsed): Likewise.
6792 (isExpanded): Likewise.
6793 (clearToggledPaths): Likewise.
6794 (getDescendantToggledPaths): Likewise.
6795 (hasBeenExpanded): Likewise.
6796 (isVisible): Likewise.
6797 (isPathEditable): Likewise.
6799 2005-02-15 Michael Koch <konqueror@gmx.de>
6801 * javax/swing/JLayeredPane.java: Reformatted.
6803 2005-02-15 Michael Koch <konqueror@gmx.de>
6805 * javax/swing/tree/DefaultMutableTreeNode.java:
6807 * javax/swing/tree/MutableTreeNode.java:
6810 2005-02-15 Michael Koch <konqueror@gmx.de>
6812 * javax/swing/JFormattedTextField.java
6813 (setDocument): Call setDocument of super class. Don't fire property
6816 2005-02-15 Sven de Marothy <sven@physto.se>
6818 * java/awt/image/IndexColorModel.java:
6819 Add FIXME with respect to alpha handling.
6820 (getAlpha): Default to returning opaque pixels.
6821 * java/awt/image/MultiPixelPackedSampleModel.java
6822 (MultiPixelPackedSampleModel): Corrected parameters, order of
6823 bit shifts and masks, stride length off by one.
6825 2005-02-15 Michael Koch <konqueror@gmx.de>
6827 * javax/swing/JList.java, javax/swing/JTree.java:
6828 Added much new methods and fixed much methods setting bound properties.
6830 2005-02-16 Mark Wielaard <mark@klomp.org>
6832 * Makefile.am (gnu_xml_source_files): Removed
6833 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6834 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6835 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6836 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6837 gnu/xml/dom/DomDocumentFragment.java,
6838 gnu/xml/dom/DomProcessingInstruction.java and
6839 gnu/xml/dom/ls/DomLSException.java.
6840 * Makefile.in: Regenerated.
6842 2005-02-16 Tom Tromey <tromey@redhat.com>
6844 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6845 attribute index is out of bounds.
6847 2005-02-16 Chris Burdess <dog@gnu.org>
6849 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6850 isDeclared methods. Improved performance of isSpecified methods.
6852 2005-02-16 Chris Burdess <dog@gnu.org>
6854 Fixes bug libgcj/19864
6855 * gnu/xml/dom/DomAttr.java,
6856 gnu/xml/dom/DomCDATA.java,
6857 gnu/xml/dom/DomCDATASection.java,
6858 gnu/xml/dom/DomCharacterData.java,
6859 gnu/xml/dom/DomDOMException.java,
6860 gnu/xml/dom/DomDoctype.java,
6861 gnu/xml/dom/DomDocument.java,
6862 gnu/xml/dom/DomDocumentConfiguration.java,
6863 gnu/xml/dom/DomDocumentFragment.java,
6864 gnu/xml/dom/DomElement.java,
6865 gnu/xml/dom/DomEx.java,
6866 gnu/xml/dom/DomFragment.java,
6867 gnu/xml/dom/DomImpl.java,
6868 gnu/xml/dom/DomIterator.java,
6869 gnu/xml/dom/DomNamedNodeMap.java,
6870 gnu/xml/dom/DomNode.java,
6871 gnu/xml/dom/DomNsNode.java,
6872 gnu/xml/dom/DomPI.java,
6873 gnu/xml/dom/DomProcessingInstruction.java,
6874 gnu/xml/dom/DomText.java,
6875 gnu/xml/dom/DomLSEx.java,
6876 gnu/xml/dom/DomLSException.java,
6877 gnu/xml/dom/DomLSParser.java,
6878 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6879 implementation class names to conform to Classpath guidelines. Make
6880 DomLSException use JDK 1.4+ exception chaining.
6881 * gnu/xml/util/SAXNullTransformerFactory.java,
6882 gnu/xml/xpath/Predicate.java: Use constants relative to
6883 declaring class or interface.
6885 2005-02-16 Andrew Haley <aph@redhat.com>
6887 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6888 null, create a new AccessControlContext.
6889 * java/security/SecureClassLoader.java (protectionDomainCache):
6891 (defineClass): Create a new protection domain and add it to our
6894 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6895 addStub() to keep track of the stub we've exported.
6896 (unexportObject): Call deleteStub().
6897 * java/rmi/server/RemoteObject.java (stubs): New field.
6898 (addStub): New method.
6899 (deleteStub): New method.
6902 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6903 true to findHelper (tryParents).
6904 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6906 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6907 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6909 If tryParents is false, don't scan parent class loaders.
6911 * java/security/Permissions.java (PermissionsHash.implies):
6912 Iterate over the collection and invoke implies() on each
6915 2005-02-16 Andrew Haley <aph@redhat.com>
6917 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6919 (PersistentByteMap): Set name
6920 Magic number changed to 0x67636a64 ("gcjd").
6921 (init): Force the map to be prime.
6922 (emptyPersistentByteMap): File name was a string, now a File.
6923 (addBytes): Share srings between entries.
6924 (stringTableSize): New method.
6925 (capacity): Scale by load factor.
6926 (force): New method.
6927 (getFile): New method.
6928 (close): New method.
6929 (putAll): New method.
6930 (ByteWrapper): New class.
6931 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6932 (main): Guess the average string size as 32, not 64.
6933 Copy a database before modifying it, so that we can update a
6934 database in a running system.
6935 If a database isn't big enough, resize it.
6936 "-m": new option: merges databases.
6937 "-a": Create a new detabase if it doesn't exist.
6938 (usage): Correct, add new option.
6939 (addJar): Copy a database before modifying it.
6940 (resizeMap): New method.
6942 2005-02-15 David Daney <ddaney@avtrex.com>
6943 Bryce McKinlay <mckinlay@redhat.com>
6945 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6946 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6947 ensure that GC threads inherit the new signal mask.
6948 (block_sigchld): Call JvFail rather than throwing exception if
6949 pthread_sigmask() fails.
6951 2005-02-15 Mark Wielaard <mark@klomp.org>
6953 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6954 file path elements are separated by spaces.
6956 2005-02-15 Mark Wielaard <mark@klomp.org>
6958 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6959 to describe attributes without a constant field value in this class.
6961 2005-02-15 Michael Koch <konqueror@gmx.de>
6963 * java/util/jar/Attributes.java
6964 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6966 2005-02-15 Mark Wielaard <mark@klomp.org>
6968 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6969 space for parsing CLASS_PATH attribute.
6971 2005-02-15 Mark Wielaard <mark@klomp.org>
6973 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6974 aside for "GCJLIBS" in directory where jarfiles are loaded.
6975 (JarURLLoader.getClass): Removed method.
6976 (JarURLLoader.toString): Removed method.
6977 (FileResource.toString): Removed method.
6979 2005-02-15 Mark Wielaard <mark@klomp.org>
6981 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6982 and/or cause before throwing.
6984 2005-02-15 Richard Henderson <rth@redhat.com>
6986 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6987 (libgcj0_convenience_la_SOURCES): ... here.
6988 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6989 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6990 * Makefile.in: Regenerate.
6992 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6995 * include/jawt.h: Likewise.
6996 * include/jawt_md.h: Likewise.
6997 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6999 * include/Makefile.in: Regenerate.
7000 * jni/classpath/classpath_jawt.h: Likewise.
7001 * jni/gtk-peer/gtk_jawt.c: Likewise.
7002 * Makefile.am: Build libjawt.so.
7003 * Makefile.in: Regenerate.
7005 2005-02-14 Tom Tromey <tromey@redhat.com>
7007 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7009 2005-02-14 Tom Tromey <tromey@redhat.com>
7011 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7012 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7014 2005-02-14 Tom Tromey <tromey@redhat.com>
7017 * testsuite/libjava.lang/PR19929.out: New file.
7018 * testsuite/libjava.lang/PR19929.java: New file.
7020 2005-02-14 Anthony Green <green@redhat.com>
7023 * testsuite/libjava.jni/PR18116.c: New file.
7024 * testsuite/libjava.jni/PR18116.java: New file.
7025 * testsuite/libjava.jni/PR18116.out: New file.
7027 2005-02-13 Anthony Green <green@redhat.com>
7030 * jni.cc (nathash_add): Don't strdup the method signature.
7031 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7035 2005-02-12 Mark Wielaard <mark@klomp.org>
7037 Fixes bug libgcj/8170
7038 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7039 ClassNotFoundException.
7040 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7041 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7042 (remove_internal): New field superceding remove_interpreter.
7043 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7044 Remove no-class methods starting with "_Jv_". And Replace null
7045 class or method names with the empty string. Stop at either the
7046 MainThread or a real Thread run() method.
7047 (newElement): Made static.
7048 * java/net/URLClassLoader.java (findClass): Throw
7049 ClassNotFoundExceptions including urls, plus parent using toString().
7050 (thisString): New field.
7051 (toString): New method.
7053 2005-02-10 Tom Tromey <tromey@redhat.com>
7055 * external/sax/Makefile.in: Rebuilt.
7056 * external/sax/Makefile.am (all-local): Removed.
7057 (BUILT_SOURCES): New variable.
7058 (mostlyclean-local): No error if no classes to delete.
7059 * external/w3c_dom/Makefile.in: Rebuilt.
7060 * external/w3c_dom/Makefile.am (all-local): Removed.
7061 (BUILT_SOURCES): New variable.
7062 (mostlyclean-local): No error if no classes to delete.
7064 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7066 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7067 of mauve and libjava.
7069 2005-02-09 Tom Tromey <tromey@redhat.com>
7071 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7072 jar file with OPEN_DELETE.
7073 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7074 OPEN_DELETE is used.
7076 2005-02-09 Tom Tromey <tromey@redhat.com>
7078 * java/util/zip/InflaterInputStream.java (markSupported):
7080 (mark, reset): Likewise.
7082 2005-02-08 Tom Tromey <tromey@redhat.com>
7084 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7085 name or port is missing.
7086 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7087 AUTHORITY_PORT_GROUP): Updated.
7089 2005-02-08 Tom Tromey <tromey@redhat.com>
7091 * configure: Rebuilt.
7092 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7095 2005-02-07 Tom Tromey <tromey@redhat.com>
7097 * java/lang/natRuntime.cc (insertSystemProperties): Set
7098 sun.boot.class.path earlier.
7100 2005-02-07 Tom Tromey <tromey@redhat.com>
7102 * defineclass.cc (handleClassBegin): Use
7103 _Jv_RegisterInitiatingLoader.
7104 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7105 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7106 class. Use _Jv_UnregisterInitiatingLoader.
7107 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7110 2005-02-07 Mark Wielaard <mark@klomp.org>
7112 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7113 java/util/regex/Matcher.java (lookingAt): Set position when match
7115 (matches): Implemented through lookingAt().
7117 2005-02-07 Mark Wielaard <mark@klomp.org>
7119 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7120 * java/util/regex/Pattern.java (split(CharSequence,int)):
7121 Fix while empties > 0 loops.
7123 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7125 * gnu/java/nio/charset/ISO_8859_1.java,
7126 gnu/java/nio/charset/US_ASCII.java,
7127 gnu/java/nio/charset/UTF_16.java,
7128 gnu/java/nio/charset/UTF_16_LE.java,
7129 gnu/java/nio/charset/UTF_16_BE.java,
7130 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7131 and aliases according to
7132 "http://www.iana.org/assignments/character-sets",
7133 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7134 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7135 * gnu/java/nio/charset/Provider.java: Made charset lookup
7136 case-insensitive which fixes bug #11740.
7138 2005-02-07 Tom Tromey <tromey@redhat.com>
7141 * Makefile.in: Rebuilt.
7142 * Makefile.am (src.zip): New target.
7143 (install-src.zip): Likewise.
7144 (sourcesdir): New variable.
7146 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7148 * javax/imageio/metadata/IIOMetadataNode.java:
7150 * javax/imageio/metadata/IIOAttr.java,
7151 javax/imageio/metadata/IIONamedNodeMap.java,
7152 javax/imageio/metadata/IIONodeList.java:
7155 2005-02-06 Graydon Hoare <graydon@redhat.com>
7157 * gnu/java/awt/ClasspathToolkit.java
7158 (registerImageIOSpis): New method.
7159 * javax/imageio/ImageIO.java
7160 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7161 (WriterMIMETypeFilter.filter): Likewise.
7162 (ImageReaderIterator): Pass extension argument through to SPI.
7163 (getReadersByFilter): Likewise.
7164 (getWritersByFilter): Likewise.
7165 (getImageReadersByFormatName): Likewise.
7166 (getImageReadersByMIMEType): Likewise.
7167 (getImageReadersBySuffix): Likewise.
7168 (getImageWritersByFormatName): Likewise.
7169 (getImageWritersByMIMEType): Likewise.
7170 (getImageWritersBySuffix): Likewise.
7173 * javax/imageio/ImageReader.java
7174 (progressListeners): Initialize.
7175 (setInput): Implement.
7176 * javax/imageio/ImageWriter.java
7177 (progressListeners): Initialize.
7178 (warningListeners): Likewise.
7179 (warningLocales): Likewise.
7180 (setOutput): Test "isInstance" rather than class equality.
7181 * javax/imageio/spi/IIORegistry.java
7182 (static): Add reader and writer SPIs.
7183 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7185 2005-02-06 Michael Koch <konqueror@gmx.de>
7187 * javax/imageio/metadata/IIOInvalidTreeException.java
7188 (IIOInvalidTreeException): Reformatted.
7189 * javax/imageio/spi/IIORegistry.java
7190 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7191 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7192 Reworked import statements.
7194 2005-02-06 Michael Koch <konqueror@gmx.de>
7196 * javax/imageio/stream/FileImageOutputStream.java:
7199 2005-02-06 Michael Koch <konqueror@gmx.de>
7201 * javax/imageio/stream/FileCacheImageInputStream.java,
7202 javax/imageio/stream/FileCacheImageOutputStream.java,
7203 javax/imageio/stream/FileImageInputStream.java,
7204 javax/imageio/stream/ImageInputStreamImpl.java,
7205 javax/imageio/stream/ImageOutputStreamImpl.java,
7206 javax/imageio/stream/MemoryCacheImageInputStream.java,
7207 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7208 Added all missing methods in javax.imageio.stream.
7210 2005-02-02 David Daney <ddaney@avtrex.com>
7212 * java/net/InetAddress.java (InetAddress): Make a private copy of
7214 * java/net/Inet4Address.java (getAddress): Return a copy of the
7216 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7218 (getAddress): Return a copy of the address.
7221 2005-02-02 Tom Tromey <tromey@redhat.com>
7223 * Makefile.in: Rebuilt.
7224 * Makefile.am (classes.stamp): New target, broken out from
7226 ($(all_java_class_files)): Depend on it.
7227 (libgcj-@gcc_version@.jar): Likewise.
7228 (all-recursive): Likewise.
7229 (CLEANFILES): Include classes.stamp.
7231 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7233 * link.cc: Include <stdio.h>
7235 2005-02-02 Tom Tromey <tromey@redhat.com>
7238 * Makefile.in: Rebuilt.
7239 * Makefile.am (ordinary_java_source_files): Added new class.
7240 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7241 Use system_instance, not instance.
7242 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7243 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7245 (system_instance): New field.
7246 (initialize): Initialize the system loader as well.
7247 (VMClassLoader): Default to LIB_CACHE.
7249 2005-02-02 Tom Tromey <tromey@redhat.com>
7251 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7252 * prims.cc: Fixed comment.
7254 2005-02-01 Tom Tromey <tromey@redhat.com>
7256 * Makefile.in: Rebuilt.
7257 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7258 (.java.class): Use BOOTCLASSPATH.
7260 2005-02-01 Tom Tromey <tromey@redhat.com>
7262 * external/w3c_dom/Makefile.am: New file.
7263 * external/w3c_dom/Makefile.in: New file.
7264 * external/sax/Makefile.am: New file.
7265 * external/sax/Makefile.in: New file.
7266 * external/Makefile.in: New file.
7267 * external/Makefile.am: New file.
7268 * external/README: New file from Classpath.
7269 * configure, aclocal.m4, Makefile.in: Rebuilt.
7270 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7271 * Makefile.am (SUBDIRS): Added external.
7272 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7273 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7274 (BOOTCLASSPATH): New variable.
7275 (AM_GCJFLAGS): Use it.
7276 (gnu_xml_source_files): New variable.
7277 (libgcj_la_SOURCES): Use it.
7278 (libgcj_la_LDADD): Include new convenience libraries.
7279 (lib_org_ietf_jgss_la_SOURCES): Removed.
7280 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7281 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7282 (lib_org_w3c_dom_la_SOURCES): Removed.
7283 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7284 (lib_org_w3c_dom_la_LIBADD): Likewise.
7285 (lib_org_xml_sax_la_SOURCES): Removed.
7286 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7287 (lib_org_xml_sax_la_LIBADD): Likewise.
7288 (all_java_source_files): Updated.
7289 (property_files): Likewise.
7290 (libgcj-@gcc_version@.jar): Include classes from external/.
7291 (javax_source_files): Updated.
7292 (ordinary_java_source_files): Updated.
7293 * javax/xml/XMLConstants.java,
7294 javax/xml/datatype/DatatypeConfigurationException.java,
7295 javax/xml/datatype/DatatypeConstants.java,
7296 javax/xml/datatype/DatatypeFactory.java,
7297 javax/xml/datatype/Duration.java,
7298 javax/xml/datatype/XMLGregorianCalendar.java,
7299 javax/xml/datatype/package.html,
7300 javax/xml/namespace/NamespaceContext.java,
7301 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7302 javax/xml/parsers/DocumentBuilder.java,
7303 javax/xml/parsers/DocumentBuilderFactory.java,
7304 javax/xml/parsers/FactoryConfigurationError.java,
7305 javax/xml/parsers/ParserConfigurationException.java,
7306 javax/xml/parsers/SAXParser.java,
7307 javax/xml/parsers/SAXParserFactory.java,
7308 javax/xml/parsers/package.html,
7309 javax/xml/transform/ErrorListener.java,
7310 javax/xml/transform/OutputKeys.java,
7311 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7312 javax/xml/transform/SourceLocator.java,
7313 javax/xml/transform/Templates.java,
7314 javax/xml/transform/Transformer.java,
7315 javax/xml/transform/TransformerConfigurationException.java,
7316 javax/xml/transform/TransformerException.java,
7317 javax/xml/transform/TransformerFactory.java,
7318 javax/xml/transform/TransformerFactoryConfigurationError.java,
7319 javax/xml/transform/URIResolver.java,
7320 javax/xml/transform/package.html,
7321 javax/xml/transform/dom/DOMLocator.java,
7322 javax/xml/transform/dom/DOMResult.java,
7323 javax/xml/transform/dom/DOMSource.java,
7324 javax/xml/transform/dom/package.html,
7325 javax/xml/transform/sax/SAXResult.java,
7326 javax/xml/transform/sax/SAXSource.java,
7327 javax/xml/transform/sax/SAXTransformerFactory.java,
7328 javax/xml/transform/sax/TemplatesHandler.java,
7329 javax/xml/transform/sax/TransformerHandler.java,
7330 javax/xml/transform/sax/package.html,
7331 javax/xml/transform/stream/StreamResult.java,
7332 javax/xml/transform/stream/StreamSource.java,
7333 javax/xml/transform/stream/package.html,
7334 javax/xml/validation/Schema.java,
7335 javax/xml/validation/SchemaFactory.java,
7336 javax/xml/validation/TypeInfoProvider.java,
7337 javax/xml/validation/Validator.java,
7338 javax/xml/validation/ValidatorHandler.java,
7339 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7340 javax/xml/xpath/XPathConstants.java,
7341 javax/xml/xpath/XPathException.java,
7342 javax/xml/xpath/XPathExpression.java,
7343 javax/xml/xpath/XPathExpressionException.java,
7344 javax/xml/xpath/XPathFactory.java,
7345 javax/xml/xpath/XPathFactoryConfigurationException.java,
7346 javax/xml/xpath/XPathFunction.java,
7347 javax/xml/xpath/XPathFunctionException.java,
7348 javax/xml/xpath/XPathFunctionResolver.java,
7349 javax/xml/xpath/XPathVariableResolver.java,
7350 javax/xml/xpath/package.html: New files, from GNU JAXP.
7351 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7352 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7353 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7354 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7355 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7356 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7357 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7358 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7359 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7360 org/w3c/dom/ranges/DocumentRange.java,
7361 org/w3c/dom/ranges/Range.java,
7362 org/w3c/dom/ranges/RangeException.java,
7363 org/w3c/dom/traversal/DocumentTraversal.java,
7364 org/w3c/dom/traversal/NodeFilter.java,
7365 org/w3c/dom/traversal/NodeIterator.java,
7366 org/w3c/dom/traversal/TreeWalker.java,
7367 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7368 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7369 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7370 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7371 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7372 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7373 org/xml/sax/SAXNotRecognizedException.java,
7374 org/xml/sax/SAXNotSupportedException.java,
7375 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7376 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7377 org/xml/sax/ext/DeclHandler.java,
7378 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7379 org/xml/sax/helpers/AttributeListImpl.java,
7380 org/xml/sax/helpers/AttributesImpl.java,
7381 org/xml/sax/helpers/DefaultHandler.java,
7382 org/xml/sax/helpers/LocatorImpl.java,
7383 org/xml/sax/helpers/NamespaceSupport.java,
7384 org/xml/sax/helpers/NewInstance.java,
7385 org/xml/sax/helpers/ParserAdapter.java,
7386 org/xml/sax/helpers/ParserFactory.java,
7387 org/xml/sax/helpers/XMLFilterImpl.java,
7388 org/xml/sax/helpers/XMLReaderAdapter.java,
7389 org/xml/sax/helpers/XMLReaderFactory.java,
7390 org/xml/sax/helpers/package.html: Moved to external/.
7391 * external/sax/README,
7392 external/sax/org/xml/sax/AttributeList.java,
7393 external/sax/org/xml/sax/Attributes.java,
7394 external/sax/org/xml/sax/ContentHandler.java,
7395 external/sax/org/xml/sax/DTDHandler.java,
7396 external/sax/org/xml/sax/DocumentHandler.java,
7397 external/sax/org/xml/sax/EntityResolver.java,
7398 external/sax/org/xml/sax/ErrorHandler.java,
7399 external/sax/org/xml/sax/HandlerBase.java,
7400 external/sax/org/xml/sax/InputSource.java,
7401 external/sax/org/xml/sax/Locator.java,
7402 external/sax/org/xml/sax/Parser.java,
7403 external/sax/org/xml/sax/SAXException.java,
7404 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7405 external/sax/org/xml/sax/SAXNotSupportedException.java,
7406 external/sax/org/xml/sax/SAXParseException.java,
7407 external/sax/org/xml/sax/XMLFilter.java,
7408 external/sax/org/xml/sax/XMLReader.java,
7409 external/sax/org/xml/sax/package.html,
7410 external/sax/org/xml/sax/ext/Attributes2.java,
7411 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7412 external/sax/org/xml/sax/ext/DeclHandler.java,
7413 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7414 external/sax/org/xml/sax/ext/EntityResolver2.java,
7415 external/sax/org/xml/sax/ext/LexicalHandler.java,
7416 external/sax/org/xml/sax/ext/Locator2.java,
7417 external/sax/org/xml/sax/ext/Locator2Impl.java,
7418 external/sax/org/xml/sax/ext/package.html,
7419 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7420 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7421 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7422 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7423 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7424 external/sax/org/xml/sax/helpers/NewInstance.java,
7425 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7426 external/sax/org/xml/sax/helpers/ParserFactory.java,
7427 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7428 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7429 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7430 external/sax/org/xml/sax/helpers/package.html,
7431 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7432 external/w3c_dom/org/w3c/dom/Attr.java,
7433 external/w3c_dom/org/w3c/dom/CDATASection.java,
7434 external/w3c_dom/org/w3c/dom/CharacterData.java,
7435 external/w3c_dom/org/w3c/dom/Comment.java,
7436 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7437 external/w3c_dom/org/w3c/dom/DOMError.java,
7438 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7439 external/w3c_dom/org/w3c/dom/DOMException.java,
7440 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7441 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7442 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7443 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7444 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7445 external/w3c_dom/org/w3c/dom/Document.java,
7446 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7447 external/w3c_dom/org/w3c/dom/DocumentType.java,
7448 external/w3c_dom/org/w3c/dom/Element.java,
7449 external/w3c_dom/org/w3c/dom/Entity.java,
7450 external/w3c_dom/org/w3c/dom/EntityReference.java,
7451 external/w3c_dom/org/w3c/dom/NameList.java,
7452 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7453 external/w3c_dom/org/w3c/dom/Node.java,
7454 external/w3c_dom/org/w3c/dom/NodeList.java,
7455 external/w3c_dom/org/w3c/dom/Notation.java,
7456 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7457 external/w3c_dom/org/w3c/dom/Text.java,
7458 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7459 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7460 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7461 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7462 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7463 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7464 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7465 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7466 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7467 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7468 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7469 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7470 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7471 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7472 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7473 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7474 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7475 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7476 external/w3c_dom/org/w3c/dom/css/Counter.java,
7477 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7478 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7479 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7480 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7481 external/w3c_dom/org/w3c/dom/css/Rect.java,
7482 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7483 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7484 external/w3c_dom/org/w3c/dom/events/Event.java,
7485 external/w3c_dom/org/w3c/dom/events/EventException.java,
7486 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7487 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7488 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7489 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7490 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7491 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7492 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7493 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7494 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7495 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7496 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7497 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7498 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7499 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7500 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7501 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7502 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7503 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7504 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7505 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7506 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7507 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7508 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7509 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7510 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7511 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7512 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7513 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7514 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7515 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7516 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7517 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7518 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7519 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7520 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7521 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7522 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7523 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7524 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7525 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7526 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7527 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7528 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7529 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7530 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7531 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7532 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7533 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7534 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7535 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7536 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7537 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7538 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7539 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7540 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7541 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7542 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7543 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7544 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7545 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7546 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7547 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7548 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7549 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7550 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7551 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7552 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7553 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7554 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7555 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7556 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7557 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7558 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7559 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7560 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7561 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7562 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7563 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7564 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7565 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7566 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7567 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7568 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7569 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7570 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7571 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7572 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7573 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7574 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7575 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7576 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7577 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7580 2005-01-31 Anthony Green <green@redhat.com>
7582 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7583 Support IP_MULTICAST_LOOP.
7584 (setOption): Support IP_MULTICAST_LOOP.
7586 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7587 SO_REUSEADDR support.
7588 (getOption): Support SO_REUSEADDR.
7590 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7593 * java/util/Date.java
7594 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7596 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7598 (getTimezoneOffset): Inverted sign.
7600 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7602 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7603 remove other passing tests and add new XFAILs.
7605 2005-01-24 Tom Tromey <tromey@redhat.com>
7607 * java/lang/Class.h (next): Updated documentation. Renamed to
7609 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7610 _Jv_CheckABIVersion.
7611 (_Jv_RegisterClasses_Counted): Likewise.
7612 (_Jv_RegisterClassHookDefault): Fix starting condition of
7613 duplicate-checking loop.
7614 * include/jvm.h (GCJ_VERSION): New define.
7615 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7616 (_Jv_CheckABIVersion): New function.
7618 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7620 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7621 (libgij_la_LDFLAGS): Add.
7622 * Makefile.in: Rebuilt.
7624 2005-01-24 Roger Sayle <roger@eyesopen.com>
7627 * testsuite/libjava.compile/PR19295.java: New test case.
7629 2005-01-19 Tom Tromey <tromey@redhat.com>
7631 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7632 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7633 if 'handler' is valid.
7635 2005-01-17 Tom Tromey <tromey@redhat.com>
7637 * java/text/MessageFormat.java (scanString): Changed how quoting
7639 (scanFormatElement): Likewise.
7641 2004-12-07 Mark Wielaard <mark@klomp.org>
7643 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7645 2005-01-15 Michael Koch <konqueror@gmx.de>
7649 (AUTHORITY_REGEXP): New regexp constant.
7650 (AUTHORITY_USERINFO_GROUP): New constant.
7651 (AUTHORITY_HOST_GROUP): Likewise.
7652 (AUTHORITY_PORT_GROUP): Likewise.
7653 (port): Changed default value to -1.
7654 (parseURI): Parse authority part and initialize host,
7657 2005-01-14 Robin Green <greenrd@greenrd.org>
7659 * java/io/File.java (toURI): Generate a URI which we understand.
7661 2005-01-13 Graydon Hoare <graydon@redhat.com>
7663 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7664 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7665 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7666 * jni.cc: Reuse bottom frame between calls, avoid clearing
7667 frame when no local references are made.
7669 2005-01-13 Michael Koch <konqueror@gmx.de>
7672 * java/lang/Thread.java
7673 (Thread): Call checkAccess().
7674 (stop): Fixed argument name to match javadoc.
7675 * java/lang/natThread.cc
7676 (interrupt): Call checkAccess().
7679 2005-01-11 Michael Koch <konqueror@gmx.de>
7682 * java/net/URL.java (URL): Handle specs like
7683 "/redir?http://domain2.com/index.html" which start with a slash.
7685 2005-01-11 Michael Koch <konqueror@gmx.de>
7687 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7688 * gnu/java/net/BASE64.java,
7689 gnu/java/net/EmptyX509TrustManager.java,
7690 gnu/java/net/LineInputStream.java,
7691 gnu/java/net/protocol/http/Authenticator.java,
7692 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7693 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7694 gnu/java/net/protocol/http/ChunkedInputStream.java,
7695 gnu/java/net/protocol/http/Cookie.java,
7696 gnu/java/net/protocol/http/CookieManager.java,
7697 gnu/java/net/protocol/http/Credentials.java,
7698 gnu/java/net/protocol/http/HTTPConnection.java,
7699 gnu/java/net/protocol/http/HTTPDateFormat.java,
7700 gnu/java/net/protocol/http/HTTPURLConnection.java,
7701 gnu/java/net/protocol/http/Headers.java,
7702 gnu/java/net/protocol/http/Request.java,
7703 gnu/java/net/protocol/http/RequestBodyWriter.java,
7704 gnu/java/net/protocol/http/Response.java,
7705 gnu/java/net/protocol/http/ResponseBodyReader.java,
7706 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7707 gnu/java/net/protocol/http/SimpleCookieManager.java,
7708 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7709 gnu/java/net/protocol/http/event/ConnectionListener.java,
7710 gnu/java/net/protocol/http/event/RequestEvent.java,
7711 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7712 * gnu/java/net/protocol/http/Connection.java: Removed.
7713 * gnu/java/net/protocol/http/Handler.java,
7714 javax/net/ssl/HttpsURLConnection.java: Updated.
7715 * Makefile.am: Added new files and remove old ones.
7716 * Makefile.in: Regenerated.
7718 2005-01-11 Tom Tromey <tromey@redhat.com>
7721 * java/io/BufferedInputStream.java (read): Repeatedly read to
7723 (refill): Change test to see if buffer must be grown.
7725 2005-01-10 Tom Tromey <tromey@redhat.com>
7727 * mauve-libgcj: Exclude some swing tests.
7729 2005-01-10 Tom Tromey <tromey@redhat.com>
7731 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7732 * java/lang/Package.java (getPackages): Use VMClassLoader when
7734 (getPackage): Likewise.
7735 * prims.cc (_Jv_CreateJavaVM): Call
7736 _Jv_RegisterBootstrapPackages.
7737 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7738 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7739 (getPackages): Likewise.
7740 (definedPackages): New field.
7741 (definePackageForNative): New method.
7742 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7743 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7744 * defineclass.cc (handleClassBegin): Use
7745 ClassLoader.findLoadedClass.
7746 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7748 (struct _Jv_LoaderInfo): Removed.
7749 (initiated_classes): Likewise.
7750 (_Jv_UnregisterClass): Don't use initiated_classes.
7751 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7752 (_Jv_FindClass): Register classes found during boostrap.
7753 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7754 (bootstrap_class_list): New global.
7755 (bootstrap_index): Likewise.
7756 (_Jv_RegisterBootstrapPackages): New function.
7757 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7758 definePackageForNative.
7759 (findClass): Updated.
7760 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7763 2005-01-10 Tom Tromey <tromey@redhat.com>
7766 * include/jvm.h (_Jv_Linker::find_field): Declare.
7767 (_Jv_Linker::find_field_helper): Likewise.
7768 * link.cc (find_field_helper): New method.
7769 (find_field): Likewise.
7770 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7772 (link_symbol_table): Use find_field.
7774 2005-01-10 Michael Koch <konqueror@gmx.de>
7777 * java/util/Locale.java (Locale): Don't uppercase variant.
7778 (getISOCountries): Fixed typo in javadoc.
7780 2005-01-10 Michael Koch <konqueror@gmx.de>
7782 * java/util/SimpleTimeZone.java (checkRule):
7783 Throw IllegalArgumentException on invalid month values.
7784 * java/util/TimeZone.java (setID):
7785 Throw NullPointerException if needed.
7787 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7789 * java/util/SimpleTimeZone.java (getOffset):
7790 offset end date with daylight savings
7792 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7794 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7795 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7797 2005-01-09 Michael Koch <konqueror@gmx.de>
7800 * java/net/InetAddress.java (getLocalHost):
7801 Throw UnknownHostException if local hostname cannot be determined.
7803 2005-01-06 Tom Tromey <tromey@redhat.com>
7805 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7807 2005-01-07 Michael Koch <konqueror@gmx.de>
7810 * java/nio/Buffer.java (address): New field.
7811 * java/nio/DirectByteBufferImpl.java (address): Removed.
7812 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7813 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7814 Explicitly initialize Buffer.address if needed.
7815 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7816 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7817 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7818 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7819 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7820 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7821 DirectByteBufferImpl object.
7822 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7823 * testsuite/libjava.jni/directbuffer.c,
7824 testsuite/libjava.jni/directbuffer.java,
7825 testsuite/libjava.jni/directbuffer.out,
7826 testsuite/libjava.jni/bytebuffer.c,
7827 testsuite/libjava.jni/bytebuffer.java,
7828 testsuite/libjava.jni/bytebuffer.out: New files.
7830 2005-01-05 Tom Tromey <tromey@redhat.com>
7832 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7834 (compressedSize): Now 'long'. Default to -1.
7835 (getCompressedSize): Rewrote.
7836 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7837 deflate at all if we need input.
7839 2005-01-05 Tom Tromey <tromey@redhat.com>
7842 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7845 2005-01-05 Tom Tromey <tromey@redhat.com>
7847 * java/lang/natRuntime.cc (insertSystemProperties): Set
7848 java.ext.dirs earlier.
7850 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7852 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7853 sync_info element of the object if needed.
7855 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7857 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7858 a non-zero exit status from 'false'.
7860 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7862 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.