1 2005-07-07 Aaron Luchko <aluchko@redhat.com>
3 * gnu/classpath/jdwp/util/Signature.java
4 (computeFieldSignature): New Method.
6 2005-07-07 Aaron Luchko <aluchko@redhat.com>
8 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
11 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
13 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
14 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
16 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
18 * testsuite/libjava.compile/PR21045.java: New test.
19 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
20 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
22 2005-07-06 Tom Tromey <tromey@redhat.com>
24 * java/io/InputStreamReader.java (refill): Handle no-progress
26 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
28 2005-07-06 Tom Tromey <tromey@redhat.com>
30 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
32 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
34 * testsuite/libjava.compile/PR19674.java: New test.
36 2005-07-05 Aaron Luchko <aluchko@redhat.com>
38 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
41 2005-07-04 Aaron Luchko <aluchko@redhat.com>
43 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
44 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
45 CommandSets to handle JdwpCommandPackets.
46 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
49 2005-07-01 Tom Tromey <tromey@redhat.com>
51 * libtool-version: Updated.
53 2005-06-30 Aaron Luchko <aluchko@redhat.com>
55 * gnu/classpath/jdwp/util/JdwpString.java: New file.
57 2005-06-30 Keith Seitz <keiths@redhat.com>
59 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
60 (myWrite): New abstract method.
63 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
65 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
67 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
68 JdwpPacket.write instead of JdwpPacket.toBytes.
70 2005-06-30 Keith Seitz <keiths@redhat.com>
72 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
75 (_doStream): New member.
76 (JdwpConnection): Initialize new members.
78 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
80 * all files: Update for new FSF address.
82 2005-06-29 Tom Tromey <tromey@redhat.com>
85 * testsuite/libjava.lang/pr22211.java: New file.
86 * java/lang/natThread.cc (finish_): Synchronize when updating
88 (_Jv_AttachCurrentThread): Likewise.
89 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
90 * java/lang/Thread.java (isAlive): Now synchronized.
92 2005-06-29 Tom Tromey <tromey@redhat.com>
94 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
97 2005-06-28 Robin Green <greenrd@greenrd.org>
100 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
103 2005-06-27 Tom Tromey <tromey@redhat.com>
105 PR java/21540, PR java/13788:
106 * testsuite/libjava.compile/pr21540.java: New file.
107 * testsuite/libjava.compile/pr13788.java: New file.
108 * testsuite/libjava.jacks/jacks.xfail: Updated.
110 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
112 * testsuite/libjava.mauve/xfails: Updated to reflect current state
113 of mauve and libjava.
115 2005-06-24 Tom Tromey <tromey@redhat.com>
117 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
118 where class' name is NULL.
119 (_Jv_FindClass): Don't wait for class state.
120 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
122 * include/java-interp.h (_Jv_DefineClass): Updated.
123 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
124 (struct _Jv_ClassReader): Likewise.
125 (found_name): New field.
126 (handleClassBegin): Set *found_name.
127 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
128 (handleClassBegin): Throw error if super class not set.
129 (read_methods): Correctly call check_tag and prepare_pool_entry.
131 2005-06-24 Tom Tromey <tromey@redhat.com>
133 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
135 2005-06-24 Tom Tromey <tromey@redhat.com>
137 * verify.cc (verify_instructions_0): Correctly handle situation
138 where PC falls off end.
140 2005-06-24 Tom Tromey <tromey@redhat.com>
142 * interpret.cc (compile): Handle case where table entry is
145 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
147 * testsuite/libjava.compile/PR20697.java: New test-case.
149 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
151 * Makefile.am (SUBDIRS): Use append for conditional.
152 (toolexeclib_LTLIBRARIES): Likewise.
153 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
154 a conditional append.
155 * Makefile.in: Regenerate.
157 2005-06-17 Keith Seitz <keiths@redhat.com>
159 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
160 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
161 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
163 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
164 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
166 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
167 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
168 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
169 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
171 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
172 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
174 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
176 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
177 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
178 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
179 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
180 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
181 * Makefile.in: Regenerate.
183 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
185 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
186 (USING_POSIX_PLATFORM): ... here.
187 * Makefile.am: Delete USING_ECOS_PLATFORM.
188 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
189 external/Makefile.in, external/sax/Makefile.in,
190 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
192 2005-06-15 Tom Tromey <tromey@redhat.com>
195 * testsuite/libjava.lang/pr17536.java: New file.
196 * testsuite/libjava.lang/pr17536.out: New file.
198 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
201 * gnu/java/net/protocol/http/HTTPURLConnection.java
202 (getHeaderFieldKey): Check index.
204 2005-06-15 Tom Tromey <tromey@redhat.com>
207 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
209 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
210 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
212 (append_partial_itable): Use it.
213 (set_vtable_entries): Likewise.
215 2005-06-15 Tom Tromey <tromey@redhat.com>
217 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
218 last_was_sep in loop.
220 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
222 * configure.host: Handle Solaris 10/x86.
224 2005-06-14 Keith Seitz <keiths@redhat.com>
226 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
227 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
229 2005-06-14 Keith Seitz <keiths@redhat.com>
231 * gnu/classpath/jdwp/id/ArrayId.java: New file.
232 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
233 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
234 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
235 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
236 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
237 * gnu/classpath/jdwp/id/JdwpId.java: New file.
238 * gnu/classpath/jdwp/id/ObjectId.java: New file.
239 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
240 * gnu/classpath/jdwp/id/StringId.java: New file.
241 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
242 * gnu/classpath/jdwp/id/ThreadId.java: New file.
244 2005-06-14 Tom Tromey <tromey@redhat.com>
247 * configure, aclocal.m4, Makefile.in: Rebuilt.
249 2005-06-14 Tom Tromey <tromey@redhat.com>
251 * java/lang/Class.java (getClasses): New method.
252 (internalGetClasses): Likewise.
253 (getClassLoader): Updated documentation.
254 (getDeclaredClasses): New overload; old overload no longer
256 (_getConstructors): Removed.
257 (resourcePath): Updated.
258 * java/lang/natClass.cc (getClasses): Removed.
259 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
261 (_getConstructors): Removed.
263 2005-06-13 Jim Huang <jserv@kaffe.org>
266 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
267 (_Jv_JNI_NewObject): Likewise.
269 2005-06-13 Tom Tromey <tromey@redhat.com>
272 * testsuite/libjava.lang/pr21844.java: New file.
273 * testsuite/libjava.lang/pr21844.out: New file.
275 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
278 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
281 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
283 * java/text/MessageFormat.java (parse): When parsing strings, check
284 for an empty pattern trailer.
286 2005-06-06 Keith Seitz <keiths@redhat.com>
288 * gnu/classpath/jdwp/util/Signature.java: New file.
289 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
291 2005-06-05 Anthony Green <green@redhat.com>
293 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
296 2005-06-04 Anthony Green <green@redhat.com>
298 * java/net/URLClassLoader.java: import gnu.gcj.Core,
299 and gnu.java.net.protocol.core.CoreInputStream.
300 (CureURLLoader): New class.
301 (CoreResource): New class.
302 (addURLImpl): Add special treatment for the "core" protocol.
303 * gnu/gcj/natCore.cc (find): New method.
304 * gnu/gcj/Core.java (find): New method.
306 2005-06-03 Keith Seitz <keiths@redhat.com>
308 * gnu/classpath/jdwp/transport/ITransport.java: New file.
309 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
310 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
312 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
314 * jawt.c: Remove malloc.h, covered by stdlib.h.
316 * testsuite/libjava.jni/jni.exp
317 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
320 2005-06-02 Keith Seitz <keiths@redhat.com>
322 * gnu/classpath/jdwp/transport/TransportException.java: New file.
324 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
326 * mauve-libgcj: Remove implemented classes from the fail section.
327 Add two new not implemented to it.
329 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
331 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
332 AC_SUBST definition from configure.host.
333 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
334 to -fomit-frame-pointer on 32-bit x86 targets.
336 2005-06-01 Tom Tromey <tromey@redhat.com>
338 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
340 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
343 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
344 (static): Add possessive matching to JAVA_1_4 syntax.
345 * gnu/regexp/RETokenRepeated.java (possessive): New field.
346 (makePossessive, isPossessive): New methods.
347 (match): Don't back off during possessive matching.
348 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
349 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
352 2005-06-01 Keith Seitz <keiths@redhat.com>
354 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
355 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
356 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
358 2005-06-01 Tom Tromey <tromey@redhat.com>
361 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
362 (currentLoader): New method.
363 * java/io/ObjectInputStream.java (resolveProxyClass): Use
365 (currentLoader): Now native.
366 (currentClassLoader): Removed.
367 * testsuite/libjava.lang/pr21785.java: New file.
368 * testsuite/libjava.lang/pr21785.out: New file.
370 2005-06-01 Tom Tromey <tromey@redhat.com>
373 * java/lang/natString.cc (substring): Changed sharing heuristic.
375 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
378 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
379 MAXPATHLEN. Format exception message using a StringBuffer instead.
381 2005-05-29 Michael Koch <konqueror@gmx.de>
384 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
386 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
388 * ChangeLog: Fix typo.
390 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
392 Testsuite adjustments for PR java/19870.
393 * testsuite/libjava.lang/PR19870.java: New testcase.
394 * testsuite/libjava.lang/PR19870.out: Expected output for the
396 * testsuite/libjava.jacks/jacks.xfail: Add
397 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
400 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
402 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
403 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
404 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
406 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
407 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
408 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
409 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
411 2005-05-25 Richard Henderson <rth@redhat.com>
414 * sysdep/descriptor-n.h: New file.
415 * sysdep/descriptor-y.h: New file.
416 * sysdep/powerpc/descriptor.h: New file.
417 * configure.host: Set $descriptor_h appropriate for the host.
418 * configure.ac: Link it.
419 * configure: Regenerate.
420 * stacktrace.cc: Include sysdep/descriptor.h.
421 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
423 2005-05-25 Chris Burdess <dog@gnu.org>
425 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
426 end entity callbacks.
428 2005-05-24 Gary Benson <gbenson@redhat.com>
431 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
432 Handle DateFormat.DEFAULT case correctly.
434 2005-05-21 Tom Tromey <tromey@redhat.com>
437 * java/lang/ref/natReference.cc (find_slot): Handle case where
438 table has no NULL entries.
439 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
440 table has no NULL entries.
442 2005-05-22 Andreas Jaeger <aj@suse.de>
444 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
447 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
449 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
451 2005-05-19 Richard Henderson <rth@redhat.com>
453 * exception.cc: Revert 05-17 gcc_unreachable change.
455 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
457 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
458 _Jv_RegisterInitiatingLoader to register array classes, not
460 (_Jv_RegisterInitiatingLoader): Give up if called very early during
461 bootstrapping. Add a FIXME to handle this case better.
463 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
465 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
467 (libgcj_la_SOURCES): New. Move sources here.
468 (libgcj.la): Remove rule.
470 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
473 * gnu/java/security/provider/DSASignature.java: Import updates
476 2005-05-18 Anthony Green <green@redhat.com>
478 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
479 classpath_jawt_object_unlock, classpath_jawt_create_lock,
480 classpath_jawt_destroy_lock): New functions.
481 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
482 classpath_jawt_object_unlock, classpath_jawt_create_lock,
483 classpath_jawt_destroy_lock): New functions.
484 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
486 * jawt.c: #include malloc.h.
487 (_Jv_Lock): Use lock.
489 (_Jv_GetDrawingSurface): Initialize lock.
490 (_Jv_FreeDrawingSurface): Destroy lock.
491 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
493 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
495 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
496 * Makefile.in: Regenerate.
498 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
500 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
501 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
502 * aclocal.m4, configure, config.h.in, include/config.h.in,
503 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
504 external/Makefile.in, external/sax/Makefile.in,
505 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
507 2005-05-17 David Daney <ddaney@avtrex.com>
510 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
512 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
514 * exception.cc (abort): Remove std::abort hack.
515 (gcc_unreacheable): Define.
517 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
519 * Makefile.am (Makefile.deps): Do not create native.list and
521 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
522 * Makefile.in: Regenerate.
524 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
526 * configure.ac (--enable-libgcj-multifile): Remove.
528 * Makefile.am (all_native_compiled_source_files,
529 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
530 all_libgcj_lo_files, all_xlib_lo_files,
531 all_java_deps_files, all_java_stamp_files,
532 all_java_filelist_files): New variables.
533 (EXTRA_DIST): New Automake variable.
534 (CLEANFILES): Add .stamp, .list and .lo files.
535 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
536 (classes.stamp): Depend on $(all_java_stamp_files).
537 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
538 going through write_entries_to_file.
540 (all_java_source_files, all_property_files): Move earlier.
541 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
542 all_java_class_files): Remove.
543 (gtk_awt_peer_sources): Rename to...
544 (gtk_awt_peer_source_files): ... this. Adjust throughout.
547 (libgcj0_convenience_la_SOURCES): Remove Java source files.
548 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
549 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
550 (libgcj_la_SOURCES): Remove.
551 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
552 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
553 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
555 * configure: Regenerate.
556 * Makefile.in: Regenerate.
557 * external/Makefile.in: Regenerate.
558 * external/sax/Makefile.in: Regenerate.
559 * external/w3c_dom/Makefile.in: Regenerate.
560 * gcj/Makefile.in: Regenerate.
561 * include/Makefile.in: Regenerate.
562 * libltdl/Makefile.in: Regenerate.
563 * testsuite/Makefile.in: Regenerate.
565 2005-05-16 Tom Tromey <tromey@redhat.com>
567 * java/nio/charset/Charset.java (encode, decode): Synchronize on
568 'this', not the class.
570 2005-05-16 Tom Tromey <tromey@redhat.com>
572 * gnu/java/net/protocol/http/Headers.java (parse): Include final
575 2005-05-16 Tom Tromey <tromey@redhat.com>
578 * java/net/URI.java (unquote): Handle lower-case letters as well.
580 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
583 * gnu/regexp/RE.java: Add support for quoting constructs.
585 2005-05-15 Tom Tromey <tromey@redhat.com>
587 * java/lang/String.java (startsWith): Fixed javadoc.
589 2005-05-15 Tom Tromey <tromey@redhat.com>
592 * testsuite/libjava.compile/pr21519.java: New file.
593 * testsuite/libjava.compile/pr21519.no-link: New file.
595 2005-05-15 Tom Tromey <tromey@redhat.com>
597 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
599 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
602 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
603 interrupt status flag if _Jv_CondWait is interrupted.
605 2005-05-13 Tom Tromey <tromey@redhat.com>
607 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
610 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
612 * include/jvm.h (gcj::verifyClasses): Declare.
613 * link.cc (gcj::verbose_class_flag): Moved.
614 * prims.cc (gcj::verifyClasses): Define here.
615 (gcj::verbose_class_flag): Move definition here.
616 (_Jv_Linker::wait_for_state): Don't call verify_class
617 if gcj::verifyClasses is not set.
618 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
620 2005-05-12 Aaron Luchko <aluchko@redhat.com>
622 * gij.cc (main): Recognize '-verify', '-noverify', and
625 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
627 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
629 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
631 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
634 2005-05-11 Tom Tromey <tromey@redhat.com>
636 * external/w3c_dom/Makefile.in: Rebuilt.
637 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
639 * external/sax/Makefile.in: Rebuilt.
640 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
642 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
644 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
645 Call _Jv_CopyClassesToSystemLoader.
646 * java/lang/natClassLoader.cc (system_class_list): New global.
647 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
649 (_Jv_CopyClassesToSystemLoader): New function.
650 (SYSTEM_LOADER_INITIALIZED): New define.
651 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
652 (_Jv_CheckABIVersion): Use it.
653 (_Jv_ClassForBootstrapLoader): New function.
654 * Makefile.in: Rebuilt.
655 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
657 2005-05-10 Tom Tromey <tromey@redhat.com>
659 * gcj/javaprims.h: Updated.
660 * java/lang/String.java (String(StringBuilder)): New constructor.
661 * java/lang/natStringBuilder.cc: New file.
662 * java/lang/StringBuilder.java: New file.
663 * Makefile.in: Rebuilt.
664 * Makefile.am (core_java_source_files): Added StringBuilder.java.
665 (nat_source_files): Added natStringBuilder.cc.
667 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
670 * testsuite/libjava.jacks/jacks.xfail: Adjust.
672 2005-05-09 Mike Stump <mrs@apple.com>
674 * configure: Regenerate.
676 2005-05-09 David Daney <ddaney@avtrex.com>
678 * java/util/BitSet.java (get(int, int)): Fix breakage when
679 requested set doesn't start on a multiple of 64.
681 2005-05-07 Matthias Klose <doko@debian.org>
683 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
685 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
687 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
688 * Makefile.in: Regenerate.
689 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
690 (createCompatibleVolatileImage(int,int)): Implement.
691 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
693 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
695 (createVolatileImage): Implement.
696 (createBuffers): Likewise.
697 (getBackBuffer): Likewise.
699 (destroyBuffers): Likewise.
700 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
701 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
702 (CanvasFlipBufferStrategy): Likewise.
703 (createBufferStrategy(int)): New method.
704 (createBufferStrategy(int,BufferCapabilities)): Likewise.
705 * java/awt/Component.java (BltBufferStrategy): Implement and
707 (FlipBufferStrategy): Likewise.
708 * java/awt/Window.java (WindowBltBufferStrategy): New class.
709 (WindowFlipBufferStrategy): Likewise.
710 (createBufferStrategy(int)): New method.
711 (createBufferStrategy(int,BufferCapabilities)): Likewise.
712 (getBufferStrategy): Likewise.
713 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
714 front to frontCaps and back to backCaps.
716 2005-05-06 Michael Koch <konqueror@gmx.de>
718 * java/awt/BufferCapabilities.java
719 (BufferCapabilities): Merged javadoc.
721 2005-05-06 Michael Koch <konqueror@gmx.de>
723 * java/util/Locale.java
724 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
725 (getLocale): New methods. Use it everywhere where instances of Locales
727 (getDisplayLanguage): Merged javadoc.
728 (getDisplayCountry): Likewise.
729 (getDisplayVariant): Likewise.
731 2005-05-06 Archie Cobbs <archie@dellroad.org>
733 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
734 use DeleteLocalRef() to avoid exhausting local native references.
736 2005-05-06 Mark Wielaard <mark@klomp.org>
738 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
739 (window_delete_cb): Don't use C++ style comments.
741 2005-05-06 Robert Schuster <thebohemian@gmx.net>
743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
746 2005-05-06 Robert Schuster <thebohemian@gmx.net>
748 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
749 (window_delete_cb): Made the function return TRUE.
751 2005-05-06 Roman Kennke <roman@kennke.org>
753 * javax/swing/text/PlainView.java
754 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
756 * javax/swing/text/Utilities.java
757 (drawTabbedText): Initilialize local variable pos correctly.
759 2005-05-06 Roman Kennke <roman@kennke.org>
761 * javax/swing/text/AbstractDocument.java
762 (LeafElement): Made start and end package private fields for
763 effective reindexing.
764 * javax/swing/text/PlainDocument.java
765 (constructor): The field rootElement is always BranchElement,
766 so we handle it as such.
767 (removeUpdate): Rewritten reindexing for removeUpdate so that
768 the actual removal is taken into account.
770 2005-05-06 Roman Kennke <roman@kennke.org>
772 * javax/swing/text/GapContent.java:
773 Removed debugging output stuff, which I accidentally left in.
775 2005-05-06 Roman Kennke <roman@kennke.org>
777 * javax/swing/text/GapContent.java:
778 Implemented a real GapContent. Only the public methods have
779 been implemented so far and still no UndoableEdit support.
781 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
783 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
786 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
788 * java/awt/image/BufferStrategy.java: Document.
790 * java/awt/BufferCapabilities.java: Document.
792 2005-05-04 Tom Tromey <tromey@redhat.com>
794 * java/nio/channels/FileLock.java (toString): Entirely avoid
797 2005-05-04 Andrew Overholt <overholt@redhat.com>
799 * java/nio/channels/FileLock.java (toString): Re-implement using
802 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
804 * java/awt/ImageCapabilities.java: Document.
806 * java/awt/image/VolatileImage.java: Unindent copyright header.
808 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
810 * java/awt/image/VolatileImage.java: Document.
812 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
814 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
815 (init_glib_threads): Check if threading system is already
818 2005-05-03 Andrew Overholt <overholt@redhat.com>
821 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
822 could not be acquired.
823 * java/nio/channels/FileLock.java (toString): Re-implement to be
824 in line with other implementations.
826 2005-05-03 Tom Tromey <tromey@redhat.com>
828 * java/lang/VMSecurityManager.java (currentClassLoader): Use
829 'systemClasssLoader' directly.
831 2005-05-03 Tom Tromey <tromey@redhat.com>
833 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
834 call VMClassLoader.getSystemClassLoader.
836 2005-04-29 Michael Koch <konqueror@gmx.de>
838 * java/net/NetworkInterface.java
840 (NetworkInterface(String,InetAddress)): Made package-private.
841 (NetworkInterface(String,InetAddress[])): New constructor.
842 (getRealNetworkInterfaces): Removed.
843 (getByName): Use VMNetworkInterface.getInterfaces().
844 (getByInetAddress): Likewise.
845 (getNetworkInterfaces): Likewise.
846 * java/net/VMNetworkInterface.java,
847 java/net/natVMNetworkInterfaceNoNet.cc,
848 java/net/natVMNetworkInterfacePosix.c,c
849 java/net/natVMNetworkInterfaceWin32.cc: New files.
850 * java/net/natNetworkInterfaceNoNet.cc,
851 java/net/natNetworkInterfacePosix.cc,
852 java/net/natNetworkInterfaceWin32.cc: Removed.
855 * configure, Makefile.in: Regenerated.
857 2005-04-29 Andrew Haley <aph@redhat.com>
859 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
861 2005-04-29 Dalibor Topic <robilad@kaffe.org>
863 * java/nio/channels/FileChannelImpl.java
864 (FileChannelImpl(String, int)): Removed.
865 (FileChannelImpl(File, int)): Added. Check if opened file is a
867 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
868 Call FileChannelImpl(File, int).
869 * java/io/FileOutputStream.java (FileInputStream): Call
870 FileChannelImpl(File, int).
871 * java/io/RandomAccessFile.java (RandomAccessFile):
872 Call FileChannelImpl(File, int). Switched constructors around.
874 2005-04-27 Andrew Haley <aph@redhat.com>
877 * prims.cc (_Jv_ResolvePoolEntry): New function.
878 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
879 * link.cc (_Jv_Linker::find_field): New arg: found_class.
880 (resolve_pool_entry): Initialize the class in which a field is
882 (link_symbol_table): Pass new arg to found_class.
884 2005-04-29 Michael Koch <konqueror@gmx.de>
886 * java/nio/charset/Charset.java
887 (provider): Reformatted.
889 2005-04-29 Michael Koch <konqueror@gmx.de>
891 * gnu/java/net/protocol/http/HTTPConnection.java:
892 (userAgent): Initialize from system properties.
893 (initUserAgent): Removed.
895 2005-04-29 Mark Wielaard <mark@klomp.org>
897 * java/util/ResourceBundle.java (getObject): Clarify
898 MissingResourceException detailed message.
899 (tryBundle(String,ClassLoader)): Likewise.
901 2005-04-29 Robert Schuster <thebohemian@gmx.net>
903 * java/beans/FeatureDescriptor.java:
904 (getShortDescription): Implemented fallback mechanism and fixed
905 documentation (fixes bug #12637).
906 (getDisplayName): Dito.
908 2005-04-29 Robert Schuster <thebohemian@gmx.net>
910 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
911 will now be set correctly.
912 (flushCaches): Now flushes all cached intermediate data.
914 2005-04-28 Michael Koch <konqueror@gmx.de>
916 * java/net/InetAddress.java
917 (aton): Fixed javadoc.
920 2005-04-28 Tom Tromey <tromey@redhat.com>
922 * javax/swing/Timer.java
923 (drainEvents, queueEvent): Now package-private.
925 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
927 * javax/swing/Timer.java
928 (constructor): Assigning initialDelay.
930 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
932 * javax/swing/Timer.java
933 (Waker.run): firing the first action event.
935 2005-04-28 Michael Koch <konqueror@gmx.de>
937 * javax/swing/Timer.java: Reordered all fields and methods,
940 2005-04-28 Michael Koch <konqueror@gmx.de>
942 * javax/swing/Timer.java: Javadocs merged
945 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
947 * gnu/java/net/protocol/file/Connection.java
948 (StaticData): New inner class to contain statics.
949 (connect, getHeaderField): Modified to use StaticData.
951 2005-04-28 Michael Koch <konqueror@gmx.de>
953 * gnu/java/net/protocol/file/Connection.java
954 (lineSeparator): Initialize with SystemProperties.getProperty().
956 2005-04-27 Chris Burdess <dog@gnu.org>
958 * gnu/java/net/protocol/file/Connection.java: Return correct content
959 length for directory listing.
960 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
961 #11285: return valid URLs for directories.i
963 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
965 * Makefile.am (ordinary_java_source_files): Add
966 gnu/java/net/protocol/https/Handler.java.
967 * Makefile.in: Regenerate.
968 * java/net/URL.java: Remove org.metastatic.jessie from default
969 protocol search path.
971 2005-04-27 Chris Burdess <dog@gnu.org>
973 * gnu/java/net/protocol/https/Handler.java: New file.
975 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
977 * javax/imageio/spi/IIORegistry.java (IIORegistry):
978 Don't assume that awt Toolkit is always ClasspathToolkit.
980 2005-04-27 Chris Burdess <dog@gnu.org>
982 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
983 absolute and relative paths in Location header.
985 2005-04-27 Chris Burdess <dog@gnu.org>
987 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
988 FileNotFoundException and implement getErrorStream on 404.
990 2005-04-27 Sven de Marothy <sven@physto.se>
992 * java/util/TimeZone.java,
993 (getDefaultDisplayName): Fix previous fix.
995 2005-04-27 Sven de Marothy <sven@physto.se>
997 * java/util/TimeZone.java,
998 (getDefaultDisplayName): Don't print zero offsets.
1000 2005-04-27 Roman Kennke <roman@kennke.org>
1002 * javax/swing/plaf/basic/BasicScrollBarUI
1003 (getThumbBounds): Do not make thumb smaller than
1005 * javax/swing/plaf/metal/MetalLookAndFeel
1006 (initComponentDefaults): Added color defaults for ScrollBar.
1007 * javax/swing/plaf/metal/MetalScrollBarUI
1008 (paintThumb): Added.
1009 (getMinimumThumbSize): Added.
1011 2005-04-27 Roman Kennke <roman@kennke.org>
1013 * javax/swing/plaf/metal/MetalLookAndFeel
1014 (initComponentDefaults): Added some default colors.
1016 2005-04-27 Roman Kennke <roman@kennke.org>
1018 * javax/swing/plaf/basic/BasicScrollBarUI.java
1019 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1020 to 'ScrollBar.thumbShadow'. The formes does not exist.
1021 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1023 2005-04-27 Roman Kennke <roman@kennke.org>
1025 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1026 * javax/swing/BoxLayout.java: Likewise.
1027 * javax/swing/UIManager.java: Likewise.
1028 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1029 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1030 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1031 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1032 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1033 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1034 * javax/swing/text/Document.java: Likewise.
1035 * javax/swing/text/GapContent.java: Likewise.
1036 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1037 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1039 2005-04-27 Roman Kennke <roman@kennke.org>
1041 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1042 (getPropertyPrefix): Added.
1044 2005-04-27 Roman Kennke <roman@kennke.org>
1046 * javax/swing/plaf/basic/BasicButtonUI.java
1047 (getPropertyPrefix): Added.
1048 (installDefaults): Use getPropertyPrefix instead of hard-coded
1051 2005-04-27 Roman Kennke <roman@kennke.org>
1053 * javax/swing/JToggleButton.java
1054 (JToggleButton): Removed horizontalAlignment setting, this
1055 was wrong. Added setting of an actionCommand, ToggleButtons
1056 have "" as default actionCommand.
1058 2005-04-27 Michael Koch <konqueror@gmx.de>
1060 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1061 to work around CNI limitation.
1063 2005-04-27 Sven de Marothy <sven@physto.se>
1065 * java/nio/charset/Charset.java:
1066 (defaultCharset()): New method.
1067 Status updated to 1.5
1069 2005-04-27 Sven de Marothy <sven@physto.se>
1071 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1073 2005-04-27 Sven de Marothy <sven@physto.se>
1075 * java/nio/charset/Charset.java: Reset cached de/encoders.
1077 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1079 * java/nio/charset/Charset.java (forName): Throws
1080 IllegalArgumentException when argument is null
1081 and added documentation.
1083 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1085 * java/nio/charset/Charset.java (providers):
1086 New method to make an array of CharsetProviders defined in
1087 META-INF/services/java.nio.charset.spi.CharsetProvider.
1088 (charsetForName, availableCharsets): Use the
1089 new method providers().
1091 2005-04-26 Michael Koch <konqueror@gmx.de>
1093 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1094 Fixed typos in javadocs.
1095 (isSiteLocalAddress): Fixed handling of byte values.
1096 (isMCLinkLocal): Likewise.
1097 * java/net/Inet4Address.java
1098 (isMulticastAddress): Call super method.
1099 (isLoopbackAddress): Likewise.
1100 (isAnyLocalAddress): Likewise.
1101 (isLinkLocalAddress): Likewise.
1102 (isSiteLocalAddress): Likewise.
1103 (isMCGlobal): Likewise.
1104 (isMCNodeLocal): Likewise.
1105 (isMCLinkLocal): Likewise.
1106 (isMCSiteLocal): Likewise.
1107 (isMCOrgLocal): Likewise.
1108 (getHostAddress): Likewise.
1110 2005-04-26 Sven de Marothy <sven@physto.se>
1112 * java/net/InetAddress.java
1113 (toString): Don't print empty hostnames.
1115 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1118 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1119 'false' to native lock().
1120 (lock): Pass 'true' to native lock().
1122 2005-04-26 Michael Koch <konqueror@gmx.de>
1124 * java/net/InetAddress.java:
1125 Fixed typos in javadocs.
1127 2005-04-26 Andrew Haley <aph@redhat.com>
1130 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1133 2005-04-26 Tom Tromey <tromey@redhat.com>
1135 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1136 gnu): Now package-private.
1137 * javax/swing/text/html/parser/DocumentParser.java (parser,
1138 callBack, gnu): Now package-private.
1139 * javax/swing/text/StringContent.java (content, setOffset,
1140 checkLocation): Now package-private.
1141 * javax/swing/text/JTextComponent.java (doc): Now
1143 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1144 lastGoodOrientation, origParent, borders, cachedBounds,
1145 cachedOrientation, DragWindow): Now package-private.
1146 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1147 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1148 tabAreaRect, contentRect, createIncreaseButton,
1149 createDecreaseButton, findPointForIndex): Now package-private.
1150 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1151 (currentDividerLocation, moveDividerTo): Now package-private.
1152 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1154 * javax/swing/plaf/basic/BasicScrollBarUI.java
1155 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1156 Now package-private.
1157 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1158 (topWindowListener): Now package-private.
1159 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1160 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1161 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1163 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1165 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1166 Now package-private.
1167 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1169 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1170 borderInsets): Now package-private.
1171 (arrowButtonWidth): Likewise. Now a constant.
1172 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1173 makeTabs, updatePreviewPanel): Now package-private.
1174 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1175 darkShadow, highlight): Now package-private.
1176 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1177 (addColorToQueue): Now package-private.
1178 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1179 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1180 GSpinner, BSpinner): Now package-private.
1181 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1182 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1183 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1184 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1185 updateTrack): Now package-private.
1186 * javax/swing/TransferHandler.java (clipboard): Now
1188 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1190 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1192 * javax/swing/RepaintManager.java (globalManager): Now
1194 * javax/swing/JFormattedTextField.java (editValid): Now
1196 * javax/swing/JColorChooser.java (makeModal): Now
1198 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1199 index, path): Now package-private.
1200 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1201 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1202 pointEquals): Now package-private.
1203 * java/awt/geom/Arc2D.java (type): Now package-private.
1204 * java/awt/Window.java (windowFocusOwner): Now package-private.
1205 * java/awt/TextComponent.java (editable, selectionStart,
1206 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1208 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1210 * java/awt/MenuComponent.java (focusListener): Now
1212 * java/awt/Frame.java (state): Now package-private.
1213 * java/awt/Choice.java (pItems): Now package-private.
1214 * java/awt/Checkbox.java (state): Now package-private.
1215 * java/awt/Button.java (actionCommand, label): Now
1217 * gnu/javax/swing/text/html/parser/support/Parser.java
1218 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1220 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1222 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1223 clip, transform, font, comp): Now package-private.
1225 2005-04-26 Tom Tromey <tromey@redhat.com>
1227 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1230 2005-04-26 Mark Wielaard <mark@klomp.org>
1232 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1233 to MalformedURLException.
1235 2005-04-26 Michael Koch <konqueror@gmx.de>
1237 * java/security/AccessControlContext.java:
1239 (protectedDomains): Renamed from 'protectionDomain'.
1240 * java/security/AccessController.java:
1243 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1245 * gnu/java/security/action/GetSecurityPropertyAction.java
1246 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1247 of extending GetPropertyAction.
1250 (setParamters): New methods.
1251 (GetSecurityPropertyAction): Use new setParameters methods.
1253 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1255 * java/security/Security.java,
1256 java/security/cert/X509CRLSelector.java,
1257 java/security/cert/X509CertSelector.java:
1258 Modified to use SystemProperties.
1260 2005-04-26 Michael Koch <konqueror@gmx.de>
1262 * java/lang/System.java
1263 (setSecurityManager): Fixed comment.
1264 (getSecurityManager): Removed obsolete comment.
1266 2005-04-25 Tom Tromey <tromey@redhat.com>
1268 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1270 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1273 (connectSignals): Realize the window widget after connecting
1276 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1278 * java/awt/GraphicsEnvironment.java
1279 (localGraphicsEnvironment): New field.
1280 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1282 (isHeadless): Added support for java.awt.headless property.
1283 (isHeadlessInstance): Call headless().
1285 2005-04-25 Roman Kennke <roman@kennke.org>
1287 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1288 (getDisplayMode): Added. Returns the current display mode.
1289 (isFullScreenSupported): Added.
1290 * java/awt/GraphicsDevice.java
1291 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1292 This resizes and relocates the fullscreen window so that it uses
1293 the whole screen. This is not a fully accelerated fullscreen
1296 2005-04-25 Michael Koch <konqueror@gmx.de>
1298 * java/lang/Runtime.java,
1299 java/lang/SecurityManager.java,
1300 java/lang/System.java,
1301 java/lang/ThreadGroup.java:
1302 Replaced java.lang.Runtime.securityManager by
1303 java.lang.SecurityManager.current (as used in GNU classpath).
1305 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1307 * java/awt/Transparency.java
1308 (getTransparency): fixed API docs.
1310 2005-04-25 Archie Cobbs <archie@dellroad.org>
1312 * java/lang/Throwable.java: simplify initializing cause in constructor
1314 2005-04-25 Michael Koch <konqueror@gmx.de>
1316 * gnu/classpath/SystemProperties.java: New file.
1317 * gnu/classpath/natSystemProperties.cc: New file.
1318 * java/lang/Runtime.java
1319 (defaultProperties): Removed.
1321 (): Made thrown exceptions more verbose.
1322 (insertSystemProperties): Removed.
1323 * java/lang/System.java
1325 (properties): Likewise.
1326 (setSecurityManager): Reordered modifiers.
1327 (getenv): Improved javadoc.
1329 (isWordsBigEndian): Removed.
1330 * java/lang/natRuntime.cc
1331 (_Jv_SetDLLSearchPath): Likewise.
1332 (file_encoding): Likewise.
1333 (default_file_encoding): Likewise.
1334 (getpwuid_adaptor): Likewise.
1335 (insertSystemProperties): Likewise.
1336 * java/lang/natSystem.cc
1337 (isWordsBigEndian): Likewise.
1339 (ordinary_java_source_files):
1340 Added gnu/classpath/SystemProperties.java.
1341 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1342 * Makefile.in: Regenerated.
1344 2005-04-25 Roman Kennke <roman@kennke.org>
1346 * javax/swing/plaf/basic/BasicScrollBarUI.java
1347 (initDefaults): Initialize thumb*Color fields correctly.
1349 2005-04-25 Roman Kennke <roman@kennke.org>
1351 * javax/swing/text/GapContent.java:
1354 2005-04-25 Roman Kennke <roman@kennke.org>
1356 * javax/swing/plaf/metal/MetalBorders.java:
1357 Added inner class ScrollPaneBorder.
1358 * javax/swing/plaf/metal/MetalLookAndFeel.java
1359 (initComponentDefaults): Added default for "ScrollPane.border"
1360 to use the new ScrollPaneBorder.
1362 2005-04-25 Roman Kennke <roman@kennke.org>
1364 * javax/swing/text/AbstractDocument.java:
1365 Added FIXME comments. This class still has to be
1366 implemented thread-safe.
1368 2005-04-25 Roman Kennke <roman@kennke.org>
1370 * javax/swing/tree/DefaultTreeSelectionModel.java
1371 (DefaultTreeSelectionModel): Initialize listenerList here.
1373 2005-04-25 Roman Kennke <roman@kennke.org>
1375 * javax/swing/plaf/metal/MetalTextFieldUI.java
1376 (createUI): Return one instance per Component instead of a
1379 2005-04-25 Roman Kennke <roman@kennke.org>
1381 * javax/swing/text/Document.java:
1382 Added API documentation comments.
1384 2005-04-25 Roman Kennke <roman@kennke.org>
1386 * javax/swing/text/AbstractDocument.java
1387 (getDocumentProperties): Implemented.
1388 (setDocumentProperties): Implemented.
1389 (getProperty): Implemented.
1390 (putProperty): Implemented.
1392 2005-04-25 Roman Kennke <roman@kennke.org>
1394 * javax/swing/BoxLayout
1395 (preferredLayoutSize): Fixed computation so that it correctly
1396 adds the top and bottom insets of the container.
1398 2005-04-25 Roman Kennke <roman@kennke.org>
1400 * javax/swing/plaf/basic/BasicMenuItemUI.java
1401 (paintText): Make use of the 'selectionForeground' UI default
1404 2005-04-25 Roman Kennke <roman@kennke.org>
1406 * javax/swing/plaf/basic/BasicLookAndFeel.java
1407 (initSystemColorDefaults): Modified colors to match the
1408 BasicLookAndFeel in the reference implementation.
1409 (initComponentDefaults): Likewise.
1411 2005-04-25 Tom Tromey <tromey@redhat.com>
1413 * include/jni.h (_Jv_va_list): Removed.
1414 Moved configuration code...
1415 * include/jni_md.h: ... here. New file.
1416 * include/Makefile.in: Rebuilt.
1417 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1419 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1421 * java/io/FileInputStream.java (FileInputStream(File)),
1422 java/io/FileOutputStream.java (FileOutputStream(File)):
1423 Removed unnecessary File.isDirectory() check.
1425 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1427 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1428 gij if get_multilibs fails.
1430 2005-04-22 Anthony Green <green@redhat.com>
1432 * jni.cc (natrehash): Don't bother clearing memory again.
1433 * interpret.cc (do_allocate_static_fields): Ditto.
1434 * java/lang/natString.cc (rehash): Ditto.
1436 2005-04-22 Roman Kennke <roman@kennke.org>
1438 * javax/swing/plaf/basic/BasicLookAndFeel.java
1439 (initComponentDefaults): Changed Button.border to be
1440 BasicBorders.getButtonBorder as it should be.
1442 2005-04-22 Roman Kennke <roman@kennke.org>
1444 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1445 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1446 should according to a mauve testcase, instead of the preferred
1449 2005-04-22 Roman Kennke <roman@kennke.org>
1451 * javax/swing/JMenu.java
1452 (add): add(Component) now calls PopupMenu.insert(..) instead of
1453 PopupMenu.add(..). add(..) is not implemented for Component,
1454 so JComponent.add(..) is called instead, adding the component
1457 2005-04-22 Roman Kennke <roman@kennke.org>
1459 * javax/swing/plaf/basic/BasicButtonListener.java
1460 (mousePressed): replaced query to getModifiersEx with getModifiers.
1461 This method relied on faulty behaviour in getModifierEx.
1462 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1463 This method relied on faulty behaviour in getModifierEx.
1465 2005-04-22 Roman Kennke <roman@kennke.org>
1467 * javax/swing/plaf/metal/MetalLookAndFeel.java
1468 (getDefaults): Call addCustomEntriesToTable on the theme.
1470 2005-04-22 Roman Kennke <roman@kennke.org>
1472 * javax/swing/tree/DefaultTreeSelectionModel.java
1473 (constructor): Added implementation.
1474 (getRowMapper): Added implementation.
1475 (setSelectionMode): Added implementation.
1476 (getSelectionMode): Added implementation.
1477 (getSelectionPath): Added implementation.
1478 (getSelectionPaths): Added implementation.
1479 (getSelectionCount): Added implementation.
1480 (isSelectionEmpty): Added implementation.
1481 (getSelectionRows): Added implementation.
1482 (getMinSelectionRow): Added implementation.
1483 (getMaxSelectionRow): Added implementation.
1484 (getLeadSelectionRow): Added implementation.
1485 (getLeadSelectionPath): Added implementation.
1487 2005-04-22 Casey Marshall <csm@gnu.org>
1489 * gnu/java/security/der/DERValue.java
1490 (getValueAs): new method.
1491 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1492 (<init>): read both dates with 'DERValue.getValueAs', with
1493 'GENERALIZED_TIME' as the argument.
1495 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1497 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1498 be null, check for that case and don't deference it.
1500 2005-04-22 Sven de Marothy <sven@physto.se>
1502 * java/util/logging/LogManager.java: Reformatted.
1503 (readConfiguration): If a logger for a key is not found, create one.
1505 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1507 * java/rmi/Naming.java:
1508 Added class documentation.
1509 (lookup(String)): Call parseURL and getName.
1510 (bind(String,java.rmi.Remote)): Likewise.
1511 (unbind(String)): Likewise.
1512 (rebind(String, java.rmi.Remote)): Likewise.
1513 (list(String)): Call parseURL.
1514 (parseURL(String)): New method to handle parsing and defaults.
1515 (getName(java.net.URL)): New method to handle finding the service name.
1517 2005-04-21 Tom Tromey <tromey@redhat.com>
1519 * java/lang/natClass.cc (initializeClass): Link class.
1521 2005-04-21 Tom Tromey <tromey@redhat.com>
1523 * java/lang/AssertionError.java: Typo fix.
1525 2005-04-21 Tom Tromey <tromey@redhat.com>
1527 * java/lang/VMClassLoader.java (transformException): Removed.
1528 (resolveClass): No longer native. Now does nothing.
1529 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1531 2005-04-21 Anthony Green <green@redhat.com>
1534 * testsuite/libjava.special/special.exp,
1535 testsuite/libjava.special/pr21115I.java,
1536 testsuite/libjava.special/pr21115.java,
1537 testsuite/libjava.special/pr21115.out: New files.
1539 2005-04-21 Chris Burdess <dog@gnu.org>
1541 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1542 CRLF-delimited chunks.
1544 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1546 * java/net/URI.java:
1547 Added class documentation.
1548 (parseURI(String)): Only handle scheme-specific parts
1549 if URI is not opaque. Allow for parts that can't be null.
1550 (toString()): Output the scheme-specific part whole, rather
1551 than as its possibly non-existent components.
1553 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1555 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1556 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1557 Adjusted to match new regexp.
1559 2005-04-20 Michael Koch <konqueror@gmx.de>
1561 * gnu/java/net/protocol/file/Connection.java,
1562 gnu/java/net/protocol/jar/Connection.java:
1563 Reorganized import statements. Fixed @author tags.
1565 2005-04-20 Chris Burdess <dog@gnu.org>
1567 * java/io/DataOutputStream.java (writeUTF): Use block write for
1570 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1572 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1573 (readLine): Changed newline handling.
1575 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1577 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1578 ColorModel,byte[],int,int): Fixed byte to int conversion.
1580 2005-04-20 Michael Koch <konqueror@gmx.de>
1582 * java/io/FilePermission.java
1583 (serialVersionUID): Made private.
1584 (ALL_FILES): New constant.
1585 (implies): Handle '<<ALL FILES>>' case.
1587 2005-04-20 Sven de Marothy <sven@physto.se>
1589 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1590 (drawImage): Don't notify the image observer for offscreen images.
1591 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1592 (setPixels): Don't notify the image observer.
1594 2005-04-20 Sven de Marothy <sven@physto.se>
1596 * java/nio/ByteBufferImpl.java:
1597 (putChar): Inlined for speed.
1598 (put, get): Bulk methods can use arraycopy.
1599 * java/nio/CharBufferImpl.java:
1600 (put, get): Bulk methods can use arraycopy.
1602 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1604 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1606 * java/nio/CharBufferImpl.java
1607 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1608 (get(), put(char)): Inlined checks and field updates. Fixed to
1609 take array_offset into account.
1610 (get(int), put(int, char)): Fixed to take array_offset into account.
1612 2005-04-20 Sven de Marothy <sven@physto.se>
1614 * java/text/SimpleDateFormat.java:
1615 (formatWithAttribute): Pad year before truncating digits.
1617 2005-04-20 Michael Koch <konqueror@gmx.de>
1619 * gnu/java/net/PlainDatagramSocketImpl.java:
1620 Merged copyright header.
1621 * gnu/java/net/PlainSocketImpl.java:
1622 Reorganized import statements. Fixed @author tags.
1624 2005-04-20 Michael Koch <konqueror@gmx.de>
1626 * gnu/java/lang/ClassHelper.java,
1627 gnu/java/lang/reflect/TypeSignature.java:
1630 2005-04-20 Michael Koch <konqueror@gmx.de>
1632 * gnu/java/beans/IntrospectionIncubator.java:
1633 Fixed HTML tags in javadocs.
1635 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1637 * gnu/java/beans/IntrospectionIncubator.java
1638 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1639 set(), is(), add() and remove() with properties or events.
1641 2005-04-20 Michael Koch <konqueror@gmx.de>
1643 * gnu/java/awt/image/XBMDecoder.java:
1644 Fixed modifier order.
1646 2005-04-20 Roman Kennke <roman@kennke.org>
1648 * javax/swing/plaf/basic/BasicButtonUI.java
1649 (paint): This should not care about margin and insets
1650 at the same time, as insets already include the margin
1652 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1653 (getPreferredButtonSize): Likewise.
1654 * javax/swing/plaf/metal/MetalBorders.java
1655 (getBorderInsets): Likewise.
1657 2005-04-20 Roman Kennke <roman@kennke.org>
1659 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1660 (createMessageArea): The JPanel that holds the message area
1661 doesn't need to override getPreferredSize. This prevents some
1662 message components from rendering nicely.
1664 2005-04-20 Roman Kennke <roman@kennke.org>
1666 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1667 (createUI): Do not share instances between components.
1668 * javax/swing/plaf/metal/MetalSliderUI.java
1669 (createUI): Do not share instances between components.
1671 2005-04-20 Roman Kennke <roman@kennke.org>
1673 * javax/swing/plaf/metal/MetalBorders:
1674 (PopupMenuBorder): Added.
1675 * javax/swing/plaf/metal/MetalLookAndFeel
1676 (initComponentDefaults): Added PopupMenuBorder.
1678 2005-04-20 Roman Kennke <roman@kennke.org>
1680 * javax/swing/tree/DefaultTreeSelectionModel.java:
1681 Added API documentation all over the class.
1683 2005-04-20 Roman Kennke <roman@kennke.org>
1685 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1686 (installDefaults): Link managed JScrollPane in instance field.
1687 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1689 2005-04-20 Roman Kennke <roman@kennke.org>
1691 * javax/swing/plaf/basic/BasicScrollBarUI.java
1692 (PropertyChangeHandler.propertyChange): Add default
1693 to switch statement to avoid errors with unusual values
1695 (installComponents): Likewise.
1697 2005-04-20 Roman Kennke <roman@kennke.org>
1699 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1700 (createUI): Instances cannot be shared among JScrollPanes.
1702 2005-04-20 Roman Kennke <roman@kennke.org>
1704 * javax/swing/plaf/metal/MetalLookAndFeel.java
1705 (initComponentDefaults): Added defaults for Menu, MenuBar
1708 2005-04-20 Roman Kennke <roman@kennke.org>
1710 * javax/swing/plaf/basic/BasicScrollBarUI.java
1711 (installUI): Install listeners after everything all, otherwise
1712 we get strange NPEs in some situations, especially with
1714 (createIncreaseButton): Orientation is expected to be
1715 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1716 HORIZONTAL or VERTICAL.
1717 (createDecreaseButton): Orientation is expected to be
1718 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1719 HORIZONTAL or VERTICAL.
1720 (installComponents): Orientation for buttons is expected to be
1721 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1722 HORIZONTAL or VERTICAL.
1724 2005-04-20 Roman Kennke <roman@kennke.org>
1726 * javax/swing/JToolBar.java
1727 (addImpl): Adjust added AbstractButtons to look and feel like
1729 * javax/swing/plaf/metal/MetalBorders.java:
1730 Adjusted insets of ButtonBorder.
1731 (RolloverMarginBorder): Added class for toolbar buttons.
1732 (getButtonBorder): Adjusted factory method to return a shared
1733 instance of button border.
1734 (getToolbarButtonBorder): Added factory method to return a shared
1735 instance of toolbar button border.
1736 (getMarginBorder): Added factory method to return a shared
1737 instance of margin border.
1738 * javax/swing/plaf/metal/MetalButtonUI.java
1739 (installDefauls): If button is child of a JToolBar then set
1740 special border on this button.
1742 2005-04-20 Michael Koch <konqueror@gmx.de>
1744 * java/net/URLConnection.java
1745 (getContent): Fixed javadoc comment.
1747 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1749 * java/net/URL.java:
1750 (toURI()): Implemented.
1752 2005-04-19 Michael Koch <konqueror@gmx.de>
1754 * java/net/InetAddress.java
1755 (InetAddress): Fixed javadoc comment.
1757 (lookup): Added javadoc.
1758 (getFamily): Likewise.
1759 * java/net/ServerSocket.java
1760 (getChannel): Improved javadoc comment.
1762 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1764 * gnu/xml/dom/html2/DomHTMLParser.java:
1765 Changed 'enum' references to become 'enumeration'.
1767 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1769 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1771 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1773 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1774 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1775 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1776 (validateParameters(TagElement,htmlAttributeSet)):
1777 Replaced 'enum' with 'enumeration'.
1778 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1781 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1783 * javax/swing/text/html/parser/Entity.java (getType): New method.
1784 * javax/swing/text/html/parser/DocumentParser.java:
1785 Inherit from javax.swing.text.html.parser.Parser.
1787 2005-04-19 Chris Burdess <dog@gnu.org>
1789 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1790 check for HTML/XHTML namespace.
1792 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1794 * javax/swing/text/html/parser/Parser.java,
1795 javax/swing/text/html/parser/Entity.java:
1796 Inheriting from DTDConstants.
1797 * javax/swing/text/html/parser/AttributeList.java
1798 (getValues): Changed return type.
1799 * javax/swing/text/html/parser/DocumentParser
1800 (parse): Adding the callback parameter that receives
1803 2005-04-19 Chris Burdess <dog@gnu.org>
1805 * gnu/xml/dom/DomImpl.java,
1806 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1807 gnu/xml/dom/html2/DomHTMLDocument.java,
1808 gnu/xml/dom/html2/DomHTMLElement.java,
1809 gnu/xml/dom/html2/DomHTMLFormElement.java,
1810 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1811 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1812 gnu/xml/dom/html2/DomHTMLImpl.java,
1813 gnu/xml/dom/html2/DomHTMLInputElement.java,
1814 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1815 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1816 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1817 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1818 gnu/xml/dom/html2/DomHTMLTableElement.java,
1819 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1820 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1821 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1822 UI events, and tree utility functions.
1824 2005-04-19 Michael Koch <konqueror@gmx.de>
1826 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1827 gnu/javax/swing/text/html/parser/gnuDTD.java,
1828 gnu/javax/swing/text/html/parser/models/node.java:
1829 Reworked import statements.
1831 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1833 * javax/swing/text/html/HTMLDocument.java: New file.
1835 2005-04-19 Michael Koch <konqueror@gmx.de>
1837 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1839 * javax/swing/text/html/parser/AttributeList.java:
1840 Fixed order of modifiers.
1841 (AttributeList): Made final.
1842 * javax/swing/text/html/parser/ContentModel.java:
1843 Fixed html characters in javadocs.
1844 * javax/swing/text/html/parser/DTD.java
1845 (DTD): Don't implement java.io.Serializable directly.
1846 (getElement): Simplified.
1847 * javax/swing/text/html/parser/DTDConstants.java:
1849 * javax/swing/text/html/parser/Element.java:
1850 Fixed order of modifiers.
1851 * javax/swing/text/html/parser/Parser.java:
1852 Reformatted. Don't use fully-qualified class names.
1853 * javax/swing/text/html/parser/ParserDelegator.java:
1854 Fixed order of modifiers.
1855 * javax/swing/text/rtf/RTFParser.java:
1856 Re-ordered import statements.
1857 * javax/swing/text/rtf/RTFScanner.java:
1858 Removed unused import statement.
1860 2005-04-19 Chris Burdess <dog@gnu.org>
1862 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1863 gnu/xml/dom/html2/DomHTMLCollection.java,
1864 gnu/xml/dom/html2/DomHTMLDocument.java,
1865 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1867 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1868 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1869 gnu/xml/dom/html2/DomHTMLDivElement.java,
1870 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1871 gnu/xml/dom/html2/DomHTMLFontElement.java,
1872 gnu/xml/dom/html2/DomHTMLFormElement.java,
1873 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1874 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1875 gnu/xml/dom/html2/DomHTMLHRElement.java,
1876 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1877 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1878 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1879 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1880 gnu/xml/dom/html2/DomHTMLImageElement.java,
1881 gnu/xml/dom/html2/DomHTMLInputElement.java,
1882 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1883 gnu/xml/dom/html2/DomHTMLLIElement.java,
1884 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1885 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1886 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1887 gnu/xml/dom/html2/DomHTMLMapElement.java,
1888 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1889 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1890 gnu/xml/dom/html2/DomHTMLModElement.java,
1891 gnu/xml/dom/html2/DomHTMLOListElement.java,
1892 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1893 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1894 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1895 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1896 gnu/xml/dom/html2/DomHTMLParamElement.java,
1897 gnu/xml/dom/html2/DomHTMLPreElement.java,
1898 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1899 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1900 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1901 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1902 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1903 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1904 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1905 gnu/xml/dom/html2/DomHTMLTableElement.java,
1906 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1907 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1908 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1909 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1910 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1912 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1914 * javax/swing/text/ChangedCharSetException.java,
1915 javax/swing/text/html/HTMLEditorKit.java,
1916 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1917 javax/swing/text/html/parser/AttributeList.java,
1918 javax/swing/text/html/parser/ContentModel.java,
1919 javax/swing/text/html/parser/DocumentParser.java,
1920 javax/swing/text/html/parser/DTD.java,
1921 javax/swing/text/html/parser/DTDConstants.java,
1922 javax/swing/text/html/parser/Element.java,
1923 javax/swing/text/html/parser/Entity.java,
1924 javax/swing/text/html/parser/Parser.java,
1925 javax/swing/text/html/parser/TagElement.java,
1926 gnu/javax/swing/text/html/package.html,
1927 gnu/javax/swing/text/html/parser/gnuDTD.java,
1928 gnu/javax/swing/text/html/parser/HTML_401F.java,
1929 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1930 gnu/javax/swing/text/html/parser/htmlValidator.java,
1931 gnu/javax/swing/text/html/parser/package.html,
1932 gnu/javax/swing/text/html/parser/models/list.java,
1933 gnu/javax/swing/text/html/parser/models/node.java,
1934 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1935 gnu/javax/swing/text/html/parser/models/package.html,
1936 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1937 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1938 gnu/javax/swing/text/html/parser/models/transformer.java,
1939 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1940 gnu/javax/swing/text/html/parser/support/package.html,
1941 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1942 gnu/javax/swing/text/html/parser/support/Parser.java,
1943 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1944 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1945 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1946 gnu/javax/swing/text/html/parser/support/low/Location.java,
1947 gnu/javax/swing/text/html/parser/support/low/node.java,
1948 gnu/javax/swing/text/html/parser/support/low/package.html,
1949 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1950 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1951 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1952 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1954 * javax/swing/text/html/HTML.java,
1955 javax/swing/text/html/parser/ParserDelegator.java:
1956 New files (replacing).
1957 * javax/swing/text/html/package.html,
1958 javax/swing/text/html/parser/package.html: Documenting the
1961 2005-04-19 Chris Burdess <dog@gnu.org>
1963 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1964 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1965 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1966 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1967 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1968 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1969 gnu/xml/dom/html2/DomHTMLBRElement.java,
1970 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1971 gnu/xml/dom/html2/DomHTMLCollection.java,
1972 gnu/xml/dom/html2/DomHTMLDocument.java,
1973 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1975 2005-04-19 Michael Koch <konqueror@gmx.de>
1977 * Makefile.am: Added new files.
1978 * Makefile.in: Regenerated.
1980 2005-04-19 Roman Kennke <roman@kennke.org>
1982 * javax/swing/text/JTextComponent.java
1983 (JTextComponent): Added repaintListener which issues repaint
1984 requests when the underlying document changes.
1985 (setDocument): Adds repaintListener to document when the
1986 document is changed.
1987 * javax/swing/text/DefaultEditorKit.java:
1988 Removed repaint calls on JTextComponent. This is now handled
1989 through a DocumentListener in JTextComponent that repaints
1990 the component when needed.
1992 2005-04-19 Roman Kennke <roman@kennke.org>
1995 * javax/swing/text/StyleContext.java
1996 (NamedStyle.setResolveParent): Added null
1999 2005-04-19 Michael Koch <konqueror@gmx.de>
2001 * java/rmi/server/RemoteObject.java:
2002 Removed unused import statement.
2004 2005-04-19 Michael Koch <konqueror@gmx.de>
2006 * java/net/URL.java: Formatting cleanups.
2008 2005-04-19 Michael Koch <konqueror@gmx.de>
2010 * java/awt/FontMetrics.java: Reformatted.
2011 (getFontRenderContext): Handle case when java.awt.Graphics context is
2014 2005-04-19 Michael Koch <konqueror@gmx.de>
2016 * java/awt/FontMetrics.java
2017 (getStringBounds): New methods.
2020 2005-04-19 Michael Koch <konqueror@gmx.de>
2022 * gnu/java/security/x509/X509Certificate.java
2023 (parse): Handle val == null case.
2025 2005-04-19 Roman Kennke <roman@kennke.org>
2027 * javax/swing/plaf/metal/MetalLookAndFeel.java
2028 (initComponentDefaults): Added defaults for Menu, MenuBar
2031 2005-04-19 Roman Kennke <roman@kennke.org>
2033 * javax/swing/plaf/metal/MetalLookAndFeel.java
2034 (initComponentDefaults): Added Label.font.
2035 (initSystemColorDefaults): Added this method and adjusted the
2036 general control color.
2038 2005-04-19 Roman Kennke <roman@kennke.org>
2040 * javax/swing/plaf/metal/MetalBorders.java:
2042 * javax/swing/plaf/metal/MetalButtonUI.java:
2043 (installDefaults): Install button font.
2044 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2045 (initComponentDefaults): Added button border, font and margin.
2046 Changed components background color to the Metal current themes
2049 2005-04-19 Roman Kennke <roman@kennke.org>
2051 * javax/swing/plaf/metal/MetalLookAndFeel.java
2052 (initComponentDefaults): Added to set Metal specific component
2055 2005-04-19 Mark Wielaard <mark@klomp.org>
2057 * javax/swing/plaf/metal/MetalLookAndFeel.java
2058 (initClassDefaults): Call super.initClassDefaults().
2060 2005-04-19 Roman Kennke <roman@kennke.org>
2062 * javax/swing/plaf/metal/MetalLookAndFeel.java
2063 (initClassDefaults): Added to include the *UI classes.
2065 2005-04-19 Roman Kennke <roman@kennke.org>
2067 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2069 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2071 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2073 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2075 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2077 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2079 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2081 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2083 * javax/swing/plaf/metal/MetalSliderUI.java:
2085 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2087 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2089 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2091 2005-04-19 Roman Kennke <roman@kennke.org>
2093 * javax/swing/plaf/metal/MetalButtonUI.java:
2094 Added skeleton class.
2095 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2096 Added skeleton class.
2097 * javax/swing/plaf/metal/MetalLabelUI.java:
2098 Added skeleton class.
2099 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2100 Added skeleton class.
2101 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2102 Added skeleton class.
2103 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2104 Added skeleton class.
2106 2005-04-19 Roman Kennke <roman@kennke.org>
2108 * javax/swing/UIDefaults.java:
2109 Added API documentation for all methods.
2111 2005-04-19 Roman Kennke <roman@kennke.org>
2113 * javax/swing/UIDefaults.java
2114 (put): Now uses new checkAndPut method instead of checking
2116 (putDefaults): Fixed so that it accepts null-values and
2117 treats them like remove(key).
2118 (checkAndPut): Added. This checks for null-values and calls
2121 2005-04-19 Michael Koch <konqueror@gmx.de>
2123 * Makefile.am: Added new files.
2124 * Makefile.in: Regenerated.
2126 2005-04-19 Mark Wielaard <mark@klomp.org>
2128 * java/lang/natRuntime.cc (insertSystemProperties): Set
2129 java.class.path to CLASSPATH only when not empty. Fall back to
2130 default path "." when java.class.path is empty.
2132 2005-04-19 Michael Koch <konqueror@gmx.de>
2134 * javax/swing/text/rtf/ControlWordToken.java,
2135 javax/swing/text/rtf/RTFEditorKit.java,
2136 javax/swing/text/rtf/RTFParseException.java,
2137 javax/swing/text/rtf/RTFParser.java,
2138 javax/swing/text/rtf/RTFScanner.java,
2139 javax/swing/text/rtf/TextToken.java,
2140 javax/swing/text/rtf/Token.java: New files.
2141 * Makefile.am: Added new files.
2142 * Makefile.in: Regenerated.
2144 2005-04-19 Michael Koch <konqueror@gmx.de>
2146 * java/awt/geom/QuadCurve2D.java:
2147 Fixed Brian Gough's name for real.
2149 2005-04-19 Roman Kennke <roman@kennke.org>
2151 * javax/swing/UIManager.java:
2152 Make the UIManager respect the swing.defaultlaf system
2155 2005-04-19 Tom Tromey <tromey@redhat.com>
2157 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2160 2005-04-19 Roman Kennke <roman@kennke.org>
2162 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2163 Fixed tabs to spaces.
2165 2005-04-19 Roman Kennke <roman@kennke.org>
2167 * javax/swing/plaf/basic/BasicMenuUI.java
2168 (getMaximumSize): Now returns preferredSize because JMenu should
2169 never be bigger than that.
2170 * javax/swing/JRootPane
2171 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2173 2005-04-19 Roman Kennke <roman@kennke.org>
2175 * javax/swing/JRootPane.java:
2176 Fixed various tabs to be spaces.
2177 (RootLayout.layoutContainer): Made menubar left aligned.
2179 2005-04-19 Roman Kennke <roman@ontographics.com>
2181 * javax/swing/JList.java
2182 (getPreferredScrollableViewportSize):
2183 The previous implementation was merely guessing the size,
2184 now it respects layoutOrientation, visibleRowCount
2186 (getScrollableTracksViewportHeight):
2187 Reimplemented so that layoutOrientation, visibleRowCount
2188 and preferred size are respected.
2189 (getScrollableTracksViewportWidth):
2190 Reimplemented so that layoutOrientation, visibleRowCount
2191 and preferred size are respected.
2192 * javax/swing/plaf/basic/BasicListUI.java
2194 Improved calculation of preferredSize when JList is
2195 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2197 The previous implementation assumed a layoutOrientation of
2198 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2199 JList.VERTICAL_WRAP.
2201 2005-04-19 Roman Kennke <roman@ontographics.com>
2203 * javax/swing/plaf/basic/BasicListUI.java
2204 (paintCell): use CellRendererPane for painting the cells.
2206 2005-04-19 Roman Kennke <roman@ontographics.com>
2208 * javax/swing/plaf/basic/BasicListUI:
2209 fixed modifiers of several fields, methods and inner
2210 classes to match the 'spec'.
2211 (getMaximumSize): removed. It's not in the spec and the
2212 implementations was superfluous.
2214 2005-04-19 Roman Kennke <roman@ontographics.com>
2216 * javax/swing/plaf/basic/BasicListUI:
2217 make BasicListUI capable of wrapping lists
2218 (layoutOrientation property of javax.swing.JList)
2220 2005-04-19 Roman Kennke <roman@ontographics.com>
2222 * javax/swing/plaf/basic/BasicListUI
2223 (updateLayoutState,paint): make BasicListUI aware of the
2224 width of the rendered JList.
2226 2005-04-19 Roman Kennke <roman@kennke.org>
2228 * javax/swing/ImageIcon.java
2229 Added API documentation.
2231 2005-04-19 Roman Kennke <roman@kennke.org>
2233 * javax/swing/text/ImageIcon.java
2234 (ImageIcon): Use setImage instead of direct assignment.
2235 (setImage): Call loadImage to make sure that the image is loaded.
2236 (loadImage): Waits for the image to complete loading.
2237 (getImageLoadStatus): Added. Returns the load status of the
2240 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2242 * javax/swing/JTextArea.java (replaceRange):
2243 Fixing doc.remove(start, length) misinterpretation.
2245 2005-04-19 Roman Kennke <roman@ontographics.com>
2247 * javax/swing/CellRendererPane.java:
2248 implemented all methods of this class.
2249 reformatted all wrong formatted code.
2251 2005-04-19 Roman Kennke <roman@kennke.org>
2253 * javax/swing/BoxLayout.java:
2254 (layoutContainer): Made this layout manager respect the
2255 minimum, maximum and preferred size more correctly.
2257 2005-04-19 Roman Kennke <roman@ontographics.com>
2259 * javax/swing/BoxLayout.java:
2260 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2261 layoutContainer): Make these methods and thereby the
2262 BoxLayout respect the insets (like borders) of the
2263 component that is laid out.
2265 2005-04-19 Roman Kennke <roman@kennke.org>
2267 * javax/swing/JComponent.java:
2268 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2269 Untabified the file.
2271 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2273 * javax/swing/JComboBox.java (constructors): selecting the
2274 first item if the box was constructed from the provided
2275 non - empty array or vector.
2277 2005-04-19 Michael Koch <konqueror@gmx.de>
2279 * gnu/java/awt/peer/gtk/GdkGraphics.java
2280 (getClipBounds): Handle clip being null.
2281 (setClip): Likewise.
2282 * java/beans/beancontext/BeanContextSupport.java
2286 (removeAll): Likewise.
2287 (retainAll): Likewise.
2289 2005-04-19 Michael Koch <konqueror@gmx.de>
2291 * java/beans/beancontext/BeanContextServicesSupport.java
2292 (BeanContextServicesSupport): Reimplemented.
2293 (addBeanContextServicesListener): Implemented.
2294 (initialize): Likewise.
2295 (removeBeanContextServicesListener): Likewise.
2296 * java/beans/beancontext/BeanContextSupport.java
2298 (addBeanContextMembershipListener): Likewise.
2299 (getLocale): Likewise.
2300 (initialize): Likewise.
2301 (iterator): Likewise.
2303 (toArray): Likewise.
2305 2005-04-19 Roman Kennke <roman@kennke.org>
2307 * java/awt/MediaTracker.java:
2308 Reindented tabs to spaces.
2310 2005-04-19 Roman Kennke <roman@kennke.org>
2312 * java/awt/MediaTracker.java
2313 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2314 confused the media tracker and lead to lockups. The LOADING
2315 bit is handled on other places.
2316 (addImage): Removed the 'start image tracking' stuff. This
2317 is not necessary and could confuse the media tracker.
2318 (checkAll): Improved the check for image status so that
2319 images that already complete images are detected. Also now
2320 are really all images checked and if necessary loaded. Before
2321 the method bailed out after the first incomplete image.
2322 (statusAll): Detect images that are complete after the
2323 call to Component.prepareImage(..).
2324 (checkID): The same as in checkAll.
2325 (statusID): The same as in statusAll.
2327 2005-04-19 Roman Kennke <roman@kennke.org>
2329 * java/awt/MediaTracker.java
2330 (addImage): Synchronized list access.
2331 (waitForAll): Fixed comparison of time (changed < to >).
2332 (waitForID): Fixed comparison of time (changed < to >).
2333 (removeImage): Synchronized list access.
2335 2005-04-19 Roman Kennke <roman@kennke.org>
2337 * java/awt/MediaTracker.java
2338 Added API documentation.
2340 2005-04-19 Roman Kennke <roman@kennke.org>
2342 * java/awt/MediaTracker.java
2343 (MediaEntry.imageUpdate): Fixed flags. The different flags
2344 must not be ORed together.
2345 (checkAll): Modified to handle different meaning of the flags.
2346 (waitForAll): Fixed so that it waits maximum the
2347 specified amount of milliseconds.
2348 (statusAll): Modified to handle different meaning of the flags.
2349 (waitForID): Fixed so that it waits maximum the
2350 specified amount of milliseconds.
2352 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2354 * java/awt/Font.java (decode): Handle null argument and allow
2357 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2359 * java/beans/EventHandler.java: Reworked documentation.
2360 (invoke): Fixed behavior to match spec.
2362 2005-04-19 Michael Koch <konqueror@gmx.de>
2364 * java/awt/print/PrinterJob.java
2365 (pageDialog): New method.
2366 (printDialog): Implemented.
2368 2005-04-19 Michael Koch <konqueror@gmx.de>
2370 * java/awt/image/ConvolveOp.java:
2371 Removed comment added by eclipse.
2373 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2375 * java/awt/image/IndexColorModel.java
2376 (getRGB): Check if pixel is negative.
2378 2005-04-19 Michael Koch <konqueror@gmx.de>
2380 * java/awt/image/RasterOp.java:
2381 Fixed wrong formatting.
2383 2005-04-18 Roman Kennke <roman@kennke.org>
2385 * java/awt/Compmonent.java
2386 (setComponentOrientation): Made this property firing a
2387 PropertyChangeEvent.
2389 2005-04-18 Roman Kennke <roman@kennke.org>
2391 * java/awt/BorderLayout.java
2392 (calcSize): Check for overflow when component sizes are added.
2394 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2396 * java/awt/AWTEvent.java (toString): Added case
2397 for source not being an AWT component.
2399 2005-04-18 Chris Burdess <dog@gnu.org>
2401 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2403 2005-04-18 Michael Koch <konqueror@gmx.de>
2405 gnu/java/awt/EmbeddedWindowSupport.java,
2406 gnu/java/net/HeaderFieldHelper.java,
2407 gnu/java/net/URLParseError.java,
2408 gnu/java/net/protocol/file/Handler.java,
2409 gnu/java/net/protocol/jar/Handler.java:
2410 Fixed usage of @author tag.
2412 2005-04-18 Michael Koch <konqueror@gmx.de>
2414 * gnu/xml/aelfred2/XmlParser.java:
2415 Reverted my typo fix.
2417 2005-04-18 Michael Koch <konqueror@gmx.de>
2419 * java/awt/geom/CubicCurve2D.java,
2420 java/awt/geom/QuadCurve2D.java:
2421 Fixed mentioning of Brian Gouph.
2423 2005-04-18 Michael Koch <konqueror@gmx.de>
2425 * gnu/java/awt/Buffers.java,
2426 gnu/java/awt/image/ImageDecoder.java,
2427 gnu/java/awt/image/XBMDecoder.java,
2428 gnu/java/awt/peer/ClasspathFontPeer.java,
2429 gnu/java/net/CRLFInputStream.java,
2430 gnu/java/net/EmptyX509TrustManager.java,
2431 gnu/java/net/LineInputStream.java,
2432 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2433 gnu/java/net/protocol/ftp/BlockInputStream.java,
2434 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2435 gnu/java/net/protocol/ftp/DTP.java,
2436 gnu/java/net/protocol/ftp/DTPInputStream.java,
2437 gnu/java/net/protocol/ftp/FTPConnection.java,
2438 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2439 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2440 gnu/java/net/protocol/ftp/StreamInputStream.java,
2441 gnu/java/net/protocol/http/ChunkedInputStream.java,
2442 gnu/java/net/protocol/http/HTTPConnection.java,
2443 gnu/java/net/protocol/http/HTTPURLConnection.java,
2444 gnu/java/net/protocol/http/Headers.java,
2445 gnu/java/net/protocol/http/Request.java,
2446 gnu/java/nio/ChannelInputStream.java,
2447 gnu/java/nio/ChannelOutputStream.java,
2448 gnu/java/nio/InputStreamChannel.java,
2449 gnu/java/nio/OutputStreamChannel.java,
2450 gnu/java/nio/SelectorProviderImpl.java,
2451 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2452 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2453 gnu/java/rmi/dgc/DGCImpl.java,
2454 gnu/java/rmi/registry/RegistryImpl.java,
2455 gnu/java/rmi/server/ProtocolConstants.java,
2456 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2457 gnu/java/rmi/server/RMIIncomingThread.java,
2458 gnu/java/rmi/server/RMIObjectInputStream.java,
2459 gnu/java/rmi/server/RMIObjectOutputStream.java,
2460 gnu/java/rmi/server/RMIVoidValue.java,
2461 gnu/java/rmi/server/UnicastConnectionManager.java,
2462 gnu/java/rmi/server/UnicastRef.java,
2463 gnu/java/rmi/server/UnicastRemoteCall.java,
2464 gnu/java/rmi/server/UnicastRemoteStub.java,
2465 gnu/java/rmi/server/UnicastServerRef.java,
2466 gnu/java/security/OID.java,
2467 gnu/java/security/der/DERReader.java,
2468 gnu/java/security/provider/CollectionCertStoreImpl.java,
2469 gnu/java/security/provider/DSAParameterGenerator.java,
2470 gnu/java/security/provider/DefaultPolicy.java,
2471 gnu/java/security/provider/EncodedKeyFactory.java,
2472 gnu/java/security/provider/GnuDHPublicKey.java,
2473 gnu/java/security/provider/GnuDSAPrivateKey.java,
2474 gnu/java/security/provider/GnuDSAPublicKey.java,
2475 gnu/java/security/provider/GnuRSAPrivateKey.java,
2476 gnu/java/security/provider/GnuRSAPublicKey.java,
2477 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2478 gnu/java/security/provider/RSA.java,
2479 gnu/java/security/provider/SHA1PRNG.java,
2480 gnu/java/security/provider/SHA1withRSA.java,
2481 gnu/java/security/provider/X509CertificateFactory.java,
2482 gnu/java/security/x509/GnuPKIExtension.java,
2483 gnu/java/security/x509/X500DistinguishedName.java,
2484 gnu/java/security/x509/X509CRL.java,
2485 gnu/java/security/x509/X509CRLEntry.java,
2486 gnu/java/security/x509/X509CertPath.java,
2487 gnu/java/security/x509/X509CertSelectorImpl.java,
2488 gnu/java/security/x509/X509Certificate.java,
2489 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2490 gnu/java/security/x509/ext/BasicConstraints.java,
2491 gnu/java/security/x509/ext/CRLNumber.java,
2492 gnu/java/security/x509/ext/CertificatePolicies.java,
2493 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2494 gnu/java/security/x509/ext/Extension.java,
2495 gnu/java/security/x509/ext/GeneralNames.java,
2496 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2497 gnu/java/security/x509/ext/KeyUsage.java,
2498 gnu/java/security/x509/ext/PolicyConstraint.java,
2499 gnu/java/security/x509/ext/PolicyMappings.java,
2500 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2501 gnu/java/security/x509/ext/ReasonCode.java,
2502 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2503 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2504 Reorganized import statements.
2506 2005-04-18 Michael Koch <konqueror@gmx.de>
2508 * gnu/java/awt/color/CieXyzConverter.java,
2509 gnu/java/awt/color/ClutProfileConverter.java,
2510 gnu/java/awt/color/ColorLookUpTable.java,
2511 gnu/java/awt/color/ColorSpaceConverter.java,
2512 gnu/java/awt/color/GrayProfileConverter.java,
2513 gnu/java/awt/color/GrayScaleConverter.java,
2514 gnu/java/awt/color/LinearRGBConverter.java,
2515 gnu/java/awt/color/ProfileHeader.java,
2516 gnu/java/awt/color/PyccConverter.java,
2517 gnu/java/awt/color/RgbProfileConverter.java,
2518 gnu/java/awt/color/SrgbConverter.java,
2519 gnu/java/awt/color/TagEntry.java,
2520 gnu/java/awt/color/ToneReproductionCurve.java:
2521 Standardized file headers.
2523 2005-04-16 Tom Tromey <tromey@redhat.com>
2525 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2526 'ANY' package-private.
2528 2005-04-15 Tom Tromey <tromey@redhat.com>
2530 * Makefile.in: Rebuilt.
2531 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2532 (libgcj0_convenience_la_LIBADD): ... here.
2534 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2536 * gij.cc (version): Properly quote java version.
2537 (main): Fix typo in comment.
2539 2005-04-13 Mark Wielaard <mark@klomp.org>
2541 * java/lang/natRuntime.cc (insertSystemProperties): Set
2542 java.class.path to CLASSPATH if not already set.
2544 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2546 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2548 2005-04-12 Mike Stump <mrs@apple.com>
2550 * configure: Regenerate.
2552 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2555 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2556 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2558 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2561 * scripts/TexinfoDoclet.java: Removed.
2562 * Makefile.am (texinfo): Removed.
2563 * Makefile.in: Regenerated.
2565 2005-04-11 Michael Koch <konqueror@gmx.de>
2567 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2568 Fixed wrong casting.
2570 2005-04-06 Andrew Haley <aph@redhat.com>
2572 * testsuite/libjava.lang/bytearray.java: New file.
2573 * testsuite/libjava.lang/bytearray.out: New file.
2574 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2575 (loadClass): Use it.
2576 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2578 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2580 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2581 gcj-dbtool dependency
2582 * Makefile.in: Regenerated
2584 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2586 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2587 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2589 2005-04-05 Andrew Haley <aph@redhat.com>
2591 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2592 (Tokenizer): New class.
2593 (getFiles): New method.
2594 (main): Add "-" argument.
2596 Read list of files from stdin when merging map databases.
2597 (usage): Add "-" argument.
2601 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2604 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2605 * Makefile.in: Regenerate.
2606 * configure.ac: Add --with-java-home option.
2607 * configure: Regenerate.
2608 * external/Makefile.in: Regenerate.
2609 * external/sax/Makefile.in: Regenerate.
2610 * external/w3c_dom/Makefile.in: Regenerate.
2611 * gcj/Makefile.in: Regenerate.
2612 * include/Makefile.in: Regenerate.
2613 * testsuite/Makefile.in: Regenerate.
2614 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2617 2005-04-05 Tom Tromey <tromey@redhat.com>
2619 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2620 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2621 Rewrote to use _Jv_FindClassFromSignature.
2622 * verify.cc (resolve): throw NoClassDefFoundError.
2623 * link.cc (resolve_field): Throw NoClassDefFoundError.
2624 (find_field): Likewise.
2625 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2626 Handle error cases. Added 'endp' argument.
2627 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2629 2005-04-05 Tom Tromey <tromey@redhat.com>
2631 * Makefile.in: Rebuilt.
2632 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2633 gtk_awt_peer_sources.
2634 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2635 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2636 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2637 (gtk-awt-peer.lo): New target.
2639 2005-04-04 Steve Pribyl <steve@netfuel.com>
2642 * configure.ac: Fix fastjar definition for cross builds.
2643 * configure: Rebuilt.
2645 2005-04-04 Tom Tromey <tromey@redhat.com>
2647 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2648 it was already found.
2650 2005-04-04 Tom Tromey <tromey@redhat.com>
2652 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2653 org.metastatic.jessie.
2655 2005-04-02 Anthony Green <green@redhat.com>
2658 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2660 2005-04-02 Mark Wielaard <mark@klomp.org>
2662 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2663 Attributes and attribute order doesn't matter.
2664 (BasicAttributesEnumeration.where): Initialize to zero.
2665 (BasicAttributesEnumeration.nextElement): Update and compare where
2666 appropriately (zero based).
2668 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2670 PR libgcj/20090, PR libgcj/20526
2671 * gij.cc (nonstandard_opts_help): New function.
2672 (add_option): New function.
2673 (main): Support java options. Set java.class.path. Don't set
2675 * prims.cc (parse_x_arg): New function.
2676 (parse_init_args): Call parse_x_arg for -X and _ options, when
2677 ignoreUnrecognized is true.
2678 (new _Jv_RunMain): New vm_args variant.
2679 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2680 (_Jv_Jar_Class_Path): Remove variable.
2681 * include/java-props.h: Likewise.
2682 * include/cni.h (JvRealloc): New function.
2683 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2684 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2685 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2687 * configure.ac (JV_VERSION): Define.
2688 (JV_API_VERSION): Likewise.
2689 * configure: Regenerate.
2690 * include/config.h.in: Regenerate.
2692 2005-04-01 Mark Anderson <mark@panonet.net>
2694 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2695 -Infinity as parameters.
2697 2005-04-01 Michael Koch <konqueror@gmx.de>
2699 * java/io/PipedInputStream.java
2700 (read): Make sure a positive byte value is returned. Revised javadoc.
2701 Thanks to Olafur Bragason for reporting these bugs.
2703 2005-04-01 Tom Tromey <tromey@redhat.com>
2705 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2706 Updated for name change.
2707 (nativeFindClass): New method.
2708 (loadClass): Use nativeFindClass.
2709 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2711 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2712 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2714 (initialize): New method.
2715 (nativeFindClass): Declare.
2716 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2717 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2718 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2720 (definePackageForNative): Removed.
2721 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2722 Moved to VMClassLoader.java.
2723 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2724 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2725 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2726 removed VMClassLoader.java.
2727 (nat_source_files): Removed natVMClassLoader.cc.
2729 2005-04-01 Tom Tromey <tromey@redhat.com>
2731 * Makefile.in: Rebuilt.
2732 * Makefile.am (db_pathtail): Use $(gcc_version), not
2735 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2737 * java/util/Timer.java
2738 (run): Stop the queue if a task throws an exception.
2740 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2742 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2744 2005-03-29 Ian Lance Taylor <ian@airs.com>
2746 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2747 * external/sax/Makefile.in: Rebuild.
2748 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2750 * external/w3c_dom/Makefile.in: Rebuild.
2752 2005-03-29 Tom Tromey <tromey@redhat.com>
2754 * java/lang/natRuntime.cc (insertSystemProperties): Set
2755 gnu.gcj.runtime.endorsed.dirs.
2756 * Makefile.in: Rebuilt.
2757 * Makefile.am (ordinary_java_source_files): Added
2758 HelperClassLoader.java.
2759 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2760 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2762 (init): Use addDirectoriesFromProperty.
2763 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2764 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2765 gnu.gcj.runtime.endorsed.dirs.
2766 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2768 2005-03-26 Chris Burdess <dog@gnu.org>
2770 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2773 2005-03-13 Michael Koch <konqueror@gmx.de>
2775 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2777 2005-03-11 Chris Burdess <dog@gnu.org>
2779 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2782 2005-02-27 Chris Burdess <dog@gnu.org>
2784 * gnu/xml/aelfred2/JAXPFactory.java,
2785 gnu/xml/aelfred2/SAXDriver.java,
2786 gnu/xml/aelfred2/XmlParser.java,
2787 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2788 formatting conventions. Replaced arrays of Object with struct-like
2789 classes for easier maintainability. Made SAXDriver.stringInterning
2790 package private to allow access from XmlParser inside the loop without
2791 a method call overhead.
2793 2005-03-11 Chris Burdess <dog@gnu.org>
2795 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2798 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2800 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2801 settings to sub Makefiles.
2802 (GCJH, ZIP): Prefix with top_builddir.
2803 * configure: Rebuild.
2804 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2805 * external/w3c_dom/Makefile.in: Rebuild.
2806 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2807 * external/sax/Makefile.in: Rebuild.
2809 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2811 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2812 libsocket to the libraries to link for Solaris.
2814 2005-03-28 Per Bothner <per@bothner.com>
2816 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2817 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2819 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2821 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2822 to fix a ONESTEP fallout.
2823 * Makefile.in: Regenerate.
2825 2005-03-25 Mike Stump <mrs@apple.com>
2827 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2828 paths like we do for the compiler, as we use it in external/sax
2829 and it doesn't get MULTIBUILDTOP right when multilibing.
2831 2005-03-24 Anthony Green <green@redhat.com>
2833 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2835 (usage): Add [LIBDIR] to help output.
2836 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2837 * Makefile.am (AM_CXXFLAGS): Define
2838 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2839 (db_pathtail): New macro.
2841 2005-03-24 Tom Tromey <tromey@redhat.com>
2843 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2844 add sax and w3c libraries.
2845 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2847 * external/w3c_dom/Makefile.in: Rebuilt.
2848 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2850 (libw3c_gcj_la_LDFLAGS): New variable.
2851 (noinst_LTLIBRARIES): Renamed.
2852 * external/sax/Makefile.in: Rebuilt.
2853 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2855 (libsax_gcj_la_LDFLAGS): New variable.
2856 (noinst_LTLIBRARIES): Renamed.
2858 2005-03-23 Tom Tromey <tromey@redhat.com>
2860 * Makefile.in: Rebuilt.
2861 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2862 (libgcj0_convenience_la_SOURCES): Don't include
2863 gnu_xml_source_files.
2864 (libgcj0_convenience_la_LIBADD): New variable.
2865 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2866 (all_java_source_files): javax_imageio_source_files,
2867 javax_xml_source_files, and gnu_java_beans_source_files.
2868 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2869 (gnu-xml.lo): New target.
2870 (javax-imageio.lo): Likewise.
2871 (javax-xml.lo): Likewise.
2872 (gnu-java-beans.lo): Likewise.
2873 (gnu_java_beans_source_files): New variable.
2874 (javax_imageio_source_files): Likewise.
2875 (javax_xml_source_files): Likewise.
2876 (javax_source_files): Moved files to other variable.
2877 (awt_java_source_files): Likewise.
2878 (ordinary_java_source_files): Added BootClassLoader.java.
2879 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2880 not system class loader.
2881 (initBootLoader): New method.
2882 (loadClass): Search bootLoader.
2883 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2884 boot loader, not system class loader.
2885 (_Jv_UnregisterInitiatingLoader): Likewise.
2886 (_Jv_FindClass): Likewise. Ensure entries in
2887 bootstrap_class_list are unique.
2888 * java/lang/natClass.cc (getClassLoader): Don't special case
2889 system class loader.
2890 * java/lang/VMClassLoader.java (bootLoader): New field.
2891 (getResource): Use bootLoader.
2892 (getResources): Likewise.
2893 (initBootLoader): Declare.
2894 * gnu/gcj/runtime/BootClassLoader.java: New file.
2895 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2896 (EMPTY_ENUMERATION): Now package-private.
2897 * external/w3c_com/Makefile.in: Rebuilt.
2898 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2899 (w3c.jar): New target.
2900 (classes.stamp): Updated.
2901 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2902 Changed name of library.
2903 (libw3c_gcj_la_SOURCES): New variable.
2904 (libw3c_gcj_la_GCJFLAGS): Likewise.
2905 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2906 * external/sax/Makefile.in: Rebuilt.
2907 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2908 (sax.jar): New target.
2909 (classes.stamp): Updated.
2910 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2911 Changed name of library.
2912 (libsax_gcj_la_SOURCES): New variable.
2913 (libsax_gcj_la_GCJFLAGS): Likewise.
2914 (source_files): Renamed from libsax_convenience_la_SOURCES.
2915 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2917 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2919 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2921 2005-03-23 Sven de Marothy <sven@physto.se>
2923 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2925 * java/util/Calendar.java
2926 (set): Use starting day of week when one is needed if none is given.
2927 * java/text/SimpleDateFormat.java
2928 (parse): Handle 1-12 and 1-24 timestamps correctly.
2929 * java/util/GregorianCalendar.java
2930 (computeTime, computeFields): HOUR should be in 0-11 format.
2931 (nonLeniencyCheck): Adjust leniency checking to that fact.
2932 (getLinearDay): Should be private.
2934 2005-03-23 Tom Tromey <tromey@redhat.com>
2936 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2937 (_Jv_CheckABIVersion): Use it.
2939 2005-03-22 Mike Stump <mrs@apple.com>
2941 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2943 * include/posix.h: .dylib is used on all Apple MACH platforms.
2944 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2946 2005-03-22 Tom Tromey <tromey@redhat.com>
2948 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2950 2005-03-21 Tom Tromey <tromey@redhat.com>
2952 * java/lang/VMCompiler.java (static block): Also catch
2953 BufferUnderflowException.
2955 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2957 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2958 set tool_include_dir. In all substitutions, leave $(gcc_version)
2959 to be expanded by the Makefile.
2960 * aclocal.m4, configure: Regenerate.
2961 * Makefile.am: Set gcc_version. Replace all uses of
2962 @gcc_version@ with $(gcc_version).
2963 * external/Makefile.am, external/sax/Makefile.am
2964 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2965 * testsuite/Makefile.am: Set gcc_version.
2966 * include/Makefile.am: Set gcc_version and tool_include_dir.
2967 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2968 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2969 * testsuite/Makefile.in: Regenerate.
2971 2005-03-17 Andrew Haley <aph@redhat.com>
2973 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2975 Pass klass to _Jv_StackTrace::GetClassContext().
2976 * java/lang/ClassLoader.java (getParent): Pass class to
2977 VMSecurityManager.getClassContext()
2978 (getSystemClassLoader): Likewise.
2979 * java/lang/Package.java (getPackage): Likewise.
2980 (getPackages): Likewise.
2981 * java/lang/SecurityManager.java (getClassContext): Likewise.
2982 (currentClassLoader): Likewise.
2983 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2984 (currentClassLoader) Add new arg: caller.
2985 Pass caller to VMSecurityManager.getClassContext.
2987 * stacktrace.cc (GetClassContext): Correct calculation of
2990 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2991 im->source_file_name.
2993 2005-03-16 Andrew Haley <aph@redhat.com>
2995 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2997 2005-03-16 Tom Tromey <tromey@redhat.com>
2999 * link.cc (ensure_class_linked): Removed #ifdef.
3000 (print_class_loaded): Likewise.
3001 (wait_for_state): Likewise.
3002 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3003 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3004 * include/java-interp.h: ... here.
3006 2005-03-16 Tom Tromey <tromey@redhat.com>
3008 * gnu/java/lang/MainThread.java (run): Load main class using
3009 system class loader.
3011 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
3013 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3014 lgcc_s to the libraries to link for Darwin.
3016 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3018 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3019 interpreter-specific code with #ifdef INTERPRETER.
3020 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3021 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3022 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3023 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3024 #ifdef INTERPRETER. Also protect declarations that use it.
3025 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3026 #ifdef INTERPRETER block.
3028 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3031 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3032 * Makefile.in: Rebuilt.
3034 2005-03-15 David Daney <ddaney@avtrex.com>
3036 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3039 2005-03-15 David Daney <ddaney@avtrex.com>
3041 * java/io/BufferedInputStream.java (available): Use 'in' instead
3042 of 'super' for underlying stream access.
3044 (read(byte[], int, int)): Ditto.
3046 (skip): Call skip on underlying stream when possible.
3048 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3050 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3051 SJLJ_EXCEPTIONS is defined.
3053 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3055 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3058 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3060 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3062 (libjava_arguments): Likewise.
3064 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3065 (gcj_jni_test_one): Likewise.
3066 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3067 Add flags to keep the Darwin linker quiet.
3068 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3069 Add -liconv for Darwin.
3071 2005-03-11 Tom Tromey <tromey@redhat.com>
3073 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3074 (_Jv_CheckABIVersion): Use it.
3076 2005-03-11 Tom Tromey <tromey@redhat.com>
3078 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3079 (usage): Document '-p'.
3080 * Makefile.in: Rebuilt.
3081 * Makefile.am (dbexecdir): New variable.
3082 (db_name): Likewise.
3083 (dbexec_DATA): Likewise.
3084 ($(db_name)): New target.
3085 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3086 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3089 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3091 * exception.cc: Remove stray MethodRef.h include.
3092 * java/lang/natClass.cc: Likewise.
3093 * gnu/gcj/runtime/MethodRef.java: Removed.
3094 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3095 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3096 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3097 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3098 * Makefile.in: Rebuilt.
3100 2005-03-10 Tom Tromey <tromey@redhat.com>
3102 * Makefile.in: Rebuilt.
3103 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3105 2005-03-10 Chris Burdess <dog@bluezoo.org>
3107 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3108 not currently parsing the DTD.
3110 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3112 New Stack Trace infrastructure.
3113 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3114 (gnu/gcj/runtime/StackTrace.java): Removed.
3115 (ordinary_java_source_files): Remove obsolete files.
3116 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3117 * configure.host (fallback_backtrace_h): Set backtrace header
3118 for mingw and cygwin targets.
3119 * configure.ac: Make symlink for fallback backtrace headers.
3120 * Makefile.in, configure: Rebuilt.
3121 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3122 Read 'LineNumberTable' attribute.
3123 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3125 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3127 * exception.cc: Remove unused include.
3128 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3129 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3130 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3131 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3132 table to direct threaded instruction values.
3133 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3134 (_Jv_InterpMethod::run): No longer member function. All
3135 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3136 is made or where an instruction could throw.
3137 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3139 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3140 (catch_fpe): Likewise.
3141 * stacktrace.cc: New file. Stack trace code now here.
3142 * gnu/gcj/runtime/MethodRef.java:
3143 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3144 calls addr2line to look up PC addresses in a given binary or shared
3146 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3147 gnu/gcj/runtime/natStackTrace.cc: Removed.
3148 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3149 this function name is specially recognised by the stack trace code
3150 and shouldn't be changed.
3151 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3152 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3153 (_Jv_InterpMethod::run): Update declaration.
3154 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3156 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3157 * include/java-stack.h: New file. Declarations for stack tracing.
3158 * include/jvm.h (_Jv_Frame_info): Removed.
3159 * java/lang/Class.h: Update friend declarations.
3160 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3162 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3163 (getStackTrace): Now native.
3164 (data): New RawDataManaged field.
3165 * java/lang/natClass.cc: Update includes.
3166 (forName): Use _Jv_StackTrace::GetCallingClass for
3167 calling-classloader check.
3168 (getClassLoader): Likewise.
3169 * java/lang/natRuntime.cc: Update includes.
3170 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3171 * java/lang/natVMSecurityManager.cc: Update includes.
3172 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3173 * java/lang/natVMThrowable.cc: New file. Native methods for
3175 * java/lang/reflect/natArray.cc: Update includes.
3176 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3177 accessibility check.
3178 * java/lang/reflect/natConstructor.cc: Update includes.
3179 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3180 accessibility check.
3181 * java/lang/reflect/natField.cc: Update includes.
3182 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3183 accessibility check.
3184 * java/lang/reflect/natMethod.cc: Update includes.
3185 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3186 accessibility check.
3187 * java/util/natResourceBundle.cc: Update includes.
3188 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3189 * java/util/logging/natLogger.cc: Update includes. Use
3190 _Jv_StackTrace::GetCallerInfo to get call-site info.
3191 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3193 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3196 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3198 * testsuite/libjava.compile/PR20312.java: New file.
3199 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3200 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3202 2005-03-09 Andrew Haley <aph@redhat.com>
3204 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3206 (smallTransferTo): New.
3207 (transferFrom): Loop around smallTransferFrom, copying pageSize
3209 (transferTo): Likewise.
3211 2005-03-09 David Daney <ddaney@avtrex.com>
3214 Merge BufferedInputStream from GNU Classpath.
3215 * java/io/BufferedInputStream.java (marktarget): Field removed.
3216 (CHUNKSIZE): Field removed.
3217 (bufferSize): New field.
3218 (BufferedInputStream): Initialize fields.
3219 (close): Invalidate mark and buffer indexes.
3221 (read()): Move mark handling code to refill.
3222 (read(byte[], int, int)): Ditto.
3223 (skip): Ditto and simplify EOF testing.
3224 (refill): Rewritten.
3225 * java/io/InputStreamReader.java (refill): Removed mark and reset
3226 of internal BufferedInputStream.
3228 2005-03-09 Tom Tromey <tromey@redhat.com>
3230 * java/lang/natVMClassLoader.cc (defineClass): Reference
3231 'systemClassLoader' field directly.
3232 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3234 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3235 Reference 'systemClassLoader' field directly.
3236 (_Jv_UnregisterInitiatingLoader): Likewise.
3237 (_Jv_FindClass): Likewise.
3239 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3241 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3243 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3244 the file in GNU Classpath style.
3246 2005-03-09 Tom Tromey <tromey@redhat.com>
3248 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3249 (toString): Synchronize.
3251 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3253 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3254 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3256 2005-03-07 Tom Tromey <tromey@redhat.com>
3258 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3259 (usage): Document '-f'.
3261 2005-03-07 Tom Tromey <tromey@redhat.com>
3263 * java/lang/VMCompiler.java (md5Digest): New field.
3264 (compileClass): Clone md5Digest instead of looking up a new one.
3266 2005-03-07 Tom Tromey <tromey@redhat.com>
3269 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3270 * link.cc (find_field_helper): Added 'type' argument.
3271 (find_field): Updated.
3273 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3274 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3275 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3276 throw UnsupportedOperationException, fixed comments.
3277 (setFont, setForeground): Fixed comments.
3278 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3279 return type to boolean.
3280 (getNextEvent): Fixed javadocs.
3281 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3282 (nativeQueueEmpty): Removed unused code.
3283 (iterateNativeQueue): Removed outer loop.
3285 2005-03-06 Roger Sayle <roger@eyesopen.com>
3288 * Makefile.am (libgcj0_convenience.la): Revert last change.
3289 * Makefile.in: Regenerate.
3291 2005-03-05 Anthony Green <green@redhat.com>
3293 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3294 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3295 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3296 (_Jv_GetDrawingSurface): Set visualID.
3297 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3298 (JAWT_GetAWT): Set Lock and Unlock.
3299 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3301 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3302 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3303 JAWT_LOCK_SURFACE_CHANGED): New macros.
3304 (struct _JAWT): Add Lock and Unlock.
3306 2005-03-05 Roger Sayle <roger@eyesopen.com>
3307 Alexandre Oliva <aoliva@redhat.com>
3308 Kelley Cook <kcook@gcc.gnu.org>
3311 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3312 of the object files to link to avoid exceeding the command line
3313 length limits on some platforms.
3314 (clean-local): Clean up objectlist files.
3315 * Makefile.in: Regenerate.
3317 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3319 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3320 spec_case. Initialize pointer mlo.
3322 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3325 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3327 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3330 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3331 uninitialized variable z.
3333 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3334 possible unused variables.
3336 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3338 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3340 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3343 * testsuite/libjava.jni/jni.exp
3344 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3346 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3348 2005-02-23 David Daney <ddaney@avtrex.com>
3350 * configure.host: Don't use -mxgot for MIPS builds.
3352 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3355 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3356 (COMPPATH): Removed.
3357 (ZIP, GCJH): Replace it with ../$(host_subdir).
3358 (built_gcc_dir): Add $(host_subdir).
3359 * configure: Regenerate.
3360 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3361 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3362 external/w3c_dom/Makefile.in: Regenerate.
3364 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3366 * java/awt/font/TextAttribute.java: changed names to lower case;
3367 (readResolve): implemented.
3368 Added doc comments all over.
3370 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3373 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3374 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3375 value. Move argument parsing code to prims.cc.
3376 * prims.cc (no_properties): Remove.
3377 (_Jv_Compiler_Properties): Initialize to NULL.
3378 (_Jv_Properties_Count): Initialize to 0.
3379 (parse_verbose_args): New function.
3380 (parse_init_args): New function.
3381 (_Jv_CreateJavaVM): Call parse_init_args.
3382 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3383 * gcj/cni.h (JvVMOption): New struct.
3384 (JvVMInitArgs): Likewise.
3385 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3387 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3388 (_Jv_VMInitArgs): Likewise.
3389 * include/java-props.h (_Jv_Properties_Count): Declare.
3390 * java/lang/natRuntime.cc (insertSystemProperties): Use
3391 _Jv_Properties_Count in for loop exit condition.
3392 * testsuite/libjava.jni/jni.exp
3393 (gcj_invocation_compile_c_to_binary): New procedure.
3394 (gcj_invocation_test_one): Likewise.
3395 (gcj_jni_run): Run JNI invocation API tests.
3396 * testsuite/libjava.jni/invocation/PR16923.c,
3397 testsuite/libjava.jni/invocation/PR16923.java,
3398 testsuite/libjava.jni/invocation/PR16923.out: New test.
3400 2005-02-23 Michael Koch <konqueror@gmx.de>
3402 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3403 * Makefile.in: Regenerated.
3405 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3407 * gnu/java/nio/ChannelReader: Fixed comments.
3409 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3411 * java/nio/channels/Channels: Added FIXMEs about
3412 stub method implementation.
3413 (newReader): Implemented.
3414 * gnu/java/nio/ChannelReader: New class.
3416 2005-02-23 Michael Koch <konqueror@gmx.de>
3418 * java/text/SimpleDateFormat.java:
3419 Removed unused import.
3421 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3424 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3425 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3426 * Makefile.in: Regenerate.
3427 * configure.ac: Check for libXtst.
3428 * configure: Regenerate.
3430 2005-02-22 Mark Wielaard <address@bogus.example.com>
3432 * java/security/AlgorithmParameterGenerator.java (getInstance):
3433 Mention provider when throwing NoSuchProviderException.
3434 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3435 * java/security/KeyFactory.java (getInstance): Likewise.
3436 * java/security/KeyStore.java (getInstance): Likewise.
3437 * java/security/SecureRandom.java (getInstance): Likewise.
3438 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3440 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3442 * java/lang/reflect/Proxy.java,
3444 java/security/SecureRandom.java,
3445 java/util/Timer.java,
3446 java/util/prefs/AbstractPreferences.java:
3447 Don't catch java.lang.ThreadDeath.
3449 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3451 * java/awt/font/TransformAttribute.java,
3452 (TransformAttribute(AffineTransform)): throw
3453 IllegalArgumentException for null transform.
3454 (getTransform): return a copy of transform.
3455 Added doc comments to all.
3457 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3459 * java/io/Externalizable.java,
3460 java/io/Serializable.java
3461 (serialVersionUID): Removed.
3462 * java/rmi/server/RemoteObject.java,
3463 java/rmi/server/UID.java
3464 (serialVersionUID): Made private.
3465 * java/rmi/server/RemoteRef.java,
3466 java/rmi/server/ServerRef.java
3467 (serialVersionUID): Set proper value.
3468 * java/security/interfaces/DSAPrivateKey.java,
3469 java/security/interfaces/DSAPublicKey.java,
3470 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3471 java/security/interfaces/RSAPrivateCrtKey.java,
3472 java/security/interfaces/RSAPrivateKey.java,
3473 java/security/interfaces/RSAPublicKey.java,
3474 javax/crypto/SecretKey.java
3475 (serialVersionUID): Added.
3477 2005-02-22 Tom Tromey <tromey@redhat.com>
3479 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3481 2005-02-22 Tom Tromey <tromey@redhat.com>
3484 * verify.cc (type::EITHER): New constant.
3485 (check_field_constant): Use it.
3486 (type::compatible): Handle it.
3488 2005-02-22 Michael Koch <konqueror@gmx.de>
3490 * gnu/java/security/PolicyFile.java,
3491 gnu/java/security/pkcs/PKCS7SignedData.java,
3492 gnu/java/security/pkcs/SignerInfo.java:
3493 Fixed copyright header.
3495 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3497 * java/beans/PropertyDescriptor.java
3498 (PropertyDescriptor,setReadMethod): Set propertyType.
3500 2005-02-22 Michael Koch <konqueror@gmx.de>
3502 * java/nio/DirectByteBufferImpl.java
3503 (owner): Fixed formatting of javadoc.
3504 * java/text/DateFormat.java
3505 (getAvailableLocales): Fixed formatting.
3506 * java/text/SimpleDateFormat.java:
3507 Fixed formatting and import statement order.
3508 * java/util/Calendar.java
3509 (Calendar): Fixed javadoc to be HTML compliant.
3510 * java/util/SimpleTimeZone.java:
3513 2005-02-22 Roman Kennke <roman@ontographics.com>
3515 * javax/swing/plaf/basic/BasicLookAndFeel.java
3516 (initComponentDefaults): Fixed Button left and right margin.
3518 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3520 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3524 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3525 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3526 (getWidth): New method.
3527 (getHeight): Likewise.
3528 (create): Remove width, height and insets parameters. Move size
3530 (realize_cb): ... here. New function.
3531 (connectSignals): Connect realize_cb.
3532 (request_frame_extents): Remove FIXME. Move
3533 postInsetsChangedEvent lookup ...
3534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3535 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3536 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3538 (windowGetWidthID): Likewise.
3539 (windowGetHeightID): Likewise.
3541 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3545 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3547 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3549 Merge serialization from GNU Classpath.
3550 * gcj/method.h: Add missing #includes.
3551 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3552 primitive class IDs on the stream here...
3553 (resolveClass): ...not here.
3554 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3556 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3557 setLongNative, setIntNative, setShortNative, setCharNative,
3558 setByteNative, setBooleanNative, setObjectNative): New native methods.
3559 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3560 setLongNative, setIntNative, setShortNative, setCharNative,
3561 setByteNative, setBooleanNative, setObjectNative): Implement them.
3562 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3563 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3564 the constructor here.
3565 (callConstructor): Removed.
3566 (getCallersClassLoader): Removed.
3567 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3568 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3569 to control whether setting final field values is permitted. Call
3570 getAddr() with checkFinal parameter instead of setAddr().
3571 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3572 only if not done already.
3573 (getAddr): Add checkFinal parameter. Do the final field check only if
3577 2005-02-21 Mark Wielaard <mark@klomp.org>
3580 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3583 2005-02-21 Mark Wielaard <mark@klomp.org>
3586 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3587 without a super class and us ObjectStreamClass.lookupForClassObject().
3588 (resolveClass): Check for primitive types.
3589 (lookupClass): Return null when argument is null.
3591 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3593 * java/io/ObjectInputStream.java
3594 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3596 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3598 * java/io/ObjectOutputStream.java
3599 (writeObject, callWriteMethod): Replaced reflection with accessing
3600 cached info in ObjectStreamClass.
3601 (getMethod): Removed.
3602 * java/io/ObjectStreamClass.java
3603 (findMethod): Added check to make sure the method found has the
3605 (cacheMethods): Added writeReplace and writeObject methods.
3606 (setFlags): Look at new writeObjectMethod field instead of doing
3608 (writeReplaceMethod): New field.
3609 (writeObjectMethod): New field.
3611 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3612 Jeroen Frijters <jeroen@frijters.net>
3614 * java/io/ObjectInputStream.java
3615 (newObject): Changed prototype. Get a constructor reflect object
3617 (callConstructor): Removed.
3618 (allocateObject): Changed prototype.
3619 (readClassDescriptor): Build the constructor reflection directly.
3620 (readObject): Invoke newObject using the new prototype.
3622 * java/io/ObjectStreamClass.java
3623 (firstNonSerializableParent): Removed.
3624 (firstNonSerializableParentConstructor): Added.
3626 2005-02-21 Mark Wielaard <mark@klomp.org>
3628 * gnu/java/locale/LocaleInformation_en.java: Extend
3629 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3631 2005-02-21 Mark Wielaard <mark@klomp.org>
3633 * java/text/SimpleDateFormat.java
3634 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3635 NullPointerException when formatData is null.
3637 2005-02-21 Mark Wielaard <mark@klomp.org>
3639 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3640 taking dstSavings into account.
3642 2005-02-21 Sven de Marothy <sven@physto.se>
3644 * java/text/SimpleDateFormat.java,
3645 (parse): Set correct DST_OFFSET to the correct value.
3647 2005-02-21 Mark Wielaard <mark@klomp.org>
3649 * java/util/SimpleTimeZone.java (checkRule): Throw
3650 IllegalArgumentException when month out of range.
3652 2005-02-21 Sven de Marothy <sven@physto.se>
3654 * java/util/GregorianCalendar.java,
3655 (add): Don't set fields directly anymore. Use set()
3657 2005-02-21 Mark Wielaard <mark@klomp.org>
3659 * java/text/SimpleDateFormat.java (CompiledField.toString):
3660 Use StringBuffer, not StringBuilder.
3661 (toString): Likewise.
3663 2005-02-21 Sven de Marothy <sven@physto.se>
3665 * java/util/Calendar.java
3666 (clear): Dates should clear to local time.
3667 * java/util/GregorianCalendar.java
3668 (computeTime): Fix priority problem with DAY_OF_WEEK,
3669 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3671 2005-02-21 Sven de Marothy <sven@physto.se>
3673 * java/util/Calendar.java
3674 (Calendar): Constructor should clear fields.
3676 2005-02-21 Sven de Marothy <sven@physto.se>
3678 * java/text/SimpleDateFormat.java
3679 (parse): Tweak handling of 2-year dates
3680 * java/util/Calendar.java
3681 (clear): Clear fields to correct value.
3682 * java/util/GregorianCalendar.java
3683 (computeTime): Correct handling of time zones.
3684 Correct field minimum values.
3686 2005-02-21 Sven de Marothy <sven@physto.se>
3688 * java/util/Calendar.java
3689 (set) Invalidate all fields on first call to set().
3691 2005-02-21 Sven de Marothy <sven@physto.se>
3693 * java/util/GregorianCalendar.java
3694 (computeTime): Fixed handling of time zones.
3696 2005-02-21 Sven de Marothy <sven@physto.se>
3698 * java/util/Calendar.java
3699 (clear): Set values to Epoch instead of zero.
3700 (set): Set isSet to the relevant field pattern instead of just
3702 * java/util/GregorianCalendar.java
3703 (getBundle): Removed.
3704 (getDayOfYear): Removed.
3705 (getFirstDayOfMonth): New private method.
3706 (nonLeniencyCheck): New private method.
3707 (computeTime): Correct handling of insufficient data.
3709 2005-02-21 Sven de Marothy <sven@physto.se>
3711 * java/util/Calendar.java: Invalidate ERA field on setting
3713 * java/util/SimpleTimeZone.java:
3714 (getDaysInMonth): Reimplemented.
3715 * java/util/GregorianCalendar.java:
3716 (getLinearTime): Removed.
3717 (isLeapYear(int,boolean)): Removed.
3718 (before(), after()): Removed.
3719 (computeTime): Reimplemented.
3721 2005-02-21 Sven de Marothy <sven@physto.se>
3723 * java/util/Calendar.java: Reformatted.
3724 * java/util/GregorianCalendar.java: Reformatted.
3725 * java/util/SimpleTimeZone.java: Reformatted.
3727 2005-02-21 Sven de Marothy <sven@physto.se>
3729 * java/util/GregorianCalendar.java
3730 (GregorianCalendar): Update fields in the constructor
3732 2005-02-21 Noa Resare <noa@resare.com>
3734 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3735 (set(int,int)): Set and use new field.
3736 (set(int,int,int)): Check new field.
3738 2005-02-21 Noa Resare <address@hidden>
3740 * java/util/Calendar.java(set):
3741 Fix for DST related regression.
3743 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3745 * java/util/Calendar.java
3746 (setTimeInMillis): Added call to clear, removed computeFields call.
3747 * java/util/Date.java
3748 (Date(int,int,int,int,int,int)): Removed workaround for
3749 GregorianCalendar bug.
3750 * java/util/GregorianCalendar.java
3751 (GregorianCalendar): Chained all constructors to a (new)
3753 (computeTime): Fixed support for lenient month treatment.
3754 (getLinearDay): Return long instead of int.
3755 (calculateDay): Added fields argument and changed day argument
3758 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3760 * java/text/SimpleDateFormat.java
3761 Lots of documentation updates.
3762 (readObject(java.io.ObjectInputStream)): Wraps
3763 IllegalArgumentException as specified.
3764 (compileFormat(String)): Uses standardChars
3765 rather than the local pattern characters.
3766 Throws IllegalArgumentException rather than
3768 (toString()): Extended to include all variables
3770 (translateLocalizedPattern(String, String, String)):
3771 Renamed to better define the use of this method.
3773 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3775 * java/text/DateFormat.java:
3776 Documented pattern character offset constants and
3778 (Field): Added new static fields for new pattern chars.
3779 * java/text/SimpleDateFormat.java:
3780 (CompiledField): Changed name of FieldSizePair class
3781 to CompiledField after adding the character as an
3782 attribute. Changed fields to private and added
3783 accessors to give encapsulation.
3784 (CompiledField.CompiledField(int,int,char)): Extended
3785 with character field.
3786 (CompiledField.getField()): New accessor method.
3787 (CompiledField.getSize()): New acceessor method.
3788 (CompiledField.getCharacter()): New accessor method.
3789 (CompiledField.toString()): Added primarily for debugging.
3790 (standardChars): Now uses extended 24 character sequence.
3791 (compileFormat(String)): Changed to use CompiledField.
3792 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3793 java.text.FieldPosition)): Changed to use CompiledField.
3794 New handler for RFC 822 timezones added.
3796 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3798 * java/text/SimpleDateFormat.java:
3799 (parse(String, java.text.ParsePosition)):
3800 Changed 'E' and 'M' cases to use both
3801 short and long names. Extended 'z'
3802 case to also handle 'Z', and deal
3803 with simple GMT offsets such as +0100.
3804 (computeOffset(String)): New private method,
3805 which converts a GMT offset specification,
3806 such as GMT-0500 to a numeric offset in
3808 * java/util/TimeZone.java:
3809 (timezones()): Added "CEST", the daylight
3810 savings time version of "CET", or Central
3813 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3815 * java/text/SimpleDateFormat.java:
3816 (parse): Set the DST offset to 0 when parsing
3817 GMT offset timezones.
3819 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3821 * java/text/SimpleDateFormat.java:
3822 (parse): Use offset to set ZONE_OFFSET
3823 rather than the DST_OFFSET, so that
3824 GMT offset timezones change the right
3827 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3829 * java/text/SimpleDateFormat.java:
3830 (getDateFormatSymbols()): return a copy
3831 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3832 throw exception on null input
3833 (clone()): implemented to clone
3836 2005-02-21 Sven de Marothy <sven@physto.se>
3838 * java/text/SimpleDateFormat.java
3839 (parse): comparison should be case-insensitive, ignore null
3842 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3844 * gnu/java/beans/IntrospectionIncubator.java
3845 (addMethod) Reverts the patch that ntroduced a regression (see bug
3846 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3848 2005-02-21 Michael Koch <konqueror@gmx.de>
3850 * java/awt/Checkbox.java
3851 (next_checkbox_number): New static variable.
3852 (generateName): New method.
3853 (getUniqueLong): Likewise.
3854 * java/awt/Window.java
3855 (next_window_number): New static variable.
3856 (generateName): New method.
3857 (getUniqueLong): Likewise.
3859 2005-02-21 Mark Wielaard <mark@klomp.org>
3861 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3864 2005-02-21 Andrew Haley <aph@redhat.com>
3866 * Makefile.in: Rebuilt.
3867 * Makefile.am (nat_source_files): Added natLogger.cc.
3868 * java/util/logging/natLogger.cc: New file.
3869 * java/util/logging/Logger.java (getCallerStackFrame): Now
3872 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3874 * Makefile.am (all_property_files): Remove left over.
3875 (classes.stamp): Add stamp for the ONESTEP build, also known as
3876 --enable-libgcj-multifile.
3877 * Makefile.in: Regenerated.
3879 2005-02-21 Michael Koch <konqueror@gmx.de>
3881 * java/awt/Button.java,
3882 java/awt/Container.java,
3884 java/awt/Frame.java,
3885 java/text/CollationElementIterator.java,
3886 java/text/RuleBasedCollator.java,
3887 java/util/PropertyPermission.java:
3888 Fixed formatting issues all over.
3890 2005-02-21 Mark Wielaard <mark@klomp.org>
3892 * java/io/FileDescriptor.java (sync): Add real exception to
3893 SyncFailedException.
3895 2005-02-21 Michael Koch <konqueror@gmx.de>
3897 * java/io/InputStreamReader.java:
3900 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3903 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3905 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3907 * libraries/javalib/gnu/regexp/RE.java,
3908 libraries/javalib/java/io/ObjectInputStream.java,
3909 libraries/javalib/java/security/AllPermission.java,
3910 libraries/javalib/java/security/BasicPermission.java,
3911 libraries/javalib/java/security/Permissions.java,
3912 libraries/javalib/java/text/MessageFormat.java:
3913 Made 'inner' classes real public static inner classes,
3914 and made them final where possible, or removed them
3917 2005-02-20 Michael Koch <konqueror@gmx.de>
3919 * gnu/java/text/FormatCharacterIterator.java:
3920 Removed redundant modifiers.
3922 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3924 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3927 2005-02-19 Michael Koch <konqueror@gmx.de>
3929 * Makefile.am: Added new files in gnu/java/beans and
3930 java/beans/XMLDecoder.java.
3931 * Makefile.in: Regenerated.
3933 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3935 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3936 assignment behavior by using java.lang.reflect.Array.set()
3939 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3941 * gnu/java/beans/EmptyBeanInfo.java,
3942 gnu/java/beans/info/ComponentBeanInfo.java:
3943 Removed unused files.
3945 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3947 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3948 of AppletStub for java.beans.Beans.instantiate.
3949 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3951 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3952 to be conformant with Javadoc guidelines.
3953 (instantiate): Added two more overloaded variants, reworked user
3954 documentation, fixed exception behavior, fixed behavior when
3957 2005-02-19 Mark Wielaard <mark@klomp.org>
3959 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3961 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3963 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3965 * gnu/java/beans/decoder/AbstractContext.java,
3966 gnu/java/beans/decoder/AbstractCreatableContext.java,
3967 gnu/java/beans/decoder/AbstractElementHandler.java,
3968 gnu/java/beans/decoder/AbstractObjectContext.java,
3969 gnu/java/beans/decoder/ArrayContext.java,
3970 gnu/java/beans/decoder/ArrayHandler.java,
3971 gnu/java/beans/decoder/AssemblyException.java,
3972 gnu/java/beans/decoder/BooleanHandler.java,
3973 gnu/java/beans/decoder/ByteHandler.java,
3974 gnu/java/beans/decoder/CharHandler.java,
3975 gnu/java/beans/decoder/ClassHandler.java,
3976 gnu/java/beans/decoder/ConstructorContext.java,
3977 gnu/java/beans/decoder/Context.java,
3978 gnu/java/beans/decoder/DecoderContext.java,
3979 gnu/java/beans/decoder/DefaultExceptionListener.java,
3980 gnu/java/beans/decoder/DoubleHandler.java,
3981 gnu/java/beans/decoder/DummyContext.java,
3982 gnu/java/beans/decoder/DummyHandler.java,
3983 gnu/java/beans/decoder/ElementHandler.java,
3984 gnu/java/beans/decoder/FloatHandler.java,
3985 gnu/java/beans/decoder/GrowableArrayContext.java,
3986 gnu/java/beans/decoder/IndexContext.java,
3987 gnu/java/beans/decoder/IntHandler.java,
3988 gnu/java/beans/decoder/JavaHandler.java,
3989 gnu/java/beans/decoder/LongHandler.java,
3990 gnu/java/beans/decoder/MethodContext.java,
3991 gnu/java/beans/decoder/MethodFinder.java,
3992 gnu/java/beans/decoder/NullHandler.java,
3993 gnu/java/beans/decoder/ObjectContext.java,
3994 gnu/java/beans/decoder/ObjectHandler.java,
3995 gnu/java/beans/decoder/PersistenceParser.java,
3996 gnu/java/beans/decoder/PropertyContext.java,
3997 gnu/java/beans/decoder/ShortHandler.java,
3998 gnu/java/beans/decoder/SimpleHandler.java,
3999 gnu/java/beans/decoder/StaticMethodContext.java,
4000 gnu/java/beans/decoder/StringHandler.java,
4001 gnu/java/beans/decoder/VoidHandler.java: New class
4002 implementing java.beans.XMLDecoder decoding functionality.
4003 * java/beans/XMLDecoder.java: New class.
4005 2005-02-19 Michael Koch <konqueror@gmx.de>
4007 * javax/swing/JTextField.java
4008 (notfiyAction): Added javadoc.
4010 2005-02-19 Sven de Marothy <sven@physto.se>
4012 * javax/swing/SpinnerDateModel.java: Implemented.
4014 2005-02-19 Michael Koch <konqueror@gmx.de>
4016 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4017 * Makefile.in: Regenerated.
4019 2005-02-19 Michael Koch <konqueror@gmx.de>
4021 * gnu/java/nio/SelectorImpl.java:
4022 Reworked import statements.
4023 (register): Removed unused code.
4024 * java/nio/channels/Channels.java: Reformatted.
4025 * java/nio/charset/Charset.java: Likewise.
4026 * java/rmi/server/RemoteObject.java
4027 (serialVersionUID): Made private.
4028 * java/rmi/server/UID.java
4029 (serialVersionUID): Likewise.
4031 2005-02-19 Michael Koch <konqueror@gmx.de>
4033 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4034 gnu/java/net/protocol/ftp/BlockInputStream.java,
4035 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4036 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4037 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4038 gnu/java/net/protocol/ftp/DTPInputStream.java,
4039 gnu/java/net/protocol/ftp/DTP.java,
4040 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4041 gnu/java/net/protocol/ftp/FTPConnection.java,
4042 gnu/java/net/protocol/ftp/FTPException.java,
4043 gnu/java/net/protocol/ftp/FTPResponse.java,
4044 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4045 gnu/java/net/protocol/ftp/Handler.java,
4046 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4047 gnu/java/net/protocol/ftp/StreamInputStream.java,
4048 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4049 gnu/java/net/CRLFInputStream.java,
4050 gnu/java/net/CRLFOutputStream.java,
4051 gnu/java/net/GetLocalHostAction.java,
4052 gnu/java/net/protocol/ftp/package.html: New files.
4053 * Makefile.am: Added new files.
4054 * Makefile.in: Regenerated.
4056 2005-02-18 Tom Tromey <tromey@redhat.com>
4058 * link.cc (make_vtable): Remove abstract method check.
4059 (append_partial_itable): Likewise.
4062 * verify.cc (type::equals): Fixed test.
4063 * testsuite/libjava.lang/PR20056.out: New file.
4064 * testsuite/libjava.lang/PR20056.java: New file.
4066 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4068 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4069 not the HashEntry. Reported by Jean-Marie White.
4071 2005-02-18 Tom Tromey <tromey@redhat.com>
4074 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4075 * link.cc (has_field_p): New function.
4076 * verify.cc (check_field_constant): Added 'putfield' argument.
4077 (verify_instructions_0): Updated.
4078 (type::equals): New method.
4080 2005-02-18 Anthony Green <green@redhat.com>
4082 * NEWS: Draft of libgcj NEWS for 4.0.
4084 2005-02-18 Anthony Green <green@redhat.com>
4086 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4087 architecture names to "i386" for compatibility reasons. Win32
4090 2005-02-18 Anthony Green <green@redhat.com>
4092 * gij.cc (version): Change year for '--version' to 2005.
4093 * gnu/gcj/convert/Convert.java: Ditto.
4094 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4095 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4097 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4098 recent copyright year in `--version' output.
4100 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4102 * java/nio/charset/Charset.java (forName): Throws
4103 IllegalArgumentException when argument is null
4104 and added documentation.
4106 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4108 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4109 Move the position of the source buffer forward.
4111 2005-02-17 Tom Tromey <tromey@redhat.com>
4113 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4114 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4115 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4116 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4117 Changed type of second argument. Rewrote.
4118 (make_vtable): Use it.
4119 (append_partial_itable): Updated.
4120 (layout_vtable_methods): Updated.
4122 2005-02-17 Michael Koch <konqueror@gmx.de>
4124 * gnu/java/net/PlainSocketImpl.java
4125 (shutdownInput): Added javadoc.
4126 (shutdownOutput): Likewise.
4128 2005-02-17 Michael Koch <konqueror@gmx.de>
4130 * javax/print/attribute/standard/Chromaticity.java,
4131 javax/print/attribute/standard/Destination.java,
4132 javax/print/attribute/standard/MediaPrintableArea.java,
4133 javax/print/attribute/standard/MediaSize.java: New files.
4134 * Makefile.am: Added new files.
4135 * Makefile.in: Regenerated.
4137 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4138 Michael Koch <konqueror@gmx.de>
4140 * gnu/java/net/protocol/http/Cookie.java,
4141 gnu/java/net/protocol/http/HTTPConnection.java,
4142 gnu/java/net/protocol/http/HTTPDateFormat.java,
4143 gnu/java/net/protocol/http/Request.java,
4144 gnu/java/nio/PipeImpl.java,
4145 gnu/java/rmi/dgc/DGCImpl.java,
4146 gnu/java/rmi/server/ConnectionRunnerPool.java,
4147 gnu/java/rmi/server/UnicastConnectionManager.java,
4148 gnu/java/security/der/DERWriter.java,
4149 gnu/java/security/pkcs/SignerInfo.java,
4150 gnu/java/security/provider/EncodedKeyFactory.java,
4151 gnu/java/security/provider/GnuDHPublicKey.java,
4152 gnu/java/security/provider/GnuDSAPrivateKey.java,
4153 gnu/java/security/provider/GnuDSAPublicKey.java,
4154 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4155 gnu/java/security/x509/X500DistinguishedName.java,
4156 gnu/java/security/x509/X509CRL.java,
4157 gnu/java/security/x509/X509CRLEntry.java,
4158 gnu/java/security/x509/X509Certificate.java,
4159 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4160 gnu/java/security/x509/ext/CertificatePolicies.java,
4161 gnu/java/security/x509/ext/PolicyConstraint.java,
4162 gnu/xml/dom/Consumer.java,
4163 gnu/xml/dom/DomCharacterData.java,
4164 gnu/xml/dom/DomDocument.java,
4165 gnu/xml/dom/DomDocumentBuilder.java,
4166 gnu/xml/dom/DomIterator.java,
4167 gnu/xml/dom/DomNode.java,
4168 gnu/xml/dom/DomXPathExpression.java,
4169 gnu/xml/dom/DomXPathResult.java,
4170 gnu/xml/dom/JAXPFactory.java,
4171 gnu/xml/pipeline/CallFilter.java,
4172 gnu/xml/pipeline/DomConsumer.java,
4173 gnu/xml/pipeline/LinkFilter.java,
4174 gnu/xml/pipeline/NSFilter.java,
4175 gnu/xml/pipeline/TeeConsumer.java,
4176 gnu/xml/pipeline/ValidationConsumer.java,
4177 gnu/xml/pipeline/WellFormednessFilter.java,
4178 gnu/xml/pipeline/XIncludeFilter.java,
4179 gnu/xml/pipeline/XsltFilter.java,
4180 gnu/xml/transform/ApplyImportsNode.java,
4181 gnu/xml/transform/Bindings.java,
4182 gnu/xml/transform/DocumentFunction.java,
4183 gnu/xml/transform/FormatNumberFunction.java,
4184 gnu/xml/transform/NodeNumberNode.java,
4185 gnu/xml/transform/NumberNode.java,
4186 gnu/xml/transform/Stylesheet.java,
4187 gnu/xml/transform/SystemPropertyFunction.java,
4188 gnu/xml/transform/Template.java,
4189 gnu/xml/transform/TemplatesImpl.java,
4190 gnu/xml/transform/TransformerImpl.java,
4191 gnu/xml/transform/ValueOfNode.java,
4192 gnu/xml/transform/XSLURIResolver.java,
4193 gnu/xml/util/DoParse.java,
4194 gnu/xml/util/Resolver.java,
4195 gnu/xml/xpath/Expr.java,
4196 gnu/xml/xpath/FunctionCall.java,
4197 gnu/xml/xpath/RelationalExpr.java,
4198 gnu/xml/xpath/Selector.java,
4199 gnu/xml/xpath/XPathParser.java:
4200 Reworked import statements, fixed modifier order and some little
4203 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4205 * java/nio/ByteBufferImpl.java (compact):
4206 Set position and limit even if no bytes were moved.
4208 2005-02-17 Michael Koch <konqueror@gmx.de>
4210 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4211 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4212 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4213 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4214 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4215 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4216 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4217 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4218 * java/nio/FloatBufferImpl.java (compact): Set position.
4219 * java/nio/CharBufferImpl.java (compact): Likewise.
4220 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4221 * java/nio/IntBufferImpl.java (compact): Likewise.
4222 * java/nio/LongBufferImpl.java (compact): Likewise.
4223 * java/nio/ShortBufferImpl.java (compact): Likewise.
4225 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4227 * java/nio/ByteBufferImpl.java,
4228 java/nio/CharBufferImpl.java,
4229 java/nio/DirectByteBufferImpl.java,
4230 java/nio/DoubleBufferImpl.java,
4231 java/nio/FloatBufferImpl.java,
4232 java/nio/IntBufferImpl.java,
4233 java/nio/LongBufferImpl.java,
4234 java/nio/MappedByteBufferImpl.java,
4235 java/nio/ShortBufferImpl.java
4236 (compact): Added explicit read-only check and invalidate mark.
4238 2005-02-17 Michael Koch <konqueror@gmx.de>
4240 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4241 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4242 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4243 gnu/java/awt/peer/gtk/GdkGraphics.java,
4244 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4245 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4246 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4247 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4248 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4249 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4250 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4251 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4252 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4253 gnu/java/awt/peer/gtk/GtkClipboard.java,
4254 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4255 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4256 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4257 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4258 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4259 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4260 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4261 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4262 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4263 gnu/java/awt/peer/gtk/GtkToolkit.java,
4264 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4265 java/applet/Applet.java,
4266 java/awt/AWTError.java,
4267 java/awt/AWTEvent.java,
4268 java/awt/AWTEventMulticaster.java,
4269 java/awt/AWTException.java,
4270 java/awt/AWTKeyStroke.java,
4271 java/awt/AWTPermission.java,
4272 java/awt/ActiveEvent.java,
4273 java/awt/Adjustable.java,
4274 java/awt/AlphaComposite.java,
4275 java/awt/AttributeValue.java,
4276 java/awt/BorderLayout.java,
4277 java/awt/BufferCapabilities.java,
4278 java/awt/Button.java,
4279 java/awt/Canvas.java,
4280 java/awt/CheckboxGroup.java,
4281 java/awt/CheckboxMenuItem.java,
4282 java/awt/Color.java,
4283 java/awt/ColorPaintContext.java,
4284 java/awt/Component.java,
4285 java/awt/ComponentOrientation.java,
4286 java/awt/Composite.java,
4287 java/awt/CompositeContext.java,
4288 java/awt/Container.java,
4289 java/awt/ContainerOrderFocusTraversalPolicy.java,
4290 java/awt/DefaultFocusTraversalPolicy.java,
4291 java/awt/Dialog.java,
4292 java/awt/Dimension.java,
4293 java/awt/DisplayMode.java,
4294 java/awt/EventQueue.java,
4295 java/awt/FileDialog.java,
4296 java/awt/FontFormatException.java,
4297 java/awt/Graphics.java,
4298 java/awt/Graphics2D.java,
4299 java/awt/GraphicsConfigTemplate.java,
4300 java/awt/GraphicsConfiguration.java,
4301 java/awt/GraphicsDevice.java,
4302 java/awt/GridBagLayout.java,
4303 java/awt/GridBagLayoutInfo.java,
4304 java/awt/GridLayout.java,
4305 java/awt/HeadlessException.java,
4306 java/awt/IllegalComponentStateException.java,
4307 java/awt/Image.java,
4308 java/awt/Insets.java,
4309 java/awt/ItemSelectable.java,
4310 java/awt/JobAttributes.java,
4311 java/awt/KeyEventDispatcher.java,
4312 java/awt/KeyEventPostProcessor.java,
4313 java/awt/KeyboardFocusManager.java,
4314 java/awt/Label.java,
4315 java/awt/LayoutManager.java,
4316 java/awt/MenuBar.java,
4317 java/awt/MenuComponent.java,
4318 java/awt/MenuContainer.java,
4319 java/awt/PageAttributes.java,
4320 java/awt/Paint.java,
4321 java/awt/PaintContext.java,
4322 java/awt/Panel.java,
4323 java/awt/Point.java,
4324 java/awt/Polygon.java,
4325 java/awt/PrintGraphics.java,
4326 java/awt/PrintJob.java,
4327 java/awt/Rectangle.java,
4328 java/awt/RenderingHints.java,
4329 java/awt/Shape.java,
4330 java/awt/Stroke.java,
4331 java/awt/SystemColor.java,
4332 java/awt/Toolkit.java,
4333 java/awt/Transparency.java,
4334 java/awt/Window.java,
4335 java/awt/color/CMMException.java,
4336 java/awt/color/ColorSpace.java,
4337 java/awt/color/ICC_ColorSpace.java,
4338 java/awt/color/ICC_Profile.java,
4339 java/awt/color/ProfileDataException.java,
4340 java/awt/datatransfer/FlavorTable.java,
4341 java/awt/datatransfer/MimeTypeParseException.java,
4342 java/awt/datatransfer/Transferable.java,
4343 java/awt/datatransfer/UnsupportedFlavorException.java,
4344 java/awt/dnd/Autoscroll.java,
4345 java/awt/dnd/DnDConstants.java,
4346 java/awt/dnd/DragGestureListener.java,
4347 java/awt/dnd/DragSourceAdapter.java,
4348 java/awt/dnd/DragSourceDropEvent.java,
4349 java/awt/dnd/DragSourceListener.java,
4350 java/awt/dnd/DragSourceMotionListener.java,
4351 java/awt/dnd/DropTargetAdapter.java,
4352 java/awt/dnd/DropTargetContext.java,
4353 java/awt/dnd/DropTargetListener.java,
4354 java/awt/dnd/InvalidDnDOperationException.java,
4355 java/awt/dnd/MouseDragGestureRecognizer.java,
4356 java/awt/dnd/peer/DropTargetContextPeer.java,
4357 java/awt/event/AWTEventListener.java,
4358 java/awt/event/AWTEventListenerProxy.java,
4359 java/awt/event/ActionEvent.java,
4360 java/awt/event/AdjustmentEvent.java,
4361 java/awt/event/AdjustmentListener.java,
4362 java/awt/event/ComponentAdapter.java,
4363 java/awt/event/ComponentEvent.java,
4364 java/awt/event/ComponentListener.java,
4365 java/awt/event/ContainerAdapter.java,
4366 java/awt/event/ContainerEvent.java,
4367 java/awt/event/ContainerListener.java,
4368 java/awt/event/FocusAdapter.java,
4369 java/awt/event/FocusEvent.java,
4370 java/awt/event/FocusListener.java,
4371 java/awt/event/InputEvent.java,
4372 java/awt/event/InputMethodEvent.java,
4373 java/awt/event/InputMethodListener.java,
4374 java/awt/event/InvocationEvent.java,
4375 java/awt/event/ItemEvent.java,
4376 java/awt/event/ItemListener.java,
4377 java/awt/event/KeyAdapter.java,
4378 java/awt/event/KeyEvent.java,
4379 java/awt/event/KeyListener.java,
4380 java/awt/event/MouseAdapter.java,
4381 java/awt/event/MouseEvent.java,
4382 java/awt/event/MouseListener.java,
4383 java/awt/event/MouseMotionAdapter.java,
4384 java/awt/event/MouseMotionListener.java,
4385 java/awt/event/MouseWheelEvent.java,
4386 java/awt/event/MouseWheelListener.java,
4387 java/awt/event/PaintEvent.java,
4388 java/awt/event/TextEvent.java,
4389 java/awt/event/TextListener.java,
4390 java/awt/event/WindowAdapter.java,
4391 java/awt/event/WindowEvent.java,
4392 java/awt/event/WindowFocusListener.java,
4393 java/awt/event/WindowListener.java,
4394 java/awt/event/WindowStateListener.java,
4395 java/awt/font/TextHitInfo.java,
4396 java/awt/geom/CubicCurve2D.java,
4397 java/awt/geom/Dimension2D.java,
4398 java/awt/geom/Ellipse2D.java,
4399 java/awt/geom/IllegalPathStateException.java,
4400 java/awt/geom/Line2D.java,
4401 java/awt/geom/NoninvertibleTransformException.java,
4402 java/awt/geom/PathIterator.java,
4403 java/awt/geom/Point2D.java,
4404 java/awt/geom/QuadCurve2D.java,
4405 java/awt/geom/RectangularShape.java,
4406 java/awt/geom/RoundRectangle2D.java,
4407 java/awt/im/InputContext.java,
4408 java/awt/im/InputMethodHighlight.java,
4409 java/awt/im/InputMethodRequests.java,
4410 java/awt/im/InputSubset.java,
4411 java/awt/im/spi/InputMethod.java,
4412 java/awt/im/spi/InputMethodDescriptor.java,
4413 java/awt/image/BandCombineOp.java,
4414 java/awt/image/BandedSampleModel.java,
4415 java/awt/image/ByteLookupTable.java,
4416 java/awt/image/ComponentSampleModel.java,
4417 java/awt/image/DataBuffer.java,
4418 java/awt/image/DataBufferByte.java,
4419 java/awt/image/DataBufferDouble.java,
4420 java/awt/image/DataBufferFloat.java,
4421 java/awt/image/DataBufferInt.java,
4422 java/awt/image/DataBufferShort.java,
4423 java/awt/image/DataBufferUShort.java,
4424 java/awt/image/ImagingOpException.java,
4425 java/awt/image/Kernel.java,
4426 java/awt/image/LookupTable.java,
4427 java/awt/image/MultiPixelPackedSampleModel.java,
4428 java/awt/image/PackedColorModel.java,
4429 java/awt/image/PixelInterleavedSampleModel.java,
4430 java/awt/image/RGBImageFilter.java,
4431 java/awt/image/Raster.java,
4432 java/awt/image/RasterFormatException.java,
4433 java/awt/image/SampleModel.java,
4434 java/awt/image/ShortLookupTable.java,
4435 java/awt/image/SinglePixelPackedSampleModel.java,
4436 java/awt/image/WritableRaster.java,
4437 java/awt/print/PrinterAbortException.java,
4438 java/awt/print/PrinterException.java,
4439 java/awt/print/PrinterIOException.java,
4440 java/beans/AppletInitializer.java,
4441 java/beans/ExceptionListener.java,
4442 java/beans/PropertyChangeEvent.java,
4443 java/beans/PropertyChangeListenerProxy.java,
4444 java/beans/PropertyChangeSupport.java,
4445 java/beans/PropertyDescriptor.java,
4446 java/beans/VetoableChangeListenerProxy.java,
4447 java/beans/VetoableChangeSupport.java,
4448 java/io/BufferedReader.java,
4449 java/io/ByteArrayInputStream.java,
4450 java/io/ByteArrayOutputStream.java,
4451 java/io/CharArrayReader.java,
4452 java/io/CharArrayWriter.java,
4453 java/io/CharConversionException.java,
4454 java/io/DataInput.java,
4455 java/io/DataInputStream.java,
4456 java/io/DataOutput.java,
4457 java/io/DataOutputStream.java,
4458 java/io/EOFException.java,
4459 java/io/FileInputStream.java,
4460 java/io/FileNotFoundException.java,
4461 java/io/FileOutputStream.java,
4462 java/io/FilenameFilter.java,
4463 java/io/FilterInputStream.java,
4464 java/io/FilterOutputStream.java,
4465 java/io/FilterReader.java,
4466 java/io/FilterWriter.java,
4467 java/io/IOException.java,
4468 java/io/InputStream.java,
4469 java/io/InterruptedIOException.java,
4470 java/io/LineNumberInputStream.java,
4471 java/io/LineNumberReader.java,
4472 java/io/ObjectInputStream.java,
4473 java/io/ObjectStreamException.java,
4474 java/io/OptionalDataException.java,
4475 java/io/OutputStream.java,
4476 java/io/OutputStreamWriter.java,
4477 java/io/PrintStream.java,
4478 java/io/PrintWriter.java,
4479 java/io/PushbackInputStream.java,
4480 java/io/PushbackReader.java,
4481 java/io/RandomAccessFile.java,
4482 java/io/Reader.java,
4483 java/io/SequenceInputStream.java,
4484 java/io/Serializable.java,
4485 java/io/StreamCorruptedException.java,
4486 java/io/StreamTokenizer.java,
4487 java/io/StringBufferInputStream.java,
4488 java/io/StringWriter.java,
4489 java/io/SyncFailedException.java,
4490 java/io/UTFDataFormatException.java,
4491 java/io/UnsupportedEncodingException.java,
4492 java/io/WriteAbortedException.java,
4493 java/io/Writer.java,
4494 java/lang/AbstractMethodError.java,
4495 java/lang/ArithmeticException.java,
4496 java/lang/ArrayIndexOutOfBoundsException.java,
4497 java/lang/ArrayStoreException.java,
4498 java/lang/AssertionError.java,
4499 java/lang/Boolean.java,
4500 java/lang/Byte.java,
4501 java/lang/Class.java,
4502 java/lang/ClassCastException.java,
4503 java/lang/ClassCircularityError.java,
4504 java/lang/ClassLoader.java,
4505 java/lang/ClassNotFoundException.java,
4506 java/lang/CloneNotSupportedException.java,
4507 java/lang/Cloneable.java,
4508 java/lang/Comparable.java,
4509 java/lang/Compiler.java,
4510 java/lang/Double.java,
4511 java/lang/Error.java,
4512 java/lang/Exception.java,
4513 java/lang/ExceptionInInitializerError.java,
4514 java/lang/Float.java,
4515 java/lang/IllegalAccessError.java,
4516 java/lang/IllegalAccessException.java,
4517 java/lang/IllegalArgumentException.java,
4518 java/lang/IllegalMonitorStateException.java,
4519 java/lang/IllegalStateException.java,
4520 java/lang/IllegalThreadStateException.java,
4521 java/lang/IncompatibleClassChangeError.java,
4522 java/lang/IndexOutOfBoundsException.java,
4523 java/lang/InheritableThreadLocal.java,
4524 java/lang/InstantiationError.java,
4525 java/lang/InstantiationException.java,
4526 java/lang/Integer.java,
4527 java/lang/InternalError.java,
4528 java/lang/InterruptedException.java,
4529 java/lang/LinkageError.java,
4530 java/lang/Long.java,
4531 java/lang/NegativeArraySizeException.java,
4532 java/lang/NoClassDefFoundError.java,
4533 java/lang/NoSuchFieldError.java,
4534 java/lang/NoSuchFieldException.java,
4535 java/lang/NoSuchMethodError.java,
4536 java/lang/NoSuchMethodException.java,
4537 java/lang/NullPointerException.java,
4538 java/lang/Number.java,
4539 java/lang/NumberFormatException.java,
4540 java/lang/OutOfMemoryError.java,
4541 java/lang/Process.java,
4542 java/lang/Runnable.java,
4543 java/lang/Runtime.java,
4544 java/lang/RuntimeException.java,
4545 java/lang/RuntimePermission.java,
4546 java/lang/SecurityException.java,
4547 java/lang/SecurityManager.java,
4548 java/lang/Short.java,
4549 java/lang/StackOverflowError.java,
4550 java/lang/StackTraceElement.java,
4551 java/lang/StringBuffer.java,
4552 java/lang/StringIndexOutOfBoundsException.java,
4553 java/lang/ThreadDeath.java,
4554 java/lang/ThreadGroup.java,
4555 java/lang/Throwable.java,
4556 java/lang/UnsatisfiedLinkError.java,
4557 java/lang/UnsupportedOperationException.java,
4558 java/lang/VerifyError.java,
4559 java/lang/VirtualMachineError.java,
4560 java/lang/reflect/AccessibleObject.java,
4561 java/lang/reflect/Array.java,
4562 java/lang/reflect/InvocationTargetException.java,
4563 java/lang/reflect/Member.java,
4564 java/lang/reflect/Modifier.java,
4565 java/lang/reflect/Proxy.java,
4566 java/lang/reflect/ReflectPermission.java,
4567 java/lang/reflect/UndeclaredThrowableException.java,
4568 java/math/BigInteger.java,
4569 java/net/NetworkInterface.java,
4570 java/nio/ByteBufferHelper.java,
4571 java/nio/ByteBufferImpl.java,
4572 java/nio/DirectByteBufferImpl.java,
4573 java/nio/DoubleBufferImpl.java,
4574 java/nio/FloatBufferImpl.java,
4575 java/nio/IntBufferImpl.java,
4576 java/nio/LongBufferImpl.java,
4577 java/nio/ShortBufferImpl.java,
4578 java/nio/channels/Channel.java,
4579 java/nio/channels/IllegalBlockingModeException.java,
4580 java/nio/charset/spi/CharsetProvider.java,
4581 java/security/AccessControlException.java,
4582 java/security/BasicPermission.java,
4583 java/security/DigestException.java,
4584 java/security/DigestInputStream.java,
4585 java/security/DigestOutputStream.java,
4586 java/security/GeneralSecurityException.java,
4587 java/security/Guard.java,
4588 java/security/GuardedObject.java,
4589 java/security/InvalidAlgorithmParameterException.java,
4590 java/security/InvalidKeyException.java,
4591 java/security/InvalidParameterException.java,
4592 java/security/Key.java,
4593 java/security/KeyException.java,
4594 java/security/KeyManagementException.java,
4595 java/security/KeyStoreException.java,
4596 java/security/MessageDigestSpi.java,
4597 java/security/NoSuchAlgorithmException.java,
4598 java/security/NoSuchProviderException.java,
4599 java/security/Permission.java,
4600 java/security/PermissionCollection.java,
4601 java/security/Permissions.java,
4602 java/security/Principal.java,
4603 java/security/PrivateKey.java,
4604 java/security/PrivilegedActionException.java,
4605 java/security/ProviderException.java,
4606 java/security/PublicKey.java,
4607 java/security/SecureRandom.java,
4608 java/security/SecureRandomSpi.java,
4609 java/security/SignatureException.java,
4610 java/security/SignatureSpi.java,
4611 java/security/SignedObject.java,
4612 java/security/Signer.java,
4613 java/security/UnrecoverableKeyException.java,
4614 java/security/UnresolvedPermission.java,
4615 java/security/acl/AclNotFoundException.java,
4616 java/security/acl/LastOwnerException.java,
4617 java/security/acl/NotOwnerException.java,
4618 java/security/cert/CertPath.java,
4619 java/security/cert/CertPathBuilderException.java,
4620 java/security/cert/CertPathValidatorException.java,
4621 java/security/cert/CertStoreException.java,
4622 java/text/BreakIterator.java,
4623 java/text/ChoiceFormat.java,
4624 java/text/CollationElementIterator.java,
4625 java/text/CollationKey.java,
4626 java/text/Collator.java,
4627 java/text/DateFormat.java,
4628 java/text/DateFormatSymbols.java,
4629 java/text/DecimalFormat.java,
4630 java/text/DecimalFormatSymbols.java,
4631 java/text/FieldPosition.java,
4632 java/text/Format.java,
4633 java/text/NumberFormat.java,
4634 java/text/ParseException.java,
4635 java/text/ParsePosition.java,
4636 java/text/StringCharacterIterator.java,
4637 java/util/AbstractCollection.java,
4638 java/util/AbstractList.java,
4639 java/util/AbstractMap.java,
4640 java/util/AbstractSequentialList.java,
4641 java/util/AbstractSet.java,
4642 java/util/ArrayList.java,
4643 java/util/Arrays.java,
4644 java/util/BitSet.java,
4645 java/util/Collection.java,
4646 java/util/Collections.java,
4647 java/util/Comparator.java,
4648 java/util/ConcurrentModificationException.java,
4649 java/util/Currency.java,
4650 java/util/Date.java,
4651 java/util/EmptyStackException.java,
4652 java/util/Enumeration.java,
4653 java/util/EventListener.java,
4654 java/util/EventListenerProxy.java,
4655 java/util/EventObject.java,
4656 java/util/HashMap.java,
4657 java/util/HashSet.java,
4658 java/util/Hashtable.java,
4659 java/util/IdentityHashMap.java,
4660 java/util/Iterator.java,
4661 java/util/LinkedHashSet.java,
4662 java/util/LinkedList.java,
4663 java/util/List.java,
4664 java/util/ListIterator.java,
4665 java/util/ListResourceBundle.java,
4667 java/util/MissingResourceException.java,
4668 java/util/NoSuchElementException.java,
4669 java/util/Observable.java,
4670 java/util/Observer.java,
4671 java/util/Properties.java,
4672 java/util/PropertyPermissionCollection.java,
4673 java/util/RandomAccess.java,
4675 java/util/SortedMap.java,
4676 java/util/SortedSet.java,
4677 java/util/Stack.java,
4678 java/util/StringTokenizer.java,
4679 java/util/TooManyListenersException.java,
4680 java/util/TreeMap.java,
4681 java/util/TreeSet.java,
4682 java/util/Vector.java,
4683 java/util/logging/FileHandler.java,
4684 java/util/logging/Level.java,
4685 java/util/prefs/BackingStoreException.java,
4686 java/util/prefs/InvalidPreferencesFormatException.java,
4687 java/util/prefs/Preferences.java,
4688 javax/accessibility/Accessible.java,
4689 javax/accessibility/AccessibleAction.java,
4690 javax/accessibility/AccessibleBundle.java,
4691 javax/accessibility/AccessibleComponent.java,
4692 javax/accessibility/AccessibleContext.java,
4693 javax/accessibility/AccessibleEditableText.java,
4694 javax/accessibility/AccessibleExtendedComponent.java,
4695 javax/accessibility/AccessibleExtendedTable.java,
4696 javax/accessibility/AccessibleHyperlink.java,
4697 javax/accessibility/AccessibleHypertext.java,
4698 javax/accessibility/AccessibleIcon.java,
4699 javax/accessibility/AccessibleKeyBinding.java,
4700 javax/accessibility/AccessibleRelation.java,
4701 javax/accessibility/AccessibleRelationSet.java,
4702 javax/accessibility/AccessibleResourceBundle.java,
4703 javax/accessibility/AccessibleRole.java,
4704 javax/accessibility/AccessibleSelection.java,
4705 javax/accessibility/AccessibleState.java,
4706 javax/accessibility/AccessibleStateSet.java,
4707 javax/accessibility/AccessibleTable.java,
4708 javax/accessibility/AccessibleTableModelChange.java,
4709 javax/accessibility/AccessibleText.java,
4710 javax/accessibility/AccessibleValue.java,
4711 javax/imageio/IIOException.java,
4712 javax/imageio/ImageIO.java,
4713 javax/imageio/spi/IIOServiceProvider.java,
4714 javax/imageio/spi/ImageInputStreamSpi.java,
4715 javax/imageio/spi/ImageOutputStreamSpi.java,
4716 javax/imageio/spi/ImageReaderWriterSpi.java,
4717 javax/imageio/spi/ImageTranscoderSpi.java,
4718 javax/imageio/spi/RegisterableService.java,
4719 javax/imageio/spi/ServiceRegistry.java,
4720 javax/imageio/stream/IIOByteBuffer.java,
4721 javax/imageio/stream/ImageInputStream.java,
4722 javax/imageio/stream/ImageOutputStream.java,
4723 javax/naming/Binding.java,
4724 javax/naming/CannotProceedException.java,
4725 javax/naming/CompositeName.java,
4726 javax/naming/CompoundName.java,
4727 javax/naming/LinkException.java,
4728 javax/naming/LinkRef.java,
4729 javax/naming/NameClassPair.java,
4730 javax/naming/Reference.java,
4731 javax/naming/ReferralException.java,
4732 javax/naming/directory/Attribute.java,
4733 javax/naming/directory/AttributeModificationException.java,
4734 javax/naming/directory/Attributes.java,
4735 javax/naming/directory/DirContext.java,
4736 javax/naming/directory/ModificationItem.java,
4737 javax/naming/directory/SearchControls.java,
4738 javax/naming/directory/SearchResult.java,
4739 javax/naming/event/EventContext.java,
4740 javax/naming/event/EventDirContext.java,
4741 javax/naming/event/NamespaceChangeListener.java,
4742 javax/naming/event/NamingExceptionEvent.java,
4743 javax/naming/event/NamingListener.java,
4744 javax/naming/event/ObjectChangeListener.java,
4745 javax/naming/ldap/Control.java,
4746 javax/naming/ldap/ExtendedResponse.java,
4747 javax/naming/ldap/HasControls.java,
4748 javax/naming/ldap/LdapContext.java,
4749 javax/naming/ldap/UnsolicitedNotification.java,
4750 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4751 javax/naming/ldap/UnsolicitedNotificationListener.java,
4752 javax/naming/spi/DirectoryManager.java,
4753 javax/naming/spi/ResolveResult.java,
4754 javax/naming/spi/Resolver.java,
4755 javax/security/auth/callback/Callback.java,
4756 javax/security/auth/callback/CallbackHandler.java,
4757 javax/security/auth/callback/ChoiceCallback.java,
4758 javax/security/auth/callback/ConfirmationCallback.java,
4759 javax/security/auth/callback/LanguageCallback.java,
4760 javax/security/auth/callback/NameCallback.java,
4761 javax/security/auth/callback/PasswordCallback.java,
4762 javax/security/auth/callback/TextInputCallback.java,
4763 javax/security/auth/callback/TextOutputCallback.java,
4764 javax/security/auth/callback/UnsupportedCallbackException.java,
4765 javax/security/sasl/Sasl.java,
4766 javax/security/sasl/SaslServerFactory.java,
4767 javax/swing/DefaultBoundedRangeModel.java,
4768 javax/swing/JComponent.java,
4769 javax/swing/JList.java,
4770 javax/swing/JProgressBar.java,
4771 javax/swing/JRadioButton.java,
4772 javax/swing/JTextArea.java,
4773 javax/swing/JTextField.java,
4774 javax/swing/JToggleButton.java,
4775 javax/swing/JTree.java,
4776 javax/swing/SpinnerListModel.java,
4777 javax/swing/event/EventListenerList.java,
4778 javax/swing/text/JTextComponent.java,
4779 javax/swing/text/StringContent.java,
4780 javax/swing/text/Utilities.java,
4781 javax/swing/undo/UndoManager.java,
4782 javax/swing/undo/UndoableEditSupport.java,
4783 javax/transaction/HeuristicCommitException.java,
4784 javax/transaction/HeuristicMixedException.java,
4785 javax/transaction/HeuristicRollbackException.java,
4786 javax/transaction/InvalidTransactionException.java,
4787 javax/transaction/NotSupportedException.java,
4788 javax/transaction/RollbackException.java,
4789 javax/transaction/Status.java,
4790 javax/transaction/Synchronization.java,
4791 javax/transaction/SystemException.java,
4792 javax/transaction/Transaction.java,
4793 javax/transaction/TransactionManager.java,
4794 javax/transaction/TransactionRequiredException.java,
4795 javax/transaction/TransactionRolledbackException.java,
4796 javax/transaction/UserTransaction.java,
4797 javax/transaction/xa/XAException.java,
4798 javax/transaction/xa/XAResource.java,
4799 javax/transaction/xa/Xid.java,
4800 javax/xml/XMLConstants.java,
4801 javax/xml/datatype/DatatypeConfigurationException.java,
4802 javax/xml/datatype/DatatypeConstants.java,
4803 javax/xml/datatype/DatatypeFactory.java,
4804 javax/xml/datatype/Duration.java,
4805 javax/xml/datatype/XMLGregorianCalendar.java,
4806 javax/xml/namespace/NamespaceContext.java,
4807 javax/xml/namespace/QName.java,
4808 javax/xml/parsers/DocumentBuilder.java,
4809 javax/xml/parsers/DocumentBuilderFactory.java,
4810 javax/xml/parsers/FactoryConfigurationError.java,
4811 javax/xml/parsers/ParserConfigurationException.java,
4812 javax/xml/parsers/SAXParser.java,
4813 javax/xml/parsers/SAXParserFactory.java,
4814 javax/xml/transform/ErrorListener.java,
4815 javax/xml/transform/OutputKeys.java,
4816 javax/xml/transform/Result.java,
4817 javax/xml/transform/Source.java,
4818 javax/xml/transform/SourceLocator.java,
4819 javax/xml/transform/Templates.java,
4820 javax/xml/transform/Transformer.java,
4821 javax/xml/transform/TransformerConfigurationException.java,
4822 javax/xml/transform/TransformerException.java,
4823 javax/xml/transform/TransformerFactory.java,
4824 javax/xml/transform/TransformerFactoryConfigurationError.java,
4825 javax/xml/transform/URIResolver.java,
4826 javax/xml/transform/dom/DOMLocator.java,
4827 javax/xml/transform/dom/DOMResult.java,
4828 javax/xml/transform/dom/DOMSource.java,
4829 javax/xml/transform/sax/SAXResult.java,
4830 javax/xml/transform/sax/SAXSource.java,
4831 javax/xml/transform/sax/SAXTransformerFactory.java,
4832 javax/xml/transform/sax/TemplatesHandler.java,
4833 javax/xml/transform/sax/TransformerHandler.java,
4834 javax/xml/transform/stream/StreamResult.java,
4835 javax/xml/transform/stream/StreamSource.java,
4836 javax/xml/validation/Schema.java,
4837 javax/xml/validation/SchemaFactory.java,
4838 javax/xml/validation/TypeInfoProvider.java,
4839 javax/xml/validation/Validator.java,
4840 javax/xml/validation/ValidatorHandler.java,
4841 javax/xml/xpath/XPathConstants.java,
4842 javax/xml/xpath/XPathException.java,
4843 javax/xml/xpath/XPathExpression.java,
4844 javax/xml/xpath/XPathExpressionException.java,
4845 javax/xml/xpath/XPathFactory.java,
4846 javax/xml/xpath/XPathFactoryConfigurationException.java,
4847 javax/xml/xpath/XPathFunction.java,
4848 javax/xml/xpath/XPathFunctionException.java,
4849 javax/xml/xpath/XPathFunctionResolver.java:
4850 Fixed usage of @author tag, reworked import statements,
4851 removed CVS tags, changed the modifier order and fixed
4852 HTML usage in javadocs.
4854 2005-02-16 Julian Scheid <julian@sektor37.de>
4856 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4858 (encodeLoop): Likewise.
4860 2005-02-16 Mark Wielaard <mark@klomp.org>
4862 * Makefile.am (ordinary_java_source_files): Add new files
4863 gnu/java/security/ber/BER.java,
4864 gnu/java/security/ber/BEREncodingException.java,
4865 gnu/java/security/ber/BERReader.java,
4866 gnu/java/security/ber/BERValue.java,
4867 gnu/java/security/pkcs/PKCS7SignedData.java and
4868 gnu/java/security/pkcs/SignerInfo.java.
4869 * Makefile.in: Regenerated.
4871 2005-02-16 Casey Marshall <csm@gnu.org>
4873 * gnu/java/security/provider/GnuDSAPrivateKey.java
4874 (encodedKey): new field.
4875 (getFormat): return "PKCS#8".
4876 (getEncoded): implemented.
4877 (toString): check for 'null' values.
4878 * gnu/java/security/provider/GnuDSAPublicKey.java
4879 (encodedKey): new field.
4880 (getFormat): return "X.509".
4881 (getEncoded): implemented.
4882 (toString): check for 'null' values.
4884 2005-02-16 Michael Koch <konqueror@gmx.de>
4886 * java/util/jar/JarFile.java: Imports reworked.
4888 2005-02-16 Mark Wielaard <mark@klomp.org>
4890 * java/util/jar/JarFile.java (verify): Make package private.
4891 (signaturesRead): Likewise.
4892 (verified): Likewise.
4893 (entryCerts): Likewise.
4896 (entries): Construct new JarEnumeration with reference to this.
4897 (JarEnumeration): Make static.
4898 (JarEnumeration.jarfile): New field.
4899 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4900 Compare verified value to Boolean.TRUE or Boolean.False only
4901 when verify is true.
4902 (getEntry): Make synchronized. Compare value of verified to
4904 (getInputStream): Construct EntryInputStream with reference to this.
4905 (getManifest): Make synchronized.
4906 (EntryInputStream): Make static.
4907 (EntryInputStream.jarfile): New field.
4908 (EntryInputStream.EntryInputStream): Check if manifest exists,
4909 before getting attributes.
4910 (eof): Synchronize on jarfile.
4912 2005-02-16 Casey Marshall <csm@gnu.org>
4914 * java/util/jar/JarFile.java (verify): return if the jar is signed
4915 with an unsupported algorithm.
4917 2005-02-16 Mark Wielaard <mark@klomp.org>
4919 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4920 InputStream as argument.
4921 (getInputStream): Construct a new EntryInputStream with the result of
4922 super.getInputStream(entry).
4924 2005-02-16 Casey Marshall <csm@gnu.org>
4926 Signed JAR file support.
4927 * java/net/URLClassLoader.java
4928 (JarURLResource.getCertificates): re-read jar entry to ensure
4929 certificates are picked up.
4930 (findClass): fill in class `signers' field, too.
4931 * java/util/jar/JarFile.java (META_INF): new constant.
4932 (PKCS7_DSA_SUFFIX): new constant.
4933 (PKCS7_RSA_SUFFIX): new constant.
4934 (DIGEST_KEY_SUFFIX): new constant.
4935 (SF_SUFFIX): new constant.
4936 (MD2_OID): new constant.
4937 (MD4_OID): new constant.
4938 (MD5_OID): new constant.
4939 (SHA1_OID): new constant.
4940 (DSA_ENCRYPTION_OID): new constant.
4941 (RSA_ENCRYPTION_OID): new constant.
4942 (signaturesRead): new field.
4943 (verified): new field.
4944 (entryCerts): new field.
4945 (DEBUG): new constant.
4946 (debug): new method.
4947 (JarEnumeration.nextElement): fill in entry certificates, read
4948 signatures if they haven't been read.
4949 (getEntry): likewise.
4950 (getInputStream): verify stream if it hasn't been verified yet.
4951 (readSignatures): new method.
4952 (verify): new method.
4953 (verifyHashes): new method.
4954 (readManifestEntry): new method.
4955 (EntryInputStream): new class.
4956 * gnu/java/io/Base64InputStream.java (decode): new class
4958 * gnu/java/security/der/DERReader.java don't make class
4960 (in): made protected.
4962 (readLength): likewise.
4963 * gnu/java/security/ber/BER.java,
4964 * gnu/java/security/ber/BEREncodingException.java,
4965 * gnu/java/security/ber/BERReader.java,
4966 * gnu/java/security/ber/BERValue.java,
4967 * gnu/java/security/pkcs/PKCS7SignedData.java,
4968 * gnu/java/security/pkcs/SignerInfo.java:
4971 2005-02-16 Tom Tromey <tromey@redhat.com>
4973 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4974 copied file on exit.
4976 2005-02-15 Mark Wielaard <mark@klomp.org>
4978 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4980 2005-02-15 Michael Koch <konqueror@gmx.de>
4982 * gnu/java/awt/peer/gtk/GtkArg.java,
4983 gnu/java/awt/peer/gtk/GtkArgList.java:
4986 2005-02-15 Craig Black <craig.black@aonix.com>
4988 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4989 (postMenuActionEvent): Implement to notify ItemListeners.
4990 * java/awt/CheckboxMenuItem.java
4991 (dispatchEventImpl): Update state on ItemEvent.
4992 * java/awt/MenuItem.java
4993 (processActionEvent): Retarget event source.
4995 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4997 * gnu/java/awt/color/ClutProfileConverter.java,
4998 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4999 gnu/java/awt/peer/gtk/GdkFontPeer.java,
5000 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5001 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5002 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5003 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5004 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5005 gnu/java/awt/peer/gtk/GdkTextLayout.java,
5006 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5007 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5008 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5009 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5010 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5011 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5012 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5013 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5014 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5015 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5016 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5017 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5018 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5019 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5020 gnu/java/awt/peer/gtk/GtkToolkit.java,
5021 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5022 javax/swing/JPopupMenu.java,
5023 javax/swing/JSpinner.java,
5024 javax/swing/SortingFocusTraversalPolicy.java,
5025 javax/swing/SwingUtilities.java,
5026 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5027 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5028 javax/swing/tree/DefaultMutableTreeNode.java:
5029 Removed unused imports and expanded starred
5032 2005-02-15 Mark Wielaard <mark@klomp.org>
5034 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5035 IllegalArgumentException when the given String is null.
5037 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5038 when given keystoke sequence cannot be parsed.
5040 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5041 if one is installed. Only install the given menubar is not null.
5043 * javax/swing/JViewport.java (getViewSize): Return an empty
5044 Dimension when the view isn't set or preferred component size when
5047 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5048 empty Dimension when there is no view set.
5049 (minimumLayoutSize): Likewise.
5050 (layoutContainer): Don't try to layout when there is no view.
5052 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5055 * include/jawt.h: Likewise.
5056 * include/jawt_md.h: Likewise.
5057 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5059 * jni/classpath/classpath_jawt.h: Likewise.
5060 * jni/gtk-peer/gtk_jawt.c: Likewise.
5061 * Makefile.am: Build libjawt.so.
5063 2005-02-15 Michael Koch <konqueror@gmx.de>
5065 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5066 Merged file header with classpath CVS head.
5067 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5068 Merged code formatting with classpath CVS head.
5069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5071 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5072 Handle special JNI strings with 2 '\0' at the end.
5073 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5074 Merged file header with classpath CVS head.
5075 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5076 Merged code formatting with classpath CVS head.
5078 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5080 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5081 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5082 (handle_response): Use GTK_RESPONSE_ACCEPT.
5084 2005-02-15 Graydon Hoare <graydon@redhat.com>
5086 * Makefile.am: Fix library build breakage.
5087 * Makefile.in: Regenerate.
5089 2005-02-15 Michael Koch <konqueror@gmx.de>
5091 * javax/swing/JTabbedPane.java
5092 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5094 2005-02-15 Michael Koch <konqueror@gmx.de>
5096 * javax/swing/tree/DefaultMutableTreeNode.java:
5097 Reworked Javadocs all over.
5098 (getPathToRoot): Fixed direction of result array initialization.
5100 2005-02-15 Michael Koch <konqueror@gmx.de>
5102 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5103 Fix includes for cairo 0.3.0 snappshot.
5104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5105 Merged file header from classpath CVS HEAD.
5107 2005-02-15 Craig Black <craig.black@aonix.com>
5109 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5110 (copyState): Pass a JNI global reference to signal handler.
5111 (realize_cb): Use and free JNI global reference.
5112 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5113 (create): Pass a JNI global reference to signal handler.
5114 (selection_changed): Match declaration.
5115 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5116 (dispose): Do not remove entries from state tables until after widget is
5119 2005-02-15 Michael Koch <konqueror@gmx.de>
5121 * java/awt/Container.javai (paramString):
5122 If layoutMgr is null just return result of super.paramString().
5123 * java/awt/Scrollbar.java: Reformatted.
5124 * java/awt/im/InputContext.java (static):
5125 Removed redundant initializations.
5127 2005-02-15 Michael Koch <konqueror@gmx.de>
5129 * javax/swing/ImageIcon.java,
5130 javax/swing/UIManager.java,
5131 javax/swing/text/EditorKit.java,
5132 javax/swing/text/Segment.java:
5133 More whitespace cleanups.
5135 2005-02-15 Michael Koch <konqueror@gmx.de>
5137 * gnu/java/awt/EmbeddedWindow.java,
5138 gnu/java/awt/image/ImageDecoder.java,
5139 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5140 java/awt/DefaultKeyboardFocusManager.java,
5141 java/awt/Frame.java,
5142 java/awt/image/RGBImageFilter.java,
5143 javax/swing/AbstractButton.java,
5144 javax/swing/ActionMap.java,
5145 javax/swing/ComponentInputMap.java,
5146 javax/swing/DefaultDesktopManager.java,
5147 javax/swing/ImageIcon.java,
5148 javax/swing/InputMap.java,
5149 javax/swing/JButton.java,
5150 javax/swing/JCheckBox.java,
5151 javax/swing/JCheckBoxMenuItem.java,
5152 javax/swing/JEditorPane.java,
5153 javax/swing/JMenu.java,
5154 javax/swing/JMenuItem.java,
5155 javax/swing/JOptionPane.java,
5156 javax/swing/JRootPane.java,
5157 javax/swing/JTable.java,
5158 javax/swing/MenuSelectionManager.java,
5159 javax/swing/RepaintManager.java,
5160 javax/swing/ScrollPaneLayout.java,
5161 javax/swing/SortingFocusTraversalPolicy.java,
5162 javax/swing/UIManager.java,
5163 javax/swing/ViewportLayout.java,
5164 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5165 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5166 javax/swing/plaf/basic/BasicLabelUI.java,
5167 javax/swing/plaf/basic/BasicListUI.java,
5168 javax/swing/plaf/basic/BasicMenuItemUI.java,
5169 javax/swing/plaf/basic/BasicMenuUI.java,
5170 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5171 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5172 javax/swing/plaf/basic/BasicRootPaneUI.java,
5173 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5174 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5175 javax/swing/plaf/basic/BasicTextUI.java,
5176 javax/swing/table/TableColumnModel.java,
5177 javax/swing/text/AbstractDocument.java,
5178 javax/swing/text/EditorKit.java,
5179 javax/swing/text/Position.java,
5180 javax/swing/text/Segment.java,
5181 javax/swing/text/StyledEditorKit.java,
5182 javax/swing/text/ViewFactory.java:
5183 Cleanup whitespace differences to classpath CVS HEAD.
5185 2005-02-15 Graydon Hoare <graydon@redhat.com>
5187 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5188 (finalize): Call finish from here.
5189 (produce): Not from here.
5190 * Makefile.am (gtk_c_source_files):
5191 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5192 * Makefile.in: Regenerate.
5193 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5195 (cairoDrawGdkTextLayout):
5197 (getPeerTextMetrics):
5198 (getPeerFontMetrics): Remove.
5199 (setFont): Don't call cairoSetFont.
5200 (cairoDrawGlyphVector): Accept font peer argument.
5201 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5203 (ensure_metrics_cairo):
5204 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5205 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5206 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5207 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5209 (metrics_surface): Remove.
5210 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5211 Pass and install font peer.
5213 2005-02-15 Graydon Hoare <graydon@redhat.com>
5215 * Makefile.am: Create "split library" structure.
5216 * Makefile.in: Regenerate.
5218 2005-02-15 Graydon Hoare <graydon@redhat.com>
5220 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5222 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5224 Release GDK lock during upcalls.
5226 2005-02-15 Graydon Hoare <graydon@redhat.com>
5228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5230 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5231 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5232 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5234 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5237 (getTextMetrics): New native methods.
5238 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5239 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5240 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5241 * Makefile.in: Regenerate.
5243 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5245 * javax/swing/SwingUtilities.java:
5246 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5247 Implemented and documented.
5248 (getAccessibleChild(java.awt.Component, int)): Likewise.
5249 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5250 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5251 (getAccessibleStateSet(java.awt.Component)): Likewise.
5253 2005-02-15 Michael Koch <konqueror@gmx.de>
5255 * javax/swing/SwingUtilities.java
5256 (getFontMetrics): Removed.
5258 2005-02-15 Michael Koch <konqueror@gmx.de>
5260 * java/awt/Container.java
5261 (paramString): Implemented.
5262 * javax/swing/AbstractButton.java
5263 (paramString): Implemented.
5264 * javax/swing/JComponent.java
5265 (paramString): Implemented.
5266 * javax/swing/JMenu.java
5267 (paramString): Implemented.
5268 * javax/swing/JMenuBar.java
5269 (paramString): Implemented.
5270 * javax/swing/JMenuItem.java
5271 (paramString): Implemented.
5272 * javax/swing/JPopupMenu.java
5273 (paramString): Implemented.
5275 2005-02-15 Michael Koch <konqueror@gmx.de>
5277 * javax/swing/JMenu.java
5278 (uiClassID): Removed.
5279 (JMenu): Set invoker on popup menu.
5280 (getUIClassID): Return id directly.
5281 (getItemCount): Simply return getMenuComponentCount().
5283 (isTopLevelMenu): Simplified.
5284 * javax/swing/JMenuItem.java
5285 (uiClassID): Removed.
5286 (getUIClassID): Return id directly.
5287 * javax/swing/JPopupMenu.java
5288 (uiClassID): Removed.
5289 (JPopupMenu): Always initialize correctly.
5290 (getSubElements): Only return components implementing MenuElement
5292 (HeavyWeightPopup.hide): Removed.
5294 2005-02-15 Michael Koch <konqueror@gmx.de>
5296 * java/awt/image/ReplicateScaleFilter.java
5297 (replicatePixels): Made private.
5298 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5299 (DefaultRGBChooserPanel): Made package private.
5300 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5301 (RecentSwatchPanel): Likewise.
5302 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5303 (MouseInputAdapter): Made abstract.
5304 * javax/swing/tree/DefaultMutableTreeNode.java
5306 (growTree): Likewise.
5308 2005-02-15 Michael Koch <konqueror@gmx.de>
5310 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5313 2005-02-15 Michael Koch <konqueror@gmx.de>
5315 * javax/swing/JComponent.java (getComponentGraphics):
5316 Removed accidently commited code.
5318 2005-02-15 Graydon Hoare <graydon@redhat.com>
5320 * java/awt/dnd/DropTarget.java
5321 (addDropTargetListener): Despite documentation, do not throw.
5322 * javax/swing/JComponent.java: Set a default DropTarget.
5324 2005-02-15 Michael Koch <konqueror@gmx.de>
5326 * javax/swing/AbstractAction.java
5327 (ENABLED_PROPERTY): Removed.
5328 (setEnabled): Replaced constant with real string.
5329 * javax/swing/AbstractButton.java
5330 (createActionPropertyChangeListener.propertyChange): Likewise.
5331 * javax/swing/JComboBox.java
5332 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5333 (EDITABLE_CHANGED_PROPERTY): Removed.
5334 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5335 (ENABLED_CHANGED_PROPERTY):Likewise.
5336 (RENDERER_CHANGED_PROPERTY):Likewise.
5337 (EDITOR_CHANGED_PROPERTY):Likewise.
5338 (MODEL_CHANGED_PROPERTY):Likewise.
5339 (uiClassID):Likewise.
5340 (getUIClassID): Replaced constant with real string.
5341 (setModel):Likewise.
5342 (setEditable):Likewise.
5343 (setMaximumRowCount):Likewise.
5344 (setRenderer):Likewise.
5345 (setEditor):Likewise.
5346 (setEnabled):Likewise.
5347 * javax/swing/JLabel.java
5348 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5349 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5350 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5351 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5352 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5353 (ICON_CHANGED_PROPERTY): Likewise.
5354 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5355 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5356 (TEXT_CHANGED_PROPERTY): Likewise.
5357 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5358 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5359 (setText): Replaced constant with real string.
5360 (setIcon): Likewise.
5361 (setDisabledIcon): Likewise.
5362 (setDisplayedMnemonic): Likewise.
5363 (setIconTextGap): Likewise.
5364 (setVerticalAlignment): Likewise.
5365 (setHorizontalAlignment): Likewise.
5366 (setVerticalTextPosition): Likewise.
5367 (setHorizontalTextPosition): Likewise.
5368 (setLabelFor): Replaced constant with real string.
5369 Fire property change event after property got changed.
5370 * javax/swing/JList.java
5371 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5372 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5373 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5374 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5375 (MODEL_PROPERTY_CHANGED): Likewise.
5376 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5377 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5378 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5379 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5380 (setFixedCellWidth): Reimplemented.
5381 (setFixedCellHeight): Exit if new value is identical.
5382 Replaced constant with real string.
5383 (setSelectionBackground): Likewise.
5384 (setSelectionForeground): Likewise.
5385 (setPrototypeCellValue): Likewise.
5386 (setCellRenderer): Replaced constant with real string.
5387 (setModel): Likewise.
5388 (setSelectionModel): Likewise.
5389 * javax/swing/JMenuBar.java
5390 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5391 (MODEL_CHANGED_PROPERTY): Likewise.
5392 (MARGIN_CHANGED_PROPERTY): Likewise.
5393 (setBorderPainted): Reimplemented.
5394 (setMargin): Likewise.
5395 (setSelectionModel): Replaced constant with real string.
5396 * javax/swing/JPopupMenu.java
5397 (LABEL_CHANGED_PROPERTY): Removed.
5398 (VISIBLE_CHANGED_PROPERTY): Likewise.
5399 (borderPainted): Likewise.
5400 (setLabel): Replaced constant with real string.
5401 (setVisible): Exit if new value is identical.
5402 Replaced constant with real string.
5403 * javax/swing/JProgressBar.java
5404 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5405 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5406 (STRING_CHANGED_PROPERTY): Likewise.
5407 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5408 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5409 (setOrientation): Replaced constant with real string.
5410 (setStringPainted): Likewise.
5411 (setString): Likewise.
5412 (setBorderPainted): Likewise.
5413 (setIndeterminate): Likewise.
5414 * javax/swing/JScrollBar.java
5415 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5416 (MODEL_CHANGED_PROPERTY): Likewise.
5417 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5418 (setOrientation): Replaced constant with real string.
5419 (setModel): Likewise.
5420 (setUnitIncrement): Likewise.
5421 (setBlockIncrement): Likewise.
5422 * javax/swing/JScrollPane.java
5423 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5424 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5425 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5426 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5427 (LAYOUT_CHANGED_PROPERTY): Likewise.
5428 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5429 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5430 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5431 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5432 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5433 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5434 (setComponentOrientation): Replaced constant with real string.
5435 (setColumnHeader): Likewise.
5436 (setHorizontalScrollBar): Likewise.
5437 (setHorizontalScrollBarPolicy): Likewise.
5438 (setRowHeader): Likewise.
5439 (setVerticalScrollBar): Likewise.
5440 (setVerticalScrollBarPolicy): Likewise.
5441 (setWheelScrollingEnabled): Likewise.
5442 (setViewport): Likewise.
5443 (setViewportBorder): Likewise.
5444 * javax/swing/JSlider.java
5445 (INVERTED_CHANGED_PROPERTY): Removed.
5446 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5447 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5448 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5449 (MODEL_CHANGED_PROPERTY): Likewise.
5450 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5451 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5452 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5453 (setModel): Replaced constant with real string.
5454 (setOrientation): Likewise.
5455 (setLabelTable): Likewise.
5456 (setInverted): Likewise.
5457 (setMajorTickSpacing): Likewise.
5458 (setMinorTickSpacing): Likewise.
5459 (setPaintTicks): Likewise.
5460 (setPaintLabels): Likewise.
5461 * javax/swing/JTabbedPane.java
5462 (MODEL_CHANGED_PROPERTY): Removed.
5463 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5464 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5465 (setModel): Replaced constant with real string.
5466 (setTabPlacement): Likewise.
5467 (setTabLayoutPolicy): Likewise.
5468 * javax/swing/JToolBar.java
5469 (ORIENTATION_CHANGED_PROPERTY): Removed.
5470 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5471 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5472 (MARGIN_CHANGED_PROPERTY): Likewise.
5473 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5474 (setRollover): Replaced constant with real string.
5475 (setMargin): Likewise.
5476 (setBorderPainted): Likewise.
5477 (setFloatable): Likewise.
5478 (setOrientation): Likewise.
5479 * javax/swing/plaf/basic/BasicComboBoxUI.java
5480 (PropertyChangeHandler.propertyChange): Likewise.
5481 * javax/swing/plaf/basic/BasicComboPopup.java
5482 (PropertyChangeHandler.propertyChange): Likewise.
5483 * javax/swing/plaf/basic/BasicMenuBarUI.java
5484 (PropertyChangeHandler.propertyChange): Likewise.
5485 * javax/swing/plaf/basic/BasicProgressBarUI.java
5486 (PropertyChangeHandler.propertyChange): Likewise.
5487 * javax/swing/plaf/basic/BasicScrollBarUI.java
5488 (PropertyChangeHandler.propertyChange): Likewise.
5489 * javax/swing/plaf/basic/BasicSliderUI.java
5490 (PropertyChangeHandler.propertyChange): Likewise.
5491 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5492 (PropertyChangeHandler.propertyChange): Likewise.
5493 * javax/swing/plaf/basic/BasicToolBarUI.java
5494 (PropertyChangeHandler.propertyChange): Likewise.
5496 2005-02-15 Michael Koch <konqueror@gmx.de>
5498 * javax/swing/DefaultButtonModel.java
5499 (changeState): Made private.
5500 * javax/swing/DefaultDesktopManager.java
5501 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5502 * javax/swing/JLayeredPane.java
5503 (layerToRange): Made private.
5504 (incrLayer): Likewise.
5505 (decrLayer): Likewise.
5506 * javax/swing/JTable.java
5507 (dragEnabled): Likewise.
5508 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5509 * javax/swing/KeyStroke.java
5510 (Keystroke): Made private.
5511 * javax/swing/TransferHandler.java
5512 (COMMAND_COPY): Likewise.
5513 (COMMAND_CUT): Likewise.
5514 (COMMAND_PASTE): Likewise.
5516 2005-02-15 Michael Koch <konqueror@gmx.de>
5518 * javax/swing/JTextField.java
5519 (postActionEvent): Use text in field when actionCommand is null.
5520 (getActionCommand): Removed.
5522 2005-02-15 Michael Koch <konqueror@gmx.de>
5524 * javax/swing/AbstractSet.java: Removed.
5525 * Makefile.am: Removed javax/swing/AbstractSet.java.
5526 * Makefile.in: Regenerated.
5528 2005-02-15 Michael Koch <konqueror@gmx.de>
5530 * java/awt/Window.java
5531 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5532 * java/awt/dnd/DnDConstants.java
5533 (DnDConstants): New private constructor.
5535 2005-02-15 Michael Koch <konqueror@gmx.de>
5537 * javax/swing/DefaultCellRenderer.java: Removed.
5538 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5539 * Makefile.in: Regenerated.
5541 2005-02-15 Michael Koch <konqueror@gmx.de>
5543 * javax/swing/AbstractButton.java
5544 (fireItemStateChanged): Made protected.
5545 (fireActionPerformed): Likewise.
5546 (fireStateChanged): Likewise.
5547 * javax/swing/DefaultButtonModel.java
5548 (fireItemStateChanged): Likewise.
5549 (fireActionPerformed): Likewise.
5550 (fireStateChanged): Likewise.
5551 * javax/swing/JApplet.java
5553 (frameInit): Likewise.
5554 (setRootPane): Made protected.
5555 (createRootPane): Likewise.
5556 * javax/swing/JComponent.java
5557 (getClientProperty): Likewise.
5558 (putClientProperty): Likewise.
5559 * javax/swing/JEditorPane.java
5560 (getContentType): Likewise.
5561 (setContentType): Likewise.
5562 * javax/swing/JFrame.java
5563 (setRootPane): Likewise.
5564 (createRootPane): Likewise.
5565 * javax/swing/JInternalFrame.java
5566 (getFocusCycleRootAncestor): Made final. Added @since tag.
5567 (isFocusCycleRoot): Likewise.
5568 (getWarningString): Made final.
5569 * javax/swing/JScrollBar.java
5570 (changeListener): Removed.
5571 (changeEvent): Likewise.
5572 (createChangeListener): Likewise.
5573 (fireStateChanged): Likewise.
5574 (addChangeListener): Likewise.
5575 (removeChangeListener): Likewise.
5576 (getChangeListeners): Likewise.
5577 * javax/swing/JScrollPane.java
5578 (createViewport): Made protected.
5579 * javax/swing/JViewport.java
5580 (addImpl): Likewise.
5581 (setBorder): New method.
5582 * javax/swing/JWindow.java
5583 (setRootPane): Made protected.
5584 (createRootPane): Likewise.
5585 * javax/swing/plaf/basic/BasicButtonUI.java
5586 (installListeners): Likewise.
5587 (uninstallListeners): Likewise.
5588 * javax/swing/plaf/basic/BasicProgressBarUI.java
5589 (incrementAnimationIndex): Likewise.
5590 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5591 (createLayoutManager): Likewise.
5592 * javax/swing/table/DefaultTableCellRenderer.java
5593 (firePropertyChange): Likewise.
5594 * javax/swing/table/JTableHeader.java
5595 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5597 * javax/swing/text/PlainDocument.java
5598 (reindex): Made private.
5599 * javax/swing/text/PlainView.java
5600 (drawLine): Made protected.
5601 (getTabSize): Likewise.
5602 * javax/swing/text/View.java
5604 (preferenceChanged): New method.
5605 (getBreakWeight): Likewise.
5606 (breakView): Likewise.
5607 (getViewIndex): Likewise.
5609 2005-02-15 Michael Koch <konqueror@gmx.de>
5611 * javax/swing/JScrollPane.java
5612 (ScrollBar): Made class protected.
5613 * javax/swing/JSpinner.java
5614 (JSpinner): Added @since tag.
5615 (listenerList): Removed.
5616 * javax/swing/JTable.java
5617 (setValueAt): New method.
5618 (getColumn): Likewise.
5619 * javax/swing/JWindow.java
5620 (rootPaneCheckingEnabled): Renamed from checking.
5622 2005-02-15 Michael Koch <konqueror@gmx.de>
5624 * javax/swing/plaf/basic/BasicTextUI.java
5625 (RootView.modelToView): Made it public and return a java.awt.Shape.
5626 Handle null subview.
5627 (uninstall): Set textComponent to null when its not possible used
5629 * javax/swing/text/View.java
5630 (setParent): Use better argument name.
5631 (getContainer): Get parent via getParent().
5632 (getViewFactory): Likewise.
5633 (getAttributes): Get element via getElement().
5634 (getStartOffset): Likewise.
5635 (getEndOffset): Likewise.
5636 (getResizeWeight): New method.
5637 (getMaximumSpan): Likewise.
5638 (getMinimumSpan): Likewise.
5639 (setSize): Likewise.
5640 (getGraphics): Likewise.
5642 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5644 * java/awt/Checkbox.java:
5645 (AccessibleAWTCheckbox()): Added public constructor
5647 * java/awt/Choice.java:
5648 (AccessibleAWTChoice): Added class documentation.
5649 (AccessibleAWTChoice()): Added public constructor
5651 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5652 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5653 and changed role to COMBO_BOX.
5654 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5655 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5656 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5658 2005-02-15 Graydon Hoare <graydon@redhat.com>
5659 Michael Koch <konqueror@gmx.de>
5661 * javax/swing/LayoutFocusTraversalPolicy.java,
5662 javax/swing/SortingFocusTraversalPolicy.java:
5664 * Makefile.am: Added new classes.
5665 * Makefike.in: Regenerated.
5668 2005-02-15 Michael Koch <konqueror@gmx.de>
5670 * javax/swing/DebugGraphics.java: Mostly implemented.
5672 2005-02-15 Michael Koch <konqueror@gmx.de>
5674 * javax/swing/SwingUtilities.java
5675 (findFocusOwner): New method.
5677 2005-02-15 Michael Koch <konqueror@gmx.de>
5679 * javax/swing/text/DefaultEditorKit.java
5680 (read): Added '\n' after each line.
5681 * javax/swing/text/PlainView.java
5682 (modelToView): Update metrics.
5683 (drawLine): Use offsets from element.
5684 (paint): Update metrics. Draw all lines.
5686 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5688 * java/awt/Checkbox.java:
5689 (AccessibleAWTCheckbox): Added class documentation
5690 * java/awt/Scrollbar.java:
5691 (AccessibleAWTScrollBar): typo corrected and docs added
5692 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5693 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5694 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5695 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5696 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5697 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5698 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5699 (getAccessibleContext()): name of accessible class corrected
5701 2005-02-15 Mark Wielaard <mark@klomp.org>
5703 * java/awt/BasicStroke.java (hashCode): Implement.
5706 2005-02-15 Michael Koch <konqueror@gmx.de>
5708 * java/awt/print/PrinterJob.java
5709 (pageDialog): Throws java.awt.HeadlessException.
5710 (printDialog): Likewise.
5712 2005-02-15 Mark Wielaard <mark@klomp.org>
5714 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5716 2005-02-15 Michael Koch <konqueror@gmx.de>
5718 * javax/swing/JTable.java
5719 (getValueAt): New method.
5720 * javax/swing/table/JTableHeader.java
5721 (columnAtPoint): New method.
5723 2005-02-15 Michael Koch <konqueror@gmx.de>
5725 * javax/swing/JTextField.java
5726 (actions): New field.
5727 (static): Initalize actions field.
5728 (getActions): New method.
5730 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5732 * java/awt/Checkbox.java:
5733 (AccessibleAWTCheckbox): name capitalization corrected
5734 and serialization UID added.
5735 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5737 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5738 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5739 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5740 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5741 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5742 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5743 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5744 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5745 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5746 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5747 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5749 (getAccessibleContext()): name of accessible class corrected
5751 2005-02-15 Sven de Marothy <sven@physto.se>
5753 * java/awt/geom/doc-files/Area-1.png,
5754 java/awt/geom/doc-files/Ellipse-1.png,
5755 java/awt/geom/doc-files/GeneralPath-1.png:
5758 2005-02-15 Graydon Hoare <graydon@redhat.com>
5760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5761 Use union to avoid type-punning warning.
5763 2005-02-15 Michael Koch <konqueror@gmx.de>
5765 * javax/swing/DefaultListSelectionModel.java
5766 (clone): New method.
5768 2005-02-15 Mark Wielaard <mark@klomp.org>
5770 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5771 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5772 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5773 Correct method signature of gtkSetFilename.
5775 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5777 * javax/swing/text/StringContent.java: New file.
5779 2005-02-15 Michael Koch <konqueror@gmx.de>
5781 * Makefile.am: Added javax/swing/text/StringContent.java.
5782 * Makefile.in: Regenerated.
5784 2005-02-15 Michael Koch <konqueror@gmx.de>
5786 * gnu/java/awt/ClasspathToolkit.java:
5787 Import statements reworked.
5788 (imageCache): Made it of type java.util.HashMap.
5790 2005-02-15 Michael Koch <konqueror@gmx.de>
5792 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5793 Reworked import statements.
5795 2005-02-15 Graydon Hoare <graydon@redhat.com>
5797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5803 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5804 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5808 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5810 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5813 Rewrite uses of extern variable to be function calls.
5814 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5815 function, from extern variable.
5816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5817 (gdk_env): Remove variable, add new function.
5818 (java_vm): Add new variable.
5819 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5820 java_vm rather than old gdk_env variable.
5822 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5824 * javax/swing/DefaultListModel.java
5825 (add): fire correct event,
5826 (addElement): corrected interval indices in event,
5827 (clear): corrected upper bound for interval, only fire event if
5829 (setSize): fire appropriate event.
5831 2005-02-15 Graydon Hoare <graydon@redhat.com>
5833 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5834 * gnu/awt/xlib/XToolkit.java: Likewise.
5835 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5836 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5837 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5838 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5839 * java/awt/EventQueue.java (getNextEvent):
5840 Adjust event loop to switch to native mode after 100ms.
5841 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5842 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5843 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5844 Wake up event thread.
5845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5846 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5847 Adjust event loop to switch to java mode after 100ms.
5849 2005-02-15 Graydon Hoare <graydon@redhat.com>
5851 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5852 accidentally removed in last change.
5854 2005-02-15 Michael Koch <konqueror@gmx.de>
5856 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5857 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5859 2005-02-15 Graydon Hoare <graydon@redhat.com>
5861 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5862 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5863 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5864 * jni.cc: Reuse bottom frame between calls, avoid clearing
5865 frame when no local references are made.
5867 2005-02-15 Michael Koch <konqueror@gmx.de>
5869 * javax/swing/UIDefaults.java (UIDefaults):
5870 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5871 Fixed HTML entity and removed a redundant comma.
5873 2005-02-15 Michael Koch <konqueror@gmx.de>
5875 * javax/swing/text/DefaultEditorKit.java
5876 (deinstall): Removed.
5877 (install): Likewise.
5879 2005-02-15 Michael Koch <konqueror@gmx.de>
5881 * javax/swing/UIDefaults.java (put): Handle value of null.
5883 2005-02-15 Michael Koch <konqueror@gmx.de>
5885 * java/awt/Robot.java,
5886 java/awt/Scrollbar.java,
5887 java/awt/print/PrinterJob.java,
5888 javax/swing/JTable.java,
5889 javax/swing/text/AbstractDocument.java:
5890 Reworked import statements.
5892 2005-02-15 Michael Koch <konqueror@gmx.de>
5894 * javax/swing/JEditorPane.java
5895 (read): Implemented.
5897 * javax/swing/text/DefaultEditorKit.java
5898 (page): Renamed from page_url. Made private.
5899 (editorKit): Renamed from kit. Made private.
5901 (JEditorPane): All constructors reimplemented.
5902 (getContentType): Use content type from editor kit.
5903 (getEditorKit): Return editorKit.
5904 (getEditorKitForContentType):Likewise.
5905 (getPage): Return page.
5906 (setContentType): Reimplemented.
5907 (setEditorKit): Likewise.
5908 (setEditorKitForContentType): Removed wrong implementation.
5909 (setPage): Implemented.
5911 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5913 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5914 (nativeSetIconImageFromData): Re-add native implementation.
5916 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5918 * javax/swing/table/DefaultTableModel.java
5919 (DefaultTableModel()): Added Javadocs.
5920 (DefaultTableModel(int, int)): Fixed implementation.
5921 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5922 for negative rowCount.
5923 (DefaultTableModel(Object[], int)): Added Javadocs.
5924 (DefaultTableModel(Vector, Vector)): Likewise.
5925 (DefaultTableModel(Object[][], Object[])): Likewise.
5926 (getDataVector): Likewise.
5927 (setDataVector(Vector, Vector)): Likewise.
5928 (setDataVector(Object[][], Object[])): Likewise.
5929 (newDataAvailable): Likewise.
5930 (newRowsAdded): Likewise.
5931 (rowsRemoved): Likewise.
5932 (setColumnIdentifiers(Vector)): Allow for null argument.
5933 (setColumnIdentifiers(Object[])): Added Javadocs.
5934 (setNumRows): Likewise.
5935 (setRowCount): Adds new rows if necessary, and sends more specific
5937 (setColumnCount): Allow for null columnIdentifiers.
5938 (addColumn(Object)): Added Javadocs.
5939 (addColumn(Object, Vector)): Handle null columnData.
5940 (addColumn(Object, Object[])): Handle columnData with more or less
5941 entries than rows in the table.
5942 (addRow(Vector)): Fire appropriate event.
5943 (addRow(Object[])): Added Javadocs.
5944 (insertRow(int, Vector)): Fire appropriate event.
5945 (insertRow(int, Object[])): Added Javadocs.
5946 (moveRow): Reimplemented.
5947 (removeRow(int)): Fire appropriate event.
5948 (getColumnCount): Allow for null columnIdentifiers.
5949 (getColumnName): Now returns empty string when column index is too
5951 (isCellEditable): Added Javadocs.
5952 (getValueAt): Likewise.
5953 (setValueAt): Fire more specific event.
5954 (convertToVector): Added Javadocs.
5955 * javax/swing/table/TableModel.java
5958 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5960 * libgcj.spec.in (lib): Add -l-javax-imageio.
5962 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5964 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5965 references to event queue q with method call q().
5966 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5967 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5968 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5969 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5970 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5971 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5974 2005-02-15 Graydon Hoare <graydon@redhat.com>
5976 * gnu/java/awt/ClasspathToolkit.java
5977 (registerImageIOSpis): New method.
5978 * gnu/java/awt/image/ImageDecoder.java
5979 (imageDecoder): New constructor using InputStream
5980 (startProduction): Handle existing InputStream.
5981 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5982 (findSimpleIntegerArray): Make public and static.
5983 (updateBufferedImage): Set each pixel, in a loop.
5984 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5985 Implement ImageIO SPI classes.
5986 (createBufferedImage): Rewrite in terms of SPI classes.
5987 * gnu/java/awt/peer/gtk/GtkToolkit.java
5988 (registerImageIOSpis): New method.
5989 * java/lang/reflect/natMethod.cc
5990 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5991 which lets JNI call interface methods properly.
5992 * javax/imageio/ImageIO.java
5993 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5994 (WriterMIMETypeFilter.filter): Likewise.
5995 (ImageReaderIterator): Pass extension argument through to SPI.
5996 (getReadersByFilter): Likewise.
5997 (getWritersByFilter): Likewise.
5998 (getImageReadersByFormatName): Likewise.
5999 (getImageReadersByMIMEType): Likewise.
6000 (getImageReadersBySuffix): Likewise.
6001 (getImageWritersByFormatName): Likewise.
6002 (getImageWritersByMIMEType): Likewise.
6003 (getImageWritersBySuffix): Likewise.
6006 * javax/imageio/ImageReader.java
6007 (progressListeners): Initialize.
6008 (setInput): Implement.
6009 * javax/imageio/ImageWriter.java
6010 (progressListeners): Initialize.
6011 (warningListeners): Likewise.
6012 (warningLocales): Likewise.
6013 (setOutput): Test "isInstance" rather than class equality.
6014 * javax/imageio/spi/IIORegistry.java
6015 (static): Add reader and writer SPIs.
6016 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6017 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6018 (query_formats): New function.
6019 (save_to_stream): Likewise.
6020 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6022 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6026 (keyPress): Likewise.
6027 (keyRelease): Likewise.
6029 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6031 * javax/swing/JTable.java
6032 (columnAtPoint): New Method. Implemented.
6033 (rowAtPoint): Likewise.
6034 (countSelections): Fixed few small count errors.
6035 (getSelections): Likewise.
6036 (setSelectionMode): Set selection mode for column
6037 selection model in addition to row selection model.
6038 * javax/swing/plaf/basic/BasicTableUI.java:
6039 (getRowForPoint): Removed. Replaced by
6040 JTable.rowAtPoint().
6041 (getColForPoint): Removed. Replaced by
6042 JTable.columnAtPoint().
6043 (updateSelection): Updated to call JTable.columnAtPoint
6044 and JTable.rowAtPoint.
6045 * javax/swing/table/DefaultTableColumnModel.java:
6046 (getSelectedColumns): Implemented.
6047 (getSelectedColumnCount): Implemented.
6049 2005-02-15 Graydon Hoare <graydon@redhat.com>
6052 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6053 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6054 * Makefile.in: Regenerate.
6055 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6056 * gnu/awt/xlib/XFramePeer.java: Likewise.
6057 * gnu/awt/xlib/XToolkit.java: Likewise.
6058 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6059 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6060 * gnu/java/awt/ClasspathToolkit.java
6063 (iterateNativeQueue): New methods.
6064 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6065 * gnu/java/awt/peer/gtk/GtkToolkit.java
6066 (gtkInit): Absorb from defunct GtkMainThread class.
6067 (static): Run gtkInit in static startup block.
6068 (GtkToolkit): Remove construction of GtkMainThread and queue.
6069 (getSystemEventQueueImpl): Construct queue when requested.
6072 (iterateNativeQueue): New methods.
6073 * java/awt/Component.java (removeNotify): Remove race.
6074 * java/awt/EventDispatchThread.java
6075 (EventDispatchThread): Don't start on construction.
6076 (run): Remove isInterrupted check.
6077 * java/awt/EventQueue.java (shutdown): New flag.
6078 (isShutdown): New method checking J2SE shutdown condition.
6079 (setShutdown): New method.
6080 (getNextEvent): Restructure to use ClasspathToolkit.
6081 (postEvent): Activate new thread on posting, wake thread on
6082 post of possible shutdown condition event.
6083 * java/awt/Frame.java
6084 (Frame): Call noteFrame in all constructors.
6085 (fireDummyEvent): New helper method.
6086 (addNotify): Fire a dummy event to wake up queue.
6087 (removeNotify): Fire a dummy event to wake up queue.
6088 (noteFrame): New method.
6089 (weakFrames): New static field.
6090 (getFrames): Implement.
6091 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6094 Move everything from GtkMainThread into this file
6095 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6096 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6097 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6098 New functions to implement single-threaded queue semantics.
6100 2005-02-15 Michael Koch <konqueror@gmx.de>
6102 * javax/swing/plaf/metal/MetalLookAndFeel.java
6103 (getControlTextFont): New method.
6104 (getMenuTextFont): Likewise.
6105 (getSubTextFont): Likewise.
6106 (getSystemTextFont): Likewise.
6107 (getUserTextFont): Likewise.
6108 (getWindowTitleFont): Likewise.
6110 2005-02-15 Michael Koch <konqueror@gmx.de>
6112 * javax/swing/text/AbstractDocument.java
6113 (documentFilter): New field.
6114 (getDocumentFilter): New method.
6115 (setDocumentFilter): Likewise.
6118 2005-02-15 Michael Koch <konqueror@gmx.de>
6120 * javax/swing/JTree.java
6121 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6123 2005-02-15 Michael Koch <konqueror@gmx.de>
6125 * javax/swing/text/AbstractDocument.java
6126 (AbstractElement.getLength): Fixed off-by-one error.
6127 (AbstractElement.children): Made abstract.
6128 (AbstractElement.getAllowsChildren): Likewise.
6129 (AbstractElement.getElement): Likewise.
6130 (AbstractElement.dumpElement): New private method.
6131 (AbstractElement.dump): New method.
6132 (BranchElememt.getName): Fixed implementation.
6133 (BranchElememt.toString): Likewise.
6134 (BranchElememt.getElement): Fixed arguments.
6135 (LeafElement.getName): Fixed implementation.
6136 (LeafElement.toString): Likewise.
6137 * javax/swing/text/GapContent.java
6138 (GapContent): Put default content into buffer.
6139 * javax/swing/text/PlainDocument.java
6140 (reindex): Use empty attribute sets instead of null.
6141 (createDefaultRoot): Reimplemented.
6142 (insertUpdate): Call super method.
6143 (removeUpdate): Likewise.
6144 (getParagraphElement): Implemented.
6146 2005-02-15 Michael Koch <konqueror@gmx.de>
6148 * gnu/java/awt/ClasspathToolkit.java
6149 (createRobot): Throws java.awt.AWTException.
6150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6151 Added '__attribute__((unused))' to all unused method arguments.
6153 2005-02-15 Michael Koch <konqueror@gmx.de>
6155 * javax/swing/DefaultBoundedRangeModel.java
6156 (fireValueChanged): Fixed off-by-one error.
6158 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6160 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6161 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6163 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6164 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6165 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6166 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6167 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6168 (getDefaultScreenDevice): Implement.
6169 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6170 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6171 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6172 * java/awt/Robot.java: Implement.
6173 * java/awt/peer/RobotPeer.java: Rename parameters.
6174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6176 (awt_keycode_to_keysym): Make non-static.
6177 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6178 AWT_BUTTON3_MASK): Declare constants.
6179 (awt_keycode_to_keysym): Declare.
6181 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6182 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6183 and is non-empty pass its value to "make check".
6184 (test_mauve_sim): Likewise.
6186 2005-02-15 Michael Koch <konqueror@gmx.de>
6188 * javax/imageio/IIOParam.java
6189 (setSourceBands): New method.
6190 (setSourceSubsampling): Likewise.
6191 * javax/imageio/ImageReadParam.java
6192 (setDestination): Likewise.
6193 (setDestinationBands): Likewise.
6194 (setSourceProgressivePasses): Likewise.
6195 * javax/imageio/metadata/IIOInvalidTreeException.java
6196 (serialVersionUID): New static field.
6197 * javax/imageio/metadata/IIOMetadataNode.java
6198 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6199 (parent): Dont initailize with default value explicitely.
6201 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6202 (removeAttributeNode): Likewise.
6203 (removeAttributeNS): Likewise.
6204 (setAttribute): Likewise.
6205 (setAttributeNode): Likewise.
6206 (setAttributeNodeNS): Likewise.
6207 (setAttributeNS): Likewise.
6208 (appendChild): Likewise.
6209 (getNodeValue): Likewise.
6210 (insertBefore): Likewise.
6211 (removeChild): Likewise.
6212 (replaceChild): Likewise.
6213 (setPrefix): Likewise.
6215 2005-02-15 Michael Koch <konqueror@gmx.de>
6217 * javax/swing/LookAndFeel.java
6218 (getDesktopPropertyValue): New method.
6220 2005-02-15 Michael Koch <konqueror@gmx.de>
6222 * javax/swing/JTree.java
6223 (hasChildren): New instance field.
6225 2005-02-15 Michael Koch <konqueror@gmx.de>
6227 * javax/swing/JComponent.java
6228 (getToolTipText): New method.
6229 (getTitledBorderText): Likewise.
6230 (getAccessibleKeyBinding): Likewise.
6231 (getVerifyInputWhenFocusTarget): Likewise.
6232 (setVerifyInputWhenFocusTarget): Likewise.
6233 (verifyInputWhenFocusTarget): New instance field.
6235 2005-02-15 Michael Koch <konqueror@gmx.de>
6237 * javax/swing/DefaultListSelectionModel.java
6238 (fireValueChanged): New method.
6240 2005-02-15 Michael Koch <konqueror@gmx.de>
6242 * javax/swing/DefaultBoundedRangeModel.java:
6243 Fixed javadocs all over.
6244 (fireStateChanged): Simplified.
6245 * javax/swing/BoundedRangeModel.java:
6248 2005-02-15 Michael Koch <konqueror@gmx.de>
6250 * javax/swing/JRootPane.java
6251 (setMenuBar): Added @deprecated tag.
6252 (getMenuBar): Likewise.
6253 * javax/swing/JTable.java
6254 (sizeColumnsToFit): Likewise.
6256 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6258 * javax/swing/ImageIcon.java (setImage): Implemented.
6260 2005-02-15 Michael Koch <konqueror@gmx.de>
6262 * javax/swing/JTable.java:
6263 Removed unused imports.
6265 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6267 (prepareRenderer): Get column's index in dataModel instead
6268 of column's view index.
6269 (getColumnCount): return count of the columns in ColumnModel,
6271 (removeColumn): Implemented.
6272 (moveColumm): Likewise.
6273 (setRowHeight): throw IllegalArgumentException if height is
6275 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6276 (DefaultTableColumnModel):Add call to createSelectionModel().
6277 (addColumn): Fire columnAdded event to registered listeners.
6278 (removeColumn): Fire columnRemoved event to registered listeners.
6279 (moveColumn): Fire columnMoved event to registered listeners.
6280 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6281 (getColumnIndex): Changed parameter name.
6282 (setColumnSelectionAllowed): Likewise.
6283 (fireColumnAdded): Implemented.
6284 (fireColumnRemoved): Likewise.
6285 (fireColumnMoved): Likewise.
6286 (fireColumnMarginChanged): Likewise.
6287 (getListeners): Changed parameter name.
6288 (propertyChange): Implemented.
6289 (valueChanged): Changed parameter name.
6290 (createSelectionModel): Implemented.
6292 2005-02-15 Michael Koch <konqueror@gmx.de>
6294 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6295 Explicitely import used classes.
6296 (getLocalGraphicsEnvironment): Simplify.
6297 * java/awt/Window.java (Window):
6298 Enable code to get the default GraphicsConfiguration.
6300 2005-02-15 Michael Koch <konqueror@gmx.de>
6302 * javax/swing/plaf/metal/DefaultMetalTheme.java
6303 (CONTROL_TEXT_FONT): New static field.
6304 (MENU_TEXT_FONT): Likewise.
6305 (SUB_TEXT_FONT): Likewise.
6306 (SYSTEM_TEXT_FONT): Likewise.
6307 (USER_TEXT_FONT): Likewise.
6308 (WINDOW_TITLE_FONT): Likewise.
6309 (getControlTextFont): New method.
6310 (getMenuTextFont): Likewise.
6311 (getSubTextFont): Likewise.
6312 (getSystemTextFont): Likewise.
6313 (getUserTextFont): Likewise.
6314 (getWindowTitleFont): Likewise.
6315 * javax/swing/plaf/metal/MetalTheme.java
6316 (BLACK): Initialize with Color.BLACK.
6317 (WHITE): Initialize with Color.WHITE.
6318 (getInactiveControlTextColor): Return getControlDisabled().
6319 (getMenuDisabledForeground): Return getSecondary3().
6320 (getControlTextFont): New abstract method.
6321 (getMenuTextFont): Likewise.
6322 (getSubTextFont): Likewise.
6323 (getSystemTextFont): Likewise.
6324 (getUserTextFont): Likewise.
6325 (getWindowTitleFont): Likewise.
6327 2005-02-15 Michael Koch <konqueror@gmx.de>
6329 * javax/swing/JFormattedTextField.java
6330 (getFocusLostBehavior): Fixed typo in method name.
6331 (setFocusLostBehavior): Likewise.
6333 2005-02-15 Michael Koch <konqueror@gmx.de>
6335 * javax/swing/TransferHandler.java:
6336 Reworked import statements.
6338 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6340 * java/awt/Button.java,
6341 java/awt/Canvas.java,
6342 java/awt/Checkbox.java,
6343 java/awt/CheckboxMenuItem.java,
6344 java/awt/Choice.java,
6345 java/awt/Dialog.java,
6346 java/awt/Frame.java,
6347 java/awt/Label.java,
6350 java/awt/MenuBar.java,
6351 java/awt/MenuItem.java,
6352 java/awt/PopupMenu.java,
6353 java/awt/ScrollPane.java,
6354 java/awt/Scrollbar.java,
6355 java/awt/TextArea.java,
6356 java/awt/Window.java (getAccessibleContext): Clean up comments.
6358 * java/awt/Button.java,
6359 java/awt/Checkbox.java,
6360 java/awt/Choice.java,
6362 java/awt/PopupMenu.java,
6363 java/awt/TextArea.java (getAccessibleContext): Only create new
6365 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6367 2005-02-15 Michael Koch <konqueror@gmx.de>
6369 * java/awt/Button.java,
6370 javax/swing/JApplet.java,
6371 javax/swing/JFormattedTextField.java,
6372 javax/swing/JWindow.java,
6373 javax/swing/JTree.java,
6374 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6375 javax/swing/plaf/basic/BasicTextPaneUI.java,
6376 javax/swing/plaf/basic/BasicTreeUI.java:
6377 Reworked import statements.
6379 2005-02-15 Michael Koch <konqueror@gmx.de>
6381 * Makefile.am: Put javax.imageio into its own library and link it
6382 against lib-org-w3c-dom.la to fix bootstrapping.
6383 * Makefile.in: Regenerated.
6385 2005-02-15 Michael Koch <konqueror@gmx.de>
6387 * javax/swing/text/TextAction.java
6388 (getTextComponent): Simplified. Added Javadoc.
6389 (augmentList): Implemented. Added Javadoc.
6390 (getFocusedComponent): Added javadoc.
6392 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6394 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6395 getAccessibleContext): Implement.
6396 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6397 getAccessibleContext): Implement.
6399 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6401 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6403 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6405 * java/awt/Window.java (getAccessibleContext): Fix comment.
6406 Remove extra import.
6408 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6410 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6411 (isActive, isFocused, getAccessibleContext): Implement.
6413 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6415 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6416 * java/awt/MenuComponent.java (accessibleContext): Make package
6418 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6419 AccessibleAWTCheckboxMenuItem): Implement.
6421 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6423 * java/awt/List.java: Implement AccessibleAWTList,
6424 AccessibleAWTListChild.
6426 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6428 * java/awt/Choice.java: Add implements declaration for
6431 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6433 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6436 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6438 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6439 implemented interface list.
6441 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6443 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6444 * javax/imageio/metadata/IIOAttr.java: New class.
6445 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6446 * javax/imageio/metadata/IIONodeList.java: New class.
6447 * Makefile.am: Added new files.
6448 * Makefile.in: Regenerated.
6450 2005-02-15 Michael Koch <konqueror@gmx.de>
6452 * javax/swing/AbstractAction.java,
6453 javax/swing/AbstractCellEditor.java,
6454 javax/swing/AbstractListModel.java,
6455 javax/swing/DefaultBoundedRangeModel.java,
6456 javax/swing/DefaultButtonModel.java,
6457 javax/swing/DefaultCellEditor.java,
6458 javax/swing/DefaultComboBoxModel.java,
6459 javax/swing/DefaultDesktopManager.java,
6460 javax/swing/JMenu.java,
6461 javax/swing/JSlider.java,
6462 javax/swing/KeyStroke.java,
6463 javax/swing/OverlayLayout.java,
6464 javax/swing/ScrollPaneLayout.java,
6465 javax/swing/SizeRequirements.java,
6466 javax/swing/ViewportLayout.java:
6467 Made serialVersionUID private.
6469 2005-02-15 Michael Koch <konqueror@gmx.de>
6471 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6474 2005-02-15 Michael Koch <konqueror@gmx.de>
6476 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6478 2005-02-15 Michael Koch <konqueror@gmx.de>
6480 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6482 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6484 * java/awt/EventDispatchThread.java,
6485 java/awt/Toolkit.java:
6486 Don't catch java.lang.ThreadDeath.
6488 2005-02-15 Michael Koch <konqueror@gmx.de>
6490 * javax/swing/text/PasswordView.java
6491 (drawEchoCharacter): Added javadoc.
6492 (drawSelectedText): Likewise.
6493 (drawUnselectedText): Likewise.
6495 2005-02-15 Michael Koch <konqueror@gmx.de>
6497 * javax/swing/JRootPane.java
6498 (windowDecorationStyle): New field.
6499 (setMenuBar): New method.
6500 (getMenuBar): Likewise.
6501 (getWindowDecorationStyle): Likewise.
6502 (setWindowDecorationStyle): Likewise.
6504 2005-02-15 Michael Koch <konqueror@gmx.de>
6506 * javax/swing/DefaultListSelectionModel.java
6507 (leadAnchorNotificationEnabled): Made protected.
6509 2005-02-15 Michael Koch <konqueror@gmx.de>
6511 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6512 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6513 * Makefile.in: Regenerated.
6516 2005-02-15 Michael Koch <konqueror@gmx.de>
6518 * javax/swing/JFormattedTextField.java: Implemented.
6519 * javax/swing/JWindow.java
6520 (JWindow): New constructors.
6521 (initWindow): Renamed from initFrame.
6522 * javax/swing/UIDefaults.java
6523 (ActiveValue): Made interface static.
6524 (LazyValue): Likewise.
6525 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6526 (TitlePaneLayout.TitlePaneLayout): New constructor.
6527 * javax/swing/plaf/basic/BasicSliderUI.java
6528 (ChangeHandler): Made public.
6529 (FocusHandler): Likewise.
6530 (PropertyChangeHandler): Likewise.
6531 (ScrollListener): Likewise.
6532 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6533 (FocusHandler): Likewise.
6534 (MouseHandler): Likewise.
6535 * javax/swing/plaf/basic/BasicTextPaneUI.java
6536 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6537 * javax/swing/plaf/basic/BasicToolBarUI.java
6538 (BasicToolBarUI): Simplified. Reworked javadoc.
6539 (canDock): Simplified. Make public.
6540 (DockingListener): Made public.
6541 * javax/swing/text/JTextComponent.java
6542 (navigationFilter): New field.
6543 (getNavigationFilter): New method.
6544 (setNavigationFilter): Likewise.
6546 2005-02-15 Michael Koch <konqueror@gmx.de>
6548 * javax/swing/plaf/metal/MetalTheme.java
6549 (getControlTextColor): Return getControlInfo().
6550 (getHighlightedTextColor): Return getControlTextColor().
6552 2005-02-15 Michael Koch <konqueror@gmx.de>
6554 * javax/swing/plaf/basic/BasicButtonListener.java
6555 (BasicButtonListener): New constructor.
6556 * javax/swing/plaf/basic/BasicButtonUI.java
6557 (createButtonListener): Usw new BasicButtonListener constructor.
6559 2005-02-15 Michael Koch <konqueror@gmx.de>
6561 * javax/imageio/event/package.html,
6562 javax/imageio/metadata/package.html: New files.
6564 2005-02-15 Michael Koch <konqueror@gmx.de>
6566 * java/awt/image/MemoryImageSource.java: Reformatted.
6568 2005-02-15 Michael Koch <konqueror@gmx.de>
6570 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6572 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6574 * java/awt/color/ICC_Profile.java
6575 (finalize): Removed pointless field assignments.
6577 2005-02-15 Michael Koch <konqueror@gmx.de>
6579 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6580 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6581 * Makefile.in: Regenerated.
6583 2005-02-15 Michael Koch <konqueror@gmx.de>
6585 * javax/swing/text/DefaultStyledDocument.java: New file.
6586 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6587 * Makefile.in: Regenerated.
6589 2005-02-15 Michael Koch <konqueror@gmx.de>
6591 * javax/swing/JFileChooser.java
6592 (showDialog): Return CANCEL_OPTION for now.
6593 (showOpenDialog): Likewise.
6594 (showSaveDialog): Likewise.
6596 2005-02-15 Michael Koch <konqueror@gmx.de>
6598 * javax/swing/JApplet.java
6599 (HIDE_ON_CLOSE): Removed.
6600 (EXIT_ON_CLOSE): Likewise.
6601 (DISPOSE_ON_CLOSE): Likewise.
6602 (DO_NOTHING_ON_CLOSE): Likewise.
6603 (close_action): Likewise.
6604 (getDefaultCloseOperation): Likewise.
6605 (setDefaultCloseOperation): Likewise.
6606 (processWindowEvent): Likewise.
6607 (getPreferredSize): Simplified.
6608 * javax/swing/JInternalFrame.java
6609 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6611 * javax/swing/JWindow.java
6612 (HIDE_ON_CLOSE): Removed.
6613 (EXIT_ON_CLOSE): Likewise.
6614 (DISPOSE_ON_CLOSE): Likewise.
6615 (DO_NOTHING_ON_CLOSE): Likewise.
6616 (close_action): Likewise.
6617 (processKeyEvent): Likewise.
6618 (setDefaultCloseOperation): Likewise.
6619 (getPreferredSize): Simplified.
6621 2005-02-15 Michael Koch <konqueror@gmx.de>
6623 * javax/swing/JTextField.java
6624 (getPreferredSize): Re-implemented.
6626 2005-02-15 Michael Koch <konqueror@gmx.de>
6628 * javax/swing/JLabel.java
6629 (setDisplayedMnemonic): Use only upper case characters.
6630 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6631 PropertyChangeEvent after property got set to the new index.
6633 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6635 * javax/swing/JComboBox.java:
6636 (JComboBox): Removed selection of the
6637 first item in the model.
6639 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6641 * javax/swing/JComboBox.java
6642 added support for no item being selected
6643 (JComboBox): select first or nothing depending on element count
6644 (setModel): cleaned up unneeded "this." usage, added more
6645 docs, made exception behavior match that of the JDK
6646 (setLighWeightPopupEnabled): removed unneeded "this." usage
6648 (setMaximumRowCount): dito
6650 (setPrototypeDisplayValue): dito
6651 (getSelectedItem): simplified, added more user doc
6652 (setSelectedIndex): corrected exception behavior, added more user doc
6653 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6654 added performance warning to user doc
6655 (addItem): fixed exception behavior, added user doc
6656 (insertItemAt): dito
6658 (removeItemAt): dito
6659 (removeAll): fixed exception behavior, added user doc, added support
6660 for model not being instance of DefaultComboBoxModel
6661 (getSelectedItemObjects): simplified
6662 (getItemCount): fixed dependency on DefaultComboBoxModel
6663 (getItemAt): fixed dependency on MutableComboBoxModel
6664 * javax/swing/DefaultComboBoxModel.java:
6665 (setSelectedItem): updates selected item only if new
6666 value is null or known (match JDK behavior)
6667 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6668 (paintCurrentValue): renders "" if no item is selected
6670 2005-02-15 Michael Koch <konqueror@gmx.de>
6672 * javax/swing/plaf/metal/MetalTheme.java,
6673 javax/swing/plaf/metal/DefaultMetalTheme.java:
6675 * javax/swing/plaf/metal/MetalLookAndFeel.java
6676 * Makefile.am: Added the new files.
6677 * Makefile.in: Regenerated.
6679 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6681 * javax/swing/JTable.java
6682 (editorComp): New field.
6683 (JTable): Initialize local variables and call updateUI
6684 (selectionBackground): Make protected.
6685 (selectionForeground): Likewise.
6686 (initializeLocalVars): Create default editors and renderers,
6687 initialize editingColumn, editingRow variables.
6688 (createDefaultEditors): New Method.
6689 (createDefaultRenderers): Likewise.
6690 (createDefaultListSelectionModel): Removed
6691 (createDefaultSelectionModel): New Method.
6692 (createDefaultTableHeader): Likewise
6693 (removeColumn): Likewise.
6694 (getEditingColumn): Likewise.
6695 (setEditingColumn): Likewise.
6696 (getEditingRow): Likewise.
6697 (setEditingRow): Likewise.
6698 (getEditorComponent): Likewise.
6699 (isEditing): Likewise.
6700 (setDefaultEditor): Likewise.
6701 (addColumnSelectionInterval): Likewise.
6702 (addRowSelectionInterval): Likewise.
6703 (setColumnSelectionInterval): Likewise.
6704 (setRowSelectionInterval): Likewise.
6705 (removeColumnSelectionInterval): Likewise.
6706 (removeRowSelectionInterval): Likewise.
6707 (isColumnSelected): Likewise.
6708 (isRowSelected): Likewise.
6709 (isCellSelected): Likewise.
6710 (selectAll): Likewise.
6712 2005-02-15 Michael Koch <konqueror@gmx.de>
6714 * javax/swing/JTable.java
6715 (addColumn): New method.
6716 (getColumnClass): Likewise.
6717 (getColumnName): Likewise.
6719 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6721 * javax/swing/TransferHandler.java
6722 (createTransferable): Made protected.
6724 2005-02-15 Michael Koch <konqueror@gmx.de>
6726 * javax/swing/JTable.java,
6727 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6728 javax/swing/plaf/basic/BasicTableUI.java:
6729 Use fixed get/setIntercellSpacing() methods.
6731 2005-02-15 Michael Koch <konqueror@gmx.de>
6733 * javax/swing/JTable.java
6734 (getIntercellSpacing): Fixed typo in method name.
6735 (setIntercellSpacing): Likewise.
6737 2005-02-15 Michael Koch <konqueror@gmx.de>
6739 * javax/swing/text/JTextComponent.java
6740 (focusAccelerator): New variable.
6741 (getFocusAccelerator): New method.
6742 (setFocusAccelerator): Likewise.
6744 2005-02-15 Michael Koch <konqueror@gmx.de>
6746 * javax/swing/JComponent.java
6747 (setTransferHandler): Made public. Fire property change event.
6748 * javax/swing/TransferHandler.java: Implemented.
6749 * javax/swing/text/JTextComponent.java
6750 (DefaultTransferHandler): New inner class.
6751 (defaultTransferHandler): New variable.
6755 (doTransferAction): Likewise.
6757 2005-02-15 Michael Koch <konqueror@gmx.de>
6759 * javax/swing/JTree.java
6760 (collapsePath): New method.
6761 (collapseRow): Likewise.
6762 (expandPath): Likewise.
6763 (expandRow): Likewise.
6764 (checkExpandParents): Likewise.
6765 (doExpandParents): Likewise.
6766 (setExpandedState): Likewise.
6767 (makeVisible): Likewise.
6769 2005-02-15 Michael Koch <konqueror@gmx.de>
6771 * javax/swing/JPasswordField.java: Updated javadocs.
6773 2005-02-15 Michael Koch <konqueror@gmx.de>
6775 * javax/swing/JLayeredPane.java
6776 (getLayer): Fixed return type, made public.
6777 (getPosition): Use new getLayer().
6778 (SetPosition): Likewise.
6779 (getIndexOf): Likewise.
6781 * javax/swing/JInternalFrame.java
6782 (getLayer): Use new JLayeredPane.getLayer().
6785 2005-02-15 Michael Koch <konqueror@gmx.de>
6787 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6788 (setHeaderValue): Simplified. Do nothing when old value == new value.
6790 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6792 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6793 against null clip region.
6794 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6795 gtkWindowSetResizable.
6796 (postConfigureEvent): Only revalidate if frame size has changed.
6797 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6798 Only revalidate if frame size has changed.
6799 * java/awt/Component.java (reshape): Only repaint and post
6800 component events if component is showing.
6801 * java/awt/Container.java (addImpl): Only post container event if
6802 container is showing.
6804 * java/awt/Window.java (setLocationRelativeTo): Implement.
6805 (setBoundsCallback): Only post component events if component is
6807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6808 Protect against null graphics structure. Flush gdk event queue.
6810 2005-02-15 Michael Koch <konqueror@gmx.de>
6812 * javax/imageio/ImageReader.java,
6813 javax/imageio/ImageTranscoder.java,
6814 javax/imageio/ImageWriter.java,
6815 javax/imageio/spi/ImageInputStreamSpi.java,
6816 javax/imageio/spi/ImageOutputStreamSpi.java,
6817 javax/imageio/spi/ServiceRegistry.java,
6818 javax/imageio/stream/ImageInputStream.java,
6819 javax/imageio/stream/ImageOutputStream.java: Updated.
6820 * javax/imageio/IIOException.java,
6821 javax/imageio/IIOImage.java,
6822 javax/imageio/IIOParam.java,
6823 javax/imageio/IIOParamController.java,
6824 javax/imageio/ImageIO.java,
6825 javax/imageio/ImageReadParam.java,
6826 javax/imageio/ImageTypeSpecifier.java,
6827 javax/imageio/ImageWriteParam.java,
6828 javax/imageio/spi/IIORegistry.java,
6829 javax/imageio/spi/ImageReaderSpi.java,
6830 javax/imageio/spi/ImageWriterSpi.java,
6831 javax/imageio/stream/FileCacheImageInputStream.java,
6832 javax/imageio/stream/FileCacheImageOutputStream.java,
6833 javax/imageio/stream/FileImageInputStream.java,
6834 javax/imageio/stream/FileImageOutputStream.java,
6835 javax/imageio/stream/ImageInputStreamImpl.java,
6836 javax/imageio/stream/ImageOutputStreamImpl.java,
6837 javax/imageio/stream/MemoryCacheImageInputStream.java,
6838 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6839 javax/imageio/event/IIOReadProgressListener.java,
6840 javax/imageio/event/IIOReadUpdateListener.java,
6841 javax/imageio/event/IIOReadWarningListener.java,
6842 javax/imageio/event/IIOWriteProgressListener.java,
6843 javax/imageio/event/IIOWriteWarningListener.java,
6844 javax/imageio/metadata/IIOMetadata.java,
6845 javax/imageio/metadata/IIOMetadataController.java,
6846 javax/imageio/metadata/IIOMetadataFormat.java,
6847 javax/imageio/metadata/IIOInvalidTreeException.java,
6848 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6849 javax/imageio/metadata/IIOMetadataNode.java: New files.
6850 * Makefile.am (javax_source_files): Added new files
6851 * Makefile.in: Regenerated.
6853 2005-02-15 Graydon Hoare <graydon@redhat.com>
6855 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6856 Rework painting into BufferedImages
6857 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6858 Construct BufferedImage with alpha only when alpha is
6859 present in colormodel.
6860 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6861 Rework painting into client-side jint arrays.
6862 * jni/gtk-peer/gtkcairopeer.h:
6865 2005-02-15 Michael Koch <konqueror@gmx.de>
6867 * javax/swing/DefaultListCellRenderer.java
6868 (serialVersionUID): Made private.
6869 (getListCellRendererComponent): Set horizontal alignment.
6870 * javax/swing/JLabel.java
6871 (setVerticalAlignment): Re-implemented.
6872 (setHorizontalAlignment): Do nothing if old value = new value.
6873 * javax/swing/JList.java
6874 (setCellRenderer): Likewise.
6875 (setModel): Re-implemented.
6876 (setSelectionModel): Likewise.
6878 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6880 * java/awt/Component.java,
6881 java/awt/geom/Rectangle2D.java:
6884 2005-02-15 Michael Koch <konqueror@gmx.de>
6886 * javax/swing/AbstractListModel.java
6887 (fireContentsChanged): Simplified.
6888 (fireIntervalAdded): Likewise.
6889 (fireIntervalRemoved): Likewise.
6890 * javax/swing/DefaultSingleSelectionModel.java:
6892 (fireStateChanged): Simplified.
6893 * javax/swing/JPopupMenu.java
6894 (setSelectionModel): Set property.
6896 2005-02-15 Michael Koch <konqueror@gmx.de>
6898 * java/awt/print/Book.java: Reformatted.
6900 2005-02-15 Michael Koch <konqueror@gmx.de>
6902 * java/awt/geom/Area.java
6903 (QuadSegment.curveArea): Remove unused variables.
6904 (CubicSegment.curveArea): Likewise.
6906 2005-02-15 Michael Koch <konqueror@gmx.de>
6908 * javax/swing/JTree.java
6909 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6910 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6911 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6912 (EXPANDED): New constant.
6913 (COLLAPSED): Likewise.
6914 (nodeStates): New field.
6915 (cellEditor): New method.
6916 (cellRenderer): Likewise.
6917 (selectionModel): Likewise.
6918 (treeModel): Likewise.
6919 (scrollPathToVisible): Likewise.
6920 (scrollRowToVisible): Likewise.
6921 (isCollapsed): Likewise.
6922 (isExpanded): Likewise.
6923 (clearToggledPaths): Likewise.
6924 (getDescendantToggledPaths): Likewise.
6925 (hasBeenExpanded): Likewise.
6926 (isVisible): Likewise.
6927 (isPathEditable): Likewise.
6929 2005-02-15 Michael Koch <konqueror@gmx.de>
6931 * javax/swing/JLayeredPane.java: Reformatted.
6933 2005-02-15 Michael Koch <konqueror@gmx.de>
6935 * javax/swing/tree/DefaultMutableTreeNode.java:
6937 * javax/swing/tree/MutableTreeNode.java:
6940 2005-02-15 Michael Koch <konqueror@gmx.de>
6942 * javax/swing/JFormattedTextField.java
6943 (setDocument): Call setDocument of super class. Don't fire property
6946 2005-02-15 Sven de Marothy <sven@physto.se>
6948 * java/awt/image/IndexColorModel.java:
6949 Add FIXME with respect to alpha handling.
6950 (getAlpha): Default to returning opaque pixels.
6951 * java/awt/image/MultiPixelPackedSampleModel.java
6952 (MultiPixelPackedSampleModel): Corrected parameters, order of
6953 bit shifts and masks, stride length off by one.
6955 2005-02-15 Michael Koch <konqueror@gmx.de>
6957 * javax/swing/JList.java, javax/swing/JTree.java:
6958 Added much new methods and fixed much methods setting bound properties.
6960 2005-02-16 Mark Wielaard <mark@klomp.org>
6962 * Makefile.am (gnu_xml_source_files): Removed
6963 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6964 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6965 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6966 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6967 gnu/xml/dom/DomDocumentFragment.java,
6968 gnu/xml/dom/DomProcessingInstruction.java and
6969 gnu/xml/dom/ls/DomLSException.java.
6970 * Makefile.in: Regenerated.
6972 2005-02-16 Tom Tromey <tromey@redhat.com>
6974 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6975 attribute index is out of bounds.
6977 2005-02-16 Chris Burdess <dog@gnu.org>
6979 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6980 isDeclared methods. Improved performance of isSpecified methods.
6982 2005-02-16 Chris Burdess <dog@gnu.org>
6984 Fixes bug libgcj/19864
6985 * gnu/xml/dom/DomAttr.java,
6986 gnu/xml/dom/DomCDATA.java,
6987 gnu/xml/dom/DomCDATASection.java,
6988 gnu/xml/dom/DomCharacterData.java,
6989 gnu/xml/dom/DomDOMException.java,
6990 gnu/xml/dom/DomDoctype.java,
6991 gnu/xml/dom/DomDocument.java,
6992 gnu/xml/dom/DomDocumentConfiguration.java,
6993 gnu/xml/dom/DomDocumentFragment.java,
6994 gnu/xml/dom/DomElement.java,
6995 gnu/xml/dom/DomEx.java,
6996 gnu/xml/dom/DomFragment.java,
6997 gnu/xml/dom/DomImpl.java,
6998 gnu/xml/dom/DomIterator.java,
6999 gnu/xml/dom/DomNamedNodeMap.java,
7000 gnu/xml/dom/DomNode.java,
7001 gnu/xml/dom/DomNsNode.java,
7002 gnu/xml/dom/DomPI.java,
7003 gnu/xml/dom/DomProcessingInstruction.java,
7004 gnu/xml/dom/DomText.java,
7005 gnu/xml/dom/DomLSEx.java,
7006 gnu/xml/dom/DomLSException.java,
7007 gnu/xml/dom/DomLSParser.java,
7008 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7009 implementation class names to conform to Classpath guidelines. Make
7010 DomLSException use JDK 1.4+ exception chaining.
7011 * gnu/xml/util/SAXNullTransformerFactory.java,
7012 gnu/xml/xpath/Predicate.java: Use constants relative to
7013 declaring class or interface.
7015 2005-02-16 Andrew Haley <aph@redhat.com>
7017 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7018 null, create a new AccessControlContext.
7019 * java/security/SecureClassLoader.java (protectionDomainCache):
7021 (defineClass): Create a new protection domain and add it to our
7024 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7025 addStub() to keep track of the stub we've exported.
7026 (unexportObject): Call deleteStub().
7027 * java/rmi/server/RemoteObject.java (stubs): New field.
7028 (addStub): New method.
7029 (deleteStub): New method.
7032 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7033 true to findHelper (tryParents).
7034 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7036 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7037 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7039 If tryParents is false, don't scan parent class loaders.
7041 * java/security/Permissions.java (PermissionsHash.implies):
7042 Iterate over the collection and invoke implies() on each
7045 2005-02-16 Andrew Haley <aph@redhat.com>
7047 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7049 (PersistentByteMap): Set name
7050 Magic number changed to 0x67636a64 ("gcjd").
7051 (init): Force the map to be prime.
7052 (emptyPersistentByteMap): File name was a string, now a File.
7053 (addBytes): Share srings between entries.
7054 (stringTableSize): New method.
7055 (capacity): Scale by load factor.
7056 (force): New method.
7057 (getFile): New method.
7058 (close): New method.
7059 (putAll): New method.
7060 (ByteWrapper): New class.
7061 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7062 (main): Guess the average string size as 32, not 64.
7063 Copy a database before modifying it, so that we can update a
7064 database in a running system.
7065 If a database isn't big enough, resize it.
7066 "-m": new option: merges databases.
7067 "-a": Create a new detabase if it doesn't exist.
7068 (usage): Correct, add new option.
7069 (addJar): Copy a database before modifying it.
7070 (resizeMap): New method.
7072 2005-02-15 David Daney <ddaney@avtrex.com>
7073 Bryce McKinlay <mckinlay@redhat.com>
7075 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7076 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7077 ensure that GC threads inherit the new signal mask.
7078 (block_sigchld): Call JvFail rather than throwing exception if
7079 pthread_sigmask() fails.
7081 2005-02-15 Mark Wielaard <mark@klomp.org>
7083 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7084 file path elements are separated by spaces.
7086 2005-02-15 Mark Wielaard <mark@klomp.org>
7088 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7089 to describe attributes without a constant field value in this class.
7091 2005-02-15 Michael Koch <konqueror@gmx.de>
7093 * java/util/jar/Attributes.java
7094 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7096 2005-02-15 Mark Wielaard <mark@klomp.org>
7098 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7099 space for parsing CLASS_PATH attribute.
7101 2005-02-15 Mark Wielaard <mark@klomp.org>
7103 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7104 aside for "GCJLIBS" in directory where jarfiles are loaded.
7105 (JarURLLoader.getClass): Removed method.
7106 (JarURLLoader.toString): Removed method.
7107 (FileResource.toString): Removed method.
7109 2005-02-15 Mark Wielaard <mark@klomp.org>
7111 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7112 and/or cause before throwing.
7114 2005-02-15 Richard Henderson <rth@redhat.com>
7116 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7117 (libgcj0_convenience_la_SOURCES): ... here.
7118 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7119 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7120 * Makefile.in: Regenerate.
7122 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7125 * include/jawt.h: Likewise.
7126 * include/jawt_md.h: Likewise.
7127 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7129 * include/Makefile.in: Regenerate.
7130 * jni/classpath/classpath_jawt.h: Likewise.
7131 * jni/gtk-peer/gtk_jawt.c: Likewise.
7132 * Makefile.am: Build libjawt.so.
7133 * Makefile.in: Regenerate.
7135 2005-02-14 Tom Tromey <tromey@redhat.com>
7137 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7139 2005-02-14 Tom Tromey <tromey@redhat.com>
7141 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7142 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7144 2005-02-14 Tom Tromey <tromey@redhat.com>
7147 * testsuite/libjava.lang/PR19929.out: New file.
7148 * testsuite/libjava.lang/PR19929.java: New file.
7150 2005-02-14 Anthony Green <green@redhat.com>
7153 * testsuite/libjava.jni/PR18116.c: New file.
7154 * testsuite/libjava.jni/PR18116.java: New file.
7155 * testsuite/libjava.jni/PR18116.out: New file.
7157 2005-02-13 Anthony Green <green@redhat.com>
7160 * jni.cc (nathash_add): Don't strdup the method signature.
7161 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7165 2005-02-12 Mark Wielaard <mark@klomp.org>
7167 Fixes bug libgcj/8170
7168 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7169 ClassNotFoundException.
7170 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7171 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7172 (remove_internal): New field superceding remove_interpreter.
7173 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7174 Remove no-class methods starting with "_Jv_". And Replace null
7175 class or method names with the empty string. Stop at either the
7176 MainThread or a real Thread run() method.
7177 (newElement): Made static.
7178 * java/net/URLClassLoader.java (findClass): Throw
7179 ClassNotFoundExceptions including urls, plus parent using toString().
7180 (thisString): New field.
7181 (toString): New method.
7183 2005-02-10 Tom Tromey <tromey@redhat.com>
7185 * external/sax/Makefile.in: Rebuilt.
7186 * external/sax/Makefile.am (all-local): Removed.
7187 (BUILT_SOURCES): New variable.
7188 (mostlyclean-local): No error if no classes to delete.
7189 * external/w3c_dom/Makefile.in: Rebuilt.
7190 * external/w3c_dom/Makefile.am (all-local): Removed.
7191 (BUILT_SOURCES): New variable.
7192 (mostlyclean-local): No error if no classes to delete.
7194 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7196 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7197 of mauve and libjava.
7199 2005-02-09 Tom Tromey <tromey@redhat.com>
7201 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7202 jar file with OPEN_DELETE.
7203 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7204 OPEN_DELETE is used.
7206 2005-02-09 Tom Tromey <tromey@redhat.com>
7208 * java/util/zip/InflaterInputStream.java (markSupported):
7210 (mark, reset): Likewise.
7212 2005-02-08 Tom Tromey <tromey@redhat.com>
7214 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7215 name or port is missing.
7216 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7217 AUTHORITY_PORT_GROUP): Updated.
7219 2005-02-08 Tom Tromey <tromey@redhat.com>
7221 * configure: Rebuilt.
7222 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7225 2005-02-07 Tom Tromey <tromey@redhat.com>
7227 * java/lang/natRuntime.cc (insertSystemProperties): Set
7228 sun.boot.class.path earlier.
7230 2005-02-07 Tom Tromey <tromey@redhat.com>
7232 * defineclass.cc (handleClassBegin): Use
7233 _Jv_RegisterInitiatingLoader.
7234 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7235 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7236 class. Use _Jv_UnregisterInitiatingLoader.
7237 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7240 2005-02-07 Mark Wielaard <mark@klomp.org>
7242 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7243 java/util/regex/Matcher.java (lookingAt): Set position when match
7245 (matches): Implemented through lookingAt().
7247 2005-02-07 Mark Wielaard <mark@klomp.org>
7249 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7250 * java/util/regex/Pattern.java (split(CharSequence,int)):
7251 Fix while empties > 0 loops.
7253 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7255 * gnu/java/nio/charset/ISO_8859_1.java,
7256 gnu/java/nio/charset/US_ASCII.java,
7257 gnu/java/nio/charset/UTF_16.java,
7258 gnu/java/nio/charset/UTF_16_LE.java,
7259 gnu/java/nio/charset/UTF_16_BE.java,
7260 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7261 and aliases according to
7262 "http://www.iana.org/assignments/character-sets",
7263 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7264 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7265 * gnu/java/nio/charset/Provider.java: Made charset lookup
7266 case-insensitive which fixes bug #11740.
7268 2005-02-07 Tom Tromey <tromey@redhat.com>
7271 * Makefile.in: Rebuilt.
7272 * Makefile.am (src.zip): New target.
7273 (install-src.zip): Likewise.
7274 (sourcesdir): New variable.
7276 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7278 * javax/imageio/metadata/IIOMetadataNode.java:
7280 * javax/imageio/metadata/IIOAttr.java,
7281 javax/imageio/metadata/IIONamedNodeMap.java,
7282 javax/imageio/metadata/IIONodeList.java:
7285 2005-02-06 Graydon Hoare <graydon@redhat.com>
7287 * gnu/java/awt/ClasspathToolkit.java
7288 (registerImageIOSpis): New method.
7289 * javax/imageio/ImageIO.java
7290 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7291 (WriterMIMETypeFilter.filter): Likewise.
7292 (ImageReaderIterator): Pass extension argument through to SPI.
7293 (getReadersByFilter): Likewise.
7294 (getWritersByFilter): Likewise.
7295 (getImageReadersByFormatName): Likewise.
7296 (getImageReadersByMIMEType): Likewise.
7297 (getImageReadersBySuffix): Likewise.
7298 (getImageWritersByFormatName): Likewise.
7299 (getImageWritersByMIMEType): Likewise.
7300 (getImageWritersBySuffix): Likewise.
7303 * javax/imageio/ImageReader.java
7304 (progressListeners): Initialize.
7305 (setInput): Implement.
7306 * javax/imageio/ImageWriter.java
7307 (progressListeners): Initialize.
7308 (warningListeners): Likewise.
7309 (warningLocales): Likewise.
7310 (setOutput): Test "isInstance" rather than class equality.
7311 * javax/imageio/spi/IIORegistry.java
7312 (static): Add reader and writer SPIs.
7313 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7315 2005-02-06 Michael Koch <konqueror@gmx.de>
7317 * javax/imageio/metadata/IIOInvalidTreeException.java
7318 (IIOInvalidTreeException): Reformatted.
7319 * javax/imageio/spi/IIORegistry.java
7320 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7321 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7322 Reworked import statements.
7324 2005-02-06 Michael Koch <konqueror@gmx.de>
7326 * javax/imageio/stream/FileImageOutputStream.java:
7329 2005-02-06 Michael Koch <konqueror@gmx.de>
7331 * javax/imageio/stream/FileCacheImageInputStream.java,
7332 javax/imageio/stream/FileCacheImageOutputStream.java,
7333 javax/imageio/stream/FileImageInputStream.java,
7334 javax/imageio/stream/ImageInputStreamImpl.java,
7335 javax/imageio/stream/ImageOutputStreamImpl.java,
7336 javax/imageio/stream/MemoryCacheImageInputStream.java,
7337 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7338 Added all missing methods in javax.imageio.stream.
7340 2005-02-02 David Daney <ddaney@avtrex.com>
7342 * java/net/InetAddress.java (InetAddress): Make a private copy of
7344 * java/net/Inet4Address.java (getAddress): Return a copy of the
7346 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7348 (getAddress): Return a copy of the address.
7351 2005-02-02 Tom Tromey <tromey@redhat.com>
7353 * Makefile.in: Rebuilt.
7354 * Makefile.am (classes.stamp): New target, broken out from
7356 ($(all_java_class_files)): Depend on it.
7357 (libgcj-@gcc_version@.jar): Likewise.
7358 (all-recursive): Likewise.
7359 (CLEANFILES): Include classes.stamp.
7361 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7363 * link.cc: Include <stdio.h>
7365 2005-02-02 Tom Tromey <tromey@redhat.com>
7368 * Makefile.in: Rebuilt.
7369 * Makefile.am (ordinary_java_source_files): Added new class.
7370 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7371 Use system_instance, not instance.
7372 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7373 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7375 (system_instance): New field.
7376 (initialize): Initialize the system loader as well.
7377 (VMClassLoader): Default to LIB_CACHE.
7379 2005-02-02 Tom Tromey <tromey@redhat.com>
7381 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7382 * prims.cc: Fixed comment.
7384 2005-02-01 Tom Tromey <tromey@redhat.com>
7386 * Makefile.in: Rebuilt.
7387 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7388 (.java.class): Use BOOTCLASSPATH.
7390 2005-02-01 Tom Tromey <tromey@redhat.com>
7392 * external/w3c_dom/Makefile.am: New file.
7393 * external/w3c_dom/Makefile.in: New file.
7394 * external/sax/Makefile.am: New file.
7395 * external/sax/Makefile.in: New file.
7396 * external/Makefile.in: New file.
7397 * external/Makefile.am: New file.
7398 * external/README: New file from Classpath.
7399 * configure, aclocal.m4, Makefile.in: Rebuilt.
7400 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7401 * Makefile.am (SUBDIRS): Added external.
7402 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7403 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7404 (BOOTCLASSPATH): New variable.
7405 (AM_GCJFLAGS): Use it.
7406 (gnu_xml_source_files): New variable.
7407 (libgcj_la_SOURCES): Use it.
7408 (libgcj_la_LDADD): Include new convenience libraries.
7409 (lib_org_ietf_jgss_la_SOURCES): Removed.
7410 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7411 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7412 (lib_org_w3c_dom_la_SOURCES): Removed.
7413 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7414 (lib_org_w3c_dom_la_LIBADD): Likewise.
7415 (lib_org_xml_sax_la_SOURCES): Removed.
7416 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7417 (lib_org_xml_sax_la_LIBADD): Likewise.
7418 (all_java_source_files): Updated.
7419 (property_files): Likewise.
7420 (libgcj-@gcc_version@.jar): Include classes from external/.
7421 (javax_source_files): Updated.
7422 (ordinary_java_source_files): Updated.
7423 * javax/xml/XMLConstants.java,
7424 javax/xml/datatype/DatatypeConfigurationException.java,
7425 javax/xml/datatype/DatatypeConstants.java,
7426 javax/xml/datatype/DatatypeFactory.java,
7427 javax/xml/datatype/Duration.java,
7428 javax/xml/datatype/XMLGregorianCalendar.java,
7429 javax/xml/datatype/package.html,
7430 javax/xml/namespace/NamespaceContext.java,
7431 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7432 javax/xml/parsers/DocumentBuilder.java,
7433 javax/xml/parsers/DocumentBuilderFactory.java,
7434 javax/xml/parsers/FactoryConfigurationError.java,
7435 javax/xml/parsers/ParserConfigurationException.java,
7436 javax/xml/parsers/SAXParser.java,
7437 javax/xml/parsers/SAXParserFactory.java,
7438 javax/xml/parsers/package.html,
7439 javax/xml/transform/ErrorListener.java,
7440 javax/xml/transform/OutputKeys.java,
7441 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7442 javax/xml/transform/SourceLocator.java,
7443 javax/xml/transform/Templates.java,
7444 javax/xml/transform/Transformer.java,
7445 javax/xml/transform/TransformerConfigurationException.java,
7446 javax/xml/transform/TransformerException.java,
7447 javax/xml/transform/TransformerFactory.java,
7448 javax/xml/transform/TransformerFactoryConfigurationError.java,
7449 javax/xml/transform/URIResolver.java,
7450 javax/xml/transform/package.html,
7451 javax/xml/transform/dom/DOMLocator.java,
7452 javax/xml/transform/dom/DOMResult.java,
7453 javax/xml/transform/dom/DOMSource.java,
7454 javax/xml/transform/dom/package.html,
7455 javax/xml/transform/sax/SAXResult.java,
7456 javax/xml/transform/sax/SAXSource.java,
7457 javax/xml/transform/sax/SAXTransformerFactory.java,
7458 javax/xml/transform/sax/TemplatesHandler.java,
7459 javax/xml/transform/sax/TransformerHandler.java,
7460 javax/xml/transform/sax/package.html,
7461 javax/xml/transform/stream/StreamResult.java,
7462 javax/xml/transform/stream/StreamSource.java,
7463 javax/xml/transform/stream/package.html,
7464 javax/xml/validation/Schema.java,
7465 javax/xml/validation/SchemaFactory.java,
7466 javax/xml/validation/TypeInfoProvider.java,
7467 javax/xml/validation/Validator.java,
7468 javax/xml/validation/ValidatorHandler.java,
7469 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7470 javax/xml/xpath/XPathConstants.java,
7471 javax/xml/xpath/XPathException.java,
7472 javax/xml/xpath/XPathExpression.java,
7473 javax/xml/xpath/XPathExpressionException.java,
7474 javax/xml/xpath/XPathFactory.java,
7475 javax/xml/xpath/XPathFactoryConfigurationException.java,
7476 javax/xml/xpath/XPathFunction.java,
7477 javax/xml/xpath/XPathFunctionException.java,
7478 javax/xml/xpath/XPathFunctionResolver.java,
7479 javax/xml/xpath/XPathVariableResolver.java,
7480 javax/xml/xpath/package.html: New files, from GNU JAXP.
7481 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7482 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7483 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7484 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7485 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7486 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7487 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7488 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7489 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7490 org/w3c/dom/ranges/DocumentRange.java,
7491 org/w3c/dom/ranges/Range.java,
7492 org/w3c/dom/ranges/RangeException.java,
7493 org/w3c/dom/traversal/DocumentTraversal.java,
7494 org/w3c/dom/traversal/NodeFilter.java,
7495 org/w3c/dom/traversal/NodeIterator.java,
7496 org/w3c/dom/traversal/TreeWalker.java,
7497 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7498 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7499 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7500 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7501 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7502 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7503 org/xml/sax/SAXNotRecognizedException.java,
7504 org/xml/sax/SAXNotSupportedException.java,
7505 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7506 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7507 org/xml/sax/ext/DeclHandler.java,
7508 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7509 org/xml/sax/helpers/AttributeListImpl.java,
7510 org/xml/sax/helpers/AttributesImpl.java,
7511 org/xml/sax/helpers/DefaultHandler.java,
7512 org/xml/sax/helpers/LocatorImpl.java,
7513 org/xml/sax/helpers/NamespaceSupport.java,
7514 org/xml/sax/helpers/NewInstance.java,
7515 org/xml/sax/helpers/ParserAdapter.java,
7516 org/xml/sax/helpers/ParserFactory.java,
7517 org/xml/sax/helpers/XMLFilterImpl.java,
7518 org/xml/sax/helpers/XMLReaderAdapter.java,
7519 org/xml/sax/helpers/XMLReaderFactory.java,
7520 org/xml/sax/helpers/package.html: Moved to external/.
7521 * external/sax/README,
7522 external/sax/org/xml/sax/AttributeList.java,
7523 external/sax/org/xml/sax/Attributes.java,
7524 external/sax/org/xml/sax/ContentHandler.java,
7525 external/sax/org/xml/sax/DTDHandler.java,
7526 external/sax/org/xml/sax/DocumentHandler.java,
7527 external/sax/org/xml/sax/EntityResolver.java,
7528 external/sax/org/xml/sax/ErrorHandler.java,
7529 external/sax/org/xml/sax/HandlerBase.java,
7530 external/sax/org/xml/sax/InputSource.java,
7531 external/sax/org/xml/sax/Locator.java,
7532 external/sax/org/xml/sax/Parser.java,
7533 external/sax/org/xml/sax/SAXException.java,
7534 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7535 external/sax/org/xml/sax/SAXNotSupportedException.java,
7536 external/sax/org/xml/sax/SAXParseException.java,
7537 external/sax/org/xml/sax/XMLFilter.java,
7538 external/sax/org/xml/sax/XMLReader.java,
7539 external/sax/org/xml/sax/package.html,
7540 external/sax/org/xml/sax/ext/Attributes2.java,
7541 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7542 external/sax/org/xml/sax/ext/DeclHandler.java,
7543 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7544 external/sax/org/xml/sax/ext/EntityResolver2.java,
7545 external/sax/org/xml/sax/ext/LexicalHandler.java,
7546 external/sax/org/xml/sax/ext/Locator2.java,
7547 external/sax/org/xml/sax/ext/Locator2Impl.java,
7548 external/sax/org/xml/sax/ext/package.html,
7549 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7550 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7551 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7552 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7553 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7554 external/sax/org/xml/sax/helpers/NewInstance.java,
7555 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7556 external/sax/org/xml/sax/helpers/ParserFactory.java,
7557 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7558 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7559 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7560 external/sax/org/xml/sax/helpers/package.html,
7561 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7562 external/w3c_dom/org/w3c/dom/Attr.java,
7563 external/w3c_dom/org/w3c/dom/CDATASection.java,
7564 external/w3c_dom/org/w3c/dom/CharacterData.java,
7565 external/w3c_dom/org/w3c/dom/Comment.java,
7566 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7567 external/w3c_dom/org/w3c/dom/DOMError.java,
7568 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7569 external/w3c_dom/org/w3c/dom/DOMException.java,
7570 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7571 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7572 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7573 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7574 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7575 external/w3c_dom/org/w3c/dom/Document.java,
7576 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7577 external/w3c_dom/org/w3c/dom/DocumentType.java,
7578 external/w3c_dom/org/w3c/dom/Element.java,
7579 external/w3c_dom/org/w3c/dom/Entity.java,
7580 external/w3c_dom/org/w3c/dom/EntityReference.java,
7581 external/w3c_dom/org/w3c/dom/NameList.java,
7582 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7583 external/w3c_dom/org/w3c/dom/Node.java,
7584 external/w3c_dom/org/w3c/dom/NodeList.java,
7585 external/w3c_dom/org/w3c/dom/Notation.java,
7586 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7587 external/w3c_dom/org/w3c/dom/Text.java,
7588 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7589 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7590 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7591 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7592 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7593 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7594 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7595 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7596 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7597 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7598 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7599 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7600 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7601 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7602 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7603 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7604 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7605 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7606 external/w3c_dom/org/w3c/dom/css/Counter.java,
7607 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7608 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7609 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7610 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7611 external/w3c_dom/org/w3c/dom/css/Rect.java,
7612 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7613 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7614 external/w3c_dom/org/w3c/dom/events/Event.java,
7615 external/w3c_dom/org/w3c/dom/events/EventException.java,
7616 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7617 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7618 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7619 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7620 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7621 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7622 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7623 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7624 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7625 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7626 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7627 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7628 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7629 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7630 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7631 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7632 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7633 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7634 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7635 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7636 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7637 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7638 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7639 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7640 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7641 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7642 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7643 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7644 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7645 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7646 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7647 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7648 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7649 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7650 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7651 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7652 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7653 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7654 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7655 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7656 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7657 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7658 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7659 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7660 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7661 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7662 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7663 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7664 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7665 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7666 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7667 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7668 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7669 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7670 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7671 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7672 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7673 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7674 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7675 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7676 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7677 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7678 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7679 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7680 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7681 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7682 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7683 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7684 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7685 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7686 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7687 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7688 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7689 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7690 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7691 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7692 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7693 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7694 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7695 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7696 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7697 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7698 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7699 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7700 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7701 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7702 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7703 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7704 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7705 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7706 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7707 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7710 2005-01-31 Anthony Green <green@redhat.com>
7712 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7713 Support IP_MULTICAST_LOOP.
7714 (setOption): Support IP_MULTICAST_LOOP.
7716 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7717 SO_REUSEADDR support.
7718 (getOption): Support SO_REUSEADDR.
7720 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7723 * java/util/Date.java
7724 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7726 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7728 (getTimezoneOffset): Inverted sign.
7730 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7732 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7733 remove other passing tests and add new XFAILs.
7735 2005-01-24 Tom Tromey <tromey@redhat.com>
7737 * java/lang/Class.h (next): Updated documentation. Renamed to
7739 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7740 _Jv_CheckABIVersion.
7741 (_Jv_RegisterClasses_Counted): Likewise.
7742 (_Jv_RegisterClassHookDefault): Fix starting condition of
7743 duplicate-checking loop.
7744 * include/jvm.h (GCJ_VERSION): New define.
7745 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7746 (_Jv_CheckABIVersion): New function.
7748 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7750 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7751 (libgij_la_LDFLAGS): Add.
7752 * Makefile.in: Rebuilt.
7754 2005-01-24 Roger Sayle <roger@eyesopen.com>
7757 * testsuite/libjava.compile/PR19295.java: New test case.
7759 2005-01-19 Tom Tromey <tromey@redhat.com>
7761 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7762 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7763 if 'handler' is valid.
7765 2005-01-17 Tom Tromey <tromey@redhat.com>
7767 * java/text/MessageFormat.java (scanString): Changed how quoting
7769 (scanFormatElement): Likewise.
7771 2004-12-07 Mark Wielaard <mark@klomp.org>
7773 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7775 2005-01-15 Michael Koch <konqueror@gmx.de>
7779 (AUTHORITY_REGEXP): New regexp constant.
7780 (AUTHORITY_USERINFO_GROUP): New constant.
7781 (AUTHORITY_HOST_GROUP): Likewise.
7782 (AUTHORITY_PORT_GROUP): Likewise.
7783 (port): Changed default value to -1.
7784 (parseURI): Parse authority part and initialize host,
7787 2005-01-14 Robin Green <greenrd@greenrd.org>
7789 * java/io/File.java (toURI): Generate a URI which we understand.
7791 2005-01-13 Graydon Hoare <graydon@redhat.com>
7793 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7794 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7795 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7796 * jni.cc: Reuse bottom frame between calls, avoid clearing
7797 frame when no local references are made.
7799 2005-01-13 Michael Koch <konqueror@gmx.de>
7802 * java/lang/Thread.java
7803 (Thread): Call checkAccess().
7804 (stop): Fixed argument name to match javadoc.
7805 * java/lang/natThread.cc
7806 (interrupt): Call checkAccess().
7809 2005-01-11 Michael Koch <konqueror@gmx.de>
7812 * java/net/URL.java (URL): Handle specs like
7813 "/redir?http://domain2.com/index.html" which start with a slash.
7815 2005-01-11 Michael Koch <konqueror@gmx.de>
7817 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7818 * gnu/java/net/BASE64.java,
7819 gnu/java/net/EmptyX509TrustManager.java,
7820 gnu/java/net/LineInputStream.java,
7821 gnu/java/net/protocol/http/Authenticator.java,
7822 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7823 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7824 gnu/java/net/protocol/http/ChunkedInputStream.java,
7825 gnu/java/net/protocol/http/Cookie.java,
7826 gnu/java/net/protocol/http/CookieManager.java,
7827 gnu/java/net/protocol/http/Credentials.java,
7828 gnu/java/net/protocol/http/HTTPConnection.java,
7829 gnu/java/net/protocol/http/HTTPDateFormat.java,
7830 gnu/java/net/protocol/http/HTTPURLConnection.java,
7831 gnu/java/net/protocol/http/Headers.java,
7832 gnu/java/net/protocol/http/Request.java,
7833 gnu/java/net/protocol/http/RequestBodyWriter.java,
7834 gnu/java/net/protocol/http/Response.java,
7835 gnu/java/net/protocol/http/ResponseBodyReader.java,
7836 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7837 gnu/java/net/protocol/http/SimpleCookieManager.java,
7838 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7839 gnu/java/net/protocol/http/event/ConnectionListener.java,
7840 gnu/java/net/protocol/http/event/RequestEvent.java,
7841 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7842 * gnu/java/net/protocol/http/Connection.java: Removed.
7843 * gnu/java/net/protocol/http/Handler.java,
7844 javax/net/ssl/HttpsURLConnection.java: Updated.
7845 * Makefile.am: Added new files and remove old ones.
7846 * Makefile.in: Regenerated.
7848 2005-01-11 Tom Tromey <tromey@redhat.com>
7851 * java/io/BufferedInputStream.java (read): Repeatedly read to
7853 (refill): Change test to see if buffer must be grown.
7855 2005-01-10 Tom Tromey <tromey@redhat.com>
7857 * mauve-libgcj: Exclude some swing tests.
7859 2005-01-10 Tom Tromey <tromey@redhat.com>
7861 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7862 * java/lang/Package.java (getPackages): Use VMClassLoader when
7864 (getPackage): Likewise.
7865 * prims.cc (_Jv_CreateJavaVM): Call
7866 _Jv_RegisterBootstrapPackages.
7867 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7868 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7869 (getPackages): Likewise.
7870 (definedPackages): New field.
7871 (definePackageForNative): New method.
7872 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7873 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7874 * defineclass.cc (handleClassBegin): Use
7875 ClassLoader.findLoadedClass.
7876 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7878 (struct _Jv_LoaderInfo): Removed.
7879 (initiated_classes): Likewise.
7880 (_Jv_UnregisterClass): Don't use initiated_classes.
7881 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7882 (_Jv_FindClass): Register classes found during boostrap.
7883 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7884 (bootstrap_class_list): New global.
7885 (bootstrap_index): Likewise.
7886 (_Jv_RegisterBootstrapPackages): New function.
7887 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7888 definePackageForNative.
7889 (findClass): Updated.
7890 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7893 2005-01-10 Tom Tromey <tromey@redhat.com>
7896 * include/jvm.h (_Jv_Linker::find_field): Declare.
7897 (_Jv_Linker::find_field_helper): Likewise.
7898 * link.cc (find_field_helper): New method.
7899 (find_field): Likewise.
7900 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7902 (link_symbol_table): Use find_field.
7904 2005-01-10 Michael Koch <konqueror@gmx.de>
7907 * java/util/Locale.java (Locale): Don't uppercase variant.
7908 (getISOCountries): Fixed typo in javadoc.
7910 2005-01-10 Michael Koch <konqueror@gmx.de>
7912 * java/util/SimpleTimeZone.java (checkRule):
7913 Throw IllegalArgumentException on invalid month values.
7914 * java/util/TimeZone.java (setID):
7915 Throw NullPointerException if needed.
7917 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7919 * java/util/SimpleTimeZone.java (getOffset):
7920 offset end date with daylight savings
7922 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7924 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7925 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7927 2005-01-09 Michael Koch <konqueror@gmx.de>
7930 * java/net/InetAddress.java (getLocalHost):
7931 Throw UnknownHostException if local hostname cannot be determined.
7933 2005-01-06 Tom Tromey <tromey@redhat.com>
7935 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7937 2005-01-07 Michael Koch <konqueror@gmx.de>
7940 * java/nio/Buffer.java (address): New field.
7941 * java/nio/DirectByteBufferImpl.java (address): Removed.
7942 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7943 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7944 Explicitly initialize Buffer.address if needed.
7945 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7946 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7947 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7948 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7949 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7950 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7951 DirectByteBufferImpl object.
7952 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7953 * testsuite/libjava.jni/directbuffer.c,
7954 testsuite/libjava.jni/directbuffer.java,
7955 testsuite/libjava.jni/directbuffer.out,
7956 testsuite/libjava.jni/bytebuffer.c,
7957 testsuite/libjava.jni/bytebuffer.java,
7958 testsuite/libjava.jni/bytebuffer.out: New files.
7960 2005-01-05 Tom Tromey <tromey@redhat.com>
7962 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7964 (compressedSize): Now 'long'. Default to -1.
7965 (getCompressedSize): Rewrote.
7966 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7967 deflate at all if we need input.
7969 2005-01-05 Tom Tromey <tromey@redhat.com>
7972 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7975 2005-01-05 Tom Tromey <tromey@redhat.com>
7977 * java/lang/natRuntime.cc (insertSystemProperties): Set
7978 java.ext.dirs earlier.
7980 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7982 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7983 sync_info element of the object if needed.
7985 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7987 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7988 a non-zero exit status from 'false'.
7990 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7992 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.