1 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
3 * all files: Update for new FSF address.
5 2005-06-29 Tom Tromey <tromey@redhat.com>
8 * testsuite/libjava.lang/pr22211.java: New file.
9 * java/lang/natThread.cc (finish_): Synchronize when updating
11 (_Jv_AttachCurrentThread): Likewise.
12 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
13 * java/lang/Thread.java (isAlive): Now synchronized.
15 2005-06-29 Tom Tromey <tromey@redhat.com>
17 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
20 2005-06-28 Robin Green <greenrd@greenrd.org>
23 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
26 2005-06-27 Tom Tromey <tromey@redhat.com>
28 PR java/21540, PR java/13788:
29 * testsuite/libjava.compile/pr21540.java: New file.
30 * testsuite/libjava.compile/pr13788.java: New file.
31 * testsuite/libjava.jacks/jacks.xfail: Updated.
33 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
35 * testsuite/libjava.mauve/xfails: Updated to reflect current state
38 2005-06-24 Tom Tromey <tromey@redhat.com>
40 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
41 where class' name is NULL.
42 (_Jv_FindClass): Don't wait for class state.
43 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
45 * include/java-interp.h (_Jv_DefineClass): Updated.
46 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
47 (struct _Jv_ClassReader): Likewise.
48 (found_name): New field.
49 (handleClassBegin): Set *found_name.
50 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
51 (handleClassBegin): Throw error if super class not set.
52 (read_methods): Correctly call check_tag and prepare_pool_entry.
54 2005-06-24 Tom Tromey <tromey@redhat.com>
56 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
58 2005-06-24 Tom Tromey <tromey@redhat.com>
60 * verify.cc (verify_instructions_0): Correctly handle situation
61 where PC falls off end.
63 2005-06-24 Tom Tromey <tromey@redhat.com>
65 * interpret.cc (compile): Handle case where table entry is
68 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
70 * testsuite/libjava.compile/PR20697.java: New test-case.
72 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
74 * Makefile.am (SUBDIRS): Use append for conditional.
75 (toolexeclib_LTLIBRARIES): Likewise.
76 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
78 * Makefile.in: Regenerate.
80 2005-06-17 Keith Seitz <keiths@redhat.com>
82 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
83 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
84 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
86 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
87 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
89 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
90 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
91 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
92 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
94 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
95 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
97 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
99 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
100 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
101 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
102 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
103 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
104 * Makefile.in: Regenerate.
106 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
108 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
109 (USING_POSIX_PLATFORM): ... here.
110 * Makefile.am: Delete USING_ECOS_PLATFORM.
111 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
112 external/Makefile.in, external/sax/Makefile.in,
113 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
115 2005-06-15 Tom Tromey <tromey@redhat.com>
118 * testsuite/libjava.lang/pr17536.java: New file.
119 * testsuite/libjava.lang/pr17536.out: New file.
121 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
124 * gnu/java/net/protocol/http/HTTPURLConnection.java
125 (getHeaderFieldKey): Check index.
127 2005-06-15 Tom Tromey <tromey@redhat.com>
130 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
132 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
133 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
135 (append_partial_itable): Use it.
136 (set_vtable_entries): Likewise.
138 2005-06-15 Tom Tromey <tromey@redhat.com>
140 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
141 last_was_sep in loop.
143 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
145 * configure.host: Handle Solaris 10/x86.
147 2005-06-14 Keith Seitz <keiths@redhat.com>
149 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
150 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
152 2005-06-14 Keith Seitz <keiths@redhat.com>
154 * gnu/classpath/jdwp/id/ArrayId.java: New file.
155 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
156 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
157 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
158 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
159 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
160 * gnu/classpath/jdwp/id/JdwpId.java: New file.
161 * gnu/classpath/jdwp/id/ObjectId.java: New file.
162 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
163 * gnu/classpath/jdwp/id/StringId.java: New file.
164 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
165 * gnu/classpath/jdwp/id/ThreadId.java: New file.
167 2005-06-14 Tom Tromey <tromey@redhat.com>
170 * configure, aclocal.m4, Makefile.in: Rebuilt.
172 2005-06-14 Tom Tromey <tromey@redhat.com>
174 * java/lang/Class.java (getClasses): New method.
175 (internalGetClasses): Likewise.
176 (getClassLoader): Updated documentation.
177 (getDeclaredClasses): New overload; old overload no longer
179 (_getConstructors): Removed.
180 (resourcePath): Updated.
181 * java/lang/natClass.cc (getClasses): Removed.
182 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
184 (_getConstructors): Removed.
186 2005-06-13 Jim Huang <jserv@kaffe.org>
189 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
190 (_Jv_JNI_NewObject): Likewise.
192 2005-06-13 Tom Tromey <tromey@redhat.com>
195 * testsuite/libjava.lang/pr21844.java: New file.
196 * testsuite/libjava.lang/pr21844.out: New file.
198 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
201 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
204 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
206 * java/text/MessageFormat.java (parse): When parsing strings, check
207 for an empty pattern trailer.
209 2005-06-06 Keith Seitz <keiths@redhat.com>
211 * gnu/classpath/jdwp/util/Signature.java: New file.
212 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
214 2005-06-05 Anthony Green <green@redhat.com>
216 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
219 2005-06-04 Anthony Green <green@redhat.com>
221 * java/net/URLClassLoader.java: import gnu.gcj.Core,
222 and gnu.java.net.protocol.core.CoreInputStream.
223 (CureURLLoader): New class.
224 (CoreResource): New class.
225 (addURLImpl): Add special treatment for the "core" protocol.
226 * gnu/gcj/natCore.cc (find): New method.
227 * gnu/gcj/Core.java (find): New method.
229 2005-06-03 Keith Seitz <keiths@redhat.com>
231 * gnu/classpath/jdwp/transport/ITransport.java: New file.
232 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
233 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
235 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
237 * jawt.c: Remove malloc.h, covered by stdlib.h.
239 * testsuite/libjava.jni/jni.exp
240 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
243 2005-06-02 Keith Seitz <keiths@redhat.com>
245 * gnu/classpath/jdwp/transport/TransportException.java: New file.
247 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
249 * mauve-libgcj: Remove implemented classes from the fail section.
250 Add two new not implemented to it.
252 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
254 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
255 AC_SUBST definition from configure.host.
256 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
257 to -fomit-frame-pointer on 32-bit x86 targets.
259 2005-06-01 Tom Tromey <tromey@redhat.com>
261 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
263 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
266 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
267 (static): Add possessive matching to JAVA_1_4 syntax.
268 * gnu/regexp/RETokenRepeated.java (possessive): New field.
269 (makePossessive, isPossessive): New methods.
270 (match): Don't back off during possessive matching.
271 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
272 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
275 2005-06-01 Keith Seitz <keiths@redhat.com>
277 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
278 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
279 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
281 2005-06-01 Tom Tromey <tromey@redhat.com>
284 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
285 (currentLoader): New method.
286 * java/io/ObjectInputStream.java (resolveProxyClass): Use
288 (currentLoader): Now native.
289 (currentClassLoader): Removed.
290 * testsuite/libjava.lang/pr21785.java: New file.
291 * testsuite/libjava.lang/pr21785.out: New file.
293 2005-06-01 Tom Tromey <tromey@redhat.com>
296 * java/lang/natString.cc (substring): Changed sharing heuristic.
298 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
301 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
302 MAXPATHLEN. Format exception message using a StringBuffer instead.
304 2005-05-29 Michael Koch <konqueror@gmx.de>
307 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
309 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
311 * ChangeLog: Fix typo.
313 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
315 Testsuite adjustments for PR java/19870.
316 * testsuite/libjava.lang/PR19870.java: New testcase.
317 * testsuite/libjava.lang/PR19870.out: Expected output for the
319 * testsuite/libjava.jacks/jacks.xfail: Add
320 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
323 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
325 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
326 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
327 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
329 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
330 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
331 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
332 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
334 2005-05-25 Richard Henderson <rth@redhat.com>
337 * sysdep/descriptor-n.h: New file.
338 * sysdep/descriptor-y.h: New file.
339 * sysdep/powerpc/descriptor.h: New file.
340 * configure.host: Set $descriptor_h appropriate for the host.
341 * configure.ac: Link it.
342 * configure: Regenerate.
343 * stacktrace.cc: Include sysdep/descriptor.h.
344 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
346 2005-05-25 Chris Burdess <dog@gnu.org>
348 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
349 end entity callbacks.
351 2005-05-24 Gary Benson <gbenson@redhat.com>
354 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
355 Handle DateFormat.DEFAULT case correctly.
357 2005-05-21 Tom Tromey <tromey@redhat.com>
360 * java/lang/ref/natReference.cc (find_slot): Handle case where
361 table has no NULL entries.
362 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
363 table has no NULL entries.
365 2005-05-22 Andreas Jaeger <aj@suse.de>
367 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
370 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
372 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
374 2005-05-19 Richard Henderson <rth@redhat.com>
376 * exception.cc: Revert 05-17 gcc_unreachable change.
378 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
380 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
381 _Jv_RegisterInitiatingLoader to register array classes, not
383 (_Jv_RegisterInitiatingLoader): Give up if called very early during
384 bootstrapping. Add a FIXME to handle this case better.
386 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
388 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
390 (libgcj_la_SOURCES): New. Move sources here.
391 (libgcj.la): Remove rule.
393 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
396 * gnu/java/security/provider/DSASignature.java: Import updates
399 2005-05-18 Anthony Green <green@redhat.com>
401 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
402 classpath_jawt_object_unlock, classpath_jawt_create_lock,
403 classpath_jawt_destroy_lock): New functions.
404 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
405 classpath_jawt_object_unlock, classpath_jawt_create_lock,
406 classpath_jawt_destroy_lock): New functions.
407 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
409 * jawt.c: #include malloc.h.
410 (_Jv_Lock): Use lock.
412 (_Jv_GetDrawingSurface): Initialize lock.
413 (_Jv_FreeDrawingSurface): Destroy lock.
414 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
416 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
418 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
419 * Makefile.in: Regenerate.
421 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
423 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
424 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
425 * aclocal.m4, configure, config.h.in, include/config.h.in,
426 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
427 external/Makefile.in, external/sax/Makefile.in,
428 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
430 2005-05-17 David Daney <ddaney@avtrex.com>
433 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
435 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
437 * exception.cc (abort): Remove std::abort hack.
438 (gcc_unreacheable): Define.
440 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
442 * Makefile.am (Makefile.deps): Do not create native.list and
444 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
445 * Makefile.in: Regenerate.
447 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
449 * configure.ac (--enable-libgcj-multifile): Remove.
451 * Makefile.am (all_native_compiled_source_files,
452 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
453 all_libgcj_lo_files, all_xlib_lo_files,
454 all_java_deps_files, all_java_stamp_files,
455 all_java_filelist_files): New variables.
456 (EXTRA_DIST): New Automake variable.
457 (CLEANFILES): Add .stamp, .list and .lo files.
458 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
459 (classes.stamp): Depend on $(all_java_stamp_files).
460 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
461 going through write_entries_to_file.
463 (all_java_source_files, all_property_files): Move earlier.
464 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
465 all_java_class_files): Remove.
466 (gtk_awt_peer_sources): Rename to...
467 (gtk_awt_peer_source_files): ... this. Adjust throughout.
470 (libgcj0_convenience_la_SOURCES): Remove Java source files.
471 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
472 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
473 (libgcj_la_SOURCES): Remove.
474 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
475 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
476 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
478 * configure: Regenerate.
479 * Makefile.in: Regenerate.
480 * external/Makefile.in: Regenerate.
481 * external/sax/Makefile.in: Regenerate.
482 * external/w3c_dom/Makefile.in: Regenerate.
483 * gcj/Makefile.in: Regenerate.
484 * include/Makefile.in: Regenerate.
485 * libltdl/Makefile.in: Regenerate.
486 * testsuite/Makefile.in: Regenerate.
488 2005-05-16 Tom Tromey <tromey@redhat.com>
490 * java/nio/charset/Charset.java (encode, decode): Synchronize on
491 'this', not the class.
493 2005-05-16 Tom Tromey <tromey@redhat.com>
495 * gnu/java/net/protocol/http/Headers.java (parse): Include final
498 2005-05-16 Tom Tromey <tromey@redhat.com>
501 * java/net/URI.java (unquote): Handle lower-case letters as well.
503 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
506 * gnu/regexp/RE.java: Add support for quoting constructs.
508 2005-05-15 Tom Tromey <tromey@redhat.com>
510 * java/lang/String.java (startsWith): Fixed javadoc.
512 2005-05-15 Tom Tromey <tromey@redhat.com>
515 * testsuite/libjava.compile/pr21519.java: New file.
516 * testsuite/libjava.compile/pr21519.no-link: New file.
518 2005-05-15 Tom Tromey <tromey@redhat.com>
520 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
522 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
525 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
526 interrupt status flag if _Jv_CondWait is interrupted.
528 2005-05-13 Tom Tromey <tromey@redhat.com>
530 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
533 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
535 * include/jvm.h (gcj::verifyClasses): Declare.
536 * link.cc (gcj::verbose_class_flag): Moved.
537 * prims.cc (gcj::verifyClasses): Define here.
538 (gcj::verbose_class_flag): Move definition here.
539 (_Jv_Linker::wait_for_state): Don't call verify_class
540 if gcj::verifyClasses is not set.
541 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
543 2005-05-12 Aaron Luchko <aluchko@redhat.com>
545 * gij.cc (main): Recognize '-verify', '-noverify', and
548 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
550 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
552 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
554 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
557 2005-05-11 Tom Tromey <tromey@redhat.com>
559 * external/w3c_dom/Makefile.in: Rebuilt.
560 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
562 * external/sax/Makefile.in: Rebuilt.
563 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
565 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
567 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
568 Call _Jv_CopyClassesToSystemLoader.
569 * java/lang/natClassLoader.cc (system_class_list): New global.
570 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
572 (_Jv_CopyClassesToSystemLoader): New function.
573 (SYSTEM_LOADER_INITIALIZED): New define.
574 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
575 (_Jv_CheckABIVersion): Use it.
576 (_Jv_ClassForBootstrapLoader): New function.
577 * Makefile.in: Rebuilt.
578 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
580 2005-05-10 Tom Tromey <tromey@redhat.com>
582 * gcj/javaprims.h: Updated.
583 * java/lang/String.java (String(StringBuilder)): New constructor.
584 * java/lang/natStringBuilder.cc: New file.
585 * java/lang/StringBuilder.java: New file.
586 * Makefile.in: Rebuilt.
587 * Makefile.am (core_java_source_files): Added StringBuilder.java.
588 (nat_source_files): Added natStringBuilder.cc.
590 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
593 * testsuite/libjava.jacks/jacks.xfail: Adjust.
595 2005-05-09 Mike Stump <mrs@apple.com>
597 * configure: Regenerate.
599 2005-05-09 David Daney <ddaney@avtrex.com>
601 * java/util/BitSet.java (get(int, int)): Fix breakage when
602 requested set doesn't start on a multiple of 64.
604 2005-05-07 Matthias Klose <doko@debian.org>
606 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
608 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
610 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
611 * Makefile.in: Regenerate.
612 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
613 (createCompatibleVolatileImage(int,int)): Implement.
614 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
616 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
618 (createVolatileImage): Implement.
619 (createBuffers): Likewise.
620 (getBackBuffer): Likewise.
622 (destroyBuffers): Likewise.
623 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
624 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
625 (CanvasFlipBufferStrategy): Likewise.
626 (createBufferStrategy(int)): New method.
627 (createBufferStrategy(int,BufferCapabilities)): Likewise.
628 * java/awt/Component.java (BltBufferStrategy): Implement and
630 (FlipBufferStrategy): Likewise.
631 * java/awt/Window.java (WindowBltBufferStrategy): New class.
632 (WindowFlipBufferStrategy): Likewise.
633 (createBufferStrategy(int)): New method.
634 (createBufferStrategy(int,BufferCapabilities)): Likewise.
635 (getBufferStrategy): Likewise.
636 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
637 front to frontCaps and back to backCaps.
639 2005-05-06 Michael Koch <konqueror@gmx.de>
641 * java/awt/BufferCapabilities.java
642 (BufferCapabilities): Merged javadoc.
644 2005-05-06 Michael Koch <konqueror@gmx.de>
646 * java/util/Locale.java
647 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
648 (getLocale): New methods. Use it everywhere where instances of Locales
650 (getDisplayLanguage): Merged javadoc.
651 (getDisplayCountry): Likewise.
652 (getDisplayVariant): Likewise.
654 2005-05-06 Archie Cobbs <archie@dellroad.org>
656 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
657 use DeleteLocalRef() to avoid exhausting local native references.
659 2005-05-06 Mark Wielaard <mark@klomp.org>
661 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
662 (window_delete_cb): Don't use C++ style comments.
664 2005-05-06 Robert Schuster <thebohemian@gmx.net>
666 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
669 2005-05-06 Robert Schuster <thebohemian@gmx.net>
671 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
672 (window_delete_cb): Made the function return TRUE.
674 2005-05-06 Roman Kennke <roman@kennke.org>
676 * javax/swing/text/PlainView.java
677 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
679 * javax/swing/text/Utilities.java
680 (drawTabbedText): Initilialize local variable pos correctly.
682 2005-05-06 Roman Kennke <roman@kennke.org>
684 * javax/swing/text/AbstractDocument.java
685 (LeafElement): Made start and end package private fields for
686 effective reindexing.
687 * javax/swing/text/PlainDocument.java
688 (constructor): The field rootElement is always BranchElement,
689 so we handle it as such.
690 (removeUpdate): Rewritten reindexing for removeUpdate so that
691 the actual removal is taken into account.
693 2005-05-06 Roman Kennke <roman@kennke.org>
695 * javax/swing/text/GapContent.java:
696 Removed debugging output stuff, which I accidentally left in.
698 2005-05-06 Roman Kennke <roman@kennke.org>
700 * javax/swing/text/GapContent.java:
701 Implemented a real GapContent. Only the public methods have
702 been implemented so far and still no UndoableEdit support.
704 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
706 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
709 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
711 * java/awt/image/BufferStrategy.java: Document.
713 * java/awt/BufferCapabilities.java: Document.
715 2005-05-04 Tom Tromey <tromey@redhat.com>
717 * java/nio/channels/FileLock.java (toString): Entirely avoid
720 2005-05-04 Andrew Overholt <overholt@redhat.com>
722 * java/nio/channels/FileLock.java (toString): Re-implement using
725 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
727 * java/awt/ImageCapabilities.java: Document.
729 * java/awt/image/VolatileImage.java: Unindent copyright header.
731 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
733 * java/awt/image/VolatileImage.java: Document.
735 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
737 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
738 (init_glib_threads): Check if threading system is already
741 2005-05-03 Andrew Overholt <overholt@redhat.com>
744 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
745 could not be acquired.
746 * java/nio/channels/FileLock.java (toString): Re-implement to be
747 in line with other implementations.
749 2005-05-03 Tom Tromey <tromey@redhat.com>
751 * java/lang/VMSecurityManager.java (currentClassLoader): Use
752 'systemClasssLoader' directly.
754 2005-05-03 Tom Tromey <tromey@redhat.com>
756 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
757 call VMClassLoader.getSystemClassLoader.
759 2005-04-29 Michael Koch <konqueror@gmx.de>
761 * java/net/NetworkInterface.java
763 (NetworkInterface(String,InetAddress)): Made package-private.
764 (NetworkInterface(String,InetAddress[])): New constructor.
765 (getRealNetworkInterfaces): Removed.
766 (getByName): Use VMNetworkInterface.getInterfaces().
767 (getByInetAddress): Likewise.
768 (getNetworkInterfaces): Likewise.
769 * java/net/VMNetworkInterface.java,
770 java/net/natVMNetworkInterfaceNoNet.cc,
771 java/net/natVMNetworkInterfacePosix.c,c
772 java/net/natVMNetworkInterfaceWin32.cc: New files.
773 * java/net/natNetworkInterfaceNoNet.cc,
774 java/net/natNetworkInterfacePosix.cc,
775 java/net/natNetworkInterfaceWin32.cc: Removed.
778 * configure, Makefile.in: Regenerated.
780 2005-04-29 Andrew Haley <aph@redhat.com>
782 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
784 2005-04-29 Dalibor Topic <robilad@kaffe.org>
786 * java/nio/channels/FileChannelImpl.java
787 (FileChannelImpl(String, int)): Removed.
788 (FileChannelImpl(File, int)): Added. Check if opened file is a
790 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
791 Call FileChannelImpl(File, int).
792 * java/io/FileOutputStream.java (FileInputStream): Call
793 FileChannelImpl(File, int).
794 * java/io/RandomAccessFile.java (RandomAccessFile):
795 Call FileChannelImpl(File, int). Switched constructors around.
797 2005-04-27 Andrew Haley <aph@redhat.com>
800 * prims.cc (_Jv_ResolvePoolEntry): New function.
801 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
802 * link.cc (_Jv_Linker::find_field): New arg: found_class.
803 (resolve_pool_entry): Initialize the class in which a field is
805 (link_symbol_table): Pass new arg to found_class.
807 2005-04-29 Michael Koch <konqueror@gmx.de>
809 * java/nio/charset/Charset.java
810 (provider): Reformatted.
812 2005-04-29 Michael Koch <konqueror@gmx.de>
814 * gnu/java/net/protocol/http/HTTPConnection.java:
815 (userAgent): Initialize from system properties.
816 (initUserAgent): Removed.
818 2005-04-29 Mark Wielaard <mark@klomp.org>
820 * java/util/ResourceBundle.java (getObject): Clarify
821 MissingResourceException detailed message.
822 (tryBundle(String,ClassLoader)): Likewise.
824 2005-04-29 Robert Schuster <thebohemian@gmx.net>
826 * java/beans/FeatureDescriptor.java:
827 (getShortDescription): Implemented fallback mechanism and fixed
828 documentation (fixes bug #12637).
829 (getDisplayName): Dito.
831 2005-04-29 Robert Schuster <thebohemian@gmx.net>
833 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
834 will now be set correctly.
835 (flushCaches): Now flushes all cached intermediate data.
837 2005-04-28 Michael Koch <konqueror@gmx.de>
839 * java/net/InetAddress.java
840 (aton): Fixed javadoc.
843 2005-04-28 Tom Tromey <tromey@redhat.com>
845 * javax/swing/Timer.java
846 (drainEvents, queueEvent): Now package-private.
848 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
850 * javax/swing/Timer.java
851 (constructor): Assigning initialDelay.
853 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
855 * javax/swing/Timer.java
856 (Waker.run): firing the first action event.
858 2005-04-28 Michael Koch <konqueror@gmx.de>
860 * javax/swing/Timer.java: Reordered all fields and methods,
863 2005-04-28 Michael Koch <konqueror@gmx.de>
865 * javax/swing/Timer.java: Javadocs merged
868 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
870 * gnu/java/net/protocol/file/Connection.java
871 (StaticData): New inner class to contain statics.
872 (connect, getHeaderField): Modified to use StaticData.
874 2005-04-28 Michael Koch <konqueror@gmx.de>
876 * gnu/java/net/protocol/file/Connection.java
877 (lineSeparator): Initialize with SystemProperties.getProperty().
879 2005-04-27 Chris Burdess <dog@gnu.org>
881 * gnu/java/net/protocol/file/Connection.java: Return correct content
882 length for directory listing.
883 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
884 #11285: return valid URLs for directories.i
886 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
888 * Makefile.am (ordinary_java_source_files): Add
889 gnu/java/net/protocol/https/Handler.java.
890 * Makefile.in: Regenerate.
891 * java/net/URL.java: Remove org.metastatic.jessie from default
892 protocol search path.
894 2005-04-27 Chris Burdess <dog@gnu.org>
896 * gnu/java/net/protocol/https/Handler.java: New file.
898 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
900 * javax/imageio/spi/IIORegistry.java (IIORegistry):
901 Don't assume that awt Toolkit is always ClasspathToolkit.
903 2005-04-27 Chris Burdess <dog@gnu.org>
905 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
906 absolute and relative paths in Location header.
908 2005-04-27 Chris Burdess <dog@gnu.org>
910 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
911 FileNotFoundException and implement getErrorStream on 404.
913 2005-04-27 Sven de Marothy <sven@physto.se>
915 * java/util/TimeZone.java,
916 (getDefaultDisplayName): Fix previous fix.
918 2005-04-27 Sven de Marothy <sven@physto.se>
920 * java/util/TimeZone.java,
921 (getDefaultDisplayName): Don't print zero offsets.
923 2005-04-27 Roman Kennke <roman@kennke.org>
925 * javax/swing/plaf/basic/BasicScrollBarUI
926 (getThumbBounds): Do not make thumb smaller than
928 * javax/swing/plaf/metal/MetalLookAndFeel
929 (initComponentDefaults): Added color defaults for ScrollBar.
930 * javax/swing/plaf/metal/MetalScrollBarUI
932 (getMinimumThumbSize): Added.
934 2005-04-27 Roman Kennke <roman@kennke.org>
936 * javax/swing/plaf/metal/MetalLookAndFeel
937 (initComponentDefaults): Added some default colors.
939 2005-04-27 Roman Kennke <roman@kennke.org>
941 * javax/swing/plaf/basic/BasicScrollBarUI.java
942 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
943 to 'ScrollBar.thumbShadow'. The formes does not exist.
944 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
946 2005-04-27 Roman Kennke <roman@kennke.org>
948 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
949 * javax/swing/BoxLayout.java: Likewise.
950 * javax/swing/UIManager.java: Likewise.
951 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
952 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
953 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
954 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
955 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
956 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
957 * javax/swing/text/Document.java: Likewise.
958 * javax/swing/text/GapContent.java: Likewise.
959 * javax/swing/text/SimpleAttributeSet.java: Likewise.
960 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
962 2005-04-27 Roman Kennke <roman@kennke.org>
964 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
965 (getPropertyPrefix): Added.
967 2005-04-27 Roman Kennke <roman@kennke.org>
969 * javax/swing/plaf/basic/BasicButtonUI.java
970 (getPropertyPrefix): Added.
971 (installDefaults): Use getPropertyPrefix instead of hard-coded
974 2005-04-27 Roman Kennke <roman@kennke.org>
976 * javax/swing/JToggleButton.java
977 (JToggleButton): Removed horizontalAlignment setting, this
978 was wrong. Added setting of an actionCommand, ToggleButtons
979 have "" as default actionCommand.
981 2005-04-27 Michael Koch <konqueror@gmx.de>
983 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
984 to work around CNI limitation.
986 2005-04-27 Sven de Marothy <sven@physto.se>
988 * java/nio/charset/Charset.java:
989 (defaultCharset()): New method.
990 Status updated to 1.5
992 2005-04-27 Sven de Marothy <sven@physto.se>
994 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
996 2005-04-27 Sven de Marothy <sven@physto.se>
998 * java/nio/charset/Charset.java: Reset cached de/encoders.
1000 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1002 * java/nio/charset/Charset.java (forName): Throws
1003 IllegalArgumentException when argument is null
1004 and added documentation.
1006 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1008 * java/nio/charset/Charset.java (providers):
1009 New method to make an array of CharsetProviders defined in
1010 META-INF/services/java.nio.charset.spi.CharsetProvider.
1011 (charsetForName, availableCharsets): Use the
1012 new method providers().
1014 2005-04-26 Michael Koch <konqueror@gmx.de>
1016 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1017 Fixed typos in javadocs.
1018 (isSiteLocalAddress): Fixed handling of byte values.
1019 (isMCLinkLocal): Likewise.
1020 * java/net/Inet4Address.java
1021 (isMulticastAddress): Call super method.
1022 (isLoopbackAddress): Likewise.
1023 (isAnyLocalAddress): Likewise.
1024 (isLinkLocalAddress): Likewise.
1025 (isSiteLocalAddress): Likewise.
1026 (isMCGlobal): Likewise.
1027 (isMCNodeLocal): Likewise.
1028 (isMCLinkLocal): Likewise.
1029 (isMCSiteLocal): Likewise.
1030 (isMCOrgLocal): Likewise.
1031 (getHostAddress): Likewise.
1033 2005-04-26 Sven de Marothy <sven@physto.se>
1035 * java/net/InetAddress.java
1036 (toString): Don't print empty hostnames.
1038 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1041 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1042 'false' to native lock().
1043 (lock): Pass 'true' to native lock().
1045 2005-04-26 Michael Koch <konqueror@gmx.de>
1047 * java/net/InetAddress.java:
1048 Fixed typos in javadocs.
1050 2005-04-26 Andrew Haley <aph@redhat.com>
1053 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1056 2005-04-26 Tom Tromey <tromey@redhat.com>
1058 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1059 gnu): Now package-private.
1060 * javax/swing/text/html/parser/DocumentParser.java (parser,
1061 callBack, gnu): Now package-private.
1062 * javax/swing/text/StringContent.java (content, setOffset,
1063 checkLocation): Now package-private.
1064 * javax/swing/text/JTextComponent.java (doc): Now
1066 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1067 lastGoodOrientation, origParent, borders, cachedBounds,
1068 cachedOrientation, DragWindow): Now package-private.
1069 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1070 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1071 tabAreaRect, contentRect, createIncreaseButton,
1072 createDecreaseButton, findPointForIndex): Now package-private.
1073 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1074 (currentDividerLocation, moveDividerTo): Now package-private.
1075 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1077 * javax/swing/plaf/basic/BasicScrollBarUI.java
1078 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1079 Now package-private.
1080 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1081 (topWindowListener): Now package-private.
1082 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1083 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1084 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1086 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1088 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1089 Now package-private.
1090 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1092 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1093 borderInsets): Now package-private.
1094 (arrowButtonWidth): Likewise. Now a constant.
1095 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1096 makeTabs, updatePreviewPanel): Now package-private.
1097 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1098 darkShadow, highlight): Now package-private.
1099 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1100 (addColorToQueue): Now package-private.
1101 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1102 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1103 GSpinner, BSpinner): Now package-private.
1104 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1105 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1106 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1107 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1108 updateTrack): Now package-private.
1109 * javax/swing/TransferHandler.java (clipboard): Now
1111 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1113 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1115 * javax/swing/RepaintManager.java (globalManager): Now
1117 * javax/swing/JFormattedTextField.java (editValid): Now
1119 * javax/swing/JColorChooser.java (makeModal): Now
1121 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1122 index, path): Now package-private.
1123 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1124 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1125 pointEquals): Now package-private.
1126 * java/awt/geom/Arc2D.java (type): Now package-private.
1127 * java/awt/Window.java (windowFocusOwner): Now package-private.
1128 * java/awt/TextComponent.java (editable, selectionStart,
1129 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1131 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1133 * java/awt/MenuComponent.java (focusListener): Now
1135 * java/awt/Frame.java (state): Now package-private.
1136 * java/awt/Choice.java (pItems): Now package-private.
1137 * java/awt/Checkbox.java (state): Now package-private.
1138 * java/awt/Button.java (actionCommand, label): Now
1140 * gnu/javax/swing/text/html/parser/support/Parser.java
1141 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1143 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1145 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1146 clip, transform, font, comp): Now package-private.
1148 2005-04-26 Tom Tromey <tromey@redhat.com>
1150 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1153 2005-04-26 Mark Wielaard <mark@klomp.org>
1155 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1156 to MalformedURLException.
1158 2005-04-26 Michael Koch <konqueror@gmx.de>
1160 * java/security/AccessControlContext.java:
1162 (protectedDomains): Renamed from 'protectionDomain'.
1163 * java/security/AccessController.java:
1166 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1168 * gnu/java/security/action/GetSecurityPropertyAction.java
1169 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1170 of extending GetPropertyAction.
1173 (setParamters): New methods.
1174 (GetSecurityPropertyAction): Use new setParameters methods.
1176 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1178 * java/security/Security.java,
1179 java/security/cert/X509CRLSelector.java,
1180 java/security/cert/X509CertSelector.java:
1181 Modified to use SystemProperties.
1183 2005-04-26 Michael Koch <konqueror@gmx.de>
1185 * java/lang/System.java
1186 (setSecurityManager): Fixed comment.
1187 (getSecurityManager): Removed obsolete comment.
1189 2005-04-25 Tom Tromey <tromey@redhat.com>
1191 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1193 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1195 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1196 (connectSignals): Realize the window widget after connecting
1199 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1201 * java/awt/GraphicsEnvironment.java
1202 (localGraphicsEnvironment): New field.
1203 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1205 (isHeadless): Added support for java.awt.headless property.
1206 (isHeadlessInstance): Call headless().
1208 2005-04-25 Roman Kennke <roman@kennke.org>
1210 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1211 (getDisplayMode): Added. Returns the current display mode.
1212 (isFullScreenSupported): Added.
1213 * java/awt/GraphicsDevice.java
1214 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1215 This resizes and relocates the fullscreen window so that it uses
1216 the whole screen. This is not a fully accelerated fullscreen
1219 2005-04-25 Michael Koch <konqueror@gmx.de>
1221 * java/lang/Runtime.java,
1222 java/lang/SecurityManager.java,
1223 java/lang/System.java,
1224 java/lang/ThreadGroup.java:
1225 Replaced java.lang.Runtime.securityManager by
1226 java.lang.SecurityManager.current (as used in GNU classpath).
1228 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1230 * java/awt/Transparency.java
1231 (getTransparency): fixed API docs.
1233 2005-04-25 Archie Cobbs <archie@dellroad.org>
1235 * java/lang/Throwable.java: simplify initializing cause in constructor
1237 2005-04-25 Michael Koch <konqueror@gmx.de>
1239 * gnu/classpath/SystemProperties.java: New file.
1240 * gnu/classpath/natSystemProperties.cc: New file.
1241 * java/lang/Runtime.java
1242 (defaultProperties): Removed.
1244 (): Made thrown exceptions more verbose.
1245 (insertSystemProperties): Removed.
1246 * java/lang/System.java
1248 (properties): Likewise.
1249 (setSecurityManager): Reordered modifiers.
1250 (getenv): Improved javadoc.
1252 (isWordsBigEndian): Removed.
1253 * java/lang/natRuntime.cc
1254 (_Jv_SetDLLSearchPath): Likewise.
1255 (file_encoding): Likewise.
1256 (default_file_encoding): Likewise.
1257 (getpwuid_adaptor): Likewise.
1258 (insertSystemProperties): Likewise.
1259 * java/lang/natSystem.cc
1260 (isWordsBigEndian): Likewise.
1262 (ordinary_java_source_files):
1263 Added gnu/classpath/SystemProperties.java.
1264 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1265 * Makefile.in: Regenerated.
1267 2005-04-25 Roman Kennke <roman@kennke.org>
1269 * javax/swing/plaf/basic/BasicScrollBarUI.java
1270 (initDefaults): Initialize thumb*Color fields correctly.
1272 2005-04-25 Roman Kennke <roman@kennke.org>
1274 * javax/swing/text/GapContent.java:
1277 2005-04-25 Roman Kennke <roman@kennke.org>
1279 * javax/swing/plaf/metal/MetalBorders.java:
1280 Added inner class ScrollPaneBorder.
1281 * javax/swing/plaf/metal/MetalLookAndFeel.java
1282 (initComponentDefaults): Added default for "ScrollPane.border"
1283 to use the new ScrollPaneBorder.
1285 2005-04-25 Roman Kennke <roman@kennke.org>
1287 * javax/swing/text/AbstractDocument.java:
1288 Added FIXME comments. This class still has to be
1289 implemented thread-safe.
1291 2005-04-25 Roman Kennke <roman@kennke.org>
1293 * javax/swing/tree/DefaultTreeSelectionModel.java
1294 (DefaultTreeSelectionModel): Initialize listenerList here.
1296 2005-04-25 Roman Kennke <roman@kennke.org>
1298 * javax/swing/plaf/metal/MetalTextFieldUI.java
1299 (createUI): Return one instance per Component instead of a
1302 2005-04-25 Roman Kennke <roman@kennke.org>
1304 * javax/swing/text/Document.java:
1305 Added API documentation comments.
1307 2005-04-25 Roman Kennke <roman@kennke.org>
1309 * javax/swing/text/AbstractDocument.java
1310 (getDocumentProperties): Implemented.
1311 (setDocumentProperties): Implemented.
1312 (getProperty): Implemented.
1313 (putProperty): Implemented.
1315 2005-04-25 Roman Kennke <roman@kennke.org>
1317 * javax/swing/BoxLayout
1318 (preferredLayoutSize): Fixed computation so that it correctly
1319 adds the top and bottom insets of the container.
1321 2005-04-25 Roman Kennke <roman@kennke.org>
1323 * javax/swing/plaf/basic/BasicMenuItemUI.java
1324 (paintText): Make use of the 'selectionForeground' UI default
1327 2005-04-25 Roman Kennke <roman@kennke.org>
1329 * javax/swing/plaf/basic/BasicLookAndFeel.java
1330 (initSystemColorDefaults): Modified colors to match the
1331 BasicLookAndFeel in the reference implementation.
1332 (initComponentDefaults): Likewise.
1334 2005-04-25 Tom Tromey <tromey@redhat.com>
1336 * include/jni.h (_Jv_va_list): Removed.
1337 Moved configuration code...
1338 * include/jni_md.h: ... here. New file.
1339 * include/Makefile.in: Rebuilt.
1340 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1342 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1344 * java/io/FileInputStream.java (FileInputStream(File)),
1345 java/io/FileOutputStream.java (FileOutputStream(File)):
1346 Removed unnecessary File.isDirectory() check.
1348 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1350 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1351 gij if get_multilibs fails.
1353 2005-04-22 Anthony Green <green@redhat.com>
1355 * jni.cc (natrehash): Don't bother clearing memory again.
1356 * interpret.cc (do_allocate_static_fields): Ditto.
1357 * java/lang/natString.cc (rehash): Ditto.
1359 2005-04-22 Roman Kennke <roman@kennke.org>
1361 * javax/swing/plaf/basic/BasicLookAndFeel.java
1362 (initComponentDefaults): Changed Button.border to be
1363 BasicBorders.getButtonBorder as it should be.
1365 2005-04-22 Roman Kennke <roman@kennke.org>
1367 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1368 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1369 should according to a mauve testcase, instead of the preferred
1372 2005-04-22 Roman Kennke <roman@kennke.org>
1374 * javax/swing/JMenu.java
1375 (add): add(Component) now calls PopupMenu.insert(..) instead of
1376 PopupMenu.add(..). add(..) is not implemented for Component,
1377 so JComponent.add(..) is called instead, adding the component
1380 2005-04-22 Roman Kennke <roman@kennke.org>
1382 * javax/swing/plaf/basic/BasicButtonListener.java
1383 (mousePressed): replaced query to getModifiersEx with getModifiers.
1384 This method relied on faulty behaviour in getModifierEx.
1385 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1386 This method relied on faulty behaviour in getModifierEx.
1388 2005-04-22 Roman Kennke <roman@kennke.org>
1390 * javax/swing/plaf/metal/MetalLookAndFeel.java
1391 (getDefaults): Call addCustomEntriesToTable on the theme.
1393 2005-04-22 Roman Kennke <roman@kennke.org>
1395 * javax/swing/tree/DefaultTreeSelectionModel.java
1396 (constructor): Added implementation.
1397 (getRowMapper): Added implementation.
1398 (setSelectionMode): Added implementation.
1399 (getSelectionMode): Added implementation.
1400 (getSelectionPath): Added implementation.
1401 (getSelectionPaths): Added implementation.
1402 (getSelectionCount): Added implementation.
1403 (isSelectionEmpty): Added implementation.
1404 (getSelectionRows): Added implementation.
1405 (getMinSelectionRow): Added implementation.
1406 (getMaxSelectionRow): Added implementation.
1407 (getLeadSelectionRow): Added implementation.
1408 (getLeadSelectionPath): Added implementation.
1410 2005-04-22 Casey Marshall <csm@gnu.org>
1412 * gnu/java/security/der/DERValue.java
1413 (getValueAs): new method.
1414 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1415 (<init>): read both dates with 'DERValue.getValueAs', with
1416 'GENERALIZED_TIME' as the argument.
1418 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1420 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1421 be null, check for that case and don't deference it.
1423 2005-04-22 Sven de Marothy <sven@physto.se>
1425 * java/util/logging/LogManager.java: Reformatted.
1426 (readConfiguration): If a logger for a key is not found, create one.
1428 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1430 * java/rmi/Naming.java:
1431 Added class documentation.
1432 (lookup(String)): Call parseURL and getName.
1433 (bind(String,java.rmi.Remote)): Likewise.
1434 (unbind(String)): Likewise.
1435 (rebind(String, java.rmi.Remote)): Likewise.
1436 (list(String)): Call parseURL.
1437 (parseURL(String)): New method to handle parsing and defaults.
1438 (getName(java.net.URL)): New method to handle finding the service name.
1440 2005-04-21 Tom Tromey <tromey@redhat.com>
1442 * java/lang/natClass.cc (initializeClass): Link class.
1444 2005-04-21 Tom Tromey <tromey@redhat.com>
1446 * java/lang/AssertionError.java: Typo fix.
1448 2005-04-21 Tom Tromey <tromey@redhat.com>
1450 * java/lang/VMClassLoader.java (transformException): Removed.
1451 (resolveClass): No longer native. Now does nothing.
1452 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1454 2005-04-21 Anthony Green <green@redhat.com>
1457 * testsuite/libjava.special/special.exp,
1458 testsuite/libjava.special/pr21115I.java,
1459 testsuite/libjava.special/pr21115.java,
1460 testsuite/libjava.special/pr21115.out: New files.
1462 2005-04-21 Chris Burdess <dog@gnu.org>
1464 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1465 CRLF-delimited chunks.
1467 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1469 * java/net/URI.java:
1470 Added class documentation.
1471 (parseURI(String)): Only handle scheme-specific parts
1472 if URI is not opaque. Allow for parts that can't be null.
1473 (toString()): Output the scheme-specific part whole, rather
1474 than as its possibly non-existent components.
1476 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1478 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1479 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1480 Adjusted to match new regexp.
1482 2005-04-20 Michael Koch <konqueror@gmx.de>
1484 * gnu/java/net/protocol/file/Connection.java,
1485 gnu/java/net/protocol/jar/Connection.java:
1486 Reorganized import statements. Fixed @author tags.
1488 2005-04-20 Chris Burdess <dog@gnu.org>
1490 * java/io/DataOutputStream.java (writeUTF): Use block write for
1493 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1495 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1496 (readLine): Changed newline handling.
1498 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1500 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1501 ColorModel,byte[],int,int): Fixed byte to int conversion.
1503 2005-04-20 Michael Koch <konqueror@gmx.de>
1505 * java/io/FilePermission.java
1506 (serialVersionUID): Made private.
1507 (ALL_FILES): New constant.
1508 (implies): Handle '<<ALL FILES>>' case.
1510 2005-04-20 Sven de Marothy <sven@physto.se>
1512 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1513 (drawImage): Don't notify the image observer for offscreen images.
1514 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1515 (setPixels): Don't notify the image observer.
1517 2005-04-20 Sven de Marothy <sven@physto.se>
1519 * java/nio/ByteBufferImpl.java:
1520 (putChar): Inlined for speed.
1521 (put, get): Bulk methods can use arraycopy.
1522 * java/nio/CharBufferImpl.java:
1523 (put, get): Bulk methods can use arraycopy.
1525 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1527 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1529 * java/nio/CharBufferImpl.java
1530 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1531 (get(), put(char)): Inlined checks and field updates. Fixed to
1532 take array_offset into account.
1533 (get(int), put(int, char)): Fixed to take array_offset into account.
1535 2005-04-20 Sven de Marothy <sven@physto.se>
1537 * java/text/SimpleDateFormat.java:
1538 (formatWithAttribute): Pad year before truncating digits.
1540 2005-04-20 Michael Koch <konqueror@gmx.de>
1542 * gnu/java/net/PlainDatagramSocketImpl.java:
1543 Merged copyright header.
1544 * gnu/java/net/PlainSocketImpl.java:
1545 Reorganized import statements. Fixed @author tags.
1547 2005-04-20 Michael Koch <konqueror@gmx.de>
1549 * gnu/java/lang/ClassHelper.java,
1550 gnu/java/lang/reflect/TypeSignature.java:
1553 2005-04-20 Michael Koch <konqueror@gmx.de>
1555 * gnu/java/beans/IntrospectionIncubator.java:
1556 Fixed HTML tags in javadocs.
1558 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1560 * gnu/java/beans/IntrospectionIncubator.java
1561 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1562 set(), is(), add() and remove() with properties or events.
1564 2005-04-20 Michael Koch <konqueror@gmx.de>
1566 * gnu/java/awt/image/XBMDecoder.java:
1567 Fixed modifier order.
1569 2005-04-20 Roman Kennke <roman@kennke.org>
1571 * javax/swing/plaf/basic/BasicButtonUI.java
1572 (paint): This should not care about margin and insets
1573 at the same time, as insets already include the margin
1575 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1576 (getPreferredButtonSize): Likewise.
1577 * javax/swing/plaf/metal/MetalBorders.java
1578 (getBorderInsets): Likewise.
1580 2005-04-20 Roman Kennke <roman@kennke.org>
1582 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1583 (createMessageArea): The JPanel that holds the message area
1584 doesn't need to override getPreferredSize. This prevents some
1585 message components from rendering nicely.
1587 2005-04-20 Roman Kennke <roman@kennke.org>
1589 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1590 (createUI): Do not share instances between components.
1591 * javax/swing/plaf/metal/MetalSliderUI.java
1592 (createUI): Do not share instances between components.
1594 2005-04-20 Roman Kennke <roman@kennke.org>
1596 * javax/swing/plaf/metal/MetalBorders:
1597 (PopupMenuBorder): Added.
1598 * javax/swing/plaf/metal/MetalLookAndFeel
1599 (initComponentDefaults): Added PopupMenuBorder.
1601 2005-04-20 Roman Kennke <roman@kennke.org>
1603 * javax/swing/tree/DefaultTreeSelectionModel.java:
1604 Added API documentation all over the class.
1606 2005-04-20 Roman Kennke <roman@kennke.org>
1608 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1609 (installDefaults): Link managed JScrollPane in instance field.
1610 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1612 2005-04-20 Roman Kennke <roman@kennke.org>
1614 * javax/swing/plaf/basic/BasicScrollBarUI.java
1615 (PropertyChangeHandler.propertyChange): Add default
1616 to switch statement to avoid errors with unusual values
1618 (installComponents): Likewise.
1620 2005-04-20 Roman Kennke <roman@kennke.org>
1622 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1623 (createUI): Instances cannot be shared among JScrollPanes.
1625 2005-04-20 Roman Kennke <roman@kennke.org>
1627 * javax/swing/plaf/metal/MetalLookAndFeel.java
1628 (initComponentDefaults): Added defaults for Menu, MenuBar
1631 2005-04-20 Roman Kennke <roman@kennke.org>
1633 * javax/swing/plaf/basic/BasicScrollBarUI.java
1634 (installUI): Install listeners after everything all, otherwise
1635 we get strange NPEs in some situations, especially with
1637 (createIncreaseButton): Orientation is expected to be
1638 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1639 HORIZONTAL or VERTICAL.
1640 (createDecreaseButton): Orientation is expected to be
1641 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1642 HORIZONTAL or VERTICAL.
1643 (installComponents): Orientation for buttons is expected to be
1644 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1645 HORIZONTAL or VERTICAL.
1647 2005-04-20 Roman Kennke <roman@kennke.org>
1649 * javax/swing/JToolBar.java
1650 (addImpl): Adjust added AbstractButtons to look and feel like
1652 * javax/swing/plaf/metal/MetalBorders.java:
1653 Adjusted insets of ButtonBorder.
1654 (RolloverMarginBorder): Added class for toolbar buttons.
1655 (getButtonBorder): Adjusted factory method to return a shared
1656 instance of button border.
1657 (getToolbarButtonBorder): Added factory method to return a shared
1658 instance of toolbar button border.
1659 (getMarginBorder): Added factory method to return a shared
1660 instance of margin border.
1661 * javax/swing/plaf/metal/MetalButtonUI.java
1662 (installDefauls): If button is child of a JToolBar then set
1663 special border on this button.
1665 2005-04-20 Michael Koch <konqueror@gmx.de>
1667 * java/net/URLConnection.java
1668 (getContent): Fixed javadoc comment.
1670 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1672 * java/net/URL.java:
1673 (toURI()): Implemented.
1675 2005-04-19 Michael Koch <konqueror@gmx.de>
1677 * java/net/InetAddress.java
1678 (InetAddress): Fixed javadoc comment.
1680 (lookup): Added javadoc.
1681 (getFamily): Likewise.
1682 * java/net/ServerSocket.java
1683 (getChannel): Improved javadoc comment.
1685 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1687 * gnu/xml/dom/html2/DomHTMLParser.java:
1688 Changed 'enum' references to become 'enumeration'.
1690 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1692 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1694 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1696 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1697 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1698 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1699 (validateParameters(TagElement,htmlAttributeSet)):
1700 Replaced 'enum' with 'enumeration'.
1701 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1704 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1706 * javax/swing/text/html/parser/Entity.java (getType): New method.
1707 * javax/swing/text/html/parser/DocumentParser.java:
1708 Inherit from javax.swing.text.html.parser.Parser.
1710 2005-04-19 Chris Burdess <dog@gnu.org>
1712 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1713 check for HTML/XHTML namespace.
1715 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1717 * javax/swing/text/html/parser/Parser.java,
1718 javax/swing/text/html/parser/Entity.java:
1719 Inheriting from DTDConstants.
1720 * javax/swing/text/html/parser/AttributeList.java
1721 (getValues): Changed return type.
1722 * javax/swing/text/html/parser/DocumentParser
1723 (parse): Adding the callback parameter that receives
1726 2005-04-19 Chris Burdess <dog@gnu.org>
1728 * gnu/xml/dom/DomImpl.java,
1729 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1730 gnu/xml/dom/html2/DomHTMLDocument.java,
1731 gnu/xml/dom/html2/DomHTMLElement.java,
1732 gnu/xml/dom/html2/DomHTMLFormElement.java,
1733 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1734 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1735 gnu/xml/dom/html2/DomHTMLImpl.java,
1736 gnu/xml/dom/html2/DomHTMLInputElement.java,
1737 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1738 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1739 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1740 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1741 gnu/xml/dom/html2/DomHTMLTableElement.java,
1742 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1743 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1744 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1745 UI events, and tree utility functions.
1747 2005-04-19 Michael Koch <konqueror@gmx.de>
1749 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1750 gnu/javax/swing/text/html/parser/gnuDTD.java,
1751 gnu/javax/swing/text/html/parser/models/node.java:
1752 Reworked import statements.
1754 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1756 * javax/swing/text/html/HTMLDocument.java: New file.
1758 2005-04-19 Michael Koch <konqueror@gmx.de>
1760 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1762 * javax/swing/text/html/parser/AttributeList.java:
1763 Fixed order of modifiers.
1764 (AttributeList): Made final.
1765 * javax/swing/text/html/parser/ContentModel.java:
1766 Fixed html characters in javadocs.
1767 * javax/swing/text/html/parser/DTD.java
1768 (DTD): Don't implement java.io.Serializable directly.
1769 (getElement): Simplified.
1770 * javax/swing/text/html/parser/DTDConstants.java:
1772 * javax/swing/text/html/parser/Element.java:
1773 Fixed order of modifiers.
1774 * javax/swing/text/html/parser/Parser.java:
1775 Reformatted. Don't use fully-qualified class names.
1776 * javax/swing/text/html/parser/ParserDelegator.java:
1777 Fixed order of modifiers.
1778 * javax/swing/text/rtf/RTFParser.java:
1779 Re-ordered import statements.
1780 * javax/swing/text/rtf/RTFScanner.java:
1781 Removed unused import statement.
1783 2005-04-19 Chris Burdess <dog@gnu.org>
1785 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1786 gnu/xml/dom/html2/DomHTMLCollection.java,
1787 gnu/xml/dom/html2/DomHTMLDocument.java,
1788 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1790 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1791 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1792 gnu/xml/dom/html2/DomHTMLDivElement.java,
1793 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1794 gnu/xml/dom/html2/DomHTMLFontElement.java,
1795 gnu/xml/dom/html2/DomHTMLFormElement.java,
1796 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1797 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1798 gnu/xml/dom/html2/DomHTMLHRElement.java,
1799 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1800 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1801 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1802 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1803 gnu/xml/dom/html2/DomHTMLImageElement.java,
1804 gnu/xml/dom/html2/DomHTMLInputElement.java,
1805 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1806 gnu/xml/dom/html2/DomHTMLLIElement.java,
1807 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1808 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1809 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1810 gnu/xml/dom/html2/DomHTMLMapElement.java,
1811 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1812 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1813 gnu/xml/dom/html2/DomHTMLModElement.java,
1814 gnu/xml/dom/html2/DomHTMLOListElement.java,
1815 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1816 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1817 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1818 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1819 gnu/xml/dom/html2/DomHTMLParamElement.java,
1820 gnu/xml/dom/html2/DomHTMLPreElement.java,
1821 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1822 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1823 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1824 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1825 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1826 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1827 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1828 gnu/xml/dom/html2/DomHTMLTableElement.java,
1829 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1830 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1831 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1832 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1833 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1835 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1837 * javax/swing/text/ChangedCharSetException.java,
1838 javax/swing/text/html/HTMLEditorKit.java,
1839 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1840 javax/swing/text/html/parser/AttributeList.java,
1841 javax/swing/text/html/parser/ContentModel.java,
1842 javax/swing/text/html/parser/DocumentParser.java,
1843 javax/swing/text/html/parser/DTD.java,
1844 javax/swing/text/html/parser/DTDConstants.java,
1845 javax/swing/text/html/parser/Element.java,
1846 javax/swing/text/html/parser/Entity.java,
1847 javax/swing/text/html/parser/Parser.java,
1848 javax/swing/text/html/parser/TagElement.java,
1849 gnu/javax/swing/text/html/package.html,
1850 gnu/javax/swing/text/html/parser/gnuDTD.java,
1851 gnu/javax/swing/text/html/parser/HTML_401F.java,
1852 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1853 gnu/javax/swing/text/html/parser/htmlValidator.java,
1854 gnu/javax/swing/text/html/parser/package.html,
1855 gnu/javax/swing/text/html/parser/models/list.java,
1856 gnu/javax/swing/text/html/parser/models/node.java,
1857 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1858 gnu/javax/swing/text/html/parser/models/package.html,
1859 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1860 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1861 gnu/javax/swing/text/html/parser/models/transformer.java,
1862 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1863 gnu/javax/swing/text/html/parser/support/package.html,
1864 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1865 gnu/javax/swing/text/html/parser/support/Parser.java,
1866 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1867 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1868 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1869 gnu/javax/swing/text/html/parser/support/low/Location.java,
1870 gnu/javax/swing/text/html/parser/support/low/node.java,
1871 gnu/javax/swing/text/html/parser/support/low/package.html,
1872 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1873 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1874 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1875 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1877 * javax/swing/text/html/HTML.java,
1878 javax/swing/text/html/parser/ParserDelegator.java:
1879 New files (replacing).
1880 * javax/swing/text/html/package.html,
1881 javax/swing/text/html/parser/package.html: Documenting the
1884 2005-04-19 Chris Burdess <dog@gnu.org>
1886 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1887 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1888 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1889 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1890 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1891 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1892 gnu/xml/dom/html2/DomHTMLBRElement.java,
1893 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1894 gnu/xml/dom/html2/DomHTMLCollection.java,
1895 gnu/xml/dom/html2/DomHTMLDocument.java,
1896 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1898 2005-04-19 Michael Koch <konqueror@gmx.de>
1900 * Makefile.am: Added new files.
1901 * Makefile.in: Regenerated.
1903 2005-04-19 Roman Kennke <roman@kennke.org>
1905 * javax/swing/text/JTextComponent.java
1906 (JTextComponent): Added repaintListener which issues repaint
1907 requests when the underlying document changes.
1908 (setDocument): Adds repaintListener to document when the
1909 document is changed.
1910 * javax/swing/text/DefaultEditorKit.java:
1911 Removed repaint calls on JTextComponent. This is now handled
1912 through a DocumentListener in JTextComponent that repaints
1913 the component when needed.
1915 2005-04-19 Roman Kennke <roman@kennke.org>
1918 * javax/swing/text/StyleContext.java
1919 (NamedStyle.setResolveParent): Added null
1922 2005-04-19 Michael Koch <konqueror@gmx.de>
1924 * java/rmi/server/RemoteObject.java:
1925 Removed unused import statement.
1927 2005-04-19 Michael Koch <konqueror@gmx.de>
1929 * java/net/URL.java: Formatting cleanups.
1931 2005-04-19 Michael Koch <konqueror@gmx.de>
1933 * java/awt/FontMetrics.java: Reformatted.
1934 (getFontRenderContext): Handle case when java.awt.Graphics context is
1937 2005-04-19 Michael Koch <konqueror@gmx.de>
1939 * java/awt/FontMetrics.java
1940 (getStringBounds): New methods.
1943 2005-04-19 Michael Koch <konqueror@gmx.de>
1945 * gnu/java/security/x509/X509Certificate.java
1946 (parse): Handle val == null case.
1948 2005-04-19 Roman Kennke <roman@kennke.org>
1950 * javax/swing/plaf/metal/MetalLookAndFeel.java
1951 (initComponentDefaults): Added defaults for Menu, MenuBar
1954 2005-04-19 Roman Kennke <roman@kennke.org>
1956 * javax/swing/plaf/metal/MetalLookAndFeel.java
1957 (initComponentDefaults): Added Label.font.
1958 (initSystemColorDefaults): Added this method and adjusted the
1959 general control color.
1961 2005-04-19 Roman Kennke <roman@kennke.org>
1963 * javax/swing/plaf/metal/MetalBorders.java:
1965 * javax/swing/plaf/metal/MetalButtonUI.java:
1966 (installDefaults): Install button font.
1967 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1968 (initComponentDefaults): Added button border, font and margin.
1969 Changed components background color to the Metal current themes
1972 2005-04-19 Roman Kennke <roman@kennke.org>
1974 * javax/swing/plaf/metal/MetalLookAndFeel.java
1975 (initComponentDefaults): Added to set Metal specific component
1978 2005-04-19 Mark Wielaard <mark@klomp.org>
1980 * javax/swing/plaf/metal/MetalLookAndFeel.java
1981 (initClassDefaults): Call super.initClassDefaults().
1983 2005-04-19 Roman Kennke <roman@kennke.org>
1985 * javax/swing/plaf/metal/MetalLookAndFeel.java
1986 (initClassDefaults): Added to include the *UI classes.
1988 2005-04-19 Roman Kennke <roman@kennke.org>
1990 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1992 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1994 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1996 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1998 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2000 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2002 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2004 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2006 * javax/swing/plaf/metal/MetalSliderUI.java:
2008 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2010 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2012 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2014 2005-04-19 Roman Kennke <roman@kennke.org>
2016 * javax/swing/plaf/metal/MetalButtonUI.java:
2017 Added skeleton class.
2018 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2019 Added skeleton class.
2020 * javax/swing/plaf/metal/MetalLabelUI.java:
2021 Added skeleton class.
2022 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2023 Added skeleton class.
2024 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2025 Added skeleton class.
2026 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2027 Added skeleton class.
2029 2005-04-19 Roman Kennke <roman@kennke.org>
2031 * javax/swing/UIDefaults.java:
2032 Added API documentation for all methods.
2034 2005-04-19 Roman Kennke <roman@kennke.org>
2036 * javax/swing/UIDefaults.java
2037 (put): Now uses new checkAndPut method instead of checking
2039 (putDefaults): Fixed so that it accepts null-values and
2040 treats them like remove(key).
2041 (checkAndPut): Added. This checks for null-values and calls
2044 2005-04-19 Michael Koch <konqueror@gmx.de>
2046 * Makefile.am: Added new files.
2047 * Makefile.in: Regenerated.
2049 2005-04-19 Mark Wielaard <mark@klomp.org>
2051 * java/lang/natRuntime.cc (insertSystemProperties): Set
2052 java.class.path to CLASSPATH only when not empty. Fall back to
2053 default path "." when java.class.path is empty.
2055 2005-04-19 Michael Koch <konqueror@gmx.de>
2057 * javax/swing/text/rtf/ControlWordToken.java,
2058 javax/swing/text/rtf/RTFEditorKit.java,
2059 javax/swing/text/rtf/RTFParseException.java,
2060 javax/swing/text/rtf/RTFParser.java,
2061 javax/swing/text/rtf/RTFScanner.java,
2062 javax/swing/text/rtf/TextToken.java,
2063 javax/swing/text/rtf/Token.java: New files.
2064 * Makefile.am: Added new files.
2065 * Makefile.in: Regenerated.
2067 2005-04-19 Michael Koch <konqueror@gmx.de>
2069 * java/awt/geom/QuadCurve2D.java:
2070 Fixed Brian Gough's name for real.
2072 2005-04-19 Roman Kennke <roman@kennke.org>
2074 * javax/swing/UIManager.java:
2075 Make the UIManager respect the swing.defaultlaf system
2078 2005-04-19 Tom Tromey <tromey@redhat.com>
2080 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2083 2005-04-19 Roman Kennke <roman@kennke.org>
2085 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2086 Fixed tabs to spaces.
2088 2005-04-19 Roman Kennke <roman@kennke.org>
2090 * javax/swing/plaf/basic/BasicMenuUI.java
2091 (getMaximumSize): Now returns preferredSize because JMenu should
2092 never be bigger than that.
2093 * javax/swing/JRootPane
2094 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2096 2005-04-19 Roman Kennke <roman@kennke.org>
2098 * javax/swing/JRootPane.java:
2099 Fixed various tabs to be spaces.
2100 (RootLayout.layoutContainer): Made menubar left aligned.
2102 2005-04-19 Roman Kennke <roman@ontographics.com>
2104 * javax/swing/JList.java
2105 (getPreferredScrollableViewportSize):
2106 The previous implementation was merely guessing the size,
2107 now it respects layoutOrientation, visibleRowCount
2109 (getScrollableTracksViewportHeight):
2110 Reimplemented so that layoutOrientation, visibleRowCount
2111 and preferred size are respected.
2112 (getScrollableTracksViewportWidth):
2113 Reimplemented so that layoutOrientation, visibleRowCount
2114 and preferred size are respected.
2115 * javax/swing/plaf/basic/BasicListUI.java
2117 Improved calculation of preferredSize when JList is
2118 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2120 The previous implementation assumed a layoutOrientation of
2121 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2122 JList.VERTICAL_WRAP.
2124 2005-04-19 Roman Kennke <roman@ontographics.com>
2126 * javax/swing/plaf/basic/BasicListUI.java
2127 (paintCell): use CellRendererPane for painting the cells.
2129 2005-04-19 Roman Kennke <roman@ontographics.com>
2131 * javax/swing/plaf/basic/BasicListUI:
2132 fixed modifiers of several fields, methods and inner
2133 classes to match the 'spec'.
2134 (getMaximumSize): removed. It's not in the spec and the
2135 implementations was superfluous.
2137 2005-04-19 Roman Kennke <roman@ontographics.com>
2139 * javax/swing/plaf/basic/BasicListUI:
2140 make BasicListUI capable of wrapping lists
2141 (layoutOrientation property of javax.swing.JList)
2143 2005-04-19 Roman Kennke <roman@ontographics.com>
2145 * javax/swing/plaf/basic/BasicListUI
2146 (updateLayoutState,paint): make BasicListUI aware of the
2147 width of the rendered JList.
2149 2005-04-19 Roman Kennke <roman@kennke.org>
2151 * javax/swing/ImageIcon.java
2152 Added API documentation.
2154 2005-04-19 Roman Kennke <roman@kennke.org>
2156 * javax/swing/text/ImageIcon.java
2157 (ImageIcon): Use setImage instead of direct assignment.
2158 (setImage): Call loadImage to make sure that the image is loaded.
2159 (loadImage): Waits for the image to complete loading.
2160 (getImageLoadStatus): Added. Returns the load status of the
2163 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2165 * javax/swing/JTextArea.java (replaceRange):
2166 Fixing doc.remove(start, length) misinterpretation.
2168 2005-04-19 Roman Kennke <roman@ontographics.com>
2170 * javax/swing/CellRendererPane.java:
2171 implemented all methods of this class.
2172 reformatted all wrong formatted code.
2174 2005-04-19 Roman Kennke <roman@kennke.org>
2176 * javax/swing/BoxLayout.java:
2177 (layoutContainer): Made this layout manager respect the
2178 minimum, maximum and preferred size more correctly.
2180 2005-04-19 Roman Kennke <roman@ontographics.com>
2182 * javax/swing/BoxLayout.java:
2183 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2184 layoutContainer): Make these methods and thereby the
2185 BoxLayout respect the insets (like borders) of the
2186 component that is laid out.
2188 2005-04-19 Roman Kennke <roman@kennke.org>
2190 * javax/swing/JComponent.java:
2191 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2192 Untabified the file.
2194 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2196 * javax/swing/JComboBox.java (constructors): selecting the
2197 first item if the box was constructed from the provided
2198 non - empty array or vector.
2200 2005-04-19 Michael Koch <konqueror@gmx.de>
2202 * gnu/java/awt/peer/gtk/GdkGraphics.java
2203 (getClipBounds): Handle clip being null.
2204 (setClip): Likewise.
2205 * java/beans/beancontext/BeanContextSupport.java
2209 (removeAll): Likewise.
2210 (retainAll): Likewise.
2212 2005-04-19 Michael Koch <konqueror@gmx.de>
2214 * java/beans/beancontext/BeanContextServicesSupport.java
2215 (BeanContextServicesSupport): Reimplemented.
2216 (addBeanContextServicesListener): Implemented.
2217 (initialize): Likewise.
2218 (removeBeanContextServicesListener): Likewise.
2219 * java/beans/beancontext/BeanContextSupport.java
2221 (addBeanContextMembershipListener): Likewise.
2222 (getLocale): Likewise.
2223 (initialize): Likewise.
2224 (iterator): Likewise.
2226 (toArray): Likewise.
2228 2005-04-19 Roman Kennke <roman@kennke.org>
2230 * java/awt/MediaTracker.java:
2231 Reindented tabs to spaces.
2233 2005-04-19 Roman Kennke <roman@kennke.org>
2235 * java/awt/MediaTracker.java
2236 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2237 confused the media tracker and lead to lockups. The LOADING
2238 bit is handled on other places.
2239 (addImage): Removed the 'start image tracking' stuff. This
2240 is not necessary and could confuse the media tracker.
2241 (checkAll): Improved the check for image status so that
2242 images that already complete images are detected. Also now
2243 are really all images checked and if necessary loaded. Before
2244 the method bailed out after the first incomplete image.
2245 (statusAll): Detect images that are complete after the
2246 call to Component.prepareImage(..).
2247 (checkID): The same as in checkAll.
2248 (statusID): The same as in statusAll.
2250 2005-04-19 Roman Kennke <roman@kennke.org>
2252 * java/awt/MediaTracker.java
2253 (addImage): Synchronized list access.
2254 (waitForAll): Fixed comparison of time (changed < to >).
2255 (waitForID): Fixed comparison of time (changed < to >).
2256 (removeImage): Synchronized list access.
2258 2005-04-19 Roman Kennke <roman@kennke.org>
2260 * java/awt/MediaTracker.java
2261 Added API documentation.
2263 2005-04-19 Roman Kennke <roman@kennke.org>
2265 * java/awt/MediaTracker.java
2266 (MediaEntry.imageUpdate): Fixed flags. The different flags
2267 must not be ORed together.
2268 (checkAll): Modified to handle different meaning of the flags.
2269 (waitForAll): Fixed so that it waits maximum the
2270 specified amount of milliseconds.
2271 (statusAll): Modified to handle different meaning of the flags.
2272 (waitForID): Fixed so that it waits maximum the
2273 specified amount of milliseconds.
2275 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2277 * java/awt/Font.java (decode): Handle null argument and allow
2280 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2282 * java/beans/EventHandler.java: Reworked documentation.
2283 (invoke): Fixed behavior to match spec.
2285 2005-04-19 Michael Koch <konqueror@gmx.de>
2287 * java/awt/print/PrinterJob.java
2288 (pageDialog): New method.
2289 (printDialog): Implemented.
2291 2005-04-19 Michael Koch <konqueror@gmx.de>
2293 * java/awt/image/ConvolveOp.java:
2294 Removed comment added by eclipse.
2296 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2298 * java/awt/image/IndexColorModel.java
2299 (getRGB): Check if pixel is negative.
2301 2005-04-19 Michael Koch <konqueror@gmx.de>
2303 * java/awt/image/RasterOp.java:
2304 Fixed wrong formatting.
2306 2005-04-18 Roman Kennke <roman@kennke.org>
2308 * java/awt/Compmonent.java
2309 (setComponentOrientation): Made this property firing a
2310 PropertyChangeEvent.
2312 2005-04-18 Roman Kennke <roman@kennke.org>
2314 * java/awt/BorderLayout.java
2315 (calcSize): Check for overflow when component sizes are added.
2317 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2319 * java/awt/AWTEvent.java (toString): Added case
2320 for source not being an AWT component.
2322 2005-04-18 Chris Burdess <dog@gnu.org>
2324 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2326 2005-04-18 Michael Koch <konqueror@gmx.de>
2328 gnu/java/awt/EmbeddedWindowSupport.java,
2329 gnu/java/net/HeaderFieldHelper.java,
2330 gnu/java/net/URLParseError.java,
2331 gnu/java/net/protocol/file/Handler.java,
2332 gnu/java/net/protocol/jar/Handler.java:
2333 Fixed usage of @author tag.
2335 2005-04-18 Michael Koch <konqueror@gmx.de>
2337 * gnu/xml/aelfred2/XmlParser.java:
2338 Reverted my typo fix.
2340 2005-04-18 Michael Koch <konqueror@gmx.de>
2342 * java/awt/geom/CubicCurve2D.java,
2343 java/awt/geom/QuadCurve2D.java:
2344 Fixed mentioning of Brian Gouph.
2346 2005-04-18 Michael Koch <konqueror@gmx.de>
2348 * gnu/java/awt/Buffers.java,
2349 gnu/java/awt/image/ImageDecoder.java,
2350 gnu/java/awt/image/XBMDecoder.java,
2351 gnu/java/awt/peer/ClasspathFontPeer.java,
2352 gnu/java/net/CRLFInputStream.java,
2353 gnu/java/net/EmptyX509TrustManager.java,
2354 gnu/java/net/LineInputStream.java,
2355 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2356 gnu/java/net/protocol/ftp/BlockInputStream.java,
2357 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2358 gnu/java/net/protocol/ftp/DTP.java,
2359 gnu/java/net/protocol/ftp/DTPInputStream.java,
2360 gnu/java/net/protocol/ftp/FTPConnection.java,
2361 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2362 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2363 gnu/java/net/protocol/ftp/StreamInputStream.java,
2364 gnu/java/net/protocol/http/ChunkedInputStream.java,
2365 gnu/java/net/protocol/http/HTTPConnection.java,
2366 gnu/java/net/protocol/http/HTTPURLConnection.java,
2367 gnu/java/net/protocol/http/Headers.java,
2368 gnu/java/net/protocol/http/Request.java,
2369 gnu/java/nio/ChannelInputStream.java,
2370 gnu/java/nio/ChannelOutputStream.java,
2371 gnu/java/nio/InputStreamChannel.java,
2372 gnu/java/nio/OutputStreamChannel.java,
2373 gnu/java/nio/SelectorProviderImpl.java,
2374 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2375 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2376 gnu/java/rmi/dgc/DGCImpl.java,
2377 gnu/java/rmi/registry/RegistryImpl.java,
2378 gnu/java/rmi/server/ProtocolConstants.java,
2379 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2380 gnu/java/rmi/server/RMIIncomingThread.java,
2381 gnu/java/rmi/server/RMIObjectInputStream.java,
2382 gnu/java/rmi/server/RMIObjectOutputStream.java,
2383 gnu/java/rmi/server/RMIVoidValue.java,
2384 gnu/java/rmi/server/UnicastConnectionManager.java,
2385 gnu/java/rmi/server/UnicastRef.java,
2386 gnu/java/rmi/server/UnicastRemoteCall.java,
2387 gnu/java/rmi/server/UnicastRemoteStub.java,
2388 gnu/java/rmi/server/UnicastServerRef.java,
2389 gnu/java/security/OID.java,
2390 gnu/java/security/der/DERReader.java,
2391 gnu/java/security/provider/CollectionCertStoreImpl.java,
2392 gnu/java/security/provider/DSAParameterGenerator.java,
2393 gnu/java/security/provider/DefaultPolicy.java,
2394 gnu/java/security/provider/EncodedKeyFactory.java,
2395 gnu/java/security/provider/GnuDHPublicKey.java,
2396 gnu/java/security/provider/GnuDSAPrivateKey.java,
2397 gnu/java/security/provider/GnuDSAPublicKey.java,
2398 gnu/java/security/provider/GnuRSAPrivateKey.java,
2399 gnu/java/security/provider/GnuRSAPublicKey.java,
2400 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2401 gnu/java/security/provider/RSA.java,
2402 gnu/java/security/provider/SHA1PRNG.java,
2403 gnu/java/security/provider/SHA1withRSA.java,
2404 gnu/java/security/provider/X509CertificateFactory.java,
2405 gnu/java/security/x509/GnuPKIExtension.java,
2406 gnu/java/security/x509/X500DistinguishedName.java,
2407 gnu/java/security/x509/X509CRL.java,
2408 gnu/java/security/x509/X509CRLEntry.java,
2409 gnu/java/security/x509/X509CertPath.java,
2410 gnu/java/security/x509/X509CertSelectorImpl.java,
2411 gnu/java/security/x509/X509Certificate.java,
2412 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2413 gnu/java/security/x509/ext/BasicConstraints.java,
2414 gnu/java/security/x509/ext/CRLNumber.java,
2415 gnu/java/security/x509/ext/CertificatePolicies.java,
2416 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2417 gnu/java/security/x509/ext/Extension.java,
2418 gnu/java/security/x509/ext/GeneralNames.java,
2419 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2420 gnu/java/security/x509/ext/KeyUsage.java,
2421 gnu/java/security/x509/ext/PolicyConstraint.java,
2422 gnu/java/security/x509/ext/PolicyMappings.java,
2423 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2424 gnu/java/security/x509/ext/ReasonCode.java,
2425 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2426 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2427 Reorganized import statements.
2429 2005-04-18 Michael Koch <konqueror@gmx.de>
2431 * gnu/java/awt/color/CieXyzConverter.java,
2432 gnu/java/awt/color/ClutProfileConverter.java,
2433 gnu/java/awt/color/ColorLookUpTable.java,
2434 gnu/java/awt/color/ColorSpaceConverter.java,
2435 gnu/java/awt/color/GrayProfileConverter.java,
2436 gnu/java/awt/color/GrayScaleConverter.java,
2437 gnu/java/awt/color/LinearRGBConverter.java,
2438 gnu/java/awt/color/ProfileHeader.java,
2439 gnu/java/awt/color/PyccConverter.java,
2440 gnu/java/awt/color/RgbProfileConverter.java,
2441 gnu/java/awt/color/SrgbConverter.java,
2442 gnu/java/awt/color/TagEntry.java,
2443 gnu/java/awt/color/ToneReproductionCurve.java:
2444 Standardized file headers.
2446 2005-04-16 Tom Tromey <tromey@redhat.com>
2448 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2449 'ANY' package-private.
2451 2005-04-15 Tom Tromey <tromey@redhat.com>
2453 * Makefile.in: Rebuilt.
2454 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2455 (libgcj0_convenience_la_LIBADD): ... here.
2457 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2459 * gij.cc (version): Properly quote java version.
2460 (main): Fix typo in comment.
2462 2005-04-13 Mark Wielaard <mark@klomp.org>
2464 * java/lang/natRuntime.cc (insertSystemProperties): Set
2465 java.class.path to CLASSPATH if not already set.
2467 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2469 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2471 2005-04-12 Mike Stump <mrs@apple.com>
2473 * configure: Regenerate.
2475 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2478 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2479 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2481 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2484 * scripts/TexinfoDoclet.java: Removed.
2485 * Makefile.am (texinfo): Removed.
2486 * Makefile.in: Regenerated.
2488 2005-04-11 Michael Koch <konqueror@gmx.de>
2490 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2491 Fixed wrong casting.
2493 2005-04-06 Andrew Haley <aph@redhat.com>
2495 * testsuite/libjava.lang/bytearray.java: New file.
2496 * testsuite/libjava.lang/bytearray.out: New file.
2497 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2498 (loadClass): Use it.
2499 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2501 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2503 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2504 gcj-dbtool dependency
2505 * Makefile.in: Regenerated
2507 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2509 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2510 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2512 2005-04-05 Andrew Haley <aph@redhat.com>
2514 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2515 (Tokenizer): New class.
2516 (getFiles): New method.
2517 (main): Add "-" argument.
2519 Read list of files from stdin when merging map databases.
2520 (usage): Add "-" argument.
2524 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2527 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2528 * Makefile.in: Regenerate.
2529 * configure.ac: Add --with-java-home option.
2530 * configure: Regenerate.
2531 * external/Makefile.in: Regenerate.
2532 * external/sax/Makefile.in: Regenerate.
2533 * external/w3c_dom/Makefile.in: Regenerate.
2534 * gcj/Makefile.in: Regenerate.
2535 * include/Makefile.in: Regenerate.
2536 * testsuite/Makefile.in: Regenerate.
2537 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2540 2005-04-05 Tom Tromey <tromey@redhat.com>
2542 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2543 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2544 Rewrote to use _Jv_FindClassFromSignature.
2545 * verify.cc (resolve): throw NoClassDefFoundError.
2546 * link.cc (resolve_field): Throw NoClassDefFoundError.
2547 (find_field): Likewise.
2548 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2549 Handle error cases. Added 'endp' argument.
2550 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2552 2005-04-05 Tom Tromey <tromey@redhat.com>
2554 * Makefile.in: Rebuilt.
2555 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2556 gtk_awt_peer_sources.
2557 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2558 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2559 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2560 (gtk-awt-peer.lo): New target.
2562 2005-04-04 Steve Pribyl <steve@netfuel.com>
2565 * configure.ac: Fix fastjar definition for cross builds.
2566 * configure: Rebuilt.
2568 2005-04-04 Tom Tromey <tromey@redhat.com>
2570 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2571 it was already found.
2573 2005-04-04 Tom Tromey <tromey@redhat.com>
2575 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2576 org.metastatic.jessie.
2578 2005-04-02 Anthony Green <green@redhat.com>
2581 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2583 2005-04-02 Mark Wielaard <mark@klomp.org>
2585 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2586 Attributes and attribute order doesn't matter.
2587 (BasicAttributesEnumeration.where): Initialize to zero.
2588 (BasicAttributesEnumeration.nextElement): Update and compare where
2589 appropriately (zero based).
2591 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2593 PR libgcj/20090, PR libgcj/20526
2594 * gij.cc (nonstandard_opts_help): New function.
2595 (add_option): New function.
2596 (main): Support java options. Set java.class.path. Don't set
2598 * prims.cc (parse_x_arg): New function.
2599 (parse_init_args): Call parse_x_arg for -X and _ options, when
2600 ignoreUnrecognized is true.
2601 (new _Jv_RunMain): New vm_args variant.
2602 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2603 (_Jv_Jar_Class_Path): Remove variable.
2604 * include/java-props.h: Likewise.
2605 * include/cni.h (JvRealloc): New function.
2606 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2607 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2608 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2610 * configure.ac (JV_VERSION): Define.
2611 (JV_API_VERSION): Likewise.
2612 * configure: Regenerate.
2613 * include/config.h.in: Regenerate.
2615 2005-04-01 Mark Anderson <mark@panonet.net>
2617 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2618 -Infinity as parameters.
2620 2005-04-01 Michael Koch <konqueror@gmx.de>
2622 * java/io/PipedInputStream.java
2623 (read): Make sure a positive byte value is returned. Revised javadoc.
2624 Thanks to Olafur Bragason for reporting these bugs.
2626 2005-04-01 Tom Tromey <tromey@redhat.com>
2628 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2629 Updated for name change.
2630 (nativeFindClass): New method.
2631 (loadClass): Use nativeFindClass.
2632 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2634 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2635 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2637 (initialize): New method.
2638 (nativeFindClass): Declare.
2639 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2640 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2641 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2643 (definePackageForNative): Removed.
2644 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2645 Moved to VMClassLoader.java.
2646 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2647 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2648 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2649 removed VMClassLoader.java.
2650 (nat_source_files): Removed natVMClassLoader.cc.
2652 2005-04-01 Tom Tromey <tromey@redhat.com>
2654 * Makefile.in: Rebuilt.
2655 * Makefile.am (db_pathtail): Use $(gcc_version), not
2658 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2660 * java/util/Timer.java
2661 (run): Stop the queue if a task throws an exception.
2663 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2665 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2667 2005-03-29 Ian Lance Taylor <ian@airs.com>
2669 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2670 * external/sax/Makefile.in: Rebuild.
2671 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2673 * external/w3c_dom/Makefile.in: Rebuild.
2675 2005-03-29 Tom Tromey <tromey@redhat.com>
2677 * java/lang/natRuntime.cc (insertSystemProperties): Set
2678 gnu.gcj.runtime.endorsed.dirs.
2679 * Makefile.in: Rebuilt.
2680 * Makefile.am (ordinary_java_source_files): Added
2681 HelperClassLoader.java.
2682 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2683 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2685 (init): Use addDirectoriesFromProperty.
2686 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2687 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2688 gnu.gcj.runtime.endorsed.dirs.
2689 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2691 2005-03-26 Chris Burdess <dog@gnu.org>
2693 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2696 2005-03-13 Michael Koch <konqueror@gmx.de>
2698 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2700 2005-03-11 Chris Burdess <dog@gnu.org>
2702 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2705 2005-02-27 Chris Burdess <dog@gnu.org>
2707 * gnu/xml/aelfred2/JAXPFactory.java,
2708 gnu/xml/aelfred2/SAXDriver.java,
2709 gnu/xml/aelfred2/XmlParser.java,
2710 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2711 formatting conventions. Replaced arrays of Object with struct-like
2712 classes for easier maintainability. Made SAXDriver.stringInterning
2713 package private to allow access from XmlParser inside the loop without
2714 a method call overhead.
2716 2005-03-11 Chris Burdess <dog@gnu.org>
2718 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2721 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2723 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2724 settings to sub Makefiles.
2725 (GCJH, ZIP): Prefix with top_builddir.
2726 * configure: Rebuild.
2727 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2728 * external/w3c_dom/Makefile.in: Rebuild.
2729 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2730 * external/sax/Makefile.in: Rebuild.
2732 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2734 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2735 libsocket to the libraries to link for Solaris.
2737 2005-03-28 Per Bothner <per@bothner.com>
2739 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2740 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2742 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2744 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2745 to fix a ONESTEP fallout.
2746 * Makefile.in: Regenerate.
2748 2005-03-25 Mike Stump <mrs@apple.com>
2750 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2751 paths like we do for the compiler, as we use it in external/sax
2752 and it doesn't get MULTIBUILDTOP right when multilibing.
2754 2005-03-24 Anthony Green <green@redhat.com>
2756 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2758 (usage): Add [LIBDIR] to help output.
2759 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2760 * Makefile.am (AM_CXXFLAGS): Define
2761 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2762 (db_pathtail): New macro.
2764 2005-03-24 Tom Tromey <tromey@redhat.com>
2766 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2767 add sax and w3c libraries.
2768 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2770 * external/w3c_dom/Makefile.in: Rebuilt.
2771 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2773 (libw3c_gcj_la_LDFLAGS): New variable.
2774 (noinst_LTLIBRARIES): Renamed.
2775 * external/sax/Makefile.in: Rebuilt.
2776 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2778 (libsax_gcj_la_LDFLAGS): New variable.
2779 (noinst_LTLIBRARIES): Renamed.
2781 2005-03-23 Tom Tromey <tromey@redhat.com>
2783 * Makefile.in: Rebuilt.
2784 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2785 (libgcj0_convenience_la_SOURCES): Don't include
2786 gnu_xml_source_files.
2787 (libgcj0_convenience_la_LIBADD): New variable.
2788 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2789 (all_java_source_files): javax_imageio_source_files,
2790 javax_xml_source_files, and gnu_java_beans_source_files.
2791 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2792 (gnu-xml.lo): New target.
2793 (javax-imageio.lo): Likewise.
2794 (javax-xml.lo): Likewise.
2795 (gnu-java-beans.lo): Likewise.
2796 (gnu_java_beans_source_files): New variable.
2797 (javax_imageio_source_files): Likewise.
2798 (javax_xml_source_files): Likewise.
2799 (javax_source_files): Moved files to other variable.
2800 (awt_java_source_files): Likewise.
2801 (ordinary_java_source_files): Added BootClassLoader.java.
2802 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2803 not system class loader.
2804 (initBootLoader): New method.
2805 (loadClass): Search bootLoader.
2806 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2807 boot loader, not system class loader.
2808 (_Jv_UnregisterInitiatingLoader): Likewise.
2809 (_Jv_FindClass): Likewise. Ensure entries in
2810 bootstrap_class_list are unique.
2811 * java/lang/natClass.cc (getClassLoader): Don't special case
2812 system class loader.
2813 * java/lang/VMClassLoader.java (bootLoader): New field.
2814 (getResource): Use bootLoader.
2815 (getResources): Likewise.
2816 (initBootLoader): Declare.
2817 * gnu/gcj/runtime/BootClassLoader.java: New file.
2818 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2819 (EMPTY_ENUMERATION): Now package-private.
2820 * external/w3c_com/Makefile.in: Rebuilt.
2821 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2822 (w3c.jar): New target.
2823 (classes.stamp): Updated.
2824 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2825 Changed name of library.
2826 (libw3c_gcj_la_SOURCES): New variable.
2827 (libw3c_gcj_la_GCJFLAGS): Likewise.
2828 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2829 * external/sax/Makefile.in: Rebuilt.
2830 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2831 (sax.jar): New target.
2832 (classes.stamp): Updated.
2833 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2834 Changed name of library.
2835 (libsax_gcj_la_SOURCES): New variable.
2836 (libsax_gcj_la_GCJFLAGS): Likewise.
2837 (source_files): Renamed from libsax_convenience_la_SOURCES.
2838 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2840 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2842 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2844 2005-03-23 Sven de Marothy <sven@physto.se>
2846 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2848 * java/util/Calendar.java
2849 (set): Use starting day of week when one is needed if none is given.
2850 * java/text/SimpleDateFormat.java
2851 (parse): Handle 1-12 and 1-24 timestamps correctly.
2852 * java/util/GregorianCalendar.java
2853 (computeTime, computeFields): HOUR should be in 0-11 format.
2854 (nonLeniencyCheck): Adjust leniency checking to that fact.
2855 (getLinearDay): Should be private.
2857 2005-03-23 Tom Tromey <tromey@redhat.com>
2859 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2860 (_Jv_CheckABIVersion): Use it.
2862 2005-03-22 Mike Stump <mrs@apple.com>
2864 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2866 * include/posix.h: .dylib is used on all Apple MACH platforms.
2867 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2869 2005-03-22 Tom Tromey <tromey@redhat.com>
2871 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2873 2005-03-21 Tom Tromey <tromey@redhat.com>
2875 * java/lang/VMCompiler.java (static block): Also catch
2876 BufferUnderflowException.
2878 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2880 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2881 set tool_include_dir. In all substitutions, leave $(gcc_version)
2882 to be expanded by the Makefile.
2883 * aclocal.m4, configure: Regenerate.
2884 * Makefile.am: Set gcc_version. Replace all uses of
2885 @gcc_version@ with $(gcc_version).
2886 * external/Makefile.am, external/sax/Makefile.am
2887 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2888 * testsuite/Makefile.am: Set gcc_version.
2889 * include/Makefile.am: Set gcc_version and tool_include_dir.
2890 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2891 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2892 * testsuite/Makefile.in: Regenerate.
2894 2005-03-17 Andrew Haley <aph@redhat.com>
2896 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2898 Pass klass to _Jv_StackTrace::GetClassContext().
2899 * java/lang/ClassLoader.java (getParent): Pass class to
2900 VMSecurityManager.getClassContext()
2901 (getSystemClassLoader): Likewise.
2902 * java/lang/Package.java (getPackage): Likewise.
2903 (getPackages): Likewise.
2904 * java/lang/SecurityManager.java (getClassContext): Likewise.
2905 (currentClassLoader): Likewise.
2906 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2907 (currentClassLoader) Add new arg: caller.
2908 Pass caller to VMSecurityManager.getClassContext.
2910 * stacktrace.cc (GetClassContext): Correct calculation of
2913 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2914 im->source_file_name.
2916 2005-03-16 Andrew Haley <aph@redhat.com>
2918 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2920 2005-03-16 Tom Tromey <tromey@redhat.com>
2922 * link.cc (ensure_class_linked): Removed #ifdef.
2923 (print_class_loaded): Likewise.
2924 (wait_for_state): Likewise.
2925 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2926 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2927 * include/java-interp.h: ... here.
2929 2005-03-16 Tom Tromey <tromey@redhat.com>
2931 * gnu/java/lang/MainThread.java (run): Load main class using
2932 system class loader.
2934 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2936 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2937 lgcc_s to the libraries to link for Darwin.
2939 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2941 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2942 interpreter-specific code with #ifdef INTERPRETER.
2943 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2944 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2945 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2946 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2947 #ifdef INTERPRETER. Also protect declarations that use it.
2948 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2949 #ifdef INTERPRETER block.
2951 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2954 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2955 * Makefile.in: Rebuilt.
2957 2005-03-15 David Daney <ddaney@avtrex.com>
2959 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2962 2005-03-15 David Daney <ddaney@avtrex.com>
2964 * java/io/BufferedInputStream.java (available): Use 'in' instead
2965 of 'super' for underlying stream access.
2967 (read(byte[], int, int)): Ditto.
2969 (skip): Call skip on underlying stream when possible.
2971 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2973 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2974 SJLJ_EXCEPTIONS is defined.
2976 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2978 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2981 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2983 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2985 (libjava_arguments): Likewise.
2987 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2988 (gcj_jni_test_one): Likewise.
2989 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2990 Add flags to keep the Darwin linker quiet.
2991 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2992 Add -liconv for Darwin.
2994 2005-03-11 Tom Tromey <tromey@redhat.com>
2996 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2997 (_Jv_CheckABIVersion): Use it.
2999 2005-03-11 Tom Tromey <tromey@redhat.com>
3001 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3002 (usage): Document '-p'.
3003 * Makefile.in: Rebuilt.
3004 * Makefile.am (dbexecdir): New variable.
3005 (db_name): Likewise.
3006 (dbexec_DATA): Likewise.
3007 ($(db_name)): New target.
3008 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3009 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3012 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3014 * exception.cc: Remove stray MethodRef.h include.
3015 * java/lang/natClass.cc: Likewise.
3016 * gnu/gcj/runtime/MethodRef.java: Removed.
3017 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3018 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3019 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3020 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3021 * Makefile.in: Rebuilt.
3023 2005-03-10 Tom Tromey <tromey@redhat.com>
3025 * Makefile.in: Rebuilt.
3026 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3028 2005-03-10 Chris Burdess <dog@bluezoo.org>
3030 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3031 not currently parsing the DTD.
3033 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3035 New Stack Trace infrastructure.
3036 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3037 (gnu/gcj/runtime/StackTrace.java): Removed.
3038 (ordinary_java_source_files): Remove obsolete files.
3039 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3040 * configure.host (fallback_backtrace_h): Set backtrace header
3041 for mingw and cygwin targets.
3042 * configure.ac: Make symlink for fallback backtrace headers.
3043 * Makefile.in, configure: Rebuilt.
3044 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3045 Read 'LineNumberTable' attribute.
3046 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3048 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3050 * exception.cc: Remove unused include.
3051 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3052 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3053 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3054 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3055 table to direct threaded instruction values.
3056 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3057 (_Jv_InterpMethod::run): No longer member function. All
3058 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3059 is made or where an instruction could throw.
3060 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3062 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3063 (catch_fpe): Likewise.
3064 * stacktrace.cc: New file. Stack trace code now here.
3065 * gnu/gcj/runtime/MethodRef.java:
3066 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3067 calls addr2line to look up PC addresses in a given binary or shared
3069 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3070 gnu/gcj/runtime/natStackTrace.cc: Removed.
3071 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3072 this function name is specially recognised by the stack trace code
3073 and shouldn't be changed.
3074 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3075 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3076 (_Jv_InterpMethod::run): Update declaration.
3077 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3079 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3080 * include/java-stack.h: New file. Declarations for stack tracing.
3081 * include/jvm.h (_Jv_Frame_info): Removed.
3082 * java/lang/Class.h: Update friend declarations.
3083 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3085 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3086 (getStackTrace): Now native.
3087 (data): New RawDataManaged field.
3088 * java/lang/natClass.cc: Update includes.
3089 (forName): Use _Jv_StackTrace::GetCallingClass for
3090 calling-classloader check.
3091 (getClassLoader): Likewise.
3092 * java/lang/natRuntime.cc: Update includes.
3093 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3094 * java/lang/natVMSecurityManager.cc: Update includes.
3095 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3096 * java/lang/natVMThrowable.cc: New file. Native methods for
3098 * java/lang/reflect/natArray.cc: Update includes.
3099 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3100 accessibility check.
3101 * java/lang/reflect/natConstructor.cc: Update includes.
3102 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3103 accessibility check.
3104 * java/lang/reflect/natField.cc: Update includes.
3105 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3106 accessibility check.
3107 * java/lang/reflect/natMethod.cc: Update includes.
3108 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3109 accessibility check.
3110 * java/util/natResourceBundle.cc: Update includes.
3111 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3112 * java/util/logging/natLogger.cc: Update includes. Use
3113 _Jv_StackTrace::GetCallerInfo to get call-site info.
3114 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3116 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3119 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3121 * testsuite/libjava.compile/PR20312.java: New file.
3122 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3123 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3125 2005-03-09 Andrew Haley <aph@redhat.com>
3127 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3129 (smallTransferTo): New.
3130 (transferFrom): Loop around smallTransferFrom, copying pageSize
3132 (transferTo): Likewise.
3134 2005-03-09 David Daney <ddaney@avtrex.com>
3137 Merge BufferedInputStream from GNU Classpath.
3138 * java/io/BufferedInputStream.java (marktarget): Field removed.
3139 (CHUNKSIZE): Field removed.
3140 (bufferSize): New field.
3141 (BufferedInputStream): Initialize fields.
3142 (close): Invalidate mark and buffer indexes.
3144 (read()): Move mark handling code to refill.
3145 (read(byte[], int, int)): Ditto.
3146 (skip): Ditto and simplify EOF testing.
3147 (refill): Rewritten.
3148 * java/io/InputStreamReader.java (refill): Removed mark and reset
3149 of internal BufferedInputStream.
3151 2005-03-09 Tom Tromey <tromey@redhat.com>
3153 * java/lang/natVMClassLoader.cc (defineClass): Reference
3154 'systemClassLoader' field directly.
3155 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3157 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3158 Reference 'systemClassLoader' field directly.
3159 (_Jv_UnregisterInitiatingLoader): Likewise.
3160 (_Jv_FindClass): Likewise.
3162 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3164 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3166 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3167 the file in GNU Classpath style.
3169 2005-03-09 Tom Tromey <tromey@redhat.com>
3171 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3172 (toString): Synchronize.
3174 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3176 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3177 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3179 2005-03-07 Tom Tromey <tromey@redhat.com>
3181 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3182 (usage): Document '-f'.
3184 2005-03-07 Tom Tromey <tromey@redhat.com>
3186 * java/lang/VMCompiler.java (md5Digest): New field.
3187 (compileClass): Clone md5Digest instead of looking up a new one.
3189 2005-03-07 Tom Tromey <tromey@redhat.com>
3192 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3193 * link.cc (find_field_helper): Added 'type' argument.
3194 (find_field): Updated.
3196 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3197 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3198 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3199 throw UnsupportedOperationException, fixed comments.
3200 (setFont, setForeground): Fixed comments.
3201 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3202 return type to boolean.
3203 (getNextEvent): Fixed javadocs.
3204 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3205 (nativeQueueEmpty): Removed unused code.
3206 (iterateNativeQueue): Removed outer loop.
3208 2005-03-06 Roger Sayle <roger@eyesopen.com>
3211 * Makefile.am (libgcj0_convenience.la): Revert last change.
3212 * Makefile.in: Regenerate.
3214 2005-03-05 Anthony Green <green@redhat.com>
3216 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3217 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3218 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3219 (_Jv_GetDrawingSurface): Set visualID.
3220 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3221 (JAWT_GetAWT): Set Lock and Unlock.
3222 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3224 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3225 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3226 JAWT_LOCK_SURFACE_CHANGED): New macros.
3227 (struct _JAWT): Add Lock and Unlock.
3229 2005-03-05 Roger Sayle <roger@eyesopen.com>
3230 Alexandre Oliva <aoliva@redhat.com>
3231 Kelley Cook <kcook@gcc.gnu.org>
3234 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3235 of the object files to link to avoid exceeding the command line
3236 length limits on some platforms.
3237 (clean-local): Clean up objectlist files.
3238 * Makefile.in: Regenerate.
3240 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3242 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3243 spec_case. Initialize pointer mlo.
3245 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3248 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3250 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3253 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3254 uninitialized variable z.
3256 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3257 possible unused variables.
3259 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3261 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3263 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3266 * testsuite/libjava.jni/jni.exp
3267 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3269 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3271 2005-02-23 David Daney <ddaney@avtrex.com>
3273 * configure.host: Don't use -mxgot for MIPS builds.
3275 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3278 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3279 (COMPPATH): Removed.
3280 (ZIP, GCJH): Replace it with ../$(host_subdir).
3281 (built_gcc_dir): Add $(host_subdir).
3282 * configure: Regenerate.
3283 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3284 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3285 external/w3c_dom/Makefile.in: Regenerate.
3287 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3289 * java/awt/font/TextAttribute.java: changed names to lower case;
3290 (readResolve): implemented.
3291 Added doc comments all over.
3293 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3296 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3297 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3298 value. Move argument parsing code to prims.cc.
3299 * prims.cc (no_properties): Remove.
3300 (_Jv_Compiler_Properties): Initialize to NULL.
3301 (_Jv_Properties_Count): Initialize to 0.
3302 (parse_verbose_args): New function.
3303 (parse_init_args): New function.
3304 (_Jv_CreateJavaVM): Call parse_init_args.
3305 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3306 * gcj/cni.h (JvVMOption): New struct.
3307 (JvVMInitArgs): Likewise.
3308 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3310 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3311 (_Jv_VMInitArgs): Likewise.
3312 * include/java-props.h (_Jv_Properties_Count): Declare.
3313 * java/lang/natRuntime.cc (insertSystemProperties): Use
3314 _Jv_Properties_Count in for loop exit condition.
3315 * testsuite/libjava.jni/jni.exp
3316 (gcj_invocation_compile_c_to_binary): New procedure.
3317 (gcj_invocation_test_one): Likewise.
3318 (gcj_jni_run): Run JNI invocation API tests.
3319 * testsuite/libjava.jni/invocation/PR16923.c,
3320 testsuite/libjava.jni/invocation/PR16923.java,
3321 testsuite/libjava.jni/invocation/PR16923.out: New test.
3323 2005-02-23 Michael Koch <konqueror@gmx.de>
3325 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3326 * Makefile.in: Regenerated.
3328 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3330 * gnu/java/nio/ChannelReader: Fixed comments.
3332 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3334 * java/nio/channels/Channels: Added FIXMEs about
3335 stub method implementation.
3336 (newReader): Implemented.
3337 * gnu/java/nio/ChannelReader: New class.
3339 2005-02-23 Michael Koch <konqueror@gmx.de>
3341 * java/text/SimpleDateFormat.java:
3342 Removed unused import.
3344 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3347 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3348 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3349 * Makefile.in: Regenerate.
3350 * configure.ac: Check for libXtst.
3351 * configure: Regenerate.
3353 2005-02-22 Mark Wielaard <address@bogus.example.com>
3355 * java/security/AlgorithmParameterGenerator.java (getInstance):
3356 Mention provider when throwing NoSuchProviderException.
3357 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3358 * java/security/KeyFactory.java (getInstance): Likewise.
3359 * java/security/KeyStore.java (getInstance): Likewise.
3360 * java/security/SecureRandom.java (getInstance): Likewise.
3361 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3363 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3365 * java/lang/reflect/Proxy.java,
3367 java/security/SecureRandom.java,
3368 java/util/Timer.java,
3369 java/util/prefs/AbstractPreferences.java:
3370 Don't catch java.lang.ThreadDeath.
3372 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3374 * java/awt/font/TransformAttribute.java,
3375 (TransformAttribute(AffineTransform)): throw
3376 IllegalArgumentException for null transform.
3377 (getTransform): return a copy of transform.
3378 Added doc comments to all.
3380 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3382 * java/io/Externalizable.java,
3383 java/io/Serializable.java
3384 (serialVersionUID): Removed.
3385 * java/rmi/server/RemoteObject.java,
3386 java/rmi/server/UID.java
3387 (serialVersionUID): Made private.
3388 * java/rmi/server/RemoteRef.java,
3389 java/rmi/server/ServerRef.java
3390 (serialVersionUID): Set proper value.
3391 * java/security/interfaces/DSAPrivateKey.java,
3392 java/security/interfaces/DSAPublicKey.java,
3393 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3394 java/security/interfaces/RSAPrivateCrtKey.java,
3395 java/security/interfaces/RSAPrivateKey.java,
3396 java/security/interfaces/RSAPublicKey.java,
3397 javax/crypto/SecretKey.java
3398 (serialVersionUID): Added.
3400 2005-02-22 Tom Tromey <tromey@redhat.com>
3402 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3404 2005-02-22 Tom Tromey <tromey@redhat.com>
3407 * verify.cc (type::EITHER): New constant.
3408 (check_field_constant): Use it.
3409 (type::compatible): Handle it.
3411 2005-02-22 Michael Koch <konqueror@gmx.de>
3413 * gnu/java/security/PolicyFile.java,
3414 gnu/java/security/pkcs/PKCS7SignedData.java,
3415 gnu/java/security/pkcs/SignerInfo.java:
3416 Fixed copyright header.
3418 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3420 * java/beans/PropertyDescriptor.java
3421 (PropertyDescriptor,setReadMethod): Set propertyType.
3423 2005-02-22 Michael Koch <konqueror@gmx.de>
3425 * java/nio/DirectByteBufferImpl.java
3426 (owner): Fixed formatting of javadoc.
3427 * java/text/DateFormat.java
3428 (getAvailableLocales): Fixed formatting.
3429 * java/text/SimpleDateFormat.java:
3430 Fixed formatting and import statement order.
3431 * java/util/Calendar.java
3432 (Calendar): Fixed javadoc to be HTML compliant.
3433 * java/util/SimpleTimeZone.java:
3436 2005-02-22 Roman Kennke <roman@ontographics.com>
3438 * javax/swing/plaf/basic/BasicLookAndFeel.java
3439 (initComponentDefaults): Fixed Button left and right margin.
3441 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3443 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3447 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3448 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3449 (getWidth): New method.
3450 (getHeight): Likewise.
3451 (create): Remove width, height and insets parameters. Move size
3453 (realize_cb): ... here. New function.
3454 (connectSignals): Connect realize_cb.
3455 (request_frame_extents): Remove FIXME. Move
3456 postInsetsChangedEvent lookup ...
3457 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3458 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3459 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3461 (windowGetWidthID): Likewise.
3462 (windowGetHeightID): Likewise.
3464 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3467 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3468 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3470 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3472 Merge serialization from GNU Classpath.
3473 * gcj/method.h: Add missing #includes.
3474 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3475 primitive class IDs on the stream here...
3476 (resolveClass): ...not here.
3477 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3479 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3480 setLongNative, setIntNative, setShortNative, setCharNative,
3481 setByteNative, setBooleanNative, setObjectNative): New native methods.
3482 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3483 setLongNative, setIntNative, setShortNative, setCharNative,
3484 setByteNative, setBooleanNative, setObjectNative): Implement them.
3485 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3486 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3487 the constructor here.
3488 (callConstructor): Removed.
3489 (getCallersClassLoader): Removed.
3490 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3491 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3492 to control whether setting final field values is permitted. Call
3493 getAddr() with checkFinal parameter instead of setAddr().
3494 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3495 only if not done already.
3496 (getAddr): Add checkFinal parameter. Do the final field check only if
3500 2005-02-21 Mark Wielaard <mark@klomp.org>
3503 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3506 2005-02-21 Mark Wielaard <mark@klomp.org>
3509 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3510 without a super class and us ObjectStreamClass.lookupForClassObject().
3511 (resolveClass): Check for primitive types.
3512 (lookupClass): Return null when argument is null.
3514 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3516 * java/io/ObjectInputStream.java
3517 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3519 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3521 * java/io/ObjectOutputStream.java
3522 (writeObject, callWriteMethod): Replaced reflection with accessing
3523 cached info in ObjectStreamClass.
3524 (getMethod): Removed.
3525 * java/io/ObjectStreamClass.java
3526 (findMethod): Added check to make sure the method found has the
3528 (cacheMethods): Added writeReplace and writeObject methods.
3529 (setFlags): Look at new writeObjectMethod field instead of doing
3531 (writeReplaceMethod): New field.
3532 (writeObjectMethod): New field.
3534 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3535 Jeroen Frijters <jeroen@frijters.net>
3537 * java/io/ObjectInputStream.java
3538 (newObject): Changed prototype. Get a constructor reflect object
3540 (callConstructor): Removed.
3541 (allocateObject): Changed prototype.
3542 (readClassDescriptor): Build the constructor reflection directly.
3543 (readObject): Invoke newObject using the new prototype.
3545 * java/io/ObjectStreamClass.java
3546 (firstNonSerializableParent): Removed.
3547 (firstNonSerializableParentConstructor): Added.
3549 2005-02-21 Mark Wielaard <mark@klomp.org>
3551 * gnu/java/locale/LocaleInformation_en.java: Extend
3552 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3554 2005-02-21 Mark Wielaard <mark@klomp.org>
3556 * java/text/SimpleDateFormat.java
3557 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3558 NullPointerException when formatData is null.
3560 2005-02-21 Mark Wielaard <mark@klomp.org>
3562 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3563 taking dstSavings into account.
3565 2005-02-21 Sven de Marothy <sven@physto.se>
3567 * java/text/SimpleDateFormat.java,
3568 (parse): Set correct DST_OFFSET to the correct value.
3570 2005-02-21 Mark Wielaard <mark@klomp.org>
3572 * java/util/SimpleTimeZone.java (checkRule): Throw
3573 IllegalArgumentException when month out of range.
3575 2005-02-21 Sven de Marothy <sven@physto.se>
3577 * java/util/GregorianCalendar.java,
3578 (add): Don't set fields directly anymore. Use set()
3580 2005-02-21 Mark Wielaard <mark@klomp.org>
3582 * java/text/SimpleDateFormat.java (CompiledField.toString):
3583 Use StringBuffer, not StringBuilder.
3584 (toString): Likewise.
3586 2005-02-21 Sven de Marothy <sven@physto.se>
3588 * java/util/Calendar.java
3589 (clear): Dates should clear to local time.
3590 * java/util/GregorianCalendar.java
3591 (computeTime): Fix priority problem with DAY_OF_WEEK,
3592 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3594 2005-02-21 Sven de Marothy <sven@physto.se>
3596 * java/util/Calendar.java
3597 (Calendar): Constructor should clear fields.
3599 2005-02-21 Sven de Marothy <sven@physto.se>
3601 * java/text/SimpleDateFormat.java
3602 (parse): Tweak handling of 2-year dates
3603 * java/util/Calendar.java
3604 (clear): Clear fields to correct value.
3605 * java/util/GregorianCalendar.java
3606 (computeTime): Correct handling of time zones.
3607 Correct field minimum values.
3609 2005-02-21 Sven de Marothy <sven@physto.se>
3611 * java/util/Calendar.java
3612 (set) Invalidate all fields on first call to set().
3614 2005-02-21 Sven de Marothy <sven@physto.se>
3616 * java/util/GregorianCalendar.java
3617 (computeTime): Fixed handling of time zones.
3619 2005-02-21 Sven de Marothy <sven@physto.se>
3621 * java/util/Calendar.java
3622 (clear): Set values to Epoch instead of zero.
3623 (set): Set isSet to the relevant field pattern instead of just
3625 * java/util/GregorianCalendar.java
3626 (getBundle): Removed.
3627 (getDayOfYear): Removed.
3628 (getFirstDayOfMonth): New private method.
3629 (nonLeniencyCheck): New private method.
3630 (computeTime): Correct handling of insufficient data.
3632 2005-02-21 Sven de Marothy <sven@physto.se>
3634 * java/util/Calendar.java: Invalidate ERA field on setting
3636 * java/util/SimpleTimeZone.java:
3637 (getDaysInMonth): Reimplemented.
3638 * java/util/GregorianCalendar.java:
3639 (getLinearTime): Removed.
3640 (isLeapYear(int,boolean)): Removed.
3641 (before(), after()): Removed.
3642 (computeTime): Reimplemented.
3644 2005-02-21 Sven de Marothy <sven@physto.se>
3646 * java/util/Calendar.java: Reformatted.
3647 * java/util/GregorianCalendar.java: Reformatted.
3648 * java/util/SimpleTimeZone.java: Reformatted.
3650 2005-02-21 Sven de Marothy <sven@physto.se>
3652 * java/util/GregorianCalendar.java
3653 (GregorianCalendar): Update fields in the constructor
3655 2005-02-21 Noa Resare <noa@resare.com>
3657 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3658 (set(int,int)): Set and use new field.
3659 (set(int,int,int)): Check new field.
3661 2005-02-21 Noa Resare <address@hidden>
3663 * java/util/Calendar.java(set):
3664 Fix for DST related regression.
3666 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3668 * java/util/Calendar.java
3669 (setTimeInMillis): Added call to clear, removed computeFields call.
3670 * java/util/Date.java
3671 (Date(int,int,int,int,int,int)): Removed workaround for
3672 GregorianCalendar bug.
3673 * java/util/GregorianCalendar.java
3674 (GregorianCalendar): Chained all constructors to a (new)
3676 (computeTime): Fixed support for lenient month treatment.
3677 (getLinearDay): Return long instead of int.
3678 (calculateDay): Added fields argument and changed day argument
3681 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3683 * java/text/SimpleDateFormat.java
3684 Lots of documentation updates.
3685 (readObject(java.io.ObjectInputStream)): Wraps
3686 IllegalArgumentException as specified.
3687 (compileFormat(String)): Uses standardChars
3688 rather than the local pattern characters.
3689 Throws IllegalArgumentException rather than
3691 (toString()): Extended to include all variables
3693 (translateLocalizedPattern(String, String, String)):
3694 Renamed to better define the use of this method.
3696 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3698 * java/text/DateFormat.java:
3699 Documented pattern character offset constants and
3701 (Field): Added new static fields for new pattern chars.
3702 * java/text/SimpleDateFormat.java:
3703 (CompiledField): Changed name of FieldSizePair class
3704 to CompiledField after adding the character as an
3705 attribute. Changed fields to private and added
3706 accessors to give encapsulation.
3707 (CompiledField.CompiledField(int,int,char)): Extended
3708 with character field.
3709 (CompiledField.getField()): New accessor method.
3710 (CompiledField.getSize()): New acceessor method.
3711 (CompiledField.getCharacter()): New accessor method.
3712 (CompiledField.toString()): Added primarily for debugging.
3713 (standardChars): Now uses extended 24 character sequence.
3714 (compileFormat(String)): Changed to use CompiledField.
3715 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3716 java.text.FieldPosition)): Changed to use CompiledField.
3717 New handler for RFC 822 timezones added.
3719 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3721 * java/text/SimpleDateFormat.java:
3722 (parse(String, java.text.ParsePosition)):
3723 Changed 'E' and 'M' cases to use both
3724 short and long names. Extended 'z'
3725 case to also handle 'Z', and deal
3726 with simple GMT offsets such as +0100.
3727 (computeOffset(String)): New private method,
3728 which converts a GMT offset specification,
3729 such as GMT-0500 to a numeric offset in
3731 * java/util/TimeZone.java:
3732 (timezones()): Added "CEST", the daylight
3733 savings time version of "CET", or Central
3736 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3738 * java/text/SimpleDateFormat.java:
3739 (parse): Set the DST offset to 0 when parsing
3740 GMT offset timezones.
3742 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3744 * java/text/SimpleDateFormat.java:
3745 (parse): Use offset to set ZONE_OFFSET
3746 rather than the DST_OFFSET, so that
3747 GMT offset timezones change the right
3750 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3752 * java/text/SimpleDateFormat.java:
3753 (getDateFormatSymbols()): return a copy
3754 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3755 throw exception on null input
3756 (clone()): implemented to clone
3759 2005-02-21 Sven de Marothy <sven@physto.se>
3761 * java/text/SimpleDateFormat.java
3762 (parse): comparison should be case-insensitive, ignore null
3765 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3767 * gnu/java/beans/IntrospectionIncubator.java
3768 (addMethod) Reverts the patch that ntroduced a regression (see bug
3769 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3771 2005-02-21 Michael Koch <konqueror@gmx.de>
3773 * java/awt/Checkbox.java
3774 (next_checkbox_number): New static variable.
3775 (generateName): New method.
3776 (getUniqueLong): Likewise.
3777 * java/awt/Window.java
3778 (next_window_number): New static variable.
3779 (generateName): New method.
3780 (getUniqueLong): Likewise.
3782 2005-02-21 Mark Wielaard <mark@klomp.org>
3784 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3787 2005-02-21 Andrew Haley <aph@redhat.com>
3789 * Makefile.in: Rebuilt.
3790 * Makefile.am (nat_source_files): Added natLogger.cc.
3791 * java/util/logging/natLogger.cc: New file.
3792 * java/util/logging/Logger.java (getCallerStackFrame): Now
3795 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3797 * Makefile.am (all_property_files): Remove left over.
3798 (classes.stamp): Add stamp for the ONESTEP build, also known as
3799 --enable-libgcj-multifile.
3800 * Makefile.in: Regenerated.
3802 2005-02-21 Michael Koch <konqueror@gmx.de>
3804 * java/awt/Button.java,
3805 java/awt/Container.java,
3807 java/awt/Frame.java,
3808 java/text/CollationElementIterator.java,
3809 java/text/RuleBasedCollator.java,
3810 java/util/PropertyPermission.java:
3811 Fixed formatting issues all over.
3813 2005-02-21 Mark Wielaard <mark@klomp.org>
3815 * java/io/FileDescriptor.java (sync): Add real exception to
3816 SyncFailedException.
3818 2005-02-21 Michael Koch <konqueror@gmx.de>
3820 * java/io/InputStreamReader.java:
3823 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3826 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3828 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3830 * libraries/javalib/gnu/regexp/RE.java,
3831 libraries/javalib/java/io/ObjectInputStream.java,
3832 libraries/javalib/java/security/AllPermission.java,
3833 libraries/javalib/java/security/BasicPermission.java,
3834 libraries/javalib/java/security/Permissions.java,
3835 libraries/javalib/java/text/MessageFormat.java:
3836 Made 'inner' classes real public static inner classes,
3837 and made them final where possible, or removed them
3840 2005-02-20 Michael Koch <konqueror@gmx.de>
3842 * gnu/java/text/FormatCharacterIterator.java:
3843 Removed redundant modifiers.
3845 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3847 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3850 2005-02-19 Michael Koch <konqueror@gmx.de>
3852 * Makefile.am: Added new files in gnu/java/beans and
3853 java/beans/XMLDecoder.java.
3854 * Makefile.in: Regenerated.
3856 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3858 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3859 assignment behavior by using java.lang.reflect.Array.set()
3862 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3864 * gnu/java/beans/EmptyBeanInfo.java,
3865 gnu/java/beans/info/ComponentBeanInfo.java:
3866 Removed unused files.
3868 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3870 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3871 of AppletStub for java.beans.Beans.instantiate.
3872 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3874 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3875 to be conformant with Javadoc guidelines.
3876 (instantiate): Added two more overloaded variants, reworked user
3877 documentation, fixed exception behavior, fixed behavior when
3880 2005-02-19 Mark Wielaard <mark@klomp.org>
3882 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3884 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3886 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3888 * gnu/java/beans/decoder/AbstractContext.java,
3889 gnu/java/beans/decoder/AbstractCreatableContext.java,
3890 gnu/java/beans/decoder/AbstractElementHandler.java,
3891 gnu/java/beans/decoder/AbstractObjectContext.java,
3892 gnu/java/beans/decoder/ArrayContext.java,
3893 gnu/java/beans/decoder/ArrayHandler.java,
3894 gnu/java/beans/decoder/AssemblyException.java,
3895 gnu/java/beans/decoder/BooleanHandler.java,
3896 gnu/java/beans/decoder/ByteHandler.java,
3897 gnu/java/beans/decoder/CharHandler.java,
3898 gnu/java/beans/decoder/ClassHandler.java,
3899 gnu/java/beans/decoder/ConstructorContext.java,
3900 gnu/java/beans/decoder/Context.java,
3901 gnu/java/beans/decoder/DecoderContext.java,
3902 gnu/java/beans/decoder/DefaultExceptionListener.java,
3903 gnu/java/beans/decoder/DoubleHandler.java,
3904 gnu/java/beans/decoder/DummyContext.java,
3905 gnu/java/beans/decoder/DummyHandler.java,
3906 gnu/java/beans/decoder/ElementHandler.java,
3907 gnu/java/beans/decoder/FloatHandler.java,
3908 gnu/java/beans/decoder/GrowableArrayContext.java,
3909 gnu/java/beans/decoder/IndexContext.java,
3910 gnu/java/beans/decoder/IntHandler.java,
3911 gnu/java/beans/decoder/JavaHandler.java,
3912 gnu/java/beans/decoder/LongHandler.java,
3913 gnu/java/beans/decoder/MethodContext.java,
3914 gnu/java/beans/decoder/MethodFinder.java,
3915 gnu/java/beans/decoder/NullHandler.java,
3916 gnu/java/beans/decoder/ObjectContext.java,
3917 gnu/java/beans/decoder/ObjectHandler.java,
3918 gnu/java/beans/decoder/PersistenceParser.java,
3919 gnu/java/beans/decoder/PropertyContext.java,
3920 gnu/java/beans/decoder/ShortHandler.java,
3921 gnu/java/beans/decoder/SimpleHandler.java,
3922 gnu/java/beans/decoder/StaticMethodContext.java,
3923 gnu/java/beans/decoder/StringHandler.java,
3924 gnu/java/beans/decoder/VoidHandler.java: New class
3925 implementing java.beans.XMLDecoder decoding functionality.
3926 * java/beans/XMLDecoder.java: New class.
3928 2005-02-19 Michael Koch <konqueror@gmx.de>
3930 * javax/swing/JTextField.java
3931 (notfiyAction): Added javadoc.
3933 2005-02-19 Sven de Marothy <sven@physto.se>
3935 * javax/swing/SpinnerDateModel.java: Implemented.
3937 2005-02-19 Michael Koch <konqueror@gmx.de>
3939 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3940 * Makefile.in: Regenerated.
3942 2005-02-19 Michael Koch <konqueror@gmx.de>
3944 * gnu/java/nio/SelectorImpl.java:
3945 Reworked import statements.
3946 (register): Removed unused code.
3947 * java/nio/channels/Channels.java: Reformatted.
3948 * java/nio/charset/Charset.java: Likewise.
3949 * java/rmi/server/RemoteObject.java
3950 (serialVersionUID): Made private.
3951 * java/rmi/server/UID.java
3952 (serialVersionUID): Likewise.
3954 2005-02-19 Michael Koch <konqueror@gmx.de>
3956 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3957 gnu/java/net/protocol/ftp/BlockInputStream.java,
3958 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3959 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3960 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3961 gnu/java/net/protocol/ftp/DTPInputStream.java,
3962 gnu/java/net/protocol/ftp/DTP.java,
3963 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3964 gnu/java/net/protocol/ftp/FTPConnection.java,
3965 gnu/java/net/protocol/ftp/FTPException.java,
3966 gnu/java/net/protocol/ftp/FTPResponse.java,
3967 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3968 gnu/java/net/protocol/ftp/Handler.java,
3969 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3970 gnu/java/net/protocol/ftp/StreamInputStream.java,
3971 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3972 gnu/java/net/CRLFInputStream.java,
3973 gnu/java/net/CRLFOutputStream.java,
3974 gnu/java/net/GetLocalHostAction.java,
3975 gnu/java/net/protocol/ftp/package.html: New files.
3976 * Makefile.am: Added new files.
3977 * Makefile.in: Regenerated.
3979 2005-02-18 Tom Tromey <tromey@redhat.com>
3981 * link.cc (make_vtable): Remove abstract method check.
3982 (append_partial_itable): Likewise.
3985 * verify.cc (type::equals): Fixed test.
3986 * testsuite/libjava.lang/PR20056.out: New file.
3987 * testsuite/libjava.lang/PR20056.java: New file.
3989 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3991 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3992 not the HashEntry. Reported by Jean-Marie White.
3994 2005-02-18 Tom Tromey <tromey@redhat.com>
3997 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3998 * link.cc (has_field_p): New function.
3999 * verify.cc (check_field_constant): Added 'putfield' argument.
4000 (verify_instructions_0): Updated.
4001 (type::equals): New method.
4003 2005-02-18 Anthony Green <green@redhat.com>
4005 * NEWS: Draft of libgcj NEWS for 4.0.
4007 2005-02-18 Anthony Green <green@redhat.com>
4009 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4010 architecture names to "i386" for compatibility reasons. Win32
4013 2005-02-18 Anthony Green <green@redhat.com>
4015 * gij.cc (version): Change year for '--version' to 2005.
4016 * gnu/gcj/convert/Convert.java: Ditto.
4017 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4018 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4020 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4021 recent copyright year in `--version' output.
4023 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4025 * java/nio/charset/Charset.java (forName): Throws
4026 IllegalArgumentException when argument is null
4027 and added documentation.
4029 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4031 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4032 Move the position of the source buffer forward.
4034 2005-02-17 Tom Tromey <tromey@redhat.com>
4036 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4037 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4038 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4039 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4040 Changed type of second argument. Rewrote.
4041 (make_vtable): Use it.
4042 (append_partial_itable): Updated.
4043 (layout_vtable_methods): Updated.
4045 2005-02-17 Michael Koch <konqueror@gmx.de>
4047 * gnu/java/net/PlainSocketImpl.java
4048 (shutdownInput): Added javadoc.
4049 (shutdownOutput): Likewise.
4051 2005-02-17 Michael Koch <konqueror@gmx.de>
4053 * javax/print/attribute/standard/Chromaticity.java,
4054 javax/print/attribute/standard/Destination.java,
4055 javax/print/attribute/standard/MediaPrintableArea.java,
4056 javax/print/attribute/standard/MediaSize.java: New files.
4057 * Makefile.am: Added new files.
4058 * Makefile.in: Regenerated.
4060 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4061 Michael Koch <konqueror@gmx.de>
4063 * gnu/java/net/protocol/http/Cookie.java,
4064 gnu/java/net/protocol/http/HTTPConnection.java,
4065 gnu/java/net/protocol/http/HTTPDateFormat.java,
4066 gnu/java/net/protocol/http/Request.java,
4067 gnu/java/nio/PipeImpl.java,
4068 gnu/java/rmi/dgc/DGCImpl.java,
4069 gnu/java/rmi/server/ConnectionRunnerPool.java,
4070 gnu/java/rmi/server/UnicastConnectionManager.java,
4071 gnu/java/security/der/DERWriter.java,
4072 gnu/java/security/pkcs/SignerInfo.java,
4073 gnu/java/security/provider/EncodedKeyFactory.java,
4074 gnu/java/security/provider/GnuDHPublicKey.java,
4075 gnu/java/security/provider/GnuDSAPrivateKey.java,
4076 gnu/java/security/provider/GnuDSAPublicKey.java,
4077 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4078 gnu/java/security/x509/X500DistinguishedName.java,
4079 gnu/java/security/x509/X509CRL.java,
4080 gnu/java/security/x509/X509CRLEntry.java,
4081 gnu/java/security/x509/X509Certificate.java,
4082 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4083 gnu/java/security/x509/ext/CertificatePolicies.java,
4084 gnu/java/security/x509/ext/PolicyConstraint.java,
4085 gnu/xml/dom/Consumer.java,
4086 gnu/xml/dom/DomCharacterData.java,
4087 gnu/xml/dom/DomDocument.java,
4088 gnu/xml/dom/DomDocumentBuilder.java,
4089 gnu/xml/dom/DomIterator.java,
4090 gnu/xml/dom/DomNode.java,
4091 gnu/xml/dom/DomXPathExpression.java,
4092 gnu/xml/dom/DomXPathResult.java,
4093 gnu/xml/dom/JAXPFactory.java,
4094 gnu/xml/pipeline/CallFilter.java,
4095 gnu/xml/pipeline/DomConsumer.java,
4096 gnu/xml/pipeline/LinkFilter.java,
4097 gnu/xml/pipeline/NSFilter.java,
4098 gnu/xml/pipeline/TeeConsumer.java,
4099 gnu/xml/pipeline/ValidationConsumer.java,
4100 gnu/xml/pipeline/WellFormednessFilter.java,
4101 gnu/xml/pipeline/XIncludeFilter.java,
4102 gnu/xml/pipeline/XsltFilter.java,
4103 gnu/xml/transform/ApplyImportsNode.java,
4104 gnu/xml/transform/Bindings.java,
4105 gnu/xml/transform/DocumentFunction.java,
4106 gnu/xml/transform/FormatNumberFunction.java,
4107 gnu/xml/transform/NodeNumberNode.java,
4108 gnu/xml/transform/NumberNode.java,
4109 gnu/xml/transform/Stylesheet.java,
4110 gnu/xml/transform/SystemPropertyFunction.java,
4111 gnu/xml/transform/Template.java,
4112 gnu/xml/transform/TemplatesImpl.java,
4113 gnu/xml/transform/TransformerImpl.java,
4114 gnu/xml/transform/ValueOfNode.java,
4115 gnu/xml/transform/XSLURIResolver.java,
4116 gnu/xml/util/DoParse.java,
4117 gnu/xml/util/Resolver.java,
4118 gnu/xml/xpath/Expr.java,
4119 gnu/xml/xpath/FunctionCall.java,
4120 gnu/xml/xpath/RelationalExpr.java,
4121 gnu/xml/xpath/Selector.java,
4122 gnu/xml/xpath/XPathParser.java:
4123 Reworked import statements, fixed modifier order and some little
4126 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4128 * java/nio/ByteBufferImpl.java (compact):
4129 Set position and limit even if no bytes were moved.
4131 2005-02-17 Michael Koch <konqueror@gmx.de>
4133 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4134 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4135 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4136 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4137 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4138 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4139 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4140 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4141 * java/nio/FloatBufferImpl.java (compact): Set position.
4142 * java/nio/CharBufferImpl.java (compact): Likewise.
4143 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4144 * java/nio/IntBufferImpl.java (compact): Likewise.
4145 * java/nio/LongBufferImpl.java (compact): Likewise.
4146 * java/nio/ShortBufferImpl.java (compact): Likewise.
4148 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4150 * java/nio/ByteBufferImpl.java,
4151 java/nio/CharBufferImpl.java,
4152 java/nio/DirectByteBufferImpl.java,
4153 java/nio/DoubleBufferImpl.java,
4154 java/nio/FloatBufferImpl.java,
4155 java/nio/IntBufferImpl.java,
4156 java/nio/LongBufferImpl.java,
4157 java/nio/MappedByteBufferImpl.java,
4158 java/nio/ShortBufferImpl.java
4159 (compact): Added explicit read-only check and invalidate mark.
4161 2005-02-17 Michael Koch <konqueror@gmx.de>
4163 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4164 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4165 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4166 gnu/java/awt/peer/gtk/GdkGraphics.java,
4167 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4168 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4169 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4170 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4171 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4172 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4173 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4174 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4175 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4176 gnu/java/awt/peer/gtk/GtkClipboard.java,
4177 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4178 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4179 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4180 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4181 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4182 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4183 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4184 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4185 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4186 gnu/java/awt/peer/gtk/GtkToolkit.java,
4187 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4188 java/applet/Applet.java,
4189 java/awt/AWTError.java,
4190 java/awt/AWTEvent.java,
4191 java/awt/AWTEventMulticaster.java,
4192 java/awt/AWTException.java,
4193 java/awt/AWTKeyStroke.java,
4194 java/awt/AWTPermission.java,
4195 java/awt/ActiveEvent.java,
4196 java/awt/Adjustable.java,
4197 java/awt/AlphaComposite.java,
4198 java/awt/AttributeValue.java,
4199 java/awt/BorderLayout.java,
4200 java/awt/BufferCapabilities.java,
4201 java/awt/Button.java,
4202 java/awt/Canvas.java,
4203 java/awt/CheckboxGroup.java,
4204 java/awt/CheckboxMenuItem.java,
4205 java/awt/Color.java,
4206 java/awt/ColorPaintContext.java,
4207 java/awt/Component.java,
4208 java/awt/ComponentOrientation.java,
4209 java/awt/Composite.java,
4210 java/awt/CompositeContext.java,
4211 java/awt/Container.java,
4212 java/awt/ContainerOrderFocusTraversalPolicy.java,
4213 java/awt/DefaultFocusTraversalPolicy.java,
4214 java/awt/Dialog.java,
4215 java/awt/Dimension.java,
4216 java/awt/DisplayMode.java,
4217 java/awt/EventQueue.java,
4218 java/awt/FileDialog.java,
4219 java/awt/FontFormatException.java,
4220 java/awt/Graphics.java,
4221 java/awt/Graphics2D.java,
4222 java/awt/GraphicsConfigTemplate.java,
4223 java/awt/GraphicsConfiguration.java,
4224 java/awt/GraphicsDevice.java,
4225 java/awt/GridBagLayout.java,
4226 java/awt/GridBagLayoutInfo.java,
4227 java/awt/GridLayout.java,
4228 java/awt/HeadlessException.java,
4229 java/awt/IllegalComponentStateException.java,
4230 java/awt/Image.java,
4231 java/awt/Insets.java,
4232 java/awt/ItemSelectable.java,
4233 java/awt/JobAttributes.java,
4234 java/awt/KeyEventDispatcher.java,
4235 java/awt/KeyEventPostProcessor.java,
4236 java/awt/KeyboardFocusManager.java,
4237 java/awt/Label.java,
4238 java/awt/LayoutManager.java,
4239 java/awt/MenuBar.java,
4240 java/awt/MenuComponent.java,
4241 java/awt/MenuContainer.java,
4242 java/awt/PageAttributes.java,
4243 java/awt/Paint.java,
4244 java/awt/PaintContext.java,
4245 java/awt/Panel.java,
4246 java/awt/Point.java,
4247 java/awt/Polygon.java,
4248 java/awt/PrintGraphics.java,
4249 java/awt/PrintJob.java,
4250 java/awt/Rectangle.java,
4251 java/awt/RenderingHints.java,
4252 java/awt/Shape.java,
4253 java/awt/Stroke.java,
4254 java/awt/SystemColor.java,
4255 java/awt/Toolkit.java,
4256 java/awt/Transparency.java,
4257 java/awt/Window.java,
4258 java/awt/color/CMMException.java,
4259 java/awt/color/ColorSpace.java,
4260 java/awt/color/ICC_ColorSpace.java,
4261 java/awt/color/ICC_Profile.java,
4262 java/awt/color/ProfileDataException.java,
4263 java/awt/datatransfer/FlavorTable.java,
4264 java/awt/datatransfer/MimeTypeParseException.java,
4265 java/awt/datatransfer/Transferable.java,
4266 java/awt/datatransfer/UnsupportedFlavorException.java,
4267 java/awt/dnd/Autoscroll.java,
4268 java/awt/dnd/DnDConstants.java,
4269 java/awt/dnd/DragGestureListener.java,
4270 java/awt/dnd/DragSourceAdapter.java,
4271 java/awt/dnd/DragSourceDropEvent.java,
4272 java/awt/dnd/DragSourceListener.java,
4273 java/awt/dnd/DragSourceMotionListener.java,
4274 java/awt/dnd/DropTargetAdapter.java,
4275 java/awt/dnd/DropTargetContext.java,
4276 java/awt/dnd/DropTargetListener.java,
4277 java/awt/dnd/InvalidDnDOperationException.java,
4278 java/awt/dnd/MouseDragGestureRecognizer.java,
4279 java/awt/dnd/peer/DropTargetContextPeer.java,
4280 java/awt/event/AWTEventListener.java,
4281 java/awt/event/AWTEventListenerProxy.java,
4282 java/awt/event/ActionEvent.java,
4283 java/awt/event/AdjustmentEvent.java,
4284 java/awt/event/AdjustmentListener.java,
4285 java/awt/event/ComponentAdapter.java,
4286 java/awt/event/ComponentEvent.java,
4287 java/awt/event/ComponentListener.java,
4288 java/awt/event/ContainerAdapter.java,
4289 java/awt/event/ContainerEvent.java,
4290 java/awt/event/ContainerListener.java,
4291 java/awt/event/FocusAdapter.java,
4292 java/awt/event/FocusEvent.java,
4293 java/awt/event/FocusListener.java,
4294 java/awt/event/InputEvent.java,
4295 java/awt/event/InputMethodEvent.java,
4296 java/awt/event/InputMethodListener.java,
4297 java/awt/event/InvocationEvent.java,
4298 java/awt/event/ItemEvent.java,
4299 java/awt/event/ItemListener.java,
4300 java/awt/event/KeyAdapter.java,
4301 java/awt/event/KeyEvent.java,
4302 java/awt/event/KeyListener.java,
4303 java/awt/event/MouseAdapter.java,
4304 java/awt/event/MouseEvent.java,
4305 java/awt/event/MouseListener.java,
4306 java/awt/event/MouseMotionAdapter.java,
4307 java/awt/event/MouseMotionListener.java,
4308 java/awt/event/MouseWheelEvent.java,
4309 java/awt/event/MouseWheelListener.java,
4310 java/awt/event/PaintEvent.java,
4311 java/awt/event/TextEvent.java,
4312 java/awt/event/TextListener.java,
4313 java/awt/event/WindowAdapter.java,
4314 java/awt/event/WindowEvent.java,
4315 java/awt/event/WindowFocusListener.java,
4316 java/awt/event/WindowListener.java,
4317 java/awt/event/WindowStateListener.java,
4318 java/awt/font/TextHitInfo.java,
4319 java/awt/geom/CubicCurve2D.java,
4320 java/awt/geom/Dimension2D.java,
4321 java/awt/geom/Ellipse2D.java,
4322 java/awt/geom/IllegalPathStateException.java,
4323 java/awt/geom/Line2D.java,
4324 java/awt/geom/NoninvertibleTransformException.java,
4325 java/awt/geom/PathIterator.java,
4326 java/awt/geom/Point2D.java,
4327 java/awt/geom/QuadCurve2D.java,
4328 java/awt/geom/RectangularShape.java,
4329 java/awt/geom/RoundRectangle2D.java,
4330 java/awt/im/InputContext.java,
4331 java/awt/im/InputMethodHighlight.java,
4332 java/awt/im/InputMethodRequests.java,
4333 java/awt/im/InputSubset.java,
4334 java/awt/im/spi/InputMethod.java,
4335 java/awt/im/spi/InputMethodDescriptor.java,
4336 java/awt/image/BandCombineOp.java,
4337 java/awt/image/BandedSampleModel.java,
4338 java/awt/image/ByteLookupTable.java,
4339 java/awt/image/ComponentSampleModel.java,
4340 java/awt/image/DataBuffer.java,
4341 java/awt/image/DataBufferByte.java,
4342 java/awt/image/DataBufferDouble.java,
4343 java/awt/image/DataBufferFloat.java,
4344 java/awt/image/DataBufferInt.java,
4345 java/awt/image/DataBufferShort.java,
4346 java/awt/image/DataBufferUShort.java,
4347 java/awt/image/ImagingOpException.java,
4348 java/awt/image/Kernel.java,
4349 java/awt/image/LookupTable.java,
4350 java/awt/image/MultiPixelPackedSampleModel.java,
4351 java/awt/image/PackedColorModel.java,
4352 java/awt/image/PixelInterleavedSampleModel.java,
4353 java/awt/image/RGBImageFilter.java,
4354 java/awt/image/Raster.java,
4355 java/awt/image/RasterFormatException.java,
4356 java/awt/image/SampleModel.java,
4357 java/awt/image/ShortLookupTable.java,
4358 java/awt/image/SinglePixelPackedSampleModel.java,
4359 java/awt/image/WritableRaster.java,
4360 java/awt/print/PrinterAbortException.java,
4361 java/awt/print/PrinterException.java,
4362 java/awt/print/PrinterIOException.java,
4363 java/beans/AppletInitializer.java,
4364 java/beans/ExceptionListener.java,
4365 java/beans/PropertyChangeEvent.java,
4366 java/beans/PropertyChangeListenerProxy.java,
4367 java/beans/PropertyChangeSupport.java,
4368 java/beans/PropertyDescriptor.java,
4369 java/beans/VetoableChangeListenerProxy.java,
4370 java/beans/VetoableChangeSupport.java,
4371 java/io/BufferedReader.java,
4372 java/io/ByteArrayInputStream.java,
4373 java/io/ByteArrayOutputStream.java,
4374 java/io/CharArrayReader.java,
4375 java/io/CharArrayWriter.java,
4376 java/io/CharConversionException.java,
4377 java/io/DataInput.java,
4378 java/io/DataInputStream.java,
4379 java/io/DataOutput.java,
4380 java/io/DataOutputStream.java,
4381 java/io/EOFException.java,
4382 java/io/FileInputStream.java,
4383 java/io/FileNotFoundException.java,
4384 java/io/FileOutputStream.java,
4385 java/io/FilenameFilter.java,
4386 java/io/FilterInputStream.java,
4387 java/io/FilterOutputStream.java,
4388 java/io/FilterReader.java,
4389 java/io/FilterWriter.java,
4390 java/io/IOException.java,
4391 java/io/InputStream.java,
4392 java/io/InterruptedIOException.java,
4393 java/io/LineNumberInputStream.java,
4394 java/io/LineNumberReader.java,
4395 java/io/ObjectInputStream.java,
4396 java/io/ObjectStreamException.java,
4397 java/io/OptionalDataException.java,
4398 java/io/OutputStream.java,
4399 java/io/OutputStreamWriter.java,
4400 java/io/PrintStream.java,
4401 java/io/PrintWriter.java,
4402 java/io/PushbackInputStream.java,
4403 java/io/PushbackReader.java,
4404 java/io/RandomAccessFile.java,
4405 java/io/Reader.java,
4406 java/io/SequenceInputStream.java,
4407 java/io/Serializable.java,
4408 java/io/StreamCorruptedException.java,
4409 java/io/StreamTokenizer.java,
4410 java/io/StringBufferInputStream.java,
4411 java/io/StringWriter.java,
4412 java/io/SyncFailedException.java,
4413 java/io/UTFDataFormatException.java,
4414 java/io/UnsupportedEncodingException.java,
4415 java/io/WriteAbortedException.java,
4416 java/io/Writer.java,
4417 java/lang/AbstractMethodError.java,
4418 java/lang/ArithmeticException.java,
4419 java/lang/ArrayIndexOutOfBoundsException.java,
4420 java/lang/ArrayStoreException.java,
4421 java/lang/AssertionError.java,
4422 java/lang/Boolean.java,
4423 java/lang/Byte.java,
4424 java/lang/Class.java,
4425 java/lang/ClassCastException.java,
4426 java/lang/ClassCircularityError.java,
4427 java/lang/ClassLoader.java,
4428 java/lang/ClassNotFoundException.java,
4429 java/lang/CloneNotSupportedException.java,
4430 java/lang/Cloneable.java,
4431 java/lang/Comparable.java,
4432 java/lang/Compiler.java,
4433 java/lang/Double.java,
4434 java/lang/Error.java,
4435 java/lang/Exception.java,
4436 java/lang/ExceptionInInitializerError.java,
4437 java/lang/Float.java,
4438 java/lang/IllegalAccessError.java,
4439 java/lang/IllegalAccessException.java,
4440 java/lang/IllegalArgumentException.java,
4441 java/lang/IllegalMonitorStateException.java,
4442 java/lang/IllegalStateException.java,
4443 java/lang/IllegalThreadStateException.java,
4444 java/lang/IncompatibleClassChangeError.java,
4445 java/lang/IndexOutOfBoundsException.java,
4446 java/lang/InheritableThreadLocal.java,
4447 java/lang/InstantiationError.java,
4448 java/lang/InstantiationException.java,
4449 java/lang/Integer.java,
4450 java/lang/InternalError.java,
4451 java/lang/InterruptedException.java,
4452 java/lang/LinkageError.java,
4453 java/lang/Long.java,
4454 java/lang/NegativeArraySizeException.java,
4455 java/lang/NoClassDefFoundError.java,
4456 java/lang/NoSuchFieldError.java,
4457 java/lang/NoSuchFieldException.java,
4458 java/lang/NoSuchMethodError.java,
4459 java/lang/NoSuchMethodException.java,
4460 java/lang/NullPointerException.java,
4461 java/lang/Number.java,
4462 java/lang/NumberFormatException.java,
4463 java/lang/OutOfMemoryError.java,
4464 java/lang/Process.java,
4465 java/lang/Runnable.java,
4466 java/lang/Runtime.java,
4467 java/lang/RuntimeException.java,
4468 java/lang/RuntimePermission.java,
4469 java/lang/SecurityException.java,
4470 java/lang/SecurityManager.java,
4471 java/lang/Short.java,
4472 java/lang/StackOverflowError.java,
4473 java/lang/StackTraceElement.java,
4474 java/lang/StringBuffer.java,
4475 java/lang/StringIndexOutOfBoundsException.java,
4476 java/lang/ThreadDeath.java,
4477 java/lang/ThreadGroup.java,
4478 java/lang/Throwable.java,
4479 java/lang/UnsatisfiedLinkError.java,
4480 java/lang/UnsupportedOperationException.java,
4481 java/lang/VerifyError.java,
4482 java/lang/VirtualMachineError.java,
4483 java/lang/reflect/AccessibleObject.java,
4484 java/lang/reflect/Array.java,
4485 java/lang/reflect/InvocationTargetException.java,
4486 java/lang/reflect/Member.java,
4487 java/lang/reflect/Modifier.java,
4488 java/lang/reflect/Proxy.java,
4489 java/lang/reflect/ReflectPermission.java,
4490 java/lang/reflect/UndeclaredThrowableException.java,
4491 java/math/BigInteger.java,
4492 java/net/NetworkInterface.java,
4493 java/nio/ByteBufferHelper.java,
4494 java/nio/ByteBufferImpl.java,
4495 java/nio/DirectByteBufferImpl.java,
4496 java/nio/DoubleBufferImpl.java,
4497 java/nio/FloatBufferImpl.java,
4498 java/nio/IntBufferImpl.java,
4499 java/nio/LongBufferImpl.java,
4500 java/nio/ShortBufferImpl.java,
4501 java/nio/channels/Channel.java,
4502 java/nio/channels/IllegalBlockingModeException.java,
4503 java/nio/charset/spi/CharsetProvider.java,
4504 java/security/AccessControlException.java,
4505 java/security/BasicPermission.java,
4506 java/security/DigestException.java,
4507 java/security/DigestInputStream.java,
4508 java/security/DigestOutputStream.java,
4509 java/security/GeneralSecurityException.java,
4510 java/security/Guard.java,
4511 java/security/GuardedObject.java,
4512 java/security/InvalidAlgorithmParameterException.java,
4513 java/security/InvalidKeyException.java,
4514 java/security/InvalidParameterException.java,
4515 java/security/Key.java,
4516 java/security/KeyException.java,
4517 java/security/KeyManagementException.java,
4518 java/security/KeyStoreException.java,
4519 java/security/MessageDigestSpi.java,
4520 java/security/NoSuchAlgorithmException.java,
4521 java/security/NoSuchProviderException.java,
4522 java/security/Permission.java,
4523 java/security/PermissionCollection.java,
4524 java/security/Permissions.java,
4525 java/security/Principal.java,
4526 java/security/PrivateKey.java,
4527 java/security/PrivilegedActionException.java,
4528 java/security/ProviderException.java,
4529 java/security/PublicKey.java,
4530 java/security/SecureRandom.java,
4531 java/security/SecureRandomSpi.java,
4532 java/security/SignatureException.java,
4533 java/security/SignatureSpi.java,
4534 java/security/SignedObject.java,
4535 java/security/Signer.java,
4536 java/security/UnrecoverableKeyException.java,
4537 java/security/UnresolvedPermission.java,
4538 java/security/acl/AclNotFoundException.java,
4539 java/security/acl/LastOwnerException.java,
4540 java/security/acl/NotOwnerException.java,
4541 java/security/cert/CertPath.java,
4542 java/security/cert/CertPathBuilderException.java,
4543 java/security/cert/CertPathValidatorException.java,
4544 java/security/cert/CertStoreException.java,
4545 java/text/BreakIterator.java,
4546 java/text/ChoiceFormat.java,
4547 java/text/CollationElementIterator.java,
4548 java/text/CollationKey.java,
4549 java/text/Collator.java,
4550 java/text/DateFormat.java,
4551 java/text/DateFormatSymbols.java,
4552 java/text/DecimalFormat.java,
4553 java/text/DecimalFormatSymbols.java,
4554 java/text/FieldPosition.java,
4555 java/text/Format.java,
4556 java/text/NumberFormat.java,
4557 java/text/ParseException.java,
4558 java/text/ParsePosition.java,
4559 java/text/StringCharacterIterator.java,
4560 java/util/AbstractCollection.java,
4561 java/util/AbstractList.java,
4562 java/util/AbstractMap.java,
4563 java/util/AbstractSequentialList.java,
4564 java/util/AbstractSet.java,
4565 java/util/ArrayList.java,
4566 java/util/Arrays.java,
4567 java/util/BitSet.java,
4568 java/util/Collection.java,
4569 java/util/Collections.java,
4570 java/util/Comparator.java,
4571 java/util/ConcurrentModificationException.java,
4572 java/util/Currency.java,
4573 java/util/Date.java,
4574 java/util/EmptyStackException.java,
4575 java/util/Enumeration.java,
4576 java/util/EventListener.java,
4577 java/util/EventListenerProxy.java,
4578 java/util/EventObject.java,
4579 java/util/HashMap.java,
4580 java/util/HashSet.java,
4581 java/util/Hashtable.java,
4582 java/util/IdentityHashMap.java,
4583 java/util/Iterator.java,
4584 java/util/LinkedHashSet.java,
4585 java/util/LinkedList.java,
4586 java/util/List.java,
4587 java/util/ListIterator.java,
4588 java/util/ListResourceBundle.java,
4590 java/util/MissingResourceException.java,
4591 java/util/NoSuchElementException.java,
4592 java/util/Observable.java,
4593 java/util/Observer.java,
4594 java/util/Properties.java,
4595 java/util/PropertyPermissionCollection.java,
4596 java/util/RandomAccess.java,
4598 java/util/SortedMap.java,
4599 java/util/SortedSet.java,
4600 java/util/Stack.java,
4601 java/util/StringTokenizer.java,
4602 java/util/TooManyListenersException.java,
4603 java/util/TreeMap.java,
4604 java/util/TreeSet.java,
4605 java/util/Vector.java,
4606 java/util/logging/FileHandler.java,
4607 java/util/logging/Level.java,
4608 java/util/prefs/BackingStoreException.java,
4609 java/util/prefs/InvalidPreferencesFormatException.java,
4610 java/util/prefs/Preferences.java,
4611 javax/accessibility/Accessible.java,
4612 javax/accessibility/AccessibleAction.java,
4613 javax/accessibility/AccessibleBundle.java,
4614 javax/accessibility/AccessibleComponent.java,
4615 javax/accessibility/AccessibleContext.java,
4616 javax/accessibility/AccessibleEditableText.java,
4617 javax/accessibility/AccessibleExtendedComponent.java,
4618 javax/accessibility/AccessibleExtendedTable.java,
4619 javax/accessibility/AccessibleHyperlink.java,
4620 javax/accessibility/AccessibleHypertext.java,
4621 javax/accessibility/AccessibleIcon.java,
4622 javax/accessibility/AccessibleKeyBinding.java,
4623 javax/accessibility/AccessibleRelation.java,
4624 javax/accessibility/AccessibleRelationSet.java,
4625 javax/accessibility/AccessibleResourceBundle.java,
4626 javax/accessibility/AccessibleRole.java,
4627 javax/accessibility/AccessibleSelection.java,
4628 javax/accessibility/AccessibleState.java,
4629 javax/accessibility/AccessibleStateSet.java,
4630 javax/accessibility/AccessibleTable.java,
4631 javax/accessibility/AccessibleTableModelChange.java,
4632 javax/accessibility/AccessibleText.java,
4633 javax/accessibility/AccessibleValue.java,
4634 javax/imageio/IIOException.java,
4635 javax/imageio/ImageIO.java,
4636 javax/imageio/spi/IIOServiceProvider.java,
4637 javax/imageio/spi/ImageInputStreamSpi.java,
4638 javax/imageio/spi/ImageOutputStreamSpi.java,
4639 javax/imageio/spi/ImageReaderWriterSpi.java,
4640 javax/imageio/spi/ImageTranscoderSpi.java,
4641 javax/imageio/spi/RegisterableService.java,
4642 javax/imageio/spi/ServiceRegistry.java,
4643 javax/imageio/stream/IIOByteBuffer.java,
4644 javax/imageio/stream/ImageInputStream.java,
4645 javax/imageio/stream/ImageOutputStream.java,
4646 javax/naming/Binding.java,
4647 javax/naming/CannotProceedException.java,
4648 javax/naming/CompositeName.java,
4649 javax/naming/CompoundName.java,
4650 javax/naming/LinkException.java,
4651 javax/naming/LinkRef.java,
4652 javax/naming/NameClassPair.java,
4653 javax/naming/Reference.java,
4654 javax/naming/ReferralException.java,
4655 javax/naming/directory/Attribute.java,
4656 javax/naming/directory/AttributeModificationException.java,
4657 javax/naming/directory/Attributes.java,
4658 javax/naming/directory/DirContext.java,
4659 javax/naming/directory/ModificationItem.java,
4660 javax/naming/directory/SearchControls.java,
4661 javax/naming/directory/SearchResult.java,
4662 javax/naming/event/EventContext.java,
4663 javax/naming/event/EventDirContext.java,
4664 javax/naming/event/NamespaceChangeListener.java,
4665 javax/naming/event/NamingExceptionEvent.java,
4666 javax/naming/event/NamingListener.java,
4667 javax/naming/event/ObjectChangeListener.java,
4668 javax/naming/ldap/Control.java,
4669 javax/naming/ldap/ExtendedResponse.java,
4670 javax/naming/ldap/HasControls.java,
4671 javax/naming/ldap/LdapContext.java,
4672 javax/naming/ldap/UnsolicitedNotification.java,
4673 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4674 javax/naming/ldap/UnsolicitedNotificationListener.java,
4675 javax/naming/spi/DirectoryManager.java,
4676 javax/naming/spi/ResolveResult.java,
4677 javax/naming/spi/Resolver.java,
4678 javax/security/auth/callback/Callback.java,
4679 javax/security/auth/callback/CallbackHandler.java,
4680 javax/security/auth/callback/ChoiceCallback.java,
4681 javax/security/auth/callback/ConfirmationCallback.java,
4682 javax/security/auth/callback/LanguageCallback.java,
4683 javax/security/auth/callback/NameCallback.java,
4684 javax/security/auth/callback/PasswordCallback.java,
4685 javax/security/auth/callback/TextInputCallback.java,
4686 javax/security/auth/callback/TextOutputCallback.java,
4687 javax/security/auth/callback/UnsupportedCallbackException.java,
4688 javax/security/sasl/Sasl.java,
4689 javax/security/sasl/SaslServerFactory.java,
4690 javax/swing/DefaultBoundedRangeModel.java,
4691 javax/swing/JComponent.java,
4692 javax/swing/JList.java,
4693 javax/swing/JProgressBar.java,
4694 javax/swing/JRadioButton.java,
4695 javax/swing/JTextArea.java,
4696 javax/swing/JTextField.java,
4697 javax/swing/JToggleButton.java,
4698 javax/swing/JTree.java,
4699 javax/swing/SpinnerListModel.java,
4700 javax/swing/event/EventListenerList.java,
4701 javax/swing/text/JTextComponent.java,
4702 javax/swing/text/StringContent.java,
4703 javax/swing/text/Utilities.java,
4704 javax/swing/undo/UndoManager.java,
4705 javax/swing/undo/UndoableEditSupport.java,
4706 javax/transaction/HeuristicCommitException.java,
4707 javax/transaction/HeuristicMixedException.java,
4708 javax/transaction/HeuristicRollbackException.java,
4709 javax/transaction/InvalidTransactionException.java,
4710 javax/transaction/NotSupportedException.java,
4711 javax/transaction/RollbackException.java,
4712 javax/transaction/Status.java,
4713 javax/transaction/Synchronization.java,
4714 javax/transaction/SystemException.java,
4715 javax/transaction/Transaction.java,
4716 javax/transaction/TransactionManager.java,
4717 javax/transaction/TransactionRequiredException.java,
4718 javax/transaction/TransactionRolledbackException.java,
4719 javax/transaction/UserTransaction.java,
4720 javax/transaction/xa/XAException.java,
4721 javax/transaction/xa/XAResource.java,
4722 javax/transaction/xa/Xid.java,
4723 javax/xml/XMLConstants.java,
4724 javax/xml/datatype/DatatypeConfigurationException.java,
4725 javax/xml/datatype/DatatypeConstants.java,
4726 javax/xml/datatype/DatatypeFactory.java,
4727 javax/xml/datatype/Duration.java,
4728 javax/xml/datatype/XMLGregorianCalendar.java,
4729 javax/xml/namespace/NamespaceContext.java,
4730 javax/xml/namespace/QName.java,
4731 javax/xml/parsers/DocumentBuilder.java,
4732 javax/xml/parsers/DocumentBuilderFactory.java,
4733 javax/xml/parsers/FactoryConfigurationError.java,
4734 javax/xml/parsers/ParserConfigurationException.java,
4735 javax/xml/parsers/SAXParser.java,
4736 javax/xml/parsers/SAXParserFactory.java,
4737 javax/xml/transform/ErrorListener.java,
4738 javax/xml/transform/OutputKeys.java,
4739 javax/xml/transform/Result.java,
4740 javax/xml/transform/Source.java,
4741 javax/xml/transform/SourceLocator.java,
4742 javax/xml/transform/Templates.java,
4743 javax/xml/transform/Transformer.java,
4744 javax/xml/transform/TransformerConfigurationException.java,
4745 javax/xml/transform/TransformerException.java,
4746 javax/xml/transform/TransformerFactory.java,
4747 javax/xml/transform/TransformerFactoryConfigurationError.java,
4748 javax/xml/transform/URIResolver.java,
4749 javax/xml/transform/dom/DOMLocator.java,
4750 javax/xml/transform/dom/DOMResult.java,
4751 javax/xml/transform/dom/DOMSource.java,
4752 javax/xml/transform/sax/SAXResult.java,
4753 javax/xml/transform/sax/SAXSource.java,
4754 javax/xml/transform/sax/SAXTransformerFactory.java,
4755 javax/xml/transform/sax/TemplatesHandler.java,
4756 javax/xml/transform/sax/TransformerHandler.java,
4757 javax/xml/transform/stream/StreamResult.java,
4758 javax/xml/transform/stream/StreamSource.java,
4759 javax/xml/validation/Schema.java,
4760 javax/xml/validation/SchemaFactory.java,
4761 javax/xml/validation/TypeInfoProvider.java,
4762 javax/xml/validation/Validator.java,
4763 javax/xml/validation/ValidatorHandler.java,
4764 javax/xml/xpath/XPathConstants.java,
4765 javax/xml/xpath/XPathException.java,
4766 javax/xml/xpath/XPathExpression.java,
4767 javax/xml/xpath/XPathExpressionException.java,
4768 javax/xml/xpath/XPathFactory.java,
4769 javax/xml/xpath/XPathFactoryConfigurationException.java,
4770 javax/xml/xpath/XPathFunction.java,
4771 javax/xml/xpath/XPathFunctionException.java,
4772 javax/xml/xpath/XPathFunctionResolver.java:
4773 Fixed usage of @author tag, reworked import statements,
4774 removed CVS tags, changed the modifier order and fixed
4775 HTML usage in javadocs.
4777 2005-02-16 Julian Scheid <julian@sektor37.de>
4779 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4781 (encodeLoop): Likewise.
4783 2005-02-16 Mark Wielaard <mark@klomp.org>
4785 * Makefile.am (ordinary_java_source_files): Add new files
4786 gnu/java/security/ber/BER.java,
4787 gnu/java/security/ber/BEREncodingException.java,
4788 gnu/java/security/ber/BERReader.java,
4789 gnu/java/security/ber/BERValue.java,
4790 gnu/java/security/pkcs/PKCS7SignedData.java and
4791 gnu/java/security/pkcs/SignerInfo.java.
4792 * Makefile.in: Regenerated.
4794 2005-02-16 Casey Marshall <csm@gnu.org>
4796 * gnu/java/security/provider/GnuDSAPrivateKey.java
4797 (encodedKey): new field.
4798 (getFormat): return "PKCS#8".
4799 (getEncoded): implemented.
4800 (toString): check for 'null' values.
4801 * gnu/java/security/provider/GnuDSAPublicKey.java
4802 (encodedKey): new field.
4803 (getFormat): return "X.509".
4804 (getEncoded): implemented.
4805 (toString): check for 'null' values.
4807 2005-02-16 Michael Koch <konqueror@gmx.de>
4809 * java/util/jar/JarFile.java: Imports reworked.
4811 2005-02-16 Mark Wielaard <mark@klomp.org>
4813 * java/util/jar/JarFile.java (verify): Make package private.
4814 (signaturesRead): Likewise.
4815 (verified): Likewise.
4816 (entryCerts): Likewise.
4819 (entries): Construct new JarEnumeration with reference to this.
4820 (JarEnumeration): Make static.
4821 (JarEnumeration.jarfile): New field.
4822 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4823 Compare verified value to Boolean.TRUE or Boolean.False only
4824 when verify is true.
4825 (getEntry): Make synchronized. Compare value of verified to
4827 (getInputStream): Construct EntryInputStream with reference to this.
4828 (getManifest): Make synchronized.
4829 (EntryInputStream): Make static.
4830 (EntryInputStream.jarfile): New field.
4831 (EntryInputStream.EntryInputStream): Check if manifest exists,
4832 before getting attributes.
4833 (eof): Synchronize on jarfile.
4835 2005-02-16 Casey Marshall <csm@gnu.org>
4837 * java/util/jar/JarFile.java (verify): return if the jar is signed
4838 with an unsupported algorithm.
4840 2005-02-16 Mark Wielaard <mark@klomp.org>
4842 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4843 InputStream as argument.
4844 (getInputStream): Construct a new EntryInputStream with the result of
4845 super.getInputStream(entry).
4847 2005-02-16 Casey Marshall <csm@gnu.org>
4849 Signed JAR file support.
4850 * java/net/URLClassLoader.java
4851 (JarURLResource.getCertificates): re-read jar entry to ensure
4852 certificates are picked up.
4853 (findClass): fill in class `signers' field, too.
4854 * java/util/jar/JarFile.java (META_INF): new constant.
4855 (PKCS7_DSA_SUFFIX): new constant.
4856 (PKCS7_RSA_SUFFIX): new constant.
4857 (DIGEST_KEY_SUFFIX): new constant.
4858 (SF_SUFFIX): new constant.
4859 (MD2_OID): new constant.
4860 (MD4_OID): new constant.
4861 (MD5_OID): new constant.
4862 (SHA1_OID): new constant.
4863 (DSA_ENCRYPTION_OID): new constant.
4864 (RSA_ENCRYPTION_OID): new constant.
4865 (signaturesRead): new field.
4866 (verified): new field.
4867 (entryCerts): new field.
4868 (DEBUG): new constant.
4869 (debug): new method.
4870 (JarEnumeration.nextElement): fill in entry certificates, read
4871 signatures if they haven't been read.
4872 (getEntry): likewise.
4873 (getInputStream): verify stream if it hasn't been verified yet.
4874 (readSignatures): new method.
4875 (verify): new method.
4876 (verifyHashes): new method.
4877 (readManifestEntry): new method.
4878 (EntryInputStream): new class.
4879 * gnu/java/io/Base64InputStream.java (decode): new class
4881 * gnu/java/security/der/DERReader.java don't make class
4883 (in): made protected.
4885 (readLength): likewise.
4886 * gnu/java/security/ber/BER.java,
4887 * gnu/java/security/ber/BEREncodingException.java,
4888 * gnu/java/security/ber/BERReader.java,
4889 * gnu/java/security/ber/BERValue.java,
4890 * gnu/java/security/pkcs/PKCS7SignedData.java,
4891 * gnu/java/security/pkcs/SignerInfo.java:
4894 2005-02-16 Tom Tromey <tromey@redhat.com>
4896 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4897 copied file on exit.
4899 2005-02-15 Mark Wielaard <mark@klomp.org>
4901 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4903 2005-02-15 Michael Koch <konqueror@gmx.de>
4905 * gnu/java/awt/peer/gtk/GtkArg.java,
4906 gnu/java/awt/peer/gtk/GtkArgList.java:
4909 2005-02-15 Craig Black <craig.black@aonix.com>
4911 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4912 (postMenuActionEvent): Implement to notify ItemListeners.
4913 * java/awt/CheckboxMenuItem.java
4914 (dispatchEventImpl): Update state on ItemEvent.
4915 * java/awt/MenuItem.java
4916 (processActionEvent): Retarget event source.
4918 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4920 * gnu/java/awt/color/ClutProfileConverter.java,
4921 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4922 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4923 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4924 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4925 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4926 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4927 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4928 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4929 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4930 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4931 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4932 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4933 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4934 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4935 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4936 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4937 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4938 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4939 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4940 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4941 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4942 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4943 gnu/java/awt/peer/gtk/GtkToolkit.java,
4944 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4945 javax/swing/JPopupMenu.java,
4946 javax/swing/JSpinner.java,
4947 javax/swing/SortingFocusTraversalPolicy.java,
4948 javax/swing/SwingUtilities.java,
4949 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4950 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4951 javax/swing/tree/DefaultMutableTreeNode.java:
4952 Removed unused imports and expanded starred
4955 2005-02-15 Mark Wielaard <mark@klomp.org>
4957 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4958 IllegalArgumentException when the given String is null.
4960 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4961 when given keystoke sequence cannot be parsed.
4963 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4964 if one is installed. Only install the given menubar is not null.
4966 * javax/swing/JViewport.java (getViewSize): Return an empty
4967 Dimension when the view isn't set or preferred component size when
4970 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4971 empty Dimension when there is no view set.
4972 (minimumLayoutSize): Likewise.
4973 (layoutContainer): Don't try to layout when there is no view.
4975 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4978 * include/jawt.h: Likewise.
4979 * include/jawt_md.h: Likewise.
4980 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4982 * jni/classpath/classpath_jawt.h: Likewise.
4983 * jni/gtk-peer/gtk_jawt.c: Likewise.
4984 * Makefile.am: Build libjawt.so.
4986 2005-02-15 Michael Koch <konqueror@gmx.de>
4988 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4989 Merged file header with classpath CVS head.
4990 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4991 Merged code formatting with classpath CVS head.
4992 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4994 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4995 Handle special JNI strings with 2 '\0' at the end.
4996 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4997 Merged file header with classpath CVS head.
4998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4999 Merged code formatting with classpath CVS head.
5001 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5003 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5004 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5005 (handle_response): Use GTK_RESPONSE_ACCEPT.
5007 2005-02-15 Graydon Hoare <graydon@redhat.com>
5009 * Makefile.am: Fix library build breakage.
5010 * Makefile.in: Regenerate.
5012 2005-02-15 Michael Koch <konqueror@gmx.de>
5014 * javax/swing/JTabbedPane.java
5015 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5017 2005-02-15 Michael Koch <konqueror@gmx.de>
5019 * javax/swing/tree/DefaultMutableTreeNode.java:
5020 Reworked Javadocs all over.
5021 (getPathToRoot): Fixed direction of result array initialization.
5023 2005-02-15 Michael Koch <konqueror@gmx.de>
5025 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5026 Fix includes for cairo 0.3.0 snappshot.
5027 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5028 Merged file header from classpath CVS HEAD.
5030 2005-02-15 Craig Black <craig.black@aonix.com>
5032 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5033 (copyState): Pass a JNI global reference to signal handler.
5034 (realize_cb): Use and free JNI global reference.
5035 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5036 (create): Pass a JNI global reference to signal handler.
5037 (selection_changed): Match declaration.
5038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5039 (dispose): Do not remove entries from state tables until after widget is
5042 2005-02-15 Michael Koch <konqueror@gmx.de>
5044 * java/awt/Container.javai (paramString):
5045 If layoutMgr is null just return result of super.paramString().
5046 * java/awt/Scrollbar.java: Reformatted.
5047 * java/awt/im/InputContext.java (static):
5048 Removed redundant initializations.
5050 2005-02-15 Michael Koch <konqueror@gmx.de>
5052 * javax/swing/ImageIcon.java,
5053 javax/swing/UIManager.java,
5054 javax/swing/text/EditorKit.java,
5055 javax/swing/text/Segment.java:
5056 More whitespace cleanups.
5058 2005-02-15 Michael Koch <konqueror@gmx.de>
5060 * gnu/java/awt/EmbeddedWindow.java,
5061 gnu/java/awt/image/ImageDecoder.java,
5062 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5063 java/awt/DefaultKeyboardFocusManager.java,
5064 java/awt/Frame.java,
5065 java/awt/image/RGBImageFilter.java,
5066 javax/swing/AbstractButton.java,
5067 javax/swing/ActionMap.java,
5068 javax/swing/ComponentInputMap.java,
5069 javax/swing/DefaultDesktopManager.java,
5070 javax/swing/ImageIcon.java,
5071 javax/swing/InputMap.java,
5072 javax/swing/JButton.java,
5073 javax/swing/JCheckBox.java,
5074 javax/swing/JCheckBoxMenuItem.java,
5075 javax/swing/JEditorPane.java,
5076 javax/swing/JMenu.java,
5077 javax/swing/JMenuItem.java,
5078 javax/swing/JOptionPane.java,
5079 javax/swing/JRootPane.java,
5080 javax/swing/JTable.java,
5081 javax/swing/MenuSelectionManager.java,
5082 javax/swing/RepaintManager.java,
5083 javax/swing/ScrollPaneLayout.java,
5084 javax/swing/SortingFocusTraversalPolicy.java,
5085 javax/swing/UIManager.java,
5086 javax/swing/ViewportLayout.java,
5087 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5088 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5089 javax/swing/plaf/basic/BasicLabelUI.java,
5090 javax/swing/plaf/basic/BasicListUI.java,
5091 javax/swing/plaf/basic/BasicMenuItemUI.java,
5092 javax/swing/plaf/basic/BasicMenuUI.java,
5093 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5094 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5095 javax/swing/plaf/basic/BasicRootPaneUI.java,
5096 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5097 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5098 javax/swing/plaf/basic/BasicTextUI.java,
5099 javax/swing/table/TableColumnModel.java,
5100 javax/swing/text/AbstractDocument.java,
5101 javax/swing/text/EditorKit.java,
5102 javax/swing/text/Position.java,
5103 javax/swing/text/Segment.java,
5104 javax/swing/text/StyledEditorKit.java,
5105 javax/swing/text/ViewFactory.java:
5106 Cleanup whitespace differences to classpath CVS HEAD.
5108 2005-02-15 Graydon Hoare <graydon@redhat.com>
5110 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5111 (finalize): Call finish from here.
5112 (produce): Not from here.
5113 * Makefile.am (gtk_c_source_files):
5114 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5115 * Makefile.in: Regenerate.
5116 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5118 (cairoDrawGdkTextLayout):
5120 (getPeerTextMetrics):
5121 (getPeerFontMetrics): Remove.
5122 (setFont): Don't call cairoSetFont.
5123 (cairoDrawGlyphVector): Accept font peer argument.
5124 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5125 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5126 (ensure_metrics_cairo):
5127 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5128 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5129 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5130 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5132 (metrics_surface): Remove.
5133 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5134 Pass and install font peer.
5136 2005-02-15 Graydon Hoare <graydon@redhat.com>
5138 * Makefile.am: Create "split library" structure.
5139 * Makefile.in: Regenerate.
5141 2005-02-15 Graydon Hoare <graydon@redhat.com>
5143 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5147 Release GDK lock during upcalls.
5149 2005-02-15 Graydon Hoare <graydon@redhat.com>
5151 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5153 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5154 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5155 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5156 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5157 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5160 (getTextMetrics): New native methods.
5161 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5162 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5163 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5164 * Makefile.in: Regenerate.
5166 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5168 * javax/swing/SwingUtilities.java:
5169 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5170 Implemented and documented.
5171 (getAccessibleChild(java.awt.Component, int)): Likewise.
5172 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5173 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5174 (getAccessibleStateSet(java.awt.Component)): Likewise.
5176 2005-02-15 Michael Koch <konqueror@gmx.de>
5178 * javax/swing/SwingUtilities.java
5179 (getFontMetrics): Removed.
5181 2005-02-15 Michael Koch <konqueror@gmx.de>
5183 * java/awt/Container.java
5184 (paramString): Implemented.
5185 * javax/swing/AbstractButton.java
5186 (paramString): Implemented.
5187 * javax/swing/JComponent.java
5188 (paramString): Implemented.
5189 * javax/swing/JMenu.java
5190 (paramString): Implemented.
5191 * javax/swing/JMenuBar.java
5192 (paramString): Implemented.
5193 * javax/swing/JMenuItem.java
5194 (paramString): Implemented.
5195 * javax/swing/JPopupMenu.java
5196 (paramString): Implemented.
5198 2005-02-15 Michael Koch <konqueror@gmx.de>
5200 * javax/swing/JMenu.java
5201 (uiClassID): Removed.
5202 (JMenu): Set invoker on popup menu.
5203 (getUIClassID): Return id directly.
5204 (getItemCount): Simply return getMenuComponentCount().
5206 (isTopLevelMenu): Simplified.
5207 * javax/swing/JMenuItem.java
5208 (uiClassID): Removed.
5209 (getUIClassID): Return id directly.
5210 * javax/swing/JPopupMenu.java
5211 (uiClassID): Removed.
5212 (JPopupMenu): Always initialize correctly.
5213 (getSubElements): Only return components implementing MenuElement
5215 (HeavyWeightPopup.hide): Removed.
5217 2005-02-15 Michael Koch <konqueror@gmx.de>
5219 * java/awt/image/ReplicateScaleFilter.java
5220 (replicatePixels): Made private.
5221 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5222 (DefaultRGBChooserPanel): Made package private.
5223 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5224 (RecentSwatchPanel): Likewise.
5225 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5226 (MouseInputAdapter): Made abstract.
5227 * javax/swing/tree/DefaultMutableTreeNode.java
5229 (growTree): Likewise.
5231 2005-02-15 Michael Koch <konqueror@gmx.de>
5233 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5236 2005-02-15 Michael Koch <konqueror@gmx.de>
5238 * javax/swing/JComponent.java (getComponentGraphics):
5239 Removed accidently commited code.
5241 2005-02-15 Graydon Hoare <graydon@redhat.com>
5243 * java/awt/dnd/DropTarget.java
5244 (addDropTargetListener): Despite documentation, do not throw.
5245 * javax/swing/JComponent.java: Set a default DropTarget.
5247 2005-02-15 Michael Koch <konqueror@gmx.de>
5249 * javax/swing/AbstractAction.java
5250 (ENABLED_PROPERTY): Removed.
5251 (setEnabled): Replaced constant with real string.
5252 * javax/swing/AbstractButton.java
5253 (createActionPropertyChangeListener.propertyChange): Likewise.
5254 * javax/swing/JComboBox.java
5255 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5256 (EDITABLE_CHANGED_PROPERTY): Removed.
5257 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5258 (ENABLED_CHANGED_PROPERTY):Likewise.
5259 (RENDERER_CHANGED_PROPERTY):Likewise.
5260 (EDITOR_CHANGED_PROPERTY):Likewise.
5261 (MODEL_CHANGED_PROPERTY):Likewise.
5262 (uiClassID):Likewise.
5263 (getUIClassID): Replaced constant with real string.
5264 (setModel):Likewise.
5265 (setEditable):Likewise.
5266 (setMaximumRowCount):Likewise.
5267 (setRenderer):Likewise.
5268 (setEditor):Likewise.
5269 (setEnabled):Likewise.
5270 * javax/swing/JLabel.java
5271 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5272 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5273 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5274 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5275 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5276 (ICON_CHANGED_PROPERTY): Likewise.
5277 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5278 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5279 (TEXT_CHANGED_PROPERTY): Likewise.
5280 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5281 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5282 (setText): Replaced constant with real string.
5283 (setIcon): Likewise.
5284 (setDisabledIcon): Likewise.
5285 (setDisplayedMnemonic): Likewise.
5286 (setIconTextGap): Likewise.
5287 (setVerticalAlignment): Likewise.
5288 (setHorizontalAlignment): Likewise.
5289 (setVerticalTextPosition): Likewise.
5290 (setHorizontalTextPosition): Likewise.
5291 (setLabelFor): Replaced constant with real string.
5292 Fire property change event after property got changed.
5293 * javax/swing/JList.java
5294 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5295 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5296 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5297 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5298 (MODEL_PROPERTY_CHANGED): Likewise.
5299 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5300 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5301 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5302 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5303 (setFixedCellWidth): Reimplemented.
5304 (setFixedCellHeight): Exit if new value is identical.
5305 Replaced constant with real string.
5306 (setSelectionBackground): Likewise.
5307 (setSelectionForeground): Likewise.
5308 (setPrototypeCellValue): Likewise.
5309 (setCellRenderer): Replaced constant with real string.
5310 (setModel): Likewise.
5311 (setSelectionModel): Likewise.
5312 * javax/swing/JMenuBar.java
5313 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5314 (MODEL_CHANGED_PROPERTY): Likewise.
5315 (MARGIN_CHANGED_PROPERTY): Likewise.
5316 (setBorderPainted): Reimplemented.
5317 (setMargin): Likewise.
5318 (setSelectionModel): Replaced constant with real string.
5319 * javax/swing/JPopupMenu.java
5320 (LABEL_CHANGED_PROPERTY): Removed.
5321 (VISIBLE_CHANGED_PROPERTY): Likewise.
5322 (borderPainted): Likewise.
5323 (setLabel): Replaced constant with real string.
5324 (setVisible): Exit if new value is identical.
5325 Replaced constant with real string.
5326 * javax/swing/JProgressBar.java
5327 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5328 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5329 (STRING_CHANGED_PROPERTY): Likewise.
5330 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5331 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5332 (setOrientation): Replaced constant with real string.
5333 (setStringPainted): Likewise.
5334 (setString): Likewise.
5335 (setBorderPainted): Likewise.
5336 (setIndeterminate): Likewise.
5337 * javax/swing/JScrollBar.java
5338 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5339 (MODEL_CHANGED_PROPERTY): Likewise.
5340 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5341 (setOrientation): Replaced constant with real string.
5342 (setModel): Likewise.
5343 (setUnitIncrement): Likewise.
5344 (setBlockIncrement): Likewise.
5345 * javax/swing/JScrollPane.java
5346 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5347 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5348 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5349 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5350 (LAYOUT_CHANGED_PROPERTY): Likewise.
5351 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5352 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5353 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5354 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5355 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5356 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5357 (setComponentOrientation): Replaced constant with real string.
5358 (setColumnHeader): Likewise.
5359 (setHorizontalScrollBar): Likewise.
5360 (setHorizontalScrollBarPolicy): Likewise.
5361 (setRowHeader): Likewise.
5362 (setVerticalScrollBar): Likewise.
5363 (setVerticalScrollBarPolicy): Likewise.
5364 (setWheelScrollingEnabled): Likewise.
5365 (setViewport): Likewise.
5366 (setViewportBorder): Likewise.
5367 * javax/swing/JSlider.java
5368 (INVERTED_CHANGED_PROPERTY): Removed.
5369 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5370 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5371 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5372 (MODEL_CHANGED_PROPERTY): Likewise.
5373 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5374 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5375 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5376 (setModel): Replaced constant with real string.
5377 (setOrientation): Likewise.
5378 (setLabelTable): Likewise.
5379 (setInverted): Likewise.
5380 (setMajorTickSpacing): Likewise.
5381 (setMinorTickSpacing): Likewise.
5382 (setPaintTicks): Likewise.
5383 (setPaintLabels): Likewise.
5384 * javax/swing/JTabbedPane.java
5385 (MODEL_CHANGED_PROPERTY): Removed.
5386 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5387 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5388 (setModel): Replaced constant with real string.
5389 (setTabPlacement): Likewise.
5390 (setTabLayoutPolicy): Likewise.
5391 * javax/swing/JToolBar.java
5392 (ORIENTATION_CHANGED_PROPERTY): Removed.
5393 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5394 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5395 (MARGIN_CHANGED_PROPERTY): Likewise.
5396 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5397 (setRollover): Replaced constant with real string.
5398 (setMargin): Likewise.
5399 (setBorderPainted): Likewise.
5400 (setFloatable): Likewise.
5401 (setOrientation): Likewise.
5402 * javax/swing/plaf/basic/BasicComboBoxUI.java
5403 (PropertyChangeHandler.propertyChange): Likewise.
5404 * javax/swing/plaf/basic/BasicComboPopup.java
5405 (PropertyChangeHandler.propertyChange): Likewise.
5406 * javax/swing/plaf/basic/BasicMenuBarUI.java
5407 (PropertyChangeHandler.propertyChange): Likewise.
5408 * javax/swing/plaf/basic/BasicProgressBarUI.java
5409 (PropertyChangeHandler.propertyChange): Likewise.
5410 * javax/swing/plaf/basic/BasicScrollBarUI.java
5411 (PropertyChangeHandler.propertyChange): Likewise.
5412 * javax/swing/plaf/basic/BasicSliderUI.java
5413 (PropertyChangeHandler.propertyChange): Likewise.
5414 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5415 (PropertyChangeHandler.propertyChange): Likewise.
5416 * javax/swing/plaf/basic/BasicToolBarUI.java
5417 (PropertyChangeHandler.propertyChange): Likewise.
5419 2005-02-15 Michael Koch <konqueror@gmx.de>
5421 * javax/swing/DefaultButtonModel.java
5422 (changeState): Made private.
5423 * javax/swing/DefaultDesktopManager.java
5424 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5425 * javax/swing/JLayeredPane.java
5426 (layerToRange): Made private.
5427 (incrLayer): Likewise.
5428 (decrLayer): Likewise.
5429 * javax/swing/JTable.java
5430 (dragEnabled): Likewise.
5431 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5432 * javax/swing/KeyStroke.java
5433 (Keystroke): Made private.
5434 * javax/swing/TransferHandler.java
5435 (COMMAND_COPY): Likewise.
5436 (COMMAND_CUT): Likewise.
5437 (COMMAND_PASTE): Likewise.
5439 2005-02-15 Michael Koch <konqueror@gmx.de>
5441 * javax/swing/JTextField.java
5442 (postActionEvent): Use text in field when actionCommand is null.
5443 (getActionCommand): Removed.
5445 2005-02-15 Michael Koch <konqueror@gmx.de>
5447 * javax/swing/AbstractSet.java: Removed.
5448 * Makefile.am: Removed javax/swing/AbstractSet.java.
5449 * Makefile.in: Regenerated.
5451 2005-02-15 Michael Koch <konqueror@gmx.de>
5453 * java/awt/Window.java
5454 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5455 * java/awt/dnd/DnDConstants.java
5456 (DnDConstants): New private constructor.
5458 2005-02-15 Michael Koch <konqueror@gmx.de>
5460 * javax/swing/DefaultCellRenderer.java: Removed.
5461 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5462 * Makefile.in: Regenerated.
5464 2005-02-15 Michael Koch <konqueror@gmx.de>
5466 * javax/swing/AbstractButton.java
5467 (fireItemStateChanged): Made protected.
5468 (fireActionPerformed): Likewise.
5469 (fireStateChanged): Likewise.
5470 * javax/swing/DefaultButtonModel.java
5471 (fireItemStateChanged): Likewise.
5472 (fireActionPerformed): Likewise.
5473 (fireStateChanged): Likewise.
5474 * javax/swing/JApplet.java
5476 (frameInit): Likewise.
5477 (setRootPane): Made protected.
5478 (createRootPane): Likewise.
5479 * javax/swing/JComponent.java
5480 (getClientProperty): Likewise.
5481 (putClientProperty): Likewise.
5482 * javax/swing/JEditorPane.java
5483 (getContentType): Likewise.
5484 (setContentType): Likewise.
5485 * javax/swing/JFrame.java
5486 (setRootPane): Likewise.
5487 (createRootPane): Likewise.
5488 * javax/swing/JInternalFrame.java
5489 (getFocusCycleRootAncestor): Made final. Added @since tag.
5490 (isFocusCycleRoot): Likewise.
5491 (getWarningString): Made final.
5492 * javax/swing/JScrollBar.java
5493 (changeListener): Removed.
5494 (changeEvent): Likewise.
5495 (createChangeListener): Likewise.
5496 (fireStateChanged): Likewise.
5497 (addChangeListener): Likewise.
5498 (removeChangeListener): Likewise.
5499 (getChangeListeners): Likewise.
5500 * javax/swing/JScrollPane.java
5501 (createViewport): Made protected.
5502 * javax/swing/JViewport.java
5503 (addImpl): Likewise.
5504 (setBorder): New method.
5505 * javax/swing/JWindow.java
5506 (setRootPane): Made protected.
5507 (createRootPane): Likewise.
5508 * javax/swing/plaf/basic/BasicButtonUI.java
5509 (installListeners): Likewise.
5510 (uninstallListeners): Likewise.
5511 * javax/swing/plaf/basic/BasicProgressBarUI.java
5512 (incrementAnimationIndex): Likewise.
5513 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5514 (createLayoutManager): Likewise.
5515 * javax/swing/table/DefaultTableCellRenderer.java
5516 (firePropertyChange): Likewise.
5517 * javax/swing/table/JTableHeader.java
5518 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5520 * javax/swing/text/PlainDocument.java
5521 (reindex): Made private.
5522 * javax/swing/text/PlainView.java
5523 (drawLine): Made protected.
5524 (getTabSize): Likewise.
5525 * javax/swing/text/View.java
5527 (preferenceChanged): New method.
5528 (getBreakWeight): Likewise.
5529 (breakView): Likewise.
5530 (getViewIndex): Likewise.
5532 2005-02-15 Michael Koch <konqueror@gmx.de>
5534 * javax/swing/JScrollPane.java
5535 (ScrollBar): Made class protected.
5536 * javax/swing/JSpinner.java
5537 (JSpinner): Added @since tag.
5538 (listenerList): Removed.
5539 * javax/swing/JTable.java
5540 (setValueAt): New method.
5541 (getColumn): Likewise.
5542 * javax/swing/JWindow.java
5543 (rootPaneCheckingEnabled): Renamed from checking.
5545 2005-02-15 Michael Koch <konqueror@gmx.de>
5547 * javax/swing/plaf/basic/BasicTextUI.java
5548 (RootView.modelToView): Made it public and return a java.awt.Shape.
5549 Handle null subview.
5550 (uninstall): Set textComponent to null when its not possible used
5552 * javax/swing/text/View.java
5553 (setParent): Use better argument name.
5554 (getContainer): Get parent via getParent().
5555 (getViewFactory): Likewise.
5556 (getAttributes): Get element via getElement().
5557 (getStartOffset): Likewise.
5558 (getEndOffset): Likewise.
5559 (getResizeWeight): New method.
5560 (getMaximumSpan): Likewise.
5561 (getMinimumSpan): Likewise.
5562 (setSize): Likewise.
5563 (getGraphics): Likewise.
5565 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5567 * java/awt/Checkbox.java:
5568 (AccessibleAWTCheckbox()): Added public constructor
5570 * java/awt/Choice.java:
5571 (AccessibleAWTChoice): Added class documentation.
5572 (AccessibleAWTChoice()): Added public constructor
5574 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5575 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5576 and changed role to COMBO_BOX.
5577 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5578 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5579 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5581 2005-02-15 Graydon Hoare <graydon@redhat.com>
5582 Michael Koch <konqueror@gmx.de>
5584 * javax/swing/LayoutFocusTraversalPolicy.java,
5585 javax/swing/SortingFocusTraversalPolicy.java:
5587 * Makefile.am: Added new classes.
5588 * Makefike.in: Regenerated.
5591 2005-02-15 Michael Koch <konqueror@gmx.de>
5593 * javax/swing/DebugGraphics.java: Mostly implemented.
5595 2005-02-15 Michael Koch <konqueror@gmx.de>
5597 * javax/swing/SwingUtilities.java
5598 (findFocusOwner): New method.
5600 2005-02-15 Michael Koch <konqueror@gmx.de>
5602 * javax/swing/text/DefaultEditorKit.java
5603 (read): Added '\n' after each line.
5604 * javax/swing/text/PlainView.java
5605 (modelToView): Update metrics.
5606 (drawLine): Use offsets from element.
5607 (paint): Update metrics. Draw all lines.
5609 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5611 * java/awt/Checkbox.java:
5612 (AccessibleAWTCheckbox): Added class documentation
5613 * java/awt/Scrollbar.java:
5614 (AccessibleAWTScrollBar): typo corrected and docs added
5615 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5616 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5617 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5618 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5619 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5620 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5621 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5622 (getAccessibleContext()): name of accessible class corrected
5624 2005-02-15 Mark Wielaard <mark@klomp.org>
5626 * java/awt/BasicStroke.java (hashCode): Implement.
5629 2005-02-15 Michael Koch <konqueror@gmx.de>
5631 * java/awt/print/PrinterJob.java
5632 (pageDialog): Throws java.awt.HeadlessException.
5633 (printDialog): Likewise.
5635 2005-02-15 Mark Wielaard <mark@klomp.org>
5637 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5639 2005-02-15 Michael Koch <konqueror@gmx.de>
5641 * javax/swing/JTable.java
5642 (getValueAt): New method.
5643 * javax/swing/table/JTableHeader.java
5644 (columnAtPoint): New method.
5646 2005-02-15 Michael Koch <konqueror@gmx.de>
5648 * javax/swing/JTextField.java
5649 (actions): New field.
5650 (static): Initalize actions field.
5651 (getActions): New method.
5653 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5655 * java/awt/Checkbox.java:
5656 (AccessibleAWTCheckbox): name capitalization corrected
5657 and serialization UID added.
5658 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5660 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5661 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5662 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5663 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5664 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5665 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5666 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5667 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5668 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5669 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5670 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5672 (getAccessibleContext()): name of accessible class corrected
5674 2005-02-15 Sven de Marothy <sven@physto.se>
5676 * java/awt/geom/doc-files/Area-1.png,
5677 java/awt/geom/doc-files/Ellipse-1.png,
5678 java/awt/geom/doc-files/GeneralPath-1.png:
5681 2005-02-15 Graydon Hoare <graydon@redhat.com>
5683 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5684 Use union to avoid type-punning warning.
5686 2005-02-15 Michael Koch <konqueror@gmx.de>
5688 * javax/swing/DefaultListSelectionModel.java
5689 (clone): New method.
5691 2005-02-15 Mark Wielaard <mark@klomp.org>
5693 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5694 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5695 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5696 Correct method signature of gtkSetFilename.
5698 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5700 * javax/swing/text/StringContent.java: New file.
5702 2005-02-15 Michael Koch <konqueror@gmx.de>
5704 * Makefile.am: Added javax/swing/text/StringContent.java.
5705 * Makefile.in: Regenerated.
5707 2005-02-15 Michael Koch <konqueror@gmx.de>
5709 * gnu/java/awt/ClasspathToolkit.java:
5710 Import statements reworked.
5711 (imageCache): Made it of type java.util.HashMap.
5713 2005-02-15 Michael Koch <konqueror@gmx.de>
5715 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5716 Reworked import statements.
5718 2005-02-15 Graydon Hoare <graydon@redhat.com>
5720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5721 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5724 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5725 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5727 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5729 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5730 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5732 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5736 Rewrite uses of extern variable to be function calls.
5737 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5738 function, from extern variable.
5739 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5740 (gdk_env): Remove variable, add new function.
5741 (java_vm): Add new variable.
5742 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5743 java_vm rather than old gdk_env variable.
5745 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5747 * javax/swing/DefaultListModel.java
5748 (add): fire correct event,
5749 (addElement): corrected interval indices in event,
5750 (clear): corrected upper bound for interval, only fire event if
5752 (setSize): fire appropriate event.
5754 2005-02-15 Graydon Hoare <graydon@redhat.com>
5756 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5757 * gnu/awt/xlib/XToolkit.java: Likewise.
5758 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5759 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5760 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5761 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5762 * java/awt/EventQueue.java (getNextEvent):
5763 Adjust event loop to switch to native mode after 100ms.
5764 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5766 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5767 Wake up event thread.
5768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5769 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5770 Adjust event loop to switch to java mode after 100ms.
5772 2005-02-15 Graydon Hoare <graydon@redhat.com>
5774 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5775 accidentally removed in last change.
5777 2005-02-15 Michael Koch <konqueror@gmx.de>
5779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5780 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5782 2005-02-15 Graydon Hoare <graydon@redhat.com>
5784 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5785 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5786 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5787 * jni.cc: Reuse bottom frame between calls, avoid clearing
5788 frame when no local references are made.
5790 2005-02-15 Michael Koch <konqueror@gmx.de>
5792 * javax/swing/UIDefaults.java (UIDefaults):
5793 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5794 Fixed HTML entity and removed a redundant comma.
5796 2005-02-15 Michael Koch <konqueror@gmx.de>
5798 * javax/swing/text/DefaultEditorKit.java
5799 (deinstall): Removed.
5800 (install): Likewise.
5802 2005-02-15 Michael Koch <konqueror@gmx.de>
5804 * javax/swing/UIDefaults.java (put): Handle value of null.
5806 2005-02-15 Michael Koch <konqueror@gmx.de>
5808 * java/awt/Robot.java,
5809 java/awt/Scrollbar.java,
5810 java/awt/print/PrinterJob.java,
5811 javax/swing/JTable.java,
5812 javax/swing/text/AbstractDocument.java:
5813 Reworked import statements.
5815 2005-02-15 Michael Koch <konqueror@gmx.de>
5817 * javax/swing/JEditorPane.java
5818 (read): Implemented.
5820 * javax/swing/text/DefaultEditorKit.java
5821 (page): Renamed from page_url. Made private.
5822 (editorKit): Renamed from kit. Made private.
5824 (JEditorPane): All constructors reimplemented.
5825 (getContentType): Use content type from editor kit.
5826 (getEditorKit): Return editorKit.
5827 (getEditorKitForContentType):Likewise.
5828 (getPage): Return page.
5829 (setContentType): Reimplemented.
5830 (setEditorKit): Likewise.
5831 (setEditorKitForContentType): Removed wrong implementation.
5832 (setPage): Implemented.
5834 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5837 (nativeSetIconImageFromData): Re-add native implementation.
5839 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5841 * javax/swing/table/DefaultTableModel.java
5842 (DefaultTableModel()): Added Javadocs.
5843 (DefaultTableModel(int, int)): Fixed implementation.
5844 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5845 for negative rowCount.
5846 (DefaultTableModel(Object[], int)): Added Javadocs.
5847 (DefaultTableModel(Vector, Vector)): Likewise.
5848 (DefaultTableModel(Object[][], Object[])): Likewise.
5849 (getDataVector): Likewise.
5850 (setDataVector(Vector, Vector)): Likewise.
5851 (setDataVector(Object[][], Object[])): Likewise.
5852 (newDataAvailable): Likewise.
5853 (newRowsAdded): Likewise.
5854 (rowsRemoved): Likewise.
5855 (setColumnIdentifiers(Vector)): Allow for null argument.
5856 (setColumnIdentifiers(Object[])): Added Javadocs.
5857 (setNumRows): Likewise.
5858 (setRowCount): Adds new rows if necessary, and sends more specific
5860 (setColumnCount): Allow for null columnIdentifiers.
5861 (addColumn(Object)): Added Javadocs.
5862 (addColumn(Object, Vector)): Handle null columnData.
5863 (addColumn(Object, Object[])): Handle columnData with more or less
5864 entries than rows in the table.
5865 (addRow(Vector)): Fire appropriate event.
5866 (addRow(Object[])): Added Javadocs.
5867 (insertRow(int, Vector)): Fire appropriate event.
5868 (insertRow(int, Object[])): Added Javadocs.
5869 (moveRow): Reimplemented.
5870 (removeRow(int)): Fire appropriate event.
5871 (getColumnCount): Allow for null columnIdentifiers.
5872 (getColumnName): Now returns empty string when column index is too
5874 (isCellEditable): Added Javadocs.
5875 (getValueAt): Likewise.
5876 (setValueAt): Fire more specific event.
5877 (convertToVector): Added Javadocs.
5878 * javax/swing/table/TableModel.java
5881 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5883 * libgcj.spec.in (lib): Add -l-javax-imageio.
5885 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5887 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5888 references to event queue q with method call q().
5889 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5890 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5891 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5892 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5893 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5894 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5897 2005-02-15 Graydon Hoare <graydon@redhat.com>
5899 * gnu/java/awt/ClasspathToolkit.java
5900 (registerImageIOSpis): New method.
5901 * gnu/java/awt/image/ImageDecoder.java
5902 (imageDecoder): New constructor using InputStream
5903 (startProduction): Handle existing InputStream.
5904 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5905 (findSimpleIntegerArray): Make public and static.
5906 (updateBufferedImage): Set each pixel, in a loop.
5907 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5908 Implement ImageIO SPI classes.
5909 (createBufferedImage): Rewrite in terms of SPI classes.
5910 * gnu/java/awt/peer/gtk/GtkToolkit.java
5911 (registerImageIOSpis): New method.
5912 * java/lang/reflect/natMethod.cc
5913 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5914 which lets JNI call interface methods properly.
5915 * javax/imageio/ImageIO.java
5916 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5917 (WriterMIMETypeFilter.filter): Likewise.
5918 (ImageReaderIterator): Pass extension argument through to SPI.
5919 (getReadersByFilter): Likewise.
5920 (getWritersByFilter): Likewise.
5921 (getImageReadersByFormatName): Likewise.
5922 (getImageReadersByMIMEType): Likewise.
5923 (getImageReadersBySuffix): Likewise.
5924 (getImageWritersByFormatName): Likewise.
5925 (getImageWritersByMIMEType): Likewise.
5926 (getImageWritersBySuffix): Likewise.
5929 * javax/imageio/ImageReader.java
5930 (progressListeners): Initialize.
5931 (setInput): Implement.
5932 * javax/imageio/ImageWriter.java
5933 (progressListeners): Initialize.
5934 (warningListeners): Likewise.
5935 (warningLocales): Likewise.
5936 (setOutput): Test "isInstance" rather than class equality.
5937 * javax/imageio/spi/IIORegistry.java
5938 (static): Add reader and writer SPIs.
5939 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5940 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5941 (query_formats): New function.
5942 (save_to_stream): Likewise.
5943 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5945 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5949 (keyPress): Likewise.
5950 (keyRelease): Likewise.
5952 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5954 * javax/swing/JTable.java
5955 (columnAtPoint): New Method. Implemented.
5956 (rowAtPoint): Likewise.
5957 (countSelections): Fixed few small count errors.
5958 (getSelections): Likewise.
5959 (setSelectionMode): Set selection mode for column
5960 selection model in addition to row selection model.
5961 * javax/swing/plaf/basic/BasicTableUI.java:
5962 (getRowForPoint): Removed. Replaced by
5963 JTable.rowAtPoint().
5964 (getColForPoint): Removed. Replaced by
5965 JTable.columnAtPoint().
5966 (updateSelection): Updated to call JTable.columnAtPoint
5967 and JTable.rowAtPoint.
5968 * javax/swing/table/DefaultTableColumnModel.java:
5969 (getSelectedColumns): Implemented.
5970 (getSelectedColumnCount): Implemented.
5972 2005-02-15 Graydon Hoare <graydon@redhat.com>
5975 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5976 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5977 * Makefile.in: Regenerate.
5978 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5979 * gnu/awt/xlib/XFramePeer.java: Likewise.
5980 * gnu/awt/xlib/XToolkit.java: Likewise.
5981 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5982 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5983 * gnu/java/awt/ClasspathToolkit.java
5986 (iterateNativeQueue): New methods.
5987 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5988 * gnu/java/awt/peer/gtk/GtkToolkit.java
5989 (gtkInit): Absorb from defunct GtkMainThread class.
5990 (static): Run gtkInit in static startup block.
5991 (GtkToolkit): Remove construction of GtkMainThread and queue.
5992 (getSystemEventQueueImpl): Construct queue when requested.
5995 (iterateNativeQueue): New methods.
5996 * java/awt/Component.java (removeNotify): Remove race.
5997 * java/awt/EventDispatchThread.java
5998 (EventDispatchThread): Don't start on construction.
5999 (run): Remove isInterrupted check.
6000 * java/awt/EventQueue.java (shutdown): New flag.
6001 (isShutdown): New method checking J2SE shutdown condition.
6002 (setShutdown): New method.
6003 (getNextEvent): Restructure to use ClasspathToolkit.
6004 (postEvent): Activate new thread on posting, wake thread on
6005 post of possible shutdown condition event.
6006 * java/awt/Frame.java
6007 (Frame): Call noteFrame in all constructors.
6008 (fireDummyEvent): New helper method.
6009 (addNotify): Fire a dummy event to wake up queue.
6010 (removeNotify): Fire a dummy event to wake up queue.
6011 (noteFrame): New method.
6012 (weakFrames): New static field.
6013 (getFrames): Implement.
6014 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6016 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6017 Move everything from GtkMainThread into this file
6018 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6019 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6020 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6021 New functions to implement single-threaded queue semantics.
6023 2005-02-15 Michael Koch <konqueror@gmx.de>
6025 * javax/swing/plaf/metal/MetalLookAndFeel.java
6026 (getControlTextFont): New method.
6027 (getMenuTextFont): Likewise.
6028 (getSubTextFont): Likewise.
6029 (getSystemTextFont): Likewise.
6030 (getUserTextFont): Likewise.
6031 (getWindowTitleFont): Likewise.
6033 2005-02-15 Michael Koch <konqueror@gmx.de>
6035 * javax/swing/text/AbstractDocument.java
6036 (documentFilter): New field.
6037 (getDocumentFilter): New method.
6038 (setDocumentFilter): Likewise.
6041 2005-02-15 Michael Koch <konqueror@gmx.de>
6043 * javax/swing/JTree.java
6044 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6046 2005-02-15 Michael Koch <konqueror@gmx.de>
6048 * javax/swing/text/AbstractDocument.java
6049 (AbstractElement.getLength): Fixed off-by-one error.
6050 (AbstractElement.children): Made abstract.
6051 (AbstractElement.getAllowsChildren): Likewise.
6052 (AbstractElement.getElement): Likewise.
6053 (AbstractElement.dumpElement): New private method.
6054 (AbstractElement.dump): New method.
6055 (BranchElememt.getName): Fixed implementation.
6056 (BranchElememt.toString): Likewise.
6057 (BranchElememt.getElement): Fixed arguments.
6058 (LeafElement.getName): Fixed implementation.
6059 (LeafElement.toString): Likewise.
6060 * javax/swing/text/GapContent.java
6061 (GapContent): Put default content into buffer.
6062 * javax/swing/text/PlainDocument.java
6063 (reindex): Use empty attribute sets instead of null.
6064 (createDefaultRoot): Reimplemented.
6065 (insertUpdate): Call super method.
6066 (removeUpdate): Likewise.
6067 (getParagraphElement): Implemented.
6069 2005-02-15 Michael Koch <konqueror@gmx.de>
6071 * gnu/java/awt/ClasspathToolkit.java
6072 (createRobot): Throws java.awt.AWTException.
6073 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6074 Added '__attribute__((unused))' to all unused method arguments.
6076 2005-02-15 Michael Koch <konqueror@gmx.de>
6078 * javax/swing/DefaultBoundedRangeModel.java
6079 (fireValueChanged): Fixed off-by-one error.
6081 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6083 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6084 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6086 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6087 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6088 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6089 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6090 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6091 (getDefaultScreenDevice): Implement.
6092 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6093 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6094 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6095 * java/awt/Robot.java: Implement.
6096 * java/awt/peer/RobotPeer.java: Rename parameters.
6097 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6099 (awt_keycode_to_keysym): Make non-static.
6100 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6101 AWT_BUTTON3_MASK): Declare constants.
6102 (awt_keycode_to_keysym): Declare.
6104 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6105 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6106 and is non-empty pass its value to "make check".
6107 (test_mauve_sim): Likewise.
6109 2005-02-15 Michael Koch <konqueror@gmx.de>
6111 * javax/imageio/IIOParam.java
6112 (setSourceBands): New method.
6113 (setSourceSubsampling): Likewise.
6114 * javax/imageio/ImageReadParam.java
6115 (setDestination): Likewise.
6116 (setDestinationBands): Likewise.
6117 (setSourceProgressivePasses): Likewise.
6118 * javax/imageio/metadata/IIOInvalidTreeException.java
6119 (serialVersionUID): New static field.
6120 * javax/imageio/metadata/IIOMetadataNode.java
6121 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6122 (parent): Dont initailize with default value explicitely.
6124 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6125 (removeAttributeNode): Likewise.
6126 (removeAttributeNS): Likewise.
6127 (setAttribute): Likewise.
6128 (setAttributeNode): Likewise.
6129 (setAttributeNodeNS): Likewise.
6130 (setAttributeNS): Likewise.
6131 (appendChild): Likewise.
6132 (getNodeValue): Likewise.
6133 (insertBefore): Likewise.
6134 (removeChild): Likewise.
6135 (replaceChild): Likewise.
6136 (setPrefix): Likewise.
6138 2005-02-15 Michael Koch <konqueror@gmx.de>
6140 * javax/swing/LookAndFeel.java
6141 (getDesktopPropertyValue): New method.
6143 2005-02-15 Michael Koch <konqueror@gmx.de>
6145 * javax/swing/JTree.java
6146 (hasChildren): New instance field.
6148 2005-02-15 Michael Koch <konqueror@gmx.de>
6150 * javax/swing/JComponent.java
6151 (getToolTipText): New method.
6152 (getTitledBorderText): Likewise.
6153 (getAccessibleKeyBinding): Likewise.
6154 (getVerifyInputWhenFocusTarget): Likewise.
6155 (setVerifyInputWhenFocusTarget): Likewise.
6156 (verifyInputWhenFocusTarget): New instance field.
6158 2005-02-15 Michael Koch <konqueror@gmx.de>
6160 * javax/swing/DefaultListSelectionModel.java
6161 (fireValueChanged): New method.
6163 2005-02-15 Michael Koch <konqueror@gmx.de>
6165 * javax/swing/DefaultBoundedRangeModel.java:
6166 Fixed javadocs all over.
6167 (fireStateChanged): Simplified.
6168 * javax/swing/BoundedRangeModel.java:
6171 2005-02-15 Michael Koch <konqueror@gmx.de>
6173 * javax/swing/JRootPane.java
6174 (setMenuBar): Added @deprecated tag.
6175 (getMenuBar): Likewise.
6176 * javax/swing/JTable.java
6177 (sizeColumnsToFit): Likewise.
6179 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6181 * javax/swing/ImageIcon.java (setImage): Implemented.
6183 2005-02-15 Michael Koch <konqueror@gmx.de>
6185 * javax/swing/JTable.java:
6186 Removed unused imports.
6188 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6190 (prepareRenderer): Get column's index in dataModel instead
6191 of column's view index.
6192 (getColumnCount): return count of the columns in ColumnModel,
6194 (removeColumn): Implemented.
6195 (moveColumm): Likewise.
6196 (setRowHeight): throw IllegalArgumentException if height is
6198 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6199 (DefaultTableColumnModel):Add call to createSelectionModel().
6200 (addColumn): Fire columnAdded event to registered listeners.
6201 (removeColumn): Fire columnRemoved event to registered listeners.
6202 (moveColumn): Fire columnMoved event to registered listeners.
6203 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6204 (getColumnIndex): Changed parameter name.
6205 (setColumnSelectionAllowed): Likewise.
6206 (fireColumnAdded): Implemented.
6207 (fireColumnRemoved): Likewise.
6208 (fireColumnMoved): Likewise.
6209 (fireColumnMarginChanged): Likewise.
6210 (getListeners): Changed parameter name.
6211 (propertyChange): Implemented.
6212 (valueChanged): Changed parameter name.
6213 (createSelectionModel): Implemented.
6215 2005-02-15 Michael Koch <konqueror@gmx.de>
6217 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6218 Explicitely import used classes.
6219 (getLocalGraphicsEnvironment): Simplify.
6220 * java/awt/Window.java (Window):
6221 Enable code to get the default GraphicsConfiguration.
6223 2005-02-15 Michael Koch <konqueror@gmx.de>
6225 * javax/swing/plaf/metal/DefaultMetalTheme.java
6226 (CONTROL_TEXT_FONT): New static field.
6227 (MENU_TEXT_FONT): Likewise.
6228 (SUB_TEXT_FONT): Likewise.
6229 (SYSTEM_TEXT_FONT): Likewise.
6230 (USER_TEXT_FONT): Likewise.
6231 (WINDOW_TITLE_FONT): Likewise.
6232 (getControlTextFont): New method.
6233 (getMenuTextFont): Likewise.
6234 (getSubTextFont): Likewise.
6235 (getSystemTextFont): Likewise.
6236 (getUserTextFont): Likewise.
6237 (getWindowTitleFont): Likewise.
6238 * javax/swing/plaf/metal/MetalTheme.java
6239 (BLACK): Initialize with Color.BLACK.
6240 (WHITE): Initialize with Color.WHITE.
6241 (getInactiveControlTextColor): Return getControlDisabled().
6242 (getMenuDisabledForeground): Return getSecondary3().
6243 (getControlTextFont): New abstract method.
6244 (getMenuTextFont): Likewise.
6245 (getSubTextFont): Likewise.
6246 (getSystemTextFont): Likewise.
6247 (getUserTextFont): Likewise.
6248 (getWindowTitleFont): Likewise.
6250 2005-02-15 Michael Koch <konqueror@gmx.de>
6252 * javax/swing/JFormattedTextField.java
6253 (getFocusLostBehavior): Fixed typo in method name.
6254 (setFocusLostBehavior): Likewise.
6256 2005-02-15 Michael Koch <konqueror@gmx.de>
6258 * javax/swing/TransferHandler.java:
6259 Reworked import statements.
6261 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6263 * java/awt/Button.java,
6264 java/awt/Canvas.java,
6265 java/awt/Checkbox.java,
6266 java/awt/CheckboxMenuItem.java,
6267 java/awt/Choice.java,
6268 java/awt/Dialog.java,
6269 java/awt/Frame.java,
6270 java/awt/Label.java,
6273 java/awt/MenuBar.java,
6274 java/awt/MenuItem.java,
6275 java/awt/PopupMenu.java,
6276 java/awt/ScrollPane.java,
6277 java/awt/Scrollbar.java,
6278 java/awt/TextArea.java,
6279 java/awt/Window.java (getAccessibleContext): Clean up comments.
6281 * java/awt/Button.java,
6282 java/awt/Checkbox.java,
6283 java/awt/Choice.java,
6285 java/awt/PopupMenu.java,
6286 java/awt/TextArea.java (getAccessibleContext): Only create new
6288 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6290 2005-02-15 Michael Koch <konqueror@gmx.de>
6292 * java/awt/Button.java,
6293 javax/swing/JApplet.java,
6294 javax/swing/JFormattedTextField.java,
6295 javax/swing/JWindow.java,
6296 javax/swing/JTree.java,
6297 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6298 javax/swing/plaf/basic/BasicTextPaneUI.java,
6299 javax/swing/plaf/basic/BasicTreeUI.java:
6300 Reworked import statements.
6302 2005-02-15 Michael Koch <konqueror@gmx.de>
6304 * Makefile.am: Put javax.imageio into its own library and link it
6305 against lib-org-w3c-dom.la to fix bootstrapping.
6306 * Makefile.in: Regenerated.
6308 2005-02-15 Michael Koch <konqueror@gmx.de>
6310 * javax/swing/text/TextAction.java
6311 (getTextComponent): Simplified. Added Javadoc.
6312 (augmentList): Implemented. Added Javadoc.
6313 (getFocusedComponent): Added javadoc.
6315 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6317 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6318 getAccessibleContext): Implement.
6319 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6320 getAccessibleContext): Implement.
6322 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6324 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6326 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6328 * java/awt/Window.java (getAccessibleContext): Fix comment.
6329 Remove extra import.
6331 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6333 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6334 (isActive, isFocused, getAccessibleContext): Implement.
6336 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6338 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6339 * java/awt/MenuComponent.java (accessibleContext): Make package
6341 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6342 AccessibleAWTCheckboxMenuItem): Implement.
6344 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6346 * java/awt/List.java: Implement AccessibleAWTList,
6347 AccessibleAWTListChild.
6349 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6351 * java/awt/Choice.java: Add implements declaration for
6354 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6356 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6359 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6361 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6362 implemented interface list.
6364 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6366 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6367 * javax/imageio/metadata/IIOAttr.java: New class.
6368 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6369 * javax/imageio/metadata/IIONodeList.java: New class.
6370 * Makefile.am: Added new files.
6371 * Makefile.in: Regenerated.
6373 2005-02-15 Michael Koch <konqueror@gmx.de>
6375 * javax/swing/AbstractAction.java,
6376 javax/swing/AbstractCellEditor.java,
6377 javax/swing/AbstractListModel.java,
6378 javax/swing/DefaultBoundedRangeModel.java,
6379 javax/swing/DefaultButtonModel.java,
6380 javax/swing/DefaultCellEditor.java,
6381 javax/swing/DefaultComboBoxModel.java,
6382 javax/swing/DefaultDesktopManager.java,
6383 javax/swing/JMenu.java,
6384 javax/swing/JSlider.java,
6385 javax/swing/KeyStroke.java,
6386 javax/swing/OverlayLayout.java,
6387 javax/swing/ScrollPaneLayout.java,
6388 javax/swing/SizeRequirements.java,
6389 javax/swing/ViewportLayout.java:
6390 Made serialVersionUID private.
6392 2005-02-15 Michael Koch <konqueror@gmx.de>
6394 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6397 2005-02-15 Michael Koch <konqueror@gmx.de>
6399 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6401 2005-02-15 Michael Koch <konqueror@gmx.de>
6403 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6405 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6407 * java/awt/EventDispatchThread.java,
6408 java/awt/Toolkit.java:
6409 Don't catch java.lang.ThreadDeath.
6411 2005-02-15 Michael Koch <konqueror@gmx.de>
6413 * javax/swing/text/PasswordView.java
6414 (drawEchoCharacter): Added javadoc.
6415 (drawSelectedText): Likewise.
6416 (drawUnselectedText): Likewise.
6418 2005-02-15 Michael Koch <konqueror@gmx.de>
6420 * javax/swing/JRootPane.java
6421 (windowDecorationStyle): New field.
6422 (setMenuBar): New method.
6423 (getMenuBar): Likewise.
6424 (getWindowDecorationStyle): Likewise.
6425 (setWindowDecorationStyle): Likewise.
6427 2005-02-15 Michael Koch <konqueror@gmx.de>
6429 * javax/swing/DefaultListSelectionModel.java
6430 (leadAnchorNotificationEnabled): Made protected.
6432 2005-02-15 Michael Koch <konqueror@gmx.de>
6434 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6435 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6436 * Makefile.in: Regenerated.
6439 2005-02-15 Michael Koch <konqueror@gmx.de>
6441 * javax/swing/JFormattedTextField.java: Implemented.
6442 * javax/swing/JWindow.java
6443 (JWindow): New constructors.
6444 (initWindow): Renamed from initFrame.
6445 * javax/swing/UIDefaults.java
6446 (ActiveValue): Made interface static.
6447 (LazyValue): Likewise.
6448 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6449 (TitlePaneLayout.TitlePaneLayout): New constructor.
6450 * javax/swing/plaf/basic/BasicSliderUI.java
6451 (ChangeHandler): Made public.
6452 (FocusHandler): Likewise.
6453 (PropertyChangeHandler): Likewise.
6454 (ScrollListener): Likewise.
6455 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6456 (FocusHandler): Likewise.
6457 (MouseHandler): Likewise.
6458 * javax/swing/plaf/basic/BasicTextPaneUI.java
6459 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6460 * javax/swing/plaf/basic/BasicToolBarUI.java
6461 (BasicToolBarUI): Simplified. Reworked javadoc.
6462 (canDock): Simplified. Make public.
6463 (DockingListener): Made public.
6464 * javax/swing/text/JTextComponent.java
6465 (navigationFilter): New field.
6466 (getNavigationFilter): New method.
6467 (setNavigationFilter): Likewise.
6469 2005-02-15 Michael Koch <konqueror@gmx.de>
6471 * javax/swing/plaf/metal/MetalTheme.java
6472 (getControlTextColor): Return getControlInfo().
6473 (getHighlightedTextColor): Return getControlTextColor().
6475 2005-02-15 Michael Koch <konqueror@gmx.de>
6477 * javax/swing/plaf/basic/BasicButtonListener.java
6478 (BasicButtonListener): New constructor.
6479 * javax/swing/plaf/basic/BasicButtonUI.java
6480 (createButtonListener): Usw new BasicButtonListener constructor.
6482 2005-02-15 Michael Koch <konqueror@gmx.de>
6484 * javax/imageio/event/package.html,
6485 javax/imageio/metadata/package.html: New files.
6487 2005-02-15 Michael Koch <konqueror@gmx.de>
6489 * java/awt/image/MemoryImageSource.java: Reformatted.
6491 2005-02-15 Michael Koch <konqueror@gmx.de>
6493 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6495 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6497 * java/awt/color/ICC_Profile.java
6498 (finalize): Removed pointless field assignments.
6500 2005-02-15 Michael Koch <konqueror@gmx.de>
6502 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6503 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6504 * Makefile.in: Regenerated.
6506 2005-02-15 Michael Koch <konqueror@gmx.de>
6508 * javax/swing/text/DefaultStyledDocument.java: New file.
6509 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6510 * Makefile.in: Regenerated.
6512 2005-02-15 Michael Koch <konqueror@gmx.de>
6514 * javax/swing/JFileChooser.java
6515 (showDialog): Return CANCEL_OPTION for now.
6516 (showOpenDialog): Likewise.
6517 (showSaveDialog): Likewise.
6519 2005-02-15 Michael Koch <konqueror@gmx.de>
6521 * javax/swing/JApplet.java
6522 (HIDE_ON_CLOSE): Removed.
6523 (EXIT_ON_CLOSE): Likewise.
6524 (DISPOSE_ON_CLOSE): Likewise.
6525 (DO_NOTHING_ON_CLOSE): Likewise.
6526 (close_action): Likewise.
6527 (getDefaultCloseOperation): Likewise.
6528 (setDefaultCloseOperation): Likewise.
6529 (processWindowEvent): Likewise.
6530 (getPreferredSize): Simplified.
6531 * javax/swing/JInternalFrame.java
6532 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6534 * javax/swing/JWindow.java
6535 (HIDE_ON_CLOSE): Removed.
6536 (EXIT_ON_CLOSE): Likewise.
6537 (DISPOSE_ON_CLOSE): Likewise.
6538 (DO_NOTHING_ON_CLOSE): Likewise.
6539 (close_action): Likewise.
6540 (processKeyEvent): Likewise.
6541 (setDefaultCloseOperation): Likewise.
6542 (getPreferredSize): Simplified.
6544 2005-02-15 Michael Koch <konqueror@gmx.de>
6546 * javax/swing/JTextField.java
6547 (getPreferredSize): Re-implemented.
6549 2005-02-15 Michael Koch <konqueror@gmx.de>
6551 * javax/swing/JLabel.java
6552 (setDisplayedMnemonic): Use only upper case characters.
6553 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6554 PropertyChangeEvent after property got set to the new index.
6556 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6558 * javax/swing/JComboBox.java:
6559 (JComboBox): Removed selection of the
6560 first item in the model.
6562 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6564 * javax/swing/JComboBox.java
6565 added support for no item being selected
6566 (JComboBox): select first or nothing depending on element count
6567 (setModel): cleaned up unneeded "this." usage, added more
6568 docs, made exception behavior match that of the JDK
6569 (setLighWeightPopupEnabled): removed unneeded "this." usage
6571 (setMaximumRowCount): dito
6573 (setPrototypeDisplayValue): dito
6574 (getSelectedItem): simplified, added more user doc
6575 (setSelectedIndex): corrected exception behavior, added more user doc
6576 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6577 added performance warning to user doc
6578 (addItem): fixed exception behavior, added user doc
6579 (insertItemAt): dito
6581 (removeItemAt): dito
6582 (removeAll): fixed exception behavior, added user doc, added support
6583 for model not being instance of DefaultComboBoxModel
6584 (getSelectedItemObjects): simplified
6585 (getItemCount): fixed dependency on DefaultComboBoxModel
6586 (getItemAt): fixed dependency on MutableComboBoxModel
6587 * javax/swing/DefaultComboBoxModel.java:
6588 (setSelectedItem): updates selected item only if new
6589 value is null or known (match JDK behavior)
6590 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6591 (paintCurrentValue): renders "" if no item is selected
6593 2005-02-15 Michael Koch <konqueror@gmx.de>
6595 * javax/swing/plaf/metal/MetalTheme.java,
6596 javax/swing/plaf/metal/DefaultMetalTheme.java:
6598 * javax/swing/plaf/metal/MetalLookAndFeel.java
6599 * Makefile.am: Added the new files.
6600 * Makefile.in: Regenerated.
6602 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6604 * javax/swing/JTable.java
6605 (editorComp): New field.
6606 (JTable): Initialize local variables and call updateUI
6607 (selectionBackground): Make protected.
6608 (selectionForeground): Likewise.
6609 (initializeLocalVars): Create default editors and renderers,
6610 initialize editingColumn, editingRow variables.
6611 (createDefaultEditors): New Method.
6612 (createDefaultRenderers): Likewise.
6613 (createDefaultListSelectionModel): Removed
6614 (createDefaultSelectionModel): New Method.
6615 (createDefaultTableHeader): Likewise
6616 (removeColumn): Likewise.
6617 (getEditingColumn): Likewise.
6618 (setEditingColumn): Likewise.
6619 (getEditingRow): Likewise.
6620 (setEditingRow): Likewise.
6621 (getEditorComponent): Likewise.
6622 (isEditing): Likewise.
6623 (setDefaultEditor): Likewise.
6624 (addColumnSelectionInterval): Likewise.
6625 (addRowSelectionInterval): Likewise.
6626 (setColumnSelectionInterval): Likewise.
6627 (setRowSelectionInterval): Likewise.
6628 (removeColumnSelectionInterval): Likewise.
6629 (removeRowSelectionInterval): Likewise.
6630 (isColumnSelected): Likewise.
6631 (isRowSelected): Likewise.
6632 (isCellSelected): Likewise.
6633 (selectAll): Likewise.
6635 2005-02-15 Michael Koch <konqueror@gmx.de>
6637 * javax/swing/JTable.java
6638 (addColumn): New method.
6639 (getColumnClass): Likewise.
6640 (getColumnName): Likewise.
6642 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6644 * javax/swing/TransferHandler.java
6645 (createTransferable): Made protected.
6647 2005-02-15 Michael Koch <konqueror@gmx.de>
6649 * javax/swing/JTable.java,
6650 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6651 javax/swing/plaf/basic/BasicTableUI.java:
6652 Use fixed get/setIntercellSpacing() methods.
6654 2005-02-15 Michael Koch <konqueror@gmx.de>
6656 * javax/swing/JTable.java
6657 (getIntercellSpacing): Fixed typo in method name.
6658 (setIntercellSpacing): Likewise.
6660 2005-02-15 Michael Koch <konqueror@gmx.de>
6662 * javax/swing/text/JTextComponent.java
6663 (focusAccelerator): New variable.
6664 (getFocusAccelerator): New method.
6665 (setFocusAccelerator): Likewise.
6667 2005-02-15 Michael Koch <konqueror@gmx.de>
6669 * javax/swing/JComponent.java
6670 (setTransferHandler): Made public. Fire property change event.
6671 * javax/swing/TransferHandler.java: Implemented.
6672 * javax/swing/text/JTextComponent.java
6673 (DefaultTransferHandler): New inner class.
6674 (defaultTransferHandler): New variable.
6678 (doTransferAction): Likewise.
6680 2005-02-15 Michael Koch <konqueror@gmx.de>
6682 * javax/swing/JTree.java
6683 (collapsePath): New method.
6684 (collapseRow): Likewise.
6685 (expandPath): Likewise.
6686 (expandRow): Likewise.
6687 (checkExpandParents): Likewise.
6688 (doExpandParents): Likewise.
6689 (setExpandedState): Likewise.
6690 (makeVisible): Likewise.
6692 2005-02-15 Michael Koch <konqueror@gmx.de>
6694 * javax/swing/JPasswordField.java: Updated javadocs.
6696 2005-02-15 Michael Koch <konqueror@gmx.de>
6698 * javax/swing/JLayeredPane.java
6699 (getLayer): Fixed return type, made public.
6700 (getPosition): Use new getLayer().
6701 (SetPosition): Likewise.
6702 (getIndexOf): Likewise.
6704 * javax/swing/JInternalFrame.java
6705 (getLayer): Use new JLayeredPane.getLayer().
6708 2005-02-15 Michael Koch <konqueror@gmx.de>
6710 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6711 (setHeaderValue): Simplified. Do nothing when old value == new value.
6713 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6715 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6716 against null clip region.
6717 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6718 gtkWindowSetResizable.
6719 (postConfigureEvent): Only revalidate if frame size has changed.
6720 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6721 Only revalidate if frame size has changed.
6722 * java/awt/Component.java (reshape): Only repaint and post
6723 component events if component is showing.
6724 * java/awt/Container.java (addImpl): Only post container event if
6725 container is showing.
6727 * java/awt/Window.java (setLocationRelativeTo): Implement.
6728 (setBoundsCallback): Only post component events if component is
6730 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6731 Protect against null graphics structure. Flush gdk event queue.
6733 2005-02-15 Michael Koch <konqueror@gmx.de>
6735 * javax/imageio/ImageReader.java,
6736 javax/imageio/ImageTranscoder.java,
6737 javax/imageio/ImageWriter.java,
6738 javax/imageio/spi/ImageInputStreamSpi.java,
6739 javax/imageio/spi/ImageOutputStreamSpi.java,
6740 javax/imageio/spi/ServiceRegistry.java,
6741 javax/imageio/stream/ImageInputStream.java,
6742 javax/imageio/stream/ImageOutputStream.java: Updated.
6743 * javax/imageio/IIOException.java,
6744 javax/imageio/IIOImage.java,
6745 javax/imageio/IIOParam.java,
6746 javax/imageio/IIOParamController.java,
6747 javax/imageio/ImageIO.java,
6748 javax/imageio/ImageReadParam.java,
6749 javax/imageio/ImageTypeSpecifier.java,
6750 javax/imageio/ImageWriteParam.java,
6751 javax/imageio/spi/IIORegistry.java,
6752 javax/imageio/spi/ImageReaderSpi.java,
6753 javax/imageio/spi/ImageWriterSpi.java,
6754 javax/imageio/stream/FileCacheImageInputStream.java,
6755 javax/imageio/stream/FileCacheImageOutputStream.java,
6756 javax/imageio/stream/FileImageInputStream.java,
6757 javax/imageio/stream/FileImageOutputStream.java,
6758 javax/imageio/stream/ImageInputStreamImpl.java,
6759 javax/imageio/stream/ImageOutputStreamImpl.java,
6760 javax/imageio/stream/MemoryCacheImageInputStream.java,
6761 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6762 javax/imageio/event/IIOReadProgressListener.java,
6763 javax/imageio/event/IIOReadUpdateListener.java,
6764 javax/imageio/event/IIOReadWarningListener.java,
6765 javax/imageio/event/IIOWriteProgressListener.java,
6766 javax/imageio/event/IIOWriteWarningListener.java,
6767 javax/imageio/metadata/IIOMetadata.java,
6768 javax/imageio/metadata/IIOMetadataController.java,
6769 javax/imageio/metadata/IIOMetadataFormat.java,
6770 javax/imageio/metadata/IIOInvalidTreeException.java,
6771 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6772 javax/imageio/metadata/IIOMetadataNode.java: New files.
6773 * Makefile.am (javax_source_files): Added new files
6774 * Makefile.in: Regenerated.
6776 2005-02-15 Graydon Hoare <graydon@redhat.com>
6778 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6779 Rework painting into BufferedImages
6780 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6781 Construct BufferedImage with alpha only when alpha is
6782 present in colormodel.
6783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6784 Rework painting into client-side jint arrays.
6785 * jni/gtk-peer/gtkcairopeer.h:
6788 2005-02-15 Michael Koch <konqueror@gmx.de>
6790 * javax/swing/DefaultListCellRenderer.java
6791 (serialVersionUID): Made private.
6792 (getListCellRendererComponent): Set horizontal alignment.
6793 * javax/swing/JLabel.java
6794 (setVerticalAlignment): Re-implemented.
6795 (setHorizontalAlignment): Do nothing if old value = new value.
6796 * javax/swing/JList.java
6797 (setCellRenderer): Likewise.
6798 (setModel): Re-implemented.
6799 (setSelectionModel): Likewise.
6801 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6803 * java/awt/Component.java,
6804 java/awt/geom/Rectangle2D.java:
6807 2005-02-15 Michael Koch <konqueror@gmx.de>
6809 * javax/swing/AbstractListModel.java
6810 (fireContentsChanged): Simplified.
6811 (fireIntervalAdded): Likewise.
6812 (fireIntervalRemoved): Likewise.
6813 * javax/swing/DefaultSingleSelectionModel.java:
6815 (fireStateChanged): Simplified.
6816 * javax/swing/JPopupMenu.java
6817 (setSelectionModel): Set property.
6819 2005-02-15 Michael Koch <konqueror@gmx.de>
6821 * java/awt/print/Book.java: Reformatted.
6823 2005-02-15 Michael Koch <konqueror@gmx.de>
6825 * java/awt/geom/Area.java
6826 (QuadSegment.curveArea): Remove unused variables.
6827 (CubicSegment.curveArea): Likewise.
6829 2005-02-15 Michael Koch <konqueror@gmx.de>
6831 * javax/swing/JTree.java
6832 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6833 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6834 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6835 (EXPANDED): New constant.
6836 (COLLAPSED): Likewise.
6837 (nodeStates): New field.
6838 (cellEditor): New method.
6839 (cellRenderer): Likewise.
6840 (selectionModel): Likewise.
6841 (treeModel): Likewise.
6842 (scrollPathToVisible): Likewise.
6843 (scrollRowToVisible): Likewise.
6844 (isCollapsed): Likewise.
6845 (isExpanded): Likewise.
6846 (clearToggledPaths): Likewise.
6847 (getDescendantToggledPaths): Likewise.
6848 (hasBeenExpanded): Likewise.
6849 (isVisible): Likewise.
6850 (isPathEditable): Likewise.
6852 2005-02-15 Michael Koch <konqueror@gmx.de>
6854 * javax/swing/JLayeredPane.java: Reformatted.
6856 2005-02-15 Michael Koch <konqueror@gmx.de>
6858 * javax/swing/tree/DefaultMutableTreeNode.java:
6860 * javax/swing/tree/MutableTreeNode.java:
6863 2005-02-15 Michael Koch <konqueror@gmx.de>
6865 * javax/swing/JFormattedTextField.java
6866 (setDocument): Call setDocument of super class. Don't fire property
6869 2005-02-15 Sven de Marothy <sven@physto.se>
6871 * java/awt/image/IndexColorModel.java:
6872 Add FIXME with respect to alpha handling.
6873 (getAlpha): Default to returning opaque pixels.
6874 * java/awt/image/MultiPixelPackedSampleModel.java
6875 (MultiPixelPackedSampleModel): Corrected parameters, order of
6876 bit shifts and masks, stride length off by one.
6878 2005-02-15 Michael Koch <konqueror@gmx.de>
6880 * javax/swing/JList.java, javax/swing/JTree.java:
6881 Added much new methods and fixed much methods setting bound properties.
6883 2005-02-16 Mark Wielaard <mark@klomp.org>
6885 * Makefile.am (gnu_xml_source_files): Removed
6886 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6887 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6888 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6889 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6890 gnu/xml/dom/DomDocumentFragment.java,
6891 gnu/xml/dom/DomProcessingInstruction.java and
6892 gnu/xml/dom/ls/DomLSException.java.
6893 * Makefile.in: Regenerated.
6895 2005-02-16 Tom Tromey <tromey@redhat.com>
6897 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6898 attribute index is out of bounds.
6900 2005-02-16 Chris Burdess <dog@gnu.org>
6902 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6903 isDeclared methods. Improved performance of isSpecified methods.
6905 2005-02-16 Chris Burdess <dog@gnu.org>
6907 Fixes bug libgcj/19864
6908 * gnu/xml/dom/DomAttr.java,
6909 gnu/xml/dom/DomCDATA.java,
6910 gnu/xml/dom/DomCDATASection.java,
6911 gnu/xml/dom/DomCharacterData.java,
6912 gnu/xml/dom/DomDOMException.java,
6913 gnu/xml/dom/DomDoctype.java,
6914 gnu/xml/dom/DomDocument.java,
6915 gnu/xml/dom/DomDocumentConfiguration.java,
6916 gnu/xml/dom/DomDocumentFragment.java,
6917 gnu/xml/dom/DomElement.java,
6918 gnu/xml/dom/DomEx.java,
6919 gnu/xml/dom/DomFragment.java,
6920 gnu/xml/dom/DomImpl.java,
6921 gnu/xml/dom/DomIterator.java,
6922 gnu/xml/dom/DomNamedNodeMap.java,
6923 gnu/xml/dom/DomNode.java,
6924 gnu/xml/dom/DomNsNode.java,
6925 gnu/xml/dom/DomPI.java,
6926 gnu/xml/dom/DomProcessingInstruction.java,
6927 gnu/xml/dom/DomText.java,
6928 gnu/xml/dom/DomLSEx.java,
6929 gnu/xml/dom/DomLSException.java,
6930 gnu/xml/dom/DomLSParser.java,
6931 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6932 implementation class names to conform to Classpath guidelines. Make
6933 DomLSException use JDK 1.4+ exception chaining.
6934 * gnu/xml/util/SAXNullTransformerFactory.java,
6935 gnu/xml/xpath/Predicate.java: Use constants relative to
6936 declaring class or interface.
6938 2005-02-16 Andrew Haley <aph@redhat.com>
6940 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6941 null, create a new AccessControlContext.
6942 * java/security/SecureClassLoader.java (protectionDomainCache):
6944 (defineClass): Create a new protection domain and add it to our
6947 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6948 addStub() to keep track of the stub we've exported.
6949 (unexportObject): Call deleteStub().
6950 * java/rmi/server/RemoteObject.java (stubs): New field.
6951 (addStub): New method.
6952 (deleteStub): New method.
6955 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6956 true to findHelper (tryParents).
6957 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6959 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6960 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6962 If tryParents is false, don't scan parent class loaders.
6964 * java/security/Permissions.java (PermissionsHash.implies):
6965 Iterate over the collection and invoke implies() on each
6968 2005-02-16 Andrew Haley <aph@redhat.com>
6970 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6972 (PersistentByteMap): Set name
6973 Magic number changed to 0x67636a64 ("gcjd").
6974 (init): Force the map to be prime.
6975 (emptyPersistentByteMap): File name was a string, now a File.
6976 (addBytes): Share srings between entries.
6977 (stringTableSize): New method.
6978 (capacity): Scale by load factor.
6979 (force): New method.
6980 (getFile): New method.
6981 (close): New method.
6982 (putAll): New method.
6983 (ByteWrapper): New class.
6984 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6985 (main): Guess the average string size as 32, not 64.
6986 Copy a database before modifying it, so that we can update a
6987 database in a running system.
6988 If a database isn't big enough, resize it.
6989 "-m": new option: merges databases.
6990 "-a": Create a new detabase if it doesn't exist.
6991 (usage): Correct, add new option.
6992 (addJar): Copy a database before modifying it.
6993 (resizeMap): New method.
6995 2005-02-15 David Daney <ddaney@avtrex.com>
6996 Bryce McKinlay <mckinlay@redhat.com>
6998 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6999 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7000 ensure that GC threads inherit the new signal mask.
7001 (block_sigchld): Call JvFail rather than throwing exception if
7002 pthread_sigmask() fails.
7004 2005-02-15 Mark Wielaard <mark@klomp.org>
7006 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7007 file path elements are separated by spaces.
7009 2005-02-15 Mark Wielaard <mark@klomp.org>
7011 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7012 to describe attributes without a constant field value in this class.
7014 2005-02-15 Michael Koch <konqueror@gmx.de>
7016 * java/util/jar/Attributes.java
7017 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7019 2005-02-15 Mark Wielaard <mark@klomp.org>
7021 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7022 space for parsing CLASS_PATH attribute.
7024 2005-02-15 Mark Wielaard <mark@klomp.org>
7026 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7027 aside for "GCJLIBS" in directory where jarfiles are loaded.
7028 (JarURLLoader.getClass): Removed method.
7029 (JarURLLoader.toString): Removed method.
7030 (FileResource.toString): Removed method.
7032 2005-02-15 Mark Wielaard <mark@klomp.org>
7034 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7035 and/or cause before throwing.
7037 2005-02-15 Richard Henderson <rth@redhat.com>
7039 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7040 (libgcj0_convenience_la_SOURCES): ... here.
7041 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7042 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7043 * Makefile.in: Regenerate.
7045 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7048 * include/jawt.h: Likewise.
7049 * include/jawt_md.h: Likewise.
7050 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7052 * include/Makefile.in: Regenerate.
7053 * jni/classpath/classpath_jawt.h: Likewise.
7054 * jni/gtk-peer/gtk_jawt.c: Likewise.
7055 * Makefile.am: Build libjawt.so.
7056 * Makefile.in: Regenerate.
7058 2005-02-14 Tom Tromey <tromey@redhat.com>
7060 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7062 2005-02-14 Tom Tromey <tromey@redhat.com>
7064 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7065 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7067 2005-02-14 Tom Tromey <tromey@redhat.com>
7070 * testsuite/libjava.lang/PR19929.out: New file.
7071 * testsuite/libjava.lang/PR19929.java: New file.
7073 2005-02-14 Anthony Green <green@redhat.com>
7076 * testsuite/libjava.jni/PR18116.c: New file.
7077 * testsuite/libjava.jni/PR18116.java: New file.
7078 * testsuite/libjava.jni/PR18116.out: New file.
7080 2005-02-13 Anthony Green <green@redhat.com>
7083 * jni.cc (nathash_add): Don't strdup the method signature.
7084 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7088 2005-02-12 Mark Wielaard <mark@klomp.org>
7090 Fixes bug libgcj/8170
7091 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7092 ClassNotFoundException.
7093 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7094 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7095 (remove_internal): New field superceding remove_interpreter.
7096 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7097 Remove no-class methods starting with "_Jv_". And Replace null
7098 class or method names with the empty string. Stop at either the
7099 MainThread or a real Thread run() method.
7100 (newElement): Made static.
7101 * java/net/URLClassLoader.java (findClass): Throw
7102 ClassNotFoundExceptions including urls, plus parent using toString().
7103 (thisString): New field.
7104 (toString): New method.
7106 2005-02-10 Tom Tromey <tromey@redhat.com>
7108 * external/sax/Makefile.in: Rebuilt.
7109 * external/sax/Makefile.am (all-local): Removed.
7110 (BUILT_SOURCES): New variable.
7111 (mostlyclean-local): No error if no classes to delete.
7112 * external/w3c_dom/Makefile.in: Rebuilt.
7113 * external/w3c_dom/Makefile.am (all-local): Removed.
7114 (BUILT_SOURCES): New variable.
7115 (mostlyclean-local): No error if no classes to delete.
7117 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7119 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7120 of mauve and libjava.
7122 2005-02-09 Tom Tromey <tromey@redhat.com>
7124 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7125 jar file with OPEN_DELETE.
7126 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7127 OPEN_DELETE is used.
7129 2005-02-09 Tom Tromey <tromey@redhat.com>
7131 * java/util/zip/InflaterInputStream.java (markSupported):
7133 (mark, reset): Likewise.
7135 2005-02-08 Tom Tromey <tromey@redhat.com>
7137 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7138 name or port is missing.
7139 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7140 AUTHORITY_PORT_GROUP): Updated.
7142 2005-02-08 Tom Tromey <tromey@redhat.com>
7144 * configure: Rebuilt.
7145 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7148 2005-02-07 Tom Tromey <tromey@redhat.com>
7150 * java/lang/natRuntime.cc (insertSystemProperties): Set
7151 sun.boot.class.path earlier.
7153 2005-02-07 Tom Tromey <tromey@redhat.com>
7155 * defineclass.cc (handleClassBegin): Use
7156 _Jv_RegisterInitiatingLoader.
7157 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7158 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7159 class. Use _Jv_UnregisterInitiatingLoader.
7160 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7163 2005-02-07 Mark Wielaard <mark@klomp.org>
7165 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7166 java/util/regex/Matcher.java (lookingAt): Set position when match
7168 (matches): Implemented through lookingAt().
7170 2005-02-07 Mark Wielaard <mark@klomp.org>
7172 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7173 * java/util/regex/Pattern.java (split(CharSequence,int)):
7174 Fix while empties > 0 loops.
7176 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7178 * gnu/java/nio/charset/ISO_8859_1.java,
7179 gnu/java/nio/charset/US_ASCII.java,
7180 gnu/java/nio/charset/UTF_16.java,
7181 gnu/java/nio/charset/UTF_16_LE.java,
7182 gnu/java/nio/charset/UTF_16_BE.java,
7183 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7184 and aliases according to
7185 "http://www.iana.org/assignments/character-sets",
7186 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7187 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7188 * gnu/java/nio/charset/Provider.java: Made charset lookup
7189 case-insensitive which fixes bug #11740.
7191 2005-02-07 Tom Tromey <tromey@redhat.com>
7194 * Makefile.in: Rebuilt.
7195 * Makefile.am (src.zip): New target.
7196 (install-src.zip): Likewise.
7197 (sourcesdir): New variable.
7199 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7201 * javax/imageio/metadata/IIOMetadataNode.java:
7203 * javax/imageio/metadata/IIOAttr.java,
7204 javax/imageio/metadata/IIONamedNodeMap.java,
7205 javax/imageio/metadata/IIONodeList.java:
7208 2005-02-06 Graydon Hoare <graydon@redhat.com>
7210 * gnu/java/awt/ClasspathToolkit.java
7211 (registerImageIOSpis): New method.
7212 * javax/imageio/ImageIO.java
7213 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7214 (WriterMIMETypeFilter.filter): Likewise.
7215 (ImageReaderIterator): Pass extension argument through to SPI.
7216 (getReadersByFilter): Likewise.
7217 (getWritersByFilter): Likewise.
7218 (getImageReadersByFormatName): Likewise.
7219 (getImageReadersByMIMEType): Likewise.
7220 (getImageReadersBySuffix): Likewise.
7221 (getImageWritersByFormatName): Likewise.
7222 (getImageWritersByMIMEType): Likewise.
7223 (getImageWritersBySuffix): Likewise.
7226 * javax/imageio/ImageReader.java
7227 (progressListeners): Initialize.
7228 (setInput): Implement.
7229 * javax/imageio/ImageWriter.java
7230 (progressListeners): Initialize.
7231 (warningListeners): Likewise.
7232 (warningLocales): Likewise.
7233 (setOutput): Test "isInstance" rather than class equality.
7234 * javax/imageio/spi/IIORegistry.java
7235 (static): Add reader and writer SPIs.
7236 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7238 2005-02-06 Michael Koch <konqueror@gmx.de>
7240 * javax/imageio/metadata/IIOInvalidTreeException.java
7241 (IIOInvalidTreeException): Reformatted.
7242 * javax/imageio/spi/IIORegistry.java
7243 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7244 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7245 Reworked import statements.
7247 2005-02-06 Michael Koch <konqueror@gmx.de>
7249 * javax/imageio/stream/FileImageOutputStream.java:
7252 2005-02-06 Michael Koch <konqueror@gmx.de>
7254 * javax/imageio/stream/FileCacheImageInputStream.java,
7255 javax/imageio/stream/FileCacheImageOutputStream.java,
7256 javax/imageio/stream/FileImageInputStream.java,
7257 javax/imageio/stream/ImageInputStreamImpl.java,
7258 javax/imageio/stream/ImageOutputStreamImpl.java,
7259 javax/imageio/stream/MemoryCacheImageInputStream.java,
7260 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7261 Added all missing methods in javax.imageio.stream.
7263 2005-02-02 David Daney <ddaney@avtrex.com>
7265 * java/net/InetAddress.java (InetAddress): Make a private copy of
7267 * java/net/Inet4Address.java (getAddress): Return a copy of the
7269 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7271 (getAddress): Return a copy of the address.
7274 2005-02-02 Tom Tromey <tromey@redhat.com>
7276 * Makefile.in: Rebuilt.
7277 * Makefile.am (classes.stamp): New target, broken out from
7279 ($(all_java_class_files)): Depend on it.
7280 (libgcj-@gcc_version@.jar): Likewise.
7281 (all-recursive): Likewise.
7282 (CLEANFILES): Include classes.stamp.
7284 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7286 * link.cc: Include <stdio.h>
7288 2005-02-02 Tom Tromey <tromey@redhat.com>
7291 * Makefile.in: Rebuilt.
7292 * Makefile.am (ordinary_java_source_files): Added new class.
7293 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7294 Use system_instance, not instance.
7295 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7296 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7298 (system_instance): New field.
7299 (initialize): Initialize the system loader as well.
7300 (VMClassLoader): Default to LIB_CACHE.
7302 2005-02-02 Tom Tromey <tromey@redhat.com>
7304 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7305 * prims.cc: Fixed comment.
7307 2005-02-01 Tom Tromey <tromey@redhat.com>
7309 * Makefile.in: Rebuilt.
7310 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7311 (.java.class): Use BOOTCLASSPATH.
7313 2005-02-01 Tom Tromey <tromey@redhat.com>
7315 * external/w3c_dom/Makefile.am: New file.
7316 * external/w3c_dom/Makefile.in: New file.
7317 * external/sax/Makefile.am: New file.
7318 * external/sax/Makefile.in: New file.
7319 * external/Makefile.in: New file.
7320 * external/Makefile.am: New file.
7321 * external/README: New file from Classpath.
7322 * configure, aclocal.m4, Makefile.in: Rebuilt.
7323 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7324 * Makefile.am (SUBDIRS): Added external.
7325 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7326 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7327 (BOOTCLASSPATH): New variable.
7328 (AM_GCJFLAGS): Use it.
7329 (gnu_xml_source_files): New variable.
7330 (libgcj_la_SOURCES): Use it.
7331 (libgcj_la_LDADD): Include new convenience libraries.
7332 (lib_org_ietf_jgss_la_SOURCES): Removed.
7333 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7334 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7335 (lib_org_w3c_dom_la_SOURCES): Removed.
7336 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7337 (lib_org_w3c_dom_la_LIBADD): Likewise.
7338 (lib_org_xml_sax_la_SOURCES): Removed.
7339 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7340 (lib_org_xml_sax_la_LIBADD): Likewise.
7341 (all_java_source_files): Updated.
7342 (property_files): Likewise.
7343 (libgcj-@gcc_version@.jar): Include classes from external/.
7344 (javax_source_files): Updated.
7345 (ordinary_java_source_files): Updated.
7346 * javax/xml/XMLConstants.java,
7347 javax/xml/datatype/DatatypeConfigurationException.java,
7348 javax/xml/datatype/DatatypeConstants.java,
7349 javax/xml/datatype/DatatypeFactory.java,
7350 javax/xml/datatype/Duration.java,
7351 javax/xml/datatype/XMLGregorianCalendar.java,
7352 javax/xml/datatype/package.html,
7353 javax/xml/namespace/NamespaceContext.java,
7354 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7355 javax/xml/parsers/DocumentBuilder.java,
7356 javax/xml/parsers/DocumentBuilderFactory.java,
7357 javax/xml/parsers/FactoryConfigurationError.java,
7358 javax/xml/parsers/ParserConfigurationException.java,
7359 javax/xml/parsers/SAXParser.java,
7360 javax/xml/parsers/SAXParserFactory.java,
7361 javax/xml/parsers/package.html,
7362 javax/xml/transform/ErrorListener.java,
7363 javax/xml/transform/OutputKeys.java,
7364 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7365 javax/xml/transform/SourceLocator.java,
7366 javax/xml/transform/Templates.java,
7367 javax/xml/transform/Transformer.java,
7368 javax/xml/transform/TransformerConfigurationException.java,
7369 javax/xml/transform/TransformerException.java,
7370 javax/xml/transform/TransformerFactory.java,
7371 javax/xml/transform/TransformerFactoryConfigurationError.java,
7372 javax/xml/transform/URIResolver.java,
7373 javax/xml/transform/package.html,
7374 javax/xml/transform/dom/DOMLocator.java,
7375 javax/xml/transform/dom/DOMResult.java,
7376 javax/xml/transform/dom/DOMSource.java,
7377 javax/xml/transform/dom/package.html,
7378 javax/xml/transform/sax/SAXResult.java,
7379 javax/xml/transform/sax/SAXSource.java,
7380 javax/xml/transform/sax/SAXTransformerFactory.java,
7381 javax/xml/transform/sax/TemplatesHandler.java,
7382 javax/xml/transform/sax/TransformerHandler.java,
7383 javax/xml/transform/sax/package.html,
7384 javax/xml/transform/stream/StreamResult.java,
7385 javax/xml/transform/stream/StreamSource.java,
7386 javax/xml/transform/stream/package.html,
7387 javax/xml/validation/Schema.java,
7388 javax/xml/validation/SchemaFactory.java,
7389 javax/xml/validation/TypeInfoProvider.java,
7390 javax/xml/validation/Validator.java,
7391 javax/xml/validation/ValidatorHandler.java,
7392 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7393 javax/xml/xpath/XPathConstants.java,
7394 javax/xml/xpath/XPathException.java,
7395 javax/xml/xpath/XPathExpression.java,
7396 javax/xml/xpath/XPathExpressionException.java,
7397 javax/xml/xpath/XPathFactory.java,
7398 javax/xml/xpath/XPathFactoryConfigurationException.java,
7399 javax/xml/xpath/XPathFunction.java,
7400 javax/xml/xpath/XPathFunctionException.java,
7401 javax/xml/xpath/XPathFunctionResolver.java,
7402 javax/xml/xpath/XPathVariableResolver.java,
7403 javax/xml/xpath/package.html: New files, from GNU JAXP.
7404 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7405 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7406 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7407 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7408 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7409 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7410 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7411 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7412 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7413 org/w3c/dom/ranges/DocumentRange.java,
7414 org/w3c/dom/ranges/Range.java,
7415 org/w3c/dom/ranges/RangeException.java,
7416 org/w3c/dom/traversal/DocumentTraversal.java,
7417 org/w3c/dom/traversal/NodeFilter.java,
7418 org/w3c/dom/traversal/NodeIterator.java,
7419 org/w3c/dom/traversal/TreeWalker.java,
7420 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7421 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7422 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7423 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7424 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7425 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7426 org/xml/sax/SAXNotRecognizedException.java,
7427 org/xml/sax/SAXNotSupportedException.java,
7428 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7429 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7430 org/xml/sax/ext/DeclHandler.java,
7431 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7432 org/xml/sax/helpers/AttributeListImpl.java,
7433 org/xml/sax/helpers/AttributesImpl.java,
7434 org/xml/sax/helpers/DefaultHandler.java,
7435 org/xml/sax/helpers/LocatorImpl.java,
7436 org/xml/sax/helpers/NamespaceSupport.java,
7437 org/xml/sax/helpers/NewInstance.java,
7438 org/xml/sax/helpers/ParserAdapter.java,
7439 org/xml/sax/helpers/ParserFactory.java,
7440 org/xml/sax/helpers/XMLFilterImpl.java,
7441 org/xml/sax/helpers/XMLReaderAdapter.java,
7442 org/xml/sax/helpers/XMLReaderFactory.java,
7443 org/xml/sax/helpers/package.html: Moved to external/.
7444 * external/sax/README,
7445 external/sax/org/xml/sax/AttributeList.java,
7446 external/sax/org/xml/sax/Attributes.java,
7447 external/sax/org/xml/sax/ContentHandler.java,
7448 external/sax/org/xml/sax/DTDHandler.java,
7449 external/sax/org/xml/sax/DocumentHandler.java,
7450 external/sax/org/xml/sax/EntityResolver.java,
7451 external/sax/org/xml/sax/ErrorHandler.java,
7452 external/sax/org/xml/sax/HandlerBase.java,
7453 external/sax/org/xml/sax/InputSource.java,
7454 external/sax/org/xml/sax/Locator.java,
7455 external/sax/org/xml/sax/Parser.java,
7456 external/sax/org/xml/sax/SAXException.java,
7457 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7458 external/sax/org/xml/sax/SAXNotSupportedException.java,
7459 external/sax/org/xml/sax/SAXParseException.java,
7460 external/sax/org/xml/sax/XMLFilter.java,
7461 external/sax/org/xml/sax/XMLReader.java,
7462 external/sax/org/xml/sax/package.html,
7463 external/sax/org/xml/sax/ext/Attributes2.java,
7464 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7465 external/sax/org/xml/sax/ext/DeclHandler.java,
7466 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7467 external/sax/org/xml/sax/ext/EntityResolver2.java,
7468 external/sax/org/xml/sax/ext/LexicalHandler.java,
7469 external/sax/org/xml/sax/ext/Locator2.java,
7470 external/sax/org/xml/sax/ext/Locator2Impl.java,
7471 external/sax/org/xml/sax/ext/package.html,
7472 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7473 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7474 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7475 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7476 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7477 external/sax/org/xml/sax/helpers/NewInstance.java,
7478 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7479 external/sax/org/xml/sax/helpers/ParserFactory.java,
7480 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7481 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7482 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7483 external/sax/org/xml/sax/helpers/package.html,
7484 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7485 external/w3c_dom/org/w3c/dom/Attr.java,
7486 external/w3c_dom/org/w3c/dom/CDATASection.java,
7487 external/w3c_dom/org/w3c/dom/CharacterData.java,
7488 external/w3c_dom/org/w3c/dom/Comment.java,
7489 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7490 external/w3c_dom/org/w3c/dom/DOMError.java,
7491 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7492 external/w3c_dom/org/w3c/dom/DOMException.java,
7493 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7494 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7495 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7496 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7497 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7498 external/w3c_dom/org/w3c/dom/Document.java,
7499 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7500 external/w3c_dom/org/w3c/dom/DocumentType.java,
7501 external/w3c_dom/org/w3c/dom/Element.java,
7502 external/w3c_dom/org/w3c/dom/Entity.java,
7503 external/w3c_dom/org/w3c/dom/EntityReference.java,
7504 external/w3c_dom/org/w3c/dom/NameList.java,
7505 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7506 external/w3c_dom/org/w3c/dom/Node.java,
7507 external/w3c_dom/org/w3c/dom/NodeList.java,
7508 external/w3c_dom/org/w3c/dom/Notation.java,
7509 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7510 external/w3c_dom/org/w3c/dom/Text.java,
7511 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7512 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7513 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7514 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7515 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7516 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7517 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7518 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7519 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7520 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7521 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7522 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7523 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7524 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7525 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7526 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7527 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7528 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7529 external/w3c_dom/org/w3c/dom/css/Counter.java,
7530 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7531 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7532 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7533 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7534 external/w3c_dom/org/w3c/dom/css/Rect.java,
7535 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7536 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7537 external/w3c_dom/org/w3c/dom/events/Event.java,
7538 external/w3c_dom/org/w3c/dom/events/EventException.java,
7539 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7540 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7541 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7542 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7543 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7544 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7545 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7546 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7547 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7548 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7549 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7550 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7551 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7552 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7553 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7554 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7555 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7556 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7557 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7558 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7559 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7560 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7561 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7562 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7563 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7564 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7565 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7566 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7567 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7568 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7569 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7570 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7571 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7572 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7573 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7574 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7575 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7576 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7577 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7578 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7579 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7580 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7581 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7582 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7583 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7584 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7585 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7586 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7587 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7588 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7589 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7590 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7591 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7592 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7593 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7594 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7595 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7596 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7597 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7598 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7599 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7600 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7601 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7602 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7603 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7604 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7605 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7606 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7607 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7608 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7609 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7610 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7611 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7612 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7613 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7614 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7615 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7616 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7617 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7618 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7619 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7620 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7621 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7622 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7623 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7624 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7625 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7626 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7627 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7628 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7629 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7630 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7633 2005-01-31 Anthony Green <green@redhat.com>
7635 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7636 Support IP_MULTICAST_LOOP.
7637 (setOption): Support IP_MULTICAST_LOOP.
7639 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7640 SO_REUSEADDR support.
7641 (getOption): Support SO_REUSEADDR.
7643 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7646 * java/util/Date.java
7647 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7649 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7651 (getTimezoneOffset): Inverted sign.
7653 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7655 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7656 remove other passing tests and add new XFAILs.
7658 2005-01-24 Tom Tromey <tromey@redhat.com>
7660 * java/lang/Class.h (next): Updated documentation. Renamed to
7662 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7663 _Jv_CheckABIVersion.
7664 (_Jv_RegisterClasses_Counted): Likewise.
7665 (_Jv_RegisterClassHookDefault): Fix starting condition of
7666 duplicate-checking loop.
7667 * include/jvm.h (GCJ_VERSION): New define.
7668 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7669 (_Jv_CheckABIVersion): New function.
7671 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7673 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7674 (libgij_la_LDFLAGS): Add.
7675 * Makefile.in: Rebuilt.
7677 2005-01-24 Roger Sayle <roger@eyesopen.com>
7680 * testsuite/libjava.compile/PR19295.java: New test case.
7682 2005-01-19 Tom Tromey <tromey@redhat.com>
7684 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7685 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7686 if 'handler' is valid.
7688 2005-01-17 Tom Tromey <tromey@redhat.com>
7690 * java/text/MessageFormat.java (scanString): Changed how quoting
7692 (scanFormatElement): Likewise.
7694 2004-12-07 Mark Wielaard <mark@klomp.org>
7696 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7698 2005-01-15 Michael Koch <konqueror@gmx.de>
7702 (AUTHORITY_REGEXP): New regexp constant.
7703 (AUTHORITY_USERINFO_GROUP): New constant.
7704 (AUTHORITY_HOST_GROUP): Likewise.
7705 (AUTHORITY_PORT_GROUP): Likewise.
7706 (port): Changed default value to -1.
7707 (parseURI): Parse authority part and initialize host,
7710 2005-01-14 Robin Green <greenrd@greenrd.org>
7712 * java/io/File.java (toURI): Generate a URI which we understand.
7714 2005-01-13 Graydon Hoare <graydon@redhat.com>
7716 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7717 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7718 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7719 * jni.cc: Reuse bottom frame between calls, avoid clearing
7720 frame when no local references are made.
7722 2005-01-13 Michael Koch <konqueror@gmx.de>
7725 * java/lang/Thread.java
7726 (Thread): Call checkAccess().
7727 (stop): Fixed argument name to match javadoc.
7728 * java/lang/natThread.cc
7729 (interrupt): Call checkAccess().
7732 2005-01-11 Michael Koch <konqueror@gmx.de>
7735 * java/net/URL.java (URL): Handle specs like
7736 "/redir?http://domain2.com/index.html" which start with a slash.
7738 2005-01-11 Michael Koch <konqueror@gmx.de>
7740 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7741 * gnu/java/net/BASE64.java,
7742 gnu/java/net/EmptyX509TrustManager.java,
7743 gnu/java/net/LineInputStream.java,
7744 gnu/java/net/protocol/http/Authenticator.java,
7745 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7746 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7747 gnu/java/net/protocol/http/ChunkedInputStream.java,
7748 gnu/java/net/protocol/http/Cookie.java,
7749 gnu/java/net/protocol/http/CookieManager.java,
7750 gnu/java/net/protocol/http/Credentials.java,
7751 gnu/java/net/protocol/http/HTTPConnection.java,
7752 gnu/java/net/protocol/http/HTTPDateFormat.java,
7753 gnu/java/net/protocol/http/HTTPURLConnection.java,
7754 gnu/java/net/protocol/http/Headers.java,
7755 gnu/java/net/protocol/http/Request.java,
7756 gnu/java/net/protocol/http/RequestBodyWriter.java,
7757 gnu/java/net/protocol/http/Response.java,
7758 gnu/java/net/protocol/http/ResponseBodyReader.java,
7759 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7760 gnu/java/net/protocol/http/SimpleCookieManager.java,
7761 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7762 gnu/java/net/protocol/http/event/ConnectionListener.java,
7763 gnu/java/net/protocol/http/event/RequestEvent.java,
7764 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7765 * gnu/java/net/protocol/http/Connection.java: Removed.
7766 * gnu/java/net/protocol/http/Handler.java,
7767 javax/net/ssl/HttpsURLConnection.java: Updated.
7768 * Makefile.am: Added new files and remove old ones.
7769 * Makefile.in: Regenerated.
7771 2005-01-11 Tom Tromey <tromey@redhat.com>
7774 * java/io/BufferedInputStream.java (read): Repeatedly read to
7776 (refill): Change test to see if buffer must be grown.
7778 2005-01-10 Tom Tromey <tromey@redhat.com>
7780 * mauve-libgcj: Exclude some swing tests.
7782 2005-01-10 Tom Tromey <tromey@redhat.com>
7784 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7785 * java/lang/Package.java (getPackages): Use VMClassLoader when
7787 (getPackage): Likewise.
7788 * prims.cc (_Jv_CreateJavaVM): Call
7789 _Jv_RegisterBootstrapPackages.
7790 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7791 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7792 (getPackages): Likewise.
7793 (definedPackages): New field.
7794 (definePackageForNative): New method.
7795 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7796 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7797 * defineclass.cc (handleClassBegin): Use
7798 ClassLoader.findLoadedClass.
7799 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7801 (struct _Jv_LoaderInfo): Removed.
7802 (initiated_classes): Likewise.
7803 (_Jv_UnregisterClass): Don't use initiated_classes.
7804 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7805 (_Jv_FindClass): Register classes found during boostrap.
7806 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7807 (bootstrap_class_list): New global.
7808 (bootstrap_index): Likewise.
7809 (_Jv_RegisterBootstrapPackages): New function.
7810 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7811 definePackageForNative.
7812 (findClass): Updated.
7813 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7816 2005-01-10 Tom Tromey <tromey@redhat.com>
7819 * include/jvm.h (_Jv_Linker::find_field): Declare.
7820 (_Jv_Linker::find_field_helper): Likewise.
7821 * link.cc (find_field_helper): New method.
7822 (find_field): Likewise.
7823 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7825 (link_symbol_table): Use find_field.
7827 2005-01-10 Michael Koch <konqueror@gmx.de>
7830 * java/util/Locale.java (Locale): Don't uppercase variant.
7831 (getISOCountries): Fixed typo in javadoc.
7833 2005-01-10 Michael Koch <konqueror@gmx.de>
7835 * java/util/SimpleTimeZone.java (checkRule):
7836 Throw IllegalArgumentException on invalid month values.
7837 * java/util/TimeZone.java (setID):
7838 Throw NullPointerException if needed.
7840 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7842 * java/util/SimpleTimeZone.java (getOffset):
7843 offset end date with daylight savings
7845 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7847 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7848 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7850 2005-01-09 Michael Koch <konqueror@gmx.de>
7853 * java/net/InetAddress.java (getLocalHost):
7854 Throw UnknownHostException if local hostname cannot be determined.
7856 2005-01-06 Tom Tromey <tromey@redhat.com>
7858 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7860 2005-01-07 Michael Koch <konqueror@gmx.de>
7863 * java/nio/Buffer.java (address): New field.
7864 * java/nio/DirectByteBufferImpl.java (address): Removed.
7865 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7866 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7867 Explicitly initialize Buffer.address if needed.
7868 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7869 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7870 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7871 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7872 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7873 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7874 DirectByteBufferImpl object.
7875 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7876 * testsuite/libjava.jni/directbuffer.c,
7877 testsuite/libjava.jni/directbuffer.java,
7878 testsuite/libjava.jni/directbuffer.out,
7879 testsuite/libjava.jni/bytebuffer.c,
7880 testsuite/libjava.jni/bytebuffer.java,
7881 testsuite/libjava.jni/bytebuffer.out: New files.
7883 2005-01-05 Tom Tromey <tromey@redhat.com>
7885 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7887 (compressedSize): Now 'long'. Default to -1.
7888 (getCompressedSize): Rewrote.
7889 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7890 deflate at all if we need input.
7892 2005-01-05 Tom Tromey <tromey@redhat.com>
7895 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7898 2005-01-05 Tom Tromey <tromey@redhat.com>
7900 * java/lang/natRuntime.cc (insertSystemProperties): Set
7901 java.ext.dirs earlier.
7903 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7905 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7906 sync_info element of the object if needed.
7908 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7910 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7911 a non-zero exit status from 'false'.
7913 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7915 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.