1 2005-07-08 Andrew Haley <aph@redhat.com>
3 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
4 (regular, non-realtime scheduling), not SCHED_RR (realtime,
7 2005-07-07 Aaron Luchko <aluchko@redhat.com>
9 * gnu/classpath/jdwp/util/Signature.java
10 (computeFieldSignature): New Method.
12 2005-07-07 Aaron Luchko <aluchko@redhat.com>
14 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
17 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
19 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
20 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
22 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
24 * testsuite/libjava.compile/PR21045.java: New test.
25 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
26 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
28 2005-07-06 Tom Tromey <tromey@redhat.com>
30 * java/io/InputStreamReader.java (refill): Handle no-progress
32 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
34 2005-07-06 Tom Tromey <tromey@redhat.com>
36 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
38 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
40 * testsuite/libjava.compile/PR19674.java: New test.
42 2005-07-05 Aaron Luchko <aluchko@redhat.com>
44 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
47 2005-07-04 Aaron Luchko <aluchko@redhat.com>
49 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
50 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
51 CommandSets to handle JdwpCommandPackets.
52 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
55 2005-07-01 Tom Tromey <tromey@redhat.com>
57 * libtool-version: Updated.
59 2005-06-30 Aaron Luchko <aluchko@redhat.com>
61 * gnu/classpath/jdwp/util/JdwpString.java: New file.
63 2005-06-30 Keith Seitz <keiths@redhat.com>
65 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
66 (myWrite): New abstract method.
69 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
71 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
73 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
74 JdwpPacket.write instead of JdwpPacket.toBytes.
76 2005-06-30 Keith Seitz <keiths@redhat.com>
78 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
81 (_doStream): New member.
82 (JdwpConnection): Initialize new members.
84 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
86 * all files: Update for new FSF address.
88 2005-06-29 Tom Tromey <tromey@redhat.com>
91 * testsuite/libjava.lang/pr22211.java: New file.
92 * java/lang/natThread.cc (finish_): Synchronize when updating
94 (_Jv_AttachCurrentThread): Likewise.
95 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
96 * java/lang/Thread.java (isAlive): Now synchronized.
98 2005-06-29 Tom Tromey <tromey@redhat.com>
100 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
103 2005-06-28 Robin Green <greenrd@greenrd.org>
106 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
109 2005-06-27 Tom Tromey <tromey@redhat.com>
111 PR java/21540, PR java/13788:
112 * testsuite/libjava.compile/pr21540.java: New file.
113 * testsuite/libjava.compile/pr13788.java: New file.
114 * testsuite/libjava.jacks/jacks.xfail: Updated.
116 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
118 * testsuite/libjava.mauve/xfails: Updated to reflect current state
119 of mauve and libjava.
121 2005-06-24 Tom Tromey <tromey@redhat.com>
123 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
124 where class' name is NULL.
125 (_Jv_FindClass): Don't wait for class state.
126 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
128 * include/java-interp.h (_Jv_DefineClass): Updated.
129 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
130 (struct _Jv_ClassReader): Likewise.
131 (found_name): New field.
132 (handleClassBegin): Set *found_name.
133 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
134 (handleClassBegin): Throw error if super class not set.
135 (read_methods): Correctly call check_tag and prepare_pool_entry.
137 2005-06-24 Tom Tromey <tromey@redhat.com>
139 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
141 2005-06-24 Tom Tromey <tromey@redhat.com>
143 * verify.cc (verify_instructions_0): Correctly handle situation
144 where PC falls off end.
146 2005-06-24 Tom Tromey <tromey@redhat.com>
148 * interpret.cc (compile): Handle case where table entry is
151 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
153 * testsuite/libjava.compile/PR20697.java: New test-case.
155 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
157 * Makefile.am (SUBDIRS): Use append for conditional.
158 (toolexeclib_LTLIBRARIES): Likewise.
159 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
160 a conditional append.
161 * Makefile.in: Regenerate.
163 2005-06-17 Keith Seitz <keiths@redhat.com>
165 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
166 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
167 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
169 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
170 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
172 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
173 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
174 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
175 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
177 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
178 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
180 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
182 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
183 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
184 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
185 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
186 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
187 * Makefile.in: Regenerate.
189 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
191 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
192 (USING_POSIX_PLATFORM): ... here.
193 * Makefile.am: Delete USING_ECOS_PLATFORM.
194 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
195 external/Makefile.in, external/sax/Makefile.in,
196 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
198 2005-06-15 Tom Tromey <tromey@redhat.com>
201 * testsuite/libjava.lang/pr17536.java: New file.
202 * testsuite/libjava.lang/pr17536.out: New file.
204 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
207 * gnu/java/net/protocol/http/HTTPURLConnection.java
208 (getHeaderFieldKey): Check index.
210 2005-06-15 Tom Tromey <tromey@redhat.com>
213 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
215 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
216 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
218 (append_partial_itable): Use it.
219 (set_vtable_entries): Likewise.
221 2005-06-15 Tom Tromey <tromey@redhat.com>
223 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
224 last_was_sep in loop.
226 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
228 * configure.host: Handle Solaris 10/x86.
230 2005-06-14 Keith Seitz <keiths@redhat.com>
232 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
233 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
235 2005-06-14 Keith Seitz <keiths@redhat.com>
237 * gnu/classpath/jdwp/id/ArrayId.java: New file.
238 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
239 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
240 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
241 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
242 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
243 * gnu/classpath/jdwp/id/JdwpId.java: New file.
244 * gnu/classpath/jdwp/id/ObjectId.java: New file.
245 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
246 * gnu/classpath/jdwp/id/StringId.java: New file.
247 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
248 * gnu/classpath/jdwp/id/ThreadId.java: New file.
250 2005-06-14 Tom Tromey <tromey@redhat.com>
253 * configure, aclocal.m4, Makefile.in: Rebuilt.
255 2005-06-14 Tom Tromey <tromey@redhat.com>
257 * java/lang/Class.java (getClasses): New method.
258 (internalGetClasses): Likewise.
259 (getClassLoader): Updated documentation.
260 (getDeclaredClasses): New overload; old overload no longer
262 (_getConstructors): Removed.
263 (resourcePath): Updated.
264 * java/lang/natClass.cc (getClasses): Removed.
265 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
267 (_getConstructors): Removed.
269 2005-06-13 Jim Huang <jserv@kaffe.org>
272 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
273 (_Jv_JNI_NewObject): Likewise.
275 2005-06-13 Tom Tromey <tromey@redhat.com>
278 * testsuite/libjava.lang/pr21844.java: New file.
279 * testsuite/libjava.lang/pr21844.out: New file.
281 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
284 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
287 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
289 * java/text/MessageFormat.java (parse): When parsing strings, check
290 for an empty pattern trailer.
292 2005-06-06 Keith Seitz <keiths@redhat.com>
294 * gnu/classpath/jdwp/util/Signature.java: New file.
295 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
297 2005-06-05 Anthony Green <green@redhat.com>
299 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
302 2005-06-04 Anthony Green <green@redhat.com>
304 * java/net/URLClassLoader.java: import gnu.gcj.Core,
305 and gnu.java.net.protocol.core.CoreInputStream.
306 (CureURLLoader): New class.
307 (CoreResource): New class.
308 (addURLImpl): Add special treatment for the "core" protocol.
309 * gnu/gcj/natCore.cc (find): New method.
310 * gnu/gcj/Core.java (find): New method.
312 2005-06-03 Keith Seitz <keiths@redhat.com>
314 * gnu/classpath/jdwp/transport/ITransport.java: New file.
315 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
316 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
318 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
320 * jawt.c: Remove malloc.h, covered by stdlib.h.
322 * testsuite/libjava.jni/jni.exp
323 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
326 2005-06-02 Keith Seitz <keiths@redhat.com>
328 * gnu/classpath/jdwp/transport/TransportException.java: New file.
330 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
332 * mauve-libgcj: Remove implemented classes from the fail section.
333 Add two new not implemented to it.
335 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
337 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
338 AC_SUBST definition from configure.host.
339 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
340 to -fomit-frame-pointer on 32-bit x86 targets.
342 2005-06-01 Tom Tromey <tromey@redhat.com>
344 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
346 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
349 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
350 (static): Add possessive matching to JAVA_1_4 syntax.
351 * gnu/regexp/RETokenRepeated.java (possessive): New field.
352 (makePossessive, isPossessive): New methods.
353 (match): Don't back off during possessive matching.
354 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
355 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
358 2005-06-01 Keith Seitz <keiths@redhat.com>
360 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
361 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
362 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
364 2005-06-01 Tom Tromey <tromey@redhat.com>
367 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
368 (currentLoader): New method.
369 * java/io/ObjectInputStream.java (resolveProxyClass): Use
371 (currentLoader): Now native.
372 (currentClassLoader): Removed.
373 * testsuite/libjava.lang/pr21785.java: New file.
374 * testsuite/libjava.lang/pr21785.out: New file.
376 2005-06-01 Tom Tromey <tromey@redhat.com>
379 * java/lang/natString.cc (substring): Changed sharing heuristic.
381 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
384 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
385 MAXPATHLEN. Format exception message using a StringBuffer instead.
387 2005-05-29 Michael Koch <konqueror@gmx.de>
390 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
392 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
394 * ChangeLog: Fix typo.
396 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
398 Testsuite adjustments for PR java/19870.
399 * testsuite/libjava.lang/PR19870.java: New testcase.
400 * testsuite/libjava.lang/PR19870.out: Expected output for the
402 * testsuite/libjava.jacks/jacks.xfail: Add
403 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
406 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
408 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
409 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
410 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
412 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
413 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
414 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
415 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
417 2005-05-25 Richard Henderson <rth@redhat.com>
420 * sysdep/descriptor-n.h: New file.
421 * sysdep/descriptor-y.h: New file.
422 * sysdep/powerpc/descriptor.h: New file.
423 * configure.host: Set $descriptor_h appropriate for the host.
424 * configure.ac: Link it.
425 * configure: Regenerate.
426 * stacktrace.cc: Include sysdep/descriptor.h.
427 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
429 2005-05-25 Chris Burdess <dog@gnu.org>
431 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
432 end entity callbacks.
434 2005-05-24 Gary Benson <gbenson@redhat.com>
437 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
438 Handle DateFormat.DEFAULT case correctly.
440 2005-05-21 Tom Tromey <tromey@redhat.com>
443 * java/lang/ref/natReference.cc (find_slot): Handle case where
444 table has no NULL entries.
445 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
446 table has no NULL entries.
448 2005-05-22 Andreas Jaeger <aj@suse.de>
450 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
453 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
455 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
457 2005-05-19 Richard Henderson <rth@redhat.com>
459 * exception.cc: Revert 05-17 gcc_unreachable change.
461 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
463 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
464 _Jv_RegisterInitiatingLoader to register array classes, not
466 (_Jv_RegisterInitiatingLoader): Give up if called very early during
467 bootstrapping. Add a FIXME to handle this case better.
469 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
471 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
473 (libgcj_la_SOURCES): New. Move sources here.
474 (libgcj.la): Remove rule.
476 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
479 * gnu/java/security/provider/DSASignature.java: Import updates
482 2005-05-18 Anthony Green <green@redhat.com>
484 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
485 classpath_jawt_object_unlock, classpath_jawt_create_lock,
486 classpath_jawt_destroy_lock): New functions.
487 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
488 classpath_jawt_object_unlock, classpath_jawt_create_lock,
489 classpath_jawt_destroy_lock): New functions.
490 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
492 * jawt.c: #include malloc.h.
493 (_Jv_Lock): Use lock.
495 (_Jv_GetDrawingSurface): Initialize lock.
496 (_Jv_FreeDrawingSurface): Destroy lock.
497 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
499 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
501 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
502 * Makefile.in: Regenerate.
504 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
506 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
507 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
508 * aclocal.m4, configure, config.h.in, include/config.h.in,
509 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
510 external/Makefile.in, external/sax/Makefile.in,
511 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
513 2005-05-17 David Daney <ddaney@avtrex.com>
516 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
518 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
520 * exception.cc (abort): Remove std::abort hack.
521 (gcc_unreacheable): Define.
523 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
525 * Makefile.am (Makefile.deps): Do not create native.list and
527 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
528 * Makefile.in: Regenerate.
530 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
532 * configure.ac (--enable-libgcj-multifile): Remove.
534 * Makefile.am (all_native_compiled_source_files,
535 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
536 all_libgcj_lo_files, all_xlib_lo_files,
537 all_java_deps_files, all_java_stamp_files,
538 all_java_filelist_files): New variables.
539 (EXTRA_DIST): New Automake variable.
540 (CLEANFILES): Add .stamp, .list and .lo files.
541 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
542 (classes.stamp): Depend on $(all_java_stamp_files).
543 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
544 going through write_entries_to_file.
546 (all_java_source_files, all_property_files): Move earlier.
547 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
548 all_java_class_files): Remove.
549 (gtk_awt_peer_sources): Rename to...
550 (gtk_awt_peer_source_files): ... this. Adjust throughout.
553 (libgcj0_convenience_la_SOURCES): Remove Java source files.
554 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
555 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
556 (libgcj_la_SOURCES): Remove.
557 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
558 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
559 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
561 * configure: Regenerate.
562 * Makefile.in: Regenerate.
563 * external/Makefile.in: Regenerate.
564 * external/sax/Makefile.in: Regenerate.
565 * external/w3c_dom/Makefile.in: Regenerate.
566 * gcj/Makefile.in: Regenerate.
567 * include/Makefile.in: Regenerate.
568 * libltdl/Makefile.in: Regenerate.
569 * testsuite/Makefile.in: Regenerate.
571 2005-05-16 Tom Tromey <tromey@redhat.com>
573 * java/nio/charset/Charset.java (encode, decode): Synchronize on
574 'this', not the class.
576 2005-05-16 Tom Tromey <tromey@redhat.com>
578 * gnu/java/net/protocol/http/Headers.java (parse): Include final
581 2005-05-16 Tom Tromey <tromey@redhat.com>
584 * java/net/URI.java (unquote): Handle lower-case letters as well.
586 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
589 * gnu/regexp/RE.java: Add support for quoting constructs.
591 2005-05-15 Tom Tromey <tromey@redhat.com>
593 * java/lang/String.java (startsWith): Fixed javadoc.
595 2005-05-15 Tom Tromey <tromey@redhat.com>
598 * testsuite/libjava.compile/pr21519.java: New file.
599 * testsuite/libjava.compile/pr21519.no-link: New file.
601 2005-05-15 Tom Tromey <tromey@redhat.com>
603 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
605 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
608 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
609 interrupt status flag if _Jv_CondWait is interrupted.
611 2005-05-13 Tom Tromey <tromey@redhat.com>
613 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
616 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
618 * include/jvm.h (gcj::verifyClasses): Declare.
619 * link.cc (gcj::verbose_class_flag): Moved.
620 * prims.cc (gcj::verifyClasses): Define here.
621 (gcj::verbose_class_flag): Move definition here.
622 (_Jv_Linker::wait_for_state): Don't call verify_class
623 if gcj::verifyClasses is not set.
624 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
626 2005-05-12 Aaron Luchko <aluchko@redhat.com>
628 * gij.cc (main): Recognize '-verify', '-noverify', and
631 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
633 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
635 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
637 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
640 2005-05-11 Tom Tromey <tromey@redhat.com>
642 * external/w3c_dom/Makefile.in: Rebuilt.
643 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
645 * external/sax/Makefile.in: Rebuilt.
646 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
648 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
650 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
651 Call _Jv_CopyClassesToSystemLoader.
652 * java/lang/natClassLoader.cc (system_class_list): New global.
653 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
655 (_Jv_CopyClassesToSystemLoader): New function.
656 (SYSTEM_LOADER_INITIALIZED): New define.
657 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
658 (_Jv_CheckABIVersion): Use it.
659 (_Jv_ClassForBootstrapLoader): New function.
660 * Makefile.in: Rebuilt.
661 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
663 2005-05-10 Tom Tromey <tromey@redhat.com>
665 * gcj/javaprims.h: Updated.
666 * java/lang/String.java (String(StringBuilder)): New constructor.
667 * java/lang/natStringBuilder.cc: New file.
668 * java/lang/StringBuilder.java: New file.
669 * Makefile.in: Rebuilt.
670 * Makefile.am (core_java_source_files): Added StringBuilder.java.
671 (nat_source_files): Added natStringBuilder.cc.
673 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
676 * testsuite/libjava.jacks/jacks.xfail: Adjust.
678 2005-05-09 Mike Stump <mrs@apple.com>
680 * configure: Regenerate.
682 2005-05-09 David Daney <ddaney@avtrex.com>
684 * java/util/BitSet.java (get(int, int)): Fix breakage when
685 requested set doesn't start on a multiple of 64.
687 2005-05-07 Matthias Klose <doko@debian.org>
689 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
691 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
693 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
694 * Makefile.in: Regenerate.
695 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
696 (createCompatibleVolatileImage(int,int)): Implement.
697 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
699 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
701 (createVolatileImage): Implement.
702 (createBuffers): Likewise.
703 (getBackBuffer): Likewise.
705 (destroyBuffers): Likewise.
706 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
707 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
708 (CanvasFlipBufferStrategy): Likewise.
709 (createBufferStrategy(int)): New method.
710 (createBufferStrategy(int,BufferCapabilities)): Likewise.
711 * java/awt/Component.java (BltBufferStrategy): Implement and
713 (FlipBufferStrategy): Likewise.
714 * java/awt/Window.java (WindowBltBufferStrategy): New class.
715 (WindowFlipBufferStrategy): Likewise.
716 (createBufferStrategy(int)): New method.
717 (createBufferStrategy(int,BufferCapabilities)): Likewise.
718 (getBufferStrategy): Likewise.
719 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
720 front to frontCaps and back to backCaps.
722 2005-05-06 Michael Koch <konqueror@gmx.de>
724 * java/awt/BufferCapabilities.java
725 (BufferCapabilities): Merged javadoc.
727 2005-05-06 Michael Koch <konqueror@gmx.de>
729 * java/util/Locale.java
730 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
731 (getLocale): New methods. Use it everywhere where instances of Locales
733 (getDisplayLanguage): Merged javadoc.
734 (getDisplayCountry): Likewise.
735 (getDisplayVariant): Likewise.
737 2005-05-06 Archie Cobbs <archie@dellroad.org>
739 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
740 use DeleteLocalRef() to avoid exhausting local native references.
742 2005-05-06 Mark Wielaard <mark@klomp.org>
744 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
745 (window_delete_cb): Don't use C++ style comments.
747 2005-05-06 Robert Schuster <thebohemian@gmx.net>
749 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
752 2005-05-06 Robert Schuster <thebohemian@gmx.net>
754 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
755 (window_delete_cb): Made the function return TRUE.
757 2005-05-06 Roman Kennke <roman@kennke.org>
759 * javax/swing/text/PlainView.java
760 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
762 * javax/swing/text/Utilities.java
763 (drawTabbedText): Initilialize local variable pos correctly.
765 2005-05-06 Roman Kennke <roman@kennke.org>
767 * javax/swing/text/AbstractDocument.java
768 (LeafElement): Made start and end package private fields for
769 effective reindexing.
770 * javax/swing/text/PlainDocument.java
771 (constructor): The field rootElement is always BranchElement,
772 so we handle it as such.
773 (removeUpdate): Rewritten reindexing for removeUpdate so that
774 the actual removal is taken into account.
776 2005-05-06 Roman Kennke <roman@kennke.org>
778 * javax/swing/text/GapContent.java:
779 Removed debugging output stuff, which I accidentally left in.
781 2005-05-06 Roman Kennke <roman@kennke.org>
783 * javax/swing/text/GapContent.java:
784 Implemented a real GapContent. Only the public methods have
785 been implemented so far and still no UndoableEdit support.
787 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
789 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
792 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
794 * java/awt/image/BufferStrategy.java: Document.
796 * java/awt/BufferCapabilities.java: Document.
798 2005-05-04 Tom Tromey <tromey@redhat.com>
800 * java/nio/channels/FileLock.java (toString): Entirely avoid
803 2005-05-04 Andrew Overholt <overholt@redhat.com>
805 * java/nio/channels/FileLock.java (toString): Re-implement using
808 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
810 * java/awt/ImageCapabilities.java: Document.
812 * java/awt/image/VolatileImage.java: Unindent copyright header.
814 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
816 * java/awt/image/VolatileImage.java: Document.
818 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
820 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
821 (init_glib_threads): Check if threading system is already
824 2005-05-03 Andrew Overholt <overholt@redhat.com>
827 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
828 could not be acquired.
829 * java/nio/channels/FileLock.java (toString): Re-implement to be
830 in line with other implementations.
832 2005-05-03 Tom Tromey <tromey@redhat.com>
834 * java/lang/VMSecurityManager.java (currentClassLoader): Use
835 'systemClasssLoader' directly.
837 2005-05-03 Tom Tromey <tromey@redhat.com>
839 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
840 call VMClassLoader.getSystemClassLoader.
842 2005-04-29 Michael Koch <konqueror@gmx.de>
844 * java/net/NetworkInterface.java
846 (NetworkInterface(String,InetAddress)): Made package-private.
847 (NetworkInterface(String,InetAddress[])): New constructor.
848 (getRealNetworkInterfaces): Removed.
849 (getByName): Use VMNetworkInterface.getInterfaces().
850 (getByInetAddress): Likewise.
851 (getNetworkInterfaces): Likewise.
852 * java/net/VMNetworkInterface.java,
853 java/net/natVMNetworkInterfaceNoNet.cc,
854 java/net/natVMNetworkInterfacePosix.c,c
855 java/net/natVMNetworkInterfaceWin32.cc: New files.
856 * java/net/natNetworkInterfaceNoNet.cc,
857 java/net/natNetworkInterfacePosix.cc,
858 java/net/natNetworkInterfaceWin32.cc: Removed.
861 * configure, Makefile.in: Regenerated.
863 2005-04-29 Andrew Haley <aph@redhat.com>
865 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
867 2005-04-29 Dalibor Topic <robilad@kaffe.org>
869 * java/nio/channels/FileChannelImpl.java
870 (FileChannelImpl(String, int)): Removed.
871 (FileChannelImpl(File, int)): Added. Check if opened file is a
873 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
874 Call FileChannelImpl(File, int).
875 * java/io/FileOutputStream.java (FileInputStream): Call
876 FileChannelImpl(File, int).
877 * java/io/RandomAccessFile.java (RandomAccessFile):
878 Call FileChannelImpl(File, int). Switched constructors around.
880 2005-04-27 Andrew Haley <aph@redhat.com>
883 * prims.cc (_Jv_ResolvePoolEntry): New function.
884 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
885 * link.cc (_Jv_Linker::find_field): New arg: found_class.
886 (resolve_pool_entry): Initialize the class in which a field is
888 (link_symbol_table): Pass new arg to found_class.
890 2005-04-29 Michael Koch <konqueror@gmx.de>
892 * java/nio/charset/Charset.java
893 (provider): Reformatted.
895 2005-04-29 Michael Koch <konqueror@gmx.de>
897 * gnu/java/net/protocol/http/HTTPConnection.java:
898 (userAgent): Initialize from system properties.
899 (initUserAgent): Removed.
901 2005-04-29 Mark Wielaard <mark@klomp.org>
903 * java/util/ResourceBundle.java (getObject): Clarify
904 MissingResourceException detailed message.
905 (tryBundle(String,ClassLoader)): Likewise.
907 2005-04-29 Robert Schuster <thebohemian@gmx.net>
909 * java/beans/FeatureDescriptor.java:
910 (getShortDescription): Implemented fallback mechanism and fixed
911 documentation (fixes bug #12637).
912 (getDisplayName): Dito.
914 2005-04-29 Robert Schuster <thebohemian@gmx.net>
916 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
917 will now be set correctly.
918 (flushCaches): Now flushes all cached intermediate data.
920 2005-04-28 Michael Koch <konqueror@gmx.de>
922 * java/net/InetAddress.java
923 (aton): Fixed javadoc.
926 2005-04-28 Tom Tromey <tromey@redhat.com>
928 * javax/swing/Timer.java
929 (drainEvents, queueEvent): Now package-private.
931 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
933 * javax/swing/Timer.java
934 (constructor): Assigning initialDelay.
936 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
938 * javax/swing/Timer.java
939 (Waker.run): firing the first action event.
941 2005-04-28 Michael Koch <konqueror@gmx.de>
943 * javax/swing/Timer.java: Reordered all fields and methods,
946 2005-04-28 Michael Koch <konqueror@gmx.de>
948 * javax/swing/Timer.java: Javadocs merged
951 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
953 * gnu/java/net/protocol/file/Connection.java
954 (StaticData): New inner class to contain statics.
955 (connect, getHeaderField): Modified to use StaticData.
957 2005-04-28 Michael Koch <konqueror@gmx.de>
959 * gnu/java/net/protocol/file/Connection.java
960 (lineSeparator): Initialize with SystemProperties.getProperty().
962 2005-04-27 Chris Burdess <dog@gnu.org>
964 * gnu/java/net/protocol/file/Connection.java: Return correct content
965 length for directory listing.
966 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
967 #11285: return valid URLs for directories.i
969 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
971 * Makefile.am (ordinary_java_source_files): Add
972 gnu/java/net/protocol/https/Handler.java.
973 * Makefile.in: Regenerate.
974 * java/net/URL.java: Remove org.metastatic.jessie from default
975 protocol search path.
977 2005-04-27 Chris Burdess <dog@gnu.org>
979 * gnu/java/net/protocol/https/Handler.java: New file.
981 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
983 * javax/imageio/spi/IIORegistry.java (IIORegistry):
984 Don't assume that awt Toolkit is always ClasspathToolkit.
986 2005-04-27 Chris Burdess <dog@gnu.org>
988 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
989 absolute and relative paths in Location header.
991 2005-04-27 Chris Burdess <dog@gnu.org>
993 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
994 FileNotFoundException and implement getErrorStream on 404.
996 2005-04-27 Sven de Marothy <sven@physto.se>
998 * java/util/TimeZone.java,
999 (getDefaultDisplayName): Fix previous fix.
1001 2005-04-27 Sven de Marothy <sven@physto.se>
1003 * java/util/TimeZone.java,
1004 (getDefaultDisplayName): Don't print zero offsets.
1006 2005-04-27 Roman Kennke <roman@kennke.org>
1008 * javax/swing/plaf/basic/BasicScrollBarUI
1009 (getThumbBounds): Do not make thumb smaller than
1011 * javax/swing/plaf/metal/MetalLookAndFeel
1012 (initComponentDefaults): Added color defaults for ScrollBar.
1013 * javax/swing/plaf/metal/MetalScrollBarUI
1014 (paintThumb): Added.
1015 (getMinimumThumbSize): Added.
1017 2005-04-27 Roman Kennke <roman@kennke.org>
1019 * javax/swing/plaf/metal/MetalLookAndFeel
1020 (initComponentDefaults): Added some default colors.
1022 2005-04-27 Roman Kennke <roman@kennke.org>
1024 * javax/swing/plaf/basic/BasicScrollBarUI.java
1025 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1026 to 'ScrollBar.thumbShadow'. The formes does not exist.
1027 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1029 2005-04-27 Roman Kennke <roman@kennke.org>
1031 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1032 * javax/swing/BoxLayout.java: Likewise.
1033 * javax/swing/UIManager.java: Likewise.
1034 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1035 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1036 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1037 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1038 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1039 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1040 * javax/swing/text/Document.java: Likewise.
1041 * javax/swing/text/GapContent.java: Likewise.
1042 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1043 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1045 2005-04-27 Roman Kennke <roman@kennke.org>
1047 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1048 (getPropertyPrefix): Added.
1050 2005-04-27 Roman Kennke <roman@kennke.org>
1052 * javax/swing/plaf/basic/BasicButtonUI.java
1053 (getPropertyPrefix): Added.
1054 (installDefaults): Use getPropertyPrefix instead of hard-coded
1057 2005-04-27 Roman Kennke <roman@kennke.org>
1059 * javax/swing/JToggleButton.java
1060 (JToggleButton): Removed horizontalAlignment setting, this
1061 was wrong. Added setting of an actionCommand, ToggleButtons
1062 have "" as default actionCommand.
1064 2005-04-27 Michael Koch <konqueror@gmx.de>
1066 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1067 to work around CNI limitation.
1069 2005-04-27 Sven de Marothy <sven@physto.se>
1071 * java/nio/charset/Charset.java:
1072 (defaultCharset()): New method.
1073 Status updated to 1.5
1075 2005-04-27 Sven de Marothy <sven@physto.se>
1077 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1079 2005-04-27 Sven de Marothy <sven@physto.se>
1081 * java/nio/charset/Charset.java: Reset cached de/encoders.
1083 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1085 * java/nio/charset/Charset.java (forName): Throws
1086 IllegalArgumentException when argument is null
1087 and added documentation.
1089 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1091 * java/nio/charset/Charset.java (providers):
1092 New method to make an array of CharsetProviders defined in
1093 META-INF/services/java.nio.charset.spi.CharsetProvider.
1094 (charsetForName, availableCharsets): Use the
1095 new method providers().
1097 2005-04-26 Michael Koch <konqueror@gmx.de>
1099 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1100 Fixed typos in javadocs.
1101 (isSiteLocalAddress): Fixed handling of byte values.
1102 (isMCLinkLocal): Likewise.
1103 * java/net/Inet4Address.java
1104 (isMulticastAddress): Call super method.
1105 (isLoopbackAddress): Likewise.
1106 (isAnyLocalAddress): Likewise.
1107 (isLinkLocalAddress): Likewise.
1108 (isSiteLocalAddress): Likewise.
1109 (isMCGlobal): Likewise.
1110 (isMCNodeLocal): Likewise.
1111 (isMCLinkLocal): Likewise.
1112 (isMCSiteLocal): Likewise.
1113 (isMCOrgLocal): Likewise.
1114 (getHostAddress): Likewise.
1116 2005-04-26 Sven de Marothy <sven@physto.se>
1118 * java/net/InetAddress.java
1119 (toString): Don't print empty hostnames.
1121 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1124 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1125 'false' to native lock().
1126 (lock): Pass 'true' to native lock().
1128 2005-04-26 Michael Koch <konqueror@gmx.de>
1130 * java/net/InetAddress.java:
1131 Fixed typos in javadocs.
1133 2005-04-26 Andrew Haley <aph@redhat.com>
1136 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1139 2005-04-26 Tom Tromey <tromey@redhat.com>
1141 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1142 gnu): Now package-private.
1143 * javax/swing/text/html/parser/DocumentParser.java (parser,
1144 callBack, gnu): Now package-private.
1145 * javax/swing/text/StringContent.java (content, setOffset,
1146 checkLocation): Now package-private.
1147 * javax/swing/text/JTextComponent.java (doc): Now
1149 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1150 lastGoodOrientation, origParent, borders, cachedBounds,
1151 cachedOrientation, DragWindow): Now package-private.
1152 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1153 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1154 tabAreaRect, contentRect, createIncreaseButton,
1155 createDecreaseButton, findPointForIndex): Now package-private.
1156 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1157 (currentDividerLocation, moveDividerTo): Now package-private.
1158 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1160 * javax/swing/plaf/basic/BasicScrollBarUI.java
1161 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1162 Now package-private.
1163 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1164 (topWindowListener): Now package-private.
1165 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1166 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1167 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1169 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1171 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1172 Now package-private.
1173 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1175 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1176 borderInsets): Now package-private.
1177 (arrowButtonWidth): Likewise. Now a constant.
1178 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1179 makeTabs, updatePreviewPanel): Now package-private.
1180 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1181 darkShadow, highlight): Now package-private.
1182 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1183 (addColorToQueue): Now package-private.
1184 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1185 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1186 GSpinner, BSpinner): Now package-private.
1187 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1188 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1189 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1190 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1191 updateTrack): Now package-private.
1192 * javax/swing/TransferHandler.java (clipboard): Now
1194 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1196 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1198 * javax/swing/RepaintManager.java (globalManager): Now
1200 * javax/swing/JFormattedTextField.java (editValid): Now
1202 * javax/swing/JColorChooser.java (makeModal): Now
1204 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1205 index, path): Now package-private.
1206 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1207 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1208 pointEquals): Now package-private.
1209 * java/awt/geom/Arc2D.java (type): Now package-private.
1210 * java/awt/Window.java (windowFocusOwner): Now package-private.
1211 * java/awt/TextComponent.java (editable, selectionStart,
1212 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1214 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1216 * java/awt/MenuComponent.java (focusListener): Now
1218 * java/awt/Frame.java (state): Now package-private.
1219 * java/awt/Choice.java (pItems): Now package-private.
1220 * java/awt/Checkbox.java (state): Now package-private.
1221 * java/awt/Button.java (actionCommand, label): Now
1223 * gnu/javax/swing/text/html/parser/support/Parser.java
1224 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1226 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1228 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1229 clip, transform, font, comp): Now package-private.
1231 2005-04-26 Tom Tromey <tromey@redhat.com>
1233 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1236 2005-04-26 Mark Wielaard <mark@klomp.org>
1238 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1239 to MalformedURLException.
1241 2005-04-26 Michael Koch <konqueror@gmx.de>
1243 * java/security/AccessControlContext.java:
1245 (protectedDomains): Renamed from 'protectionDomain'.
1246 * java/security/AccessController.java:
1249 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1251 * gnu/java/security/action/GetSecurityPropertyAction.java
1252 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1253 of extending GetPropertyAction.
1256 (setParamters): New methods.
1257 (GetSecurityPropertyAction): Use new setParameters methods.
1259 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1261 * java/security/Security.java,
1262 java/security/cert/X509CRLSelector.java,
1263 java/security/cert/X509CertSelector.java:
1264 Modified to use SystemProperties.
1266 2005-04-26 Michael Koch <konqueror@gmx.de>
1268 * java/lang/System.java
1269 (setSecurityManager): Fixed comment.
1270 (getSecurityManager): Removed obsolete comment.
1272 2005-04-25 Tom Tromey <tromey@redhat.com>
1274 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1276 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1279 (connectSignals): Realize the window widget after connecting
1282 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1284 * java/awt/GraphicsEnvironment.java
1285 (localGraphicsEnvironment): New field.
1286 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1288 (isHeadless): Added support for java.awt.headless property.
1289 (isHeadlessInstance): Call headless().
1291 2005-04-25 Roman Kennke <roman@kennke.org>
1293 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1294 (getDisplayMode): Added. Returns the current display mode.
1295 (isFullScreenSupported): Added.
1296 * java/awt/GraphicsDevice.java
1297 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1298 This resizes and relocates the fullscreen window so that it uses
1299 the whole screen. This is not a fully accelerated fullscreen
1302 2005-04-25 Michael Koch <konqueror@gmx.de>
1304 * java/lang/Runtime.java,
1305 java/lang/SecurityManager.java,
1306 java/lang/System.java,
1307 java/lang/ThreadGroup.java:
1308 Replaced java.lang.Runtime.securityManager by
1309 java.lang.SecurityManager.current (as used in GNU classpath).
1311 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1313 * java/awt/Transparency.java
1314 (getTransparency): fixed API docs.
1316 2005-04-25 Archie Cobbs <archie@dellroad.org>
1318 * java/lang/Throwable.java: simplify initializing cause in constructor
1320 2005-04-25 Michael Koch <konqueror@gmx.de>
1322 * gnu/classpath/SystemProperties.java: New file.
1323 * gnu/classpath/natSystemProperties.cc: New file.
1324 * java/lang/Runtime.java
1325 (defaultProperties): Removed.
1327 (): Made thrown exceptions more verbose.
1328 (insertSystemProperties): Removed.
1329 * java/lang/System.java
1331 (properties): Likewise.
1332 (setSecurityManager): Reordered modifiers.
1333 (getenv): Improved javadoc.
1335 (isWordsBigEndian): Removed.
1336 * java/lang/natRuntime.cc
1337 (_Jv_SetDLLSearchPath): Likewise.
1338 (file_encoding): Likewise.
1339 (default_file_encoding): Likewise.
1340 (getpwuid_adaptor): Likewise.
1341 (insertSystemProperties): Likewise.
1342 * java/lang/natSystem.cc
1343 (isWordsBigEndian): Likewise.
1345 (ordinary_java_source_files):
1346 Added gnu/classpath/SystemProperties.java.
1347 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1348 * Makefile.in: Regenerated.
1350 2005-04-25 Roman Kennke <roman@kennke.org>
1352 * javax/swing/plaf/basic/BasicScrollBarUI.java
1353 (initDefaults): Initialize thumb*Color fields correctly.
1355 2005-04-25 Roman Kennke <roman@kennke.org>
1357 * javax/swing/text/GapContent.java:
1360 2005-04-25 Roman Kennke <roman@kennke.org>
1362 * javax/swing/plaf/metal/MetalBorders.java:
1363 Added inner class ScrollPaneBorder.
1364 * javax/swing/plaf/metal/MetalLookAndFeel.java
1365 (initComponentDefaults): Added default for "ScrollPane.border"
1366 to use the new ScrollPaneBorder.
1368 2005-04-25 Roman Kennke <roman@kennke.org>
1370 * javax/swing/text/AbstractDocument.java:
1371 Added FIXME comments. This class still has to be
1372 implemented thread-safe.
1374 2005-04-25 Roman Kennke <roman@kennke.org>
1376 * javax/swing/tree/DefaultTreeSelectionModel.java
1377 (DefaultTreeSelectionModel): Initialize listenerList here.
1379 2005-04-25 Roman Kennke <roman@kennke.org>
1381 * javax/swing/plaf/metal/MetalTextFieldUI.java
1382 (createUI): Return one instance per Component instead of a
1385 2005-04-25 Roman Kennke <roman@kennke.org>
1387 * javax/swing/text/Document.java:
1388 Added API documentation comments.
1390 2005-04-25 Roman Kennke <roman@kennke.org>
1392 * javax/swing/text/AbstractDocument.java
1393 (getDocumentProperties): Implemented.
1394 (setDocumentProperties): Implemented.
1395 (getProperty): Implemented.
1396 (putProperty): Implemented.
1398 2005-04-25 Roman Kennke <roman@kennke.org>
1400 * javax/swing/BoxLayout
1401 (preferredLayoutSize): Fixed computation so that it correctly
1402 adds the top and bottom insets of the container.
1404 2005-04-25 Roman Kennke <roman@kennke.org>
1406 * javax/swing/plaf/basic/BasicMenuItemUI.java
1407 (paintText): Make use of the 'selectionForeground' UI default
1410 2005-04-25 Roman Kennke <roman@kennke.org>
1412 * javax/swing/plaf/basic/BasicLookAndFeel.java
1413 (initSystemColorDefaults): Modified colors to match the
1414 BasicLookAndFeel in the reference implementation.
1415 (initComponentDefaults): Likewise.
1417 2005-04-25 Tom Tromey <tromey@redhat.com>
1419 * include/jni.h (_Jv_va_list): Removed.
1420 Moved configuration code...
1421 * include/jni_md.h: ... here. New file.
1422 * include/Makefile.in: Rebuilt.
1423 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1425 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1427 * java/io/FileInputStream.java (FileInputStream(File)),
1428 java/io/FileOutputStream.java (FileOutputStream(File)):
1429 Removed unnecessary File.isDirectory() check.
1431 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1433 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1434 gij if get_multilibs fails.
1436 2005-04-22 Anthony Green <green@redhat.com>
1438 * jni.cc (natrehash): Don't bother clearing memory again.
1439 * interpret.cc (do_allocate_static_fields): Ditto.
1440 * java/lang/natString.cc (rehash): Ditto.
1442 2005-04-22 Roman Kennke <roman@kennke.org>
1444 * javax/swing/plaf/basic/BasicLookAndFeel.java
1445 (initComponentDefaults): Changed Button.border to be
1446 BasicBorders.getButtonBorder as it should be.
1448 2005-04-22 Roman Kennke <roman@kennke.org>
1450 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1451 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1452 should according to a mauve testcase, instead of the preferred
1455 2005-04-22 Roman Kennke <roman@kennke.org>
1457 * javax/swing/JMenu.java
1458 (add): add(Component) now calls PopupMenu.insert(..) instead of
1459 PopupMenu.add(..). add(..) is not implemented for Component,
1460 so JComponent.add(..) is called instead, adding the component
1463 2005-04-22 Roman Kennke <roman@kennke.org>
1465 * javax/swing/plaf/basic/BasicButtonListener.java
1466 (mousePressed): replaced query to getModifiersEx with getModifiers.
1467 This method relied on faulty behaviour in getModifierEx.
1468 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1469 This method relied on faulty behaviour in getModifierEx.
1471 2005-04-22 Roman Kennke <roman@kennke.org>
1473 * javax/swing/plaf/metal/MetalLookAndFeel.java
1474 (getDefaults): Call addCustomEntriesToTable on the theme.
1476 2005-04-22 Roman Kennke <roman@kennke.org>
1478 * javax/swing/tree/DefaultTreeSelectionModel.java
1479 (constructor): Added implementation.
1480 (getRowMapper): Added implementation.
1481 (setSelectionMode): Added implementation.
1482 (getSelectionMode): Added implementation.
1483 (getSelectionPath): Added implementation.
1484 (getSelectionPaths): Added implementation.
1485 (getSelectionCount): Added implementation.
1486 (isSelectionEmpty): Added implementation.
1487 (getSelectionRows): Added implementation.
1488 (getMinSelectionRow): Added implementation.
1489 (getMaxSelectionRow): Added implementation.
1490 (getLeadSelectionRow): Added implementation.
1491 (getLeadSelectionPath): Added implementation.
1493 2005-04-22 Casey Marshall <csm@gnu.org>
1495 * gnu/java/security/der/DERValue.java
1496 (getValueAs): new method.
1497 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1498 (<init>): read both dates with 'DERValue.getValueAs', with
1499 'GENERALIZED_TIME' as the argument.
1501 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1503 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1504 be null, check for that case and don't deference it.
1506 2005-04-22 Sven de Marothy <sven@physto.se>
1508 * java/util/logging/LogManager.java: Reformatted.
1509 (readConfiguration): If a logger for a key is not found, create one.
1511 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1513 * java/rmi/Naming.java:
1514 Added class documentation.
1515 (lookup(String)): Call parseURL and getName.
1516 (bind(String,java.rmi.Remote)): Likewise.
1517 (unbind(String)): Likewise.
1518 (rebind(String, java.rmi.Remote)): Likewise.
1519 (list(String)): Call parseURL.
1520 (parseURL(String)): New method to handle parsing and defaults.
1521 (getName(java.net.URL)): New method to handle finding the service name.
1523 2005-04-21 Tom Tromey <tromey@redhat.com>
1525 * java/lang/natClass.cc (initializeClass): Link class.
1527 2005-04-21 Tom Tromey <tromey@redhat.com>
1529 * java/lang/AssertionError.java: Typo fix.
1531 2005-04-21 Tom Tromey <tromey@redhat.com>
1533 * java/lang/VMClassLoader.java (transformException): Removed.
1534 (resolveClass): No longer native. Now does nothing.
1535 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1537 2005-04-21 Anthony Green <green@redhat.com>
1540 * testsuite/libjava.special/special.exp,
1541 testsuite/libjava.special/pr21115I.java,
1542 testsuite/libjava.special/pr21115.java,
1543 testsuite/libjava.special/pr21115.out: New files.
1545 2005-04-21 Chris Burdess <dog@gnu.org>
1547 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1548 CRLF-delimited chunks.
1550 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1552 * java/net/URI.java:
1553 Added class documentation.
1554 (parseURI(String)): Only handle scheme-specific parts
1555 if URI is not opaque. Allow for parts that can't be null.
1556 (toString()): Output the scheme-specific part whole, rather
1557 than as its possibly non-existent components.
1559 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1561 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1562 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1563 Adjusted to match new regexp.
1565 2005-04-20 Michael Koch <konqueror@gmx.de>
1567 * gnu/java/net/protocol/file/Connection.java,
1568 gnu/java/net/protocol/jar/Connection.java:
1569 Reorganized import statements. Fixed @author tags.
1571 2005-04-20 Chris Burdess <dog@gnu.org>
1573 * java/io/DataOutputStream.java (writeUTF): Use block write for
1576 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1578 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1579 (readLine): Changed newline handling.
1581 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1583 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1584 ColorModel,byte[],int,int): Fixed byte to int conversion.
1586 2005-04-20 Michael Koch <konqueror@gmx.de>
1588 * java/io/FilePermission.java
1589 (serialVersionUID): Made private.
1590 (ALL_FILES): New constant.
1591 (implies): Handle '<<ALL FILES>>' case.
1593 2005-04-20 Sven de Marothy <sven@physto.se>
1595 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1596 (drawImage): Don't notify the image observer for offscreen images.
1597 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1598 (setPixels): Don't notify the image observer.
1600 2005-04-20 Sven de Marothy <sven@physto.se>
1602 * java/nio/ByteBufferImpl.java:
1603 (putChar): Inlined for speed.
1604 (put, get): Bulk methods can use arraycopy.
1605 * java/nio/CharBufferImpl.java:
1606 (put, get): Bulk methods can use arraycopy.
1608 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1610 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1612 * java/nio/CharBufferImpl.java
1613 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1614 (get(), put(char)): Inlined checks and field updates. Fixed to
1615 take array_offset into account.
1616 (get(int), put(int, char)): Fixed to take array_offset into account.
1618 2005-04-20 Sven de Marothy <sven@physto.se>
1620 * java/text/SimpleDateFormat.java:
1621 (formatWithAttribute): Pad year before truncating digits.
1623 2005-04-20 Michael Koch <konqueror@gmx.de>
1625 * gnu/java/net/PlainDatagramSocketImpl.java:
1626 Merged copyright header.
1627 * gnu/java/net/PlainSocketImpl.java:
1628 Reorganized import statements. Fixed @author tags.
1630 2005-04-20 Michael Koch <konqueror@gmx.de>
1632 * gnu/java/lang/ClassHelper.java,
1633 gnu/java/lang/reflect/TypeSignature.java:
1636 2005-04-20 Michael Koch <konqueror@gmx.de>
1638 * gnu/java/beans/IntrospectionIncubator.java:
1639 Fixed HTML tags in javadocs.
1641 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1643 * gnu/java/beans/IntrospectionIncubator.java
1644 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1645 set(), is(), add() and remove() with properties or events.
1647 2005-04-20 Michael Koch <konqueror@gmx.de>
1649 * gnu/java/awt/image/XBMDecoder.java:
1650 Fixed modifier order.
1652 2005-04-20 Roman Kennke <roman@kennke.org>
1654 * javax/swing/plaf/basic/BasicButtonUI.java
1655 (paint): This should not care about margin and insets
1656 at the same time, as insets already include the margin
1658 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1659 (getPreferredButtonSize): Likewise.
1660 * javax/swing/plaf/metal/MetalBorders.java
1661 (getBorderInsets): Likewise.
1663 2005-04-20 Roman Kennke <roman@kennke.org>
1665 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1666 (createMessageArea): The JPanel that holds the message area
1667 doesn't need to override getPreferredSize. This prevents some
1668 message components from rendering nicely.
1670 2005-04-20 Roman Kennke <roman@kennke.org>
1672 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1673 (createUI): Do not share instances between components.
1674 * javax/swing/plaf/metal/MetalSliderUI.java
1675 (createUI): Do not share instances between components.
1677 2005-04-20 Roman Kennke <roman@kennke.org>
1679 * javax/swing/plaf/metal/MetalBorders:
1680 (PopupMenuBorder): Added.
1681 * javax/swing/plaf/metal/MetalLookAndFeel
1682 (initComponentDefaults): Added PopupMenuBorder.
1684 2005-04-20 Roman Kennke <roman@kennke.org>
1686 * javax/swing/tree/DefaultTreeSelectionModel.java:
1687 Added API documentation all over the class.
1689 2005-04-20 Roman Kennke <roman@kennke.org>
1691 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1692 (installDefaults): Link managed JScrollPane in instance field.
1693 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1695 2005-04-20 Roman Kennke <roman@kennke.org>
1697 * javax/swing/plaf/basic/BasicScrollBarUI.java
1698 (PropertyChangeHandler.propertyChange): Add default
1699 to switch statement to avoid errors with unusual values
1701 (installComponents): Likewise.
1703 2005-04-20 Roman Kennke <roman@kennke.org>
1705 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1706 (createUI): Instances cannot be shared among JScrollPanes.
1708 2005-04-20 Roman Kennke <roman@kennke.org>
1710 * javax/swing/plaf/metal/MetalLookAndFeel.java
1711 (initComponentDefaults): Added defaults for Menu, MenuBar
1714 2005-04-20 Roman Kennke <roman@kennke.org>
1716 * javax/swing/plaf/basic/BasicScrollBarUI.java
1717 (installUI): Install listeners after everything all, otherwise
1718 we get strange NPEs in some situations, especially with
1720 (createIncreaseButton): Orientation is expected to be
1721 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1722 HORIZONTAL or VERTICAL.
1723 (createDecreaseButton): Orientation is expected to be
1724 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1725 HORIZONTAL or VERTICAL.
1726 (installComponents): Orientation for buttons is expected to be
1727 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1728 HORIZONTAL or VERTICAL.
1730 2005-04-20 Roman Kennke <roman@kennke.org>
1732 * javax/swing/JToolBar.java
1733 (addImpl): Adjust added AbstractButtons to look and feel like
1735 * javax/swing/plaf/metal/MetalBorders.java:
1736 Adjusted insets of ButtonBorder.
1737 (RolloverMarginBorder): Added class for toolbar buttons.
1738 (getButtonBorder): Adjusted factory method to return a shared
1739 instance of button border.
1740 (getToolbarButtonBorder): Added factory method to return a shared
1741 instance of toolbar button border.
1742 (getMarginBorder): Added factory method to return a shared
1743 instance of margin border.
1744 * javax/swing/plaf/metal/MetalButtonUI.java
1745 (installDefauls): If button is child of a JToolBar then set
1746 special border on this button.
1748 2005-04-20 Michael Koch <konqueror@gmx.de>
1750 * java/net/URLConnection.java
1751 (getContent): Fixed javadoc comment.
1753 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1755 * java/net/URL.java:
1756 (toURI()): Implemented.
1758 2005-04-19 Michael Koch <konqueror@gmx.de>
1760 * java/net/InetAddress.java
1761 (InetAddress): Fixed javadoc comment.
1763 (lookup): Added javadoc.
1764 (getFamily): Likewise.
1765 * java/net/ServerSocket.java
1766 (getChannel): Improved javadoc comment.
1768 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1770 * gnu/xml/dom/html2/DomHTMLParser.java:
1771 Changed 'enum' references to become 'enumeration'.
1773 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1775 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1777 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1779 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1780 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1781 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1782 (validateParameters(TagElement,htmlAttributeSet)):
1783 Replaced 'enum' with 'enumeration'.
1784 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1787 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1789 * javax/swing/text/html/parser/Entity.java (getType): New method.
1790 * javax/swing/text/html/parser/DocumentParser.java:
1791 Inherit from javax.swing.text.html.parser.Parser.
1793 2005-04-19 Chris Burdess <dog@gnu.org>
1795 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1796 check for HTML/XHTML namespace.
1798 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1800 * javax/swing/text/html/parser/Parser.java,
1801 javax/swing/text/html/parser/Entity.java:
1802 Inheriting from DTDConstants.
1803 * javax/swing/text/html/parser/AttributeList.java
1804 (getValues): Changed return type.
1805 * javax/swing/text/html/parser/DocumentParser
1806 (parse): Adding the callback parameter that receives
1809 2005-04-19 Chris Burdess <dog@gnu.org>
1811 * gnu/xml/dom/DomImpl.java,
1812 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1813 gnu/xml/dom/html2/DomHTMLDocument.java,
1814 gnu/xml/dom/html2/DomHTMLElement.java,
1815 gnu/xml/dom/html2/DomHTMLFormElement.java,
1816 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1817 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1818 gnu/xml/dom/html2/DomHTMLImpl.java,
1819 gnu/xml/dom/html2/DomHTMLInputElement.java,
1820 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1821 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1822 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1823 gnu/xml/dom/html2/DomHTMLTableCellElement.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: JAXP integration,
1828 UI events, and tree utility functions.
1830 2005-04-19 Michael Koch <konqueror@gmx.de>
1832 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1833 gnu/javax/swing/text/html/parser/gnuDTD.java,
1834 gnu/javax/swing/text/html/parser/models/node.java:
1835 Reworked import statements.
1837 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1839 * javax/swing/text/html/HTMLDocument.java: New file.
1841 2005-04-19 Michael Koch <konqueror@gmx.de>
1843 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1845 * javax/swing/text/html/parser/AttributeList.java:
1846 Fixed order of modifiers.
1847 (AttributeList): Made final.
1848 * javax/swing/text/html/parser/ContentModel.java:
1849 Fixed html characters in javadocs.
1850 * javax/swing/text/html/parser/DTD.java
1851 (DTD): Don't implement java.io.Serializable directly.
1852 (getElement): Simplified.
1853 * javax/swing/text/html/parser/DTDConstants.java:
1855 * javax/swing/text/html/parser/Element.java:
1856 Fixed order of modifiers.
1857 * javax/swing/text/html/parser/Parser.java:
1858 Reformatted. Don't use fully-qualified class names.
1859 * javax/swing/text/html/parser/ParserDelegator.java:
1860 Fixed order of modifiers.
1861 * javax/swing/text/rtf/RTFParser.java:
1862 Re-ordered import statements.
1863 * javax/swing/text/rtf/RTFScanner.java:
1864 Removed unused import statement.
1866 2005-04-19 Chris Burdess <dog@gnu.org>
1868 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1869 gnu/xml/dom/html2/DomHTMLCollection.java,
1870 gnu/xml/dom/html2/DomHTMLDocument.java,
1871 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1873 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1874 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1875 gnu/xml/dom/html2/DomHTMLDivElement.java,
1876 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1877 gnu/xml/dom/html2/DomHTMLFontElement.java,
1878 gnu/xml/dom/html2/DomHTMLFormElement.java,
1879 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1880 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1881 gnu/xml/dom/html2/DomHTMLHRElement.java,
1882 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1883 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1884 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1885 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1886 gnu/xml/dom/html2/DomHTMLImageElement.java,
1887 gnu/xml/dom/html2/DomHTMLInputElement.java,
1888 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1889 gnu/xml/dom/html2/DomHTMLLIElement.java,
1890 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1891 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1892 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1893 gnu/xml/dom/html2/DomHTMLMapElement.java,
1894 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1895 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1896 gnu/xml/dom/html2/DomHTMLModElement.java,
1897 gnu/xml/dom/html2/DomHTMLOListElement.java,
1898 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1899 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1900 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1901 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1902 gnu/xml/dom/html2/DomHTMLParamElement.java,
1903 gnu/xml/dom/html2/DomHTMLPreElement.java,
1904 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1905 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1906 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1907 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1908 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1909 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1910 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1911 gnu/xml/dom/html2/DomHTMLTableElement.java,
1912 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1913 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1914 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1915 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1916 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1918 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1920 * javax/swing/text/ChangedCharSetException.java,
1921 javax/swing/text/html/HTMLEditorKit.java,
1922 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1923 javax/swing/text/html/parser/AttributeList.java,
1924 javax/swing/text/html/parser/ContentModel.java,
1925 javax/swing/text/html/parser/DocumentParser.java,
1926 javax/swing/text/html/parser/DTD.java,
1927 javax/swing/text/html/parser/DTDConstants.java,
1928 javax/swing/text/html/parser/Element.java,
1929 javax/swing/text/html/parser/Entity.java,
1930 javax/swing/text/html/parser/Parser.java,
1931 javax/swing/text/html/parser/TagElement.java,
1932 gnu/javax/swing/text/html/package.html,
1933 gnu/javax/swing/text/html/parser/gnuDTD.java,
1934 gnu/javax/swing/text/html/parser/HTML_401F.java,
1935 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1936 gnu/javax/swing/text/html/parser/htmlValidator.java,
1937 gnu/javax/swing/text/html/parser/package.html,
1938 gnu/javax/swing/text/html/parser/models/list.java,
1939 gnu/javax/swing/text/html/parser/models/node.java,
1940 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1941 gnu/javax/swing/text/html/parser/models/package.html,
1942 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1943 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1944 gnu/javax/swing/text/html/parser/models/transformer.java,
1945 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1946 gnu/javax/swing/text/html/parser/support/package.html,
1947 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1948 gnu/javax/swing/text/html/parser/support/Parser.java,
1949 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1950 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1951 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1952 gnu/javax/swing/text/html/parser/support/low/Location.java,
1953 gnu/javax/swing/text/html/parser/support/low/node.java,
1954 gnu/javax/swing/text/html/parser/support/low/package.html,
1955 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1956 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1957 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1958 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1960 * javax/swing/text/html/HTML.java,
1961 javax/swing/text/html/parser/ParserDelegator.java:
1962 New files (replacing).
1963 * javax/swing/text/html/package.html,
1964 javax/swing/text/html/parser/package.html: Documenting the
1967 2005-04-19 Chris Burdess <dog@gnu.org>
1969 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1970 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1971 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1972 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1973 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1974 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1975 gnu/xml/dom/html2/DomHTMLBRElement.java,
1976 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1977 gnu/xml/dom/html2/DomHTMLCollection.java,
1978 gnu/xml/dom/html2/DomHTMLDocument.java,
1979 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1981 2005-04-19 Michael Koch <konqueror@gmx.de>
1983 * Makefile.am: Added new files.
1984 * Makefile.in: Regenerated.
1986 2005-04-19 Roman Kennke <roman@kennke.org>
1988 * javax/swing/text/JTextComponent.java
1989 (JTextComponent): Added repaintListener which issues repaint
1990 requests when the underlying document changes.
1991 (setDocument): Adds repaintListener to document when the
1992 document is changed.
1993 * javax/swing/text/DefaultEditorKit.java:
1994 Removed repaint calls on JTextComponent. This is now handled
1995 through a DocumentListener in JTextComponent that repaints
1996 the component when needed.
1998 2005-04-19 Roman Kennke <roman@kennke.org>
2001 * javax/swing/text/StyleContext.java
2002 (NamedStyle.setResolveParent): Added null
2005 2005-04-19 Michael Koch <konqueror@gmx.de>
2007 * java/rmi/server/RemoteObject.java:
2008 Removed unused import statement.
2010 2005-04-19 Michael Koch <konqueror@gmx.de>
2012 * java/net/URL.java: Formatting cleanups.
2014 2005-04-19 Michael Koch <konqueror@gmx.de>
2016 * java/awt/FontMetrics.java: Reformatted.
2017 (getFontRenderContext): Handle case when java.awt.Graphics context is
2020 2005-04-19 Michael Koch <konqueror@gmx.de>
2022 * java/awt/FontMetrics.java
2023 (getStringBounds): New methods.
2026 2005-04-19 Michael Koch <konqueror@gmx.de>
2028 * gnu/java/security/x509/X509Certificate.java
2029 (parse): Handle val == null case.
2031 2005-04-19 Roman Kennke <roman@kennke.org>
2033 * javax/swing/plaf/metal/MetalLookAndFeel.java
2034 (initComponentDefaults): Added defaults for Menu, MenuBar
2037 2005-04-19 Roman Kennke <roman@kennke.org>
2039 * javax/swing/plaf/metal/MetalLookAndFeel.java
2040 (initComponentDefaults): Added Label.font.
2041 (initSystemColorDefaults): Added this method and adjusted the
2042 general control color.
2044 2005-04-19 Roman Kennke <roman@kennke.org>
2046 * javax/swing/plaf/metal/MetalBorders.java:
2048 * javax/swing/plaf/metal/MetalButtonUI.java:
2049 (installDefaults): Install button font.
2050 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2051 (initComponentDefaults): Added button border, font and margin.
2052 Changed components background color to the Metal current themes
2055 2005-04-19 Roman Kennke <roman@kennke.org>
2057 * javax/swing/plaf/metal/MetalLookAndFeel.java
2058 (initComponentDefaults): Added to set Metal specific component
2061 2005-04-19 Mark Wielaard <mark@klomp.org>
2063 * javax/swing/plaf/metal/MetalLookAndFeel.java
2064 (initClassDefaults): Call super.initClassDefaults().
2066 2005-04-19 Roman Kennke <roman@kennke.org>
2068 * javax/swing/plaf/metal/MetalLookAndFeel.java
2069 (initClassDefaults): Added to include the *UI classes.
2071 2005-04-19 Roman Kennke <roman@kennke.org>
2073 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2075 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2077 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2079 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2081 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2083 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2085 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2087 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2089 * javax/swing/plaf/metal/MetalSliderUI.java:
2091 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2093 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2095 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2097 2005-04-19 Roman Kennke <roman@kennke.org>
2099 * javax/swing/plaf/metal/MetalButtonUI.java:
2100 Added skeleton class.
2101 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2102 Added skeleton class.
2103 * javax/swing/plaf/metal/MetalLabelUI.java:
2104 Added skeleton class.
2105 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2106 Added skeleton class.
2107 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2108 Added skeleton class.
2109 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2110 Added skeleton class.
2112 2005-04-19 Roman Kennke <roman@kennke.org>
2114 * javax/swing/UIDefaults.java:
2115 Added API documentation for all methods.
2117 2005-04-19 Roman Kennke <roman@kennke.org>
2119 * javax/swing/UIDefaults.java
2120 (put): Now uses new checkAndPut method instead of checking
2122 (putDefaults): Fixed so that it accepts null-values and
2123 treats them like remove(key).
2124 (checkAndPut): Added. This checks for null-values and calls
2127 2005-04-19 Michael Koch <konqueror@gmx.de>
2129 * Makefile.am: Added new files.
2130 * Makefile.in: Regenerated.
2132 2005-04-19 Mark Wielaard <mark@klomp.org>
2134 * java/lang/natRuntime.cc (insertSystemProperties): Set
2135 java.class.path to CLASSPATH only when not empty. Fall back to
2136 default path "." when java.class.path is empty.
2138 2005-04-19 Michael Koch <konqueror@gmx.de>
2140 * javax/swing/text/rtf/ControlWordToken.java,
2141 javax/swing/text/rtf/RTFEditorKit.java,
2142 javax/swing/text/rtf/RTFParseException.java,
2143 javax/swing/text/rtf/RTFParser.java,
2144 javax/swing/text/rtf/RTFScanner.java,
2145 javax/swing/text/rtf/TextToken.java,
2146 javax/swing/text/rtf/Token.java: New files.
2147 * Makefile.am: Added new files.
2148 * Makefile.in: Regenerated.
2150 2005-04-19 Michael Koch <konqueror@gmx.de>
2152 * java/awt/geom/QuadCurve2D.java:
2153 Fixed Brian Gough's name for real.
2155 2005-04-19 Roman Kennke <roman@kennke.org>
2157 * javax/swing/UIManager.java:
2158 Make the UIManager respect the swing.defaultlaf system
2161 2005-04-19 Tom Tromey <tromey@redhat.com>
2163 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2166 2005-04-19 Roman Kennke <roman@kennke.org>
2168 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2169 Fixed tabs to spaces.
2171 2005-04-19 Roman Kennke <roman@kennke.org>
2173 * javax/swing/plaf/basic/BasicMenuUI.java
2174 (getMaximumSize): Now returns preferredSize because JMenu should
2175 never be bigger than that.
2176 * javax/swing/JRootPane
2177 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2179 2005-04-19 Roman Kennke <roman@kennke.org>
2181 * javax/swing/JRootPane.java:
2182 Fixed various tabs to be spaces.
2183 (RootLayout.layoutContainer): Made menubar left aligned.
2185 2005-04-19 Roman Kennke <roman@ontographics.com>
2187 * javax/swing/JList.java
2188 (getPreferredScrollableViewportSize):
2189 The previous implementation was merely guessing the size,
2190 now it respects layoutOrientation, visibleRowCount
2192 (getScrollableTracksViewportHeight):
2193 Reimplemented so that layoutOrientation, visibleRowCount
2194 and preferred size are respected.
2195 (getScrollableTracksViewportWidth):
2196 Reimplemented so that layoutOrientation, visibleRowCount
2197 and preferred size are respected.
2198 * javax/swing/plaf/basic/BasicListUI.java
2200 Improved calculation of preferredSize when JList is
2201 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2203 The previous implementation assumed a layoutOrientation of
2204 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2205 JList.VERTICAL_WRAP.
2207 2005-04-19 Roman Kennke <roman@ontographics.com>
2209 * javax/swing/plaf/basic/BasicListUI.java
2210 (paintCell): use CellRendererPane for painting the cells.
2212 2005-04-19 Roman Kennke <roman@ontographics.com>
2214 * javax/swing/plaf/basic/BasicListUI:
2215 fixed modifiers of several fields, methods and inner
2216 classes to match the 'spec'.
2217 (getMaximumSize): removed. It's not in the spec and the
2218 implementations was superfluous.
2220 2005-04-19 Roman Kennke <roman@ontographics.com>
2222 * javax/swing/plaf/basic/BasicListUI:
2223 make BasicListUI capable of wrapping lists
2224 (layoutOrientation property of javax.swing.JList)
2226 2005-04-19 Roman Kennke <roman@ontographics.com>
2228 * javax/swing/plaf/basic/BasicListUI
2229 (updateLayoutState,paint): make BasicListUI aware of the
2230 width of the rendered JList.
2232 2005-04-19 Roman Kennke <roman@kennke.org>
2234 * javax/swing/ImageIcon.java
2235 Added API documentation.
2237 2005-04-19 Roman Kennke <roman@kennke.org>
2239 * javax/swing/text/ImageIcon.java
2240 (ImageIcon): Use setImage instead of direct assignment.
2241 (setImage): Call loadImage to make sure that the image is loaded.
2242 (loadImage): Waits for the image to complete loading.
2243 (getImageLoadStatus): Added. Returns the load status of the
2246 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2248 * javax/swing/JTextArea.java (replaceRange):
2249 Fixing doc.remove(start, length) misinterpretation.
2251 2005-04-19 Roman Kennke <roman@ontographics.com>
2253 * javax/swing/CellRendererPane.java:
2254 implemented all methods of this class.
2255 reformatted all wrong formatted code.
2257 2005-04-19 Roman Kennke <roman@kennke.org>
2259 * javax/swing/BoxLayout.java:
2260 (layoutContainer): Made this layout manager respect the
2261 minimum, maximum and preferred size more correctly.
2263 2005-04-19 Roman Kennke <roman@ontographics.com>
2265 * javax/swing/BoxLayout.java:
2266 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2267 layoutContainer): Make these methods and thereby the
2268 BoxLayout respect the insets (like borders) of the
2269 component that is laid out.
2271 2005-04-19 Roman Kennke <roman@kennke.org>
2273 * javax/swing/JComponent.java:
2274 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2275 Untabified the file.
2277 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2279 * javax/swing/JComboBox.java (constructors): selecting the
2280 first item if the box was constructed from the provided
2281 non - empty array or vector.
2283 2005-04-19 Michael Koch <konqueror@gmx.de>
2285 * gnu/java/awt/peer/gtk/GdkGraphics.java
2286 (getClipBounds): Handle clip being null.
2287 (setClip): Likewise.
2288 * java/beans/beancontext/BeanContextSupport.java
2292 (removeAll): Likewise.
2293 (retainAll): Likewise.
2295 2005-04-19 Michael Koch <konqueror@gmx.de>
2297 * java/beans/beancontext/BeanContextServicesSupport.java
2298 (BeanContextServicesSupport): Reimplemented.
2299 (addBeanContextServicesListener): Implemented.
2300 (initialize): Likewise.
2301 (removeBeanContextServicesListener): Likewise.
2302 * java/beans/beancontext/BeanContextSupport.java
2304 (addBeanContextMembershipListener): Likewise.
2305 (getLocale): Likewise.
2306 (initialize): Likewise.
2307 (iterator): Likewise.
2309 (toArray): Likewise.
2311 2005-04-19 Roman Kennke <roman@kennke.org>
2313 * java/awt/MediaTracker.java:
2314 Reindented tabs to spaces.
2316 2005-04-19 Roman Kennke <roman@kennke.org>
2318 * java/awt/MediaTracker.java
2319 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2320 confused the media tracker and lead to lockups. The LOADING
2321 bit is handled on other places.
2322 (addImage): Removed the 'start image tracking' stuff. This
2323 is not necessary and could confuse the media tracker.
2324 (checkAll): Improved the check for image status so that
2325 images that already complete images are detected. Also now
2326 are really all images checked and if necessary loaded. Before
2327 the method bailed out after the first incomplete image.
2328 (statusAll): Detect images that are complete after the
2329 call to Component.prepareImage(..).
2330 (checkID): The same as in checkAll.
2331 (statusID): The same as in statusAll.
2333 2005-04-19 Roman Kennke <roman@kennke.org>
2335 * java/awt/MediaTracker.java
2336 (addImage): Synchronized list access.
2337 (waitForAll): Fixed comparison of time (changed < to >).
2338 (waitForID): Fixed comparison of time (changed < to >).
2339 (removeImage): Synchronized list access.
2341 2005-04-19 Roman Kennke <roman@kennke.org>
2343 * java/awt/MediaTracker.java
2344 Added API documentation.
2346 2005-04-19 Roman Kennke <roman@kennke.org>
2348 * java/awt/MediaTracker.java
2349 (MediaEntry.imageUpdate): Fixed flags. The different flags
2350 must not be ORed together.
2351 (checkAll): Modified to handle different meaning of the flags.
2352 (waitForAll): Fixed so that it waits maximum the
2353 specified amount of milliseconds.
2354 (statusAll): Modified to handle different meaning of the flags.
2355 (waitForID): Fixed so that it waits maximum the
2356 specified amount of milliseconds.
2358 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2360 * java/awt/Font.java (decode): Handle null argument and allow
2363 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2365 * java/beans/EventHandler.java: Reworked documentation.
2366 (invoke): Fixed behavior to match spec.
2368 2005-04-19 Michael Koch <konqueror@gmx.de>
2370 * java/awt/print/PrinterJob.java
2371 (pageDialog): New method.
2372 (printDialog): Implemented.
2374 2005-04-19 Michael Koch <konqueror@gmx.de>
2376 * java/awt/image/ConvolveOp.java:
2377 Removed comment added by eclipse.
2379 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2381 * java/awt/image/IndexColorModel.java
2382 (getRGB): Check if pixel is negative.
2384 2005-04-19 Michael Koch <konqueror@gmx.de>
2386 * java/awt/image/RasterOp.java:
2387 Fixed wrong formatting.
2389 2005-04-18 Roman Kennke <roman@kennke.org>
2391 * java/awt/Compmonent.java
2392 (setComponentOrientation): Made this property firing a
2393 PropertyChangeEvent.
2395 2005-04-18 Roman Kennke <roman@kennke.org>
2397 * java/awt/BorderLayout.java
2398 (calcSize): Check for overflow when component sizes are added.
2400 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2402 * java/awt/AWTEvent.java (toString): Added case
2403 for source not being an AWT component.
2405 2005-04-18 Chris Burdess <dog@gnu.org>
2407 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2409 2005-04-18 Michael Koch <konqueror@gmx.de>
2411 gnu/java/awt/EmbeddedWindowSupport.java,
2412 gnu/java/net/HeaderFieldHelper.java,
2413 gnu/java/net/URLParseError.java,
2414 gnu/java/net/protocol/file/Handler.java,
2415 gnu/java/net/protocol/jar/Handler.java:
2416 Fixed usage of @author tag.
2418 2005-04-18 Michael Koch <konqueror@gmx.de>
2420 * gnu/xml/aelfred2/XmlParser.java:
2421 Reverted my typo fix.
2423 2005-04-18 Michael Koch <konqueror@gmx.de>
2425 * java/awt/geom/CubicCurve2D.java,
2426 java/awt/geom/QuadCurve2D.java:
2427 Fixed mentioning of Brian Gouph.
2429 2005-04-18 Michael Koch <konqueror@gmx.de>
2431 * gnu/java/awt/Buffers.java,
2432 gnu/java/awt/image/ImageDecoder.java,
2433 gnu/java/awt/image/XBMDecoder.java,
2434 gnu/java/awt/peer/ClasspathFontPeer.java,
2435 gnu/java/net/CRLFInputStream.java,
2436 gnu/java/net/EmptyX509TrustManager.java,
2437 gnu/java/net/LineInputStream.java,
2438 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2439 gnu/java/net/protocol/ftp/BlockInputStream.java,
2440 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2441 gnu/java/net/protocol/ftp/DTP.java,
2442 gnu/java/net/protocol/ftp/DTPInputStream.java,
2443 gnu/java/net/protocol/ftp/FTPConnection.java,
2444 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2445 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2446 gnu/java/net/protocol/ftp/StreamInputStream.java,
2447 gnu/java/net/protocol/http/ChunkedInputStream.java,
2448 gnu/java/net/protocol/http/HTTPConnection.java,
2449 gnu/java/net/protocol/http/HTTPURLConnection.java,
2450 gnu/java/net/protocol/http/Headers.java,
2451 gnu/java/net/protocol/http/Request.java,
2452 gnu/java/nio/ChannelInputStream.java,
2453 gnu/java/nio/ChannelOutputStream.java,
2454 gnu/java/nio/InputStreamChannel.java,
2455 gnu/java/nio/OutputStreamChannel.java,
2456 gnu/java/nio/SelectorProviderImpl.java,
2457 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2458 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2459 gnu/java/rmi/dgc/DGCImpl.java,
2460 gnu/java/rmi/registry/RegistryImpl.java,
2461 gnu/java/rmi/server/ProtocolConstants.java,
2462 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2463 gnu/java/rmi/server/RMIIncomingThread.java,
2464 gnu/java/rmi/server/RMIObjectInputStream.java,
2465 gnu/java/rmi/server/RMIObjectOutputStream.java,
2466 gnu/java/rmi/server/RMIVoidValue.java,
2467 gnu/java/rmi/server/UnicastConnectionManager.java,
2468 gnu/java/rmi/server/UnicastRef.java,
2469 gnu/java/rmi/server/UnicastRemoteCall.java,
2470 gnu/java/rmi/server/UnicastRemoteStub.java,
2471 gnu/java/rmi/server/UnicastServerRef.java,
2472 gnu/java/security/OID.java,
2473 gnu/java/security/der/DERReader.java,
2474 gnu/java/security/provider/CollectionCertStoreImpl.java,
2475 gnu/java/security/provider/DSAParameterGenerator.java,
2476 gnu/java/security/provider/DefaultPolicy.java,
2477 gnu/java/security/provider/EncodedKeyFactory.java,
2478 gnu/java/security/provider/GnuDHPublicKey.java,
2479 gnu/java/security/provider/GnuDSAPrivateKey.java,
2480 gnu/java/security/provider/GnuDSAPublicKey.java,
2481 gnu/java/security/provider/GnuRSAPrivateKey.java,
2482 gnu/java/security/provider/GnuRSAPublicKey.java,
2483 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2484 gnu/java/security/provider/RSA.java,
2485 gnu/java/security/provider/SHA1PRNG.java,
2486 gnu/java/security/provider/SHA1withRSA.java,
2487 gnu/java/security/provider/X509CertificateFactory.java,
2488 gnu/java/security/x509/GnuPKIExtension.java,
2489 gnu/java/security/x509/X500DistinguishedName.java,
2490 gnu/java/security/x509/X509CRL.java,
2491 gnu/java/security/x509/X509CRLEntry.java,
2492 gnu/java/security/x509/X509CertPath.java,
2493 gnu/java/security/x509/X509CertSelectorImpl.java,
2494 gnu/java/security/x509/X509Certificate.java,
2495 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2496 gnu/java/security/x509/ext/BasicConstraints.java,
2497 gnu/java/security/x509/ext/CRLNumber.java,
2498 gnu/java/security/x509/ext/CertificatePolicies.java,
2499 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2500 gnu/java/security/x509/ext/Extension.java,
2501 gnu/java/security/x509/ext/GeneralNames.java,
2502 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2503 gnu/java/security/x509/ext/KeyUsage.java,
2504 gnu/java/security/x509/ext/PolicyConstraint.java,
2505 gnu/java/security/x509/ext/PolicyMappings.java,
2506 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2507 gnu/java/security/x509/ext/ReasonCode.java,
2508 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2509 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2510 Reorganized import statements.
2512 2005-04-18 Michael Koch <konqueror@gmx.de>
2514 * gnu/java/awt/color/CieXyzConverter.java,
2515 gnu/java/awt/color/ClutProfileConverter.java,
2516 gnu/java/awt/color/ColorLookUpTable.java,
2517 gnu/java/awt/color/ColorSpaceConverter.java,
2518 gnu/java/awt/color/GrayProfileConverter.java,
2519 gnu/java/awt/color/GrayScaleConverter.java,
2520 gnu/java/awt/color/LinearRGBConverter.java,
2521 gnu/java/awt/color/ProfileHeader.java,
2522 gnu/java/awt/color/PyccConverter.java,
2523 gnu/java/awt/color/RgbProfileConverter.java,
2524 gnu/java/awt/color/SrgbConverter.java,
2525 gnu/java/awt/color/TagEntry.java,
2526 gnu/java/awt/color/ToneReproductionCurve.java:
2527 Standardized file headers.
2529 2005-04-16 Tom Tromey <tromey@redhat.com>
2531 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2532 'ANY' package-private.
2534 2005-04-15 Tom Tromey <tromey@redhat.com>
2536 * Makefile.in: Rebuilt.
2537 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2538 (libgcj0_convenience_la_LIBADD): ... here.
2540 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2542 * gij.cc (version): Properly quote java version.
2543 (main): Fix typo in comment.
2545 2005-04-13 Mark Wielaard <mark@klomp.org>
2547 * java/lang/natRuntime.cc (insertSystemProperties): Set
2548 java.class.path to CLASSPATH if not already set.
2550 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2552 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2554 2005-04-12 Mike Stump <mrs@apple.com>
2556 * configure: Regenerate.
2558 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2561 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2562 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2564 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2567 * scripts/TexinfoDoclet.java: Removed.
2568 * Makefile.am (texinfo): Removed.
2569 * Makefile.in: Regenerated.
2571 2005-04-11 Michael Koch <konqueror@gmx.de>
2573 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2574 Fixed wrong casting.
2576 2005-04-06 Andrew Haley <aph@redhat.com>
2578 * testsuite/libjava.lang/bytearray.java: New file.
2579 * testsuite/libjava.lang/bytearray.out: New file.
2580 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2581 (loadClass): Use it.
2582 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2584 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2586 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2587 gcj-dbtool dependency
2588 * Makefile.in: Regenerated
2590 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2592 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2593 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2595 2005-04-05 Andrew Haley <aph@redhat.com>
2597 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2598 (Tokenizer): New class.
2599 (getFiles): New method.
2600 (main): Add "-" argument.
2602 Read list of files from stdin when merging map databases.
2603 (usage): Add "-" argument.
2607 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2610 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2611 * Makefile.in: Regenerate.
2612 * configure.ac: Add --with-java-home option.
2613 * configure: Regenerate.
2614 * external/Makefile.in: Regenerate.
2615 * external/sax/Makefile.in: Regenerate.
2616 * external/w3c_dom/Makefile.in: Regenerate.
2617 * gcj/Makefile.in: Regenerate.
2618 * include/Makefile.in: Regenerate.
2619 * testsuite/Makefile.in: Regenerate.
2620 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2623 2005-04-05 Tom Tromey <tromey@redhat.com>
2625 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2626 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2627 Rewrote to use _Jv_FindClassFromSignature.
2628 * verify.cc (resolve): throw NoClassDefFoundError.
2629 * link.cc (resolve_field): Throw NoClassDefFoundError.
2630 (find_field): Likewise.
2631 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2632 Handle error cases. Added 'endp' argument.
2633 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2635 2005-04-05 Tom Tromey <tromey@redhat.com>
2637 * Makefile.in: Rebuilt.
2638 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2639 gtk_awt_peer_sources.
2640 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2641 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2642 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2643 (gtk-awt-peer.lo): New target.
2645 2005-04-04 Steve Pribyl <steve@netfuel.com>
2648 * configure.ac: Fix fastjar definition for cross builds.
2649 * configure: Rebuilt.
2651 2005-04-04 Tom Tromey <tromey@redhat.com>
2653 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2654 it was already found.
2656 2005-04-04 Tom Tromey <tromey@redhat.com>
2658 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2659 org.metastatic.jessie.
2661 2005-04-02 Anthony Green <green@redhat.com>
2664 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2666 2005-04-02 Mark Wielaard <mark@klomp.org>
2668 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2669 Attributes and attribute order doesn't matter.
2670 (BasicAttributesEnumeration.where): Initialize to zero.
2671 (BasicAttributesEnumeration.nextElement): Update and compare where
2672 appropriately (zero based).
2674 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2676 PR libgcj/20090, PR libgcj/20526
2677 * gij.cc (nonstandard_opts_help): New function.
2678 (add_option): New function.
2679 (main): Support java options. Set java.class.path. Don't set
2681 * prims.cc (parse_x_arg): New function.
2682 (parse_init_args): Call parse_x_arg for -X and _ options, when
2683 ignoreUnrecognized is true.
2684 (new _Jv_RunMain): New vm_args variant.
2685 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2686 (_Jv_Jar_Class_Path): Remove variable.
2687 * include/java-props.h: Likewise.
2688 * include/cni.h (JvRealloc): New function.
2689 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2690 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2691 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2693 * configure.ac (JV_VERSION): Define.
2694 (JV_API_VERSION): Likewise.
2695 * configure: Regenerate.
2696 * include/config.h.in: Regenerate.
2698 2005-04-01 Mark Anderson <mark@panonet.net>
2700 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2701 -Infinity as parameters.
2703 2005-04-01 Michael Koch <konqueror@gmx.de>
2705 * java/io/PipedInputStream.java
2706 (read): Make sure a positive byte value is returned. Revised javadoc.
2707 Thanks to Olafur Bragason for reporting these bugs.
2709 2005-04-01 Tom Tromey <tromey@redhat.com>
2711 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2712 Updated for name change.
2713 (nativeFindClass): New method.
2714 (loadClass): Use nativeFindClass.
2715 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2717 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2718 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2720 (initialize): New method.
2721 (nativeFindClass): Declare.
2722 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2723 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2724 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2726 (definePackageForNative): Removed.
2727 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2728 Moved to VMClassLoader.java.
2729 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2730 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2731 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2732 removed VMClassLoader.java.
2733 (nat_source_files): Removed natVMClassLoader.cc.
2735 2005-04-01 Tom Tromey <tromey@redhat.com>
2737 * Makefile.in: Rebuilt.
2738 * Makefile.am (db_pathtail): Use $(gcc_version), not
2741 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2743 * java/util/Timer.java
2744 (run): Stop the queue if a task throws an exception.
2746 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2748 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2750 2005-03-29 Ian Lance Taylor <ian@airs.com>
2752 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2753 * external/sax/Makefile.in: Rebuild.
2754 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2756 * external/w3c_dom/Makefile.in: Rebuild.
2758 2005-03-29 Tom Tromey <tromey@redhat.com>
2760 * java/lang/natRuntime.cc (insertSystemProperties): Set
2761 gnu.gcj.runtime.endorsed.dirs.
2762 * Makefile.in: Rebuilt.
2763 * Makefile.am (ordinary_java_source_files): Added
2764 HelperClassLoader.java.
2765 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2766 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2768 (init): Use addDirectoriesFromProperty.
2769 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2770 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2771 gnu.gcj.runtime.endorsed.dirs.
2772 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2774 2005-03-26 Chris Burdess <dog@gnu.org>
2776 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2779 2005-03-13 Michael Koch <konqueror@gmx.de>
2781 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2783 2005-03-11 Chris Burdess <dog@gnu.org>
2785 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2788 2005-02-27 Chris Burdess <dog@gnu.org>
2790 * gnu/xml/aelfred2/JAXPFactory.java,
2791 gnu/xml/aelfred2/SAXDriver.java,
2792 gnu/xml/aelfred2/XmlParser.java,
2793 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2794 formatting conventions. Replaced arrays of Object with struct-like
2795 classes for easier maintainability. Made SAXDriver.stringInterning
2796 package private to allow access from XmlParser inside the loop without
2797 a method call overhead.
2799 2005-03-11 Chris Burdess <dog@gnu.org>
2801 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2804 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2806 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2807 settings to sub Makefiles.
2808 (GCJH, ZIP): Prefix with top_builddir.
2809 * configure: Rebuild.
2810 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2811 * external/w3c_dom/Makefile.in: Rebuild.
2812 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2813 * external/sax/Makefile.in: Rebuild.
2815 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2817 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2818 libsocket to the libraries to link for Solaris.
2820 2005-03-28 Per Bothner <per@bothner.com>
2822 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2823 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2825 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2827 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2828 to fix a ONESTEP fallout.
2829 * Makefile.in: Regenerate.
2831 2005-03-25 Mike Stump <mrs@apple.com>
2833 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2834 paths like we do for the compiler, as we use it in external/sax
2835 and it doesn't get MULTIBUILDTOP right when multilibing.
2837 2005-03-24 Anthony Green <green@redhat.com>
2839 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2841 (usage): Add [LIBDIR] to help output.
2842 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2843 * Makefile.am (AM_CXXFLAGS): Define
2844 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2845 (db_pathtail): New macro.
2847 2005-03-24 Tom Tromey <tromey@redhat.com>
2849 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2850 add sax and w3c libraries.
2851 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2853 * external/w3c_dom/Makefile.in: Rebuilt.
2854 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2856 (libw3c_gcj_la_LDFLAGS): New variable.
2857 (noinst_LTLIBRARIES): Renamed.
2858 * external/sax/Makefile.in: Rebuilt.
2859 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2861 (libsax_gcj_la_LDFLAGS): New variable.
2862 (noinst_LTLIBRARIES): Renamed.
2864 2005-03-23 Tom Tromey <tromey@redhat.com>
2866 * Makefile.in: Rebuilt.
2867 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2868 (libgcj0_convenience_la_SOURCES): Don't include
2869 gnu_xml_source_files.
2870 (libgcj0_convenience_la_LIBADD): New variable.
2871 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2872 (all_java_source_files): javax_imageio_source_files,
2873 javax_xml_source_files, and gnu_java_beans_source_files.
2874 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2875 (gnu-xml.lo): New target.
2876 (javax-imageio.lo): Likewise.
2877 (javax-xml.lo): Likewise.
2878 (gnu-java-beans.lo): Likewise.
2879 (gnu_java_beans_source_files): New variable.
2880 (javax_imageio_source_files): Likewise.
2881 (javax_xml_source_files): Likewise.
2882 (javax_source_files): Moved files to other variable.
2883 (awt_java_source_files): Likewise.
2884 (ordinary_java_source_files): Added BootClassLoader.java.
2885 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2886 not system class loader.
2887 (initBootLoader): New method.
2888 (loadClass): Search bootLoader.
2889 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2890 boot loader, not system class loader.
2891 (_Jv_UnregisterInitiatingLoader): Likewise.
2892 (_Jv_FindClass): Likewise. Ensure entries in
2893 bootstrap_class_list are unique.
2894 * java/lang/natClass.cc (getClassLoader): Don't special case
2895 system class loader.
2896 * java/lang/VMClassLoader.java (bootLoader): New field.
2897 (getResource): Use bootLoader.
2898 (getResources): Likewise.
2899 (initBootLoader): Declare.
2900 * gnu/gcj/runtime/BootClassLoader.java: New file.
2901 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2902 (EMPTY_ENUMERATION): Now package-private.
2903 * external/w3c_com/Makefile.in: Rebuilt.
2904 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2905 (w3c.jar): New target.
2906 (classes.stamp): Updated.
2907 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2908 Changed name of library.
2909 (libw3c_gcj_la_SOURCES): New variable.
2910 (libw3c_gcj_la_GCJFLAGS): Likewise.
2911 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2912 * external/sax/Makefile.in: Rebuilt.
2913 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2914 (sax.jar): New target.
2915 (classes.stamp): Updated.
2916 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2917 Changed name of library.
2918 (libsax_gcj_la_SOURCES): New variable.
2919 (libsax_gcj_la_GCJFLAGS): Likewise.
2920 (source_files): Renamed from libsax_convenience_la_SOURCES.
2921 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2923 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2925 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2927 2005-03-23 Sven de Marothy <sven@physto.se>
2929 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2931 * java/util/Calendar.java
2932 (set): Use starting day of week when one is needed if none is given.
2933 * java/text/SimpleDateFormat.java
2934 (parse): Handle 1-12 and 1-24 timestamps correctly.
2935 * java/util/GregorianCalendar.java
2936 (computeTime, computeFields): HOUR should be in 0-11 format.
2937 (nonLeniencyCheck): Adjust leniency checking to that fact.
2938 (getLinearDay): Should be private.
2940 2005-03-23 Tom Tromey <tromey@redhat.com>
2942 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2943 (_Jv_CheckABIVersion): Use it.
2945 2005-03-22 Mike Stump <mrs@apple.com>
2947 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2949 * include/posix.h: .dylib is used on all Apple MACH platforms.
2950 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2952 2005-03-22 Tom Tromey <tromey@redhat.com>
2954 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2956 2005-03-21 Tom Tromey <tromey@redhat.com>
2958 * java/lang/VMCompiler.java (static block): Also catch
2959 BufferUnderflowException.
2961 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2963 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2964 set tool_include_dir. In all substitutions, leave $(gcc_version)
2965 to be expanded by the Makefile.
2966 * aclocal.m4, configure: Regenerate.
2967 * Makefile.am: Set gcc_version. Replace all uses of
2968 @gcc_version@ with $(gcc_version).
2969 * external/Makefile.am, external/sax/Makefile.am
2970 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2971 * testsuite/Makefile.am: Set gcc_version.
2972 * include/Makefile.am: Set gcc_version and tool_include_dir.
2973 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2974 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2975 * testsuite/Makefile.in: Regenerate.
2977 2005-03-17 Andrew Haley <aph@redhat.com>
2979 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2981 Pass klass to _Jv_StackTrace::GetClassContext().
2982 * java/lang/ClassLoader.java (getParent): Pass class to
2983 VMSecurityManager.getClassContext()
2984 (getSystemClassLoader): Likewise.
2985 * java/lang/Package.java (getPackage): Likewise.
2986 (getPackages): Likewise.
2987 * java/lang/SecurityManager.java (getClassContext): Likewise.
2988 (currentClassLoader): Likewise.
2989 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2990 (currentClassLoader) Add new arg: caller.
2991 Pass caller to VMSecurityManager.getClassContext.
2993 * stacktrace.cc (GetClassContext): Correct calculation of
2996 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2997 im->source_file_name.
2999 2005-03-16 Andrew Haley <aph@redhat.com>
3001 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3003 2005-03-16 Tom Tromey <tromey@redhat.com>
3005 * link.cc (ensure_class_linked): Removed #ifdef.
3006 (print_class_loaded): Likewise.
3007 (wait_for_state): Likewise.
3008 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3009 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3010 * include/java-interp.h: ... here.
3012 2005-03-16 Tom Tromey <tromey@redhat.com>
3014 * gnu/java/lang/MainThread.java (run): Load main class using
3015 system class loader.
3017 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
3019 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3020 lgcc_s to the libraries to link for Darwin.
3022 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3024 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3025 interpreter-specific code with #ifdef INTERPRETER.
3026 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3027 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3028 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3029 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3030 #ifdef INTERPRETER. Also protect declarations that use it.
3031 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3032 #ifdef INTERPRETER block.
3034 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3037 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3038 * Makefile.in: Rebuilt.
3040 2005-03-15 David Daney <ddaney@avtrex.com>
3042 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3045 2005-03-15 David Daney <ddaney@avtrex.com>
3047 * java/io/BufferedInputStream.java (available): Use 'in' instead
3048 of 'super' for underlying stream access.
3050 (read(byte[], int, int)): Ditto.
3052 (skip): Call skip on underlying stream when possible.
3054 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3056 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3057 SJLJ_EXCEPTIONS is defined.
3059 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3061 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3064 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3066 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3068 (libjava_arguments): Likewise.
3070 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3071 (gcj_jni_test_one): Likewise.
3072 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3073 Add flags to keep the Darwin linker quiet.
3074 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3075 Add -liconv for Darwin.
3077 2005-03-11 Tom Tromey <tromey@redhat.com>
3079 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3080 (_Jv_CheckABIVersion): Use it.
3082 2005-03-11 Tom Tromey <tromey@redhat.com>
3084 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3085 (usage): Document '-p'.
3086 * Makefile.in: Rebuilt.
3087 * Makefile.am (dbexecdir): New variable.
3088 (db_name): Likewise.
3089 (dbexec_DATA): Likewise.
3090 ($(db_name)): New target.
3091 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3092 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3095 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3097 * exception.cc: Remove stray MethodRef.h include.
3098 * java/lang/natClass.cc: Likewise.
3099 * gnu/gcj/runtime/MethodRef.java: Removed.
3100 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3101 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3102 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3103 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3104 * Makefile.in: Rebuilt.
3106 2005-03-10 Tom Tromey <tromey@redhat.com>
3108 * Makefile.in: Rebuilt.
3109 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3111 2005-03-10 Chris Burdess <dog@bluezoo.org>
3113 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3114 not currently parsing the DTD.
3116 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3118 New Stack Trace infrastructure.
3119 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3120 (gnu/gcj/runtime/StackTrace.java): Removed.
3121 (ordinary_java_source_files): Remove obsolete files.
3122 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3123 * configure.host (fallback_backtrace_h): Set backtrace header
3124 for mingw and cygwin targets.
3125 * configure.ac: Make symlink for fallback backtrace headers.
3126 * Makefile.in, configure: Rebuilt.
3127 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3128 Read 'LineNumberTable' attribute.
3129 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3131 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3133 * exception.cc: Remove unused include.
3134 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3135 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3136 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3137 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3138 table to direct threaded instruction values.
3139 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3140 (_Jv_InterpMethod::run): No longer member function. All
3141 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3142 is made or where an instruction could throw.
3143 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3145 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3146 (catch_fpe): Likewise.
3147 * stacktrace.cc: New file. Stack trace code now here.
3148 * gnu/gcj/runtime/MethodRef.java:
3149 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3150 calls addr2line to look up PC addresses in a given binary or shared
3152 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3153 gnu/gcj/runtime/natStackTrace.cc: Removed.
3154 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3155 this function name is specially recognised by the stack trace code
3156 and shouldn't be changed.
3157 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3158 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3159 (_Jv_InterpMethod::run): Update declaration.
3160 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3162 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3163 * include/java-stack.h: New file. Declarations for stack tracing.
3164 * include/jvm.h (_Jv_Frame_info): Removed.
3165 * java/lang/Class.h: Update friend declarations.
3166 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3168 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3169 (getStackTrace): Now native.
3170 (data): New RawDataManaged field.
3171 * java/lang/natClass.cc: Update includes.
3172 (forName): Use _Jv_StackTrace::GetCallingClass for
3173 calling-classloader check.
3174 (getClassLoader): Likewise.
3175 * java/lang/natRuntime.cc: Update includes.
3176 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3177 * java/lang/natVMSecurityManager.cc: Update includes.
3178 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3179 * java/lang/natVMThrowable.cc: New file. Native methods for
3181 * java/lang/reflect/natArray.cc: Update includes.
3182 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3183 accessibility check.
3184 * java/lang/reflect/natConstructor.cc: Update includes.
3185 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3186 accessibility check.
3187 * java/lang/reflect/natField.cc: Update includes.
3188 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3189 accessibility check.
3190 * java/lang/reflect/natMethod.cc: Update includes.
3191 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3192 accessibility check.
3193 * java/util/natResourceBundle.cc: Update includes.
3194 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3195 * java/util/logging/natLogger.cc: Update includes. Use
3196 _Jv_StackTrace::GetCallerInfo to get call-site info.
3197 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3199 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3202 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3204 * testsuite/libjava.compile/PR20312.java: New file.
3205 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3206 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3208 2005-03-09 Andrew Haley <aph@redhat.com>
3210 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3212 (smallTransferTo): New.
3213 (transferFrom): Loop around smallTransferFrom, copying pageSize
3215 (transferTo): Likewise.
3217 2005-03-09 David Daney <ddaney@avtrex.com>
3220 Merge BufferedInputStream from GNU Classpath.
3221 * java/io/BufferedInputStream.java (marktarget): Field removed.
3222 (CHUNKSIZE): Field removed.
3223 (bufferSize): New field.
3224 (BufferedInputStream): Initialize fields.
3225 (close): Invalidate mark and buffer indexes.
3227 (read()): Move mark handling code to refill.
3228 (read(byte[], int, int)): Ditto.
3229 (skip): Ditto and simplify EOF testing.
3230 (refill): Rewritten.
3231 * java/io/InputStreamReader.java (refill): Removed mark and reset
3232 of internal BufferedInputStream.
3234 2005-03-09 Tom Tromey <tromey@redhat.com>
3236 * java/lang/natVMClassLoader.cc (defineClass): Reference
3237 'systemClassLoader' field directly.
3238 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3240 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3241 Reference 'systemClassLoader' field directly.
3242 (_Jv_UnregisterInitiatingLoader): Likewise.
3243 (_Jv_FindClass): Likewise.
3245 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3247 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3249 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3250 the file in GNU Classpath style.
3252 2005-03-09 Tom Tromey <tromey@redhat.com>
3254 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3255 (toString): Synchronize.
3257 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3259 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3260 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3262 2005-03-07 Tom Tromey <tromey@redhat.com>
3264 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3265 (usage): Document '-f'.
3267 2005-03-07 Tom Tromey <tromey@redhat.com>
3269 * java/lang/VMCompiler.java (md5Digest): New field.
3270 (compileClass): Clone md5Digest instead of looking up a new one.
3272 2005-03-07 Tom Tromey <tromey@redhat.com>
3275 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3276 * link.cc (find_field_helper): Added 'type' argument.
3277 (find_field): Updated.
3279 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3280 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3281 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3282 throw UnsupportedOperationException, fixed comments.
3283 (setFont, setForeground): Fixed comments.
3284 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3285 return type to boolean.
3286 (getNextEvent): Fixed javadocs.
3287 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3288 (nativeQueueEmpty): Removed unused code.
3289 (iterateNativeQueue): Removed outer loop.
3291 2005-03-06 Roger Sayle <roger@eyesopen.com>
3294 * Makefile.am (libgcj0_convenience.la): Revert last change.
3295 * Makefile.in: Regenerate.
3297 2005-03-05 Anthony Green <green@redhat.com>
3299 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3300 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3301 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3302 (_Jv_GetDrawingSurface): Set visualID.
3303 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3304 (JAWT_GetAWT): Set Lock and Unlock.
3305 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3307 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3308 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3309 JAWT_LOCK_SURFACE_CHANGED): New macros.
3310 (struct _JAWT): Add Lock and Unlock.
3312 2005-03-05 Roger Sayle <roger@eyesopen.com>
3313 Alexandre Oliva <aoliva@redhat.com>
3314 Kelley Cook <kcook@gcc.gnu.org>
3317 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3318 of the object files to link to avoid exceeding the command line
3319 length limits on some platforms.
3320 (clean-local): Clean up objectlist files.
3321 * Makefile.in: Regenerate.
3323 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3325 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3326 spec_case. Initialize pointer mlo.
3328 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3331 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3333 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3336 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3337 uninitialized variable z.
3339 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3340 possible unused variables.
3342 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3344 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3346 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3349 * testsuite/libjava.jni/jni.exp
3350 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3352 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3354 2005-02-23 David Daney <ddaney@avtrex.com>
3356 * configure.host: Don't use -mxgot for MIPS builds.
3358 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3361 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3362 (COMPPATH): Removed.
3363 (ZIP, GCJH): Replace it with ../$(host_subdir).
3364 (built_gcc_dir): Add $(host_subdir).
3365 * configure: Regenerate.
3366 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3367 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3368 external/w3c_dom/Makefile.in: Regenerate.
3370 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3372 * java/awt/font/TextAttribute.java: changed names to lower case;
3373 (readResolve): implemented.
3374 Added doc comments all over.
3376 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3379 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3380 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3381 value. Move argument parsing code to prims.cc.
3382 * prims.cc (no_properties): Remove.
3383 (_Jv_Compiler_Properties): Initialize to NULL.
3384 (_Jv_Properties_Count): Initialize to 0.
3385 (parse_verbose_args): New function.
3386 (parse_init_args): New function.
3387 (_Jv_CreateJavaVM): Call parse_init_args.
3388 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3389 * gcj/cni.h (JvVMOption): New struct.
3390 (JvVMInitArgs): Likewise.
3391 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3393 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3394 (_Jv_VMInitArgs): Likewise.
3395 * include/java-props.h (_Jv_Properties_Count): Declare.
3396 * java/lang/natRuntime.cc (insertSystemProperties): Use
3397 _Jv_Properties_Count in for loop exit condition.
3398 * testsuite/libjava.jni/jni.exp
3399 (gcj_invocation_compile_c_to_binary): New procedure.
3400 (gcj_invocation_test_one): Likewise.
3401 (gcj_jni_run): Run JNI invocation API tests.
3402 * testsuite/libjava.jni/invocation/PR16923.c,
3403 testsuite/libjava.jni/invocation/PR16923.java,
3404 testsuite/libjava.jni/invocation/PR16923.out: New test.
3406 2005-02-23 Michael Koch <konqueror@gmx.de>
3408 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3409 * Makefile.in: Regenerated.
3411 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3413 * gnu/java/nio/ChannelReader: Fixed comments.
3415 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3417 * java/nio/channels/Channels: Added FIXMEs about
3418 stub method implementation.
3419 (newReader): Implemented.
3420 * gnu/java/nio/ChannelReader: New class.
3422 2005-02-23 Michael Koch <konqueror@gmx.de>
3424 * java/text/SimpleDateFormat.java:
3425 Removed unused import.
3427 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3430 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3431 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3432 * Makefile.in: Regenerate.
3433 * configure.ac: Check for libXtst.
3434 * configure: Regenerate.
3436 2005-02-22 Mark Wielaard <address@bogus.example.com>
3438 * java/security/AlgorithmParameterGenerator.java (getInstance):
3439 Mention provider when throwing NoSuchProviderException.
3440 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3441 * java/security/KeyFactory.java (getInstance): Likewise.
3442 * java/security/KeyStore.java (getInstance): Likewise.
3443 * java/security/SecureRandom.java (getInstance): Likewise.
3444 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3446 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3448 * java/lang/reflect/Proxy.java,
3450 java/security/SecureRandom.java,
3451 java/util/Timer.java,
3452 java/util/prefs/AbstractPreferences.java:
3453 Don't catch java.lang.ThreadDeath.
3455 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3457 * java/awt/font/TransformAttribute.java,
3458 (TransformAttribute(AffineTransform)): throw
3459 IllegalArgumentException for null transform.
3460 (getTransform): return a copy of transform.
3461 Added doc comments to all.
3463 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3465 * java/io/Externalizable.java,
3466 java/io/Serializable.java
3467 (serialVersionUID): Removed.
3468 * java/rmi/server/RemoteObject.java,
3469 java/rmi/server/UID.java
3470 (serialVersionUID): Made private.
3471 * java/rmi/server/RemoteRef.java,
3472 java/rmi/server/ServerRef.java
3473 (serialVersionUID): Set proper value.
3474 * java/security/interfaces/DSAPrivateKey.java,
3475 java/security/interfaces/DSAPublicKey.java,
3476 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3477 java/security/interfaces/RSAPrivateCrtKey.java,
3478 java/security/interfaces/RSAPrivateKey.java,
3479 java/security/interfaces/RSAPublicKey.java,
3480 javax/crypto/SecretKey.java
3481 (serialVersionUID): Added.
3483 2005-02-22 Tom Tromey <tromey@redhat.com>
3485 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3487 2005-02-22 Tom Tromey <tromey@redhat.com>
3490 * verify.cc (type::EITHER): New constant.
3491 (check_field_constant): Use it.
3492 (type::compatible): Handle it.
3494 2005-02-22 Michael Koch <konqueror@gmx.de>
3496 * gnu/java/security/PolicyFile.java,
3497 gnu/java/security/pkcs/PKCS7SignedData.java,
3498 gnu/java/security/pkcs/SignerInfo.java:
3499 Fixed copyright header.
3501 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3503 * java/beans/PropertyDescriptor.java
3504 (PropertyDescriptor,setReadMethod): Set propertyType.
3506 2005-02-22 Michael Koch <konqueror@gmx.de>
3508 * java/nio/DirectByteBufferImpl.java
3509 (owner): Fixed formatting of javadoc.
3510 * java/text/DateFormat.java
3511 (getAvailableLocales): Fixed formatting.
3512 * java/text/SimpleDateFormat.java:
3513 Fixed formatting and import statement order.
3514 * java/util/Calendar.java
3515 (Calendar): Fixed javadoc to be HTML compliant.
3516 * java/util/SimpleTimeZone.java:
3519 2005-02-22 Roman Kennke <roman@ontographics.com>
3521 * javax/swing/plaf/basic/BasicLookAndFeel.java
3522 (initComponentDefaults): Fixed Button left and right margin.
3524 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3526 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3530 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3531 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3532 (getWidth): New method.
3533 (getHeight): Likewise.
3534 (create): Remove width, height and insets parameters. Move size
3536 (realize_cb): ... here. New function.
3537 (connectSignals): Connect realize_cb.
3538 (request_frame_extents): Remove FIXME. Move
3539 postInsetsChangedEvent lookup ...
3540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3541 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3542 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3544 (windowGetWidthID): Likewise.
3545 (windowGetHeightID): Likewise.
3547 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3550 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3551 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3553 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3555 Merge serialization from GNU Classpath.
3556 * gcj/method.h: Add missing #includes.
3557 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3558 primitive class IDs on the stream here...
3559 (resolveClass): ...not here.
3560 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3562 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3563 setLongNative, setIntNative, setShortNative, setCharNative,
3564 setByteNative, setBooleanNative, setObjectNative): New native methods.
3565 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3566 setLongNative, setIntNative, setShortNative, setCharNative,
3567 setByteNative, setBooleanNative, setObjectNative): Implement them.
3568 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3569 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3570 the constructor here.
3571 (callConstructor): Removed.
3572 (getCallersClassLoader): Removed.
3573 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3574 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3575 to control whether setting final field values is permitted. Call
3576 getAddr() with checkFinal parameter instead of setAddr().
3577 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3578 only if not done already.
3579 (getAddr): Add checkFinal parameter. Do the final field check only if
3583 2005-02-21 Mark Wielaard <mark@klomp.org>
3586 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3589 2005-02-21 Mark Wielaard <mark@klomp.org>
3592 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3593 without a super class and us ObjectStreamClass.lookupForClassObject().
3594 (resolveClass): Check for primitive types.
3595 (lookupClass): Return null when argument is null.
3597 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3599 * java/io/ObjectInputStream.java
3600 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3602 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3604 * java/io/ObjectOutputStream.java
3605 (writeObject, callWriteMethod): Replaced reflection with accessing
3606 cached info in ObjectStreamClass.
3607 (getMethod): Removed.
3608 * java/io/ObjectStreamClass.java
3609 (findMethod): Added check to make sure the method found has the
3611 (cacheMethods): Added writeReplace and writeObject methods.
3612 (setFlags): Look at new writeObjectMethod field instead of doing
3614 (writeReplaceMethod): New field.
3615 (writeObjectMethod): New field.
3617 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3618 Jeroen Frijters <jeroen@frijters.net>
3620 * java/io/ObjectInputStream.java
3621 (newObject): Changed prototype. Get a constructor reflect object
3623 (callConstructor): Removed.
3624 (allocateObject): Changed prototype.
3625 (readClassDescriptor): Build the constructor reflection directly.
3626 (readObject): Invoke newObject using the new prototype.
3628 * java/io/ObjectStreamClass.java
3629 (firstNonSerializableParent): Removed.
3630 (firstNonSerializableParentConstructor): Added.
3632 2005-02-21 Mark Wielaard <mark@klomp.org>
3634 * gnu/java/locale/LocaleInformation_en.java: Extend
3635 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3637 2005-02-21 Mark Wielaard <mark@klomp.org>
3639 * java/text/SimpleDateFormat.java
3640 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3641 NullPointerException when formatData is null.
3643 2005-02-21 Mark Wielaard <mark@klomp.org>
3645 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3646 taking dstSavings into account.
3648 2005-02-21 Sven de Marothy <sven@physto.se>
3650 * java/text/SimpleDateFormat.java,
3651 (parse): Set correct DST_OFFSET to the correct value.
3653 2005-02-21 Mark Wielaard <mark@klomp.org>
3655 * java/util/SimpleTimeZone.java (checkRule): Throw
3656 IllegalArgumentException when month out of range.
3658 2005-02-21 Sven de Marothy <sven@physto.se>
3660 * java/util/GregorianCalendar.java,
3661 (add): Don't set fields directly anymore. Use set()
3663 2005-02-21 Mark Wielaard <mark@klomp.org>
3665 * java/text/SimpleDateFormat.java (CompiledField.toString):
3666 Use StringBuffer, not StringBuilder.
3667 (toString): Likewise.
3669 2005-02-21 Sven de Marothy <sven@physto.se>
3671 * java/util/Calendar.java
3672 (clear): Dates should clear to local time.
3673 * java/util/GregorianCalendar.java
3674 (computeTime): Fix priority problem with DAY_OF_WEEK,
3675 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3677 2005-02-21 Sven de Marothy <sven@physto.se>
3679 * java/util/Calendar.java
3680 (Calendar): Constructor should clear fields.
3682 2005-02-21 Sven de Marothy <sven@physto.se>
3684 * java/text/SimpleDateFormat.java
3685 (parse): Tweak handling of 2-year dates
3686 * java/util/Calendar.java
3687 (clear): Clear fields to correct value.
3688 * java/util/GregorianCalendar.java
3689 (computeTime): Correct handling of time zones.
3690 Correct field minimum values.
3692 2005-02-21 Sven de Marothy <sven@physto.se>
3694 * java/util/Calendar.java
3695 (set) Invalidate all fields on first call to set().
3697 2005-02-21 Sven de Marothy <sven@physto.se>
3699 * java/util/GregorianCalendar.java
3700 (computeTime): Fixed handling of time zones.
3702 2005-02-21 Sven de Marothy <sven@physto.se>
3704 * java/util/Calendar.java
3705 (clear): Set values to Epoch instead of zero.
3706 (set): Set isSet to the relevant field pattern instead of just
3708 * java/util/GregorianCalendar.java
3709 (getBundle): Removed.
3710 (getDayOfYear): Removed.
3711 (getFirstDayOfMonth): New private method.
3712 (nonLeniencyCheck): New private method.
3713 (computeTime): Correct handling of insufficient data.
3715 2005-02-21 Sven de Marothy <sven@physto.se>
3717 * java/util/Calendar.java: Invalidate ERA field on setting
3719 * java/util/SimpleTimeZone.java:
3720 (getDaysInMonth): Reimplemented.
3721 * java/util/GregorianCalendar.java:
3722 (getLinearTime): Removed.
3723 (isLeapYear(int,boolean)): Removed.
3724 (before(), after()): Removed.
3725 (computeTime): Reimplemented.
3727 2005-02-21 Sven de Marothy <sven@physto.se>
3729 * java/util/Calendar.java: Reformatted.
3730 * java/util/GregorianCalendar.java: Reformatted.
3731 * java/util/SimpleTimeZone.java: Reformatted.
3733 2005-02-21 Sven de Marothy <sven@physto.se>
3735 * java/util/GregorianCalendar.java
3736 (GregorianCalendar): Update fields in the constructor
3738 2005-02-21 Noa Resare <noa@resare.com>
3740 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3741 (set(int,int)): Set and use new field.
3742 (set(int,int,int)): Check new field.
3744 2005-02-21 Noa Resare <address@hidden>
3746 * java/util/Calendar.java(set):
3747 Fix for DST related regression.
3749 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3751 * java/util/Calendar.java
3752 (setTimeInMillis): Added call to clear, removed computeFields call.
3753 * java/util/Date.java
3754 (Date(int,int,int,int,int,int)): Removed workaround for
3755 GregorianCalendar bug.
3756 * java/util/GregorianCalendar.java
3757 (GregorianCalendar): Chained all constructors to a (new)
3759 (computeTime): Fixed support for lenient month treatment.
3760 (getLinearDay): Return long instead of int.
3761 (calculateDay): Added fields argument and changed day argument
3764 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3766 * java/text/SimpleDateFormat.java
3767 Lots of documentation updates.
3768 (readObject(java.io.ObjectInputStream)): Wraps
3769 IllegalArgumentException as specified.
3770 (compileFormat(String)): Uses standardChars
3771 rather than the local pattern characters.
3772 Throws IllegalArgumentException rather than
3774 (toString()): Extended to include all variables
3776 (translateLocalizedPattern(String, String, String)):
3777 Renamed to better define the use of this method.
3779 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3781 * java/text/DateFormat.java:
3782 Documented pattern character offset constants and
3784 (Field): Added new static fields for new pattern chars.
3785 * java/text/SimpleDateFormat.java:
3786 (CompiledField): Changed name of FieldSizePair class
3787 to CompiledField after adding the character as an
3788 attribute. Changed fields to private and added
3789 accessors to give encapsulation.
3790 (CompiledField.CompiledField(int,int,char)): Extended
3791 with character field.
3792 (CompiledField.getField()): New accessor method.
3793 (CompiledField.getSize()): New acceessor method.
3794 (CompiledField.getCharacter()): New accessor method.
3795 (CompiledField.toString()): Added primarily for debugging.
3796 (standardChars): Now uses extended 24 character sequence.
3797 (compileFormat(String)): Changed to use CompiledField.
3798 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3799 java.text.FieldPosition)): Changed to use CompiledField.
3800 New handler for RFC 822 timezones added.
3802 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3804 * java/text/SimpleDateFormat.java:
3805 (parse(String, java.text.ParsePosition)):
3806 Changed 'E' and 'M' cases to use both
3807 short and long names. Extended 'z'
3808 case to also handle 'Z', and deal
3809 with simple GMT offsets such as +0100.
3810 (computeOffset(String)): New private method,
3811 which converts a GMT offset specification,
3812 such as GMT-0500 to a numeric offset in
3814 * java/util/TimeZone.java:
3815 (timezones()): Added "CEST", the daylight
3816 savings time version of "CET", or Central
3819 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3821 * java/text/SimpleDateFormat.java:
3822 (parse): Set the DST offset to 0 when parsing
3823 GMT offset timezones.
3825 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3827 * java/text/SimpleDateFormat.java:
3828 (parse): Use offset to set ZONE_OFFSET
3829 rather than the DST_OFFSET, so that
3830 GMT offset timezones change the right
3833 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3835 * java/text/SimpleDateFormat.java:
3836 (getDateFormatSymbols()): return a copy
3837 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3838 throw exception on null input
3839 (clone()): implemented to clone
3842 2005-02-21 Sven de Marothy <sven@physto.se>
3844 * java/text/SimpleDateFormat.java
3845 (parse): comparison should be case-insensitive, ignore null
3848 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3850 * gnu/java/beans/IntrospectionIncubator.java
3851 (addMethod) Reverts the patch that ntroduced a regression (see bug
3852 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3854 2005-02-21 Michael Koch <konqueror@gmx.de>
3856 * java/awt/Checkbox.java
3857 (next_checkbox_number): New static variable.
3858 (generateName): New method.
3859 (getUniqueLong): Likewise.
3860 * java/awt/Window.java
3861 (next_window_number): New static variable.
3862 (generateName): New method.
3863 (getUniqueLong): Likewise.
3865 2005-02-21 Mark Wielaard <mark@klomp.org>
3867 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3870 2005-02-21 Andrew Haley <aph@redhat.com>
3872 * Makefile.in: Rebuilt.
3873 * Makefile.am (nat_source_files): Added natLogger.cc.
3874 * java/util/logging/natLogger.cc: New file.
3875 * java/util/logging/Logger.java (getCallerStackFrame): Now
3878 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3880 * Makefile.am (all_property_files): Remove left over.
3881 (classes.stamp): Add stamp for the ONESTEP build, also known as
3882 --enable-libgcj-multifile.
3883 * Makefile.in: Regenerated.
3885 2005-02-21 Michael Koch <konqueror@gmx.de>
3887 * java/awt/Button.java,
3888 java/awt/Container.java,
3890 java/awt/Frame.java,
3891 java/text/CollationElementIterator.java,
3892 java/text/RuleBasedCollator.java,
3893 java/util/PropertyPermission.java:
3894 Fixed formatting issues all over.
3896 2005-02-21 Mark Wielaard <mark@klomp.org>
3898 * java/io/FileDescriptor.java (sync): Add real exception to
3899 SyncFailedException.
3901 2005-02-21 Michael Koch <konqueror@gmx.de>
3903 * java/io/InputStreamReader.java:
3906 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3909 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3911 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3913 * libraries/javalib/gnu/regexp/RE.java,
3914 libraries/javalib/java/io/ObjectInputStream.java,
3915 libraries/javalib/java/security/AllPermission.java,
3916 libraries/javalib/java/security/BasicPermission.java,
3917 libraries/javalib/java/security/Permissions.java,
3918 libraries/javalib/java/text/MessageFormat.java:
3919 Made 'inner' classes real public static inner classes,
3920 and made them final where possible, or removed them
3923 2005-02-20 Michael Koch <konqueror@gmx.de>
3925 * gnu/java/text/FormatCharacterIterator.java:
3926 Removed redundant modifiers.
3928 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3930 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3933 2005-02-19 Michael Koch <konqueror@gmx.de>
3935 * Makefile.am: Added new files in gnu/java/beans and
3936 java/beans/XMLDecoder.java.
3937 * Makefile.in: Regenerated.
3939 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3941 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3942 assignment behavior by using java.lang.reflect.Array.set()
3945 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3947 * gnu/java/beans/EmptyBeanInfo.java,
3948 gnu/java/beans/info/ComponentBeanInfo.java:
3949 Removed unused files.
3951 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3953 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3954 of AppletStub for java.beans.Beans.instantiate.
3955 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3957 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3958 to be conformant with Javadoc guidelines.
3959 (instantiate): Added two more overloaded variants, reworked user
3960 documentation, fixed exception behavior, fixed behavior when
3963 2005-02-19 Mark Wielaard <mark@klomp.org>
3965 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3967 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3969 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3971 * gnu/java/beans/decoder/AbstractContext.java,
3972 gnu/java/beans/decoder/AbstractCreatableContext.java,
3973 gnu/java/beans/decoder/AbstractElementHandler.java,
3974 gnu/java/beans/decoder/AbstractObjectContext.java,
3975 gnu/java/beans/decoder/ArrayContext.java,
3976 gnu/java/beans/decoder/ArrayHandler.java,
3977 gnu/java/beans/decoder/AssemblyException.java,
3978 gnu/java/beans/decoder/BooleanHandler.java,
3979 gnu/java/beans/decoder/ByteHandler.java,
3980 gnu/java/beans/decoder/CharHandler.java,
3981 gnu/java/beans/decoder/ClassHandler.java,
3982 gnu/java/beans/decoder/ConstructorContext.java,
3983 gnu/java/beans/decoder/Context.java,
3984 gnu/java/beans/decoder/DecoderContext.java,
3985 gnu/java/beans/decoder/DefaultExceptionListener.java,
3986 gnu/java/beans/decoder/DoubleHandler.java,
3987 gnu/java/beans/decoder/DummyContext.java,
3988 gnu/java/beans/decoder/DummyHandler.java,
3989 gnu/java/beans/decoder/ElementHandler.java,
3990 gnu/java/beans/decoder/FloatHandler.java,
3991 gnu/java/beans/decoder/GrowableArrayContext.java,
3992 gnu/java/beans/decoder/IndexContext.java,
3993 gnu/java/beans/decoder/IntHandler.java,
3994 gnu/java/beans/decoder/JavaHandler.java,
3995 gnu/java/beans/decoder/LongHandler.java,
3996 gnu/java/beans/decoder/MethodContext.java,
3997 gnu/java/beans/decoder/MethodFinder.java,
3998 gnu/java/beans/decoder/NullHandler.java,
3999 gnu/java/beans/decoder/ObjectContext.java,
4000 gnu/java/beans/decoder/ObjectHandler.java,
4001 gnu/java/beans/decoder/PersistenceParser.java,
4002 gnu/java/beans/decoder/PropertyContext.java,
4003 gnu/java/beans/decoder/ShortHandler.java,
4004 gnu/java/beans/decoder/SimpleHandler.java,
4005 gnu/java/beans/decoder/StaticMethodContext.java,
4006 gnu/java/beans/decoder/StringHandler.java,
4007 gnu/java/beans/decoder/VoidHandler.java: New class
4008 implementing java.beans.XMLDecoder decoding functionality.
4009 * java/beans/XMLDecoder.java: New class.
4011 2005-02-19 Michael Koch <konqueror@gmx.de>
4013 * javax/swing/JTextField.java
4014 (notfiyAction): Added javadoc.
4016 2005-02-19 Sven de Marothy <sven@physto.se>
4018 * javax/swing/SpinnerDateModel.java: Implemented.
4020 2005-02-19 Michael Koch <konqueror@gmx.de>
4022 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4023 * Makefile.in: Regenerated.
4025 2005-02-19 Michael Koch <konqueror@gmx.de>
4027 * gnu/java/nio/SelectorImpl.java:
4028 Reworked import statements.
4029 (register): Removed unused code.
4030 * java/nio/channels/Channels.java: Reformatted.
4031 * java/nio/charset/Charset.java: Likewise.
4032 * java/rmi/server/RemoteObject.java
4033 (serialVersionUID): Made private.
4034 * java/rmi/server/UID.java
4035 (serialVersionUID): Likewise.
4037 2005-02-19 Michael Koch <konqueror@gmx.de>
4039 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4040 gnu/java/net/protocol/ftp/BlockInputStream.java,
4041 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4042 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4043 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4044 gnu/java/net/protocol/ftp/DTPInputStream.java,
4045 gnu/java/net/protocol/ftp/DTP.java,
4046 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4047 gnu/java/net/protocol/ftp/FTPConnection.java,
4048 gnu/java/net/protocol/ftp/FTPException.java,
4049 gnu/java/net/protocol/ftp/FTPResponse.java,
4050 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4051 gnu/java/net/protocol/ftp/Handler.java,
4052 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4053 gnu/java/net/protocol/ftp/StreamInputStream.java,
4054 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4055 gnu/java/net/CRLFInputStream.java,
4056 gnu/java/net/CRLFOutputStream.java,
4057 gnu/java/net/GetLocalHostAction.java,
4058 gnu/java/net/protocol/ftp/package.html: New files.
4059 * Makefile.am: Added new files.
4060 * Makefile.in: Regenerated.
4062 2005-02-18 Tom Tromey <tromey@redhat.com>
4064 * link.cc (make_vtable): Remove abstract method check.
4065 (append_partial_itable): Likewise.
4068 * verify.cc (type::equals): Fixed test.
4069 * testsuite/libjava.lang/PR20056.out: New file.
4070 * testsuite/libjava.lang/PR20056.java: New file.
4072 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4074 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4075 not the HashEntry. Reported by Jean-Marie White.
4077 2005-02-18 Tom Tromey <tromey@redhat.com>
4080 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4081 * link.cc (has_field_p): New function.
4082 * verify.cc (check_field_constant): Added 'putfield' argument.
4083 (verify_instructions_0): Updated.
4084 (type::equals): New method.
4086 2005-02-18 Anthony Green <green@redhat.com>
4088 * NEWS: Draft of libgcj NEWS for 4.0.
4090 2005-02-18 Anthony Green <green@redhat.com>
4092 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4093 architecture names to "i386" for compatibility reasons. Win32
4096 2005-02-18 Anthony Green <green@redhat.com>
4098 * gij.cc (version): Change year for '--version' to 2005.
4099 * gnu/gcj/convert/Convert.java: Ditto.
4100 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4101 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4103 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4104 recent copyright year in `--version' output.
4106 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4108 * java/nio/charset/Charset.java (forName): Throws
4109 IllegalArgumentException when argument is null
4110 and added documentation.
4112 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4114 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4115 Move the position of the source buffer forward.
4117 2005-02-17 Tom Tromey <tromey@redhat.com>
4119 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4120 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4121 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4122 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4123 Changed type of second argument. Rewrote.
4124 (make_vtable): Use it.
4125 (append_partial_itable): Updated.
4126 (layout_vtable_methods): Updated.
4128 2005-02-17 Michael Koch <konqueror@gmx.de>
4130 * gnu/java/net/PlainSocketImpl.java
4131 (shutdownInput): Added javadoc.
4132 (shutdownOutput): Likewise.
4134 2005-02-17 Michael Koch <konqueror@gmx.de>
4136 * javax/print/attribute/standard/Chromaticity.java,
4137 javax/print/attribute/standard/Destination.java,
4138 javax/print/attribute/standard/MediaPrintableArea.java,
4139 javax/print/attribute/standard/MediaSize.java: New files.
4140 * Makefile.am: Added new files.
4141 * Makefile.in: Regenerated.
4143 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4144 Michael Koch <konqueror@gmx.de>
4146 * gnu/java/net/protocol/http/Cookie.java,
4147 gnu/java/net/protocol/http/HTTPConnection.java,
4148 gnu/java/net/protocol/http/HTTPDateFormat.java,
4149 gnu/java/net/protocol/http/Request.java,
4150 gnu/java/nio/PipeImpl.java,
4151 gnu/java/rmi/dgc/DGCImpl.java,
4152 gnu/java/rmi/server/ConnectionRunnerPool.java,
4153 gnu/java/rmi/server/UnicastConnectionManager.java,
4154 gnu/java/security/der/DERWriter.java,
4155 gnu/java/security/pkcs/SignerInfo.java,
4156 gnu/java/security/provider/EncodedKeyFactory.java,
4157 gnu/java/security/provider/GnuDHPublicKey.java,
4158 gnu/java/security/provider/GnuDSAPrivateKey.java,
4159 gnu/java/security/provider/GnuDSAPublicKey.java,
4160 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4161 gnu/java/security/x509/X500DistinguishedName.java,
4162 gnu/java/security/x509/X509CRL.java,
4163 gnu/java/security/x509/X509CRLEntry.java,
4164 gnu/java/security/x509/X509Certificate.java,
4165 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4166 gnu/java/security/x509/ext/CertificatePolicies.java,
4167 gnu/java/security/x509/ext/PolicyConstraint.java,
4168 gnu/xml/dom/Consumer.java,
4169 gnu/xml/dom/DomCharacterData.java,
4170 gnu/xml/dom/DomDocument.java,
4171 gnu/xml/dom/DomDocumentBuilder.java,
4172 gnu/xml/dom/DomIterator.java,
4173 gnu/xml/dom/DomNode.java,
4174 gnu/xml/dom/DomXPathExpression.java,
4175 gnu/xml/dom/DomXPathResult.java,
4176 gnu/xml/dom/JAXPFactory.java,
4177 gnu/xml/pipeline/CallFilter.java,
4178 gnu/xml/pipeline/DomConsumer.java,
4179 gnu/xml/pipeline/LinkFilter.java,
4180 gnu/xml/pipeline/NSFilter.java,
4181 gnu/xml/pipeline/TeeConsumer.java,
4182 gnu/xml/pipeline/ValidationConsumer.java,
4183 gnu/xml/pipeline/WellFormednessFilter.java,
4184 gnu/xml/pipeline/XIncludeFilter.java,
4185 gnu/xml/pipeline/XsltFilter.java,
4186 gnu/xml/transform/ApplyImportsNode.java,
4187 gnu/xml/transform/Bindings.java,
4188 gnu/xml/transform/DocumentFunction.java,
4189 gnu/xml/transform/FormatNumberFunction.java,
4190 gnu/xml/transform/NodeNumberNode.java,
4191 gnu/xml/transform/NumberNode.java,
4192 gnu/xml/transform/Stylesheet.java,
4193 gnu/xml/transform/SystemPropertyFunction.java,
4194 gnu/xml/transform/Template.java,
4195 gnu/xml/transform/TemplatesImpl.java,
4196 gnu/xml/transform/TransformerImpl.java,
4197 gnu/xml/transform/ValueOfNode.java,
4198 gnu/xml/transform/XSLURIResolver.java,
4199 gnu/xml/util/DoParse.java,
4200 gnu/xml/util/Resolver.java,
4201 gnu/xml/xpath/Expr.java,
4202 gnu/xml/xpath/FunctionCall.java,
4203 gnu/xml/xpath/RelationalExpr.java,
4204 gnu/xml/xpath/Selector.java,
4205 gnu/xml/xpath/XPathParser.java:
4206 Reworked import statements, fixed modifier order and some little
4209 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4211 * java/nio/ByteBufferImpl.java (compact):
4212 Set position and limit even if no bytes were moved.
4214 2005-02-17 Michael Koch <konqueror@gmx.de>
4216 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4217 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4218 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4219 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4220 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4221 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4222 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4223 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4224 * java/nio/FloatBufferImpl.java (compact): Set position.
4225 * java/nio/CharBufferImpl.java (compact): Likewise.
4226 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4227 * java/nio/IntBufferImpl.java (compact): Likewise.
4228 * java/nio/LongBufferImpl.java (compact): Likewise.
4229 * java/nio/ShortBufferImpl.java (compact): Likewise.
4231 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4233 * java/nio/ByteBufferImpl.java,
4234 java/nio/CharBufferImpl.java,
4235 java/nio/DirectByteBufferImpl.java,
4236 java/nio/DoubleBufferImpl.java,
4237 java/nio/FloatBufferImpl.java,
4238 java/nio/IntBufferImpl.java,
4239 java/nio/LongBufferImpl.java,
4240 java/nio/MappedByteBufferImpl.java,
4241 java/nio/ShortBufferImpl.java
4242 (compact): Added explicit read-only check and invalidate mark.
4244 2005-02-17 Michael Koch <konqueror@gmx.de>
4246 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4247 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4248 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4249 gnu/java/awt/peer/gtk/GdkGraphics.java,
4250 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4251 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4252 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4253 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4254 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4255 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4256 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4257 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4258 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4259 gnu/java/awt/peer/gtk/GtkClipboard.java,
4260 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4261 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4262 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4263 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4264 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4265 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4266 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4267 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4268 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4269 gnu/java/awt/peer/gtk/GtkToolkit.java,
4270 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4271 java/applet/Applet.java,
4272 java/awt/AWTError.java,
4273 java/awt/AWTEvent.java,
4274 java/awt/AWTEventMulticaster.java,
4275 java/awt/AWTException.java,
4276 java/awt/AWTKeyStroke.java,
4277 java/awt/AWTPermission.java,
4278 java/awt/ActiveEvent.java,
4279 java/awt/Adjustable.java,
4280 java/awt/AlphaComposite.java,
4281 java/awt/AttributeValue.java,
4282 java/awt/BorderLayout.java,
4283 java/awt/BufferCapabilities.java,
4284 java/awt/Button.java,
4285 java/awt/Canvas.java,
4286 java/awt/CheckboxGroup.java,
4287 java/awt/CheckboxMenuItem.java,
4288 java/awt/Color.java,
4289 java/awt/ColorPaintContext.java,
4290 java/awt/Component.java,
4291 java/awt/ComponentOrientation.java,
4292 java/awt/Composite.java,
4293 java/awt/CompositeContext.java,
4294 java/awt/Container.java,
4295 java/awt/ContainerOrderFocusTraversalPolicy.java,
4296 java/awt/DefaultFocusTraversalPolicy.java,
4297 java/awt/Dialog.java,
4298 java/awt/Dimension.java,
4299 java/awt/DisplayMode.java,
4300 java/awt/EventQueue.java,
4301 java/awt/FileDialog.java,
4302 java/awt/FontFormatException.java,
4303 java/awt/Graphics.java,
4304 java/awt/Graphics2D.java,
4305 java/awt/GraphicsConfigTemplate.java,
4306 java/awt/GraphicsConfiguration.java,
4307 java/awt/GraphicsDevice.java,
4308 java/awt/GridBagLayout.java,
4309 java/awt/GridBagLayoutInfo.java,
4310 java/awt/GridLayout.java,
4311 java/awt/HeadlessException.java,
4312 java/awt/IllegalComponentStateException.java,
4313 java/awt/Image.java,
4314 java/awt/Insets.java,
4315 java/awt/ItemSelectable.java,
4316 java/awt/JobAttributes.java,
4317 java/awt/KeyEventDispatcher.java,
4318 java/awt/KeyEventPostProcessor.java,
4319 java/awt/KeyboardFocusManager.java,
4320 java/awt/Label.java,
4321 java/awt/LayoutManager.java,
4322 java/awt/MenuBar.java,
4323 java/awt/MenuComponent.java,
4324 java/awt/MenuContainer.java,
4325 java/awt/PageAttributes.java,
4326 java/awt/Paint.java,
4327 java/awt/PaintContext.java,
4328 java/awt/Panel.java,
4329 java/awt/Point.java,
4330 java/awt/Polygon.java,
4331 java/awt/PrintGraphics.java,
4332 java/awt/PrintJob.java,
4333 java/awt/Rectangle.java,
4334 java/awt/RenderingHints.java,
4335 java/awt/Shape.java,
4336 java/awt/Stroke.java,
4337 java/awt/SystemColor.java,
4338 java/awt/Toolkit.java,
4339 java/awt/Transparency.java,
4340 java/awt/Window.java,
4341 java/awt/color/CMMException.java,
4342 java/awt/color/ColorSpace.java,
4343 java/awt/color/ICC_ColorSpace.java,
4344 java/awt/color/ICC_Profile.java,
4345 java/awt/color/ProfileDataException.java,
4346 java/awt/datatransfer/FlavorTable.java,
4347 java/awt/datatransfer/MimeTypeParseException.java,
4348 java/awt/datatransfer/Transferable.java,
4349 java/awt/datatransfer/UnsupportedFlavorException.java,
4350 java/awt/dnd/Autoscroll.java,
4351 java/awt/dnd/DnDConstants.java,
4352 java/awt/dnd/DragGestureListener.java,
4353 java/awt/dnd/DragSourceAdapter.java,
4354 java/awt/dnd/DragSourceDropEvent.java,
4355 java/awt/dnd/DragSourceListener.java,
4356 java/awt/dnd/DragSourceMotionListener.java,
4357 java/awt/dnd/DropTargetAdapter.java,
4358 java/awt/dnd/DropTargetContext.java,
4359 java/awt/dnd/DropTargetListener.java,
4360 java/awt/dnd/InvalidDnDOperationException.java,
4361 java/awt/dnd/MouseDragGestureRecognizer.java,
4362 java/awt/dnd/peer/DropTargetContextPeer.java,
4363 java/awt/event/AWTEventListener.java,
4364 java/awt/event/AWTEventListenerProxy.java,
4365 java/awt/event/ActionEvent.java,
4366 java/awt/event/AdjustmentEvent.java,
4367 java/awt/event/AdjustmentListener.java,
4368 java/awt/event/ComponentAdapter.java,
4369 java/awt/event/ComponentEvent.java,
4370 java/awt/event/ComponentListener.java,
4371 java/awt/event/ContainerAdapter.java,
4372 java/awt/event/ContainerEvent.java,
4373 java/awt/event/ContainerListener.java,
4374 java/awt/event/FocusAdapter.java,
4375 java/awt/event/FocusEvent.java,
4376 java/awt/event/FocusListener.java,
4377 java/awt/event/InputEvent.java,
4378 java/awt/event/InputMethodEvent.java,
4379 java/awt/event/InputMethodListener.java,
4380 java/awt/event/InvocationEvent.java,
4381 java/awt/event/ItemEvent.java,
4382 java/awt/event/ItemListener.java,
4383 java/awt/event/KeyAdapter.java,
4384 java/awt/event/KeyEvent.java,
4385 java/awt/event/KeyListener.java,
4386 java/awt/event/MouseAdapter.java,
4387 java/awt/event/MouseEvent.java,
4388 java/awt/event/MouseListener.java,
4389 java/awt/event/MouseMotionAdapter.java,
4390 java/awt/event/MouseMotionListener.java,
4391 java/awt/event/MouseWheelEvent.java,
4392 java/awt/event/MouseWheelListener.java,
4393 java/awt/event/PaintEvent.java,
4394 java/awt/event/TextEvent.java,
4395 java/awt/event/TextListener.java,
4396 java/awt/event/WindowAdapter.java,
4397 java/awt/event/WindowEvent.java,
4398 java/awt/event/WindowFocusListener.java,
4399 java/awt/event/WindowListener.java,
4400 java/awt/event/WindowStateListener.java,
4401 java/awt/font/TextHitInfo.java,
4402 java/awt/geom/CubicCurve2D.java,
4403 java/awt/geom/Dimension2D.java,
4404 java/awt/geom/Ellipse2D.java,
4405 java/awt/geom/IllegalPathStateException.java,
4406 java/awt/geom/Line2D.java,
4407 java/awt/geom/NoninvertibleTransformException.java,
4408 java/awt/geom/PathIterator.java,
4409 java/awt/geom/Point2D.java,
4410 java/awt/geom/QuadCurve2D.java,
4411 java/awt/geom/RectangularShape.java,
4412 java/awt/geom/RoundRectangle2D.java,
4413 java/awt/im/InputContext.java,
4414 java/awt/im/InputMethodHighlight.java,
4415 java/awt/im/InputMethodRequests.java,
4416 java/awt/im/InputSubset.java,
4417 java/awt/im/spi/InputMethod.java,
4418 java/awt/im/spi/InputMethodDescriptor.java,
4419 java/awt/image/BandCombineOp.java,
4420 java/awt/image/BandedSampleModel.java,
4421 java/awt/image/ByteLookupTable.java,
4422 java/awt/image/ComponentSampleModel.java,
4423 java/awt/image/DataBuffer.java,
4424 java/awt/image/DataBufferByte.java,
4425 java/awt/image/DataBufferDouble.java,
4426 java/awt/image/DataBufferFloat.java,
4427 java/awt/image/DataBufferInt.java,
4428 java/awt/image/DataBufferShort.java,
4429 java/awt/image/DataBufferUShort.java,
4430 java/awt/image/ImagingOpException.java,
4431 java/awt/image/Kernel.java,
4432 java/awt/image/LookupTable.java,
4433 java/awt/image/MultiPixelPackedSampleModel.java,
4434 java/awt/image/PackedColorModel.java,
4435 java/awt/image/PixelInterleavedSampleModel.java,
4436 java/awt/image/RGBImageFilter.java,
4437 java/awt/image/Raster.java,
4438 java/awt/image/RasterFormatException.java,
4439 java/awt/image/SampleModel.java,
4440 java/awt/image/ShortLookupTable.java,
4441 java/awt/image/SinglePixelPackedSampleModel.java,
4442 java/awt/image/WritableRaster.java,
4443 java/awt/print/PrinterAbortException.java,
4444 java/awt/print/PrinterException.java,
4445 java/awt/print/PrinterIOException.java,
4446 java/beans/AppletInitializer.java,
4447 java/beans/ExceptionListener.java,
4448 java/beans/PropertyChangeEvent.java,
4449 java/beans/PropertyChangeListenerProxy.java,
4450 java/beans/PropertyChangeSupport.java,
4451 java/beans/PropertyDescriptor.java,
4452 java/beans/VetoableChangeListenerProxy.java,
4453 java/beans/VetoableChangeSupport.java,
4454 java/io/BufferedReader.java,
4455 java/io/ByteArrayInputStream.java,
4456 java/io/ByteArrayOutputStream.java,
4457 java/io/CharArrayReader.java,
4458 java/io/CharArrayWriter.java,
4459 java/io/CharConversionException.java,
4460 java/io/DataInput.java,
4461 java/io/DataInputStream.java,
4462 java/io/DataOutput.java,
4463 java/io/DataOutputStream.java,
4464 java/io/EOFException.java,
4465 java/io/FileInputStream.java,
4466 java/io/FileNotFoundException.java,
4467 java/io/FileOutputStream.java,
4468 java/io/FilenameFilter.java,
4469 java/io/FilterInputStream.java,
4470 java/io/FilterOutputStream.java,
4471 java/io/FilterReader.java,
4472 java/io/FilterWriter.java,
4473 java/io/IOException.java,
4474 java/io/InputStream.java,
4475 java/io/InterruptedIOException.java,
4476 java/io/LineNumberInputStream.java,
4477 java/io/LineNumberReader.java,
4478 java/io/ObjectInputStream.java,
4479 java/io/ObjectStreamException.java,
4480 java/io/OptionalDataException.java,
4481 java/io/OutputStream.java,
4482 java/io/OutputStreamWriter.java,
4483 java/io/PrintStream.java,
4484 java/io/PrintWriter.java,
4485 java/io/PushbackInputStream.java,
4486 java/io/PushbackReader.java,
4487 java/io/RandomAccessFile.java,
4488 java/io/Reader.java,
4489 java/io/SequenceInputStream.java,
4490 java/io/Serializable.java,
4491 java/io/StreamCorruptedException.java,
4492 java/io/StreamTokenizer.java,
4493 java/io/StringBufferInputStream.java,
4494 java/io/StringWriter.java,
4495 java/io/SyncFailedException.java,
4496 java/io/UTFDataFormatException.java,
4497 java/io/UnsupportedEncodingException.java,
4498 java/io/WriteAbortedException.java,
4499 java/io/Writer.java,
4500 java/lang/AbstractMethodError.java,
4501 java/lang/ArithmeticException.java,
4502 java/lang/ArrayIndexOutOfBoundsException.java,
4503 java/lang/ArrayStoreException.java,
4504 java/lang/AssertionError.java,
4505 java/lang/Boolean.java,
4506 java/lang/Byte.java,
4507 java/lang/Class.java,
4508 java/lang/ClassCastException.java,
4509 java/lang/ClassCircularityError.java,
4510 java/lang/ClassLoader.java,
4511 java/lang/ClassNotFoundException.java,
4512 java/lang/CloneNotSupportedException.java,
4513 java/lang/Cloneable.java,
4514 java/lang/Comparable.java,
4515 java/lang/Compiler.java,
4516 java/lang/Double.java,
4517 java/lang/Error.java,
4518 java/lang/Exception.java,
4519 java/lang/ExceptionInInitializerError.java,
4520 java/lang/Float.java,
4521 java/lang/IllegalAccessError.java,
4522 java/lang/IllegalAccessException.java,
4523 java/lang/IllegalArgumentException.java,
4524 java/lang/IllegalMonitorStateException.java,
4525 java/lang/IllegalStateException.java,
4526 java/lang/IllegalThreadStateException.java,
4527 java/lang/IncompatibleClassChangeError.java,
4528 java/lang/IndexOutOfBoundsException.java,
4529 java/lang/InheritableThreadLocal.java,
4530 java/lang/InstantiationError.java,
4531 java/lang/InstantiationException.java,
4532 java/lang/Integer.java,
4533 java/lang/InternalError.java,
4534 java/lang/InterruptedException.java,
4535 java/lang/LinkageError.java,
4536 java/lang/Long.java,
4537 java/lang/NegativeArraySizeException.java,
4538 java/lang/NoClassDefFoundError.java,
4539 java/lang/NoSuchFieldError.java,
4540 java/lang/NoSuchFieldException.java,
4541 java/lang/NoSuchMethodError.java,
4542 java/lang/NoSuchMethodException.java,
4543 java/lang/NullPointerException.java,
4544 java/lang/Number.java,
4545 java/lang/NumberFormatException.java,
4546 java/lang/OutOfMemoryError.java,
4547 java/lang/Process.java,
4548 java/lang/Runnable.java,
4549 java/lang/Runtime.java,
4550 java/lang/RuntimeException.java,
4551 java/lang/RuntimePermission.java,
4552 java/lang/SecurityException.java,
4553 java/lang/SecurityManager.java,
4554 java/lang/Short.java,
4555 java/lang/StackOverflowError.java,
4556 java/lang/StackTraceElement.java,
4557 java/lang/StringBuffer.java,
4558 java/lang/StringIndexOutOfBoundsException.java,
4559 java/lang/ThreadDeath.java,
4560 java/lang/ThreadGroup.java,
4561 java/lang/Throwable.java,
4562 java/lang/UnsatisfiedLinkError.java,
4563 java/lang/UnsupportedOperationException.java,
4564 java/lang/VerifyError.java,
4565 java/lang/VirtualMachineError.java,
4566 java/lang/reflect/AccessibleObject.java,
4567 java/lang/reflect/Array.java,
4568 java/lang/reflect/InvocationTargetException.java,
4569 java/lang/reflect/Member.java,
4570 java/lang/reflect/Modifier.java,
4571 java/lang/reflect/Proxy.java,
4572 java/lang/reflect/ReflectPermission.java,
4573 java/lang/reflect/UndeclaredThrowableException.java,
4574 java/math/BigInteger.java,
4575 java/net/NetworkInterface.java,
4576 java/nio/ByteBufferHelper.java,
4577 java/nio/ByteBufferImpl.java,
4578 java/nio/DirectByteBufferImpl.java,
4579 java/nio/DoubleBufferImpl.java,
4580 java/nio/FloatBufferImpl.java,
4581 java/nio/IntBufferImpl.java,
4582 java/nio/LongBufferImpl.java,
4583 java/nio/ShortBufferImpl.java,
4584 java/nio/channels/Channel.java,
4585 java/nio/channels/IllegalBlockingModeException.java,
4586 java/nio/charset/spi/CharsetProvider.java,
4587 java/security/AccessControlException.java,
4588 java/security/BasicPermission.java,
4589 java/security/DigestException.java,
4590 java/security/DigestInputStream.java,
4591 java/security/DigestOutputStream.java,
4592 java/security/GeneralSecurityException.java,
4593 java/security/Guard.java,
4594 java/security/GuardedObject.java,
4595 java/security/InvalidAlgorithmParameterException.java,
4596 java/security/InvalidKeyException.java,
4597 java/security/InvalidParameterException.java,
4598 java/security/Key.java,
4599 java/security/KeyException.java,
4600 java/security/KeyManagementException.java,
4601 java/security/KeyStoreException.java,
4602 java/security/MessageDigestSpi.java,
4603 java/security/NoSuchAlgorithmException.java,
4604 java/security/NoSuchProviderException.java,
4605 java/security/Permission.java,
4606 java/security/PermissionCollection.java,
4607 java/security/Permissions.java,
4608 java/security/Principal.java,
4609 java/security/PrivateKey.java,
4610 java/security/PrivilegedActionException.java,
4611 java/security/ProviderException.java,
4612 java/security/PublicKey.java,
4613 java/security/SecureRandom.java,
4614 java/security/SecureRandomSpi.java,
4615 java/security/SignatureException.java,
4616 java/security/SignatureSpi.java,
4617 java/security/SignedObject.java,
4618 java/security/Signer.java,
4619 java/security/UnrecoverableKeyException.java,
4620 java/security/UnresolvedPermission.java,
4621 java/security/acl/AclNotFoundException.java,
4622 java/security/acl/LastOwnerException.java,
4623 java/security/acl/NotOwnerException.java,
4624 java/security/cert/CertPath.java,
4625 java/security/cert/CertPathBuilderException.java,
4626 java/security/cert/CertPathValidatorException.java,
4627 java/security/cert/CertStoreException.java,
4628 java/text/BreakIterator.java,
4629 java/text/ChoiceFormat.java,
4630 java/text/CollationElementIterator.java,
4631 java/text/CollationKey.java,
4632 java/text/Collator.java,
4633 java/text/DateFormat.java,
4634 java/text/DateFormatSymbols.java,
4635 java/text/DecimalFormat.java,
4636 java/text/DecimalFormatSymbols.java,
4637 java/text/FieldPosition.java,
4638 java/text/Format.java,
4639 java/text/NumberFormat.java,
4640 java/text/ParseException.java,
4641 java/text/ParsePosition.java,
4642 java/text/StringCharacterIterator.java,
4643 java/util/AbstractCollection.java,
4644 java/util/AbstractList.java,
4645 java/util/AbstractMap.java,
4646 java/util/AbstractSequentialList.java,
4647 java/util/AbstractSet.java,
4648 java/util/ArrayList.java,
4649 java/util/Arrays.java,
4650 java/util/BitSet.java,
4651 java/util/Collection.java,
4652 java/util/Collections.java,
4653 java/util/Comparator.java,
4654 java/util/ConcurrentModificationException.java,
4655 java/util/Currency.java,
4656 java/util/Date.java,
4657 java/util/EmptyStackException.java,
4658 java/util/Enumeration.java,
4659 java/util/EventListener.java,
4660 java/util/EventListenerProxy.java,
4661 java/util/EventObject.java,
4662 java/util/HashMap.java,
4663 java/util/HashSet.java,
4664 java/util/Hashtable.java,
4665 java/util/IdentityHashMap.java,
4666 java/util/Iterator.java,
4667 java/util/LinkedHashSet.java,
4668 java/util/LinkedList.java,
4669 java/util/List.java,
4670 java/util/ListIterator.java,
4671 java/util/ListResourceBundle.java,
4673 java/util/MissingResourceException.java,
4674 java/util/NoSuchElementException.java,
4675 java/util/Observable.java,
4676 java/util/Observer.java,
4677 java/util/Properties.java,
4678 java/util/PropertyPermissionCollection.java,
4679 java/util/RandomAccess.java,
4681 java/util/SortedMap.java,
4682 java/util/SortedSet.java,
4683 java/util/Stack.java,
4684 java/util/StringTokenizer.java,
4685 java/util/TooManyListenersException.java,
4686 java/util/TreeMap.java,
4687 java/util/TreeSet.java,
4688 java/util/Vector.java,
4689 java/util/logging/FileHandler.java,
4690 java/util/logging/Level.java,
4691 java/util/prefs/BackingStoreException.java,
4692 java/util/prefs/InvalidPreferencesFormatException.java,
4693 java/util/prefs/Preferences.java,
4694 javax/accessibility/Accessible.java,
4695 javax/accessibility/AccessibleAction.java,
4696 javax/accessibility/AccessibleBundle.java,
4697 javax/accessibility/AccessibleComponent.java,
4698 javax/accessibility/AccessibleContext.java,
4699 javax/accessibility/AccessibleEditableText.java,
4700 javax/accessibility/AccessibleExtendedComponent.java,
4701 javax/accessibility/AccessibleExtendedTable.java,
4702 javax/accessibility/AccessibleHyperlink.java,
4703 javax/accessibility/AccessibleHypertext.java,
4704 javax/accessibility/AccessibleIcon.java,
4705 javax/accessibility/AccessibleKeyBinding.java,
4706 javax/accessibility/AccessibleRelation.java,
4707 javax/accessibility/AccessibleRelationSet.java,
4708 javax/accessibility/AccessibleResourceBundle.java,
4709 javax/accessibility/AccessibleRole.java,
4710 javax/accessibility/AccessibleSelection.java,
4711 javax/accessibility/AccessibleState.java,
4712 javax/accessibility/AccessibleStateSet.java,
4713 javax/accessibility/AccessibleTable.java,
4714 javax/accessibility/AccessibleTableModelChange.java,
4715 javax/accessibility/AccessibleText.java,
4716 javax/accessibility/AccessibleValue.java,
4717 javax/imageio/IIOException.java,
4718 javax/imageio/ImageIO.java,
4719 javax/imageio/spi/IIOServiceProvider.java,
4720 javax/imageio/spi/ImageInputStreamSpi.java,
4721 javax/imageio/spi/ImageOutputStreamSpi.java,
4722 javax/imageio/spi/ImageReaderWriterSpi.java,
4723 javax/imageio/spi/ImageTranscoderSpi.java,
4724 javax/imageio/spi/RegisterableService.java,
4725 javax/imageio/spi/ServiceRegistry.java,
4726 javax/imageio/stream/IIOByteBuffer.java,
4727 javax/imageio/stream/ImageInputStream.java,
4728 javax/imageio/stream/ImageOutputStream.java,
4729 javax/naming/Binding.java,
4730 javax/naming/CannotProceedException.java,
4731 javax/naming/CompositeName.java,
4732 javax/naming/CompoundName.java,
4733 javax/naming/LinkException.java,
4734 javax/naming/LinkRef.java,
4735 javax/naming/NameClassPair.java,
4736 javax/naming/Reference.java,
4737 javax/naming/ReferralException.java,
4738 javax/naming/directory/Attribute.java,
4739 javax/naming/directory/AttributeModificationException.java,
4740 javax/naming/directory/Attributes.java,
4741 javax/naming/directory/DirContext.java,
4742 javax/naming/directory/ModificationItem.java,
4743 javax/naming/directory/SearchControls.java,
4744 javax/naming/directory/SearchResult.java,
4745 javax/naming/event/EventContext.java,
4746 javax/naming/event/EventDirContext.java,
4747 javax/naming/event/NamespaceChangeListener.java,
4748 javax/naming/event/NamingExceptionEvent.java,
4749 javax/naming/event/NamingListener.java,
4750 javax/naming/event/ObjectChangeListener.java,
4751 javax/naming/ldap/Control.java,
4752 javax/naming/ldap/ExtendedResponse.java,
4753 javax/naming/ldap/HasControls.java,
4754 javax/naming/ldap/LdapContext.java,
4755 javax/naming/ldap/UnsolicitedNotification.java,
4756 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4757 javax/naming/ldap/UnsolicitedNotificationListener.java,
4758 javax/naming/spi/DirectoryManager.java,
4759 javax/naming/spi/ResolveResult.java,
4760 javax/naming/spi/Resolver.java,
4761 javax/security/auth/callback/Callback.java,
4762 javax/security/auth/callback/CallbackHandler.java,
4763 javax/security/auth/callback/ChoiceCallback.java,
4764 javax/security/auth/callback/ConfirmationCallback.java,
4765 javax/security/auth/callback/LanguageCallback.java,
4766 javax/security/auth/callback/NameCallback.java,
4767 javax/security/auth/callback/PasswordCallback.java,
4768 javax/security/auth/callback/TextInputCallback.java,
4769 javax/security/auth/callback/TextOutputCallback.java,
4770 javax/security/auth/callback/UnsupportedCallbackException.java,
4771 javax/security/sasl/Sasl.java,
4772 javax/security/sasl/SaslServerFactory.java,
4773 javax/swing/DefaultBoundedRangeModel.java,
4774 javax/swing/JComponent.java,
4775 javax/swing/JList.java,
4776 javax/swing/JProgressBar.java,
4777 javax/swing/JRadioButton.java,
4778 javax/swing/JTextArea.java,
4779 javax/swing/JTextField.java,
4780 javax/swing/JToggleButton.java,
4781 javax/swing/JTree.java,
4782 javax/swing/SpinnerListModel.java,
4783 javax/swing/event/EventListenerList.java,
4784 javax/swing/text/JTextComponent.java,
4785 javax/swing/text/StringContent.java,
4786 javax/swing/text/Utilities.java,
4787 javax/swing/undo/UndoManager.java,
4788 javax/swing/undo/UndoableEditSupport.java,
4789 javax/transaction/HeuristicCommitException.java,
4790 javax/transaction/HeuristicMixedException.java,
4791 javax/transaction/HeuristicRollbackException.java,
4792 javax/transaction/InvalidTransactionException.java,
4793 javax/transaction/NotSupportedException.java,
4794 javax/transaction/RollbackException.java,
4795 javax/transaction/Status.java,
4796 javax/transaction/Synchronization.java,
4797 javax/transaction/SystemException.java,
4798 javax/transaction/Transaction.java,
4799 javax/transaction/TransactionManager.java,
4800 javax/transaction/TransactionRequiredException.java,
4801 javax/transaction/TransactionRolledbackException.java,
4802 javax/transaction/UserTransaction.java,
4803 javax/transaction/xa/XAException.java,
4804 javax/transaction/xa/XAResource.java,
4805 javax/transaction/xa/Xid.java,
4806 javax/xml/XMLConstants.java,
4807 javax/xml/datatype/DatatypeConfigurationException.java,
4808 javax/xml/datatype/DatatypeConstants.java,
4809 javax/xml/datatype/DatatypeFactory.java,
4810 javax/xml/datatype/Duration.java,
4811 javax/xml/datatype/XMLGregorianCalendar.java,
4812 javax/xml/namespace/NamespaceContext.java,
4813 javax/xml/namespace/QName.java,
4814 javax/xml/parsers/DocumentBuilder.java,
4815 javax/xml/parsers/DocumentBuilderFactory.java,
4816 javax/xml/parsers/FactoryConfigurationError.java,
4817 javax/xml/parsers/ParserConfigurationException.java,
4818 javax/xml/parsers/SAXParser.java,
4819 javax/xml/parsers/SAXParserFactory.java,
4820 javax/xml/transform/ErrorListener.java,
4821 javax/xml/transform/OutputKeys.java,
4822 javax/xml/transform/Result.java,
4823 javax/xml/transform/Source.java,
4824 javax/xml/transform/SourceLocator.java,
4825 javax/xml/transform/Templates.java,
4826 javax/xml/transform/Transformer.java,
4827 javax/xml/transform/TransformerConfigurationException.java,
4828 javax/xml/transform/TransformerException.java,
4829 javax/xml/transform/TransformerFactory.java,
4830 javax/xml/transform/TransformerFactoryConfigurationError.java,
4831 javax/xml/transform/URIResolver.java,
4832 javax/xml/transform/dom/DOMLocator.java,
4833 javax/xml/transform/dom/DOMResult.java,
4834 javax/xml/transform/dom/DOMSource.java,
4835 javax/xml/transform/sax/SAXResult.java,
4836 javax/xml/transform/sax/SAXSource.java,
4837 javax/xml/transform/sax/SAXTransformerFactory.java,
4838 javax/xml/transform/sax/TemplatesHandler.java,
4839 javax/xml/transform/sax/TransformerHandler.java,
4840 javax/xml/transform/stream/StreamResult.java,
4841 javax/xml/transform/stream/StreamSource.java,
4842 javax/xml/validation/Schema.java,
4843 javax/xml/validation/SchemaFactory.java,
4844 javax/xml/validation/TypeInfoProvider.java,
4845 javax/xml/validation/Validator.java,
4846 javax/xml/validation/ValidatorHandler.java,
4847 javax/xml/xpath/XPathConstants.java,
4848 javax/xml/xpath/XPathException.java,
4849 javax/xml/xpath/XPathExpression.java,
4850 javax/xml/xpath/XPathExpressionException.java,
4851 javax/xml/xpath/XPathFactory.java,
4852 javax/xml/xpath/XPathFactoryConfigurationException.java,
4853 javax/xml/xpath/XPathFunction.java,
4854 javax/xml/xpath/XPathFunctionException.java,
4855 javax/xml/xpath/XPathFunctionResolver.java:
4856 Fixed usage of @author tag, reworked import statements,
4857 removed CVS tags, changed the modifier order and fixed
4858 HTML usage in javadocs.
4860 2005-02-16 Julian Scheid <julian@sektor37.de>
4862 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4864 (encodeLoop): Likewise.
4866 2005-02-16 Mark Wielaard <mark@klomp.org>
4868 * Makefile.am (ordinary_java_source_files): Add new files
4869 gnu/java/security/ber/BER.java,
4870 gnu/java/security/ber/BEREncodingException.java,
4871 gnu/java/security/ber/BERReader.java,
4872 gnu/java/security/ber/BERValue.java,
4873 gnu/java/security/pkcs/PKCS7SignedData.java and
4874 gnu/java/security/pkcs/SignerInfo.java.
4875 * Makefile.in: Regenerated.
4877 2005-02-16 Casey Marshall <csm@gnu.org>
4879 * gnu/java/security/provider/GnuDSAPrivateKey.java
4880 (encodedKey): new field.
4881 (getFormat): return "PKCS#8".
4882 (getEncoded): implemented.
4883 (toString): check for 'null' values.
4884 * gnu/java/security/provider/GnuDSAPublicKey.java
4885 (encodedKey): new field.
4886 (getFormat): return "X.509".
4887 (getEncoded): implemented.
4888 (toString): check for 'null' values.
4890 2005-02-16 Michael Koch <konqueror@gmx.de>
4892 * java/util/jar/JarFile.java: Imports reworked.
4894 2005-02-16 Mark Wielaard <mark@klomp.org>
4896 * java/util/jar/JarFile.java (verify): Make package private.
4897 (signaturesRead): Likewise.
4898 (verified): Likewise.
4899 (entryCerts): Likewise.
4902 (entries): Construct new JarEnumeration with reference to this.
4903 (JarEnumeration): Make static.
4904 (JarEnumeration.jarfile): New field.
4905 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4906 Compare verified value to Boolean.TRUE or Boolean.False only
4907 when verify is true.
4908 (getEntry): Make synchronized. Compare value of verified to
4910 (getInputStream): Construct EntryInputStream with reference to this.
4911 (getManifest): Make synchronized.
4912 (EntryInputStream): Make static.
4913 (EntryInputStream.jarfile): New field.
4914 (EntryInputStream.EntryInputStream): Check if manifest exists,
4915 before getting attributes.
4916 (eof): Synchronize on jarfile.
4918 2005-02-16 Casey Marshall <csm@gnu.org>
4920 * java/util/jar/JarFile.java (verify): return if the jar is signed
4921 with an unsupported algorithm.
4923 2005-02-16 Mark Wielaard <mark@klomp.org>
4925 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4926 InputStream as argument.
4927 (getInputStream): Construct a new EntryInputStream with the result of
4928 super.getInputStream(entry).
4930 2005-02-16 Casey Marshall <csm@gnu.org>
4932 Signed JAR file support.
4933 * java/net/URLClassLoader.java
4934 (JarURLResource.getCertificates): re-read jar entry to ensure
4935 certificates are picked up.
4936 (findClass): fill in class `signers' field, too.
4937 * java/util/jar/JarFile.java (META_INF): new constant.
4938 (PKCS7_DSA_SUFFIX): new constant.
4939 (PKCS7_RSA_SUFFIX): new constant.
4940 (DIGEST_KEY_SUFFIX): new constant.
4941 (SF_SUFFIX): new constant.
4942 (MD2_OID): new constant.
4943 (MD4_OID): new constant.
4944 (MD5_OID): new constant.
4945 (SHA1_OID): new constant.
4946 (DSA_ENCRYPTION_OID): new constant.
4947 (RSA_ENCRYPTION_OID): new constant.
4948 (signaturesRead): new field.
4949 (verified): new field.
4950 (entryCerts): new field.
4951 (DEBUG): new constant.
4952 (debug): new method.
4953 (JarEnumeration.nextElement): fill in entry certificates, read
4954 signatures if they haven't been read.
4955 (getEntry): likewise.
4956 (getInputStream): verify stream if it hasn't been verified yet.
4957 (readSignatures): new method.
4958 (verify): new method.
4959 (verifyHashes): new method.
4960 (readManifestEntry): new method.
4961 (EntryInputStream): new class.
4962 * gnu/java/io/Base64InputStream.java (decode): new class
4964 * gnu/java/security/der/DERReader.java don't make class
4966 (in): made protected.
4968 (readLength): likewise.
4969 * gnu/java/security/ber/BER.java,
4970 * gnu/java/security/ber/BEREncodingException.java,
4971 * gnu/java/security/ber/BERReader.java,
4972 * gnu/java/security/ber/BERValue.java,
4973 * gnu/java/security/pkcs/PKCS7SignedData.java,
4974 * gnu/java/security/pkcs/SignerInfo.java:
4977 2005-02-16 Tom Tromey <tromey@redhat.com>
4979 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4980 copied file on exit.
4982 2005-02-15 Mark Wielaard <mark@klomp.org>
4984 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4986 2005-02-15 Michael Koch <konqueror@gmx.de>
4988 * gnu/java/awt/peer/gtk/GtkArg.java,
4989 gnu/java/awt/peer/gtk/GtkArgList.java:
4992 2005-02-15 Craig Black <craig.black@aonix.com>
4994 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4995 (postMenuActionEvent): Implement to notify ItemListeners.
4996 * java/awt/CheckboxMenuItem.java
4997 (dispatchEventImpl): Update state on ItemEvent.
4998 * java/awt/MenuItem.java
4999 (processActionEvent): Retarget event source.
5001 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5003 * gnu/java/awt/color/ClutProfileConverter.java,
5004 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
5005 gnu/java/awt/peer/gtk/GdkFontPeer.java,
5006 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5007 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5008 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5009 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5010 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5011 gnu/java/awt/peer/gtk/GdkTextLayout.java,
5012 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5013 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5014 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5015 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5016 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5017 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5018 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5019 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5020 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5021 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5022 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5023 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5024 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5025 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5026 gnu/java/awt/peer/gtk/GtkToolkit.java,
5027 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5028 javax/swing/JPopupMenu.java,
5029 javax/swing/JSpinner.java,
5030 javax/swing/SortingFocusTraversalPolicy.java,
5031 javax/swing/SwingUtilities.java,
5032 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5033 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5034 javax/swing/tree/DefaultMutableTreeNode.java:
5035 Removed unused imports and expanded starred
5038 2005-02-15 Mark Wielaard <mark@klomp.org>
5040 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5041 IllegalArgumentException when the given String is null.
5043 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5044 when given keystoke sequence cannot be parsed.
5046 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5047 if one is installed. Only install the given menubar is not null.
5049 * javax/swing/JViewport.java (getViewSize): Return an empty
5050 Dimension when the view isn't set or preferred component size when
5053 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5054 empty Dimension when there is no view set.
5055 (minimumLayoutSize): Likewise.
5056 (layoutContainer): Don't try to layout when there is no view.
5058 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5061 * include/jawt.h: Likewise.
5062 * include/jawt_md.h: Likewise.
5063 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5065 * jni/classpath/classpath_jawt.h: Likewise.
5066 * jni/gtk-peer/gtk_jawt.c: Likewise.
5067 * Makefile.am: Build libjawt.so.
5069 2005-02-15 Michael Koch <konqueror@gmx.de>
5071 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5072 Merged file header with classpath CVS head.
5073 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5074 Merged code formatting with classpath CVS head.
5075 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5077 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5078 Handle special JNI strings with 2 '\0' at the end.
5079 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5080 Merged file header with classpath CVS head.
5081 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5082 Merged code formatting with classpath CVS head.
5084 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5086 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5087 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5088 (handle_response): Use GTK_RESPONSE_ACCEPT.
5090 2005-02-15 Graydon Hoare <graydon@redhat.com>
5092 * Makefile.am: Fix library build breakage.
5093 * Makefile.in: Regenerate.
5095 2005-02-15 Michael Koch <konqueror@gmx.de>
5097 * javax/swing/JTabbedPane.java
5098 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5100 2005-02-15 Michael Koch <konqueror@gmx.de>
5102 * javax/swing/tree/DefaultMutableTreeNode.java:
5103 Reworked Javadocs all over.
5104 (getPathToRoot): Fixed direction of result array initialization.
5106 2005-02-15 Michael Koch <konqueror@gmx.de>
5108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5109 Fix includes for cairo 0.3.0 snappshot.
5110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5111 Merged file header from classpath CVS HEAD.
5113 2005-02-15 Craig Black <craig.black@aonix.com>
5115 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5116 (copyState): Pass a JNI global reference to signal handler.
5117 (realize_cb): Use and free JNI global reference.
5118 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5119 (create): Pass a JNI global reference to signal handler.
5120 (selection_changed): Match declaration.
5121 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5122 (dispose): Do not remove entries from state tables until after widget is
5125 2005-02-15 Michael Koch <konqueror@gmx.de>
5127 * java/awt/Container.javai (paramString):
5128 If layoutMgr is null just return result of super.paramString().
5129 * java/awt/Scrollbar.java: Reformatted.
5130 * java/awt/im/InputContext.java (static):
5131 Removed redundant initializations.
5133 2005-02-15 Michael Koch <konqueror@gmx.de>
5135 * javax/swing/ImageIcon.java,
5136 javax/swing/UIManager.java,
5137 javax/swing/text/EditorKit.java,
5138 javax/swing/text/Segment.java:
5139 More whitespace cleanups.
5141 2005-02-15 Michael Koch <konqueror@gmx.de>
5143 * gnu/java/awt/EmbeddedWindow.java,
5144 gnu/java/awt/image/ImageDecoder.java,
5145 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5146 java/awt/DefaultKeyboardFocusManager.java,
5147 java/awt/Frame.java,
5148 java/awt/image/RGBImageFilter.java,
5149 javax/swing/AbstractButton.java,
5150 javax/swing/ActionMap.java,
5151 javax/swing/ComponentInputMap.java,
5152 javax/swing/DefaultDesktopManager.java,
5153 javax/swing/ImageIcon.java,
5154 javax/swing/InputMap.java,
5155 javax/swing/JButton.java,
5156 javax/swing/JCheckBox.java,
5157 javax/swing/JCheckBoxMenuItem.java,
5158 javax/swing/JEditorPane.java,
5159 javax/swing/JMenu.java,
5160 javax/swing/JMenuItem.java,
5161 javax/swing/JOptionPane.java,
5162 javax/swing/JRootPane.java,
5163 javax/swing/JTable.java,
5164 javax/swing/MenuSelectionManager.java,
5165 javax/swing/RepaintManager.java,
5166 javax/swing/ScrollPaneLayout.java,
5167 javax/swing/SortingFocusTraversalPolicy.java,
5168 javax/swing/UIManager.java,
5169 javax/swing/ViewportLayout.java,
5170 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5171 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5172 javax/swing/plaf/basic/BasicLabelUI.java,
5173 javax/swing/plaf/basic/BasicListUI.java,
5174 javax/swing/plaf/basic/BasicMenuItemUI.java,
5175 javax/swing/plaf/basic/BasicMenuUI.java,
5176 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5177 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5178 javax/swing/plaf/basic/BasicRootPaneUI.java,
5179 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5180 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5181 javax/swing/plaf/basic/BasicTextUI.java,
5182 javax/swing/table/TableColumnModel.java,
5183 javax/swing/text/AbstractDocument.java,
5184 javax/swing/text/EditorKit.java,
5185 javax/swing/text/Position.java,
5186 javax/swing/text/Segment.java,
5187 javax/swing/text/StyledEditorKit.java,
5188 javax/swing/text/ViewFactory.java:
5189 Cleanup whitespace differences to classpath CVS HEAD.
5191 2005-02-15 Graydon Hoare <graydon@redhat.com>
5193 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5194 (finalize): Call finish from here.
5195 (produce): Not from here.
5196 * Makefile.am (gtk_c_source_files):
5197 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5198 * Makefile.in: Regenerate.
5199 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5201 (cairoDrawGdkTextLayout):
5203 (getPeerTextMetrics):
5204 (getPeerFontMetrics): Remove.
5205 (setFont): Don't call cairoSetFont.
5206 (cairoDrawGlyphVector): Accept font peer argument.
5207 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5209 (ensure_metrics_cairo):
5210 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5211 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5212 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5213 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5215 (metrics_surface): Remove.
5216 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5217 Pass and install font peer.
5219 2005-02-15 Graydon Hoare <graydon@redhat.com>
5221 * Makefile.am: Create "split library" structure.
5222 * Makefile.in: Regenerate.
5224 2005-02-15 Graydon Hoare <graydon@redhat.com>
5226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5230 Release GDK lock during upcalls.
5232 2005-02-15 Graydon Hoare <graydon@redhat.com>
5234 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5235 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5236 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5237 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5238 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5239 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5240 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5243 (getTextMetrics): New native methods.
5244 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5245 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5246 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5247 * Makefile.in: Regenerate.
5249 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5251 * javax/swing/SwingUtilities.java:
5252 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5253 Implemented and documented.
5254 (getAccessibleChild(java.awt.Component, int)): Likewise.
5255 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5256 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5257 (getAccessibleStateSet(java.awt.Component)): Likewise.
5259 2005-02-15 Michael Koch <konqueror@gmx.de>
5261 * javax/swing/SwingUtilities.java
5262 (getFontMetrics): Removed.
5264 2005-02-15 Michael Koch <konqueror@gmx.de>
5266 * java/awt/Container.java
5267 (paramString): Implemented.
5268 * javax/swing/AbstractButton.java
5269 (paramString): Implemented.
5270 * javax/swing/JComponent.java
5271 (paramString): Implemented.
5272 * javax/swing/JMenu.java
5273 (paramString): Implemented.
5274 * javax/swing/JMenuBar.java
5275 (paramString): Implemented.
5276 * javax/swing/JMenuItem.java
5277 (paramString): Implemented.
5278 * javax/swing/JPopupMenu.java
5279 (paramString): Implemented.
5281 2005-02-15 Michael Koch <konqueror@gmx.de>
5283 * javax/swing/JMenu.java
5284 (uiClassID): Removed.
5285 (JMenu): Set invoker on popup menu.
5286 (getUIClassID): Return id directly.
5287 (getItemCount): Simply return getMenuComponentCount().
5289 (isTopLevelMenu): Simplified.
5290 * javax/swing/JMenuItem.java
5291 (uiClassID): Removed.
5292 (getUIClassID): Return id directly.
5293 * javax/swing/JPopupMenu.java
5294 (uiClassID): Removed.
5295 (JPopupMenu): Always initialize correctly.
5296 (getSubElements): Only return components implementing MenuElement
5298 (HeavyWeightPopup.hide): Removed.
5300 2005-02-15 Michael Koch <konqueror@gmx.de>
5302 * java/awt/image/ReplicateScaleFilter.java
5303 (replicatePixels): Made private.
5304 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5305 (DefaultRGBChooserPanel): Made package private.
5306 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5307 (RecentSwatchPanel): Likewise.
5308 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5309 (MouseInputAdapter): Made abstract.
5310 * javax/swing/tree/DefaultMutableTreeNode.java
5312 (growTree): Likewise.
5314 2005-02-15 Michael Koch <konqueror@gmx.de>
5316 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5319 2005-02-15 Michael Koch <konqueror@gmx.de>
5321 * javax/swing/JComponent.java (getComponentGraphics):
5322 Removed accidently commited code.
5324 2005-02-15 Graydon Hoare <graydon@redhat.com>
5326 * java/awt/dnd/DropTarget.java
5327 (addDropTargetListener): Despite documentation, do not throw.
5328 * javax/swing/JComponent.java: Set a default DropTarget.
5330 2005-02-15 Michael Koch <konqueror@gmx.de>
5332 * javax/swing/AbstractAction.java
5333 (ENABLED_PROPERTY): Removed.
5334 (setEnabled): Replaced constant with real string.
5335 * javax/swing/AbstractButton.java
5336 (createActionPropertyChangeListener.propertyChange): Likewise.
5337 * javax/swing/JComboBox.java
5338 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5339 (EDITABLE_CHANGED_PROPERTY): Removed.
5340 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5341 (ENABLED_CHANGED_PROPERTY):Likewise.
5342 (RENDERER_CHANGED_PROPERTY):Likewise.
5343 (EDITOR_CHANGED_PROPERTY):Likewise.
5344 (MODEL_CHANGED_PROPERTY):Likewise.
5345 (uiClassID):Likewise.
5346 (getUIClassID): Replaced constant with real string.
5347 (setModel):Likewise.
5348 (setEditable):Likewise.
5349 (setMaximumRowCount):Likewise.
5350 (setRenderer):Likewise.
5351 (setEditor):Likewise.
5352 (setEnabled):Likewise.
5353 * javax/swing/JLabel.java
5354 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5355 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5356 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5357 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5358 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5359 (ICON_CHANGED_PROPERTY): Likewise.
5360 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5361 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5362 (TEXT_CHANGED_PROPERTY): Likewise.
5363 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5364 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5365 (setText): Replaced constant with real string.
5366 (setIcon): Likewise.
5367 (setDisabledIcon): Likewise.
5368 (setDisplayedMnemonic): Likewise.
5369 (setIconTextGap): Likewise.
5370 (setVerticalAlignment): Likewise.
5371 (setHorizontalAlignment): Likewise.
5372 (setVerticalTextPosition): Likewise.
5373 (setHorizontalTextPosition): Likewise.
5374 (setLabelFor): Replaced constant with real string.
5375 Fire property change event after property got changed.
5376 * javax/swing/JList.java
5377 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5378 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5379 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5380 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5381 (MODEL_PROPERTY_CHANGED): Likewise.
5382 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5383 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5384 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5385 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5386 (setFixedCellWidth): Reimplemented.
5387 (setFixedCellHeight): Exit if new value is identical.
5388 Replaced constant with real string.
5389 (setSelectionBackground): Likewise.
5390 (setSelectionForeground): Likewise.
5391 (setPrototypeCellValue): Likewise.
5392 (setCellRenderer): Replaced constant with real string.
5393 (setModel): Likewise.
5394 (setSelectionModel): Likewise.
5395 * javax/swing/JMenuBar.java
5396 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5397 (MODEL_CHANGED_PROPERTY): Likewise.
5398 (MARGIN_CHANGED_PROPERTY): Likewise.
5399 (setBorderPainted): Reimplemented.
5400 (setMargin): Likewise.
5401 (setSelectionModel): Replaced constant with real string.
5402 * javax/swing/JPopupMenu.java
5403 (LABEL_CHANGED_PROPERTY): Removed.
5404 (VISIBLE_CHANGED_PROPERTY): Likewise.
5405 (borderPainted): Likewise.
5406 (setLabel): Replaced constant with real string.
5407 (setVisible): Exit if new value is identical.
5408 Replaced constant with real string.
5409 * javax/swing/JProgressBar.java
5410 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5411 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5412 (STRING_CHANGED_PROPERTY): Likewise.
5413 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5414 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5415 (setOrientation): Replaced constant with real string.
5416 (setStringPainted): Likewise.
5417 (setString): Likewise.
5418 (setBorderPainted): Likewise.
5419 (setIndeterminate): Likewise.
5420 * javax/swing/JScrollBar.java
5421 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5422 (MODEL_CHANGED_PROPERTY): Likewise.
5423 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5424 (setOrientation): Replaced constant with real string.
5425 (setModel): Likewise.
5426 (setUnitIncrement): Likewise.
5427 (setBlockIncrement): Likewise.
5428 * javax/swing/JScrollPane.java
5429 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5430 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5431 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5432 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5433 (LAYOUT_CHANGED_PROPERTY): Likewise.
5434 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5435 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5436 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5437 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5438 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5439 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5440 (setComponentOrientation): Replaced constant with real string.
5441 (setColumnHeader): Likewise.
5442 (setHorizontalScrollBar): Likewise.
5443 (setHorizontalScrollBarPolicy): Likewise.
5444 (setRowHeader): Likewise.
5445 (setVerticalScrollBar): Likewise.
5446 (setVerticalScrollBarPolicy): Likewise.
5447 (setWheelScrollingEnabled): Likewise.
5448 (setViewport): Likewise.
5449 (setViewportBorder): Likewise.
5450 * javax/swing/JSlider.java
5451 (INVERTED_CHANGED_PROPERTY): Removed.
5452 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5453 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5454 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5455 (MODEL_CHANGED_PROPERTY): Likewise.
5456 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5457 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5458 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5459 (setModel): Replaced constant with real string.
5460 (setOrientation): Likewise.
5461 (setLabelTable): Likewise.
5462 (setInverted): Likewise.
5463 (setMajorTickSpacing): Likewise.
5464 (setMinorTickSpacing): Likewise.
5465 (setPaintTicks): Likewise.
5466 (setPaintLabels): Likewise.
5467 * javax/swing/JTabbedPane.java
5468 (MODEL_CHANGED_PROPERTY): Removed.
5469 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5470 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5471 (setModel): Replaced constant with real string.
5472 (setTabPlacement): Likewise.
5473 (setTabLayoutPolicy): Likewise.
5474 * javax/swing/JToolBar.java
5475 (ORIENTATION_CHANGED_PROPERTY): Removed.
5476 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5477 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5478 (MARGIN_CHANGED_PROPERTY): Likewise.
5479 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5480 (setRollover): Replaced constant with real string.
5481 (setMargin): Likewise.
5482 (setBorderPainted): Likewise.
5483 (setFloatable): Likewise.
5484 (setOrientation): Likewise.
5485 * javax/swing/plaf/basic/BasicComboBoxUI.java
5486 (PropertyChangeHandler.propertyChange): Likewise.
5487 * javax/swing/plaf/basic/BasicComboPopup.java
5488 (PropertyChangeHandler.propertyChange): Likewise.
5489 * javax/swing/plaf/basic/BasicMenuBarUI.java
5490 (PropertyChangeHandler.propertyChange): Likewise.
5491 * javax/swing/plaf/basic/BasicProgressBarUI.java
5492 (PropertyChangeHandler.propertyChange): Likewise.
5493 * javax/swing/plaf/basic/BasicScrollBarUI.java
5494 (PropertyChangeHandler.propertyChange): Likewise.
5495 * javax/swing/plaf/basic/BasicSliderUI.java
5496 (PropertyChangeHandler.propertyChange): Likewise.
5497 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5498 (PropertyChangeHandler.propertyChange): Likewise.
5499 * javax/swing/plaf/basic/BasicToolBarUI.java
5500 (PropertyChangeHandler.propertyChange): Likewise.
5502 2005-02-15 Michael Koch <konqueror@gmx.de>
5504 * javax/swing/DefaultButtonModel.java
5505 (changeState): Made private.
5506 * javax/swing/DefaultDesktopManager.java
5507 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5508 * javax/swing/JLayeredPane.java
5509 (layerToRange): Made private.
5510 (incrLayer): Likewise.
5511 (decrLayer): Likewise.
5512 * javax/swing/JTable.java
5513 (dragEnabled): Likewise.
5514 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5515 * javax/swing/KeyStroke.java
5516 (Keystroke): Made private.
5517 * javax/swing/TransferHandler.java
5518 (COMMAND_COPY): Likewise.
5519 (COMMAND_CUT): Likewise.
5520 (COMMAND_PASTE): Likewise.
5522 2005-02-15 Michael Koch <konqueror@gmx.de>
5524 * javax/swing/JTextField.java
5525 (postActionEvent): Use text in field when actionCommand is null.
5526 (getActionCommand): Removed.
5528 2005-02-15 Michael Koch <konqueror@gmx.de>
5530 * javax/swing/AbstractSet.java: Removed.
5531 * Makefile.am: Removed javax/swing/AbstractSet.java.
5532 * Makefile.in: Regenerated.
5534 2005-02-15 Michael Koch <konqueror@gmx.de>
5536 * java/awt/Window.java
5537 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5538 * java/awt/dnd/DnDConstants.java
5539 (DnDConstants): New private constructor.
5541 2005-02-15 Michael Koch <konqueror@gmx.de>
5543 * javax/swing/DefaultCellRenderer.java: Removed.
5544 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5545 * Makefile.in: Regenerated.
5547 2005-02-15 Michael Koch <konqueror@gmx.de>
5549 * javax/swing/AbstractButton.java
5550 (fireItemStateChanged): Made protected.
5551 (fireActionPerformed): Likewise.
5552 (fireStateChanged): Likewise.
5553 * javax/swing/DefaultButtonModel.java
5554 (fireItemStateChanged): Likewise.
5555 (fireActionPerformed): Likewise.
5556 (fireStateChanged): Likewise.
5557 * javax/swing/JApplet.java
5559 (frameInit): Likewise.
5560 (setRootPane): Made protected.
5561 (createRootPane): Likewise.
5562 * javax/swing/JComponent.java
5563 (getClientProperty): Likewise.
5564 (putClientProperty): Likewise.
5565 * javax/swing/JEditorPane.java
5566 (getContentType): Likewise.
5567 (setContentType): Likewise.
5568 * javax/swing/JFrame.java
5569 (setRootPane): Likewise.
5570 (createRootPane): Likewise.
5571 * javax/swing/JInternalFrame.java
5572 (getFocusCycleRootAncestor): Made final. Added @since tag.
5573 (isFocusCycleRoot): Likewise.
5574 (getWarningString): Made final.
5575 * javax/swing/JScrollBar.java
5576 (changeListener): Removed.
5577 (changeEvent): Likewise.
5578 (createChangeListener): Likewise.
5579 (fireStateChanged): Likewise.
5580 (addChangeListener): Likewise.
5581 (removeChangeListener): Likewise.
5582 (getChangeListeners): Likewise.
5583 * javax/swing/JScrollPane.java
5584 (createViewport): Made protected.
5585 * javax/swing/JViewport.java
5586 (addImpl): Likewise.
5587 (setBorder): New method.
5588 * javax/swing/JWindow.java
5589 (setRootPane): Made protected.
5590 (createRootPane): Likewise.
5591 * javax/swing/plaf/basic/BasicButtonUI.java
5592 (installListeners): Likewise.
5593 (uninstallListeners): Likewise.
5594 * javax/swing/plaf/basic/BasicProgressBarUI.java
5595 (incrementAnimationIndex): Likewise.
5596 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5597 (createLayoutManager): Likewise.
5598 * javax/swing/table/DefaultTableCellRenderer.java
5599 (firePropertyChange): Likewise.
5600 * javax/swing/table/JTableHeader.java
5601 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5603 * javax/swing/text/PlainDocument.java
5604 (reindex): Made private.
5605 * javax/swing/text/PlainView.java
5606 (drawLine): Made protected.
5607 (getTabSize): Likewise.
5608 * javax/swing/text/View.java
5610 (preferenceChanged): New method.
5611 (getBreakWeight): Likewise.
5612 (breakView): Likewise.
5613 (getViewIndex): Likewise.
5615 2005-02-15 Michael Koch <konqueror@gmx.de>
5617 * javax/swing/JScrollPane.java
5618 (ScrollBar): Made class protected.
5619 * javax/swing/JSpinner.java
5620 (JSpinner): Added @since tag.
5621 (listenerList): Removed.
5622 * javax/swing/JTable.java
5623 (setValueAt): New method.
5624 (getColumn): Likewise.
5625 * javax/swing/JWindow.java
5626 (rootPaneCheckingEnabled): Renamed from checking.
5628 2005-02-15 Michael Koch <konqueror@gmx.de>
5630 * javax/swing/plaf/basic/BasicTextUI.java
5631 (RootView.modelToView): Made it public and return a java.awt.Shape.
5632 Handle null subview.
5633 (uninstall): Set textComponent to null when its not possible used
5635 * javax/swing/text/View.java
5636 (setParent): Use better argument name.
5637 (getContainer): Get parent via getParent().
5638 (getViewFactory): Likewise.
5639 (getAttributes): Get element via getElement().
5640 (getStartOffset): Likewise.
5641 (getEndOffset): Likewise.
5642 (getResizeWeight): New method.
5643 (getMaximumSpan): Likewise.
5644 (getMinimumSpan): Likewise.
5645 (setSize): Likewise.
5646 (getGraphics): Likewise.
5648 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5650 * java/awt/Checkbox.java:
5651 (AccessibleAWTCheckbox()): Added public constructor
5653 * java/awt/Choice.java:
5654 (AccessibleAWTChoice): Added class documentation.
5655 (AccessibleAWTChoice()): Added public constructor
5657 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5658 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5659 and changed role to COMBO_BOX.
5660 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5661 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5662 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5664 2005-02-15 Graydon Hoare <graydon@redhat.com>
5665 Michael Koch <konqueror@gmx.de>
5667 * javax/swing/LayoutFocusTraversalPolicy.java,
5668 javax/swing/SortingFocusTraversalPolicy.java:
5670 * Makefile.am: Added new classes.
5671 * Makefike.in: Regenerated.
5674 2005-02-15 Michael Koch <konqueror@gmx.de>
5676 * javax/swing/DebugGraphics.java: Mostly implemented.
5678 2005-02-15 Michael Koch <konqueror@gmx.de>
5680 * javax/swing/SwingUtilities.java
5681 (findFocusOwner): New method.
5683 2005-02-15 Michael Koch <konqueror@gmx.de>
5685 * javax/swing/text/DefaultEditorKit.java
5686 (read): Added '\n' after each line.
5687 * javax/swing/text/PlainView.java
5688 (modelToView): Update metrics.
5689 (drawLine): Use offsets from element.
5690 (paint): Update metrics. Draw all lines.
5692 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5694 * java/awt/Checkbox.java:
5695 (AccessibleAWTCheckbox): Added class documentation
5696 * java/awt/Scrollbar.java:
5697 (AccessibleAWTScrollBar): typo corrected and docs added
5698 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5699 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5700 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5701 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5702 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5703 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5704 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5705 (getAccessibleContext()): name of accessible class corrected
5707 2005-02-15 Mark Wielaard <mark@klomp.org>
5709 * java/awt/BasicStroke.java (hashCode): Implement.
5712 2005-02-15 Michael Koch <konqueror@gmx.de>
5714 * java/awt/print/PrinterJob.java
5715 (pageDialog): Throws java.awt.HeadlessException.
5716 (printDialog): Likewise.
5718 2005-02-15 Mark Wielaard <mark@klomp.org>
5720 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5722 2005-02-15 Michael Koch <konqueror@gmx.de>
5724 * javax/swing/JTable.java
5725 (getValueAt): New method.
5726 * javax/swing/table/JTableHeader.java
5727 (columnAtPoint): New method.
5729 2005-02-15 Michael Koch <konqueror@gmx.de>
5731 * javax/swing/JTextField.java
5732 (actions): New field.
5733 (static): Initalize actions field.
5734 (getActions): New method.
5736 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5738 * java/awt/Checkbox.java:
5739 (AccessibleAWTCheckbox): name capitalization corrected
5740 and serialization UID added.
5741 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5743 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5744 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5745 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5746 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5747 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5748 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5749 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5750 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5751 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5752 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5753 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5755 (getAccessibleContext()): name of accessible class corrected
5757 2005-02-15 Sven de Marothy <sven@physto.se>
5759 * java/awt/geom/doc-files/Area-1.png,
5760 java/awt/geom/doc-files/Ellipse-1.png,
5761 java/awt/geom/doc-files/GeneralPath-1.png:
5764 2005-02-15 Graydon Hoare <graydon@redhat.com>
5766 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5767 Use union to avoid type-punning warning.
5769 2005-02-15 Michael Koch <konqueror@gmx.de>
5771 * javax/swing/DefaultListSelectionModel.java
5772 (clone): New method.
5774 2005-02-15 Mark Wielaard <mark@klomp.org>
5776 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5777 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5778 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5779 Correct method signature of gtkSetFilename.
5781 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5783 * javax/swing/text/StringContent.java: New file.
5785 2005-02-15 Michael Koch <konqueror@gmx.de>
5787 * Makefile.am: Added javax/swing/text/StringContent.java.
5788 * Makefile.in: Regenerated.
5790 2005-02-15 Michael Koch <konqueror@gmx.de>
5792 * gnu/java/awt/ClasspathToolkit.java:
5793 Import statements reworked.
5794 (imageCache): Made it of type java.util.HashMap.
5796 2005-02-15 Michael Koch <konqueror@gmx.de>
5798 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5799 Reworked import statements.
5801 2005-02-15 Graydon Hoare <graydon@redhat.com>
5803 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5804 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5808 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5810 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5814 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5817 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5819 Rewrite uses of extern variable to be function calls.
5820 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5821 function, from extern variable.
5822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5823 (gdk_env): Remove variable, add new function.
5824 (java_vm): Add new variable.
5825 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5826 java_vm rather than old gdk_env variable.
5828 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5830 * javax/swing/DefaultListModel.java
5831 (add): fire correct event,
5832 (addElement): corrected interval indices in event,
5833 (clear): corrected upper bound for interval, only fire event if
5835 (setSize): fire appropriate event.
5837 2005-02-15 Graydon Hoare <graydon@redhat.com>
5839 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5840 * gnu/awt/xlib/XToolkit.java: Likewise.
5841 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5842 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5843 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5844 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5845 * java/awt/EventQueue.java (getNextEvent):
5846 Adjust event loop to switch to native mode after 100ms.
5847 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5849 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5850 Wake up event thread.
5851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5852 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5853 Adjust event loop to switch to java mode after 100ms.
5855 2005-02-15 Graydon Hoare <graydon@redhat.com>
5857 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5858 accidentally removed in last change.
5860 2005-02-15 Michael Koch <konqueror@gmx.de>
5862 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5863 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5865 2005-02-15 Graydon Hoare <graydon@redhat.com>
5867 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5868 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5869 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5870 * jni.cc: Reuse bottom frame between calls, avoid clearing
5871 frame when no local references are made.
5873 2005-02-15 Michael Koch <konqueror@gmx.de>
5875 * javax/swing/UIDefaults.java (UIDefaults):
5876 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5877 Fixed HTML entity and removed a redundant comma.
5879 2005-02-15 Michael Koch <konqueror@gmx.de>
5881 * javax/swing/text/DefaultEditorKit.java
5882 (deinstall): Removed.
5883 (install): Likewise.
5885 2005-02-15 Michael Koch <konqueror@gmx.de>
5887 * javax/swing/UIDefaults.java (put): Handle value of null.
5889 2005-02-15 Michael Koch <konqueror@gmx.de>
5891 * java/awt/Robot.java,
5892 java/awt/Scrollbar.java,
5893 java/awt/print/PrinterJob.java,
5894 javax/swing/JTable.java,
5895 javax/swing/text/AbstractDocument.java:
5896 Reworked import statements.
5898 2005-02-15 Michael Koch <konqueror@gmx.de>
5900 * javax/swing/JEditorPane.java
5901 (read): Implemented.
5903 * javax/swing/text/DefaultEditorKit.java
5904 (page): Renamed from page_url. Made private.
5905 (editorKit): Renamed from kit. Made private.
5907 (JEditorPane): All constructors reimplemented.
5908 (getContentType): Use content type from editor kit.
5909 (getEditorKit): Return editorKit.
5910 (getEditorKitForContentType):Likewise.
5911 (getPage): Return page.
5912 (setContentType): Reimplemented.
5913 (setEditorKit): Likewise.
5914 (setEditorKitForContentType): Removed wrong implementation.
5915 (setPage): Implemented.
5917 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5919 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5920 (nativeSetIconImageFromData): Re-add native implementation.
5922 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5924 * javax/swing/table/DefaultTableModel.java
5925 (DefaultTableModel()): Added Javadocs.
5926 (DefaultTableModel(int, int)): Fixed implementation.
5927 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5928 for negative rowCount.
5929 (DefaultTableModel(Object[], int)): Added Javadocs.
5930 (DefaultTableModel(Vector, Vector)): Likewise.
5931 (DefaultTableModel(Object[][], Object[])): Likewise.
5932 (getDataVector): Likewise.
5933 (setDataVector(Vector, Vector)): Likewise.
5934 (setDataVector(Object[][], Object[])): Likewise.
5935 (newDataAvailable): Likewise.
5936 (newRowsAdded): Likewise.
5937 (rowsRemoved): Likewise.
5938 (setColumnIdentifiers(Vector)): Allow for null argument.
5939 (setColumnIdentifiers(Object[])): Added Javadocs.
5940 (setNumRows): Likewise.
5941 (setRowCount): Adds new rows if necessary, and sends more specific
5943 (setColumnCount): Allow for null columnIdentifiers.
5944 (addColumn(Object)): Added Javadocs.
5945 (addColumn(Object, Vector)): Handle null columnData.
5946 (addColumn(Object, Object[])): Handle columnData with more or less
5947 entries than rows in the table.
5948 (addRow(Vector)): Fire appropriate event.
5949 (addRow(Object[])): Added Javadocs.
5950 (insertRow(int, Vector)): Fire appropriate event.
5951 (insertRow(int, Object[])): Added Javadocs.
5952 (moveRow): Reimplemented.
5953 (removeRow(int)): Fire appropriate event.
5954 (getColumnCount): Allow for null columnIdentifiers.
5955 (getColumnName): Now returns empty string when column index is too
5957 (isCellEditable): Added Javadocs.
5958 (getValueAt): Likewise.
5959 (setValueAt): Fire more specific event.
5960 (convertToVector): Added Javadocs.
5961 * javax/swing/table/TableModel.java
5964 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5966 * libgcj.spec.in (lib): Add -l-javax-imageio.
5968 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5970 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5971 references to event queue q with method call q().
5972 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5973 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5974 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5975 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5976 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5977 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5980 2005-02-15 Graydon Hoare <graydon@redhat.com>
5982 * gnu/java/awt/ClasspathToolkit.java
5983 (registerImageIOSpis): New method.
5984 * gnu/java/awt/image/ImageDecoder.java
5985 (imageDecoder): New constructor using InputStream
5986 (startProduction): Handle existing InputStream.
5987 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5988 (findSimpleIntegerArray): Make public and static.
5989 (updateBufferedImage): Set each pixel, in a loop.
5990 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5991 Implement ImageIO SPI classes.
5992 (createBufferedImage): Rewrite in terms of SPI classes.
5993 * gnu/java/awt/peer/gtk/GtkToolkit.java
5994 (registerImageIOSpis): New method.
5995 * java/lang/reflect/natMethod.cc
5996 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5997 which lets JNI call interface methods properly.
5998 * javax/imageio/ImageIO.java
5999 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6000 (WriterMIMETypeFilter.filter): Likewise.
6001 (ImageReaderIterator): Pass extension argument through to SPI.
6002 (getReadersByFilter): Likewise.
6003 (getWritersByFilter): Likewise.
6004 (getImageReadersByFormatName): Likewise.
6005 (getImageReadersByMIMEType): Likewise.
6006 (getImageReadersBySuffix): Likewise.
6007 (getImageWritersByFormatName): Likewise.
6008 (getImageWritersByMIMEType): Likewise.
6009 (getImageWritersBySuffix): Likewise.
6012 * javax/imageio/ImageReader.java
6013 (progressListeners): Initialize.
6014 (setInput): Implement.
6015 * javax/imageio/ImageWriter.java
6016 (progressListeners): Initialize.
6017 (warningListeners): Likewise.
6018 (warningLocales): Likewise.
6019 (setOutput): Test "isInstance" rather than class equality.
6020 * javax/imageio/spi/IIORegistry.java
6021 (static): Add reader and writer SPIs.
6022 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6023 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6024 (query_formats): New function.
6025 (save_to_stream): Likewise.
6026 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6028 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6032 (keyPress): Likewise.
6033 (keyRelease): Likewise.
6035 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6037 * javax/swing/JTable.java
6038 (columnAtPoint): New Method. Implemented.
6039 (rowAtPoint): Likewise.
6040 (countSelections): Fixed few small count errors.
6041 (getSelections): Likewise.
6042 (setSelectionMode): Set selection mode for column
6043 selection model in addition to row selection model.
6044 * javax/swing/plaf/basic/BasicTableUI.java:
6045 (getRowForPoint): Removed. Replaced by
6046 JTable.rowAtPoint().
6047 (getColForPoint): Removed. Replaced by
6048 JTable.columnAtPoint().
6049 (updateSelection): Updated to call JTable.columnAtPoint
6050 and JTable.rowAtPoint.
6051 * javax/swing/table/DefaultTableColumnModel.java:
6052 (getSelectedColumns): Implemented.
6053 (getSelectedColumnCount): Implemented.
6055 2005-02-15 Graydon Hoare <graydon@redhat.com>
6058 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6059 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6060 * Makefile.in: Regenerate.
6061 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6062 * gnu/awt/xlib/XFramePeer.java: Likewise.
6063 * gnu/awt/xlib/XToolkit.java: Likewise.
6064 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6065 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6066 * gnu/java/awt/ClasspathToolkit.java
6069 (iterateNativeQueue): New methods.
6070 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6071 * gnu/java/awt/peer/gtk/GtkToolkit.java
6072 (gtkInit): Absorb from defunct GtkMainThread class.
6073 (static): Run gtkInit in static startup block.
6074 (GtkToolkit): Remove construction of GtkMainThread and queue.
6075 (getSystemEventQueueImpl): Construct queue when requested.
6078 (iterateNativeQueue): New methods.
6079 * java/awt/Component.java (removeNotify): Remove race.
6080 * java/awt/EventDispatchThread.java
6081 (EventDispatchThread): Don't start on construction.
6082 (run): Remove isInterrupted check.
6083 * java/awt/EventQueue.java (shutdown): New flag.
6084 (isShutdown): New method checking J2SE shutdown condition.
6085 (setShutdown): New method.
6086 (getNextEvent): Restructure to use ClasspathToolkit.
6087 (postEvent): Activate new thread on posting, wake thread on
6088 post of possible shutdown condition event.
6089 * java/awt/Frame.java
6090 (Frame): Call noteFrame in all constructors.
6091 (fireDummyEvent): New helper method.
6092 (addNotify): Fire a dummy event to wake up queue.
6093 (removeNotify): Fire a dummy event to wake up queue.
6094 (noteFrame): New method.
6095 (weakFrames): New static field.
6096 (getFrames): Implement.
6097 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6099 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6100 Move everything from GtkMainThread into this file
6101 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6102 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6103 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6104 New functions to implement single-threaded queue semantics.
6106 2005-02-15 Michael Koch <konqueror@gmx.de>
6108 * javax/swing/plaf/metal/MetalLookAndFeel.java
6109 (getControlTextFont): New method.
6110 (getMenuTextFont): Likewise.
6111 (getSubTextFont): Likewise.
6112 (getSystemTextFont): Likewise.
6113 (getUserTextFont): Likewise.
6114 (getWindowTitleFont): Likewise.
6116 2005-02-15 Michael Koch <konqueror@gmx.de>
6118 * javax/swing/text/AbstractDocument.java
6119 (documentFilter): New field.
6120 (getDocumentFilter): New method.
6121 (setDocumentFilter): Likewise.
6124 2005-02-15 Michael Koch <konqueror@gmx.de>
6126 * javax/swing/JTree.java
6127 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6129 2005-02-15 Michael Koch <konqueror@gmx.de>
6131 * javax/swing/text/AbstractDocument.java
6132 (AbstractElement.getLength): Fixed off-by-one error.
6133 (AbstractElement.children): Made abstract.
6134 (AbstractElement.getAllowsChildren): Likewise.
6135 (AbstractElement.getElement): Likewise.
6136 (AbstractElement.dumpElement): New private method.
6137 (AbstractElement.dump): New method.
6138 (BranchElememt.getName): Fixed implementation.
6139 (BranchElememt.toString): Likewise.
6140 (BranchElememt.getElement): Fixed arguments.
6141 (LeafElement.getName): Fixed implementation.
6142 (LeafElement.toString): Likewise.
6143 * javax/swing/text/GapContent.java
6144 (GapContent): Put default content into buffer.
6145 * javax/swing/text/PlainDocument.java
6146 (reindex): Use empty attribute sets instead of null.
6147 (createDefaultRoot): Reimplemented.
6148 (insertUpdate): Call super method.
6149 (removeUpdate): Likewise.
6150 (getParagraphElement): Implemented.
6152 2005-02-15 Michael Koch <konqueror@gmx.de>
6154 * gnu/java/awt/ClasspathToolkit.java
6155 (createRobot): Throws java.awt.AWTException.
6156 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6157 Added '__attribute__((unused))' to all unused method arguments.
6159 2005-02-15 Michael Koch <konqueror@gmx.de>
6161 * javax/swing/DefaultBoundedRangeModel.java
6162 (fireValueChanged): Fixed off-by-one error.
6164 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6166 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6167 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6169 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6170 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6171 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6172 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6173 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6174 (getDefaultScreenDevice): Implement.
6175 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6176 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6177 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6178 * java/awt/Robot.java: Implement.
6179 * java/awt/peer/RobotPeer.java: Rename parameters.
6180 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6182 (awt_keycode_to_keysym): Make non-static.
6183 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6184 AWT_BUTTON3_MASK): Declare constants.
6185 (awt_keycode_to_keysym): Declare.
6187 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6188 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6189 and is non-empty pass its value to "make check".
6190 (test_mauve_sim): Likewise.
6192 2005-02-15 Michael Koch <konqueror@gmx.de>
6194 * javax/imageio/IIOParam.java
6195 (setSourceBands): New method.
6196 (setSourceSubsampling): Likewise.
6197 * javax/imageio/ImageReadParam.java
6198 (setDestination): Likewise.
6199 (setDestinationBands): Likewise.
6200 (setSourceProgressivePasses): Likewise.
6201 * javax/imageio/metadata/IIOInvalidTreeException.java
6202 (serialVersionUID): New static field.
6203 * javax/imageio/metadata/IIOMetadataNode.java
6204 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6205 (parent): Dont initailize with default value explicitely.
6207 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6208 (removeAttributeNode): Likewise.
6209 (removeAttributeNS): Likewise.
6210 (setAttribute): Likewise.
6211 (setAttributeNode): Likewise.
6212 (setAttributeNodeNS): Likewise.
6213 (setAttributeNS): Likewise.
6214 (appendChild): Likewise.
6215 (getNodeValue): Likewise.
6216 (insertBefore): Likewise.
6217 (removeChild): Likewise.
6218 (replaceChild): Likewise.
6219 (setPrefix): Likewise.
6221 2005-02-15 Michael Koch <konqueror@gmx.de>
6223 * javax/swing/LookAndFeel.java
6224 (getDesktopPropertyValue): New method.
6226 2005-02-15 Michael Koch <konqueror@gmx.de>
6228 * javax/swing/JTree.java
6229 (hasChildren): New instance field.
6231 2005-02-15 Michael Koch <konqueror@gmx.de>
6233 * javax/swing/JComponent.java
6234 (getToolTipText): New method.
6235 (getTitledBorderText): Likewise.
6236 (getAccessibleKeyBinding): Likewise.
6237 (getVerifyInputWhenFocusTarget): Likewise.
6238 (setVerifyInputWhenFocusTarget): Likewise.
6239 (verifyInputWhenFocusTarget): New instance field.
6241 2005-02-15 Michael Koch <konqueror@gmx.de>
6243 * javax/swing/DefaultListSelectionModel.java
6244 (fireValueChanged): New method.
6246 2005-02-15 Michael Koch <konqueror@gmx.de>
6248 * javax/swing/DefaultBoundedRangeModel.java:
6249 Fixed javadocs all over.
6250 (fireStateChanged): Simplified.
6251 * javax/swing/BoundedRangeModel.java:
6254 2005-02-15 Michael Koch <konqueror@gmx.de>
6256 * javax/swing/JRootPane.java
6257 (setMenuBar): Added @deprecated tag.
6258 (getMenuBar): Likewise.
6259 * javax/swing/JTable.java
6260 (sizeColumnsToFit): Likewise.
6262 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6264 * javax/swing/ImageIcon.java (setImage): Implemented.
6266 2005-02-15 Michael Koch <konqueror@gmx.de>
6268 * javax/swing/JTable.java:
6269 Removed unused imports.
6271 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6273 (prepareRenderer): Get column's index in dataModel instead
6274 of column's view index.
6275 (getColumnCount): return count of the columns in ColumnModel,
6277 (removeColumn): Implemented.
6278 (moveColumm): Likewise.
6279 (setRowHeight): throw IllegalArgumentException if height is
6281 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6282 (DefaultTableColumnModel):Add call to createSelectionModel().
6283 (addColumn): Fire columnAdded event to registered listeners.
6284 (removeColumn): Fire columnRemoved event to registered listeners.
6285 (moveColumn): Fire columnMoved event to registered listeners.
6286 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6287 (getColumnIndex): Changed parameter name.
6288 (setColumnSelectionAllowed): Likewise.
6289 (fireColumnAdded): Implemented.
6290 (fireColumnRemoved): Likewise.
6291 (fireColumnMoved): Likewise.
6292 (fireColumnMarginChanged): Likewise.
6293 (getListeners): Changed parameter name.
6294 (propertyChange): Implemented.
6295 (valueChanged): Changed parameter name.
6296 (createSelectionModel): Implemented.
6298 2005-02-15 Michael Koch <konqueror@gmx.de>
6300 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6301 Explicitely import used classes.
6302 (getLocalGraphicsEnvironment): Simplify.
6303 * java/awt/Window.java (Window):
6304 Enable code to get the default GraphicsConfiguration.
6306 2005-02-15 Michael Koch <konqueror@gmx.de>
6308 * javax/swing/plaf/metal/DefaultMetalTheme.java
6309 (CONTROL_TEXT_FONT): New static field.
6310 (MENU_TEXT_FONT): Likewise.
6311 (SUB_TEXT_FONT): Likewise.
6312 (SYSTEM_TEXT_FONT): Likewise.
6313 (USER_TEXT_FONT): Likewise.
6314 (WINDOW_TITLE_FONT): Likewise.
6315 (getControlTextFont): New method.
6316 (getMenuTextFont): Likewise.
6317 (getSubTextFont): Likewise.
6318 (getSystemTextFont): Likewise.
6319 (getUserTextFont): Likewise.
6320 (getWindowTitleFont): Likewise.
6321 * javax/swing/plaf/metal/MetalTheme.java
6322 (BLACK): Initialize with Color.BLACK.
6323 (WHITE): Initialize with Color.WHITE.
6324 (getInactiveControlTextColor): Return getControlDisabled().
6325 (getMenuDisabledForeground): Return getSecondary3().
6326 (getControlTextFont): New abstract method.
6327 (getMenuTextFont): Likewise.
6328 (getSubTextFont): Likewise.
6329 (getSystemTextFont): Likewise.
6330 (getUserTextFont): Likewise.
6331 (getWindowTitleFont): Likewise.
6333 2005-02-15 Michael Koch <konqueror@gmx.de>
6335 * javax/swing/JFormattedTextField.java
6336 (getFocusLostBehavior): Fixed typo in method name.
6337 (setFocusLostBehavior): Likewise.
6339 2005-02-15 Michael Koch <konqueror@gmx.de>
6341 * javax/swing/TransferHandler.java:
6342 Reworked import statements.
6344 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6346 * java/awt/Button.java,
6347 java/awt/Canvas.java,
6348 java/awt/Checkbox.java,
6349 java/awt/CheckboxMenuItem.java,
6350 java/awt/Choice.java,
6351 java/awt/Dialog.java,
6352 java/awt/Frame.java,
6353 java/awt/Label.java,
6356 java/awt/MenuBar.java,
6357 java/awt/MenuItem.java,
6358 java/awt/PopupMenu.java,
6359 java/awt/ScrollPane.java,
6360 java/awt/Scrollbar.java,
6361 java/awt/TextArea.java,
6362 java/awt/Window.java (getAccessibleContext): Clean up comments.
6364 * java/awt/Button.java,
6365 java/awt/Checkbox.java,
6366 java/awt/Choice.java,
6368 java/awt/PopupMenu.java,
6369 java/awt/TextArea.java (getAccessibleContext): Only create new
6371 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6373 2005-02-15 Michael Koch <konqueror@gmx.de>
6375 * java/awt/Button.java,
6376 javax/swing/JApplet.java,
6377 javax/swing/JFormattedTextField.java,
6378 javax/swing/JWindow.java,
6379 javax/swing/JTree.java,
6380 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6381 javax/swing/plaf/basic/BasicTextPaneUI.java,
6382 javax/swing/plaf/basic/BasicTreeUI.java:
6383 Reworked import statements.
6385 2005-02-15 Michael Koch <konqueror@gmx.de>
6387 * Makefile.am: Put javax.imageio into its own library and link it
6388 against lib-org-w3c-dom.la to fix bootstrapping.
6389 * Makefile.in: Regenerated.
6391 2005-02-15 Michael Koch <konqueror@gmx.de>
6393 * javax/swing/text/TextAction.java
6394 (getTextComponent): Simplified. Added Javadoc.
6395 (augmentList): Implemented. Added Javadoc.
6396 (getFocusedComponent): Added javadoc.
6398 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6400 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6401 getAccessibleContext): Implement.
6402 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6403 getAccessibleContext): Implement.
6405 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6407 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6409 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6411 * java/awt/Window.java (getAccessibleContext): Fix comment.
6412 Remove extra import.
6414 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6416 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6417 (isActive, isFocused, getAccessibleContext): Implement.
6419 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6421 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6422 * java/awt/MenuComponent.java (accessibleContext): Make package
6424 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6425 AccessibleAWTCheckboxMenuItem): Implement.
6427 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6429 * java/awt/List.java: Implement AccessibleAWTList,
6430 AccessibleAWTListChild.
6432 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6434 * java/awt/Choice.java: Add implements declaration for
6437 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6439 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6442 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6444 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6445 implemented interface list.
6447 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6449 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6450 * javax/imageio/metadata/IIOAttr.java: New class.
6451 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6452 * javax/imageio/metadata/IIONodeList.java: New class.
6453 * Makefile.am: Added new files.
6454 * Makefile.in: Regenerated.
6456 2005-02-15 Michael Koch <konqueror@gmx.de>
6458 * javax/swing/AbstractAction.java,
6459 javax/swing/AbstractCellEditor.java,
6460 javax/swing/AbstractListModel.java,
6461 javax/swing/DefaultBoundedRangeModel.java,
6462 javax/swing/DefaultButtonModel.java,
6463 javax/swing/DefaultCellEditor.java,
6464 javax/swing/DefaultComboBoxModel.java,
6465 javax/swing/DefaultDesktopManager.java,
6466 javax/swing/JMenu.java,
6467 javax/swing/JSlider.java,
6468 javax/swing/KeyStroke.java,
6469 javax/swing/OverlayLayout.java,
6470 javax/swing/ScrollPaneLayout.java,
6471 javax/swing/SizeRequirements.java,
6472 javax/swing/ViewportLayout.java:
6473 Made serialVersionUID private.
6475 2005-02-15 Michael Koch <konqueror@gmx.de>
6477 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6480 2005-02-15 Michael Koch <konqueror@gmx.de>
6482 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6484 2005-02-15 Michael Koch <konqueror@gmx.de>
6486 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6488 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6490 * java/awt/EventDispatchThread.java,
6491 java/awt/Toolkit.java:
6492 Don't catch java.lang.ThreadDeath.
6494 2005-02-15 Michael Koch <konqueror@gmx.de>
6496 * javax/swing/text/PasswordView.java
6497 (drawEchoCharacter): Added javadoc.
6498 (drawSelectedText): Likewise.
6499 (drawUnselectedText): Likewise.
6501 2005-02-15 Michael Koch <konqueror@gmx.de>
6503 * javax/swing/JRootPane.java
6504 (windowDecorationStyle): New field.
6505 (setMenuBar): New method.
6506 (getMenuBar): Likewise.
6507 (getWindowDecorationStyle): Likewise.
6508 (setWindowDecorationStyle): Likewise.
6510 2005-02-15 Michael Koch <konqueror@gmx.de>
6512 * javax/swing/DefaultListSelectionModel.java
6513 (leadAnchorNotificationEnabled): Made protected.
6515 2005-02-15 Michael Koch <konqueror@gmx.de>
6517 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6518 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6519 * Makefile.in: Regenerated.
6522 2005-02-15 Michael Koch <konqueror@gmx.de>
6524 * javax/swing/JFormattedTextField.java: Implemented.
6525 * javax/swing/JWindow.java
6526 (JWindow): New constructors.
6527 (initWindow): Renamed from initFrame.
6528 * javax/swing/UIDefaults.java
6529 (ActiveValue): Made interface static.
6530 (LazyValue): Likewise.
6531 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6532 (TitlePaneLayout.TitlePaneLayout): New constructor.
6533 * javax/swing/plaf/basic/BasicSliderUI.java
6534 (ChangeHandler): Made public.
6535 (FocusHandler): Likewise.
6536 (PropertyChangeHandler): Likewise.
6537 (ScrollListener): Likewise.
6538 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6539 (FocusHandler): Likewise.
6540 (MouseHandler): Likewise.
6541 * javax/swing/plaf/basic/BasicTextPaneUI.java
6542 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6543 * javax/swing/plaf/basic/BasicToolBarUI.java
6544 (BasicToolBarUI): Simplified. Reworked javadoc.
6545 (canDock): Simplified. Make public.
6546 (DockingListener): Made public.
6547 * javax/swing/text/JTextComponent.java
6548 (navigationFilter): New field.
6549 (getNavigationFilter): New method.
6550 (setNavigationFilter): Likewise.
6552 2005-02-15 Michael Koch <konqueror@gmx.de>
6554 * javax/swing/plaf/metal/MetalTheme.java
6555 (getControlTextColor): Return getControlInfo().
6556 (getHighlightedTextColor): Return getControlTextColor().
6558 2005-02-15 Michael Koch <konqueror@gmx.de>
6560 * javax/swing/plaf/basic/BasicButtonListener.java
6561 (BasicButtonListener): New constructor.
6562 * javax/swing/plaf/basic/BasicButtonUI.java
6563 (createButtonListener): Usw new BasicButtonListener constructor.
6565 2005-02-15 Michael Koch <konqueror@gmx.de>
6567 * javax/imageio/event/package.html,
6568 javax/imageio/metadata/package.html: New files.
6570 2005-02-15 Michael Koch <konqueror@gmx.de>
6572 * java/awt/image/MemoryImageSource.java: Reformatted.
6574 2005-02-15 Michael Koch <konqueror@gmx.de>
6576 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6578 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6580 * java/awt/color/ICC_Profile.java
6581 (finalize): Removed pointless field assignments.
6583 2005-02-15 Michael Koch <konqueror@gmx.de>
6585 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6586 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6587 * Makefile.in: Regenerated.
6589 2005-02-15 Michael Koch <konqueror@gmx.de>
6591 * javax/swing/text/DefaultStyledDocument.java: New file.
6592 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6593 * Makefile.in: Regenerated.
6595 2005-02-15 Michael Koch <konqueror@gmx.de>
6597 * javax/swing/JFileChooser.java
6598 (showDialog): Return CANCEL_OPTION for now.
6599 (showOpenDialog): Likewise.
6600 (showSaveDialog): Likewise.
6602 2005-02-15 Michael Koch <konqueror@gmx.de>
6604 * javax/swing/JApplet.java
6605 (HIDE_ON_CLOSE): Removed.
6606 (EXIT_ON_CLOSE): Likewise.
6607 (DISPOSE_ON_CLOSE): Likewise.
6608 (DO_NOTHING_ON_CLOSE): Likewise.
6609 (close_action): Likewise.
6610 (getDefaultCloseOperation): Likewise.
6611 (setDefaultCloseOperation): Likewise.
6612 (processWindowEvent): Likewise.
6613 (getPreferredSize): Simplified.
6614 * javax/swing/JInternalFrame.java
6615 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6617 * javax/swing/JWindow.java
6618 (HIDE_ON_CLOSE): Removed.
6619 (EXIT_ON_CLOSE): Likewise.
6620 (DISPOSE_ON_CLOSE): Likewise.
6621 (DO_NOTHING_ON_CLOSE): Likewise.
6622 (close_action): Likewise.
6623 (processKeyEvent): Likewise.
6624 (setDefaultCloseOperation): Likewise.
6625 (getPreferredSize): Simplified.
6627 2005-02-15 Michael Koch <konqueror@gmx.de>
6629 * javax/swing/JTextField.java
6630 (getPreferredSize): Re-implemented.
6632 2005-02-15 Michael Koch <konqueror@gmx.de>
6634 * javax/swing/JLabel.java
6635 (setDisplayedMnemonic): Use only upper case characters.
6636 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6637 PropertyChangeEvent after property got set to the new index.
6639 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6641 * javax/swing/JComboBox.java:
6642 (JComboBox): Removed selection of the
6643 first item in the model.
6645 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6647 * javax/swing/JComboBox.java
6648 added support for no item being selected
6649 (JComboBox): select first or nothing depending on element count
6650 (setModel): cleaned up unneeded "this." usage, added more
6651 docs, made exception behavior match that of the JDK
6652 (setLighWeightPopupEnabled): removed unneeded "this." usage
6654 (setMaximumRowCount): dito
6656 (setPrototypeDisplayValue): dito
6657 (getSelectedItem): simplified, added more user doc
6658 (setSelectedIndex): corrected exception behavior, added more user doc
6659 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6660 added performance warning to user doc
6661 (addItem): fixed exception behavior, added user doc
6662 (insertItemAt): dito
6664 (removeItemAt): dito
6665 (removeAll): fixed exception behavior, added user doc, added support
6666 for model not being instance of DefaultComboBoxModel
6667 (getSelectedItemObjects): simplified
6668 (getItemCount): fixed dependency on DefaultComboBoxModel
6669 (getItemAt): fixed dependency on MutableComboBoxModel
6670 * javax/swing/DefaultComboBoxModel.java:
6671 (setSelectedItem): updates selected item only if new
6672 value is null or known (match JDK behavior)
6673 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6674 (paintCurrentValue): renders "" if no item is selected
6676 2005-02-15 Michael Koch <konqueror@gmx.de>
6678 * javax/swing/plaf/metal/MetalTheme.java,
6679 javax/swing/plaf/metal/DefaultMetalTheme.java:
6681 * javax/swing/plaf/metal/MetalLookAndFeel.java
6682 * Makefile.am: Added the new files.
6683 * Makefile.in: Regenerated.
6685 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6687 * javax/swing/JTable.java
6688 (editorComp): New field.
6689 (JTable): Initialize local variables and call updateUI
6690 (selectionBackground): Make protected.
6691 (selectionForeground): Likewise.
6692 (initializeLocalVars): Create default editors and renderers,
6693 initialize editingColumn, editingRow variables.
6694 (createDefaultEditors): New Method.
6695 (createDefaultRenderers): Likewise.
6696 (createDefaultListSelectionModel): Removed
6697 (createDefaultSelectionModel): New Method.
6698 (createDefaultTableHeader): Likewise
6699 (removeColumn): Likewise.
6700 (getEditingColumn): Likewise.
6701 (setEditingColumn): Likewise.
6702 (getEditingRow): Likewise.
6703 (setEditingRow): Likewise.
6704 (getEditorComponent): Likewise.
6705 (isEditing): Likewise.
6706 (setDefaultEditor): Likewise.
6707 (addColumnSelectionInterval): Likewise.
6708 (addRowSelectionInterval): Likewise.
6709 (setColumnSelectionInterval): Likewise.
6710 (setRowSelectionInterval): Likewise.
6711 (removeColumnSelectionInterval): Likewise.
6712 (removeRowSelectionInterval): Likewise.
6713 (isColumnSelected): Likewise.
6714 (isRowSelected): Likewise.
6715 (isCellSelected): Likewise.
6716 (selectAll): Likewise.
6718 2005-02-15 Michael Koch <konqueror@gmx.de>
6720 * javax/swing/JTable.java
6721 (addColumn): New method.
6722 (getColumnClass): Likewise.
6723 (getColumnName): Likewise.
6725 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6727 * javax/swing/TransferHandler.java
6728 (createTransferable): Made protected.
6730 2005-02-15 Michael Koch <konqueror@gmx.de>
6732 * javax/swing/JTable.java,
6733 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6734 javax/swing/plaf/basic/BasicTableUI.java:
6735 Use fixed get/setIntercellSpacing() methods.
6737 2005-02-15 Michael Koch <konqueror@gmx.de>
6739 * javax/swing/JTable.java
6740 (getIntercellSpacing): Fixed typo in method name.
6741 (setIntercellSpacing): Likewise.
6743 2005-02-15 Michael Koch <konqueror@gmx.de>
6745 * javax/swing/text/JTextComponent.java
6746 (focusAccelerator): New variable.
6747 (getFocusAccelerator): New method.
6748 (setFocusAccelerator): Likewise.
6750 2005-02-15 Michael Koch <konqueror@gmx.de>
6752 * javax/swing/JComponent.java
6753 (setTransferHandler): Made public. Fire property change event.
6754 * javax/swing/TransferHandler.java: Implemented.
6755 * javax/swing/text/JTextComponent.java
6756 (DefaultTransferHandler): New inner class.
6757 (defaultTransferHandler): New variable.
6761 (doTransferAction): Likewise.
6763 2005-02-15 Michael Koch <konqueror@gmx.de>
6765 * javax/swing/JTree.java
6766 (collapsePath): New method.
6767 (collapseRow): Likewise.
6768 (expandPath): Likewise.
6769 (expandRow): Likewise.
6770 (checkExpandParents): Likewise.
6771 (doExpandParents): Likewise.
6772 (setExpandedState): Likewise.
6773 (makeVisible): Likewise.
6775 2005-02-15 Michael Koch <konqueror@gmx.de>
6777 * javax/swing/JPasswordField.java: Updated javadocs.
6779 2005-02-15 Michael Koch <konqueror@gmx.de>
6781 * javax/swing/JLayeredPane.java
6782 (getLayer): Fixed return type, made public.
6783 (getPosition): Use new getLayer().
6784 (SetPosition): Likewise.
6785 (getIndexOf): Likewise.
6787 * javax/swing/JInternalFrame.java
6788 (getLayer): Use new JLayeredPane.getLayer().
6791 2005-02-15 Michael Koch <konqueror@gmx.de>
6793 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6794 (setHeaderValue): Simplified. Do nothing when old value == new value.
6796 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6798 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6799 against null clip region.
6800 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6801 gtkWindowSetResizable.
6802 (postConfigureEvent): Only revalidate if frame size has changed.
6803 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6804 Only revalidate if frame size has changed.
6805 * java/awt/Component.java (reshape): Only repaint and post
6806 component events if component is showing.
6807 * java/awt/Container.java (addImpl): Only post container event if
6808 container is showing.
6810 * java/awt/Window.java (setLocationRelativeTo): Implement.
6811 (setBoundsCallback): Only post component events if component is
6813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6814 Protect against null graphics structure. Flush gdk event queue.
6816 2005-02-15 Michael Koch <konqueror@gmx.de>
6818 * javax/imageio/ImageReader.java,
6819 javax/imageio/ImageTranscoder.java,
6820 javax/imageio/ImageWriter.java,
6821 javax/imageio/spi/ImageInputStreamSpi.java,
6822 javax/imageio/spi/ImageOutputStreamSpi.java,
6823 javax/imageio/spi/ServiceRegistry.java,
6824 javax/imageio/stream/ImageInputStream.java,
6825 javax/imageio/stream/ImageOutputStream.java: Updated.
6826 * javax/imageio/IIOException.java,
6827 javax/imageio/IIOImage.java,
6828 javax/imageio/IIOParam.java,
6829 javax/imageio/IIOParamController.java,
6830 javax/imageio/ImageIO.java,
6831 javax/imageio/ImageReadParam.java,
6832 javax/imageio/ImageTypeSpecifier.java,
6833 javax/imageio/ImageWriteParam.java,
6834 javax/imageio/spi/IIORegistry.java,
6835 javax/imageio/spi/ImageReaderSpi.java,
6836 javax/imageio/spi/ImageWriterSpi.java,
6837 javax/imageio/stream/FileCacheImageInputStream.java,
6838 javax/imageio/stream/FileCacheImageOutputStream.java,
6839 javax/imageio/stream/FileImageInputStream.java,
6840 javax/imageio/stream/FileImageOutputStream.java,
6841 javax/imageio/stream/ImageInputStreamImpl.java,
6842 javax/imageio/stream/ImageOutputStreamImpl.java,
6843 javax/imageio/stream/MemoryCacheImageInputStream.java,
6844 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6845 javax/imageio/event/IIOReadProgressListener.java,
6846 javax/imageio/event/IIOReadUpdateListener.java,
6847 javax/imageio/event/IIOReadWarningListener.java,
6848 javax/imageio/event/IIOWriteProgressListener.java,
6849 javax/imageio/event/IIOWriteWarningListener.java,
6850 javax/imageio/metadata/IIOMetadata.java,
6851 javax/imageio/metadata/IIOMetadataController.java,
6852 javax/imageio/metadata/IIOMetadataFormat.java,
6853 javax/imageio/metadata/IIOInvalidTreeException.java,
6854 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6855 javax/imageio/metadata/IIOMetadataNode.java: New files.
6856 * Makefile.am (javax_source_files): Added new files
6857 * Makefile.in: Regenerated.
6859 2005-02-15 Graydon Hoare <graydon@redhat.com>
6861 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6862 Rework painting into BufferedImages
6863 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6864 Construct BufferedImage with alpha only when alpha is
6865 present in colormodel.
6866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6867 Rework painting into client-side jint arrays.
6868 * jni/gtk-peer/gtkcairopeer.h:
6871 2005-02-15 Michael Koch <konqueror@gmx.de>
6873 * javax/swing/DefaultListCellRenderer.java
6874 (serialVersionUID): Made private.
6875 (getListCellRendererComponent): Set horizontal alignment.
6876 * javax/swing/JLabel.java
6877 (setVerticalAlignment): Re-implemented.
6878 (setHorizontalAlignment): Do nothing if old value = new value.
6879 * javax/swing/JList.java
6880 (setCellRenderer): Likewise.
6881 (setModel): Re-implemented.
6882 (setSelectionModel): Likewise.
6884 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6886 * java/awt/Component.java,
6887 java/awt/geom/Rectangle2D.java:
6890 2005-02-15 Michael Koch <konqueror@gmx.de>
6892 * javax/swing/AbstractListModel.java
6893 (fireContentsChanged): Simplified.
6894 (fireIntervalAdded): Likewise.
6895 (fireIntervalRemoved): Likewise.
6896 * javax/swing/DefaultSingleSelectionModel.java:
6898 (fireStateChanged): Simplified.
6899 * javax/swing/JPopupMenu.java
6900 (setSelectionModel): Set property.
6902 2005-02-15 Michael Koch <konqueror@gmx.de>
6904 * java/awt/print/Book.java: Reformatted.
6906 2005-02-15 Michael Koch <konqueror@gmx.de>
6908 * java/awt/geom/Area.java
6909 (QuadSegment.curveArea): Remove unused variables.
6910 (CubicSegment.curveArea): Likewise.
6912 2005-02-15 Michael Koch <konqueror@gmx.de>
6914 * javax/swing/JTree.java
6915 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6916 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6917 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6918 (EXPANDED): New constant.
6919 (COLLAPSED): Likewise.
6920 (nodeStates): New field.
6921 (cellEditor): New method.
6922 (cellRenderer): Likewise.
6923 (selectionModel): Likewise.
6924 (treeModel): Likewise.
6925 (scrollPathToVisible): Likewise.
6926 (scrollRowToVisible): Likewise.
6927 (isCollapsed): Likewise.
6928 (isExpanded): Likewise.
6929 (clearToggledPaths): Likewise.
6930 (getDescendantToggledPaths): Likewise.
6931 (hasBeenExpanded): Likewise.
6932 (isVisible): Likewise.
6933 (isPathEditable): Likewise.
6935 2005-02-15 Michael Koch <konqueror@gmx.de>
6937 * javax/swing/JLayeredPane.java: Reformatted.
6939 2005-02-15 Michael Koch <konqueror@gmx.de>
6941 * javax/swing/tree/DefaultMutableTreeNode.java:
6943 * javax/swing/tree/MutableTreeNode.java:
6946 2005-02-15 Michael Koch <konqueror@gmx.de>
6948 * javax/swing/JFormattedTextField.java
6949 (setDocument): Call setDocument of super class. Don't fire property
6952 2005-02-15 Sven de Marothy <sven@physto.se>
6954 * java/awt/image/IndexColorModel.java:
6955 Add FIXME with respect to alpha handling.
6956 (getAlpha): Default to returning opaque pixels.
6957 * java/awt/image/MultiPixelPackedSampleModel.java
6958 (MultiPixelPackedSampleModel): Corrected parameters, order of
6959 bit shifts and masks, stride length off by one.
6961 2005-02-15 Michael Koch <konqueror@gmx.de>
6963 * javax/swing/JList.java, javax/swing/JTree.java:
6964 Added much new methods and fixed much methods setting bound properties.
6966 2005-02-16 Mark Wielaard <mark@klomp.org>
6968 * Makefile.am (gnu_xml_source_files): Removed
6969 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6970 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6971 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6972 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6973 gnu/xml/dom/DomDocumentFragment.java,
6974 gnu/xml/dom/DomProcessingInstruction.java and
6975 gnu/xml/dom/ls/DomLSException.java.
6976 * Makefile.in: Regenerated.
6978 2005-02-16 Tom Tromey <tromey@redhat.com>
6980 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6981 attribute index is out of bounds.
6983 2005-02-16 Chris Burdess <dog@gnu.org>
6985 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6986 isDeclared methods. Improved performance of isSpecified methods.
6988 2005-02-16 Chris Burdess <dog@gnu.org>
6990 Fixes bug libgcj/19864
6991 * gnu/xml/dom/DomAttr.java,
6992 gnu/xml/dom/DomCDATA.java,
6993 gnu/xml/dom/DomCDATASection.java,
6994 gnu/xml/dom/DomCharacterData.java,
6995 gnu/xml/dom/DomDOMException.java,
6996 gnu/xml/dom/DomDoctype.java,
6997 gnu/xml/dom/DomDocument.java,
6998 gnu/xml/dom/DomDocumentConfiguration.java,
6999 gnu/xml/dom/DomDocumentFragment.java,
7000 gnu/xml/dom/DomElement.java,
7001 gnu/xml/dom/DomEx.java,
7002 gnu/xml/dom/DomFragment.java,
7003 gnu/xml/dom/DomImpl.java,
7004 gnu/xml/dom/DomIterator.java,
7005 gnu/xml/dom/DomNamedNodeMap.java,
7006 gnu/xml/dom/DomNode.java,
7007 gnu/xml/dom/DomNsNode.java,
7008 gnu/xml/dom/DomPI.java,
7009 gnu/xml/dom/DomProcessingInstruction.java,
7010 gnu/xml/dom/DomText.java,
7011 gnu/xml/dom/DomLSEx.java,
7012 gnu/xml/dom/DomLSException.java,
7013 gnu/xml/dom/DomLSParser.java,
7014 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7015 implementation class names to conform to Classpath guidelines. Make
7016 DomLSException use JDK 1.4+ exception chaining.
7017 * gnu/xml/util/SAXNullTransformerFactory.java,
7018 gnu/xml/xpath/Predicate.java: Use constants relative to
7019 declaring class or interface.
7021 2005-02-16 Andrew Haley <aph@redhat.com>
7023 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7024 null, create a new AccessControlContext.
7025 * java/security/SecureClassLoader.java (protectionDomainCache):
7027 (defineClass): Create a new protection domain and add it to our
7030 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7031 addStub() to keep track of the stub we've exported.
7032 (unexportObject): Call deleteStub().
7033 * java/rmi/server/RemoteObject.java (stubs): New field.
7034 (addStub): New method.
7035 (deleteStub): New method.
7038 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7039 true to findHelper (tryParents).
7040 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7042 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7043 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7045 If tryParents is false, don't scan parent class loaders.
7047 * java/security/Permissions.java (PermissionsHash.implies):
7048 Iterate over the collection and invoke implies() on each
7051 2005-02-16 Andrew Haley <aph@redhat.com>
7053 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7055 (PersistentByteMap): Set name
7056 Magic number changed to 0x67636a64 ("gcjd").
7057 (init): Force the map to be prime.
7058 (emptyPersistentByteMap): File name was a string, now a File.
7059 (addBytes): Share srings between entries.
7060 (stringTableSize): New method.
7061 (capacity): Scale by load factor.
7062 (force): New method.
7063 (getFile): New method.
7064 (close): New method.
7065 (putAll): New method.
7066 (ByteWrapper): New class.
7067 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7068 (main): Guess the average string size as 32, not 64.
7069 Copy a database before modifying it, so that we can update a
7070 database in a running system.
7071 If a database isn't big enough, resize it.
7072 "-m": new option: merges databases.
7073 "-a": Create a new detabase if it doesn't exist.
7074 (usage): Correct, add new option.
7075 (addJar): Copy a database before modifying it.
7076 (resizeMap): New method.
7078 2005-02-15 David Daney <ddaney@avtrex.com>
7079 Bryce McKinlay <mckinlay@redhat.com>
7081 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7082 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7083 ensure that GC threads inherit the new signal mask.
7084 (block_sigchld): Call JvFail rather than throwing exception if
7085 pthread_sigmask() fails.
7087 2005-02-15 Mark Wielaard <mark@klomp.org>
7089 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7090 file path elements are separated by spaces.
7092 2005-02-15 Mark Wielaard <mark@klomp.org>
7094 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7095 to describe attributes without a constant field value in this class.
7097 2005-02-15 Michael Koch <konqueror@gmx.de>
7099 * java/util/jar/Attributes.java
7100 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7102 2005-02-15 Mark Wielaard <mark@klomp.org>
7104 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7105 space for parsing CLASS_PATH attribute.
7107 2005-02-15 Mark Wielaard <mark@klomp.org>
7109 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7110 aside for "GCJLIBS" in directory where jarfiles are loaded.
7111 (JarURLLoader.getClass): Removed method.
7112 (JarURLLoader.toString): Removed method.
7113 (FileResource.toString): Removed method.
7115 2005-02-15 Mark Wielaard <mark@klomp.org>
7117 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7118 and/or cause before throwing.
7120 2005-02-15 Richard Henderson <rth@redhat.com>
7122 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7123 (libgcj0_convenience_la_SOURCES): ... here.
7124 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7125 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7126 * Makefile.in: Regenerate.
7128 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7131 * include/jawt.h: Likewise.
7132 * include/jawt_md.h: Likewise.
7133 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7135 * include/Makefile.in: Regenerate.
7136 * jni/classpath/classpath_jawt.h: Likewise.
7137 * jni/gtk-peer/gtk_jawt.c: Likewise.
7138 * Makefile.am: Build libjawt.so.
7139 * Makefile.in: Regenerate.
7141 2005-02-14 Tom Tromey <tromey@redhat.com>
7143 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7145 2005-02-14 Tom Tromey <tromey@redhat.com>
7147 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7148 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7150 2005-02-14 Tom Tromey <tromey@redhat.com>
7153 * testsuite/libjava.lang/PR19929.out: New file.
7154 * testsuite/libjava.lang/PR19929.java: New file.
7156 2005-02-14 Anthony Green <green@redhat.com>
7159 * testsuite/libjava.jni/PR18116.c: New file.
7160 * testsuite/libjava.jni/PR18116.java: New file.
7161 * testsuite/libjava.jni/PR18116.out: New file.
7163 2005-02-13 Anthony Green <green@redhat.com>
7166 * jni.cc (nathash_add): Don't strdup the method signature.
7167 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7171 2005-02-12 Mark Wielaard <mark@klomp.org>
7173 Fixes bug libgcj/8170
7174 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7175 ClassNotFoundException.
7176 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7177 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7178 (remove_internal): New field superceding remove_interpreter.
7179 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7180 Remove no-class methods starting with "_Jv_". And Replace null
7181 class or method names with the empty string. Stop at either the
7182 MainThread or a real Thread run() method.
7183 (newElement): Made static.
7184 * java/net/URLClassLoader.java (findClass): Throw
7185 ClassNotFoundExceptions including urls, plus parent using toString().
7186 (thisString): New field.
7187 (toString): New method.
7189 2005-02-10 Tom Tromey <tromey@redhat.com>
7191 * external/sax/Makefile.in: Rebuilt.
7192 * external/sax/Makefile.am (all-local): Removed.
7193 (BUILT_SOURCES): New variable.
7194 (mostlyclean-local): No error if no classes to delete.
7195 * external/w3c_dom/Makefile.in: Rebuilt.
7196 * external/w3c_dom/Makefile.am (all-local): Removed.
7197 (BUILT_SOURCES): New variable.
7198 (mostlyclean-local): No error if no classes to delete.
7200 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7202 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7203 of mauve and libjava.
7205 2005-02-09 Tom Tromey <tromey@redhat.com>
7207 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7208 jar file with OPEN_DELETE.
7209 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7210 OPEN_DELETE is used.
7212 2005-02-09 Tom Tromey <tromey@redhat.com>
7214 * java/util/zip/InflaterInputStream.java (markSupported):
7216 (mark, reset): Likewise.
7218 2005-02-08 Tom Tromey <tromey@redhat.com>
7220 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7221 name or port is missing.
7222 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7223 AUTHORITY_PORT_GROUP): Updated.
7225 2005-02-08 Tom Tromey <tromey@redhat.com>
7227 * configure: Rebuilt.
7228 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7231 2005-02-07 Tom Tromey <tromey@redhat.com>
7233 * java/lang/natRuntime.cc (insertSystemProperties): Set
7234 sun.boot.class.path earlier.
7236 2005-02-07 Tom Tromey <tromey@redhat.com>
7238 * defineclass.cc (handleClassBegin): Use
7239 _Jv_RegisterInitiatingLoader.
7240 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7241 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7242 class. Use _Jv_UnregisterInitiatingLoader.
7243 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7246 2005-02-07 Mark Wielaard <mark@klomp.org>
7248 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7249 java/util/regex/Matcher.java (lookingAt): Set position when match
7251 (matches): Implemented through lookingAt().
7253 2005-02-07 Mark Wielaard <mark@klomp.org>
7255 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7256 * java/util/regex/Pattern.java (split(CharSequence,int)):
7257 Fix while empties > 0 loops.
7259 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7261 * gnu/java/nio/charset/ISO_8859_1.java,
7262 gnu/java/nio/charset/US_ASCII.java,
7263 gnu/java/nio/charset/UTF_16.java,
7264 gnu/java/nio/charset/UTF_16_LE.java,
7265 gnu/java/nio/charset/UTF_16_BE.java,
7266 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7267 and aliases according to
7268 "http://www.iana.org/assignments/character-sets",
7269 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7270 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7271 * gnu/java/nio/charset/Provider.java: Made charset lookup
7272 case-insensitive which fixes bug #11740.
7274 2005-02-07 Tom Tromey <tromey@redhat.com>
7277 * Makefile.in: Rebuilt.
7278 * Makefile.am (src.zip): New target.
7279 (install-src.zip): Likewise.
7280 (sourcesdir): New variable.
7282 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7284 * javax/imageio/metadata/IIOMetadataNode.java:
7286 * javax/imageio/metadata/IIOAttr.java,
7287 javax/imageio/metadata/IIONamedNodeMap.java,
7288 javax/imageio/metadata/IIONodeList.java:
7291 2005-02-06 Graydon Hoare <graydon@redhat.com>
7293 * gnu/java/awt/ClasspathToolkit.java
7294 (registerImageIOSpis): New method.
7295 * javax/imageio/ImageIO.java
7296 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7297 (WriterMIMETypeFilter.filter): Likewise.
7298 (ImageReaderIterator): Pass extension argument through to SPI.
7299 (getReadersByFilter): Likewise.
7300 (getWritersByFilter): Likewise.
7301 (getImageReadersByFormatName): Likewise.
7302 (getImageReadersByMIMEType): Likewise.
7303 (getImageReadersBySuffix): Likewise.
7304 (getImageWritersByFormatName): Likewise.
7305 (getImageWritersByMIMEType): Likewise.
7306 (getImageWritersBySuffix): Likewise.
7309 * javax/imageio/ImageReader.java
7310 (progressListeners): Initialize.
7311 (setInput): Implement.
7312 * javax/imageio/ImageWriter.java
7313 (progressListeners): Initialize.
7314 (warningListeners): Likewise.
7315 (warningLocales): Likewise.
7316 (setOutput): Test "isInstance" rather than class equality.
7317 * javax/imageio/spi/IIORegistry.java
7318 (static): Add reader and writer SPIs.
7319 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7321 2005-02-06 Michael Koch <konqueror@gmx.de>
7323 * javax/imageio/metadata/IIOInvalidTreeException.java
7324 (IIOInvalidTreeException): Reformatted.
7325 * javax/imageio/spi/IIORegistry.java
7326 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7327 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7328 Reworked import statements.
7330 2005-02-06 Michael Koch <konqueror@gmx.de>
7332 * javax/imageio/stream/FileImageOutputStream.java:
7335 2005-02-06 Michael Koch <konqueror@gmx.de>
7337 * javax/imageio/stream/FileCacheImageInputStream.java,
7338 javax/imageio/stream/FileCacheImageOutputStream.java,
7339 javax/imageio/stream/FileImageInputStream.java,
7340 javax/imageio/stream/ImageInputStreamImpl.java,
7341 javax/imageio/stream/ImageOutputStreamImpl.java,
7342 javax/imageio/stream/MemoryCacheImageInputStream.java,
7343 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7344 Added all missing methods in javax.imageio.stream.
7346 2005-02-02 David Daney <ddaney@avtrex.com>
7348 * java/net/InetAddress.java (InetAddress): Make a private copy of
7350 * java/net/Inet4Address.java (getAddress): Return a copy of the
7352 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7354 (getAddress): Return a copy of the address.
7357 2005-02-02 Tom Tromey <tromey@redhat.com>
7359 * Makefile.in: Rebuilt.
7360 * Makefile.am (classes.stamp): New target, broken out from
7362 ($(all_java_class_files)): Depend on it.
7363 (libgcj-@gcc_version@.jar): Likewise.
7364 (all-recursive): Likewise.
7365 (CLEANFILES): Include classes.stamp.
7367 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7369 * link.cc: Include <stdio.h>
7371 2005-02-02 Tom Tromey <tromey@redhat.com>
7374 * Makefile.in: Rebuilt.
7375 * Makefile.am (ordinary_java_source_files): Added new class.
7376 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7377 Use system_instance, not instance.
7378 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7379 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7381 (system_instance): New field.
7382 (initialize): Initialize the system loader as well.
7383 (VMClassLoader): Default to LIB_CACHE.
7385 2005-02-02 Tom Tromey <tromey@redhat.com>
7387 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7388 * prims.cc: Fixed comment.
7390 2005-02-01 Tom Tromey <tromey@redhat.com>
7392 * Makefile.in: Rebuilt.
7393 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7394 (.java.class): Use BOOTCLASSPATH.
7396 2005-02-01 Tom Tromey <tromey@redhat.com>
7398 * external/w3c_dom/Makefile.am: New file.
7399 * external/w3c_dom/Makefile.in: New file.
7400 * external/sax/Makefile.am: New file.
7401 * external/sax/Makefile.in: New file.
7402 * external/Makefile.in: New file.
7403 * external/Makefile.am: New file.
7404 * external/README: New file from Classpath.
7405 * configure, aclocal.m4, Makefile.in: Rebuilt.
7406 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7407 * Makefile.am (SUBDIRS): Added external.
7408 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7409 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7410 (BOOTCLASSPATH): New variable.
7411 (AM_GCJFLAGS): Use it.
7412 (gnu_xml_source_files): New variable.
7413 (libgcj_la_SOURCES): Use it.
7414 (libgcj_la_LDADD): Include new convenience libraries.
7415 (lib_org_ietf_jgss_la_SOURCES): Removed.
7416 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7417 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7418 (lib_org_w3c_dom_la_SOURCES): Removed.
7419 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7420 (lib_org_w3c_dom_la_LIBADD): Likewise.
7421 (lib_org_xml_sax_la_SOURCES): Removed.
7422 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7423 (lib_org_xml_sax_la_LIBADD): Likewise.
7424 (all_java_source_files): Updated.
7425 (property_files): Likewise.
7426 (libgcj-@gcc_version@.jar): Include classes from external/.
7427 (javax_source_files): Updated.
7428 (ordinary_java_source_files): Updated.
7429 * javax/xml/XMLConstants.java,
7430 javax/xml/datatype/DatatypeConfigurationException.java,
7431 javax/xml/datatype/DatatypeConstants.java,
7432 javax/xml/datatype/DatatypeFactory.java,
7433 javax/xml/datatype/Duration.java,
7434 javax/xml/datatype/XMLGregorianCalendar.java,
7435 javax/xml/datatype/package.html,
7436 javax/xml/namespace/NamespaceContext.java,
7437 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7438 javax/xml/parsers/DocumentBuilder.java,
7439 javax/xml/parsers/DocumentBuilderFactory.java,
7440 javax/xml/parsers/FactoryConfigurationError.java,
7441 javax/xml/parsers/ParserConfigurationException.java,
7442 javax/xml/parsers/SAXParser.java,
7443 javax/xml/parsers/SAXParserFactory.java,
7444 javax/xml/parsers/package.html,
7445 javax/xml/transform/ErrorListener.java,
7446 javax/xml/transform/OutputKeys.java,
7447 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7448 javax/xml/transform/SourceLocator.java,
7449 javax/xml/transform/Templates.java,
7450 javax/xml/transform/Transformer.java,
7451 javax/xml/transform/TransformerConfigurationException.java,
7452 javax/xml/transform/TransformerException.java,
7453 javax/xml/transform/TransformerFactory.java,
7454 javax/xml/transform/TransformerFactoryConfigurationError.java,
7455 javax/xml/transform/URIResolver.java,
7456 javax/xml/transform/package.html,
7457 javax/xml/transform/dom/DOMLocator.java,
7458 javax/xml/transform/dom/DOMResult.java,
7459 javax/xml/transform/dom/DOMSource.java,
7460 javax/xml/transform/dom/package.html,
7461 javax/xml/transform/sax/SAXResult.java,
7462 javax/xml/transform/sax/SAXSource.java,
7463 javax/xml/transform/sax/SAXTransformerFactory.java,
7464 javax/xml/transform/sax/TemplatesHandler.java,
7465 javax/xml/transform/sax/TransformerHandler.java,
7466 javax/xml/transform/sax/package.html,
7467 javax/xml/transform/stream/StreamResult.java,
7468 javax/xml/transform/stream/StreamSource.java,
7469 javax/xml/transform/stream/package.html,
7470 javax/xml/validation/Schema.java,
7471 javax/xml/validation/SchemaFactory.java,
7472 javax/xml/validation/TypeInfoProvider.java,
7473 javax/xml/validation/Validator.java,
7474 javax/xml/validation/ValidatorHandler.java,
7475 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7476 javax/xml/xpath/XPathConstants.java,
7477 javax/xml/xpath/XPathException.java,
7478 javax/xml/xpath/XPathExpression.java,
7479 javax/xml/xpath/XPathExpressionException.java,
7480 javax/xml/xpath/XPathFactory.java,
7481 javax/xml/xpath/XPathFactoryConfigurationException.java,
7482 javax/xml/xpath/XPathFunction.java,
7483 javax/xml/xpath/XPathFunctionException.java,
7484 javax/xml/xpath/XPathFunctionResolver.java,
7485 javax/xml/xpath/XPathVariableResolver.java,
7486 javax/xml/xpath/package.html: New files, from GNU JAXP.
7487 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7488 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7489 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7490 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7491 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7492 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7493 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7494 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7495 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7496 org/w3c/dom/ranges/DocumentRange.java,
7497 org/w3c/dom/ranges/Range.java,
7498 org/w3c/dom/ranges/RangeException.java,
7499 org/w3c/dom/traversal/DocumentTraversal.java,
7500 org/w3c/dom/traversal/NodeFilter.java,
7501 org/w3c/dom/traversal/NodeIterator.java,
7502 org/w3c/dom/traversal/TreeWalker.java,
7503 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7504 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7505 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7506 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7507 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7508 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7509 org/xml/sax/SAXNotRecognizedException.java,
7510 org/xml/sax/SAXNotSupportedException.java,
7511 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7512 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7513 org/xml/sax/ext/DeclHandler.java,
7514 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7515 org/xml/sax/helpers/AttributeListImpl.java,
7516 org/xml/sax/helpers/AttributesImpl.java,
7517 org/xml/sax/helpers/DefaultHandler.java,
7518 org/xml/sax/helpers/LocatorImpl.java,
7519 org/xml/sax/helpers/NamespaceSupport.java,
7520 org/xml/sax/helpers/NewInstance.java,
7521 org/xml/sax/helpers/ParserAdapter.java,
7522 org/xml/sax/helpers/ParserFactory.java,
7523 org/xml/sax/helpers/XMLFilterImpl.java,
7524 org/xml/sax/helpers/XMLReaderAdapter.java,
7525 org/xml/sax/helpers/XMLReaderFactory.java,
7526 org/xml/sax/helpers/package.html: Moved to external/.
7527 * external/sax/README,
7528 external/sax/org/xml/sax/AttributeList.java,
7529 external/sax/org/xml/sax/Attributes.java,
7530 external/sax/org/xml/sax/ContentHandler.java,
7531 external/sax/org/xml/sax/DTDHandler.java,
7532 external/sax/org/xml/sax/DocumentHandler.java,
7533 external/sax/org/xml/sax/EntityResolver.java,
7534 external/sax/org/xml/sax/ErrorHandler.java,
7535 external/sax/org/xml/sax/HandlerBase.java,
7536 external/sax/org/xml/sax/InputSource.java,
7537 external/sax/org/xml/sax/Locator.java,
7538 external/sax/org/xml/sax/Parser.java,
7539 external/sax/org/xml/sax/SAXException.java,
7540 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7541 external/sax/org/xml/sax/SAXNotSupportedException.java,
7542 external/sax/org/xml/sax/SAXParseException.java,
7543 external/sax/org/xml/sax/XMLFilter.java,
7544 external/sax/org/xml/sax/XMLReader.java,
7545 external/sax/org/xml/sax/package.html,
7546 external/sax/org/xml/sax/ext/Attributes2.java,
7547 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7548 external/sax/org/xml/sax/ext/DeclHandler.java,
7549 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7550 external/sax/org/xml/sax/ext/EntityResolver2.java,
7551 external/sax/org/xml/sax/ext/LexicalHandler.java,
7552 external/sax/org/xml/sax/ext/Locator2.java,
7553 external/sax/org/xml/sax/ext/Locator2Impl.java,
7554 external/sax/org/xml/sax/ext/package.html,
7555 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7556 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7557 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7558 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7559 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7560 external/sax/org/xml/sax/helpers/NewInstance.java,
7561 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7562 external/sax/org/xml/sax/helpers/ParserFactory.java,
7563 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7564 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7565 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7566 external/sax/org/xml/sax/helpers/package.html,
7567 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7568 external/w3c_dom/org/w3c/dom/Attr.java,
7569 external/w3c_dom/org/w3c/dom/CDATASection.java,
7570 external/w3c_dom/org/w3c/dom/CharacterData.java,
7571 external/w3c_dom/org/w3c/dom/Comment.java,
7572 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7573 external/w3c_dom/org/w3c/dom/DOMError.java,
7574 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7575 external/w3c_dom/org/w3c/dom/DOMException.java,
7576 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7577 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7578 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7579 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7580 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7581 external/w3c_dom/org/w3c/dom/Document.java,
7582 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7583 external/w3c_dom/org/w3c/dom/DocumentType.java,
7584 external/w3c_dom/org/w3c/dom/Element.java,
7585 external/w3c_dom/org/w3c/dom/Entity.java,
7586 external/w3c_dom/org/w3c/dom/EntityReference.java,
7587 external/w3c_dom/org/w3c/dom/NameList.java,
7588 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7589 external/w3c_dom/org/w3c/dom/Node.java,
7590 external/w3c_dom/org/w3c/dom/NodeList.java,
7591 external/w3c_dom/org/w3c/dom/Notation.java,
7592 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7593 external/w3c_dom/org/w3c/dom/Text.java,
7594 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7595 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7596 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7597 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7598 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7599 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7600 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7601 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7602 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7603 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7604 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7605 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7606 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7607 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7608 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7609 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7610 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7611 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7612 external/w3c_dom/org/w3c/dom/css/Counter.java,
7613 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7614 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7615 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7616 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7617 external/w3c_dom/org/w3c/dom/css/Rect.java,
7618 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7619 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7620 external/w3c_dom/org/w3c/dom/events/Event.java,
7621 external/w3c_dom/org/w3c/dom/events/EventException.java,
7622 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7623 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7624 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7625 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7626 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7627 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7628 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7629 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7630 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7631 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7632 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7633 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7634 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7635 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7636 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7637 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7638 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7639 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7640 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7641 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7642 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7643 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7644 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7645 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7646 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7647 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7648 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7649 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7650 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7651 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7652 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7653 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7654 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7655 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7656 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7657 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7658 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7659 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7660 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7661 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7662 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7663 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7664 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7665 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7666 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7667 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7668 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7669 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7670 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7671 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7672 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7673 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7674 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7675 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7676 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7677 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7678 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7679 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7680 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7681 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7682 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7683 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7684 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7685 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7686 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7687 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7688 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7689 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7690 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7691 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7692 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7693 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7694 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7695 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7696 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7697 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7698 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7699 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7700 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7701 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7702 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7703 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7704 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7705 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7706 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7707 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7708 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7709 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7710 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7711 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7712 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7713 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7716 2005-01-31 Anthony Green <green@redhat.com>
7718 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7719 Support IP_MULTICAST_LOOP.
7720 (setOption): Support IP_MULTICAST_LOOP.
7722 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7723 SO_REUSEADDR support.
7724 (getOption): Support SO_REUSEADDR.
7726 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7729 * java/util/Date.java
7730 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7732 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7734 (getTimezoneOffset): Inverted sign.
7736 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7738 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7739 remove other passing tests and add new XFAILs.
7741 2005-01-24 Tom Tromey <tromey@redhat.com>
7743 * java/lang/Class.h (next): Updated documentation. Renamed to
7745 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7746 _Jv_CheckABIVersion.
7747 (_Jv_RegisterClasses_Counted): Likewise.
7748 (_Jv_RegisterClassHookDefault): Fix starting condition of
7749 duplicate-checking loop.
7750 * include/jvm.h (GCJ_VERSION): New define.
7751 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7752 (_Jv_CheckABIVersion): New function.
7754 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7756 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7757 (libgij_la_LDFLAGS): Add.
7758 * Makefile.in: Rebuilt.
7760 2005-01-24 Roger Sayle <roger@eyesopen.com>
7763 * testsuite/libjava.compile/PR19295.java: New test case.
7765 2005-01-19 Tom Tromey <tromey@redhat.com>
7767 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7768 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7769 if 'handler' is valid.
7771 2005-01-17 Tom Tromey <tromey@redhat.com>
7773 * java/text/MessageFormat.java (scanString): Changed how quoting
7775 (scanFormatElement): Likewise.
7777 2004-12-07 Mark Wielaard <mark@klomp.org>
7779 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7781 2005-01-15 Michael Koch <konqueror@gmx.de>
7785 (AUTHORITY_REGEXP): New regexp constant.
7786 (AUTHORITY_USERINFO_GROUP): New constant.
7787 (AUTHORITY_HOST_GROUP): Likewise.
7788 (AUTHORITY_PORT_GROUP): Likewise.
7789 (port): Changed default value to -1.
7790 (parseURI): Parse authority part and initialize host,
7793 2005-01-14 Robin Green <greenrd@greenrd.org>
7795 * java/io/File.java (toURI): Generate a URI which we understand.
7797 2005-01-13 Graydon Hoare <graydon@redhat.com>
7799 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7800 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7801 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7802 * jni.cc: Reuse bottom frame between calls, avoid clearing
7803 frame when no local references are made.
7805 2005-01-13 Michael Koch <konqueror@gmx.de>
7808 * java/lang/Thread.java
7809 (Thread): Call checkAccess().
7810 (stop): Fixed argument name to match javadoc.
7811 * java/lang/natThread.cc
7812 (interrupt): Call checkAccess().
7815 2005-01-11 Michael Koch <konqueror@gmx.de>
7818 * java/net/URL.java (URL): Handle specs like
7819 "/redir?http://domain2.com/index.html" which start with a slash.
7821 2005-01-11 Michael Koch <konqueror@gmx.de>
7823 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7824 * gnu/java/net/BASE64.java,
7825 gnu/java/net/EmptyX509TrustManager.java,
7826 gnu/java/net/LineInputStream.java,
7827 gnu/java/net/protocol/http/Authenticator.java,
7828 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7829 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7830 gnu/java/net/protocol/http/ChunkedInputStream.java,
7831 gnu/java/net/protocol/http/Cookie.java,
7832 gnu/java/net/protocol/http/CookieManager.java,
7833 gnu/java/net/protocol/http/Credentials.java,
7834 gnu/java/net/protocol/http/HTTPConnection.java,
7835 gnu/java/net/protocol/http/HTTPDateFormat.java,
7836 gnu/java/net/protocol/http/HTTPURLConnection.java,
7837 gnu/java/net/protocol/http/Headers.java,
7838 gnu/java/net/protocol/http/Request.java,
7839 gnu/java/net/protocol/http/RequestBodyWriter.java,
7840 gnu/java/net/protocol/http/Response.java,
7841 gnu/java/net/protocol/http/ResponseBodyReader.java,
7842 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7843 gnu/java/net/protocol/http/SimpleCookieManager.java,
7844 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7845 gnu/java/net/protocol/http/event/ConnectionListener.java,
7846 gnu/java/net/protocol/http/event/RequestEvent.java,
7847 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7848 * gnu/java/net/protocol/http/Connection.java: Removed.
7849 * gnu/java/net/protocol/http/Handler.java,
7850 javax/net/ssl/HttpsURLConnection.java: Updated.
7851 * Makefile.am: Added new files and remove old ones.
7852 * Makefile.in: Regenerated.
7854 2005-01-11 Tom Tromey <tromey@redhat.com>
7857 * java/io/BufferedInputStream.java (read): Repeatedly read to
7859 (refill): Change test to see if buffer must be grown.
7861 2005-01-10 Tom Tromey <tromey@redhat.com>
7863 * mauve-libgcj: Exclude some swing tests.
7865 2005-01-10 Tom Tromey <tromey@redhat.com>
7867 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7868 * java/lang/Package.java (getPackages): Use VMClassLoader when
7870 (getPackage): Likewise.
7871 * prims.cc (_Jv_CreateJavaVM): Call
7872 _Jv_RegisterBootstrapPackages.
7873 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7874 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7875 (getPackages): Likewise.
7876 (definedPackages): New field.
7877 (definePackageForNative): New method.
7878 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7879 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7880 * defineclass.cc (handleClassBegin): Use
7881 ClassLoader.findLoadedClass.
7882 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7884 (struct _Jv_LoaderInfo): Removed.
7885 (initiated_classes): Likewise.
7886 (_Jv_UnregisterClass): Don't use initiated_classes.
7887 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7888 (_Jv_FindClass): Register classes found during boostrap.
7889 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7890 (bootstrap_class_list): New global.
7891 (bootstrap_index): Likewise.
7892 (_Jv_RegisterBootstrapPackages): New function.
7893 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7894 definePackageForNative.
7895 (findClass): Updated.
7896 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7899 2005-01-10 Tom Tromey <tromey@redhat.com>
7902 * include/jvm.h (_Jv_Linker::find_field): Declare.
7903 (_Jv_Linker::find_field_helper): Likewise.
7904 * link.cc (find_field_helper): New method.
7905 (find_field): Likewise.
7906 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7908 (link_symbol_table): Use find_field.
7910 2005-01-10 Michael Koch <konqueror@gmx.de>
7913 * java/util/Locale.java (Locale): Don't uppercase variant.
7914 (getISOCountries): Fixed typo in javadoc.
7916 2005-01-10 Michael Koch <konqueror@gmx.de>
7918 * java/util/SimpleTimeZone.java (checkRule):
7919 Throw IllegalArgumentException on invalid month values.
7920 * java/util/TimeZone.java (setID):
7921 Throw NullPointerException if needed.
7923 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7925 * java/util/SimpleTimeZone.java (getOffset):
7926 offset end date with daylight savings
7928 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7930 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7931 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7933 2005-01-09 Michael Koch <konqueror@gmx.de>
7936 * java/net/InetAddress.java (getLocalHost):
7937 Throw UnknownHostException if local hostname cannot be determined.
7939 2005-01-06 Tom Tromey <tromey@redhat.com>
7941 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7943 2005-01-07 Michael Koch <konqueror@gmx.de>
7946 * java/nio/Buffer.java (address): New field.
7947 * java/nio/DirectByteBufferImpl.java (address): Removed.
7948 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7949 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7950 Explicitly initialize Buffer.address if needed.
7951 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7952 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7953 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7954 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7955 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7956 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7957 DirectByteBufferImpl object.
7958 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7959 * testsuite/libjava.jni/directbuffer.c,
7960 testsuite/libjava.jni/directbuffer.java,
7961 testsuite/libjava.jni/directbuffer.out,
7962 testsuite/libjava.jni/bytebuffer.c,
7963 testsuite/libjava.jni/bytebuffer.java,
7964 testsuite/libjava.jni/bytebuffer.out: New files.
7966 2005-01-05 Tom Tromey <tromey@redhat.com>
7968 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7970 (compressedSize): Now 'long'. Default to -1.
7971 (getCompressedSize): Rewrote.
7972 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7973 deflate at all if we need input.
7975 2005-01-05 Tom Tromey <tromey@redhat.com>
7978 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7981 2005-01-05 Tom Tromey <tromey@redhat.com>
7983 * java/lang/natRuntime.cc (insertSystemProperties): Set
7984 java.ext.dirs earlier.
7986 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7988 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7989 sync_info element of the object if needed.
7991 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7993 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7994 a non-zero exit status from 'false'.
7996 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7998 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.