1 2005-07-06 Tom Tromey <tromey@redhat.com>
3 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
5 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
7 * testsuite/libjava.compile/PR19674.java: New test.
9 2005-07-05 Aaron Luchko <aluchko@redhat.com>
11 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
14 2005-07-04 Aaron Luchko <aluchko@redhat.com>
16 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
17 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
18 CommandSets to handle JdwpCommandPackets.
19 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
22 2005-07-01 Tom Tromey <tromey@redhat.com>
24 * libtool-version: Updated.
26 2005-06-30 Aaron Luchko <aluchko@redhat.com>
28 * gnu/classpath/jdwp/util/JdwpString.java: New file.
30 2005-06-30 Keith Seitz <keiths@redhat.com>
32 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
33 (myWrite): New abstract method.
36 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
38 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
40 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
41 JdwpPacket.write instead of JdwpPacket.toBytes.
43 2005-06-30 Keith Seitz <keiths@redhat.com>
45 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
48 (_doStream): New member.
49 (JdwpConnection): Initialize new members.
51 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
53 * all files: Update for new FSF address.
55 2005-06-29 Tom Tromey <tromey@redhat.com>
58 * testsuite/libjava.lang/pr22211.java: New file.
59 * java/lang/natThread.cc (finish_): Synchronize when updating
61 (_Jv_AttachCurrentThread): Likewise.
62 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
63 * java/lang/Thread.java (isAlive): Now synchronized.
65 2005-06-29 Tom Tromey <tromey@redhat.com>
67 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
70 2005-06-28 Robin Green <greenrd@greenrd.org>
73 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
76 2005-06-27 Tom Tromey <tromey@redhat.com>
78 PR java/21540, PR java/13788:
79 * testsuite/libjava.compile/pr21540.java: New file.
80 * testsuite/libjava.compile/pr13788.java: New file.
81 * testsuite/libjava.jacks/jacks.xfail: Updated.
83 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
85 * testsuite/libjava.mauve/xfails: Updated to reflect current state
88 2005-06-24 Tom Tromey <tromey@redhat.com>
90 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
91 where class' name is NULL.
92 (_Jv_FindClass): Don't wait for class state.
93 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
95 * include/java-interp.h (_Jv_DefineClass): Updated.
96 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
97 (struct _Jv_ClassReader): Likewise.
98 (found_name): New field.
99 (handleClassBegin): Set *found_name.
100 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
101 (handleClassBegin): Throw error if super class not set.
102 (read_methods): Correctly call check_tag and prepare_pool_entry.
104 2005-06-24 Tom Tromey <tromey@redhat.com>
106 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
108 2005-06-24 Tom Tromey <tromey@redhat.com>
110 * verify.cc (verify_instructions_0): Correctly handle situation
111 where PC falls off end.
113 2005-06-24 Tom Tromey <tromey@redhat.com>
115 * interpret.cc (compile): Handle case where table entry is
118 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
120 * testsuite/libjava.compile/PR20697.java: New test-case.
122 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
124 * Makefile.am (SUBDIRS): Use append for conditional.
125 (toolexeclib_LTLIBRARIES): Likewise.
126 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
127 a conditional append.
128 * Makefile.in: Regenerate.
130 2005-06-17 Keith Seitz <keiths@redhat.com>
132 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
133 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
134 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
136 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
137 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
139 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
140 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
141 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
142 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
144 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
145 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
147 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
149 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
150 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
151 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
152 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
153 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
154 * Makefile.in: Regenerate.
156 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
158 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
159 (USING_POSIX_PLATFORM): ... here.
160 * Makefile.am: Delete USING_ECOS_PLATFORM.
161 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
162 external/Makefile.in, external/sax/Makefile.in,
163 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
165 2005-06-15 Tom Tromey <tromey@redhat.com>
168 * testsuite/libjava.lang/pr17536.java: New file.
169 * testsuite/libjava.lang/pr17536.out: New file.
171 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
174 * gnu/java/net/protocol/http/HTTPURLConnection.java
175 (getHeaderFieldKey): Check index.
177 2005-06-15 Tom Tromey <tromey@redhat.com>
180 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
182 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
183 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
185 (append_partial_itable): Use it.
186 (set_vtable_entries): Likewise.
188 2005-06-15 Tom Tromey <tromey@redhat.com>
190 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
191 last_was_sep in loop.
193 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
195 * configure.host: Handle Solaris 10/x86.
197 2005-06-14 Keith Seitz <keiths@redhat.com>
199 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
200 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
202 2005-06-14 Keith Seitz <keiths@redhat.com>
204 * gnu/classpath/jdwp/id/ArrayId.java: New file.
205 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
206 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
207 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
208 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
209 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
210 * gnu/classpath/jdwp/id/JdwpId.java: New file.
211 * gnu/classpath/jdwp/id/ObjectId.java: New file.
212 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
213 * gnu/classpath/jdwp/id/StringId.java: New file.
214 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
215 * gnu/classpath/jdwp/id/ThreadId.java: New file.
217 2005-06-14 Tom Tromey <tromey@redhat.com>
220 * configure, aclocal.m4, Makefile.in: Rebuilt.
222 2005-06-14 Tom Tromey <tromey@redhat.com>
224 * java/lang/Class.java (getClasses): New method.
225 (internalGetClasses): Likewise.
226 (getClassLoader): Updated documentation.
227 (getDeclaredClasses): New overload; old overload no longer
229 (_getConstructors): Removed.
230 (resourcePath): Updated.
231 * java/lang/natClass.cc (getClasses): Removed.
232 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
234 (_getConstructors): Removed.
236 2005-06-13 Jim Huang <jserv@kaffe.org>
239 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
240 (_Jv_JNI_NewObject): Likewise.
242 2005-06-13 Tom Tromey <tromey@redhat.com>
245 * testsuite/libjava.lang/pr21844.java: New file.
246 * testsuite/libjava.lang/pr21844.out: New file.
248 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
251 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
254 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
256 * java/text/MessageFormat.java (parse): When parsing strings, check
257 for an empty pattern trailer.
259 2005-06-06 Keith Seitz <keiths@redhat.com>
261 * gnu/classpath/jdwp/util/Signature.java: New file.
262 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
264 2005-06-05 Anthony Green <green@redhat.com>
266 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
269 2005-06-04 Anthony Green <green@redhat.com>
271 * java/net/URLClassLoader.java: import gnu.gcj.Core,
272 and gnu.java.net.protocol.core.CoreInputStream.
273 (CureURLLoader): New class.
274 (CoreResource): New class.
275 (addURLImpl): Add special treatment for the "core" protocol.
276 * gnu/gcj/natCore.cc (find): New method.
277 * gnu/gcj/Core.java (find): New method.
279 2005-06-03 Keith Seitz <keiths@redhat.com>
281 * gnu/classpath/jdwp/transport/ITransport.java: New file.
282 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
283 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
285 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
287 * jawt.c: Remove malloc.h, covered by stdlib.h.
289 * testsuite/libjava.jni/jni.exp
290 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
293 2005-06-02 Keith Seitz <keiths@redhat.com>
295 * gnu/classpath/jdwp/transport/TransportException.java: New file.
297 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
299 * mauve-libgcj: Remove implemented classes from the fail section.
300 Add two new not implemented to it.
302 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
304 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
305 AC_SUBST definition from configure.host.
306 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
307 to -fomit-frame-pointer on 32-bit x86 targets.
309 2005-06-01 Tom Tromey <tromey@redhat.com>
311 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
313 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
316 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
317 (static): Add possessive matching to JAVA_1_4 syntax.
318 * gnu/regexp/RETokenRepeated.java (possessive): New field.
319 (makePossessive, isPossessive): New methods.
320 (match): Don't back off during possessive matching.
321 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
322 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
325 2005-06-01 Keith Seitz <keiths@redhat.com>
327 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
328 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
329 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
331 2005-06-01 Tom Tromey <tromey@redhat.com>
334 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
335 (currentLoader): New method.
336 * java/io/ObjectInputStream.java (resolveProxyClass): Use
338 (currentLoader): Now native.
339 (currentClassLoader): Removed.
340 * testsuite/libjava.lang/pr21785.java: New file.
341 * testsuite/libjava.lang/pr21785.out: New file.
343 2005-06-01 Tom Tromey <tromey@redhat.com>
346 * java/lang/natString.cc (substring): Changed sharing heuristic.
348 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
351 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
352 MAXPATHLEN. Format exception message using a StringBuffer instead.
354 2005-05-29 Michael Koch <konqueror@gmx.de>
357 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
359 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
361 * ChangeLog: Fix typo.
363 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
365 Testsuite adjustments for PR java/19870.
366 * testsuite/libjava.lang/PR19870.java: New testcase.
367 * testsuite/libjava.lang/PR19870.out: Expected output for the
369 * testsuite/libjava.jacks/jacks.xfail: Add
370 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
373 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
375 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
376 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
377 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
379 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
380 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
381 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
382 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
384 2005-05-25 Richard Henderson <rth@redhat.com>
387 * sysdep/descriptor-n.h: New file.
388 * sysdep/descriptor-y.h: New file.
389 * sysdep/powerpc/descriptor.h: New file.
390 * configure.host: Set $descriptor_h appropriate for the host.
391 * configure.ac: Link it.
392 * configure: Regenerate.
393 * stacktrace.cc: Include sysdep/descriptor.h.
394 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
396 2005-05-25 Chris Burdess <dog@gnu.org>
398 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
399 end entity callbacks.
401 2005-05-24 Gary Benson <gbenson@redhat.com>
404 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
405 Handle DateFormat.DEFAULT case correctly.
407 2005-05-21 Tom Tromey <tromey@redhat.com>
410 * java/lang/ref/natReference.cc (find_slot): Handle case where
411 table has no NULL entries.
412 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
413 table has no NULL entries.
415 2005-05-22 Andreas Jaeger <aj@suse.de>
417 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
420 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
422 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
424 2005-05-19 Richard Henderson <rth@redhat.com>
426 * exception.cc: Revert 05-17 gcc_unreachable change.
428 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
430 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
431 _Jv_RegisterInitiatingLoader to register array classes, not
433 (_Jv_RegisterInitiatingLoader): Give up if called very early during
434 bootstrapping. Add a FIXME to handle this case better.
436 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
438 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
440 (libgcj_la_SOURCES): New. Move sources here.
441 (libgcj.la): Remove rule.
443 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
446 * gnu/java/security/provider/DSASignature.java: Import updates
449 2005-05-18 Anthony Green <green@redhat.com>
451 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
452 classpath_jawt_object_unlock, classpath_jawt_create_lock,
453 classpath_jawt_destroy_lock): New functions.
454 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
455 classpath_jawt_object_unlock, classpath_jawt_create_lock,
456 classpath_jawt_destroy_lock): New functions.
457 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
459 * jawt.c: #include malloc.h.
460 (_Jv_Lock): Use lock.
462 (_Jv_GetDrawingSurface): Initialize lock.
463 (_Jv_FreeDrawingSurface): Destroy lock.
464 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
466 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
468 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
469 * Makefile.in: Regenerate.
471 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
473 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
474 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
475 * aclocal.m4, configure, config.h.in, include/config.h.in,
476 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
477 external/Makefile.in, external/sax/Makefile.in,
478 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
480 2005-05-17 David Daney <ddaney@avtrex.com>
483 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
485 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
487 * exception.cc (abort): Remove std::abort hack.
488 (gcc_unreacheable): Define.
490 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
492 * Makefile.am (Makefile.deps): Do not create native.list and
494 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
495 * Makefile.in: Regenerate.
497 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
499 * configure.ac (--enable-libgcj-multifile): Remove.
501 * Makefile.am (all_native_compiled_source_files,
502 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
503 all_libgcj_lo_files, all_xlib_lo_files,
504 all_java_deps_files, all_java_stamp_files,
505 all_java_filelist_files): New variables.
506 (EXTRA_DIST): New Automake variable.
507 (CLEANFILES): Add .stamp, .list and .lo files.
508 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
509 (classes.stamp): Depend on $(all_java_stamp_files).
510 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
511 going through write_entries_to_file.
513 (all_java_source_files, all_property_files): Move earlier.
514 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
515 all_java_class_files): Remove.
516 (gtk_awt_peer_sources): Rename to...
517 (gtk_awt_peer_source_files): ... this. Adjust throughout.
520 (libgcj0_convenience_la_SOURCES): Remove Java source files.
521 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
522 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
523 (libgcj_la_SOURCES): Remove.
524 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
525 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
526 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
528 * configure: Regenerate.
529 * Makefile.in: Regenerate.
530 * external/Makefile.in: Regenerate.
531 * external/sax/Makefile.in: Regenerate.
532 * external/w3c_dom/Makefile.in: Regenerate.
533 * gcj/Makefile.in: Regenerate.
534 * include/Makefile.in: Regenerate.
535 * libltdl/Makefile.in: Regenerate.
536 * testsuite/Makefile.in: Regenerate.
538 2005-05-16 Tom Tromey <tromey@redhat.com>
540 * java/nio/charset/Charset.java (encode, decode): Synchronize on
541 'this', not the class.
543 2005-05-16 Tom Tromey <tromey@redhat.com>
545 * gnu/java/net/protocol/http/Headers.java (parse): Include final
548 2005-05-16 Tom Tromey <tromey@redhat.com>
551 * java/net/URI.java (unquote): Handle lower-case letters as well.
553 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
556 * gnu/regexp/RE.java: Add support for quoting constructs.
558 2005-05-15 Tom Tromey <tromey@redhat.com>
560 * java/lang/String.java (startsWith): Fixed javadoc.
562 2005-05-15 Tom Tromey <tromey@redhat.com>
565 * testsuite/libjava.compile/pr21519.java: New file.
566 * testsuite/libjava.compile/pr21519.no-link: New file.
568 2005-05-15 Tom Tromey <tromey@redhat.com>
570 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
572 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
575 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
576 interrupt status flag if _Jv_CondWait is interrupted.
578 2005-05-13 Tom Tromey <tromey@redhat.com>
580 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
583 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
585 * include/jvm.h (gcj::verifyClasses): Declare.
586 * link.cc (gcj::verbose_class_flag): Moved.
587 * prims.cc (gcj::verifyClasses): Define here.
588 (gcj::verbose_class_flag): Move definition here.
589 (_Jv_Linker::wait_for_state): Don't call verify_class
590 if gcj::verifyClasses is not set.
591 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
593 2005-05-12 Aaron Luchko <aluchko@redhat.com>
595 * gij.cc (main): Recognize '-verify', '-noverify', and
598 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
600 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
602 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
604 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
607 2005-05-11 Tom Tromey <tromey@redhat.com>
609 * external/w3c_dom/Makefile.in: Rebuilt.
610 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
612 * external/sax/Makefile.in: Rebuilt.
613 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
615 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
617 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
618 Call _Jv_CopyClassesToSystemLoader.
619 * java/lang/natClassLoader.cc (system_class_list): New global.
620 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
622 (_Jv_CopyClassesToSystemLoader): New function.
623 (SYSTEM_LOADER_INITIALIZED): New define.
624 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
625 (_Jv_CheckABIVersion): Use it.
626 (_Jv_ClassForBootstrapLoader): New function.
627 * Makefile.in: Rebuilt.
628 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
630 2005-05-10 Tom Tromey <tromey@redhat.com>
632 * gcj/javaprims.h: Updated.
633 * java/lang/String.java (String(StringBuilder)): New constructor.
634 * java/lang/natStringBuilder.cc: New file.
635 * java/lang/StringBuilder.java: New file.
636 * Makefile.in: Rebuilt.
637 * Makefile.am (core_java_source_files): Added StringBuilder.java.
638 (nat_source_files): Added natStringBuilder.cc.
640 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
643 * testsuite/libjava.jacks/jacks.xfail: Adjust.
645 2005-05-09 Mike Stump <mrs@apple.com>
647 * configure: Regenerate.
649 2005-05-09 David Daney <ddaney@avtrex.com>
651 * java/util/BitSet.java (get(int, int)): Fix breakage when
652 requested set doesn't start on a multiple of 64.
654 2005-05-07 Matthias Klose <doko@debian.org>
656 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
658 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
660 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
661 * Makefile.in: Regenerate.
662 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
663 (createCompatibleVolatileImage(int,int)): Implement.
664 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
666 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
668 (createVolatileImage): Implement.
669 (createBuffers): Likewise.
670 (getBackBuffer): Likewise.
672 (destroyBuffers): Likewise.
673 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
674 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
675 (CanvasFlipBufferStrategy): Likewise.
676 (createBufferStrategy(int)): New method.
677 (createBufferStrategy(int,BufferCapabilities)): Likewise.
678 * java/awt/Component.java (BltBufferStrategy): Implement and
680 (FlipBufferStrategy): Likewise.
681 * java/awt/Window.java (WindowBltBufferStrategy): New class.
682 (WindowFlipBufferStrategy): Likewise.
683 (createBufferStrategy(int)): New method.
684 (createBufferStrategy(int,BufferCapabilities)): Likewise.
685 (getBufferStrategy): Likewise.
686 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
687 front to frontCaps and back to backCaps.
689 2005-05-06 Michael Koch <konqueror@gmx.de>
691 * java/awt/BufferCapabilities.java
692 (BufferCapabilities): Merged javadoc.
694 2005-05-06 Michael Koch <konqueror@gmx.de>
696 * java/util/Locale.java
697 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
698 (getLocale): New methods. Use it everywhere where instances of Locales
700 (getDisplayLanguage): Merged javadoc.
701 (getDisplayCountry): Likewise.
702 (getDisplayVariant): Likewise.
704 2005-05-06 Archie Cobbs <archie@dellroad.org>
706 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
707 use DeleteLocalRef() to avoid exhausting local native references.
709 2005-05-06 Mark Wielaard <mark@klomp.org>
711 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
712 (window_delete_cb): Don't use C++ style comments.
714 2005-05-06 Robert Schuster <thebohemian@gmx.net>
716 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
719 2005-05-06 Robert Schuster <thebohemian@gmx.net>
721 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
722 (window_delete_cb): Made the function return TRUE.
724 2005-05-06 Roman Kennke <roman@kennke.org>
726 * javax/swing/text/PlainView.java
727 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
729 * javax/swing/text/Utilities.java
730 (drawTabbedText): Initilialize local variable pos correctly.
732 2005-05-06 Roman Kennke <roman@kennke.org>
734 * javax/swing/text/AbstractDocument.java
735 (LeafElement): Made start and end package private fields for
736 effective reindexing.
737 * javax/swing/text/PlainDocument.java
738 (constructor): The field rootElement is always BranchElement,
739 so we handle it as such.
740 (removeUpdate): Rewritten reindexing for removeUpdate so that
741 the actual removal is taken into account.
743 2005-05-06 Roman Kennke <roman@kennke.org>
745 * javax/swing/text/GapContent.java:
746 Removed debugging output stuff, which I accidentally left in.
748 2005-05-06 Roman Kennke <roman@kennke.org>
750 * javax/swing/text/GapContent.java:
751 Implemented a real GapContent. Only the public methods have
752 been implemented so far and still no UndoableEdit support.
754 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
756 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
759 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
761 * java/awt/image/BufferStrategy.java: Document.
763 * java/awt/BufferCapabilities.java: Document.
765 2005-05-04 Tom Tromey <tromey@redhat.com>
767 * java/nio/channels/FileLock.java (toString): Entirely avoid
770 2005-05-04 Andrew Overholt <overholt@redhat.com>
772 * java/nio/channels/FileLock.java (toString): Re-implement using
775 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
777 * java/awt/ImageCapabilities.java: Document.
779 * java/awt/image/VolatileImage.java: Unindent copyright header.
781 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
783 * java/awt/image/VolatileImage.java: Document.
785 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
788 (init_glib_threads): Check if threading system is already
791 2005-05-03 Andrew Overholt <overholt@redhat.com>
794 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
795 could not be acquired.
796 * java/nio/channels/FileLock.java (toString): Re-implement to be
797 in line with other implementations.
799 2005-05-03 Tom Tromey <tromey@redhat.com>
801 * java/lang/VMSecurityManager.java (currentClassLoader): Use
802 'systemClasssLoader' directly.
804 2005-05-03 Tom Tromey <tromey@redhat.com>
806 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
807 call VMClassLoader.getSystemClassLoader.
809 2005-04-29 Michael Koch <konqueror@gmx.de>
811 * java/net/NetworkInterface.java
813 (NetworkInterface(String,InetAddress)): Made package-private.
814 (NetworkInterface(String,InetAddress[])): New constructor.
815 (getRealNetworkInterfaces): Removed.
816 (getByName): Use VMNetworkInterface.getInterfaces().
817 (getByInetAddress): Likewise.
818 (getNetworkInterfaces): Likewise.
819 * java/net/VMNetworkInterface.java,
820 java/net/natVMNetworkInterfaceNoNet.cc,
821 java/net/natVMNetworkInterfacePosix.c,c
822 java/net/natVMNetworkInterfaceWin32.cc: New files.
823 * java/net/natNetworkInterfaceNoNet.cc,
824 java/net/natNetworkInterfacePosix.cc,
825 java/net/natNetworkInterfaceWin32.cc: Removed.
828 * configure, Makefile.in: Regenerated.
830 2005-04-29 Andrew Haley <aph@redhat.com>
832 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
834 2005-04-29 Dalibor Topic <robilad@kaffe.org>
836 * java/nio/channels/FileChannelImpl.java
837 (FileChannelImpl(String, int)): Removed.
838 (FileChannelImpl(File, int)): Added. Check if opened file is a
840 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
841 Call FileChannelImpl(File, int).
842 * java/io/FileOutputStream.java (FileInputStream): Call
843 FileChannelImpl(File, int).
844 * java/io/RandomAccessFile.java (RandomAccessFile):
845 Call FileChannelImpl(File, int). Switched constructors around.
847 2005-04-27 Andrew Haley <aph@redhat.com>
850 * prims.cc (_Jv_ResolvePoolEntry): New function.
851 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
852 * link.cc (_Jv_Linker::find_field): New arg: found_class.
853 (resolve_pool_entry): Initialize the class in which a field is
855 (link_symbol_table): Pass new arg to found_class.
857 2005-04-29 Michael Koch <konqueror@gmx.de>
859 * java/nio/charset/Charset.java
860 (provider): Reformatted.
862 2005-04-29 Michael Koch <konqueror@gmx.de>
864 * gnu/java/net/protocol/http/HTTPConnection.java:
865 (userAgent): Initialize from system properties.
866 (initUserAgent): Removed.
868 2005-04-29 Mark Wielaard <mark@klomp.org>
870 * java/util/ResourceBundle.java (getObject): Clarify
871 MissingResourceException detailed message.
872 (tryBundle(String,ClassLoader)): Likewise.
874 2005-04-29 Robert Schuster <thebohemian@gmx.net>
876 * java/beans/FeatureDescriptor.java:
877 (getShortDescription): Implemented fallback mechanism and fixed
878 documentation (fixes bug #12637).
879 (getDisplayName): Dito.
881 2005-04-29 Robert Schuster <thebohemian@gmx.net>
883 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
884 will now be set correctly.
885 (flushCaches): Now flushes all cached intermediate data.
887 2005-04-28 Michael Koch <konqueror@gmx.de>
889 * java/net/InetAddress.java
890 (aton): Fixed javadoc.
893 2005-04-28 Tom Tromey <tromey@redhat.com>
895 * javax/swing/Timer.java
896 (drainEvents, queueEvent): Now package-private.
898 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
900 * javax/swing/Timer.java
901 (constructor): Assigning initialDelay.
903 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
905 * javax/swing/Timer.java
906 (Waker.run): firing the first action event.
908 2005-04-28 Michael Koch <konqueror@gmx.de>
910 * javax/swing/Timer.java: Reordered all fields and methods,
913 2005-04-28 Michael Koch <konqueror@gmx.de>
915 * javax/swing/Timer.java: Javadocs merged
918 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
920 * gnu/java/net/protocol/file/Connection.java
921 (StaticData): New inner class to contain statics.
922 (connect, getHeaderField): Modified to use StaticData.
924 2005-04-28 Michael Koch <konqueror@gmx.de>
926 * gnu/java/net/protocol/file/Connection.java
927 (lineSeparator): Initialize with SystemProperties.getProperty().
929 2005-04-27 Chris Burdess <dog@gnu.org>
931 * gnu/java/net/protocol/file/Connection.java: Return correct content
932 length for directory listing.
933 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
934 #11285: return valid URLs for directories.i
936 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
938 * Makefile.am (ordinary_java_source_files): Add
939 gnu/java/net/protocol/https/Handler.java.
940 * Makefile.in: Regenerate.
941 * java/net/URL.java: Remove org.metastatic.jessie from default
942 protocol search path.
944 2005-04-27 Chris Burdess <dog@gnu.org>
946 * gnu/java/net/protocol/https/Handler.java: New file.
948 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
950 * javax/imageio/spi/IIORegistry.java (IIORegistry):
951 Don't assume that awt Toolkit is always ClasspathToolkit.
953 2005-04-27 Chris Burdess <dog@gnu.org>
955 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
956 absolute and relative paths in Location header.
958 2005-04-27 Chris Burdess <dog@gnu.org>
960 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
961 FileNotFoundException and implement getErrorStream on 404.
963 2005-04-27 Sven de Marothy <sven@physto.se>
965 * java/util/TimeZone.java,
966 (getDefaultDisplayName): Fix previous fix.
968 2005-04-27 Sven de Marothy <sven@physto.se>
970 * java/util/TimeZone.java,
971 (getDefaultDisplayName): Don't print zero offsets.
973 2005-04-27 Roman Kennke <roman@kennke.org>
975 * javax/swing/plaf/basic/BasicScrollBarUI
976 (getThumbBounds): Do not make thumb smaller than
978 * javax/swing/plaf/metal/MetalLookAndFeel
979 (initComponentDefaults): Added color defaults for ScrollBar.
980 * javax/swing/plaf/metal/MetalScrollBarUI
982 (getMinimumThumbSize): Added.
984 2005-04-27 Roman Kennke <roman@kennke.org>
986 * javax/swing/plaf/metal/MetalLookAndFeel
987 (initComponentDefaults): Added some default colors.
989 2005-04-27 Roman Kennke <roman@kennke.org>
991 * javax/swing/plaf/basic/BasicScrollBarUI.java
992 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
993 to 'ScrollBar.thumbShadow'. The formes does not exist.
994 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
996 2005-04-27 Roman Kennke <roman@kennke.org>
998 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
999 * javax/swing/BoxLayout.java: Likewise.
1000 * javax/swing/UIManager.java: Likewise.
1001 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1002 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1003 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1004 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1005 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1006 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1007 * javax/swing/text/Document.java: Likewise.
1008 * javax/swing/text/GapContent.java: Likewise.
1009 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1010 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1012 2005-04-27 Roman Kennke <roman@kennke.org>
1014 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1015 (getPropertyPrefix): Added.
1017 2005-04-27 Roman Kennke <roman@kennke.org>
1019 * javax/swing/plaf/basic/BasicButtonUI.java
1020 (getPropertyPrefix): Added.
1021 (installDefaults): Use getPropertyPrefix instead of hard-coded
1024 2005-04-27 Roman Kennke <roman@kennke.org>
1026 * javax/swing/JToggleButton.java
1027 (JToggleButton): Removed horizontalAlignment setting, this
1028 was wrong. Added setting of an actionCommand, ToggleButtons
1029 have "" as default actionCommand.
1031 2005-04-27 Michael Koch <konqueror@gmx.de>
1033 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1034 to work around CNI limitation.
1036 2005-04-27 Sven de Marothy <sven@physto.se>
1038 * java/nio/charset/Charset.java:
1039 (defaultCharset()): New method.
1040 Status updated to 1.5
1042 2005-04-27 Sven de Marothy <sven@physto.se>
1044 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1046 2005-04-27 Sven de Marothy <sven@physto.se>
1048 * java/nio/charset/Charset.java: Reset cached de/encoders.
1050 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1052 * java/nio/charset/Charset.java (forName): Throws
1053 IllegalArgumentException when argument is null
1054 and added documentation.
1056 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1058 * java/nio/charset/Charset.java (providers):
1059 New method to make an array of CharsetProviders defined in
1060 META-INF/services/java.nio.charset.spi.CharsetProvider.
1061 (charsetForName, availableCharsets): Use the
1062 new method providers().
1064 2005-04-26 Michael Koch <konqueror@gmx.de>
1066 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1067 Fixed typos in javadocs.
1068 (isSiteLocalAddress): Fixed handling of byte values.
1069 (isMCLinkLocal): Likewise.
1070 * java/net/Inet4Address.java
1071 (isMulticastAddress): Call super method.
1072 (isLoopbackAddress): Likewise.
1073 (isAnyLocalAddress): Likewise.
1074 (isLinkLocalAddress): Likewise.
1075 (isSiteLocalAddress): Likewise.
1076 (isMCGlobal): Likewise.
1077 (isMCNodeLocal): Likewise.
1078 (isMCLinkLocal): Likewise.
1079 (isMCSiteLocal): Likewise.
1080 (isMCOrgLocal): Likewise.
1081 (getHostAddress): Likewise.
1083 2005-04-26 Sven de Marothy <sven@physto.se>
1085 * java/net/InetAddress.java
1086 (toString): Don't print empty hostnames.
1088 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1091 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1092 'false' to native lock().
1093 (lock): Pass 'true' to native lock().
1095 2005-04-26 Michael Koch <konqueror@gmx.de>
1097 * java/net/InetAddress.java:
1098 Fixed typos in javadocs.
1100 2005-04-26 Andrew Haley <aph@redhat.com>
1103 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1106 2005-04-26 Tom Tromey <tromey@redhat.com>
1108 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1109 gnu): Now package-private.
1110 * javax/swing/text/html/parser/DocumentParser.java (parser,
1111 callBack, gnu): Now package-private.
1112 * javax/swing/text/StringContent.java (content, setOffset,
1113 checkLocation): Now package-private.
1114 * javax/swing/text/JTextComponent.java (doc): Now
1116 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1117 lastGoodOrientation, origParent, borders, cachedBounds,
1118 cachedOrientation, DragWindow): Now package-private.
1119 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1120 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1121 tabAreaRect, contentRect, createIncreaseButton,
1122 createDecreaseButton, findPointForIndex): Now package-private.
1123 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1124 (currentDividerLocation, moveDividerTo): Now package-private.
1125 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1127 * javax/swing/plaf/basic/BasicScrollBarUI.java
1128 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1129 Now package-private.
1130 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1131 (topWindowListener): Now package-private.
1132 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1133 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1134 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1136 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1138 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1139 Now package-private.
1140 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1142 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1143 borderInsets): Now package-private.
1144 (arrowButtonWidth): Likewise. Now a constant.
1145 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1146 makeTabs, updatePreviewPanel): Now package-private.
1147 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1148 darkShadow, highlight): Now package-private.
1149 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1150 (addColorToQueue): Now package-private.
1151 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1152 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1153 GSpinner, BSpinner): Now package-private.
1154 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1155 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1156 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1157 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1158 updateTrack): Now package-private.
1159 * javax/swing/TransferHandler.java (clipboard): Now
1161 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1163 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1165 * javax/swing/RepaintManager.java (globalManager): Now
1167 * javax/swing/JFormattedTextField.java (editValid): Now
1169 * javax/swing/JColorChooser.java (makeModal): Now
1171 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1172 index, path): Now package-private.
1173 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1174 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1175 pointEquals): Now package-private.
1176 * java/awt/geom/Arc2D.java (type): Now package-private.
1177 * java/awt/Window.java (windowFocusOwner): Now package-private.
1178 * java/awt/TextComponent.java (editable, selectionStart,
1179 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1181 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1183 * java/awt/MenuComponent.java (focusListener): Now
1185 * java/awt/Frame.java (state): Now package-private.
1186 * java/awt/Choice.java (pItems): Now package-private.
1187 * java/awt/Checkbox.java (state): Now package-private.
1188 * java/awt/Button.java (actionCommand, label): Now
1190 * gnu/javax/swing/text/html/parser/support/Parser.java
1191 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1193 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1195 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1196 clip, transform, font, comp): Now package-private.
1198 2005-04-26 Tom Tromey <tromey@redhat.com>
1200 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1203 2005-04-26 Mark Wielaard <mark@klomp.org>
1205 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1206 to MalformedURLException.
1208 2005-04-26 Michael Koch <konqueror@gmx.de>
1210 * java/security/AccessControlContext.java:
1212 (protectedDomains): Renamed from 'protectionDomain'.
1213 * java/security/AccessController.java:
1216 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1218 * gnu/java/security/action/GetSecurityPropertyAction.java
1219 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1220 of extending GetPropertyAction.
1223 (setParamters): New methods.
1224 (GetSecurityPropertyAction): Use new setParameters methods.
1226 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1228 * java/security/Security.java,
1229 java/security/cert/X509CRLSelector.java,
1230 java/security/cert/X509CertSelector.java:
1231 Modified to use SystemProperties.
1233 2005-04-26 Michael Koch <konqueror@gmx.de>
1235 * java/lang/System.java
1236 (setSecurityManager): Fixed comment.
1237 (getSecurityManager): Removed obsolete comment.
1239 2005-04-25 Tom Tromey <tromey@redhat.com>
1241 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1243 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1246 (connectSignals): Realize the window widget after connecting
1249 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1251 * java/awt/GraphicsEnvironment.java
1252 (localGraphicsEnvironment): New field.
1253 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1255 (isHeadless): Added support for java.awt.headless property.
1256 (isHeadlessInstance): Call headless().
1258 2005-04-25 Roman Kennke <roman@kennke.org>
1260 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1261 (getDisplayMode): Added. Returns the current display mode.
1262 (isFullScreenSupported): Added.
1263 * java/awt/GraphicsDevice.java
1264 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1265 This resizes and relocates the fullscreen window so that it uses
1266 the whole screen. This is not a fully accelerated fullscreen
1269 2005-04-25 Michael Koch <konqueror@gmx.de>
1271 * java/lang/Runtime.java,
1272 java/lang/SecurityManager.java,
1273 java/lang/System.java,
1274 java/lang/ThreadGroup.java:
1275 Replaced java.lang.Runtime.securityManager by
1276 java.lang.SecurityManager.current (as used in GNU classpath).
1278 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1280 * java/awt/Transparency.java
1281 (getTransparency): fixed API docs.
1283 2005-04-25 Archie Cobbs <archie@dellroad.org>
1285 * java/lang/Throwable.java: simplify initializing cause in constructor
1287 2005-04-25 Michael Koch <konqueror@gmx.de>
1289 * gnu/classpath/SystemProperties.java: New file.
1290 * gnu/classpath/natSystemProperties.cc: New file.
1291 * java/lang/Runtime.java
1292 (defaultProperties): Removed.
1294 (): Made thrown exceptions more verbose.
1295 (insertSystemProperties): Removed.
1296 * java/lang/System.java
1298 (properties): Likewise.
1299 (setSecurityManager): Reordered modifiers.
1300 (getenv): Improved javadoc.
1302 (isWordsBigEndian): Removed.
1303 * java/lang/natRuntime.cc
1304 (_Jv_SetDLLSearchPath): Likewise.
1305 (file_encoding): Likewise.
1306 (default_file_encoding): Likewise.
1307 (getpwuid_adaptor): Likewise.
1308 (insertSystemProperties): Likewise.
1309 * java/lang/natSystem.cc
1310 (isWordsBigEndian): Likewise.
1312 (ordinary_java_source_files):
1313 Added gnu/classpath/SystemProperties.java.
1314 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1315 * Makefile.in: Regenerated.
1317 2005-04-25 Roman Kennke <roman@kennke.org>
1319 * javax/swing/plaf/basic/BasicScrollBarUI.java
1320 (initDefaults): Initialize thumb*Color fields correctly.
1322 2005-04-25 Roman Kennke <roman@kennke.org>
1324 * javax/swing/text/GapContent.java:
1327 2005-04-25 Roman Kennke <roman@kennke.org>
1329 * javax/swing/plaf/metal/MetalBorders.java:
1330 Added inner class ScrollPaneBorder.
1331 * javax/swing/plaf/metal/MetalLookAndFeel.java
1332 (initComponentDefaults): Added default for "ScrollPane.border"
1333 to use the new ScrollPaneBorder.
1335 2005-04-25 Roman Kennke <roman@kennke.org>
1337 * javax/swing/text/AbstractDocument.java:
1338 Added FIXME comments. This class still has to be
1339 implemented thread-safe.
1341 2005-04-25 Roman Kennke <roman@kennke.org>
1343 * javax/swing/tree/DefaultTreeSelectionModel.java
1344 (DefaultTreeSelectionModel): Initialize listenerList here.
1346 2005-04-25 Roman Kennke <roman@kennke.org>
1348 * javax/swing/plaf/metal/MetalTextFieldUI.java
1349 (createUI): Return one instance per Component instead of a
1352 2005-04-25 Roman Kennke <roman@kennke.org>
1354 * javax/swing/text/Document.java:
1355 Added API documentation comments.
1357 2005-04-25 Roman Kennke <roman@kennke.org>
1359 * javax/swing/text/AbstractDocument.java
1360 (getDocumentProperties): Implemented.
1361 (setDocumentProperties): Implemented.
1362 (getProperty): Implemented.
1363 (putProperty): Implemented.
1365 2005-04-25 Roman Kennke <roman@kennke.org>
1367 * javax/swing/BoxLayout
1368 (preferredLayoutSize): Fixed computation so that it correctly
1369 adds the top and bottom insets of the container.
1371 2005-04-25 Roman Kennke <roman@kennke.org>
1373 * javax/swing/plaf/basic/BasicMenuItemUI.java
1374 (paintText): Make use of the 'selectionForeground' UI default
1377 2005-04-25 Roman Kennke <roman@kennke.org>
1379 * javax/swing/plaf/basic/BasicLookAndFeel.java
1380 (initSystemColorDefaults): Modified colors to match the
1381 BasicLookAndFeel in the reference implementation.
1382 (initComponentDefaults): Likewise.
1384 2005-04-25 Tom Tromey <tromey@redhat.com>
1386 * include/jni.h (_Jv_va_list): Removed.
1387 Moved configuration code...
1388 * include/jni_md.h: ... here. New file.
1389 * include/Makefile.in: Rebuilt.
1390 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1392 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1394 * java/io/FileInputStream.java (FileInputStream(File)),
1395 java/io/FileOutputStream.java (FileOutputStream(File)):
1396 Removed unnecessary File.isDirectory() check.
1398 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1400 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1401 gij if get_multilibs fails.
1403 2005-04-22 Anthony Green <green@redhat.com>
1405 * jni.cc (natrehash): Don't bother clearing memory again.
1406 * interpret.cc (do_allocate_static_fields): Ditto.
1407 * java/lang/natString.cc (rehash): Ditto.
1409 2005-04-22 Roman Kennke <roman@kennke.org>
1411 * javax/swing/plaf/basic/BasicLookAndFeel.java
1412 (initComponentDefaults): Changed Button.border to be
1413 BasicBorders.getButtonBorder as it should be.
1415 2005-04-22 Roman Kennke <roman@kennke.org>
1417 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1418 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1419 should according to a mauve testcase, instead of the preferred
1422 2005-04-22 Roman Kennke <roman@kennke.org>
1424 * javax/swing/JMenu.java
1425 (add): add(Component) now calls PopupMenu.insert(..) instead of
1426 PopupMenu.add(..). add(..) is not implemented for Component,
1427 so JComponent.add(..) is called instead, adding the component
1430 2005-04-22 Roman Kennke <roman@kennke.org>
1432 * javax/swing/plaf/basic/BasicButtonListener.java
1433 (mousePressed): replaced query to getModifiersEx with getModifiers.
1434 This method relied on faulty behaviour in getModifierEx.
1435 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1436 This method relied on faulty behaviour in getModifierEx.
1438 2005-04-22 Roman Kennke <roman@kennke.org>
1440 * javax/swing/plaf/metal/MetalLookAndFeel.java
1441 (getDefaults): Call addCustomEntriesToTable on the theme.
1443 2005-04-22 Roman Kennke <roman@kennke.org>
1445 * javax/swing/tree/DefaultTreeSelectionModel.java
1446 (constructor): Added implementation.
1447 (getRowMapper): Added implementation.
1448 (setSelectionMode): Added implementation.
1449 (getSelectionMode): Added implementation.
1450 (getSelectionPath): Added implementation.
1451 (getSelectionPaths): Added implementation.
1452 (getSelectionCount): Added implementation.
1453 (isSelectionEmpty): Added implementation.
1454 (getSelectionRows): Added implementation.
1455 (getMinSelectionRow): Added implementation.
1456 (getMaxSelectionRow): Added implementation.
1457 (getLeadSelectionRow): Added implementation.
1458 (getLeadSelectionPath): Added implementation.
1460 2005-04-22 Casey Marshall <csm@gnu.org>
1462 * gnu/java/security/der/DERValue.java
1463 (getValueAs): new method.
1464 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1465 (<init>): read both dates with 'DERValue.getValueAs', with
1466 'GENERALIZED_TIME' as the argument.
1468 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1470 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1471 be null, check for that case and don't deference it.
1473 2005-04-22 Sven de Marothy <sven@physto.se>
1475 * java/util/logging/LogManager.java: Reformatted.
1476 (readConfiguration): If a logger for a key is not found, create one.
1478 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1480 * java/rmi/Naming.java:
1481 Added class documentation.
1482 (lookup(String)): Call parseURL and getName.
1483 (bind(String,java.rmi.Remote)): Likewise.
1484 (unbind(String)): Likewise.
1485 (rebind(String, java.rmi.Remote)): Likewise.
1486 (list(String)): Call parseURL.
1487 (parseURL(String)): New method to handle parsing and defaults.
1488 (getName(java.net.URL)): New method to handle finding the service name.
1490 2005-04-21 Tom Tromey <tromey@redhat.com>
1492 * java/lang/natClass.cc (initializeClass): Link class.
1494 2005-04-21 Tom Tromey <tromey@redhat.com>
1496 * java/lang/AssertionError.java: Typo fix.
1498 2005-04-21 Tom Tromey <tromey@redhat.com>
1500 * java/lang/VMClassLoader.java (transformException): Removed.
1501 (resolveClass): No longer native. Now does nothing.
1502 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1504 2005-04-21 Anthony Green <green@redhat.com>
1507 * testsuite/libjava.special/special.exp,
1508 testsuite/libjava.special/pr21115I.java,
1509 testsuite/libjava.special/pr21115.java,
1510 testsuite/libjava.special/pr21115.out: New files.
1512 2005-04-21 Chris Burdess <dog@gnu.org>
1514 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1515 CRLF-delimited chunks.
1517 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1519 * java/net/URI.java:
1520 Added class documentation.
1521 (parseURI(String)): Only handle scheme-specific parts
1522 if URI is not opaque. Allow for parts that can't be null.
1523 (toString()): Output the scheme-specific part whole, rather
1524 than as its possibly non-existent components.
1526 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1528 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1529 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1530 Adjusted to match new regexp.
1532 2005-04-20 Michael Koch <konqueror@gmx.de>
1534 * gnu/java/net/protocol/file/Connection.java,
1535 gnu/java/net/protocol/jar/Connection.java:
1536 Reorganized import statements. Fixed @author tags.
1538 2005-04-20 Chris Burdess <dog@gnu.org>
1540 * java/io/DataOutputStream.java (writeUTF): Use block write for
1543 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1545 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1546 (readLine): Changed newline handling.
1548 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1550 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1551 ColorModel,byte[],int,int): Fixed byte to int conversion.
1553 2005-04-20 Michael Koch <konqueror@gmx.de>
1555 * java/io/FilePermission.java
1556 (serialVersionUID): Made private.
1557 (ALL_FILES): New constant.
1558 (implies): Handle '<<ALL FILES>>' case.
1560 2005-04-20 Sven de Marothy <sven@physto.se>
1562 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1563 (drawImage): Don't notify the image observer for offscreen images.
1564 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1565 (setPixels): Don't notify the image observer.
1567 2005-04-20 Sven de Marothy <sven@physto.se>
1569 * java/nio/ByteBufferImpl.java:
1570 (putChar): Inlined for speed.
1571 (put, get): Bulk methods can use arraycopy.
1572 * java/nio/CharBufferImpl.java:
1573 (put, get): Bulk methods can use arraycopy.
1575 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1577 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1579 * java/nio/CharBufferImpl.java
1580 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1581 (get(), put(char)): Inlined checks and field updates. Fixed to
1582 take array_offset into account.
1583 (get(int), put(int, char)): Fixed to take array_offset into account.
1585 2005-04-20 Sven de Marothy <sven@physto.se>
1587 * java/text/SimpleDateFormat.java:
1588 (formatWithAttribute): Pad year before truncating digits.
1590 2005-04-20 Michael Koch <konqueror@gmx.de>
1592 * gnu/java/net/PlainDatagramSocketImpl.java:
1593 Merged copyright header.
1594 * gnu/java/net/PlainSocketImpl.java:
1595 Reorganized import statements. Fixed @author tags.
1597 2005-04-20 Michael Koch <konqueror@gmx.de>
1599 * gnu/java/lang/ClassHelper.java,
1600 gnu/java/lang/reflect/TypeSignature.java:
1603 2005-04-20 Michael Koch <konqueror@gmx.de>
1605 * gnu/java/beans/IntrospectionIncubator.java:
1606 Fixed HTML tags in javadocs.
1608 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1610 * gnu/java/beans/IntrospectionIncubator.java
1611 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1612 set(), is(), add() and remove() with properties or events.
1614 2005-04-20 Michael Koch <konqueror@gmx.de>
1616 * gnu/java/awt/image/XBMDecoder.java:
1617 Fixed modifier order.
1619 2005-04-20 Roman Kennke <roman@kennke.org>
1621 * javax/swing/plaf/basic/BasicButtonUI.java
1622 (paint): This should not care about margin and insets
1623 at the same time, as insets already include the margin
1625 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1626 (getPreferredButtonSize): Likewise.
1627 * javax/swing/plaf/metal/MetalBorders.java
1628 (getBorderInsets): Likewise.
1630 2005-04-20 Roman Kennke <roman@kennke.org>
1632 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1633 (createMessageArea): The JPanel that holds the message area
1634 doesn't need to override getPreferredSize. This prevents some
1635 message components from rendering nicely.
1637 2005-04-20 Roman Kennke <roman@kennke.org>
1639 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1640 (createUI): Do not share instances between components.
1641 * javax/swing/plaf/metal/MetalSliderUI.java
1642 (createUI): Do not share instances between components.
1644 2005-04-20 Roman Kennke <roman@kennke.org>
1646 * javax/swing/plaf/metal/MetalBorders:
1647 (PopupMenuBorder): Added.
1648 * javax/swing/plaf/metal/MetalLookAndFeel
1649 (initComponentDefaults): Added PopupMenuBorder.
1651 2005-04-20 Roman Kennke <roman@kennke.org>
1653 * javax/swing/tree/DefaultTreeSelectionModel.java:
1654 Added API documentation all over the class.
1656 2005-04-20 Roman Kennke <roman@kennke.org>
1658 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1659 (installDefaults): Link managed JScrollPane in instance field.
1660 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1662 2005-04-20 Roman Kennke <roman@kennke.org>
1664 * javax/swing/plaf/basic/BasicScrollBarUI.java
1665 (PropertyChangeHandler.propertyChange): Add default
1666 to switch statement to avoid errors with unusual values
1668 (installComponents): Likewise.
1670 2005-04-20 Roman Kennke <roman@kennke.org>
1672 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1673 (createUI): Instances cannot be shared among JScrollPanes.
1675 2005-04-20 Roman Kennke <roman@kennke.org>
1677 * javax/swing/plaf/metal/MetalLookAndFeel.java
1678 (initComponentDefaults): Added defaults for Menu, MenuBar
1681 2005-04-20 Roman Kennke <roman@kennke.org>
1683 * javax/swing/plaf/basic/BasicScrollBarUI.java
1684 (installUI): Install listeners after everything all, otherwise
1685 we get strange NPEs in some situations, especially with
1687 (createIncreaseButton): Orientation is expected to be
1688 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1689 HORIZONTAL or VERTICAL.
1690 (createDecreaseButton): Orientation is expected to be
1691 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1692 HORIZONTAL or VERTICAL.
1693 (installComponents): Orientation for buttons is expected to be
1694 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1695 HORIZONTAL or VERTICAL.
1697 2005-04-20 Roman Kennke <roman@kennke.org>
1699 * javax/swing/JToolBar.java
1700 (addImpl): Adjust added AbstractButtons to look and feel like
1702 * javax/swing/plaf/metal/MetalBorders.java:
1703 Adjusted insets of ButtonBorder.
1704 (RolloverMarginBorder): Added class for toolbar buttons.
1705 (getButtonBorder): Adjusted factory method to return a shared
1706 instance of button border.
1707 (getToolbarButtonBorder): Added factory method to return a shared
1708 instance of toolbar button border.
1709 (getMarginBorder): Added factory method to return a shared
1710 instance of margin border.
1711 * javax/swing/plaf/metal/MetalButtonUI.java
1712 (installDefauls): If button is child of a JToolBar then set
1713 special border on this button.
1715 2005-04-20 Michael Koch <konqueror@gmx.de>
1717 * java/net/URLConnection.java
1718 (getContent): Fixed javadoc comment.
1720 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1722 * java/net/URL.java:
1723 (toURI()): Implemented.
1725 2005-04-19 Michael Koch <konqueror@gmx.de>
1727 * java/net/InetAddress.java
1728 (InetAddress): Fixed javadoc comment.
1730 (lookup): Added javadoc.
1731 (getFamily): Likewise.
1732 * java/net/ServerSocket.java
1733 (getChannel): Improved javadoc comment.
1735 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1737 * gnu/xml/dom/html2/DomHTMLParser.java:
1738 Changed 'enum' references to become 'enumeration'.
1740 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1742 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1744 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1746 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1747 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1748 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1749 (validateParameters(TagElement,htmlAttributeSet)):
1750 Replaced 'enum' with 'enumeration'.
1751 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1754 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1756 * javax/swing/text/html/parser/Entity.java (getType): New method.
1757 * javax/swing/text/html/parser/DocumentParser.java:
1758 Inherit from javax.swing.text.html.parser.Parser.
1760 2005-04-19 Chris Burdess <dog@gnu.org>
1762 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1763 check for HTML/XHTML namespace.
1765 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1767 * javax/swing/text/html/parser/Parser.java,
1768 javax/swing/text/html/parser/Entity.java:
1769 Inheriting from DTDConstants.
1770 * javax/swing/text/html/parser/AttributeList.java
1771 (getValues): Changed return type.
1772 * javax/swing/text/html/parser/DocumentParser
1773 (parse): Adding the callback parameter that receives
1776 2005-04-19 Chris Burdess <dog@gnu.org>
1778 * gnu/xml/dom/DomImpl.java,
1779 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1780 gnu/xml/dom/html2/DomHTMLDocument.java,
1781 gnu/xml/dom/html2/DomHTMLElement.java,
1782 gnu/xml/dom/html2/DomHTMLFormElement.java,
1783 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1784 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1785 gnu/xml/dom/html2/DomHTMLImpl.java,
1786 gnu/xml/dom/html2/DomHTMLInputElement.java,
1787 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1788 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1789 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1790 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1791 gnu/xml/dom/html2/DomHTMLTableElement.java,
1792 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1793 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1794 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1795 UI events, and tree utility functions.
1797 2005-04-19 Michael Koch <konqueror@gmx.de>
1799 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1800 gnu/javax/swing/text/html/parser/gnuDTD.java,
1801 gnu/javax/swing/text/html/parser/models/node.java:
1802 Reworked import statements.
1804 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1806 * javax/swing/text/html/HTMLDocument.java: New file.
1808 2005-04-19 Michael Koch <konqueror@gmx.de>
1810 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1812 * javax/swing/text/html/parser/AttributeList.java:
1813 Fixed order of modifiers.
1814 (AttributeList): Made final.
1815 * javax/swing/text/html/parser/ContentModel.java:
1816 Fixed html characters in javadocs.
1817 * javax/swing/text/html/parser/DTD.java
1818 (DTD): Don't implement java.io.Serializable directly.
1819 (getElement): Simplified.
1820 * javax/swing/text/html/parser/DTDConstants.java:
1822 * javax/swing/text/html/parser/Element.java:
1823 Fixed order of modifiers.
1824 * javax/swing/text/html/parser/Parser.java:
1825 Reformatted. Don't use fully-qualified class names.
1826 * javax/swing/text/html/parser/ParserDelegator.java:
1827 Fixed order of modifiers.
1828 * javax/swing/text/rtf/RTFParser.java:
1829 Re-ordered import statements.
1830 * javax/swing/text/rtf/RTFScanner.java:
1831 Removed unused import statement.
1833 2005-04-19 Chris Burdess <dog@gnu.org>
1835 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1836 gnu/xml/dom/html2/DomHTMLCollection.java,
1837 gnu/xml/dom/html2/DomHTMLDocument.java,
1838 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1840 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1841 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1842 gnu/xml/dom/html2/DomHTMLDivElement.java,
1843 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1844 gnu/xml/dom/html2/DomHTMLFontElement.java,
1845 gnu/xml/dom/html2/DomHTMLFormElement.java,
1846 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1847 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1848 gnu/xml/dom/html2/DomHTMLHRElement.java,
1849 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1850 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1851 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1852 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1853 gnu/xml/dom/html2/DomHTMLImageElement.java,
1854 gnu/xml/dom/html2/DomHTMLInputElement.java,
1855 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1856 gnu/xml/dom/html2/DomHTMLLIElement.java,
1857 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1858 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1859 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1860 gnu/xml/dom/html2/DomHTMLMapElement.java,
1861 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1862 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1863 gnu/xml/dom/html2/DomHTMLModElement.java,
1864 gnu/xml/dom/html2/DomHTMLOListElement.java,
1865 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1866 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1867 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1868 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1869 gnu/xml/dom/html2/DomHTMLParamElement.java,
1870 gnu/xml/dom/html2/DomHTMLPreElement.java,
1871 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1872 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1873 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1874 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1875 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1876 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1877 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1878 gnu/xml/dom/html2/DomHTMLTableElement.java,
1879 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1880 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1881 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1882 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1883 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1885 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1887 * javax/swing/text/ChangedCharSetException.java,
1888 javax/swing/text/html/HTMLEditorKit.java,
1889 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1890 javax/swing/text/html/parser/AttributeList.java,
1891 javax/swing/text/html/parser/ContentModel.java,
1892 javax/swing/text/html/parser/DocumentParser.java,
1893 javax/swing/text/html/parser/DTD.java,
1894 javax/swing/text/html/parser/DTDConstants.java,
1895 javax/swing/text/html/parser/Element.java,
1896 javax/swing/text/html/parser/Entity.java,
1897 javax/swing/text/html/parser/Parser.java,
1898 javax/swing/text/html/parser/TagElement.java,
1899 gnu/javax/swing/text/html/package.html,
1900 gnu/javax/swing/text/html/parser/gnuDTD.java,
1901 gnu/javax/swing/text/html/parser/HTML_401F.java,
1902 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1903 gnu/javax/swing/text/html/parser/htmlValidator.java,
1904 gnu/javax/swing/text/html/parser/package.html,
1905 gnu/javax/swing/text/html/parser/models/list.java,
1906 gnu/javax/swing/text/html/parser/models/node.java,
1907 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1908 gnu/javax/swing/text/html/parser/models/package.html,
1909 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1910 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1911 gnu/javax/swing/text/html/parser/models/transformer.java,
1912 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1913 gnu/javax/swing/text/html/parser/support/package.html,
1914 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1915 gnu/javax/swing/text/html/parser/support/Parser.java,
1916 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1917 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1918 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1919 gnu/javax/swing/text/html/parser/support/low/Location.java,
1920 gnu/javax/swing/text/html/parser/support/low/node.java,
1921 gnu/javax/swing/text/html/parser/support/low/package.html,
1922 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1923 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1924 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1925 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1927 * javax/swing/text/html/HTML.java,
1928 javax/swing/text/html/parser/ParserDelegator.java:
1929 New files (replacing).
1930 * javax/swing/text/html/package.html,
1931 javax/swing/text/html/parser/package.html: Documenting the
1934 2005-04-19 Chris Burdess <dog@gnu.org>
1936 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1937 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1938 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1939 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1940 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1941 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1942 gnu/xml/dom/html2/DomHTMLBRElement.java,
1943 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1944 gnu/xml/dom/html2/DomHTMLCollection.java,
1945 gnu/xml/dom/html2/DomHTMLDocument.java,
1946 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1948 2005-04-19 Michael Koch <konqueror@gmx.de>
1950 * Makefile.am: Added new files.
1951 * Makefile.in: Regenerated.
1953 2005-04-19 Roman Kennke <roman@kennke.org>
1955 * javax/swing/text/JTextComponent.java
1956 (JTextComponent): Added repaintListener which issues repaint
1957 requests when the underlying document changes.
1958 (setDocument): Adds repaintListener to document when the
1959 document is changed.
1960 * javax/swing/text/DefaultEditorKit.java:
1961 Removed repaint calls on JTextComponent. This is now handled
1962 through a DocumentListener in JTextComponent that repaints
1963 the component when needed.
1965 2005-04-19 Roman Kennke <roman@kennke.org>
1968 * javax/swing/text/StyleContext.java
1969 (NamedStyle.setResolveParent): Added null
1972 2005-04-19 Michael Koch <konqueror@gmx.de>
1974 * java/rmi/server/RemoteObject.java:
1975 Removed unused import statement.
1977 2005-04-19 Michael Koch <konqueror@gmx.de>
1979 * java/net/URL.java: Formatting cleanups.
1981 2005-04-19 Michael Koch <konqueror@gmx.de>
1983 * java/awt/FontMetrics.java: Reformatted.
1984 (getFontRenderContext): Handle case when java.awt.Graphics context is
1987 2005-04-19 Michael Koch <konqueror@gmx.de>
1989 * java/awt/FontMetrics.java
1990 (getStringBounds): New methods.
1993 2005-04-19 Michael Koch <konqueror@gmx.de>
1995 * gnu/java/security/x509/X509Certificate.java
1996 (parse): Handle val == null case.
1998 2005-04-19 Roman Kennke <roman@kennke.org>
2000 * javax/swing/plaf/metal/MetalLookAndFeel.java
2001 (initComponentDefaults): Added defaults for Menu, MenuBar
2004 2005-04-19 Roman Kennke <roman@kennke.org>
2006 * javax/swing/plaf/metal/MetalLookAndFeel.java
2007 (initComponentDefaults): Added Label.font.
2008 (initSystemColorDefaults): Added this method and adjusted the
2009 general control color.
2011 2005-04-19 Roman Kennke <roman@kennke.org>
2013 * javax/swing/plaf/metal/MetalBorders.java:
2015 * javax/swing/plaf/metal/MetalButtonUI.java:
2016 (installDefaults): Install button font.
2017 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2018 (initComponentDefaults): Added button border, font and margin.
2019 Changed components background color to the Metal current themes
2022 2005-04-19 Roman Kennke <roman@kennke.org>
2024 * javax/swing/plaf/metal/MetalLookAndFeel.java
2025 (initComponentDefaults): Added to set Metal specific component
2028 2005-04-19 Mark Wielaard <mark@klomp.org>
2030 * javax/swing/plaf/metal/MetalLookAndFeel.java
2031 (initClassDefaults): Call super.initClassDefaults().
2033 2005-04-19 Roman Kennke <roman@kennke.org>
2035 * javax/swing/plaf/metal/MetalLookAndFeel.java
2036 (initClassDefaults): Added to include the *UI classes.
2038 2005-04-19 Roman Kennke <roman@kennke.org>
2040 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2042 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2044 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2046 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2048 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2050 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2052 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2054 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2056 * javax/swing/plaf/metal/MetalSliderUI.java:
2058 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2060 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2062 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2064 2005-04-19 Roman Kennke <roman@kennke.org>
2066 * javax/swing/plaf/metal/MetalButtonUI.java:
2067 Added skeleton class.
2068 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2069 Added skeleton class.
2070 * javax/swing/plaf/metal/MetalLabelUI.java:
2071 Added skeleton class.
2072 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2073 Added skeleton class.
2074 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2075 Added skeleton class.
2076 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2077 Added skeleton class.
2079 2005-04-19 Roman Kennke <roman@kennke.org>
2081 * javax/swing/UIDefaults.java:
2082 Added API documentation for all methods.
2084 2005-04-19 Roman Kennke <roman@kennke.org>
2086 * javax/swing/UIDefaults.java
2087 (put): Now uses new checkAndPut method instead of checking
2089 (putDefaults): Fixed so that it accepts null-values and
2090 treats them like remove(key).
2091 (checkAndPut): Added. This checks for null-values and calls
2094 2005-04-19 Michael Koch <konqueror@gmx.de>
2096 * Makefile.am: Added new files.
2097 * Makefile.in: Regenerated.
2099 2005-04-19 Mark Wielaard <mark@klomp.org>
2101 * java/lang/natRuntime.cc (insertSystemProperties): Set
2102 java.class.path to CLASSPATH only when not empty. Fall back to
2103 default path "." when java.class.path is empty.
2105 2005-04-19 Michael Koch <konqueror@gmx.de>
2107 * javax/swing/text/rtf/ControlWordToken.java,
2108 javax/swing/text/rtf/RTFEditorKit.java,
2109 javax/swing/text/rtf/RTFParseException.java,
2110 javax/swing/text/rtf/RTFParser.java,
2111 javax/swing/text/rtf/RTFScanner.java,
2112 javax/swing/text/rtf/TextToken.java,
2113 javax/swing/text/rtf/Token.java: New files.
2114 * Makefile.am: Added new files.
2115 * Makefile.in: Regenerated.
2117 2005-04-19 Michael Koch <konqueror@gmx.de>
2119 * java/awt/geom/QuadCurve2D.java:
2120 Fixed Brian Gough's name for real.
2122 2005-04-19 Roman Kennke <roman@kennke.org>
2124 * javax/swing/UIManager.java:
2125 Make the UIManager respect the swing.defaultlaf system
2128 2005-04-19 Tom Tromey <tromey@redhat.com>
2130 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2133 2005-04-19 Roman Kennke <roman@kennke.org>
2135 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2136 Fixed tabs to spaces.
2138 2005-04-19 Roman Kennke <roman@kennke.org>
2140 * javax/swing/plaf/basic/BasicMenuUI.java
2141 (getMaximumSize): Now returns preferredSize because JMenu should
2142 never be bigger than that.
2143 * javax/swing/JRootPane
2144 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2146 2005-04-19 Roman Kennke <roman@kennke.org>
2148 * javax/swing/JRootPane.java:
2149 Fixed various tabs to be spaces.
2150 (RootLayout.layoutContainer): Made menubar left aligned.
2152 2005-04-19 Roman Kennke <roman@ontographics.com>
2154 * javax/swing/JList.java
2155 (getPreferredScrollableViewportSize):
2156 The previous implementation was merely guessing the size,
2157 now it respects layoutOrientation, visibleRowCount
2159 (getScrollableTracksViewportHeight):
2160 Reimplemented so that layoutOrientation, visibleRowCount
2161 and preferred size are respected.
2162 (getScrollableTracksViewportWidth):
2163 Reimplemented so that layoutOrientation, visibleRowCount
2164 and preferred size are respected.
2165 * javax/swing/plaf/basic/BasicListUI.java
2167 Improved calculation of preferredSize when JList is
2168 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2170 The previous implementation assumed a layoutOrientation of
2171 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2172 JList.VERTICAL_WRAP.
2174 2005-04-19 Roman Kennke <roman@ontographics.com>
2176 * javax/swing/plaf/basic/BasicListUI.java
2177 (paintCell): use CellRendererPane for painting the cells.
2179 2005-04-19 Roman Kennke <roman@ontographics.com>
2181 * javax/swing/plaf/basic/BasicListUI:
2182 fixed modifiers of several fields, methods and inner
2183 classes to match the 'spec'.
2184 (getMaximumSize): removed. It's not in the spec and the
2185 implementations was superfluous.
2187 2005-04-19 Roman Kennke <roman@ontographics.com>
2189 * javax/swing/plaf/basic/BasicListUI:
2190 make BasicListUI capable of wrapping lists
2191 (layoutOrientation property of javax.swing.JList)
2193 2005-04-19 Roman Kennke <roman@ontographics.com>
2195 * javax/swing/plaf/basic/BasicListUI
2196 (updateLayoutState,paint): make BasicListUI aware of the
2197 width of the rendered JList.
2199 2005-04-19 Roman Kennke <roman@kennke.org>
2201 * javax/swing/ImageIcon.java
2202 Added API documentation.
2204 2005-04-19 Roman Kennke <roman@kennke.org>
2206 * javax/swing/text/ImageIcon.java
2207 (ImageIcon): Use setImage instead of direct assignment.
2208 (setImage): Call loadImage to make sure that the image is loaded.
2209 (loadImage): Waits for the image to complete loading.
2210 (getImageLoadStatus): Added. Returns the load status of the
2213 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2215 * javax/swing/JTextArea.java (replaceRange):
2216 Fixing doc.remove(start, length) misinterpretation.
2218 2005-04-19 Roman Kennke <roman@ontographics.com>
2220 * javax/swing/CellRendererPane.java:
2221 implemented all methods of this class.
2222 reformatted all wrong formatted code.
2224 2005-04-19 Roman Kennke <roman@kennke.org>
2226 * javax/swing/BoxLayout.java:
2227 (layoutContainer): Made this layout manager respect the
2228 minimum, maximum and preferred size more correctly.
2230 2005-04-19 Roman Kennke <roman@ontographics.com>
2232 * javax/swing/BoxLayout.java:
2233 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2234 layoutContainer): Make these methods and thereby the
2235 BoxLayout respect the insets (like borders) of the
2236 component that is laid out.
2238 2005-04-19 Roman Kennke <roman@kennke.org>
2240 * javax/swing/JComponent.java:
2241 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2242 Untabified the file.
2244 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2246 * javax/swing/JComboBox.java (constructors): selecting the
2247 first item if the box was constructed from the provided
2248 non - empty array or vector.
2250 2005-04-19 Michael Koch <konqueror@gmx.de>
2252 * gnu/java/awt/peer/gtk/GdkGraphics.java
2253 (getClipBounds): Handle clip being null.
2254 (setClip): Likewise.
2255 * java/beans/beancontext/BeanContextSupport.java
2259 (removeAll): Likewise.
2260 (retainAll): Likewise.
2262 2005-04-19 Michael Koch <konqueror@gmx.de>
2264 * java/beans/beancontext/BeanContextServicesSupport.java
2265 (BeanContextServicesSupport): Reimplemented.
2266 (addBeanContextServicesListener): Implemented.
2267 (initialize): Likewise.
2268 (removeBeanContextServicesListener): Likewise.
2269 * java/beans/beancontext/BeanContextSupport.java
2271 (addBeanContextMembershipListener): Likewise.
2272 (getLocale): Likewise.
2273 (initialize): Likewise.
2274 (iterator): Likewise.
2276 (toArray): Likewise.
2278 2005-04-19 Roman Kennke <roman@kennke.org>
2280 * java/awt/MediaTracker.java:
2281 Reindented tabs to spaces.
2283 2005-04-19 Roman Kennke <roman@kennke.org>
2285 * java/awt/MediaTracker.java
2286 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2287 confused the media tracker and lead to lockups. The LOADING
2288 bit is handled on other places.
2289 (addImage): Removed the 'start image tracking' stuff. This
2290 is not necessary and could confuse the media tracker.
2291 (checkAll): Improved the check for image status so that
2292 images that already complete images are detected. Also now
2293 are really all images checked and if necessary loaded. Before
2294 the method bailed out after the first incomplete image.
2295 (statusAll): Detect images that are complete after the
2296 call to Component.prepareImage(..).
2297 (checkID): The same as in checkAll.
2298 (statusID): The same as in statusAll.
2300 2005-04-19 Roman Kennke <roman@kennke.org>
2302 * java/awt/MediaTracker.java
2303 (addImage): Synchronized list access.
2304 (waitForAll): Fixed comparison of time (changed < to >).
2305 (waitForID): Fixed comparison of time (changed < to >).
2306 (removeImage): Synchronized list access.
2308 2005-04-19 Roman Kennke <roman@kennke.org>
2310 * java/awt/MediaTracker.java
2311 Added API documentation.
2313 2005-04-19 Roman Kennke <roman@kennke.org>
2315 * java/awt/MediaTracker.java
2316 (MediaEntry.imageUpdate): Fixed flags. The different flags
2317 must not be ORed together.
2318 (checkAll): Modified to handle different meaning of the flags.
2319 (waitForAll): Fixed so that it waits maximum the
2320 specified amount of milliseconds.
2321 (statusAll): Modified to handle different meaning of the flags.
2322 (waitForID): Fixed so that it waits maximum the
2323 specified amount of milliseconds.
2325 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2327 * java/awt/Font.java (decode): Handle null argument and allow
2330 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2332 * java/beans/EventHandler.java: Reworked documentation.
2333 (invoke): Fixed behavior to match spec.
2335 2005-04-19 Michael Koch <konqueror@gmx.de>
2337 * java/awt/print/PrinterJob.java
2338 (pageDialog): New method.
2339 (printDialog): Implemented.
2341 2005-04-19 Michael Koch <konqueror@gmx.de>
2343 * java/awt/image/ConvolveOp.java:
2344 Removed comment added by eclipse.
2346 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2348 * java/awt/image/IndexColorModel.java
2349 (getRGB): Check if pixel is negative.
2351 2005-04-19 Michael Koch <konqueror@gmx.de>
2353 * java/awt/image/RasterOp.java:
2354 Fixed wrong formatting.
2356 2005-04-18 Roman Kennke <roman@kennke.org>
2358 * java/awt/Compmonent.java
2359 (setComponentOrientation): Made this property firing a
2360 PropertyChangeEvent.
2362 2005-04-18 Roman Kennke <roman@kennke.org>
2364 * java/awt/BorderLayout.java
2365 (calcSize): Check for overflow when component sizes are added.
2367 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2369 * java/awt/AWTEvent.java (toString): Added case
2370 for source not being an AWT component.
2372 2005-04-18 Chris Burdess <dog@gnu.org>
2374 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2376 2005-04-18 Michael Koch <konqueror@gmx.de>
2378 gnu/java/awt/EmbeddedWindowSupport.java,
2379 gnu/java/net/HeaderFieldHelper.java,
2380 gnu/java/net/URLParseError.java,
2381 gnu/java/net/protocol/file/Handler.java,
2382 gnu/java/net/protocol/jar/Handler.java:
2383 Fixed usage of @author tag.
2385 2005-04-18 Michael Koch <konqueror@gmx.de>
2387 * gnu/xml/aelfred2/XmlParser.java:
2388 Reverted my typo fix.
2390 2005-04-18 Michael Koch <konqueror@gmx.de>
2392 * java/awt/geom/CubicCurve2D.java,
2393 java/awt/geom/QuadCurve2D.java:
2394 Fixed mentioning of Brian Gouph.
2396 2005-04-18 Michael Koch <konqueror@gmx.de>
2398 * gnu/java/awt/Buffers.java,
2399 gnu/java/awt/image/ImageDecoder.java,
2400 gnu/java/awt/image/XBMDecoder.java,
2401 gnu/java/awt/peer/ClasspathFontPeer.java,
2402 gnu/java/net/CRLFInputStream.java,
2403 gnu/java/net/EmptyX509TrustManager.java,
2404 gnu/java/net/LineInputStream.java,
2405 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2406 gnu/java/net/protocol/ftp/BlockInputStream.java,
2407 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2408 gnu/java/net/protocol/ftp/DTP.java,
2409 gnu/java/net/protocol/ftp/DTPInputStream.java,
2410 gnu/java/net/protocol/ftp/FTPConnection.java,
2411 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2412 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2413 gnu/java/net/protocol/ftp/StreamInputStream.java,
2414 gnu/java/net/protocol/http/ChunkedInputStream.java,
2415 gnu/java/net/protocol/http/HTTPConnection.java,
2416 gnu/java/net/protocol/http/HTTPURLConnection.java,
2417 gnu/java/net/protocol/http/Headers.java,
2418 gnu/java/net/protocol/http/Request.java,
2419 gnu/java/nio/ChannelInputStream.java,
2420 gnu/java/nio/ChannelOutputStream.java,
2421 gnu/java/nio/InputStreamChannel.java,
2422 gnu/java/nio/OutputStreamChannel.java,
2423 gnu/java/nio/SelectorProviderImpl.java,
2424 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2425 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2426 gnu/java/rmi/dgc/DGCImpl.java,
2427 gnu/java/rmi/registry/RegistryImpl.java,
2428 gnu/java/rmi/server/ProtocolConstants.java,
2429 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2430 gnu/java/rmi/server/RMIIncomingThread.java,
2431 gnu/java/rmi/server/RMIObjectInputStream.java,
2432 gnu/java/rmi/server/RMIObjectOutputStream.java,
2433 gnu/java/rmi/server/RMIVoidValue.java,
2434 gnu/java/rmi/server/UnicastConnectionManager.java,
2435 gnu/java/rmi/server/UnicastRef.java,
2436 gnu/java/rmi/server/UnicastRemoteCall.java,
2437 gnu/java/rmi/server/UnicastRemoteStub.java,
2438 gnu/java/rmi/server/UnicastServerRef.java,
2439 gnu/java/security/OID.java,
2440 gnu/java/security/der/DERReader.java,
2441 gnu/java/security/provider/CollectionCertStoreImpl.java,
2442 gnu/java/security/provider/DSAParameterGenerator.java,
2443 gnu/java/security/provider/DefaultPolicy.java,
2444 gnu/java/security/provider/EncodedKeyFactory.java,
2445 gnu/java/security/provider/GnuDHPublicKey.java,
2446 gnu/java/security/provider/GnuDSAPrivateKey.java,
2447 gnu/java/security/provider/GnuDSAPublicKey.java,
2448 gnu/java/security/provider/GnuRSAPrivateKey.java,
2449 gnu/java/security/provider/GnuRSAPublicKey.java,
2450 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2451 gnu/java/security/provider/RSA.java,
2452 gnu/java/security/provider/SHA1PRNG.java,
2453 gnu/java/security/provider/SHA1withRSA.java,
2454 gnu/java/security/provider/X509CertificateFactory.java,
2455 gnu/java/security/x509/GnuPKIExtension.java,
2456 gnu/java/security/x509/X500DistinguishedName.java,
2457 gnu/java/security/x509/X509CRL.java,
2458 gnu/java/security/x509/X509CRLEntry.java,
2459 gnu/java/security/x509/X509CertPath.java,
2460 gnu/java/security/x509/X509CertSelectorImpl.java,
2461 gnu/java/security/x509/X509Certificate.java,
2462 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2463 gnu/java/security/x509/ext/BasicConstraints.java,
2464 gnu/java/security/x509/ext/CRLNumber.java,
2465 gnu/java/security/x509/ext/CertificatePolicies.java,
2466 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2467 gnu/java/security/x509/ext/Extension.java,
2468 gnu/java/security/x509/ext/GeneralNames.java,
2469 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2470 gnu/java/security/x509/ext/KeyUsage.java,
2471 gnu/java/security/x509/ext/PolicyConstraint.java,
2472 gnu/java/security/x509/ext/PolicyMappings.java,
2473 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2474 gnu/java/security/x509/ext/ReasonCode.java,
2475 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2476 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2477 Reorganized import statements.
2479 2005-04-18 Michael Koch <konqueror@gmx.de>
2481 * gnu/java/awt/color/CieXyzConverter.java,
2482 gnu/java/awt/color/ClutProfileConverter.java,
2483 gnu/java/awt/color/ColorLookUpTable.java,
2484 gnu/java/awt/color/ColorSpaceConverter.java,
2485 gnu/java/awt/color/GrayProfileConverter.java,
2486 gnu/java/awt/color/GrayScaleConverter.java,
2487 gnu/java/awt/color/LinearRGBConverter.java,
2488 gnu/java/awt/color/ProfileHeader.java,
2489 gnu/java/awt/color/PyccConverter.java,
2490 gnu/java/awt/color/RgbProfileConverter.java,
2491 gnu/java/awt/color/SrgbConverter.java,
2492 gnu/java/awt/color/TagEntry.java,
2493 gnu/java/awt/color/ToneReproductionCurve.java:
2494 Standardized file headers.
2496 2005-04-16 Tom Tromey <tromey@redhat.com>
2498 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2499 'ANY' package-private.
2501 2005-04-15 Tom Tromey <tromey@redhat.com>
2503 * Makefile.in: Rebuilt.
2504 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2505 (libgcj0_convenience_la_LIBADD): ... here.
2507 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2509 * gij.cc (version): Properly quote java version.
2510 (main): Fix typo in comment.
2512 2005-04-13 Mark Wielaard <mark@klomp.org>
2514 * java/lang/natRuntime.cc (insertSystemProperties): Set
2515 java.class.path to CLASSPATH if not already set.
2517 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2519 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2521 2005-04-12 Mike Stump <mrs@apple.com>
2523 * configure: Regenerate.
2525 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2528 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2529 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2531 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2534 * scripts/TexinfoDoclet.java: Removed.
2535 * Makefile.am (texinfo): Removed.
2536 * Makefile.in: Regenerated.
2538 2005-04-11 Michael Koch <konqueror@gmx.de>
2540 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2541 Fixed wrong casting.
2543 2005-04-06 Andrew Haley <aph@redhat.com>
2545 * testsuite/libjava.lang/bytearray.java: New file.
2546 * testsuite/libjava.lang/bytearray.out: New file.
2547 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2548 (loadClass): Use it.
2549 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2551 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2553 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2554 gcj-dbtool dependency
2555 * Makefile.in: Regenerated
2557 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2559 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2560 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2562 2005-04-05 Andrew Haley <aph@redhat.com>
2564 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2565 (Tokenizer): New class.
2566 (getFiles): New method.
2567 (main): Add "-" argument.
2569 Read list of files from stdin when merging map databases.
2570 (usage): Add "-" argument.
2574 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2577 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2578 * Makefile.in: Regenerate.
2579 * configure.ac: Add --with-java-home option.
2580 * configure: Regenerate.
2581 * external/Makefile.in: Regenerate.
2582 * external/sax/Makefile.in: Regenerate.
2583 * external/w3c_dom/Makefile.in: Regenerate.
2584 * gcj/Makefile.in: Regenerate.
2585 * include/Makefile.in: Regenerate.
2586 * testsuite/Makefile.in: Regenerate.
2587 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2590 2005-04-05 Tom Tromey <tromey@redhat.com>
2592 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2593 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2594 Rewrote to use _Jv_FindClassFromSignature.
2595 * verify.cc (resolve): throw NoClassDefFoundError.
2596 * link.cc (resolve_field): Throw NoClassDefFoundError.
2597 (find_field): Likewise.
2598 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2599 Handle error cases. Added 'endp' argument.
2600 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2602 2005-04-05 Tom Tromey <tromey@redhat.com>
2604 * Makefile.in: Rebuilt.
2605 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2606 gtk_awt_peer_sources.
2607 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2608 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2609 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2610 (gtk-awt-peer.lo): New target.
2612 2005-04-04 Steve Pribyl <steve@netfuel.com>
2615 * configure.ac: Fix fastjar definition for cross builds.
2616 * configure: Rebuilt.
2618 2005-04-04 Tom Tromey <tromey@redhat.com>
2620 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2621 it was already found.
2623 2005-04-04 Tom Tromey <tromey@redhat.com>
2625 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2626 org.metastatic.jessie.
2628 2005-04-02 Anthony Green <green@redhat.com>
2631 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2633 2005-04-02 Mark Wielaard <mark@klomp.org>
2635 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2636 Attributes and attribute order doesn't matter.
2637 (BasicAttributesEnumeration.where): Initialize to zero.
2638 (BasicAttributesEnumeration.nextElement): Update and compare where
2639 appropriately (zero based).
2641 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2643 PR libgcj/20090, PR libgcj/20526
2644 * gij.cc (nonstandard_opts_help): New function.
2645 (add_option): New function.
2646 (main): Support java options. Set java.class.path. Don't set
2648 * prims.cc (parse_x_arg): New function.
2649 (parse_init_args): Call parse_x_arg for -X and _ options, when
2650 ignoreUnrecognized is true.
2651 (new _Jv_RunMain): New vm_args variant.
2652 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2653 (_Jv_Jar_Class_Path): Remove variable.
2654 * include/java-props.h: Likewise.
2655 * include/cni.h (JvRealloc): New function.
2656 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2657 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2658 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2660 * configure.ac (JV_VERSION): Define.
2661 (JV_API_VERSION): Likewise.
2662 * configure: Regenerate.
2663 * include/config.h.in: Regenerate.
2665 2005-04-01 Mark Anderson <mark@panonet.net>
2667 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2668 -Infinity as parameters.
2670 2005-04-01 Michael Koch <konqueror@gmx.de>
2672 * java/io/PipedInputStream.java
2673 (read): Make sure a positive byte value is returned. Revised javadoc.
2674 Thanks to Olafur Bragason for reporting these bugs.
2676 2005-04-01 Tom Tromey <tromey@redhat.com>
2678 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2679 Updated for name change.
2680 (nativeFindClass): New method.
2681 (loadClass): Use nativeFindClass.
2682 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2684 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2685 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2687 (initialize): New method.
2688 (nativeFindClass): Declare.
2689 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2690 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2691 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2693 (definePackageForNative): Removed.
2694 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2695 Moved to VMClassLoader.java.
2696 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2697 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2698 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2699 removed VMClassLoader.java.
2700 (nat_source_files): Removed natVMClassLoader.cc.
2702 2005-04-01 Tom Tromey <tromey@redhat.com>
2704 * Makefile.in: Rebuilt.
2705 * Makefile.am (db_pathtail): Use $(gcc_version), not
2708 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2710 * java/util/Timer.java
2711 (run): Stop the queue if a task throws an exception.
2713 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2715 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2717 2005-03-29 Ian Lance Taylor <ian@airs.com>
2719 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2720 * external/sax/Makefile.in: Rebuild.
2721 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2723 * external/w3c_dom/Makefile.in: Rebuild.
2725 2005-03-29 Tom Tromey <tromey@redhat.com>
2727 * java/lang/natRuntime.cc (insertSystemProperties): Set
2728 gnu.gcj.runtime.endorsed.dirs.
2729 * Makefile.in: Rebuilt.
2730 * Makefile.am (ordinary_java_source_files): Added
2731 HelperClassLoader.java.
2732 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2733 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2735 (init): Use addDirectoriesFromProperty.
2736 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2737 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2738 gnu.gcj.runtime.endorsed.dirs.
2739 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2741 2005-03-26 Chris Burdess <dog@gnu.org>
2743 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2746 2005-03-13 Michael Koch <konqueror@gmx.de>
2748 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2750 2005-03-11 Chris Burdess <dog@gnu.org>
2752 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2755 2005-02-27 Chris Burdess <dog@gnu.org>
2757 * gnu/xml/aelfred2/JAXPFactory.java,
2758 gnu/xml/aelfred2/SAXDriver.java,
2759 gnu/xml/aelfred2/XmlParser.java,
2760 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2761 formatting conventions. Replaced arrays of Object with struct-like
2762 classes for easier maintainability. Made SAXDriver.stringInterning
2763 package private to allow access from XmlParser inside the loop without
2764 a method call overhead.
2766 2005-03-11 Chris Burdess <dog@gnu.org>
2768 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2771 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2773 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2774 settings to sub Makefiles.
2775 (GCJH, ZIP): Prefix with top_builddir.
2776 * configure: Rebuild.
2777 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2778 * external/w3c_dom/Makefile.in: Rebuild.
2779 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2780 * external/sax/Makefile.in: Rebuild.
2782 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2784 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2785 libsocket to the libraries to link for Solaris.
2787 2005-03-28 Per Bothner <per@bothner.com>
2789 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2790 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2792 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2794 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2795 to fix a ONESTEP fallout.
2796 * Makefile.in: Regenerate.
2798 2005-03-25 Mike Stump <mrs@apple.com>
2800 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2801 paths like we do for the compiler, as we use it in external/sax
2802 and it doesn't get MULTIBUILDTOP right when multilibing.
2804 2005-03-24 Anthony Green <green@redhat.com>
2806 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2808 (usage): Add [LIBDIR] to help output.
2809 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2810 * Makefile.am (AM_CXXFLAGS): Define
2811 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2812 (db_pathtail): New macro.
2814 2005-03-24 Tom Tromey <tromey@redhat.com>
2816 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2817 add sax and w3c libraries.
2818 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2820 * external/w3c_dom/Makefile.in: Rebuilt.
2821 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2823 (libw3c_gcj_la_LDFLAGS): New variable.
2824 (noinst_LTLIBRARIES): Renamed.
2825 * external/sax/Makefile.in: Rebuilt.
2826 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2828 (libsax_gcj_la_LDFLAGS): New variable.
2829 (noinst_LTLIBRARIES): Renamed.
2831 2005-03-23 Tom Tromey <tromey@redhat.com>
2833 * Makefile.in: Rebuilt.
2834 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2835 (libgcj0_convenience_la_SOURCES): Don't include
2836 gnu_xml_source_files.
2837 (libgcj0_convenience_la_LIBADD): New variable.
2838 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2839 (all_java_source_files): javax_imageio_source_files,
2840 javax_xml_source_files, and gnu_java_beans_source_files.
2841 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2842 (gnu-xml.lo): New target.
2843 (javax-imageio.lo): Likewise.
2844 (javax-xml.lo): Likewise.
2845 (gnu-java-beans.lo): Likewise.
2846 (gnu_java_beans_source_files): New variable.
2847 (javax_imageio_source_files): Likewise.
2848 (javax_xml_source_files): Likewise.
2849 (javax_source_files): Moved files to other variable.
2850 (awt_java_source_files): Likewise.
2851 (ordinary_java_source_files): Added BootClassLoader.java.
2852 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2853 not system class loader.
2854 (initBootLoader): New method.
2855 (loadClass): Search bootLoader.
2856 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2857 boot loader, not system class loader.
2858 (_Jv_UnregisterInitiatingLoader): Likewise.
2859 (_Jv_FindClass): Likewise. Ensure entries in
2860 bootstrap_class_list are unique.
2861 * java/lang/natClass.cc (getClassLoader): Don't special case
2862 system class loader.
2863 * java/lang/VMClassLoader.java (bootLoader): New field.
2864 (getResource): Use bootLoader.
2865 (getResources): Likewise.
2866 (initBootLoader): Declare.
2867 * gnu/gcj/runtime/BootClassLoader.java: New file.
2868 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2869 (EMPTY_ENUMERATION): Now package-private.
2870 * external/w3c_com/Makefile.in: Rebuilt.
2871 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2872 (w3c.jar): New target.
2873 (classes.stamp): Updated.
2874 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2875 Changed name of library.
2876 (libw3c_gcj_la_SOURCES): New variable.
2877 (libw3c_gcj_la_GCJFLAGS): Likewise.
2878 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2879 * external/sax/Makefile.in: Rebuilt.
2880 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2881 (sax.jar): New target.
2882 (classes.stamp): Updated.
2883 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2884 Changed name of library.
2885 (libsax_gcj_la_SOURCES): New variable.
2886 (libsax_gcj_la_GCJFLAGS): Likewise.
2887 (source_files): Renamed from libsax_convenience_la_SOURCES.
2888 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2890 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2892 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2894 2005-03-23 Sven de Marothy <sven@physto.se>
2896 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2898 * java/util/Calendar.java
2899 (set): Use starting day of week when one is needed if none is given.
2900 * java/text/SimpleDateFormat.java
2901 (parse): Handle 1-12 and 1-24 timestamps correctly.
2902 * java/util/GregorianCalendar.java
2903 (computeTime, computeFields): HOUR should be in 0-11 format.
2904 (nonLeniencyCheck): Adjust leniency checking to that fact.
2905 (getLinearDay): Should be private.
2907 2005-03-23 Tom Tromey <tromey@redhat.com>
2909 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2910 (_Jv_CheckABIVersion): Use it.
2912 2005-03-22 Mike Stump <mrs@apple.com>
2914 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2916 * include/posix.h: .dylib is used on all Apple MACH platforms.
2917 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2919 2005-03-22 Tom Tromey <tromey@redhat.com>
2921 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2923 2005-03-21 Tom Tromey <tromey@redhat.com>
2925 * java/lang/VMCompiler.java (static block): Also catch
2926 BufferUnderflowException.
2928 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2930 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2931 set tool_include_dir. In all substitutions, leave $(gcc_version)
2932 to be expanded by the Makefile.
2933 * aclocal.m4, configure: Regenerate.
2934 * Makefile.am: Set gcc_version. Replace all uses of
2935 @gcc_version@ with $(gcc_version).
2936 * external/Makefile.am, external/sax/Makefile.am
2937 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2938 * testsuite/Makefile.am: Set gcc_version.
2939 * include/Makefile.am: Set gcc_version and tool_include_dir.
2940 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2941 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2942 * testsuite/Makefile.in: Regenerate.
2944 2005-03-17 Andrew Haley <aph@redhat.com>
2946 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2948 Pass klass to _Jv_StackTrace::GetClassContext().
2949 * java/lang/ClassLoader.java (getParent): Pass class to
2950 VMSecurityManager.getClassContext()
2951 (getSystemClassLoader): Likewise.
2952 * java/lang/Package.java (getPackage): Likewise.
2953 (getPackages): Likewise.
2954 * java/lang/SecurityManager.java (getClassContext): Likewise.
2955 (currentClassLoader): Likewise.
2956 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2957 (currentClassLoader) Add new arg: caller.
2958 Pass caller to VMSecurityManager.getClassContext.
2960 * stacktrace.cc (GetClassContext): Correct calculation of
2963 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2964 im->source_file_name.
2966 2005-03-16 Andrew Haley <aph@redhat.com>
2968 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2970 2005-03-16 Tom Tromey <tromey@redhat.com>
2972 * link.cc (ensure_class_linked): Removed #ifdef.
2973 (print_class_loaded): Likewise.
2974 (wait_for_state): Likewise.
2975 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2976 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2977 * include/java-interp.h: ... here.
2979 2005-03-16 Tom Tromey <tromey@redhat.com>
2981 * gnu/java/lang/MainThread.java (run): Load main class using
2982 system class loader.
2984 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2986 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2987 lgcc_s to the libraries to link for Darwin.
2989 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2991 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2992 interpreter-specific code with #ifdef INTERPRETER.
2993 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2994 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2995 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2996 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2997 #ifdef INTERPRETER. Also protect declarations that use it.
2998 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2999 #ifdef INTERPRETER block.
3001 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3004 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3005 * Makefile.in: Rebuilt.
3007 2005-03-15 David Daney <ddaney@avtrex.com>
3009 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3012 2005-03-15 David Daney <ddaney@avtrex.com>
3014 * java/io/BufferedInputStream.java (available): Use 'in' instead
3015 of 'super' for underlying stream access.
3017 (read(byte[], int, int)): Ditto.
3019 (skip): Call skip on underlying stream when possible.
3021 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3023 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3024 SJLJ_EXCEPTIONS is defined.
3026 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3028 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3031 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3033 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3035 (libjava_arguments): Likewise.
3037 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3038 (gcj_jni_test_one): Likewise.
3039 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3040 Add flags to keep the Darwin linker quiet.
3041 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3042 Add -liconv for Darwin.
3044 2005-03-11 Tom Tromey <tromey@redhat.com>
3046 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3047 (_Jv_CheckABIVersion): Use it.
3049 2005-03-11 Tom Tromey <tromey@redhat.com>
3051 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3052 (usage): Document '-p'.
3053 * Makefile.in: Rebuilt.
3054 * Makefile.am (dbexecdir): New variable.
3055 (db_name): Likewise.
3056 (dbexec_DATA): Likewise.
3057 ($(db_name)): New target.
3058 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3059 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3062 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3064 * exception.cc: Remove stray MethodRef.h include.
3065 * java/lang/natClass.cc: Likewise.
3066 * gnu/gcj/runtime/MethodRef.java: Removed.
3067 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3068 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3069 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3070 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3071 * Makefile.in: Rebuilt.
3073 2005-03-10 Tom Tromey <tromey@redhat.com>
3075 * Makefile.in: Rebuilt.
3076 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3078 2005-03-10 Chris Burdess <dog@bluezoo.org>
3080 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3081 not currently parsing the DTD.
3083 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3085 New Stack Trace infrastructure.
3086 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3087 (gnu/gcj/runtime/StackTrace.java): Removed.
3088 (ordinary_java_source_files): Remove obsolete files.
3089 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3090 * configure.host (fallback_backtrace_h): Set backtrace header
3091 for mingw and cygwin targets.
3092 * configure.ac: Make symlink for fallback backtrace headers.
3093 * Makefile.in, configure: Rebuilt.
3094 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3095 Read 'LineNumberTable' attribute.
3096 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3098 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3100 * exception.cc: Remove unused include.
3101 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3102 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3103 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3104 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3105 table to direct threaded instruction values.
3106 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3107 (_Jv_InterpMethod::run): No longer member function. All
3108 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3109 is made or where an instruction could throw.
3110 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3112 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3113 (catch_fpe): Likewise.
3114 * stacktrace.cc: New file. Stack trace code now here.
3115 * gnu/gcj/runtime/MethodRef.java:
3116 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3117 calls addr2line to look up PC addresses in a given binary or shared
3119 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3120 gnu/gcj/runtime/natStackTrace.cc: Removed.
3121 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3122 this function name is specially recognised by the stack trace code
3123 and shouldn't be changed.
3124 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3125 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3126 (_Jv_InterpMethod::run): Update declaration.
3127 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3129 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3130 * include/java-stack.h: New file. Declarations for stack tracing.
3131 * include/jvm.h (_Jv_Frame_info): Removed.
3132 * java/lang/Class.h: Update friend declarations.
3133 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3135 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3136 (getStackTrace): Now native.
3137 (data): New RawDataManaged field.
3138 * java/lang/natClass.cc: Update includes.
3139 (forName): Use _Jv_StackTrace::GetCallingClass for
3140 calling-classloader check.
3141 (getClassLoader): Likewise.
3142 * java/lang/natRuntime.cc: Update includes.
3143 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3144 * java/lang/natVMSecurityManager.cc: Update includes.
3145 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3146 * java/lang/natVMThrowable.cc: New file. Native methods for
3148 * java/lang/reflect/natArray.cc: Update includes.
3149 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3150 accessibility check.
3151 * java/lang/reflect/natConstructor.cc: Update includes.
3152 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3153 accessibility check.
3154 * java/lang/reflect/natField.cc: Update includes.
3155 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3156 accessibility check.
3157 * java/lang/reflect/natMethod.cc: Update includes.
3158 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3159 accessibility check.
3160 * java/util/natResourceBundle.cc: Update includes.
3161 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3162 * java/util/logging/natLogger.cc: Update includes. Use
3163 _Jv_StackTrace::GetCallerInfo to get call-site info.
3164 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3166 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3169 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3171 * testsuite/libjava.compile/PR20312.java: New file.
3172 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3173 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3175 2005-03-09 Andrew Haley <aph@redhat.com>
3177 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3179 (smallTransferTo): New.
3180 (transferFrom): Loop around smallTransferFrom, copying pageSize
3182 (transferTo): Likewise.
3184 2005-03-09 David Daney <ddaney@avtrex.com>
3187 Merge BufferedInputStream from GNU Classpath.
3188 * java/io/BufferedInputStream.java (marktarget): Field removed.
3189 (CHUNKSIZE): Field removed.
3190 (bufferSize): New field.
3191 (BufferedInputStream): Initialize fields.
3192 (close): Invalidate mark and buffer indexes.
3194 (read()): Move mark handling code to refill.
3195 (read(byte[], int, int)): Ditto.
3196 (skip): Ditto and simplify EOF testing.
3197 (refill): Rewritten.
3198 * java/io/InputStreamReader.java (refill): Removed mark and reset
3199 of internal BufferedInputStream.
3201 2005-03-09 Tom Tromey <tromey@redhat.com>
3203 * java/lang/natVMClassLoader.cc (defineClass): Reference
3204 'systemClassLoader' field directly.
3205 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3207 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3208 Reference 'systemClassLoader' field directly.
3209 (_Jv_UnregisterInitiatingLoader): Likewise.
3210 (_Jv_FindClass): Likewise.
3212 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3214 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3216 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3217 the file in GNU Classpath style.
3219 2005-03-09 Tom Tromey <tromey@redhat.com>
3221 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3222 (toString): Synchronize.
3224 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3226 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3227 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3229 2005-03-07 Tom Tromey <tromey@redhat.com>
3231 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3232 (usage): Document '-f'.
3234 2005-03-07 Tom Tromey <tromey@redhat.com>
3236 * java/lang/VMCompiler.java (md5Digest): New field.
3237 (compileClass): Clone md5Digest instead of looking up a new one.
3239 2005-03-07 Tom Tromey <tromey@redhat.com>
3242 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3243 * link.cc (find_field_helper): Added 'type' argument.
3244 (find_field): Updated.
3246 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3247 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3248 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3249 throw UnsupportedOperationException, fixed comments.
3250 (setFont, setForeground): Fixed comments.
3251 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3252 return type to boolean.
3253 (getNextEvent): Fixed javadocs.
3254 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3255 (nativeQueueEmpty): Removed unused code.
3256 (iterateNativeQueue): Removed outer loop.
3258 2005-03-06 Roger Sayle <roger@eyesopen.com>
3261 * Makefile.am (libgcj0_convenience.la): Revert last change.
3262 * Makefile.in: Regenerate.
3264 2005-03-05 Anthony Green <green@redhat.com>
3266 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3267 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3268 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3269 (_Jv_GetDrawingSurface): Set visualID.
3270 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3271 (JAWT_GetAWT): Set Lock and Unlock.
3272 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3274 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3275 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3276 JAWT_LOCK_SURFACE_CHANGED): New macros.
3277 (struct _JAWT): Add Lock and Unlock.
3279 2005-03-05 Roger Sayle <roger@eyesopen.com>
3280 Alexandre Oliva <aoliva@redhat.com>
3281 Kelley Cook <kcook@gcc.gnu.org>
3284 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3285 of the object files to link to avoid exceeding the command line
3286 length limits on some platforms.
3287 (clean-local): Clean up objectlist files.
3288 * Makefile.in: Regenerate.
3290 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3292 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3293 spec_case. Initialize pointer mlo.
3295 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3298 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3300 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3303 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3304 uninitialized variable z.
3306 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3307 possible unused variables.
3309 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3311 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3313 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3316 * testsuite/libjava.jni/jni.exp
3317 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3319 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3321 2005-02-23 David Daney <ddaney@avtrex.com>
3323 * configure.host: Don't use -mxgot for MIPS builds.
3325 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3328 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3329 (COMPPATH): Removed.
3330 (ZIP, GCJH): Replace it with ../$(host_subdir).
3331 (built_gcc_dir): Add $(host_subdir).
3332 * configure: Regenerate.
3333 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3334 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3335 external/w3c_dom/Makefile.in: Regenerate.
3337 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3339 * java/awt/font/TextAttribute.java: changed names to lower case;
3340 (readResolve): implemented.
3341 Added doc comments all over.
3343 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3346 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3347 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3348 value. Move argument parsing code to prims.cc.
3349 * prims.cc (no_properties): Remove.
3350 (_Jv_Compiler_Properties): Initialize to NULL.
3351 (_Jv_Properties_Count): Initialize to 0.
3352 (parse_verbose_args): New function.
3353 (parse_init_args): New function.
3354 (_Jv_CreateJavaVM): Call parse_init_args.
3355 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3356 * gcj/cni.h (JvVMOption): New struct.
3357 (JvVMInitArgs): Likewise.
3358 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3360 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3361 (_Jv_VMInitArgs): Likewise.
3362 * include/java-props.h (_Jv_Properties_Count): Declare.
3363 * java/lang/natRuntime.cc (insertSystemProperties): Use
3364 _Jv_Properties_Count in for loop exit condition.
3365 * testsuite/libjava.jni/jni.exp
3366 (gcj_invocation_compile_c_to_binary): New procedure.
3367 (gcj_invocation_test_one): Likewise.
3368 (gcj_jni_run): Run JNI invocation API tests.
3369 * testsuite/libjava.jni/invocation/PR16923.c,
3370 testsuite/libjava.jni/invocation/PR16923.java,
3371 testsuite/libjava.jni/invocation/PR16923.out: New test.
3373 2005-02-23 Michael Koch <konqueror@gmx.de>
3375 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3376 * Makefile.in: Regenerated.
3378 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3380 * gnu/java/nio/ChannelReader: Fixed comments.
3382 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3384 * java/nio/channels/Channels: Added FIXMEs about
3385 stub method implementation.
3386 (newReader): Implemented.
3387 * gnu/java/nio/ChannelReader: New class.
3389 2005-02-23 Michael Koch <konqueror@gmx.de>
3391 * java/text/SimpleDateFormat.java:
3392 Removed unused import.
3394 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3397 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3398 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3399 * Makefile.in: Regenerate.
3400 * configure.ac: Check for libXtst.
3401 * configure: Regenerate.
3403 2005-02-22 Mark Wielaard <address@bogus.example.com>
3405 * java/security/AlgorithmParameterGenerator.java (getInstance):
3406 Mention provider when throwing NoSuchProviderException.
3407 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3408 * java/security/KeyFactory.java (getInstance): Likewise.
3409 * java/security/KeyStore.java (getInstance): Likewise.
3410 * java/security/SecureRandom.java (getInstance): Likewise.
3411 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3413 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3415 * java/lang/reflect/Proxy.java,
3417 java/security/SecureRandom.java,
3418 java/util/Timer.java,
3419 java/util/prefs/AbstractPreferences.java:
3420 Don't catch java.lang.ThreadDeath.
3422 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3424 * java/awt/font/TransformAttribute.java,
3425 (TransformAttribute(AffineTransform)): throw
3426 IllegalArgumentException for null transform.
3427 (getTransform): return a copy of transform.
3428 Added doc comments to all.
3430 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3432 * java/io/Externalizable.java,
3433 java/io/Serializable.java
3434 (serialVersionUID): Removed.
3435 * java/rmi/server/RemoteObject.java,
3436 java/rmi/server/UID.java
3437 (serialVersionUID): Made private.
3438 * java/rmi/server/RemoteRef.java,
3439 java/rmi/server/ServerRef.java
3440 (serialVersionUID): Set proper value.
3441 * java/security/interfaces/DSAPrivateKey.java,
3442 java/security/interfaces/DSAPublicKey.java,
3443 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3444 java/security/interfaces/RSAPrivateCrtKey.java,
3445 java/security/interfaces/RSAPrivateKey.java,
3446 java/security/interfaces/RSAPublicKey.java,
3447 javax/crypto/SecretKey.java
3448 (serialVersionUID): Added.
3450 2005-02-22 Tom Tromey <tromey@redhat.com>
3452 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3454 2005-02-22 Tom Tromey <tromey@redhat.com>
3457 * verify.cc (type::EITHER): New constant.
3458 (check_field_constant): Use it.
3459 (type::compatible): Handle it.
3461 2005-02-22 Michael Koch <konqueror@gmx.de>
3463 * gnu/java/security/PolicyFile.java,
3464 gnu/java/security/pkcs/PKCS7SignedData.java,
3465 gnu/java/security/pkcs/SignerInfo.java:
3466 Fixed copyright header.
3468 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3470 * java/beans/PropertyDescriptor.java
3471 (PropertyDescriptor,setReadMethod): Set propertyType.
3473 2005-02-22 Michael Koch <konqueror@gmx.de>
3475 * java/nio/DirectByteBufferImpl.java
3476 (owner): Fixed formatting of javadoc.
3477 * java/text/DateFormat.java
3478 (getAvailableLocales): Fixed formatting.
3479 * java/text/SimpleDateFormat.java:
3480 Fixed formatting and import statement order.
3481 * java/util/Calendar.java
3482 (Calendar): Fixed javadoc to be HTML compliant.
3483 * java/util/SimpleTimeZone.java:
3486 2005-02-22 Roman Kennke <roman@ontographics.com>
3488 * javax/swing/plaf/basic/BasicLookAndFeel.java
3489 (initComponentDefaults): Fixed Button left and right margin.
3491 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3493 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3497 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3498 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3499 (getWidth): New method.
3500 (getHeight): Likewise.
3501 (create): Remove width, height and insets parameters. Move size
3503 (realize_cb): ... here. New function.
3504 (connectSignals): Connect realize_cb.
3505 (request_frame_extents): Remove FIXME. Move
3506 postInsetsChangedEvent lookup ...
3507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3508 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3509 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3511 (windowGetWidthID): Likewise.
3512 (windowGetHeightID): Likewise.
3514 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3518 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3520 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3522 Merge serialization from GNU Classpath.
3523 * gcj/method.h: Add missing #includes.
3524 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3525 primitive class IDs on the stream here...
3526 (resolveClass): ...not here.
3527 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3529 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3530 setLongNative, setIntNative, setShortNative, setCharNative,
3531 setByteNative, setBooleanNative, setObjectNative): New native methods.
3532 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3533 setLongNative, setIntNative, setShortNative, setCharNative,
3534 setByteNative, setBooleanNative, setObjectNative): Implement them.
3535 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3536 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3537 the constructor here.
3538 (callConstructor): Removed.
3539 (getCallersClassLoader): Removed.
3540 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3541 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3542 to control whether setting final field values is permitted. Call
3543 getAddr() with checkFinal parameter instead of setAddr().
3544 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3545 only if not done already.
3546 (getAddr): Add checkFinal parameter. Do the final field check only if
3550 2005-02-21 Mark Wielaard <mark@klomp.org>
3553 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3556 2005-02-21 Mark Wielaard <mark@klomp.org>
3559 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3560 without a super class and us ObjectStreamClass.lookupForClassObject().
3561 (resolveClass): Check for primitive types.
3562 (lookupClass): Return null when argument is null.
3564 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3566 * java/io/ObjectInputStream.java
3567 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3569 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3571 * java/io/ObjectOutputStream.java
3572 (writeObject, callWriteMethod): Replaced reflection with accessing
3573 cached info in ObjectStreamClass.
3574 (getMethod): Removed.
3575 * java/io/ObjectStreamClass.java
3576 (findMethod): Added check to make sure the method found has the
3578 (cacheMethods): Added writeReplace and writeObject methods.
3579 (setFlags): Look at new writeObjectMethod field instead of doing
3581 (writeReplaceMethod): New field.
3582 (writeObjectMethod): New field.
3584 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3585 Jeroen Frijters <jeroen@frijters.net>
3587 * java/io/ObjectInputStream.java
3588 (newObject): Changed prototype. Get a constructor reflect object
3590 (callConstructor): Removed.
3591 (allocateObject): Changed prototype.
3592 (readClassDescriptor): Build the constructor reflection directly.
3593 (readObject): Invoke newObject using the new prototype.
3595 * java/io/ObjectStreamClass.java
3596 (firstNonSerializableParent): Removed.
3597 (firstNonSerializableParentConstructor): Added.
3599 2005-02-21 Mark Wielaard <mark@klomp.org>
3601 * gnu/java/locale/LocaleInformation_en.java: Extend
3602 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3604 2005-02-21 Mark Wielaard <mark@klomp.org>
3606 * java/text/SimpleDateFormat.java
3607 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3608 NullPointerException when formatData is null.
3610 2005-02-21 Mark Wielaard <mark@klomp.org>
3612 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3613 taking dstSavings into account.
3615 2005-02-21 Sven de Marothy <sven@physto.se>
3617 * java/text/SimpleDateFormat.java,
3618 (parse): Set correct DST_OFFSET to the correct value.
3620 2005-02-21 Mark Wielaard <mark@klomp.org>
3622 * java/util/SimpleTimeZone.java (checkRule): Throw
3623 IllegalArgumentException when month out of range.
3625 2005-02-21 Sven de Marothy <sven@physto.se>
3627 * java/util/GregorianCalendar.java,
3628 (add): Don't set fields directly anymore. Use set()
3630 2005-02-21 Mark Wielaard <mark@klomp.org>
3632 * java/text/SimpleDateFormat.java (CompiledField.toString):
3633 Use StringBuffer, not StringBuilder.
3634 (toString): Likewise.
3636 2005-02-21 Sven de Marothy <sven@physto.se>
3638 * java/util/Calendar.java
3639 (clear): Dates should clear to local time.
3640 * java/util/GregorianCalendar.java
3641 (computeTime): Fix priority problem with DAY_OF_WEEK,
3642 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3644 2005-02-21 Sven de Marothy <sven@physto.se>
3646 * java/util/Calendar.java
3647 (Calendar): Constructor should clear fields.
3649 2005-02-21 Sven de Marothy <sven@physto.se>
3651 * java/text/SimpleDateFormat.java
3652 (parse): Tweak handling of 2-year dates
3653 * java/util/Calendar.java
3654 (clear): Clear fields to correct value.
3655 * java/util/GregorianCalendar.java
3656 (computeTime): Correct handling of time zones.
3657 Correct field minimum values.
3659 2005-02-21 Sven de Marothy <sven@physto.se>
3661 * java/util/Calendar.java
3662 (set) Invalidate all fields on first call to set().
3664 2005-02-21 Sven de Marothy <sven@physto.se>
3666 * java/util/GregorianCalendar.java
3667 (computeTime): Fixed handling of time zones.
3669 2005-02-21 Sven de Marothy <sven@physto.se>
3671 * java/util/Calendar.java
3672 (clear): Set values to Epoch instead of zero.
3673 (set): Set isSet to the relevant field pattern instead of just
3675 * java/util/GregorianCalendar.java
3676 (getBundle): Removed.
3677 (getDayOfYear): Removed.
3678 (getFirstDayOfMonth): New private method.
3679 (nonLeniencyCheck): New private method.
3680 (computeTime): Correct handling of insufficient data.
3682 2005-02-21 Sven de Marothy <sven@physto.se>
3684 * java/util/Calendar.java: Invalidate ERA field on setting
3686 * java/util/SimpleTimeZone.java:
3687 (getDaysInMonth): Reimplemented.
3688 * java/util/GregorianCalendar.java:
3689 (getLinearTime): Removed.
3690 (isLeapYear(int,boolean)): Removed.
3691 (before(), after()): Removed.
3692 (computeTime): Reimplemented.
3694 2005-02-21 Sven de Marothy <sven@physto.se>
3696 * java/util/Calendar.java: Reformatted.
3697 * java/util/GregorianCalendar.java: Reformatted.
3698 * java/util/SimpleTimeZone.java: Reformatted.
3700 2005-02-21 Sven de Marothy <sven@physto.se>
3702 * java/util/GregorianCalendar.java
3703 (GregorianCalendar): Update fields in the constructor
3705 2005-02-21 Noa Resare <noa@resare.com>
3707 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3708 (set(int,int)): Set and use new field.
3709 (set(int,int,int)): Check new field.
3711 2005-02-21 Noa Resare <address@hidden>
3713 * java/util/Calendar.java(set):
3714 Fix for DST related regression.
3716 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3718 * java/util/Calendar.java
3719 (setTimeInMillis): Added call to clear, removed computeFields call.
3720 * java/util/Date.java
3721 (Date(int,int,int,int,int,int)): Removed workaround for
3722 GregorianCalendar bug.
3723 * java/util/GregorianCalendar.java
3724 (GregorianCalendar): Chained all constructors to a (new)
3726 (computeTime): Fixed support for lenient month treatment.
3727 (getLinearDay): Return long instead of int.
3728 (calculateDay): Added fields argument and changed day argument
3731 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3733 * java/text/SimpleDateFormat.java
3734 Lots of documentation updates.
3735 (readObject(java.io.ObjectInputStream)): Wraps
3736 IllegalArgumentException as specified.
3737 (compileFormat(String)): Uses standardChars
3738 rather than the local pattern characters.
3739 Throws IllegalArgumentException rather than
3741 (toString()): Extended to include all variables
3743 (translateLocalizedPattern(String, String, String)):
3744 Renamed to better define the use of this method.
3746 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3748 * java/text/DateFormat.java:
3749 Documented pattern character offset constants and
3751 (Field): Added new static fields for new pattern chars.
3752 * java/text/SimpleDateFormat.java:
3753 (CompiledField): Changed name of FieldSizePair class
3754 to CompiledField after adding the character as an
3755 attribute. Changed fields to private and added
3756 accessors to give encapsulation.
3757 (CompiledField.CompiledField(int,int,char)): Extended
3758 with character field.
3759 (CompiledField.getField()): New accessor method.
3760 (CompiledField.getSize()): New acceessor method.
3761 (CompiledField.getCharacter()): New accessor method.
3762 (CompiledField.toString()): Added primarily for debugging.
3763 (standardChars): Now uses extended 24 character sequence.
3764 (compileFormat(String)): Changed to use CompiledField.
3765 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3766 java.text.FieldPosition)): Changed to use CompiledField.
3767 New handler for RFC 822 timezones added.
3769 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3771 * java/text/SimpleDateFormat.java:
3772 (parse(String, java.text.ParsePosition)):
3773 Changed 'E' and 'M' cases to use both
3774 short and long names. Extended 'z'
3775 case to also handle 'Z', and deal
3776 with simple GMT offsets such as +0100.
3777 (computeOffset(String)): New private method,
3778 which converts a GMT offset specification,
3779 such as GMT-0500 to a numeric offset in
3781 * java/util/TimeZone.java:
3782 (timezones()): Added "CEST", the daylight
3783 savings time version of "CET", or Central
3786 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3788 * java/text/SimpleDateFormat.java:
3789 (parse): Set the DST offset to 0 when parsing
3790 GMT offset timezones.
3792 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3794 * java/text/SimpleDateFormat.java:
3795 (parse): Use offset to set ZONE_OFFSET
3796 rather than the DST_OFFSET, so that
3797 GMT offset timezones change the right
3800 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3802 * java/text/SimpleDateFormat.java:
3803 (getDateFormatSymbols()): return a copy
3804 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3805 throw exception on null input
3806 (clone()): implemented to clone
3809 2005-02-21 Sven de Marothy <sven@physto.se>
3811 * java/text/SimpleDateFormat.java
3812 (parse): comparison should be case-insensitive, ignore null
3815 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3817 * gnu/java/beans/IntrospectionIncubator.java
3818 (addMethod) Reverts the patch that ntroduced a regression (see bug
3819 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3821 2005-02-21 Michael Koch <konqueror@gmx.de>
3823 * java/awt/Checkbox.java
3824 (next_checkbox_number): New static variable.
3825 (generateName): New method.
3826 (getUniqueLong): Likewise.
3827 * java/awt/Window.java
3828 (next_window_number): New static variable.
3829 (generateName): New method.
3830 (getUniqueLong): Likewise.
3832 2005-02-21 Mark Wielaard <mark@klomp.org>
3834 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3837 2005-02-21 Andrew Haley <aph@redhat.com>
3839 * Makefile.in: Rebuilt.
3840 * Makefile.am (nat_source_files): Added natLogger.cc.
3841 * java/util/logging/natLogger.cc: New file.
3842 * java/util/logging/Logger.java (getCallerStackFrame): Now
3845 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3847 * Makefile.am (all_property_files): Remove left over.
3848 (classes.stamp): Add stamp for the ONESTEP build, also known as
3849 --enable-libgcj-multifile.
3850 * Makefile.in: Regenerated.
3852 2005-02-21 Michael Koch <konqueror@gmx.de>
3854 * java/awt/Button.java,
3855 java/awt/Container.java,
3857 java/awt/Frame.java,
3858 java/text/CollationElementIterator.java,
3859 java/text/RuleBasedCollator.java,
3860 java/util/PropertyPermission.java:
3861 Fixed formatting issues all over.
3863 2005-02-21 Mark Wielaard <mark@klomp.org>
3865 * java/io/FileDescriptor.java (sync): Add real exception to
3866 SyncFailedException.
3868 2005-02-21 Michael Koch <konqueror@gmx.de>
3870 * java/io/InputStreamReader.java:
3873 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3876 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3878 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3880 * libraries/javalib/gnu/regexp/RE.java,
3881 libraries/javalib/java/io/ObjectInputStream.java,
3882 libraries/javalib/java/security/AllPermission.java,
3883 libraries/javalib/java/security/BasicPermission.java,
3884 libraries/javalib/java/security/Permissions.java,
3885 libraries/javalib/java/text/MessageFormat.java:
3886 Made 'inner' classes real public static inner classes,
3887 and made them final where possible, or removed them
3890 2005-02-20 Michael Koch <konqueror@gmx.de>
3892 * gnu/java/text/FormatCharacterIterator.java:
3893 Removed redundant modifiers.
3895 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3897 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3900 2005-02-19 Michael Koch <konqueror@gmx.de>
3902 * Makefile.am: Added new files in gnu/java/beans and
3903 java/beans/XMLDecoder.java.
3904 * Makefile.in: Regenerated.
3906 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3908 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3909 assignment behavior by using java.lang.reflect.Array.set()
3912 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3914 * gnu/java/beans/EmptyBeanInfo.java,
3915 gnu/java/beans/info/ComponentBeanInfo.java:
3916 Removed unused files.
3918 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3920 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3921 of AppletStub for java.beans.Beans.instantiate.
3922 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3924 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3925 to be conformant with Javadoc guidelines.
3926 (instantiate): Added two more overloaded variants, reworked user
3927 documentation, fixed exception behavior, fixed behavior when
3930 2005-02-19 Mark Wielaard <mark@klomp.org>
3932 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3934 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3936 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3938 * gnu/java/beans/decoder/AbstractContext.java,
3939 gnu/java/beans/decoder/AbstractCreatableContext.java,
3940 gnu/java/beans/decoder/AbstractElementHandler.java,
3941 gnu/java/beans/decoder/AbstractObjectContext.java,
3942 gnu/java/beans/decoder/ArrayContext.java,
3943 gnu/java/beans/decoder/ArrayHandler.java,
3944 gnu/java/beans/decoder/AssemblyException.java,
3945 gnu/java/beans/decoder/BooleanHandler.java,
3946 gnu/java/beans/decoder/ByteHandler.java,
3947 gnu/java/beans/decoder/CharHandler.java,
3948 gnu/java/beans/decoder/ClassHandler.java,
3949 gnu/java/beans/decoder/ConstructorContext.java,
3950 gnu/java/beans/decoder/Context.java,
3951 gnu/java/beans/decoder/DecoderContext.java,
3952 gnu/java/beans/decoder/DefaultExceptionListener.java,
3953 gnu/java/beans/decoder/DoubleHandler.java,
3954 gnu/java/beans/decoder/DummyContext.java,
3955 gnu/java/beans/decoder/DummyHandler.java,
3956 gnu/java/beans/decoder/ElementHandler.java,
3957 gnu/java/beans/decoder/FloatHandler.java,
3958 gnu/java/beans/decoder/GrowableArrayContext.java,
3959 gnu/java/beans/decoder/IndexContext.java,
3960 gnu/java/beans/decoder/IntHandler.java,
3961 gnu/java/beans/decoder/JavaHandler.java,
3962 gnu/java/beans/decoder/LongHandler.java,
3963 gnu/java/beans/decoder/MethodContext.java,
3964 gnu/java/beans/decoder/MethodFinder.java,
3965 gnu/java/beans/decoder/NullHandler.java,
3966 gnu/java/beans/decoder/ObjectContext.java,
3967 gnu/java/beans/decoder/ObjectHandler.java,
3968 gnu/java/beans/decoder/PersistenceParser.java,
3969 gnu/java/beans/decoder/PropertyContext.java,
3970 gnu/java/beans/decoder/ShortHandler.java,
3971 gnu/java/beans/decoder/SimpleHandler.java,
3972 gnu/java/beans/decoder/StaticMethodContext.java,
3973 gnu/java/beans/decoder/StringHandler.java,
3974 gnu/java/beans/decoder/VoidHandler.java: New class
3975 implementing java.beans.XMLDecoder decoding functionality.
3976 * java/beans/XMLDecoder.java: New class.
3978 2005-02-19 Michael Koch <konqueror@gmx.de>
3980 * javax/swing/JTextField.java
3981 (notfiyAction): Added javadoc.
3983 2005-02-19 Sven de Marothy <sven@physto.se>
3985 * javax/swing/SpinnerDateModel.java: Implemented.
3987 2005-02-19 Michael Koch <konqueror@gmx.de>
3989 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3990 * Makefile.in: Regenerated.
3992 2005-02-19 Michael Koch <konqueror@gmx.de>
3994 * gnu/java/nio/SelectorImpl.java:
3995 Reworked import statements.
3996 (register): Removed unused code.
3997 * java/nio/channels/Channels.java: Reformatted.
3998 * java/nio/charset/Charset.java: Likewise.
3999 * java/rmi/server/RemoteObject.java
4000 (serialVersionUID): Made private.
4001 * java/rmi/server/UID.java
4002 (serialVersionUID): Likewise.
4004 2005-02-19 Michael Koch <konqueror@gmx.de>
4006 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4007 gnu/java/net/protocol/ftp/BlockInputStream.java,
4008 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4009 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4010 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4011 gnu/java/net/protocol/ftp/DTPInputStream.java,
4012 gnu/java/net/protocol/ftp/DTP.java,
4013 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4014 gnu/java/net/protocol/ftp/FTPConnection.java,
4015 gnu/java/net/protocol/ftp/FTPException.java,
4016 gnu/java/net/protocol/ftp/FTPResponse.java,
4017 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4018 gnu/java/net/protocol/ftp/Handler.java,
4019 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4020 gnu/java/net/protocol/ftp/StreamInputStream.java,
4021 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4022 gnu/java/net/CRLFInputStream.java,
4023 gnu/java/net/CRLFOutputStream.java,
4024 gnu/java/net/GetLocalHostAction.java,
4025 gnu/java/net/protocol/ftp/package.html: New files.
4026 * Makefile.am: Added new files.
4027 * Makefile.in: Regenerated.
4029 2005-02-18 Tom Tromey <tromey@redhat.com>
4031 * link.cc (make_vtable): Remove abstract method check.
4032 (append_partial_itable): Likewise.
4035 * verify.cc (type::equals): Fixed test.
4036 * testsuite/libjava.lang/PR20056.out: New file.
4037 * testsuite/libjava.lang/PR20056.java: New file.
4039 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4041 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4042 not the HashEntry. Reported by Jean-Marie White.
4044 2005-02-18 Tom Tromey <tromey@redhat.com>
4047 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4048 * link.cc (has_field_p): New function.
4049 * verify.cc (check_field_constant): Added 'putfield' argument.
4050 (verify_instructions_0): Updated.
4051 (type::equals): New method.
4053 2005-02-18 Anthony Green <green@redhat.com>
4055 * NEWS: Draft of libgcj NEWS for 4.0.
4057 2005-02-18 Anthony Green <green@redhat.com>
4059 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4060 architecture names to "i386" for compatibility reasons. Win32
4063 2005-02-18 Anthony Green <green@redhat.com>
4065 * gij.cc (version): Change year for '--version' to 2005.
4066 * gnu/gcj/convert/Convert.java: Ditto.
4067 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4068 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4070 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4071 recent copyright year in `--version' output.
4073 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4075 * java/nio/charset/Charset.java (forName): Throws
4076 IllegalArgumentException when argument is null
4077 and added documentation.
4079 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4081 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4082 Move the position of the source buffer forward.
4084 2005-02-17 Tom Tromey <tromey@redhat.com>
4086 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4087 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4088 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4089 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4090 Changed type of second argument. Rewrote.
4091 (make_vtable): Use it.
4092 (append_partial_itable): Updated.
4093 (layout_vtable_methods): Updated.
4095 2005-02-17 Michael Koch <konqueror@gmx.de>
4097 * gnu/java/net/PlainSocketImpl.java
4098 (shutdownInput): Added javadoc.
4099 (shutdownOutput): Likewise.
4101 2005-02-17 Michael Koch <konqueror@gmx.de>
4103 * javax/print/attribute/standard/Chromaticity.java,
4104 javax/print/attribute/standard/Destination.java,
4105 javax/print/attribute/standard/MediaPrintableArea.java,
4106 javax/print/attribute/standard/MediaSize.java: New files.
4107 * Makefile.am: Added new files.
4108 * Makefile.in: Regenerated.
4110 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4111 Michael Koch <konqueror@gmx.de>
4113 * gnu/java/net/protocol/http/Cookie.java,
4114 gnu/java/net/protocol/http/HTTPConnection.java,
4115 gnu/java/net/protocol/http/HTTPDateFormat.java,
4116 gnu/java/net/protocol/http/Request.java,
4117 gnu/java/nio/PipeImpl.java,
4118 gnu/java/rmi/dgc/DGCImpl.java,
4119 gnu/java/rmi/server/ConnectionRunnerPool.java,
4120 gnu/java/rmi/server/UnicastConnectionManager.java,
4121 gnu/java/security/der/DERWriter.java,
4122 gnu/java/security/pkcs/SignerInfo.java,
4123 gnu/java/security/provider/EncodedKeyFactory.java,
4124 gnu/java/security/provider/GnuDHPublicKey.java,
4125 gnu/java/security/provider/GnuDSAPrivateKey.java,
4126 gnu/java/security/provider/GnuDSAPublicKey.java,
4127 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4128 gnu/java/security/x509/X500DistinguishedName.java,
4129 gnu/java/security/x509/X509CRL.java,
4130 gnu/java/security/x509/X509CRLEntry.java,
4131 gnu/java/security/x509/X509Certificate.java,
4132 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4133 gnu/java/security/x509/ext/CertificatePolicies.java,
4134 gnu/java/security/x509/ext/PolicyConstraint.java,
4135 gnu/xml/dom/Consumer.java,
4136 gnu/xml/dom/DomCharacterData.java,
4137 gnu/xml/dom/DomDocument.java,
4138 gnu/xml/dom/DomDocumentBuilder.java,
4139 gnu/xml/dom/DomIterator.java,
4140 gnu/xml/dom/DomNode.java,
4141 gnu/xml/dom/DomXPathExpression.java,
4142 gnu/xml/dom/DomXPathResult.java,
4143 gnu/xml/dom/JAXPFactory.java,
4144 gnu/xml/pipeline/CallFilter.java,
4145 gnu/xml/pipeline/DomConsumer.java,
4146 gnu/xml/pipeline/LinkFilter.java,
4147 gnu/xml/pipeline/NSFilter.java,
4148 gnu/xml/pipeline/TeeConsumer.java,
4149 gnu/xml/pipeline/ValidationConsumer.java,
4150 gnu/xml/pipeline/WellFormednessFilter.java,
4151 gnu/xml/pipeline/XIncludeFilter.java,
4152 gnu/xml/pipeline/XsltFilter.java,
4153 gnu/xml/transform/ApplyImportsNode.java,
4154 gnu/xml/transform/Bindings.java,
4155 gnu/xml/transform/DocumentFunction.java,
4156 gnu/xml/transform/FormatNumberFunction.java,
4157 gnu/xml/transform/NodeNumberNode.java,
4158 gnu/xml/transform/NumberNode.java,
4159 gnu/xml/transform/Stylesheet.java,
4160 gnu/xml/transform/SystemPropertyFunction.java,
4161 gnu/xml/transform/Template.java,
4162 gnu/xml/transform/TemplatesImpl.java,
4163 gnu/xml/transform/TransformerImpl.java,
4164 gnu/xml/transform/ValueOfNode.java,
4165 gnu/xml/transform/XSLURIResolver.java,
4166 gnu/xml/util/DoParse.java,
4167 gnu/xml/util/Resolver.java,
4168 gnu/xml/xpath/Expr.java,
4169 gnu/xml/xpath/FunctionCall.java,
4170 gnu/xml/xpath/RelationalExpr.java,
4171 gnu/xml/xpath/Selector.java,
4172 gnu/xml/xpath/XPathParser.java:
4173 Reworked import statements, fixed modifier order and some little
4176 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4178 * java/nio/ByteBufferImpl.java (compact):
4179 Set position and limit even if no bytes were moved.
4181 2005-02-17 Michael Koch <konqueror@gmx.de>
4183 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4184 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4185 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4186 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4187 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4188 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4189 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4190 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4191 * java/nio/FloatBufferImpl.java (compact): Set position.
4192 * java/nio/CharBufferImpl.java (compact): Likewise.
4193 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4194 * java/nio/IntBufferImpl.java (compact): Likewise.
4195 * java/nio/LongBufferImpl.java (compact): Likewise.
4196 * java/nio/ShortBufferImpl.java (compact): Likewise.
4198 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4200 * java/nio/ByteBufferImpl.java,
4201 java/nio/CharBufferImpl.java,
4202 java/nio/DirectByteBufferImpl.java,
4203 java/nio/DoubleBufferImpl.java,
4204 java/nio/FloatBufferImpl.java,
4205 java/nio/IntBufferImpl.java,
4206 java/nio/LongBufferImpl.java,
4207 java/nio/MappedByteBufferImpl.java,
4208 java/nio/ShortBufferImpl.java
4209 (compact): Added explicit read-only check and invalidate mark.
4211 2005-02-17 Michael Koch <konqueror@gmx.de>
4213 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4214 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4215 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4216 gnu/java/awt/peer/gtk/GdkGraphics.java,
4217 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4218 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4219 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4220 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4221 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4222 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4223 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4224 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4225 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4226 gnu/java/awt/peer/gtk/GtkClipboard.java,
4227 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4228 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4229 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4230 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4231 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4232 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4233 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4234 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4235 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4236 gnu/java/awt/peer/gtk/GtkToolkit.java,
4237 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4238 java/applet/Applet.java,
4239 java/awt/AWTError.java,
4240 java/awt/AWTEvent.java,
4241 java/awt/AWTEventMulticaster.java,
4242 java/awt/AWTException.java,
4243 java/awt/AWTKeyStroke.java,
4244 java/awt/AWTPermission.java,
4245 java/awt/ActiveEvent.java,
4246 java/awt/Adjustable.java,
4247 java/awt/AlphaComposite.java,
4248 java/awt/AttributeValue.java,
4249 java/awt/BorderLayout.java,
4250 java/awt/BufferCapabilities.java,
4251 java/awt/Button.java,
4252 java/awt/Canvas.java,
4253 java/awt/CheckboxGroup.java,
4254 java/awt/CheckboxMenuItem.java,
4255 java/awt/Color.java,
4256 java/awt/ColorPaintContext.java,
4257 java/awt/Component.java,
4258 java/awt/ComponentOrientation.java,
4259 java/awt/Composite.java,
4260 java/awt/CompositeContext.java,
4261 java/awt/Container.java,
4262 java/awt/ContainerOrderFocusTraversalPolicy.java,
4263 java/awt/DefaultFocusTraversalPolicy.java,
4264 java/awt/Dialog.java,
4265 java/awt/Dimension.java,
4266 java/awt/DisplayMode.java,
4267 java/awt/EventQueue.java,
4268 java/awt/FileDialog.java,
4269 java/awt/FontFormatException.java,
4270 java/awt/Graphics.java,
4271 java/awt/Graphics2D.java,
4272 java/awt/GraphicsConfigTemplate.java,
4273 java/awt/GraphicsConfiguration.java,
4274 java/awt/GraphicsDevice.java,
4275 java/awt/GridBagLayout.java,
4276 java/awt/GridBagLayoutInfo.java,
4277 java/awt/GridLayout.java,
4278 java/awt/HeadlessException.java,
4279 java/awt/IllegalComponentStateException.java,
4280 java/awt/Image.java,
4281 java/awt/Insets.java,
4282 java/awt/ItemSelectable.java,
4283 java/awt/JobAttributes.java,
4284 java/awt/KeyEventDispatcher.java,
4285 java/awt/KeyEventPostProcessor.java,
4286 java/awt/KeyboardFocusManager.java,
4287 java/awt/Label.java,
4288 java/awt/LayoutManager.java,
4289 java/awt/MenuBar.java,
4290 java/awt/MenuComponent.java,
4291 java/awt/MenuContainer.java,
4292 java/awt/PageAttributes.java,
4293 java/awt/Paint.java,
4294 java/awt/PaintContext.java,
4295 java/awt/Panel.java,
4296 java/awt/Point.java,
4297 java/awt/Polygon.java,
4298 java/awt/PrintGraphics.java,
4299 java/awt/PrintJob.java,
4300 java/awt/Rectangle.java,
4301 java/awt/RenderingHints.java,
4302 java/awt/Shape.java,
4303 java/awt/Stroke.java,
4304 java/awt/SystemColor.java,
4305 java/awt/Toolkit.java,
4306 java/awt/Transparency.java,
4307 java/awt/Window.java,
4308 java/awt/color/CMMException.java,
4309 java/awt/color/ColorSpace.java,
4310 java/awt/color/ICC_ColorSpace.java,
4311 java/awt/color/ICC_Profile.java,
4312 java/awt/color/ProfileDataException.java,
4313 java/awt/datatransfer/FlavorTable.java,
4314 java/awt/datatransfer/MimeTypeParseException.java,
4315 java/awt/datatransfer/Transferable.java,
4316 java/awt/datatransfer/UnsupportedFlavorException.java,
4317 java/awt/dnd/Autoscroll.java,
4318 java/awt/dnd/DnDConstants.java,
4319 java/awt/dnd/DragGestureListener.java,
4320 java/awt/dnd/DragSourceAdapter.java,
4321 java/awt/dnd/DragSourceDropEvent.java,
4322 java/awt/dnd/DragSourceListener.java,
4323 java/awt/dnd/DragSourceMotionListener.java,
4324 java/awt/dnd/DropTargetAdapter.java,
4325 java/awt/dnd/DropTargetContext.java,
4326 java/awt/dnd/DropTargetListener.java,
4327 java/awt/dnd/InvalidDnDOperationException.java,
4328 java/awt/dnd/MouseDragGestureRecognizer.java,
4329 java/awt/dnd/peer/DropTargetContextPeer.java,
4330 java/awt/event/AWTEventListener.java,
4331 java/awt/event/AWTEventListenerProxy.java,
4332 java/awt/event/ActionEvent.java,
4333 java/awt/event/AdjustmentEvent.java,
4334 java/awt/event/AdjustmentListener.java,
4335 java/awt/event/ComponentAdapter.java,
4336 java/awt/event/ComponentEvent.java,
4337 java/awt/event/ComponentListener.java,
4338 java/awt/event/ContainerAdapter.java,
4339 java/awt/event/ContainerEvent.java,
4340 java/awt/event/ContainerListener.java,
4341 java/awt/event/FocusAdapter.java,
4342 java/awt/event/FocusEvent.java,
4343 java/awt/event/FocusListener.java,
4344 java/awt/event/InputEvent.java,
4345 java/awt/event/InputMethodEvent.java,
4346 java/awt/event/InputMethodListener.java,
4347 java/awt/event/InvocationEvent.java,
4348 java/awt/event/ItemEvent.java,
4349 java/awt/event/ItemListener.java,
4350 java/awt/event/KeyAdapter.java,
4351 java/awt/event/KeyEvent.java,
4352 java/awt/event/KeyListener.java,
4353 java/awt/event/MouseAdapter.java,
4354 java/awt/event/MouseEvent.java,
4355 java/awt/event/MouseListener.java,
4356 java/awt/event/MouseMotionAdapter.java,
4357 java/awt/event/MouseMotionListener.java,
4358 java/awt/event/MouseWheelEvent.java,
4359 java/awt/event/MouseWheelListener.java,
4360 java/awt/event/PaintEvent.java,
4361 java/awt/event/TextEvent.java,
4362 java/awt/event/TextListener.java,
4363 java/awt/event/WindowAdapter.java,
4364 java/awt/event/WindowEvent.java,
4365 java/awt/event/WindowFocusListener.java,
4366 java/awt/event/WindowListener.java,
4367 java/awt/event/WindowStateListener.java,
4368 java/awt/font/TextHitInfo.java,
4369 java/awt/geom/CubicCurve2D.java,
4370 java/awt/geom/Dimension2D.java,
4371 java/awt/geom/Ellipse2D.java,
4372 java/awt/geom/IllegalPathStateException.java,
4373 java/awt/geom/Line2D.java,
4374 java/awt/geom/NoninvertibleTransformException.java,
4375 java/awt/geom/PathIterator.java,
4376 java/awt/geom/Point2D.java,
4377 java/awt/geom/QuadCurve2D.java,
4378 java/awt/geom/RectangularShape.java,
4379 java/awt/geom/RoundRectangle2D.java,
4380 java/awt/im/InputContext.java,
4381 java/awt/im/InputMethodHighlight.java,
4382 java/awt/im/InputMethodRequests.java,
4383 java/awt/im/InputSubset.java,
4384 java/awt/im/spi/InputMethod.java,
4385 java/awt/im/spi/InputMethodDescriptor.java,
4386 java/awt/image/BandCombineOp.java,
4387 java/awt/image/BandedSampleModel.java,
4388 java/awt/image/ByteLookupTable.java,
4389 java/awt/image/ComponentSampleModel.java,
4390 java/awt/image/DataBuffer.java,
4391 java/awt/image/DataBufferByte.java,
4392 java/awt/image/DataBufferDouble.java,
4393 java/awt/image/DataBufferFloat.java,
4394 java/awt/image/DataBufferInt.java,
4395 java/awt/image/DataBufferShort.java,
4396 java/awt/image/DataBufferUShort.java,
4397 java/awt/image/ImagingOpException.java,
4398 java/awt/image/Kernel.java,
4399 java/awt/image/LookupTable.java,
4400 java/awt/image/MultiPixelPackedSampleModel.java,
4401 java/awt/image/PackedColorModel.java,
4402 java/awt/image/PixelInterleavedSampleModel.java,
4403 java/awt/image/RGBImageFilter.java,
4404 java/awt/image/Raster.java,
4405 java/awt/image/RasterFormatException.java,
4406 java/awt/image/SampleModel.java,
4407 java/awt/image/ShortLookupTable.java,
4408 java/awt/image/SinglePixelPackedSampleModel.java,
4409 java/awt/image/WritableRaster.java,
4410 java/awt/print/PrinterAbortException.java,
4411 java/awt/print/PrinterException.java,
4412 java/awt/print/PrinterIOException.java,
4413 java/beans/AppletInitializer.java,
4414 java/beans/ExceptionListener.java,
4415 java/beans/PropertyChangeEvent.java,
4416 java/beans/PropertyChangeListenerProxy.java,
4417 java/beans/PropertyChangeSupport.java,
4418 java/beans/PropertyDescriptor.java,
4419 java/beans/VetoableChangeListenerProxy.java,
4420 java/beans/VetoableChangeSupport.java,
4421 java/io/BufferedReader.java,
4422 java/io/ByteArrayInputStream.java,
4423 java/io/ByteArrayOutputStream.java,
4424 java/io/CharArrayReader.java,
4425 java/io/CharArrayWriter.java,
4426 java/io/CharConversionException.java,
4427 java/io/DataInput.java,
4428 java/io/DataInputStream.java,
4429 java/io/DataOutput.java,
4430 java/io/DataOutputStream.java,
4431 java/io/EOFException.java,
4432 java/io/FileInputStream.java,
4433 java/io/FileNotFoundException.java,
4434 java/io/FileOutputStream.java,
4435 java/io/FilenameFilter.java,
4436 java/io/FilterInputStream.java,
4437 java/io/FilterOutputStream.java,
4438 java/io/FilterReader.java,
4439 java/io/FilterWriter.java,
4440 java/io/IOException.java,
4441 java/io/InputStream.java,
4442 java/io/InterruptedIOException.java,
4443 java/io/LineNumberInputStream.java,
4444 java/io/LineNumberReader.java,
4445 java/io/ObjectInputStream.java,
4446 java/io/ObjectStreamException.java,
4447 java/io/OptionalDataException.java,
4448 java/io/OutputStream.java,
4449 java/io/OutputStreamWriter.java,
4450 java/io/PrintStream.java,
4451 java/io/PrintWriter.java,
4452 java/io/PushbackInputStream.java,
4453 java/io/PushbackReader.java,
4454 java/io/RandomAccessFile.java,
4455 java/io/Reader.java,
4456 java/io/SequenceInputStream.java,
4457 java/io/Serializable.java,
4458 java/io/StreamCorruptedException.java,
4459 java/io/StreamTokenizer.java,
4460 java/io/StringBufferInputStream.java,
4461 java/io/StringWriter.java,
4462 java/io/SyncFailedException.java,
4463 java/io/UTFDataFormatException.java,
4464 java/io/UnsupportedEncodingException.java,
4465 java/io/WriteAbortedException.java,
4466 java/io/Writer.java,
4467 java/lang/AbstractMethodError.java,
4468 java/lang/ArithmeticException.java,
4469 java/lang/ArrayIndexOutOfBoundsException.java,
4470 java/lang/ArrayStoreException.java,
4471 java/lang/AssertionError.java,
4472 java/lang/Boolean.java,
4473 java/lang/Byte.java,
4474 java/lang/Class.java,
4475 java/lang/ClassCastException.java,
4476 java/lang/ClassCircularityError.java,
4477 java/lang/ClassLoader.java,
4478 java/lang/ClassNotFoundException.java,
4479 java/lang/CloneNotSupportedException.java,
4480 java/lang/Cloneable.java,
4481 java/lang/Comparable.java,
4482 java/lang/Compiler.java,
4483 java/lang/Double.java,
4484 java/lang/Error.java,
4485 java/lang/Exception.java,
4486 java/lang/ExceptionInInitializerError.java,
4487 java/lang/Float.java,
4488 java/lang/IllegalAccessError.java,
4489 java/lang/IllegalAccessException.java,
4490 java/lang/IllegalArgumentException.java,
4491 java/lang/IllegalMonitorStateException.java,
4492 java/lang/IllegalStateException.java,
4493 java/lang/IllegalThreadStateException.java,
4494 java/lang/IncompatibleClassChangeError.java,
4495 java/lang/IndexOutOfBoundsException.java,
4496 java/lang/InheritableThreadLocal.java,
4497 java/lang/InstantiationError.java,
4498 java/lang/InstantiationException.java,
4499 java/lang/Integer.java,
4500 java/lang/InternalError.java,
4501 java/lang/InterruptedException.java,
4502 java/lang/LinkageError.java,
4503 java/lang/Long.java,
4504 java/lang/NegativeArraySizeException.java,
4505 java/lang/NoClassDefFoundError.java,
4506 java/lang/NoSuchFieldError.java,
4507 java/lang/NoSuchFieldException.java,
4508 java/lang/NoSuchMethodError.java,
4509 java/lang/NoSuchMethodException.java,
4510 java/lang/NullPointerException.java,
4511 java/lang/Number.java,
4512 java/lang/NumberFormatException.java,
4513 java/lang/OutOfMemoryError.java,
4514 java/lang/Process.java,
4515 java/lang/Runnable.java,
4516 java/lang/Runtime.java,
4517 java/lang/RuntimeException.java,
4518 java/lang/RuntimePermission.java,
4519 java/lang/SecurityException.java,
4520 java/lang/SecurityManager.java,
4521 java/lang/Short.java,
4522 java/lang/StackOverflowError.java,
4523 java/lang/StackTraceElement.java,
4524 java/lang/StringBuffer.java,
4525 java/lang/StringIndexOutOfBoundsException.java,
4526 java/lang/ThreadDeath.java,
4527 java/lang/ThreadGroup.java,
4528 java/lang/Throwable.java,
4529 java/lang/UnsatisfiedLinkError.java,
4530 java/lang/UnsupportedOperationException.java,
4531 java/lang/VerifyError.java,
4532 java/lang/VirtualMachineError.java,
4533 java/lang/reflect/AccessibleObject.java,
4534 java/lang/reflect/Array.java,
4535 java/lang/reflect/InvocationTargetException.java,
4536 java/lang/reflect/Member.java,
4537 java/lang/reflect/Modifier.java,
4538 java/lang/reflect/Proxy.java,
4539 java/lang/reflect/ReflectPermission.java,
4540 java/lang/reflect/UndeclaredThrowableException.java,
4541 java/math/BigInteger.java,
4542 java/net/NetworkInterface.java,
4543 java/nio/ByteBufferHelper.java,
4544 java/nio/ByteBufferImpl.java,
4545 java/nio/DirectByteBufferImpl.java,
4546 java/nio/DoubleBufferImpl.java,
4547 java/nio/FloatBufferImpl.java,
4548 java/nio/IntBufferImpl.java,
4549 java/nio/LongBufferImpl.java,
4550 java/nio/ShortBufferImpl.java,
4551 java/nio/channels/Channel.java,
4552 java/nio/channels/IllegalBlockingModeException.java,
4553 java/nio/charset/spi/CharsetProvider.java,
4554 java/security/AccessControlException.java,
4555 java/security/BasicPermission.java,
4556 java/security/DigestException.java,
4557 java/security/DigestInputStream.java,
4558 java/security/DigestOutputStream.java,
4559 java/security/GeneralSecurityException.java,
4560 java/security/Guard.java,
4561 java/security/GuardedObject.java,
4562 java/security/InvalidAlgorithmParameterException.java,
4563 java/security/InvalidKeyException.java,
4564 java/security/InvalidParameterException.java,
4565 java/security/Key.java,
4566 java/security/KeyException.java,
4567 java/security/KeyManagementException.java,
4568 java/security/KeyStoreException.java,
4569 java/security/MessageDigestSpi.java,
4570 java/security/NoSuchAlgorithmException.java,
4571 java/security/NoSuchProviderException.java,
4572 java/security/Permission.java,
4573 java/security/PermissionCollection.java,
4574 java/security/Permissions.java,
4575 java/security/Principal.java,
4576 java/security/PrivateKey.java,
4577 java/security/PrivilegedActionException.java,
4578 java/security/ProviderException.java,
4579 java/security/PublicKey.java,
4580 java/security/SecureRandom.java,
4581 java/security/SecureRandomSpi.java,
4582 java/security/SignatureException.java,
4583 java/security/SignatureSpi.java,
4584 java/security/SignedObject.java,
4585 java/security/Signer.java,
4586 java/security/UnrecoverableKeyException.java,
4587 java/security/UnresolvedPermission.java,
4588 java/security/acl/AclNotFoundException.java,
4589 java/security/acl/LastOwnerException.java,
4590 java/security/acl/NotOwnerException.java,
4591 java/security/cert/CertPath.java,
4592 java/security/cert/CertPathBuilderException.java,
4593 java/security/cert/CertPathValidatorException.java,
4594 java/security/cert/CertStoreException.java,
4595 java/text/BreakIterator.java,
4596 java/text/ChoiceFormat.java,
4597 java/text/CollationElementIterator.java,
4598 java/text/CollationKey.java,
4599 java/text/Collator.java,
4600 java/text/DateFormat.java,
4601 java/text/DateFormatSymbols.java,
4602 java/text/DecimalFormat.java,
4603 java/text/DecimalFormatSymbols.java,
4604 java/text/FieldPosition.java,
4605 java/text/Format.java,
4606 java/text/NumberFormat.java,
4607 java/text/ParseException.java,
4608 java/text/ParsePosition.java,
4609 java/text/StringCharacterIterator.java,
4610 java/util/AbstractCollection.java,
4611 java/util/AbstractList.java,
4612 java/util/AbstractMap.java,
4613 java/util/AbstractSequentialList.java,
4614 java/util/AbstractSet.java,
4615 java/util/ArrayList.java,
4616 java/util/Arrays.java,
4617 java/util/BitSet.java,
4618 java/util/Collection.java,
4619 java/util/Collections.java,
4620 java/util/Comparator.java,
4621 java/util/ConcurrentModificationException.java,
4622 java/util/Currency.java,
4623 java/util/Date.java,
4624 java/util/EmptyStackException.java,
4625 java/util/Enumeration.java,
4626 java/util/EventListener.java,
4627 java/util/EventListenerProxy.java,
4628 java/util/EventObject.java,
4629 java/util/HashMap.java,
4630 java/util/HashSet.java,
4631 java/util/Hashtable.java,
4632 java/util/IdentityHashMap.java,
4633 java/util/Iterator.java,
4634 java/util/LinkedHashSet.java,
4635 java/util/LinkedList.java,
4636 java/util/List.java,
4637 java/util/ListIterator.java,
4638 java/util/ListResourceBundle.java,
4640 java/util/MissingResourceException.java,
4641 java/util/NoSuchElementException.java,
4642 java/util/Observable.java,
4643 java/util/Observer.java,
4644 java/util/Properties.java,
4645 java/util/PropertyPermissionCollection.java,
4646 java/util/RandomAccess.java,
4648 java/util/SortedMap.java,
4649 java/util/SortedSet.java,
4650 java/util/Stack.java,
4651 java/util/StringTokenizer.java,
4652 java/util/TooManyListenersException.java,
4653 java/util/TreeMap.java,
4654 java/util/TreeSet.java,
4655 java/util/Vector.java,
4656 java/util/logging/FileHandler.java,
4657 java/util/logging/Level.java,
4658 java/util/prefs/BackingStoreException.java,
4659 java/util/prefs/InvalidPreferencesFormatException.java,
4660 java/util/prefs/Preferences.java,
4661 javax/accessibility/Accessible.java,
4662 javax/accessibility/AccessibleAction.java,
4663 javax/accessibility/AccessibleBundle.java,
4664 javax/accessibility/AccessibleComponent.java,
4665 javax/accessibility/AccessibleContext.java,
4666 javax/accessibility/AccessibleEditableText.java,
4667 javax/accessibility/AccessibleExtendedComponent.java,
4668 javax/accessibility/AccessibleExtendedTable.java,
4669 javax/accessibility/AccessibleHyperlink.java,
4670 javax/accessibility/AccessibleHypertext.java,
4671 javax/accessibility/AccessibleIcon.java,
4672 javax/accessibility/AccessibleKeyBinding.java,
4673 javax/accessibility/AccessibleRelation.java,
4674 javax/accessibility/AccessibleRelationSet.java,
4675 javax/accessibility/AccessibleResourceBundle.java,
4676 javax/accessibility/AccessibleRole.java,
4677 javax/accessibility/AccessibleSelection.java,
4678 javax/accessibility/AccessibleState.java,
4679 javax/accessibility/AccessibleStateSet.java,
4680 javax/accessibility/AccessibleTable.java,
4681 javax/accessibility/AccessibleTableModelChange.java,
4682 javax/accessibility/AccessibleText.java,
4683 javax/accessibility/AccessibleValue.java,
4684 javax/imageio/IIOException.java,
4685 javax/imageio/ImageIO.java,
4686 javax/imageio/spi/IIOServiceProvider.java,
4687 javax/imageio/spi/ImageInputStreamSpi.java,
4688 javax/imageio/spi/ImageOutputStreamSpi.java,
4689 javax/imageio/spi/ImageReaderWriterSpi.java,
4690 javax/imageio/spi/ImageTranscoderSpi.java,
4691 javax/imageio/spi/RegisterableService.java,
4692 javax/imageio/spi/ServiceRegistry.java,
4693 javax/imageio/stream/IIOByteBuffer.java,
4694 javax/imageio/stream/ImageInputStream.java,
4695 javax/imageio/stream/ImageOutputStream.java,
4696 javax/naming/Binding.java,
4697 javax/naming/CannotProceedException.java,
4698 javax/naming/CompositeName.java,
4699 javax/naming/CompoundName.java,
4700 javax/naming/LinkException.java,
4701 javax/naming/LinkRef.java,
4702 javax/naming/NameClassPair.java,
4703 javax/naming/Reference.java,
4704 javax/naming/ReferralException.java,
4705 javax/naming/directory/Attribute.java,
4706 javax/naming/directory/AttributeModificationException.java,
4707 javax/naming/directory/Attributes.java,
4708 javax/naming/directory/DirContext.java,
4709 javax/naming/directory/ModificationItem.java,
4710 javax/naming/directory/SearchControls.java,
4711 javax/naming/directory/SearchResult.java,
4712 javax/naming/event/EventContext.java,
4713 javax/naming/event/EventDirContext.java,
4714 javax/naming/event/NamespaceChangeListener.java,
4715 javax/naming/event/NamingExceptionEvent.java,
4716 javax/naming/event/NamingListener.java,
4717 javax/naming/event/ObjectChangeListener.java,
4718 javax/naming/ldap/Control.java,
4719 javax/naming/ldap/ExtendedResponse.java,
4720 javax/naming/ldap/HasControls.java,
4721 javax/naming/ldap/LdapContext.java,
4722 javax/naming/ldap/UnsolicitedNotification.java,
4723 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4724 javax/naming/ldap/UnsolicitedNotificationListener.java,
4725 javax/naming/spi/DirectoryManager.java,
4726 javax/naming/spi/ResolveResult.java,
4727 javax/naming/spi/Resolver.java,
4728 javax/security/auth/callback/Callback.java,
4729 javax/security/auth/callback/CallbackHandler.java,
4730 javax/security/auth/callback/ChoiceCallback.java,
4731 javax/security/auth/callback/ConfirmationCallback.java,
4732 javax/security/auth/callback/LanguageCallback.java,
4733 javax/security/auth/callback/NameCallback.java,
4734 javax/security/auth/callback/PasswordCallback.java,
4735 javax/security/auth/callback/TextInputCallback.java,
4736 javax/security/auth/callback/TextOutputCallback.java,
4737 javax/security/auth/callback/UnsupportedCallbackException.java,
4738 javax/security/sasl/Sasl.java,
4739 javax/security/sasl/SaslServerFactory.java,
4740 javax/swing/DefaultBoundedRangeModel.java,
4741 javax/swing/JComponent.java,
4742 javax/swing/JList.java,
4743 javax/swing/JProgressBar.java,
4744 javax/swing/JRadioButton.java,
4745 javax/swing/JTextArea.java,
4746 javax/swing/JTextField.java,
4747 javax/swing/JToggleButton.java,
4748 javax/swing/JTree.java,
4749 javax/swing/SpinnerListModel.java,
4750 javax/swing/event/EventListenerList.java,
4751 javax/swing/text/JTextComponent.java,
4752 javax/swing/text/StringContent.java,
4753 javax/swing/text/Utilities.java,
4754 javax/swing/undo/UndoManager.java,
4755 javax/swing/undo/UndoableEditSupport.java,
4756 javax/transaction/HeuristicCommitException.java,
4757 javax/transaction/HeuristicMixedException.java,
4758 javax/transaction/HeuristicRollbackException.java,
4759 javax/transaction/InvalidTransactionException.java,
4760 javax/transaction/NotSupportedException.java,
4761 javax/transaction/RollbackException.java,
4762 javax/transaction/Status.java,
4763 javax/transaction/Synchronization.java,
4764 javax/transaction/SystemException.java,
4765 javax/transaction/Transaction.java,
4766 javax/transaction/TransactionManager.java,
4767 javax/transaction/TransactionRequiredException.java,
4768 javax/transaction/TransactionRolledbackException.java,
4769 javax/transaction/UserTransaction.java,
4770 javax/transaction/xa/XAException.java,
4771 javax/transaction/xa/XAResource.java,
4772 javax/transaction/xa/Xid.java,
4773 javax/xml/XMLConstants.java,
4774 javax/xml/datatype/DatatypeConfigurationException.java,
4775 javax/xml/datatype/DatatypeConstants.java,
4776 javax/xml/datatype/DatatypeFactory.java,
4777 javax/xml/datatype/Duration.java,
4778 javax/xml/datatype/XMLGregorianCalendar.java,
4779 javax/xml/namespace/NamespaceContext.java,
4780 javax/xml/namespace/QName.java,
4781 javax/xml/parsers/DocumentBuilder.java,
4782 javax/xml/parsers/DocumentBuilderFactory.java,
4783 javax/xml/parsers/FactoryConfigurationError.java,
4784 javax/xml/parsers/ParserConfigurationException.java,
4785 javax/xml/parsers/SAXParser.java,
4786 javax/xml/parsers/SAXParserFactory.java,
4787 javax/xml/transform/ErrorListener.java,
4788 javax/xml/transform/OutputKeys.java,
4789 javax/xml/transform/Result.java,
4790 javax/xml/transform/Source.java,
4791 javax/xml/transform/SourceLocator.java,
4792 javax/xml/transform/Templates.java,
4793 javax/xml/transform/Transformer.java,
4794 javax/xml/transform/TransformerConfigurationException.java,
4795 javax/xml/transform/TransformerException.java,
4796 javax/xml/transform/TransformerFactory.java,
4797 javax/xml/transform/TransformerFactoryConfigurationError.java,
4798 javax/xml/transform/URIResolver.java,
4799 javax/xml/transform/dom/DOMLocator.java,
4800 javax/xml/transform/dom/DOMResult.java,
4801 javax/xml/transform/dom/DOMSource.java,
4802 javax/xml/transform/sax/SAXResult.java,
4803 javax/xml/transform/sax/SAXSource.java,
4804 javax/xml/transform/sax/SAXTransformerFactory.java,
4805 javax/xml/transform/sax/TemplatesHandler.java,
4806 javax/xml/transform/sax/TransformerHandler.java,
4807 javax/xml/transform/stream/StreamResult.java,
4808 javax/xml/transform/stream/StreamSource.java,
4809 javax/xml/validation/Schema.java,
4810 javax/xml/validation/SchemaFactory.java,
4811 javax/xml/validation/TypeInfoProvider.java,
4812 javax/xml/validation/Validator.java,
4813 javax/xml/validation/ValidatorHandler.java,
4814 javax/xml/xpath/XPathConstants.java,
4815 javax/xml/xpath/XPathException.java,
4816 javax/xml/xpath/XPathExpression.java,
4817 javax/xml/xpath/XPathExpressionException.java,
4818 javax/xml/xpath/XPathFactory.java,
4819 javax/xml/xpath/XPathFactoryConfigurationException.java,
4820 javax/xml/xpath/XPathFunction.java,
4821 javax/xml/xpath/XPathFunctionException.java,
4822 javax/xml/xpath/XPathFunctionResolver.java:
4823 Fixed usage of @author tag, reworked import statements,
4824 removed CVS tags, changed the modifier order and fixed
4825 HTML usage in javadocs.
4827 2005-02-16 Julian Scheid <julian@sektor37.de>
4829 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4831 (encodeLoop): Likewise.
4833 2005-02-16 Mark Wielaard <mark@klomp.org>
4835 * Makefile.am (ordinary_java_source_files): Add new files
4836 gnu/java/security/ber/BER.java,
4837 gnu/java/security/ber/BEREncodingException.java,
4838 gnu/java/security/ber/BERReader.java,
4839 gnu/java/security/ber/BERValue.java,
4840 gnu/java/security/pkcs/PKCS7SignedData.java and
4841 gnu/java/security/pkcs/SignerInfo.java.
4842 * Makefile.in: Regenerated.
4844 2005-02-16 Casey Marshall <csm@gnu.org>
4846 * gnu/java/security/provider/GnuDSAPrivateKey.java
4847 (encodedKey): new field.
4848 (getFormat): return "PKCS#8".
4849 (getEncoded): implemented.
4850 (toString): check for 'null' values.
4851 * gnu/java/security/provider/GnuDSAPublicKey.java
4852 (encodedKey): new field.
4853 (getFormat): return "X.509".
4854 (getEncoded): implemented.
4855 (toString): check for 'null' values.
4857 2005-02-16 Michael Koch <konqueror@gmx.de>
4859 * java/util/jar/JarFile.java: Imports reworked.
4861 2005-02-16 Mark Wielaard <mark@klomp.org>
4863 * java/util/jar/JarFile.java (verify): Make package private.
4864 (signaturesRead): Likewise.
4865 (verified): Likewise.
4866 (entryCerts): Likewise.
4869 (entries): Construct new JarEnumeration with reference to this.
4870 (JarEnumeration): Make static.
4871 (JarEnumeration.jarfile): New field.
4872 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4873 Compare verified value to Boolean.TRUE or Boolean.False only
4874 when verify is true.
4875 (getEntry): Make synchronized. Compare value of verified to
4877 (getInputStream): Construct EntryInputStream with reference to this.
4878 (getManifest): Make synchronized.
4879 (EntryInputStream): Make static.
4880 (EntryInputStream.jarfile): New field.
4881 (EntryInputStream.EntryInputStream): Check if manifest exists,
4882 before getting attributes.
4883 (eof): Synchronize on jarfile.
4885 2005-02-16 Casey Marshall <csm@gnu.org>
4887 * java/util/jar/JarFile.java (verify): return if the jar is signed
4888 with an unsupported algorithm.
4890 2005-02-16 Mark Wielaard <mark@klomp.org>
4892 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4893 InputStream as argument.
4894 (getInputStream): Construct a new EntryInputStream with the result of
4895 super.getInputStream(entry).
4897 2005-02-16 Casey Marshall <csm@gnu.org>
4899 Signed JAR file support.
4900 * java/net/URLClassLoader.java
4901 (JarURLResource.getCertificates): re-read jar entry to ensure
4902 certificates are picked up.
4903 (findClass): fill in class `signers' field, too.
4904 * java/util/jar/JarFile.java (META_INF): new constant.
4905 (PKCS7_DSA_SUFFIX): new constant.
4906 (PKCS7_RSA_SUFFIX): new constant.
4907 (DIGEST_KEY_SUFFIX): new constant.
4908 (SF_SUFFIX): new constant.
4909 (MD2_OID): new constant.
4910 (MD4_OID): new constant.
4911 (MD5_OID): new constant.
4912 (SHA1_OID): new constant.
4913 (DSA_ENCRYPTION_OID): new constant.
4914 (RSA_ENCRYPTION_OID): new constant.
4915 (signaturesRead): new field.
4916 (verified): new field.
4917 (entryCerts): new field.
4918 (DEBUG): new constant.
4919 (debug): new method.
4920 (JarEnumeration.nextElement): fill in entry certificates, read
4921 signatures if they haven't been read.
4922 (getEntry): likewise.
4923 (getInputStream): verify stream if it hasn't been verified yet.
4924 (readSignatures): new method.
4925 (verify): new method.
4926 (verifyHashes): new method.
4927 (readManifestEntry): new method.
4928 (EntryInputStream): new class.
4929 * gnu/java/io/Base64InputStream.java (decode): new class
4931 * gnu/java/security/der/DERReader.java don't make class
4933 (in): made protected.
4935 (readLength): likewise.
4936 * gnu/java/security/ber/BER.java,
4937 * gnu/java/security/ber/BEREncodingException.java,
4938 * gnu/java/security/ber/BERReader.java,
4939 * gnu/java/security/ber/BERValue.java,
4940 * gnu/java/security/pkcs/PKCS7SignedData.java,
4941 * gnu/java/security/pkcs/SignerInfo.java:
4944 2005-02-16 Tom Tromey <tromey@redhat.com>
4946 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4947 copied file on exit.
4949 2005-02-15 Mark Wielaard <mark@klomp.org>
4951 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4953 2005-02-15 Michael Koch <konqueror@gmx.de>
4955 * gnu/java/awt/peer/gtk/GtkArg.java,
4956 gnu/java/awt/peer/gtk/GtkArgList.java:
4959 2005-02-15 Craig Black <craig.black@aonix.com>
4961 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4962 (postMenuActionEvent): Implement to notify ItemListeners.
4963 * java/awt/CheckboxMenuItem.java
4964 (dispatchEventImpl): Update state on ItemEvent.
4965 * java/awt/MenuItem.java
4966 (processActionEvent): Retarget event source.
4968 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4970 * gnu/java/awt/color/ClutProfileConverter.java,
4971 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4972 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4973 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4974 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4975 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4976 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4977 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4978 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4979 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4980 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4981 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4982 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4983 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4984 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4985 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4986 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4987 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4988 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4989 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4990 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4991 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4992 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4993 gnu/java/awt/peer/gtk/GtkToolkit.java,
4994 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4995 javax/swing/JPopupMenu.java,
4996 javax/swing/JSpinner.java,
4997 javax/swing/SortingFocusTraversalPolicy.java,
4998 javax/swing/SwingUtilities.java,
4999 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5000 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5001 javax/swing/tree/DefaultMutableTreeNode.java:
5002 Removed unused imports and expanded starred
5005 2005-02-15 Mark Wielaard <mark@klomp.org>
5007 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5008 IllegalArgumentException when the given String is null.
5010 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5011 when given keystoke sequence cannot be parsed.
5013 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5014 if one is installed. Only install the given menubar is not null.
5016 * javax/swing/JViewport.java (getViewSize): Return an empty
5017 Dimension when the view isn't set or preferred component size when
5020 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5021 empty Dimension when there is no view set.
5022 (minimumLayoutSize): Likewise.
5023 (layoutContainer): Don't try to layout when there is no view.
5025 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5028 * include/jawt.h: Likewise.
5029 * include/jawt_md.h: Likewise.
5030 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5032 * jni/classpath/classpath_jawt.h: Likewise.
5033 * jni/gtk-peer/gtk_jawt.c: Likewise.
5034 * Makefile.am: Build libjawt.so.
5036 2005-02-15 Michael Koch <konqueror@gmx.de>
5038 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5039 Merged file header with classpath CVS head.
5040 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5041 Merged code formatting with classpath CVS head.
5042 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5044 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5045 Handle special JNI strings with 2 '\0' at the end.
5046 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5047 Merged file header with classpath CVS head.
5048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5049 Merged code formatting with classpath CVS head.
5051 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5054 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5055 (handle_response): Use GTK_RESPONSE_ACCEPT.
5057 2005-02-15 Graydon Hoare <graydon@redhat.com>
5059 * Makefile.am: Fix library build breakage.
5060 * Makefile.in: Regenerate.
5062 2005-02-15 Michael Koch <konqueror@gmx.de>
5064 * javax/swing/JTabbedPane.java
5065 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5067 2005-02-15 Michael Koch <konqueror@gmx.de>
5069 * javax/swing/tree/DefaultMutableTreeNode.java:
5070 Reworked Javadocs all over.
5071 (getPathToRoot): Fixed direction of result array initialization.
5073 2005-02-15 Michael Koch <konqueror@gmx.de>
5075 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5076 Fix includes for cairo 0.3.0 snappshot.
5077 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5078 Merged file header from classpath CVS HEAD.
5080 2005-02-15 Craig Black <craig.black@aonix.com>
5082 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5083 (copyState): Pass a JNI global reference to signal handler.
5084 (realize_cb): Use and free JNI global reference.
5085 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5086 (create): Pass a JNI global reference to signal handler.
5087 (selection_changed): Match declaration.
5088 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5089 (dispose): Do not remove entries from state tables until after widget is
5092 2005-02-15 Michael Koch <konqueror@gmx.de>
5094 * java/awt/Container.javai (paramString):
5095 If layoutMgr is null just return result of super.paramString().
5096 * java/awt/Scrollbar.java: Reformatted.
5097 * java/awt/im/InputContext.java (static):
5098 Removed redundant initializations.
5100 2005-02-15 Michael Koch <konqueror@gmx.de>
5102 * javax/swing/ImageIcon.java,
5103 javax/swing/UIManager.java,
5104 javax/swing/text/EditorKit.java,
5105 javax/swing/text/Segment.java:
5106 More whitespace cleanups.
5108 2005-02-15 Michael Koch <konqueror@gmx.de>
5110 * gnu/java/awt/EmbeddedWindow.java,
5111 gnu/java/awt/image/ImageDecoder.java,
5112 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5113 java/awt/DefaultKeyboardFocusManager.java,
5114 java/awt/Frame.java,
5115 java/awt/image/RGBImageFilter.java,
5116 javax/swing/AbstractButton.java,
5117 javax/swing/ActionMap.java,
5118 javax/swing/ComponentInputMap.java,
5119 javax/swing/DefaultDesktopManager.java,
5120 javax/swing/ImageIcon.java,
5121 javax/swing/InputMap.java,
5122 javax/swing/JButton.java,
5123 javax/swing/JCheckBox.java,
5124 javax/swing/JCheckBoxMenuItem.java,
5125 javax/swing/JEditorPane.java,
5126 javax/swing/JMenu.java,
5127 javax/swing/JMenuItem.java,
5128 javax/swing/JOptionPane.java,
5129 javax/swing/JRootPane.java,
5130 javax/swing/JTable.java,
5131 javax/swing/MenuSelectionManager.java,
5132 javax/swing/RepaintManager.java,
5133 javax/swing/ScrollPaneLayout.java,
5134 javax/swing/SortingFocusTraversalPolicy.java,
5135 javax/swing/UIManager.java,
5136 javax/swing/ViewportLayout.java,
5137 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5138 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5139 javax/swing/plaf/basic/BasicLabelUI.java,
5140 javax/swing/plaf/basic/BasicListUI.java,
5141 javax/swing/plaf/basic/BasicMenuItemUI.java,
5142 javax/swing/plaf/basic/BasicMenuUI.java,
5143 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5144 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5145 javax/swing/plaf/basic/BasicRootPaneUI.java,
5146 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5147 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5148 javax/swing/plaf/basic/BasicTextUI.java,
5149 javax/swing/table/TableColumnModel.java,
5150 javax/swing/text/AbstractDocument.java,
5151 javax/swing/text/EditorKit.java,
5152 javax/swing/text/Position.java,
5153 javax/swing/text/Segment.java,
5154 javax/swing/text/StyledEditorKit.java,
5155 javax/swing/text/ViewFactory.java:
5156 Cleanup whitespace differences to classpath CVS HEAD.
5158 2005-02-15 Graydon Hoare <graydon@redhat.com>
5160 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5161 (finalize): Call finish from here.
5162 (produce): Not from here.
5163 * Makefile.am (gtk_c_source_files):
5164 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5165 * Makefile.in: Regenerate.
5166 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5168 (cairoDrawGdkTextLayout):
5170 (getPeerTextMetrics):
5171 (getPeerFontMetrics): Remove.
5172 (setFont): Don't call cairoSetFont.
5173 (cairoDrawGlyphVector): Accept font peer argument.
5174 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5176 (ensure_metrics_cairo):
5177 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5178 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5179 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5180 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5182 (metrics_surface): Remove.
5183 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5184 Pass and install font peer.
5186 2005-02-15 Graydon Hoare <graydon@redhat.com>
5188 * Makefile.am: Create "split library" structure.
5189 * Makefile.in: Regenerate.
5191 2005-02-15 Graydon Hoare <graydon@redhat.com>
5193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5194 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5195 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5197 Release GDK lock during upcalls.
5199 2005-02-15 Graydon Hoare <graydon@redhat.com>
5201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5203 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5204 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5205 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5207 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5210 (getTextMetrics): New native methods.
5211 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5212 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5213 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5214 * Makefile.in: Regenerate.
5216 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5218 * javax/swing/SwingUtilities.java:
5219 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5220 Implemented and documented.
5221 (getAccessibleChild(java.awt.Component, int)): Likewise.
5222 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5223 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5224 (getAccessibleStateSet(java.awt.Component)): Likewise.
5226 2005-02-15 Michael Koch <konqueror@gmx.de>
5228 * javax/swing/SwingUtilities.java
5229 (getFontMetrics): Removed.
5231 2005-02-15 Michael Koch <konqueror@gmx.de>
5233 * java/awt/Container.java
5234 (paramString): Implemented.
5235 * javax/swing/AbstractButton.java
5236 (paramString): Implemented.
5237 * javax/swing/JComponent.java
5238 (paramString): Implemented.
5239 * javax/swing/JMenu.java
5240 (paramString): Implemented.
5241 * javax/swing/JMenuBar.java
5242 (paramString): Implemented.
5243 * javax/swing/JMenuItem.java
5244 (paramString): Implemented.
5245 * javax/swing/JPopupMenu.java
5246 (paramString): Implemented.
5248 2005-02-15 Michael Koch <konqueror@gmx.de>
5250 * javax/swing/JMenu.java
5251 (uiClassID): Removed.
5252 (JMenu): Set invoker on popup menu.
5253 (getUIClassID): Return id directly.
5254 (getItemCount): Simply return getMenuComponentCount().
5256 (isTopLevelMenu): Simplified.
5257 * javax/swing/JMenuItem.java
5258 (uiClassID): Removed.
5259 (getUIClassID): Return id directly.
5260 * javax/swing/JPopupMenu.java
5261 (uiClassID): Removed.
5262 (JPopupMenu): Always initialize correctly.
5263 (getSubElements): Only return components implementing MenuElement
5265 (HeavyWeightPopup.hide): Removed.
5267 2005-02-15 Michael Koch <konqueror@gmx.de>
5269 * java/awt/image/ReplicateScaleFilter.java
5270 (replicatePixels): Made private.
5271 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5272 (DefaultRGBChooserPanel): Made package private.
5273 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5274 (RecentSwatchPanel): Likewise.
5275 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5276 (MouseInputAdapter): Made abstract.
5277 * javax/swing/tree/DefaultMutableTreeNode.java
5279 (growTree): Likewise.
5281 2005-02-15 Michael Koch <konqueror@gmx.de>
5283 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5286 2005-02-15 Michael Koch <konqueror@gmx.de>
5288 * javax/swing/JComponent.java (getComponentGraphics):
5289 Removed accidently commited code.
5291 2005-02-15 Graydon Hoare <graydon@redhat.com>
5293 * java/awt/dnd/DropTarget.java
5294 (addDropTargetListener): Despite documentation, do not throw.
5295 * javax/swing/JComponent.java: Set a default DropTarget.
5297 2005-02-15 Michael Koch <konqueror@gmx.de>
5299 * javax/swing/AbstractAction.java
5300 (ENABLED_PROPERTY): Removed.
5301 (setEnabled): Replaced constant with real string.
5302 * javax/swing/AbstractButton.java
5303 (createActionPropertyChangeListener.propertyChange): Likewise.
5304 * javax/swing/JComboBox.java
5305 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5306 (EDITABLE_CHANGED_PROPERTY): Removed.
5307 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5308 (ENABLED_CHANGED_PROPERTY):Likewise.
5309 (RENDERER_CHANGED_PROPERTY):Likewise.
5310 (EDITOR_CHANGED_PROPERTY):Likewise.
5311 (MODEL_CHANGED_PROPERTY):Likewise.
5312 (uiClassID):Likewise.
5313 (getUIClassID): Replaced constant with real string.
5314 (setModel):Likewise.
5315 (setEditable):Likewise.
5316 (setMaximumRowCount):Likewise.
5317 (setRenderer):Likewise.
5318 (setEditor):Likewise.
5319 (setEnabled):Likewise.
5320 * javax/swing/JLabel.java
5321 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5322 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5323 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5324 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5325 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5326 (ICON_CHANGED_PROPERTY): Likewise.
5327 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5328 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5329 (TEXT_CHANGED_PROPERTY): Likewise.
5330 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5331 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5332 (setText): Replaced constant with real string.
5333 (setIcon): Likewise.
5334 (setDisabledIcon): Likewise.
5335 (setDisplayedMnemonic): Likewise.
5336 (setIconTextGap): Likewise.
5337 (setVerticalAlignment): Likewise.
5338 (setHorizontalAlignment): Likewise.
5339 (setVerticalTextPosition): Likewise.
5340 (setHorizontalTextPosition): Likewise.
5341 (setLabelFor): Replaced constant with real string.
5342 Fire property change event after property got changed.
5343 * javax/swing/JList.java
5344 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5345 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5346 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5347 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5348 (MODEL_PROPERTY_CHANGED): Likewise.
5349 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5350 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5351 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5352 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5353 (setFixedCellWidth): Reimplemented.
5354 (setFixedCellHeight): Exit if new value is identical.
5355 Replaced constant with real string.
5356 (setSelectionBackground): Likewise.
5357 (setSelectionForeground): Likewise.
5358 (setPrototypeCellValue): Likewise.
5359 (setCellRenderer): Replaced constant with real string.
5360 (setModel): Likewise.
5361 (setSelectionModel): Likewise.
5362 * javax/swing/JMenuBar.java
5363 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5364 (MODEL_CHANGED_PROPERTY): Likewise.
5365 (MARGIN_CHANGED_PROPERTY): Likewise.
5366 (setBorderPainted): Reimplemented.
5367 (setMargin): Likewise.
5368 (setSelectionModel): Replaced constant with real string.
5369 * javax/swing/JPopupMenu.java
5370 (LABEL_CHANGED_PROPERTY): Removed.
5371 (VISIBLE_CHANGED_PROPERTY): Likewise.
5372 (borderPainted): Likewise.
5373 (setLabel): Replaced constant with real string.
5374 (setVisible): Exit if new value is identical.
5375 Replaced constant with real string.
5376 * javax/swing/JProgressBar.java
5377 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5378 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5379 (STRING_CHANGED_PROPERTY): Likewise.
5380 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5381 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5382 (setOrientation): Replaced constant with real string.
5383 (setStringPainted): Likewise.
5384 (setString): Likewise.
5385 (setBorderPainted): Likewise.
5386 (setIndeterminate): Likewise.
5387 * javax/swing/JScrollBar.java
5388 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5389 (MODEL_CHANGED_PROPERTY): Likewise.
5390 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5391 (setOrientation): Replaced constant with real string.
5392 (setModel): Likewise.
5393 (setUnitIncrement): Likewise.
5394 (setBlockIncrement): Likewise.
5395 * javax/swing/JScrollPane.java
5396 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5397 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5398 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5399 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5400 (LAYOUT_CHANGED_PROPERTY): Likewise.
5401 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5402 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5403 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5404 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5405 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5406 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5407 (setComponentOrientation): Replaced constant with real string.
5408 (setColumnHeader): Likewise.
5409 (setHorizontalScrollBar): Likewise.
5410 (setHorizontalScrollBarPolicy): Likewise.
5411 (setRowHeader): Likewise.
5412 (setVerticalScrollBar): Likewise.
5413 (setVerticalScrollBarPolicy): Likewise.
5414 (setWheelScrollingEnabled): Likewise.
5415 (setViewport): Likewise.
5416 (setViewportBorder): Likewise.
5417 * javax/swing/JSlider.java
5418 (INVERTED_CHANGED_PROPERTY): Removed.
5419 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5420 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5421 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5422 (MODEL_CHANGED_PROPERTY): Likewise.
5423 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5424 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5425 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5426 (setModel): Replaced constant with real string.
5427 (setOrientation): Likewise.
5428 (setLabelTable): Likewise.
5429 (setInverted): Likewise.
5430 (setMajorTickSpacing): Likewise.
5431 (setMinorTickSpacing): Likewise.
5432 (setPaintTicks): Likewise.
5433 (setPaintLabels): Likewise.
5434 * javax/swing/JTabbedPane.java
5435 (MODEL_CHANGED_PROPERTY): Removed.
5436 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5437 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5438 (setModel): Replaced constant with real string.
5439 (setTabPlacement): Likewise.
5440 (setTabLayoutPolicy): Likewise.
5441 * javax/swing/JToolBar.java
5442 (ORIENTATION_CHANGED_PROPERTY): Removed.
5443 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5444 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5445 (MARGIN_CHANGED_PROPERTY): Likewise.
5446 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5447 (setRollover): Replaced constant with real string.
5448 (setMargin): Likewise.
5449 (setBorderPainted): Likewise.
5450 (setFloatable): Likewise.
5451 (setOrientation): Likewise.
5452 * javax/swing/plaf/basic/BasicComboBoxUI.java
5453 (PropertyChangeHandler.propertyChange): Likewise.
5454 * javax/swing/plaf/basic/BasicComboPopup.java
5455 (PropertyChangeHandler.propertyChange): Likewise.
5456 * javax/swing/plaf/basic/BasicMenuBarUI.java
5457 (PropertyChangeHandler.propertyChange): Likewise.
5458 * javax/swing/plaf/basic/BasicProgressBarUI.java
5459 (PropertyChangeHandler.propertyChange): Likewise.
5460 * javax/swing/plaf/basic/BasicScrollBarUI.java
5461 (PropertyChangeHandler.propertyChange): Likewise.
5462 * javax/swing/plaf/basic/BasicSliderUI.java
5463 (PropertyChangeHandler.propertyChange): Likewise.
5464 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5465 (PropertyChangeHandler.propertyChange): Likewise.
5466 * javax/swing/plaf/basic/BasicToolBarUI.java
5467 (PropertyChangeHandler.propertyChange): Likewise.
5469 2005-02-15 Michael Koch <konqueror@gmx.de>
5471 * javax/swing/DefaultButtonModel.java
5472 (changeState): Made private.
5473 * javax/swing/DefaultDesktopManager.java
5474 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5475 * javax/swing/JLayeredPane.java
5476 (layerToRange): Made private.
5477 (incrLayer): Likewise.
5478 (decrLayer): Likewise.
5479 * javax/swing/JTable.java
5480 (dragEnabled): Likewise.
5481 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5482 * javax/swing/KeyStroke.java
5483 (Keystroke): Made private.
5484 * javax/swing/TransferHandler.java
5485 (COMMAND_COPY): Likewise.
5486 (COMMAND_CUT): Likewise.
5487 (COMMAND_PASTE): Likewise.
5489 2005-02-15 Michael Koch <konqueror@gmx.de>
5491 * javax/swing/JTextField.java
5492 (postActionEvent): Use text in field when actionCommand is null.
5493 (getActionCommand): Removed.
5495 2005-02-15 Michael Koch <konqueror@gmx.de>
5497 * javax/swing/AbstractSet.java: Removed.
5498 * Makefile.am: Removed javax/swing/AbstractSet.java.
5499 * Makefile.in: Regenerated.
5501 2005-02-15 Michael Koch <konqueror@gmx.de>
5503 * java/awt/Window.java
5504 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5505 * java/awt/dnd/DnDConstants.java
5506 (DnDConstants): New private constructor.
5508 2005-02-15 Michael Koch <konqueror@gmx.de>
5510 * javax/swing/DefaultCellRenderer.java: Removed.
5511 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5512 * Makefile.in: Regenerated.
5514 2005-02-15 Michael Koch <konqueror@gmx.de>
5516 * javax/swing/AbstractButton.java
5517 (fireItemStateChanged): Made protected.
5518 (fireActionPerformed): Likewise.
5519 (fireStateChanged): Likewise.
5520 * javax/swing/DefaultButtonModel.java
5521 (fireItemStateChanged): Likewise.
5522 (fireActionPerformed): Likewise.
5523 (fireStateChanged): Likewise.
5524 * javax/swing/JApplet.java
5526 (frameInit): Likewise.
5527 (setRootPane): Made protected.
5528 (createRootPane): Likewise.
5529 * javax/swing/JComponent.java
5530 (getClientProperty): Likewise.
5531 (putClientProperty): Likewise.
5532 * javax/swing/JEditorPane.java
5533 (getContentType): Likewise.
5534 (setContentType): Likewise.
5535 * javax/swing/JFrame.java
5536 (setRootPane): Likewise.
5537 (createRootPane): Likewise.
5538 * javax/swing/JInternalFrame.java
5539 (getFocusCycleRootAncestor): Made final. Added @since tag.
5540 (isFocusCycleRoot): Likewise.
5541 (getWarningString): Made final.
5542 * javax/swing/JScrollBar.java
5543 (changeListener): Removed.
5544 (changeEvent): Likewise.
5545 (createChangeListener): Likewise.
5546 (fireStateChanged): Likewise.
5547 (addChangeListener): Likewise.
5548 (removeChangeListener): Likewise.
5549 (getChangeListeners): Likewise.
5550 * javax/swing/JScrollPane.java
5551 (createViewport): Made protected.
5552 * javax/swing/JViewport.java
5553 (addImpl): Likewise.
5554 (setBorder): New method.
5555 * javax/swing/JWindow.java
5556 (setRootPane): Made protected.
5557 (createRootPane): Likewise.
5558 * javax/swing/plaf/basic/BasicButtonUI.java
5559 (installListeners): Likewise.
5560 (uninstallListeners): Likewise.
5561 * javax/swing/plaf/basic/BasicProgressBarUI.java
5562 (incrementAnimationIndex): Likewise.
5563 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5564 (createLayoutManager): Likewise.
5565 * javax/swing/table/DefaultTableCellRenderer.java
5566 (firePropertyChange): Likewise.
5567 * javax/swing/table/JTableHeader.java
5568 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5570 * javax/swing/text/PlainDocument.java
5571 (reindex): Made private.
5572 * javax/swing/text/PlainView.java
5573 (drawLine): Made protected.
5574 (getTabSize): Likewise.
5575 * javax/swing/text/View.java
5577 (preferenceChanged): New method.
5578 (getBreakWeight): Likewise.
5579 (breakView): Likewise.
5580 (getViewIndex): Likewise.
5582 2005-02-15 Michael Koch <konqueror@gmx.de>
5584 * javax/swing/JScrollPane.java
5585 (ScrollBar): Made class protected.
5586 * javax/swing/JSpinner.java
5587 (JSpinner): Added @since tag.
5588 (listenerList): Removed.
5589 * javax/swing/JTable.java
5590 (setValueAt): New method.
5591 (getColumn): Likewise.
5592 * javax/swing/JWindow.java
5593 (rootPaneCheckingEnabled): Renamed from checking.
5595 2005-02-15 Michael Koch <konqueror@gmx.de>
5597 * javax/swing/plaf/basic/BasicTextUI.java
5598 (RootView.modelToView): Made it public and return a java.awt.Shape.
5599 Handle null subview.
5600 (uninstall): Set textComponent to null when its not possible used
5602 * javax/swing/text/View.java
5603 (setParent): Use better argument name.
5604 (getContainer): Get parent via getParent().
5605 (getViewFactory): Likewise.
5606 (getAttributes): Get element via getElement().
5607 (getStartOffset): Likewise.
5608 (getEndOffset): Likewise.
5609 (getResizeWeight): New method.
5610 (getMaximumSpan): Likewise.
5611 (getMinimumSpan): Likewise.
5612 (setSize): Likewise.
5613 (getGraphics): Likewise.
5615 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5617 * java/awt/Checkbox.java:
5618 (AccessibleAWTCheckbox()): Added public constructor
5620 * java/awt/Choice.java:
5621 (AccessibleAWTChoice): Added class documentation.
5622 (AccessibleAWTChoice()): Added public constructor
5624 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5625 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5626 and changed role to COMBO_BOX.
5627 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5628 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5629 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5631 2005-02-15 Graydon Hoare <graydon@redhat.com>
5632 Michael Koch <konqueror@gmx.de>
5634 * javax/swing/LayoutFocusTraversalPolicy.java,
5635 javax/swing/SortingFocusTraversalPolicy.java:
5637 * Makefile.am: Added new classes.
5638 * Makefike.in: Regenerated.
5641 2005-02-15 Michael Koch <konqueror@gmx.de>
5643 * javax/swing/DebugGraphics.java: Mostly implemented.
5645 2005-02-15 Michael Koch <konqueror@gmx.de>
5647 * javax/swing/SwingUtilities.java
5648 (findFocusOwner): New method.
5650 2005-02-15 Michael Koch <konqueror@gmx.de>
5652 * javax/swing/text/DefaultEditorKit.java
5653 (read): Added '\n' after each line.
5654 * javax/swing/text/PlainView.java
5655 (modelToView): Update metrics.
5656 (drawLine): Use offsets from element.
5657 (paint): Update metrics. Draw all lines.
5659 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5661 * java/awt/Checkbox.java:
5662 (AccessibleAWTCheckbox): Added class documentation
5663 * java/awt/Scrollbar.java:
5664 (AccessibleAWTScrollBar): typo corrected and docs added
5665 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5666 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5667 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5668 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5669 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5670 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5671 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5672 (getAccessibleContext()): name of accessible class corrected
5674 2005-02-15 Mark Wielaard <mark@klomp.org>
5676 * java/awt/BasicStroke.java (hashCode): Implement.
5679 2005-02-15 Michael Koch <konqueror@gmx.de>
5681 * java/awt/print/PrinterJob.java
5682 (pageDialog): Throws java.awt.HeadlessException.
5683 (printDialog): Likewise.
5685 2005-02-15 Mark Wielaard <mark@klomp.org>
5687 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5689 2005-02-15 Michael Koch <konqueror@gmx.de>
5691 * javax/swing/JTable.java
5692 (getValueAt): New method.
5693 * javax/swing/table/JTableHeader.java
5694 (columnAtPoint): New method.
5696 2005-02-15 Michael Koch <konqueror@gmx.de>
5698 * javax/swing/JTextField.java
5699 (actions): New field.
5700 (static): Initalize actions field.
5701 (getActions): New method.
5703 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5705 * java/awt/Checkbox.java:
5706 (AccessibleAWTCheckbox): name capitalization corrected
5707 and serialization UID added.
5708 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5710 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5711 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5712 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5713 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5714 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5715 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5716 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5717 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5718 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5719 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5720 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5722 (getAccessibleContext()): name of accessible class corrected
5724 2005-02-15 Sven de Marothy <sven@physto.se>
5726 * java/awt/geom/doc-files/Area-1.png,
5727 java/awt/geom/doc-files/Ellipse-1.png,
5728 java/awt/geom/doc-files/GeneralPath-1.png:
5731 2005-02-15 Graydon Hoare <graydon@redhat.com>
5733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5734 Use union to avoid type-punning warning.
5736 2005-02-15 Michael Koch <konqueror@gmx.de>
5738 * javax/swing/DefaultListSelectionModel.java
5739 (clone): New method.
5741 2005-02-15 Mark Wielaard <mark@klomp.org>
5743 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5744 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5745 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5746 Correct method signature of gtkSetFilename.
5748 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5750 * javax/swing/text/StringContent.java: New file.
5752 2005-02-15 Michael Koch <konqueror@gmx.de>
5754 * Makefile.am: Added javax/swing/text/StringContent.java.
5755 * Makefile.in: Regenerated.
5757 2005-02-15 Michael Koch <konqueror@gmx.de>
5759 * gnu/java/awt/ClasspathToolkit.java:
5760 Import statements reworked.
5761 (imageCache): Made it of type java.util.HashMap.
5763 2005-02-15 Michael Koch <konqueror@gmx.de>
5765 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5766 Reworked import statements.
5768 2005-02-15 Graydon Hoare <graydon@redhat.com>
5770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5772 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5776 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5777 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5782 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5784 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5786 Rewrite uses of extern variable to be function calls.
5787 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5788 function, from extern variable.
5789 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5790 (gdk_env): Remove variable, add new function.
5791 (java_vm): Add new variable.
5792 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5793 java_vm rather than old gdk_env variable.
5795 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5797 * javax/swing/DefaultListModel.java
5798 (add): fire correct event,
5799 (addElement): corrected interval indices in event,
5800 (clear): corrected upper bound for interval, only fire event if
5802 (setSize): fire appropriate event.
5804 2005-02-15 Graydon Hoare <graydon@redhat.com>
5806 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5807 * gnu/awt/xlib/XToolkit.java: Likewise.
5808 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5809 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5810 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5811 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5812 * java/awt/EventQueue.java (getNextEvent):
5813 Adjust event loop to switch to native mode after 100ms.
5814 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5816 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5817 Wake up event thread.
5818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5819 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5820 Adjust event loop to switch to java mode after 100ms.
5822 2005-02-15 Graydon Hoare <graydon@redhat.com>
5824 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5825 accidentally removed in last change.
5827 2005-02-15 Michael Koch <konqueror@gmx.de>
5829 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5830 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5832 2005-02-15 Graydon Hoare <graydon@redhat.com>
5834 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5835 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5836 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5837 * jni.cc: Reuse bottom frame between calls, avoid clearing
5838 frame when no local references are made.
5840 2005-02-15 Michael Koch <konqueror@gmx.de>
5842 * javax/swing/UIDefaults.java (UIDefaults):
5843 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5844 Fixed HTML entity and removed a redundant comma.
5846 2005-02-15 Michael Koch <konqueror@gmx.de>
5848 * javax/swing/text/DefaultEditorKit.java
5849 (deinstall): Removed.
5850 (install): Likewise.
5852 2005-02-15 Michael Koch <konqueror@gmx.de>
5854 * javax/swing/UIDefaults.java (put): Handle value of null.
5856 2005-02-15 Michael Koch <konqueror@gmx.de>
5858 * java/awt/Robot.java,
5859 java/awt/Scrollbar.java,
5860 java/awt/print/PrinterJob.java,
5861 javax/swing/JTable.java,
5862 javax/swing/text/AbstractDocument.java:
5863 Reworked import statements.
5865 2005-02-15 Michael Koch <konqueror@gmx.de>
5867 * javax/swing/JEditorPane.java
5868 (read): Implemented.
5870 * javax/swing/text/DefaultEditorKit.java
5871 (page): Renamed from page_url. Made private.
5872 (editorKit): Renamed from kit. Made private.
5874 (JEditorPane): All constructors reimplemented.
5875 (getContentType): Use content type from editor kit.
5876 (getEditorKit): Return editorKit.
5877 (getEditorKitForContentType):Likewise.
5878 (getPage): Return page.
5879 (setContentType): Reimplemented.
5880 (setEditorKit): Likewise.
5881 (setEditorKitForContentType): Removed wrong implementation.
5882 (setPage): Implemented.
5884 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5887 (nativeSetIconImageFromData): Re-add native implementation.
5889 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5891 * javax/swing/table/DefaultTableModel.java
5892 (DefaultTableModel()): Added Javadocs.
5893 (DefaultTableModel(int, int)): Fixed implementation.
5894 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5895 for negative rowCount.
5896 (DefaultTableModel(Object[], int)): Added Javadocs.
5897 (DefaultTableModel(Vector, Vector)): Likewise.
5898 (DefaultTableModel(Object[][], Object[])): Likewise.
5899 (getDataVector): Likewise.
5900 (setDataVector(Vector, Vector)): Likewise.
5901 (setDataVector(Object[][], Object[])): Likewise.
5902 (newDataAvailable): Likewise.
5903 (newRowsAdded): Likewise.
5904 (rowsRemoved): Likewise.
5905 (setColumnIdentifiers(Vector)): Allow for null argument.
5906 (setColumnIdentifiers(Object[])): Added Javadocs.
5907 (setNumRows): Likewise.
5908 (setRowCount): Adds new rows if necessary, and sends more specific
5910 (setColumnCount): Allow for null columnIdentifiers.
5911 (addColumn(Object)): Added Javadocs.
5912 (addColumn(Object, Vector)): Handle null columnData.
5913 (addColumn(Object, Object[])): Handle columnData with more or less
5914 entries than rows in the table.
5915 (addRow(Vector)): Fire appropriate event.
5916 (addRow(Object[])): Added Javadocs.
5917 (insertRow(int, Vector)): Fire appropriate event.
5918 (insertRow(int, Object[])): Added Javadocs.
5919 (moveRow): Reimplemented.
5920 (removeRow(int)): Fire appropriate event.
5921 (getColumnCount): Allow for null columnIdentifiers.
5922 (getColumnName): Now returns empty string when column index is too
5924 (isCellEditable): Added Javadocs.
5925 (getValueAt): Likewise.
5926 (setValueAt): Fire more specific event.
5927 (convertToVector): Added Javadocs.
5928 * javax/swing/table/TableModel.java
5931 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5933 * libgcj.spec.in (lib): Add -l-javax-imageio.
5935 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5937 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5938 references to event queue q with method call q().
5939 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5940 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5941 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5942 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5943 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5944 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5947 2005-02-15 Graydon Hoare <graydon@redhat.com>
5949 * gnu/java/awt/ClasspathToolkit.java
5950 (registerImageIOSpis): New method.
5951 * gnu/java/awt/image/ImageDecoder.java
5952 (imageDecoder): New constructor using InputStream
5953 (startProduction): Handle existing InputStream.
5954 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5955 (findSimpleIntegerArray): Make public and static.
5956 (updateBufferedImage): Set each pixel, in a loop.
5957 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5958 Implement ImageIO SPI classes.
5959 (createBufferedImage): Rewrite in terms of SPI classes.
5960 * gnu/java/awt/peer/gtk/GtkToolkit.java
5961 (registerImageIOSpis): New method.
5962 * java/lang/reflect/natMethod.cc
5963 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5964 which lets JNI call interface methods properly.
5965 * javax/imageio/ImageIO.java
5966 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5967 (WriterMIMETypeFilter.filter): Likewise.
5968 (ImageReaderIterator): Pass extension argument through to SPI.
5969 (getReadersByFilter): Likewise.
5970 (getWritersByFilter): Likewise.
5971 (getImageReadersByFormatName): Likewise.
5972 (getImageReadersByMIMEType): Likewise.
5973 (getImageReadersBySuffix): Likewise.
5974 (getImageWritersByFormatName): Likewise.
5975 (getImageWritersByMIMEType): Likewise.
5976 (getImageWritersBySuffix): Likewise.
5979 * javax/imageio/ImageReader.java
5980 (progressListeners): Initialize.
5981 (setInput): Implement.
5982 * javax/imageio/ImageWriter.java
5983 (progressListeners): Initialize.
5984 (warningListeners): Likewise.
5985 (warningLocales): Likewise.
5986 (setOutput): Test "isInstance" rather than class equality.
5987 * javax/imageio/spi/IIORegistry.java
5988 (static): Add reader and writer SPIs.
5989 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5991 (query_formats): New function.
5992 (save_to_stream): Likewise.
5993 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5995 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5997 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5999 (keyPress): Likewise.
6000 (keyRelease): Likewise.
6002 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6004 * javax/swing/JTable.java
6005 (columnAtPoint): New Method. Implemented.
6006 (rowAtPoint): Likewise.
6007 (countSelections): Fixed few small count errors.
6008 (getSelections): Likewise.
6009 (setSelectionMode): Set selection mode for column
6010 selection model in addition to row selection model.
6011 * javax/swing/plaf/basic/BasicTableUI.java:
6012 (getRowForPoint): Removed. Replaced by
6013 JTable.rowAtPoint().
6014 (getColForPoint): Removed. Replaced by
6015 JTable.columnAtPoint().
6016 (updateSelection): Updated to call JTable.columnAtPoint
6017 and JTable.rowAtPoint.
6018 * javax/swing/table/DefaultTableColumnModel.java:
6019 (getSelectedColumns): Implemented.
6020 (getSelectedColumnCount): Implemented.
6022 2005-02-15 Graydon Hoare <graydon@redhat.com>
6025 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6026 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6027 * Makefile.in: Regenerate.
6028 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6029 * gnu/awt/xlib/XFramePeer.java: Likewise.
6030 * gnu/awt/xlib/XToolkit.java: Likewise.
6031 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6032 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6033 * gnu/java/awt/ClasspathToolkit.java
6036 (iterateNativeQueue): New methods.
6037 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6038 * gnu/java/awt/peer/gtk/GtkToolkit.java
6039 (gtkInit): Absorb from defunct GtkMainThread class.
6040 (static): Run gtkInit in static startup block.
6041 (GtkToolkit): Remove construction of GtkMainThread and queue.
6042 (getSystemEventQueueImpl): Construct queue when requested.
6045 (iterateNativeQueue): New methods.
6046 * java/awt/Component.java (removeNotify): Remove race.
6047 * java/awt/EventDispatchThread.java
6048 (EventDispatchThread): Don't start on construction.
6049 (run): Remove isInterrupted check.
6050 * java/awt/EventQueue.java (shutdown): New flag.
6051 (isShutdown): New method checking J2SE shutdown condition.
6052 (setShutdown): New method.
6053 (getNextEvent): Restructure to use ClasspathToolkit.
6054 (postEvent): Activate new thread on posting, wake thread on
6055 post of possible shutdown condition event.
6056 * java/awt/Frame.java
6057 (Frame): Call noteFrame in all constructors.
6058 (fireDummyEvent): New helper method.
6059 (addNotify): Fire a dummy event to wake up queue.
6060 (removeNotify): Fire a dummy event to wake up queue.
6061 (noteFrame): New method.
6062 (weakFrames): New static field.
6063 (getFrames): Implement.
6064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6067 Move everything from GtkMainThread into this file
6068 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6069 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6070 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6071 New functions to implement single-threaded queue semantics.
6073 2005-02-15 Michael Koch <konqueror@gmx.de>
6075 * javax/swing/plaf/metal/MetalLookAndFeel.java
6076 (getControlTextFont): New method.
6077 (getMenuTextFont): Likewise.
6078 (getSubTextFont): Likewise.
6079 (getSystemTextFont): Likewise.
6080 (getUserTextFont): Likewise.
6081 (getWindowTitleFont): Likewise.
6083 2005-02-15 Michael Koch <konqueror@gmx.de>
6085 * javax/swing/text/AbstractDocument.java
6086 (documentFilter): New field.
6087 (getDocumentFilter): New method.
6088 (setDocumentFilter): Likewise.
6091 2005-02-15 Michael Koch <konqueror@gmx.de>
6093 * javax/swing/JTree.java
6094 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6096 2005-02-15 Michael Koch <konqueror@gmx.de>
6098 * javax/swing/text/AbstractDocument.java
6099 (AbstractElement.getLength): Fixed off-by-one error.
6100 (AbstractElement.children): Made abstract.
6101 (AbstractElement.getAllowsChildren): Likewise.
6102 (AbstractElement.getElement): Likewise.
6103 (AbstractElement.dumpElement): New private method.
6104 (AbstractElement.dump): New method.
6105 (BranchElememt.getName): Fixed implementation.
6106 (BranchElememt.toString): Likewise.
6107 (BranchElememt.getElement): Fixed arguments.
6108 (LeafElement.getName): Fixed implementation.
6109 (LeafElement.toString): Likewise.
6110 * javax/swing/text/GapContent.java
6111 (GapContent): Put default content into buffer.
6112 * javax/swing/text/PlainDocument.java
6113 (reindex): Use empty attribute sets instead of null.
6114 (createDefaultRoot): Reimplemented.
6115 (insertUpdate): Call super method.
6116 (removeUpdate): Likewise.
6117 (getParagraphElement): Implemented.
6119 2005-02-15 Michael Koch <konqueror@gmx.de>
6121 * gnu/java/awt/ClasspathToolkit.java
6122 (createRobot): Throws java.awt.AWTException.
6123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6124 Added '__attribute__((unused))' to all unused method arguments.
6126 2005-02-15 Michael Koch <konqueror@gmx.de>
6128 * javax/swing/DefaultBoundedRangeModel.java
6129 (fireValueChanged): Fixed off-by-one error.
6131 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6133 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6134 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6136 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6137 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6138 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6139 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6140 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6141 (getDefaultScreenDevice): Implement.
6142 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6143 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6144 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6145 * java/awt/Robot.java: Implement.
6146 * java/awt/peer/RobotPeer.java: Rename parameters.
6147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6149 (awt_keycode_to_keysym): Make non-static.
6150 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6151 AWT_BUTTON3_MASK): Declare constants.
6152 (awt_keycode_to_keysym): Declare.
6154 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6155 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6156 and is non-empty pass its value to "make check".
6157 (test_mauve_sim): Likewise.
6159 2005-02-15 Michael Koch <konqueror@gmx.de>
6161 * javax/imageio/IIOParam.java
6162 (setSourceBands): New method.
6163 (setSourceSubsampling): Likewise.
6164 * javax/imageio/ImageReadParam.java
6165 (setDestination): Likewise.
6166 (setDestinationBands): Likewise.
6167 (setSourceProgressivePasses): Likewise.
6168 * javax/imageio/metadata/IIOInvalidTreeException.java
6169 (serialVersionUID): New static field.
6170 * javax/imageio/metadata/IIOMetadataNode.java
6171 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6172 (parent): Dont initailize with default value explicitely.
6174 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6175 (removeAttributeNode): Likewise.
6176 (removeAttributeNS): Likewise.
6177 (setAttribute): Likewise.
6178 (setAttributeNode): Likewise.
6179 (setAttributeNodeNS): Likewise.
6180 (setAttributeNS): Likewise.
6181 (appendChild): Likewise.
6182 (getNodeValue): Likewise.
6183 (insertBefore): Likewise.
6184 (removeChild): Likewise.
6185 (replaceChild): Likewise.
6186 (setPrefix): Likewise.
6188 2005-02-15 Michael Koch <konqueror@gmx.de>
6190 * javax/swing/LookAndFeel.java
6191 (getDesktopPropertyValue): New method.
6193 2005-02-15 Michael Koch <konqueror@gmx.de>
6195 * javax/swing/JTree.java
6196 (hasChildren): New instance field.
6198 2005-02-15 Michael Koch <konqueror@gmx.de>
6200 * javax/swing/JComponent.java
6201 (getToolTipText): New method.
6202 (getTitledBorderText): Likewise.
6203 (getAccessibleKeyBinding): Likewise.
6204 (getVerifyInputWhenFocusTarget): Likewise.
6205 (setVerifyInputWhenFocusTarget): Likewise.
6206 (verifyInputWhenFocusTarget): New instance field.
6208 2005-02-15 Michael Koch <konqueror@gmx.de>
6210 * javax/swing/DefaultListSelectionModel.java
6211 (fireValueChanged): New method.
6213 2005-02-15 Michael Koch <konqueror@gmx.de>
6215 * javax/swing/DefaultBoundedRangeModel.java:
6216 Fixed javadocs all over.
6217 (fireStateChanged): Simplified.
6218 * javax/swing/BoundedRangeModel.java:
6221 2005-02-15 Michael Koch <konqueror@gmx.de>
6223 * javax/swing/JRootPane.java
6224 (setMenuBar): Added @deprecated tag.
6225 (getMenuBar): Likewise.
6226 * javax/swing/JTable.java
6227 (sizeColumnsToFit): Likewise.
6229 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6231 * javax/swing/ImageIcon.java (setImage): Implemented.
6233 2005-02-15 Michael Koch <konqueror@gmx.de>
6235 * javax/swing/JTable.java:
6236 Removed unused imports.
6238 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6240 (prepareRenderer): Get column's index in dataModel instead
6241 of column's view index.
6242 (getColumnCount): return count of the columns in ColumnModel,
6244 (removeColumn): Implemented.
6245 (moveColumm): Likewise.
6246 (setRowHeight): throw IllegalArgumentException if height is
6248 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6249 (DefaultTableColumnModel):Add call to createSelectionModel().
6250 (addColumn): Fire columnAdded event to registered listeners.
6251 (removeColumn): Fire columnRemoved event to registered listeners.
6252 (moveColumn): Fire columnMoved event to registered listeners.
6253 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6254 (getColumnIndex): Changed parameter name.
6255 (setColumnSelectionAllowed): Likewise.
6256 (fireColumnAdded): Implemented.
6257 (fireColumnRemoved): Likewise.
6258 (fireColumnMoved): Likewise.
6259 (fireColumnMarginChanged): Likewise.
6260 (getListeners): Changed parameter name.
6261 (propertyChange): Implemented.
6262 (valueChanged): Changed parameter name.
6263 (createSelectionModel): Implemented.
6265 2005-02-15 Michael Koch <konqueror@gmx.de>
6267 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6268 Explicitely import used classes.
6269 (getLocalGraphicsEnvironment): Simplify.
6270 * java/awt/Window.java (Window):
6271 Enable code to get the default GraphicsConfiguration.
6273 2005-02-15 Michael Koch <konqueror@gmx.de>
6275 * javax/swing/plaf/metal/DefaultMetalTheme.java
6276 (CONTROL_TEXT_FONT): New static field.
6277 (MENU_TEXT_FONT): Likewise.
6278 (SUB_TEXT_FONT): Likewise.
6279 (SYSTEM_TEXT_FONT): Likewise.
6280 (USER_TEXT_FONT): Likewise.
6281 (WINDOW_TITLE_FONT): Likewise.
6282 (getControlTextFont): New method.
6283 (getMenuTextFont): Likewise.
6284 (getSubTextFont): Likewise.
6285 (getSystemTextFont): Likewise.
6286 (getUserTextFont): Likewise.
6287 (getWindowTitleFont): Likewise.
6288 * javax/swing/plaf/metal/MetalTheme.java
6289 (BLACK): Initialize with Color.BLACK.
6290 (WHITE): Initialize with Color.WHITE.
6291 (getInactiveControlTextColor): Return getControlDisabled().
6292 (getMenuDisabledForeground): Return getSecondary3().
6293 (getControlTextFont): New abstract method.
6294 (getMenuTextFont): Likewise.
6295 (getSubTextFont): Likewise.
6296 (getSystemTextFont): Likewise.
6297 (getUserTextFont): Likewise.
6298 (getWindowTitleFont): Likewise.
6300 2005-02-15 Michael Koch <konqueror@gmx.de>
6302 * javax/swing/JFormattedTextField.java
6303 (getFocusLostBehavior): Fixed typo in method name.
6304 (setFocusLostBehavior): Likewise.
6306 2005-02-15 Michael Koch <konqueror@gmx.de>
6308 * javax/swing/TransferHandler.java:
6309 Reworked import statements.
6311 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6313 * java/awt/Button.java,
6314 java/awt/Canvas.java,
6315 java/awt/Checkbox.java,
6316 java/awt/CheckboxMenuItem.java,
6317 java/awt/Choice.java,
6318 java/awt/Dialog.java,
6319 java/awt/Frame.java,
6320 java/awt/Label.java,
6323 java/awt/MenuBar.java,
6324 java/awt/MenuItem.java,
6325 java/awt/PopupMenu.java,
6326 java/awt/ScrollPane.java,
6327 java/awt/Scrollbar.java,
6328 java/awt/TextArea.java,
6329 java/awt/Window.java (getAccessibleContext): Clean up comments.
6331 * java/awt/Button.java,
6332 java/awt/Checkbox.java,
6333 java/awt/Choice.java,
6335 java/awt/PopupMenu.java,
6336 java/awt/TextArea.java (getAccessibleContext): Only create new
6338 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6340 2005-02-15 Michael Koch <konqueror@gmx.de>
6342 * java/awt/Button.java,
6343 javax/swing/JApplet.java,
6344 javax/swing/JFormattedTextField.java,
6345 javax/swing/JWindow.java,
6346 javax/swing/JTree.java,
6347 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6348 javax/swing/plaf/basic/BasicTextPaneUI.java,
6349 javax/swing/plaf/basic/BasicTreeUI.java:
6350 Reworked import statements.
6352 2005-02-15 Michael Koch <konqueror@gmx.de>
6354 * Makefile.am: Put javax.imageio into its own library and link it
6355 against lib-org-w3c-dom.la to fix bootstrapping.
6356 * Makefile.in: Regenerated.
6358 2005-02-15 Michael Koch <konqueror@gmx.de>
6360 * javax/swing/text/TextAction.java
6361 (getTextComponent): Simplified. Added Javadoc.
6362 (augmentList): Implemented. Added Javadoc.
6363 (getFocusedComponent): Added javadoc.
6365 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6367 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6368 getAccessibleContext): Implement.
6369 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6370 getAccessibleContext): Implement.
6372 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6374 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6376 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6378 * java/awt/Window.java (getAccessibleContext): Fix comment.
6379 Remove extra import.
6381 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6383 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6384 (isActive, isFocused, getAccessibleContext): Implement.
6386 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6388 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6389 * java/awt/MenuComponent.java (accessibleContext): Make package
6391 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6392 AccessibleAWTCheckboxMenuItem): Implement.
6394 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6396 * java/awt/List.java: Implement AccessibleAWTList,
6397 AccessibleAWTListChild.
6399 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6401 * java/awt/Choice.java: Add implements declaration for
6404 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6406 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6409 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6411 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6412 implemented interface list.
6414 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6416 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6417 * javax/imageio/metadata/IIOAttr.java: New class.
6418 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6419 * javax/imageio/metadata/IIONodeList.java: New class.
6420 * Makefile.am: Added new files.
6421 * Makefile.in: Regenerated.
6423 2005-02-15 Michael Koch <konqueror@gmx.de>
6425 * javax/swing/AbstractAction.java,
6426 javax/swing/AbstractCellEditor.java,
6427 javax/swing/AbstractListModel.java,
6428 javax/swing/DefaultBoundedRangeModel.java,
6429 javax/swing/DefaultButtonModel.java,
6430 javax/swing/DefaultCellEditor.java,
6431 javax/swing/DefaultComboBoxModel.java,
6432 javax/swing/DefaultDesktopManager.java,
6433 javax/swing/JMenu.java,
6434 javax/swing/JSlider.java,
6435 javax/swing/KeyStroke.java,
6436 javax/swing/OverlayLayout.java,
6437 javax/swing/ScrollPaneLayout.java,
6438 javax/swing/SizeRequirements.java,
6439 javax/swing/ViewportLayout.java:
6440 Made serialVersionUID private.
6442 2005-02-15 Michael Koch <konqueror@gmx.de>
6444 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6447 2005-02-15 Michael Koch <konqueror@gmx.de>
6449 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6451 2005-02-15 Michael Koch <konqueror@gmx.de>
6453 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6455 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6457 * java/awt/EventDispatchThread.java,
6458 java/awt/Toolkit.java:
6459 Don't catch java.lang.ThreadDeath.
6461 2005-02-15 Michael Koch <konqueror@gmx.de>
6463 * javax/swing/text/PasswordView.java
6464 (drawEchoCharacter): Added javadoc.
6465 (drawSelectedText): Likewise.
6466 (drawUnselectedText): Likewise.
6468 2005-02-15 Michael Koch <konqueror@gmx.de>
6470 * javax/swing/JRootPane.java
6471 (windowDecorationStyle): New field.
6472 (setMenuBar): New method.
6473 (getMenuBar): Likewise.
6474 (getWindowDecorationStyle): Likewise.
6475 (setWindowDecorationStyle): Likewise.
6477 2005-02-15 Michael Koch <konqueror@gmx.de>
6479 * javax/swing/DefaultListSelectionModel.java
6480 (leadAnchorNotificationEnabled): Made protected.
6482 2005-02-15 Michael Koch <konqueror@gmx.de>
6484 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6485 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6486 * Makefile.in: Regenerated.
6489 2005-02-15 Michael Koch <konqueror@gmx.de>
6491 * javax/swing/JFormattedTextField.java: Implemented.
6492 * javax/swing/JWindow.java
6493 (JWindow): New constructors.
6494 (initWindow): Renamed from initFrame.
6495 * javax/swing/UIDefaults.java
6496 (ActiveValue): Made interface static.
6497 (LazyValue): Likewise.
6498 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6499 (TitlePaneLayout.TitlePaneLayout): New constructor.
6500 * javax/swing/plaf/basic/BasicSliderUI.java
6501 (ChangeHandler): Made public.
6502 (FocusHandler): Likewise.
6503 (PropertyChangeHandler): Likewise.
6504 (ScrollListener): Likewise.
6505 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6506 (FocusHandler): Likewise.
6507 (MouseHandler): Likewise.
6508 * javax/swing/plaf/basic/BasicTextPaneUI.java
6509 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6510 * javax/swing/plaf/basic/BasicToolBarUI.java
6511 (BasicToolBarUI): Simplified. Reworked javadoc.
6512 (canDock): Simplified. Make public.
6513 (DockingListener): Made public.
6514 * javax/swing/text/JTextComponent.java
6515 (navigationFilter): New field.
6516 (getNavigationFilter): New method.
6517 (setNavigationFilter): Likewise.
6519 2005-02-15 Michael Koch <konqueror@gmx.de>
6521 * javax/swing/plaf/metal/MetalTheme.java
6522 (getControlTextColor): Return getControlInfo().
6523 (getHighlightedTextColor): Return getControlTextColor().
6525 2005-02-15 Michael Koch <konqueror@gmx.de>
6527 * javax/swing/plaf/basic/BasicButtonListener.java
6528 (BasicButtonListener): New constructor.
6529 * javax/swing/plaf/basic/BasicButtonUI.java
6530 (createButtonListener): Usw new BasicButtonListener constructor.
6532 2005-02-15 Michael Koch <konqueror@gmx.de>
6534 * javax/imageio/event/package.html,
6535 javax/imageio/metadata/package.html: New files.
6537 2005-02-15 Michael Koch <konqueror@gmx.de>
6539 * java/awt/image/MemoryImageSource.java: Reformatted.
6541 2005-02-15 Michael Koch <konqueror@gmx.de>
6543 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6545 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6547 * java/awt/color/ICC_Profile.java
6548 (finalize): Removed pointless field assignments.
6550 2005-02-15 Michael Koch <konqueror@gmx.de>
6552 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6553 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6554 * Makefile.in: Regenerated.
6556 2005-02-15 Michael Koch <konqueror@gmx.de>
6558 * javax/swing/text/DefaultStyledDocument.java: New file.
6559 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6560 * Makefile.in: Regenerated.
6562 2005-02-15 Michael Koch <konqueror@gmx.de>
6564 * javax/swing/JFileChooser.java
6565 (showDialog): Return CANCEL_OPTION for now.
6566 (showOpenDialog): Likewise.
6567 (showSaveDialog): Likewise.
6569 2005-02-15 Michael Koch <konqueror@gmx.de>
6571 * javax/swing/JApplet.java
6572 (HIDE_ON_CLOSE): Removed.
6573 (EXIT_ON_CLOSE): Likewise.
6574 (DISPOSE_ON_CLOSE): Likewise.
6575 (DO_NOTHING_ON_CLOSE): Likewise.
6576 (close_action): Likewise.
6577 (getDefaultCloseOperation): Likewise.
6578 (setDefaultCloseOperation): Likewise.
6579 (processWindowEvent): Likewise.
6580 (getPreferredSize): Simplified.
6581 * javax/swing/JInternalFrame.java
6582 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6584 * javax/swing/JWindow.java
6585 (HIDE_ON_CLOSE): Removed.
6586 (EXIT_ON_CLOSE): Likewise.
6587 (DISPOSE_ON_CLOSE): Likewise.
6588 (DO_NOTHING_ON_CLOSE): Likewise.
6589 (close_action): Likewise.
6590 (processKeyEvent): Likewise.
6591 (setDefaultCloseOperation): Likewise.
6592 (getPreferredSize): Simplified.
6594 2005-02-15 Michael Koch <konqueror@gmx.de>
6596 * javax/swing/JTextField.java
6597 (getPreferredSize): Re-implemented.
6599 2005-02-15 Michael Koch <konqueror@gmx.de>
6601 * javax/swing/JLabel.java
6602 (setDisplayedMnemonic): Use only upper case characters.
6603 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6604 PropertyChangeEvent after property got set to the new index.
6606 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6608 * javax/swing/JComboBox.java:
6609 (JComboBox): Removed selection of the
6610 first item in the model.
6612 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6614 * javax/swing/JComboBox.java
6615 added support for no item being selected
6616 (JComboBox): select first or nothing depending on element count
6617 (setModel): cleaned up unneeded "this." usage, added more
6618 docs, made exception behavior match that of the JDK
6619 (setLighWeightPopupEnabled): removed unneeded "this." usage
6621 (setMaximumRowCount): dito
6623 (setPrototypeDisplayValue): dito
6624 (getSelectedItem): simplified, added more user doc
6625 (setSelectedIndex): corrected exception behavior, added more user doc
6626 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6627 added performance warning to user doc
6628 (addItem): fixed exception behavior, added user doc
6629 (insertItemAt): dito
6631 (removeItemAt): dito
6632 (removeAll): fixed exception behavior, added user doc, added support
6633 for model not being instance of DefaultComboBoxModel
6634 (getSelectedItemObjects): simplified
6635 (getItemCount): fixed dependency on DefaultComboBoxModel
6636 (getItemAt): fixed dependency on MutableComboBoxModel
6637 * javax/swing/DefaultComboBoxModel.java:
6638 (setSelectedItem): updates selected item only if new
6639 value is null or known (match JDK behavior)
6640 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6641 (paintCurrentValue): renders "" if no item is selected
6643 2005-02-15 Michael Koch <konqueror@gmx.de>
6645 * javax/swing/plaf/metal/MetalTheme.java,
6646 javax/swing/plaf/metal/DefaultMetalTheme.java:
6648 * javax/swing/plaf/metal/MetalLookAndFeel.java
6649 * Makefile.am: Added the new files.
6650 * Makefile.in: Regenerated.
6652 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6654 * javax/swing/JTable.java
6655 (editorComp): New field.
6656 (JTable): Initialize local variables and call updateUI
6657 (selectionBackground): Make protected.
6658 (selectionForeground): Likewise.
6659 (initializeLocalVars): Create default editors and renderers,
6660 initialize editingColumn, editingRow variables.
6661 (createDefaultEditors): New Method.
6662 (createDefaultRenderers): Likewise.
6663 (createDefaultListSelectionModel): Removed
6664 (createDefaultSelectionModel): New Method.
6665 (createDefaultTableHeader): Likewise
6666 (removeColumn): Likewise.
6667 (getEditingColumn): Likewise.
6668 (setEditingColumn): Likewise.
6669 (getEditingRow): Likewise.
6670 (setEditingRow): Likewise.
6671 (getEditorComponent): Likewise.
6672 (isEditing): Likewise.
6673 (setDefaultEditor): Likewise.
6674 (addColumnSelectionInterval): Likewise.
6675 (addRowSelectionInterval): Likewise.
6676 (setColumnSelectionInterval): Likewise.
6677 (setRowSelectionInterval): Likewise.
6678 (removeColumnSelectionInterval): Likewise.
6679 (removeRowSelectionInterval): Likewise.
6680 (isColumnSelected): Likewise.
6681 (isRowSelected): Likewise.
6682 (isCellSelected): Likewise.
6683 (selectAll): Likewise.
6685 2005-02-15 Michael Koch <konqueror@gmx.de>
6687 * javax/swing/JTable.java
6688 (addColumn): New method.
6689 (getColumnClass): Likewise.
6690 (getColumnName): Likewise.
6692 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6694 * javax/swing/TransferHandler.java
6695 (createTransferable): Made protected.
6697 2005-02-15 Michael Koch <konqueror@gmx.de>
6699 * javax/swing/JTable.java,
6700 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6701 javax/swing/plaf/basic/BasicTableUI.java:
6702 Use fixed get/setIntercellSpacing() methods.
6704 2005-02-15 Michael Koch <konqueror@gmx.de>
6706 * javax/swing/JTable.java
6707 (getIntercellSpacing): Fixed typo in method name.
6708 (setIntercellSpacing): Likewise.
6710 2005-02-15 Michael Koch <konqueror@gmx.de>
6712 * javax/swing/text/JTextComponent.java
6713 (focusAccelerator): New variable.
6714 (getFocusAccelerator): New method.
6715 (setFocusAccelerator): Likewise.
6717 2005-02-15 Michael Koch <konqueror@gmx.de>
6719 * javax/swing/JComponent.java
6720 (setTransferHandler): Made public. Fire property change event.
6721 * javax/swing/TransferHandler.java: Implemented.
6722 * javax/swing/text/JTextComponent.java
6723 (DefaultTransferHandler): New inner class.
6724 (defaultTransferHandler): New variable.
6728 (doTransferAction): Likewise.
6730 2005-02-15 Michael Koch <konqueror@gmx.de>
6732 * javax/swing/JTree.java
6733 (collapsePath): New method.
6734 (collapseRow): Likewise.
6735 (expandPath): Likewise.
6736 (expandRow): Likewise.
6737 (checkExpandParents): Likewise.
6738 (doExpandParents): Likewise.
6739 (setExpandedState): Likewise.
6740 (makeVisible): Likewise.
6742 2005-02-15 Michael Koch <konqueror@gmx.de>
6744 * javax/swing/JPasswordField.java: Updated javadocs.
6746 2005-02-15 Michael Koch <konqueror@gmx.de>
6748 * javax/swing/JLayeredPane.java
6749 (getLayer): Fixed return type, made public.
6750 (getPosition): Use new getLayer().
6751 (SetPosition): Likewise.
6752 (getIndexOf): Likewise.
6754 * javax/swing/JInternalFrame.java
6755 (getLayer): Use new JLayeredPane.getLayer().
6758 2005-02-15 Michael Koch <konqueror@gmx.de>
6760 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6761 (setHeaderValue): Simplified. Do nothing when old value == new value.
6763 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6765 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6766 against null clip region.
6767 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6768 gtkWindowSetResizable.
6769 (postConfigureEvent): Only revalidate if frame size has changed.
6770 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6771 Only revalidate if frame size has changed.
6772 * java/awt/Component.java (reshape): Only repaint and post
6773 component events if component is showing.
6774 * java/awt/Container.java (addImpl): Only post container event if
6775 container is showing.
6777 * java/awt/Window.java (setLocationRelativeTo): Implement.
6778 (setBoundsCallback): Only post component events if component is
6780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6781 Protect against null graphics structure. Flush gdk event queue.
6783 2005-02-15 Michael Koch <konqueror@gmx.de>
6785 * javax/imageio/ImageReader.java,
6786 javax/imageio/ImageTranscoder.java,
6787 javax/imageio/ImageWriter.java,
6788 javax/imageio/spi/ImageInputStreamSpi.java,
6789 javax/imageio/spi/ImageOutputStreamSpi.java,
6790 javax/imageio/spi/ServiceRegistry.java,
6791 javax/imageio/stream/ImageInputStream.java,
6792 javax/imageio/stream/ImageOutputStream.java: Updated.
6793 * javax/imageio/IIOException.java,
6794 javax/imageio/IIOImage.java,
6795 javax/imageio/IIOParam.java,
6796 javax/imageio/IIOParamController.java,
6797 javax/imageio/ImageIO.java,
6798 javax/imageio/ImageReadParam.java,
6799 javax/imageio/ImageTypeSpecifier.java,
6800 javax/imageio/ImageWriteParam.java,
6801 javax/imageio/spi/IIORegistry.java,
6802 javax/imageio/spi/ImageReaderSpi.java,
6803 javax/imageio/spi/ImageWriterSpi.java,
6804 javax/imageio/stream/FileCacheImageInputStream.java,
6805 javax/imageio/stream/FileCacheImageOutputStream.java,
6806 javax/imageio/stream/FileImageInputStream.java,
6807 javax/imageio/stream/FileImageOutputStream.java,
6808 javax/imageio/stream/ImageInputStreamImpl.java,
6809 javax/imageio/stream/ImageOutputStreamImpl.java,
6810 javax/imageio/stream/MemoryCacheImageInputStream.java,
6811 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6812 javax/imageio/event/IIOReadProgressListener.java,
6813 javax/imageio/event/IIOReadUpdateListener.java,
6814 javax/imageio/event/IIOReadWarningListener.java,
6815 javax/imageio/event/IIOWriteProgressListener.java,
6816 javax/imageio/event/IIOWriteWarningListener.java,
6817 javax/imageio/metadata/IIOMetadata.java,
6818 javax/imageio/metadata/IIOMetadataController.java,
6819 javax/imageio/metadata/IIOMetadataFormat.java,
6820 javax/imageio/metadata/IIOInvalidTreeException.java,
6821 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6822 javax/imageio/metadata/IIOMetadataNode.java: New files.
6823 * Makefile.am (javax_source_files): Added new files
6824 * Makefile.in: Regenerated.
6826 2005-02-15 Graydon Hoare <graydon@redhat.com>
6828 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6829 Rework painting into BufferedImages
6830 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6831 Construct BufferedImage with alpha only when alpha is
6832 present in colormodel.
6833 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6834 Rework painting into client-side jint arrays.
6835 * jni/gtk-peer/gtkcairopeer.h:
6838 2005-02-15 Michael Koch <konqueror@gmx.de>
6840 * javax/swing/DefaultListCellRenderer.java
6841 (serialVersionUID): Made private.
6842 (getListCellRendererComponent): Set horizontal alignment.
6843 * javax/swing/JLabel.java
6844 (setVerticalAlignment): Re-implemented.
6845 (setHorizontalAlignment): Do nothing if old value = new value.
6846 * javax/swing/JList.java
6847 (setCellRenderer): Likewise.
6848 (setModel): Re-implemented.
6849 (setSelectionModel): Likewise.
6851 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6853 * java/awt/Component.java,
6854 java/awt/geom/Rectangle2D.java:
6857 2005-02-15 Michael Koch <konqueror@gmx.de>
6859 * javax/swing/AbstractListModel.java
6860 (fireContentsChanged): Simplified.
6861 (fireIntervalAdded): Likewise.
6862 (fireIntervalRemoved): Likewise.
6863 * javax/swing/DefaultSingleSelectionModel.java:
6865 (fireStateChanged): Simplified.
6866 * javax/swing/JPopupMenu.java
6867 (setSelectionModel): Set property.
6869 2005-02-15 Michael Koch <konqueror@gmx.de>
6871 * java/awt/print/Book.java: Reformatted.
6873 2005-02-15 Michael Koch <konqueror@gmx.de>
6875 * java/awt/geom/Area.java
6876 (QuadSegment.curveArea): Remove unused variables.
6877 (CubicSegment.curveArea): Likewise.
6879 2005-02-15 Michael Koch <konqueror@gmx.de>
6881 * javax/swing/JTree.java
6882 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6883 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6884 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6885 (EXPANDED): New constant.
6886 (COLLAPSED): Likewise.
6887 (nodeStates): New field.
6888 (cellEditor): New method.
6889 (cellRenderer): Likewise.
6890 (selectionModel): Likewise.
6891 (treeModel): Likewise.
6892 (scrollPathToVisible): Likewise.
6893 (scrollRowToVisible): Likewise.
6894 (isCollapsed): Likewise.
6895 (isExpanded): Likewise.
6896 (clearToggledPaths): Likewise.
6897 (getDescendantToggledPaths): Likewise.
6898 (hasBeenExpanded): Likewise.
6899 (isVisible): Likewise.
6900 (isPathEditable): Likewise.
6902 2005-02-15 Michael Koch <konqueror@gmx.de>
6904 * javax/swing/JLayeredPane.java: Reformatted.
6906 2005-02-15 Michael Koch <konqueror@gmx.de>
6908 * javax/swing/tree/DefaultMutableTreeNode.java:
6910 * javax/swing/tree/MutableTreeNode.java:
6913 2005-02-15 Michael Koch <konqueror@gmx.de>
6915 * javax/swing/JFormattedTextField.java
6916 (setDocument): Call setDocument of super class. Don't fire property
6919 2005-02-15 Sven de Marothy <sven@physto.se>
6921 * java/awt/image/IndexColorModel.java:
6922 Add FIXME with respect to alpha handling.
6923 (getAlpha): Default to returning opaque pixels.
6924 * java/awt/image/MultiPixelPackedSampleModel.java
6925 (MultiPixelPackedSampleModel): Corrected parameters, order of
6926 bit shifts and masks, stride length off by one.
6928 2005-02-15 Michael Koch <konqueror@gmx.de>
6930 * javax/swing/JList.java, javax/swing/JTree.java:
6931 Added much new methods and fixed much methods setting bound properties.
6933 2005-02-16 Mark Wielaard <mark@klomp.org>
6935 * Makefile.am (gnu_xml_source_files): Removed
6936 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6937 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6938 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6939 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6940 gnu/xml/dom/DomDocumentFragment.java,
6941 gnu/xml/dom/DomProcessingInstruction.java and
6942 gnu/xml/dom/ls/DomLSException.java.
6943 * Makefile.in: Regenerated.
6945 2005-02-16 Tom Tromey <tromey@redhat.com>
6947 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6948 attribute index is out of bounds.
6950 2005-02-16 Chris Burdess <dog@gnu.org>
6952 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6953 isDeclared methods. Improved performance of isSpecified methods.
6955 2005-02-16 Chris Burdess <dog@gnu.org>
6957 Fixes bug libgcj/19864
6958 * gnu/xml/dom/DomAttr.java,
6959 gnu/xml/dom/DomCDATA.java,
6960 gnu/xml/dom/DomCDATASection.java,
6961 gnu/xml/dom/DomCharacterData.java,
6962 gnu/xml/dom/DomDOMException.java,
6963 gnu/xml/dom/DomDoctype.java,
6964 gnu/xml/dom/DomDocument.java,
6965 gnu/xml/dom/DomDocumentConfiguration.java,
6966 gnu/xml/dom/DomDocumentFragment.java,
6967 gnu/xml/dom/DomElement.java,
6968 gnu/xml/dom/DomEx.java,
6969 gnu/xml/dom/DomFragment.java,
6970 gnu/xml/dom/DomImpl.java,
6971 gnu/xml/dom/DomIterator.java,
6972 gnu/xml/dom/DomNamedNodeMap.java,
6973 gnu/xml/dom/DomNode.java,
6974 gnu/xml/dom/DomNsNode.java,
6975 gnu/xml/dom/DomPI.java,
6976 gnu/xml/dom/DomProcessingInstruction.java,
6977 gnu/xml/dom/DomText.java,
6978 gnu/xml/dom/DomLSEx.java,
6979 gnu/xml/dom/DomLSException.java,
6980 gnu/xml/dom/DomLSParser.java,
6981 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6982 implementation class names to conform to Classpath guidelines. Make
6983 DomLSException use JDK 1.4+ exception chaining.
6984 * gnu/xml/util/SAXNullTransformerFactory.java,
6985 gnu/xml/xpath/Predicate.java: Use constants relative to
6986 declaring class or interface.
6988 2005-02-16 Andrew Haley <aph@redhat.com>
6990 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6991 null, create a new AccessControlContext.
6992 * java/security/SecureClassLoader.java (protectionDomainCache):
6994 (defineClass): Create a new protection domain and add it to our
6997 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6998 addStub() to keep track of the stub we've exported.
6999 (unexportObject): Call deleteStub().
7000 * java/rmi/server/RemoteObject.java (stubs): New field.
7001 (addStub): New method.
7002 (deleteStub): New method.
7005 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7006 true to findHelper (tryParents).
7007 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7009 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7010 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7012 If tryParents is false, don't scan parent class loaders.
7014 * java/security/Permissions.java (PermissionsHash.implies):
7015 Iterate over the collection and invoke implies() on each
7018 2005-02-16 Andrew Haley <aph@redhat.com>
7020 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7022 (PersistentByteMap): Set name
7023 Magic number changed to 0x67636a64 ("gcjd").
7024 (init): Force the map to be prime.
7025 (emptyPersistentByteMap): File name was a string, now a File.
7026 (addBytes): Share srings between entries.
7027 (stringTableSize): New method.
7028 (capacity): Scale by load factor.
7029 (force): New method.
7030 (getFile): New method.
7031 (close): New method.
7032 (putAll): New method.
7033 (ByteWrapper): New class.
7034 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7035 (main): Guess the average string size as 32, not 64.
7036 Copy a database before modifying it, so that we can update a
7037 database in a running system.
7038 If a database isn't big enough, resize it.
7039 "-m": new option: merges databases.
7040 "-a": Create a new detabase if it doesn't exist.
7041 (usage): Correct, add new option.
7042 (addJar): Copy a database before modifying it.
7043 (resizeMap): New method.
7045 2005-02-15 David Daney <ddaney@avtrex.com>
7046 Bryce McKinlay <mckinlay@redhat.com>
7048 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7049 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7050 ensure that GC threads inherit the new signal mask.
7051 (block_sigchld): Call JvFail rather than throwing exception if
7052 pthread_sigmask() fails.
7054 2005-02-15 Mark Wielaard <mark@klomp.org>
7056 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7057 file path elements are separated by spaces.
7059 2005-02-15 Mark Wielaard <mark@klomp.org>
7061 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7062 to describe attributes without a constant field value in this class.
7064 2005-02-15 Michael Koch <konqueror@gmx.de>
7066 * java/util/jar/Attributes.java
7067 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7069 2005-02-15 Mark Wielaard <mark@klomp.org>
7071 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7072 space for parsing CLASS_PATH attribute.
7074 2005-02-15 Mark Wielaard <mark@klomp.org>
7076 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7077 aside for "GCJLIBS" in directory where jarfiles are loaded.
7078 (JarURLLoader.getClass): Removed method.
7079 (JarURLLoader.toString): Removed method.
7080 (FileResource.toString): Removed method.
7082 2005-02-15 Mark Wielaard <mark@klomp.org>
7084 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7085 and/or cause before throwing.
7087 2005-02-15 Richard Henderson <rth@redhat.com>
7089 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7090 (libgcj0_convenience_la_SOURCES): ... here.
7091 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7092 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7093 * Makefile.in: Regenerate.
7095 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7098 * include/jawt.h: Likewise.
7099 * include/jawt_md.h: Likewise.
7100 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7102 * include/Makefile.in: Regenerate.
7103 * jni/classpath/classpath_jawt.h: Likewise.
7104 * jni/gtk-peer/gtk_jawt.c: Likewise.
7105 * Makefile.am: Build libjawt.so.
7106 * Makefile.in: Regenerate.
7108 2005-02-14 Tom Tromey <tromey@redhat.com>
7110 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7112 2005-02-14 Tom Tromey <tromey@redhat.com>
7114 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7115 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7117 2005-02-14 Tom Tromey <tromey@redhat.com>
7120 * testsuite/libjava.lang/PR19929.out: New file.
7121 * testsuite/libjava.lang/PR19929.java: New file.
7123 2005-02-14 Anthony Green <green@redhat.com>
7126 * testsuite/libjava.jni/PR18116.c: New file.
7127 * testsuite/libjava.jni/PR18116.java: New file.
7128 * testsuite/libjava.jni/PR18116.out: New file.
7130 2005-02-13 Anthony Green <green@redhat.com>
7133 * jni.cc (nathash_add): Don't strdup the method signature.
7134 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7138 2005-02-12 Mark Wielaard <mark@klomp.org>
7140 Fixes bug libgcj/8170
7141 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7142 ClassNotFoundException.
7143 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7144 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7145 (remove_internal): New field superceding remove_interpreter.
7146 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7147 Remove no-class methods starting with "_Jv_". And Replace null
7148 class or method names with the empty string. Stop at either the
7149 MainThread or a real Thread run() method.
7150 (newElement): Made static.
7151 * java/net/URLClassLoader.java (findClass): Throw
7152 ClassNotFoundExceptions including urls, plus parent using toString().
7153 (thisString): New field.
7154 (toString): New method.
7156 2005-02-10 Tom Tromey <tromey@redhat.com>
7158 * external/sax/Makefile.in: Rebuilt.
7159 * external/sax/Makefile.am (all-local): Removed.
7160 (BUILT_SOURCES): New variable.
7161 (mostlyclean-local): No error if no classes to delete.
7162 * external/w3c_dom/Makefile.in: Rebuilt.
7163 * external/w3c_dom/Makefile.am (all-local): Removed.
7164 (BUILT_SOURCES): New variable.
7165 (mostlyclean-local): No error if no classes to delete.
7167 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7169 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7170 of mauve and libjava.
7172 2005-02-09 Tom Tromey <tromey@redhat.com>
7174 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7175 jar file with OPEN_DELETE.
7176 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7177 OPEN_DELETE is used.
7179 2005-02-09 Tom Tromey <tromey@redhat.com>
7181 * java/util/zip/InflaterInputStream.java (markSupported):
7183 (mark, reset): Likewise.
7185 2005-02-08 Tom Tromey <tromey@redhat.com>
7187 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7188 name or port is missing.
7189 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7190 AUTHORITY_PORT_GROUP): Updated.
7192 2005-02-08 Tom Tromey <tromey@redhat.com>
7194 * configure: Rebuilt.
7195 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7198 2005-02-07 Tom Tromey <tromey@redhat.com>
7200 * java/lang/natRuntime.cc (insertSystemProperties): Set
7201 sun.boot.class.path earlier.
7203 2005-02-07 Tom Tromey <tromey@redhat.com>
7205 * defineclass.cc (handleClassBegin): Use
7206 _Jv_RegisterInitiatingLoader.
7207 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7208 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7209 class. Use _Jv_UnregisterInitiatingLoader.
7210 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7213 2005-02-07 Mark Wielaard <mark@klomp.org>
7215 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7216 java/util/regex/Matcher.java (lookingAt): Set position when match
7218 (matches): Implemented through lookingAt().
7220 2005-02-07 Mark Wielaard <mark@klomp.org>
7222 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7223 * java/util/regex/Pattern.java (split(CharSequence,int)):
7224 Fix while empties > 0 loops.
7226 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7228 * gnu/java/nio/charset/ISO_8859_1.java,
7229 gnu/java/nio/charset/US_ASCII.java,
7230 gnu/java/nio/charset/UTF_16.java,
7231 gnu/java/nio/charset/UTF_16_LE.java,
7232 gnu/java/nio/charset/UTF_16_BE.java,
7233 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7234 and aliases according to
7235 "http://www.iana.org/assignments/character-sets",
7236 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7237 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7238 * gnu/java/nio/charset/Provider.java: Made charset lookup
7239 case-insensitive which fixes bug #11740.
7241 2005-02-07 Tom Tromey <tromey@redhat.com>
7244 * Makefile.in: Rebuilt.
7245 * Makefile.am (src.zip): New target.
7246 (install-src.zip): Likewise.
7247 (sourcesdir): New variable.
7249 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7251 * javax/imageio/metadata/IIOMetadataNode.java:
7253 * javax/imageio/metadata/IIOAttr.java,
7254 javax/imageio/metadata/IIONamedNodeMap.java,
7255 javax/imageio/metadata/IIONodeList.java:
7258 2005-02-06 Graydon Hoare <graydon@redhat.com>
7260 * gnu/java/awt/ClasspathToolkit.java
7261 (registerImageIOSpis): New method.
7262 * javax/imageio/ImageIO.java
7263 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7264 (WriterMIMETypeFilter.filter): Likewise.
7265 (ImageReaderIterator): Pass extension argument through to SPI.
7266 (getReadersByFilter): Likewise.
7267 (getWritersByFilter): Likewise.
7268 (getImageReadersByFormatName): Likewise.
7269 (getImageReadersByMIMEType): Likewise.
7270 (getImageReadersBySuffix): Likewise.
7271 (getImageWritersByFormatName): Likewise.
7272 (getImageWritersByMIMEType): Likewise.
7273 (getImageWritersBySuffix): Likewise.
7276 * javax/imageio/ImageReader.java
7277 (progressListeners): Initialize.
7278 (setInput): Implement.
7279 * javax/imageio/ImageWriter.java
7280 (progressListeners): Initialize.
7281 (warningListeners): Likewise.
7282 (warningLocales): Likewise.
7283 (setOutput): Test "isInstance" rather than class equality.
7284 * javax/imageio/spi/IIORegistry.java
7285 (static): Add reader and writer SPIs.
7286 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7288 2005-02-06 Michael Koch <konqueror@gmx.de>
7290 * javax/imageio/metadata/IIOInvalidTreeException.java
7291 (IIOInvalidTreeException): Reformatted.
7292 * javax/imageio/spi/IIORegistry.java
7293 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7294 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7295 Reworked import statements.
7297 2005-02-06 Michael Koch <konqueror@gmx.de>
7299 * javax/imageio/stream/FileImageOutputStream.java:
7302 2005-02-06 Michael Koch <konqueror@gmx.de>
7304 * javax/imageio/stream/FileCacheImageInputStream.java,
7305 javax/imageio/stream/FileCacheImageOutputStream.java,
7306 javax/imageio/stream/FileImageInputStream.java,
7307 javax/imageio/stream/ImageInputStreamImpl.java,
7308 javax/imageio/stream/ImageOutputStreamImpl.java,
7309 javax/imageio/stream/MemoryCacheImageInputStream.java,
7310 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7311 Added all missing methods in javax.imageio.stream.
7313 2005-02-02 David Daney <ddaney@avtrex.com>
7315 * java/net/InetAddress.java (InetAddress): Make a private copy of
7317 * java/net/Inet4Address.java (getAddress): Return a copy of the
7319 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7321 (getAddress): Return a copy of the address.
7324 2005-02-02 Tom Tromey <tromey@redhat.com>
7326 * Makefile.in: Rebuilt.
7327 * Makefile.am (classes.stamp): New target, broken out from
7329 ($(all_java_class_files)): Depend on it.
7330 (libgcj-@gcc_version@.jar): Likewise.
7331 (all-recursive): Likewise.
7332 (CLEANFILES): Include classes.stamp.
7334 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7336 * link.cc: Include <stdio.h>
7338 2005-02-02 Tom Tromey <tromey@redhat.com>
7341 * Makefile.in: Rebuilt.
7342 * Makefile.am (ordinary_java_source_files): Added new class.
7343 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7344 Use system_instance, not instance.
7345 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7346 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7348 (system_instance): New field.
7349 (initialize): Initialize the system loader as well.
7350 (VMClassLoader): Default to LIB_CACHE.
7352 2005-02-02 Tom Tromey <tromey@redhat.com>
7354 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7355 * prims.cc: Fixed comment.
7357 2005-02-01 Tom Tromey <tromey@redhat.com>
7359 * Makefile.in: Rebuilt.
7360 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7361 (.java.class): Use BOOTCLASSPATH.
7363 2005-02-01 Tom Tromey <tromey@redhat.com>
7365 * external/w3c_dom/Makefile.am: New file.
7366 * external/w3c_dom/Makefile.in: New file.
7367 * external/sax/Makefile.am: New file.
7368 * external/sax/Makefile.in: New file.
7369 * external/Makefile.in: New file.
7370 * external/Makefile.am: New file.
7371 * external/README: New file from Classpath.
7372 * configure, aclocal.m4, Makefile.in: Rebuilt.
7373 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7374 * Makefile.am (SUBDIRS): Added external.
7375 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7376 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7377 (BOOTCLASSPATH): New variable.
7378 (AM_GCJFLAGS): Use it.
7379 (gnu_xml_source_files): New variable.
7380 (libgcj_la_SOURCES): Use it.
7381 (libgcj_la_LDADD): Include new convenience libraries.
7382 (lib_org_ietf_jgss_la_SOURCES): Removed.
7383 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7384 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7385 (lib_org_w3c_dom_la_SOURCES): Removed.
7386 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7387 (lib_org_w3c_dom_la_LIBADD): Likewise.
7388 (lib_org_xml_sax_la_SOURCES): Removed.
7389 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7390 (lib_org_xml_sax_la_LIBADD): Likewise.
7391 (all_java_source_files): Updated.
7392 (property_files): Likewise.
7393 (libgcj-@gcc_version@.jar): Include classes from external/.
7394 (javax_source_files): Updated.
7395 (ordinary_java_source_files): Updated.
7396 * javax/xml/XMLConstants.java,
7397 javax/xml/datatype/DatatypeConfigurationException.java,
7398 javax/xml/datatype/DatatypeConstants.java,
7399 javax/xml/datatype/DatatypeFactory.java,
7400 javax/xml/datatype/Duration.java,
7401 javax/xml/datatype/XMLGregorianCalendar.java,
7402 javax/xml/datatype/package.html,
7403 javax/xml/namespace/NamespaceContext.java,
7404 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7405 javax/xml/parsers/DocumentBuilder.java,
7406 javax/xml/parsers/DocumentBuilderFactory.java,
7407 javax/xml/parsers/FactoryConfigurationError.java,
7408 javax/xml/parsers/ParserConfigurationException.java,
7409 javax/xml/parsers/SAXParser.java,
7410 javax/xml/parsers/SAXParserFactory.java,
7411 javax/xml/parsers/package.html,
7412 javax/xml/transform/ErrorListener.java,
7413 javax/xml/transform/OutputKeys.java,
7414 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7415 javax/xml/transform/SourceLocator.java,
7416 javax/xml/transform/Templates.java,
7417 javax/xml/transform/Transformer.java,
7418 javax/xml/transform/TransformerConfigurationException.java,
7419 javax/xml/transform/TransformerException.java,
7420 javax/xml/transform/TransformerFactory.java,
7421 javax/xml/transform/TransformerFactoryConfigurationError.java,
7422 javax/xml/transform/URIResolver.java,
7423 javax/xml/transform/package.html,
7424 javax/xml/transform/dom/DOMLocator.java,
7425 javax/xml/transform/dom/DOMResult.java,
7426 javax/xml/transform/dom/DOMSource.java,
7427 javax/xml/transform/dom/package.html,
7428 javax/xml/transform/sax/SAXResult.java,
7429 javax/xml/transform/sax/SAXSource.java,
7430 javax/xml/transform/sax/SAXTransformerFactory.java,
7431 javax/xml/transform/sax/TemplatesHandler.java,
7432 javax/xml/transform/sax/TransformerHandler.java,
7433 javax/xml/transform/sax/package.html,
7434 javax/xml/transform/stream/StreamResult.java,
7435 javax/xml/transform/stream/StreamSource.java,
7436 javax/xml/transform/stream/package.html,
7437 javax/xml/validation/Schema.java,
7438 javax/xml/validation/SchemaFactory.java,
7439 javax/xml/validation/TypeInfoProvider.java,
7440 javax/xml/validation/Validator.java,
7441 javax/xml/validation/ValidatorHandler.java,
7442 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7443 javax/xml/xpath/XPathConstants.java,
7444 javax/xml/xpath/XPathException.java,
7445 javax/xml/xpath/XPathExpression.java,
7446 javax/xml/xpath/XPathExpressionException.java,
7447 javax/xml/xpath/XPathFactory.java,
7448 javax/xml/xpath/XPathFactoryConfigurationException.java,
7449 javax/xml/xpath/XPathFunction.java,
7450 javax/xml/xpath/XPathFunctionException.java,
7451 javax/xml/xpath/XPathFunctionResolver.java,
7452 javax/xml/xpath/XPathVariableResolver.java,
7453 javax/xml/xpath/package.html: New files, from GNU JAXP.
7454 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7455 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7456 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7457 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7458 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7459 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7460 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7461 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7462 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7463 org/w3c/dom/ranges/DocumentRange.java,
7464 org/w3c/dom/ranges/Range.java,
7465 org/w3c/dom/ranges/RangeException.java,
7466 org/w3c/dom/traversal/DocumentTraversal.java,
7467 org/w3c/dom/traversal/NodeFilter.java,
7468 org/w3c/dom/traversal/NodeIterator.java,
7469 org/w3c/dom/traversal/TreeWalker.java,
7470 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7471 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7472 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7473 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7474 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7475 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7476 org/xml/sax/SAXNotRecognizedException.java,
7477 org/xml/sax/SAXNotSupportedException.java,
7478 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7479 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7480 org/xml/sax/ext/DeclHandler.java,
7481 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7482 org/xml/sax/helpers/AttributeListImpl.java,
7483 org/xml/sax/helpers/AttributesImpl.java,
7484 org/xml/sax/helpers/DefaultHandler.java,
7485 org/xml/sax/helpers/LocatorImpl.java,
7486 org/xml/sax/helpers/NamespaceSupport.java,
7487 org/xml/sax/helpers/NewInstance.java,
7488 org/xml/sax/helpers/ParserAdapter.java,
7489 org/xml/sax/helpers/ParserFactory.java,
7490 org/xml/sax/helpers/XMLFilterImpl.java,
7491 org/xml/sax/helpers/XMLReaderAdapter.java,
7492 org/xml/sax/helpers/XMLReaderFactory.java,
7493 org/xml/sax/helpers/package.html: Moved to external/.
7494 * external/sax/README,
7495 external/sax/org/xml/sax/AttributeList.java,
7496 external/sax/org/xml/sax/Attributes.java,
7497 external/sax/org/xml/sax/ContentHandler.java,
7498 external/sax/org/xml/sax/DTDHandler.java,
7499 external/sax/org/xml/sax/DocumentHandler.java,
7500 external/sax/org/xml/sax/EntityResolver.java,
7501 external/sax/org/xml/sax/ErrorHandler.java,
7502 external/sax/org/xml/sax/HandlerBase.java,
7503 external/sax/org/xml/sax/InputSource.java,
7504 external/sax/org/xml/sax/Locator.java,
7505 external/sax/org/xml/sax/Parser.java,
7506 external/sax/org/xml/sax/SAXException.java,
7507 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7508 external/sax/org/xml/sax/SAXNotSupportedException.java,
7509 external/sax/org/xml/sax/SAXParseException.java,
7510 external/sax/org/xml/sax/XMLFilter.java,
7511 external/sax/org/xml/sax/XMLReader.java,
7512 external/sax/org/xml/sax/package.html,
7513 external/sax/org/xml/sax/ext/Attributes2.java,
7514 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7515 external/sax/org/xml/sax/ext/DeclHandler.java,
7516 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7517 external/sax/org/xml/sax/ext/EntityResolver2.java,
7518 external/sax/org/xml/sax/ext/LexicalHandler.java,
7519 external/sax/org/xml/sax/ext/Locator2.java,
7520 external/sax/org/xml/sax/ext/Locator2Impl.java,
7521 external/sax/org/xml/sax/ext/package.html,
7522 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7523 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7524 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7525 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7526 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7527 external/sax/org/xml/sax/helpers/NewInstance.java,
7528 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7529 external/sax/org/xml/sax/helpers/ParserFactory.java,
7530 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7531 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7532 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7533 external/sax/org/xml/sax/helpers/package.html,
7534 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7535 external/w3c_dom/org/w3c/dom/Attr.java,
7536 external/w3c_dom/org/w3c/dom/CDATASection.java,
7537 external/w3c_dom/org/w3c/dom/CharacterData.java,
7538 external/w3c_dom/org/w3c/dom/Comment.java,
7539 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7540 external/w3c_dom/org/w3c/dom/DOMError.java,
7541 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7542 external/w3c_dom/org/w3c/dom/DOMException.java,
7543 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7544 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7545 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7546 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7547 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7548 external/w3c_dom/org/w3c/dom/Document.java,
7549 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7550 external/w3c_dom/org/w3c/dom/DocumentType.java,
7551 external/w3c_dom/org/w3c/dom/Element.java,
7552 external/w3c_dom/org/w3c/dom/Entity.java,
7553 external/w3c_dom/org/w3c/dom/EntityReference.java,
7554 external/w3c_dom/org/w3c/dom/NameList.java,
7555 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7556 external/w3c_dom/org/w3c/dom/Node.java,
7557 external/w3c_dom/org/w3c/dom/NodeList.java,
7558 external/w3c_dom/org/w3c/dom/Notation.java,
7559 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7560 external/w3c_dom/org/w3c/dom/Text.java,
7561 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7562 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7563 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7564 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7565 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7566 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7567 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7568 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7569 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7570 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7571 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7572 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7573 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7574 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7575 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7576 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7577 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7578 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7579 external/w3c_dom/org/w3c/dom/css/Counter.java,
7580 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7581 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7582 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7583 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7584 external/w3c_dom/org/w3c/dom/css/Rect.java,
7585 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7586 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7587 external/w3c_dom/org/w3c/dom/events/Event.java,
7588 external/w3c_dom/org/w3c/dom/events/EventException.java,
7589 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7590 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7591 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7592 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7593 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7594 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7595 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7596 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7597 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7598 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7599 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7600 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7601 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7602 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7603 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7604 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7605 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7606 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7607 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7608 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7609 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7610 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7611 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7612 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7613 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7614 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7615 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7616 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7617 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7618 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7619 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7620 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7621 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7622 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7623 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7624 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7625 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7626 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7627 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7628 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7629 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7630 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7631 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7632 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7633 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7634 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7635 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7636 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7637 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7638 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7639 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7640 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7641 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7642 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7643 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7644 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7645 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7646 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7647 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7648 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7649 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7650 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7651 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7652 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7653 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7654 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7655 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7656 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7657 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7658 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7659 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7660 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7661 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7662 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7663 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7664 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7665 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7666 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7667 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7668 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7669 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7670 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7671 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7672 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7673 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7674 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7675 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7676 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7677 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7678 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7679 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7680 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7683 2005-01-31 Anthony Green <green@redhat.com>
7685 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7686 Support IP_MULTICAST_LOOP.
7687 (setOption): Support IP_MULTICAST_LOOP.
7689 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7690 SO_REUSEADDR support.
7691 (getOption): Support SO_REUSEADDR.
7693 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7696 * java/util/Date.java
7697 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7699 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7701 (getTimezoneOffset): Inverted sign.
7703 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7705 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7706 remove other passing tests and add new XFAILs.
7708 2005-01-24 Tom Tromey <tromey@redhat.com>
7710 * java/lang/Class.h (next): Updated documentation. Renamed to
7712 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7713 _Jv_CheckABIVersion.
7714 (_Jv_RegisterClasses_Counted): Likewise.
7715 (_Jv_RegisterClassHookDefault): Fix starting condition of
7716 duplicate-checking loop.
7717 * include/jvm.h (GCJ_VERSION): New define.
7718 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7719 (_Jv_CheckABIVersion): New function.
7721 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7723 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7724 (libgij_la_LDFLAGS): Add.
7725 * Makefile.in: Rebuilt.
7727 2005-01-24 Roger Sayle <roger@eyesopen.com>
7730 * testsuite/libjava.compile/PR19295.java: New test case.
7732 2005-01-19 Tom Tromey <tromey@redhat.com>
7734 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7735 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7736 if 'handler' is valid.
7738 2005-01-17 Tom Tromey <tromey@redhat.com>
7740 * java/text/MessageFormat.java (scanString): Changed how quoting
7742 (scanFormatElement): Likewise.
7744 2004-12-07 Mark Wielaard <mark@klomp.org>
7746 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7748 2005-01-15 Michael Koch <konqueror@gmx.de>
7752 (AUTHORITY_REGEXP): New regexp constant.
7753 (AUTHORITY_USERINFO_GROUP): New constant.
7754 (AUTHORITY_HOST_GROUP): Likewise.
7755 (AUTHORITY_PORT_GROUP): Likewise.
7756 (port): Changed default value to -1.
7757 (parseURI): Parse authority part and initialize host,
7760 2005-01-14 Robin Green <greenrd@greenrd.org>
7762 * java/io/File.java (toURI): Generate a URI which we understand.
7764 2005-01-13 Graydon Hoare <graydon@redhat.com>
7766 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7767 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7768 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7769 * jni.cc: Reuse bottom frame between calls, avoid clearing
7770 frame when no local references are made.
7772 2005-01-13 Michael Koch <konqueror@gmx.de>
7775 * java/lang/Thread.java
7776 (Thread): Call checkAccess().
7777 (stop): Fixed argument name to match javadoc.
7778 * java/lang/natThread.cc
7779 (interrupt): Call checkAccess().
7782 2005-01-11 Michael Koch <konqueror@gmx.de>
7785 * java/net/URL.java (URL): Handle specs like
7786 "/redir?http://domain2.com/index.html" which start with a slash.
7788 2005-01-11 Michael Koch <konqueror@gmx.de>
7790 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7791 * gnu/java/net/BASE64.java,
7792 gnu/java/net/EmptyX509TrustManager.java,
7793 gnu/java/net/LineInputStream.java,
7794 gnu/java/net/protocol/http/Authenticator.java,
7795 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7796 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7797 gnu/java/net/protocol/http/ChunkedInputStream.java,
7798 gnu/java/net/protocol/http/Cookie.java,
7799 gnu/java/net/protocol/http/CookieManager.java,
7800 gnu/java/net/protocol/http/Credentials.java,
7801 gnu/java/net/protocol/http/HTTPConnection.java,
7802 gnu/java/net/protocol/http/HTTPDateFormat.java,
7803 gnu/java/net/protocol/http/HTTPURLConnection.java,
7804 gnu/java/net/protocol/http/Headers.java,
7805 gnu/java/net/protocol/http/Request.java,
7806 gnu/java/net/protocol/http/RequestBodyWriter.java,
7807 gnu/java/net/protocol/http/Response.java,
7808 gnu/java/net/protocol/http/ResponseBodyReader.java,
7809 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7810 gnu/java/net/protocol/http/SimpleCookieManager.java,
7811 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7812 gnu/java/net/protocol/http/event/ConnectionListener.java,
7813 gnu/java/net/protocol/http/event/RequestEvent.java,
7814 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7815 * gnu/java/net/protocol/http/Connection.java: Removed.
7816 * gnu/java/net/protocol/http/Handler.java,
7817 javax/net/ssl/HttpsURLConnection.java: Updated.
7818 * Makefile.am: Added new files and remove old ones.
7819 * Makefile.in: Regenerated.
7821 2005-01-11 Tom Tromey <tromey@redhat.com>
7824 * java/io/BufferedInputStream.java (read): Repeatedly read to
7826 (refill): Change test to see if buffer must be grown.
7828 2005-01-10 Tom Tromey <tromey@redhat.com>
7830 * mauve-libgcj: Exclude some swing tests.
7832 2005-01-10 Tom Tromey <tromey@redhat.com>
7834 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7835 * java/lang/Package.java (getPackages): Use VMClassLoader when
7837 (getPackage): Likewise.
7838 * prims.cc (_Jv_CreateJavaVM): Call
7839 _Jv_RegisterBootstrapPackages.
7840 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7841 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7842 (getPackages): Likewise.
7843 (definedPackages): New field.
7844 (definePackageForNative): New method.
7845 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7846 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7847 * defineclass.cc (handleClassBegin): Use
7848 ClassLoader.findLoadedClass.
7849 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7851 (struct _Jv_LoaderInfo): Removed.
7852 (initiated_classes): Likewise.
7853 (_Jv_UnregisterClass): Don't use initiated_classes.
7854 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7855 (_Jv_FindClass): Register classes found during boostrap.
7856 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7857 (bootstrap_class_list): New global.
7858 (bootstrap_index): Likewise.
7859 (_Jv_RegisterBootstrapPackages): New function.
7860 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7861 definePackageForNative.
7862 (findClass): Updated.
7863 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7866 2005-01-10 Tom Tromey <tromey@redhat.com>
7869 * include/jvm.h (_Jv_Linker::find_field): Declare.
7870 (_Jv_Linker::find_field_helper): Likewise.
7871 * link.cc (find_field_helper): New method.
7872 (find_field): Likewise.
7873 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7875 (link_symbol_table): Use find_field.
7877 2005-01-10 Michael Koch <konqueror@gmx.de>
7880 * java/util/Locale.java (Locale): Don't uppercase variant.
7881 (getISOCountries): Fixed typo in javadoc.
7883 2005-01-10 Michael Koch <konqueror@gmx.de>
7885 * java/util/SimpleTimeZone.java (checkRule):
7886 Throw IllegalArgumentException on invalid month values.
7887 * java/util/TimeZone.java (setID):
7888 Throw NullPointerException if needed.
7890 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7892 * java/util/SimpleTimeZone.java (getOffset):
7893 offset end date with daylight savings
7895 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7897 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7898 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7900 2005-01-09 Michael Koch <konqueror@gmx.de>
7903 * java/net/InetAddress.java (getLocalHost):
7904 Throw UnknownHostException if local hostname cannot be determined.
7906 2005-01-06 Tom Tromey <tromey@redhat.com>
7908 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7910 2005-01-07 Michael Koch <konqueror@gmx.de>
7913 * java/nio/Buffer.java (address): New field.
7914 * java/nio/DirectByteBufferImpl.java (address): Removed.
7915 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7916 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7917 Explicitly initialize Buffer.address if needed.
7918 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7919 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7920 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7921 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7922 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7923 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7924 DirectByteBufferImpl object.
7925 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7926 * testsuite/libjava.jni/directbuffer.c,
7927 testsuite/libjava.jni/directbuffer.java,
7928 testsuite/libjava.jni/directbuffer.out,
7929 testsuite/libjava.jni/bytebuffer.c,
7930 testsuite/libjava.jni/bytebuffer.java,
7931 testsuite/libjava.jni/bytebuffer.out: New files.
7933 2005-01-05 Tom Tromey <tromey@redhat.com>
7935 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7937 (compressedSize): Now 'long'. Default to -1.
7938 (getCompressedSize): Rewrote.
7939 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7940 deflate at all if we need input.
7942 2005-01-05 Tom Tromey <tromey@redhat.com>
7945 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7948 2005-01-05 Tom Tromey <tromey@redhat.com>
7950 * java/lang/natRuntime.cc (insertSystemProperties): Set
7951 java.ext.dirs earlier.
7953 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7955 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7956 sync_info element of the object if needed.
7958 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7960 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7961 a non-zero exit status from 'false'.
7963 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7965 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.