1 2005-07-12 Aaron Luchko <aluchko@redhat.com>
3 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
4 shutdown to jdwp instead of connection.
6 2005-07-12 Aaron Luchko <aluchko@redhat.com>
8 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
11 2005-07-08 Colin Walters <walters@verbum.org>
13 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
14 check for abstract classes or interfaces here; JVM spec
15 says it should throw an exception, so we'll do so later.
16 * interpret.cc (run): Throw an InstantiationException for
17 abstract classes and interfaces.
19 2005-07-08 Andrew Haley <aph@redhat.com>
21 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
22 (regular, non-realtime scheduling), not SCHED_RR (realtime,
25 2005-07-07 Aaron Luchko <aluchko@redhat.com>
27 * gnu/classpath/jdwp/util/Signature.java
28 (computeFieldSignature): New Method.
30 2005-07-07 Aaron Luchko <aluchko@redhat.com>
32 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
35 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
37 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
38 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
40 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
42 * testsuite/libjava.compile/PR21045.java: New test.
43 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
44 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
46 2005-07-06 Tom Tromey <tromey@redhat.com>
48 * java/io/InputStreamReader.java (refill): Handle no-progress
50 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
52 2005-07-06 Tom Tromey <tromey@redhat.com>
54 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
56 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
58 * testsuite/libjava.compile/PR19674.java: New test.
60 2005-07-05 Aaron Luchko <aluchko@redhat.com>
62 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
65 2005-07-04 Aaron Luchko <aluchko@redhat.com>
67 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
68 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
69 CommandSets to handle JdwpCommandPackets.
70 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
73 2005-07-01 Tom Tromey <tromey@redhat.com>
75 * libtool-version: Updated.
77 2005-06-30 Aaron Luchko <aluchko@redhat.com>
79 * gnu/classpath/jdwp/util/JdwpString.java: New file.
81 2005-06-30 Keith Seitz <keiths@redhat.com>
83 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
84 (myWrite): New abstract method.
87 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
89 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
91 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
92 JdwpPacket.write instead of JdwpPacket.toBytes.
94 2005-06-30 Keith Seitz <keiths@redhat.com>
96 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
99 (_doStream): New member.
100 (JdwpConnection): Initialize new members.
102 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
104 * all files: Update for new FSF address.
106 2005-06-29 Tom Tromey <tromey@redhat.com>
109 * testsuite/libjava.lang/pr22211.java: New file.
110 * java/lang/natThread.cc (finish_): Synchronize when updating
112 (_Jv_AttachCurrentThread): Likewise.
113 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
114 * java/lang/Thread.java (isAlive): Now synchronized.
116 2005-06-29 Tom Tromey <tromey@redhat.com>
118 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
121 2005-06-28 Robin Green <greenrd@greenrd.org>
124 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
127 2005-06-27 Tom Tromey <tromey@redhat.com>
129 PR java/21540, PR java/13788:
130 * testsuite/libjava.compile/pr21540.java: New file.
131 * testsuite/libjava.compile/pr13788.java: New file.
132 * testsuite/libjava.jacks/jacks.xfail: Updated.
134 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
136 * testsuite/libjava.mauve/xfails: Updated to reflect current state
137 of mauve and libjava.
139 2005-06-24 Tom Tromey <tromey@redhat.com>
141 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
142 where class' name is NULL.
143 (_Jv_FindClass): Don't wait for class state.
144 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
146 * include/java-interp.h (_Jv_DefineClass): Updated.
147 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
148 (struct _Jv_ClassReader): Likewise.
149 (found_name): New field.
150 (handleClassBegin): Set *found_name.
151 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
152 (handleClassBegin): Throw error if super class not set.
153 (read_methods): Correctly call check_tag and prepare_pool_entry.
155 2005-06-24 Tom Tromey <tromey@redhat.com>
157 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
159 2005-06-24 Tom Tromey <tromey@redhat.com>
161 * verify.cc (verify_instructions_0): Correctly handle situation
162 where PC falls off end.
164 2005-06-24 Tom Tromey <tromey@redhat.com>
166 * interpret.cc (compile): Handle case where table entry is
169 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
171 * testsuite/libjava.compile/PR20697.java: New test-case.
173 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
175 * Makefile.am (SUBDIRS): Use append for conditional.
176 (toolexeclib_LTLIBRARIES): Likewise.
177 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
178 a conditional append.
179 * Makefile.in: Regenerate.
181 2005-06-17 Keith Seitz <keiths@redhat.com>
183 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
184 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
185 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
187 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
188 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
190 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
191 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
192 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
193 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
195 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
196 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
198 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
200 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
201 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
202 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
203 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
204 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
205 * Makefile.in: Regenerate.
207 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
209 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
210 (USING_POSIX_PLATFORM): ... here.
211 * Makefile.am: Delete USING_ECOS_PLATFORM.
212 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
213 external/Makefile.in, external/sax/Makefile.in,
214 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
216 2005-06-15 Tom Tromey <tromey@redhat.com>
219 * testsuite/libjava.lang/pr17536.java: New file.
220 * testsuite/libjava.lang/pr17536.out: New file.
222 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
225 * gnu/java/net/protocol/http/HTTPURLConnection.java
226 (getHeaderFieldKey): Check index.
228 2005-06-15 Tom Tromey <tromey@redhat.com>
231 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
233 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
234 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
236 (append_partial_itable): Use it.
237 (set_vtable_entries): Likewise.
239 2005-06-15 Tom Tromey <tromey@redhat.com>
241 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
242 last_was_sep in loop.
244 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
246 * configure.host: Handle Solaris 10/x86.
248 2005-06-14 Keith Seitz <keiths@redhat.com>
250 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
251 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
253 2005-06-14 Keith Seitz <keiths@redhat.com>
255 * gnu/classpath/jdwp/id/ArrayId.java: New file.
256 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
257 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
258 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
259 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
260 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
261 * gnu/classpath/jdwp/id/JdwpId.java: New file.
262 * gnu/classpath/jdwp/id/ObjectId.java: New file.
263 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
264 * gnu/classpath/jdwp/id/StringId.java: New file.
265 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
266 * gnu/classpath/jdwp/id/ThreadId.java: New file.
268 2005-06-14 Tom Tromey <tromey@redhat.com>
271 * configure, aclocal.m4, Makefile.in: Rebuilt.
273 2005-06-14 Tom Tromey <tromey@redhat.com>
275 * java/lang/Class.java (getClasses): New method.
276 (internalGetClasses): Likewise.
277 (getClassLoader): Updated documentation.
278 (getDeclaredClasses): New overload; old overload no longer
280 (_getConstructors): Removed.
281 (resourcePath): Updated.
282 * java/lang/natClass.cc (getClasses): Removed.
283 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
285 (_getConstructors): Removed.
287 2005-06-13 Jim Huang <jserv@kaffe.org>
290 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
291 (_Jv_JNI_NewObject): Likewise.
293 2005-06-13 Tom Tromey <tromey@redhat.com>
296 * testsuite/libjava.lang/pr21844.java: New file.
297 * testsuite/libjava.lang/pr21844.out: New file.
299 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
302 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
305 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
307 * java/text/MessageFormat.java (parse): When parsing strings, check
308 for an empty pattern trailer.
310 2005-06-06 Keith Seitz <keiths@redhat.com>
312 * gnu/classpath/jdwp/util/Signature.java: New file.
313 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
315 2005-06-05 Anthony Green <green@redhat.com>
317 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
320 2005-06-04 Anthony Green <green@redhat.com>
322 * java/net/URLClassLoader.java: import gnu.gcj.Core,
323 and gnu.java.net.protocol.core.CoreInputStream.
324 (CureURLLoader): New class.
325 (CoreResource): New class.
326 (addURLImpl): Add special treatment for the "core" protocol.
327 * gnu/gcj/natCore.cc (find): New method.
328 * gnu/gcj/Core.java (find): New method.
330 2005-06-03 Keith Seitz <keiths@redhat.com>
332 * gnu/classpath/jdwp/transport/ITransport.java: New file.
333 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
334 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
336 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
338 * jawt.c: Remove malloc.h, covered by stdlib.h.
340 * testsuite/libjava.jni/jni.exp
341 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
344 2005-06-02 Keith Seitz <keiths@redhat.com>
346 * gnu/classpath/jdwp/transport/TransportException.java: New file.
348 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
350 * mauve-libgcj: Remove implemented classes from the fail section.
351 Add two new not implemented to it.
353 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
355 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
356 AC_SUBST definition from configure.host.
357 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
358 to -fomit-frame-pointer on 32-bit x86 targets.
360 2005-06-01 Tom Tromey <tromey@redhat.com>
362 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
364 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
367 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
368 (static): Add possessive matching to JAVA_1_4 syntax.
369 * gnu/regexp/RETokenRepeated.java (possessive): New field.
370 (makePossessive, isPossessive): New methods.
371 (match): Don't back off during possessive matching.
372 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
373 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
376 2005-06-01 Keith Seitz <keiths@redhat.com>
378 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
379 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
380 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
382 2005-06-01 Tom Tromey <tromey@redhat.com>
385 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
386 (currentLoader): New method.
387 * java/io/ObjectInputStream.java (resolveProxyClass): Use
389 (currentLoader): Now native.
390 (currentClassLoader): Removed.
391 * testsuite/libjava.lang/pr21785.java: New file.
392 * testsuite/libjava.lang/pr21785.out: New file.
394 2005-06-01 Tom Tromey <tromey@redhat.com>
397 * java/lang/natString.cc (substring): Changed sharing heuristic.
399 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
402 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
403 MAXPATHLEN. Format exception message using a StringBuffer instead.
405 2005-05-29 Michael Koch <konqueror@gmx.de>
408 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
410 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
412 * ChangeLog: Fix typo.
414 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
416 Testsuite adjustments for PR java/19870.
417 * testsuite/libjava.lang/PR19870.java: New testcase.
418 * testsuite/libjava.lang/PR19870.out: Expected output for the
420 * testsuite/libjava.jacks/jacks.xfail: Add
421 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
424 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
426 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
427 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
428 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
430 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
431 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
432 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
433 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
435 2005-05-25 Richard Henderson <rth@redhat.com>
438 * sysdep/descriptor-n.h: New file.
439 * sysdep/descriptor-y.h: New file.
440 * sysdep/powerpc/descriptor.h: New file.
441 * configure.host: Set $descriptor_h appropriate for the host.
442 * configure.ac: Link it.
443 * configure: Regenerate.
444 * stacktrace.cc: Include sysdep/descriptor.h.
445 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
447 2005-05-25 Chris Burdess <dog@gnu.org>
449 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
450 end entity callbacks.
452 2005-05-24 Gary Benson <gbenson@redhat.com>
455 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
456 Handle DateFormat.DEFAULT case correctly.
458 2005-05-21 Tom Tromey <tromey@redhat.com>
461 * java/lang/ref/natReference.cc (find_slot): Handle case where
462 table has no NULL entries.
463 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
464 table has no NULL entries.
466 2005-05-22 Andreas Jaeger <aj@suse.de>
468 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
471 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
473 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
475 2005-05-19 Richard Henderson <rth@redhat.com>
477 * exception.cc: Revert 05-17 gcc_unreachable change.
479 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
481 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
482 _Jv_RegisterInitiatingLoader to register array classes, not
484 (_Jv_RegisterInitiatingLoader): Give up if called very early during
485 bootstrapping. Add a FIXME to handle this case better.
487 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
489 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
491 (libgcj_la_SOURCES): New. Move sources here.
492 (libgcj.la): Remove rule.
494 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
497 * gnu/java/security/provider/DSASignature.java: Import updates
500 2005-05-18 Anthony Green <green@redhat.com>
502 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
503 classpath_jawt_object_unlock, classpath_jawt_create_lock,
504 classpath_jawt_destroy_lock): New functions.
505 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
506 classpath_jawt_object_unlock, classpath_jawt_create_lock,
507 classpath_jawt_destroy_lock): New functions.
508 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
510 * jawt.c: #include malloc.h.
511 (_Jv_Lock): Use lock.
513 (_Jv_GetDrawingSurface): Initialize lock.
514 (_Jv_FreeDrawingSurface): Destroy lock.
515 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
517 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
519 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
520 * Makefile.in: Regenerate.
522 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
524 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
525 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
526 * aclocal.m4, configure, config.h.in, include/config.h.in,
527 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
528 external/Makefile.in, external/sax/Makefile.in,
529 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
531 2005-05-17 David Daney <ddaney@avtrex.com>
534 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
536 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
538 * exception.cc (abort): Remove std::abort hack.
539 (gcc_unreacheable): Define.
541 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
543 * Makefile.am (Makefile.deps): Do not create native.list and
545 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
546 * Makefile.in: Regenerate.
548 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
550 * configure.ac (--enable-libgcj-multifile): Remove.
552 * Makefile.am (all_native_compiled_source_files,
553 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
554 all_libgcj_lo_files, all_xlib_lo_files,
555 all_java_deps_files, all_java_stamp_files,
556 all_java_filelist_files): New variables.
557 (EXTRA_DIST): New Automake variable.
558 (CLEANFILES): Add .stamp, .list and .lo files.
559 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
560 (classes.stamp): Depend on $(all_java_stamp_files).
561 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
562 going through write_entries_to_file.
564 (all_java_source_files, all_property_files): Move earlier.
565 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
566 all_java_class_files): Remove.
567 (gtk_awt_peer_sources): Rename to...
568 (gtk_awt_peer_source_files): ... this. Adjust throughout.
571 (libgcj0_convenience_la_SOURCES): Remove Java source files.
572 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
573 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
574 (libgcj_la_SOURCES): Remove.
575 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
576 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
577 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
579 * configure: Regenerate.
580 * Makefile.in: Regenerate.
581 * external/Makefile.in: Regenerate.
582 * external/sax/Makefile.in: Regenerate.
583 * external/w3c_dom/Makefile.in: Regenerate.
584 * gcj/Makefile.in: Regenerate.
585 * include/Makefile.in: Regenerate.
586 * libltdl/Makefile.in: Regenerate.
587 * testsuite/Makefile.in: Regenerate.
589 2005-05-16 Tom Tromey <tromey@redhat.com>
591 * java/nio/charset/Charset.java (encode, decode): Synchronize on
592 'this', not the class.
594 2005-05-16 Tom Tromey <tromey@redhat.com>
596 * gnu/java/net/protocol/http/Headers.java (parse): Include final
599 2005-05-16 Tom Tromey <tromey@redhat.com>
602 * java/net/URI.java (unquote): Handle lower-case letters as well.
604 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
607 * gnu/regexp/RE.java: Add support for quoting constructs.
609 2005-05-15 Tom Tromey <tromey@redhat.com>
611 * java/lang/String.java (startsWith): Fixed javadoc.
613 2005-05-15 Tom Tromey <tromey@redhat.com>
616 * testsuite/libjava.compile/pr21519.java: New file.
617 * testsuite/libjava.compile/pr21519.no-link: New file.
619 2005-05-15 Tom Tromey <tromey@redhat.com>
621 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
623 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
626 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
627 interrupt status flag if _Jv_CondWait is interrupted.
629 2005-05-13 Tom Tromey <tromey@redhat.com>
631 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
634 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
636 * include/jvm.h (gcj::verifyClasses): Declare.
637 * link.cc (gcj::verbose_class_flag): Moved.
638 * prims.cc (gcj::verifyClasses): Define here.
639 (gcj::verbose_class_flag): Move definition here.
640 (_Jv_Linker::wait_for_state): Don't call verify_class
641 if gcj::verifyClasses is not set.
642 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
644 2005-05-12 Aaron Luchko <aluchko@redhat.com>
646 * gij.cc (main): Recognize '-verify', '-noverify', and
649 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
651 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
653 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
655 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
658 2005-05-11 Tom Tromey <tromey@redhat.com>
660 * external/w3c_dom/Makefile.in: Rebuilt.
661 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
663 * external/sax/Makefile.in: Rebuilt.
664 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
666 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
668 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
669 Call _Jv_CopyClassesToSystemLoader.
670 * java/lang/natClassLoader.cc (system_class_list): New global.
671 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
673 (_Jv_CopyClassesToSystemLoader): New function.
674 (SYSTEM_LOADER_INITIALIZED): New define.
675 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
676 (_Jv_CheckABIVersion): Use it.
677 (_Jv_ClassForBootstrapLoader): New function.
678 * Makefile.in: Rebuilt.
679 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
681 2005-05-10 Tom Tromey <tromey@redhat.com>
683 * gcj/javaprims.h: Updated.
684 * java/lang/String.java (String(StringBuilder)): New constructor.
685 * java/lang/natStringBuilder.cc: New file.
686 * java/lang/StringBuilder.java: New file.
687 * Makefile.in: Rebuilt.
688 * Makefile.am (core_java_source_files): Added StringBuilder.java.
689 (nat_source_files): Added natStringBuilder.cc.
691 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
694 * testsuite/libjava.jacks/jacks.xfail: Adjust.
696 2005-05-09 Mike Stump <mrs@apple.com>
698 * configure: Regenerate.
700 2005-05-09 David Daney <ddaney@avtrex.com>
702 * java/util/BitSet.java (get(int, int)): Fix breakage when
703 requested set doesn't start on a multiple of 64.
705 2005-05-07 Matthias Klose <doko@debian.org>
707 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
709 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
711 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
712 * Makefile.in: Regenerate.
713 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
714 (createCompatibleVolatileImage(int,int)): Implement.
715 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
717 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
719 (createVolatileImage): Implement.
720 (createBuffers): Likewise.
721 (getBackBuffer): Likewise.
723 (destroyBuffers): Likewise.
724 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
725 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
726 (CanvasFlipBufferStrategy): Likewise.
727 (createBufferStrategy(int)): New method.
728 (createBufferStrategy(int,BufferCapabilities)): Likewise.
729 * java/awt/Component.java (BltBufferStrategy): Implement and
731 (FlipBufferStrategy): Likewise.
732 * java/awt/Window.java (WindowBltBufferStrategy): New class.
733 (WindowFlipBufferStrategy): Likewise.
734 (createBufferStrategy(int)): New method.
735 (createBufferStrategy(int,BufferCapabilities)): Likewise.
736 (getBufferStrategy): Likewise.
737 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
738 front to frontCaps and back to backCaps.
740 2005-05-06 Michael Koch <konqueror@gmx.de>
742 * java/awt/BufferCapabilities.java
743 (BufferCapabilities): Merged javadoc.
745 2005-05-06 Michael Koch <konqueror@gmx.de>
747 * java/util/Locale.java
748 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
749 (getLocale): New methods. Use it everywhere where instances of Locales
751 (getDisplayLanguage): Merged javadoc.
752 (getDisplayCountry): Likewise.
753 (getDisplayVariant): Likewise.
755 2005-05-06 Archie Cobbs <archie@dellroad.org>
757 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
758 use DeleteLocalRef() to avoid exhausting local native references.
760 2005-05-06 Mark Wielaard <mark@klomp.org>
762 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
763 (window_delete_cb): Don't use C++ style comments.
765 2005-05-06 Robert Schuster <thebohemian@gmx.net>
767 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
770 2005-05-06 Robert Schuster <thebohemian@gmx.net>
772 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
773 (window_delete_cb): Made the function return TRUE.
775 2005-05-06 Roman Kennke <roman@kennke.org>
777 * javax/swing/text/PlainView.java
778 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
780 * javax/swing/text/Utilities.java
781 (drawTabbedText): Initilialize local variable pos correctly.
783 2005-05-06 Roman Kennke <roman@kennke.org>
785 * javax/swing/text/AbstractDocument.java
786 (LeafElement): Made start and end package private fields for
787 effective reindexing.
788 * javax/swing/text/PlainDocument.java
789 (constructor): The field rootElement is always BranchElement,
790 so we handle it as such.
791 (removeUpdate): Rewritten reindexing for removeUpdate so that
792 the actual removal is taken into account.
794 2005-05-06 Roman Kennke <roman@kennke.org>
796 * javax/swing/text/GapContent.java:
797 Removed debugging output stuff, which I accidentally left in.
799 2005-05-06 Roman Kennke <roman@kennke.org>
801 * javax/swing/text/GapContent.java:
802 Implemented a real GapContent. Only the public methods have
803 been implemented so far and still no UndoableEdit support.
805 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
807 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
810 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
812 * java/awt/image/BufferStrategy.java: Document.
814 * java/awt/BufferCapabilities.java: Document.
816 2005-05-04 Tom Tromey <tromey@redhat.com>
818 * java/nio/channels/FileLock.java (toString): Entirely avoid
821 2005-05-04 Andrew Overholt <overholt@redhat.com>
823 * java/nio/channels/FileLock.java (toString): Re-implement using
826 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
828 * java/awt/ImageCapabilities.java: Document.
830 * java/awt/image/VolatileImage.java: Unindent copyright header.
832 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
834 * java/awt/image/VolatileImage.java: Document.
836 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
838 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
839 (init_glib_threads): Check if threading system is already
842 2005-05-03 Andrew Overholt <overholt@redhat.com>
845 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
846 could not be acquired.
847 * java/nio/channels/FileLock.java (toString): Re-implement to be
848 in line with other implementations.
850 2005-05-03 Tom Tromey <tromey@redhat.com>
852 * java/lang/VMSecurityManager.java (currentClassLoader): Use
853 'systemClasssLoader' directly.
855 2005-05-03 Tom Tromey <tromey@redhat.com>
857 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
858 call VMClassLoader.getSystemClassLoader.
860 2005-04-29 Michael Koch <konqueror@gmx.de>
862 * java/net/NetworkInterface.java
864 (NetworkInterface(String,InetAddress)): Made package-private.
865 (NetworkInterface(String,InetAddress[])): New constructor.
866 (getRealNetworkInterfaces): Removed.
867 (getByName): Use VMNetworkInterface.getInterfaces().
868 (getByInetAddress): Likewise.
869 (getNetworkInterfaces): Likewise.
870 * java/net/VMNetworkInterface.java,
871 java/net/natVMNetworkInterfaceNoNet.cc,
872 java/net/natVMNetworkInterfacePosix.c,c
873 java/net/natVMNetworkInterfaceWin32.cc: New files.
874 * java/net/natNetworkInterfaceNoNet.cc,
875 java/net/natNetworkInterfacePosix.cc,
876 java/net/natNetworkInterfaceWin32.cc: Removed.
879 * configure, Makefile.in: Regenerated.
881 2005-04-29 Andrew Haley <aph@redhat.com>
883 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
885 2005-04-29 Dalibor Topic <robilad@kaffe.org>
887 * java/nio/channels/FileChannelImpl.java
888 (FileChannelImpl(String, int)): Removed.
889 (FileChannelImpl(File, int)): Added. Check if opened file is a
891 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
892 Call FileChannelImpl(File, int).
893 * java/io/FileOutputStream.java (FileInputStream): Call
894 FileChannelImpl(File, int).
895 * java/io/RandomAccessFile.java (RandomAccessFile):
896 Call FileChannelImpl(File, int). Switched constructors around.
898 2005-04-27 Andrew Haley <aph@redhat.com>
901 * prims.cc (_Jv_ResolvePoolEntry): New function.
902 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
903 * link.cc (_Jv_Linker::find_field): New arg: found_class.
904 (resolve_pool_entry): Initialize the class in which a field is
906 (link_symbol_table): Pass new arg to found_class.
908 2005-04-29 Michael Koch <konqueror@gmx.de>
910 * java/nio/charset/Charset.java
911 (provider): Reformatted.
913 2005-04-29 Michael Koch <konqueror@gmx.de>
915 * gnu/java/net/protocol/http/HTTPConnection.java:
916 (userAgent): Initialize from system properties.
917 (initUserAgent): Removed.
919 2005-04-29 Mark Wielaard <mark@klomp.org>
921 * java/util/ResourceBundle.java (getObject): Clarify
922 MissingResourceException detailed message.
923 (tryBundle(String,ClassLoader)): Likewise.
925 2005-04-29 Robert Schuster <thebohemian@gmx.net>
927 * java/beans/FeatureDescriptor.java:
928 (getShortDescription): Implemented fallback mechanism and fixed
929 documentation (fixes bug #12637).
930 (getDisplayName): Dito.
932 2005-04-29 Robert Schuster <thebohemian@gmx.net>
934 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
935 will now be set correctly.
936 (flushCaches): Now flushes all cached intermediate data.
938 2005-04-28 Michael Koch <konqueror@gmx.de>
940 * java/net/InetAddress.java
941 (aton): Fixed javadoc.
944 2005-04-28 Tom Tromey <tromey@redhat.com>
946 * javax/swing/Timer.java
947 (drainEvents, queueEvent): Now package-private.
949 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
951 * javax/swing/Timer.java
952 (constructor): Assigning initialDelay.
954 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
956 * javax/swing/Timer.java
957 (Waker.run): firing the first action event.
959 2005-04-28 Michael Koch <konqueror@gmx.de>
961 * javax/swing/Timer.java: Reordered all fields and methods,
964 2005-04-28 Michael Koch <konqueror@gmx.de>
966 * javax/swing/Timer.java: Javadocs merged
969 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
971 * gnu/java/net/protocol/file/Connection.java
972 (StaticData): New inner class to contain statics.
973 (connect, getHeaderField): Modified to use StaticData.
975 2005-04-28 Michael Koch <konqueror@gmx.de>
977 * gnu/java/net/protocol/file/Connection.java
978 (lineSeparator): Initialize with SystemProperties.getProperty().
980 2005-04-27 Chris Burdess <dog@gnu.org>
982 * gnu/java/net/protocol/file/Connection.java: Return correct content
983 length for directory listing.
984 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
985 #11285: return valid URLs for directories.i
987 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
989 * Makefile.am (ordinary_java_source_files): Add
990 gnu/java/net/protocol/https/Handler.java.
991 * Makefile.in: Regenerate.
992 * java/net/URL.java: Remove org.metastatic.jessie from default
993 protocol search path.
995 2005-04-27 Chris Burdess <dog@gnu.org>
997 * gnu/java/net/protocol/https/Handler.java: New file.
999 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
1001 * javax/imageio/spi/IIORegistry.java (IIORegistry):
1002 Don't assume that awt Toolkit is always ClasspathToolkit.
1004 2005-04-27 Chris Burdess <dog@gnu.org>
1006 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1007 absolute and relative paths in Location header.
1009 2005-04-27 Chris Burdess <dog@gnu.org>
1011 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1012 FileNotFoundException and implement getErrorStream on 404.
1014 2005-04-27 Sven de Marothy <sven@physto.se>
1016 * java/util/TimeZone.java,
1017 (getDefaultDisplayName): Fix previous fix.
1019 2005-04-27 Sven de Marothy <sven@physto.se>
1021 * java/util/TimeZone.java,
1022 (getDefaultDisplayName): Don't print zero offsets.
1024 2005-04-27 Roman Kennke <roman@kennke.org>
1026 * javax/swing/plaf/basic/BasicScrollBarUI
1027 (getThumbBounds): Do not make thumb smaller than
1029 * javax/swing/plaf/metal/MetalLookAndFeel
1030 (initComponentDefaults): Added color defaults for ScrollBar.
1031 * javax/swing/plaf/metal/MetalScrollBarUI
1032 (paintThumb): Added.
1033 (getMinimumThumbSize): Added.
1035 2005-04-27 Roman Kennke <roman@kennke.org>
1037 * javax/swing/plaf/metal/MetalLookAndFeel
1038 (initComponentDefaults): Added some default colors.
1040 2005-04-27 Roman Kennke <roman@kennke.org>
1042 * javax/swing/plaf/basic/BasicScrollBarUI.java
1043 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1044 to 'ScrollBar.thumbShadow'. The formes does not exist.
1045 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1047 2005-04-27 Roman Kennke <roman@kennke.org>
1049 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1050 * javax/swing/BoxLayout.java: Likewise.
1051 * javax/swing/UIManager.java: Likewise.
1052 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1053 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1054 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1055 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1056 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1057 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1058 * javax/swing/text/Document.java: Likewise.
1059 * javax/swing/text/GapContent.java: Likewise.
1060 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1061 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1063 2005-04-27 Roman Kennke <roman@kennke.org>
1065 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1066 (getPropertyPrefix): Added.
1068 2005-04-27 Roman Kennke <roman@kennke.org>
1070 * javax/swing/plaf/basic/BasicButtonUI.java
1071 (getPropertyPrefix): Added.
1072 (installDefaults): Use getPropertyPrefix instead of hard-coded
1075 2005-04-27 Roman Kennke <roman@kennke.org>
1077 * javax/swing/JToggleButton.java
1078 (JToggleButton): Removed horizontalAlignment setting, this
1079 was wrong. Added setting of an actionCommand, ToggleButtons
1080 have "" as default actionCommand.
1082 2005-04-27 Michael Koch <konqueror@gmx.de>
1084 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1085 to work around CNI limitation.
1087 2005-04-27 Sven de Marothy <sven@physto.se>
1089 * java/nio/charset/Charset.java:
1090 (defaultCharset()): New method.
1091 Status updated to 1.5
1093 2005-04-27 Sven de Marothy <sven@physto.se>
1095 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1097 2005-04-27 Sven de Marothy <sven@physto.se>
1099 * java/nio/charset/Charset.java: Reset cached de/encoders.
1101 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1103 * java/nio/charset/Charset.java (forName): Throws
1104 IllegalArgumentException when argument is null
1105 and added documentation.
1107 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1109 * java/nio/charset/Charset.java (providers):
1110 New method to make an array of CharsetProviders defined in
1111 META-INF/services/java.nio.charset.spi.CharsetProvider.
1112 (charsetForName, availableCharsets): Use the
1113 new method providers().
1115 2005-04-26 Michael Koch <konqueror@gmx.de>
1117 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1118 Fixed typos in javadocs.
1119 (isSiteLocalAddress): Fixed handling of byte values.
1120 (isMCLinkLocal): Likewise.
1121 * java/net/Inet4Address.java
1122 (isMulticastAddress): Call super method.
1123 (isLoopbackAddress): Likewise.
1124 (isAnyLocalAddress): Likewise.
1125 (isLinkLocalAddress): Likewise.
1126 (isSiteLocalAddress): Likewise.
1127 (isMCGlobal): Likewise.
1128 (isMCNodeLocal): Likewise.
1129 (isMCLinkLocal): Likewise.
1130 (isMCSiteLocal): Likewise.
1131 (isMCOrgLocal): Likewise.
1132 (getHostAddress): Likewise.
1134 2005-04-26 Sven de Marothy <sven@physto.se>
1136 * java/net/InetAddress.java
1137 (toString): Don't print empty hostnames.
1139 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1142 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1143 'false' to native lock().
1144 (lock): Pass 'true' to native lock().
1146 2005-04-26 Michael Koch <konqueror@gmx.de>
1148 * java/net/InetAddress.java:
1149 Fixed typos in javadocs.
1151 2005-04-26 Andrew Haley <aph@redhat.com>
1154 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1157 2005-04-26 Tom Tromey <tromey@redhat.com>
1159 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1160 gnu): Now package-private.
1161 * javax/swing/text/html/parser/DocumentParser.java (parser,
1162 callBack, gnu): Now package-private.
1163 * javax/swing/text/StringContent.java (content, setOffset,
1164 checkLocation): Now package-private.
1165 * javax/swing/text/JTextComponent.java (doc): Now
1167 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1168 lastGoodOrientation, origParent, borders, cachedBounds,
1169 cachedOrientation, DragWindow): Now package-private.
1170 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1171 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1172 tabAreaRect, contentRect, createIncreaseButton,
1173 createDecreaseButton, findPointForIndex): Now package-private.
1174 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1175 (currentDividerLocation, moveDividerTo): Now package-private.
1176 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1178 * javax/swing/plaf/basic/BasicScrollBarUI.java
1179 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1180 Now package-private.
1181 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1182 (topWindowListener): Now package-private.
1183 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1184 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1185 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1187 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1189 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1190 Now package-private.
1191 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1193 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1194 borderInsets): Now package-private.
1195 (arrowButtonWidth): Likewise. Now a constant.
1196 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1197 makeTabs, updatePreviewPanel): Now package-private.
1198 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1199 darkShadow, highlight): Now package-private.
1200 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1201 (addColorToQueue): Now package-private.
1202 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1203 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1204 GSpinner, BSpinner): Now package-private.
1205 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1206 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1207 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1208 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1209 updateTrack): Now package-private.
1210 * javax/swing/TransferHandler.java (clipboard): Now
1212 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1214 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1216 * javax/swing/RepaintManager.java (globalManager): Now
1218 * javax/swing/JFormattedTextField.java (editValid): Now
1220 * javax/swing/JColorChooser.java (makeModal): Now
1222 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1223 index, path): Now package-private.
1224 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1225 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1226 pointEquals): Now package-private.
1227 * java/awt/geom/Arc2D.java (type): Now package-private.
1228 * java/awt/Window.java (windowFocusOwner): Now package-private.
1229 * java/awt/TextComponent.java (editable, selectionStart,
1230 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1232 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1234 * java/awt/MenuComponent.java (focusListener): Now
1236 * java/awt/Frame.java (state): Now package-private.
1237 * java/awt/Choice.java (pItems): Now package-private.
1238 * java/awt/Checkbox.java (state): Now package-private.
1239 * java/awt/Button.java (actionCommand, label): Now
1241 * gnu/javax/swing/text/html/parser/support/Parser.java
1242 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1244 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1246 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1247 clip, transform, font, comp): Now package-private.
1249 2005-04-26 Tom Tromey <tromey@redhat.com>
1251 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1254 2005-04-26 Mark Wielaard <mark@klomp.org>
1256 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1257 to MalformedURLException.
1259 2005-04-26 Michael Koch <konqueror@gmx.de>
1261 * java/security/AccessControlContext.java:
1263 (protectedDomains): Renamed from 'protectionDomain'.
1264 * java/security/AccessController.java:
1267 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1269 * gnu/java/security/action/GetSecurityPropertyAction.java
1270 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1271 of extending GetPropertyAction.
1274 (setParamters): New methods.
1275 (GetSecurityPropertyAction): Use new setParameters methods.
1277 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1279 * java/security/Security.java,
1280 java/security/cert/X509CRLSelector.java,
1281 java/security/cert/X509CertSelector.java:
1282 Modified to use SystemProperties.
1284 2005-04-26 Michael Koch <konqueror@gmx.de>
1286 * java/lang/System.java
1287 (setSecurityManager): Fixed comment.
1288 (getSecurityManager): Removed obsolete comment.
1290 2005-04-25 Tom Tromey <tromey@redhat.com>
1292 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1294 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1297 (connectSignals): Realize the window widget after connecting
1300 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1302 * java/awt/GraphicsEnvironment.java
1303 (localGraphicsEnvironment): New field.
1304 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1306 (isHeadless): Added support for java.awt.headless property.
1307 (isHeadlessInstance): Call headless().
1309 2005-04-25 Roman Kennke <roman@kennke.org>
1311 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1312 (getDisplayMode): Added. Returns the current display mode.
1313 (isFullScreenSupported): Added.
1314 * java/awt/GraphicsDevice.java
1315 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1316 This resizes and relocates the fullscreen window so that it uses
1317 the whole screen. This is not a fully accelerated fullscreen
1320 2005-04-25 Michael Koch <konqueror@gmx.de>
1322 * java/lang/Runtime.java,
1323 java/lang/SecurityManager.java,
1324 java/lang/System.java,
1325 java/lang/ThreadGroup.java:
1326 Replaced java.lang.Runtime.securityManager by
1327 java.lang.SecurityManager.current (as used in GNU classpath).
1329 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1331 * java/awt/Transparency.java
1332 (getTransparency): fixed API docs.
1334 2005-04-25 Archie Cobbs <archie@dellroad.org>
1336 * java/lang/Throwable.java: simplify initializing cause in constructor
1338 2005-04-25 Michael Koch <konqueror@gmx.de>
1340 * gnu/classpath/SystemProperties.java: New file.
1341 * gnu/classpath/natSystemProperties.cc: New file.
1342 * java/lang/Runtime.java
1343 (defaultProperties): Removed.
1345 (): Made thrown exceptions more verbose.
1346 (insertSystemProperties): Removed.
1347 * java/lang/System.java
1349 (properties): Likewise.
1350 (setSecurityManager): Reordered modifiers.
1351 (getenv): Improved javadoc.
1353 (isWordsBigEndian): Removed.
1354 * java/lang/natRuntime.cc
1355 (_Jv_SetDLLSearchPath): Likewise.
1356 (file_encoding): Likewise.
1357 (default_file_encoding): Likewise.
1358 (getpwuid_adaptor): Likewise.
1359 (insertSystemProperties): Likewise.
1360 * java/lang/natSystem.cc
1361 (isWordsBigEndian): Likewise.
1363 (ordinary_java_source_files):
1364 Added gnu/classpath/SystemProperties.java.
1365 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1366 * Makefile.in: Regenerated.
1368 2005-04-25 Roman Kennke <roman@kennke.org>
1370 * javax/swing/plaf/basic/BasicScrollBarUI.java
1371 (initDefaults): Initialize thumb*Color fields correctly.
1373 2005-04-25 Roman Kennke <roman@kennke.org>
1375 * javax/swing/text/GapContent.java:
1378 2005-04-25 Roman Kennke <roman@kennke.org>
1380 * javax/swing/plaf/metal/MetalBorders.java:
1381 Added inner class ScrollPaneBorder.
1382 * javax/swing/plaf/metal/MetalLookAndFeel.java
1383 (initComponentDefaults): Added default for "ScrollPane.border"
1384 to use the new ScrollPaneBorder.
1386 2005-04-25 Roman Kennke <roman@kennke.org>
1388 * javax/swing/text/AbstractDocument.java:
1389 Added FIXME comments. This class still has to be
1390 implemented thread-safe.
1392 2005-04-25 Roman Kennke <roman@kennke.org>
1394 * javax/swing/tree/DefaultTreeSelectionModel.java
1395 (DefaultTreeSelectionModel): Initialize listenerList here.
1397 2005-04-25 Roman Kennke <roman@kennke.org>
1399 * javax/swing/plaf/metal/MetalTextFieldUI.java
1400 (createUI): Return one instance per Component instead of a
1403 2005-04-25 Roman Kennke <roman@kennke.org>
1405 * javax/swing/text/Document.java:
1406 Added API documentation comments.
1408 2005-04-25 Roman Kennke <roman@kennke.org>
1410 * javax/swing/text/AbstractDocument.java
1411 (getDocumentProperties): Implemented.
1412 (setDocumentProperties): Implemented.
1413 (getProperty): Implemented.
1414 (putProperty): Implemented.
1416 2005-04-25 Roman Kennke <roman@kennke.org>
1418 * javax/swing/BoxLayout
1419 (preferredLayoutSize): Fixed computation so that it correctly
1420 adds the top and bottom insets of the container.
1422 2005-04-25 Roman Kennke <roman@kennke.org>
1424 * javax/swing/plaf/basic/BasicMenuItemUI.java
1425 (paintText): Make use of the 'selectionForeground' UI default
1428 2005-04-25 Roman Kennke <roman@kennke.org>
1430 * javax/swing/plaf/basic/BasicLookAndFeel.java
1431 (initSystemColorDefaults): Modified colors to match the
1432 BasicLookAndFeel in the reference implementation.
1433 (initComponentDefaults): Likewise.
1435 2005-04-25 Tom Tromey <tromey@redhat.com>
1437 * include/jni.h (_Jv_va_list): Removed.
1438 Moved configuration code...
1439 * include/jni_md.h: ... here. New file.
1440 * include/Makefile.in: Rebuilt.
1441 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1443 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1445 * java/io/FileInputStream.java (FileInputStream(File)),
1446 java/io/FileOutputStream.java (FileOutputStream(File)):
1447 Removed unnecessary File.isDirectory() check.
1449 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1451 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1452 gij if get_multilibs fails.
1454 2005-04-22 Anthony Green <green@redhat.com>
1456 * jni.cc (natrehash): Don't bother clearing memory again.
1457 * interpret.cc (do_allocate_static_fields): Ditto.
1458 * java/lang/natString.cc (rehash): Ditto.
1460 2005-04-22 Roman Kennke <roman@kennke.org>
1462 * javax/swing/plaf/basic/BasicLookAndFeel.java
1463 (initComponentDefaults): Changed Button.border to be
1464 BasicBorders.getButtonBorder as it should be.
1466 2005-04-22 Roman Kennke <roman@kennke.org>
1468 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1469 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1470 should according to a mauve testcase, instead of the preferred
1473 2005-04-22 Roman Kennke <roman@kennke.org>
1475 * javax/swing/JMenu.java
1476 (add): add(Component) now calls PopupMenu.insert(..) instead of
1477 PopupMenu.add(..). add(..) is not implemented for Component,
1478 so JComponent.add(..) is called instead, adding the component
1481 2005-04-22 Roman Kennke <roman@kennke.org>
1483 * javax/swing/plaf/basic/BasicButtonListener.java
1484 (mousePressed): replaced query to getModifiersEx with getModifiers.
1485 This method relied on faulty behaviour in getModifierEx.
1486 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1487 This method relied on faulty behaviour in getModifierEx.
1489 2005-04-22 Roman Kennke <roman@kennke.org>
1491 * javax/swing/plaf/metal/MetalLookAndFeel.java
1492 (getDefaults): Call addCustomEntriesToTable on the theme.
1494 2005-04-22 Roman Kennke <roman@kennke.org>
1496 * javax/swing/tree/DefaultTreeSelectionModel.java
1497 (constructor): Added implementation.
1498 (getRowMapper): Added implementation.
1499 (setSelectionMode): Added implementation.
1500 (getSelectionMode): Added implementation.
1501 (getSelectionPath): Added implementation.
1502 (getSelectionPaths): Added implementation.
1503 (getSelectionCount): Added implementation.
1504 (isSelectionEmpty): Added implementation.
1505 (getSelectionRows): Added implementation.
1506 (getMinSelectionRow): Added implementation.
1507 (getMaxSelectionRow): Added implementation.
1508 (getLeadSelectionRow): Added implementation.
1509 (getLeadSelectionPath): Added implementation.
1511 2005-04-22 Casey Marshall <csm@gnu.org>
1513 * gnu/java/security/der/DERValue.java
1514 (getValueAs): new method.
1515 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1516 (<init>): read both dates with 'DERValue.getValueAs', with
1517 'GENERALIZED_TIME' as the argument.
1519 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1521 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1522 be null, check for that case and don't deference it.
1524 2005-04-22 Sven de Marothy <sven@physto.se>
1526 * java/util/logging/LogManager.java: Reformatted.
1527 (readConfiguration): If a logger for a key is not found, create one.
1529 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1531 * java/rmi/Naming.java:
1532 Added class documentation.
1533 (lookup(String)): Call parseURL and getName.
1534 (bind(String,java.rmi.Remote)): Likewise.
1535 (unbind(String)): Likewise.
1536 (rebind(String, java.rmi.Remote)): Likewise.
1537 (list(String)): Call parseURL.
1538 (parseURL(String)): New method to handle parsing and defaults.
1539 (getName(java.net.URL)): New method to handle finding the service name.
1541 2005-04-21 Tom Tromey <tromey@redhat.com>
1543 * java/lang/natClass.cc (initializeClass): Link class.
1545 2005-04-21 Tom Tromey <tromey@redhat.com>
1547 * java/lang/AssertionError.java: Typo fix.
1549 2005-04-21 Tom Tromey <tromey@redhat.com>
1551 * java/lang/VMClassLoader.java (transformException): Removed.
1552 (resolveClass): No longer native. Now does nothing.
1553 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1555 2005-04-21 Anthony Green <green@redhat.com>
1558 * testsuite/libjava.special/special.exp,
1559 testsuite/libjava.special/pr21115I.java,
1560 testsuite/libjava.special/pr21115.java,
1561 testsuite/libjava.special/pr21115.out: New files.
1563 2005-04-21 Chris Burdess <dog@gnu.org>
1565 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1566 CRLF-delimited chunks.
1568 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1570 * java/net/URI.java:
1571 Added class documentation.
1572 (parseURI(String)): Only handle scheme-specific parts
1573 if URI is not opaque. Allow for parts that can't be null.
1574 (toString()): Output the scheme-specific part whole, rather
1575 than as its possibly non-existent components.
1577 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1579 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1580 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1581 Adjusted to match new regexp.
1583 2005-04-20 Michael Koch <konqueror@gmx.de>
1585 * gnu/java/net/protocol/file/Connection.java,
1586 gnu/java/net/protocol/jar/Connection.java:
1587 Reorganized import statements. Fixed @author tags.
1589 2005-04-20 Chris Burdess <dog@gnu.org>
1591 * java/io/DataOutputStream.java (writeUTF): Use block write for
1594 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1596 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1597 (readLine): Changed newline handling.
1599 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1601 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1602 ColorModel,byte[],int,int): Fixed byte to int conversion.
1604 2005-04-20 Michael Koch <konqueror@gmx.de>
1606 * java/io/FilePermission.java
1607 (serialVersionUID): Made private.
1608 (ALL_FILES): New constant.
1609 (implies): Handle '<<ALL FILES>>' case.
1611 2005-04-20 Sven de Marothy <sven@physto.se>
1613 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1614 (drawImage): Don't notify the image observer for offscreen images.
1615 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1616 (setPixels): Don't notify the image observer.
1618 2005-04-20 Sven de Marothy <sven@physto.se>
1620 * java/nio/ByteBufferImpl.java:
1621 (putChar): Inlined for speed.
1622 (put, get): Bulk methods can use arraycopy.
1623 * java/nio/CharBufferImpl.java:
1624 (put, get): Bulk methods can use arraycopy.
1626 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1628 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1630 * java/nio/CharBufferImpl.java
1631 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1632 (get(), put(char)): Inlined checks and field updates. Fixed to
1633 take array_offset into account.
1634 (get(int), put(int, char)): Fixed to take array_offset into account.
1636 2005-04-20 Sven de Marothy <sven@physto.se>
1638 * java/text/SimpleDateFormat.java:
1639 (formatWithAttribute): Pad year before truncating digits.
1641 2005-04-20 Michael Koch <konqueror@gmx.de>
1643 * gnu/java/net/PlainDatagramSocketImpl.java:
1644 Merged copyright header.
1645 * gnu/java/net/PlainSocketImpl.java:
1646 Reorganized import statements. Fixed @author tags.
1648 2005-04-20 Michael Koch <konqueror@gmx.de>
1650 * gnu/java/lang/ClassHelper.java,
1651 gnu/java/lang/reflect/TypeSignature.java:
1654 2005-04-20 Michael Koch <konqueror@gmx.de>
1656 * gnu/java/beans/IntrospectionIncubator.java:
1657 Fixed HTML tags in javadocs.
1659 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1661 * gnu/java/beans/IntrospectionIncubator.java
1662 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1663 set(), is(), add() and remove() with properties or events.
1665 2005-04-20 Michael Koch <konqueror@gmx.de>
1667 * gnu/java/awt/image/XBMDecoder.java:
1668 Fixed modifier order.
1670 2005-04-20 Roman Kennke <roman@kennke.org>
1672 * javax/swing/plaf/basic/BasicButtonUI.java
1673 (paint): This should not care about margin and insets
1674 at the same time, as insets already include the margin
1676 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1677 (getPreferredButtonSize): Likewise.
1678 * javax/swing/plaf/metal/MetalBorders.java
1679 (getBorderInsets): Likewise.
1681 2005-04-20 Roman Kennke <roman@kennke.org>
1683 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1684 (createMessageArea): The JPanel that holds the message area
1685 doesn't need to override getPreferredSize. This prevents some
1686 message components from rendering nicely.
1688 2005-04-20 Roman Kennke <roman@kennke.org>
1690 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1691 (createUI): Do not share instances between components.
1692 * javax/swing/plaf/metal/MetalSliderUI.java
1693 (createUI): Do not share instances between components.
1695 2005-04-20 Roman Kennke <roman@kennke.org>
1697 * javax/swing/plaf/metal/MetalBorders:
1698 (PopupMenuBorder): Added.
1699 * javax/swing/plaf/metal/MetalLookAndFeel
1700 (initComponentDefaults): Added PopupMenuBorder.
1702 2005-04-20 Roman Kennke <roman@kennke.org>
1704 * javax/swing/tree/DefaultTreeSelectionModel.java:
1705 Added API documentation all over the class.
1707 2005-04-20 Roman Kennke <roman@kennke.org>
1709 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1710 (installDefaults): Link managed JScrollPane in instance field.
1711 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1713 2005-04-20 Roman Kennke <roman@kennke.org>
1715 * javax/swing/plaf/basic/BasicScrollBarUI.java
1716 (PropertyChangeHandler.propertyChange): Add default
1717 to switch statement to avoid errors with unusual values
1719 (installComponents): Likewise.
1721 2005-04-20 Roman Kennke <roman@kennke.org>
1723 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1724 (createUI): Instances cannot be shared among JScrollPanes.
1726 2005-04-20 Roman Kennke <roman@kennke.org>
1728 * javax/swing/plaf/metal/MetalLookAndFeel.java
1729 (initComponentDefaults): Added defaults for Menu, MenuBar
1732 2005-04-20 Roman Kennke <roman@kennke.org>
1734 * javax/swing/plaf/basic/BasicScrollBarUI.java
1735 (installUI): Install listeners after everything all, otherwise
1736 we get strange NPEs in some situations, especially with
1738 (createIncreaseButton): Orientation is expected to be
1739 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1740 HORIZONTAL or VERTICAL.
1741 (createDecreaseButton): Orientation is expected to be
1742 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1743 HORIZONTAL or VERTICAL.
1744 (installComponents): Orientation for buttons is expected to be
1745 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1746 HORIZONTAL or VERTICAL.
1748 2005-04-20 Roman Kennke <roman@kennke.org>
1750 * javax/swing/JToolBar.java
1751 (addImpl): Adjust added AbstractButtons to look and feel like
1753 * javax/swing/plaf/metal/MetalBorders.java:
1754 Adjusted insets of ButtonBorder.
1755 (RolloverMarginBorder): Added class for toolbar buttons.
1756 (getButtonBorder): Adjusted factory method to return a shared
1757 instance of button border.
1758 (getToolbarButtonBorder): Added factory method to return a shared
1759 instance of toolbar button border.
1760 (getMarginBorder): Added factory method to return a shared
1761 instance of margin border.
1762 * javax/swing/plaf/metal/MetalButtonUI.java
1763 (installDefauls): If button is child of a JToolBar then set
1764 special border on this button.
1766 2005-04-20 Michael Koch <konqueror@gmx.de>
1768 * java/net/URLConnection.java
1769 (getContent): Fixed javadoc comment.
1771 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1773 * java/net/URL.java:
1774 (toURI()): Implemented.
1776 2005-04-19 Michael Koch <konqueror@gmx.de>
1778 * java/net/InetAddress.java
1779 (InetAddress): Fixed javadoc comment.
1781 (lookup): Added javadoc.
1782 (getFamily): Likewise.
1783 * java/net/ServerSocket.java
1784 (getChannel): Improved javadoc comment.
1786 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1788 * gnu/xml/dom/html2/DomHTMLParser.java:
1789 Changed 'enum' references to become 'enumeration'.
1791 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1793 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1795 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1797 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1798 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1799 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1800 (validateParameters(TagElement,htmlAttributeSet)):
1801 Replaced 'enum' with 'enumeration'.
1802 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1805 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1807 * javax/swing/text/html/parser/Entity.java (getType): New method.
1808 * javax/swing/text/html/parser/DocumentParser.java:
1809 Inherit from javax.swing.text.html.parser.Parser.
1811 2005-04-19 Chris Burdess <dog@gnu.org>
1813 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1814 check for HTML/XHTML namespace.
1816 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1818 * javax/swing/text/html/parser/Parser.java,
1819 javax/swing/text/html/parser/Entity.java:
1820 Inheriting from DTDConstants.
1821 * javax/swing/text/html/parser/AttributeList.java
1822 (getValues): Changed return type.
1823 * javax/swing/text/html/parser/DocumentParser
1824 (parse): Adding the callback parameter that receives
1827 2005-04-19 Chris Burdess <dog@gnu.org>
1829 * gnu/xml/dom/DomImpl.java,
1830 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1831 gnu/xml/dom/html2/DomHTMLDocument.java,
1832 gnu/xml/dom/html2/DomHTMLElement.java,
1833 gnu/xml/dom/html2/DomHTMLFormElement.java,
1834 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1835 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1836 gnu/xml/dom/html2/DomHTMLImpl.java,
1837 gnu/xml/dom/html2/DomHTMLInputElement.java,
1838 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1839 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1840 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1841 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1842 gnu/xml/dom/html2/DomHTMLTableElement.java,
1843 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1844 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1845 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1846 UI events, and tree utility functions.
1848 2005-04-19 Michael Koch <konqueror@gmx.de>
1850 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1851 gnu/javax/swing/text/html/parser/gnuDTD.java,
1852 gnu/javax/swing/text/html/parser/models/node.java:
1853 Reworked import statements.
1855 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1857 * javax/swing/text/html/HTMLDocument.java: New file.
1859 2005-04-19 Michael Koch <konqueror@gmx.de>
1861 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1863 * javax/swing/text/html/parser/AttributeList.java:
1864 Fixed order of modifiers.
1865 (AttributeList): Made final.
1866 * javax/swing/text/html/parser/ContentModel.java:
1867 Fixed html characters in javadocs.
1868 * javax/swing/text/html/parser/DTD.java
1869 (DTD): Don't implement java.io.Serializable directly.
1870 (getElement): Simplified.
1871 * javax/swing/text/html/parser/DTDConstants.java:
1873 * javax/swing/text/html/parser/Element.java:
1874 Fixed order of modifiers.
1875 * javax/swing/text/html/parser/Parser.java:
1876 Reformatted. Don't use fully-qualified class names.
1877 * javax/swing/text/html/parser/ParserDelegator.java:
1878 Fixed order of modifiers.
1879 * javax/swing/text/rtf/RTFParser.java:
1880 Re-ordered import statements.
1881 * javax/swing/text/rtf/RTFScanner.java:
1882 Removed unused import statement.
1884 2005-04-19 Chris Burdess <dog@gnu.org>
1886 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1887 gnu/xml/dom/html2/DomHTMLCollection.java,
1888 gnu/xml/dom/html2/DomHTMLDocument.java,
1889 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1891 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1892 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1893 gnu/xml/dom/html2/DomHTMLDivElement.java,
1894 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1895 gnu/xml/dom/html2/DomHTMLFontElement.java,
1896 gnu/xml/dom/html2/DomHTMLFormElement.java,
1897 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1898 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1899 gnu/xml/dom/html2/DomHTMLHRElement.java,
1900 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1901 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1902 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1903 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1904 gnu/xml/dom/html2/DomHTMLImageElement.java,
1905 gnu/xml/dom/html2/DomHTMLInputElement.java,
1906 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1907 gnu/xml/dom/html2/DomHTMLLIElement.java,
1908 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1909 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1910 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1911 gnu/xml/dom/html2/DomHTMLMapElement.java,
1912 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1913 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1914 gnu/xml/dom/html2/DomHTMLModElement.java,
1915 gnu/xml/dom/html2/DomHTMLOListElement.java,
1916 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1917 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1918 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1919 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1920 gnu/xml/dom/html2/DomHTMLParamElement.java,
1921 gnu/xml/dom/html2/DomHTMLPreElement.java,
1922 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1923 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1924 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1925 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1926 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1927 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1928 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1929 gnu/xml/dom/html2/DomHTMLTableElement.java,
1930 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1931 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1932 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1933 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1934 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1936 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1938 * javax/swing/text/ChangedCharSetException.java,
1939 javax/swing/text/html/HTMLEditorKit.java,
1940 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1941 javax/swing/text/html/parser/AttributeList.java,
1942 javax/swing/text/html/parser/ContentModel.java,
1943 javax/swing/text/html/parser/DocumentParser.java,
1944 javax/swing/text/html/parser/DTD.java,
1945 javax/swing/text/html/parser/DTDConstants.java,
1946 javax/swing/text/html/parser/Element.java,
1947 javax/swing/text/html/parser/Entity.java,
1948 javax/swing/text/html/parser/Parser.java,
1949 javax/swing/text/html/parser/TagElement.java,
1950 gnu/javax/swing/text/html/package.html,
1951 gnu/javax/swing/text/html/parser/gnuDTD.java,
1952 gnu/javax/swing/text/html/parser/HTML_401F.java,
1953 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1954 gnu/javax/swing/text/html/parser/htmlValidator.java,
1955 gnu/javax/swing/text/html/parser/package.html,
1956 gnu/javax/swing/text/html/parser/models/list.java,
1957 gnu/javax/swing/text/html/parser/models/node.java,
1958 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1959 gnu/javax/swing/text/html/parser/models/package.html,
1960 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1961 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1962 gnu/javax/swing/text/html/parser/models/transformer.java,
1963 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1964 gnu/javax/swing/text/html/parser/support/package.html,
1965 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1966 gnu/javax/swing/text/html/parser/support/Parser.java,
1967 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1968 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1969 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1970 gnu/javax/swing/text/html/parser/support/low/Location.java,
1971 gnu/javax/swing/text/html/parser/support/low/node.java,
1972 gnu/javax/swing/text/html/parser/support/low/package.html,
1973 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1974 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1975 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1976 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1978 * javax/swing/text/html/HTML.java,
1979 javax/swing/text/html/parser/ParserDelegator.java:
1980 New files (replacing).
1981 * javax/swing/text/html/package.html,
1982 javax/swing/text/html/parser/package.html: Documenting the
1985 2005-04-19 Chris Burdess <dog@gnu.org>
1987 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1988 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1989 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1990 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1991 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1992 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1993 gnu/xml/dom/html2/DomHTMLBRElement.java,
1994 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1995 gnu/xml/dom/html2/DomHTMLCollection.java,
1996 gnu/xml/dom/html2/DomHTMLDocument.java,
1997 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1999 2005-04-19 Michael Koch <konqueror@gmx.de>
2001 * Makefile.am: Added new files.
2002 * Makefile.in: Regenerated.
2004 2005-04-19 Roman Kennke <roman@kennke.org>
2006 * javax/swing/text/JTextComponent.java
2007 (JTextComponent): Added repaintListener which issues repaint
2008 requests when the underlying document changes.
2009 (setDocument): Adds repaintListener to document when the
2010 document is changed.
2011 * javax/swing/text/DefaultEditorKit.java:
2012 Removed repaint calls on JTextComponent. This is now handled
2013 through a DocumentListener in JTextComponent that repaints
2014 the component when needed.
2016 2005-04-19 Roman Kennke <roman@kennke.org>
2019 * javax/swing/text/StyleContext.java
2020 (NamedStyle.setResolveParent): Added null
2023 2005-04-19 Michael Koch <konqueror@gmx.de>
2025 * java/rmi/server/RemoteObject.java:
2026 Removed unused import statement.
2028 2005-04-19 Michael Koch <konqueror@gmx.de>
2030 * java/net/URL.java: Formatting cleanups.
2032 2005-04-19 Michael Koch <konqueror@gmx.de>
2034 * java/awt/FontMetrics.java: Reformatted.
2035 (getFontRenderContext): Handle case when java.awt.Graphics context is
2038 2005-04-19 Michael Koch <konqueror@gmx.de>
2040 * java/awt/FontMetrics.java
2041 (getStringBounds): New methods.
2044 2005-04-19 Michael Koch <konqueror@gmx.de>
2046 * gnu/java/security/x509/X509Certificate.java
2047 (parse): Handle val == null case.
2049 2005-04-19 Roman Kennke <roman@kennke.org>
2051 * javax/swing/plaf/metal/MetalLookAndFeel.java
2052 (initComponentDefaults): Added defaults for Menu, MenuBar
2055 2005-04-19 Roman Kennke <roman@kennke.org>
2057 * javax/swing/plaf/metal/MetalLookAndFeel.java
2058 (initComponentDefaults): Added Label.font.
2059 (initSystemColorDefaults): Added this method and adjusted the
2060 general control color.
2062 2005-04-19 Roman Kennke <roman@kennke.org>
2064 * javax/swing/plaf/metal/MetalBorders.java:
2066 * javax/swing/plaf/metal/MetalButtonUI.java:
2067 (installDefaults): Install button font.
2068 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2069 (initComponentDefaults): Added button border, font and margin.
2070 Changed components background color to the Metal current themes
2073 2005-04-19 Roman Kennke <roman@kennke.org>
2075 * javax/swing/plaf/metal/MetalLookAndFeel.java
2076 (initComponentDefaults): Added to set Metal specific component
2079 2005-04-19 Mark Wielaard <mark@klomp.org>
2081 * javax/swing/plaf/metal/MetalLookAndFeel.java
2082 (initClassDefaults): Call super.initClassDefaults().
2084 2005-04-19 Roman Kennke <roman@kennke.org>
2086 * javax/swing/plaf/metal/MetalLookAndFeel.java
2087 (initClassDefaults): Added to include the *UI classes.
2089 2005-04-19 Roman Kennke <roman@kennke.org>
2091 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2093 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2095 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2097 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2099 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2101 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2103 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2105 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2107 * javax/swing/plaf/metal/MetalSliderUI.java:
2109 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2111 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2113 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2115 2005-04-19 Roman Kennke <roman@kennke.org>
2117 * javax/swing/plaf/metal/MetalButtonUI.java:
2118 Added skeleton class.
2119 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2120 Added skeleton class.
2121 * javax/swing/plaf/metal/MetalLabelUI.java:
2122 Added skeleton class.
2123 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2124 Added skeleton class.
2125 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2126 Added skeleton class.
2127 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2128 Added skeleton class.
2130 2005-04-19 Roman Kennke <roman@kennke.org>
2132 * javax/swing/UIDefaults.java:
2133 Added API documentation for all methods.
2135 2005-04-19 Roman Kennke <roman@kennke.org>
2137 * javax/swing/UIDefaults.java
2138 (put): Now uses new checkAndPut method instead of checking
2140 (putDefaults): Fixed so that it accepts null-values and
2141 treats them like remove(key).
2142 (checkAndPut): Added. This checks for null-values and calls
2145 2005-04-19 Michael Koch <konqueror@gmx.de>
2147 * Makefile.am: Added new files.
2148 * Makefile.in: Regenerated.
2150 2005-04-19 Mark Wielaard <mark@klomp.org>
2152 * java/lang/natRuntime.cc (insertSystemProperties): Set
2153 java.class.path to CLASSPATH only when not empty. Fall back to
2154 default path "." when java.class.path is empty.
2156 2005-04-19 Michael Koch <konqueror@gmx.de>
2158 * javax/swing/text/rtf/ControlWordToken.java,
2159 javax/swing/text/rtf/RTFEditorKit.java,
2160 javax/swing/text/rtf/RTFParseException.java,
2161 javax/swing/text/rtf/RTFParser.java,
2162 javax/swing/text/rtf/RTFScanner.java,
2163 javax/swing/text/rtf/TextToken.java,
2164 javax/swing/text/rtf/Token.java: New files.
2165 * Makefile.am: Added new files.
2166 * Makefile.in: Regenerated.
2168 2005-04-19 Michael Koch <konqueror@gmx.de>
2170 * java/awt/geom/QuadCurve2D.java:
2171 Fixed Brian Gough's name for real.
2173 2005-04-19 Roman Kennke <roman@kennke.org>
2175 * javax/swing/UIManager.java:
2176 Make the UIManager respect the swing.defaultlaf system
2179 2005-04-19 Tom Tromey <tromey@redhat.com>
2181 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2184 2005-04-19 Roman Kennke <roman@kennke.org>
2186 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2187 Fixed tabs to spaces.
2189 2005-04-19 Roman Kennke <roman@kennke.org>
2191 * javax/swing/plaf/basic/BasicMenuUI.java
2192 (getMaximumSize): Now returns preferredSize because JMenu should
2193 never be bigger than that.
2194 * javax/swing/JRootPane
2195 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2197 2005-04-19 Roman Kennke <roman@kennke.org>
2199 * javax/swing/JRootPane.java:
2200 Fixed various tabs to be spaces.
2201 (RootLayout.layoutContainer): Made menubar left aligned.
2203 2005-04-19 Roman Kennke <roman@ontographics.com>
2205 * javax/swing/JList.java
2206 (getPreferredScrollableViewportSize):
2207 The previous implementation was merely guessing the size,
2208 now it respects layoutOrientation, visibleRowCount
2210 (getScrollableTracksViewportHeight):
2211 Reimplemented so that layoutOrientation, visibleRowCount
2212 and preferred size are respected.
2213 (getScrollableTracksViewportWidth):
2214 Reimplemented so that layoutOrientation, visibleRowCount
2215 and preferred size are respected.
2216 * javax/swing/plaf/basic/BasicListUI.java
2218 Improved calculation of preferredSize when JList is
2219 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2221 The previous implementation assumed a layoutOrientation of
2222 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2223 JList.VERTICAL_WRAP.
2225 2005-04-19 Roman Kennke <roman@ontographics.com>
2227 * javax/swing/plaf/basic/BasicListUI.java
2228 (paintCell): use CellRendererPane for painting the cells.
2230 2005-04-19 Roman Kennke <roman@ontographics.com>
2232 * javax/swing/plaf/basic/BasicListUI:
2233 fixed modifiers of several fields, methods and inner
2234 classes to match the 'spec'.
2235 (getMaximumSize): removed. It's not in the spec and the
2236 implementations was superfluous.
2238 2005-04-19 Roman Kennke <roman@ontographics.com>
2240 * javax/swing/plaf/basic/BasicListUI:
2241 make BasicListUI capable of wrapping lists
2242 (layoutOrientation property of javax.swing.JList)
2244 2005-04-19 Roman Kennke <roman@ontographics.com>
2246 * javax/swing/plaf/basic/BasicListUI
2247 (updateLayoutState,paint): make BasicListUI aware of the
2248 width of the rendered JList.
2250 2005-04-19 Roman Kennke <roman@kennke.org>
2252 * javax/swing/ImageIcon.java
2253 Added API documentation.
2255 2005-04-19 Roman Kennke <roman@kennke.org>
2257 * javax/swing/text/ImageIcon.java
2258 (ImageIcon): Use setImage instead of direct assignment.
2259 (setImage): Call loadImage to make sure that the image is loaded.
2260 (loadImage): Waits for the image to complete loading.
2261 (getImageLoadStatus): Added. Returns the load status of the
2264 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2266 * javax/swing/JTextArea.java (replaceRange):
2267 Fixing doc.remove(start, length) misinterpretation.
2269 2005-04-19 Roman Kennke <roman@ontographics.com>
2271 * javax/swing/CellRendererPane.java:
2272 implemented all methods of this class.
2273 reformatted all wrong formatted code.
2275 2005-04-19 Roman Kennke <roman@kennke.org>
2277 * javax/swing/BoxLayout.java:
2278 (layoutContainer): Made this layout manager respect the
2279 minimum, maximum and preferred size more correctly.
2281 2005-04-19 Roman Kennke <roman@ontographics.com>
2283 * javax/swing/BoxLayout.java:
2284 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2285 layoutContainer): Make these methods and thereby the
2286 BoxLayout respect the insets (like borders) of the
2287 component that is laid out.
2289 2005-04-19 Roman Kennke <roman@kennke.org>
2291 * javax/swing/JComponent.java:
2292 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2293 Untabified the file.
2295 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2297 * javax/swing/JComboBox.java (constructors): selecting the
2298 first item if the box was constructed from the provided
2299 non - empty array or vector.
2301 2005-04-19 Michael Koch <konqueror@gmx.de>
2303 * gnu/java/awt/peer/gtk/GdkGraphics.java
2304 (getClipBounds): Handle clip being null.
2305 (setClip): Likewise.
2306 * java/beans/beancontext/BeanContextSupport.java
2310 (removeAll): Likewise.
2311 (retainAll): Likewise.
2313 2005-04-19 Michael Koch <konqueror@gmx.de>
2315 * java/beans/beancontext/BeanContextServicesSupport.java
2316 (BeanContextServicesSupport): Reimplemented.
2317 (addBeanContextServicesListener): Implemented.
2318 (initialize): Likewise.
2319 (removeBeanContextServicesListener): Likewise.
2320 * java/beans/beancontext/BeanContextSupport.java
2322 (addBeanContextMembershipListener): Likewise.
2323 (getLocale): Likewise.
2324 (initialize): Likewise.
2325 (iterator): Likewise.
2327 (toArray): Likewise.
2329 2005-04-19 Roman Kennke <roman@kennke.org>
2331 * java/awt/MediaTracker.java:
2332 Reindented tabs to spaces.
2334 2005-04-19 Roman Kennke <roman@kennke.org>
2336 * java/awt/MediaTracker.java
2337 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2338 confused the media tracker and lead to lockups. The LOADING
2339 bit is handled on other places.
2340 (addImage): Removed the 'start image tracking' stuff. This
2341 is not necessary and could confuse the media tracker.
2342 (checkAll): Improved the check for image status so that
2343 images that already complete images are detected. Also now
2344 are really all images checked and if necessary loaded. Before
2345 the method bailed out after the first incomplete image.
2346 (statusAll): Detect images that are complete after the
2347 call to Component.prepareImage(..).
2348 (checkID): The same as in checkAll.
2349 (statusID): The same as in statusAll.
2351 2005-04-19 Roman Kennke <roman@kennke.org>
2353 * java/awt/MediaTracker.java
2354 (addImage): Synchronized list access.
2355 (waitForAll): Fixed comparison of time (changed < to >).
2356 (waitForID): Fixed comparison of time (changed < to >).
2357 (removeImage): Synchronized list access.
2359 2005-04-19 Roman Kennke <roman@kennke.org>
2361 * java/awt/MediaTracker.java
2362 Added API documentation.
2364 2005-04-19 Roman Kennke <roman@kennke.org>
2366 * java/awt/MediaTracker.java
2367 (MediaEntry.imageUpdate): Fixed flags. The different flags
2368 must not be ORed together.
2369 (checkAll): Modified to handle different meaning of the flags.
2370 (waitForAll): Fixed so that it waits maximum the
2371 specified amount of milliseconds.
2372 (statusAll): Modified to handle different meaning of the flags.
2373 (waitForID): Fixed so that it waits maximum the
2374 specified amount of milliseconds.
2376 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2378 * java/awt/Font.java (decode): Handle null argument and allow
2381 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2383 * java/beans/EventHandler.java: Reworked documentation.
2384 (invoke): Fixed behavior to match spec.
2386 2005-04-19 Michael Koch <konqueror@gmx.de>
2388 * java/awt/print/PrinterJob.java
2389 (pageDialog): New method.
2390 (printDialog): Implemented.
2392 2005-04-19 Michael Koch <konqueror@gmx.de>
2394 * java/awt/image/ConvolveOp.java:
2395 Removed comment added by eclipse.
2397 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2399 * java/awt/image/IndexColorModel.java
2400 (getRGB): Check if pixel is negative.
2402 2005-04-19 Michael Koch <konqueror@gmx.de>
2404 * java/awt/image/RasterOp.java:
2405 Fixed wrong formatting.
2407 2005-04-18 Roman Kennke <roman@kennke.org>
2409 * java/awt/Compmonent.java
2410 (setComponentOrientation): Made this property firing a
2411 PropertyChangeEvent.
2413 2005-04-18 Roman Kennke <roman@kennke.org>
2415 * java/awt/BorderLayout.java
2416 (calcSize): Check for overflow when component sizes are added.
2418 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2420 * java/awt/AWTEvent.java (toString): Added case
2421 for source not being an AWT component.
2423 2005-04-18 Chris Burdess <dog@gnu.org>
2425 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2427 2005-04-18 Michael Koch <konqueror@gmx.de>
2429 gnu/java/awt/EmbeddedWindowSupport.java,
2430 gnu/java/net/HeaderFieldHelper.java,
2431 gnu/java/net/URLParseError.java,
2432 gnu/java/net/protocol/file/Handler.java,
2433 gnu/java/net/protocol/jar/Handler.java:
2434 Fixed usage of @author tag.
2436 2005-04-18 Michael Koch <konqueror@gmx.de>
2438 * gnu/xml/aelfred2/XmlParser.java:
2439 Reverted my typo fix.
2441 2005-04-18 Michael Koch <konqueror@gmx.de>
2443 * java/awt/geom/CubicCurve2D.java,
2444 java/awt/geom/QuadCurve2D.java:
2445 Fixed mentioning of Brian Gouph.
2447 2005-04-18 Michael Koch <konqueror@gmx.de>
2449 * gnu/java/awt/Buffers.java,
2450 gnu/java/awt/image/ImageDecoder.java,
2451 gnu/java/awt/image/XBMDecoder.java,
2452 gnu/java/awt/peer/ClasspathFontPeer.java,
2453 gnu/java/net/CRLFInputStream.java,
2454 gnu/java/net/EmptyX509TrustManager.java,
2455 gnu/java/net/LineInputStream.java,
2456 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2457 gnu/java/net/protocol/ftp/BlockInputStream.java,
2458 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2459 gnu/java/net/protocol/ftp/DTP.java,
2460 gnu/java/net/protocol/ftp/DTPInputStream.java,
2461 gnu/java/net/protocol/ftp/FTPConnection.java,
2462 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2463 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2464 gnu/java/net/protocol/ftp/StreamInputStream.java,
2465 gnu/java/net/protocol/http/ChunkedInputStream.java,
2466 gnu/java/net/protocol/http/HTTPConnection.java,
2467 gnu/java/net/protocol/http/HTTPURLConnection.java,
2468 gnu/java/net/protocol/http/Headers.java,
2469 gnu/java/net/protocol/http/Request.java,
2470 gnu/java/nio/ChannelInputStream.java,
2471 gnu/java/nio/ChannelOutputStream.java,
2472 gnu/java/nio/InputStreamChannel.java,
2473 gnu/java/nio/OutputStreamChannel.java,
2474 gnu/java/nio/SelectorProviderImpl.java,
2475 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2476 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2477 gnu/java/rmi/dgc/DGCImpl.java,
2478 gnu/java/rmi/registry/RegistryImpl.java,
2479 gnu/java/rmi/server/ProtocolConstants.java,
2480 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2481 gnu/java/rmi/server/RMIIncomingThread.java,
2482 gnu/java/rmi/server/RMIObjectInputStream.java,
2483 gnu/java/rmi/server/RMIObjectOutputStream.java,
2484 gnu/java/rmi/server/RMIVoidValue.java,
2485 gnu/java/rmi/server/UnicastConnectionManager.java,
2486 gnu/java/rmi/server/UnicastRef.java,
2487 gnu/java/rmi/server/UnicastRemoteCall.java,
2488 gnu/java/rmi/server/UnicastRemoteStub.java,
2489 gnu/java/rmi/server/UnicastServerRef.java,
2490 gnu/java/security/OID.java,
2491 gnu/java/security/der/DERReader.java,
2492 gnu/java/security/provider/CollectionCertStoreImpl.java,
2493 gnu/java/security/provider/DSAParameterGenerator.java,
2494 gnu/java/security/provider/DefaultPolicy.java,
2495 gnu/java/security/provider/EncodedKeyFactory.java,
2496 gnu/java/security/provider/GnuDHPublicKey.java,
2497 gnu/java/security/provider/GnuDSAPrivateKey.java,
2498 gnu/java/security/provider/GnuDSAPublicKey.java,
2499 gnu/java/security/provider/GnuRSAPrivateKey.java,
2500 gnu/java/security/provider/GnuRSAPublicKey.java,
2501 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2502 gnu/java/security/provider/RSA.java,
2503 gnu/java/security/provider/SHA1PRNG.java,
2504 gnu/java/security/provider/SHA1withRSA.java,
2505 gnu/java/security/provider/X509CertificateFactory.java,
2506 gnu/java/security/x509/GnuPKIExtension.java,
2507 gnu/java/security/x509/X500DistinguishedName.java,
2508 gnu/java/security/x509/X509CRL.java,
2509 gnu/java/security/x509/X509CRLEntry.java,
2510 gnu/java/security/x509/X509CertPath.java,
2511 gnu/java/security/x509/X509CertSelectorImpl.java,
2512 gnu/java/security/x509/X509Certificate.java,
2513 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2514 gnu/java/security/x509/ext/BasicConstraints.java,
2515 gnu/java/security/x509/ext/CRLNumber.java,
2516 gnu/java/security/x509/ext/CertificatePolicies.java,
2517 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2518 gnu/java/security/x509/ext/Extension.java,
2519 gnu/java/security/x509/ext/GeneralNames.java,
2520 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2521 gnu/java/security/x509/ext/KeyUsage.java,
2522 gnu/java/security/x509/ext/PolicyConstraint.java,
2523 gnu/java/security/x509/ext/PolicyMappings.java,
2524 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2525 gnu/java/security/x509/ext/ReasonCode.java,
2526 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2527 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2528 Reorganized import statements.
2530 2005-04-18 Michael Koch <konqueror@gmx.de>
2532 * gnu/java/awt/color/CieXyzConverter.java,
2533 gnu/java/awt/color/ClutProfileConverter.java,
2534 gnu/java/awt/color/ColorLookUpTable.java,
2535 gnu/java/awt/color/ColorSpaceConverter.java,
2536 gnu/java/awt/color/GrayProfileConverter.java,
2537 gnu/java/awt/color/GrayScaleConverter.java,
2538 gnu/java/awt/color/LinearRGBConverter.java,
2539 gnu/java/awt/color/ProfileHeader.java,
2540 gnu/java/awt/color/PyccConverter.java,
2541 gnu/java/awt/color/RgbProfileConverter.java,
2542 gnu/java/awt/color/SrgbConverter.java,
2543 gnu/java/awt/color/TagEntry.java,
2544 gnu/java/awt/color/ToneReproductionCurve.java:
2545 Standardized file headers.
2547 2005-04-16 Tom Tromey <tromey@redhat.com>
2549 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2550 'ANY' package-private.
2552 2005-04-15 Tom Tromey <tromey@redhat.com>
2554 * Makefile.in: Rebuilt.
2555 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2556 (libgcj0_convenience_la_LIBADD): ... here.
2558 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2560 * gij.cc (version): Properly quote java version.
2561 (main): Fix typo in comment.
2563 2005-04-13 Mark Wielaard <mark@klomp.org>
2565 * java/lang/natRuntime.cc (insertSystemProperties): Set
2566 java.class.path to CLASSPATH if not already set.
2568 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2570 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2572 2005-04-12 Mike Stump <mrs@apple.com>
2574 * configure: Regenerate.
2576 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2579 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2580 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2582 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2585 * scripts/TexinfoDoclet.java: Removed.
2586 * Makefile.am (texinfo): Removed.
2587 * Makefile.in: Regenerated.
2589 2005-04-11 Michael Koch <konqueror@gmx.de>
2591 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2592 Fixed wrong casting.
2594 2005-04-06 Andrew Haley <aph@redhat.com>
2596 * testsuite/libjava.lang/bytearray.java: New file.
2597 * testsuite/libjava.lang/bytearray.out: New file.
2598 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2599 (loadClass): Use it.
2600 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2602 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2604 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2605 gcj-dbtool dependency
2606 * Makefile.in: Regenerated
2608 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2610 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2611 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2613 2005-04-05 Andrew Haley <aph@redhat.com>
2615 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2616 (Tokenizer): New class.
2617 (getFiles): New method.
2618 (main): Add "-" argument.
2620 Read list of files from stdin when merging map databases.
2621 (usage): Add "-" argument.
2625 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2628 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2629 * Makefile.in: Regenerate.
2630 * configure.ac: Add --with-java-home option.
2631 * configure: Regenerate.
2632 * external/Makefile.in: Regenerate.
2633 * external/sax/Makefile.in: Regenerate.
2634 * external/w3c_dom/Makefile.in: Regenerate.
2635 * gcj/Makefile.in: Regenerate.
2636 * include/Makefile.in: Regenerate.
2637 * testsuite/Makefile.in: Regenerate.
2638 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2641 2005-04-05 Tom Tromey <tromey@redhat.com>
2643 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2644 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2645 Rewrote to use _Jv_FindClassFromSignature.
2646 * verify.cc (resolve): throw NoClassDefFoundError.
2647 * link.cc (resolve_field): Throw NoClassDefFoundError.
2648 (find_field): Likewise.
2649 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2650 Handle error cases. Added 'endp' argument.
2651 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2653 2005-04-05 Tom Tromey <tromey@redhat.com>
2655 * Makefile.in: Rebuilt.
2656 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2657 gtk_awt_peer_sources.
2658 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2659 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2660 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2661 (gtk-awt-peer.lo): New target.
2663 2005-04-04 Steve Pribyl <steve@netfuel.com>
2666 * configure.ac: Fix fastjar definition for cross builds.
2667 * configure: Rebuilt.
2669 2005-04-04 Tom Tromey <tromey@redhat.com>
2671 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2672 it was already found.
2674 2005-04-04 Tom Tromey <tromey@redhat.com>
2676 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2677 org.metastatic.jessie.
2679 2005-04-02 Anthony Green <green@redhat.com>
2682 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2684 2005-04-02 Mark Wielaard <mark@klomp.org>
2686 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2687 Attributes and attribute order doesn't matter.
2688 (BasicAttributesEnumeration.where): Initialize to zero.
2689 (BasicAttributesEnumeration.nextElement): Update and compare where
2690 appropriately (zero based).
2692 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2694 PR libgcj/20090, PR libgcj/20526
2695 * gij.cc (nonstandard_opts_help): New function.
2696 (add_option): New function.
2697 (main): Support java options. Set java.class.path. Don't set
2699 * prims.cc (parse_x_arg): New function.
2700 (parse_init_args): Call parse_x_arg for -X and _ options, when
2701 ignoreUnrecognized is true.
2702 (new _Jv_RunMain): New vm_args variant.
2703 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2704 (_Jv_Jar_Class_Path): Remove variable.
2705 * include/java-props.h: Likewise.
2706 * include/cni.h (JvRealloc): New function.
2707 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2708 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2709 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2711 * configure.ac (JV_VERSION): Define.
2712 (JV_API_VERSION): Likewise.
2713 * configure: Regenerate.
2714 * include/config.h.in: Regenerate.
2716 2005-04-01 Mark Anderson <mark@panonet.net>
2718 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2719 -Infinity as parameters.
2721 2005-04-01 Michael Koch <konqueror@gmx.de>
2723 * java/io/PipedInputStream.java
2724 (read): Make sure a positive byte value is returned. Revised javadoc.
2725 Thanks to Olafur Bragason for reporting these bugs.
2727 2005-04-01 Tom Tromey <tromey@redhat.com>
2729 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2730 Updated for name change.
2731 (nativeFindClass): New method.
2732 (loadClass): Use nativeFindClass.
2733 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2735 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2736 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2738 (initialize): New method.
2739 (nativeFindClass): Declare.
2740 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2741 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2742 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2744 (definePackageForNative): Removed.
2745 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2746 Moved to VMClassLoader.java.
2747 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2748 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2749 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2750 removed VMClassLoader.java.
2751 (nat_source_files): Removed natVMClassLoader.cc.
2753 2005-04-01 Tom Tromey <tromey@redhat.com>
2755 * Makefile.in: Rebuilt.
2756 * Makefile.am (db_pathtail): Use $(gcc_version), not
2759 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2761 * java/util/Timer.java
2762 (run): Stop the queue if a task throws an exception.
2764 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2766 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2768 2005-03-29 Ian Lance Taylor <ian@airs.com>
2770 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2771 * external/sax/Makefile.in: Rebuild.
2772 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2774 * external/w3c_dom/Makefile.in: Rebuild.
2776 2005-03-29 Tom Tromey <tromey@redhat.com>
2778 * java/lang/natRuntime.cc (insertSystemProperties): Set
2779 gnu.gcj.runtime.endorsed.dirs.
2780 * Makefile.in: Rebuilt.
2781 * Makefile.am (ordinary_java_source_files): Added
2782 HelperClassLoader.java.
2783 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2784 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2786 (init): Use addDirectoriesFromProperty.
2787 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2788 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2789 gnu.gcj.runtime.endorsed.dirs.
2790 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2792 2005-03-26 Chris Burdess <dog@gnu.org>
2794 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2797 2005-03-13 Michael Koch <konqueror@gmx.de>
2799 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2801 2005-03-11 Chris Burdess <dog@gnu.org>
2803 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2806 2005-02-27 Chris Burdess <dog@gnu.org>
2808 * gnu/xml/aelfred2/JAXPFactory.java,
2809 gnu/xml/aelfred2/SAXDriver.java,
2810 gnu/xml/aelfred2/XmlParser.java,
2811 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2812 formatting conventions. Replaced arrays of Object with struct-like
2813 classes for easier maintainability. Made SAXDriver.stringInterning
2814 package private to allow access from XmlParser inside the loop without
2815 a method call overhead.
2817 2005-03-11 Chris Burdess <dog@gnu.org>
2819 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2822 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2824 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2825 settings to sub Makefiles.
2826 (GCJH, ZIP): Prefix with top_builddir.
2827 * configure: Rebuild.
2828 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2829 * external/w3c_dom/Makefile.in: Rebuild.
2830 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2831 * external/sax/Makefile.in: Rebuild.
2833 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2835 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2836 libsocket to the libraries to link for Solaris.
2838 2005-03-28 Per Bothner <per@bothner.com>
2840 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2841 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2843 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2845 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2846 to fix a ONESTEP fallout.
2847 * Makefile.in: Regenerate.
2849 2005-03-25 Mike Stump <mrs@apple.com>
2851 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2852 paths like we do for the compiler, as we use it in external/sax
2853 and it doesn't get MULTIBUILDTOP right when multilibing.
2855 2005-03-24 Anthony Green <green@redhat.com>
2857 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2859 (usage): Add [LIBDIR] to help output.
2860 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2861 * Makefile.am (AM_CXXFLAGS): Define
2862 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2863 (db_pathtail): New macro.
2865 2005-03-24 Tom Tromey <tromey@redhat.com>
2867 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2868 add sax and w3c libraries.
2869 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2871 * external/w3c_dom/Makefile.in: Rebuilt.
2872 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2874 (libw3c_gcj_la_LDFLAGS): New variable.
2875 (noinst_LTLIBRARIES): Renamed.
2876 * external/sax/Makefile.in: Rebuilt.
2877 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2879 (libsax_gcj_la_LDFLAGS): New variable.
2880 (noinst_LTLIBRARIES): Renamed.
2882 2005-03-23 Tom Tromey <tromey@redhat.com>
2884 * Makefile.in: Rebuilt.
2885 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2886 (libgcj0_convenience_la_SOURCES): Don't include
2887 gnu_xml_source_files.
2888 (libgcj0_convenience_la_LIBADD): New variable.
2889 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2890 (all_java_source_files): javax_imageio_source_files,
2891 javax_xml_source_files, and gnu_java_beans_source_files.
2892 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2893 (gnu-xml.lo): New target.
2894 (javax-imageio.lo): Likewise.
2895 (javax-xml.lo): Likewise.
2896 (gnu-java-beans.lo): Likewise.
2897 (gnu_java_beans_source_files): New variable.
2898 (javax_imageio_source_files): Likewise.
2899 (javax_xml_source_files): Likewise.
2900 (javax_source_files): Moved files to other variable.
2901 (awt_java_source_files): Likewise.
2902 (ordinary_java_source_files): Added BootClassLoader.java.
2903 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2904 not system class loader.
2905 (initBootLoader): New method.
2906 (loadClass): Search bootLoader.
2907 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2908 boot loader, not system class loader.
2909 (_Jv_UnregisterInitiatingLoader): Likewise.
2910 (_Jv_FindClass): Likewise. Ensure entries in
2911 bootstrap_class_list are unique.
2912 * java/lang/natClass.cc (getClassLoader): Don't special case
2913 system class loader.
2914 * java/lang/VMClassLoader.java (bootLoader): New field.
2915 (getResource): Use bootLoader.
2916 (getResources): Likewise.
2917 (initBootLoader): Declare.
2918 * gnu/gcj/runtime/BootClassLoader.java: New file.
2919 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2920 (EMPTY_ENUMERATION): Now package-private.
2921 * external/w3c_com/Makefile.in: Rebuilt.
2922 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2923 (w3c.jar): New target.
2924 (classes.stamp): Updated.
2925 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2926 Changed name of library.
2927 (libw3c_gcj_la_SOURCES): New variable.
2928 (libw3c_gcj_la_GCJFLAGS): Likewise.
2929 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2930 * external/sax/Makefile.in: Rebuilt.
2931 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2932 (sax.jar): New target.
2933 (classes.stamp): Updated.
2934 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2935 Changed name of library.
2936 (libsax_gcj_la_SOURCES): New variable.
2937 (libsax_gcj_la_GCJFLAGS): Likewise.
2938 (source_files): Renamed from libsax_convenience_la_SOURCES.
2939 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2941 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2943 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2945 2005-03-23 Sven de Marothy <sven@physto.se>
2947 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2949 * java/util/Calendar.java
2950 (set): Use starting day of week when one is needed if none is given.
2951 * java/text/SimpleDateFormat.java
2952 (parse): Handle 1-12 and 1-24 timestamps correctly.
2953 * java/util/GregorianCalendar.java
2954 (computeTime, computeFields): HOUR should be in 0-11 format.
2955 (nonLeniencyCheck): Adjust leniency checking to that fact.
2956 (getLinearDay): Should be private.
2958 2005-03-23 Tom Tromey <tromey@redhat.com>
2960 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2961 (_Jv_CheckABIVersion): Use it.
2963 2005-03-22 Mike Stump <mrs@apple.com>
2965 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2967 * include/posix.h: .dylib is used on all Apple MACH platforms.
2968 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2970 2005-03-22 Tom Tromey <tromey@redhat.com>
2972 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2974 2005-03-21 Tom Tromey <tromey@redhat.com>
2976 * java/lang/VMCompiler.java (static block): Also catch
2977 BufferUnderflowException.
2979 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2981 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2982 set tool_include_dir. In all substitutions, leave $(gcc_version)
2983 to be expanded by the Makefile.
2984 * aclocal.m4, configure: Regenerate.
2985 * Makefile.am: Set gcc_version. Replace all uses of
2986 @gcc_version@ with $(gcc_version).
2987 * external/Makefile.am, external/sax/Makefile.am
2988 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2989 * testsuite/Makefile.am: Set gcc_version.
2990 * include/Makefile.am: Set gcc_version and tool_include_dir.
2991 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2992 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2993 * testsuite/Makefile.in: Regenerate.
2995 2005-03-17 Andrew Haley <aph@redhat.com>
2997 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2999 Pass klass to _Jv_StackTrace::GetClassContext().
3000 * java/lang/ClassLoader.java (getParent): Pass class to
3001 VMSecurityManager.getClassContext()
3002 (getSystemClassLoader): Likewise.
3003 * java/lang/Package.java (getPackage): Likewise.
3004 (getPackages): Likewise.
3005 * java/lang/SecurityManager.java (getClassContext): Likewise.
3006 (currentClassLoader): Likewise.
3007 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
3008 (currentClassLoader) Add new arg: caller.
3009 Pass caller to VMSecurityManager.getClassContext.
3011 * stacktrace.cc (GetClassContext): Correct calculation of
3014 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
3015 im->source_file_name.
3017 2005-03-16 Andrew Haley <aph@redhat.com>
3019 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3021 2005-03-16 Tom Tromey <tromey@redhat.com>
3023 * link.cc (ensure_class_linked): Removed #ifdef.
3024 (print_class_loaded): Likewise.
3025 (wait_for_state): Likewise.
3026 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3027 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3028 * include/java-interp.h: ... here.
3030 2005-03-16 Tom Tromey <tromey@redhat.com>
3032 * gnu/java/lang/MainThread.java (run): Load main class using
3033 system class loader.
3035 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
3037 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3038 lgcc_s to the libraries to link for Darwin.
3040 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3042 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3043 interpreter-specific code with #ifdef INTERPRETER.
3044 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3045 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3046 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3047 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3048 #ifdef INTERPRETER. Also protect declarations that use it.
3049 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3050 #ifdef INTERPRETER block.
3052 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3055 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3056 * Makefile.in: Rebuilt.
3058 2005-03-15 David Daney <ddaney@avtrex.com>
3060 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3063 2005-03-15 David Daney <ddaney@avtrex.com>
3065 * java/io/BufferedInputStream.java (available): Use 'in' instead
3066 of 'super' for underlying stream access.
3068 (read(byte[], int, int)): Ditto.
3070 (skip): Call skip on underlying stream when possible.
3072 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3074 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3075 SJLJ_EXCEPTIONS is defined.
3077 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3079 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3082 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3084 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3086 (libjava_arguments): Likewise.
3088 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3089 (gcj_jni_test_one): Likewise.
3090 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3091 Add flags to keep the Darwin linker quiet.
3092 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3093 Add -liconv for Darwin.
3095 2005-03-11 Tom Tromey <tromey@redhat.com>
3097 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3098 (_Jv_CheckABIVersion): Use it.
3100 2005-03-11 Tom Tromey <tromey@redhat.com>
3102 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3103 (usage): Document '-p'.
3104 * Makefile.in: Rebuilt.
3105 * Makefile.am (dbexecdir): New variable.
3106 (db_name): Likewise.
3107 (dbexec_DATA): Likewise.
3108 ($(db_name)): New target.
3109 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3110 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3113 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3115 * exception.cc: Remove stray MethodRef.h include.
3116 * java/lang/natClass.cc: Likewise.
3117 * gnu/gcj/runtime/MethodRef.java: Removed.
3118 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3119 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3120 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3121 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3122 * Makefile.in: Rebuilt.
3124 2005-03-10 Tom Tromey <tromey@redhat.com>
3126 * Makefile.in: Rebuilt.
3127 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3129 2005-03-10 Chris Burdess <dog@bluezoo.org>
3131 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3132 not currently parsing the DTD.
3134 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3136 New Stack Trace infrastructure.
3137 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3138 (gnu/gcj/runtime/StackTrace.java): Removed.
3139 (ordinary_java_source_files): Remove obsolete files.
3140 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3141 * configure.host (fallback_backtrace_h): Set backtrace header
3142 for mingw and cygwin targets.
3143 * configure.ac: Make symlink for fallback backtrace headers.
3144 * Makefile.in, configure: Rebuilt.
3145 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3146 Read 'LineNumberTable' attribute.
3147 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3149 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3151 * exception.cc: Remove unused include.
3152 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3153 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3154 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3155 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3156 table to direct threaded instruction values.
3157 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3158 (_Jv_InterpMethod::run): No longer member function. All
3159 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3160 is made or where an instruction could throw.
3161 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3163 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3164 (catch_fpe): Likewise.
3165 * stacktrace.cc: New file. Stack trace code now here.
3166 * gnu/gcj/runtime/MethodRef.java:
3167 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3168 calls addr2line to look up PC addresses in a given binary or shared
3170 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3171 gnu/gcj/runtime/natStackTrace.cc: Removed.
3172 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3173 this function name is specially recognised by the stack trace code
3174 and shouldn't be changed.
3175 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3176 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3177 (_Jv_InterpMethod::run): Update declaration.
3178 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3180 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3181 * include/java-stack.h: New file. Declarations for stack tracing.
3182 * include/jvm.h (_Jv_Frame_info): Removed.
3183 * java/lang/Class.h: Update friend declarations.
3184 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3186 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3187 (getStackTrace): Now native.
3188 (data): New RawDataManaged field.
3189 * java/lang/natClass.cc: Update includes.
3190 (forName): Use _Jv_StackTrace::GetCallingClass for
3191 calling-classloader check.
3192 (getClassLoader): Likewise.
3193 * java/lang/natRuntime.cc: Update includes.
3194 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3195 * java/lang/natVMSecurityManager.cc: Update includes.
3196 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3197 * java/lang/natVMThrowable.cc: New file. Native methods for
3199 * java/lang/reflect/natArray.cc: Update includes.
3200 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3201 accessibility check.
3202 * java/lang/reflect/natConstructor.cc: Update includes.
3203 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3204 accessibility check.
3205 * java/lang/reflect/natField.cc: Update includes.
3206 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3207 accessibility check.
3208 * java/lang/reflect/natMethod.cc: Update includes.
3209 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3210 accessibility check.
3211 * java/util/natResourceBundle.cc: Update includes.
3212 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3213 * java/util/logging/natLogger.cc: Update includes. Use
3214 _Jv_StackTrace::GetCallerInfo to get call-site info.
3215 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3217 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3220 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3222 * testsuite/libjava.compile/PR20312.java: New file.
3223 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3224 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3226 2005-03-09 Andrew Haley <aph@redhat.com>
3228 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3230 (smallTransferTo): New.
3231 (transferFrom): Loop around smallTransferFrom, copying pageSize
3233 (transferTo): Likewise.
3235 2005-03-09 David Daney <ddaney@avtrex.com>
3238 Merge BufferedInputStream from GNU Classpath.
3239 * java/io/BufferedInputStream.java (marktarget): Field removed.
3240 (CHUNKSIZE): Field removed.
3241 (bufferSize): New field.
3242 (BufferedInputStream): Initialize fields.
3243 (close): Invalidate mark and buffer indexes.
3245 (read()): Move mark handling code to refill.
3246 (read(byte[], int, int)): Ditto.
3247 (skip): Ditto and simplify EOF testing.
3248 (refill): Rewritten.
3249 * java/io/InputStreamReader.java (refill): Removed mark and reset
3250 of internal BufferedInputStream.
3252 2005-03-09 Tom Tromey <tromey@redhat.com>
3254 * java/lang/natVMClassLoader.cc (defineClass): Reference
3255 'systemClassLoader' field directly.
3256 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3258 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3259 Reference 'systemClassLoader' field directly.
3260 (_Jv_UnregisterInitiatingLoader): Likewise.
3261 (_Jv_FindClass): Likewise.
3263 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3265 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3267 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3268 the file in GNU Classpath style.
3270 2005-03-09 Tom Tromey <tromey@redhat.com>
3272 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3273 (toString): Synchronize.
3275 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3277 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3278 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3280 2005-03-07 Tom Tromey <tromey@redhat.com>
3282 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3283 (usage): Document '-f'.
3285 2005-03-07 Tom Tromey <tromey@redhat.com>
3287 * java/lang/VMCompiler.java (md5Digest): New field.
3288 (compileClass): Clone md5Digest instead of looking up a new one.
3290 2005-03-07 Tom Tromey <tromey@redhat.com>
3293 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3294 * link.cc (find_field_helper): Added 'type' argument.
3295 (find_field): Updated.
3297 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3298 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3299 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3300 throw UnsupportedOperationException, fixed comments.
3301 (setFont, setForeground): Fixed comments.
3302 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3303 return type to boolean.
3304 (getNextEvent): Fixed javadocs.
3305 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3306 (nativeQueueEmpty): Removed unused code.
3307 (iterateNativeQueue): Removed outer loop.
3309 2005-03-06 Roger Sayle <roger@eyesopen.com>
3312 * Makefile.am (libgcj0_convenience.la): Revert last change.
3313 * Makefile.in: Regenerate.
3315 2005-03-05 Anthony Green <green@redhat.com>
3317 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3318 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3319 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3320 (_Jv_GetDrawingSurface): Set visualID.
3321 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3322 (JAWT_GetAWT): Set Lock and Unlock.
3323 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3325 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3326 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3327 JAWT_LOCK_SURFACE_CHANGED): New macros.
3328 (struct _JAWT): Add Lock and Unlock.
3330 2005-03-05 Roger Sayle <roger@eyesopen.com>
3331 Alexandre Oliva <aoliva@redhat.com>
3332 Kelley Cook <kcook@gcc.gnu.org>
3335 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3336 of the object files to link to avoid exceeding the command line
3337 length limits on some platforms.
3338 (clean-local): Clean up objectlist files.
3339 * Makefile.in: Regenerate.
3341 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3343 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3344 spec_case. Initialize pointer mlo.
3346 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3349 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3351 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3354 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3355 uninitialized variable z.
3357 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3358 possible unused variables.
3360 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3362 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3364 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3367 * testsuite/libjava.jni/jni.exp
3368 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3370 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3372 2005-02-23 David Daney <ddaney@avtrex.com>
3374 * configure.host: Don't use -mxgot for MIPS builds.
3376 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3379 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3380 (COMPPATH): Removed.
3381 (ZIP, GCJH): Replace it with ../$(host_subdir).
3382 (built_gcc_dir): Add $(host_subdir).
3383 * configure: Regenerate.
3384 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3385 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3386 external/w3c_dom/Makefile.in: Regenerate.
3388 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3390 * java/awt/font/TextAttribute.java: changed names to lower case;
3391 (readResolve): implemented.
3392 Added doc comments all over.
3394 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3397 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3398 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3399 value. Move argument parsing code to prims.cc.
3400 * prims.cc (no_properties): Remove.
3401 (_Jv_Compiler_Properties): Initialize to NULL.
3402 (_Jv_Properties_Count): Initialize to 0.
3403 (parse_verbose_args): New function.
3404 (parse_init_args): New function.
3405 (_Jv_CreateJavaVM): Call parse_init_args.
3406 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3407 * gcj/cni.h (JvVMOption): New struct.
3408 (JvVMInitArgs): Likewise.
3409 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3411 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3412 (_Jv_VMInitArgs): Likewise.
3413 * include/java-props.h (_Jv_Properties_Count): Declare.
3414 * java/lang/natRuntime.cc (insertSystemProperties): Use
3415 _Jv_Properties_Count in for loop exit condition.
3416 * testsuite/libjava.jni/jni.exp
3417 (gcj_invocation_compile_c_to_binary): New procedure.
3418 (gcj_invocation_test_one): Likewise.
3419 (gcj_jni_run): Run JNI invocation API tests.
3420 * testsuite/libjava.jni/invocation/PR16923.c,
3421 testsuite/libjava.jni/invocation/PR16923.java,
3422 testsuite/libjava.jni/invocation/PR16923.out: New test.
3424 2005-02-23 Michael Koch <konqueror@gmx.de>
3426 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3427 * Makefile.in: Regenerated.
3429 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3431 * gnu/java/nio/ChannelReader: Fixed comments.
3433 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3435 * java/nio/channels/Channels: Added FIXMEs about
3436 stub method implementation.
3437 (newReader): Implemented.
3438 * gnu/java/nio/ChannelReader: New class.
3440 2005-02-23 Michael Koch <konqueror@gmx.de>
3442 * java/text/SimpleDateFormat.java:
3443 Removed unused import.
3445 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3448 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3449 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3450 * Makefile.in: Regenerate.
3451 * configure.ac: Check for libXtst.
3452 * configure: Regenerate.
3454 2005-02-22 Mark Wielaard <address@bogus.example.com>
3456 * java/security/AlgorithmParameterGenerator.java (getInstance):
3457 Mention provider when throwing NoSuchProviderException.
3458 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3459 * java/security/KeyFactory.java (getInstance): Likewise.
3460 * java/security/KeyStore.java (getInstance): Likewise.
3461 * java/security/SecureRandom.java (getInstance): Likewise.
3462 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3464 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3466 * java/lang/reflect/Proxy.java,
3468 java/security/SecureRandom.java,
3469 java/util/Timer.java,
3470 java/util/prefs/AbstractPreferences.java:
3471 Don't catch java.lang.ThreadDeath.
3473 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3475 * java/awt/font/TransformAttribute.java,
3476 (TransformAttribute(AffineTransform)): throw
3477 IllegalArgumentException for null transform.
3478 (getTransform): return a copy of transform.
3479 Added doc comments to all.
3481 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3483 * java/io/Externalizable.java,
3484 java/io/Serializable.java
3485 (serialVersionUID): Removed.
3486 * java/rmi/server/RemoteObject.java,
3487 java/rmi/server/UID.java
3488 (serialVersionUID): Made private.
3489 * java/rmi/server/RemoteRef.java,
3490 java/rmi/server/ServerRef.java
3491 (serialVersionUID): Set proper value.
3492 * java/security/interfaces/DSAPrivateKey.java,
3493 java/security/interfaces/DSAPublicKey.java,
3494 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3495 java/security/interfaces/RSAPrivateCrtKey.java,
3496 java/security/interfaces/RSAPrivateKey.java,
3497 java/security/interfaces/RSAPublicKey.java,
3498 javax/crypto/SecretKey.java
3499 (serialVersionUID): Added.
3501 2005-02-22 Tom Tromey <tromey@redhat.com>
3503 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3505 2005-02-22 Tom Tromey <tromey@redhat.com>
3508 * verify.cc (type::EITHER): New constant.
3509 (check_field_constant): Use it.
3510 (type::compatible): Handle it.
3512 2005-02-22 Michael Koch <konqueror@gmx.de>
3514 * gnu/java/security/PolicyFile.java,
3515 gnu/java/security/pkcs/PKCS7SignedData.java,
3516 gnu/java/security/pkcs/SignerInfo.java:
3517 Fixed copyright header.
3519 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3521 * java/beans/PropertyDescriptor.java
3522 (PropertyDescriptor,setReadMethod): Set propertyType.
3524 2005-02-22 Michael Koch <konqueror@gmx.de>
3526 * java/nio/DirectByteBufferImpl.java
3527 (owner): Fixed formatting of javadoc.
3528 * java/text/DateFormat.java
3529 (getAvailableLocales): Fixed formatting.
3530 * java/text/SimpleDateFormat.java:
3531 Fixed formatting and import statement order.
3532 * java/util/Calendar.java
3533 (Calendar): Fixed javadoc to be HTML compliant.
3534 * java/util/SimpleTimeZone.java:
3537 2005-02-22 Roman Kennke <roman@ontographics.com>
3539 * javax/swing/plaf/basic/BasicLookAndFeel.java
3540 (initComponentDefaults): Fixed Button left and right margin.
3542 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3544 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3548 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3549 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3550 (getWidth): New method.
3551 (getHeight): Likewise.
3552 (create): Remove width, height and insets parameters. Move size
3554 (realize_cb): ... here. New function.
3555 (connectSignals): Connect realize_cb.
3556 (request_frame_extents): Remove FIXME. Move
3557 postInsetsChangedEvent lookup ...
3558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3559 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3560 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3562 (windowGetWidthID): Likewise.
3563 (windowGetHeightID): Likewise.
3565 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3569 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3571 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3573 Merge serialization from GNU Classpath.
3574 * gcj/method.h: Add missing #includes.
3575 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3576 primitive class IDs on the stream here...
3577 (resolveClass): ...not here.
3578 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3580 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3581 setLongNative, setIntNative, setShortNative, setCharNative,
3582 setByteNative, setBooleanNative, setObjectNative): New native methods.
3583 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3584 setLongNative, setIntNative, setShortNative, setCharNative,
3585 setByteNative, setBooleanNative, setObjectNative): Implement them.
3586 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3587 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3588 the constructor here.
3589 (callConstructor): Removed.
3590 (getCallersClassLoader): Removed.
3591 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3592 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3593 to control whether setting final field values is permitted. Call
3594 getAddr() with checkFinal parameter instead of setAddr().
3595 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3596 only if not done already.
3597 (getAddr): Add checkFinal parameter. Do the final field check only if
3601 2005-02-21 Mark Wielaard <mark@klomp.org>
3604 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3607 2005-02-21 Mark Wielaard <mark@klomp.org>
3610 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3611 without a super class and us ObjectStreamClass.lookupForClassObject().
3612 (resolveClass): Check for primitive types.
3613 (lookupClass): Return null when argument is null.
3615 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3617 * java/io/ObjectInputStream.java
3618 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3620 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3622 * java/io/ObjectOutputStream.java
3623 (writeObject, callWriteMethod): Replaced reflection with accessing
3624 cached info in ObjectStreamClass.
3625 (getMethod): Removed.
3626 * java/io/ObjectStreamClass.java
3627 (findMethod): Added check to make sure the method found has the
3629 (cacheMethods): Added writeReplace and writeObject methods.
3630 (setFlags): Look at new writeObjectMethod field instead of doing
3632 (writeReplaceMethod): New field.
3633 (writeObjectMethod): New field.
3635 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3636 Jeroen Frijters <jeroen@frijters.net>
3638 * java/io/ObjectInputStream.java
3639 (newObject): Changed prototype. Get a constructor reflect object
3641 (callConstructor): Removed.
3642 (allocateObject): Changed prototype.
3643 (readClassDescriptor): Build the constructor reflection directly.
3644 (readObject): Invoke newObject using the new prototype.
3646 * java/io/ObjectStreamClass.java
3647 (firstNonSerializableParent): Removed.
3648 (firstNonSerializableParentConstructor): Added.
3650 2005-02-21 Mark Wielaard <mark@klomp.org>
3652 * gnu/java/locale/LocaleInformation_en.java: Extend
3653 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3655 2005-02-21 Mark Wielaard <mark@klomp.org>
3657 * java/text/SimpleDateFormat.java
3658 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3659 NullPointerException when formatData is null.
3661 2005-02-21 Mark Wielaard <mark@klomp.org>
3663 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3664 taking dstSavings into account.
3666 2005-02-21 Sven de Marothy <sven@physto.se>
3668 * java/text/SimpleDateFormat.java,
3669 (parse): Set correct DST_OFFSET to the correct value.
3671 2005-02-21 Mark Wielaard <mark@klomp.org>
3673 * java/util/SimpleTimeZone.java (checkRule): Throw
3674 IllegalArgumentException when month out of range.
3676 2005-02-21 Sven de Marothy <sven@physto.se>
3678 * java/util/GregorianCalendar.java,
3679 (add): Don't set fields directly anymore. Use set()
3681 2005-02-21 Mark Wielaard <mark@klomp.org>
3683 * java/text/SimpleDateFormat.java (CompiledField.toString):
3684 Use StringBuffer, not StringBuilder.
3685 (toString): Likewise.
3687 2005-02-21 Sven de Marothy <sven@physto.se>
3689 * java/util/Calendar.java
3690 (clear): Dates should clear to local time.
3691 * java/util/GregorianCalendar.java
3692 (computeTime): Fix priority problem with DAY_OF_WEEK,
3693 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3695 2005-02-21 Sven de Marothy <sven@physto.se>
3697 * java/util/Calendar.java
3698 (Calendar): Constructor should clear fields.
3700 2005-02-21 Sven de Marothy <sven@physto.se>
3702 * java/text/SimpleDateFormat.java
3703 (parse): Tweak handling of 2-year dates
3704 * java/util/Calendar.java
3705 (clear): Clear fields to correct value.
3706 * java/util/GregorianCalendar.java
3707 (computeTime): Correct handling of time zones.
3708 Correct field minimum values.
3710 2005-02-21 Sven de Marothy <sven@physto.se>
3712 * java/util/Calendar.java
3713 (set) Invalidate all fields on first call to set().
3715 2005-02-21 Sven de Marothy <sven@physto.se>
3717 * java/util/GregorianCalendar.java
3718 (computeTime): Fixed handling of time zones.
3720 2005-02-21 Sven de Marothy <sven@physto.se>
3722 * java/util/Calendar.java
3723 (clear): Set values to Epoch instead of zero.
3724 (set): Set isSet to the relevant field pattern instead of just
3726 * java/util/GregorianCalendar.java
3727 (getBundle): Removed.
3728 (getDayOfYear): Removed.
3729 (getFirstDayOfMonth): New private method.
3730 (nonLeniencyCheck): New private method.
3731 (computeTime): Correct handling of insufficient data.
3733 2005-02-21 Sven de Marothy <sven@physto.se>
3735 * java/util/Calendar.java: Invalidate ERA field on setting
3737 * java/util/SimpleTimeZone.java:
3738 (getDaysInMonth): Reimplemented.
3739 * java/util/GregorianCalendar.java:
3740 (getLinearTime): Removed.
3741 (isLeapYear(int,boolean)): Removed.
3742 (before(), after()): Removed.
3743 (computeTime): Reimplemented.
3745 2005-02-21 Sven de Marothy <sven@physto.se>
3747 * java/util/Calendar.java: Reformatted.
3748 * java/util/GregorianCalendar.java: Reformatted.
3749 * java/util/SimpleTimeZone.java: Reformatted.
3751 2005-02-21 Sven de Marothy <sven@physto.se>
3753 * java/util/GregorianCalendar.java
3754 (GregorianCalendar): Update fields in the constructor
3756 2005-02-21 Noa Resare <noa@resare.com>
3758 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3759 (set(int,int)): Set and use new field.
3760 (set(int,int,int)): Check new field.
3762 2005-02-21 Noa Resare <address@hidden>
3764 * java/util/Calendar.java(set):
3765 Fix for DST related regression.
3767 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3769 * java/util/Calendar.java
3770 (setTimeInMillis): Added call to clear, removed computeFields call.
3771 * java/util/Date.java
3772 (Date(int,int,int,int,int,int)): Removed workaround for
3773 GregorianCalendar bug.
3774 * java/util/GregorianCalendar.java
3775 (GregorianCalendar): Chained all constructors to a (new)
3777 (computeTime): Fixed support for lenient month treatment.
3778 (getLinearDay): Return long instead of int.
3779 (calculateDay): Added fields argument and changed day argument
3782 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3784 * java/text/SimpleDateFormat.java
3785 Lots of documentation updates.
3786 (readObject(java.io.ObjectInputStream)): Wraps
3787 IllegalArgumentException as specified.
3788 (compileFormat(String)): Uses standardChars
3789 rather than the local pattern characters.
3790 Throws IllegalArgumentException rather than
3792 (toString()): Extended to include all variables
3794 (translateLocalizedPattern(String, String, String)):
3795 Renamed to better define the use of this method.
3797 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3799 * java/text/DateFormat.java:
3800 Documented pattern character offset constants and
3802 (Field): Added new static fields for new pattern chars.
3803 * java/text/SimpleDateFormat.java:
3804 (CompiledField): Changed name of FieldSizePair class
3805 to CompiledField after adding the character as an
3806 attribute. Changed fields to private and added
3807 accessors to give encapsulation.
3808 (CompiledField.CompiledField(int,int,char)): Extended
3809 with character field.
3810 (CompiledField.getField()): New accessor method.
3811 (CompiledField.getSize()): New acceessor method.
3812 (CompiledField.getCharacter()): New accessor method.
3813 (CompiledField.toString()): Added primarily for debugging.
3814 (standardChars): Now uses extended 24 character sequence.
3815 (compileFormat(String)): Changed to use CompiledField.
3816 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3817 java.text.FieldPosition)): Changed to use CompiledField.
3818 New handler for RFC 822 timezones added.
3820 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3822 * java/text/SimpleDateFormat.java:
3823 (parse(String, java.text.ParsePosition)):
3824 Changed 'E' and 'M' cases to use both
3825 short and long names. Extended 'z'
3826 case to also handle 'Z', and deal
3827 with simple GMT offsets such as +0100.
3828 (computeOffset(String)): New private method,
3829 which converts a GMT offset specification,
3830 such as GMT-0500 to a numeric offset in
3832 * java/util/TimeZone.java:
3833 (timezones()): Added "CEST", the daylight
3834 savings time version of "CET", or Central
3837 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3839 * java/text/SimpleDateFormat.java:
3840 (parse): Set the DST offset to 0 when parsing
3841 GMT offset timezones.
3843 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3845 * java/text/SimpleDateFormat.java:
3846 (parse): Use offset to set ZONE_OFFSET
3847 rather than the DST_OFFSET, so that
3848 GMT offset timezones change the right
3851 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3853 * java/text/SimpleDateFormat.java:
3854 (getDateFormatSymbols()): return a copy
3855 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3856 throw exception on null input
3857 (clone()): implemented to clone
3860 2005-02-21 Sven de Marothy <sven@physto.se>
3862 * java/text/SimpleDateFormat.java
3863 (parse): comparison should be case-insensitive, ignore null
3866 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3868 * gnu/java/beans/IntrospectionIncubator.java
3869 (addMethod) Reverts the patch that ntroduced a regression (see bug
3870 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3872 2005-02-21 Michael Koch <konqueror@gmx.de>
3874 * java/awt/Checkbox.java
3875 (next_checkbox_number): New static variable.
3876 (generateName): New method.
3877 (getUniqueLong): Likewise.
3878 * java/awt/Window.java
3879 (next_window_number): New static variable.
3880 (generateName): New method.
3881 (getUniqueLong): Likewise.
3883 2005-02-21 Mark Wielaard <mark@klomp.org>
3885 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3888 2005-02-21 Andrew Haley <aph@redhat.com>
3890 * Makefile.in: Rebuilt.
3891 * Makefile.am (nat_source_files): Added natLogger.cc.
3892 * java/util/logging/natLogger.cc: New file.
3893 * java/util/logging/Logger.java (getCallerStackFrame): Now
3896 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3898 * Makefile.am (all_property_files): Remove left over.
3899 (classes.stamp): Add stamp for the ONESTEP build, also known as
3900 --enable-libgcj-multifile.
3901 * Makefile.in: Regenerated.
3903 2005-02-21 Michael Koch <konqueror@gmx.de>
3905 * java/awt/Button.java,
3906 java/awt/Container.java,
3908 java/awt/Frame.java,
3909 java/text/CollationElementIterator.java,
3910 java/text/RuleBasedCollator.java,
3911 java/util/PropertyPermission.java:
3912 Fixed formatting issues all over.
3914 2005-02-21 Mark Wielaard <mark@klomp.org>
3916 * java/io/FileDescriptor.java (sync): Add real exception to
3917 SyncFailedException.
3919 2005-02-21 Michael Koch <konqueror@gmx.de>
3921 * java/io/InputStreamReader.java:
3924 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3927 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3929 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3931 * libraries/javalib/gnu/regexp/RE.java,
3932 libraries/javalib/java/io/ObjectInputStream.java,
3933 libraries/javalib/java/security/AllPermission.java,
3934 libraries/javalib/java/security/BasicPermission.java,
3935 libraries/javalib/java/security/Permissions.java,
3936 libraries/javalib/java/text/MessageFormat.java:
3937 Made 'inner' classes real public static inner classes,
3938 and made them final where possible, or removed them
3941 2005-02-20 Michael Koch <konqueror@gmx.de>
3943 * gnu/java/text/FormatCharacterIterator.java:
3944 Removed redundant modifiers.
3946 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3948 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3951 2005-02-19 Michael Koch <konqueror@gmx.de>
3953 * Makefile.am: Added new files in gnu/java/beans and
3954 java/beans/XMLDecoder.java.
3955 * Makefile.in: Regenerated.
3957 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3959 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3960 assignment behavior by using java.lang.reflect.Array.set()
3963 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3965 * gnu/java/beans/EmptyBeanInfo.java,
3966 gnu/java/beans/info/ComponentBeanInfo.java:
3967 Removed unused files.
3969 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3971 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3972 of AppletStub for java.beans.Beans.instantiate.
3973 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3975 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3976 to be conformant with Javadoc guidelines.
3977 (instantiate): Added two more overloaded variants, reworked user
3978 documentation, fixed exception behavior, fixed behavior when
3981 2005-02-19 Mark Wielaard <mark@klomp.org>
3983 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3985 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3987 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3989 * gnu/java/beans/decoder/AbstractContext.java,
3990 gnu/java/beans/decoder/AbstractCreatableContext.java,
3991 gnu/java/beans/decoder/AbstractElementHandler.java,
3992 gnu/java/beans/decoder/AbstractObjectContext.java,
3993 gnu/java/beans/decoder/ArrayContext.java,
3994 gnu/java/beans/decoder/ArrayHandler.java,
3995 gnu/java/beans/decoder/AssemblyException.java,
3996 gnu/java/beans/decoder/BooleanHandler.java,
3997 gnu/java/beans/decoder/ByteHandler.java,
3998 gnu/java/beans/decoder/CharHandler.java,
3999 gnu/java/beans/decoder/ClassHandler.java,
4000 gnu/java/beans/decoder/ConstructorContext.java,
4001 gnu/java/beans/decoder/Context.java,
4002 gnu/java/beans/decoder/DecoderContext.java,
4003 gnu/java/beans/decoder/DefaultExceptionListener.java,
4004 gnu/java/beans/decoder/DoubleHandler.java,
4005 gnu/java/beans/decoder/DummyContext.java,
4006 gnu/java/beans/decoder/DummyHandler.java,
4007 gnu/java/beans/decoder/ElementHandler.java,
4008 gnu/java/beans/decoder/FloatHandler.java,
4009 gnu/java/beans/decoder/GrowableArrayContext.java,
4010 gnu/java/beans/decoder/IndexContext.java,
4011 gnu/java/beans/decoder/IntHandler.java,
4012 gnu/java/beans/decoder/JavaHandler.java,
4013 gnu/java/beans/decoder/LongHandler.java,
4014 gnu/java/beans/decoder/MethodContext.java,
4015 gnu/java/beans/decoder/MethodFinder.java,
4016 gnu/java/beans/decoder/NullHandler.java,
4017 gnu/java/beans/decoder/ObjectContext.java,
4018 gnu/java/beans/decoder/ObjectHandler.java,
4019 gnu/java/beans/decoder/PersistenceParser.java,
4020 gnu/java/beans/decoder/PropertyContext.java,
4021 gnu/java/beans/decoder/ShortHandler.java,
4022 gnu/java/beans/decoder/SimpleHandler.java,
4023 gnu/java/beans/decoder/StaticMethodContext.java,
4024 gnu/java/beans/decoder/StringHandler.java,
4025 gnu/java/beans/decoder/VoidHandler.java: New class
4026 implementing java.beans.XMLDecoder decoding functionality.
4027 * java/beans/XMLDecoder.java: New class.
4029 2005-02-19 Michael Koch <konqueror@gmx.de>
4031 * javax/swing/JTextField.java
4032 (notfiyAction): Added javadoc.
4034 2005-02-19 Sven de Marothy <sven@physto.se>
4036 * javax/swing/SpinnerDateModel.java: Implemented.
4038 2005-02-19 Michael Koch <konqueror@gmx.de>
4040 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4041 * Makefile.in: Regenerated.
4043 2005-02-19 Michael Koch <konqueror@gmx.de>
4045 * gnu/java/nio/SelectorImpl.java:
4046 Reworked import statements.
4047 (register): Removed unused code.
4048 * java/nio/channels/Channels.java: Reformatted.
4049 * java/nio/charset/Charset.java: Likewise.
4050 * java/rmi/server/RemoteObject.java
4051 (serialVersionUID): Made private.
4052 * java/rmi/server/UID.java
4053 (serialVersionUID): Likewise.
4055 2005-02-19 Michael Koch <konqueror@gmx.de>
4057 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4058 gnu/java/net/protocol/ftp/BlockInputStream.java,
4059 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4060 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4061 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4062 gnu/java/net/protocol/ftp/DTPInputStream.java,
4063 gnu/java/net/protocol/ftp/DTP.java,
4064 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4065 gnu/java/net/protocol/ftp/FTPConnection.java,
4066 gnu/java/net/protocol/ftp/FTPException.java,
4067 gnu/java/net/protocol/ftp/FTPResponse.java,
4068 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4069 gnu/java/net/protocol/ftp/Handler.java,
4070 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4071 gnu/java/net/protocol/ftp/StreamInputStream.java,
4072 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4073 gnu/java/net/CRLFInputStream.java,
4074 gnu/java/net/CRLFOutputStream.java,
4075 gnu/java/net/GetLocalHostAction.java,
4076 gnu/java/net/protocol/ftp/package.html: New files.
4077 * Makefile.am: Added new files.
4078 * Makefile.in: Regenerated.
4080 2005-02-18 Tom Tromey <tromey@redhat.com>
4082 * link.cc (make_vtable): Remove abstract method check.
4083 (append_partial_itable): Likewise.
4086 * verify.cc (type::equals): Fixed test.
4087 * testsuite/libjava.lang/PR20056.out: New file.
4088 * testsuite/libjava.lang/PR20056.java: New file.
4090 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4092 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4093 not the HashEntry. Reported by Jean-Marie White.
4095 2005-02-18 Tom Tromey <tromey@redhat.com>
4098 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4099 * link.cc (has_field_p): New function.
4100 * verify.cc (check_field_constant): Added 'putfield' argument.
4101 (verify_instructions_0): Updated.
4102 (type::equals): New method.
4104 2005-02-18 Anthony Green <green@redhat.com>
4106 * NEWS: Draft of libgcj NEWS for 4.0.
4108 2005-02-18 Anthony Green <green@redhat.com>
4110 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4111 architecture names to "i386" for compatibility reasons. Win32
4114 2005-02-18 Anthony Green <green@redhat.com>
4116 * gij.cc (version): Change year for '--version' to 2005.
4117 * gnu/gcj/convert/Convert.java: Ditto.
4118 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4119 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4121 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4122 recent copyright year in `--version' output.
4124 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4126 * java/nio/charset/Charset.java (forName): Throws
4127 IllegalArgumentException when argument is null
4128 and added documentation.
4130 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4132 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4133 Move the position of the source buffer forward.
4135 2005-02-17 Tom Tromey <tromey@redhat.com>
4137 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4138 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4139 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4140 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4141 Changed type of second argument. Rewrote.
4142 (make_vtable): Use it.
4143 (append_partial_itable): Updated.
4144 (layout_vtable_methods): Updated.
4146 2005-02-17 Michael Koch <konqueror@gmx.de>
4148 * gnu/java/net/PlainSocketImpl.java
4149 (shutdownInput): Added javadoc.
4150 (shutdownOutput): Likewise.
4152 2005-02-17 Michael Koch <konqueror@gmx.de>
4154 * javax/print/attribute/standard/Chromaticity.java,
4155 javax/print/attribute/standard/Destination.java,
4156 javax/print/attribute/standard/MediaPrintableArea.java,
4157 javax/print/attribute/standard/MediaSize.java: New files.
4158 * Makefile.am: Added new files.
4159 * Makefile.in: Regenerated.
4161 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4162 Michael Koch <konqueror@gmx.de>
4164 * gnu/java/net/protocol/http/Cookie.java,
4165 gnu/java/net/protocol/http/HTTPConnection.java,
4166 gnu/java/net/protocol/http/HTTPDateFormat.java,
4167 gnu/java/net/protocol/http/Request.java,
4168 gnu/java/nio/PipeImpl.java,
4169 gnu/java/rmi/dgc/DGCImpl.java,
4170 gnu/java/rmi/server/ConnectionRunnerPool.java,
4171 gnu/java/rmi/server/UnicastConnectionManager.java,
4172 gnu/java/security/der/DERWriter.java,
4173 gnu/java/security/pkcs/SignerInfo.java,
4174 gnu/java/security/provider/EncodedKeyFactory.java,
4175 gnu/java/security/provider/GnuDHPublicKey.java,
4176 gnu/java/security/provider/GnuDSAPrivateKey.java,
4177 gnu/java/security/provider/GnuDSAPublicKey.java,
4178 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4179 gnu/java/security/x509/X500DistinguishedName.java,
4180 gnu/java/security/x509/X509CRL.java,
4181 gnu/java/security/x509/X509CRLEntry.java,
4182 gnu/java/security/x509/X509Certificate.java,
4183 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4184 gnu/java/security/x509/ext/CertificatePolicies.java,
4185 gnu/java/security/x509/ext/PolicyConstraint.java,
4186 gnu/xml/dom/Consumer.java,
4187 gnu/xml/dom/DomCharacterData.java,
4188 gnu/xml/dom/DomDocument.java,
4189 gnu/xml/dom/DomDocumentBuilder.java,
4190 gnu/xml/dom/DomIterator.java,
4191 gnu/xml/dom/DomNode.java,
4192 gnu/xml/dom/DomXPathExpression.java,
4193 gnu/xml/dom/DomXPathResult.java,
4194 gnu/xml/dom/JAXPFactory.java,
4195 gnu/xml/pipeline/CallFilter.java,
4196 gnu/xml/pipeline/DomConsumer.java,
4197 gnu/xml/pipeline/LinkFilter.java,
4198 gnu/xml/pipeline/NSFilter.java,
4199 gnu/xml/pipeline/TeeConsumer.java,
4200 gnu/xml/pipeline/ValidationConsumer.java,
4201 gnu/xml/pipeline/WellFormednessFilter.java,
4202 gnu/xml/pipeline/XIncludeFilter.java,
4203 gnu/xml/pipeline/XsltFilter.java,
4204 gnu/xml/transform/ApplyImportsNode.java,
4205 gnu/xml/transform/Bindings.java,
4206 gnu/xml/transform/DocumentFunction.java,
4207 gnu/xml/transform/FormatNumberFunction.java,
4208 gnu/xml/transform/NodeNumberNode.java,
4209 gnu/xml/transform/NumberNode.java,
4210 gnu/xml/transform/Stylesheet.java,
4211 gnu/xml/transform/SystemPropertyFunction.java,
4212 gnu/xml/transform/Template.java,
4213 gnu/xml/transform/TemplatesImpl.java,
4214 gnu/xml/transform/TransformerImpl.java,
4215 gnu/xml/transform/ValueOfNode.java,
4216 gnu/xml/transform/XSLURIResolver.java,
4217 gnu/xml/util/DoParse.java,
4218 gnu/xml/util/Resolver.java,
4219 gnu/xml/xpath/Expr.java,
4220 gnu/xml/xpath/FunctionCall.java,
4221 gnu/xml/xpath/RelationalExpr.java,
4222 gnu/xml/xpath/Selector.java,
4223 gnu/xml/xpath/XPathParser.java:
4224 Reworked import statements, fixed modifier order and some little
4227 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4229 * java/nio/ByteBufferImpl.java (compact):
4230 Set position and limit even if no bytes were moved.
4232 2005-02-17 Michael Koch <konqueror@gmx.de>
4234 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4235 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4236 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4237 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4238 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4239 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4240 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4241 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4242 * java/nio/FloatBufferImpl.java (compact): Set position.
4243 * java/nio/CharBufferImpl.java (compact): Likewise.
4244 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4245 * java/nio/IntBufferImpl.java (compact): Likewise.
4246 * java/nio/LongBufferImpl.java (compact): Likewise.
4247 * java/nio/ShortBufferImpl.java (compact): Likewise.
4249 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4251 * java/nio/ByteBufferImpl.java,
4252 java/nio/CharBufferImpl.java,
4253 java/nio/DirectByteBufferImpl.java,
4254 java/nio/DoubleBufferImpl.java,
4255 java/nio/FloatBufferImpl.java,
4256 java/nio/IntBufferImpl.java,
4257 java/nio/LongBufferImpl.java,
4258 java/nio/MappedByteBufferImpl.java,
4259 java/nio/ShortBufferImpl.java
4260 (compact): Added explicit read-only check and invalidate mark.
4262 2005-02-17 Michael Koch <konqueror@gmx.de>
4264 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4265 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4266 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4267 gnu/java/awt/peer/gtk/GdkGraphics.java,
4268 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4269 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4270 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4271 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4272 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4273 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4274 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4275 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4276 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4277 gnu/java/awt/peer/gtk/GtkClipboard.java,
4278 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4279 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4280 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4281 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4282 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4283 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4284 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4285 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4286 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4287 gnu/java/awt/peer/gtk/GtkToolkit.java,
4288 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4289 java/applet/Applet.java,
4290 java/awt/AWTError.java,
4291 java/awt/AWTEvent.java,
4292 java/awt/AWTEventMulticaster.java,
4293 java/awt/AWTException.java,
4294 java/awt/AWTKeyStroke.java,
4295 java/awt/AWTPermission.java,
4296 java/awt/ActiveEvent.java,
4297 java/awt/Adjustable.java,
4298 java/awt/AlphaComposite.java,
4299 java/awt/AttributeValue.java,
4300 java/awt/BorderLayout.java,
4301 java/awt/BufferCapabilities.java,
4302 java/awt/Button.java,
4303 java/awt/Canvas.java,
4304 java/awt/CheckboxGroup.java,
4305 java/awt/CheckboxMenuItem.java,
4306 java/awt/Color.java,
4307 java/awt/ColorPaintContext.java,
4308 java/awt/Component.java,
4309 java/awt/ComponentOrientation.java,
4310 java/awt/Composite.java,
4311 java/awt/CompositeContext.java,
4312 java/awt/Container.java,
4313 java/awt/ContainerOrderFocusTraversalPolicy.java,
4314 java/awt/DefaultFocusTraversalPolicy.java,
4315 java/awt/Dialog.java,
4316 java/awt/Dimension.java,
4317 java/awt/DisplayMode.java,
4318 java/awt/EventQueue.java,
4319 java/awt/FileDialog.java,
4320 java/awt/FontFormatException.java,
4321 java/awt/Graphics.java,
4322 java/awt/Graphics2D.java,
4323 java/awt/GraphicsConfigTemplate.java,
4324 java/awt/GraphicsConfiguration.java,
4325 java/awt/GraphicsDevice.java,
4326 java/awt/GridBagLayout.java,
4327 java/awt/GridBagLayoutInfo.java,
4328 java/awt/GridLayout.java,
4329 java/awt/HeadlessException.java,
4330 java/awt/IllegalComponentStateException.java,
4331 java/awt/Image.java,
4332 java/awt/Insets.java,
4333 java/awt/ItemSelectable.java,
4334 java/awt/JobAttributes.java,
4335 java/awt/KeyEventDispatcher.java,
4336 java/awt/KeyEventPostProcessor.java,
4337 java/awt/KeyboardFocusManager.java,
4338 java/awt/Label.java,
4339 java/awt/LayoutManager.java,
4340 java/awt/MenuBar.java,
4341 java/awt/MenuComponent.java,
4342 java/awt/MenuContainer.java,
4343 java/awt/PageAttributes.java,
4344 java/awt/Paint.java,
4345 java/awt/PaintContext.java,
4346 java/awt/Panel.java,
4347 java/awt/Point.java,
4348 java/awt/Polygon.java,
4349 java/awt/PrintGraphics.java,
4350 java/awt/PrintJob.java,
4351 java/awt/Rectangle.java,
4352 java/awt/RenderingHints.java,
4353 java/awt/Shape.java,
4354 java/awt/Stroke.java,
4355 java/awt/SystemColor.java,
4356 java/awt/Toolkit.java,
4357 java/awt/Transparency.java,
4358 java/awt/Window.java,
4359 java/awt/color/CMMException.java,
4360 java/awt/color/ColorSpace.java,
4361 java/awt/color/ICC_ColorSpace.java,
4362 java/awt/color/ICC_Profile.java,
4363 java/awt/color/ProfileDataException.java,
4364 java/awt/datatransfer/FlavorTable.java,
4365 java/awt/datatransfer/MimeTypeParseException.java,
4366 java/awt/datatransfer/Transferable.java,
4367 java/awt/datatransfer/UnsupportedFlavorException.java,
4368 java/awt/dnd/Autoscroll.java,
4369 java/awt/dnd/DnDConstants.java,
4370 java/awt/dnd/DragGestureListener.java,
4371 java/awt/dnd/DragSourceAdapter.java,
4372 java/awt/dnd/DragSourceDropEvent.java,
4373 java/awt/dnd/DragSourceListener.java,
4374 java/awt/dnd/DragSourceMotionListener.java,
4375 java/awt/dnd/DropTargetAdapter.java,
4376 java/awt/dnd/DropTargetContext.java,
4377 java/awt/dnd/DropTargetListener.java,
4378 java/awt/dnd/InvalidDnDOperationException.java,
4379 java/awt/dnd/MouseDragGestureRecognizer.java,
4380 java/awt/dnd/peer/DropTargetContextPeer.java,
4381 java/awt/event/AWTEventListener.java,
4382 java/awt/event/AWTEventListenerProxy.java,
4383 java/awt/event/ActionEvent.java,
4384 java/awt/event/AdjustmentEvent.java,
4385 java/awt/event/AdjustmentListener.java,
4386 java/awt/event/ComponentAdapter.java,
4387 java/awt/event/ComponentEvent.java,
4388 java/awt/event/ComponentListener.java,
4389 java/awt/event/ContainerAdapter.java,
4390 java/awt/event/ContainerEvent.java,
4391 java/awt/event/ContainerListener.java,
4392 java/awt/event/FocusAdapter.java,
4393 java/awt/event/FocusEvent.java,
4394 java/awt/event/FocusListener.java,
4395 java/awt/event/InputEvent.java,
4396 java/awt/event/InputMethodEvent.java,
4397 java/awt/event/InputMethodListener.java,
4398 java/awt/event/InvocationEvent.java,
4399 java/awt/event/ItemEvent.java,
4400 java/awt/event/ItemListener.java,
4401 java/awt/event/KeyAdapter.java,
4402 java/awt/event/KeyEvent.java,
4403 java/awt/event/KeyListener.java,
4404 java/awt/event/MouseAdapter.java,
4405 java/awt/event/MouseEvent.java,
4406 java/awt/event/MouseListener.java,
4407 java/awt/event/MouseMotionAdapter.java,
4408 java/awt/event/MouseMotionListener.java,
4409 java/awt/event/MouseWheelEvent.java,
4410 java/awt/event/MouseWheelListener.java,
4411 java/awt/event/PaintEvent.java,
4412 java/awt/event/TextEvent.java,
4413 java/awt/event/TextListener.java,
4414 java/awt/event/WindowAdapter.java,
4415 java/awt/event/WindowEvent.java,
4416 java/awt/event/WindowFocusListener.java,
4417 java/awt/event/WindowListener.java,
4418 java/awt/event/WindowStateListener.java,
4419 java/awt/font/TextHitInfo.java,
4420 java/awt/geom/CubicCurve2D.java,
4421 java/awt/geom/Dimension2D.java,
4422 java/awt/geom/Ellipse2D.java,
4423 java/awt/geom/IllegalPathStateException.java,
4424 java/awt/geom/Line2D.java,
4425 java/awt/geom/NoninvertibleTransformException.java,
4426 java/awt/geom/PathIterator.java,
4427 java/awt/geom/Point2D.java,
4428 java/awt/geom/QuadCurve2D.java,
4429 java/awt/geom/RectangularShape.java,
4430 java/awt/geom/RoundRectangle2D.java,
4431 java/awt/im/InputContext.java,
4432 java/awt/im/InputMethodHighlight.java,
4433 java/awt/im/InputMethodRequests.java,
4434 java/awt/im/InputSubset.java,
4435 java/awt/im/spi/InputMethod.java,
4436 java/awt/im/spi/InputMethodDescriptor.java,
4437 java/awt/image/BandCombineOp.java,
4438 java/awt/image/BandedSampleModel.java,
4439 java/awt/image/ByteLookupTable.java,
4440 java/awt/image/ComponentSampleModel.java,
4441 java/awt/image/DataBuffer.java,
4442 java/awt/image/DataBufferByte.java,
4443 java/awt/image/DataBufferDouble.java,
4444 java/awt/image/DataBufferFloat.java,
4445 java/awt/image/DataBufferInt.java,
4446 java/awt/image/DataBufferShort.java,
4447 java/awt/image/DataBufferUShort.java,
4448 java/awt/image/ImagingOpException.java,
4449 java/awt/image/Kernel.java,
4450 java/awt/image/LookupTable.java,
4451 java/awt/image/MultiPixelPackedSampleModel.java,
4452 java/awt/image/PackedColorModel.java,
4453 java/awt/image/PixelInterleavedSampleModel.java,
4454 java/awt/image/RGBImageFilter.java,
4455 java/awt/image/Raster.java,
4456 java/awt/image/RasterFormatException.java,
4457 java/awt/image/SampleModel.java,
4458 java/awt/image/ShortLookupTable.java,
4459 java/awt/image/SinglePixelPackedSampleModel.java,
4460 java/awt/image/WritableRaster.java,
4461 java/awt/print/PrinterAbortException.java,
4462 java/awt/print/PrinterException.java,
4463 java/awt/print/PrinterIOException.java,
4464 java/beans/AppletInitializer.java,
4465 java/beans/ExceptionListener.java,
4466 java/beans/PropertyChangeEvent.java,
4467 java/beans/PropertyChangeListenerProxy.java,
4468 java/beans/PropertyChangeSupport.java,
4469 java/beans/PropertyDescriptor.java,
4470 java/beans/VetoableChangeListenerProxy.java,
4471 java/beans/VetoableChangeSupport.java,
4472 java/io/BufferedReader.java,
4473 java/io/ByteArrayInputStream.java,
4474 java/io/ByteArrayOutputStream.java,
4475 java/io/CharArrayReader.java,
4476 java/io/CharArrayWriter.java,
4477 java/io/CharConversionException.java,
4478 java/io/DataInput.java,
4479 java/io/DataInputStream.java,
4480 java/io/DataOutput.java,
4481 java/io/DataOutputStream.java,
4482 java/io/EOFException.java,
4483 java/io/FileInputStream.java,
4484 java/io/FileNotFoundException.java,
4485 java/io/FileOutputStream.java,
4486 java/io/FilenameFilter.java,
4487 java/io/FilterInputStream.java,
4488 java/io/FilterOutputStream.java,
4489 java/io/FilterReader.java,
4490 java/io/FilterWriter.java,
4491 java/io/IOException.java,
4492 java/io/InputStream.java,
4493 java/io/InterruptedIOException.java,
4494 java/io/LineNumberInputStream.java,
4495 java/io/LineNumberReader.java,
4496 java/io/ObjectInputStream.java,
4497 java/io/ObjectStreamException.java,
4498 java/io/OptionalDataException.java,
4499 java/io/OutputStream.java,
4500 java/io/OutputStreamWriter.java,
4501 java/io/PrintStream.java,
4502 java/io/PrintWriter.java,
4503 java/io/PushbackInputStream.java,
4504 java/io/PushbackReader.java,
4505 java/io/RandomAccessFile.java,
4506 java/io/Reader.java,
4507 java/io/SequenceInputStream.java,
4508 java/io/Serializable.java,
4509 java/io/StreamCorruptedException.java,
4510 java/io/StreamTokenizer.java,
4511 java/io/StringBufferInputStream.java,
4512 java/io/StringWriter.java,
4513 java/io/SyncFailedException.java,
4514 java/io/UTFDataFormatException.java,
4515 java/io/UnsupportedEncodingException.java,
4516 java/io/WriteAbortedException.java,
4517 java/io/Writer.java,
4518 java/lang/AbstractMethodError.java,
4519 java/lang/ArithmeticException.java,
4520 java/lang/ArrayIndexOutOfBoundsException.java,
4521 java/lang/ArrayStoreException.java,
4522 java/lang/AssertionError.java,
4523 java/lang/Boolean.java,
4524 java/lang/Byte.java,
4525 java/lang/Class.java,
4526 java/lang/ClassCastException.java,
4527 java/lang/ClassCircularityError.java,
4528 java/lang/ClassLoader.java,
4529 java/lang/ClassNotFoundException.java,
4530 java/lang/CloneNotSupportedException.java,
4531 java/lang/Cloneable.java,
4532 java/lang/Comparable.java,
4533 java/lang/Compiler.java,
4534 java/lang/Double.java,
4535 java/lang/Error.java,
4536 java/lang/Exception.java,
4537 java/lang/ExceptionInInitializerError.java,
4538 java/lang/Float.java,
4539 java/lang/IllegalAccessError.java,
4540 java/lang/IllegalAccessException.java,
4541 java/lang/IllegalArgumentException.java,
4542 java/lang/IllegalMonitorStateException.java,
4543 java/lang/IllegalStateException.java,
4544 java/lang/IllegalThreadStateException.java,
4545 java/lang/IncompatibleClassChangeError.java,
4546 java/lang/IndexOutOfBoundsException.java,
4547 java/lang/InheritableThreadLocal.java,
4548 java/lang/InstantiationError.java,
4549 java/lang/InstantiationException.java,
4550 java/lang/Integer.java,
4551 java/lang/InternalError.java,
4552 java/lang/InterruptedException.java,
4553 java/lang/LinkageError.java,
4554 java/lang/Long.java,
4555 java/lang/NegativeArraySizeException.java,
4556 java/lang/NoClassDefFoundError.java,
4557 java/lang/NoSuchFieldError.java,
4558 java/lang/NoSuchFieldException.java,
4559 java/lang/NoSuchMethodError.java,
4560 java/lang/NoSuchMethodException.java,
4561 java/lang/NullPointerException.java,
4562 java/lang/Number.java,
4563 java/lang/NumberFormatException.java,
4564 java/lang/OutOfMemoryError.java,
4565 java/lang/Process.java,
4566 java/lang/Runnable.java,
4567 java/lang/Runtime.java,
4568 java/lang/RuntimeException.java,
4569 java/lang/RuntimePermission.java,
4570 java/lang/SecurityException.java,
4571 java/lang/SecurityManager.java,
4572 java/lang/Short.java,
4573 java/lang/StackOverflowError.java,
4574 java/lang/StackTraceElement.java,
4575 java/lang/StringBuffer.java,
4576 java/lang/StringIndexOutOfBoundsException.java,
4577 java/lang/ThreadDeath.java,
4578 java/lang/ThreadGroup.java,
4579 java/lang/Throwable.java,
4580 java/lang/UnsatisfiedLinkError.java,
4581 java/lang/UnsupportedOperationException.java,
4582 java/lang/VerifyError.java,
4583 java/lang/VirtualMachineError.java,
4584 java/lang/reflect/AccessibleObject.java,
4585 java/lang/reflect/Array.java,
4586 java/lang/reflect/InvocationTargetException.java,
4587 java/lang/reflect/Member.java,
4588 java/lang/reflect/Modifier.java,
4589 java/lang/reflect/Proxy.java,
4590 java/lang/reflect/ReflectPermission.java,
4591 java/lang/reflect/UndeclaredThrowableException.java,
4592 java/math/BigInteger.java,
4593 java/net/NetworkInterface.java,
4594 java/nio/ByteBufferHelper.java,
4595 java/nio/ByteBufferImpl.java,
4596 java/nio/DirectByteBufferImpl.java,
4597 java/nio/DoubleBufferImpl.java,
4598 java/nio/FloatBufferImpl.java,
4599 java/nio/IntBufferImpl.java,
4600 java/nio/LongBufferImpl.java,
4601 java/nio/ShortBufferImpl.java,
4602 java/nio/channels/Channel.java,
4603 java/nio/channels/IllegalBlockingModeException.java,
4604 java/nio/charset/spi/CharsetProvider.java,
4605 java/security/AccessControlException.java,
4606 java/security/BasicPermission.java,
4607 java/security/DigestException.java,
4608 java/security/DigestInputStream.java,
4609 java/security/DigestOutputStream.java,
4610 java/security/GeneralSecurityException.java,
4611 java/security/Guard.java,
4612 java/security/GuardedObject.java,
4613 java/security/InvalidAlgorithmParameterException.java,
4614 java/security/InvalidKeyException.java,
4615 java/security/InvalidParameterException.java,
4616 java/security/Key.java,
4617 java/security/KeyException.java,
4618 java/security/KeyManagementException.java,
4619 java/security/KeyStoreException.java,
4620 java/security/MessageDigestSpi.java,
4621 java/security/NoSuchAlgorithmException.java,
4622 java/security/NoSuchProviderException.java,
4623 java/security/Permission.java,
4624 java/security/PermissionCollection.java,
4625 java/security/Permissions.java,
4626 java/security/Principal.java,
4627 java/security/PrivateKey.java,
4628 java/security/PrivilegedActionException.java,
4629 java/security/ProviderException.java,
4630 java/security/PublicKey.java,
4631 java/security/SecureRandom.java,
4632 java/security/SecureRandomSpi.java,
4633 java/security/SignatureException.java,
4634 java/security/SignatureSpi.java,
4635 java/security/SignedObject.java,
4636 java/security/Signer.java,
4637 java/security/UnrecoverableKeyException.java,
4638 java/security/UnresolvedPermission.java,
4639 java/security/acl/AclNotFoundException.java,
4640 java/security/acl/LastOwnerException.java,
4641 java/security/acl/NotOwnerException.java,
4642 java/security/cert/CertPath.java,
4643 java/security/cert/CertPathBuilderException.java,
4644 java/security/cert/CertPathValidatorException.java,
4645 java/security/cert/CertStoreException.java,
4646 java/text/BreakIterator.java,
4647 java/text/ChoiceFormat.java,
4648 java/text/CollationElementIterator.java,
4649 java/text/CollationKey.java,
4650 java/text/Collator.java,
4651 java/text/DateFormat.java,
4652 java/text/DateFormatSymbols.java,
4653 java/text/DecimalFormat.java,
4654 java/text/DecimalFormatSymbols.java,
4655 java/text/FieldPosition.java,
4656 java/text/Format.java,
4657 java/text/NumberFormat.java,
4658 java/text/ParseException.java,
4659 java/text/ParsePosition.java,
4660 java/text/StringCharacterIterator.java,
4661 java/util/AbstractCollection.java,
4662 java/util/AbstractList.java,
4663 java/util/AbstractMap.java,
4664 java/util/AbstractSequentialList.java,
4665 java/util/AbstractSet.java,
4666 java/util/ArrayList.java,
4667 java/util/Arrays.java,
4668 java/util/BitSet.java,
4669 java/util/Collection.java,
4670 java/util/Collections.java,
4671 java/util/Comparator.java,
4672 java/util/ConcurrentModificationException.java,
4673 java/util/Currency.java,
4674 java/util/Date.java,
4675 java/util/EmptyStackException.java,
4676 java/util/Enumeration.java,
4677 java/util/EventListener.java,
4678 java/util/EventListenerProxy.java,
4679 java/util/EventObject.java,
4680 java/util/HashMap.java,
4681 java/util/HashSet.java,
4682 java/util/Hashtable.java,
4683 java/util/IdentityHashMap.java,
4684 java/util/Iterator.java,
4685 java/util/LinkedHashSet.java,
4686 java/util/LinkedList.java,
4687 java/util/List.java,
4688 java/util/ListIterator.java,
4689 java/util/ListResourceBundle.java,
4691 java/util/MissingResourceException.java,
4692 java/util/NoSuchElementException.java,
4693 java/util/Observable.java,
4694 java/util/Observer.java,
4695 java/util/Properties.java,
4696 java/util/PropertyPermissionCollection.java,
4697 java/util/RandomAccess.java,
4699 java/util/SortedMap.java,
4700 java/util/SortedSet.java,
4701 java/util/Stack.java,
4702 java/util/StringTokenizer.java,
4703 java/util/TooManyListenersException.java,
4704 java/util/TreeMap.java,
4705 java/util/TreeSet.java,
4706 java/util/Vector.java,
4707 java/util/logging/FileHandler.java,
4708 java/util/logging/Level.java,
4709 java/util/prefs/BackingStoreException.java,
4710 java/util/prefs/InvalidPreferencesFormatException.java,
4711 java/util/prefs/Preferences.java,
4712 javax/accessibility/Accessible.java,
4713 javax/accessibility/AccessibleAction.java,
4714 javax/accessibility/AccessibleBundle.java,
4715 javax/accessibility/AccessibleComponent.java,
4716 javax/accessibility/AccessibleContext.java,
4717 javax/accessibility/AccessibleEditableText.java,
4718 javax/accessibility/AccessibleExtendedComponent.java,
4719 javax/accessibility/AccessibleExtendedTable.java,
4720 javax/accessibility/AccessibleHyperlink.java,
4721 javax/accessibility/AccessibleHypertext.java,
4722 javax/accessibility/AccessibleIcon.java,
4723 javax/accessibility/AccessibleKeyBinding.java,
4724 javax/accessibility/AccessibleRelation.java,
4725 javax/accessibility/AccessibleRelationSet.java,
4726 javax/accessibility/AccessibleResourceBundle.java,
4727 javax/accessibility/AccessibleRole.java,
4728 javax/accessibility/AccessibleSelection.java,
4729 javax/accessibility/AccessibleState.java,
4730 javax/accessibility/AccessibleStateSet.java,
4731 javax/accessibility/AccessibleTable.java,
4732 javax/accessibility/AccessibleTableModelChange.java,
4733 javax/accessibility/AccessibleText.java,
4734 javax/accessibility/AccessibleValue.java,
4735 javax/imageio/IIOException.java,
4736 javax/imageio/ImageIO.java,
4737 javax/imageio/spi/IIOServiceProvider.java,
4738 javax/imageio/spi/ImageInputStreamSpi.java,
4739 javax/imageio/spi/ImageOutputStreamSpi.java,
4740 javax/imageio/spi/ImageReaderWriterSpi.java,
4741 javax/imageio/spi/ImageTranscoderSpi.java,
4742 javax/imageio/spi/RegisterableService.java,
4743 javax/imageio/spi/ServiceRegistry.java,
4744 javax/imageio/stream/IIOByteBuffer.java,
4745 javax/imageio/stream/ImageInputStream.java,
4746 javax/imageio/stream/ImageOutputStream.java,
4747 javax/naming/Binding.java,
4748 javax/naming/CannotProceedException.java,
4749 javax/naming/CompositeName.java,
4750 javax/naming/CompoundName.java,
4751 javax/naming/LinkException.java,
4752 javax/naming/LinkRef.java,
4753 javax/naming/NameClassPair.java,
4754 javax/naming/Reference.java,
4755 javax/naming/ReferralException.java,
4756 javax/naming/directory/Attribute.java,
4757 javax/naming/directory/AttributeModificationException.java,
4758 javax/naming/directory/Attributes.java,
4759 javax/naming/directory/DirContext.java,
4760 javax/naming/directory/ModificationItem.java,
4761 javax/naming/directory/SearchControls.java,
4762 javax/naming/directory/SearchResult.java,
4763 javax/naming/event/EventContext.java,
4764 javax/naming/event/EventDirContext.java,
4765 javax/naming/event/NamespaceChangeListener.java,
4766 javax/naming/event/NamingExceptionEvent.java,
4767 javax/naming/event/NamingListener.java,
4768 javax/naming/event/ObjectChangeListener.java,
4769 javax/naming/ldap/Control.java,
4770 javax/naming/ldap/ExtendedResponse.java,
4771 javax/naming/ldap/HasControls.java,
4772 javax/naming/ldap/LdapContext.java,
4773 javax/naming/ldap/UnsolicitedNotification.java,
4774 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4775 javax/naming/ldap/UnsolicitedNotificationListener.java,
4776 javax/naming/spi/DirectoryManager.java,
4777 javax/naming/spi/ResolveResult.java,
4778 javax/naming/spi/Resolver.java,
4779 javax/security/auth/callback/Callback.java,
4780 javax/security/auth/callback/CallbackHandler.java,
4781 javax/security/auth/callback/ChoiceCallback.java,
4782 javax/security/auth/callback/ConfirmationCallback.java,
4783 javax/security/auth/callback/LanguageCallback.java,
4784 javax/security/auth/callback/NameCallback.java,
4785 javax/security/auth/callback/PasswordCallback.java,
4786 javax/security/auth/callback/TextInputCallback.java,
4787 javax/security/auth/callback/TextOutputCallback.java,
4788 javax/security/auth/callback/UnsupportedCallbackException.java,
4789 javax/security/sasl/Sasl.java,
4790 javax/security/sasl/SaslServerFactory.java,
4791 javax/swing/DefaultBoundedRangeModel.java,
4792 javax/swing/JComponent.java,
4793 javax/swing/JList.java,
4794 javax/swing/JProgressBar.java,
4795 javax/swing/JRadioButton.java,
4796 javax/swing/JTextArea.java,
4797 javax/swing/JTextField.java,
4798 javax/swing/JToggleButton.java,
4799 javax/swing/JTree.java,
4800 javax/swing/SpinnerListModel.java,
4801 javax/swing/event/EventListenerList.java,
4802 javax/swing/text/JTextComponent.java,
4803 javax/swing/text/StringContent.java,
4804 javax/swing/text/Utilities.java,
4805 javax/swing/undo/UndoManager.java,
4806 javax/swing/undo/UndoableEditSupport.java,
4807 javax/transaction/HeuristicCommitException.java,
4808 javax/transaction/HeuristicMixedException.java,
4809 javax/transaction/HeuristicRollbackException.java,
4810 javax/transaction/InvalidTransactionException.java,
4811 javax/transaction/NotSupportedException.java,
4812 javax/transaction/RollbackException.java,
4813 javax/transaction/Status.java,
4814 javax/transaction/Synchronization.java,
4815 javax/transaction/SystemException.java,
4816 javax/transaction/Transaction.java,
4817 javax/transaction/TransactionManager.java,
4818 javax/transaction/TransactionRequiredException.java,
4819 javax/transaction/TransactionRolledbackException.java,
4820 javax/transaction/UserTransaction.java,
4821 javax/transaction/xa/XAException.java,
4822 javax/transaction/xa/XAResource.java,
4823 javax/transaction/xa/Xid.java,
4824 javax/xml/XMLConstants.java,
4825 javax/xml/datatype/DatatypeConfigurationException.java,
4826 javax/xml/datatype/DatatypeConstants.java,
4827 javax/xml/datatype/DatatypeFactory.java,
4828 javax/xml/datatype/Duration.java,
4829 javax/xml/datatype/XMLGregorianCalendar.java,
4830 javax/xml/namespace/NamespaceContext.java,
4831 javax/xml/namespace/QName.java,
4832 javax/xml/parsers/DocumentBuilder.java,
4833 javax/xml/parsers/DocumentBuilderFactory.java,
4834 javax/xml/parsers/FactoryConfigurationError.java,
4835 javax/xml/parsers/ParserConfigurationException.java,
4836 javax/xml/parsers/SAXParser.java,
4837 javax/xml/parsers/SAXParserFactory.java,
4838 javax/xml/transform/ErrorListener.java,
4839 javax/xml/transform/OutputKeys.java,
4840 javax/xml/transform/Result.java,
4841 javax/xml/transform/Source.java,
4842 javax/xml/transform/SourceLocator.java,
4843 javax/xml/transform/Templates.java,
4844 javax/xml/transform/Transformer.java,
4845 javax/xml/transform/TransformerConfigurationException.java,
4846 javax/xml/transform/TransformerException.java,
4847 javax/xml/transform/TransformerFactory.java,
4848 javax/xml/transform/TransformerFactoryConfigurationError.java,
4849 javax/xml/transform/URIResolver.java,
4850 javax/xml/transform/dom/DOMLocator.java,
4851 javax/xml/transform/dom/DOMResult.java,
4852 javax/xml/transform/dom/DOMSource.java,
4853 javax/xml/transform/sax/SAXResult.java,
4854 javax/xml/transform/sax/SAXSource.java,
4855 javax/xml/transform/sax/SAXTransformerFactory.java,
4856 javax/xml/transform/sax/TemplatesHandler.java,
4857 javax/xml/transform/sax/TransformerHandler.java,
4858 javax/xml/transform/stream/StreamResult.java,
4859 javax/xml/transform/stream/StreamSource.java,
4860 javax/xml/validation/Schema.java,
4861 javax/xml/validation/SchemaFactory.java,
4862 javax/xml/validation/TypeInfoProvider.java,
4863 javax/xml/validation/Validator.java,
4864 javax/xml/validation/ValidatorHandler.java,
4865 javax/xml/xpath/XPathConstants.java,
4866 javax/xml/xpath/XPathException.java,
4867 javax/xml/xpath/XPathExpression.java,
4868 javax/xml/xpath/XPathExpressionException.java,
4869 javax/xml/xpath/XPathFactory.java,
4870 javax/xml/xpath/XPathFactoryConfigurationException.java,
4871 javax/xml/xpath/XPathFunction.java,
4872 javax/xml/xpath/XPathFunctionException.java,
4873 javax/xml/xpath/XPathFunctionResolver.java:
4874 Fixed usage of @author tag, reworked import statements,
4875 removed CVS tags, changed the modifier order and fixed
4876 HTML usage in javadocs.
4878 2005-02-16 Julian Scheid <julian@sektor37.de>
4880 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4882 (encodeLoop): Likewise.
4884 2005-02-16 Mark Wielaard <mark@klomp.org>
4886 * Makefile.am (ordinary_java_source_files): Add new files
4887 gnu/java/security/ber/BER.java,
4888 gnu/java/security/ber/BEREncodingException.java,
4889 gnu/java/security/ber/BERReader.java,
4890 gnu/java/security/ber/BERValue.java,
4891 gnu/java/security/pkcs/PKCS7SignedData.java and
4892 gnu/java/security/pkcs/SignerInfo.java.
4893 * Makefile.in: Regenerated.
4895 2005-02-16 Casey Marshall <csm@gnu.org>
4897 * gnu/java/security/provider/GnuDSAPrivateKey.java
4898 (encodedKey): new field.
4899 (getFormat): return "PKCS#8".
4900 (getEncoded): implemented.
4901 (toString): check for 'null' values.
4902 * gnu/java/security/provider/GnuDSAPublicKey.java
4903 (encodedKey): new field.
4904 (getFormat): return "X.509".
4905 (getEncoded): implemented.
4906 (toString): check for 'null' values.
4908 2005-02-16 Michael Koch <konqueror@gmx.de>
4910 * java/util/jar/JarFile.java: Imports reworked.
4912 2005-02-16 Mark Wielaard <mark@klomp.org>
4914 * java/util/jar/JarFile.java (verify): Make package private.
4915 (signaturesRead): Likewise.
4916 (verified): Likewise.
4917 (entryCerts): Likewise.
4920 (entries): Construct new JarEnumeration with reference to this.
4921 (JarEnumeration): Make static.
4922 (JarEnumeration.jarfile): New field.
4923 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4924 Compare verified value to Boolean.TRUE or Boolean.False only
4925 when verify is true.
4926 (getEntry): Make synchronized. Compare value of verified to
4928 (getInputStream): Construct EntryInputStream with reference to this.
4929 (getManifest): Make synchronized.
4930 (EntryInputStream): Make static.
4931 (EntryInputStream.jarfile): New field.
4932 (EntryInputStream.EntryInputStream): Check if manifest exists,
4933 before getting attributes.
4934 (eof): Synchronize on jarfile.
4936 2005-02-16 Casey Marshall <csm@gnu.org>
4938 * java/util/jar/JarFile.java (verify): return if the jar is signed
4939 with an unsupported algorithm.
4941 2005-02-16 Mark Wielaard <mark@klomp.org>
4943 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4944 InputStream as argument.
4945 (getInputStream): Construct a new EntryInputStream with the result of
4946 super.getInputStream(entry).
4948 2005-02-16 Casey Marshall <csm@gnu.org>
4950 Signed JAR file support.
4951 * java/net/URLClassLoader.java
4952 (JarURLResource.getCertificates): re-read jar entry to ensure
4953 certificates are picked up.
4954 (findClass): fill in class `signers' field, too.
4955 * java/util/jar/JarFile.java (META_INF): new constant.
4956 (PKCS7_DSA_SUFFIX): new constant.
4957 (PKCS7_RSA_SUFFIX): new constant.
4958 (DIGEST_KEY_SUFFIX): new constant.
4959 (SF_SUFFIX): new constant.
4960 (MD2_OID): new constant.
4961 (MD4_OID): new constant.
4962 (MD5_OID): new constant.
4963 (SHA1_OID): new constant.
4964 (DSA_ENCRYPTION_OID): new constant.
4965 (RSA_ENCRYPTION_OID): new constant.
4966 (signaturesRead): new field.
4967 (verified): new field.
4968 (entryCerts): new field.
4969 (DEBUG): new constant.
4970 (debug): new method.
4971 (JarEnumeration.nextElement): fill in entry certificates, read
4972 signatures if they haven't been read.
4973 (getEntry): likewise.
4974 (getInputStream): verify stream if it hasn't been verified yet.
4975 (readSignatures): new method.
4976 (verify): new method.
4977 (verifyHashes): new method.
4978 (readManifestEntry): new method.
4979 (EntryInputStream): new class.
4980 * gnu/java/io/Base64InputStream.java (decode): new class
4982 * gnu/java/security/der/DERReader.java don't make class
4984 (in): made protected.
4986 (readLength): likewise.
4987 * gnu/java/security/ber/BER.java,
4988 * gnu/java/security/ber/BEREncodingException.java,
4989 * gnu/java/security/ber/BERReader.java,
4990 * gnu/java/security/ber/BERValue.java,
4991 * gnu/java/security/pkcs/PKCS7SignedData.java,
4992 * gnu/java/security/pkcs/SignerInfo.java:
4995 2005-02-16 Tom Tromey <tromey@redhat.com>
4997 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4998 copied file on exit.
5000 2005-02-15 Mark Wielaard <mark@klomp.org>
5002 * java/awt/BasicStroke.java (hashCode): Check for null dash.
5004 2005-02-15 Michael Koch <konqueror@gmx.de>
5006 * gnu/java/awt/peer/gtk/GtkArg.java,
5007 gnu/java/awt/peer/gtk/GtkArgList.java:
5010 2005-02-15 Craig Black <craig.black@aonix.com>
5012 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
5013 (postMenuActionEvent): Implement to notify ItemListeners.
5014 * java/awt/CheckboxMenuItem.java
5015 (dispatchEventImpl): Update state on ItemEvent.
5016 * java/awt/MenuItem.java
5017 (processActionEvent): Retarget event source.
5019 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5021 * gnu/java/awt/color/ClutProfileConverter.java,
5022 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
5023 gnu/java/awt/peer/gtk/GdkFontPeer.java,
5024 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5025 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5026 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5027 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5028 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5029 gnu/java/awt/peer/gtk/GdkTextLayout.java,
5030 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5031 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5032 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5033 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5034 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5035 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5036 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5037 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5038 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5039 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5040 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5041 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5042 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5043 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5044 gnu/java/awt/peer/gtk/GtkToolkit.java,
5045 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5046 javax/swing/JPopupMenu.java,
5047 javax/swing/JSpinner.java,
5048 javax/swing/SortingFocusTraversalPolicy.java,
5049 javax/swing/SwingUtilities.java,
5050 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5051 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5052 javax/swing/tree/DefaultMutableTreeNode.java:
5053 Removed unused imports and expanded starred
5056 2005-02-15 Mark Wielaard <mark@klomp.org>
5058 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5059 IllegalArgumentException when the given String is null.
5061 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5062 when given keystoke sequence cannot be parsed.
5064 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5065 if one is installed. Only install the given menubar is not null.
5067 * javax/swing/JViewport.java (getViewSize): Return an empty
5068 Dimension when the view isn't set or preferred component size when
5071 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5072 empty Dimension when there is no view set.
5073 (minimumLayoutSize): Likewise.
5074 (layoutContainer): Don't try to layout when there is no view.
5076 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5079 * include/jawt.h: Likewise.
5080 * include/jawt_md.h: Likewise.
5081 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5083 * jni/classpath/classpath_jawt.h: Likewise.
5084 * jni/gtk-peer/gtk_jawt.c: Likewise.
5085 * Makefile.am: Build libjawt.so.
5087 2005-02-15 Michael Koch <konqueror@gmx.de>
5089 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5090 Merged file header with classpath CVS head.
5091 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5092 Merged code formatting with classpath CVS head.
5093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5095 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5096 Handle special JNI strings with 2 '\0' at the end.
5097 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5098 Merged file header with classpath CVS head.
5099 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5100 Merged code formatting with classpath CVS head.
5102 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5105 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5106 (handle_response): Use GTK_RESPONSE_ACCEPT.
5108 2005-02-15 Graydon Hoare <graydon@redhat.com>
5110 * Makefile.am: Fix library build breakage.
5111 * Makefile.in: Regenerate.
5113 2005-02-15 Michael Koch <konqueror@gmx.de>
5115 * javax/swing/JTabbedPane.java
5116 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5118 2005-02-15 Michael Koch <konqueror@gmx.de>
5120 * javax/swing/tree/DefaultMutableTreeNode.java:
5121 Reworked Javadocs all over.
5122 (getPathToRoot): Fixed direction of result array initialization.
5124 2005-02-15 Michael Koch <konqueror@gmx.de>
5126 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5127 Fix includes for cairo 0.3.0 snappshot.
5128 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5129 Merged file header from classpath CVS HEAD.
5131 2005-02-15 Craig Black <craig.black@aonix.com>
5133 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5134 (copyState): Pass a JNI global reference to signal handler.
5135 (realize_cb): Use and free JNI global reference.
5136 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5137 (create): Pass a JNI global reference to signal handler.
5138 (selection_changed): Match declaration.
5139 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5140 (dispose): Do not remove entries from state tables until after widget is
5143 2005-02-15 Michael Koch <konqueror@gmx.de>
5145 * java/awt/Container.javai (paramString):
5146 If layoutMgr is null just return result of super.paramString().
5147 * java/awt/Scrollbar.java: Reformatted.
5148 * java/awt/im/InputContext.java (static):
5149 Removed redundant initializations.
5151 2005-02-15 Michael Koch <konqueror@gmx.de>
5153 * javax/swing/ImageIcon.java,
5154 javax/swing/UIManager.java,
5155 javax/swing/text/EditorKit.java,
5156 javax/swing/text/Segment.java:
5157 More whitespace cleanups.
5159 2005-02-15 Michael Koch <konqueror@gmx.de>
5161 * gnu/java/awt/EmbeddedWindow.java,
5162 gnu/java/awt/image/ImageDecoder.java,
5163 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5164 java/awt/DefaultKeyboardFocusManager.java,
5165 java/awt/Frame.java,
5166 java/awt/image/RGBImageFilter.java,
5167 javax/swing/AbstractButton.java,
5168 javax/swing/ActionMap.java,
5169 javax/swing/ComponentInputMap.java,
5170 javax/swing/DefaultDesktopManager.java,
5171 javax/swing/ImageIcon.java,
5172 javax/swing/InputMap.java,
5173 javax/swing/JButton.java,
5174 javax/swing/JCheckBox.java,
5175 javax/swing/JCheckBoxMenuItem.java,
5176 javax/swing/JEditorPane.java,
5177 javax/swing/JMenu.java,
5178 javax/swing/JMenuItem.java,
5179 javax/swing/JOptionPane.java,
5180 javax/swing/JRootPane.java,
5181 javax/swing/JTable.java,
5182 javax/swing/MenuSelectionManager.java,
5183 javax/swing/RepaintManager.java,
5184 javax/swing/ScrollPaneLayout.java,
5185 javax/swing/SortingFocusTraversalPolicy.java,
5186 javax/swing/UIManager.java,
5187 javax/swing/ViewportLayout.java,
5188 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5189 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5190 javax/swing/plaf/basic/BasicLabelUI.java,
5191 javax/swing/plaf/basic/BasicListUI.java,
5192 javax/swing/plaf/basic/BasicMenuItemUI.java,
5193 javax/swing/plaf/basic/BasicMenuUI.java,
5194 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5195 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5196 javax/swing/plaf/basic/BasicRootPaneUI.java,
5197 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5198 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5199 javax/swing/plaf/basic/BasicTextUI.java,
5200 javax/swing/table/TableColumnModel.java,
5201 javax/swing/text/AbstractDocument.java,
5202 javax/swing/text/EditorKit.java,
5203 javax/swing/text/Position.java,
5204 javax/swing/text/Segment.java,
5205 javax/swing/text/StyledEditorKit.java,
5206 javax/swing/text/ViewFactory.java:
5207 Cleanup whitespace differences to classpath CVS HEAD.
5209 2005-02-15 Graydon Hoare <graydon@redhat.com>
5211 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5212 (finalize): Call finish from here.
5213 (produce): Not from here.
5214 * Makefile.am (gtk_c_source_files):
5215 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5216 * Makefile.in: Regenerate.
5217 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5219 (cairoDrawGdkTextLayout):
5221 (getPeerTextMetrics):
5222 (getPeerFontMetrics): Remove.
5223 (setFont): Don't call cairoSetFont.
5224 (cairoDrawGlyphVector): Accept font peer argument.
5225 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5227 (ensure_metrics_cairo):
5228 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5229 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5230 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5231 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5233 (metrics_surface): Remove.
5234 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5235 Pass and install font peer.
5237 2005-02-15 Graydon Hoare <graydon@redhat.com>
5239 * Makefile.am: Create "split library" structure.
5240 * Makefile.in: Regenerate.
5242 2005-02-15 Graydon Hoare <graydon@redhat.com>
5244 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5246 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5247 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5248 Release GDK lock during upcalls.
5250 2005-02-15 Graydon Hoare <graydon@redhat.com>
5252 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5253 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5254 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5255 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5256 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5257 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5258 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5261 (getTextMetrics): New native methods.
5262 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5263 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5264 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5265 * Makefile.in: Regenerate.
5267 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5269 * javax/swing/SwingUtilities.java:
5270 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5271 Implemented and documented.
5272 (getAccessibleChild(java.awt.Component, int)): Likewise.
5273 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5274 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5275 (getAccessibleStateSet(java.awt.Component)): Likewise.
5277 2005-02-15 Michael Koch <konqueror@gmx.de>
5279 * javax/swing/SwingUtilities.java
5280 (getFontMetrics): Removed.
5282 2005-02-15 Michael Koch <konqueror@gmx.de>
5284 * java/awt/Container.java
5285 (paramString): Implemented.
5286 * javax/swing/AbstractButton.java
5287 (paramString): Implemented.
5288 * javax/swing/JComponent.java
5289 (paramString): Implemented.
5290 * javax/swing/JMenu.java
5291 (paramString): Implemented.
5292 * javax/swing/JMenuBar.java
5293 (paramString): Implemented.
5294 * javax/swing/JMenuItem.java
5295 (paramString): Implemented.
5296 * javax/swing/JPopupMenu.java
5297 (paramString): Implemented.
5299 2005-02-15 Michael Koch <konqueror@gmx.de>
5301 * javax/swing/JMenu.java
5302 (uiClassID): Removed.
5303 (JMenu): Set invoker on popup menu.
5304 (getUIClassID): Return id directly.
5305 (getItemCount): Simply return getMenuComponentCount().
5307 (isTopLevelMenu): Simplified.
5308 * javax/swing/JMenuItem.java
5309 (uiClassID): Removed.
5310 (getUIClassID): Return id directly.
5311 * javax/swing/JPopupMenu.java
5312 (uiClassID): Removed.
5313 (JPopupMenu): Always initialize correctly.
5314 (getSubElements): Only return components implementing MenuElement
5316 (HeavyWeightPopup.hide): Removed.
5318 2005-02-15 Michael Koch <konqueror@gmx.de>
5320 * java/awt/image/ReplicateScaleFilter.java
5321 (replicatePixels): Made private.
5322 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5323 (DefaultRGBChooserPanel): Made package private.
5324 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5325 (RecentSwatchPanel): Likewise.
5326 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5327 (MouseInputAdapter): Made abstract.
5328 * javax/swing/tree/DefaultMutableTreeNode.java
5330 (growTree): Likewise.
5332 2005-02-15 Michael Koch <konqueror@gmx.de>
5334 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5337 2005-02-15 Michael Koch <konqueror@gmx.de>
5339 * javax/swing/JComponent.java (getComponentGraphics):
5340 Removed accidently commited code.
5342 2005-02-15 Graydon Hoare <graydon@redhat.com>
5344 * java/awt/dnd/DropTarget.java
5345 (addDropTargetListener): Despite documentation, do not throw.
5346 * javax/swing/JComponent.java: Set a default DropTarget.
5348 2005-02-15 Michael Koch <konqueror@gmx.de>
5350 * javax/swing/AbstractAction.java
5351 (ENABLED_PROPERTY): Removed.
5352 (setEnabled): Replaced constant with real string.
5353 * javax/swing/AbstractButton.java
5354 (createActionPropertyChangeListener.propertyChange): Likewise.
5355 * javax/swing/JComboBox.java
5356 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5357 (EDITABLE_CHANGED_PROPERTY): Removed.
5358 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5359 (ENABLED_CHANGED_PROPERTY):Likewise.
5360 (RENDERER_CHANGED_PROPERTY):Likewise.
5361 (EDITOR_CHANGED_PROPERTY):Likewise.
5362 (MODEL_CHANGED_PROPERTY):Likewise.
5363 (uiClassID):Likewise.
5364 (getUIClassID): Replaced constant with real string.
5365 (setModel):Likewise.
5366 (setEditable):Likewise.
5367 (setMaximumRowCount):Likewise.
5368 (setRenderer):Likewise.
5369 (setEditor):Likewise.
5370 (setEnabled):Likewise.
5371 * javax/swing/JLabel.java
5372 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5373 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5374 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5375 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5376 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5377 (ICON_CHANGED_PROPERTY): Likewise.
5378 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5379 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5380 (TEXT_CHANGED_PROPERTY): Likewise.
5381 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5382 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5383 (setText): Replaced constant with real string.
5384 (setIcon): Likewise.
5385 (setDisabledIcon): Likewise.
5386 (setDisplayedMnemonic): Likewise.
5387 (setIconTextGap): Likewise.
5388 (setVerticalAlignment): Likewise.
5389 (setHorizontalAlignment): Likewise.
5390 (setVerticalTextPosition): Likewise.
5391 (setHorizontalTextPosition): Likewise.
5392 (setLabelFor): Replaced constant with real string.
5393 Fire property change event after property got changed.
5394 * javax/swing/JList.java
5395 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5396 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5397 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5398 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5399 (MODEL_PROPERTY_CHANGED): Likewise.
5400 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5401 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5402 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5403 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5404 (setFixedCellWidth): Reimplemented.
5405 (setFixedCellHeight): Exit if new value is identical.
5406 Replaced constant with real string.
5407 (setSelectionBackground): Likewise.
5408 (setSelectionForeground): Likewise.
5409 (setPrototypeCellValue): Likewise.
5410 (setCellRenderer): Replaced constant with real string.
5411 (setModel): Likewise.
5412 (setSelectionModel): Likewise.
5413 * javax/swing/JMenuBar.java
5414 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5415 (MODEL_CHANGED_PROPERTY): Likewise.
5416 (MARGIN_CHANGED_PROPERTY): Likewise.
5417 (setBorderPainted): Reimplemented.
5418 (setMargin): Likewise.
5419 (setSelectionModel): Replaced constant with real string.
5420 * javax/swing/JPopupMenu.java
5421 (LABEL_CHANGED_PROPERTY): Removed.
5422 (VISIBLE_CHANGED_PROPERTY): Likewise.
5423 (borderPainted): Likewise.
5424 (setLabel): Replaced constant with real string.
5425 (setVisible): Exit if new value is identical.
5426 Replaced constant with real string.
5427 * javax/swing/JProgressBar.java
5428 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5429 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5430 (STRING_CHANGED_PROPERTY): Likewise.
5431 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5432 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5433 (setOrientation): Replaced constant with real string.
5434 (setStringPainted): Likewise.
5435 (setString): Likewise.
5436 (setBorderPainted): Likewise.
5437 (setIndeterminate): Likewise.
5438 * javax/swing/JScrollBar.java
5439 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5440 (MODEL_CHANGED_PROPERTY): Likewise.
5441 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5442 (setOrientation): Replaced constant with real string.
5443 (setModel): Likewise.
5444 (setUnitIncrement): Likewise.
5445 (setBlockIncrement): Likewise.
5446 * javax/swing/JScrollPane.java
5447 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5448 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5449 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5450 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5451 (LAYOUT_CHANGED_PROPERTY): Likewise.
5452 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5453 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5454 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5455 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5456 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5457 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5458 (setComponentOrientation): Replaced constant with real string.
5459 (setColumnHeader): Likewise.
5460 (setHorizontalScrollBar): Likewise.
5461 (setHorizontalScrollBarPolicy): Likewise.
5462 (setRowHeader): Likewise.
5463 (setVerticalScrollBar): Likewise.
5464 (setVerticalScrollBarPolicy): Likewise.
5465 (setWheelScrollingEnabled): Likewise.
5466 (setViewport): Likewise.
5467 (setViewportBorder): Likewise.
5468 * javax/swing/JSlider.java
5469 (INVERTED_CHANGED_PROPERTY): Removed.
5470 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5471 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5472 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5473 (MODEL_CHANGED_PROPERTY): Likewise.
5474 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5475 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5476 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5477 (setModel): Replaced constant with real string.
5478 (setOrientation): Likewise.
5479 (setLabelTable): Likewise.
5480 (setInverted): Likewise.
5481 (setMajorTickSpacing): Likewise.
5482 (setMinorTickSpacing): Likewise.
5483 (setPaintTicks): Likewise.
5484 (setPaintLabels): Likewise.
5485 * javax/swing/JTabbedPane.java
5486 (MODEL_CHANGED_PROPERTY): Removed.
5487 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5488 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5489 (setModel): Replaced constant with real string.
5490 (setTabPlacement): Likewise.
5491 (setTabLayoutPolicy): Likewise.
5492 * javax/swing/JToolBar.java
5493 (ORIENTATION_CHANGED_PROPERTY): Removed.
5494 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5495 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5496 (MARGIN_CHANGED_PROPERTY): Likewise.
5497 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5498 (setRollover): Replaced constant with real string.
5499 (setMargin): Likewise.
5500 (setBorderPainted): Likewise.
5501 (setFloatable): Likewise.
5502 (setOrientation): Likewise.
5503 * javax/swing/plaf/basic/BasicComboBoxUI.java
5504 (PropertyChangeHandler.propertyChange): Likewise.
5505 * javax/swing/plaf/basic/BasicComboPopup.java
5506 (PropertyChangeHandler.propertyChange): Likewise.
5507 * javax/swing/plaf/basic/BasicMenuBarUI.java
5508 (PropertyChangeHandler.propertyChange): Likewise.
5509 * javax/swing/plaf/basic/BasicProgressBarUI.java
5510 (PropertyChangeHandler.propertyChange): Likewise.
5511 * javax/swing/plaf/basic/BasicScrollBarUI.java
5512 (PropertyChangeHandler.propertyChange): Likewise.
5513 * javax/swing/plaf/basic/BasicSliderUI.java
5514 (PropertyChangeHandler.propertyChange): Likewise.
5515 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5516 (PropertyChangeHandler.propertyChange): Likewise.
5517 * javax/swing/plaf/basic/BasicToolBarUI.java
5518 (PropertyChangeHandler.propertyChange): Likewise.
5520 2005-02-15 Michael Koch <konqueror@gmx.de>
5522 * javax/swing/DefaultButtonModel.java
5523 (changeState): Made private.
5524 * javax/swing/DefaultDesktopManager.java
5525 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5526 * javax/swing/JLayeredPane.java
5527 (layerToRange): Made private.
5528 (incrLayer): Likewise.
5529 (decrLayer): Likewise.
5530 * javax/swing/JTable.java
5531 (dragEnabled): Likewise.
5532 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5533 * javax/swing/KeyStroke.java
5534 (Keystroke): Made private.
5535 * javax/swing/TransferHandler.java
5536 (COMMAND_COPY): Likewise.
5537 (COMMAND_CUT): Likewise.
5538 (COMMAND_PASTE): Likewise.
5540 2005-02-15 Michael Koch <konqueror@gmx.de>
5542 * javax/swing/JTextField.java
5543 (postActionEvent): Use text in field when actionCommand is null.
5544 (getActionCommand): Removed.
5546 2005-02-15 Michael Koch <konqueror@gmx.de>
5548 * javax/swing/AbstractSet.java: Removed.
5549 * Makefile.am: Removed javax/swing/AbstractSet.java.
5550 * Makefile.in: Regenerated.
5552 2005-02-15 Michael Koch <konqueror@gmx.de>
5554 * java/awt/Window.java
5555 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5556 * java/awt/dnd/DnDConstants.java
5557 (DnDConstants): New private constructor.
5559 2005-02-15 Michael Koch <konqueror@gmx.de>
5561 * javax/swing/DefaultCellRenderer.java: Removed.
5562 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5563 * Makefile.in: Regenerated.
5565 2005-02-15 Michael Koch <konqueror@gmx.de>
5567 * javax/swing/AbstractButton.java
5568 (fireItemStateChanged): Made protected.
5569 (fireActionPerformed): Likewise.
5570 (fireStateChanged): Likewise.
5571 * javax/swing/DefaultButtonModel.java
5572 (fireItemStateChanged): Likewise.
5573 (fireActionPerformed): Likewise.
5574 (fireStateChanged): Likewise.
5575 * javax/swing/JApplet.java
5577 (frameInit): Likewise.
5578 (setRootPane): Made protected.
5579 (createRootPane): Likewise.
5580 * javax/swing/JComponent.java
5581 (getClientProperty): Likewise.
5582 (putClientProperty): Likewise.
5583 * javax/swing/JEditorPane.java
5584 (getContentType): Likewise.
5585 (setContentType): Likewise.
5586 * javax/swing/JFrame.java
5587 (setRootPane): Likewise.
5588 (createRootPane): Likewise.
5589 * javax/swing/JInternalFrame.java
5590 (getFocusCycleRootAncestor): Made final. Added @since tag.
5591 (isFocusCycleRoot): Likewise.
5592 (getWarningString): Made final.
5593 * javax/swing/JScrollBar.java
5594 (changeListener): Removed.
5595 (changeEvent): Likewise.
5596 (createChangeListener): Likewise.
5597 (fireStateChanged): Likewise.
5598 (addChangeListener): Likewise.
5599 (removeChangeListener): Likewise.
5600 (getChangeListeners): Likewise.
5601 * javax/swing/JScrollPane.java
5602 (createViewport): Made protected.
5603 * javax/swing/JViewport.java
5604 (addImpl): Likewise.
5605 (setBorder): New method.
5606 * javax/swing/JWindow.java
5607 (setRootPane): Made protected.
5608 (createRootPane): Likewise.
5609 * javax/swing/plaf/basic/BasicButtonUI.java
5610 (installListeners): Likewise.
5611 (uninstallListeners): Likewise.
5612 * javax/swing/plaf/basic/BasicProgressBarUI.java
5613 (incrementAnimationIndex): Likewise.
5614 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5615 (createLayoutManager): Likewise.
5616 * javax/swing/table/DefaultTableCellRenderer.java
5617 (firePropertyChange): Likewise.
5618 * javax/swing/table/JTableHeader.java
5619 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5621 * javax/swing/text/PlainDocument.java
5622 (reindex): Made private.
5623 * javax/swing/text/PlainView.java
5624 (drawLine): Made protected.
5625 (getTabSize): Likewise.
5626 * javax/swing/text/View.java
5628 (preferenceChanged): New method.
5629 (getBreakWeight): Likewise.
5630 (breakView): Likewise.
5631 (getViewIndex): Likewise.
5633 2005-02-15 Michael Koch <konqueror@gmx.de>
5635 * javax/swing/JScrollPane.java
5636 (ScrollBar): Made class protected.
5637 * javax/swing/JSpinner.java
5638 (JSpinner): Added @since tag.
5639 (listenerList): Removed.
5640 * javax/swing/JTable.java
5641 (setValueAt): New method.
5642 (getColumn): Likewise.
5643 * javax/swing/JWindow.java
5644 (rootPaneCheckingEnabled): Renamed from checking.
5646 2005-02-15 Michael Koch <konqueror@gmx.de>
5648 * javax/swing/plaf/basic/BasicTextUI.java
5649 (RootView.modelToView): Made it public and return a java.awt.Shape.
5650 Handle null subview.
5651 (uninstall): Set textComponent to null when its not possible used
5653 * javax/swing/text/View.java
5654 (setParent): Use better argument name.
5655 (getContainer): Get parent via getParent().
5656 (getViewFactory): Likewise.
5657 (getAttributes): Get element via getElement().
5658 (getStartOffset): Likewise.
5659 (getEndOffset): Likewise.
5660 (getResizeWeight): New method.
5661 (getMaximumSpan): Likewise.
5662 (getMinimumSpan): Likewise.
5663 (setSize): Likewise.
5664 (getGraphics): Likewise.
5666 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5668 * java/awt/Checkbox.java:
5669 (AccessibleAWTCheckbox()): Added public constructor
5671 * java/awt/Choice.java:
5672 (AccessibleAWTChoice): Added class documentation.
5673 (AccessibleAWTChoice()): Added public constructor
5675 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5676 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5677 and changed role to COMBO_BOX.
5678 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5679 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5680 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5682 2005-02-15 Graydon Hoare <graydon@redhat.com>
5683 Michael Koch <konqueror@gmx.de>
5685 * javax/swing/LayoutFocusTraversalPolicy.java,
5686 javax/swing/SortingFocusTraversalPolicy.java:
5688 * Makefile.am: Added new classes.
5689 * Makefike.in: Regenerated.
5692 2005-02-15 Michael Koch <konqueror@gmx.de>
5694 * javax/swing/DebugGraphics.java: Mostly implemented.
5696 2005-02-15 Michael Koch <konqueror@gmx.de>
5698 * javax/swing/SwingUtilities.java
5699 (findFocusOwner): New method.
5701 2005-02-15 Michael Koch <konqueror@gmx.de>
5703 * javax/swing/text/DefaultEditorKit.java
5704 (read): Added '\n' after each line.
5705 * javax/swing/text/PlainView.java
5706 (modelToView): Update metrics.
5707 (drawLine): Use offsets from element.
5708 (paint): Update metrics. Draw all lines.
5710 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5712 * java/awt/Checkbox.java:
5713 (AccessibleAWTCheckbox): Added class documentation
5714 * java/awt/Scrollbar.java:
5715 (AccessibleAWTScrollBar): typo corrected and docs added
5716 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5717 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5718 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5719 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5720 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5721 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5722 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5723 (getAccessibleContext()): name of accessible class corrected
5725 2005-02-15 Mark Wielaard <mark@klomp.org>
5727 * java/awt/BasicStroke.java (hashCode): Implement.
5730 2005-02-15 Michael Koch <konqueror@gmx.de>
5732 * java/awt/print/PrinterJob.java
5733 (pageDialog): Throws java.awt.HeadlessException.
5734 (printDialog): Likewise.
5736 2005-02-15 Mark Wielaard <mark@klomp.org>
5738 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5740 2005-02-15 Michael Koch <konqueror@gmx.de>
5742 * javax/swing/JTable.java
5743 (getValueAt): New method.
5744 * javax/swing/table/JTableHeader.java
5745 (columnAtPoint): New method.
5747 2005-02-15 Michael Koch <konqueror@gmx.de>
5749 * javax/swing/JTextField.java
5750 (actions): New field.
5751 (static): Initalize actions field.
5752 (getActions): New method.
5754 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5756 * java/awt/Checkbox.java:
5757 (AccessibleAWTCheckbox): name capitalization corrected
5758 and serialization UID added.
5759 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5761 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5762 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5763 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5764 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5765 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5766 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5767 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5768 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5769 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5770 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5771 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5773 (getAccessibleContext()): name of accessible class corrected
5775 2005-02-15 Sven de Marothy <sven@physto.se>
5777 * java/awt/geom/doc-files/Area-1.png,
5778 java/awt/geom/doc-files/Ellipse-1.png,
5779 java/awt/geom/doc-files/GeneralPath-1.png:
5782 2005-02-15 Graydon Hoare <graydon@redhat.com>
5784 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5785 Use union to avoid type-punning warning.
5787 2005-02-15 Michael Koch <konqueror@gmx.de>
5789 * javax/swing/DefaultListSelectionModel.java
5790 (clone): New method.
5792 2005-02-15 Mark Wielaard <mark@klomp.org>
5794 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5795 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5796 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5797 Correct method signature of gtkSetFilename.
5799 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5801 * javax/swing/text/StringContent.java: New file.
5803 2005-02-15 Michael Koch <konqueror@gmx.de>
5805 * Makefile.am: Added javax/swing/text/StringContent.java.
5806 * Makefile.in: Regenerated.
5808 2005-02-15 Michael Koch <konqueror@gmx.de>
5810 * gnu/java/awt/ClasspathToolkit.java:
5811 Import statements reworked.
5812 (imageCache): Made it of type java.util.HashMap.
5814 2005-02-15 Michael Koch <konqueror@gmx.de>
5816 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5817 Reworked import statements.
5819 2005-02-15 Graydon Hoare <graydon@redhat.com>
5821 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5823 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5825 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5826 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5827 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5828 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5829 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5830 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5831 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5832 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5833 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5834 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5837 Rewrite uses of extern variable to be function calls.
5838 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5839 function, from extern variable.
5840 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5841 (gdk_env): Remove variable, add new function.
5842 (java_vm): Add new variable.
5843 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5844 java_vm rather than old gdk_env variable.
5846 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5848 * javax/swing/DefaultListModel.java
5849 (add): fire correct event,
5850 (addElement): corrected interval indices in event,
5851 (clear): corrected upper bound for interval, only fire event if
5853 (setSize): fire appropriate event.
5855 2005-02-15 Graydon Hoare <graydon@redhat.com>
5857 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5858 * gnu/awt/xlib/XToolkit.java: Likewise.
5859 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5860 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5861 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5862 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5863 * java/awt/EventQueue.java (getNextEvent):
5864 Adjust event loop to switch to native mode after 100ms.
5865 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5867 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5868 Wake up event thread.
5869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5870 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5871 Adjust event loop to switch to java mode after 100ms.
5873 2005-02-15 Graydon Hoare <graydon@redhat.com>
5875 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5876 accidentally removed in last change.
5878 2005-02-15 Michael Koch <konqueror@gmx.de>
5880 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5881 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5883 2005-02-15 Graydon Hoare <graydon@redhat.com>
5885 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5886 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5887 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5888 * jni.cc: Reuse bottom frame between calls, avoid clearing
5889 frame when no local references are made.
5891 2005-02-15 Michael Koch <konqueror@gmx.de>
5893 * javax/swing/UIDefaults.java (UIDefaults):
5894 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5895 Fixed HTML entity and removed a redundant comma.
5897 2005-02-15 Michael Koch <konqueror@gmx.de>
5899 * javax/swing/text/DefaultEditorKit.java
5900 (deinstall): Removed.
5901 (install): Likewise.
5903 2005-02-15 Michael Koch <konqueror@gmx.de>
5905 * javax/swing/UIDefaults.java (put): Handle value of null.
5907 2005-02-15 Michael Koch <konqueror@gmx.de>
5909 * java/awt/Robot.java,
5910 java/awt/Scrollbar.java,
5911 java/awt/print/PrinterJob.java,
5912 javax/swing/JTable.java,
5913 javax/swing/text/AbstractDocument.java:
5914 Reworked import statements.
5916 2005-02-15 Michael Koch <konqueror@gmx.de>
5918 * javax/swing/JEditorPane.java
5919 (read): Implemented.
5921 * javax/swing/text/DefaultEditorKit.java
5922 (page): Renamed from page_url. Made private.
5923 (editorKit): Renamed from kit. Made private.
5925 (JEditorPane): All constructors reimplemented.
5926 (getContentType): Use content type from editor kit.
5927 (getEditorKit): Return editorKit.
5928 (getEditorKitForContentType):Likewise.
5929 (getPage): Return page.
5930 (setContentType): Reimplemented.
5931 (setEditorKit): Likewise.
5932 (setEditorKitForContentType): Removed wrong implementation.
5933 (setPage): Implemented.
5935 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5937 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5938 (nativeSetIconImageFromData): Re-add native implementation.
5940 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5942 * javax/swing/table/DefaultTableModel.java
5943 (DefaultTableModel()): Added Javadocs.
5944 (DefaultTableModel(int, int)): Fixed implementation.
5945 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5946 for negative rowCount.
5947 (DefaultTableModel(Object[], int)): Added Javadocs.
5948 (DefaultTableModel(Vector, Vector)): Likewise.
5949 (DefaultTableModel(Object[][], Object[])): Likewise.
5950 (getDataVector): Likewise.
5951 (setDataVector(Vector, Vector)): Likewise.
5952 (setDataVector(Object[][], Object[])): Likewise.
5953 (newDataAvailable): Likewise.
5954 (newRowsAdded): Likewise.
5955 (rowsRemoved): Likewise.
5956 (setColumnIdentifiers(Vector)): Allow for null argument.
5957 (setColumnIdentifiers(Object[])): Added Javadocs.
5958 (setNumRows): Likewise.
5959 (setRowCount): Adds new rows if necessary, and sends more specific
5961 (setColumnCount): Allow for null columnIdentifiers.
5962 (addColumn(Object)): Added Javadocs.
5963 (addColumn(Object, Vector)): Handle null columnData.
5964 (addColumn(Object, Object[])): Handle columnData with more or less
5965 entries than rows in the table.
5966 (addRow(Vector)): Fire appropriate event.
5967 (addRow(Object[])): Added Javadocs.
5968 (insertRow(int, Vector)): Fire appropriate event.
5969 (insertRow(int, Object[])): Added Javadocs.
5970 (moveRow): Reimplemented.
5971 (removeRow(int)): Fire appropriate event.
5972 (getColumnCount): Allow for null columnIdentifiers.
5973 (getColumnName): Now returns empty string when column index is too
5975 (isCellEditable): Added Javadocs.
5976 (getValueAt): Likewise.
5977 (setValueAt): Fire more specific event.
5978 (convertToVector): Added Javadocs.
5979 * javax/swing/table/TableModel.java
5982 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5984 * libgcj.spec.in (lib): Add -l-javax-imageio.
5986 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5988 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5989 references to event queue q with method call q().
5990 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5991 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5992 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5993 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5994 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5995 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5998 2005-02-15 Graydon Hoare <graydon@redhat.com>
6000 * gnu/java/awt/ClasspathToolkit.java
6001 (registerImageIOSpis): New method.
6002 * gnu/java/awt/image/ImageDecoder.java
6003 (imageDecoder): New constructor using InputStream
6004 (startProduction): Handle existing InputStream.
6005 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6006 (findSimpleIntegerArray): Make public and static.
6007 (updateBufferedImage): Set each pixel, in a loop.
6008 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6009 Implement ImageIO SPI classes.
6010 (createBufferedImage): Rewrite in terms of SPI classes.
6011 * gnu/java/awt/peer/gtk/GtkToolkit.java
6012 (registerImageIOSpis): New method.
6013 * java/lang/reflect/natMethod.cc
6014 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
6015 which lets JNI call interface methods properly.
6016 * javax/imageio/ImageIO.java
6017 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6018 (WriterMIMETypeFilter.filter): Likewise.
6019 (ImageReaderIterator): Pass extension argument through to SPI.
6020 (getReadersByFilter): Likewise.
6021 (getWritersByFilter): Likewise.
6022 (getImageReadersByFormatName): Likewise.
6023 (getImageReadersByMIMEType): Likewise.
6024 (getImageReadersBySuffix): Likewise.
6025 (getImageWritersByFormatName): Likewise.
6026 (getImageWritersByMIMEType): Likewise.
6027 (getImageWritersBySuffix): Likewise.
6030 * javax/imageio/ImageReader.java
6031 (progressListeners): Initialize.
6032 (setInput): Implement.
6033 * javax/imageio/ImageWriter.java
6034 (progressListeners): Initialize.
6035 (warningListeners): Likewise.
6036 (warningLocales): Likewise.
6037 (setOutput): Test "isInstance" rather than class equality.
6038 * javax/imageio/spi/IIORegistry.java
6039 (static): Add reader and writer SPIs.
6040 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6041 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6042 (query_formats): New function.
6043 (save_to_stream): Likewise.
6044 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6046 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6050 (keyPress): Likewise.
6051 (keyRelease): Likewise.
6053 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6055 * javax/swing/JTable.java
6056 (columnAtPoint): New Method. Implemented.
6057 (rowAtPoint): Likewise.
6058 (countSelections): Fixed few small count errors.
6059 (getSelections): Likewise.
6060 (setSelectionMode): Set selection mode for column
6061 selection model in addition to row selection model.
6062 * javax/swing/plaf/basic/BasicTableUI.java:
6063 (getRowForPoint): Removed. Replaced by
6064 JTable.rowAtPoint().
6065 (getColForPoint): Removed. Replaced by
6066 JTable.columnAtPoint().
6067 (updateSelection): Updated to call JTable.columnAtPoint
6068 and JTable.rowAtPoint.
6069 * javax/swing/table/DefaultTableColumnModel.java:
6070 (getSelectedColumns): Implemented.
6071 (getSelectedColumnCount): Implemented.
6073 2005-02-15 Graydon Hoare <graydon@redhat.com>
6076 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6077 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6078 * Makefile.in: Regenerate.
6079 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6080 * gnu/awt/xlib/XFramePeer.java: Likewise.
6081 * gnu/awt/xlib/XToolkit.java: Likewise.
6082 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6083 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6084 * gnu/java/awt/ClasspathToolkit.java
6087 (iterateNativeQueue): New methods.
6088 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6089 * gnu/java/awt/peer/gtk/GtkToolkit.java
6090 (gtkInit): Absorb from defunct GtkMainThread class.
6091 (static): Run gtkInit in static startup block.
6092 (GtkToolkit): Remove construction of GtkMainThread and queue.
6093 (getSystemEventQueueImpl): Construct queue when requested.
6096 (iterateNativeQueue): New methods.
6097 * java/awt/Component.java (removeNotify): Remove race.
6098 * java/awt/EventDispatchThread.java
6099 (EventDispatchThread): Don't start on construction.
6100 (run): Remove isInterrupted check.
6101 * java/awt/EventQueue.java (shutdown): New flag.
6102 (isShutdown): New method checking J2SE shutdown condition.
6103 (setShutdown): New method.
6104 (getNextEvent): Restructure to use ClasspathToolkit.
6105 (postEvent): Activate new thread on posting, wake thread on
6106 post of possible shutdown condition event.
6107 * java/awt/Frame.java
6108 (Frame): Call noteFrame in all constructors.
6109 (fireDummyEvent): New helper method.
6110 (addNotify): Fire a dummy event to wake up queue.
6111 (removeNotify): Fire a dummy event to wake up queue.
6112 (noteFrame): New method.
6113 (weakFrames): New static field.
6114 (getFrames): Implement.
6115 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6118 Move everything from GtkMainThread into this file
6119 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6120 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6121 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6122 New functions to implement single-threaded queue semantics.
6124 2005-02-15 Michael Koch <konqueror@gmx.de>
6126 * javax/swing/plaf/metal/MetalLookAndFeel.java
6127 (getControlTextFont): New method.
6128 (getMenuTextFont): Likewise.
6129 (getSubTextFont): Likewise.
6130 (getSystemTextFont): Likewise.
6131 (getUserTextFont): Likewise.
6132 (getWindowTitleFont): Likewise.
6134 2005-02-15 Michael Koch <konqueror@gmx.de>
6136 * javax/swing/text/AbstractDocument.java
6137 (documentFilter): New field.
6138 (getDocumentFilter): New method.
6139 (setDocumentFilter): Likewise.
6142 2005-02-15 Michael Koch <konqueror@gmx.de>
6144 * javax/swing/JTree.java
6145 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6147 2005-02-15 Michael Koch <konqueror@gmx.de>
6149 * javax/swing/text/AbstractDocument.java
6150 (AbstractElement.getLength): Fixed off-by-one error.
6151 (AbstractElement.children): Made abstract.
6152 (AbstractElement.getAllowsChildren): Likewise.
6153 (AbstractElement.getElement): Likewise.
6154 (AbstractElement.dumpElement): New private method.
6155 (AbstractElement.dump): New method.
6156 (BranchElememt.getName): Fixed implementation.
6157 (BranchElememt.toString): Likewise.
6158 (BranchElememt.getElement): Fixed arguments.
6159 (LeafElement.getName): Fixed implementation.
6160 (LeafElement.toString): Likewise.
6161 * javax/swing/text/GapContent.java
6162 (GapContent): Put default content into buffer.
6163 * javax/swing/text/PlainDocument.java
6164 (reindex): Use empty attribute sets instead of null.
6165 (createDefaultRoot): Reimplemented.
6166 (insertUpdate): Call super method.
6167 (removeUpdate): Likewise.
6168 (getParagraphElement): Implemented.
6170 2005-02-15 Michael Koch <konqueror@gmx.de>
6172 * gnu/java/awt/ClasspathToolkit.java
6173 (createRobot): Throws java.awt.AWTException.
6174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6175 Added '__attribute__((unused))' to all unused method arguments.
6177 2005-02-15 Michael Koch <konqueror@gmx.de>
6179 * javax/swing/DefaultBoundedRangeModel.java
6180 (fireValueChanged): Fixed off-by-one error.
6182 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6184 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6185 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6187 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6188 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6189 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6190 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6191 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6192 (getDefaultScreenDevice): Implement.
6193 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6194 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6195 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6196 * java/awt/Robot.java: Implement.
6197 * java/awt/peer/RobotPeer.java: Rename parameters.
6198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6199 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6200 (awt_keycode_to_keysym): Make non-static.
6201 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6202 AWT_BUTTON3_MASK): Declare constants.
6203 (awt_keycode_to_keysym): Declare.
6205 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6206 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6207 and is non-empty pass its value to "make check".
6208 (test_mauve_sim): Likewise.
6210 2005-02-15 Michael Koch <konqueror@gmx.de>
6212 * javax/imageio/IIOParam.java
6213 (setSourceBands): New method.
6214 (setSourceSubsampling): Likewise.
6215 * javax/imageio/ImageReadParam.java
6216 (setDestination): Likewise.
6217 (setDestinationBands): Likewise.
6218 (setSourceProgressivePasses): Likewise.
6219 * javax/imageio/metadata/IIOInvalidTreeException.java
6220 (serialVersionUID): New static field.
6221 * javax/imageio/metadata/IIOMetadataNode.java
6222 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6223 (parent): Dont initailize with default value explicitely.
6225 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6226 (removeAttributeNode): Likewise.
6227 (removeAttributeNS): Likewise.
6228 (setAttribute): Likewise.
6229 (setAttributeNode): Likewise.
6230 (setAttributeNodeNS): Likewise.
6231 (setAttributeNS): Likewise.
6232 (appendChild): Likewise.
6233 (getNodeValue): Likewise.
6234 (insertBefore): Likewise.
6235 (removeChild): Likewise.
6236 (replaceChild): Likewise.
6237 (setPrefix): Likewise.
6239 2005-02-15 Michael Koch <konqueror@gmx.de>
6241 * javax/swing/LookAndFeel.java
6242 (getDesktopPropertyValue): New method.
6244 2005-02-15 Michael Koch <konqueror@gmx.de>
6246 * javax/swing/JTree.java
6247 (hasChildren): New instance field.
6249 2005-02-15 Michael Koch <konqueror@gmx.de>
6251 * javax/swing/JComponent.java
6252 (getToolTipText): New method.
6253 (getTitledBorderText): Likewise.
6254 (getAccessibleKeyBinding): Likewise.
6255 (getVerifyInputWhenFocusTarget): Likewise.
6256 (setVerifyInputWhenFocusTarget): Likewise.
6257 (verifyInputWhenFocusTarget): New instance field.
6259 2005-02-15 Michael Koch <konqueror@gmx.de>
6261 * javax/swing/DefaultListSelectionModel.java
6262 (fireValueChanged): New method.
6264 2005-02-15 Michael Koch <konqueror@gmx.de>
6266 * javax/swing/DefaultBoundedRangeModel.java:
6267 Fixed javadocs all over.
6268 (fireStateChanged): Simplified.
6269 * javax/swing/BoundedRangeModel.java:
6272 2005-02-15 Michael Koch <konqueror@gmx.de>
6274 * javax/swing/JRootPane.java
6275 (setMenuBar): Added @deprecated tag.
6276 (getMenuBar): Likewise.
6277 * javax/swing/JTable.java
6278 (sizeColumnsToFit): Likewise.
6280 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6282 * javax/swing/ImageIcon.java (setImage): Implemented.
6284 2005-02-15 Michael Koch <konqueror@gmx.de>
6286 * javax/swing/JTable.java:
6287 Removed unused imports.
6289 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6291 (prepareRenderer): Get column's index in dataModel instead
6292 of column's view index.
6293 (getColumnCount): return count of the columns in ColumnModel,
6295 (removeColumn): Implemented.
6296 (moveColumm): Likewise.
6297 (setRowHeight): throw IllegalArgumentException if height is
6299 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6300 (DefaultTableColumnModel):Add call to createSelectionModel().
6301 (addColumn): Fire columnAdded event to registered listeners.
6302 (removeColumn): Fire columnRemoved event to registered listeners.
6303 (moveColumn): Fire columnMoved event to registered listeners.
6304 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6305 (getColumnIndex): Changed parameter name.
6306 (setColumnSelectionAllowed): Likewise.
6307 (fireColumnAdded): Implemented.
6308 (fireColumnRemoved): Likewise.
6309 (fireColumnMoved): Likewise.
6310 (fireColumnMarginChanged): Likewise.
6311 (getListeners): Changed parameter name.
6312 (propertyChange): Implemented.
6313 (valueChanged): Changed parameter name.
6314 (createSelectionModel): Implemented.
6316 2005-02-15 Michael Koch <konqueror@gmx.de>
6318 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6319 Explicitely import used classes.
6320 (getLocalGraphicsEnvironment): Simplify.
6321 * java/awt/Window.java (Window):
6322 Enable code to get the default GraphicsConfiguration.
6324 2005-02-15 Michael Koch <konqueror@gmx.de>
6326 * javax/swing/plaf/metal/DefaultMetalTheme.java
6327 (CONTROL_TEXT_FONT): New static field.
6328 (MENU_TEXT_FONT): Likewise.
6329 (SUB_TEXT_FONT): Likewise.
6330 (SYSTEM_TEXT_FONT): Likewise.
6331 (USER_TEXT_FONT): Likewise.
6332 (WINDOW_TITLE_FONT): Likewise.
6333 (getControlTextFont): New method.
6334 (getMenuTextFont): Likewise.
6335 (getSubTextFont): Likewise.
6336 (getSystemTextFont): Likewise.
6337 (getUserTextFont): Likewise.
6338 (getWindowTitleFont): Likewise.
6339 * javax/swing/plaf/metal/MetalTheme.java
6340 (BLACK): Initialize with Color.BLACK.
6341 (WHITE): Initialize with Color.WHITE.
6342 (getInactiveControlTextColor): Return getControlDisabled().
6343 (getMenuDisabledForeground): Return getSecondary3().
6344 (getControlTextFont): New abstract method.
6345 (getMenuTextFont): Likewise.
6346 (getSubTextFont): Likewise.
6347 (getSystemTextFont): Likewise.
6348 (getUserTextFont): Likewise.
6349 (getWindowTitleFont): Likewise.
6351 2005-02-15 Michael Koch <konqueror@gmx.de>
6353 * javax/swing/JFormattedTextField.java
6354 (getFocusLostBehavior): Fixed typo in method name.
6355 (setFocusLostBehavior): Likewise.
6357 2005-02-15 Michael Koch <konqueror@gmx.de>
6359 * javax/swing/TransferHandler.java:
6360 Reworked import statements.
6362 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6364 * java/awt/Button.java,
6365 java/awt/Canvas.java,
6366 java/awt/Checkbox.java,
6367 java/awt/CheckboxMenuItem.java,
6368 java/awt/Choice.java,
6369 java/awt/Dialog.java,
6370 java/awt/Frame.java,
6371 java/awt/Label.java,
6374 java/awt/MenuBar.java,
6375 java/awt/MenuItem.java,
6376 java/awt/PopupMenu.java,
6377 java/awt/ScrollPane.java,
6378 java/awt/Scrollbar.java,
6379 java/awt/TextArea.java,
6380 java/awt/Window.java (getAccessibleContext): Clean up comments.
6382 * java/awt/Button.java,
6383 java/awt/Checkbox.java,
6384 java/awt/Choice.java,
6386 java/awt/PopupMenu.java,
6387 java/awt/TextArea.java (getAccessibleContext): Only create new
6389 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6391 2005-02-15 Michael Koch <konqueror@gmx.de>
6393 * java/awt/Button.java,
6394 javax/swing/JApplet.java,
6395 javax/swing/JFormattedTextField.java,
6396 javax/swing/JWindow.java,
6397 javax/swing/JTree.java,
6398 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6399 javax/swing/plaf/basic/BasicTextPaneUI.java,
6400 javax/swing/plaf/basic/BasicTreeUI.java:
6401 Reworked import statements.
6403 2005-02-15 Michael Koch <konqueror@gmx.de>
6405 * Makefile.am: Put javax.imageio into its own library and link it
6406 against lib-org-w3c-dom.la to fix bootstrapping.
6407 * Makefile.in: Regenerated.
6409 2005-02-15 Michael Koch <konqueror@gmx.de>
6411 * javax/swing/text/TextAction.java
6412 (getTextComponent): Simplified. Added Javadoc.
6413 (augmentList): Implemented. Added Javadoc.
6414 (getFocusedComponent): Added javadoc.
6416 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6418 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6419 getAccessibleContext): Implement.
6420 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6421 getAccessibleContext): Implement.
6423 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6425 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6427 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6429 * java/awt/Window.java (getAccessibleContext): Fix comment.
6430 Remove extra import.
6432 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6434 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6435 (isActive, isFocused, getAccessibleContext): Implement.
6437 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6439 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6440 * java/awt/MenuComponent.java (accessibleContext): Make package
6442 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6443 AccessibleAWTCheckboxMenuItem): Implement.
6445 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6447 * java/awt/List.java: Implement AccessibleAWTList,
6448 AccessibleAWTListChild.
6450 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6452 * java/awt/Choice.java: Add implements declaration for
6455 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6457 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6460 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6462 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6463 implemented interface list.
6465 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6467 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6468 * javax/imageio/metadata/IIOAttr.java: New class.
6469 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6470 * javax/imageio/metadata/IIONodeList.java: New class.
6471 * Makefile.am: Added new files.
6472 * Makefile.in: Regenerated.
6474 2005-02-15 Michael Koch <konqueror@gmx.de>
6476 * javax/swing/AbstractAction.java,
6477 javax/swing/AbstractCellEditor.java,
6478 javax/swing/AbstractListModel.java,
6479 javax/swing/DefaultBoundedRangeModel.java,
6480 javax/swing/DefaultButtonModel.java,
6481 javax/swing/DefaultCellEditor.java,
6482 javax/swing/DefaultComboBoxModel.java,
6483 javax/swing/DefaultDesktopManager.java,
6484 javax/swing/JMenu.java,
6485 javax/swing/JSlider.java,
6486 javax/swing/KeyStroke.java,
6487 javax/swing/OverlayLayout.java,
6488 javax/swing/ScrollPaneLayout.java,
6489 javax/swing/SizeRequirements.java,
6490 javax/swing/ViewportLayout.java:
6491 Made serialVersionUID private.
6493 2005-02-15 Michael Koch <konqueror@gmx.de>
6495 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6498 2005-02-15 Michael Koch <konqueror@gmx.de>
6500 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6502 2005-02-15 Michael Koch <konqueror@gmx.de>
6504 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6506 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6508 * java/awt/EventDispatchThread.java,
6509 java/awt/Toolkit.java:
6510 Don't catch java.lang.ThreadDeath.
6512 2005-02-15 Michael Koch <konqueror@gmx.de>
6514 * javax/swing/text/PasswordView.java
6515 (drawEchoCharacter): Added javadoc.
6516 (drawSelectedText): Likewise.
6517 (drawUnselectedText): Likewise.
6519 2005-02-15 Michael Koch <konqueror@gmx.de>
6521 * javax/swing/JRootPane.java
6522 (windowDecorationStyle): New field.
6523 (setMenuBar): New method.
6524 (getMenuBar): Likewise.
6525 (getWindowDecorationStyle): Likewise.
6526 (setWindowDecorationStyle): Likewise.
6528 2005-02-15 Michael Koch <konqueror@gmx.de>
6530 * javax/swing/DefaultListSelectionModel.java
6531 (leadAnchorNotificationEnabled): Made protected.
6533 2005-02-15 Michael Koch <konqueror@gmx.de>
6535 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6536 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6537 * Makefile.in: Regenerated.
6540 2005-02-15 Michael Koch <konqueror@gmx.de>
6542 * javax/swing/JFormattedTextField.java: Implemented.
6543 * javax/swing/JWindow.java
6544 (JWindow): New constructors.
6545 (initWindow): Renamed from initFrame.
6546 * javax/swing/UIDefaults.java
6547 (ActiveValue): Made interface static.
6548 (LazyValue): Likewise.
6549 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6550 (TitlePaneLayout.TitlePaneLayout): New constructor.
6551 * javax/swing/plaf/basic/BasicSliderUI.java
6552 (ChangeHandler): Made public.
6553 (FocusHandler): Likewise.
6554 (PropertyChangeHandler): Likewise.
6555 (ScrollListener): Likewise.
6556 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6557 (FocusHandler): Likewise.
6558 (MouseHandler): Likewise.
6559 * javax/swing/plaf/basic/BasicTextPaneUI.java
6560 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6561 * javax/swing/plaf/basic/BasicToolBarUI.java
6562 (BasicToolBarUI): Simplified. Reworked javadoc.
6563 (canDock): Simplified. Make public.
6564 (DockingListener): Made public.
6565 * javax/swing/text/JTextComponent.java
6566 (navigationFilter): New field.
6567 (getNavigationFilter): New method.
6568 (setNavigationFilter): Likewise.
6570 2005-02-15 Michael Koch <konqueror@gmx.de>
6572 * javax/swing/plaf/metal/MetalTheme.java
6573 (getControlTextColor): Return getControlInfo().
6574 (getHighlightedTextColor): Return getControlTextColor().
6576 2005-02-15 Michael Koch <konqueror@gmx.de>
6578 * javax/swing/plaf/basic/BasicButtonListener.java
6579 (BasicButtonListener): New constructor.
6580 * javax/swing/plaf/basic/BasicButtonUI.java
6581 (createButtonListener): Usw new BasicButtonListener constructor.
6583 2005-02-15 Michael Koch <konqueror@gmx.de>
6585 * javax/imageio/event/package.html,
6586 javax/imageio/metadata/package.html: New files.
6588 2005-02-15 Michael Koch <konqueror@gmx.de>
6590 * java/awt/image/MemoryImageSource.java: Reformatted.
6592 2005-02-15 Michael Koch <konqueror@gmx.de>
6594 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6596 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6598 * java/awt/color/ICC_Profile.java
6599 (finalize): Removed pointless field assignments.
6601 2005-02-15 Michael Koch <konqueror@gmx.de>
6603 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6604 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6605 * Makefile.in: Regenerated.
6607 2005-02-15 Michael Koch <konqueror@gmx.de>
6609 * javax/swing/text/DefaultStyledDocument.java: New file.
6610 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6611 * Makefile.in: Regenerated.
6613 2005-02-15 Michael Koch <konqueror@gmx.de>
6615 * javax/swing/JFileChooser.java
6616 (showDialog): Return CANCEL_OPTION for now.
6617 (showOpenDialog): Likewise.
6618 (showSaveDialog): Likewise.
6620 2005-02-15 Michael Koch <konqueror@gmx.de>
6622 * javax/swing/JApplet.java
6623 (HIDE_ON_CLOSE): Removed.
6624 (EXIT_ON_CLOSE): Likewise.
6625 (DISPOSE_ON_CLOSE): Likewise.
6626 (DO_NOTHING_ON_CLOSE): Likewise.
6627 (close_action): Likewise.
6628 (getDefaultCloseOperation): Likewise.
6629 (setDefaultCloseOperation): Likewise.
6630 (processWindowEvent): Likewise.
6631 (getPreferredSize): Simplified.
6632 * javax/swing/JInternalFrame.java
6633 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6635 * javax/swing/JWindow.java
6636 (HIDE_ON_CLOSE): Removed.
6637 (EXIT_ON_CLOSE): Likewise.
6638 (DISPOSE_ON_CLOSE): Likewise.
6639 (DO_NOTHING_ON_CLOSE): Likewise.
6640 (close_action): Likewise.
6641 (processKeyEvent): Likewise.
6642 (setDefaultCloseOperation): Likewise.
6643 (getPreferredSize): Simplified.
6645 2005-02-15 Michael Koch <konqueror@gmx.de>
6647 * javax/swing/JTextField.java
6648 (getPreferredSize): Re-implemented.
6650 2005-02-15 Michael Koch <konqueror@gmx.de>
6652 * javax/swing/JLabel.java
6653 (setDisplayedMnemonic): Use only upper case characters.
6654 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6655 PropertyChangeEvent after property got set to the new index.
6657 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6659 * javax/swing/JComboBox.java:
6660 (JComboBox): Removed selection of the
6661 first item in the model.
6663 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6665 * javax/swing/JComboBox.java
6666 added support for no item being selected
6667 (JComboBox): select first or nothing depending on element count
6668 (setModel): cleaned up unneeded "this." usage, added more
6669 docs, made exception behavior match that of the JDK
6670 (setLighWeightPopupEnabled): removed unneeded "this." usage
6672 (setMaximumRowCount): dito
6674 (setPrototypeDisplayValue): dito
6675 (getSelectedItem): simplified, added more user doc
6676 (setSelectedIndex): corrected exception behavior, added more user doc
6677 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6678 added performance warning to user doc
6679 (addItem): fixed exception behavior, added user doc
6680 (insertItemAt): dito
6682 (removeItemAt): dito
6683 (removeAll): fixed exception behavior, added user doc, added support
6684 for model not being instance of DefaultComboBoxModel
6685 (getSelectedItemObjects): simplified
6686 (getItemCount): fixed dependency on DefaultComboBoxModel
6687 (getItemAt): fixed dependency on MutableComboBoxModel
6688 * javax/swing/DefaultComboBoxModel.java:
6689 (setSelectedItem): updates selected item only if new
6690 value is null or known (match JDK behavior)
6691 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6692 (paintCurrentValue): renders "" if no item is selected
6694 2005-02-15 Michael Koch <konqueror@gmx.de>
6696 * javax/swing/plaf/metal/MetalTheme.java,
6697 javax/swing/plaf/metal/DefaultMetalTheme.java:
6699 * javax/swing/plaf/metal/MetalLookAndFeel.java
6700 * Makefile.am: Added the new files.
6701 * Makefile.in: Regenerated.
6703 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6705 * javax/swing/JTable.java
6706 (editorComp): New field.
6707 (JTable): Initialize local variables and call updateUI
6708 (selectionBackground): Make protected.
6709 (selectionForeground): Likewise.
6710 (initializeLocalVars): Create default editors and renderers,
6711 initialize editingColumn, editingRow variables.
6712 (createDefaultEditors): New Method.
6713 (createDefaultRenderers): Likewise.
6714 (createDefaultListSelectionModel): Removed
6715 (createDefaultSelectionModel): New Method.
6716 (createDefaultTableHeader): Likewise
6717 (removeColumn): Likewise.
6718 (getEditingColumn): Likewise.
6719 (setEditingColumn): Likewise.
6720 (getEditingRow): Likewise.
6721 (setEditingRow): Likewise.
6722 (getEditorComponent): Likewise.
6723 (isEditing): Likewise.
6724 (setDefaultEditor): Likewise.
6725 (addColumnSelectionInterval): Likewise.
6726 (addRowSelectionInterval): Likewise.
6727 (setColumnSelectionInterval): Likewise.
6728 (setRowSelectionInterval): Likewise.
6729 (removeColumnSelectionInterval): Likewise.
6730 (removeRowSelectionInterval): Likewise.
6731 (isColumnSelected): Likewise.
6732 (isRowSelected): Likewise.
6733 (isCellSelected): Likewise.
6734 (selectAll): Likewise.
6736 2005-02-15 Michael Koch <konqueror@gmx.de>
6738 * javax/swing/JTable.java
6739 (addColumn): New method.
6740 (getColumnClass): Likewise.
6741 (getColumnName): Likewise.
6743 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6745 * javax/swing/TransferHandler.java
6746 (createTransferable): Made protected.
6748 2005-02-15 Michael Koch <konqueror@gmx.de>
6750 * javax/swing/JTable.java,
6751 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6752 javax/swing/plaf/basic/BasicTableUI.java:
6753 Use fixed get/setIntercellSpacing() methods.
6755 2005-02-15 Michael Koch <konqueror@gmx.de>
6757 * javax/swing/JTable.java
6758 (getIntercellSpacing): Fixed typo in method name.
6759 (setIntercellSpacing): Likewise.
6761 2005-02-15 Michael Koch <konqueror@gmx.de>
6763 * javax/swing/text/JTextComponent.java
6764 (focusAccelerator): New variable.
6765 (getFocusAccelerator): New method.
6766 (setFocusAccelerator): Likewise.
6768 2005-02-15 Michael Koch <konqueror@gmx.de>
6770 * javax/swing/JComponent.java
6771 (setTransferHandler): Made public. Fire property change event.
6772 * javax/swing/TransferHandler.java: Implemented.
6773 * javax/swing/text/JTextComponent.java
6774 (DefaultTransferHandler): New inner class.
6775 (defaultTransferHandler): New variable.
6779 (doTransferAction): Likewise.
6781 2005-02-15 Michael Koch <konqueror@gmx.de>
6783 * javax/swing/JTree.java
6784 (collapsePath): New method.
6785 (collapseRow): Likewise.
6786 (expandPath): Likewise.
6787 (expandRow): Likewise.
6788 (checkExpandParents): Likewise.
6789 (doExpandParents): Likewise.
6790 (setExpandedState): Likewise.
6791 (makeVisible): Likewise.
6793 2005-02-15 Michael Koch <konqueror@gmx.de>
6795 * javax/swing/JPasswordField.java: Updated javadocs.
6797 2005-02-15 Michael Koch <konqueror@gmx.de>
6799 * javax/swing/JLayeredPane.java
6800 (getLayer): Fixed return type, made public.
6801 (getPosition): Use new getLayer().
6802 (SetPosition): Likewise.
6803 (getIndexOf): Likewise.
6805 * javax/swing/JInternalFrame.java
6806 (getLayer): Use new JLayeredPane.getLayer().
6809 2005-02-15 Michael Koch <konqueror@gmx.de>
6811 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6812 (setHeaderValue): Simplified. Do nothing when old value == new value.
6814 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6816 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6817 against null clip region.
6818 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6819 gtkWindowSetResizable.
6820 (postConfigureEvent): Only revalidate if frame size has changed.
6821 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6822 Only revalidate if frame size has changed.
6823 * java/awt/Component.java (reshape): Only repaint and post
6824 component events if component is showing.
6825 * java/awt/Container.java (addImpl): Only post container event if
6826 container is showing.
6828 * java/awt/Window.java (setLocationRelativeTo): Implement.
6829 (setBoundsCallback): Only post component events if component is
6831 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6832 Protect against null graphics structure. Flush gdk event queue.
6834 2005-02-15 Michael Koch <konqueror@gmx.de>
6836 * javax/imageio/ImageReader.java,
6837 javax/imageio/ImageTranscoder.java,
6838 javax/imageio/ImageWriter.java,
6839 javax/imageio/spi/ImageInputStreamSpi.java,
6840 javax/imageio/spi/ImageOutputStreamSpi.java,
6841 javax/imageio/spi/ServiceRegistry.java,
6842 javax/imageio/stream/ImageInputStream.java,
6843 javax/imageio/stream/ImageOutputStream.java: Updated.
6844 * javax/imageio/IIOException.java,
6845 javax/imageio/IIOImage.java,
6846 javax/imageio/IIOParam.java,
6847 javax/imageio/IIOParamController.java,
6848 javax/imageio/ImageIO.java,
6849 javax/imageio/ImageReadParam.java,
6850 javax/imageio/ImageTypeSpecifier.java,
6851 javax/imageio/ImageWriteParam.java,
6852 javax/imageio/spi/IIORegistry.java,
6853 javax/imageio/spi/ImageReaderSpi.java,
6854 javax/imageio/spi/ImageWriterSpi.java,
6855 javax/imageio/stream/FileCacheImageInputStream.java,
6856 javax/imageio/stream/FileCacheImageOutputStream.java,
6857 javax/imageio/stream/FileImageInputStream.java,
6858 javax/imageio/stream/FileImageOutputStream.java,
6859 javax/imageio/stream/ImageInputStreamImpl.java,
6860 javax/imageio/stream/ImageOutputStreamImpl.java,
6861 javax/imageio/stream/MemoryCacheImageInputStream.java,
6862 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6863 javax/imageio/event/IIOReadProgressListener.java,
6864 javax/imageio/event/IIOReadUpdateListener.java,
6865 javax/imageio/event/IIOReadWarningListener.java,
6866 javax/imageio/event/IIOWriteProgressListener.java,
6867 javax/imageio/event/IIOWriteWarningListener.java,
6868 javax/imageio/metadata/IIOMetadata.java,
6869 javax/imageio/metadata/IIOMetadataController.java,
6870 javax/imageio/metadata/IIOMetadataFormat.java,
6871 javax/imageio/metadata/IIOInvalidTreeException.java,
6872 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6873 javax/imageio/metadata/IIOMetadataNode.java: New files.
6874 * Makefile.am (javax_source_files): Added new files
6875 * Makefile.in: Regenerated.
6877 2005-02-15 Graydon Hoare <graydon@redhat.com>
6879 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6880 Rework painting into BufferedImages
6881 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6882 Construct BufferedImage with alpha only when alpha is
6883 present in colormodel.
6884 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6885 Rework painting into client-side jint arrays.
6886 * jni/gtk-peer/gtkcairopeer.h:
6889 2005-02-15 Michael Koch <konqueror@gmx.de>
6891 * javax/swing/DefaultListCellRenderer.java
6892 (serialVersionUID): Made private.
6893 (getListCellRendererComponent): Set horizontal alignment.
6894 * javax/swing/JLabel.java
6895 (setVerticalAlignment): Re-implemented.
6896 (setHorizontalAlignment): Do nothing if old value = new value.
6897 * javax/swing/JList.java
6898 (setCellRenderer): Likewise.
6899 (setModel): Re-implemented.
6900 (setSelectionModel): Likewise.
6902 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6904 * java/awt/Component.java,
6905 java/awt/geom/Rectangle2D.java:
6908 2005-02-15 Michael Koch <konqueror@gmx.de>
6910 * javax/swing/AbstractListModel.java
6911 (fireContentsChanged): Simplified.
6912 (fireIntervalAdded): Likewise.
6913 (fireIntervalRemoved): Likewise.
6914 * javax/swing/DefaultSingleSelectionModel.java:
6916 (fireStateChanged): Simplified.
6917 * javax/swing/JPopupMenu.java
6918 (setSelectionModel): Set property.
6920 2005-02-15 Michael Koch <konqueror@gmx.de>
6922 * java/awt/print/Book.java: Reformatted.
6924 2005-02-15 Michael Koch <konqueror@gmx.de>
6926 * java/awt/geom/Area.java
6927 (QuadSegment.curveArea): Remove unused variables.
6928 (CubicSegment.curveArea): Likewise.
6930 2005-02-15 Michael Koch <konqueror@gmx.de>
6932 * javax/swing/JTree.java
6933 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6934 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6935 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6936 (EXPANDED): New constant.
6937 (COLLAPSED): Likewise.
6938 (nodeStates): New field.
6939 (cellEditor): New method.
6940 (cellRenderer): Likewise.
6941 (selectionModel): Likewise.
6942 (treeModel): Likewise.
6943 (scrollPathToVisible): Likewise.
6944 (scrollRowToVisible): Likewise.
6945 (isCollapsed): Likewise.
6946 (isExpanded): Likewise.
6947 (clearToggledPaths): Likewise.
6948 (getDescendantToggledPaths): Likewise.
6949 (hasBeenExpanded): Likewise.
6950 (isVisible): Likewise.
6951 (isPathEditable): Likewise.
6953 2005-02-15 Michael Koch <konqueror@gmx.de>
6955 * javax/swing/JLayeredPane.java: Reformatted.
6957 2005-02-15 Michael Koch <konqueror@gmx.de>
6959 * javax/swing/tree/DefaultMutableTreeNode.java:
6961 * javax/swing/tree/MutableTreeNode.java:
6964 2005-02-15 Michael Koch <konqueror@gmx.de>
6966 * javax/swing/JFormattedTextField.java
6967 (setDocument): Call setDocument of super class. Don't fire property
6970 2005-02-15 Sven de Marothy <sven@physto.se>
6972 * java/awt/image/IndexColorModel.java:
6973 Add FIXME with respect to alpha handling.
6974 (getAlpha): Default to returning opaque pixels.
6975 * java/awt/image/MultiPixelPackedSampleModel.java
6976 (MultiPixelPackedSampleModel): Corrected parameters, order of
6977 bit shifts and masks, stride length off by one.
6979 2005-02-15 Michael Koch <konqueror@gmx.de>
6981 * javax/swing/JList.java, javax/swing/JTree.java:
6982 Added much new methods and fixed much methods setting bound properties.
6984 2005-02-16 Mark Wielaard <mark@klomp.org>
6986 * Makefile.am (gnu_xml_source_files): Removed
6987 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6988 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6989 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6990 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6991 gnu/xml/dom/DomDocumentFragment.java,
6992 gnu/xml/dom/DomProcessingInstruction.java and
6993 gnu/xml/dom/ls/DomLSException.java.
6994 * Makefile.in: Regenerated.
6996 2005-02-16 Tom Tromey <tromey@redhat.com>
6998 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6999 attribute index is out of bounds.
7001 2005-02-16 Chris Burdess <dog@gnu.org>
7003 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
7004 isDeclared methods. Improved performance of isSpecified methods.
7006 2005-02-16 Chris Burdess <dog@gnu.org>
7008 Fixes bug libgcj/19864
7009 * gnu/xml/dom/DomAttr.java,
7010 gnu/xml/dom/DomCDATA.java,
7011 gnu/xml/dom/DomCDATASection.java,
7012 gnu/xml/dom/DomCharacterData.java,
7013 gnu/xml/dom/DomDOMException.java,
7014 gnu/xml/dom/DomDoctype.java,
7015 gnu/xml/dom/DomDocument.java,
7016 gnu/xml/dom/DomDocumentConfiguration.java,
7017 gnu/xml/dom/DomDocumentFragment.java,
7018 gnu/xml/dom/DomElement.java,
7019 gnu/xml/dom/DomEx.java,
7020 gnu/xml/dom/DomFragment.java,
7021 gnu/xml/dom/DomImpl.java,
7022 gnu/xml/dom/DomIterator.java,
7023 gnu/xml/dom/DomNamedNodeMap.java,
7024 gnu/xml/dom/DomNode.java,
7025 gnu/xml/dom/DomNsNode.java,
7026 gnu/xml/dom/DomPI.java,
7027 gnu/xml/dom/DomProcessingInstruction.java,
7028 gnu/xml/dom/DomText.java,
7029 gnu/xml/dom/DomLSEx.java,
7030 gnu/xml/dom/DomLSException.java,
7031 gnu/xml/dom/DomLSParser.java,
7032 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7033 implementation class names to conform to Classpath guidelines. Make
7034 DomLSException use JDK 1.4+ exception chaining.
7035 * gnu/xml/util/SAXNullTransformerFactory.java,
7036 gnu/xml/xpath/Predicate.java: Use constants relative to
7037 declaring class or interface.
7039 2005-02-16 Andrew Haley <aph@redhat.com>
7041 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7042 null, create a new AccessControlContext.
7043 * java/security/SecureClassLoader.java (protectionDomainCache):
7045 (defineClass): Create a new protection domain and add it to our
7048 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7049 addStub() to keep track of the stub we've exported.
7050 (unexportObject): Call deleteStub().
7051 * java/rmi/server/RemoteObject.java (stubs): New field.
7052 (addStub): New method.
7053 (deleteStub): New method.
7056 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7057 true to findHelper (tryParents).
7058 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7060 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7061 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7063 If tryParents is false, don't scan parent class loaders.
7065 * java/security/Permissions.java (PermissionsHash.implies):
7066 Iterate over the collection and invoke implies() on each
7069 2005-02-16 Andrew Haley <aph@redhat.com>
7071 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7073 (PersistentByteMap): Set name
7074 Magic number changed to 0x67636a64 ("gcjd").
7075 (init): Force the map to be prime.
7076 (emptyPersistentByteMap): File name was a string, now a File.
7077 (addBytes): Share srings between entries.
7078 (stringTableSize): New method.
7079 (capacity): Scale by load factor.
7080 (force): New method.
7081 (getFile): New method.
7082 (close): New method.
7083 (putAll): New method.
7084 (ByteWrapper): New class.
7085 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7086 (main): Guess the average string size as 32, not 64.
7087 Copy a database before modifying it, so that we can update a
7088 database in a running system.
7089 If a database isn't big enough, resize it.
7090 "-m": new option: merges databases.
7091 "-a": Create a new detabase if it doesn't exist.
7092 (usage): Correct, add new option.
7093 (addJar): Copy a database before modifying it.
7094 (resizeMap): New method.
7096 2005-02-15 David Daney <ddaney@avtrex.com>
7097 Bryce McKinlay <mckinlay@redhat.com>
7099 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7100 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7101 ensure that GC threads inherit the new signal mask.
7102 (block_sigchld): Call JvFail rather than throwing exception if
7103 pthread_sigmask() fails.
7105 2005-02-15 Mark Wielaard <mark@klomp.org>
7107 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7108 file path elements are separated by spaces.
7110 2005-02-15 Mark Wielaard <mark@klomp.org>
7112 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7113 to describe attributes without a constant field value in this class.
7115 2005-02-15 Michael Koch <konqueror@gmx.de>
7117 * java/util/jar/Attributes.java
7118 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7120 2005-02-15 Mark Wielaard <mark@klomp.org>
7122 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7123 space for parsing CLASS_PATH attribute.
7125 2005-02-15 Mark Wielaard <mark@klomp.org>
7127 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7128 aside for "GCJLIBS" in directory where jarfiles are loaded.
7129 (JarURLLoader.getClass): Removed method.
7130 (JarURLLoader.toString): Removed method.
7131 (FileResource.toString): Removed method.
7133 2005-02-15 Mark Wielaard <mark@klomp.org>
7135 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7136 and/or cause before throwing.
7138 2005-02-15 Richard Henderson <rth@redhat.com>
7140 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7141 (libgcj0_convenience_la_SOURCES): ... here.
7142 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7143 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7144 * Makefile.in: Regenerate.
7146 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7149 * include/jawt.h: Likewise.
7150 * include/jawt_md.h: Likewise.
7151 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7153 * include/Makefile.in: Regenerate.
7154 * jni/classpath/classpath_jawt.h: Likewise.
7155 * jni/gtk-peer/gtk_jawt.c: Likewise.
7156 * Makefile.am: Build libjawt.so.
7157 * Makefile.in: Regenerate.
7159 2005-02-14 Tom Tromey <tromey@redhat.com>
7161 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7163 2005-02-14 Tom Tromey <tromey@redhat.com>
7165 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7166 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7168 2005-02-14 Tom Tromey <tromey@redhat.com>
7171 * testsuite/libjava.lang/PR19929.out: New file.
7172 * testsuite/libjava.lang/PR19929.java: New file.
7174 2005-02-14 Anthony Green <green@redhat.com>
7177 * testsuite/libjava.jni/PR18116.c: New file.
7178 * testsuite/libjava.jni/PR18116.java: New file.
7179 * testsuite/libjava.jni/PR18116.out: New file.
7181 2005-02-13 Anthony Green <green@redhat.com>
7184 * jni.cc (nathash_add): Don't strdup the method signature.
7185 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7189 2005-02-12 Mark Wielaard <mark@klomp.org>
7191 Fixes bug libgcj/8170
7192 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7193 ClassNotFoundException.
7194 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7195 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7196 (remove_internal): New field superceding remove_interpreter.
7197 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7198 Remove no-class methods starting with "_Jv_". And Replace null
7199 class or method names with the empty string. Stop at either the
7200 MainThread or a real Thread run() method.
7201 (newElement): Made static.
7202 * java/net/URLClassLoader.java (findClass): Throw
7203 ClassNotFoundExceptions including urls, plus parent using toString().
7204 (thisString): New field.
7205 (toString): New method.
7207 2005-02-10 Tom Tromey <tromey@redhat.com>
7209 * external/sax/Makefile.in: Rebuilt.
7210 * external/sax/Makefile.am (all-local): Removed.
7211 (BUILT_SOURCES): New variable.
7212 (mostlyclean-local): No error if no classes to delete.
7213 * external/w3c_dom/Makefile.in: Rebuilt.
7214 * external/w3c_dom/Makefile.am (all-local): Removed.
7215 (BUILT_SOURCES): New variable.
7216 (mostlyclean-local): No error if no classes to delete.
7218 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7220 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7221 of mauve and libjava.
7223 2005-02-09 Tom Tromey <tromey@redhat.com>
7225 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7226 jar file with OPEN_DELETE.
7227 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7228 OPEN_DELETE is used.
7230 2005-02-09 Tom Tromey <tromey@redhat.com>
7232 * java/util/zip/InflaterInputStream.java (markSupported):
7234 (mark, reset): Likewise.
7236 2005-02-08 Tom Tromey <tromey@redhat.com>
7238 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7239 name or port is missing.
7240 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7241 AUTHORITY_PORT_GROUP): Updated.
7243 2005-02-08 Tom Tromey <tromey@redhat.com>
7245 * configure: Rebuilt.
7246 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7249 2005-02-07 Tom Tromey <tromey@redhat.com>
7251 * java/lang/natRuntime.cc (insertSystemProperties): Set
7252 sun.boot.class.path earlier.
7254 2005-02-07 Tom Tromey <tromey@redhat.com>
7256 * defineclass.cc (handleClassBegin): Use
7257 _Jv_RegisterInitiatingLoader.
7258 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7259 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7260 class. Use _Jv_UnregisterInitiatingLoader.
7261 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7264 2005-02-07 Mark Wielaard <mark@klomp.org>
7266 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7267 java/util/regex/Matcher.java (lookingAt): Set position when match
7269 (matches): Implemented through lookingAt().
7271 2005-02-07 Mark Wielaard <mark@klomp.org>
7273 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7274 * java/util/regex/Pattern.java (split(CharSequence,int)):
7275 Fix while empties > 0 loops.
7277 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7279 * gnu/java/nio/charset/ISO_8859_1.java,
7280 gnu/java/nio/charset/US_ASCII.java,
7281 gnu/java/nio/charset/UTF_16.java,
7282 gnu/java/nio/charset/UTF_16_LE.java,
7283 gnu/java/nio/charset/UTF_16_BE.java,
7284 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7285 and aliases according to
7286 "http://www.iana.org/assignments/character-sets",
7287 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7288 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7289 * gnu/java/nio/charset/Provider.java: Made charset lookup
7290 case-insensitive which fixes bug #11740.
7292 2005-02-07 Tom Tromey <tromey@redhat.com>
7295 * Makefile.in: Rebuilt.
7296 * Makefile.am (src.zip): New target.
7297 (install-src.zip): Likewise.
7298 (sourcesdir): New variable.
7300 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7302 * javax/imageio/metadata/IIOMetadataNode.java:
7304 * javax/imageio/metadata/IIOAttr.java,
7305 javax/imageio/metadata/IIONamedNodeMap.java,
7306 javax/imageio/metadata/IIONodeList.java:
7309 2005-02-06 Graydon Hoare <graydon@redhat.com>
7311 * gnu/java/awt/ClasspathToolkit.java
7312 (registerImageIOSpis): New method.
7313 * javax/imageio/ImageIO.java
7314 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7315 (WriterMIMETypeFilter.filter): Likewise.
7316 (ImageReaderIterator): Pass extension argument through to SPI.
7317 (getReadersByFilter): Likewise.
7318 (getWritersByFilter): Likewise.
7319 (getImageReadersByFormatName): Likewise.
7320 (getImageReadersByMIMEType): Likewise.
7321 (getImageReadersBySuffix): Likewise.
7322 (getImageWritersByFormatName): Likewise.
7323 (getImageWritersByMIMEType): Likewise.
7324 (getImageWritersBySuffix): Likewise.
7327 * javax/imageio/ImageReader.java
7328 (progressListeners): Initialize.
7329 (setInput): Implement.
7330 * javax/imageio/ImageWriter.java
7331 (progressListeners): Initialize.
7332 (warningListeners): Likewise.
7333 (warningLocales): Likewise.
7334 (setOutput): Test "isInstance" rather than class equality.
7335 * javax/imageio/spi/IIORegistry.java
7336 (static): Add reader and writer SPIs.
7337 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7339 2005-02-06 Michael Koch <konqueror@gmx.de>
7341 * javax/imageio/metadata/IIOInvalidTreeException.java
7342 (IIOInvalidTreeException): Reformatted.
7343 * javax/imageio/spi/IIORegistry.java
7344 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7345 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7346 Reworked import statements.
7348 2005-02-06 Michael Koch <konqueror@gmx.de>
7350 * javax/imageio/stream/FileImageOutputStream.java:
7353 2005-02-06 Michael Koch <konqueror@gmx.de>
7355 * javax/imageio/stream/FileCacheImageInputStream.java,
7356 javax/imageio/stream/FileCacheImageOutputStream.java,
7357 javax/imageio/stream/FileImageInputStream.java,
7358 javax/imageio/stream/ImageInputStreamImpl.java,
7359 javax/imageio/stream/ImageOutputStreamImpl.java,
7360 javax/imageio/stream/MemoryCacheImageInputStream.java,
7361 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7362 Added all missing methods in javax.imageio.stream.
7364 2005-02-02 David Daney <ddaney@avtrex.com>
7366 * java/net/InetAddress.java (InetAddress): Make a private copy of
7368 * java/net/Inet4Address.java (getAddress): Return a copy of the
7370 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7372 (getAddress): Return a copy of the address.
7375 2005-02-02 Tom Tromey <tromey@redhat.com>
7377 * Makefile.in: Rebuilt.
7378 * Makefile.am (classes.stamp): New target, broken out from
7380 ($(all_java_class_files)): Depend on it.
7381 (libgcj-@gcc_version@.jar): Likewise.
7382 (all-recursive): Likewise.
7383 (CLEANFILES): Include classes.stamp.
7385 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7387 * link.cc: Include <stdio.h>
7389 2005-02-02 Tom Tromey <tromey@redhat.com>
7392 * Makefile.in: Rebuilt.
7393 * Makefile.am (ordinary_java_source_files): Added new class.
7394 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7395 Use system_instance, not instance.
7396 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7397 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7399 (system_instance): New field.
7400 (initialize): Initialize the system loader as well.
7401 (VMClassLoader): Default to LIB_CACHE.
7403 2005-02-02 Tom Tromey <tromey@redhat.com>
7405 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7406 * prims.cc: Fixed comment.
7408 2005-02-01 Tom Tromey <tromey@redhat.com>
7410 * Makefile.in: Rebuilt.
7411 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7412 (.java.class): Use BOOTCLASSPATH.
7414 2005-02-01 Tom Tromey <tromey@redhat.com>
7416 * external/w3c_dom/Makefile.am: New file.
7417 * external/w3c_dom/Makefile.in: New file.
7418 * external/sax/Makefile.am: New file.
7419 * external/sax/Makefile.in: New file.
7420 * external/Makefile.in: New file.
7421 * external/Makefile.am: New file.
7422 * external/README: New file from Classpath.
7423 * configure, aclocal.m4, Makefile.in: Rebuilt.
7424 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7425 * Makefile.am (SUBDIRS): Added external.
7426 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7427 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7428 (BOOTCLASSPATH): New variable.
7429 (AM_GCJFLAGS): Use it.
7430 (gnu_xml_source_files): New variable.
7431 (libgcj_la_SOURCES): Use it.
7432 (libgcj_la_LDADD): Include new convenience libraries.
7433 (lib_org_ietf_jgss_la_SOURCES): Removed.
7434 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7435 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7436 (lib_org_w3c_dom_la_SOURCES): Removed.
7437 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7438 (lib_org_w3c_dom_la_LIBADD): Likewise.
7439 (lib_org_xml_sax_la_SOURCES): Removed.
7440 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7441 (lib_org_xml_sax_la_LIBADD): Likewise.
7442 (all_java_source_files): Updated.
7443 (property_files): Likewise.
7444 (libgcj-@gcc_version@.jar): Include classes from external/.
7445 (javax_source_files): Updated.
7446 (ordinary_java_source_files): Updated.
7447 * javax/xml/XMLConstants.java,
7448 javax/xml/datatype/DatatypeConfigurationException.java,
7449 javax/xml/datatype/DatatypeConstants.java,
7450 javax/xml/datatype/DatatypeFactory.java,
7451 javax/xml/datatype/Duration.java,
7452 javax/xml/datatype/XMLGregorianCalendar.java,
7453 javax/xml/datatype/package.html,
7454 javax/xml/namespace/NamespaceContext.java,
7455 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7456 javax/xml/parsers/DocumentBuilder.java,
7457 javax/xml/parsers/DocumentBuilderFactory.java,
7458 javax/xml/parsers/FactoryConfigurationError.java,
7459 javax/xml/parsers/ParserConfigurationException.java,
7460 javax/xml/parsers/SAXParser.java,
7461 javax/xml/parsers/SAXParserFactory.java,
7462 javax/xml/parsers/package.html,
7463 javax/xml/transform/ErrorListener.java,
7464 javax/xml/transform/OutputKeys.java,
7465 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7466 javax/xml/transform/SourceLocator.java,
7467 javax/xml/transform/Templates.java,
7468 javax/xml/transform/Transformer.java,
7469 javax/xml/transform/TransformerConfigurationException.java,
7470 javax/xml/transform/TransformerException.java,
7471 javax/xml/transform/TransformerFactory.java,
7472 javax/xml/transform/TransformerFactoryConfigurationError.java,
7473 javax/xml/transform/URIResolver.java,
7474 javax/xml/transform/package.html,
7475 javax/xml/transform/dom/DOMLocator.java,
7476 javax/xml/transform/dom/DOMResult.java,
7477 javax/xml/transform/dom/DOMSource.java,
7478 javax/xml/transform/dom/package.html,
7479 javax/xml/transform/sax/SAXResult.java,
7480 javax/xml/transform/sax/SAXSource.java,
7481 javax/xml/transform/sax/SAXTransformerFactory.java,
7482 javax/xml/transform/sax/TemplatesHandler.java,
7483 javax/xml/transform/sax/TransformerHandler.java,
7484 javax/xml/transform/sax/package.html,
7485 javax/xml/transform/stream/StreamResult.java,
7486 javax/xml/transform/stream/StreamSource.java,
7487 javax/xml/transform/stream/package.html,
7488 javax/xml/validation/Schema.java,
7489 javax/xml/validation/SchemaFactory.java,
7490 javax/xml/validation/TypeInfoProvider.java,
7491 javax/xml/validation/Validator.java,
7492 javax/xml/validation/ValidatorHandler.java,
7493 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7494 javax/xml/xpath/XPathConstants.java,
7495 javax/xml/xpath/XPathException.java,
7496 javax/xml/xpath/XPathExpression.java,
7497 javax/xml/xpath/XPathExpressionException.java,
7498 javax/xml/xpath/XPathFactory.java,
7499 javax/xml/xpath/XPathFactoryConfigurationException.java,
7500 javax/xml/xpath/XPathFunction.java,
7501 javax/xml/xpath/XPathFunctionException.java,
7502 javax/xml/xpath/XPathFunctionResolver.java,
7503 javax/xml/xpath/XPathVariableResolver.java,
7504 javax/xml/xpath/package.html: New files, from GNU JAXP.
7505 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7506 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7507 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7508 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7509 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7510 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7511 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7512 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7513 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7514 org/w3c/dom/ranges/DocumentRange.java,
7515 org/w3c/dom/ranges/Range.java,
7516 org/w3c/dom/ranges/RangeException.java,
7517 org/w3c/dom/traversal/DocumentTraversal.java,
7518 org/w3c/dom/traversal/NodeFilter.java,
7519 org/w3c/dom/traversal/NodeIterator.java,
7520 org/w3c/dom/traversal/TreeWalker.java,
7521 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7522 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7523 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7524 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7525 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7526 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7527 org/xml/sax/SAXNotRecognizedException.java,
7528 org/xml/sax/SAXNotSupportedException.java,
7529 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7530 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7531 org/xml/sax/ext/DeclHandler.java,
7532 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7533 org/xml/sax/helpers/AttributeListImpl.java,
7534 org/xml/sax/helpers/AttributesImpl.java,
7535 org/xml/sax/helpers/DefaultHandler.java,
7536 org/xml/sax/helpers/LocatorImpl.java,
7537 org/xml/sax/helpers/NamespaceSupport.java,
7538 org/xml/sax/helpers/NewInstance.java,
7539 org/xml/sax/helpers/ParserAdapter.java,
7540 org/xml/sax/helpers/ParserFactory.java,
7541 org/xml/sax/helpers/XMLFilterImpl.java,
7542 org/xml/sax/helpers/XMLReaderAdapter.java,
7543 org/xml/sax/helpers/XMLReaderFactory.java,
7544 org/xml/sax/helpers/package.html: Moved to external/.
7545 * external/sax/README,
7546 external/sax/org/xml/sax/AttributeList.java,
7547 external/sax/org/xml/sax/Attributes.java,
7548 external/sax/org/xml/sax/ContentHandler.java,
7549 external/sax/org/xml/sax/DTDHandler.java,
7550 external/sax/org/xml/sax/DocumentHandler.java,
7551 external/sax/org/xml/sax/EntityResolver.java,
7552 external/sax/org/xml/sax/ErrorHandler.java,
7553 external/sax/org/xml/sax/HandlerBase.java,
7554 external/sax/org/xml/sax/InputSource.java,
7555 external/sax/org/xml/sax/Locator.java,
7556 external/sax/org/xml/sax/Parser.java,
7557 external/sax/org/xml/sax/SAXException.java,
7558 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7559 external/sax/org/xml/sax/SAXNotSupportedException.java,
7560 external/sax/org/xml/sax/SAXParseException.java,
7561 external/sax/org/xml/sax/XMLFilter.java,
7562 external/sax/org/xml/sax/XMLReader.java,
7563 external/sax/org/xml/sax/package.html,
7564 external/sax/org/xml/sax/ext/Attributes2.java,
7565 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7566 external/sax/org/xml/sax/ext/DeclHandler.java,
7567 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7568 external/sax/org/xml/sax/ext/EntityResolver2.java,
7569 external/sax/org/xml/sax/ext/LexicalHandler.java,
7570 external/sax/org/xml/sax/ext/Locator2.java,
7571 external/sax/org/xml/sax/ext/Locator2Impl.java,
7572 external/sax/org/xml/sax/ext/package.html,
7573 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7574 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7575 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7576 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7577 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7578 external/sax/org/xml/sax/helpers/NewInstance.java,
7579 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7580 external/sax/org/xml/sax/helpers/ParserFactory.java,
7581 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7582 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7583 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7584 external/sax/org/xml/sax/helpers/package.html,
7585 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7586 external/w3c_dom/org/w3c/dom/Attr.java,
7587 external/w3c_dom/org/w3c/dom/CDATASection.java,
7588 external/w3c_dom/org/w3c/dom/CharacterData.java,
7589 external/w3c_dom/org/w3c/dom/Comment.java,
7590 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7591 external/w3c_dom/org/w3c/dom/DOMError.java,
7592 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7593 external/w3c_dom/org/w3c/dom/DOMException.java,
7594 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7595 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7596 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7597 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7598 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7599 external/w3c_dom/org/w3c/dom/Document.java,
7600 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7601 external/w3c_dom/org/w3c/dom/DocumentType.java,
7602 external/w3c_dom/org/w3c/dom/Element.java,
7603 external/w3c_dom/org/w3c/dom/Entity.java,
7604 external/w3c_dom/org/w3c/dom/EntityReference.java,
7605 external/w3c_dom/org/w3c/dom/NameList.java,
7606 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7607 external/w3c_dom/org/w3c/dom/Node.java,
7608 external/w3c_dom/org/w3c/dom/NodeList.java,
7609 external/w3c_dom/org/w3c/dom/Notation.java,
7610 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7611 external/w3c_dom/org/w3c/dom/Text.java,
7612 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7613 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7614 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7615 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7616 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7617 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7618 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7619 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7620 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7621 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7622 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7623 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7624 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7625 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7626 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7627 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7628 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7629 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7630 external/w3c_dom/org/w3c/dom/css/Counter.java,
7631 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7632 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7633 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7634 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7635 external/w3c_dom/org/w3c/dom/css/Rect.java,
7636 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7637 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7638 external/w3c_dom/org/w3c/dom/events/Event.java,
7639 external/w3c_dom/org/w3c/dom/events/EventException.java,
7640 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7641 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7642 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7643 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7644 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7645 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7646 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7647 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7648 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7649 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7650 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7651 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7652 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7653 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7654 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7655 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7656 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7657 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7658 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7659 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7660 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7661 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7662 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7663 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7664 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7665 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7666 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7667 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7668 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7669 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7670 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7671 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7672 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7673 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7674 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7675 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7676 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7677 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7678 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7679 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7680 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7681 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7682 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7683 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7684 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7685 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7686 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7687 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7688 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7689 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7690 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7691 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7692 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7693 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7694 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7695 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7696 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7697 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7698 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7699 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7700 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7701 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7702 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7703 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7704 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7705 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7706 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7707 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7708 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7709 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7710 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7711 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7712 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7713 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7714 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7715 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7716 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7717 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7718 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7719 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7720 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7721 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7722 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7723 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7724 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7725 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7726 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7727 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7728 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7729 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7730 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7731 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7734 2005-01-31 Anthony Green <green@redhat.com>
7736 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7737 Support IP_MULTICAST_LOOP.
7738 (setOption): Support IP_MULTICAST_LOOP.
7740 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7741 SO_REUSEADDR support.
7742 (getOption): Support SO_REUSEADDR.
7744 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7747 * java/util/Date.java
7748 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7750 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7752 (getTimezoneOffset): Inverted sign.
7754 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7756 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7757 remove other passing tests and add new XFAILs.
7759 2005-01-24 Tom Tromey <tromey@redhat.com>
7761 * java/lang/Class.h (next): Updated documentation. Renamed to
7763 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7764 _Jv_CheckABIVersion.
7765 (_Jv_RegisterClasses_Counted): Likewise.
7766 (_Jv_RegisterClassHookDefault): Fix starting condition of
7767 duplicate-checking loop.
7768 * include/jvm.h (GCJ_VERSION): New define.
7769 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7770 (_Jv_CheckABIVersion): New function.
7772 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7774 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7775 (libgij_la_LDFLAGS): Add.
7776 * Makefile.in: Rebuilt.
7778 2005-01-24 Roger Sayle <roger@eyesopen.com>
7781 * testsuite/libjava.compile/PR19295.java: New test case.
7783 2005-01-19 Tom Tromey <tromey@redhat.com>
7785 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7786 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7787 if 'handler' is valid.
7789 2005-01-17 Tom Tromey <tromey@redhat.com>
7791 * java/text/MessageFormat.java (scanString): Changed how quoting
7793 (scanFormatElement): Likewise.
7795 2004-12-07 Mark Wielaard <mark@klomp.org>
7797 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7799 2005-01-15 Michael Koch <konqueror@gmx.de>
7803 (AUTHORITY_REGEXP): New regexp constant.
7804 (AUTHORITY_USERINFO_GROUP): New constant.
7805 (AUTHORITY_HOST_GROUP): Likewise.
7806 (AUTHORITY_PORT_GROUP): Likewise.
7807 (port): Changed default value to -1.
7808 (parseURI): Parse authority part and initialize host,
7811 2005-01-14 Robin Green <greenrd@greenrd.org>
7813 * java/io/File.java (toURI): Generate a URI which we understand.
7815 2005-01-13 Graydon Hoare <graydon@redhat.com>
7817 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7818 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7819 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7820 * jni.cc: Reuse bottom frame between calls, avoid clearing
7821 frame when no local references are made.
7823 2005-01-13 Michael Koch <konqueror@gmx.de>
7826 * java/lang/Thread.java
7827 (Thread): Call checkAccess().
7828 (stop): Fixed argument name to match javadoc.
7829 * java/lang/natThread.cc
7830 (interrupt): Call checkAccess().
7833 2005-01-11 Michael Koch <konqueror@gmx.de>
7836 * java/net/URL.java (URL): Handle specs like
7837 "/redir?http://domain2.com/index.html" which start with a slash.
7839 2005-01-11 Michael Koch <konqueror@gmx.de>
7841 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7842 * gnu/java/net/BASE64.java,
7843 gnu/java/net/EmptyX509TrustManager.java,
7844 gnu/java/net/LineInputStream.java,
7845 gnu/java/net/protocol/http/Authenticator.java,
7846 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7847 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7848 gnu/java/net/protocol/http/ChunkedInputStream.java,
7849 gnu/java/net/protocol/http/Cookie.java,
7850 gnu/java/net/protocol/http/CookieManager.java,
7851 gnu/java/net/protocol/http/Credentials.java,
7852 gnu/java/net/protocol/http/HTTPConnection.java,
7853 gnu/java/net/protocol/http/HTTPDateFormat.java,
7854 gnu/java/net/protocol/http/HTTPURLConnection.java,
7855 gnu/java/net/protocol/http/Headers.java,
7856 gnu/java/net/protocol/http/Request.java,
7857 gnu/java/net/protocol/http/RequestBodyWriter.java,
7858 gnu/java/net/protocol/http/Response.java,
7859 gnu/java/net/protocol/http/ResponseBodyReader.java,
7860 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7861 gnu/java/net/protocol/http/SimpleCookieManager.java,
7862 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7863 gnu/java/net/protocol/http/event/ConnectionListener.java,
7864 gnu/java/net/protocol/http/event/RequestEvent.java,
7865 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7866 * gnu/java/net/protocol/http/Connection.java: Removed.
7867 * gnu/java/net/protocol/http/Handler.java,
7868 javax/net/ssl/HttpsURLConnection.java: Updated.
7869 * Makefile.am: Added new files and remove old ones.
7870 * Makefile.in: Regenerated.
7872 2005-01-11 Tom Tromey <tromey@redhat.com>
7875 * java/io/BufferedInputStream.java (read): Repeatedly read to
7877 (refill): Change test to see if buffer must be grown.
7879 2005-01-10 Tom Tromey <tromey@redhat.com>
7881 * mauve-libgcj: Exclude some swing tests.
7883 2005-01-10 Tom Tromey <tromey@redhat.com>
7885 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7886 * java/lang/Package.java (getPackages): Use VMClassLoader when
7888 (getPackage): Likewise.
7889 * prims.cc (_Jv_CreateJavaVM): Call
7890 _Jv_RegisterBootstrapPackages.
7891 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7892 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7893 (getPackages): Likewise.
7894 (definedPackages): New field.
7895 (definePackageForNative): New method.
7896 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7897 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7898 * defineclass.cc (handleClassBegin): Use
7899 ClassLoader.findLoadedClass.
7900 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7902 (struct _Jv_LoaderInfo): Removed.
7903 (initiated_classes): Likewise.
7904 (_Jv_UnregisterClass): Don't use initiated_classes.
7905 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7906 (_Jv_FindClass): Register classes found during boostrap.
7907 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7908 (bootstrap_class_list): New global.
7909 (bootstrap_index): Likewise.
7910 (_Jv_RegisterBootstrapPackages): New function.
7911 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7912 definePackageForNative.
7913 (findClass): Updated.
7914 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7917 2005-01-10 Tom Tromey <tromey@redhat.com>
7920 * include/jvm.h (_Jv_Linker::find_field): Declare.
7921 (_Jv_Linker::find_field_helper): Likewise.
7922 * link.cc (find_field_helper): New method.
7923 (find_field): Likewise.
7924 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7926 (link_symbol_table): Use find_field.
7928 2005-01-10 Michael Koch <konqueror@gmx.de>
7931 * java/util/Locale.java (Locale): Don't uppercase variant.
7932 (getISOCountries): Fixed typo in javadoc.
7934 2005-01-10 Michael Koch <konqueror@gmx.de>
7936 * java/util/SimpleTimeZone.java (checkRule):
7937 Throw IllegalArgumentException on invalid month values.
7938 * java/util/TimeZone.java (setID):
7939 Throw NullPointerException if needed.
7941 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7943 * java/util/SimpleTimeZone.java (getOffset):
7944 offset end date with daylight savings
7946 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7948 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7949 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7951 2005-01-09 Michael Koch <konqueror@gmx.de>
7954 * java/net/InetAddress.java (getLocalHost):
7955 Throw UnknownHostException if local hostname cannot be determined.
7957 2005-01-06 Tom Tromey <tromey@redhat.com>
7959 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7961 2005-01-07 Michael Koch <konqueror@gmx.de>
7964 * java/nio/Buffer.java (address): New field.
7965 * java/nio/DirectByteBufferImpl.java (address): Removed.
7966 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7967 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7968 Explicitly initialize Buffer.address if needed.
7969 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7970 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7971 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7972 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7973 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7974 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7975 DirectByteBufferImpl object.
7976 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7977 * testsuite/libjava.jni/directbuffer.c,
7978 testsuite/libjava.jni/directbuffer.java,
7979 testsuite/libjava.jni/directbuffer.out,
7980 testsuite/libjava.jni/bytebuffer.c,
7981 testsuite/libjava.jni/bytebuffer.java,
7982 testsuite/libjava.jni/bytebuffer.out: New files.
7984 2005-01-05 Tom Tromey <tromey@redhat.com>
7986 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7988 (compressedSize): Now 'long'. Default to -1.
7989 (getCompressedSize): Rewrote.
7990 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7991 deflate at all if we need input.
7993 2005-01-05 Tom Tromey <tromey@redhat.com>
7996 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7999 2005-01-05 Tom Tromey <tromey@redhat.com>
8001 * java/lang/natRuntime.cc (insertSystemProperties): Set
8002 java.ext.dirs earlier.
8004 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
8006 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
8007 sync_info element of the object if needed.
8009 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
8011 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
8012 a non-zero exit status from 'false'.
8014 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
8016 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.