1 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
3 * testsuite/libjava.compile/PR21045.java: New test.
4 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
5 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
7 2005-07-06 Tom Tromey <tromey@redhat.com>
9 * java/io/InputStreamReader.java (refill): Handle no-progress
11 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
13 2005-07-06 Tom Tromey <tromey@redhat.com>
15 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
17 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
19 * testsuite/libjava.compile/PR19674.java: New test.
21 2005-07-05 Aaron Luchko <aluchko@redhat.com>
23 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
26 2005-07-04 Aaron Luchko <aluchko@redhat.com>
28 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
29 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
30 CommandSets to handle JdwpCommandPackets.
31 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
34 2005-07-01 Tom Tromey <tromey@redhat.com>
36 * libtool-version: Updated.
38 2005-06-30 Aaron Luchko <aluchko@redhat.com>
40 * gnu/classpath/jdwp/util/JdwpString.java: New file.
42 2005-06-30 Keith Seitz <keiths@redhat.com>
44 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
45 (myWrite): New abstract method.
48 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
50 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
52 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
53 JdwpPacket.write instead of JdwpPacket.toBytes.
55 2005-06-30 Keith Seitz <keiths@redhat.com>
57 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
60 (_doStream): New member.
61 (JdwpConnection): Initialize new members.
63 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
65 * all files: Update for new FSF address.
67 2005-06-29 Tom Tromey <tromey@redhat.com>
70 * testsuite/libjava.lang/pr22211.java: New file.
71 * java/lang/natThread.cc (finish_): Synchronize when updating
73 (_Jv_AttachCurrentThread): Likewise.
74 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
75 * java/lang/Thread.java (isAlive): Now synchronized.
77 2005-06-29 Tom Tromey <tromey@redhat.com>
79 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
82 2005-06-28 Robin Green <greenrd@greenrd.org>
85 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
88 2005-06-27 Tom Tromey <tromey@redhat.com>
90 PR java/21540, PR java/13788:
91 * testsuite/libjava.compile/pr21540.java: New file.
92 * testsuite/libjava.compile/pr13788.java: New file.
93 * testsuite/libjava.jacks/jacks.xfail: Updated.
95 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
97 * testsuite/libjava.mauve/xfails: Updated to reflect current state
100 2005-06-24 Tom Tromey <tromey@redhat.com>
102 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
103 where class' name is NULL.
104 (_Jv_FindClass): Don't wait for class state.
105 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
107 * include/java-interp.h (_Jv_DefineClass): Updated.
108 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
109 (struct _Jv_ClassReader): Likewise.
110 (found_name): New field.
111 (handleClassBegin): Set *found_name.
112 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
113 (handleClassBegin): Throw error if super class not set.
114 (read_methods): Correctly call check_tag and prepare_pool_entry.
116 2005-06-24 Tom Tromey <tromey@redhat.com>
118 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
120 2005-06-24 Tom Tromey <tromey@redhat.com>
122 * verify.cc (verify_instructions_0): Correctly handle situation
123 where PC falls off end.
125 2005-06-24 Tom Tromey <tromey@redhat.com>
127 * interpret.cc (compile): Handle case where table entry is
130 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
132 * testsuite/libjava.compile/PR20697.java: New test-case.
134 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
136 * Makefile.am (SUBDIRS): Use append for conditional.
137 (toolexeclib_LTLIBRARIES): Likewise.
138 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
139 a conditional append.
140 * Makefile.in: Regenerate.
142 2005-06-17 Keith Seitz <keiths@redhat.com>
144 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
145 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
146 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
148 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
149 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
151 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
152 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
153 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
154 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
156 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
157 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
159 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
161 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
162 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
163 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
164 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
165 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
166 * Makefile.in: Regenerate.
168 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
170 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
171 (USING_POSIX_PLATFORM): ... here.
172 * Makefile.am: Delete USING_ECOS_PLATFORM.
173 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
174 external/Makefile.in, external/sax/Makefile.in,
175 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
177 2005-06-15 Tom Tromey <tromey@redhat.com>
180 * testsuite/libjava.lang/pr17536.java: New file.
181 * testsuite/libjava.lang/pr17536.out: New file.
183 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
186 * gnu/java/net/protocol/http/HTTPURLConnection.java
187 (getHeaderFieldKey): Check index.
189 2005-06-15 Tom Tromey <tromey@redhat.com>
192 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
194 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
195 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
197 (append_partial_itable): Use it.
198 (set_vtable_entries): Likewise.
200 2005-06-15 Tom Tromey <tromey@redhat.com>
202 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
203 last_was_sep in loop.
205 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
207 * configure.host: Handle Solaris 10/x86.
209 2005-06-14 Keith Seitz <keiths@redhat.com>
211 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
212 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
214 2005-06-14 Keith Seitz <keiths@redhat.com>
216 * gnu/classpath/jdwp/id/ArrayId.java: New file.
217 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
218 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
219 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
220 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
221 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
222 * gnu/classpath/jdwp/id/JdwpId.java: New file.
223 * gnu/classpath/jdwp/id/ObjectId.java: New file.
224 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
225 * gnu/classpath/jdwp/id/StringId.java: New file.
226 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
227 * gnu/classpath/jdwp/id/ThreadId.java: New file.
229 2005-06-14 Tom Tromey <tromey@redhat.com>
232 * configure, aclocal.m4, Makefile.in: Rebuilt.
234 2005-06-14 Tom Tromey <tromey@redhat.com>
236 * java/lang/Class.java (getClasses): New method.
237 (internalGetClasses): Likewise.
238 (getClassLoader): Updated documentation.
239 (getDeclaredClasses): New overload; old overload no longer
241 (_getConstructors): Removed.
242 (resourcePath): Updated.
243 * java/lang/natClass.cc (getClasses): Removed.
244 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
246 (_getConstructors): Removed.
248 2005-06-13 Jim Huang <jserv@kaffe.org>
251 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
252 (_Jv_JNI_NewObject): Likewise.
254 2005-06-13 Tom Tromey <tromey@redhat.com>
257 * testsuite/libjava.lang/pr21844.java: New file.
258 * testsuite/libjava.lang/pr21844.out: New file.
260 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
263 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
266 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
268 * java/text/MessageFormat.java (parse): When parsing strings, check
269 for an empty pattern trailer.
271 2005-06-06 Keith Seitz <keiths@redhat.com>
273 * gnu/classpath/jdwp/util/Signature.java: New file.
274 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
276 2005-06-05 Anthony Green <green@redhat.com>
278 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
281 2005-06-04 Anthony Green <green@redhat.com>
283 * java/net/URLClassLoader.java: import gnu.gcj.Core,
284 and gnu.java.net.protocol.core.CoreInputStream.
285 (CureURLLoader): New class.
286 (CoreResource): New class.
287 (addURLImpl): Add special treatment for the "core" protocol.
288 * gnu/gcj/natCore.cc (find): New method.
289 * gnu/gcj/Core.java (find): New method.
291 2005-06-03 Keith Seitz <keiths@redhat.com>
293 * gnu/classpath/jdwp/transport/ITransport.java: New file.
294 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
295 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
297 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
299 * jawt.c: Remove malloc.h, covered by stdlib.h.
301 * testsuite/libjava.jni/jni.exp
302 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
305 2005-06-02 Keith Seitz <keiths@redhat.com>
307 * gnu/classpath/jdwp/transport/TransportException.java: New file.
309 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
311 * mauve-libgcj: Remove implemented classes from the fail section.
312 Add two new not implemented to it.
314 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
316 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
317 AC_SUBST definition from configure.host.
318 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
319 to -fomit-frame-pointer on 32-bit x86 targets.
321 2005-06-01 Tom Tromey <tromey@redhat.com>
323 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
325 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
328 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
329 (static): Add possessive matching to JAVA_1_4 syntax.
330 * gnu/regexp/RETokenRepeated.java (possessive): New field.
331 (makePossessive, isPossessive): New methods.
332 (match): Don't back off during possessive matching.
333 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
334 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
337 2005-06-01 Keith Seitz <keiths@redhat.com>
339 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
340 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
341 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
343 2005-06-01 Tom Tromey <tromey@redhat.com>
346 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
347 (currentLoader): New method.
348 * java/io/ObjectInputStream.java (resolveProxyClass): Use
350 (currentLoader): Now native.
351 (currentClassLoader): Removed.
352 * testsuite/libjava.lang/pr21785.java: New file.
353 * testsuite/libjava.lang/pr21785.out: New file.
355 2005-06-01 Tom Tromey <tromey@redhat.com>
358 * java/lang/natString.cc (substring): Changed sharing heuristic.
360 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
363 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
364 MAXPATHLEN. Format exception message using a StringBuffer instead.
366 2005-05-29 Michael Koch <konqueror@gmx.de>
369 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
371 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
373 * ChangeLog: Fix typo.
375 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
377 Testsuite adjustments for PR java/19870.
378 * testsuite/libjava.lang/PR19870.java: New testcase.
379 * testsuite/libjava.lang/PR19870.out: Expected output for the
381 * testsuite/libjava.jacks/jacks.xfail: Add
382 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
385 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
387 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
388 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
389 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
391 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
392 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
393 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
394 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
396 2005-05-25 Richard Henderson <rth@redhat.com>
399 * sysdep/descriptor-n.h: New file.
400 * sysdep/descriptor-y.h: New file.
401 * sysdep/powerpc/descriptor.h: New file.
402 * configure.host: Set $descriptor_h appropriate for the host.
403 * configure.ac: Link it.
404 * configure: Regenerate.
405 * stacktrace.cc: Include sysdep/descriptor.h.
406 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
408 2005-05-25 Chris Burdess <dog@gnu.org>
410 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
411 end entity callbacks.
413 2005-05-24 Gary Benson <gbenson@redhat.com>
416 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
417 Handle DateFormat.DEFAULT case correctly.
419 2005-05-21 Tom Tromey <tromey@redhat.com>
422 * java/lang/ref/natReference.cc (find_slot): Handle case where
423 table has no NULL entries.
424 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
425 table has no NULL entries.
427 2005-05-22 Andreas Jaeger <aj@suse.de>
429 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
432 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
434 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
436 2005-05-19 Richard Henderson <rth@redhat.com>
438 * exception.cc: Revert 05-17 gcc_unreachable change.
440 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
442 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
443 _Jv_RegisterInitiatingLoader to register array classes, not
445 (_Jv_RegisterInitiatingLoader): Give up if called very early during
446 bootstrapping. Add a FIXME to handle this case better.
448 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
450 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
452 (libgcj_la_SOURCES): New. Move sources here.
453 (libgcj.la): Remove rule.
455 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
458 * gnu/java/security/provider/DSASignature.java: Import updates
461 2005-05-18 Anthony Green <green@redhat.com>
463 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
464 classpath_jawt_object_unlock, classpath_jawt_create_lock,
465 classpath_jawt_destroy_lock): New functions.
466 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
467 classpath_jawt_object_unlock, classpath_jawt_create_lock,
468 classpath_jawt_destroy_lock): New functions.
469 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
471 * jawt.c: #include malloc.h.
472 (_Jv_Lock): Use lock.
474 (_Jv_GetDrawingSurface): Initialize lock.
475 (_Jv_FreeDrawingSurface): Destroy lock.
476 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
478 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
480 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
481 * Makefile.in: Regenerate.
483 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
485 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
486 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
487 * aclocal.m4, configure, config.h.in, include/config.h.in,
488 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
489 external/Makefile.in, external/sax/Makefile.in,
490 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
492 2005-05-17 David Daney <ddaney@avtrex.com>
495 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
497 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
499 * exception.cc (abort): Remove std::abort hack.
500 (gcc_unreacheable): Define.
502 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
504 * Makefile.am (Makefile.deps): Do not create native.list and
506 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
507 * Makefile.in: Regenerate.
509 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
511 * configure.ac (--enable-libgcj-multifile): Remove.
513 * Makefile.am (all_native_compiled_source_files,
514 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
515 all_libgcj_lo_files, all_xlib_lo_files,
516 all_java_deps_files, all_java_stamp_files,
517 all_java_filelist_files): New variables.
518 (EXTRA_DIST): New Automake variable.
519 (CLEANFILES): Add .stamp, .list and .lo files.
520 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
521 (classes.stamp): Depend on $(all_java_stamp_files).
522 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
523 going through write_entries_to_file.
525 (all_java_source_files, all_property_files): Move earlier.
526 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
527 all_java_class_files): Remove.
528 (gtk_awt_peer_sources): Rename to...
529 (gtk_awt_peer_source_files): ... this. Adjust throughout.
532 (libgcj0_convenience_la_SOURCES): Remove Java source files.
533 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
534 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
535 (libgcj_la_SOURCES): Remove.
536 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
537 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
538 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
540 * configure: Regenerate.
541 * Makefile.in: Regenerate.
542 * external/Makefile.in: Regenerate.
543 * external/sax/Makefile.in: Regenerate.
544 * external/w3c_dom/Makefile.in: Regenerate.
545 * gcj/Makefile.in: Regenerate.
546 * include/Makefile.in: Regenerate.
547 * libltdl/Makefile.in: Regenerate.
548 * testsuite/Makefile.in: Regenerate.
550 2005-05-16 Tom Tromey <tromey@redhat.com>
552 * java/nio/charset/Charset.java (encode, decode): Synchronize on
553 'this', not the class.
555 2005-05-16 Tom Tromey <tromey@redhat.com>
557 * gnu/java/net/protocol/http/Headers.java (parse): Include final
560 2005-05-16 Tom Tromey <tromey@redhat.com>
563 * java/net/URI.java (unquote): Handle lower-case letters as well.
565 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
568 * gnu/regexp/RE.java: Add support for quoting constructs.
570 2005-05-15 Tom Tromey <tromey@redhat.com>
572 * java/lang/String.java (startsWith): Fixed javadoc.
574 2005-05-15 Tom Tromey <tromey@redhat.com>
577 * testsuite/libjava.compile/pr21519.java: New file.
578 * testsuite/libjava.compile/pr21519.no-link: New file.
580 2005-05-15 Tom Tromey <tromey@redhat.com>
582 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
584 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
587 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
588 interrupt status flag if _Jv_CondWait is interrupted.
590 2005-05-13 Tom Tromey <tromey@redhat.com>
592 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
595 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
597 * include/jvm.h (gcj::verifyClasses): Declare.
598 * link.cc (gcj::verbose_class_flag): Moved.
599 * prims.cc (gcj::verifyClasses): Define here.
600 (gcj::verbose_class_flag): Move definition here.
601 (_Jv_Linker::wait_for_state): Don't call verify_class
602 if gcj::verifyClasses is not set.
603 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
605 2005-05-12 Aaron Luchko <aluchko@redhat.com>
607 * gij.cc (main): Recognize '-verify', '-noverify', and
610 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
612 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
614 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
616 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
619 2005-05-11 Tom Tromey <tromey@redhat.com>
621 * external/w3c_dom/Makefile.in: Rebuilt.
622 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
624 * external/sax/Makefile.in: Rebuilt.
625 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
627 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
629 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
630 Call _Jv_CopyClassesToSystemLoader.
631 * java/lang/natClassLoader.cc (system_class_list): New global.
632 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
634 (_Jv_CopyClassesToSystemLoader): New function.
635 (SYSTEM_LOADER_INITIALIZED): New define.
636 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
637 (_Jv_CheckABIVersion): Use it.
638 (_Jv_ClassForBootstrapLoader): New function.
639 * Makefile.in: Rebuilt.
640 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
642 2005-05-10 Tom Tromey <tromey@redhat.com>
644 * gcj/javaprims.h: Updated.
645 * java/lang/String.java (String(StringBuilder)): New constructor.
646 * java/lang/natStringBuilder.cc: New file.
647 * java/lang/StringBuilder.java: New file.
648 * Makefile.in: Rebuilt.
649 * Makefile.am (core_java_source_files): Added StringBuilder.java.
650 (nat_source_files): Added natStringBuilder.cc.
652 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
655 * testsuite/libjava.jacks/jacks.xfail: Adjust.
657 2005-05-09 Mike Stump <mrs@apple.com>
659 * configure: Regenerate.
661 2005-05-09 David Daney <ddaney@avtrex.com>
663 * java/util/BitSet.java (get(int, int)): Fix breakage when
664 requested set doesn't start on a multiple of 64.
666 2005-05-07 Matthias Klose <doko@debian.org>
668 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
670 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
672 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
673 * Makefile.in: Regenerate.
674 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
675 (createCompatibleVolatileImage(int,int)): Implement.
676 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
678 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
680 (createVolatileImage): Implement.
681 (createBuffers): Likewise.
682 (getBackBuffer): Likewise.
684 (destroyBuffers): Likewise.
685 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
686 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
687 (CanvasFlipBufferStrategy): Likewise.
688 (createBufferStrategy(int)): New method.
689 (createBufferStrategy(int,BufferCapabilities)): Likewise.
690 * java/awt/Component.java (BltBufferStrategy): Implement and
692 (FlipBufferStrategy): Likewise.
693 * java/awt/Window.java (WindowBltBufferStrategy): New class.
694 (WindowFlipBufferStrategy): Likewise.
695 (createBufferStrategy(int)): New method.
696 (createBufferStrategy(int,BufferCapabilities)): Likewise.
697 (getBufferStrategy): Likewise.
698 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
699 front to frontCaps and back to backCaps.
701 2005-05-06 Michael Koch <konqueror@gmx.de>
703 * java/awt/BufferCapabilities.java
704 (BufferCapabilities): Merged javadoc.
706 2005-05-06 Michael Koch <konqueror@gmx.de>
708 * java/util/Locale.java
709 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
710 (getLocale): New methods. Use it everywhere where instances of Locales
712 (getDisplayLanguage): Merged javadoc.
713 (getDisplayCountry): Likewise.
714 (getDisplayVariant): Likewise.
716 2005-05-06 Archie Cobbs <archie@dellroad.org>
718 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
719 use DeleteLocalRef() to avoid exhausting local native references.
721 2005-05-06 Mark Wielaard <mark@klomp.org>
723 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
724 (window_delete_cb): Don't use C++ style comments.
726 2005-05-06 Robert Schuster <thebohemian@gmx.net>
728 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
731 2005-05-06 Robert Schuster <thebohemian@gmx.net>
733 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
734 (window_delete_cb): Made the function return TRUE.
736 2005-05-06 Roman Kennke <roman@kennke.org>
738 * javax/swing/text/PlainView.java
739 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
741 * javax/swing/text/Utilities.java
742 (drawTabbedText): Initilialize local variable pos correctly.
744 2005-05-06 Roman Kennke <roman@kennke.org>
746 * javax/swing/text/AbstractDocument.java
747 (LeafElement): Made start and end package private fields for
748 effective reindexing.
749 * javax/swing/text/PlainDocument.java
750 (constructor): The field rootElement is always BranchElement,
751 so we handle it as such.
752 (removeUpdate): Rewritten reindexing for removeUpdate so that
753 the actual removal is taken into account.
755 2005-05-06 Roman Kennke <roman@kennke.org>
757 * javax/swing/text/GapContent.java:
758 Removed debugging output stuff, which I accidentally left in.
760 2005-05-06 Roman Kennke <roman@kennke.org>
762 * javax/swing/text/GapContent.java:
763 Implemented a real GapContent. Only the public methods have
764 been implemented so far and still no UndoableEdit support.
766 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
768 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
771 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
773 * java/awt/image/BufferStrategy.java: Document.
775 * java/awt/BufferCapabilities.java: Document.
777 2005-05-04 Tom Tromey <tromey@redhat.com>
779 * java/nio/channels/FileLock.java (toString): Entirely avoid
782 2005-05-04 Andrew Overholt <overholt@redhat.com>
784 * java/nio/channels/FileLock.java (toString): Re-implement using
787 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
789 * java/awt/ImageCapabilities.java: Document.
791 * java/awt/image/VolatileImage.java: Unindent copyright header.
793 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
795 * java/awt/image/VolatileImage.java: Document.
797 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
800 (init_glib_threads): Check if threading system is already
803 2005-05-03 Andrew Overholt <overholt@redhat.com>
806 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
807 could not be acquired.
808 * java/nio/channels/FileLock.java (toString): Re-implement to be
809 in line with other implementations.
811 2005-05-03 Tom Tromey <tromey@redhat.com>
813 * java/lang/VMSecurityManager.java (currentClassLoader): Use
814 'systemClasssLoader' directly.
816 2005-05-03 Tom Tromey <tromey@redhat.com>
818 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
819 call VMClassLoader.getSystemClassLoader.
821 2005-04-29 Michael Koch <konqueror@gmx.de>
823 * java/net/NetworkInterface.java
825 (NetworkInterface(String,InetAddress)): Made package-private.
826 (NetworkInterface(String,InetAddress[])): New constructor.
827 (getRealNetworkInterfaces): Removed.
828 (getByName): Use VMNetworkInterface.getInterfaces().
829 (getByInetAddress): Likewise.
830 (getNetworkInterfaces): Likewise.
831 * java/net/VMNetworkInterface.java,
832 java/net/natVMNetworkInterfaceNoNet.cc,
833 java/net/natVMNetworkInterfacePosix.c,c
834 java/net/natVMNetworkInterfaceWin32.cc: New files.
835 * java/net/natNetworkInterfaceNoNet.cc,
836 java/net/natNetworkInterfacePosix.cc,
837 java/net/natNetworkInterfaceWin32.cc: Removed.
840 * configure, Makefile.in: Regenerated.
842 2005-04-29 Andrew Haley <aph@redhat.com>
844 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
846 2005-04-29 Dalibor Topic <robilad@kaffe.org>
848 * java/nio/channels/FileChannelImpl.java
849 (FileChannelImpl(String, int)): Removed.
850 (FileChannelImpl(File, int)): Added. Check if opened file is a
852 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
853 Call FileChannelImpl(File, int).
854 * java/io/FileOutputStream.java (FileInputStream): Call
855 FileChannelImpl(File, int).
856 * java/io/RandomAccessFile.java (RandomAccessFile):
857 Call FileChannelImpl(File, int). Switched constructors around.
859 2005-04-27 Andrew Haley <aph@redhat.com>
862 * prims.cc (_Jv_ResolvePoolEntry): New function.
863 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
864 * link.cc (_Jv_Linker::find_field): New arg: found_class.
865 (resolve_pool_entry): Initialize the class in which a field is
867 (link_symbol_table): Pass new arg to found_class.
869 2005-04-29 Michael Koch <konqueror@gmx.de>
871 * java/nio/charset/Charset.java
872 (provider): Reformatted.
874 2005-04-29 Michael Koch <konqueror@gmx.de>
876 * gnu/java/net/protocol/http/HTTPConnection.java:
877 (userAgent): Initialize from system properties.
878 (initUserAgent): Removed.
880 2005-04-29 Mark Wielaard <mark@klomp.org>
882 * java/util/ResourceBundle.java (getObject): Clarify
883 MissingResourceException detailed message.
884 (tryBundle(String,ClassLoader)): Likewise.
886 2005-04-29 Robert Schuster <thebohemian@gmx.net>
888 * java/beans/FeatureDescriptor.java:
889 (getShortDescription): Implemented fallback mechanism and fixed
890 documentation (fixes bug #12637).
891 (getDisplayName): Dito.
893 2005-04-29 Robert Schuster <thebohemian@gmx.net>
895 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
896 will now be set correctly.
897 (flushCaches): Now flushes all cached intermediate data.
899 2005-04-28 Michael Koch <konqueror@gmx.de>
901 * java/net/InetAddress.java
902 (aton): Fixed javadoc.
905 2005-04-28 Tom Tromey <tromey@redhat.com>
907 * javax/swing/Timer.java
908 (drainEvents, queueEvent): Now package-private.
910 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
912 * javax/swing/Timer.java
913 (constructor): Assigning initialDelay.
915 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
917 * javax/swing/Timer.java
918 (Waker.run): firing the first action event.
920 2005-04-28 Michael Koch <konqueror@gmx.de>
922 * javax/swing/Timer.java: Reordered all fields and methods,
925 2005-04-28 Michael Koch <konqueror@gmx.de>
927 * javax/swing/Timer.java: Javadocs merged
930 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
932 * gnu/java/net/protocol/file/Connection.java
933 (StaticData): New inner class to contain statics.
934 (connect, getHeaderField): Modified to use StaticData.
936 2005-04-28 Michael Koch <konqueror@gmx.de>
938 * gnu/java/net/protocol/file/Connection.java
939 (lineSeparator): Initialize with SystemProperties.getProperty().
941 2005-04-27 Chris Burdess <dog@gnu.org>
943 * gnu/java/net/protocol/file/Connection.java: Return correct content
944 length for directory listing.
945 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
946 #11285: return valid URLs for directories.i
948 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
950 * Makefile.am (ordinary_java_source_files): Add
951 gnu/java/net/protocol/https/Handler.java.
952 * Makefile.in: Regenerate.
953 * java/net/URL.java: Remove org.metastatic.jessie from default
954 protocol search path.
956 2005-04-27 Chris Burdess <dog@gnu.org>
958 * gnu/java/net/protocol/https/Handler.java: New file.
960 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
962 * javax/imageio/spi/IIORegistry.java (IIORegistry):
963 Don't assume that awt Toolkit is always ClasspathToolkit.
965 2005-04-27 Chris Burdess <dog@gnu.org>
967 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
968 absolute and relative paths in Location header.
970 2005-04-27 Chris Burdess <dog@gnu.org>
972 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
973 FileNotFoundException and implement getErrorStream on 404.
975 2005-04-27 Sven de Marothy <sven@physto.se>
977 * java/util/TimeZone.java,
978 (getDefaultDisplayName): Fix previous fix.
980 2005-04-27 Sven de Marothy <sven@physto.se>
982 * java/util/TimeZone.java,
983 (getDefaultDisplayName): Don't print zero offsets.
985 2005-04-27 Roman Kennke <roman@kennke.org>
987 * javax/swing/plaf/basic/BasicScrollBarUI
988 (getThumbBounds): Do not make thumb smaller than
990 * javax/swing/plaf/metal/MetalLookAndFeel
991 (initComponentDefaults): Added color defaults for ScrollBar.
992 * javax/swing/plaf/metal/MetalScrollBarUI
994 (getMinimumThumbSize): Added.
996 2005-04-27 Roman Kennke <roman@kennke.org>
998 * javax/swing/plaf/metal/MetalLookAndFeel
999 (initComponentDefaults): Added some default colors.
1001 2005-04-27 Roman Kennke <roman@kennke.org>
1003 * javax/swing/plaf/basic/BasicScrollBarUI.java
1004 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1005 to 'ScrollBar.thumbShadow'. The formes does not exist.
1006 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1008 2005-04-27 Roman Kennke <roman@kennke.org>
1010 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1011 * javax/swing/BoxLayout.java: Likewise.
1012 * javax/swing/UIManager.java: Likewise.
1013 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1014 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1015 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1016 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1017 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1018 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1019 * javax/swing/text/Document.java: Likewise.
1020 * javax/swing/text/GapContent.java: Likewise.
1021 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1022 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1024 2005-04-27 Roman Kennke <roman@kennke.org>
1026 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1027 (getPropertyPrefix): Added.
1029 2005-04-27 Roman Kennke <roman@kennke.org>
1031 * javax/swing/plaf/basic/BasicButtonUI.java
1032 (getPropertyPrefix): Added.
1033 (installDefaults): Use getPropertyPrefix instead of hard-coded
1036 2005-04-27 Roman Kennke <roman@kennke.org>
1038 * javax/swing/JToggleButton.java
1039 (JToggleButton): Removed horizontalAlignment setting, this
1040 was wrong. Added setting of an actionCommand, ToggleButtons
1041 have "" as default actionCommand.
1043 2005-04-27 Michael Koch <konqueror@gmx.de>
1045 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1046 to work around CNI limitation.
1048 2005-04-27 Sven de Marothy <sven@physto.se>
1050 * java/nio/charset/Charset.java:
1051 (defaultCharset()): New method.
1052 Status updated to 1.5
1054 2005-04-27 Sven de Marothy <sven@physto.se>
1056 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1058 2005-04-27 Sven de Marothy <sven@physto.se>
1060 * java/nio/charset/Charset.java: Reset cached de/encoders.
1062 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1064 * java/nio/charset/Charset.java (forName): Throws
1065 IllegalArgumentException when argument is null
1066 and added documentation.
1068 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1070 * java/nio/charset/Charset.java (providers):
1071 New method to make an array of CharsetProviders defined in
1072 META-INF/services/java.nio.charset.spi.CharsetProvider.
1073 (charsetForName, availableCharsets): Use the
1074 new method providers().
1076 2005-04-26 Michael Koch <konqueror@gmx.de>
1078 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1079 Fixed typos in javadocs.
1080 (isSiteLocalAddress): Fixed handling of byte values.
1081 (isMCLinkLocal): Likewise.
1082 * java/net/Inet4Address.java
1083 (isMulticastAddress): Call super method.
1084 (isLoopbackAddress): Likewise.
1085 (isAnyLocalAddress): Likewise.
1086 (isLinkLocalAddress): Likewise.
1087 (isSiteLocalAddress): Likewise.
1088 (isMCGlobal): Likewise.
1089 (isMCNodeLocal): Likewise.
1090 (isMCLinkLocal): Likewise.
1091 (isMCSiteLocal): Likewise.
1092 (isMCOrgLocal): Likewise.
1093 (getHostAddress): Likewise.
1095 2005-04-26 Sven de Marothy <sven@physto.se>
1097 * java/net/InetAddress.java
1098 (toString): Don't print empty hostnames.
1100 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1103 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1104 'false' to native lock().
1105 (lock): Pass 'true' to native lock().
1107 2005-04-26 Michael Koch <konqueror@gmx.de>
1109 * java/net/InetAddress.java:
1110 Fixed typos in javadocs.
1112 2005-04-26 Andrew Haley <aph@redhat.com>
1115 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1118 2005-04-26 Tom Tromey <tromey@redhat.com>
1120 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1121 gnu): Now package-private.
1122 * javax/swing/text/html/parser/DocumentParser.java (parser,
1123 callBack, gnu): Now package-private.
1124 * javax/swing/text/StringContent.java (content, setOffset,
1125 checkLocation): Now package-private.
1126 * javax/swing/text/JTextComponent.java (doc): Now
1128 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1129 lastGoodOrientation, origParent, borders, cachedBounds,
1130 cachedOrientation, DragWindow): Now package-private.
1131 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1132 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1133 tabAreaRect, contentRect, createIncreaseButton,
1134 createDecreaseButton, findPointForIndex): Now package-private.
1135 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1136 (currentDividerLocation, moveDividerTo): Now package-private.
1137 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1139 * javax/swing/plaf/basic/BasicScrollBarUI.java
1140 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1141 Now package-private.
1142 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1143 (topWindowListener): Now package-private.
1144 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1145 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1146 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1148 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1150 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1151 Now package-private.
1152 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1154 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1155 borderInsets): Now package-private.
1156 (arrowButtonWidth): Likewise. Now a constant.
1157 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1158 makeTabs, updatePreviewPanel): Now package-private.
1159 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1160 darkShadow, highlight): Now package-private.
1161 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1162 (addColorToQueue): Now package-private.
1163 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1164 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1165 GSpinner, BSpinner): Now package-private.
1166 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1167 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1168 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1169 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1170 updateTrack): Now package-private.
1171 * javax/swing/TransferHandler.java (clipboard): Now
1173 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1175 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1177 * javax/swing/RepaintManager.java (globalManager): Now
1179 * javax/swing/JFormattedTextField.java (editValid): Now
1181 * javax/swing/JColorChooser.java (makeModal): Now
1183 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1184 index, path): Now package-private.
1185 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1186 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1187 pointEquals): Now package-private.
1188 * java/awt/geom/Arc2D.java (type): Now package-private.
1189 * java/awt/Window.java (windowFocusOwner): Now package-private.
1190 * java/awt/TextComponent.java (editable, selectionStart,
1191 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1193 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1195 * java/awt/MenuComponent.java (focusListener): Now
1197 * java/awt/Frame.java (state): Now package-private.
1198 * java/awt/Choice.java (pItems): Now package-private.
1199 * java/awt/Checkbox.java (state): Now package-private.
1200 * java/awt/Button.java (actionCommand, label): Now
1202 * gnu/javax/swing/text/html/parser/support/Parser.java
1203 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1205 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1207 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1208 clip, transform, font, comp): Now package-private.
1210 2005-04-26 Tom Tromey <tromey@redhat.com>
1212 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1215 2005-04-26 Mark Wielaard <mark@klomp.org>
1217 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1218 to MalformedURLException.
1220 2005-04-26 Michael Koch <konqueror@gmx.de>
1222 * java/security/AccessControlContext.java:
1224 (protectedDomains): Renamed from 'protectionDomain'.
1225 * java/security/AccessController.java:
1228 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1230 * gnu/java/security/action/GetSecurityPropertyAction.java
1231 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1232 of extending GetPropertyAction.
1235 (setParamters): New methods.
1236 (GetSecurityPropertyAction): Use new setParameters methods.
1238 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1240 * java/security/Security.java,
1241 java/security/cert/X509CRLSelector.java,
1242 java/security/cert/X509CertSelector.java:
1243 Modified to use SystemProperties.
1245 2005-04-26 Michael Koch <konqueror@gmx.de>
1247 * java/lang/System.java
1248 (setSecurityManager): Fixed comment.
1249 (getSecurityManager): Removed obsolete comment.
1251 2005-04-25 Tom Tromey <tromey@redhat.com>
1253 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1255 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1257 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1258 (connectSignals): Realize the window widget after connecting
1261 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1263 * java/awt/GraphicsEnvironment.java
1264 (localGraphicsEnvironment): New field.
1265 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1267 (isHeadless): Added support for java.awt.headless property.
1268 (isHeadlessInstance): Call headless().
1270 2005-04-25 Roman Kennke <roman@kennke.org>
1272 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1273 (getDisplayMode): Added. Returns the current display mode.
1274 (isFullScreenSupported): Added.
1275 * java/awt/GraphicsDevice.java
1276 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1277 This resizes and relocates the fullscreen window so that it uses
1278 the whole screen. This is not a fully accelerated fullscreen
1281 2005-04-25 Michael Koch <konqueror@gmx.de>
1283 * java/lang/Runtime.java,
1284 java/lang/SecurityManager.java,
1285 java/lang/System.java,
1286 java/lang/ThreadGroup.java:
1287 Replaced java.lang.Runtime.securityManager by
1288 java.lang.SecurityManager.current (as used in GNU classpath).
1290 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1292 * java/awt/Transparency.java
1293 (getTransparency): fixed API docs.
1295 2005-04-25 Archie Cobbs <archie@dellroad.org>
1297 * java/lang/Throwable.java: simplify initializing cause in constructor
1299 2005-04-25 Michael Koch <konqueror@gmx.de>
1301 * gnu/classpath/SystemProperties.java: New file.
1302 * gnu/classpath/natSystemProperties.cc: New file.
1303 * java/lang/Runtime.java
1304 (defaultProperties): Removed.
1306 (): Made thrown exceptions more verbose.
1307 (insertSystemProperties): Removed.
1308 * java/lang/System.java
1310 (properties): Likewise.
1311 (setSecurityManager): Reordered modifiers.
1312 (getenv): Improved javadoc.
1314 (isWordsBigEndian): Removed.
1315 * java/lang/natRuntime.cc
1316 (_Jv_SetDLLSearchPath): Likewise.
1317 (file_encoding): Likewise.
1318 (default_file_encoding): Likewise.
1319 (getpwuid_adaptor): Likewise.
1320 (insertSystemProperties): Likewise.
1321 * java/lang/natSystem.cc
1322 (isWordsBigEndian): Likewise.
1324 (ordinary_java_source_files):
1325 Added gnu/classpath/SystemProperties.java.
1326 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1327 * Makefile.in: Regenerated.
1329 2005-04-25 Roman Kennke <roman@kennke.org>
1331 * javax/swing/plaf/basic/BasicScrollBarUI.java
1332 (initDefaults): Initialize thumb*Color fields correctly.
1334 2005-04-25 Roman Kennke <roman@kennke.org>
1336 * javax/swing/text/GapContent.java:
1339 2005-04-25 Roman Kennke <roman@kennke.org>
1341 * javax/swing/plaf/metal/MetalBorders.java:
1342 Added inner class ScrollPaneBorder.
1343 * javax/swing/plaf/metal/MetalLookAndFeel.java
1344 (initComponentDefaults): Added default for "ScrollPane.border"
1345 to use the new ScrollPaneBorder.
1347 2005-04-25 Roman Kennke <roman@kennke.org>
1349 * javax/swing/text/AbstractDocument.java:
1350 Added FIXME comments. This class still has to be
1351 implemented thread-safe.
1353 2005-04-25 Roman Kennke <roman@kennke.org>
1355 * javax/swing/tree/DefaultTreeSelectionModel.java
1356 (DefaultTreeSelectionModel): Initialize listenerList here.
1358 2005-04-25 Roman Kennke <roman@kennke.org>
1360 * javax/swing/plaf/metal/MetalTextFieldUI.java
1361 (createUI): Return one instance per Component instead of a
1364 2005-04-25 Roman Kennke <roman@kennke.org>
1366 * javax/swing/text/Document.java:
1367 Added API documentation comments.
1369 2005-04-25 Roman Kennke <roman@kennke.org>
1371 * javax/swing/text/AbstractDocument.java
1372 (getDocumentProperties): Implemented.
1373 (setDocumentProperties): Implemented.
1374 (getProperty): Implemented.
1375 (putProperty): Implemented.
1377 2005-04-25 Roman Kennke <roman@kennke.org>
1379 * javax/swing/BoxLayout
1380 (preferredLayoutSize): Fixed computation so that it correctly
1381 adds the top and bottom insets of the container.
1383 2005-04-25 Roman Kennke <roman@kennke.org>
1385 * javax/swing/plaf/basic/BasicMenuItemUI.java
1386 (paintText): Make use of the 'selectionForeground' UI default
1389 2005-04-25 Roman Kennke <roman@kennke.org>
1391 * javax/swing/plaf/basic/BasicLookAndFeel.java
1392 (initSystemColorDefaults): Modified colors to match the
1393 BasicLookAndFeel in the reference implementation.
1394 (initComponentDefaults): Likewise.
1396 2005-04-25 Tom Tromey <tromey@redhat.com>
1398 * include/jni.h (_Jv_va_list): Removed.
1399 Moved configuration code...
1400 * include/jni_md.h: ... here. New file.
1401 * include/Makefile.in: Rebuilt.
1402 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1404 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1406 * java/io/FileInputStream.java (FileInputStream(File)),
1407 java/io/FileOutputStream.java (FileOutputStream(File)):
1408 Removed unnecessary File.isDirectory() check.
1410 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1412 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1413 gij if get_multilibs fails.
1415 2005-04-22 Anthony Green <green@redhat.com>
1417 * jni.cc (natrehash): Don't bother clearing memory again.
1418 * interpret.cc (do_allocate_static_fields): Ditto.
1419 * java/lang/natString.cc (rehash): Ditto.
1421 2005-04-22 Roman Kennke <roman@kennke.org>
1423 * javax/swing/plaf/basic/BasicLookAndFeel.java
1424 (initComponentDefaults): Changed Button.border to be
1425 BasicBorders.getButtonBorder as it should be.
1427 2005-04-22 Roman Kennke <roman@kennke.org>
1429 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1430 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1431 should according to a mauve testcase, instead of the preferred
1434 2005-04-22 Roman Kennke <roman@kennke.org>
1436 * javax/swing/JMenu.java
1437 (add): add(Component) now calls PopupMenu.insert(..) instead of
1438 PopupMenu.add(..). add(..) is not implemented for Component,
1439 so JComponent.add(..) is called instead, adding the component
1442 2005-04-22 Roman Kennke <roman@kennke.org>
1444 * javax/swing/plaf/basic/BasicButtonListener.java
1445 (mousePressed): replaced query to getModifiersEx with getModifiers.
1446 This method relied on faulty behaviour in getModifierEx.
1447 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1448 This method relied on faulty behaviour in getModifierEx.
1450 2005-04-22 Roman Kennke <roman@kennke.org>
1452 * javax/swing/plaf/metal/MetalLookAndFeel.java
1453 (getDefaults): Call addCustomEntriesToTable on the theme.
1455 2005-04-22 Roman Kennke <roman@kennke.org>
1457 * javax/swing/tree/DefaultTreeSelectionModel.java
1458 (constructor): Added implementation.
1459 (getRowMapper): Added implementation.
1460 (setSelectionMode): Added implementation.
1461 (getSelectionMode): Added implementation.
1462 (getSelectionPath): Added implementation.
1463 (getSelectionPaths): Added implementation.
1464 (getSelectionCount): Added implementation.
1465 (isSelectionEmpty): Added implementation.
1466 (getSelectionRows): Added implementation.
1467 (getMinSelectionRow): Added implementation.
1468 (getMaxSelectionRow): Added implementation.
1469 (getLeadSelectionRow): Added implementation.
1470 (getLeadSelectionPath): Added implementation.
1472 2005-04-22 Casey Marshall <csm@gnu.org>
1474 * gnu/java/security/der/DERValue.java
1475 (getValueAs): new method.
1476 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1477 (<init>): read both dates with 'DERValue.getValueAs', with
1478 'GENERALIZED_TIME' as the argument.
1480 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1482 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1483 be null, check for that case and don't deference it.
1485 2005-04-22 Sven de Marothy <sven@physto.se>
1487 * java/util/logging/LogManager.java: Reformatted.
1488 (readConfiguration): If a logger for a key is not found, create one.
1490 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1492 * java/rmi/Naming.java:
1493 Added class documentation.
1494 (lookup(String)): Call parseURL and getName.
1495 (bind(String,java.rmi.Remote)): Likewise.
1496 (unbind(String)): Likewise.
1497 (rebind(String, java.rmi.Remote)): Likewise.
1498 (list(String)): Call parseURL.
1499 (parseURL(String)): New method to handle parsing and defaults.
1500 (getName(java.net.URL)): New method to handle finding the service name.
1502 2005-04-21 Tom Tromey <tromey@redhat.com>
1504 * java/lang/natClass.cc (initializeClass): Link class.
1506 2005-04-21 Tom Tromey <tromey@redhat.com>
1508 * java/lang/AssertionError.java: Typo fix.
1510 2005-04-21 Tom Tromey <tromey@redhat.com>
1512 * java/lang/VMClassLoader.java (transformException): Removed.
1513 (resolveClass): No longer native. Now does nothing.
1514 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1516 2005-04-21 Anthony Green <green@redhat.com>
1519 * testsuite/libjava.special/special.exp,
1520 testsuite/libjava.special/pr21115I.java,
1521 testsuite/libjava.special/pr21115.java,
1522 testsuite/libjava.special/pr21115.out: New files.
1524 2005-04-21 Chris Burdess <dog@gnu.org>
1526 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1527 CRLF-delimited chunks.
1529 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1531 * java/net/URI.java:
1532 Added class documentation.
1533 (parseURI(String)): Only handle scheme-specific parts
1534 if URI is not opaque. Allow for parts that can't be null.
1535 (toString()): Output the scheme-specific part whole, rather
1536 than as its possibly non-existent components.
1538 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1540 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1541 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1542 Adjusted to match new regexp.
1544 2005-04-20 Michael Koch <konqueror@gmx.de>
1546 * gnu/java/net/protocol/file/Connection.java,
1547 gnu/java/net/protocol/jar/Connection.java:
1548 Reorganized import statements. Fixed @author tags.
1550 2005-04-20 Chris Burdess <dog@gnu.org>
1552 * java/io/DataOutputStream.java (writeUTF): Use block write for
1555 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1557 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1558 (readLine): Changed newline handling.
1560 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1562 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1563 ColorModel,byte[],int,int): Fixed byte to int conversion.
1565 2005-04-20 Michael Koch <konqueror@gmx.de>
1567 * java/io/FilePermission.java
1568 (serialVersionUID): Made private.
1569 (ALL_FILES): New constant.
1570 (implies): Handle '<<ALL FILES>>' case.
1572 2005-04-20 Sven de Marothy <sven@physto.se>
1574 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1575 (drawImage): Don't notify the image observer for offscreen images.
1576 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1577 (setPixels): Don't notify the image observer.
1579 2005-04-20 Sven de Marothy <sven@physto.se>
1581 * java/nio/ByteBufferImpl.java:
1582 (putChar): Inlined for speed.
1583 (put, get): Bulk methods can use arraycopy.
1584 * java/nio/CharBufferImpl.java:
1585 (put, get): Bulk methods can use arraycopy.
1587 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1589 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1591 * java/nio/CharBufferImpl.java
1592 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1593 (get(), put(char)): Inlined checks and field updates. Fixed to
1594 take array_offset into account.
1595 (get(int), put(int, char)): Fixed to take array_offset into account.
1597 2005-04-20 Sven de Marothy <sven@physto.se>
1599 * java/text/SimpleDateFormat.java:
1600 (formatWithAttribute): Pad year before truncating digits.
1602 2005-04-20 Michael Koch <konqueror@gmx.de>
1604 * gnu/java/net/PlainDatagramSocketImpl.java:
1605 Merged copyright header.
1606 * gnu/java/net/PlainSocketImpl.java:
1607 Reorganized import statements. Fixed @author tags.
1609 2005-04-20 Michael Koch <konqueror@gmx.de>
1611 * gnu/java/lang/ClassHelper.java,
1612 gnu/java/lang/reflect/TypeSignature.java:
1615 2005-04-20 Michael Koch <konqueror@gmx.de>
1617 * gnu/java/beans/IntrospectionIncubator.java:
1618 Fixed HTML tags in javadocs.
1620 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1622 * gnu/java/beans/IntrospectionIncubator.java
1623 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1624 set(), is(), add() and remove() with properties or events.
1626 2005-04-20 Michael Koch <konqueror@gmx.de>
1628 * gnu/java/awt/image/XBMDecoder.java:
1629 Fixed modifier order.
1631 2005-04-20 Roman Kennke <roman@kennke.org>
1633 * javax/swing/plaf/basic/BasicButtonUI.java
1634 (paint): This should not care about margin and insets
1635 at the same time, as insets already include the margin
1637 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1638 (getPreferredButtonSize): Likewise.
1639 * javax/swing/plaf/metal/MetalBorders.java
1640 (getBorderInsets): Likewise.
1642 2005-04-20 Roman Kennke <roman@kennke.org>
1644 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1645 (createMessageArea): The JPanel that holds the message area
1646 doesn't need to override getPreferredSize. This prevents some
1647 message components from rendering nicely.
1649 2005-04-20 Roman Kennke <roman@kennke.org>
1651 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1652 (createUI): Do not share instances between components.
1653 * javax/swing/plaf/metal/MetalSliderUI.java
1654 (createUI): Do not share instances between components.
1656 2005-04-20 Roman Kennke <roman@kennke.org>
1658 * javax/swing/plaf/metal/MetalBorders:
1659 (PopupMenuBorder): Added.
1660 * javax/swing/plaf/metal/MetalLookAndFeel
1661 (initComponentDefaults): Added PopupMenuBorder.
1663 2005-04-20 Roman Kennke <roman@kennke.org>
1665 * javax/swing/tree/DefaultTreeSelectionModel.java:
1666 Added API documentation all over the class.
1668 2005-04-20 Roman Kennke <roman@kennke.org>
1670 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1671 (installDefaults): Link managed JScrollPane in instance field.
1672 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1674 2005-04-20 Roman Kennke <roman@kennke.org>
1676 * javax/swing/plaf/basic/BasicScrollBarUI.java
1677 (PropertyChangeHandler.propertyChange): Add default
1678 to switch statement to avoid errors with unusual values
1680 (installComponents): Likewise.
1682 2005-04-20 Roman Kennke <roman@kennke.org>
1684 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1685 (createUI): Instances cannot be shared among JScrollPanes.
1687 2005-04-20 Roman Kennke <roman@kennke.org>
1689 * javax/swing/plaf/metal/MetalLookAndFeel.java
1690 (initComponentDefaults): Added defaults for Menu, MenuBar
1693 2005-04-20 Roman Kennke <roman@kennke.org>
1695 * javax/swing/plaf/basic/BasicScrollBarUI.java
1696 (installUI): Install listeners after everything all, otherwise
1697 we get strange NPEs in some situations, especially with
1699 (createIncreaseButton): Orientation is expected to be
1700 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1701 HORIZONTAL or VERTICAL.
1702 (createDecreaseButton): Orientation is expected to be
1703 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1704 HORIZONTAL or VERTICAL.
1705 (installComponents): Orientation for buttons is expected to be
1706 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1707 HORIZONTAL or VERTICAL.
1709 2005-04-20 Roman Kennke <roman@kennke.org>
1711 * javax/swing/JToolBar.java
1712 (addImpl): Adjust added AbstractButtons to look and feel like
1714 * javax/swing/plaf/metal/MetalBorders.java:
1715 Adjusted insets of ButtonBorder.
1716 (RolloverMarginBorder): Added class for toolbar buttons.
1717 (getButtonBorder): Adjusted factory method to return a shared
1718 instance of button border.
1719 (getToolbarButtonBorder): Added factory method to return a shared
1720 instance of toolbar button border.
1721 (getMarginBorder): Added factory method to return a shared
1722 instance of margin border.
1723 * javax/swing/plaf/metal/MetalButtonUI.java
1724 (installDefauls): If button is child of a JToolBar then set
1725 special border on this button.
1727 2005-04-20 Michael Koch <konqueror@gmx.de>
1729 * java/net/URLConnection.java
1730 (getContent): Fixed javadoc comment.
1732 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1734 * java/net/URL.java:
1735 (toURI()): Implemented.
1737 2005-04-19 Michael Koch <konqueror@gmx.de>
1739 * java/net/InetAddress.java
1740 (InetAddress): Fixed javadoc comment.
1742 (lookup): Added javadoc.
1743 (getFamily): Likewise.
1744 * java/net/ServerSocket.java
1745 (getChannel): Improved javadoc comment.
1747 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1749 * gnu/xml/dom/html2/DomHTMLParser.java:
1750 Changed 'enum' references to become 'enumeration'.
1752 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1754 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1756 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1758 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1759 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1760 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1761 (validateParameters(TagElement,htmlAttributeSet)):
1762 Replaced 'enum' with 'enumeration'.
1763 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1766 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1768 * javax/swing/text/html/parser/Entity.java (getType): New method.
1769 * javax/swing/text/html/parser/DocumentParser.java:
1770 Inherit from javax.swing.text.html.parser.Parser.
1772 2005-04-19 Chris Burdess <dog@gnu.org>
1774 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1775 check for HTML/XHTML namespace.
1777 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1779 * javax/swing/text/html/parser/Parser.java,
1780 javax/swing/text/html/parser/Entity.java:
1781 Inheriting from DTDConstants.
1782 * javax/swing/text/html/parser/AttributeList.java
1783 (getValues): Changed return type.
1784 * javax/swing/text/html/parser/DocumentParser
1785 (parse): Adding the callback parameter that receives
1788 2005-04-19 Chris Burdess <dog@gnu.org>
1790 * gnu/xml/dom/DomImpl.java,
1791 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1792 gnu/xml/dom/html2/DomHTMLDocument.java,
1793 gnu/xml/dom/html2/DomHTMLElement.java,
1794 gnu/xml/dom/html2/DomHTMLFormElement.java,
1795 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1796 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1797 gnu/xml/dom/html2/DomHTMLImpl.java,
1798 gnu/xml/dom/html2/DomHTMLInputElement.java,
1799 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1800 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1801 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1802 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1803 gnu/xml/dom/html2/DomHTMLTableElement.java,
1804 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1805 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1806 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1807 UI events, and tree utility functions.
1809 2005-04-19 Michael Koch <konqueror@gmx.de>
1811 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1812 gnu/javax/swing/text/html/parser/gnuDTD.java,
1813 gnu/javax/swing/text/html/parser/models/node.java:
1814 Reworked import statements.
1816 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1818 * javax/swing/text/html/HTMLDocument.java: New file.
1820 2005-04-19 Michael Koch <konqueror@gmx.de>
1822 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1824 * javax/swing/text/html/parser/AttributeList.java:
1825 Fixed order of modifiers.
1826 (AttributeList): Made final.
1827 * javax/swing/text/html/parser/ContentModel.java:
1828 Fixed html characters in javadocs.
1829 * javax/swing/text/html/parser/DTD.java
1830 (DTD): Don't implement java.io.Serializable directly.
1831 (getElement): Simplified.
1832 * javax/swing/text/html/parser/DTDConstants.java:
1834 * javax/swing/text/html/parser/Element.java:
1835 Fixed order of modifiers.
1836 * javax/swing/text/html/parser/Parser.java:
1837 Reformatted. Don't use fully-qualified class names.
1838 * javax/swing/text/html/parser/ParserDelegator.java:
1839 Fixed order of modifiers.
1840 * javax/swing/text/rtf/RTFParser.java:
1841 Re-ordered import statements.
1842 * javax/swing/text/rtf/RTFScanner.java:
1843 Removed unused import statement.
1845 2005-04-19 Chris Burdess <dog@gnu.org>
1847 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1848 gnu/xml/dom/html2/DomHTMLCollection.java,
1849 gnu/xml/dom/html2/DomHTMLDocument.java,
1850 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1852 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1853 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1854 gnu/xml/dom/html2/DomHTMLDivElement.java,
1855 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1856 gnu/xml/dom/html2/DomHTMLFontElement.java,
1857 gnu/xml/dom/html2/DomHTMLFormElement.java,
1858 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1859 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1860 gnu/xml/dom/html2/DomHTMLHRElement.java,
1861 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1862 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1863 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1864 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1865 gnu/xml/dom/html2/DomHTMLImageElement.java,
1866 gnu/xml/dom/html2/DomHTMLInputElement.java,
1867 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1868 gnu/xml/dom/html2/DomHTMLLIElement.java,
1869 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1870 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1871 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1872 gnu/xml/dom/html2/DomHTMLMapElement.java,
1873 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1874 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1875 gnu/xml/dom/html2/DomHTMLModElement.java,
1876 gnu/xml/dom/html2/DomHTMLOListElement.java,
1877 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1878 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1879 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1880 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1881 gnu/xml/dom/html2/DomHTMLParamElement.java,
1882 gnu/xml/dom/html2/DomHTMLPreElement.java,
1883 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1884 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1885 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1886 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1887 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1888 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1889 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1890 gnu/xml/dom/html2/DomHTMLTableElement.java,
1891 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1892 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1893 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1894 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1895 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1897 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1899 * javax/swing/text/ChangedCharSetException.java,
1900 javax/swing/text/html/HTMLEditorKit.java,
1901 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1902 javax/swing/text/html/parser/AttributeList.java,
1903 javax/swing/text/html/parser/ContentModel.java,
1904 javax/swing/text/html/parser/DocumentParser.java,
1905 javax/swing/text/html/parser/DTD.java,
1906 javax/swing/text/html/parser/DTDConstants.java,
1907 javax/swing/text/html/parser/Element.java,
1908 javax/swing/text/html/parser/Entity.java,
1909 javax/swing/text/html/parser/Parser.java,
1910 javax/swing/text/html/parser/TagElement.java,
1911 gnu/javax/swing/text/html/package.html,
1912 gnu/javax/swing/text/html/parser/gnuDTD.java,
1913 gnu/javax/swing/text/html/parser/HTML_401F.java,
1914 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1915 gnu/javax/swing/text/html/parser/htmlValidator.java,
1916 gnu/javax/swing/text/html/parser/package.html,
1917 gnu/javax/swing/text/html/parser/models/list.java,
1918 gnu/javax/swing/text/html/parser/models/node.java,
1919 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1920 gnu/javax/swing/text/html/parser/models/package.html,
1921 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1922 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1923 gnu/javax/swing/text/html/parser/models/transformer.java,
1924 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1925 gnu/javax/swing/text/html/parser/support/package.html,
1926 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1927 gnu/javax/swing/text/html/parser/support/Parser.java,
1928 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1929 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1930 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1931 gnu/javax/swing/text/html/parser/support/low/Location.java,
1932 gnu/javax/swing/text/html/parser/support/low/node.java,
1933 gnu/javax/swing/text/html/parser/support/low/package.html,
1934 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1935 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1936 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1937 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1939 * javax/swing/text/html/HTML.java,
1940 javax/swing/text/html/parser/ParserDelegator.java:
1941 New files (replacing).
1942 * javax/swing/text/html/package.html,
1943 javax/swing/text/html/parser/package.html: Documenting the
1946 2005-04-19 Chris Burdess <dog@gnu.org>
1948 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1949 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1950 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1951 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1952 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1953 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1954 gnu/xml/dom/html2/DomHTMLBRElement.java,
1955 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1956 gnu/xml/dom/html2/DomHTMLCollection.java,
1957 gnu/xml/dom/html2/DomHTMLDocument.java,
1958 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1960 2005-04-19 Michael Koch <konqueror@gmx.de>
1962 * Makefile.am: Added new files.
1963 * Makefile.in: Regenerated.
1965 2005-04-19 Roman Kennke <roman@kennke.org>
1967 * javax/swing/text/JTextComponent.java
1968 (JTextComponent): Added repaintListener which issues repaint
1969 requests when the underlying document changes.
1970 (setDocument): Adds repaintListener to document when the
1971 document is changed.
1972 * javax/swing/text/DefaultEditorKit.java:
1973 Removed repaint calls on JTextComponent. This is now handled
1974 through a DocumentListener in JTextComponent that repaints
1975 the component when needed.
1977 2005-04-19 Roman Kennke <roman@kennke.org>
1980 * javax/swing/text/StyleContext.java
1981 (NamedStyle.setResolveParent): Added null
1984 2005-04-19 Michael Koch <konqueror@gmx.de>
1986 * java/rmi/server/RemoteObject.java:
1987 Removed unused import statement.
1989 2005-04-19 Michael Koch <konqueror@gmx.de>
1991 * java/net/URL.java: Formatting cleanups.
1993 2005-04-19 Michael Koch <konqueror@gmx.de>
1995 * java/awt/FontMetrics.java: Reformatted.
1996 (getFontRenderContext): Handle case when java.awt.Graphics context is
1999 2005-04-19 Michael Koch <konqueror@gmx.de>
2001 * java/awt/FontMetrics.java
2002 (getStringBounds): New methods.
2005 2005-04-19 Michael Koch <konqueror@gmx.de>
2007 * gnu/java/security/x509/X509Certificate.java
2008 (parse): Handle val == null case.
2010 2005-04-19 Roman Kennke <roman@kennke.org>
2012 * javax/swing/plaf/metal/MetalLookAndFeel.java
2013 (initComponentDefaults): Added defaults for Menu, MenuBar
2016 2005-04-19 Roman Kennke <roman@kennke.org>
2018 * javax/swing/plaf/metal/MetalLookAndFeel.java
2019 (initComponentDefaults): Added Label.font.
2020 (initSystemColorDefaults): Added this method and adjusted the
2021 general control color.
2023 2005-04-19 Roman Kennke <roman@kennke.org>
2025 * javax/swing/plaf/metal/MetalBorders.java:
2027 * javax/swing/plaf/metal/MetalButtonUI.java:
2028 (installDefaults): Install button font.
2029 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2030 (initComponentDefaults): Added button border, font and margin.
2031 Changed components background color to the Metal current themes
2034 2005-04-19 Roman Kennke <roman@kennke.org>
2036 * javax/swing/plaf/metal/MetalLookAndFeel.java
2037 (initComponentDefaults): Added to set Metal specific component
2040 2005-04-19 Mark Wielaard <mark@klomp.org>
2042 * javax/swing/plaf/metal/MetalLookAndFeel.java
2043 (initClassDefaults): Call super.initClassDefaults().
2045 2005-04-19 Roman Kennke <roman@kennke.org>
2047 * javax/swing/plaf/metal/MetalLookAndFeel.java
2048 (initClassDefaults): Added to include the *UI classes.
2050 2005-04-19 Roman Kennke <roman@kennke.org>
2052 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2054 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2056 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2058 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2060 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2062 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2064 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2066 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2068 * javax/swing/plaf/metal/MetalSliderUI.java:
2070 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2072 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2074 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2076 2005-04-19 Roman Kennke <roman@kennke.org>
2078 * javax/swing/plaf/metal/MetalButtonUI.java:
2079 Added skeleton class.
2080 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2081 Added skeleton class.
2082 * javax/swing/plaf/metal/MetalLabelUI.java:
2083 Added skeleton class.
2084 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2085 Added skeleton class.
2086 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2087 Added skeleton class.
2088 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2089 Added skeleton class.
2091 2005-04-19 Roman Kennke <roman@kennke.org>
2093 * javax/swing/UIDefaults.java:
2094 Added API documentation for all methods.
2096 2005-04-19 Roman Kennke <roman@kennke.org>
2098 * javax/swing/UIDefaults.java
2099 (put): Now uses new checkAndPut method instead of checking
2101 (putDefaults): Fixed so that it accepts null-values and
2102 treats them like remove(key).
2103 (checkAndPut): Added. This checks for null-values and calls
2106 2005-04-19 Michael Koch <konqueror@gmx.de>
2108 * Makefile.am: Added new files.
2109 * Makefile.in: Regenerated.
2111 2005-04-19 Mark Wielaard <mark@klomp.org>
2113 * java/lang/natRuntime.cc (insertSystemProperties): Set
2114 java.class.path to CLASSPATH only when not empty. Fall back to
2115 default path "." when java.class.path is empty.
2117 2005-04-19 Michael Koch <konqueror@gmx.de>
2119 * javax/swing/text/rtf/ControlWordToken.java,
2120 javax/swing/text/rtf/RTFEditorKit.java,
2121 javax/swing/text/rtf/RTFParseException.java,
2122 javax/swing/text/rtf/RTFParser.java,
2123 javax/swing/text/rtf/RTFScanner.java,
2124 javax/swing/text/rtf/TextToken.java,
2125 javax/swing/text/rtf/Token.java: New files.
2126 * Makefile.am: Added new files.
2127 * Makefile.in: Regenerated.
2129 2005-04-19 Michael Koch <konqueror@gmx.de>
2131 * java/awt/geom/QuadCurve2D.java:
2132 Fixed Brian Gough's name for real.
2134 2005-04-19 Roman Kennke <roman@kennke.org>
2136 * javax/swing/UIManager.java:
2137 Make the UIManager respect the swing.defaultlaf system
2140 2005-04-19 Tom Tromey <tromey@redhat.com>
2142 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2145 2005-04-19 Roman Kennke <roman@kennke.org>
2147 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2148 Fixed tabs to spaces.
2150 2005-04-19 Roman Kennke <roman@kennke.org>
2152 * javax/swing/plaf/basic/BasicMenuUI.java
2153 (getMaximumSize): Now returns preferredSize because JMenu should
2154 never be bigger than that.
2155 * javax/swing/JRootPane
2156 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2158 2005-04-19 Roman Kennke <roman@kennke.org>
2160 * javax/swing/JRootPane.java:
2161 Fixed various tabs to be spaces.
2162 (RootLayout.layoutContainer): Made menubar left aligned.
2164 2005-04-19 Roman Kennke <roman@ontographics.com>
2166 * javax/swing/JList.java
2167 (getPreferredScrollableViewportSize):
2168 The previous implementation was merely guessing the size,
2169 now it respects layoutOrientation, visibleRowCount
2171 (getScrollableTracksViewportHeight):
2172 Reimplemented so that layoutOrientation, visibleRowCount
2173 and preferred size are respected.
2174 (getScrollableTracksViewportWidth):
2175 Reimplemented so that layoutOrientation, visibleRowCount
2176 and preferred size are respected.
2177 * javax/swing/plaf/basic/BasicListUI.java
2179 Improved calculation of preferredSize when JList is
2180 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2182 The previous implementation assumed a layoutOrientation of
2183 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2184 JList.VERTICAL_WRAP.
2186 2005-04-19 Roman Kennke <roman@ontographics.com>
2188 * javax/swing/plaf/basic/BasicListUI.java
2189 (paintCell): use CellRendererPane for painting the cells.
2191 2005-04-19 Roman Kennke <roman@ontographics.com>
2193 * javax/swing/plaf/basic/BasicListUI:
2194 fixed modifiers of several fields, methods and inner
2195 classes to match the 'spec'.
2196 (getMaximumSize): removed. It's not in the spec and the
2197 implementations was superfluous.
2199 2005-04-19 Roman Kennke <roman@ontographics.com>
2201 * javax/swing/plaf/basic/BasicListUI:
2202 make BasicListUI capable of wrapping lists
2203 (layoutOrientation property of javax.swing.JList)
2205 2005-04-19 Roman Kennke <roman@ontographics.com>
2207 * javax/swing/plaf/basic/BasicListUI
2208 (updateLayoutState,paint): make BasicListUI aware of the
2209 width of the rendered JList.
2211 2005-04-19 Roman Kennke <roman@kennke.org>
2213 * javax/swing/ImageIcon.java
2214 Added API documentation.
2216 2005-04-19 Roman Kennke <roman@kennke.org>
2218 * javax/swing/text/ImageIcon.java
2219 (ImageIcon): Use setImage instead of direct assignment.
2220 (setImage): Call loadImage to make sure that the image is loaded.
2221 (loadImage): Waits for the image to complete loading.
2222 (getImageLoadStatus): Added. Returns the load status of the
2225 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2227 * javax/swing/JTextArea.java (replaceRange):
2228 Fixing doc.remove(start, length) misinterpretation.
2230 2005-04-19 Roman Kennke <roman@ontographics.com>
2232 * javax/swing/CellRendererPane.java:
2233 implemented all methods of this class.
2234 reformatted all wrong formatted code.
2236 2005-04-19 Roman Kennke <roman@kennke.org>
2238 * javax/swing/BoxLayout.java:
2239 (layoutContainer): Made this layout manager respect the
2240 minimum, maximum and preferred size more correctly.
2242 2005-04-19 Roman Kennke <roman@ontographics.com>
2244 * javax/swing/BoxLayout.java:
2245 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2246 layoutContainer): Make these methods and thereby the
2247 BoxLayout respect the insets (like borders) of the
2248 component that is laid out.
2250 2005-04-19 Roman Kennke <roman@kennke.org>
2252 * javax/swing/JComponent.java:
2253 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2254 Untabified the file.
2256 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2258 * javax/swing/JComboBox.java (constructors): selecting the
2259 first item if the box was constructed from the provided
2260 non - empty array or vector.
2262 2005-04-19 Michael Koch <konqueror@gmx.de>
2264 * gnu/java/awt/peer/gtk/GdkGraphics.java
2265 (getClipBounds): Handle clip being null.
2266 (setClip): Likewise.
2267 * java/beans/beancontext/BeanContextSupport.java
2271 (removeAll): Likewise.
2272 (retainAll): Likewise.
2274 2005-04-19 Michael Koch <konqueror@gmx.de>
2276 * java/beans/beancontext/BeanContextServicesSupport.java
2277 (BeanContextServicesSupport): Reimplemented.
2278 (addBeanContextServicesListener): Implemented.
2279 (initialize): Likewise.
2280 (removeBeanContextServicesListener): Likewise.
2281 * java/beans/beancontext/BeanContextSupport.java
2283 (addBeanContextMembershipListener): Likewise.
2284 (getLocale): Likewise.
2285 (initialize): Likewise.
2286 (iterator): Likewise.
2288 (toArray): Likewise.
2290 2005-04-19 Roman Kennke <roman@kennke.org>
2292 * java/awt/MediaTracker.java:
2293 Reindented tabs to spaces.
2295 2005-04-19 Roman Kennke <roman@kennke.org>
2297 * java/awt/MediaTracker.java
2298 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2299 confused the media tracker and lead to lockups. The LOADING
2300 bit is handled on other places.
2301 (addImage): Removed the 'start image tracking' stuff. This
2302 is not necessary and could confuse the media tracker.
2303 (checkAll): Improved the check for image status so that
2304 images that already complete images are detected. Also now
2305 are really all images checked and if necessary loaded. Before
2306 the method bailed out after the first incomplete image.
2307 (statusAll): Detect images that are complete after the
2308 call to Component.prepareImage(..).
2309 (checkID): The same as in checkAll.
2310 (statusID): The same as in statusAll.
2312 2005-04-19 Roman Kennke <roman@kennke.org>
2314 * java/awt/MediaTracker.java
2315 (addImage): Synchronized list access.
2316 (waitForAll): Fixed comparison of time (changed < to >).
2317 (waitForID): Fixed comparison of time (changed < to >).
2318 (removeImage): Synchronized list access.
2320 2005-04-19 Roman Kennke <roman@kennke.org>
2322 * java/awt/MediaTracker.java
2323 Added API documentation.
2325 2005-04-19 Roman Kennke <roman@kennke.org>
2327 * java/awt/MediaTracker.java
2328 (MediaEntry.imageUpdate): Fixed flags. The different flags
2329 must not be ORed together.
2330 (checkAll): Modified to handle different meaning of the flags.
2331 (waitForAll): Fixed so that it waits maximum the
2332 specified amount of milliseconds.
2333 (statusAll): Modified to handle different meaning of the flags.
2334 (waitForID): Fixed so that it waits maximum the
2335 specified amount of milliseconds.
2337 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2339 * java/awt/Font.java (decode): Handle null argument and allow
2342 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2344 * java/beans/EventHandler.java: Reworked documentation.
2345 (invoke): Fixed behavior to match spec.
2347 2005-04-19 Michael Koch <konqueror@gmx.de>
2349 * java/awt/print/PrinterJob.java
2350 (pageDialog): New method.
2351 (printDialog): Implemented.
2353 2005-04-19 Michael Koch <konqueror@gmx.de>
2355 * java/awt/image/ConvolveOp.java:
2356 Removed comment added by eclipse.
2358 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2360 * java/awt/image/IndexColorModel.java
2361 (getRGB): Check if pixel is negative.
2363 2005-04-19 Michael Koch <konqueror@gmx.de>
2365 * java/awt/image/RasterOp.java:
2366 Fixed wrong formatting.
2368 2005-04-18 Roman Kennke <roman@kennke.org>
2370 * java/awt/Compmonent.java
2371 (setComponentOrientation): Made this property firing a
2372 PropertyChangeEvent.
2374 2005-04-18 Roman Kennke <roman@kennke.org>
2376 * java/awt/BorderLayout.java
2377 (calcSize): Check for overflow when component sizes are added.
2379 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2381 * java/awt/AWTEvent.java (toString): Added case
2382 for source not being an AWT component.
2384 2005-04-18 Chris Burdess <dog@gnu.org>
2386 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2388 2005-04-18 Michael Koch <konqueror@gmx.de>
2390 gnu/java/awt/EmbeddedWindowSupport.java,
2391 gnu/java/net/HeaderFieldHelper.java,
2392 gnu/java/net/URLParseError.java,
2393 gnu/java/net/protocol/file/Handler.java,
2394 gnu/java/net/protocol/jar/Handler.java:
2395 Fixed usage of @author tag.
2397 2005-04-18 Michael Koch <konqueror@gmx.de>
2399 * gnu/xml/aelfred2/XmlParser.java:
2400 Reverted my typo fix.
2402 2005-04-18 Michael Koch <konqueror@gmx.de>
2404 * java/awt/geom/CubicCurve2D.java,
2405 java/awt/geom/QuadCurve2D.java:
2406 Fixed mentioning of Brian Gouph.
2408 2005-04-18 Michael Koch <konqueror@gmx.de>
2410 * gnu/java/awt/Buffers.java,
2411 gnu/java/awt/image/ImageDecoder.java,
2412 gnu/java/awt/image/XBMDecoder.java,
2413 gnu/java/awt/peer/ClasspathFontPeer.java,
2414 gnu/java/net/CRLFInputStream.java,
2415 gnu/java/net/EmptyX509TrustManager.java,
2416 gnu/java/net/LineInputStream.java,
2417 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2418 gnu/java/net/protocol/ftp/BlockInputStream.java,
2419 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2420 gnu/java/net/protocol/ftp/DTP.java,
2421 gnu/java/net/protocol/ftp/DTPInputStream.java,
2422 gnu/java/net/protocol/ftp/FTPConnection.java,
2423 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2424 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2425 gnu/java/net/protocol/ftp/StreamInputStream.java,
2426 gnu/java/net/protocol/http/ChunkedInputStream.java,
2427 gnu/java/net/protocol/http/HTTPConnection.java,
2428 gnu/java/net/protocol/http/HTTPURLConnection.java,
2429 gnu/java/net/protocol/http/Headers.java,
2430 gnu/java/net/protocol/http/Request.java,
2431 gnu/java/nio/ChannelInputStream.java,
2432 gnu/java/nio/ChannelOutputStream.java,
2433 gnu/java/nio/InputStreamChannel.java,
2434 gnu/java/nio/OutputStreamChannel.java,
2435 gnu/java/nio/SelectorProviderImpl.java,
2436 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2437 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2438 gnu/java/rmi/dgc/DGCImpl.java,
2439 gnu/java/rmi/registry/RegistryImpl.java,
2440 gnu/java/rmi/server/ProtocolConstants.java,
2441 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2442 gnu/java/rmi/server/RMIIncomingThread.java,
2443 gnu/java/rmi/server/RMIObjectInputStream.java,
2444 gnu/java/rmi/server/RMIObjectOutputStream.java,
2445 gnu/java/rmi/server/RMIVoidValue.java,
2446 gnu/java/rmi/server/UnicastConnectionManager.java,
2447 gnu/java/rmi/server/UnicastRef.java,
2448 gnu/java/rmi/server/UnicastRemoteCall.java,
2449 gnu/java/rmi/server/UnicastRemoteStub.java,
2450 gnu/java/rmi/server/UnicastServerRef.java,
2451 gnu/java/security/OID.java,
2452 gnu/java/security/der/DERReader.java,
2453 gnu/java/security/provider/CollectionCertStoreImpl.java,
2454 gnu/java/security/provider/DSAParameterGenerator.java,
2455 gnu/java/security/provider/DefaultPolicy.java,
2456 gnu/java/security/provider/EncodedKeyFactory.java,
2457 gnu/java/security/provider/GnuDHPublicKey.java,
2458 gnu/java/security/provider/GnuDSAPrivateKey.java,
2459 gnu/java/security/provider/GnuDSAPublicKey.java,
2460 gnu/java/security/provider/GnuRSAPrivateKey.java,
2461 gnu/java/security/provider/GnuRSAPublicKey.java,
2462 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2463 gnu/java/security/provider/RSA.java,
2464 gnu/java/security/provider/SHA1PRNG.java,
2465 gnu/java/security/provider/SHA1withRSA.java,
2466 gnu/java/security/provider/X509CertificateFactory.java,
2467 gnu/java/security/x509/GnuPKIExtension.java,
2468 gnu/java/security/x509/X500DistinguishedName.java,
2469 gnu/java/security/x509/X509CRL.java,
2470 gnu/java/security/x509/X509CRLEntry.java,
2471 gnu/java/security/x509/X509CertPath.java,
2472 gnu/java/security/x509/X509CertSelectorImpl.java,
2473 gnu/java/security/x509/X509Certificate.java,
2474 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2475 gnu/java/security/x509/ext/BasicConstraints.java,
2476 gnu/java/security/x509/ext/CRLNumber.java,
2477 gnu/java/security/x509/ext/CertificatePolicies.java,
2478 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2479 gnu/java/security/x509/ext/Extension.java,
2480 gnu/java/security/x509/ext/GeneralNames.java,
2481 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2482 gnu/java/security/x509/ext/KeyUsage.java,
2483 gnu/java/security/x509/ext/PolicyConstraint.java,
2484 gnu/java/security/x509/ext/PolicyMappings.java,
2485 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2486 gnu/java/security/x509/ext/ReasonCode.java,
2487 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2488 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2489 Reorganized import statements.
2491 2005-04-18 Michael Koch <konqueror@gmx.de>
2493 * gnu/java/awt/color/CieXyzConverter.java,
2494 gnu/java/awt/color/ClutProfileConverter.java,
2495 gnu/java/awt/color/ColorLookUpTable.java,
2496 gnu/java/awt/color/ColorSpaceConverter.java,
2497 gnu/java/awt/color/GrayProfileConverter.java,
2498 gnu/java/awt/color/GrayScaleConverter.java,
2499 gnu/java/awt/color/LinearRGBConverter.java,
2500 gnu/java/awt/color/ProfileHeader.java,
2501 gnu/java/awt/color/PyccConverter.java,
2502 gnu/java/awt/color/RgbProfileConverter.java,
2503 gnu/java/awt/color/SrgbConverter.java,
2504 gnu/java/awt/color/TagEntry.java,
2505 gnu/java/awt/color/ToneReproductionCurve.java:
2506 Standardized file headers.
2508 2005-04-16 Tom Tromey <tromey@redhat.com>
2510 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2511 'ANY' package-private.
2513 2005-04-15 Tom Tromey <tromey@redhat.com>
2515 * Makefile.in: Rebuilt.
2516 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2517 (libgcj0_convenience_la_LIBADD): ... here.
2519 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2521 * gij.cc (version): Properly quote java version.
2522 (main): Fix typo in comment.
2524 2005-04-13 Mark Wielaard <mark@klomp.org>
2526 * java/lang/natRuntime.cc (insertSystemProperties): Set
2527 java.class.path to CLASSPATH if not already set.
2529 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2531 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2533 2005-04-12 Mike Stump <mrs@apple.com>
2535 * configure: Regenerate.
2537 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2540 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2541 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2543 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2546 * scripts/TexinfoDoclet.java: Removed.
2547 * Makefile.am (texinfo): Removed.
2548 * Makefile.in: Regenerated.
2550 2005-04-11 Michael Koch <konqueror@gmx.de>
2552 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2553 Fixed wrong casting.
2555 2005-04-06 Andrew Haley <aph@redhat.com>
2557 * testsuite/libjava.lang/bytearray.java: New file.
2558 * testsuite/libjava.lang/bytearray.out: New file.
2559 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2560 (loadClass): Use it.
2561 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2563 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2565 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2566 gcj-dbtool dependency
2567 * Makefile.in: Regenerated
2569 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2571 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2572 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2574 2005-04-05 Andrew Haley <aph@redhat.com>
2576 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2577 (Tokenizer): New class.
2578 (getFiles): New method.
2579 (main): Add "-" argument.
2581 Read list of files from stdin when merging map databases.
2582 (usage): Add "-" argument.
2586 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2589 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2590 * Makefile.in: Regenerate.
2591 * configure.ac: Add --with-java-home option.
2592 * configure: Regenerate.
2593 * external/Makefile.in: Regenerate.
2594 * external/sax/Makefile.in: Regenerate.
2595 * external/w3c_dom/Makefile.in: Regenerate.
2596 * gcj/Makefile.in: Regenerate.
2597 * include/Makefile.in: Regenerate.
2598 * testsuite/Makefile.in: Regenerate.
2599 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2602 2005-04-05 Tom Tromey <tromey@redhat.com>
2604 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2605 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2606 Rewrote to use _Jv_FindClassFromSignature.
2607 * verify.cc (resolve): throw NoClassDefFoundError.
2608 * link.cc (resolve_field): Throw NoClassDefFoundError.
2609 (find_field): Likewise.
2610 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2611 Handle error cases. Added 'endp' argument.
2612 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2614 2005-04-05 Tom Tromey <tromey@redhat.com>
2616 * Makefile.in: Rebuilt.
2617 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2618 gtk_awt_peer_sources.
2619 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2620 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2621 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2622 (gtk-awt-peer.lo): New target.
2624 2005-04-04 Steve Pribyl <steve@netfuel.com>
2627 * configure.ac: Fix fastjar definition for cross builds.
2628 * configure: Rebuilt.
2630 2005-04-04 Tom Tromey <tromey@redhat.com>
2632 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2633 it was already found.
2635 2005-04-04 Tom Tromey <tromey@redhat.com>
2637 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2638 org.metastatic.jessie.
2640 2005-04-02 Anthony Green <green@redhat.com>
2643 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2645 2005-04-02 Mark Wielaard <mark@klomp.org>
2647 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2648 Attributes and attribute order doesn't matter.
2649 (BasicAttributesEnumeration.where): Initialize to zero.
2650 (BasicAttributesEnumeration.nextElement): Update and compare where
2651 appropriately (zero based).
2653 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2655 PR libgcj/20090, PR libgcj/20526
2656 * gij.cc (nonstandard_opts_help): New function.
2657 (add_option): New function.
2658 (main): Support java options. Set java.class.path. Don't set
2660 * prims.cc (parse_x_arg): New function.
2661 (parse_init_args): Call parse_x_arg for -X and _ options, when
2662 ignoreUnrecognized is true.
2663 (new _Jv_RunMain): New vm_args variant.
2664 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2665 (_Jv_Jar_Class_Path): Remove variable.
2666 * include/java-props.h: Likewise.
2667 * include/cni.h (JvRealloc): New function.
2668 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2669 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2670 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2672 * configure.ac (JV_VERSION): Define.
2673 (JV_API_VERSION): Likewise.
2674 * configure: Regenerate.
2675 * include/config.h.in: Regenerate.
2677 2005-04-01 Mark Anderson <mark@panonet.net>
2679 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2680 -Infinity as parameters.
2682 2005-04-01 Michael Koch <konqueror@gmx.de>
2684 * java/io/PipedInputStream.java
2685 (read): Make sure a positive byte value is returned. Revised javadoc.
2686 Thanks to Olafur Bragason for reporting these bugs.
2688 2005-04-01 Tom Tromey <tromey@redhat.com>
2690 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2691 Updated for name change.
2692 (nativeFindClass): New method.
2693 (loadClass): Use nativeFindClass.
2694 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2696 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2697 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2699 (initialize): New method.
2700 (nativeFindClass): Declare.
2701 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2702 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2703 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2705 (definePackageForNative): Removed.
2706 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2707 Moved to VMClassLoader.java.
2708 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2709 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2710 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2711 removed VMClassLoader.java.
2712 (nat_source_files): Removed natVMClassLoader.cc.
2714 2005-04-01 Tom Tromey <tromey@redhat.com>
2716 * Makefile.in: Rebuilt.
2717 * Makefile.am (db_pathtail): Use $(gcc_version), not
2720 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2722 * java/util/Timer.java
2723 (run): Stop the queue if a task throws an exception.
2725 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2727 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2729 2005-03-29 Ian Lance Taylor <ian@airs.com>
2731 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2732 * external/sax/Makefile.in: Rebuild.
2733 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2735 * external/w3c_dom/Makefile.in: Rebuild.
2737 2005-03-29 Tom Tromey <tromey@redhat.com>
2739 * java/lang/natRuntime.cc (insertSystemProperties): Set
2740 gnu.gcj.runtime.endorsed.dirs.
2741 * Makefile.in: Rebuilt.
2742 * Makefile.am (ordinary_java_source_files): Added
2743 HelperClassLoader.java.
2744 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2745 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2747 (init): Use addDirectoriesFromProperty.
2748 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2749 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2750 gnu.gcj.runtime.endorsed.dirs.
2751 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2753 2005-03-26 Chris Burdess <dog@gnu.org>
2755 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2758 2005-03-13 Michael Koch <konqueror@gmx.de>
2760 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2762 2005-03-11 Chris Burdess <dog@gnu.org>
2764 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2767 2005-02-27 Chris Burdess <dog@gnu.org>
2769 * gnu/xml/aelfred2/JAXPFactory.java,
2770 gnu/xml/aelfred2/SAXDriver.java,
2771 gnu/xml/aelfred2/XmlParser.java,
2772 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2773 formatting conventions. Replaced arrays of Object with struct-like
2774 classes for easier maintainability. Made SAXDriver.stringInterning
2775 package private to allow access from XmlParser inside the loop without
2776 a method call overhead.
2778 2005-03-11 Chris Burdess <dog@gnu.org>
2780 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2783 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2785 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2786 settings to sub Makefiles.
2787 (GCJH, ZIP): Prefix with top_builddir.
2788 * configure: Rebuild.
2789 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2790 * external/w3c_dom/Makefile.in: Rebuild.
2791 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2792 * external/sax/Makefile.in: Rebuild.
2794 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2796 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2797 libsocket to the libraries to link for Solaris.
2799 2005-03-28 Per Bothner <per@bothner.com>
2801 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2802 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2804 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2806 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2807 to fix a ONESTEP fallout.
2808 * Makefile.in: Regenerate.
2810 2005-03-25 Mike Stump <mrs@apple.com>
2812 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2813 paths like we do for the compiler, as we use it in external/sax
2814 and it doesn't get MULTIBUILDTOP right when multilibing.
2816 2005-03-24 Anthony Green <green@redhat.com>
2818 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2820 (usage): Add [LIBDIR] to help output.
2821 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2822 * Makefile.am (AM_CXXFLAGS): Define
2823 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2824 (db_pathtail): New macro.
2826 2005-03-24 Tom Tromey <tromey@redhat.com>
2828 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2829 add sax and w3c libraries.
2830 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2832 * external/w3c_dom/Makefile.in: Rebuilt.
2833 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2835 (libw3c_gcj_la_LDFLAGS): New variable.
2836 (noinst_LTLIBRARIES): Renamed.
2837 * external/sax/Makefile.in: Rebuilt.
2838 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2840 (libsax_gcj_la_LDFLAGS): New variable.
2841 (noinst_LTLIBRARIES): Renamed.
2843 2005-03-23 Tom Tromey <tromey@redhat.com>
2845 * Makefile.in: Rebuilt.
2846 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2847 (libgcj0_convenience_la_SOURCES): Don't include
2848 gnu_xml_source_files.
2849 (libgcj0_convenience_la_LIBADD): New variable.
2850 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2851 (all_java_source_files): javax_imageio_source_files,
2852 javax_xml_source_files, and gnu_java_beans_source_files.
2853 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2854 (gnu-xml.lo): New target.
2855 (javax-imageio.lo): Likewise.
2856 (javax-xml.lo): Likewise.
2857 (gnu-java-beans.lo): Likewise.
2858 (gnu_java_beans_source_files): New variable.
2859 (javax_imageio_source_files): Likewise.
2860 (javax_xml_source_files): Likewise.
2861 (javax_source_files): Moved files to other variable.
2862 (awt_java_source_files): Likewise.
2863 (ordinary_java_source_files): Added BootClassLoader.java.
2864 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2865 not system class loader.
2866 (initBootLoader): New method.
2867 (loadClass): Search bootLoader.
2868 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2869 boot loader, not system class loader.
2870 (_Jv_UnregisterInitiatingLoader): Likewise.
2871 (_Jv_FindClass): Likewise. Ensure entries in
2872 bootstrap_class_list are unique.
2873 * java/lang/natClass.cc (getClassLoader): Don't special case
2874 system class loader.
2875 * java/lang/VMClassLoader.java (bootLoader): New field.
2876 (getResource): Use bootLoader.
2877 (getResources): Likewise.
2878 (initBootLoader): Declare.
2879 * gnu/gcj/runtime/BootClassLoader.java: New file.
2880 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2881 (EMPTY_ENUMERATION): Now package-private.
2882 * external/w3c_com/Makefile.in: Rebuilt.
2883 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2884 (w3c.jar): New target.
2885 (classes.stamp): Updated.
2886 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2887 Changed name of library.
2888 (libw3c_gcj_la_SOURCES): New variable.
2889 (libw3c_gcj_la_GCJFLAGS): Likewise.
2890 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2891 * external/sax/Makefile.in: Rebuilt.
2892 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2893 (sax.jar): New target.
2894 (classes.stamp): Updated.
2895 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2896 Changed name of library.
2897 (libsax_gcj_la_SOURCES): New variable.
2898 (libsax_gcj_la_GCJFLAGS): Likewise.
2899 (source_files): Renamed from libsax_convenience_la_SOURCES.
2900 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2902 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2904 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2906 2005-03-23 Sven de Marothy <sven@physto.se>
2908 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2910 * java/util/Calendar.java
2911 (set): Use starting day of week when one is needed if none is given.
2912 * java/text/SimpleDateFormat.java
2913 (parse): Handle 1-12 and 1-24 timestamps correctly.
2914 * java/util/GregorianCalendar.java
2915 (computeTime, computeFields): HOUR should be in 0-11 format.
2916 (nonLeniencyCheck): Adjust leniency checking to that fact.
2917 (getLinearDay): Should be private.
2919 2005-03-23 Tom Tromey <tromey@redhat.com>
2921 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2922 (_Jv_CheckABIVersion): Use it.
2924 2005-03-22 Mike Stump <mrs@apple.com>
2926 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2928 * include/posix.h: .dylib is used on all Apple MACH platforms.
2929 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2931 2005-03-22 Tom Tromey <tromey@redhat.com>
2933 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2935 2005-03-21 Tom Tromey <tromey@redhat.com>
2937 * java/lang/VMCompiler.java (static block): Also catch
2938 BufferUnderflowException.
2940 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2942 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2943 set tool_include_dir. In all substitutions, leave $(gcc_version)
2944 to be expanded by the Makefile.
2945 * aclocal.m4, configure: Regenerate.
2946 * Makefile.am: Set gcc_version. Replace all uses of
2947 @gcc_version@ with $(gcc_version).
2948 * external/Makefile.am, external/sax/Makefile.am
2949 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2950 * testsuite/Makefile.am: Set gcc_version.
2951 * include/Makefile.am: Set gcc_version and tool_include_dir.
2952 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2953 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2954 * testsuite/Makefile.in: Regenerate.
2956 2005-03-17 Andrew Haley <aph@redhat.com>
2958 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2960 Pass klass to _Jv_StackTrace::GetClassContext().
2961 * java/lang/ClassLoader.java (getParent): Pass class to
2962 VMSecurityManager.getClassContext()
2963 (getSystemClassLoader): Likewise.
2964 * java/lang/Package.java (getPackage): Likewise.
2965 (getPackages): Likewise.
2966 * java/lang/SecurityManager.java (getClassContext): Likewise.
2967 (currentClassLoader): Likewise.
2968 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2969 (currentClassLoader) Add new arg: caller.
2970 Pass caller to VMSecurityManager.getClassContext.
2972 * stacktrace.cc (GetClassContext): Correct calculation of
2975 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2976 im->source_file_name.
2978 2005-03-16 Andrew Haley <aph@redhat.com>
2980 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2982 2005-03-16 Tom Tromey <tromey@redhat.com>
2984 * link.cc (ensure_class_linked): Removed #ifdef.
2985 (print_class_loaded): Likewise.
2986 (wait_for_state): Likewise.
2987 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2988 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2989 * include/java-interp.h: ... here.
2991 2005-03-16 Tom Tromey <tromey@redhat.com>
2993 * gnu/java/lang/MainThread.java (run): Load main class using
2994 system class loader.
2996 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2998 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2999 lgcc_s to the libraries to link for Darwin.
3001 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3003 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3004 interpreter-specific code with #ifdef INTERPRETER.
3005 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3006 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3007 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3008 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3009 #ifdef INTERPRETER. Also protect declarations that use it.
3010 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3011 #ifdef INTERPRETER block.
3013 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3016 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3017 * Makefile.in: Rebuilt.
3019 2005-03-15 David Daney <ddaney@avtrex.com>
3021 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3024 2005-03-15 David Daney <ddaney@avtrex.com>
3026 * java/io/BufferedInputStream.java (available): Use 'in' instead
3027 of 'super' for underlying stream access.
3029 (read(byte[], int, int)): Ditto.
3031 (skip): Call skip on underlying stream when possible.
3033 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3035 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3036 SJLJ_EXCEPTIONS is defined.
3038 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3040 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3043 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3045 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3047 (libjava_arguments): Likewise.
3049 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3050 (gcj_jni_test_one): Likewise.
3051 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3052 Add flags to keep the Darwin linker quiet.
3053 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3054 Add -liconv for Darwin.
3056 2005-03-11 Tom Tromey <tromey@redhat.com>
3058 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3059 (_Jv_CheckABIVersion): Use it.
3061 2005-03-11 Tom Tromey <tromey@redhat.com>
3063 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3064 (usage): Document '-p'.
3065 * Makefile.in: Rebuilt.
3066 * Makefile.am (dbexecdir): New variable.
3067 (db_name): Likewise.
3068 (dbexec_DATA): Likewise.
3069 ($(db_name)): New target.
3070 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3071 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3074 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3076 * exception.cc: Remove stray MethodRef.h include.
3077 * java/lang/natClass.cc: Likewise.
3078 * gnu/gcj/runtime/MethodRef.java: Removed.
3079 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3080 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3081 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3082 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3083 * Makefile.in: Rebuilt.
3085 2005-03-10 Tom Tromey <tromey@redhat.com>
3087 * Makefile.in: Rebuilt.
3088 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3090 2005-03-10 Chris Burdess <dog@bluezoo.org>
3092 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3093 not currently parsing the DTD.
3095 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3097 New Stack Trace infrastructure.
3098 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3099 (gnu/gcj/runtime/StackTrace.java): Removed.
3100 (ordinary_java_source_files): Remove obsolete files.
3101 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3102 * configure.host (fallback_backtrace_h): Set backtrace header
3103 for mingw and cygwin targets.
3104 * configure.ac: Make symlink for fallback backtrace headers.
3105 * Makefile.in, configure: Rebuilt.
3106 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3107 Read 'LineNumberTable' attribute.
3108 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3110 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3112 * exception.cc: Remove unused include.
3113 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3114 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3115 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3116 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3117 table to direct threaded instruction values.
3118 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3119 (_Jv_InterpMethod::run): No longer member function. All
3120 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3121 is made or where an instruction could throw.
3122 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3124 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3125 (catch_fpe): Likewise.
3126 * stacktrace.cc: New file. Stack trace code now here.
3127 * gnu/gcj/runtime/MethodRef.java:
3128 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3129 calls addr2line to look up PC addresses in a given binary or shared
3131 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3132 gnu/gcj/runtime/natStackTrace.cc: Removed.
3133 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3134 this function name is specially recognised by the stack trace code
3135 and shouldn't be changed.
3136 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3137 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3138 (_Jv_InterpMethod::run): Update declaration.
3139 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3141 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3142 * include/java-stack.h: New file. Declarations for stack tracing.
3143 * include/jvm.h (_Jv_Frame_info): Removed.
3144 * java/lang/Class.h: Update friend declarations.
3145 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3147 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3148 (getStackTrace): Now native.
3149 (data): New RawDataManaged field.
3150 * java/lang/natClass.cc: Update includes.
3151 (forName): Use _Jv_StackTrace::GetCallingClass for
3152 calling-classloader check.
3153 (getClassLoader): Likewise.
3154 * java/lang/natRuntime.cc: Update includes.
3155 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3156 * java/lang/natVMSecurityManager.cc: Update includes.
3157 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3158 * java/lang/natVMThrowable.cc: New file. Native methods for
3160 * java/lang/reflect/natArray.cc: Update includes.
3161 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3162 accessibility check.
3163 * java/lang/reflect/natConstructor.cc: Update includes.
3164 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3165 accessibility check.
3166 * java/lang/reflect/natField.cc: Update includes.
3167 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3168 accessibility check.
3169 * java/lang/reflect/natMethod.cc: Update includes.
3170 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3171 accessibility check.
3172 * java/util/natResourceBundle.cc: Update includes.
3173 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3174 * java/util/logging/natLogger.cc: Update includes. Use
3175 _Jv_StackTrace::GetCallerInfo to get call-site info.
3176 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3178 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3181 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3183 * testsuite/libjava.compile/PR20312.java: New file.
3184 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3185 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3187 2005-03-09 Andrew Haley <aph@redhat.com>
3189 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3191 (smallTransferTo): New.
3192 (transferFrom): Loop around smallTransferFrom, copying pageSize
3194 (transferTo): Likewise.
3196 2005-03-09 David Daney <ddaney@avtrex.com>
3199 Merge BufferedInputStream from GNU Classpath.
3200 * java/io/BufferedInputStream.java (marktarget): Field removed.
3201 (CHUNKSIZE): Field removed.
3202 (bufferSize): New field.
3203 (BufferedInputStream): Initialize fields.
3204 (close): Invalidate mark and buffer indexes.
3206 (read()): Move mark handling code to refill.
3207 (read(byte[], int, int)): Ditto.
3208 (skip): Ditto and simplify EOF testing.
3209 (refill): Rewritten.
3210 * java/io/InputStreamReader.java (refill): Removed mark and reset
3211 of internal BufferedInputStream.
3213 2005-03-09 Tom Tromey <tromey@redhat.com>
3215 * java/lang/natVMClassLoader.cc (defineClass): Reference
3216 'systemClassLoader' field directly.
3217 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3219 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3220 Reference 'systemClassLoader' field directly.
3221 (_Jv_UnregisterInitiatingLoader): Likewise.
3222 (_Jv_FindClass): Likewise.
3224 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3226 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3228 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3229 the file in GNU Classpath style.
3231 2005-03-09 Tom Tromey <tromey@redhat.com>
3233 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3234 (toString): Synchronize.
3236 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3238 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3239 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3241 2005-03-07 Tom Tromey <tromey@redhat.com>
3243 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3244 (usage): Document '-f'.
3246 2005-03-07 Tom Tromey <tromey@redhat.com>
3248 * java/lang/VMCompiler.java (md5Digest): New field.
3249 (compileClass): Clone md5Digest instead of looking up a new one.
3251 2005-03-07 Tom Tromey <tromey@redhat.com>
3254 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3255 * link.cc (find_field_helper): Added 'type' argument.
3256 (find_field): Updated.
3258 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3259 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3260 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3261 throw UnsupportedOperationException, fixed comments.
3262 (setFont, setForeground): Fixed comments.
3263 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3264 return type to boolean.
3265 (getNextEvent): Fixed javadocs.
3266 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3267 (nativeQueueEmpty): Removed unused code.
3268 (iterateNativeQueue): Removed outer loop.
3270 2005-03-06 Roger Sayle <roger@eyesopen.com>
3273 * Makefile.am (libgcj0_convenience.la): Revert last change.
3274 * Makefile.in: Regenerate.
3276 2005-03-05 Anthony Green <green@redhat.com>
3278 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3279 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3280 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3281 (_Jv_GetDrawingSurface): Set visualID.
3282 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3283 (JAWT_GetAWT): Set Lock and Unlock.
3284 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3286 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3287 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3288 JAWT_LOCK_SURFACE_CHANGED): New macros.
3289 (struct _JAWT): Add Lock and Unlock.
3291 2005-03-05 Roger Sayle <roger@eyesopen.com>
3292 Alexandre Oliva <aoliva@redhat.com>
3293 Kelley Cook <kcook@gcc.gnu.org>
3296 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3297 of the object files to link to avoid exceeding the command line
3298 length limits on some platforms.
3299 (clean-local): Clean up objectlist files.
3300 * Makefile.in: Regenerate.
3302 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3304 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3305 spec_case. Initialize pointer mlo.
3307 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3310 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3312 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3315 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3316 uninitialized variable z.
3318 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3319 possible unused variables.
3321 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3323 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3325 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3328 * testsuite/libjava.jni/jni.exp
3329 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3331 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3333 2005-02-23 David Daney <ddaney@avtrex.com>
3335 * configure.host: Don't use -mxgot for MIPS builds.
3337 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3340 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3341 (COMPPATH): Removed.
3342 (ZIP, GCJH): Replace it with ../$(host_subdir).
3343 (built_gcc_dir): Add $(host_subdir).
3344 * configure: Regenerate.
3345 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3346 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3347 external/w3c_dom/Makefile.in: Regenerate.
3349 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3351 * java/awt/font/TextAttribute.java: changed names to lower case;
3352 (readResolve): implemented.
3353 Added doc comments all over.
3355 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3358 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3359 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3360 value. Move argument parsing code to prims.cc.
3361 * prims.cc (no_properties): Remove.
3362 (_Jv_Compiler_Properties): Initialize to NULL.
3363 (_Jv_Properties_Count): Initialize to 0.
3364 (parse_verbose_args): New function.
3365 (parse_init_args): New function.
3366 (_Jv_CreateJavaVM): Call parse_init_args.
3367 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3368 * gcj/cni.h (JvVMOption): New struct.
3369 (JvVMInitArgs): Likewise.
3370 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3372 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3373 (_Jv_VMInitArgs): Likewise.
3374 * include/java-props.h (_Jv_Properties_Count): Declare.
3375 * java/lang/natRuntime.cc (insertSystemProperties): Use
3376 _Jv_Properties_Count in for loop exit condition.
3377 * testsuite/libjava.jni/jni.exp
3378 (gcj_invocation_compile_c_to_binary): New procedure.
3379 (gcj_invocation_test_one): Likewise.
3380 (gcj_jni_run): Run JNI invocation API tests.
3381 * testsuite/libjava.jni/invocation/PR16923.c,
3382 testsuite/libjava.jni/invocation/PR16923.java,
3383 testsuite/libjava.jni/invocation/PR16923.out: New test.
3385 2005-02-23 Michael Koch <konqueror@gmx.de>
3387 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3388 * Makefile.in: Regenerated.
3390 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3392 * gnu/java/nio/ChannelReader: Fixed comments.
3394 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3396 * java/nio/channels/Channels: Added FIXMEs about
3397 stub method implementation.
3398 (newReader): Implemented.
3399 * gnu/java/nio/ChannelReader: New class.
3401 2005-02-23 Michael Koch <konqueror@gmx.de>
3403 * java/text/SimpleDateFormat.java:
3404 Removed unused import.
3406 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3409 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3410 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3411 * Makefile.in: Regenerate.
3412 * configure.ac: Check for libXtst.
3413 * configure: Regenerate.
3415 2005-02-22 Mark Wielaard <address@bogus.example.com>
3417 * java/security/AlgorithmParameterGenerator.java (getInstance):
3418 Mention provider when throwing NoSuchProviderException.
3419 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3420 * java/security/KeyFactory.java (getInstance): Likewise.
3421 * java/security/KeyStore.java (getInstance): Likewise.
3422 * java/security/SecureRandom.java (getInstance): Likewise.
3423 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3425 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3427 * java/lang/reflect/Proxy.java,
3429 java/security/SecureRandom.java,
3430 java/util/Timer.java,
3431 java/util/prefs/AbstractPreferences.java:
3432 Don't catch java.lang.ThreadDeath.
3434 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3436 * java/awt/font/TransformAttribute.java,
3437 (TransformAttribute(AffineTransform)): throw
3438 IllegalArgumentException for null transform.
3439 (getTransform): return a copy of transform.
3440 Added doc comments to all.
3442 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3444 * java/io/Externalizable.java,
3445 java/io/Serializable.java
3446 (serialVersionUID): Removed.
3447 * java/rmi/server/RemoteObject.java,
3448 java/rmi/server/UID.java
3449 (serialVersionUID): Made private.
3450 * java/rmi/server/RemoteRef.java,
3451 java/rmi/server/ServerRef.java
3452 (serialVersionUID): Set proper value.
3453 * java/security/interfaces/DSAPrivateKey.java,
3454 java/security/interfaces/DSAPublicKey.java,
3455 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3456 java/security/interfaces/RSAPrivateCrtKey.java,
3457 java/security/interfaces/RSAPrivateKey.java,
3458 java/security/interfaces/RSAPublicKey.java,
3459 javax/crypto/SecretKey.java
3460 (serialVersionUID): Added.
3462 2005-02-22 Tom Tromey <tromey@redhat.com>
3464 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3466 2005-02-22 Tom Tromey <tromey@redhat.com>
3469 * verify.cc (type::EITHER): New constant.
3470 (check_field_constant): Use it.
3471 (type::compatible): Handle it.
3473 2005-02-22 Michael Koch <konqueror@gmx.de>
3475 * gnu/java/security/PolicyFile.java,
3476 gnu/java/security/pkcs/PKCS7SignedData.java,
3477 gnu/java/security/pkcs/SignerInfo.java:
3478 Fixed copyright header.
3480 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3482 * java/beans/PropertyDescriptor.java
3483 (PropertyDescriptor,setReadMethod): Set propertyType.
3485 2005-02-22 Michael Koch <konqueror@gmx.de>
3487 * java/nio/DirectByteBufferImpl.java
3488 (owner): Fixed formatting of javadoc.
3489 * java/text/DateFormat.java
3490 (getAvailableLocales): Fixed formatting.
3491 * java/text/SimpleDateFormat.java:
3492 Fixed formatting and import statement order.
3493 * java/util/Calendar.java
3494 (Calendar): Fixed javadoc to be HTML compliant.
3495 * java/util/SimpleTimeZone.java:
3498 2005-02-22 Roman Kennke <roman@ontographics.com>
3500 * javax/swing/plaf/basic/BasicLookAndFeel.java
3501 (initComponentDefaults): Fixed Button left and right margin.
3503 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3505 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3509 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3510 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3511 (getWidth): New method.
3512 (getHeight): Likewise.
3513 (create): Remove width, height and insets parameters. Move size
3515 (realize_cb): ... here. New function.
3516 (connectSignals): Connect realize_cb.
3517 (request_frame_extents): Remove FIXME. Move
3518 postInsetsChangedEvent lookup ...
3519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3520 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3521 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3523 (windowGetWidthID): Likewise.
3524 (windowGetHeightID): Likewise.
3526 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3529 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3530 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3532 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3534 Merge serialization from GNU Classpath.
3535 * gcj/method.h: Add missing #includes.
3536 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3537 primitive class IDs on the stream here...
3538 (resolveClass): ...not here.
3539 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3541 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3542 setLongNative, setIntNative, setShortNative, setCharNative,
3543 setByteNative, setBooleanNative, setObjectNative): New native methods.
3544 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3545 setLongNative, setIntNative, setShortNative, setCharNative,
3546 setByteNative, setBooleanNative, setObjectNative): Implement them.
3547 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3548 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3549 the constructor here.
3550 (callConstructor): Removed.
3551 (getCallersClassLoader): Removed.
3552 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3553 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3554 to control whether setting final field values is permitted. Call
3555 getAddr() with checkFinal parameter instead of setAddr().
3556 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3557 only if not done already.
3558 (getAddr): Add checkFinal parameter. Do the final field check only if
3562 2005-02-21 Mark Wielaard <mark@klomp.org>
3565 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3568 2005-02-21 Mark Wielaard <mark@klomp.org>
3571 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3572 without a super class and us ObjectStreamClass.lookupForClassObject().
3573 (resolveClass): Check for primitive types.
3574 (lookupClass): Return null when argument is null.
3576 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3578 * java/io/ObjectInputStream.java
3579 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3581 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3583 * java/io/ObjectOutputStream.java
3584 (writeObject, callWriteMethod): Replaced reflection with accessing
3585 cached info in ObjectStreamClass.
3586 (getMethod): Removed.
3587 * java/io/ObjectStreamClass.java
3588 (findMethod): Added check to make sure the method found has the
3590 (cacheMethods): Added writeReplace and writeObject methods.
3591 (setFlags): Look at new writeObjectMethod field instead of doing
3593 (writeReplaceMethod): New field.
3594 (writeObjectMethod): New field.
3596 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3597 Jeroen Frijters <jeroen@frijters.net>
3599 * java/io/ObjectInputStream.java
3600 (newObject): Changed prototype. Get a constructor reflect object
3602 (callConstructor): Removed.
3603 (allocateObject): Changed prototype.
3604 (readClassDescriptor): Build the constructor reflection directly.
3605 (readObject): Invoke newObject using the new prototype.
3607 * java/io/ObjectStreamClass.java
3608 (firstNonSerializableParent): Removed.
3609 (firstNonSerializableParentConstructor): Added.
3611 2005-02-21 Mark Wielaard <mark@klomp.org>
3613 * gnu/java/locale/LocaleInformation_en.java: Extend
3614 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3616 2005-02-21 Mark Wielaard <mark@klomp.org>
3618 * java/text/SimpleDateFormat.java
3619 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3620 NullPointerException when formatData is null.
3622 2005-02-21 Mark Wielaard <mark@klomp.org>
3624 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3625 taking dstSavings into account.
3627 2005-02-21 Sven de Marothy <sven@physto.se>
3629 * java/text/SimpleDateFormat.java,
3630 (parse): Set correct DST_OFFSET to the correct value.
3632 2005-02-21 Mark Wielaard <mark@klomp.org>
3634 * java/util/SimpleTimeZone.java (checkRule): Throw
3635 IllegalArgumentException when month out of range.
3637 2005-02-21 Sven de Marothy <sven@physto.se>
3639 * java/util/GregorianCalendar.java,
3640 (add): Don't set fields directly anymore. Use set()
3642 2005-02-21 Mark Wielaard <mark@klomp.org>
3644 * java/text/SimpleDateFormat.java (CompiledField.toString):
3645 Use StringBuffer, not StringBuilder.
3646 (toString): Likewise.
3648 2005-02-21 Sven de Marothy <sven@physto.se>
3650 * java/util/Calendar.java
3651 (clear): Dates should clear to local time.
3652 * java/util/GregorianCalendar.java
3653 (computeTime): Fix priority problem with DAY_OF_WEEK,
3654 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3656 2005-02-21 Sven de Marothy <sven@physto.se>
3658 * java/util/Calendar.java
3659 (Calendar): Constructor should clear fields.
3661 2005-02-21 Sven de Marothy <sven@physto.se>
3663 * java/text/SimpleDateFormat.java
3664 (parse): Tweak handling of 2-year dates
3665 * java/util/Calendar.java
3666 (clear): Clear fields to correct value.
3667 * java/util/GregorianCalendar.java
3668 (computeTime): Correct handling of time zones.
3669 Correct field minimum values.
3671 2005-02-21 Sven de Marothy <sven@physto.se>
3673 * java/util/Calendar.java
3674 (set) Invalidate all fields on first call to set().
3676 2005-02-21 Sven de Marothy <sven@physto.se>
3678 * java/util/GregorianCalendar.java
3679 (computeTime): Fixed handling of time zones.
3681 2005-02-21 Sven de Marothy <sven@physto.se>
3683 * java/util/Calendar.java
3684 (clear): Set values to Epoch instead of zero.
3685 (set): Set isSet to the relevant field pattern instead of just
3687 * java/util/GregorianCalendar.java
3688 (getBundle): Removed.
3689 (getDayOfYear): Removed.
3690 (getFirstDayOfMonth): New private method.
3691 (nonLeniencyCheck): New private method.
3692 (computeTime): Correct handling of insufficient data.
3694 2005-02-21 Sven de Marothy <sven@physto.se>
3696 * java/util/Calendar.java: Invalidate ERA field on setting
3698 * java/util/SimpleTimeZone.java:
3699 (getDaysInMonth): Reimplemented.
3700 * java/util/GregorianCalendar.java:
3701 (getLinearTime): Removed.
3702 (isLeapYear(int,boolean)): Removed.
3703 (before(), after()): Removed.
3704 (computeTime): Reimplemented.
3706 2005-02-21 Sven de Marothy <sven@physto.se>
3708 * java/util/Calendar.java: Reformatted.
3709 * java/util/GregorianCalendar.java: Reformatted.
3710 * java/util/SimpleTimeZone.java: Reformatted.
3712 2005-02-21 Sven de Marothy <sven@physto.se>
3714 * java/util/GregorianCalendar.java
3715 (GregorianCalendar): Update fields in the constructor
3717 2005-02-21 Noa Resare <noa@resare.com>
3719 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3720 (set(int,int)): Set and use new field.
3721 (set(int,int,int)): Check new field.
3723 2005-02-21 Noa Resare <address@hidden>
3725 * java/util/Calendar.java(set):
3726 Fix for DST related regression.
3728 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3730 * java/util/Calendar.java
3731 (setTimeInMillis): Added call to clear, removed computeFields call.
3732 * java/util/Date.java
3733 (Date(int,int,int,int,int,int)): Removed workaround for
3734 GregorianCalendar bug.
3735 * java/util/GregorianCalendar.java
3736 (GregorianCalendar): Chained all constructors to a (new)
3738 (computeTime): Fixed support for lenient month treatment.
3739 (getLinearDay): Return long instead of int.
3740 (calculateDay): Added fields argument and changed day argument
3743 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3745 * java/text/SimpleDateFormat.java
3746 Lots of documentation updates.
3747 (readObject(java.io.ObjectInputStream)): Wraps
3748 IllegalArgumentException as specified.
3749 (compileFormat(String)): Uses standardChars
3750 rather than the local pattern characters.
3751 Throws IllegalArgumentException rather than
3753 (toString()): Extended to include all variables
3755 (translateLocalizedPattern(String, String, String)):
3756 Renamed to better define the use of this method.
3758 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3760 * java/text/DateFormat.java:
3761 Documented pattern character offset constants and
3763 (Field): Added new static fields for new pattern chars.
3764 * java/text/SimpleDateFormat.java:
3765 (CompiledField): Changed name of FieldSizePair class
3766 to CompiledField after adding the character as an
3767 attribute. Changed fields to private and added
3768 accessors to give encapsulation.
3769 (CompiledField.CompiledField(int,int,char)): Extended
3770 with character field.
3771 (CompiledField.getField()): New accessor method.
3772 (CompiledField.getSize()): New acceessor method.
3773 (CompiledField.getCharacter()): New accessor method.
3774 (CompiledField.toString()): Added primarily for debugging.
3775 (standardChars): Now uses extended 24 character sequence.
3776 (compileFormat(String)): Changed to use CompiledField.
3777 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3778 java.text.FieldPosition)): Changed to use CompiledField.
3779 New handler for RFC 822 timezones added.
3781 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3783 * java/text/SimpleDateFormat.java:
3784 (parse(String, java.text.ParsePosition)):
3785 Changed 'E' and 'M' cases to use both
3786 short and long names. Extended 'z'
3787 case to also handle 'Z', and deal
3788 with simple GMT offsets such as +0100.
3789 (computeOffset(String)): New private method,
3790 which converts a GMT offset specification,
3791 such as GMT-0500 to a numeric offset in
3793 * java/util/TimeZone.java:
3794 (timezones()): Added "CEST", the daylight
3795 savings time version of "CET", or Central
3798 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3800 * java/text/SimpleDateFormat.java:
3801 (parse): Set the DST offset to 0 when parsing
3802 GMT offset timezones.
3804 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3806 * java/text/SimpleDateFormat.java:
3807 (parse): Use offset to set ZONE_OFFSET
3808 rather than the DST_OFFSET, so that
3809 GMT offset timezones change the right
3812 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3814 * java/text/SimpleDateFormat.java:
3815 (getDateFormatSymbols()): return a copy
3816 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3817 throw exception on null input
3818 (clone()): implemented to clone
3821 2005-02-21 Sven de Marothy <sven@physto.se>
3823 * java/text/SimpleDateFormat.java
3824 (parse): comparison should be case-insensitive, ignore null
3827 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3829 * gnu/java/beans/IntrospectionIncubator.java
3830 (addMethod) Reverts the patch that ntroduced a regression (see bug
3831 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3833 2005-02-21 Michael Koch <konqueror@gmx.de>
3835 * java/awt/Checkbox.java
3836 (next_checkbox_number): New static variable.
3837 (generateName): New method.
3838 (getUniqueLong): Likewise.
3839 * java/awt/Window.java
3840 (next_window_number): New static variable.
3841 (generateName): New method.
3842 (getUniqueLong): Likewise.
3844 2005-02-21 Mark Wielaard <mark@klomp.org>
3846 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3849 2005-02-21 Andrew Haley <aph@redhat.com>
3851 * Makefile.in: Rebuilt.
3852 * Makefile.am (nat_source_files): Added natLogger.cc.
3853 * java/util/logging/natLogger.cc: New file.
3854 * java/util/logging/Logger.java (getCallerStackFrame): Now
3857 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3859 * Makefile.am (all_property_files): Remove left over.
3860 (classes.stamp): Add stamp for the ONESTEP build, also known as
3861 --enable-libgcj-multifile.
3862 * Makefile.in: Regenerated.
3864 2005-02-21 Michael Koch <konqueror@gmx.de>
3866 * java/awt/Button.java,
3867 java/awt/Container.java,
3869 java/awt/Frame.java,
3870 java/text/CollationElementIterator.java,
3871 java/text/RuleBasedCollator.java,
3872 java/util/PropertyPermission.java:
3873 Fixed formatting issues all over.
3875 2005-02-21 Mark Wielaard <mark@klomp.org>
3877 * java/io/FileDescriptor.java (sync): Add real exception to
3878 SyncFailedException.
3880 2005-02-21 Michael Koch <konqueror@gmx.de>
3882 * java/io/InputStreamReader.java:
3885 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3888 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3890 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3892 * libraries/javalib/gnu/regexp/RE.java,
3893 libraries/javalib/java/io/ObjectInputStream.java,
3894 libraries/javalib/java/security/AllPermission.java,
3895 libraries/javalib/java/security/BasicPermission.java,
3896 libraries/javalib/java/security/Permissions.java,
3897 libraries/javalib/java/text/MessageFormat.java:
3898 Made 'inner' classes real public static inner classes,
3899 and made them final where possible, or removed them
3902 2005-02-20 Michael Koch <konqueror@gmx.de>
3904 * gnu/java/text/FormatCharacterIterator.java:
3905 Removed redundant modifiers.
3907 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3909 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3912 2005-02-19 Michael Koch <konqueror@gmx.de>
3914 * Makefile.am: Added new files in gnu/java/beans and
3915 java/beans/XMLDecoder.java.
3916 * Makefile.in: Regenerated.
3918 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3920 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3921 assignment behavior by using java.lang.reflect.Array.set()
3924 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3926 * gnu/java/beans/EmptyBeanInfo.java,
3927 gnu/java/beans/info/ComponentBeanInfo.java:
3928 Removed unused files.
3930 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3932 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3933 of AppletStub for java.beans.Beans.instantiate.
3934 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3936 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3937 to be conformant with Javadoc guidelines.
3938 (instantiate): Added two more overloaded variants, reworked user
3939 documentation, fixed exception behavior, fixed behavior when
3942 2005-02-19 Mark Wielaard <mark@klomp.org>
3944 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3946 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3948 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3950 * gnu/java/beans/decoder/AbstractContext.java,
3951 gnu/java/beans/decoder/AbstractCreatableContext.java,
3952 gnu/java/beans/decoder/AbstractElementHandler.java,
3953 gnu/java/beans/decoder/AbstractObjectContext.java,
3954 gnu/java/beans/decoder/ArrayContext.java,
3955 gnu/java/beans/decoder/ArrayHandler.java,
3956 gnu/java/beans/decoder/AssemblyException.java,
3957 gnu/java/beans/decoder/BooleanHandler.java,
3958 gnu/java/beans/decoder/ByteHandler.java,
3959 gnu/java/beans/decoder/CharHandler.java,
3960 gnu/java/beans/decoder/ClassHandler.java,
3961 gnu/java/beans/decoder/ConstructorContext.java,
3962 gnu/java/beans/decoder/Context.java,
3963 gnu/java/beans/decoder/DecoderContext.java,
3964 gnu/java/beans/decoder/DefaultExceptionListener.java,
3965 gnu/java/beans/decoder/DoubleHandler.java,
3966 gnu/java/beans/decoder/DummyContext.java,
3967 gnu/java/beans/decoder/DummyHandler.java,
3968 gnu/java/beans/decoder/ElementHandler.java,
3969 gnu/java/beans/decoder/FloatHandler.java,
3970 gnu/java/beans/decoder/GrowableArrayContext.java,
3971 gnu/java/beans/decoder/IndexContext.java,
3972 gnu/java/beans/decoder/IntHandler.java,
3973 gnu/java/beans/decoder/JavaHandler.java,
3974 gnu/java/beans/decoder/LongHandler.java,
3975 gnu/java/beans/decoder/MethodContext.java,
3976 gnu/java/beans/decoder/MethodFinder.java,
3977 gnu/java/beans/decoder/NullHandler.java,
3978 gnu/java/beans/decoder/ObjectContext.java,
3979 gnu/java/beans/decoder/ObjectHandler.java,
3980 gnu/java/beans/decoder/PersistenceParser.java,
3981 gnu/java/beans/decoder/PropertyContext.java,
3982 gnu/java/beans/decoder/ShortHandler.java,
3983 gnu/java/beans/decoder/SimpleHandler.java,
3984 gnu/java/beans/decoder/StaticMethodContext.java,
3985 gnu/java/beans/decoder/StringHandler.java,
3986 gnu/java/beans/decoder/VoidHandler.java: New class
3987 implementing java.beans.XMLDecoder decoding functionality.
3988 * java/beans/XMLDecoder.java: New class.
3990 2005-02-19 Michael Koch <konqueror@gmx.de>
3992 * javax/swing/JTextField.java
3993 (notfiyAction): Added javadoc.
3995 2005-02-19 Sven de Marothy <sven@physto.se>
3997 * javax/swing/SpinnerDateModel.java: Implemented.
3999 2005-02-19 Michael Koch <konqueror@gmx.de>
4001 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4002 * Makefile.in: Regenerated.
4004 2005-02-19 Michael Koch <konqueror@gmx.de>
4006 * gnu/java/nio/SelectorImpl.java:
4007 Reworked import statements.
4008 (register): Removed unused code.
4009 * java/nio/channels/Channels.java: Reformatted.
4010 * java/nio/charset/Charset.java: Likewise.
4011 * java/rmi/server/RemoteObject.java
4012 (serialVersionUID): Made private.
4013 * java/rmi/server/UID.java
4014 (serialVersionUID): Likewise.
4016 2005-02-19 Michael Koch <konqueror@gmx.de>
4018 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4019 gnu/java/net/protocol/ftp/BlockInputStream.java,
4020 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4021 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4022 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4023 gnu/java/net/protocol/ftp/DTPInputStream.java,
4024 gnu/java/net/protocol/ftp/DTP.java,
4025 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4026 gnu/java/net/protocol/ftp/FTPConnection.java,
4027 gnu/java/net/protocol/ftp/FTPException.java,
4028 gnu/java/net/protocol/ftp/FTPResponse.java,
4029 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4030 gnu/java/net/protocol/ftp/Handler.java,
4031 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4032 gnu/java/net/protocol/ftp/StreamInputStream.java,
4033 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4034 gnu/java/net/CRLFInputStream.java,
4035 gnu/java/net/CRLFOutputStream.java,
4036 gnu/java/net/GetLocalHostAction.java,
4037 gnu/java/net/protocol/ftp/package.html: New files.
4038 * Makefile.am: Added new files.
4039 * Makefile.in: Regenerated.
4041 2005-02-18 Tom Tromey <tromey@redhat.com>
4043 * link.cc (make_vtable): Remove abstract method check.
4044 (append_partial_itable): Likewise.
4047 * verify.cc (type::equals): Fixed test.
4048 * testsuite/libjava.lang/PR20056.out: New file.
4049 * testsuite/libjava.lang/PR20056.java: New file.
4051 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4053 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4054 not the HashEntry. Reported by Jean-Marie White.
4056 2005-02-18 Tom Tromey <tromey@redhat.com>
4059 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4060 * link.cc (has_field_p): New function.
4061 * verify.cc (check_field_constant): Added 'putfield' argument.
4062 (verify_instructions_0): Updated.
4063 (type::equals): New method.
4065 2005-02-18 Anthony Green <green@redhat.com>
4067 * NEWS: Draft of libgcj NEWS for 4.0.
4069 2005-02-18 Anthony Green <green@redhat.com>
4071 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4072 architecture names to "i386" for compatibility reasons. Win32
4075 2005-02-18 Anthony Green <green@redhat.com>
4077 * gij.cc (version): Change year for '--version' to 2005.
4078 * gnu/gcj/convert/Convert.java: Ditto.
4079 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4080 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4082 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4083 recent copyright year in `--version' output.
4085 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4087 * java/nio/charset/Charset.java (forName): Throws
4088 IllegalArgumentException when argument is null
4089 and added documentation.
4091 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4093 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4094 Move the position of the source buffer forward.
4096 2005-02-17 Tom Tromey <tromey@redhat.com>
4098 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4099 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4100 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4101 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4102 Changed type of second argument. Rewrote.
4103 (make_vtable): Use it.
4104 (append_partial_itable): Updated.
4105 (layout_vtable_methods): Updated.
4107 2005-02-17 Michael Koch <konqueror@gmx.de>
4109 * gnu/java/net/PlainSocketImpl.java
4110 (shutdownInput): Added javadoc.
4111 (shutdownOutput): Likewise.
4113 2005-02-17 Michael Koch <konqueror@gmx.de>
4115 * javax/print/attribute/standard/Chromaticity.java,
4116 javax/print/attribute/standard/Destination.java,
4117 javax/print/attribute/standard/MediaPrintableArea.java,
4118 javax/print/attribute/standard/MediaSize.java: New files.
4119 * Makefile.am: Added new files.
4120 * Makefile.in: Regenerated.
4122 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4123 Michael Koch <konqueror@gmx.de>
4125 * gnu/java/net/protocol/http/Cookie.java,
4126 gnu/java/net/protocol/http/HTTPConnection.java,
4127 gnu/java/net/protocol/http/HTTPDateFormat.java,
4128 gnu/java/net/protocol/http/Request.java,
4129 gnu/java/nio/PipeImpl.java,
4130 gnu/java/rmi/dgc/DGCImpl.java,
4131 gnu/java/rmi/server/ConnectionRunnerPool.java,
4132 gnu/java/rmi/server/UnicastConnectionManager.java,
4133 gnu/java/security/der/DERWriter.java,
4134 gnu/java/security/pkcs/SignerInfo.java,
4135 gnu/java/security/provider/EncodedKeyFactory.java,
4136 gnu/java/security/provider/GnuDHPublicKey.java,
4137 gnu/java/security/provider/GnuDSAPrivateKey.java,
4138 gnu/java/security/provider/GnuDSAPublicKey.java,
4139 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4140 gnu/java/security/x509/X500DistinguishedName.java,
4141 gnu/java/security/x509/X509CRL.java,
4142 gnu/java/security/x509/X509CRLEntry.java,
4143 gnu/java/security/x509/X509Certificate.java,
4144 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4145 gnu/java/security/x509/ext/CertificatePolicies.java,
4146 gnu/java/security/x509/ext/PolicyConstraint.java,
4147 gnu/xml/dom/Consumer.java,
4148 gnu/xml/dom/DomCharacterData.java,
4149 gnu/xml/dom/DomDocument.java,
4150 gnu/xml/dom/DomDocumentBuilder.java,
4151 gnu/xml/dom/DomIterator.java,
4152 gnu/xml/dom/DomNode.java,
4153 gnu/xml/dom/DomXPathExpression.java,
4154 gnu/xml/dom/DomXPathResult.java,
4155 gnu/xml/dom/JAXPFactory.java,
4156 gnu/xml/pipeline/CallFilter.java,
4157 gnu/xml/pipeline/DomConsumer.java,
4158 gnu/xml/pipeline/LinkFilter.java,
4159 gnu/xml/pipeline/NSFilter.java,
4160 gnu/xml/pipeline/TeeConsumer.java,
4161 gnu/xml/pipeline/ValidationConsumer.java,
4162 gnu/xml/pipeline/WellFormednessFilter.java,
4163 gnu/xml/pipeline/XIncludeFilter.java,
4164 gnu/xml/pipeline/XsltFilter.java,
4165 gnu/xml/transform/ApplyImportsNode.java,
4166 gnu/xml/transform/Bindings.java,
4167 gnu/xml/transform/DocumentFunction.java,
4168 gnu/xml/transform/FormatNumberFunction.java,
4169 gnu/xml/transform/NodeNumberNode.java,
4170 gnu/xml/transform/NumberNode.java,
4171 gnu/xml/transform/Stylesheet.java,
4172 gnu/xml/transform/SystemPropertyFunction.java,
4173 gnu/xml/transform/Template.java,
4174 gnu/xml/transform/TemplatesImpl.java,
4175 gnu/xml/transform/TransformerImpl.java,
4176 gnu/xml/transform/ValueOfNode.java,
4177 gnu/xml/transform/XSLURIResolver.java,
4178 gnu/xml/util/DoParse.java,
4179 gnu/xml/util/Resolver.java,
4180 gnu/xml/xpath/Expr.java,
4181 gnu/xml/xpath/FunctionCall.java,
4182 gnu/xml/xpath/RelationalExpr.java,
4183 gnu/xml/xpath/Selector.java,
4184 gnu/xml/xpath/XPathParser.java:
4185 Reworked import statements, fixed modifier order and some little
4188 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4190 * java/nio/ByteBufferImpl.java (compact):
4191 Set position and limit even if no bytes were moved.
4193 2005-02-17 Michael Koch <konqueror@gmx.de>
4195 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4196 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4197 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4198 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4199 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4200 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4201 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4202 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4203 * java/nio/FloatBufferImpl.java (compact): Set position.
4204 * java/nio/CharBufferImpl.java (compact): Likewise.
4205 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4206 * java/nio/IntBufferImpl.java (compact): Likewise.
4207 * java/nio/LongBufferImpl.java (compact): Likewise.
4208 * java/nio/ShortBufferImpl.java (compact): Likewise.
4210 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4212 * java/nio/ByteBufferImpl.java,
4213 java/nio/CharBufferImpl.java,
4214 java/nio/DirectByteBufferImpl.java,
4215 java/nio/DoubleBufferImpl.java,
4216 java/nio/FloatBufferImpl.java,
4217 java/nio/IntBufferImpl.java,
4218 java/nio/LongBufferImpl.java,
4219 java/nio/MappedByteBufferImpl.java,
4220 java/nio/ShortBufferImpl.java
4221 (compact): Added explicit read-only check and invalidate mark.
4223 2005-02-17 Michael Koch <konqueror@gmx.de>
4225 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4226 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4227 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4228 gnu/java/awt/peer/gtk/GdkGraphics.java,
4229 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4230 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4231 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4232 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4233 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4234 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4235 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4236 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4237 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4238 gnu/java/awt/peer/gtk/GtkClipboard.java,
4239 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4240 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4241 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4242 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4243 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4244 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4245 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4246 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4247 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4248 gnu/java/awt/peer/gtk/GtkToolkit.java,
4249 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4250 java/applet/Applet.java,
4251 java/awt/AWTError.java,
4252 java/awt/AWTEvent.java,
4253 java/awt/AWTEventMulticaster.java,
4254 java/awt/AWTException.java,
4255 java/awt/AWTKeyStroke.java,
4256 java/awt/AWTPermission.java,
4257 java/awt/ActiveEvent.java,
4258 java/awt/Adjustable.java,
4259 java/awt/AlphaComposite.java,
4260 java/awt/AttributeValue.java,
4261 java/awt/BorderLayout.java,
4262 java/awt/BufferCapabilities.java,
4263 java/awt/Button.java,
4264 java/awt/Canvas.java,
4265 java/awt/CheckboxGroup.java,
4266 java/awt/CheckboxMenuItem.java,
4267 java/awt/Color.java,
4268 java/awt/ColorPaintContext.java,
4269 java/awt/Component.java,
4270 java/awt/ComponentOrientation.java,
4271 java/awt/Composite.java,
4272 java/awt/CompositeContext.java,
4273 java/awt/Container.java,
4274 java/awt/ContainerOrderFocusTraversalPolicy.java,
4275 java/awt/DefaultFocusTraversalPolicy.java,
4276 java/awt/Dialog.java,
4277 java/awt/Dimension.java,
4278 java/awt/DisplayMode.java,
4279 java/awt/EventQueue.java,
4280 java/awt/FileDialog.java,
4281 java/awt/FontFormatException.java,
4282 java/awt/Graphics.java,
4283 java/awt/Graphics2D.java,
4284 java/awt/GraphicsConfigTemplate.java,
4285 java/awt/GraphicsConfiguration.java,
4286 java/awt/GraphicsDevice.java,
4287 java/awt/GridBagLayout.java,
4288 java/awt/GridBagLayoutInfo.java,
4289 java/awt/GridLayout.java,
4290 java/awt/HeadlessException.java,
4291 java/awt/IllegalComponentStateException.java,
4292 java/awt/Image.java,
4293 java/awt/Insets.java,
4294 java/awt/ItemSelectable.java,
4295 java/awt/JobAttributes.java,
4296 java/awt/KeyEventDispatcher.java,
4297 java/awt/KeyEventPostProcessor.java,
4298 java/awt/KeyboardFocusManager.java,
4299 java/awt/Label.java,
4300 java/awt/LayoutManager.java,
4301 java/awt/MenuBar.java,
4302 java/awt/MenuComponent.java,
4303 java/awt/MenuContainer.java,
4304 java/awt/PageAttributes.java,
4305 java/awt/Paint.java,
4306 java/awt/PaintContext.java,
4307 java/awt/Panel.java,
4308 java/awt/Point.java,
4309 java/awt/Polygon.java,
4310 java/awt/PrintGraphics.java,
4311 java/awt/PrintJob.java,
4312 java/awt/Rectangle.java,
4313 java/awt/RenderingHints.java,
4314 java/awt/Shape.java,
4315 java/awt/Stroke.java,
4316 java/awt/SystemColor.java,
4317 java/awt/Toolkit.java,
4318 java/awt/Transparency.java,
4319 java/awt/Window.java,
4320 java/awt/color/CMMException.java,
4321 java/awt/color/ColorSpace.java,
4322 java/awt/color/ICC_ColorSpace.java,
4323 java/awt/color/ICC_Profile.java,
4324 java/awt/color/ProfileDataException.java,
4325 java/awt/datatransfer/FlavorTable.java,
4326 java/awt/datatransfer/MimeTypeParseException.java,
4327 java/awt/datatransfer/Transferable.java,
4328 java/awt/datatransfer/UnsupportedFlavorException.java,
4329 java/awt/dnd/Autoscroll.java,
4330 java/awt/dnd/DnDConstants.java,
4331 java/awt/dnd/DragGestureListener.java,
4332 java/awt/dnd/DragSourceAdapter.java,
4333 java/awt/dnd/DragSourceDropEvent.java,
4334 java/awt/dnd/DragSourceListener.java,
4335 java/awt/dnd/DragSourceMotionListener.java,
4336 java/awt/dnd/DropTargetAdapter.java,
4337 java/awt/dnd/DropTargetContext.java,
4338 java/awt/dnd/DropTargetListener.java,
4339 java/awt/dnd/InvalidDnDOperationException.java,
4340 java/awt/dnd/MouseDragGestureRecognizer.java,
4341 java/awt/dnd/peer/DropTargetContextPeer.java,
4342 java/awt/event/AWTEventListener.java,
4343 java/awt/event/AWTEventListenerProxy.java,
4344 java/awt/event/ActionEvent.java,
4345 java/awt/event/AdjustmentEvent.java,
4346 java/awt/event/AdjustmentListener.java,
4347 java/awt/event/ComponentAdapter.java,
4348 java/awt/event/ComponentEvent.java,
4349 java/awt/event/ComponentListener.java,
4350 java/awt/event/ContainerAdapter.java,
4351 java/awt/event/ContainerEvent.java,
4352 java/awt/event/ContainerListener.java,
4353 java/awt/event/FocusAdapter.java,
4354 java/awt/event/FocusEvent.java,
4355 java/awt/event/FocusListener.java,
4356 java/awt/event/InputEvent.java,
4357 java/awt/event/InputMethodEvent.java,
4358 java/awt/event/InputMethodListener.java,
4359 java/awt/event/InvocationEvent.java,
4360 java/awt/event/ItemEvent.java,
4361 java/awt/event/ItemListener.java,
4362 java/awt/event/KeyAdapter.java,
4363 java/awt/event/KeyEvent.java,
4364 java/awt/event/KeyListener.java,
4365 java/awt/event/MouseAdapter.java,
4366 java/awt/event/MouseEvent.java,
4367 java/awt/event/MouseListener.java,
4368 java/awt/event/MouseMotionAdapter.java,
4369 java/awt/event/MouseMotionListener.java,
4370 java/awt/event/MouseWheelEvent.java,
4371 java/awt/event/MouseWheelListener.java,
4372 java/awt/event/PaintEvent.java,
4373 java/awt/event/TextEvent.java,
4374 java/awt/event/TextListener.java,
4375 java/awt/event/WindowAdapter.java,
4376 java/awt/event/WindowEvent.java,
4377 java/awt/event/WindowFocusListener.java,
4378 java/awt/event/WindowListener.java,
4379 java/awt/event/WindowStateListener.java,
4380 java/awt/font/TextHitInfo.java,
4381 java/awt/geom/CubicCurve2D.java,
4382 java/awt/geom/Dimension2D.java,
4383 java/awt/geom/Ellipse2D.java,
4384 java/awt/geom/IllegalPathStateException.java,
4385 java/awt/geom/Line2D.java,
4386 java/awt/geom/NoninvertibleTransformException.java,
4387 java/awt/geom/PathIterator.java,
4388 java/awt/geom/Point2D.java,
4389 java/awt/geom/QuadCurve2D.java,
4390 java/awt/geom/RectangularShape.java,
4391 java/awt/geom/RoundRectangle2D.java,
4392 java/awt/im/InputContext.java,
4393 java/awt/im/InputMethodHighlight.java,
4394 java/awt/im/InputMethodRequests.java,
4395 java/awt/im/InputSubset.java,
4396 java/awt/im/spi/InputMethod.java,
4397 java/awt/im/spi/InputMethodDescriptor.java,
4398 java/awt/image/BandCombineOp.java,
4399 java/awt/image/BandedSampleModel.java,
4400 java/awt/image/ByteLookupTable.java,
4401 java/awt/image/ComponentSampleModel.java,
4402 java/awt/image/DataBuffer.java,
4403 java/awt/image/DataBufferByte.java,
4404 java/awt/image/DataBufferDouble.java,
4405 java/awt/image/DataBufferFloat.java,
4406 java/awt/image/DataBufferInt.java,
4407 java/awt/image/DataBufferShort.java,
4408 java/awt/image/DataBufferUShort.java,
4409 java/awt/image/ImagingOpException.java,
4410 java/awt/image/Kernel.java,
4411 java/awt/image/LookupTable.java,
4412 java/awt/image/MultiPixelPackedSampleModel.java,
4413 java/awt/image/PackedColorModel.java,
4414 java/awt/image/PixelInterleavedSampleModel.java,
4415 java/awt/image/RGBImageFilter.java,
4416 java/awt/image/Raster.java,
4417 java/awt/image/RasterFormatException.java,
4418 java/awt/image/SampleModel.java,
4419 java/awt/image/ShortLookupTable.java,
4420 java/awt/image/SinglePixelPackedSampleModel.java,
4421 java/awt/image/WritableRaster.java,
4422 java/awt/print/PrinterAbortException.java,
4423 java/awt/print/PrinterException.java,
4424 java/awt/print/PrinterIOException.java,
4425 java/beans/AppletInitializer.java,
4426 java/beans/ExceptionListener.java,
4427 java/beans/PropertyChangeEvent.java,
4428 java/beans/PropertyChangeListenerProxy.java,
4429 java/beans/PropertyChangeSupport.java,
4430 java/beans/PropertyDescriptor.java,
4431 java/beans/VetoableChangeListenerProxy.java,
4432 java/beans/VetoableChangeSupport.java,
4433 java/io/BufferedReader.java,
4434 java/io/ByteArrayInputStream.java,
4435 java/io/ByteArrayOutputStream.java,
4436 java/io/CharArrayReader.java,
4437 java/io/CharArrayWriter.java,
4438 java/io/CharConversionException.java,
4439 java/io/DataInput.java,
4440 java/io/DataInputStream.java,
4441 java/io/DataOutput.java,
4442 java/io/DataOutputStream.java,
4443 java/io/EOFException.java,
4444 java/io/FileInputStream.java,
4445 java/io/FileNotFoundException.java,
4446 java/io/FileOutputStream.java,
4447 java/io/FilenameFilter.java,
4448 java/io/FilterInputStream.java,
4449 java/io/FilterOutputStream.java,
4450 java/io/FilterReader.java,
4451 java/io/FilterWriter.java,
4452 java/io/IOException.java,
4453 java/io/InputStream.java,
4454 java/io/InterruptedIOException.java,
4455 java/io/LineNumberInputStream.java,
4456 java/io/LineNumberReader.java,
4457 java/io/ObjectInputStream.java,
4458 java/io/ObjectStreamException.java,
4459 java/io/OptionalDataException.java,
4460 java/io/OutputStream.java,
4461 java/io/OutputStreamWriter.java,
4462 java/io/PrintStream.java,
4463 java/io/PrintWriter.java,
4464 java/io/PushbackInputStream.java,
4465 java/io/PushbackReader.java,
4466 java/io/RandomAccessFile.java,
4467 java/io/Reader.java,
4468 java/io/SequenceInputStream.java,
4469 java/io/Serializable.java,
4470 java/io/StreamCorruptedException.java,
4471 java/io/StreamTokenizer.java,
4472 java/io/StringBufferInputStream.java,
4473 java/io/StringWriter.java,
4474 java/io/SyncFailedException.java,
4475 java/io/UTFDataFormatException.java,
4476 java/io/UnsupportedEncodingException.java,
4477 java/io/WriteAbortedException.java,
4478 java/io/Writer.java,
4479 java/lang/AbstractMethodError.java,
4480 java/lang/ArithmeticException.java,
4481 java/lang/ArrayIndexOutOfBoundsException.java,
4482 java/lang/ArrayStoreException.java,
4483 java/lang/AssertionError.java,
4484 java/lang/Boolean.java,
4485 java/lang/Byte.java,
4486 java/lang/Class.java,
4487 java/lang/ClassCastException.java,
4488 java/lang/ClassCircularityError.java,
4489 java/lang/ClassLoader.java,
4490 java/lang/ClassNotFoundException.java,
4491 java/lang/CloneNotSupportedException.java,
4492 java/lang/Cloneable.java,
4493 java/lang/Comparable.java,
4494 java/lang/Compiler.java,
4495 java/lang/Double.java,
4496 java/lang/Error.java,
4497 java/lang/Exception.java,
4498 java/lang/ExceptionInInitializerError.java,
4499 java/lang/Float.java,
4500 java/lang/IllegalAccessError.java,
4501 java/lang/IllegalAccessException.java,
4502 java/lang/IllegalArgumentException.java,
4503 java/lang/IllegalMonitorStateException.java,
4504 java/lang/IllegalStateException.java,
4505 java/lang/IllegalThreadStateException.java,
4506 java/lang/IncompatibleClassChangeError.java,
4507 java/lang/IndexOutOfBoundsException.java,
4508 java/lang/InheritableThreadLocal.java,
4509 java/lang/InstantiationError.java,
4510 java/lang/InstantiationException.java,
4511 java/lang/Integer.java,
4512 java/lang/InternalError.java,
4513 java/lang/InterruptedException.java,
4514 java/lang/LinkageError.java,
4515 java/lang/Long.java,
4516 java/lang/NegativeArraySizeException.java,
4517 java/lang/NoClassDefFoundError.java,
4518 java/lang/NoSuchFieldError.java,
4519 java/lang/NoSuchFieldException.java,
4520 java/lang/NoSuchMethodError.java,
4521 java/lang/NoSuchMethodException.java,
4522 java/lang/NullPointerException.java,
4523 java/lang/Number.java,
4524 java/lang/NumberFormatException.java,
4525 java/lang/OutOfMemoryError.java,
4526 java/lang/Process.java,
4527 java/lang/Runnable.java,
4528 java/lang/Runtime.java,
4529 java/lang/RuntimeException.java,
4530 java/lang/RuntimePermission.java,
4531 java/lang/SecurityException.java,
4532 java/lang/SecurityManager.java,
4533 java/lang/Short.java,
4534 java/lang/StackOverflowError.java,
4535 java/lang/StackTraceElement.java,
4536 java/lang/StringBuffer.java,
4537 java/lang/StringIndexOutOfBoundsException.java,
4538 java/lang/ThreadDeath.java,
4539 java/lang/ThreadGroup.java,
4540 java/lang/Throwable.java,
4541 java/lang/UnsatisfiedLinkError.java,
4542 java/lang/UnsupportedOperationException.java,
4543 java/lang/VerifyError.java,
4544 java/lang/VirtualMachineError.java,
4545 java/lang/reflect/AccessibleObject.java,
4546 java/lang/reflect/Array.java,
4547 java/lang/reflect/InvocationTargetException.java,
4548 java/lang/reflect/Member.java,
4549 java/lang/reflect/Modifier.java,
4550 java/lang/reflect/Proxy.java,
4551 java/lang/reflect/ReflectPermission.java,
4552 java/lang/reflect/UndeclaredThrowableException.java,
4553 java/math/BigInteger.java,
4554 java/net/NetworkInterface.java,
4555 java/nio/ByteBufferHelper.java,
4556 java/nio/ByteBufferImpl.java,
4557 java/nio/DirectByteBufferImpl.java,
4558 java/nio/DoubleBufferImpl.java,
4559 java/nio/FloatBufferImpl.java,
4560 java/nio/IntBufferImpl.java,
4561 java/nio/LongBufferImpl.java,
4562 java/nio/ShortBufferImpl.java,
4563 java/nio/channels/Channel.java,
4564 java/nio/channels/IllegalBlockingModeException.java,
4565 java/nio/charset/spi/CharsetProvider.java,
4566 java/security/AccessControlException.java,
4567 java/security/BasicPermission.java,
4568 java/security/DigestException.java,
4569 java/security/DigestInputStream.java,
4570 java/security/DigestOutputStream.java,
4571 java/security/GeneralSecurityException.java,
4572 java/security/Guard.java,
4573 java/security/GuardedObject.java,
4574 java/security/InvalidAlgorithmParameterException.java,
4575 java/security/InvalidKeyException.java,
4576 java/security/InvalidParameterException.java,
4577 java/security/Key.java,
4578 java/security/KeyException.java,
4579 java/security/KeyManagementException.java,
4580 java/security/KeyStoreException.java,
4581 java/security/MessageDigestSpi.java,
4582 java/security/NoSuchAlgorithmException.java,
4583 java/security/NoSuchProviderException.java,
4584 java/security/Permission.java,
4585 java/security/PermissionCollection.java,
4586 java/security/Permissions.java,
4587 java/security/Principal.java,
4588 java/security/PrivateKey.java,
4589 java/security/PrivilegedActionException.java,
4590 java/security/ProviderException.java,
4591 java/security/PublicKey.java,
4592 java/security/SecureRandom.java,
4593 java/security/SecureRandomSpi.java,
4594 java/security/SignatureException.java,
4595 java/security/SignatureSpi.java,
4596 java/security/SignedObject.java,
4597 java/security/Signer.java,
4598 java/security/UnrecoverableKeyException.java,
4599 java/security/UnresolvedPermission.java,
4600 java/security/acl/AclNotFoundException.java,
4601 java/security/acl/LastOwnerException.java,
4602 java/security/acl/NotOwnerException.java,
4603 java/security/cert/CertPath.java,
4604 java/security/cert/CertPathBuilderException.java,
4605 java/security/cert/CertPathValidatorException.java,
4606 java/security/cert/CertStoreException.java,
4607 java/text/BreakIterator.java,
4608 java/text/ChoiceFormat.java,
4609 java/text/CollationElementIterator.java,
4610 java/text/CollationKey.java,
4611 java/text/Collator.java,
4612 java/text/DateFormat.java,
4613 java/text/DateFormatSymbols.java,
4614 java/text/DecimalFormat.java,
4615 java/text/DecimalFormatSymbols.java,
4616 java/text/FieldPosition.java,
4617 java/text/Format.java,
4618 java/text/NumberFormat.java,
4619 java/text/ParseException.java,
4620 java/text/ParsePosition.java,
4621 java/text/StringCharacterIterator.java,
4622 java/util/AbstractCollection.java,
4623 java/util/AbstractList.java,
4624 java/util/AbstractMap.java,
4625 java/util/AbstractSequentialList.java,
4626 java/util/AbstractSet.java,
4627 java/util/ArrayList.java,
4628 java/util/Arrays.java,
4629 java/util/BitSet.java,
4630 java/util/Collection.java,
4631 java/util/Collections.java,
4632 java/util/Comparator.java,
4633 java/util/ConcurrentModificationException.java,
4634 java/util/Currency.java,
4635 java/util/Date.java,
4636 java/util/EmptyStackException.java,
4637 java/util/Enumeration.java,
4638 java/util/EventListener.java,
4639 java/util/EventListenerProxy.java,
4640 java/util/EventObject.java,
4641 java/util/HashMap.java,
4642 java/util/HashSet.java,
4643 java/util/Hashtable.java,
4644 java/util/IdentityHashMap.java,
4645 java/util/Iterator.java,
4646 java/util/LinkedHashSet.java,
4647 java/util/LinkedList.java,
4648 java/util/List.java,
4649 java/util/ListIterator.java,
4650 java/util/ListResourceBundle.java,
4652 java/util/MissingResourceException.java,
4653 java/util/NoSuchElementException.java,
4654 java/util/Observable.java,
4655 java/util/Observer.java,
4656 java/util/Properties.java,
4657 java/util/PropertyPermissionCollection.java,
4658 java/util/RandomAccess.java,
4660 java/util/SortedMap.java,
4661 java/util/SortedSet.java,
4662 java/util/Stack.java,
4663 java/util/StringTokenizer.java,
4664 java/util/TooManyListenersException.java,
4665 java/util/TreeMap.java,
4666 java/util/TreeSet.java,
4667 java/util/Vector.java,
4668 java/util/logging/FileHandler.java,
4669 java/util/logging/Level.java,
4670 java/util/prefs/BackingStoreException.java,
4671 java/util/prefs/InvalidPreferencesFormatException.java,
4672 java/util/prefs/Preferences.java,
4673 javax/accessibility/Accessible.java,
4674 javax/accessibility/AccessibleAction.java,
4675 javax/accessibility/AccessibleBundle.java,
4676 javax/accessibility/AccessibleComponent.java,
4677 javax/accessibility/AccessibleContext.java,
4678 javax/accessibility/AccessibleEditableText.java,
4679 javax/accessibility/AccessibleExtendedComponent.java,
4680 javax/accessibility/AccessibleExtendedTable.java,
4681 javax/accessibility/AccessibleHyperlink.java,
4682 javax/accessibility/AccessibleHypertext.java,
4683 javax/accessibility/AccessibleIcon.java,
4684 javax/accessibility/AccessibleKeyBinding.java,
4685 javax/accessibility/AccessibleRelation.java,
4686 javax/accessibility/AccessibleRelationSet.java,
4687 javax/accessibility/AccessibleResourceBundle.java,
4688 javax/accessibility/AccessibleRole.java,
4689 javax/accessibility/AccessibleSelection.java,
4690 javax/accessibility/AccessibleState.java,
4691 javax/accessibility/AccessibleStateSet.java,
4692 javax/accessibility/AccessibleTable.java,
4693 javax/accessibility/AccessibleTableModelChange.java,
4694 javax/accessibility/AccessibleText.java,
4695 javax/accessibility/AccessibleValue.java,
4696 javax/imageio/IIOException.java,
4697 javax/imageio/ImageIO.java,
4698 javax/imageio/spi/IIOServiceProvider.java,
4699 javax/imageio/spi/ImageInputStreamSpi.java,
4700 javax/imageio/spi/ImageOutputStreamSpi.java,
4701 javax/imageio/spi/ImageReaderWriterSpi.java,
4702 javax/imageio/spi/ImageTranscoderSpi.java,
4703 javax/imageio/spi/RegisterableService.java,
4704 javax/imageio/spi/ServiceRegistry.java,
4705 javax/imageio/stream/IIOByteBuffer.java,
4706 javax/imageio/stream/ImageInputStream.java,
4707 javax/imageio/stream/ImageOutputStream.java,
4708 javax/naming/Binding.java,
4709 javax/naming/CannotProceedException.java,
4710 javax/naming/CompositeName.java,
4711 javax/naming/CompoundName.java,
4712 javax/naming/LinkException.java,
4713 javax/naming/LinkRef.java,
4714 javax/naming/NameClassPair.java,
4715 javax/naming/Reference.java,
4716 javax/naming/ReferralException.java,
4717 javax/naming/directory/Attribute.java,
4718 javax/naming/directory/AttributeModificationException.java,
4719 javax/naming/directory/Attributes.java,
4720 javax/naming/directory/DirContext.java,
4721 javax/naming/directory/ModificationItem.java,
4722 javax/naming/directory/SearchControls.java,
4723 javax/naming/directory/SearchResult.java,
4724 javax/naming/event/EventContext.java,
4725 javax/naming/event/EventDirContext.java,
4726 javax/naming/event/NamespaceChangeListener.java,
4727 javax/naming/event/NamingExceptionEvent.java,
4728 javax/naming/event/NamingListener.java,
4729 javax/naming/event/ObjectChangeListener.java,
4730 javax/naming/ldap/Control.java,
4731 javax/naming/ldap/ExtendedResponse.java,
4732 javax/naming/ldap/HasControls.java,
4733 javax/naming/ldap/LdapContext.java,
4734 javax/naming/ldap/UnsolicitedNotification.java,
4735 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4736 javax/naming/ldap/UnsolicitedNotificationListener.java,
4737 javax/naming/spi/DirectoryManager.java,
4738 javax/naming/spi/ResolveResult.java,
4739 javax/naming/spi/Resolver.java,
4740 javax/security/auth/callback/Callback.java,
4741 javax/security/auth/callback/CallbackHandler.java,
4742 javax/security/auth/callback/ChoiceCallback.java,
4743 javax/security/auth/callback/ConfirmationCallback.java,
4744 javax/security/auth/callback/LanguageCallback.java,
4745 javax/security/auth/callback/NameCallback.java,
4746 javax/security/auth/callback/PasswordCallback.java,
4747 javax/security/auth/callback/TextInputCallback.java,
4748 javax/security/auth/callback/TextOutputCallback.java,
4749 javax/security/auth/callback/UnsupportedCallbackException.java,
4750 javax/security/sasl/Sasl.java,
4751 javax/security/sasl/SaslServerFactory.java,
4752 javax/swing/DefaultBoundedRangeModel.java,
4753 javax/swing/JComponent.java,
4754 javax/swing/JList.java,
4755 javax/swing/JProgressBar.java,
4756 javax/swing/JRadioButton.java,
4757 javax/swing/JTextArea.java,
4758 javax/swing/JTextField.java,
4759 javax/swing/JToggleButton.java,
4760 javax/swing/JTree.java,
4761 javax/swing/SpinnerListModel.java,
4762 javax/swing/event/EventListenerList.java,
4763 javax/swing/text/JTextComponent.java,
4764 javax/swing/text/StringContent.java,
4765 javax/swing/text/Utilities.java,
4766 javax/swing/undo/UndoManager.java,
4767 javax/swing/undo/UndoableEditSupport.java,
4768 javax/transaction/HeuristicCommitException.java,
4769 javax/transaction/HeuristicMixedException.java,
4770 javax/transaction/HeuristicRollbackException.java,
4771 javax/transaction/InvalidTransactionException.java,
4772 javax/transaction/NotSupportedException.java,
4773 javax/transaction/RollbackException.java,
4774 javax/transaction/Status.java,
4775 javax/transaction/Synchronization.java,
4776 javax/transaction/SystemException.java,
4777 javax/transaction/Transaction.java,
4778 javax/transaction/TransactionManager.java,
4779 javax/transaction/TransactionRequiredException.java,
4780 javax/transaction/TransactionRolledbackException.java,
4781 javax/transaction/UserTransaction.java,
4782 javax/transaction/xa/XAException.java,
4783 javax/transaction/xa/XAResource.java,
4784 javax/transaction/xa/Xid.java,
4785 javax/xml/XMLConstants.java,
4786 javax/xml/datatype/DatatypeConfigurationException.java,
4787 javax/xml/datatype/DatatypeConstants.java,
4788 javax/xml/datatype/DatatypeFactory.java,
4789 javax/xml/datatype/Duration.java,
4790 javax/xml/datatype/XMLGregorianCalendar.java,
4791 javax/xml/namespace/NamespaceContext.java,
4792 javax/xml/namespace/QName.java,
4793 javax/xml/parsers/DocumentBuilder.java,
4794 javax/xml/parsers/DocumentBuilderFactory.java,
4795 javax/xml/parsers/FactoryConfigurationError.java,
4796 javax/xml/parsers/ParserConfigurationException.java,
4797 javax/xml/parsers/SAXParser.java,
4798 javax/xml/parsers/SAXParserFactory.java,
4799 javax/xml/transform/ErrorListener.java,
4800 javax/xml/transform/OutputKeys.java,
4801 javax/xml/transform/Result.java,
4802 javax/xml/transform/Source.java,
4803 javax/xml/transform/SourceLocator.java,
4804 javax/xml/transform/Templates.java,
4805 javax/xml/transform/Transformer.java,
4806 javax/xml/transform/TransformerConfigurationException.java,
4807 javax/xml/transform/TransformerException.java,
4808 javax/xml/transform/TransformerFactory.java,
4809 javax/xml/transform/TransformerFactoryConfigurationError.java,
4810 javax/xml/transform/URIResolver.java,
4811 javax/xml/transform/dom/DOMLocator.java,
4812 javax/xml/transform/dom/DOMResult.java,
4813 javax/xml/transform/dom/DOMSource.java,
4814 javax/xml/transform/sax/SAXResult.java,
4815 javax/xml/transform/sax/SAXSource.java,
4816 javax/xml/transform/sax/SAXTransformerFactory.java,
4817 javax/xml/transform/sax/TemplatesHandler.java,
4818 javax/xml/transform/sax/TransformerHandler.java,
4819 javax/xml/transform/stream/StreamResult.java,
4820 javax/xml/transform/stream/StreamSource.java,
4821 javax/xml/validation/Schema.java,
4822 javax/xml/validation/SchemaFactory.java,
4823 javax/xml/validation/TypeInfoProvider.java,
4824 javax/xml/validation/Validator.java,
4825 javax/xml/validation/ValidatorHandler.java,
4826 javax/xml/xpath/XPathConstants.java,
4827 javax/xml/xpath/XPathException.java,
4828 javax/xml/xpath/XPathExpression.java,
4829 javax/xml/xpath/XPathExpressionException.java,
4830 javax/xml/xpath/XPathFactory.java,
4831 javax/xml/xpath/XPathFactoryConfigurationException.java,
4832 javax/xml/xpath/XPathFunction.java,
4833 javax/xml/xpath/XPathFunctionException.java,
4834 javax/xml/xpath/XPathFunctionResolver.java:
4835 Fixed usage of @author tag, reworked import statements,
4836 removed CVS tags, changed the modifier order and fixed
4837 HTML usage in javadocs.
4839 2005-02-16 Julian Scheid <julian@sektor37.de>
4841 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4843 (encodeLoop): Likewise.
4845 2005-02-16 Mark Wielaard <mark@klomp.org>
4847 * Makefile.am (ordinary_java_source_files): Add new files
4848 gnu/java/security/ber/BER.java,
4849 gnu/java/security/ber/BEREncodingException.java,
4850 gnu/java/security/ber/BERReader.java,
4851 gnu/java/security/ber/BERValue.java,
4852 gnu/java/security/pkcs/PKCS7SignedData.java and
4853 gnu/java/security/pkcs/SignerInfo.java.
4854 * Makefile.in: Regenerated.
4856 2005-02-16 Casey Marshall <csm@gnu.org>
4858 * gnu/java/security/provider/GnuDSAPrivateKey.java
4859 (encodedKey): new field.
4860 (getFormat): return "PKCS#8".
4861 (getEncoded): implemented.
4862 (toString): check for 'null' values.
4863 * gnu/java/security/provider/GnuDSAPublicKey.java
4864 (encodedKey): new field.
4865 (getFormat): return "X.509".
4866 (getEncoded): implemented.
4867 (toString): check for 'null' values.
4869 2005-02-16 Michael Koch <konqueror@gmx.de>
4871 * java/util/jar/JarFile.java: Imports reworked.
4873 2005-02-16 Mark Wielaard <mark@klomp.org>
4875 * java/util/jar/JarFile.java (verify): Make package private.
4876 (signaturesRead): Likewise.
4877 (verified): Likewise.
4878 (entryCerts): Likewise.
4881 (entries): Construct new JarEnumeration with reference to this.
4882 (JarEnumeration): Make static.
4883 (JarEnumeration.jarfile): New field.
4884 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4885 Compare verified value to Boolean.TRUE or Boolean.False only
4886 when verify is true.
4887 (getEntry): Make synchronized. Compare value of verified to
4889 (getInputStream): Construct EntryInputStream with reference to this.
4890 (getManifest): Make synchronized.
4891 (EntryInputStream): Make static.
4892 (EntryInputStream.jarfile): New field.
4893 (EntryInputStream.EntryInputStream): Check if manifest exists,
4894 before getting attributes.
4895 (eof): Synchronize on jarfile.
4897 2005-02-16 Casey Marshall <csm@gnu.org>
4899 * java/util/jar/JarFile.java (verify): return if the jar is signed
4900 with an unsupported algorithm.
4902 2005-02-16 Mark Wielaard <mark@klomp.org>
4904 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4905 InputStream as argument.
4906 (getInputStream): Construct a new EntryInputStream with the result of
4907 super.getInputStream(entry).
4909 2005-02-16 Casey Marshall <csm@gnu.org>
4911 Signed JAR file support.
4912 * java/net/URLClassLoader.java
4913 (JarURLResource.getCertificates): re-read jar entry to ensure
4914 certificates are picked up.
4915 (findClass): fill in class `signers' field, too.
4916 * java/util/jar/JarFile.java (META_INF): new constant.
4917 (PKCS7_DSA_SUFFIX): new constant.
4918 (PKCS7_RSA_SUFFIX): new constant.
4919 (DIGEST_KEY_SUFFIX): new constant.
4920 (SF_SUFFIX): new constant.
4921 (MD2_OID): new constant.
4922 (MD4_OID): new constant.
4923 (MD5_OID): new constant.
4924 (SHA1_OID): new constant.
4925 (DSA_ENCRYPTION_OID): new constant.
4926 (RSA_ENCRYPTION_OID): new constant.
4927 (signaturesRead): new field.
4928 (verified): new field.
4929 (entryCerts): new field.
4930 (DEBUG): new constant.
4931 (debug): new method.
4932 (JarEnumeration.nextElement): fill in entry certificates, read
4933 signatures if they haven't been read.
4934 (getEntry): likewise.
4935 (getInputStream): verify stream if it hasn't been verified yet.
4936 (readSignatures): new method.
4937 (verify): new method.
4938 (verifyHashes): new method.
4939 (readManifestEntry): new method.
4940 (EntryInputStream): new class.
4941 * gnu/java/io/Base64InputStream.java (decode): new class
4943 * gnu/java/security/der/DERReader.java don't make class
4945 (in): made protected.
4947 (readLength): likewise.
4948 * gnu/java/security/ber/BER.java,
4949 * gnu/java/security/ber/BEREncodingException.java,
4950 * gnu/java/security/ber/BERReader.java,
4951 * gnu/java/security/ber/BERValue.java,
4952 * gnu/java/security/pkcs/PKCS7SignedData.java,
4953 * gnu/java/security/pkcs/SignerInfo.java:
4956 2005-02-16 Tom Tromey <tromey@redhat.com>
4958 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4959 copied file on exit.
4961 2005-02-15 Mark Wielaard <mark@klomp.org>
4963 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4965 2005-02-15 Michael Koch <konqueror@gmx.de>
4967 * gnu/java/awt/peer/gtk/GtkArg.java,
4968 gnu/java/awt/peer/gtk/GtkArgList.java:
4971 2005-02-15 Craig Black <craig.black@aonix.com>
4973 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4974 (postMenuActionEvent): Implement to notify ItemListeners.
4975 * java/awt/CheckboxMenuItem.java
4976 (dispatchEventImpl): Update state on ItemEvent.
4977 * java/awt/MenuItem.java
4978 (processActionEvent): Retarget event source.
4980 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4982 * gnu/java/awt/color/ClutProfileConverter.java,
4983 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4984 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4985 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4986 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4987 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4988 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4989 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4990 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4991 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4992 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4993 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4994 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4995 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4996 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4997 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4998 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4999 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5000 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5001 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5002 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5003 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5004 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5005 gnu/java/awt/peer/gtk/GtkToolkit.java,
5006 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5007 javax/swing/JPopupMenu.java,
5008 javax/swing/JSpinner.java,
5009 javax/swing/SortingFocusTraversalPolicy.java,
5010 javax/swing/SwingUtilities.java,
5011 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5012 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5013 javax/swing/tree/DefaultMutableTreeNode.java:
5014 Removed unused imports and expanded starred
5017 2005-02-15 Mark Wielaard <mark@klomp.org>
5019 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5020 IllegalArgumentException when the given String is null.
5022 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5023 when given keystoke sequence cannot be parsed.
5025 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5026 if one is installed. Only install the given menubar is not null.
5028 * javax/swing/JViewport.java (getViewSize): Return an empty
5029 Dimension when the view isn't set or preferred component size when
5032 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5033 empty Dimension when there is no view set.
5034 (minimumLayoutSize): Likewise.
5035 (layoutContainer): Don't try to layout when there is no view.
5037 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5040 * include/jawt.h: Likewise.
5041 * include/jawt_md.h: Likewise.
5042 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5044 * jni/classpath/classpath_jawt.h: Likewise.
5045 * jni/gtk-peer/gtk_jawt.c: Likewise.
5046 * Makefile.am: Build libjawt.so.
5048 2005-02-15 Michael Koch <konqueror@gmx.de>
5050 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5051 Merged file header with classpath CVS head.
5052 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5053 Merged code formatting with classpath CVS head.
5054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5056 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5057 Handle special JNI strings with 2 '\0' at the end.
5058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5059 Merged file header with classpath CVS head.
5060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5061 Merged code formatting with classpath CVS head.
5063 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5065 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5066 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5067 (handle_response): Use GTK_RESPONSE_ACCEPT.
5069 2005-02-15 Graydon Hoare <graydon@redhat.com>
5071 * Makefile.am: Fix library build breakage.
5072 * Makefile.in: Regenerate.
5074 2005-02-15 Michael Koch <konqueror@gmx.de>
5076 * javax/swing/JTabbedPane.java
5077 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5079 2005-02-15 Michael Koch <konqueror@gmx.de>
5081 * javax/swing/tree/DefaultMutableTreeNode.java:
5082 Reworked Javadocs all over.
5083 (getPathToRoot): Fixed direction of result array initialization.
5085 2005-02-15 Michael Koch <konqueror@gmx.de>
5087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5088 Fix includes for cairo 0.3.0 snappshot.
5089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5090 Merged file header from classpath CVS HEAD.
5092 2005-02-15 Craig Black <craig.black@aonix.com>
5094 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5095 (copyState): Pass a JNI global reference to signal handler.
5096 (realize_cb): Use and free JNI global reference.
5097 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5098 (create): Pass a JNI global reference to signal handler.
5099 (selection_changed): Match declaration.
5100 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5101 (dispose): Do not remove entries from state tables until after widget is
5104 2005-02-15 Michael Koch <konqueror@gmx.de>
5106 * java/awt/Container.javai (paramString):
5107 If layoutMgr is null just return result of super.paramString().
5108 * java/awt/Scrollbar.java: Reformatted.
5109 * java/awt/im/InputContext.java (static):
5110 Removed redundant initializations.
5112 2005-02-15 Michael Koch <konqueror@gmx.de>
5114 * javax/swing/ImageIcon.java,
5115 javax/swing/UIManager.java,
5116 javax/swing/text/EditorKit.java,
5117 javax/swing/text/Segment.java:
5118 More whitespace cleanups.
5120 2005-02-15 Michael Koch <konqueror@gmx.de>
5122 * gnu/java/awt/EmbeddedWindow.java,
5123 gnu/java/awt/image/ImageDecoder.java,
5124 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5125 java/awt/DefaultKeyboardFocusManager.java,
5126 java/awt/Frame.java,
5127 java/awt/image/RGBImageFilter.java,
5128 javax/swing/AbstractButton.java,
5129 javax/swing/ActionMap.java,
5130 javax/swing/ComponentInputMap.java,
5131 javax/swing/DefaultDesktopManager.java,
5132 javax/swing/ImageIcon.java,
5133 javax/swing/InputMap.java,
5134 javax/swing/JButton.java,
5135 javax/swing/JCheckBox.java,
5136 javax/swing/JCheckBoxMenuItem.java,
5137 javax/swing/JEditorPane.java,
5138 javax/swing/JMenu.java,
5139 javax/swing/JMenuItem.java,
5140 javax/swing/JOptionPane.java,
5141 javax/swing/JRootPane.java,
5142 javax/swing/JTable.java,
5143 javax/swing/MenuSelectionManager.java,
5144 javax/swing/RepaintManager.java,
5145 javax/swing/ScrollPaneLayout.java,
5146 javax/swing/SortingFocusTraversalPolicy.java,
5147 javax/swing/UIManager.java,
5148 javax/swing/ViewportLayout.java,
5149 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5150 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5151 javax/swing/plaf/basic/BasicLabelUI.java,
5152 javax/swing/plaf/basic/BasicListUI.java,
5153 javax/swing/plaf/basic/BasicMenuItemUI.java,
5154 javax/swing/plaf/basic/BasicMenuUI.java,
5155 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5156 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5157 javax/swing/plaf/basic/BasicRootPaneUI.java,
5158 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5159 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5160 javax/swing/plaf/basic/BasicTextUI.java,
5161 javax/swing/table/TableColumnModel.java,
5162 javax/swing/text/AbstractDocument.java,
5163 javax/swing/text/EditorKit.java,
5164 javax/swing/text/Position.java,
5165 javax/swing/text/Segment.java,
5166 javax/swing/text/StyledEditorKit.java,
5167 javax/swing/text/ViewFactory.java:
5168 Cleanup whitespace differences to classpath CVS HEAD.
5170 2005-02-15 Graydon Hoare <graydon@redhat.com>
5172 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5173 (finalize): Call finish from here.
5174 (produce): Not from here.
5175 * Makefile.am (gtk_c_source_files):
5176 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5177 * Makefile.in: Regenerate.
5178 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5180 (cairoDrawGdkTextLayout):
5182 (getPeerTextMetrics):
5183 (getPeerFontMetrics): Remove.
5184 (setFont): Don't call cairoSetFont.
5185 (cairoDrawGlyphVector): Accept font peer argument.
5186 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5187 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5188 (ensure_metrics_cairo):
5189 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5190 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5191 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5192 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5194 (metrics_surface): Remove.
5195 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5196 Pass and install font peer.
5198 2005-02-15 Graydon Hoare <graydon@redhat.com>
5200 * Makefile.am: Create "split library" structure.
5201 * Makefile.in: Regenerate.
5203 2005-02-15 Graydon Hoare <graydon@redhat.com>
5205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5209 Release GDK lock during upcalls.
5211 2005-02-15 Graydon Hoare <graydon@redhat.com>
5213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5214 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5215 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5216 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5217 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5218 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5219 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5222 (getTextMetrics): New native methods.
5223 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5224 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5225 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5226 * Makefile.in: Regenerate.
5228 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5230 * javax/swing/SwingUtilities.java:
5231 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5232 Implemented and documented.
5233 (getAccessibleChild(java.awt.Component, int)): Likewise.
5234 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5235 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5236 (getAccessibleStateSet(java.awt.Component)): Likewise.
5238 2005-02-15 Michael Koch <konqueror@gmx.de>
5240 * javax/swing/SwingUtilities.java
5241 (getFontMetrics): Removed.
5243 2005-02-15 Michael Koch <konqueror@gmx.de>
5245 * java/awt/Container.java
5246 (paramString): Implemented.
5247 * javax/swing/AbstractButton.java
5248 (paramString): Implemented.
5249 * javax/swing/JComponent.java
5250 (paramString): Implemented.
5251 * javax/swing/JMenu.java
5252 (paramString): Implemented.
5253 * javax/swing/JMenuBar.java
5254 (paramString): Implemented.
5255 * javax/swing/JMenuItem.java
5256 (paramString): Implemented.
5257 * javax/swing/JPopupMenu.java
5258 (paramString): Implemented.
5260 2005-02-15 Michael Koch <konqueror@gmx.de>
5262 * javax/swing/JMenu.java
5263 (uiClassID): Removed.
5264 (JMenu): Set invoker on popup menu.
5265 (getUIClassID): Return id directly.
5266 (getItemCount): Simply return getMenuComponentCount().
5268 (isTopLevelMenu): Simplified.
5269 * javax/swing/JMenuItem.java
5270 (uiClassID): Removed.
5271 (getUIClassID): Return id directly.
5272 * javax/swing/JPopupMenu.java
5273 (uiClassID): Removed.
5274 (JPopupMenu): Always initialize correctly.
5275 (getSubElements): Only return components implementing MenuElement
5277 (HeavyWeightPopup.hide): Removed.
5279 2005-02-15 Michael Koch <konqueror@gmx.de>
5281 * java/awt/image/ReplicateScaleFilter.java
5282 (replicatePixels): Made private.
5283 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5284 (DefaultRGBChooserPanel): Made package private.
5285 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5286 (RecentSwatchPanel): Likewise.
5287 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5288 (MouseInputAdapter): Made abstract.
5289 * javax/swing/tree/DefaultMutableTreeNode.java
5291 (growTree): Likewise.
5293 2005-02-15 Michael Koch <konqueror@gmx.de>
5295 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5298 2005-02-15 Michael Koch <konqueror@gmx.de>
5300 * javax/swing/JComponent.java (getComponentGraphics):
5301 Removed accidently commited code.
5303 2005-02-15 Graydon Hoare <graydon@redhat.com>
5305 * java/awt/dnd/DropTarget.java
5306 (addDropTargetListener): Despite documentation, do not throw.
5307 * javax/swing/JComponent.java: Set a default DropTarget.
5309 2005-02-15 Michael Koch <konqueror@gmx.de>
5311 * javax/swing/AbstractAction.java
5312 (ENABLED_PROPERTY): Removed.
5313 (setEnabled): Replaced constant with real string.
5314 * javax/swing/AbstractButton.java
5315 (createActionPropertyChangeListener.propertyChange): Likewise.
5316 * javax/swing/JComboBox.java
5317 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5318 (EDITABLE_CHANGED_PROPERTY): Removed.
5319 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5320 (ENABLED_CHANGED_PROPERTY):Likewise.
5321 (RENDERER_CHANGED_PROPERTY):Likewise.
5322 (EDITOR_CHANGED_PROPERTY):Likewise.
5323 (MODEL_CHANGED_PROPERTY):Likewise.
5324 (uiClassID):Likewise.
5325 (getUIClassID): Replaced constant with real string.
5326 (setModel):Likewise.
5327 (setEditable):Likewise.
5328 (setMaximumRowCount):Likewise.
5329 (setRenderer):Likewise.
5330 (setEditor):Likewise.
5331 (setEnabled):Likewise.
5332 * javax/swing/JLabel.java
5333 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5334 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5335 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5336 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5337 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5338 (ICON_CHANGED_PROPERTY): Likewise.
5339 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5340 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5341 (TEXT_CHANGED_PROPERTY): Likewise.
5342 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5343 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5344 (setText): Replaced constant with real string.
5345 (setIcon): Likewise.
5346 (setDisabledIcon): Likewise.
5347 (setDisplayedMnemonic): Likewise.
5348 (setIconTextGap): Likewise.
5349 (setVerticalAlignment): Likewise.
5350 (setHorizontalAlignment): Likewise.
5351 (setVerticalTextPosition): Likewise.
5352 (setHorizontalTextPosition): Likewise.
5353 (setLabelFor): Replaced constant with real string.
5354 Fire property change event after property got changed.
5355 * javax/swing/JList.java
5356 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5357 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5358 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5359 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5360 (MODEL_PROPERTY_CHANGED): Likewise.
5361 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5362 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5363 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5364 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5365 (setFixedCellWidth): Reimplemented.
5366 (setFixedCellHeight): Exit if new value is identical.
5367 Replaced constant with real string.
5368 (setSelectionBackground): Likewise.
5369 (setSelectionForeground): Likewise.
5370 (setPrototypeCellValue): Likewise.
5371 (setCellRenderer): Replaced constant with real string.
5372 (setModel): Likewise.
5373 (setSelectionModel): Likewise.
5374 * javax/swing/JMenuBar.java
5375 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5376 (MODEL_CHANGED_PROPERTY): Likewise.
5377 (MARGIN_CHANGED_PROPERTY): Likewise.
5378 (setBorderPainted): Reimplemented.
5379 (setMargin): Likewise.
5380 (setSelectionModel): Replaced constant with real string.
5381 * javax/swing/JPopupMenu.java
5382 (LABEL_CHANGED_PROPERTY): Removed.
5383 (VISIBLE_CHANGED_PROPERTY): Likewise.
5384 (borderPainted): Likewise.
5385 (setLabel): Replaced constant with real string.
5386 (setVisible): Exit if new value is identical.
5387 Replaced constant with real string.
5388 * javax/swing/JProgressBar.java
5389 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5390 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5391 (STRING_CHANGED_PROPERTY): Likewise.
5392 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5393 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5394 (setOrientation): Replaced constant with real string.
5395 (setStringPainted): Likewise.
5396 (setString): Likewise.
5397 (setBorderPainted): Likewise.
5398 (setIndeterminate): Likewise.
5399 * javax/swing/JScrollBar.java
5400 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5401 (MODEL_CHANGED_PROPERTY): Likewise.
5402 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5403 (setOrientation): Replaced constant with real string.
5404 (setModel): Likewise.
5405 (setUnitIncrement): Likewise.
5406 (setBlockIncrement): Likewise.
5407 * javax/swing/JScrollPane.java
5408 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5409 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5410 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5411 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5412 (LAYOUT_CHANGED_PROPERTY): Likewise.
5413 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5414 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5415 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5416 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5417 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5418 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5419 (setComponentOrientation): Replaced constant with real string.
5420 (setColumnHeader): Likewise.
5421 (setHorizontalScrollBar): Likewise.
5422 (setHorizontalScrollBarPolicy): Likewise.
5423 (setRowHeader): Likewise.
5424 (setVerticalScrollBar): Likewise.
5425 (setVerticalScrollBarPolicy): Likewise.
5426 (setWheelScrollingEnabled): Likewise.
5427 (setViewport): Likewise.
5428 (setViewportBorder): Likewise.
5429 * javax/swing/JSlider.java
5430 (INVERTED_CHANGED_PROPERTY): Removed.
5431 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5432 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5433 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5434 (MODEL_CHANGED_PROPERTY): Likewise.
5435 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5436 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5437 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5438 (setModel): Replaced constant with real string.
5439 (setOrientation): Likewise.
5440 (setLabelTable): Likewise.
5441 (setInverted): Likewise.
5442 (setMajorTickSpacing): Likewise.
5443 (setMinorTickSpacing): Likewise.
5444 (setPaintTicks): Likewise.
5445 (setPaintLabels): Likewise.
5446 * javax/swing/JTabbedPane.java
5447 (MODEL_CHANGED_PROPERTY): Removed.
5448 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5449 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5450 (setModel): Replaced constant with real string.
5451 (setTabPlacement): Likewise.
5452 (setTabLayoutPolicy): Likewise.
5453 * javax/swing/JToolBar.java
5454 (ORIENTATION_CHANGED_PROPERTY): Removed.
5455 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5456 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5457 (MARGIN_CHANGED_PROPERTY): Likewise.
5458 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5459 (setRollover): Replaced constant with real string.
5460 (setMargin): Likewise.
5461 (setBorderPainted): Likewise.
5462 (setFloatable): Likewise.
5463 (setOrientation): Likewise.
5464 * javax/swing/plaf/basic/BasicComboBoxUI.java
5465 (PropertyChangeHandler.propertyChange): Likewise.
5466 * javax/swing/plaf/basic/BasicComboPopup.java
5467 (PropertyChangeHandler.propertyChange): Likewise.
5468 * javax/swing/plaf/basic/BasicMenuBarUI.java
5469 (PropertyChangeHandler.propertyChange): Likewise.
5470 * javax/swing/plaf/basic/BasicProgressBarUI.java
5471 (PropertyChangeHandler.propertyChange): Likewise.
5472 * javax/swing/plaf/basic/BasicScrollBarUI.java
5473 (PropertyChangeHandler.propertyChange): Likewise.
5474 * javax/swing/plaf/basic/BasicSliderUI.java
5475 (PropertyChangeHandler.propertyChange): Likewise.
5476 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5477 (PropertyChangeHandler.propertyChange): Likewise.
5478 * javax/swing/plaf/basic/BasicToolBarUI.java
5479 (PropertyChangeHandler.propertyChange): Likewise.
5481 2005-02-15 Michael Koch <konqueror@gmx.de>
5483 * javax/swing/DefaultButtonModel.java
5484 (changeState): Made private.
5485 * javax/swing/DefaultDesktopManager.java
5486 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5487 * javax/swing/JLayeredPane.java
5488 (layerToRange): Made private.
5489 (incrLayer): Likewise.
5490 (decrLayer): Likewise.
5491 * javax/swing/JTable.java
5492 (dragEnabled): Likewise.
5493 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5494 * javax/swing/KeyStroke.java
5495 (Keystroke): Made private.
5496 * javax/swing/TransferHandler.java
5497 (COMMAND_COPY): Likewise.
5498 (COMMAND_CUT): Likewise.
5499 (COMMAND_PASTE): Likewise.
5501 2005-02-15 Michael Koch <konqueror@gmx.de>
5503 * javax/swing/JTextField.java
5504 (postActionEvent): Use text in field when actionCommand is null.
5505 (getActionCommand): Removed.
5507 2005-02-15 Michael Koch <konqueror@gmx.de>
5509 * javax/swing/AbstractSet.java: Removed.
5510 * Makefile.am: Removed javax/swing/AbstractSet.java.
5511 * Makefile.in: Regenerated.
5513 2005-02-15 Michael Koch <konqueror@gmx.de>
5515 * java/awt/Window.java
5516 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5517 * java/awt/dnd/DnDConstants.java
5518 (DnDConstants): New private constructor.
5520 2005-02-15 Michael Koch <konqueror@gmx.de>
5522 * javax/swing/DefaultCellRenderer.java: Removed.
5523 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5524 * Makefile.in: Regenerated.
5526 2005-02-15 Michael Koch <konqueror@gmx.de>
5528 * javax/swing/AbstractButton.java
5529 (fireItemStateChanged): Made protected.
5530 (fireActionPerformed): Likewise.
5531 (fireStateChanged): Likewise.
5532 * javax/swing/DefaultButtonModel.java
5533 (fireItemStateChanged): Likewise.
5534 (fireActionPerformed): Likewise.
5535 (fireStateChanged): Likewise.
5536 * javax/swing/JApplet.java
5538 (frameInit): Likewise.
5539 (setRootPane): Made protected.
5540 (createRootPane): Likewise.
5541 * javax/swing/JComponent.java
5542 (getClientProperty): Likewise.
5543 (putClientProperty): Likewise.
5544 * javax/swing/JEditorPane.java
5545 (getContentType): Likewise.
5546 (setContentType): Likewise.
5547 * javax/swing/JFrame.java
5548 (setRootPane): Likewise.
5549 (createRootPane): Likewise.
5550 * javax/swing/JInternalFrame.java
5551 (getFocusCycleRootAncestor): Made final. Added @since tag.
5552 (isFocusCycleRoot): Likewise.
5553 (getWarningString): Made final.
5554 * javax/swing/JScrollBar.java
5555 (changeListener): Removed.
5556 (changeEvent): Likewise.
5557 (createChangeListener): Likewise.
5558 (fireStateChanged): Likewise.
5559 (addChangeListener): Likewise.
5560 (removeChangeListener): Likewise.
5561 (getChangeListeners): Likewise.
5562 * javax/swing/JScrollPane.java
5563 (createViewport): Made protected.
5564 * javax/swing/JViewport.java
5565 (addImpl): Likewise.
5566 (setBorder): New method.
5567 * javax/swing/JWindow.java
5568 (setRootPane): Made protected.
5569 (createRootPane): Likewise.
5570 * javax/swing/plaf/basic/BasicButtonUI.java
5571 (installListeners): Likewise.
5572 (uninstallListeners): Likewise.
5573 * javax/swing/plaf/basic/BasicProgressBarUI.java
5574 (incrementAnimationIndex): Likewise.
5575 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5576 (createLayoutManager): Likewise.
5577 * javax/swing/table/DefaultTableCellRenderer.java
5578 (firePropertyChange): Likewise.
5579 * javax/swing/table/JTableHeader.java
5580 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5582 * javax/swing/text/PlainDocument.java
5583 (reindex): Made private.
5584 * javax/swing/text/PlainView.java
5585 (drawLine): Made protected.
5586 (getTabSize): Likewise.
5587 * javax/swing/text/View.java
5589 (preferenceChanged): New method.
5590 (getBreakWeight): Likewise.
5591 (breakView): Likewise.
5592 (getViewIndex): Likewise.
5594 2005-02-15 Michael Koch <konqueror@gmx.de>
5596 * javax/swing/JScrollPane.java
5597 (ScrollBar): Made class protected.
5598 * javax/swing/JSpinner.java
5599 (JSpinner): Added @since tag.
5600 (listenerList): Removed.
5601 * javax/swing/JTable.java
5602 (setValueAt): New method.
5603 (getColumn): Likewise.
5604 * javax/swing/JWindow.java
5605 (rootPaneCheckingEnabled): Renamed from checking.
5607 2005-02-15 Michael Koch <konqueror@gmx.de>
5609 * javax/swing/plaf/basic/BasicTextUI.java
5610 (RootView.modelToView): Made it public and return a java.awt.Shape.
5611 Handle null subview.
5612 (uninstall): Set textComponent to null when its not possible used
5614 * javax/swing/text/View.java
5615 (setParent): Use better argument name.
5616 (getContainer): Get parent via getParent().
5617 (getViewFactory): Likewise.
5618 (getAttributes): Get element via getElement().
5619 (getStartOffset): Likewise.
5620 (getEndOffset): Likewise.
5621 (getResizeWeight): New method.
5622 (getMaximumSpan): Likewise.
5623 (getMinimumSpan): Likewise.
5624 (setSize): Likewise.
5625 (getGraphics): Likewise.
5627 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5629 * java/awt/Checkbox.java:
5630 (AccessibleAWTCheckbox()): Added public constructor
5632 * java/awt/Choice.java:
5633 (AccessibleAWTChoice): Added class documentation.
5634 (AccessibleAWTChoice()): Added public constructor
5636 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5637 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5638 and changed role to COMBO_BOX.
5639 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5640 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5641 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5643 2005-02-15 Graydon Hoare <graydon@redhat.com>
5644 Michael Koch <konqueror@gmx.de>
5646 * javax/swing/LayoutFocusTraversalPolicy.java,
5647 javax/swing/SortingFocusTraversalPolicy.java:
5649 * Makefile.am: Added new classes.
5650 * Makefike.in: Regenerated.
5653 2005-02-15 Michael Koch <konqueror@gmx.de>
5655 * javax/swing/DebugGraphics.java: Mostly implemented.
5657 2005-02-15 Michael Koch <konqueror@gmx.de>
5659 * javax/swing/SwingUtilities.java
5660 (findFocusOwner): New method.
5662 2005-02-15 Michael Koch <konqueror@gmx.de>
5664 * javax/swing/text/DefaultEditorKit.java
5665 (read): Added '\n' after each line.
5666 * javax/swing/text/PlainView.java
5667 (modelToView): Update metrics.
5668 (drawLine): Use offsets from element.
5669 (paint): Update metrics. Draw all lines.
5671 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5673 * java/awt/Checkbox.java:
5674 (AccessibleAWTCheckbox): Added class documentation
5675 * java/awt/Scrollbar.java:
5676 (AccessibleAWTScrollBar): typo corrected and docs added
5677 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5678 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5679 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5680 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5681 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5682 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5683 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5684 (getAccessibleContext()): name of accessible class corrected
5686 2005-02-15 Mark Wielaard <mark@klomp.org>
5688 * java/awt/BasicStroke.java (hashCode): Implement.
5691 2005-02-15 Michael Koch <konqueror@gmx.de>
5693 * java/awt/print/PrinterJob.java
5694 (pageDialog): Throws java.awt.HeadlessException.
5695 (printDialog): Likewise.
5697 2005-02-15 Mark Wielaard <mark@klomp.org>
5699 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5701 2005-02-15 Michael Koch <konqueror@gmx.de>
5703 * javax/swing/JTable.java
5704 (getValueAt): New method.
5705 * javax/swing/table/JTableHeader.java
5706 (columnAtPoint): New method.
5708 2005-02-15 Michael Koch <konqueror@gmx.de>
5710 * javax/swing/JTextField.java
5711 (actions): New field.
5712 (static): Initalize actions field.
5713 (getActions): New method.
5715 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5717 * java/awt/Checkbox.java:
5718 (AccessibleAWTCheckbox): name capitalization corrected
5719 and serialization UID added.
5720 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5722 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5723 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5724 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5725 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5726 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5727 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5728 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5729 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5730 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5731 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5732 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5734 (getAccessibleContext()): name of accessible class corrected
5736 2005-02-15 Sven de Marothy <sven@physto.se>
5738 * java/awt/geom/doc-files/Area-1.png,
5739 java/awt/geom/doc-files/Ellipse-1.png,
5740 java/awt/geom/doc-files/GeneralPath-1.png:
5743 2005-02-15 Graydon Hoare <graydon@redhat.com>
5745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5746 Use union to avoid type-punning warning.
5748 2005-02-15 Michael Koch <konqueror@gmx.de>
5750 * javax/swing/DefaultListSelectionModel.java
5751 (clone): New method.
5753 2005-02-15 Mark Wielaard <mark@klomp.org>
5755 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5756 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5757 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5758 Correct method signature of gtkSetFilename.
5760 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5762 * javax/swing/text/StringContent.java: New file.
5764 2005-02-15 Michael Koch <konqueror@gmx.de>
5766 * Makefile.am: Added javax/swing/text/StringContent.java.
5767 * Makefile.in: Regenerated.
5769 2005-02-15 Michael Koch <konqueror@gmx.de>
5771 * gnu/java/awt/ClasspathToolkit.java:
5772 Import statements reworked.
5773 (imageCache): Made it of type java.util.HashMap.
5775 2005-02-15 Michael Koch <konqueror@gmx.de>
5777 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5778 Reworked import statements.
5780 2005-02-15 Graydon Hoare <graydon@redhat.com>
5782 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5784 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5788 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5789 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5792 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5793 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5795 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5796 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5798 Rewrite uses of extern variable to be function calls.
5799 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5800 function, from extern variable.
5801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5802 (gdk_env): Remove variable, add new function.
5803 (java_vm): Add new variable.
5804 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5805 java_vm rather than old gdk_env variable.
5807 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5809 * javax/swing/DefaultListModel.java
5810 (add): fire correct event,
5811 (addElement): corrected interval indices in event,
5812 (clear): corrected upper bound for interval, only fire event if
5814 (setSize): fire appropriate event.
5816 2005-02-15 Graydon Hoare <graydon@redhat.com>
5818 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5819 * gnu/awt/xlib/XToolkit.java: Likewise.
5820 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5821 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5822 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5823 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5824 * java/awt/EventQueue.java (getNextEvent):
5825 Adjust event loop to switch to native mode after 100ms.
5826 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5827 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5828 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5829 Wake up event thread.
5830 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5831 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5832 Adjust event loop to switch to java mode after 100ms.
5834 2005-02-15 Graydon Hoare <graydon@redhat.com>
5836 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5837 accidentally removed in last change.
5839 2005-02-15 Michael Koch <konqueror@gmx.de>
5841 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5842 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5844 2005-02-15 Graydon Hoare <graydon@redhat.com>
5846 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5847 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5848 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5849 * jni.cc: Reuse bottom frame between calls, avoid clearing
5850 frame when no local references are made.
5852 2005-02-15 Michael Koch <konqueror@gmx.de>
5854 * javax/swing/UIDefaults.java (UIDefaults):
5855 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5856 Fixed HTML entity and removed a redundant comma.
5858 2005-02-15 Michael Koch <konqueror@gmx.de>
5860 * javax/swing/text/DefaultEditorKit.java
5861 (deinstall): Removed.
5862 (install): Likewise.
5864 2005-02-15 Michael Koch <konqueror@gmx.de>
5866 * javax/swing/UIDefaults.java (put): Handle value of null.
5868 2005-02-15 Michael Koch <konqueror@gmx.de>
5870 * java/awt/Robot.java,
5871 java/awt/Scrollbar.java,
5872 java/awt/print/PrinterJob.java,
5873 javax/swing/JTable.java,
5874 javax/swing/text/AbstractDocument.java:
5875 Reworked import statements.
5877 2005-02-15 Michael Koch <konqueror@gmx.de>
5879 * javax/swing/JEditorPane.java
5880 (read): Implemented.
5882 * javax/swing/text/DefaultEditorKit.java
5883 (page): Renamed from page_url. Made private.
5884 (editorKit): Renamed from kit. Made private.
5886 (JEditorPane): All constructors reimplemented.
5887 (getContentType): Use content type from editor kit.
5888 (getEditorKit): Return editorKit.
5889 (getEditorKitForContentType):Likewise.
5890 (getPage): Return page.
5891 (setContentType): Reimplemented.
5892 (setEditorKit): Likewise.
5893 (setEditorKitForContentType): Removed wrong implementation.
5894 (setPage): Implemented.
5896 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5898 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5899 (nativeSetIconImageFromData): Re-add native implementation.
5901 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5903 * javax/swing/table/DefaultTableModel.java
5904 (DefaultTableModel()): Added Javadocs.
5905 (DefaultTableModel(int, int)): Fixed implementation.
5906 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5907 for negative rowCount.
5908 (DefaultTableModel(Object[], int)): Added Javadocs.
5909 (DefaultTableModel(Vector, Vector)): Likewise.
5910 (DefaultTableModel(Object[][], Object[])): Likewise.
5911 (getDataVector): Likewise.
5912 (setDataVector(Vector, Vector)): Likewise.
5913 (setDataVector(Object[][], Object[])): Likewise.
5914 (newDataAvailable): Likewise.
5915 (newRowsAdded): Likewise.
5916 (rowsRemoved): Likewise.
5917 (setColumnIdentifiers(Vector)): Allow for null argument.
5918 (setColumnIdentifiers(Object[])): Added Javadocs.
5919 (setNumRows): Likewise.
5920 (setRowCount): Adds new rows if necessary, and sends more specific
5922 (setColumnCount): Allow for null columnIdentifiers.
5923 (addColumn(Object)): Added Javadocs.
5924 (addColumn(Object, Vector)): Handle null columnData.
5925 (addColumn(Object, Object[])): Handle columnData with more or less
5926 entries than rows in the table.
5927 (addRow(Vector)): Fire appropriate event.
5928 (addRow(Object[])): Added Javadocs.
5929 (insertRow(int, Vector)): Fire appropriate event.
5930 (insertRow(int, Object[])): Added Javadocs.
5931 (moveRow): Reimplemented.
5932 (removeRow(int)): Fire appropriate event.
5933 (getColumnCount): Allow for null columnIdentifiers.
5934 (getColumnName): Now returns empty string when column index is too
5936 (isCellEditable): Added Javadocs.
5937 (getValueAt): Likewise.
5938 (setValueAt): Fire more specific event.
5939 (convertToVector): Added Javadocs.
5940 * javax/swing/table/TableModel.java
5943 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5945 * libgcj.spec.in (lib): Add -l-javax-imageio.
5947 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5949 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5950 references to event queue q with method call q().
5951 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5952 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5953 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5954 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5955 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5956 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5959 2005-02-15 Graydon Hoare <graydon@redhat.com>
5961 * gnu/java/awt/ClasspathToolkit.java
5962 (registerImageIOSpis): New method.
5963 * gnu/java/awt/image/ImageDecoder.java
5964 (imageDecoder): New constructor using InputStream
5965 (startProduction): Handle existing InputStream.
5966 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5967 (findSimpleIntegerArray): Make public and static.
5968 (updateBufferedImage): Set each pixel, in a loop.
5969 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5970 Implement ImageIO SPI classes.
5971 (createBufferedImage): Rewrite in terms of SPI classes.
5972 * gnu/java/awt/peer/gtk/GtkToolkit.java
5973 (registerImageIOSpis): New method.
5974 * java/lang/reflect/natMethod.cc
5975 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5976 which lets JNI call interface methods properly.
5977 * javax/imageio/ImageIO.java
5978 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5979 (WriterMIMETypeFilter.filter): Likewise.
5980 (ImageReaderIterator): Pass extension argument through to SPI.
5981 (getReadersByFilter): Likewise.
5982 (getWritersByFilter): Likewise.
5983 (getImageReadersByFormatName): Likewise.
5984 (getImageReadersByMIMEType): Likewise.
5985 (getImageReadersBySuffix): Likewise.
5986 (getImageWritersByFormatName): Likewise.
5987 (getImageWritersByMIMEType): Likewise.
5988 (getImageWritersBySuffix): Likewise.
5991 * javax/imageio/ImageReader.java
5992 (progressListeners): Initialize.
5993 (setInput): Implement.
5994 * javax/imageio/ImageWriter.java
5995 (progressListeners): Initialize.
5996 (warningListeners): Likewise.
5997 (warningLocales): Likewise.
5998 (setOutput): Test "isInstance" rather than class equality.
5999 * javax/imageio/spi/IIORegistry.java
6000 (static): Add reader and writer SPIs.
6001 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6002 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6003 (query_formats): New function.
6004 (save_to_stream): Likewise.
6005 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6007 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6009 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6011 (keyPress): Likewise.
6012 (keyRelease): Likewise.
6014 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6016 * javax/swing/JTable.java
6017 (columnAtPoint): New Method. Implemented.
6018 (rowAtPoint): Likewise.
6019 (countSelections): Fixed few small count errors.
6020 (getSelections): Likewise.
6021 (setSelectionMode): Set selection mode for column
6022 selection model in addition to row selection model.
6023 * javax/swing/plaf/basic/BasicTableUI.java:
6024 (getRowForPoint): Removed. Replaced by
6025 JTable.rowAtPoint().
6026 (getColForPoint): Removed. Replaced by
6027 JTable.columnAtPoint().
6028 (updateSelection): Updated to call JTable.columnAtPoint
6029 and JTable.rowAtPoint.
6030 * javax/swing/table/DefaultTableColumnModel.java:
6031 (getSelectedColumns): Implemented.
6032 (getSelectedColumnCount): Implemented.
6034 2005-02-15 Graydon Hoare <graydon@redhat.com>
6037 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6038 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6039 * Makefile.in: Regenerate.
6040 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6041 * gnu/awt/xlib/XFramePeer.java: Likewise.
6042 * gnu/awt/xlib/XToolkit.java: Likewise.
6043 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6044 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6045 * gnu/java/awt/ClasspathToolkit.java
6048 (iterateNativeQueue): New methods.
6049 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6050 * gnu/java/awt/peer/gtk/GtkToolkit.java
6051 (gtkInit): Absorb from defunct GtkMainThread class.
6052 (static): Run gtkInit in static startup block.
6053 (GtkToolkit): Remove construction of GtkMainThread and queue.
6054 (getSystemEventQueueImpl): Construct queue when requested.
6057 (iterateNativeQueue): New methods.
6058 * java/awt/Component.java (removeNotify): Remove race.
6059 * java/awt/EventDispatchThread.java
6060 (EventDispatchThread): Don't start on construction.
6061 (run): Remove isInterrupted check.
6062 * java/awt/EventQueue.java (shutdown): New flag.
6063 (isShutdown): New method checking J2SE shutdown condition.
6064 (setShutdown): New method.
6065 (getNextEvent): Restructure to use ClasspathToolkit.
6066 (postEvent): Activate new thread on posting, wake thread on
6067 post of possible shutdown condition event.
6068 * java/awt/Frame.java
6069 (Frame): Call noteFrame in all constructors.
6070 (fireDummyEvent): New helper method.
6071 (addNotify): Fire a dummy event to wake up queue.
6072 (removeNotify): Fire a dummy event to wake up queue.
6073 (noteFrame): New method.
6074 (weakFrames): New static field.
6075 (getFrames): Implement.
6076 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6078 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6079 Move everything from GtkMainThread into this file
6080 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6081 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6082 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6083 New functions to implement single-threaded queue semantics.
6085 2005-02-15 Michael Koch <konqueror@gmx.de>
6087 * javax/swing/plaf/metal/MetalLookAndFeel.java
6088 (getControlTextFont): New method.
6089 (getMenuTextFont): Likewise.
6090 (getSubTextFont): Likewise.
6091 (getSystemTextFont): Likewise.
6092 (getUserTextFont): Likewise.
6093 (getWindowTitleFont): Likewise.
6095 2005-02-15 Michael Koch <konqueror@gmx.de>
6097 * javax/swing/text/AbstractDocument.java
6098 (documentFilter): New field.
6099 (getDocumentFilter): New method.
6100 (setDocumentFilter): Likewise.
6103 2005-02-15 Michael Koch <konqueror@gmx.de>
6105 * javax/swing/JTree.java
6106 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6108 2005-02-15 Michael Koch <konqueror@gmx.de>
6110 * javax/swing/text/AbstractDocument.java
6111 (AbstractElement.getLength): Fixed off-by-one error.
6112 (AbstractElement.children): Made abstract.
6113 (AbstractElement.getAllowsChildren): Likewise.
6114 (AbstractElement.getElement): Likewise.
6115 (AbstractElement.dumpElement): New private method.
6116 (AbstractElement.dump): New method.
6117 (BranchElememt.getName): Fixed implementation.
6118 (BranchElememt.toString): Likewise.
6119 (BranchElememt.getElement): Fixed arguments.
6120 (LeafElement.getName): Fixed implementation.
6121 (LeafElement.toString): Likewise.
6122 * javax/swing/text/GapContent.java
6123 (GapContent): Put default content into buffer.
6124 * javax/swing/text/PlainDocument.java
6125 (reindex): Use empty attribute sets instead of null.
6126 (createDefaultRoot): Reimplemented.
6127 (insertUpdate): Call super method.
6128 (removeUpdate): Likewise.
6129 (getParagraphElement): Implemented.
6131 2005-02-15 Michael Koch <konqueror@gmx.de>
6133 * gnu/java/awt/ClasspathToolkit.java
6134 (createRobot): Throws java.awt.AWTException.
6135 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6136 Added '__attribute__((unused))' to all unused method arguments.
6138 2005-02-15 Michael Koch <konqueror@gmx.de>
6140 * javax/swing/DefaultBoundedRangeModel.java
6141 (fireValueChanged): Fixed off-by-one error.
6143 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6145 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6146 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6148 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6149 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6150 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6151 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6152 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6153 (getDefaultScreenDevice): Implement.
6154 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6155 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6156 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6157 * java/awt/Robot.java: Implement.
6158 * java/awt/peer/RobotPeer.java: Rename parameters.
6159 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6161 (awt_keycode_to_keysym): Make non-static.
6162 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6163 AWT_BUTTON3_MASK): Declare constants.
6164 (awt_keycode_to_keysym): Declare.
6166 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6167 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6168 and is non-empty pass its value to "make check".
6169 (test_mauve_sim): Likewise.
6171 2005-02-15 Michael Koch <konqueror@gmx.de>
6173 * javax/imageio/IIOParam.java
6174 (setSourceBands): New method.
6175 (setSourceSubsampling): Likewise.
6176 * javax/imageio/ImageReadParam.java
6177 (setDestination): Likewise.
6178 (setDestinationBands): Likewise.
6179 (setSourceProgressivePasses): Likewise.
6180 * javax/imageio/metadata/IIOInvalidTreeException.java
6181 (serialVersionUID): New static field.
6182 * javax/imageio/metadata/IIOMetadataNode.java
6183 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6184 (parent): Dont initailize with default value explicitely.
6186 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6187 (removeAttributeNode): Likewise.
6188 (removeAttributeNS): Likewise.
6189 (setAttribute): Likewise.
6190 (setAttributeNode): Likewise.
6191 (setAttributeNodeNS): Likewise.
6192 (setAttributeNS): Likewise.
6193 (appendChild): Likewise.
6194 (getNodeValue): Likewise.
6195 (insertBefore): Likewise.
6196 (removeChild): Likewise.
6197 (replaceChild): Likewise.
6198 (setPrefix): Likewise.
6200 2005-02-15 Michael Koch <konqueror@gmx.de>
6202 * javax/swing/LookAndFeel.java
6203 (getDesktopPropertyValue): New method.
6205 2005-02-15 Michael Koch <konqueror@gmx.de>
6207 * javax/swing/JTree.java
6208 (hasChildren): New instance field.
6210 2005-02-15 Michael Koch <konqueror@gmx.de>
6212 * javax/swing/JComponent.java
6213 (getToolTipText): New method.
6214 (getTitledBorderText): Likewise.
6215 (getAccessibleKeyBinding): Likewise.
6216 (getVerifyInputWhenFocusTarget): Likewise.
6217 (setVerifyInputWhenFocusTarget): Likewise.
6218 (verifyInputWhenFocusTarget): New instance field.
6220 2005-02-15 Michael Koch <konqueror@gmx.de>
6222 * javax/swing/DefaultListSelectionModel.java
6223 (fireValueChanged): New method.
6225 2005-02-15 Michael Koch <konqueror@gmx.de>
6227 * javax/swing/DefaultBoundedRangeModel.java:
6228 Fixed javadocs all over.
6229 (fireStateChanged): Simplified.
6230 * javax/swing/BoundedRangeModel.java:
6233 2005-02-15 Michael Koch <konqueror@gmx.de>
6235 * javax/swing/JRootPane.java
6236 (setMenuBar): Added @deprecated tag.
6237 (getMenuBar): Likewise.
6238 * javax/swing/JTable.java
6239 (sizeColumnsToFit): Likewise.
6241 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6243 * javax/swing/ImageIcon.java (setImage): Implemented.
6245 2005-02-15 Michael Koch <konqueror@gmx.de>
6247 * javax/swing/JTable.java:
6248 Removed unused imports.
6250 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6252 (prepareRenderer): Get column's index in dataModel instead
6253 of column's view index.
6254 (getColumnCount): return count of the columns in ColumnModel,
6256 (removeColumn): Implemented.
6257 (moveColumm): Likewise.
6258 (setRowHeight): throw IllegalArgumentException if height is
6260 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6261 (DefaultTableColumnModel):Add call to createSelectionModel().
6262 (addColumn): Fire columnAdded event to registered listeners.
6263 (removeColumn): Fire columnRemoved event to registered listeners.
6264 (moveColumn): Fire columnMoved event to registered listeners.
6265 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6266 (getColumnIndex): Changed parameter name.
6267 (setColumnSelectionAllowed): Likewise.
6268 (fireColumnAdded): Implemented.
6269 (fireColumnRemoved): Likewise.
6270 (fireColumnMoved): Likewise.
6271 (fireColumnMarginChanged): Likewise.
6272 (getListeners): Changed parameter name.
6273 (propertyChange): Implemented.
6274 (valueChanged): Changed parameter name.
6275 (createSelectionModel): Implemented.
6277 2005-02-15 Michael Koch <konqueror@gmx.de>
6279 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6280 Explicitely import used classes.
6281 (getLocalGraphicsEnvironment): Simplify.
6282 * java/awt/Window.java (Window):
6283 Enable code to get the default GraphicsConfiguration.
6285 2005-02-15 Michael Koch <konqueror@gmx.de>
6287 * javax/swing/plaf/metal/DefaultMetalTheme.java
6288 (CONTROL_TEXT_FONT): New static field.
6289 (MENU_TEXT_FONT): Likewise.
6290 (SUB_TEXT_FONT): Likewise.
6291 (SYSTEM_TEXT_FONT): Likewise.
6292 (USER_TEXT_FONT): Likewise.
6293 (WINDOW_TITLE_FONT): Likewise.
6294 (getControlTextFont): New method.
6295 (getMenuTextFont): Likewise.
6296 (getSubTextFont): Likewise.
6297 (getSystemTextFont): Likewise.
6298 (getUserTextFont): Likewise.
6299 (getWindowTitleFont): Likewise.
6300 * javax/swing/plaf/metal/MetalTheme.java
6301 (BLACK): Initialize with Color.BLACK.
6302 (WHITE): Initialize with Color.WHITE.
6303 (getInactiveControlTextColor): Return getControlDisabled().
6304 (getMenuDisabledForeground): Return getSecondary3().
6305 (getControlTextFont): New abstract method.
6306 (getMenuTextFont): Likewise.
6307 (getSubTextFont): Likewise.
6308 (getSystemTextFont): Likewise.
6309 (getUserTextFont): Likewise.
6310 (getWindowTitleFont): Likewise.
6312 2005-02-15 Michael Koch <konqueror@gmx.de>
6314 * javax/swing/JFormattedTextField.java
6315 (getFocusLostBehavior): Fixed typo in method name.
6316 (setFocusLostBehavior): Likewise.
6318 2005-02-15 Michael Koch <konqueror@gmx.de>
6320 * javax/swing/TransferHandler.java:
6321 Reworked import statements.
6323 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6325 * java/awt/Button.java,
6326 java/awt/Canvas.java,
6327 java/awt/Checkbox.java,
6328 java/awt/CheckboxMenuItem.java,
6329 java/awt/Choice.java,
6330 java/awt/Dialog.java,
6331 java/awt/Frame.java,
6332 java/awt/Label.java,
6335 java/awt/MenuBar.java,
6336 java/awt/MenuItem.java,
6337 java/awt/PopupMenu.java,
6338 java/awt/ScrollPane.java,
6339 java/awt/Scrollbar.java,
6340 java/awt/TextArea.java,
6341 java/awt/Window.java (getAccessibleContext): Clean up comments.
6343 * java/awt/Button.java,
6344 java/awt/Checkbox.java,
6345 java/awt/Choice.java,
6347 java/awt/PopupMenu.java,
6348 java/awt/TextArea.java (getAccessibleContext): Only create new
6350 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6352 2005-02-15 Michael Koch <konqueror@gmx.de>
6354 * java/awt/Button.java,
6355 javax/swing/JApplet.java,
6356 javax/swing/JFormattedTextField.java,
6357 javax/swing/JWindow.java,
6358 javax/swing/JTree.java,
6359 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6360 javax/swing/plaf/basic/BasicTextPaneUI.java,
6361 javax/swing/plaf/basic/BasicTreeUI.java:
6362 Reworked import statements.
6364 2005-02-15 Michael Koch <konqueror@gmx.de>
6366 * Makefile.am: Put javax.imageio into its own library and link it
6367 against lib-org-w3c-dom.la to fix bootstrapping.
6368 * Makefile.in: Regenerated.
6370 2005-02-15 Michael Koch <konqueror@gmx.de>
6372 * javax/swing/text/TextAction.java
6373 (getTextComponent): Simplified. Added Javadoc.
6374 (augmentList): Implemented. Added Javadoc.
6375 (getFocusedComponent): Added javadoc.
6377 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6379 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6380 getAccessibleContext): Implement.
6381 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6382 getAccessibleContext): Implement.
6384 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6386 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6388 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6390 * java/awt/Window.java (getAccessibleContext): Fix comment.
6391 Remove extra import.
6393 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6395 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6396 (isActive, isFocused, getAccessibleContext): Implement.
6398 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6400 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6401 * java/awt/MenuComponent.java (accessibleContext): Make package
6403 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6404 AccessibleAWTCheckboxMenuItem): Implement.
6406 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6408 * java/awt/List.java: Implement AccessibleAWTList,
6409 AccessibleAWTListChild.
6411 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6413 * java/awt/Choice.java: Add implements declaration for
6416 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6418 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6421 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6423 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6424 implemented interface list.
6426 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6428 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6429 * javax/imageio/metadata/IIOAttr.java: New class.
6430 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6431 * javax/imageio/metadata/IIONodeList.java: New class.
6432 * Makefile.am: Added new files.
6433 * Makefile.in: Regenerated.
6435 2005-02-15 Michael Koch <konqueror@gmx.de>
6437 * javax/swing/AbstractAction.java,
6438 javax/swing/AbstractCellEditor.java,
6439 javax/swing/AbstractListModel.java,
6440 javax/swing/DefaultBoundedRangeModel.java,
6441 javax/swing/DefaultButtonModel.java,
6442 javax/swing/DefaultCellEditor.java,
6443 javax/swing/DefaultComboBoxModel.java,
6444 javax/swing/DefaultDesktopManager.java,
6445 javax/swing/JMenu.java,
6446 javax/swing/JSlider.java,
6447 javax/swing/KeyStroke.java,
6448 javax/swing/OverlayLayout.java,
6449 javax/swing/ScrollPaneLayout.java,
6450 javax/swing/SizeRequirements.java,
6451 javax/swing/ViewportLayout.java:
6452 Made serialVersionUID private.
6454 2005-02-15 Michael Koch <konqueror@gmx.de>
6456 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6459 2005-02-15 Michael Koch <konqueror@gmx.de>
6461 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6463 2005-02-15 Michael Koch <konqueror@gmx.de>
6465 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6467 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6469 * java/awt/EventDispatchThread.java,
6470 java/awt/Toolkit.java:
6471 Don't catch java.lang.ThreadDeath.
6473 2005-02-15 Michael Koch <konqueror@gmx.de>
6475 * javax/swing/text/PasswordView.java
6476 (drawEchoCharacter): Added javadoc.
6477 (drawSelectedText): Likewise.
6478 (drawUnselectedText): Likewise.
6480 2005-02-15 Michael Koch <konqueror@gmx.de>
6482 * javax/swing/JRootPane.java
6483 (windowDecorationStyle): New field.
6484 (setMenuBar): New method.
6485 (getMenuBar): Likewise.
6486 (getWindowDecorationStyle): Likewise.
6487 (setWindowDecorationStyle): Likewise.
6489 2005-02-15 Michael Koch <konqueror@gmx.de>
6491 * javax/swing/DefaultListSelectionModel.java
6492 (leadAnchorNotificationEnabled): Made protected.
6494 2005-02-15 Michael Koch <konqueror@gmx.de>
6496 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6497 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6498 * Makefile.in: Regenerated.
6501 2005-02-15 Michael Koch <konqueror@gmx.de>
6503 * javax/swing/JFormattedTextField.java: Implemented.
6504 * javax/swing/JWindow.java
6505 (JWindow): New constructors.
6506 (initWindow): Renamed from initFrame.
6507 * javax/swing/UIDefaults.java
6508 (ActiveValue): Made interface static.
6509 (LazyValue): Likewise.
6510 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6511 (TitlePaneLayout.TitlePaneLayout): New constructor.
6512 * javax/swing/plaf/basic/BasicSliderUI.java
6513 (ChangeHandler): Made public.
6514 (FocusHandler): Likewise.
6515 (PropertyChangeHandler): Likewise.
6516 (ScrollListener): Likewise.
6517 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6518 (FocusHandler): Likewise.
6519 (MouseHandler): Likewise.
6520 * javax/swing/plaf/basic/BasicTextPaneUI.java
6521 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6522 * javax/swing/plaf/basic/BasicToolBarUI.java
6523 (BasicToolBarUI): Simplified. Reworked javadoc.
6524 (canDock): Simplified. Make public.
6525 (DockingListener): Made public.
6526 * javax/swing/text/JTextComponent.java
6527 (navigationFilter): New field.
6528 (getNavigationFilter): New method.
6529 (setNavigationFilter): Likewise.
6531 2005-02-15 Michael Koch <konqueror@gmx.de>
6533 * javax/swing/plaf/metal/MetalTheme.java
6534 (getControlTextColor): Return getControlInfo().
6535 (getHighlightedTextColor): Return getControlTextColor().
6537 2005-02-15 Michael Koch <konqueror@gmx.de>
6539 * javax/swing/plaf/basic/BasicButtonListener.java
6540 (BasicButtonListener): New constructor.
6541 * javax/swing/plaf/basic/BasicButtonUI.java
6542 (createButtonListener): Usw new BasicButtonListener constructor.
6544 2005-02-15 Michael Koch <konqueror@gmx.de>
6546 * javax/imageio/event/package.html,
6547 javax/imageio/metadata/package.html: New files.
6549 2005-02-15 Michael Koch <konqueror@gmx.de>
6551 * java/awt/image/MemoryImageSource.java: Reformatted.
6553 2005-02-15 Michael Koch <konqueror@gmx.de>
6555 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6557 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6559 * java/awt/color/ICC_Profile.java
6560 (finalize): Removed pointless field assignments.
6562 2005-02-15 Michael Koch <konqueror@gmx.de>
6564 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6565 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6566 * Makefile.in: Regenerated.
6568 2005-02-15 Michael Koch <konqueror@gmx.de>
6570 * javax/swing/text/DefaultStyledDocument.java: New file.
6571 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6572 * Makefile.in: Regenerated.
6574 2005-02-15 Michael Koch <konqueror@gmx.de>
6576 * javax/swing/JFileChooser.java
6577 (showDialog): Return CANCEL_OPTION for now.
6578 (showOpenDialog): Likewise.
6579 (showSaveDialog): Likewise.
6581 2005-02-15 Michael Koch <konqueror@gmx.de>
6583 * javax/swing/JApplet.java
6584 (HIDE_ON_CLOSE): Removed.
6585 (EXIT_ON_CLOSE): Likewise.
6586 (DISPOSE_ON_CLOSE): Likewise.
6587 (DO_NOTHING_ON_CLOSE): Likewise.
6588 (close_action): Likewise.
6589 (getDefaultCloseOperation): Likewise.
6590 (setDefaultCloseOperation): Likewise.
6591 (processWindowEvent): Likewise.
6592 (getPreferredSize): Simplified.
6593 * javax/swing/JInternalFrame.java
6594 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6596 * javax/swing/JWindow.java
6597 (HIDE_ON_CLOSE): Removed.
6598 (EXIT_ON_CLOSE): Likewise.
6599 (DISPOSE_ON_CLOSE): Likewise.
6600 (DO_NOTHING_ON_CLOSE): Likewise.
6601 (close_action): Likewise.
6602 (processKeyEvent): Likewise.
6603 (setDefaultCloseOperation): Likewise.
6604 (getPreferredSize): Simplified.
6606 2005-02-15 Michael Koch <konqueror@gmx.de>
6608 * javax/swing/JTextField.java
6609 (getPreferredSize): Re-implemented.
6611 2005-02-15 Michael Koch <konqueror@gmx.de>
6613 * javax/swing/JLabel.java
6614 (setDisplayedMnemonic): Use only upper case characters.
6615 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6616 PropertyChangeEvent after property got set to the new index.
6618 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6620 * javax/swing/JComboBox.java:
6621 (JComboBox): Removed selection of the
6622 first item in the model.
6624 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6626 * javax/swing/JComboBox.java
6627 added support for no item being selected
6628 (JComboBox): select first or nothing depending on element count
6629 (setModel): cleaned up unneeded "this." usage, added more
6630 docs, made exception behavior match that of the JDK
6631 (setLighWeightPopupEnabled): removed unneeded "this." usage
6633 (setMaximumRowCount): dito
6635 (setPrototypeDisplayValue): dito
6636 (getSelectedItem): simplified, added more user doc
6637 (setSelectedIndex): corrected exception behavior, added more user doc
6638 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6639 added performance warning to user doc
6640 (addItem): fixed exception behavior, added user doc
6641 (insertItemAt): dito
6643 (removeItemAt): dito
6644 (removeAll): fixed exception behavior, added user doc, added support
6645 for model not being instance of DefaultComboBoxModel
6646 (getSelectedItemObjects): simplified
6647 (getItemCount): fixed dependency on DefaultComboBoxModel
6648 (getItemAt): fixed dependency on MutableComboBoxModel
6649 * javax/swing/DefaultComboBoxModel.java:
6650 (setSelectedItem): updates selected item only if new
6651 value is null or known (match JDK behavior)
6652 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6653 (paintCurrentValue): renders "" if no item is selected
6655 2005-02-15 Michael Koch <konqueror@gmx.de>
6657 * javax/swing/plaf/metal/MetalTheme.java,
6658 javax/swing/plaf/metal/DefaultMetalTheme.java:
6660 * javax/swing/plaf/metal/MetalLookAndFeel.java
6661 * Makefile.am: Added the new files.
6662 * Makefile.in: Regenerated.
6664 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6666 * javax/swing/JTable.java
6667 (editorComp): New field.
6668 (JTable): Initialize local variables and call updateUI
6669 (selectionBackground): Make protected.
6670 (selectionForeground): Likewise.
6671 (initializeLocalVars): Create default editors and renderers,
6672 initialize editingColumn, editingRow variables.
6673 (createDefaultEditors): New Method.
6674 (createDefaultRenderers): Likewise.
6675 (createDefaultListSelectionModel): Removed
6676 (createDefaultSelectionModel): New Method.
6677 (createDefaultTableHeader): Likewise
6678 (removeColumn): Likewise.
6679 (getEditingColumn): Likewise.
6680 (setEditingColumn): Likewise.
6681 (getEditingRow): Likewise.
6682 (setEditingRow): Likewise.
6683 (getEditorComponent): Likewise.
6684 (isEditing): Likewise.
6685 (setDefaultEditor): Likewise.
6686 (addColumnSelectionInterval): Likewise.
6687 (addRowSelectionInterval): Likewise.
6688 (setColumnSelectionInterval): Likewise.
6689 (setRowSelectionInterval): Likewise.
6690 (removeColumnSelectionInterval): Likewise.
6691 (removeRowSelectionInterval): Likewise.
6692 (isColumnSelected): Likewise.
6693 (isRowSelected): Likewise.
6694 (isCellSelected): Likewise.
6695 (selectAll): Likewise.
6697 2005-02-15 Michael Koch <konqueror@gmx.de>
6699 * javax/swing/JTable.java
6700 (addColumn): New method.
6701 (getColumnClass): Likewise.
6702 (getColumnName): Likewise.
6704 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6706 * javax/swing/TransferHandler.java
6707 (createTransferable): Made protected.
6709 2005-02-15 Michael Koch <konqueror@gmx.de>
6711 * javax/swing/JTable.java,
6712 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6713 javax/swing/plaf/basic/BasicTableUI.java:
6714 Use fixed get/setIntercellSpacing() methods.
6716 2005-02-15 Michael Koch <konqueror@gmx.de>
6718 * javax/swing/JTable.java
6719 (getIntercellSpacing): Fixed typo in method name.
6720 (setIntercellSpacing): Likewise.
6722 2005-02-15 Michael Koch <konqueror@gmx.de>
6724 * javax/swing/text/JTextComponent.java
6725 (focusAccelerator): New variable.
6726 (getFocusAccelerator): New method.
6727 (setFocusAccelerator): Likewise.
6729 2005-02-15 Michael Koch <konqueror@gmx.de>
6731 * javax/swing/JComponent.java
6732 (setTransferHandler): Made public. Fire property change event.
6733 * javax/swing/TransferHandler.java: Implemented.
6734 * javax/swing/text/JTextComponent.java
6735 (DefaultTransferHandler): New inner class.
6736 (defaultTransferHandler): New variable.
6740 (doTransferAction): Likewise.
6742 2005-02-15 Michael Koch <konqueror@gmx.de>
6744 * javax/swing/JTree.java
6745 (collapsePath): New method.
6746 (collapseRow): Likewise.
6747 (expandPath): Likewise.
6748 (expandRow): Likewise.
6749 (checkExpandParents): Likewise.
6750 (doExpandParents): Likewise.
6751 (setExpandedState): Likewise.
6752 (makeVisible): Likewise.
6754 2005-02-15 Michael Koch <konqueror@gmx.de>
6756 * javax/swing/JPasswordField.java: Updated javadocs.
6758 2005-02-15 Michael Koch <konqueror@gmx.de>
6760 * javax/swing/JLayeredPane.java
6761 (getLayer): Fixed return type, made public.
6762 (getPosition): Use new getLayer().
6763 (SetPosition): Likewise.
6764 (getIndexOf): Likewise.
6766 * javax/swing/JInternalFrame.java
6767 (getLayer): Use new JLayeredPane.getLayer().
6770 2005-02-15 Michael Koch <konqueror@gmx.de>
6772 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6773 (setHeaderValue): Simplified. Do nothing when old value == new value.
6775 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6777 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6778 against null clip region.
6779 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6780 gtkWindowSetResizable.
6781 (postConfigureEvent): Only revalidate if frame size has changed.
6782 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6783 Only revalidate if frame size has changed.
6784 * java/awt/Component.java (reshape): Only repaint and post
6785 component events if component is showing.
6786 * java/awt/Container.java (addImpl): Only post container event if
6787 container is showing.
6789 * java/awt/Window.java (setLocationRelativeTo): Implement.
6790 (setBoundsCallback): Only post component events if component is
6792 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6793 Protect against null graphics structure. Flush gdk event queue.
6795 2005-02-15 Michael Koch <konqueror@gmx.de>
6797 * javax/imageio/ImageReader.java,
6798 javax/imageio/ImageTranscoder.java,
6799 javax/imageio/ImageWriter.java,
6800 javax/imageio/spi/ImageInputStreamSpi.java,
6801 javax/imageio/spi/ImageOutputStreamSpi.java,
6802 javax/imageio/spi/ServiceRegistry.java,
6803 javax/imageio/stream/ImageInputStream.java,
6804 javax/imageio/stream/ImageOutputStream.java: Updated.
6805 * javax/imageio/IIOException.java,
6806 javax/imageio/IIOImage.java,
6807 javax/imageio/IIOParam.java,
6808 javax/imageio/IIOParamController.java,
6809 javax/imageio/ImageIO.java,
6810 javax/imageio/ImageReadParam.java,
6811 javax/imageio/ImageTypeSpecifier.java,
6812 javax/imageio/ImageWriteParam.java,
6813 javax/imageio/spi/IIORegistry.java,
6814 javax/imageio/spi/ImageReaderSpi.java,
6815 javax/imageio/spi/ImageWriterSpi.java,
6816 javax/imageio/stream/FileCacheImageInputStream.java,
6817 javax/imageio/stream/FileCacheImageOutputStream.java,
6818 javax/imageio/stream/FileImageInputStream.java,
6819 javax/imageio/stream/FileImageOutputStream.java,
6820 javax/imageio/stream/ImageInputStreamImpl.java,
6821 javax/imageio/stream/ImageOutputStreamImpl.java,
6822 javax/imageio/stream/MemoryCacheImageInputStream.java,
6823 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6824 javax/imageio/event/IIOReadProgressListener.java,
6825 javax/imageio/event/IIOReadUpdateListener.java,
6826 javax/imageio/event/IIOReadWarningListener.java,
6827 javax/imageio/event/IIOWriteProgressListener.java,
6828 javax/imageio/event/IIOWriteWarningListener.java,
6829 javax/imageio/metadata/IIOMetadata.java,
6830 javax/imageio/metadata/IIOMetadataController.java,
6831 javax/imageio/metadata/IIOMetadataFormat.java,
6832 javax/imageio/metadata/IIOInvalidTreeException.java,
6833 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6834 javax/imageio/metadata/IIOMetadataNode.java: New files.
6835 * Makefile.am (javax_source_files): Added new files
6836 * Makefile.in: Regenerated.
6838 2005-02-15 Graydon Hoare <graydon@redhat.com>
6840 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6841 Rework painting into BufferedImages
6842 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6843 Construct BufferedImage with alpha only when alpha is
6844 present in colormodel.
6845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6846 Rework painting into client-side jint arrays.
6847 * jni/gtk-peer/gtkcairopeer.h:
6850 2005-02-15 Michael Koch <konqueror@gmx.de>
6852 * javax/swing/DefaultListCellRenderer.java
6853 (serialVersionUID): Made private.
6854 (getListCellRendererComponent): Set horizontal alignment.
6855 * javax/swing/JLabel.java
6856 (setVerticalAlignment): Re-implemented.
6857 (setHorizontalAlignment): Do nothing if old value = new value.
6858 * javax/swing/JList.java
6859 (setCellRenderer): Likewise.
6860 (setModel): Re-implemented.
6861 (setSelectionModel): Likewise.
6863 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6865 * java/awt/Component.java,
6866 java/awt/geom/Rectangle2D.java:
6869 2005-02-15 Michael Koch <konqueror@gmx.de>
6871 * javax/swing/AbstractListModel.java
6872 (fireContentsChanged): Simplified.
6873 (fireIntervalAdded): Likewise.
6874 (fireIntervalRemoved): Likewise.
6875 * javax/swing/DefaultSingleSelectionModel.java:
6877 (fireStateChanged): Simplified.
6878 * javax/swing/JPopupMenu.java
6879 (setSelectionModel): Set property.
6881 2005-02-15 Michael Koch <konqueror@gmx.de>
6883 * java/awt/print/Book.java: Reformatted.
6885 2005-02-15 Michael Koch <konqueror@gmx.de>
6887 * java/awt/geom/Area.java
6888 (QuadSegment.curveArea): Remove unused variables.
6889 (CubicSegment.curveArea): Likewise.
6891 2005-02-15 Michael Koch <konqueror@gmx.de>
6893 * javax/swing/JTree.java
6894 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6895 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6896 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6897 (EXPANDED): New constant.
6898 (COLLAPSED): Likewise.
6899 (nodeStates): New field.
6900 (cellEditor): New method.
6901 (cellRenderer): Likewise.
6902 (selectionModel): Likewise.
6903 (treeModel): Likewise.
6904 (scrollPathToVisible): Likewise.
6905 (scrollRowToVisible): Likewise.
6906 (isCollapsed): Likewise.
6907 (isExpanded): Likewise.
6908 (clearToggledPaths): Likewise.
6909 (getDescendantToggledPaths): Likewise.
6910 (hasBeenExpanded): Likewise.
6911 (isVisible): Likewise.
6912 (isPathEditable): Likewise.
6914 2005-02-15 Michael Koch <konqueror@gmx.de>
6916 * javax/swing/JLayeredPane.java: Reformatted.
6918 2005-02-15 Michael Koch <konqueror@gmx.de>
6920 * javax/swing/tree/DefaultMutableTreeNode.java:
6922 * javax/swing/tree/MutableTreeNode.java:
6925 2005-02-15 Michael Koch <konqueror@gmx.de>
6927 * javax/swing/JFormattedTextField.java
6928 (setDocument): Call setDocument of super class. Don't fire property
6931 2005-02-15 Sven de Marothy <sven@physto.se>
6933 * java/awt/image/IndexColorModel.java:
6934 Add FIXME with respect to alpha handling.
6935 (getAlpha): Default to returning opaque pixels.
6936 * java/awt/image/MultiPixelPackedSampleModel.java
6937 (MultiPixelPackedSampleModel): Corrected parameters, order of
6938 bit shifts and masks, stride length off by one.
6940 2005-02-15 Michael Koch <konqueror@gmx.de>
6942 * javax/swing/JList.java, javax/swing/JTree.java:
6943 Added much new methods and fixed much methods setting bound properties.
6945 2005-02-16 Mark Wielaard <mark@klomp.org>
6947 * Makefile.am (gnu_xml_source_files): Removed
6948 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6949 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6950 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6951 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6952 gnu/xml/dom/DomDocumentFragment.java,
6953 gnu/xml/dom/DomProcessingInstruction.java and
6954 gnu/xml/dom/ls/DomLSException.java.
6955 * Makefile.in: Regenerated.
6957 2005-02-16 Tom Tromey <tromey@redhat.com>
6959 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6960 attribute index is out of bounds.
6962 2005-02-16 Chris Burdess <dog@gnu.org>
6964 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6965 isDeclared methods. Improved performance of isSpecified methods.
6967 2005-02-16 Chris Burdess <dog@gnu.org>
6969 Fixes bug libgcj/19864
6970 * gnu/xml/dom/DomAttr.java,
6971 gnu/xml/dom/DomCDATA.java,
6972 gnu/xml/dom/DomCDATASection.java,
6973 gnu/xml/dom/DomCharacterData.java,
6974 gnu/xml/dom/DomDOMException.java,
6975 gnu/xml/dom/DomDoctype.java,
6976 gnu/xml/dom/DomDocument.java,
6977 gnu/xml/dom/DomDocumentConfiguration.java,
6978 gnu/xml/dom/DomDocumentFragment.java,
6979 gnu/xml/dom/DomElement.java,
6980 gnu/xml/dom/DomEx.java,
6981 gnu/xml/dom/DomFragment.java,
6982 gnu/xml/dom/DomImpl.java,
6983 gnu/xml/dom/DomIterator.java,
6984 gnu/xml/dom/DomNamedNodeMap.java,
6985 gnu/xml/dom/DomNode.java,
6986 gnu/xml/dom/DomNsNode.java,
6987 gnu/xml/dom/DomPI.java,
6988 gnu/xml/dom/DomProcessingInstruction.java,
6989 gnu/xml/dom/DomText.java,
6990 gnu/xml/dom/DomLSEx.java,
6991 gnu/xml/dom/DomLSException.java,
6992 gnu/xml/dom/DomLSParser.java,
6993 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6994 implementation class names to conform to Classpath guidelines. Make
6995 DomLSException use JDK 1.4+ exception chaining.
6996 * gnu/xml/util/SAXNullTransformerFactory.java,
6997 gnu/xml/xpath/Predicate.java: Use constants relative to
6998 declaring class or interface.
7000 2005-02-16 Andrew Haley <aph@redhat.com>
7002 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7003 null, create a new AccessControlContext.
7004 * java/security/SecureClassLoader.java (protectionDomainCache):
7006 (defineClass): Create a new protection domain and add it to our
7009 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7010 addStub() to keep track of the stub we've exported.
7011 (unexportObject): Call deleteStub().
7012 * java/rmi/server/RemoteObject.java (stubs): New field.
7013 (addStub): New method.
7014 (deleteStub): New method.
7017 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7018 true to findHelper (tryParents).
7019 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7021 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7022 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7024 If tryParents is false, don't scan parent class loaders.
7026 * java/security/Permissions.java (PermissionsHash.implies):
7027 Iterate over the collection and invoke implies() on each
7030 2005-02-16 Andrew Haley <aph@redhat.com>
7032 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7034 (PersistentByteMap): Set name
7035 Magic number changed to 0x67636a64 ("gcjd").
7036 (init): Force the map to be prime.
7037 (emptyPersistentByteMap): File name was a string, now a File.
7038 (addBytes): Share srings between entries.
7039 (stringTableSize): New method.
7040 (capacity): Scale by load factor.
7041 (force): New method.
7042 (getFile): New method.
7043 (close): New method.
7044 (putAll): New method.
7045 (ByteWrapper): New class.
7046 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7047 (main): Guess the average string size as 32, not 64.
7048 Copy a database before modifying it, so that we can update a
7049 database in a running system.
7050 If a database isn't big enough, resize it.
7051 "-m": new option: merges databases.
7052 "-a": Create a new detabase if it doesn't exist.
7053 (usage): Correct, add new option.
7054 (addJar): Copy a database before modifying it.
7055 (resizeMap): New method.
7057 2005-02-15 David Daney <ddaney@avtrex.com>
7058 Bryce McKinlay <mckinlay@redhat.com>
7060 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7061 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7062 ensure that GC threads inherit the new signal mask.
7063 (block_sigchld): Call JvFail rather than throwing exception if
7064 pthread_sigmask() fails.
7066 2005-02-15 Mark Wielaard <mark@klomp.org>
7068 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7069 file path elements are separated by spaces.
7071 2005-02-15 Mark Wielaard <mark@klomp.org>
7073 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7074 to describe attributes without a constant field value in this class.
7076 2005-02-15 Michael Koch <konqueror@gmx.de>
7078 * java/util/jar/Attributes.java
7079 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7081 2005-02-15 Mark Wielaard <mark@klomp.org>
7083 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7084 space for parsing CLASS_PATH attribute.
7086 2005-02-15 Mark Wielaard <mark@klomp.org>
7088 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7089 aside for "GCJLIBS" in directory where jarfiles are loaded.
7090 (JarURLLoader.getClass): Removed method.
7091 (JarURLLoader.toString): Removed method.
7092 (FileResource.toString): Removed method.
7094 2005-02-15 Mark Wielaard <mark@klomp.org>
7096 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7097 and/or cause before throwing.
7099 2005-02-15 Richard Henderson <rth@redhat.com>
7101 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7102 (libgcj0_convenience_la_SOURCES): ... here.
7103 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7104 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7105 * Makefile.in: Regenerate.
7107 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7110 * include/jawt.h: Likewise.
7111 * include/jawt_md.h: Likewise.
7112 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7114 * include/Makefile.in: Regenerate.
7115 * jni/classpath/classpath_jawt.h: Likewise.
7116 * jni/gtk-peer/gtk_jawt.c: Likewise.
7117 * Makefile.am: Build libjawt.so.
7118 * Makefile.in: Regenerate.
7120 2005-02-14 Tom Tromey <tromey@redhat.com>
7122 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7124 2005-02-14 Tom Tromey <tromey@redhat.com>
7126 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7127 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7129 2005-02-14 Tom Tromey <tromey@redhat.com>
7132 * testsuite/libjava.lang/PR19929.out: New file.
7133 * testsuite/libjava.lang/PR19929.java: New file.
7135 2005-02-14 Anthony Green <green@redhat.com>
7138 * testsuite/libjava.jni/PR18116.c: New file.
7139 * testsuite/libjava.jni/PR18116.java: New file.
7140 * testsuite/libjava.jni/PR18116.out: New file.
7142 2005-02-13 Anthony Green <green@redhat.com>
7145 * jni.cc (nathash_add): Don't strdup the method signature.
7146 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7150 2005-02-12 Mark Wielaard <mark@klomp.org>
7152 Fixes bug libgcj/8170
7153 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7154 ClassNotFoundException.
7155 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7156 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7157 (remove_internal): New field superceding remove_interpreter.
7158 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7159 Remove no-class methods starting with "_Jv_". And Replace null
7160 class or method names with the empty string. Stop at either the
7161 MainThread or a real Thread run() method.
7162 (newElement): Made static.
7163 * java/net/URLClassLoader.java (findClass): Throw
7164 ClassNotFoundExceptions including urls, plus parent using toString().
7165 (thisString): New field.
7166 (toString): New method.
7168 2005-02-10 Tom Tromey <tromey@redhat.com>
7170 * external/sax/Makefile.in: Rebuilt.
7171 * external/sax/Makefile.am (all-local): Removed.
7172 (BUILT_SOURCES): New variable.
7173 (mostlyclean-local): No error if no classes to delete.
7174 * external/w3c_dom/Makefile.in: Rebuilt.
7175 * external/w3c_dom/Makefile.am (all-local): Removed.
7176 (BUILT_SOURCES): New variable.
7177 (mostlyclean-local): No error if no classes to delete.
7179 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7181 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7182 of mauve and libjava.
7184 2005-02-09 Tom Tromey <tromey@redhat.com>
7186 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7187 jar file with OPEN_DELETE.
7188 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7189 OPEN_DELETE is used.
7191 2005-02-09 Tom Tromey <tromey@redhat.com>
7193 * java/util/zip/InflaterInputStream.java (markSupported):
7195 (mark, reset): Likewise.
7197 2005-02-08 Tom Tromey <tromey@redhat.com>
7199 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7200 name or port is missing.
7201 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7202 AUTHORITY_PORT_GROUP): Updated.
7204 2005-02-08 Tom Tromey <tromey@redhat.com>
7206 * configure: Rebuilt.
7207 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7210 2005-02-07 Tom Tromey <tromey@redhat.com>
7212 * java/lang/natRuntime.cc (insertSystemProperties): Set
7213 sun.boot.class.path earlier.
7215 2005-02-07 Tom Tromey <tromey@redhat.com>
7217 * defineclass.cc (handleClassBegin): Use
7218 _Jv_RegisterInitiatingLoader.
7219 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7220 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7221 class. Use _Jv_UnregisterInitiatingLoader.
7222 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7225 2005-02-07 Mark Wielaard <mark@klomp.org>
7227 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7228 java/util/regex/Matcher.java (lookingAt): Set position when match
7230 (matches): Implemented through lookingAt().
7232 2005-02-07 Mark Wielaard <mark@klomp.org>
7234 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7235 * java/util/regex/Pattern.java (split(CharSequence,int)):
7236 Fix while empties > 0 loops.
7238 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7240 * gnu/java/nio/charset/ISO_8859_1.java,
7241 gnu/java/nio/charset/US_ASCII.java,
7242 gnu/java/nio/charset/UTF_16.java,
7243 gnu/java/nio/charset/UTF_16_LE.java,
7244 gnu/java/nio/charset/UTF_16_BE.java,
7245 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7246 and aliases according to
7247 "http://www.iana.org/assignments/character-sets",
7248 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7249 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7250 * gnu/java/nio/charset/Provider.java: Made charset lookup
7251 case-insensitive which fixes bug #11740.
7253 2005-02-07 Tom Tromey <tromey@redhat.com>
7256 * Makefile.in: Rebuilt.
7257 * Makefile.am (src.zip): New target.
7258 (install-src.zip): Likewise.
7259 (sourcesdir): New variable.
7261 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7263 * javax/imageio/metadata/IIOMetadataNode.java:
7265 * javax/imageio/metadata/IIOAttr.java,
7266 javax/imageio/metadata/IIONamedNodeMap.java,
7267 javax/imageio/metadata/IIONodeList.java:
7270 2005-02-06 Graydon Hoare <graydon@redhat.com>
7272 * gnu/java/awt/ClasspathToolkit.java
7273 (registerImageIOSpis): New method.
7274 * javax/imageio/ImageIO.java
7275 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7276 (WriterMIMETypeFilter.filter): Likewise.
7277 (ImageReaderIterator): Pass extension argument through to SPI.
7278 (getReadersByFilter): Likewise.
7279 (getWritersByFilter): Likewise.
7280 (getImageReadersByFormatName): Likewise.
7281 (getImageReadersByMIMEType): Likewise.
7282 (getImageReadersBySuffix): Likewise.
7283 (getImageWritersByFormatName): Likewise.
7284 (getImageWritersByMIMEType): Likewise.
7285 (getImageWritersBySuffix): Likewise.
7288 * javax/imageio/ImageReader.java
7289 (progressListeners): Initialize.
7290 (setInput): Implement.
7291 * javax/imageio/ImageWriter.java
7292 (progressListeners): Initialize.
7293 (warningListeners): Likewise.
7294 (warningLocales): Likewise.
7295 (setOutput): Test "isInstance" rather than class equality.
7296 * javax/imageio/spi/IIORegistry.java
7297 (static): Add reader and writer SPIs.
7298 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7300 2005-02-06 Michael Koch <konqueror@gmx.de>
7302 * javax/imageio/metadata/IIOInvalidTreeException.java
7303 (IIOInvalidTreeException): Reformatted.
7304 * javax/imageio/spi/IIORegistry.java
7305 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7306 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7307 Reworked import statements.
7309 2005-02-06 Michael Koch <konqueror@gmx.de>
7311 * javax/imageio/stream/FileImageOutputStream.java:
7314 2005-02-06 Michael Koch <konqueror@gmx.de>
7316 * javax/imageio/stream/FileCacheImageInputStream.java,
7317 javax/imageio/stream/FileCacheImageOutputStream.java,
7318 javax/imageio/stream/FileImageInputStream.java,
7319 javax/imageio/stream/ImageInputStreamImpl.java,
7320 javax/imageio/stream/ImageOutputStreamImpl.java,
7321 javax/imageio/stream/MemoryCacheImageInputStream.java,
7322 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7323 Added all missing methods in javax.imageio.stream.
7325 2005-02-02 David Daney <ddaney@avtrex.com>
7327 * java/net/InetAddress.java (InetAddress): Make a private copy of
7329 * java/net/Inet4Address.java (getAddress): Return a copy of the
7331 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7333 (getAddress): Return a copy of the address.
7336 2005-02-02 Tom Tromey <tromey@redhat.com>
7338 * Makefile.in: Rebuilt.
7339 * Makefile.am (classes.stamp): New target, broken out from
7341 ($(all_java_class_files)): Depend on it.
7342 (libgcj-@gcc_version@.jar): Likewise.
7343 (all-recursive): Likewise.
7344 (CLEANFILES): Include classes.stamp.
7346 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7348 * link.cc: Include <stdio.h>
7350 2005-02-02 Tom Tromey <tromey@redhat.com>
7353 * Makefile.in: Rebuilt.
7354 * Makefile.am (ordinary_java_source_files): Added new class.
7355 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7356 Use system_instance, not instance.
7357 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7358 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7360 (system_instance): New field.
7361 (initialize): Initialize the system loader as well.
7362 (VMClassLoader): Default to LIB_CACHE.
7364 2005-02-02 Tom Tromey <tromey@redhat.com>
7366 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7367 * prims.cc: Fixed comment.
7369 2005-02-01 Tom Tromey <tromey@redhat.com>
7371 * Makefile.in: Rebuilt.
7372 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7373 (.java.class): Use BOOTCLASSPATH.
7375 2005-02-01 Tom Tromey <tromey@redhat.com>
7377 * external/w3c_dom/Makefile.am: New file.
7378 * external/w3c_dom/Makefile.in: New file.
7379 * external/sax/Makefile.am: New file.
7380 * external/sax/Makefile.in: New file.
7381 * external/Makefile.in: New file.
7382 * external/Makefile.am: New file.
7383 * external/README: New file from Classpath.
7384 * configure, aclocal.m4, Makefile.in: Rebuilt.
7385 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7386 * Makefile.am (SUBDIRS): Added external.
7387 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7388 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7389 (BOOTCLASSPATH): New variable.
7390 (AM_GCJFLAGS): Use it.
7391 (gnu_xml_source_files): New variable.
7392 (libgcj_la_SOURCES): Use it.
7393 (libgcj_la_LDADD): Include new convenience libraries.
7394 (lib_org_ietf_jgss_la_SOURCES): Removed.
7395 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7396 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7397 (lib_org_w3c_dom_la_SOURCES): Removed.
7398 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7399 (lib_org_w3c_dom_la_LIBADD): Likewise.
7400 (lib_org_xml_sax_la_SOURCES): Removed.
7401 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7402 (lib_org_xml_sax_la_LIBADD): Likewise.
7403 (all_java_source_files): Updated.
7404 (property_files): Likewise.
7405 (libgcj-@gcc_version@.jar): Include classes from external/.
7406 (javax_source_files): Updated.
7407 (ordinary_java_source_files): Updated.
7408 * javax/xml/XMLConstants.java,
7409 javax/xml/datatype/DatatypeConfigurationException.java,
7410 javax/xml/datatype/DatatypeConstants.java,
7411 javax/xml/datatype/DatatypeFactory.java,
7412 javax/xml/datatype/Duration.java,
7413 javax/xml/datatype/XMLGregorianCalendar.java,
7414 javax/xml/datatype/package.html,
7415 javax/xml/namespace/NamespaceContext.java,
7416 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7417 javax/xml/parsers/DocumentBuilder.java,
7418 javax/xml/parsers/DocumentBuilderFactory.java,
7419 javax/xml/parsers/FactoryConfigurationError.java,
7420 javax/xml/parsers/ParserConfigurationException.java,
7421 javax/xml/parsers/SAXParser.java,
7422 javax/xml/parsers/SAXParserFactory.java,
7423 javax/xml/parsers/package.html,
7424 javax/xml/transform/ErrorListener.java,
7425 javax/xml/transform/OutputKeys.java,
7426 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7427 javax/xml/transform/SourceLocator.java,
7428 javax/xml/transform/Templates.java,
7429 javax/xml/transform/Transformer.java,
7430 javax/xml/transform/TransformerConfigurationException.java,
7431 javax/xml/transform/TransformerException.java,
7432 javax/xml/transform/TransformerFactory.java,
7433 javax/xml/transform/TransformerFactoryConfigurationError.java,
7434 javax/xml/transform/URIResolver.java,
7435 javax/xml/transform/package.html,
7436 javax/xml/transform/dom/DOMLocator.java,
7437 javax/xml/transform/dom/DOMResult.java,
7438 javax/xml/transform/dom/DOMSource.java,
7439 javax/xml/transform/dom/package.html,
7440 javax/xml/transform/sax/SAXResult.java,
7441 javax/xml/transform/sax/SAXSource.java,
7442 javax/xml/transform/sax/SAXTransformerFactory.java,
7443 javax/xml/transform/sax/TemplatesHandler.java,
7444 javax/xml/transform/sax/TransformerHandler.java,
7445 javax/xml/transform/sax/package.html,
7446 javax/xml/transform/stream/StreamResult.java,
7447 javax/xml/transform/stream/StreamSource.java,
7448 javax/xml/transform/stream/package.html,
7449 javax/xml/validation/Schema.java,
7450 javax/xml/validation/SchemaFactory.java,
7451 javax/xml/validation/TypeInfoProvider.java,
7452 javax/xml/validation/Validator.java,
7453 javax/xml/validation/ValidatorHandler.java,
7454 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7455 javax/xml/xpath/XPathConstants.java,
7456 javax/xml/xpath/XPathException.java,
7457 javax/xml/xpath/XPathExpression.java,
7458 javax/xml/xpath/XPathExpressionException.java,
7459 javax/xml/xpath/XPathFactory.java,
7460 javax/xml/xpath/XPathFactoryConfigurationException.java,
7461 javax/xml/xpath/XPathFunction.java,
7462 javax/xml/xpath/XPathFunctionException.java,
7463 javax/xml/xpath/XPathFunctionResolver.java,
7464 javax/xml/xpath/XPathVariableResolver.java,
7465 javax/xml/xpath/package.html: New files, from GNU JAXP.
7466 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7467 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7468 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7469 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7470 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7471 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7472 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7473 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7474 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7475 org/w3c/dom/ranges/DocumentRange.java,
7476 org/w3c/dom/ranges/Range.java,
7477 org/w3c/dom/ranges/RangeException.java,
7478 org/w3c/dom/traversal/DocumentTraversal.java,
7479 org/w3c/dom/traversal/NodeFilter.java,
7480 org/w3c/dom/traversal/NodeIterator.java,
7481 org/w3c/dom/traversal/TreeWalker.java,
7482 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7483 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7484 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7485 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7486 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7487 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7488 org/xml/sax/SAXNotRecognizedException.java,
7489 org/xml/sax/SAXNotSupportedException.java,
7490 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7491 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7492 org/xml/sax/ext/DeclHandler.java,
7493 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7494 org/xml/sax/helpers/AttributeListImpl.java,
7495 org/xml/sax/helpers/AttributesImpl.java,
7496 org/xml/sax/helpers/DefaultHandler.java,
7497 org/xml/sax/helpers/LocatorImpl.java,
7498 org/xml/sax/helpers/NamespaceSupport.java,
7499 org/xml/sax/helpers/NewInstance.java,
7500 org/xml/sax/helpers/ParserAdapter.java,
7501 org/xml/sax/helpers/ParserFactory.java,
7502 org/xml/sax/helpers/XMLFilterImpl.java,
7503 org/xml/sax/helpers/XMLReaderAdapter.java,
7504 org/xml/sax/helpers/XMLReaderFactory.java,
7505 org/xml/sax/helpers/package.html: Moved to external/.
7506 * external/sax/README,
7507 external/sax/org/xml/sax/AttributeList.java,
7508 external/sax/org/xml/sax/Attributes.java,
7509 external/sax/org/xml/sax/ContentHandler.java,
7510 external/sax/org/xml/sax/DTDHandler.java,
7511 external/sax/org/xml/sax/DocumentHandler.java,
7512 external/sax/org/xml/sax/EntityResolver.java,
7513 external/sax/org/xml/sax/ErrorHandler.java,
7514 external/sax/org/xml/sax/HandlerBase.java,
7515 external/sax/org/xml/sax/InputSource.java,
7516 external/sax/org/xml/sax/Locator.java,
7517 external/sax/org/xml/sax/Parser.java,
7518 external/sax/org/xml/sax/SAXException.java,
7519 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7520 external/sax/org/xml/sax/SAXNotSupportedException.java,
7521 external/sax/org/xml/sax/SAXParseException.java,
7522 external/sax/org/xml/sax/XMLFilter.java,
7523 external/sax/org/xml/sax/XMLReader.java,
7524 external/sax/org/xml/sax/package.html,
7525 external/sax/org/xml/sax/ext/Attributes2.java,
7526 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7527 external/sax/org/xml/sax/ext/DeclHandler.java,
7528 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7529 external/sax/org/xml/sax/ext/EntityResolver2.java,
7530 external/sax/org/xml/sax/ext/LexicalHandler.java,
7531 external/sax/org/xml/sax/ext/Locator2.java,
7532 external/sax/org/xml/sax/ext/Locator2Impl.java,
7533 external/sax/org/xml/sax/ext/package.html,
7534 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7535 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7536 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7537 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7538 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7539 external/sax/org/xml/sax/helpers/NewInstance.java,
7540 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7541 external/sax/org/xml/sax/helpers/ParserFactory.java,
7542 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7543 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7544 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7545 external/sax/org/xml/sax/helpers/package.html,
7546 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7547 external/w3c_dom/org/w3c/dom/Attr.java,
7548 external/w3c_dom/org/w3c/dom/CDATASection.java,
7549 external/w3c_dom/org/w3c/dom/CharacterData.java,
7550 external/w3c_dom/org/w3c/dom/Comment.java,
7551 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7552 external/w3c_dom/org/w3c/dom/DOMError.java,
7553 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7554 external/w3c_dom/org/w3c/dom/DOMException.java,
7555 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7556 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7557 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7558 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7559 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7560 external/w3c_dom/org/w3c/dom/Document.java,
7561 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7562 external/w3c_dom/org/w3c/dom/DocumentType.java,
7563 external/w3c_dom/org/w3c/dom/Element.java,
7564 external/w3c_dom/org/w3c/dom/Entity.java,
7565 external/w3c_dom/org/w3c/dom/EntityReference.java,
7566 external/w3c_dom/org/w3c/dom/NameList.java,
7567 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7568 external/w3c_dom/org/w3c/dom/Node.java,
7569 external/w3c_dom/org/w3c/dom/NodeList.java,
7570 external/w3c_dom/org/w3c/dom/Notation.java,
7571 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7572 external/w3c_dom/org/w3c/dom/Text.java,
7573 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7574 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7575 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7576 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7577 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7578 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7579 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7580 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7581 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7582 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7583 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7584 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7585 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7586 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7587 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7588 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7589 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7590 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7591 external/w3c_dom/org/w3c/dom/css/Counter.java,
7592 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7593 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7594 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7595 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7596 external/w3c_dom/org/w3c/dom/css/Rect.java,
7597 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7598 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7599 external/w3c_dom/org/w3c/dom/events/Event.java,
7600 external/w3c_dom/org/w3c/dom/events/EventException.java,
7601 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7602 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7603 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7604 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7605 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7606 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7607 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7608 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7609 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7610 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7611 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7612 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7613 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7614 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7615 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7616 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7617 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7618 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7619 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7620 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7621 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7622 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7623 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7624 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7625 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7626 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7627 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7628 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7629 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7630 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7631 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7632 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7633 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7634 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7635 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7636 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7637 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7638 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7639 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7640 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7641 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7642 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7643 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7644 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7645 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7646 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7647 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7648 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7649 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7650 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7651 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7652 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7653 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7654 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7655 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7656 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7657 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7658 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7659 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7660 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7661 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7662 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7663 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7664 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7665 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7666 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7667 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7668 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7669 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7670 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7671 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7672 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7673 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7674 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7675 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7676 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7677 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7678 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7679 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7680 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7681 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7682 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7683 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7684 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7685 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7686 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7687 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7688 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7689 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7690 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7691 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7692 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7695 2005-01-31 Anthony Green <green@redhat.com>
7697 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7698 Support IP_MULTICAST_LOOP.
7699 (setOption): Support IP_MULTICAST_LOOP.
7701 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7702 SO_REUSEADDR support.
7703 (getOption): Support SO_REUSEADDR.
7705 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7708 * java/util/Date.java
7709 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7711 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7713 (getTimezoneOffset): Inverted sign.
7715 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7717 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7718 remove other passing tests and add new XFAILs.
7720 2005-01-24 Tom Tromey <tromey@redhat.com>
7722 * java/lang/Class.h (next): Updated documentation. Renamed to
7724 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7725 _Jv_CheckABIVersion.
7726 (_Jv_RegisterClasses_Counted): Likewise.
7727 (_Jv_RegisterClassHookDefault): Fix starting condition of
7728 duplicate-checking loop.
7729 * include/jvm.h (GCJ_VERSION): New define.
7730 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7731 (_Jv_CheckABIVersion): New function.
7733 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7735 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7736 (libgij_la_LDFLAGS): Add.
7737 * Makefile.in: Rebuilt.
7739 2005-01-24 Roger Sayle <roger@eyesopen.com>
7742 * testsuite/libjava.compile/PR19295.java: New test case.
7744 2005-01-19 Tom Tromey <tromey@redhat.com>
7746 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7747 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7748 if 'handler' is valid.
7750 2005-01-17 Tom Tromey <tromey@redhat.com>
7752 * java/text/MessageFormat.java (scanString): Changed how quoting
7754 (scanFormatElement): Likewise.
7756 2004-12-07 Mark Wielaard <mark@klomp.org>
7758 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7760 2005-01-15 Michael Koch <konqueror@gmx.de>
7764 (AUTHORITY_REGEXP): New regexp constant.
7765 (AUTHORITY_USERINFO_GROUP): New constant.
7766 (AUTHORITY_HOST_GROUP): Likewise.
7767 (AUTHORITY_PORT_GROUP): Likewise.
7768 (port): Changed default value to -1.
7769 (parseURI): Parse authority part and initialize host,
7772 2005-01-14 Robin Green <greenrd@greenrd.org>
7774 * java/io/File.java (toURI): Generate a URI which we understand.
7776 2005-01-13 Graydon Hoare <graydon@redhat.com>
7778 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7779 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7780 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7781 * jni.cc: Reuse bottom frame between calls, avoid clearing
7782 frame when no local references are made.
7784 2005-01-13 Michael Koch <konqueror@gmx.de>
7787 * java/lang/Thread.java
7788 (Thread): Call checkAccess().
7789 (stop): Fixed argument name to match javadoc.
7790 * java/lang/natThread.cc
7791 (interrupt): Call checkAccess().
7794 2005-01-11 Michael Koch <konqueror@gmx.de>
7797 * java/net/URL.java (URL): Handle specs like
7798 "/redir?http://domain2.com/index.html" which start with a slash.
7800 2005-01-11 Michael Koch <konqueror@gmx.de>
7802 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7803 * gnu/java/net/BASE64.java,
7804 gnu/java/net/EmptyX509TrustManager.java,
7805 gnu/java/net/LineInputStream.java,
7806 gnu/java/net/protocol/http/Authenticator.java,
7807 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7808 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7809 gnu/java/net/protocol/http/ChunkedInputStream.java,
7810 gnu/java/net/protocol/http/Cookie.java,
7811 gnu/java/net/protocol/http/CookieManager.java,
7812 gnu/java/net/protocol/http/Credentials.java,
7813 gnu/java/net/protocol/http/HTTPConnection.java,
7814 gnu/java/net/protocol/http/HTTPDateFormat.java,
7815 gnu/java/net/protocol/http/HTTPURLConnection.java,
7816 gnu/java/net/protocol/http/Headers.java,
7817 gnu/java/net/protocol/http/Request.java,
7818 gnu/java/net/protocol/http/RequestBodyWriter.java,
7819 gnu/java/net/protocol/http/Response.java,
7820 gnu/java/net/protocol/http/ResponseBodyReader.java,
7821 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7822 gnu/java/net/protocol/http/SimpleCookieManager.java,
7823 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7824 gnu/java/net/protocol/http/event/ConnectionListener.java,
7825 gnu/java/net/protocol/http/event/RequestEvent.java,
7826 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7827 * gnu/java/net/protocol/http/Connection.java: Removed.
7828 * gnu/java/net/protocol/http/Handler.java,
7829 javax/net/ssl/HttpsURLConnection.java: Updated.
7830 * Makefile.am: Added new files and remove old ones.
7831 * Makefile.in: Regenerated.
7833 2005-01-11 Tom Tromey <tromey@redhat.com>
7836 * java/io/BufferedInputStream.java (read): Repeatedly read to
7838 (refill): Change test to see if buffer must be grown.
7840 2005-01-10 Tom Tromey <tromey@redhat.com>
7842 * mauve-libgcj: Exclude some swing tests.
7844 2005-01-10 Tom Tromey <tromey@redhat.com>
7846 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7847 * java/lang/Package.java (getPackages): Use VMClassLoader when
7849 (getPackage): Likewise.
7850 * prims.cc (_Jv_CreateJavaVM): Call
7851 _Jv_RegisterBootstrapPackages.
7852 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7853 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7854 (getPackages): Likewise.
7855 (definedPackages): New field.
7856 (definePackageForNative): New method.
7857 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7858 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7859 * defineclass.cc (handleClassBegin): Use
7860 ClassLoader.findLoadedClass.
7861 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7863 (struct _Jv_LoaderInfo): Removed.
7864 (initiated_classes): Likewise.
7865 (_Jv_UnregisterClass): Don't use initiated_classes.
7866 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7867 (_Jv_FindClass): Register classes found during boostrap.
7868 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7869 (bootstrap_class_list): New global.
7870 (bootstrap_index): Likewise.
7871 (_Jv_RegisterBootstrapPackages): New function.
7872 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7873 definePackageForNative.
7874 (findClass): Updated.
7875 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7878 2005-01-10 Tom Tromey <tromey@redhat.com>
7881 * include/jvm.h (_Jv_Linker::find_field): Declare.
7882 (_Jv_Linker::find_field_helper): Likewise.
7883 * link.cc (find_field_helper): New method.
7884 (find_field): Likewise.
7885 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7887 (link_symbol_table): Use find_field.
7889 2005-01-10 Michael Koch <konqueror@gmx.de>
7892 * java/util/Locale.java (Locale): Don't uppercase variant.
7893 (getISOCountries): Fixed typo in javadoc.
7895 2005-01-10 Michael Koch <konqueror@gmx.de>
7897 * java/util/SimpleTimeZone.java (checkRule):
7898 Throw IllegalArgumentException on invalid month values.
7899 * java/util/TimeZone.java (setID):
7900 Throw NullPointerException if needed.
7902 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7904 * java/util/SimpleTimeZone.java (getOffset):
7905 offset end date with daylight savings
7907 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7909 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7910 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7912 2005-01-09 Michael Koch <konqueror@gmx.de>
7915 * java/net/InetAddress.java (getLocalHost):
7916 Throw UnknownHostException if local hostname cannot be determined.
7918 2005-01-06 Tom Tromey <tromey@redhat.com>
7920 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7922 2005-01-07 Michael Koch <konqueror@gmx.de>
7925 * java/nio/Buffer.java (address): New field.
7926 * java/nio/DirectByteBufferImpl.java (address): Removed.
7927 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7928 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7929 Explicitly initialize Buffer.address if needed.
7930 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7931 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7932 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7933 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7934 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7935 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7936 DirectByteBufferImpl object.
7937 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7938 * testsuite/libjava.jni/directbuffer.c,
7939 testsuite/libjava.jni/directbuffer.java,
7940 testsuite/libjava.jni/directbuffer.out,
7941 testsuite/libjava.jni/bytebuffer.c,
7942 testsuite/libjava.jni/bytebuffer.java,
7943 testsuite/libjava.jni/bytebuffer.out: New files.
7945 2005-01-05 Tom Tromey <tromey@redhat.com>
7947 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7949 (compressedSize): Now 'long'. Default to -1.
7950 (getCompressedSize): Rewrote.
7951 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7952 deflate at all if we need input.
7954 2005-01-05 Tom Tromey <tromey@redhat.com>
7957 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7960 2005-01-05 Tom Tromey <tromey@redhat.com>
7962 * java/lang/natRuntime.cc (insertSystemProperties): Set
7963 java.ext.dirs earlier.
7965 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7967 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7968 sync_info element of the object if needed.
7970 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7972 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7973 a non-zero exit status from 'false'.
7975 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7977 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.