1 2005-06-30 Keith Seitz <keiths@redhat.com>
3 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
4 (myWrite): New abstract method.
7 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
9 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
11 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
12 JdwpPacket.write instead of JdwpPacket.toBytes.
14 2005-06-30 Keith Seitz <keiths@redhat.com>
16 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
19 (_doStream): New member.
20 (JdwpConnection): Initialize new members.
22 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
24 * all files: Update for new FSF address.
26 2005-06-29 Tom Tromey <tromey@redhat.com>
29 * testsuite/libjava.lang/pr22211.java: New file.
30 * java/lang/natThread.cc (finish_): Synchronize when updating
32 (_Jv_AttachCurrentThread): Likewise.
33 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
34 * java/lang/Thread.java (isAlive): Now synchronized.
36 2005-06-29 Tom Tromey <tromey@redhat.com>
38 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
41 2005-06-28 Robin Green <greenrd@greenrd.org>
44 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
47 2005-06-27 Tom Tromey <tromey@redhat.com>
49 PR java/21540, PR java/13788:
50 * testsuite/libjava.compile/pr21540.java: New file.
51 * testsuite/libjava.compile/pr13788.java: New file.
52 * testsuite/libjava.jacks/jacks.xfail: Updated.
54 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
56 * testsuite/libjava.mauve/xfails: Updated to reflect current state
59 2005-06-24 Tom Tromey <tromey@redhat.com>
61 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
62 where class' name is NULL.
63 (_Jv_FindClass): Don't wait for class state.
64 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
66 * include/java-interp.h (_Jv_DefineClass): Updated.
67 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
68 (struct _Jv_ClassReader): Likewise.
69 (found_name): New field.
70 (handleClassBegin): Set *found_name.
71 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
72 (handleClassBegin): Throw error if super class not set.
73 (read_methods): Correctly call check_tag and prepare_pool_entry.
75 2005-06-24 Tom Tromey <tromey@redhat.com>
77 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
79 2005-06-24 Tom Tromey <tromey@redhat.com>
81 * verify.cc (verify_instructions_0): Correctly handle situation
82 where PC falls off end.
84 2005-06-24 Tom Tromey <tromey@redhat.com>
86 * interpret.cc (compile): Handle case where table entry is
89 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
91 * testsuite/libjava.compile/PR20697.java: New test-case.
93 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
95 * Makefile.am (SUBDIRS): Use append for conditional.
96 (toolexeclib_LTLIBRARIES): Likewise.
97 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
99 * Makefile.in: Regenerate.
101 2005-06-17 Keith Seitz <keiths@redhat.com>
103 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
104 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
105 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
107 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
108 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
110 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
111 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
112 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
113 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
115 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
116 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
118 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
120 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
121 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
122 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
123 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
124 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
125 * Makefile.in: Regenerate.
127 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
129 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
130 (USING_POSIX_PLATFORM): ... here.
131 * Makefile.am: Delete USING_ECOS_PLATFORM.
132 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
133 external/Makefile.in, external/sax/Makefile.in,
134 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
136 2005-06-15 Tom Tromey <tromey@redhat.com>
139 * testsuite/libjava.lang/pr17536.java: New file.
140 * testsuite/libjava.lang/pr17536.out: New file.
142 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
145 * gnu/java/net/protocol/http/HTTPURLConnection.java
146 (getHeaderFieldKey): Check index.
148 2005-06-15 Tom Tromey <tromey@redhat.com>
151 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
153 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
154 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
156 (append_partial_itable): Use it.
157 (set_vtable_entries): Likewise.
159 2005-06-15 Tom Tromey <tromey@redhat.com>
161 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
162 last_was_sep in loop.
164 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
166 * configure.host: Handle Solaris 10/x86.
168 2005-06-14 Keith Seitz <keiths@redhat.com>
170 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
171 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
173 2005-06-14 Keith Seitz <keiths@redhat.com>
175 * gnu/classpath/jdwp/id/ArrayId.java: New file.
176 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
177 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
178 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
179 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
180 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
181 * gnu/classpath/jdwp/id/JdwpId.java: New file.
182 * gnu/classpath/jdwp/id/ObjectId.java: New file.
183 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
184 * gnu/classpath/jdwp/id/StringId.java: New file.
185 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
186 * gnu/classpath/jdwp/id/ThreadId.java: New file.
188 2005-06-14 Tom Tromey <tromey@redhat.com>
191 * configure, aclocal.m4, Makefile.in: Rebuilt.
193 2005-06-14 Tom Tromey <tromey@redhat.com>
195 * java/lang/Class.java (getClasses): New method.
196 (internalGetClasses): Likewise.
197 (getClassLoader): Updated documentation.
198 (getDeclaredClasses): New overload; old overload no longer
200 (_getConstructors): Removed.
201 (resourcePath): Updated.
202 * java/lang/natClass.cc (getClasses): Removed.
203 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
205 (_getConstructors): Removed.
207 2005-06-13 Jim Huang <jserv@kaffe.org>
210 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
211 (_Jv_JNI_NewObject): Likewise.
213 2005-06-13 Tom Tromey <tromey@redhat.com>
216 * testsuite/libjava.lang/pr21844.java: New file.
217 * testsuite/libjava.lang/pr21844.out: New file.
219 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
222 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
225 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
227 * java/text/MessageFormat.java (parse): When parsing strings, check
228 for an empty pattern trailer.
230 2005-06-06 Keith Seitz <keiths@redhat.com>
232 * gnu/classpath/jdwp/util/Signature.java: New file.
233 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
235 2005-06-05 Anthony Green <green@redhat.com>
237 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
240 2005-06-04 Anthony Green <green@redhat.com>
242 * java/net/URLClassLoader.java: import gnu.gcj.Core,
243 and gnu.java.net.protocol.core.CoreInputStream.
244 (CureURLLoader): New class.
245 (CoreResource): New class.
246 (addURLImpl): Add special treatment for the "core" protocol.
247 * gnu/gcj/natCore.cc (find): New method.
248 * gnu/gcj/Core.java (find): New method.
250 2005-06-03 Keith Seitz <keiths@redhat.com>
252 * gnu/classpath/jdwp/transport/ITransport.java: New file.
253 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
254 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
256 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
258 * jawt.c: Remove malloc.h, covered by stdlib.h.
260 * testsuite/libjava.jni/jni.exp
261 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
264 2005-06-02 Keith Seitz <keiths@redhat.com>
266 * gnu/classpath/jdwp/transport/TransportException.java: New file.
268 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
270 * mauve-libgcj: Remove implemented classes from the fail section.
271 Add two new not implemented to it.
273 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
275 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
276 AC_SUBST definition from configure.host.
277 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
278 to -fomit-frame-pointer on 32-bit x86 targets.
280 2005-06-01 Tom Tromey <tromey@redhat.com>
282 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
284 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
287 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
288 (static): Add possessive matching to JAVA_1_4 syntax.
289 * gnu/regexp/RETokenRepeated.java (possessive): New field.
290 (makePossessive, isPossessive): New methods.
291 (match): Don't back off during possessive matching.
292 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
293 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
296 2005-06-01 Keith Seitz <keiths@redhat.com>
298 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
299 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
300 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
302 2005-06-01 Tom Tromey <tromey@redhat.com>
305 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
306 (currentLoader): New method.
307 * java/io/ObjectInputStream.java (resolveProxyClass): Use
309 (currentLoader): Now native.
310 (currentClassLoader): Removed.
311 * testsuite/libjava.lang/pr21785.java: New file.
312 * testsuite/libjava.lang/pr21785.out: New file.
314 2005-06-01 Tom Tromey <tromey@redhat.com>
317 * java/lang/natString.cc (substring): Changed sharing heuristic.
319 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
322 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
323 MAXPATHLEN. Format exception message using a StringBuffer instead.
325 2005-05-29 Michael Koch <konqueror@gmx.de>
328 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
330 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
332 * ChangeLog: Fix typo.
334 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
336 Testsuite adjustments for PR java/19870.
337 * testsuite/libjava.lang/PR19870.java: New testcase.
338 * testsuite/libjava.lang/PR19870.out: Expected output for the
340 * testsuite/libjava.jacks/jacks.xfail: Add
341 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
344 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
346 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
347 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
348 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
350 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
351 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
352 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
353 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
355 2005-05-25 Richard Henderson <rth@redhat.com>
358 * sysdep/descriptor-n.h: New file.
359 * sysdep/descriptor-y.h: New file.
360 * sysdep/powerpc/descriptor.h: New file.
361 * configure.host: Set $descriptor_h appropriate for the host.
362 * configure.ac: Link it.
363 * configure: Regenerate.
364 * stacktrace.cc: Include sysdep/descriptor.h.
365 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
367 2005-05-25 Chris Burdess <dog@gnu.org>
369 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
370 end entity callbacks.
372 2005-05-24 Gary Benson <gbenson@redhat.com>
375 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
376 Handle DateFormat.DEFAULT case correctly.
378 2005-05-21 Tom Tromey <tromey@redhat.com>
381 * java/lang/ref/natReference.cc (find_slot): Handle case where
382 table has no NULL entries.
383 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
384 table has no NULL entries.
386 2005-05-22 Andreas Jaeger <aj@suse.de>
388 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
391 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
393 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
395 2005-05-19 Richard Henderson <rth@redhat.com>
397 * exception.cc: Revert 05-17 gcc_unreachable change.
399 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
401 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
402 _Jv_RegisterInitiatingLoader to register array classes, not
404 (_Jv_RegisterInitiatingLoader): Give up if called very early during
405 bootstrapping. Add a FIXME to handle this case better.
407 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
409 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
411 (libgcj_la_SOURCES): New. Move sources here.
412 (libgcj.la): Remove rule.
414 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
417 * gnu/java/security/provider/DSASignature.java: Import updates
420 2005-05-18 Anthony Green <green@redhat.com>
422 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
423 classpath_jawt_object_unlock, classpath_jawt_create_lock,
424 classpath_jawt_destroy_lock): New functions.
425 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
426 classpath_jawt_object_unlock, classpath_jawt_create_lock,
427 classpath_jawt_destroy_lock): New functions.
428 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
430 * jawt.c: #include malloc.h.
431 (_Jv_Lock): Use lock.
433 (_Jv_GetDrawingSurface): Initialize lock.
434 (_Jv_FreeDrawingSurface): Destroy lock.
435 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
437 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
439 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
440 * Makefile.in: Regenerate.
442 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
444 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
445 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
446 * aclocal.m4, configure, config.h.in, include/config.h.in,
447 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
448 external/Makefile.in, external/sax/Makefile.in,
449 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
451 2005-05-17 David Daney <ddaney@avtrex.com>
454 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
456 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
458 * exception.cc (abort): Remove std::abort hack.
459 (gcc_unreacheable): Define.
461 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
463 * Makefile.am (Makefile.deps): Do not create native.list and
465 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
466 * Makefile.in: Regenerate.
468 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
470 * configure.ac (--enable-libgcj-multifile): Remove.
472 * Makefile.am (all_native_compiled_source_files,
473 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
474 all_libgcj_lo_files, all_xlib_lo_files,
475 all_java_deps_files, all_java_stamp_files,
476 all_java_filelist_files): New variables.
477 (EXTRA_DIST): New Automake variable.
478 (CLEANFILES): Add .stamp, .list and .lo files.
479 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
480 (classes.stamp): Depend on $(all_java_stamp_files).
481 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
482 going through write_entries_to_file.
484 (all_java_source_files, all_property_files): Move earlier.
485 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
486 all_java_class_files): Remove.
487 (gtk_awt_peer_sources): Rename to...
488 (gtk_awt_peer_source_files): ... this. Adjust throughout.
491 (libgcj0_convenience_la_SOURCES): Remove Java source files.
492 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
493 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
494 (libgcj_la_SOURCES): Remove.
495 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
496 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
497 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
499 * configure: Regenerate.
500 * Makefile.in: Regenerate.
501 * external/Makefile.in: Regenerate.
502 * external/sax/Makefile.in: Regenerate.
503 * external/w3c_dom/Makefile.in: Regenerate.
504 * gcj/Makefile.in: Regenerate.
505 * include/Makefile.in: Regenerate.
506 * libltdl/Makefile.in: Regenerate.
507 * testsuite/Makefile.in: Regenerate.
509 2005-05-16 Tom Tromey <tromey@redhat.com>
511 * java/nio/charset/Charset.java (encode, decode): Synchronize on
512 'this', not the class.
514 2005-05-16 Tom Tromey <tromey@redhat.com>
516 * gnu/java/net/protocol/http/Headers.java (parse): Include final
519 2005-05-16 Tom Tromey <tromey@redhat.com>
522 * java/net/URI.java (unquote): Handle lower-case letters as well.
524 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
527 * gnu/regexp/RE.java: Add support for quoting constructs.
529 2005-05-15 Tom Tromey <tromey@redhat.com>
531 * java/lang/String.java (startsWith): Fixed javadoc.
533 2005-05-15 Tom Tromey <tromey@redhat.com>
536 * testsuite/libjava.compile/pr21519.java: New file.
537 * testsuite/libjava.compile/pr21519.no-link: New file.
539 2005-05-15 Tom Tromey <tromey@redhat.com>
541 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
543 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
546 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
547 interrupt status flag if _Jv_CondWait is interrupted.
549 2005-05-13 Tom Tromey <tromey@redhat.com>
551 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
554 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
556 * include/jvm.h (gcj::verifyClasses): Declare.
557 * link.cc (gcj::verbose_class_flag): Moved.
558 * prims.cc (gcj::verifyClasses): Define here.
559 (gcj::verbose_class_flag): Move definition here.
560 (_Jv_Linker::wait_for_state): Don't call verify_class
561 if gcj::verifyClasses is not set.
562 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
564 2005-05-12 Aaron Luchko <aluchko@redhat.com>
566 * gij.cc (main): Recognize '-verify', '-noverify', and
569 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
571 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
573 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
575 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
578 2005-05-11 Tom Tromey <tromey@redhat.com>
580 * external/w3c_dom/Makefile.in: Rebuilt.
581 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
583 * external/sax/Makefile.in: Rebuilt.
584 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
586 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
588 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
589 Call _Jv_CopyClassesToSystemLoader.
590 * java/lang/natClassLoader.cc (system_class_list): New global.
591 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
593 (_Jv_CopyClassesToSystemLoader): New function.
594 (SYSTEM_LOADER_INITIALIZED): New define.
595 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
596 (_Jv_CheckABIVersion): Use it.
597 (_Jv_ClassForBootstrapLoader): New function.
598 * Makefile.in: Rebuilt.
599 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
601 2005-05-10 Tom Tromey <tromey@redhat.com>
603 * gcj/javaprims.h: Updated.
604 * java/lang/String.java (String(StringBuilder)): New constructor.
605 * java/lang/natStringBuilder.cc: New file.
606 * java/lang/StringBuilder.java: New file.
607 * Makefile.in: Rebuilt.
608 * Makefile.am (core_java_source_files): Added StringBuilder.java.
609 (nat_source_files): Added natStringBuilder.cc.
611 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
614 * testsuite/libjava.jacks/jacks.xfail: Adjust.
616 2005-05-09 Mike Stump <mrs@apple.com>
618 * configure: Regenerate.
620 2005-05-09 David Daney <ddaney@avtrex.com>
622 * java/util/BitSet.java (get(int, int)): Fix breakage when
623 requested set doesn't start on a multiple of 64.
625 2005-05-07 Matthias Klose <doko@debian.org>
627 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
629 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
631 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
632 * Makefile.in: Regenerate.
633 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
634 (createCompatibleVolatileImage(int,int)): Implement.
635 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
637 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
639 (createVolatileImage): Implement.
640 (createBuffers): Likewise.
641 (getBackBuffer): Likewise.
643 (destroyBuffers): Likewise.
644 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
645 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
646 (CanvasFlipBufferStrategy): Likewise.
647 (createBufferStrategy(int)): New method.
648 (createBufferStrategy(int,BufferCapabilities)): Likewise.
649 * java/awt/Component.java (BltBufferStrategy): Implement and
651 (FlipBufferStrategy): Likewise.
652 * java/awt/Window.java (WindowBltBufferStrategy): New class.
653 (WindowFlipBufferStrategy): Likewise.
654 (createBufferStrategy(int)): New method.
655 (createBufferStrategy(int,BufferCapabilities)): Likewise.
656 (getBufferStrategy): Likewise.
657 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
658 front to frontCaps and back to backCaps.
660 2005-05-06 Michael Koch <konqueror@gmx.de>
662 * java/awt/BufferCapabilities.java
663 (BufferCapabilities): Merged javadoc.
665 2005-05-06 Michael Koch <konqueror@gmx.de>
667 * java/util/Locale.java
668 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
669 (getLocale): New methods. Use it everywhere where instances of Locales
671 (getDisplayLanguage): Merged javadoc.
672 (getDisplayCountry): Likewise.
673 (getDisplayVariant): Likewise.
675 2005-05-06 Archie Cobbs <archie@dellroad.org>
677 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
678 use DeleteLocalRef() to avoid exhausting local native references.
680 2005-05-06 Mark Wielaard <mark@klomp.org>
682 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
683 (window_delete_cb): Don't use C++ style comments.
685 2005-05-06 Robert Schuster <thebohemian@gmx.net>
687 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
690 2005-05-06 Robert Schuster <thebohemian@gmx.net>
692 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
693 (window_delete_cb): Made the function return TRUE.
695 2005-05-06 Roman Kennke <roman@kennke.org>
697 * javax/swing/text/PlainView.java
698 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
700 * javax/swing/text/Utilities.java
701 (drawTabbedText): Initilialize local variable pos correctly.
703 2005-05-06 Roman Kennke <roman@kennke.org>
705 * javax/swing/text/AbstractDocument.java
706 (LeafElement): Made start and end package private fields for
707 effective reindexing.
708 * javax/swing/text/PlainDocument.java
709 (constructor): The field rootElement is always BranchElement,
710 so we handle it as such.
711 (removeUpdate): Rewritten reindexing for removeUpdate so that
712 the actual removal is taken into account.
714 2005-05-06 Roman Kennke <roman@kennke.org>
716 * javax/swing/text/GapContent.java:
717 Removed debugging output stuff, which I accidentally left in.
719 2005-05-06 Roman Kennke <roman@kennke.org>
721 * javax/swing/text/GapContent.java:
722 Implemented a real GapContent. Only the public methods have
723 been implemented so far and still no UndoableEdit support.
725 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
727 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
730 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
732 * java/awt/image/BufferStrategy.java: Document.
734 * java/awt/BufferCapabilities.java: Document.
736 2005-05-04 Tom Tromey <tromey@redhat.com>
738 * java/nio/channels/FileLock.java (toString): Entirely avoid
741 2005-05-04 Andrew Overholt <overholt@redhat.com>
743 * java/nio/channels/FileLock.java (toString): Re-implement using
746 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
748 * java/awt/ImageCapabilities.java: Document.
750 * java/awt/image/VolatileImage.java: Unindent copyright header.
752 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
754 * java/awt/image/VolatileImage.java: Document.
756 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
759 (init_glib_threads): Check if threading system is already
762 2005-05-03 Andrew Overholt <overholt@redhat.com>
765 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
766 could not be acquired.
767 * java/nio/channels/FileLock.java (toString): Re-implement to be
768 in line with other implementations.
770 2005-05-03 Tom Tromey <tromey@redhat.com>
772 * java/lang/VMSecurityManager.java (currentClassLoader): Use
773 'systemClasssLoader' directly.
775 2005-05-03 Tom Tromey <tromey@redhat.com>
777 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
778 call VMClassLoader.getSystemClassLoader.
780 2005-04-29 Michael Koch <konqueror@gmx.de>
782 * java/net/NetworkInterface.java
784 (NetworkInterface(String,InetAddress)): Made package-private.
785 (NetworkInterface(String,InetAddress[])): New constructor.
786 (getRealNetworkInterfaces): Removed.
787 (getByName): Use VMNetworkInterface.getInterfaces().
788 (getByInetAddress): Likewise.
789 (getNetworkInterfaces): Likewise.
790 * java/net/VMNetworkInterface.java,
791 java/net/natVMNetworkInterfaceNoNet.cc,
792 java/net/natVMNetworkInterfacePosix.c,c
793 java/net/natVMNetworkInterfaceWin32.cc: New files.
794 * java/net/natNetworkInterfaceNoNet.cc,
795 java/net/natNetworkInterfacePosix.cc,
796 java/net/natNetworkInterfaceWin32.cc: Removed.
799 * configure, Makefile.in: Regenerated.
801 2005-04-29 Andrew Haley <aph@redhat.com>
803 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
805 2005-04-29 Dalibor Topic <robilad@kaffe.org>
807 * java/nio/channels/FileChannelImpl.java
808 (FileChannelImpl(String, int)): Removed.
809 (FileChannelImpl(File, int)): Added. Check if opened file is a
811 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
812 Call FileChannelImpl(File, int).
813 * java/io/FileOutputStream.java (FileInputStream): Call
814 FileChannelImpl(File, int).
815 * java/io/RandomAccessFile.java (RandomAccessFile):
816 Call FileChannelImpl(File, int). Switched constructors around.
818 2005-04-27 Andrew Haley <aph@redhat.com>
821 * prims.cc (_Jv_ResolvePoolEntry): New function.
822 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
823 * link.cc (_Jv_Linker::find_field): New arg: found_class.
824 (resolve_pool_entry): Initialize the class in which a field is
826 (link_symbol_table): Pass new arg to found_class.
828 2005-04-29 Michael Koch <konqueror@gmx.de>
830 * java/nio/charset/Charset.java
831 (provider): Reformatted.
833 2005-04-29 Michael Koch <konqueror@gmx.de>
835 * gnu/java/net/protocol/http/HTTPConnection.java:
836 (userAgent): Initialize from system properties.
837 (initUserAgent): Removed.
839 2005-04-29 Mark Wielaard <mark@klomp.org>
841 * java/util/ResourceBundle.java (getObject): Clarify
842 MissingResourceException detailed message.
843 (tryBundle(String,ClassLoader)): Likewise.
845 2005-04-29 Robert Schuster <thebohemian@gmx.net>
847 * java/beans/FeatureDescriptor.java:
848 (getShortDescription): Implemented fallback mechanism and fixed
849 documentation (fixes bug #12637).
850 (getDisplayName): Dito.
852 2005-04-29 Robert Schuster <thebohemian@gmx.net>
854 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
855 will now be set correctly.
856 (flushCaches): Now flushes all cached intermediate data.
858 2005-04-28 Michael Koch <konqueror@gmx.de>
860 * java/net/InetAddress.java
861 (aton): Fixed javadoc.
864 2005-04-28 Tom Tromey <tromey@redhat.com>
866 * javax/swing/Timer.java
867 (drainEvents, queueEvent): Now package-private.
869 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
871 * javax/swing/Timer.java
872 (constructor): Assigning initialDelay.
874 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
876 * javax/swing/Timer.java
877 (Waker.run): firing the first action event.
879 2005-04-28 Michael Koch <konqueror@gmx.de>
881 * javax/swing/Timer.java: Reordered all fields and methods,
884 2005-04-28 Michael Koch <konqueror@gmx.de>
886 * javax/swing/Timer.java: Javadocs merged
889 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
891 * gnu/java/net/protocol/file/Connection.java
892 (StaticData): New inner class to contain statics.
893 (connect, getHeaderField): Modified to use StaticData.
895 2005-04-28 Michael Koch <konqueror@gmx.de>
897 * gnu/java/net/protocol/file/Connection.java
898 (lineSeparator): Initialize with SystemProperties.getProperty().
900 2005-04-27 Chris Burdess <dog@gnu.org>
902 * gnu/java/net/protocol/file/Connection.java: Return correct content
903 length for directory listing.
904 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
905 #11285: return valid URLs for directories.i
907 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
909 * Makefile.am (ordinary_java_source_files): Add
910 gnu/java/net/protocol/https/Handler.java.
911 * Makefile.in: Regenerate.
912 * java/net/URL.java: Remove org.metastatic.jessie from default
913 protocol search path.
915 2005-04-27 Chris Burdess <dog@gnu.org>
917 * gnu/java/net/protocol/https/Handler.java: New file.
919 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
921 * javax/imageio/spi/IIORegistry.java (IIORegistry):
922 Don't assume that awt Toolkit is always ClasspathToolkit.
924 2005-04-27 Chris Burdess <dog@gnu.org>
926 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
927 absolute and relative paths in Location header.
929 2005-04-27 Chris Burdess <dog@gnu.org>
931 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
932 FileNotFoundException and implement getErrorStream on 404.
934 2005-04-27 Sven de Marothy <sven@physto.se>
936 * java/util/TimeZone.java,
937 (getDefaultDisplayName): Fix previous fix.
939 2005-04-27 Sven de Marothy <sven@physto.se>
941 * java/util/TimeZone.java,
942 (getDefaultDisplayName): Don't print zero offsets.
944 2005-04-27 Roman Kennke <roman@kennke.org>
946 * javax/swing/plaf/basic/BasicScrollBarUI
947 (getThumbBounds): Do not make thumb smaller than
949 * javax/swing/plaf/metal/MetalLookAndFeel
950 (initComponentDefaults): Added color defaults for ScrollBar.
951 * javax/swing/plaf/metal/MetalScrollBarUI
953 (getMinimumThumbSize): Added.
955 2005-04-27 Roman Kennke <roman@kennke.org>
957 * javax/swing/plaf/metal/MetalLookAndFeel
958 (initComponentDefaults): Added some default colors.
960 2005-04-27 Roman Kennke <roman@kennke.org>
962 * javax/swing/plaf/basic/BasicScrollBarUI.java
963 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
964 to 'ScrollBar.thumbShadow'. The formes does not exist.
965 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
967 2005-04-27 Roman Kennke <roman@kennke.org>
969 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
970 * javax/swing/BoxLayout.java: Likewise.
971 * javax/swing/UIManager.java: Likewise.
972 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
973 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
974 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
975 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
976 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
977 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
978 * javax/swing/text/Document.java: Likewise.
979 * javax/swing/text/GapContent.java: Likewise.
980 * javax/swing/text/SimpleAttributeSet.java: Likewise.
981 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
983 2005-04-27 Roman Kennke <roman@kennke.org>
985 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
986 (getPropertyPrefix): Added.
988 2005-04-27 Roman Kennke <roman@kennke.org>
990 * javax/swing/plaf/basic/BasicButtonUI.java
991 (getPropertyPrefix): Added.
992 (installDefaults): Use getPropertyPrefix instead of hard-coded
995 2005-04-27 Roman Kennke <roman@kennke.org>
997 * javax/swing/JToggleButton.java
998 (JToggleButton): Removed horizontalAlignment setting, this
999 was wrong. Added setting of an actionCommand, ToggleButtons
1000 have "" as default actionCommand.
1002 2005-04-27 Michael Koch <konqueror@gmx.de>
1004 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1005 to work around CNI limitation.
1007 2005-04-27 Sven de Marothy <sven@physto.se>
1009 * java/nio/charset/Charset.java:
1010 (defaultCharset()): New method.
1011 Status updated to 1.5
1013 2005-04-27 Sven de Marothy <sven@physto.se>
1015 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1017 2005-04-27 Sven de Marothy <sven@physto.se>
1019 * java/nio/charset/Charset.java: Reset cached de/encoders.
1021 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1023 * java/nio/charset/Charset.java (forName): Throws
1024 IllegalArgumentException when argument is null
1025 and added documentation.
1027 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1029 * java/nio/charset/Charset.java (providers):
1030 New method to make an array of CharsetProviders defined in
1031 META-INF/services/java.nio.charset.spi.CharsetProvider.
1032 (charsetForName, availableCharsets): Use the
1033 new method providers().
1035 2005-04-26 Michael Koch <konqueror@gmx.de>
1037 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1038 Fixed typos in javadocs.
1039 (isSiteLocalAddress): Fixed handling of byte values.
1040 (isMCLinkLocal): Likewise.
1041 * java/net/Inet4Address.java
1042 (isMulticastAddress): Call super method.
1043 (isLoopbackAddress): Likewise.
1044 (isAnyLocalAddress): Likewise.
1045 (isLinkLocalAddress): Likewise.
1046 (isSiteLocalAddress): Likewise.
1047 (isMCGlobal): Likewise.
1048 (isMCNodeLocal): Likewise.
1049 (isMCLinkLocal): Likewise.
1050 (isMCSiteLocal): Likewise.
1051 (isMCOrgLocal): Likewise.
1052 (getHostAddress): Likewise.
1054 2005-04-26 Sven de Marothy <sven@physto.se>
1056 * java/net/InetAddress.java
1057 (toString): Don't print empty hostnames.
1059 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1062 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1063 'false' to native lock().
1064 (lock): Pass 'true' to native lock().
1066 2005-04-26 Michael Koch <konqueror@gmx.de>
1068 * java/net/InetAddress.java:
1069 Fixed typos in javadocs.
1071 2005-04-26 Andrew Haley <aph@redhat.com>
1074 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1077 2005-04-26 Tom Tromey <tromey@redhat.com>
1079 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1080 gnu): Now package-private.
1081 * javax/swing/text/html/parser/DocumentParser.java (parser,
1082 callBack, gnu): Now package-private.
1083 * javax/swing/text/StringContent.java (content, setOffset,
1084 checkLocation): Now package-private.
1085 * javax/swing/text/JTextComponent.java (doc): Now
1087 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1088 lastGoodOrientation, origParent, borders, cachedBounds,
1089 cachedOrientation, DragWindow): Now package-private.
1090 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1091 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1092 tabAreaRect, contentRect, createIncreaseButton,
1093 createDecreaseButton, findPointForIndex): Now package-private.
1094 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1095 (currentDividerLocation, moveDividerTo): Now package-private.
1096 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1098 * javax/swing/plaf/basic/BasicScrollBarUI.java
1099 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1100 Now package-private.
1101 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1102 (topWindowListener): Now package-private.
1103 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1104 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1105 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1107 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1109 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1110 Now package-private.
1111 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1113 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1114 borderInsets): Now package-private.
1115 (arrowButtonWidth): Likewise. Now a constant.
1116 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1117 makeTabs, updatePreviewPanel): Now package-private.
1118 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1119 darkShadow, highlight): Now package-private.
1120 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1121 (addColorToQueue): Now package-private.
1122 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1123 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1124 GSpinner, BSpinner): Now package-private.
1125 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1126 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1127 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1128 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1129 updateTrack): Now package-private.
1130 * javax/swing/TransferHandler.java (clipboard): Now
1132 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1134 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1136 * javax/swing/RepaintManager.java (globalManager): Now
1138 * javax/swing/JFormattedTextField.java (editValid): Now
1140 * javax/swing/JColorChooser.java (makeModal): Now
1142 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1143 index, path): Now package-private.
1144 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1145 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1146 pointEquals): Now package-private.
1147 * java/awt/geom/Arc2D.java (type): Now package-private.
1148 * java/awt/Window.java (windowFocusOwner): Now package-private.
1149 * java/awt/TextComponent.java (editable, selectionStart,
1150 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1152 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1154 * java/awt/MenuComponent.java (focusListener): Now
1156 * java/awt/Frame.java (state): Now package-private.
1157 * java/awt/Choice.java (pItems): Now package-private.
1158 * java/awt/Checkbox.java (state): Now package-private.
1159 * java/awt/Button.java (actionCommand, label): Now
1161 * gnu/javax/swing/text/html/parser/support/Parser.java
1162 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1164 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1166 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1167 clip, transform, font, comp): Now package-private.
1169 2005-04-26 Tom Tromey <tromey@redhat.com>
1171 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1174 2005-04-26 Mark Wielaard <mark@klomp.org>
1176 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1177 to MalformedURLException.
1179 2005-04-26 Michael Koch <konqueror@gmx.de>
1181 * java/security/AccessControlContext.java:
1183 (protectedDomains): Renamed from 'protectionDomain'.
1184 * java/security/AccessController.java:
1187 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1189 * gnu/java/security/action/GetSecurityPropertyAction.java
1190 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1191 of extending GetPropertyAction.
1194 (setParamters): New methods.
1195 (GetSecurityPropertyAction): Use new setParameters methods.
1197 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1199 * java/security/Security.java,
1200 java/security/cert/X509CRLSelector.java,
1201 java/security/cert/X509CertSelector.java:
1202 Modified to use SystemProperties.
1204 2005-04-26 Michael Koch <konqueror@gmx.de>
1206 * java/lang/System.java
1207 (setSecurityManager): Fixed comment.
1208 (getSecurityManager): Removed obsolete comment.
1210 2005-04-25 Tom Tromey <tromey@redhat.com>
1212 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1214 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1217 (connectSignals): Realize the window widget after connecting
1220 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1222 * java/awt/GraphicsEnvironment.java
1223 (localGraphicsEnvironment): New field.
1224 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1226 (isHeadless): Added support for java.awt.headless property.
1227 (isHeadlessInstance): Call headless().
1229 2005-04-25 Roman Kennke <roman@kennke.org>
1231 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1232 (getDisplayMode): Added. Returns the current display mode.
1233 (isFullScreenSupported): Added.
1234 * java/awt/GraphicsDevice.java
1235 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1236 This resizes and relocates the fullscreen window so that it uses
1237 the whole screen. This is not a fully accelerated fullscreen
1240 2005-04-25 Michael Koch <konqueror@gmx.de>
1242 * java/lang/Runtime.java,
1243 java/lang/SecurityManager.java,
1244 java/lang/System.java,
1245 java/lang/ThreadGroup.java:
1246 Replaced java.lang.Runtime.securityManager by
1247 java.lang.SecurityManager.current (as used in GNU classpath).
1249 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1251 * java/awt/Transparency.java
1252 (getTransparency): fixed API docs.
1254 2005-04-25 Archie Cobbs <archie@dellroad.org>
1256 * java/lang/Throwable.java: simplify initializing cause in constructor
1258 2005-04-25 Michael Koch <konqueror@gmx.de>
1260 * gnu/classpath/SystemProperties.java: New file.
1261 * gnu/classpath/natSystemProperties.cc: New file.
1262 * java/lang/Runtime.java
1263 (defaultProperties): Removed.
1265 (): Made thrown exceptions more verbose.
1266 (insertSystemProperties): Removed.
1267 * java/lang/System.java
1269 (properties): Likewise.
1270 (setSecurityManager): Reordered modifiers.
1271 (getenv): Improved javadoc.
1273 (isWordsBigEndian): Removed.
1274 * java/lang/natRuntime.cc
1275 (_Jv_SetDLLSearchPath): Likewise.
1276 (file_encoding): Likewise.
1277 (default_file_encoding): Likewise.
1278 (getpwuid_adaptor): Likewise.
1279 (insertSystemProperties): Likewise.
1280 * java/lang/natSystem.cc
1281 (isWordsBigEndian): Likewise.
1283 (ordinary_java_source_files):
1284 Added gnu/classpath/SystemProperties.java.
1285 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1286 * Makefile.in: Regenerated.
1288 2005-04-25 Roman Kennke <roman@kennke.org>
1290 * javax/swing/plaf/basic/BasicScrollBarUI.java
1291 (initDefaults): Initialize thumb*Color fields correctly.
1293 2005-04-25 Roman Kennke <roman@kennke.org>
1295 * javax/swing/text/GapContent.java:
1298 2005-04-25 Roman Kennke <roman@kennke.org>
1300 * javax/swing/plaf/metal/MetalBorders.java:
1301 Added inner class ScrollPaneBorder.
1302 * javax/swing/plaf/metal/MetalLookAndFeel.java
1303 (initComponentDefaults): Added default for "ScrollPane.border"
1304 to use the new ScrollPaneBorder.
1306 2005-04-25 Roman Kennke <roman@kennke.org>
1308 * javax/swing/text/AbstractDocument.java:
1309 Added FIXME comments. This class still has to be
1310 implemented thread-safe.
1312 2005-04-25 Roman Kennke <roman@kennke.org>
1314 * javax/swing/tree/DefaultTreeSelectionModel.java
1315 (DefaultTreeSelectionModel): Initialize listenerList here.
1317 2005-04-25 Roman Kennke <roman@kennke.org>
1319 * javax/swing/plaf/metal/MetalTextFieldUI.java
1320 (createUI): Return one instance per Component instead of a
1323 2005-04-25 Roman Kennke <roman@kennke.org>
1325 * javax/swing/text/Document.java:
1326 Added API documentation comments.
1328 2005-04-25 Roman Kennke <roman@kennke.org>
1330 * javax/swing/text/AbstractDocument.java
1331 (getDocumentProperties): Implemented.
1332 (setDocumentProperties): Implemented.
1333 (getProperty): Implemented.
1334 (putProperty): Implemented.
1336 2005-04-25 Roman Kennke <roman@kennke.org>
1338 * javax/swing/BoxLayout
1339 (preferredLayoutSize): Fixed computation so that it correctly
1340 adds the top and bottom insets of the container.
1342 2005-04-25 Roman Kennke <roman@kennke.org>
1344 * javax/swing/plaf/basic/BasicMenuItemUI.java
1345 (paintText): Make use of the 'selectionForeground' UI default
1348 2005-04-25 Roman Kennke <roman@kennke.org>
1350 * javax/swing/plaf/basic/BasicLookAndFeel.java
1351 (initSystemColorDefaults): Modified colors to match the
1352 BasicLookAndFeel in the reference implementation.
1353 (initComponentDefaults): Likewise.
1355 2005-04-25 Tom Tromey <tromey@redhat.com>
1357 * include/jni.h (_Jv_va_list): Removed.
1358 Moved configuration code...
1359 * include/jni_md.h: ... here. New file.
1360 * include/Makefile.in: Rebuilt.
1361 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1363 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1365 * java/io/FileInputStream.java (FileInputStream(File)),
1366 java/io/FileOutputStream.java (FileOutputStream(File)):
1367 Removed unnecessary File.isDirectory() check.
1369 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1371 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1372 gij if get_multilibs fails.
1374 2005-04-22 Anthony Green <green@redhat.com>
1376 * jni.cc (natrehash): Don't bother clearing memory again.
1377 * interpret.cc (do_allocate_static_fields): Ditto.
1378 * java/lang/natString.cc (rehash): Ditto.
1380 2005-04-22 Roman Kennke <roman@kennke.org>
1382 * javax/swing/plaf/basic/BasicLookAndFeel.java
1383 (initComponentDefaults): Changed Button.border to be
1384 BasicBorders.getButtonBorder as it should be.
1386 2005-04-22 Roman Kennke <roman@kennke.org>
1388 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1389 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1390 should according to a mauve testcase, instead of the preferred
1393 2005-04-22 Roman Kennke <roman@kennke.org>
1395 * javax/swing/JMenu.java
1396 (add): add(Component) now calls PopupMenu.insert(..) instead of
1397 PopupMenu.add(..). add(..) is not implemented for Component,
1398 so JComponent.add(..) is called instead, adding the component
1401 2005-04-22 Roman Kennke <roman@kennke.org>
1403 * javax/swing/plaf/basic/BasicButtonListener.java
1404 (mousePressed): replaced query to getModifiersEx with getModifiers.
1405 This method relied on faulty behaviour in getModifierEx.
1406 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1407 This method relied on faulty behaviour in getModifierEx.
1409 2005-04-22 Roman Kennke <roman@kennke.org>
1411 * javax/swing/plaf/metal/MetalLookAndFeel.java
1412 (getDefaults): Call addCustomEntriesToTable on the theme.
1414 2005-04-22 Roman Kennke <roman@kennke.org>
1416 * javax/swing/tree/DefaultTreeSelectionModel.java
1417 (constructor): Added implementation.
1418 (getRowMapper): Added implementation.
1419 (setSelectionMode): Added implementation.
1420 (getSelectionMode): Added implementation.
1421 (getSelectionPath): Added implementation.
1422 (getSelectionPaths): Added implementation.
1423 (getSelectionCount): Added implementation.
1424 (isSelectionEmpty): Added implementation.
1425 (getSelectionRows): Added implementation.
1426 (getMinSelectionRow): Added implementation.
1427 (getMaxSelectionRow): Added implementation.
1428 (getLeadSelectionRow): Added implementation.
1429 (getLeadSelectionPath): Added implementation.
1431 2005-04-22 Casey Marshall <csm@gnu.org>
1433 * gnu/java/security/der/DERValue.java
1434 (getValueAs): new method.
1435 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1436 (<init>): read both dates with 'DERValue.getValueAs', with
1437 'GENERALIZED_TIME' as the argument.
1439 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1441 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1442 be null, check for that case and don't deference it.
1444 2005-04-22 Sven de Marothy <sven@physto.se>
1446 * java/util/logging/LogManager.java: Reformatted.
1447 (readConfiguration): If a logger for a key is not found, create one.
1449 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1451 * java/rmi/Naming.java:
1452 Added class documentation.
1453 (lookup(String)): Call parseURL and getName.
1454 (bind(String,java.rmi.Remote)): Likewise.
1455 (unbind(String)): Likewise.
1456 (rebind(String, java.rmi.Remote)): Likewise.
1457 (list(String)): Call parseURL.
1458 (parseURL(String)): New method to handle parsing and defaults.
1459 (getName(java.net.URL)): New method to handle finding the service name.
1461 2005-04-21 Tom Tromey <tromey@redhat.com>
1463 * java/lang/natClass.cc (initializeClass): Link class.
1465 2005-04-21 Tom Tromey <tromey@redhat.com>
1467 * java/lang/AssertionError.java: Typo fix.
1469 2005-04-21 Tom Tromey <tromey@redhat.com>
1471 * java/lang/VMClassLoader.java (transformException): Removed.
1472 (resolveClass): No longer native. Now does nothing.
1473 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1475 2005-04-21 Anthony Green <green@redhat.com>
1478 * testsuite/libjava.special/special.exp,
1479 testsuite/libjava.special/pr21115I.java,
1480 testsuite/libjava.special/pr21115.java,
1481 testsuite/libjava.special/pr21115.out: New files.
1483 2005-04-21 Chris Burdess <dog@gnu.org>
1485 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1486 CRLF-delimited chunks.
1488 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1490 * java/net/URI.java:
1491 Added class documentation.
1492 (parseURI(String)): Only handle scheme-specific parts
1493 if URI is not opaque. Allow for parts that can't be null.
1494 (toString()): Output the scheme-specific part whole, rather
1495 than as its possibly non-existent components.
1497 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1499 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1500 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1501 Adjusted to match new regexp.
1503 2005-04-20 Michael Koch <konqueror@gmx.de>
1505 * gnu/java/net/protocol/file/Connection.java,
1506 gnu/java/net/protocol/jar/Connection.java:
1507 Reorganized import statements. Fixed @author tags.
1509 2005-04-20 Chris Burdess <dog@gnu.org>
1511 * java/io/DataOutputStream.java (writeUTF): Use block write for
1514 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1516 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1517 (readLine): Changed newline handling.
1519 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1521 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1522 ColorModel,byte[],int,int): Fixed byte to int conversion.
1524 2005-04-20 Michael Koch <konqueror@gmx.de>
1526 * java/io/FilePermission.java
1527 (serialVersionUID): Made private.
1528 (ALL_FILES): New constant.
1529 (implies): Handle '<<ALL FILES>>' case.
1531 2005-04-20 Sven de Marothy <sven@physto.se>
1533 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1534 (drawImage): Don't notify the image observer for offscreen images.
1535 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1536 (setPixels): Don't notify the image observer.
1538 2005-04-20 Sven de Marothy <sven@physto.se>
1540 * java/nio/ByteBufferImpl.java:
1541 (putChar): Inlined for speed.
1542 (put, get): Bulk methods can use arraycopy.
1543 * java/nio/CharBufferImpl.java:
1544 (put, get): Bulk methods can use arraycopy.
1546 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1548 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1550 * java/nio/CharBufferImpl.java
1551 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1552 (get(), put(char)): Inlined checks and field updates. Fixed to
1553 take array_offset into account.
1554 (get(int), put(int, char)): Fixed to take array_offset into account.
1556 2005-04-20 Sven de Marothy <sven@physto.se>
1558 * java/text/SimpleDateFormat.java:
1559 (formatWithAttribute): Pad year before truncating digits.
1561 2005-04-20 Michael Koch <konqueror@gmx.de>
1563 * gnu/java/net/PlainDatagramSocketImpl.java:
1564 Merged copyright header.
1565 * gnu/java/net/PlainSocketImpl.java:
1566 Reorganized import statements. Fixed @author tags.
1568 2005-04-20 Michael Koch <konqueror@gmx.de>
1570 * gnu/java/lang/ClassHelper.java,
1571 gnu/java/lang/reflect/TypeSignature.java:
1574 2005-04-20 Michael Koch <konqueror@gmx.de>
1576 * gnu/java/beans/IntrospectionIncubator.java:
1577 Fixed HTML tags in javadocs.
1579 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1581 * gnu/java/beans/IntrospectionIncubator.java
1582 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1583 set(), is(), add() and remove() with properties or events.
1585 2005-04-20 Michael Koch <konqueror@gmx.de>
1587 * gnu/java/awt/image/XBMDecoder.java:
1588 Fixed modifier order.
1590 2005-04-20 Roman Kennke <roman@kennke.org>
1592 * javax/swing/plaf/basic/BasicButtonUI.java
1593 (paint): This should not care about margin and insets
1594 at the same time, as insets already include the margin
1596 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1597 (getPreferredButtonSize): Likewise.
1598 * javax/swing/plaf/metal/MetalBorders.java
1599 (getBorderInsets): Likewise.
1601 2005-04-20 Roman Kennke <roman@kennke.org>
1603 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1604 (createMessageArea): The JPanel that holds the message area
1605 doesn't need to override getPreferredSize. This prevents some
1606 message components from rendering nicely.
1608 2005-04-20 Roman Kennke <roman@kennke.org>
1610 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1611 (createUI): Do not share instances between components.
1612 * javax/swing/plaf/metal/MetalSliderUI.java
1613 (createUI): Do not share instances between components.
1615 2005-04-20 Roman Kennke <roman@kennke.org>
1617 * javax/swing/plaf/metal/MetalBorders:
1618 (PopupMenuBorder): Added.
1619 * javax/swing/plaf/metal/MetalLookAndFeel
1620 (initComponentDefaults): Added PopupMenuBorder.
1622 2005-04-20 Roman Kennke <roman@kennke.org>
1624 * javax/swing/tree/DefaultTreeSelectionModel.java:
1625 Added API documentation all over the class.
1627 2005-04-20 Roman Kennke <roman@kennke.org>
1629 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1630 (installDefaults): Link managed JScrollPane in instance field.
1631 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1633 2005-04-20 Roman Kennke <roman@kennke.org>
1635 * javax/swing/plaf/basic/BasicScrollBarUI.java
1636 (PropertyChangeHandler.propertyChange): Add default
1637 to switch statement to avoid errors with unusual values
1639 (installComponents): Likewise.
1641 2005-04-20 Roman Kennke <roman@kennke.org>
1643 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1644 (createUI): Instances cannot be shared among JScrollPanes.
1646 2005-04-20 Roman Kennke <roman@kennke.org>
1648 * javax/swing/plaf/metal/MetalLookAndFeel.java
1649 (initComponentDefaults): Added defaults for Menu, MenuBar
1652 2005-04-20 Roman Kennke <roman@kennke.org>
1654 * javax/swing/plaf/basic/BasicScrollBarUI.java
1655 (installUI): Install listeners after everything all, otherwise
1656 we get strange NPEs in some situations, especially with
1658 (createIncreaseButton): Orientation is expected to be
1659 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1660 HORIZONTAL or VERTICAL.
1661 (createDecreaseButton): Orientation is expected to be
1662 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1663 HORIZONTAL or VERTICAL.
1664 (installComponents): Orientation for buttons is expected to be
1665 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1666 HORIZONTAL or VERTICAL.
1668 2005-04-20 Roman Kennke <roman@kennke.org>
1670 * javax/swing/JToolBar.java
1671 (addImpl): Adjust added AbstractButtons to look and feel like
1673 * javax/swing/plaf/metal/MetalBorders.java:
1674 Adjusted insets of ButtonBorder.
1675 (RolloverMarginBorder): Added class for toolbar buttons.
1676 (getButtonBorder): Adjusted factory method to return a shared
1677 instance of button border.
1678 (getToolbarButtonBorder): Added factory method to return a shared
1679 instance of toolbar button border.
1680 (getMarginBorder): Added factory method to return a shared
1681 instance of margin border.
1682 * javax/swing/plaf/metal/MetalButtonUI.java
1683 (installDefauls): If button is child of a JToolBar then set
1684 special border on this button.
1686 2005-04-20 Michael Koch <konqueror@gmx.de>
1688 * java/net/URLConnection.java
1689 (getContent): Fixed javadoc comment.
1691 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1693 * java/net/URL.java:
1694 (toURI()): Implemented.
1696 2005-04-19 Michael Koch <konqueror@gmx.de>
1698 * java/net/InetAddress.java
1699 (InetAddress): Fixed javadoc comment.
1701 (lookup): Added javadoc.
1702 (getFamily): Likewise.
1703 * java/net/ServerSocket.java
1704 (getChannel): Improved javadoc comment.
1706 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1708 * gnu/xml/dom/html2/DomHTMLParser.java:
1709 Changed 'enum' references to become 'enumeration'.
1711 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1713 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1715 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1717 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1718 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1719 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1720 (validateParameters(TagElement,htmlAttributeSet)):
1721 Replaced 'enum' with 'enumeration'.
1722 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1725 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1727 * javax/swing/text/html/parser/Entity.java (getType): New method.
1728 * javax/swing/text/html/parser/DocumentParser.java:
1729 Inherit from javax.swing.text.html.parser.Parser.
1731 2005-04-19 Chris Burdess <dog@gnu.org>
1733 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1734 check for HTML/XHTML namespace.
1736 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1738 * javax/swing/text/html/parser/Parser.java,
1739 javax/swing/text/html/parser/Entity.java:
1740 Inheriting from DTDConstants.
1741 * javax/swing/text/html/parser/AttributeList.java
1742 (getValues): Changed return type.
1743 * javax/swing/text/html/parser/DocumentParser
1744 (parse): Adding the callback parameter that receives
1747 2005-04-19 Chris Burdess <dog@gnu.org>
1749 * gnu/xml/dom/DomImpl.java,
1750 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1751 gnu/xml/dom/html2/DomHTMLDocument.java,
1752 gnu/xml/dom/html2/DomHTMLElement.java,
1753 gnu/xml/dom/html2/DomHTMLFormElement.java,
1754 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1755 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1756 gnu/xml/dom/html2/DomHTMLImpl.java,
1757 gnu/xml/dom/html2/DomHTMLInputElement.java,
1758 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1759 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1760 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1761 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1762 gnu/xml/dom/html2/DomHTMLTableElement.java,
1763 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1764 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1765 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1766 UI events, and tree utility functions.
1768 2005-04-19 Michael Koch <konqueror@gmx.de>
1770 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1771 gnu/javax/swing/text/html/parser/gnuDTD.java,
1772 gnu/javax/swing/text/html/parser/models/node.java:
1773 Reworked import statements.
1775 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1777 * javax/swing/text/html/HTMLDocument.java: New file.
1779 2005-04-19 Michael Koch <konqueror@gmx.de>
1781 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1783 * javax/swing/text/html/parser/AttributeList.java:
1784 Fixed order of modifiers.
1785 (AttributeList): Made final.
1786 * javax/swing/text/html/parser/ContentModel.java:
1787 Fixed html characters in javadocs.
1788 * javax/swing/text/html/parser/DTD.java
1789 (DTD): Don't implement java.io.Serializable directly.
1790 (getElement): Simplified.
1791 * javax/swing/text/html/parser/DTDConstants.java:
1793 * javax/swing/text/html/parser/Element.java:
1794 Fixed order of modifiers.
1795 * javax/swing/text/html/parser/Parser.java:
1796 Reformatted. Don't use fully-qualified class names.
1797 * javax/swing/text/html/parser/ParserDelegator.java:
1798 Fixed order of modifiers.
1799 * javax/swing/text/rtf/RTFParser.java:
1800 Re-ordered import statements.
1801 * javax/swing/text/rtf/RTFScanner.java:
1802 Removed unused import statement.
1804 2005-04-19 Chris Burdess <dog@gnu.org>
1806 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1807 gnu/xml/dom/html2/DomHTMLCollection.java,
1808 gnu/xml/dom/html2/DomHTMLDocument.java,
1809 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1811 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1812 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1813 gnu/xml/dom/html2/DomHTMLDivElement.java,
1814 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1815 gnu/xml/dom/html2/DomHTMLFontElement.java,
1816 gnu/xml/dom/html2/DomHTMLFormElement.java,
1817 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1818 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1819 gnu/xml/dom/html2/DomHTMLHRElement.java,
1820 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1821 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1822 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1823 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1824 gnu/xml/dom/html2/DomHTMLImageElement.java,
1825 gnu/xml/dom/html2/DomHTMLInputElement.java,
1826 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1827 gnu/xml/dom/html2/DomHTMLLIElement.java,
1828 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1829 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1830 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1831 gnu/xml/dom/html2/DomHTMLMapElement.java,
1832 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1833 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1834 gnu/xml/dom/html2/DomHTMLModElement.java,
1835 gnu/xml/dom/html2/DomHTMLOListElement.java,
1836 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1837 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1838 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1839 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1840 gnu/xml/dom/html2/DomHTMLParamElement.java,
1841 gnu/xml/dom/html2/DomHTMLPreElement.java,
1842 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1843 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1844 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1845 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1846 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1847 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1848 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1849 gnu/xml/dom/html2/DomHTMLTableElement.java,
1850 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1851 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1852 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1853 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1854 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1856 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1858 * javax/swing/text/ChangedCharSetException.java,
1859 javax/swing/text/html/HTMLEditorKit.java,
1860 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1861 javax/swing/text/html/parser/AttributeList.java,
1862 javax/swing/text/html/parser/ContentModel.java,
1863 javax/swing/text/html/parser/DocumentParser.java,
1864 javax/swing/text/html/parser/DTD.java,
1865 javax/swing/text/html/parser/DTDConstants.java,
1866 javax/swing/text/html/parser/Element.java,
1867 javax/swing/text/html/parser/Entity.java,
1868 javax/swing/text/html/parser/Parser.java,
1869 javax/swing/text/html/parser/TagElement.java,
1870 gnu/javax/swing/text/html/package.html,
1871 gnu/javax/swing/text/html/parser/gnuDTD.java,
1872 gnu/javax/swing/text/html/parser/HTML_401F.java,
1873 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1874 gnu/javax/swing/text/html/parser/htmlValidator.java,
1875 gnu/javax/swing/text/html/parser/package.html,
1876 gnu/javax/swing/text/html/parser/models/list.java,
1877 gnu/javax/swing/text/html/parser/models/node.java,
1878 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1879 gnu/javax/swing/text/html/parser/models/package.html,
1880 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1881 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1882 gnu/javax/swing/text/html/parser/models/transformer.java,
1883 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1884 gnu/javax/swing/text/html/parser/support/package.html,
1885 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1886 gnu/javax/swing/text/html/parser/support/Parser.java,
1887 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1888 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1889 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1890 gnu/javax/swing/text/html/parser/support/low/Location.java,
1891 gnu/javax/swing/text/html/parser/support/low/node.java,
1892 gnu/javax/swing/text/html/parser/support/low/package.html,
1893 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1894 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1895 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1896 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1898 * javax/swing/text/html/HTML.java,
1899 javax/swing/text/html/parser/ParserDelegator.java:
1900 New files (replacing).
1901 * javax/swing/text/html/package.html,
1902 javax/swing/text/html/parser/package.html: Documenting the
1905 2005-04-19 Chris Burdess <dog@gnu.org>
1907 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1908 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1909 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1910 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1911 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1912 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1913 gnu/xml/dom/html2/DomHTMLBRElement.java,
1914 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1915 gnu/xml/dom/html2/DomHTMLCollection.java,
1916 gnu/xml/dom/html2/DomHTMLDocument.java,
1917 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1919 2005-04-19 Michael Koch <konqueror@gmx.de>
1921 * Makefile.am: Added new files.
1922 * Makefile.in: Regenerated.
1924 2005-04-19 Roman Kennke <roman@kennke.org>
1926 * javax/swing/text/JTextComponent.java
1927 (JTextComponent): Added repaintListener which issues repaint
1928 requests when the underlying document changes.
1929 (setDocument): Adds repaintListener to document when the
1930 document is changed.
1931 * javax/swing/text/DefaultEditorKit.java:
1932 Removed repaint calls on JTextComponent. This is now handled
1933 through a DocumentListener in JTextComponent that repaints
1934 the component when needed.
1936 2005-04-19 Roman Kennke <roman@kennke.org>
1939 * javax/swing/text/StyleContext.java
1940 (NamedStyle.setResolveParent): Added null
1943 2005-04-19 Michael Koch <konqueror@gmx.de>
1945 * java/rmi/server/RemoteObject.java:
1946 Removed unused import statement.
1948 2005-04-19 Michael Koch <konqueror@gmx.de>
1950 * java/net/URL.java: Formatting cleanups.
1952 2005-04-19 Michael Koch <konqueror@gmx.de>
1954 * java/awt/FontMetrics.java: Reformatted.
1955 (getFontRenderContext): Handle case when java.awt.Graphics context is
1958 2005-04-19 Michael Koch <konqueror@gmx.de>
1960 * java/awt/FontMetrics.java
1961 (getStringBounds): New methods.
1964 2005-04-19 Michael Koch <konqueror@gmx.de>
1966 * gnu/java/security/x509/X509Certificate.java
1967 (parse): Handle val == null case.
1969 2005-04-19 Roman Kennke <roman@kennke.org>
1971 * javax/swing/plaf/metal/MetalLookAndFeel.java
1972 (initComponentDefaults): Added defaults for Menu, MenuBar
1975 2005-04-19 Roman Kennke <roman@kennke.org>
1977 * javax/swing/plaf/metal/MetalLookAndFeel.java
1978 (initComponentDefaults): Added Label.font.
1979 (initSystemColorDefaults): Added this method and adjusted the
1980 general control color.
1982 2005-04-19 Roman Kennke <roman@kennke.org>
1984 * javax/swing/plaf/metal/MetalBorders.java:
1986 * javax/swing/plaf/metal/MetalButtonUI.java:
1987 (installDefaults): Install button font.
1988 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1989 (initComponentDefaults): Added button border, font and margin.
1990 Changed components background color to the Metal current themes
1993 2005-04-19 Roman Kennke <roman@kennke.org>
1995 * javax/swing/plaf/metal/MetalLookAndFeel.java
1996 (initComponentDefaults): Added to set Metal specific component
1999 2005-04-19 Mark Wielaard <mark@klomp.org>
2001 * javax/swing/plaf/metal/MetalLookAndFeel.java
2002 (initClassDefaults): Call super.initClassDefaults().
2004 2005-04-19 Roman Kennke <roman@kennke.org>
2006 * javax/swing/plaf/metal/MetalLookAndFeel.java
2007 (initClassDefaults): Added to include the *UI classes.
2009 2005-04-19 Roman Kennke <roman@kennke.org>
2011 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2013 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2015 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2017 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2019 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2021 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2023 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2025 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2027 * javax/swing/plaf/metal/MetalSliderUI.java:
2029 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2031 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2033 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2035 2005-04-19 Roman Kennke <roman@kennke.org>
2037 * javax/swing/plaf/metal/MetalButtonUI.java:
2038 Added skeleton class.
2039 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2040 Added skeleton class.
2041 * javax/swing/plaf/metal/MetalLabelUI.java:
2042 Added skeleton class.
2043 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2044 Added skeleton class.
2045 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2046 Added skeleton class.
2047 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2048 Added skeleton class.
2050 2005-04-19 Roman Kennke <roman@kennke.org>
2052 * javax/swing/UIDefaults.java:
2053 Added API documentation for all methods.
2055 2005-04-19 Roman Kennke <roman@kennke.org>
2057 * javax/swing/UIDefaults.java
2058 (put): Now uses new checkAndPut method instead of checking
2060 (putDefaults): Fixed so that it accepts null-values and
2061 treats them like remove(key).
2062 (checkAndPut): Added. This checks for null-values and calls
2065 2005-04-19 Michael Koch <konqueror@gmx.de>
2067 * Makefile.am: Added new files.
2068 * Makefile.in: Regenerated.
2070 2005-04-19 Mark Wielaard <mark@klomp.org>
2072 * java/lang/natRuntime.cc (insertSystemProperties): Set
2073 java.class.path to CLASSPATH only when not empty. Fall back to
2074 default path "." when java.class.path is empty.
2076 2005-04-19 Michael Koch <konqueror@gmx.de>
2078 * javax/swing/text/rtf/ControlWordToken.java,
2079 javax/swing/text/rtf/RTFEditorKit.java,
2080 javax/swing/text/rtf/RTFParseException.java,
2081 javax/swing/text/rtf/RTFParser.java,
2082 javax/swing/text/rtf/RTFScanner.java,
2083 javax/swing/text/rtf/TextToken.java,
2084 javax/swing/text/rtf/Token.java: New files.
2085 * Makefile.am: Added new files.
2086 * Makefile.in: Regenerated.
2088 2005-04-19 Michael Koch <konqueror@gmx.de>
2090 * java/awt/geom/QuadCurve2D.java:
2091 Fixed Brian Gough's name for real.
2093 2005-04-19 Roman Kennke <roman@kennke.org>
2095 * javax/swing/UIManager.java:
2096 Make the UIManager respect the swing.defaultlaf system
2099 2005-04-19 Tom Tromey <tromey@redhat.com>
2101 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2104 2005-04-19 Roman Kennke <roman@kennke.org>
2106 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2107 Fixed tabs to spaces.
2109 2005-04-19 Roman Kennke <roman@kennke.org>
2111 * javax/swing/plaf/basic/BasicMenuUI.java
2112 (getMaximumSize): Now returns preferredSize because JMenu should
2113 never be bigger than that.
2114 * javax/swing/JRootPane
2115 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2117 2005-04-19 Roman Kennke <roman@kennke.org>
2119 * javax/swing/JRootPane.java:
2120 Fixed various tabs to be spaces.
2121 (RootLayout.layoutContainer): Made menubar left aligned.
2123 2005-04-19 Roman Kennke <roman@ontographics.com>
2125 * javax/swing/JList.java
2126 (getPreferredScrollableViewportSize):
2127 The previous implementation was merely guessing the size,
2128 now it respects layoutOrientation, visibleRowCount
2130 (getScrollableTracksViewportHeight):
2131 Reimplemented so that layoutOrientation, visibleRowCount
2132 and preferred size are respected.
2133 (getScrollableTracksViewportWidth):
2134 Reimplemented so that layoutOrientation, visibleRowCount
2135 and preferred size are respected.
2136 * javax/swing/plaf/basic/BasicListUI.java
2138 Improved calculation of preferredSize when JList is
2139 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2141 The previous implementation assumed a layoutOrientation of
2142 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2143 JList.VERTICAL_WRAP.
2145 2005-04-19 Roman Kennke <roman@ontographics.com>
2147 * javax/swing/plaf/basic/BasicListUI.java
2148 (paintCell): use CellRendererPane for painting the cells.
2150 2005-04-19 Roman Kennke <roman@ontographics.com>
2152 * javax/swing/plaf/basic/BasicListUI:
2153 fixed modifiers of several fields, methods and inner
2154 classes to match the 'spec'.
2155 (getMaximumSize): removed. It's not in the spec and the
2156 implementations was superfluous.
2158 2005-04-19 Roman Kennke <roman@ontographics.com>
2160 * javax/swing/plaf/basic/BasicListUI:
2161 make BasicListUI capable of wrapping lists
2162 (layoutOrientation property of javax.swing.JList)
2164 2005-04-19 Roman Kennke <roman@ontographics.com>
2166 * javax/swing/plaf/basic/BasicListUI
2167 (updateLayoutState,paint): make BasicListUI aware of the
2168 width of the rendered JList.
2170 2005-04-19 Roman Kennke <roman@kennke.org>
2172 * javax/swing/ImageIcon.java
2173 Added API documentation.
2175 2005-04-19 Roman Kennke <roman@kennke.org>
2177 * javax/swing/text/ImageIcon.java
2178 (ImageIcon): Use setImage instead of direct assignment.
2179 (setImage): Call loadImage to make sure that the image is loaded.
2180 (loadImage): Waits for the image to complete loading.
2181 (getImageLoadStatus): Added. Returns the load status of the
2184 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2186 * javax/swing/JTextArea.java (replaceRange):
2187 Fixing doc.remove(start, length) misinterpretation.
2189 2005-04-19 Roman Kennke <roman@ontographics.com>
2191 * javax/swing/CellRendererPane.java:
2192 implemented all methods of this class.
2193 reformatted all wrong formatted code.
2195 2005-04-19 Roman Kennke <roman@kennke.org>
2197 * javax/swing/BoxLayout.java:
2198 (layoutContainer): Made this layout manager respect the
2199 minimum, maximum and preferred size more correctly.
2201 2005-04-19 Roman Kennke <roman@ontographics.com>
2203 * javax/swing/BoxLayout.java:
2204 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2205 layoutContainer): Make these methods and thereby the
2206 BoxLayout respect the insets (like borders) of the
2207 component that is laid out.
2209 2005-04-19 Roman Kennke <roman@kennke.org>
2211 * javax/swing/JComponent.java:
2212 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2213 Untabified the file.
2215 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2217 * javax/swing/JComboBox.java (constructors): selecting the
2218 first item if the box was constructed from the provided
2219 non - empty array or vector.
2221 2005-04-19 Michael Koch <konqueror@gmx.de>
2223 * gnu/java/awt/peer/gtk/GdkGraphics.java
2224 (getClipBounds): Handle clip being null.
2225 (setClip): Likewise.
2226 * java/beans/beancontext/BeanContextSupport.java
2230 (removeAll): Likewise.
2231 (retainAll): Likewise.
2233 2005-04-19 Michael Koch <konqueror@gmx.de>
2235 * java/beans/beancontext/BeanContextServicesSupport.java
2236 (BeanContextServicesSupport): Reimplemented.
2237 (addBeanContextServicesListener): Implemented.
2238 (initialize): Likewise.
2239 (removeBeanContextServicesListener): Likewise.
2240 * java/beans/beancontext/BeanContextSupport.java
2242 (addBeanContextMembershipListener): Likewise.
2243 (getLocale): Likewise.
2244 (initialize): Likewise.
2245 (iterator): Likewise.
2247 (toArray): Likewise.
2249 2005-04-19 Roman Kennke <roman@kennke.org>
2251 * java/awt/MediaTracker.java:
2252 Reindented tabs to spaces.
2254 2005-04-19 Roman Kennke <roman@kennke.org>
2256 * java/awt/MediaTracker.java
2257 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2258 confused the media tracker and lead to lockups. The LOADING
2259 bit is handled on other places.
2260 (addImage): Removed the 'start image tracking' stuff. This
2261 is not necessary and could confuse the media tracker.
2262 (checkAll): Improved the check for image status so that
2263 images that already complete images are detected. Also now
2264 are really all images checked and if necessary loaded. Before
2265 the method bailed out after the first incomplete image.
2266 (statusAll): Detect images that are complete after the
2267 call to Component.prepareImage(..).
2268 (checkID): The same as in checkAll.
2269 (statusID): The same as in statusAll.
2271 2005-04-19 Roman Kennke <roman@kennke.org>
2273 * java/awt/MediaTracker.java
2274 (addImage): Synchronized list access.
2275 (waitForAll): Fixed comparison of time (changed < to >).
2276 (waitForID): Fixed comparison of time (changed < to >).
2277 (removeImage): Synchronized list access.
2279 2005-04-19 Roman Kennke <roman@kennke.org>
2281 * java/awt/MediaTracker.java
2282 Added API documentation.
2284 2005-04-19 Roman Kennke <roman@kennke.org>
2286 * java/awt/MediaTracker.java
2287 (MediaEntry.imageUpdate): Fixed flags. The different flags
2288 must not be ORed together.
2289 (checkAll): Modified to handle different meaning of the flags.
2290 (waitForAll): Fixed so that it waits maximum the
2291 specified amount of milliseconds.
2292 (statusAll): Modified to handle different meaning of the flags.
2293 (waitForID): Fixed so that it waits maximum the
2294 specified amount of milliseconds.
2296 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2298 * java/awt/Font.java (decode): Handle null argument and allow
2301 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2303 * java/beans/EventHandler.java: Reworked documentation.
2304 (invoke): Fixed behavior to match spec.
2306 2005-04-19 Michael Koch <konqueror@gmx.de>
2308 * java/awt/print/PrinterJob.java
2309 (pageDialog): New method.
2310 (printDialog): Implemented.
2312 2005-04-19 Michael Koch <konqueror@gmx.de>
2314 * java/awt/image/ConvolveOp.java:
2315 Removed comment added by eclipse.
2317 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2319 * java/awt/image/IndexColorModel.java
2320 (getRGB): Check if pixel is negative.
2322 2005-04-19 Michael Koch <konqueror@gmx.de>
2324 * java/awt/image/RasterOp.java:
2325 Fixed wrong formatting.
2327 2005-04-18 Roman Kennke <roman@kennke.org>
2329 * java/awt/Compmonent.java
2330 (setComponentOrientation): Made this property firing a
2331 PropertyChangeEvent.
2333 2005-04-18 Roman Kennke <roman@kennke.org>
2335 * java/awt/BorderLayout.java
2336 (calcSize): Check for overflow when component sizes are added.
2338 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2340 * java/awt/AWTEvent.java (toString): Added case
2341 for source not being an AWT component.
2343 2005-04-18 Chris Burdess <dog@gnu.org>
2345 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2347 2005-04-18 Michael Koch <konqueror@gmx.de>
2349 gnu/java/awt/EmbeddedWindowSupport.java,
2350 gnu/java/net/HeaderFieldHelper.java,
2351 gnu/java/net/URLParseError.java,
2352 gnu/java/net/protocol/file/Handler.java,
2353 gnu/java/net/protocol/jar/Handler.java:
2354 Fixed usage of @author tag.
2356 2005-04-18 Michael Koch <konqueror@gmx.de>
2358 * gnu/xml/aelfred2/XmlParser.java:
2359 Reverted my typo fix.
2361 2005-04-18 Michael Koch <konqueror@gmx.de>
2363 * java/awt/geom/CubicCurve2D.java,
2364 java/awt/geom/QuadCurve2D.java:
2365 Fixed mentioning of Brian Gouph.
2367 2005-04-18 Michael Koch <konqueror@gmx.de>
2369 * gnu/java/awt/Buffers.java,
2370 gnu/java/awt/image/ImageDecoder.java,
2371 gnu/java/awt/image/XBMDecoder.java,
2372 gnu/java/awt/peer/ClasspathFontPeer.java,
2373 gnu/java/net/CRLFInputStream.java,
2374 gnu/java/net/EmptyX509TrustManager.java,
2375 gnu/java/net/LineInputStream.java,
2376 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2377 gnu/java/net/protocol/ftp/BlockInputStream.java,
2378 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2379 gnu/java/net/protocol/ftp/DTP.java,
2380 gnu/java/net/protocol/ftp/DTPInputStream.java,
2381 gnu/java/net/protocol/ftp/FTPConnection.java,
2382 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2383 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2384 gnu/java/net/protocol/ftp/StreamInputStream.java,
2385 gnu/java/net/protocol/http/ChunkedInputStream.java,
2386 gnu/java/net/protocol/http/HTTPConnection.java,
2387 gnu/java/net/protocol/http/HTTPURLConnection.java,
2388 gnu/java/net/protocol/http/Headers.java,
2389 gnu/java/net/protocol/http/Request.java,
2390 gnu/java/nio/ChannelInputStream.java,
2391 gnu/java/nio/ChannelOutputStream.java,
2392 gnu/java/nio/InputStreamChannel.java,
2393 gnu/java/nio/OutputStreamChannel.java,
2394 gnu/java/nio/SelectorProviderImpl.java,
2395 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2396 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2397 gnu/java/rmi/dgc/DGCImpl.java,
2398 gnu/java/rmi/registry/RegistryImpl.java,
2399 gnu/java/rmi/server/ProtocolConstants.java,
2400 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2401 gnu/java/rmi/server/RMIIncomingThread.java,
2402 gnu/java/rmi/server/RMIObjectInputStream.java,
2403 gnu/java/rmi/server/RMIObjectOutputStream.java,
2404 gnu/java/rmi/server/RMIVoidValue.java,
2405 gnu/java/rmi/server/UnicastConnectionManager.java,
2406 gnu/java/rmi/server/UnicastRef.java,
2407 gnu/java/rmi/server/UnicastRemoteCall.java,
2408 gnu/java/rmi/server/UnicastRemoteStub.java,
2409 gnu/java/rmi/server/UnicastServerRef.java,
2410 gnu/java/security/OID.java,
2411 gnu/java/security/der/DERReader.java,
2412 gnu/java/security/provider/CollectionCertStoreImpl.java,
2413 gnu/java/security/provider/DSAParameterGenerator.java,
2414 gnu/java/security/provider/DefaultPolicy.java,
2415 gnu/java/security/provider/EncodedKeyFactory.java,
2416 gnu/java/security/provider/GnuDHPublicKey.java,
2417 gnu/java/security/provider/GnuDSAPrivateKey.java,
2418 gnu/java/security/provider/GnuDSAPublicKey.java,
2419 gnu/java/security/provider/GnuRSAPrivateKey.java,
2420 gnu/java/security/provider/GnuRSAPublicKey.java,
2421 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2422 gnu/java/security/provider/RSA.java,
2423 gnu/java/security/provider/SHA1PRNG.java,
2424 gnu/java/security/provider/SHA1withRSA.java,
2425 gnu/java/security/provider/X509CertificateFactory.java,
2426 gnu/java/security/x509/GnuPKIExtension.java,
2427 gnu/java/security/x509/X500DistinguishedName.java,
2428 gnu/java/security/x509/X509CRL.java,
2429 gnu/java/security/x509/X509CRLEntry.java,
2430 gnu/java/security/x509/X509CertPath.java,
2431 gnu/java/security/x509/X509CertSelectorImpl.java,
2432 gnu/java/security/x509/X509Certificate.java,
2433 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2434 gnu/java/security/x509/ext/BasicConstraints.java,
2435 gnu/java/security/x509/ext/CRLNumber.java,
2436 gnu/java/security/x509/ext/CertificatePolicies.java,
2437 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2438 gnu/java/security/x509/ext/Extension.java,
2439 gnu/java/security/x509/ext/GeneralNames.java,
2440 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2441 gnu/java/security/x509/ext/KeyUsage.java,
2442 gnu/java/security/x509/ext/PolicyConstraint.java,
2443 gnu/java/security/x509/ext/PolicyMappings.java,
2444 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2445 gnu/java/security/x509/ext/ReasonCode.java,
2446 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2447 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2448 Reorganized import statements.
2450 2005-04-18 Michael Koch <konqueror@gmx.de>
2452 * gnu/java/awt/color/CieXyzConverter.java,
2453 gnu/java/awt/color/ClutProfileConverter.java,
2454 gnu/java/awt/color/ColorLookUpTable.java,
2455 gnu/java/awt/color/ColorSpaceConverter.java,
2456 gnu/java/awt/color/GrayProfileConverter.java,
2457 gnu/java/awt/color/GrayScaleConverter.java,
2458 gnu/java/awt/color/LinearRGBConverter.java,
2459 gnu/java/awt/color/ProfileHeader.java,
2460 gnu/java/awt/color/PyccConverter.java,
2461 gnu/java/awt/color/RgbProfileConverter.java,
2462 gnu/java/awt/color/SrgbConverter.java,
2463 gnu/java/awt/color/TagEntry.java,
2464 gnu/java/awt/color/ToneReproductionCurve.java:
2465 Standardized file headers.
2467 2005-04-16 Tom Tromey <tromey@redhat.com>
2469 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2470 'ANY' package-private.
2472 2005-04-15 Tom Tromey <tromey@redhat.com>
2474 * Makefile.in: Rebuilt.
2475 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2476 (libgcj0_convenience_la_LIBADD): ... here.
2478 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2480 * gij.cc (version): Properly quote java version.
2481 (main): Fix typo in comment.
2483 2005-04-13 Mark Wielaard <mark@klomp.org>
2485 * java/lang/natRuntime.cc (insertSystemProperties): Set
2486 java.class.path to CLASSPATH if not already set.
2488 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2490 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2492 2005-04-12 Mike Stump <mrs@apple.com>
2494 * configure: Regenerate.
2496 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2499 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2500 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2502 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2505 * scripts/TexinfoDoclet.java: Removed.
2506 * Makefile.am (texinfo): Removed.
2507 * Makefile.in: Regenerated.
2509 2005-04-11 Michael Koch <konqueror@gmx.de>
2511 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2512 Fixed wrong casting.
2514 2005-04-06 Andrew Haley <aph@redhat.com>
2516 * testsuite/libjava.lang/bytearray.java: New file.
2517 * testsuite/libjava.lang/bytearray.out: New file.
2518 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2519 (loadClass): Use it.
2520 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2522 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2524 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2525 gcj-dbtool dependency
2526 * Makefile.in: Regenerated
2528 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2530 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2531 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2533 2005-04-05 Andrew Haley <aph@redhat.com>
2535 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2536 (Tokenizer): New class.
2537 (getFiles): New method.
2538 (main): Add "-" argument.
2540 Read list of files from stdin when merging map databases.
2541 (usage): Add "-" argument.
2545 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2548 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2549 * Makefile.in: Regenerate.
2550 * configure.ac: Add --with-java-home option.
2551 * configure: Regenerate.
2552 * external/Makefile.in: Regenerate.
2553 * external/sax/Makefile.in: Regenerate.
2554 * external/w3c_dom/Makefile.in: Regenerate.
2555 * gcj/Makefile.in: Regenerate.
2556 * include/Makefile.in: Regenerate.
2557 * testsuite/Makefile.in: Regenerate.
2558 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2561 2005-04-05 Tom Tromey <tromey@redhat.com>
2563 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2564 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2565 Rewrote to use _Jv_FindClassFromSignature.
2566 * verify.cc (resolve): throw NoClassDefFoundError.
2567 * link.cc (resolve_field): Throw NoClassDefFoundError.
2568 (find_field): Likewise.
2569 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2570 Handle error cases. Added 'endp' argument.
2571 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2573 2005-04-05 Tom Tromey <tromey@redhat.com>
2575 * Makefile.in: Rebuilt.
2576 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2577 gtk_awt_peer_sources.
2578 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2579 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2580 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2581 (gtk-awt-peer.lo): New target.
2583 2005-04-04 Steve Pribyl <steve@netfuel.com>
2586 * configure.ac: Fix fastjar definition for cross builds.
2587 * configure: Rebuilt.
2589 2005-04-04 Tom Tromey <tromey@redhat.com>
2591 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2592 it was already found.
2594 2005-04-04 Tom Tromey <tromey@redhat.com>
2596 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2597 org.metastatic.jessie.
2599 2005-04-02 Anthony Green <green@redhat.com>
2602 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2604 2005-04-02 Mark Wielaard <mark@klomp.org>
2606 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2607 Attributes and attribute order doesn't matter.
2608 (BasicAttributesEnumeration.where): Initialize to zero.
2609 (BasicAttributesEnumeration.nextElement): Update and compare where
2610 appropriately (zero based).
2612 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2614 PR libgcj/20090, PR libgcj/20526
2615 * gij.cc (nonstandard_opts_help): New function.
2616 (add_option): New function.
2617 (main): Support java options. Set java.class.path. Don't set
2619 * prims.cc (parse_x_arg): New function.
2620 (parse_init_args): Call parse_x_arg for -X and _ options, when
2621 ignoreUnrecognized is true.
2622 (new _Jv_RunMain): New vm_args variant.
2623 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2624 (_Jv_Jar_Class_Path): Remove variable.
2625 * include/java-props.h: Likewise.
2626 * include/cni.h (JvRealloc): New function.
2627 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2628 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2629 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2631 * configure.ac (JV_VERSION): Define.
2632 (JV_API_VERSION): Likewise.
2633 * configure: Regenerate.
2634 * include/config.h.in: Regenerate.
2636 2005-04-01 Mark Anderson <mark@panonet.net>
2638 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2639 -Infinity as parameters.
2641 2005-04-01 Michael Koch <konqueror@gmx.de>
2643 * java/io/PipedInputStream.java
2644 (read): Make sure a positive byte value is returned. Revised javadoc.
2645 Thanks to Olafur Bragason for reporting these bugs.
2647 2005-04-01 Tom Tromey <tromey@redhat.com>
2649 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2650 Updated for name change.
2651 (nativeFindClass): New method.
2652 (loadClass): Use nativeFindClass.
2653 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2655 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2656 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2658 (initialize): New method.
2659 (nativeFindClass): Declare.
2660 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2661 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2662 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2664 (definePackageForNative): Removed.
2665 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2666 Moved to VMClassLoader.java.
2667 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2668 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2669 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2670 removed VMClassLoader.java.
2671 (nat_source_files): Removed natVMClassLoader.cc.
2673 2005-04-01 Tom Tromey <tromey@redhat.com>
2675 * Makefile.in: Rebuilt.
2676 * Makefile.am (db_pathtail): Use $(gcc_version), not
2679 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2681 * java/util/Timer.java
2682 (run): Stop the queue if a task throws an exception.
2684 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2686 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2688 2005-03-29 Ian Lance Taylor <ian@airs.com>
2690 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2691 * external/sax/Makefile.in: Rebuild.
2692 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2694 * external/w3c_dom/Makefile.in: Rebuild.
2696 2005-03-29 Tom Tromey <tromey@redhat.com>
2698 * java/lang/natRuntime.cc (insertSystemProperties): Set
2699 gnu.gcj.runtime.endorsed.dirs.
2700 * Makefile.in: Rebuilt.
2701 * Makefile.am (ordinary_java_source_files): Added
2702 HelperClassLoader.java.
2703 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2704 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2706 (init): Use addDirectoriesFromProperty.
2707 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2708 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2709 gnu.gcj.runtime.endorsed.dirs.
2710 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2712 2005-03-26 Chris Burdess <dog@gnu.org>
2714 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2717 2005-03-13 Michael Koch <konqueror@gmx.de>
2719 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2721 2005-03-11 Chris Burdess <dog@gnu.org>
2723 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2726 2005-02-27 Chris Burdess <dog@gnu.org>
2728 * gnu/xml/aelfred2/JAXPFactory.java,
2729 gnu/xml/aelfred2/SAXDriver.java,
2730 gnu/xml/aelfred2/XmlParser.java,
2731 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2732 formatting conventions. Replaced arrays of Object with struct-like
2733 classes for easier maintainability. Made SAXDriver.stringInterning
2734 package private to allow access from XmlParser inside the loop without
2735 a method call overhead.
2737 2005-03-11 Chris Burdess <dog@gnu.org>
2739 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2742 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2744 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2745 settings to sub Makefiles.
2746 (GCJH, ZIP): Prefix with top_builddir.
2747 * configure: Rebuild.
2748 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2749 * external/w3c_dom/Makefile.in: Rebuild.
2750 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2751 * external/sax/Makefile.in: Rebuild.
2753 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2755 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2756 libsocket to the libraries to link for Solaris.
2758 2005-03-28 Per Bothner <per@bothner.com>
2760 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2761 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2763 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2765 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2766 to fix a ONESTEP fallout.
2767 * Makefile.in: Regenerate.
2769 2005-03-25 Mike Stump <mrs@apple.com>
2771 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2772 paths like we do for the compiler, as we use it in external/sax
2773 and it doesn't get MULTIBUILDTOP right when multilibing.
2775 2005-03-24 Anthony Green <green@redhat.com>
2777 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2779 (usage): Add [LIBDIR] to help output.
2780 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2781 * Makefile.am (AM_CXXFLAGS): Define
2782 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2783 (db_pathtail): New macro.
2785 2005-03-24 Tom Tromey <tromey@redhat.com>
2787 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2788 add sax and w3c libraries.
2789 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2791 * external/w3c_dom/Makefile.in: Rebuilt.
2792 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2794 (libw3c_gcj_la_LDFLAGS): New variable.
2795 (noinst_LTLIBRARIES): Renamed.
2796 * external/sax/Makefile.in: Rebuilt.
2797 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2799 (libsax_gcj_la_LDFLAGS): New variable.
2800 (noinst_LTLIBRARIES): Renamed.
2802 2005-03-23 Tom Tromey <tromey@redhat.com>
2804 * Makefile.in: Rebuilt.
2805 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2806 (libgcj0_convenience_la_SOURCES): Don't include
2807 gnu_xml_source_files.
2808 (libgcj0_convenience_la_LIBADD): New variable.
2809 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2810 (all_java_source_files): javax_imageio_source_files,
2811 javax_xml_source_files, and gnu_java_beans_source_files.
2812 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2813 (gnu-xml.lo): New target.
2814 (javax-imageio.lo): Likewise.
2815 (javax-xml.lo): Likewise.
2816 (gnu-java-beans.lo): Likewise.
2817 (gnu_java_beans_source_files): New variable.
2818 (javax_imageio_source_files): Likewise.
2819 (javax_xml_source_files): Likewise.
2820 (javax_source_files): Moved files to other variable.
2821 (awt_java_source_files): Likewise.
2822 (ordinary_java_source_files): Added BootClassLoader.java.
2823 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2824 not system class loader.
2825 (initBootLoader): New method.
2826 (loadClass): Search bootLoader.
2827 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2828 boot loader, not system class loader.
2829 (_Jv_UnregisterInitiatingLoader): Likewise.
2830 (_Jv_FindClass): Likewise. Ensure entries in
2831 bootstrap_class_list are unique.
2832 * java/lang/natClass.cc (getClassLoader): Don't special case
2833 system class loader.
2834 * java/lang/VMClassLoader.java (bootLoader): New field.
2835 (getResource): Use bootLoader.
2836 (getResources): Likewise.
2837 (initBootLoader): Declare.
2838 * gnu/gcj/runtime/BootClassLoader.java: New file.
2839 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2840 (EMPTY_ENUMERATION): Now package-private.
2841 * external/w3c_com/Makefile.in: Rebuilt.
2842 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2843 (w3c.jar): New target.
2844 (classes.stamp): Updated.
2845 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2846 Changed name of library.
2847 (libw3c_gcj_la_SOURCES): New variable.
2848 (libw3c_gcj_la_GCJFLAGS): Likewise.
2849 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2850 * external/sax/Makefile.in: Rebuilt.
2851 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2852 (sax.jar): New target.
2853 (classes.stamp): Updated.
2854 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2855 Changed name of library.
2856 (libsax_gcj_la_SOURCES): New variable.
2857 (libsax_gcj_la_GCJFLAGS): Likewise.
2858 (source_files): Renamed from libsax_convenience_la_SOURCES.
2859 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2861 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2863 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2865 2005-03-23 Sven de Marothy <sven@physto.se>
2867 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2869 * java/util/Calendar.java
2870 (set): Use starting day of week when one is needed if none is given.
2871 * java/text/SimpleDateFormat.java
2872 (parse): Handle 1-12 and 1-24 timestamps correctly.
2873 * java/util/GregorianCalendar.java
2874 (computeTime, computeFields): HOUR should be in 0-11 format.
2875 (nonLeniencyCheck): Adjust leniency checking to that fact.
2876 (getLinearDay): Should be private.
2878 2005-03-23 Tom Tromey <tromey@redhat.com>
2880 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2881 (_Jv_CheckABIVersion): Use it.
2883 2005-03-22 Mike Stump <mrs@apple.com>
2885 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2887 * include/posix.h: .dylib is used on all Apple MACH platforms.
2888 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2890 2005-03-22 Tom Tromey <tromey@redhat.com>
2892 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2894 2005-03-21 Tom Tromey <tromey@redhat.com>
2896 * java/lang/VMCompiler.java (static block): Also catch
2897 BufferUnderflowException.
2899 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2901 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2902 set tool_include_dir. In all substitutions, leave $(gcc_version)
2903 to be expanded by the Makefile.
2904 * aclocal.m4, configure: Regenerate.
2905 * Makefile.am: Set gcc_version. Replace all uses of
2906 @gcc_version@ with $(gcc_version).
2907 * external/Makefile.am, external/sax/Makefile.am
2908 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2909 * testsuite/Makefile.am: Set gcc_version.
2910 * include/Makefile.am: Set gcc_version and tool_include_dir.
2911 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2912 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2913 * testsuite/Makefile.in: Regenerate.
2915 2005-03-17 Andrew Haley <aph@redhat.com>
2917 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2919 Pass klass to _Jv_StackTrace::GetClassContext().
2920 * java/lang/ClassLoader.java (getParent): Pass class to
2921 VMSecurityManager.getClassContext()
2922 (getSystemClassLoader): Likewise.
2923 * java/lang/Package.java (getPackage): Likewise.
2924 (getPackages): Likewise.
2925 * java/lang/SecurityManager.java (getClassContext): Likewise.
2926 (currentClassLoader): Likewise.
2927 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2928 (currentClassLoader) Add new arg: caller.
2929 Pass caller to VMSecurityManager.getClassContext.
2931 * stacktrace.cc (GetClassContext): Correct calculation of
2934 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2935 im->source_file_name.
2937 2005-03-16 Andrew Haley <aph@redhat.com>
2939 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2941 2005-03-16 Tom Tromey <tromey@redhat.com>
2943 * link.cc (ensure_class_linked): Removed #ifdef.
2944 (print_class_loaded): Likewise.
2945 (wait_for_state): Likewise.
2946 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2947 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2948 * include/java-interp.h: ... here.
2950 2005-03-16 Tom Tromey <tromey@redhat.com>
2952 * gnu/java/lang/MainThread.java (run): Load main class using
2953 system class loader.
2955 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2957 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2958 lgcc_s to the libraries to link for Darwin.
2960 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2962 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2963 interpreter-specific code with #ifdef INTERPRETER.
2964 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2965 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2966 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2967 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2968 #ifdef INTERPRETER. Also protect declarations that use it.
2969 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2970 #ifdef INTERPRETER block.
2972 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2975 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2976 * Makefile.in: Rebuilt.
2978 2005-03-15 David Daney <ddaney@avtrex.com>
2980 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2983 2005-03-15 David Daney <ddaney@avtrex.com>
2985 * java/io/BufferedInputStream.java (available): Use 'in' instead
2986 of 'super' for underlying stream access.
2988 (read(byte[], int, int)): Ditto.
2990 (skip): Call skip on underlying stream when possible.
2992 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2994 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2995 SJLJ_EXCEPTIONS is defined.
2997 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2999 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3002 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3004 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3006 (libjava_arguments): Likewise.
3008 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3009 (gcj_jni_test_one): Likewise.
3010 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3011 Add flags to keep the Darwin linker quiet.
3012 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3013 Add -liconv for Darwin.
3015 2005-03-11 Tom Tromey <tromey@redhat.com>
3017 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3018 (_Jv_CheckABIVersion): Use it.
3020 2005-03-11 Tom Tromey <tromey@redhat.com>
3022 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3023 (usage): Document '-p'.
3024 * Makefile.in: Rebuilt.
3025 * Makefile.am (dbexecdir): New variable.
3026 (db_name): Likewise.
3027 (dbexec_DATA): Likewise.
3028 ($(db_name)): New target.
3029 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3030 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3033 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3035 * exception.cc: Remove stray MethodRef.h include.
3036 * java/lang/natClass.cc: Likewise.
3037 * gnu/gcj/runtime/MethodRef.java: Removed.
3038 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3039 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3040 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3041 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3042 * Makefile.in: Rebuilt.
3044 2005-03-10 Tom Tromey <tromey@redhat.com>
3046 * Makefile.in: Rebuilt.
3047 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3049 2005-03-10 Chris Burdess <dog@bluezoo.org>
3051 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3052 not currently parsing the DTD.
3054 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3056 New Stack Trace infrastructure.
3057 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3058 (gnu/gcj/runtime/StackTrace.java): Removed.
3059 (ordinary_java_source_files): Remove obsolete files.
3060 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3061 * configure.host (fallback_backtrace_h): Set backtrace header
3062 for mingw and cygwin targets.
3063 * configure.ac: Make symlink for fallback backtrace headers.
3064 * Makefile.in, configure: Rebuilt.
3065 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3066 Read 'LineNumberTable' attribute.
3067 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3069 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3071 * exception.cc: Remove unused include.
3072 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3073 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3074 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3075 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3076 table to direct threaded instruction values.
3077 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3078 (_Jv_InterpMethod::run): No longer member function. All
3079 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3080 is made or where an instruction could throw.
3081 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3083 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3084 (catch_fpe): Likewise.
3085 * stacktrace.cc: New file. Stack trace code now here.
3086 * gnu/gcj/runtime/MethodRef.java:
3087 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3088 calls addr2line to look up PC addresses in a given binary or shared
3090 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3091 gnu/gcj/runtime/natStackTrace.cc: Removed.
3092 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3093 this function name is specially recognised by the stack trace code
3094 and shouldn't be changed.
3095 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3096 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3097 (_Jv_InterpMethod::run): Update declaration.
3098 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3100 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3101 * include/java-stack.h: New file. Declarations for stack tracing.
3102 * include/jvm.h (_Jv_Frame_info): Removed.
3103 * java/lang/Class.h: Update friend declarations.
3104 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3106 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3107 (getStackTrace): Now native.
3108 (data): New RawDataManaged field.
3109 * java/lang/natClass.cc: Update includes.
3110 (forName): Use _Jv_StackTrace::GetCallingClass for
3111 calling-classloader check.
3112 (getClassLoader): Likewise.
3113 * java/lang/natRuntime.cc: Update includes.
3114 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3115 * java/lang/natVMSecurityManager.cc: Update includes.
3116 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3117 * java/lang/natVMThrowable.cc: New file. Native methods for
3119 * java/lang/reflect/natArray.cc: Update includes.
3120 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3121 accessibility check.
3122 * java/lang/reflect/natConstructor.cc: Update includes.
3123 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3124 accessibility check.
3125 * java/lang/reflect/natField.cc: Update includes.
3126 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3127 accessibility check.
3128 * java/lang/reflect/natMethod.cc: Update includes.
3129 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3130 accessibility check.
3131 * java/util/natResourceBundle.cc: Update includes.
3132 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3133 * java/util/logging/natLogger.cc: Update includes. Use
3134 _Jv_StackTrace::GetCallerInfo to get call-site info.
3135 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3137 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3140 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3142 * testsuite/libjava.compile/PR20312.java: New file.
3143 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3144 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3146 2005-03-09 Andrew Haley <aph@redhat.com>
3148 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3150 (smallTransferTo): New.
3151 (transferFrom): Loop around smallTransferFrom, copying pageSize
3153 (transferTo): Likewise.
3155 2005-03-09 David Daney <ddaney@avtrex.com>
3158 Merge BufferedInputStream from GNU Classpath.
3159 * java/io/BufferedInputStream.java (marktarget): Field removed.
3160 (CHUNKSIZE): Field removed.
3161 (bufferSize): New field.
3162 (BufferedInputStream): Initialize fields.
3163 (close): Invalidate mark and buffer indexes.
3165 (read()): Move mark handling code to refill.
3166 (read(byte[], int, int)): Ditto.
3167 (skip): Ditto and simplify EOF testing.
3168 (refill): Rewritten.
3169 * java/io/InputStreamReader.java (refill): Removed mark and reset
3170 of internal BufferedInputStream.
3172 2005-03-09 Tom Tromey <tromey@redhat.com>
3174 * java/lang/natVMClassLoader.cc (defineClass): Reference
3175 'systemClassLoader' field directly.
3176 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3178 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3179 Reference 'systemClassLoader' field directly.
3180 (_Jv_UnregisterInitiatingLoader): Likewise.
3181 (_Jv_FindClass): Likewise.
3183 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3185 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3187 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3188 the file in GNU Classpath style.
3190 2005-03-09 Tom Tromey <tromey@redhat.com>
3192 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3193 (toString): Synchronize.
3195 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3197 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3198 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3200 2005-03-07 Tom Tromey <tromey@redhat.com>
3202 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3203 (usage): Document '-f'.
3205 2005-03-07 Tom Tromey <tromey@redhat.com>
3207 * java/lang/VMCompiler.java (md5Digest): New field.
3208 (compileClass): Clone md5Digest instead of looking up a new one.
3210 2005-03-07 Tom Tromey <tromey@redhat.com>
3213 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3214 * link.cc (find_field_helper): Added 'type' argument.
3215 (find_field): Updated.
3217 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3218 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3219 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3220 throw UnsupportedOperationException, fixed comments.
3221 (setFont, setForeground): Fixed comments.
3222 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3223 return type to boolean.
3224 (getNextEvent): Fixed javadocs.
3225 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3226 (nativeQueueEmpty): Removed unused code.
3227 (iterateNativeQueue): Removed outer loop.
3229 2005-03-06 Roger Sayle <roger@eyesopen.com>
3232 * Makefile.am (libgcj0_convenience.la): Revert last change.
3233 * Makefile.in: Regenerate.
3235 2005-03-05 Anthony Green <green@redhat.com>
3237 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3238 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3239 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3240 (_Jv_GetDrawingSurface): Set visualID.
3241 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3242 (JAWT_GetAWT): Set Lock and Unlock.
3243 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3245 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3246 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3247 JAWT_LOCK_SURFACE_CHANGED): New macros.
3248 (struct _JAWT): Add Lock and Unlock.
3250 2005-03-05 Roger Sayle <roger@eyesopen.com>
3251 Alexandre Oliva <aoliva@redhat.com>
3252 Kelley Cook <kcook@gcc.gnu.org>
3255 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3256 of the object files to link to avoid exceeding the command line
3257 length limits on some platforms.
3258 (clean-local): Clean up objectlist files.
3259 * Makefile.in: Regenerate.
3261 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3263 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3264 spec_case. Initialize pointer mlo.
3266 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3269 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3271 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3274 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3275 uninitialized variable z.
3277 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3278 possible unused variables.
3280 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3282 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3284 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3287 * testsuite/libjava.jni/jni.exp
3288 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3290 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3292 2005-02-23 David Daney <ddaney@avtrex.com>
3294 * configure.host: Don't use -mxgot for MIPS builds.
3296 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3299 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3300 (COMPPATH): Removed.
3301 (ZIP, GCJH): Replace it with ../$(host_subdir).
3302 (built_gcc_dir): Add $(host_subdir).
3303 * configure: Regenerate.
3304 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3305 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3306 external/w3c_dom/Makefile.in: Regenerate.
3308 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3310 * java/awt/font/TextAttribute.java: changed names to lower case;
3311 (readResolve): implemented.
3312 Added doc comments all over.
3314 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3317 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3318 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3319 value. Move argument parsing code to prims.cc.
3320 * prims.cc (no_properties): Remove.
3321 (_Jv_Compiler_Properties): Initialize to NULL.
3322 (_Jv_Properties_Count): Initialize to 0.
3323 (parse_verbose_args): New function.
3324 (parse_init_args): New function.
3325 (_Jv_CreateJavaVM): Call parse_init_args.
3326 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3327 * gcj/cni.h (JvVMOption): New struct.
3328 (JvVMInitArgs): Likewise.
3329 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3331 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3332 (_Jv_VMInitArgs): Likewise.
3333 * include/java-props.h (_Jv_Properties_Count): Declare.
3334 * java/lang/natRuntime.cc (insertSystemProperties): Use
3335 _Jv_Properties_Count in for loop exit condition.
3336 * testsuite/libjava.jni/jni.exp
3337 (gcj_invocation_compile_c_to_binary): New procedure.
3338 (gcj_invocation_test_one): Likewise.
3339 (gcj_jni_run): Run JNI invocation API tests.
3340 * testsuite/libjava.jni/invocation/PR16923.c,
3341 testsuite/libjava.jni/invocation/PR16923.java,
3342 testsuite/libjava.jni/invocation/PR16923.out: New test.
3344 2005-02-23 Michael Koch <konqueror@gmx.de>
3346 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3347 * Makefile.in: Regenerated.
3349 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3351 * gnu/java/nio/ChannelReader: Fixed comments.
3353 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3355 * java/nio/channels/Channels: Added FIXMEs about
3356 stub method implementation.
3357 (newReader): Implemented.
3358 * gnu/java/nio/ChannelReader: New class.
3360 2005-02-23 Michael Koch <konqueror@gmx.de>
3362 * java/text/SimpleDateFormat.java:
3363 Removed unused import.
3365 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3368 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3369 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3370 * Makefile.in: Regenerate.
3371 * configure.ac: Check for libXtst.
3372 * configure: Regenerate.
3374 2005-02-22 Mark Wielaard <address@bogus.example.com>
3376 * java/security/AlgorithmParameterGenerator.java (getInstance):
3377 Mention provider when throwing NoSuchProviderException.
3378 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3379 * java/security/KeyFactory.java (getInstance): Likewise.
3380 * java/security/KeyStore.java (getInstance): Likewise.
3381 * java/security/SecureRandom.java (getInstance): Likewise.
3382 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3384 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3386 * java/lang/reflect/Proxy.java,
3388 java/security/SecureRandom.java,
3389 java/util/Timer.java,
3390 java/util/prefs/AbstractPreferences.java:
3391 Don't catch java.lang.ThreadDeath.
3393 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3395 * java/awt/font/TransformAttribute.java,
3396 (TransformAttribute(AffineTransform)): throw
3397 IllegalArgumentException for null transform.
3398 (getTransform): return a copy of transform.
3399 Added doc comments to all.
3401 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3403 * java/io/Externalizable.java,
3404 java/io/Serializable.java
3405 (serialVersionUID): Removed.
3406 * java/rmi/server/RemoteObject.java,
3407 java/rmi/server/UID.java
3408 (serialVersionUID): Made private.
3409 * java/rmi/server/RemoteRef.java,
3410 java/rmi/server/ServerRef.java
3411 (serialVersionUID): Set proper value.
3412 * java/security/interfaces/DSAPrivateKey.java,
3413 java/security/interfaces/DSAPublicKey.java,
3414 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3415 java/security/interfaces/RSAPrivateCrtKey.java,
3416 java/security/interfaces/RSAPrivateKey.java,
3417 java/security/interfaces/RSAPublicKey.java,
3418 javax/crypto/SecretKey.java
3419 (serialVersionUID): Added.
3421 2005-02-22 Tom Tromey <tromey@redhat.com>
3423 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3425 2005-02-22 Tom Tromey <tromey@redhat.com>
3428 * verify.cc (type::EITHER): New constant.
3429 (check_field_constant): Use it.
3430 (type::compatible): Handle it.
3432 2005-02-22 Michael Koch <konqueror@gmx.de>
3434 * gnu/java/security/PolicyFile.java,
3435 gnu/java/security/pkcs/PKCS7SignedData.java,
3436 gnu/java/security/pkcs/SignerInfo.java:
3437 Fixed copyright header.
3439 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3441 * java/beans/PropertyDescriptor.java
3442 (PropertyDescriptor,setReadMethod): Set propertyType.
3444 2005-02-22 Michael Koch <konqueror@gmx.de>
3446 * java/nio/DirectByteBufferImpl.java
3447 (owner): Fixed formatting of javadoc.
3448 * java/text/DateFormat.java
3449 (getAvailableLocales): Fixed formatting.
3450 * java/text/SimpleDateFormat.java:
3451 Fixed formatting and import statement order.
3452 * java/util/Calendar.java
3453 (Calendar): Fixed javadoc to be HTML compliant.
3454 * java/util/SimpleTimeZone.java:
3457 2005-02-22 Roman Kennke <roman@ontographics.com>
3459 * javax/swing/plaf/basic/BasicLookAndFeel.java
3460 (initComponentDefaults): Fixed Button left and right margin.
3462 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3464 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3468 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3469 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3470 (getWidth): New method.
3471 (getHeight): Likewise.
3472 (create): Remove width, height and insets parameters. Move size
3474 (realize_cb): ... here. New function.
3475 (connectSignals): Connect realize_cb.
3476 (request_frame_extents): Remove FIXME. Move
3477 postInsetsChangedEvent lookup ...
3478 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3479 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3480 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3482 (windowGetWidthID): Likewise.
3483 (windowGetHeightID): Likewise.
3485 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3488 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3489 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3491 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3493 Merge serialization from GNU Classpath.
3494 * gcj/method.h: Add missing #includes.
3495 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3496 primitive class IDs on the stream here...
3497 (resolveClass): ...not here.
3498 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3500 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3501 setLongNative, setIntNative, setShortNative, setCharNative,
3502 setByteNative, setBooleanNative, setObjectNative): New native methods.
3503 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3504 setLongNative, setIntNative, setShortNative, setCharNative,
3505 setByteNative, setBooleanNative, setObjectNative): Implement them.
3506 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3507 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3508 the constructor here.
3509 (callConstructor): Removed.
3510 (getCallersClassLoader): Removed.
3511 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3512 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3513 to control whether setting final field values is permitted. Call
3514 getAddr() with checkFinal parameter instead of setAddr().
3515 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3516 only if not done already.
3517 (getAddr): Add checkFinal parameter. Do the final field check only if
3521 2005-02-21 Mark Wielaard <mark@klomp.org>
3524 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3527 2005-02-21 Mark Wielaard <mark@klomp.org>
3530 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3531 without a super class and us ObjectStreamClass.lookupForClassObject().
3532 (resolveClass): Check for primitive types.
3533 (lookupClass): Return null when argument is null.
3535 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3537 * java/io/ObjectInputStream.java
3538 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3540 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3542 * java/io/ObjectOutputStream.java
3543 (writeObject, callWriteMethod): Replaced reflection with accessing
3544 cached info in ObjectStreamClass.
3545 (getMethod): Removed.
3546 * java/io/ObjectStreamClass.java
3547 (findMethod): Added check to make sure the method found has the
3549 (cacheMethods): Added writeReplace and writeObject methods.
3550 (setFlags): Look at new writeObjectMethod field instead of doing
3552 (writeReplaceMethod): New field.
3553 (writeObjectMethod): New field.
3555 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3556 Jeroen Frijters <jeroen@frijters.net>
3558 * java/io/ObjectInputStream.java
3559 (newObject): Changed prototype. Get a constructor reflect object
3561 (callConstructor): Removed.
3562 (allocateObject): Changed prototype.
3563 (readClassDescriptor): Build the constructor reflection directly.
3564 (readObject): Invoke newObject using the new prototype.
3566 * java/io/ObjectStreamClass.java
3567 (firstNonSerializableParent): Removed.
3568 (firstNonSerializableParentConstructor): Added.
3570 2005-02-21 Mark Wielaard <mark@klomp.org>
3572 * gnu/java/locale/LocaleInformation_en.java: Extend
3573 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3575 2005-02-21 Mark Wielaard <mark@klomp.org>
3577 * java/text/SimpleDateFormat.java
3578 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3579 NullPointerException when formatData is null.
3581 2005-02-21 Mark Wielaard <mark@klomp.org>
3583 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3584 taking dstSavings into account.
3586 2005-02-21 Sven de Marothy <sven@physto.se>
3588 * java/text/SimpleDateFormat.java,
3589 (parse): Set correct DST_OFFSET to the correct value.
3591 2005-02-21 Mark Wielaard <mark@klomp.org>
3593 * java/util/SimpleTimeZone.java (checkRule): Throw
3594 IllegalArgumentException when month out of range.
3596 2005-02-21 Sven de Marothy <sven@physto.se>
3598 * java/util/GregorianCalendar.java,
3599 (add): Don't set fields directly anymore. Use set()
3601 2005-02-21 Mark Wielaard <mark@klomp.org>
3603 * java/text/SimpleDateFormat.java (CompiledField.toString):
3604 Use StringBuffer, not StringBuilder.
3605 (toString): Likewise.
3607 2005-02-21 Sven de Marothy <sven@physto.se>
3609 * java/util/Calendar.java
3610 (clear): Dates should clear to local time.
3611 * java/util/GregorianCalendar.java
3612 (computeTime): Fix priority problem with DAY_OF_WEEK,
3613 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3615 2005-02-21 Sven de Marothy <sven@physto.se>
3617 * java/util/Calendar.java
3618 (Calendar): Constructor should clear fields.
3620 2005-02-21 Sven de Marothy <sven@physto.se>
3622 * java/text/SimpleDateFormat.java
3623 (parse): Tweak handling of 2-year dates
3624 * java/util/Calendar.java
3625 (clear): Clear fields to correct value.
3626 * java/util/GregorianCalendar.java
3627 (computeTime): Correct handling of time zones.
3628 Correct field minimum values.
3630 2005-02-21 Sven de Marothy <sven@physto.se>
3632 * java/util/Calendar.java
3633 (set) Invalidate all fields on first call to set().
3635 2005-02-21 Sven de Marothy <sven@physto.se>
3637 * java/util/GregorianCalendar.java
3638 (computeTime): Fixed handling of time zones.
3640 2005-02-21 Sven de Marothy <sven@physto.se>
3642 * java/util/Calendar.java
3643 (clear): Set values to Epoch instead of zero.
3644 (set): Set isSet to the relevant field pattern instead of just
3646 * java/util/GregorianCalendar.java
3647 (getBundle): Removed.
3648 (getDayOfYear): Removed.
3649 (getFirstDayOfMonth): New private method.
3650 (nonLeniencyCheck): New private method.
3651 (computeTime): Correct handling of insufficient data.
3653 2005-02-21 Sven de Marothy <sven@physto.se>
3655 * java/util/Calendar.java: Invalidate ERA field on setting
3657 * java/util/SimpleTimeZone.java:
3658 (getDaysInMonth): Reimplemented.
3659 * java/util/GregorianCalendar.java:
3660 (getLinearTime): Removed.
3661 (isLeapYear(int,boolean)): Removed.
3662 (before(), after()): Removed.
3663 (computeTime): Reimplemented.
3665 2005-02-21 Sven de Marothy <sven@physto.se>
3667 * java/util/Calendar.java: Reformatted.
3668 * java/util/GregorianCalendar.java: Reformatted.
3669 * java/util/SimpleTimeZone.java: Reformatted.
3671 2005-02-21 Sven de Marothy <sven@physto.se>
3673 * java/util/GregorianCalendar.java
3674 (GregorianCalendar): Update fields in the constructor
3676 2005-02-21 Noa Resare <noa@resare.com>
3678 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3679 (set(int,int)): Set and use new field.
3680 (set(int,int,int)): Check new field.
3682 2005-02-21 Noa Resare <address@hidden>
3684 * java/util/Calendar.java(set):
3685 Fix for DST related regression.
3687 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3689 * java/util/Calendar.java
3690 (setTimeInMillis): Added call to clear, removed computeFields call.
3691 * java/util/Date.java
3692 (Date(int,int,int,int,int,int)): Removed workaround for
3693 GregorianCalendar bug.
3694 * java/util/GregorianCalendar.java
3695 (GregorianCalendar): Chained all constructors to a (new)
3697 (computeTime): Fixed support for lenient month treatment.
3698 (getLinearDay): Return long instead of int.
3699 (calculateDay): Added fields argument and changed day argument
3702 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3704 * java/text/SimpleDateFormat.java
3705 Lots of documentation updates.
3706 (readObject(java.io.ObjectInputStream)): Wraps
3707 IllegalArgumentException as specified.
3708 (compileFormat(String)): Uses standardChars
3709 rather than the local pattern characters.
3710 Throws IllegalArgumentException rather than
3712 (toString()): Extended to include all variables
3714 (translateLocalizedPattern(String, String, String)):
3715 Renamed to better define the use of this method.
3717 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3719 * java/text/DateFormat.java:
3720 Documented pattern character offset constants and
3722 (Field): Added new static fields for new pattern chars.
3723 * java/text/SimpleDateFormat.java:
3724 (CompiledField): Changed name of FieldSizePair class
3725 to CompiledField after adding the character as an
3726 attribute. Changed fields to private and added
3727 accessors to give encapsulation.
3728 (CompiledField.CompiledField(int,int,char)): Extended
3729 with character field.
3730 (CompiledField.getField()): New accessor method.
3731 (CompiledField.getSize()): New acceessor method.
3732 (CompiledField.getCharacter()): New accessor method.
3733 (CompiledField.toString()): Added primarily for debugging.
3734 (standardChars): Now uses extended 24 character sequence.
3735 (compileFormat(String)): Changed to use CompiledField.
3736 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3737 java.text.FieldPosition)): Changed to use CompiledField.
3738 New handler for RFC 822 timezones added.
3740 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3742 * java/text/SimpleDateFormat.java:
3743 (parse(String, java.text.ParsePosition)):
3744 Changed 'E' and 'M' cases to use both
3745 short and long names. Extended 'z'
3746 case to also handle 'Z', and deal
3747 with simple GMT offsets such as +0100.
3748 (computeOffset(String)): New private method,
3749 which converts a GMT offset specification,
3750 such as GMT-0500 to a numeric offset in
3752 * java/util/TimeZone.java:
3753 (timezones()): Added "CEST", the daylight
3754 savings time version of "CET", or Central
3757 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3759 * java/text/SimpleDateFormat.java:
3760 (parse): Set the DST offset to 0 when parsing
3761 GMT offset timezones.
3763 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3765 * java/text/SimpleDateFormat.java:
3766 (parse): Use offset to set ZONE_OFFSET
3767 rather than the DST_OFFSET, so that
3768 GMT offset timezones change the right
3771 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3773 * java/text/SimpleDateFormat.java:
3774 (getDateFormatSymbols()): return a copy
3775 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3776 throw exception on null input
3777 (clone()): implemented to clone
3780 2005-02-21 Sven de Marothy <sven@physto.se>
3782 * java/text/SimpleDateFormat.java
3783 (parse): comparison should be case-insensitive, ignore null
3786 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3788 * gnu/java/beans/IntrospectionIncubator.java
3789 (addMethod) Reverts the patch that ntroduced a regression (see bug
3790 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3792 2005-02-21 Michael Koch <konqueror@gmx.de>
3794 * java/awt/Checkbox.java
3795 (next_checkbox_number): New static variable.
3796 (generateName): New method.
3797 (getUniqueLong): Likewise.
3798 * java/awt/Window.java
3799 (next_window_number): New static variable.
3800 (generateName): New method.
3801 (getUniqueLong): Likewise.
3803 2005-02-21 Mark Wielaard <mark@klomp.org>
3805 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3808 2005-02-21 Andrew Haley <aph@redhat.com>
3810 * Makefile.in: Rebuilt.
3811 * Makefile.am (nat_source_files): Added natLogger.cc.
3812 * java/util/logging/natLogger.cc: New file.
3813 * java/util/logging/Logger.java (getCallerStackFrame): Now
3816 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3818 * Makefile.am (all_property_files): Remove left over.
3819 (classes.stamp): Add stamp for the ONESTEP build, also known as
3820 --enable-libgcj-multifile.
3821 * Makefile.in: Regenerated.
3823 2005-02-21 Michael Koch <konqueror@gmx.de>
3825 * java/awt/Button.java,
3826 java/awt/Container.java,
3828 java/awt/Frame.java,
3829 java/text/CollationElementIterator.java,
3830 java/text/RuleBasedCollator.java,
3831 java/util/PropertyPermission.java:
3832 Fixed formatting issues all over.
3834 2005-02-21 Mark Wielaard <mark@klomp.org>
3836 * java/io/FileDescriptor.java (sync): Add real exception to
3837 SyncFailedException.
3839 2005-02-21 Michael Koch <konqueror@gmx.de>
3841 * java/io/InputStreamReader.java:
3844 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3847 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3849 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3851 * libraries/javalib/gnu/regexp/RE.java,
3852 libraries/javalib/java/io/ObjectInputStream.java,
3853 libraries/javalib/java/security/AllPermission.java,
3854 libraries/javalib/java/security/BasicPermission.java,
3855 libraries/javalib/java/security/Permissions.java,
3856 libraries/javalib/java/text/MessageFormat.java:
3857 Made 'inner' classes real public static inner classes,
3858 and made them final where possible, or removed them
3861 2005-02-20 Michael Koch <konqueror@gmx.de>
3863 * gnu/java/text/FormatCharacterIterator.java:
3864 Removed redundant modifiers.
3866 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3868 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3871 2005-02-19 Michael Koch <konqueror@gmx.de>
3873 * Makefile.am: Added new files in gnu/java/beans and
3874 java/beans/XMLDecoder.java.
3875 * Makefile.in: Regenerated.
3877 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3879 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3880 assignment behavior by using java.lang.reflect.Array.set()
3883 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3885 * gnu/java/beans/EmptyBeanInfo.java,
3886 gnu/java/beans/info/ComponentBeanInfo.java:
3887 Removed unused files.
3889 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3891 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3892 of AppletStub for java.beans.Beans.instantiate.
3893 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3895 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3896 to be conformant with Javadoc guidelines.
3897 (instantiate): Added two more overloaded variants, reworked user
3898 documentation, fixed exception behavior, fixed behavior when
3901 2005-02-19 Mark Wielaard <mark@klomp.org>
3903 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3905 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3907 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3909 * gnu/java/beans/decoder/AbstractContext.java,
3910 gnu/java/beans/decoder/AbstractCreatableContext.java,
3911 gnu/java/beans/decoder/AbstractElementHandler.java,
3912 gnu/java/beans/decoder/AbstractObjectContext.java,
3913 gnu/java/beans/decoder/ArrayContext.java,
3914 gnu/java/beans/decoder/ArrayHandler.java,
3915 gnu/java/beans/decoder/AssemblyException.java,
3916 gnu/java/beans/decoder/BooleanHandler.java,
3917 gnu/java/beans/decoder/ByteHandler.java,
3918 gnu/java/beans/decoder/CharHandler.java,
3919 gnu/java/beans/decoder/ClassHandler.java,
3920 gnu/java/beans/decoder/ConstructorContext.java,
3921 gnu/java/beans/decoder/Context.java,
3922 gnu/java/beans/decoder/DecoderContext.java,
3923 gnu/java/beans/decoder/DefaultExceptionListener.java,
3924 gnu/java/beans/decoder/DoubleHandler.java,
3925 gnu/java/beans/decoder/DummyContext.java,
3926 gnu/java/beans/decoder/DummyHandler.java,
3927 gnu/java/beans/decoder/ElementHandler.java,
3928 gnu/java/beans/decoder/FloatHandler.java,
3929 gnu/java/beans/decoder/GrowableArrayContext.java,
3930 gnu/java/beans/decoder/IndexContext.java,
3931 gnu/java/beans/decoder/IntHandler.java,
3932 gnu/java/beans/decoder/JavaHandler.java,
3933 gnu/java/beans/decoder/LongHandler.java,
3934 gnu/java/beans/decoder/MethodContext.java,
3935 gnu/java/beans/decoder/MethodFinder.java,
3936 gnu/java/beans/decoder/NullHandler.java,
3937 gnu/java/beans/decoder/ObjectContext.java,
3938 gnu/java/beans/decoder/ObjectHandler.java,
3939 gnu/java/beans/decoder/PersistenceParser.java,
3940 gnu/java/beans/decoder/PropertyContext.java,
3941 gnu/java/beans/decoder/ShortHandler.java,
3942 gnu/java/beans/decoder/SimpleHandler.java,
3943 gnu/java/beans/decoder/StaticMethodContext.java,
3944 gnu/java/beans/decoder/StringHandler.java,
3945 gnu/java/beans/decoder/VoidHandler.java: New class
3946 implementing java.beans.XMLDecoder decoding functionality.
3947 * java/beans/XMLDecoder.java: New class.
3949 2005-02-19 Michael Koch <konqueror@gmx.de>
3951 * javax/swing/JTextField.java
3952 (notfiyAction): Added javadoc.
3954 2005-02-19 Sven de Marothy <sven@physto.se>
3956 * javax/swing/SpinnerDateModel.java: Implemented.
3958 2005-02-19 Michael Koch <konqueror@gmx.de>
3960 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3961 * Makefile.in: Regenerated.
3963 2005-02-19 Michael Koch <konqueror@gmx.de>
3965 * gnu/java/nio/SelectorImpl.java:
3966 Reworked import statements.
3967 (register): Removed unused code.
3968 * java/nio/channels/Channels.java: Reformatted.
3969 * java/nio/charset/Charset.java: Likewise.
3970 * java/rmi/server/RemoteObject.java
3971 (serialVersionUID): Made private.
3972 * java/rmi/server/UID.java
3973 (serialVersionUID): Likewise.
3975 2005-02-19 Michael Koch <konqueror@gmx.de>
3977 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3978 gnu/java/net/protocol/ftp/BlockInputStream.java,
3979 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3980 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3981 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3982 gnu/java/net/protocol/ftp/DTPInputStream.java,
3983 gnu/java/net/protocol/ftp/DTP.java,
3984 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3985 gnu/java/net/protocol/ftp/FTPConnection.java,
3986 gnu/java/net/protocol/ftp/FTPException.java,
3987 gnu/java/net/protocol/ftp/FTPResponse.java,
3988 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3989 gnu/java/net/protocol/ftp/Handler.java,
3990 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3991 gnu/java/net/protocol/ftp/StreamInputStream.java,
3992 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3993 gnu/java/net/CRLFInputStream.java,
3994 gnu/java/net/CRLFOutputStream.java,
3995 gnu/java/net/GetLocalHostAction.java,
3996 gnu/java/net/protocol/ftp/package.html: New files.
3997 * Makefile.am: Added new files.
3998 * Makefile.in: Regenerated.
4000 2005-02-18 Tom Tromey <tromey@redhat.com>
4002 * link.cc (make_vtable): Remove abstract method check.
4003 (append_partial_itable): Likewise.
4006 * verify.cc (type::equals): Fixed test.
4007 * testsuite/libjava.lang/PR20056.out: New file.
4008 * testsuite/libjava.lang/PR20056.java: New file.
4010 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4012 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4013 not the HashEntry. Reported by Jean-Marie White.
4015 2005-02-18 Tom Tromey <tromey@redhat.com>
4018 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4019 * link.cc (has_field_p): New function.
4020 * verify.cc (check_field_constant): Added 'putfield' argument.
4021 (verify_instructions_0): Updated.
4022 (type::equals): New method.
4024 2005-02-18 Anthony Green <green@redhat.com>
4026 * NEWS: Draft of libgcj NEWS for 4.0.
4028 2005-02-18 Anthony Green <green@redhat.com>
4030 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4031 architecture names to "i386" for compatibility reasons. Win32
4034 2005-02-18 Anthony Green <green@redhat.com>
4036 * gij.cc (version): Change year for '--version' to 2005.
4037 * gnu/gcj/convert/Convert.java: Ditto.
4038 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4039 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4041 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4042 recent copyright year in `--version' output.
4044 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4046 * java/nio/charset/Charset.java (forName): Throws
4047 IllegalArgumentException when argument is null
4048 and added documentation.
4050 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4052 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4053 Move the position of the source buffer forward.
4055 2005-02-17 Tom Tromey <tromey@redhat.com>
4057 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4058 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4059 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4060 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4061 Changed type of second argument. Rewrote.
4062 (make_vtable): Use it.
4063 (append_partial_itable): Updated.
4064 (layout_vtable_methods): Updated.
4066 2005-02-17 Michael Koch <konqueror@gmx.de>
4068 * gnu/java/net/PlainSocketImpl.java
4069 (shutdownInput): Added javadoc.
4070 (shutdownOutput): Likewise.
4072 2005-02-17 Michael Koch <konqueror@gmx.de>
4074 * javax/print/attribute/standard/Chromaticity.java,
4075 javax/print/attribute/standard/Destination.java,
4076 javax/print/attribute/standard/MediaPrintableArea.java,
4077 javax/print/attribute/standard/MediaSize.java: New files.
4078 * Makefile.am: Added new files.
4079 * Makefile.in: Regenerated.
4081 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4082 Michael Koch <konqueror@gmx.de>
4084 * gnu/java/net/protocol/http/Cookie.java,
4085 gnu/java/net/protocol/http/HTTPConnection.java,
4086 gnu/java/net/protocol/http/HTTPDateFormat.java,
4087 gnu/java/net/protocol/http/Request.java,
4088 gnu/java/nio/PipeImpl.java,
4089 gnu/java/rmi/dgc/DGCImpl.java,
4090 gnu/java/rmi/server/ConnectionRunnerPool.java,
4091 gnu/java/rmi/server/UnicastConnectionManager.java,
4092 gnu/java/security/der/DERWriter.java,
4093 gnu/java/security/pkcs/SignerInfo.java,
4094 gnu/java/security/provider/EncodedKeyFactory.java,
4095 gnu/java/security/provider/GnuDHPublicKey.java,
4096 gnu/java/security/provider/GnuDSAPrivateKey.java,
4097 gnu/java/security/provider/GnuDSAPublicKey.java,
4098 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4099 gnu/java/security/x509/X500DistinguishedName.java,
4100 gnu/java/security/x509/X509CRL.java,
4101 gnu/java/security/x509/X509CRLEntry.java,
4102 gnu/java/security/x509/X509Certificate.java,
4103 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4104 gnu/java/security/x509/ext/CertificatePolicies.java,
4105 gnu/java/security/x509/ext/PolicyConstraint.java,
4106 gnu/xml/dom/Consumer.java,
4107 gnu/xml/dom/DomCharacterData.java,
4108 gnu/xml/dom/DomDocument.java,
4109 gnu/xml/dom/DomDocumentBuilder.java,
4110 gnu/xml/dom/DomIterator.java,
4111 gnu/xml/dom/DomNode.java,
4112 gnu/xml/dom/DomXPathExpression.java,
4113 gnu/xml/dom/DomXPathResult.java,
4114 gnu/xml/dom/JAXPFactory.java,
4115 gnu/xml/pipeline/CallFilter.java,
4116 gnu/xml/pipeline/DomConsumer.java,
4117 gnu/xml/pipeline/LinkFilter.java,
4118 gnu/xml/pipeline/NSFilter.java,
4119 gnu/xml/pipeline/TeeConsumer.java,
4120 gnu/xml/pipeline/ValidationConsumer.java,
4121 gnu/xml/pipeline/WellFormednessFilter.java,
4122 gnu/xml/pipeline/XIncludeFilter.java,
4123 gnu/xml/pipeline/XsltFilter.java,
4124 gnu/xml/transform/ApplyImportsNode.java,
4125 gnu/xml/transform/Bindings.java,
4126 gnu/xml/transform/DocumentFunction.java,
4127 gnu/xml/transform/FormatNumberFunction.java,
4128 gnu/xml/transform/NodeNumberNode.java,
4129 gnu/xml/transform/NumberNode.java,
4130 gnu/xml/transform/Stylesheet.java,
4131 gnu/xml/transform/SystemPropertyFunction.java,
4132 gnu/xml/transform/Template.java,
4133 gnu/xml/transform/TemplatesImpl.java,
4134 gnu/xml/transform/TransformerImpl.java,
4135 gnu/xml/transform/ValueOfNode.java,
4136 gnu/xml/transform/XSLURIResolver.java,
4137 gnu/xml/util/DoParse.java,
4138 gnu/xml/util/Resolver.java,
4139 gnu/xml/xpath/Expr.java,
4140 gnu/xml/xpath/FunctionCall.java,
4141 gnu/xml/xpath/RelationalExpr.java,
4142 gnu/xml/xpath/Selector.java,
4143 gnu/xml/xpath/XPathParser.java:
4144 Reworked import statements, fixed modifier order and some little
4147 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4149 * java/nio/ByteBufferImpl.java (compact):
4150 Set position and limit even if no bytes were moved.
4152 2005-02-17 Michael Koch <konqueror@gmx.de>
4154 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4155 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4156 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4157 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4158 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4159 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4160 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4161 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4162 * java/nio/FloatBufferImpl.java (compact): Set position.
4163 * java/nio/CharBufferImpl.java (compact): Likewise.
4164 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4165 * java/nio/IntBufferImpl.java (compact): Likewise.
4166 * java/nio/LongBufferImpl.java (compact): Likewise.
4167 * java/nio/ShortBufferImpl.java (compact): Likewise.
4169 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4171 * java/nio/ByteBufferImpl.java,
4172 java/nio/CharBufferImpl.java,
4173 java/nio/DirectByteBufferImpl.java,
4174 java/nio/DoubleBufferImpl.java,
4175 java/nio/FloatBufferImpl.java,
4176 java/nio/IntBufferImpl.java,
4177 java/nio/LongBufferImpl.java,
4178 java/nio/MappedByteBufferImpl.java,
4179 java/nio/ShortBufferImpl.java
4180 (compact): Added explicit read-only check and invalidate mark.
4182 2005-02-17 Michael Koch <konqueror@gmx.de>
4184 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4185 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4186 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4187 gnu/java/awt/peer/gtk/GdkGraphics.java,
4188 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4189 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4190 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4191 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4192 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4193 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4194 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4195 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4196 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4197 gnu/java/awt/peer/gtk/GtkClipboard.java,
4198 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4199 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4200 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4201 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4202 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4203 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4204 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4205 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4206 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4207 gnu/java/awt/peer/gtk/GtkToolkit.java,
4208 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4209 java/applet/Applet.java,
4210 java/awt/AWTError.java,
4211 java/awt/AWTEvent.java,
4212 java/awt/AWTEventMulticaster.java,
4213 java/awt/AWTException.java,
4214 java/awt/AWTKeyStroke.java,
4215 java/awt/AWTPermission.java,
4216 java/awt/ActiveEvent.java,
4217 java/awt/Adjustable.java,
4218 java/awt/AlphaComposite.java,
4219 java/awt/AttributeValue.java,
4220 java/awt/BorderLayout.java,
4221 java/awt/BufferCapabilities.java,
4222 java/awt/Button.java,
4223 java/awt/Canvas.java,
4224 java/awt/CheckboxGroup.java,
4225 java/awt/CheckboxMenuItem.java,
4226 java/awt/Color.java,
4227 java/awt/ColorPaintContext.java,
4228 java/awt/Component.java,
4229 java/awt/ComponentOrientation.java,
4230 java/awt/Composite.java,
4231 java/awt/CompositeContext.java,
4232 java/awt/Container.java,
4233 java/awt/ContainerOrderFocusTraversalPolicy.java,
4234 java/awt/DefaultFocusTraversalPolicy.java,
4235 java/awt/Dialog.java,
4236 java/awt/Dimension.java,
4237 java/awt/DisplayMode.java,
4238 java/awt/EventQueue.java,
4239 java/awt/FileDialog.java,
4240 java/awt/FontFormatException.java,
4241 java/awt/Graphics.java,
4242 java/awt/Graphics2D.java,
4243 java/awt/GraphicsConfigTemplate.java,
4244 java/awt/GraphicsConfiguration.java,
4245 java/awt/GraphicsDevice.java,
4246 java/awt/GridBagLayout.java,
4247 java/awt/GridBagLayoutInfo.java,
4248 java/awt/GridLayout.java,
4249 java/awt/HeadlessException.java,
4250 java/awt/IllegalComponentStateException.java,
4251 java/awt/Image.java,
4252 java/awt/Insets.java,
4253 java/awt/ItemSelectable.java,
4254 java/awt/JobAttributes.java,
4255 java/awt/KeyEventDispatcher.java,
4256 java/awt/KeyEventPostProcessor.java,
4257 java/awt/KeyboardFocusManager.java,
4258 java/awt/Label.java,
4259 java/awt/LayoutManager.java,
4260 java/awt/MenuBar.java,
4261 java/awt/MenuComponent.java,
4262 java/awt/MenuContainer.java,
4263 java/awt/PageAttributes.java,
4264 java/awt/Paint.java,
4265 java/awt/PaintContext.java,
4266 java/awt/Panel.java,
4267 java/awt/Point.java,
4268 java/awt/Polygon.java,
4269 java/awt/PrintGraphics.java,
4270 java/awt/PrintJob.java,
4271 java/awt/Rectangle.java,
4272 java/awt/RenderingHints.java,
4273 java/awt/Shape.java,
4274 java/awt/Stroke.java,
4275 java/awt/SystemColor.java,
4276 java/awt/Toolkit.java,
4277 java/awt/Transparency.java,
4278 java/awt/Window.java,
4279 java/awt/color/CMMException.java,
4280 java/awt/color/ColorSpace.java,
4281 java/awt/color/ICC_ColorSpace.java,
4282 java/awt/color/ICC_Profile.java,
4283 java/awt/color/ProfileDataException.java,
4284 java/awt/datatransfer/FlavorTable.java,
4285 java/awt/datatransfer/MimeTypeParseException.java,
4286 java/awt/datatransfer/Transferable.java,
4287 java/awt/datatransfer/UnsupportedFlavorException.java,
4288 java/awt/dnd/Autoscroll.java,
4289 java/awt/dnd/DnDConstants.java,
4290 java/awt/dnd/DragGestureListener.java,
4291 java/awt/dnd/DragSourceAdapter.java,
4292 java/awt/dnd/DragSourceDropEvent.java,
4293 java/awt/dnd/DragSourceListener.java,
4294 java/awt/dnd/DragSourceMotionListener.java,
4295 java/awt/dnd/DropTargetAdapter.java,
4296 java/awt/dnd/DropTargetContext.java,
4297 java/awt/dnd/DropTargetListener.java,
4298 java/awt/dnd/InvalidDnDOperationException.java,
4299 java/awt/dnd/MouseDragGestureRecognizer.java,
4300 java/awt/dnd/peer/DropTargetContextPeer.java,
4301 java/awt/event/AWTEventListener.java,
4302 java/awt/event/AWTEventListenerProxy.java,
4303 java/awt/event/ActionEvent.java,
4304 java/awt/event/AdjustmentEvent.java,
4305 java/awt/event/AdjustmentListener.java,
4306 java/awt/event/ComponentAdapter.java,
4307 java/awt/event/ComponentEvent.java,
4308 java/awt/event/ComponentListener.java,
4309 java/awt/event/ContainerAdapter.java,
4310 java/awt/event/ContainerEvent.java,
4311 java/awt/event/ContainerListener.java,
4312 java/awt/event/FocusAdapter.java,
4313 java/awt/event/FocusEvent.java,
4314 java/awt/event/FocusListener.java,
4315 java/awt/event/InputEvent.java,
4316 java/awt/event/InputMethodEvent.java,
4317 java/awt/event/InputMethodListener.java,
4318 java/awt/event/InvocationEvent.java,
4319 java/awt/event/ItemEvent.java,
4320 java/awt/event/ItemListener.java,
4321 java/awt/event/KeyAdapter.java,
4322 java/awt/event/KeyEvent.java,
4323 java/awt/event/KeyListener.java,
4324 java/awt/event/MouseAdapter.java,
4325 java/awt/event/MouseEvent.java,
4326 java/awt/event/MouseListener.java,
4327 java/awt/event/MouseMotionAdapter.java,
4328 java/awt/event/MouseMotionListener.java,
4329 java/awt/event/MouseWheelEvent.java,
4330 java/awt/event/MouseWheelListener.java,
4331 java/awt/event/PaintEvent.java,
4332 java/awt/event/TextEvent.java,
4333 java/awt/event/TextListener.java,
4334 java/awt/event/WindowAdapter.java,
4335 java/awt/event/WindowEvent.java,
4336 java/awt/event/WindowFocusListener.java,
4337 java/awt/event/WindowListener.java,
4338 java/awt/event/WindowStateListener.java,
4339 java/awt/font/TextHitInfo.java,
4340 java/awt/geom/CubicCurve2D.java,
4341 java/awt/geom/Dimension2D.java,
4342 java/awt/geom/Ellipse2D.java,
4343 java/awt/geom/IllegalPathStateException.java,
4344 java/awt/geom/Line2D.java,
4345 java/awt/geom/NoninvertibleTransformException.java,
4346 java/awt/geom/PathIterator.java,
4347 java/awt/geom/Point2D.java,
4348 java/awt/geom/QuadCurve2D.java,
4349 java/awt/geom/RectangularShape.java,
4350 java/awt/geom/RoundRectangle2D.java,
4351 java/awt/im/InputContext.java,
4352 java/awt/im/InputMethodHighlight.java,
4353 java/awt/im/InputMethodRequests.java,
4354 java/awt/im/InputSubset.java,
4355 java/awt/im/spi/InputMethod.java,
4356 java/awt/im/spi/InputMethodDescriptor.java,
4357 java/awt/image/BandCombineOp.java,
4358 java/awt/image/BandedSampleModel.java,
4359 java/awt/image/ByteLookupTable.java,
4360 java/awt/image/ComponentSampleModel.java,
4361 java/awt/image/DataBuffer.java,
4362 java/awt/image/DataBufferByte.java,
4363 java/awt/image/DataBufferDouble.java,
4364 java/awt/image/DataBufferFloat.java,
4365 java/awt/image/DataBufferInt.java,
4366 java/awt/image/DataBufferShort.java,
4367 java/awt/image/DataBufferUShort.java,
4368 java/awt/image/ImagingOpException.java,
4369 java/awt/image/Kernel.java,
4370 java/awt/image/LookupTable.java,
4371 java/awt/image/MultiPixelPackedSampleModel.java,
4372 java/awt/image/PackedColorModel.java,
4373 java/awt/image/PixelInterleavedSampleModel.java,
4374 java/awt/image/RGBImageFilter.java,
4375 java/awt/image/Raster.java,
4376 java/awt/image/RasterFormatException.java,
4377 java/awt/image/SampleModel.java,
4378 java/awt/image/ShortLookupTable.java,
4379 java/awt/image/SinglePixelPackedSampleModel.java,
4380 java/awt/image/WritableRaster.java,
4381 java/awt/print/PrinterAbortException.java,
4382 java/awt/print/PrinterException.java,
4383 java/awt/print/PrinterIOException.java,
4384 java/beans/AppletInitializer.java,
4385 java/beans/ExceptionListener.java,
4386 java/beans/PropertyChangeEvent.java,
4387 java/beans/PropertyChangeListenerProxy.java,
4388 java/beans/PropertyChangeSupport.java,
4389 java/beans/PropertyDescriptor.java,
4390 java/beans/VetoableChangeListenerProxy.java,
4391 java/beans/VetoableChangeSupport.java,
4392 java/io/BufferedReader.java,
4393 java/io/ByteArrayInputStream.java,
4394 java/io/ByteArrayOutputStream.java,
4395 java/io/CharArrayReader.java,
4396 java/io/CharArrayWriter.java,
4397 java/io/CharConversionException.java,
4398 java/io/DataInput.java,
4399 java/io/DataInputStream.java,
4400 java/io/DataOutput.java,
4401 java/io/DataOutputStream.java,
4402 java/io/EOFException.java,
4403 java/io/FileInputStream.java,
4404 java/io/FileNotFoundException.java,
4405 java/io/FileOutputStream.java,
4406 java/io/FilenameFilter.java,
4407 java/io/FilterInputStream.java,
4408 java/io/FilterOutputStream.java,
4409 java/io/FilterReader.java,
4410 java/io/FilterWriter.java,
4411 java/io/IOException.java,
4412 java/io/InputStream.java,
4413 java/io/InterruptedIOException.java,
4414 java/io/LineNumberInputStream.java,
4415 java/io/LineNumberReader.java,
4416 java/io/ObjectInputStream.java,
4417 java/io/ObjectStreamException.java,
4418 java/io/OptionalDataException.java,
4419 java/io/OutputStream.java,
4420 java/io/OutputStreamWriter.java,
4421 java/io/PrintStream.java,
4422 java/io/PrintWriter.java,
4423 java/io/PushbackInputStream.java,
4424 java/io/PushbackReader.java,
4425 java/io/RandomAccessFile.java,
4426 java/io/Reader.java,
4427 java/io/SequenceInputStream.java,
4428 java/io/Serializable.java,
4429 java/io/StreamCorruptedException.java,
4430 java/io/StreamTokenizer.java,
4431 java/io/StringBufferInputStream.java,
4432 java/io/StringWriter.java,
4433 java/io/SyncFailedException.java,
4434 java/io/UTFDataFormatException.java,
4435 java/io/UnsupportedEncodingException.java,
4436 java/io/WriteAbortedException.java,
4437 java/io/Writer.java,
4438 java/lang/AbstractMethodError.java,
4439 java/lang/ArithmeticException.java,
4440 java/lang/ArrayIndexOutOfBoundsException.java,
4441 java/lang/ArrayStoreException.java,
4442 java/lang/AssertionError.java,
4443 java/lang/Boolean.java,
4444 java/lang/Byte.java,
4445 java/lang/Class.java,
4446 java/lang/ClassCastException.java,
4447 java/lang/ClassCircularityError.java,
4448 java/lang/ClassLoader.java,
4449 java/lang/ClassNotFoundException.java,
4450 java/lang/CloneNotSupportedException.java,
4451 java/lang/Cloneable.java,
4452 java/lang/Comparable.java,
4453 java/lang/Compiler.java,
4454 java/lang/Double.java,
4455 java/lang/Error.java,
4456 java/lang/Exception.java,
4457 java/lang/ExceptionInInitializerError.java,
4458 java/lang/Float.java,
4459 java/lang/IllegalAccessError.java,
4460 java/lang/IllegalAccessException.java,
4461 java/lang/IllegalArgumentException.java,
4462 java/lang/IllegalMonitorStateException.java,
4463 java/lang/IllegalStateException.java,
4464 java/lang/IllegalThreadStateException.java,
4465 java/lang/IncompatibleClassChangeError.java,
4466 java/lang/IndexOutOfBoundsException.java,
4467 java/lang/InheritableThreadLocal.java,
4468 java/lang/InstantiationError.java,
4469 java/lang/InstantiationException.java,
4470 java/lang/Integer.java,
4471 java/lang/InternalError.java,
4472 java/lang/InterruptedException.java,
4473 java/lang/LinkageError.java,
4474 java/lang/Long.java,
4475 java/lang/NegativeArraySizeException.java,
4476 java/lang/NoClassDefFoundError.java,
4477 java/lang/NoSuchFieldError.java,
4478 java/lang/NoSuchFieldException.java,
4479 java/lang/NoSuchMethodError.java,
4480 java/lang/NoSuchMethodException.java,
4481 java/lang/NullPointerException.java,
4482 java/lang/Number.java,
4483 java/lang/NumberFormatException.java,
4484 java/lang/OutOfMemoryError.java,
4485 java/lang/Process.java,
4486 java/lang/Runnable.java,
4487 java/lang/Runtime.java,
4488 java/lang/RuntimeException.java,
4489 java/lang/RuntimePermission.java,
4490 java/lang/SecurityException.java,
4491 java/lang/SecurityManager.java,
4492 java/lang/Short.java,
4493 java/lang/StackOverflowError.java,
4494 java/lang/StackTraceElement.java,
4495 java/lang/StringBuffer.java,
4496 java/lang/StringIndexOutOfBoundsException.java,
4497 java/lang/ThreadDeath.java,
4498 java/lang/ThreadGroup.java,
4499 java/lang/Throwable.java,
4500 java/lang/UnsatisfiedLinkError.java,
4501 java/lang/UnsupportedOperationException.java,
4502 java/lang/VerifyError.java,
4503 java/lang/VirtualMachineError.java,
4504 java/lang/reflect/AccessibleObject.java,
4505 java/lang/reflect/Array.java,
4506 java/lang/reflect/InvocationTargetException.java,
4507 java/lang/reflect/Member.java,
4508 java/lang/reflect/Modifier.java,
4509 java/lang/reflect/Proxy.java,
4510 java/lang/reflect/ReflectPermission.java,
4511 java/lang/reflect/UndeclaredThrowableException.java,
4512 java/math/BigInteger.java,
4513 java/net/NetworkInterface.java,
4514 java/nio/ByteBufferHelper.java,
4515 java/nio/ByteBufferImpl.java,
4516 java/nio/DirectByteBufferImpl.java,
4517 java/nio/DoubleBufferImpl.java,
4518 java/nio/FloatBufferImpl.java,
4519 java/nio/IntBufferImpl.java,
4520 java/nio/LongBufferImpl.java,
4521 java/nio/ShortBufferImpl.java,
4522 java/nio/channels/Channel.java,
4523 java/nio/channels/IllegalBlockingModeException.java,
4524 java/nio/charset/spi/CharsetProvider.java,
4525 java/security/AccessControlException.java,
4526 java/security/BasicPermission.java,
4527 java/security/DigestException.java,
4528 java/security/DigestInputStream.java,
4529 java/security/DigestOutputStream.java,
4530 java/security/GeneralSecurityException.java,
4531 java/security/Guard.java,
4532 java/security/GuardedObject.java,
4533 java/security/InvalidAlgorithmParameterException.java,
4534 java/security/InvalidKeyException.java,
4535 java/security/InvalidParameterException.java,
4536 java/security/Key.java,
4537 java/security/KeyException.java,
4538 java/security/KeyManagementException.java,
4539 java/security/KeyStoreException.java,
4540 java/security/MessageDigestSpi.java,
4541 java/security/NoSuchAlgorithmException.java,
4542 java/security/NoSuchProviderException.java,
4543 java/security/Permission.java,
4544 java/security/PermissionCollection.java,
4545 java/security/Permissions.java,
4546 java/security/Principal.java,
4547 java/security/PrivateKey.java,
4548 java/security/PrivilegedActionException.java,
4549 java/security/ProviderException.java,
4550 java/security/PublicKey.java,
4551 java/security/SecureRandom.java,
4552 java/security/SecureRandomSpi.java,
4553 java/security/SignatureException.java,
4554 java/security/SignatureSpi.java,
4555 java/security/SignedObject.java,
4556 java/security/Signer.java,
4557 java/security/UnrecoverableKeyException.java,
4558 java/security/UnresolvedPermission.java,
4559 java/security/acl/AclNotFoundException.java,
4560 java/security/acl/LastOwnerException.java,
4561 java/security/acl/NotOwnerException.java,
4562 java/security/cert/CertPath.java,
4563 java/security/cert/CertPathBuilderException.java,
4564 java/security/cert/CertPathValidatorException.java,
4565 java/security/cert/CertStoreException.java,
4566 java/text/BreakIterator.java,
4567 java/text/ChoiceFormat.java,
4568 java/text/CollationElementIterator.java,
4569 java/text/CollationKey.java,
4570 java/text/Collator.java,
4571 java/text/DateFormat.java,
4572 java/text/DateFormatSymbols.java,
4573 java/text/DecimalFormat.java,
4574 java/text/DecimalFormatSymbols.java,
4575 java/text/FieldPosition.java,
4576 java/text/Format.java,
4577 java/text/NumberFormat.java,
4578 java/text/ParseException.java,
4579 java/text/ParsePosition.java,
4580 java/text/StringCharacterIterator.java,
4581 java/util/AbstractCollection.java,
4582 java/util/AbstractList.java,
4583 java/util/AbstractMap.java,
4584 java/util/AbstractSequentialList.java,
4585 java/util/AbstractSet.java,
4586 java/util/ArrayList.java,
4587 java/util/Arrays.java,
4588 java/util/BitSet.java,
4589 java/util/Collection.java,
4590 java/util/Collections.java,
4591 java/util/Comparator.java,
4592 java/util/ConcurrentModificationException.java,
4593 java/util/Currency.java,
4594 java/util/Date.java,
4595 java/util/EmptyStackException.java,
4596 java/util/Enumeration.java,
4597 java/util/EventListener.java,
4598 java/util/EventListenerProxy.java,
4599 java/util/EventObject.java,
4600 java/util/HashMap.java,
4601 java/util/HashSet.java,
4602 java/util/Hashtable.java,
4603 java/util/IdentityHashMap.java,
4604 java/util/Iterator.java,
4605 java/util/LinkedHashSet.java,
4606 java/util/LinkedList.java,
4607 java/util/List.java,
4608 java/util/ListIterator.java,
4609 java/util/ListResourceBundle.java,
4611 java/util/MissingResourceException.java,
4612 java/util/NoSuchElementException.java,
4613 java/util/Observable.java,
4614 java/util/Observer.java,
4615 java/util/Properties.java,
4616 java/util/PropertyPermissionCollection.java,
4617 java/util/RandomAccess.java,
4619 java/util/SortedMap.java,
4620 java/util/SortedSet.java,
4621 java/util/Stack.java,
4622 java/util/StringTokenizer.java,
4623 java/util/TooManyListenersException.java,
4624 java/util/TreeMap.java,
4625 java/util/TreeSet.java,
4626 java/util/Vector.java,
4627 java/util/logging/FileHandler.java,
4628 java/util/logging/Level.java,
4629 java/util/prefs/BackingStoreException.java,
4630 java/util/prefs/InvalidPreferencesFormatException.java,
4631 java/util/prefs/Preferences.java,
4632 javax/accessibility/Accessible.java,
4633 javax/accessibility/AccessibleAction.java,
4634 javax/accessibility/AccessibleBundle.java,
4635 javax/accessibility/AccessibleComponent.java,
4636 javax/accessibility/AccessibleContext.java,
4637 javax/accessibility/AccessibleEditableText.java,
4638 javax/accessibility/AccessibleExtendedComponent.java,
4639 javax/accessibility/AccessibleExtendedTable.java,
4640 javax/accessibility/AccessibleHyperlink.java,
4641 javax/accessibility/AccessibleHypertext.java,
4642 javax/accessibility/AccessibleIcon.java,
4643 javax/accessibility/AccessibleKeyBinding.java,
4644 javax/accessibility/AccessibleRelation.java,
4645 javax/accessibility/AccessibleRelationSet.java,
4646 javax/accessibility/AccessibleResourceBundle.java,
4647 javax/accessibility/AccessibleRole.java,
4648 javax/accessibility/AccessibleSelection.java,
4649 javax/accessibility/AccessibleState.java,
4650 javax/accessibility/AccessibleStateSet.java,
4651 javax/accessibility/AccessibleTable.java,
4652 javax/accessibility/AccessibleTableModelChange.java,
4653 javax/accessibility/AccessibleText.java,
4654 javax/accessibility/AccessibleValue.java,
4655 javax/imageio/IIOException.java,
4656 javax/imageio/ImageIO.java,
4657 javax/imageio/spi/IIOServiceProvider.java,
4658 javax/imageio/spi/ImageInputStreamSpi.java,
4659 javax/imageio/spi/ImageOutputStreamSpi.java,
4660 javax/imageio/spi/ImageReaderWriterSpi.java,
4661 javax/imageio/spi/ImageTranscoderSpi.java,
4662 javax/imageio/spi/RegisterableService.java,
4663 javax/imageio/spi/ServiceRegistry.java,
4664 javax/imageio/stream/IIOByteBuffer.java,
4665 javax/imageio/stream/ImageInputStream.java,
4666 javax/imageio/stream/ImageOutputStream.java,
4667 javax/naming/Binding.java,
4668 javax/naming/CannotProceedException.java,
4669 javax/naming/CompositeName.java,
4670 javax/naming/CompoundName.java,
4671 javax/naming/LinkException.java,
4672 javax/naming/LinkRef.java,
4673 javax/naming/NameClassPair.java,
4674 javax/naming/Reference.java,
4675 javax/naming/ReferralException.java,
4676 javax/naming/directory/Attribute.java,
4677 javax/naming/directory/AttributeModificationException.java,
4678 javax/naming/directory/Attributes.java,
4679 javax/naming/directory/DirContext.java,
4680 javax/naming/directory/ModificationItem.java,
4681 javax/naming/directory/SearchControls.java,
4682 javax/naming/directory/SearchResult.java,
4683 javax/naming/event/EventContext.java,
4684 javax/naming/event/EventDirContext.java,
4685 javax/naming/event/NamespaceChangeListener.java,
4686 javax/naming/event/NamingExceptionEvent.java,
4687 javax/naming/event/NamingListener.java,
4688 javax/naming/event/ObjectChangeListener.java,
4689 javax/naming/ldap/Control.java,
4690 javax/naming/ldap/ExtendedResponse.java,
4691 javax/naming/ldap/HasControls.java,
4692 javax/naming/ldap/LdapContext.java,
4693 javax/naming/ldap/UnsolicitedNotification.java,
4694 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4695 javax/naming/ldap/UnsolicitedNotificationListener.java,
4696 javax/naming/spi/DirectoryManager.java,
4697 javax/naming/spi/ResolveResult.java,
4698 javax/naming/spi/Resolver.java,
4699 javax/security/auth/callback/Callback.java,
4700 javax/security/auth/callback/CallbackHandler.java,
4701 javax/security/auth/callback/ChoiceCallback.java,
4702 javax/security/auth/callback/ConfirmationCallback.java,
4703 javax/security/auth/callback/LanguageCallback.java,
4704 javax/security/auth/callback/NameCallback.java,
4705 javax/security/auth/callback/PasswordCallback.java,
4706 javax/security/auth/callback/TextInputCallback.java,
4707 javax/security/auth/callback/TextOutputCallback.java,
4708 javax/security/auth/callback/UnsupportedCallbackException.java,
4709 javax/security/sasl/Sasl.java,
4710 javax/security/sasl/SaslServerFactory.java,
4711 javax/swing/DefaultBoundedRangeModel.java,
4712 javax/swing/JComponent.java,
4713 javax/swing/JList.java,
4714 javax/swing/JProgressBar.java,
4715 javax/swing/JRadioButton.java,
4716 javax/swing/JTextArea.java,
4717 javax/swing/JTextField.java,
4718 javax/swing/JToggleButton.java,
4719 javax/swing/JTree.java,
4720 javax/swing/SpinnerListModel.java,
4721 javax/swing/event/EventListenerList.java,
4722 javax/swing/text/JTextComponent.java,
4723 javax/swing/text/StringContent.java,
4724 javax/swing/text/Utilities.java,
4725 javax/swing/undo/UndoManager.java,
4726 javax/swing/undo/UndoableEditSupport.java,
4727 javax/transaction/HeuristicCommitException.java,
4728 javax/transaction/HeuristicMixedException.java,
4729 javax/transaction/HeuristicRollbackException.java,
4730 javax/transaction/InvalidTransactionException.java,
4731 javax/transaction/NotSupportedException.java,
4732 javax/transaction/RollbackException.java,
4733 javax/transaction/Status.java,
4734 javax/transaction/Synchronization.java,
4735 javax/transaction/SystemException.java,
4736 javax/transaction/Transaction.java,
4737 javax/transaction/TransactionManager.java,
4738 javax/transaction/TransactionRequiredException.java,
4739 javax/transaction/TransactionRolledbackException.java,
4740 javax/transaction/UserTransaction.java,
4741 javax/transaction/xa/XAException.java,
4742 javax/transaction/xa/XAResource.java,
4743 javax/transaction/xa/Xid.java,
4744 javax/xml/XMLConstants.java,
4745 javax/xml/datatype/DatatypeConfigurationException.java,
4746 javax/xml/datatype/DatatypeConstants.java,
4747 javax/xml/datatype/DatatypeFactory.java,
4748 javax/xml/datatype/Duration.java,
4749 javax/xml/datatype/XMLGregorianCalendar.java,
4750 javax/xml/namespace/NamespaceContext.java,
4751 javax/xml/namespace/QName.java,
4752 javax/xml/parsers/DocumentBuilder.java,
4753 javax/xml/parsers/DocumentBuilderFactory.java,
4754 javax/xml/parsers/FactoryConfigurationError.java,
4755 javax/xml/parsers/ParserConfigurationException.java,
4756 javax/xml/parsers/SAXParser.java,
4757 javax/xml/parsers/SAXParserFactory.java,
4758 javax/xml/transform/ErrorListener.java,
4759 javax/xml/transform/OutputKeys.java,
4760 javax/xml/transform/Result.java,
4761 javax/xml/transform/Source.java,
4762 javax/xml/transform/SourceLocator.java,
4763 javax/xml/transform/Templates.java,
4764 javax/xml/transform/Transformer.java,
4765 javax/xml/transform/TransformerConfigurationException.java,
4766 javax/xml/transform/TransformerException.java,
4767 javax/xml/transform/TransformerFactory.java,
4768 javax/xml/transform/TransformerFactoryConfigurationError.java,
4769 javax/xml/transform/URIResolver.java,
4770 javax/xml/transform/dom/DOMLocator.java,
4771 javax/xml/transform/dom/DOMResult.java,
4772 javax/xml/transform/dom/DOMSource.java,
4773 javax/xml/transform/sax/SAXResult.java,
4774 javax/xml/transform/sax/SAXSource.java,
4775 javax/xml/transform/sax/SAXTransformerFactory.java,
4776 javax/xml/transform/sax/TemplatesHandler.java,
4777 javax/xml/transform/sax/TransformerHandler.java,
4778 javax/xml/transform/stream/StreamResult.java,
4779 javax/xml/transform/stream/StreamSource.java,
4780 javax/xml/validation/Schema.java,
4781 javax/xml/validation/SchemaFactory.java,
4782 javax/xml/validation/TypeInfoProvider.java,
4783 javax/xml/validation/Validator.java,
4784 javax/xml/validation/ValidatorHandler.java,
4785 javax/xml/xpath/XPathConstants.java,
4786 javax/xml/xpath/XPathException.java,
4787 javax/xml/xpath/XPathExpression.java,
4788 javax/xml/xpath/XPathExpressionException.java,
4789 javax/xml/xpath/XPathFactory.java,
4790 javax/xml/xpath/XPathFactoryConfigurationException.java,
4791 javax/xml/xpath/XPathFunction.java,
4792 javax/xml/xpath/XPathFunctionException.java,
4793 javax/xml/xpath/XPathFunctionResolver.java:
4794 Fixed usage of @author tag, reworked import statements,
4795 removed CVS tags, changed the modifier order and fixed
4796 HTML usage in javadocs.
4798 2005-02-16 Julian Scheid <julian@sektor37.de>
4800 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4802 (encodeLoop): Likewise.
4804 2005-02-16 Mark Wielaard <mark@klomp.org>
4806 * Makefile.am (ordinary_java_source_files): Add new files
4807 gnu/java/security/ber/BER.java,
4808 gnu/java/security/ber/BEREncodingException.java,
4809 gnu/java/security/ber/BERReader.java,
4810 gnu/java/security/ber/BERValue.java,
4811 gnu/java/security/pkcs/PKCS7SignedData.java and
4812 gnu/java/security/pkcs/SignerInfo.java.
4813 * Makefile.in: Regenerated.
4815 2005-02-16 Casey Marshall <csm@gnu.org>
4817 * gnu/java/security/provider/GnuDSAPrivateKey.java
4818 (encodedKey): new field.
4819 (getFormat): return "PKCS#8".
4820 (getEncoded): implemented.
4821 (toString): check for 'null' values.
4822 * gnu/java/security/provider/GnuDSAPublicKey.java
4823 (encodedKey): new field.
4824 (getFormat): return "X.509".
4825 (getEncoded): implemented.
4826 (toString): check for 'null' values.
4828 2005-02-16 Michael Koch <konqueror@gmx.de>
4830 * java/util/jar/JarFile.java: Imports reworked.
4832 2005-02-16 Mark Wielaard <mark@klomp.org>
4834 * java/util/jar/JarFile.java (verify): Make package private.
4835 (signaturesRead): Likewise.
4836 (verified): Likewise.
4837 (entryCerts): Likewise.
4840 (entries): Construct new JarEnumeration with reference to this.
4841 (JarEnumeration): Make static.
4842 (JarEnumeration.jarfile): New field.
4843 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4844 Compare verified value to Boolean.TRUE or Boolean.False only
4845 when verify is true.
4846 (getEntry): Make synchronized. Compare value of verified to
4848 (getInputStream): Construct EntryInputStream with reference to this.
4849 (getManifest): Make synchronized.
4850 (EntryInputStream): Make static.
4851 (EntryInputStream.jarfile): New field.
4852 (EntryInputStream.EntryInputStream): Check if manifest exists,
4853 before getting attributes.
4854 (eof): Synchronize on jarfile.
4856 2005-02-16 Casey Marshall <csm@gnu.org>
4858 * java/util/jar/JarFile.java (verify): return if the jar is signed
4859 with an unsupported algorithm.
4861 2005-02-16 Mark Wielaard <mark@klomp.org>
4863 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4864 InputStream as argument.
4865 (getInputStream): Construct a new EntryInputStream with the result of
4866 super.getInputStream(entry).
4868 2005-02-16 Casey Marshall <csm@gnu.org>
4870 Signed JAR file support.
4871 * java/net/URLClassLoader.java
4872 (JarURLResource.getCertificates): re-read jar entry to ensure
4873 certificates are picked up.
4874 (findClass): fill in class `signers' field, too.
4875 * java/util/jar/JarFile.java (META_INF): new constant.
4876 (PKCS7_DSA_SUFFIX): new constant.
4877 (PKCS7_RSA_SUFFIX): new constant.
4878 (DIGEST_KEY_SUFFIX): new constant.
4879 (SF_SUFFIX): new constant.
4880 (MD2_OID): new constant.
4881 (MD4_OID): new constant.
4882 (MD5_OID): new constant.
4883 (SHA1_OID): new constant.
4884 (DSA_ENCRYPTION_OID): new constant.
4885 (RSA_ENCRYPTION_OID): new constant.
4886 (signaturesRead): new field.
4887 (verified): new field.
4888 (entryCerts): new field.
4889 (DEBUG): new constant.
4890 (debug): new method.
4891 (JarEnumeration.nextElement): fill in entry certificates, read
4892 signatures if they haven't been read.
4893 (getEntry): likewise.
4894 (getInputStream): verify stream if it hasn't been verified yet.
4895 (readSignatures): new method.
4896 (verify): new method.
4897 (verifyHashes): new method.
4898 (readManifestEntry): new method.
4899 (EntryInputStream): new class.
4900 * gnu/java/io/Base64InputStream.java (decode): new class
4902 * gnu/java/security/der/DERReader.java don't make class
4904 (in): made protected.
4906 (readLength): likewise.
4907 * gnu/java/security/ber/BER.java,
4908 * gnu/java/security/ber/BEREncodingException.java,
4909 * gnu/java/security/ber/BERReader.java,
4910 * gnu/java/security/ber/BERValue.java,
4911 * gnu/java/security/pkcs/PKCS7SignedData.java,
4912 * gnu/java/security/pkcs/SignerInfo.java:
4915 2005-02-16 Tom Tromey <tromey@redhat.com>
4917 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4918 copied file on exit.
4920 2005-02-15 Mark Wielaard <mark@klomp.org>
4922 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4924 2005-02-15 Michael Koch <konqueror@gmx.de>
4926 * gnu/java/awt/peer/gtk/GtkArg.java,
4927 gnu/java/awt/peer/gtk/GtkArgList.java:
4930 2005-02-15 Craig Black <craig.black@aonix.com>
4932 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4933 (postMenuActionEvent): Implement to notify ItemListeners.
4934 * java/awt/CheckboxMenuItem.java
4935 (dispatchEventImpl): Update state on ItemEvent.
4936 * java/awt/MenuItem.java
4937 (processActionEvent): Retarget event source.
4939 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4941 * gnu/java/awt/color/ClutProfileConverter.java,
4942 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4943 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4944 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4945 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4946 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4947 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4948 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4949 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4950 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4951 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4952 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4953 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4954 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4955 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4956 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4957 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4958 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4959 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4960 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4961 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4962 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4963 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4964 gnu/java/awt/peer/gtk/GtkToolkit.java,
4965 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4966 javax/swing/JPopupMenu.java,
4967 javax/swing/JSpinner.java,
4968 javax/swing/SortingFocusTraversalPolicy.java,
4969 javax/swing/SwingUtilities.java,
4970 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4971 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4972 javax/swing/tree/DefaultMutableTreeNode.java:
4973 Removed unused imports and expanded starred
4976 2005-02-15 Mark Wielaard <mark@klomp.org>
4978 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4979 IllegalArgumentException when the given String is null.
4981 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4982 when given keystoke sequence cannot be parsed.
4984 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4985 if one is installed. Only install the given menubar is not null.
4987 * javax/swing/JViewport.java (getViewSize): Return an empty
4988 Dimension when the view isn't set or preferred component size when
4991 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4992 empty Dimension when there is no view set.
4993 (minimumLayoutSize): Likewise.
4994 (layoutContainer): Don't try to layout when there is no view.
4996 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4999 * include/jawt.h: Likewise.
5000 * include/jawt_md.h: Likewise.
5001 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5003 * jni/classpath/classpath_jawt.h: Likewise.
5004 * jni/gtk-peer/gtk_jawt.c: Likewise.
5005 * Makefile.am: Build libjawt.so.
5007 2005-02-15 Michael Koch <konqueror@gmx.de>
5009 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5010 Merged file header with classpath CVS head.
5011 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5012 Merged code formatting with classpath CVS head.
5013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5015 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5016 Handle special JNI strings with 2 '\0' at the end.
5017 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5018 Merged file header with classpath CVS head.
5019 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5020 Merged code formatting with classpath CVS head.
5022 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5025 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5026 (handle_response): Use GTK_RESPONSE_ACCEPT.
5028 2005-02-15 Graydon Hoare <graydon@redhat.com>
5030 * Makefile.am: Fix library build breakage.
5031 * Makefile.in: Regenerate.
5033 2005-02-15 Michael Koch <konqueror@gmx.de>
5035 * javax/swing/JTabbedPane.java
5036 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5038 2005-02-15 Michael Koch <konqueror@gmx.de>
5040 * javax/swing/tree/DefaultMutableTreeNode.java:
5041 Reworked Javadocs all over.
5042 (getPathToRoot): Fixed direction of result array initialization.
5044 2005-02-15 Michael Koch <konqueror@gmx.de>
5046 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5047 Fix includes for cairo 0.3.0 snappshot.
5048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5049 Merged file header from classpath CVS HEAD.
5051 2005-02-15 Craig Black <craig.black@aonix.com>
5053 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5054 (copyState): Pass a JNI global reference to signal handler.
5055 (realize_cb): Use and free JNI global reference.
5056 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5057 (create): Pass a JNI global reference to signal handler.
5058 (selection_changed): Match declaration.
5059 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5060 (dispose): Do not remove entries from state tables until after widget is
5063 2005-02-15 Michael Koch <konqueror@gmx.de>
5065 * java/awt/Container.javai (paramString):
5066 If layoutMgr is null just return result of super.paramString().
5067 * java/awt/Scrollbar.java: Reformatted.
5068 * java/awt/im/InputContext.java (static):
5069 Removed redundant initializations.
5071 2005-02-15 Michael Koch <konqueror@gmx.de>
5073 * javax/swing/ImageIcon.java,
5074 javax/swing/UIManager.java,
5075 javax/swing/text/EditorKit.java,
5076 javax/swing/text/Segment.java:
5077 More whitespace cleanups.
5079 2005-02-15 Michael Koch <konqueror@gmx.de>
5081 * gnu/java/awt/EmbeddedWindow.java,
5082 gnu/java/awt/image/ImageDecoder.java,
5083 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5084 java/awt/DefaultKeyboardFocusManager.java,
5085 java/awt/Frame.java,
5086 java/awt/image/RGBImageFilter.java,
5087 javax/swing/AbstractButton.java,
5088 javax/swing/ActionMap.java,
5089 javax/swing/ComponentInputMap.java,
5090 javax/swing/DefaultDesktopManager.java,
5091 javax/swing/ImageIcon.java,
5092 javax/swing/InputMap.java,
5093 javax/swing/JButton.java,
5094 javax/swing/JCheckBox.java,
5095 javax/swing/JCheckBoxMenuItem.java,
5096 javax/swing/JEditorPane.java,
5097 javax/swing/JMenu.java,
5098 javax/swing/JMenuItem.java,
5099 javax/swing/JOptionPane.java,
5100 javax/swing/JRootPane.java,
5101 javax/swing/JTable.java,
5102 javax/swing/MenuSelectionManager.java,
5103 javax/swing/RepaintManager.java,
5104 javax/swing/ScrollPaneLayout.java,
5105 javax/swing/SortingFocusTraversalPolicy.java,
5106 javax/swing/UIManager.java,
5107 javax/swing/ViewportLayout.java,
5108 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5109 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5110 javax/swing/plaf/basic/BasicLabelUI.java,
5111 javax/swing/plaf/basic/BasicListUI.java,
5112 javax/swing/plaf/basic/BasicMenuItemUI.java,
5113 javax/swing/plaf/basic/BasicMenuUI.java,
5114 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5115 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5116 javax/swing/plaf/basic/BasicRootPaneUI.java,
5117 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5118 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5119 javax/swing/plaf/basic/BasicTextUI.java,
5120 javax/swing/table/TableColumnModel.java,
5121 javax/swing/text/AbstractDocument.java,
5122 javax/swing/text/EditorKit.java,
5123 javax/swing/text/Position.java,
5124 javax/swing/text/Segment.java,
5125 javax/swing/text/StyledEditorKit.java,
5126 javax/swing/text/ViewFactory.java:
5127 Cleanup whitespace differences to classpath CVS HEAD.
5129 2005-02-15 Graydon Hoare <graydon@redhat.com>
5131 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5132 (finalize): Call finish from here.
5133 (produce): Not from here.
5134 * Makefile.am (gtk_c_source_files):
5135 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5136 * Makefile.in: Regenerate.
5137 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5139 (cairoDrawGdkTextLayout):
5141 (getPeerTextMetrics):
5142 (getPeerFontMetrics): Remove.
5143 (setFont): Don't call cairoSetFont.
5144 (cairoDrawGlyphVector): Accept font peer argument.
5145 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5147 (ensure_metrics_cairo):
5148 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5149 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5150 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5151 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5153 (metrics_surface): Remove.
5154 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5155 Pass and install font peer.
5157 2005-02-15 Graydon Hoare <graydon@redhat.com>
5159 * Makefile.am: Create "split library" structure.
5160 * Makefile.in: Regenerate.
5162 2005-02-15 Graydon Hoare <graydon@redhat.com>
5164 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5165 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5166 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5168 Release GDK lock during upcalls.
5170 2005-02-15 Graydon Hoare <graydon@redhat.com>
5172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5173 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5174 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5175 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5176 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5177 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5178 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5181 (getTextMetrics): New native methods.
5182 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5183 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5184 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5185 * Makefile.in: Regenerate.
5187 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5189 * javax/swing/SwingUtilities.java:
5190 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5191 Implemented and documented.
5192 (getAccessibleChild(java.awt.Component, int)): Likewise.
5193 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5194 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5195 (getAccessibleStateSet(java.awt.Component)): Likewise.
5197 2005-02-15 Michael Koch <konqueror@gmx.de>
5199 * javax/swing/SwingUtilities.java
5200 (getFontMetrics): Removed.
5202 2005-02-15 Michael Koch <konqueror@gmx.de>
5204 * java/awt/Container.java
5205 (paramString): Implemented.
5206 * javax/swing/AbstractButton.java
5207 (paramString): Implemented.
5208 * javax/swing/JComponent.java
5209 (paramString): Implemented.
5210 * javax/swing/JMenu.java
5211 (paramString): Implemented.
5212 * javax/swing/JMenuBar.java
5213 (paramString): Implemented.
5214 * javax/swing/JMenuItem.java
5215 (paramString): Implemented.
5216 * javax/swing/JPopupMenu.java
5217 (paramString): Implemented.
5219 2005-02-15 Michael Koch <konqueror@gmx.de>
5221 * javax/swing/JMenu.java
5222 (uiClassID): Removed.
5223 (JMenu): Set invoker on popup menu.
5224 (getUIClassID): Return id directly.
5225 (getItemCount): Simply return getMenuComponentCount().
5227 (isTopLevelMenu): Simplified.
5228 * javax/swing/JMenuItem.java
5229 (uiClassID): Removed.
5230 (getUIClassID): Return id directly.
5231 * javax/swing/JPopupMenu.java
5232 (uiClassID): Removed.
5233 (JPopupMenu): Always initialize correctly.
5234 (getSubElements): Only return components implementing MenuElement
5236 (HeavyWeightPopup.hide): Removed.
5238 2005-02-15 Michael Koch <konqueror@gmx.de>
5240 * java/awt/image/ReplicateScaleFilter.java
5241 (replicatePixels): Made private.
5242 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5243 (DefaultRGBChooserPanel): Made package private.
5244 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5245 (RecentSwatchPanel): Likewise.
5246 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5247 (MouseInputAdapter): Made abstract.
5248 * javax/swing/tree/DefaultMutableTreeNode.java
5250 (growTree): Likewise.
5252 2005-02-15 Michael Koch <konqueror@gmx.de>
5254 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5257 2005-02-15 Michael Koch <konqueror@gmx.de>
5259 * javax/swing/JComponent.java (getComponentGraphics):
5260 Removed accidently commited code.
5262 2005-02-15 Graydon Hoare <graydon@redhat.com>
5264 * java/awt/dnd/DropTarget.java
5265 (addDropTargetListener): Despite documentation, do not throw.
5266 * javax/swing/JComponent.java: Set a default DropTarget.
5268 2005-02-15 Michael Koch <konqueror@gmx.de>
5270 * javax/swing/AbstractAction.java
5271 (ENABLED_PROPERTY): Removed.
5272 (setEnabled): Replaced constant with real string.
5273 * javax/swing/AbstractButton.java
5274 (createActionPropertyChangeListener.propertyChange): Likewise.
5275 * javax/swing/JComboBox.java
5276 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5277 (EDITABLE_CHANGED_PROPERTY): Removed.
5278 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5279 (ENABLED_CHANGED_PROPERTY):Likewise.
5280 (RENDERER_CHANGED_PROPERTY):Likewise.
5281 (EDITOR_CHANGED_PROPERTY):Likewise.
5282 (MODEL_CHANGED_PROPERTY):Likewise.
5283 (uiClassID):Likewise.
5284 (getUIClassID): Replaced constant with real string.
5285 (setModel):Likewise.
5286 (setEditable):Likewise.
5287 (setMaximumRowCount):Likewise.
5288 (setRenderer):Likewise.
5289 (setEditor):Likewise.
5290 (setEnabled):Likewise.
5291 * javax/swing/JLabel.java
5292 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5293 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5294 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5295 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5296 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5297 (ICON_CHANGED_PROPERTY): Likewise.
5298 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5299 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5300 (TEXT_CHANGED_PROPERTY): Likewise.
5301 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5302 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5303 (setText): Replaced constant with real string.
5304 (setIcon): Likewise.
5305 (setDisabledIcon): Likewise.
5306 (setDisplayedMnemonic): Likewise.
5307 (setIconTextGap): Likewise.
5308 (setVerticalAlignment): Likewise.
5309 (setHorizontalAlignment): Likewise.
5310 (setVerticalTextPosition): Likewise.
5311 (setHorizontalTextPosition): Likewise.
5312 (setLabelFor): Replaced constant with real string.
5313 Fire property change event after property got changed.
5314 * javax/swing/JList.java
5315 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5316 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5317 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5318 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5319 (MODEL_PROPERTY_CHANGED): Likewise.
5320 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5321 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5322 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5323 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5324 (setFixedCellWidth): Reimplemented.
5325 (setFixedCellHeight): Exit if new value is identical.
5326 Replaced constant with real string.
5327 (setSelectionBackground): Likewise.
5328 (setSelectionForeground): Likewise.
5329 (setPrototypeCellValue): Likewise.
5330 (setCellRenderer): Replaced constant with real string.
5331 (setModel): Likewise.
5332 (setSelectionModel): Likewise.
5333 * javax/swing/JMenuBar.java
5334 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5335 (MODEL_CHANGED_PROPERTY): Likewise.
5336 (MARGIN_CHANGED_PROPERTY): Likewise.
5337 (setBorderPainted): Reimplemented.
5338 (setMargin): Likewise.
5339 (setSelectionModel): Replaced constant with real string.
5340 * javax/swing/JPopupMenu.java
5341 (LABEL_CHANGED_PROPERTY): Removed.
5342 (VISIBLE_CHANGED_PROPERTY): Likewise.
5343 (borderPainted): Likewise.
5344 (setLabel): Replaced constant with real string.
5345 (setVisible): Exit if new value is identical.
5346 Replaced constant with real string.
5347 * javax/swing/JProgressBar.java
5348 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5349 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5350 (STRING_CHANGED_PROPERTY): Likewise.
5351 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5352 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5353 (setOrientation): Replaced constant with real string.
5354 (setStringPainted): Likewise.
5355 (setString): Likewise.
5356 (setBorderPainted): Likewise.
5357 (setIndeterminate): Likewise.
5358 * javax/swing/JScrollBar.java
5359 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5360 (MODEL_CHANGED_PROPERTY): Likewise.
5361 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5362 (setOrientation): Replaced constant with real string.
5363 (setModel): Likewise.
5364 (setUnitIncrement): Likewise.
5365 (setBlockIncrement): Likewise.
5366 * javax/swing/JScrollPane.java
5367 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5368 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5369 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5370 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5371 (LAYOUT_CHANGED_PROPERTY): Likewise.
5372 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5373 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5374 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5375 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5376 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5377 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5378 (setComponentOrientation): Replaced constant with real string.
5379 (setColumnHeader): Likewise.
5380 (setHorizontalScrollBar): Likewise.
5381 (setHorizontalScrollBarPolicy): Likewise.
5382 (setRowHeader): Likewise.
5383 (setVerticalScrollBar): Likewise.
5384 (setVerticalScrollBarPolicy): Likewise.
5385 (setWheelScrollingEnabled): Likewise.
5386 (setViewport): Likewise.
5387 (setViewportBorder): Likewise.
5388 * javax/swing/JSlider.java
5389 (INVERTED_CHANGED_PROPERTY): Removed.
5390 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5391 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5392 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5393 (MODEL_CHANGED_PROPERTY): Likewise.
5394 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5395 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5396 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5397 (setModel): Replaced constant with real string.
5398 (setOrientation): Likewise.
5399 (setLabelTable): Likewise.
5400 (setInverted): Likewise.
5401 (setMajorTickSpacing): Likewise.
5402 (setMinorTickSpacing): Likewise.
5403 (setPaintTicks): Likewise.
5404 (setPaintLabels): Likewise.
5405 * javax/swing/JTabbedPane.java
5406 (MODEL_CHANGED_PROPERTY): Removed.
5407 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5408 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5409 (setModel): Replaced constant with real string.
5410 (setTabPlacement): Likewise.
5411 (setTabLayoutPolicy): Likewise.
5412 * javax/swing/JToolBar.java
5413 (ORIENTATION_CHANGED_PROPERTY): Removed.
5414 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5415 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5416 (MARGIN_CHANGED_PROPERTY): Likewise.
5417 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5418 (setRollover): Replaced constant with real string.
5419 (setMargin): Likewise.
5420 (setBorderPainted): Likewise.
5421 (setFloatable): Likewise.
5422 (setOrientation): Likewise.
5423 * javax/swing/plaf/basic/BasicComboBoxUI.java
5424 (PropertyChangeHandler.propertyChange): Likewise.
5425 * javax/swing/plaf/basic/BasicComboPopup.java
5426 (PropertyChangeHandler.propertyChange): Likewise.
5427 * javax/swing/plaf/basic/BasicMenuBarUI.java
5428 (PropertyChangeHandler.propertyChange): Likewise.
5429 * javax/swing/plaf/basic/BasicProgressBarUI.java
5430 (PropertyChangeHandler.propertyChange): Likewise.
5431 * javax/swing/plaf/basic/BasicScrollBarUI.java
5432 (PropertyChangeHandler.propertyChange): Likewise.
5433 * javax/swing/plaf/basic/BasicSliderUI.java
5434 (PropertyChangeHandler.propertyChange): Likewise.
5435 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5436 (PropertyChangeHandler.propertyChange): Likewise.
5437 * javax/swing/plaf/basic/BasicToolBarUI.java
5438 (PropertyChangeHandler.propertyChange): Likewise.
5440 2005-02-15 Michael Koch <konqueror@gmx.de>
5442 * javax/swing/DefaultButtonModel.java
5443 (changeState): Made private.
5444 * javax/swing/DefaultDesktopManager.java
5445 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5446 * javax/swing/JLayeredPane.java
5447 (layerToRange): Made private.
5448 (incrLayer): Likewise.
5449 (decrLayer): Likewise.
5450 * javax/swing/JTable.java
5451 (dragEnabled): Likewise.
5452 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5453 * javax/swing/KeyStroke.java
5454 (Keystroke): Made private.
5455 * javax/swing/TransferHandler.java
5456 (COMMAND_COPY): Likewise.
5457 (COMMAND_CUT): Likewise.
5458 (COMMAND_PASTE): Likewise.
5460 2005-02-15 Michael Koch <konqueror@gmx.de>
5462 * javax/swing/JTextField.java
5463 (postActionEvent): Use text in field when actionCommand is null.
5464 (getActionCommand): Removed.
5466 2005-02-15 Michael Koch <konqueror@gmx.de>
5468 * javax/swing/AbstractSet.java: Removed.
5469 * Makefile.am: Removed javax/swing/AbstractSet.java.
5470 * Makefile.in: Regenerated.
5472 2005-02-15 Michael Koch <konqueror@gmx.de>
5474 * java/awt/Window.java
5475 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5476 * java/awt/dnd/DnDConstants.java
5477 (DnDConstants): New private constructor.
5479 2005-02-15 Michael Koch <konqueror@gmx.de>
5481 * javax/swing/DefaultCellRenderer.java: Removed.
5482 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5483 * Makefile.in: Regenerated.
5485 2005-02-15 Michael Koch <konqueror@gmx.de>
5487 * javax/swing/AbstractButton.java
5488 (fireItemStateChanged): Made protected.
5489 (fireActionPerformed): Likewise.
5490 (fireStateChanged): Likewise.
5491 * javax/swing/DefaultButtonModel.java
5492 (fireItemStateChanged): Likewise.
5493 (fireActionPerformed): Likewise.
5494 (fireStateChanged): Likewise.
5495 * javax/swing/JApplet.java
5497 (frameInit): Likewise.
5498 (setRootPane): Made protected.
5499 (createRootPane): Likewise.
5500 * javax/swing/JComponent.java
5501 (getClientProperty): Likewise.
5502 (putClientProperty): Likewise.
5503 * javax/swing/JEditorPane.java
5504 (getContentType): Likewise.
5505 (setContentType): Likewise.
5506 * javax/swing/JFrame.java
5507 (setRootPane): Likewise.
5508 (createRootPane): Likewise.
5509 * javax/swing/JInternalFrame.java
5510 (getFocusCycleRootAncestor): Made final. Added @since tag.
5511 (isFocusCycleRoot): Likewise.
5512 (getWarningString): Made final.
5513 * javax/swing/JScrollBar.java
5514 (changeListener): Removed.
5515 (changeEvent): Likewise.
5516 (createChangeListener): Likewise.
5517 (fireStateChanged): Likewise.
5518 (addChangeListener): Likewise.
5519 (removeChangeListener): Likewise.
5520 (getChangeListeners): Likewise.
5521 * javax/swing/JScrollPane.java
5522 (createViewport): Made protected.
5523 * javax/swing/JViewport.java
5524 (addImpl): Likewise.
5525 (setBorder): New method.
5526 * javax/swing/JWindow.java
5527 (setRootPane): Made protected.
5528 (createRootPane): Likewise.
5529 * javax/swing/plaf/basic/BasicButtonUI.java
5530 (installListeners): Likewise.
5531 (uninstallListeners): Likewise.
5532 * javax/swing/plaf/basic/BasicProgressBarUI.java
5533 (incrementAnimationIndex): Likewise.
5534 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5535 (createLayoutManager): Likewise.
5536 * javax/swing/table/DefaultTableCellRenderer.java
5537 (firePropertyChange): Likewise.
5538 * javax/swing/table/JTableHeader.java
5539 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5541 * javax/swing/text/PlainDocument.java
5542 (reindex): Made private.
5543 * javax/swing/text/PlainView.java
5544 (drawLine): Made protected.
5545 (getTabSize): Likewise.
5546 * javax/swing/text/View.java
5548 (preferenceChanged): New method.
5549 (getBreakWeight): Likewise.
5550 (breakView): Likewise.
5551 (getViewIndex): Likewise.
5553 2005-02-15 Michael Koch <konqueror@gmx.de>
5555 * javax/swing/JScrollPane.java
5556 (ScrollBar): Made class protected.
5557 * javax/swing/JSpinner.java
5558 (JSpinner): Added @since tag.
5559 (listenerList): Removed.
5560 * javax/swing/JTable.java
5561 (setValueAt): New method.
5562 (getColumn): Likewise.
5563 * javax/swing/JWindow.java
5564 (rootPaneCheckingEnabled): Renamed from checking.
5566 2005-02-15 Michael Koch <konqueror@gmx.de>
5568 * javax/swing/plaf/basic/BasicTextUI.java
5569 (RootView.modelToView): Made it public and return a java.awt.Shape.
5570 Handle null subview.
5571 (uninstall): Set textComponent to null when its not possible used
5573 * javax/swing/text/View.java
5574 (setParent): Use better argument name.
5575 (getContainer): Get parent via getParent().
5576 (getViewFactory): Likewise.
5577 (getAttributes): Get element via getElement().
5578 (getStartOffset): Likewise.
5579 (getEndOffset): Likewise.
5580 (getResizeWeight): New method.
5581 (getMaximumSpan): Likewise.
5582 (getMinimumSpan): Likewise.
5583 (setSize): Likewise.
5584 (getGraphics): Likewise.
5586 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5588 * java/awt/Checkbox.java:
5589 (AccessibleAWTCheckbox()): Added public constructor
5591 * java/awt/Choice.java:
5592 (AccessibleAWTChoice): Added class documentation.
5593 (AccessibleAWTChoice()): Added public constructor
5595 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5596 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5597 and changed role to COMBO_BOX.
5598 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5599 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5600 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5602 2005-02-15 Graydon Hoare <graydon@redhat.com>
5603 Michael Koch <konqueror@gmx.de>
5605 * javax/swing/LayoutFocusTraversalPolicy.java,
5606 javax/swing/SortingFocusTraversalPolicy.java:
5608 * Makefile.am: Added new classes.
5609 * Makefike.in: Regenerated.
5612 2005-02-15 Michael Koch <konqueror@gmx.de>
5614 * javax/swing/DebugGraphics.java: Mostly implemented.
5616 2005-02-15 Michael Koch <konqueror@gmx.de>
5618 * javax/swing/SwingUtilities.java
5619 (findFocusOwner): New method.
5621 2005-02-15 Michael Koch <konqueror@gmx.de>
5623 * javax/swing/text/DefaultEditorKit.java
5624 (read): Added '\n' after each line.
5625 * javax/swing/text/PlainView.java
5626 (modelToView): Update metrics.
5627 (drawLine): Use offsets from element.
5628 (paint): Update metrics. Draw all lines.
5630 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5632 * java/awt/Checkbox.java:
5633 (AccessibleAWTCheckbox): Added class documentation
5634 * java/awt/Scrollbar.java:
5635 (AccessibleAWTScrollBar): typo corrected and docs added
5636 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5637 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5638 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5639 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5640 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5641 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5642 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5643 (getAccessibleContext()): name of accessible class corrected
5645 2005-02-15 Mark Wielaard <mark@klomp.org>
5647 * java/awt/BasicStroke.java (hashCode): Implement.
5650 2005-02-15 Michael Koch <konqueror@gmx.de>
5652 * java/awt/print/PrinterJob.java
5653 (pageDialog): Throws java.awt.HeadlessException.
5654 (printDialog): Likewise.
5656 2005-02-15 Mark Wielaard <mark@klomp.org>
5658 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5660 2005-02-15 Michael Koch <konqueror@gmx.de>
5662 * javax/swing/JTable.java
5663 (getValueAt): New method.
5664 * javax/swing/table/JTableHeader.java
5665 (columnAtPoint): New method.
5667 2005-02-15 Michael Koch <konqueror@gmx.de>
5669 * javax/swing/JTextField.java
5670 (actions): New field.
5671 (static): Initalize actions field.
5672 (getActions): New method.
5674 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5676 * java/awt/Checkbox.java:
5677 (AccessibleAWTCheckbox): name capitalization corrected
5678 and serialization UID added.
5679 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5681 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5682 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5683 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5684 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5685 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5686 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5687 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5688 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5689 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5690 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5691 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5693 (getAccessibleContext()): name of accessible class corrected
5695 2005-02-15 Sven de Marothy <sven@physto.se>
5697 * java/awt/geom/doc-files/Area-1.png,
5698 java/awt/geom/doc-files/Ellipse-1.png,
5699 java/awt/geom/doc-files/GeneralPath-1.png:
5702 2005-02-15 Graydon Hoare <graydon@redhat.com>
5704 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5705 Use union to avoid type-punning warning.
5707 2005-02-15 Michael Koch <konqueror@gmx.de>
5709 * javax/swing/DefaultListSelectionModel.java
5710 (clone): New method.
5712 2005-02-15 Mark Wielaard <mark@klomp.org>
5714 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5715 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5716 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5717 Correct method signature of gtkSetFilename.
5719 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5721 * javax/swing/text/StringContent.java: New file.
5723 2005-02-15 Michael Koch <konqueror@gmx.de>
5725 * Makefile.am: Added javax/swing/text/StringContent.java.
5726 * Makefile.in: Regenerated.
5728 2005-02-15 Michael Koch <konqueror@gmx.de>
5730 * gnu/java/awt/ClasspathToolkit.java:
5731 Import statements reworked.
5732 (imageCache): Made it of type java.util.HashMap.
5734 2005-02-15 Michael Koch <konqueror@gmx.de>
5736 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5737 Reworked import statements.
5739 2005-02-15 Graydon Hoare <graydon@redhat.com>
5741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5742 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5743 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5744 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5747 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5748 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5750 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5751 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5755 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5756 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5757 Rewrite uses of extern variable to be function calls.
5758 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5759 function, from extern variable.
5760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5761 (gdk_env): Remove variable, add new function.
5762 (java_vm): Add new variable.
5763 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5764 java_vm rather than old gdk_env variable.
5766 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5768 * javax/swing/DefaultListModel.java
5769 (add): fire correct event,
5770 (addElement): corrected interval indices in event,
5771 (clear): corrected upper bound for interval, only fire event if
5773 (setSize): fire appropriate event.
5775 2005-02-15 Graydon Hoare <graydon@redhat.com>
5777 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5778 * gnu/awt/xlib/XToolkit.java: Likewise.
5779 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5780 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5781 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5782 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5783 * java/awt/EventQueue.java (getNextEvent):
5784 Adjust event loop to switch to native mode after 100ms.
5785 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5787 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5788 Wake up event thread.
5789 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5790 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5791 Adjust event loop to switch to java mode after 100ms.
5793 2005-02-15 Graydon Hoare <graydon@redhat.com>
5795 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5796 accidentally removed in last change.
5798 2005-02-15 Michael Koch <konqueror@gmx.de>
5800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5801 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5803 2005-02-15 Graydon Hoare <graydon@redhat.com>
5805 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5806 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5807 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5808 * jni.cc: Reuse bottom frame between calls, avoid clearing
5809 frame when no local references are made.
5811 2005-02-15 Michael Koch <konqueror@gmx.de>
5813 * javax/swing/UIDefaults.java (UIDefaults):
5814 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5815 Fixed HTML entity and removed a redundant comma.
5817 2005-02-15 Michael Koch <konqueror@gmx.de>
5819 * javax/swing/text/DefaultEditorKit.java
5820 (deinstall): Removed.
5821 (install): Likewise.
5823 2005-02-15 Michael Koch <konqueror@gmx.de>
5825 * javax/swing/UIDefaults.java (put): Handle value of null.
5827 2005-02-15 Michael Koch <konqueror@gmx.de>
5829 * java/awt/Robot.java,
5830 java/awt/Scrollbar.java,
5831 java/awt/print/PrinterJob.java,
5832 javax/swing/JTable.java,
5833 javax/swing/text/AbstractDocument.java:
5834 Reworked import statements.
5836 2005-02-15 Michael Koch <konqueror@gmx.de>
5838 * javax/swing/JEditorPane.java
5839 (read): Implemented.
5841 * javax/swing/text/DefaultEditorKit.java
5842 (page): Renamed from page_url. Made private.
5843 (editorKit): Renamed from kit. Made private.
5845 (JEditorPane): All constructors reimplemented.
5846 (getContentType): Use content type from editor kit.
5847 (getEditorKit): Return editorKit.
5848 (getEditorKitForContentType):Likewise.
5849 (getPage): Return page.
5850 (setContentType): Reimplemented.
5851 (setEditorKit): Likewise.
5852 (setEditorKitForContentType): Removed wrong implementation.
5853 (setPage): Implemented.
5855 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5858 (nativeSetIconImageFromData): Re-add native implementation.
5860 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5862 * javax/swing/table/DefaultTableModel.java
5863 (DefaultTableModel()): Added Javadocs.
5864 (DefaultTableModel(int, int)): Fixed implementation.
5865 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5866 for negative rowCount.
5867 (DefaultTableModel(Object[], int)): Added Javadocs.
5868 (DefaultTableModel(Vector, Vector)): Likewise.
5869 (DefaultTableModel(Object[][], Object[])): Likewise.
5870 (getDataVector): Likewise.
5871 (setDataVector(Vector, Vector)): Likewise.
5872 (setDataVector(Object[][], Object[])): Likewise.
5873 (newDataAvailable): Likewise.
5874 (newRowsAdded): Likewise.
5875 (rowsRemoved): Likewise.
5876 (setColumnIdentifiers(Vector)): Allow for null argument.
5877 (setColumnIdentifiers(Object[])): Added Javadocs.
5878 (setNumRows): Likewise.
5879 (setRowCount): Adds new rows if necessary, and sends more specific
5881 (setColumnCount): Allow for null columnIdentifiers.
5882 (addColumn(Object)): Added Javadocs.
5883 (addColumn(Object, Vector)): Handle null columnData.
5884 (addColumn(Object, Object[])): Handle columnData with more or less
5885 entries than rows in the table.
5886 (addRow(Vector)): Fire appropriate event.
5887 (addRow(Object[])): Added Javadocs.
5888 (insertRow(int, Vector)): Fire appropriate event.
5889 (insertRow(int, Object[])): Added Javadocs.
5890 (moveRow): Reimplemented.
5891 (removeRow(int)): Fire appropriate event.
5892 (getColumnCount): Allow for null columnIdentifiers.
5893 (getColumnName): Now returns empty string when column index is too
5895 (isCellEditable): Added Javadocs.
5896 (getValueAt): Likewise.
5897 (setValueAt): Fire more specific event.
5898 (convertToVector): Added Javadocs.
5899 * javax/swing/table/TableModel.java
5902 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5904 * libgcj.spec.in (lib): Add -l-javax-imageio.
5906 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5908 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5909 references to event queue q with method call q().
5910 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5911 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5912 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5913 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5914 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5915 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5918 2005-02-15 Graydon Hoare <graydon@redhat.com>
5920 * gnu/java/awt/ClasspathToolkit.java
5921 (registerImageIOSpis): New method.
5922 * gnu/java/awt/image/ImageDecoder.java
5923 (imageDecoder): New constructor using InputStream
5924 (startProduction): Handle existing InputStream.
5925 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5926 (findSimpleIntegerArray): Make public and static.
5927 (updateBufferedImage): Set each pixel, in a loop.
5928 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5929 Implement ImageIO SPI classes.
5930 (createBufferedImage): Rewrite in terms of SPI classes.
5931 * gnu/java/awt/peer/gtk/GtkToolkit.java
5932 (registerImageIOSpis): New method.
5933 * java/lang/reflect/natMethod.cc
5934 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5935 which lets JNI call interface methods properly.
5936 * javax/imageio/ImageIO.java
5937 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5938 (WriterMIMETypeFilter.filter): Likewise.
5939 (ImageReaderIterator): Pass extension argument through to SPI.
5940 (getReadersByFilter): Likewise.
5941 (getWritersByFilter): Likewise.
5942 (getImageReadersByFormatName): Likewise.
5943 (getImageReadersByMIMEType): Likewise.
5944 (getImageReadersBySuffix): Likewise.
5945 (getImageWritersByFormatName): Likewise.
5946 (getImageWritersByMIMEType): Likewise.
5947 (getImageWritersBySuffix): Likewise.
5950 * javax/imageio/ImageReader.java
5951 (progressListeners): Initialize.
5952 (setInput): Implement.
5953 * javax/imageio/ImageWriter.java
5954 (progressListeners): Initialize.
5955 (warningListeners): Likewise.
5956 (warningLocales): Likewise.
5957 (setOutput): Test "isInstance" rather than class equality.
5958 * javax/imageio/spi/IIORegistry.java
5959 (static): Add reader and writer SPIs.
5960 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5962 (query_formats): New function.
5963 (save_to_stream): Likewise.
5964 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5966 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5970 (keyPress): Likewise.
5971 (keyRelease): Likewise.
5973 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5975 * javax/swing/JTable.java
5976 (columnAtPoint): New Method. Implemented.
5977 (rowAtPoint): Likewise.
5978 (countSelections): Fixed few small count errors.
5979 (getSelections): Likewise.
5980 (setSelectionMode): Set selection mode for column
5981 selection model in addition to row selection model.
5982 * javax/swing/plaf/basic/BasicTableUI.java:
5983 (getRowForPoint): Removed. Replaced by
5984 JTable.rowAtPoint().
5985 (getColForPoint): Removed. Replaced by
5986 JTable.columnAtPoint().
5987 (updateSelection): Updated to call JTable.columnAtPoint
5988 and JTable.rowAtPoint.
5989 * javax/swing/table/DefaultTableColumnModel.java:
5990 (getSelectedColumns): Implemented.
5991 (getSelectedColumnCount): Implemented.
5993 2005-02-15 Graydon Hoare <graydon@redhat.com>
5996 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5997 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5998 * Makefile.in: Regenerate.
5999 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6000 * gnu/awt/xlib/XFramePeer.java: Likewise.
6001 * gnu/awt/xlib/XToolkit.java: Likewise.
6002 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6003 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6004 * gnu/java/awt/ClasspathToolkit.java
6007 (iterateNativeQueue): New methods.
6008 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6009 * gnu/java/awt/peer/gtk/GtkToolkit.java
6010 (gtkInit): Absorb from defunct GtkMainThread class.
6011 (static): Run gtkInit in static startup block.
6012 (GtkToolkit): Remove construction of GtkMainThread and queue.
6013 (getSystemEventQueueImpl): Construct queue when requested.
6016 (iterateNativeQueue): New methods.
6017 * java/awt/Component.java (removeNotify): Remove race.
6018 * java/awt/EventDispatchThread.java
6019 (EventDispatchThread): Don't start on construction.
6020 (run): Remove isInterrupted check.
6021 * java/awt/EventQueue.java (shutdown): New flag.
6022 (isShutdown): New method checking J2SE shutdown condition.
6023 (setShutdown): New method.
6024 (getNextEvent): Restructure to use ClasspathToolkit.
6025 (postEvent): Activate new thread on posting, wake thread on
6026 post of possible shutdown condition event.
6027 * java/awt/Frame.java
6028 (Frame): Call noteFrame in all constructors.
6029 (fireDummyEvent): New helper method.
6030 (addNotify): Fire a dummy event to wake up queue.
6031 (removeNotify): Fire a dummy event to wake up queue.
6032 (noteFrame): New method.
6033 (weakFrames): New static field.
6034 (getFrames): Implement.
6035 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6037 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6038 Move everything from GtkMainThread into this file
6039 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6040 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6041 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6042 New functions to implement single-threaded queue semantics.
6044 2005-02-15 Michael Koch <konqueror@gmx.de>
6046 * javax/swing/plaf/metal/MetalLookAndFeel.java
6047 (getControlTextFont): New method.
6048 (getMenuTextFont): Likewise.
6049 (getSubTextFont): Likewise.
6050 (getSystemTextFont): Likewise.
6051 (getUserTextFont): Likewise.
6052 (getWindowTitleFont): Likewise.
6054 2005-02-15 Michael Koch <konqueror@gmx.de>
6056 * javax/swing/text/AbstractDocument.java
6057 (documentFilter): New field.
6058 (getDocumentFilter): New method.
6059 (setDocumentFilter): Likewise.
6062 2005-02-15 Michael Koch <konqueror@gmx.de>
6064 * javax/swing/JTree.java
6065 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6067 2005-02-15 Michael Koch <konqueror@gmx.de>
6069 * javax/swing/text/AbstractDocument.java
6070 (AbstractElement.getLength): Fixed off-by-one error.
6071 (AbstractElement.children): Made abstract.
6072 (AbstractElement.getAllowsChildren): Likewise.
6073 (AbstractElement.getElement): Likewise.
6074 (AbstractElement.dumpElement): New private method.
6075 (AbstractElement.dump): New method.
6076 (BranchElememt.getName): Fixed implementation.
6077 (BranchElememt.toString): Likewise.
6078 (BranchElememt.getElement): Fixed arguments.
6079 (LeafElement.getName): Fixed implementation.
6080 (LeafElement.toString): Likewise.
6081 * javax/swing/text/GapContent.java
6082 (GapContent): Put default content into buffer.
6083 * javax/swing/text/PlainDocument.java
6084 (reindex): Use empty attribute sets instead of null.
6085 (createDefaultRoot): Reimplemented.
6086 (insertUpdate): Call super method.
6087 (removeUpdate): Likewise.
6088 (getParagraphElement): Implemented.
6090 2005-02-15 Michael Koch <konqueror@gmx.de>
6092 * gnu/java/awt/ClasspathToolkit.java
6093 (createRobot): Throws java.awt.AWTException.
6094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6095 Added '__attribute__((unused))' to all unused method arguments.
6097 2005-02-15 Michael Koch <konqueror@gmx.de>
6099 * javax/swing/DefaultBoundedRangeModel.java
6100 (fireValueChanged): Fixed off-by-one error.
6102 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6104 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6105 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6107 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6108 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6109 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6110 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6111 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6112 (getDefaultScreenDevice): Implement.
6113 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6114 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6115 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6116 * java/awt/Robot.java: Implement.
6117 * java/awt/peer/RobotPeer.java: Rename parameters.
6118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6120 (awt_keycode_to_keysym): Make non-static.
6121 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6122 AWT_BUTTON3_MASK): Declare constants.
6123 (awt_keycode_to_keysym): Declare.
6125 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6126 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6127 and is non-empty pass its value to "make check".
6128 (test_mauve_sim): Likewise.
6130 2005-02-15 Michael Koch <konqueror@gmx.de>
6132 * javax/imageio/IIOParam.java
6133 (setSourceBands): New method.
6134 (setSourceSubsampling): Likewise.
6135 * javax/imageio/ImageReadParam.java
6136 (setDestination): Likewise.
6137 (setDestinationBands): Likewise.
6138 (setSourceProgressivePasses): Likewise.
6139 * javax/imageio/metadata/IIOInvalidTreeException.java
6140 (serialVersionUID): New static field.
6141 * javax/imageio/metadata/IIOMetadataNode.java
6142 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6143 (parent): Dont initailize with default value explicitely.
6145 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6146 (removeAttributeNode): Likewise.
6147 (removeAttributeNS): Likewise.
6148 (setAttribute): Likewise.
6149 (setAttributeNode): Likewise.
6150 (setAttributeNodeNS): Likewise.
6151 (setAttributeNS): Likewise.
6152 (appendChild): Likewise.
6153 (getNodeValue): Likewise.
6154 (insertBefore): Likewise.
6155 (removeChild): Likewise.
6156 (replaceChild): Likewise.
6157 (setPrefix): Likewise.
6159 2005-02-15 Michael Koch <konqueror@gmx.de>
6161 * javax/swing/LookAndFeel.java
6162 (getDesktopPropertyValue): New method.
6164 2005-02-15 Michael Koch <konqueror@gmx.de>
6166 * javax/swing/JTree.java
6167 (hasChildren): New instance field.
6169 2005-02-15 Michael Koch <konqueror@gmx.de>
6171 * javax/swing/JComponent.java
6172 (getToolTipText): New method.
6173 (getTitledBorderText): Likewise.
6174 (getAccessibleKeyBinding): Likewise.
6175 (getVerifyInputWhenFocusTarget): Likewise.
6176 (setVerifyInputWhenFocusTarget): Likewise.
6177 (verifyInputWhenFocusTarget): New instance field.
6179 2005-02-15 Michael Koch <konqueror@gmx.de>
6181 * javax/swing/DefaultListSelectionModel.java
6182 (fireValueChanged): New method.
6184 2005-02-15 Michael Koch <konqueror@gmx.de>
6186 * javax/swing/DefaultBoundedRangeModel.java:
6187 Fixed javadocs all over.
6188 (fireStateChanged): Simplified.
6189 * javax/swing/BoundedRangeModel.java:
6192 2005-02-15 Michael Koch <konqueror@gmx.de>
6194 * javax/swing/JRootPane.java
6195 (setMenuBar): Added @deprecated tag.
6196 (getMenuBar): Likewise.
6197 * javax/swing/JTable.java
6198 (sizeColumnsToFit): Likewise.
6200 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6202 * javax/swing/ImageIcon.java (setImage): Implemented.
6204 2005-02-15 Michael Koch <konqueror@gmx.de>
6206 * javax/swing/JTable.java:
6207 Removed unused imports.
6209 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6211 (prepareRenderer): Get column's index in dataModel instead
6212 of column's view index.
6213 (getColumnCount): return count of the columns in ColumnModel,
6215 (removeColumn): Implemented.
6216 (moveColumm): Likewise.
6217 (setRowHeight): throw IllegalArgumentException if height is
6219 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6220 (DefaultTableColumnModel):Add call to createSelectionModel().
6221 (addColumn): Fire columnAdded event to registered listeners.
6222 (removeColumn): Fire columnRemoved event to registered listeners.
6223 (moveColumn): Fire columnMoved event to registered listeners.
6224 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6225 (getColumnIndex): Changed parameter name.
6226 (setColumnSelectionAllowed): Likewise.
6227 (fireColumnAdded): Implemented.
6228 (fireColumnRemoved): Likewise.
6229 (fireColumnMoved): Likewise.
6230 (fireColumnMarginChanged): Likewise.
6231 (getListeners): Changed parameter name.
6232 (propertyChange): Implemented.
6233 (valueChanged): Changed parameter name.
6234 (createSelectionModel): Implemented.
6236 2005-02-15 Michael Koch <konqueror@gmx.de>
6238 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6239 Explicitely import used classes.
6240 (getLocalGraphicsEnvironment): Simplify.
6241 * java/awt/Window.java (Window):
6242 Enable code to get the default GraphicsConfiguration.
6244 2005-02-15 Michael Koch <konqueror@gmx.de>
6246 * javax/swing/plaf/metal/DefaultMetalTheme.java
6247 (CONTROL_TEXT_FONT): New static field.
6248 (MENU_TEXT_FONT): Likewise.
6249 (SUB_TEXT_FONT): Likewise.
6250 (SYSTEM_TEXT_FONT): Likewise.
6251 (USER_TEXT_FONT): Likewise.
6252 (WINDOW_TITLE_FONT): Likewise.
6253 (getControlTextFont): New method.
6254 (getMenuTextFont): Likewise.
6255 (getSubTextFont): Likewise.
6256 (getSystemTextFont): Likewise.
6257 (getUserTextFont): Likewise.
6258 (getWindowTitleFont): Likewise.
6259 * javax/swing/plaf/metal/MetalTheme.java
6260 (BLACK): Initialize with Color.BLACK.
6261 (WHITE): Initialize with Color.WHITE.
6262 (getInactiveControlTextColor): Return getControlDisabled().
6263 (getMenuDisabledForeground): Return getSecondary3().
6264 (getControlTextFont): New abstract method.
6265 (getMenuTextFont): Likewise.
6266 (getSubTextFont): Likewise.
6267 (getSystemTextFont): Likewise.
6268 (getUserTextFont): Likewise.
6269 (getWindowTitleFont): Likewise.
6271 2005-02-15 Michael Koch <konqueror@gmx.de>
6273 * javax/swing/JFormattedTextField.java
6274 (getFocusLostBehavior): Fixed typo in method name.
6275 (setFocusLostBehavior): Likewise.
6277 2005-02-15 Michael Koch <konqueror@gmx.de>
6279 * javax/swing/TransferHandler.java:
6280 Reworked import statements.
6282 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6284 * java/awt/Button.java,
6285 java/awt/Canvas.java,
6286 java/awt/Checkbox.java,
6287 java/awt/CheckboxMenuItem.java,
6288 java/awt/Choice.java,
6289 java/awt/Dialog.java,
6290 java/awt/Frame.java,
6291 java/awt/Label.java,
6294 java/awt/MenuBar.java,
6295 java/awt/MenuItem.java,
6296 java/awt/PopupMenu.java,
6297 java/awt/ScrollPane.java,
6298 java/awt/Scrollbar.java,
6299 java/awt/TextArea.java,
6300 java/awt/Window.java (getAccessibleContext): Clean up comments.
6302 * java/awt/Button.java,
6303 java/awt/Checkbox.java,
6304 java/awt/Choice.java,
6306 java/awt/PopupMenu.java,
6307 java/awt/TextArea.java (getAccessibleContext): Only create new
6309 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6311 2005-02-15 Michael Koch <konqueror@gmx.de>
6313 * java/awt/Button.java,
6314 javax/swing/JApplet.java,
6315 javax/swing/JFormattedTextField.java,
6316 javax/swing/JWindow.java,
6317 javax/swing/JTree.java,
6318 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6319 javax/swing/plaf/basic/BasicTextPaneUI.java,
6320 javax/swing/plaf/basic/BasicTreeUI.java:
6321 Reworked import statements.
6323 2005-02-15 Michael Koch <konqueror@gmx.de>
6325 * Makefile.am: Put javax.imageio into its own library and link it
6326 against lib-org-w3c-dom.la to fix bootstrapping.
6327 * Makefile.in: Regenerated.
6329 2005-02-15 Michael Koch <konqueror@gmx.de>
6331 * javax/swing/text/TextAction.java
6332 (getTextComponent): Simplified. Added Javadoc.
6333 (augmentList): Implemented. Added Javadoc.
6334 (getFocusedComponent): Added javadoc.
6336 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6338 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6339 getAccessibleContext): Implement.
6340 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6341 getAccessibleContext): Implement.
6343 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6345 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6347 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6349 * java/awt/Window.java (getAccessibleContext): Fix comment.
6350 Remove extra import.
6352 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6354 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6355 (isActive, isFocused, getAccessibleContext): Implement.
6357 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6359 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6360 * java/awt/MenuComponent.java (accessibleContext): Make package
6362 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6363 AccessibleAWTCheckboxMenuItem): Implement.
6365 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6367 * java/awt/List.java: Implement AccessibleAWTList,
6368 AccessibleAWTListChild.
6370 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6372 * java/awt/Choice.java: Add implements declaration for
6375 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6377 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6380 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6382 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6383 implemented interface list.
6385 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6387 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6388 * javax/imageio/metadata/IIOAttr.java: New class.
6389 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6390 * javax/imageio/metadata/IIONodeList.java: New class.
6391 * Makefile.am: Added new files.
6392 * Makefile.in: Regenerated.
6394 2005-02-15 Michael Koch <konqueror@gmx.de>
6396 * javax/swing/AbstractAction.java,
6397 javax/swing/AbstractCellEditor.java,
6398 javax/swing/AbstractListModel.java,
6399 javax/swing/DefaultBoundedRangeModel.java,
6400 javax/swing/DefaultButtonModel.java,
6401 javax/swing/DefaultCellEditor.java,
6402 javax/swing/DefaultComboBoxModel.java,
6403 javax/swing/DefaultDesktopManager.java,
6404 javax/swing/JMenu.java,
6405 javax/swing/JSlider.java,
6406 javax/swing/KeyStroke.java,
6407 javax/swing/OverlayLayout.java,
6408 javax/swing/ScrollPaneLayout.java,
6409 javax/swing/SizeRequirements.java,
6410 javax/swing/ViewportLayout.java:
6411 Made serialVersionUID private.
6413 2005-02-15 Michael Koch <konqueror@gmx.de>
6415 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6418 2005-02-15 Michael Koch <konqueror@gmx.de>
6420 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6422 2005-02-15 Michael Koch <konqueror@gmx.de>
6424 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6426 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6428 * java/awt/EventDispatchThread.java,
6429 java/awt/Toolkit.java:
6430 Don't catch java.lang.ThreadDeath.
6432 2005-02-15 Michael Koch <konqueror@gmx.de>
6434 * javax/swing/text/PasswordView.java
6435 (drawEchoCharacter): Added javadoc.
6436 (drawSelectedText): Likewise.
6437 (drawUnselectedText): Likewise.
6439 2005-02-15 Michael Koch <konqueror@gmx.de>
6441 * javax/swing/JRootPane.java
6442 (windowDecorationStyle): New field.
6443 (setMenuBar): New method.
6444 (getMenuBar): Likewise.
6445 (getWindowDecorationStyle): Likewise.
6446 (setWindowDecorationStyle): Likewise.
6448 2005-02-15 Michael Koch <konqueror@gmx.de>
6450 * javax/swing/DefaultListSelectionModel.java
6451 (leadAnchorNotificationEnabled): Made protected.
6453 2005-02-15 Michael Koch <konqueror@gmx.de>
6455 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6456 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6457 * Makefile.in: Regenerated.
6460 2005-02-15 Michael Koch <konqueror@gmx.de>
6462 * javax/swing/JFormattedTextField.java: Implemented.
6463 * javax/swing/JWindow.java
6464 (JWindow): New constructors.
6465 (initWindow): Renamed from initFrame.
6466 * javax/swing/UIDefaults.java
6467 (ActiveValue): Made interface static.
6468 (LazyValue): Likewise.
6469 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6470 (TitlePaneLayout.TitlePaneLayout): New constructor.
6471 * javax/swing/plaf/basic/BasicSliderUI.java
6472 (ChangeHandler): Made public.
6473 (FocusHandler): Likewise.
6474 (PropertyChangeHandler): Likewise.
6475 (ScrollListener): Likewise.
6476 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6477 (FocusHandler): Likewise.
6478 (MouseHandler): Likewise.
6479 * javax/swing/plaf/basic/BasicTextPaneUI.java
6480 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6481 * javax/swing/plaf/basic/BasicToolBarUI.java
6482 (BasicToolBarUI): Simplified. Reworked javadoc.
6483 (canDock): Simplified. Make public.
6484 (DockingListener): Made public.
6485 * javax/swing/text/JTextComponent.java
6486 (navigationFilter): New field.
6487 (getNavigationFilter): New method.
6488 (setNavigationFilter): Likewise.
6490 2005-02-15 Michael Koch <konqueror@gmx.de>
6492 * javax/swing/plaf/metal/MetalTheme.java
6493 (getControlTextColor): Return getControlInfo().
6494 (getHighlightedTextColor): Return getControlTextColor().
6496 2005-02-15 Michael Koch <konqueror@gmx.de>
6498 * javax/swing/plaf/basic/BasicButtonListener.java
6499 (BasicButtonListener): New constructor.
6500 * javax/swing/plaf/basic/BasicButtonUI.java
6501 (createButtonListener): Usw new BasicButtonListener constructor.
6503 2005-02-15 Michael Koch <konqueror@gmx.de>
6505 * javax/imageio/event/package.html,
6506 javax/imageio/metadata/package.html: New files.
6508 2005-02-15 Michael Koch <konqueror@gmx.de>
6510 * java/awt/image/MemoryImageSource.java: Reformatted.
6512 2005-02-15 Michael Koch <konqueror@gmx.de>
6514 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6516 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6518 * java/awt/color/ICC_Profile.java
6519 (finalize): Removed pointless field assignments.
6521 2005-02-15 Michael Koch <konqueror@gmx.de>
6523 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6524 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6525 * Makefile.in: Regenerated.
6527 2005-02-15 Michael Koch <konqueror@gmx.de>
6529 * javax/swing/text/DefaultStyledDocument.java: New file.
6530 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6531 * Makefile.in: Regenerated.
6533 2005-02-15 Michael Koch <konqueror@gmx.de>
6535 * javax/swing/JFileChooser.java
6536 (showDialog): Return CANCEL_OPTION for now.
6537 (showOpenDialog): Likewise.
6538 (showSaveDialog): Likewise.
6540 2005-02-15 Michael Koch <konqueror@gmx.de>
6542 * javax/swing/JApplet.java
6543 (HIDE_ON_CLOSE): Removed.
6544 (EXIT_ON_CLOSE): Likewise.
6545 (DISPOSE_ON_CLOSE): Likewise.
6546 (DO_NOTHING_ON_CLOSE): Likewise.
6547 (close_action): Likewise.
6548 (getDefaultCloseOperation): Likewise.
6549 (setDefaultCloseOperation): Likewise.
6550 (processWindowEvent): Likewise.
6551 (getPreferredSize): Simplified.
6552 * javax/swing/JInternalFrame.java
6553 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6555 * javax/swing/JWindow.java
6556 (HIDE_ON_CLOSE): Removed.
6557 (EXIT_ON_CLOSE): Likewise.
6558 (DISPOSE_ON_CLOSE): Likewise.
6559 (DO_NOTHING_ON_CLOSE): Likewise.
6560 (close_action): Likewise.
6561 (processKeyEvent): Likewise.
6562 (setDefaultCloseOperation): Likewise.
6563 (getPreferredSize): Simplified.
6565 2005-02-15 Michael Koch <konqueror@gmx.de>
6567 * javax/swing/JTextField.java
6568 (getPreferredSize): Re-implemented.
6570 2005-02-15 Michael Koch <konqueror@gmx.de>
6572 * javax/swing/JLabel.java
6573 (setDisplayedMnemonic): Use only upper case characters.
6574 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6575 PropertyChangeEvent after property got set to the new index.
6577 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6579 * javax/swing/JComboBox.java:
6580 (JComboBox): Removed selection of the
6581 first item in the model.
6583 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6585 * javax/swing/JComboBox.java
6586 added support for no item being selected
6587 (JComboBox): select first or nothing depending on element count
6588 (setModel): cleaned up unneeded "this." usage, added more
6589 docs, made exception behavior match that of the JDK
6590 (setLighWeightPopupEnabled): removed unneeded "this." usage
6592 (setMaximumRowCount): dito
6594 (setPrototypeDisplayValue): dito
6595 (getSelectedItem): simplified, added more user doc
6596 (setSelectedIndex): corrected exception behavior, added more user doc
6597 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6598 added performance warning to user doc
6599 (addItem): fixed exception behavior, added user doc
6600 (insertItemAt): dito
6602 (removeItemAt): dito
6603 (removeAll): fixed exception behavior, added user doc, added support
6604 for model not being instance of DefaultComboBoxModel
6605 (getSelectedItemObjects): simplified
6606 (getItemCount): fixed dependency on DefaultComboBoxModel
6607 (getItemAt): fixed dependency on MutableComboBoxModel
6608 * javax/swing/DefaultComboBoxModel.java:
6609 (setSelectedItem): updates selected item only if new
6610 value is null or known (match JDK behavior)
6611 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6612 (paintCurrentValue): renders "" if no item is selected
6614 2005-02-15 Michael Koch <konqueror@gmx.de>
6616 * javax/swing/plaf/metal/MetalTheme.java,
6617 javax/swing/plaf/metal/DefaultMetalTheme.java:
6619 * javax/swing/plaf/metal/MetalLookAndFeel.java
6620 * Makefile.am: Added the new files.
6621 * Makefile.in: Regenerated.
6623 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6625 * javax/swing/JTable.java
6626 (editorComp): New field.
6627 (JTable): Initialize local variables and call updateUI
6628 (selectionBackground): Make protected.
6629 (selectionForeground): Likewise.
6630 (initializeLocalVars): Create default editors and renderers,
6631 initialize editingColumn, editingRow variables.
6632 (createDefaultEditors): New Method.
6633 (createDefaultRenderers): Likewise.
6634 (createDefaultListSelectionModel): Removed
6635 (createDefaultSelectionModel): New Method.
6636 (createDefaultTableHeader): Likewise
6637 (removeColumn): Likewise.
6638 (getEditingColumn): Likewise.
6639 (setEditingColumn): Likewise.
6640 (getEditingRow): Likewise.
6641 (setEditingRow): Likewise.
6642 (getEditorComponent): Likewise.
6643 (isEditing): Likewise.
6644 (setDefaultEditor): Likewise.
6645 (addColumnSelectionInterval): Likewise.
6646 (addRowSelectionInterval): Likewise.
6647 (setColumnSelectionInterval): Likewise.
6648 (setRowSelectionInterval): Likewise.
6649 (removeColumnSelectionInterval): Likewise.
6650 (removeRowSelectionInterval): Likewise.
6651 (isColumnSelected): Likewise.
6652 (isRowSelected): Likewise.
6653 (isCellSelected): Likewise.
6654 (selectAll): Likewise.
6656 2005-02-15 Michael Koch <konqueror@gmx.de>
6658 * javax/swing/JTable.java
6659 (addColumn): New method.
6660 (getColumnClass): Likewise.
6661 (getColumnName): Likewise.
6663 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6665 * javax/swing/TransferHandler.java
6666 (createTransferable): Made protected.
6668 2005-02-15 Michael Koch <konqueror@gmx.de>
6670 * javax/swing/JTable.java,
6671 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6672 javax/swing/plaf/basic/BasicTableUI.java:
6673 Use fixed get/setIntercellSpacing() methods.
6675 2005-02-15 Michael Koch <konqueror@gmx.de>
6677 * javax/swing/JTable.java
6678 (getIntercellSpacing): Fixed typo in method name.
6679 (setIntercellSpacing): Likewise.
6681 2005-02-15 Michael Koch <konqueror@gmx.de>
6683 * javax/swing/text/JTextComponent.java
6684 (focusAccelerator): New variable.
6685 (getFocusAccelerator): New method.
6686 (setFocusAccelerator): Likewise.
6688 2005-02-15 Michael Koch <konqueror@gmx.de>
6690 * javax/swing/JComponent.java
6691 (setTransferHandler): Made public. Fire property change event.
6692 * javax/swing/TransferHandler.java: Implemented.
6693 * javax/swing/text/JTextComponent.java
6694 (DefaultTransferHandler): New inner class.
6695 (defaultTransferHandler): New variable.
6699 (doTransferAction): Likewise.
6701 2005-02-15 Michael Koch <konqueror@gmx.de>
6703 * javax/swing/JTree.java
6704 (collapsePath): New method.
6705 (collapseRow): Likewise.
6706 (expandPath): Likewise.
6707 (expandRow): Likewise.
6708 (checkExpandParents): Likewise.
6709 (doExpandParents): Likewise.
6710 (setExpandedState): Likewise.
6711 (makeVisible): Likewise.
6713 2005-02-15 Michael Koch <konqueror@gmx.de>
6715 * javax/swing/JPasswordField.java: Updated javadocs.
6717 2005-02-15 Michael Koch <konqueror@gmx.de>
6719 * javax/swing/JLayeredPane.java
6720 (getLayer): Fixed return type, made public.
6721 (getPosition): Use new getLayer().
6722 (SetPosition): Likewise.
6723 (getIndexOf): Likewise.
6725 * javax/swing/JInternalFrame.java
6726 (getLayer): Use new JLayeredPane.getLayer().
6729 2005-02-15 Michael Koch <konqueror@gmx.de>
6731 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6732 (setHeaderValue): Simplified. Do nothing when old value == new value.
6734 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6736 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6737 against null clip region.
6738 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6739 gtkWindowSetResizable.
6740 (postConfigureEvent): Only revalidate if frame size has changed.
6741 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6742 Only revalidate if frame size has changed.
6743 * java/awt/Component.java (reshape): Only repaint and post
6744 component events if component is showing.
6745 * java/awt/Container.java (addImpl): Only post container event if
6746 container is showing.
6748 * java/awt/Window.java (setLocationRelativeTo): Implement.
6749 (setBoundsCallback): Only post component events if component is
6751 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6752 Protect against null graphics structure. Flush gdk event queue.
6754 2005-02-15 Michael Koch <konqueror@gmx.de>
6756 * javax/imageio/ImageReader.java,
6757 javax/imageio/ImageTranscoder.java,
6758 javax/imageio/ImageWriter.java,
6759 javax/imageio/spi/ImageInputStreamSpi.java,
6760 javax/imageio/spi/ImageOutputStreamSpi.java,
6761 javax/imageio/spi/ServiceRegistry.java,
6762 javax/imageio/stream/ImageInputStream.java,
6763 javax/imageio/stream/ImageOutputStream.java: Updated.
6764 * javax/imageio/IIOException.java,
6765 javax/imageio/IIOImage.java,
6766 javax/imageio/IIOParam.java,
6767 javax/imageio/IIOParamController.java,
6768 javax/imageio/ImageIO.java,
6769 javax/imageio/ImageReadParam.java,
6770 javax/imageio/ImageTypeSpecifier.java,
6771 javax/imageio/ImageWriteParam.java,
6772 javax/imageio/spi/IIORegistry.java,
6773 javax/imageio/spi/ImageReaderSpi.java,
6774 javax/imageio/spi/ImageWriterSpi.java,
6775 javax/imageio/stream/FileCacheImageInputStream.java,
6776 javax/imageio/stream/FileCacheImageOutputStream.java,
6777 javax/imageio/stream/FileImageInputStream.java,
6778 javax/imageio/stream/FileImageOutputStream.java,
6779 javax/imageio/stream/ImageInputStreamImpl.java,
6780 javax/imageio/stream/ImageOutputStreamImpl.java,
6781 javax/imageio/stream/MemoryCacheImageInputStream.java,
6782 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6783 javax/imageio/event/IIOReadProgressListener.java,
6784 javax/imageio/event/IIOReadUpdateListener.java,
6785 javax/imageio/event/IIOReadWarningListener.java,
6786 javax/imageio/event/IIOWriteProgressListener.java,
6787 javax/imageio/event/IIOWriteWarningListener.java,
6788 javax/imageio/metadata/IIOMetadata.java,
6789 javax/imageio/metadata/IIOMetadataController.java,
6790 javax/imageio/metadata/IIOMetadataFormat.java,
6791 javax/imageio/metadata/IIOInvalidTreeException.java,
6792 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6793 javax/imageio/metadata/IIOMetadataNode.java: New files.
6794 * Makefile.am (javax_source_files): Added new files
6795 * Makefile.in: Regenerated.
6797 2005-02-15 Graydon Hoare <graydon@redhat.com>
6799 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6800 Rework painting into BufferedImages
6801 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6802 Construct BufferedImage with alpha only when alpha is
6803 present in colormodel.
6804 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6805 Rework painting into client-side jint arrays.
6806 * jni/gtk-peer/gtkcairopeer.h:
6809 2005-02-15 Michael Koch <konqueror@gmx.de>
6811 * javax/swing/DefaultListCellRenderer.java
6812 (serialVersionUID): Made private.
6813 (getListCellRendererComponent): Set horizontal alignment.
6814 * javax/swing/JLabel.java
6815 (setVerticalAlignment): Re-implemented.
6816 (setHorizontalAlignment): Do nothing if old value = new value.
6817 * javax/swing/JList.java
6818 (setCellRenderer): Likewise.
6819 (setModel): Re-implemented.
6820 (setSelectionModel): Likewise.
6822 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6824 * java/awt/Component.java,
6825 java/awt/geom/Rectangle2D.java:
6828 2005-02-15 Michael Koch <konqueror@gmx.de>
6830 * javax/swing/AbstractListModel.java
6831 (fireContentsChanged): Simplified.
6832 (fireIntervalAdded): Likewise.
6833 (fireIntervalRemoved): Likewise.
6834 * javax/swing/DefaultSingleSelectionModel.java:
6836 (fireStateChanged): Simplified.
6837 * javax/swing/JPopupMenu.java
6838 (setSelectionModel): Set property.
6840 2005-02-15 Michael Koch <konqueror@gmx.de>
6842 * java/awt/print/Book.java: Reformatted.
6844 2005-02-15 Michael Koch <konqueror@gmx.de>
6846 * java/awt/geom/Area.java
6847 (QuadSegment.curveArea): Remove unused variables.
6848 (CubicSegment.curveArea): Likewise.
6850 2005-02-15 Michael Koch <konqueror@gmx.de>
6852 * javax/swing/JTree.java
6853 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6854 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6855 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6856 (EXPANDED): New constant.
6857 (COLLAPSED): Likewise.
6858 (nodeStates): New field.
6859 (cellEditor): New method.
6860 (cellRenderer): Likewise.
6861 (selectionModel): Likewise.
6862 (treeModel): Likewise.
6863 (scrollPathToVisible): Likewise.
6864 (scrollRowToVisible): Likewise.
6865 (isCollapsed): Likewise.
6866 (isExpanded): Likewise.
6867 (clearToggledPaths): Likewise.
6868 (getDescendantToggledPaths): Likewise.
6869 (hasBeenExpanded): Likewise.
6870 (isVisible): Likewise.
6871 (isPathEditable): Likewise.
6873 2005-02-15 Michael Koch <konqueror@gmx.de>
6875 * javax/swing/JLayeredPane.java: Reformatted.
6877 2005-02-15 Michael Koch <konqueror@gmx.de>
6879 * javax/swing/tree/DefaultMutableTreeNode.java:
6881 * javax/swing/tree/MutableTreeNode.java:
6884 2005-02-15 Michael Koch <konqueror@gmx.de>
6886 * javax/swing/JFormattedTextField.java
6887 (setDocument): Call setDocument of super class. Don't fire property
6890 2005-02-15 Sven de Marothy <sven@physto.se>
6892 * java/awt/image/IndexColorModel.java:
6893 Add FIXME with respect to alpha handling.
6894 (getAlpha): Default to returning opaque pixels.
6895 * java/awt/image/MultiPixelPackedSampleModel.java
6896 (MultiPixelPackedSampleModel): Corrected parameters, order of
6897 bit shifts and masks, stride length off by one.
6899 2005-02-15 Michael Koch <konqueror@gmx.de>
6901 * javax/swing/JList.java, javax/swing/JTree.java:
6902 Added much new methods and fixed much methods setting bound properties.
6904 2005-02-16 Mark Wielaard <mark@klomp.org>
6906 * Makefile.am (gnu_xml_source_files): Removed
6907 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6908 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6909 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6910 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6911 gnu/xml/dom/DomDocumentFragment.java,
6912 gnu/xml/dom/DomProcessingInstruction.java and
6913 gnu/xml/dom/ls/DomLSException.java.
6914 * Makefile.in: Regenerated.
6916 2005-02-16 Tom Tromey <tromey@redhat.com>
6918 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6919 attribute index is out of bounds.
6921 2005-02-16 Chris Burdess <dog@gnu.org>
6923 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6924 isDeclared methods. Improved performance of isSpecified methods.
6926 2005-02-16 Chris Burdess <dog@gnu.org>
6928 Fixes bug libgcj/19864
6929 * gnu/xml/dom/DomAttr.java,
6930 gnu/xml/dom/DomCDATA.java,
6931 gnu/xml/dom/DomCDATASection.java,
6932 gnu/xml/dom/DomCharacterData.java,
6933 gnu/xml/dom/DomDOMException.java,
6934 gnu/xml/dom/DomDoctype.java,
6935 gnu/xml/dom/DomDocument.java,
6936 gnu/xml/dom/DomDocumentConfiguration.java,
6937 gnu/xml/dom/DomDocumentFragment.java,
6938 gnu/xml/dom/DomElement.java,
6939 gnu/xml/dom/DomEx.java,
6940 gnu/xml/dom/DomFragment.java,
6941 gnu/xml/dom/DomImpl.java,
6942 gnu/xml/dom/DomIterator.java,
6943 gnu/xml/dom/DomNamedNodeMap.java,
6944 gnu/xml/dom/DomNode.java,
6945 gnu/xml/dom/DomNsNode.java,
6946 gnu/xml/dom/DomPI.java,
6947 gnu/xml/dom/DomProcessingInstruction.java,
6948 gnu/xml/dom/DomText.java,
6949 gnu/xml/dom/DomLSEx.java,
6950 gnu/xml/dom/DomLSException.java,
6951 gnu/xml/dom/DomLSParser.java,
6952 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6953 implementation class names to conform to Classpath guidelines. Make
6954 DomLSException use JDK 1.4+ exception chaining.
6955 * gnu/xml/util/SAXNullTransformerFactory.java,
6956 gnu/xml/xpath/Predicate.java: Use constants relative to
6957 declaring class or interface.
6959 2005-02-16 Andrew Haley <aph@redhat.com>
6961 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6962 null, create a new AccessControlContext.
6963 * java/security/SecureClassLoader.java (protectionDomainCache):
6965 (defineClass): Create a new protection domain and add it to our
6968 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6969 addStub() to keep track of the stub we've exported.
6970 (unexportObject): Call deleteStub().
6971 * java/rmi/server/RemoteObject.java (stubs): New field.
6972 (addStub): New method.
6973 (deleteStub): New method.
6976 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6977 true to findHelper (tryParents).
6978 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6980 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6981 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6983 If tryParents is false, don't scan parent class loaders.
6985 * java/security/Permissions.java (PermissionsHash.implies):
6986 Iterate over the collection and invoke implies() on each
6989 2005-02-16 Andrew Haley <aph@redhat.com>
6991 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6993 (PersistentByteMap): Set name
6994 Magic number changed to 0x67636a64 ("gcjd").
6995 (init): Force the map to be prime.
6996 (emptyPersistentByteMap): File name was a string, now a File.
6997 (addBytes): Share srings between entries.
6998 (stringTableSize): New method.
6999 (capacity): Scale by load factor.
7000 (force): New method.
7001 (getFile): New method.
7002 (close): New method.
7003 (putAll): New method.
7004 (ByteWrapper): New class.
7005 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7006 (main): Guess the average string size as 32, not 64.
7007 Copy a database before modifying it, so that we can update a
7008 database in a running system.
7009 If a database isn't big enough, resize it.
7010 "-m": new option: merges databases.
7011 "-a": Create a new detabase if it doesn't exist.
7012 (usage): Correct, add new option.
7013 (addJar): Copy a database before modifying it.
7014 (resizeMap): New method.
7016 2005-02-15 David Daney <ddaney@avtrex.com>
7017 Bryce McKinlay <mckinlay@redhat.com>
7019 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7020 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7021 ensure that GC threads inherit the new signal mask.
7022 (block_sigchld): Call JvFail rather than throwing exception if
7023 pthread_sigmask() fails.
7025 2005-02-15 Mark Wielaard <mark@klomp.org>
7027 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7028 file path elements are separated by spaces.
7030 2005-02-15 Mark Wielaard <mark@klomp.org>
7032 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7033 to describe attributes without a constant field value in this class.
7035 2005-02-15 Michael Koch <konqueror@gmx.de>
7037 * java/util/jar/Attributes.java
7038 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7040 2005-02-15 Mark Wielaard <mark@klomp.org>
7042 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7043 space for parsing CLASS_PATH attribute.
7045 2005-02-15 Mark Wielaard <mark@klomp.org>
7047 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7048 aside for "GCJLIBS" in directory where jarfiles are loaded.
7049 (JarURLLoader.getClass): Removed method.
7050 (JarURLLoader.toString): Removed method.
7051 (FileResource.toString): Removed method.
7053 2005-02-15 Mark Wielaard <mark@klomp.org>
7055 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7056 and/or cause before throwing.
7058 2005-02-15 Richard Henderson <rth@redhat.com>
7060 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7061 (libgcj0_convenience_la_SOURCES): ... here.
7062 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7063 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7064 * Makefile.in: Regenerate.
7066 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7069 * include/jawt.h: Likewise.
7070 * include/jawt_md.h: Likewise.
7071 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7073 * include/Makefile.in: Regenerate.
7074 * jni/classpath/classpath_jawt.h: Likewise.
7075 * jni/gtk-peer/gtk_jawt.c: Likewise.
7076 * Makefile.am: Build libjawt.so.
7077 * Makefile.in: Regenerate.
7079 2005-02-14 Tom Tromey <tromey@redhat.com>
7081 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7083 2005-02-14 Tom Tromey <tromey@redhat.com>
7085 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7086 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7088 2005-02-14 Tom Tromey <tromey@redhat.com>
7091 * testsuite/libjava.lang/PR19929.out: New file.
7092 * testsuite/libjava.lang/PR19929.java: New file.
7094 2005-02-14 Anthony Green <green@redhat.com>
7097 * testsuite/libjava.jni/PR18116.c: New file.
7098 * testsuite/libjava.jni/PR18116.java: New file.
7099 * testsuite/libjava.jni/PR18116.out: New file.
7101 2005-02-13 Anthony Green <green@redhat.com>
7104 * jni.cc (nathash_add): Don't strdup the method signature.
7105 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7109 2005-02-12 Mark Wielaard <mark@klomp.org>
7111 Fixes bug libgcj/8170
7112 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7113 ClassNotFoundException.
7114 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7115 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7116 (remove_internal): New field superceding remove_interpreter.
7117 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7118 Remove no-class methods starting with "_Jv_". And Replace null
7119 class or method names with the empty string. Stop at either the
7120 MainThread or a real Thread run() method.
7121 (newElement): Made static.
7122 * java/net/URLClassLoader.java (findClass): Throw
7123 ClassNotFoundExceptions including urls, plus parent using toString().
7124 (thisString): New field.
7125 (toString): New method.
7127 2005-02-10 Tom Tromey <tromey@redhat.com>
7129 * external/sax/Makefile.in: Rebuilt.
7130 * external/sax/Makefile.am (all-local): Removed.
7131 (BUILT_SOURCES): New variable.
7132 (mostlyclean-local): No error if no classes to delete.
7133 * external/w3c_dom/Makefile.in: Rebuilt.
7134 * external/w3c_dom/Makefile.am (all-local): Removed.
7135 (BUILT_SOURCES): New variable.
7136 (mostlyclean-local): No error if no classes to delete.
7138 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7140 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7141 of mauve and libjava.
7143 2005-02-09 Tom Tromey <tromey@redhat.com>
7145 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7146 jar file with OPEN_DELETE.
7147 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7148 OPEN_DELETE is used.
7150 2005-02-09 Tom Tromey <tromey@redhat.com>
7152 * java/util/zip/InflaterInputStream.java (markSupported):
7154 (mark, reset): Likewise.
7156 2005-02-08 Tom Tromey <tromey@redhat.com>
7158 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7159 name or port is missing.
7160 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7161 AUTHORITY_PORT_GROUP): Updated.
7163 2005-02-08 Tom Tromey <tromey@redhat.com>
7165 * configure: Rebuilt.
7166 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7169 2005-02-07 Tom Tromey <tromey@redhat.com>
7171 * java/lang/natRuntime.cc (insertSystemProperties): Set
7172 sun.boot.class.path earlier.
7174 2005-02-07 Tom Tromey <tromey@redhat.com>
7176 * defineclass.cc (handleClassBegin): Use
7177 _Jv_RegisterInitiatingLoader.
7178 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7179 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7180 class. Use _Jv_UnregisterInitiatingLoader.
7181 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7184 2005-02-07 Mark Wielaard <mark@klomp.org>
7186 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7187 java/util/regex/Matcher.java (lookingAt): Set position when match
7189 (matches): Implemented through lookingAt().
7191 2005-02-07 Mark Wielaard <mark@klomp.org>
7193 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7194 * java/util/regex/Pattern.java (split(CharSequence,int)):
7195 Fix while empties > 0 loops.
7197 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7199 * gnu/java/nio/charset/ISO_8859_1.java,
7200 gnu/java/nio/charset/US_ASCII.java,
7201 gnu/java/nio/charset/UTF_16.java,
7202 gnu/java/nio/charset/UTF_16_LE.java,
7203 gnu/java/nio/charset/UTF_16_BE.java,
7204 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7205 and aliases according to
7206 "http://www.iana.org/assignments/character-sets",
7207 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7208 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7209 * gnu/java/nio/charset/Provider.java: Made charset lookup
7210 case-insensitive which fixes bug #11740.
7212 2005-02-07 Tom Tromey <tromey@redhat.com>
7215 * Makefile.in: Rebuilt.
7216 * Makefile.am (src.zip): New target.
7217 (install-src.zip): Likewise.
7218 (sourcesdir): New variable.
7220 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7222 * javax/imageio/metadata/IIOMetadataNode.java:
7224 * javax/imageio/metadata/IIOAttr.java,
7225 javax/imageio/metadata/IIONamedNodeMap.java,
7226 javax/imageio/metadata/IIONodeList.java:
7229 2005-02-06 Graydon Hoare <graydon@redhat.com>
7231 * gnu/java/awt/ClasspathToolkit.java
7232 (registerImageIOSpis): New method.
7233 * javax/imageio/ImageIO.java
7234 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7235 (WriterMIMETypeFilter.filter): Likewise.
7236 (ImageReaderIterator): Pass extension argument through to SPI.
7237 (getReadersByFilter): Likewise.
7238 (getWritersByFilter): Likewise.
7239 (getImageReadersByFormatName): Likewise.
7240 (getImageReadersByMIMEType): Likewise.
7241 (getImageReadersBySuffix): Likewise.
7242 (getImageWritersByFormatName): Likewise.
7243 (getImageWritersByMIMEType): Likewise.
7244 (getImageWritersBySuffix): Likewise.
7247 * javax/imageio/ImageReader.java
7248 (progressListeners): Initialize.
7249 (setInput): Implement.
7250 * javax/imageio/ImageWriter.java
7251 (progressListeners): Initialize.
7252 (warningListeners): Likewise.
7253 (warningLocales): Likewise.
7254 (setOutput): Test "isInstance" rather than class equality.
7255 * javax/imageio/spi/IIORegistry.java
7256 (static): Add reader and writer SPIs.
7257 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7259 2005-02-06 Michael Koch <konqueror@gmx.de>
7261 * javax/imageio/metadata/IIOInvalidTreeException.java
7262 (IIOInvalidTreeException): Reformatted.
7263 * javax/imageio/spi/IIORegistry.java
7264 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7265 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7266 Reworked import statements.
7268 2005-02-06 Michael Koch <konqueror@gmx.de>
7270 * javax/imageio/stream/FileImageOutputStream.java:
7273 2005-02-06 Michael Koch <konqueror@gmx.de>
7275 * javax/imageio/stream/FileCacheImageInputStream.java,
7276 javax/imageio/stream/FileCacheImageOutputStream.java,
7277 javax/imageio/stream/FileImageInputStream.java,
7278 javax/imageio/stream/ImageInputStreamImpl.java,
7279 javax/imageio/stream/ImageOutputStreamImpl.java,
7280 javax/imageio/stream/MemoryCacheImageInputStream.java,
7281 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7282 Added all missing methods in javax.imageio.stream.
7284 2005-02-02 David Daney <ddaney@avtrex.com>
7286 * java/net/InetAddress.java (InetAddress): Make a private copy of
7288 * java/net/Inet4Address.java (getAddress): Return a copy of the
7290 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7292 (getAddress): Return a copy of the address.
7295 2005-02-02 Tom Tromey <tromey@redhat.com>
7297 * Makefile.in: Rebuilt.
7298 * Makefile.am (classes.stamp): New target, broken out from
7300 ($(all_java_class_files)): Depend on it.
7301 (libgcj-@gcc_version@.jar): Likewise.
7302 (all-recursive): Likewise.
7303 (CLEANFILES): Include classes.stamp.
7305 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7307 * link.cc: Include <stdio.h>
7309 2005-02-02 Tom Tromey <tromey@redhat.com>
7312 * Makefile.in: Rebuilt.
7313 * Makefile.am (ordinary_java_source_files): Added new class.
7314 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7315 Use system_instance, not instance.
7316 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7317 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7319 (system_instance): New field.
7320 (initialize): Initialize the system loader as well.
7321 (VMClassLoader): Default to LIB_CACHE.
7323 2005-02-02 Tom Tromey <tromey@redhat.com>
7325 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7326 * prims.cc: Fixed comment.
7328 2005-02-01 Tom Tromey <tromey@redhat.com>
7330 * Makefile.in: Rebuilt.
7331 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7332 (.java.class): Use BOOTCLASSPATH.
7334 2005-02-01 Tom Tromey <tromey@redhat.com>
7336 * external/w3c_dom/Makefile.am: New file.
7337 * external/w3c_dom/Makefile.in: New file.
7338 * external/sax/Makefile.am: New file.
7339 * external/sax/Makefile.in: New file.
7340 * external/Makefile.in: New file.
7341 * external/Makefile.am: New file.
7342 * external/README: New file from Classpath.
7343 * configure, aclocal.m4, Makefile.in: Rebuilt.
7344 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7345 * Makefile.am (SUBDIRS): Added external.
7346 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7347 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7348 (BOOTCLASSPATH): New variable.
7349 (AM_GCJFLAGS): Use it.
7350 (gnu_xml_source_files): New variable.
7351 (libgcj_la_SOURCES): Use it.
7352 (libgcj_la_LDADD): Include new convenience libraries.
7353 (lib_org_ietf_jgss_la_SOURCES): Removed.
7354 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7355 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7356 (lib_org_w3c_dom_la_SOURCES): Removed.
7357 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7358 (lib_org_w3c_dom_la_LIBADD): Likewise.
7359 (lib_org_xml_sax_la_SOURCES): Removed.
7360 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7361 (lib_org_xml_sax_la_LIBADD): Likewise.
7362 (all_java_source_files): Updated.
7363 (property_files): Likewise.
7364 (libgcj-@gcc_version@.jar): Include classes from external/.
7365 (javax_source_files): Updated.
7366 (ordinary_java_source_files): Updated.
7367 * javax/xml/XMLConstants.java,
7368 javax/xml/datatype/DatatypeConfigurationException.java,
7369 javax/xml/datatype/DatatypeConstants.java,
7370 javax/xml/datatype/DatatypeFactory.java,
7371 javax/xml/datatype/Duration.java,
7372 javax/xml/datatype/XMLGregorianCalendar.java,
7373 javax/xml/datatype/package.html,
7374 javax/xml/namespace/NamespaceContext.java,
7375 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7376 javax/xml/parsers/DocumentBuilder.java,
7377 javax/xml/parsers/DocumentBuilderFactory.java,
7378 javax/xml/parsers/FactoryConfigurationError.java,
7379 javax/xml/parsers/ParserConfigurationException.java,
7380 javax/xml/parsers/SAXParser.java,
7381 javax/xml/parsers/SAXParserFactory.java,
7382 javax/xml/parsers/package.html,
7383 javax/xml/transform/ErrorListener.java,
7384 javax/xml/transform/OutputKeys.java,
7385 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7386 javax/xml/transform/SourceLocator.java,
7387 javax/xml/transform/Templates.java,
7388 javax/xml/transform/Transformer.java,
7389 javax/xml/transform/TransformerConfigurationException.java,
7390 javax/xml/transform/TransformerException.java,
7391 javax/xml/transform/TransformerFactory.java,
7392 javax/xml/transform/TransformerFactoryConfigurationError.java,
7393 javax/xml/transform/URIResolver.java,
7394 javax/xml/transform/package.html,
7395 javax/xml/transform/dom/DOMLocator.java,
7396 javax/xml/transform/dom/DOMResult.java,
7397 javax/xml/transform/dom/DOMSource.java,
7398 javax/xml/transform/dom/package.html,
7399 javax/xml/transform/sax/SAXResult.java,
7400 javax/xml/transform/sax/SAXSource.java,
7401 javax/xml/transform/sax/SAXTransformerFactory.java,
7402 javax/xml/transform/sax/TemplatesHandler.java,
7403 javax/xml/transform/sax/TransformerHandler.java,
7404 javax/xml/transform/sax/package.html,
7405 javax/xml/transform/stream/StreamResult.java,
7406 javax/xml/transform/stream/StreamSource.java,
7407 javax/xml/transform/stream/package.html,
7408 javax/xml/validation/Schema.java,
7409 javax/xml/validation/SchemaFactory.java,
7410 javax/xml/validation/TypeInfoProvider.java,
7411 javax/xml/validation/Validator.java,
7412 javax/xml/validation/ValidatorHandler.java,
7413 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7414 javax/xml/xpath/XPathConstants.java,
7415 javax/xml/xpath/XPathException.java,
7416 javax/xml/xpath/XPathExpression.java,
7417 javax/xml/xpath/XPathExpressionException.java,
7418 javax/xml/xpath/XPathFactory.java,
7419 javax/xml/xpath/XPathFactoryConfigurationException.java,
7420 javax/xml/xpath/XPathFunction.java,
7421 javax/xml/xpath/XPathFunctionException.java,
7422 javax/xml/xpath/XPathFunctionResolver.java,
7423 javax/xml/xpath/XPathVariableResolver.java,
7424 javax/xml/xpath/package.html: New files, from GNU JAXP.
7425 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7426 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7427 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7428 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7429 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7430 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7431 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7432 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7433 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7434 org/w3c/dom/ranges/DocumentRange.java,
7435 org/w3c/dom/ranges/Range.java,
7436 org/w3c/dom/ranges/RangeException.java,
7437 org/w3c/dom/traversal/DocumentTraversal.java,
7438 org/w3c/dom/traversal/NodeFilter.java,
7439 org/w3c/dom/traversal/NodeIterator.java,
7440 org/w3c/dom/traversal/TreeWalker.java,
7441 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7442 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7443 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7444 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7445 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7446 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7447 org/xml/sax/SAXNotRecognizedException.java,
7448 org/xml/sax/SAXNotSupportedException.java,
7449 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7450 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7451 org/xml/sax/ext/DeclHandler.java,
7452 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7453 org/xml/sax/helpers/AttributeListImpl.java,
7454 org/xml/sax/helpers/AttributesImpl.java,
7455 org/xml/sax/helpers/DefaultHandler.java,
7456 org/xml/sax/helpers/LocatorImpl.java,
7457 org/xml/sax/helpers/NamespaceSupport.java,
7458 org/xml/sax/helpers/NewInstance.java,
7459 org/xml/sax/helpers/ParserAdapter.java,
7460 org/xml/sax/helpers/ParserFactory.java,
7461 org/xml/sax/helpers/XMLFilterImpl.java,
7462 org/xml/sax/helpers/XMLReaderAdapter.java,
7463 org/xml/sax/helpers/XMLReaderFactory.java,
7464 org/xml/sax/helpers/package.html: Moved to external/.
7465 * external/sax/README,
7466 external/sax/org/xml/sax/AttributeList.java,
7467 external/sax/org/xml/sax/Attributes.java,
7468 external/sax/org/xml/sax/ContentHandler.java,
7469 external/sax/org/xml/sax/DTDHandler.java,
7470 external/sax/org/xml/sax/DocumentHandler.java,
7471 external/sax/org/xml/sax/EntityResolver.java,
7472 external/sax/org/xml/sax/ErrorHandler.java,
7473 external/sax/org/xml/sax/HandlerBase.java,
7474 external/sax/org/xml/sax/InputSource.java,
7475 external/sax/org/xml/sax/Locator.java,
7476 external/sax/org/xml/sax/Parser.java,
7477 external/sax/org/xml/sax/SAXException.java,
7478 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7479 external/sax/org/xml/sax/SAXNotSupportedException.java,
7480 external/sax/org/xml/sax/SAXParseException.java,
7481 external/sax/org/xml/sax/XMLFilter.java,
7482 external/sax/org/xml/sax/XMLReader.java,
7483 external/sax/org/xml/sax/package.html,
7484 external/sax/org/xml/sax/ext/Attributes2.java,
7485 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7486 external/sax/org/xml/sax/ext/DeclHandler.java,
7487 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7488 external/sax/org/xml/sax/ext/EntityResolver2.java,
7489 external/sax/org/xml/sax/ext/LexicalHandler.java,
7490 external/sax/org/xml/sax/ext/Locator2.java,
7491 external/sax/org/xml/sax/ext/Locator2Impl.java,
7492 external/sax/org/xml/sax/ext/package.html,
7493 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7494 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7495 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7496 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7497 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7498 external/sax/org/xml/sax/helpers/NewInstance.java,
7499 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7500 external/sax/org/xml/sax/helpers/ParserFactory.java,
7501 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7502 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7503 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7504 external/sax/org/xml/sax/helpers/package.html,
7505 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7506 external/w3c_dom/org/w3c/dom/Attr.java,
7507 external/w3c_dom/org/w3c/dom/CDATASection.java,
7508 external/w3c_dom/org/w3c/dom/CharacterData.java,
7509 external/w3c_dom/org/w3c/dom/Comment.java,
7510 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7511 external/w3c_dom/org/w3c/dom/DOMError.java,
7512 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7513 external/w3c_dom/org/w3c/dom/DOMException.java,
7514 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7515 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7516 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7517 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7518 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7519 external/w3c_dom/org/w3c/dom/Document.java,
7520 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7521 external/w3c_dom/org/w3c/dom/DocumentType.java,
7522 external/w3c_dom/org/w3c/dom/Element.java,
7523 external/w3c_dom/org/w3c/dom/Entity.java,
7524 external/w3c_dom/org/w3c/dom/EntityReference.java,
7525 external/w3c_dom/org/w3c/dom/NameList.java,
7526 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7527 external/w3c_dom/org/w3c/dom/Node.java,
7528 external/w3c_dom/org/w3c/dom/NodeList.java,
7529 external/w3c_dom/org/w3c/dom/Notation.java,
7530 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7531 external/w3c_dom/org/w3c/dom/Text.java,
7532 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7533 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7534 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7535 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7536 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7537 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7538 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7539 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7540 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7541 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7542 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7543 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7544 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7545 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7546 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7547 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7548 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7549 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7550 external/w3c_dom/org/w3c/dom/css/Counter.java,
7551 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7552 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7553 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7554 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7555 external/w3c_dom/org/w3c/dom/css/Rect.java,
7556 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7557 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7558 external/w3c_dom/org/w3c/dom/events/Event.java,
7559 external/w3c_dom/org/w3c/dom/events/EventException.java,
7560 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7561 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7562 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7563 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7564 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7565 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7566 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7567 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7568 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7569 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7570 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7571 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7572 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7573 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7574 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7575 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7576 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7577 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7578 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7579 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7580 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7581 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7582 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7583 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7584 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7585 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7586 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7587 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7588 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7589 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7590 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7591 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7592 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7593 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7594 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7595 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7596 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7597 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7598 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7599 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7600 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7601 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7602 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7603 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7604 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7605 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7606 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7607 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7608 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7609 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7610 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7611 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7612 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7613 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7614 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7615 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7616 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7617 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7618 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7619 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7620 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7621 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7622 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7623 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7624 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7625 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7626 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7627 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7628 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7629 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7630 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7631 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7632 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7633 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7634 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7635 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7636 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7637 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7638 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7639 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7640 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7641 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7642 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7643 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7644 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7645 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7646 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7647 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7648 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7649 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7650 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7651 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7654 2005-01-31 Anthony Green <green@redhat.com>
7656 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7657 Support IP_MULTICAST_LOOP.
7658 (setOption): Support IP_MULTICAST_LOOP.
7660 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7661 SO_REUSEADDR support.
7662 (getOption): Support SO_REUSEADDR.
7664 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7667 * java/util/Date.java
7668 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7670 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7672 (getTimezoneOffset): Inverted sign.
7674 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7676 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7677 remove other passing tests and add new XFAILs.
7679 2005-01-24 Tom Tromey <tromey@redhat.com>
7681 * java/lang/Class.h (next): Updated documentation. Renamed to
7683 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7684 _Jv_CheckABIVersion.
7685 (_Jv_RegisterClasses_Counted): Likewise.
7686 (_Jv_RegisterClassHookDefault): Fix starting condition of
7687 duplicate-checking loop.
7688 * include/jvm.h (GCJ_VERSION): New define.
7689 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7690 (_Jv_CheckABIVersion): New function.
7692 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7694 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7695 (libgij_la_LDFLAGS): Add.
7696 * Makefile.in: Rebuilt.
7698 2005-01-24 Roger Sayle <roger@eyesopen.com>
7701 * testsuite/libjava.compile/PR19295.java: New test case.
7703 2005-01-19 Tom Tromey <tromey@redhat.com>
7705 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7706 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7707 if 'handler' is valid.
7709 2005-01-17 Tom Tromey <tromey@redhat.com>
7711 * java/text/MessageFormat.java (scanString): Changed how quoting
7713 (scanFormatElement): Likewise.
7715 2004-12-07 Mark Wielaard <mark@klomp.org>
7717 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7719 2005-01-15 Michael Koch <konqueror@gmx.de>
7723 (AUTHORITY_REGEXP): New regexp constant.
7724 (AUTHORITY_USERINFO_GROUP): New constant.
7725 (AUTHORITY_HOST_GROUP): Likewise.
7726 (AUTHORITY_PORT_GROUP): Likewise.
7727 (port): Changed default value to -1.
7728 (parseURI): Parse authority part and initialize host,
7731 2005-01-14 Robin Green <greenrd@greenrd.org>
7733 * java/io/File.java (toURI): Generate a URI which we understand.
7735 2005-01-13 Graydon Hoare <graydon@redhat.com>
7737 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7738 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7739 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7740 * jni.cc: Reuse bottom frame between calls, avoid clearing
7741 frame when no local references are made.
7743 2005-01-13 Michael Koch <konqueror@gmx.de>
7746 * java/lang/Thread.java
7747 (Thread): Call checkAccess().
7748 (stop): Fixed argument name to match javadoc.
7749 * java/lang/natThread.cc
7750 (interrupt): Call checkAccess().
7753 2005-01-11 Michael Koch <konqueror@gmx.de>
7756 * java/net/URL.java (URL): Handle specs like
7757 "/redir?http://domain2.com/index.html" which start with a slash.
7759 2005-01-11 Michael Koch <konqueror@gmx.de>
7761 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7762 * gnu/java/net/BASE64.java,
7763 gnu/java/net/EmptyX509TrustManager.java,
7764 gnu/java/net/LineInputStream.java,
7765 gnu/java/net/protocol/http/Authenticator.java,
7766 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7767 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7768 gnu/java/net/protocol/http/ChunkedInputStream.java,
7769 gnu/java/net/protocol/http/Cookie.java,
7770 gnu/java/net/protocol/http/CookieManager.java,
7771 gnu/java/net/protocol/http/Credentials.java,
7772 gnu/java/net/protocol/http/HTTPConnection.java,
7773 gnu/java/net/protocol/http/HTTPDateFormat.java,
7774 gnu/java/net/protocol/http/HTTPURLConnection.java,
7775 gnu/java/net/protocol/http/Headers.java,
7776 gnu/java/net/protocol/http/Request.java,
7777 gnu/java/net/protocol/http/RequestBodyWriter.java,
7778 gnu/java/net/protocol/http/Response.java,
7779 gnu/java/net/protocol/http/ResponseBodyReader.java,
7780 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7781 gnu/java/net/protocol/http/SimpleCookieManager.java,
7782 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7783 gnu/java/net/protocol/http/event/ConnectionListener.java,
7784 gnu/java/net/protocol/http/event/RequestEvent.java,
7785 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7786 * gnu/java/net/protocol/http/Connection.java: Removed.
7787 * gnu/java/net/protocol/http/Handler.java,
7788 javax/net/ssl/HttpsURLConnection.java: Updated.
7789 * Makefile.am: Added new files and remove old ones.
7790 * Makefile.in: Regenerated.
7792 2005-01-11 Tom Tromey <tromey@redhat.com>
7795 * java/io/BufferedInputStream.java (read): Repeatedly read to
7797 (refill): Change test to see if buffer must be grown.
7799 2005-01-10 Tom Tromey <tromey@redhat.com>
7801 * mauve-libgcj: Exclude some swing tests.
7803 2005-01-10 Tom Tromey <tromey@redhat.com>
7805 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7806 * java/lang/Package.java (getPackages): Use VMClassLoader when
7808 (getPackage): Likewise.
7809 * prims.cc (_Jv_CreateJavaVM): Call
7810 _Jv_RegisterBootstrapPackages.
7811 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7812 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7813 (getPackages): Likewise.
7814 (definedPackages): New field.
7815 (definePackageForNative): New method.
7816 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7817 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7818 * defineclass.cc (handleClassBegin): Use
7819 ClassLoader.findLoadedClass.
7820 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7822 (struct _Jv_LoaderInfo): Removed.
7823 (initiated_classes): Likewise.
7824 (_Jv_UnregisterClass): Don't use initiated_classes.
7825 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7826 (_Jv_FindClass): Register classes found during boostrap.
7827 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7828 (bootstrap_class_list): New global.
7829 (bootstrap_index): Likewise.
7830 (_Jv_RegisterBootstrapPackages): New function.
7831 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7832 definePackageForNative.
7833 (findClass): Updated.
7834 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7837 2005-01-10 Tom Tromey <tromey@redhat.com>
7840 * include/jvm.h (_Jv_Linker::find_field): Declare.
7841 (_Jv_Linker::find_field_helper): Likewise.
7842 * link.cc (find_field_helper): New method.
7843 (find_field): Likewise.
7844 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7846 (link_symbol_table): Use find_field.
7848 2005-01-10 Michael Koch <konqueror@gmx.de>
7851 * java/util/Locale.java (Locale): Don't uppercase variant.
7852 (getISOCountries): Fixed typo in javadoc.
7854 2005-01-10 Michael Koch <konqueror@gmx.de>
7856 * java/util/SimpleTimeZone.java (checkRule):
7857 Throw IllegalArgumentException on invalid month values.
7858 * java/util/TimeZone.java (setID):
7859 Throw NullPointerException if needed.
7861 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7863 * java/util/SimpleTimeZone.java (getOffset):
7864 offset end date with daylight savings
7866 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7868 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7869 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7871 2005-01-09 Michael Koch <konqueror@gmx.de>
7874 * java/net/InetAddress.java (getLocalHost):
7875 Throw UnknownHostException if local hostname cannot be determined.
7877 2005-01-06 Tom Tromey <tromey@redhat.com>
7879 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7881 2005-01-07 Michael Koch <konqueror@gmx.de>
7884 * java/nio/Buffer.java (address): New field.
7885 * java/nio/DirectByteBufferImpl.java (address): Removed.
7886 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7887 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7888 Explicitly initialize Buffer.address if needed.
7889 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7890 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7891 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7892 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7893 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7894 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7895 DirectByteBufferImpl object.
7896 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7897 * testsuite/libjava.jni/directbuffer.c,
7898 testsuite/libjava.jni/directbuffer.java,
7899 testsuite/libjava.jni/directbuffer.out,
7900 testsuite/libjava.jni/bytebuffer.c,
7901 testsuite/libjava.jni/bytebuffer.java,
7902 testsuite/libjava.jni/bytebuffer.out: New files.
7904 2005-01-05 Tom Tromey <tromey@redhat.com>
7906 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7908 (compressedSize): Now 'long'. Default to -1.
7909 (getCompressedSize): Rewrote.
7910 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7911 deflate at all if we need input.
7913 2005-01-05 Tom Tromey <tromey@redhat.com>
7916 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7919 2005-01-05 Tom Tromey <tromey@redhat.com>
7921 * java/lang/natRuntime.cc (insertSystemProperties): Set
7922 java.ext.dirs earlier.
7924 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7926 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7927 sync_info element of the object if needed.
7929 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7931 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7932 a non-zero exit status from 'false'.
7934 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7936 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.