1 2005-06-27 Tom Tromey <tromey@redhat.com>
3 PR java/21540, PR java/13788:
4 * testsuite/libjava.compile/pr21540.java: New file.
5 * testsuite/libjava.compile/pr13788.java: New file.
6 * testsuite/libjava.jacks/jacks.xfail: Updated.
8 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
10 * testsuite/libjava.mauve/xfails: Updated to reflect current state
13 2005-06-24 Tom Tromey <tromey@redhat.com>
15 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
16 where class' name is NULL.
17 (_Jv_FindClass): Don't wait for class state.
18 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
20 * include/java-interp.h (_Jv_DefineClass): Updated.
21 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
22 (struct _Jv_ClassReader): Likewise.
23 (found_name): New field.
24 (handleClassBegin): Set *found_name.
25 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
26 (handleClassBegin): Throw error if super class not set.
27 (read_methods): Correctly call check_tag and prepare_pool_entry.
29 2005-06-24 Tom Tromey <tromey@redhat.com>
31 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
33 2005-06-24 Tom Tromey <tromey@redhat.com>
35 * verify.cc (verify_instructions_0): Correctly handle situation
36 where PC falls off end.
38 2005-06-24 Tom Tromey <tromey@redhat.com>
40 * interpret.cc (compile): Handle case where table entry is
43 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
45 * testsuite/libjava.compile/PR20697.java: New test-case.
47 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
49 * Makefile.am (SUBDIRS): Use append for conditional.
50 (toolexeclib_LTLIBRARIES): Likewise.
51 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
53 * Makefile.in: Regenerate.
55 2005-06-17 Keith Seitz <keiths@redhat.com>
57 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
58 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
59 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
61 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
62 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
64 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
65 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
66 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
67 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
69 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
70 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
72 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
74 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
75 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
76 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
77 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
78 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
79 * Makefile.in: Regenerate.
81 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
83 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
84 (USING_POSIX_PLATFORM): ... here.
85 * Makefile.am: Delete USING_ECOS_PLATFORM.
86 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
87 external/Makefile.in, external/sax/Makefile.in,
88 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
90 2005-06-15 Tom Tromey <tromey@redhat.com>
93 * testsuite/libjava.lang/pr17536.java: New file.
94 * testsuite/libjava.lang/pr17536.out: New file.
96 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
99 * gnu/java/net/protocol/http/HTTPURLConnection.java
100 (getHeaderFieldKey): Check index.
102 2005-06-15 Tom Tromey <tromey@redhat.com>
105 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
107 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
108 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
110 (append_partial_itable): Use it.
111 (set_vtable_entries): Likewise.
113 2005-06-15 Tom Tromey <tromey@redhat.com>
115 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
116 last_was_sep in loop.
118 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
120 * configure.host: Handle Solaris 10/x86.
122 2005-06-14 Keith Seitz <keiths@redhat.com>
124 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
125 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
127 2005-06-14 Keith Seitz <keiths@redhat.com>
129 * gnu/classpath/jdwp/id/ArrayId.java: New file.
130 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
131 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
132 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
133 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
134 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
135 * gnu/classpath/jdwp/id/JdwpId.java: New file.
136 * gnu/classpath/jdwp/id/ObjectId.java: New file.
137 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
138 * gnu/classpath/jdwp/id/StringId.java: New file.
139 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
140 * gnu/classpath/jdwp/id/ThreadId.java: New file.
142 2005-06-14 Tom Tromey <tromey@redhat.com>
145 * configure, aclocal.m4, Makefile.in: Rebuilt.
147 2005-06-14 Tom Tromey <tromey@redhat.com>
149 * java/lang/Class.java (getClasses): New method.
150 (internalGetClasses): Likewise.
151 (getClassLoader): Updated documentation.
152 (getDeclaredClasses): New overload; old overload no longer
154 (_getConstructors): Removed.
155 (resourcePath): Updated.
156 * java/lang/natClass.cc (getClasses): Removed.
157 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
159 (_getConstructors): Removed.
161 2005-06-13 Jim Huang <jserv@kaffe.org>
164 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
165 (_Jv_JNI_NewObject): Likewise.
167 2005-06-13 Tom Tromey <tromey@redhat.com>
170 * testsuite/libjava.lang/pr21844.java: New file.
171 * testsuite/libjava.lang/pr21844.out: New file.
173 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
176 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
179 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
181 * java/text/MessageFormat.java (parse): When parsing strings, check
182 for an empty pattern trailer.
184 2005-06-06 Keith Seitz <keiths@redhat.com>
186 * gnu/classpath/jdwp/util/Signature.java: New file.
187 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
189 2005-06-05 Anthony Green <green@redhat.com>
191 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
194 2005-06-04 Anthony Green <green@redhat.com>
196 * java/net/URLClassLoader.java: import gnu.gcj.Core,
197 and gnu.java.net.protocol.core.CoreInputStream.
198 (CureURLLoader): New class.
199 (CoreResource): New class.
200 (addURLImpl): Add special treatment for the "core" protocol.
201 * gnu/gcj/natCore.cc (find): New method.
202 * gnu/gcj/Core.java (find): New method.
204 2005-06-03 Keith Seitz <keiths@redhat.com>
206 * gnu/classpath/jdwp/transport/ITransport.java: New file.
207 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
208 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
210 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
212 * jawt.c: Remove malloc.h, covered by stdlib.h.
214 * testsuite/libjava.jni/jni.exp
215 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
218 2005-06-02 Keith Seitz <keiths@redhat.com>
220 * gnu/classpath/jdwp/transport/TransportException.java: New file.
222 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
224 * mauve-libgcj: Remove implemented classes from the fail section.
225 Add two new not implemented to it.
227 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
229 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
230 AC_SUBST definition from configure.host.
231 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
232 to -fomit-frame-pointer on 32-bit x86 targets.
234 2005-06-01 Tom Tromey <tromey@redhat.com>
236 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
238 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
241 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
242 (static): Add possessive matching to JAVA_1_4 syntax.
243 * gnu/regexp/RETokenRepeated.java (possessive): New field.
244 (makePossessive, isPossessive): New methods.
245 (match): Don't back off during possessive matching.
246 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
247 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
250 2005-06-01 Keith Seitz <keiths@redhat.com>
252 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
253 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
254 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
256 2005-06-01 Tom Tromey <tromey@redhat.com>
259 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
260 (currentLoader): New method.
261 * java/io/ObjectInputStream.java (resolveProxyClass): Use
263 (currentLoader): Now native.
264 (currentClassLoader): Removed.
265 * testsuite/libjava.lang/pr21785.java: New file.
266 * testsuite/libjava.lang/pr21785.out: New file.
268 2005-06-01 Tom Tromey <tromey@redhat.com>
271 * java/lang/natString.cc (substring): Changed sharing heuristic.
273 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
276 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
277 MAXPATHLEN. Format exception message using a StringBuffer instead.
279 2005-05-29 Michael Koch <konqueror@gmx.de>
282 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
284 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
286 * ChangeLog: Fix typo.
288 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
290 Testsuite adjustments for PR java/19870.
291 * testsuite/libjava.lang/PR19870.java: New testcase.
292 * testsuite/libjava.lang/PR19870.out: Expected output for the
294 * testsuite/libjava.jacks/jacks.xfail: Add
295 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
298 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
300 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
301 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
302 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
304 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
305 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
306 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
307 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
309 2005-05-25 Richard Henderson <rth@redhat.com>
312 * sysdep/descriptor-n.h: New file.
313 * sysdep/descriptor-y.h: New file.
314 * sysdep/powerpc/descriptor.h: New file.
315 * configure.host: Set $descriptor_h appropriate for the host.
316 * configure.ac: Link it.
317 * configure: Regenerate.
318 * stacktrace.cc: Include sysdep/descriptor.h.
319 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
321 2005-05-25 Chris Burdess <dog@gnu.org>
323 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
324 end entity callbacks.
326 2005-05-24 Gary Benson <gbenson@redhat.com>
329 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
330 Handle DateFormat.DEFAULT case correctly.
332 2005-05-21 Tom Tromey <tromey@redhat.com>
335 * java/lang/ref/natReference.cc (find_slot): Handle case where
336 table has no NULL entries.
337 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
338 table has no NULL entries.
340 2005-05-22 Andreas Jaeger <aj@suse.de>
342 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
345 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
347 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
349 2005-05-19 Richard Henderson <rth@redhat.com>
351 * exception.cc: Revert 05-17 gcc_unreachable change.
353 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
355 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
356 _Jv_RegisterInitiatingLoader to register array classes, not
358 (_Jv_RegisterInitiatingLoader): Give up if called very early during
359 bootstrapping. Add a FIXME to handle this case better.
361 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
363 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
365 (libgcj_la_SOURCES): New. Move sources here.
366 (libgcj.la): Remove rule.
368 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
371 * gnu/java/security/provider/DSASignature.java: Import updates
374 2005-05-18 Anthony Green <green@redhat.com>
376 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
377 classpath_jawt_object_unlock, classpath_jawt_create_lock,
378 classpath_jawt_destroy_lock): New functions.
379 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
380 classpath_jawt_object_unlock, classpath_jawt_create_lock,
381 classpath_jawt_destroy_lock): New functions.
382 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
384 * jawt.c: #include malloc.h.
385 (_Jv_Lock): Use lock.
387 (_Jv_GetDrawingSurface): Initialize lock.
388 (_Jv_FreeDrawingSurface): Destroy lock.
389 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
391 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
393 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
394 * Makefile.in: Regenerate.
396 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
398 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
399 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
400 * aclocal.m4, configure, config.h.in, include/config.h.in,
401 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
402 external/Makefile.in, external/sax/Makefile.in,
403 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
405 2005-05-17 David Daney <ddaney@avtrex.com>
408 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
410 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
412 * exception.cc (abort): Remove std::abort hack.
413 (gcc_unreacheable): Define.
415 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
417 * Makefile.am (Makefile.deps): Do not create native.list and
419 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
420 * Makefile.in: Regenerate.
422 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
424 * configure.ac (--enable-libgcj-multifile): Remove.
426 * Makefile.am (all_native_compiled_source_files,
427 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
428 all_libgcj_lo_files, all_xlib_lo_files,
429 all_java_deps_files, all_java_stamp_files,
430 all_java_filelist_files): New variables.
431 (EXTRA_DIST): New Automake variable.
432 (CLEANFILES): Add .stamp, .list and .lo files.
433 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
434 (classes.stamp): Depend on $(all_java_stamp_files).
435 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
436 going through write_entries_to_file.
438 (all_java_source_files, all_property_files): Move earlier.
439 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
440 all_java_class_files): Remove.
441 (gtk_awt_peer_sources): Rename to...
442 (gtk_awt_peer_source_files): ... this. Adjust throughout.
445 (libgcj0_convenience_la_SOURCES): Remove Java source files.
446 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
447 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
448 (libgcj_la_SOURCES): Remove.
449 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
450 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
451 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
453 * configure: Regenerate.
454 * Makefile.in: Regenerate.
455 * external/Makefile.in: Regenerate.
456 * external/sax/Makefile.in: Regenerate.
457 * external/w3c_dom/Makefile.in: Regenerate.
458 * gcj/Makefile.in: Regenerate.
459 * include/Makefile.in: Regenerate.
460 * libltdl/Makefile.in: Regenerate.
461 * testsuite/Makefile.in: Regenerate.
463 2005-05-16 Tom Tromey <tromey@redhat.com>
465 * java/nio/charset/Charset.java (encode, decode): Synchronize on
466 'this', not the class.
468 2005-05-16 Tom Tromey <tromey@redhat.com>
470 * gnu/java/net/protocol/http/Headers.java (parse): Include final
473 2005-05-16 Tom Tromey <tromey@redhat.com>
476 * java/net/URI.java (unquote): Handle lower-case letters as well.
478 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
481 * gnu/regexp/RE.java: Add support for quoting constructs.
483 2005-05-15 Tom Tromey <tromey@redhat.com>
485 * java/lang/String.java (startsWith): Fixed javadoc.
487 2005-05-15 Tom Tromey <tromey@redhat.com>
490 * testsuite/libjava.compile/pr21519.java: New file.
491 * testsuite/libjava.compile/pr21519.no-link: New file.
493 2005-05-15 Tom Tromey <tromey@redhat.com>
495 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
497 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
500 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
501 interrupt status flag if _Jv_CondWait is interrupted.
503 2005-05-13 Tom Tromey <tromey@redhat.com>
505 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
508 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
510 * include/jvm.h (gcj::verifyClasses): Declare.
511 * link.cc (gcj::verbose_class_flag): Moved.
512 * prims.cc (gcj::verifyClasses): Define here.
513 (gcj::verbose_class_flag): Move definition here.
514 (_Jv_Linker::wait_for_state): Don't call verify_class
515 if gcj::verifyClasses is not set.
516 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
518 2005-05-12 Aaron Luchko <aluchko@redhat.com>
520 * gij.cc (main): Recognize '-verify', '-noverify', and
523 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
525 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
527 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
529 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
532 2005-05-11 Tom Tromey <tromey@redhat.com>
534 * external/w3c_dom/Makefile.in: Rebuilt.
535 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
537 * external/sax/Makefile.in: Rebuilt.
538 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
540 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
542 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
543 Call _Jv_CopyClassesToSystemLoader.
544 * java/lang/natClassLoader.cc (system_class_list): New global.
545 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
547 (_Jv_CopyClassesToSystemLoader): New function.
548 (SYSTEM_LOADER_INITIALIZED): New define.
549 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
550 (_Jv_CheckABIVersion): Use it.
551 (_Jv_ClassForBootstrapLoader): New function.
552 * Makefile.in: Rebuilt.
553 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
555 2005-05-10 Tom Tromey <tromey@redhat.com>
557 * gcj/javaprims.h: Updated.
558 * java/lang/String.java (String(StringBuilder)): New constructor.
559 * java/lang/natStringBuilder.cc: New file.
560 * java/lang/StringBuilder.java: New file.
561 * Makefile.in: Rebuilt.
562 * Makefile.am (core_java_source_files): Added StringBuilder.java.
563 (nat_source_files): Added natStringBuilder.cc.
565 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
568 * testsuite/libjava.jacks/jacks.xfail: Adjust.
570 2005-05-09 Mike Stump <mrs@apple.com>
572 * configure: Regenerate.
574 2005-05-09 David Daney <ddaney@avtrex.com>
576 * java/util/BitSet.java (get(int, int)): Fix breakage when
577 requested set doesn't start on a multiple of 64.
579 2005-05-07 Matthias Klose <doko@debian.org>
581 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
583 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
585 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
586 * Makefile.in: Regenerate.
587 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
588 (createCompatibleVolatileImage(int,int)): Implement.
589 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
591 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
593 (createVolatileImage): Implement.
594 (createBuffers): Likewise.
595 (getBackBuffer): Likewise.
597 (destroyBuffers): Likewise.
598 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
599 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
600 (CanvasFlipBufferStrategy): Likewise.
601 (createBufferStrategy(int)): New method.
602 (createBufferStrategy(int,BufferCapabilities)): Likewise.
603 * java/awt/Component.java (BltBufferStrategy): Implement and
605 (FlipBufferStrategy): Likewise.
606 * java/awt/Window.java (WindowBltBufferStrategy): New class.
607 (WindowFlipBufferStrategy): Likewise.
608 (createBufferStrategy(int)): New method.
609 (createBufferStrategy(int,BufferCapabilities)): Likewise.
610 (getBufferStrategy): Likewise.
611 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
612 front to frontCaps and back to backCaps.
614 2005-05-06 Michael Koch <konqueror@gmx.de>
616 * java/awt/BufferCapabilities.java
617 (BufferCapabilities): Merged javadoc.
619 2005-05-06 Michael Koch <konqueror@gmx.de>
621 * java/util/Locale.java
622 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
623 (getLocale): New methods. Use it everywhere where instances of Locales
625 (getDisplayLanguage): Merged javadoc.
626 (getDisplayCountry): Likewise.
627 (getDisplayVariant): Likewise.
629 2005-05-06 Archie Cobbs <archie@dellroad.org>
631 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
632 use DeleteLocalRef() to avoid exhausting local native references.
634 2005-05-06 Mark Wielaard <mark@klomp.org>
636 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
637 (window_delete_cb): Don't use C++ style comments.
639 2005-05-06 Robert Schuster <thebohemian@gmx.net>
641 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
644 2005-05-06 Robert Schuster <thebohemian@gmx.net>
646 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
647 (window_delete_cb): Made the function return TRUE.
649 2005-05-06 Roman Kennke <roman@kennke.org>
651 * javax/swing/text/PlainView.java
652 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
654 * javax/swing/text/Utilities.java
655 (drawTabbedText): Initilialize local variable pos correctly.
657 2005-05-06 Roman Kennke <roman@kennke.org>
659 * javax/swing/text/AbstractDocument.java
660 (LeafElement): Made start and end package private fields for
661 effective reindexing.
662 * javax/swing/text/PlainDocument.java
663 (constructor): The field rootElement is always BranchElement,
664 so we handle it as such.
665 (removeUpdate): Rewritten reindexing for removeUpdate so that
666 the actual removal is taken into account.
668 2005-05-06 Roman Kennke <roman@kennke.org>
670 * javax/swing/text/GapContent.java:
671 Removed debugging output stuff, which I accidentally left in.
673 2005-05-06 Roman Kennke <roman@kennke.org>
675 * javax/swing/text/GapContent.java:
676 Implemented a real GapContent. Only the public methods have
677 been implemented so far and still no UndoableEdit support.
679 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
681 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
684 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
686 * java/awt/image/BufferStrategy.java: Document.
688 * java/awt/BufferCapabilities.java: Document.
690 2005-05-04 Tom Tromey <tromey@redhat.com>
692 * java/nio/channels/FileLock.java (toString): Entirely avoid
695 2005-05-04 Andrew Overholt <overholt@redhat.com>
697 * java/nio/channels/FileLock.java (toString): Re-implement using
700 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
702 * java/awt/ImageCapabilities.java: Document.
704 * java/awt/image/VolatileImage.java: Unindent copyright header.
706 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
708 * java/awt/image/VolatileImage.java: Document.
710 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
713 (init_glib_threads): Check if threading system is already
716 2005-05-03 Andrew Overholt <overholt@redhat.com>
719 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
720 could not be acquired.
721 * java/nio/channels/FileLock.java (toString): Re-implement to be
722 in line with other implementations.
724 2005-05-03 Tom Tromey <tromey@redhat.com>
726 * java/lang/VMSecurityManager.java (currentClassLoader): Use
727 'systemClasssLoader' directly.
729 2005-05-03 Tom Tromey <tromey@redhat.com>
731 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
732 call VMClassLoader.getSystemClassLoader.
734 2005-04-29 Michael Koch <konqueror@gmx.de>
736 * java/net/NetworkInterface.java
738 (NetworkInterface(String,InetAddress)): Made package-private.
739 (NetworkInterface(String,InetAddress[])): New constructor.
740 (getRealNetworkInterfaces): Removed.
741 (getByName): Use VMNetworkInterface.getInterfaces().
742 (getByInetAddress): Likewise.
743 (getNetworkInterfaces): Likewise.
744 * java/net/VMNetworkInterface.java,
745 java/net/natVMNetworkInterfaceNoNet.cc,
746 java/net/natVMNetworkInterfacePosix.c,c
747 java/net/natVMNetworkInterfaceWin32.cc: New files.
748 * java/net/natNetworkInterfaceNoNet.cc,
749 java/net/natNetworkInterfacePosix.cc,
750 java/net/natNetworkInterfaceWin32.cc: Removed.
753 * configure, Makefile.in: Regenerated.
755 2005-04-29 Andrew Haley <aph@redhat.com>
757 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
759 2005-04-29 Dalibor Topic <robilad@kaffe.org>
761 * java/nio/channels/FileChannelImpl.java
762 (FileChannelImpl(String, int)): Removed.
763 (FileChannelImpl(File, int)): Added. Check if opened file is a
765 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
766 Call FileChannelImpl(File, int).
767 * java/io/FileOutputStream.java (FileInputStream): Call
768 FileChannelImpl(File, int).
769 * java/io/RandomAccessFile.java (RandomAccessFile):
770 Call FileChannelImpl(File, int). Switched constructors around.
772 2005-04-27 Andrew Haley <aph@redhat.com>
775 * prims.cc (_Jv_ResolvePoolEntry): New function.
776 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
777 * link.cc (_Jv_Linker::find_field): New arg: found_class.
778 (resolve_pool_entry): Initialize the class in which a field is
780 (link_symbol_table): Pass new arg to found_class.
782 2005-04-29 Michael Koch <konqueror@gmx.de>
784 * java/nio/charset/Charset.java
785 (provider): Reformatted.
787 2005-04-29 Michael Koch <konqueror@gmx.de>
789 * gnu/java/net/protocol/http/HTTPConnection.java:
790 (userAgent): Initialize from system properties.
791 (initUserAgent): Removed.
793 2005-04-29 Mark Wielaard <mark@klomp.org>
795 * java/util/ResourceBundle.java (getObject): Clarify
796 MissingResourceException detailed message.
797 (tryBundle(String,ClassLoader)): Likewise.
799 2005-04-29 Robert Schuster <thebohemian@gmx.net>
801 * java/beans/FeatureDescriptor.java:
802 (getShortDescription): Implemented fallback mechanism and fixed
803 documentation (fixes bug #12637).
804 (getDisplayName): Dito.
806 2005-04-29 Robert Schuster <thebohemian@gmx.net>
808 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
809 will now be set correctly.
810 (flushCaches): Now flushes all cached intermediate data.
812 2005-04-28 Michael Koch <konqueror@gmx.de>
814 * java/net/InetAddress.java
815 (aton): Fixed javadoc.
818 2005-04-28 Tom Tromey <tromey@redhat.com>
820 * javax/swing/Timer.java
821 (drainEvents, queueEvent): Now package-private.
823 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
825 * javax/swing/Timer.java
826 (constructor): Assigning initialDelay.
828 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
830 * javax/swing/Timer.java
831 (Waker.run): firing the first action event.
833 2005-04-28 Michael Koch <konqueror@gmx.de>
835 * javax/swing/Timer.java: Reordered all fields and methods,
838 2005-04-28 Michael Koch <konqueror@gmx.de>
840 * javax/swing/Timer.java: Javadocs merged
843 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
845 * gnu/java/net/protocol/file/Connection.java
846 (StaticData): New inner class to contain statics.
847 (connect, getHeaderField): Modified to use StaticData.
849 2005-04-28 Michael Koch <konqueror@gmx.de>
851 * gnu/java/net/protocol/file/Connection.java
852 (lineSeparator): Initialize with SystemProperties.getProperty().
854 2005-04-27 Chris Burdess <dog@gnu.org>
856 * gnu/java/net/protocol/file/Connection.java: Return correct content
857 length for directory listing.
858 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
859 #11285: return valid URLs for directories.i
861 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
863 * Makefile.am (ordinary_java_source_files): Add
864 gnu/java/net/protocol/https/Handler.java.
865 * Makefile.in: Regenerate.
866 * java/net/URL.java: Remove org.metastatic.jessie from default
867 protocol search path.
869 2005-04-27 Chris Burdess <dog@gnu.org>
871 * gnu/java/net/protocol/https/Handler.java: New file.
873 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
875 * javax/imageio/spi/IIORegistry.java (IIORegistry):
876 Don't assume that awt Toolkit is always ClasspathToolkit.
878 2005-04-27 Chris Burdess <dog@gnu.org>
880 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
881 absolute and relative paths in Location header.
883 2005-04-27 Chris Burdess <dog@gnu.org>
885 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
886 FileNotFoundException and implement getErrorStream on 404.
888 2005-04-27 Sven de Marothy <sven@physto.se>
890 * java/util/TimeZone.java,
891 (getDefaultDisplayName): Fix previous fix.
893 2005-04-27 Sven de Marothy <sven@physto.se>
895 * java/util/TimeZone.java,
896 (getDefaultDisplayName): Don't print zero offsets.
898 2005-04-27 Roman Kennke <roman@kennke.org>
900 * javax/swing/plaf/basic/BasicScrollBarUI
901 (getThumbBounds): Do not make thumb smaller than
903 * javax/swing/plaf/metal/MetalLookAndFeel
904 (initComponentDefaults): Added color defaults for ScrollBar.
905 * javax/swing/plaf/metal/MetalScrollBarUI
907 (getMinimumThumbSize): Added.
909 2005-04-27 Roman Kennke <roman@kennke.org>
911 * javax/swing/plaf/metal/MetalLookAndFeel
912 (initComponentDefaults): Added some default colors.
914 2005-04-27 Roman Kennke <roman@kennke.org>
916 * javax/swing/plaf/basic/BasicScrollBarUI.java
917 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
918 to 'ScrollBar.thumbShadow'. The formes does not exist.
919 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
921 2005-04-27 Roman Kennke <roman@kennke.org>
923 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
924 * javax/swing/BoxLayout.java: Likewise.
925 * javax/swing/UIManager.java: Likewise.
926 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
927 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
928 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
929 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
930 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
931 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
932 * javax/swing/text/Document.java: Likewise.
933 * javax/swing/text/GapContent.java: Likewise.
934 * javax/swing/text/SimpleAttributeSet.java: Likewise.
935 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
937 2005-04-27 Roman Kennke <roman@kennke.org>
939 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
940 (getPropertyPrefix): Added.
942 2005-04-27 Roman Kennke <roman@kennke.org>
944 * javax/swing/plaf/basic/BasicButtonUI.java
945 (getPropertyPrefix): Added.
946 (installDefaults): Use getPropertyPrefix instead of hard-coded
949 2005-04-27 Roman Kennke <roman@kennke.org>
951 * javax/swing/JToggleButton.java
952 (JToggleButton): Removed horizontalAlignment setting, this
953 was wrong. Added setting of an actionCommand, ToggleButtons
954 have "" as default actionCommand.
956 2005-04-27 Michael Koch <konqueror@gmx.de>
958 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
959 to work around CNI limitation.
961 2005-04-27 Sven de Marothy <sven@physto.se>
963 * java/nio/charset/Charset.java:
964 (defaultCharset()): New method.
965 Status updated to 1.5
967 2005-04-27 Sven de Marothy <sven@physto.se>
969 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
971 2005-04-27 Sven de Marothy <sven@physto.se>
973 * java/nio/charset/Charset.java: Reset cached de/encoders.
975 2005-04-27 Robert Schuster <thebohemian@gmx.net>
977 * java/nio/charset/Charset.java (forName): Throws
978 IllegalArgumentException when argument is null
979 and added documentation.
981 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
983 * java/nio/charset/Charset.java (providers):
984 New method to make an array of CharsetProviders defined in
985 META-INF/services/java.nio.charset.spi.CharsetProvider.
986 (charsetForName, availableCharsets): Use the
987 new method providers().
989 2005-04-26 Michael Koch <konqueror@gmx.de>
991 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
992 Fixed typos in javadocs.
993 (isSiteLocalAddress): Fixed handling of byte values.
994 (isMCLinkLocal): Likewise.
995 * java/net/Inet4Address.java
996 (isMulticastAddress): Call super method.
997 (isLoopbackAddress): Likewise.
998 (isAnyLocalAddress): Likewise.
999 (isLinkLocalAddress): Likewise.
1000 (isSiteLocalAddress): Likewise.
1001 (isMCGlobal): Likewise.
1002 (isMCNodeLocal): Likewise.
1003 (isMCLinkLocal): Likewise.
1004 (isMCSiteLocal): Likewise.
1005 (isMCOrgLocal): Likewise.
1006 (getHostAddress): Likewise.
1008 2005-04-26 Sven de Marothy <sven@physto.se>
1010 * java/net/InetAddress.java
1011 (toString): Don't print empty hostnames.
1013 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1016 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1017 'false' to native lock().
1018 (lock): Pass 'true' to native lock().
1020 2005-04-26 Michael Koch <konqueror@gmx.de>
1022 * java/net/InetAddress.java:
1023 Fixed typos in javadocs.
1025 2005-04-26 Andrew Haley <aph@redhat.com>
1028 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1031 2005-04-26 Tom Tromey <tromey@redhat.com>
1033 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1034 gnu): Now package-private.
1035 * javax/swing/text/html/parser/DocumentParser.java (parser,
1036 callBack, gnu): Now package-private.
1037 * javax/swing/text/StringContent.java (content, setOffset,
1038 checkLocation): Now package-private.
1039 * javax/swing/text/JTextComponent.java (doc): Now
1041 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1042 lastGoodOrientation, origParent, borders, cachedBounds,
1043 cachedOrientation, DragWindow): Now package-private.
1044 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1045 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1046 tabAreaRect, contentRect, createIncreaseButton,
1047 createDecreaseButton, findPointForIndex): Now package-private.
1048 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1049 (currentDividerLocation, moveDividerTo): Now package-private.
1050 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1052 * javax/swing/plaf/basic/BasicScrollBarUI.java
1053 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1054 Now package-private.
1055 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1056 (topWindowListener): Now package-private.
1057 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1058 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1059 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1061 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1063 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1064 Now package-private.
1065 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1067 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1068 borderInsets): Now package-private.
1069 (arrowButtonWidth): Likewise. Now a constant.
1070 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1071 makeTabs, updatePreviewPanel): Now package-private.
1072 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1073 darkShadow, highlight): Now package-private.
1074 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1075 (addColorToQueue): Now package-private.
1076 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1077 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1078 GSpinner, BSpinner): Now package-private.
1079 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1080 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1081 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1082 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1083 updateTrack): Now package-private.
1084 * javax/swing/TransferHandler.java (clipboard): Now
1086 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1088 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1090 * javax/swing/RepaintManager.java (globalManager): Now
1092 * javax/swing/JFormattedTextField.java (editValid): Now
1094 * javax/swing/JColorChooser.java (makeModal): Now
1096 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1097 index, path): Now package-private.
1098 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1099 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1100 pointEquals): Now package-private.
1101 * java/awt/geom/Arc2D.java (type): Now package-private.
1102 * java/awt/Window.java (windowFocusOwner): Now package-private.
1103 * java/awt/TextComponent.java (editable, selectionStart,
1104 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1106 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1108 * java/awt/MenuComponent.java (focusListener): Now
1110 * java/awt/Frame.java (state): Now package-private.
1111 * java/awt/Choice.java (pItems): Now package-private.
1112 * java/awt/Checkbox.java (state): Now package-private.
1113 * java/awt/Button.java (actionCommand, label): Now
1115 * gnu/javax/swing/text/html/parser/support/Parser.java
1116 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1118 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1120 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1121 clip, transform, font, comp): Now package-private.
1123 2005-04-26 Tom Tromey <tromey@redhat.com>
1125 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1128 2005-04-26 Mark Wielaard <mark@klomp.org>
1130 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1131 to MalformedURLException.
1133 2005-04-26 Michael Koch <konqueror@gmx.de>
1135 * java/security/AccessControlContext.java:
1137 (protectedDomains): Renamed from 'protectionDomain'.
1138 * java/security/AccessController.java:
1141 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1143 * gnu/java/security/action/GetSecurityPropertyAction.java
1144 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1145 of extending GetPropertyAction.
1148 (setParamters): New methods.
1149 (GetSecurityPropertyAction): Use new setParameters methods.
1151 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1153 * java/security/Security.java,
1154 java/security/cert/X509CRLSelector.java,
1155 java/security/cert/X509CertSelector.java:
1156 Modified to use SystemProperties.
1158 2005-04-26 Michael Koch <konqueror@gmx.de>
1160 * java/lang/System.java
1161 (setSecurityManager): Fixed comment.
1162 (getSecurityManager): Removed obsolete comment.
1164 2005-04-25 Tom Tromey <tromey@redhat.com>
1166 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1168 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1171 (connectSignals): Realize the window widget after connecting
1174 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1176 * java/awt/GraphicsEnvironment.java
1177 (localGraphicsEnvironment): New field.
1178 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1180 (isHeadless): Added support for java.awt.headless property.
1181 (isHeadlessInstance): Call headless().
1183 2005-04-25 Roman Kennke <roman@kennke.org>
1185 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1186 (getDisplayMode): Added. Returns the current display mode.
1187 (isFullScreenSupported): Added.
1188 * java/awt/GraphicsDevice.java
1189 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1190 This resizes and relocates the fullscreen window so that it uses
1191 the whole screen. This is not a fully accelerated fullscreen
1194 2005-04-25 Michael Koch <konqueror@gmx.de>
1196 * java/lang/Runtime.java,
1197 java/lang/SecurityManager.java,
1198 java/lang/System.java,
1199 java/lang/ThreadGroup.java:
1200 Replaced java.lang.Runtime.securityManager by
1201 java.lang.SecurityManager.current (as used in GNU classpath).
1203 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1205 * java/awt/Transparency.java
1206 (getTransparency): fixed API docs.
1208 2005-04-25 Archie Cobbs <archie@dellroad.org>
1210 * java/lang/Throwable.java: simplify initializing cause in constructor
1212 2005-04-25 Michael Koch <konqueror@gmx.de>
1214 * gnu/classpath/SystemProperties.java: New file.
1215 * gnu/classpath/natSystemProperties.cc: New file.
1216 * java/lang/Runtime.java
1217 (defaultProperties): Removed.
1219 (): Made thrown exceptions more verbose.
1220 (insertSystemProperties): Removed.
1221 * java/lang/System.java
1223 (properties): Likewise.
1224 (setSecurityManager): Reordered modifiers.
1225 (getenv): Improved javadoc.
1227 (isWordsBigEndian): Removed.
1228 * java/lang/natRuntime.cc
1229 (_Jv_SetDLLSearchPath): Likewise.
1230 (file_encoding): Likewise.
1231 (default_file_encoding): Likewise.
1232 (getpwuid_adaptor): Likewise.
1233 (insertSystemProperties): Likewise.
1234 * java/lang/natSystem.cc
1235 (isWordsBigEndian): Likewise.
1237 (ordinary_java_source_files):
1238 Added gnu/classpath/SystemProperties.java.
1239 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1240 * Makefile.in: Regenerated.
1242 2005-04-25 Roman Kennke <roman@kennke.org>
1244 * javax/swing/plaf/basic/BasicScrollBarUI.java
1245 (initDefaults): Initialize thumb*Color fields correctly.
1247 2005-04-25 Roman Kennke <roman@kennke.org>
1249 * javax/swing/text/GapContent.java:
1252 2005-04-25 Roman Kennke <roman@kennke.org>
1254 * javax/swing/plaf/metal/MetalBorders.java:
1255 Added inner class ScrollPaneBorder.
1256 * javax/swing/plaf/metal/MetalLookAndFeel.java
1257 (initComponentDefaults): Added default for "ScrollPane.border"
1258 to use the new ScrollPaneBorder.
1260 2005-04-25 Roman Kennke <roman@kennke.org>
1262 * javax/swing/text/AbstractDocument.java:
1263 Added FIXME comments. This class still has to be
1264 implemented thread-safe.
1266 2005-04-25 Roman Kennke <roman@kennke.org>
1268 * javax/swing/tree/DefaultTreeSelectionModel.java
1269 (DefaultTreeSelectionModel): Initialize listenerList here.
1271 2005-04-25 Roman Kennke <roman@kennke.org>
1273 * javax/swing/plaf/metal/MetalTextFieldUI.java
1274 (createUI): Return one instance per Component instead of a
1277 2005-04-25 Roman Kennke <roman@kennke.org>
1279 * javax/swing/text/Document.java:
1280 Added API documentation comments.
1282 2005-04-25 Roman Kennke <roman@kennke.org>
1284 * javax/swing/text/AbstractDocument.java
1285 (getDocumentProperties): Implemented.
1286 (setDocumentProperties): Implemented.
1287 (getProperty): Implemented.
1288 (putProperty): Implemented.
1290 2005-04-25 Roman Kennke <roman@kennke.org>
1292 * javax/swing/BoxLayout
1293 (preferredLayoutSize): Fixed computation so that it correctly
1294 adds the top and bottom insets of the container.
1296 2005-04-25 Roman Kennke <roman@kennke.org>
1298 * javax/swing/plaf/basic/BasicMenuItemUI.java
1299 (paintText): Make use of the 'selectionForeground' UI default
1302 2005-04-25 Roman Kennke <roman@kennke.org>
1304 * javax/swing/plaf/basic/BasicLookAndFeel.java
1305 (initSystemColorDefaults): Modified colors to match the
1306 BasicLookAndFeel in the reference implementation.
1307 (initComponentDefaults): Likewise.
1309 2005-04-25 Tom Tromey <tromey@redhat.com>
1311 * include/jni.h (_Jv_va_list): Removed.
1312 Moved configuration code...
1313 * include/jni_md.h: ... here. New file.
1314 * include/Makefile.in: Rebuilt.
1315 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1317 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1319 * java/io/FileInputStream.java (FileInputStream(File)),
1320 java/io/FileOutputStream.java (FileOutputStream(File)):
1321 Removed unnecessary File.isDirectory() check.
1323 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1325 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1326 gij if get_multilibs fails.
1328 2005-04-22 Anthony Green <green@redhat.com>
1330 * jni.cc (natrehash): Don't bother clearing memory again.
1331 * interpret.cc (do_allocate_static_fields): Ditto.
1332 * java/lang/natString.cc (rehash): Ditto.
1334 2005-04-22 Roman Kennke <roman@kennke.org>
1336 * javax/swing/plaf/basic/BasicLookAndFeel.java
1337 (initComponentDefaults): Changed Button.border to be
1338 BasicBorders.getButtonBorder as it should be.
1340 2005-04-22 Roman Kennke <roman@kennke.org>
1342 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1343 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1344 should according to a mauve testcase, instead of the preferred
1347 2005-04-22 Roman Kennke <roman@kennke.org>
1349 * javax/swing/JMenu.java
1350 (add): add(Component) now calls PopupMenu.insert(..) instead of
1351 PopupMenu.add(..). add(..) is not implemented for Component,
1352 so JComponent.add(..) is called instead, adding the component
1355 2005-04-22 Roman Kennke <roman@kennke.org>
1357 * javax/swing/plaf/basic/BasicButtonListener.java
1358 (mousePressed): replaced query to getModifiersEx with getModifiers.
1359 This method relied on faulty behaviour in getModifierEx.
1360 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1361 This method relied on faulty behaviour in getModifierEx.
1363 2005-04-22 Roman Kennke <roman@kennke.org>
1365 * javax/swing/plaf/metal/MetalLookAndFeel.java
1366 (getDefaults): Call addCustomEntriesToTable on the theme.
1368 2005-04-22 Roman Kennke <roman@kennke.org>
1370 * javax/swing/tree/DefaultTreeSelectionModel.java
1371 (constructor): Added implementation.
1372 (getRowMapper): Added implementation.
1373 (setSelectionMode): Added implementation.
1374 (getSelectionMode): Added implementation.
1375 (getSelectionPath): Added implementation.
1376 (getSelectionPaths): Added implementation.
1377 (getSelectionCount): Added implementation.
1378 (isSelectionEmpty): Added implementation.
1379 (getSelectionRows): Added implementation.
1380 (getMinSelectionRow): Added implementation.
1381 (getMaxSelectionRow): Added implementation.
1382 (getLeadSelectionRow): Added implementation.
1383 (getLeadSelectionPath): Added implementation.
1385 2005-04-22 Casey Marshall <csm@gnu.org>
1387 * gnu/java/security/der/DERValue.java
1388 (getValueAs): new method.
1389 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1390 (<init>): read both dates with 'DERValue.getValueAs', with
1391 'GENERALIZED_TIME' as the argument.
1393 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1395 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1396 be null, check for that case and don't deference it.
1398 2005-04-22 Sven de Marothy <sven@physto.se>
1400 * java/util/logging/LogManager.java: Reformatted.
1401 (readConfiguration): If a logger for a key is not found, create one.
1403 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1405 * java/rmi/Naming.java:
1406 Added class documentation.
1407 (lookup(String)): Call parseURL and getName.
1408 (bind(String,java.rmi.Remote)): Likewise.
1409 (unbind(String)): Likewise.
1410 (rebind(String, java.rmi.Remote)): Likewise.
1411 (list(String)): Call parseURL.
1412 (parseURL(String)): New method to handle parsing and defaults.
1413 (getName(java.net.URL)): New method to handle finding the service name.
1415 2005-04-21 Tom Tromey <tromey@redhat.com>
1417 * java/lang/natClass.cc (initializeClass): Link class.
1419 2005-04-21 Tom Tromey <tromey@redhat.com>
1421 * java/lang/AssertionError.java: Typo fix.
1423 2005-04-21 Tom Tromey <tromey@redhat.com>
1425 * java/lang/VMClassLoader.java (transformException): Removed.
1426 (resolveClass): No longer native. Now does nothing.
1427 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1429 2005-04-21 Anthony Green <green@redhat.com>
1432 * testsuite/libjava.special/special.exp,
1433 testsuite/libjava.special/pr21115I.java,
1434 testsuite/libjava.special/pr21115.java,
1435 testsuite/libjava.special/pr21115.out: New files.
1437 2005-04-21 Chris Burdess <dog@gnu.org>
1439 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1440 CRLF-delimited chunks.
1442 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1444 * java/net/URI.java:
1445 Added class documentation.
1446 (parseURI(String)): Only handle scheme-specific parts
1447 if URI is not opaque. Allow for parts that can't be null.
1448 (toString()): Output the scheme-specific part whole, rather
1449 than as its possibly non-existent components.
1451 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1453 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1454 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1455 Adjusted to match new regexp.
1457 2005-04-20 Michael Koch <konqueror@gmx.de>
1459 * gnu/java/net/protocol/file/Connection.java,
1460 gnu/java/net/protocol/jar/Connection.java:
1461 Reorganized import statements. Fixed @author tags.
1463 2005-04-20 Chris Burdess <dog@gnu.org>
1465 * java/io/DataOutputStream.java (writeUTF): Use block write for
1468 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1470 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1471 (readLine): Changed newline handling.
1473 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1475 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1476 ColorModel,byte[],int,int): Fixed byte to int conversion.
1478 2005-04-20 Michael Koch <konqueror@gmx.de>
1480 * java/io/FilePermission.java
1481 (serialVersionUID): Made private.
1482 (ALL_FILES): New constant.
1483 (implies): Handle '<<ALL FILES>>' case.
1485 2005-04-20 Sven de Marothy <sven@physto.se>
1487 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1488 (drawImage): Don't notify the image observer for offscreen images.
1489 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1490 (setPixels): Don't notify the image observer.
1492 2005-04-20 Sven de Marothy <sven@physto.se>
1494 * java/nio/ByteBufferImpl.java:
1495 (putChar): Inlined for speed.
1496 (put, get): Bulk methods can use arraycopy.
1497 * java/nio/CharBufferImpl.java:
1498 (put, get): Bulk methods can use arraycopy.
1500 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1502 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1504 * java/nio/CharBufferImpl.java
1505 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1506 (get(), put(char)): Inlined checks and field updates. Fixed to
1507 take array_offset into account.
1508 (get(int), put(int, char)): Fixed to take array_offset into account.
1510 2005-04-20 Sven de Marothy <sven@physto.se>
1512 * java/text/SimpleDateFormat.java:
1513 (formatWithAttribute): Pad year before truncating digits.
1515 2005-04-20 Michael Koch <konqueror@gmx.de>
1517 * gnu/java/net/PlainDatagramSocketImpl.java:
1518 Merged copyright header.
1519 * gnu/java/net/PlainSocketImpl.java:
1520 Reorganized import statements. Fixed @author tags.
1522 2005-04-20 Michael Koch <konqueror@gmx.de>
1524 * gnu/java/lang/ClassHelper.java,
1525 gnu/java/lang/reflect/TypeSignature.java:
1528 2005-04-20 Michael Koch <konqueror@gmx.de>
1530 * gnu/java/beans/IntrospectionIncubator.java:
1531 Fixed HTML tags in javadocs.
1533 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1535 * gnu/java/beans/IntrospectionIncubator.java
1536 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1537 set(), is(), add() and remove() with properties or events.
1539 2005-04-20 Michael Koch <konqueror@gmx.de>
1541 * gnu/java/awt/image/XBMDecoder.java:
1542 Fixed modifier order.
1544 2005-04-20 Roman Kennke <roman@kennke.org>
1546 * javax/swing/plaf/basic/BasicButtonUI.java
1547 (paint): This should not care about margin and insets
1548 at the same time, as insets already include the margin
1550 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1551 (getPreferredButtonSize): Likewise.
1552 * javax/swing/plaf/metal/MetalBorders.java
1553 (getBorderInsets): Likewise.
1555 2005-04-20 Roman Kennke <roman@kennke.org>
1557 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1558 (createMessageArea): The JPanel that holds the message area
1559 doesn't need to override getPreferredSize. This prevents some
1560 message components from rendering nicely.
1562 2005-04-20 Roman Kennke <roman@kennke.org>
1564 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1565 (createUI): Do not share instances between components.
1566 * javax/swing/plaf/metal/MetalSliderUI.java
1567 (createUI): Do not share instances between components.
1569 2005-04-20 Roman Kennke <roman@kennke.org>
1571 * javax/swing/plaf/metal/MetalBorders:
1572 (PopupMenuBorder): Added.
1573 * javax/swing/plaf/metal/MetalLookAndFeel
1574 (initComponentDefaults): Added PopupMenuBorder.
1576 2005-04-20 Roman Kennke <roman@kennke.org>
1578 * javax/swing/tree/DefaultTreeSelectionModel.java:
1579 Added API documentation all over the class.
1581 2005-04-20 Roman Kennke <roman@kennke.org>
1583 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1584 (installDefaults): Link managed JScrollPane in instance field.
1585 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1587 2005-04-20 Roman Kennke <roman@kennke.org>
1589 * javax/swing/plaf/basic/BasicScrollBarUI.java
1590 (PropertyChangeHandler.propertyChange): Add default
1591 to switch statement to avoid errors with unusual values
1593 (installComponents): Likewise.
1595 2005-04-20 Roman Kennke <roman@kennke.org>
1597 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1598 (createUI): Instances cannot be shared among JScrollPanes.
1600 2005-04-20 Roman Kennke <roman@kennke.org>
1602 * javax/swing/plaf/metal/MetalLookAndFeel.java
1603 (initComponentDefaults): Added defaults for Menu, MenuBar
1606 2005-04-20 Roman Kennke <roman@kennke.org>
1608 * javax/swing/plaf/basic/BasicScrollBarUI.java
1609 (installUI): Install listeners after everything all, otherwise
1610 we get strange NPEs in some situations, especially with
1612 (createIncreaseButton): Orientation is expected to be
1613 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1614 HORIZONTAL or VERTICAL.
1615 (createDecreaseButton): Orientation is expected to be
1616 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1617 HORIZONTAL or VERTICAL.
1618 (installComponents): Orientation for buttons is expected to be
1619 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1620 HORIZONTAL or VERTICAL.
1622 2005-04-20 Roman Kennke <roman@kennke.org>
1624 * javax/swing/JToolBar.java
1625 (addImpl): Adjust added AbstractButtons to look and feel like
1627 * javax/swing/plaf/metal/MetalBorders.java:
1628 Adjusted insets of ButtonBorder.
1629 (RolloverMarginBorder): Added class for toolbar buttons.
1630 (getButtonBorder): Adjusted factory method to return a shared
1631 instance of button border.
1632 (getToolbarButtonBorder): Added factory method to return a shared
1633 instance of toolbar button border.
1634 (getMarginBorder): Added factory method to return a shared
1635 instance of margin border.
1636 * javax/swing/plaf/metal/MetalButtonUI.java
1637 (installDefauls): If button is child of a JToolBar then set
1638 special border on this button.
1640 2005-04-20 Michael Koch <konqueror@gmx.de>
1642 * java/net/URLConnection.java
1643 (getContent): Fixed javadoc comment.
1645 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1647 * java/net/URL.java:
1648 (toURI()): Implemented.
1650 2005-04-19 Michael Koch <konqueror@gmx.de>
1652 * java/net/InetAddress.java
1653 (InetAddress): Fixed javadoc comment.
1655 (lookup): Added javadoc.
1656 (getFamily): Likewise.
1657 * java/net/ServerSocket.java
1658 (getChannel): Improved javadoc comment.
1660 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1662 * gnu/xml/dom/html2/DomHTMLParser.java:
1663 Changed 'enum' references to become 'enumeration'.
1665 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1667 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1669 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1671 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1672 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1673 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1674 (validateParameters(TagElement,htmlAttributeSet)):
1675 Replaced 'enum' with 'enumeration'.
1676 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1679 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1681 * javax/swing/text/html/parser/Entity.java (getType): New method.
1682 * javax/swing/text/html/parser/DocumentParser.java:
1683 Inherit from javax.swing.text.html.parser.Parser.
1685 2005-04-19 Chris Burdess <dog@gnu.org>
1687 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1688 check for HTML/XHTML namespace.
1690 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1692 * javax/swing/text/html/parser/Parser.java,
1693 javax/swing/text/html/parser/Entity.java:
1694 Inheriting from DTDConstants.
1695 * javax/swing/text/html/parser/AttributeList.java
1696 (getValues): Changed return type.
1697 * javax/swing/text/html/parser/DocumentParser
1698 (parse): Adding the callback parameter that receives
1701 2005-04-19 Chris Burdess <dog@gnu.org>
1703 * gnu/xml/dom/DomImpl.java,
1704 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1705 gnu/xml/dom/html2/DomHTMLDocument.java,
1706 gnu/xml/dom/html2/DomHTMLElement.java,
1707 gnu/xml/dom/html2/DomHTMLFormElement.java,
1708 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1709 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1710 gnu/xml/dom/html2/DomHTMLImpl.java,
1711 gnu/xml/dom/html2/DomHTMLInputElement.java,
1712 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1713 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1714 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1715 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1716 gnu/xml/dom/html2/DomHTMLTableElement.java,
1717 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1718 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1719 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1720 UI events, and tree utility functions.
1722 2005-04-19 Michael Koch <konqueror@gmx.de>
1724 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1725 gnu/javax/swing/text/html/parser/gnuDTD.java,
1726 gnu/javax/swing/text/html/parser/models/node.java:
1727 Reworked import statements.
1729 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1731 * javax/swing/text/html/HTMLDocument.java: New file.
1733 2005-04-19 Michael Koch <konqueror@gmx.de>
1735 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1737 * javax/swing/text/html/parser/AttributeList.java:
1738 Fixed order of modifiers.
1739 (AttributeList): Made final.
1740 * javax/swing/text/html/parser/ContentModel.java:
1741 Fixed html characters in javadocs.
1742 * javax/swing/text/html/parser/DTD.java
1743 (DTD): Don't implement java.io.Serializable directly.
1744 (getElement): Simplified.
1745 * javax/swing/text/html/parser/DTDConstants.java:
1747 * javax/swing/text/html/parser/Element.java:
1748 Fixed order of modifiers.
1749 * javax/swing/text/html/parser/Parser.java:
1750 Reformatted. Don't use fully-qualified class names.
1751 * javax/swing/text/html/parser/ParserDelegator.java:
1752 Fixed order of modifiers.
1753 * javax/swing/text/rtf/RTFParser.java:
1754 Re-ordered import statements.
1755 * javax/swing/text/rtf/RTFScanner.java:
1756 Removed unused import statement.
1758 2005-04-19 Chris Burdess <dog@gnu.org>
1760 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1761 gnu/xml/dom/html2/DomHTMLCollection.java,
1762 gnu/xml/dom/html2/DomHTMLDocument.java,
1763 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1765 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1766 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1767 gnu/xml/dom/html2/DomHTMLDivElement.java,
1768 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1769 gnu/xml/dom/html2/DomHTMLFontElement.java,
1770 gnu/xml/dom/html2/DomHTMLFormElement.java,
1771 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1772 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1773 gnu/xml/dom/html2/DomHTMLHRElement.java,
1774 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1775 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1776 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1777 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1778 gnu/xml/dom/html2/DomHTMLImageElement.java,
1779 gnu/xml/dom/html2/DomHTMLInputElement.java,
1780 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1781 gnu/xml/dom/html2/DomHTMLLIElement.java,
1782 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1783 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1784 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1785 gnu/xml/dom/html2/DomHTMLMapElement.java,
1786 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1787 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1788 gnu/xml/dom/html2/DomHTMLModElement.java,
1789 gnu/xml/dom/html2/DomHTMLOListElement.java,
1790 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1791 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1792 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1793 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1794 gnu/xml/dom/html2/DomHTMLParamElement.java,
1795 gnu/xml/dom/html2/DomHTMLPreElement.java,
1796 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1797 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1798 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1799 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1800 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1801 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1802 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1803 gnu/xml/dom/html2/DomHTMLTableElement.java,
1804 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1805 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1806 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1807 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1808 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1810 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1812 * javax/swing/text/ChangedCharSetException.java,
1813 javax/swing/text/html/HTMLEditorKit.java,
1814 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1815 javax/swing/text/html/parser/AttributeList.java,
1816 javax/swing/text/html/parser/ContentModel.java,
1817 javax/swing/text/html/parser/DocumentParser.java,
1818 javax/swing/text/html/parser/DTD.java,
1819 javax/swing/text/html/parser/DTDConstants.java,
1820 javax/swing/text/html/parser/Element.java,
1821 javax/swing/text/html/parser/Entity.java,
1822 javax/swing/text/html/parser/Parser.java,
1823 javax/swing/text/html/parser/TagElement.java,
1824 gnu/javax/swing/text/html/package.html,
1825 gnu/javax/swing/text/html/parser/gnuDTD.java,
1826 gnu/javax/swing/text/html/parser/HTML_401F.java,
1827 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1828 gnu/javax/swing/text/html/parser/htmlValidator.java,
1829 gnu/javax/swing/text/html/parser/package.html,
1830 gnu/javax/swing/text/html/parser/models/list.java,
1831 gnu/javax/swing/text/html/parser/models/node.java,
1832 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1833 gnu/javax/swing/text/html/parser/models/package.html,
1834 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1835 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1836 gnu/javax/swing/text/html/parser/models/transformer.java,
1837 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1838 gnu/javax/swing/text/html/parser/support/package.html,
1839 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1840 gnu/javax/swing/text/html/parser/support/Parser.java,
1841 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1842 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1843 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1844 gnu/javax/swing/text/html/parser/support/low/Location.java,
1845 gnu/javax/swing/text/html/parser/support/low/node.java,
1846 gnu/javax/swing/text/html/parser/support/low/package.html,
1847 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1848 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1849 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1850 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1852 * javax/swing/text/html/HTML.java,
1853 javax/swing/text/html/parser/ParserDelegator.java:
1854 New files (replacing).
1855 * javax/swing/text/html/package.html,
1856 javax/swing/text/html/parser/package.html: Documenting the
1859 2005-04-19 Chris Burdess <dog@gnu.org>
1861 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1862 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1863 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1864 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1865 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1866 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1867 gnu/xml/dom/html2/DomHTMLBRElement.java,
1868 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1869 gnu/xml/dom/html2/DomHTMLCollection.java,
1870 gnu/xml/dom/html2/DomHTMLDocument.java,
1871 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1873 2005-04-19 Michael Koch <konqueror@gmx.de>
1875 * Makefile.am: Added new files.
1876 * Makefile.in: Regenerated.
1878 2005-04-19 Roman Kennke <roman@kennke.org>
1880 * javax/swing/text/JTextComponent.java
1881 (JTextComponent): Added repaintListener which issues repaint
1882 requests when the underlying document changes.
1883 (setDocument): Adds repaintListener to document when the
1884 document is changed.
1885 * javax/swing/text/DefaultEditorKit.java:
1886 Removed repaint calls on JTextComponent. This is now handled
1887 through a DocumentListener in JTextComponent that repaints
1888 the component when needed.
1890 2005-04-19 Roman Kennke <roman@kennke.org>
1893 * javax/swing/text/StyleContext.java
1894 (NamedStyle.setResolveParent): Added null
1897 2005-04-19 Michael Koch <konqueror@gmx.de>
1899 * java/rmi/server/RemoteObject.java:
1900 Removed unused import statement.
1902 2005-04-19 Michael Koch <konqueror@gmx.de>
1904 * java/net/URL.java: Formatting cleanups.
1906 2005-04-19 Michael Koch <konqueror@gmx.de>
1908 * java/awt/FontMetrics.java: Reformatted.
1909 (getFontRenderContext): Handle case when java.awt.Graphics context is
1912 2005-04-19 Michael Koch <konqueror@gmx.de>
1914 * java/awt/FontMetrics.java
1915 (getStringBounds): New methods.
1918 2005-04-19 Michael Koch <konqueror@gmx.de>
1920 * gnu/java/security/x509/X509Certificate.java
1921 (parse): Handle val == null case.
1923 2005-04-19 Roman Kennke <roman@kennke.org>
1925 * javax/swing/plaf/metal/MetalLookAndFeel.java
1926 (initComponentDefaults): Added defaults for Menu, MenuBar
1929 2005-04-19 Roman Kennke <roman@kennke.org>
1931 * javax/swing/plaf/metal/MetalLookAndFeel.java
1932 (initComponentDefaults): Added Label.font.
1933 (initSystemColorDefaults): Added this method and adjusted the
1934 general control color.
1936 2005-04-19 Roman Kennke <roman@kennke.org>
1938 * javax/swing/plaf/metal/MetalBorders.java:
1940 * javax/swing/plaf/metal/MetalButtonUI.java:
1941 (installDefaults): Install button font.
1942 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1943 (initComponentDefaults): Added button border, font and margin.
1944 Changed components background color to the Metal current themes
1947 2005-04-19 Roman Kennke <roman@kennke.org>
1949 * javax/swing/plaf/metal/MetalLookAndFeel.java
1950 (initComponentDefaults): Added to set Metal specific component
1953 2005-04-19 Mark Wielaard <mark@klomp.org>
1955 * javax/swing/plaf/metal/MetalLookAndFeel.java
1956 (initClassDefaults): Call super.initClassDefaults().
1958 2005-04-19 Roman Kennke <roman@kennke.org>
1960 * javax/swing/plaf/metal/MetalLookAndFeel.java
1961 (initClassDefaults): Added to include the *UI classes.
1963 2005-04-19 Roman Kennke <roman@kennke.org>
1965 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1967 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1969 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1971 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1973 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1975 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1977 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1979 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1981 * javax/swing/plaf/metal/MetalSliderUI.java:
1983 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1985 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1987 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1989 2005-04-19 Roman Kennke <roman@kennke.org>
1991 * javax/swing/plaf/metal/MetalButtonUI.java:
1992 Added skeleton class.
1993 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1994 Added skeleton class.
1995 * javax/swing/plaf/metal/MetalLabelUI.java:
1996 Added skeleton class.
1997 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1998 Added skeleton class.
1999 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2000 Added skeleton class.
2001 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2002 Added skeleton class.
2004 2005-04-19 Roman Kennke <roman@kennke.org>
2006 * javax/swing/UIDefaults.java:
2007 Added API documentation for all methods.
2009 2005-04-19 Roman Kennke <roman@kennke.org>
2011 * javax/swing/UIDefaults.java
2012 (put): Now uses new checkAndPut method instead of checking
2014 (putDefaults): Fixed so that it accepts null-values and
2015 treats them like remove(key).
2016 (checkAndPut): Added. This checks for null-values and calls
2019 2005-04-19 Michael Koch <konqueror@gmx.de>
2021 * Makefile.am: Added new files.
2022 * Makefile.in: Regenerated.
2024 2005-04-19 Mark Wielaard <mark@klomp.org>
2026 * java/lang/natRuntime.cc (insertSystemProperties): Set
2027 java.class.path to CLASSPATH only when not empty. Fall back to
2028 default path "." when java.class.path is empty.
2030 2005-04-19 Michael Koch <konqueror@gmx.de>
2032 * javax/swing/text/rtf/ControlWordToken.java,
2033 javax/swing/text/rtf/RTFEditorKit.java,
2034 javax/swing/text/rtf/RTFParseException.java,
2035 javax/swing/text/rtf/RTFParser.java,
2036 javax/swing/text/rtf/RTFScanner.java,
2037 javax/swing/text/rtf/TextToken.java,
2038 javax/swing/text/rtf/Token.java: New files.
2039 * Makefile.am: Added new files.
2040 * Makefile.in: Regenerated.
2042 2005-04-19 Michael Koch <konqueror@gmx.de>
2044 * java/awt/geom/QuadCurve2D.java:
2045 Fixed Brian Gough's name for real.
2047 2005-04-19 Roman Kennke <roman@kennke.org>
2049 * javax/swing/UIManager.java:
2050 Make the UIManager respect the swing.defaultlaf system
2053 2005-04-19 Tom Tromey <tromey@redhat.com>
2055 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2058 2005-04-19 Roman Kennke <roman@kennke.org>
2060 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2061 Fixed tabs to spaces.
2063 2005-04-19 Roman Kennke <roman@kennke.org>
2065 * javax/swing/plaf/basic/BasicMenuUI.java
2066 (getMaximumSize): Now returns preferredSize because JMenu should
2067 never be bigger than that.
2068 * javax/swing/JRootPane
2069 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2071 2005-04-19 Roman Kennke <roman@kennke.org>
2073 * javax/swing/JRootPane.java:
2074 Fixed various tabs to be spaces.
2075 (RootLayout.layoutContainer): Made menubar left aligned.
2077 2005-04-19 Roman Kennke <roman@ontographics.com>
2079 * javax/swing/JList.java
2080 (getPreferredScrollableViewportSize):
2081 The previous implementation was merely guessing the size,
2082 now it respects layoutOrientation, visibleRowCount
2084 (getScrollableTracksViewportHeight):
2085 Reimplemented so that layoutOrientation, visibleRowCount
2086 and preferred size are respected.
2087 (getScrollableTracksViewportWidth):
2088 Reimplemented so that layoutOrientation, visibleRowCount
2089 and preferred size are respected.
2090 * javax/swing/plaf/basic/BasicListUI.java
2092 Improved calculation of preferredSize when JList is
2093 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2095 The previous implementation assumed a layoutOrientation of
2096 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2097 JList.VERTICAL_WRAP.
2099 2005-04-19 Roman Kennke <roman@ontographics.com>
2101 * javax/swing/plaf/basic/BasicListUI.java
2102 (paintCell): use CellRendererPane for painting the cells.
2104 2005-04-19 Roman Kennke <roman@ontographics.com>
2106 * javax/swing/plaf/basic/BasicListUI:
2107 fixed modifiers of several fields, methods and inner
2108 classes to match the 'spec'.
2109 (getMaximumSize): removed. It's not in the spec and the
2110 implementations was superfluous.
2112 2005-04-19 Roman Kennke <roman@ontographics.com>
2114 * javax/swing/plaf/basic/BasicListUI:
2115 make BasicListUI capable of wrapping lists
2116 (layoutOrientation property of javax.swing.JList)
2118 2005-04-19 Roman Kennke <roman@ontographics.com>
2120 * javax/swing/plaf/basic/BasicListUI
2121 (updateLayoutState,paint): make BasicListUI aware of the
2122 width of the rendered JList.
2124 2005-04-19 Roman Kennke <roman@kennke.org>
2126 * javax/swing/ImageIcon.java
2127 Added API documentation.
2129 2005-04-19 Roman Kennke <roman@kennke.org>
2131 * javax/swing/text/ImageIcon.java
2132 (ImageIcon): Use setImage instead of direct assignment.
2133 (setImage): Call loadImage to make sure that the image is loaded.
2134 (loadImage): Waits for the image to complete loading.
2135 (getImageLoadStatus): Added. Returns the load status of the
2138 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2140 * javax/swing/JTextArea.java (replaceRange):
2141 Fixing doc.remove(start, length) misinterpretation.
2143 2005-04-19 Roman Kennke <roman@ontographics.com>
2145 * javax/swing/CellRendererPane.java:
2146 implemented all methods of this class.
2147 reformatted all wrong formatted code.
2149 2005-04-19 Roman Kennke <roman@kennke.org>
2151 * javax/swing/BoxLayout.java:
2152 (layoutContainer): Made this layout manager respect the
2153 minimum, maximum and preferred size more correctly.
2155 2005-04-19 Roman Kennke <roman@ontographics.com>
2157 * javax/swing/BoxLayout.java:
2158 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2159 layoutContainer): Make these methods and thereby the
2160 BoxLayout respect the insets (like borders) of the
2161 component that is laid out.
2163 2005-04-19 Roman Kennke <roman@kennke.org>
2165 * javax/swing/JComponent.java:
2166 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2167 Untabified the file.
2169 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2171 * javax/swing/JComboBox.java (constructors): selecting the
2172 first item if the box was constructed from the provided
2173 non - empty array or vector.
2175 2005-04-19 Michael Koch <konqueror@gmx.de>
2177 * gnu/java/awt/peer/gtk/GdkGraphics.java
2178 (getClipBounds): Handle clip being null.
2179 (setClip): Likewise.
2180 * java/beans/beancontext/BeanContextSupport.java
2184 (removeAll): Likewise.
2185 (retainAll): Likewise.
2187 2005-04-19 Michael Koch <konqueror@gmx.de>
2189 * java/beans/beancontext/BeanContextServicesSupport.java
2190 (BeanContextServicesSupport): Reimplemented.
2191 (addBeanContextServicesListener): Implemented.
2192 (initialize): Likewise.
2193 (removeBeanContextServicesListener): Likewise.
2194 * java/beans/beancontext/BeanContextSupport.java
2196 (addBeanContextMembershipListener): Likewise.
2197 (getLocale): Likewise.
2198 (initialize): Likewise.
2199 (iterator): Likewise.
2201 (toArray): Likewise.
2203 2005-04-19 Roman Kennke <roman@kennke.org>
2205 * java/awt/MediaTracker.java:
2206 Reindented tabs to spaces.
2208 2005-04-19 Roman Kennke <roman@kennke.org>
2210 * java/awt/MediaTracker.java
2211 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2212 confused the media tracker and lead to lockups. The LOADING
2213 bit is handled on other places.
2214 (addImage): Removed the 'start image tracking' stuff. This
2215 is not necessary and could confuse the media tracker.
2216 (checkAll): Improved the check for image status so that
2217 images that already complete images are detected. Also now
2218 are really all images checked and if necessary loaded. Before
2219 the method bailed out after the first incomplete image.
2220 (statusAll): Detect images that are complete after the
2221 call to Component.prepareImage(..).
2222 (checkID): The same as in checkAll.
2223 (statusID): The same as in statusAll.
2225 2005-04-19 Roman Kennke <roman@kennke.org>
2227 * java/awt/MediaTracker.java
2228 (addImage): Synchronized list access.
2229 (waitForAll): Fixed comparison of time (changed < to >).
2230 (waitForID): Fixed comparison of time (changed < to >).
2231 (removeImage): Synchronized list access.
2233 2005-04-19 Roman Kennke <roman@kennke.org>
2235 * java/awt/MediaTracker.java
2236 Added API documentation.
2238 2005-04-19 Roman Kennke <roman@kennke.org>
2240 * java/awt/MediaTracker.java
2241 (MediaEntry.imageUpdate): Fixed flags. The different flags
2242 must not be ORed together.
2243 (checkAll): Modified to handle different meaning of the flags.
2244 (waitForAll): Fixed so that it waits maximum the
2245 specified amount of milliseconds.
2246 (statusAll): Modified to handle different meaning of the flags.
2247 (waitForID): Fixed so that it waits maximum the
2248 specified amount of milliseconds.
2250 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2252 * java/awt/Font.java (decode): Handle null argument and allow
2255 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2257 * java/beans/EventHandler.java: Reworked documentation.
2258 (invoke): Fixed behavior to match spec.
2260 2005-04-19 Michael Koch <konqueror@gmx.de>
2262 * java/awt/print/PrinterJob.java
2263 (pageDialog): New method.
2264 (printDialog): Implemented.
2266 2005-04-19 Michael Koch <konqueror@gmx.de>
2268 * java/awt/image/ConvolveOp.java:
2269 Removed comment added by eclipse.
2271 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2273 * java/awt/image/IndexColorModel.java
2274 (getRGB): Check if pixel is negative.
2276 2005-04-19 Michael Koch <konqueror@gmx.de>
2278 * java/awt/image/RasterOp.java:
2279 Fixed wrong formatting.
2281 2005-04-18 Roman Kennke <roman@kennke.org>
2283 * java/awt/Compmonent.java
2284 (setComponentOrientation): Made this property firing a
2285 PropertyChangeEvent.
2287 2005-04-18 Roman Kennke <roman@kennke.org>
2289 * java/awt/BorderLayout.java
2290 (calcSize): Check for overflow when component sizes are added.
2292 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2294 * java/awt/AWTEvent.java (toString): Added case
2295 for source not being an AWT component.
2297 2005-04-18 Chris Burdess <dog@gnu.org>
2299 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2301 2005-04-18 Michael Koch <konqueror@gmx.de>
2303 gnu/java/awt/EmbeddedWindowSupport.java,
2304 gnu/java/net/HeaderFieldHelper.java,
2305 gnu/java/net/URLParseError.java,
2306 gnu/java/net/protocol/file/Handler.java,
2307 gnu/java/net/protocol/jar/Handler.java:
2308 Fixed usage of @author tag.
2310 2005-04-18 Michael Koch <konqueror@gmx.de>
2312 * gnu/xml/aelfred2/XmlParser.java:
2313 Reverted my typo fix.
2315 2005-04-18 Michael Koch <konqueror@gmx.de>
2317 * java/awt/geom/CubicCurve2D.java,
2318 java/awt/geom/QuadCurve2D.java:
2319 Fixed mentioning of Brian Gouph.
2321 2005-04-18 Michael Koch <konqueror@gmx.de>
2323 * gnu/java/awt/Buffers.java,
2324 gnu/java/awt/image/ImageDecoder.java,
2325 gnu/java/awt/image/XBMDecoder.java,
2326 gnu/java/awt/peer/ClasspathFontPeer.java,
2327 gnu/java/net/CRLFInputStream.java,
2328 gnu/java/net/EmptyX509TrustManager.java,
2329 gnu/java/net/LineInputStream.java,
2330 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2331 gnu/java/net/protocol/ftp/BlockInputStream.java,
2332 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2333 gnu/java/net/protocol/ftp/DTP.java,
2334 gnu/java/net/protocol/ftp/DTPInputStream.java,
2335 gnu/java/net/protocol/ftp/FTPConnection.java,
2336 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2337 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2338 gnu/java/net/protocol/ftp/StreamInputStream.java,
2339 gnu/java/net/protocol/http/ChunkedInputStream.java,
2340 gnu/java/net/protocol/http/HTTPConnection.java,
2341 gnu/java/net/protocol/http/HTTPURLConnection.java,
2342 gnu/java/net/protocol/http/Headers.java,
2343 gnu/java/net/protocol/http/Request.java,
2344 gnu/java/nio/ChannelInputStream.java,
2345 gnu/java/nio/ChannelOutputStream.java,
2346 gnu/java/nio/InputStreamChannel.java,
2347 gnu/java/nio/OutputStreamChannel.java,
2348 gnu/java/nio/SelectorProviderImpl.java,
2349 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2350 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2351 gnu/java/rmi/dgc/DGCImpl.java,
2352 gnu/java/rmi/registry/RegistryImpl.java,
2353 gnu/java/rmi/server/ProtocolConstants.java,
2354 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2355 gnu/java/rmi/server/RMIIncomingThread.java,
2356 gnu/java/rmi/server/RMIObjectInputStream.java,
2357 gnu/java/rmi/server/RMIObjectOutputStream.java,
2358 gnu/java/rmi/server/RMIVoidValue.java,
2359 gnu/java/rmi/server/UnicastConnectionManager.java,
2360 gnu/java/rmi/server/UnicastRef.java,
2361 gnu/java/rmi/server/UnicastRemoteCall.java,
2362 gnu/java/rmi/server/UnicastRemoteStub.java,
2363 gnu/java/rmi/server/UnicastServerRef.java,
2364 gnu/java/security/OID.java,
2365 gnu/java/security/der/DERReader.java,
2366 gnu/java/security/provider/CollectionCertStoreImpl.java,
2367 gnu/java/security/provider/DSAParameterGenerator.java,
2368 gnu/java/security/provider/DefaultPolicy.java,
2369 gnu/java/security/provider/EncodedKeyFactory.java,
2370 gnu/java/security/provider/GnuDHPublicKey.java,
2371 gnu/java/security/provider/GnuDSAPrivateKey.java,
2372 gnu/java/security/provider/GnuDSAPublicKey.java,
2373 gnu/java/security/provider/GnuRSAPrivateKey.java,
2374 gnu/java/security/provider/GnuRSAPublicKey.java,
2375 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2376 gnu/java/security/provider/RSA.java,
2377 gnu/java/security/provider/SHA1PRNG.java,
2378 gnu/java/security/provider/SHA1withRSA.java,
2379 gnu/java/security/provider/X509CertificateFactory.java,
2380 gnu/java/security/x509/GnuPKIExtension.java,
2381 gnu/java/security/x509/X500DistinguishedName.java,
2382 gnu/java/security/x509/X509CRL.java,
2383 gnu/java/security/x509/X509CRLEntry.java,
2384 gnu/java/security/x509/X509CertPath.java,
2385 gnu/java/security/x509/X509CertSelectorImpl.java,
2386 gnu/java/security/x509/X509Certificate.java,
2387 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2388 gnu/java/security/x509/ext/BasicConstraints.java,
2389 gnu/java/security/x509/ext/CRLNumber.java,
2390 gnu/java/security/x509/ext/CertificatePolicies.java,
2391 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2392 gnu/java/security/x509/ext/Extension.java,
2393 gnu/java/security/x509/ext/GeneralNames.java,
2394 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2395 gnu/java/security/x509/ext/KeyUsage.java,
2396 gnu/java/security/x509/ext/PolicyConstraint.java,
2397 gnu/java/security/x509/ext/PolicyMappings.java,
2398 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2399 gnu/java/security/x509/ext/ReasonCode.java,
2400 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2401 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2402 Reorganized import statements.
2404 2005-04-18 Michael Koch <konqueror@gmx.de>
2406 * gnu/java/awt/color/CieXyzConverter.java,
2407 gnu/java/awt/color/ClutProfileConverter.java,
2408 gnu/java/awt/color/ColorLookUpTable.java,
2409 gnu/java/awt/color/ColorSpaceConverter.java,
2410 gnu/java/awt/color/GrayProfileConverter.java,
2411 gnu/java/awt/color/GrayScaleConverter.java,
2412 gnu/java/awt/color/LinearRGBConverter.java,
2413 gnu/java/awt/color/ProfileHeader.java,
2414 gnu/java/awt/color/PyccConverter.java,
2415 gnu/java/awt/color/RgbProfileConverter.java,
2416 gnu/java/awt/color/SrgbConverter.java,
2417 gnu/java/awt/color/TagEntry.java,
2418 gnu/java/awt/color/ToneReproductionCurve.java:
2419 Standardized file headers.
2421 2005-04-16 Tom Tromey <tromey@redhat.com>
2423 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2424 'ANY' package-private.
2426 2005-04-15 Tom Tromey <tromey@redhat.com>
2428 * Makefile.in: Rebuilt.
2429 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2430 (libgcj0_convenience_la_LIBADD): ... here.
2432 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2434 * gij.cc (version): Properly quote java version.
2435 (main): Fix typo in comment.
2437 2005-04-13 Mark Wielaard <mark@klomp.org>
2439 * java/lang/natRuntime.cc (insertSystemProperties): Set
2440 java.class.path to CLASSPATH if not already set.
2442 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2444 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2446 2005-04-12 Mike Stump <mrs@apple.com>
2448 * configure: Regenerate.
2450 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2453 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2454 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2456 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2459 * scripts/TexinfoDoclet.java: Removed.
2460 * Makefile.am (texinfo): Removed.
2461 * Makefile.in: Regenerated.
2463 2005-04-11 Michael Koch <konqueror@gmx.de>
2465 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2466 Fixed wrong casting.
2468 2005-04-06 Andrew Haley <aph@redhat.com>
2470 * testsuite/libjava.lang/bytearray.java: New file.
2471 * testsuite/libjava.lang/bytearray.out: New file.
2472 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2473 (loadClass): Use it.
2474 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2476 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2478 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2479 gcj-dbtool dependency
2480 * Makefile.in: Regenerated
2482 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2484 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2485 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2487 2005-04-05 Andrew Haley <aph@redhat.com>
2489 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2490 (Tokenizer): New class.
2491 (getFiles): New method.
2492 (main): Add "-" argument.
2494 Read list of files from stdin when merging map databases.
2495 (usage): Add "-" argument.
2499 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2502 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2503 * Makefile.in: Regenerate.
2504 * configure.ac: Add --with-java-home option.
2505 * configure: Regenerate.
2506 * external/Makefile.in: Regenerate.
2507 * external/sax/Makefile.in: Regenerate.
2508 * external/w3c_dom/Makefile.in: Regenerate.
2509 * gcj/Makefile.in: Regenerate.
2510 * include/Makefile.in: Regenerate.
2511 * testsuite/Makefile.in: Regenerate.
2512 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2515 2005-04-05 Tom Tromey <tromey@redhat.com>
2517 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2518 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2519 Rewrote to use _Jv_FindClassFromSignature.
2520 * verify.cc (resolve): throw NoClassDefFoundError.
2521 * link.cc (resolve_field): Throw NoClassDefFoundError.
2522 (find_field): Likewise.
2523 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2524 Handle error cases. Added 'endp' argument.
2525 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2527 2005-04-05 Tom Tromey <tromey@redhat.com>
2529 * Makefile.in: Rebuilt.
2530 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2531 gtk_awt_peer_sources.
2532 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2533 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2534 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2535 (gtk-awt-peer.lo): New target.
2537 2005-04-04 Steve Pribyl <steve@netfuel.com>
2540 * configure.ac: Fix fastjar definition for cross builds.
2541 * configure: Rebuilt.
2543 2005-04-04 Tom Tromey <tromey@redhat.com>
2545 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2546 it was already found.
2548 2005-04-04 Tom Tromey <tromey@redhat.com>
2550 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2551 org.metastatic.jessie.
2553 2005-04-02 Anthony Green <green@redhat.com>
2556 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2558 2005-04-02 Mark Wielaard <mark@klomp.org>
2560 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2561 Attributes and attribute order doesn't matter.
2562 (BasicAttributesEnumeration.where): Initialize to zero.
2563 (BasicAttributesEnumeration.nextElement): Update and compare where
2564 appropriately (zero based).
2566 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2568 PR libgcj/20090, PR libgcj/20526
2569 * gij.cc (nonstandard_opts_help): New function.
2570 (add_option): New function.
2571 (main): Support java options. Set java.class.path. Don't set
2573 * prims.cc (parse_x_arg): New function.
2574 (parse_init_args): Call parse_x_arg for -X and _ options, when
2575 ignoreUnrecognized is true.
2576 (new _Jv_RunMain): New vm_args variant.
2577 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2578 (_Jv_Jar_Class_Path): Remove variable.
2579 * include/java-props.h: Likewise.
2580 * include/cni.h (JvRealloc): New function.
2581 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2582 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2583 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2585 * configure.ac (JV_VERSION): Define.
2586 (JV_API_VERSION): Likewise.
2587 * configure: Regenerate.
2588 * include/config.h.in: Regenerate.
2590 2005-04-01 Mark Anderson <mark@panonet.net>
2592 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2593 -Infinity as parameters.
2595 2005-04-01 Michael Koch <konqueror@gmx.de>
2597 * java/io/PipedInputStream.java
2598 (read): Make sure a positive byte value is returned. Revised javadoc.
2599 Thanks to Olafur Bragason for reporting these bugs.
2601 2005-04-01 Tom Tromey <tromey@redhat.com>
2603 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2604 Updated for name change.
2605 (nativeFindClass): New method.
2606 (loadClass): Use nativeFindClass.
2607 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2609 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2610 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2612 (initialize): New method.
2613 (nativeFindClass): Declare.
2614 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2615 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2616 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2618 (definePackageForNative): Removed.
2619 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2620 Moved to VMClassLoader.java.
2621 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2622 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2623 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2624 removed VMClassLoader.java.
2625 (nat_source_files): Removed natVMClassLoader.cc.
2627 2005-04-01 Tom Tromey <tromey@redhat.com>
2629 * Makefile.in: Rebuilt.
2630 * Makefile.am (db_pathtail): Use $(gcc_version), not
2633 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2635 * java/util/Timer.java
2636 (run): Stop the queue if a task throws an exception.
2638 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2640 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2642 2005-03-29 Ian Lance Taylor <ian@airs.com>
2644 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2645 * external/sax/Makefile.in: Rebuild.
2646 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2648 * external/w3c_dom/Makefile.in: Rebuild.
2650 2005-03-29 Tom Tromey <tromey@redhat.com>
2652 * java/lang/natRuntime.cc (insertSystemProperties): Set
2653 gnu.gcj.runtime.endorsed.dirs.
2654 * Makefile.in: Rebuilt.
2655 * Makefile.am (ordinary_java_source_files): Added
2656 HelperClassLoader.java.
2657 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2658 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2660 (init): Use addDirectoriesFromProperty.
2661 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2662 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2663 gnu.gcj.runtime.endorsed.dirs.
2664 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2666 2005-03-26 Chris Burdess <dog@gnu.org>
2668 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2671 2005-03-13 Michael Koch <konqueror@gmx.de>
2673 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2675 2005-03-11 Chris Burdess <dog@gnu.org>
2677 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2680 2005-02-27 Chris Burdess <dog@gnu.org>
2682 * gnu/xml/aelfred2/JAXPFactory.java,
2683 gnu/xml/aelfred2/SAXDriver.java,
2684 gnu/xml/aelfred2/XmlParser.java,
2685 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2686 formatting conventions. Replaced arrays of Object with struct-like
2687 classes for easier maintainability. Made SAXDriver.stringInterning
2688 package private to allow access from XmlParser inside the loop without
2689 a method call overhead.
2691 2005-03-11 Chris Burdess <dog@gnu.org>
2693 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2696 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2698 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2699 settings to sub Makefiles.
2700 (GCJH, ZIP): Prefix with top_builddir.
2701 * configure: Rebuild.
2702 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2703 * external/w3c_dom/Makefile.in: Rebuild.
2704 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2705 * external/sax/Makefile.in: Rebuild.
2707 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2709 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2710 libsocket to the libraries to link for Solaris.
2712 2005-03-28 Per Bothner <per@bothner.com>
2714 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2715 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2717 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2719 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2720 to fix a ONESTEP fallout.
2721 * Makefile.in: Regenerate.
2723 2005-03-25 Mike Stump <mrs@apple.com>
2725 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2726 paths like we do for the compiler, as we use it in external/sax
2727 and it doesn't get MULTIBUILDTOP right when multilibing.
2729 2005-03-24 Anthony Green <green@redhat.com>
2731 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2733 (usage): Add [LIBDIR] to help output.
2734 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2735 * Makefile.am (AM_CXXFLAGS): Define
2736 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2737 (db_pathtail): New macro.
2739 2005-03-24 Tom Tromey <tromey@redhat.com>
2741 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2742 add sax and w3c libraries.
2743 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2745 * external/w3c_dom/Makefile.in: Rebuilt.
2746 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2748 (libw3c_gcj_la_LDFLAGS): New variable.
2749 (noinst_LTLIBRARIES): Renamed.
2750 * external/sax/Makefile.in: Rebuilt.
2751 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2753 (libsax_gcj_la_LDFLAGS): New variable.
2754 (noinst_LTLIBRARIES): Renamed.
2756 2005-03-23 Tom Tromey <tromey@redhat.com>
2758 * Makefile.in: Rebuilt.
2759 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2760 (libgcj0_convenience_la_SOURCES): Don't include
2761 gnu_xml_source_files.
2762 (libgcj0_convenience_la_LIBADD): New variable.
2763 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2764 (all_java_source_files): javax_imageio_source_files,
2765 javax_xml_source_files, and gnu_java_beans_source_files.
2766 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2767 (gnu-xml.lo): New target.
2768 (javax-imageio.lo): Likewise.
2769 (javax-xml.lo): Likewise.
2770 (gnu-java-beans.lo): Likewise.
2771 (gnu_java_beans_source_files): New variable.
2772 (javax_imageio_source_files): Likewise.
2773 (javax_xml_source_files): Likewise.
2774 (javax_source_files): Moved files to other variable.
2775 (awt_java_source_files): Likewise.
2776 (ordinary_java_source_files): Added BootClassLoader.java.
2777 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2778 not system class loader.
2779 (initBootLoader): New method.
2780 (loadClass): Search bootLoader.
2781 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2782 boot loader, not system class loader.
2783 (_Jv_UnregisterInitiatingLoader): Likewise.
2784 (_Jv_FindClass): Likewise. Ensure entries in
2785 bootstrap_class_list are unique.
2786 * java/lang/natClass.cc (getClassLoader): Don't special case
2787 system class loader.
2788 * java/lang/VMClassLoader.java (bootLoader): New field.
2789 (getResource): Use bootLoader.
2790 (getResources): Likewise.
2791 (initBootLoader): Declare.
2792 * gnu/gcj/runtime/BootClassLoader.java: New file.
2793 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2794 (EMPTY_ENUMERATION): Now package-private.
2795 * external/w3c_com/Makefile.in: Rebuilt.
2796 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2797 (w3c.jar): New target.
2798 (classes.stamp): Updated.
2799 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2800 Changed name of library.
2801 (libw3c_gcj_la_SOURCES): New variable.
2802 (libw3c_gcj_la_GCJFLAGS): Likewise.
2803 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2804 * external/sax/Makefile.in: Rebuilt.
2805 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2806 (sax.jar): New target.
2807 (classes.stamp): Updated.
2808 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2809 Changed name of library.
2810 (libsax_gcj_la_SOURCES): New variable.
2811 (libsax_gcj_la_GCJFLAGS): Likewise.
2812 (source_files): Renamed from libsax_convenience_la_SOURCES.
2813 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2815 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2817 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2819 2005-03-23 Sven de Marothy <sven@physto.se>
2821 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2823 * java/util/Calendar.java
2824 (set): Use starting day of week when one is needed if none is given.
2825 * java/text/SimpleDateFormat.java
2826 (parse): Handle 1-12 and 1-24 timestamps correctly.
2827 * java/util/GregorianCalendar.java
2828 (computeTime, computeFields): HOUR should be in 0-11 format.
2829 (nonLeniencyCheck): Adjust leniency checking to that fact.
2830 (getLinearDay): Should be private.
2832 2005-03-23 Tom Tromey <tromey@redhat.com>
2834 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2835 (_Jv_CheckABIVersion): Use it.
2837 2005-03-22 Mike Stump <mrs@apple.com>
2839 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2841 * include/posix.h: .dylib is used on all Apple MACH platforms.
2842 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2844 2005-03-22 Tom Tromey <tromey@redhat.com>
2846 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2848 2005-03-21 Tom Tromey <tromey@redhat.com>
2850 * java/lang/VMCompiler.java (static block): Also catch
2851 BufferUnderflowException.
2853 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2855 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2856 set tool_include_dir. In all substitutions, leave $(gcc_version)
2857 to be expanded by the Makefile.
2858 * aclocal.m4, configure: Regenerate.
2859 * Makefile.am: Set gcc_version. Replace all uses of
2860 @gcc_version@ with $(gcc_version).
2861 * external/Makefile.am, external/sax/Makefile.am
2862 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2863 * testsuite/Makefile.am: Set gcc_version.
2864 * include/Makefile.am: Set gcc_version and tool_include_dir.
2865 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2866 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2867 * testsuite/Makefile.in: Regenerate.
2869 2005-03-17 Andrew Haley <aph@redhat.com>
2871 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2873 Pass klass to _Jv_StackTrace::GetClassContext().
2874 * java/lang/ClassLoader.java (getParent): Pass class to
2875 VMSecurityManager.getClassContext()
2876 (getSystemClassLoader): Likewise.
2877 * java/lang/Package.java (getPackage): Likewise.
2878 (getPackages): Likewise.
2879 * java/lang/SecurityManager.java (getClassContext): Likewise.
2880 (currentClassLoader): Likewise.
2881 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2882 (currentClassLoader) Add new arg: caller.
2883 Pass caller to VMSecurityManager.getClassContext.
2885 * stacktrace.cc (GetClassContext): Correct calculation of
2888 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2889 im->source_file_name.
2891 2005-03-16 Andrew Haley <aph@redhat.com>
2893 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2895 2005-03-16 Tom Tromey <tromey@redhat.com>
2897 * link.cc (ensure_class_linked): Removed #ifdef.
2898 (print_class_loaded): Likewise.
2899 (wait_for_state): Likewise.
2900 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2901 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2902 * include/java-interp.h: ... here.
2904 2005-03-16 Tom Tromey <tromey@redhat.com>
2906 * gnu/java/lang/MainThread.java (run): Load main class using
2907 system class loader.
2909 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2911 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2912 lgcc_s to the libraries to link for Darwin.
2914 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2916 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2917 interpreter-specific code with #ifdef INTERPRETER.
2918 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2919 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2920 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2921 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2922 #ifdef INTERPRETER. Also protect declarations that use it.
2923 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2924 #ifdef INTERPRETER block.
2926 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2929 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2930 * Makefile.in: Rebuilt.
2932 2005-03-15 David Daney <ddaney@avtrex.com>
2934 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2937 2005-03-15 David Daney <ddaney@avtrex.com>
2939 * java/io/BufferedInputStream.java (available): Use 'in' instead
2940 of 'super' for underlying stream access.
2942 (read(byte[], int, int)): Ditto.
2944 (skip): Call skip on underlying stream when possible.
2946 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2948 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2949 SJLJ_EXCEPTIONS is defined.
2951 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2953 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2956 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2958 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2960 (libjava_arguments): Likewise.
2962 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2963 (gcj_jni_test_one): Likewise.
2964 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2965 Add flags to keep the Darwin linker quiet.
2966 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2967 Add -liconv for Darwin.
2969 2005-03-11 Tom Tromey <tromey@redhat.com>
2971 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2972 (_Jv_CheckABIVersion): Use it.
2974 2005-03-11 Tom Tromey <tromey@redhat.com>
2976 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2977 (usage): Document '-p'.
2978 * Makefile.in: Rebuilt.
2979 * Makefile.am (dbexecdir): New variable.
2980 (db_name): Likewise.
2981 (dbexec_DATA): Likewise.
2982 ($(db_name)): New target.
2983 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2984 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2987 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2989 * exception.cc: Remove stray MethodRef.h include.
2990 * java/lang/natClass.cc: Likewise.
2991 * gnu/gcj/runtime/MethodRef.java: Removed.
2992 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2993 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2994 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2995 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2996 * Makefile.in: Rebuilt.
2998 2005-03-10 Tom Tromey <tromey@redhat.com>
3000 * Makefile.in: Rebuilt.
3001 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3003 2005-03-10 Chris Burdess <dog@bluezoo.org>
3005 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3006 not currently parsing the DTD.
3008 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3010 New Stack Trace infrastructure.
3011 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3012 (gnu/gcj/runtime/StackTrace.java): Removed.
3013 (ordinary_java_source_files): Remove obsolete files.
3014 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3015 * configure.host (fallback_backtrace_h): Set backtrace header
3016 for mingw and cygwin targets.
3017 * configure.ac: Make symlink for fallback backtrace headers.
3018 * Makefile.in, configure: Rebuilt.
3019 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3020 Read 'LineNumberTable' attribute.
3021 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3023 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3025 * exception.cc: Remove unused include.
3026 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3027 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3028 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3029 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3030 table to direct threaded instruction values.
3031 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3032 (_Jv_InterpMethod::run): No longer member function. All
3033 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3034 is made or where an instruction could throw.
3035 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3037 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3038 (catch_fpe): Likewise.
3039 * stacktrace.cc: New file. Stack trace code now here.
3040 * gnu/gcj/runtime/MethodRef.java:
3041 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3042 calls addr2line to look up PC addresses in a given binary or shared
3044 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3045 gnu/gcj/runtime/natStackTrace.cc: Removed.
3046 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3047 this function name is specially recognised by the stack trace code
3048 and shouldn't be changed.
3049 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3050 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3051 (_Jv_InterpMethod::run): Update declaration.
3052 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3054 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3055 * include/java-stack.h: New file. Declarations for stack tracing.
3056 * include/jvm.h (_Jv_Frame_info): Removed.
3057 * java/lang/Class.h: Update friend declarations.
3058 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3060 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3061 (getStackTrace): Now native.
3062 (data): New RawDataManaged field.
3063 * java/lang/natClass.cc: Update includes.
3064 (forName): Use _Jv_StackTrace::GetCallingClass for
3065 calling-classloader check.
3066 (getClassLoader): Likewise.
3067 * java/lang/natRuntime.cc: Update includes.
3068 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3069 * java/lang/natVMSecurityManager.cc: Update includes.
3070 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3071 * java/lang/natVMThrowable.cc: New file. Native methods for
3073 * java/lang/reflect/natArray.cc: Update includes.
3074 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3075 accessibility check.
3076 * java/lang/reflect/natConstructor.cc: Update includes.
3077 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3078 accessibility check.
3079 * java/lang/reflect/natField.cc: Update includes.
3080 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3081 accessibility check.
3082 * java/lang/reflect/natMethod.cc: Update includes.
3083 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3084 accessibility check.
3085 * java/util/natResourceBundle.cc: Update includes.
3086 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3087 * java/util/logging/natLogger.cc: Update includes. Use
3088 _Jv_StackTrace::GetCallerInfo to get call-site info.
3089 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3091 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3094 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3096 * testsuite/libjava.compile/PR20312.java: New file.
3097 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3098 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3100 2005-03-09 Andrew Haley <aph@redhat.com>
3102 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3104 (smallTransferTo): New.
3105 (transferFrom): Loop around smallTransferFrom, copying pageSize
3107 (transferTo): Likewise.
3109 2005-03-09 David Daney <ddaney@avtrex.com>
3112 Merge BufferedInputStream from GNU Classpath.
3113 * java/io/BufferedInputStream.java (marktarget): Field removed.
3114 (CHUNKSIZE): Field removed.
3115 (bufferSize): New field.
3116 (BufferedInputStream): Initialize fields.
3117 (close): Invalidate mark and buffer indexes.
3119 (read()): Move mark handling code to refill.
3120 (read(byte[], int, int)): Ditto.
3121 (skip): Ditto and simplify EOF testing.
3122 (refill): Rewritten.
3123 * java/io/InputStreamReader.java (refill): Removed mark and reset
3124 of internal BufferedInputStream.
3126 2005-03-09 Tom Tromey <tromey@redhat.com>
3128 * java/lang/natVMClassLoader.cc (defineClass): Reference
3129 'systemClassLoader' field directly.
3130 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3132 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3133 Reference 'systemClassLoader' field directly.
3134 (_Jv_UnregisterInitiatingLoader): Likewise.
3135 (_Jv_FindClass): Likewise.
3137 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3139 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3141 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3142 the file in GNU Classpath style.
3144 2005-03-09 Tom Tromey <tromey@redhat.com>
3146 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3147 (toString): Synchronize.
3149 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3151 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3152 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3154 2005-03-07 Tom Tromey <tromey@redhat.com>
3156 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3157 (usage): Document '-f'.
3159 2005-03-07 Tom Tromey <tromey@redhat.com>
3161 * java/lang/VMCompiler.java (md5Digest): New field.
3162 (compileClass): Clone md5Digest instead of looking up a new one.
3164 2005-03-07 Tom Tromey <tromey@redhat.com>
3167 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3168 * link.cc (find_field_helper): Added 'type' argument.
3169 (find_field): Updated.
3171 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3172 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3173 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3174 throw UnsupportedOperationException, fixed comments.
3175 (setFont, setForeground): Fixed comments.
3176 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3177 return type to boolean.
3178 (getNextEvent): Fixed javadocs.
3179 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3180 (nativeQueueEmpty): Removed unused code.
3181 (iterateNativeQueue): Removed outer loop.
3183 2005-03-06 Roger Sayle <roger@eyesopen.com>
3186 * Makefile.am (libgcj0_convenience.la): Revert last change.
3187 * Makefile.in: Regenerate.
3189 2005-03-05 Anthony Green <green@redhat.com>
3191 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3192 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3193 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3194 (_Jv_GetDrawingSurface): Set visualID.
3195 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3196 (JAWT_GetAWT): Set Lock and Unlock.
3197 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3199 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3200 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3201 JAWT_LOCK_SURFACE_CHANGED): New macros.
3202 (struct _JAWT): Add Lock and Unlock.
3204 2005-03-05 Roger Sayle <roger@eyesopen.com>
3205 Alexandre Oliva <aoliva@redhat.com>
3206 Kelley Cook <kcook@gcc.gnu.org>
3209 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3210 of the object files to link to avoid exceeding the command line
3211 length limits on some platforms.
3212 (clean-local): Clean up objectlist files.
3213 * Makefile.in: Regenerate.
3215 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3217 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3218 spec_case. Initialize pointer mlo.
3220 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3223 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3225 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3228 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3229 uninitialized variable z.
3231 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3232 possible unused variables.
3234 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3236 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3238 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3241 * testsuite/libjava.jni/jni.exp
3242 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3244 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3246 2005-02-23 David Daney <ddaney@avtrex.com>
3248 * configure.host: Don't use -mxgot for MIPS builds.
3250 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3253 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3254 (COMPPATH): Removed.
3255 (ZIP, GCJH): Replace it with ../$(host_subdir).
3256 (built_gcc_dir): Add $(host_subdir).
3257 * configure: Regenerate.
3258 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3259 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3260 external/w3c_dom/Makefile.in: Regenerate.
3262 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3264 * java/awt/font/TextAttribute.java: changed names to lower case;
3265 (readResolve): implemented.
3266 Added doc comments all over.
3268 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3271 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3272 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3273 value. Move argument parsing code to prims.cc.
3274 * prims.cc (no_properties): Remove.
3275 (_Jv_Compiler_Properties): Initialize to NULL.
3276 (_Jv_Properties_Count): Initialize to 0.
3277 (parse_verbose_args): New function.
3278 (parse_init_args): New function.
3279 (_Jv_CreateJavaVM): Call parse_init_args.
3280 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3281 * gcj/cni.h (JvVMOption): New struct.
3282 (JvVMInitArgs): Likewise.
3283 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3285 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3286 (_Jv_VMInitArgs): Likewise.
3287 * include/java-props.h (_Jv_Properties_Count): Declare.
3288 * java/lang/natRuntime.cc (insertSystemProperties): Use
3289 _Jv_Properties_Count in for loop exit condition.
3290 * testsuite/libjava.jni/jni.exp
3291 (gcj_invocation_compile_c_to_binary): New procedure.
3292 (gcj_invocation_test_one): Likewise.
3293 (gcj_jni_run): Run JNI invocation API tests.
3294 * testsuite/libjava.jni/invocation/PR16923.c,
3295 testsuite/libjava.jni/invocation/PR16923.java,
3296 testsuite/libjava.jni/invocation/PR16923.out: New test.
3298 2005-02-23 Michael Koch <konqueror@gmx.de>
3300 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3301 * Makefile.in: Regenerated.
3303 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3305 * gnu/java/nio/ChannelReader: Fixed comments.
3307 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3309 * java/nio/channels/Channels: Added FIXMEs about
3310 stub method implementation.
3311 (newReader): Implemented.
3312 * gnu/java/nio/ChannelReader: New class.
3314 2005-02-23 Michael Koch <konqueror@gmx.de>
3316 * java/text/SimpleDateFormat.java:
3317 Removed unused import.
3319 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3322 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3323 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3324 * Makefile.in: Regenerate.
3325 * configure.ac: Check for libXtst.
3326 * configure: Regenerate.
3328 2005-02-22 Mark Wielaard <address@bogus.example.com>
3330 * java/security/AlgorithmParameterGenerator.java (getInstance):
3331 Mention provider when throwing NoSuchProviderException.
3332 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3333 * java/security/KeyFactory.java (getInstance): Likewise.
3334 * java/security/KeyStore.java (getInstance): Likewise.
3335 * java/security/SecureRandom.java (getInstance): Likewise.
3336 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3338 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3340 * java/lang/reflect/Proxy.java,
3342 java/security/SecureRandom.java,
3343 java/util/Timer.java,
3344 java/util/prefs/AbstractPreferences.java:
3345 Don't catch java.lang.ThreadDeath.
3347 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3349 * java/awt/font/TransformAttribute.java,
3350 (TransformAttribute(AffineTransform)): throw
3351 IllegalArgumentException for null transform.
3352 (getTransform): return a copy of transform.
3353 Added doc comments to all.
3355 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3357 * java/io/Externalizable.java,
3358 java/io/Serializable.java
3359 (serialVersionUID): Removed.
3360 * java/rmi/server/RemoteObject.java,
3361 java/rmi/server/UID.java
3362 (serialVersionUID): Made private.
3363 * java/rmi/server/RemoteRef.java,
3364 java/rmi/server/ServerRef.java
3365 (serialVersionUID): Set proper value.
3366 * java/security/interfaces/DSAPrivateKey.java,
3367 java/security/interfaces/DSAPublicKey.java,
3368 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3369 java/security/interfaces/RSAPrivateCrtKey.java,
3370 java/security/interfaces/RSAPrivateKey.java,
3371 java/security/interfaces/RSAPublicKey.java,
3372 javax/crypto/SecretKey.java
3373 (serialVersionUID): Added.
3375 2005-02-22 Tom Tromey <tromey@redhat.com>
3377 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3379 2005-02-22 Tom Tromey <tromey@redhat.com>
3382 * verify.cc (type::EITHER): New constant.
3383 (check_field_constant): Use it.
3384 (type::compatible): Handle it.
3386 2005-02-22 Michael Koch <konqueror@gmx.de>
3388 * gnu/java/security/PolicyFile.java,
3389 gnu/java/security/pkcs/PKCS7SignedData.java,
3390 gnu/java/security/pkcs/SignerInfo.java:
3391 Fixed copyright header.
3393 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3395 * java/beans/PropertyDescriptor.java
3396 (PropertyDescriptor,setReadMethod): Set propertyType.
3398 2005-02-22 Michael Koch <konqueror@gmx.de>
3400 * java/nio/DirectByteBufferImpl.java
3401 (owner): Fixed formatting of javadoc.
3402 * java/text/DateFormat.java
3403 (getAvailableLocales): Fixed formatting.
3404 * java/text/SimpleDateFormat.java:
3405 Fixed formatting and import statement order.
3406 * java/util/Calendar.java
3407 (Calendar): Fixed javadoc to be HTML compliant.
3408 * java/util/SimpleTimeZone.java:
3411 2005-02-22 Roman Kennke <roman@ontographics.com>
3413 * javax/swing/plaf/basic/BasicLookAndFeel.java
3414 (initComponentDefaults): Fixed Button left and right margin.
3416 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3418 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3422 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3423 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3424 (getWidth): New method.
3425 (getHeight): Likewise.
3426 (create): Remove width, height and insets parameters. Move size
3428 (realize_cb): ... here. New function.
3429 (connectSignals): Connect realize_cb.
3430 (request_frame_extents): Remove FIXME. Move
3431 postInsetsChangedEvent lookup ...
3432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3433 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3434 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3436 (windowGetWidthID): Likewise.
3437 (windowGetHeightID): Likewise.
3439 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3443 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3445 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3447 Merge serialization from GNU Classpath.
3448 * gcj/method.h: Add missing #includes.
3449 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3450 primitive class IDs on the stream here...
3451 (resolveClass): ...not here.
3452 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3454 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3455 setLongNative, setIntNative, setShortNative, setCharNative,
3456 setByteNative, setBooleanNative, setObjectNative): New native methods.
3457 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3458 setLongNative, setIntNative, setShortNative, setCharNative,
3459 setByteNative, setBooleanNative, setObjectNative): Implement them.
3460 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3461 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3462 the constructor here.
3463 (callConstructor): Removed.
3464 (getCallersClassLoader): Removed.
3465 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3466 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3467 to control whether setting final field values is permitted. Call
3468 getAddr() with checkFinal parameter instead of setAddr().
3469 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3470 only if not done already.
3471 (getAddr): Add checkFinal parameter. Do the final field check only if
3475 2005-02-21 Mark Wielaard <mark@klomp.org>
3478 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3481 2005-02-21 Mark Wielaard <mark@klomp.org>
3484 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3485 without a super class and us ObjectStreamClass.lookupForClassObject().
3486 (resolveClass): Check for primitive types.
3487 (lookupClass): Return null when argument is null.
3489 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3491 * java/io/ObjectInputStream.java
3492 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3494 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3496 * java/io/ObjectOutputStream.java
3497 (writeObject, callWriteMethod): Replaced reflection with accessing
3498 cached info in ObjectStreamClass.
3499 (getMethod): Removed.
3500 * java/io/ObjectStreamClass.java
3501 (findMethod): Added check to make sure the method found has the
3503 (cacheMethods): Added writeReplace and writeObject methods.
3504 (setFlags): Look at new writeObjectMethod field instead of doing
3506 (writeReplaceMethod): New field.
3507 (writeObjectMethod): New field.
3509 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3510 Jeroen Frijters <jeroen@frijters.net>
3512 * java/io/ObjectInputStream.java
3513 (newObject): Changed prototype. Get a constructor reflect object
3515 (callConstructor): Removed.
3516 (allocateObject): Changed prototype.
3517 (readClassDescriptor): Build the constructor reflection directly.
3518 (readObject): Invoke newObject using the new prototype.
3520 * java/io/ObjectStreamClass.java
3521 (firstNonSerializableParent): Removed.
3522 (firstNonSerializableParentConstructor): Added.
3524 2005-02-21 Mark Wielaard <mark@klomp.org>
3526 * gnu/java/locale/LocaleInformation_en.java: Extend
3527 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3529 2005-02-21 Mark Wielaard <mark@klomp.org>
3531 * java/text/SimpleDateFormat.java
3532 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3533 NullPointerException when formatData is null.
3535 2005-02-21 Mark Wielaard <mark@klomp.org>
3537 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3538 taking dstSavings into account.
3540 2005-02-21 Sven de Marothy <sven@physto.se>
3542 * java/text/SimpleDateFormat.java,
3543 (parse): Set correct DST_OFFSET to the correct value.
3545 2005-02-21 Mark Wielaard <mark@klomp.org>
3547 * java/util/SimpleTimeZone.java (checkRule): Throw
3548 IllegalArgumentException when month out of range.
3550 2005-02-21 Sven de Marothy <sven@physto.se>
3552 * java/util/GregorianCalendar.java,
3553 (add): Don't set fields directly anymore. Use set()
3555 2005-02-21 Mark Wielaard <mark@klomp.org>
3557 * java/text/SimpleDateFormat.java (CompiledField.toString):
3558 Use StringBuffer, not StringBuilder.
3559 (toString): Likewise.
3561 2005-02-21 Sven de Marothy <sven@physto.se>
3563 * java/util/Calendar.java
3564 (clear): Dates should clear to local time.
3565 * java/util/GregorianCalendar.java
3566 (computeTime): Fix priority problem with DAY_OF_WEEK,
3567 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3569 2005-02-21 Sven de Marothy <sven@physto.se>
3571 * java/util/Calendar.java
3572 (Calendar): Constructor should clear fields.
3574 2005-02-21 Sven de Marothy <sven@physto.se>
3576 * java/text/SimpleDateFormat.java
3577 (parse): Tweak handling of 2-year dates
3578 * java/util/Calendar.java
3579 (clear): Clear fields to correct value.
3580 * java/util/GregorianCalendar.java
3581 (computeTime): Correct handling of time zones.
3582 Correct field minimum values.
3584 2005-02-21 Sven de Marothy <sven@physto.se>
3586 * java/util/Calendar.java
3587 (set) Invalidate all fields on first call to set().
3589 2005-02-21 Sven de Marothy <sven@physto.se>
3591 * java/util/GregorianCalendar.java
3592 (computeTime): Fixed handling of time zones.
3594 2005-02-21 Sven de Marothy <sven@physto.se>
3596 * java/util/Calendar.java
3597 (clear): Set values to Epoch instead of zero.
3598 (set): Set isSet to the relevant field pattern instead of just
3600 * java/util/GregorianCalendar.java
3601 (getBundle): Removed.
3602 (getDayOfYear): Removed.
3603 (getFirstDayOfMonth): New private method.
3604 (nonLeniencyCheck): New private method.
3605 (computeTime): Correct handling of insufficient data.
3607 2005-02-21 Sven de Marothy <sven@physto.se>
3609 * java/util/Calendar.java: Invalidate ERA field on setting
3611 * java/util/SimpleTimeZone.java:
3612 (getDaysInMonth): Reimplemented.
3613 * java/util/GregorianCalendar.java:
3614 (getLinearTime): Removed.
3615 (isLeapYear(int,boolean)): Removed.
3616 (before(), after()): Removed.
3617 (computeTime): Reimplemented.
3619 2005-02-21 Sven de Marothy <sven@physto.se>
3621 * java/util/Calendar.java: Reformatted.
3622 * java/util/GregorianCalendar.java: Reformatted.
3623 * java/util/SimpleTimeZone.java: Reformatted.
3625 2005-02-21 Sven de Marothy <sven@physto.se>
3627 * java/util/GregorianCalendar.java
3628 (GregorianCalendar): Update fields in the constructor
3630 2005-02-21 Noa Resare <noa@resare.com>
3632 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3633 (set(int,int)): Set and use new field.
3634 (set(int,int,int)): Check new field.
3636 2005-02-21 Noa Resare <address@hidden>
3638 * java/util/Calendar.java(set):
3639 Fix for DST related regression.
3641 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3643 * java/util/Calendar.java
3644 (setTimeInMillis): Added call to clear, removed computeFields call.
3645 * java/util/Date.java
3646 (Date(int,int,int,int,int,int)): Removed workaround for
3647 GregorianCalendar bug.
3648 * java/util/GregorianCalendar.java
3649 (GregorianCalendar): Chained all constructors to a (new)
3651 (computeTime): Fixed support for lenient month treatment.
3652 (getLinearDay): Return long instead of int.
3653 (calculateDay): Added fields argument and changed day argument
3656 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3658 * java/text/SimpleDateFormat.java
3659 Lots of documentation updates.
3660 (readObject(java.io.ObjectInputStream)): Wraps
3661 IllegalArgumentException as specified.
3662 (compileFormat(String)): Uses standardChars
3663 rather than the local pattern characters.
3664 Throws IllegalArgumentException rather than
3666 (toString()): Extended to include all variables
3668 (translateLocalizedPattern(String, String, String)):
3669 Renamed to better define the use of this method.
3671 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3673 * java/text/DateFormat.java:
3674 Documented pattern character offset constants and
3676 (Field): Added new static fields for new pattern chars.
3677 * java/text/SimpleDateFormat.java:
3678 (CompiledField): Changed name of FieldSizePair class
3679 to CompiledField after adding the character as an
3680 attribute. Changed fields to private and added
3681 accessors to give encapsulation.
3682 (CompiledField.CompiledField(int,int,char)): Extended
3683 with character field.
3684 (CompiledField.getField()): New accessor method.
3685 (CompiledField.getSize()): New acceessor method.
3686 (CompiledField.getCharacter()): New accessor method.
3687 (CompiledField.toString()): Added primarily for debugging.
3688 (standardChars): Now uses extended 24 character sequence.
3689 (compileFormat(String)): Changed to use CompiledField.
3690 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3691 java.text.FieldPosition)): Changed to use CompiledField.
3692 New handler for RFC 822 timezones added.
3694 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3696 * java/text/SimpleDateFormat.java:
3697 (parse(String, java.text.ParsePosition)):
3698 Changed 'E' and 'M' cases to use both
3699 short and long names. Extended 'z'
3700 case to also handle 'Z', and deal
3701 with simple GMT offsets such as +0100.
3702 (computeOffset(String)): New private method,
3703 which converts a GMT offset specification,
3704 such as GMT-0500 to a numeric offset in
3706 * java/util/TimeZone.java:
3707 (timezones()): Added "CEST", the daylight
3708 savings time version of "CET", or Central
3711 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3713 * java/text/SimpleDateFormat.java:
3714 (parse): Set the DST offset to 0 when parsing
3715 GMT offset timezones.
3717 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3719 * java/text/SimpleDateFormat.java:
3720 (parse): Use offset to set ZONE_OFFSET
3721 rather than the DST_OFFSET, so that
3722 GMT offset timezones change the right
3725 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3727 * java/text/SimpleDateFormat.java:
3728 (getDateFormatSymbols()): return a copy
3729 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3730 throw exception on null input
3731 (clone()): implemented to clone
3734 2005-02-21 Sven de Marothy <sven@physto.se>
3736 * java/text/SimpleDateFormat.java
3737 (parse): comparison should be case-insensitive, ignore null
3740 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3742 * gnu/java/beans/IntrospectionIncubator.java
3743 (addMethod) Reverts the patch that ntroduced a regression (see bug
3744 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3746 2005-02-21 Michael Koch <konqueror@gmx.de>
3748 * java/awt/Checkbox.java
3749 (next_checkbox_number): New static variable.
3750 (generateName): New method.
3751 (getUniqueLong): Likewise.
3752 * java/awt/Window.java
3753 (next_window_number): New static variable.
3754 (generateName): New method.
3755 (getUniqueLong): Likewise.
3757 2005-02-21 Mark Wielaard <mark@klomp.org>
3759 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3762 2005-02-21 Andrew Haley <aph@redhat.com>
3764 * Makefile.in: Rebuilt.
3765 * Makefile.am (nat_source_files): Added natLogger.cc.
3766 * java/util/logging/natLogger.cc: New file.
3767 * java/util/logging/Logger.java (getCallerStackFrame): Now
3770 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3772 * Makefile.am (all_property_files): Remove left over.
3773 (classes.stamp): Add stamp for the ONESTEP build, also known as
3774 --enable-libgcj-multifile.
3775 * Makefile.in: Regenerated.
3777 2005-02-21 Michael Koch <konqueror@gmx.de>
3779 * java/awt/Button.java,
3780 java/awt/Container.java,
3782 java/awt/Frame.java,
3783 java/text/CollationElementIterator.java,
3784 java/text/RuleBasedCollator.java,
3785 java/util/PropertyPermission.java:
3786 Fixed formatting issues all over.
3788 2005-02-21 Mark Wielaard <mark@klomp.org>
3790 * java/io/FileDescriptor.java (sync): Add real exception to
3791 SyncFailedException.
3793 2005-02-21 Michael Koch <konqueror@gmx.de>
3795 * java/io/InputStreamReader.java:
3798 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3801 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3803 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3805 * libraries/javalib/gnu/regexp/RE.java,
3806 libraries/javalib/java/io/ObjectInputStream.java,
3807 libraries/javalib/java/security/AllPermission.java,
3808 libraries/javalib/java/security/BasicPermission.java,
3809 libraries/javalib/java/security/Permissions.java,
3810 libraries/javalib/java/text/MessageFormat.java:
3811 Made 'inner' classes real public static inner classes,
3812 and made them final where possible, or removed them
3815 2005-02-20 Michael Koch <konqueror@gmx.de>
3817 * gnu/java/text/FormatCharacterIterator.java:
3818 Removed redundant modifiers.
3820 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3822 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3825 2005-02-19 Michael Koch <konqueror@gmx.de>
3827 * Makefile.am: Added new files in gnu/java/beans and
3828 java/beans/XMLDecoder.java.
3829 * Makefile.in: Regenerated.
3831 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3833 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3834 assignment behavior by using java.lang.reflect.Array.set()
3837 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3839 * gnu/java/beans/EmptyBeanInfo.java,
3840 gnu/java/beans/info/ComponentBeanInfo.java:
3841 Removed unused files.
3843 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3845 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3846 of AppletStub for java.beans.Beans.instantiate.
3847 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3849 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3850 to be conformant with Javadoc guidelines.
3851 (instantiate): Added two more overloaded variants, reworked user
3852 documentation, fixed exception behavior, fixed behavior when
3855 2005-02-19 Mark Wielaard <mark@klomp.org>
3857 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3859 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3861 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3863 * gnu/java/beans/decoder/AbstractContext.java,
3864 gnu/java/beans/decoder/AbstractCreatableContext.java,
3865 gnu/java/beans/decoder/AbstractElementHandler.java,
3866 gnu/java/beans/decoder/AbstractObjectContext.java,
3867 gnu/java/beans/decoder/ArrayContext.java,
3868 gnu/java/beans/decoder/ArrayHandler.java,
3869 gnu/java/beans/decoder/AssemblyException.java,
3870 gnu/java/beans/decoder/BooleanHandler.java,
3871 gnu/java/beans/decoder/ByteHandler.java,
3872 gnu/java/beans/decoder/CharHandler.java,
3873 gnu/java/beans/decoder/ClassHandler.java,
3874 gnu/java/beans/decoder/ConstructorContext.java,
3875 gnu/java/beans/decoder/Context.java,
3876 gnu/java/beans/decoder/DecoderContext.java,
3877 gnu/java/beans/decoder/DefaultExceptionListener.java,
3878 gnu/java/beans/decoder/DoubleHandler.java,
3879 gnu/java/beans/decoder/DummyContext.java,
3880 gnu/java/beans/decoder/DummyHandler.java,
3881 gnu/java/beans/decoder/ElementHandler.java,
3882 gnu/java/beans/decoder/FloatHandler.java,
3883 gnu/java/beans/decoder/GrowableArrayContext.java,
3884 gnu/java/beans/decoder/IndexContext.java,
3885 gnu/java/beans/decoder/IntHandler.java,
3886 gnu/java/beans/decoder/JavaHandler.java,
3887 gnu/java/beans/decoder/LongHandler.java,
3888 gnu/java/beans/decoder/MethodContext.java,
3889 gnu/java/beans/decoder/MethodFinder.java,
3890 gnu/java/beans/decoder/NullHandler.java,
3891 gnu/java/beans/decoder/ObjectContext.java,
3892 gnu/java/beans/decoder/ObjectHandler.java,
3893 gnu/java/beans/decoder/PersistenceParser.java,
3894 gnu/java/beans/decoder/PropertyContext.java,
3895 gnu/java/beans/decoder/ShortHandler.java,
3896 gnu/java/beans/decoder/SimpleHandler.java,
3897 gnu/java/beans/decoder/StaticMethodContext.java,
3898 gnu/java/beans/decoder/StringHandler.java,
3899 gnu/java/beans/decoder/VoidHandler.java: New class
3900 implementing java.beans.XMLDecoder decoding functionality.
3901 * java/beans/XMLDecoder.java: New class.
3903 2005-02-19 Michael Koch <konqueror@gmx.de>
3905 * javax/swing/JTextField.java
3906 (notfiyAction): Added javadoc.
3908 2005-02-19 Sven de Marothy <sven@physto.se>
3910 * javax/swing/SpinnerDateModel.java: Implemented.
3912 2005-02-19 Michael Koch <konqueror@gmx.de>
3914 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3915 * Makefile.in: Regenerated.
3917 2005-02-19 Michael Koch <konqueror@gmx.de>
3919 * gnu/java/nio/SelectorImpl.java:
3920 Reworked import statements.
3921 (register): Removed unused code.
3922 * java/nio/channels/Channels.java: Reformatted.
3923 * java/nio/charset/Charset.java: Likewise.
3924 * java/rmi/server/RemoteObject.java
3925 (serialVersionUID): Made private.
3926 * java/rmi/server/UID.java
3927 (serialVersionUID): Likewise.
3929 2005-02-19 Michael Koch <konqueror@gmx.de>
3931 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3932 gnu/java/net/protocol/ftp/BlockInputStream.java,
3933 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3934 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3935 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3936 gnu/java/net/protocol/ftp/DTPInputStream.java,
3937 gnu/java/net/protocol/ftp/DTP.java,
3938 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3939 gnu/java/net/protocol/ftp/FTPConnection.java,
3940 gnu/java/net/protocol/ftp/FTPException.java,
3941 gnu/java/net/protocol/ftp/FTPResponse.java,
3942 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3943 gnu/java/net/protocol/ftp/Handler.java,
3944 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3945 gnu/java/net/protocol/ftp/StreamInputStream.java,
3946 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3947 gnu/java/net/CRLFInputStream.java,
3948 gnu/java/net/CRLFOutputStream.java,
3949 gnu/java/net/GetLocalHostAction.java,
3950 gnu/java/net/protocol/ftp/package.html: New files.
3951 * Makefile.am: Added new files.
3952 * Makefile.in: Regenerated.
3954 2005-02-18 Tom Tromey <tromey@redhat.com>
3956 * link.cc (make_vtable): Remove abstract method check.
3957 (append_partial_itable): Likewise.
3960 * verify.cc (type::equals): Fixed test.
3961 * testsuite/libjava.lang/PR20056.out: New file.
3962 * testsuite/libjava.lang/PR20056.java: New file.
3964 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3966 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3967 not the HashEntry. Reported by Jean-Marie White.
3969 2005-02-18 Tom Tromey <tromey@redhat.com>
3972 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3973 * link.cc (has_field_p): New function.
3974 * verify.cc (check_field_constant): Added 'putfield' argument.
3975 (verify_instructions_0): Updated.
3976 (type::equals): New method.
3978 2005-02-18 Anthony Green <green@redhat.com>
3980 * NEWS: Draft of libgcj NEWS for 4.0.
3982 2005-02-18 Anthony Green <green@redhat.com>
3984 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3985 architecture names to "i386" for compatibility reasons. Win32
3988 2005-02-18 Anthony Green <green@redhat.com>
3990 * gij.cc (version): Change year for '--version' to 2005.
3991 * gnu/gcj/convert/Convert.java: Ditto.
3992 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3993 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3995 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3996 recent copyright year in `--version' output.
3998 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4000 * java/nio/charset/Charset.java (forName): Throws
4001 IllegalArgumentException when argument is null
4002 and added documentation.
4004 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4006 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4007 Move the position of the source buffer forward.
4009 2005-02-17 Tom Tromey <tromey@redhat.com>
4011 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4012 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4013 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4014 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4015 Changed type of second argument. Rewrote.
4016 (make_vtable): Use it.
4017 (append_partial_itable): Updated.
4018 (layout_vtable_methods): Updated.
4020 2005-02-17 Michael Koch <konqueror@gmx.de>
4022 * gnu/java/net/PlainSocketImpl.java
4023 (shutdownInput): Added javadoc.
4024 (shutdownOutput): Likewise.
4026 2005-02-17 Michael Koch <konqueror@gmx.de>
4028 * javax/print/attribute/standard/Chromaticity.java,
4029 javax/print/attribute/standard/Destination.java,
4030 javax/print/attribute/standard/MediaPrintableArea.java,
4031 javax/print/attribute/standard/MediaSize.java: New files.
4032 * Makefile.am: Added new files.
4033 * Makefile.in: Regenerated.
4035 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4036 Michael Koch <konqueror@gmx.de>
4038 * gnu/java/net/protocol/http/Cookie.java,
4039 gnu/java/net/protocol/http/HTTPConnection.java,
4040 gnu/java/net/protocol/http/HTTPDateFormat.java,
4041 gnu/java/net/protocol/http/Request.java,
4042 gnu/java/nio/PipeImpl.java,
4043 gnu/java/rmi/dgc/DGCImpl.java,
4044 gnu/java/rmi/server/ConnectionRunnerPool.java,
4045 gnu/java/rmi/server/UnicastConnectionManager.java,
4046 gnu/java/security/der/DERWriter.java,
4047 gnu/java/security/pkcs/SignerInfo.java,
4048 gnu/java/security/provider/EncodedKeyFactory.java,
4049 gnu/java/security/provider/GnuDHPublicKey.java,
4050 gnu/java/security/provider/GnuDSAPrivateKey.java,
4051 gnu/java/security/provider/GnuDSAPublicKey.java,
4052 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4053 gnu/java/security/x509/X500DistinguishedName.java,
4054 gnu/java/security/x509/X509CRL.java,
4055 gnu/java/security/x509/X509CRLEntry.java,
4056 gnu/java/security/x509/X509Certificate.java,
4057 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4058 gnu/java/security/x509/ext/CertificatePolicies.java,
4059 gnu/java/security/x509/ext/PolicyConstraint.java,
4060 gnu/xml/dom/Consumer.java,
4061 gnu/xml/dom/DomCharacterData.java,
4062 gnu/xml/dom/DomDocument.java,
4063 gnu/xml/dom/DomDocumentBuilder.java,
4064 gnu/xml/dom/DomIterator.java,
4065 gnu/xml/dom/DomNode.java,
4066 gnu/xml/dom/DomXPathExpression.java,
4067 gnu/xml/dom/DomXPathResult.java,
4068 gnu/xml/dom/JAXPFactory.java,
4069 gnu/xml/pipeline/CallFilter.java,
4070 gnu/xml/pipeline/DomConsumer.java,
4071 gnu/xml/pipeline/LinkFilter.java,
4072 gnu/xml/pipeline/NSFilter.java,
4073 gnu/xml/pipeline/TeeConsumer.java,
4074 gnu/xml/pipeline/ValidationConsumer.java,
4075 gnu/xml/pipeline/WellFormednessFilter.java,
4076 gnu/xml/pipeline/XIncludeFilter.java,
4077 gnu/xml/pipeline/XsltFilter.java,
4078 gnu/xml/transform/ApplyImportsNode.java,
4079 gnu/xml/transform/Bindings.java,
4080 gnu/xml/transform/DocumentFunction.java,
4081 gnu/xml/transform/FormatNumberFunction.java,
4082 gnu/xml/transform/NodeNumberNode.java,
4083 gnu/xml/transform/NumberNode.java,
4084 gnu/xml/transform/Stylesheet.java,
4085 gnu/xml/transform/SystemPropertyFunction.java,
4086 gnu/xml/transform/Template.java,
4087 gnu/xml/transform/TemplatesImpl.java,
4088 gnu/xml/transform/TransformerImpl.java,
4089 gnu/xml/transform/ValueOfNode.java,
4090 gnu/xml/transform/XSLURIResolver.java,
4091 gnu/xml/util/DoParse.java,
4092 gnu/xml/util/Resolver.java,
4093 gnu/xml/xpath/Expr.java,
4094 gnu/xml/xpath/FunctionCall.java,
4095 gnu/xml/xpath/RelationalExpr.java,
4096 gnu/xml/xpath/Selector.java,
4097 gnu/xml/xpath/XPathParser.java:
4098 Reworked import statements, fixed modifier order and some little
4101 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4103 * java/nio/ByteBufferImpl.java (compact):
4104 Set position and limit even if no bytes were moved.
4106 2005-02-17 Michael Koch <konqueror@gmx.de>
4108 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4109 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4110 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4111 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4112 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4113 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4114 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4115 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4116 * java/nio/FloatBufferImpl.java (compact): Set position.
4117 * java/nio/CharBufferImpl.java (compact): Likewise.
4118 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4119 * java/nio/IntBufferImpl.java (compact): Likewise.
4120 * java/nio/LongBufferImpl.java (compact): Likewise.
4121 * java/nio/ShortBufferImpl.java (compact): Likewise.
4123 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4125 * java/nio/ByteBufferImpl.java,
4126 java/nio/CharBufferImpl.java,
4127 java/nio/DirectByteBufferImpl.java,
4128 java/nio/DoubleBufferImpl.java,
4129 java/nio/FloatBufferImpl.java,
4130 java/nio/IntBufferImpl.java,
4131 java/nio/LongBufferImpl.java,
4132 java/nio/MappedByteBufferImpl.java,
4133 java/nio/ShortBufferImpl.java
4134 (compact): Added explicit read-only check and invalidate mark.
4136 2005-02-17 Michael Koch <konqueror@gmx.de>
4138 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4139 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4140 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4141 gnu/java/awt/peer/gtk/GdkGraphics.java,
4142 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4143 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4144 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4145 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4146 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4147 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4148 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4149 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4150 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4151 gnu/java/awt/peer/gtk/GtkClipboard.java,
4152 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4153 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4154 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4155 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4156 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4157 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4158 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4159 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4160 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4161 gnu/java/awt/peer/gtk/GtkToolkit.java,
4162 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4163 java/applet/Applet.java,
4164 java/awt/AWTError.java,
4165 java/awt/AWTEvent.java,
4166 java/awt/AWTEventMulticaster.java,
4167 java/awt/AWTException.java,
4168 java/awt/AWTKeyStroke.java,
4169 java/awt/AWTPermission.java,
4170 java/awt/ActiveEvent.java,
4171 java/awt/Adjustable.java,
4172 java/awt/AlphaComposite.java,
4173 java/awt/AttributeValue.java,
4174 java/awt/BorderLayout.java,
4175 java/awt/BufferCapabilities.java,
4176 java/awt/Button.java,
4177 java/awt/Canvas.java,
4178 java/awt/CheckboxGroup.java,
4179 java/awt/CheckboxMenuItem.java,
4180 java/awt/Color.java,
4181 java/awt/ColorPaintContext.java,
4182 java/awt/Component.java,
4183 java/awt/ComponentOrientation.java,
4184 java/awt/Composite.java,
4185 java/awt/CompositeContext.java,
4186 java/awt/Container.java,
4187 java/awt/ContainerOrderFocusTraversalPolicy.java,
4188 java/awt/DefaultFocusTraversalPolicy.java,
4189 java/awt/Dialog.java,
4190 java/awt/Dimension.java,
4191 java/awt/DisplayMode.java,
4192 java/awt/EventQueue.java,
4193 java/awt/FileDialog.java,
4194 java/awt/FontFormatException.java,
4195 java/awt/Graphics.java,
4196 java/awt/Graphics2D.java,
4197 java/awt/GraphicsConfigTemplate.java,
4198 java/awt/GraphicsConfiguration.java,
4199 java/awt/GraphicsDevice.java,
4200 java/awt/GridBagLayout.java,
4201 java/awt/GridBagLayoutInfo.java,
4202 java/awt/GridLayout.java,
4203 java/awt/HeadlessException.java,
4204 java/awt/IllegalComponentStateException.java,
4205 java/awt/Image.java,
4206 java/awt/Insets.java,
4207 java/awt/ItemSelectable.java,
4208 java/awt/JobAttributes.java,
4209 java/awt/KeyEventDispatcher.java,
4210 java/awt/KeyEventPostProcessor.java,
4211 java/awt/KeyboardFocusManager.java,
4212 java/awt/Label.java,
4213 java/awt/LayoutManager.java,
4214 java/awt/MenuBar.java,
4215 java/awt/MenuComponent.java,
4216 java/awt/MenuContainer.java,
4217 java/awt/PageAttributes.java,
4218 java/awt/Paint.java,
4219 java/awt/PaintContext.java,
4220 java/awt/Panel.java,
4221 java/awt/Point.java,
4222 java/awt/Polygon.java,
4223 java/awt/PrintGraphics.java,
4224 java/awt/PrintJob.java,
4225 java/awt/Rectangle.java,
4226 java/awt/RenderingHints.java,
4227 java/awt/Shape.java,
4228 java/awt/Stroke.java,
4229 java/awt/SystemColor.java,
4230 java/awt/Toolkit.java,
4231 java/awt/Transparency.java,
4232 java/awt/Window.java,
4233 java/awt/color/CMMException.java,
4234 java/awt/color/ColorSpace.java,
4235 java/awt/color/ICC_ColorSpace.java,
4236 java/awt/color/ICC_Profile.java,
4237 java/awt/color/ProfileDataException.java,
4238 java/awt/datatransfer/FlavorTable.java,
4239 java/awt/datatransfer/MimeTypeParseException.java,
4240 java/awt/datatransfer/Transferable.java,
4241 java/awt/datatransfer/UnsupportedFlavorException.java,
4242 java/awt/dnd/Autoscroll.java,
4243 java/awt/dnd/DnDConstants.java,
4244 java/awt/dnd/DragGestureListener.java,
4245 java/awt/dnd/DragSourceAdapter.java,
4246 java/awt/dnd/DragSourceDropEvent.java,
4247 java/awt/dnd/DragSourceListener.java,
4248 java/awt/dnd/DragSourceMotionListener.java,
4249 java/awt/dnd/DropTargetAdapter.java,
4250 java/awt/dnd/DropTargetContext.java,
4251 java/awt/dnd/DropTargetListener.java,
4252 java/awt/dnd/InvalidDnDOperationException.java,
4253 java/awt/dnd/MouseDragGestureRecognizer.java,
4254 java/awt/dnd/peer/DropTargetContextPeer.java,
4255 java/awt/event/AWTEventListener.java,
4256 java/awt/event/AWTEventListenerProxy.java,
4257 java/awt/event/ActionEvent.java,
4258 java/awt/event/AdjustmentEvent.java,
4259 java/awt/event/AdjustmentListener.java,
4260 java/awt/event/ComponentAdapter.java,
4261 java/awt/event/ComponentEvent.java,
4262 java/awt/event/ComponentListener.java,
4263 java/awt/event/ContainerAdapter.java,
4264 java/awt/event/ContainerEvent.java,
4265 java/awt/event/ContainerListener.java,
4266 java/awt/event/FocusAdapter.java,
4267 java/awt/event/FocusEvent.java,
4268 java/awt/event/FocusListener.java,
4269 java/awt/event/InputEvent.java,
4270 java/awt/event/InputMethodEvent.java,
4271 java/awt/event/InputMethodListener.java,
4272 java/awt/event/InvocationEvent.java,
4273 java/awt/event/ItemEvent.java,
4274 java/awt/event/ItemListener.java,
4275 java/awt/event/KeyAdapter.java,
4276 java/awt/event/KeyEvent.java,
4277 java/awt/event/KeyListener.java,
4278 java/awt/event/MouseAdapter.java,
4279 java/awt/event/MouseEvent.java,
4280 java/awt/event/MouseListener.java,
4281 java/awt/event/MouseMotionAdapter.java,
4282 java/awt/event/MouseMotionListener.java,
4283 java/awt/event/MouseWheelEvent.java,
4284 java/awt/event/MouseWheelListener.java,
4285 java/awt/event/PaintEvent.java,
4286 java/awt/event/TextEvent.java,
4287 java/awt/event/TextListener.java,
4288 java/awt/event/WindowAdapter.java,
4289 java/awt/event/WindowEvent.java,
4290 java/awt/event/WindowFocusListener.java,
4291 java/awt/event/WindowListener.java,
4292 java/awt/event/WindowStateListener.java,
4293 java/awt/font/TextHitInfo.java,
4294 java/awt/geom/CubicCurve2D.java,
4295 java/awt/geom/Dimension2D.java,
4296 java/awt/geom/Ellipse2D.java,
4297 java/awt/geom/IllegalPathStateException.java,
4298 java/awt/geom/Line2D.java,
4299 java/awt/geom/NoninvertibleTransformException.java,
4300 java/awt/geom/PathIterator.java,
4301 java/awt/geom/Point2D.java,
4302 java/awt/geom/QuadCurve2D.java,
4303 java/awt/geom/RectangularShape.java,
4304 java/awt/geom/RoundRectangle2D.java,
4305 java/awt/im/InputContext.java,
4306 java/awt/im/InputMethodHighlight.java,
4307 java/awt/im/InputMethodRequests.java,
4308 java/awt/im/InputSubset.java,
4309 java/awt/im/spi/InputMethod.java,
4310 java/awt/im/spi/InputMethodDescriptor.java,
4311 java/awt/image/BandCombineOp.java,
4312 java/awt/image/BandedSampleModel.java,
4313 java/awt/image/ByteLookupTable.java,
4314 java/awt/image/ComponentSampleModel.java,
4315 java/awt/image/DataBuffer.java,
4316 java/awt/image/DataBufferByte.java,
4317 java/awt/image/DataBufferDouble.java,
4318 java/awt/image/DataBufferFloat.java,
4319 java/awt/image/DataBufferInt.java,
4320 java/awt/image/DataBufferShort.java,
4321 java/awt/image/DataBufferUShort.java,
4322 java/awt/image/ImagingOpException.java,
4323 java/awt/image/Kernel.java,
4324 java/awt/image/LookupTable.java,
4325 java/awt/image/MultiPixelPackedSampleModel.java,
4326 java/awt/image/PackedColorModel.java,
4327 java/awt/image/PixelInterleavedSampleModel.java,
4328 java/awt/image/RGBImageFilter.java,
4329 java/awt/image/Raster.java,
4330 java/awt/image/RasterFormatException.java,
4331 java/awt/image/SampleModel.java,
4332 java/awt/image/ShortLookupTable.java,
4333 java/awt/image/SinglePixelPackedSampleModel.java,
4334 java/awt/image/WritableRaster.java,
4335 java/awt/print/PrinterAbortException.java,
4336 java/awt/print/PrinterException.java,
4337 java/awt/print/PrinterIOException.java,
4338 java/beans/AppletInitializer.java,
4339 java/beans/ExceptionListener.java,
4340 java/beans/PropertyChangeEvent.java,
4341 java/beans/PropertyChangeListenerProxy.java,
4342 java/beans/PropertyChangeSupport.java,
4343 java/beans/PropertyDescriptor.java,
4344 java/beans/VetoableChangeListenerProxy.java,
4345 java/beans/VetoableChangeSupport.java,
4346 java/io/BufferedReader.java,
4347 java/io/ByteArrayInputStream.java,
4348 java/io/ByteArrayOutputStream.java,
4349 java/io/CharArrayReader.java,
4350 java/io/CharArrayWriter.java,
4351 java/io/CharConversionException.java,
4352 java/io/DataInput.java,
4353 java/io/DataInputStream.java,
4354 java/io/DataOutput.java,
4355 java/io/DataOutputStream.java,
4356 java/io/EOFException.java,
4357 java/io/FileInputStream.java,
4358 java/io/FileNotFoundException.java,
4359 java/io/FileOutputStream.java,
4360 java/io/FilenameFilter.java,
4361 java/io/FilterInputStream.java,
4362 java/io/FilterOutputStream.java,
4363 java/io/FilterReader.java,
4364 java/io/FilterWriter.java,
4365 java/io/IOException.java,
4366 java/io/InputStream.java,
4367 java/io/InterruptedIOException.java,
4368 java/io/LineNumberInputStream.java,
4369 java/io/LineNumberReader.java,
4370 java/io/ObjectInputStream.java,
4371 java/io/ObjectStreamException.java,
4372 java/io/OptionalDataException.java,
4373 java/io/OutputStream.java,
4374 java/io/OutputStreamWriter.java,
4375 java/io/PrintStream.java,
4376 java/io/PrintWriter.java,
4377 java/io/PushbackInputStream.java,
4378 java/io/PushbackReader.java,
4379 java/io/RandomAccessFile.java,
4380 java/io/Reader.java,
4381 java/io/SequenceInputStream.java,
4382 java/io/Serializable.java,
4383 java/io/StreamCorruptedException.java,
4384 java/io/StreamTokenizer.java,
4385 java/io/StringBufferInputStream.java,
4386 java/io/StringWriter.java,
4387 java/io/SyncFailedException.java,
4388 java/io/UTFDataFormatException.java,
4389 java/io/UnsupportedEncodingException.java,
4390 java/io/WriteAbortedException.java,
4391 java/io/Writer.java,
4392 java/lang/AbstractMethodError.java,
4393 java/lang/ArithmeticException.java,
4394 java/lang/ArrayIndexOutOfBoundsException.java,
4395 java/lang/ArrayStoreException.java,
4396 java/lang/AssertionError.java,
4397 java/lang/Boolean.java,
4398 java/lang/Byte.java,
4399 java/lang/Class.java,
4400 java/lang/ClassCastException.java,
4401 java/lang/ClassCircularityError.java,
4402 java/lang/ClassLoader.java,
4403 java/lang/ClassNotFoundException.java,
4404 java/lang/CloneNotSupportedException.java,
4405 java/lang/Cloneable.java,
4406 java/lang/Comparable.java,
4407 java/lang/Compiler.java,
4408 java/lang/Double.java,
4409 java/lang/Error.java,
4410 java/lang/Exception.java,
4411 java/lang/ExceptionInInitializerError.java,
4412 java/lang/Float.java,
4413 java/lang/IllegalAccessError.java,
4414 java/lang/IllegalAccessException.java,
4415 java/lang/IllegalArgumentException.java,
4416 java/lang/IllegalMonitorStateException.java,
4417 java/lang/IllegalStateException.java,
4418 java/lang/IllegalThreadStateException.java,
4419 java/lang/IncompatibleClassChangeError.java,
4420 java/lang/IndexOutOfBoundsException.java,
4421 java/lang/InheritableThreadLocal.java,
4422 java/lang/InstantiationError.java,
4423 java/lang/InstantiationException.java,
4424 java/lang/Integer.java,
4425 java/lang/InternalError.java,
4426 java/lang/InterruptedException.java,
4427 java/lang/LinkageError.java,
4428 java/lang/Long.java,
4429 java/lang/NegativeArraySizeException.java,
4430 java/lang/NoClassDefFoundError.java,
4431 java/lang/NoSuchFieldError.java,
4432 java/lang/NoSuchFieldException.java,
4433 java/lang/NoSuchMethodError.java,
4434 java/lang/NoSuchMethodException.java,
4435 java/lang/NullPointerException.java,
4436 java/lang/Number.java,
4437 java/lang/NumberFormatException.java,
4438 java/lang/OutOfMemoryError.java,
4439 java/lang/Process.java,
4440 java/lang/Runnable.java,
4441 java/lang/Runtime.java,
4442 java/lang/RuntimeException.java,
4443 java/lang/RuntimePermission.java,
4444 java/lang/SecurityException.java,
4445 java/lang/SecurityManager.java,
4446 java/lang/Short.java,
4447 java/lang/StackOverflowError.java,
4448 java/lang/StackTraceElement.java,
4449 java/lang/StringBuffer.java,
4450 java/lang/StringIndexOutOfBoundsException.java,
4451 java/lang/ThreadDeath.java,
4452 java/lang/ThreadGroup.java,
4453 java/lang/Throwable.java,
4454 java/lang/UnsatisfiedLinkError.java,
4455 java/lang/UnsupportedOperationException.java,
4456 java/lang/VerifyError.java,
4457 java/lang/VirtualMachineError.java,
4458 java/lang/reflect/AccessibleObject.java,
4459 java/lang/reflect/Array.java,
4460 java/lang/reflect/InvocationTargetException.java,
4461 java/lang/reflect/Member.java,
4462 java/lang/reflect/Modifier.java,
4463 java/lang/reflect/Proxy.java,
4464 java/lang/reflect/ReflectPermission.java,
4465 java/lang/reflect/UndeclaredThrowableException.java,
4466 java/math/BigInteger.java,
4467 java/net/NetworkInterface.java,
4468 java/nio/ByteBufferHelper.java,
4469 java/nio/ByteBufferImpl.java,
4470 java/nio/DirectByteBufferImpl.java,
4471 java/nio/DoubleBufferImpl.java,
4472 java/nio/FloatBufferImpl.java,
4473 java/nio/IntBufferImpl.java,
4474 java/nio/LongBufferImpl.java,
4475 java/nio/ShortBufferImpl.java,
4476 java/nio/channels/Channel.java,
4477 java/nio/channels/IllegalBlockingModeException.java,
4478 java/nio/charset/spi/CharsetProvider.java,
4479 java/security/AccessControlException.java,
4480 java/security/BasicPermission.java,
4481 java/security/DigestException.java,
4482 java/security/DigestInputStream.java,
4483 java/security/DigestOutputStream.java,
4484 java/security/GeneralSecurityException.java,
4485 java/security/Guard.java,
4486 java/security/GuardedObject.java,
4487 java/security/InvalidAlgorithmParameterException.java,
4488 java/security/InvalidKeyException.java,
4489 java/security/InvalidParameterException.java,
4490 java/security/Key.java,
4491 java/security/KeyException.java,
4492 java/security/KeyManagementException.java,
4493 java/security/KeyStoreException.java,
4494 java/security/MessageDigestSpi.java,
4495 java/security/NoSuchAlgorithmException.java,
4496 java/security/NoSuchProviderException.java,
4497 java/security/Permission.java,
4498 java/security/PermissionCollection.java,
4499 java/security/Permissions.java,
4500 java/security/Principal.java,
4501 java/security/PrivateKey.java,
4502 java/security/PrivilegedActionException.java,
4503 java/security/ProviderException.java,
4504 java/security/PublicKey.java,
4505 java/security/SecureRandom.java,
4506 java/security/SecureRandomSpi.java,
4507 java/security/SignatureException.java,
4508 java/security/SignatureSpi.java,
4509 java/security/SignedObject.java,
4510 java/security/Signer.java,
4511 java/security/UnrecoverableKeyException.java,
4512 java/security/UnresolvedPermission.java,
4513 java/security/acl/AclNotFoundException.java,
4514 java/security/acl/LastOwnerException.java,
4515 java/security/acl/NotOwnerException.java,
4516 java/security/cert/CertPath.java,
4517 java/security/cert/CertPathBuilderException.java,
4518 java/security/cert/CertPathValidatorException.java,
4519 java/security/cert/CertStoreException.java,
4520 java/text/BreakIterator.java,
4521 java/text/ChoiceFormat.java,
4522 java/text/CollationElementIterator.java,
4523 java/text/CollationKey.java,
4524 java/text/Collator.java,
4525 java/text/DateFormat.java,
4526 java/text/DateFormatSymbols.java,
4527 java/text/DecimalFormat.java,
4528 java/text/DecimalFormatSymbols.java,
4529 java/text/FieldPosition.java,
4530 java/text/Format.java,
4531 java/text/NumberFormat.java,
4532 java/text/ParseException.java,
4533 java/text/ParsePosition.java,
4534 java/text/StringCharacterIterator.java,
4535 java/util/AbstractCollection.java,
4536 java/util/AbstractList.java,
4537 java/util/AbstractMap.java,
4538 java/util/AbstractSequentialList.java,
4539 java/util/AbstractSet.java,
4540 java/util/ArrayList.java,
4541 java/util/Arrays.java,
4542 java/util/BitSet.java,
4543 java/util/Collection.java,
4544 java/util/Collections.java,
4545 java/util/Comparator.java,
4546 java/util/ConcurrentModificationException.java,
4547 java/util/Currency.java,
4548 java/util/Date.java,
4549 java/util/EmptyStackException.java,
4550 java/util/Enumeration.java,
4551 java/util/EventListener.java,
4552 java/util/EventListenerProxy.java,
4553 java/util/EventObject.java,
4554 java/util/HashMap.java,
4555 java/util/HashSet.java,
4556 java/util/Hashtable.java,
4557 java/util/IdentityHashMap.java,
4558 java/util/Iterator.java,
4559 java/util/LinkedHashSet.java,
4560 java/util/LinkedList.java,
4561 java/util/List.java,
4562 java/util/ListIterator.java,
4563 java/util/ListResourceBundle.java,
4565 java/util/MissingResourceException.java,
4566 java/util/NoSuchElementException.java,
4567 java/util/Observable.java,
4568 java/util/Observer.java,
4569 java/util/Properties.java,
4570 java/util/PropertyPermissionCollection.java,
4571 java/util/RandomAccess.java,
4573 java/util/SortedMap.java,
4574 java/util/SortedSet.java,
4575 java/util/Stack.java,
4576 java/util/StringTokenizer.java,
4577 java/util/TooManyListenersException.java,
4578 java/util/TreeMap.java,
4579 java/util/TreeSet.java,
4580 java/util/Vector.java,
4581 java/util/logging/FileHandler.java,
4582 java/util/logging/Level.java,
4583 java/util/prefs/BackingStoreException.java,
4584 java/util/prefs/InvalidPreferencesFormatException.java,
4585 java/util/prefs/Preferences.java,
4586 javax/accessibility/Accessible.java,
4587 javax/accessibility/AccessibleAction.java,
4588 javax/accessibility/AccessibleBundle.java,
4589 javax/accessibility/AccessibleComponent.java,
4590 javax/accessibility/AccessibleContext.java,
4591 javax/accessibility/AccessibleEditableText.java,
4592 javax/accessibility/AccessibleExtendedComponent.java,
4593 javax/accessibility/AccessibleExtendedTable.java,
4594 javax/accessibility/AccessibleHyperlink.java,
4595 javax/accessibility/AccessibleHypertext.java,
4596 javax/accessibility/AccessibleIcon.java,
4597 javax/accessibility/AccessibleKeyBinding.java,
4598 javax/accessibility/AccessibleRelation.java,
4599 javax/accessibility/AccessibleRelationSet.java,
4600 javax/accessibility/AccessibleResourceBundle.java,
4601 javax/accessibility/AccessibleRole.java,
4602 javax/accessibility/AccessibleSelection.java,
4603 javax/accessibility/AccessibleState.java,
4604 javax/accessibility/AccessibleStateSet.java,
4605 javax/accessibility/AccessibleTable.java,
4606 javax/accessibility/AccessibleTableModelChange.java,
4607 javax/accessibility/AccessibleText.java,
4608 javax/accessibility/AccessibleValue.java,
4609 javax/imageio/IIOException.java,
4610 javax/imageio/ImageIO.java,
4611 javax/imageio/spi/IIOServiceProvider.java,
4612 javax/imageio/spi/ImageInputStreamSpi.java,
4613 javax/imageio/spi/ImageOutputStreamSpi.java,
4614 javax/imageio/spi/ImageReaderWriterSpi.java,
4615 javax/imageio/spi/ImageTranscoderSpi.java,
4616 javax/imageio/spi/RegisterableService.java,
4617 javax/imageio/spi/ServiceRegistry.java,
4618 javax/imageio/stream/IIOByteBuffer.java,
4619 javax/imageio/stream/ImageInputStream.java,
4620 javax/imageio/stream/ImageOutputStream.java,
4621 javax/naming/Binding.java,
4622 javax/naming/CannotProceedException.java,
4623 javax/naming/CompositeName.java,
4624 javax/naming/CompoundName.java,
4625 javax/naming/LinkException.java,
4626 javax/naming/LinkRef.java,
4627 javax/naming/NameClassPair.java,
4628 javax/naming/Reference.java,
4629 javax/naming/ReferralException.java,
4630 javax/naming/directory/Attribute.java,
4631 javax/naming/directory/AttributeModificationException.java,
4632 javax/naming/directory/Attributes.java,
4633 javax/naming/directory/DirContext.java,
4634 javax/naming/directory/ModificationItem.java,
4635 javax/naming/directory/SearchControls.java,
4636 javax/naming/directory/SearchResult.java,
4637 javax/naming/event/EventContext.java,
4638 javax/naming/event/EventDirContext.java,
4639 javax/naming/event/NamespaceChangeListener.java,
4640 javax/naming/event/NamingExceptionEvent.java,
4641 javax/naming/event/NamingListener.java,
4642 javax/naming/event/ObjectChangeListener.java,
4643 javax/naming/ldap/Control.java,
4644 javax/naming/ldap/ExtendedResponse.java,
4645 javax/naming/ldap/HasControls.java,
4646 javax/naming/ldap/LdapContext.java,
4647 javax/naming/ldap/UnsolicitedNotification.java,
4648 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4649 javax/naming/ldap/UnsolicitedNotificationListener.java,
4650 javax/naming/spi/DirectoryManager.java,
4651 javax/naming/spi/ResolveResult.java,
4652 javax/naming/spi/Resolver.java,
4653 javax/security/auth/callback/Callback.java,
4654 javax/security/auth/callback/CallbackHandler.java,
4655 javax/security/auth/callback/ChoiceCallback.java,
4656 javax/security/auth/callback/ConfirmationCallback.java,
4657 javax/security/auth/callback/LanguageCallback.java,
4658 javax/security/auth/callback/NameCallback.java,
4659 javax/security/auth/callback/PasswordCallback.java,
4660 javax/security/auth/callback/TextInputCallback.java,
4661 javax/security/auth/callback/TextOutputCallback.java,
4662 javax/security/auth/callback/UnsupportedCallbackException.java,
4663 javax/security/sasl/Sasl.java,
4664 javax/security/sasl/SaslServerFactory.java,
4665 javax/swing/DefaultBoundedRangeModel.java,
4666 javax/swing/JComponent.java,
4667 javax/swing/JList.java,
4668 javax/swing/JProgressBar.java,
4669 javax/swing/JRadioButton.java,
4670 javax/swing/JTextArea.java,
4671 javax/swing/JTextField.java,
4672 javax/swing/JToggleButton.java,
4673 javax/swing/JTree.java,
4674 javax/swing/SpinnerListModel.java,
4675 javax/swing/event/EventListenerList.java,
4676 javax/swing/text/JTextComponent.java,
4677 javax/swing/text/StringContent.java,
4678 javax/swing/text/Utilities.java,
4679 javax/swing/undo/UndoManager.java,
4680 javax/swing/undo/UndoableEditSupport.java,
4681 javax/transaction/HeuristicCommitException.java,
4682 javax/transaction/HeuristicMixedException.java,
4683 javax/transaction/HeuristicRollbackException.java,
4684 javax/transaction/InvalidTransactionException.java,
4685 javax/transaction/NotSupportedException.java,
4686 javax/transaction/RollbackException.java,
4687 javax/transaction/Status.java,
4688 javax/transaction/Synchronization.java,
4689 javax/transaction/SystemException.java,
4690 javax/transaction/Transaction.java,
4691 javax/transaction/TransactionManager.java,
4692 javax/transaction/TransactionRequiredException.java,
4693 javax/transaction/TransactionRolledbackException.java,
4694 javax/transaction/UserTransaction.java,
4695 javax/transaction/xa/XAException.java,
4696 javax/transaction/xa/XAResource.java,
4697 javax/transaction/xa/Xid.java,
4698 javax/xml/XMLConstants.java,
4699 javax/xml/datatype/DatatypeConfigurationException.java,
4700 javax/xml/datatype/DatatypeConstants.java,
4701 javax/xml/datatype/DatatypeFactory.java,
4702 javax/xml/datatype/Duration.java,
4703 javax/xml/datatype/XMLGregorianCalendar.java,
4704 javax/xml/namespace/NamespaceContext.java,
4705 javax/xml/namespace/QName.java,
4706 javax/xml/parsers/DocumentBuilder.java,
4707 javax/xml/parsers/DocumentBuilderFactory.java,
4708 javax/xml/parsers/FactoryConfigurationError.java,
4709 javax/xml/parsers/ParserConfigurationException.java,
4710 javax/xml/parsers/SAXParser.java,
4711 javax/xml/parsers/SAXParserFactory.java,
4712 javax/xml/transform/ErrorListener.java,
4713 javax/xml/transform/OutputKeys.java,
4714 javax/xml/transform/Result.java,
4715 javax/xml/transform/Source.java,
4716 javax/xml/transform/SourceLocator.java,
4717 javax/xml/transform/Templates.java,
4718 javax/xml/transform/Transformer.java,
4719 javax/xml/transform/TransformerConfigurationException.java,
4720 javax/xml/transform/TransformerException.java,
4721 javax/xml/transform/TransformerFactory.java,
4722 javax/xml/transform/TransformerFactoryConfigurationError.java,
4723 javax/xml/transform/URIResolver.java,
4724 javax/xml/transform/dom/DOMLocator.java,
4725 javax/xml/transform/dom/DOMResult.java,
4726 javax/xml/transform/dom/DOMSource.java,
4727 javax/xml/transform/sax/SAXResult.java,
4728 javax/xml/transform/sax/SAXSource.java,
4729 javax/xml/transform/sax/SAXTransformerFactory.java,
4730 javax/xml/transform/sax/TemplatesHandler.java,
4731 javax/xml/transform/sax/TransformerHandler.java,
4732 javax/xml/transform/stream/StreamResult.java,
4733 javax/xml/transform/stream/StreamSource.java,
4734 javax/xml/validation/Schema.java,
4735 javax/xml/validation/SchemaFactory.java,
4736 javax/xml/validation/TypeInfoProvider.java,
4737 javax/xml/validation/Validator.java,
4738 javax/xml/validation/ValidatorHandler.java,
4739 javax/xml/xpath/XPathConstants.java,
4740 javax/xml/xpath/XPathException.java,
4741 javax/xml/xpath/XPathExpression.java,
4742 javax/xml/xpath/XPathExpressionException.java,
4743 javax/xml/xpath/XPathFactory.java,
4744 javax/xml/xpath/XPathFactoryConfigurationException.java,
4745 javax/xml/xpath/XPathFunction.java,
4746 javax/xml/xpath/XPathFunctionException.java,
4747 javax/xml/xpath/XPathFunctionResolver.java:
4748 Fixed usage of @author tag, reworked import statements,
4749 removed CVS tags, changed the modifier order and fixed
4750 HTML usage in javadocs.
4752 2005-02-16 Julian Scheid <julian@sektor37.de>
4754 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4756 (encodeLoop): Likewise.
4758 2005-02-16 Mark Wielaard <mark@klomp.org>
4760 * Makefile.am (ordinary_java_source_files): Add new files
4761 gnu/java/security/ber/BER.java,
4762 gnu/java/security/ber/BEREncodingException.java,
4763 gnu/java/security/ber/BERReader.java,
4764 gnu/java/security/ber/BERValue.java,
4765 gnu/java/security/pkcs/PKCS7SignedData.java and
4766 gnu/java/security/pkcs/SignerInfo.java.
4767 * Makefile.in: Regenerated.
4769 2005-02-16 Casey Marshall <csm@gnu.org>
4771 * gnu/java/security/provider/GnuDSAPrivateKey.java
4772 (encodedKey): new field.
4773 (getFormat): return "PKCS#8".
4774 (getEncoded): implemented.
4775 (toString): check for 'null' values.
4776 * gnu/java/security/provider/GnuDSAPublicKey.java
4777 (encodedKey): new field.
4778 (getFormat): return "X.509".
4779 (getEncoded): implemented.
4780 (toString): check for 'null' values.
4782 2005-02-16 Michael Koch <konqueror@gmx.de>
4784 * java/util/jar/JarFile.java: Imports reworked.
4786 2005-02-16 Mark Wielaard <mark@klomp.org>
4788 * java/util/jar/JarFile.java (verify): Make package private.
4789 (signaturesRead): Likewise.
4790 (verified): Likewise.
4791 (entryCerts): Likewise.
4794 (entries): Construct new JarEnumeration with reference to this.
4795 (JarEnumeration): Make static.
4796 (JarEnumeration.jarfile): New field.
4797 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4798 Compare verified value to Boolean.TRUE or Boolean.False only
4799 when verify is true.
4800 (getEntry): Make synchronized. Compare value of verified to
4802 (getInputStream): Construct EntryInputStream with reference to this.
4803 (getManifest): Make synchronized.
4804 (EntryInputStream): Make static.
4805 (EntryInputStream.jarfile): New field.
4806 (EntryInputStream.EntryInputStream): Check if manifest exists,
4807 before getting attributes.
4808 (eof): Synchronize on jarfile.
4810 2005-02-16 Casey Marshall <csm@gnu.org>
4812 * java/util/jar/JarFile.java (verify): return if the jar is signed
4813 with an unsupported algorithm.
4815 2005-02-16 Mark Wielaard <mark@klomp.org>
4817 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4818 InputStream as argument.
4819 (getInputStream): Construct a new EntryInputStream with the result of
4820 super.getInputStream(entry).
4822 2005-02-16 Casey Marshall <csm@gnu.org>
4824 Signed JAR file support.
4825 * java/net/URLClassLoader.java
4826 (JarURLResource.getCertificates): re-read jar entry to ensure
4827 certificates are picked up.
4828 (findClass): fill in class `signers' field, too.
4829 * java/util/jar/JarFile.java (META_INF): new constant.
4830 (PKCS7_DSA_SUFFIX): new constant.
4831 (PKCS7_RSA_SUFFIX): new constant.
4832 (DIGEST_KEY_SUFFIX): new constant.
4833 (SF_SUFFIX): new constant.
4834 (MD2_OID): new constant.
4835 (MD4_OID): new constant.
4836 (MD5_OID): new constant.
4837 (SHA1_OID): new constant.
4838 (DSA_ENCRYPTION_OID): new constant.
4839 (RSA_ENCRYPTION_OID): new constant.
4840 (signaturesRead): new field.
4841 (verified): new field.
4842 (entryCerts): new field.
4843 (DEBUG): new constant.
4844 (debug): new method.
4845 (JarEnumeration.nextElement): fill in entry certificates, read
4846 signatures if they haven't been read.
4847 (getEntry): likewise.
4848 (getInputStream): verify stream if it hasn't been verified yet.
4849 (readSignatures): new method.
4850 (verify): new method.
4851 (verifyHashes): new method.
4852 (readManifestEntry): new method.
4853 (EntryInputStream): new class.
4854 * gnu/java/io/Base64InputStream.java (decode): new class
4856 * gnu/java/security/der/DERReader.java don't make class
4858 (in): made protected.
4860 (readLength): likewise.
4861 * gnu/java/security/ber/BER.java,
4862 * gnu/java/security/ber/BEREncodingException.java,
4863 * gnu/java/security/ber/BERReader.java,
4864 * gnu/java/security/ber/BERValue.java,
4865 * gnu/java/security/pkcs/PKCS7SignedData.java,
4866 * gnu/java/security/pkcs/SignerInfo.java:
4869 2005-02-16 Tom Tromey <tromey@redhat.com>
4871 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4872 copied file on exit.
4874 2005-02-15 Mark Wielaard <mark@klomp.org>
4876 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4878 2005-02-15 Michael Koch <konqueror@gmx.de>
4880 * gnu/java/awt/peer/gtk/GtkArg.java,
4881 gnu/java/awt/peer/gtk/GtkArgList.java:
4884 2005-02-15 Craig Black <craig.black@aonix.com>
4886 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4887 (postMenuActionEvent): Implement to notify ItemListeners.
4888 * java/awt/CheckboxMenuItem.java
4889 (dispatchEventImpl): Update state on ItemEvent.
4890 * java/awt/MenuItem.java
4891 (processActionEvent): Retarget event source.
4893 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4895 * gnu/java/awt/color/ClutProfileConverter.java,
4896 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4897 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4898 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4899 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4900 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4901 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4902 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4903 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4904 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4905 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4906 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4907 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4908 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4909 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4910 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4911 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4912 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4913 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4914 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4915 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4916 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4917 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4918 gnu/java/awt/peer/gtk/GtkToolkit.java,
4919 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4920 javax/swing/JPopupMenu.java,
4921 javax/swing/JSpinner.java,
4922 javax/swing/SortingFocusTraversalPolicy.java,
4923 javax/swing/SwingUtilities.java,
4924 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4925 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4926 javax/swing/tree/DefaultMutableTreeNode.java:
4927 Removed unused imports and expanded starred
4930 2005-02-15 Mark Wielaard <mark@klomp.org>
4932 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4933 IllegalArgumentException when the given String is null.
4935 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4936 when given keystoke sequence cannot be parsed.
4938 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4939 if one is installed. Only install the given menubar is not null.
4941 * javax/swing/JViewport.java (getViewSize): Return an empty
4942 Dimension when the view isn't set or preferred component size when
4945 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4946 empty Dimension when there is no view set.
4947 (minimumLayoutSize): Likewise.
4948 (layoutContainer): Don't try to layout when there is no view.
4950 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4953 * include/jawt.h: Likewise.
4954 * include/jawt_md.h: Likewise.
4955 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4957 * jni/classpath/classpath_jawt.h: Likewise.
4958 * jni/gtk-peer/gtk_jawt.c: Likewise.
4959 * Makefile.am: Build libjawt.so.
4961 2005-02-15 Michael Koch <konqueror@gmx.de>
4963 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4964 Merged file header with classpath CVS head.
4965 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4966 Merged code formatting with classpath CVS head.
4967 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4969 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4970 Handle special JNI strings with 2 '\0' at the end.
4971 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4972 Merged file header with classpath CVS head.
4973 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4974 Merged code formatting with classpath CVS head.
4976 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4979 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4980 (handle_response): Use GTK_RESPONSE_ACCEPT.
4982 2005-02-15 Graydon Hoare <graydon@redhat.com>
4984 * Makefile.am: Fix library build breakage.
4985 * Makefile.in: Regenerate.
4987 2005-02-15 Michael Koch <konqueror@gmx.de>
4989 * javax/swing/JTabbedPane.java
4990 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4992 2005-02-15 Michael Koch <konqueror@gmx.de>
4994 * javax/swing/tree/DefaultMutableTreeNode.java:
4995 Reworked Javadocs all over.
4996 (getPathToRoot): Fixed direction of result array initialization.
4998 2005-02-15 Michael Koch <konqueror@gmx.de>
5000 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5001 Fix includes for cairo 0.3.0 snappshot.
5002 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5003 Merged file header from classpath CVS HEAD.
5005 2005-02-15 Craig Black <craig.black@aonix.com>
5007 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5008 (copyState): Pass a JNI global reference to signal handler.
5009 (realize_cb): Use and free JNI global reference.
5010 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5011 (create): Pass a JNI global reference to signal handler.
5012 (selection_changed): Match declaration.
5013 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5014 (dispose): Do not remove entries from state tables until after widget is
5017 2005-02-15 Michael Koch <konqueror@gmx.de>
5019 * java/awt/Container.javai (paramString):
5020 If layoutMgr is null just return result of super.paramString().
5021 * java/awt/Scrollbar.java: Reformatted.
5022 * java/awt/im/InputContext.java (static):
5023 Removed redundant initializations.
5025 2005-02-15 Michael Koch <konqueror@gmx.de>
5027 * javax/swing/ImageIcon.java,
5028 javax/swing/UIManager.java,
5029 javax/swing/text/EditorKit.java,
5030 javax/swing/text/Segment.java:
5031 More whitespace cleanups.
5033 2005-02-15 Michael Koch <konqueror@gmx.de>
5035 * gnu/java/awt/EmbeddedWindow.java,
5036 gnu/java/awt/image/ImageDecoder.java,
5037 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5038 java/awt/DefaultKeyboardFocusManager.java,
5039 java/awt/Frame.java,
5040 java/awt/image/RGBImageFilter.java,
5041 javax/swing/AbstractButton.java,
5042 javax/swing/ActionMap.java,
5043 javax/swing/ComponentInputMap.java,
5044 javax/swing/DefaultDesktopManager.java,
5045 javax/swing/ImageIcon.java,
5046 javax/swing/InputMap.java,
5047 javax/swing/JButton.java,
5048 javax/swing/JCheckBox.java,
5049 javax/swing/JCheckBoxMenuItem.java,
5050 javax/swing/JEditorPane.java,
5051 javax/swing/JMenu.java,
5052 javax/swing/JMenuItem.java,
5053 javax/swing/JOptionPane.java,
5054 javax/swing/JRootPane.java,
5055 javax/swing/JTable.java,
5056 javax/swing/MenuSelectionManager.java,
5057 javax/swing/RepaintManager.java,
5058 javax/swing/ScrollPaneLayout.java,
5059 javax/swing/SortingFocusTraversalPolicy.java,
5060 javax/swing/UIManager.java,
5061 javax/swing/ViewportLayout.java,
5062 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5063 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5064 javax/swing/plaf/basic/BasicLabelUI.java,
5065 javax/swing/plaf/basic/BasicListUI.java,
5066 javax/swing/plaf/basic/BasicMenuItemUI.java,
5067 javax/swing/plaf/basic/BasicMenuUI.java,
5068 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5069 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5070 javax/swing/plaf/basic/BasicRootPaneUI.java,
5071 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5072 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5073 javax/swing/plaf/basic/BasicTextUI.java,
5074 javax/swing/table/TableColumnModel.java,
5075 javax/swing/text/AbstractDocument.java,
5076 javax/swing/text/EditorKit.java,
5077 javax/swing/text/Position.java,
5078 javax/swing/text/Segment.java,
5079 javax/swing/text/StyledEditorKit.java,
5080 javax/swing/text/ViewFactory.java:
5081 Cleanup whitespace differences to classpath CVS HEAD.
5083 2005-02-15 Graydon Hoare <graydon@redhat.com>
5085 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5086 (finalize): Call finish from here.
5087 (produce): Not from here.
5088 * Makefile.am (gtk_c_source_files):
5089 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5090 * Makefile.in: Regenerate.
5091 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5093 (cairoDrawGdkTextLayout):
5095 (getPeerTextMetrics):
5096 (getPeerFontMetrics): Remove.
5097 (setFont): Don't call cairoSetFont.
5098 (cairoDrawGlyphVector): Accept font peer argument.
5099 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5100 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5101 (ensure_metrics_cairo):
5102 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5103 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5104 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5105 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5107 (metrics_surface): Remove.
5108 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5109 Pass and install font peer.
5111 2005-02-15 Graydon Hoare <graydon@redhat.com>
5113 * Makefile.am: Create "split library" structure.
5114 * Makefile.in: Regenerate.
5116 2005-02-15 Graydon Hoare <graydon@redhat.com>
5118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5121 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5122 Release GDK lock during upcalls.
5124 2005-02-15 Graydon Hoare <graydon@redhat.com>
5126 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5128 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5129 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5130 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5131 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5132 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5135 (getTextMetrics): New native methods.
5136 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5137 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5138 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5139 * Makefile.in: Regenerate.
5141 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5143 * javax/swing/SwingUtilities.java:
5144 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5145 Implemented and documented.
5146 (getAccessibleChild(java.awt.Component, int)): Likewise.
5147 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5148 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5149 (getAccessibleStateSet(java.awt.Component)): Likewise.
5151 2005-02-15 Michael Koch <konqueror@gmx.de>
5153 * javax/swing/SwingUtilities.java
5154 (getFontMetrics): Removed.
5156 2005-02-15 Michael Koch <konqueror@gmx.de>
5158 * java/awt/Container.java
5159 (paramString): Implemented.
5160 * javax/swing/AbstractButton.java
5161 (paramString): Implemented.
5162 * javax/swing/JComponent.java
5163 (paramString): Implemented.
5164 * javax/swing/JMenu.java
5165 (paramString): Implemented.
5166 * javax/swing/JMenuBar.java
5167 (paramString): Implemented.
5168 * javax/swing/JMenuItem.java
5169 (paramString): Implemented.
5170 * javax/swing/JPopupMenu.java
5171 (paramString): Implemented.
5173 2005-02-15 Michael Koch <konqueror@gmx.de>
5175 * javax/swing/JMenu.java
5176 (uiClassID): Removed.
5177 (JMenu): Set invoker on popup menu.
5178 (getUIClassID): Return id directly.
5179 (getItemCount): Simply return getMenuComponentCount().
5181 (isTopLevelMenu): Simplified.
5182 * javax/swing/JMenuItem.java
5183 (uiClassID): Removed.
5184 (getUIClassID): Return id directly.
5185 * javax/swing/JPopupMenu.java
5186 (uiClassID): Removed.
5187 (JPopupMenu): Always initialize correctly.
5188 (getSubElements): Only return components implementing MenuElement
5190 (HeavyWeightPopup.hide): Removed.
5192 2005-02-15 Michael Koch <konqueror@gmx.de>
5194 * java/awt/image/ReplicateScaleFilter.java
5195 (replicatePixels): Made private.
5196 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5197 (DefaultRGBChooserPanel): Made package private.
5198 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5199 (RecentSwatchPanel): Likewise.
5200 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5201 (MouseInputAdapter): Made abstract.
5202 * javax/swing/tree/DefaultMutableTreeNode.java
5204 (growTree): Likewise.
5206 2005-02-15 Michael Koch <konqueror@gmx.de>
5208 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5211 2005-02-15 Michael Koch <konqueror@gmx.de>
5213 * javax/swing/JComponent.java (getComponentGraphics):
5214 Removed accidently commited code.
5216 2005-02-15 Graydon Hoare <graydon@redhat.com>
5218 * java/awt/dnd/DropTarget.java
5219 (addDropTargetListener): Despite documentation, do not throw.
5220 * javax/swing/JComponent.java: Set a default DropTarget.
5222 2005-02-15 Michael Koch <konqueror@gmx.de>
5224 * javax/swing/AbstractAction.java
5225 (ENABLED_PROPERTY): Removed.
5226 (setEnabled): Replaced constant with real string.
5227 * javax/swing/AbstractButton.java
5228 (createActionPropertyChangeListener.propertyChange): Likewise.
5229 * javax/swing/JComboBox.java
5230 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5231 (EDITABLE_CHANGED_PROPERTY): Removed.
5232 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5233 (ENABLED_CHANGED_PROPERTY):Likewise.
5234 (RENDERER_CHANGED_PROPERTY):Likewise.
5235 (EDITOR_CHANGED_PROPERTY):Likewise.
5236 (MODEL_CHANGED_PROPERTY):Likewise.
5237 (uiClassID):Likewise.
5238 (getUIClassID): Replaced constant with real string.
5239 (setModel):Likewise.
5240 (setEditable):Likewise.
5241 (setMaximumRowCount):Likewise.
5242 (setRenderer):Likewise.
5243 (setEditor):Likewise.
5244 (setEnabled):Likewise.
5245 * javax/swing/JLabel.java
5246 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5247 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5248 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5249 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5250 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5251 (ICON_CHANGED_PROPERTY): Likewise.
5252 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5253 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5254 (TEXT_CHANGED_PROPERTY): Likewise.
5255 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5256 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5257 (setText): Replaced constant with real string.
5258 (setIcon): Likewise.
5259 (setDisabledIcon): Likewise.
5260 (setDisplayedMnemonic): Likewise.
5261 (setIconTextGap): Likewise.
5262 (setVerticalAlignment): Likewise.
5263 (setHorizontalAlignment): Likewise.
5264 (setVerticalTextPosition): Likewise.
5265 (setHorizontalTextPosition): Likewise.
5266 (setLabelFor): Replaced constant with real string.
5267 Fire property change event after property got changed.
5268 * javax/swing/JList.java
5269 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5270 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5271 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5272 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5273 (MODEL_PROPERTY_CHANGED): Likewise.
5274 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5275 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5276 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5277 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5278 (setFixedCellWidth): Reimplemented.
5279 (setFixedCellHeight): Exit if new value is identical.
5280 Replaced constant with real string.
5281 (setSelectionBackground): Likewise.
5282 (setSelectionForeground): Likewise.
5283 (setPrototypeCellValue): Likewise.
5284 (setCellRenderer): Replaced constant with real string.
5285 (setModel): Likewise.
5286 (setSelectionModel): Likewise.
5287 * javax/swing/JMenuBar.java
5288 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5289 (MODEL_CHANGED_PROPERTY): Likewise.
5290 (MARGIN_CHANGED_PROPERTY): Likewise.
5291 (setBorderPainted): Reimplemented.
5292 (setMargin): Likewise.
5293 (setSelectionModel): Replaced constant with real string.
5294 * javax/swing/JPopupMenu.java
5295 (LABEL_CHANGED_PROPERTY): Removed.
5296 (VISIBLE_CHANGED_PROPERTY): Likewise.
5297 (borderPainted): Likewise.
5298 (setLabel): Replaced constant with real string.
5299 (setVisible): Exit if new value is identical.
5300 Replaced constant with real string.
5301 * javax/swing/JProgressBar.java
5302 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5303 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5304 (STRING_CHANGED_PROPERTY): Likewise.
5305 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5306 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5307 (setOrientation): Replaced constant with real string.
5308 (setStringPainted): Likewise.
5309 (setString): Likewise.
5310 (setBorderPainted): Likewise.
5311 (setIndeterminate): Likewise.
5312 * javax/swing/JScrollBar.java
5313 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5314 (MODEL_CHANGED_PROPERTY): Likewise.
5315 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5316 (setOrientation): Replaced constant with real string.
5317 (setModel): Likewise.
5318 (setUnitIncrement): Likewise.
5319 (setBlockIncrement): Likewise.
5320 * javax/swing/JScrollPane.java
5321 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5322 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5323 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5324 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5325 (LAYOUT_CHANGED_PROPERTY): Likewise.
5326 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5327 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5328 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5329 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5330 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5331 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5332 (setComponentOrientation): Replaced constant with real string.
5333 (setColumnHeader): Likewise.
5334 (setHorizontalScrollBar): Likewise.
5335 (setHorizontalScrollBarPolicy): Likewise.
5336 (setRowHeader): Likewise.
5337 (setVerticalScrollBar): Likewise.
5338 (setVerticalScrollBarPolicy): Likewise.
5339 (setWheelScrollingEnabled): Likewise.
5340 (setViewport): Likewise.
5341 (setViewportBorder): Likewise.
5342 * javax/swing/JSlider.java
5343 (INVERTED_CHANGED_PROPERTY): Removed.
5344 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5345 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5346 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5347 (MODEL_CHANGED_PROPERTY): Likewise.
5348 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5349 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5350 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5351 (setModel): Replaced constant with real string.
5352 (setOrientation): Likewise.
5353 (setLabelTable): Likewise.
5354 (setInverted): Likewise.
5355 (setMajorTickSpacing): Likewise.
5356 (setMinorTickSpacing): Likewise.
5357 (setPaintTicks): Likewise.
5358 (setPaintLabels): Likewise.
5359 * javax/swing/JTabbedPane.java
5360 (MODEL_CHANGED_PROPERTY): Removed.
5361 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5362 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5363 (setModel): Replaced constant with real string.
5364 (setTabPlacement): Likewise.
5365 (setTabLayoutPolicy): Likewise.
5366 * javax/swing/JToolBar.java
5367 (ORIENTATION_CHANGED_PROPERTY): Removed.
5368 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5369 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5370 (MARGIN_CHANGED_PROPERTY): Likewise.
5371 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5372 (setRollover): Replaced constant with real string.
5373 (setMargin): Likewise.
5374 (setBorderPainted): Likewise.
5375 (setFloatable): Likewise.
5376 (setOrientation): Likewise.
5377 * javax/swing/plaf/basic/BasicComboBoxUI.java
5378 (PropertyChangeHandler.propertyChange): Likewise.
5379 * javax/swing/plaf/basic/BasicComboPopup.java
5380 (PropertyChangeHandler.propertyChange): Likewise.
5381 * javax/swing/plaf/basic/BasicMenuBarUI.java
5382 (PropertyChangeHandler.propertyChange): Likewise.
5383 * javax/swing/plaf/basic/BasicProgressBarUI.java
5384 (PropertyChangeHandler.propertyChange): Likewise.
5385 * javax/swing/plaf/basic/BasicScrollBarUI.java
5386 (PropertyChangeHandler.propertyChange): Likewise.
5387 * javax/swing/plaf/basic/BasicSliderUI.java
5388 (PropertyChangeHandler.propertyChange): Likewise.
5389 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5390 (PropertyChangeHandler.propertyChange): Likewise.
5391 * javax/swing/plaf/basic/BasicToolBarUI.java
5392 (PropertyChangeHandler.propertyChange): Likewise.
5394 2005-02-15 Michael Koch <konqueror@gmx.de>
5396 * javax/swing/DefaultButtonModel.java
5397 (changeState): Made private.
5398 * javax/swing/DefaultDesktopManager.java
5399 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5400 * javax/swing/JLayeredPane.java
5401 (layerToRange): Made private.
5402 (incrLayer): Likewise.
5403 (decrLayer): Likewise.
5404 * javax/swing/JTable.java
5405 (dragEnabled): Likewise.
5406 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5407 * javax/swing/KeyStroke.java
5408 (Keystroke): Made private.
5409 * javax/swing/TransferHandler.java
5410 (COMMAND_COPY): Likewise.
5411 (COMMAND_CUT): Likewise.
5412 (COMMAND_PASTE): Likewise.
5414 2005-02-15 Michael Koch <konqueror@gmx.de>
5416 * javax/swing/JTextField.java
5417 (postActionEvent): Use text in field when actionCommand is null.
5418 (getActionCommand): Removed.
5420 2005-02-15 Michael Koch <konqueror@gmx.de>
5422 * javax/swing/AbstractSet.java: Removed.
5423 * Makefile.am: Removed javax/swing/AbstractSet.java.
5424 * Makefile.in: Regenerated.
5426 2005-02-15 Michael Koch <konqueror@gmx.de>
5428 * java/awt/Window.java
5429 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5430 * java/awt/dnd/DnDConstants.java
5431 (DnDConstants): New private constructor.
5433 2005-02-15 Michael Koch <konqueror@gmx.de>
5435 * javax/swing/DefaultCellRenderer.java: Removed.
5436 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5437 * Makefile.in: Regenerated.
5439 2005-02-15 Michael Koch <konqueror@gmx.de>
5441 * javax/swing/AbstractButton.java
5442 (fireItemStateChanged): Made protected.
5443 (fireActionPerformed): Likewise.
5444 (fireStateChanged): Likewise.
5445 * javax/swing/DefaultButtonModel.java
5446 (fireItemStateChanged): Likewise.
5447 (fireActionPerformed): Likewise.
5448 (fireStateChanged): Likewise.
5449 * javax/swing/JApplet.java
5451 (frameInit): Likewise.
5452 (setRootPane): Made protected.
5453 (createRootPane): Likewise.
5454 * javax/swing/JComponent.java
5455 (getClientProperty): Likewise.
5456 (putClientProperty): Likewise.
5457 * javax/swing/JEditorPane.java
5458 (getContentType): Likewise.
5459 (setContentType): Likewise.
5460 * javax/swing/JFrame.java
5461 (setRootPane): Likewise.
5462 (createRootPane): Likewise.
5463 * javax/swing/JInternalFrame.java
5464 (getFocusCycleRootAncestor): Made final. Added @since tag.
5465 (isFocusCycleRoot): Likewise.
5466 (getWarningString): Made final.
5467 * javax/swing/JScrollBar.java
5468 (changeListener): Removed.
5469 (changeEvent): Likewise.
5470 (createChangeListener): Likewise.
5471 (fireStateChanged): Likewise.
5472 (addChangeListener): Likewise.
5473 (removeChangeListener): Likewise.
5474 (getChangeListeners): Likewise.
5475 * javax/swing/JScrollPane.java
5476 (createViewport): Made protected.
5477 * javax/swing/JViewport.java
5478 (addImpl): Likewise.
5479 (setBorder): New method.
5480 * javax/swing/JWindow.java
5481 (setRootPane): Made protected.
5482 (createRootPane): Likewise.
5483 * javax/swing/plaf/basic/BasicButtonUI.java
5484 (installListeners): Likewise.
5485 (uninstallListeners): Likewise.
5486 * javax/swing/plaf/basic/BasicProgressBarUI.java
5487 (incrementAnimationIndex): Likewise.
5488 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5489 (createLayoutManager): Likewise.
5490 * javax/swing/table/DefaultTableCellRenderer.java
5491 (firePropertyChange): Likewise.
5492 * javax/swing/table/JTableHeader.java
5493 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5495 * javax/swing/text/PlainDocument.java
5496 (reindex): Made private.
5497 * javax/swing/text/PlainView.java
5498 (drawLine): Made protected.
5499 (getTabSize): Likewise.
5500 * javax/swing/text/View.java
5502 (preferenceChanged): New method.
5503 (getBreakWeight): Likewise.
5504 (breakView): Likewise.
5505 (getViewIndex): Likewise.
5507 2005-02-15 Michael Koch <konqueror@gmx.de>
5509 * javax/swing/JScrollPane.java
5510 (ScrollBar): Made class protected.
5511 * javax/swing/JSpinner.java
5512 (JSpinner): Added @since tag.
5513 (listenerList): Removed.
5514 * javax/swing/JTable.java
5515 (setValueAt): New method.
5516 (getColumn): Likewise.
5517 * javax/swing/JWindow.java
5518 (rootPaneCheckingEnabled): Renamed from checking.
5520 2005-02-15 Michael Koch <konqueror@gmx.de>
5522 * javax/swing/plaf/basic/BasicTextUI.java
5523 (RootView.modelToView): Made it public and return a java.awt.Shape.
5524 Handle null subview.
5525 (uninstall): Set textComponent to null when its not possible used
5527 * javax/swing/text/View.java
5528 (setParent): Use better argument name.
5529 (getContainer): Get parent via getParent().
5530 (getViewFactory): Likewise.
5531 (getAttributes): Get element via getElement().
5532 (getStartOffset): Likewise.
5533 (getEndOffset): Likewise.
5534 (getResizeWeight): New method.
5535 (getMaximumSpan): Likewise.
5536 (getMinimumSpan): Likewise.
5537 (setSize): Likewise.
5538 (getGraphics): Likewise.
5540 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5542 * java/awt/Checkbox.java:
5543 (AccessibleAWTCheckbox()): Added public constructor
5545 * java/awt/Choice.java:
5546 (AccessibleAWTChoice): Added class documentation.
5547 (AccessibleAWTChoice()): Added public constructor
5549 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5550 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5551 and changed role to COMBO_BOX.
5552 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5553 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5554 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5556 2005-02-15 Graydon Hoare <graydon@redhat.com>
5557 Michael Koch <konqueror@gmx.de>
5559 * javax/swing/LayoutFocusTraversalPolicy.java,
5560 javax/swing/SortingFocusTraversalPolicy.java:
5562 * Makefile.am: Added new classes.
5563 * Makefike.in: Regenerated.
5566 2005-02-15 Michael Koch <konqueror@gmx.de>
5568 * javax/swing/DebugGraphics.java: Mostly implemented.
5570 2005-02-15 Michael Koch <konqueror@gmx.de>
5572 * javax/swing/SwingUtilities.java
5573 (findFocusOwner): New method.
5575 2005-02-15 Michael Koch <konqueror@gmx.de>
5577 * javax/swing/text/DefaultEditorKit.java
5578 (read): Added '\n' after each line.
5579 * javax/swing/text/PlainView.java
5580 (modelToView): Update metrics.
5581 (drawLine): Use offsets from element.
5582 (paint): Update metrics. Draw all lines.
5584 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5586 * java/awt/Checkbox.java:
5587 (AccessibleAWTCheckbox): Added class documentation
5588 * java/awt/Scrollbar.java:
5589 (AccessibleAWTScrollBar): typo corrected and docs added
5590 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5591 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5592 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5593 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5594 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5595 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5596 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5597 (getAccessibleContext()): name of accessible class corrected
5599 2005-02-15 Mark Wielaard <mark@klomp.org>
5601 * java/awt/BasicStroke.java (hashCode): Implement.
5604 2005-02-15 Michael Koch <konqueror@gmx.de>
5606 * java/awt/print/PrinterJob.java
5607 (pageDialog): Throws java.awt.HeadlessException.
5608 (printDialog): Likewise.
5610 2005-02-15 Mark Wielaard <mark@klomp.org>
5612 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5614 2005-02-15 Michael Koch <konqueror@gmx.de>
5616 * javax/swing/JTable.java
5617 (getValueAt): New method.
5618 * javax/swing/table/JTableHeader.java
5619 (columnAtPoint): New method.
5621 2005-02-15 Michael Koch <konqueror@gmx.de>
5623 * javax/swing/JTextField.java
5624 (actions): New field.
5625 (static): Initalize actions field.
5626 (getActions): New method.
5628 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5630 * java/awt/Checkbox.java:
5631 (AccessibleAWTCheckbox): name capitalization corrected
5632 and serialization UID added.
5633 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5635 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5636 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5637 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5638 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5639 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5640 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5641 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5642 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5643 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5644 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5645 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5647 (getAccessibleContext()): name of accessible class corrected
5649 2005-02-15 Sven de Marothy <sven@physto.se>
5651 * java/awt/geom/doc-files/Area-1.png,
5652 java/awt/geom/doc-files/Ellipse-1.png,
5653 java/awt/geom/doc-files/GeneralPath-1.png:
5656 2005-02-15 Graydon Hoare <graydon@redhat.com>
5658 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5659 Use union to avoid type-punning warning.
5661 2005-02-15 Michael Koch <konqueror@gmx.de>
5663 * javax/swing/DefaultListSelectionModel.java
5664 (clone): New method.
5666 2005-02-15 Mark Wielaard <mark@klomp.org>
5668 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5669 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5670 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5671 Correct method signature of gtkSetFilename.
5673 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5675 * javax/swing/text/StringContent.java: New file.
5677 2005-02-15 Michael Koch <konqueror@gmx.de>
5679 * Makefile.am: Added javax/swing/text/StringContent.java.
5680 * Makefile.in: Regenerated.
5682 2005-02-15 Michael Koch <konqueror@gmx.de>
5684 * gnu/java/awt/ClasspathToolkit.java:
5685 Import statements reworked.
5686 (imageCache): Made it of type java.util.HashMap.
5688 2005-02-15 Michael Koch <konqueror@gmx.de>
5690 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5691 Reworked import statements.
5693 2005-02-15 Graydon Hoare <graydon@redhat.com>
5695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5696 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5698 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5699 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5702 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5704 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5705 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5706 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5710 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5711 Rewrite uses of extern variable to be function calls.
5712 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5713 function, from extern variable.
5714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5715 (gdk_env): Remove variable, add new function.
5716 (java_vm): Add new variable.
5717 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5718 java_vm rather than old gdk_env variable.
5720 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5722 * javax/swing/DefaultListModel.java
5723 (add): fire correct event,
5724 (addElement): corrected interval indices in event,
5725 (clear): corrected upper bound for interval, only fire event if
5727 (setSize): fire appropriate event.
5729 2005-02-15 Graydon Hoare <graydon@redhat.com>
5731 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5732 * gnu/awt/xlib/XToolkit.java: Likewise.
5733 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5734 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5735 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5736 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5737 * java/awt/EventQueue.java (getNextEvent):
5738 Adjust event loop to switch to native mode after 100ms.
5739 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5741 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5742 Wake up event thread.
5743 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5744 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5745 Adjust event loop to switch to java mode after 100ms.
5747 2005-02-15 Graydon Hoare <graydon@redhat.com>
5749 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5750 accidentally removed in last change.
5752 2005-02-15 Michael Koch <konqueror@gmx.de>
5754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5755 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5757 2005-02-15 Graydon Hoare <graydon@redhat.com>
5759 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5760 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5761 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5762 * jni.cc: Reuse bottom frame between calls, avoid clearing
5763 frame when no local references are made.
5765 2005-02-15 Michael Koch <konqueror@gmx.de>
5767 * javax/swing/UIDefaults.java (UIDefaults):
5768 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5769 Fixed HTML entity and removed a redundant comma.
5771 2005-02-15 Michael Koch <konqueror@gmx.de>
5773 * javax/swing/text/DefaultEditorKit.java
5774 (deinstall): Removed.
5775 (install): Likewise.
5777 2005-02-15 Michael Koch <konqueror@gmx.de>
5779 * javax/swing/UIDefaults.java (put): Handle value of null.
5781 2005-02-15 Michael Koch <konqueror@gmx.de>
5783 * java/awt/Robot.java,
5784 java/awt/Scrollbar.java,
5785 java/awt/print/PrinterJob.java,
5786 javax/swing/JTable.java,
5787 javax/swing/text/AbstractDocument.java:
5788 Reworked import statements.
5790 2005-02-15 Michael Koch <konqueror@gmx.de>
5792 * javax/swing/JEditorPane.java
5793 (read): Implemented.
5795 * javax/swing/text/DefaultEditorKit.java
5796 (page): Renamed from page_url. Made private.
5797 (editorKit): Renamed from kit. Made private.
5799 (JEditorPane): All constructors reimplemented.
5800 (getContentType): Use content type from editor kit.
5801 (getEditorKit): Return editorKit.
5802 (getEditorKitForContentType):Likewise.
5803 (getPage): Return page.
5804 (setContentType): Reimplemented.
5805 (setEditorKit): Likewise.
5806 (setEditorKitForContentType): Removed wrong implementation.
5807 (setPage): Implemented.
5809 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5812 (nativeSetIconImageFromData): Re-add native implementation.
5814 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5816 * javax/swing/table/DefaultTableModel.java
5817 (DefaultTableModel()): Added Javadocs.
5818 (DefaultTableModel(int, int)): Fixed implementation.
5819 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5820 for negative rowCount.
5821 (DefaultTableModel(Object[], int)): Added Javadocs.
5822 (DefaultTableModel(Vector, Vector)): Likewise.
5823 (DefaultTableModel(Object[][], Object[])): Likewise.
5824 (getDataVector): Likewise.
5825 (setDataVector(Vector, Vector)): Likewise.
5826 (setDataVector(Object[][], Object[])): Likewise.
5827 (newDataAvailable): Likewise.
5828 (newRowsAdded): Likewise.
5829 (rowsRemoved): Likewise.
5830 (setColumnIdentifiers(Vector)): Allow for null argument.
5831 (setColumnIdentifiers(Object[])): Added Javadocs.
5832 (setNumRows): Likewise.
5833 (setRowCount): Adds new rows if necessary, and sends more specific
5835 (setColumnCount): Allow for null columnIdentifiers.
5836 (addColumn(Object)): Added Javadocs.
5837 (addColumn(Object, Vector)): Handle null columnData.
5838 (addColumn(Object, Object[])): Handle columnData with more or less
5839 entries than rows in the table.
5840 (addRow(Vector)): Fire appropriate event.
5841 (addRow(Object[])): Added Javadocs.
5842 (insertRow(int, Vector)): Fire appropriate event.
5843 (insertRow(int, Object[])): Added Javadocs.
5844 (moveRow): Reimplemented.
5845 (removeRow(int)): Fire appropriate event.
5846 (getColumnCount): Allow for null columnIdentifiers.
5847 (getColumnName): Now returns empty string when column index is too
5849 (isCellEditable): Added Javadocs.
5850 (getValueAt): Likewise.
5851 (setValueAt): Fire more specific event.
5852 (convertToVector): Added Javadocs.
5853 * javax/swing/table/TableModel.java
5856 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5858 * libgcj.spec.in (lib): Add -l-javax-imageio.
5860 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5862 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5863 references to event queue q with method call q().
5864 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5865 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5866 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5867 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5868 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5869 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5872 2005-02-15 Graydon Hoare <graydon@redhat.com>
5874 * gnu/java/awt/ClasspathToolkit.java
5875 (registerImageIOSpis): New method.
5876 * gnu/java/awt/image/ImageDecoder.java
5877 (imageDecoder): New constructor using InputStream
5878 (startProduction): Handle existing InputStream.
5879 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5880 (findSimpleIntegerArray): Make public and static.
5881 (updateBufferedImage): Set each pixel, in a loop.
5882 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5883 Implement ImageIO SPI classes.
5884 (createBufferedImage): Rewrite in terms of SPI classes.
5885 * gnu/java/awt/peer/gtk/GtkToolkit.java
5886 (registerImageIOSpis): New method.
5887 * java/lang/reflect/natMethod.cc
5888 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5889 which lets JNI call interface methods properly.
5890 * javax/imageio/ImageIO.java
5891 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5892 (WriterMIMETypeFilter.filter): Likewise.
5893 (ImageReaderIterator): Pass extension argument through to SPI.
5894 (getReadersByFilter): Likewise.
5895 (getWritersByFilter): Likewise.
5896 (getImageReadersByFormatName): Likewise.
5897 (getImageReadersByMIMEType): Likewise.
5898 (getImageReadersBySuffix): Likewise.
5899 (getImageWritersByFormatName): Likewise.
5900 (getImageWritersByMIMEType): Likewise.
5901 (getImageWritersBySuffix): Likewise.
5904 * javax/imageio/ImageReader.java
5905 (progressListeners): Initialize.
5906 (setInput): Implement.
5907 * javax/imageio/ImageWriter.java
5908 (progressListeners): Initialize.
5909 (warningListeners): Likewise.
5910 (warningLocales): Likewise.
5911 (setOutput): Test "isInstance" rather than class equality.
5912 * javax/imageio/spi/IIORegistry.java
5913 (static): Add reader and writer SPIs.
5914 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5915 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5916 (query_formats): New function.
5917 (save_to_stream): Likewise.
5918 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5920 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5922 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5924 (keyPress): Likewise.
5925 (keyRelease): Likewise.
5927 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5929 * javax/swing/JTable.java
5930 (columnAtPoint): New Method. Implemented.
5931 (rowAtPoint): Likewise.
5932 (countSelections): Fixed few small count errors.
5933 (getSelections): Likewise.
5934 (setSelectionMode): Set selection mode for column
5935 selection model in addition to row selection model.
5936 * javax/swing/plaf/basic/BasicTableUI.java:
5937 (getRowForPoint): Removed. Replaced by
5938 JTable.rowAtPoint().
5939 (getColForPoint): Removed. Replaced by
5940 JTable.columnAtPoint().
5941 (updateSelection): Updated to call JTable.columnAtPoint
5942 and JTable.rowAtPoint.
5943 * javax/swing/table/DefaultTableColumnModel.java:
5944 (getSelectedColumns): Implemented.
5945 (getSelectedColumnCount): Implemented.
5947 2005-02-15 Graydon Hoare <graydon@redhat.com>
5950 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5951 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5952 * Makefile.in: Regenerate.
5953 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5954 * gnu/awt/xlib/XFramePeer.java: Likewise.
5955 * gnu/awt/xlib/XToolkit.java: Likewise.
5956 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5957 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5958 * gnu/java/awt/ClasspathToolkit.java
5961 (iterateNativeQueue): New methods.
5962 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5963 * gnu/java/awt/peer/gtk/GtkToolkit.java
5964 (gtkInit): Absorb from defunct GtkMainThread class.
5965 (static): Run gtkInit in static startup block.
5966 (GtkToolkit): Remove construction of GtkMainThread and queue.
5967 (getSystemEventQueueImpl): Construct queue when requested.
5970 (iterateNativeQueue): New methods.
5971 * java/awt/Component.java (removeNotify): Remove race.
5972 * java/awt/EventDispatchThread.java
5973 (EventDispatchThread): Don't start on construction.
5974 (run): Remove isInterrupted check.
5975 * java/awt/EventQueue.java (shutdown): New flag.
5976 (isShutdown): New method checking J2SE shutdown condition.
5977 (setShutdown): New method.
5978 (getNextEvent): Restructure to use ClasspathToolkit.
5979 (postEvent): Activate new thread on posting, wake thread on
5980 post of possible shutdown condition event.
5981 * java/awt/Frame.java
5982 (Frame): Call noteFrame in all constructors.
5983 (fireDummyEvent): New helper method.
5984 (addNotify): Fire a dummy event to wake up queue.
5985 (removeNotify): Fire a dummy event to wake up queue.
5986 (noteFrame): New method.
5987 (weakFrames): New static field.
5988 (getFrames): Implement.
5989 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5991 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5992 Move everything from GtkMainThread into this file
5993 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5994 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5995 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5996 New functions to implement single-threaded queue semantics.
5998 2005-02-15 Michael Koch <konqueror@gmx.de>
6000 * javax/swing/plaf/metal/MetalLookAndFeel.java
6001 (getControlTextFont): New method.
6002 (getMenuTextFont): Likewise.
6003 (getSubTextFont): Likewise.
6004 (getSystemTextFont): Likewise.
6005 (getUserTextFont): Likewise.
6006 (getWindowTitleFont): Likewise.
6008 2005-02-15 Michael Koch <konqueror@gmx.de>
6010 * javax/swing/text/AbstractDocument.java
6011 (documentFilter): New field.
6012 (getDocumentFilter): New method.
6013 (setDocumentFilter): Likewise.
6016 2005-02-15 Michael Koch <konqueror@gmx.de>
6018 * javax/swing/JTree.java
6019 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6021 2005-02-15 Michael Koch <konqueror@gmx.de>
6023 * javax/swing/text/AbstractDocument.java
6024 (AbstractElement.getLength): Fixed off-by-one error.
6025 (AbstractElement.children): Made abstract.
6026 (AbstractElement.getAllowsChildren): Likewise.
6027 (AbstractElement.getElement): Likewise.
6028 (AbstractElement.dumpElement): New private method.
6029 (AbstractElement.dump): New method.
6030 (BranchElememt.getName): Fixed implementation.
6031 (BranchElememt.toString): Likewise.
6032 (BranchElememt.getElement): Fixed arguments.
6033 (LeafElement.getName): Fixed implementation.
6034 (LeafElement.toString): Likewise.
6035 * javax/swing/text/GapContent.java
6036 (GapContent): Put default content into buffer.
6037 * javax/swing/text/PlainDocument.java
6038 (reindex): Use empty attribute sets instead of null.
6039 (createDefaultRoot): Reimplemented.
6040 (insertUpdate): Call super method.
6041 (removeUpdate): Likewise.
6042 (getParagraphElement): Implemented.
6044 2005-02-15 Michael Koch <konqueror@gmx.de>
6046 * gnu/java/awt/ClasspathToolkit.java
6047 (createRobot): Throws java.awt.AWTException.
6048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6049 Added '__attribute__((unused))' to all unused method arguments.
6051 2005-02-15 Michael Koch <konqueror@gmx.de>
6053 * javax/swing/DefaultBoundedRangeModel.java
6054 (fireValueChanged): Fixed off-by-one error.
6056 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6058 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6059 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6061 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6062 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6063 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6064 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6065 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6066 (getDefaultScreenDevice): Implement.
6067 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6068 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6069 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6070 * java/awt/Robot.java: Implement.
6071 * java/awt/peer/RobotPeer.java: Rename parameters.
6072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6073 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6074 (awt_keycode_to_keysym): Make non-static.
6075 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6076 AWT_BUTTON3_MASK): Declare constants.
6077 (awt_keycode_to_keysym): Declare.
6079 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6080 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6081 and is non-empty pass its value to "make check".
6082 (test_mauve_sim): Likewise.
6084 2005-02-15 Michael Koch <konqueror@gmx.de>
6086 * javax/imageio/IIOParam.java
6087 (setSourceBands): New method.
6088 (setSourceSubsampling): Likewise.
6089 * javax/imageio/ImageReadParam.java
6090 (setDestination): Likewise.
6091 (setDestinationBands): Likewise.
6092 (setSourceProgressivePasses): Likewise.
6093 * javax/imageio/metadata/IIOInvalidTreeException.java
6094 (serialVersionUID): New static field.
6095 * javax/imageio/metadata/IIOMetadataNode.java
6096 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6097 (parent): Dont initailize with default value explicitely.
6099 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6100 (removeAttributeNode): Likewise.
6101 (removeAttributeNS): Likewise.
6102 (setAttribute): Likewise.
6103 (setAttributeNode): Likewise.
6104 (setAttributeNodeNS): Likewise.
6105 (setAttributeNS): Likewise.
6106 (appendChild): Likewise.
6107 (getNodeValue): Likewise.
6108 (insertBefore): Likewise.
6109 (removeChild): Likewise.
6110 (replaceChild): Likewise.
6111 (setPrefix): Likewise.
6113 2005-02-15 Michael Koch <konqueror@gmx.de>
6115 * javax/swing/LookAndFeel.java
6116 (getDesktopPropertyValue): New method.
6118 2005-02-15 Michael Koch <konqueror@gmx.de>
6120 * javax/swing/JTree.java
6121 (hasChildren): New instance field.
6123 2005-02-15 Michael Koch <konqueror@gmx.de>
6125 * javax/swing/JComponent.java
6126 (getToolTipText): New method.
6127 (getTitledBorderText): Likewise.
6128 (getAccessibleKeyBinding): Likewise.
6129 (getVerifyInputWhenFocusTarget): Likewise.
6130 (setVerifyInputWhenFocusTarget): Likewise.
6131 (verifyInputWhenFocusTarget): New instance field.
6133 2005-02-15 Michael Koch <konqueror@gmx.de>
6135 * javax/swing/DefaultListSelectionModel.java
6136 (fireValueChanged): New method.
6138 2005-02-15 Michael Koch <konqueror@gmx.de>
6140 * javax/swing/DefaultBoundedRangeModel.java:
6141 Fixed javadocs all over.
6142 (fireStateChanged): Simplified.
6143 * javax/swing/BoundedRangeModel.java:
6146 2005-02-15 Michael Koch <konqueror@gmx.de>
6148 * javax/swing/JRootPane.java
6149 (setMenuBar): Added @deprecated tag.
6150 (getMenuBar): Likewise.
6151 * javax/swing/JTable.java
6152 (sizeColumnsToFit): Likewise.
6154 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6156 * javax/swing/ImageIcon.java (setImage): Implemented.
6158 2005-02-15 Michael Koch <konqueror@gmx.de>
6160 * javax/swing/JTable.java:
6161 Removed unused imports.
6163 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6165 (prepareRenderer): Get column's index in dataModel instead
6166 of column's view index.
6167 (getColumnCount): return count of the columns in ColumnModel,
6169 (removeColumn): Implemented.
6170 (moveColumm): Likewise.
6171 (setRowHeight): throw IllegalArgumentException if height is
6173 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6174 (DefaultTableColumnModel):Add call to createSelectionModel().
6175 (addColumn): Fire columnAdded event to registered listeners.
6176 (removeColumn): Fire columnRemoved event to registered listeners.
6177 (moveColumn): Fire columnMoved event to registered listeners.
6178 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6179 (getColumnIndex): Changed parameter name.
6180 (setColumnSelectionAllowed): Likewise.
6181 (fireColumnAdded): Implemented.
6182 (fireColumnRemoved): Likewise.
6183 (fireColumnMoved): Likewise.
6184 (fireColumnMarginChanged): Likewise.
6185 (getListeners): Changed parameter name.
6186 (propertyChange): Implemented.
6187 (valueChanged): Changed parameter name.
6188 (createSelectionModel): Implemented.
6190 2005-02-15 Michael Koch <konqueror@gmx.de>
6192 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6193 Explicitely import used classes.
6194 (getLocalGraphicsEnvironment): Simplify.
6195 * java/awt/Window.java (Window):
6196 Enable code to get the default GraphicsConfiguration.
6198 2005-02-15 Michael Koch <konqueror@gmx.de>
6200 * javax/swing/plaf/metal/DefaultMetalTheme.java
6201 (CONTROL_TEXT_FONT): New static field.
6202 (MENU_TEXT_FONT): Likewise.
6203 (SUB_TEXT_FONT): Likewise.
6204 (SYSTEM_TEXT_FONT): Likewise.
6205 (USER_TEXT_FONT): Likewise.
6206 (WINDOW_TITLE_FONT): Likewise.
6207 (getControlTextFont): New method.
6208 (getMenuTextFont): Likewise.
6209 (getSubTextFont): Likewise.
6210 (getSystemTextFont): Likewise.
6211 (getUserTextFont): Likewise.
6212 (getWindowTitleFont): Likewise.
6213 * javax/swing/plaf/metal/MetalTheme.java
6214 (BLACK): Initialize with Color.BLACK.
6215 (WHITE): Initialize with Color.WHITE.
6216 (getInactiveControlTextColor): Return getControlDisabled().
6217 (getMenuDisabledForeground): Return getSecondary3().
6218 (getControlTextFont): New abstract method.
6219 (getMenuTextFont): Likewise.
6220 (getSubTextFont): Likewise.
6221 (getSystemTextFont): Likewise.
6222 (getUserTextFont): Likewise.
6223 (getWindowTitleFont): Likewise.
6225 2005-02-15 Michael Koch <konqueror@gmx.de>
6227 * javax/swing/JFormattedTextField.java
6228 (getFocusLostBehavior): Fixed typo in method name.
6229 (setFocusLostBehavior): Likewise.
6231 2005-02-15 Michael Koch <konqueror@gmx.de>
6233 * javax/swing/TransferHandler.java:
6234 Reworked import statements.
6236 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6238 * java/awt/Button.java,
6239 java/awt/Canvas.java,
6240 java/awt/Checkbox.java,
6241 java/awt/CheckboxMenuItem.java,
6242 java/awt/Choice.java,
6243 java/awt/Dialog.java,
6244 java/awt/Frame.java,
6245 java/awt/Label.java,
6248 java/awt/MenuBar.java,
6249 java/awt/MenuItem.java,
6250 java/awt/PopupMenu.java,
6251 java/awt/ScrollPane.java,
6252 java/awt/Scrollbar.java,
6253 java/awt/TextArea.java,
6254 java/awt/Window.java (getAccessibleContext): Clean up comments.
6256 * java/awt/Button.java,
6257 java/awt/Checkbox.java,
6258 java/awt/Choice.java,
6260 java/awt/PopupMenu.java,
6261 java/awt/TextArea.java (getAccessibleContext): Only create new
6263 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6265 2005-02-15 Michael Koch <konqueror@gmx.de>
6267 * java/awt/Button.java,
6268 javax/swing/JApplet.java,
6269 javax/swing/JFormattedTextField.java,
6270 javax/swing/JWindow.java,
6271 javax/swing/JTree.java,
6272 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6273 javax/swing/plaf/basic/BasicTextPaneUI.java,
6274 javax/swing/plaf/basic/BasicTreeUI.java:
6275 Reworked import statements.
6277 2005-02-15 Michael Koch <konqueror@gmx.de>
6279 * Makefile.am: Put javax.imageio into its own library and link it
6280 against lib-org-w3c-dom.la to fix bootstrapping.
6281 * Makefile.in: Regenerated.
6283 2005-02-15 Michael Koch <konqueror@gmx.de>
6285 * javax/swing/text/TextAction.java
6286 (getTextComponent): Simplified. Added Javadoc.
6287 (augmentList): Implemented. Added Javadoc.
6288 (getFocusedComponent): Added javadoc.
6290 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6292 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6293 getAccessibleContext): Implement.
6294 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6295 getAccessibleContext): Implement.
6297 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6299 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6301 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6303 * java/awt/Window.java (getAccessibleContext): Fix comment.
6304 Remove extra import.
6306 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6308 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6309 (isActive, isFocused, getAccessibleContext): Implement.
6311 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6313 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6314 * java/awt/MenuComponent.java (accessibleContext): Make package
6316 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6317 AccessibleAWTCheckboxMenuItem): Implement.
6319 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6321 * java/awt/List.java: Implement AccessibleAWTList,
6322 AccessibleAWTListChild.
6324 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6326 * java/awt/Choice.java: Add implements declaration for
6329 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6331 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6334 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6336 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6337 implemented interface list.
6339 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6341 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6342 * javax/imageio/metadata/IIOAttr.java: New class.
6343 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6344 * javax/imageio/metadata/IIONodeList.java: New class.
6345 * Makefile.am: Added new files.
6346 * Makefile.in: Regenerated.
6348 2005-02-15 Michael Koch <konqueror@gmx.de>
6350 * javax/swing/AbstractAction.java,
6351 javax/swing/AbstractCellEditor.java,
6352 javax/swing/AbstractListModel.java,
6353 javax/swing/DefaultBoundedRangeModel.java,
6354 javax/swing/DefaultButtonModel.java,
6355 javax/swing/DefaultCellEditor.java,
6356 javax/swing/DefaultComboBoxModel.java,
6357 javax/swing/DefaultDesktopManager.java,
6358 javax/swing/JMenu.java,
6359 javax/swing/JSlider.java,
6360 javax/swing/KeyStroke.java,
6361 javax/swing/OverlayLayout.java,
6362 javax/swing/ScrollPaneLayout.java,
6363 javax/swing/SizeRequirements.java,
6364 javax/swing/ViewportLayout.java:
6365 Made serialVersionUID private.
6367 2005-02-15 Michael Koch <konqueror@gmx.de>
6369 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6372 2005-02-15 Michael Koch <konqueror@gmx.de>
6374 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6376 2005-02-15 Michael Koch <konqueror@gmx.de>
6378 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6380 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6382 * java/awt/EventDispatchThread.java,
6383 java/awt/Toolkit.java:
6384 Don't catch java.lang.ThreadDeath.
6386 2005-02-15 Michael Koch <konqueror@gmx.de>
6388 * javax/swing/text/PasswordView.java
6389 (drawEchoCharacter): Added javadoc.
6390 (drawSelectedText): Likewise.
6391 (drawUnselectedText): Likewise.
6393 2005-02-15 Michael Koch <konqueror@gmx.de>
6395 * javax/swing/JRootPane.java
6396 (windowDecorationStyle): New field.
6397 (setMenuBar): New method.
6398 (getMenuBar): Likewise.
6399 (getWindowDecorationStyle): Likewise.
6400 (setWindowDecorationStyle): Likewise.
6402 2005-02-15 Michael Koch <konqueror@gmx.de>
6404 * javax/swing/DefaultListSelectionModel.java
6405 (leadAnchorNotificationEnabled): Made protected.
6407 2005-02-15 Michael Koch <konqueror@gmx.de>
6409 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6410 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6411 * Makefile.in: Regenerated.
6414 2005-02-15 Michael Koch <konqueror@gmx.de>
6416 * javax/swing/JFormattedTextField.java: Implemented.
6417 * javax/swing/JWindow.java
6418 (JWindow): New constructors.
6419 (initWindow): Renamed from initFrame.
6420 * javax/swing/UIDefaults.java
6421 (ActiveValue): Made interface static.
6422 (LazyValue): Likewise.
6423 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6424 (TitlePaneLayout.TitlePaneLayout): New constructor.
6425 * javax/swing/plaf/basic/BasicSliderUI.java
6426 (ChangeHandler): Made public.
6427 (FocusHandler): Likewise.
6428 (PropertyChangeHandler): Likewise.
6429 (ScrollListener): Likewise.
6430 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6431 (FocusHandler): Likewise.
6432 (MouseHandler): Likewise.
6433 * javax/swing/plaf/basic/BasicTextPaneUI.java
6434 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6435 * javax/swing/plaf/basic/BasicToolBarUI.java
6436 (BasicToolBarUI): Simplified. Reworked javadoc.
6437 (canDock): Simplified. Make public.
6438 (DockingListener): Made public.
6439 * javax/swing/text/JTextComponent.java
6440 (navigationFilter): New field.
6441 (getNavigationFilter): New method.
6442 (setNavigationFilter): Likewise.
6444 2005-02-15 Michael Koch <konqueror@gmx.de>
6446 * javax/swing/plaf/metal/MetalTheme.java
6447 (getControlTextColor): Return getControlInfo().
6448 (getHighlightedTextColor): Return getControlTextColor().
6450 2005-02-15 Michael Koch <konqueror@gmx.de>
6452 * javax/swing/plaf/basic/BasicButtonListener.java
6453 (BasicButtonListener): New constructor.
6454 * javax/swing/plaf/basic/BasicButtonUI.java
6455 (createButtonListener): Usw new BasicButtonListener constructor.
6457 2005-02-15 Michael Koch <konqueror@gmx.de>
6459 * javax/imageio/event/package.html,
6460 javax/imageio/metadata/package.html: New files.
6462 2005-02-15 Michael Koch <konqueror@gmx.de>
6464 * java/awt/image/MemoryImageSource.java: Reformatted.
6466 2005-02-15 Michael Koch <konqueror@gmx.de>
6468 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6470 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6472 * java/awt/color/ICC_Profile.java
6473 (finalize): Removed pointless field assignments.
6475 2005-02-15 Michael Koch <konqueror@gmx.de>
6477 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6478 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6479 * Makefile.in: Regenerated.
6481 2005-02-15 Michael Koch <konqueror@gmx.de>
6483 * javax/swing/text/DefaultStyledDocument.java: New file.
6484 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6485 * Makefile.in: Regenerated.
6487 2005-02-15 Michael Koch <konqueror@gmx.de>
6489 * javax/swing/JFileChooser.java
6490 (showDialog): Return CANCEL_OPTION for now.
6491 (showOpenDialog): Likewise.
6492 (showSaveDialog): Likewise.
6494 2005-02-15 Michael Koch <konqueror@gmx.de>
6496 * javax/swing/JApplet.java
6497 (HIDE_ON_CLOSE): Removed.
6498 (EXIT_ON_CLOSE): Likewise.
6499 (DISPOSE_ON_CLOSE): Likewise.
6500 (DO_NOTHING_ON_CLOSE): Likewise.
6501 (close_action): Likewise.
6502 (getDefaultCloseOperation): Likewise.
6503 (setDefaultCloseOperation): Likewise.
6504 (processWindowEvent): Likewise.
6505 (getPreferredSize): Simplified.
6506 * javax/swing/JInternalFrame.java
6507 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6509 * javax/swing/JWindow.java
6510 (HIDE_ON_CLOSE): Removed.
6511 (EXIT_ON_CLOSE): Likewise.
6512 (DISPOSE_ON_CLOSE): Likewise.
6513 (DO_NOTHING_ON_CLOSE): Likewise.
6514 (close_action): Likewise.
6515 (processKeyEvent): Likewise.
6516 (setDefaultCloseOperation): Likewise.
6517 (getPreferredSize): Simplified.
6519 2005-02-15 Michael Koch <konqueror@gmx.de>
6521 * javax/swing/JTextField.java
6522 (getPreferredSize): Re-implemented.
6524 2005-02-15 Michael Koch <konqueror@gmx.de>
6526 * javax/swing/JLabel.java
6527 (setDisplayedMnemonic): Use only upper case characters.
6528 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6529 PropertyChangeEvent after property got set to the new index.
6531 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6533 * javax/swing/JComboBox.java:
6534 (JComboBox): Removed selection of the
6535 first item in the model.
6537 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6539 * javax/swing/JComboBox.java
6540 added support for no item being selected
6541 (JComboBox): select first or nothing depending on element count
6542 (setModel): cleaned up unneeded "this." usage, added more
6543 docs, made exception behavior match that of the JDK
6544 (setLighWeightPopupEnabled): removed unneeded "this." usage
6546 (setMaximumRowCount): dito
6548 (setPrototypeDisplayValue): dito
6549 (getSelectedItem): simplified, added more user doc
6550 (setSelectedIndex): corrected exception behavior, added more user doc
6551 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6552 added performance warning to user doc
6553 (addItem): fixed exception behavior, added user doc
6554 (insertItemAt): dito
6556 (removeItemAt): dito
6557 (removeAll): fixed exception behavior, added user doc, added support
6558 for model not being instance of DefaultComboBoxModel
6559 (getSelectedItemObjects): simplified
6560 (getItemCount): fixed dependency on DefaultComboBoxModel
6561 (getItemAt): fixed dependency on MutableComboBoxModel
6562 * javax/swing/DefaultComboBoxModel.java:
6563 (setSelectedItem): updates selected item only if new
6564 value is null or known (match JDK behavior)
6565 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6566 (paintCurrentValue): renders "" if no item is selected
6568 2005-02-15 Michael Koch <konqueror@gmx.de>
6570 * javax/swing/plaf/metal/MetalTheme.java,
6571 javax/swing/plaf/metal/DefaultMetalTheme.java:
6573 * javax/swing/plaf/metal/MetalLookAndFeel.java
6574 * Makefile.am: Added the new files.
6575 * Makefile.in: Regenerated.
6577 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6579 * javax/swing/JTable.java
6580 (editorComp): New field.
6581 (JTable): Initialize local variables and call updateUI
6582 (selectionBackground): Make protected.
6583 (selectionForeground): Likewise.
6584 (initializeLocalVars): Create default editors and renderers,
6585 initialize editingColumn, editingRow variables.
6586 (createDefaultEditors): New Method.
6587 (createDefaultRenderers): Likewise.
6588 (createDefaultListSelectionModel): Removed
6589 (createDefaultSelectionModel): New Method.
6590 (createDefaultTableHeader): Likewise
6591 (removeColumn): Likewise.
6592 (getEditingColumn): Likewise.
6593 (setEditingColumn): Likewise.
6594 (getEditingRow): Likewise.
6595 (setEditingRow): Likewise.
6596 (getEditorComponent): Likewise.
6597 (isEditing): Likewise.
6598 (setDefaultEditor): Likewise.
6599 (addColumnSelectionInterval): Likewise.
6600 (addRowSelectionInterval): Likewise.
6601 (setColumnSelectionInterval): Likewise.
6602 (setRowSelectionInterval): Likewise.
6603 (removeColumnSelectionInterval): Likewise.
6604 (removeRowSelectionInterval): Likewise.
6605 (isColumnSelected): Likewise.
6606 (isRowSelected): Likewise.
6607 (isCellSelected): Likewise.
6608 (selectAll): Likewise.
6610 2005-02-15 Michael Koch <konqueror@gmx.de>
6612 * javax/swing/JTable.java
6613 (addColumn): New method.
6614 (getColumnClass): Likewise.
6615 (getColumnName): Likewise.
6617 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6619 * javax/swing/TransferHandler.java
6620 (createTransferable): Made protected.
6622 2005-02-15 Michael Koch <konqueror@gmx.de>
6624 * javax/swing/JTable.java,
6625 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6626 javax/swing/plaf/basic/BasicTableUI.java:
6627 Use fixed get/setIntercellSpacing() methods.
6629 2005-02-15 Michael Koch <konqueror@gmx.de>
6631 * javax/swing/JTable.java
6632 (getIntercellSpacing): Fixed typo in method name.
6633 (setIntercellSpacing): Likewise.
6635 2005-02-15 Michael Koch <konqueror@gmx.de>
6637 * javax/swing/text/JTextComponent.java
6638 (focusAccelerator): New variable.
6639 (getFocusAccelerator): New method.
6640 (setFocusAccelerator): Likewise.
6642 2005-02-15 Michael Koch <konqueror@gmx.de>
6644 * javax/swing/JComponent.java
6645 (setTransferHandler): Made public. Fire property change event.
6646 * javax/swing/TransferHandler.java: Implemented.
6647 * javax/swing/text/JTextComponent.java
6648 (DefaultTransferHandler): New inner class.
6649 (defaultTransferHandler): New variable.
6653 (doTransferAction): Likewise.
6655 2005-02-15 Michael Koch <konqueror@gmx.de>
6657 * javax/swing/JTree.java
6658 (collapsePath): New method.
6659 (collapseRow): Likewise.
6660 (expandPath): Likewise.
6661 (expandRow): Likewise.
6662 (checkExpandParents): Likewise.
6663 (doExpandParents): Likewise.
6664 (setExpandedState): Likewise.
6665 (makeVisible): Likewise.
6667 2005-02-15 Michael Koch <konqueror@gmx.de>
6669 * javax/swing/JPasswordField.java: Updated javadocs.
6671 2005-02-15 Michael Koch <konqueror@gmx.de>
6673 * javax/swing/JLayeredPane.java
6674 (getLayer): Fixed return type, made public.
6675 (getPosition): Use new getLayer().
6676 (SetPosition): Likewise.
6677 (getIndexOf): Likewise.
6679 * javax/swing/JInternalFrame.java
6680 (getLayer): Use new JLayeredPane.getLayer().
6683 2005-02-15 Michael Koch <konqueror@gmx.de>
6685 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6686 (setHeaderValue): Simplified. Do nothing when old value == new value.
6688 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6690 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6691 against null clip region.
6692 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6693 gtkWindowSetResizable.
6694 (postConfigureEvent): Only revalidate if frame size has changed.
6695 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6696 Only revalidate if frame size has changed.
6697 * java/awt/Component.java (reshape): Only repaint and post
6698 component events if component is showing.
6699 * java/awt/Container.java (addImpl): Only post container event if
6700 container is showing.
6702 * java/awt/Window.java (setLocationRelativeTo): Implement.
6703 (setBoundsCallback): Only post component events if component is
6705 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6706 Protect against null graphics structure. Flush gdk event queue.
6708 2005-02-15 Michael Koch <konqueror@gmx.de>
6710 * javax/imageio/ImageReader.java,
6711 javax/imageio/ImageTranscoder.java,
6712 javax/imageio/ImageWriter.java,
6713 javax/imageio/spi/ImageInputStreamSpi.java,
6714 javax/imageio/spi/ImageOutputStreamSpi.java,
6715 javax/imageio/spi/ServiceRegistry.java,
6716 javax/imageio/stream/ImageInputStream.java,
6717 javax/imageio/stream/ImageOutputStream.java: Updated.
6718 * javax/imageio/IIOException.java,
6719 javax/imageio/IIOImage.java,
6720 javax/imageio/IIOParam.java,
6721 javax/imageio/IIOParamController.java,
6722 javax/imageio/ImageIO.java,
6723 javax/imageio/ImageReadParam.java,
6724 javax/imageio/ImageTypeSpecifier.java,
6725 javax/imageio/ImageWriteParam.java,
6726 javax/imageio/spi/IIORegistry.java,
6727 javax/imageio/spi/ImageReaderSpi.java,
6728 javax/imageio/spi/ImageWriterSpi.java,
6729 javax/imageio/stream/FileCacheImageInputStream.java,
6730 javax/imageio/stream/FileCacheImageOutputStream.java,
6731 javax/imageio/stream/FileImageInputStream.java,
6732 javax/imageio/stream/FileImageOutputStream.java,
6733 javax/imageio/stream/ImageInputStreamImpl.java,
6734 javax/imageio/stream/ImageOutputStreamImpl.java,
6735 javax/imageio/stream/MemoryCacheImageInputStream.java,
6736 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6737 javax/imageio/event/IIOReadProgressListener.java,
6738 javax/imageio/event/IIOReadUpdateListener.java,
6739 javax/imageio/event/IIOReadWarningListener.java,
6740 javax/imageio/event/IIOWriteProgressListener.java,
6741 javax/imageio/event/IIOWriteWarningListener.java,
6742 javax/imageio/metadata/IIOMetadata.java,
6743 javax/imageio/metadata/IIOMetadataController.java,
6744 javax/imageio/metadata/IIOMetadataFormat.java,
6745 javax/imageio/metadata/IIOInvalidTreeException.java,
6746 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6747 javax/imageio/metadata/IIOMetadataNode.java: New files.
6748 * Makefile.am (javax_source_files): Added new files
6749 * Makefile.in: Regenerated.
6751 2005-02-15 Graydon Hoare <graydon@redhat.com>
6753 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6754 Rework painting into BufferedImages
6755 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6756 Construct BufferedImage with alpha only when alpha is
6757 present in colormodel.
6758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6759 Rework painting into client-side jint arrays.
6760 * jni/gtk-peer/gtkcairopeer.h:
6763 2005-02-15 Michael Koch <konqueror@gmx.de>
6765 * javax/swing/DefaultListCellRenderer.java
6766 (serialVersionUID): Made private.
6767 (getListCellRendererComponent): Set horizontal alignment.
6768 * javax/swing/JLabel.java
6769 (setVerticalAlignment): Re-implemented.
6770 (setHorizontalAlignment): Do nothing if old value = new value.
6771 * javax/swing/JList.java
6772 (setCellRenderer): Likewise.
6773 (setModel): Re-implemented.
6774 (setSelectionModel): Likewise.
6776 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6778 * java/awt/Component.java,
6779 java/awt/geom/Rectangle2D.java:
6782 2005-02-15 Michael Koch <konqueror@gmx.de>
6784 * javax/swing/AbstractListModel.java
6785 (fireContentsChanged): Simplified.
6786 (fireIntervalAdded): Likewise.
6787 (fireIntervalRemoved): Likewise.
6788 * javax/swing/DefaultSingleSelectionModel.java:
6790 (fireStateChanged): Simplified.
6791 * javax/swing/JPopupMenu.java
6792 (setSelectionModel): Set property.
6794 2005-02-15 Michael Koch <konqueror@gmx.de>
6796 * java/awt/print/Book.java: Reformatted.
6798 2005-02-15 Michael Koch <konqueror@gmx.de>
6800 * java/awt/geom/Area.java
6801 (QuadSegment.curveArea): Remove unused variables.
6802 (CubicSegment.curveArea): Likewise.
6804 2005-02-15 Michael Koch <konqueror@gmx.de>
6806 * javax/swing/JTree.java
6807 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6808 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6809 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6810 (EXPANDED): New constant.
6811 (COLLAPSED): Likewise.
6812 (nodeStates): New field.
6813 (cellEditor): New method.
6814 (cellRenderer): Likewise.
6815 (selectionModel): Likewise.
6816 (treeModel): Likewise.
6817 (scrollPathToVisible): Likewise.
6818 (scrollRowToVisible): Likewise.
6819 (isCollapsed): Likewise.
6820 (isExpanded): Likewise.
6821 (clearToggledPaths): Likewise.
6822 (getDescendantToggledPaths): Likewise.
6823 (hasBeenExpanded): Likewise.
6824 (isVisible): Likewise.
6825 (isPathEditable): Likewise.
6827 2005-02-15 Michael Koch <konqueror@gmx.de>
6829 * javax/swing/JLayeredPane.java: Reformatted.
6831 2005-02-15 Michael Koch <konqueror@gmx.de>
6833 * javax/swing/tree/DefaultMutableTreeNode.java:
6835 * javax/swing/tree/MutableTreeNode.java:
6838 2005-02-15 Michael Koch <konqueror@gmx.de>
6840 * javax/swing/JFormattedTextField.java
6841 (setDocument): Call setDocument of super class. Don't fire property
6844 2005-02-15 Sven de Marothy <sven@physto.se>
6846 * java/awt/image/IndexColorModel.java:
6847 Add FIXME with respect to alpha handling.
6848 (getAlpha): Default to returning opaque pixels.
6849 * java/awt/image/MultiPixelPackedSampleModel.java
6850 (MultiPixelPackedSampleModel): Corrected parameters, order of
6851 bit shifts and masks, stride length off by one.
6853 2005-02-15 Michael Koch <konqueror@gmx.de>
6855 * javax/swing/JList.java, javax/swing/JTree.java:
6856 Added much new methods and fixed much methods setting bound properties.
6858 2005-02-16 Mark Wielaard <mark@klomp.org>
6860 * Makefile.am (gnu_xml_source_files): Removed
6861 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6862 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6863 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6864 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6865 gnu/xml/dom/DomDocumentFragment.java,
6866 gnu/xml/dom/DomProcessingInstruction.java and
6867 gnu/xml/dom/ls/DomLSException.java.
6868 * Makefile.in: Regenerated.
6870 2005-02-16 Tom Tromey <tromey@redhat.com>
6872 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6873 attribute index is out of bounds.
6875 2005-02-16 Chris Burdess <dog@gnu.org>
6877 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6878 isDeclared methods. Improved performance of isSpecified methods.
6880 2005-02-16 Chris Burdess <dog@gnu.org>
6882 Fixes bug libgcj/19864
6883 * gnu/xml/dom/DomAttr.java,
6884 gnu/xml/dom/DomCDATA.java,
6885 gnu/xml/dom/DomCDATASection.java,
6886 gnu/xml/dom/DomCharacterData.java,
6887 gnu/xml/dom/DomDOMException.java,
6888 gnu/xml/dom/DomDoctype.java,
6889 gnu/xml/dom/DomDocument.java,
6890 gnu/xml/dom/DomDocumentConfiguration.java,
6891 gnu/xml/dom/DomDocumentFragment.java,
6892 gnu/xml/dom/DomElement.java,
6893 gnu/xml/dom/DomEx.java,
6894 gnu/xml/dom/DomFragment.java,
6895 gnu/xml/dom/DomImpl.java,
6896 gnu/xml/dom/DomIterator.java,
6897 gnu/xml/dom/DomNamedNodeMap.java,
6898 gnu/xml/dom/DomNode.java,
6899 gnu/xml/dom/DomNsNode.java,
6900 gnu/xml/dom/DomPI.java,
6901 gnu/xml/dom/DomProcessingInstruction.java,
6902 gnu/xml/dom/DomText.java,
6903 gnu/xml/dom/DomLSEx.java,
6904 gnu/xml/dom/DomLSException.java,
6905 gnu/xml/dom/DomLSParser.java,
6906 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6907 implementation class names to conform to Classpath guidelines. Make
6908 DomLSException use JDK 1.4+ exception chaining.
6909 * gnu/xml/util/SAXNullTransformerFactory.java,
6910 gnu/xml/xpath/Predicate.java: Use constants relative to
6911 declaring class or interface.
6913 2005-02-16 Andrew Haley <aph@redhat.com>
6915 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6916 null, create a new AccessControlContext.
6917 * java/security/SecureClassLoader.java (protectionDomainCache):
6919 (defineClass): Create a new protection domain and add it to our
6922 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6923 addStub() to keep track of the stub we've exported.
6924 (unexportObject): Call deleteStub().
6925 * java/rmi/server/RemoteObject.java (stubs): New field.
6926 (addStub): New method.
6927 (deleteStub): New method.
6930 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6931 true to findHelper (tryParents).
6932 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6934 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6935 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6937 If tryParents is false, don't scan parent class loaders.
6939 * java/security/Permissions.java (PermissionsHash.implies):
6940 Iterate over the collection and invoke implies() on each
6943 2005-02-16 Andrew Haley <aph@redhat.com>
6945 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6947 (PersistentByteMap): Set name
6948 Magic number changed to 0x67636a64 ("gcjd").
6949 (init): Force the map to be prime.
6950 (emptyPersistentByteMap): File name was a string, now a File.
6951 (addBytes): Share srings between entries.
6952 (stringTableSize): New method.
6953 (capacity): Scale by load factor.
6954 (force): New method.
6955 (getFile): New method.
6956 (close): New method.
6957 (putAll): New method.
6958 (ByteWrapper): New class.
6959 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6960 (main): Guess the average string size as 32, not 64.
6961 Copy a database before modifying it, so that we can update a
6962 database in a running system.
6963 If a database isn't big enough, resize it.
6964 "-m": new option: merges databases.
6965 "-a": Create a new detabase if it doesn't exist.
6966 (usage): Correct, add new option.
6967 (addJar): Copy a database before modifying it.
6968 (resizeMap): New method.
6970 2005-02-15 David Daney <ddaney@avtrex.com>
6971 Bryce McKinlay <mckinlay@redhat.com>
6973 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6974 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6975 ensure that GC threads inherit the new signal mask.
6976 (block_sigchld): Call JvFail rather than throwing exception if
6977 pthread_sigmask() fails.
6979 2005-02-15 Mark Wielaard <mark@klomp.org>
6981 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6982 file path elements are separated by spaces.
6984 2005-02-15 Mark Wielaard <mark@klomp.org>
6986 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6987 to describe attributes without a constant field value in this class.
6989 2005-02-15 Michael Koch <konqueror@gmx.de>
6991 * java/util/jar/Attributes.java
6992 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6994 2005-02-15 Mark Wielaard <mark@klomp.org>
6996 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6997 space for parsing CLASS_PATH attribute.
6999 2005-02-15 Mark Wielaard <mark@klomp.org>
7001 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7002 aside for "GCJLIBS" in directory where jarfiles are loaded.
7003 (JarURLLoader.getClass): Removed method.
7004 (JarURLLoader.toString): Removed method.
7005 (FileResource.toString): Removed method.
7007 2005-02-15 Mark Wielaard <mark@klomp.org>
7009 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7010 and/or cause before throwing.
7012 2005-02-15 Richard Henderson <rth@redhat.com>
7014 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7015 (libgcj0_convenience_la_SOURCES): ... here.
7016 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7017 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7018 * Makefile.in: Regenerate.
7020 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7023 * include/jawt.h: Likewise.
7024 * include/jawt_md.h: Likewise.
7025 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7027 * include/Makefile.in: Regenerate.
7028 * jni/classpath/classpath_jawt.h: Likewise.
7029 * jni/gtk-peer/gtk_jawt.c: Likewise.
7030 * Makefile.am: Build libjawt.so.
7031 * Makefile.in: Regenerate.
7033 2005-02-14 Tom Tromey <tromey@redhat.com>
7035 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7037 2005-02-14 Tom Tromey <tromey@redhat.com>
7039 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7040 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7042 2005-02-14 Tom Tromey <tromey@redhat.com>
7045 * testsuite/libjava.lang/PR19929.out: New file.
7046 * testsuite/libjava.lang/PR19929.java: New file.
7048 2005-02-14 Anthony Green <green@redhat.com>
7051 * testsuite/libjava.jni/PR18116.c: New file.
7052 * testsuite/libjava.jni/PR18116.java: New file.
7053 * testsuite/libjava.jni/PR18116.out: New file.
7055 2005-02-13 Anthony Green <green@redhat.com>
7058 * jni.cc (nathash_add): Don't strdup the method signature.
7059 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7063 2005-02-12 Mark Wielaard <mark@klomp.org>
7065 Fixes bug libgcj/8170
7066 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7067 ClassNotFoundException.
7068 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7069 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7070 (remove_internal): New field superceding remove_interpreter.
7071 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7072 Remove no-class methods starting with "_Jv_". And Replace null
7073 class or method names with the empty string. Stop at either the
7074 MainThread or a real Thread run() method.
7075 (newElement): Made static.
7076 * java/net/URLClassLoader.java (findClass): Throw
7077 ClassNotFoundExceptions including urls, plus parent using toString().
7078 (thisString): New field.
7079 (toString): New method.
7081 2005-02-10 Tom Tromey <tromey@redhat.com>
7083 * external/sax/Makefile.in: Rebuilt.
7084 * external/sax/Makefile.am (all-local): Removed.
7085 (BUILT_SOURCES): New variable.
7086 (mostlyclean-local): No error if no classes to delete.
7087 * external/w3c_dom/Makefile.in: Rebuilt.
7088 * external/w3c_dom/Makefile.am (all-local): Removed.
7089 (BUILT_SOURCES): New variable.
7090 (mostlyclean-local): No error if no classes to delete.
7092 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7094 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7095 of mauve and libjava.
7097 2005-02-09 Tom Tromey <tromey@redhat.com>
7099 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7100 jar file with OPEN_DELETE.
7101 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7102 OPEN_DELETE is used.
7104 2005-02-09 Tom Tromey <tromey@redhat.com>
7106 * java/util/zip/InflaterInputStream.java (markSupported):
7108 (mark, reset): Likewise.
7110 2005-02-08 Tom Tromey <tromey@redhat.com>
7112 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7113 name or port is missing.
7114 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7115 AUTHORITY_PORT_GROUP): Updated.
7117 2005-02-08 Tom Tromey <tromey@redhat.com>
7119 * configure: Rebuilt.
7120 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7123 2005-02-07 Tom Tromey <tromey@redhat.com>
7125 * java/lang/natRuntime.cc (insertSystemProperties): Set
7126 sun.boot.class.path earlier.
7128 2005-02-07 Tom Tromey <tromey@redhat.com>
7130 * defineclass.cc (handleClassBegin): Use
7131 _Jv_RegisterInitiatingLoader.
7132 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7133 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7134 class. Use _Jv_UnregisterInitiatingLoader.
7135 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7138 2005-02-07 Mark Wielaard <mark@klomp.org>
7140 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7141 java/util/regex/Matcher.java (lookingAt): Set position when match
7143 (matches): Implemented through lookingAt().
7145 2005-02-07 Mark Wielaard <mark@klomp.org>
7147 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7148 * java/util/regex/Pattern.java (split(CharSequence,int)):
7149 Fix while empties > 0 loops.
7151 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7153 * gnu/java/nio/charset/ISO_8859_1.java,
7154 gnu/java/nio/charset/US_ASCII.java,
7155 gnu/java/nio/charset/UTF_16.java,
7156 gnu/java/nio/charset/UTF_16_LE.java,
7157 gnu/java/nio/charset/UTF_16_BE.java,
7158 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7159 and aliases according to
7160 "http://www.iana.org/assignments/character-sets",
7161 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7162 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7163 * gnu/java/nio/charset/Provider.java: Made charset lookup
7164 case-insensitive which fixes bug #11740.
7166 2005-02-07 Tom Tromey <tromey@redhat.com>
7169 * Makefile.in: Rebuilt.
7170 * Makefile.am (src.zip): New target.
7171 (install-src.zip): Likewise.
7172 (sourcesdir): New variable.
7174 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7176 * javax/imageio/metadata/IIOMetadataNode.java:
7178 * javax/imageio/metadata/IIOAttr.java,
7179 javax/imageio/metadata/IIONamedNodeMap.java,
7180 javax/imageio/metadata/IIONodeList.java:
7183 2005-02-06 Graydon Hoare <graydon@redhat.com>
7185 * gnu/java/awt/ClasspathToolkit.java
7186 (registerImageIOSpis): New method.
7187 * javax/imageio/ImageIO.java
7188 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7189 (WriterMIMETypeFilter.filter): Likewise.
7190 (ImageReaderIterator): Pass extension argument through to SPI.
7191 (getReadersByFilter): Likewise.
7192 (getWritersByFilter): Likewise.
7193 (getImageReadersByFormatName): Likewise.
7194 (getImageReadersByMIMEType): Likewise.
7195 (getImageReadersBySuffix): Likewise.
7196 (getImageWritersByFormatName): Likewise.
7197 (getImageWritersByMIMEType): Likewise.
7198 (getImageWritersBySuffix): Likewise.
7201 * javax/imageio/ImageReader.java
7202 (progressListeners): Initialize.
7203 (setInput): Implement.
7204 * javax/imageio/ImageWriter.java
7205 (progressListeners): Initialize.
7206 (warningListeners): Likewise.
7207 (warningLocales): Likewise.
7208 (setOutput): Test "isInstance" rather than class equality.
7209 * javax/imageio/spi/IIORegistry.java
7210 (static): Add reader and writer SPIs.
7211 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7213 2005-02-06 Michael Koch <konqueror@gmx.de>
7215 * javax/imageio/metadata/IIOInvalidTreeException.java
7216 (IIOInvalidTreeException): Reformatted.
7217 * javax/imageio/spi/IIORegistry.java
7218 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7219 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7220 Reworked import statements.
7222 2005-02-06 Michael Koch <konqueror@gmx.de>
7224 * javax/imageio/stream/FileImageOutputStream.java:
7227 2005-02-06 Michael Koch <konqueror@gmx.de>
7229 * javax/imageio/stream/FileCacheImageInputStream.java,
7230 javax/imageio/stream/FileCacheImageOutputStream.java,
7231 javax/imageio/stream/FileImageInputStream.java,
7232 javax/imageio/stream/ImageInputStreamImpl.java,
7233 javax/imageio/stream/ImageOutputStreamImpl.java,
7234 javax/imageio/stream/MemoryCacheImageInputStream.java,
7235 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7236 Added all missing methods in javax.imageio.stream.
7238 2005-02-02 David Daney <ddaney@avtrex.com>
7240 * java/net/InetAddress.java (InetAddress): Make a private copy of
7242 * java/net/Inet4Address.java (getAddress): Return a copy of the
7244 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7246 (getAddress): Return a copy of the address.
7249 2005-02-02 Tom Tromey <tromey@redhat.com>
7251 * Makefile.in: Rebuilt.
7252 * Makefile.am (classes.stamp): New target, broken out from
7254 ($(all_java_class_files)): Depend on it.
7255 (libgcj-@gcc_version@.jar): Likewise.
7256 (all-recursive): Likewise.
7257 (CLEANFILES): Include classes.stamp.
7259 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7261 * link.cc: Include <stdio.h>
7263 2005-02-02 Tom Tromey <tromey@redhat.com>
7266 * Makefile.in: Rebuilt.
7267 * Makefile.am (ordinary_java_source_files): Added new class.
7268 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7269 Use system_instance, not instance.
7270 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7271 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7273 (system_instance): New field.
7274 (initialize): Initialize the system loader as well.
7275 (VMClassLoader): Default to LIB_CACHE.
7277 2005-02-02 Tom Tromey <tromey@redhat.com>
7279 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7280 * prims.cc: Fixed comment.
7282 2005-02-01 Tom Tromey <tromey@redhat.com>
7284 * Makefile.in: Rebuilt.
7285 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7286 (.java.class): Use BOOTCLASSPATH.
7288 2005-02-01 Tom Tromey <tromey@redhat.com>
7290 * external/w3c_dom/Makefile.am: New file.
7291 * external/w3c_dom/Makefile.in: New file.
7292 * external/sax/Makefile.am: New file.
7293 * external/sax/Makefile.in: New file.
7294 * external/Makefile.in: New file.
7295 * external/Makefile.am: New file.
7296 * external/README: New file from Classpath.
7297 * configure, aclocal.m4, Makefile.in: Rebuilt.
7298 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7299 * Makefile.am (SUBDIRS): Added external.
7300 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7301 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7302 (BOOTCLASSPATH): New variable.
7303 (AM_GCJFLAGS): Use it.
7304 (gnu_xml_source_files): New variable.
7305 (libgcj_la_SOURCES): Use it.
7306 (libgcj_la_LDADD): Include new convenience libraries.
7307 (lib_org_ietf_jgss_la_SOURCES): Removed.
7308 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7309 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7310 (lib_org_w3c_dom_la_SOURCES): Removed.
7311 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7312 (lib_org_w3c_dom_la_LIBADD): Likewise.
7313 (lib_org_xml_sax_la_SOURCES): Removed.
7314 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7315 (lib_org_xml_sax_la_LIBADD): Likewise.
7316 (all_java_source_files): Updated.
7317 (property_files): Likewise.
7318 (libgcj-@gcc_version@.jar): Include classes from external/.
7319 (javax_source_files): Updated.
7320 (ordinary_java_source_files): Updated.
7321 * javax/xml/XMLConstants.java,
7322 javax/xml/datatype/DatatypeConfigurationException.java,
7323 javax/xml/datatype/DatatypeConstants.java,
7324 javax/xml/datatype/DatatypeFactory.java,
7325 javax/xml/datatype/Duration.java,
7326 javax/xml/datatype/XMLGregorianCalendar.java,
7327 javax/xml/datatype/package.html,
7328 javax/xml/namespace/NamespaceContext.java,
7329 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7330 javax/xml/parsers/DocumentBuilder.java,
7331 javax/xml/parsers/DocumentBuilderFactory.java,
7332 javax/xml/parsers/FactoryConfigurationError.java,
7333 javax/xml/parsers/ParserConfigurationException.java,
7334 javax/xml/parsers/SAXParser.java,
7335 javax/xml/parsers/SAXParserFactory.java,
7336 javax/xml/parsers/package.html,
7337 javax/xml/transform/ErrorListener.java,
7338 javax/xml/transform/OutputKeys.java,
7339 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7340 javax/xml/transform/SourceLocator.java,
7341 javax/xml/transform/Templates.java,
7342 javax/xml/transform/Transformer.java,
7343 javax/xml/transform/TransformerConfigurationException.java,
7344 javax/xml/transform/TransformerException.java,
7345 javax/xml/transform/TransformerFactory.java,
7346 javax/xml/transform/TransformerFactoryConfigurationError.java,
7347 javax/xml/transform/URIResolver.java,
7348 javax/xml/transform/package.html,
7349 javax/xml/transform/dom/DOMLocator.java,
7350 javax/xml/transform/dom/DOMResult.java,
7351 javax/xml/transform/dom/DOMSource.java,
7352 javax/xml/transform/dom/package.html,
7353 javax/xml/transform/sax/SAXResult.java,
7354 javax/xml/transform/sax/SAXSource.java,
7355 javax/xml/transform/sax/SAXTransformerFactory.java,
7356 javax/xml/transform/sax/TemplatesHandler.java,
7357 javax/xml/transform/sax/TransformerHandler.java,
7358 javax/xml/transform/sax/package.html,
7359 javax/xml/transform/stream/StreamResult.java,
7360 javax/xml/transform/stream/StreamSource.java,
7361 javax/xml/transform/stream/package.html,
7362 javax/xml/validation/Schema.java,
7363 javax/xml/validation/SchemaFactory.java,
7364 javax/xml/validation/TypeInfoProvider.java,
7365 javax/xml/validation/Validator.java,
7366 javax/xml/validation/ValidatorHandler.java,
7367 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7368 javax/xml/xpath/XPathConstants.java,
7369 javax/xml/xpath/XPathException.java,
7370 javax/xml/xpath/XPathExpression.java,
7371 javax/xml/xpath/XPathExpressionException.java,
7372 javax/xml/xpath/XPathFactory.java,
7373 javax/xml/xpath/XPathFactoryConfigurationException.java,
7374 javax/xml/xpath/XPathFunction.java,
7375 javax/xml/xpath/XPathFunctionException.java,
7376 javax/xml/xpath/XPathFunctionResolver.java,
7377 javax/xml/xpath/XPathVariableResolver.java,
7378 javax/xml/xpath/package.html: New files, from GNU JAXP.
7379 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7380 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7381 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7382 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7383 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7384 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7385 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7386 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7387 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7388 org/w3c/dom/ranges/DocumentRange.java,
7389 org/w3c/dom/ranges/Range.java,
7390 org/w3c/dom/ranges/RangeException.java,
7391 org/w3c/dom/traversal/DocumentTraversal.java,
7392 org/w3c/dom/traversal/NodeFilter.java,
7393 org/w3c/dom/traversal/NodeIterator.java,
7394 org/w3c/dom/traversal/TreeWalker.java,
7395 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7396 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7397 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7398 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7399 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7400 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7401 org/xml/sax/SAXNotRecognizedException.java,
7402 org/xml/sax/SAXNotSupportedException.java,
7403 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7404 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7405 org/xml/sax/ext/DeclHandler.java,
7406 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7407 org/xml/sax/helpers/AttributeListImpl.java,
7408 org/xml/sax/helpers/AttributesImpl.java,
7409 org/xml/sax/helpers/DefaultHandler.java,
7410 org/xml/sax/helpers/LocatorImpl.java,
7411 org/xml/sax/helpers/NamespaceSupport.java,
7412 org/xml/sax/helpers/NewInstance.java,
7413 org/xml/sax/helpers/ParserAdapter.java,
7414 org/xml/sax/helpers/ParserFactory.java,
7415 org/xml/sax/helpers/XMLFilterImpl.java,
7416 org/xml/sax/helpers/XMLReaderAdapter.java,
7417 org/xml/sax/helpers/XMLReaderFactory.java,
7418 org/xml/sax/helpers/package.html: Moved to external/.
7419 * external/sax/README,
7420 external/sax/org/xml/sax/AttributeList.java,
7421 external/sax/org/xml/sax/Attributes.java,
7422 external/sax/org/xml/sax/ContentHandler.java,
7423 external/sax/org/xml/sax/DTDHandler.java,
7424 external/sax/org/xml/sax/DocumentHandler.java,
7425 external/sax/org/xml/sax/EntityResolver.java,
7426 external/sax/org/xml/sax/ErrorHandler.java,
7427 external/sax/org/xml/sax/HandlerBase.java,
7428 external/sax/org/xml/sax/InputSource.java,
7429 external/sax/org/xml/sax/Locator.java,
7430 external/sax/org/xml/sax/Parser.java,
7431 external/sax/org/xml/sax/SAXException.java,
7432 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7433 external/sax/org/xml/sax/SAXNotSupportedException.java,
7434 external/sax/org/xml/sax/SAXParseException.java,
7435 external/sax/org/xml/sax/XMLFilter.java,
7436 external/sax/org/xml/sax/XMLReader.java,
7437 external/sax/org/xml/sax/package.html,
7438 external/sax/org/xml/sax/ext/Attributes2.java,
7439 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7440 external/sax/org/xml/sax/ext/DeclHandler.java,
7441 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7442 external/sax/org/xml/sax/ext/EntityResolver2.java,
7443 external/sax/org/xml/sax/ext/LexicalHandler.java,
7444 external/sax/org/xml/sax/ext/Locator2.java,
7445 external/sax/org/xml/sax/ext/Locator2Impl.java,
7446 external/sax/org/xml/sax/ext/package.html,
7447 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7448 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7449 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7450 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7451 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7452 external/sax/org/xml/sax/helpers/NewInstance.java,
7453 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7454 external/sax/org/xml/sax/helpers/ParserFactory.java,
7455 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7456 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7457 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7458 external/sax/org/xml/sax/helpers/package.html,
7459 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7460 external/w3c_dom/org/w3c/dom/Attr.java,
7461 external/w3c_dom/org/w3c/dom/CDATASection.java,
7462 external/w3c_dom/org/w3c/dom/CharacterData.java,
7463 external/w3c_dom/org/w3c/dom/Comment.java,
7464 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7465 external/w3c_dom/org/w3c/dom/DOMError.java,
7466 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7467 external/w3c_dom/org/w3c/dom/DOMException.java,
7468 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7469 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7470 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7471 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7472 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7473 external/w3c_dom/org/w3c/dom/Document.java,
7474 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7475 external/w3c_dom/org/w3c/dom/DocumentType.java,
7476 external/w3c_dom/org/w3c/dom/Element.java,
7477 external/w3c_dom/org/w3c/dom/Entity.java,
7478 external/w3c_dom/org/w3c/dom/EntityReference.java,
7479 external/w3c_dom/org/w3c/dom/NameList.java,
7480 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7481 external/w3c_dom/org/w3c/dom/Node.java,
7482 external/w3c_dom/org/w3c/dom/NodeList.java,
7483 external/w3c_dom/org/w3c/dom/Notation.java,
7484 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7485 external/w3c_dom/org/w3c/dom/Text.java,
7486 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7487 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7488 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7489 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7490 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7491 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7492 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7493 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7494 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7495 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7496 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7497 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7498 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7499 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7500 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7501 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7502 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7503 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7504 external/w3c_dom/org/w3c/dom/css/Counter.java,
7505 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7506 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7507 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7508 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7509 external/w3c_dom/org/w3c/dom/css/Rect.java,
7510 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7511 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7512 external/w3c_dom/org/w3c/dom/events/Event.java,
7513 external/w3c_dom/org/w3c/dom/events/EventException.java,
7514 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7515 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7516 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7517 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7518 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7519 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7520 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7521 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7522 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7523 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7524 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7525 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7526 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7527 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7528 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7529 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7530 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7531 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7532 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7533 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7534 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7535 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7536 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7537 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7538 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7539 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7540 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7541 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7542 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7543 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7544 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7545 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7546 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7547 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7548 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7549 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7550 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7551 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7552 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7553 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7554 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7555 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7556 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7557 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7558 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7559 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7560 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7561 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7562 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7563 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7564 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7565 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7566 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7567 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7568 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7569 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7570 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7571 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7572 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7573 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7574 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7575 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7576 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7577 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7578 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7579 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7580 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7581 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7582 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7583 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7584 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7585 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7586 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7587 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7588 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7589 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7590 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7591 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7592 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7593 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7594 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7595 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7596 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7597 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7598 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7599 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7600 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7601 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7602 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7603 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7604 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7605 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7608 2005-01-31 Anthony Green <green@redhat.com>
7610 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7611 Support IP_MULTICAST_LOOP.
7612 (setOption): Support IP_MULTICAST_LOOP.
7614 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7615 SO_REUSEADDR support.
7616 (getOption): Support SO_REUSEADDR.
7618 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7621 * java/util/Date.java
7622 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7624 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7626 (getTimezoneOffset): Inverted sign.
7628 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7630 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7631 remove other passing tests and add new XFAILs.
7633 2005-01-24 Tom Tromey <tromey@redhat.com>
7635 * java/lang/Class.h (next): Updated documentation. Renamed to
7637 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7638 _Jv_CheckABIVersion.
7639 (_Jv_RegisterClasses_Counted): Likewise.
7640 (_Jv_RegisterClassHookDefault): Fix starting condition of
7641 duplicate-checking loop.
7642 * include/jvm.h (GCJ_VERSION): New define.
7643 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7644 (_Jv_CheckABIVersion): New function.
7646 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7648 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7649 (libgij_la_LDFLAGS): Add.
7650 * Makefile.in: Rebuilt.
7652 2005-01-24 Roger Sayle <roger@eyesopen.com>
7655 * testsuite/libjava.compile/PR19295.java: New test case.
7657 2005-01-19 Tom Tromey <tromey@redhat.com>
7659 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7660 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7661 if 'handler' is valid.
7663 2005-01-17 Tom Tromey <tromey@redhat.com>
7665 * java/text/MessageFormat.java (scanString): Changed how quoting
7667 (scanFormatElement): Likewise.
7669 2004-12-07 Mark Wielaard <mark@klomp.org>
7671 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7673 2005-01-15 Michael Koch <konqueror@gmx.de>
7677 (AUTHORITY_REGEXP): New regexp constant.
7678 (AUTHORITY_USERINFO_GROUP): New constant.
7679 (AUTHORITY_HOST_GROUP): Likewise.
7680 (AUTHORITY_PORT_GROUP): Likewise.
7681 (port): Changed default value to -1.
7682 (parseURI): Parse authority part and initialize host,
7685 2005-01-14 Robin Green <greenrd@greenrd.org>
7687 * java/io/File.java (toURI): Generate a URI which we understand.
7689 2005-01-13 Graydon Hoare <graydon@redhat.com>
7691 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7692 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7693 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7694 * jni.cc: Reuse bottom frame between calls, avoid clearing
7695 frame when no local references are made.
7697 2005-01-13 Michael Koch <konqueror@gmx.de>
7700 * java/lang/Thread.java
7701 (Thread): Call checkAccess().
7702 (stop): Fixed argument name to match javadoc.
7703 * java/lang/natThread.cc
7704 (interrupt): Call checkAccess().
7707 2005-01-11 Michael Koch <konqueror@gmx.de>
7710 * java/net/URL.java (URL): Handle specs like
7711 "/redir?http://domain2.com/index.html" which start with a slash.
7713 2005-01-11 Michael Koch <konqueror@gmx.de>
7715 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7716 * gnu/java/net/BASE64.java,
7717 gnu/java/net/EmptyX509TrustManager.java,
7718 gnu/java/net/LineInputStream.java,
7719 gnu/java/net/protocol/http/Authenticator.java,
7720 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7721 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7722 gnu/java/net/protocol/http/ChunkedInputStream.java,
7723 gnu/java/net/protocol/http/Cookie.java,
7724 gnu/java/net/protocol/http/CookieManager.java,
7725 gnu/java/net/protocol/http/Credentials.java,
7726 gnu/java/net/protocol/http/HTTPConnection.java,
7727 gnu/java/net/protocol/http/HTTPDateFormat.java,
7728 gnu/java/net/protocol/http/HTTPURLConnection.java,
7729 gnu/java/net/protocol/http/Headers.java,
7730 gnu/java/net/protocol/http/Request.java,
7731 gnu/java/net/protocol/http/RequestBodyWriter.java,
7732 gnu/java/net/protocol/http/Response.java,
7733 gnu/java/net/protocol/http/ResponseBodyReader.java,
7734 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7735 gnu/java/net/protocol/http/SimpleCookieManager.java,
7736 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7737 gnu/java/net/protocol/http/event/ConnectionListener.java,
7738 gnu/java/net/protocol/http/event/RequestEvent.java,
7739 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7740 * gnu/java/net/protocol/http/Connection.java: Removed.
7741 * gnu/java/net/protocol/http/Handler.java,
7742 javax/net/ssl/HttpsURLConnection.java: Updated.
7743 * Makefile.am: Added new files and remove old ones.
7744 * Makefile.in: Regenerated.
7746 2005-01-11 Tom Tromey <tromey@redhat.com>
7749 * java/io/BufferedInputStream.java (read): Repeatedly read to
7751 (refill): Change test to see if buffer must be grown.
7753 2005-01-10 Tom Tromey <tromey@redhat.com>
7755 * mauve-libgcj: Exclude some swing tests.
7757 2005-01-10 Tom Tromey <tromey@redhat.com>
7759 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7760 * java/lang/Package.java (getPackages): Use VMClassLoader when
7762 (getPackage): Likewise.
7763 * prims.cc (_Jv_CreateJavaVM): Call
7764 _Jv_RegisterBootstrapPackages.
7765 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7766 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7767 (getPackages): Likewise.
7768 (definedPackages): New field.
7769 (definePackageForNative): New method.
7770 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7771 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7772 * defineclass.cc (handleClassBegin): Use
7773 ClassLoader.findLoadedClass.
7774 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7776 (struct _Jv_LoaderInfo): Removed.
7777 (initiated_classes): Likewise.
7778 (_Jv_UnregisterClass): Don't use initiated_classes.
7779 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7780 (_Jv_FindClass): Register classes found during boostrap.
7781 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7782 (bootstrap_class_list): New global.
7783 (bootstrap_index): Likewise.
7784 (_Jv_RegisterBootstrapPackages): New function.
7785 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7786 definePackageForNative.
7787 (findClass): Updated.
7788 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7791 2005-01-10 Tom Tromey <tromey@redhat.com>
7794 * include/jvm.h (_Jv_Linker::find_field): Declare.
7795 (_Jv_Linker::find_field_helper): Likewise.
7796 * link.cc (find_field_helper): New method.
7797 (find_field): Likewise.
7798 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7800 (link_symbol_table): Use find_field.
7802 2005-01-10 Michael Koch <konqueror@gmx.de>
7805 * java/util/Locale.java (Locale): Don't uppercase variant.
7806 (getISOCountries): Fixed typo in javadoc.
7808 2005-01-10 Michael Koch <konqueror@gmx.de>
7810 * java/util/SimpleTimeZone.java (checkRule):
7811 Throw IllegalArgumentException on invalid month values.
7812 * java/util/TimeZone.java (setID):
7813 Throw NullPointerException if needed.
7815 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7817 * java/util/SimpleTimeZone.java (getOffset):
7818 offset end date with daylight savings
7820 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7822 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7823 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7825 2005-01-09 Michael Koch <konqueror@gmx.de>
7828 * java/net/InetAddress.java (getLocalHost):
7829 Throw UnknownHostException if local hostname cannot be determined.
7831 2005-01-06 Tom Tromey <tromey@redhat.com>
7833 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7835 2005-01-07 Michael Koch <konqueror@gmx.de>
7838 * java/nio/Buffer.java (address): New field.
7839 * java/nio/DirectByteBufferImpl.java (address): Removed.
7840 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7841 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7842 Explicitly initialize Buffer.address if needed.
7843 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7844 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7845 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7846 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7847 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7848 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7849 DirectByteBufferImpl object.
7850 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7851 * testsuite/libjava.jni/directbuffer.c,
7852 testsuite/libjava.jni/directbuffer.java,
7853 testsuite/libjava.jni/directbuffer.out,
7854 testsuite/libjava.jni/bytebuffer.c,
7855 testsuite/libjava.jni/bytebuffer.java,
7856 testsuite/libjava.jni/bytebuffer.out: New files.
7858 2005-01-05 Tom Tromey <tromey@redhat.com>
7860 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7862 (compressedSize): Now 'long'. Default to -1.
7863 (getCompressedSize): Rewrote.
7864 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7865 deflate at all if we need input.
7867 2005-01-05 Tom Tromey <tromey@redhat.com>
7870 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7873 2005-01-05 Tom Tromey <tromey@redhat.com>
7875 * java/lang/natRuntime.cc (insertSystemProperties): Set
7876 java.ext.dirs earlier.
7878 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7880 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7881 sync_info element of the object if needed.
7883 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7885 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7886 a non-zero exit status from 'false'.
7888 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7890 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.