1 2005-06-29 Tom Tromey <tromey@redhat.com>
3 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
6 2005-06-28 Robin Green <greenrd@greenrd.org>
9 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
12 2005-06-27 Tom Tromey <tromey@redhat.com>
14 PR java/21540, PR java/13788:
15 * testsuite/libjava.compile/pr21540.java: New file.
16 * testsuite/libjava.compile/pr13788.java: New file.
17 * testsuite/libjava.jacks/jacks.xfail: Updated.
19 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
21 * testsuite/libjava.mauve/xfails: Updated to reflect current state
24 2005-06-24 Tom Tromey <tromey@redhat.com>
26 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
27 where class' name is NULL.
28 (_Jv_FindClass): Don't wait for class state.
29 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
31 * include/java-interp.h (_Jv_DefineClass): Updated.
32 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
33 (struct _Jv_ClassReader): Likewise.
34 (found_name): New field.
35 (handleClassBegin): Set *found_name.
36 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
37 (handleClassBegin): Throw error if super class not set.
38 (read_methods): Correctly call check_tag and prepare_pool_entry.
40 2005-06-24 Tom Tromey <tromey@redhat.com>
42 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
44 2005-06-24 Tom Tromey <tromey@redhat.com>
46 * verify.cc (verify_instructions_0): Correctly handle situation
47 where PC falls off end.
49 2005-06-24 Tom Tromey <tromey@redhat.com>
51 * interpret.cc (compile): Handle case where table entry is
54 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
56 * testsuite/libjava.compile/PR20697.java: New test-case.
58 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
60 * Makefile.am (SUBDIRS): Use append for conditional.
61 (toolexeclib_LTLIBRARIES): Likewise.
62 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
64 * Makefile.in: Regenerate.
66 2005-06-17 Keith Seitz <keiths@redhat.com>
68 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
69 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
70 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
72 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
73 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
75 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
76 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
77 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
78 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
80 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
81 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
83 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
85 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
86 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
87 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
88 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
89 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
90 * Makefile.in: Regenerate.
92 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
94 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
95 (USING_POSIX_PLATFORM): ... here.
96 * Makefile.am: Delete USING_ECOS_PLATFORM.
97 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
98 external/Makefile.in, external/sax/Makefile.in,
99 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
101 2005-06-15 Tom Tromey <tromey@redhat.com>
104 * testsuite/libjava.lang/pr17536.java: New file.
105 * testsuite/libjava.lang/pr17536.out: New file.
107 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
110 * gnu/java/net/protocol/http/HTTPURLConnection.java
111 (getHeaderFieldKey): Check index.
113 2005-06-15 Tom Tromey <tromey@redhat.com>
116 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
118 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
119 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
121 (append_partial_itable): Use it.
122 (set_vtable_entries): Likewise.
124 2005-06-15 Tom Tromey <tromey@redhat.com>
126 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
127 last_was_sep in loop.
129 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
131 * configure.host: Handle Solaris 10/x86.
133 2005-06-14 Keith Seitz <keiths@redhat.com>
135 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
136 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
138 2005-06-14 Keith Seitz <keiths@redhat.com>
140 * gnu/classpath/jdwp/id/ArrayId.java: New file.
141 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
142 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
143 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
144 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
145 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
146 * gnu/classpath/jdwp/id/JdwpId.java: New file.
147 * gnu/classpath/jdwp/id/ObjectId.java: New file.
148 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
149 * gnu/classpath/jdwp/id/StringId.java: New file.
150 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
151 * gnu/classpath/jdwp/id/ThreadId.java: New file.
153 2005-06-14 Tom Tromey <tromey@redhat.com>
156 * configure, aclocal.m4, Makefile.in: Rebuilt.
158 2005-06-14 Tom Tromey <tromey@redhat.com>
160 * java/lang/Class.java (getClasses): New method.
161 (internalGetClasses): Likewise.
162 (getClassLoader): Updated documentation.
163 (getDeclaredClasses): New overload; old overload no longer
165 (_getConstructors): Removed.
166 (resourcePath): Updated.
167 * java/lang/natClass.cc (getClasses): Removed.
168 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
170 (_getConstructors): Removed.
172 2005-06-13 Jim Huang <jserv@kaffe.org>
175 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
176 (_Jv_JNI_NewObject): Likewise.
178 2005-06-13 Tom Tromey <tromey@redhat.com>
181 * testsuite/libjava.lang/pr21844.java: New file.
182 * testsuite/libjava.lang/pr21844.out: New file.
184 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
187 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
190 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
192 * java/text/MessageFormat.java (parse): When parsing strings, check
193 for an empty pattern trailer.
195 2005-06-06 Keith Seitz <keiths@redhat.com>
197 * gnu/classpath/jdwp/util/Signature.java: New file.
198 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
200 2005-06-05 Anthony Green <green@redhat.com>
202 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
205 2005-06-04 Anthony Green <green@redhat.com>
207 * java/net/URLClassLoader.java: import gnu.gcj.Core,
208 and gnu.java.net.protocol.core.CoreInputStream.
209 (CureURLLoader): New class.
210 (CoreResource): New class.
211 (addURLImpl): Add special treatment for the "core" protocol.
212 * gnu/gcj/natCore.cc (find): New method.
213 * gnu/gcj/Core.java (find): New method.
215 2005-06-03 Keith Seitz <keiths@redhat.com>
217 * gnu/classpath/jdwp/transport/ITransport.java: New file.
218 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
219 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
221 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
223 * jawt.c: Remove malloc.h, covered by stdlib.h.
225 * testsuite/libjava.jni/jni.exp
226 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
229 2005-06-02 Keith Seitz <keiths@redhat.com>
231 * gnu/classpath/jdwp/transport/TransportException.java: New file.
233 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
235 * mauve-libgcj: Remove implemented classes from the fail section.
236 Add two new not implemented to it.
238 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
240 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
241 AC_SUBST definition from configure.host.
242 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
243 to -fomit-frame-pointer on 32-bit x86 targets.
245 2005-06-01 Tom Tromey <tromey@redhat.com>
247 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
249 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
252 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
253 (static): Add possessive matching to JAVA_1_4 syntax.
254 * gnu/regexp/RETokenRepeated.java (possessive): New field.
255 (makePossessive, isPossessive): New methods.
256 (match): Don't back off during possessive matching.
257 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
258 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
261 2005-06-01 Keith Seitz <keiths@redhat.com>
263 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
264 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
265 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
267 2005-06-01 Tom Tromey <tromey@redhat.com>
270 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
271 (currentLoader): New method.
272 * java/io/ObjectInputStream.java (resolveProxyClass): Use
274 (currentLoader): Now native.
275 (currentClassLoader): Removed.
276 * testsuite/libjava.lang/pr21785.java: New file.
277 * testsuite/libjava.lang/pr21785.out: New file.
279 2005-06-01 Tom Tromey <tromey@redhat.com>
282 * java/lang/natString.cc (substring): Changed sharing heuristic.
284 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
287 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
288 MAXPATHLEN. Format exception message using a StringBuffer instead.
290 2005-05-29 Michael Koch <konqueror@gmx.de>
293 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
295 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
297 * ChangeLog: Fix typo.
299 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
301 Testsuite adjustments for PR java/19870.
302 * testsuite/libjava.lang/PR19870.java: New testcase.
303 * testsuite/libjava.lang/PR19870.out: Expected output for the
305 * testsuite/libjava.jacks/jacks.xfail: Add
306 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
309 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
311 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
312 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
313 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
315 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
316 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
317 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
318 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
320 2005-05-25 Richard Henderson <rth@redhat.com>
323 * sysdep/descriptor-n.h: New file.
324 * sysdep/descriptor-y.h: New file.
325 * sysdep/powerpc/descriptor.h: New file.
326 * configure.host: Set $descriptor_h appropriate for the host.
327 * configure.ac: Link it.
328 * configure: Regenerate.
329 * stacktrace.cc: Include sysdep/descriptor.h.
330 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
332 2005-05-25 Chris Burdess <dog@gnu.org>
334 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
335 end entity callbacks.
337 2005-05-24 Gary Benson <gbenson@redhat.com>
340 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
341 Handle DateFormat.DEFAULT case correctly.
343 2005-05-21 Tom Tromey <tromey@redhat.com>
346 * java/lang/ref/natReference.cc (find_slot): Handle case where
347 table has no NULL entries.
348 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
349 table has no NULL entries.
351 2005-05-22 Andreas Jaeger <aj@suse.de>
353 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
356 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
358 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
360 2005-05-19 Richard Henderson <rth@redhat.com>
362 * exception.cc: Revert 05-17 gcc_unreachable change.
364 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
366 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
367 _Jv_RegisterInitiatingLoader to register array classes, not
369 (_Jv_RegisterInitiatingLoader): Give up if called very early during
370 bootstrapping. Add a FIXME to handle this case better.
372 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
374 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
376 (libgcj_la_SOURCES): New. Move sources here.
377 (libgcj.la): Remove rule.
379 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
382 * gnu/java/security/provider/DSASignature.java: Import updates
385 2005-05-18 Anthony Green <green@redhat.com>
387 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
388 classpath_jawt_object_unlock, classpath_jawt_create_lock,
389 classpath_jawt_destroy_lock): New functions.
390 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
391 classpath_jawt_object_unlock, classpath_jawt_create_lock,
392 classpath_jawt_destroy_lock): New functions.
393 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
395 * jawt.c: #include malloc.h.
396 (_Jv_Lock): Use lock.
398 (_Jv_GetDrawingSurface): Initialize lock.
399 (_Jv_FreeDrawingSurface): Destroy lock.
400 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
402 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
404 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
405 * Makefile.in: Regenerate.
407 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
409 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
410 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
411 * aclocal.m4, configure, config.h.in, include/config.h.in,
412 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
413 external/Makefile.in, external/sax/Makefile.in,
414 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
416 2005-05-17 David Daney <ddaney@avtrex.com>
419 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
421 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
423 * exception.cc (abort): Remove std::abort hack.
424 (gcc_unreacheable): Define.
426 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
428 * Makefile.am (Makefile.deps): Do not create native.list and
430 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
431 * Makefile.in: Regenerate.
433 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
435 * configure.ac (--enable-libgcj-multifile): Remove.
437 * Makefile.am (all_native_compiled_source_files,
438 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
439 all_libgcj_lo_files, all_xlib_lo_files,
440 all_java_deps_files, all_java_stamp_files,
441 all_java_filelist_files): New variables.
442 (EXTRA_DIST): New Automake variable.
443 (CLEANFILES): Add .stamp, .list and .lo files.
444 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
445 (classes.stamp): Depend on $(all_java_stamp_files).
446 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
447 going through write_entries_to_file.
449 (all_java_source_files, all_property_files): Move earlier.
450 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
451 all_java_class_files): Remove.
452 (gtk_awt_peer_sources): Rename to...
453 (gtk_awt_peer_source_files): ... this. Adjust throughout.
456 (libgcj0_convenience_la_SOURCES): Remove Java source files.
457 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
458 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
459 (libgcj_la_SOURCES): Remove.
460 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
461 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
462 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
464 * configure: Regenerate.
465 * Makefile.in: Regenerate.
466 * external/Makefile.in: Regenerate.
467 * external/sax/Makefile.in: Regenerate.
468 * external/w3c_dom/Makefile.in: Regenerate.
469 * gcj/Makefile.in: Regenerate.
470 * include/Makefile.in: Regenerate.
471 * libltdl/Makefile.in: Regenerate.
472 * testsuite/Makefile.in: Regenerate.
474 2005-05-16 Tom Tromey <tromey@redhat.com>
476 * java/nio/charset/Charset.java (encode, decode): Synchronize on
477 'this', not the class.
479 2005-05-16 Tom Tromey <tromey@redhat.com>
481 * gnu/java/net/protocol/http/Headers.java (parse): Include final
484 2005-05-16 Tom Tromey <tromey@redhat.com>
487 * java/net/URI.java (unquote): Handle lower-case letters as well.
489 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
492 * gnu/regexp/RE.java: Add support for quoting constructs.
494 2005-05-15 Tom Tromey <tromey@redhat.com>
496 * java/lang/String.java (startsWith): Fixed javadoc.
498 2005-05-15 Tom Tromey <tromey@redhat.com>
501 * testsuite/libjava.compile/pr21519.java: New file.
502 * testsuite/libjava.compile/pr21519.no-link: New file.
504 2005-05-15 Tom Tromey <tromey@redhat.com>
506 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
508 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
511 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
512 interrupt status flag if _Jv_CondWait is interrupted.
514 2005-05-13 Tom Tromey <tromey@redhat.com>
516 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
519 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
521 * include/jvm.h (gcj::verifyClasses): Declare.
522 * link.cc (gcj::verbose_class_flag): Moved.
523 * prims.cc (gcj::verifyClasses): Define here.
524 (gcj::verbose_class_flag): Move definition here.
525 (_Jv_Linker::wait_for_state): Don't call verify_class
526 if gcj::verifyClasses is not set.
527 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
529 2005-05-12 Aaron Luchko <aluchko@redhat.com>
531 * gij.cc (main): Recognize '-verify', '-noverify', and
534 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
536 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
538 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
540 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
543 2005-05-11 Tom Tromey <tromey@redhat.com>
545 * external/w3c_dom/Makefile.in: Rebuilt.
546 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
548 * external/sax/Makefile.in: Rebuilt.
549 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
551 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
553 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
554 Call _Jv_CopyClassesToSystemLoader.
555 * java/lang/natClassLoader.cc (system_class_list): New global.
556 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
558 (_Jv_CopyClassesToSystemLoader): New function.
559 (SYSTEM_LOADER_INITIALIZED): New define.
560 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
561 (_Jv_CheckABIVersion): Use it.
562 (_Jv_ClassForBootstrapLoader): New function.
563 * Makefile.in: Rebuilt.
564 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
566 2005-05-10 Tom Tromey <tromey@redhat.com>
568 * gcj/javaprims.h: Updated.
569 * java/lang/String.java (String(StringBuilder)): New constructor.
570 * java/lang/natStringBuilder.cc: New file.
571 * java/lang/StringBuilder.java: New file.
572 * Makefile.in: Rebuilt.
573 * Makefile.am (core_java_source_files): Added StringBuilder.java.
574 (nat_source_files): Added natStringBuilder.cc.
576 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
579 * testsuite/libjava.jacks/jacks.xfail: Adjust.
581 2005-05-09 Mike Stump <mrs@apple.com>
583 * configure: Regenerate.
585 2005-05-09 David Daney <ddaney@avtrex.com>
587 * java/util/BitSet.java (get(int, int)): Fix breakage when
588 requested set doesn't start on a multiple of 64.
590 2005-05-07 Matthias Klose <doko@debian.org>
592 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
594 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
596 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
597 * Makefile.in: Regenerate.
598 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
599 (createCompatibleVolatileImage(int,int)): Implement.
600 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
602 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
604 (createVolatileImage): Implement.
605 (createBuffers): Likewise.
606 (getBackBuffer): Likewise.
608 (destroyBuffers): Likewise.
609 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
610 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
611 (CanvasFlipBufferStrategy): Likewise.
612 (createBufferStrategy(int)): New method.
613 (createBufferStrategy(int,BufferCapabilities)): Likewise.
614 * java/awt/Component.java (BltBufferStrategy): Implement and
616 (FlipBufferStrategy): Likewise.
617 * java/awt/Window.java (WindowBltBufferStrategy): New class.
618 (WindowFlipBufferStrategy): Likewise.
619 (createBufferStrategy(int)): New method.
620 (createBufferStrategy(int,BufferCapabilities)): Likewise.
621 (getBufferStrategy): Likewise.
622 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
623 front to frontCaps and back to backCaps.
625 2005-05-06 Michael Koch <konqueror@gmx.de>
627 * java/awt/BufferCapabilities.java
628 (BufferCapabilities): Merged javadoc.
630 2005-05-06 Michael Koch <konqueror@gmx.de>
632 * java/util/Locale.java
633 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
634 (getLocale): New methods. Use it everywhere where instances of Locales
636 (getDisplayLanguage): Merged javadoc.
637 (getDisplayCountry): Likewise.
638 (getDisplayVariant): Likewise.
640 2005-05-06 Archie Cobbs <archie@dellroad.org>
642 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
643 use DeleteLocalRef() to avoid exhausting local native references.
645 2005-05-06 Mark Wielaard <mark@klomp.org>
647 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
648 (window_delete_cb): Don't use C++ style comments.
650 2005-05-06 Robert Schuster <thebohemian@gmx.net>
652 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
655 2005-05-06 Robert Schuster <thebohemian@gmx.net>
657 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
658 (window_delete_cb): Made the function return TRUE.
660 2005-05-06 Roman Kennke <roman@kennke.org>
662 * javax/swing/text/PlainView.java
663 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
665 * javax/swing/text/Utilities.java
666 (drawTabbedText): Initilialize local variable pos correctly.
668 2005-05-06 Roman Kennke <roman@kennke.org>
670 * javax/swing/text/AbstractDocument.java
671 (LeafElement): Made start and end package private fields for
672 effective reindexing.
673 * javax/swing/text/PlainDocument.java
674 (constructor): The field rootElement is always BranchElement,
675 so we handle it as such.
676 (removeUpdate): Rewritten reindexing for removeUpdate so that
677 the actual removal is taken into account.
679 2005-05-06 Roman Kennke <roman@kennke.org>
681 * javax/swing/text/GapContent.java:
682 Removed debugging output stuff, which I accidentally left in.
684 2005-05-06 Roman Kennke <roman@kennke.org>
686 * javax/swing/text/GapContent.java:
687 Implemented a real GapContent. Only the public methods have
688 been implemented so far and still no UndoableEdit support.
690 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
692 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
695 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
697 * java/awt/image/BufferStrategy.java: Document.
699 * java/awt/BufferCapabilities.java: Document.
701 2005-05-04 Tom Tromey <tromey@redhat.com>
703 * java/nio/channels/FileLock.java (toString): Entirely avoid
706 2005-05-04 Andrew Overholt <overholt@redhat.com>
708 * java/nio/channels/FileLock.java (toString): Re-implement using
711 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
713 * java/awt/ImageCapabilities.java: Document.
715 * java/awt/image/VolatileImage.java: Unindent copyright header.
717 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
719 * java/awt/image/VolatileImage.java: Document.
721 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
724 (init_glib_threads): Check if threading system is already
727 2005-05-03 Andrew Overholt <overholt@redhat.com>
730 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
731 could not be acquired.
732 * java/nio/channels/FileLock.java (toString): Re-implement to be
733 in line with other implementations.
735 2005-05-03 Tom Tromey <tromey@redhat.com>
737 * java/lang/VMSecurityManager.java (currentClassLoader): Use
738 'systemClasssLoader' directly.
740 2005-05-03 Tom Tromey <tromey@redhat.com>
742 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
743 call VMClassLoader.getSystemClassLoader.
745 2005-04-29 Michael Koch <konqueror@gmx.de>
747 * java/net/NetworkInterface.java
749 (NetworkInterface(String,InetAddress)): Made package-private.
750 (NetworkInterface(String,InetAddress[])): New constructor.
751 (getRealNetworkInterfaces): Removed.
752 (getByName): Use VMNetworkInterface.getInterfaces().
753 (getByInetAddress): Likewise.
754 (getNetworkInterfaces): Likewise.
755 * java/net/VMNetworkInterface.java,
756 java/net/natVMNetworkInterfaceNoNet.cc,
757 java/net/natVMNetworkInterfacePosix.c,c
758 java/net/natVMNetworkInterfaceWin32.cc: New files.
759 * java/net/natNetworkInterfaceNoNet.cc,
760 java/net/natNetworkInterfacePosix.cc,
761 java/net/natNetworkInterfaceWin32.cc: Removed.
764 * configure, Makefile.in: Regenerated.
766 2005-04-29 Andrew Haley <aph@redhat.com>
768 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
770 2005-04-29 Dalibor Topic <robilad@kaffe.org>
772 * java/nio/channels/FileChannelImpl.java
773 (FileChannelImpl(String, int)): Removed.
774 (FileChannelImpl(File, int)): Added. Check if opened file is a
776 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
777 Call FileChannelImpl(File, int).
778 * java/io/FileOutputStream.java (FileInputStream): Call
779 FileChannelImpl(File, int).
780 * java/io/RandomAccessFile.java (RandomAccessFile):
781 Call FileChannelImpl(File, int). Switched constructors around.
783 2005-04-27 Andrew Haley <aph@redhat.com>
786 * prims.cc (_Jv_ResolvePoolEntry): New function.
787 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
788 * link.cc (_Jv_Linker::find_field): New arg: found_class.
789 (resolve_pool_entry): Initialize the class in which a field is
791 (link_symbol_table): Pass new arg to found_class.
793 2005-04-29 Michael Koch <konqueror@gmx.de>
795 * java/nio/charset/Charset.java
796 (provider): Reformatted.
798 2005-04-29 Michael Koch <konqueror@gmx.de>
800 * gnu/java/net/protocol/http/HTTPConnection.java:
801 (userAgent): Initialize from system properties.
802 (initUserAgent): Removed.
804 2005-04-29 Mark Wielaard <mark@klomp.org>
806 * java/util/ResourceBundle.java (getObject): Clarify
807 MissingResourceException detailed message.
808 (tryBundle(String,ClassLoader)): Likewise.
810 2005-04-29 Robert Schuster <thebohemian@gmx.net>
812 * java/beans/FeatureDescriptor.java:
813 (getShortDescription): Implemented fallback mechanism and fixed
814 documentation (fixes bug #12637).
815 (getDisplayName): Dito.
817 2005-04-29 Robert Schuster <thebohemian@gmx.net>
819 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
820 will now be set correctly.
821 (flushCaches): Now flushes all cached intermediate data.
823 2005-04-28 Michael Koch <konqueror@gmx.de>
825 * java/net/InetAddress.java
826 (aton): Fixed javadoc.
829 2005-04-28 Tom Tromey <tromey@redhat.com>
831 * javax/swing/Timer.java
832 (drainEvents, queueEvent): Now package-private.
834 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
836 * javax/swing/Timer.java
837 (constructor): Assigning initialDelay.
839 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
841 * javax/swing/Timer.java
842 (Waker.run): firing the first action event.
844 2005-04-28 Michael Koch <konqueror@gmx.de>
846 * javax/swing/Timer.java: Reordered all fields and methods,
849 2005-04-28 Michael Koch <konqueror@gmx.de>
851 * javax/swing/Timer.java: Javadocs merged
854 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
856 * gnu/java/net/protocol/file/Connection.java
857 (StaticData): New inner class to contain statics.
858 (connect, getHeaderField): Modified to use StaticData.
860 2005-04-28 Michael Koch <konqueror@gmx.de>
862 * gnu/java/net/protocol/file/Connection.java
863 (lineSeparator): Initialize with SystemProperties.getProperty().
865 2005-04-27 Chris Burdess <dog@gnu.org>
867 * gnu/java/net/protocol/file/Connection.java: Return correct content
868 length for directory listing.
869 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
870 #11285: return valid URLs for directories.i
872 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
874 * Makefile.am (ordinary_java_source_files): Add
875 gnu/java/net/protocol/https/Handler.java.
876 * Makefile.in: Regenerate.
877 * java/net/URL.java: Remove org.metastatic.jessie from default
878 protocol search path.
880 2005-04-27 Chris Burdess <dog@gnu.org>
882 * gnu/java/net/protocol/https/Handler.java: New file.
884 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
886 * javax/imageio/spi/IIORegistry.java (IIORegistry):
887 Don't assume that awt Toolkit is always ClasspathToolkit.
889 2005-04-27 Chris Burdess <dog@gnu.org>
891 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
892 absolute and relative paths in Location header.
894 2005-04-27 Chris Burdess <dog@gnu.org>
896 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
897 FileNotFoundException and implement getErrorStream on 404.
899 2005-04-27 Sven de Marothy <sven@physto.se>
901 * java/util/TimeZone.java,
902 (getDefaultDisplayName): Fix previous fix.
904 2005-04-27 Sven de Marothy <sven@physto.se>
906 * java/util/TimeZone.java,
907 (getDefaultDisplayName): Don't print zero offsets.
909 2005-04-27 Roman Kennke <roman@kennke.org>
911 * javax/swing/plaf/basic/BasicScrollBarUI
912 (getThumbBounds): Do not make thumb smaller than
914 * javax/swing/plaf/metal/MetalLookAndFeel
915 (initComponentDefaults): Added color defaults for ScrollBar.
916 * javax/swing/plaf/metal/MetalScrollBarUI
918 (getMinimumThumbSize): Added.
920 2005-04-27 Roman Kennke <roman@kennke.org>
922 * javax/swing/plaf/metal/MetalLookAndFeel
923 (initComponentDefaults): Added some default colors.
925 2005-04-27 Roman Kennke <roman@kennke.org>
927 * javax/swing/plaf/basic/BasicScrollBarUI.java
928 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
929 to 'ScrollBar.thumbShadow'. The formes does not exist.
930 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
932 2005-04-27 Roman Kennke <roman@kennke.org>
934 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
935 * javax/swing/BoxLayout.java: Likewise.
936 * javax/swing/UIManager.java: Likewise.
937 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
938 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
939 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
940 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
941 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
942 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
943 * javax/swing/text/Document.java: Likewise.
944 * javax/swing/text/GapContent.java: Likewise.
945 * javax/swing/text/SimpleAttributeSet.java: Likewise.
946 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
948 2005-04-27 Roman Kennke <roman@kennke.org>
950 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
951 (getPropertyPrefix): Added.
953 2005-04-27 Roman Kennke <roman@kennke.org>
955 * javax/swing/plaf/basic/BasicButtonUI.java
956 (getPropertyPrefix): Added.
957 (installDefaults): Use getPropertyPrefix instead of hard-coded
960 2005-04-27 Roman Kennke <roman@kennke.org>
962 * javax/swing/JToggleButton.java
963 (JToggleButton): Removed horizontalAlignment setting, this
964 was wrong. Added setting of an actionCommand, ToggleButtons
965 have "" as default actionCommand.
967 2005-04-27 Michael Koch <konqueror@gmx.de>
969 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
970 to work around CNI limitation.
972 2005-04-27 Sven de Marothy <sven@physto.se>
974 * java/nio/charset/Charset.java:
975 (defaultCharset()): New method.
976 Status updated to 1.5
978 2005-04-27 Sven de Marothy <sven@physto.se>
980 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
982 2005-04-27 Sven de Marothy <sven@physto.se>
984 * java/nio/charset/Charset.java: Reset cached de/encoders.
986 2005-04-27 Robert Schuster <thebohemian@gmx.net>
988 * java/nio/charset/Charset.java (forName): Throws
989 IllegalArgumentException when argument is null
990 and added documentation.
992 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
994 * java/nio/charset/Charset.java (providers):
995 New method to make an array of CharsetProviders defined in
996 META-INF/services/java.nio.charset.spi.CharsetProvider.
997 (charsetForName, availableCharsets): Use the
998 new method providers().
1000 2005-04-26 Michael Koch <konqueror@gmx.de>
1002 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1003 Fixed typos in javadocs.
1004 (isSiteLocalAddress): Fixed handling of byte values.
1005 (isMCLinkLocal): Likewise.
1006 * java/net/Inet4Address.java
1007 (isMulticastAddress): Call super method.
1008 (isLoopbackAddress): Likewise.
1009 (isAnyLocalAddress): Likewise.
1010 (isLinkLocalAddress): Likewise.
1011 (isSiteLocalAddress): Likewise.
1012 (isMCGlobal): Likewise.
1013 (isMCNodeLocal): Likewise.
1014 (isMCLinkLocal): Likewise.
1015 (isMCSiteLocal): Likewise.
1016 (isMCOrgLocal): Likewise.
1017 (getHostAddress): Likewise.
1019 2005-04-26 Sven de Marothy <sven@physto.se>
1021 * java/net/InetAddress.java
1022 (toString): Don't print empty hostnames.
1024 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1027 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1028 'false' to native lock().
1029 (lock): Pass 'true' to native lock().
1031 2005-04-26 Michael Koch <konqueror@gmx.de>
1033 * java/net/InetAddress.java:
1034 Fixed typos in javadocs.
1036 2005-04-26 Andrew Haley <aph@redhat.com>
1039 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1042 2005-04-26 Tom Tromey <tromey@redhat.com>
1044 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1045 gnu): Now package-private.
1046 * javax/swing/text/html/parser/DocumentParser.java (parser,
1047 callBack, gnu): Now package-private.
1048 * javax/swing/text/StringContent.java (content, setOffset,
1049 checkLocation): Now package-private.
1050 * javax/swing/text/JTextComponent.java (doc): Now
1052 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1053 lastGoodOrientation, origParent, borders, cachedBounds,
1054 cachedOrientation, DragWindow): Now package-private.
1055 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1056 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1057 tabAreaRect, contentRect, createIncreaseButton,
1058 createDecreaseButton, findPointForIndex): Now package-private.
1059 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1060 (currentDividerLocation, moveDividerTo): Now package-private.
1061 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1063 * javax/swing/plaf/basic/BasicScrollBarUI.java
1064 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1065 Now package-private.
1066 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1067 (topWindowListener): Now package-private.
1068 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1069 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1070 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1072 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1074 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1075 Now package-private.
1076 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1078 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1079 borderInsets): Now package-private.
1080 (arrowButtonWidth): Likewise. Now a constant.
1081 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1082 makeTabs, updatePreviewPanel): Now package-private.
1083 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1084 darkShadow, highlight): Now package-private.
1085 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1086 (addColorToQueue): Now package-private.
1087 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1088 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1089 GSpinner, BSpinner): Now package-private.
1090 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1091 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1092 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1093 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1094 updateTrack): Now package-private.
1095 * javax/swing/TransferHandler.java (clipboard): Now
1097 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1099 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1101 * javax/swing/RepaintManager.java (globalManager): Now
1103 * javax/swing/JFormattedTextField.java (editValid): Now
1105 * javax/swing/JColorChooser.java (makeModal): Now
1107 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1108 index, path): Now package-private.
1109 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1110 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1111 pointEquals): Now package-private.
1112 * java/awt/geom/Arc2D.java (type): Now package-private.
1113 * java/awt/Window.java (windowFocusOwner): Now package-private.
1114 * java/awt/TextComponent.java (editable, selectionStart,
1115 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1117 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1119 * java/awt/MenuComponent.java (focusListener): Now
1121 * java/awt/Frame.java (state): Now package-private.
1122 * java/awt/Choice.java (pItems): Now package-private.
1123 * java/awt/Checkbox.java (state): Now package-private.
1124 * java/awt/Button.java (actionCommand, label): Now
1126 * gnu/javax/swing/text/html/parser/support/Parser.java
1127 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1129 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1131 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1132 clip, transform, font, comp): Now package-private.
1134 2005-04-26 Tom Tromey <tromey@redhat.com>
1136 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1139 2005-04-26 Mark Wielaard <mark@klomp.org>
1141 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1142 to MalformedURLException.
1144 2005-04-26 Michael Koch <konqueror@gmx.de>
1146 * java/security/AccessControlContext.java:
1148 (protectedDomains): Renamed from 'protectionDomain'.
1149 * java/security/AccessController.java:
1152 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1154 * gnu/java/security/action/GetSecurityPropertyAction.java
1155 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1156 of extending GetPropertyAction.
1159 (setParamters): New methods.
1160 (GetSecurityPropertyAction): Use new setParameters methods.
1162 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1164 * java/security/Security.java,
1165 java/security/cert/X509CRLSelector.java,
1166 java/security/cert/X509CertSelector.java:
1167 Modified to use SystemProperties.
1169 2005-04-26 Michael Koch <konqueror@gmx.de>
1171 * java/lang/System.java
1172 (setSecurityManager): Fixed comment.
1173 (getSecurityManager): Removed obsolete comment.
1175 2005-04-25 Tom Tromey <tromey@redhat.com>
1177 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1179 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1182 (connectSignals): Realize the window widget after connecting
1185 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1187 * java/awt/GraphicsEnvironment.java
1188 (localGraphicsEnvironment): New field.
1189 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1191 (isHeadless): Added support for java.awt.headless property.
1192 (isHeadlessInstance): Call headless().
1194 2005-04-25 Roman Kennke <roman@kennke.org>
1196 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1197 (getDisplayMode): Added. Returns the current display mode.
1198 (isFullScreenSupported): Added.
1199 * java/awt/GraphicsDevice.java
1200 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1201 This resizes and relocates the fullscreen window so that it uses
1202 the whole screen. This is not a fully accelerated fullscreen
1205 2005-04-25 Michael Koch <konqueror@gmx.de>
1207 * java/lang/Runtime.java,
1208 java/lang/SecurityManager.java,
1209 java/lang/System.java,
1210 java/lang/ThreadGroup.java:
1211 Replaced java.lang.Runtime.securityManager by
1212 java.lang.SecurityManager.current (as used in GNU classpath).
1214 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1216 * java/awt/Transparency.java
1217 (getTransparency): fixed API docs.
1219 2005-04-25 Archie Cobbs <archie@dellroad.org>
1221 * java/lang/Throwable.java: simplify initializing cause in constructor
1223 2005-04-25 Michael Koch <konqueror@gmx.de>
1225 * gnu/classpath/SystemProperties.java: New file.
1226 * gnu/classpath/natSystemProperties.cc: New file.
1227 * java/lang/Runtime.java
1228 (defaultProperties): Removed.
1230 (): Made thrown exceptions more verbose.
1231 (insertSystemProperties): Removed.
1232 * java/lang/System.java
1234 (properties): Likewise.
1235 (setSecurityManager): Reordered modifiers.
1236 (getenv): Improved javadoc.
1238 (isWordsBigEndian): Removed.
1239 * java/lang/natRuntime.cc
1240 (_Jv_SetDLLSearchPath): Likewise.
1241 (file_encoding): Likewise.
1242 (default_file_encoding): Likewise.
1243 (getpwuid_adaptor): Likewise.
1244 (insertSystemProperties): Likewise.
1245 * java/lang/natSystem.cc
1246 (isWordsBigEndian): Likewise.
1248 (ordinary_java_source_files):
1249 Added gnu/classpath/SystemProperties.java.
1250 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1251 * Makefile.in: Regenerated.
1253 2005-04-25 Roman Kennke <roman@kennke.org>
1255 * javax/swing/plaf/basic/BasicScrollBarUI.java
1256 (initDefaults): Initialize thumb*Color fields correctly.
1258 2005-04-25 Roman Kennke <roman@kennke.org>
1260 * javax/swing/text/GapContent.java:
1263 2005-04-25 Roman Kennke <roman@kennke.org>
1265 * javax/swing/plaf/metal/MetalBorders.java:
1266 Added inner class ScrollPaneBorder.
1267 * javax/swing/plaf/metal/MetalLookAndFeel.java
1268 (initComponentDefaults): Added default for "ScrollPane.border"
1269 to use the new ScrollPaneBorder.
1271 2005-04-25 Roman Kennke <roman@kennke.org>
1273 * javax/swing/text/AbstractDocument.java:
1274 Added FIXME comments. This class still has to be
1275 implemented thread-safe.
1277 2005-04-25 Roman Kennke <roman@kennke.org>
1279 * javax/swing/tree/DefaultTreeSelectionModel.java
1280 (DefaultTreeSelectionModel): Initialize listenerList here.
1282 2005-04-25 Roman Kennke <roman@kennke.org>
1284 * javax/swing/plaf/metal/MetalTextFieldUI.java
1285 (createUI): Return one instance per Component instead of a
1288 2005-04-25 Roman Kennke <roman@kennke.org>
1290 * javax/swing/text/Document.java:
1291 Added API documentation comments.
1293 2005-04-25 Roman Kennke <roman@kennke.org>
1295 * javax/swing/text/AbstractDocument.java
1296 (getDocumentProperties): Implemented.
1297 (setDocumentProperties): Implemented.
1298 (getProperty): Implemented.
1299 (putProperty): Implemented.
1301 2005-04-25 Roman Kennke <roman@kennke.org>
1303 * javax/swing/BoxLayout
1304 (preferredLayoutSize): Fixed computation so that it correctly
1305 adds the top and bottom insets of the container.
1307 2005-04-25 Roman Kennke <roman@kennke.org>
1309 * javax/swing/plaf/basic/BasicMenuItemUI.java
1310 (paintText): Make use of the 'selectionForeground' UI default
1313 2005-04-25 Roman Kennke <roman@kennke.org>
1315 * javax/swing/plaf/basic/BasicLookAndFeel.java
1316 (initSystemColorDefaults): Modified colors to match the
1317 BasicLookAndFeel in the reference implementation.
1318 (initComponentDefaults): Likewise.
1320 2005-04-25 Tom Tromey <tromey@redhat.com>
1322 * include/jni.h (_Jv_va_list): Removed.
1323 Moved configuration code...
1324 * include/jni_md.h: ... here. New file.
1325 * include/Makefile.in: Rebuilt.
1326 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1328 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1330 * java/io/FileInputStream.java (FileInputStream(File)),
1331 java/io/FileOutputStream.java (FileOutputStream(File)):
1332 Removed unnecessary File.isDirectory() check.
1334 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1336 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1337 gij if get_multilibs fails.
1339 2005-04-22 Anthony Green <green@redhat.com>
1341 * jni.cc (natrehash): Don't bother clearing memory again.
1342 * interpret.cc (do_allocate_static_fields): Ditto.
1343 * java/lang/natString.cc (rehash): Ditto.
1345 2005-04-22 Roman Kennke <roman@kennke.org>
1347 * javax/swing/plaf/basic/BasicLookAndFeel.java
1348 (initComponentDefaults): Changed Button.border to be
1349 BasicBorders.getButtonBorder as it should be.
1351 2005-04-22 Roman Kennke <roman@kennke.org>
1353 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1354 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1355 should according to a mauve testcase, instead of the preferred
1358 2005-04-22 Roman Kennke <roman@kennke.org>
1360 * javax/swing/JMenu.java
1361 (add): add(Component) now calls PopupMenu.insert(..) instead of
1362 PopupMenu.add(..). add(..) is not implemented for Component,
1363 so JComponent.add(..) is called instead, adding the component
1366 2005-04-22 Roman Kennke <roman@kennke.org>
1368 * javax/swing/plaf/basic/BasicButtonListener.java
1369 (mousePressed): replaced query to getModifiersEx with getModifiers.
1370 This method relied on faulty behaviour in getModifierEx.
1371 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1372 This method relied on faulty behaviour in getModifierEx.
1374 2005-04-22 Roman Kennke <roman@kennke.org>
1376 * javax/swing/plaf/metal/MetalLookAndFeel.java
1377 (getDefaults): Call addCustomEntriesToTable on the theme.
1379 2005-04-22 Roman Kennke <roman@kennke.org>
1381 * javax/swing/tree/DefaultTreeSelectionModel.java
1382 (constructor): Added implementation.
1383 (getRowMapper): Added implementation.
1384 (setSelectionMode): Added implementation.
1385 (getSelectionMode): Added implementation.
1386 (getSelectionPath): Added implementation.
1387 (getSelectionPaths): Added implementation.
1388 (getSelectionCount): Added implementation.
1389 (isSelectionEmpty): Added implementation.
1390 (getSelectionRows): Added implementation.
1391 (getMinSelectionRow): Added implementation.
1392 (getMaxSelectionRow): Added implementation.
1393 (getLeadSelectionRow): Added implementation.
1394 (getLeadSelectionPath): Added implementation.
1396 2005-04-22 Casey Marshall <csm@gnu.org>
1398 * gnu/java/security/der/DERValue.java
1399 (getValueAs): new method.
1400 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1401 (<init>): read both dates with 'DERValue.getValueAs', with
1402 'GENERALIZED_TIME' as the argument.
1404 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1406 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1407 be null, check for that case and don't deference it.
1409 2005-04-22 Sven de Marothy <sven@physto.se>
1411 * java/util/logging/LogManager.java: Reformatted.
1412 (readConfiguration): If a logger for a key is not found, create one.
1414 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1416 * java/rmi/Naming.java:
1417 Added class documentation.
1418 (lookup(String)): Call parseURL and getName.
1419 (bind(String,java.rmi.Remote)): Likewise.
1420 (unbind(String)): Likewise.
1421 (rebind(String, java.rmi.Remote)): Likewise.
1422 (list(String)): Call parseURL.
1423 (parseURL(String)): New method to handle parsing and defaults.
1424 (getName(java.net.URL)): New method to handle finding the service name.
1426 2005-04-21 Tom Tromey <tromey@redhat.com>
1428 * java/lang/natClass.cc (initializeClass): Link class.
1430 2005-04-21 Tom Tromey <tromey@redhat.com>
1432 * java/lang/AssertionError.java: Typo fix.
1434 2005-04-21 Tom Tromey <tromey@redhat.com>
1436 * java/lang/VMClassLoader.java (transformException): Removed.
1437 (resolveClass): No longer native. Now does nothing.
1438 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1440 2005-04-21 Anthony Green <green@redhat.com>
1443 * testsuite/libjava.special/special.exp,
1444 testsuite/libjava.special/pr21115I.java,
1445 testsuite/libjava.special/pr21115.java,
1446 testsuite/libjava.special/pr21115.out: New files.
1448 2005-04-21 Chris Burdess <dog@gnu.org>
1450 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1451 CRLF-delimited chunks.
1453 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1455 * java/net/URI.java:
1456 Added class documentation.
1457 (parseURI(String)): Only handle scheme-specific parts
1458 if URI is not opaque. Allow for parts that can't be null.
1459 (toString()): Output the scheme-specific part whole, rather
1460 than as its possibly non-existent components.
1462 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1464 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1465 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1466 Adjusted to match new regexp.
1468 2005-04-20 Michael Koch <konqueror@gmx.de>
1470 * gnu/java/net/protocol/file/Connection.java,
1471 gnu/java/net/protocol/jar/Connection.java:
1472 Reorganized import statements. Fixed @author tags.
1474 2005-04-20 Chris Burdess <dog@gnu.org>
1476 * java/io/DataOutputStream.java (writeUTF): Use block write for
1479 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1481 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1482 (readLine): Changed newline handling.
1484 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1486 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1487 ColorModel,byte[],int,int): Fixed byte to int conversion.
1489 2005-04-20 Michael Koch <konqueror@gmx.de>
1491 * java/io/FilePermission.java
1492 (serialVersionUID): Made private.
1493 (ALL_FILES): New constant.
1494 (implies): Handle '<<ALL FILES>>' case.
1496 2005-04-20 Sven de Marothy <sven@physto.se>
1498 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1499 (drawImage): Don't notify the image observer for offscreen images.
1500 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1501 (setPixels): Don't notify the image observer.
1503 2005-04-20 Sven de Marothy <sven@physto.se>
1505 * java/nio/ByteBufferImpl.java:
1506 (putChar): Inlined for speed.
1507 (put, get): Bulk methods can use arraycopy.
1508 * java/nio/CharBufferImpl.java:
1509 (put, get): Bulk methods can use arraycopy.
1511 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1513 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1515 * java/nio/CharBufferImpl.java
1516 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1517 (get(), put(char)): Inlined checks and field updates. Fixed to
1518 take array_offset into account.
1519 (get(int), put(int, char)): Fixed to take array_offset into account.
1521 2005-04-20 Sven de Marothy <sven@physto.se>
1523 * java/text/SimpleDateFormat.java:
1524 (formatWithAttribute): Pad year before truncating digits.
1526 2005-04-20 Michael Koch <konqueror@gmx.de>
1528 * gnu/java/net/PlainDatagramSocketImpl.java:
1529 Merged copyright header.
1530 * gnu/java/net/PlainSocketImpl.java:
1531 Reorganized import statements. Fixed @author tags.
1533 2005-04-20 Michael Koch <konqueror@gmx.de>
1535 * gnu/java/lang/ClassHelper.java,
1536 gnu/java/lang/reflect/TypeSignature.java:
1539 2005-04-20 Michael Koch <konqueror@gmx.de>
1541 * gnu/java/beans/IntrospectionIncubator.java:
1542 Fixed HTML tags in javadocs.
1544 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1546 * gnu/java/beans/IntrospectionIncubator.java
1547 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1548 set(), is(), add() and remove() with properties or events.
1550 2005-04-20 Michael Koch <konqueror@gmx.de>
1552 * gnu/java/awt/image/XBMDecoder.java:
1553 Fixed modifier order.
1555 2005-04-20 Roman Kennke <roman@kennke.org>
1557 * javax/swing/plaf/basic/BasicButtonUI.java
1558 (paint): This should not care about margin and insets
1559 at the same time, as insets already include the margin
1561 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1562 (getPreferredButtonSize): Likewise.
1563 * javax/swing/plaf/metal/MetalBorders.java
1564 (getBorderInsets): Likewise.
1566 2005-04-20 Roman Kennke <roman@kennke.org>
1568 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1569 (createMessageArea): The JPanel that holds the message area
1570 doesn't need to override getPreferredSize. This prevents some
1571 message components from rendering nicely.
1573 2005-04-20 Roman Kennke <roman@kennke.org>
1575 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1576 (createUI): Do not share instances between components.
1577 * javax/swing/plaf/metal/MetalSliderUI.java
1578 (createUI): Do not share instances between components.
1580 2005-04-20 Roman Kennke <roman@kennke.org>
1582 * javax/swing/plaf/metal/MetalBorders:
1583 (PopupMenuBorder): Added.
1584 * javax/swing/plaf/metal/MetalLookAndFeel
1585 (initComponentDefaults): Added PopupMenuBorder.
1587 2005-04-20 Roman Kennke <roman@kennke.org>
1589 * javax/swing/tree/DefaultTreeSelectionModel.java:
1590 Added API documentation all over the class.
1592 2005-04-20 Roman Kennke <roman@kennke.org>
1594 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1595 (installDefaults): Link managed JScrollPane in instance field.
1596 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1598 2005-04-20 Roman Kennke <roman@kennke.org>
1600 * javax/swing/plaf/basic/BasicScrollBarUI.java
1601 (PropertyChangeHandler.propertyChange): Add default
1602 to switch statement to avoid errors with unusual values
1604 (installComponents): Likewise.
1606 2005-04-20 Roman Kennke <roman@kennke.org>
1608 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1609 (createUI): Instances cannot be shared among JScrollPanes.
1611 2005-04-20 Roman Kennke <roman@kennke.org>
1613 * javax/swing/plaf/metal/MetalLookAndFeel.java
1614 (initComponentDefaults): Added defaults for Menu, MenuBar
1617 2005-04-20 Roman Kennke <roman@kennke.org>
1619 * javax/swing/plaf/basic/BasicScrollBarUI.java
1620 (installUI): Install listeners after everything all, otherwise
1621 we get strange NPEs in some situations, especially with
1623 (createIncreaseButton): Orientation is expected to be
1624 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1625 HORIZONTAL or VERTICAL.
1626 (createDecreaseButton): Orientation is expected to be
1627 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1628 HORIZONTAL or VERTICAL.
1629 (installComponents): Orientation for buttons is expected to be
1630 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1631 HORIZONTAL or VERTICAL.
1633 2005-04-20 Roman Kennke <roman@kennke.org>
1635 * javax/swing/JToolBar.java
1636 (addImpl): Adjust added AbstractButtons to look and feel like
1638 * javax/swing/plaf/metal/MetalBorders.java:
1639 Adjusted insets of ButtonBorder.
1640 (RolloverMarginBorder): Added class for toolbar buttons.
1641 (getButtonBorder): Adjusted factory method to return a shared
1642 instance of button border.
1643 (getToolbarButtonBorder): Added factory method to return a shared
1644 instance of toolbar button border.
1645 (getMarginBorder): Added factory method to return a shared
1646 instance of margin border.
1647 * javax/swing/plaf/metal/MetalButtonUI.java
1648 (installDefauls): If button is child of a JToolBar then set
1649 special border on this button.
1651 2005-04-20 Michael Koch <konqueror@gmx.de>
1653 * java/net/URLConnection.java
1654 (getContent): Fixed javadoc comment.
1656 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1658 * java/net/URL.java:
1659 (toURI()): Implemented.
1661 2005-04-19 Michael Koch <konqueror@gmx.de>
1663 * java/net/InetAddress.java
1664 (InetAddress): Fixed javadoc comment.
1666 (lookup): Added javadoc.
1667 (getFamily): Likewise.
1668 * java/net/ServerSocket.java
1669 (getChannel): Improved javadoc comment.
1671 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1673 * gnu/xml/dom/html2/DomHTMLParser.java:
1674 Changed 'enum' references to become 'enumeration'.
1676 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1678 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1680 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1682 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1683 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1684 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1685 (validateParameters(TagElement,htmlAttributeSet)):
1686 Replaced 'enum' with 'enumeration'.
1687 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1690 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1692 * javax/swing/text/html/parser/Entity.java (getType): New method.
1693 * javax/swing/text/html/parser/DocumentParser.java:
1694 Inherit from javax.swing.text.html.parser.Parser.
1696 2005-04-19 Chris Burdess <dog@gnu.org>
1698 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1699 check for HTML/XHTML namespace.
1701 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1703 * javax/swing/text/html/parser/Parser.java,
1704 javax/swing/text/html/parser/Entity.java:
1705 Inheriting from DTDConstants.
1706 * javax/swing/text/html/parser/AttributeList.java
1707 (getValues): Changed return type.
1708 * javax/swing/text/html/parser/DocumentParser
1709 (parse): Adding the callback parameter that receives
1712 2005-04-19 Chris Burdess <dog@gnu.org>
1714 * gnu/xml/dom/DomImpl.java,
1715 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1716 gnu/xml/dom/html2/DomHTMLDocument.java,
1717 gnu/xml/dom/html2/DomHTMLElement.java,
1718 gnu/xml/dom/html2/DomHTMLFormElement.java,
1719 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1720 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1721 gnu/xml/dom/html2/DomHTMLImpl.java,
1722 gnu/xml/dom/html2/DomHTMLInputElement.java,
1723 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1724 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1725 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1726 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1727 gnu/xml/dom/html2/DomHTMLTableElement.java,
1728 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1729 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1730 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1731 UI events, and tree utility functions.
1733 2005-04-19 Michael Koch <konqueror@gmx.de>
1735 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1736 gnu/javax/swing/text/html/parser/gnuDTD.java,
1737 gnu/javax/swing/text/html/parser/models/node.java:
1738 Reworked import statements.
1740 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1742 * javax/swing/text/html/HTMLDocument.java: New file.
1744 2005-04-19 Michael Koch <konqueror@gmx.de>
1746 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1748 * javax/swing/text/html/parser/AttributeList.java:
1749 Fixed order of modifiers.
1750 (AttributeList): Made final.
1751 * javax/swing/text/html/parser/ContentModel.java:
1752 Fixed html characters in javadocs.
1753 * javax/swing/text/html/parser/DTD.java
1754 (DTD): Don't implement java.io.Serializable directly.
1755 (getElement): Simplified.
1756 * javax/swing/text/html/parser/DTDConstants.java:
1758 * javax/swing/text/html/parser/Element.java:
1759 Fixed order of modifiers.
1760 * javax/swing/text/html/parser/Parser.java:
1761 Reformatted. Don't use fully-qualified class names.
1762 * javax/swing/text/html/parser/ParserDelegator.java:
1763 Fixed order of modifiers.
1764 * javax/swing/text/rtf/RTFParser.java:
1765 Re-ordered import statements.
1766 * javax/swing/text/rtf/RTFScanner.java:
1767 Removed unused import statement.
1769 2005-04-19 Chris Burdess <dog@gnu.org>
1771 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1772 gnu/xml/dom/html2/DomHTMLCollection.java,
1773 gnu/xml/dom/html2/DomHTMLDocument.java,
1774 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1776 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1777 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1778 gnu/xml/dom/html2/DomHTMLDivElement.java,
1779 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1780 gnu/xml/dom/html2/DomHTMLFontElement.java,
1781 gnu/xml/dom/html2/DomHTMLFormElement.java,
1782 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1783 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1784 gnu/xml/dom/html2/DomHTMLHRElement.java,
1785 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1786 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1787 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1788 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1789 gnu/xml/dom/html2/DomHTMLImageElement.java,
1790 gnu/xml/dom/html2/DomHTMLInputElement.java,
1791 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1792 gnu/xml/dom/html2/DomHTMLLIElement.java,
1793 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1794 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1795 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1796 gnu/xml/dom/html2/DomHTMLMapElement.java,
1797 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1798 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1799 gnu/xml/dom/html2/DomHTMLModElement.java,
1800 gnu/xml/dom/html2/DomHTMLOListElement.java,
1801 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1802 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1803 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1804 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1805 gnu/xml/dom/html2/DomHTMLParamElement.java,
1806 gnu/xml/dom/html2/DomHTMLPreElement.java,
1807 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1808 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1809 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1810 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1811 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1812 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1813 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1814 gnu/xml/dom/html2/DomHTMLTableElement.java,
1815 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1816 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1817 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1818 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1819 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1821 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1823 * javax/swing/text/ChangedCharSetException.java,
1824 javax/swing/text/html/HTMLEditorKit.java,
1825 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1826 javax/swing/text/html/parser/AttributeList.java,
1827 javax/swing/text/html/parser/ContentModel.java,
1828 javax/swing/text/html/parser/DocumentParser.java,
1829 javax/swing/text/html/parser/DTD.java,
1830 javax/swing/text/html/parser/DTDConstants.java,
1831 javax/swing/text/html/parser/Element.java,
1832 javax/swing/text/html/parser/Entity.java,
1833 javax/swing/text/html/parser/Parser.java,
1834 javax/swing/text/html/parser/TagElement.java,
1835 gnu/javax/swing/text/html/package.html,
1836 gnu/javax/swing/text/html/parser/gnuDTD.java,
1837 gnu/javax/swing/text/html/parser/HTML_401F.java,
1838 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1839 gnu/javax/swing/text/html/parser/htmlValidator.java,
1840 gnu/javax/swing/text/html/parser/package.html,
1841 gnu/javax/swing/text/html/parser/models/list.java,
1842 gnu/javax/swing/text/html/parser/models/node.java,
1843 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1844 gnu/javax/swing/text/html/parser/models/package.html,
1845 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1846 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1847 gnu/javax/swing/text/html/parser/models/transformer.java,
1848 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1849 gnu/javax/swing/text/html/parser/support/package.html,
1850 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1851 gnu/javax/swing/text/html/parser/support/Parser.java,
1852 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1853 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1854 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1855 gnu/javax/swing/text/html/parser/support/low/Location.java,
1856 gnu/javax/swing/text/html/parser/support/low/node.java,
1857 gnu/javax/swing/text/html/parser/support/low/package.html,
1858 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1859 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1860 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1861 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1863 * javax/swing/text/html/HTML.java,
1864 javax/swing/text/html/parser/ParserDelegator.java:
1865 New files (replacing).
1866 * javax/swing/text/html/package.html,
1867 javax/swing/text/html/parser/package.html: Documenting the
1870 2005-04-19 Chris Burdess <dog@gnu.org>
1872 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1873 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1874 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1875 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1876 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1877 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1878 gnu/xml/dom/html2/DomHTMLBRElement.java,
1879 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1880 gnu/xml/dom/html2/DomHTMLCollection.java,
1881 gnu/xml/dom/html2/DomHTMLDocument.java,
1882 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1884 2005-04-19 Michael Koch <konqueror@gmx.de>
1886 * Makefile.am: Added new files.
1887 * Makefile.in: Regenerated.
1889 2005-04-19 Roman Kennke <roman@kennke.org>
1891 * javax/swing/text/JTextComponent.java
1892 (JTextComponent): Added repaintListener which issues repaint
1893 requests when the underlying document changes.
1894 (setDocument): Adds repaintListener to document when the
1895 document is changed.
1896 * javax/swing/text/DefaultEditorKit.java:
1897 Removed repaint calls on JTextComponent. This is now handled
1898 through a DocumentListener in JTextComponent that repaints
1899 the component when needed.
1901 2005-04-19 Roman Kennke <roman@kennke.org>
1904 * javax/swing/text/StyleContext.java
1905 (NamedStyle.setResolveParent): Added null
1908 2005-04-19 Michael Koch <konqueror@gmx.de>
1910 * java/rmi/server/RemoteObject.java:
1911 Removed unused import statement.
1913 2005-04-19 Michael Koch <konqueror@gmx.de>
1915 * java/net/URL.java: Formatting cleanups.
1917 2005-04-19 Michael Koch <konqueror@gmx.de>
1919 * java/awt/FontMetrics.java: Reformatted.
1920 (getFontRenderContext): Handle case when java.awt.Graphics context is
1923 2005-04-19 Michael Koch <konqueror@gmx.de>
1925 * java/awt/FontMetrics.java
1926 (getStringBounds): New methods.
1929 2005-04-19 Michael Koch <konqueror@gmx.de>
1931 * gnu/java/security/x509/X509Certificate.java
1932 (parse): Handle val == null case.
1934 2005-04-19 Roman Kennke <roman@kennke.org>
1936 * javax/swing/plaf/metal/MetalLookAndFeel.java
1937 (initComponentDefaults): Added defaults for Menu, MenuBar
1940 2005-04-19 Roman Kennke <roman@kennke.org>
1942 * javax/swing/plaf/metal/MetalLookAndFeel.java
1943 (initComponentDefaults): Added Label.font.
1944 (initSystemColorDefaults): Added this method and adjusted the
1945 general control color.
1947 2005-04-19 Roman Kennke <roman@kennke.org>
1949 * javax/swing/plaf/metal/MetalBorders.java:
1951 * javax/swing/plaf/metal/MetalButtonUI.java:
1952 (installDefaults): Install button font.
1953 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1954 (initComponentDefaults): Added button border, font and margin.
1955 Changed components background color to the Metal current themes
1958 2005-04-19 Roman Kennke <roman@kennke.org>
1960 * javax/swing/plaf/metal/MetalLookAndFeel.java
1961 (initComponentDefaults): Added to set Metal specific component
1964 2005-04-19 Mark Wielaard <mark@klomp.org>
1966 * javax/swing/plaf/metal/MetalLookAndFeel.java
1967 (initClassDefaults): Call super.initClassDefaults().
1969 2005-04-19 Roman Kennke <roman@kennke.org>
1971 * javax/swing/plaf/metal/MetalLookAndFeel.java
1972 (initClassDefaults): Added to include the *UI classes.
1974 2005-04-19 Roman Kennke <roman@kennke.org>
1976 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1978 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1980 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1982 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1984 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1986 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1988 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1990 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1992 * javax/swing/plaf/metal/MetalSliderUI.java:
1994 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1996 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1998 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2000 2005-04-19 Roman Kennke <roman@kennke.org>
2002 * javax/swing/plaf/metal/MetalButtonUI.java:
2003 Added skeleton class.
2004 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2005 Added skeleton class.
2006 * javax/swing/plaf/metal/MetalLabelUI.java:
2007 Added skeleton class.
2008 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2009 Added skeleton class.
2010 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2011 Added skeleton class.
2012 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2013 Added skeleton class.
2015 2005-04-19 Roman Kennke <roman@kennke.org>
2017 * javax/swing/UIDefaults.java:
2018 Added API documentation for all methods.
2020 2005-04-19 Roman Kennke <roman@kennke.org>
2022 * javax/swing/UIDefaults.java
2023 (put): Now uses new checkAndPut method instead of checking
2025 (putDefaults): Fixed so that it accepts null-values and
2026 treats them like remove(key).
2027 (checkAndPut): Added. This checks for null-values and calls
2030 2005-04-19 Michael Koch <konqueror@gmx.de>
2032 * Makefile.am: Added new files.
2033 * Makefile.in: Regenerated.
2035 2005-04-19 Mark Wielaard <mark@klomp.org>
2037 * java/lang/natRuntime.cc (insertSystemProperties): Set
2038 java.class.path to CLASSPATH only when not empty. Fall back to
2039 default path "." when java.class.path is empty.
2041 2005-04-19 Michael Koch <konqueror@gmx.de>
2043 * javax/swing/text/rtf/ControlWordToken.java,
2044 javax/swing/text/rtf/RTFEditorKit.java,
2045 javax/swing/text/rtf/RTFParseException.java,
2046 javax/swing/text/rtf/RTFParser.java,
2047 javax/swing/text/rtf/RTFScanner.java,
2048 javax/swing/text/rtf/TextToken.java,
2049 javax/swing/text/rtf/Token.java: New files.
2050 * Makefile.am: Added new files.
2051 * Makefile.in: Regenerated.
2053 2005-04-19 Michael Koch <konqueror@gmx.de>
2055 * java/awt/geom/QuadCurve2D.java:
2056 Fixed Brian Gough's name for real.
2058 2005-04-19 Roman Kennke <roman@kennke.org>
2060 * javax/swing/UIManager.java:
2061 Make the UIManager respect the swing.defaultlaf system
2064 2005-04-19 Tom Tromey <tromey@redhat.com>
2066 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2069 2005-04-19 Roman Kennke <roman@kennke.org>
2071 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2072 Fixed tabs to spaces.
2074 2005-04-19 Roman Kennke <roman@kennke.org>
2076 * javax/swing/plaf/basic/BasicMenuUI.java
2077 (getMaximumSize): Now returns preferredSize because JMenu should
2078 never be bigger than that.
2079 * javax/swing/JRootPane
2080 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2082 2005-04-19 Roman Kennke <roman@kennke.org>
2084 * javax/swing/JRootPane.java:
2085 Fixed various tabs to be spaces.
2086 (RootLayout.layoutContainer): Made menubar left aligned.
2088 2005-04-19 Roman Kennke <roman@ontographics.com>
2090 * javax/swing/JList.java
2091 (getPreferredScrollableViewportSize):
2092 The previous implementation was merely guessing the size,
2093 now it respects layoutOrientation, visibleRowCount
2095 (getScrollableTracksViewportHeight):
2096 Reimplemented so that layoutOrientation, visibleRowCount
2097 and preferred size are respected.
2098 (getScrollableTracksViewportWidth):
2099 Reimplemented so that layoutOrientation, visibleRowCount
2100 and preferred size are respected.
2101 * javax/swing/plaf/basic/BasicListUI.java
2103 Improved calculation of preferredSize when JList is
2104 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2106 The previous implementation assumed a layoutOrientation of
2107 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2108 JList.VERTICAL_WRAP.
2110 2005-04-19 Roman Kennke <roman@ontographics.com>
2112 * javax/swing/plaf/basic/BasicListUI.java
2113 (paintCell): use CellRendererPane for painting the cells.
2115 2005-04-19 Roman Kennke <roman@ontographics.com>
2117 * javax/swing/plaf/basic/BasicListUI:
2118 fixed modifiers of several fields, methods and inner
2119 classes to match the 'spec'.
2120 (getMaximumSize): removed. It's not in the spec and the
2121 implementations was superfluous.
2123 2005-04-19 Roman Kennke <roman@ontographics.com>
2125 * javax/swing/plaf/basic/BasicListUI:
2126 make BasicListUI capable of wrapping lists
2127 (layoutOrientation property of javax.swing.JList)
2129 2005-04-19 Roman Kennke <roman@ontographics.com>
2131 * javax/swing/plaf/basic/BasicListUI
2132 (updateLayoutState,paint): make BasicListUI aware of the
2133 width of the rendered JList.
2135 2005-04-19 Roman Kennke <roman@kennke.org>
2137 * javax/swing/ImageIcon.java
2138 Added API documentation.
2140 2005-04-19 Roman Kennke <roman@kennke.org>
2142 * javax/swing/text/ImageIcon.java
2143 (ImageIcon): Use setImage instead of direct assignment.
2144 (setImage): Call loadImage to make sure that the image is loaded.
2145 (loadImage): Waits for the image to complete loading.
2146 (getImageLoadStatus): Added. Returns the load status of the
2149 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2151 * javax/swing/JTextArea.java (replaceRange):
2152 Fixing doc.remove(start, length) misinterpretation.
2154 2005-04-19 Roman Kennke <roman@ontographics.com>
2156 * javax/swing/CellRendererPane.java:
2157 implemented all methods of this class.
2158 reformatted all wrong formatted code.
2160 2005-04-19 Roman Kennke <roman@kennke.org>
2162 * javax/swing/BoxLayout.java:
2163 (layoutContainer): Made this layout manager respect the
2164 minimum, maximum and preferred size more correctly.
2166 2005-04-19 Roman Kennke <roman@ontographics.com>
2168 * javax/swing/BoxLayout.java:
2169 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2170 layoutContainer): Make these methods and thereby the
2171 BoxLayout respect the insets (like borders) of the
2172 component that is laid out.
2174 2005-04-19 Roman Kennke <roman@kennke.org>
2176 * javax/swing/JComponent.java:
2177 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2178 Untabified the file.
2180 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2182 * javax/swing/JComboBox.java (constructors): selecting the
2183 first item if the box was constructed from the provided
2184 non - empty array or vector.
2186 2005-04-19 Michael Koch <konqueror@gmx.de>
2188 * gnu/java/awt/peer/gtk/GdkGraphics.java
2189 (getClipBounds): Handle clip being null.
2190 (setClip): Likewise.
2191 * java/beans/beancontext/BeanContextSupport.java
2195 (removeAll): Likewise.
2196 (retainAll): Likewise.
2198 2005-04-19 Michael Koch <konqueror@gmx.de>
2200 * java/beans/beancontext/BeanContextServicesSupport.java
2201 (BeanContextServicesSupport): Reimplemented.
2202 (addBeanContextServicesListener): Implemented.
2203 (initialize): Likewise.
2204 (removeBeanContextServicesListener): Likewise.
2205 * java/beans/beancontext/BeanContextSupport.java
2207 (addBeanContextMembershipListener): Likewise.
2208 (getLocale): Likewise.
2209 (initialize): Likewise.
2210 (iterator): Likewise.
2212 (toArray): Likewise.
2214 2005-04-19 Roman Kennke <roman@kennke.org>
2216 * java/awt/MediaTracker.java:
2217 Reindented tabs to spaces.
2219 2005-04-19 Roman Kennke <roman@kennke.org>
2221 * java/awt/MediaTracker.java
2222 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2223 confused the media tracker and lead to lockups. The LOADING
2224 bit is handled on other places.
2225 (addImage): Removed the 'start image tracking' stuff. This
2226 is not necessary and could confuse the media tracker.
2227 (checkAll): Improved the check for image status so that
2228 images that already complete images are detected. Also now
2229 are really all images checked and if necessary loaded. Before
2230 the method bailed out after the first incomplete image.
2231 (statusAll): Detect images that are complete after the
2232 call to Component.prepareImage(..).
2233 (checkID): The same as in checkAll.
2234 (statusID): The same as in statusAll.
2236 2005-04-19 Roman Kennke <roman@kennke.org>
2238 * java/awt/MediaTracker.java
2239 (addImage): Synchronized list access.
2240 (waitForAll): Fixed comparison of time (changed < to >).
2241 (waitForID): Fixed comparison of time (changed < to >).
2242 (removeImage): Synchronized list access.
2244 2005-04-19 Roman Kennke <roman@kennke.org>
2246 * java/awt/MediaTracker.java
2247 Added API documentation.
2249 2005-04-19 Roman Kennke <roman@kennke.org>
2251 * java/awt/MediaTracker.java
2252 (MediaEntry.imageUpdate): Fixed flags. The different flags
2253 must not be ORed together.
2254 (checkAll): Modified to handle different meaning of the flags.
2255 (waitForAll): Fixed so that it waits maximum the
2256 specified amount of milliseconds.
2257 (statusAll): Modified to handle different meaning of the flags.
2258 (waitForID): Fixed so that it waits maximum the
2259 specified amount of milliseconds.
2261 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2263 * java/awt/Font.java (decode): Handle null argument and allow
2266 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2268 * java/beans/EventHandler.java: Reworked documentation.
2269 (invoke): Fixed behavior to match spec.
2271 2005-04-19 Michael Koch <konqueror@gmx.de>
2273 * java/awt/print/PrinterJob.java
2274 (pageDialog): New method.
2275 (printDialog): Implemented.
2277 2005-04-19 Michael Koch <konqueror@gmx.de>
2279 * java/awt/image/ConvolveOp.java:
2280 Removed comment added by eclipse.
2282 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2284 * java/awt/image/IndexColorModel.java
2285 (getRGB): Check if pixel is negative.
2287 2005-04-19 Michael Koch <konqueror@gmx.de>
2289 * java/awt/image/RasterOp.java:
2290 Fixed wrong formatting.
2292 2005-04-18 Roman Kennke <roman@kennke.org>
2294 * java/awt/Compmonent.java
2295 (setComponentOrientation): Made this property firing a
2296 PropertyChangeEvent.
2298 2005-04-18 Roman Kennke <roman@kennke.org>
2300 * java/awt/BorderLayout.java
2301 (calcSize): Check for overflow when component sizes are added.
2303 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2305 * java/awt/AWTEvent.java (toString): Added case
2306 for source not being an AWT component.
2308 2005-04-18 Chris Burdess <dog@gnu.org>
2310 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2312 2005-04-18 Michael Koch <konqueror@gmx.de>
2314 gnu/java/awt/EmbeddedWindowSupport.java,
2315 gnu/java/net/HeaderFieldHelper.java,
2316 gnu/java/net/URLParseError.java,
2317 gnu/java/net/protocol/file/Handler.java,
2318 gnu/java/net/protocol/jar/Handler.java:
2319 Fixed usage of @author tag.
2321 2005-04-18 Michael Koch <konqueror@gmx.de>
2323 * gnu/xml/aelfred2/XmlParser.java:
2324 Reverted my typo fix.
2326 2005-04-18 Michael Koch <konqueror@gmx.de>
2328 * java/awt/geom/CubicCurve2D.java,
2329 java/awt/geom/QuadCurve2D.java:
2330 Fixed mentioning of Brian Gouph.
2332 2005-04-18 Michael Koch <konqueror@gmx.de>
2334 * gnu/java/awt/Buffers.java,
2335 gnu/java/awt/image/ImageDecoder.java,
2336 gnu/java/awt/image/XBMDecoder.java,
2337 gnu/java/awt/peer/ClasspathFontPeer.java,
2338 gnu/java/net/CRLFInputStream.java,
2339 gnu/java/net/EmptyX509TrustManager.java,
2340 gnu/java/net/LineInputStream.java,
2341 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2342 gnu/java/net/protocol/ftp/BlockInputStream.java,
2343 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2344 gnu/java/net/protocol/ftp/DTP.java,
2345 gnu/java/net/protocol/ftp/DTPInputStream.java,
2346 gnu/java/net/protocol/ftp/FTPConnection.java,
2347 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2348 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2349 gnu/java/net/protocol/ftp/StreamInputStream.java,
2350 gnu/java/net/protocol/http/ChunkedInputStream.java,
2351 gnu/java/net/protocol/http/HTTPConnection.java,
2352 gnu/java/net/protocol/http/HTTPURLConnection.java,
2353 gnu/java/net/protocol/http/Headers.java,
2354 gnu/java/net/protocol/http/Request.java,
2355 gnu/java/nio/ChannelInputStream.java,
2356 gnu/java/nio/ChannelOutputStream.java,
2357 gnu/java/nio/InputStreamChannel.java,
2358 gnu/java/nio/OutputStreamChannel.java,
2359 gnu/java/nio/SelectorProviderImpl.java,
2360 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2361 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2362 gnu/java/rmi/dgc/DGCImpl.java,
2363 gnu/java/rmi/registry/RegistryImpl.java,
2364 gnu/java/rmi/server/ProtocolConstants.java,
2365 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2366 gnu/java/rmi/server/RMIIncomingThread.java,
2367 gnu/java/rmi/server/RMIObjectInputStream.java,
2368 gnu/java/rmi/server/RMIObjectOutputStream.java,
2369 gnu/java/rmi/server/RMIVoidValue.java,
2370 gnu/java/rmi/server/UnicastConnectionManager.java,
2371 gnu/java/rmi/server/UnicastRef.java,
2372 gnu/java/rmi/server/UnicastRemoteCall.java,
2373 gnu/java/rmi/server/UnicastRemoteStub.java,
2374 gnu/java/rmi/server/UnicastServerRef.java,
2375 gnu/java/security/OID.java,
2376 gnu/java/security/der/DERReader.java,
2377 gnu/java/security/provider/CollectionCertStoreImpl.java,
2378 gnu/java/security/provider/DSAParameterGenerator.java,
2379 gnu/java/security/provider/DefaultPolicy.java,
2380 gnu/java/security/provider/EncodedKeyFactory.java,
2381 gnu/java/security/provider/GnuDHPublicKey.java,
2382 gnu/java/security/provider/GnuDSAPrivateKey.java,
2383 gnu/java/security/provider/GnuDSAPublicKey.java,
2384 gnu/java/security/provider/GnuRSAPrivateKey.java,
2385 gnu/java/security/provider/GnuRSAPublicKey.java,
2386 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2387 gnu/java/security/provider/RSA.java,
2388 gnu/java/security/provider/SHA1PRNG.java,
2389 gnu/java/security/provider/SHA1withRSA.java,
2390 gnu/java/security/provider/X509CertificateFactory.java,
2391 gnu/java/security/x509/GnuPKIExtension.java,
2392 gnu/java/security/x509/X500DistinguishedName.java,
2393 gnu/java/security/x509/X509CRL.java,
2394 gnu/java/security/x509/X509CRLEntry.java,
2395 gnu/java/security/x509/X509CertPath.java,
2396 gnu/java/security/x509/X509CertSelectorImpl.java,
2397 gnu/java/security/x509/X509Certificate.java,
2398 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2399 gnu/java/security/x509/ext/BasicConstraints.java,
2400 gnu/java/security/x509/ext/CRLNumber.java,
2401 gnu/java/security/x509/ext/CertificatePolicies.java,
2402 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2403 gnu/java/security/x509/ext/Extension.java,
2404 gnu/java/security/x509/ext/GeneralNames.java,
2405 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2406 gnu/java/security/x509/ext/KeyUsage.java,
2407 gnu/java/security/x509/ext/PolicyConstraint.java,
2408 gnu/java/security/x509/ext/PolicyMappings.java,
2409 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2410 gnu/java/security/x509/ext/ReasonCode.java,
2411 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2412 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2413 Reorganized import statements.
2415 2005-04-18 Michael Koch <konqueror@gmx.de>
2417 * gnu/java/awt/color/CieXyzConverter.java,
2418 gnu/java/awt/color/ClutProfileConverter.java,
2419 gnu/java/awt/color/ColorLookUpTable.java,
2420 gnu/java/awt/color/ColorSpaceConverter.java,
2421 gnu/java/awt/color/GrayProfileConverter.java,
2422 gnu/java/awt/color/GrayScaleConverter.java,
2423 gnu/java/awt/color/LinearRGBConverter.java,
2424 gnu/java/awt/color/ProfileHeader.java,
2425 gnu/java/awt/color/PyccConverter.java,
2426 gnu/java/awt/color/RgbProfileConverter.java,
2427 gnu/java/awt/color/SrgbConverter.java,
2428 gnu/java/awt/color/TagEntry.java,
2429 gnu/java/awt/color/ToneReproductionCurve.java:
2430 Standardized file headers.
2432 2005-04-16 Tom Tromey <tromey@redhat.com>
2434 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2435 'ANY' package-private.
2437 2005-04-15 Tom Tromey <tromey@redhat.com>
2439 * Makefile.in: Rebuilt.
2440 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2441 (libgcj0_convenience_la_LIBADD): ... here.
2443 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2445 * gij.cc (version): Properly quote java version.
2446 (main): Fix typo in comment.
2448 2005-04-13 Mark Wielaard <mark@klomp.org>
2450 * java/lang/natRuntime.cc (insertSystemProperties): Set
2451 java.class.path to CLASSPATH if not already set.
2453 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2455 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2457 2005-04-12 Mike Stump <mrs@apple.com>
2459 * configure: Regenerate.
2461 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2464 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2465 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2467 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2470 * scripts/TexinfoDoclet.java: Removed.
2471 * Makefile.am (texinfo): Removed.
2472 * Makefile.in: Regenerated.
2474 2005-04-11 Michael Koch <konqueror@gmx.de>
2476 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2477 Fixed wrong casting.
2479 2005-04-06 Andrew Haley <aph@redhat.com>
2481 * testsuite/libjava.lang/bytearray.java: New file.
2482 * testsuite/libjava.lang/bytearray.out: New file.
2483 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2484 (loadClass): Use it.
2485 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2487 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2489 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2490 gcj-dbtool dependency
2491 * Makefile.in: Regenerated
2493 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2495 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2496 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2498 2005-04-05 Andrew Haley <aph@redhat.com>
2500 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2501 (Tokenizer): New class.
2502 (getFiles): New method.
2503 (main): Add "-" argument.
2505 Read list of files from stdin when merging map databases.
2506 (usage): Add "-" argument.
2510 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2513 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2514 * Makefile.in: Regenerate.
2515 * configure.ac: Add --with-java-home option.
2516 * configure: Regenerate.
2517 * external/Makefile.in: Regenerate.
2518 * external/sax/Makefile.in: Regenerate.
2519 * external/w3c_dom/Makefile.in: Regenerate.
2520 * gcj/Makefile.in: Regenerate.
2521 * include/Makefile.in: Regenerate.
2522 * testsuite/Makefile.in: Regenerate.
2523 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2526 2005-04-05 Tom Tromey <tromey@redhat.com>
2528 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2529 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2530 Rewrote to use _Jv_FindClassFromSignature.
2531 * verify.cc (resolve): throw NoClassDefFoundError.
2532 * link.cc (resolve_field): Throw NoClassDefFoundError.
2533 (find_field): Likewise.
2534 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2535 Handle error cases. Added 'endp' argument.
2536 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2538 2005-04-05 Tom Tromey <tromey@redhat.com>
2540 * Makefile.in: Rebuilt.
2541 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2542 gtk_awt_peer_sources.
2543 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2544 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2545 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2546 (gtk-awt-peer.lo): New target.
2548 2005-04-04 Steve Pribyl <steve@netfuel.com>
2551 * configure.ac: Fix fastjar definition for cross builds.
2552 * configure: Rebuilt.
2554 2005-04-04 Tom Tromey <tromey@redhat.com>
2556 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2557 it was already found.
2559 2005-04-04 Tom Tromey <tromey@redhat.com>
2561 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2562 org.metastatic.jessie.
2564 2005-04-02 Anthony Green <green@redhat.com>
2567 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2569 2005-04-02 Mark Wielaard <mark@klomp.org>
2571 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2572 Attributes and attribute order doesn't matter.
2573 (BasicAttributesEnumeration.where): Initialize to zero.
2574 (BasicAttributesEnumeration.nextElement): Update and compare where
2575 appropriately (zero based).
2577 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2579 PR libgcj/20090, PR libgcj/20526
2580 * gij.cc (nonstandard_opts_help): New function.
2581 (add_option): New function.
2582 (main): Support java options. Set java.class.path. Don't set
2584 * prims.cc (parse_x_arg): New function.
2585 (parse_init_args): Call parse_x_arg for -X and _ options, when
2586 ignoreUnrecognized is true.
2587 (new _Jv_RunMain): New vm_args variant.
2588 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2589 (_Jv_Jar_Class_Path): Remove variable.
2590 * include/java-props.h: Likewise.
2591 * include/cni.h (JvRealloc): New function.
2592 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2593 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2594 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2596 * configure.ac (JV_VERSION): Define.
2597 (JV_API_VERSION): Likewise.
2598 * configure: Regenerate.
2599 * include/config.h.in: Regenerate.
2601 2005-04-01 Mark Anderson <mark@panonet.net>
2603 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2604 -Infinity as parameters.
2606 2005-04-01 Michael Koch <konqueror@gmx.de>
2608 * java/io/PipedInputStream.java
2609 (read): Make sure a positive byte value is returned. Revised javadoc.
2610 Thanks to Olafur Bragason for reporting these bugs.
2612 2005-04-01 Tom Tromey <tromey@redhat.com>
2614 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2615 Updated for name change.
2616 (nativeFindClass): New method.
2617 (loadClass): Use nativeFindClass.
2618 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2620 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2621 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2623 (initialize): New method.
2624 (nativeFindClass): Declare.
2625 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2626 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2627 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2629 (definePackageForNative): Removed.
2630 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2631 Moved to VMClassLoader.java.
2632 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2633 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2634 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2635 removed VMClassLoader.java.
2636 (nat_source_files): Removed natVMClassLoader.cc.
2638 2005-04-01 Tom Tromey <tromey@redhat.com>
2640 * Makefile.in: Rebuilt.
2641 * Makefile.am (db_pathtail): Use $(gcc_version), not
2644 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2646 * java/util/Timer.java
2647 (run): Stop the queue if a task throws an exception.
2649 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2651 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2653 2005-03-29 Ian Lance Taylor <ian@airs.com>
2655 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2656 * external/sax/Makefile.in: Rebuild.
2657 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2659 * external/w3c_dom/Makefile.in: Rebuild.
2661 2005-03-29 Tom Tromey <tromey@redhat.com>
2663 * java/lang/natRuntime.cc (insertSystemProperties): Set
2664 gnu.gcj.runtime.endorsed.dirs.
2665 * Makefile.in: Rebuilt.
2666 * Makefile.am (ordinary_java_source_files): Added
2667 HelperClassLoader.java.
2668 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2669 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2671 (init): Use addDirectoriesFromProperty.
2672 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2673 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2674 gnu.gcj.runtime.endorsed.dirs.
2675 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2677 2005-03-26 Chris Burdess <dog@gnu.org>
2679 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2682 2005-03-13 Michael Koch <konqueror@gmx.de>
2684 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2686 2005-03-11 Chris Burdess <dog@gnu.org>
2688 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2691 2005-02-27 Chris Burdess <dog@gnu.org>
2693 * gnu/xml/aelfred2/JAXPFactory.java,
2694 gnu/xml/aelfred2/SAXDriver.java,
2695 gnu/xml/aelfred2/XmlParser.java,
2696 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2697 formatting conventions. Replaced arrays of Object with struct-like
2698 classes for easier maintainability. Made SAXDriver.stringInterning
2699 package private to allow access from XmlParser inside the loop without
2700 a method call overhead.
2702 2005-03-11 Chris Burdess <dog@gnu.org>
2704 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2707 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2709 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2710 settings to sub Makefiles.
2711 (GCJH, ZIP): Prefix with top_builddir.
2712 * configure: Rebuild.
2713 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2714 * external/w3c_dom/Makefile.in: Rebuild.
2715 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2716 * external/sax/Makefile.in: Rebuild.
2718 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2720 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2721 libsocket to the libraries to link for Solaris.
2723 2005-03-28 Per Bothner <per@bothner.com>
2725 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2726 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2728 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2730 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2731 to fix a ONESTEP fallout.
2732 * Makefile.in: Regenerate.
2734 2005-03-25 Mike Stump <mrs@apple.com>
2736 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2737 paths like we do for the compiler, as we use it in external/sax
2738 and it doesn't get MULTIBUILDTOP right when multilibing.
2740 2005-03-24 Anthony Green <green@redhat.com>
2742 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2744 (usage): Add [LIBDIR] to help output.
2745 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2746 * Makefile.am (AM_CXXFLAGS): Define
2747 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2748 (db_pathtail): New macro.
2750 2005-03-24 Tom Tromey <tromey@redhat.com>
2752 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2753 add sax and w3c libraries.
2754 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2756 * external/w3c_dom/Makefile.in: Rebuilt.
2757 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2759 (libw3c_gcj_la_LDFLAGS): New variable.
2760 (noinst_LTLIBRARIES): Renamed.
2761 * external/sax/Makefile.in: Rebuilt.
2762 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2764 (libsax_gcj_la_LDFLAGS): New variable.
2765 (noinst_LTLIBRARIES): Renamed.
2767 2005-03-23 Tom Tromey <tromey@redhat.com>
2769 * Makefile.in: Rebuilt.
2770 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2771 (libgcj0_convenience_la_SOURCES): Don't include
2772 gnu_xml_source_files.
2773 (libgcj0_convenience_la_LIBADD): New variable.
2774 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2775 (all_java_source_files): javax_imageio_source_files,
2776 javax_xml_source_files, and gnu_java_beans_source_files.
2777 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2778 (gnu-xml.lo): New target.
2779 (javax-imageio.lo): Likewise.
2780 (javax-xml.lo): Likewise.
2781 (gnu-java-beans.lo): Likewise.
2782 (gnu_java_beans_source_files): New variable.
2783 (javax_imageio_source_files): Likewise.
2784 (javax_xml_source_files): Likewise.
2785 (javax_source_files): Moved files to other variable.
2786 (awt_java_source_files): Likewise.
2787 (ordinary_java_source_files): Added BootClassLoader.java.
2788 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2789 not system class loader.
2790 (initBootLoader): New method.
2791 (loadClass): Search bootLoader.
2792 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2793 boot loader, not system class loader.
2794 (_Jv_UnregisterInitiatingLoader): Likewise.
2795 (_Jv_FindClass): Likewise. Ensure entries in
2796 bootstrap_class_list are unique.
2797 * java/lang/natClass.cc (getClassLoader): Don't special case
2798 system class loader.
2799 * java/lang/VMClassLoader.java (bootLoader): New field.
2800 (getResource): Use bootLoader.
2801 (getResources): Likewise.
2802 (initBootLoader): Declare.
2803 * gnu/gcj/runtime/BootClassLoader.java: New file.
2804 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2805 (EMPTY_ENUMERATION): Now package-private.
2806 * external/w3c_com/Makefile.in: Rebuilt.
2807 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2808 (w3c.jar): New target.
2809 (classes.stamp): Updated.
2810 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2811 Changed name of library.
2812 (libw3c_gcj_la_SOURCES): New variable.
2813 (libw3c_gcj_la_GCJFLAGS): Likewise.
2814 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2815 * external/sax/Makefile.in: Rebuilt.
2816 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2817 (sax.jar): New target.
2818 (classes.stamp): Updated.
2819 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2820 Changed name of library.
2821 (libsax_gcj_la_SOURCES): New variable.
2822 (libsax_gcj_la_GCJFLAGS): Likewise.
2823 (source_files): Renamed from libsax_convenience_la_SOURCES.
2824 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2826 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2828 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2830 2005-03-23 Sven de Marothy <sven@physto.se>
2832 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2834 * java/util/Calendar.java
2835 (set): Use starting day of week when one is needed if none is given.
2836 * java/text/SimpleDateFormat.java
2837 (parse): Handle 1-12 and 1-24 timestamps correctly.
2838 * java/util/GregorianCalendar.java
2839 (computeTime, computeFields): HOUR should be in 0-11 format.
2840 (nonLeniencyCheck): Adjust leniency checking to that fact.
2841 (getLinearDay): Should be private.
2843 2005-03-23 Tom Tromey <tromey@redhat.com>
2845 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2846 (_Jv_CheckABIVersion): Use it.
2848 2005-03-22 Mike Stump <mrs@apple.com>
2850 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2852 * include/posix.h: .dylib is used on all Apple MACH platforms.
2853 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2855 2005-03-22 Tom Tromey <tromey@redhat.com>
2857 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2859 2005-03-21 Tom Tromey <tromey@redhat.com>
2861 * java/lang/VMCompiler.java (static block): Also catch
2862 BufferUnderflowException.
2864 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2866 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2867 set tool_include_dir. In all substitutions, leave $(gcc_version)
2868 to be expanded by the Makefile.
2869 * aclocal.m4, configure: Regenerate.
2870 * Makefile.am: Set gcc_version. Replace all uses of
2871 @gcc_version@ with $(gcc_version).
2872 * external/Makefile.am, external/sax/Makefile.am
2873 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2874 * testsuite/Makefile.am: Set gcc_version.
2875 * include/Makefile.am: Set gcc_version and tool_include_dir.
2876 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2877 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2878 * testsuite/Makefile.in: Regenerate.
2880 2005-03-17 Andrew Haley <aph@redhat.com>
2882 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2884 Pass klass to _Jv_StackTrace::GetClassContext().
2885 * java/lang/ClassLoader.java (getParent): Pass class to
2886 VMSecurityManager.getClassContext()
2887 (getSystemClassLoader): Likewise.
2888 * java/lang/Package.java (getPackage): Likewise.
2889 (getPackages): Likewise.
2890 * java/lang/SecurityManager.java (getClassContext): Likewise.
2891 (currentClassLoader): Likewise.
2892 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2893 (currentClassLoader) Add new arg: caller.
2894 Pass caller to VMSecurityManager.getClassContext.
2896 * stacktrace.cc (GetClassContext): Correct calculation of
2899 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2900 im->source_file_name.
2902 2005-03-16 Andrew Haley <aph@redhat.com>
2904 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2906 2005-03-16 Tom Tromey <tromey@redhat.com>
2908 * link.cc (ensure_class_linked): Removed #ifdef.
2909 (print_class_loaded): Likewise.
2910 (wait_for_state): Likewise.
2911 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2912 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2913 * include/java-interp.h: ... here.
2915 2005-03-16 Tom Tromey <tromey@redhat.com>
2917 * gnu/java/lang/MainThread.java (run): Load main class using
2918 system class loader.
2920 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2922 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2923 lgcc_s to the libraries to link for Darwin.
2925 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2927 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2928 interpreter-specific code with #ifdef INTERPRETER.
2929 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2930 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2931 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2932 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2933 #ifdef INTERPRETER. Also protect declarations that use it.
2934 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2935 #ifdef INTERPRETER block.
2937 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2940 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2941 * Makefile.in: Rebuilt.
2943 2005-03-15 David Daney <ddaney@avtrex.com>
2945 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2948 2005-03-15 David Daney <ddaney@avtrex.com>
2950 * java/io/BufferedInputStream.java (available): Use 'in' instead
2951 of 'super' for underlying stream access.
2953 (read(byte[], int, int)): Ditto.
2955 (skip): Call skip on underlying stream when possible.
2957 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2959 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2960 SJLJ_EXCEPTIONS is defined.
2962 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2964 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2967 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2969 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2971 (libjava_arguments): Likewise.
2973 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2974 (gcj_jni_test_one): Likewise.
2975 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2976 Add flags to keep the Darwin linker quiet.
2977 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2978 Add -liconv for Darwin.
2980 2005-03-11 Tom Tromey <tromey@redhat.com>
2982 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2983 (_Jv_CheckABIVersion): Use it.
2985 2005-03-11 Tom Tromey <tromey@redhat.com>
2987 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2988 (usage): Document '-p'.
2989 * Makefile.in: Rebuilt.
2990 * Makefile.am (dbexecdir): New variable.
2991 (db_name): Likewise.
2992 (dbexec_DATA): Likewise.
2993 ($(db_name)): New target.
2994 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2995 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2998 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3000 * exception.cc: Remove stray MethodRef.h include.
3001 * java/lang/natClass.cc: Likewise.
3002 * gnu/gcj/runtime/MethodRef.java: Removed.
3003 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3004 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3005 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3006 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3007 * Makefile.in: Rebuilt.
3009 2005-03-10 Tom Tromey <tromey@redhat.com>
3011 * Makefile.in: Rebuilt.
3012 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3014 2005-03-10 Chris Burdess <dog@bluezoo.org>
3016 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3017 not currently parsing the DTD.
3019 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3021 New Stack Trace infrastructure.
3022 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3023 (gnu/gcj/runtime/StackTrace.java): Removed.
3024 (ordinary_java_source_files): Remove obsolete files.
3025 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3026 * configure.host (fallback_backtrace_h): Set backtrace header
3027 for mingw and cygwin targets.
3028 * configure.ac: Make symlink for fallback backtrace headers.
3029 * Makefile.in, configure: Rebuilt.
3030 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3031 Read 'LineNumberTable' attribute.
3032 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3034 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3036 * exception.cc: Remove unused include.
3037 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3038 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3039 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3040 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3041 table to direct threaded instruction values.
3042 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3043 (_Jv_InterpMethod::run): No longer member function. All
3044 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3045 is made or where an instruction could throw.
3046 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3048 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3049 (catch_fpe): Likewise.
3050 * stacktrace.cc: New file. Stack trace code now here.
3051 * gnu/gcj/runtime/MethodRef.java:
3052 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3053 calls addr2line to look up PC addresses in a given binary or shared
3055 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3056 gnu/gcj/runtime/natStackTrace.cc: Removed.
3057 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3058 this function name is specially recognised by the stack trace code
3059 and shouldn't be changed.
3060 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3061 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3062 (_Jv_InterpMethod::run): Update declaration.
3063 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3065 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3066 * include/java-stack.h: New file. Declarations for stack tracing.
3067 * include/jvm.h (_Jv_Frame_info): Removed.
3068 * java/lang/Class.h: Update friend declarations.
3069 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3071 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3072 (getStackTrace): Now native.
3073 (data): New RawDataManaged field.
3074 * java/lang/natClass.cc: Update includes.
3075 (forName): Use _Jv_StackTrace::GetCallingClass for
3076 calling-classloader check.
3077 (getClassLoader): Likewise.
3078 * java/lang/natRuntime.cc: Update includes.
3079 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3080 * java/lang/natVMSecurityManager.cc: Update includes.
3081 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3082 * java/lang/natVMThrowable.cc: New file. Native methods for
3084 * java/lang/reflect/natArray.cc: Update includes.
3085 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3086 accessibility check.
3087 * java/lang/reflect/natConstructor.cc: Update includes.
3088 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3089 accessibility check.
3090 * java/lang/reflect/natField.cc: Update includes.
3091 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3092 accessibility check.
3093 * java/lang/reflect/natMethod.cc: Update includes.
3094 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3095 accessibility check.
3096 * java/util/natResourceBundle.cc: Update includes.
3097 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3098 * java/util/logging/natLogger.cc: Update includes. Use
3099 _Jv_StackTrace::GetCallerInfo to get call-site info.
3100 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3102 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3105 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3107 * testsuite/libjava.compile/PR20312.java: New file.
3108 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3109 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3111 2005-03-09 Andrew Haley <aph@redhat.com>
3113 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3115 (smallTransferTo): New.
3116 (transferFrom): Loop around smallTransferFrom, copying pageSize
3118 (transferTo): Likewise.
3120 2005-03-09 David Daney <ddaney@avtrex.com>
3123 Merge BufferedInputStream from GNU Classpath.
3124 * java/io/BufferedInputStream.java (marktarget): Field removed.
3125 (CHUNKSIZE): Field removed.
3126 (bufferSize): New field.
3127 (BufferedInputStream): Initialize fields.
3128 (close): Invalidate mark and buffer indexes.
3130 (read()): Move mark handling code to refill.
3131 (read(byte[], int, int)): Ditto.
3132 (skip): Ditto and simplify EOF testing.
3133 (refill): Rewritten.
3134 * java/io/InputStreamReader.java (refill): Removed mark and reset
3135 of internal BufferedInputStream.
3137 2005-03-09 Tom Tromey <tromey@redhat.com>
3139 * java/lang/natVMClassLoader.cc (defineClass): Reference
3140 'systemClassLoader' field directly.
3141 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3143 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3144 Reference 'systemClassLoader' field directly.
3145 (_Jv_UnregisterInitiatingLoader): Likewise.
3146 (_Jv_FindClass): Likewise.
3148 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3150 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3152 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3153 the file in GNU Classpath style.
3155 2005-03-09 Tom Tromey <tromey@redhat.com>
3157 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3158 (toString): Synchronize.
3160 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3162 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3163 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3165 2005-03-07 Tom Tromey <tromey@redhat.com>
3167 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3168 (usage): Document '-f'.
3170 2005-03-07 Tom Tromey <tromey@redhat.com>
3172 * java/lang/VMCompiler.java (md5Digest): New field.
3173 (compileClass): Clone md5Digest instead of looking up a new one.
3175 2005-03-07 Tom Tromey <tromey@redhat.com>
3178 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3179 * link.cc (find_field_helper): Added 'type' argument.
3180 (find_field): Updated.
3182 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3183 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3184 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3185 throw UnsupportedOperationException, fixed comments.
3186 (setFont, setForeground): Fixed comments.
3187 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3188 return type to boolean.
3189 (getNextEvent): Fixed javadocs.
3190 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3191 (nativeQueueEmpty): Removed unused code.
3192 (iterateNativeQueue): Removed outer loop.
3194 2005-03-06 Roger Sayle <roger@eyesopen.com>
3197 * Makefile.am (libgcj0_convenience.la): Revert last change.
3198 * Makefile.in: Regenerate.
3200 2005-03-05 Anthony Green <green@redhat.com>
3202 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3203 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3204 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3205 (_Jv_GetDrawingSurface): Set visualID.
3206 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3207 (JAWT_GetAWT): Set Lock and Unlock.
3208 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3210 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3211 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3212 JAWT_LOCK_SURFACE_CHANGED): New macros.
3213 (struct _JAWT): Add Lock and Unlock.
3215 2005-03-05 Roger Sayle <roger@eyesopen.com>
3216 Alexandre Oliva <aoliva@redhat.com>
3217 Kelley Cook <kcook@gcc.gnu.org>
3220 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3221 of the object files to link to avoid exceeding the command line
3222 length limits on some platforms.
3223 (clean-local): Clean up objectlist files.
3224 * Makefile.in: Regenerate.
3226 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3228 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3229 spec_case. Initialize pointer mlo.
3231 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3234 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3236 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3239 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3240 uninitialized variable z.
3242 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3243 possible unused variables.
3245 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3247 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3249 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3252 * testsuite/libjava.jni/jni.exp
3253 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3255 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3257 2005-02-23 David Daney <ddaney@avtrex.com>
3259 * configure.host: Don't use -mxgot for MIPS builds.
3261 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3264 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3265 (COMPPATH): Removed.
3266 (ZIP, GCJH): Replace it with ../$(host_subdir).
3267 (built_gcc_dir): Add $(host_subdir).
3268 * configure: Regenerate.
3269 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3270 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3271 external/w3c_dom/Makefile.in: Regenerate.
3273 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3275 * java/awt/font/TextAttribute.java: changed names to lower case;
3276 (readResolve): implemented.
3277 Added doc comments all over.
3279 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3282 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3283 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3284 value. Move argument parsing code to prims.cc.
3285 * prims.cc (no_properties): Remove.
3286 (_Jv_Compiler_Properties): Initialize to NULL.
3287 (_Jv_Properties_Count): Initialize to 0.
3288 (parse_verbose_args): New function.
3289 (parse_init_args): New function.
3290 (_Jv_CreateJavaVM): Call parse_init_args.
3291 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3292 * gcj/cni.h (JvVMOption): New struct.
3293 (JvVMInitArgs): Likewise.
3294 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3296 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3297 (_Jv_VMInitArgs): Likewise.
3298 * include/java-props.h (_Jv_Properties_Count): Declare.
3299 * java/lang/natRuntime.cc (insertSystemProperties): Use
3300 _Jv_Properties_Count in for loop exit condition.
3301 * testsuite/libjava.jni/jni.exp
3302 (gcj_invocation_compile_c_to_binary): New procedure.
3303 (gcj_invocation_test_one): Likewise.
3304 (gcj_jni_run): Run JNI invocation API tests.
3305 * testsuite/libjava.jni/invocation/PR16923.c,
3306 testsuite/libjava.jni/invocation/PR16923.java,
3307 testsuite/libjava.jni/invocation/PR16923.out: New test.
3309 2005-02-23 Michael Koch <konqueror@gmx.de>
3311 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3312 * Makefile.in: Regenerated.
3314 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3316 * gnu/java/nio/ChannelReader: Fixed comments.
3318 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3320 * java/nio/channels/Channels: Added FIXMEs about
3321 stub method implementation.
3322 (newReader): Implemented.
3323 * gnu/java/nio/ChannelReader: New class.
3325 2005-02-23 Michael Koch <konqueror@gmx.de>
3327 * java/text/SimpleDateFormat.java:
3328 Removed unused import.
3330 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3333 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3334 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3335 * Makefile.in: Regenerate.
3336 * configure.ac: Check for libXtst.
3337 * configure: Regenerate.
3339 2005-02-22 Mark Wielaard <address@bogus.example.com>
3341 * java/security/AlgorithmParameterGenerator.java (getInstance):
3342 Mention provider when throwing NoSuchProviderException.
3343 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3344 * java/security/KeyFactory.java (getInstance): Likewise.
3345 * java/security/KeyStore.java (getInstance): Likewise.
3346 * java/security/SecureRandom.java (getInstance): Likewise.
3347 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3349 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3351 * java/lang/reflect/Proxy.java,
3353 java/security/SecureRandom.java,
3354 java/util/Timer.java,
3355 java/util/prefs/AbstractPreferences.java:
3356 Don't catch java.lang.ThreadDeath.
3358 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3360 * java/awt/font/TransformAttribute.java,
3361 (TransformAttribute(AffineTransform)): throw
3362 IllegalArgumentException for null transform.
3363 (getTransform): return a copy of transform.
3364 Added doc comments to all.
3366 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3368 * java/io/Externalizable.java,
3369 java/io/Serializable.java
3370 (serialVersionUID): Removed.
3371 * java/rmi/server/RemoteObject.java,
3372 java/rmi/server/UID.java
3373 (serialVersionUID): Made private.
3374 * java/rmi/server/RemoteRef.java,
3375 java/rmi/server/ServerRef.java
3376 (serialVersionUID): Set proper value.
3377 * java/security/interfaces/DSAPrivateKey.java,
3378 java/security/interfaces/DSAPublicKey.java,
3379 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3380 java/security/interfaces/RSAPrivateCrtKey.java,
3381 java/security/interfaces/RSAPrivateKey.java,
3382 java/security/interfaces/RSAPublicKey.java,
3383 javax/crypto/SecretKey.java
3384 (serialVersionUID): Added.
3386 2005-02-22 Tom Tromey <tromey@redhat.com>
3388 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3390 2005-02-22 Tom Tromey <tromey@redhat.com>
3393 * verify.cc (type::EITHER): New constant.
3394 (check_field_constant): Use it.
3395 (type::compatible): Handle it.
3397 2005-02-22 Michael Koch <konqueror@gmx.de>
3399 * gnu/java/security/PolicyFile.java,
3400 gnu/java/security/pkcs/PKCS7SignedData.java,
3401 gnu/java/security/pkcs/SignerInfo.java:
3402 Fixed copyright header.
3404 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3406 * java/beans/PropertyDescriptor.java
3407 (PropertyDescriptor,setReadMethod): Set propertyType.
3409 2005-02-22 Michael Koch <konqueror@gmx.de>
3411 * java/nio/DirectByteBufferImpl.java
3412 (owner): Fixed formatting of javadoc.
3413 * java/text/DateFormat.java
3414 (getAvailableLocales): Fixed formatting.
3415 * java/text/SimpleDateFormat.java:
3416 Fixed formatting and import statement order.
3417 * java/util/Calendar.java
3418 (Calendar): Fixed javadoc to be HTML compliant.
3419 * java/util/SimpleTimeZone.java:
3422 2005-02-22 Roman Kennke <roman@ontographics.com>
3424 * javax/swing/plaf/basic/BasicLookAndFeel.java
3425 (initComponentDefaults): Fixed Button left and right margin.
3427 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3429 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3433 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3434 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3435 (getWidth): New method.
3436 (getHeight): Likewise.
3437 (create): Remove width, height and insets parameters. Move size
3439 (realize_cb): ... here. New function.
3440 (connectSignals): Connect realize_cb.
3441 (request_frame_extents): Remove FIXME. Move
3442 postInsetsChangedEvent lookup ...
3443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3444 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3445 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3447 (windowGetWidthID): Likewise.
3448 (windowGetHeightID): Likewise.
3450 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3453 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3454 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3456 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3458 Merge serialization from GNU Classpath.
3459 * gcj/method.h: Add missing #includes.
3460 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3461 primitive class IDs on the stream here...
3462 (resolveClass): ...not here.
3463 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3465 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3466 setLongNative, setIntNative, setShortNative, setCharNative,
3467 setByteNative, setBooleanNative, setObjectNative): New native methods.
3468 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3469 setLongNative, setIntNative, setShortNative, setCharNative,
3470 setByteNative, setBooleanNative, setObjectNative): Implement them.
3471 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3472 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3473 the constructor here.
3474 (callConstructor): Removed.
3475 (getCallersClassLoader): Removed.
3476 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3477 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3478 to control whether setting final field values is permitted. Call
3479 getAddr() with checkFinal parameter instead of setAddr().
3480 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3481 only if not done already.
3482 (getAddr): Add checkFinal parameter. Do the final field check only if
3486 2005-02-21 Mark Wielaard <mark@klomp.org>
3489 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3492 2005-02-21 Mark Wielaard <mark@klomp.org>
3495 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3496 without a super class and us ObjectStreamClass.lookupForClassObject().
3497 (resolveClass): Check for primitive types.
3498 (lookupClass): Return null when argument is null.
3500 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3502 * java/io/ObjectInputStream.java
3503 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3505 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3507 * java/io/ObjectOutputStream.java
3508 (writeObject, callWriteMethod): Replaced reflection with accessing
3509 cached info in ObjectStreamClass.
3510 (getMethod): Removed.
3511 * java/io/ObjectStreamClass.java
3512 (findMethod): Added check to make sure the method found has the
3514 (cacheMethods): Added writeReplace and writeObject methods.
3515 (setFlags): Look at new writeObjectMethod field instead of doing
3517 (writeReplaceMethod): New field.
3518 (writeObjectMethod): New field.
3520 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3521 Jeroen Frijters <jeroen@frijters.net>
3523 * java/io/ObjectInputStream.java
3524 (newObject): Changed prototype. Get a constructor reflect object
3526 (callConstructor): Removed.
3527 (allocateObject): Changed prototype.
3528 (readClassDescriptor): Build the constructor reflection directly.
3529 (readObject): Invoke newObject using the new prototype.
3531 * java/io/ObjectStreamClass.java
3532 (firstNonSerializableParent): Removed.
3533 (firstNonSerializableParentConstructor): Added.
3535 2005-02-21 Mark Wielaard <mark@klomp.org>
3537 * gnu/java/locale/LocaleInformation_en.java: Extend
3538 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3540 2005-02-21 Mark Wielaard <mark@klomp.org>
3542 * java/text/SimpleDateFormat.java
3543 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3544 NullPointerException when formatData is null.
3546 2005-02-21 Mark Wielaard <mark@klomp.org>
3548 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3549 taking dstSavings into account.
3551 2005-02-21 Sven de Marothy <sven@physto.se>
3553 * java/text/SimpleDateFormat.java,
3554 (parse): Set correct DST_OFFSET to the correct value.
3556 2005-02-21 Mark Wielaard <mark@klomp.org>
3558 * java/util/SimpleTimeZone.java (checkRule): Throw
3559 IllegalArgumentException when month out of range.
3561 2005-02-21 Sven de Marothy <sven@physto.se>
3563 * java/util/GregorianCalendar.java,
3564 (add): Don't set fields directly anymore. Use set()
3566 2005-02-21 Mark Wielaard <mark@klomp.org>
3568 * java/text/SimpleDateFormat.java (CompiledField.toString):
3569 Use StringBuffer, not StringBuilder.
3570 (toString): Likewise.
3572 2005-02-21 Sven de Marothy <sven@physto.se>
3574 * java/util/Calendar.java
3575 (clear): Dates should clear to local time.
3576 * java/util/GregorianCalendar.java
3577 (computeTime): Fix priority problem with DAY_OF_WEEK,
3578 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3580 2005-02-21 Sven de Marothy <sven@physto.se>
3582 * java/util/Calendar.java
3583 (Calendar): Constructor should clear fields.
3585 2005-02-21 Sven de Marothy <sven@physto.se>
3587 * java/text/SimpleDateFormat.java
3588 (parse): Tweak handling of 2-year dates
3589 * java/util/Calendar.java
3590 (clear): Clear fields to correct value.
3591 * java/util/GregorianCalendar.java
3592 (computeTime): Correct handling of time zones.
3593 Correct field minimum values.
3595 2005-02-21 Sven de Marothy <sven@physto.se>
3597 * java/util/Calendar.java
3598 (set) Invalidate all fields on first call to set().
3600 2005-02-21 Sven de Marothy <sven@physto.se>
3602 * java/util/GregorianCalendar.java
3603 (computeTime): Fixed handling of time zones.
3605 2005-02-21 Sven de Marothy <sven@physto.se>
3607 * java/util/Calendar.java
3608 (clear): Set values to Epoch instead of zero.
3609 (set): Set isSet to the relevant field pattern instead of just
3611 * java/util/GregorianCalendar.java
3612 (getBundle): Removed.
3613 (getDayOfYear): Removed.
3614 (getFirstDayOfMonth): New private method.
3615 (nonLeniencyCheck): New private method.
3616 (computeTime): Correct handling of insufficient data.
3618 2005-02-21 Sven de Marothy <sven@physto.se>
3620 * java/util/Calendar.java: Invalidate ERA field on setting
3622 * java/util/SimpleTimeZone.java:
3623 (getDaysInMonth): Reimplemented.
3624 * java/util/GregorianCalendar.java:
3625 (getLinearTime): Removed.
3626 (isLeapYear(int,boolean)): Removed.
3627 (before(), after()): Removed.
3628 (computeTime): Reimplemented.
3630 2005-02-21 Sven de Marothy <sven@physto.se>
3632 * java/util/Calendar.java: Reformatted.
3633 * java/util/GregorianCalendar.java: Reformatted.
3634 * java/util/SimpleTimeZone.java: Reformatted.
3636 2005-02-21 Sven de Marothy <sven@physto.se>
3638 * java/util/GregorianCalendar.java
3639 (GregorianCalendar): Update fields in the constructor
3641 2005-02-21 Noa Resare <noa@resare.com>
3643 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3644 (set(int,int)): Set and use new field.
3645 (set(int,int,int)): Check new field.
3647 2005-02-21 Noa Resare <address@hidden>
3649 * java/util/Calendar.java(set):
3650 Fix for DST related regression.
3652 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3654 * java/util/Calendar.java
3655 (setTimeInMillis): Added call to clear, removed computeFields call.
3656 * java/util/Date.java
3657 (Date(int,int,int,int,int,int)): Removed workaround for
3658 GregorianCalendar bug.
3659 * java/util/GregorianCalendar.java
3660 (GregorianCalendar): Chained all constructors to a (new)
3662 (computeTime): Fixed support for lenient month treatment.
3663 (getLinearDay): Return long instead of int.
3664 (calculateDay): Added fields argument and changed day argument
3667 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3669 * java/text/SimpleDateFormat.java
3670 Lots of documentation updates.
3671 (readObject(java.io.ObjectInputStream)): Wraps
3672 IllegalArgumentException as specified.
3673 (compileFormat(String)): Uses standardChars
3674 rather than the local pattern characters.
3675 Throws IllegalArgumentException rather than
3677 (toString()): Extended to include all variables
3679 (translateLocalizedPattern(String, String, String)):
3680 Renamed to better define the use of this method.
3682 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3684 * java/text/DateFormat.java:
3685 Documented pattern character offset constants and
3687 (Field): Added new static fields for new pattern chars.
3688 * java/text/SimpleDateFormat.java:
3689 (CompiledField): Changed name of FieldSizePair class
3690 to CompiledField after adding the character as an
3691 attribute. Changed fields to private and added
3692 accessors to give encapsulation.
3693 (CompiledField.CompiledField(int,int,char)): Extended
3694 with character field.
3695 (CompiledField.getField()): New accessor method.
3696 (CompiledField.getSize()): New acceessor method.
3697 (CompiledField.getCharacter()): New accessor method.
3698 (CompiledField.toString()): Added primarily for debugging.
3699 (standardChars): Now uses extended 24 character sequence.
3700 (compileFormat(String)): Changed to use CompiledField.
3701 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3702 java.text.FieldPosition)): Changed to use CompiledField.
3703 New handler for RFC 822 timezones added.
3705 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3707 * java/text/SimpleDateFormat.java:
3708 (parse(String, java.text.ParsePosition)):
3709 Changed 'E' and 'M' cases to use both
3710 short and long names. Extended 'z'
3711 case to also handle 'Z', and deal
3712 with simple GMT offsets such as +0100.
3713 (computeOffset(String)): New private method,
3714 which converts a GMT offset specification,
3715 such as GMT-0500 to a numeric offset in
3717 * java/util/TimeZone.java:
3718 (timezones()): Added "CEST", the daylight
3719 savings time version of "CET", or Central
3722 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3724 * java/text/SimpleDateFormat.java:
3725 (parse): Set the DST offset to 0 when parsing
3726 GMT offset timezones.
3728 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3730 * java/text/SimpleDateFormat.java:
3731 (parse): Use offset to set ZONE_OFFSET
3732 rather than the DST_OFFSET, so that
3733 GMT offset timezones change the right
3736 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3738 * java/text/SimpleDateFormat.java:
3739 (getDateFormatSymbols()): return a copy
3740 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3741 throw exception on null input
3742 (clone()): implemented to clone
3745 2005-02-21 Sven de Marothy <sven@physto.se>
3747 * java/text/SimpleDateFormat.java
3748 (parse): comparison should be case-insensitive, ignore null
3751 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3753 * gnu/java/beans/IntrospectionIncubator.java
3754 (addMethod) Reverts the patch that ntroduced a regression (see bug
3755 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3757 2005-02-21 Michael Koch <konqueror@gmx.de>
3759 * java/awt/Checkbox.java
3760 (next_checkbox_number): New static variable.
3761 (generateName): New method.
3762 (getUniqueLong): Likewise.
3763 * java/awt/Window.java
3764 (next_window_number): New static variable.
3765 (generateName): New method.
3766 (getUniqueLong): Likewise.
3768 2005-02-21 Mark Wielaard <mark@klomp.org>
3770 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3773 2005-02-21 Andrew Haley <aph@redhat.com>
3775 * Makefile.in: Rebuilt.
3776 * Makefile.am (nat_source_files): Added natLogger.cc.
3777 * java/util/logging/natLogger.cc: New file.
3778 * java/util/logging/Logger.java (getCallerStackFrame): Now
3781 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3783 * Makefile.am (all_property_files): Remove left over.
3784 (classes.stamp): Add stamp for the ONESTEP build, also known as
3785 --enable-libgcj-multifile.
3786 * Makefile.in: Regenerated.
3788 2005-02-21 Michael Koch <konqueror@gmx.de>
3790 * java/awt/Button.java,
3791 java/awt/Container.java,
3793 java/awt/Frame.java,
3794 java/text/CollationElementIterator.java,
3795 java/text/RuleBasedCollator.java,
3796 java/util/PropertyPermission.java:
3797 Fixed formatting issues all over.
3799 2005-02-21 Mark Wielaard <mark@klomp.org>
3801 * java/io/FileDescriptor.java (sync): Add real exception to
3802 SyncFailedException.
3804 2005-02-21 Michael Koch <konqueror@gmx.de>
3806 * java/io/InputStreamReader.java:
3809 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3812 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3814 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3816 * libraries/javalib/gnu/regexp/RE.java,
3817 libraries/javalib/java/io/ObjectInputStream.java,
3818 libraries/javalib/java/security/AllPermission.java,
3819 libraries/javalib/java/security/BasicPermission.java,
3820 libraries/javalib/java/security/Permissions.java,
3821 libraries/javalib/java/text/MessageFormat.java:
3822 Made 'inner' classes real public static inner classes,
3823 and made them final where possible, or removed them
3826 2005-02-20 Michael Koch <konqueror@gmx.de>
3828 * gnu/java/text/FormatCharacterIterator.java:
3829 Removed redundant modifiers.
3831 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3833 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3836 2005-02-19 Michael Koch <konqueror@gmx.de>
3838 * Makefile.am: Added new files in gnu/java/beans and
3839 java/beans/XMLDecoder.java.
3840 * Makefile.in: Regenerated.
3842 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3844 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3845 assignment behavior by using java.lang.reflect.Array.set()
3848 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3850 * gnu/java/beans/EmptyBeanInfo.java,
3851 gnu/java/beans/info/ComponentBeanInfo.java:
3852 Removed unused files.
3854 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3856 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3857 of AppletStub for java.beans.Beans.instantiate.
3858 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3860 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3861 to be conformant with Javadoc guidelines.
3862 (instantiate): Added two more overloaded variants, reworked user
3863 documentation, fixed exception behavior, fixed behavior when
3866 2005-02-19 Mark Wielaard <mark@klomp.org>
3868 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3870 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3872 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3874 * gnu/java/beans/decoder/AbstractContext.java,
3875 gnu/java/beans/decoder/AbstractCreatableContext.java,
3876 gnu/java/beans/decoder/AbstractElementHandler.java,
3877 gnu/java/beans/decoder/AbstractObjectContext.java,
3878 gnu/java/beans/decoder/ArrayContext.java,
3879 gnu/java/beans/decoder/ArrayHandler.java,
3880 gnu/java/beans/decoder/AssemblyException.java,
3881 gnu/java/beans/decoder/BooleanHandler.java,
3882 gnu/java/beans/decoder/ByteHandler.java,
3883 gnu/java/beans/decoder/CharHandler.java,
3884 gnu/java/beans/decoder/ClassHandler.java,
3885 gnu/java/beans/decoder/ConstructorContext.java,
3886 gnu/java/beans/decoder/Context.java,
3887 gnu/java/beans/decoder/DecoderContext.java,
3888 gnu/java/beans/decoder/DefaultExceptionListener.java,
3889 gnu/java/beans/decoder/DoubleHandler.java,
3890 gnu/java/beans/decoder/DummyContext.java,
3891 gnu/java/beans/decoder/DummyHandler.java,
3892 gnu/java/beans/decoder/ElementHandler.java,
3893 gnu/java/beans/decoder/FloatHandler.java,
3894 gnu/java/beans/decoder/GrowableArrayContext.java,
3895 gnu/java/beans/decoder/IndexContext.java,
3896 gnu/java/beans/decoder/IntHandler.java,
3897 gnu/java/beans/decoder/JavaHandler.java,
3898 gnu/java/beans/decoder/LongHandler.java,
3899 gnu/java/beans/decoder/MethodContext.java,
3900 gnu/java/beans/decoder/MethodFinder.java,
3901 gnu/java/beans/decoder/NullHandler.java,
3902 gnu/java/beans/decoder/ObjectContext.java,
3903 gnu/java/beans/decoder/ObjectHandler.java,
3904 gnu/java/beans/decoder/PersistenceParser.java,
3905 gnu/java/beans/decoder/PropertyContext.java,
3906 gnu/java/beans/decoder/ShortHandler.java,
3907 gnu/java/beans/decoder/SimpleHandler.java,
3908 gnu/java/beans/decoder/StaticMethodContext.java,
3909 gnu/java/beans/decoder/StringHandler.java,
3910 gnu/java/beans/decoder/VoidHandler.java: New class
3911 implementing java.beans.XMLDecoder decoding functionality.
3912 * java/beans/XMLDecoder.java: New class.
3914 2005-02-19 Michael Koch <konqueror@gmx.de>
3916 * javax/swing/JTextField.java
3917 (notfiyAction): Added javadoc.
3919 2005-02-19 Sven de Marothy <sven@physto.se>
3921 * javax/swing/SpinnerDateModel.java: Implemented.
3923 2005-02-19 Michael Koch <konqueror@gmx.de>
3925 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3926 * Makefile.in: Regenerated.
3928 2005-02-19 Michael Koch <konqueror@gmx.de>
3930 * gnu/java/nio/SelectorImpl.java:
3931 Reworked import statements.
3932 (register): Removed unused code.
3933 * java/nio/channels/Channels.java: Reformatted.
3934 * java/nio/charset/Charset.java: Likewise.
3935 * java/rmi/server/RemoteObject.java
3936 (serialVersionUID): Made private.
3937 * java/rmi/server/UID.java
3938 (serialVersionUID): Likewise.
3940 2005-02-19 Michael Koch <konqueror@gmx.de>
3942 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3943 gnu/java/net/protocol/ftp/BlockInputStream.java,
3944 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3945 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3946 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3947 gnu/java/net/protocol/ftp/DTPInputStream.java,
3948 gnu/java/net/protocol/ftp/DTP.java,
3949 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3950 gnu/java/net/protocol/ftp/FTPConnection.java,
3951 gnu/java/net/protocol/ftp/FTPException.java,
3952 gnu/java/net/protocol/ftp/FTPResponse.java,
3953 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3954 gnu/java/net/protocol/ftp/Handler.java,
3955 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3956 gnu/java/net/protocol/ftp/StreamInputStream.java,
3957 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3958 gnu/java/net/CRLFInputStream.java,
3959 gnu/java/net/CRLFOutputStream.java,
3960 gnu/java/net/GetLocalHostAction.java,
3961 gnu/java/net/protocol/ftp/package.html: New files.
3962 * Makefile.am: Added new files.
3963 * Makefile.in: Regenerated.
3965 2005-02-18 Tom Tromey <tromey@redhat.com>
3967 * link.cc (make_vtable): Remove abstract method check.
3968 (append_partial_itable): Likewise.
3971 * verify.cc (type::equals): Fixed test.
3972 * testsuite/libjava.lang/PR20056.out: New file.
3973 * testsuite/libjava.lang/PR20056.java: New file.
3975 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3977 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3978 not the HashEntry. Reported by Jean-Marie White.
3980 2005-02-18 Tom Tromey <tromey@redhat.com>
3983 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3984 * link.cc (has_field_p): New function.
3985 * verify.cc (check_field_constant): Added 'putfield' argument.
3986 (verify_instructions_0): Updated.
3987 (type::equals): New method.
3989 2005-02-18 Anthony Green <green@redhat.com>
3991 * NEWS: Draft of libgcj NEWS for 4.0.
3993 2005-02-18 Anthony Green <green@redhat.com>
3995 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3996 architecture names to "i386" for compatibility reasons. Win32
3999 2005-02-18 Anthony Green <green@redhat.com>
4001 * gij.cc (version): Change year for '--version' to 2005.
4002 * gnu/gcj/convert/Convert.java: Ditto.
4003 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4004 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4006 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4007 recent copyright year in `--version' output.
4009 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4011 * java/nio/charset/Charset.java (forName): Throws
4012 IllegalArgumentException when argument is null
4013 and added documentation.
4015 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4017 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4018 Move the position of the source buffer forward.
4020 2005-02-17 Tom Tromey <tromey@redhat.com>
4022 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4023 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4024 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4025 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4026 Changed type of second argument. Rewrote.
4027 (make_vtable): Use it.
4028 (append_partial_itable): Updated.
4029 (layout_vtable_methods): Updated.
4031 2005-02-17 Michael Koch <konqueror@gmx.de>
4033 * gnu/java/net/PlainSocketImpl.java
4034 (shutdownInput): Added javadoc.
4035 (shutdownOutput): Likewise.
4037 2005-02-17 Michael Koch <konqueror@gmx.de>
4039 * javax/print/attribute/standard/Chromaticity.java,
4040 javax/print/attribute/standard/Destination.java,
4041 javax/print/attribute/standard/MediaPrintableArea.java,
4042 javax/print/attribute/standard/MediaSize.java: New files.
4043 * Makefile.am: Added new files.
4044 * Makefile.in: Regenerated.
4046 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4047 Michael Koch <konqueror@gmx.de>
4049 * gnu/java/net/protocol/http/Cookie.java,
4050 gnu/java/net/protocol/http/HTTPConnection.java,
4051 gnu/java/net/protocol/http/HTTPDateFormat.java,
4052 gnu/java/net/protocol/http/Request.java,
4053 gnu/java/nio/PipeImpl.java,
4054 gnu/java/rmi/dgc/DGCImpl.java,
4055 gnu/java/rmi/server/ConnectionRunnerPool.java,
4056 gnu/java/rmi/server/UnicastConnectionManager.java,
4057 gnu/java/security/der/DERWriter.java,
4058 gnu/java/security/pkcs/SignerInfo.java,
4059 gnu/java/security/provider/EncodedKeyFactory.java,
4060 gnu/java/security/provider/GnuDHPublicKey.java,
4061 gnu/java/security/provider/GnuDSAPrivateKey.java,
4062 gnu/java/security/provider/GnuDSAPublicKey.java,
4063 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4064 gnu/java/security/x509/X500DistinguishedName.java,
4065 gnu/java/security/x509/X509CRL.java,
4066 gnu/java/security/x509/X509CRLEntry.java,
4067 gnu/java/security/x509/X509Certificate.java,
4068 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4069 gnu/java/security/x509/ext/CertificatePolicies.java,
4070 gnu/java/security/x509/ext/PolicyConstraint.java,
4071 gnu/xml/dom/Consumer.java,
4072 gnu/xml/dom/DomCharacterData.java,
4073 gnu/xml/dom/DomDocument.java,
4074 gnu/xml/dom/DomDocumentBuilder.java,
4075 gnu/xml/dom/DomIterator.java,
4076 gnu/xml/dom/DomNode.java,
4077 gnu/xml/dom/DomXPathExpression.java,
4078 gnu/xml/dom/DomXPathResult.java,
4079 gnu/xml/dom/JAXPFactory.java,
4080 gnu/xml/pipeline/CallFilter.java,
4081 gnu/xml/pipeline/DomConsumer.java,
4082 gnu/xml/pipeline/LinkFilter.java,
4083 gnu/xml/pipeline/NSFilter.java,
4084 gnu/xml/pipeline/TeeConsumer.java,
4085 gnu/xml/pipeline/ValidationConsumer.java,
4086 gnu/xml/pipeline/WellFormednessFilter.java,
4087 gnu/xml/pipeline/XIncludeFilter.java,
4088 gnu/xml/pipeline/XsltFilter.java,
4089 gnu/xml/transform/ApplyImportsNode.java,
4090 gnu/xml/transform/Bindings.java,
4091 gnu/xml/transform/DocumentFunction.java,
4092 gnu/xml/transform/FormatNumberFunction.java,
4093 gnu/xml/transform/NodeNumberNode.java,
4094 gnu/xml/transform/NumberNode.java,
4095 gnu/xml/transform/Stylesheet.java,
4096 gnu/xml/transform/SystemPropertyFunction.java,
4097 gnu/xml/transform/Template.java,
4098 gnu/xml/transform/TemplatesImpl.java,
4099 gnu/xml/transform/TransformerImpl.java,
4100 gnu/xml/transform/ValueOfNode.java,
4101 gnu/xml/transform/XSLURIResolver.java,
4102 gnu/xml/util/DoParse.java,
4103 gnu/xml/util/Resolver.java,
4104 gnu/xml/xpath/Expr.java,
4105 gnu/xml/xpath/FunctionCall.java,
4106 gnu/xml/xpath/RelationalExpr.java,
4107 gnu/xml/xpath/Selector.java,
4108 gnu/xml/xpath/XPathParser.java:
4109 Reworked import statements, fixed modifier order and some little
4112 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4114 * java/nio/ByteBufferImpl.java (compact):
4115 Set position and limit even if no bytes were moved.
4117 2005-02-17 Michael Koch <konqueror@gmx.de>
4119 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4120 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4121 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4122 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4123 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4124 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4125 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4126 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4127 * java/nio/FloatBufferImpl.java (compact): Set position.
4128 * java/nio/CharBufferImpl.java (compact): Likewise.
4129 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4130 * java/nio/IntBufferImpl.java (compact): Likewise.
4131 * java/nio/LongBufferImpl.java (compact): Likewise.
4132 * java/nio/ShortBufferImpl.java (compact): Likewise.
4134 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4136 * java/nio/ByteBufferImpl.java,
4137 java/nio/CharBufferImpl.java,
4138 java/nio/DirectByteBufferImpl.java,
4139 java/nio/DoubleBufferImpl.java,
4140 java/nio/FloatBufferImpl.java,
4141 java/nio/IntBufferImpl.java,
4142 java/nio/LongBufferImpl.java,
4143 java/nio/MappedByteBufferImpl.java,
4144 java/nio/ShortBufferImpl.java
4145 (compact): Added explicit read-only check and invalidate mark.
4147 2005-02-17 Michael Koch <konqueror@gmx.de>
4149 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4150 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4151 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4152 gnu/java/awt/peer/gtk/GdkGraphics.java,
4153 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4154 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4155 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4156 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4157 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4158 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4159 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4160 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4161 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4162 gnu/java/awt/peer/gtk/GtkClipboard.java,
4163 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4164 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4165 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4166 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4167 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4168 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4169 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4170 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4171 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4172 gnu/java/awt/peer/gtk/GtkToolkit.java,
4173 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4174 java/applet/Applet.java,
4175 java/awt/AWTError.java,
4176 java/awt/AWTEvent.java,
4177 java/awt/AWTEventMulticaster.java,
4178 java/awt/AWTException.java,
4179 java/awt/AWTKeyStroke.java,
4180 java/awt/AWTPermission.java,
4181 java/awt/ActiveEvent.java,
4182 java/awt/Adjustable.java,
4183 java/awt/AlphaComposite.java,
4184 java/awt/AttributeValue.java,
4185 java/awt/BorderLayout.java,
4186 java/awt/BufferCapabilities.java,
4187 java/awt/Button.java,
4188 java/awt/Canvas.java,
4189 java/awt/CheckboxGroup.java,
4190 java/awt/CheckboxMenuItem.java,
4191 java/awt/Color.java,
4192 java/awt/ColorPaintContext.java,
4193 java/awt/Component.java,
4194 java/awt/ComponentOrientation.java,
4195 java/awt/Composite.java,
4196 java/awt/CompositeContext.java,
4197 java/awt/Container.java,
4198 java/awt/ContainerOrderFocusTraversalPolicy.java,
4199 java/awt/DefaultFocusTraversalPolicy.java,
4200 java/awt/Dialog.java,
4201 java/awt/Dimension.java,
4202 java/awt/DisplayMode.java,
4203 java/awt/EventQueue.java,
4204 java/awt/FileDialog.java,
4205 java/awt/FontFormatException.java,
4206 java/awt/Graphics.java,
4207 java/awt/Graphics2D.java,
4208 java/awt/GraphicsConfigTemplate.java,
4209 java/awt/GraphicsConfiguration.java,
4210 java/awt/GraphicsDevice.java,
4211 java/awt/GridBagLayout.java,
4212 java/awt/GridBagLayoutInfo.java,
4213 java/awt/GridLayout.java,
4214 java/awt/HeadlessException.java,
4215 java/awt/IllegalComponentStateException.java,
4216 java/awt/Image.java,
4217 java/awt/Insets.java,
4218 java/awt/ItemSelectable.java,
4219 java/awt/JobAttributes.java,
4220 java/awt/KeyEventDispatcher.java,
4221 java/awt/KeyEventPostProcessor.java,
4222 java/awt/KeyboardFocusManager.java,
4223 java/awt/Label.java,
4224 java/awt/LayoutManager.java,
4225 java/awt/MenuBar.java,
4226 java/awt/MenuComponent.java,
4227 java/awt/MenuContainer.java,
4228 java/awt/PageAttributes.java,
4229 java/awt/Paint.java,
4230 java/awt/PaintContext.java,
4231 java/awt/Panel.java,
4232 java/awt/Point.java,
4233 java/awt/Polygon.java,
4234 java/awt/PrintGraphics.java,
4235 java/awt/PrintJob.java,
4236 java/awt/Rectangle.java,
4237 java/awt/RenderingHints.java,
4238 java/awt/Shape.java,
4239 java/awt/Stroke.java,
4240 java/awt/SystemColor.java,
4241 java/awt/Toolkit.java,
4242 java/awt/Transparency.java,
4243 java/awt/Window.java,
4244 java/awt/color/CMMException.java,
4245 java/awt/color/ColorSpace.java,
4246 java/awt/color/ICC_ColorSpace.java,
4247 java/awt/color/ICC_Profile.java,
4248 java/awt/color/ProfileDataException.java,
4249 java/awt/datatransfer/FlavorTable.java,
4250 java/awt/datatransfer/MimeTypeParseException.java,
4251 java/awt/datatransfer/Transferable.java,
4252 java/awt/datatransfer/UnsupportedFlavorException.java,
4253 java/awt/dnd/Autoscroll.java,
4254 java/awt/dnd/DnDConstants.java,
4255 java/awt/dnd/DragGestureListener.java,
4256 java/awt/dnd/DragSourceAdapter.java,
4257 java/awt/dnd/DragSourceDropEvent.java,
4258 java/awt/dnd/DragSourceListener.java,
4259 java/awt/dnd/DragSourceMotionListener.java,
4260 java/awt/dnd/DropTargetAdapter.java,
4261 java/awt/dnd/DropTargetContext.java,
4262 java/awt/dnd/DropTargetListener.java,
4263 java/awt/dnd/InvalidDnDOperationException.java,
4264 java/awt/dnd/MouseDragGestureRecognizer.java,
4265 java/awt/dnd/peer/DropTargetContextPeer.java,
4266 java/awt/event/AWTEventListener.java,
4267 java/awt/event/AWTEventListenerProxy.java,
4268 java/awt/event/ActionEvent.java,
4269 java/awt/event/AdjustmentEvent.java,
4270 java/awt/event/AdjustmentListener.java,
4271 java/awt/event/ComponentAdapter.java,
4272 java/awt/event/ComponentEvent.java,
4273 java/awt/event/ComponentListener.java,
4274 java/awt/event/ContainerAdapter.java,
4275 java/awt/event/ContainerEvent.java,
4276 java/awt/event/ContainerListener.java,
4277 java/awt/event/FocusAdapter.java,
4278 java/awt/event/FocusEvent.java,
4279 java/awt/event/FocusListener.java,
4280 java/awt/event/InputEvent.java,
4281 java/awt/event/InputMethodEvent.java,
4282 java/awt/event/InputMethodListener.java,
4283 java/awt/event/InvocationEvent.java,
4284 java/awt/event/ItemEvent.java,
4285 java/awt/event/ItemListener.java,
4286 java/awt/event/KeyAdapter.java,
4287 java/awt/event/KeyEvent.java,
4288 java/awt/event/KeyListener.java,
4289 java/awt/event/MouseAdapter.java,
4290 java/awt/event/MouseEvent.java,
4291 java/awt/event/MouseListener.java,
4292 java/awt/event/MouseMotionAdapter.java,
4293 java/awt/event/MouseMotionListener.java,
4294 java/awt/event/MouseWheelEvent.java,
4295 java/awt/event/MouseWheelListener.java,
4296 java/awt/event/PaintEvent.java,
4297 java/awt/event/TextEvent.java,
4298 java/awt/event/TextListener.java,
4299 java/awt/event/WindowAdapter.java,
4300 java/awt/event/WindowEvent.java,
4301 java/awt/event/WindowFocusListener.java,
4302 java/awt/event/WindowListener.java,
4303 java/awt/event/WindowStateListener.java,
4304 java/awt/font/TextHitInfo.java,
4305 java/awt/geom/CubicCurve2D.java,
4306 java/awt/geom/Dimension2D.java,
4307 java/awt/geom/Ellipse2D.java,
4308 java/awt/geom/IllegalPathStateException.java,
4309 java/awt/geom/Line2D.java,
4310 java/awt/geom/NoninvertibleTransformException.java,
4311 java/awt/geom/PathIterator.java,
4312 java/awt/geom/Point2D.java,
4313 java/awt/geom/QuadCurve2D.java,
4314 java/awt/geom/RectangularShape.java,
4315 java/awt/geom/RoundRectangle2D.java,
4316 java/awt/im/InputContext.java,
4317 java/awt/im/InputMethodHighlight.java,
4318 java/awt/im/InputMethodRequests.java,
4319 java/awt/im/InputSubset.java,
4320 java/awt/im/spi/InputMethod.java,
4321 java/awt/im/spi/InputMethodDescriptor.java,
4322 java/awt/image/BandCombineOp.java,
4323 java/awt/image/BandedSampleModel.java,
4324 java/awt/image/ByteLookupTable.java,
4325 java/awt/image/ComponentSampleModel.java,
4326 java/awt/image/DataBuffer.java,
4327 java/awt/image/DataBufferByte.java,
4328 java/awt/image/DataBufferDouble.java,
4329 java/awt/image/DataBufferFloat.java,
4330 java/awt/image/DataBufferInt.java,
4331 java/awt/image/DataBufferShort.java,
4332 java/awt/image/DataBufferUShort.java,
4333 java/awt/image/ImagingOpException.java,
4334 java/awt/image/Kernel.java,
4335 java/awt/image/LookupTable.java,
4336 java/awt/image/MultiPixelPackedSampleModel.java,
4337 java/awt/image/PackedColorModel.java,
4338 java/awt/image/PixelInterleavedSampleModel.java,
4339 java/awt/image/RGBImageFilter.java,
4340 java/awt/image/Raster.java,
4341 java/awt/image/RasterFormatException.java,
4342 java/awt/image/SampleModel.java,
4343 java/awt/image/ShortLookupTable.java,
4344 java/awt/image/SinglePixelPackedSampleModel.java,
4345 java/awt/image/WritableRaster.java,
4346 java/awt/print/PrinterAbortException.java,
4347 java/awt/print/PrinterException.java,
4348 java/awt/print/PrinterIOException.java,
4349 java/beans/AppletInitializer.java,
4350 java/beans/ExceptionListener.java,
4351 java/beans/PropertyChangeEvent.java,
4352 java/beans/PropertyChangeListenerProxy.java,
4353 java/beans/PropertyChangeSupport.java,
4354 java/beans/PropertyDescriptor.java,
4355 java/beans/VetoableChangeListenerProxy.java,
4356 java/beans/VetoableChangeSupport.java,
4357 java/io/BufferedReader.java,
4358 java/io/ByteArrayInputStream.java,
4359 java/io/ByteArrayOutputStream.java,
4360 java/io/CharArrayReader.java,
4361 java/io/CharArrayWriter.java,
4362 java/io/CharConversionException.java,
4363 java/io/DataInput.java,
4364 java/io/DataInputStream.java,
4365 java/io/DataOutput.java,
4366 java/io/DataOutputStream.java,
4367 java/io/EOFException.java,
4368 java/io/FileInputStream.java,
4369 java/io/FileNotFoundException.java,
4370 java/io/FileOutputStream.java,
4371 java/io/FilenameFilter.java,
4372 java/io/FilterInputStream.java,
4373 java/io/FilterOutputStream.java,
4374 java/io/FilterReader.java,
4375 java/io/FilterWriter.java,
4376 java/io/IOException.java,
4377 java/io/InputStream.java,
4378 java/io/InterruptedIOException.java,
4379 java/io/LineNumberInputStream.java,
4380 java/io/LineNumberReader.java,
4381 java/io/ObjectInputStream.java,
4382 java/io/ObjectStreamException.java,
4383 java/io/OptionalDataException.java,
4384 java/io/OutputStream.java,
4385 java/io/OutputStreamWriter.java,
4386 java/io/PrintStream.java,
4387 java/io/PrintWriter.java,
4388 java/io/PushbackInputStream.java,
4389 java/io/PushbackReader.java,
4390 java/io/RandomAccessFile.java,
4391 java/io/Reader.java,
4392 java/io/SequenceInputStream.java,
4393 java/io/Serializable.java,
4394 java/io/StreamCorruptedException.java,
4395 java/io/StreamTokenizer.java,
4396 java/io/StringBufferInputStream.java,
4397 java/io/StringWriter.java,
4398 java/io/SyncFailedException.java,
4399 java/io/UTFDataFormatException.java,
4400 java/io/UnsupportedEncodingException.java,
4401 java/io/WriteAbortedException.java,
4402 java/io/Writer.java,
4403 java/lang/AbstractMethodError.java,
4404 java/lang/ArithmeticException.java,
4405 java/lang/ArrayIndexOutOfBoundsException.java,
4406 java/lang/ArrayStoreException.java,
4407 java/lang/AssertionError.java,
4408 java/lang/Boolean.java,
4409 java/lang/Byte.java,
4410 java/lang/Class.java,
4411 java/lang/ClassCastException.java,
4412 java/lang/ClassCircularityError.java,
4413 java/lang/ClassLoader.java,
4414 java/lang/ClassNotFoundException.java,
4415 java/lang/CloneNotSupportedException.java,
4416 java/lang/Cloneable.java,
4417 java/lang/Comparable.java,
4418 java/lang/Compiler.java,
4419 java/lang/Double.java,
4420 java/lang/Error.java,
4421 java/lang/Exception.java,
4422 java/lang/ExceptionInInitializerError.java,
4423 java/lang/Float.java,
4424 java/lang/IllegalAccessError.java,
4425 java/lang/IllegalAccessException.java,
4426 java/lang/IllegalArgumentException.java,
4427 java/lang/IllegalMonitorStateException.java,
4428 java/lang/IllegalStateException.java,
4429 java/lang/IllegalThreadStateException.java,
4430 java/lang/IncompatibleClassChangeError.java,
4431 java/lang/IndexOutOfBoundsException.java,
4432 java/lang/InheritableThreadLocal.java,
4433 java/lang/InstantiationError.java,
4434 java/lang/InstantiationException.java,
4435 java/lang/Integer.java,
4436 java/lang/InternalError.java,
4437 java/lang/InterruptedException.java,
4438 java/lang/LinkageError.java,
4439 java/lang/Long.java,
4440 java/lang/NegativeArraySizeException.java,
4441 java/lang/NoClassDefFoundError.java,
4442 java/lang/NoSuchFieldError.java,
4443 java/lang/NoSuchFieldException.java,
4444 java/lang/NoSuchMethodError.java,
4445 java/lang/NoSuchMethodException.java,
4446 java/lang/NullPointerException.java,
4447 java/lang/Number.java,
4448 java/lang/NumberFormatException.java,
4449 java/lang/OutOfMemoryError.java,
4450 java/lang/Process.java,
4451 java/lang/Runnable.java,
4452 java/lang/Runtime.java,
4453 java/lang/RuntimeException.java,
4454 java/lang/RuntimePermission.java,
4455 java/lang/SecurityException.java,
4456 java/lang/SecurityManager.java,
4457 java/lang/Short.java,
4458 java/lang/StackOverflowError.java,
4459 java/lang/StackTraceElement.java,
4460 java/lang/StringBuffer.java,
4461 java/lang/StringIndexOutOfBoundsException.java,
4462 java/lang/ThreadDeath.java,
4463 java/lang/ThreadGroup.java,
4464 java/lang/Throwable.java,
4465 java/lang/UnsatisfiedLinkError.java,
4466 java/lang/UnsupportedOperationException.java,
4467 java/lang/VerifyError.java,
4468 java/lang/VirtualMachineError.java,
4469 java/lang/reflect/AccessibleObject.java,
4470 java/lang/reflect/Array.java,
4471 java/lang/reflect/InvocationTargetException.java,
4472 java/lang/reflect/Member.java,
4473 java/lang/reflect/Modifier.java,
4474 java/lang/reflect/Proxy.java,
4475 java/lang/reflect/ReflectPermission.java,
4476 java/lang/reflect/UndeclaredThrowableException.java,
4477 java/math/BigInteger.java,
4478 java/net/NetworkInterface.java,
4479 java/nio/ByteBufferHelper.java,
4480 java/nio/ByteBufferImpl.java,
4481 java/nio/DirectByteBufferImpl.java,
4482 java/nio/DoubleBufferImpl.java,
4483 java/nio/FloatBufferImpl.java,
4484 java/nio/IntBufferImpl.java,
4485 java/nio/LongBufferImpl.java,
4486 java/nio/ShortBufferImpl.java,
4487 java/nio/channels/Channel.java,
4488 java/nio/channels/IllegalBlockingModeException.java,
4489 java/nio/charset/spi/CharsetProvider.java,
4490 java/security/AccessControlException.java,
4491 java/security/BasicPermission.java,
4492 java/security/DigestException.java,
4493 java/security/DigestInputStream.java,
4494 java/security/DigestOutputStream.java,
4495 java/security/GeneralSecurityException.java,
4496 java/security/Guard.java,
4497 java/security/GuardedObject.java,
4498 java/security/InvalidAlgorithmParameterException.java,
4499 java/security/InvalidKeyException.java,
4500 java/security/InvalidParameterException.java,
4501 java/security/Key.java,
4502 java/security/KeyException.java,
4503 java/security/KeyManagementException.java,
4504 java/security/KeyStoreException.java,
4505 java/security/MessageDigestSpi.java,
4506 java/security/NoSuchAlgorithmException.java,
4507 java/security/NoSuchProviderException.java,
4508 java/security/Permission.java,
4509 java/security/PermissionCollection.java,
4510 java/security/Permissions.java,
4511 java/security/Principal.java,
4512 java/security/PrivateKey.java,
4513 java/security/PrivilegedActionException.java,
4514 java/security/ProviderException.java,
4515 java/security/PublicKey.java,
4516 java/security/SecureRandom.java,
4517 java/security/SecureRandomSpi.java,
4518 java/security/SignatureException.java,
4519 java/security/SignatureSpi.java,
4520 java/security/SignedObject.java,
4521 java/security/Signer.java,
4522 java/security/UnrecoverableKeyException.java,
4523 java/security/UnresolvedPermission.java,
4524 java/security/acl/AclNotFoundException.java,
4525 java/security/acl/LastOwnerException.java,
4526 java/security/acl/NotOwnerException.java,
4527 java/security/cert/CertPath.java,
4528 java/security/cert/CertPathBuilderException.java,
4529 java/security/cert/CertPathValidatorException.java,
4530 java/security/cert/CertStoreException.java,
4531 java/text/BreakIterator.java,
4532 java/text/ChoiceFormat.java,
4533 java/text/CollationElementIterator.java,
4534 java/text/CollationKey.java,
4535 java/text/Collator.java,
4536 java/text/DateFormat.java,
4537 java/text/DateFormatSymbols.java,
4538 java/text/DecimalFormat.java,
4539 java/text/DecimalFormatSymbols.java,
4540 java/text/FieldPosition.java,
4541 java/text/Format.java,
4542 java/text/NumberFormat.java,
4543 java/text/ParseException.java,
4544 java/text/ParsePosition.java,
4545 java/text/StringCharacterIterator.java,
4546 java/util/AbstractCollection.java,
4547 java/util/AbstractList.java,
4548 java/util/AbstractMap.java,
4549 java/util/AbstractSequentialList.java,
4550 java/util/AbstractSet.java,
4551 java/util/ArrayList.java,
4552 java/util/Arrays.java,
4553 java/util/BitSet.java,
4554 java/util/Collection.java,
4555 java/util/Collections.java,
4556 java/util/Comparator.java,
4557 java/util/ConcurrentModificationException.java,
4558 java/util/Currency.java,
4559 java/util/Date.java,
4560 java/util/EmptyStackException.java,
4561 java/util/Enumeration.java,
4562 java/util/EventListener.java,
4563 java/util/EventListenerProxy.java,
4564 java/util/EventObject.java,
4565 java/util/HashMap.java,
4566 java/util/HashSet.java,
4567 java/util/Hashtable.java,
4568 java/util/IdentityHashMap.java,
4569 java/util/Iterator.java,
4570 java/util/LinkedHashSet.java,
4571 java/util/LinkedList.java,
4572 java/util/List.java,
4573 java/util/ListIterator.java,
4574 java/util/ListResourceBundle.java,
4576 java/util/MissingResourceException.java,
4577 java/util/NoSuchElementException.java,
4578 java/util/Observable.java,
4579 java/util/Observer.java,
4580 java/util/Properties.java,
4581 java/util/PropertyPermissionCollection.java,
4582 java/util/RandomAccess.java,
4584 java/util/SortedMap.java,
4585 java/util/SortedSet.java,
4586 java/util/Stack.java,
4587 java/util/StringTokenizer.java,
4588 java/util/TooManyListenersException.java,
4589 java/util/TreeMap.java,
4590 java/util/TreeSet.java,
4591 java/util/Vector.java,
4592 java/util/logging/FileHandler.java,
4593 java/util/logging/Level.java,
4594 java/util/prefs/BackingStoreException.java,
4595 java/util/prefs/InvalidPreferencesFormatException.java,
4596 java/util/prefs/Preferences.java,
4597 javax/accessibility/Accessible.java,
4598 javax/accessibility/AccessibleAction.java,
4599 javax/accessibility/AccessibleBundle.java,
4600 javax/accessibility/AccessibleComponent.java,
4601 javax/accessibility/AccessibleContext.java,
4602 javax/accessibility/AccessibleEditableText.java,
4603 javax/accessibility/AccessibleExtendedComponent.java,
4604 javax/accessibility/AccessibleExtendedTable.java,
4605 javax/accessibility/AccessibleHyperlink.java,
4606 javax/accessibility/AccessibleHypertext.java,
4607 javax/accessibility/AccessibleIcon.java,
4608 javax/accessibility/AccessibleKeyBinding.java,
4609 javax/accessibility/AccessibleRelation.java,
4610 javax/accessibility/AccessibleRelationSet.java,
4611 javax/accessibility/AccessibleResourceBundle.java,
4612 javax/accessibility/AccessibleRole.java,
4613 javax/accessibility/AccessibleSelection.java,
4614 javax/accessibility/AccessibleState.java,
4615 javax/accessibility/AccessibleStateSet.java,
4616 javax/accessibility/AccessibleTable.java,
4617 javax/accessibility/AccessibleTableModelChange.java,
4618 javax/accessibility/AccessibleText.java,
4619 javax/accessibility/AccessibleValue.java,
4620 javax/imageio/IIOException.java,
4621 javax/imageio/ImageIO.java,
4622 javax/imageio/spi/IIOServiceProvider.java,
4623 javax/imageio/spi/ImageInputStreamSpi.java,
4624 javax/imageio/spi/ImageOutputStreamSpi.java,
4625 javax/imageio/spi/ImageReaderWriterSpi.java,
4626 javax/imageio/spi/ImageTranscoderSpi.java,
4627 javax/imageio/spi/RegisterableService.java,
4628 javax/imageio/spi/ServiceRegistry.java,
4629 javax/imageio/stream/IIOByteBuffer.java,
4630 javax/imageio/stream/ImageInputStream.java,
4631 javax/imageio/stream/ImageOutputStream.java,
4632 javax/naming/Binding.java,
4633 javax/naming/CannotProceedException.java,
4634 javax/naming/CompositeName.java,
4635 javax/naming/CompoundName.java,
4636 javax/naming/LinkException.java,
4637 javax/naming/LinkRef.java,
4638 javax/naming/NameClassPair.java,
4639 javax/naming/Reference.java,
4640 javax/naming/ReferralException.java,
4641 javax/naming/directory/Attribute.java,
4642 javax/naming/directory/AttributeModificationException.java,
4643 javax/naming/directory/Attributes.java,
4644 javax/naming/directory/DirContext.java,
4645 javax/naming/directory/ModificationItem.java,
4646 javax/naming/directory/SearchControls.java,
4647 javax/naming/directory/SearchResult.java,
4648 javax/naming/event/EventContext.java,
4649 javax/naming/event/EventDirContext.java,
4650 javax/naming/event/NamespaceChangeListener.java,
4651 javax/naming/event/NamingExceptionEvent.java,
4652 javax/naming/event/NamingListener.java,
4653 javax/naming/event/ObjectChangeListener.java,
4654 javax/naming/ldap/Control.java,
4655 javax/naming/ldap/ExtendedResponse.java,
4656 javax/naming/ldap/HasControls.java,
4657 javax/naming/ldap/LdapContext.java,
4658 javax/naming/ldap/UnsolicitedNotification.java,
4659 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4660 javax/naming/ldap/UnsolicitedNotificationListener.java,
4661 javax/naming/spi/DirectoryManager.java,
4662 javax/naming/spi/ResolveResult.java,
4663 javax/naming/spi/Resolver.java,
4664 javax/security/auth/callback/Callback.java,
4665 javax/security/auth/callback/CallbackHandler.java,
4666 javax/security/auth/callback/ChoiceCallback.java,
4667 javax/security/auth/callback/ConfirmationCallback.java,
4668 javax/security/auth/callback/LanguageCallback.java,
4669 javax/security/auth/callback/NameCallback.java,
4670 javax/security/auth/callback/PasswordCallback.java,
4671 javax/security/auth/callback/TextInputCallback.java,
4672 javax/security/auth/callback/TextOutputCallback.java,
4673 javax/security/auth/callback/UnsupportedCallbackException.java,
4674 javax/security/sasl/Sasl.java,
4675 javax/security/sasl/SaslServerFactory.java,
4676 javax/swing/DefaultBoundedRangeModel.java,
4677 javax/swing/JComponent.java,
4678 javax/swing/JList.java,
4679 javax/swing/JProgressBar.java,
4680 javax/swing/JRadioButton.java,
4681 javax/swing/JTextArea.java,
4682 javax/swing/JTextField.java,
4683 javax/swing/JToggleButton.java,
4684 javax/swing/JTree.java,
4685 javax/swing/SpinnerListModel.java,
4686 javax/swing/event/EventListenerList.java,
4687 javax/swing/text/JTextComponent.java,
4688 javax/swing/text/StringContent.java,
4689 javax/swing/text/Utilities.java,
4690 javax/swing/undo/UndoManager.java,
4691 javax/swing/undo/UndoableEditSupport.java,
4692 javax/transaction/HeuristicCommitException.java,
4693 javax/transaction/HeuristicMixedException.java,
4694 javax/transaction/HeuristicRollbackException.java,
4695 javax/transaction/InvalidTransactionException.java,
4696 javax/transaction/NotSupportedException.java,
4697 javax/transaction/RollbackException.java,
4698 javax/transaction/Status.java,
4699 javax/transaction/Synchronization.java,
4700 javax/transaction/SystemException.java,
4701 javax/transaction/Transaction.java,
4702 javax/transaction/TransactionManager.java,
4703 javax/transaction/TransactionRequiredException.java,
4704 javax/transaction/TransactionRolledbackException.java,
4705 javax/transaction/UserTransaction.java,
4706 javax/transaction/xa/XAException.java,
4707 javax/transaction/xa/XAResource.java,
4708 javax/transaction/xa/Xid.java,
4709 javax/xml/XMLConstants.java,
4710 javax/xml/datatype/DatatypeConfigurationException.java,
4711 javax/xml/datatype/DatatypeConstants.java,
4712 javax/xml/datatype/DatatypeFactory.java,
4713 javax/xml/datatype/Duration.java,
4714 javax/xml/datatype/XMLGregorianCalendar.java,
4715 javax/xml/namespace/NamespaceContext.java,
4716 javax/xml/namespace/QName.java,
4717 javax/xml/parsers/DocumentBuilder.java,
4718 javax/xml/parsers/DocumentBuilderFactory.java,
4719 javax/xml/parsers/FactoryConfigurationError.java,
4720 javax/xml/parsers/ParserConfigurationException.java,
4721 javax/xml/parsers/SAXParser.java,
4722 javax/xml/parsers/SAXParserFactory.java,
4723 javax/xml/transform/ErrorListener.java,
4724 javax/xml/transform/OutputKeys.java,
4725 javax/xml/transform/Result.java,
4726 javax/xml/transform/Source.java,
4727 javax/xml/transform/SourceLocator.java,
4728 javax/xml/transform/Templates.java,
4729 javax/xml/transform/Transformer.java,
4730 javax/xml/transform/TransformerConfigurationException.java,
4731 javax/xml/transform/TransformerException.java,
4732 javax/xml/transform/TransformerFactory.java,
4733 javax/xml/transform/TransformerFactoryConfigurationError.java,
4734 javax/xml/transform/URIResolver.java,
4735 javax/xml/transform/dom/DOMLocator.java,
4736 javax/xml/transform/dom/DOMResult.java,
4737 javax/xml/transform/dom/DOMSource.java,
4738 javax/xml/transform/sax/SAXResult.java,
4739 javax/xml/transform/sax/SAXSource.java,
4740 javax/xml/transform/sax/SAXTransformerFactory.java,
4741 javax/xml/transform/sax/TemplatesHandler.java,
4742 javax/xml/transform/sax/TransformerHandler.java,
4743 javax/xml/transform/stream/StreamResult.java,
4744 javax/xml/transform/stream/StreamSource.java,
4745 javax/xml/validation/Schema.java,
4746 javax/xml/validation/SchemaFactory.java,
4747 javax/xml/validation/TypeInfoProvider.java,
4748 javax/xml/validation/Validator.java,
4749 javax/xml/validation/ValidatorHandler.java,
4750 javax/xml/xpath/XPathConstants.java,
4751 javax/xml/xpath/XPathException.java,
4752 javax/xml/xpath/XPathExpression.java,
4753 javax/xml/xpath/XPathExpressionException.java,
4754 javax/xml/xpath/XPathFactory.java,
4755 javax/xml/xpath/XPathFactoryConfigurationException.java,
4756 javax/xml/xpath/XPathFunction.java,
4757 javax/xml/xpath/XPathFunctionException.java,
4758 javax/xml/xpath/XPathFunctionResolver.java:
4759 Fixed usage of @author tag, reworked import statements,
4760 removed CVS tags, changed the modifier order and fixed
4761 HTML usage in javadocs.
4763 2005-02-16 Julian Scheid <julian@sektor37.de>
4765 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4767 (encodeLoop): Likewise.
4769 2005-02-16 Mark Wielaard <mark@klomp.org>
4771 * Makefile.am (ordinary_java_source_files): Add new files
4772 gnu/java/security/ber/BER.java,
4773 gnu/java/security/ber/BEREncodingException.java,
4774 gnu/java/security/ber/BERReader.java,
4775 gnu/java/security/ber/BERValue.java,
4776 gnu/java/security/pkcs/PKCS7SignedData.java and
4777 gnu/java/security/pkcs/SignerInfo.java.
4778 * Makefile.in: Regenerated.
4780 2005-02-16 Casey Marshall <csm@gnu.org>
4782 * gnu/java/security/provider/GnuDSAPrivateKey.java
4783 (encodedKey): new field.
4784 (getFormat): return "PKCS#8".
4785 (getEncoded): implemented.
4786 (toString): check for 'null' values.
4787 * gnu/java/security/provider/GnuDSAPublicKey.java
4788 (encodedKey): new field.
4789 (getFormat): return "X.509".
4790 (getEncoded): implemented.
4791 (toString): check for 'null' values.
4793 2005-02-16 Michael Koch <konqueror@gmx.de>
4795 * java/util/jar/JarFile.java: Imports reworked.
4797 2005-02-16 Mark Wielaard <mark@klomp.org>
4799 * java/util/jar/JarFile.java (verify): Make package private.
4800 (signaturesRead): Likewise.
4801 (verified): Likewise.
4802 (entryCerts): Likewise.
4805 (entries): Construct new JarEnumeration with reference to this.
4806 (JarEnumeration): Make static.
4807 (JarEnumeration.jarfile): New field.
4808 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4809 Compare verified value to Boolean.TRUE or Boolean.False only
4810 when verify is true.
4811 (getEntry): Make synchronized. Compare value of verified to
4813 (getInputStream): Construct EntryInputStream with reference to this.
4814 (getManifest): Make synchronized.
4815 (EntryInputStream): Make static.
4816 (EntryInputStream.jarfile): New field.
4817 (EntryInputStream.EntryInputStream): Check if manifest exists,
4818 before getting attributes.
4819 (eof): Synchronize on jarfile.
4821 2005-02-16 Casey Marshall <csm@gnu.org>
4823 * java/util/jar/JarFile.java (verify): return if the jar is signed
4824 with an unsupported algorithm.
4826 2005-02-16 Mark Wielaard <mark@klomp.org>
4828 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4829 InputStream as argument.
4830 (getInputStream): Construct a new EntryInputStream with the result of
4831 super.getInputStream(entry).
4833 2005-02-16 Casey Marshall <csm@gnu.org>
4835 Signed JAR file support.
4836 * java/net/URLClassLoader.java
4837 (JarURLResource.getCertificates): re-read jar entry to ensure
4838 certificates are picked up.
4839 (findClass): fill in class `signers' field, too.
4840 * java/util/jar/JarFile.java (META_INF): new constant.
4841 (PKCS7_DSA_SUFFIX): new constant.
4842 (PKCS7_RSA_SUFFIX): new constant.
4843 (DIGEST_KEY_SUFFIX): new constant.
4844 (SF_SUFFIX): new constant.
4845 (MD2_OID): new constant.
4846 (MD4_OID): new constant.
4847 (MD5_OID): new constant.
4848 (SHA1_OID): new constant.
4849 (DSA_ENCRYPTION_OID): new constant.
4850 (RSA_ENCRYPTION_OID): new constant.
4851 (signaturesRead): new field.
4852 (verified): new field.
4853 (entryCerts): new field.
4854 (DEBUG): new constant.
4855 (debug): new method.
4856 (JarEnumeration.nextElement): fill in entry certificates, read
4857 signatures if they haven't been read.
4858 (getEntry): likewise.
4859 (getInputStream): verify stream if it hasn't been verified yet.
4860 (readSignatures): new method.
4861 (verify): new method.
4862 (verifyHashes): new method.
4863 (readManifestEntry): new method.
4864 (EntryInputStream): new class.
4865 * gnu/java/io/Base64InputStream.java (decode): new class
4867 * gnu/java/security/der/DERReader.java don't make class
4869 (in): made protected.
4871 (readLength): likewise.
4872 * gnu/java/security/ber/BER.java,
4873 * gnu/java/security/ber/BEREncodingException.java,
4874 * gnu/java/security/ber/BERReader.java,
4875 * gnu/java/security/ber/BERValue.java,
4876 * gnu/java/security/pkcs/PKCS7SignedData.java,
4877 * gnu/java/security/pkcs/SignerInfo.java:
4880 2005-02-16 Tom Tromey <tromey@redhat.com>
4882 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4883 copied file on exit.
4885 2005-02-15 Mark Wielaard <mark@klomp.org>
4887 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4889 2005-02-15 Michael Koch <konqueror@gmx.de>
4891 * gnu/java/awt/peer/gtk/GtkArg.java,
4892 gnu/java/awt/peer/gtk/GtkArgList.java:
4895 2005-02-15 Craig Black <craig.black@aonix.com>
4897 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4898 (postMenuActionEvent): Implement to notify ItemListeners.
4899 * java/awt/CheckboxMenuItem.java
4900 (dispatchEventImpl): Update state on ItemEvent.
4901 * java/awt/MenuItem.java
4902 (processActionEvent): Retarget event source.
4904 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4906 * gnu/java/awt/color/ClutProfileConverter.java,
4907 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4908 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4909 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4910 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4911 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4912 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4913 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4914 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4915 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4916 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4917 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4918 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4919 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4920 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4921 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4922 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4923 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4924 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4925 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4926 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4927 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4928 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4929 gnu/java/awt/peer/gtk/GtkToolkit.java,
4930 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4931 javax/swing/JPopupMenu.java,
4932 javax/swing/JSpinner.java,
4933 javax/swing/SortingFocusTraversalPolicy.java,
4934 javax/swing/SwingUtilities.java,
4935 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4936 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4937 javax/swing/tree/DefaultMutableTreeNode.java:
4938 Removed unused imports and expanded starred
4941 2005-02-15 Mark Wielaard <mark@klomp.org>
4943 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4944 IllegalArgumentException when the given String is null.
4946 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4947 when given keystoke sequence cannot be parsed.
4949 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4950 if one is installed. Only install the given menubar is not null.
4952 * javax/swing/JViewport.java (getViewSize): Return an empty
4953 Dimension when the view isn't set or preferred component size when
4956 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4957 empty Dimension when there is no view set.
4958 (minimumLayoutSize): Likewise.
4959 (layoutContainer): Don't try to layout when there is no view.
4961 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4964 * include/jawt.h: Likewise.
4965 * include/jawt_md.h: Likewise.
4966 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4968 * jni/classpath/classpath_jawt.h: Likewise.
4969 * jni/gtk-peer/gtk_jawt.c: Likewise.
4970 * Makefile.am: Build libjawt.so.
4972 2005-02-15 Michael Koch <konqueror@gmx.de>
4974 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4975 Merged file header with classpath CVS head.
4976 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4977 Merged code formatting with classpath CVS head.
4978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4980 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4981 Handle special JNI strings with 2 '\0' at the end.
4982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4983 Merged file header with classpath CVS head.
4984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4985 Merged code formatting with classpath CVS head.
4987 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4989 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4990 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4991 (handle_response): Use GTK_RESPONSE_ACCEPT.
4993 2005-02-15 Graydon Hoare <graydon@redhat.com>
4995 * Makefile.am: Fix library build breakage.
4996 * Makefile.in: Regenerate.
4998 2005-02-15 Michael Koch <konqueror@gmx.de>
5000 * javax/swing/JTabbedPane.java
5001 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5003 2005-02-15 Michael Koch <konqueror@gmx.de>
5005 * javax/swing/tree/DefaultMutableTreeNode.java:
5006 Reworked Javadocs all over.
5007 (getPathToRoot): Fixed direction of result array initialization.
5009 2005-02-15 Michael Koch <konqueror@gmx.de>
5011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5012 Fix includes for cairo 0.3.0 snappshot.
5013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5014 Merged file header from classpath CVS HEAD.
5016 2005-02-15 Craig Black <craig.black@aonix.com>
5018 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5019 (copyState): Pass a JNI global reference to signal handler.
5020 (realize_cb): Use and free JNI global reference.
5021 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5022 (create): Pass a JNI global reference to signal handler.
5023 (selection_changed): Match declaration.
5024 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5025 (dispose): Do not remove entries from state tables until after widget is
5028 2005-02-15 Michael Koch <konqueror@gmx.de>
5030 * java/awt/Container.javai (paramString):
5031 If layoutMgr is null just return result of super.paramString().
5032 * java/awt/Scrollbar.java: Reformatted.
5033 * java/awt/im/InputContext.java (static):
5034 Removed redundant initializations.
5036 2005-02-15 Michael Koch <konqueror@gmx.de>
5038 * javax/swing/ImageIcon.java,
5039 javax/swing/UIManager.java,
5040 javax/swing/text/EditorKit.java,
5041 javax/swing/text/Segment.java:
5042 More whitespace cleanups.
5044 2005-02-15 Michael Koch <konqueror@gmx.de>
5046 * gnu/java/awt/EmbeddedWindow.java,
5047 gnu/java/awt/image/ImageDecoder.java,
5048 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5049 java/awt/DefaultKeyboardFocusManager.java,
5050 java/awt/Frame.java,
5051 java/awt/image/RGBImageFilter.java,
5052 javax/swing/AbstractButton.java,
5053 javax/swing/ActionMap.java,
5054 javax/swing/ComponentInputMap.java,
5055 javax/swing/DefaultDesktopManager.java,
5056 javax/swing/ImageIcon.java,
5057 javax/swing/InputMap.java,
5058 javax/swing/JButton.java,
5059 javax/swing/JCheckBox.java,
5060 javax/swing/JCheckBoxMenuItem.java,
5061 javax/swing/JEditorPane.java,
5062 javax/swing/JMenu.java,
5063 javax/swing/JMenuItem.java,
5064 javax/swing/JOptionPane.java,
5065 javax/swing/JRootPane.java,
5066 javax/swing/JTable.java,
5067 javax/swing/MenuSelectionManager.java,
5068 javax/swing/RepaintManager.java,
5069 javax/swing/ScrollPaneLayout.java,
5070 javax/swing/SortingFocusTraversalPolicy.java,
5071 javax/swing/UIManager.java,
5072 javax/swing/ViewportLayout.java,
5073 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5074 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5075 javax/swing/plaf/basic/BasicLabelUI.java,
5076 javax/swing/plaf/basic/BasicListUI.java,
5077 javax/swing/plaf/basic/BasicMenuItemUI.java,
5078 javax/swing/plaf/basic/BasicMenuUI.java,
5079 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5080 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5081 javax/swing/plaf/basic/BasicRootPaneUI.java,
5082 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5083 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5084 javax/swing/plaf/basic/BasicTextUI.java,
5085 javax/swing/table/TableColumnModel.java,
5086 javax/swing/text/AbstractDocument.java,
5087 javax/swing/text/EditorKit.java,
5088 javax/swing/text/Position.java,
5089 javax/swing/text/Segment.java,
5090 javax/swing/text/StyledEditorKit.java,
5091 javax/swing/text/ViewFactory.java:
5092 Cleanup whitespace differences to classpath CVS HEAD.
5094 2005-02-15 Graydon Hoare <graydon@redhat.com>
5096 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5097 (finalize): Call finish from here.
5098 (produce): Not from here.
5099 * Makefile.am (gtk_c_source_files):
5100 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5101 * Makefile.in: Regenerate.
5102 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5104 (cairoDrawGdkTextLayout):
5106 (getPeerTextMetrics):
5107 (getPeerFontMetrics): Remove.
5108 (setFont): Don't call cairoSetFont.
5109 (cairoDrawGlyphVector): Accept font peer argument.
5110 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5111 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5112 (ensure_metrics_cairo):
5113 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5114 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5115 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5116 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5118 (metrics_surface): Remove.
5119 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5120 Pass and install font peer.
5122 2005-02-15 Graydon Hoare <graydon@redhat.com>
5124 * Makefile.am: Create "split library" structure.
5125 * Makefile.in: Regenerate.
5127 2005-02-15 Graydon Hoare <graydon@redhat.com>
5129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5131 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5132 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5133 Release GDK lock during upcalls.
5135 2005-02-15 Graydon Hoare <graydon@redhat.com>
5137 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5138 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5139 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5140 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5141 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5142 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5143 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5146 (getTextMetrics): New native methods.
5147 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5148 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5149 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5150 * Makefile.in: Regenerate.
5152 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5154 * javax/swing/SwingUtilities.java:
5155 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5156 Implemented and documented.
5157 (getAccessibleChild(java.awt.Component, int)): Likewise.
5158 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5159 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5160 (getAccessibleStateSet(java.awt.Component)): Likewise.
5162 2005-02-15 Michael Koch <konqueror@gmx.de>
5164 * javax/swing/SwingUtilities.java
5165 (getFontMetrics): Removed.
5167 2005-02-15 Michael Koch <konqueror@gmx.de>
5169 * java/awt/Container.java
5170 (paramString): Implemented.
5171 * javax/swing/AbstractButton.java
5172 (paramString): Implemented.
5173 * javax/swing/JComponent.java
5174 (paramString): Implemented.
5175 * javax/swing/JMenu.java
5176 (paramString): Implemented.
5177 * javax/swing/JMenuBar.java
5178 (paramString): Implemented.
5179 * javax/swing/JMenuItem.java
5180 (paramString): Implemented.
5181 * javax/swing/JPopupMenu.java
5182 (paramString): Implemented.
5184 2005-02-15 Michael Koch <konqueror@gmx.de>
5186 * javax/swing/JMenu.java
5187 (uiClassID): Removed.
5188 (JMenu): Set invoker on popup menu.
5189 (getUIClassID): Return id directly.
5190 (getItemCount): Simply return getMenuComponentCount().
5192 (isTopLevelMenu): Simplified.
5193 * javax/swing/JMenuItem.java
5194 (uiClassID): Removed.
5195 (getUIClassID): Return id directly.
5196 * javax/swing/JPopupMenu.java
5197 (uiClassID): Removed.
5198 (JPopupMenu): Always initialize correctly.
5199 (getSubElements): Only return components implementing MenuElement
5201 (HeavyWeightPopup.hide): Removed.
5203 2005-02-15 Michael Koch <konqueror@gmx.de>
5205 * java/awt/image/ReplicateScaleFilter.java
5206 (replicatePixels): Made private.
5207 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5208 (DefaultRGBChooserPanel): Made package private.
5209 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5210 (RecentSwatchPanel): Likewise.
5211 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5212 (MouseInputAdapter): Made abstract.
5213 * javax/swing/tree/DefaultMutableTreeNode.java
5215 (growTree): Likewise.
5217 2005-02-15 Michael Koch <konqueror@gmx.de>
5219 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5222 2005-02-15 Michael Koch <konqueror@gmx.de>
5224 * javax/swing/JComponent.java (getComponentGraphics):
5225 Removed accidently commited code.
5227 2005-02-15 Graydon Hoare <graydon@redhat.com>
5229 * java/awt/dnd/DropTarget.java
5230 (addDropTargetListener): Despite documentation, do not throw.
5231 * javax/swing/JComponent.java: Set a default DropTarget.
5233 2005-02-15 Michael Koch <konqueror@gmx.de>
5235 * javax/swing/AbstractAction.java
5236 (ENABLED_PROPERTY): Removed.
5237 (setEnabled): Replaced constant with real string.
5238 * javax/swing/AbstractButton.java
5239 (createActionPropertyChangeListener.propertyChange): Likewise.
5240 * javax/swing/JComboBox.java
5241 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5242 (EDITABLE_CHANGED_PROPERTY): Removed.
5243 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5244 (ENABLED_CHANGED_PROPERTY):Likewise.
5245 (RENDERER_CHANGED_PROPERTY):Likewise.
5246 (EDITOR_CHANGED_PROPERTY):Likewise.
5247 (MODEL_CHANGED_PROPERTY):Likewise.
5248 (uiClassID):Likewise.
5249 (getUIClassID): Replaced constant with real string.
5250 (setModel):Likewise.
5251 (setEditable):Likewise.
5252 (setMaximumRowCount):Likewise.
5253 (setRenderer):Likewise.
5254 (setEditor):Likewise.
5255 (setEnabled):Likewise.
5256 * javax/swing/JLabel.java
5257 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5258 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5259 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5260 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5261 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5262 (ICON_CHANGED_PROPERTY): Likewise.
5263 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5264 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5265 (TEXT_CHANGED_PROPERTY): Likewise.
5266 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5267 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5268 (setText): Replaced constant with real string.
5269 (setIcon): Likewise.
5270 (setDisabledIcon): Likewise.
5271 (setDisplayedMnemonic): Likewise.
5272 (setIconTextGap): Likewise.
5273 (setVerticalAlignment): Likewise.
5274 (setHorizontalAlignment): Likewise.
5275 (setVerticalTextPosition): Likewise.
5276 (setHorizontalTextPosition): Likewise.
5277 (setLabelFor): Replaced constant with real string.
5278 Fire property change event after property got changed.
5279 * javax/swing/JList.java
5280 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5281 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5282 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5283 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5284 (MODEL_PROPERTY_CHANGED): Likewise.
5285 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5286 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5287 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5288 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5289 (setFixedCellWidth): Reimplemented.
5290 (setFixedCellHeight): Exit if new value is identical.
5291 Replaced constant with real string.
5292 (setSelectionBackground): Likewise.
5293 (setSelectionForeground): Likewise.
5294 (setPrototypeCellValue): Likewise.
5295 (setCellRenderer): Replaced constant with real string.
5296 (setModel): Likewise.
5297 (setSelectionModel): Likewise.
5298 * javax/swing/JMenuBar.java
5299 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5300 (MODEL_CHANGED_PROPERTY): Likewise.
5301 (MARGIN_CHANGED_PROPERTY): Likewise.
5302 (setBorderPainted): Reimplemented.
5303 (setMargin): Likewise.
5304 (setSelectionModel): Replaced constant with real string.
5305 * javax/swing/JPopupMenu.java
5306 (LABEL_CHANGED_PROPERTY): Removed.
5307 (VISIBLE_CHANGED_PROPERTY): Likewise.
5308 (borderPainted): Likewise.
5309 (setLabel): Replaced constant with real string.
5310 (setVisible): Exit if new value is identical.
5311 Replaced constant with real string.
5312 * javax/swing/JProgressBar.java
5313 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5314 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5315 (STRING_CHANGED_PROPERTY): Likewise.
5316 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5317 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5318 (setOrientation): Replaced constant with real string.
5319 (setStringPainted): Likewise.
5320 (setString): Likewise.
5321 (setBorderPainted): Likewise.
5322 (setIndeterminate): Likewise.
5323 * javax/swing/JScrollBar.java
5324 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5325 (MODEL_CHANGED_PROPERTY): Likewise.
5326 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5327 (setOrientation): Replaced constant with real string.
5328 (setModel): Likewise.
5329 (setUnitIncrement): Likewise.
5330 (setBlockIncrement): Likewise.
5331 * javax/swing/JScrollPane.java
5332 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5333 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5334 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5335 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5336 (LAYOUT_CHANGED_PROPERTY): Likewise.
5337 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5338 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5339 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5340 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5341 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5342 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5343 (setComponentOrientation): Replaced constant with real string.
5344 (setColumnHeader): Likewise.
5345 (setHorizontalScrollBar): Likewise.
5346 (setHorizontalScrollBarPolicy): Likewise.
5347 (setRowHeader): Likewise.
5348 (setVerticalScrollBar): Likewise.
5349 (setVerticalScrollBarPolicy): Likewise.
5350 (setWheelScrollingEnabled): Likewise.
5351 (setViewport): Likewise.
5352 (setViewportBorder): Likewise.
5353 * javax/swing/JSlider.java
5354 (INVERTED_CHANGED_PROPERTY): Removed.
5355 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5356 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5357 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5358 (MODEL_CHANGED_PROPERTY): Likewise.
5359 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5360 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5361 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5362 (setModel): Replaced constant with real string.
5363 (setOrientation): Likewise.
5364 (setLabelTable): Likewise.
5365 (setInverted): Likewise.
5366 (setMajorTickSpacing): Likewise.
5367 (setMinorTickSpacing): Likewise.
5368 (setPaintTicks): Likewise.
5369 (setPaintLabels): Likewise.
5370 * javax/swing/JTabbedPane.java
5371 (MODEL_CHANGED_PROPERTY): Removed.
5372 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5373 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5374 (setModel): Replaced constant with real string.
5375 (setTabPlacement): Likewise.
5376 (setTabLayoutPolicy): Likewise.
5377 * javax/swing/JToolBar.java
5378 (ORIENTATION_CHANGED_PROPERTY): Removed.
5379 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5380 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5381 (MARGIN_CHANGED_PROPERTY): Likewise.
5382 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5383 (setRollover): Replaced constant with real string.
5384 (setMargin): Likewise.
5385 (setBorderPainted): Likewise.
5386 (setFloatable): Likewise.
5387 (setOrientation): Likewise.
5388 * javax/swing/plaf/basic/BasicComboBoxUI.java
5389 (PropertyChangeHandler.propertyChange): Likewise.
5390 * javax/swing/plaf/basic/BasicComboPopup.java
5391 (PropertyChangeHandler.propertyChange): Likewise.
5392 * javax/swing/plaf/basic/BasicMenuBarUI.java
5393 (PropertyChangeHandler.propertyChange): Likewise.
5394 * javax/swing/plaf/basic/BasicProgressBarUI.java
5395 (PropertyChangeHandler.propertyChange): Likewise.
5396 * javax/swing/plaf/basic/BasicScrollBarUI.java
5397 (PropertyChangeHandler.propertyChange): Likewise.
5398 * javax/swing/plaf/basic/BasicSliderUI.java
5399 (PropertyChangeHandler.propertyChange): Likewise.
5400 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5401 (PropertyChangeHandler.propertyChange): Likewise.
5402 * javax/swing/plaf/basic/BasicToolBarUI.java
5403 (PropertyChangeHandler.propertyChange): Likewise.
5405 2005-02-15 Michael Koch <konqueror@gmx.de>
5407 * javax/swing/DefaultButtonModel.java
5408 (changeState): Made private.
5409 * javax/swing/DefaultDesktopManager.java
5410 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5411 * javax/swing/JLayeredPane.java
5412 (layerToRange): Made private.
5413 (incrLayer): Likewise.
5414 (decrLayer): Likewise.
5415 * javax/swing/JTable.java
5416 (dragEnabled): Likewise.
5417 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5418 * javax/swing/KeyStroke.java
5419 (Keystroke): Made private.
5420 * javax/swing/TransferHandler.java
5421 (COMMAND_COPY): Likewise.
5422 (COMMAND_CUT): Likewise.
5423 (COMMAND_PASTE): Likewise.
5425 2005-02-15 Michael Koch <konqueror@gmx.de>
5427 * javax/swing/JTextField.java
5428 (postActionEvent): Use text in field when actionCommand is null.
5429 (getActionCommand): Removed.
5431 2005-02-15 Michael Koch <konqueror@gmx.de>
5433 * javax/swing/AbstractSet.java: Removed.
5434 * Makefile.am: Removed javax/swing/AbstractSet.java.
5435 * Makefile.in: Regenerated.
5437 2005-02-15 Michael Koch <konqueror@gmx.de>
5439 * java/awt/Window.java
5440 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5441 * java/awt/dnd/DnDConstants.java
5442 (DnDConstants): New private constructor.
5444 2005-02-15 Michael Koch <konqueror@gmx.de>
5446 * javax/swing/DefaultCellRenderer.java: Removed.
5447 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5448 * Makefile.in: Regenerated.
5450 2005-02-15 Michael Koch <konqueror@gmx.de>
5452 * javax/swing/AbstractButton.java
5453 (fireItemStateChanged): Made protected.
5454 (fireActionPerformed): Likewise.
5455 (fireStateChanged): Likewise.
5456 * javax/swing/DefaultButtonModel.java
5457 (fireItemStateChanged): Likewise.
5458 (fireActionPerformed): Likewise.
5459 (fireStateChanged): Likewise.
5460 * javax/swing/JApplet.java
5462 (frameInit): Likewise.
5463 (setRootPane): Made protected.
5464 (createRootPane): Likewise.
5465 * javax/swing/JComponent.java
5466 (getClientProperty): Likewise.
5467 (putClientProperty): Likewise.
5468 * javax/swing/JEditorPane.java
5469 (getContentType): Likewise.
5470 (setContentType): Likewise.
5471 * javax/swing/JFrame.java
5472 (setRootPane): Likewise.
5473 (createRootPane): Likewise.
5474 * javax/swing/JInternalFrame.java
5475 (getFocusCycleRootAncestor): Made final. Added @since tag.
5476 (isFocusCycleRoot): Likewise.
5477 (getWarningString): Made final.
5478 * javax/swing/JScrollBar.java
5479 (changeListener): Removed.
5480 (changeEvent): Likewise.
5481 (createChangeListener): Likewise.
5482 (fireStateChanged): Likewise.
5483 (addChangeListener): Likewise.
5484 (removeChangeListener): Likewise.
5485 (getChangeListeners): Likewise.
5486 * javax/swing/JScrollPane.java
5487 (createViewport): Made protected.
5488 * javax/swing/JViewport.java
5489 (addImpl): Likewise.
5490 (setBorder): New method.
5491 * javax/swing/JWindow.java
5492 (setRootPane): Made protected.
5493 (createRootPane): Likewise.
5494 * javax/swing/plaf/basic/BasicButtonUI.java
5495 (installListeners): Likewise.
5496 (uninstallListeners): Likewise.
5497 * javax/swing/plaf/basic/BasicProgressBarUI.java
5498 (incrementAnimationIndex): Likewise.
5499 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5500 (createLayoutManager): Likewise.
5501 * javax/swing/table/DefaultTableCellRenderer.java
5502 (firePropertyChange): Likewise.
5503 * javax/swing/table/JTableHeader.java
5504 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5506 * javax/swing/text/PlainDocument.java
5507 (reindex): Made private.
5508 * javax/swing/text/PlainView.java
5509 (drawLine): Made protected.
5510 (getTabSize): Likewise.
5511 * javax/swing/text/View.java
5513 (preferenceChanged): New method.
5514 (getBreakWeight): Likewise.
5515 (breakView): Likewise.
5516 (getViewIndex): Likewise.
5518 2005-02-15 Michael Koch <konqueror@gmx.de>
5520 * javax/swing/JScrollPane.java
5521 (ScrollBar): Made class protected.
5522 * javax/swing/JSpinner.java
5523 (JSpinner): Added @since tag.
5524 (listenerList): Removed.
5525 * javax/swing/JTable.java
5526 (setValueAt): New method.
5527 (getColumn): Likewise.
5528 * javax/swing/JWindow.java
5529 (rootPaneCheckingEnabled): Renamed from checking.
5531 2005-02-15 Michael Koch <konqueror@gmx.de>
5533 * javax/swing/plaf/basic/BasicTextUI.java
5534 (RootView.modelToView): Made it public and return a java.awt.Shape.
5535 Handle null subview.
5536 (uninstall): Set textComponent to null when its not possible used
5538 * javax/swing/text/View.java
5539 (setParent): Use better argument name.
5540 (getContainer): Get parent via getParent().
5541 (getViewFactory): Likewise.
5542 (getAttributes): Get element via getElement().
5543 (getStartOffset): Likewise.
5544 (getEndOffset): Likewise.
5545 (getResizeWeight): New method.
5546 (getMaximumSpan): Likewise.
5547 (getMinimumSpan): Likewise.
5548 (setSize): Likewise.
5549 (getGraphics): Likewise.
5551 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5553 * java/awt/Checkbox.java:
5554 (AccessibleAWTCheckbox()): Added public constructor
5556 * java/awt/Choice.java:
5557 (AccessibleAWTChoice): Added class documentation.
5558 (AccessibleAWTChoice()): Added public constructor
5560 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5561 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5562 and changed role to COMBO_BOX.
5563 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5564 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5565 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5567 2005-02-15 Graydon Hoare <graydon@redhat.com>
5568 Michael Koch <konqueror@gmx.de>
5570 * javax/swing/LayoutFocusTraversalPolicy.java,
5571 javax/swing/SortingFocusTraversalPolicy.java:
5573 * Makefile.am: Added new classes.
5574 * Makefike.in: Regenerated.
5577 2005-02-15 Michael Koch <konqueror@gmx.de>
5579 * javax/swing/DebugGraphics.java: Mostly implemented.
5581 2005-02-15 Michael Koch <konqueror@gmx.de>
5583 * javax/swing/SwingUtilities.java
5584 (findFocusOwner): New method.
5586 2005-02-15 Michael Koch <konqueror@gmx.de>
5588 * javax/swing/text/DefaultEditorKit.java
5589 (read): Added '\n' after each line.
5590 * javax/swing/text/PlainView.java
5591 (modelToView): Update metrics.
5592 (drawLine): Use offsets from element.
5593 (paint): Update metrics. Draw all lines.
5595 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5597 * java/awt/Checkbox.java:
5598 (AccessibleAWTCheckbox): Added class documentation
5599 * java/awt/Scrollbar.java:
5600 (AccessibleAWTScrollBar): typo corrected and docs added
5601 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5602 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5603 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5604 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5605 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5606 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5607 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5608 (getAccessibleContext()): name of accessible class corrected
5610 2005-02-15 Mark Wielaard <mark@klomp.org>
5612 * java/awt/BasicStroke.java (hashCode): Implement.
5615 2005-02-15 Michael Koch <konqueror@gmx.de>
5617 * java/awt/print/PrinterJob.java
5618 (pageDialog): Throws java.awt.HeadlessException.
5619 (printDialog): Likewise.
5621 2005-02-15 Mark Wielaard <mark@klomp.org>
5623 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5625 2005-02-15 Michael Koch <konqueror@gmx.de>
5627 * javax/swing/JTable.java
5628 (getValueAt): New method.
5629 * javax/swing/table/JTableHeader.java
5630 (columnAtPoint): New method.
5632 2005-02-15 Michael Koch <konqueror@gmx.de>
5634 * javax/swing/JTextField.java
5635 (actions): New field.
5636 (static): Initalize actions field.
5637 (getActions): New method.
5639 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5641 * java/awt/Checkbox.java:
5642 (AccessibleAWTCheckbox): name capitalization corrected
5643 and serialization UID added.
5644 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5646 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5647 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5648 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5649 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5650 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5651 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5652 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5653 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5654 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5655 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5656 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5658 (getAccessibleContext()): name of accessible class corrected
5660 2005-02-15 Sven de Marothy <sven@physto.se>
5662 * java/awt/geom/doc-files/Area-1.png,
5663 java/awt/geom/doc-files/Ellipse-1.png,
5664 java/awt/geom/doc-files/GeneralPath-1.png:
5667 2005-02-15 Graydon Hoare <graydon@redhat.com>
5669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5670 Use union to avoid type-punning warning.
5672 2005-02-15 Michael Koch <konqueror@gmx.de>
5674 * javax/swing/DefaultListSelectionModel.java
5675 (clone): New method.
5677 2005-02-15 Mark Wielaard <mark@klomp.org>
5679 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5680 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5681 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5682 Correct method signature of gtkSetFilename.
5684 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5686 * javax/swing/text/StringContent.java: New file.
5688 2005-02-15 Michael Koch <konqueror@gmx.de>
5690 * Makefile.am: Added javax/swing/text/StringContent.java.
5691 * Makefile.in: Regenerated.
5693 2005-02-15 Michael Koch <konqueror@gmx.de>
5695 * gnu/java/awt/ClasspathToolkit.java:
5696 Import statements reworked.
5697 (imageCache): Made it of type java.util.HashMap.
5699 2005-02-15 Michael Koch <konqueror@gmx.de>
5701 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5702 Reworked import statements.
5704 2005-02-15 Graydon Hoare <graydon@redhat.com>
5706 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5710 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5711 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5713 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5716 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5718 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5721 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5722 Rewrite uses of extern variable to be function calls.
5723 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5724 function, from extern variable.
5725 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5726 (gdk_env): Remove variable, add new function.
5727 (java_vm): Add new variable.
5728 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5729 java_vm rather than old gdk_env variable.
5731 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5733 * javax/swing/DefaultListModel.java
5734 (add): fire correct event,
5735 (addElement): corrected interval indices in event,
5736 (clear): corrected upper bound for interval, only fire event if
5738 (setSize): fire appropriate event.
5740 2005-02-15 Graydon Hoare <graydon@redhat.com>
5742 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5743 * gnu/awt/xlib/XToolkit.java: Likewise.
5744 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5745 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5746 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5747 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5748 * java/awt/EventQueue.java (getNextEvent):
5749 Adjust event loop to switch to native mode after 100ms.
5750 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5751 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5752 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5753 Wake up event thread.
5754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5755 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5756 Adjust event loop to switch to java mode after 100ms.
5758 2005-02-15 Graydon Hoare <graydon@redhat.com>
5760 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5761 accidentally removed in last change.
5763 2005-02-15 Michael Koch <konqueror@gmx.de>
5765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5766 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5768 2005-02-15 Graydon Hoare <graydon@redhat.com>
5770 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5771 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5772 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5773 * jni.cc: Reuse bottom frame between calls, avoid clearing
5774 frame when no local references are made.
5776 2005-02-15 Michael Koch <konqueror@gmx.de>
5778 * javax/swing/UIDefaults.java (UIDefaults):
5779 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5780 Fixed HTML entity and removed a redundant comma.
5782 2005-02-15 Michael Koch <konqueror@gmx.de>
5784 * javax/swing/text/DefaultEditorKit.java
5785 (deinstall): Removed.
5786 (install): Likewise.
5788 2005-02-15 Michael Koch <konqueror@gmx.de>
5790 * javax/swing/UIDefaults.java (put): Handle value of null.
5792 2005-02-15 Michael Koch <konqueror@gmx.de>
5794 * java/awt/Robot.java,
5795 java/awt/Scrollbar.java,
5796 java/awt/print/PrinterJob.java,
5797 javax/swing/JTable.java,
5798 javax/swing/text/AbstractDocument.java:
5799 Reworked import statements.
5801 2005-02-15 Michael Koch <konqueror@gmx.de>
5803 * javax/swing/JEditorPane.java
5804 (read): Implemented.
5806 * javax/swing/text/DefaultEditorKit.java
5807 (page): Renamed from page_url. Made private.
5808 (editorKit): Renamed from kit. Made private.
5810 (JEditorPane): All constructors reimplemented.
5811 (getContentType): Use content type from editor kit.
5812 (getEditorKit): Return editorKit.
5813 (getEditorKitForContentType):Likewise.
5814 (getPage): Return page.
5815 (setContentType): Reimplemented.
5816 (setEditorKit): Likewise.
5817 (setEditorKitForContentType): Removed wrong implementation.
5818 (setPage): Implemented.
5820 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5823 (nativeSetIconImageFromData): Re-add native implementation.
5825 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5827 * javax/swing/table/DefaultTableModel.java
5828 (DefaultTableModel()): Added Javadocs.
5829 (DefaultTableModel(int, int)): Fixed implementation.
5830 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5831 for negative rowCount.
5832 (DefaultTableModel(Object[], int)): Added Javadocs.
5833 (DefaultTableModel(Vector, Vector)): Likewise.
5834 (DefaultTableModel(Object[][], Object[])): Likewise.
5835 (getDataVector): Likewise.
5836 (setDataVector(Vector, Vector)): Likewise.
5837 (setDataVector(Object[][], Object[])): Likewise.
5838 (newDataAvailable): Likewise.
5839 (newRowsAdded): Likewise.
5840 (rowsRemoved): Likewise.
5841 (setColumnIdentifiers(Vector)): Allow for null argument.
5842 (setColumnIdentifiers(Object[])): Added Javadocs.
5843 (setNumRows): Likewise.
5844 (setRowCount): Adds new rows if necessary, and sends more specific
5846 (setColumnCount): Allow for null columnIdentifiers.
5847 (addColumn(Object)): Added Javadocs.
5848 (addColumn(Object, Vector)): Handle null columnData.
5849 (addColumn(Object, Object[])): Handle columnData with more or less
5850 entries than rows in the table.
5851 (addRow(Vector)): Fire appropriate event.
5852 (addRow(Object[])): Added Javadocs.
5853 (insertRow(int, Vector)): Fire appropriate event.
5854 (insertRow(int, Object[])): Added Javadocs.
5855 (moveRow): Reimplemented.
5856 (removeRow(int)): Fire appropriate event.
5857 (getColumnCount): Allow for null columnIdentifiers.
5858 (getColumnName): Now returns empty string when column index is too
5860 (isCellEditable): Added Javadocs.
5861 (getValueAt): Likewise.
5862 (setValueAt): Fire more specific event.
5863 (convertToVector): Added Javadocs.
5864 * javax/swing/table/TableModel.java
5867 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5869 * libgcj.spec.in (lib): Add -l-javax-imageio.
5871 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5873 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5874 references to event queue q with method call q().
5875 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5876 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5877 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5878 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5879 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5880 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5883 2005-02-15 Graydon Hoare <graydon@redhat.com>
5885 * gnu/java/awt/ClasspathToolkit.java
5886 (registerImageIOSpis): New method.
5887 * gnu/java/awt/image/ImageDecoder.java
5888 (imageDecoder): New constructor using InputStream
5889 (startProduction): Handle existing InputStream.
5890 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5891 (findSimpleIntegerArray): Make public and static.
5892 (updateBufferedImage): Set each pixel, in a loop.
5893 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5894 Implement ImageIO SPI classes.
5895 (createBufferedImage): Rewrite in terms of SPI classes.
5896 * gnu/java/awt/peer/gtk/GtkToolkit.java
5897 (registerImageIOSpis): New method.
5898 * java/lang/reflect/natMethod.cc
5899 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5900 which lets JNI call interface methods properly.
5901 * javax/imageio/ImageIO.java
5902 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5903 (WriterMIMETypeFilter.filter): Likewise.
5904 (ImageReaderIterator): Pass extension argument through to SPI.
5905 (getReadersByFilter): Likewise.
5906 (getWritersByFilter): Likewise.
5907 (getImageReadersByFormatName): Likewise.
5908 (getImageReadersByMIMEType): Likewise.
5909 (getImageReadersBySuffix): Likewise.
5910 (getImageWritersByFormatName): Likewise.
5911 (getImageWritersByMIMEType): Likewise.
5912 (getImageWritersBySuffix): Likewise.
5915 * javax/imageio/ImageReader.java
5916 (progressListeners): Initialize.
5917 (setInput): Implement.
5918 * javax/imageio/ImageWriter.java
5919 (progressListeners): Initialize.
5920 (warningListeners): Likewise.
5921 (warningLocales): Likewise.
5922 (setOutput): Test "isInstance" rather than class equality.
5923 * javax/imageio/spi/IIORegistry.java
5924 (static): Add reader and writer SPIs.
5925 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5927 (query_formats): New function.
5928 (save_to_stream): Likewise.
5929 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5931 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5935 (keyPress): Likewise.
5936 (keyRelease): Likewise.
5938 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5940 * javax/swing/JTable.java
5941 (columnAtPoint): New Method. Implemented.
5942 (rowAtPoint): Likewise.
5943 (countSelections): Fixed few small count errors.
5944 (getSelections): Likewise.
5945 (setSelectionMode): Set selection mode for column
5946 selection model in addition to row selection model.
5947 * javax/swing/plaf/basic/BasicTableUI.java:
5948 (getRowForPoint): Removed. Replaced by
5949 JTable.rowAtPoint().
5950 (getColForPoint): Removed. Replaced by
5951 JTable.columnAtPoint().
5952 (updateSelection): Updated to call JTable.columnAtPoint
5953 and JTable.rowAtPoint.
5954 * javax/swing/table/DefaultTableColumnModel.java:
5955 (getSelectedColumns): Implemented.
5956 (getSelectedColumnCount): Implemented.
5958 2005-02-15 Graydon Hoare <graydon@redhat.com>
5961 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5962 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5963 * Makefile.in: Regenerate.
5964 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5965 * gnu/awt/xlib/XFramePeer.java: Likewise.
5966 * gnu/awt/xlib/XToolkit.java: Likewise.
5967 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5968 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5969 * gnu/java/awt/ClasspathToolkit.java
5972 (iterateNativeQueue): New methods.
5973 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5974 * gnu/java/awt/peer/gtk/GtkToolkit.java
5975 (gtkInit): Absorb from defunct GtkMainThread class.
5976 (static): Run gtkInit in static startup block.
5977 (GtkToolkit): Remove construction of GtkMainThread and queue.
5978 (getSystemEventQueueImpl): Construct queue when requested.
5981 (iterateNativeQueue): New methods.
5982 * java/awt/Component.java (removeNotify): Remove race.
5983 * java/awt/EventDispatchThread.java
5984 (EventDispatchThread): Don't start on construction.
5985 (run): Remove isInterrupted check.
5986 * java/awt/EventQueue.java (shutdown): New flag.
5987 (isShutdown): New method checking J2SE shutdown condition.
5988 (setShutdown): New method.
5989 (getNextEvent): Restructure to use ClasspathToolkit.
5990 (postEvent): Activate new thread on posting, wake thread on
5991 post of possible shutdown condition event.
5992 * java/awt/Frame.java
5993 (Frame): Call noteFrame in all constructors.
5994 (fireDummyEvent): New helper method.
5995 (addNotify): Fire a dummy event to wake up queue.
5996 (removeNotify): Fire a dummy event to wake up queue.
5997 (noteFrame): New method.
5998 (weakFrames): New static field.
5999 (getFrames): Implement.
6000 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6002 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6003 Move everything from GtkMainThread into this file
6004 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6005 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6006 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6007 New functions to implement single-threaded queue semantics.
6009 2005-02-15 Michael Koch <konqueror@gmx.de>
6011 * javax/swing/plaf/metal/MetalLookAndFeel.java
6012 (getControlTextFont): New method.
6013 (getMenuTextFont): Likewise.
6014 (getSubTextFont): Likewise.
6015 (getSystemTextFont): Likewise.
6016 (getUserTextFont): Likewise.
6017 (getWindowTitleFont): Likewise.
6019 2005-02-15 Michael Koch <konqueror@gmx.de>
6021 * javax/swing/text/AbstractDocument.java
6022 (documentFilter): New field.
6023 (getDocumentFilter): New method.
6024 (setDocumentFilter): Likewise.
6027 2005-02-15 Michael Koch <konqueror@gmx.de>
6029 * javax/swing/JTree.java
6030 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6032 2005-02-15 Michael Koch <konqueror@gmx.de>
6034 * javax/swing/text/AbstractDocument.java
6035 (AbstractElement.getLength): Fixed off-by-one error.
6036 (AbstractElement.children): Made abstract.
6037 (AbstractElement.getAllowsChildren): Likewise.
6038 (AbstractElement.getElement): Likewise.
6039 (AbstractElement.dumpElement): New private method.
6040 (AbstractElement.dump): New method.
6041 (BranchElememt.getName): Fixed implementation.
6042 (BranchElememt.toString): Likewise.
6043 (BranchElememt.getElement): Fixed arguments.
6044 (LeafElement.getName): Fixed implementation.
6045 (LeafElement.toString): Likewise.
6046 * javax/swing/text/GapContent.java
6047 (GapContent): Put default content into buffer.
6048 * javax/swing/text/PlainDocument.java
6049 (reindex): Use empty attribute sets instead of null.
6050 (createDefaultRoot): Reimplemented.
6051 (insertUpdate): Call super method.
6052 (removeUpdate): Likewise.
6053 (getParagraphElement): Implemented.
6055 2005-02-15 Michael Koch <konqueror@gmx.de>
6057 * gnu/java/awt/ClasspathToolkit.java
6058 (createRobot): Throws java.awt.AWTException.
6059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6060 Added '__attribute__((unused))' to all unused method arguments.
6062 2005-02-15 Michael Koch <konqueror@gmx.de>
6064 * javax/swing/DefaultBoundedRangeModel.java
6065 (fireValueChanged): Fixed off-by-one error.
6067 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6069 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6070 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6072 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6073 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6074 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6075 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6076 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6077 (getDefaultScreenDevice): Implement.
6078 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6079 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6080 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6081 * java/awt/Robot.java: Implement.
6082 * java/awt/peer/RobotPeer.java: Rename parameters.
6083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6084 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6085 (awt_keycode_to_keysym): Make non-static.
6086 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6087 AWT_BUTTON3_MASK): Declare constants.
6088 (awt_keycode_to_keysym): Declare.
6090 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6091 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6092 and is non-empty pass its value to "make check".
6093 (test_mauve_sim): Likewise.
6095 2005-02-15 Michael Koch <konqueror@gmx.de>
6097 * javax/imageio/IIOParam.java
6098 (setSourceBands): New method.
6099 (setSourceSubsampling): Likewise.
6100 * javax/imageio/ImageReadParam.java
6101 (setDestination): Likewise.
6102 (setDestinationBands): Likewise.
6103 (setSourceProgressivePasses): Likewise.
6104 * javax/imageio/metadata/IIOInvalidTreeException.java
6105 (serialVersionUID): New static field.
6106 * javax/imageio/metadata/IIOMetadataNode.java
6107 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6108 (parent): Dont initailize with default value explicitely.
6110 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6111 (removeAttributeNode): Likewise.
6112 (removeAttributeNS): Likewise.
6113 (setAttribute): Likewise.
6114 (setAttributeNode): Likewise.
6115 (setAttributeNodeNS): Likewise.
6116 (setAttributeNS): Likewise.
6117 (appendChild): Likewise.
6118 (getNodeValue): Likewise.
6119 (insertBefore): Likewise.
6120 (removeChild): Likewise.
6121 (replaceChild): Likewise.
6122 (setPrefix): Likewise.
6124 2005-02-15 Michael Koch <konqueror@gmx.de>
6126 * javax/swing/LookAndFeel.java
6127 (getDesktopPropertyValue): New method.
6129 2005-02-15 Michael Koch <konqueror@gmx.de>
6131 * javax/swing/JTree.java
6132 (hasChildren): New instance field.
6134 2005-02-15 Michael Koch <konqueror@gmx.de>
6136 * javax/swing/JComponent.java
6137 (getToolTipText): New method.
6138 (getTitledBorderText): Likewise.
6139 (getAccessibleKeyBinding): Likewise.
6140 (getVerifyInputWhenFocusTarget): Likewise.
6141 (setVerifyInputWhenFocusTarget): Likewise.
6142 (verifyInputWhenFocusTarget): New instance field.
6144 2005-02-15 Michael Koch <konqueror@gmx.de>
6146 * javax/swing/DefaultListSelectionModel.java
6147 (fireValueChanged): New method.
6149 2005-02-15 Michael Koch <konqueror@gmx.de>
6151 * javax/swing/DefaultBoundedRangeModel.java:
6152 Fixed javadocs all over.
6153 (fireStateChanged): Simplified.
6154 * javax/swing/BoundedRangeModel.java:
6157 2005-02-15 Michael Koch <konqueror@gmx.de>
6159 * javax/swing/JRootPane.java
6160 (setMenuBar): Added @deprecated tag.
6161 (getMenuBar): Likewise.
6162 * javax/swing/JTable.java
6163 (sizeColumnsToFit): Likewise.
6165 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6167 * javax/swing/ImageIcon.java (setImage): Implemented.
6169 2005-02-15 Michael Koch <konqueror@gmx.de>
6171 * javax/swing/JTable.java:
6172 Removed unused imports.
6174 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6176 (prepareRenderer): Get column's index in dataModel instead
6177 of column's view index.
6178 (getColumnCount): return count of the columns in ColumnModel,
6180 (removeColumn): Implemented.
6181 (moveColumm): Likewise.
6182 (setRowHeight): throw IllegalArgumentException if height is
6184 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6185 (DefaultTableColumnModel):Add call to createSelectionModel().
6186 (addColumn): Fire columnAdded event to registered listeners.
6187 (removeColumn): Fire columnRemoved event to registered listeners.
6188 (moveColumn): Fire columnMoved event to registered listeners.
6189 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6190 (getColumnIndex): Changed parameter name.
6191 (setColumnSelectionAllowed): Likewise.
6192 (fireColumnAdded): Implemented.
6193 (fireColumnRemoved): Likewise.
6194 (fireColumnMoved): Likewise.
6195 (fireColumnMarginChanged): Likewise.
6196 (getListeners): Changed parameter name.
6197 (propertyChange): Implemented.
6198 (valueChanged): Changed parameter name.
6199 (createSelectionModel): Implemented.
6201 2005-02-15 Michael Koch <konqueror@gmx.de>
6203 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6204 Explicitely import used classes.
6205 (getLocalGraphicsEnvironment): Simplify.
6206 * java/awt/Window.java (Window):
6207 Enable code to get the default GraphicsConfiguration.
6209 2005-02-15 Michael Koch <konqueror@gmx.de>
6211 * javax/swing/plaf/metal/DefaultMetalTheme.java
6212 (CONTROL_TEXT_FONT): New static field.
6213 (MENU_TEXT_FONT): Likewise.
6214 (SUB_TEXT_FONT): Likewise.
6215 (SYSTEM_TEXT_FONT): Likewise.
6216 (USER_TEXT_FONT): Likewise.
6217 (WINDOW_TITLE_FONT): Likewise.
6218 (getControlTextFont): New method.
6219 (getMenuTextFont): Likewise.
6220 (getSubTextFont): Likewise.
6221 (getSystemTextFont): Likewise.
6222 (getUserTextFont): Likewise.
6223 (getWindowTitleFont): Likewise.
6224 * javax/swing/plaf/metal/MetalTheme.java
6225 (BLACK): Initialize with Color.BLACK.
6226 (WHITE): Initialize with Color.WHITE.
6227 (getInactiveControlTextColor): Return getControlDisabled().
6228 (getMenuDisabledForeground): Return getSecondary3().
6229 (getControlTextFont): New abstract method.
6230 (getMenuTextFont): Likewise.
6231 (getSubTextFont): Likewise.
6232 (getSystemTextFont): Likewise.
6233 (getUserTextFont): Likewise.
6234 (getWindowTitleFont): Likewise.
6236 2005-02-15 Michael Koch <konqueror@gmx.de>
6238 * javax/swing/JFormattedTextField.java
6239 (getFocusLostBehavior): Fixed typo in method name.
6240 (setFocusLostBehavior): Likewise.
6242 2005-02-15 Michael Koch <konqueror@gmx.de>
6244 * javax/swing/TransferHandler.java:
6245 Reworked import statements.
6247 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6249 * java/awt/Button.java,
6250 java/awt/Canvas.java,
6251 java/awt/Checkbox.java,
6252 java/awt/CheckboxMenuItem.java,
6253 java/awt/Choice.java,
6254 java/awt/Dialog.java,
6255 java/awt/Frame.java,
6256 java/awt/Label.java,
6259 java/awt/MenuBar.java,
6260 java/awt/MenuItem.java,
6261 java/awt/PopupMenu.java,
6262 java/awt/ScrollPane.java,
6263 java/awt/Scrollbar.java,
6264 java/awt/TextArea.java,
6265 java/awt/Window.java (getAccessibleContext): Clean up comments.
6267 * java/awt/Button.java,
6268 java/awt/Checkbox.java,
6269 java/awt/Choice.java,
6271 java/awt/PopupMenu.java,
6272 java/awt/TextArea.java (getAccessibleContext): Only create new
6274 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6276 2005-02-15 Michael Koch <konqueror@gmx.de>
6278 * java/awt/Button.java,
6279 javax/swing/JApplet.java,
6280 javax/swing/JFormattedTextField.java,
6281 javax/swing/JWindow.java,
6282 javax/swing/JTree.java,
6283 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6284 javax/swing/plaf/basic/BasicTextPaneUI.java,
6285 javax/swing/plaf/basic/BasicTreeUI.java:
6286 Reworked import statements.
6288 2005-02-15 Michael Koch <konqueror@gmx.de>
6290 * Makefile.am: Put javax.imageio into its own library and link it
6291 against lib-org-w3c-dom.la to fix bootstrapping.
6292 * Makefile.in: Regenerated.
6294 2005-02-15 Michael Koch <konqueror@gmx.de>
6296 * javax/swing/text/TextAction.java
6297 (getTextComponent): Simplified. Added Javadoc.
6298 (augmentList): Implemented. Added Javadoc.
6299 (getFocusedComponent): Added javadoc.
6301 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6303 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6304 getAccessibleContext): Implement.
6305 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6306 getAccessibleContext): Implement.
6308 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6310 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6312 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6314 * java/awt/Window.java (getAccessibleContext): Fix comment.
6315 Remove extra import.
6317 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6319 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6320 (isActive, isFocused, getAccessibleContext): Implement.
6322 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6324 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6325 * java/awt/MenuComponent.java (accessibleContext): Make package
6327 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6328 AccessibleAWTCheckboxMenuItem): Implement.
6330 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6332 * java/awt/List.java: Implement AccessibleAWTList,
6333 AccessibleAWTListChild.
6335 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6337 * java/awt/Choice.java: Add implements declaration for
6340 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6342 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6345 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6347 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6348 implemented interface list.
6350 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6352 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6353 * javax/imageio/metadata/IIOAttr.java: New class.
6354 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6355 * javax/imageio/metadata/IIONodeList.java: New class.
6356 * Makefile.am: Added new files.
6357 * Makefile.in: Regenerated.
6359 2005-02-15 Michael Koch <konqueror@gmx.de>
6361 * javax/swing/AbstractAction.java,
6362 javax/swing/AbstractCellEditor.java,
6363 javax/swing/AbstractListModel.java,
6364 javax/swing/DefaultBoundedRangeModel.java,
6365 javax/swing/DefaultButtonModel.java,
6366 javax/swing/DefaultCellEditor.java,
6367 javax/swing/DefaultComboBoxModel.java,
6368 javax/swing/DefaultDesktopManager.java,
6369 javax/swing/JMenu.java,
6370 javax/swing/JSlider.java,
6371 javax/swing/KeyStroke.java,
6372 javax/swing/OverlayLayout.java,
6373 javax/swing/ScrollPaneLayout.java,
6374 javax/swing/SizeRequirements.java,
6375 javax/swing/ViewportLayout.java:
6376 Made serialVersionUID private.
6378 2005-02-15 Michael Koch <konqueror@gmx.de>
6380 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6383 2005-02-15 Michael Koch <konqueror@gmx.de>
6385 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6387 2005-02-15 Michael Koch <konqueror@gmx.de>
6389 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6391 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6393 * java/awt/EventDispatchThread.java,
6394 java/awt/Toolkit.java:
6395 Don't catch java.lang.ThreadDeath.
6397 2005-02-15 Michael Koch <konqueror@gmx.de>
6399 * javax/swing/text/PasswordView.java
6400 (drawEchoCharacter): Added javadoc.
6401 (drawSelectedText): Likewise.
6402 (drawUnselectedText): Likewise.
6404 2005-02-15 Michael Koch <konqueror@gmx.de>
6406 * javax/swing/JRootPane.java
6407 (windowDecorationStyle): New field.
6408 (setMenuBar): New method.
6409 (getMenuBar): Likewise.
6410 (getWindowDecorationStyle): Likewise.
6411 (setWindowDecorationStyle): Likewise.
6413 2005-02-15 Michael Koch <konqueror@gmx.de>
6415 * javax/swing/DefaultListSelectionModel.java
6416 (leadAnchorNotificationEnabled): Made protected.
6418 2005-02-15 Michael Koch <konqueror@gmx.de>
6420 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6421 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6422 * Makefile.in: Regenerated.
6425 2005-02-15 Michael Koch <konqueror@gmx.de>
6427 * javax/swing/JFormattedTextField.java: Implemented.
6428 * javax/swing/JWindow.java
6429 (JWindow): New constructors.
6430 (initWindow): Renamed from initFrame.
6431 * javax/swing/UIDefaults.java
6432 (ActiveValue): Made interface static.
6433 (LazyValue): Likewise.
6434 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6435 (TitlePaneLayout.TitlePaneLayout): New constructor.
6436 * javax/swing/plaf/basic/BasicSliderUI.java
6437 (ChangeHandler): Made public.
6438 (FocusHandler): Likewise.
6439 (PropertyChangeHandler): Likewise.
6440 (ScrollListener): Likewise.
6441 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6442 (FocusHandler): Likewise.
6443 (MouseHandler): Likewise.
6444 * javax/swing/plaf/basic/BasicTextPaneUI.java
6445 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6446 * javax/swing/plaf/basic/BasicToolBarUI.java
6447 (BasicToolBarUI): Simplified. Reworked javadoc.
6448 (canDock): Simplified. Make public.
6449 (DockingListener): Made public.
6450 * javax/swing/text/JTextComponent.java
6451 (navigationFilter): New field.
6452 (getNavigationFilter): New method.
6453 (setNavigationFilter): Likewise.
6455 2005-02-15 Michael Koch <konqueror@gmx.de>
6457 * javax/swing/plaf/metal/MetalTheme.java
6458 (getControlTextColor): Return getControlInfo().
6459 (getHighlightedTextColor): Return getControlTextColor().
6461 2005-02-15 Michael Koch <konqueror@gmx.de>
6463 * javax/swing/plaf/basic/BasicButtonListener.java
6464 (BasicButtonListener): New constructor.
6465 * javax/swing/plaf/basic/BasicButtonUI.java
6466 (createButtonListener): Usw new BasicButtonListener constructor.
6468 2005-02-15 Michael Koch <konqueror@gmx.de>
6470 * javax/imageio/event/package.html,
6471 javax/imageio/metadata/package.html: New files.
6473 2005-02-15 Michael Koch <konqueror@gmx.de>
6475 * java/awt/image/MemoryImageSource.java: Reformatted.
6477 2005-02-15 Michael Koch <konqueror@gmx.de>
6479 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6481 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6483 * java/awt/color/ICC_Profile.java
6484 (finalize): Removed pointless field assignments.
6486 2005-02-15 Michael Koch <konqueror@gmx.de>
6488 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6489 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6490 * Makefile.in: Regenerated.
6492 2005-02-15 Michael Koch <konqueror@gmx.de>
6494 * javax/swing/text/DefaultStyledDocument.java: New file.
6495 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6496 * Makefile.in: Regenerated.
6498 2005-02-15 Michael Koch <konqueror@gmx.de>
6500 * javax/swing/JFileChooser.java
6501 (showDialog): Return CANCEL_OPTION for now.
6502 (showOpenDialog): Likewise.
6503 (showSaveDialog): Likewise.
6505 2005-02-15 Michael Koch <konqueror@gmx.de>
6507 * javax/swing/JApplet.java
6508 (HIDE_ON_CLOSE): Removed.
6509 (EXIT_ON_CLOSE): Likewise.
6510 (DISPOSE_ON_CLOSE): Likewise.
6511 (DO_NOTHING_ON_CLOSE): Likewise.
6512 (close_action): Likewise.
6513 (getDefaultCloseOperation): Likewise.
6514 (setDefaultCloseOperation): Likewise.
6515 (processWindowEvent): Likewise.
6516 (getPreferredSize): Simplified.
6517 * javax/swing/JInternalFrame.java
6518 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6520 * javax/swing/JWindow.java
6521 (HIDE_ON_CLOSE): Removed.
6522 (EXIT_ON_CLOSE): Likewise.
6523 (DISPOSE_ON_CLOSE): Likewise.
6524 (DO_NOTHING_ON_CLOSE): Likewise.
6525 (close_action): Likewise.
6526 (processKeyEvent): Likewise.
6527 (setDefaultCloseOperation): Likewise.
6528 (getPreferredSize): Simplified.
6530 2005-02-15 Michael Koch <konqueror@gmx.de>
6532 * javax/swing/JTextField.java
6533 (getPreferredSize): Re-implemented.
6535 2005-02-15 Michael Koch <konqueror@gmx.de>
6537 * javax/swing/JLabel.java
6538 (setDisplayedMnemonic): Use only upper case characters.
6539 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6540 PropertyChangeEvent after property got set to the new index.
6542 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6544 * javax/swing/JComboBox.java:
6545 (JComboBox): Removed selection of the
6546 first item in the model.
6548 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6550 * javax/swing/JComboBox.java
6551 added support for no item being selected
6552 (JComboBox): select first or nothing depending on element count
6553 (setModel): cleaned up unneeded "this." usage, added more
6554 docs, made exception behavior match that of the JDK
6555 (setLighWeightPopupEnabled): removed unneeded "this." usage
6557 (setMaximumRowCount): dito
6559 (setPrototypeDisplayValue): dito
6560 (getSelectedItem): simplified, added more user doc
6561 (setSelectedIndex): corrected exception behavior, added more user doc
6562 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6563 added performance warning to user doc
6564 (addItem): fixed exception behavior, added user doc
6565 (insertItemAt): dito
6567 (removeItemAt): dito
6568 (removeAll): fixed exception behavior, added user doc, added support
6569 for model not being instance of DefaultComboBoxModel
6570 (getSelectedItemObjects): simplified
6571 (getItemCount): fixed dependency on DefaultComboBoxModel
6572 (getItemAt): fixed dependency on MutableComboBoxModel
6573 * javax/swing/DefaultComboBoxModel.java:
6574 (setSelectedItem): updates selected item only if new
6575 value is null or known (match JDK behavior)
6576 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6577 (paintCurrentValue): renders "" if no item is selected
6579 2005-02-15 Michael Koch <konqueror@gmx.de>
6581 * javax/swing/plaf/metal/MetalTheme.java,
6582 javax/swing/plaf/metal/DefaultMetalTheme.java:
6584 * javax/swing/plaf/metal/MetalLookAndFeel.java
6585 * Makefile.am: Added the new files.
6586 * Makefile.in: Regenerated.
6588 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6590 * javax/swing/JTable.java
6591 (editorComp): New field.
6592 (JTable): Initialize local variables and call updateUI
6593 (selectionBackground): Make protected.
6594 (selectionForeground): Likewise.
6595 (initializeLocalVars): Create default editors and renderers,
6596 initialize editingColumn, editingRow variables.
6597 (createDefaultEditors): New Method.
6598 (createDefaultRenderers): Likewise.
6599 (createDefaultListSelectionModel): Removed
6600 (createDefaultSelectionModel): New Method.
6601 (createDefaultTableHeader): Likewise
6602 (removeColumn): Likewise.
6603 (getEditingColumn): Likewise.
6604 (setEditingColumn): Likewise.
6605 (getEditingRow): Likewise.
6606 (setEditingRow): Likewise.
6607 (getEditorComponent): Likewise.
6608 (isEditing): Likewise.
6609 (setDefaultEditor): Likewise.
6610 (addColumnSelectionInterval): Likewise.
6611 (addRowSelectionInterval): Likewise.
6612 (setColumnSelectionInterval): Likewise.
6613 (setRowSelectionInterval): Likewise.
6614 (removeColumnSelectionInterval): Likewise.
6615 (removeRowSelectionInterval): Likewise.
6616 (isColumnSelected): Likewise.
6617 (isRowSelected): Likewise.
6618 (isCellSelected): Likewise.
6619 (selectAll): Likewise.
6621 2005-02-15 Michael Koch <konqueror@gmx.de>
6623 * javax/swing/JTable.java
6624 (addColumn): New method.
6625 (getColumnClass): Likewise.
6626 (getColumnName): Likewise.
6628 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6630 * javax/swing/TransferHandler.java
6631 (createTransferable): Made protected.
6633 2005-02-15 Michael Koch <konqueror@gmx.de>
6635 * javax/swing/JTable.java,
6636 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6637 javax/swing/plaf/basic/BasicTableUI.java:
6638 Use fixed get/setIntercellSpacing() methods.
6640 2005-02-15 Michael Koch <konqueror@gmx.de>
6642 * javax/swing/JTable.java
6643 (getIntercellSpacing): Fixed typo in method name.
6644 (setIntercellSpacing): Likewise.
6646 2005-02-15 Michael Koch <konqueror@gmx.de>
6648 * javax/swing/text/JTextComponent.java
6649 (focusAccelerator): New variable.
6650 (getFocusAccelerator): New method.
6651 (setFocusAccelerator): Likewise.
6653 2005-02-15 Michael Koch <konqueror@gmx.de>
6655 * javax/swing/JComponent.java
6656 (setTransferHandler): Made public. Fire property change event.
6657 * javax/swing/TransferHandler.java: Implemented.
6658 * javax/swing/text/JTextComponent.java
6659 (DefaultTransferHandler): New inner class.
6660 (defaultTransferHandler): New variable.
6664 (doTransferAction): Likewise.
6666 2005-02-15 Michael Koch <konqueror@gmx.de>
6668 * javax/swing/JTree.java
6669 (collapsePath): New method.
6670 (collapseRow): Likewise.
6671 (expandPath): Likewise.
6672 (expandRow): Likewise.
6673 (checkExpandParents): Likewise.
6674 (doExpandParents): Likewise.
6675 (setExpandedState): Likewise.
6676 (makeVisible): Likewise.
6678 2005-02-15 Michael Koch <konqueror@gmx.de>
6680 * javax/swing/JPasswordField.java: Updated javadocs.
6682 2005-02-15 Michael Koch <konqueror@gmx.de>
6684 * javax/swing/JLayeredPane.java
6685 (getLayer): Fixed return type, made public.
6686 (getPosition): Use new getLayer().
6687 (SetPosition): Likewise.
6688 (getIndexOf): Likewise.
6690 * javax/swing/JInternalFrame.java
6691 (getLayer): Use new JLayeredPane.getLayer().
6694 2005-02-15 Michael Koch <konqueror@gmx.de>
6696 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6697 (setHeaderValue): Simplified. Do nothing when old value == new value.
6699 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6701 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6702 against null clip region.
6703 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6704 gtkWindowSetResizable.
6705 (postConfigureEvent): Only revalidate if frame size has changed.
6706 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6707 Only revalidate if frame size has changed.
6708 * java/awt/Component.java (reshape): Only repaint and post
6709 component events if component is showing.
6710 * java/awt/Container.java (addImpl): Only post container event if
6711 container is showing.
6713 * java/awt/Window.java (setLocationRelativeTo): Implement.
6714 (setBoundsCallback): Only post component events if component is
6716 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6717 Protect against null graphics structure. Flush gdk event queue.
6719 2005-02-15 Michael Koch <konqueror@gmx.de>
6721 * javax/imageio/ImageReader.java,
6722 javax/imageio/ImageTranscoder.java,
6723 javax/imageio/ImageWriter.java,
6724 javax/imageio/spi/ImageInputStreamSpi.java,
6725 javax/imageio/spi/ImageOutputStreamSpi.java,
6726 javax/imageio/spi/ServiceRegistry.java,
6727 javax/imageio/stream/ImageInputStream.java,
6728 javax/imageio/stream/ImageOutputStream.java: Updated.
6729 * javax/imageio/IIOException.java,
6730 javax/imageio/IIOImage.java,
6731 javax/imageio/IIOParam.java,
6732 javax/imageio/IIOParamController.java,
6733 javax/imageio/ImageIO.java,
6734 javax/imageio/ImageReadParam.java,
6735 javax/imageio/ImageTypeSpecifier.java,
6736 javax/imageio/ImageWriteParam.java,
6737 javax/imageio/spi/IIORegistry.java,
6738 javax/imageio/spi/ImageReaderSpi.java,
6739 javax/imageio/spi/ImageWriterSpi.java,
6740 javax/imageio/stream/FileCacheImageInputStream.java,
6741 javax/imageio/stream/FileCacheImageOutputStream.java,
6742 javax/imageio/stream/FileImageInputStream.java,
6743 javax/imageio/stream/FileImageOutputStream.java,
6744 javax/imageio/stream/ImageInputStreamImpl.java,
6745 javax/imageio/stream/ImageOutputStreamImpl.java,
6746 javax/imageio/stream/MemoryCacheImageInputStream.java,
6747 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6748 javax/imageio/event/IIOReadProgressListener.java,
6749 javax/imageio/event/IIOReadUpdateListener.java,
6750 javax/imageio/event/IIOReadWarningListener.java,
6751 javax/imageio/event/IIOWriteProgressListener.java,
6752 javax/imageio/event/IIOWriteWarningListener.java,
6753 javax/imageio/metadata/IIOMetadata.java,
6754 javax/imageio/metadata/IIOMetadataController.java,
6755 javax/imageio/metadata/IIOMetadataFormat.java,
6756 javax/imageio/metadata/IIOInvalidTreeException.java,
6757 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6758 javax/imageio/metadata/IIOMetadataNode.java: New files.
6759 * Makefile.am (javax_source_files): Added new files
6760 * Makefile.in: Regenerated.
6762 2005-02-15 Graydon Hoare <graydon@redhat.com>
6764 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6765 Rework painting into BufferedImages
6766 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6767 Construct BufferedImage with alpha only when alpha is
6768 present in colormodel.
6769 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6770 Rework painting into client-side jint arrays.
6771 * jni/gtk-peer/gtkcairopeer.h:
6774 2005-02-15 Michael Koch <konqueror@gmx.de>
6776 * javax/swing/DefaultListCellRenderer.java
6777 (serialVersionUID): Made private.
6778 (getListCellRendererComponent): Set horizontal alignment.
6779 * javax/swing/JLabel.java
6780 (setVerticalAlignment): Re-implemented.
6781 (setHorizontalAlignment): Do nothing if old value = new value.
6782 * javax/swing/JList.java
6783 (setCellRenderer): Likewise.
6784 (setModel): Re-implemented.
6785 (setSelectionModel): Likewise.
6787 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6789 * java/awt/Component.java,
6790 java/awt/geom/Rectangle2D.java:
6793 2005-02-15 Michael Koch <konqueror@gmx.de>
6795 * javax/swing/AbstractListModel.java
6796 (fireContentsChanged): Simplified.
6797 (fireIntervalAdded): Likewise.
6798 (fireIntervalRemoved): Likewise.
6799 * javax/swing/DefaultSingleSelectionModel.java:
6801 (fireStateChanged): Simplified.
6802 * javax/swing/JPopupMenu.java
6803 (setSelectionModel): Set property.
6805 2005-02-15 Michael Koch <konqueror@gmx.de>
6807 * java/awt/print/Book.java: Reformatted.
6809 2005-02-15 Michael Koch <konqueror@gmx.de>
6811 * java/awt/geom/Area.java
6812 (QuadSegment.curveArea): Remove unused variables.
6813 (CubicSegment.curveArea): Likewise.
6815 2005-02-15 Michael Koch <konqueror@gmx.de>
6817 * javax/swing/JTree.java
6818 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6819 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6820 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6821 (EXPANDED): New constant.
6822 (COLLAPSED): Likewise.
6823 (nodeStates): New field.
6824 (cellEditor): New method.
6825 (cellRenderer): Likewise.
6826 (selectionModel): Likewise.
6827 (treeModel): Likewise.
6828 (scrollPathToVisible): Likewise.
6829 (scrollRowToVisible): Likewise.
6830 (isCollapsed): Likewise.
6831 (isExpanded): Likewise.
6832 (clearToggledPaths): Likewise.
6833 (getDescendantToggledPaths): Likewise.
6834 (hasBeenExpanded): Likewise.
6835 (isVisible): Likewise.
6836 (isPathEditable): Likewise.
6838 2005-02-15 Michael Koch <konqueror@gmx.de>
6840 * javax/swing/JLayeredPane.java: Reformatted.
6842 2005-02-15 Michael Koch <konqueror@gmx.de>
6844 * javax/swing/tree/DefaultMutableTreeNode.java:
6846 * javax/swing/tree/MutableTreeNode.java:
6849 2005-02-15 Michael Koch <konqueror@gmx.de>
6851 * javax/swing/JFormattedTextField.java
6852 (setDocument): Call setDocument of super class. Don't fire property
6855 2005-02-15 Sven de Marothy <sven@physto.se>
6857 * java/awt/image/IndexColorModel.java:
6858 Add FIXME with respect to alpha handling.
6859 (getAlpha): Default to returning opaque pixels.
6860 * java/awt/image/MultiPixelPackedSampleModel.java
6861 (MultiPixelPackedSampleModel): Corrected parameters, order of
6862 bit shifts and masks, stride length off by one.
6864 2005-02-15 Michael Koch <konqueror@gmx.de>
6866 * javax/swing/JList.java, javax/swing/JTree.java:
6867 Added much new methods and fixed much methods setting bound properties.
6869 2005-02-16 Mark Wielaard <mark@klomp.org>
6871 * Makefile.am (gnu_xml_source_files): Removed
6872 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6873 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6874 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6875 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6876 gnu/xml/dom/DomDocumentFragment.java,
6877 gnu/xml/dom/DomProcessingInstruction.java and
6878 gnu/xml/dom/ls/DomLSException.java.
6879 * Makefile.in: Regenerated.
6881 2005-02-16 Tom Tromey <tromey@redhat.com>
6883 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6884 attribute index is out of bounds.
6886 2005-02-16 Chris Burdess <dog@gnu.org>
6888 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6889 isDeclared methods. Improved performance of isSpecified methods.
6891 2005-02-16 Chris Burdess <dog@gnu.org>
6893 Fixes bug libgcj/19864
6894 * gnu/xml/dom/DomAttr.java,
6895 gnu/xml/dom/DomCDATA.java,
6896 gnu/xml/dom/DomCDATASection.java,
6897 gnu/xml/dom/DomCharacterData.java,
6898 gnu/xml/dom/DomDOMException.java,
6899 gnu/xml/dom/DomDoctype.java,
6900 gnu/xml/dom/DomDocument.java,
6901 gnu/xml/dom/DomDocumentConfiguration.java,
6902 gnu/xml/dom/DomDocumentFragment.java,
6903 gnu/xml/dom/DomElement.java,
6904 gnu/xml/dom/DomEx.java,
6905 gnu/xml/dom/DomFragment.java,
6906 gnu/xml/dom/DomImpl.java,
6907 gnu/xml/dom/DomIterator.java,
6908 gnu/xml/dom/DomNamedNodeMap.java,
6909 gnu/xml/dom/DomNode.java,
6910 gnu/xml/dom/DomNsNode.java,
6911 gnu/xml/dom/DomPI.java,
6912 gnu/xml/dom/DomProcessingInstruction.java,
6913 gnu/xml/dom/DomText.java,
6914 gnu/xml/dom/DomLSEx.java,
6915 gnu/xml/dom/DomLSException.java,
6916 gnu/xml/dom/DomLSParser.java,
6917 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6918 implementation class names to conform to Classpath guidelines. Make
6919 DomLSException use JDK 1.4+ exception chaining.
6920 * gnu/xml/util/SAXNullTransformerFactory.java,
6921 gnu/xml/xpath/Predicate.java: Use constants relative to
6922 declaring class or interface.
6924 2005-02-16 Andrew Haley <aph@redhat.com>
6926 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6927 null, create a new AccessControlContext.
6928 * java/security/SecureClassLoader.java (protectionDomainCache):
6930 (defineClass): Create a new protection domain and add it to our
6933 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6934 addStub() to keep track of the stub we've exported.
6935 (unexportObject): Call deleteStub().
6936 * java/rmi/server/RemoteObject.java (stubs): New field.
6937 (addStub): New method.
6938 (deleteStub): New method.
6941 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6942 true to findHelper (tryParents).
6943 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6945 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6946 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6948 If tryParents is false, don't scan parent class loaders.
6950 * java/security/Permissions.java (PermissionsHash.implies):
6951 Iterate over the collection and invoke implies() on each
6954 2005-02-16 Andrew Haley <aph@redhat.com>
6956 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6958 (PersistentByteMap): Set name
6959 Magic number changed to 0x67636a64 ("gcjd").
6960 (init): Force the map to be prime.
6961 (emptyPersistentByteMap): File name was a string, now a File.
6962 (addBytes): Share srings between entries.
6963 (stringTableSize): New method.
6964 (capacity): Scale by load factor.
6965 (force): New method.
6966 (getFile): New method.
6967 (close): New method.
6968 (putAll): New method.
6969 (ByteWrapper): New class.
6970 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6971 (main): Guess the average string size as 32, not 64.
6972 Copy a database before modifying it, so that we can update a
6973 database in a running system.
6974 If a database isn't big enough, resize it.
6975 "-m": new option: merges databases.
6976 "-a": Create a new detabase if it doesn't exist.
6977 (usage): Correct, add new option.
6978 (addJar): Copy a database before modifying it.
6979 (resizeMap): New method.
6981 2005-02-15 David Daney <ddaney@avtrex.com>
6982 Bryce McKinlay <mckinlay@redhat.com>
6984 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6985 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6986 ensure that GC threads inherit the new signal mask.
6987 (block_sigchld): Call JvFail rather than throwing exception if
6988 pthread_sigmask() fails.
6990 2005-02-15 Mark Wielaard <mark@klomp.org>
6992 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6993 file path elements are separated by spaces.
6995 2005-02-15 Mark Wielaard <mark@klomp.org>
6997 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6998 to describe attributes without a constant field value in this class.
7000 2005-02-15 Michael Koch <konqueror@gmx.de>
7002 * java/util/jar/Attributes.java
7003 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7005 2005-02-15 Mark Wielaard <mark@klomp.org>
7007 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7008 space for parsing CLASS_PATH attribute.
7010 2005-02-15 Mark Wielaard <mark@klomp.org>
7012 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7013 aside for "GCJLIBS" in directory where jarfiles are loaded.
7014 (JarURLLoader.getClass): Removed method.
7015 (JarURLLoader.toString): Removed method.
7016 (FileResource.toString): Removed method.
7018 2005-02-15 Mark Wielaard <mark@klomp.org>
7020 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7021 and/or cause before throwing.
7023 2005-02-15 Richard Henderson <rth@redhat.com>
7025 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7026 (libgcj0_convenience_la_SOURCES): ... here.
7027 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7028 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7029 * Makefile.in: Regenerate.
7031 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7034 * include/jawt.h: Likewise.
7035 * include/jawt_md.h: Likewise.
7036 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7038 * include/Makefile.in: Regenerate.
7039 * jni/classpath/classpath_jawt.h: Likewise.
7040 * jni/gtk-peer/gtk_jawt.c: Likewise.
7041 * Makefile.am: Build libjawt.so.
7042 * Makefile.in: Regenerate.
7044 2005-02-14 Tom Tromey <tromey@redhat.com>
7046 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7048 2005-02-14 Tom Tromey <tromey@redhat.com>
7050 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7051 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7053 2005-02-14 Tom Tromey <tromey@redhat.com>
7056 * testsuite/libjava.lang/PR19929.out: New file.
7057 * testsuite/libjava.lang/PR19929.java: New file.
7059 2005-02-14 Anthony Green <green@redhat.com>
7062 * testsuite/libjava.jni/PR18116.c: New file.
7063 * testsuite/libjava.jni/PR18116.java: New file.
7064 * testsuite/libjava.jni/PR18116.out: New file.
7066 2005-02-13 Anthony Green <green@redhat.com>
7069 * jni.cc (nathash_add): Don't strdup the method signature.
7070 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7074 2005-02-12 Mark Wielaard <mark@klomp.org>
7076 Fixes bug libgcj/8170
7077 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7078 ClassNotFoundException.
7079 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7080 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7081 (remove_internal): New field superceding remove_interpreter.
7082 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7083 Remove no-class methods starting with "_Jv_". And Replace null
7084 class or method names with the empty string. Stop at either the
7085 MainThread or a real Thread run() method.
7086 (newElement): Made static.
7087 * java/net/URLClassLoader.java (findClass): Throw
7088 ClassNotFoundExceptions including urls, plus parent using toString().
7089 (thisString): New field.
7090 (toString): New method.
7092 2005-02-10 Tom Tromey <tromey@redhat.com>
7094 * external/sax/Makefile.in: Rebuilt.
7095 * external/sax/Makefile.am (all-local): Removed.
7096 (BUILT_SOURCES): New variable.
7097 (mostlyclean-local): No error if no classes to delete.
7098 * external/w3c_dom/Makefile.in: Rebuilt.
7099 * external/w3c_dom/Makefile.am (all-local): Removed.
7100 (BUILT_SOURCES): New variable.
7101 (mostlyclean-local): No error if no classes to delete.
7103 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7105 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7106 of mauve and libjava.
7108 2005-02-09 Tom Tromey <tromey@redhat.com>
7110 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7111 jar file with OPEN_DELETE.
7112 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7113 OPEN_DELETE is used.
7115 2005-02-09 Tom Tromey <tromey@redhat.com>
7117 * java/util/zip/InflaterInputStream.java (markSupported):
7119 (mark, reset): Likewise.
7121 2005-02-08 Tom Tromey <tromey@redhat.com>
7123 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7124 name or port is missing.
7125 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7126 AUTHORITY_PORT_GROUP): Updated.
7128 2005-02-08 Tom Tromey <tromey@redhat.com>
7130 * configure: Rebuilt.
7131 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7134 2005-02-07 Tom Tromey <tromey@redhat.com>
7136 * java/lang/natRuntime.cc (insertSystemProperties): Set
7137 sun.boot.class.path earlier.
7139 2005-02-07 Tom Tromey <tromey@redhat.com>
7141 * defineclass.cc (handleClassBegin): Use
7142 _Jv_RegisterInitiatingLoader.
7143 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7144 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7145 class. Use _Jv_UnregisterInitiatingLoader.
7146 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7149 2005-02-07 Mark Wielaard <mark@klomp.org>
7151 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7152 java/util/regex/Matcher.java (lookingAt): Set position when match
7154 (matches): Implemented through lookingAt().
7156 2005-02-07 Mark Wielaard <mark@klomp.org>
7158 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7159 * java/util/regex/Pattern.java (split(CharSequence,int)):
7160 Fix while empties > 0 loops.
7162 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7164 * gnu/java/nio/charset/ISO_8859_1.java,
7165 gnu/java/nio/charset/US_ASCII.java,
7166 gnu/java/nio/charset/UTF_16.java,
7167 gnu/java/nio/charset/UTF_16_LE.java,
7168 gnu/java/nio/charset/UTF_16_BE.java,
7169 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7170 and aliases according to
7171 "http://www.iana.org/assignments/character-sets",
7172 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7173 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7174 * gnu/java/nio/charset/Provider.java: Made charset lookup
7175 case-insensitive which fixes bug #11740.
7177 2005-02-07 Tom Tromey <tromey@redhat.com>
7180 * Makefile.in: Rebuilt.
7181 * Makefile.am (src.zip): New target.
7182 (install-src.zip): Likewise.
7183 (sourcesdir): New variable.
7185 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7187 * javax/imageio/metadata/IIOMetadataNode.java:
7189 * javax/imageio/metadata/IIOAttr.java,
7190 javax/imageio/metadata/IIONamedNodeMap.java,
7191 javax/imageio/metadata/IIONodeList.java:
7194 2005-02-06 Graydon Hoare <graydon@redhat.com>
7196 * gnu/java/awt/ClasspathToolkit.java
7197 (registerImageIOSpis): New method.
7198 * javax/imageio/ImageIO.java
7199 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7200 (WriterMIMETypeFilter.filter): Likewise.
7201 (ImageReaderIterator): Pass extension argument through to SPI.
7202 (getReadersByFilter): Likewise.
7203 (getWritersByFilter): Likewise.
7204 (getImageReadersByFormatName): Likewise.
7205 (getImageReadersByMIMEType): Likewise.
7206 (getImageReadersBySuffix): Likewise.
7207 (getImageWritersByFormatName): Likewise.
7208 (getImageWritersByMIMEType): Likewise.
7209 (getImageWritersBySuffix): Likewise.
7212 * javax/imageio/ImageReader.java
7213 (progressListeners): Initialize.
7214 (setInput): Implement.
7215 * javax/imageio/ImageWriter.java
7216 (progressListeners): Initialize.
7217 (warningListeners): Likewise.
7218 (warningLocales): Likewise.
7219 (setOutput): Test "isInstance" rather than class equality.
7220 * javax/imageio/spi/IIORegistry.java
7221 (static): Add reader and writer SPIs.
7222 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7224 2005-02-06 Michael Koch <konqueror@gmx.de>
7226 * javax/imageio/metadata/IIOInvalidTreeException.java
7227 (IIOInvalidTreeException): Reformatted.
7228 * javax/imageio/spi/IIORegistry.java
7229 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7230 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7231 Reworked import statements.
7233 2005-02-06 Michael Koch <konqueror@gmx.de>
7235 * javax/imageio/stream/FileImageOutputStream.java:
7238 2005-02-06 Michael Koch <konqueror@gmx.de>
7240 * javax/imageio/stream/FileCacheImageInputStream.java,
7241 javax/imageio/stream/FileCacheImageOutputStream.java,
7242 javax/imageio/stream/FileImageInputStream.java,
7243 javax/imageio/stream/ImageInputStreamImpl.java,
7244 javax/imageio/stream/ImageOutputStreamImpl.java,
7245 javax/imageio/stream/MemoryCacheImageInputStream.java,
7246 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7247 Added all missing methods in javax.imageio.stream.
7249 2005-02-02 David Daney <ddaney@avtrex.com>
7251 * java/net/InetAddress.java (InetAddress): Make a private copy of
7253 * java/net/Inet4Address.java (getAddress): Return a copy of the
7255 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7257 (getAddress): Return a copy of the address.
7260 2005-02-02 Tom Tromey <tromey@redhat.com>
7262 * Makefile.in: Rebuilt.
7263 * Makefile.am (classes.stamp): New target, broken out from
7265 ($(all_java_class_files)): Depend on it.
7266 (libgcj-@gcc_version@.jar): Likewise.
7267 (all-recursive): Likewise.
7268 (CLEANFILES): Include classes.stamp.
7270 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7272 * link.cc: Include <stdio.h>
7274 2005-02-02 Tom Tromey <tromey@redhat.com>
7277 * Makefile.in: Rebuilt.
7278 * Makefile.am (ordinary_java_source_files): Added new class.
7279 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7280 Use system_instance, not instance.
7281 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7282 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7284 (system_instance): New field.
7285 (initialize): Initialize the system loader as well.
7286 (VMClassLoader): Default to LIB_CACHE.
7288 2005-02-02 Tom Tromey <tromey@redhat.com>
7290 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7291 * prims.cc: Fixed comment.
7293 2005-02-01 Tom Tromey <tromey@redhat.com>
7295 * Makefile.in: Rebuilt.
7296 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7297 (.java.class): Use BOOTCLASSPATH.
7299 2005-02-01 Tom Tromey <tromey@redhat.com>
7301 * external/w3c_dom/Makefile.am: New file.
7302 * external/w3c_dom/Makefile.in: New file.
7303 * external/sax/Makefile.am: New file.
7304 * external/sax/Makefile.in: New file.
7305 * external/Makefile.in: New file.
7306 * external/Makefile.am: New file.
7307 * external/README: New file from Classpath.
7308 * configure, aclocal.m4, Makefile.in: Rebuilt.
7309 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7310 * Makefile.am (SUBDIRS): Added external.
7311 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7312 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7313 (BOOTCLASSPATH): New variable.
7314 (AM_GCJFLAGS): Use it.
7315 (gnu_xml_source_files): New variable.
7316 (libgcj_la_SOURCES): Use it.
7317 (libgcj_la_LDADD): Include new convenience libraries.
7318 (lib_org_ietf_jgss_la_SOURCES): Removed.
7319 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7320 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7321 (lib_org_w3c_dom_la_SOURCES): Removed.
7322 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7323 (lib_org_w3c_dom_la_LIBADD): Likewise.
7324 (lib_org_xml_sax_la_SOURCES): Removed.
7325 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7326 (lib_org_xml_sax_la_LIBADD): Likewise.
7327 (all_java_source_files): Updated.
7328 (property_files): Likewise.
7329 (libgcj-@gcc_version@.jar): Include classes from external/.
7330 (javax_source_files): Updated.
7331 (ordinary_java_source_files): Updated.
7332 * javax/xml/XMLConstants.java,
7333 javax/xml/datatype/DatatypeConfigurationException.java,
7334 javax/xml/datatype/DatatypeConstants.java,
7335 javax/xml/datatype/DatatypeFactory.java,
7336 javax/xml/datatype/Duration.java,
7337 javax/xml/datatype/XMLGregorianCalendar.java,
7338 javax/xml/datatype/package.html,
7339 javax/xml/namespace/NamespaceContext.java,
7340 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7341 javax/xml/parsers/DocumentBuilder.java,
7342 javax/xml/parsers/DocumentBuilderFactory.java,
7343 javax/xml/parsers/FactoryConfigurationError.java,
7344 javax/xml/parsers/ParserConfigurationException.java,
7345 javax/xml/parsers/SAXParser.java,
7346 javax/xml/parsers/SAXParserFactory.java,
7347 javax/xml/parsers/package.html,
7348 javax/xml/transform/ErrorListener.java,
7349 javax/xml/transform/OutputKeys.java,
7350 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7351 javax/xml/transform/SourceLocator.java,
7352 javax/xml/transform/Templates.java,
7353 javax/xml/transform/Transformer.java,
7354 javax/xml/transform/TransformerConfigurationException.java,
7355 javax/xml/transform/TransformerException.java,
7356 javax/xml/transform/TransformerFactory.java,
7357 javax/xml/transform/TransformerFactoryConfigurationError.java,
7358 javax/xml/transform/URIResolver.java,
7359 javax/xml/transform/package.html,
7360 javax/xml/transform/dom/DOMLocator.java,
7361 javax/xml/transform/dom/DOMResult.java,
7362 javax/xml/transform/dom/DOMSource.java,
7363 javax/xml/transform/dom/package.html,
7364 javax/xml/transform/sax/SAXResult.java,
7365 javax/xml/transform/sax/SAXSource.java,
7366 javax/xml/transform/sax/SAXTransformerFactory.java,
7367 javax/xml/transform/sax/TemplatesHandler.java,
7368 javax/xml/transform/sax/TransformerHandler.java,
7369 javax/xml/transform/sax/package.html,
7370 javax/xml/transform/stream/StreamResult.java,
7371 javax/xml/transform/stream/StreamSource.java,
7372 javax/xml/transform/stream/package.html,
7373 javax/xml/validation/Schema.java,
7374 javax/xml/validation/SchemaFactory.java,
7375 javax/xml/validation/TypeInfoProvider.java,
7376 javax/xml/validation/Validator.java,
7377 javax/xml/validation/ValidatorHandler.java,
7378 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7379 javax/xml/xpath/XPathConstants.java,
7380 javax/xml/xpath/XPathException.java,
7381 javax/xml/xpath/XPathExpression.java,
7382 javax/xml/xpath/XPathExpressionException.java,
7383 javax/xml/xpath/XPathFactory.java,
7384 javax/xml/xpath/XPathFactoryConfigurationException.java,
7385 javax/xml/xpath/XPathFunction.java,
7386 javax/xml/xpath/XPathFunctionException.java,
7387 javax/xml/xpath/XPathFunctionResolver.java,
7388 javax/xml/xpath/XPathVariableResolver.java,
7389 javax/xml/xpath/package.html: New files, from GNU JAXP.
7390 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7391 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7392 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7393 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7394 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7395 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7396 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7397 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7398 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7399 org/w3c/dom/ranges/DocumentRange.java,
7400 org/w3c/dom/ranges/Range.java,
7401 org/w3c/dom/ranges/RangeException.java,
7402 org/w3c/dom/traversal/DocumentTraversal.java,
7403 org/w3c/dom/traversal/NodeFilter.java,
7404 org/w3c/dom/traversal/NodeIterator.java,
7405 org/w3c/dom/traversal/TreeWalker.java,
7406 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7407 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7408 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7409 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7410 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7411 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7412 org/xml/sax/SAXNotRecognizedException.java,
7413 org/xml/sax/SAXNotSupportedException.java,
7414 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7415 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7416 org/xml/sax/ext/DeclHandler.java,
7417 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7418 org/xml/sax/helpers/AttributeListImpl.java,
7419 org/xml/sax/helpers/AttributesImpl.java,
7420 org/xml/sax/helpers/DefaultHandler.java,
7421 org/xml/sax/helpers/LocatorImpl.java,
7422 org/xml/sax/helpers/NamespaceSupport.java,
7423 org/xml/sax/helpers/NewInstance.java,
7424 org/xml/sax/helpers/ParserAdapter.java,
7425 org/xml/sax/helpers/ParserFactory.java,
7426 org/xml/sax/helpers/XMLFilterImpl.java,
7427 org/xml/sax/helpers/XMLReaderAdapter.java,
7428 org/xml/sax/helpers/XMLReaderFactory.java,
7429 org/xml/sax/helpers/package.html: Moved to external/.
7430 * external/sax/README,
7431 external/sax/org/xml/sax/AttributeList.java,
7432 external/sax/org/xml/sax/Attributes.java,
7433 external/sax/org/xml/sax/ContentHandler.java,
7434 external/sax/org/xml/sax/DTDHandler.java,
7435 external/sax/org/xml/sax/DocumentHandler.java,
7436 external/sax/org/xml/sax/EntityResolver.java,
7437 external/sax/org/xml/sax/ErrorHandler.java,
7438 external/sax/org/xml/sax/HandlerBase.java,
7439 external/sax/org/xml/sax/InputSource.java,
7440 external/sax/org/xml/sax/Locator.java,
7441 external/sax/org/xml/sax/Parser.java,
7442 external/sax/org/xml/sax/SAXException.java,
7443 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7444 external/sax/org/xml/sax/SAXNotSupportedException.java,
7445 external/sax/org/xml/sax/SAXParseException.java,
7446 external/sax/org/xml/sax/XMLFilter.java,
7447 external/sax/org/xml/sax/XMLReader.java,
7448 external/sax/org/xml/sax/package.html,
7449 external/sax/org/xml/sax/ext/Attributes2.java,
7450 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7451 external/sax/org/xml/sax/ext/DeclHandler.java,
7452 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7453 external/sax/org/xml/sax/ext/EntityResolver2.java,
7454 external/sax/org/xml/sax/ext/LexicalHandler.java,
7455 external/sax/org/xml/sax/ext/Locator2.java,
7456 external/sax/org/xml/sax/ext/Locator2Impl.java,
7457 external/sax/org/xml/sax/ext/package.html,
7458 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7459 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7460 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7461 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7462 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7463 external/sax/org/xml/sax/helpers/NewInstance.java,
7464 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7465 external/sax/org/xml/sax/helpers/ParserFactory.java,
7466 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7467 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7468 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7469 external/sax/org/xml/sax/helpers/package.html,
7470 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7471 external/w3c_dom/org/w3c/dom/Attr.java,
7472 external/w3c_dom/org/w3c/dom/CDATASection.java,
7473 external/w3c_dom/org/w3c/dom/CharacterData.java,
7474 external/w3c_dom/org/w3c/dom/Comment.java,
7475 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7476 external/w3c_dom/org/w3c/dom/DOMError.java,
7477 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7478 external/w3c_dom/org/w3c/dom/DOMException.java,
7479 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7480 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7481 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7482 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7483 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7484 external/w3c_dom/org/w3c/dom/Document.java,
7485 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7486 external/w3c_dom/org/w3c/dom/DocumentType.java,
7487 external/w3c_dom/org/w3c/dom/Element.java,
7488 external/w3c_dom/org/w3c/dom/Entity.java,
7489 external/w3c_dom/org/w3c/dom/EntityReference.java,
7490 external/w3c_dom/org/w3c/dom/NameList.java,
7491 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7492 external/w3c_dom/org/w3c/dom/Node.java,
7493 external/w3c_dom/org/w3c/dom/NodeList.java,
7494 external/w3c_dom/org/w3c/dom/Notation.java,
7495 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7496 external/w3c_dom/org/w3c/dom/Text.java,
7497 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7498 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7499 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7500 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7501 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7502 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7503 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7504 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7505 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7506 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7507 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7508 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7509 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7510 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7511 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7512 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7513 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7514 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7515 external/w3c_dom/org/w3c/dom/css/Counter.java,
7516 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7517 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7518 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7519 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7520 external/w3c_dom/org/w3c/dom/css/Rect.java,
7521 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7522 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7523 external/w3c_dom/org/w3c/dom/events/Event.java,
7524 external/w3c_dom/org/w3c/dom/events/EventException.java,
7525 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7526 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7527 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7528 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7529 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7530 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7531 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7532 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7533 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7534 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7535 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7536 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7537 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7538 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7539 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7540 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7541 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7542 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7543 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7544 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7545 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7546 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7547 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7548 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7549 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7550 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7551 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7552 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7553 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7554 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7555 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7556 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7557 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7558 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7559 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7560 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7561 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7562 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7563 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7564 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7565 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7566 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7567 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7568 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7569 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7570 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7571 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7572 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7573 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7574 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7575 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7576 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7577 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7578 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7579 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7580 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7581 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7582 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7583 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7584 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7585 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7586 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7587 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7588 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7589 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7590 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7591 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7592 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7593 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7594 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7595 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7596 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7597 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7598 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7599 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7600 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7601 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7602 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7603 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7604 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7605 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7606 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7607 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7608 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7609 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7610 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7611 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7612 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7613 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7614 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7615 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7616 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7619 2005-01-31 Anthony Green <green@redhat.com>
7621 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7622 Support IP_MULTICAST_LOOP.
7623 (setOption): Support IP_MULTICAST_LOOP.
7625 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7626 SO_REUSEADDR support.
7627 (getOption): Support SO_REUSEADDR.
7629 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7632 * java/util/Date.java
7633 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7635 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7637 (getTimezoneOffset): Inverted sign.
7639 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7641 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7642 remove other passing tests and add new XFAILs.
7644 2005-01-24 Tom Tromey <tromey@redhat.com>
7646 * java/lang/Class.h (next): Updated documentation. Renamed to
7648 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7649 _Jv_CheckABIVersion.
7650 (_Jv_RegisterClasses_Counted): Likewise.
7651 (_Jv_RegisterClassHookDefault): Fix starting condition of
7652 duplicate-checking loop.
7653 * include/jvm.h (GCJ_VERSION): New define.
7654 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7655 (_Jv_CheckABIVersion): New function.
7657 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7659 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7660 (libgij_la_LDFLAGS): Add.
7661 * Makefile.in: Rebuilt.
7663 2005-01-24 Roger Sayle <roger@eyesopen.com>
7666 * testsuite/libjava.compile/PR19295.java: New test case.
7668 2005-01-19 Tom Tromey <tromey@redhat.com>
7670 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7671 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7672 if 'handler' is valid.
7674 2005-01-17 Tom Tromey <tromey@redhat.com>
7676 * java/text/MessageFormat.java (scanString): Changed how quoting
7678 (scanFormatElement): Likewise.
7680 2004-12-07 Mark Wielaard <mark@klomp.org>
7682 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7684 2005-01-15 Michael Koch <konqueror@gmx.de>
7688 (AUTHORITY_REGEXP): New regexp constant.
7689 (AUTHORITY_USERINFO_GROUP): New constant.
7690 (AUTHORITY_HOST_GROUP): Likewise.
7691 (AUTHORITY_PORT_GROUP): Likewise.
7692 (port): Changed default value to -1.
7693 (parseURI): Parse authority part and initialize host,
7696 2005-01-14 Robin Green <greenrd@greenrd.org>
7698 * java/io/File.java (toURI): Generate a URI which we understand.
7700 2005-01-13 Graydon Hoare <graydon@redhat.com>
7702 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7703 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7704 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7705 * jni.cc: Reuse bottom frame between calls, avoid clearing
7706 frame when no local references are made.
7708 2005-01-13 Michael Koch <konqueror@gmx.de>
7711 * java/lang/Thread.java
7712 (Thread): Call checkAccess().
7713 (stop): Fixed argument name to match javadoc.
7714 * java/lang/natThread.cc
7715 (interrupt): Call checkAccess().
7718 2005-01-11 Michael Koch <konqueror@gmx.de>
7721 * java/net/URL.java (URL): Handle specs like
7722 "/redir?http://domain2.com/index.html" which start with a slash.
7724 2005-01-11 Michael Koch <konqueror@gmx.de>
7726 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7727 * gnu/java/net/BASE64.java,
7728 gnu/java/net/EmptyX509TrustManager.java,
7729 gnu/java/net/LineInputStream.java,
7730 gnu/java/net/protocol/http/Authenticator.java,
7731 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7732 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7733 gnu/java/net/protocol/http/ChunkedInputStream.java,
7734 gnu/java/net/protocol/http/Cookie.java,
7735 gnu/java/net/protocol/http/CookieManager.java,
7736 gnu/java/net/protocol/http/Credentials.java,
7737 gnu/java/net/protocol/http/HTTPConnection.java,
7738 gnu/java/net/protocol/http/HTTPDateFormat.java,
7739 gnu/java/net/protocol/http/HTTPURLConnection.java,
7740 gnu/java/net/protocol/http/Headers.java,
7741 gnu/java/net/protocol/http/Request.java,
7742 gnu/java/net/protocol/http/RequestBodyWriter.java,
7743 gnu/java/net/protocol/http/Response.java,
7744 gnu/java/net/protocol/http/ResponseBodyReader.java,
7745 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7746 gnu/java/net/protocol/http/SimpleCookieManager.java,
7747 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7748 gnu/java/net/protocol/http/event/ConnectionListener.java,
7749 gnu/java/net/protocol/http/event/RequestEvent.java,
7750 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7751 * gnu/java/net/protocol/http/Connection.java: Removed.
7752 * gnu/java/net/protocol/http/Handler.java,
7753 javax/net/ssl/HttpsURLConnection.java: Updated.
7754 * Makefile.am: Added new files and remove old ones.
7755 * Makefile.in: Regenerated.
7757 2005-01-11 Tom Tromey <tromey@redhat.com>
7760 * java/io/BufferedInputStream.java (read): Repeatedly read to
7762 (refill): Change test to see if buffer must be grown.
7764 2005-01-10 Tom Tromey <tromey@redhat.com>
7766 * mauve-libgcj: Exclude some swing tests.
7768 2005-01-10 Tom Tromey <tromey@redhat.com>
7770 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7771 * java/lang/Package.java (getPackages): Use VMClassLoader when
7773 (getPackage): Likewise.
7774 * prims.cc (_Jv_CreateJavaVM): Call
7775 _Jv_RegisterBootstrapPackages.
7776 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7777 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7778 (getPackages): Likewise.
7779 (definedPackages): New field.
7780 (definePackageForNative): New method.
7781 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7782 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7783 * defineclass.cc (handleClassBegin): Use
7784 ClassLoader.findLoadedClass.
7785 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7787 (struct _Jv_LoaderInfo): Removed.
7788 (initiated_classes): Likewise.
7789 (_Jv_UnregisterClass): Don't use initiated_classes.
7790 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7791 (_Jv_FindClass): Register classes found during boostrap.
7792 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7793 (bootstrap_class_list): New global.
7794 (bootstrap_index): Likewise.
7795 (_Jv_RegisterBootstrapPackages): New function.
7796 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7797 definePackageForNative.
7798 (findClass): Updated.
7799 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7802 2005-01-10 Tom Tromey <tromey@redhat.com>
7805 * include/jvm.h (_Jv_Linker::find_field): Declare.
7806 (_Jv_Linker::find_field_helper): Likewise.
7807 * link.cc (find_field_helper): New method.
7808 (find_field): Likewise.
7809 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7811 (link_symbol_table): Use find_field.
7813 2005-01-10 Michael Koch <konqueror@gmx.de>
7816 * java/util/Locale.java (Locale): Don't uppercase variant.
7817 (getISOCountries): Fixed typo in javadoc.
7819 2005-01-10 Michael Koch <konqueror@gmx.de>
7821 * java/util/SimpleTimeZone.java (checkRule):
7822 Throw IllegalArgumentException on invalid month values.
7823 * java/util/TimeZone.java (setID):
7824 Throw NullPointerException if needed.
7826 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7828 * java/util/SimpleTimeZone.java (getOffset):
7829 offset end date with daylight savings
7831 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7833 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7834 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7836 2005-01-09 Michael Koch <konqueror@gmx.de>
7839 * java/net/InetAddress.java (getLocalHost):
7840 Throw UnknownHostException if local hostname cannot be determined.
7842 2005-01-06 Tom Tromey <tromey@redhat.com>
7844 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7846 2005-01-07 Michael Koch <konqueror@gmx.de>
7849 * java/nio/Buffer.java (address): New field.
7850 * java/nio/DirectByteBufferImpl.java (address): Removed.
7851 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7852 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7853 Explicitly initialize Buffer.address if needed.
7854 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7855 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7856 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7857 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7858 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7859 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7860 DirectByteBufferImpl object.
7861 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7862 * testsuite/libjava.jni/directbuffer.c,
7863 testsuite/libjava.jni/directbuffer.java,
7864 testsuite/libjava.jni/directbuffer.out,
7865 testsuite/libjava.jni/bytebuffer.c,
7866 testsuite/libjava.jni/bytebuffer.java,
7867 testsuite/libjava.jni/bytebuffer.out: New files.
7869 2005-01-05 Tom Tromey <tromey@redhat.com>
7871 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7873 (compressedSize): Now 'long'. Default to -1.
7874 (getCompressedSize): Rewrote.
7875 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7876 deflate at all if we need input.
7878 2005-01-05 Tom Tromey <tromey@redhat.com>
7881 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7884 2005-01-05 Tom Tromey <tromey@redhat.com>
7886 * java/lang/natRuntime.cc (insertSystemProperties): Set
7887 java.ext.dirs earlier.
7889 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7891 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7892 sync_info element of the object if needed.
7894 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7896 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7897 a non-zero exit status from 'false'.
7899 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7901 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.