1 2005-07-07 Aaron Luchko <aluchko@redhat.com>
3 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
6 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
8 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
9 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
11 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
13 * testsuite/libjava.compile/PR21045.java: New test.
14 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
15 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
17 2005-07-06 Tom Tromey <tromey@redhat.com>
19 * java/io/InputStreamReader.java (refill): Handle no-progress
21 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
23 2005-07-06 Tom Tromey <tromey@redhat.com>
25 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
27 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
29 * testsuite/libjava.compile/PR19674.java: New test.
31 2005-07-05 Aaron Luchko <aluchko@redhat.com>
33 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
36 2005-07-04 Aaron Luchko <aluchko@redhat.com>
38 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
39 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
40 CommandSets to handle JdwpCommandPackets.
41 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
44 2005-07-01 Tom Tromey <tromey@redhat.com>
46 * libtool-version: Updated.
48 2005-06-30 Aaron Luchko <aluchko@redhat.com>
50 * gnu/classpath/jdwp/util/JdwpString.java: New file.
52 2005-06-30 Keith Seitz <keiths@redhat.com>
54 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
55 (myWrite): New abstract method.
58 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
60 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
62 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
63 JdwpPacket.write instead of JdwpPacket.toBytes.
65 2005-06-30 Keith Seitz <keiths@redhat.com>
67 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
70 (_doStream): New member.
71 (JdwpConnection): Initialize new members.
73 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
75 * all files: Update for new FSF address.
77 2005-06-29 Tom Tromey <tromey@redhat.com>
80 * testsuite/libjava.lang/pr22211.java: New file.
81 * java/lang/natThread.cc (finish_): Synchronize when updating
83 (_Jv_AttachCurrentThread): Likewise.
84 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
85 * java/lang/Thread.java (isAlive): Now synchronized.
87 2005-06-29 Tom Tromey <tromey@redhat.com>
89 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
92 2005-06-28 Robin Green <greenrd@greenrd.org>
95 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
98 2005-06-27 Tom Tromey <tromey@redhat.com>
100 PR java/21540, PR java/13788:
101 * testsuite/libjava.compile/pr21540.java: New file.
102 * testsuite/libjava.compile/pr13788.java: New file.
103 * testsuite/libjava.jacks/jacks.xfail: Updated.
105 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
107 * testsuite/libjava.mauve/xfails: Updated to reflect current state
108 of mauve and libjava.
110 2005-06-24 Tom Tromey <tromey@redhat.com>
112 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
113 where class' name is NULL.
114 (_Jv_FindClass): Don't wait for class state.
115 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
117 * include/java-interp.h (_Jv_DefineClass): Updated.
118 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
119 (struct _Jv_ClassReader): Likewise.
120 (found_name): New field.
121 (handleClassBegin): Set *found_name.
122 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
123 (handleClassBegin): Throw error if super class not set.
124 (read_methods): Correctly call check_tag and prepare_pool_entry.
126 2005-06-24 Tom Tromey <tromey@redhat.com>
128 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
130 2005-06-24 Tom Tromey <tromey@redhat.com>
132 * verify.cc (verify_instructions_0): Correctly handle situation
133 where PC falls off end.
135 2005-06-24 Tom Tromey <tromey@redhat.com>
137 * interpret.cc (compile): Handle case where table entry is
140 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
142 * testsuite/libjava.compile/PR20697.java: New test-case.
144 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
146 * Makefile.am (SUBDIRS): Use append for conditional.
147 (toolexeclib_LTLIBRARIES): Likewise.
148 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
149 a conditional append.
150 * Makefile.in: Regenerate.
152 2005-06-17 Keith Seitz <keiths@redhat.com>
154 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
155 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
156 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
158 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
159 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
161 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
162 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
163 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
164 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
166 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
167 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
169 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
171 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
172 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
173 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
174 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
175 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
176 * Makefile.in: Regenerate.
178 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
180 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
181 (USING_POSIX_PLATFORM): ... here.
182 * Makefile.am: Delete USING_ECOS_PLATFORM.
183 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
184 external/Makefile.in, external/sax/Makefile.in,
185 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
187 2005-06-15 Tom Tromey <tromey@redhat.com>
190 * testsuite/libjava.lang/pr17536.java: New file.
191 * testsuite/libjava.lang/pr17536.out: New file.
193 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
196 * gnu/java/net/protocol/http/HTTPURLConnection.java
197 (getHeaderFieldKey): Check index.
199 2005-06-15 Tom Tromey <tromey@redhat.com>
202 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
204 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
205 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
207 (append_partial_itable): Use it.
208 (set_vtable_entries): Likewise.
210 2005-06-15 Tom Tromey <tromey@redhat.com>
212 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
213 last_was_sep in loop.
215 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
217 * configure.host: Handle Solaris 10/x86.
219 2005-06-14 Keith Seitz <keiths@redhat.com>
221 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
222 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
224 2005-06-14 Keith Seitz <keiths@redhat.com>
226 * gnu/classpath/jdwp/id/ArrayId.java: New file.
227 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
228 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
229 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
230 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
231 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
232 * gnu/classpath/jdwp/id/JdwpId.java: New file.
233 * gnu/classpath/jdwp/id/ObjectId.java: New file.
234 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
235 * gnu/classpath/jdwp/id/StringId.java: New file.
236 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
237 * gnu/classpath/jdwp/id/ThreadId.java: New file.
239 2005-06-14 Tom Tromey <tromey@redhat.com>
242 * configure, aclocal.m4, Makefile.in: Rebuilt.
244 2005-06-14 Tom Tromey <tromey@redhat.com>
246 * java/lang/Class.java (getClasses): New method.
247 (internalGetClasses): Likewise.
248 (getClassLoader): Updated documentation.
249 (getDeclaredClasses): New overload; old overload no longer
251 (_getConstructors): Removed.
252 (resourcePath): Updated.
253 * java/lang/natClass.cc (getClasses): Removed.
254 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
256 (_getConstructors): Removed.
258 2005-06-13 Jim Huang <jserv@kaffe.org>
261 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
262 (_Jv_JNI_NewObject): Likewise.
264 2005-06-13 Tom Tromey <tromey@redhat.com>
267 * testsuite/libjava.lang/pr21844.java: New file.
268 * testsuite/libjava.lang/pr21844.out: New file.
270 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
273 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
276 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
278 * java/text/MessageFormat.java (parse): When parsing strings, check
279 for an empty pattern trailer.
281 2005-06-06 Keith Seitz <keiths@redhat.com>
283 * gnu/classpath/jdwp/util/Signature.java: New file.
284 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
286 2005-06-05 Anthony Green <green@redhat.com>
288 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
291 2005-06-04 Anthony Green <green@redhat.com>
293 * java/net/URLClassLoader.java: import gnu.gcj.Core,
294 and gnu.java.net.protocol.core.CoreInputStream.
295 (CureURLLoader): New class.
296 (CoreResource): New class.
297 (addURLImpl): Add special treatment for the "core" protocol.
298 * gnu/gcj/natCore.cc (find): New method.
299 * gnu/gcj/Core.java (find): New method.
301 2005-06-03 Keith Seitz <keiths@redhat.com>
303 * gnu/classpath/jdwp/transport/ITransport.java: New file.
304 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
305 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
307 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
309 * jawt.c: Remove malloc.h, covered by stdlib.h.
311 * testsuite/libjava.jni/jni.exp
312 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
315 2005-06-02 Keith Seitz <keiths@redhat.com>
317 * gnu/classpath/jdwp/transport/TransportException.java: New file.
319 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
321 * mauve-libgcj: Remove implemented classes from the fail section.
322 Add two new not implemented to it.
324 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
326 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
327 AC_SUBST definition from configure.host.
328 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
329 to -fomit-frame-pointer on 32-bit x86 targets.
331 2005-06-01 Tom Tromey <tromey@redhat.com>
333 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
335 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
338 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
339 (static): Add possessive matching to JAVA_1_4 syntax.
340 * gnu/regexp/RETokenRepeated.java (possessive): New field.
341 (makePossessive, isPossessive): New methods.
342 (match): Don't back off during possessive matching.
343 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
344 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
347 2005-06-01 Keith Seitz <keiths@redhat.com>
349 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
350 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
351 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
353 2005-06-01 Tom Tromey <tromey@redhat.com>
356 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
357 (currentLoader): New method.
358 * java/io/ObjectInputStream.java (resolveProxyClass): Use
360 (currentLoader): Now native.
361 (currentClassLoader): Removed.
362 * testsuite/libjava.lang/pr21785.java: New file.
363 * testsuite/libjava.lang/pr21785.out: New file.
365 2005-06-01 Tom Tromey <tromey@redhat.com>
368 * java/lang/natString.cc (substring): Changed sharing heuristic.
370 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
373 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
374 MAXPATHLEN. Format exception message using a StringBuffer instead.
376 2005-05-29 Michael Koch <konqueror@gmx.de>
379 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
381 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
383 * ChangeLog: Fix typo.
385 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
387 Testsuite adjustments for PR java/19870.
388 * testsuite/libjava.lang/PR19870.java: New testcase.
389 * testsuite/libjava.lang/PR19870.out: Expected output for the
391 * testsuite/libjava.jacks/jacks.xfail: Add
392 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
395 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
397 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
398 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
399 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
401 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
402 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
403 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
404 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
406 2005-05-25 Richard Henderson <rth@redhat.com>
409 * sysdep/descriptor-n.h: New file.
410 * sysdep/descriptor-y.h: New file.
411 * sysdep/powerpc/descriptor.h: New file.
412 * configure.host: Set $descriptor_h appropriate for the host.
413 * configure.ac: Link it.
414 * configure: Regenerate.
415 * stacktrace.cc: Include sysdep/descriptor.h.
416 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
418 2005-05-25 Chris Burdess <dog@gnu.org>
420 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
421 end entity callbacks.
423 2005-05-24 Gary Benson <gbenson@redhat.com>
426 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
427 Handle DateFormat.DEFAULT case correctly.
429 2005-05-21 Tom Tromey <tromey@redhat.com>
432 * java/lang/ref/natReference.cc (find_slot): Handle case where
433 table has no NULL entries.
434 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
435 table has no NULL entries.
437 2005-05-22 Andreas Jaeger <aj@suse.de>
439 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
442 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
444 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
446 2005-05-19 Richard Henderson <rth@redhat.com>
448 * exception.cc: Revert 05-17 gcc_unreachable change.
450 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
452 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
453 _Jv_RegisterInitiatingLoader to register array classes, not
455 (_Jv_RegisterInitiatingLoader): Give up if called very early during
456 bootstrapping. Add a FIXME to handle this case better.
458 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
460 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
462 (libgcj_la_SOURCES): New. Move sources here.
463 (libgcj.la): Remove rule.
465 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
468 * gnu/java/security/provider/DSASignature.java: Import updates
471 2005-05-18 Anthony Green <green@redhat.com>
473 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
474 classpath_jawt_object_unlock, classpath_jawt_create_lock,
475 classpath_jawt_destroy_lock): New functions.
476 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
477 classpath_jawt_object_unlock, classpath_jawt_create_lock,
478 classpath_jawt_destroy_lock): New functions.
479 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
481 * jawt.c: #include malloc.h.
482 (_Jv_Lock): Use lock.
484 (_Jv_GetDrawingSurface): Initialize lock.
485 (_Jv_FreeDrawingSurface): Destroy lock.
486 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
488 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
490 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
491 * Makefile.in: Regenerate.
493 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
495 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
496 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
497 * aclocal.m4, configure, config.h.in, include/config.h.in,
498 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
499 external/Makefile.in, external/sax/Makefile.in,
500 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
502 2005-05-17 David Daney <ddaney@avtrex.com>
505 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
507 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
509 * exception.cc (abort): Remove std::abort hack.
510 (gcc_unreacheable): Define.
512 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
514 * Makefile.am (Makefile.deps): Do not create native.list and
516 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
517 * Makefile.in: Regenerate.
519 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
521 * configure.ac (--enable-libgcj-multifile): Remove.
523 * Makefile.am (all_native_compiled_source_files,
524 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
525 all_libgcj_lo_files, all_xlib_lo_files,
526 all_java_deps_files, all_java_stamp_files,
527 all_java_filelist_files): New variables.
528 (EXTRA_DIST): New Automake variable.
529 (CLEANFILES): Add .stamp, .list and .lo files.
530 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
531 (classes.stamp): Depend on $(all_java_stamp_files).
532 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
533 going through write_entries_to_file.
535 (all_java_source_files, all_property_files): Move earlier.
536 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
537 all_java_class_files): Remove.
538 (gtk_awt_peer_sources): Rename to...
539 (gtk_awt_peer_source_files): ... this. Adjust throughout.
542 (libgcj0_convenience_la_SOURCES): Remove Java source files.
543 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
544 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
545 (libgcj_la_SOURCES): Remove.
546 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
547 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
548 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
550 * configure: Regenerate.
551 * Makefile.in: Regenerate.
552 * external/Makefile.in: Regenerate.
553 * external/sax/Makefile.in: Regenerate.
554 * external/w3c_dom/Makefile.in: Regenerate.
555 * gcj/Makefile.in: Regenerate.
556 * include/Makefile.in: Regenerate.
557 * libltdl/Makefile.in: Regenerate.
558 * testsuite/Makefile.in: Regenerate.
560 2005-05-16 Tom Tromey <tromey@redhat.com>
562 * java/nio/charset/Charset.java (encode, decode): Synchronize on
563 'this', not the class.
565 2005-05-16 Tom Tromey <tromey@redhat.com>
567 * gnu/java/net/protocol/http/Headers.java (parse): Include final
570 2005-05-16 Tom Tromey <tromey@redhat.com>
573 * java/net/URI.java (unquote): Handle lower-case letters as well.
575 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
578 * gnu/regexp/RE.java: Add support for quoting constructs.
580 2005-05-15 Tom Tromey <tromey@redhat.com>
582 * java/lang/String.java (startsWith): Fixed javadoc.
584 2005-05-15 Tom Tromey <tromey@redhat.com>
587 * testsuite/libjava.compile/pr21519.java: New file.
588 * testsuite/libjava.compile/pr21519.no-link: New file.
590 2005-05-15 Tom Tromey <tromey@redhat.com>
592 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
594 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
597 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
598 interrupt status flag if _Jv_CondWait is interrupted.
600 2005-05-13 Tom Tromey <tromey@redhat.com>
602 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
605 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
607 * include/jvm.h (gcj::verifyClasses): Declare.
608 * link.cc (gcj::verbose_class_flag): Moved.
609 * prims.cc (gcj::verifyClasses): Define here.
610 (gcj::verbose_class_flag): Move definition here.
611 (_Jv_Linker::wait_for_state): Don't call verify_class
612 if gcj::verifyClasses is not set.
613 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
615 2005-05-12 Aaron Luchko <aluchko@redhat.com>
617 * gij.cc (main): Recognize '-verify', '-noverify', and
620 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
622 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
624 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
626 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
629 2005-05-11 Tom Tromey <tromey@redhat.com>
631 * external/w3c_dom/Makefile.in: Rebuilt.
632 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
634 * external/sax/Makefile.in: Rebuilt.
635 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
637 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
639 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
640 Call _Jv_CopyClassesToSystemLoader.
641 * java/lang/natClassLoader.cc (system_class_list): New global.
642 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
644 (_Jv_CopyClassesToSystemLoader): New function.
645 (SYSTEM_LOADER_INITIALIZED): New define.
646 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
647 (_Jv_CheckABIVersion): Use it.
648 (_Jv_ClassForBootstrapLoader): New function.
649 * Makefile.in: Rebuilt.
650 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
652 2005-05-10 Tom Tromey <tromey@redhat.com>
654 * gcj/javaprims.h: Updated.
655 * java/lang/String.java (String(StringBuilder)): New constructor.
656 * java/lang/natStringBuilder.cc: New file.
657 * java/lang/StringBuilder.java: New file.
658 * Makefile.in: Rebuilt.
659 * Makefile.am (core_java_source_files): Added StringBuilder.java.
660 (nat_source_files): Added natStringBuilder.cc.
662 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
665 * testsuite/libjava.jacks/jacks.xfail: Adjust.
667 2005-05-09 Mike Stump <mrs@apple.com>
669 * configure: Regenerate.
671 2005-05-09 David Daney <ddaney@avtrex.com>
673 * java/util/BitSet.java (get(int, int)): Fix breakage when
674 requested set doesn't start on a multiple of 64.
676 2005-05-07 Matthias Klose <doko@debian.org>
678 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
680 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
682 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
683 * Makefile.in: Regenerate.
684 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
685 (createCompatibleVolatileImage(int,int)): Implement.
686 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
688 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
690 (createVolatileImage): Implement.
691 (createBuffers): Likewise.
692 (getBackBuffer): Likewise.
694 (destroyBuffers): Likewise.
695 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
696 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
697 (CanvasFlipBufferStrategy): Likewise.
698 (createBufferStrategy(int)): New method.
699 (createBufferStrategy(int,BufferCapabilities)): Likewise.
700 * java/awt/Component.java (BltBufferStrategy): Implement and
702 (FlipBufferStrategy): Likewise.
703 * java/awt/Window.java (WindowBltBufferStrategy): New class.
704 (WindowFlipBufferStrategy): Likewise.
705 (createBufferStrategy(int)): New method.
706 (createBufferStrategy(int,BufferCapabilities)): Likewise.
707 (getBufferStrategy): Likewise.
708 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
709 front to frontCaps and back to backCaps.
711 2005-05-06 Michael Koch <konqueror@gmx.de>
713 * java/awt/BufferCapabilities.java
714 (BufferCapabilities): Merged javadoc.
716 2005-05-06 Michael Koch <konqueror@gmx.de>
718 * java/util/Locale.java
719 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
720 (getLocale): New methods. Use it everywhere where instances of Locales
722 (getDisplayLanguage): Merged javadoc.
723 (getDisplayCountry): Likewise.
724 (getDisplayVariant): Likewise.
726 2005-05-06 Archie Cobbs <archie@dellroad.org>
728 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
729 use DeleteLocalRef() to avoid exhausting local native references.
731 2005-05-06 Mark Wielaard <mark@klomp.org>
733 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
734 (window_delete_cb): Don't use C++ style comments.
736 2005-05-06 Robert Schuster <thebohemian@gmx.net>
738 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
741 2005-05-06 Robert Schuster <thebohemian@gmx.net>
743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
744 (window_delete_cb): Made the function return TRUE.
746 2005-05-06 Roman Kennke <roman@kennke.org>
748 * javax/swing/text/PlainView.java
749 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
751 * javax/swing/text/Utilities.java
752 (drawTabbedText): Initilialize local variable pos correctly.
754 2005-05-06 Roman Kennke <roman@kennke.org>
756 * javax/swing/text/AbstractDocument.java
757 (LeafElement): Made start and end package private fields for
758 effective reindexing.
759 * javax/swing/text/PlainDocument.java
760 (constructor): The field rootElement is always BranchElement,
761 so we handle it as such.
762 (removeUpdate): Rewritten reindexing for removeUpdate so that
763 the actual removal is taken into account.
765 2005-05-06 Roman Kennke <roman@kennke.org>
767 * javax/swing/text/GapContent.java:
768 Removed debugging output stuff, which I accidentally left in.
770 2005-05-06 Roman Kennke <roman@kennke.org>
772 * javax/swing/text/GapContent.java:
773 Implemented a real GapContent. Only the public methods have
774 been implemented so far and still no UndoableEdit support.
776 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
778 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
781 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
783 * java/awt/image/BufferStrategy.java: Document.
785 * java/awt/BufferCapabilities.java: Document.
787 2005-05-04 Tom Tromey <tromey@redhat.com>
789 * java/nio/channels/FileLock.java (toString): Entirely avoid
792 2005-05-04 Andrew Overholt <overholt@redhat.com>
794 * java/nio/channels/FileLock.java (toString): Re-implement using
797 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
799 * java/awt/ImageCapabilities.java: Document.
801 * java/awt/image/VolatileImage.java: Unindent copyright header.
803 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
805 * java/awt/image/VolatileImage.java: Document.
807 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
810 (init_glib_threads): Check if threading system is already
813 2005-05-03 Andrew Overholt <overholt@redhat.com>
816 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
817 could not be acquired.
818 * java/nio/channels/FileLock.java (toString): Re-implement to be
819 in line with other implementations.
821 2005-05-03 Tom Tromey <tromey@redhat.com>
823 * java/lang/VMSecurityManager.java (currentClassLoader): Use
824 'systemClasssLoader' directly.
826 2005-05-03 Tom Tromey <tromey@redhat.com>
828 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
829 call VMClassLoader.getSystemClassLoader.
831 2005-04-29 Michael Koch <konqueror@gmx.de>
833 * java/net/NetworkInterface.java
835 (NetworkInterface(String,InetAddress)): Made package-private.
836 (NetworkInterface(String,InetAddress[])): New constructor.
837 (getRealNetworkInterfaces): Removed.
838 (getByName): Use VMNetworkInterface.getInterfaces().
839 (getByInetAddress): Likewise.
840 (getNetworkInterfaces): Likewise.
841 * java/net/VMNetworkInterface.java,
842 java/net/natVMNetworkInterfaceNoNet.cc,
843 java/net/natVMNetworkInterfacePosix.c,c
844 java/net/natVMNetworkInterfaceWin32.cc: New files.
845 * java/net/natNetworkInterfaceNoNet.cc,
846 java/net/natNetworkInterfacePosix.cc,
847 java/net/natNetworkInterfaceWin32.cc: Removed.
850 * configure, Makefile.in: Regenerated.
852 2005-04-29 Andrew Haley <aph@redhat.com>
854 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
856 2005-04-29 Dalibor Topic <robilad@kaffe.org>
858 * java/nio/channels/FileChannelImpl.java
859 (FileChannelImpl(String, int)): Removed.
860 (FileChannelImpl(File, int)): Added. Check if opened file is a
862 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
863 Call FileChannelImpl(File, int).
864 * java/io/FileOutputStream.java (FileInputStream): Call
865 FileChannelImpl(File, int).
866 * java/io/RandomAccessFile.java (RandomAccessFile):
867 Call FileChannelImpl(File, int). Switched constructors around.
869 2005-04-27 Andrew Haley <aph@redhat.com>
872 * prims.cc (_Jv_ResolvePoolEntry): New function.
873 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
874 * link.cc (_Jv_Linker::find_field): New arg: found_class.
875 (resolve_pool_entry): Initialize the class in which a field is
877 (link_symbol_table): Pass new arg to found_class.
879 2005-04-29 Michael Koch <konqueror@gmx.de>
881 * java/nio/charset/Charset.java
882 (provider): Reformatted.
884 2005-04-29 Michael Koch <konqueror@gmx.de>
886 * gnu/java/net/protocol/http/HTTPConnection.java:
887 (userAgent): Initialize from system properties.
888 (initUserAgent): Removed.
890 2005-04-29 Mark Wielaard <mark@klomp.org>
892 * java/util/ResourceBundle.java (getObject): Clarify
893 MissingResourceException detailed message.
894 (tryBundle(String,ClassLoader)): Likewise.
896 2005-04-29 Robert Schuster <thebohemian@gmx.net>
898 * java/beans/FeatureDescriptor.java:
899 (getShortDescription): Implemented fallback mechanism and fixed
900 documentation (fixes bug #12637).
901 (getDisplayName): Dito.
903 2005-04-29 Robert Schuster <thebohemian@gmx.net>
905 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
906 will now be set correctly.
907 (flushCaches): Now flushes all cached intermediate data.
909 2005-04-28 Michael Koch <konqueror@gmx.de>
911 * java/net/InetAddress.java
912 (aton): Fixed javadoc.
915 2005-04-28 Tom Tromey <tromey@redhat.com>
917 * javax/swing/Timer.java
918 (drainEvents, queueEvent): Now package-private.
920 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
922 * javax/swing/Timer.java
923 (constructor): Assigning initialDelay.
925 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
927 * javax/swing/Timer.java
928 (Waker.run): firing the first action event.
930 2005-04-28 Michael Koch <konqueror@gmx.de>
932 * javax/swing/Timer.java: Reordered all fields and methods,
935 2005-04-28 Michael Koch <konqueror@gmx.de>
937 * javax/swing/Timer.java: Javadocs merged
940 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
942 * gnu/java/net/protocol/file/Connection.java
943 (StaticData): New inner class to contain statics.
944 (connect, getHeaderField): Modified to use StaticData.
946 2005-04-28 Michael Koch <konqueror@gmx.de>
948 * gnu/java/net/protocol/file/Connection.java
949 (lineSeparator): Initialize with SystemProperties.getProperty().
951 2005-04-27 Chris Burdess <dog@gnu.org>
953 * gnu/java/net/protocol/file/Connection.java: Return correct content
954 length for directory listing.
955 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
956 #11285: return valid URLs for directories.i
958 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
960 * Makefile.am (ordinary_java_source_files): Add
961 gnu/java/net/protocol/https/Handler.java.
962 * Makefile.in: Regenerate.
963 * java/net/URL.java: Remove org.metastatic.jessie from default
964 protocol search path.
966 2005-04-27 Chris Burdess <dog@gnu.org>
968 * gnu/java/net/protocol/https/Handler.java: New file.
970 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
972 * javax/imageio/spi/IIORegistry.java (IIORegistry):
973 Don't assume that awt Toolkit is always ClasspathToolkit.
975 2005-04-27 Chris Burdess <dog@gnu.org>
977 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
978 absolute and relative paths in Location header.
980 2005-04-27 Chris Burdess <dog@gnu.org>
982 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
983 FileNotFoundException and implement getErrorStream on 404.
985 2005-04-27 Sven de Marothy <sven@physto.se>
987 * java/util/TimeZone.java,
988 (getDefaultDisplayName): Fix previous fix.
990 2005-04-27 Sven de Marothy <sven@physto.se>
992 * java/util/TimeZone.java,
993 (getDefaultDisplayName): Don't print zero offsets.
995 2005-04-27 Roman Kennke <roman@kennke.org>
997 * javax/swing/plaf/basic/BasicScrollBarUI
998 (getThumbBounds): Do not make thumb smaller than
1000 * javax/swing/plaf/metal/MetalLookAndFeel
1001 (initComponentDefaults): Added color defaults for ScrollBar.
1002 * javax/swing/plaf/metal/MetalScrollBarUI
1003 (paintThumb): Added.
1004 (getMinimumThumbSize): Added.
1006 2005-04-27 Roman Kennke <roman@kennke.org>
1008 * javax/swing/plaf/metal/MetalLookAndFeel
1009 (initComponentDefaults): Added some default colors.
1011 2005-04-27 Roman Kennke <roman@kennke.org>
1013 * javax/swing/plaf/basic/BasicScrollBarUI.java
1014 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1015 to 'ScrollBar.thumbShadow'. The formes does not exist.
1016 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1018 2005-04-27 Roman Kennke <roman@kennke.org>
1020 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1021 * javax/swing/BoxLayout.java: Likewise.
1022 * javax/swing/UIManager.java: Likewise.
1023 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1024 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1025 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1026 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1027 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1028 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1029 * javax/swing/text/Document.java: Likewise.
1030 * javax/swing/text/GapContent.java: Likewise.
1031 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1032 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1034 2005-04-27 Roman Kennke <roman@kennke.org>
1036 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1037 (getPropertyPrefix): Added.
1039 2005-04-27 Roman Kennke <roman@kennke.org>
1041 * javax/swing/plaf/basic/BasicButtonUI.java
1042 (getPropertyPrefix): Added.
1043 (installDefaults): Use getPropertyPrefix instead of hard-coded
1046 2005-04-27 Roman Kennke <roman@kennke.org>
1048 * javax/swing/JToggleButton.java
1049 (JToggleButton): Removed horizontalAlignment setting, this
1050 was wrong. Added setting of an actionCommand, ToggleButtons
1051 have "" as default actionCommand.
1053 2005-04-27 Michael Koch <konqueror@gmx.de>
1055 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1056 to work around CNI limitation.
1058 2005-04-27 Sven de Marothy <sven@physto.se>
1060 * java/nio/charset/Charset.java:
1061 (defaultCharset()): New method.
1062 Status updated to 1.5
1064 2005-04-27 Sven de Marothy <sven@physto.se>
1066 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1068 2005-04-27 Sven de Marothy <sven@physto.se>
1070 * java/nio/charset/Charset.java: Reset cached de/encoders.
1072 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1074 * java/nio/charset/Charset.java (forName): Throws
1075 IllegalArgumentException when argument is null
1076 and added documentation.
1078 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1080 * java/nio/charset/Charset.java (providers):
1081 New method to make an array of CharsetProviders defined in
1082 META-INF/services/java.nio.charset.spi.CharsetProvider.
1083 (charsetForName, availableCharsets): Use the
1084 new method providers().
1086 2005-04-26 Michael Koch <konqueror@gmx.de>
1088 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1089 Fixed typos in javadocs.
1090 (isSiteLocalAddress): Fixed handling of byte values.
1091 (isMCLinkLocal): Likewise.
1092 * java/net/Inet4Address.java
1093 (isMulticastAddress): Call super method.
1094 (isLoopbackAddress): Likewise.
1095 (isAnyLocalAddress): Likewise.
1096 (isLinkLocalAddress): Likewise.
1097 (isSiteLocalAddress): Likewise.
1098 (isMCGlobal): Likewise.
1099 (isMCNodeLocal): Likewise.
1100 (isMCLinkLocal): Likewise.
1101 (isMCSiteLocal): Likewise.
1102 (isMCOrgLocal): Likewise.
1103 (getHostAddress): Likewise.
1105 2005-04-26 Sven de Marothy <sven@physto.se>
1107 * java/net/InetAddress.java
1108 (toString): Don't print empty hostnames.
1110 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1113 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1114 'false' to native lock().
1115 (lock): Pass 'true' to native lock().
1117 2005-04-26 Michael Koch <konqueror@gmx.de>
1119 * java/net/InetAddress.java:
1120 Fixed typos in javadocs.
1122 2005-04-26 Andrew Haley <aph@redhat.com>
1125 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1128 2005-04-26 Tom Tromey <tromey@redhat.com>
1130 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1131 gnu): Now package-private.
1132 * javax/swing/text/html/parser/DocumentParser.java (parser,
1133 callBack, gnu): Now package-private.
1134 * javax/swing/text/StringContent.java (content, setOffset,
1135 checkLocation): Now package-private.
1136 * javax/swing/text/JTextComponent.java (doc): Now
1138 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1139 lastGoodOrientation, origParent, borders, cachedBounds,
1140 cachedOrientation, DragWindow): Now package-private.
1141 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1142 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1143 tabAreaRect, contentRect, createIncreaseButton,
1144 createDecreaseButton, findPointForIndex): Now package-private.
1145 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1146 (currentDividerLocation, moveDividerTo): Now package-private.
1147 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1149 * javax/swing/plaf/basic/BasicScrollBarUI.java
1150 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1151 Now package-private.
1152 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1153 (topWindowListener): Now package-private.
1154 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1155 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1156 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1158 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1160 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1161 Now package-private.
1162 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1164 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1165 borderInsets): Now package-private.
1166 (arrowButtonWidth): Likewise. Now a constant.
1167 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1168 makeTabs, updatePreviewPanel): Now package-private.
1169 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1170 darkShadow, highlight): Now package-private.
1171 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1172 (addColorToQueue): Now package-private.
1173 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1174 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1175 GSpinner, BSpinner): Now package-private.
1176 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1177 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1178 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1179 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1180 updateTrack): Now package-private.
1181 * javax/swing/TransferHandler.java (clipboard): Now
1183 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1185 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1187 * javax/swing/RepaintManager.java (globalManager): Now
1189 * javax/swing/JFormattedTextField.java (editValid): Now
1191 * javax/swing/JColorChooser.java (makeModal): Now
1193 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1194 index, path): Now package-private.
1195 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1196 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1197 pointEquals): Now package-private.
1198 * java/awt/geom/Arc2D.java (type): Now package-private.
1199 * java/awt/Window.java (windowFocusOwner): Now package-private.
1200 * java/awt/TextComponent.java (editable, selectionStart,
1201 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1203 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1205 * java/awt/MenuComponent.java (focusListener): Now
1207 * java/awt/Frame.java (state): Now package-private.
1208 * java/awt/Choice.java (pItems): Now package-private.
1209 * java/awt/Checkbox.java (state): Now package-private.
1210 * java/awt/Button.java (actionCommand, label): Now
1212 * gnu/javax/swing/text/html/parser/support/Parser.java
1213 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1215 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1217 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1218 clip, transform, font, comp): Now package-private.
1220 2005-04-26 Tom Tromey <tromey@redhat.com>
1222 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1225 2005-04-26 Mark Wielaard <mark@klomp.org>
1227 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1228 to MalformedURLException.
1230 2005-04-26 Michael Koch <konqueror@gmx.de>
1232 * java/security/AccessControlContext.java:
1234 (protectedDomains): Renamed from 'protectionDomain'.
1235 * java/security/AccessController.java:
1238 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1240 * gnu/java/security/action/GetSecurityPropertyAction.java
1241 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1242 of extending GetPropertyAction.
1245 (setParamters): New methods.
1246 (GetSecurityPropertyAction): Use new setParameters methods.
1248 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1250 * java/security/Security.java,
1251 java/security/cert/X509CRLSelector.java,
1252 java/security/cert/X509CertSelector.java:
1253 Modified to use SystemProperties.
1255 2005-04-26 Michael Koch <konqueror@gmx.de>
1257 * java/lang/System.java
1258 (setSecurityManager): Fixed comment.
1259 (getSecurityManager): Removed obsolete comment.
1261 2005-04-25 Tom Tromey <tromey@redhat.com>
1263 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1265 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1268 (connectSignals): Realize the window widget after connecting
1271 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1273 * java/awt/GraphicsEnvironment.java
1274 (localGraphicsEnvironment): New field.
1275 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1277 (isHeadless): Added support for java.awt.headless property.
1278 (isHeadlessInstance): Call headless().
1280 2005-04-25 Roman Kennke <roman@kennke.org>
1282 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1283 (getDisplayMode): Added. Returns the current display mode.
1284 (isFullScreenSupported): Added.
1285 * java/awt/GraphicsDevice.java
1286 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1287 This resizes and relocates the fullscreen window so that it uses
1288 the whole screen. This is not a fully accelerated fullscreen
1291 2005-04-25 Michael Koch <konqueror@gmx.de>
1293 * java/lang/Runtime.java,
1294 java/lang/SecurityManager.java,
1295 java/lang/System.java,
1296 java/lang/ThreadGroup.java:
1297 Replaced java.lang.Runtime.securityManager by
1298 java.lang.SecurityManager.current (as used in GNU classpath).
1300 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1302 * java/awt/Transparency.java
1303 (getTransparency): fixed API docs.
1305 2005-04-25 Archie Cobbs <archie@dellroad.org>
1307 * java/lang/Throwable.java: simplify initializing cause in constructor
1309 2005-04-25 Michael Koch <konqueror@gmx.de>
1311 * gnu/classpath/SystemProperties.java: New file.
1312 * gnu/classpath/natSystemProperties.cc: New file.
1313 * java/lang/Runtime.java
1314 (defaultProperties): Removed.
1316 (): Made thrown exceptions more verbose.
1317 (insertSystemProperties): Removed.
1318 * java/lang/System.java
1320 (properties): Likewise.
1321 (setSecurityManager): Reordered modifiers.
1322 (getenv): Improved javadoc.
1324 (isWordsBigEndian): Removed.
1325 * java/lang/natRuntime.cc
1326 (_Jv_SetDLLSearchPath): Likewise.
1327 (file_encoding): Likewise.
1328 (default_file_encoding): Likewise.
1329 (getpwuid_adaptor): Likewise.
1330 (insertSystemProperties): Likewise.
1331 * java/lang/natSystem.cc
1332 (isWordsBigEndian): Likewise.
1334 (ordinary_java_source_files):
1335 Added gnu/classpath/SystemProperties.java.
1336 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1337 * Makefile.in: Regenerated.
1339 2005-04-25 Roman Kennke <roman@kennke.org>
1341 * javax/swing/plaf/basic/BasicScrollBarUI.java
1342 (initDefaults): Initialize thumb*Color fields correctly.
1344 2005-04-25 Roman Kennke <roman@kennke.org>
1346 * javax/swing/text/GapContent.java:
1349 2005-04-25 Roman Kennke <roman@kennke.org>
1351 * javax/swing/plaf/metal/MetalBorders.java:
1352 Added inner class ScrollPaneBorder.
1353 * javax/swing/plaf/metal/MetalLookAndFeel.java
1354 (initComponentDefaults): Added default for "ScrollPane.border"
1355 to use the new ScrollPaneBorder.
1357 2005-04-25 Roman Kennke <roman@kennke.org>
1359 * javax/swing/text/AbstractDocument.java:
1360 Added FIXME comments. This class still has to be
1361 implemented thread-safe.
1363 2005-04-25 Roman Kennke <roman@kennke.org>
1365 * javax/swing/tree/DefaultTreeSelectionModel.java
1366 (DefaultTreeSelectionModel): Initialize listenerList here.
1368 2005-04-25 Roman Kennke <roman@kennke.org>
1370 * javax/swing/plaf/metal/MetalTextFieldUI.java
1371 (createUI): Return one instance per Component instead of a
1374 2005-04-25 Roman Kennke <roman@kennke.org>
1376 * javax/swing/text/Document.java:
1377 Added API documentation comments.
1379 2005-04-25 Roman Kennke <roman@kennke.org>
1381 * javax/swing/text/AbstractDocument.java
1382 (getDocumentProperties): Implemented.
1383 (setDocumentProperties): Implemented.
1384 (getProperty): Implemented.
1385 (putProperty): Implemented.
1387 2005-04-25 Roman Kennke <roman@kennke.org>
1389 * javax/swing/BoxLayout
1390 (preferredLayoutSize): Fixed computation so that it correctly
1391 adds the top and bottom insets of the container.
1393 2005-04-25 Roman Kennke <roman@kennke.org>
1395 * javax/swing/plaf/basic/BasicMenuItemUI.java
1396 (paintText): Make use of the 'selectionForeground' UI default
1399 2005-04-25 Roman Kennke <roman@kennke.org>
1401 * javax/swing/plaf/basic/BasicLookAndFeel.java
1402 (initSystemColorDefaults): Modified colors to match the
1403 BasicLookAndFeel in the reference implementation.
1404 (initComponentDefaults): Likewise.
1406 2005-04-25 Tom Tromey <tromey@redhat.com>
1408 * include/jni.h (_Jv_va_list): Removed.
1409 Moved configuration code...
1410 * include/jni_md.h: ... here. New file.
1411 * include/Makefile.in: Rebuilt.
1412 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1414 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1416 * java/io/FileInputStream.java (FileInputStream(File)),
1417 java/io/FileOutputStream.java (FileOutputStream(File)):
1418 Removed unnecessary File.isDirectory() check.
1420 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1422 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1423 gij if get_multilibs fails.
1425 2005-04-22 Anthony Green <green@redhat.com>
1427 * jni.cc (natrehash): Don't bother clearing memory again.
1428 * interpret.cc (do_allocate_static_fields): Ditto.
1429 * java/lang/natString.cc (rehash): Ditto.
1431 2005-04-22 Roman Kennke <roman@kennke.org>
1433 * javax/swing/plaf/basic/BasicLookAndFeel.java
1434 (initComponentDefaults): Changed Button.border to be
1435 BasicBorders.getButtonBorder as it should be.
1437 2005-04-22 Roman Kennke <roman@kennke.org>
1439 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1440 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1441 should according to a mauve testcase, instead of the preferred
1444 2005-04-22 Roman Kennke <roman@kennke.org>
1446 * javax/swing/JMenu.java
1447 (add): add(Component) now calls PopupMenu.insert(..) instead of
1448 PopupMenu.add(..). add(..) is not implemented for Component,
1449 so JComponent.add(..) is called instead, adding the component
1452 2005-04-22 Roman Kennke <roman@kennke.org>
1454 * javax/swing/plaf/basic/BasicButtonListener.java
1455 (mousePressed): replaced query to getModifiersEx with getModifiers.
1456 This method relied on faulty behaviour in getModifierEx.
1457 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1458 This method relied on faulty behaviour in getModifierEx.
1460 2005-04-22 Roman Kennke <roman@kennke.org>
1462 * javax/swing/plaf/metal/MetalLookAndFeel.java
1463 (getDefaults): Call addCustomEntriesToTable on the theme.
1465 2005-04-22 Roman Kennke <roman@kennke.org>
1467 * javax/swing/tree/DefaultTreeSelectionModel.java
1468 (constructor): Added implementation.
1469 (getRowMapper): Added implementation.
1470 (setSelectionMode): Added implementation.
1471 (getSelectionMode): Added implementation.
1472 (getSelectionPath): Added implementation.
1473 (getSelectionPaths): Added implementation.
1474 (getSelectionCount): Added implementation.
1475 (isSelectionEmpty): Added implementation.
1476 (getSelectionRows): Added implementation.
1477 (getMinSelectionRow): Added implementation.
1478 (getMaxSelectionRow): Added implementation.
1479 (getLeadSelectionRow): Added implementation.
1480 (getLeadSelectionPath): Added implementation.
1482 2005-04-22 Casey Marshall <csm@gnu.org>
1484 * gnu/java/security/der/DERValue.java
1485 (getValueAs): new method.
1486 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1487 (<init>): read both dates with 'DERValue.getValueAs', with
1488 'GENERALIZED_TIME' as the argument.
1490 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1492 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1493 be null, check for that case and don't deference it.
1495 2005-04-22 Sven de Marothy <sven@physto.se>
1497 * java/util/logging/LogManager.java: Reformatted.
1498 (readConfiguration): If a logger for a key is not found, create one.
1500 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1502 * java/rmi/Naming.java:
1503 Added class documentation.
1504 (lookup(String)): Call parseURL and getName.
1505 (bind(String,java.rmi.Remote)): Likewise.
1506 (unbind(String)): Likewise.
1507 (rebind(String, java.rmi.Remote)): Likewise.
1508 (list(String)): Call parseURL.
1509 (parseURL(String)): New method to handle parsing and defaults.
1510 (getName(java.net.URL)): New method to handle finding the service name.
1512 2005-04-21 Tom Tromey <tromey@redhat.com>
1514 * java/lang/natClass.cc (initializeClass): Link class.
1516 2005-04-21 Tom Tromey <tromey@redhat.com>
1518 * java/lang/AssertionError.java: Typo fix.
1520 2005-04-21 Tom Tromey <tromey@redhat.com>
1522 * java/lang/VMClassLoader.java (transformException): Removed.
1523 (resolveClass): No longer native. Now does nothing.
1524 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1526 2005-04-21 Anthony Green <green@redhat.com>
1529 * testsuite/libjava.special/special.exp,
1530 testsuite/libjava.special/pr21115I.java,
1531 testsuite/libjava.special/pr21115.java,
1532 testsuite/libjava.special/pr21115.out: New files.
1534 2005-04-21 Chris Burdess <dog@gnu.org>
1536 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1537 CRLF-delimited chunks.
1539 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1541 * java/net/URI.java:
1542 Added class documentation.
1543 (parseURI(String)): Only handle scheme-specific parts
1544 if URI is not opaque. Allow for parts that can't be null.
1545 (toString()): Output the scheme-specific part whole, rather
1546 than as its possibly non-existent components.
1548 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1550 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1551 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1552 Adjusted to match new regexp.
1554 2005-04-20 Michael Koch <konqueror@gmx.de>
1556 * gnu/java/net/protocol/file/Connection.java,
1557 gnu/java/net/protocol/jar/Connection.java:
1558 Reorganized import statements. Fixed @author tags.
1560 2005-04-20 Chris Burdess <dog@gnu.org>
1562 * java/io/DataOutputStream.java (writeUTF): Use block write for
1565 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1567 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1568 (readLine): Changed newline handling.
1570 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1572 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1573 ColorModel,byte[],int,int): Fixed byte to int conversion.
1575 2005-04-20 Michael Koch <konqueror@gmx.de>
1577 * java/io/FilePermission.java
1578 (serialVersionUID): Made private.
1579 (ALL_FILES): New constant.
1580 (implies): Handle '<<ALL FILES>>' case.
1582 2005-04-20 Sven de Marothy <sven@physto.se>
1584 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1585 (drawImage): Don't notify the image observer for offscreen images.
1586 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1587 (setPixels): Don't notify the image observer.
1589 2005-04-20 Sven de Marothy <sven@physto.se>
1591 * java/nio/ByteBufferImpl.java:
1592 (putChar): Inlined for speed.
1593 (put, get): Bulk methods can use arraycopy.
1594 * java/nio/CharBufferImpl.java:
1595 (put, get): Bulk methods can use arraycopy.
1597 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1599 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1601 * java/nio/CharBufferImpl.java
1602 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1603 (get(), put(char)): Inlined checks and field updates. Fixed to
1604 take array_offset into account.
1605 (get(int), put(int, char)): Fixed to take array_offset into account.
1607 2005-04-20 Sven de Marothy <sven@physto.se>
1609 * java/text/SimpleDateFormat.java:
1610 (formatWithAttribute): Pad year before truncating digits.
1612 2005-04-20 Michael Koch <konqueror@gmx.de>
1614 * gnu/java/net/PlainDatagramSocketImpl.java:
1615 Merged copyright header.
1616 * gnu/java/net/PlainSocketImpl.java:
1617 Reorganized import statements. Fixed @author tags.
1619 2005-04-20 Michael Koch <konqueror@gmx.de>
1621 * gnu/java/lang/ClassHelper.java,
1622 gnu/java/lang/reflect/TypeSignature.java:
1625 2005-04-20 Michael Koch <konqueror@gmx.de>
1627 * gnu/java/beans/IntrospectionIncubator.java:
1628 Fixed HTML tags in javadocs.
1630 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1632 * gnu/java/beans/IntrospectionIncubator.java
1633 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1634 set(), is(), add() and remove() with properties or events.
1636 2005-04-20 Michael Koch <konqueror@gmx.de>
1638 * gnu/java/awt/image/XBMDecoder.java:
1639 Fixed modifier order.
1641 2005-04-20 Roman Kennke <roman@kennke.org>
1643 * javax/swing/plaf/basic/BasicButtonUI.java
1644 (paint): This should not care about margin and insets
1645 at the same time, as insets already include the margin
1647 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1648 (getPreferredButtonSize): Likewise.
1649 * javax/swing/plaf/metal/MetalBorders.java
1650 (getBorderInsets): Likewise.
1652 2005-04-20 Roman Kennke <roman@kennke.org>
1654 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1655 (createMessageArea): The JPanel that holds the message area
1656 doesn't need to override getPreferredSize. This prevents some
1657 message components from rendering nicely.
1659 2005-04-20 Roman Kennke <roman@kennke.org>
1661 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1662 (createUI): Do not share instances between components.
1663 * javax/swing/plaf/metal/MetalSliderUI.java
1664 (createUI): Do not share instances between components.
1666 2005-04-20 Roman Kennke <roman@kennke.org>
1668 * javax/swing/plaf/metal/MetalBorders:
1669 (PopupMenuBorder): Added.
1670 * javax/swing/plaf/metal/MetalLookAndFeel
1671 (initComponentDefaults): Added PopupMenuBorder.
1673 2005-04-20 Roman Kennke <roman@kennke.org>
1675 * javax/swing/tree/DefaultTreeSelectionModel.java:
1676 Added API documentation all over the class.
1678 2005-04-20 Roman Kennke <roman@kennke.org>
1680 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1681 (installDefaults): Link managed JScrollPane in instance field.
1682 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1684 2005-04-20 Roman Kennke <roman@kennke.org>
1686 * javax/swing/plaf/basic/BasicScrollBarUI.java
1687 (PropertyChangeHandler.propertyChange): Add default
1688 to switch statement to avoid errors with unusual values
1690 (installComponents): Likewise.
1692 2005-04-20 Roman Kennke <roman@kennke.org>
1694 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1695 (createUI): Instances cannot be shared among JScrollPanes.
1697 2005-04-20 Roman Kennke <roman@kennke.org>
1699 * javax/swing/plaf/metal/MetalLookAndFeel.java
1700 (initComponentDefaults): Added defaults for Menu, MenuBar
1703 2005-04-20 Roman Kennke <roman@kennke.org>
1705 * javax/swing/plaf/basic/BasicScrollBarUI.java
1706 (installUI): Install listeners after everything all, otherwise
1707 we get strange NPEs in some situations, especially with
1709 (createIncreaseButton): Orientation is expected to be
1710 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1711 HORIZONTAL or VERTICAL.
1712 (createDecreaseButton): Orientation is expected to be
1713 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1714 HORIZONTAL or VERTICAL.
1715 (installComponents): Orientation for buttons is expected to be
1716 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1717 HORIZONTAL or VERTICAL.
1719 2005-04-20 Roman Kennke <roman@kennke.org>
1721 * javax/swing/JToolBar.java
1722 (addImpl): Adjust added AbstractButtons to look and feel like
1724 * javax/swing/plaf/metal/MetalBorders.java:
1725 Adjusted insets of ButtonBorder.
1726 (RolloverMarginBorder): Added class for toolbar buttons.
1727 (getButtonBorder): Adjusted factory method to return a shared
1728 instance of button border.
1729 (getToolbarButtonBorder): Added factory method to return a shared
1730 instance of toolbar button border.
1731 (getMarginBorder): Added factory method to return a shared
1732 instance of margin border.
1733 * javax/swing/plaf/metal/MetalButtonUI.java
1734 (installDefauls): If button is child of a JToolBar then set
1735 special border on this button.
1737 2005-04-20 Michael Koch <konqueror@gmx.de>
1739 * java/net/URLConnection.java
1740 (getContent): Fixed javadoc comment.
1742 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1744 * java/net/URL.java:
1745 (toURI()): Implemented.
1747 2005-04-19 Michael Koch <konqueror@gmx.de>
1749 * java/net/InetAddress.java
1750 (InetAddress): Fixed javadoc comment.
1752 (lookup): Added javadoc.
1753 (getFamily): Likewise.
1754 * java/net/ServerSocket.java
1755 (getChannel): Improved javadoc comment.
1757 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1759 * gnu/xml/dom/html2/DomHTMLParser.java:
1760 Changed 'enum' references to become 'enumeration'.
1762 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1764 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1766 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1768 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1769 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1770 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1771 (validateParameters(TagElement,htmlAttributeSet)):
1772 Replaced 'enum' with 'enumeration'.
1773 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1776 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1778 * javax/swing/text/html/parser/Entity.java (getType): New method.
1779 * javax/swing/text/html/parser/DocumentParser.java:
1780 Inherit from javax.swing.text.html.parser.Parser.
1782 2005-04-19 Chris Burdess <dog@gnu.org>
1784 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1785 check for HTML/XHTML namespace.
1787 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1789 * javax/swing/text/html/parser/Parser.java,
1790 javax/swing/text/html/parser/Entity.java:
1791 Inheriting from DTDConstants.
1792 * javax/swing/text/html/parser/AttributeList.java
1793 (getValues): Changed return type.
1794 * javax/swing/text/html/parser/DocumentParser
1795 (parse): Adding the callback parameter that receives
1798 2005-04-19 Chris Burdess <dog@gnu.org>
1800 * gnu/xml/dom/DomImpl.java,
1801 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1802 gnu/xml/dom/html2/DomHTMLDocument.java,
1803 gnu/xml/dom/html2/DomHTMLElement.java,
1804 gnu/xml/dom/html2/DomHTMLFormElement.java,
1805 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1806 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1807 gnu/xml/dom/html2/DomHTMLImpl.java,
1808 gnu/xml/dom/html2/DomHTMLInputElement.java,
1809 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1810 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1811 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1812 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1813 gnu/xml/dom/html2/DomHTMLTableElement.java,
1814 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1815 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1816 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1817 UI events, and tree utility functions.
1819 2005-04-19 Michael Koch <konqueror@gmx.de>
1821 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1822 gnu/javax/swing/text/html/parser/gnuDTD.java,
1823 gnu/javax/swing/text/html/parser/models/node.java:
1824 Reworked import statements.
1826 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1828 * javax/swing/text/html/HTMLDocument.java: New file.
1830 2005-04-19 Michael Koch <konqueror@gmx.de>
1832 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1834 * javax/swing/text/html/parser/AttributeList.java:
1835 Fixed order of modifiers.
1836 (AttributeList): Made final.
1837 * javax/swing/text/html/parser/ContentModel.java:
1838 Fixed html characters in javadocs.
1839 * javax/swing/text/html/parser/DTD.java
1840 (DTD): Don't implement java.io.Serializable directly.
1841 (getElement): Simplified.
1842 * javax/swing/text/html/parser/DTDConstants.java:
1844 * javax/swing/text/html/parser/Element.java:
1845 Fixed order of modifiers.
1846 * javax/swing/text/html/parser/Parser.java:
1847 Reformatted. Don't use fully-qualified class names.
1848 * javax/swing/text/html/parser/ParserDelegator.java:
1849 Fixed order of modifiers.
1850 * javax/swing/text/rtf/RTFParser.java:
1851 Re-ordered import statements.
1852 * javax/swing/text/rtf/RTFScanner.java:
1853 Removed unused import statement.
1855 2005-04-19 Chris Burdess <dog@gnu.org>
1857 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1858 gnu/xml/dom/html2/DomHTMLCollection.java,
1859 gnu/xml/dom/html2/DomHTMLDocument.java,
1860 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1862 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1863 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1864 gnu/xml/dom/html2/DomHTMLDivElement.java,
1865 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1866 gnu/xml/dom/html2/DomHTMLFontElement.java,
1867 gnu/xml/dom/html2/DomHTMLFormElement.java,
1868 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1869 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1870 gnu/xml/dom/html2/DomHTMLHRElement.java,
1871 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1872 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1873 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1874 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1875 gnu/xml/dom/html2/DomHTMLImageElement.java,
1876 gnu/xml/dom/html2/DomHTMLInputElement.java,
1877 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1878 gnu/xml/dom/html2/DomHTMLLIElement.java,
1879 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1880 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1881 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1882 gnu/xml/dom/html2/DomHTMLMapElement.java,
1883 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1884 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1885 gnu/xml/dom/html2/DomHTMLModElement.java,
1886 gnu/xml/dom/html2/DomHTMLOListElement.java,
1887 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1888 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1889 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1890 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1891 gnu/xml/dom/html2/DomHTMLParamElement.java,
1892 gnu/xml/dom/html2/DomHTMLPreElement.java,
1893 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1894 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1895 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1896 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1897 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1898 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1899 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1900 gnu/xml/dom/html2/DomHTMLTableElement.java,
1901 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1902 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1903 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1904 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1905 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1907 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1909 * javax/swing/text/ChangedCharSetException.java,
1910 javax/swing/text/html/HTMLEditorKit.java,
1911 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1912 javax/swing/text/html/parser/AttributeList.java,
1913 javax/swing/text/html/parser/ContentModel.java,
1914 javax/swing/text/html/parser/DocumentParser.java,
1915 javax/swing/text/html/parser/DTD.java,
1916 javax/swing/text/html/parser/DTDConstants.java,
1917 javax/swing/text/html/parser/Element.java,
1918 javax/swing/text/html/parser/Entity.java,
1919 javax/swing/text/html/parser/Parser.java,
1920 javax/swing/text/html/parser/TagElement.java,
1921 gnu/javax/swing/text/html/package.html,
1922 gnu/javax/swing/text/html/parser/gnuDTD.java,
1923 gnu/javax/swing/text/html/parser/HTML_401F.java,
1924 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1925 gnu/javax/swing/text/html/parser/htmlValidator.java,
1926 gnu/javax/swing/text/html/parser/package.html,
1927 gnu/javax/swing/text/html/parser/models/list.java,
1928 gnu/javax/swing/text/html/parser/models/node.java,
1929 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1930 gnu/javax/swing/text/html/parser/models/package.html,
1931 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1932 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1933 gnu/javax/swing/text/html/parser/models/transformer.java,
1934 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1935 gnu/javax/swing/text/html/parser/support/package.html,
1936 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1937 gnu/javax/swing/text/html/parser/support/Parser.java,
1938 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1939 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1940 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1941 gnu/javax/swing/text/html/parser/support/low/Location.java,
1942 gnu/javax/swing/text/html/parser/support/low/node.java,
1943 gnu/javax/swing/text/html/parser/support/low/package.html,
1944 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1945 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1946 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1947 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1949 * javax/swing/text/html/HTML.java,
1950 javax/swing/text/html/parser/ParserDelegator.java:
1951 New files (replacing).
1952 * javax/swing/text/html/package.html,
1953 javax/swing/text/html/parser/package.html: Documenting the
1956 2005-04-19 Chris Burdess <dog@gnu.org>
1958 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1959 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1960 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1961 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1962 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1963 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1964 gnu/xml/dom/html2/DomHTMLBRElement.java,
1965 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1966 gnu/xml/dom/html2/DomHTMLCollection.java,
1967 gnu/xml/dom/html2/DomHTMLDocument.java,
1968 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1970 2005-04-19 Michael Koch <konqueror@gmx.de>
1972 * Makefile.am: Added new files.
1973 * Makefile.in: Regenerated.
1975 2005-04-19 Roman Kennke <roman@kennke.org>
1977 * javax/swing/text/JTextComponent.java
1978 (JTextComponent): Added repaintListener which issues repaint
1979 requests when the underlying document changes.
1980 (setDocument): Adds repaintListener to document when the
1981 document is changed.
1982 * javax/swing/text/DefaultEditorKit.java:
1983 Removed repaint calls on JTextComponent. This is now handled
1984 through a DocumentListener in JTextComponent that repaints
1985 the component when needed.
1987 2005-04-19 Roman Kennke <roman@kennke.org>
1990 * javax/swing/text/StyleContext.java
1991 (NamedStyle.setResolveParent): Added null
1994 2005-04-19 Michael Koch <konqueror@gmx.de>
1996 * java/rmi/server/RemoteObject.java:
1997 Removed unused import statement.
1999 2005-04-19 Michael Koch <konqueror@gmx.de>
2001 * java/net/URL.java: Formatting cleanups.
2003 2005-04-19 Michael Koch <konqueror@gmx.de>
2005 * java/awt/FontMetrics.java: Reformatted.
2006 (getFontRenderContext): Handle case when java.awt.Graphics context is
2009 2005-04-19 Michael Koch <konqueror@gmx.de>
2011 * java/awt/FontMetrics.java
2012 (getStringBounds): New methods.
2015 2005-04-19 Michael Koch <konqueror@gmx.de>
2017 * gnu/java/security/x509/X509Certificate.java
2018 (parse): Handle val == null case.
2020 2005-04-19 Roman Kennke <roman@kennke.org>
2022 * javax/swing/plaf/metal/MetalLookAndFeel.java
2023 (initComponentDefaults): Added defaults for Menu, MenuBar
2026 2005-04-19 Roman Kennke <roman@kennke.org>
2028 * javax/swing/plaf/metal/MetalLookAndFeel.java
2029 (initComponentDefaults): Added Label.font.
2030 (initSystemColorDefaults): Added this method and adjusted the
2031 general control color.
2033 2005-04-19 Roman Kennke <roman@kennke.org>
2035 * javax/swing/plaf/metal/MetalBorders.java:
2037 * javax/swing/plaf/metal/MetalButtonUI.java:
2038 (installDefaults): Install button font.
2039 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2040 (initComponentDefaults): Added button border, font and margin.
2041 Changed components background color to the Metal current themes
2044 2005-04-19 Roman Kennke <roman@kennke.org>
2046 * javax/swing/plaf/metal/MetalLookAndFeel.java
2047 (initComponentDefaults): Added to set Metal specific component
2050 2005-04-19 Mark Wielaard <mark@klomp.org>
2052 * javax/swing/plaf/metal/MetalLookAndFeel.java
2053 (initClassDefaults): Call super.initClassDefaults().
2055 2005-04-19 Roman Kennke <roman@kennke.org>
2057 * javax/swing/plaf/metal/MetalLookAndFeel.java
2058 (initClassDefaults): Added to include the *UI classes.
2060 2005-04-19 Roman Kennke <roman@kennke.org>
2062 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2064 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2066 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2068 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2070 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2072 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2074 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2076 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2078 * javax/swing/plaf/metal/MetalSliderUI.java:
2080 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2082 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2084 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2086 2005-04-19 Roman Kennke <roman@kennke.org>
2088 * javax/swing/plaf/metal/MetalButtonUI.java:
2089 Added skeleton class.
2090 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2091 Added skeleton class.
2092 * javax/swing/plaf/metal/MetalLabelUI.java:
2093 Added skeleton class.
2094 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2095 Added skeleton class.
2096 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2097 Added skeleton class.
2098 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2099 Added skeleton class.
2101 2005-04-19 Roman Kennke <roman@kennke.org>
2103 * javax/swing/UIDefaults.java:
2104 Added API documentation for all methods.
2106 2005-04-19 Roman Kennke <roman@kennke.org>
2108 * javax/swing/UIDefaults.java
2109 (put): Now uses new checkAndPut method instead of checking
2111 (putDefaults): Fixed so that it accepts null-values and
2112 treats them like remove(key).
2113 (checkAndPut): Added. This checks for null-values and calls
2116 2005-04-19 Michael Koch <konqueror@gmx.de>
2118 * Makefile.am: Added new files.
2119 * Makefile.in: Regenerated.
2121 2005-04-19 Mark Wielaard <mark@klomp.org>
2123 * java/lang/natRuntime.cc (insertSystemProperties): Set
2124 java.class.path to CLASSPATH only when not empty. Fall back to
2125 default path "." when java.class.path is empty.
2127 2005-04-19 Michael Koch <konqueror@gmx.de>
2129 * javax/swing/text/rtf/ControlWordToken.java,
2130 javax/swing/text/rtf/RTFEditorKit.java,
2131 javax/swing/text/rtf/RTFParseException.java,
2132 javax/swing/text/rtf/RTFParser.java,
2133 javax/swing/text/rtf/RTFScanner.java,
2134 javax/swing/text/rtf/TextToken.java,
2135 javax/swing/text/rtf/Token.java: New files.
2136 * Makefile.am: Added new files.
2137 * Makefile.in: Regenerated.
2139 2005-04-19 Michael Koch <konqueror@gmx.de>
2141 * java/awt/geom/QuadCurve2D.java:
2142 Fixed Brian Gough's name for real.
2144 2005-04-19 Roman Kennke <roman@kennke.org>
2146 * javax/swing/UIManager.java:
2147 Make the UIManager respect the swing.defaultlaf system
2150 2005-04-19 Tom Tromey <tromey@redhat.com>
2152 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2155 2005-04-19 Roman Kennke <roman@kennke.org>
2157 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2158 Fixed tabs to spaces.
2160 2005-04-19 Roman Kennke <roman@kennke.org>
2162 * javax/swing/plaf/basic/BasicMenuUI.java
2163 (getMaximumSize): Now returns preferredSize because JMenu should
2164 never be bigger than that.
2165 * javax/swing/JRootPane
2166 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2168 2005-04-19 Roman Kennke <roman@kennke.org>
2170 * javax/swing/JRootPane.java:
2171 Fixed various tabs to be spaces.
2172 (RootLayout.layoutContainer): Made menubar left aligned.
2174 2005-04-19 Roman Kennke <roman@ontographics.com>
2176 * javax/swing/JList.java
2177 (getPreferredScrollableViewportSize):
2178 The previous implementation was merely guessing the size,
2179 now it respects layoutOrientation, visibleRowCount
2181 (getScrollableTracksViewportHeight):
2182 Reimplemented so that layoutOrientation, visibleRowCount
2183 and preferred size are respected.
2184 (getScrollableTracksViewportWidth):
2185 Reimplemented so that layoutOrientation, visibleRowCount
2186 and preferred size are respected.
2187 * javax/swing/plaf/basic/BasicListUI.java
2189 Improved calculation of preferredSize when JList is
2190 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2192 The previous implementation assumed a layoutOrientation of
2193 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2194 JList.VERTICAL_WRAP.
2196 2005-04-19 Roman Kennke <roman@ontographics.com>
2198 * javax/swing/plaf/basic/BasicListUI.java
2199 (paintCell): use CellRendererPane for painting the cells.
2201 2005-04-19 Roman Kennke <roman@ontographics.com>
2203 * javax/swing/plaf/basic/BasicListUI:
2204 fixed modifiers of several fields, methods and inner
2205 classes to match the 'spec'.
2206 (getMaximumSize): removed. It's not in the spec and the
2207 implementations was superfluous.
2209 2005-04-19 Roman Kennke <roman@ontographics.com>
2211 * javax/swing/plaf/basic/BasicListUI:
2212 make BasicListUI capable of wrapping lists
2213 (layoutOrientation property of javax.swing.JList)
2215 2005-04-19 Roman Kennke <roman@ontographics.com>
2217 * javax/swing/plaf/basic/BasicListUI
2218 (updateLayoutState,paint): make BasicListUI aware of the
2219 width of the rendered JList.
2221 2005-04-19 Roman Kennke <roman@kennke.org>
2223 * javax/swing/ImageIcon.java
2224 Added API documentation.
2226 2005-04-19 Roman Kennke <roman@kennke.org>
2228 * javax/swing/text/ImageIcon.java
2229 (ImageIcon): Use setImage instead of direct assignment.
2230 (setImage): Call loadImage to make sure that the image is loaded.
2231 (loadImage): Waits for the image to complete loading.
2232 (getImageLoadStatus): Added. Returns the load status of the
2235 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2237 * javax/swing/JTextArea.java (replaceRange):
2238 Fixing doc.remove(start, length) misinterpretation.
2240 2005-04-19 Roman Kennke <roman@ontographics.com>
2242 * javax/swing/CellRendererPane.java:
2243 implemented all methods of this class.
2244 reformatted all wrong formatted code.
2246 2005-04-19 Roman Kennke <roman@kennke.org>
2248 * javax/swing/BoxLayout.java:
2249 (layoutContainer): Made this layout manager respect the
2250 minimum, maximum and preferred size more correctly.
2252 2005-04-19 Roman Kennke <roman@ontographics.com>
2254 * javax/swing/BoxLayout.java:
2255 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2256 layoutContainer): Make these methods and thereby the
2257 BoxLayout respect the insets (like borders) of the
2258 component that is laid out.
2260 2005-04-19 Roman Kennke <roman@kennke.org>
2262 * javax/swing/JComponent.java:
2263 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2264 Untabified the file.
2266 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2268 * javax/swing/JComboBox.java (constructors): selecting the
2269 first item if the box was constructed from the provided
2270 non - empty array or vector.
2272 2005-04-19 Michael Koch <konqueror@gmx.de>
2274 * gnu/java/awt/peer/gtk/GdkGraphics.java
2275 (getClipBounds): Handle clip being null.
2276 (setClip): Likewise.
2277 * java/beans/beancontext/BeanContextSupport.java
2281 (removeAll): Likewise.
2282 (retainAll): Likewise.
2284 2005-04-19 Michael Koch <konqueror@gmx.de>
2286 * java/beans/beancontext/BeanContextServicesSupport.java
2287 (BeanContextServicesSupport): Reimplemented.
2288 (addBeanContextServicesListener): Implemented.
2289 (initialize): Likewise.
2290 (removeBeanContextServicesListener): Likewise.
2291 * java/beans/beancontext/BeanContextSupport.java
2293 (addBeanContextMembershipListener): Likewise.
2294 (getLocale): Likewise.
2295 (initialize): Likewise.
2296 (iterator): Likewise.
2298 (toArray): Likewise.
2300 2005-04-19 Roman Kennke <roman@kennke.org>
2302 * java/awt/MediaTracker.java:
2303 Reindented tabs to spaces.
2305 2005-04-19 Roman Kennke <roman@kennke.org>
2307 * java/awt/MediaTracker.java
2308 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2309 confused the media tracker and lead to lockups. The LOADING
2310 bit is handled on other places.
2311 (addImage): Removed the 'start image tracking' stuff. This
2312 is not necessary and could confuse the media tracker.
2313 (checkAll): Improved the check for image status so that
2314 images that already complete images are detected. Also now
2315 are really all images checked and if necessary loaded. Before
2316 the method bailed out after the first incomplete image.
2317 (statusAll): Detect images that are complete after the
2318 call to Component.prepareImage(..).
2319 (checkID): The same as in checkAll.
2320 (statusID): The same as in statusAll.
2322 2005-04-19 Roman Kennke <roman@kennke.org>
2324 * java/awt/MediaTracker.java
2325 (addImage): Synchronized list access.
2326 (waitForAll): Fixed comparison of time (changed < to >).
2327 (waitForID): Fixed comparison of time (changed < to >).
2328 (removeImage): Synchronized list access.
2330 2005-04-19 Roman Kennke <roman@kennke.org>
2332 * java/awt/MediaTracker.java
2333 Added API documentation.
2335 2005-04-19 Roman Kennke <roman@kennke.org>
2337 * java/awt/MediaTracker.java
2338 (MediaEntry.imageUpdate): Fixed flags. The different flags
2339 must not be ORed together.
2340 (checkAll): Modified to handle different meaning of the flags.
2341 (waitForAll): Fixed so that it waits maximum the
2342 specified amount of milliseconds.
2343 (statusAll): Modified to handle different meaning of the flags.
2344 (waitForID): Fixed so that it waits maximum the
2345 specified amount of milliseconds.
2347 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2349 * java/awt/Font.java (decode): Handle null argument and allow
2352 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2354 * java/beans/EventHandler.java: Reworked documentation.
2355 (invoke): Fixed behavior to match spec.
2357 2005-04-19 Michael Koch <konqueror@gmx.de>
2359 * java/awt/print/PrinterJob.java
2360 (pageDialog): New method.
2361 (printDialog): Implemented.
2363 2005-04-19 Michael Koch <konqueror@gmx.de>
2365 * java/awt/image/ConvolveOp.java:
2366 Removed comment added by eclipse.
2368 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2370 * java/awt/image/IndexColorModel.java
2371 (getRGB): Check if pixel is negative.
2373 2005-04-19 Michael Koch <konqueror@gmx.de>
2375 * java/awt/image/RasterOp.java:
2376 Fixed wrong formatting.
2378 2005-04-18 Roman Kennke <roman@kennke.org>
2380 * java/awt/Compmonent.java
2381 (setComponentOrientation): Made this property firing a
2382 PropertyChangeEvent.
2384 2005-04-18 Roman Kennke <roman@kennke.org>
2386 * java/awt/BorderLayout.java
2387 (calcSize): Check for overflow when component sizes are added.
2389 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2391 * java/awt/AWTEvent.java (toString): Added case
2392 for source not being an AWT component.
2394 2005-04-18 Chris Burdess <dog@gnu.org>
2396 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2398 2005-04-18 Michael Koch <konqueror@gmx.de>
2400 gnu/java/awt/EmbeddedWindowSupport.java,
2401 gnu/java/net/HeaderFieldHelper.java,
2402 gnu/java/net/URLParseError.java,
2403 gnu/java/net/protocol/file/Handler.java,
2404 gnu/java/net/protocol/jar/Handler.java:
2405 Fixed usage of @author tag.
2407 2005-04-18 Michael Koch <konqueror@gmx.de>
2409 * gnu/xml/aelfred2/XmlParser.java:
2410 Reverted my typo fix.
2412 2005-04-18 Michael Koch <konqueror@gmx.de>
2414 * java/awt/geom/CubicCurve2D.java,
2415 java/awt/geom/QuadCurve2D.java:
2416 Fixed mentioning of Brian Gouph.
2418 2005-04-18 Michael Koch <konqueror@gmx.de>
2420 * gnu/java/awt/Buffers.java,
2421 gnu/java/awt/image/ImageDecoder.java,
2422 gnu/java/awt/image/XBMDecoder.java,
2423 gnu/java/awt/peer/ClasspathFontPeer.java,
2424 gnu/java/net/CRLFInputStream.java,
2425 gnu/java/net/EmptyX509TrustManager.java,
2426 gnu/java/net/LineInputStream.java,
2427 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2428 gnu/java/net/protocol/ftp/BlockInputStream.java,
2429 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2430 gnu/java/net/protocol/ftp/DTP.java,
2431 gnu/java/net/protocol/ftp/DTPInputStream.java,
2432 gnu/java/net/protocol/ftp/FTPConnection.java,
2433 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2434 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2435 gnu/java/net/protocol/ftp/StreamInputStream.java,
2436 gnu/java/net/protocol/http/ChunkedInputStream.java,
2437 gnu/java/net/protocol/http/HTTPConnection.java,
2438 gnu/java/net/protocol/http/HTTPURLConnection.java,
2439 gnu/java/net/protocol/http/Headers.java,
2440 gnu/java/net/protocol/http/Request.java,
2441 gnu/java/nio/ChannelInputStream.java,
2442 gnu/java/nio/ChannelOutputStream.java,
2443 gnu/java/nio/InputStreamChannel.java,
2444 gnu/java/nio/OutputStreamChannel.java,
2445 gnu/java/nio/SelectorProviderImpl.java,
2446 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2447 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2448 gnu/java/rmi/dgc/DGCImpl.java,
2449 gnu/java/rmi/registry/RegistryImpl.java,
2450 gnu/java/rmi/server/ProtocolConstants.java,
2451 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2452 gnu/java/rmi/server/RMIIncomingThread.java,
2453 gnu/java/rmi/server/RMIObjectInputStream.java,
2454 gnu/java/rmi/server/RMIObjectOutputStream.java,
2455 gnu/java/rmi/server/RMIVoidValue.java,
2456 gnu/java/rmi/server/UnicastConnectionManager.java,
2457 gnu/java/rmi/server/UnicastRef.java,
2458 gnu/java/rmi/server/UnicastRemoteCall.java,
2459 gnu/java/rmi/server/UnicastRemoteStub.java,
2460 gnu/java/rmi/server/UnicastServerRef.java,
2461 gnu/java/security/OID.java,
2462 gnu/java/security/der/DERReader.java,
2463 gnu/java/security/provider/CollectionCertStoreImpl.java,
2464 gnu/java/security/provider/DSAParameterGenerator.java,
2465 gnu/java/security/provider/DefaultPolicy.java,
2466 gnu/java/security/provider/EncodedKeyFactory.java,
2467 gnu/java/security/provider/GnuDHPublicKey.java,
2468 gnu/java/security/provider/GnuDSAPrivateKey.java,
2469 gnu/java/security/provider/GnuDSAPublicKey.java,
2470 gnu/java/security/provider/GnuRSAPrivateKey.java,
2471 gnu/java/security/provider/GnuRSAPublicKey.java,
2472 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2473 gnu/java/security/provider/RSA.java,
2474 gnu/java/security/provider/SHA1PRNG.java,
2475 gnu/java/security/provider/SHA1withRSA.java,
2476 gnu/java/security/provider/X509CertificateFactory.java,
2477 gnu/java/security/x509/GnuPKIExtension.java,
2478 gnu/java/security/x509/X500DistinguishedName.java,
2479 gnu/java/security/x509/X509CRL.java,
2480 gnu/java/security/x509/X509CRLEntry.java,
2481 gnu/java/security/x509/X509CertPath.java,
2482 gnu/java/security/x509/X509CertSelectorImpl.java,
2483 gnu/java/security/x509/X509Certificate.java,
2484 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2485 gnu/java/security/x509/ext/BasicConstraints.java,
2486 gnu/java/security/x509/ext/CRLNumber.java,
2487 gnu/java/security/x509/ext/CertificatePolicies.java,
2488 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2489 gnu/java/security/x509/ext/Extension.java,
2490 gnu/java/security/x509/ext/GeneralNames.java,
2491 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2492 gnu/java/security/x509/ext/KeyUsage.java,
2493 gnu/java/security/x509/ext/PolicyConstraint.java,
2494 gnu/java/security/x509/ext/PolicyMappings.java,
2495 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2496 gnu/java/security/x509/ext/ReasonCode.java,
2497 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2498 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2499 Reorganized import statements.
2501 2005-04-18 Michael Koch <konqueror@gmx.de>
2503 * gnu/java/awt/color/CieXyzConverter.java,
2504 gnu/java/awt/color/ClutProfileConverter.java,
2505 gnu/java/awt/color/ColorLookUpTable.java,
2506 gnu/java/awt/color/ColorSpaceConverter.java,
2507 gnu/java/awt/color/GrayProfileConverter.java,
2508 gnu/java/awt/color/GrayScaleConverter.java,
2509 gnu/java/awt/color/LinearRGBConverter.java,
2510 gnu/java/awt/color/ProfileHeader.java,
2511 gnu/java/awt/color/PyccConverter.java,
2512 gnu/java/awt/color/RgbProfileConverter.java,
2513 gnu/java/awt/color/SrgbConverter.java,
2514 gnu/java/awt/color/TagEntry.java,
2515 gnu/java/awt/color/ToneReproductionCurve.java:
2516 Standardized file headers.
2518 2005-04-16 Tom Tromey <tromey@redhat.com>
2520 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2521 'ANY' package-private.
2523 2005-04-15 Tom Tromey <tromey@redhat.com>
2525 * Makefile.in: Rebuilt.
2526 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2527 (libgcj0_convenience_la_LIBADD): ... here.
2529 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2531 * gij.cc (version): Properly quote java version.
2532 (main): Fix typo in comment.
2534 2005-04-13 Mark Wielaard <mark@klomp.org>
2536 * java/lang/natRuntime.cc (insertSystemProperties): Set
2537 java.class.path to CLASSPATH if not already set.
2539 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2541 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2543 2005-04-12 Mike Stump <mrs@apple.com>
2545 * configure: Regenerate.
2547 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2550 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2551 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2553 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2556 * scripts/TexinfoDoclet.java: Removed.
2557 * Makefile.am (texinfo): Removed.
2558 * Makefile.in: Regenerated.
2560 2005-04-11 Michael Koch <konqueror@gmx.de>
2562 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2563 Fixed wrong casting.
2565 2005-04-06 Andrew Haley <aph@redhat.com>
2567 * testsuite/libjava.lang/bytearray.java: New file.
2568 * testsuite/libjava.lang/bytearray.out: New file.
2569 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2570 (loadClass): Use it.
2571 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2573 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2575 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2576 gcj-dbtool dependency
2577 * Makefile.in: Regenerated
2579 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2581 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2582 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2584 2005-04-05 Andrew Haley <aph@redhat.com>
2586 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2587 (Tokenizer): New class.
2588 (getFiles): New method.
2589 (main): Add "-" argument.
2591 Read list of files from stdin when merging map databases.
2592 (usage): Add "-" argument.
2596 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2599 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2600 * Makefile.in: Regenerate.
2601 * configure.ac: Add --with-java-home option.
2602 * configure: Regenerate.
2603 * external/Makefile.in: Regenerate.
2604 * external/sax/Makefile.in: Regenerate.
2605 * external/w3c_dom/Makefile.in: Regenerate.
2606 * gcj/Makefile.in: Regenerate.
2607 * include/Makefile.in: Regenerate.
2608 * testsuite/Makefile.in: Regenerate.
2609 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2612 2005-04-05 Tom Tromey <tromey@redhat.com>
2614 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2615 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2616 Rewrote to use _Jv_FindClassFromSignature.
2617 * verify.cc (resolve): throw NoClassDefFoundError.
2618 * link.cc (resolve_field): Throw NoClassDefFoundError.
2619 (find_field): Likewise.
2620 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2621 Handle error cases. Added 'endp' argument.
2622 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2624 2005-04-05 Tom Tromey <tromey@redhat.com>
2626 * Makefile.in: Rebuilt.
2627 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2628 gtk_awt_peer_sources.
2629 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2630 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2631 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2632 (gtk-awt-peer.lo): New target.
2634 2005-04-04 Steve Pribyl <steve@netfuel.com>
2637 * configure.ac: Fix fastjar definition for cross builds.
2638 * configure: Rebuilt.
2640 2005-04-04 Tom Tromey <tromey@redhat.com>
2642 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2643 it was already found.
2645 2005-04-04 Tom Tromey <tromey@redhat.com>
2647 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2648 org.metastatic.jessie.
2650 2005-04-02 Anthony Green <green@redhat.com>
2653 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2655 2005-04-02 Mark Wielaard <mark@klomp.org>
2657 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2658 Attributes and attribute order doesn't matter.
2659 (BasicAttributesEnumeration.where): Initialize to zero.
2660 (BasicAttributesEnumeration.nextElement): Update and compare where
2661 appropriately (zero based).
2663 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2665 PR libgcj/20090, PR libgcj/20526
2666 * gij.cc (nonstandard_opts_help): New function.
2667 (add_option): New function.
2668 (main): Support java options. Set java.class.path. Don't set
2670 * prims.cc (parse_x_arg): New function.
2671 (parse_init_args): Call parse_x_arg for -X and _ options, when
2672 ignoreUnrecognized is true.
2673 (new _Jv_RunMain): New vm_args variant.
2674 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2675 (_Jv_Jar_Class_Path): Remove variable.
2676 * include/java-props.h: Likewise.
2677 * include/cni.h (JvRealloc): New function.
2678 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2679 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2680 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2682 * configure.ac (JV_VERSION): Define.
2683 (JV_API_VERSION): Likewise.
2684 * configure: Regenerate.
2685 * include/config.h.in: Regenerate.
2687 2005-04-01 Mark Anderson <mark@panonet.net>
2689 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2690 -Infinity as parameters.
2692 2005-04-01 Michael Koch <konqueror@gmx.de>
2694 * java/io/PipedInputStream.java
2695 (read): Make sure a positive byte value is returned. Revised javadoc.
2696 Thanks to Olafur Bragason for reporting these bugs.
2698 2005-04-01 Tom Tromey <tromey@redhat.com>
2700 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2701 Updated for name change.
2702 (nativeFindClass): New method.
2703 (loadClass): Use nativeFindClass.
2704 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2706 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2707 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2709 (initialize): New method.
2710 (nativeFindClass): Declare.
2711 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2712 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2713 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2715 (definePackageForNative): Removed.
2716 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2717 Moved to VMClassLoader.java.
2718 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2719 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2720 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2721 removed VMClassLoader.java.
2722 (nat_source_files): Removed natVMClassLoader.cc.
2724 2005-04-01 Tom Tromey <tromey@redhat.com>
2726 * Makefile.in: Rebuilt.
2727 * Makefile.am (db_pathtail): Use $(gcc_version), not
2730 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2732 * java/util/Timer.java
2733 (run): Stop the queue if a task throws an exception.
2735 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2737 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2739 2005-03-29 Ian Lance Taylor <ian@airs.com>
2741 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2742 * external/sax/Makefile.in: Rebuild.
2743 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2745 * external/w3c_dom/Makefile.in: Rebuild.
2747 2005-03-29 Tom Tromey <tromey@redhat.com>
2749 * java/lang/natRuntime.cc (insertSystemProperties): Set
2750 gnu.gcj.runtime.endorsed.dirs.
2751 * Makefile.in: Rebuilt.
2752 * Makefile.am (ordinary_java_source_files): Added
2753 HelperClassLoader.java.
2754 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2755 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2757 (init): Use addDirectoriesFromProperty.
2758 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2759 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2760 gnu.gcj.runtime.endorsed.dirs.
2761 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2763 2005-03-26 Chris Burdess <dog@gnu.org>
2765 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2768 2005-03-13 Michael Koch <konqueror@gmx.de>
2770 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2772 2005-03-11 Chris Burdess <dog@gnu.org>
2774 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2777 2005-02-27 Chris Burdess <dog@gnu.org>
2779 * gnu/xml/aelfred2/JAXPFactory.java,
2780 gnu/xml/aelfred2/SAXDriver.java,
2781 gnu/xml/aelfred2/XmlParser.java,
2782 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2783 formatting conventions. Replaced arrays of Object with struct-like
2784 classes for easier maintainability. Made SAXDriver.stringInterning
2785 package private to allow access from XmlParser inside the loop without
2786 a method call overhead.
2788 2005-03-11 Chris Burdess <dog@gnu.org>
2790 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2793 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2795 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2796 settings to sub Makefiles.
2797 (GCJH, ZIP): Prefix with top_builddir.
2798 * configure: Rebuild.
2799 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2800 * external/w3c_dom/Makefile.in: Rebuild.
2801 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2802 * external/sax/Makefile.in: Rebuild.
2804 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2806 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2807 libsocket to the libraries to link for Solaris.
2809 2005-03-28 Per Bothner <per@bothner.com>
2811 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2812 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2814 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2816 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2817 to fix a ONESTEP fallout.
2818 * Makefile.in: Regenerate.
2820 2005-03-25 Mike Stump <mrs@apple.com>
2822 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2823 paths like we do for the compiler, as we use it in external/sax
2824 and it doesn't get MULTIBUILDTOP right when multilibing.
2826 2005-03-24 Anthony Green <green@redhat.com>
2828 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2830 (usage): Add [LIBDIR] to help output.
2831 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2832 * Makefile.am (AM_CXXFLAGS): Define
2833 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2834 (db_pathtail): New macro.
2836 2005-03-24 Tom Tromey <tromey@redhat.com>
2838 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2839 add sax and w3c libraries.
2840 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2842 * external/w3c_dom/Makefile.in: Rebuilt.
2843 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2845 (libw3c_gcj_la_LDFLAGS): New variable.
2846 (noinst_LTLIBRARIES): Renamed.
2847 * external/sax/Makefile.in: Rebuilt.
2848 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2850 (libsax_gcj_la_LDFLAGS): New variable.
2851 (noinst_LTLIBRARIES): Renamed.
2853 2005-03-23 Tom Tromey <tromey@redhat.com>
2855 * Makefile.in: Rebuilt.
2856 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2857 (libgcj0_convenience_la_SOURCES): Don't include
2858 gnu_xml_source_files.
2859 (libgcj0_convenience_la_LIBADD): New variable.
2860 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2861 (all_java_source_files): javax_imageio_source_files,
2862 javax_xml_source_files, and gnu_java_beans_source_files.
2863 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2864 (gnu-xml.lo): New target.
2865 (javax-imageio.lo): Likewise.
2866 (javax-xml.lo): Likewise.
2867 (gnu-java-beans.lo): Likewise.
2868 (gnu_java_beans_source_files): New variable.
2869 (javax_imageio_source_files): Likewise.
2870 (javax_xml_source_files): Likewise.
2871 (javax_source_files): Moved files to other variable.
2872 (awt_java_source_files): Likewise.
2873 (ordinary_java_source_files): Added BootClassLoader.java.
2874 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2875 not system class loader.
2876 (initBootLoader): New method.
2877 (loadClass): Search bootLoader.
2878 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2879 boot loader, not system class loader.
2880 (_Jv_UnregisterInitiatingLoader): Likewise.
2881 (_Jv_FindClass): Likewise. Ensure entries in
2882 bootstrap_class_list are unique.
2883 * java/lang/natClass.cc (getClassLoader): Don't special case
2884 system class loader.
2885 * java/lang/VMClassLoader.java (bootLoader): New field.
2886 (getResource): Use bootLoader.
2887 (getResources): Likewise.
2888 (initBootLoader): Declare.
2889 * gnu/gcj/runtime/BootClassLoader.java: New file.
2890 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2891 (EMPTY_ENUMERATION): Now package-private.
2892 * external/w3c_com/Makefile.in: Rebuilt.
2893 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2894 (w3c.jar): New target.
2895 (classes.stamp): Updated.
2896 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2897 Changed name of library.
2898 (libw3c_gcj_la_SOURCES): New variable.
2899 (libw3c_gcj_la_GCJFLAGS): Likewise.
2900 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2901 * external/sax/Makefile.in: Rebuilt.
2902 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2903 (sax.jar): New target.
2904 (classes.stamp): Updated.
2905 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2906 Changed name of library.
2907 (libsax_gcj_la_SOURCES): New variable.
2908 (libsax_gcj_la_GCJFLAGS): Likewise.
2909 (source_files): Renamed from libsax_convenience_la_SOURCES.
2910 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2912 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2914 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2916 2005-03-23 Sven de Marothy <sven@physto.se>
2918 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2920 * java/util/Calendar.java
2921 (set): Use starting day of week when one is needed if none is given.
2922 * java/text/SimpleDateFormat.java
2923 (parse): Handle 1-12 and 1-24 timestamps correctly.
2924 * java/util/GregorianCalendar.java
2925 (computeTime, computeFields): HOUR should be in 0-11 format.
2926 (nonLeniencyCheck): Adjust leniency checking to that fact.
2927 (getLinearDay): Should be private.
2929 2005-03-23 Tom Tromey <tromey@redhat.com>
2931 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2932 (_Jv_CheckABIVersion): Use it.
2934 2005-03-22 Mike Stump <mrs@apple.com>
2936 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2938 * include/posix.h: .dylib is used on all Apple MACH platforms.
2939 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2941 2005-03-22 Tom Tromey <tromey@redhat.com>
2943 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2945 2005-03-21 Tom Tromey <tromey@redhat.com>
2947 * java/lang/VMCompiler.java (static block): Also catch
2948 BufferUnderflowException.
2950 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2952 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2953 set tool_include_dir. In all substitutions, leave $(gcc_version)
2954 to be expanded by the Makefile.
2955 * aclocal.m4, configure: Regenerate.
2956 * Makefile.am: Set gcc_version. Replace all uses of
2957 @gcc_version@ with $(gcc_version).
2958 * external/Makefile.am, external/sax/Makefile.am
2959 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2960 * testsuite/Makefile.am: Set gcc_version.
2961 * include/Makefile.am: Set gcc_version and tool_include_dir.
2962 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2963 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2964 * testsuite/Makefile.in: Regenerate.
2966 2005-03-17 Andrew Haley <aph@redhat.com>
2968 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2970 Pass klass to _Jv_StackTrace::GetClassContext().
2971 * java/lang/ClassLoader.java (getParent): Pass class to
2972 VMSecurityManager.getClassContext()
2973 (getSystemClassLoader): Likewise.
2974 * java/lang/Package.java (getPackage): Likewise.
2975 (getPackages): Likewise.
2976 * java/lang/SecurityManager.java (getClassContext): Likewise.
2977 (currentClassLoader): Likewise.
2978 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2979 (currentClassLoader) Add new arg: caller.
2980 Pass caller to VMSecurityManager.getClassContext.
2982 * stacktrace.cc (GetClassContext): Correct calculation of
2985 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2986 im->source_file_name.
2988 2005-03-16 Andrew Haley <aph@redhat.com>
2990 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2992 2005-03-16 Tom Tromey <tromey@redhat.com>
2994 * link.cc (ensure_class_linked): Removed #ifdef.
2995 (print_class_loaded): Likewise.
2996 (wait_for_state): Likewise.
2997 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2998 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2999 * include/java-interp.h: ... here.
3001 2005-03-16 Tom Tromey <tromey@redhat.com>
3003 * gnu/java/lang/MainThread.java (run): Load main class using
3004 system class loader.
3006 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
3008 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3009 lgcc_s to the libraries to link for Darwin.
3011 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3013 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3014 interpreter-specific code with #ifdef INTERPRETER.
3015 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3016 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3017 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3018 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3019 #ifdef INTERPRETER. Also protect declarations that use it.
3020 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3021 #ifdef INTERPRETER block.
3023 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3026 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3027 * Makefile.in: Rebuilt.
3029 2005-03-15 David Daney <ddaney@avtrex.com>
3031 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3034 2005-03-15 David Daney <ddaney@avtrex.com>
3036 * java/io/BufferedInputStream.java (available): Use 'in' instead
3037 of 'super' for underlying stream access.
3039 (read(byte[], int, int)): Ditto.
3041 (skip): Call skip on underlying stream when possible.
3043 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3045 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3046 SJLJ_EXCEPTIONS is defined.
3048 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3050 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3053 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3055 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3057 (libjava_arguments): Likewise.
3059 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3060 (gcj_jni_test_one): Likewise.
3061 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3062 Add flags to keep the Darwin linker quiet.
3063 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3064 Add -liconv for Darwin.
3066 2005-03-11 Tom Tromey <tromey@redhat.com>
3068 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3069 (_Jv_CheckABIVersion): Use it.
3071 2005-03-11 Tom Tromey <tromey@redhat.com>
3073 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3074 (usage): Document '-p'.
3075 * Makefile.in: Rebuilt.
3076 * Makefile.am (dbexecdir): New variable.
3077 (db_name): Likewise.
3078 (dbexec_DATA): Likewise.
3079 ($(db_name)): New target.
3080 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3081 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3084 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3086 * exception.cc: Remove stray MethodRef.h include.
3087 * java/lang/natClass.cc: Likewise.
3088 * gnu/gcj/runtime/MethodRef.java: Removed.
3089 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3090 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3091 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3092 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3093 * Makefile.in: Rebuilt.
3095 2005-03-10 Tom Tromey <tromey@redhat.com>
3097 * Makefile.in: Rebuilt.
3098 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3100 2005-03-10 Chris Burdess <dog@bluezoo.org>
3102 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3103 not currently parsing the DTD.
3105 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3107 New Stack Trace infrastructure.
3108 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3109 (gnu/gcj/runtime/StackTrace.java): Removed.
3110 (ordinary_java_source_files): Remove obsolete files.
3111 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3112 * configure.host (fallback_backtrace_h): Set backtrace header
3113 for mingw and cygwin targets.
3114 * configure.ac: Make symlink for fallback backtrace headers.
3115 * Makefile.in, configure: Rebuilt.
3116 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3117 Read 'LineNumberTable' attribute.
3118 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3120 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3122 * exception.cc: Remove unused include.
3123 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3124 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3125 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3126 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3127 table to direct threaded instruction values.
3128 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3129 (_Jv_InterpMethod::run): No longer member function. All
3130 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3131 is made or where an instruction could throw.
3132 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3134 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3135 (catch_fpe): Likewise.
3136 * stacktrace.cc: New file. Stack trace code now here.
3137 * gnu/gcj/runtime/MethodRef.java:
3138 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3139 calls addr2line to look up PC addresses in a given binary or shared
3141 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3142 gnu/gcj/runtime/natStackTrace.cc: Removed.
3143 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3144 this function name is specially recognised by the stack trace code
3145 and shouldn't be changed.
3146 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3147 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3148 (_Jv_InterpMethod::run): Update declaration.
3149 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3151 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3152 * include/java-stack.h: New file. Declarations for stack tracing.
3153 * include/jvm.h (_Jv_Frame_info): Removed.
3154 * java/lang/Class.h: Update friend declarations.
3155 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3157 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3158 (getStackTrace): Now native.
3159 (data): New RawDataManaged field.
3160 * java/lang/natClass.cc: Update includes.
3161 (forName): Use _Jv_StackTrace::GetCallingClass for
3162 calling-classloader check.
3163 (getClassLoader): Likewise.
3164 * java/lang/natRuntime.cc: Update includes.
3165 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3166 * java/lang/natVMSecurityManager.cc: Update includes.
3167 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3168 * java/lang/natVMThrowable.cc: New file. Native methods for
3170 * java/lang/reflect/natArray.cc: Update includes.
3171 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3172 accessibility check.
3173 * java/lang/reflect/natConstructor.cc: Update includes.
3174 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3175 accessibility check.
3176 * java/lang/reflect/natField.cc: Update includes.
3177 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3178 accessibility check.
3179 * java/lang/reflect/natMethod.cc: Update includes.
3180 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3181 accessibility check.
3182 * java/util/natResourceBundle.cc: Update includes.
3183 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3184 * java/util/logging/natLogger.cc: Update includes. Use
3185 _Jv_StackTrace::GetCallerInfo to get call-site info.
3186 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3188 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3191 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3193 * testsuite/libjava.compile/PR20312.java: New file.
3194 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3195 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3197 2005-03-09 Andrew Haley <aph@redhat.com>
3199 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3201 (smallTransferTo): New.
3202 (transferFrom): Loop around smallTransferFrom, copying pageSize
3204 (transferTo): Likewise.
3206 2005-03-09 David Daney <ddaney@avtrex.com>
3209 Merge BufferedInputStream from GNU Classpath.
3210 * java/io/BufferedInputStream.java (marktarget): Field removed.
3211 (CHUNKSIZE): Field removed.
3212 (bufferSize): New field.
3213 (BufferedInputStream): Initialize fields.
3214 (close): Invalidate mark and buffer indexes.
3216 (read()): Move mark handling code to refill.
3217 (read(byte[], int, int)): Ditto.
3218 (skip): Ditto and simplify EOF testing.
3219 (refill): Rewritten.
3220 * java/io/InputStreamReader.java (refill): Removed mark and reset
3221 of internal BufferedInputStream.
3223 2005-03-09 Tom Tromey <tromey@redhat.com>
3225 * java/lang/natVMClassLoader.cc (defineClass): Reference
3226 'systemClassLoader' field directly.
3227 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3229 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3230 Reference 'systemClassLoader' field directly.
3231 (_Jv_UnregisterInitiatingLoader): Likewise.
3232 (_Jv_FindClass): Likewise.
3234 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3236 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3238 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3239 the file in GNU Classpath style.
3241 2005-03-09 Tom Tromey <tromey@redhat.com>
3243 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3244 (toString): Synchronize.
3246 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3248 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3249 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3251 2005-03-07 Tom Tromey <tromey@redhat.com>
3253 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3254 (usage): Document '-f'.
3256 2005-03-07 Tom Tromey <tromey@redhat.com>
3258 * java/lang/VMCompiler.java (md5Digest): New field.
3259 (compileClass): Clone md5Digest instead of looking up a new one.
3261 2005-03-07 Tom Tromey <tromey@redhat.com>
3264 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3265 * link.cc (find_field_helper): Added 'type' argument.
3266 (find_field): Updated.
3268 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3269 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3270 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3271 throw UnsupportedOperationException, fixed comments.
3272 (setFont, setForeground): Fixed comments.
3273 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3274 return type to boolean.
3275 (getNextEvent): Fixed javadocs.
3276 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3277 (nativeQueueEmpty): Removed unused code.
3278 (iterateNativeQueue): Removed outer loop.
3280 2005-03-06 Roger Sayle <roger@eyesopen.com>
3283 * Makefile.am (libgcj0_convenience.la): Revert last change.
3284 * Makefile.in: Regenerate.
3286 2005-03-05 Anthony Green <green@redhat.com>
3288 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3289 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3290 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3291 (_Jv_GetDrawingSurface): Set visualID.
3292 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3293 (JAWT_GetAWT): Set Lock and Unlock.
3294 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3296 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3297 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3298 JAWT_LOCK_SURFACE_CHANGED): New macros.
3299 (struct _JAWT): Add Lock and Unlock.
3301 2005-03-05 Roger Sayle <roger@eyesopen.com>
3302 Alexandre Oliva <aoliva@redhat.com>
3303 Kelley Cook <kcook@gcc.gnu.org>
3306 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3307 of the object files to link to avoid exceeding the command line
3308 length limits on some platforms.
3309 (clean-local): Clean up objectlist files.
3310 * Makefile.in: Regenerate.
3312 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3314 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3315 spec_case. Initialize pointer mlo.
3317 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3320 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3322 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3325 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3326 uninitialized variable z.
3328 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3329 possible unused variables.
3331 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3333 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3335 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3338 * testsuite/libjava.jni/jni.exp
3339 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3341 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3343 2005-02-23 David Daney <ddaney@avtrex.com>
3345 * configure.host: Don't use -mxgot for MIPS builds.
3347 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3350 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3351 (COMPPATH): Removed.
3352 (ZIP, GCJH): Replace it with ../$(host_subdir).
3353 (built_gcc_dir): Add $(host_subdir).
3354 * configure: Regenerate.
3355 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3356 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3357 external/w3c_dom/Makefile.in: Regenerate.
3359 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3361 * java/awt/font/TextAttribute.java: changed names to lower case;
3362 (readResolve): implemented.
3363 Added doc comments all over.
3365 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3368 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3369 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3370 value. Move argument parsing code to prims.cc.
3371 * prims.cc (no_properties): Remove.
3372 (_Jv_Compiler_Properties): Initialize to NULL.
3373 (_Jv_Properties_Count): Initialize to 0.
3374 (parse_verbose_args): New function.
3375 (parse_init_args): New function.
3376 (_Jv_CreateJavaVM): Call parse_init_args.
3377 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3378 * gcj/cni.h (JvVMOption): New struct.
3379 (JvVMInitArgs): Likewise.
3380 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3382 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3383 (_Jv_VMInitArgs): Likewise.
3384 * include/java-props.h (_Jv_Properties_Count): Declare.
3385 * java/lang/natRuntime.cc (insertSystemProperties): Use
3386 _Jv_Properties_Count in for loop exit condition.
3387 * testsuite/libjava.jni/jni.exp
3388 (gcj_invocation_compile_c_to_binary): New procedure.
3389 (gcj_invocation_test_one): Likewise.
3390 (gcj_jni_run): Run JNI invocation API tests.
3391 * testsuite/libjava.jni/invocation/PR16923.c,
3392 testsuite/libjava.jni/invocation/PR16923.java,
3393 testsuite/libjava.jni/invocation/PR16923.out: New test.
3395 2005-02-23 Michael Koch <konqueror@gmx.de>
3397 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3398 * Makefile.in: Regenerated.
3400 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3402 * gnu/java/nio/ChannelReader: Fixed comments.
3404 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3406 * java/nio/channels/Channels: Added FIXMEs about
3407 stub method implementation.
3408 (newReader): Implemented.
3409 * gnu/java/nio/ChannelReader: New class.
3411 2005-02-23 Michael Koch <konqueror@gmx.de>
3413 * java/text/SimpleDateFormat.java:
3414 Removed unused import.
3416 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3419 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3420 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3421 * Makefile.in: Regenerate.
3422 * configure.ac: Check for libXtst.
3423 * configure: Regenerate.
3425 2005-02-22 Mark Wielaard <address@bogus.example.com>
3427 * java/security/AlgorithmParameterGenerator.java (getInstance):
3428 Mention provider when throwing NoSuchProviderException.
3429 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3430 * java/security/KeyFactory.java (getInstance): Likewise.
3431 * java/security/KeyStore.java (getInstance): Likewise.
3432 * java/security/SecureRandom.java (getInstance): Likewise.
3433 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3435 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3437 * java/lang/reflect/Proxy.java,
3439 java/security/SecureRandom.java,
3440 java/util/Timer.java,
3441 java/util/prefs/AbstractPreferences.java:
3442 Don't catch java.lang.ThreadDeath.
3444 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3446 * java/awt/font/TransformAttribute.java,
3447 (TransformAttribute(AffineTransform)): throw
3448 IllegalArgumentException for null transform.
3449 (getTransform): return a copy of transform.
3450 Added doc comments to all.
3452 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3454 * java/io/Externalizable.java,
3455 java/io/Serializable.java
3456 (serialVersionUID): Removed.
3457 * java/rmi/server/RemoteObject.java,
3458 java/rmi/server/UID.java
3459 (serialVersionUID): Made private.
3460 * java/rmi/server/RemoteRef.java,
3461 java/rmi/server/ServerRef.java
3462 (serialVersionUID): Set proper value.
3463 * java/security/interfaces/DSAPrivateKey.java,
3464 java/security/interfaces/DSAPublicKey.java,
3465 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3466 java/security/interfaces/RSAPrivateCrtKey.java,
3467 java/security/interfaces/RSAPrivateKey.java,
3468 java/security/interfaces/RSAPublicKey.java,
3469 javax/crypto/SecretKey.java
3470 (serialVersionUID): Added.
3472 2005-02-22 Tom Tromey <tromey@redhat.com>
3474 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3476 2005-02-22 Tom Tromey <tromey@redhat.com>
3479 * verify.cc (type::EITHER): New constant.
3480 (check_field_constant): Use it.
3481 (type::compatible): Handle it.
3483 2005-02-22 Michael Koch <konqueror@gmx.de>
3485 * gnu/java/security/PolicyFile.java,
3486 gnu/java/security/pkcs/PKCS7SignedData.java,
3487 gnu/java/security/pkcs/SignerInfo.java:
3488 Fixed copyright header.
3490 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3492 * java/beans/PropertyDescriptor.java
3493 (PropertyDescriptor,setReadMethod): Set propertyType.
3495 2005-02-22 Michael Koch <konqueror@gmx.de>
3497 * java/nio/DirectByteBufferImpl.java
3498 (owner): Fixed formatting of javadoc.
3499 * java/text/DateFormat.java
3500 (getAvailableLocales): Fixed formatting.
3501 * java/text/SimpleDateFormat.java:
3502 Fixed formatting and import statement order.
3503 * java/util/Calendar.java
3504 (Calendar): Fixed javadoc to be HTML compliant.
3505 * java/util/SimpleTimeZone.java:
3508 2005-02-22 Roman Kennke <roman@ontographics.com>
3510 * javax/swing/plaf/basic/BasicLookAndFeel.java
3511 (initComponentDefaults): Fixed Button left and right margin.
3513 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3515 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3519 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3520 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3521 (getWidth): New method.
3522 (getHeight): Likewise.
3523 (create): Remove width, height and insets parameters. Move size
3525 (realize_cb): ... here. New function.
3526 (connectSignals): Connect realize_cb.
3527 (request_frame_extents): Remove FIXME. Move
3528 postInsetsChangedEvent lookup ...
3529 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3530 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3531 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3533 (windowGetWidthID): Likewise.
3534 (windowGetHeightID): Likewise.
3536 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3540 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3542 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3544 Merge serialization from GNU Classpath.
3545 * gcj/method.h: Add missing #includes.
3546 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3547 primitive class IDs on the stream here...
3548 (resolveClass): ...not here.
3549 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3551 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3552 setLongNative, setIntNative, setShortNative, setCharNative,
3553 setByteNative, setBooleanNative, setObjectNative): New native methods.
3554 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3555 setLongNative, setIntNative, setShortNative, setCharNative,
3556 setByteNative, setBooleanNative, setObjectNative): Implement them.
3557 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3558 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3559 the constructor here.
3560 (callConstructor): Removed.
3561 (getCallersClassLoader): Removed.
3562 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3563 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3564 to control whether setting final field values is permitted. Call
3565 getAddr() with checkFinal parameter instead of setAddr().
3566 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3567 only if not done already.
3568 (getAddr): Add checkFinal parameter. Do the final field check only if
3572 2005-02-21 Mark Wielaard <mark@klomp.org>
3575 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3578 2005-02-21 Mark Wielaard <mark@klomp.org>
3581 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3582 without a super class and us ObjectStreamClass.lookupForClassObject().
3583 (resolveClass): Check for primitive types.
3584 (lookupClass): Return null when argument is null.
3586 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3588 * java/io/ObjectInputStream.java
3589 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3591 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3593 * java/io/ObjectOutputStream.java
3594 (writeObject, callWriteMethod): Replaced reflection with accessing
3595 cached info in ObjectStreamClass.
3596 (getMethod): Removed.
3597 * java/io/ObjectStreamClass.java
3598 (findMethod): Added check to make sure the method found has the
3600 (cacheMethods): Added writeReplace and writeObject methods.
3601 (setFlags): Look at new writeObjectMethod field instead of doing
3603 (writeReplaceMethod): New field.
3604 (writeObjectMethod): New field.
3606 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3607 Jeroen Frijters <jeroen@frijters.net>
3609 * java/io/ObjectInputStream.java
3610 (newObject): Changed prototype. Get a constructor reflect object
3612 (callConstructor): Removed.
3613 (allocateObject): Changed prototype.
3614 (readClassDescriptor): Build the constructor reflection directly.
3615 (readObject): Invoke newObject using the new prototype.
3617 * java/io/ObjectStreamClass.java
3618 (firstNonSerializableParent): Removed.
3619 (firstNonSerializableParentConstructor): Added.
3621 2005-02-21 Mark Wielaard <mark@klomp.org>
3623 * gnu/java/locale/LocaleInformation_en.java: Extend
3624 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3626 2005-02-21 Mark Wielaard <mark@klomp.org>
3628 * java/text/SimpleDateFormat.java
3629 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3630 NullPointerException when formatData is null.
3632 2005-02-21 Mark Wielaard <mark@klomp.org>
3634 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3635 taking dstSavings into account.
3637 2005-02-21 Sven de Marothy <sven@physto.se>
3639 * java/text/SimpleDateFormat.java,
3640 (parse): Set correct DST_OFFSET to the correct value.
3642 2005-02-21 Mark Wielaard <mark@klomp.org>
3644 * java/util/SimpleTimeZone.java (checkRule): Throw
3645 IllegalArgumentException when month out of range.
3647 2005-02-21 Sven de Marothy <sven@physto.se>
3649 * java/util/GregorianCalendar.java,
3650 (add): Don't set fields directly anymore. Use set()
3652 2005-02-21 Mark Wielaard <mark@klomp.org>
3654 * java/text/SimpleDateFormat.java (CompiledField.toString):
3655 Use StringBuffer, not StringBuilder.
3656 (toString): Likewise.
3658 2005-02-21 Sven de Marothy <sven@physto.se>
3660 * java/util/Calendar.java
3661 (clear): Dates should clear to local time.
3662 * java/util/GregorianCalendar.java
3663 (computeTime): Fix priority problem with DAY_OF_WEEK,
3664 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3666 2005-02-21 Sven de Marothy <sven@physto.se>
3668 * java/util/Calendar.java
3669 (Calendar): Constructor should clear fields.
3671 2005-02-21 Sven de Marothy <sven@physto.se>
3673 * java/text/SimpleDateFormat.java
3674 (parse): Tweak handling of 2-year dates
3675 * java/util/Calendar.java
3676 (clear): Clear fields to correct value.
3677 * java/util/GregorianCalendar.java
3678 (computeTime): Correct handling of time zones.
3679 Correct field minimum values.
3681 2005-02-21 Sven de Marothy <sven@physto.se>
3683 * java/util/Calendar.java
3684 (set) Invalidate all fields on first call to set().
3686 2005-02-21 Sven de Marothy <sven@physto.se>
3688 * java/util/GregorianCalendar.java
3689 (computeTime): Fixed handling of time zones.
3691 2005-02-21 Sven de Marothy <sven@physto.se>
3693 * java/util/Calendar.java
3694 (clear): Set values to Epoch instead of zero.
3695 (set): Set isSet to the relevant field pattern instead of just
3697 * java/util/GregorianCalendar.java
3698 (getBundle): Removed.
3699 (getDayOfYear): Removed.
3700 (getFirstDayOfMonth): New private method.
3701 (nonLeniencyCheck): New private method.
3702 (computeTime): Correct handling of insufficient data.
3704 2005-02-21 Sven de Marothy <sven@physto.se>
3706 * java/util/Calendar.java: Invalidate ERA field on setting
3708 * java/util/SimpleTimeZone.java:
3709 (getDaysInMonth): Reimplemented.
3710 * java/util/GregorianCalendar.java:
3711 (getLinearTime): Removed.
3712 (isLeapYear(int,boolean)): Removed.
3713 (before(), after()): Removed.
3714 (computeTime): Reimplemented.
3716 2005-02-21 Sven de Marothy <sven@physto.se>
3718 * java/util/Calendar.java: Reformatted.
3719 * java/util/GregorianCalendar.java: Reformatted.
3720 * java/util/SimpleTimeZone.java: Reformatted.
3722 2005-02-21 Sven de Marothy <sven@physto.se>
3724 * java/util/GregorianCalendar.java
3725 (GregorianCalendar): Update fields in the constructor
3727 2005-02-21 Noa Resare <noa@resare.com>
3729 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3730 (set(int,int)): Set and use new field.
3731 (set(int,int,int)): Check new field.
3733 2005-02-21 Noa Resare <address@hidden>
3735 * java/util/Calendar.java(set):
3736 Fix for DST related regression.
3738 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3740 * java/util/Calendar.java
3741 (setTimeInMillis): Added call to clear, removed computeFields call.
3742 * java/util/Date.java
3743 (Date(int,int,int,int,int,int)): Removed workaround for
3744 GregorianCalendar bug.
3745 * java/util/GregorianCalendar.java
3746 (GregorianCalendar): Chained all constructors to a (new)
3748 (computeTime): Fixed support for lenient month treatment.
3749 (getLinearDay): Return long instead of int.
3750 (calculateDay): Added fields argument and changed day argument
3753 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3755 * java/text/SimpleDateFormat.java
3756 Lots of documentation updates.
3757 (readObject(java.io.ObjectInputStream)): Wraps
3758 IllegalArgumentException as specified.
3759 (compileFormat(String)): Uses standardChars
3760 rather than the local pattern characters.
3761 Throws IllegalArgumentException rather than
3763 (toString()): Extended to include all variables
3765 (translateLocalizedPattern(String, String, String)):
3766 Renamed to better define the use of this method.
3768 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3770 * java/text/DateFormat.java:
3771 Documented pattern character offset constants and
3773 (Field): Added new static fields for new pattern chars.
3774 * java/text/SimpleDateFormat.java:
3775 (CompiledField): Changed name of FieldSizePair class
3776 to CompiledField after adding the character as an
3777 attribute. Changed fields to private and added
3778 accessors to give encapsulation.
3779 (CompiledField.CompiledField(int,int,char)): Extended
3780 with character field.
3781 (CompiledField.getField()): New accessor method.
3782 (CompiledField.getSize()): New acceessor method.
3783 (CompiledField.getCharacter()): New accessor method.
3784 (CompiledField.toString()): Added primarily for debugging.
3785 (standardChars): Now uses extended 24 character sequence.
3786 (compileFormat(String)): Changed to use CompiledField.
3787 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3788 java.text.FieldPosition)): Changed to use CompiledField.
3789 New handler for RFC 822 timezones added.
3791 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3793 * java/text/SimpleDateFormat.java:
3794 (parse(String, java.text.ParsePosition)):
3795 Changed 'E' and 'M' cases to use both
3796 short and long names. Extended 'z'
3797 case to also handle 'Z', and deal
3798 with simple GMT offsets such as +0100.
3799 (computeOffset(String)): New private method,
3800 which converts a GMT offset specification,
3801 such as GMT-0500 to a numeric offset in
3803 * java/util/TimeZone.java:
3804 (timezones()): Added "CEST", the daylight
3805 savings time version of "CET", or Central
3808 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3810 * java/text/SimpleDateFormat.java:
3811 (parse): Set the DST offset to 0 when parsing
3812 GMT offset timezones.
3814 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3816 * java/text/SimpleDateFormat.java:
3817 (parse): Use offset to set ZONE_OFFSET
3818 rather than the DST_OFFSET, so that
3819 GMT offset timezones change the right
3822 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3824 * java/text/SimpleDateFormat.java:
3825 (getDateFormatSymbols()): return a copy
3826 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3827 throw exception on null input
3828 (clone()): implemented to clone
3831 2005-02-21 Sven de Marothy <sven@physto.se>
3833 * java/text/SimpleDateFormat.java
3834 (parse): comparison should be case-insensitive, ignore null
3837 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3839 * gnu/java/beans/IntrospectionIncubator.java
3840 (addMethod) Reverts the patch that ntroduced a regression (see bug
3841 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3843 2005-02-21 Michael Koch <konqueror@gmx.de>
3845 * java/awt/Checkbox.java
3846 (next_checkbox_number): New static variable.
3847 (generateName): New method.
3848 (getUniqueLong): Likewise.
3849 * java/awt/Window.java
3850 (next_window_number): New static variable.
3851 (generateName): New method.
3852 (getUniqueLong): Likewise.
3854 2005-02-21 Mark Wielaard <mark@klomp.org>
3856 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3859 2005-02-21 Andrew Haley <aph@redhat.com>
3861 * Makefile.in: Rebuilt.
3862 * Makefile.am (nat_source_files): Added natLogger.cc.
3863 * java/util/logging/natLogger.cc: New file.
3864 * java/util/logging/Logger.java (getCallerStackFrame): Now
3867 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3869 * Makefile.am (all_property_files): Remove left over.
3870 (classes.stamp): Add stamp for the ONESTEP build, also known as
3871 --enable-libgcj-multifile.
3872 * Makefile.in: Regenerated.
3874 2005-02-21 Michael Koch <konqueror@gmx.de>
3876 * java/awt/Button.java,
3877 java/awt/Container.java,
3879 java/awt/Frame.java,
3880 java/text/CollationElementIterator.java,
3881 java/text/RuleBasedCollator.java,
3882 java/util/PropertyPermission.java:
3883 Fixed formatting issues all over.
3885 2005-02-21 Mark Wielaard <mark@klomp.org>
3887 * java/io/FileDescriptor.java (sync): Add real exception to
3888 SyncFailedException.
3890 2005-02-21 Michael Koch <konqueror@gmx.de>
3892 * java/io/InputStreamReader.java:
3895 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3898 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3900 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3902 * libraries/javalib/gnu/regexp/RE.java,
3903 libraries/javalib/java/io/ObjectInputStream.java,
3904 libraries/javalib/java/security/AllPermission.java,
3905 libraries/javalib/java/security/BasicPermission.java,
3906 libraries/javalib/java/security/Permissions.java,
3907 libraries/javalib/java/text/MessageFormat.java:
3908 Made 'inner' classes real public static inner classes,
3909 and made them final where possible, or removed them
3912 2005-02-20 Michael Koch <konqueror@gmx.de>
3914 * gnu/java/text/FormatCharacterIterator.java:
3915 Removed redundant modifiers.
3917 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3919 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3922 2005-02-19 Michael Koch <konqueror@gmx.de>
3924 * Makefile.am: Added new files in gnu/java/beans and
3925 java/beans/XMLDecoder.java.
3926 * Makefile.in: Regenerated.
3928 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3930 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3931 assignment behavior by using java.lang.reflect.Array.set()
3934 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3936 * gnu/java/beans/EmptyBeanInfo.java,
3937 gnu/java/beans/info/ComponentBeanInfo.java:
3938 Removed unused files.
3940 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3942 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3943 of AppletStub for java.beans.Beans.instantiate.
3944 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3946 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3947 to be conformant with Javadoc guidelines.
3948 (instantiate): Added two more overloaded variants, reworked user
3949 documentation, fixed exception behavior, fixed behavior when
3952 2005-02-19 Mark Wielaard <mark@klomp.org>
3954 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3956 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3958 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3960 * gnu/java/beans/decoder/AbstractContext.java,
3961 gnu/java/beans/decoder/AbstractCreatableContext.java,
3962 gnu/java/beans/decoder/AbstractElementHandler.java,
3963 gnu/java/beans/decoder/AbstractObjectContext.java,
3964 gnu/java/beans/decoder/ArrayContext.java,
3965 gnu/java/beans/decoder/ArrayHandler.java,
3966 gnu/java/beans/decoder/AssemblyException.java,
3967 gnu/java/beans/decoder/BooleanHandler.java,
3968 gnu/java/beans/decoder/ByteHandler.java,
3969 gnu/java/beans/decoder/CharHandler.java,
3970 gnu/java/beans/decoder/ClassHandler.java,
3971 gnu/java/beans/decoder/ConstructorContext.java,
3972 gnu/java/beans/decoder/Context.java,
3973 gnu/java/beans/decoder/DecoderContext.java,
3974 gnu/java/beans/decoder/DefaultExceptionListener.java,
3975 gnu/java/beans/decoder/DoubleHandler.java,
3976 gnu/java/beans/decoder/DummyContext.java,
3977 gnu/java/beans/decoder/DummyHandler.java,
3978 gnu/java/beans/decoder/ElementHandler.java,
3979 gnu/java/beans/decoder/FloatHandler.java,
3980 gnu/java/beans/decoder/GrowableArrayContext.java,
3981 gnu/java/beans/decoder/IndexContext.java,
3982 gnu/java/beans/decoder/IntHandler.java,
3983 gnu/java/beans/decoder/JavaHandler.java,
3984 gnu/java/beans/decoder/LongHandler.java,
3985 gnu/java/beans/decoder/MethodContext.java,
3986 gnu/java/beans/decoder/MethodFinder.java,
3987 gnu/java/beans/decoder/NullHandler.java,
3988 gnu/java/beans/decoder/ObjectContext.java,
3989 gnu/java/beans/decoder/ObjectHandler.java,
3990 gnu/java/beans/decoder/PersistenceParser.java,
3991 gnu/java/beans/decoder/PropertyContext.java,
3992 gnu/java/beans/decoder/ShortHandler.java,
3993 gnu/java/beans/decoder/SimpleHandler.java,
3994 gnu/java/beans/decoder/StaticMethodContext.java,
3995 gnu/java/beans/decoder/StringHandler.java,
3996 gnu/java/beans/decoder/VoidHandler.java: New class
3997 implementing java.beans.XMLDecoder decoding functionality.
3998 * java/beans/XMLDecoder.java: New class.
4000 2005-02-19 Michael Koch <konqueror@gmx.de>
4002 * javax/swing/JTextField.java
4003 (notfiyAction): Added javadoc.
4005 2005-02-19 Sven de Marothy <sven@physto.se>
4007 * javax/swing/SpinnerDateModel.java: Implemented.
4009 2005-02-19 Michael Koch <konqueror@gmx.de>
4011 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4012 * Makefile.in: Regenerated.
4014 2005-02-19 Michael Koch <konqueror@gmx.de>
4016 * gnu/java/nio/SelectorImpl.java:
4017 Reworked import statements.
4018 (register): Removed unused code.
4019 * java/nio/channels/Channels.java: Reformatted.
4020 * java/nio/charset/Charset.java: Likewise.
4021 * java/rmi/server/RemoteObject.java
4022 (serialVersionUID): Made private.
4023 * java/rmi/server/UID.java
4024 (serialVersionUID): Likewise.
4026 2005-02-19 Michael Koch <konqueror@gmx.de>
4028 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4029 gnu/java/net/protocol/ftp/BlockInputStream.java,
4030 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4031 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4032 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4033 gnu/java/net/protocol/ftp/DTPInputStream.java,
4034 gnu/java/net/protocol/ftp/DTP.java,
4035 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4036 gnu/java/net/protocol/ftp/FTPConnection.java,
4037 gnu/java/net/protocol/ftp/FTPException.java,
4038 gnu/java/net/protocol/ftp/FTPResponse.java,
4039 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4040 gnu/java/net/protocol/ftp/Handler.java,
4041 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4042 gnu/java/net/protocol/ftp/StreamInputStream.java,
4043 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4044 gnu/java/net/CRLFInputStream.java,
4045 gnu/java/net/CRLFOutputStream.java,
4046 gnu/java/net/GetLocalHostAction.java,
4047 gnu/java/net/protocol/ftp/package.html: New files.
4048 * Makefile.am: Added new files.
4049 * Makefile.in: Regenerated.
4051 2005-02-18 Tom Tromey <tromey@redhat.com>
4053 * link.cc (make_vtable): Remove abstract method check.
4054 (append_partial_itable): Likewise.
4057 * verify.cc (type::equals): Fixed test.
4058 * testsuite/libjava.lang/PR20056.out: New file.
4059 * testsuite/libjava.lang/PR20056.java: New file.
4061 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4063 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4064 not the HashEntry. Reported by Jean-Marie White.
4066 2005-02-18 Tom Tromey <tromey@redhat.com>
4069 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4070 * link.cc (has_field_p): New function.
4071 * verify.cc (check_field_constant): Added 'putfield' argument.
4072 (verify_instructions_0): Updated.
4073 (type::equals): New method.
4075 2005-02-18 Anthony Green <green@redhat.com>
4077 * NEWS: Draft of libgcj NEWS for 4.0.
4079 2005-02-18 Anthony Green <green@redhat.com>
4081 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4082 architecture names to "i386" for compatibility reasons. Win32
4085 2005-02-18 Anthony Green <green@redhat.com>
4087 * gij.cc (version): Change year for '--version' to 2005.
4088 * gnu/gcj/convert/Convert.java: Ditto.
4089 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4090 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4092 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4093 recent copyright year in `--version' output.
4095 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4097 * java/nio/charset/Charset.java (forName): Throws
4098 IllegalArgumentException when argument is null
4099 and added documentation.
4101 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4103 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4104 Move the position of the source buffer forward.
4106 2005-02-17 Tom Tromey <tromey@redhat.com>
4108 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4109 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4110 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4111 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4112 Changed type of second argument. Rewrote.
4113 (make_vtable): Use it.
4114 (append_partial_itable): Updated.
4115 (layout_vtable_methods): Updated.
4117 2005-02-17 Michael Koch <konqueror@gmx.de>
4119 * gnu/java/net/PlainSocketImpl.java
4120 (shutdownInput): Added javadoc.
4121 (shutdownOutput): Likewise.
4123 2005-02-17 Michael Koch <konqueror@gmx.de>
4125 * javax/print/attribute/standard/Chromaticity.java,
4126 javax/print/attribute/standard/Destination.java,
4127 javax/print/attribute/standard/MediaPrintableArea.java,
4128 javax/print/attribute/standard/MediaSize.java: New files.
4129 * Makefile.am: Added new files.
4130 * Makefile.in: Regenerated.
4132 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4133 Michael Koch <konqueror@gmx.de>
4135 * gnu/java/net/protocol/http/Cookie.java,
4136 gnu/java/net/protocol/http/HTTPConnection.java,
4137 gnu/java/net/protocol/http/HTTPDateFormat.java,
4138 gnu/java/net/protocol/http/Request.java,
4139 gnu/java/nio/PipeImpl.java,
4140 gnu/java/rmi/dgc/DGCImpl.java,
4141 gnu/java/rmi/server/ConnectionRunnerPool.java,
4142 gnu/java/rmi/server/UnicastConnectionManager.java,
4143 gnu/java/security/der/DERWriter.java,
4144 gnu/java/security/pkcs/SignerInfo.java,
4145 gnu/java/security/provider/EncodedKeyFactory.java,
4146 gnu/java/security/provider/GnuDHPublicKey.java,
4147 gnu/java/security/provider/GnuDSAPrivateKey.java,
4148 gnu/java/security/provider/GnuDSAPublicKey.java,
4149 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4150 gnu/java/security/x509/X500DistinguishedName.java,
4151 gnu/java/security/x509/X509CRL.java,
4152 gnu/java/security/x509/X509CRLEntry.java,
4153 gnu/java/security/x509/X509Certificate.java,
4154 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4155 gnu/java/security/x509/ext/CertificatePolicies.java,
4156 gnu/java/security/x509/ext/PolicyConstraint.java,
4157 gnu/xml/dom/Consumer.java,
4158 gnu/xml/dom/DomCharacterData.java,
4159 gnu/xml/dom/DomDocument.java,
4160 gnu/xml/dom/DomDocumentBuilder.java,
4161 gnu/xml/dom/DomIterator.java,
4162 gnu/xml/dom/DomNode.java,
4163 gnu/xml/dom/DomXPathExpression.java,
4164 gnu/xml/dom/DomXPathResult.java,
4165 gnu/xml/dom/JAXPFactory.java,
4166 gnu/xml/pipeline/CallFilter.java,
4167 gnu/xml/pipeline/DomConsumer.java,
4168 gnu/xml/pipeline/LinkFilter.java,
4169 gnu/xml/pipeline/NSFilter.java,
4170 gnu/xml/pipeline/TeeConsumer.java,
4171 gnu/xml/pipeline/ValidationConsumer.java,
4172 gnu/xml/pipeline/WellFormednessFilter.java,
4173 gnu/xml/pipeline/XIncludeFilter.java,
4174 gnu/xml/pipeline/XsltFilter.java,
4175 gnu/xml/transform/ApplyImportsNode.java,
4176 gnu/xml/transform/Bindings.java,
4177 gnu/xml/transform/DocumentFunction.java,
4178 gnu/xml/transform/FormatNumberFunction.java,
4179 gnu/xml/transform/NodeNumberNode.java,
4180 gnu/xml/transform/NumberNode.java,
4181 gnu/xml/transform/Stylesheet.java,
4182 gnu/xml/transform/SystemPropertyFunction.java,
4183 gnu/xml/transform/Template.java,
4184 gnu/xml/transform/TemplatesImpl.java,
4185 gnu/xml/transform/TransformerImpl.java,
4186 gnu/xml/transform/ValueOfNode.java,
4187 gnu/xml/transform/XSLURIResolver.java,
4188 gnu/xml/util/DoParse.java,
4189 gnu/xml/util/Resolver.java,
4190 gnu/xml/xpath/Expr.java,
4191 gnu/xml/xpath/FunctionCall.java,
4192 gnu/xml/xpath/RelationalExpr.java,
4193 gnu/xml/xpath/Selector.java,
4194 gnu/xml/xpath/XPathParser.java:
4195 Reworked import statements, fixed modifier order and some little
4198 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4200 * java/nio/ByteBufferImpl.java (compact):
4201 Set position and limit even if no bytes were moved.
4203 2005-02-17 Michael Koch <konqueror@gmx.de>
4205 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4206 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4207 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4208 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4209 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4210 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4211 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4212 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4213 * java/nio/FloatBufferImpl.java (compact): Set position.
4214 * java/nio/CharBufferImpl.java (compact): Likewise.
4215 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4216 * java/nio/IntBufferImpl.java (compact): Likewise.
4217 * java/nio/LongBufferImpl.java (compact): Likewise.
4218 * java/nio/ShortBufferImpl.java (compact): Likewise.
4220 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4222 * java/nio/ByteBufferImpl.java,
4223 java/nio/CharBufferImpl.java,
4224 java/nio/DirectByteBufferImpl.java,
4225 java/nio/DoubleBufferImpl.java,
4226 java/nio/FloatBufferImpl.java,
4227 java/nio/IntBufferImpl.java,
4228 java/nio/LongBufferImpl.java,
4229 java/nio/MappedByteBufferImpl.java,
4230 java/nio/ShortBufferImpl.java
4231 (compact): Added explicit read-only check and invalidate mark.
4233 2005-02-17 Michael Koch <konqueror@gmx.de>
4235 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4236 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4237 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4238 gnu/java/awt/peer/gtk/GdkGraphics.java,
4239 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4240 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4241 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4242 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4243 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4244 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4245 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4246 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4247 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4248 gnu/java/awt/peer/gtk/GtkClipboard.java,
4249 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4250 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4251 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4252 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4253 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4254 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4255 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4256 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4257 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4258 gnu/java/awt/peer/gtk/GtkToolkit.java,
4259 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4260 java/applet/Applet.java,
4261 java/awt/AWTError.java,
4262 java/awt/AWTEvent.java,
4263 java/awt/AWTEventMulticaster.java,
4264 java/awt/AWTException.java,
4265 java/awt/AWTKeyStroke.java,
4266 java/awt/AWTPermission.java,
4267 java/awt/ActiveEvent.java,
4268 java/awt/Adjustable.java,
4269 java/awt/AlphaComposite.java,
4270 java/awt/AttributeValue.java,
4271 java/awt/BorderLayout.java,
4272 java/awt/BufferCapabilities.java,
4273 java/awt/Button.java,
4274 java/awt/Canvas.java,
4275 java/awt/CheckboxGroup.java,
4276 java/awt/CheckboxMenuItem.java,
4277 java/awt/Color.java,
4278 java/awt/ColorPaintContext.java,
4279 java/awt/Component.java,
4280 java/awt/ComponentOrientation.java,
4281 java/awt/Composite.java,
4282 java/awt/CompositeContext.java,
4283 java/awt/Container.java,
4284 java/awt/ContainerOrderFocusTraversalPolicy.java,
4285 java/awt/DefaultFocusTraversalPolicy.java,
4286 java/awt/Dialog.java,
4287 java/awt/Dimension.java,
4288 java/awt/DisplayMode.java,
4289 java/awt/EventQueue.java,
4290 java/awt/FileDialog.java,
4291 java/awt/FontFormatException.java,
4292 java/awt/Graphics.java,
4293 java/awt/Graphics2D.java,
4294 java/awt/GraphicsConfigTemplate.java,
4295 java/awt/GraphicsConfiguration.java,
4296 java/awt/GraphicsDevice.java,
4297 java/awt/GridBagLayout.java,
4298 java/awt/GridBagLayoutInfo.java,
4299 java/awt/GridLayout.java,
4300 java/awt/HeadlessException.java,
4301 java/awt/IllegalComponentStateException.java,
4302 java/awt/Image.java,
4303 java/awt/Insets.java,
4304 java/awt/ItemSelectable.java,
4305 java/awt/JobAttributes.java,
4306 java/awt/KeyEventDispatcher.java,
4307 java/awt/KeyEventPostProcessor.java,
4308 java/awt/KeyboardFocusManager.java,
4309 java/awt/Label.java,
4310 java/awt/LayoutManager.java,
4311 java/awt/MenuBar.java,
4312 java/awt/MenuComponent.java,
4313 java/awt/MenuContainer.java,
4314 java/awt/PageAttributes.java,
4315 java/awt/Paint.java,
4316 java/awt/PaintContext.java,
4317 java/awt/Panel.java,
4318 java/awt/Point.java,
4319 java/awt/Polygon.java,
4320 java/awt/PrintGraphics.java,
4321 java/awt/PrintJob.java,
4322 java/awt/Rectangle.java,
4323 java/awt/RenderingHints.java,
4324 java/awt/Shape.java,
4325 java/awt/Stroke.java,
4326 java/awt/SystemColor.java,
4327 java/awt/Toolkit.java,
4328 java/awt/Transparency.java,
4329 java/awt/Window.java,
4330 java/awt/color/CMMException.java,
4331 java/awt/color/ColorSpace.java,
4332 java/awt/color/ICC_ColorSpace.java,
4333 java/awt/color/ICC_Profile.java,
4334 java/awt/color/ProfileDataException.java,
4335 java/awt/datatransfer/FlavorTable.java,
4336 java/awt/datatransfer/MimeTypeParseException.java,
4337 java/awt/datatransfer/Transferable.java,
4338 java/awt/datatransfer/UnsupportedFlavorException.java,
4339 java/awt/dnd/Autoscroll.java,
4340 java/awt/dnd/DnDConstants.java,
4341 java/awt/dnd/DragGestureListener.java,
4342 java/awt/dnd/DragSourceAdapter.java,
4343 java/awt/dnd/DragSourceDropEvent.java,
4344 java/awt/dnd/DragSourceListener.java,
4345 java/awt/dnd/DragSourceMotionListener.java,
4346 java/awt/dnd/DropTargetAdapter.java,
4347 java/awt/dnd/DropTargetContext.java,
4348 java/awt/dnd/DropTargetListener.java,
4349 java/awt/dnd/InvalidDnDOperationException.java,
4350 java/awt/dnd/MouseDragGestureRecognizer.java,
4351 java/awt/dnd/peer/DropTargetContextPeer.java,
4352 java/awt/event/AWTEventListener.java,
4353 java/awt/event/AWTEventListenerProxy.java,
4354 java/awt/event/ActionEvent.java,
4355 java/awt/event/AdjustmentEvent.java,
4356 java/awt/event/AdjustmentListener.java,
4357 java/awt/event/ComponentAdapter.java,
4358 java/awt/event/ComponentEvent.java,
4359 java/awt/event/ComponentListener.java,
4360 java/awt/event/ContainerAdapter.java,
4361 java/awt/event/ContainerEvent.java,
4362 java/awt/event/ContainerListener.java,
4363 java/awt/event/FocusAdapter.java,
4364 java/awt/event/FocusEvent.java,
4365 java/awt/event/FocusListener.java,
4366 java/awt/event/InputEvent.java,
4367 java/awt/event/InputMethodEvent.java,
4368 java/awt/event/InputMethodListener.java,
4369 java/awt/event/InvocationEvent.java,
4370 java/awt/event/ItemEvent.java,
4371 java/awt/event/ItemListener.java,
4372 java/awt/event/KeyAdapter.java,
4373 java/awt/event/KeyEvent.java,
4374 java/awt/event/KeyListener.java,
4375 java/awt/event/MouseAdapter.java,
4376 java/awt/event/MouseEvent.java,
4377 java/awt/event/MouseListener.java,
4378 java/awt/event/MouseMotionAdapter.java,
4379 java/awt/event/MouseMotionListener.java,
4380 java/awt/event/MouseWheelEvent.java,
4381 java/awt/event/MouseWheelListener.java,
4382 java/awt/event/PaintEvent.java,
4383 java/awt/event/TextEvent.java,
4384 java/awt/event/TextListener.java,
4385 java/awt/event/WindowAdapter.java,
4386 java/awt/event/WindowEvent.java,
4387 java/awt/event/WindowFocusListener.java,
4388 java/awt/event/WindowListener.java,
4389 java/awt/event/WindowStateListener.java,
4390 java/awt/font/TextHitInfo.java,
4391 java/awt/geom/CubicCurve2D.java,
4392 java/awt/geom/Dimension2D.java,
4393 java/awt/geom/Ellipse2D.java,
4394 java/awt/geom/IllegalPathStateException.java,
4395 java/awt/geom/Line2D.java,
4396 java/awt/geom/NoninvertibleTransformException.java,
4397 java/awt/geom/PathIterator.java,
4398 java/awt/geom/Point2D.java,
4399 java/awt/geom/QuadCurve2D.java,
4400 java/awt/geom/RectangularShape.java,
4401 java/awt/geom/RoundRectangle2D.java,
4402 java/awt/im/InputContext.java,
4403 java/awt/im/InputMethodHighlight.java,
4404 java/awt/im/InputMethodRequests.java,
4405 java/awt/im/InputSubset.java,
4406 java/awt/im/spi/InputMethod.java,
4407 java/awt/im/spi/InputMethodDescriptor.java,
4408 java/awt/image/BandCombineOp.java,
4409 java/awt/image/BandedSampleModel.java,
4410 java/awt/image/ByteLookupTable.java,
4411 java/awt/image/ComponentSampleModel.java,
4412 java/awt/image/DataBuffer.java,
4413 java/awt/image/DataBufferByte.java,
4414 java/awt/image/DataBufferDouble.java,
4415 java/awt/image/DataBufferFloat.java,
4416 java/awt/image/DataBufferInt.java,
4417 java/awt/image/DataBufferShort.java,
4418 java/awt/image/DataBufferUShort.java,
4419 java/awt/image/ImagingOpException.java,
4420 java/awt/image/Kernel.java,
4421 java/awt/image/LookupTable.java,
4422 java/awt/image/MultiPixelPackedSampleModel.java,
4423 java/awt/image/PackedColorModel.java,
4424 java/awt/image/PixelInterleavedSampleModel.java,
4425 java/awt/image/RGBImageFilter.java,
4426 java/awt/image/Raster.java,
4427 java/awt/image/RasterFormatException.java,
4428 java/awt/image/SampleModel.java,
4429 java/awt/image/ShortLookupTable.java,
4430 java/awt/image/SinglePixelPackedSampleModel.java,
4431 java/awt/image/WritableRaster.java,
4432 java/awt/print/PrinterAbortException.java,
4433 java/awt/print/PrinterException.java,
4434 java/awt/print/PrinterIOException.java,
4435 java/beans/AppletInitializer.java,
4436 java/beans/ExceptionListener.java,
4437 java/beans/PropertyChangeEvent.java,
4438 java/beans/PropertyChangeListenerProxy.java,
4439 java/beans/PropertyChangeSupport.java,
4440 java/beans/PropertyDescriptor.java,
4441 java/beans/VetoableChangeListenerProxy.java,
4442 java/beans/VetoableChangeSupport.java,
4443 java/io/BufferedReader.java,
4444 java/io/ByteArrayInputStream.java,
4445 java/io/ByteArrayOutputStream.java,
4446 java/io/CharArrayReader.java,
4447 java/io/CharArrayWriter.java,
4448 java/io/CharConversionException.java,
4449 java/io/DataInput.java,
4450 java/io/DataInputStream.java,
4451 java/io/DataOutput.java,
4452 java/io/DataOutputStream.java,
4453 java/io/EOFException.java,
4454 java/io/FileInputStream.java,
4455 java/io/FileNotFoundException.java,
4456 java/io/FileOutputStream.java,
4457 java/io/FilenameFilter.java,
4458 java/io/FilterInputStream.java,
4459 java/io/FilterOutputStream.java,
4460 java/io/FilterReader.java,
4461 java/io/FilterWriter.java,
4462 java/io/IOException.java,
4463 java/io/InputStream.java,
4464 java/io/InterruptedIOException.java,
4465 java/io/LineNumberInputStream.java,
4466 java/io/LineNumberReader.java,
4467 java/io/ObjectInputStream.java,
4468 java/io/ObjectStreamException.java,
4469 java/io/OptionalDataException.java,
4470 java/io/OutputStream.java,
4471 java/io/OutputStreamWriter.java,
4472 java/io/PrintStream.java,
4473 java/io/PrintWriter.java,
4474 java/io/PushbackInputStream.java,
4475 java/io/PushbackReader.java,
4476 java/io/RandomAccessFile.java,
4477 java/io/Reader.java,
4478 java/io/SequenceInputStream.java,
4479 java/io/Serializable.java,
4480 java/io/StreamCorruptedException.java,
4481 java/io/StreamTokenizer.java,
4482 java/io/StringBufferInputStream.java,
4483 java/io/StringWriter.java,
4484 java/io/SyncFailedException.java,
4485 java/io/UTFDataFormatException.java,
4486 java/io/UnsupportedEncodingException.java,
4487 java/io/WriteAbortedException.java,
4488 java/io/Writer.java,
4489 java/lang/AbstractMethodError.java,
4490 java/lang/ArithmeticException.java,
4491 java/lang/ArrayIndexOutOfBoundsException.java,
4492 java/lang/ArrayStoreException.java,
4493 java/lang/AssertionError.java,
4494 java/lang/Boolean.java,
4495 java/lang/Byte.java,
4496 java/lang/Class.java,
4497 java/lang/ClassCastException.java,
4498 java/lang/ClassCircularityError.java,
4499 java/lang/ClassLoader.java,
4500 java/lang/ClassNotFoundException.java,
4501 java/lang/CloneNotSupportedException.java,
4502 java/lang/Cloneable.java,
4503 java/lang/Comparable.java,
4504 java/lang/Compiler.java,
4505 java/lang/Double.java,
4506 java/lang/Error.java,
4507 java/lang/Exception.java,
4508 java/lang/ExceptionInInitializerError.java,
4509 java/lang/Float.java,
4510 java/lang/IllegalAccessError.java,
4511 java/lang/IllegalAccessException.java,
4512 java/lang/IllegalArgumentException.java,
4513 java/lang/IllegalMonitorStateException.java,
4514 java/lang/IllegalStateException.java,
4515 java/lang/IllegalThreadStateException.java,
4516 java/lang/IncompatibleClassChangeError.java,
4517 java/lang/IndexOutOfBoundsException.java,
4518 java/lang/InheritableThreadLocal.java,
4519 java/lang/InstantiationError.java,
4520 java/lang/InstantiationException.java,
4521 java/lang/Integer.java,
4522 java/lang/InternalError.java,
4523 java/lang/InterruptedException.java,
4524 java/lang/LinkageError.java,
4525 java/lang/Long.java,
4526 java/lang/NegativeArraySizeException.java,
4527 java/lang/NoClassDefFoundError.java,
4528 java/lang/NoSuchFieldError.java,
4529 java/lang/NoSuchFieldException.java,
4530 java/lang/NoSuchMethodError.java,
4531 java/lang/NoSuchMethodException.java,
4532 java/lang/NullPointerException.java,
4533 java/lang/Number.java,
4534 java/lang/NumberFormatException.java,
4535 java/lang/OutOfMemoryError.java,
4536 java/lang/Process.java,
4537 java/lang/Runnable.java,
4538 java/lang/Runtime.java,
4539 java/lang/RuntimeException.java,
4540 java/lang/RuntimePermission.java,
4541 java/lang/SecurityException.java,
4542 java/lang/SecurityManager.java,
4543 java/lang/Short.java,
4544 java/lang/StackOverflowError.java,
4545 java/lang/StackTraceElement.java,
4546 java/lang/StringBuffer.java,
4547 java/lang/StringIndexOutOfBoundsException.java,
4548 java/lang/ThreadDeath.java,
4549 java/lang/ThreadGroup.java,
4550 java/lang/Throwable.java,
4551 java/lang/UnsatisfiedLinkError.java,
4552 java/lang/UnsupportedOperationException.java,
4553 java/lang/VerifyError.java,
4554 java/lang/VirtualMachineError.java,
4555 java/lang/reflect/AccessibleObject.java,
4556 java/lang/reflect/Array.java,
4557 java/lang/reflect/InvocationTargetException.java,
4558 java/lang/reflect/Member.java,
4559 java/lang/reflect/Modifier.java,
4560 java/lang/reflect/Proxy.java,
4561 java/lang/reflect/ReflectPermission.java,
4562 java/lang/reflect/UndeclaredThrowableException.java,
4563 java/math/BigInteger.java,
4564 java/net/NetworkInterface.java,
4565 java/nio/ByteBufferHelper.java,
4566 java/nio/ByteBufferImpl.java,
4567 java/nio/DirectByteBufferImpl.java,
4568 java/nio/DoubleBufferImpl.java,
4569 java/nio/FloatBufferImpl.java,
4570 java/nio/IntBufferImpl.java,
4571 java/nio/LongBufferImpl.java,
4572 java/nio/ShortBufferImpl.java,
4573 java/nio/channels/Channel.java,
4574 java/nio/channels/IllegalBlockingModeException.java,
4575 java/nio/charset/spi/CharsetProvider.java,
4576 java/security/AccessControlException.java,
4577 java/security/BasicPermission.java,
4578 java/security/DigestException.java,
4579 java/security/DigestInputStream.java,
4580 java/security/DigestOutputStream.java,
4581 java/security/GeneralSecurityException.java,
4582 java/security/Guard.java,
4583 java/security/GuardedObject.java,
4584 java/security/InvalidAlgorithmParameterException.java,
4585 java/security/InvalidKeyException.java,
4586 java/security/InvalidParameterException.java,
4587 java/security/Key.java,
4588 java/security/KeyException.java,
4589 java/security/KeyManagementException.java,
4590 java/security/KeyStoreException.java,
4591 java/security/MessageDigestSpi.java,
4592 java/security/NoSuchAlgorithmException.java,
4593 java/security/NoSuchProviderException.java,
4594 java/security/Permission.java,
4595 java/security/PermissionCollection.java,
4596 java/security/Permissions.java,
4597 java/security/Principal.java,
4598 java/security/PrivateKey.java,
4599 java/security/PrivilegedActionException.java,
4600 java/security/ProviderException.java,
4601 java/security/PublicKey.java,
4602 java/security/SecureRandom.java,
4603 java/security/SecureRandomSpi.java,
4604 java/security/SignatureException.java,
4605 java/security/SignatureSpi.java,
4606 java/security/SignedObject.java,
4607 java/security/Signer.java,
4608 java/security/UnrecoverableKeyException.java,
4609 java/security/UnresolvedPermission.java,
4610 java/security/acl/AclNotFoundException.java,
4611 java/security/acl/LastOwnerException.java,
4612 java/security/acl/NotOwnerException.java,
4613 java/security/cert/CertPath.java,
4614 java/security/cert/CertPathBuilderException.java,
4615 java/security/cert/CertPathValidatorException.java,
4616 java/security/cert/CertStoreException.java,
4617 java/text/BreakIterator.java,
4618 java/text/ChoiceFormat.java,
4619 java/text/CollationElementIterator.java,
4620 java/text/CollationKey.java,
4621 java/text/Collator.java,
4622 java/text/DateFormat.java,
4623 java/text/DateFormatSymbols.java,
4624 java/text/DecimalFormat.java,
4625 java/text/DecimalFormatSymbols.java,
4626 java/text/FieldPosition.java,
4627 java/text/Format.java,
4628 java/text/NumberFormat.java,
4629 java/text/ParseException.java,
4630 java/text/ParsePosition.java,
4631 java/text/StringCharacterIterator.java,
4632 java/util/AbstractCollection.java,
4633 java/util/AbstractList.java,
4634 java/util/AbstractMap.java,
4635 java/util/AbstractSequentialList.java,
4636 java/util/AbstractSet.java,
4637 java/util/ArrayList.java,
4638 java/util/Arrays.java,
4639 java/util/BitSet.java,
4640 java/util/Collection.java,
4641 java/util/Collections.java,
4642 java/util/Comparator.java,
4643 java/util/ConcurrentModificationException.java,
4644 java/util/Currency.java,
4645 java/util/Date.java,
4646 java/util/EmptyStackException.java,
4647 java/util/Enumeration.java,
4648 java/util/EventListener.java,
4649 java/util/EventListenerProxy.java,
4650 java/util/EventObject.java,
4651 java/util/HashMap.java,
4652 java/util/HashSet.java,
4653 java/util/Hashtable.java,
4654 java/util/IdentityHashMap.java,
4655 java/util/Iterator.java,
4656 java/util/LinkedHashSet.java,
4657 java/util/LinkedList.java,
4658 java/util/List.java,
4659 java/util/ListIterator.java,
4660 java/util/ListResourceBundle.java,
4662 java/util/MissingResourceException.java,
4663 java/util/NoSuchElementException.java,
4664 java/util/Observable.java,
4665 java/util/Observer.java,
4666 java/util/Properties.java,
4667 java/util/PropertyPermissionCollection.java,
4668 java/util/RandomAccess.java,
4670 java/util/SortedMap.java,
4671 java/util/SortedSet.java,
4672 java/util/Stack.java,
4673 java/util/StringTokenizer.java,
4674 java/util/TooManyListenersException.java,
4675 java/util/TreeMap.java,
4676 java/util/TreeSet.java,
4677 java/util/Vector.java,
4678 java/util/logging/FileHandler.java,
4679 java/util/logging/Level.java,
4680 java/util/prefs/BackingStoreException.java,
4681 java/util/prefs/InvalidPreferencesFormatException.java,
4682 java/util/prefs/Preferences.java,
4683 javax/accessibility/Accessible.java,
4684 javax/accessibility/AccessibleAction.java,
4685 javax/accessibility/AccessibleBundle.java,
4686 javax/accessibility/AccessibleComponent.java,
4687 javax/accessibility/AccessibleContext.java,
4688 javax/accessibility/AccessibleEditableText.java,
4689 javax/accessibility/AccessibleExtendedComponent.java,
4690 javax/accessibility/AccessibleExtendedTable.java,
4691 javax/accessibility/AccessibleHyperlink.java,
4692 javax/accessibility/AccessibleHypertext.java,
4693 javax/accessibility/AccessibleIcon.java,
4694 javax/accessibility/AccessibleKeyBinding.java,
4695 javax/accessibility/AccessibleRelation.java,
4696 javax/accessibility/AccessibleRelationSet.java,
4697 javax/accessibility/AccessibleResourceBundle.java,
4698 javax/accessibility/AccessibleRole.java,
4699 javax/accessibility/AccessibleSelection.java,
4700 javax/accessibility/AccessibleState.java,
4701 javax/accessibility/AccessibleStateSet.java,
4702 javax/accessibility/AccessibleTable.java,
4703 javax/accessibility/AccessibleTableModelChange.java,
4704 javax/accessibility/AccessibleText.java,
4705 javax/accessibility/AccessibleValue.java,
4706 javax/imageio/IIOException.java,
4707 javax/imageio/ImageIO.java,
4708 javax/imageio/spi/IIOServiceProvider.java,
4709 javax/imageio/spi/ImageInputStreamSpi.java,
4710 javax/imageio/spi/ImageOutputStreamSpi.java,
4711 javax/imageio/spi/ImageReaderWriterSpi.java,
4712 javax/imageio/spi/ImageTranscoderSpi.java,
4713 javax/imageio/spi/RegisterableService.java,
4714 javax/imageio/spi/ServiceRegistry.java,
4715 javax/imageio/stream/IIOByteBuffer.java,
4716 javax/imageio/stream/ImageInputStream.java,
4717 javax/imageio/stream/ImageOutputStream.java,
4718 javax/naming/Binding.java,
4719 javax/naming/CannotProceedException.java,
4720 javax/naming/CompositeName.java,
4721 javax/naming/CompoundName.java,
4722 javax/naming/LinkException.java,
4723 javax/naming/LinkRef.java,
4724 javax/naming/NameClassPair.java,
4725 javax/naming/Reference.java,
4726 javax/naming/ReferralException.java,
4727 javax/naming/directory/Attribute.java,
4728 javax/naming/directory/AttributeModificationException.java,
4729 javax/naming/directory/Attributes.java,
4730 javax/naming/directory/DirContext.java,
4731 javax/naming/directory/ModificationItem.java,
4732 javax/naming/directory/SearchControls.java,
4733 javax/naming/directory/SearchResult.java,
4734 javax/naming/event/EventContext.java,
4735 javax/naming/event/EventDirContext.java,
4736 javax/naming/event/NamespaceChangeListener.java,
4737 javax/naming/event/NamingExceptionEvent.java,
4738 javax/naming/event/NamingListener.java,
4739 javax/naming/event/ObjectChangeListener.java,
4740 javax/naming/ldap/Control.java,
4741 javax/naming/ldap/ExtendedResponse.java,
4742 javax/naming/ldap/HasControls.java,
4743 javax/naming/ldap/LdapContext.java,
4744 javax/naming/ldap/UnsolicitedNotification.java,
4745 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4746 javax/naming/ldap/UnsolicitedNotificationListener.java,
4747 javax/naming/spi/DirectoryManager.java,
4748 javax/naming/spi/ResolveResult.java,
4749 javax/naming/spi/Resolver.java,
4750 javax/security/auth/callback/Callback.java,
4751 javax/security/auth/callback/CallbackHandler.java,
4752 javax/security/auth/callback/ChoiceCallback.java,
4753 javax/security/auth/callback/ConfirmationCallback.java,
4754 javax/security/auth/callback/LanguageCallback.java,
4755 javax/security/auth/callback/NameCallback.java,
4756 javax/security/auth/callback/PasswordCallback.java,
4757 javax/security/auth/callback/TextInputCallback.java,
4758 javax/security/auth/callback/TextOutputCallback.java,
4759 javax/security/auth/callback/UnsupportedCallbackException.java,
4760 javax/security/sasl/Sasl.java,
4761 javax/security/sasl/SaslServerFactory.java,
4762 javax/swing/DefaultBoundedRangeModel.java,
4763 javax/swing/JComponent.java,
4764 javax/swing/JList.java,
4765 javax/swing/JProgressBar.java,
4766 javax/swing/JRadioButton.java,
4767 javax/swing/JTextArea.java,
4768 javax/swing/JTextField.java,
4769 javax/swing/JToggleButton.java,
4770 javax/swing/JTree.java,
4771 javax/swing/SpinnerListModel.java,
4772 javax/swing/event/EventListenerList.java,
4773 javax/swing/text/JTextComponent.java,
4774 javax/swing/text/StringContent.java,
4775 javax/swing/text/Utilities.java,
4776 javax/swing/undo/UndoManager.java,
4777 javax/swing/undo/UndoableEditSupport.java,
4778 javax/transaction/HeuristicCommitException.java,
4779 javax/transaction/HeuristicMixedException.java,
4780 javax/transaction/HeuristicRollbackException.java,
4781 javax/transaction/InvalidTransactionException.java,
4782 javax/transaction/NotSupportedException.java,
4783 javax/transaction/RollbackException.java,
4784 javax/transaction/Status.java,
4785 javax/transaction/Synchronization.java,
4786 javax/transaction/SystemException.java,
4787 javax/transaction/Transaction.java,
4788 javax/transaction/TransactionManager.java,
4789 javax/transaction/TransactionRequiredException.java,
4790 javax/transaction/TransactionRolledbackException.java,
4791 javax/transaction/UserTransaction.java,
4792 javax/transaction/xa/XAException.java,
4793 javax/transaction/xa/XAResource.java,
4794 javax/transaction/xa/Xid.java,
4795 javax/xml/XMLConstants.java,
4796 javax/xml/datatype/DatatypeConfigurationException.java,
4797 javax/xml/datatype/DatatypeConstants.java,
4798 javax/xml/datatype/DatatypeFactory.java,
4799 javax/xml/datatype/Duration.java,
4800 javax/xml/datatype/XMLGregorianCalendar.java,
4801 javax/xml/namespace/NamespaceContext.java,
4802 javax/xml/namespace/QName.java,
4803 javax/xml/parsers/DocumentBuilder.java,
4804 javax/xml/parsers/DocumentBuilderFactory.java,
4805 javax/xml/parsers/FactoryConfigurationError.java,
4806 javax/xml/parsers/ParserConfigurationException.java,
4807 javax/xml/parsers/SAXParser.java,
4808 javax/xml/parsers/SAXParserFactory.java,
4809 javax/xml/transform/ErrorListener.java,
4810 javax/xml/transform/OutputKeys.java,
4811 javax/xml/transform/Result.java,
4812 javax/xml/transform/Source.java,
4813 javax/xml/transform/SourceLocator.java,
4814 javax/xml/transform/Templates.java,
4815 javax/xml/transform/Transformer.java,
4816 javax/xml/transform/TransformerConfigurationException.java,
4817 javax/xml/transform/TransformerException.java,
4818 javax/xml/transform/TransformerFactory.java,
4819 javax/xml/transform/TransformerFactoryConfigurationError.java,
4820 javax/xml/transform/URIResolver.java,
4821 javax/xml/transform/dom/DOMLocator.java,
4822 javax/xml/transform/dom/DOMResult.java,
4823 javax/xml/transform/dom/DOMSource.java,
4824 javax/xml/transform/sax/SAXResult.java,
4825 javax/xml/transform/sax/SAXSource.java,
4826 javax/xml/transform/sax/SAXTransformerFactory.java,
4827 javax/xml/transform/sax/TemplatesHandler.java,
4828 javax/xml/transform/sax/TransformerHandler.java,
4829 javax/xml/transform/stream/StreamResult.java,
4830 javax/xml/transform/stream/StreamSource.java,
4831 javax/xml/validation/Schema.java,
4832 javax/xml/validation/SchemaFactory.java,
4833 javax/xml/validation/TypeInfoProvider.java,
4834 javax/xml/validation/Validator.java,
4835 javax/xml/validation/ValidatorHandler.java,
4836 javax/xml/xpath/XPathConstants.java,
4837 javax/xml/xpath/XPathException.java,
4838 javax/xml/xpath/XPathExpression.java,
4839 javax/xml/xpath/XPathExpressionException.java,
4840 javax/xml/xpath/XPathFactory.java,
4841 javax/xml/xpath/XPathFactoryConfigurationException.java,
4842 javax/xml/xpath/XPathFunction.java,
4843 javax/xml/xpath/XPathFunctionException.java,
4844 javax/xml/xpath/XPathFunctionResolver.java:
4845 Fixed usage of @author tag, reworked import statements,
4846 removed CVS tags, changed the modifier order and fixed
4847 HTML usage in javadocs.
4849 2005-02-16 Julian Scheid <julian@sektor37.de>
4851 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4853 (encodeLoop): Likewise.
4855 2005-02-16 Mark Wielaard <mark@klomp.org>
4857 * Makefile.am (ordinary_java_source_files): Add new files
4858 gnu/java/security/ber/BER.java,
4859 gnu/java/security/ber/BEREncodingException.java,
4860 gnu/java/security/ber/BERReader.java,
4861 gnu/java/security/ber/BERValue.java,
4862 gnu/java/security/pkcs/PKCS7SignedData.java and
4863 gnu/java/security/pkcs/SignerInfo.java.
4864 * Makefile.in: Regenerated.
4866 2005-02-16 Casey Marshall <csm@gnu.org>
4868 * gnu/java/security/provider/GnuDSAPrivateKey.java
4869 (encodedKey): new field.
4870 (getFormat): return "PKCS#8".
4871 (getEncoded): implemented.
4872 (toString): check for 'null' values.
4873 * gnu/java/security/provider/GnuDSAPublicKey.java
4874 (encodedKey): new field.
4875 (getFormat): return "X.509".
4876 (getEncoded): implemented.
4877 (toString): check for 'null' values.
4879 2005-02-16 Michael Koch <konqueror@gmx.de>
4881 * java/util/jar/JarFile.java: Imports reworked.
4883 2005-02-16 Mark Wielaard <mark@klomp.org>
4885 * java/util/jar/JarFile.java (verify): Make package private.
4886 (signaturesRead): Likewise.
4887 (verified): Likewise.
4888 (entryCerts): Likewise.
4891 (entries): Construct new JarEnumeration with reference to this.
4892 (JarEnumeration): Make static.
4893 (JarEnumeration.jarfile): New field.
4894 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4895 Compare verified value to Boolean.TRUE or Boolean.False only
4896 when verify is true.
4897 (getEntry): Make synchronized. Compare value of verified to
4899 (getInputStream): Construct EntryInputStream with reference to this.
4900 (getManifest): Make synchronized.
4901 (EntryInputStream): Make static.
4902 (EntryInputStream.jarfile): New field.
4903 (EntryInputStream.EntryInputStream): Check if manifest exists,
4904 before getting attributes.
4905 (eof): Synchronize on jarfile.
4907 2005-02-16 Casey Marshall <csm@gnu.org>
4909 * java/util/jar/JarFile.java (verify): return if the jar is signed
4910 with an unsupported algorithm.
4912 2005-02-16 Mark Wielaard <mark@klomp.org>
4914 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4915 InputStream as argument.
4916 (getInputStream): Construct a new EntryInputStream with the result of
4917 super.getInputStream(entry).
4919 2005-02-16 Casey Marshall <csm@gnu.org>
4921 Signed JAR file support.
4922 * java/net/URLClassLoader.java
4923 (JarURLResource.getCertificates): re-read jar entry to ensure
4924 certificates are picked up.
4925 (findClass): fill in class `signers' field, too.
4926 * java/util/jar/JarFile.java (META_INF): new constant.
4927 (PKCS7_DSA_SUFFIX): new constant.
4928 (PKCS7_RSA_SUFFIX): new constant.
4929 (DIGEST_KEY_SUFFIX): new constant.
4930 (SF_SUFFIX): new constant.
4931 (MD2_OID): new constant.
4932 (MD4_OID): new constant.
4933 (MD5_OID): new constant.
4934 (SHA1_OID): new constant.
4935 (DSA_ENCRYPTION_OID): new constant.
4936 (RSA_ENCRYPTION_OID): new constant.
4937 (signaturesRead): new field.
4938 (verified): new field.
4939 (entryCerts): new field.
4940 (DEBUG): new constant.
4941 (debug): new method.
4942 (JarEnumeration.nextElement): fill in entry certificates, read
4943 signatures if they haven't been read.
4944 (getEntry): likewise.
4945 (getInputStream): verify stream if it hasn't been verified yet.
4946 (readSignatures): new method.
4947 (verify): new method.
4948 (verifyHashes): new method.
4949 (readManifestEntry): new method.
4950 (EntryInputStream): new class.
4951 * gnu/java/io/Base64InputStream.java (decode): new class
4953 * gnu/java/security/der/DERReader.java don't make class
4955 (in): made protected.
4957 (readLength): likewise.
4958 * gnu/java/security/ber/BER.java,
4959 * gnu/java/security/ber/BEREncodingException.java,
4960 * gnu/java/security/ber/BERReader.java,
4961 * gnu/java/security/ber/BERValue.java,
4962 * gnu/java/security/pkcs/PKCS7SignedData.java,
4963 * gnu/java/security/pkcs/SignerInfo.java:
4966 2005-02-16 Tom Tromey <tromey@redhat.com>
4968 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4969 copied file on exit.
4971 2005-02-15 Mark Wielaard <mark@klomp.org>
4973 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4975 2005-02-15 Michael Koch <konqueror@gmx.de>
4977 * gnu/java/awt/peer/gtk/GtkArg.java,
4978 gnu/java/awt/peer/gtk/GtkArgList.java:
4981 2005-02-15 Craig Black <craig.black@aonix.com>
4983 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4984 (postMenuActionEvent): Implement to notify ItemListeners.
4985 * java/awt/CheckboxMenuItem.java
4986 (dispatchEventImpl): Update state on ItemEvent.
4987 * java/awt/MenuItem.java
4988 (processActionEvent): Retarget event source.
4990 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4992 * gnu/java/awt/color/ClutProfileConverter.java,
4993 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4994 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4995 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4996 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4997 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4998 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4999 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5000 gnu/java/awt/peer/gtk/GdkTextLayout.java,
5001 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5002 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5003 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5004 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5005 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5006 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5007 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5008 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5009 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5010 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5011 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5012 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5013 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5014 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5015 gnu/java/awt/peer/gtk/GtkToolkit.java,
5016 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5017 javax/swing/JPopupMenu.java,
5018 javax/swing/JSpinner.java,
5019 javax/swing/SortingFocusTraversalPolicy.java,
5020 javax/swing/SwingUtilities.java,
5021 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5022 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5023 javax/swing/tree/DefaultMutableTreeNode.java:
5024 Removed unused imports and expanded starred
5027 2005-02-15 Mark Wielaard <mark@klomp.org>
5029 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5030 IllegalArgumentException when the given String is null.
5032 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5033 when given keystoke sequence cannot be parsed.
5035 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5036 if one is installed. Only install the given menubar is not null.
5038 * javax/swing/JViewport.java (getViewSize): Return an empty
5039 Dimension when the view isn't set or preferred component size when
5042 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5043 empty Dimension when there is no view set.
5044 (minimumLayoutSize): Likewise.
5045 (layoutContainer): Don't try to layout when there is no view.
5047 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5050 * include/jawt.h: Likewise.
5051 * include/jawt_md.h: Likewise.
5052 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5054 * jni/classpath/classpath_jawt.h: Likewise.
5055 * jni/gtk-peer/gtk_jawt.c: Likewise.
5056 * Makefile.am: Build libjawt.so.
5058 2005-02-15 Michael Koch <konqueror@gmx.de>
5060 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5061 Merged file header with classpath CVS head.
5062 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5063 Merged code formatting with classpath CVS head.
5064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5066 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5067 Handle special JNI strings with 2 '\0' at the end.
5068 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5069 Merged file header with classpath CVS head.
5070 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5071 Merged code formatting with classpath CVS head.
5073 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5075 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5076 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5077 (handle_response): Use GTK_RESPONSE_ACCEPT.
5079 2005-02-15 Graydon Hoare <graydon@redhat.com>
5081 * Makefile.am: Fix library build breakage.
5082 * Makefile.in: Regenerate.
5084 2005-02-15 Michael Koch <konqueror@gmx.de>
5086 * javax/swing/JTabbedPane.java
5087 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5089 2005-02-15 Michael Koch <konqueror@gmx.de>
5091 * javax/swing/tree/DefaultMutableTreeNode.java:
5092 Reworked Javadocs all over.
5093 (getPathToRoot): Fixed direction of result array initialization.
5095 2005-02-15 Michael Koch <konqueror@gmx.de>
5097 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5098 Fix includes for cairo 0.3.0 snappshot.
5099 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5100 Merged file header from classpath CVS HEAD.
5102 2005-02-15 Craig Black <craig.black@aonix.com>
5104 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5105 (copyState): Pass a JNI global reference to signal handler.
5106 (realize_cb): Use and free JNI global reference.
5107 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5108 (create): Pass a JNI global reference to signal handler.
5109 (selection_changed): Match declaration.
5110 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5111 (dispose): Do not remove entries from state tables until after widget is
5114 2005-02-15 Michael Koch <konqueror@gmx.de>
5116 * java/awt/Container.javai (paramString):
5117 If layoutMgr is null just return result of super.paramString().
5118 * java/awt/Scrollbar.java: Reformatted.
5119 * java/awt/im/InputContext.java (static):
5120 Removed redundant initializations.
5122 2005-02-15 Michael Koch <konqueror@gmx.de>
5124 * javax/swing/ImageIcon.java,
5125 javax/swing/UIManager.java,
5126 javax/swing/text/EditorKit.java,
5127 javax/swing/text/Segment.java:
5128 More whitespace cleanups.
5130 2005-02-15 Michael Koch <konqueror@gmx.de>
5132 * gnu/java/awt/EmbeddedWindow.java,
5133 gnu/java/awt/image/ImageDecoder.java,
5134 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5135 java/awt/DefaultKeyboardFocusManager.java,
5136 java/awt/Frame.java,
5137 java/awt/image/RGBImageFilter.java,
5138 javax/swing/AbstractButton.java,
5139 javax/swing/ActionMap.java,
5140 javax/swing/ComponentInputMap.java,
5141 javax/swing/DefaultDesktopManager.java,
5142 javax/swing/ImageIcon.java,
5143 javax/swing/InputMap.java,
5144 javax/swing/JButton.java,
5145 javax/swing/JCheckBox.java,
5146 javax/swing/JCheckBoxMenuItem.java,
5147 javax/swing/JEditorPane.java,
5148 javax/swing/JMenu.java,
5149 javax/swing/JMenuItem.java,
5150 javax/swing/JOptionPane.java,
5151 javax/swing/JRootPane.java,
5152 javax/swing/JTable.java,
5153 javax/swing/MenuSelectionManager.java,
5154 javax/swing/RepaintManager.java,
5155 javax/swing/ScrollPaneLayout.java,
5156 javax/swing/SortingFocusTraversalPolicy.java,
5157 javax/swing/UIManager.java,
5158 javax/swing/ViewportLayout.java,
5159 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5160 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5161 javax/swing/plaf/basic/BasicLabelUI.java,
5162 javax/swing/plaf/basic/BasicListUI.java,
5163 javax/swing/plaf/basic/BasicMenuItemUI.java,
5164 javax/swing/plaf/basic/BasicMenuUI.java,
5165 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5166 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5167 javax/swing/plaf/basic/BasicRootPaneUI.java,
5168 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5169 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5170 javax/swing/plaf/basic/BasicTextUI.java,
5171 javax/swing/table/TableColumnModel.java,
5172 javax/swing/text/AbstractDocument.java,
5173 javax/swing/text/EditorKit.java,
5174 javax/swing/text/Position.java,
5175 javax/swing/text/Segment.java,
5176 javax/swing/text/StyledEditorKit.java,
5177 javax/swing/text/ViewFactory.java:
5178 Cleanup whitespace differences to classpath CVS HEAD.
5180 2005-02-15 Graydon Hoare <graydon@redhat.com>
5182 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5183 (finalize): Call finish from here.
5184 (produce): Not from here.
5185 * Makefile.am (gtk_c_source_files):
5186 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5187 * Makefile.in: Regenerate.
5188 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5190 (cairoDrawGdkTextLayout):
5192 (getPeerTextMetrics):
5193 (getPeerFontMetrics): Remove.
5194 (setFont): Don't call cairoSetFont.
5195 (cairoDrawGlyphVector): Accept font peer argument.
5196 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5197 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5198 (ensure_metrics_cairo):
5199 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5200 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5201 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5202 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5204 (metrics_surface): Remove.
5205 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5206 Pass and install font peer.
5208 2005-02-15 Graydon Hoare <graydon@redhat.com>
5210 * Makefile.am: Create "split library" structure.
5211 * Makefile.in: Regenerate.
5213 2005-02-15 Graydon Hoare <graydon@redhat.com>
5215 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5218 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5219 Release GDK lock during upcalls.
5221 2005-02-15 Graydon Hoare <graydon@redhat.com>
5223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5224 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5225 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5226 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5227 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5229 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5232 (getTextMetrics): New native methods.
5233 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5234 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5235 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5236 * Makefile.in: Regenerate.
5238 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5240 * javax/swing/SwingUtilities.java:
5241 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5242 Implemented and documented.
5243 (getAccessibleChild(java.awt.Component, int)): Likewise.
5244 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5245 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5246 (getAccessibleStateSet(java.awt.Component)): Likewise.
5248 2005-02-15 Michael Koch <konqueror@gmx.de>
5250 * javax/swing/SwingUtilities.java
5251 (getFontMetrics): Removed.
5253 2005-02-15 Michael Koch <konqueror@gmx.de>
5255 * java/awt/Container.java
5256 (paramString): Implemented.
5257 * javax/swing/AbstractButton.java
5258 (paramString): Implemented.
5259 * javax/swing/JComponent.java
5260 (paramString): Implemented.
5261 * javax/swing/JMenu.java
5262 (paramString): Implemented.
5263 * javax/swing/JMenuBar.java
5264 (paramString): Implemented.
5265 * javax/swing/JMenuItem.java
5266 (paramString): Implemented.
5267 * javax/swing/JPopupMenu.java
5268 (paramString): Implemented.
5270 2005-02-15 Michael Koch <konqueror@gmx.de>
5272 * javax/swing/JMenu.java
5273 (uiClassID): Removed.
5274 (JMenu): Set invoker on popup menu.
5275 (getUIClassID): Return id directly.
5276 (getItemCount): Simply return getMenuComponentCount().
5278 (isTopLevelMenu): Simplified.
5279 * javax/swing/JMenuItem.java
5280 (uiClassID): Removed.
5281 (getUIClassID): Return id directly.
5282 * javax/swing/JPopupMenu.java
5283 (uiClassID): Removed.
5284 (JPopupMenu): Always initialize correctly.
5285 (getSubElements): Only return components implementing MenuElement
5287 (HeavyWeightPopup.hide): Removed.
5289 2005-02-15 Michael Koch <konqueror@gmx.de>
5291 * java/awt/image/ReplicateScaleFilter.java
5292 (replicatePixels): Made private.
5293 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5294 (DefaultRGBChooserPanel): Made package private.
5295 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5296 (RecentSwatchPanel): Likewise.
5297 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5298 (MouseInputAdapter): Made abstract.
5299 * javax/swing/tree/DefaultMutableTreeNode.java
5301 (growTree): Likewise.
5303 2005-02-15 Michael Koch <konqueror@gmx.de>
5305 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5308 2005-02-15 Michael Koch <konqueror@gmx.de>
5310 * javax/swing/JComponent.java (getComponentGraphics):
5311 Removed accidently commited code.
5313 2005-02-15 Graydon Hoare <graydon@redhat.com>
5315 * java/awt/dnd/DropTarget.java
5316 (addDropTargetListener): Despite documentation, do not throw.
5317 * javax/swing/JComponent.java: Set a default DropTarget.
5319 2005-02-15 Michael Koch <konqueror@gmx.de>
5321 * javax/swing/AbstractAction.java
5322 (ENABLED_PROPERTY): Removed.
5323 (setEnabled): Replaced constant with real string.
5324 * javax/swing/AbstractButton.java
5325 (createActionPropertyChangeListener.propertyChange): Likewise.
5326 * javax/swing/JComboBox.java
5327 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5328 (EDITABLE_CHANGED_PROPERTY): Removed.
5329 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5330 (ENABLED_CHANGED_PROPERTY):Likewise.
5331 (RENDERER_CHANGED_PROPERTY):Likewise.
5332 (EDITOR_CHANGED_PROPERTY):Likewise.
5333 (MODEL_CHANGED_PROPERTY):Likewise.
5334 (uiClassID):Likewise.
5335 (getUIClassID): Replaced constant with real string.
5336 (setModel):Likewise.
5337 (setEditable):Likewise.
5338 (setMaximumRowCount):Likewise.
5339 (setRenderer):Likewise.
5340 (setEditor):Likewise.
5341 (setEnabled):Likewise.
5342 * javax/swing/JLabel.java
5343 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5344 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5345 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5346 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5347 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5348 (ICON_CHANGED_PROPERTY): Likewise.
5349 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5350 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5351 (TEXT_CHANGED_PROPERTY): Likewise.
5352 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5353 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5354 (setText): Replaced constant with real string.
5355 (setIcon): Likewise.
5356 (setDisabledIcon): Likewise.
5357 (setDisplayedMnemonic): Likewise.
5358 (setIconTextGap): Likewise.
5359 (setVerticalAlignment): Likewise.
5360 (setHorizontalAlignment): Likewise.
5361 (setVerticalTextPosition): Likewise.
5362 (setHorizontalTextPosition): Likewise.
5363 (setLabelFor): Replaced constant with real string.
5364 Fire property change event after property got changed.
5365 * javax/swing/JList.java
5366 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5367 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5368 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5369 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5370 (MODEL_PROPERTY_CHANGED): Likewise.
5371 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5372 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5373 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5374 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5375 (setFixedCellWidth): Reimplemented.
5376 (setFixedCellHeight): Exit if new value is identical.
5377 Replaced constant with real string.
5378 (setSelectionBackground): Likewise.
5379 (setSelectionForeground): Likewise.
5380 (setPrototypeCellValue): Likewise.
5381 (setCellRenderer): Replaced constant with real string.
5382 (setModel): Likewise.
5383 (setSelectionModel): Likewise.
5384 * javax/swing/JMenuBar.java
5385 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5386 (MODEL_CHANGED_PROPERTY): Likewise.
5387 (MARGIN_CHANGED_PROPERTY): Likewise.
5388 (setBorderPainted): Reimplemented.
5389 (setMargin): Likewise.
5390 (setSelectionModel): Replaced constant with real string.
5391 * javax/swing/JPopupMenu.java
5392 (LABEL_CHANGED_PROPERTY): Removed.
5393 (VISIBLE_CHANGED_PROPERTY): Likewise.
5394 (borderPainted): Likewise.
5395 (setLabel): Replaced constant with real string.
5396 (setVisible): Exit if new value is identical.
5397 Replaced constant with real string.
5398 * javax/swing/JProgressBar.java
5399 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5400 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5401 (STRING_CHANGED_PROPERTY): Likewise.
5402 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5403 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5404 (setOrientation): Replaced constant with real string.
5405 (setStringPainted): Likewise.
5406 (setString): Likewise.
5407 (setBorderPainted): Likewise.
5408 (setIndeterminate): Likewise.
5409 * javax/swing/JScrollBar.java
5410 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5411 (MODEL_CHANGED_PROPERTY): Likewise.
5412 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5413 (setOrientation): Replaced constant with real string.
5414 (setModel): Likewise.
5415 (setUnitIncrement): Likewise.
5416 (setBlockIncrement): Likewise.
5417 * javax/swing/JScrollPane.java
5418 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5419 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5420 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5421 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5422 (LAYOUT_CHANGED_PROPERTY): Likewise.
5423 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5424 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5425 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5426 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5427 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5428 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5429 (setComponentOrientation): Replaced constant with real string.
5430 (setColumnHeader): Likewise.
5431 (setHorizontalScrollBar): Likewise.
5432 (setHorizontalScrollBarPolicy): Likewise.
5433 (setRowHeader): Likewise.
5434 (setVerticalScrollBar): Likewise.
5435 (setVerticalScrollBarPolicy): Likewise.
5436 (setWheelScrollingEnabled): Likewise.
5437 (setViewport): Likewise.
5438 (setViewportBorder): Likewise.
5439 * javax/swing/JSlider.java
5440 (INVERTED_CHANGED_PROPERTY): Removed.
5441 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5442 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5443 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5444 (MODEL_CHANGED_PROPERTY): Likewise.
5445 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5446 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5447 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5448 (setModel): Replaced constant with real string.
5449 (setOrientation): Likewise.
5450 (setLabelTable): Likewise.
5451 (setInverted): Likewise.
5452 (setMajorTickSpacing): Likewise.
5453 (setMinorTickSpacing): Likewise.
5454 (setPaintTicks): Likewise.
5455 (setPaintLabels): Likewise.
5456 * javax/swing/JTabbedPane.java
5457 (MODEL_CHANGED_PROPERTY): Removed.
5458 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5459 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5460 (setModel): Replaced constant with real string.
5461 (setTabPlacement): Likewise.
5462 (setTabLayoutPolicy): Likewise.
5463 * javax/swing/JToolBar.java
5464 (ORIENTATION_CHANGED_PROPERTY): Removed.
5465 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5466 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5467 (MARGIN_CHANGED_PROPERTY): Likewise.
5468 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5469 (setRollover): Replaced constant with real string.
5470 (setMargin): Likewise.
5471 (setBorderPainted): Likewise.
5472 (setFloatable): Likewise.
5473 (setOrientation): Likewise.
5474 * javax/swing/plaf/basic/BasicComboBoxUI.java
5475 (PropertyChangeHandler.propertyChange): Likewise.
5476 * javax/swing/plaf/basic/BasicComboPopup.java
5477 (PropertyChangeHandler.propertyChange): Likewise.
5478 * javax/swing/plaf/basic/BasicMenuBarUI.java
5479 (PropertyChangeHandler.propertyChange): Likewise.
5480 * javax/swing/plaf/basic/BasicProgressBarUI.java
5481 (PropertyChangeHandler.propertyChange): Likewise.
5482 * javax/swing/plaf/basic/BasicScrollBarUI.java
5483 (PropertyChangeHandler.propertyChange): Likewise.
5484 * javax/swing/plaf/basic/BasicSliderUI.java
5485 (PropertyChangeHandler.propertyChange): Likewise.
5486 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5487 (PropertyChangeHandler.propertyChange): Likewise.
5488 * javax/swing/plaf/basic/BasicToolBarUI.java
5489 (PropertyChangeHandler.propertyChange): Likewise.
5491 2005-02-15 Michael Koch <konqueror@gmx.de>
5493 * javax/swing/DefaultButtonModel.java
5494 (changeState): Made private.
5495 * javax/swing/DefaultDesktopManager.java
5496 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5497 * javax/swing/JLayeredPane.java
5498 (layerToRange): Made private.
5499 (incrLayer): Likewise.
5500 (decrLayer): Likewise.
5501 * javax/swing/JTable.java
5502 (dragEnabled): Likewise.
5503 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5504 * javax/swing/KeyStroke.java
5505 (Keystroke): Made private.
5506 * javax/swing/TransferHandler.java
5507 (COMMAND_COPY): Likewise.
5508 (COMMAND_CUT): Likewise.
5509 (COMMAND_PASTE): Likewise.
5511 2005-02-15 Michael Koch <konqueror@gmx.de>
5513 * javax/swing/JTextField.java
5514 (postActionEvent): Use text in field when actionCommand is null.
5515 (getActionCommand): Removed.
5517 2005-02-15 Michael Koch <konqueror@gmx.de>
5519 * javax/swing/AbstractSet.java: Removed.
5520 * Makefile.am: Removed javax/swing/AbstractSet.java.
5521 * Makefile.in: Regenerated.
5523 2005-02-15 Michael Koch <konqueror@gmx.de>
5525 * java/awt/Window.java
5526 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5527 * java/awt/dnd/DnDConstants.java
5528 (DnDConstants): New private constructor.
5530 2005-02-15 Michael Koch <konqueror@gmx.de>
5532 * javax/swing/DefaultCellRenderer.java: Removed.
5533 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5534 * Makefile.in: Regenerated.
5536 2005-02-15 Michael Koch <konqueror@gmx.de>
5538 * javax/swing/AbstractButton.java
5539 (fireItemStateChanged): Made protected.
5540 (fireActionPerformed): Likewise.
5541 (fireStateChanged): Likewise.
5542 * javax/swing/DefaultButtonModel.java
5543 (fireItemStateChanged): Likewise.
5544 (fireActionPerformed): Likewise.
5545 (fireStateChanged): Likewise.
5546 * javax/swing/JApplet.java
5548 (frameInit): Likewise.
5549 (setRootPane): Made protected.
5550 (createRootPane): Likewise.
5551 * javax/swing/JComponent.java
5552 (getClientProperty): Likewise.
5553 (putClientProperty): Likewise.
5554 * javax/swing/JEditorPane.java
5555 (getContentType): Likewise.
5556 (setContentType): Likewise.
5557 * javax/swing/JFrame.java
5558 (setRootPane): Likewise.
5559 (createRootPane): Likewise.
5560 * javax/swing/JInternalFrame.java
5561 (getFocusCycleRootAncestor): Made final. Added @since tag.
5562 (isFocusCycleRoot): Likewise.
5563 (getWarningString): Made final.
5564 * javax/swing/JScrollBar.java
5565 (changeListener): Removed.
5566 (changeEvent): Likewise.
5567 (createChangeListener): Likewise.
5568 (fireStateChanged): Likewise.
5569 (addChangeListener): Likewise.
5570 (removeChangeListener): Likewise.
5571 (getChangeListeners): Likewise.
5572 * javax/swing/JScrollPane.java
5573 (createViewport): Made protected.
5574 * javax/swing/JViewport.java
5575 (addImpl): Likewise.
5576 (setBorder): New method.
5577 * javax/swing/JWindow.java
5578 (setRootPane): Made protected.
5579 (createRootPane): Likewise.
5580 * javax/swing/plaf/basic/BasicButtonUI.java
5581 (installListeners): Likewise.
5582 (uninstallListeners): Likewise.
5583 * javax/swing/plaf/basic/BasicProgressBarUI.java
5584 (incrementAnimationIndex): Likewise.
5585 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5586 (createLayoutManager): Likewise.
5587 * javax/swing/table/DefaultTableCellRenderer.java
5588 (firePropertyChange): Likewise.
5589 * javax/swing/table/JTableHeader.java
5590 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5592 * javax/swing/text/PlainDocument.java
5593 (reindex): Made private.
5594 * javax/swing/text/PlainView.java
5595 (drawLine): Made protected.
5596 (getTabSize): Likewise.
5597 * javax/swing/text/View.java
5599 (preferenceChanged): New method.
5600 (getBreakWeight): Likewise.
5601 (breakView): Likewise.
5602 (getViewIndex): Likewise.
5604 2005-02-15 Michael Koch <konqueror@gmx.de>
5606 * javax/swing/JScrollPane.java
5607 (ScrollBar): Made class protected.
5608 * javax/swing/JSpinner.java
5609 (JSpinner): Added @since tag.
5610 (listenerList): Removed.
5611 * javax/swing/JTable.java
5612 (setValueAt): New method.
5613 (getColumn): Likewise.
5614 * javax/swing/JWindow.java
5615 (rootPaneCheckingEnabled): Renamed from checking.
5617 2005-02-15 Michael Koch <konqueror@gmx.de>
5619 * javax/swing/plaf/basic/BasicTextUI.java
5620 (RootView.modelToView): Made it public and return a java.awt.Shape.
5621 Handle null subview.
5622 (uninstall): Set textComponent to null when its not possible used
5624 * javax/swing/text/View.java
5625 (setParent): Use better argument name.
5626 (getContainer): Get parent via getParent().
5627 (getViewFactory): Likewise.
5628 (getAttributes): Get element via getElement().
5629 (getStartOffset): Likewise.
5630 (getEndOffset): Likewise.
5631 (getResizeWeight): New method.
5632 (getMaximumSpan): Likewise.
5633 (getMinimumSpan): Likewise.
5634 (setSize): Likewise.
5635 (getGraphics): Likewise.
5637 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5639 * java/awt/Checkbox.java:
5640 (AccessibleAWTCheckbox()): Added public constructor
5642 * java/awt/Choice.java:
5643 (AccessibleAWTChoice): Added class documentation.
5644 (AccessibleAWTChoice()): Added public constructor
5646 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5647 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5648 and changed role to COMBO_BOX.
5649 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5650 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5651 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5653 2005-02-15 Graydon Hoare <graydon@redhat.com>
5654 Michael Koch <konqueror@gmx.de>
5656 * javax/swing/LayoutFocusTraversalPolicy.java,
5657 javax/swing/SortingFocusTraversalPolicy.java:
5659 * Makefile.am: Added new classes.
5660 * Makefike.in: Regenerated.
5663 2005-02-15 Michael Koch <konqueror@gmx.de>
5665 * javax/swing/DebugGraphics.java: Mostly implemented.
5667 2005-02-15 Michael Koch <konqueror@gmx.de>
5669 * javax/swing/SwingUtilities.java
5670 (findFocusOwner): New method.
5672 2005-02-15 Michael Koch <konqueror@gmx.de>
5674 * javax/swing/text/DefaultEditorKit.java
5675 (read): Added '\n' after each line.
5676 * javax/swing/text/PlainView.java
5677 (modelToView): Update metrics.
5678 (drawLine): Use offsets from element.
5679 (paint): Update metrics. Draw all lines.
5681 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5683 * java/awt/Checkbox.java:
5684 (AccessibleAWTCheckbox): Added class documentation
5685 * java/awt/Scrollbar.java:
5686 (AccessibleAWTScrollBar): typo corrected and docs added
5687 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5688 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5689 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5690 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5691 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5692 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5693 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5694 (getAccessibleContext()): name of accessible class corrected
5696 2005-02-15 Mark Wielaard <mark@klomp.org>
5698 * java/awt/BasicStroke.java (hashCode): Implement.
5701 2005-02-15 Michael Koch <konqueror@gmx.de>
5703 * java/awt/print/PrinterJob.java
5704 (pageDialog): Throws java.awt.HeadlessException.
5705 (printDialog): Likewise.
5707 2005-02-15 Mark Wielaard <mark@klomp.org>
5709 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5711 2005-02-15 Michael Koch <konqueror@gmx.de>
5713 * javax/swing/JTable.java
5714 (getValueAt): New method.
5715 * javax/swing/table/JTableHeader.java
5716 (columnAtPoint): New method.
5718 2005-02-15 Michael Koch <konqueror@gmx.de>
5720 * javax/swing/JTextField.java
5721 (actions): New field.
5722 (static): Initalize actions field.
5723 (getActions): New method.
5725 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5727 * java/awt/Checkbox.java:
5728 (AccessibleAWTCheckbox): name capitalization corrected
5729 and serialization UID added.
5730 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5732 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5733 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5734 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5735 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5736 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5737 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5738 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5739 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5740 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5741 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5742 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5744 (getAccessibleContext()): name of accessible class corrected
5746 2005-02-15 Sven de Marothy <sven@physto.se>
5748 * java/awt/geom/doc-files/Area-1.png,
5749 java/awt/geom/doc-files/Ellipse-1.png,
5750 java/awt/geom/doc-files/GeneralPath-1.png:
5753 2005-02-15 Graydon Hoare <graydon@redhat.com>
5755 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5756 Use union to avoid type-punning warning.
5758 2005-02-15 Michael Koch <konqueror@gmx.de>
5760 * javax/swing/DefaultListSelectionModel.java
5761 (clone): New method.
5763 2005-02-15 Mark Wielaard <mark@klomp.org>
5765 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5766 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5767 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5768 Correct method signature of gtkSetFilename.
5770 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5772 * javax/swing/text/StringContent.java: New file.
5774 2005-02-15 Michael Koch <konqueror@gmx.de>
5776 * Makefile.am: Added javax/swing/text/StringContent.java.
5777 * Makefile.in: Regenerated.
5779 2005-02-15 Michael Koch <konqueror@gmx.de>
5781 * gnu/java/awt/ClasspathToolkit.java:
5782 Import statements reworked.
5783 (imageCache): Made it of type java.util.HashMap.
5785 2005-02-15 Michael Koch <konqueror@gmx.de>
5787 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5788 Reworked import statements.
5790 2005-02-15 Graydon Hoare <graydon@redhat.com>
5792 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5793 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5795 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5796 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5803 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5804 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5808 Rewrite uses of extern variable to be function calls.
5809 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5810 function, from extern variable.
5811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5812 (gdk_env): Remove variable, add new function.
5813 (java_vm): Add new variable.
5814 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5815 java_vm rather than old gdk_env variable.
5817 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5819 * javax/swing/DefaultListModel.java
5820 (add): fire correct event,
5821 (addElement): corrected interval indices in event,
5822 (clear): corrected upper bound for interval, only fire event if
5824 (setSize): fire appropriate event.
5826 2005-02-15 Graydon Hoare <graydon@redhat.com>
5828 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5829 * gnu/awt/xlib/XToolkit.java: Likewise.
5830 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5831 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5832 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5833 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5834 * java/awt/EventQueue.java (getNextEvent):
5835 Adjust event loop to switch to native mode after 100ms.
5836 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5837 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5838 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5839 Wake up event thread.
5840 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5841 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5842 Adjust event loop to switch to java mode after 100ms.
5844 2005-02-15 Graydon Hoare <graydon@redhat.com>
5846 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5847 accidentally removed in last change.
5849 2005-02-15 Michael Koch <konqueror@gmx.de>
5851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5852 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5854 2005-02-15 Graydon Hoare <graydon@redhat.com>
5856 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5857 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5858 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5859 * jni.cc: Reuse bottom frame between calls, avoid clearing
5860 frame when no local references are made.
5862 2005-02-15 Michael Koch <konqueror@gmx.de>
5864 * javax/swing/UIDefaults.java (UIDefaults):
5865 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5866 Fixed HTML entity and removed a redundant comma.
5868 2005-02-15 Michael Koch <konqueror@gmx.de>
5870 * javax/swing/text/DefaultEditorKit.java
5871 (deinstall): Removed.
5872 (install): Likewise.
5874 2005-02-15 Michael Koch <konqueror@gmx.de>
5876 * javax/swing/UIDefaults.java (put): Handle value of null.
5878 2005-02-15 Michael Koch <konqueror@gmx.de>
5880 * java/awt/Robot.java,
5881 java/awt/Scrollbar.java,
5882 java/awt/print/PrinterJob.java,
5883 javax/swing/JTable.java,
5884 javax/swing/text/AbstractDocument.java:
5885 Reworked import statements.
5887 2005-02-15 Michael Koch <konqueror@gmx.de>
5889 * javax/swing/JEditorPane.java
5890 (read): Implemented.
5892 * javax/swing/text/DefaultEditorKit.java
5893 (page): Renamed from page_url. Made private.
5894 (editorKit): Renamed from kit. Made private.
5896 (JEditorPane): All constructors reimplemented.
5897 (getContentType): Use content type from editor kit.
5898 (getEditorKit): Return editorKit.
5899 (getEditorKitForContentType):Likewise.
5900 (getPage): Return page.
5901 (setContentType): Reimplemented.
5902 (setEditorKit): Likewise.
5903 (setEditorKitForContentType): Removed wrong implementation.
5904 (setPage): Implemented.
5906 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5908 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5909 (nativeSetIconImageFromData): Re-add native implementation.
5911 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5913 * javax/swing/table/DefaultTableModel.java
5914 (DefaultTableModel()): Added Javadocs.
5915 (DefaultTableModel(int, int)): Fixed implementation.
5916 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5917 for negative rowCount.
5918 (DefaultTableModel(Object[], int)): Added Javadocs.
5919 (DefaultTableModel(Vector, Vector)): Likewise.
5920 (DefaultTableModel(Object[][], Object[])): Likewise.
5921 (getDataVector): Likewise.
5922 (setDataVector(Vector, Vector)): Likewise.
5923 (setDataVector(Object[][], Object[])): Likewise.
5924 (newDataAvailable): Likewise.
5925 (newRowsAdded): Likewise.
5926 (rowsRemoved): Likewise.
5927 (setColumnIdentifiers(Vector)): Allow for null argument.
5928 (setColumnIdentifiers(Object[])): Added Javadocs.
5929 (setNumRows): Likewise.
5930 (setRowCount): Adds new rows if necessary, and sends more specific
5932 (setColumnCount): Allow for null columnIdentifiers.
5933 (addColumn(Object)): Added Javadocs.
5934 (addColumn(Object, Vector)): Handle null columnData.
5935 (addColumn(Object, Object[])): Handle columnData with more or less
5936 entries than rows in the table.
5937 (addRow(Vector)): Fire appropriate event.
5938 (addRow(Object[])): Added Javadocs.
5939 (insertRow(int, Vector)): Fire appropriate event.
5940 (insertRow(int, Object[])): Added Javadocs.
5941 (moveRow): Reimplemented.
5942 (removeRow(int)): Fire appropriate event.
5943 (getColumnCount): Allow for null columnIdentifiers.
5944 (getColumnName): Now returns empty string when column index is too
5946 (isCellEditable): Added Javadocs.
5947 (getValueAt): Likewise.
5948 (setValueAt): Fire more specific event.
5949 (convertToVector): Added Javadocs.
5950 * javax/swing/table/TableModel.java
5953 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5955 * libgcj.spec.in (lib): Add -l-javax-imageio.
5957 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5959 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5960 references to event queue q with method call q().
5961 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5962 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5963 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5964 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5965 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5966 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5969 2005-02-15 Graydon Hoare <graydon@redhat.com>
5971 * gnu/java/awt/ClasspathToolkit.java
5972 (registerImageIOSpis): New method.
5973 * gnu/java/awt/image/ImageDecoder.java
5974 (imageDecoder): New constructor using InputStream
5975 (startProduction): Handle existing InputStream.
5976 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5977 (findSimpleIntegerArray): Make public and static.
5978 (updateBufferedImage): Set each pixel, in a loop.
5979 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5980 Implement ImageIO SPI classes.
5981 (createBufferedImage): Rewrite in terms of SPI classes.
5982 * gnu/java/awt/peer/gtk/GtkToolkit.java
5983 (registerImageIOSpis): New method.
5984 * java/lang/reflect/natMethod.cc
5985 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5986 which lets JNI call interface methods properly.
5987 * javax/imageio/ImageIO.java
5988 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5989 (WriterMIMETypeFilter.filter): Likewise.
5990 (ImageReaderIterator): Pass extension argument through to SPI.
5991 (getReadersByFilter): Likewise.
5992 (getWritersByFilter): Likewise.
5993 (getImageReadersByFormatName): Likewise.
5994 (getImageReadersByMIMEType): Likewise.
5995 (getImageReadersBySuffix): Likewise.
5996 (getImageWritersByFormatName): Likewise.
5997 (getImageWritersByMIMEType): Likewise.
5998 (getImageWritersBySuffix): Likewise.
6001 * javax/imageio/ImageReader.java
6002 (progressListeners): Initialize.
6003 (setInput): Implement.
6004 * javax/imageio/ImageWriter.java
6005 (progressListeners): Initialize.
6006 (warningListeners): Likewise.
6007 (warningLocales): Likewise.
6008 (setOutput): Test "isInstance" rather than class equality.
6009 * javax/imageio/spi/IIORegistry.java
6010 (static): Add reader and writer SPIs.
6011 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6012 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6013 (query_formats): New function.
6014 (save_to_stream): Likewise.
6015 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6017 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6019 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6021 (keyPress): Likewise.
6022 (keyRelease): Likewise.
6024 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6026 * javax/swing/JTable.java
6027 (columnAtPoint): New Method. Implemented.
6028 (rowAtPoint): Likewise.
6029 (countSelections): Fixed few small count errors.
6030 (getSelections): Likewise.
6031 (setSelectionMode): Set selection mode for column
6032 selection model in addition to row selection model.
6033 * javax/swing/plaf/basic/BasicTableUI.java:
6034 (getRowForPoint): Removed. Replaced by
6035 JTable.rowAtPoint().
6036 (getColForPoint): Removed. Replaced by
6037 JTable.columnAtPoint().
6038 (updateSelection): Updated to call JTable.columnAtPoint
6039 and JTable.rowAtPoint.
6040 * javax/swing/table/DefaultTableColumnModel.java:
6041 (getSelectedColumns): Implemented.
6042 (getSelectedColumnCount): Implemented.
6044 2005-02-15 Graydon Hoare <graydon@redhat.com>
6047 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6048 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6049 * Makefile.in: Regenerate.
6050 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6051 * gnu/awt/xlib/XFramePeer.java: Likewise.
6052 * gnu/awt/xlib/XToolkit.java: Likewise.
6053 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6054 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6055 * gnu/java/awt/ClasspathToolkit.java
6058 (iterateNativeQueue): New methods.
6059 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6060 * gnu/java/awt/peer/gtk/GtkToolkit.java
6061 (gtkInit): Absorb from defunct GtkMainThread class.
6062 (static): Run gtkInit in static startup block.
6063 (GtkToolkit): Remove construction of GtkMainThread and queue.
6064 (getSystemEventQueueImpl): Construct queue when requested.
6067 (iterateNativeQueue): New methods.
6068 * java/awt/Component.java (removeNotify): Remove race.
6069 * java/awt/EventDispatchThread.java
6070 (EventDispatchThread): Don't start on construction.
6071 (run): Remove isInterrupted check.
6072 * java/awt/EventQueue.java (shutdown): New flag.
6073 (isShutdown): New method checking J2SE shutdown condition.
6074 (setShutdown): New method.
6075 (getNextEvent): Restructure to use ClasspathToolkit.
6076 (postEvent): Activate new thread on posting, wake thread on
6077 post of possible shutdown condition event.
6078 * java/awt/Frame.java
6079 (Frame): Call noteFrame in all constructors.
6080 (fireDummyEvent): New helper method.
6081 (addNotify): Fire a dummy event to wake up queue.
6082 (removeNotify): Fire a dummy event to wake up queue.
6083 (noteFrame): New method.
6084 (weakFrames): New static field.
6085 (getFrames): Implement.
6086 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6089 Move everything from GtkMainThread into this file
6090 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6091 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6092 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6093 New functions to implement single-threaded queue semantics.
6095 2005-02-15 Michael Koch <konqueror@gmx.de>
6097 * javax/swing/plaf/metal/MetalLookAndFeel.java
6098 (getControlTextFont): New method.
6099 (getMenuTextFont): Likewise.
6100 (getSubTextFont): Likewise.
6101 (getSystemTextFont): Likewise.
6102 (getUserTextFont): Likewise.
6103 (getWindowTitleFont): Likewise.
6105 2005-02-15 Michael Koch <konqueror@gmx.de>
6107 * javax/swing/text/AbstractDocument.java
6108 (documentFilter): New field.
6109 (getDocumentFilter): New method.
6110 (setDocumentFilter): Likewise.
6113 2005-02-15 Michael Koch <konqueror@gmx.de>
6115 * javax/swing/JTree.java
6116 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6118 2005-02-15 Michael Koch <konqueror@gmx.de>
6120 * javax/swing/text/AbstractDocument.java
6121 (AbstractElement.getLength): Fixed off-by-one error.
6122 (AbstractElement.children): Made abstract.
6123 (AbstractElement.getAllowsChildren): Likewise.
6124 (AbstractElement.getElement): Likewise.
6125 (AbstractElement.dumpElement): New private method.
6126 (AbstractElement.dump): New method.
6127 (BranchElememt.getName): Fixed implementation.
6128 (BranchElememt.toString): Likewise.
6129 (BranchElememt.getElement): Fixed arguments.
6130 (LeafElement.getName): Fixed implementation.
6131 (LeafElement.toString): Likewise.
6132 * javax/swing/text/GapContent.java
6133 (GapContent): Put default content into buffer.
6134 * javax/swing/text/PlainDocument.java
6135 (reindex): Use empty attribute sets instead of null.
6136 (createDefaultRoot): Reimplemented.
6137 (insertUpdate): Call super method.
6138 (removeUpdate): Likewise.
6139 (getParagraphElement): Implemented.
6141 2005-02-15 Michael Koch <konqueror@gmx.de>
6143 * gnu/java/awt/ClasspathToolkit.java
6144 (createRobot): Throws java.awt.AWTException.
6145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6146 Added '__attribute__((unused))' to all unused method arguments.
6148 2005-02-15 Michael Koch <konqueror@gmx.de>
6150 * javax/swing/DefaultBoundedRangeModel.java
6151 (fireValueChanged): Fixed off-by-one error.
6153 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6155 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6156 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6158 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6159 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6160 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6161 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6162 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6163 (getDefaultScreenDevice): Implement.
6164 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6165 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6166 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6167 * java/awt/Robot.java: Implement.
6168 * java/awt/peer/RobotPeer.java: Rename parameters.
6169 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6171 (awt_keycode_to_keysym): Make non-static.
6172 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6173 AWT_BUTTON3_MASK): Declare constants.
6174 (awt_keycode_to_keysym): Declare.
6176 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6177 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6178 and is non-empty pass its value to "make check".
6179 (test_mauve_sim): Likewise.
6181 2005-02-15 Michael Koch <konqueror@gmx.de>
6183 * javax/imageio/IIOParam.java
6184 (setSourceBands): New method.
6185 (setSourceSubsampling): Likewise.
6186 * javax/imageio/ImageReadParam.java
6187 (setDestination): Likewise.
6188 (setDestinationBands): Likewise.
6189 (setSourceProgressivePasses): Likewise.
6190 * javax/imageio/metadata/IIOInvalidTreeException.java
6191 (serialVersionUID): New static field.
6192 * javax/imageio/metadata/IIOMetadataNode.java
6193 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6194 (parent): Dont initailize with default value explicitely.
6196 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6197 (removeAttributeNode): Likewise.
6198 (removeAttributeNS): Likewise.
6199 (setAttribute): Likewise.
6200 (setAttributeNode): Likewise.
6201 (setAttributeNodeNS): Likewise.
6202 (setAttributeNS): Likewise.
6203 (appendChild): Likewise.
6204 (getNodeValue): Likewise.
6205 (insertBefore): Likewise.
6206 (removeChild): Likewise.
6207 (replaceChild): Likewise.
6208 (setPrefix): Likewise.
6210 2005-02-15 Michael Koch <konqueror@gmx.de>
6212 * javax/swing/LookAndFeel.java
6213 (getDesktopPropertyValue): New method.
6215 2005-02-15 Michael Koch <konqueror@gmx.de>
6217 * javax/swing/JTree.java
6218 (hasChildren): New instance field.
6220 2005-02-15 Michael Koch <konqueror@gmx.de>
6222 * javax/swing/JComponent.java
6223 (getToolTipText): New method.
6224 (getTitledBorderText): Likewise.
6225 (getAccessibleKeyBinding): Likewise.
6226 (getVerifyInputWhenFocusTarget): Likewise.
6227 (setVerifyInputWhenFocusTarget): Likewise.
6228 (verifyInputWhenFocusTarget): New instance field.
6230 2005-02-15 Michael Koch <konqueror@gmx.de>
6232 * javax/swing/DefaultListSelectionModel.java
6233 (fireValueChanged): New method.
6235 2005-02-15 Michael Koch <konqueror@gmx.de>
6237 * javax/swing/DefaultBoundedRangeModel.java:
6238 Fixed javadocs all over.
6239 (fireStateChanged): Simplified.
6240 * javax/swing/BoundedRangeModel.java:
6243 2005-02-15 Michael Koch <konqueror@gmx.de>
6245 * javax/swing/JRootPane.java
6246 (setMenuBar): Added @deprecated tag.
6247 (getMenuBar): Likewise.
6248 * javax/swing/JTable.java
6249 (sizeColumnsToFit): Likewise.
6251 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6253 * javax/swing/ImageIcon.java (setImage): Implemented.
6255 2005-02-15 Michael Koch <konqueror@gmx.de>
6257 * javax/swing/JTable.java:
6258 Removed unused imports.
6260 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6262 (prepareRenderer): Get column's index in dataModel instead
6263 of column's view index.
6264 (getColumnCount): return count of the columns in ColumnModel,
6266 (removeColumn): Implemented.
6267 (moveColumm): Likewise.
6268 (setRowHeight): throw IllegalArgumentException if height is
6270 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6271 (DefaultTableColumnModel):Add call to createSelectionModel().
6272 (addColumn): Fire columnAdded event to registered listeners.
6273 (removeColumn): Fire columnRemoved event to registered listeners.
6274 (moveColumn): Fire columnMoved event to registered listeners.
6275 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6276 (getColumnIndex): Changed parameter name.
6277 (setColumnSelectionAllowed): Likewise.
6278 (fireColumnAdded): Implemented.
6279 (fireColumnRemoved): Likewise.
6280 (fireColumnMoved): Likewise.
6281 (fireColumnMarginChanged): Likewise.
6282 (getListeners): Changed parameter name.
6283 (propertyChange): Implemented.
6284 (valueChanged): Changed parameter name.
6285 (createSelectionModel): Implemented.
6287 2005-02-15 Michael Koch <konqueror@gmx.de>
6289 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6290 Explicitely import used classes.
6291 (getLocalGraphicsEnvironment): Simplify.
6292 * java/awt/Window.java (Window):
6293 Enable code to get the default GraphicsConfiguration.
6295 2005-02-15 Michael Koch <konqueror@gmx.de>
6297 * javax/swing/plaf/metal/DefaultMetalTheme.java
6298 (CONTROL_TEXT_FONT): New static field.
6299 (MENU_TEXT_FONT): Likewise.
6300 (SUB_TEXT_FONT): Likewise.
6301 (SYSTEM_TEXT_FONT): Likewise.
6302 (USER_TEXT_FONT): Likewise.
6303 (WINDOW_TITLE_FONT): Likewise.
6304 (getControlTextFont): New method.
6305 (getMenuTextFont): Likewise.
6306 (getSubTextFont): Likewise.
6307 (getSystemTextFont): Likewise.
6308 (getUserTextFont): Likewise.
6309 (getWindowTitleFont): Likewise.
6310 * javax/swing/plaf/metal/MetalTheme.java
6311 (BLACK): Initialize with Color.BLACK.
6312 (WHITE): Initialize with Color.WHITE.
6313 (getInactiveControlTextColor): Return getControlDisabled().
6314 (getMenuDisabledForeground): Return getSecondary3().
6315 (getControlTextFont): New abstract method.
6316 (getMenuTextFont): Likewise.
6317 (getSubTextFont): Likewise.
6318 (getSystemTextFont): Likewise.
6319 (getUserTextFont): Likewise.
6320 (getWindowTitleFont): Likewise.
6322 2005-02-15 Michael Koch <konqueror@gmx.de>
6324 * javax/swing/JFormattedTextField.java
6325 (getFocusLostBehavior): Fixed typo in method name.
6326 (setFocusLostBehavior): Likewise.
6328 2005-02-15 Michael Koch <konqueror@gmx.de>
6330 * javax/swing/TransferHandler.java:
6331 Reworked import statements.
6333 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6335 * java/awt/Button.java,
6336 java/awt/Canvas.java,
6337 java/awt/Checkbox.java,
6338 java/awt/CheckboxMenuItem.java,
6339 java/awt/Choice.java,
6340 java/awt/Dialog.java,
6341 java/awt/Frame.java,
6342 java/awt/Label.java,
6345 java/awt/MenuBar.java,
6346 java/awt/MenuItem.java,
6347 java/awt/PopupMenu.java,
6348 java/awt/ScrollPane.java,
6349 java/awt/Scrollbar.java,
6350 java/awt/TextArea.java,
6351 java/awt/Window.java (getAccessibleContext): Clean up comments.
6353 * java/awt/Button.java,
6354 java/awt/Checkbox.java,
6355 java/awt/Choice.java,
6357 java/awt/PopupMenu.java,
6358 java/awt/TextArea.java (getAccessibleContext): Only create new
6360 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6362 2005-02-15 Michael Koch <konqueror@gmx.de>
6364 * java/awt/Button.java,
6365 javax/swing/JApplet.java,
6366 javax/swing/JFormattedTextField.java,
6367 javax/swing/JWindow.java,
6368 javax/swing/JTree.java,
6369 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6370 javax/swing/plaf/basic/BasicTextPaneUI.java,
6371 javax/swing/plaf/basic/BasicTreeUI.java:
6372 Reworked import statements.
6374 2005-02-15 Michael Koch <konqueror@gmx.de>
6376 * Makefile.am: Put javax.imageio into its own library and link it
6377 against lib-org-w3c-dom.la to fix bootstrapping.
6378 * Makefile.in: Regenerated.
6380 2005-02-15 Michael Koch <konqueror@gmx.de>
6382 * javax/swing/text/TextAction.java
6383 (getTextComponent): Simplified. Added Javadoc.
6384 (augmentList): Implemented. Added Javadoc.
6385 (getFocusedComponent): Added javadoc.
6387 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6389 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6390 getAccessibleContext): Implement.
6391 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6392 getAccessibleContext): Implement.
6394 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6396 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6398 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6400 * java/awt/Window.java (getAccessibleContext): Fix comment.
6401 Remove extra import.
6403 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6405 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6406 (isActive, isFocused, getAccessibleContext): Implement.
6408 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6410 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6411 * java/awt/MenuComponent.java (accessibleContext): Make package
6413 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6414 AccessibleAWTCheckboxMenuItem): Implement.
6416 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6418 * java/awt/List.java: Implement AccessibleAWTList,
6419 AccessibleAWTListChild.
6421 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6423 * java/awt/Choice.java: Add implements declaration for
6426 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6428 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6431 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6433 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6434 implemented interface list.
6436 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6438 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6439 * javax/imageio/metadata/IIOAttr.java: New class.
6440 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6441 * javax/imageio/metadata/IIONodeList.java: New class.
6442 * Makefile.am: Added new files.
6443 * Makefile.in: Regenerated.
6445 2005-02-15 Michael Koch <konqueror@gmx.de>
6447 * javax/swing/AbstractAction.java,
6448 javax/swing/AbstractCellEditor.java,
6449 javax/swing/AbstractListModel.java,
6450 javax/swing/DefaultBoundedRangeModel.java,
6451 javax/swing/DefaultButtonModel.java,
6452 javax/swing/DefaultCellEditor.java,
6453 javax/swing/DefaultComboBoxModel.java,
6454 javax/swing/DefaultDesktopManager.java,
6455 javax/swing/JMenu.java,
6456 javax/swing/JSlider.java,
6457 javax/swing/KeyStroke.java,
6458 javax/swing/OverlayLayout.java,
6459 javax/swing/ScrollPaneLayout.java,
6460 javax/swing/SizeRequirements.java,
6461 javax/swing/ViewportLayout.java:
6462 Made serialVersionUID private.
6464 2005-02-15 Michael Koch <konqueror@gmx.de>
6466 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6469 2005-02-15 Michael Koch <konqueror@gmx.de>
6471 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6473 2005-02-15 Michael Koch <konqueror@gmx.de>
6475 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6477 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6479 * java/awt/EventDispatchThread.java,
6480 java/awt/Toolkit.java:
6481 Don't catch java.lang.ThreadDeath.
6483 2005-02-15 Michael Koch <konqueror@gmx.de>
6485 * javax/swing/text/PasswordView.java
6486 (drawEchoCharacter): Added javadoc.
6487 (drawSelectedText): Likewise.
6488 (drawUnselectedText): Likewise.
6490 2005-02-15 Michael Koch <konqueror@gmx.de>
6492 * javax/swing/JRootPane.java
6493 (windowDecorationStyle): New field.
6494 (setMenuBar): New method.
6495 (getMenuBar): Likewise.
6496 (getWindowDecorationStyle): Likewise.
6497 (setWindowDecorationStyle): Likewise.
6499 2005-02-15 Michael Koch <konqueror@gmx.de>
6501 * javax/swing/DefaultListSelectionModel.java
6502 (leadAnchorNotificationEnabled): Made protected.
6504 2005-02-15 Michael Koch <konqueror@gmx.de>
6506 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6507 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6508 * Makefile.in: Regenerated.
6511 2005-02-15 Michael Koch <konqueror@gmx.de>
6513 * javax/swing/JFormattedTextField.java: Implemented.
6514 * javax/swing/JWindow.java
6515 (JWindow): New constructors.
6516 (initWindow): Renamed from initFrame.
6517 * javax/swing/UIDefaults.java
6518 (ActiveValue): Made interface static.
6519 (LazyValue): Likewise.
6520 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6521 (TitlePaneLayout.TitlePaneLayout): New constructor.
6522 * javax/swing/plaf/basic/BasicSliderUI.java
6523 (ChangeHandler): Made public.
6524 (FocusHandler): Likewise.
6525 (PropertyChangeHandler): Likewise.
6526 (ScrollListener): Likewise.
6527 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6528 (FocusHandler): Likewise.
6529 (MouseHandler): Likewise.
6530 * javax/swing/plaf/basic/BasicTextPaneUI.java
6531 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6532 * javax/swing/plaf/basic/BasicToolBarUI.java
6533 (BasicToolBarUI): Simplified. Reworked javadoc.
6534 (canDock): Simplified. Make public.
6535 (DockingListener): Made public.
6536 * javax/swing/text/JTextComponent.java
6537 (navigationFilter): New field.
6538 (getNavigationFilter): New method.
6539 (setNavigationFilter): Likewise.
6541 2005-02-15 Michael Koch <konqueror@gmx.de>
6543 * javax/swing/plaf/metal/MetalTheme.java
6544 (getControlTextColor): Return getControlInfo().
6545 (getHighlightedTextColor): Return getControlTextColor().
6547 2005-02-15 Michael Koch <konqueror@gmx.de>
6549 * javax/swing/plaf/basic/BasicButtonListener.java
6550 (BasicButtonListener): New constructor.
6551 * javax/swing/plaf/basic/BasicButtonUI.java
6552 (createButtonListener): Usw new BasicButtonListener constructor.
6554 2005-02-15 Michael Koch <konqueror@gmx.de>
6556 * javax/imageio/event/package.html,
6557 javax/imageio/metadata/package.html: New files.
6559 2005-02-15 Michael Koch <konqueror@gmx.de>
6561 * java/awt/image/MemoryImageSource.java: Reformatted.
6563 2005-02-15 Michael Koch <konqueror@gmx.de>
6565 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6567 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6569 * java/awt/color/ICC_Profile.java
6570 (finalize): Removed pointless field assignments.
6572 2005-02-15 Michael Koch <konqueror@gmx.de>
6574 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6575 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6576 * Makefile.in: Regenerated.
6578 2005-02-15 Michael Koch <konqueror@gmx.de>
6580 * javax/swing/text/DefaultStyledDocument.java: New file.
6581 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6582 * Makefile.in: Regenerated.
6584 2005-02-15 Michael Koch <konqueror@gmx.de>
6586 * javax/swing/JFileChooser.java
6587 (showDialog): Return CANCEL_OPTION for now.
6588 (showOpenDialog): Likewise.
6589 (showSaveDialog): Likewise.
6591 2005-02-15 Michael Koch <konqueror@gmx.de>
6593 * javax/swing/JApplet.java
6594 (HIDE_ON_CLOSE): Removed.
6595 (EXIT_ON_CLOSE): Likewise.
6596 (DISPOSE_ON_CLOSE): Likewise.
6597 (DO_NOTHING_ON_CLOSE): Likewise.
6598 (close_action): Likewise.
6599 (getDefaultCloseOperation): Likewise.
6600 (setDefaultCloseOperation): Likewise.
6601 (processWindowEvent): Likewise.
6602 (getPreferredSize): Simplified.
6603 * javax/swing/JInternalFrame.java
6604 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6606 * javax/swing/JWindow.java
6607 (HIDE_ON_CLOSE): Removed.
6608 (EXIT_ON_CLOSE): Likewise.
6609 (DISPOSE_ON_CLOSE): Likewise.
6610 (DO_NOTHING_ON_CLOSE): Likewise.
6611 (close_action): Likewise.
6612 (processKeyEvent): Likewise.
6613 (setDefaultCloseOperation): Likewise.
6614 (getPreferredSize): Simplified.
6616 2005-02-15 Michael Koch <konqueror@gmx.de>
6618 * javax/swing/JTextField.java
6619 (getPreferredSize): Re-implemented.
6621 2005-02-15 Michael Koch <konqueror@gmx.de>
6623 * javax/swing/JLabel.java
6624 (setDisplayedMnemonic): Use only upper case characters.
6625 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6626 PropertyChangeEvent after property got set to the new index.
6628 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6630 * javax/swing/JComboBox.java:
6631 (JComboBox): Removed selection of the
6632 first item in the model.
6634 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6636 * javax/swing/JComboBox.java
6637 added support for no item being selected
6638 (JComboBox): select first or nothing depending on element count
6639 (setModel): cleaned up unneeded "this." usage, added more
6640 docs, made exception behavior match that of the JDK
6641 (setLighWeightPopupEnabled): removed unneeded "this." usage
6643 (setMaximumRowCount): dito
6645 (setPrototypeDisplayValue): dito
6646 (getSelectedItem): simplified, added more user doc
6647 (setSelectedIndex): corrected exception behavior, added more user doc
6648 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6649 added performance warning to user doc
6650 (addItem): fixed exception behavior, added user doc
6651 (insertItemAt): dito
6653 (removeItemAt): dito
6654 (removeAll): fixed exception behavior, added user doc, added support
6655 for model not being instance of DefaultComboBoxModel
6656 (getSelectedItemObjects): simplified
6657 (getItemCount): fixed dependency on DefaultComboBoxModel
6658 (getItemAt): fixed dependency on MutableComboBoxModel
6659 * javax/swing/DefaultComboBoxModel.java:
6660 (setSelectedItem): updates selected item only if new
6661 value is null or known (match JDK behavior)
6662 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6663 (paintCurrentValue): renders "" if no item is selected
6665 2005-02-15 Michael Koch <konqueror@gmx.de>
6667 * javax/swing/plaf/metal/MetalTheme.java,
6668 javax/swing/plaf/metal/DefaultMetalTheme.java:
6670 * javax/swing/plaf/metal/MetalLookAndFeel.java
6671 * Makefile.am: Added the new files.
6672 * Makefile.in: Regenerated.
6674 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6676 * javax/swing/JTable.java
6677 (editorComp): New field.
6678 (JTable): Initialize local variables and call updateUI
6679 (selectionBackground): Make protected.
6680 (selectionForeground): Likewise.
6681 (initializeLocalVars): Create default editors and renderers,
6682 initialize editingColumn, editingRow variables.
6683 (createDefaultEditors): New Method.
6684 (createDefaultRenderers): Likewise.
6685 (createDefaultListSelectionModel): Removed
6686 (createDefaultSelectionModel): New Method.
6687 (createDefaultTableHeader): Likewise
6688 (removeColumn): Likewise.
6689 (getEditingColumn): Likewise.
6690 (setEditingColumn): Likewise.
6691 (getEditingRow): Likewise.
6692 (setEditingRow): Likewise.
6693 (getEditorComponent): Likewise.
6694 (isEditing): Likewise.
6695 (setDefaultEditor): Likewise.
6696 (addColumnSelectionInterval): Likewise.
6697 (addRowSelectionInterval): Likewise.
6698 (setColumnSelectionInterval): Likewise.
6699 (setRowSelectionInterval): Likewise.
6700 (removeColumnSelectionInterval): Likewise.
6701 (removeRowSelectionInterval): Likewise.
6702 (isColumnSelected): Likewise.
6703 (isRowSelected): Likewise.
6704 (isCellSelected): Likewise.
6705 (selectAll): Likewise.
6707 2005-02-15 Michael Koch <konqueror@gmx.de>
6709 * javax/swing/JTable.java
6710 (addColumn): New method.
6711 (getColumnClass): Likewise.
6712 (getColumnName): Likewise.
6714 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6716 * javax/swing/TransferHandler.java
6717 (createTransferable): Made protected.
6719 2005-02-15 Michael Koch <konqueror@gmx.de>
6721 * javax/swing/JTable.java,
6722 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6723 javax/swing/plaf/basic/BasicTableUI.java:
6724 Use fixed get/setIntercellSpacing() methods.
6726 2005-02-15 Michael Koch <konqueror@gmx.de>
6728 * javax/swing/JTable.java
6729 (getIntercellSpacing): Fixed typo in method name.
6730 (setIntercellSpacing): Likewise.
6732 2005-02-15 Michael Koch <konqueror@gmx.de>
6734 * javax/swing/text/JTextComponent.java
6735 (focusAccelerator): New variable.
6736 (getFocusAccelerator): New method.
6737 (setFocusAccelerator): Likewise.
6739 2005-02-15 Michael Koch <konqueror@gmx.de>
6741 * javax/swing/JComponent.java
6742 (setTransferHandler): Made public. Fire property change event.
6743 * javax/swing/TransferHandler.java: Implemented.
6744 * javax/swing/text/JTextComponent.java
6745 (DefaultTransferHandler): New inner class.
6746 (defaultTransferHandler): New variable.
6750 (doTransferAction): Likewise.
6752 2005-02-15 Michael Koch <konqueror@gmx.de>
6754 * javax/swing/JTree.java
6755 (collapsePath): New method.
6756 (collapseRow): Likewise.
6757 (expandPath): Likewise.
6758 (expandRow): Likewise.
6759 (checkExpandParents): Likewise.
6760 (doExpandParents): Likewise.
6761 (setExpandedState): Likewise.
6762 (makeVisible): Likewise.
6764 2005-02-15 Michael Koch <konqueror@gmx.de>
6766 * javax/swing/JPasswordField.java: Updated javadocs.
6768 2005-02-15 Michael Koch <konqueror@gmx.de>
6770 * javax/swing/JLayeredPane.java
6771 (getLayer): Fixed return type, made public.
6772 (getPosition): Use new getLayer().
6773 (SetPosition): Likewise.
6774 (getIndexOf): Likewise.
6776 * javax/swing/JInternalFrame.java
6777 (getLayer): Use new JLayeredPane.getLayer().
6780 2005-02-15 Michael Koch <konqueror@gmx.de>
6782 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6783 (setHeaderValue): Simplified. Do nothing when old value == new value.
6785 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6787 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6788 against null clip region.
6789 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6790 gtkWindowSetResizable.
6791 (postConfigureEvent): Only revalidate if frame size has changed.
6792 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6793 Only revalidate if frame size has changed.
6794 * java/awt/Component.java (reshape): Only repaint and post
6795 component events if component is showing.
6796 * java/awt/Container.java (addImpl): Only post container event if
6797 container is showing.
6799 * java/awt/Window.java (setLocationRelativeTo): Implement.
6800 (setBoundsCallback): Only post component events if component is
6802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6803 Protect against null graphics structure. Flush gdk event queue.
6805 2005-02-15 Michael Koch <konqueror@gmx.de>
6807 * javax/imageio/ImageReader.java,
6808 javax/imageio/ImageTranscoder.java,
6809 javax/imageio/ImageWriter.java,
6810 javax/imageio/spi/ImageInputStreamSpi.java,
6811 javax/imageio/spi/ImageOutputStreamSpi.java,
6812 javax/imageio/spi/ServiceRegistry.java,
6813 javax/imageio/stream/ImageInputStream.java,
6814 javax/imageio/stream/ImageOutputStream.java: Updated.
6815 * javax/imageio/IIOException.java,
6816 javax/imageio/IIOImage.java,
6817 javax/imageio/IIOParam.java,
6818 javax/imageio/IIOParamController.java,
6819 javax/imageio/ImageIO.java,
6820 javax/imageio/ImageReadParam.java,
6821 javax/imageio/ImageTypeSpecifier.java,
6822 javax/imageio/ImageWriteParam.java,
6823 javax/imageio/spi/IIORegistry.java,
6824 javax/imageio/spi/ImageReaderSpi.java,
6825 javax/imageio/spi/ImageWriterSpi.java,
6826 javax/imageio/stream/FileCacheImageInputStream.java,
6827 javax/imageio/stream/FileCacheImageOutputStream.java,
6828 javax/imageio/stream/FileImageInputStream.java,
6829 javax/imageio/stream/FileImageOutputStream.java,
6830 javax/imageio/stream/ImageInputStreamImpl.java,
6831 javax/imageio/stream/ImageOutputStreamImpl.java,
6832 javax/imageio/stream/MemoryCacheImageInputStream.java,
6833 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6834 javax/imageio/event/IIOReadProgressListener.java,
6835 javax/imageio/event/IIOReadUpdateListener.java,
6836 javax/imageio/event/IIOReadWarningListener.java,
6837 javax/imageio/event/IIOWriteProgressListener.java,
6838 javax/imageio/event/IIOWriteWarningListener.java,
6839 javax/imageio/metadata/IIOMetadata.java,
6840 javax/imageio/metadata/IIOMetadataController.java,
6841 javax/imageio/metadata/IIOMetadataFormat.java,
6842 javax/imageio/metadata/IIOInvalidTreeException.java,
6843 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6844 javax/imageio/metadata/IIOMetadataNode.java: New files.
6845 * Makefile.am (javax_source_files): Added new files
6846 * Makefile.in: Regenerated.
6848 2005-02-15 Graydon Hoare <graydon@redhat.com>
6850 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6851 Rework painting into BufferedImages
6852 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6853 Construct BufferedImage with alpha only when alpha is
6854 present in colormodel.
6855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6856 Rework painting into client-side jint arrays.
6857 * jni/gtk-peer/gtkcairopeer.h:
6860 2005-02-15 Michael Koch <konqueror@gmx.de>
6862 * javax/swing/DefaultListCellRenderer.java
6863 (serialVersionUID): Made private.
6864 (getListCellRendererComponent): Set horizontal alignment.
6865 * javax/swing/JLabel.java
6866 (setVerticalAlignment): Re-implemented.
6867 (setHorizontalAlignment): Do nothing if old value = new value.
6868 * javax/swing/JList.java
6869 (setCellRenderer): Likewise.
6870 (setModel): Re-implemented.
6871 (setSelectionModel): Likewise.
6873 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6875 * java/awt/Component.java,
6876 java/awt/geom/Rectangle2D.java:
6879 2005-02-15 Michael Koch <konqueror@gmx.de>
6881 * javax/swing/AbstractListModel.java
6882 (fireContentsChanged): Simplified.
6883 (fireIntervalAdded): Likewise.
6884 (fireIntervalRemoved): Likewise.
6885 * javax/swing/DefaultSingleSelectionModel.java:
6887 (fireStateChanged): Simplified.
6888 * javax/swing/JPopupMenu.java
6889 (setSelectionModel): Set property.
6891 2005-02-15 Michael Koch <konqueror@gmx.de>
6893 * java/awt/print/Book.java: Reformatted.
6895 2005-02-15 Michael Koch <konqueror@gmx.de>
6897 * java/awt/geom/Area.java
6898 (QuadSegment.curveArea): Remove unused variables.
6899 (CubicSegment.curveArea): Likewise.
6901 2005-02-15 Michael Koch <konqueror@gmx.de>
6903 * javax/swing/JTree.java
6904 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6905 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6906 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6907 (EXPANDED): New constant.
6908 (COLLAPSED): Likewise.
6909 (nodeStates): New field.
6910 (cellEditor): New method.
6911 (cellRenderer): Likewise.
6912 (selectionModel): Likewise.
6913 (treeModel): Likewise.
6914 (scrollPathToVisible): Likewise.
6915 (scrollRowToVisible): Likewise.
6916 (isCollapsed): Likewise.
6917 (isExpanded): Likewise.
6918 (clearToggledPaths): Likewise.
6919 (getDescendantToggledPaths): Likewise.
6920 (hasBeenExpanded): Likewise.
6921 (isVisible): Likewise.
6922 (isPathEditable): Likewise.
6924 2005-02-15 Michael Koch <konqueror@gmx.de>
6926 * javax/swing/JLayeredPane.java: Reformatted.
6928 2005-02-15 Michael Koch <konqueror@gmx.de>
6930 * javax/swing/tree/DefaultMutableTreeNode.java:
6932 * javax/swing/tree/MutableTreeNode.java:
6935 2005-02-15 Michael Koch <konqueror@gmx.de>
6937 * javax/swing/JFormattedTextField.java
6938 (setDocument): Call setDocument of super class. Don't fire property
6941 2005-02-15 Sven de Marothy <sven@physto.se>
6943 * java/awt/image/IndexColorModel.java:
6944 Add FIXME with respect to alpha handling.
6945 (getAlpha): Default to returning opaque pixels.
6946 * java/awt/image/MultiPixelPackedSampleModel.java
6947 (MultiPixelPackedSampleModel): Corrected parameters, order of
6948 bit shifts and masks, stride length off by one.
6950 2005-02-15 Michael Koch <konqueror@gmx.de>
6952 * javax/swing/JList.java, javax/swing/JTree.java:
6953 Added much new methods and fixed much methods setting bound properties.
6955 2005-02-16 Mark Wielaard <mark@klomp.org>
6957 * Makefile.am (gnu_xml_source_files): Removed
6958 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6959 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6960 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6961 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6962 gnu/xml/dom/DomDocumentFragment.java,
6963 gnu/xml/dom/DomProcessingInstruction.java and
6964 gnu/xml/dom/ls/DomLSException.java.
6965 * Makefile.in: Regenerated.
6967 2005-02-16 Tom Tromey <tromey@redhat.com>
6969 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6970 attribute index is out of bounds.
6972 2005-02-16 Chris Burdess <dog@gnu.org>
6974 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6975 isDeclared methods. Improved performance of isSpecified methods.
6977 2005-02-16 Chris Burdess <dog@gnu.org>
6979 Fixes bug libgcj/19864
6980 * gnu/xml/dom/DomAttr.java,
6981 gnu/xml/dom/DomCDATA.java,
6982 gnu/xml/dom/DomCDATASection.java,
6983 gnu/xml/dom/DomCharacterData.java,
6984 gnu/xml/dom/DomDOMException.java,
6985 gnu/xml/dom/DomDoctype.java,
6986 gnu/xml/dom/DomDocument.java,
6987 gnu/xml/dom/DomDocumentConfiguration.java,
6988 gnu/xml/dom/DomDocumentFragment.java,
6989 gnu/xml/dom/DomElement.java,
6990 gnu/xml/dom/DomEx.java,
6991 gnu/xml/dom/DomFragment.java,
6992 gnu/xml/dom/DomImpl.java,
6993 gnu/xml/dom/DomIterator.java,
6994 gnu/xml/dom/DomNamedNodeMap.java,
6995 gnu/xml/dom/DomNode.java,
6996 gnu/xml/dom/DomNsNode.java,
6997 gnu/xml/dom/DomPI.java,
6998 gnu/xml/dom/DomProcessingInstruction.java,
6999 gnu/xml/dom/DomText.java,
7000 gnu/xml/dom/DomLSEx.java,
7001 gnu/xml/dom/DomLSException.java,
7002 gnu/xml/dom/DomLSParser.java,
7003 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7004 implementation class names to conform to Classpath guidelines. Make
7005 DomLSException use JDK 1.4+ exception chaining.
7006 * gnu/xml/util/SAXNullTransformerFactory.java,
7007 gnu/xml/xpath/Predicate.java: Use constants relative to
7008 declaring class or interface.
7010 2005-02-16 Andrew Haley <aph@redhat.com>
7012 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7013 null, create a new AccessControlContext.
7014 * java/security/SecureClassLoader.java (protectionDomainCache):
7016 (defineClass): Create a new protection domain and add it to our
7019 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7020 addStub() to keep track of the stub we've exported.
7021 (unexportObject): Call deleteStub().
7022 * java/rmi/server/RemoteObject.java (stubs): New field.
7023 (addStub): New method.
7024 (deleteStub): New method.
7027 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7028 true to findHelper (tryParents).
7029 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7031 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7032 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7034 If tryParents is false, don't scan parent class loaders.
7036 * java/security/Permissions.java (PermissionsHash.implies):
7037 Iterate over the collection and invoke implies() on each
7040 2005-02-16 Andrew Haley <aph@redhat.com>
7042 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7044 (PersistentByteMap): Set name
7045 Magic number changed to 0x67636a64 ("gcjd").
7046 (init): Force the map to be prime.
7047 (emptyPersistentByteMap): File name was a string, now a File.
7048 (addBytes): Share srings between entries.
7049 (stringTableSize): New method.
7050 (capacity): Scale by load factor.
7051 (force): New method.
7052 (getFile): New method.
7053 (close): New method.
7054 (putAll): New method.
7055 (ByteWrapper): New class.
7056 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7057 (main): Guess the average string size as 32, not 64.
7058 Copy a database before modifying it, so that we can update a
7059 database in a running system.
7060 If a database isn't big enough, resize it.
7061 "-m": new option: merges databases.
7062 "-a": Create a new detabase if it doesn't exist.
7063 (usage): Correct, add new option.
7064 (addJar): Copy a database before modifying it.
7065 (resizeMap): New method.
7067 2005-02-15 David Daney <ddaney@avtrex.com>
7068 Bryce McKinlay <mckinlay@redhat.com>
7070 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7071 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7072 ensure that GC threads inherit the new signal mask.
7073 (block_sigchld): Call JvFail rather than throwing exception if
7074 pthread_sigmask() fails.
7076 2005-02-15 Mark Wielaard <mark@klomp.org>
7078 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7079 file path elements are separated by spaces.
7081 2005-02-15 Mark Wielaard <mark@klomp.org>
7083 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7084 to describe attributes without a constant field value in this class.
7086 2005-02-15 Michael Koch <konqueror@gmx.de>
7088 * java/util/jar/Attributes.java
7089 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7091 2005-02-15 Mark Wielaard <mark@klomp.org>
7093 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7094 space for parsing CLASS_PATH attribute.
7096 2005-02-15 Mark Wielaard <mark@klomp.org>
7098 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7099 aside for "GCJLIBS" in directory where jarfiles are loaded.
7100 (JarURLLoader.getClass): Removed method.
7101 (JarURLLoader.toString): Removed method.
7102 (FileResource.toString): Removed method.
7104 2005-02-15 Mark Wielaard <mark@klomp.org>
7106 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7107 and/or cause before throwing.
7109 2005-02-15 Richard Henderson <rth@redhat.com>
7111 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7112 (libgcj0_convenience_la_SOURCES): ... here.
7113 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7114 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7115 * Makefile.in: Regenerate.
7117 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7120 * include/jawt.h: Likewise.
7121 * include/jawt_md.h: Likewise.
7122 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7124 * include/Makefile.in: Regenerate.
7125 * jni/classpath/classpath_jawt.h: Likewise.
7126 * jni/gtk-peer/gtk_jawt.c: Likewise.
7127 * Makefile.am: Build libjawt.so.
7128 * Makefile.in: Regenerate.
7130 2005-02-14 Tom Tromey <tromey@redhat.com>
7132 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7134 2005-02-14 Tom Tromey <tromey@redhat.com>
7136 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7137 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7139 2005-02-14 Tom Tromey <tromey@redhat.com>
7142 * testsuite/libjava.lang/PR19929.out: New file.
7143 * testsuite/libjava.lang/PR19929.java: New file.
7145 2005-02-14 Anthony Green <green@redhat.com>
7148 * testsuite/libjava.jni/PR18116.c: New file.
7149 * testsuite/libjava.jni/PR18116.java: New file.
7150 * testsuite/libjava.jni/PR18116.out: New file.
7152 2005-02-13 Anthony Green <green@redhat.com>
7155 * jni.cc (nathash_add): Don't strdup the method signature.
7156 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7160 2005-02-12 Mark Wielaard <mark@klomp.org>
7162 Fixes bug libgcj/8170
7163 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7164 ClassNotFoundException.
7165 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7166 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7167 (remove_internal): New field superceding remove_interpreter.
7168 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7169 Remove no-class methods starting with "_Jv_". And Replace null
7170 class or method names with the empty string. Stop at either the
7171 MainThread or a real Thread run() method.
7172 (newElement): Made static.
7173 * java/net/URLClassLoader.java (findClass): Throw
7174 ClassNotFoundExceptions including urls, plus parent using toString().
7175 (thisString): New field.
7176 (toString): New method.
7178 2005-02-10 Tom Tromey <tromey@redhat.com>
7180 * external/sax/Makefile.in: Rebuilt.
7181 * external/sax/Makefile.am (all-local): Removed.
7182 (BUILT_SOURCES): New variable.
7183 (mostlyclean-local): No error if no classes to delete.
7184 * external/w3c_dom/Makefile.in: Rebuilt.
7185 * external/w3c_dom/Makefile.am (all-local): Removed.
7186 (BUILT_SOURCES): New variable.
7187 (mostlyclean-local): No error if no classes to delete.
7189 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7191 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7192 of mauve and libjava.
7194 2005-02-09 Tom Tromey <tromey@redhat.com>
7196 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7197 jar file with OPEN_DELETE.
7198 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7199 OPEN_DELETE is used.
7201 2005-02-09 Tom Tromey <tromey@redhat.com>
7203 * java/util/zip/InflaterInputStream.java (markSupported):
7205 (mark, reset): Likewise.
7207 2005-02-08 Tom Tromey <tromey@redhat.com>
7209 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7210 name or port is missing.
7211 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7212 AUTHORITY_PORT_GROUP): Updated.
7214 2005-02-08 Tom Tromey <tromey@redhat.com>
7216 * configure: Rebuilt.
7217 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7220 2005-02-07 Tom Tromey <tromey@redhat.com>
7222 * java/lang/natRuntime.cc (insertSystemProperties): Set
7223 sun.boot.class.path earlier.
7225 2005-02-07 Tom Tromey <tromey@redhat.com>
7227 * defineclass.cc (handleClassBegin): Use
7228 _Jv_RegisterInitiatingLoader.
7229 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7230 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7231 class. Use _Jv_UnregisterInitiatingLoader.
7232 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7235 2005-02-07 Mark Wielaard <mark@klomp.org>
7237 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7238 java/util/regex/Matcher.java (lookingAt): Set position when match
7240 (matches): Implemented through lookingAt().
7242 2005-02-07 Mark Wielaard <mark@klomp.org>
7244 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7245 * java/util/regex/Pattern.java (split(CharSequence,int)):
7246 Fix while empties > 0 loops.
7248 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7250 * gnu/java/nio/charset/ISO_8859_1.java,
7251 gnu/java/nio/charset/US_ASCII.java,
7252 gnu/java/nio/charset/UTF_16.java,
7253 gnu/java/nio/charset/UTF_16_LE.java,
7254 gnu/java/nio/charset/UTF_16_BE.java,
7255 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7256 and aliases according to
7257 "http://www.iana.org/assignments/character-sets",
7258 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7259 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7260 * gnu/java/nio/charset/Provider.java: Made charset lookup
7261 case-insensitive which fixes bug #11740.
7263 2005-02-07 Tom Tromey <tromey@redhat.com>
7266 * Makefile.in: Rebuilt.
7267 * Makefile.am (src.zip): New target.
7268 (install-src.zip): Likewise.
7269 (sourcesdir): New variable.
7271 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7273 * javax/imageio/metadata/IIOMetadataNode.java:
7275 * javax/imageio/metadata/IIOAttr.java,
7276 javax/imageio/metadata/IIONamedNodeMap.java,
7277 javax/imageio/metadata/IIONodeList.java:
7280 2005-02-06 Graydon Hoare <graydon@redhat.com>
7282 * gnu/java/awt/ClasspathToolkit.java
7283 (registerImageIOSpis): New method.
7284 * javax/imageio/ImageIO.java
7285 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7286 (WriterMIMETypeFilter.filter): Likewise.
7287 (ImageReaderIterator): Pass extension argument through to SPI.
7288 (getReadersByFilter): Likewise.
7289 (getWritersByFilter): Likewise.
7290 (getImageReadersByFormatName): Likewise.
7291 (getImageReadersByMIMEType): Likewise.
7292 (getImageReadersBySuffix): Likewise.
7293 (getImageWritersByFormatName): Likewise.
7294 (getImageWritersByMIMEType): Likewise.
7295 (getImageWritersBySuffix): Likewise.
7298 * javax/imageio/ImageReader.java
7299 (progressListeners): Initialize.
7300 (setInput): Implement.
7301 * javax/imageio/ImageWriter.java
7302 (progressListeners): Initialize.
7303 (warningListeners): Likewise.
7304 (warningLocales): Likewise.
7305 (setOutput): Test "isInstance" rather than class equality.
7306 * javax/imageio/spi/IIORegistry.java
7307 (static): Add reader and writer SPIs.
7308 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7310 2005-02-06 Michael Koch <konqueror@gmx.de>
7312 * javax/imageio/metadata/IIOInvalidTreeException.java
7313 (IIOInvalidTreeException): Reformatted.
7314 * javax/imageio/spi/IIORegistry.java
7315 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7316 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7317 Reworked import statements.
7319 2005-02-06 Michael Koch <konqueror@gmx.de>
7321 * javax/imageio/stream/FileImageOutputStream.java:
7324 2005-02-06 Michael Koch <konqueror@gmx.de>
7326 * javax/imageio/stream/FileCacheImageInputStream.java,
7327 javax/imageio/stream/FileCacheImageOutputStream.java,
7328 javax/imageio/stream/FileImageInputStream.java,
7329 javax/imageio/stream/ImageInputStreamImpl.java,
7330 javax/imageio/stream/ImageOutputStreamImpl.java,
7331 javax/imageio/stream/MemoryCacheImageInputStream.java,
7332 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7333 Added all missing methods in javax.imageio.stream.
7335 2005-02-02 David Daney <ddaney@avtrex.com>
7337 * java/net/InetAddress.java (InetAddress): Make a private copy of
7339 * java/net/Inet4Address.java (getAddress): Return a copy of the
7341 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7343 (getAddress): Return a copy of the address.
7346 2005-02-02 Tom Tromey <tromey@redhat.com>
7348 * Makefile.in: Rebuilt.
7349 * Makefile.am (classes.stamp): New target, broken out from
7351 ($(all_java_class_files)): Depend on it.
7352 (libgcj-@gcc_version@.jar): Likewise.
7353 (all-recursive): Likewise.
7354 (CLEANFILES): Include classes.stamp.
7356 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7358 * link.cc: Include <stdio.h>
7360 2005-02-02 Tom Tromey <tromey@redhat.com>
7363 * Makefile.in: Rebuilt.
7364 * Makefile.am (ordinary_java_source_files): Added new class.
7365 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7366 Use system_instance, not instance.
7367 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7368 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7370 (system_instance): New field.
7371 (initialize): Initialize the system loader as well.
7372 (VMClassLoader): Default to LIB_CACHE.
7374 2005-02-02 Tom Tromey <tromey@redhat.com>
7376 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7377 * prims.cc: Fixed comment.
7379 2005-02-01 Tom Tromey <tromey@redhat.com>
7381 * Makefile.in: Rebuilt.
7382 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7383 (.java.class): Use BOOTCLASSPATH.
7385 2005-02-01 Tom Tromey <tromey@redhat.com>
7387 * external/w3c_dom/Makefile.am: New file.
7388 * external/w3c_dom/Makefile.in: New file.
7389 * external/sax/Makefile.am: New file.
7390 * external/sax/Makefile.in: New file.
7391 * external/Makefile.in: New file.
7392 * external/Makefile.am: New file.
7393 * external/README: New file from Classpath.
7394 * configure, aclocal.m4, Makefile.in: Rebuilt.
7395 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7396 * Makefile.am (SUBDIRS): Added external.
7397 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7398 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7399 (BOOTCLASSPATH): New variable.
7400 (AM_GCJFLAGS): Use it.
7401 (gnu_xml_source_files): New variable.
7402 (libgcj_la_SOURCES): Use it.
7403 (libgcj_la_LDADD): Include new convenience libraries.
7404 (lib_org_ietf_jgss_la_SOURCES): Removed.
7405 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7406 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7407 (lib_org_w3c_dom_la_SOURCES): Removed.
7408 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7409 (lib_org_w3c_dom_la_LIBADD): Likewise.
7410 (lib_org_xml_sax_la_SOURCES): Removed.
7411 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7412 (lib_org_xml_sax_la_LIBADD): Likewise.
7413 (all_java_source_files): Updated.
7414 (property_files): Likewise.
7415 (libgcj-@gcc_version@.jar): Include classes from external/.
7416 (javax_source_files): Updated.
7417 (ordinary_java_source_files): Updated.
7418 * javax/xml/XMLConstants.java,
7419 javax/xml/datatype/DatatypeConfigurationException.java,
7420 javax/xml/datatype/DatatypeConstants.java,
7421 javax/xml/datatype/DatatypeFactory.java,
7422 javax/xml/datatype/Duration.java,
7423 javax/xml/datatype/XMLGregorianCalendar.java,
7424 javax/xml/datatype/package.html,
7425 javax/xml/namespace/NamespaceContext.java,
7426 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7427 javax/xml/parsers/DocumentBuilder.java,
7428 javax/xml/parsers/DocumentBuilderFactory.java,
7429 javax/xml/parsers/FactoryConfigurationError.java,
7430 javax/xml/parsers/ParserConfigurationException.java,
7431 javax/xml/parsers/SAXParser.java,
7432 javax/xml/parsers/SAXParserFactory.java,
7433 javax/xml/parsers/package.html,
7434 javax/xml/transform/ErrorListener.java,
7435 javax/xml/transform/OutputKeys.java,
7436 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7437 javax/xml/transform/SourceLocator.java,
7438 javax/xml/transform/Templates.java,
7439 javax/xml/transform/Transformer.java,
7440 javax/xml/transform/TransformerConfigurationException.java,
7441 javax/xml/transform/TransformerException.java,
7442 javax/xml/transform/TransformerFactory.java,
7443 javax/xml/transform/TransformerFactoryConfigurationError.java,
7444 javax/xml/transform/URIResolver.java,
7445 javax/xml/transform/package.html,
7446 javax/xml/transform/dom/DOMLocator.java,
7447 javax/xml/transform/dom/DOMResult.java,
7448 javax/xml/transform/dom/DOMSource.java,
7449 javax/xml/transform/dom/package.html,
7450 javax/xml/transform/sax/SAXResult.java,
7451 javax/xml/transform/sax/SAXSource.java,
7452 javax/xml/transform/sax/SAXTransformerFactory.java,
7453 javax/xml/transform/sax/TemplatesHandler.java,
7454 javax/xml/transform/sax/TransformerHandler.java,
7455 javax/xml/transform/sax/package.html,
7456 javax/xml/transform/stream/StreamResult.java,
7457 javax/xml/transform/stream/StreamSource.java,
7458 javax/xml/transform/stream/package.html,
7459 javax/xml/validation/Schema.java,
7460 javax/xml/validation/SchemaFactory.java,
7461 javax/xml/validation/TypeInfoProvider.java,
7462 javax/xml/validation/Validator.java,
7463 javax/xml/validation/ValidatorHandler.java,
7464 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7465 javax/xml/xpath/XPathConstants.java,
7466 javax/xml/xpath/XPathException.java,
7467 javax/xml/xpath/XPathExpression.java,
7468 javax/xml/xpath/XPathExpressionException.java,
7469 javax/xml/xpath/XPathFactory.java,
7470 javax/xml/xpath/XPathFactoryConfigurationException.java,
7471 javax/xml/xpath/XPathFunction.java,
7472 javax/xml/xpath/XPathFunctionException.java,
7473 javax/xml/xpath/XPathFunctionResolver.java,
7474 javax/xml/xpath/XPathVariableResolver.java,
7475 javax/xml/xpath/package.html: New files, from GNU JAXP.
7476 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7477 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7478 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7479 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7480 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7481 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7482 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7483 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7484 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7485 org/w3c/dom/ranges/DocumentRange.java,
7486 org/w3c/dom/ranges/Range.java,
7487 org/w3c/dom/ranges/RangeException.java,
7488 org/w3c/dom/traversal/DocumentTraversal.java,
7489 org/w3c/dom/traversal/NodeFilter.java,
7490 org/w3c/dom/traversal/NodeIterator.java,
7491 org/w3c/dom/traversal/TreeWalker.java,
7492 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7493 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7494 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7495 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7496 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7497 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7498 org/xml/sax/SAXNotRecognizedException.java,
7499 org/xml/sax/SAXNotSupportedException.java,
7500 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7501 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7502 org/xml/sax/ext/DeclHandler.java,
7503 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7504 org/xml/sax/helpers/AttributeListImpl.java,
7505 org/xml/sax/helpers/AttributesImpl.java,
7506 org/xml/sax/helpers/DefaultHandler.java,
7507 org/xml/sax/helpers/LocatorImpl.java,
7508 org/xml/sax/helpers/NamespaceSupport.java,
7509 org/xml/sax/helpers/NewInstance.java,
7510 org/xml/sax/helpers/ParserAdapter.java,
7511 org/xml/sax/helpers/ParserFactory.java,
7512 org/xml/sax/helpers/XMLFilterImpl.java,
7513 org/xml/sax/helpers/XMLReaderAdapter.java,
7514 org/xml/sax/helpers/XMLReaderFactory.java,
7515 org/xml/sax/helpers/package.html: Moved to external/.
7516 * external/sax/README,
7517 external/sax/org/xml/sax/AttributeList.java,
7518 external/sax/org/xml/sax/Attributes.java,
7519 external/sax/org/xml/sax/ContentHandler.java,
7520 external/sax/org/xml/sax/DTDHandler.java,
7521 external/sax/org/xml/sax/DocumentHandler.java,
7522 external/sax/org/xml/sax/EntityResolver.java,
7523 external/sax/org/xml/sax/ErrorHandler.java,
7524 external/sax/org/xml/sax/HandlerBase.java,
7525 external/sax/org/xml/sax/InputSource.java,
7526 external/sax/org/xml/sax/Locator.java,
7527 external/sax/org/xml/sax/Parser.java,
7528 external/sax/org/xml/sax/SAXException.java,
7529 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7530 external/sax/org/xml/sax/SAXNotSupportedException.java,
7531 external/sax/org/xml/sax/SAXParseException.java,
7532 external/sax/org/xml/sax/XMLFilter.java,
7533 external/sax/org/xml/sax/XMLReader.java,
7534 external/sax/org/xml/sax/package.html,
7535 external/sax/org/xml/sax/ext/Attributes2.java,
7536 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7537 external/sax/org/xml/sax/ext/DeclHandler.java,
7538 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7539 external/sax/org/xml/sax/ext/EntityResolver2.java,
7540 external/sax/org/xml/sax/ext/LexicalHandler.java,
7541 external/sax/org/xml/sax/ext/Locator2.java,
7542 external/sax/org/xml/sax/ext/Locator2Impl.java,
7543 external/sax/org/xml/sax/ext/package.html,
7544 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7545 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7546 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7547 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7548 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7549 external/sax/org/xml/sax/helpers/NewInstance.java,
7550 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7551 external/sax/org/xml/sax/helpers/ParserFactory.java,
7552 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7553 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7554 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7555 external/sax/org/xml/sax/helpers/package.html,
7556 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7557 external/w3c_dom/org/w3c/dom/Attr.java,
7558 external/w3c_dom/org/w3c/dom/CDATASection.java,
7559 external/w3c_dom/org/w3c/dom/CharacterData.java,
7560 external/w3c_dom/org/w3c/dom/Comment.java,
7561 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7562 external/w3c_dom/org/w3c/dom/DOMError.java,
7563 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7564 external/w3c_dom/org/w3c/dom/DOMException.java,
7565 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7566 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7567 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7568 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7569 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7570 external/w3c_dom/org/w3c/dom/Document.java,
7571 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7572 external/w3c_dom/org/w3c/dom/DocumentType.java,
7573 external/w3c_dom/org/w3c/dom/Element.java,
7574 external/w3c_dom/org/w3c/dom/Entity.java,
7575 external/w3c_dom/org/w3c/dom/EntityReference.java,
7576 external/w3c_dom/org/w3c/dom/NameList.java,
7577 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7578 external/w3c_dom/org/w3c/dom/Node.java,
7579 external/w3c_dom/org/w3c/dom/NodeList.java,
7580 external/w3c_dom/org/w3c/dom/Notation.java,
7581 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7582 external/w3c_dom/org/w3c/dom/Text.java,
7583 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7584 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7585 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7586 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7587 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7588 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7589 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7590 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7591 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7592 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7593 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7594 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7595 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7596 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7597 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7598 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7599 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7600 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7601 external/w3c_dom/org/w3c/dom/css/Counter.java,
7602 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7603 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7604 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7605 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7606 external/w3c_dom/org/w3c/dom/css/Rect.java,
7607 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7608 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7609 external/w3c_dom/org/w3c/dom/events/Event.java,
7610 external/w3c_dom/org/w3c/dom/events/EventException.java,
7611 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7612 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7613 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7614 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7615 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7616 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7617 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7618 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7619 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7620 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7621 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7622 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7623 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7624 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7625 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7626 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7627 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7628 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7629 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7630 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7631 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7632 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7633 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7634 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7635 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7636 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7637 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7638 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7639 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7640 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7641 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7642 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7643 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7644 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7645 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7646 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7647 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7648 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7649 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7650 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7651 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7652 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7653 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7654 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7655 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7656 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7657 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7658 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7659 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7660 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7661 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7662 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7663 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7664 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7665 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7666 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7667 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7668 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7669 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7670 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7671 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7672 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7673 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7674 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7675 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7676 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7677 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7678 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7679 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7680 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7681 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7682 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7683 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7684 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7685 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7686 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7687 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7688 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7689 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7690 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7691 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7692 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7693 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7694 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7695 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7696 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7697 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7698 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7699 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7700 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7701 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7702 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7705 2005-01-31 Anthony Green <green@redhat.com>
7707 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7708 Support IP_MULTICAST_LOOP.
7709 (setOption): Support IP_MULTICAST_LOOP.
7711 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7712 SO_REUSEADDR support.
7713 (getOption): Support SO_REUSEADDR.
7715 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7718 * java/util/Date.java
7719 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7721 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7723 (getTimezoneOffset): Inverted sign.
7725 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7727 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7728 remove other passing tests and add new XFAILs.
7730 2005-01-24 Tom Tromey <tromey@redhat.com>
7732 * java/lang/Class.h (next): Updated documentation. Renamed to
7734 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7735 _Jv_CheckABIVersion.
7736 (_Jv_RegisterClasses_Counted): Likewise.
7737 (_Jv_RegisterClassHookDefault): Fix starting condition of
7738 duplicate-checking loop.
7739 * include/jvm.h (GCJ_VERSION): New define.
7740 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7741 (_Jv_CheckABIVersion): New function.
7743 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7745 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7746 (libgij_la_LDFLAGS): Add.
7747 * Makefile.in: Rebuilt.
7749 2005-01-24 Roger Sayle <roger@eyesopen.com>
7752 * testsuite/libjava.compile/PR19295.java: New test case.
7754 2005-01-19 Tom Tromey <tromey@redhat.com>
7756 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7757 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7758 if 'handler' is valid.
7760 2005-01-17 Tom Tromey <tromey@redhat.com>
7762 * java/text/MessageFormat.java (scanString): Changed how quoting
7764 (scanFormatElement): Likewise.
7766 2004-12-07 Mark Wielaard <mark@klomp.org>
7768 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7770 2005-01-15 Michael Koch <konqueror@gmx.de>
7774 (AUTHORITY_REGEXP): New regexp constant.
7775 (AUTHORITY_USERINFO_GROUP): New constant.
7776 (AUTHORITY_HOST_GROUP): Likewise.
7777 (AUTHORITY_PORT_GROUP): Likewise.
7778 (port): Changed default value to -1.
7779 (parseURI): Parse authority part and initialize host,
7782 2005-01-14 Robin Green <greenrd@greenrd.org>
7784 * java/io/File.java (toURI): Generate a URI which we understand.
7786 2005-01-13 Graydon Hoare <graydon@redhat.com>
7788 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7789 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7790 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7791 * jni.cc: Reuse bottom frame between calls, avoid clearing
7792 frame when no local references are made.
7794 2005-01-13 Michael Koch <konqueror@gmx.de>
7797 * java/lang/Thread.java
7798 (Thread): Call checkAccess().
7799 (stop): Fixed argument name to match javadoc.
7800 * java/lang/natThread.cc
7801 (interrupt): Call checkAccess().
7804 2005-01-11 Michael Koch <konqueror@gmx.de>
7807 * java/net/URL.java (URL): Handle specs like
7808 "/redir?http://domain2.com/index.html" which start with a slash.
7810 2005-01-11 Michael Koch <konqueror@gmx.de>
7812 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7813 * gnu/java/net/BASE64.java,
7814 gnu/java/net/EmptyX509TrustManager.java,
7815 gnu/java/net/LineInputStream.java,
7816 gnu/java/net/protocol/http/Authenticator.java,
7817 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7818 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7819 gnu/java/net/protocol/http/ChunkedInputStream.java,
7820 gnu/java/net/protocol/http/Cookie.java,
7821 gnu/java/net/protocol/http/CookieManager.java,
7822 gnu/java/net/protocol/http/Credentials.java,
7823 gnu/java/net/protocol/http/HTTPConnection.java,
7824 gnu/java/net/protocol/http/HTTPDateFormat.java,
7825 gnu/java/net/protocol/http/HTTPURLConnection.java,
7826 gnu/java/net/protocol/http/Headers.java,
7827 gnu/java/net/protocol/http/Request.java,
7828 gnu/java/net/protocol/http/RequestBodyWriter.java,
7829 gnu/java/net/protocol/http/Response.java,
7830 gnu/java/net/protocol/http/ResponseBodyReader.java,
7831 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7832 gnu/java/net/protocol/http/SimpleCookieManager.java,
7833 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7834 gnu/java/net/protocol/http/event/ConnectionListener.java,
7835 gnu/java/net/protocol/http/event/RequestEvent.java,
7836 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7837 * gnu/java/net/protocol/http/Connection.java: Removed.
7838 * gnu/java/net/protocol/http/Handler.java,
7839 javax/net/ssl/HttpsURLConnection.java: Updated.
7840 * Makefile.am: Added new files and remove old ones.
7841 * Makefile.in: Regenerated.
7843 2005-01-11 Tom Tromey <tromey@redhat.com>
7846 * java/io/BufferedInputStream.java (read): Repeatedly read to
7848 (refill): Change test to see if buffer must be grown.
7850 2005-01-10 Tom Tromey <tromey@redhat.com>
7852 * mauve-libgcj: Exclude some swing tests.
7854 2005-01-10 Tom Tromey <tromey@redhat.com>
7856 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7857 * java/lang/Package.java (getPackages): Use VMClassLoader when
7859 (getPackage): Likewise.
7860 * prims.cc (_Jv_CreateJavaVM): Call
7861 _Jv_RegisterBootstrapPackages.
7862 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7863 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7864 (getPackages): Likewise.
7865 (definedPackages): New field.
7866 (definePackageForNative): New method.
7867 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7868 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7869 * defineclass.cc (handleClassBegin): Use
7870 ClassLoader.findLoadedClass.
7871 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7873 (struct _Jv_LoaderInfo): Removed.
7874 (initiated_classes): Likewise.
7875 (_Jv_UnregisterClass): Don't use initiated_classes.
7876 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7877 (_Jv_FindClass): Register classes found during boostrap.
7878 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7879 (bootstrap_class_list): New global.
7880 (bootstrap_index): Likewise.
7881 (_Jv_RegisterBootstrapPackages): New function.
7882 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7883 definePackageForNative.
7884 (findClass): Updated.
7885 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7888 2005-01-10 Tom Tromey <tromey@redhat.com>
7891 * include/jvm.h (_Jv_Linker::find_field): Declare.
7892 (_Jv_Linker::find_field_helper): Likewise.
7893 * link.cc (find_field_helper): New method.
7894 (find_field): Likewise.
7895 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7897 (link_symbol_table): Use find_field.
7899 2005-01-10 Michael Koch <konqueror@gmx.de>
7902 * java/util/Locale.java (Locale): Don't uppercase variant.
7903 (getISOCountries): Fixed typo in javadoc.
7905 2005-01-10 Michael Koch <konqueror@gmx.de>
7907 * java/util/SimpleTimeZone.java (checkRule):
7908 Throw IllegalArgumentException on invalid month values.
7909 * java/util/TimeZone.java (setID):
7910 Throw NullPointerException if needed.
7912 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7914 * java/util/SimpleTimeZone.java (getOffset):
7915 offset end date with daylight savings
7917 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7919 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7920 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7922 2005-01-09 Michael Koch <konqueror@gmx.de>
7925 * java/net/InetAddress.java (getLocalHost):
7926 Throw UnknownHostException if local hostname cannot be determined.
7928 2005-01-06 Tom Tromey <tromey@redhat.com>
7930 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7932 2005-01-07 Michael Koch <konqueror@gmx.de>
7935 * java/nio/Buffer.java (address): New field.
7936 * java/nio/DirectByteBufferImpl.java (address): Removed.
7937 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7938 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7939 Explicitly initialize Buffer.address if needed.
7940 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7941 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7942 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7943 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7944 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7945 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7946 DirectByteBufferImpl object.
7947 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7948 * testsuite/libjava.jni/directbuffer.c,
7949 testsuite/libjava.jni/directbuffer.java,
7950 testsuite/libjava.jni/directbuffer.out,
7951 testsuite/libjava.jni/bytebuffer.c,
7952 testsuite/libjava.jni/bytebuffer.java,
7953 testsuite/libjava.jni/bytebuffer.out: New files.
7955 2005-01-05 Tom Tromey <tromey@redhat.com>
7957 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7959 (compressedSize): Now 'long'. Default to -1.
7960 (getCompressedSize): Rewrote.
7961 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7962 deflate at all if we need input.
7964 2005-01-05 Tom Tromey <tromey@redhat.com>
7967 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7970 2005-01-05 Tom Tromey <tromey@redhat.com>
7972 * java/lang/natRuntime.cc (insertSystemProperties): Set
7973 java.ext.dirs earlier.
7975 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7977 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7978 sync_info element of the object if needed.
7980 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7982 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7983 a non-zero exit status from 'false'.
7985 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7987 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.