1 2005-06-29 Tom Tromey <tromey@redhat.com>
4 * testsuite/libjava.lang/pr22211.java: New file.
5 * java/lang/natThread.cc (finish_): Synchronize when updating
7 (_Jv_AttachCurrentThread): Likewise.
8 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
9 * java/lang/Thread.java (isAlive): Now synchronized.
11 2005-06-29 Tom Tromey <tromey@redhat.com>
13 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
16 2005-06-28 Robin Green <greenrd@greenrd.org>
19 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
22 2005-06-27 Tom Tromey <tromey@redhat.com>
24 PR java/21540, PR java/13788:
25 * testsuite/libjava.compile/pr21540.java: New file.
26 * testsuite/libjava.compile/pr13788.java: New file.
27 * testsuite/libjava.jacks/jacks.xfail: Updated.
29 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
31 * testsuite/libjava.mauve/xfails: Updated to reflect current state
34 2005-06-24 Tom Tromey <tromey@redhat.com>
36 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
37 where class' name is NULL.
38 (_Jv_FindClass): Don't wait for class state.
39 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
41 * include/java-interp.h (_Jv_DefineClass): Updated.
42 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
43 (struct _Jv_ClassReader): Likewise.
44 (found_name): New field.
45 (handleClassBegin): Set *found_name.
46 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
47 (handleClassBegin): Throw error if super class not set.
48 (read_methods): Correctly call check_tag and prepare_pool_entry.
50 2005-06-24 Tom Tromey <tromey@redhat.com>
52 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
54 2005-06-24 Tom Tromey <tromey@redhat.com>
56 * verify.cc (verify_instructions_0): Correctly handle situation
57 where PC falls off end.
59 2005-06-24 Tom Tromey <tromey@redhat.com>
61 * interpret.cc (compile): Handle case where table entry is
64 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
66 * testsuite/libjava.compile/PR20697.java: New test-case.
68 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
70 * Makefile.am (SUBDIRS): Use append for conditional.
71 (toolexeclib_LTLIBRARIES): Likewise.
72 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
74 * Makefile.in: Regenerate.
76 2005-06-17 Keith Seitz <keiths@redhat.com>
78 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
79 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
80 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
82 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
83 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
85 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
86 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
87 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
88 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
90 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
91 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
93 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
95 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
96 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
97 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
98 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
99 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
100 * Makefile.in: Regenerate.
102 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
104 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
105 (USING_POSIX_PLATFORM): ... here.
106 * Makefile.am: Delete USING_ECOS_PLATFORM.
107 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
108 external/Makefile.in, external/sax/Makefile.in,
109 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
111 2005-06-15 Tom Tromey <tromey@redhat.com>
114 * testsuite/libjava.lang/pr17536.java: New file.
115 * testsuite/libjava.lang/pr17536.out: New file.
117 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
120 * gnu/java/net/protocol/http/HTTPURLConnection.java
121 (getHeaderFieldKey): Check index.
123 2005-06-15 Tom Tromey <tromey@redhat.com>
126 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
128 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
129 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
131 (append_partial_itable): Use it.
132 (set_vtable_entries): Likewise.
134 2005-06-15 Tom Tromey <tromey@redhat.com>
136 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
137 last_was_sep in loop.
139 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
141 * configure.host: Handle Solaris 10/x86.
143 2005-06-14 Keith Seitz <keiths@redhat.com>
145 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
146 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
148 2005-06-14 Keith Seitz <keiths@redhat.com>
150 * gnu/classpath/jdwp/id/ArrayId.java: New file.
151 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
152 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
153 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
154 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
155 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
156 * gnu/classpath/jdwp/id/JdwpId.java: New file.
157 * gnu/classpath/jdwp/id/ObjectId.java: New file.
158 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
159 * gnu/classpath/jdwp/id/StringId.java: New file.
160 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
161 * gnu/classpath/jdwp/id/ThreadId.java: New file.
163 2005-06-14 Tom Tromey <tromey@redhat.com>
166 * configure, aclocal.m4, Makefile.in: Rebuilt.
168 2005-06-14 Tom Tromey <tromey@redhat.com>
170 * java/lang/Class.java (getClasses): New method.
171 (internalGetClasses): Likewise.
172 (getClassLoader): Updated documentation.
173 (getDeclaredClasses): New overload; old overload no longer
175 (_getConstructors): Removed.
176 (resourcePath): Updated.
177 * java/lang/natClass.cc (getClasses): Removed.
178 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
180 (_getConstructors): Removed.
182 2005-06-13 Jim Huang <jserv@kaffe.org>
185 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
186 (_Jv_JNI_NewObject): Likewise.
188 2005-06-13 Tom Tromey <tromey@redhat.com>
191 * testsuite/libjava.lang/pr21844.java: New file.
192 * testsuite/libjava.lang/pr21844.out: New file.
194 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
197 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
200 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
202 * java/text/MessageFormat.java (parse): When parsing strings, check
203 for an empty pattern trailer.
205 2005-06-06 Keith Seitz <keiths@redhat.com>
207 * gnu/classpath/jdwp/util/Signature.java: New file.
208 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
210 2005-06-05 Anthony Green <green@redhat.com>
212 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
215 2005-06-04 Anthony Green <green@redhat.com>
217 * java/net/URLClassLoader.java: import gnu.gcj.Core,
218 and gnu.java.net.protocol.core.CoreInputStream.
219 (CureURLLoader): New class.
220 (CoreResource): New class.
221 (addURLImpl): Add special treatment for the "core" protocol.
222 * gnu/gcj/natCore.cc (find): New method.
223 * gnu/gcj/Core.java (find): New method.
225 2005-06-03 Keith Seitz <keiths@redhat.com>
227 * gnu/classpath/jdwp/transport/ITransport.java: New file.
228 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
229 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
231 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
233 * jawt.c: Remove malloc.h, covered by stdlib.h.
235 * testsuite/libjava.jni/jni.exp
236 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
239 2005-06-02 Keith Seitz <keiths@redhat.com>
241 * gnu/classpath/jdwp/transport/TransportException.java: New file.
243 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
245 * mauve-libgcj: Remove implemented classes from the fail section.
246 Add two new not implemented to it.
248 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
250 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
251 AC_SUBST definition from configure.host.
252 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
253 to -fomit-frame-pointer on 32-bit x86 targets.
255 2005-06-01 Tom Tromey <tromey@redhat.com>
257 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
259 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
262 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
263 (static): Add possessive matching to JAVA_1_4 syntax.
264 * gnu/regexp/RETokenRepeated.java (possessive): New field.
265 (makePossessive, isPossessive): New methods.
266 (match): Don't back off during possessive matching.
267 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
268 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
271 2005-06-01 Keith Seitz <keiths@redhat.com>
273 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
274 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
275 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
277 2005-06-01 Tom Tromey <tromey@redhat.com>
280 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
281 (currentLoader): New method.
282 * java/io/ObjectInputStream.java (resolveProxyClass): Use
284 (currentLoader): Now native.
285 (currentClassLoader): Removed.
286 * testsuite/libjava.lang/pr21785.java: New file.
287 * testsuite/libjava.lang/pr21785.out: New file.
289 2005-06-01 Tom Tromey <tromey@redhat.com>
292 * java/lang/natString.cc (substring): Changed sharing heuristic.
294 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
297 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
298 MAXPATHLEN. Format exception message using a StringBuffer instead.
300 2005-05-29 Michael Koch <konqueror@gmx.de>
303 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
305 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
307 * ChangeLog: Fix typo.
309 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
311 Testsuite adjustments for PR java/19870.
312 * testsuite/libjava.lang/PR19870.java: New testcase.
313 * testsuite/libjava.lang/PR19870.out: Expected output for the
315 * testsuite/libjava.jacks/jacks.xfail: Add
316 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
319 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
321 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
322 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
323 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
325 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
326 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
327 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
328 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
330 2005-05-25 Richard Henderson <rth@redhat.com>
333 * sysdep/descriptor-n.h: New file.
334 * sysdep/descriptor-y.h: New file.
335 * sysdep/powerpc/descriptor.h: New file.
336 * configure.host: Set $descriptor_h appropriate for the host.
337 * configure.ac: Link it.
338 * configure: Regenerate.
339 * stacktrace.cc: Include sysdep/descriptor.h.
340 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
342 2005-05-25 Chris Burdess <dog@gnu.org>
344 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
345 end entity callbacks.
347 2005-05-24 Gary Benson <gbenson@redhat.com>
350 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
351 Handle DateFormat.DEFAULT case correctly.
353 2005-05-21 Tom Tromey <tromey@redhat.com>
356 * java/lang/ref/natReference.cc (find_slot): Handle case where
357 table has no NULL entries.
358 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
359 table has no NULL entries.
361 2005-05-22 Andreas Jaeger <aj@suse.de>
363 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
366 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
368 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
370 2005-05-19 Richard Henderson <rth@redhat.com>
372 * exception.cc: Revert 05-17 gcc_unreachable change.
374 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
376 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
377 _Jv_RegisterInitiatingLoader to register array classes, not
379 (_Jv_RegisterInitiatingLoader): Give up if called very early during
380 bootstrapping. Add a FIXME to handle this case better.
382 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
384 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
386 (libgcj_la_SOURCES): New. Move sources here.
387 (libgcj.la): Remove rule.
389 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
392 * gnu/java/security/provider/DSASignature.java: Import updates
395 2005-05-18 Anthony Green <green@redhat.com>
397 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
398 classpath_jawt_object_unlock, classpath_jawt_create_lock,
399 classpath_jawt_destroy_lock): New functions.
400 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
401 classpath_jawt_object_unlock, classpath_jawt_create_lock,
402 classpath_jawt_destroy_lock): New functions.
403 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
405 * jawt.c: #include malloc.h.
406 (_Jv_Lock): Use lock.
408 (_Jv_GetDrawingSurface): Initialize lock.
409 (_Jv_FreeDrawingSurface): Destroy lock.
410 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
412 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
414 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
415 * Makefile.in: Regenerate.
417 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
419 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
420 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
421 * aclocal.m4, configure, config.h.in, include/config.h.in,
422 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
423 external/Makefile.in, external/sax/Makefile.in,
424 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
426 2005-05-17 David Daney <ddaney@avtrex.com>
429 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
431 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
433 * exception.cc (abort): Remove std::abort hack.
434 (gcc_unreacheable): Define.
436 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
438 * Makefile.am (Makefile.deps): Do not create native.list and
440 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
441 * Makefile.in: Regenerate.
443 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
445 * configure.ac (--enable-libgcj-multifile): Remove.
447 * Makefile.am (all_native_compiled_source_files,
448 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
449 all_libgcj_lo_files, all_xlib_lo_files,
450 all_java_deps_files, all_java_stamp_files,
451 all_java_filelist_files): New variables.
452 (EXTRA_DIST): New Automake variable.
453 (CLEANFILES): Add .stamp, .list and .lo files.
454 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
455 (classes.stamp): Depend on $(all_java_stamp_files).
456 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
457 going through write_entries_to_file.
459 (all_java_source_files, all_property_files): Move earlier.
460 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
461 all_java_class_files): Remove.
462 (gtk_awt_peer_sources): Rename to...
463 (gtk_awt_peer_source_files): ... this. Adjust throughout.
466 (libgcj0_convenience_la_SOURCES): Remove Java source files.
467 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
468 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
469 (libgcj_la_SOURCES): Remove.
470 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
471 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
472 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
474 * configure: Regenerate.
475 * Makefile.in: Regenerate.
476 * external/Makefile.in: Regenerate.
477 * external/sax/Makefile.in: Regenerate.
478 * external/w3c_dom/Makefile.in: Regenerate.
479 * gcj/Makefile.in: Regenerate.
480 * include/Makefile.in: Regenerate.
481 * libltdl/Makefile.in: Regenerate.
482 * testsuite/Makefile.in: Regenerate.
484 2005-05-16 Tom Tromey <tromey@redhat.com>
486 * java/nio/charset/Charset.java (encode, decode): Synchronize on
487 'this', not the class.
489 2005-05-16 Tom Tromey <tromey@redhat.com>
491 * gnu/java/net/protocol/http/Headers.java (parse): Include final
494 2005-05-16 Tom Tromey <tromey@redhat.com>
497 * java/net/URI.java (unquote): Handle lower-case letters as well.
499 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
502 * gnu/regexp/RE.java: Add support for quoting constructs.
504 2005-05-15 Tom Tromey <tromey@redhat.com>
506 * java/lang/String.java (startsWith): Fixed javadoc.
508 2005-05-15 Tom Tromey <tromey@redhat.com>
511 * testsuite/libjava.compile/pr21519.java: New file.
512 * testsuite/libjava.compile/pr21519.no-link: New file.
514 2005-05-15 Tom Tromey <tromey@redhat.com>
516 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
518 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
521 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
522 interrupt status flag if _Jv_CondWait is interrupted.
524 2005-05-13 Tom Tromey <tromey@redhat.com>
526 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
529 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
531 * include/jvm.h (gcj::verifyClasses): Declare.
532 * link.cc (gcj::verbose_class_flag): Moved.
533 * prims.cc (gcj::verifyClasses): Define here.
534 (gcj::verbose_class_flag): Move definition here.
535 (_Jv_Linker::wait_for_state): Don't call verify_class
536 if gcj::verifyClasses is not set.
537 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
539 2005-05-12 Aaron Luchko <aluchko@redhat.com>
541 * gij.cc (main): Recognize '-verify', '-noverify', and
544 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
546 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
548 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
550 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
553 2005-05-11 Tom Tromey <tromey@redhat.com>
555 * external/w3c_dom/Makefile.in: Rebuilt.
556 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
558 * external/sax/Makefile.in: Rebuilt.
559 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
561 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
563 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
564 Call _Jv_CopyClassesToSystemLoader.
565 * java/lang/natClassLoader.cc (system_class_list): New global.
566 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
568 (_Jv_CopyClassesToSystemLoader): New function.
569 (SYSTEM_LOADER_INITIALIZED): New define.
570 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
571 (_Jv_CheckABIVersion): Use it.
572 (_Jv_ClassForBootstrapLoader): New function.
573 * Makefile.in: Rebuilt.
574 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
576 2005-05-10 Tom Tromey <tromey@redhat.com>
578 * gcj/javaprims.h: Updated.
579 * java/lang/String.java (String(StringBuilder)): New constructor.
580 * java/lang/natStringBuilder.cc: New file.
581 * java/lang/StringBuilder.java: New file.
582 * Makefile.in: Rebuilt.
583 * Makefile.am (core_java_source_files): Added StringBuilder.java.
584 (nat_source_files): Added natStringBuilder.cc.
586 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
589 * testsuite/libjava.jacks/jacks.xfail: Adjust.
591 2005-05-09 Mike Stump <mrs@apple.com>
593 * configure: Regenerate.
595 2005-05-09 David Daney <ddaney@avtrex.com>
597 * java/util/BitSet.java (get(int, int)): Fix breakage when
598 requested set doesn't start on a multiple of 64.
600 2005-05-07 Matthias Klose <doko@debian.org>
602 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
604 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
606 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
607 * Makefile.in: Regenerate.
608 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
609 (createCompatibleVolatileImage(int,int)): Implement.
610 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
612 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
614 (createVolatileImage): Implement.
615 (createBuffers): Likewise.
616 (getBackBuffer): Likewise.
618 (destroyBuffers): Likewise.
619 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
620 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
621 (CanvasFlipBufferStrategy): Likewise.
622 (createBufferStrategy(int)): New method.
623 (createBufferStrategy(int,BufferCapabilities)): Likewise.
624 * java/awt/Component.java (BltBufferStrategy): Implement and
626 (FlipBufferStrategy): Likewise.
627 * java/awt/Window.java (WindowBltBufferStrategy): New class.
628 (WindowFlipBufferStrategy): Likewise.
629 (createBufferStrategy(int)): New method.
630 (createBufferStrategy(int,BufferCapabilities)): Likewise.
631 (getBufferStrategy): Likewise.
632 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
633 front to frontCaps and back to backCaps.
635 2005-05-06 Michael Koch <konqueror@gmx.de>
637 * java/awt/BufferCapabilities.java
638 (BufferCapabilities): Merged javadoc.
640 2005-05-06 Michael Koch <konqueror@gmx.de>
642 * java/util/Locale.java
643 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
644 (getLocale): New methods. Use it everywhere where instances of Locales
646 (getDisplayLanguage): Merged javadoc.
647 (getDisplayCountry): Likewise.
648 (getDisplayVariant): Likewise.
650 2005-05-06 Archie Cobbs <archie@dellroad.org>
652 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
653 use DeleteLocalRef() to avoid exhausting local native references.
655 2005-05-06 Mark Wielaard <mark@klomp.org>
657 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
658 (window_delete_cb): Don't use C++ style comments.
660 2005-05-06 Robert Schuster <thebohemian@gmx.net>
662 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
665 2005-05-06 Robert Schuster <thebohemian@gmx.net>
667 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
668 (window_delete_cb): Made the function return TRUE.
670 2005-05-06 Roman Kennke <roman@kennke.org>
672 * javax/swing/text/PlainView.java
673 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
675 * javax/swing/text/Utilities.java
676 (drawTabbedText): Initilialize local variable pos correctly.
678 2005-05-06 Roman Kennke <roman@kennke.org>
680 * javax/swing/text/AbstractDocument.java
681 (LeafElement): Made start and end package private fields for
682 effective reindexing.
683 * javax/swing/text/PlainDocument.java
684 (constructor): The field rootElement is always BranchElement,
685 so we handle it as such.
686 (removeUpdate): Rewritten reindexing for removeUpdate so that
687 the actual removal is taken into account.
689 2005-05-06 Roman Kennke <roman@kennke.org>
691 * javax/swing/text/GapContent.java:
692 Removed debugging output stuff, which I accidentally left in.
694 2005-05-06 Roman Kennke <roman@kennke.org>
696 * javax/swing/text/GapContent.java:
697 Implemented a real GapContent. Only the public methods have
698 been implemented so far and still no UndoableEdit support.
700 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
702 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
705 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
707 * java/awt/image/BufferStrategy.java: Document.
709 * java/awt/BufferCapabilities.java: Document.
711 2005-05-04 Tom Tromey <tromey@redhat.com>
713 * java/nio/channels/FileLock.java (toString): Entirely avoid
716 2005-05-04 Andrew Overholt <overholt@redhat.com>
718 * java/nio/channels/FileLock.java (toString): Re-implement using
721 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
723 * java/awt/ImageCapabilities.java: Document.
725 * java/awt/image/VolatileImage.java: Unindent copyright header.
727 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
729 * java/awt/image/VolatileImage.java: Document.
731 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
734 (init_glib_threads): Check if threading system is already
737 2005-05-03 Andrew Overholt <overholt@redhat.com>
740 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
741 could not be acquired.
742 * java/nio/channels/FileLock.java (toString): Re-implement to be
743 in line with other implementations.
745 2005-05-03 Tom Tromey <tromey@redhat.com>
747 * java/lang/VMSecurityManager.java (currentClassLoader): Use
748 'systemClasssLoader' directly.
750 2005-05-03 Tom Tromey <tromey@redhat.com>
752 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
753 call VMClassLoader.getSystemClassLoader.
755 2005-04-29 Michael Koch <konqueror@gmx.de>
757 * java/net/NetworkInterface.java
759 (NetworkInterface(String,InetAddress)): Made package-private.
760 (NetworkInterface(String,InetAddress[])): New constructor.
761 (getRealNetworkInterfaces): Removed.
762 (getByName): Use VMNetworkInterface.getInterfaces().
763 (getByInetAddress): Likewise.
764 (getNetworkInterfaces): Likewise.
765 * java/net/VMNetworkInterface.java,
766 java/net/natVMNetworkInterfaceNoNet.cc,
767 java/net/natVMNetworkInterfacePosix.c,c
768 java/net/natVMNetworkInterfaceWin32.cc: New files.
769 * java/net/natNetworkInterfaceNoNet.cc,
770 java/net/natNetworkInterfacePosix.cc,
771 java/net/natNetworkInterfaceWin32.cc: Removed.
774 * configure, Makefile.in: Regenerated.
776 2005-04-29 Andrew Haley <aph@redhat.com>
778 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
780 2005-04-29 Dalibor Topic <robilad@kaffe.org>
782 * java/nio/channels/FileChannelImpl.java
783 (FileChannelImpl(String, int)): Removed.
784 (FileChannelImpl(File, int)): Added. Check if opened file is a
786 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
787 Call FileChannelImpl(File, int).
788 * java/io/FileOutputStream.java (FileInputStream): Call
789 FileChannelImpl(File, int).
790 * java/io/RandomAccessFile.java (RandomAccessFile):
791 Call FileChannelImpl(File, int). Switched constructors around.
793 2005-04-27 Andrew Haley <aph@redhat.com>
796 * prims.cc (_Jv_ResolvePoolEntry): New function.
797 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
798 * link.cc (_Jv_Linker::find_field): New arg: found_class.
799 (resolve_pool_entry): Initialize the class in which a field is
801 (link_symbol_table): Pass new arg to found_class.
803 2005-04-29 Michael Koch <konqueror@gmx.de>
805 * java/nio/charset/Charset.java
806 (provider): Reformatted.
808 2005-04-29 Michael Koch <konqueror@gmx.de>
810 * gnu/java/net/protocol/http/HTTPConnection.java:
811 (userAgent): Initialize from system properties.
812 (initUserAgent): Removed.
814 2005-04-29 Mark Wielaard <mark@klomp.org>
816 * java/util/ResourceBundle.java (getObject): Clarify
817 MissingResourceException detailed message.
818 (tryBundle(String,ClassLoader)): Likewise.
820 2005-04-29 Robert Schuster <thebohemian@gmx.net>
822 * java/beans/FeatureDescriptor.java:
823 (getShortDescription): Implemented fallback mechanism and fixed
824 documentation (fixes bug #12637).
825 (getDisplayName): Dito.
827 2005-04-29 Robert Schuster <thebohemian@gmx.net>
829 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
830 will now be set correctly.
831 (flushCaches): Now flushes all cached intermediate data.
833 2005-04-28 Michael Koch <konqueror@gmx.de>
835 * java/net/InetAddress.java
836 (aton): Fixed javadoc.
839 2005-04-28 Tom Tromey <tromey@redhat.com>
841 * javax/swing/Timer.java
842 (drainEvents, queueEvent): Now package-private.
844 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
846 * javax/swing/Timer.java
847 (constructor): Assigning initialDelay.
849 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
851 * javax/swing/Timer.java
852 (Waker.run): firing the first action event.
854 2005-04-28 Michael Koch <konqueror@gmx.de>
856 * javax/swing/Timer.java: Reordered all fields and methods,
859 2005-04-28 Michael Koch <konqueror@gmx.de>
861 * javax/swing/Timer.java: Javadocs merged
864 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
866 * gnu/java/net/protocol/file/Connection.java
867 (StaticData): New inner class to contain statics.
868 (connect, getHeaderField): Modified to use StaticData.
870 2005-04-28 Michael Koch <konqueror@gmx.de>
872 * gnu/java/net/protocol/file/Connection.java
873 (lineSeparator): Initialize with SystemProperties.getProperty().
875 2005-04-27 Chris Burdess <dog@gnu.org>
877 * gnu/java/net/protocol/file/Connection.java: Return correct content
878 length for directory listing.
879 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
880 #11285: return valid URLs for directories.i
882 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
884 * Makefile.am (ordinary_java_source_files): Add
885 gnu/java/net/protocol/https/Handler.java.
886 * Makefile.in: Regenerate.
887 * java/net/URL.java: Remove org.metastatic.jessie from default
888 protocol search path.
890 2005-04-27 Chris Burdess <dog@gnu.org>
892 * gnu/java/net/protocol/https/Handler.java: New file.
894 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
896 * javax/imageio/spi/IIORegistry.java (IIORegistry):
897 Don't assume that awt Toolkit is always ClasspathToolkit.
899 2005-04-27 Chris Burdess <dog@gnu.org>
901 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
902 absolute and relative paths in Location header.
904 2005-04-27 Chris Burdess <dog@gnu.org>
906 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
907 FileNotFoundException and implement getErrorStream on 404.
909 2005-04-27 Sven de Marothy <sven@physto.se>
911 * java/util/TimeZone.java,
912 (getDefaultDisplayName): Fix previous fix.
914 2005-04-27 Sven de Marothy <sven@physto.se>
916 * java/util/TimeZone.java,
917 (getDefaultDisplayName): Don't print zero offsets.
919 2005-04-27 Roman Kennke <roman@kennke.org>
921 * javax/swing/plaf/basic/BasicScrollBarUI
922 (getThumbBounds): Do not make thumb smaller than
924 * javax/swing/plaf/metal/MetalLookAndFeel
925 (initComponentDefaults): Added color defaults for ScrollBar.
926 * javax/swing/plaf/metal/MetalScrollBarUI
928 (getMinimumThumbSize): Added.
930 2005-04-27 Roman Kennke <roman@kennke.org>
932 * javax/swing/plaf/metal/MetalLookAndFeel
933 (initComponentDefaults): Added some default colors.
935 2005-04-27 Roman Kennke <roman@kennke.org>
937 * javax/swing/plaf/basic/BasicScrollBarUI.java
938 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
939 to 'ScrollBar.thumbShadow'. The formes does not exist.
940 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
942 2005-04-27 Roman Kennke <roman@kennke.org>
944 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
945 * javax/swing/BoxLayout.java: Likewise.
946 * javax/swing/UIManager.java: Likewise.
947 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
948 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
949 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
950 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
951 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
952 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
953 * javax/swing/text/Document.java: Likewise.
954 * javax/swing/text/GapContent.java: Likewise.
955 * javax/swing/text/SimpleAttributeSet.java: Likewise.
956 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
958 2005-04-27 Roman Kennke <roman@kennke.org>
960 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
961 (getPropertyPrefix): Added.
963 2005-04-27 Roman Kennke <roman@kennke.org>
965 * javax/swing/plaf/basic/BasicButtonUI.java
966 (getPropertyPrefix): Added.
967 (installDefaults): Use getPropertyPrefix instead of hard-coded
970 2005-04-27 Roman Kennke <roman@kennke.org>
972 * javax/swing/JToggleButton.java
973 (JToggleButton): Removed horizontalAlignment setting, this
974 was wrong. Added setting of an actionCommand, ToggleButtons
975 have "" as default actionCommand.
977 2005-04-27 Michael Koch <konqueror@gmx.de>
979 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
980 to work around CNI limitation.
982 2005-04-27 Sven de Marothy <sven@physto.se>
984 * java/nio/charset/Charset.java:
985 (defaultCharset()): New method.
986 Status updated to 1.5
988 2005-04-27 Sven de Marothy <sven@physto.se>
990 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
992 2005-04-27 Sven de Marothy <sven@physto.se>
994 * java/nio/charset/Charset.java: Reset cached de/encoders.
996 2005-04-27 Robert Schuster <thebohemian@gmx.net>
998 * java/nio/charset/Charset.java (forName): Throws
999 IllegalArgumentException when argument is null
1000 and added documentation.
1002 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1004 * java/nio/charset/Charset.java (providers):
1005 New method to make an array of CharsetProviders defined in
1006 META-INF/services/java.nio.charset.spi.CharsetProvider.
1007 (charsetForName, availableCharsets): Use the
1008 new method providers().
1010 2005-04-26 Michael Koch <konqueror@gmx.de>
1012 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1013 Fixed typos in javadocs.
1014 (isSiteLocalAddress): Fixed handling of byte values.
1015 (isMCLinkLocal): Likewise.
1016 * java/net/Inet4Address.java
1017 (isMulticastAddress): Call super method.
1018 (isLoopbackAddress): Likewise.
1019 (isAnyLocalAddress): Likewise.
1020 (isLinkLocalAddress): Likewise.
1021 (isSiteLocalAddress): Likewise.
1022 (isMCGlobal): Likewise.
1023 (isMCNodeLocal): Likewise.
1024 (isMCLinkLocal): Likewise.
1025 (isMCSiteLocal): Likewise.
1026 (isMCOrgLocal): Likewise.
1027 (getHostAddress): Likewise.
1029 2005-04-26 Sven de Marothy <sven@physto.se>
1031 * java/net/InetAddress.java
1032 (toString): Don't print empty hostnames.
1034 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1037 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1038 'false' to native lock().
1039 (lock): Pass 'true' to native lock().
1041 2005-04-26 Michael Koch <konqueror@gmx.de>
1043 * java/net/InetAddress.java:
1044 Fixed typos in javadocs.
1046 2005-04-26 Andrew Haley <aph@redhat.com>
1049 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1052 2005-04-26 Tom Tromey <tromey@redhat.com>
1054 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1055 gnu): Now package-private.
1056 * javax/swing/text/html/parser/DocumentParser.java (parser,
1057 callBack, gnu): Now package-private.
1058 * javax/swing/text/StringContent.java (content, setOffset,
1059 checkLocation): Now package-private.
1060 * javax/swing/text/JTextComponent.java (doc): Now
1062 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1063 lastGoodOrientation, origParent, borders, cachedBounds,
1064 cachedOrientation, DragWindow): Now package-private.
1065 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1066 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1067 tabAreaRect, contentRect, createIncreaseButton,
1068 createDecreaseButton, findPointForIndex): Now package-private.
1069 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1070 (currentDividerLocation, moveDividerTo): Now package-private.
1071 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1073 * javax/swing/plaf/basic/BasicScrollBarUI.java
1074 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1075 Now package-private.
1076 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1077 (topWindowListener): Now package-private.
1078 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1079 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1080 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1082 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1084 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1085 Now package-private.
1086 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1088 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1089 borderInsets): Now package-private.
1090 (arrowButtonWidth): Likewise. Now a constant.
1091 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1092 makeTabs, updatePreviewPanel): Now package-private.
1093 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1094 darkShadow, highlight): Now package-private.
1095 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1096 (addColorToQueue): Now package-private.
1097 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1098 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1099 GSpinner, BSpinner): Now package-private.
1100 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1101 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1102 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1103 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1104 updateTrack): Now package-private.
1105 * javax/swing/TransferHandler.java (clipboard): Now
1107 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1109 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1111 * javax/swing/RepaintManager.java (globalManager): Now
1113 * javax/swing/JFormattedTextField.java (editValid): Now
1115 * javax/swing/JColorChooser.java (makeModal): Now
1117 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1118 index, path): Now package-private.
1119 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1120 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1121 pointEquals): Now package-private.
1122 * java/awt/geom/Arc2D.java (type): Now package-private.
1123 * java/awt/Window.java (windowFocusOwner): Now package-private.
1124 * java/awt/TextComponent.java (editable, selectionStart,
1125 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1127 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1129 * java/awt/MenuComponent.java (focusListener): Now
1131 * java/awt/Frame.java (state): Now package-private.
1132 * java/awt/Choice.java (pItems): Now package-private.
1133 * java/awt/Checkbox.java (state): Now package-private.
1134 * java/awt/Button.java (actionCommand, label): Now
1136 * gnu/javax/swing/text/html/parser/support/Parser.java
1137 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1139 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1141 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1142 clip, transform, font, comp): Now package-private.
1144 2005-04-26 Tom Tromey <tromey@redhat.com>
1146 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1149 2005-04-26 Mark Wielaard <mark@klomp.org>
1151 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1152 to MalformedURLException.
1154 2005-04-26 Michael Koch <konqueror@gmx.de>
1156 * java/security/AccessControlContext.java:
1158 (protectedDomains): Renamed from 'protectionDomain'.
1159 * java/security/AccessController.java:
1162 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1164 * gnu/java/security/action/GetSecurityPropertyAction.java
1165 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1166 of extending GetPropertyAction.
1169 (setParamters): New methods.
1170 (GetSecurityPropertyAction): Use new setParameters methods.
1172 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1174 * java/security/Security.java,
1175 java/security/cert/X509CRLSelector.java,
1176 java/security/cert/X509CertSelector.java:
1177 Modified to use SystemProperties.
1179 2005-04-26 Michael Koch <konqueror@gmx.de>
1181 * java/lang/System.java
1182 (setSecurityManager): Fixed comment.
1183 (getSecurityManager): Removed obsolete comment.
1185 2005-04-25 Tom Tromey <tromey@redhat.com>
1187 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1189 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1192 (connectSignals): Realize the window widget after connecting
1195 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1197 * java/awt/GraphicsEnvironment.java
1198 (localGraphicsEnvironment): New field.
1199 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1201 (isHeadless): Added support for java.awt.headless property.
1202 (isHeadlessInstance): Call headless().
1204 2005-04-25 Roman Kennke <roman@kennke.org>
1206 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1207 (getDisplayMode): Added. Returns the current display mode.
1208 (isFullScreenSupported): Added.
1209 * java/awt/GraphicsDevice.java
1210 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1211 This resizes and relocates the fullscreen window so that it uses
1212 the whole screen. This is not a fully accelerated fullscreen
1215 2005-04-25 Michael Koch <konqueror@gmx.de>
1217 * java/lang/Runtime.java,
1218 java/lang/SecurityManager.java,
1219 java/lang/System.java,
1220 java/lang/ThreadGroup.java:
1221 Replaced java.lang.Runtime.securityManager by
1222 java.lang.SecurityManager.current (as used in GNU classpath).
1224 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1226 * java/awt/Transparency.java
1227 (getTransparency): fixed API docs.
1229 2005-04-25 Archie Cobbs <archie@dellroad.org>
1231 * java/lang/Throwable.java: simplify initializing cause in constructor
1233 2005-04-25 Michael Koch <konqueror@gmx.de>
1235 * gnu/classpath/SystemProperties.java: New file.
1236 * gnu/classpath/natSystemProperties.cc: New file.
1237 * java/lang/Runtime.java
1238 (defaultProperties): Removed.
1240 (): Made thrown exceptions more verbose.
1241 (insertSystemProperties): Removed.
1242 * java/lang/System.java
1244 (properties): Likewise.
1245 (setSecurityManager): Reordered modifiers.
1246 (getenv): Improved javadoc.
1248 (isWordsBigEndian): Removed.
1249 * java/lang/natRuntime.cc
1250 (_Jv_SetDLLSearchPath): Likewise.
1251 (file_encoding): Likewise.
1252 (default_file_encoding): Likewise.
1253 (getpwuid_adaptor): Likewise.
1254 (insertSystemProperties): Likewise.
1255 * java/lang/natSystem.cc
1256 (isWordsBigEndian): Likewise.
1258 (ordinary_java_source_files):
1259 Added gnu/classpath/SystemProperties.java.
1260 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1261 * Makefile.in: Regenerated.
1263 2005-04-25 Roman Kennke <roman@kennke.org>
1265 * javax/swing/plaf/basic/BasicScrollBarUI.java
1266 (initDefaults): Initialize thumb*Color fields correctly.
1268 2005-04-25 Roman Kennke <roman@kennke.org>
1270 * javax/swing/text/GapContent.java:
1273 2005-04-25 Roman Kennke <roman@kennke.org>
1275 * javax/swing/plaf/metal/MetalBorders.java:
1276 Added inner class ScrollPaneBorder.
1277 * javax/swing/plaf/metal/MetalLookAndFeel.java
1278 (initComponentDefaults): Added default for "ScrollPane.border"
1279 to use the new ScrollPaneBorder.
1281 2005-04-25 Roman Kennke <roman@kennke.org>
1283 * javax/swing/text/AbstractDocument.java:
1284 Added FIXME comments. This class still has to be
1285 implemented thread-safe.
1287 2005-04-25 Roman Kennke <roman@kennke.org>
1289 * javax/swing/tree/DefaultTreeSelectionModel.java
1290 (DefaultTreeSelectionModel): Initialize listenerList here.
1292 2005-04-25 Roman Kennke <roman@kennke.org>
1294 * javax/swing/plaf/metal/MetalTextFieldUI.java
1295 (createUI): Return one instance per Component instead of a
1298 2005-04-25 Roman Kennke <roman@kennke.org>
1300 * javax/swing/text/Document.java:
1301 Added API documentation comments.
1303 2005-04-25 Roman Kennke <roman@kennke.org>
1305 * javax/swing/text/AbstractDocument.java
1306 (getDocumentProperties): Implemented.
1307 (setDocumentProperties): Implemented.
1308 (getProperty): Implemented.
1309 (putProperty): Implemented.
1311 2005-04-25 Roman Kennke <roman@kennke.org>
1313 * javax/swing/BoxLayout
1314 (preferredLayoutSize): Fixed computation so that it correctly
1315 adds the top and bottom insets of the container.
1317 2005-04-25 Roman Kennke <roman@kennke.org>
1319 * javax/swing/plaf/basic/BasicMenuItemUI.java
1320 (paintText): Make use of the 'selectionForeground' UI default
1323 2005-04-25 Roman Kennke <roman@kennke.org>
1325 * javax/swing/plaf/basic/BasicLookAndFeel.java
1326 (initSystemColorDefaults): Modified colors to match the
1327 BasicLookAndFeel in the reference implementation.
1328 (initComponentDefaults): Likewise.
1330 2005-04-25 Tom Tromey <tromey@redhat.com>
1332 * include/jni.h (_Jv_va_list): Removed.
1333 Moved configuration code...
1334 * include/jni_md.h: ... here. New file.
1335 * include/Makefile.in: Rebuilt.
1336 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1338 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1340 * java/io/FileInputStream.java (FileInputStream(File)),
1341 java/io/FileOutputStream.java (FileOutputStream(File)):
1342 Removed unnecessary File.isDirectory() check.
1344 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1346 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1347 gij if get_multilibs fails.
1349 2005-04-22 Anthony Green <green@redhat.com>
1351 * jni.cc (natrehash): Don't bother clearing memory again.
1352 * interpret.cc (do_allocate_static_fields): Ditto.
1353 * java/lang/natString.cc (rehash): Ditto.
1355 2005-04-22 Roman Kennke <roman@kennke.org>
1357 * javax/swing/plaf/basic/BasicLookAndFeel.java
1358 (initComponentDefaults): Changed Button.border to be
1359 BasicBorders.getButtonBorder as it should be.
1361 2005-04-22 Roman Kennke <roman@kennke.org>
1363 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1364 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1365 should according to a mauve testcase, instead of the preferred
1368 2005-04-22 Roman Kennke <roman@kennke.org>
1370 * javax/swing/JMenu.java
1371 (add): add(Component) now calls PopupMenu.insert(..) instead of
1372 PopupMenu.add(..). add(..) is not implemented for Component,
1373 so JComponent.add(..) is called instead, adding the component
1376 2005-04-22 Roman Kennke <roman@kennke.org>
1378 * javax/swing/plaf/basic/BasicButtonListener.java
1379 (mousePressed): replaced query to getModifiersEx with getModifiers.
1380 This method relied on faulty behaviour in getModifierEx.
1381 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1382 This method relied on faulty behaviour in getModifierEx.
1384 2005-04-22 Roman Kennke <roman@kennke.org>
1386 * javax/swing/plaf/metal/MetalLookAndFeel.java
1387 (getDefaults): Call addCustomEntriesToTable on the theme.
1389 2005-04-22 Roman Kennke <roman@kennke.org>
1391 * javax/swing/tree/DefaultTreeSelectionModel.java
1392 (constructor): Added implementation.
1393 (getRowMapper): Added implementation.
1394 (setSelectionMode): Added implementation.
1395 (getSelectionMode): Added implementation.
1396 (getSelectionPath): Added implementation.
1397 (getSelectionPaths): Added implementation.
1398 (getSelectionCount): Added implementation.
1399 (isSelectionEmpty): Added implementation.
1400 (getSelectionRows): Added implementation.
1401 (getMinSelectionRow): Added implementation.
1402 (getMaxSelectionRow): Added implementation.
1403 (getLeadSelectionRow): Added implementation.
1404 (getLeadSelectionPath): Added implementation.
1406 2005-04-22 Casey Marshall <csm@gnu.org>
1408 * gnu/java/security/der/DERValue.java
1409 (getValueAs): new method.
1410 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1411 (<init>): read both dates with 'DERValue.getValueAs', with
1412 'GENERALIZED_TIME' as the argument.
1414 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1416 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1417 be null, check for that case and don't deference it.
1419 2005-04-22 Sven de Marothy <sven@physto.se>
1421 * java/util/logging/LogManager.java: Reformatted.
1422 (readConfiguration): If a logger for a key is not found, create one.
1424 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1426 * java/rmi/Naming.java:
1427 Added class documentation.
1428 (lookup(String)): Call parseURL and getName.
1429 (bind(String,java.rmi.Remote)): Likewise.
1430 (unbind(String)): Likewise.
1431 (rebind(String, java.rmi.Remote)): Likewise.
1432 (list(String)): Call parseURL.
1433 (parseURL(String)): New method to handle parsing and defaults.
1434 (getName(java.net.URL)): New method to handle finding the service name.
1436 2005-04-21 Tom Tromey <tromey@redhat.com>
1438 * java/lang/natClass.cc (initializeClass): Link class.
1440 2005-04-21 Tom Tromey <tromey@redhat.com>
1442 * java/lang/AssertionError.java: Typo fix.
1444 2005-04-21 Tom Tromey <tromey@redhat.com>
1446 * java/lang/VMClassLoader.java (transformException): Removed.
1447 (resolveClass): No longer native. Now does nothing.
1448 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1450 2005-04-21 Anthony Green <green@redhat.com>
1453 * testsuite/libjava.special/special.exp,
1454 testsuite/libjava.special/pr21115I.java,
1455 testsuite/libjava.special/pr21115.java,
1456 testsuite/libjava.special/pr21115.out: New files.
1458 2005-04-21 Chris Burdess <dog@gnu.org>
1460 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1461 CRLF-delimited chunks.
1463 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1465 * java/net/URI.java:
1466 Added class documentation.
1467 (parseURI(String)): Only handle scheme-specific parts
1468 if URI is not opaque. Allow for parts that can't be null.
1469 (toString()): Output the scheme-specific part whole, rather
1470 than as its possibly non-existent components.
1472 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1474 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1475 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1476 Adjusted to match new regexp.
1478 2005-04-20 Michael Koch <konqueror@gmx.de>
1480 * gnu/java/net/protocol/file/Connection.java,
1481 gnu/java/net/protocol/jar/Connection.java:
1482 Reorganized import statements. Fixed @author tags.
1484 2005-04-20 Chris Burdess <dog@gnu.org>
1486 * java/io/DataOutputStream.java (writeUTF): Use block write for
1489 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1491 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1492 (readLine): Changed newline handling.
1494 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1496 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1497 ColorModel,byte[],int,int): Fixed byte to int conversion.
1499 2005-04-20 Michael Koch <konqueror@gmx.de>
1501 * java/io/FilePermission.java
1502 (serialVersionUID): Made private.
1503 (ALL_FILES): New constant.
1504 (implies): Handle '<<ALL FILES>>' case.
1506 2005-04-20 Sven de Marothy <sven@physto.se>
1508 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1509 (drawImage): Don't notify the image observer for offscreen images.
1510 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1511 (setPixels): Don't notify the image observer.
1513 2005-04-20 Sven de Marothy <sven@physto.se>
1515 * java/nio/ByteBufferImpl.java:
1516 (putChar): Inlined for speed.
1517 (put, get): Bulk methods can use arraycopy.
1518 * java/nio/CharBufferImpl.java:
1519 (put, get): Bulk methods can use arraycopy.
1521 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1523 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1525 * java/nio/CharBufferImpl.java
1526 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1527 (get(), put(char)): Inlined checks and field updates. Fixed to
1528 take array_offset into account.
1529 (get(int), put(int, char)): Fixed to take array_offset into account.
1531 2005-04-20 Sven de Marothy <sven@physto.se>
1533 * java/text/SimpleDateFormat.java:
1534 (formatWithAttribute): Pad year before truncating digits.
1536 2005-04-20 Michael Koch <konqueror@gmx.de>
1538 * gnu/java/net/PlainDatagramSocketImpl.java:
1539 Merged copyright header.
1540 * gnu/java/net/PlainSocketImpl.java:
1541 Reorganized import statements. Fixed @author tags.
1543 2005-04-20 Michael Koch <konqueror@gmx.de>
1545 * gnu/java/lang/ClassHelper.java,
1546 gnu/java/lang/reflect/TypeSignature.java:
1549 2005-04-20 Michael Koch <konqueror@gmx.de>
1551 * gnu/java/beans/IntrospectionIncubator.java:
1552 Fixed HTML tags in javadocs.
1554 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1556 * gnu/java/beans/IntrospectionIncubator.java
1557 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1558 set(), is(), add() and remove() with properties or events.
1560 2005-04-20 Michael Koch <konqueror@gmx.de>
1562 * gnu/java/awt/image/XBMDecoder.java:
1563 Fixed modifier order.
1565 2005-04-20 Roman Kennke <roman@kennke.org>
1567 * javax/swing/plaf/basic/BasicButtonUI.java
1568 (paint): This should not care about margin and insets
1569 at the same time, as insets already include the margin
1571 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1572 (getPreferredButtonSize): Likewise.
1573 * javax/swing/plaf/metal/MetalBorders.java
1574 (getBorderInsets): Likewise.
1576 2005-04-20 Roman Kennke <roman@kennke.org>
1578 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1579 (createMessageArea): The JPanel that holds the message area
1580 doesn't need to override getPreferredSize. This prevents some
1581 message components from rendering nicely.
1583 2005-04-20 Roman Kennke <roman@kennke.org>
1585 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1586 (createUI): Do not share instances between components.
1587 * javax/swing/plaf/metal/MetalSliderUI.java
1588 (createUI): Do not share instances between components.
1590 2005-04-20 Roman Kennke <roman@kennke.org>
1592 * javax/swing/plaf/metal/MetalBorders:
1593 (PopupMenuBorder): Added.
1594 * javax/swing/plaf/metal/MetalLookAndFeel
1595 (initComponentDefaults): Added PopupMenuBorder.
1597 2005-04-20 Roman Kennke <roman@kennke.org>
1599 * javax/swing/tree/DefaultTreeSelectionModel.java:
1600 Added API documentation all over the class.
1602 2005-04-20 Roman Kennke <roman@kennke.org>
1604 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1605 (installDefaults): Link managed JScrollPane in instance field.
1606 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1608 2005-04-20 Roman Kennke <roman@kennke.org>
1610 * javax/swing/plaf/basic/BasicScrollBarUI.java
1611 (PropertyChangeHandler.propertyChange): Add default
1612 to switch statement to avoid errors with unusual values
1614 (installComponents): Likewise.
1616 2005-04-20 Roman Kennke <roman@kennke.org>
1618 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1619 (createUI): Instances cannot be shared among JScrollPanes.
1621 2005-04-20 Roman Kennke <roman@kennke.org>
1623 * javax/swing/plaf/metal/MetalLookAndFeel.java
1624 (initComponentDefaults): Added defaults for Menu, MenuBar
1627 2005-04-20 Roman Kennke <roman@kennke.org>
1629 * javax/swing/plaf/basic/BasicScrollBarUI.java
1630 (installUI): Install listeners after everything all, otherwise
1631 we get strange NPEs in some situations, especially with
1633 (createIncreaseButton): Orientation is expected to be
1634 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1635 HORIZONTAL or VERTICAL.
1636 (createDecreaseButton): Orientation is expected to be
1637 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1638 HORIZONTAL or VERTICAL.
1639 (installComponents): Orientation for buttons is expected to be
1640 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1641 HORIZONTAL or VERTICAL.
1643 2005-04-20 Roman Kennke <roman@kennke.org>
1645 * javax/swing/JToolBar.java
1646 (addImpl): Adjust added AbstractButtons to look and feel like
1648 * javax/swing/plaf/metal/MetalBorders.java:
1649 Adjusted insets of ButtonBorder.
1650 (RolloverMarginBorder): Added class for toolbar buttons.
1651 (getButtonBorder): Adjusted factory method to return a shared
1652 instance of button border.
1653 (getToolbarButtonBorder): Added factory method to return a shared
1654 instance of toolbar button border.
1655 (getMarginBorder): Added factory method to return a shared
1656 instance of margin border.
1657 * javax/swing/plaf/metal/MetalButtonUI.java
1658 (installDefauls): If button is child of a JToolBar then set
1659 special border on this button.
1661 2005-04-20 Michael Koch <konqueror@gmx.de>
1663 * java/net/URLConnection.java
1664 (getContent): Fixed javadoc comment.
1666 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1668 * java/net/URL.java:
1669 (toURI()): Implemented.
1671 2005-04-19 Michael Koch <konqueror@gmx.de>
1673 * java/net/InetAddress.java
1674 (InetAddress): Fixed javadoc comment.
1676 (lookup): Added javadoc.
1677 (getFamily): Likewise.
1678 * java/net/ServerSocket.java
1679 (getChannel): Improved javadoc comment.
1681 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1683 * gnu/xml/dom/html2/DomHTMLParser.java:
1684 Changed 'enum' references to become 'enumeration'.
1686 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1688 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1690 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1692 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1693 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1694 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1695 (validateParameters(TagElement,htmlAttributeSet)):
1696 Replaced 'enum' with 'enumeration'.
1697 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1700 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1702 * javax/swing/text/html/parser/Entity.java (getType): New method.
1703 * javax/swing/text/html/parser/DocumentParser.java:
1704 Inherit from javax.swing.text.html.parser.Parser.
1706 2005-04-19 Chris Burdess <dog@gnu.org>
1708 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1709 check for HTML/XHTML namespace.
1711 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1713 * javax/swing/text/html/parser/Parser.java,
1714 javax/swing/text/html/parser/Entity.java:
1715 Inheriting from DTDConstants.
1716 * javax/swing/text/html/parser/AttributeList.java
1717 (getValues): Changed return type.
1718 * javax/swing/text/html/parser/DocumentParser
1719 (parse): Adding the callback parameter that receives
1722 2005-04-19 Chris Burdess <dog@gnu.org>
1724 * gnu/xml/dom/DomImpl.java,
1725 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1726 gnu/xml/dom/html2/DomHTMLDocument.java,
1727 gnu/xml/dom/html2/DomHTMLElement.java,
1728 gnu/xml/dom/html2/DomHTMLFormElement.java,
1729 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1730 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1731 gnu/xml/dom/html2/DomHTMLImpl.java,
1732 gnu/xml/dom/html2/DomHTMLInputElement.java,
1733 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1734 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1735 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1736 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1737 gnu/xml/dom/html2/DomHTMLTableElement.java,
1738 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1739 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1740 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1741 UI events, and tree utility functions.
1743 2005-04-19 Michael Koch <konqueror@gmx.de>
1745 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1746 gnu/javax/swing/text/html/parser/gnuDTD.java,
1747 gnu/javax/swing/text/html/parser/models/node.java:
1748 Reworked import statements.
1750 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1752 * javax/swing/text/html/HTMLDocument.java: New file.
1754 2005-04-19 Michael Koch <konqueror@gmx.de>
1756 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1758 * javax/swing/text/html/parser/AttributeList.java:
1759 Fixed order of modifiers.
1760 (AttributeList): Made final.
1761 * javax/swing/text/html/parser/ContentModel.java:
1762 Fixed html characters in javadocs.
1763 * javax/swing/text/html/parser/DTD.java
1764 (DTD): Don't implement java.io.Serializable directly.
1765 (getElement): Simplified.
1766 * javax/swing/text/html/parser/DTDConstants.java:
1768 * javax/swing/text/html/parser/Element.java:
1769 Fixed order of modifiers.
1770 * javax/swing/text/html/parser/Parser.java:
1771 Reformatted. Don't use fully-qualified class names.
1772 * javax/swing/text/html/parser/ParserDelegator.java:
1773 Fixed order of modifiers.
1774 * javax/swing/text/rtf/RTFParser.java:
1775 Re-ordered import statements.
1776 * javax/swing/text/rtf/RTFScanner.java:
1777 Removed unused import statement.
1779 2005-04-19 Chris Burdess <dog@gnu.org>
1781 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1782 gnu/xml/dom/html2/DomHTMLCollection.java,
1783 gnu/xml/dom/html2/DomHTMLDocument.java,
1784 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1786 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1787 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1788 gnu/xml/dom/html2/DomHTMLDivElement.java,
1789 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1790 gnu/xml/dom/html2/DomHTMLFontElement.java,
1791 gnu/xml/dom/html2/DomHTMLFormElement.java,
1792 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1793 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1794 gnu/xml/dom/html2/DomHTMLHRElement.java,
1795 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1796 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1797 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1798 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1799 gnu/xml/dom/html2/DomHTMLImageElement.java,
1800 gnu/xml/dom/html2/DomHTMLInputElement.java,
1801 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1802 gnu/xml/dom/html2/DomHTMLLIElement.java,
1803 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1804 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1805 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1806 gnu/xml/dom/html2/DomHTMLMapElement.java,
1807 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1808 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1809 gnu/xml/dom/html2/DomHTMLModElement.java,
1810 gnu/xml/dom/html2/DomHTMLOListElement.java,
1811 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1812 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1813 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1814 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1815 gnu/xml/dom/html2/DomHTMLParamElement.java,
1816 gnu/xml/dom/html2/DomHTMLPreElement.java,
1817 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1818 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1819 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1820 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1821 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1822 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1823 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1824 gnu/xml/dom/html2/DomHTMLTableElement.java,
1825 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1826 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1827 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1828 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1829 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1831 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1833 * javax/swing/text/ChangedCharSetException.java,
1834 javax/swing/text/html/HTMLEditorKit.java,
1835 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1836 javax/swing/text/html/parser/AttributeList.java,
1837 javax/swing/text/html/parser/ContentModel.java,
1838 javax/swing/text/html/parser/DocumentParser.java,
1839 javax/swing/text/html/parser/DTD.java,
1840 javax/swing/text/html/parser/DTDConstants.java,
1841 javax/swing/text/html/parser/Element.java,
1842 javax/swing/text/html/parser/Entity.java,
1843 javax/swing/text/html/parser/Parser.java,
1844 javax/swing/text/html/parser/TagElement.java,
1845 gnu/javax/swing/text/html/package.html,
1846 gnu/javax/swing/text/html/parser/gnuDTD.java,
1847 gnu/javax/swing/text/html/parser/HTML_401F.java,
1848 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1849 gnu/javax/swing/text/html/parser/htmlValidator.java,
1850 gnu/javax/swing/text/html/parser/package.html,
1851 gnu/javax/swing/text/html/parser/models/list.java,
1852 gnu/javax/swing/text/html/parser/models/node.java,
1853 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1854 gnu/javax/swing/text/html/parser/models/package.html,
1855 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1856 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1857 gnu/javax/swing/text/html/parser/models/transformer.java,
1858 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1859 gnu/javax/swing/text/html/parser/support/package.html,
1860 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1861 gnu/javax/swing/text/html/parser/support/Parser.java,
1862 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1863 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1864 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1865 gnu/javax/swing/text/html/parser/support/low/Location.java,
1866 gnu/javax/swing/text/html/parser/support/low/node.java,
1867 gnu/javax/swing/text/html/parser/support/low/package.html,
1868 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1869 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1870 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1871 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1873 * javax/swing/text/html/HTML.java,
1874 javax/swing/text/html/parser/ParserDelegator.java:
1875 New files (replacing).
1876 * javax/swing/text/html/package.html,
1877 javax/swing/text/html/parser/package.html: Documenting the
1880 2005-04-19 Chris Burdess <dog@gnu.org>
1882 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1883 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1884 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1885 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1886 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1887 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1888 gnu/xml/dom/html2/DomHTMLBRElement.java,
1889 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1890 gnu/xml/dom/html2/DomHTMLCollection.java,
1891 gnu/xml/dom/html2/DomHTMLDocument.java,
1892 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1894 2005-04-19 Michael Koch <konqueror@gmx.de>
1896 * Makefile.am: Added new files.
1897 * Makefile.in: Regenerated.
1899 2005-04-19 Roman Kennke <roman@kennke.org>
1901 * javax/swing/text/JTextComponent.java
1902 (JTextComponent): Added repaintListener which issues repaint
1903 requests when the underlying document changes.
1904 (setDocument): Adds repaintListener to document when the
1905 document is changed.
1906 * javax/swing/text/DefaultEditorKit.java:
1907 Removed repaint calls on JTextComponent. This is now handled
1908 through a DocumentListener in JTextComponent that repaints
1909 the component when needed.
1911 2005-04-19 Roman Kennke <roman@kennke.org>
1914 * javax/swing/text/StyleContext.java
1915 (NamedStyle.setResolveParent): Added null
1918 2005-04-19 Michael Koch <konqueror@gmx.de>
1920 * java/rmi/server/RemoteObject.java:
1921 Removed unused import statement.
1923 2005-04-19 Michael Koch <konqueror@gmx.de>
1925 * java/net/URL.java: Formatting cleanups.
1927 2005-04-19 Michael Koch <konqueror@gmx.de>
1929 * java/awt/FontMetrics.java: Reformatted.
1930 (getFontRenderContext): Handle case when java.awt.Graphics context is
1933 2005-04-19 Michael Koch <konqueror@gmx.de>
1935 * java/awt/FontMetrics.java
1936 (getStringBounds): New methods.
1939 2005-04-19 Michael Koch <konqueror@gmx.de>
1941 * gnu/java/security/x509/X509Certificate.java
1942 (parse): Handle val == null case.
1944 2005-04-19 Roman Kennke <roman@kennke.org>
1946 * javax/swing/plaf/metal/MetalLookAndFeel.java
1947 (initComponentDefaults): Added defaults for Menu, MenuBar
1950 2005-04-19 Roman Kennke <roman@kennke.org>
1952 * javax/swing/plaf/metal/MetalLookAndFeel.java
1953 (initComponentDefaults): Added Label.font.
1954 (initSystemColorDefaults): Added this method and adjusted the
1955 general control color.
1957 2005-04-19 Roman Kennke <roman@kennke.org>
1959 * javax/swing/plaf/metal/MetalBorders.java:
1961 * javax/swing/plaf/metal/MetalButtonUI.java:
1962 (installDefaults): Install button font.
1963 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1964 (initComponentDefaults): Added button border, font and margin.
1965 Changed components background color to the Metal current themes
1968 2005-04-19 Roman Kennke <roman@kennke.org>
1970 * javax/swing/plaf/metal/MetalLookAndFeel.java
1971 (initComponentDefaults): Added to set Metal specific component
1974 2005-04-19 Mark Wielaard <mark@klomp.org>
1976 * javax/swing/plaf/metal/MetalLookAndFeel.java
1977 (initClassDefaults): Call super.initClassDefaults().
1979 2005-04-19 Roman Kennke <roman@kennke.org>
1981 * javax/swing/plaf/metal/MetalLookAndFeel.java
1982 (initClassDefaults): Added to include the *UI classes.
1984 2005-04-19 Roman Kennke <roman@kennke.org>
1986 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1988 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1990 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1992 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1994 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1996 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1998 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2000 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2002 * javax/swing/plaf/metal/MetalSliderUI.java:
2004 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2006 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2008 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2010 2005-04-19 Roman Kennke <roman@kennke.org>
2012 * javax/swing/plaf/metal/MetalButtonUI.java:
2013 Added skeleton class.
2014 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2015 Added skeleton class.
2016 * javax/swing/plaf/metal/MetalLabelUI.java:
2017 Added skeleton class.
2018 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2019 Added skeleton class.
2020 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2021 Added skeleton class.
2022 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2023 Added skeleton class.
2025 2005-04-19 Roman Kennke <roman@kennke.org>
2027 * javax/swing/UIDefaults.java:
2028 Added API documentation for all methods.
2030 2005-04-19 Roman Kennke <roman@kennke.org>
2032 * javax/swing/UIDefaults.java
2033 (put): Now uses new checkAndPut method instead of checking
2035 (putDefaults): Fixed so that it accepts null-values and
2036 treats them like remove(key).
2037 (checkAndPut): Added. This checks for null-values and calls
2040 2005-04-19 Michael Koch <konqueror@gmx.de>
2042 * Makefile.am: Added new files.
2043 * Makefile.in: Regenerated.
2045 2005-04-19 Mark Wielaard <mark@klomp.org>
2047 * java/lang/natRuntime.cc (insertSystemProperties): Set
2048 java.class.path to CLASSPATH only when not empty. Fall back to
2049 default path "." when java.class.path is empty.
2051 2005-04-19 Michael Koch <konqueror@gmx.de>
2053 * javax/swing/text/rtf/ControlWordToken.java,
2054 javax/swing/text/rtf/RTFEditorKit.java,
2055 javax/swing/text/rtf/RTFParseException.java,
2056 javax/swing/text/rtf/RTFParser.java,
2057 javax/swing/text/rtf/RTFScanner.java,
2058 javax/swing/text/rtf/TextToken.java,
2059 javax/swing/text/rtf/Token.java: New files.
2060 * Makefile.am: Added new files.
2061 * Makefile.in: Regenerated.
2063 2005-04-19 Michael Koch <konqueror@gmx.de>
2065 * java/awt/geom/QuadCurve2D.java:
2066 Fixed Brian Gough's name for real.
2068 2005-04-19 Roman Kennke <roman@kennke.org>
2070 * javax/swing/UIManager.java:
2071 Make the UIManager respect the swing.defaultlaf system
2074 2005-04-19 Tom Tromey <tromey@redhat.com>
2076 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2079 2005-04-19 Roman Kennke <roman@kennke.org>
2081 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2082 Fixed tabs to spaces.
2084 2005-04-19 Roman Kennke <roman@kennke.org>
2086 * javax/swing/plaf/basic/BasicMenuUI.java
2087 (getMaximumSize): Now returns preferredSize because JMenu should
2088 never be bigger than that.
2089 * javax/swing/JRootPane
2090 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2092 2005-04-19 Roman Kennke <roman@kennke.org>
2094 * javax/swing/JRootPane.java:
2095 Fixed various tabs to be spaces.
2096 (RootLayout.layoutContainer): Made menubar left aligned.
2098 2005-04-19 Roman Kennke <roman@ontographics.com>
2100 * javax/swing/JList.java
2101 (getPreferredScrollableViewportSize):
2102 The previous implementation was merely guessing the size,
2103 now it respects layoutOrientation, visibleRowCount
2105 (getScrollableTracksViewportHeight):
2106 Reimplemented so that layoutOrientation, visibleRowCount
2107 and preferred size are respected.
2108 (getScrollableTracksViewportWidth):
2109 Reimplemented so that layoutOrientation, visibleRowCount
2110 and preferred size are respected.
2111 * javax/swing/plaf/basic/BasicListUI.java
2113 Improved calculation of preferredSize when JList is
2114 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2116 The previous implementation assumed a layoutOrientation of
2117 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2118 JList.VERTICAL_WRAP.
2120 2005-04-19 Roman Kennke <roman@ontographics.com>
2122 * javax/swing/plaf/basic/BasicListUI.java
2123 (paintCell): use CellRendererPane for painting the cells.
2125 2005-04-19 Roman Kennke <roman@ontographics.com>
2127 * javax/swing/plaf/basic/BasicListUI:
2128 fixed modifiers of several fields, methods and inner
2129 classes to match the 'spec'.
2130 (getMaximumSize): removed. It's not in the spec and the
2131 implementations was superfluous.
2133 2005-04-19 Roman Kennke <roman@ontographics.com>
2135 * javax/swing/plaf/basic/BasicListUI:
2136 make BasicListUI capable of wrapping lists
2137 (layoutOrientation property of javax.swing.JList)
2139 2005-04-19 Roman Kennke <roman@ontographics.com>
2141 * javax/swing/plaf/basic/BasicListUI
2142 (updateLayoutState,paint): make BasicListUI aware of the
2143 width of the rendered JList.
2145 2005-04-19 Roman Kennke <roman@kennke.org>
2147 * javax/swing/ImageIcon.java
2148 Added API documentation.
2150 2005-04-19 Roman Kennke <roman@kennke.org>
2152 * javax/swing/text/ImageIcon.java
2153 (ImageIcon): Use setImage instead of direct assignment.
2154 (setImage): Call loadImage to make sure that the image is loaded.
2155 (loadImage): Waits for the image to complete loading.
2156 (getImageLoadStatus): Added. Returns the load status of the
2159 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2161 * javax/swing/JTextArea.java (replaceRange):
2162 Fixing doc.remove(start, length) misinterpretation.
2164 2005-04-19 Roman Kennke <roman@ontographics.com>
2166 * javax/swing/CellRendererPane.java:
2167 implemented all methods of this class.
2168 reformatted all wrong formatted code.
2170 2005-04-19 Roman Kennke <roman@kennke.org>
2172 * javax/swing/BoxLayout.java:
2173 (layoutContainer): Made this layout manager respect the
2174 minimum, maximum and preferred size more correctly.
2176 2005-04-19 Roman Kennke <roman@ontographics.com>
2178 * javax/swing/BoxLayout.java:
2179 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2180 layoutContainer): Make these methods and thereby the
2181 BoxLayout respect the insets (like borders) of the
2182 component that is laid out.
2184 2005-04-19 Roman Kennke <roman@kennke.org>
2186 * javax/swing/JComponent.java:
2187 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2188 Untabified the file.
2190 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2192 * javax/swing/JComboBox.java (constructors): selecting the
2193 first item if the box was constructed from the provided
2194 non - empty array or vector.
2196 2005-04-19 Michael Koch <konqueror@gmx.de>
2198 * gnu/java/awt/peer/gtk/GdkGraphics.java
2199 (getClipBounds): Handle clip being null.
2200 (setClip): Likewise.
2201 * java/beans/beancontext/BeanContextSupport.java
2205 (removeAll): Likewise.
2206 (retainAll): Likewise.
2208 2005-04-19 Michael Koch <konqueror@gmx.de>
2210 * java/beans/beancontext/BeanContextServicesSupport.java
2211 (BeanContextServicesSupport): Reimplemented.
2212 (addBeanContextServicesListener): Implemented.
2213 (initialize): Likewise.
2214 (removeBeanContextServicesListener): Likewise.
2215 * java/beans/beancontext/BeanContextSupport.java
2217 (addBeanContextMembershipListener): Likewise.
2218 (getLocale): Likewise.
2219 (initialize): Likewise.
2220 (iterator): Likewise.
2222 (toArray): Likewise.
2224 2005-04-19 Roman Kennke <roman@kennke.org>
2226 * java/awt/MediaTracker.java:
2227 Reindented tabs to spaces.
2229 2005-04-19 Roman Kennke <roman@kennke.org>
2231 * java/awt/MediaTracker.java
2232 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2233 confused the media tracker and lead to lockups. The LOADING
2234 bit is handled on other places.
2235 (addImage): Removed the 'start image tracking' stuff. This
2236 is not necessary and could confuse the media tracker.
2237 (checkAll): Improved the check for image status so that
2238 images that already complete images are detected. Also now
2239 are really all images checked and if necessary loaded. Before
2240 the method bailed out after the first incomplete image.
2241 (statusAll): Detect images that are complete after the
2242 call to Component.prepareImage(..).
2243 (checkID): The same as in checkAll.
2244 (statusID): The same as in statusAll.
2246 2005-04-19 Roman Kennke <roman@kennke.org>
2248 * java/awt/MediaTracker.java
2249 (addImage): Synchronized list access.
2250 (waitForAll): Fixed comparison of time (changed < to >).
2251 (waitForID): Fixed comparison of time (changed < to >).
2252 (removeImage): Synchronized list access.
2254 2005-04-19 Roman Kennke <roman@kennke.org>
2256 * java/awt/MediaTracker.java
2257 Added API documentation.
2259 2005-04-19 Roman Kennke <roman@kennke.org>
2261 * java/awt/MediaTracker.java
2262 (MediaEntry.imageUpdate): Fixed flags. The different flags
2263 must not be ORed together.
2264 (checkAll): Modified to handle different meaning of the flags.
2265 (waitForAll): Fixed so that it waits maximum the
2266 specified amount of milliseconds.
2267 (statusAll): Modified to handle different meaning of the flags.
2268 (waitForID): Fixed so that it waits maximum the
2269 specified amount of milliseconds.
2271 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2273 * java/awt/Font.java (decode): Handle null argument and allow
2276 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2278 * java/beans/EventHandler.java: Reworked documentation.
2279 (invoke): Fixed behavior to match spec.
2281 2005-04-19 Michael Koch <konqueror@gmx.de>
2283 * java/awt/print/PrinterJob.java
2284 (pageDialog): New method.
2285 (printDialog): Implemented.
2287 2005-04-19 Michael Koch <konqueror@gmx.de>
2289 * java/awt/image/ConvolveOp.java:
2290 Removed comment added by eclipse.
2292 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2294 * java/awt/image/IndexColorModel.java
2295 (getRGB): Check if pixel is negative.
2297 2005-04-19 Michael Koch <konqueror@gmx.de>
2299 * java/awt/image/RasterOp.java:
2300 Fixed wrong formatting.
2302 2005-04-18 Roman Kennke <roman@kennke.org>
2304 * java/awt/Compmonent.java
2305 (setComponentOrientation): Made this property firing a
2306 PropertyChangeEvent.
2308 2005-04-18 Roman Kennke <roman@kennke.org>
2310 * java/awt/BorderLayout.java
2311 (calcSize): Check for overflow when component sizes are added.
2313 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2315 * java/awt/AWTEvent.java (toString): Added case
2316 for source not being an AWT component.
2318 2005-04-18 Chris Burdess <dog@gnu.org>
2320 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2322 2005-04-18 Michael Koch <konqueror@gmx.de>
2324 gnu/java/awt/EmbeddedWindowSupport.java,
2325 gnu/java/net/HeaderFieldHelper.java,
2326 gnu/java/net/URLParseError.java,
2327 gnu/java/net/protocol/file/Handler.java,
2328 gnu/java/net/protocol/jar/Handler.java:
2329 Fixed usage of @author tag.
2331 2005-04-18 Michael Koch <konqueror@gmx.de>
2333 * gnu/xml/aelfred2/XmlParser.java:
2334 Reverted my typo fix.
2336 2005-04-18 Michael Koch <konqueror@gmx.de>
2338 * java/awt/geom/CubicCurve2D.java,
2339 java/awt/geom/QuadCurve2D.java:
2340 Fixed mentioning of Brian Gouph.
2342 2005-04-18 Michael Koch <konqueror@gmx.de>
2344 * gnu/java/awt/Buffers.java,
2345 gnu/java/awt/image/ImageDecoder.java,
2346 gnu/java/awt/image/XBMDecoder.java,
2347 gnu/java/awt/peer/ClasspathFontPeer.java,
2348 gnu/java/net/CRLFInputStream.java,
2349 gnu/java/net/EmptyX509TrustManager.java,
2350 gnu/java/net/LineInputStream.java,
2351 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2352 gnu/java/net/protocol/ftp/BlockInputStream.java,
2353 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2354 gnu/java/net/protocol/ftp/DTP.java,
2355 gnu/java/net/protocol/ftp/DTPInputStream.java,
2356 gnu/java/net/protocol/ftp/FTPConnection.java,
2357 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2358 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2359 gnu/java/net/protocol/ftp/StreamInputStream.java,
2360 gnu/java/net/protocol/http/ChunkedInputStream.java,
2361 gnu/java/net/protocol/http/HTTPConnection.java,
2362 gnu/java/net/protocol/http/HTTPURLConnection.java,
2363 gnu/java/net/protocol/http/Headers.java,
2364 gnu/java/net/protocol/http/Request.java,
2365 gnu/java/nio/ChannelInputStream.java,
2366 gnu/java/nio/ChannelOutputStream.java,
2367 gnu/java/nio/InputStreamChannel.java,
2368 gnu/java/nio/OutputStreamChannel.java,
2369 gnu/java/nio/SelectorProviderImpl.java,
2370 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2371 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2372 gnu/java/rmi/dgc/DGCImpl.java,
2373 gnu/java/rmi/registry/RegistryImpl.java,
2374 gnu/java/rmi/server/ProtocolConstants.java,
2375 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2376 gnu/java/rmi/server/RMIIncomingThread.java,
2377 gnu/java/rmi/server/RMIObjectInputStream.java,
2378 gnu/java/rmi/server/RMIObjectOutputStream.java,
2379 gnu/java/rmi/server/RMIVoidValue.java,
2380 gnu/java/rmi/server/UnicastConnectionManager.java,
2381 gnu/java/rmi/server/UnicastRef.java,
2382 gnu/java/rmi/server/UnicastRemoteCall.java,
2383 gnu/java/rmi/server/UnicastRemoteStub.java,
2384 gnu/java/rmi/server/UnicastServerRef.java,
2385 gnu/java/security/OID.java,
2386 gnu/java/security/der/DERReader.java,
2387 gnu/java/security/provider/CollectionCertStoreImpl.java,
2388 gnu/java/security/provider/DSAParameterGenerator.java,
2389 gnu/java/security/provider/DefaultPolicy.java,
2390 gnu/java/security/provider/EncodedKeyFactory.java,
2391 gnu/java/security/provider/GnuDHPublicKey.java,
2392 gnu/java/security/provider/GnuDSAPrivateKey.java,
2393 gnu/java/security/provider/GnuDSAPublicKey.java,
2394 gnu/java/security/provider/GnuRSAPrivateKey.java,
2395 gnu/java/security/provider/GnuRSAPublicKey.java,
2396 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2397 gnu/java/security/provider/RSA.java,
2398 gnu/java/security/provider/SHA1PRNG.java,
2399 gnu/java/security/provider/SHA1withRSA.java,
2400 gnu/java/security/provider/X509CertificateFactory.java,
2401 gnu/java/security/x509/GnuPKIExtension.java,
2402 gnu/java/security/x509/X500DistinguishedName.java,
2403 gnu/java/security/x509/X509CRL.java,
2404 gnu/java/security/x509/X509CRLEntry.java,
2405 gnu/java/security/x509/X509CertPath.java,
2406 gnu/java/security/x509/X509CertSelectorImpl.java,
2407 gnu/java/security/x509/X509Certificate.java,
2408 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2409 gnu/java/security/x509/ext/BasicConstraints.java,
2410 gnu/java/security/x509/ext/CRLNumber.java,
2411 gnu/java/security/x509/ext/CertificatePolicies.java,
2412 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2413 gnu/java/security/x509/ext/Extension.java,
2414 gnu/java/security/x509/ext/GeneralNames.java,
2415 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2416 gnu/java/security/x509/ext/KeyUsage.java,
2417 gnu/java/security/x509/ext/PolicyConstraint.java,
2418 gnu/java/security/x509/ext/PolicyMappings.java,
2419 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2420 gnu/java/security/x509/ext/ReasonCode.java,
2421 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2422 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2423 Reorganized import statements.
2425 2005-04-18 Michael Koch <konqueror@gmx.de>
2427 * gnu/java/awt/color/CieXyzConverter.java,
2428 gnu/java/awt/color/ClutProfileConverter.java,
2429 gnu/java/awt/color/ColorLookUpTable.java,
2430 gnu/java/awt/color/ColorSpaceConverter.java,
2431 gnu/java/awt/color/GrayProfileConverter.java,
2432 gnu/java/awt/color/GrayScaleConverter.java,
2433 gnu/java/awt/color/LinearRGBConverter.java,
2434 gnu/java/awt/color/ProfileHeader.java,
2435 gnu/java/awt/color/PyccConverter.java,
2436 gnu/java/awt/color/RgbProfileConverter.java,
2437 gnu/java/awt/color/SrgbConverter.java,
2438 gnu/java/awt/color/TagEntry.java,
2439 gnu/java/awt/color/ToneReproductionCurve.java:
2440 Standardized file headers.
2442 2005-04-16 Tom Tromey <tromey@redhat.com>
2444 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2445 'ANY' package-private.
2447 2005-04-15 Tom Tromey <tromey@redhat.com>
2449 * Makefile.in: Rebuilt.
2450 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2451 (libgcj0_convenience_la_LIBADD): ... here.
2453 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2455 * gij.cc (version): Properly quote java version.
2456 (main): Fix typo in comment.
2458 2005-04-13 Mark Wielaard <mark@klomp.org>
2460 * java/lang/natRuntime.cc (insertSystemProperties): Set
2461 java.class.path to CLASSPATH if not already set.
2463 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2465 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2467 2005-04-12 Mike Stump <mrs@apple.com>
2469 * configure: Regenerate.
2471 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2474 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2475 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2477 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2480 * scripts/TexinfoDoclet.java: Removed.
2481 * Makefile.am (texinfo): Removed.
2482 * Makefile.in: Regenerated.
2484 2005-04-11 Michael Koch <konqueror@gmx.de>
2486 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2487 Fixed wrong casting.
2489 2005-04-06 Andrew Haley <aph@redhat.com>
2491 * testsuite/libjava.lang/bytearray.java: New file.
2492 * testsuite/libjava.lang/bytearray.out: New file.
2493 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2494 (loadClass): Use it.
2495 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2497 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2499 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2500 gcj-dbtool dependency
2501 * Makefile.in: Regenerated
2503 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2505 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2506 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2508 2005-04-05 Andrew Haley <aph@redhat.com>
2510 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2511 (Tokenizer): New class.
2512 (getFiles): New method.
2513 (main): Add "-" argument.
2515 Read list of files from stdin when merging map databases.
2516 (usage): Add "-" argument.
2520 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2523 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2524 * Makefile.in: Regenerate.
2525 * configure.ac: Add --with-java-home option.
2526 * configure: Regenerate.
2527 * external/Makefile.in: Regenerate.
2528 * external/sax/Makefile.in: Regenerate.
2529 * external/w3c_dom/Makefile.in: Regenerate.
2530 * gcj/Makefile.in: Regenerate.
2531 * include/Makefile.in: Regenerate.
2532 * testsuite/Makefile.in: Regenerate.
2533 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2536 2005-04-05 Tom Tromey <tromey@redhat.com>
2538 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2539 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2540 Rewrote to use _Jv_FindClassFromSignature.
2541 * verify.cc (resolve): throw NoClassDefFoundError.
2542 * link.cc (resolve_field): Throw NoClassDefFoundError.
2543 (find_field): Likewise.
2544 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2545 Handle error cases. Added 'endp' argument.
2546 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2548 2005-04-05 Tom Tromey <tromey@redhat.com>
2550 * Makefile.in: Rebuilt.
2551 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2552 gtk_awt_peer_sources.
2553 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2554 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2555 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2556 (gtk-awt-peer.lo): New target.
2558 2005-04-04 Steve Pribyl <steve@netfuel.com>
2561 * configure.ac: Fix fastjar definition for cross builds.
2562 * configure: Rebuilt.
2564 2005-04-04 Tom Tromey <tromey@redhat.com>
2566 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2567 it was already found.
2569 2005-04-04 Tom Tromey <tromey@redhat.com>
2571 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2572 org.metastatic.jessie.
2574 2005-04-02 Anthony Green <green@redhat.com>
2577 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2579 2005-04-02 Mark Wielaard <mark@klomp.org>
2581 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2582 Attributes and attribute order doesn't matter.
2583 (BasicAttributesEnumeration.where): Initialize to zero.
2584 (BasicAttributesEnumeration.nextElement): Update and compare where
2585 appropriately (zero based).
2587 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2589 PR libgcj/20090, PR libgcj/20526
2590 * gij.cc (nonstandard_opts_help): New function.
2591 (add_option): New function.
2592 (main): Support java options. Set java.class.path. Don't set
2594 * prims.cc (parse_x_arg): New function.
2595 (parse_init_args): Call parse_x_arg for -X and _ options, when
2596 ignoreUnrecognized is true.
2597 (new _Jv_RunMain): New vm_args variant.
2598 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2599 (_Jv_Jar_Class_Path): Remove variable.
2600 * include/java-props.h: Likewise.
2601 * include/cni.h (JvRealloc): New function.
2602 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2603 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2604 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2606 * configure.ac (JV_VERSION): Define.
2607 (JV_API_VERSION): Likewise.
2608 * configure: Regenerate.
2609 * include/config.h.in: Regenerate.
2611 2005-04-01 Mark Anderson <mark@panonet.net>
2613 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2614 -Infinity as parameters.
2616 2005-04-01 Michael Koch <konqueror@gmx.de>
2618 * java/io/PipedInputStream.java
2619 (read): Make sure a positive byte value is returned. Revised javadoc.
2620 Thanks to Olafur Bragason for reporting these bugs.
2622 2005-04-01 Tom Tromey <tromey@redhat.com>
2624 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2625 Updated for name change.
2626 (nativeFindClass): New method.
2627 (loadClass): Use nativeFindClass.
2628 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2630 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2631 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2633 (initialize): New method.
2634 (nativeFindClass): Declare.
2635 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2636 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2637 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2639 (definePackageForNative): Removed.
2640 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2641 Moved to VMClassLoader.java.
2642 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2643 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2644 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2645 removed VMClassLoader.java.
2646 (nat_source_files): Removed natVMClassLoader.cc.
2648 2005-04-01 Tom Tromey <tromey@redhat.com>
2650 * Makefile.in: Rebuilt.
2651 * Makefile.am (db_pathtail): Use $(gcc_version), not
2654 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2656 * java/util/Timer.java
2657 (run): Stop the queue if a task throws an exception.
2659 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2661 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2663 2005-03-29 Ian Lance Taylor <ian@airs.com>
2665 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2666 * external/sax/Makefile.in: Rebuild.
2667 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2669 * external/w3c_dom/Makefile.in: Rebuild.
2671 2005-03-29 Tom Tromey <tromey@redhat.com>
2673 * java/lang/natRuntime.cc (insertSystemProperties): Set
2674 gnu.gcj.runtime.endorsed.dirs.
2675 * Makefile.in: Rebuilt.
2676 * Makefile.am (ordinary_java_source_files): Added
2677 HelperClassLoader.java.
2678 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2679 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2681 (init): Use addDirectoriesFromProperty.
2682 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2683 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2684 gnu.gcj.runtime.endorsed.dirs.
2685 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2687 2005-03-26 Chris Burdess <dog@gnu.org>
2689 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2692 2005-03-13 Michael Koch <konqueror@gmx.de>
2694 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2696 2005-03-11 Chris Burdess <dog@gnu.org>
2698 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2701 2005-02-27 Chris Burdess <dog@gnu.org>
2703 * gnu/xml/aelfred2/JAXPFactory.java,
2704 gnu/xml/aelfred2/SAXDriver.java,
2705 gnu/xml/aelfred2/XmlParser.java,
2706 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2707 formatting conventions. Replaced arrays of Object with struct-like
2708 classes for easier maintainability. Made SAXDriver.stringInterning
2709 package private to allow access from XmlParser inside the loop without
2710 a method call overhead.
2712 2005-03-11 Chris Burdess <dog@gnu.org>
2714 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2717 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2719 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2720 settings to sub Makefiles.
2721 (GCJH, ZIP): Prefix with top_builddir.
2722 * configure: Rebuild.
2723 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2724 * external/w3c_dom/Makefile.in: Rebuild.
2725 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2726 * external/sax/Makefile.in: Rebuild.
2728 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2730 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2731 libsocket to the libraries to link for Solaris.
2733 2005-03-28 Per Bothner <per@bothner.com>
2735 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2736 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2738 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2740 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2741 to fix a ONESTEP fallout.
2742 * Makefile.in: Regenerate.
2744 2005-03-25 Mike Stump <mrs@apple.com>
2746 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2747 paths like we do for the compiler, as we use it in external/sax
2748 and it doesn't get MULTIBUILDTOP right when multilibing.
2750 2005-03-24 Anthony Green <green@redhat.com>
2752 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2754 (usage): Add [LIBDIR] to help output.
2755 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2756 * Makefile.am (AM_CXXFLAGS): Define
2757 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2758 (db_pathtail): New macro.
2760 2005-03-24 Tom Tromey <tromey@redhat.com>
2762 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2763 add sax and w3c libraries.
2764 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2766 * external/w3c_dom/Makefile.in: Rebuilt.
2767 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2769 (libw3c_gcj_la_LDFLAGS): New variable.
2770 (noinst_LTLIBRARIES): Renamed.
2771 * external/sax/Makefile.in: Rebuilt.
2772 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2774 (libsax_gcj_la_LDFLAGS): New variable.
2775 (noinst_LTLIBRARIES): Renamed.
2777 2005-03-23 Tom Tromey <tromey@redhat.com>
2779 * Makefile.in: Rebuilt.
2780 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2781 (libgcj0_convenience_la_SOURCES): Don't include
2782 gnu_xml_source_files.
2783 (libgcj0_convenience_la_LIBADD): New variable.
2784 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2785 (all_java_source_files): javax_imageio_source_files,
2786 javax_xml_source_files, and gnu_java_beans_source_files.
2787 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2788 (gnu-xml.lo): New target.
2789 (javax-imageio.lo): Likewise.
2790 (javax-xml.lo): Likewise.
2791 (gnu-java-beans.lo): Likewise.
2792 (gnu_java_beans_source_files): New variable.
2793 (javax_imageio_source_files): Likewise.
2794 (javax_xml_source_files): Likewise.
2795 (javax_source_files): Moved files to other variable.
2796 (awt_java_source_files): Likewise.
2797 (ordinary_java_source_files): Added BootClassLoader.java.
2798 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2799 not system class loader.
2800 (initBootLoader): New method.
2801 (loadClass): Search bootLoader.
2802 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2803 boot loader, not system class loader.
2804 (_Jv_UnregisterInitiatingLoader): Likewise.
2805 (_Jv_FindClass): Likewise. Ensure entries in
2806 bootstrap_class_list are unique.
2807 * java/lang/natClass.cc (getClassLoader): Don't special case
2808 system class loader.
2809 * java/lang/VMClassLoader.java (bootLoader): New field.
2810 (getResource): Use bootLoader.
2811 (getResources): Likewise.
2812 (initBootLoader): Declare.
2813 * gnu/gcj/runtime/BootClassLoader.java: New file.
2814 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2815 (EMPTY_ENUMERATION): Now package-private.
2816 * external/w3c_com/Makefile.in: Rebuilt.
2817 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2818 (w3c.jar): New target.
2819 (classes.stamp): Updated.
2820 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2821 Changed name of library.
2822 (libw3c_gcj_la_SOURCES): New variable.
2823 (libw3c_gcj_la_GCJFLAGS): Likewise.
2824 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2825 * external/sax/Makefile.in: Rebuilt.
2826 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2827 (sax.jar): New target.
2828 (classes.stamp): Updated.
2829 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2830 Changed name of library.
2831 (libsax_gcj_la_SOURCES): New variable.
2832 (libsax_gcj_la_GCJFLAGS): Likewise.
2833 (source_files): Renamed from libsax_convenience_la_SOURCES.
2834 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2836 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2838 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2840 2005-03-23 Sven de Marothy <sven@physto.se>
2842 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2844 * java/util/Calendar.java
2845 (set): Use starting day of week when one is needed if none is given.
2846 * java/text/SimpleDateFormat.java
2847 (parse): Handle 1-12 and 1-24 timestamps correctly.
2848 * java/util/GregorianCalendar.java
2849 (computeTime, computeFields): HOUR should be in 0-11 format.
2850 (nonLeniencyCheck): Adjust leniency checking to that fact.
2851 (getLinearDay): Should be private.
2853 2005-03-23 Tom Tromey <tromey@redhat.com>
2855 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2856 (_Jv_CheckABIVersion): Use it.
2858 2005-03-22 Mike Stump <mrs@apple.com>
2860 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2862 * include/posix.h: .dylib is used on all Apple MACH platforms.
2863 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2865 2005-03-22 Tom Tromey <tromey@redhat.com>
2867 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2869 2005-03-21 Tom Tromey <tromey@redhat.com>
2871 * java/lang/VMCompiler.java (static block): Also catch
2872 BufferUnderflowException.
2874 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2876 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2877 set tool_include_dir. In all substitutions, leave $(gcc_version)
2878 to be expanded by the Makefile.
2879 * aclocal.m4, configure: Regenerate.
2880 * Makefile.am: Set gcc_version. Replace all uses of
2881 @gcc_version@ with $(gcc_version).
2882 * external/Makefile.am, external/sax/Makefile.am
2883 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2884 * testsuite/Makefile.am: Set gcc_version.
2885 * include/Makefile.am: Set gcc_version and tool_include_dir.
2886 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2887 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2888 * testsuite/Makefile.in: Regenerate.
2890 2005-03-17 Andrew Haley <aph@redhat.com>
2892 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2894 Pass klass to _Jv_StackTrace::GetClassContext().
2895 * java/lang/ClassLoader.java (getParent): Pass class to
2896 VMSecurityManager.getClassContext()
2897 (getSystemClassLoader): Likewise.
2898 * java/lang/Package.java (getPackage): Likewise.
2899 (getPackages): Likewise.
2900 * java/lang/SecurityManager.java (getClassContext): Likewise.
2901 (currentClassLoader): Likewise.
2902 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2903 (currentClassLoader) Add new arg: caller.
2904 Pass caller to VMSecurityManager.getClassContext.
2906 * stacktrace.cc (GetClassContext): Correct calculation of
2909 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2910 im->source_file_name.
2912 2005-03-16 Andrew Haley <aph@redhat.com>
2914 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2916 2005-03-16 Tom Tromey <tromey@redhat.com>
2918 * link.cc (ensure_class_linked): Removed #ifdef.
2919 (print_class_loaded): Likewise.
2920 (wait_for_state): Likewise.
2921 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2922 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2923 * include/java-interp.h: ... here.
2925 2005-03-16 Tom Tromey <tromey@redhat.com>
2927 * gnu/java/lang/MainThread.java (run): Load main class using
2928 system class loader.
2930 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2932 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2933 lgcc_s to the libraries to link for Darwin.
2935 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2937 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2938 interpreter-specific code with #ifdef INTERPRETER.
2939 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2940 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2941 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2942 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2943 #ifdef INTERPRETER. Also protect declarations that use it.
2944 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2945 #ifdef INTERPRETER block.
2947 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2950 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2951 * Makefile.in: Rebuilt.
2953 2005-03-15 David Daney <ddaney@avtrex.com>
2955 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2958 2005-03-15 David Daney <ddaney@avtrex.com>
2960 * java/io/BufferedInputStream.java (available): Use 'in' instead
2961 of 'super' for underlying stream access.
2963 (read(byte[], int, int)): Ditto.
2965 (skip): Call skip on underlying stream when possible.
2967 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2969 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2970 SJLJ_EXCEPTIONS is defined.
2972 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2974 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2977 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2979 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2981 (libjava_arguments): Likewise.
2983 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2984 (gcj_jni_test_one): Likewise.
2985 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2986 Add flags to keep the Darwin linker quiet.
2987 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2988 Add -liconv for Darwin.
2990 2005-03-11 Tom Tromey <tromey@redhat.com>
2992 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2993 (_Jv_CheckABIVersion): Use it.
2995 2005-03-11 Tom Tromey <tromey@redhat.com>
2997 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2998 (usage): Document '-p'.
2999 * Makefile.in: Rebuilt.
3000 * Makefile.am (dbexecdir): New variable.
3001 (db_name): Likewise.
3002 (dbexec_DATA): Likewise.
3003 ($(db_name)): New target.
3004 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3005 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3008 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3010 * exception.cc: Remove stray MethodRef.h include.
3011 * java/lang/natClass.cc: Likewise.
3012 * gnu/gcj/runtime/MethodRef.java: Removed.
3013 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3014 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3015 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3016 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3017 * Makefile.in: Rebuilt.
3019 2005-03-10 Tom Tromey <tromey@redhat.com>
3021 * Makefile.in: Rebuilt.
3022 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3024 2005-03-10 Chris Burdess <dog@bluezoo.org>
3026 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3027 not currently parsing the DTD.
3029 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3031 New Stack Trace infrastructure.
3032 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3033 (gnu/gcj/runtime/StackTrace.java): Removed.
3034 (ordinary_java_source_files): Remove obsolete files.
3035 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3036 * configure.host (fallback_backtrace_h): Set backtrace header
3037 for mingw and cygwin targets.
3038 * configure.ac: Make symlink for fallback backtrace headers.
3039 * Makefile.in, configure: Rebuilt.
3040 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3041 Read 'LineNumberTable' attribute.
3042 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3044 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3046 * exception.cc: Remove unused include.
3047 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3048 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3049 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3050 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3051 table to direct threaded instruction values.
3052 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3053 (_Jv_InterpMethod::run): No longer member function. All
3054 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3055 is made or where an instruction could throw.
3056 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3058 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3059 (catch_fpe): Likewise.
3060 * stacktrace.cc: New file. Stack trace code now here.
3061 * gnu/gcj/runtime/MethodRef.java:
3062 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3063 calls addr2line to look up PC addresses in a given binary or shared
3065 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3066 gnu/gcj/runtime/natStackTrace.cc: Removed.
3067 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3068 this function name is specially recognised by the stack trace code
3069 and shouldn't be changed.
3070 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3071 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3072 (_Jv_InterpMethod::run): Update declaration.
3073 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3075 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3076 * include/java-stack.h: New file. Declarations for stack tracing.
3077 * include/jvm.h (_Jv_Frame_info): Removed.
3078 * java/lang/Class.h: Update friend declarations.
3079 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3081 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3082 (getStackTrace): Now native.
3083 (data): New RawDataManaged field.
3084 * java/lang/natClass.cc: Update includes.
3085 (forName): Use _Jv_StackTrace::GetCallingClass for
3086 calling-classloader check.
3087 (getClassLoader): Likewise.
3088 * java/lang/natRuntime.cc: Update includes.
3089 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3090 * java/lang/natVMSecurityManager.cc: Update includes.
3091 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3092 * java/lang/natVMThrowable.cc: New file. Native methods for
3094 * java/lang/reflect/natArray.cc: Update includes.
3095 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3096 accessibility check.
3097 * java/lang/reflect/natConstructor.cc: Update includes.
3098 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3099 accessibility check.
3100 * java/lang/reflect/natField.cc: Update includes.
3101 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3102 accessibility check.
3103 * java/lang/reflect/natMethod.cc: Update includes.
3104 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3105 accessibility check.
3106 * java/util/natResourceBundle.cc: Update includes.
3107 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3108 * java/util/logging/natLogger.cc: Update includes. Use
3109 _Jv_StackTrace::GetCallerInfo to get call-site info.
3110 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3112 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3115 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3117 * testsuite/libjava.compile/PR20312.java: New file.
3118 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3119 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3121 2005-03-09 Andrew Haley <aph@redhat.com>
3123 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3125 (smallTransferTo): New.
3126 (transferFrom): Loop around smallTransferFrom, copying pageSize
3128 (transferTo): Likewise.
3130 2005-03-09 David Daney <ddaney@avtrex.com>
3133 Merge BufferedInputStream from GNU Classpath.
3134 * java/io/BufferedInputStream.java (marktarget): Field removed.
3135 (CHUNKSIZE): Field removed.
3136 (bufferSize): New field.
3137 (BufferedInputStream): Initialize fields.
3138 (close): Invalidate mark and buffer indexes.
3140 (read()): Move mark handling code to refill.
3141 (read(byte[], int, int)): Ditto.
3142 (skip): Ditto and simplify EOF testing.
3143 (refill): Rewritten.
3144 * java/io/InputStreamReader.java (refill): Removed mark and reset
3145 of internal BufferedInputStream.
3147 2005-03-09 Tom Tromey <tromey@redhat.com>
3149 * java/lang/natVMClassLoader.cc (defineClass): Reference
3150 'systemClassLoader' field directly.
3151 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3153 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3154 Reference 'systemClassLoader' field directly.
3155 (_Jv_UnregisterInitiatingLoader): Likewise.
3156 (_Jv_FindClass): Likewise.
3158 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3160 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3162 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3163 the file in GNU Classpath style.
3165 2005-03-09 Tom Tromey <tromey@redhat.com>
3167 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3168 (toString): Synchronize.
3170 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3172 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3173 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3175 2005-03-07 Tom Tromey <tromey@redhat.com>
3177 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3178 (usage): Document '-f'.
3180 2005-03-07 Tom Tromey <tromey@redhat.com>
3182 * java/lang/VMCompiler.java (md5Digest): New field.
3183 (compileClass): Clone md5Digest instead of looking up a new one.
3185 2005-03-07 Tom Tromey <tromey@redhat.com>
3188 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3189 * link.cc (find_field_helper): Added 'type' argument.
3190 (find_field): Updated.
3192 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3193 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3194 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3195 throw UnsupportedOperationException, fixed comments.
3196 (setFont, setForeground): Fixed comments.
3197 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3198 return type to boolean.
3199 (getNextEvent): Fixed javadocs.
3200 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3201 (nativeQueueEmpty): Removed unused code.
3202 (iterateNativeQueue): Removed outer loop.
3204 2005-03-06 Roger Sayle <roger@eyesopen.com>
3207 * Makefile.am (libgcj0_convenience.la): Revert last change.
3208 * Makefile.in: Regenerate.
3210 2005-03-05 Anthony Green <green@redhat.com>
3212 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3213 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3214 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3215 (_Jv_GetDrawingSurface): Set visualID.
3216 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3217 (JAWT_GetAWT): Set Lock and Unlock.
3218 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3220 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3221 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3222 JAWT_LOCK_SURFACE_CHANGED): New macros.
3223 (struct _JAWT): Add Lock and Unlock.
3225 2005-03-05 Roger Sayle <roger@eyesopen.com>
3226 Alexandre Oliva <aoliva@redhat.com>
3227 Kelley Cook <kcook@gcc.gnu.org>
3230 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3231 of the object files to link to avoid exceeding the command line
3232 length limits on some platforms.
3233 (clean-local): Clean up objectlist files.
3234 * Makefile.in: Regenerate.
3236 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3238 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3239 spec_case. Initialize pointer mlo.
3241 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3244 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3246 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3249 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3250 uninitialized variable z.
3252 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3253 possible unused variables.
3255 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3257 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3259 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3262 * testsuite/libjava.jni/jni.exp
3263 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3265 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3267 2005-02-23 David Daney <ddaney@avtrex.com>
3269 * configure.host: Don't use -mxgot for MIPS builds.
3271 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3274 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3275 (COMPPATH): Removed.
3276 (ZIP, GCJH): Replace it with ../$(host_subdir).
3277 (built_gcc_dir): Add $(host_subdir).
3278 * configure: Regenerate.
3279 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3280 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3281 external/w3c_dom/Makefile.in: Regenerate.
3283 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3285 * java/awt/font/TextAttribute.java: changed names to lower case;
3286 (readResolve): implemented.
3287 Added doc comments all over.
3289 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3292 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3293 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3294 value. Move argument parsing code to prims.cc.
3295 * prims.cc (no_properties): Remove.
3296 (_Jv_Compiler_Properties): Initialize to NULL.
3297 (_Jv_Properties_Count): Initialize to 0.
3298 (parse_verbose_args): New function.
3299 (parse_init_args): New function.
3300 (_Jv_CreateJavaVM): Call parse_init_args.
3301 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3302 * gcj/cni.h (JvVMOption): New struct.
3303 (JvVMInitArgs): Likewise.
3304 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3306 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3307 (_Jv_VMInitArgs): Likewise.
3308 * include/java-props.h (_Jv_Properties_Count): Declare.
3309 * java/lang/natRuntime.cc (insertSystemProperties): Use
3310 _Jv_Properties_Count in for loop exit condition.
3311 * testsuite/libjava.jni/jni.exp
3312 (gcj_invocation_compile_c_to_binary): New procedure.
3313 (gcj_invocation_test_one): Likewise.
3314 (gcj_jni_run): Run JNI invocation API tests.
3315 * testsuite/libjava.jni/invocation/PR16923.c,
3316 testsuite/libjava.jni/invocation/PR16923.java,
3317 testsuite/libjava.jni/invocation/PR16923.out: New test.
3319 2005-02-23 Michael Koch <konqueror@gmx.de>
3321 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3322 * Makefile.in: Regenerated.
3324 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3326 * gnu/java/nio/ChannelReader: Fixed comments.
3328 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3330 * java/nio/channels/Channels: Added FIXMEs about
3331 stub method implementation.
3332 (newReader): Implemented.
3333 * gnu/java/nio/ChannelReader: New class.
3335 2005-02-23 Michael Koch <konqueror@gmx.de>
3337 * java/text/SimpleDateFormat.java:
3338 Removed unused import.
3340 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3343 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3344 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3345 * Makefile.in: Regenerate.
3346 * configure.ac: Check for libXtst.
3347 * configure: Regenerate.
3349 2005-02-22 Mark Wielaard <address@bogus.example.com>
3351 * java/security/AlgorithmParameterGenerator.java (getInstance):
3352 Mention provider when throwing NoSuchProviderException.
3353 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3354 * java/security/KeyFactory.java (getInstance): Likewise.
3355 * java/security/KeyStore.java (getInstance): Likewise.
3356 * java/security/SecureRandom.java (getInstance): Likewise.
3357 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3359 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3361 * java/lang/reflect/Proxy.java,
3363 java/security/SecureRandom.java,
3364 java/util/Timer.java,
3365 java/util/prefs/AbstractPreferences.java:
3366 Don't catch java.lang.ThreadDeath.
3368 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3370 * java/awt/font/TransformAttribute.java,
3371 (TransformAttribute(AffineTransform)): throw
3372 IllegalArgumentException for null transform.
3373 (getTransform): return a copy of transform.
3374 Added doc comments to all.
3376 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3378 * java/io/Externalizable.java,
3379 java/io/Serializable.java
3380 (serialVersionUID): Removed.
3381 * java/rmi/server/RemoteObject.java,
3382 java/rmi/server/UID.java
3383 (serialVersionUID): Made private.
3384 * java/rmi/server/RemoteRef.java,
3385 java/rmi/server/ServerRef.java
3386 (serialVersionUID): Set proper value.
3387 * java/security/interfaces/DSAPrivateKey.java,
3388 java/security/interfaces/DSAPublicKey.java,
3389 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3390 java/security/interfaces/RSAPrivateCrtKey.java,
3391 java/security/interfaces/RSAPrivateKey.java,
3392 java/security/interfaces/RSAPublicKey.java,
3393 javax/crypto/SecretKey.java
3394 (serialVersionUID): Added.
3396 2005-02-22 Tom Tromey <tromey@redhat.com>
3398 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3400 2005-02-22 Tom Tromey <tromey@redhat.com>
3403 * verify.cc (type::EITHER): New constant.
3404 (check_field_constant): Use it.
3405 (type::compatible): Handle it.
3407 2005-02-22 Michael Koch <konqueror@gmx.de>
3409 * gnu/java/security/PolicyFile.java,
3410 gnu/java/security/pkcs/PKCS7SignedData.java,
3411 gnu/java/security/pkcs/SignerInfo.java:
3412 Fixed copyright header.
3414 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3416 * java/beans/PropertyDescriptor.java
3417 (PropertyDescriptor,setReadMethod): Set propertyType.
3419 2005-02-22 Michael Koch <konqueror@gmx.de>
3421 * java/nio/DirectByteBufferImpl.java
3422 (owner): Fixed formatting of javadoc.
3423 * java/text/DateFormat.java
3424 (getAvailableLocales): Fixed formatting.
3425 * java/text/SimpleDateFormat.java:
3426 Fixed formatting and import statement order.
3427 * java/util/Calendar.java
3428 (Calendar): Fixed javadoc to be HTML compliant.
3429 * java/util/SimpleTimeZone.java:
3432 2005-02-22 Roman Kennke <roman@ontographics.com>
3434 * javax/swing/plaf/basic/BasicLookAndFeel.java
3435 (initComponentDefaults): Fixed Button left and right margin.
3437 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3439 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3443 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3444 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3445 (getWidth): New method.
3446 (getHeight): Likewise.
3447 (create): Remove width, height and insets parameters. Move size
3449 (realize_cb): ... here. New function.
3450 (connectSignals): Connect realize_cb.
3451 (request_frame_extents): Remove FIXME. Move
3452 postInsetsChangedEvent lookup ...
3453 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3454 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3455 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3457 (windowGetWidthID): Likewise.
3458 (windowGetHeightID): Likewise.
3460 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3464 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3466 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3468 Merge serialization from GNU Classpath.
3469 * gcj/method.h: Add missing #includes.
3470 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3471 primitive class IDs on the stream here...
3472 (resolveClass): ...not here.
3473 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3475 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3476 setLongNative, setIntNative, setShortNative, setCharNative,
3477 setByteNative, setBooleanNative, setObjectNative): New native methods.
3478 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3479 setLongNative, setIntNative, setShortNative, setCharNative,
3480 setByteNative, setBooleanNative, setObjectNative): Implement them.
3481 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3482 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3483 the constructor here.
3484 (callConstructor): Removed.
3485 (getCallersClassLoader): Removed.
3486 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3487 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3488 to control whether setting final field values is permitted. Call
3489 getAddr() with checkFinal parameter instead of setAddr().
3490 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3491 only if not done already.
3492 (getAddr): Add checkFinal parameter. Do the final field check only if
3496 2005-02-21 Mark Wielaard <mark@klomp.org>
3499 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3502 2005-02-21 Mark Wielaard <mark@klomp.org>
3505 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3506 without a super class and us ObjectStreamClass.lookupForClassObject().
3507 (resolveClass): Check for primitive types.
3508 (lookupClass): Return null when argument is null.
3510 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3512 * java/io/ObjectInputStream.java
3513 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3515 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3517 * java/io/ObjectOutputStream.java
3518 (writeObject, callWriteMethod): Replaced reflection with accessing
3519 cached info in ObjectStreamClass.
3520 (getMethod): Removed.
3521 * java/io/ObjectStreamClass.java
3522 (findMethod): Added check to make sure the method found has the
3524 (cacheMethods): Added writeReplace and writeObject methods.
3525 (setFlags): Look at new writeObjectMethod field instead of doing
3527 (writeReplaceMethod): New field.
3528 (writeObjectMethod): New field.
3530 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3531 Jeroen Frijters <jeroen@frijters.net>
3533 * java/io/ObjectInputStream.java
3534 (newObject): Changed prototype. Get a constructor reflect object
3536 (callConstructor): Removed.
3537 (allocateObject): Changed prototype.
3538 (readClassDescriptor): Build the constructor reflection directly.
3539 (readObject): Invoke newObject using the new prototype.
3541 * java/io/ObjectStreamClass.java
3542 (firstNonSerializableParent): Removed.
3543 (firstNonSerializableParentConstructor): Added.
3545 2005-02-21 Mark Wielaard <mark@klomp.org>
3547 * gnu/java/locale/LocaleInformation_en.java: Extend
3548 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3550 2005-02-21 Mark Wielaard <mark@klomp.org>
3552 * java/text/SimpleDateFormat.java
3553 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3554 NullPointerException when formatData is null.
3556 2005-02-21 Mark Wielaard <mark@klomp.org>
3558 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3559 taking dstSavings into account.
3561 2005-02-21 Sven de Marothy <sven@physto.se>
3563 * java/text/SimpleDateFormat.java,
3564 (parse): Set correct DST_OFFSET to the correct value.
3566 2005-02-21 Mark Wielaard <mark@klomp.org>
3568 * java/util/SimpleTimeZone.java (checkRule): Throw
3569 IllegalArgumentException when month out of range.
3571 2005-02-21 Sven de Marothy <sven@physto.se>
3573 * java/util/GregorianCalendar.java,
3574 (add): Don't set fields directly anymore. Use set()
3576 2005-02-21 Mark Wielaard <mark@klomp.org>
3578 * java/text/SimpleDateFormat.java (CompiledField.toString):
3579 Use StringBuffer, not StringBuilder.
3580 (toString): Likewise.
3582 2005-02-21 Sven de Marothy <sven@physto.se>
3584 * java/util/Calendar.java
3585 (clear): Dates should clear to local time.
3586 * java/util/GregorianCalendar.java
3587 (computeTime): Fix priority problem with DAY_OF_WEEK,
3588 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3590 2005-02-21 Sven de Marothy <sven@physto.se>
3592 * java/util/Calendar.java
3593 (Calendar): Constructor should clear fields.
3595 2005-02-21 Sven de Marothy <sven@physto.se>
3597 * java/text/SimpleDateFormat.java
3598 (parse): Tweak handling of 2-year dates
3599 * java/util/Calendar.java
3600 (clear): Clear fields to correct value.
3601 * java/util/GregorianCalendar.java
3602 (computeTime): Correct handling of time zones.
3603 Correct field minimum values.
3605 2005-02-21 Sven de Marothy <sven@physto.se>
3607 * java/util/Calendar.java
3608 (set) Invalidate all fields on first call to set().
3610 2005-02-21 Sven de Marothy <sven@physto.se>
3612 * java/util/GregorianCalendar.java
3613 (computeTime): Fixed handling of time zones.
3615 2005-02-21 Sven de Marothy <sven@physto.se>
3617 * java/util/Calendar.java
3618 (clear): Set values to Epoch instead of zero.
3619 (set): Set isSet to the relevant field pattern instead of just
3621 * java/util/GregorianCalendar.java
3622 (getBundle): Removed.
3623 (getDayOfYear): Removed.
3624 (getFirstDayOfMonth): New private method.
3625 (nonLeniencyCheck): New private method.
3626 (computeTime): Correct handling of insufficient data.
3628 2005-02-21 Sven de Marothy <sven@physto.se>
3630 * java/util/Calendar.java: Invalidate ERA field on setting
3632 * java/util/SimpleTimeZone.java:
3633 (getDaysInMonth): Reimplemented.
3634 * java/util/GregorianCalendar.java:
3635 (getLinearTime): Removed.
3636 (isLeapYear(int,boolean)): Removed.
3637 (before(), after()): Removed.
3638 (computeTime): Reimplemented.
3640 2005-02-21 Sven de Marothy <sven@physto.se>
3642 * java/util/Calendar.java: Reformatted.
3643 * java/util/GregorianCalendar.java: Reformatted.
3644 * java/util/SimpleTimeZone.java: Reformatted.
3646 2005-02-21 Sven de Marothy <sven@physto.se>
3648 * java/util/GregorianCalendar.java
3649 (GregorianCalendar): Update fields in the constructor
3651 2005-02-21 Noa Resare <noa@resare.com>
3653 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3654 (set(int,int)): Set and use new field.
3655 (set(int,int,int)): Check new field.
3657 2005-02-21 Noa Resare <address@hidden>
3659 * java/util/Calendar.java(set):
3660 Fix for DST related regression.
3662 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3664 * java/util/Calendar.java
3665 (setTimeInMillis): Added call to clear, removed computeFields call.
3666 * java/util/Date.java
3667 (Date(int,int,int,int,int,int)): Removed workaround for
3668 GregorianCalendar bug.
3669 * java/util/GregorianCalendar.java
3670 (GregorianCalendar): Chained all constructors to a (new)
3672 (computeTime): Fixed support for lenient month treatment.
3673 (getLinearDay): Return long instead of int.
3674 (calculateDay): Added fields argument and changed day argument
3677 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3679 * java/text/SimpleDateFormat.java
3680 Lots of documentation updates.
3681 (readObject(java.io.ObjectInputStream)): Wraps
3682 IllegalArgumentException as specified.
3683 (compileFormat(String)): Uses standardChars
3684 rather than the local pattern characters.
3685 Throws IllegalArgumentException rather than
3687 (toString()): Extended to include all variables
3689 (translateLocalizedPattern(String, String, String)):
3690 Renamed to better define the use of this method.
3692 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3694 * java/text/DateFormat.java:
3695 Documented pattern character offset constants and
3697 (Field): Added new static fields for new pattern chars.
3698 * java/text/SimpleDateFormat.java:
3699 (CompiledField): Changed name of FieldSizePair class
3700 to CompiledField after adding the character as an
3701 attribute. Changed fields to private and added
3702 accessors to give encapsulation.
3703 (CompiledField.CompiledField(int,int,char)): Extended
3704 with character field.
3705 (CompiledField.getField()): New accessor method.
3706 (CompiledField.getSize()): New acceessor method.
3707 (CompiledField.getCharacter()): New accessor method.
3708 (CompiledField.toString()): Added primarily for debugging.
3709 (standardChars): Now uses extended 24 character sequence.
3710 (compileFormat(String)): Changed to use CompiledField.
3711 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3712 java.text.FieldPosition)): Changed to use CompiledField.
3713 New handler for RFC 822 timezones added.
3715 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3717 * java/text/SimpleDateFormat.java:
3718 (parse(String, java.text.ParsePosition)):
3719 Changed 'E' and 'M' cases to use both
3720 short and long names. Extended 'z'
3721 case to also handle 'Z', and deal
3722 with simple GMT offsets such as +0100.
3723 (computeOffset(String)): New private method,
3724 which converts a GMT offset specification,
3725 such as GMT-0500 to a numeric offset in
3727 * java/util/TimeZone.java:
3728 (timezones()): Added "CEST", the daylight
3729 savings time version of "CET", or Central
3732 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3734 * java/text/SimpleDateFormat.java:
3735 (parse): Set the DST offset to 0 when parsing
3736 GMT offset timezones.
3738 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3740 * java/text/SimpleDateFormat.java:
3741 (parse): Use offset to set ZONE_OFFSET
3742 rather than the DST_OFFSET, so that
3743 GMT offset timezones change the right
3746 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3748 * java/text/SimpleDateFormat.java:
3749 (getDateFormatSymbols()): return a copy
3750 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3751 throw exception on null input
3752 (clone()): implemented to clone
3755 2005-02-21 Sven de Marothy <sven@physto.se>
3757 * java/text/SimpleDateFormat.java
3758 (parse): comparison should be case-insensitive, ignore null
3761 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3763 * gnu/java/beans/IntrospectionIncubator.java
3764 (addMethod) Reverts the patch that ntroduced a regression (see bug
3765 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3767 2005-02-21 Michael Koch <konqueror@gmx.de>
3769 * java/awt/Checkbox.java
3770 (next_checkbox_number): New static variable.
3771 (generateName): New method.
3772 (getUniqueLong): Likewise.
3773 * java/awt/Window.java
3774 (next_window_number): New static variable.
3775 (generateName): New method.
3776 (getUniqueLong): Likewise.
3778 2005-02-21 Mark Wielaard <mark@klomp.org>
3780 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3783 2005-02-21 Andrew Haley <aph@redhat.com>
3785 * Makefile.in: Rebuilt.
3786 * Makefile.am (nat_source_files): Added natLogger.cc.
3787 * java/util/logging/natLogger.cc: New file.
3788 * java/util/logging/Logger.java (getCallerStackFrame): Now
3791 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3793 * Makefile.am (all_property_files): Remove left over.
3794 (classes.stamp): Add stamp for the ONESTEP build, also known as
3795 --enable-libgcj-multifile.
3796 * Makefile.in: Regenerated.
3798 2005-02-21 Michael Koch <konqueror@gmx.de>
3800 * java/awt/Button.java,
3801 java/awt/Container.java,
3803 java/awt/Frame.java,
3804 java/text/CollationElementIterator.java,
3805 java/text/RuleBasedCollator.java,
3806 java/util/PropertyPermission.java:
3807 Fixed formatting issues all over.
3809 2005-02-21 Mark Wielaard <mark@klomp.org>
3811 * java/io/FileDescriptor.java (sync): Add real exception to
3812 SyncFailedException.
3814 2005-02-21 Michael Koch <konqueror@gmx.de>
3816 * java/io/InputStreamReader.java:
3819 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3822 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3824 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3826 * libraries/javalib/gnu/regexp/RE.java,
3827 libraries/javalib/java/io/ObjectInputStream.java,
3828 libraries/javalib/java/security/AllPermission.java,
3829 libraries/javalib/java/security/BasicPermission.java,
3830 libraries/javalib/java/security/Permissions.java,
3831 libraries/javalib/java/text/MessageFormat.java:
3832 Made 'inner' classes real public static inner classes,
3833 and made them final where possible, or removed them
3836 2005-02-20 Michael Koch <konqueror@gmx.de>
3838 * gnu/java/text/FormatCharacterIterator.java:
3839 Removed redundant modifiers.
3841 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3843 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3846 2005-02-19 Michael Koch <konqueror@gmx.de>
3848 * Makefile.am: Added new files in gnu/java/beans and
3849 java/beans/XMLDecoder.java.
3850 * Makefile.in: Regenerated.
3852 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3854 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3855 assignment behavior by using java.lang.reflect.Array.set()
3858 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3860 * gnu/java/beans/EmptyBeanInfo.java,
3861 gnu/java/beans/info/ComponentBeanInfo.java:
3862 Removed unused files.
3864 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3866 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3867 of AppletStub for java.beans.Beans.instantiate.
3868 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3870 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3871 to be conformant with Javadoc guidelines.
3872 (instantiate): Added two more overloaded variants, reworked user
3873 documentation, fixed exception behavior, fixed behavior when
3876 2005-02-19 Mark Wielaard <mark@klomp.org>
3878 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3880 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3882 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3884 * gnu/java/beans/decoder/AbstractContext.java,
3885 gnu/java/beans/decoder/AbstractCreatableContext.java,
3886 gnu/java/beans/decoder/AbstractElementHandler.java,
3887 gnu/java/beans/decoder/AbstractObjectContext.java,
3888 gnu/java/beans/decoder/ArrayContext.java,
3889 gnu/java/beans/decoder/ArrayHandler.java,
3890 gnu/java/beans/decoder/AssemblyException.java,
3891 gnu/java/beans/decoder/BooleanHandler.java,
3892 gnu/java/beans/decoder/ByteHandler.java,
3893 gnu/java/beans/decoder/CharHandler.java,
3894 gnu/java/beans/decoder/ClassHandler.java,
3895 gnu/java/beans/decoder/ConstructorContext.java,
3896 gnu/java/beans/decoder/Context.java,
3897 gnu/java/beans/decoder/DecoderContext.java,
3898 gnu/java/beans/decoder/DefaultExceptionListener.java,
3899 gnu/java/beans/decoder/DoubleHandler.java,
3900 gnu/java/beans/decoder/DummyContext.java,
3901 gnu/java/beans/decoder/DummyHandler.java,
3902 gnu/java/beans/decoder/ElementHandler.java,
3903 gnu/java/beans/decoder/FloatHandler.java,
3904 gnu/java/beans/decoder/GrowableArrayContext.java,
3905 gnu/java/beans/decoder/IndexContext.java,
3906 gnu/java/beans/decoder/IntHandler.java,
3907 gnu/java/beans/decoder/JavaHandler.java,
3908 gnu/java/beans/decoder/LongHandler.java,
3909 gnu/java/beans/decoder/MethodContext.java,
3910 gnu/java/beans/decoder/MethodFinder.java,
3911 gnu/java/beans/decoder/NullHandler.java,
3912 gnu/java/beans/decoder/ObjectContext.java,
3913 gnu/java/beans/decoder/ObjectHandler.java,
3914 gnu/java/beans/decoder/PersistenceParser.java,
3915 gnu/java/beans/decoder/PropertyContext.java,
3916 gnu/java/beans/decoder/ShortHandler.java,
3917 gnu/java/beans/decoder/SimpleHandler.java,
3918 gnu/java/beans/decoder/StaticMethodContext.java,
3919 gnu/java/beans/decoder/StringHandler.java,
3920 gnu/java/beans/decoder/VoidHandler.java: New class
3921 implementing java.beans.XMLDecoder decoding functionality.
3922 * java/beans/XMLDecoder.java: New class.
3924 2005-02-19 Michael Koch <konqueror@gmx.de>
3926 * javax/swing/JTextField.java
3927 (notfiyAction): Added javadoc.
3929 2005-02-19 Sven de Marothy <sven@physto.se>
3931 * javax/swing/SpinnerDateModel.java: Implemented.
3933 2005-02-19 Michael Koch <konqueror@gmx.de>
3935 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3936 * Makefile.in: Regenerated.
3938 2005-02-19 Michael Koch <konqueror@gmx.de>
3940 * gnu/java/nio/SelectorImpl.java:
3941 Reworked import statements.
3942 (register): Removed unused code.
3943 * java/nio/channels/Channels.java: Reformatted.
3944 * java/nio/charset/Charset.java: Likewise.
3945 * java/rmi/server/RemoteObject.java
3946 (serialVersionUID): Made private.
3947 * java/rmi/server/UID.java
3948 (serialVersionUID): Likewise.
3950 2005-02-19 Michael Koch <konqueror@gmx.de>
3952 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3953 gnu/java/net/protocol/ftp/BlockInputStream.java,
3954 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3955 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3956 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3957 gnu/java/net/protocol/ftp/DTPInputStream.java,
3958 gnu/java/net/protocol/ftp/DTP.java,
3959 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3960 gnu/java/net/protocol/ftp/FTPConnection.java,
3961 gnu/java/net/protocol/ftp/FTPException.java,
3962 gnu/java/net/protocol/ftp/FTPResponse.java,
3963 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3964 gnu/java/net/protocol/ftp/Handler.java,
3965 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3966 gnu/java/net/protocol/ftp/StreamInputStream.java,
3967 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3968 gnu/java/net/CRLFInputStream.java,
3969 gnu/java/net/CRLFOutputStream.java,
3970 gnu/java/net/GetLocalHostAction.java,
3971 gnu/java/net/protocol/ftp/package.html: New files.
3972 * Makefile.am: Added new files.
3973 * Makefile.in: Regenerated.
3975 2005-02-18 Tom Tromey <tromey@redhat.com>
3977 * link.cc (make_vtable): Remove abstract method check.
3978 (append_partial_itable): Likewise.
3981 * verify.cc (type::equals): Fixed test.
3982 * testsuite/libjava.lang/PR20056.out: New file.
3983 * testsuite/libjava.lang/PR20056.java: New file.
3985 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3987 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3988 not the HashEntry. Reported by Jean-Marie White.
3990 2005-02-18 Tom Tromey <tromey@redhat.com>
3993 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3994 * link.cc (has_field_p): New function.
3995 * verify.cc (check_field_constant): Added 'putfield' argument.
3996 (verify_instructions_0): Updated.
3997 (type::equals): New method.
3999 2005-02-18 Anthony Green <green@redhat.com>
4001 * NEWS: Draft of libgcj NEWS for 4.0.
4003 2005-02-18 Anthony Green <green@redhat.com>
4005 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4006 architecture names to "i386" for compatibility reasons. Win32
4009 2005-02-18 Anthony Green <green@redhat.com>
4011 * gij.cc (version): Change year for '--version' to 2005.
4012 * gnu/gcj/convert/Convert.java: Ditto.
4013 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4014 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4016 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4017 recent copyright year in `--version' output.
4019 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4021 * java/nio/charset/Charset.java (forName): Throws
4022 IllegalArgumentException when argument is null
4023 and added documentation.
4025 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4027 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4028 Move the position of the source buffer forward.
4030 2005-02-17 Tom Tromey <tromey@redhat.com>
4032 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4033 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4034 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4035 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4036 Changed type of second argument. Rewrote.
4037 (make_vtable): Use it.
4038 (append_partial_itable): Updated.
4039 (layout_vtable_methods): Updated.
4041 2005-02-17 Michael Koch <konqueror@gmx.de>
4043 * gnu/java/net/PlainSocketImpl.java
4044 (shutdownInput): Added javadoc.
4045 (shutdownOutput): Likewise.
4047 2005-02-17 Michael Koch <konqueror@gmx.de>
4049 * javax/print/attribute/standard/Chromaticity.java,
4050 javax/print/attribute/standard/Destination.java,
4051 javax/print/attribute/standard/MediaPrintableArea.java,
4052 javax/print/attribute/standard/MediaSize.java: New files.
4053 * Makefile.am: Added new files.
4054 * Makefile.in: Regenerated.
4056 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4057 Michael Koch <konqueror@gmx.de>
4059 * gnu/java/net/protocol/http/Cookie.java,
4060 gnu/java/net/protocol/http/HTTPConnection.java,
4061 gnu/java/net/protocol/http/HTTPDateFormat.java,
4062 gnu/java/net/protocol/http/Request.java,
4063 gnu/java/nio/PipeImpl.java,
4064 gnu/java/rmi/dgc/DGCImpl.java,
4065 gnu/java/rmi/server/ConnectionRunnerPool.java,
4066 gnu/java/rmi/server/UnicastConnectionManager.java,
4067 gnu/java/security/der/DERWriter.java,
4068 gnu/java/security/pkcs/SignerInfo.java,
4069 gnu/java/security/provider/EncodedKeyFactory.java,
4070 gnu/java/security/provider/GnuDHPublicKey.java,
4071 gnu/java/security/provider/GnuDSAPrivateKey.java,
4072 gnu/java/security/provider/GnuDSAPublicKey.java,
4073 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4074 gnu/java/security/x509/X500DistinguishedName.java,
4075 gnu/java/security/x509/X509CRL.java,
4076 gnu/java/security/x509/X509CRLEntry.java,
4077 gnu/java/security/x509/X509Certificate.java,
4078 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4079 gnu/java/security/x509/ext/CertificatePolicies.java,
4080 gnu/java/security/x509/ext/PolicyConstraint.java,
4081 gnu/xml/dom/Consumer.java,
4082 gnu/xml/dom/DomCharacterData.java,
4083 gnu/xml/dom/DomDocument.java,
4084 gnu/xml/dom/DomDocumentBuilder.java,
4085 gnu/xml/dom/DomIterator.java,
4086 gnu/xml/dom/DomNode.java,
4087 gnu/xml/dom/DomXPathExpression.java,
4088 gnu/xml/dom/DomXPathResult.java,
4089 gnu/xml/dom/JAXPFactory.java,
4090 gnu/xml/pipeline/CallFilter.java,
4091 gnu/xml/pipeline/DomConsumer.java,
4092 gnu/xml/pipeline/LinkFilter.java,
4093 gnu/xml/pipeline/NSFilter.java,
4094 gnu/xml/pipeline/TeeConsumer.java,
4095 gnu/xml/pipeline/ValidationConsumer.java,
4096 gnu/xml/pipeline/WellFormednessFilter.java,
4097 gnu/xml/pipeline/XIncludeFilter.java,
4098 gnu/xml/pipeline/XsltFilter.java,
4099 gnu/xml/transform/ApplyImportsNode.java,
4100 gnu/xml/transform/Bindings.java,
4101 gnu/xml/transform/DocumentFunction.java,
4102 gnu/xml/transform/FormatNumberFunction.java,
4103 gnu/xml/transform/NodeNumberNode.java,
4104 gnu/xml/transform/NumberNode.java,
4105 gnu/xml/transform/Stylesheet.java,
4106 gnu/xml/transform/SystemPropertyFunction.java,
4107 gnu/xml/transform/Template.java,
4108 gnu/xml/transform/TemplatesImpl.java,
4109 gnu/xml/transform/TransformerImpl.java,
4110 gnu/xml/transform/ValueOfNode.java,
4111 gnu/xml/transform/XSLURIResolver.java,
4112 gnu/xml/util/DoParse.java,
4113 gnu/xml/util/Resolver.java,
4114 gnu/xml/xpath/Expr.java,
4115 gnu/xml/xpath/FunctionCall.java,
4116 gnu/xml/xpath/RelationalExpr.java,
4117 gnu/xml/xpath/Selector.java,
4118 gnu/xml/xpath/XPathParser.java:
4119 Reworked import statements, fixed modifier order and some little
4122 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4124 * java/nio/ByteBufferImpl.java (compact):
4125 Set position and limit even if no bytes were moved.
4127 2005-02-17 Michael Koch <konqueror@gmx.de>
4129 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4130 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4131 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4132 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4133 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4134 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4135 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4136 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4137 * java/nio/FloatBufferImpl.java (compact): Set position.
4138 * java/nio/CharBufferImpl.java (compact): Likewise.
4139 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4140 * java/nio/IntBufferImpl.java (compact): Likewise.
4141 * java/nio/LongBufferImpl.java (compact): Likewise.
4142 * java/nio/ShortBufferImpl.java (compact): Likewise.
4144 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4146 * java/nio/ByteBufferImpl.java,
4147 java/nio/CharBufferImpl.java,
4148 java/nio/DirectByteBufferImpl.java,
4149 java/nio/DoubleBufferImpl.java,
4150 java/nio/FloatBufferImpl.java,
4151 java/nio/IntBufferImpl.java,
4152 java/nio/LongBufferImpl.java,
4153 java/nio/MappedByteBufferImpl.java,
4154 java/nio/ShortBufferImpl.java
4155 (compact): Added explicit read-only check and invalidate mark.
4157 2005-02-17 Michael Koch <konqueror@gmx.de>
4159 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4160 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4161 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4162 gnu/java/awt/peer/gtk/GdkGraphics.java,
4163 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4164 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4165 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4166 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4167 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4168 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4169 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4170 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4171 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4172 gnu/java/awt/peer/gtk/GtkClipboard.java,
4173 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4174 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4175 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4176 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4177 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4178 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4179 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4180 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4181 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4182 gnu/java/awt/peer/gtk/GtkToolkit.java,
4183 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4184 java/applet/Applet.java,
4185 java/awt/AWTError.java,
4186 java/awt/AWTEvent.java,
4187 java/awt/AWTEventMulticaster.java,
4188 java/awt/AWTException.java,
4189 java/awt/AWTKeyStroke.java,
4190 java/awt/AWTPermission.java,
4191 java/awt/ActiveEvent.java,
4192 java/awt/Adjustable.java,
4193 java/awt/AlphaComposite.java,
4194 java/awt/AttributeValue.java,
4195 java/awt/BorderLayout.java,
4196 java/awt/BufferCapabilities.java,
4197 java/awt/Button.java,
4198 java/awt/Canvas.java,
4199 java/awt/CheckboxGroup.java,
4200 java/awt/CheckboxMenuItem.java,
4201 java/awt/Color.java,
4202 java/awt/ColorPaintContext.java,
4203 java/awt/Component.java,
4204 java/awt/ComponentOrientation.java,
4205 java/awt/Composite.java,
4206 java/awt/CompositeContext.java,
4207 java/awt/Container.java,
4208 java/awt/ContainerOrderFocusTraversalPolicy.java,
4209 java/awt/DefaultFocusTraversalPolicy.java,
4210 java/awt/Dialog.java,
4211 java/awt/Dimension.java,
4212 java/awt/DisplayMode.java,
4213 java/awt/EventQueue.java,
4214 java/awt/FileDialog.java,
4215 java/awt/FontFormatException.java,
4216 java/awt/Graphics.java,
4217 java/awt/Graphics2D.java,
4218 java/awt/GraphicsConfigTemplate.java,
4219 java/awt/GraphicsConfiguration.java,
4220 java/awt/GraphicsDevice.java,
4221 java/awt/GridBagLayout.java,
4222 java/awt/GridBagLayoutInfo.java,
4223 java/awt/GridLayout.java,
4224 java/awt/HeadlessException.java,
4225 java/awt/IllegalComponentStateException.java,
4226 java/awt/Image.java,
4227 java/awt/Insets.java,
4228 java/awt/ItemSelectable.java,
4229 java/awt/JobAttributes.java,
4230 java/awt/KeyEventDispatcher.java,
4231 java/awt/KeyEventPostProcessor.java,
4232 java/awt/KeyboardFocusManager.java,
4233 java/awt/Label.java,
4234 java/awt/LayoutManager.java,
4235 java/awt/MenuBar.java,
4236 java/awt/MenuComponent.java,
4237 java/awt/MenuContainer.java,
4238 java/awt/PageAttributes.java,
4239 java/awt/Paint.java,
4240 java/awt/PaintContext.java,
4241 java/awt/Panel.java,
4242 java/awt/Point.java,
4243 java/awt/Polygon.java,
4244 java/awt/PrintGraphics.java,
4245 java/awt/PrintJob.java,
4246 java/awt/Rectangle.java,
4247 java/awt/RenderingHints.java,
4248 java/awt/Shape.java,
4249 java/awt/Stroke.java,
4250 java/awt/SystemColor.java,
4251 java/awt/Toolkit.java,
4252 java/awt/Transparency.java,
4253 java/awt/Window.java,
4254 java/awt/color/CMMException.java,
4255 java/awt/color/ColorSpace.java,
4256 java/awt/color/ICC_ColorSpace.java,
4257 java/awt/color/ICC_Profile.java,
4258 java/awt/color/ProfileDataException.java,
4259 java/awt/datatransfer/FlavorTable.java,
4260 java/awt/datatransfer/MimeTypeParseException.java,
4261 java/awt/datatransfer/Transferable.java,
4262 java/awt/datatransfer/UnsupportedFlavorException.java,
4263 java/awt/dnd/Autoscroll.java,
4264 java/awt/dnd/DnDConstants.java,
4265 java/awt/dnd/DragGestureListener.java,
4266 java/awt/dnd/DragSourceAdapter.java,
4267 java/awt/dnd/DragSourceDropEvent.java,
4268 java/awt/dnd/DragSourceListener.java,
4269 java/awt/dnd/DragSourceMotionListener.java,
4270 java/awt/dnd/DropTargetAdapter.java,
4271 java/awt/dnd/DropTargetContext.java,
4272 java/awt/dnd/DropTargetListener.java,
4273 java/awt/dnd/InvalidDnDOperationException.java,
4274 java/awt/dnd/MouseDragGestureRecognizer.java,
4275 java/awt/dnd/peer/DropTargetContextPeer.java,
4276 java/awt/event/AWTEventListener.java,
4277 java/awt/event/AWTEventListenerProxy.java,
4278 java/awt/event/ActionEvent.java,
4279 java/awt/event/AdjustmentEvent.java,
4280 java/awt/event/AdjustmentListener.java,
4281 java/awt/event/ComponentAdapter.java,
4282 java/awt/event/ComponentEvent.java,
4283 java/awt/event/ComponentListener.java,
4284 java/awt/event/ContainerAdapter.java,
4285 java/awt/event/ContainerEvent.java,
4286 java/awt/event/ContainerListener.java,
4287 java/awt/event/FocusAdapter.java,
4288 java/awt/event/FocusEvent.java,
4289 java/awt/event/FocusListener.java,
4290 java/awt/event/InputEvent.java,
4291 java/awt/event/InputMethodEvent.java,
4292 java/awt/event/InputMethodListener.java,
4293 java/awt/event/InvocationEvent.java,
4294 java/awt/event/ItemEvent.java,
4295 java/awt/event/ItemListener.java,
4296 java/awt/event/KeyAdapter.java,
4297 java/awt/event/KeyEvent.java,
4298 java/awt/event/KeyListener.java,
4299 java/awt/event/MouseAdapter.java,
4300 java/awt/event/MouseEvent.java,
4301 java/awt/event/MouseListener.java,
4302 java/awt/event/MouseMotionAdapter.java,
4303 java/awt/event/MouseMotionListener.java,
4304 java/awt/event/MouseWheelEvent.java,
4305 java/awt/event/MouseWheelListener.java,
4306 java/awt/event/PaintEvent.java,
4307 java/awt/event/TextEvent.java,
4308 java/awt/event/TextListener.java,
4309 java/awt/event/WindowAdapter.java,
4310 java/awt/event/WindowEvent.java,
4311 java/awt/event/WindowFocusListener.java,
4312 java/awt/event/WindowListener.java,
4313 java/awt/event/WindowStateListener.java,
4314 java/awt/font/TextHitInfo.java,
4315 java/awt/geom/CubicCurve2D.java,
4316 java/awt/geom/Dimension2D.java,
4317 java/awt/geom/Ellipse2D.java,
4318 java/awt/geom/IllegalPathStateException.java,
4319 java/awt/geom/Line2D.java,
4320 java/awt/geom/NoninvertibleTransformException.java,
4321 java/awt/geom/PathIterator.java,
4322 java/awt/geom/Point2D.java,
4323 java/awt/geom/QuadCurve2D.java,
4324 java/awt/geom/RectangularShape.java,
4325 java/awt/geom/RoundRectangle2D.java,
4326 java/awt/im/InputContext.java,
4327 java/awt/im/InputMethodHighlight.java,
4328 java/awt/im/InputMethodRequests.java,
4329 java/awt/im/InputSubset.java,
4330 java/awt/im/spi/InputMethod.java,
4331 java/awt/im/spi/InputMethodDescriptor.java,
4332 java/awt/image/BandCombineOp.java,
4333 java/awt/image/BandedSampleModel.java,
4334 java/awt/image/ByteLookupTable.java,
4335 java/awt/image/ComponentSampleModel.java,
4336 java/awt/image/DataBuffer.java,
4337 java/awt/image/DataBufferByte.java,
4338 java/awt/image/DataBufferDouble.java,
4339 java/awt/image/DataBufferFloat.java,
4340 java/awt/image/DataBufferInt.java,
4341 java/awt/image/DataBufferShort.java,
4342 java/awt/image/DataBufferUShort.java,
4343 java/awt/image/ImagingOpException.java,
4344 java/awt/image/Kernel.java,
4345 java/awt/image/LookupTable.java,
4346 java/awt/image/MultiPixelPackedSampleModel.java,
4347 java/awt/image/PackedColorModel.java,
4348 java/awt/image/PixelInterleavedSampleModel.java,
4349 java/awt/image/RGBImageFilter.java,
4350 java/awt/image/Raster.java,
4351 java/awt/image/RasterFormatException.java,
4352 java/awt/image/SampleModel.java,
4353 java/awt/image/ShortLookupTable.java,
4354 java/awt/image/SinglePixelPackedSampleModel.java,
4355 java/awt/image/WritableRaster.java,
4356 java/awt/print/PrinterAbortException.java,
4357 java/awt/print/PrinterException.java,
4358 java/awt/print/PrinterIOException.java,
4359 java/beans/AppletInitializer.java,
4360 java/beans/ExceptionListener.java,
4361 java/beans/PropertyChangeEvent.java,
4362 java/beans/PropertyChangeListenerProxy.java,
4363 java/beans/PropertyChangeSupport.java,
4364 java/beans/PropertyDescriptor.java,
4365 java/beans/VetoableChangeListenerProxy.java,
4366 java/beans/VetoableChangeSupport.java,
4367 java/io/BufferedReader.java,
4368 java/io/ByteArrayInputStream.java,
4369 java/io/ByteArrayOutputStream.java,
4370 java/io/CharArrayReader.java,
4371 java/io/CharArrayWriter.java,
4372 java/io/CharConversionException.java,
4373 java/io/DataInput.java,
4374 java/io/DataInputStream.java,
4375 java/io/DataOutput.java,
4376 java/io/DataOutputStream.java,
4377 java/io/EOFException.java,
4378 java/io/FileInputStream.java,
4379 java/io/FileNotFoundException.java,
4380 java/io/FileOutputStream.java,
4381 java/io/FilenameFilter.java,
4382 java/io/FilterInputStream.java,
4383 java/io/FilterOutputStream.java,
4384 java/io/FilterReader.java,
4385 java/io/FilterWriter.java,
4386 java/io/IOException.java,
4387 java/io/InputStream.java,
4388 java/io/InterruptedIOException.java,
4389 java/io/LineNumberInputStream.java,
4390 java/io/LineNumberReader.java,
4391 java/io/ObjectInputStream.java,
4392 java/io/ObjectStreamException.java,
4393 java/io/OptionalDataException.java,
4394 java/io/OutputStream.java,
4395 java/io/OutputStreamWriter.java,
4396 java/io/PrintStream.java,
4397 java/io/PrintWriter.java,
4398 java/io/PushbackInputStream.java,
4399 java/io/PushbackReader.java,
4400 java/io/RandomAccessFile.java,
4401 java/io/Reader.java,
4402 java/io/SequenceInputStream.java,
4403 java/io/Serializable.java,
4404 java/io/StreamCorruptedException.java,
4405 java/io/StreamTokenizer.java,
4406 java/io/StringBufferInputStream.java,
4407 java/io/StringWriter.java,
4408 java/io/SyncFailedException.java,
4409 java/io/UTFDataFormatException.java,
4410 java/io/UnsupportedEncodingException.java,
4411 java/io/WriteAbortedException.java,
4412 java/io/Writer.java,
4413 java/lang/AbstractMethodError.java,
4414 java/lang/ArithmeticException.java,
4415 java/lang/ArrayIndexOutOfBoundsException.java,
4416 java/lang/ArrayStoreException.java,
4417 java/lang/AssertionError.java,
4418 java/lang/Boolean.java,
4419 java/lang/Byte.java,
4420 java/lang/Class.java,
4421 java/lang/ClassCastException.java,
4422 java/lang/ClassCircularityError.java,
4423 java/lang/ClassLoader.java,
4424 java/lang/ClassNotFoundException.java,
4425 java/lang/CloneNotSupportedException.java,
4426 java/lang/Cloneable.java,
4427 java/lang/Comparable.java,
4428 java/lang/Compiler.java,
4429 java/lang/Double.java,
4430 java/lang/Error.java,
4431 java/lang/Exception.java,
4432 java/lang/ExceptionInInitializerError.java,
4433 java/lang/Float.java,
4434 java/lang/IllegalAccessError.java,
4435 java/lang/IllegalAccessException.java,
4436 java/lang/IllegalArgumentException.java,
4437 java/lang/IllegalMonitorStateException.java,
4438 java/lang/IllegalStateException.java,
4439 java/lang/IllegalThreadStateException.java,
4440 java/lang/IncompatibleClassChangeError.java,
4441 java/lang/IndexOutOfBoundsException.java,
4442 java/lang/InheritableThreadLocal.java,
4443 java/lang/InstantiationError.java,
4444 java/lang/InstantiationException.java,
4445 java/lang/Integer.java,
4446 java/lang/InternalError.java,
4447 java/lang/InterruptedException.java,
4448 java/lang/LinkageError.java,
4449 java/lang/Long.java,
4450 java/lang/NegativeArraySizeException.java,
4451 java/lang/NoClassDefFoundError.java,
4452 java/lang/NoSuchFieldError.java,
4453 java/lang/NoSuchFieldException.java,
4454 java/lang/NoSuchMethodError.java,
4455 java/lang/NoSuchMethodException.java,
4456 java/lang/NullPointerException.java,
4457 java/lang/Number.java,
4458 java/lang/NumberFormatException.java,
4459 java/lang/OutOfMemoryError.java,
4460 java/lang/Process.java,
4461 java/lang/Runnable.java,
4462 java/lang/Runtime.java,
4463 java/lang/RuntimeException.java,
4464 java/lang/RuntimePermission.java,
4465 java/lang/SecurityException.java,
4466 java/lang/SecurityManager.java,
4467 java/lang/Short.java,
4468 java/lang/StackOverflowError.java,
4469 java/lang/StackTraceElement.java,
4470 java/lang/StringBuffer.java,
4471 java/lang/StringIndexOutOfBoundsException.java,
4472 java/lang/ThreadDeath.java,
4473 java/lang/ThreadGroup.java,
4474 java/lang/Throwable.java,
4475 java/lang/UnsatisfiedLinkError.java,
4476 java/lang/UnsupportedOperationException.java,
4477 java/lang/VerifyError.java,
4478 java/lang/VirtualMachineError.java,
4479 java/lang/reflect/AccessibleObject.java,
4480 java/lang/reflect/Array.java,
4481 java/lang/reflect/InvocationTargetException.java,
4482 java/lang/reflect/Member.java,
4483 java/lang/reflect/Modifier.java,
4484 java/lang/reflect/Proxy.java,
4485 java/lang/reflect/ReflectPermission.java,
4486 java/lang/reflect/UndeclaredThrowableException.java,
4487 java/math/BigInteger.java,
4488 java/net/NetworkInterface.java,
4489 java/nio/ByteBufferHelper.java,
4490 java/nio/ByteBufferImpl.java,
4491 java/nio/DirectByteBufferImpl.java,
4492 java/nio/DoubleBufferImpl.java,
4493 java/nio/FloatBufferImpl.java,
4494 java/nio/IntBufferImpl.java,
4495 java/nio/LongBufferImpl.java,
4496 java/nio/ShortBufferImpl.java,
4497 java/nio/channels/Channel.java,
4498 java/nio/channels/IllegalBlockingModeException.java,
4499 java/nio/charset/spi/CharsetProvider.java,
4500 java/security/AccessControlException.java,
4501 java/security/BasicPermission.java,
4502 java/security/DigestException.java,
4503 java/security/DigestInputStream.java,
4504 java/security/DigestOutputStream.java,
4505 java/security/GeneralSecurityException.java,
4506 java/security/Guard.java,
4507 java/security/GuardedObject.java,
4508 java/security/InvalidAlgorithmParameterException.java,
4509 java/security/InvalidKeyException.java,
4510 java/security/InvalidParameterException.java,
4511 java/security/Key.java,
4512 java/security/KeyException.java,
4513 java/security/KeyManagementException.java,
4514 java/security/KeyStoreException.java,
4515 java/security/MessageDigestSpi.java,
4516 java/security/NoSuchAlgorithmException.java,
4517 java/security/NoSuchProviderException.java,
4518 java/security/Permission.java,
4519 java/security/PermissionCollection.java,
4520 java/security/Permissions.java,
4521 java/security/Principal.java,
4522 java/security/PrivateKey.java,
4523 java/security/PrivilegedActionException.java,
4524 java/security/ProviderException.java,
4525 java/security/PublicKey.java,
4526 java/security/SecureRandom.java,
4527 java/security/SecureRandomSpi.java,
4528 java/security/SignatureException.java,
4529 java/security/SignatureSpi.java,
4530 java/security/SignedObject.java,
4531 java/security/Signer.java,
4532 java/security/UnrecoverableKeyException.java,
4533 java/security/UnresolvedPermission.java,
4534 java/security/acl/AclNotFoundException.java,
4535 java/security/acl/LastOwnerException.java,
4536 java/security/acl/NotOwnerException.java,
4537 java/security/cert/CertPath.java,
4538 java/security/cert/CertPathBuilderException.java,
4539 java/security/cert/CertPathValidatorException.java,
4540 java/security/cert/CertStoreException.java,
4541 java/text/BreakIterator.java,
4542 java/text/ChoiceFormat.java,
4543 java/text/CollationElementIterator.java,
4544 java/text/CollationKey.java,
4545 java/text/Collator.java,
4546 java/text/DateFormat.java,
4547 java/text/DateFormatSymbols.java,
4548 java/text/DecimalFormat.java,
4549 java/text/DecimalFormatSymbols.java,
4550 java/text/FieldPosition.java,
4551 java/text/Format.java,
4552 java/text/NumberFormat.java,
4553 java/text/ParseException.java,
4554 java/text/ParsePosition.java,
4555 java/text/StringCharacterIterator.java,
4556 java/util/AbstractCollection.java,
4557 java/util/AbstractList.java,
4558 java/util/AbstractMap.java,
4559 java/util/AbstractSequentialList.java,
4560 java/util/AbstractSet.java,
4561 java/util/ArrayList.java,
4562 java/util/Arrays.java,
4563 java/util/BitSet.java,
4564 java/util/Collection.java,
4565 java/util/Collections.java,
4566 java/util/Comparator.java,
4567 java/util/ConcurrentModificationException.java,
4568 java/util/Currency.java,
4569 java/util/Date.java,
4570 java/util/EmptyStackException.java,
4571 java/util/Enumeration.java,
4572 java/util/EventListener.java,
4573 java/util/EventListenerProxy.java,
4574 java/util/EventObject.java,
4575 java/util/HashMap.java,
4576 java/util/HashSet.java,
4577 java/util/Hashtable.java,
4578 java/util/IdentityHashMap.java,
4579 java/util/Iterator.java,
4580 java/util/LinkedHashSet.java,
4581 java/util/LinkedList.java,
4582 java/util/List.java,
4583 java/util/ListIterator.java,
4584 java/util/ListResourceBundle.java,
4586 java/util/MissingResourceException.java,
4587 java/util/NoSuchElementException.java,
4588 java/util/Observable.java,
4589 java/util/Observer.java,
4590 java/util/Properties.java,
4591 java/util/PropertyPermissionCollection.java,
4592 java/util/RandomAccess.java,
4594 java/util/SortedMap.java,
4595 java/util/SortedSet.java,
4596 java/util/Stack.java,
4597 java/util/StringTokenizer.java,
4598 java/util/TooManyListenersException.java,
4599 java/util/TreeMap.java,
4600 java/util/TreeSet.java,
4601 java/util/Vector.java,
4602 java/util/logging/FileHandler.java,
4603 java/util/logging/Level.java,
4604 java/util/prefs/BackingStoreException.java,
4605 java/util/prefs/InvalidPreferencesFormatException.java,
4606 java/util/prefs/Preferences.java,
4607 javax/accessibility/Accessible.java,
4608 javax/accessibility/AccessibleAction.java,
4609 javax/accessibility/AccessibleBundle.java,
4610 javax/accessibility/AccessibleComponent.java,
4611 javax/accessibility/AccessibleContext.java,
4612 javax/accessibility/AccessibleEditableText.java,
4613 javax/accessibility/AccessibleExtendedComponent.java,
4614 javax/accessibility/AccessibleExtendedTable.java,
4615 javax/accessibility/AccessibleHyperlink.java,
4616 javax/accessibility/AccessibleHypertext.java,
4617 javax/accessibility/AccessibleIcon.java,
4618 javax/accessibility/AccessibleKeyBinding.java,
4619 javax/accessibility/AccessibleRelation.java,
4620 javax/accessibility/AccessibleRelationSet.java,
4621 javax/accessibility/AccessibleResourceBundle.java,
4622 javax/accessibility/AccessibleRole.java,
4623 javax/accessibility/AccessibleSelection.java,
4624 javax/accessibility/AccessibleState.java,
4625 javax/accessibility/AccessibleStateSet.java,
4626 javax/accessibility/AccessibleTable.java,
4627 javax/accessibility/AccessibleTableModelChange.java,
4628 javax/accessibility/AccessibleText.java,
4629 javax/accessibility/AccessibleValue.java,
4630 javax/imageio/IIOException.java,
4631 javax/imageio/ImageIO.java,
4632 javax/imageio/spi/IIOServiceProvider.java,
4633 javax/imageio/spi/ImageInputStreamSpi.java,
4634 javax/imageio/spi/ImageOutputStreamSpi.java,
4635 javax/imageio/spi/ImageReaderWriterSpi.java,
4636 javax/imageio/spi/ImageTranscoderSpi.java,
4637 javax/imageio/spi/RegisterableService.java,
4638 javax/imageio/spi/ServiceRegistry.java,
4639 javax/imageio/stream/IIOByteBuffer.java,
4640 javax/imageio/stream/ImageInputStream.java,
4641 javax/imageio/stream/ImageOutputStream.java,
4642 javax/naming/Binding.java,
4643 javax/naming/CannotProceedException.java,
4644 javax/naming/CompositeName.java,
4645 javax/naming/CompoundName.java,
4646 javax/naming/LinkException.java,
4647 javax/naming/LinkRef.java,
4648 javax/naming/NameClassPair.java,
4649 javax/naming/Reference.java,
4650 javax/naming/ReferralException.java,
4651 javax/naming/directory/Attribute.java,
4652 javax/naming/directory/AttributeModificationException.java,
4653 javax/naming/directory/Attributes.java,
4654 javax/naming/directory/DirContext.java,
4655 javax/naming/directory/ModificationItem.java,
4656 javax/naming/directory/SearchControls.java,
4657 javax/naming/directory/SearchResult.java,
4658 javax/naming/event/EventContext.java,
4659 javax/naming/event/EventDirContext.java,
4660 javax/naming/event/NamespaceChangeListener.java,
4661 javax/naming/event/NamingExceptionEvent.java,
4662 javax/naming/event/NamingListener.java,
4663 javax/naming/event/ObjectChangeListener.java,
4664 javax/naming/ldap/Control.java,
4665 javax/naming/ldap/ExtendedResponse.java,
4666 javax/naming/ldap/HasControls.java,
4667 javax/naming/ldap/LdapContext.java,
4668 javax/naming/ldap/UnsolicitedNotification.java,
4669 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4670 javax/naming/ldap/UnsolicitedNotificationListener.java,
4671 javax/naming/spi/DirectoryManager.java,
4672 javax/naming/spi/ResolveResult.java,
4673 javax/naming/spi/Resolver.java,
4674 javax/security/auth/callback/Callback.java,
4675 javax/security/auth/callback/CallbackHandler.java,
4676 javax/security/auth/callback/ChoiceCallback.java,
4677 javax/security/auth/callback/ConfirmationCallback.java,
4678 javax/security/auth/callback/LanguageCallback.java,
4679 javax/security/auth/callback/NameCallback.java,
4680 javax/security/auth/callback/PasswordCallback.java,
4681 javax/security/auth/callback/TextInputCallback.java,
4682 javax/security/auth/callback/TextOutputCallback.java,
4683 javax/security/auth/callback/UnsupportedCallbackException.java,
4684 javax/security/sasl/Sasl.java,
4685 javax/security/sasl/SaslServerFactory.java,
4686 javax/swing/DefaultBoundedRangeModel.java,
4687 javax/swing/JComponent.java,
4688 javax/swing/JList.java,
4689 javax/swing/JProgressBar.java,
4690 javax/swing/JRadioButton.java,
4691 javax/swing/JTextArea.java,
4692 javax/swing/JTextField.java,
4693 javax/swing/JToggleButton.java,
4694 javax/swing/JTree.java,
4695 javax/swing/SpinnerListModel.java,
4696 javax/swing/event/EventListenerList.java,
4697 javax/swing/text/JTextComponent.java,
4698 javax/swing/text/StringContent.java,
4699 javax/swing/text/Utilities.java,
4700 javax/swing/undo/UndoManager.java,
4701 javax/swing/undo/UndoableEditSupport.java,
4702 javax/transaction/HeuristicCommitException.java,
4703 javax/transaction/HeuristicMixedException.java,
4704 javax/transaction/HeuristicRollbackException.java,
4705 javax/transaction/InvalidTransactionException.java,
4706 javax/transaction/NotSupportedException.java,
4707 javax/transaction/RollbackException.java,
4708 javax/transaction/Status.java,
4709 javax/transaction/Synchronization.java,
4710 javax/transaction/SystemException.java,
4711 javax/transaction/Transaction.java,
4712 javax/transaction/TransactionManager.java,
4713 javax/transaction/TransactionRequiredException.java,
4714 javax/transaction/TransactionRolledbackException.java,
4715 javax/transaction/UserTransaction.java,
4716 javax/transaction/xa/XAException.java,
4717 javax/transaction/xa/XAResource.java,
4718 javax/transaction/xa/Xid.java,
4719 javax/xml/XMLConstants.java,
4720 javax/xml/datatype/DatatypeConfigurationException.java,
4721 javax/xml/datatype/DatatypeConstants.java,
4722 javax/xml/datatype/DatatypeFactory.java,
4723 javax/xml/datatype/Duration.java,
4724 javax/xml/datatype/XMLGregorianCalendar.java,
4725 javax/xml/namespace/NamespaceContext.java,
4726 javax/xml/namespace/QName.java,
4727 javax/xml/parsers/DocumentBuilder.java,
4728 javax/xml/parsers/DocumentBuilderFactory.java,
4729 javax/xml/parsers/FactoryConfigurationError.java,
4730 javax/xml/parsers/ParserConfigurationException.java,
4731 javax/xml/parsers/SAXParser.java,
4732 javax/xml/parsers/SAXParserFactory.java,
4733 javax/xml/transform/ErrorListener.java,
4734 javax/xml/transform/OutputKeys.java,
4735 javax/xml/transform/Result.java,
4736 javax/xml/transform/Source.java,
4737 javax/xml/transform/SourceLocator.java,
4738 javax/xml/transform/Templates.java,
4739 javax/xml/transform/Transformer.java,
4740 javax/xml/transform/TransformerConfigurationException.java,
4741 javax/xml/transform/TransformerException.java,
4742 javax/xml/transform/TransformerFactory.java,
4743 javax/xml/transform/TransformerFactoryConfigurationError.java,
4744 javax/xml/transform/URIResolver.java,
4745 javax/xml/transform/dom/DOMLocator.java,
4746 javax/xml/transform/dom/DOMResult.java,
4747 javax/xml/transform/dom/DOMSource.java,
4748 javax/xml/transform/sax/SAXResult.java,
4749 javax/xml/transform/sax/SAXSource.java,
4750 javax/xml/transform/sax/SAXTransformerFactory.java,
4751 javax/xml/transform/sax/TemplatesHandler.java,
4752 javax/xml/transform/sax/TransformerHandler.java,
4753 javax/xml/transform/stream/StreamResult.java,
4754 javax/xml/transform/stream/StreamSource.java,
4755 javax/xml/validation/Schema.java,
4756 javax/xml/validation/SchemaFactory.java,
4757 javax/xml/validation/TypeInfoProvider.java,
4758 javax/xml/validation/Validator.java,
4759 javax/xml/validation/ValidatorHandler.java,
4760 javax/xml/xpath/XPathConstants.java,
4761 javax/xml/xpath/XPathException.java,
4762 javax/xml/xpath/XPathExpression.java,
4763 javax/xml/xpath/XPathExpressionException.java,
4764 javax/xml/xpath/XPathFactory.java,
4765 javax/xml/xpath/XPathFactoryConfigurationException.java,
4766 javax/xml/xpath/XPathFunction.java,
4767 javax/xml/xpath/XPathFunctionException.java,
4768 javax/xml/xpath/XPathFunctionResolver.java:
4769 Fixed usage of @author tag, reworked import statements,
4770 removed CVS tags, changed the modifier order and fixed
4771 HTML usage in javadocs.
4773 2005-02-16 Julian Scheid <julian@sektor37.de>
4775 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4777 (encodeLoop): Likewise.
4779 2005-02-16 Mark Wielaard <mark@klomp.org>
4781 * Makefile.am (ordinary_java_source_files): Add new files
4782 gnu/java/security/ber/BER.java,
4783 gnu/java/security/ber/BEREncodingException.java,
4784 gnu/java/security/ber/BERReader.java,
4785 gnu/java/security/ber/BERValue.java,
4786 gnu/java/security/pkcs/PKCS7SignedData.java and
4787 gnu/java/security/pkcs/SignerInfo.java.
4788 * Makefile.in: Regenerated.
4790 2005-02-16 Casey Marshall <csm@gnu.org>
4792 * gnu/java/security/provider/GnuDSAPrivateKey.java
4793 (encodedKey): new field.
4794 (getFormat): return "PKCS#8".
4795 (getEncoded): implemented.
4796 (toString): check for 'null' values.
4797 * gnu/java/security/provider/GnuDSAPublicKey.java
4798 (encodedKey): new field.
4799 (getFormat): return "X.509".
4800 (getEncoded): implemented.
4801 (toString): check for 'null' values.
4803 2005-02-16 Michael Koch <konqueror@gmx.de>
4805 * java/util/jar/JarFile.java: Imports reworked.
4807 2005-02-16 Mark Wielaard <mark@klomp.org>
4809 * java/util/jar/JarFile.java (verify): Make package private.
4810 (signaturesRead): Likewise.
4811 (verified): Likewise.
4812 (entryCerts): Likewise.
4815 (entries): Construct new JarEnumeration with reference to this.
4816 (JarEnumeration): Make static.
4817 (JarEnumeration.jarfile): New field.
4818 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4819 Compare verified value to Boolean.TRUE or Boolean.False only
4820 when verify is true.
4821 (getEntry): Make synchronized. Compare value of verified to
4823 (getInputStream): Construct EntryInputStream with reference to this.
4824 (getManifest): Make synchronized.
4825 (EntryInputStream): Make static.
4826 (EntryInputStream.jarfile): New field.
4827 (EntryInputStream.EntryInputStream): Check if manifest exists,
4828 before getting attributes.
4829 (eof): Synchronize on jarfile.
4831 2005-02-16 Casey Marshall <csm@gnu.org>
4833 * java/util/jar/JarFile.java (verify): return if the jar is signed
4834 with an unsupported algorithm.
4836 2005-02-16 Mark Wielaard <mark@klomp.org>
4838 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4839 InputStream as argument.
4840 (getInputStream): Construct a new EntryInputStream with the result of
4841 super.getInputStream(entry).
4843 2005-02-16 Casey Marshall <csm@gnu.org>
4845 Signed JAR file support.
4846 * java/net/URLClassLoader.java
4847 (JarURLResource.getCertificates): re-read jar entry to ensure
4848 certificates are picked up.
4849 (findClass): fill in class `signers' field, too.
4850 * java/util/jar/JarFile.java (META_INF): new constant.
4851 (PKCS7_DSA_SUFFIX): new constant.
4852 (PKCS7_RSA_SUFFIX): new constant.
4853 (DIGEST_KEY_SUFFIX): new constant.
4854 (SF_SUFFIX): new constant.
4855 (MD2_OID): new constant.
4856 (MD4_OID): new constant.
4857 (MD5_OID): new constant.
4858 (SHA1_OID): new constant.
4859 (DSA_ENCRYPTION_OID): new constant.
4860 (RSA_ENCRYPTION_OID): new constant.
4861 (signaturesRead): new field.
4862 (verified): new field.
4863 (entryCerts): new field.
4864 (DEBUG): new constant.
4865 (debug): new method.
4866 (JarEnumeration.nextElement): fill in entry certificates, read
4867 signatures if they haven't been read.
4868 (getEntry): likewise.
4869 (getInputStream): verify stream if it hasn't been verified yet.
4870 (readSignatures): new method.
4871 (verify): new method.
4872 (verifyHashes): new method.
4873 (readManifestEntry): new method.
4874 (EntryInputStream): new class.
4875 * gnu/java/io/Base64InputStream.java (decode): new class
4877 * gnu/java/security/der/DERReader.java don't make class
4879 (in): made protected.
4881 (readLength): likewise.
4882 * gnu/java/security/ber/BER.java,
4883 * gnu/java/security/ber/BEREncodingException.java,
4884 * gnu/java/security/ber/BERReader.java,
4885 * gnu/java/security/ber/BERValue.java,
4886 * gnu/java/security/pkcs/PKCS7SignedData.java,
4887 * gnu/java/security/pkcs/SignerInfo.java:
4890 2005-02-16 Tom Tromey <tromey@redhat.com>
4892 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4893 copied file on exit.
4895 2005-02-15 Mark Wielaard <mark@klomp.org>
4897 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4899 2005-02-15 Michael Koch <konqueror@gmx.de>
4901 * gnu/java/awt/peer/gtk/GtkArg.java,
4902 gnu/java/awt/peer/gtk/GtkArgList.java:
4905 2005-02-15 Craig Black <craig.black@aonix.com>
4907 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4908 (postMenuActionEvent): Implement to notify ItemListeners.
4909 * java/awt/CheckboxMenuItem.java
4910 (dispatchEventImpl): Update state on ItemEvent.
4911 * java/awt/MenuItem.java
4912 (processActionEvent): Retarget event source.
4914 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4916 * gnu/java/awt/color/ClutProfileConverter.java,
4917 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4918 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4919 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4920 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4921 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4922 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4923 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4924 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4925 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4926 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4927 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4928 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4929 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4930 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4931 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4932 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4933 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4934 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4935 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4936 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4937 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4938 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4939 gnu/java/awt/peer/gtk/GtkToolkit.java,
4940 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4941 javax/swing/JPopupMenu.java,
4942 javax/swing/JSpinner.java,
4943 javax/swing/SortingFocusTraversalPolicy.java,
4944 javax/swing/SwingUtilities.java,
4945 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4946 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4947 javax/swing/tree/DefaultMutableTreeNode.java:
4948 Removed unused imports and expanded starred
4951 2005-02-15 Mark Wielaard <mark@klomp.org>
4953 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4954 IllegalArgumentException when the given String is null.
4956 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4957 when given keystoke sequence cannot be parsed.
4959 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4960 if one is installed. Only install the given menubar is not null.
4962 * javax/swing/JViewport.java (getViewSize): Return an empty
4963 Dimension when the view isn't set or preferred component size when
4966 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4967 empty Dimension when there is no view set.
4968 (minimumLayoutSize): Likewise.
4969 (layoutContainer): Don't try to layout when there is no view.
4971 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4974 * include/jawt.h: Likewise.
4975 * include/jawt_md.h: Likewise.
4976 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4978 * jni/classpath/classpath_jawt.h: Likewise.
4979 * jni/gtk-peer/gtk_jawt.c: Likewise.
4980 * Makefile.am: Build libjawt.so.
4982 2005-02-15 Michael Koch <konqueror@gmx.de>
4984 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4985 Merged file header with classpath CVS head.
4986 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4987 Merged code formatting with classpath CVS head.
4988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4990 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4991 Handle special JNI strings with 2 '\0' at the end.
4992 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4993 Merged file header with classpath CVS head.
4994 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4995 Merged code formatting with classpath CVS head.
4997 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4999 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5000 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5001 (handle_response): Use GTK_RESPONSE_ACCEPT.
5003 2005-02-15 Graydon Hoare <graydon@redhat.com>
5005 * Makefile.am: Fix library build breakage.
5006 * Makefile.in: Regenerate.
5008 2005-02-15 Michael Koch <konqueror@gmx.de>
5010 * javax/swing/JTabbedPane.java
5011 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5013 2005-02-15 Michael Koch <konqueror@gmx.de>
5015 * javax/swing/tree/DefaultMutableTreeNode.java:
5016 Reworked Javadocs all over.
5017 (getPathToRoot): Fixed direction of result array initialization.
5019 2005-02-15 Michael Koch <konqueror@gmx.de>
5021 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5022 Fix includes for cairo 0.3.0 snappshot.
5023 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5024 Merged file header from classpath CVS HEAD.
5026 2005-02-15 Craig Black <craig.black@aonix.com>
5028 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5029 (copyState): Pass a JNI global reference to signal handler.
5030 (realize_cb): Use and free JNI global reference.
5031 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5032 (create): Pass a JNI global reference to signal handler.
5033 (selection_changed): Match declaration.
5034 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5035 (dispose): Do not remove entries from state tables until after widget is
5038 2005-02-15 Michael Koch <konqueror@gmx.de>
5040 * java/awt/Container.javai (paramString):
5041 If layoutMgr is null just return result of super.paramString().
5042 * java/awt/Scrollbar.java: Reformatted.
5043 * java/awt/im/InputContext.java (static):
5044 Removed redundant initializations.
5046 2005-02-15 Michael Koch <konqueror@gmx.de>
5048 * javax/swing/ImageIcon.java,
5049 javax/swing/UIManager.java,
5050 javax/swing/text/EditorKit.java,
5051 javax/swing/text/Segment.java:
5052 More whitespace cleanups.
5054 2005-02-15 Michael Koch <konqueror@gmx.de>
5056 * gnu/java/awt/EmbeddedWindow.java,
5057 gnu/java/awt/image/ImageDecoder.java,
5058 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5059 java/awt/DefaultKeyboardFocusManager.java,
5060 java/awt/Frame.java,
5061 java/awt/image/RGBImageFilter.java,
5062 javax/swing/AbstractButton.java,
5063 javax/swing/ActionMap.java,
5064 javax/swing/ComponentInputMap.java,
5065 javax/swing/DefaultDesktopManager.java,
5066 javax/swing/ImageIcon.java,
5067 javax/swing/InputMap.java,
5068 javax/swing/JButton.java,
5069 javax/swing/JCheckBox.java,
5070 javax/swing/JCheckBoxMenuItem.java,
5071 javax/swing/JEditorPane.java,
5072 javax/swing/JMenu.java,
5073 javax/swing/JMenuItem.java,
5074 javax/swing/JOptionPane.java,
5075 javax/swing/JRootPane.java,
5076 javax/swing/JTable.java,
5077 javax/swing/MenuSelectionManager.java,
5078 javax/swing/RepaintManager.java,
5079 javax/swing/ScrollPaneLayout.java,
5080 javax/swing/SortingFocusTraversalPolicy.java,
5081 javax/swing/UIManager.java,
5082 javax/swing/ViewportLayout.java,
5083 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5084 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5085 javax/swing/plaf/basic/BasicLabelUI.java,
5086 javax/swing/plaf/basic/BasicListUI.java,
5087 javax/swing/plaf/basic/BasicMenuItemUI.java,
5088 javax/swing/plaf/basic/BasicMenuUI.java,
5089 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5090 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5091 javax/swing/plaf/basic/BasicRootPaneUI.java,
5092 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5093 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5094 javax/swing/plaf/basic/BasicTextUI.java,
5095 javax/swing/table/TableColumnModel.java,
5096 javax/swing/text/AbstractDocument.java,
5097 javax/swing/text/EditorKit.java,
5098 javax/swing/text/Position.java,
5099 javax/swing/text/Segment.java,
5100 javax/swing/text/StyledEditorKit.java,
5101 javax/swing/text/ViewFactory.java:
5102 Cleanup whitespace differences to classpath CVS HEAD.
5104 2005-02-15 Graydon Hoare <graydon@redhat.com>
5106 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5107 (finalize): Call finish from here.
5108 (produce): Not from here.
5109 * Makefile.am (gtk_c_source_files):
5110 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5111 * Makefile.in: Regenerate.
5112 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5114 (cairoDrawGdkTextLayout):
5116 (getPeerTextMetrics):
5117 (getPeerFontMetrics): Remove.
5118 (setFont): Don't call cairoSetFont.
5119 (cairoDrawGlyphVector): Accept font peer argument.
5120 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5121 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5122 (ensure_metrics_cairo):
5123 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5124 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5125 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5126 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5128 (metrics_surface): Remove.
5129 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5130 Pass and install font peer.
5132 2005-02-15 Graydon Hoare <graydon@redhat.com>
5134 * Makefile.am: Create "split library" structure.
5135 * Makefile.in: Regenerate.
5137 2005-02-15 Graydon Hoare <graydon@redhat.com>
5139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5140 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5141 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5142 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5143 Release GDK lock during upcalls.
5145 2005-02-15 Graydon Hoare <graydon@redhat.com>
5147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5149 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5150 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5151 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5153 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5156 (getTextMetrics): New native methods.
5157 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5158 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5159 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5160 * Makefile.in: Regenerate.
5162 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5164 * javax/swing/SwingUtilities.java:
5165 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5166 Implemented and documented.
5167 (getAccessibleChild(java.awt.Component, int)): Likewise.
5168 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5169 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5170 (getAccessibleStateSet(java.awt.Component)): Likewise.
5172 2005-02-15 Michael Koch <konqueror@gmx.de>
5174 * javax/swing/SwingUtilities.java
5175 (getFontMetrics): Removed.
5177 2005-02-15 Michael Koch <konqueror@gmx.de>
5179 * java/awt/Container.java
5180 (paramString): Implemented.
5181 * javax/swing/AbstractButton.java
5182 (paramString): Implemented.
5183 * javax/swing/JComponent.java
5184 (paramString): Implemented.
5185 * javax/swing/JMenu.java
5186 (paramString): Implemented.
5187 * javax/swing/JMenuBar.java
5188 (paramString): Implemented.
5189 * javax/swing/JMenuItem.java
5190 (paramString): Implemented.
5191 * javax/swing/JPopupMenu.java
5192 (paramString): Implemented.
5194 2005-02-15 Michael Koch <konqueror@gmx.de>
5196 * javax/swing/JMenu.java
5197 (uiClassID): Removed.
5198 (JMenu): Set invoker on popup menu.
5199 (getUIClassID): Return id directly.
5200 (getItemCount): Simply return getMenuComponentCount().
5202 (isTopLevelMenu): Simplified.
5203 * javax/swing/JMenuItem.java
5204 (uiClassID): Removed.
5205 (getUIClassID): Return id directly.
5206 * javax/swing/JPopupMenu.java
5207 (uiClassID): Removed.
5208 (JPopupMenu): Always initialize correctly.
5209 (getSubElements): Only return components implementing MenuElement
5211 (HeavyWeightPopup.hide): Removed.
5213 2005-02-15 Michael Koch <konqueror@gmx.de>
5215 * java/awt/image/ReplicateScaleFilter.java
5216 (replicatePixels): Made private.
5217 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5218 (DefaultRGBChooserPanel): Made package private.
5219 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5220 (RecentSwatchPanel): Likewise.
5221 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5222 (MouseInputAdapter): Made abstract.
5223 * javax/swing/tree/DefaultMutableTreeNode.java
5225 (growTree): Likewise.
5227 2005-02-15 Michael Koch <konqueror@gmx.de>
5229 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5232 2005-02-15 Michael Koch <konqueror@gmx.de>
5234 * javax/swing/JComponent.java (getComponentGraphics):
5235 Removed accidently commited code.
5237 2005-02-15 Graydon Hoare <graydon@redhat.com>
5239 * java/awt/dnd/DropTarget.java
5240 (addDropTargetListener): Despite documentation, do not throw.
5241 * javax/swing/JComponent.java: Set a default DropTarget.
5243 2005-02-15 Michael Koch <konqueror@gmx.de>
5245 * javax/swing/AbstractAction.java
5246 (ENABLED_PROPERTY): Removed.
5247 (setEnabled): Replaced constant with real string.
5248 * javax/swing/AbstractButton.java
5249 (createActionPropertyChangeListener.propertyChange): Likewise.
5250 * javax/swing/JComboBox.java
5251 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5252 (EDITABLE_CHANGED_PROPERTY): Removed.
5253 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5254 (ENABLED_CHANGED_PROPERTY):Likewise.
5255 (RENDERER_CHANGED_PROPERTY):Likewise.
5256 (EDITOR_CHANGED_PROPERTY):Likewise.
5257 (MODEL_CHANGED_PROPERTY):Likewise.
5258 (uiClassID):Likewise.
5259 (getUIClassID): Replaced constant with real string.
5260 (setModel):Likewise.
5261 (setEditable):Likewise.
5262 (setMaximumRowCount):Likewise.
5263 (setRenderer):Likewise.
5264 (setEditor):Likewise.
5265 (setEnabled):Likewise.
5266 * javax/swing/JLabel.java
5267 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5268 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5269 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5270 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5271 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5272 (ICON_CHANGED_PROPERTY): Likewise.
5273 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5274 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5275 (TEXT_CHANGED_PROPERTY): Likewise.
5276 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5277 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5278 (setText): Replaced constant with real string.
5279 (setIcon): Likewise.
5280 (setDisabledIcon): Likewise.
5281 (setDisplayedMnemonic): Likewise.
5282 (setIconTextGap): Likewise.
5283 (setVerticalAlignment): Likewise.
5284 (setHorizontalAlignment): Likewise.
5285 (setVerticalTextPosition): Likewise.
5286 (setHorizontalTextPosition): Likewise.
5287 (setLabelFor): Replaced constant with real string.
5288 Fire property change event after property got changed.
5289 * javax/swing/JList.java
5290 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5291 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5292 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5293 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5294 (MODEL_PROPERTY_CHANGED): Likewise.
5295 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5296 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5297 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5298 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5299 (setFixedCellWidth): Reimplemented.
5300 (setFixedCellHeight): Exit if new value is identical.
5301 Replaced constant with real string.
5302 (setSelectionBackground): Likewise.
5303 (setSelectionForeground): Likewise.
5304 (setPrototypeCellValue): Likewise.
5305 (setCellRenderer): Replaced constant with real string.
5306 (setModel): Likewise.
5307 (setSelectionModel): Likewise.
5308 * javax/swing/JMenuBar.java
5309 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5310 (MODEL_CHANGED_PROPERTY): Likewise.
5311 (MARGIN_CHANGED_PROPERTY): Likewise.
5312 (setBorderPainted): Reimplemented.
5313 (setMargin): Likewise.
5314 (setSelectionModel): Replaced constant with real string.
5315 * javax/swing/JPopupMenu.java
5316 (LABEL_CHANGED_PROPERTY): Removed.
5317 (VISIBLE_CHANGED_PROPERTY): Likewise.
5318 (borderPainted): Likewise.
5319 (setLabel): Replaced constant with real string.
5320 (setVisible): Exit if new value is identical.
5321 Replaced constant with real string.
5322 * javax/swing/JProgressBar.java
5323 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5324 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5325 (STRING_CHANGED_PROPERTY): Likewise.
5326 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5327 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5328 (setOrientation): Replaced constant with real string.
5329 (setStringPainted): Likewise.
5330 (setString): Likewise.
5331 (setBorderPainted): Likewise.
5332 (setIndeterminate): Likewise.
5333 * javax/swing/JScrollBar.java
5334 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5335 (MODEL_CHANGED_PROPERTY): Likewise.
5336 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5337 (setOrientation): Replaced constant with real string.
5338 (setModel): Likewise.
5339 (setUnitIncrement): Likewise.
5340 (setBlockIncrement): Likewise.
5341 * javax/swing/JScrollPane.java
5342 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5343 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5344 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5345 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5346 (LAYOUT_CHANGED_PROPERTY): Likewise.
5347 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5348 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5349 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5350 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5351 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5352 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5353 (setComponentOrientation): Replaced constant with real string.
5354 (setColumnHeader): Likewise.
5355 (setHorizontalScrollBar): Likewise.
5356 (setHorizontalScrollBarPolicy): Likewise.
5357 (setRowHeader): Likewise.
5358 (setVerticalScrollBar): Likewise.
5359 (setVerticalScrollBarPolicy): Likewise.
5360 (setWheelScrollingEnabled): Likewise.
5361 (setViewport): Likewise.
5362 (setViewportBorder): Likewise.
5363 * javax/swing/JSlider.java
5364 (INVERTED_CHANGED_PROPERTY): Removed.
5365 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5366 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5367 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5368 (MODEL_CHANGED_PROPERTY): Likewise.
5369 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5370 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5371 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5372 (setModel): Replaced constant with real string.
5373 (setOrientation): Likewise.
5374 (setLabelTable): Likewise.
5375 (setInverted): Likewise.
5376 (setMajorTickSpacing): Likewise.
5377 (setMinorTickSpacing): Likewise.
5378 (setPaintTicks): Likewise.
5379 (setPaintLabels): Likewise.
5380 * javax/swing/JTabbedPane.java
5381 (MODEL_CHANGED_PROPERTY): Removed.
5382 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5383 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5384 (setModel): Replaced constant with real string.
5385 (setTabPlacement): Likewise.
5386 (setTabLayoutPolicy): Likewise.
5387 * javax/swing/JToolBar.java
5388 (ORIENTATION_CHANGED_PROPERTY): Removed.
5389 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5390 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5391 (MARGIN_CHANGED_PROPERTY): Likewise.
5392 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5393 (setRollover): Replaced constant with real string.
5394 (setMargin): Likewise.
5395 (setBorderPainted): Likewise.
5396 (setFloatable): Likewise.
5397 (setOrientation): Likewise.
5398 * javax/swing/plaf/basic/BasicComboBoxUI.java
5399 (PropertyChangeHandler.propertyChange): Likewise.
5400 * javax/swing/plaf/basic/BasicComboPopup.java
5401 (PropertyChangeHandler.propertyChange): Likewise.
5402 * javax/swing/plaf/basic/BasicMenuBarUI.java
5403 (PropertyChangeHandler.propertyChange): Likewise.
5404 * javax/swing/plaf/basic/BasicProgressBarUI.java
5405 (PropertyChangeHandler.propertyChange): Likewise.
5406 * javax/swing/plaf/basic/BasicScrollBarUI.java
5407 (PropertyChangeHandler.propertyChange): Likewise.
5408 * javax/swing/plaf/basic/BasicSliderUI.java
5409 (PropertyChangeHandler.propertyChange): Likewise.
5410 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5411 (PropertyChangeHandler.propertyChange): Likewise.
5412 * javax/swing/plaf/basic/BasicToolBarUI.java
5413 (PropertyChangeHandler.propertyChange): Likewise.
5415 2005-02-15 Michael Koch <konqueror@gmx.de>
5417 * javax/swing/DefaultButtonModel.java
5418 (changeState): Made private.
5419 * javax/swing/DefaultDesktopManager.java
5420 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5421 * javax/swing/JLayeredPane.java
5422 (layerToRange): Made private.
5423 (incrLayer): Likewise.
5424 (decrLayer): Likewise.
5425 * javax/swing/JTable.java
5426 (dragEnabled): Likewise.
5427 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5428 * javax/swing/KeyStroke.java
5429 (Keystroke): Made private.
5430 * javax/swing/TransferHandler.java
5431 (COMMAND_COPY): Likewise.
5432 (COMMAND_CUT): Likewise.
5433 (COMMAND_PASTE): Likewise.
5435 2005-02-15 Michael Koch <konqueror@gmx.de>
5437 * javax/swing/JTextField.java
5438 (postActionEvent): Use text in field when actionCommand is null.
5439 (getActionCommand): Removed.
5441 2005-02-15 Michael Koch <konqueror@gmx.de>
5443 * javax/swing/AbstractSet.java: Removed.
5444 * Makefile.am: Removed javax/swing/AbstractSet.java.
5445 * Makefile.in: Regenerated.
5447 2005-02-15 Michael Koch <konqueror@gmx.de>
5449 * java/awt/Window.java
5450 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5451 * java/awt/dnd/DnDConstants.java
5452 (DnDConstants): New private constructor.
5454 2005-02-15 Michael Koch <konqueror@gmx.de>
5456 * javax/swing/DefaultCellRenderer.java: Removed.
5457 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5458 * Makefile.in: Regenerated.
5460 2005-02-15 Michael Koch <konqueror@gmx.de>
5462 * javax/swing/AbstractButton.java
5463 (fireItemStateChanged): Made protected.
5464 (fireActionPerformed): Likewise.
5465 (fireStateChanged): Likewise.
5466 * javax/swing/DefaultButtonModel.java
5467 (fireItemStateChanged): Likewise.
5468 (fireActionPerformed): Likewise.
5469 (fireStateChanged): Likewise.
5470 * javax/swing/JApplet.java
5472 (frameInit): Likewise.
5473 (setRootPane): Made protected.
5474 (createRootPane): Likewise.
5475 * javax/swing/JComponent.java
5476 (getClientProperty): Likewise.
5477 (putClientProperty): Likewise.
5478 * javax/swing/JEditorPane.java
5479 (getContentType): Likewise.
5480 (setContentType): Likewise.
5481 * javax/swing/JFrame.java
5482 (setRootPane): Likewise.
5483 (createRootPane): Likewise.
5484 * javax/swing/JInternalFrame.java
5485 (getFocusCycleRootAncestor): Made final. Added @since tag.
5486 (isFocusCycleRoot): Likewise.
5487 (getWarningString): Made final.
5488 * javax/swing/JScrollBar.java
5489 (changeListener): Removed.
5490 (changeEvent): Likewise.
5491 (createChangeListener): Likewise.
5492 (fireStateChanged): Likewise.
5493 (addChangeListener): Likewise.
5494 (removeChangeListener): Likewise.
5495 (getChangeListeners): Likewise.
5496 * javax/swing/JScrollPane.java
5497 (createViewport): Made protected.
5498 * javax/swing/JViewport.java
5499 (addImpl): Likewise.
5500 (setBorder): New method.
5501 * javax/swing/JWindow.java
5502 (setRootPane): Made protected.
5503 (createRootPane): Likewise.
5504 * javax/swing/plaf/basic/BasicButtonUI.java
5505 (installListeners): Likewise.
5506 (uninstallListeners): Likewise.
5507 * javax/swing/plaf/basic/BasicProgressBarUI.java
5508 (incrementAnimationIndex): Likewise.
5509 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5510 (createLayoutManager): Likewise.
5511 * javax/swing/table/DefaultTableCellRenderer.java
5512 (firePropertyChange): Likewise.
5513 * javax/swing/table/JTableHeader.java
5514 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5516 * javax/swing/text/PlainDocument.java
5517 (reindex): Made private.
5518 * javax/swing/text/PlainView.java
5519 (drawLine): Made protected.
5520 (getTabSize): Likewise.
5521 * javax/swing/text/View.java
5523 (preferenceChanged): New method.
5524 (getBreakWeight): Likewise.
5525 (breakView): Likewise.
5526 (getViewIndex): Likewise.
5528 2005-02-15 Michael Koch <konqueror@gmx.de>
5530 * javax/swing/JScrollPane.java
5531 (ScrollBar): Made class protected.
5532 * javax/swing/JSpinner.java
5533 (JSpinner): Added @since tag.
5534 (listenerList): Removed.
5535 * javax/swing/JTable.java
5536 (setValueAt): New method.
5537 (getColumn): Likewise.
5538 * javax/swing/JWindow.java
5539 (rootPaneCheckingEnabled): Renamed from checking.
5541 2005-02-15 Michael Koch <konqueror@gmx.de>
5543 * javax/swing/plaf/basic/BasicTextUI.java
5544 (RootView.modelToView): Made it public and return a java.awt.Shape.
5545 Handle null subview.
5546 (uninstall): Set textComponent to null when its not possible used
5548 * javax/swing/text/View.java
5549 (setParent): Use better argument name.
5550 (getContainer): Get parent via getParent().
5551 (getViewFactory): Likewise.
5552 (getAttributes): Get element via getElement().
5553 (getStartOffset): Likewise.
5554 (getEndOffset): Likewise.
5555 (getResizeWeight): New method.
5556 (getMaximumSpan): Likewise.
5557 (getMinimumSpan): Likewise.
5558 (setSize): Likewise.
5559 (getGraphics): Likewise.
5561 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5563 * java/awt/Checkbox.java:
5564 (AccessibleAWTCheckbox()): Added public constructor
5566 * java/awt/Choice.java:
5567 (AccessibleAWTChoice): Added class documentation.
5568 (AccessibleAWTChoice()): Added public constructor
5570 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5571 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5572 and changed role to COMBO_BOX.
5573 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5574 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5575 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5577 2005-02-15 Graydon Hoare <graydon@redhat.com>
5578 Michael Koch <konqueror@gmx.de>
5580 * javax/swing/LayoutFocusTraversalPolicy.java,
5581 javax/swing/SortingFocusTraversalPolicy.java:
5583 * Makefile.am: Added new classes.
5584 * Makefike.in: Regenerated.
5587 2005-02-15 Michael Koch <konqueror@gmx.de>
5589 * javax/swing/DebugGraphics.java: Mostly implemented.
5591 2005-02-15 Michael Koch <konqueror@gmx.de>
5593 * javax/swing/SwingUtilities.java
5594 (findFocusOwner): New method.
5596 2005-02-15 Michael Koch <konqueror@gmx.de>
5598 * javax/swing/text/DefaultEditorKit.java
5599 (read): Added '\n' after each line.
5600 * javax/swing/text/PlainView.java
5601 (modelToView): Update metrics.
5602 (drawLine): Use offsets from element.
5603 (paint): Update metrics. Draw all lines.
5605 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5607 * java/awt/Checkbox.java:
5608 (AccessibleAWTCheckbox): Added class documentation
5609 * java/awt/Scrollbar.java:
5610 (AccessibleAWTScrollBar): typo corrected and docs added
5611 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5612 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5613 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5614 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5615 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5616 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5617 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5618 (getAccessibleContext()): name of accessible class corrected
5620 2005-02-15 Mark Wielaard <mark@klomp.org>
5622 * java/awt/BasicStroke.java (hashCode): Implement.
5625 2005-02-15 Michael Koch <konqueror@gmx.de>
5627 * java/awt/print/PrinterJob.java
5628 (pageDialog): Throws java.awt.HeadlessException.
5629 (printDialog): Likewise.
5631 2005-02-15 Mark Wielaard <mark@klomp.org>
5633 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5635 2005-02-15 Michael Koch <konqueror@gmx.de>
5637 * javax/swing/JTable.java
5638 (getValueAt): New method.
5639 * javax/swing/table/JTableHeader.java
5640 (columnAtPoint): New method.
5642 2005-02-15 Michael Koch <konqueror@gmx.de>
5644 * javax/swing/JTextField.java
5645 (actions): New field.
5646 (static): Initalize actions field.
5647 (getActions): New method.
5649 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5651 * java/awt/Checkbox.java:
5652 (AccessibleAWTCheckbox): name capitalization corrected
5653 and serialization UID added.
5654 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5656 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5657 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5658 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5659 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5660 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5661 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5662 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5663 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5664 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5665 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5666 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5668 (getAccessibleContext()): name of accessible class corrected
5670 2005-02-15 Sven de Marothy <sven@physto.se>
5672 * java/awt/geom/doc-files/Area-1.png,
5673 java/awt/geom/doc-files/Ellipse-1.png,
5674 java/awt/geom/doc-files/GeneralPath-1.png:
5677 2005-02-15 Graydon Hoare <graydon@redhat.com>
5679 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5680 Use union to avoid type-punning warning.
5682 2005-02-15 Michael Koch <konqueror@gmx.de>
5684 * javax/swing/DefaultListSelectionModel.java
5685 (clone): New method.
5687 2005-02-15 Mark Wielaard <mark@klomp.org>
5689 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5690 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5691 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5692 Correct method signature of gtkSetFilename.
5694 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5696 * javax/swing/text/StringContent.java: New file.
5698 2005-02-15 Michael Koch <konqueror@gmx.de>
5700 * Makefile.am: Added javax/swing/text/StringContent.java.
5701 * Makefile.in: Regenerated.
5703 2005-02-15 Michael Koch <konqueror@gmx.de>
5705 * gnu/java/awt/ClasspathToolkit.java:
5706 Import statements reworked.
5707 (imageCache): Made it of type java.util.HashMap.
5709 2005-02-15 Michael Koch <konqueror@gmx.de>
5711 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5712 Reworked import statements.
5714 2005-02-15 Graydon Hoare <graydon@redhat.com>
5716 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5718 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5721 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5724 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5725 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5727 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5729 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5730 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5732 Rewrite uses of extern variable to be function calls.
5733 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5734 function, from extern variable.
5735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5736 (gdk_env): Remove variable, add new function.
5737 (java_vm): Add new variable.
5738 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5739 java_vm rather than old gdk_env variable.
5741 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5743 * javax/swing/DefaultListModel.java
5744 (add): fire correct event,
5745 (addElement): corrected interval indices in event,
5746 (clear): corrected upper bound for interval, only fire event if
5748 (setSize): fire appropriate event.
5750 2005-02-15 Graydon Hoare <graydon@redhat.com>
5752 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5753 * gnu/awt/xlib/XToolkit.java: Likewise.
5754 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5755 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5756 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5757 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5758 * java/awt/EventQueue.java (getNextEvent):
5759 Adjust event loop to switch to native mode after 100ms.
5760 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5762 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5763 Wake up event thread.
5764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5765 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5766 Adjust event loop to switch to java mode after 100ms.
5768 2005-02-15 Graydon Hoare <graydon@redhat.com>
5770 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5771 accidentally removed in last change.
5773 2005-02-15 Michael Koch <konqueror@gmx.de>
5775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5776 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5778 2005-02-15 Graydon Hoare <graydon@redhat.com>
5780 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5781 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5782 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5783 * jni.cc: Reuse bottom frame between calls, avoid clearing
5784 frame when no local references are made.
5786 2005-02-15 Michael Koch <konqueror@gmx.de>
5788 * javax/swing/UIDefaults.java (UIDefaults):
5789 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5790 Fixed HTML entity and removed a redundant comma.
5792 2005-02-15 Michael Koch <konqueror@gmx.de>
5794 * javax/swing/text/DefaultEditorKit.java
5795 (deinstall): Removed.
5796 (install): Likewise.
5798 2005-02-15 Michael Koch <konqueror@gmx.de>
5800 * javax/swing/UIDefaults.java (put): Handle value of null.
5802 2005-02-15 Michael Koch <konqueror@gmx.de>
5804 * java/awt/Robot.java,
5805 java/awt/Scrollbar.java,
5806 java/awt/print/PrinterJob.java,
5807 javax/swing/JTable.java,
5808 javax/swing/text/AbstractDocument.java:
5809 Reworked import statements.
5811 2005-02-15 Michael Koch <konqueror@gmx.de>
5813 * javax/swing/JEditorPane.java
5814 (read): Implemented.
5816 * javax/swing/text/DefaultEditorKit.java
5817 (page): Renamed from page_url. Made private.
5818 (editorKit): Renamed from kit. Made private.
5820 (JEditorPane): All constructors reimplemented.
5821 (getContentType): Use content type from editor kit.
5822 (getEditorKit): Return editorKit.
5823 (getEditorKitForContentType):Likewise.
5824 (getPage): Return page.
5825 (setContentType): Reimplemented.
5826 (setEditorKit): Likewise.
5827 (setEditorKitForContentType): Removed wrong implementation.
5828 (setPage): Implemented.
5830 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5832 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5833 (nativeSetIconImageFromData): Re-add native implementation.
5835 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5837 * javax/swing/table/DefaultTableModel.java
5838 (DefaultTableModel()): Added Javadocs.
5839 (DefaultTableModel(int, int)): Fixed implementation.
5840 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5841 for negative rowCount.
5842 (DefaultTableModel(Object[], int)): Added Javadocs.
5843 (DefaultTableModel(Vector, Vector)): Likewise.
5844 (DefaultTableModel(Object[][], Object[])): Likewise.
5845 (getDataVector): Likewise.
5846 (setDataVector(Vector, Vector)): Likewise.
5847 (setDataVector(Object[][], Object[])): Likewise.
5848 (newDataAvailable): Likewise.
5849 (newRowsAdded): Likewise.
5850 (rowsRemoved): Likewise.
5851 (setColumnIdentifiers(Vector)): Allow for null argument.
5852 (setColumnIdentifiers(Object[])): Added Javadocs.
5853 (setNumRows): Likewise.
5854 (setRowCount): Adds new rows if necessary, and sends more specific
5856 (setColumnCount): Allow for null columnIdentifiers.
5857 (addColumn(Object)): Added Javadocs.
5858 (addColumn(Object, Vector)): Handle null columnData.
5859 (addColumn(Object, Object[])): Handle columnData with more or less
5860 entries than rows in the table.
5861 (addRow(Vector)): Fire appropriate event.
5862 (addRow(Object[])): Added Javadocs.
5863 (insertRow(int, Vector)): Fire appropriate event.
5864 (insertRow(int, Object[])): Added Javadocs.
5865 (moveRow): Reimplemented.
5866 (removeRow(int)): Fire appropriate event.
5867 (getColumnCount): Allow for null columnIdentifiers.
5868 (getColumnName): Now returns empty string when column index is too
5870 (isCellEditable): Added Javadocs.
5871 (getValueAt): Likewise.
5872 (setValueAt): Fire more specific event.
5873 (convertToVector): Added Javadocs.
5874 * javax/swing/table/TableModel.java
5877 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5879 * libgcj.spec.in (lib): Add -l-javax-imageio.
5881 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5883 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5884 references to event queue q with method call q().
5885 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5886 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5887 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5888 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5889 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5890 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5893 2005-02-15 Graydon Hoare <graydon@redhat.com>
5895 * gnu/java/awt/ClasspathToolkit.java
5896 (registerImageIOSpis): New method.
5897 * gnu/java/awt/image/ImageDecoder.java
5898 (imageDecoder): New constructor using InputStream
5899 (startProduction): Handle existing InputStream.
5900 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5901 (findSimpleIntegerArray): Make public and static.
5902 (updateBufferedImage): Set each pixel, in a loop.
5903 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5904 Implement ImageIO SPI classes.
5905 (createBufferedImage): Rewrite in terms of SPI classes.
5906 * gnu/java/awt/peer/gtk/GtkToolkit.java
5907 (registerImageIOSpis): New method.
5908 * java/lang/reflect/natMethod.cc
5909 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5910 which lets JNI call interface methods properly.
5911 * javax/imageio/ImageIO.java
5912 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5913 (WriterMIMETypeFilter.filter): Likewise.
5914 (ImageReaderIterator): Pass extension argument through to SPI.
5915 (getReadersByFilter): Likewise.
5916 (getWritersByFilter): Likewise.
5917 (getImageReadersByFormatName): Likewise.
5918 (getImageReadersByMIMEType): Likewise.
5919 (getImageReadersBySuffix): Likewise.
5920 (getImageWritersByFormatName): Likewise.
5921 (getImageWritersByMIMEType): Likewise.
5922 (getImageWritersBySuffix): Likewise.
5925 * javax/imageio/ImageReader.java
5926 (progressListeners): Initialize.
5927 (setInput): Implement.
5928 * javax/imageio/ImageWriter.java
5929 (progressListeners): Initialize.
5930 (warningListeners): Likewise.
5931 (warningLocales): Likewise.
5932 (setOutput): Test "isInstance" rather than class equality.
5933 * javax/imageio/spi/IIORegistry.java
5934 (static): Add reader and writer SPIs.
5935 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5937 (query_formats): New function.
5938 (save_to_stream): Likewise.
5939 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5941 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5945 (keyPress): Likewise.
5946 (keyRelease): Likewise.
5948 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5950 * javax/swing/JTable.java
5951 (columnAtPoint): New Method. Implemented.
5952 (rowAtPoint): Likewise.
5953 (countSelections): Fixed few small count errors.
5954 (getSelections): Likewise.
5955 (setSelectionMode): Set selection mode for column
5956 selection model in addition to row selection model.
5957 * javax/swing/plaf/basic/BasicTableUI.java:
5958 (getRowForPoint): Removed. Replaced by
5959 JTable.rowAtPoint().
5960 (getColForPoint): Removed. Replaced by
5961 JTable.columnAtPoint().
5962 (updateSelection): Updated to call JTable.columnAtPoint
5963 and JTable.rowAtPoint.
5964 * javax/swing/table/DefaultTableColumnModel.java:
5965 (getSelectedColumns): Implemented.
5966 (getSelectedColumnCount): Implemented.
5968 2005-02-15 Graydon Hoare <graydon@redhat.com>
5971 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5972 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5973 * Makefile.in: Regenerate.
5974 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5975 * gnu/awt/xlib/XFramePeer.java: Likewise.
5976 * gnu/awt/xlib/XToolkit.java: Likewise.
5977 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5978 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5979 * gnu/java/awt/ClasspathToolkit.java
5982 (iterateNativeQueue): New methods.
5983 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5984 * gnu/java/awt/peer/gtk/GtkToolkit.java
5985 (gtkInit): Absorb from defunct GtkMainThread class.
5986 (static): Run gtkInit in static startup block.
5987 (GtkToolkit): Remove construction of GtkMainThread and queue.
5988 (getSystemEventQueueImpl): Construct queue when requested.
5991 (iterateNativeQueue): New methods.
5992 * java/awt/Component.java (removeNotify): Remove race.
5993 * java/awt/EventDispatchThread.java
5994 (EventDispatchThread): Don't start on construction.
5995 (run): Remove isInterrupted check.
5996 * java/awt/EventQueue.java (shutdown): New flag.
5997 (isShutdown): New method checking J2SE shutdown condition.
5998 (setShutdown): New method.
5999 (getNextEvent): Restructure to use ClasspathToolkit.
6000 (postEvent): Activate new thread on posting, wake thread on
6001 post of possible shutdown condition event.
6002 * java/awt/Frame.java
6003 (Frame): Call noteFrame in all constructors.
6004 (fireDummyEvent): New helper method.
6005 (addNotify): Fire a dummy event to wake up queue.
6006 (removeNotify): Fire a dummy event to wake up queue.
6007 (noteFrame): New method.
6008 (weakFrames): New static field.
6009 (getFrames): Implement.
6010 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6012 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6013 Move everything from GtkMainThread into this file
6014 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6015 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6016 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6017 New functions to implement single-threaded queue semantics.
6019 2005-02-15 Michael Koch <konqueror@gmx.de>
6021 * javax/swing/plaf/metal/MetalLookAndFeel.java
6022 (getControlTextFont): New method.
6023 (getMenuTextFont): Likewise.
6024 (getSubTextFont): Likewise.
6025 (getSystemTextFont): Likewise.
6026 (getUserTextFont): Likewise.
6027 (getWindowTitleFont): Likewise.
6029 2005-02-15 Michael Koch <konqueror@gmx.de>
6031 * javax/swing/text/AbstractDocument.java
6032 (documentFilter): New field.
6033 (getDocumentFilter): New method.
6034 (setDocumentFilter): Likewise.
6037 2005-02-15 Michael Koch <konqueror@gmx.de>
6039 * javax/swing/JTree.java
6040 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6042 2005-02-15 Michael Koch <konqueror@gmx.de>
6044 * javax/swing/text/AbstractDocument.java
6045 (AbstractElement.getLength): Fixed off-by-one error.
6046 (AbstractElement.children): Made abstract.
6047 (AbstractElement.getAllowsChildren): Likewise.
6048 (AbstractElement.getElement): Likewise.
6049 (AbstractElement.dumpElement): New private method.
6050 (AbstractElement.dump): New method.
6051 (BranchElememt.getName): Fixed implementation.
6052 (BranchElememt.toString): Likewise.
6053 (BranchElememt.getElement): Fixed arguments.
6054 (LeafElement.getName): Fixed implementation.
6055 (LeafElement.toString): Likewise.
6056 * javax/swing/text/GapContent.java
6057 (GapContent): Put default content into buffer.
6058 * javax/swing/text/PlainDocument.java
6059 (reindex): Use empty attribute sets instead of null.
6060 (createDefaultRoot): Reimplemented.
6061 (insertUpdate): Call super method.
6062 (removeUpdate): Likewise.
6063 (getParagraphElement): Implemented.
6065 2005-02-15 Michael Koch <konqueror@gmx.de>
6067 * gnu/java/awt/ClasspathToolkit.java
6068 (createRobot): Throws java.awt.AWTException.
6069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6070 Added '__attribute__((unused))' to all unused method arguments.
6072 2005-02-15 Michael Koch <konqueror@gmx.de>
6074 * javax/swing/DefaultBoundedRangeModel.java
6075 (fireValueChanged): Fixed off-by-one error.
6077 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6079 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6080 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6082 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6083 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6084 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6085 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6086 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6087 (getDefaultScreenDevice): Implement.
6088 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6089 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6090 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6091 * java/awt/Robot.java: Implement.
6092 * java/awt/peer/RobotPeer.java: Rename parameters.
6093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6095 (awt_keycode_to_keysym): Make non-static.
6096 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6097 AWT_BUTTON3_MASK): Declare constants.
6098 (awt_keycode_to_keysym): Declare.
6100 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6101 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6102 and is non-empty pass its value to "make check".
6103 (test_mauve_sim): Likewise.
6105 2005-02-15 Michael Koch <konqueror@gmx.de>
6107 * javax/imageio/IIOParam.java
6108 (setSourceBands): New method.
6109 (setSourceSubsampling): Likewise.
6110 * javax/imageio/ImageReadParam.java
6111 (setDestination): Likewise.
6112 (setDestinationBands): Likewise.
6113 (setSourceProgressivePasses): Likewise.
6114 * javax/imageio/metadata/IIOInvalidTreeException.java
6115 (serialVersionUID): New static field.
6116 * javax/imageio/metadata/IIOMetadataNode.java
6117 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6118 (parent): Dont initailize with default value explicitely.
6120 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6121 (removeAttributeNode): Likewise.
6122 (removeAttributeNS): Likewise.
6123 (setAttribute): Likewise.
6124 (setAttributeNode): Likewise.
6125 (setAttributeNodeNS): Likewise.
6126 (setAttributeNS): Likewise.
6127 (appendChild): Likewise.
6128 (getNodeValue): Likewise.
6129 (insertBefore): Likewise.
6130 (removeChild): Likewise.
6131 (replaceChild): Likewise.
6132 (setPrefix): Likewise.
6134 2005-02-15 Michael Koch <konqueror@gmx.de>
6136 * javax/swing/LookAndFeel.java
6137 (getDesktopPropertyValue): New method.
6139 2005-02-15 Michael Koch <konqueror@gmx.de>
6141 * javax/swing/JTree.java
6142 (hasChildren): New instance field.
6144 2005-02-15 Michael Koch <konqueror@gmx.de>
6146 * javax/swing/JComponent.java
6147 (getToolTipText): New method.
6148 (getTitledBorderText): Likewise.
6149 (getAccessibleKeyBinding): Likewise.
6150 (getVerifyInputWhenFocusTarget): Likewise.
6151 (setVerifyInputWhenFocusTarget): Likewise.
6152 (verifyInputWhenFocusTarget): New instance field.
6154 2005-02-15 Michael Koch <konqueror@gmx.de>
6156 * javax/swing/DefaultListSelectionModel.java
6157 (fireValueChanged): New method.
6159 2005-02-15 Michael Koch <konqueror@gmx.de>
6161 * javax/swing/DefaultBoundedRangeModel.java:
6162 Fixed javadocs all over.
6163 (fireStateChanged): Simplified.
6164 * javax/swing/BoundedRangeModel.java:
6167 2005-02-15 Michael Koch <konqueror@gmx.de>
6169 * javax/swing/JRootPane.java
6170 (setMenuBar): Added @deprecated tag.
6171 (getMenuBar): Likewise.
6172 * javax/swing/JTable.java
6173 (sizeColumnsToFit): Likewise.
6175 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6177 * javax/swing/ImageIcon.java (setImage): Implemented.
6179 2005-02-15 Michael Koch <konqueror@gmx.de>
6181 * javax/swing/JTable.java:
6182 Removed unused imports.
6184 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6186 (prepareRenderer): Get column's index in dataModel instead
6187 of column's view index.
6188 (getColumnCount): return count of the columns in ColumnModel,
6190 (removeColumn): Implemented.
6191 (moveColumm): Likewise.
6192 (setRowHeight): throw IllegalArgumentException if height is
6194 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6195 (DefaultTableColumnModel):Add call to createSelectionModel().
6196 (addColumn): Fire columnAdded event to registered listeners.
6197 (removeColumn): Fire columnRemoved event to registered listeners.
6198 (moveColumn): Fire columnMoved event to registered listeners.
6199 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6200 (getColumnIndex): Changed parameter name.
6201 (setColumnSelectionAllowed): Likewise.
6202 (fireColumnAdded): Implemented.
6203 (fireColumnRemoved): Likewise.
6204 (fireColumnMoved): Likewise.
6205 (fireColumnMarginChanged): Likewise.
6206 (getListeners): Changed parameter name.
6207 (propertyChange): Implemented.
6208 (valueChanged): Changed parameter name.
6209 (createSelectionModel): Implemented.
6211 2005-02-15 Michael Koch <konqueror@gmx.de>
6213 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6214 Explicitely import used classes.
6215 (getLocalGraphicsEnvironment): Simplify.
6216 * java/awt/Window.java (Window):
6217 Enable code to get the default GraphicsConfiguration.
6219 2005-02-15 Michael Koch <konqueror@gmx.de>
6221 * javax/swing/plaf/metal/DefaultMetalTheme.java
6222 (CONTROL_TEXT_FONT): New static field.
6223 (MENU_TEXT_FONT): Likewise.
6224 (SUB_TEXT_FONT): Likewise.
6225 (SYSTEM_TEXT_FONT): Likewise.
6226 (USER_TEXT_FONT): Likewise.
6227 (WINDOW_TITLE_FONT): Likewise.
6228 (getControlTextFont): New method.
6229 (getMenuTextFont): Likewise.
6230 (getSubTextFont): Likewise.
6231 (getSystemTextFont): Likewise.
6232 (getUserTextFont): Likewise.
6233 (getWindowTitleFont): Likewise.
6234 * javax/swing/plaf/metal/MetalTheme.java
6235 (BLACK): Initialize with Color.BLACK.
6236 (WHITE): Initialize with Color.WHITE.
6237 (getInactiveControlTextColor): Return getControlDisabled().
6238 (getMenuDisabledForeground): Return getSecondary3().
6239 (getControlTextFont): New abstract method.
6240 (getMenuTextFont): Likewise.
6241 (getSubTextFont): Likewise.
6242 (getSystemTextFont): Likewise.
6243 (getUserTextFont): Likewise.
6244 (getWindowTitleFont): Likewise.
6246 2005-02-15 Michael Koch <konqueror@gmx.de>
6248 * javax/swing/JFormattedTextField.java
6249 (getFocusLostBehavior): Fixed typo in method name.
6250 (setFocusLostBehavior): Likewise.
6252 2005-02-15 Michael Koch <konqueror@gmx.de>
6254 * javax/swing/TransferHandler.java:
6255 Reworked import statements.
6257 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6259 * java/awt/Button.java,
6260 java/awt/Canvas.java,
6261 java/awt/Checkbox.java,
6262 java/awt/CheckboxMenuItem.java,
6263 java/awt/Choice.java,
6264 java/awt/Dialog.java,
6265 java/awt/Frame.java,
6266 java/awt/Label.java,
6269 java/awt/MenuBar.java,
6270 java/awt/MenuItem.java,
6271 java/awt/PopupMenu.java,
6272 java/awt/ScrollPane.java,
6273 java/awt/Scrollbar.java,
6274 java/awt/TextArea.java,
6275 java/awt/Window.java (getAccessibleContext): Clean up comments.
6277 * java/awt/Button.java,
6278 java/awt/Checkbox.java,
6279 java/awt/Choice.java,
6281 java/awt/PopupMenu.java,
6282 java/awt/TextArea.java (getAccessibleContext): Only create new
6284 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6286 2005-02-15 Michael Koch <konqueror@gmx.de>
6288 * java/awt/Button.java,
6289 javax/swing/JApplet.java,
6290 javax/swing/JFormattedTextField.java,
6291 javax/swing/JWindow.java,
6292 javax/swing/JTree.java,
6293 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6294 javax/swing/plaf/basic/BasicTextPaneUI.java,
6295 javax/swing/plaf/basic/BasicTreeUI.java:
6296 Reworked import statements.
6298 2005-02-15 Michael Koch <konqueror@gmx.de>
6300 * Makefile.am: Put javax.imageio into its own library and link it
6301 against lib-org-w3c-dom.la to fix bootstrapping.
6302 * Makefile.in: Regenerated.
6304 2005-02-15 Michael Koch <konqueror@gmx.de>
6306 * javax/swing/text/TextAction.java
6307 (getTextComponent): Simplified. Added Javadoc.
6308 (augmentList): Implemented. Added Javadoc.
6309 (getFocusedComponent): Added javadoc.
6311 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6313 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6314 getAccessibleContext): Implement.
6315 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6316 getAccessibleContext): Implement.
6318 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6320 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6322 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6324 * java/awt/Window.java (getAccessibleContext): Fix comment.
6325 Remove extra import.
6327 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6329 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6330 (isActive, isFocused, getAccessibleContext): Implement.
6332 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6334 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6335 * java/awt/MenuComponent.java (accessibleContext): Make package
6337 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6338 AccessibleAWTCheckboxMenuItem): Implement.
6340 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6342 * java/awt/List.java: Implement AccessibleAWTList,
6343 AccessibleAWTListChild.
6345 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6347 * java/awt/Choice.java: Add implements declaration for
6350 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6352 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6355 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6357 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6358 implemented interface list.
6360 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6362 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6363 * javax/imageio/metadata/IIOAttr.java: New class.
6364 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6365 * javax/imageio/metadata/IIONodeList.java: New class.
6366 * Makefile.am: Added new files.
6367 * Makefile.in: Regenerated.
6369 2005-02-15 Michael Koch <konqueror@gmx.de>
6371 * javax/swing/AbstractAction.java,
6372 javax/swing/AbstractCellEditor.java,
6373 javax/swing/AbstractListModel.java,
6374 javax/swing/DefaultBoundedRangeModel.java,
6375 javax/swing/DefaultButtonModel.java,
6376 javax/swing/DefaultCellEditor.java,
6377 javax/swing/DefaultComboBoxModel.java,
6378 javax/swing/DefaultDesktopManager.java,
6379 javax/swing/JMenu.java,
6380 javax/swing/JSlider.java,
6381 javax/swing/KeyStroke.java,
6382 javax/swing/OverlayLayout.java,
6383 javax/swing/ScrollPaneLayout.java,
6384 javax/swing/SizeRequirements.java,
6385 javax/swing/ViewportLayout.java:
6386 Made serialVersionUID private.
6388 2005-02-15 Michael Koch <konqueror@gmx.de>
6390 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6393 2005-02-15 Michael Koch <konqueror@gmx.de>
6395 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6397 2005-02-15 Michael Koch <konqueror@gmx.de>
6399 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6401 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6403 * java/awt/EventDispatchThread.java,
6404 java/awt/Toolkit.java:
6405 Don't catch java.lang.ThreadDeath.
6407 2005-02-15 Michael Koch <konqueror@gmx.de>
6409 * javax/swing/text/PasswordView.java
6410 (drawEchoCharacter): Added javadoc.
6411 (drawSelectedText): Likewise.
6412 (drawUnselectedText): Likewise.
6414 2005-02-15 Michael Koch <konqueror@gmx.de>
6416 * javax/swing/JRootPane.java
6417 (windowDecorationStyle): New field.
6418 (setMenuBar): New method.
6419 (getMenuBar): Likewise.
6420 (getWindowDecorationStyle): Likewise.
6421 (setWindowDecorationStyle): Likewise.
6423 2005-02-15 Michael Koch <konqueror@gmx.de>
6425 * javax/swing/DefaultListSelectionModel.java
6426 (leadAnchorNotificationEnabled): Made protected.
6428 2005-02-15 Michael Koch <konqueror@gmx.de>
6430 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6431 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6432 * Makefile.in: Regenerated.
6435 2005-02-15 Michael Koch <konqueror@gmx.de>
6437 * javax/swing/JFormattedTextField.java: Implemented.
6438 * javax/swing/JWindow.java
6439 (JWindow): New constructors.
6440 (initWindow): Renamed from initFrame.
6441 * javax/swing/UIDefaults.java
6442 (ActiveValue): Made interface static.
6443 (LazyValue): Likewise.
6444 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6445 (TitlePaneLayout.TitlePaneLayout): New constructor.
6446 * javax/swing/plaf/basic/BasicSliderUI.java
6447 (ChangeHandler): Made public.
6448 (FocusHandler): Likewise.
6449 (PropertyChangeHandler): Likewise.
6450 (ScrollListener): Likewise.
6451 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6452 (FocusHandler): Likewise.
6453 (MouseHandler): Likewise.
6454 * javax/swing/plaf/basic/BasicTextPaneUI.java
6455 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6456 * javax/swing/plaf/basic/BasicToolBarUI.java
6457 (BasicToolBarUI): Simplified. Reworked javadoc.
6458 (canDock): Simplified. Make public.
6459 (DockingListener): Made public.
6460 * javax/swing/text/JTextComponent.java
6461 (navigationFilter): New field.
6462 (getNavigationFilter): New method.
6463 (setNavigationFilter): Likewise.
6465 2005-02-15 Michael Koch <konqueror@gmx.de>
6467 * javax/swing/plaf/metal/MetalTheme.java
6468 (getControlTextColor): Return getControlInfo().
6469 (getHighlightedTextColor): Return getControlTextColor().
6471 2005-02-15 Michael Koch <konqueror@gmx.de>
6473 * javax/swing/plaf/basic/BasicButtonListener.java
6474 (BasicButtonListener): New constructor.
6475 * javax/swing/plaf/basic/BasicButtonUI.java
6476 (createButtonListener): Usw new BasicButtonListener constructor.
6478 2005-02-15 Michael Koch <konqueror@gmx.de>
6480 * javax/imageio/event/package.html,
6481 javax/imageio/metadata/package.html: New files.
6483 2005-02-15 Michael Koch <konqueror@gmx.de>
6485 * java/awt/image/MemoryImageSource.java: Reformatted.
6487 2005-02-15 Michael Koch <konqueror@gmx.de>
6489 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6491 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6493 * java/awt/color/ICC_Profile.java
6494 (finalize): Removed pointless field assignments.
6496 2005-02-15 Michael Koch <konqueror@gmx.de>
6498 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6499 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6500 * Makefile.in: Regenerated.
6502 2005-02-15 Michael Koch <konqueror@gmx.de>
6504 * javax/swing/text/DefaultStyledDocument.java: New file.
6505 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6506 * Makefile.in: Regenerated.
6508 2005-02-15 Michael Koch <konqueror@gmx.de>
6510 * javax/swing/JFileChooser.java
6511 (showDialog): Return CANCEL_OPTION for now.
6512 (showOpenDialog): Likewise.
6513 (showSaveDialog): Likewise.
6515 2005-02-15 Michael Koch <konqueror@gmx.de>
6517 * javax/swing/JApplet.java
6518 (HIDE_ON_CLOSE): Removed.
6519 (EXIT_ON_CLOSE): Likewise.
6520 (DISPOSE_ON_CLOSE): Likewise.
6521 (DO_NOTHING_ON_CLOSE): Likewise.
6522 (close_action): Likewise.
6523 (getDefaultCloseOperation): Likewise.
6524 (setDefaultCloseOperation): Likewise.
6525 (processWindowEvent): Likewise.
6526 (getPreferredSize): Simplified.
6527 * javax/swing/JInternalFrame.java
6528 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6530 * javax/swing/JWindow.java
6531 (HIDE_ON_CLOSE): Removed.
6532 (EXIT_ON_CLOSE): Likewise.
6533 (DISPOSE_ON_CLOSE): Likewise.
6534 (DO_NOTHING_ON_CLOSE): Likewise.
6535 (close_action): Likewise.
6536 (processKeyEvent): Likewise.
6537 (setDefaultCloseOperation): Likewise.
6538 (getPreferredSize): Simplified.
6540 2005-02-15 Michael Koch <konqueror@gmx.de>
6542 * javax/swing/JTextField.java
6543 (getPreferredSize): Re-implemented.
6545 2005-02-15 Michael Koch <konqueror@gmx.de>
6547 * javax/swing/JLabel.java
6548 (setDisplayedMnemonic): Use only upper case characters.
6549 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6550 PropertyChangeEvent after property got set to the new index.
6552 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6554 * javax/swing/JComboBox.java:
6555 (JComboBox): Removed selection of the
6556 first item in the model.
6558 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6560 * javax/swing/JComboBox.java
6561 added support for no item being selected
6562 (JComboBox): select first or nothing depending on element count
6563 (setModel): cleaned up unneeded "this." usage, added more
6564 docs, made exception behavior match that of the JDK
6565 (setLighWeightPopupEnabled): removed unneeded "this." usage
6567 (setMaximumRowCount): dito
6569 (setPrototypeDisplayValue): dito
6570 (getSelectedItem): simplified, added more user doc
6571 (setSelectedIndex): corrected exception behavior, added more user doc
6572 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6573 added performance warning to user doc
6574 (addItem): fixed exception behavior, added user doc
6575 (insertItemAt): dito
6577 (removeItemAt): dito
6578 (removeAll): fixed exception behavior, added user doc, added support
6579 for model not being instance of DefaultComboBoxModel
6580 (getSelectedItemObjects): simplified
6581 (getItemCount): fixed dependency on DefaultComboBoxModel
6582 (getItemAt): fixed dependency on MutableComboBoxModel
6583 * javax/swing/DefaultComboBoxModel.java:
6584 (setSelectedItem): updates selected item only if new
6585 value is null or known (match JDK behavior)
6586 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6587 (paintCurrentValue): renders "" if no item is selected
6589 2005-02-15 Michael Koch <konqueror@gmx.de>
6591 * javax/swing/plaf/metal/MetalTheme.java,
6592 javax/swing/plaf/metal/DefaultMetalTheme.java:
6594 * javax/swing/plaf/metal/MetalLookAndFeel.java
6595 * Makefile.am: Added the new files.
6596 * Makefile.in: Regenerated.
6598 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6600 * javax/swing/JTable.java
6601 (editorComp): New field.
6602 (JTable): Initialize local variables and call updateUI
6603 (selectionBackground): Make protected.
6604 (selectionForeground): Likewise.
6605 (initializeLocalVars): Create default editors and renderers,
6606 initialize editingColumn, editingRow variables.
6607 (createDefaultEditors): New Method.
6608 (createDefaultRenderers): Likewise.
6609 (createDefaultListSelectionModel): Removed
6610 (createDefaultSelectionModel): New Method.
6611 (createDefaultTableHeader): Likewise
6612 (removeColumn): Likewise.
6613 (getEditingColumn): Likewise.
6614 (setEditingColumn): Likewise.
6615 (getEditingRow): Likewise.
6616 (setEditingRow): Likewise.
6617 (getEditorComponent): Likewise.
6618 (isEditing): Likewise.
6619 (setDefaultEditor): Likewise.
6620 (addColumnSelectionInterval): Likewise.
6621 (addRowSelectionInterval): Likewise.
6622 (setColumnSelectionInterval): Likewise.
6623 (setRowSelectionInterval): Likewise.
6624 (removeColumnSelectionInterval): Likewise.
6625 (removeRowSelectionInterval): Likewise.
6626 (isColumnSelected): Likewise.
6627 (isRowSelected): Likewise.
6628 (isCellSelected): Likewise.
6629 (selectAll): Likewise.
6631 2005-02-15 Michael Koch <konqueror@gmx.de>
6633 * javax/swing/JTable.java
6634 (addColumn): New method.
6635 (getColumnClass): Likewise.
6636 (getColumnName): Likewise.
6638 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6640 * javax/swing/TransferHandler.java
6641 (createTransferable): Made protected.
6643 2005-02-15 Michael Koch <konqueror@gmx.de>
6645 * javax/swing/JTable.java,
6646 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6647 javax/swing/plaf/basic/BasicTableUI.java:
6648 Use fixed get/setIntercellSpacing() methods.
6650 2005-02-15 Michael Koch <konqueror@gmx.de>
6652 * javax/swing/JTable.java
6653 (getIntercellSpacing): Fixed typo in method name.
6654 (setIntercellSpacing): Likewise.
6656 2005-02-15 Michael Koch <konqueror@gmx.de>
6658 * javax/swing/text/JTextComponent.java
6659 (focusAccelerator): New variable.
6660 (getFocusAccelerator): New method.
6661 (setFocusAccelerator): Likewise.
6663 2005-02-15 Michael Koch <konqueror@gmx.de>
6665 * javax/swing/JComponent.java
6666 (setTransferHandler): Made public. Fire property change event.
6667 * javax/swing/TransferHandler.java: Implemented.
6668 * javax/swing/text/JTextComponent.java
6669 (DefaultTransferHandler): New inner class.
6670 (defaultTransferHandler): New variable.
6674 (doTransferAction): Likewise.
6676 2005-02-15 Michael Koch <konqueror@gmx.de>
6678 * javax/swing/JTree.java
6679 (collapsePath): New method.
6680 (collapseRow): Likewise.
6681 (expandPath): Likewise.
6682 (expandRow): Likewise.
6683 (checkExpandParents): Likewise.
6684 (doExpandParents): Likewise.
6685 (setExpandedState): Likewise.
6686 (makeVisible): Likewise.
6688 2005-02-15 Michael Koch <konqueror@gmx.de>
6690 * javax/swing/JPasswordField.java: Updated javadocs.
6692 2005-02-15 Michael Koch <konqueror@gmx.de>
6694 * javax/swing/JLayeredPane.java
6695 (getLayer): Fixed return type, made public.
6696 (getPosition): Use new getLayer().
6697 (SetPosition): Likewise.
6698 (getIndexOf): Likewise.
6700 * javax/swing/JInternalFrame.java
6701 (getLayer): Use new JLayeredPane.getLayer().
6704 2005-02-15 Michael Koch <konqueror@gmx.de>
6706 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6707 (setHeaderValue): Simplified. Do nothing when old value == new value.
6709 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6711 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6712 against null clip region.
6713 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6714 gtkWindowSetResizable.
6715 (postConfigureEvent): Only revalidate if frame size has changed.
6716 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6717 Only revalidate if frame size has changed.
6718 * java/awt/Component.java (reshape): Only repaint and post
6719 component events if component is showing.
6720 * java/awt/Container.java (addImpl): Only post container event if
6721 container is showing.
6723 * java/awt/Window.java (setLocationRelativeTo): Implement.
6724 (setBoundsCallback): Only post component events if component is
6726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6727 Protect against null graphics structure. Flush gdk event queue.
6729 2005-02-15 Michael Koch <konqueror@gmx.de>
6731 * javax/imageio/ImageReader.java,
6732 javax/imageio/ImageTranscoder.java,
6733 javax/imageio/ImageWriter.java,
6734 javax/imageio/spi/ImageInputStreamSpi.java,
6735 javax/imageio/spi/ImageOutputStreamSpi.java,
6736 javax/imageio/spi/ServiceRegistry.java,
6737 javax/imageio/stream/ImageInputStream.java,
6738 javax/imageio/stream/ImageOutputStream.java: Updated.
6739 * javax/imageio/IIOException.java,
6740 javax/imageio/IIOImage.java,
6741 javax/imageio/IIOParam.java,
6742 javax/imageio/IIOParamController.java,
6743 javax/imageio/ImageIO.java,
6744 javax/imageio/ImageReadParam.java,
6745 javax/imageio/ImageTypeSpecifier.java,
6746 javax/imageio/ImageWriteParam.java,
6747 javax/imageio/spi/IIORegistry.java,
6748 javax/imageio/spi/ImageReaderSpi.java,
6749 javax/imageio/spi/ImageWriterSpi.java,
6750 javax/imageio/stream/FileCacheImageInputStream.java,
6751 javax/imageio/stream/FileCacheImageOutputStream.java,
6752 javax/imageio/stream/FileImageInputStream.java,
6753 javax/imageio/stream/FileImageOutputStream.java,
6754 javax/imageio/stream/ImageInputStreamImpl.java,
6755 javax/imageio/stream/ImageOutputStreamImpl.java,
6756 javax/imageio/stream/MemoryCacheImageInputStream.java,
6757 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6758 javax/imageio/event/IIOReadProgressListener.java,
6759 javax/imageio/event/IIOReadUpdateListener.java,
6760 javax/imageio/event/IIOReadWarningListener.java,
6761 javax/imageio/event/IIOWriteProgressListener.java,
6762 javax/imageio/event/IIOWriteWarningListener.java,
6763 javax/imageio/metadata/IIOMetadata.java,
6764 javax/imageio/metadata/IIOMetadataController.java,
6765 javax/imageio/metadata/IIOMetadataFormat.java,
6766 javax/imageio/metadata/IIOInvalidTreeException.java,
6767 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6768 javax/imageio/metadata/IIOMetadataNode.java: New files.
6769 * Makefile.am (javax_source_files): Added new files
6770 * Makefile.in: Regenerated.
6772 2005-02-15 Graydon Hoare <graydon@redhat.com>
6774 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6775 Rework painting into BufferedImages
6776 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6777 Construct BufferedImage with alpha only when alpha is
6778 present in colormodel.
6779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6780 Rework painting into client-side jint arrays.
6781 * jni/gtk-peer/gtkcairopeer.h:
6784 2005-02-15 Michael Koch <konqueror@gmx.de>
6786 * javax/swing/DefaultListCellRenderer.java
6787 (serialVersionUID): Made private.
6788 (getListCellRendererComponent): Set horizontal alignment.
6789 * javax/swing/JLabel.java
6790 (setVerticalAlignment): Re-implemented.
6791 (setHorizontalAlignment): Do nothing if old value = new value.
6792 * javax/swing/JList.java
6793 (setCellRenderer): Likewise.
6794 (setModel): Re-implemented.
6795 (setSelectionModel): Likewise.
6797 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6799 * java/awt/Component.java,
6800 java/awt/geom/Rectangle2D.java:
6803 2005-02-15 Michael Koch <konqueror@gmx.de>
6805 * javax/swing/AbstractListModel.java
6806 (fireContentsChanged): Simplified.
6807 (fireIntervalAdded): Likewise.
6808 (fireIntervalRemoved): Likewise.
6809 * javax/swing/DefaultSingleSelectionModel.java:
6811 (fireStateChanged): Simplified.
6812 * javax/swing/JPopupMenu.java
6813 (setSelectionModel): Set property.
6815 2005-02-15 Michael Koch <konqueror@gmx.de>
6817 * java/awt/print/Book.java: Reformatted.
6819 2005-02-15 Michael Koch <konqueror@gmx.de>
6821 * java/awt/geom/Area.java
6822 (QuadSegment.curveArea): Remove unused variables.
6823 (CubicSegment.curveArea): Likewise.
6825 2005-02-15 Michael Koch <konqueror@gmx.de>
6827 * javax/swing/JTree.java
6828 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6829 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6830 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6831 (EXPANDED): New constant.
6832 (COLLAPSED): Likewise.
6833 (nodeStates): New field.
6834 (cellEditor): New method.
6835 (cellRenderer): Likewise.
6836 (selectionModel): Likewise.
6837 (treeModel): Likewise.
6838 (scrollPathToVisible): Likewise.
6839 (scrollRowToVisible): Likewise.
6840 (isCollapsed): Likewise.
6841 (isExpanded): Likewise.
6842 (clearToggledPaths): Likewise.
6843 (getDescendantToggledPaths): Likewise.
6844 (hasBeenExpanded): Likewise.
6845 (isVisible): Likewise.
6846 (isPathEditable): Likewise.
6848 2005-02-15 Michael Koch <konqueror@gmx.de>
6850 * javax/swing/JLayeredPane.java: Reformatted.
6852 2005-02-15 Michael Koch <konqueror@gmx.de>
6854 * javax/swing/tree/DefaultMutableTreeNode.java:
6856 * javax/swing/tree/MutableTreeNode.java:
6859 2005-02-15 Michael Koch <konqueror@gmx.de>
6861 * javax/swing/JFormattedTextField.java
6862 (setDocument): Call setDocument of super class. Don't fire property
6865 2005-02-15 Sven de Marothy <sven@physto.se>
6867 * java/awt/image/IndexColorModel.java:
6868 Add FIXME with respect to alpha handling.
6869 (getAlpha): Default to returning opaque pixels.
6870 * java/awt/image/MultiPixelPackedSampleModel.java
6871 (MultiPixelPackedSampleModel): Corrected parameters, order of
6872 bit shifts and masks, stride length off by one.
6874 2005-02-15 Michael Koch <konqueror@gmx.de>
6876 * javax/swing/JList.java, javax/swing/JTree.java:
6877 Added much new methods and fixed much methods setting bound properties.
6879 2005-02-16 Mark Wielaard <mark@klomp.org>
6881 * Makefile.am (gnu_xml_source_files): Removed
6882 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6883 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6884 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6885 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6886 gnu/xml/dom/DomDocumentFragment.java,
6887 gnu/xml/dom/DomProcessingInstruction.java and
6888 gnu/xml/dom/ls/DomLSException.java.
6889 * Makefile.in: Regenerated.
6891 2005-02-16 Tom Tromey <tromey@redhat.com>
6893 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6894 attribute index is out of bounds.
6896 2005-02-16 Chris Burdess <dog@gnu.org>
6898 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6899 isDeclared methods. Improved performance of isSpecified methods.
6901 2005-02-16 Chris Burdess <dog@gnu.org>
6903 Fixes bug libgcj/19864
6904 * gnu/xml/dom/DomAttr.java,
6905 gnu/xml/dom/DomCDATA.java,
6906 gnu/xml/dom/DomCDATASection.java,
6907 gnu/xml/dom/DomCharacterData.java,
6908 gnu/xml/dom/DomDOMException.java,
6909 gnu/xml/dom/DomDoctype.java,
6910 gnu/xml/dom/DomDocument.java,
6911 gnu/xml/dom/DomDocumentConfiguration.java,
6912 gnu/xml/dom/DomDocumentFragment.java,
6913 gnu/xml/dom/DomElement.java,
6914 gnu/xml/dom/DomEx.java,
6915 gnu/xml/dom/DomFragment.java,
6916 gnu/xml/dom/DomImpl.java,
6917 gnu/xml/dom/DomIterator.java,
6918 gnu/xml/dom/DomNamedNodeMap.java,
6919 gnu/xml/dom/DomNode.java,
6920 gnu/xml/dom/DomNsNode.java,
6921 gnu/xml/dom/DomPI.java,
6922 gnu/xml/dom/DomProcessingInstruction.java,
6923 gnu/xml/dom/DomText.java,
6924 gnu/xml/dom/DomLSEx.java,
6925 gnu/xml/dom/DomLSException.java,
6926 gnu/xml/dom/DomLSParser.java,
6927 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6928 implementation class names to conform to Classpath guidelines. Make
6929 DomLSException use JDK 1.4+ exception chaining.
6930 * gnu/xml/util/SAXNullTransformerFactory.java,
6931 gnu/xml/xpath/Predicate.java: Use constants relative to
6932 declaring class or interface.
6934 2005-02-16 Andrew Haley <aph@redhat.com>
6936 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6937 null, create a new AccessControlContext.
6938 * java/security/SecureClassLoader.java (protectionDomainCache):
6940 (defineClass): Create a new protection domain and add it to our
6943 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6944 addStub() to keep track of the stub we've exported.
6945 (unexportObject): Call deleteStub().
6946 * java/rmi/server/RemoteObject.java (stubs): New field.
6947 (addStub): New method.
6948 (deleteStub): New method.
6951 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6952 true to findHelper (tryParents).
6953 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6955 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6956 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6958 If tryParents is false, don't scan parent class loaders.
6960 * java/security/Permissions.java (PermissionsHash.implies):
6961 Iterate over the collection and invoke implies() on each
6964 2005-02-16 Andrew Haley <aph@redhat.com>
6966 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6968 (PersistentByteMap): Set name
6969 Magic number changed to 0x67636a64 ("gcjd").
6970 (init): Force the map to be prime.
6971 (emptyPersistentByteMap): File name was a string, now a File.
6972 (addBytes): Share srings between entries.
6973 (stringTableSize): New method.
6974 (capacity): Scale by load factor.
6975 (force): New method.
6976 (getFile): New method.
6977 (close): New method.
6978 (putAll): New method.
6979 (ByteWrapper): New class.
6980 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6981 (main): Guess the average string size as 32, not 64.
6982 Copy a database before modifying it, so that we can update a
6983 database in a running system.
6984 If a database isn't big enough, resize it.
6985 "-m": new option: merges databases.
6986 "-a": Create a new detabase if it doesn't exist.
6987 (usage): Correct, add new option.
6988 (addJar): Copy a database before modifying it.
6989 (resizeMap): New method.
6991 2005-02-15 David Daney <ddaney@avtrex.com>
6992 Bryce McKinlay <mckinlay@redhat.com>
6994 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6995 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6996 ensure that GC threads inherit the new signal mask.
6997 (block_sigchld): Call JvFail rather than throwing exception if
6998 pthread_sigmask() fails.
7000 2005-02-15 Mark Wielaard <mark@klomp.org>
7002 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7003 file path elements are separated by spaces.
7005 2005-02-15 Mark Wielaard <mark@klomp.org>
7007 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7008 to describe attributes without a constant field value in this class.
7010 2005-02-15 Michael Koch <konqueror@gmx.de>
7012 * java/util/jar/Attributes.java
7013 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7015 2005-02-15 Mark Wielaard <mark@klomp.org>
7017 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7018 space for parsing CLASS_PATH attribute.
7020 2005-02-15 Mark Wielaard <mark@klomp.org>
7022 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7023 aside for "GCJLIBS" in directory where jarfiles are loaded.
7024 (JarURLLoader.getClass): Removed method.
7025 (JarURLLoader.toString): Removed method.
7026 (FileResource.toString): Removed method.
7028 2005-02-15 Mark Wielaard <mark@klomp.org>
7030 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7031 and/or cause before throwing.
7033 2005-02-15 Richard Henderson <rth@redhat.com>
7035 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7036 (libgcj0_convenience_la_SOURCES): ... here.
7037 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7038 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7039 * Makefile.in: Regenerate.
7041 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7044 * include/jawt.h: Likewise.
7045 * include/jawt_md.h: Likewise.
7046 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7048 * include/Makefile.in: Regenerate.
7049 * jni/classpath/classpath_jawt.h: Likewise.
7050 * jni/gtk-peer/gtk_jawt.c: Likewise.
7051 * Makefile.am: Build libjawt.so.
7052 * Makefile.in: Regenerate.
7054 2005-02-14 Tom Tromey <tromey@redhat.com>
7056 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7058 2005-02-14 Tom Tromey <tromey@redhat.com>
7060 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7061 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7063 2005-02-14 Tom Tromey <tromey@redhat.com>
7066 * testsuite/libjava.lang/PR19929.out: New file.
7067 * testsuite/libjava.lang/PR19929.java: New file.
7069 2005-02-14 Anthony Green <green@redhat.com>
7072 * testsuite/libjava.jni/PR18116.c: New file.
7073 * testsuite/libjava.jni/PR18116.java: New file.
7074 * testsuite/libjava.jni/PR18116.out: New file.
7076 2005-02-13 Anthony Green <green@redhat.com>
7079 * jni.cc (nathash_add): Don't strdup the method signature.
7080 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7084 2005-02-12 Mark Wielaard <mark@klomp.org>
7086 Fixes bug libgcj/8170
7087 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7088 ClassNotFoundException.
7089 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7090 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7091 (remove_internal): New field superceding remove_interpreter.
7092 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7093 Remove no-class methods starting with "_Jv_". And Replace null
7094 class or method names with the empty string. Stop at either the
7095 MainThread or a real Thread run() method.
7096 (newElement): Made static.
7097 * java/net/URLClassLoader.java (findClass): Throw
7098 ClassNotFoundExceptions including urls, plus parent using toString().
7099 (thisString): New field.
7100 (toString): New method.
7102 2005-02-10 Tom Tromey <tromey@redhat.com>
7104 * external/sax/Makefile.in: Rebuilt.
7105 * external/sax/Makefile.am (all-local): Removed.
7106 (BUILT_SOURCES): New variable.
7107 (mostlyclean-local): No error if no classes to delete.
7108 * external/w3c_dom/Makefile.in: Rebuilt.
7109 * external/w3c_dom/Makefile.am (all-local): Removed.
7110 (BUILT_SOURCES): New variable.
7111 (mostlyclean-local): No error if no classes to delete.
7113 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7115 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7116 of mauve and libjava.
7118 2005-02-09 Tom Tromey <tromey@redhat.com>
7120 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7121 jar file with OPEN_DELETE.
7122 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7123 OPEN_DELETE is used.
7125 2005-02-09 Tom Tromey <tromey@redhat.com>
7127 * java/util/zip/InflaterInputStream.java (markSupported):
7129 (mark, reset): Likewise.
7131 2005-02-08 Tom Tromey <tromey@redhat.com>
7133 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7134 name or port is missing.
7135 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7136 AUTHORITY_PORT_GROUP): Updated.
7138 2005-02-08 Tom Tromey <tromey@redhat.com>
7140 * configure: Rebuilt.
7141 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7144 2005-02-07 Tom Tromey <tromey@redhat.com>
7146 * java/lang/natRuntime.cc (insertSystemProperties): Set
7147 sun.boot.class.path earlier.
7149 2005-02-07 Tom Tromey <tromey@redhat.com>
7151 * defineclass.cc (handleClassBegin): Use
7152 _Jv_RegisterInitiatingLoader.
7153 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7154 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7155 class. Use _Jv_UnregisterInitiatingLoader.
7156 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7159 2005-02-07 Mark Wielaard <mark@klomp.org>
7161 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7162 java/util/regex/Matcher.java (lookingAt): Set position when match
7164 (matches): Implemented through lookingAt().
7166 2005-02-07 Mark Wielaard <mark@klomp.org>
7168 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7169 * java/util/regex/Pattern.java (split(CharSequence,int)):
7170 Fix while empties > 0 loops.
7172 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7174 * gnu/java/nio/charset/ISO_8859_1.java,
7175 gnu/java/nio/charset/US_ASCII.java,
7176 gnu/java/nio/charset/UTF_16.java,
7177 gnu/java/nio/charset/UTF_16_LE.java,
7178 gnu/java/nio/charset/UTF_16_BE.java,
7179 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7180 and aliases according to
7181 "http://www.iana.org/assignments/character-sets",
7182 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7183 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7184 * gnu/java/nio/charset/Provider.java: Made charset lookup
7185 case-insensitive which fixes bug #11740.
7187 2005-02-07 Tom Tromey <tromey@redhat.com>
7190 * Makefile.in: Rebuilt.
7191 * Makefile.am (src.zip): New target.
7192 (install-src.zip): Likewise.
7193 (sourcesdir): New variable.
7195 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7197 * javax/imageio/metadata/IIOMetadataNode.java:
7199 * javax/imageio/metadata/IIOAttr.java,
7200 javax/imageio/metadata/IIONamedNodeMap.java,
7201 javax/imageio/metadata/IIONodeList.java:
7204 2005-02-06 Graydon Hoare <graydon@redhat.com>
7206 * gnu/java/awt/ClasspathToolkit.java
7207 (registerImageIOSpis): New method.
7208 * javax/imageio/ImageIO.java
7209 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7210 (WriterMIMETypeFilter.filter): Likewise.
7211 (ImageReaderIterator): Pass extension argument through to SPI.
7212 (getReadersByFilter): Likewise.
7213 (getWritersByFilter): Likewise.
7214 (getImageReadersByFormatName): Likewise.
7215 (getImageReadersByMIMEType): Likewise.
7216 (getImageReadersBySuffix): Likewise.
7217 (getImageWritersByFormatName): Likewise.
7218 (getImageWritersByMIMEType): Likewise.
7219 (getImageWritersBySuffix): Likewise.
7222 * javax/imageio/ImageReader.java
7223 (progressListeners): Initialize.
7224 (setInput): Implement.
7225 * javax/imageio/ImageWriter.java
7226 (progressListeners): Initialize.
7227 (warningListeners): Likewise.
7228 (warningLocales): Likewise.
7229 (setOutput): Test "isInstance" rather than class equality.
7230 * javax/imageio/spi/IIORegistry.java
7231 (static): Add reader and writer SPIs.
7232 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7234 2005-02-06 Michael Koch <konqueror@gmx.de>
7236 * javax/imageio/metadata/IIOInvalidTreeException.java
7237 (IIOInvalidTreeException): Reformatted.
7238 * javax/imageio/spi/IIORegistry.java
7239 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7240 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7241 Reworked import statements.
7243 2005-02-06 Michael Koch <konqueror@gmx.de>
7245 * javax/imageio/stream/FileImageOutputStream.java:
7248 2005-02-06 Michael Koch <konqueror@gmx.de>
7250 * javax/imageio/stream/FileCacheImageInputStream.java,
7251 javax/imageio/stream/FileCacheImageOutputStream.java,
7252 javax/imageio/stream/FileImageInputStream.java,
7253 javax/imageio/stream/ImageInputStreamImpl.java,
7254 javax/imageio/stream/ImageOutputStreamImpl.java,
7255 javax/imageio/stream/MemoryCacheImageInputStream.java,
7256 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7257 Added all missing methods in javax.imageio.stream.
7259 2005-02-02 David Daney <ddaney@avtrex.com>
7261 * java/net/InetAddress.java (InetAddress): Make a private copy of
7263 * java/net/Inet4Address.java (getAddress): Return a copy of the
7265 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7267 (getAddress): Return a copy of the address.
7270 2005-02-02 Tom Tromey <tromey@redhat.com>
7272 * Makefile.in: Rebuilt.
7273 * Makefile.am (classes.stamp): New target, broken out from
7275 ($(all_java_class_files)): Depend on it.
7276 (libgcj-@gcc_version@.jar): Likewise.
7277 (all-recursive): Likewise.
7278 (CLEANFILES): Include classes.stamp.
7280 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7282 * link.cc: Include <stdio.h>
7284 2005-02-02 Tom Tromey <tromey@redhat.com>
7287 * Makefile.in: Rebuilt.
7288 * Makefile.am (ordinary_java_source_files): Added new class.
7289 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7290 Use system_instance, not instance.
7291 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7292 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7294 (system_instance): New field.
7295 (initialize): Initialize the system loader as well.
7296 (VMClassLoader): Default to LIB_CACHE.
7298 2005-02-02 Tom Tromey <tromey@redhat.com>
7300 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7301 * prims.cc: Fixed comment.
7303 2005-02-01 Tom Tromey <tromey@redhat.com>
7305 * Makefile.in: Rebuilt.
7306 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7307 (.java.class): Use BOOTCLASSPATH.
7309 2005-02-01 Tom Tromey <tromey@redhat.com>
7311 * external/w3c_dom/Makefile.am: New file.
7312 * external/w3c_dom/Makefile.in: New file.
7313 * external/sax/Makefile.am: New file.
7314 * external/sax/Makefile.in: New file.
7315 * external/Makefile.in: New file.
7316 * external/Makefile.am: New file.
7317 * external/README: New file from Classpath.
7318 * configure, aclocal.m4, Makefile.in: Rebuilt.
7319 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7320 * Makefile.am (SUBDIRS): Added external.
7321 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7322 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7323 (BOOTCLASSPATH): New variable.
7324 (AM_GCJFLAGS): Use it.
7325 (gnu_xml_source_files): New variable.
7326 (libgcj_la_SOURCES): Use it.
7327 (libgcj_la_LDADD): Include new convenience libraries.
7328 (lib_org_ietf_jgss_la_SOURCES): Removed.
7329 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7330 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7331 (lib_org_w3c_dom_la_SOURCES): Removed.
7332 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7333 (lib_org_w3c_dom_la_LIBADD): Likewise.
7334 (lib_org_xml_sax_la_SOURCES): Removed.
7335 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7336 (lib_org_xml_sax_la_LIBADD): Likewise.
7337 (all_java_source_files): Updated.
7338 (property_files): Likewise.
7339 (libgcj-@gcc_version@.jar): Include classes from external/.
7340 (javax_source_files): Updated.
7341 (ordinary_java_source_files): Updated.
7342 * javax/xml/XMLConstants.java,
7343 javax/xml/datatype/DatatypeConfigurationException.java,
7344 javax/xml/datatype/DatatypeConstants.java,
7345 javax/xml/datatype/DatatypeFactory.java,
7346 javax/xml/datatype/Duration.java,
7347 javax/xml/datatype/XMLGregorianCalendar.java,
7348 javax/xml/datatype/package.html,
7349 javax/xml/namespace/NamespaceContext.java,
7350 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7351 javax/xml/parsers/DocumentBuilder.java,
7352 javax/xml/parsers/DocumentBuilderFactory.java,
7353 javax/xml/parsers/FactoryConfigurationError.java,
7354 javax/xml/parsers/ParserConfigurationException.java,
7355 javax/xml/parsers/SAXParser.java,
7356 javax/xml/parsers/SAXParserFactory.java,
7357 javax/xml/parsers/package.html,
7358 javax/xml/transform/ErrorListener.java,
7359 javax/xml/transform/OutputKeys.java,
7360 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7361 javax/xml/transform/SourceLocator.java,
7362 javax/xml/transform/Templates.java,
7363 javax/xml/transform/Transformer.java,
7364 javax/xml/transform/TransformerConfigurationException.java,
7365 javax/xml/transform/TransformerException.java,
7366 javax/xml/transform/TransformerFactory.java,
7367 javax/xml/transform/TransformerFactoryConfigurationError.java,
7368 javax/xml/transform/URIResolver.java,
7369 javax/xml/transform/package.html,
7370 javax/xml/transform/dom/DOMLocator.java,
7371 javax/xml/transform/dom/DOMResult.java,
7372 javax/xml/transform/dom/DOMSource.java,
7373 javax/xml/transform/dom/package.html,
7374 javax/xml/transform/sax/SAXResult.java,
7375 javax/xml/transform/sax/SAXSource.java,
7376 javax/xml/transform/sax/SAXTransformerFactory.java,
7377 javax/xml/transform/sax/TemplatesHandler.java,
7378 javax/xml/transform/sax/TransformerHandler.java,
7379 javax/xml/transform/sax/package.html,
7380 javax/xml/transform/stream/StreamResult.java,
7381 javax/xml/transform/stream/StreamSource.java,
7382 javax/xml/transform/stream/package.html,
7383 javax/xml/validation/Schema.java,
7384 javax/xml/validation/SchemaFactory.java,
7385 javax/xml/validation/TypeInfoProvider.java,
7386 javax/xml/validation/Validator.java,
7387 javax/xml/validation/ValidatorHandler.java,
7388 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7389 javax/xml/xpath/XPathConstants.java,
7390 javax/xml/xpath/XPathException.java,
7391 javax/xml/xpath/XPathExpression.java,
7392 javax/xml/xpath/XPathExpressionException.java,
7393 javax/xml/xpath/XPathFactory.java,
7394 javax/xml/xpath/XPathFactoryConfigurationException.java,
7395 javax/xml/xpath/XPathFunction.java,
7396 javax/xml/xpath/XPathFunctionException.java,
7397 javax/xml/xpath/XPathFunctionResolver.java,
7398 javax/xml/xpath/XPathVariableResolver.java,
7399 javax/xml/xpath/package.html: New files, from GNU JAXP.
7400 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7401 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7402 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7403 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7404 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7405 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7406 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7407 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7408 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7409 org/w3c/dom/ranges/DocumentRange.java,
7410 org/w3c/dom/ranges/Range.java,
7411 org/w3c/dom/ranges/RangeException.java,
7412 org/w3c/dom/traversal/DocumentTraversal.java,
7413 org/w3c/dom/traversal/NodeFilter.java,
7414 org/w3c/dom/traversal/NodeIterator.java,
7415 org/w3c/dom/traversal/TreeWalker.java,
7416 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7417 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7418 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7419 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7420 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7421 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7422 org/xml/sax/SAXNotRecognizedException.java,
7423 org/xml/sax/SAXNotSupportedException.java,
7424 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7425 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7426 org/xml/sax/ext/DeclHandler.java,
7427 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7428 org/xml/sax/helpers/AttributeListImpl.java,
7429 org/xml/sax/helpers/AttributesImpl.java,
7430 org/xml/sax/helpers/DefaultHandler.java,
7431 org/xml/sax/helpers/LocatorImpl.java,
7432 org/xml/sax/helpers/NamespaceSupport.java,
7433 org/xml/sax/helpers/NewInstance.java,
7434 org/xml/sax/helpers/ParserAdapter.java,
7435 org/xml/sax/helpers/ParserFactory.java,
7436 org/xml/sax/helpers/XMLFilterImpl.java,
7437 org/xml/sax/helpers/XMLReaderAdapter.java,
7438 org/xml/sax/helpers/XMLReaderFactory.java,
7439 org/xml/sax/helpers/package.html: Moved to external/.
7440 * external/sax/README,
7441 external/sax/org/xml/sax/AttributeList.java,
7442 external/sax/org/xml/sax/Attributes.java,
7443 external/sax/org/xml/sax/ContentHandler.java,
7444 external/sax/org/xml/sax/DTDHandler.java,
7445 external/sax/org/xml/sax/DocumentHandler.java,
7446 external/sax/org/xml/sax/EntityResolver.java,
7447 external/sax/org/xml/sax/ErrorHandler.java,
7448 external/sax/org/xml/sax/HandlerBase.java,
7449 external/sax/org/xml/sax/InputSource.java,
7450 external/sax/org/xml/sax/Locator.java,
7451 external/sax/org/xml/sax/Parser.java,
7452 external/sax/org/xml/sax/SAXException.java,
7453 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7454 external/sax/org/xml/sax/SAXNotSupportedException.java,
7455 external/sax/org/xml/sax/SAXParseException.java,
7456 external/sax/org/xml/sax/XMLFilter.java,
7457 external/sax/org/xml/sax/XMLReader.java,
7458 external/sax/org/xml/sax/package.html,
7459 external/sax/org/xml/sax/ext/Attributes2.java,
7460 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7461 external/sax/org/xml/sax/ext/DeclHandler.java,
7462 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7463 external/sax/org/xml/sax/ext/EntityResolver2.java,
7464 external/sax/org/xml/sax/ext/LexicalHandler.java,
7465 external/sax/org/xml/sax/ext/Locator2.java,
7466 external/sax/org/xml/sax/ext/Locator2Impl.java,
7467 external/sax/org/xml/sax/ext/package.html,
7468 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7469 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7470 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7471 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7472 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7473 external/sax/org/xml/sax/helpers/NewInstance.java,
7474 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7475 external/sax/org/xml/sax/helpers/ParserFactory.java,
7476 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7477 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7478 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7479 external/sax/org/xml/sax/helpers/package.html,
7480 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7481 external/w3c_dom/org/w3c/dom/Attr.java,
7482 external/w3c_dom/org/w3c/dom/CDATASection.java,
7483 external/w3c_dom/org/w3c/dom/CharacterData.java,
7484 external/w3c_dom/org/w3c/dom/Comment.java,
7485 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7486 external/w3c_dom/org/w3c/dom/DOMError.java,
7487 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7488 external/w3c_dom/org/w3c/dom/DOMException.java,
7489 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7490 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7491 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7492 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7493 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7494 external/w3c_dom/org/w3c/dom/Document.java,
7495 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7496 external/w3c_dom/org/w3c/dom/DocumentType.java,
7497 external/w3c_dom/org/w3c/dom/Element.java,
7498 external/w3c_dom/org/w3c/dom/Entity.java,
7499 external/w3c_dom/org/w3c/dom/EntityReference.java,
7500 external/w3c_dom/org/w3c/dom/NameList.java,
7501 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7502 external/w3c_dom/org/w3c/dom/Node.java,
7503 external/w3c_dom/org/w3c/dom/NodeList.java,
7504 external/w3c_dom/org/w3c/dom/Notation.java,
7505 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7506 external/w3c_dom/org/w3c/dom/Text.java,
7507 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7508 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7509 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7510 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7511 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7512 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7513 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7514 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7515 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7516 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7517 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7518 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7519 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7520 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7521 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7522 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7523 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7524 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7525 external/w3c_dom/org/w3c/dom/css/Counter.java,
7526 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7527 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7528 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7529 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7530 external/w3c_dom/org/w3c/dom/css/Rect.java,
7531 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7532 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7533 external/w3c_dom/org/w3c/dom/events/Event.java,
7534 external/w3c_dom/org/w3c/dom/events/EventException.java,
7535 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7536 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7537 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7538 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7539 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7540 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7541 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7542 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7543 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7544 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7545 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7546 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7547 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7548 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7549 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7550 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7551 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7552 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7553 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7554 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7555 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7556 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7557 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7558 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7559 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7560 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7561 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7562 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7563 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7564 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7565 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7566 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7567 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7568 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7569 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7570 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7571 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7572 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7573 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7574 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7575 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7576 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7577 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7578 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7579 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7580 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7581 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7582 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7583 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7584 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7585 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7586 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7587 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7588 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7589 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7590 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7591 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7592 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7593 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7594 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7595 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7596 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7597 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7598 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7599 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7600 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7601 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7602 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7603 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7604 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7605 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7606 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7607 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7608 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7609 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7610 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7611 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7612 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7613 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7614 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7615 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7616 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7617 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7618 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7619 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7620 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7621 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7622 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7623 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7624 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7625 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7626 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7629 2005-01-31 Anthony Green <green@redhat.com>
7631 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7632 Support IP_MULTICAST_LOOP.
7633 (setOption): Support IP_MULTICAST_LOOP.
7635 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7636 SO_REUSEADDR support.
7637 (getOption): Support SO_REUSEADDR.
7639 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7642 * java/util/Date.java
7643 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7645 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7647 (getTimezoneOffset): Inverted sign.
7649 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7651 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7652 remove other passing tests and add new XFAILs.
7654 2005-01-24 Tom Tromey <tromey@redhat.com>
7656 * java/lang/Class.h (next): Updated documentation. Renamed to
7658 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7659 _Jv_CheckABIVersion.
7660 (_Jv_RegisterClasses_Counted): Likewise.
7661 (_Jv_RegisterClassHookDefault): Fix starting condition of
7662 duplicate-checking loop.
7663 * include/jvm.h (GCJ_VERSION): New define.
7664 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7665 (_Jv_CheckABIVersion): New function.
7667 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7669 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7670 (libgij_la_LDFLAGS): Add.
7671 * Makefile.in: Rebuilt.
7673 2005-01-24 Roger Sayle <roger@eyesopen.com>
7676 * testsuite/libjava.compile/PR19295.java: New test case.
7678 2005-01-19 Tom Tromey <tromey@redhat.com>
7680 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7681 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7682 if 'handler' is valid.
7684 2005-01-17 Tom Tromey <tromey@redhat.com>
7686 * java/text/MessageFormat.java (scanString): Changed how quoting
7688 (scanFormatElement): Likewise.
7690 2004-12-07 Mark Wielaard <mark@klomp.org>
7692 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7694 2005-01-15 Michael Koch <konqueror@gmx.de>
7698 (AUTHORITY_REGEXP): New regexp constant.
7699 (AUTHORITY_USERINFO_GROUP): New constant.
7700 (AUTHORITY_HOST_GROUP): Likewise.
7701 (AUTHORITY_PORT_GROUP): Likewise.
7702 (port): Changed default value to -1.
7703 (parseURI): Parse authority part and initialize host,
7706 2005-01-14 Robin Green <greenrd@greenrd.org>
7708 * java/io/File.java (toURI): Generate a URI which we understand.
7710 2005-01-13 Graydon Hoare <graydon@redhat.com>
7712 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7713 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7714 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7715 * jni.cc: Reuse bottom frame between calls, avoid clearing
7716 frame when no local references are made.
7718 2005-01-13 Michael Koch <konqueror@gmx.de>
7721 * java/lang/Thread.java
7722 (Thread): Call checkAccess().
7723 (stop): Fixed argument name to match javadoc.
7724 * java/lang/natThread.cc
7725 (interrupt): Call checkAccess().
7728 2005-01-11 Michael Koch <konqueror@gmx.de>
7731 * java/net/URL.java (URL): Handle specs like
7732 "/redir?http://domain2.com/index.html" which start with a slash.
7734 2005-01-11 Michael Koch <konqueror@gmx.de>
7736 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7737 * gnu/java/net/BASE64.java,
7738 gnu/java/net/EmptyX509TrustManager.java,
7739 gnu/java/net/LineInputStream.java,
7740 gnu/java/net/protocol/http/Authenticator.java,
7741 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7742 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7743 gnu/java/net/protocol/http/ChunkedInputStream.java,
7744 gnu/java/net/protocol/http/Cookie.java,
7745 gnu/java/net/protocol/http/CookieManager.java,
7746 gnu/java/net/protocol/http/Credentials.java,
7747 gnu/java/net/protocol/http/HTTPConnection.java,
7748 gnu/java/net/protocol/http/HTTPDateFormat.java,
7749 gnu/java/net/protocol/http/HTTPURLConnection.java,
7750 gnu/java/net/protocol/http/Headers.java,
7751 gnu/java/net/protocol/http/Request.java,
7752 gnu/java/net/protocol/http/RequestBodyWriter.java,
7753 gnu/java/net/protocol/http/Response.java,
7754 gnu/java/net/protocol/http/ResponseBodyReader.java,
7755 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7756 gnu/java/net/protocol/http/SimpleCookieManager.java,
7757 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7758 gnu/java/net/protocol/http/event/ConnectionListener.java,
7759 gnu/java/net/protocol/http/event/RequestEvent.java,
7760 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7761 * gnu/java/net/protocol/http/Connection.java: Removed.
7762 * gnu/java/net/protocol/http/Handler.java,
7763 javax/net/ssl/HttpsURLConnection.java: Updated.
7764 * Makefile.am: Added new files and remove old ones.
7765 * Makefile.in: Regenerated.
7767 2005-01-11 Tom Tromey <tromey@redhat.com>
7770 * java/io/BufferedInputStream.java (read): Repeatedly read to
7772 (refill): Change test to see if buffer must be grown.
7774 2005-01-10 Tom Tromey <tromey@redhat.com>
7776 * mauve-libgcj: Exclude some swing tests.
7778 2005-01-10 Tom Tromey <tromey@redhat.com>
7780 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7781 * java/lang/Package.java (getPackages): Use VMClassLoader when
7783 (getPackage): Likewise.
7784 * prims.cc (_Jv_CreateJavaVM): Call
7785 _Jv_RegisterBootstrapPackages.
7786 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7787 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7788 (getPackages): Likewise.
7789 (definedPackages): New field.
7790 (definePackageForNative): New method.
7791 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7792 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7793 * defineclass.cc (handleClassBegin): Use
7794 ClassLoader.findLoadedClass.
7795 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7797 (struct _Jv_LoaderInfo): Removed.
7798 (initiated_classes): Likewise.
7799 (_Jv_UnregisterClass): Don't use initiated_classes.
7800 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7801 (_Jv_FindClass): Register classes found during boostrap.
7802 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7803 (bootstrap_class_list): New global.
7804 (bootstrap_index): Likewise.
7805 (_Jv_RegisterBootstrapPackages): New function.
7806 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7807 definePackageForNative.
7808 (findClass): Updated.
7809 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7812 2005-01-10 Tom Tromey <tromey@redhat.com>
7815 * include/jvm.h (_Jv_Linker::find_field): Declare.
7816 (_Jv_Linker::find_field_helper): Likewise.
7817 * link.cc (find_field_helper): New method.
7818 (find_field): Likewise.
7819 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7821 (link_symbol_table): Use find_field.
7823 2005-01-10 Michael Koch <konqueror@gmx.de>
7826 * java/util/Locale.java (Locale): Don't uppercase variant.
7827 (getISOCountries): Fixed typo in javadoc.
7829 2005-01-10 Michael Koch <konqueror@gmx.de>
7831 * java/util/SimpleTimeZone.java (checkRule):
7832 Throw IllegalArgumentException on invalid month values.
7833 * java/util/TimeZone.java (setID):
7834 Throw NullPointerException if needed.
7836 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7838 * java/util/SimpleTimeZone.java (getOffset):
7839 offset end date with daylight savings
7841 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7843 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7844 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7846 2005-01-09 Michael Koch <konqueror@gmx.de>
7849 * java/net/InetAddress.java (getLocalHost):
7850 Throw UnknownHostException if local hostname cannot be determined.
7852 2005-01-06 Tom Tromey <tromey@redhat.com>
7854 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7856 2005-01-07 Michael Koch <konqueror@gmx.de>
7859 * java/nio/Buffer.java (address): New field.
7860 * java/nio/DirectByteBufferImpl.java (address): Removed.
7861 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7862 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7863 Explicitly initialize Buffer.address if needed.
7864 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7865 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7866 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7867 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7868 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7869 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7870 DirectByteBufferImpl object.
7871 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7872 * testsuite/libjava.jni/directbuffer.c,
7873 testsuite/libjava.jni/directbuffer.java,
7874 testsuite/libjava.jni/directbuffer.out,
7875 testsuite/libjava.jni/bytebuffer.c,
7876 testsuite/libjava.jni/bytebuffer.java,
7877 testsuite/libjava.jni/bytebuffer.out: New files.
7879 2005-01-05 Tom Tromey <tromey@redhat.com>
7881 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7883 (compressedSize): Now 'long'. Default to -1.
7884 (getCompressedSize): Rewrote.
7885 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7886 deflate at all if we need input.
7888 2005-01-05 Tom Tromey <tromey@redhat.com>
7891 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7894 2005-01-05 Tom Tromey <tromey@redhat.com>
7896 * java/lang/natRuntime.cc (insertSystemProperties): Set
7897 java.ext.dirs earlier.
7899 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7901 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7902 sync_info element of the object if needed.
7904 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7906 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7907 a non-zero exit status from 'false'.
7909 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7911 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.