1 2005-06-24 Tom Tromey <tromey@redhat.com>
3 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
4 where class' name is NULL.
5 (_Jv_FindClass): Don't wait for class state.
6 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
8 * include/java-interp.h (_Jv_DefineClass): Updated.
9 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
10 (struct _Jv_ClassReader): Likewise.
11 (found_name): New field.
12 (handleClassBegin): Set *found_name.
13 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
14 (handleClassBegin): Throw error if super class not set.
15 (read_methods): Correctly call check_tag and prepare_pool_entry.
17 2005-06-24 Tom Tromey <tromey@redhat.com>
19 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
21 2005-06-24 Tom Tromey <tromey@redhat.com>
23 * verify.cc (verify_instructions_0): Correctly handle situation
24 where PC falls off end.
26 2005-06-24 Tom Tromey <tromey@redhat.com>
28 * interpret.cc (compile): Handle case where table entry is
31 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
33 * testsuite/libjava.compile/PR20697.java: New test-case.
35 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
37 * Makefile.am (SUBDIRS): Use append for conditional.
38 (toolexeclib_LTLIBRARIES): Likewise.
39 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
41 * Makefile.in: Regenerate.
43 2005-06-17 Keith Seitz <keiths@redhat.com>
45 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
46 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
47 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
49 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
50 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
52 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
53 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
54 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
55 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
57 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
58 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
60 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
62 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
63 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
64 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
65 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
66 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
67 * Makefile.in: Regenerate.
69 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
71 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
72 (USING_POSIX_PLATFORM): ... here.
73 * Makefile.am: Delete USING_ECOS_PLATFORM.
74 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
75 external/Makefile.in, external/sax/Makefile.in,
76 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
78 2005-06-15 Tom Tromey <tromey@redhat.com>
81 * testsuite/libjava.lang/pr17536.java: New file.
82 * testsuite/libjava.lang/pr17536.out: New file.
84 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
87 * gnu/java/net/protocol/http/HTTPURLConnection.java
88 (getHeaderFieldKey): Check index.
90 2005-06-15 Tom Tromey <tromey@redhat.com>
93 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
95 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
96 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
98 (append_partial_itable): Use it.
99 (set_vtable_entries): Likewise.
101 2005-06-15 Tom Tromey <tromey@redhat.com>
103 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
104 last_was_sep in loop.
106 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
108 * configure.host: Handle Solaris 10/x86.
110 2005-06-14 Keith Seitz <keiths@redhat.com>
112 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
113 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
115 2005-06-14 Keith Seitz <keiths@redhat.com>
117 * gnu/classpath/jdwp/id/ArrayId.java: New file.
118 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
119 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
120 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
121 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
122 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
123 * gnu/classpath/jdwp/id/JdwpId.java: New file.
124 * gnu/classpath/jdwp/id/ObjectId.java: New file.
125 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
126 * gnu/classpath/jdwp/id/StringId.java: New file.
127 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
128 * gnu/classpath/jdwp/id/ThreadId.java: New file.
130 2005-06-14 Tom Tromey <tromey@redhat.com>
133 * configure, aclocal.m4, Makefile.in: Rebuilt.
135 2005-06-14 Tom Tromey <tromey@redhat.com>
137 * java/lang/Class.java (getClasses): New method.
138 (internalGetClasses): Likewise.
139 (getClassLoader): Updated documentation.
140 (getDeclaredClasses): New overload; old overload no longer
142 (_getConstructors): Removed.
143 (resourcePath): Updated.
144 * java/lang/natClass.cc (getClasses): Removed.
145 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
147 (_getConstructors): Removed.
149 2005-06-13 Jim Huang <jserv@kaffe.org>
152 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
153 (_Jv_JNI_NewObject): Likewise.
155 2005-06-13 Tom Tromey <tromey@redhat.com>
158 * testsuite/libjava.lang/pr21844.java: New file.
159 * testsuite/libjava.lang/pr21844.out: New file.
161 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
164 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
167 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
169 * java/text/MessageFormat.java (parse): When parsing strings, check
170 for an empty pattern trailer.
172 2005-06-06 Keith Seitz <keiths@redhat.com>
174 * gnu/classpath/jdwp/util/Signature.java: New file.
175 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
177 2005-06-05 Anthony Green <green@redhat.com>
179 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
182 2005-06-04 Anthony Green <green@redhat.com>
184 * java/net/URLClassLoader.java: import gnu.gcj.Core,
185 and gnu.java.net.protocol.core.CoreInputStream.
186 (CureURLLoader): New class.
187 (CoreResource): New class.
188 (addURLImpl): Add special treatment for the "core" protocol.
189 * gnu/gcj/natCore.cc (find): New method.
190 * gnu/gcj/Core.java (find): New method.
192 2005-06-03 Keith Seitz <keiths@redhat.com>
194 * gnu/classpath/jdwp/transport/ITransport.java: New file.
195 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
196 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
198 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
200 * jawt.c: Remove malloc.h, covered by stdlib.h.
202 * testsuite/libjava.jni/jni.exp
203 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
206 2005-06-02 Keith Seitz <keiths@redhat.com>
208 * gnu/classpath/jdwp/transport/TransportException.java: New file.
210 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
212 * mauve-libgcj: Remove implemented classes from the fail section.
213 Add two new not implemented to it.
215 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
217 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
218 AC_SUBST definition from configure.host.
219 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
220 to -fomit-frame-pointer on 32-bit x86 targets.
222 2005-06-01 Tom Tromey <tromey@redhat.com>
224 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
226 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
229 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
230 (static): Add possessive matching to JAVA_1_4 syntax.
231 * gnu/regexp/RETokenRepeated.java (possessive): New field.
232 (makePossessive, isPossessive): New methods.
233 (match): Don't back off during possessive matching.
234 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
235 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
238 2005-06-01 Keith Seitz <keiths@redhat.com>
240 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
241 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
242 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
244 2005-06-01 Tom Tromey <tromey@redhat.com>
247 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
248 (currentLoader): New method.
249 * java/io/ObjectInputStream.java (resolveProxyClass): Use
251 (currentLoader): Now native.
252 (currentClassLoader): Removed.
253 * testsuite/libjava.lang/pr21785.java: New file.
254 * testsuite/libjava.lang/pr21785.out: New file.
256 2005-06-01 Tom Tromey <tromey@redhat.com>
259 * java/lang/natString.cc (substring): Changed sharing heuristic.
261 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
264 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
265 MAXPATHLEN. Format exception message using a StringBuffer instead.
267 2005-05-29 Michael Koch <konqueror@gmx.de>
270 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
272 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
274 * ChangeLog: Fix typo.
276 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
278 Testsuite adjustments for PR java/19870.
279 * testsuite/libjava.lang/PR19870.java: New testcase.
280 * testsuite/libjava.lang/PR19870.out: Expected output for the
282 * testsuite/libjava.jacks/jacks.xfail: Add
283 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
286 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
288 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
289 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
290 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
292 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
293 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
294 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
295 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
297 2005-05-25 Richard Henderson <rth@redhat.com>
300 * sysdep/descriptor-n.h: New file.
301 * sysdep/descriptor-y.h: New file.
302 * sysdep/powerpc/descriptor.h: New file.
303 * configure.host: Set $descriptor_h appropriate for the host.
304 * configure.ac: Link it.
305 * configure: Regenerate.
306 * stacktrace.cc: Include sysdep/descriptor.h.
307 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
309 2005-05-25 Chris Burdess <dog@gnu.org>
311 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
312 end entity callbacks.
314 2005-05-24 Gary Benson <gbenson@redhat.com>
317 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
318 Handle DateFormat.DEFAULT case correctly.
320 2005-05-21 Tom Tromey <tromey@redhat.com>
323 * java/lang/ref/natReference.cc (find_slot): Handle case where
324 table has no NULL entries.
325 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
326 table has no NULL entries.
328 2005-05-22 Andreas Jaeger <aj@suse.de>
330 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
333 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
335 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
337 2005-05-19 Richard Henderson <rth@redhat.com>
339 * exception.cc: Revert 05-17 gcc_unreachable change.
341 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
343 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
344 _Jv_RegisterInitiatingLoader to register array classes, not
346 (_Jv_RegisterInitiatingLoader): Give up if called very early during
347 bootstrapping. Add a FIXME to handle this case better.
349 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
351 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
353 (libgcj_la_SOURCES): New. Move sources here.
354 (libgcj.la): Remove rule.
356 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
359 * gnu/java/security/provider/DSASignature.java: Import updates
362 2005-05-18 Anthony Green <green@redhat.com>
364 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
365 classpath_jawt_object_unlock, classpath_jawt_create_lock,
366 classpath_jawt_destroy_lock): New functions.
367 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
368 classpath_jawt_object_unlock, classpath_jawt_create_lock,
369 classpath_jawt_destroy_lock): New functions.
370 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
372 * jawt.c: #include malloc.h.
373 (_Jv_Lock): Use lock.
375 (_Jv_GetDrawingSurface): Initialize lock.
376 (_Jv_FreeDrawingSurface): Destroy lock.
377 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
379 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
381 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
382 * Makefile.in: Regenerate.
384 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
386 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
387 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
388 * aclocal.m4, configure, config.h.in, include/config.h.in,
389 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
390 external/Makefile.in, external/sax/Makefile.in,
391 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
393 2005-05-17 David Daney <ddaney@avtrex.com>
396 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
398 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
400 * exception.cc (abort): Remove std::abort hack.
401 (gcc_unreacheable): Define.
403 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
405 * Makefile.am (Makefile.deps): Do not create native.list and
407 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
408 * Makefile.in: Regenerate.
410 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
412 * configure.ac (--enable-libgcj-multifile): Remove.
414 * Makefile.am (all_native_compiled_source_files,
415 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
416 all_libgcj_lo_files, all_xlib_lo_files,
417 all_java_deps_files, all_java_stamp_files,
418 all_java_filelist_files): New variables.
419 (EXTRA_DIST): New Automake variable.
420 (CLEANFILES): Add .stamp, .list and .lo files.
421 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
422 (classes.stamp): Depend on $(all_java_stamp_files).
423 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
424 going through write_entries_to_file.
426 (all_java_source_files, all_property_files): Move earlier.
427 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
428 all_java_class_files): Remove.
429 (gtk_awt_peer_sources): Rename to...
430 (gtk_awt_peer_source_files): ... this. Adjust throughout.
433 (libgcj0_convenience_la_SOURCES): Remove Java source files.
434 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
435 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
436 (libgcj_la_SOURCES): Remove.
437 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
438 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
439 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
441 * configure: Regenerate.
442 * Makefile.in: Regenerate.
443 * external/Makefile.in: Regenerate.
444 * external/sax/Makefile.in: Regenerate.
445 * external/w3c_dom/Makefile.in: Regenerate.
446 * gcj/Makefile.in: Regenerate.
447 * include/Makefile.in: Regenerate.
448 * libltdl/Makefile.in: Regenerate.
449 * testsuite/Makefile.in: Regenerate.
451 2005-05-16 Tom Tromey <tromey@redhat.com>
453 * java/nio/charset/Charset.java (encode, decode): Synchronize on
454 'this', not the class.
456 2005-05-16 Tom Tromey <tromey@redhat.com>
458 * gnu/java/net/protocol/http/Headers.java (parse): Include final
461 2005-05-16 Tom Tromey <tromey@redhat.com>
464 * java/net/URI.java (unquote): Handle lower-case letters as well.
466 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
469 * gnu/regexp/RE.java: Add support for quoting constructs.
471 2005-05-15 Tom Tromey <tromey@redhat.com>
473 * java/lang/String.java (startsWith): Fixed javadoc.
475 2005-05-15 Tom Tromey <tromey@redhat.com>
478 * testsuite/libjava.compile/pr21519.java: New file.
479 * testsuite/libjava.compile/pr21519.no-link: New file.
481 2005-05-15 Tom Tromey <tromey@redhat.com>
483 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
485 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
488 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
489 interrupt status flag if _Jv_CondWait is interrupted.
491 2005-05-13 Tom Tromey <tromey@redhat.com>
493 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
496 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
498 * include/jvm.h (gcj::verifyClasses): Declare.
499 * link.cc (gcj::verbose_class_flag): Moved.
500 * prims.cc (gcj::verifyClasses): Define here.
501 (gcj::verbose_class_flag): Move definition here.
502 (_Jv_Linker::wait_for_state): Don't call verify_class
503 if gcj::verifyClasses is not set.
504 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
506 2005-05-12 Aaron Luchko <aluchko@redhat.com>
508 * gij.cc (main): Recognize '-verify', '-noverify', and
511 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
513 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
515 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
517 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
520 2005-05-11 Tom Tromey <tromey@redhat.com>
522 * external/w3c_dom/Makefile.in: Rebuilt.
523 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
525 * external/sax/Makefile.in: Rebuilt.
526 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
528 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
530 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
531 Call _Jv_CopyClassesToSystemLoader.
532 * java/lang/natClassLoader.cc (system_class_list): New global.
533 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
535 (_Jv_CopyClassesToSystemLoader): New function.
536 (SYSTEM_LOADER_INITIALIZED): New define.
537 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
538 (_Jv_CheckABIVersion): Use it.
539 (_Jv_ClassForBootstrapLoader): New function.
540 * Makefile.in: Rebuilt.
541 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
543 2005-05-10 Tom Tromey <tromey@redhat.com>
545 * gcj/javaprims.h: Updated.
546 * java/lang/String.java (String(StringBuilder)): New constructor.
547 * java/lang/natStringBuilder.cc: New file.
548 * java/lang/StringBuilder.java: New file.
549 * Makefile.in: Rebuilt.
550 * Makefile.am (core_java_source_files): Added StringBuilder.java.
551 (nat_source_files): Added natStringBuilder.cc.
553 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
556 * testsuite/libjava.jacks/jacks.xfail: Adjust.
558 2005-05-09 Mike Stump <mrs@apple.com>
560 * configure: Regenerate.
562 2005-05-09 David Daney <ddaney@avtrex.com>
564 * java/util/BitSet.java (get(int, int)): Fix breakage when
565 requested set doesn't start on a multiple of 64.
567 2005-05-07 Matthias Klose <doko@debian.org>
569 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
571 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
573 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
574 * Makefile.in: Regenerate.
575 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
576 (createCompatibleVolatileImage(int,int)): Implement.
577 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
579 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
581 (createVolatileImage): Implement.
582 (createBuffers): Likewise.
583 (getBackBuffer): Likewise.
585 (destroyBuffers): Likewise.
586 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
587 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
588 (CanvasFlipBufferStrategy): Likewise.
589 (createBufferStrategy(int)): New method.
590 (createBufferStrategy(int,BufferCapabilities)): Likewise.
591 * java/awt/Component.java (BltBufferStrategy): Implement and
593 (FlipBufferStrategy): Likewise.
594 * java/awt/Window.java (WindowBltBufferStrategy): New class.
595 (WindowFlipBufferStrategy): Likewise.
596 (createBufferStrategy(int)): New method.
597 (createBufferStrategy(int,BufferCapabilities)): Likewise.
598 (getBufferStrategy): Likewise.
599 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
600 front to frontCaps and back to backCaps.
602 2005-05-06 Michael Koch <konqueror@gmx.de>
604 * java/awt/BufferCapabilities.java
605 (BufferCapabilities): Merged javadoc.
607 2005-05-06 Michael Koch <konqueror@gmx.de>
609 * java/util/Locale.java
610 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
611 (getLocale): New methods. Use it everywhere where instances of Locales
613 (getDisplayLanguage): Merged javadoc.
614 (getDisplayCountry): Likewise.
615 (getDisplayVariant): Likewise.
617 2005-05-06 Archie Cobbs <archie@dellroad.org>
619 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
620 use DeleteLocalRef() to avoid exhausting local native references.
622 2005-05-06 Mark Wielaard <mark@klomp.org>
624 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
625 (window_delete_cb): Don't use C++ style comments.
627 2005-05-06 Robert Schuster <thebohemian@gmx.net>
629 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
632 2005-05-06 Robert Schuster <thebohemian@gmx.net>
634 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
635 (window_delete_cb): Made the function return TRUE.
637 2005-05-06 Roman Kennke <roman@kennke.org>
639 * javax/swing/text/PlainView.java
640 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
642 * javax/swing/text/Utilities.java
643 (drawTabbedText): Initilialize local variable pos correctly.
645 2005-05-06 Roman Kennke <roman@kennke.org>
647 * javax/swing/text/AbstractDocument.java
648 (LeafElement): Made start and end package private fields for
649 effective reindexing.
650 * javax/swing/text/PlainDocument.java
651 (constructor): The field rootElement is always BranchElement,
652 so we handle it as such.
653 (removeUpdate): Rewritten reindexing for removeUpdate so that
654 the actual removal is taken into account.
656 2005-05-06 Roman Kennke <roman@kennke.org>
658 * javax/swing/text/GapContent.java:
659 Removed debugging output stuff, which I accidentally left in.
661 2005-05-06 Roman Kennke <roman@kennke.org>
663 * javax/swing/text/GapContent.java:
664 Implemented a real GapContent. Only the public methods have
665 been implemented so far and still no UndoableEdit support.
667 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
669 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
672 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
674 * java/awt/image/BufferStrategy.java: Document.
676 * java/awt/BufferCapabilities.java: Document.
678 2005-05-04 Tom Tromey <tromey@redhat.com>
680 * java/nio/channels/FileLock.java (toString): Entirely avoid
683 2005-05-04 Andrew Overholt <overholt@redhat.com>
685 * java/nio/channels/FileLock.java (toString): Re-implement using
688 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
690 * java/awt/ImageCapabilities.java: Document.
692 * java/awt/image/VolatileImage.java: Unindent copyright header.
694 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
696 * java/awt/image/VolatileImage.java: Document.
698 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
701 (init_glib_threads): Check if threading system is already
704 2005-05-03 Andrew Overholt <overholt@redhat.com>
707 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
708 could not be acquired.
709 * java/nio/channels/FileLock.java (toString): Re-implement to be
710 in line with other implementations.
712 2005-05-03 Tom Tromey <tromey@redhat.com>
714 * java/lang/VMSecurityManager.java (currentClassLoader): Use
715 'systemClasssLoader' directly.
717 2005-05-03 Tom Tromey <tromey@redhat.com>
719 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
720 call VMClassLoader.getSystemClassLoader.
722 2005-04-29 Michael Koch <konqueror@gmx.de>
724 * java/net/NetworkInterface.java
726 (NetworkInterface(String,InetAddress)): Made package-private.
727 (NetworkInterface(String,InetAddress[])): New constructor.
728 (getRealNetworkInterfaces): Removed.
729 (getByName): Use VMNetworkInterface.getInterfaces().
730 (getByInetAddress): Likewise.
731 (getNetworkInterfaces): Likewise.
732 * java/net/VMNetworkInterface.java,
733 java/net/natVMNetworkInterfaceNoNet.cc,
734 java/net/natVMNetworkInterfacePosix.c,c
735 java/net/natVMNetworkInterfaceWin32.cc: New files.
736 * java/net/natNetworkInterfaceNoNet.cc,
737 java/net/natNetworkInterfacePosix.cc,
738 java/net/natNetworkInterfaceWin32.cc: Removed.
741 * configure, Makefile.in: Regenerated.
743 2005-04-29 Andrew Haley <aph@redhat.com>
745 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
747 2005-04-29 Dalibor Topic <robilad@kaffe.org>
749 * java/nio/channels/FileChannelImpl.java
750 (FileChannelImpl(String, int)): Removed.
751 (FileChannelImpl(File, int)): Added. Check if opened file is a
753 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
754 Call FileChannelImpl(File, int).
755 * java/io/FileOutputStream.java (FileInputStream): Call
756 FileChannelImpl(File, int).
757 * java/io/RandomAccessFile.java (RandomAccessFile):
758 Call FileChannelImpl(File, int). Switched constructors around.
760 2005-04-27 Andrew Haley <aph@redhat.com>
763 * prims.cc (_Jv_ResolvePoolEntry): New function.
764 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
765 * link.cc (_Jv_Linker::find_field): New arg: found_class.
766 (resolve_pool_entry): Initialize the class in which a field is
768 (link_symbol_table): Pass new arg to found_class.
770 2005-04-29 Michael Koch <konqueror@gmx.de>
772 * java/nio/charset/Charset.java
773 (provider): Reformatted.
775 2005-04-29 Michael Koch <konqueror@gmx.de>
777 * gnu/java/net/protocol/http/HTTPConnection.java:
778 (userAgent): Initialize from system properties.
779 (initUserAgent): Removed.
781 2005-04-29 Mark Wielaard <mark@klomp.org>
783 * java/util/ResourceBundle.java (getObject): Clarify
784 MissingResourceException detailed message.
785 (tryBundle(String,ClassLoader)): Likewise.
787 2005-04-29 Robert Schuster <thebohemian@gmx.net>
789 * java/beans/FeatureDescriptor.java:
790 (getShortDescription): Implemented fallback mechanism and fixed
791 documentation (fixes bug #12637).
792 (getDisplayName): Dito.
794 2005-04-29 Robert Schuster <thebohemian@gmx.net>
796 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
797 will now be set correctly.
798 (flushCaches): Now flushes all cached intermediate data.
800 2005-04-28 Michael Koch <konqueror@gmx.de>
802 * java/net/InetAddress.java
803 (aton): Fixed javadoc.
806 2005-04-28 Tom Tromey <tromey@redhat.com>
808 * javax/swing/Timer.java
809 (drainEvents, queueEvent): Now package-private.
811 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
813 * javax/swing/Timer.java
814 (constructor): Assigning initialDelay.
816 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
818 * javax/swing/Timer.java
819 (Waker.run): firing the first action event.
821 2005-04-28 Michael Koch <konqueror@gmx.de>
823 * javax/swing/Timer.java: Reordered all fields and methods,
826 2005-04-28 Michael Koch <konqueror@gmx.de>
828 * javax/swing/Timer.java: Javadocs merged
831 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
833 * gnu/java/net/protocol/file/Connection.java
834 (StaticData): New inner class to contain statics.
835 (connect, getHeaderField): Modified to use StaticData.
837 2005-04-28 Michael Koch <konqueror@gmx.de>
839 * gnu/java/net/protocol/file/Connection.java
840 (lineSeparator): Initialize with SystemProperties.getProperty().
842 2005-04-27 Chris Burdess <dog@gnu.org>
844 * gnu/java/net/protocol/file/Connection.java: Return correct content
845 length for directory listing.
846 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
847 #11285: return valid URLs for directories.i
849 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
851 * Makefile.am (ordinary_java_source_files): Add
852 gnu/java/net/protocol/https/Handler.java.
853 * Makefile.in: Regenerate.
854 * java/net/URL.java: Remove org.metastatic.jessie from default
855 protocol search path.
857 2005-04-27 Chris Burdess <dog@gnu.org>
859 * gnu/java/net/protocol/https/Handler.java: New file.
861 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
863 * javax/imageio/spi/IIORegistry.java (IIORegistry):
864 Don't assume that awt Toolkit is always ClasspathToolkit.
866 2005-04-27 Chris Burdess <dog@gnu.org>
868 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
869 absolute and relative paths in Location header.
871 2005-04-27 Chris Burdess <dog@gnu.org>
873 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
874 FileNotFoundException and implement getErrorStream on 404.
876 2005-04-27 Sven de Marothy <sven@physto.se>
878 * java/util/TimeZone.java,
879 (getDefaultDisplayName): Fix previous fix.
881 2005-04-27 Sven de Marothy <sven@physto.se>
883 * java/util/TimeZone.java,
884 (getDefaultDisplayName): Don't print zero offsets.
886 2005-04-27 Roman Kennke <roman@kennke.org>
888 * javax/swing/plaf/basic/BasicScrollBarUI
889 (getThumbBounds): Do not make thumb smaller than
891 * javax/swing/plaf/metal/MetalLookAndFeel
892 (initComponentDefaults): Added color defaults for ScrollBar.
893 * javax/swing/plaf/metal/MetalScrollBarUI
895 (getMinimumThumbSize): Added.
897 2005-04-27 Roman Kennke <roman@kennke.org>
899 * javax/swing/plaf/metal/MetalLookAndFeel
900 (initComponentDefaults): Added some default colors.
902 2005-04-27 Roman Kennke <roman@kennke.org>
904 * javax/swing/plaf/basic/BasicScrollBarUI.java
905 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
906 to 'ScrollBar.thumbShadow'. The formes does not exist.
907 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
909 2005-04-27 Roman Kennke <roman@kennke.org>
911 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
912 * javax/swing/BoxLayout.java: Likewise.
913 * javax/swing/UIManager.java: Likewise.
914 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
915 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
916 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
917 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
918 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
919 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
920 * javax/swing/text/Document.java: Likewise.
921 * javax/swing/text/GapContent.java: Likewise.
922 * javax/swing/text/SimpleAttributeSet.java: Likewise.
923 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
925 2005-04-27 Roman Kennke <roman@kennke.org>
927 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
928 (getPropertyPrefix): Added.
930 2005-04-27 Roman Kennke <roman@kennke.org>
932 * javax/swing/plaf/basic/BasicButtonUI.java
933 (getPropertyPrefix): Added.
934 (installDefaults): Use getPropertyPrefix instead of hard-coded
937 2005-04-27 Roman Kennke <roman@kennke.org>
939 * javax/swing/JToggleButton.java
940 (JToggleButton): Removed horizontalAlignment setting, this
941 was wrong. Added setting of an actionCommand, ToggleButtons
942 have "" as default actionCommand.
944 2005-04-27 Michael Koch <konqueror@gmx.de>
946 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
947 to work around CNI limitation.
949 2005-04-27 Sven de Marothy <sven@physto.se>
951 * java/nio/charset/Charset.java:
952 (defaultCharset()): New method.
953 Status updated to 1.5
955 2005-04-27 Sven de Marothy <sven@physto.se>
957 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
959 2005-04-27 Sven de Marothy <sven@physto.se>
961 * java/nio/charset/Charset.java: Reset cached de/encoders.
963 2005-04-27 Robert Schuster <thebohemian@gmx.net>
965 * java/nio/charset/Charset.java (forName): Throws
966 IllegalArgumentException when argument is null
967 and added documentation.
969 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
971 * java/nio/charset/Charset.java (providers):
972 New method to make an array of CharsetProviders defined in
973 META-INF/services/java.nio.charset.spi.CharsetProvider.
974 (charsetForName, availableCharsets): Use the
975 new method providers().
977 2005-04-26 Michael Koch <konqueror@gmx.de>
979 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
980 Fixed typos in javadocs.
981 (isSiteLocalAddress): Fixed handling of byte values.
982 (isMCLinkLocal): Likewise.
983 * java/net/Inet4Address.java
984 (isMulticastAddress): Call super method.
985 (isLoopbackAddress): Likewise.
986 (isAnyLocalAddress): Likewise.
987 (isLinkLocalAddress): Likewise.
988 (isSiteLocalAddress): Likewise.
989 (isMCGlobal): Likewise.
990 (isMCNodeLocal): Likewise.
991 (isMCLinkLocal): Likewise.
992 (isMCSiteLocal): Likewise.
993 (isMCOrgLocal): Likewise.
994 (getHostAddress): Likewise.
996 2005-04-26 Sven de Marothy <sven@physto.se>
998 * java/net/InetAddress.java
999 (toString): Don't print empty hostnames.
1001 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1004 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1005 'false' to native lock().
1006 (lock): Pass 'true' to native lock().
1008 2005-04-26 Michael Koch <konqueror@gmx.de>
1010 * java/net/InetAddress.java:
1011 Fixed typos in javadocs.
1013 2005-04-26 Andrew Haley <aph@redhat.com>
1016 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1019 2005-04-26 Tom Tromey <tromey@redhat.com>
1021 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1022 gnu): Now package-private.
1023 * javax/swing/text/html/parser/DocumentParser.java (parser,
1024 callBack, gnu): Now package-private.
1025 * javax/swing/text/StringContent.java (content, setOffset,
1026 checkLocation): Now package-private.
1027 * javax/swing/text/JTextComponent.java (doc): Now
1029 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1030 lastGoodOrientation, origParent, borders, cachedBounds,
1031 cachedOrientation, DragWindow): Now package-private.
1032 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1033 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1034 tabAreaRect, contentRect, createIncreaseButton,
1035 createDecreaseButton, findPointForIndex): Now package-private.
1036 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1037 (currentDividerLocation, moveDividerTo): Now package-private.
1038 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1040 * javax/swing/plaf/basic/BasicScrollBarUI.java
1041 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1042 Now package-private.
1043 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1044 (topWindowListener): Now package-private.
1045 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1046 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1047 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1049 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1051 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1052 Now package-private.
1053 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1055 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1056 borderInsets): Now package-private.
1057 (arrowButtonWidth): Likewise. Now a constant.
1058 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1059 makeTabs, updatePreviewPanel): Now package-private.
1060 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1061 darkShadow, highlight): Now package-private.
1062 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1063 (addColorToQueue): Now package-private.
1064 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1065 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1066 GSpinner, BSpinner): Now package-private.
1067 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1068 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1069 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1070 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1071 updateTrack): Now package-private.
1072 * javax/swing/TransferHandler.java (clipboard): Now
1074 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1076 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1078 * javax/swing/RepaintManager.java (globalManager): Now
1080 * javax/swing/JFormattedTextField.java (editValid): Now
1082 * javax/swing/JColorChooser.java (makeModal): Now
1084 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1085 index, path): Now package-private.
1086 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1087 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1088 pointEquals): Now package-private.
1089 * java/awt/geom/Arc2D.java (type): Now package-private.
1090 * java/awt/Window.java (windowFocusOwner): Now package-private.
1091 * java/awt/TextComponent.java (editable, selectionStart,
1092 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1094 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1096 * java/awt/MenuComponent.java (focusListener): Now
1098 * java/awt/Frame.java (state): Now package-private.
1099 * java/awt/Choice.java (pItems): Now package-private.
1100 * java/awt/Checkbox.java (state): Now package-private.
1101 * java/awt/Button.java (actionCommand, label): Now
1103 * gnu/javax/swing/text/html/parser/support/Parser.java
1104 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1106 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1108 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1109 clip, transform, font, comp): Now package-private.
1111 2005-04-26 Tom Tromey <tromey@redhat.com>
1113 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1116 2005-04-26 Mark Wielaard <mark@klomp.org>
1118 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1119 to MalformedURLException.
1121 2005-04-26 Michael Koch <konqueror@gmx.de>
1123 * java/security/AccessControlContext.java:
1125 (protectedDomains): Renamed from 'protectionDomain'.
1126 * java/security/AccessController.java:
1129 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1131 * gnu/java/security/action/GetSecurityPropertyAction.java
1132 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1133 of extending GetPropertyAction.
1136 (setParamters): New methods.
1137 (GetSecurityPropertyAction): Use new setParameters methods.
1139 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1141 * java/security/Security.java,
1142 java/security/cert/X509CRLSelector.java,
1143 java/security/cert/X509CertSelector.java:
1144 Modified to use SystemProperties.
1146 2005-04-26 Michael Koch <konqueror@gmx.de>
1148 * java/lang/System.java
1149 (setSecurityManager): Fixed comment.
1150 (getSecurityManager): Removed obsolete comment.
1152 2005-04-25 Tom Tromey <tromey@redhat.com>
1154 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1156 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1158 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1159 (connectSignals): Realize the window widget after connecting
1162 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1164 * java/awt/GraphicsEnvironment.java
1165 (localGraphicsEnvironment): New field.
1166 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1168 (isHeadless): Added support for java.awt.headless property.
1169 (isHeadlessInstance): Call headless().
1171 2005-04-25 Roman Kennke <roman@kennke.org>
1173 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1174 (getDisplayMode): Added. Returns the current display mode.
1175 (isFullScreenSupported): Added.
1176 * java/awt/GraphicsDevice.java
1177 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1178 This resizes and relocates the fullscreen window so that it uses
1179 the whole screen. This is not a fully accelerated fullscreen
1182 2005-04-25 Michael Koch <konqueror@gmx.de>
1184 * java/lang/Runtime.java,
1185 java/lang/SecurityManager.java,
1186 java/lang/System.java,
1187 java/lang/ThreadGroup.java:
1188 Replaced java.lang.Runtime.securityManager by
1189 java.lang.SecurityManager.current (as used in GNU classpath).
1191 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1193 * java/awt/Transparency.java
1194 (getTransparency): fixed API docs.
1196 2005-04-25 Archie Cobbs <archie@dellroad.org>
1198 * java/lang/Throwable.java: simplify initializing cause in constructor
1200 2005-04-25 Michael Koch <konqueror@gmx.de>
1202 * gnu/classpath/SystemProperties.java: New file.
1203 * gnu/classpath/natSystemProperties.cc: New file.
1204 * java/lang/Runtime.java
1205 (defaultProperties): Removed.
1207 (): Made thrown exceptions more verbose.
1208 (insertSystemProperties): Removed.
1209 * java/lang/System.java
1211 (properties): Likewise.
1212 (setSecurityManager): Reordered modifiers.
1213 (getenv): Improved javadoc.
1215 (isWordsBigEndian): Removed.
1216 * java/lang/natRuntime.cc
1217 (_Jv_SetDLLSearchPath): Likewise.
1218 (file_encoding): Likewise.
1219 (default_file_encoding): Likewise.
1220 (getpwuid_adaptor): Likewise.
1221 (insertSystemProperties): Likewise.
1222 * java/lang/natSystem.cc
1223 (isWordsBigEndian): Likewise.
1225 (ordinary_java_source_files):
1226 Added gnu/classpath/SystemProperties.java.
1227 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1228 * Makefile.in: Regenerated.
1230 2005-04-25 Roman Kennke <roman@kennke.org>
1232 * javax/swing/plaf/basic/BasicScrollBarUI.java
1233 (initDefaults): Initialize thumb*Color fields correctly.
1235 2005-04-25 Roman Kennke <roman@kennke.org>
1237 * javax/swing/text/GapContent.java:
1240 2005-04-25 Roman Kennke <roman@kennke.org>
1242 * javax/swing/plaf/metal/MetalBorders.java:
1243 Added inner class ScrollPaneBorder.
1244 * javax/swing/plaf/metal/MetalLookAndFeel.java
1245 (initComponentDefaults): Added default for "ScrollPane.border"
1246 to use the new ScrollPaneBorder.
1248 2005-04-25 Roman Kennke <roman@kennke.org>
1250 * javax/swing/text/AbstractDocument.java:
1251 Added FIXME comments. This class still has to be
1252 implemented thread-safe.
1254 2005-04-25 Roman Kennke <roman@kennke.org>
1256 * javax/swing/tree/DefaultTreeSelectionModel.java
1257 (DefaultTreeSelectionModel): Initialize listenerList here.
1259 2005-04-25 Roman Kennke <roman@kennke.org>
1261 * javax/swing/plaf/metal/MetalTextFieldUI.java
1262 (createUI): Return one instance per Component instead of a
1265 2005-04-25 Roman Kennke <roman@kennke.org>
1267 * javax/swing/text/Document.java:
1268 Added API documentation comments.
1270 2005-04-25 Roman Kennke <roman@kennke.org>
1272 * javax/swing/text/AbstractDocument.java
1273 (getDocumentProperties): Implemented.
1274 (setDocumentProperties): Implemented.
1275 (getProperty): Implemented.
1276 (putProperty): Implemented.
1278 2005-04-25 Roman Kennke <roman@kennke.org>
1280 * javax/swing/BoxLayout
1281 (preferredLayoutSize): Fixed computation so that it correctly
1282 adds the top and bottom insets of the container.
1284 2005-04-25 Roman Kennke <roman@kennke.org>
1286 * javax/swing/plaf/basic/BasicMenuItemUI.java
1287 (paintText): Make use of the 'selectionForeground' UI default
1290 2005-04-25 Roman Kennke <roman@kennke.org>
1292 * javax/swing/plaf/basic/BasicLookAndFeel.java
1293 (initSystemColorDefaults): Modified colors to match the
1294 BasicLookAndFeel in the reference implementation.
1295 (initComponentDefaults): Likewise.
1297 2005-04-25 Tom Tromey <tromey@redhat.com>
1299 * include/jni.h (_Jv_va_list): Removed.
1300 Moved configuration code...
1301 * include/jni_md.h: ... here. New file.
1302 * include/Makefile.in: Rebuilt.
1303 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1305 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1307 * java/io/FileInputStream.java (FileInputStream(File)),
1308 java/io/FileOutputStream.java (FileOutputStream(File)):
1309 Removed unnecessary File.isDirectory() check.
1311 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1313 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1314 gij if get_multilibs fails.
1316 2005-04-22 Anthony Green <green@redhat.com>
1318 * jni.cc (natrehash): Don't bother clearing memory again.
1319 * interpret.cc (do_allocate_static_fields): Ditto.
1320 * java/lang/natString.cc (rehash): Ditto.
1322 2005-04-22 Roman Kennke <roman@kennke.org>
1324 * javax/swing/plaf/basic/BasicLookAndFeel.java
1325 (initComponentDefaults): Changed Button.border to be
1326 BasicBorders.getButtonBorder as it should be.
1328 2005-04-22 Roman Kennke <roman@kennke.org>
1330 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1331 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1332 should according to a mauve testcase, instead of the preferred
1335 2005-04-22 Roman Kennke <roman@kennke.org>
1337 * javax/swing/JMenu.java
1338 (add): add(Component) now calls PopupMenu.insert(..) instead of
1339 PopupMenu.add(..). add(..) is not implemented for Component,
1340 so JComponent.add(..) is called instead, adding the component
1343 2005-04-22 Roman Kennke <roman@kennke.org>
1345 * javax/swing/plaf/basic/BasicButtonListener.java
1346 (mousePressed): replaced query to getModifiersEx with getModifiers.
1347 This method relied on faulty behaviour in getModifierEx.
1348 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1349 This method relied on faulty behaviour in getModifierEx.
1351 2005-04-22 Roman Kennke <roman@kennke.org>
1353 * javax/swing/plaf/metal/MetalLookAndFeel.java
1354 (getDefaults): Call addCustomEntriesToTable on the theme.
1356 2005-04-22 Roman Kennke <roman@kennke.org>
1358 * javax/swing/tree/DefaultTreeSelectionModel.java
1359 (constructor): Added implementation.
1360 (getRowMapper): Added implementation.
1361 (setSelectionMode): Added implementation.
1362 (getSelectionMode): Added implementation.
1363 (getSelectionPath): Added implementation.
1364 (getSelectionPaths): Added implementation.
1365 (getSelectionCount): Added implementation.
1366 (isSelectionEmpty): Added implementation.
1367 (getSelectionRows): Added implementation.
1368 (getMinSelectionRow): Added implementation.
1369 (getMaxSelectionRow): Added implementation.
1370 (getLeadSelectionRow): Added implementation.
1371 (getLeadSelectionPath): Added implementation.
1373 2005-04-22 Casey Marshall <csm@gnu.org>
1375 * gnu/java/security/der/DERValue.java
1376 (getValueAs): new method.
1377 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1378 (<init>): read both dates with 'DERValue.getValueAs', with
1379 'GENERALIZED_TIME' as the argument.
1381 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1383 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1384 be null, check for that case and don't deference it.
1386 2005-04-22 Sven de Marothy <sven@physto.se>
1388 * java/util/logging/LogManager.java: Reformatted.
1389 (readConfiguration): If a logger for a key is not found, create one.
1391 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1393 * java/rmi/Naming.java:
1394 Added class documentation.
1395 (lookup(String)): Call parseURL and getName.
1396 (bind(String,java.rmi.Remote)): Likewise.
1397 (unbind(String)): Likewise.
1398 (rebind(String, java.rmi.Remote)): Likewise.
1399 (list(String)): Call parseURL.
1400 (parseURL(String)): New method to handle parsing and defaults.
1401 (getName(java.net.URL)): New method to handle finding the service name.
1403 2005-04-21 Tom Tromey <tromey@redhat.com>
1405 * java/lang/natClass.cc (initializeClass): Link class.
1407 2005-04-21 Tom Tromey <tromey@redhat.com>
1409 * java/lang/AssertionError.java: Typo fix.
1411 2005-04-21 Tom Tromey <tromey@redhat.com>
1413 * java/lang/VMClassLoader.java (transformException): Removed.
1414 (resolveClass): No longer native. Now does nothing.
1415 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1417 2005-04-21 Anthony Green <green@redhat.com>
1420 * testsuite/libjava.special/special.exp,
1421 testsuite/libjava.special/pr21115I.java,
1422 testsuite/libjava.special/pr21115.java,
1423 testsuite/libjava.special/pr21115.out: New files.
1425 2005-04-21 Chris Burdess <dog@gnu.org>
1427 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1428 CRLF-delimited chunks.
1430 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1432 * java/net/URI.java:
1433 Added class documentation.
1434 (parseURI(String)): Only handle scheme-specific parts
1435 if URI is not opaque. Allow for parts that can't be null.
1436 (toString()): Output the scheme-specific part whole, rather
1437 than as its possibly non-existent components.
1439 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1441 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1442 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1443 Adjusted to match new regexp.
1445 2005-04-20 Michael Koch <konqueror@gmx.de>
1447 * gnu/java/net/protocol/file/Connection.java,
1448 gnu/java/net/protocol/jar/Connection.java:
1449 Reorganized import statements. Fixed @author tags.
1451 2005-04-20 Chris Burdess <dog@gnu.org>
1453 * java/io/DataOutputStream.java (writeUTF): Use block write for
1456 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1458 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1459 (readLine): Changed newline handling.
1461 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1463 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1464 ColorModel,byte[],int,int): Fixed byte to int conversion.
1466 2005-04-20 Michael Koch <konqueror@gmx.de>
1468 * java/io/FilePermission.java
1469 (serialVersionUID): Made private.
1470 (ALL_FILES): New constant.
1471 (implies): Handle '<<ALL FILES>>' case.
1473 2005-04-20 Sven de Marothy <sven@physto.se>
1475 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1476 (drawImage): Don't notify the image observer for offscreen images.
1477 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1478 (setPixels): Don't notify the image observer.
1480 2005-04-20 Sven de Marothy <sven@physto.se>
1482 * java/nio/ByteBufferImpl.java:
1483 (putChar): Inlined for speed.
1484 (put, get): Bulk methods can use arraycopy.
1485 * java/nio/CharBufferImpl.java:
1486 (put, get): Bulk methods can use arraycopy.
1488 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1490 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1492 * java/nio/CharBufferImpl.java
1493 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1494 (get(), put(char)): Inlined checks and field updates. Fixed to
1495 take array_offset into account.
1496 (get(int), put(int, char)): Fixed to take array_offset into account.
1498 2005-04-20 Sven de Marothy <sven@physto.se>
1500 * java/text/SimpleDateFormat.java:
1501 (formatWithAttribute): Pad year before truncating digits.
1503 2005-04-20 Michael Koch <konqueror@gmx.de>
1505 * gnu/java/net/PlainDatagramSocketImpl.java:
1506 Merged copyright header.
1507 * gnu/java/net/PlainSocketImpl.java:
1508 Reorganized import statements. Fixed @author tags.
1510 2005-04-20 Michael Koch <konqueror@gmx.de>
1512 * gnu/java/lang/ClassHelper.java,
1513 gnu/java/lang/reflect/TypeSignature.java:
1516 2005-04-20 Michael Koch <konqueror@gmx.de>
1518 * gnu/java/beans/IntrospectionIncubator.java:
1519 Fixed HTML tags in javadocs.
1521 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1523 * gnu/java/beans/IntrospectionIncubator.java
1524 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1525 set(), is(), add() and remove() with properties or events.
1527 2005-04-20 Michael Koch <konqueror@gmx.de>
1529 * gnu/java/awt/image/XBMDecoder.java:
1530 Fixed modifier order.
1532 2005-04-20 Roman Kennke <roman@kennke.org>
1534 * javax/swing/plaf/basic/BasicButtonUI.java
1535 (paint): This should not care about margin and insets
1536 at the same time, as insets already include the margin
1538 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1539 (getPreferredButtonSize): Likewise.
1540 * javax/swing/plaf/metal/MetalBorders.java
1541 (getBorderInsets): Likewise.
1543 2005-04-20 Roman Kennke <roman@kennke.org>
1545 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1546 (createMessageArea): The JPanel that holds the message area
1547 doesn't need to override getPreferredSize. This prevents some
1548 message components from rendering nicely.
1550 2005-04-20 Roman Kennke <roman@kennke.org>
1552 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1553 (createUI): Do not share instances between components.
1554 * javax/swing/plaf/metal/MetalSliderUI.java
1555 (createUI): Do not share instances between components.
1557 2005-04-20 Roman Kennke <roman@kennke.org>
1559 * javax/swing/plaf/metal/MetalBorders:
1560 (PopupMenuBorder): Added.
1561 * javax/swing/plaf/metal/MetalLookAndFeel
1562 (initComponentDefaults): Added PopupMenuBorder.
1564 2005-04-20 Roman Kennke <roman@kennke.org>
1566 * javax/swing/tree/DefaultTreeSelectionModel.java:
1567 Added API documentation all over the class.
1569 2005-04-20 Roman Kennke <roman@kennke.org>
1571 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1572 (installDefaults): Link managed JScrollPane in instance field.
1573 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1575 2005-04-20 Roman Kennke <roman@kennke.org>
1577 * javax/swing/plaf/basic/BasicScrollBarUI.java
1578 (PropertyChangeHandler.propertyChange): Add default
1579 to switch statement to avoid errors with unusual values
1581 (installComponents): Likewise.
1583 2005-04-20 Roman Kennke <roman@kennke.org>
1585 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1586 (createUI): Instances cannot be shared among JScrollPanes.
1588 2005-04-20 Roman Kennke <roman@kennke.org>
1590 * javax/swing/plaf/metal/MetalLookAndFeel.java
1591 (initComponentDefaults): Added defaults for Menu, MenuBar
1594 2005-04-20 Roman Kennke <roman@kennke.org>
1596 * javax/swing/plaf/basic/BasicScrollBarUI.java
1597 (installUI): Install listeners after everything all, otherwise
1598 we get strange NPEs in some situations, especially with
1600 (createIncreaseButton): Orientation is expected to be
1601 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1602 HORIZONTAL or VERTICAL.
1603 (createDecreaseButton): Orientation is expected to be
1604 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1605 HORIZONTAL or VERTICAL.
1606 (installComponents): Orientation for buttons is expected to be
1607 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1608 HORIZONTAL or VERTICAL.
1610 2005-04-20 Roman Kennke <roman@kennke.org>
1612 * javax/swing/JToolBar.java
1613 (addImpl): Adjust added AbstractButtons to look and feel like
1615 * javax/swing/plaf/metal/MetalBorders.java:
1616 Adjusted insets of ButtonBorder.
1617 (RolloverMarginBorder): Added class for toolbar buttons.
1618 (getButtonBorder): Adjusted factory method to return a shared
1619 instance of button border.
1620 (getToolbarButtonBorder): Added factory method to return a shared
1621 instance of toolbar button border.
1622 (getMarginBorder): Added factory method to return a shared
1623 instance of margin border.
1624 * javax/swing/plaf/metal/MetalButtonUI.java
1625 (installDefauls): If button is child of a JToolBar then set
1626 special border on this button.
1628 2005-04-20 Michael Koch <konqueror@gmx.de>
1630 * java/net/URLConnection.java
1631 (getContent): Fixed javadoc comment.
1633 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1635 * java/net/URL.java:
1636 (toURI()): Implemented.
1638 2005-04-19 Michael Koch <konqueror@gmx.de>
1640 * java/net/InetAddress.java
1641 (InetAddress): Fixed javadoc comment.
1643 (lookup): Added javadoc.
1644 (getFamily): Likewise.
1645 * java/net/ServerSocket.java
1646 (getChannel): Improved javadoc comment.
1648 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1650 * gnu/xml/dom/html2/DomHTMLParser.java:
1651 Changed 'enum' references to become 'enumeration'.
1653 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1655 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1657 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1659 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1660 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1661 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1662 (validateParameters(TagElement,htmlAttributeSet)):
1663 Replaced 'enum' with 'enumeration'.
1664 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1667 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1669 * javax/swing/text/html/parser/Entity.java (getType): New method.
1670 * javax/swing/text/html/parser/DocumentParser.java:
1671 Inherit from javax.swing.text.html.parser.Parser.
1673 2005-04-19 Chris Burdess <dog@gnu.org>
1675 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1676 check for HTML/XHTML namespace.
1678 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1680 * javax/swing/text/html/parser/Parser.java,
1681 javax/swing/text/html/parser/Entity.java:
1682 Inheriting from DTDConstants.
1683 * javax/swing/text/html/parser/AttributeList.java
1684 (getValues): Changed return type.
1685 * javax/swing/text/html/parser/DocumentParser
1686 (parse): Adding the callback parameter that receives
1689 2005-04-19 Chris Burdess <dog@gnu.org>
1691 * gnu/xml/dom/DomImpl.java,
1692 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1693 gnu/xml/dom/html2/DomHTMLDocument.java,
1694 gnu/xml/dom/html2/DomHTMLElement.java,
1695 gnu/xml/dom/html2/DomHTMLFormElement.java,
1696 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1697 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1698 gnu/xml/dom/html2/DomHTMLImpl.java,
1699 gnu/xml/dom/html2/DomHTMLInputElement.java,
1700 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1701 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1702 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1703 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1704 gnu/xml/dom/html2/DomHTMLTableElement.java,
1705 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1706 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1707 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1708 UI events, and tree utility functions.
1710 2005-04-19 Michael Koch <konqueror@gmx.de>
1712 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1713 gnu/javax/swing/text/html/parser/gnuDTD.java,
1714 gnu/javax/swing/text/html/parser/models/node.java:
1715 Reworked import statements.
1717 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1719 * javax/swing/text/html/HTMLDocument.java: New file.
1721 2005-04-19 Michael Koch <konqueror@gmx.de>
1723 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1725 * javax/swing/text/html/parser/AttributeList.java:
1726 Fixed order of modifiers.
1727 (AttributeList): Made final.
1728 * javax/swing/text/html/parser/ContentModel.java:
1729 Fixed html characters in javadocs.
1730 * javax/swing/text/html/parser/DTD.java
1731 (DTD): Don't implement java.io.Serializable directly.
1732 (getElement): Simplified.
1733 * javax/swing/text/html/parser/DTDConstants.java:
1735 * javax/swing/text/html/parser/Element.java:
1736 Fixed order of modifiers.
1737 * javax/swing/text/html/parser/Parser.java:
1738 Reformatted. Don't use fully-qualified class names.
1739 * javax/swing/text/html/parser/ParserDelegator.java:
1740 Fixed order of modifiers.
1741 * javax/swing/text/rtf/RTFParser.java:
1742 Re-ordered import statements.
1743 * javax/swing/text/rtf/RTFScanner.java:
1744 Removed unused import statement.
1746 2005-04-19 Chris Burdess <dog@gnu.org>
1748 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1749 gnu/xml/dom/html2/DomHTMLCollection.java,
1750 gnu/xml/dom/html2/DomHTMLDocument.java,
1751 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1753 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1754 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1755 gnu/xml/dom/html2/DomHTMLDivElement.java,
1756 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1757 gnu/xml/dom/html2/DomHTMLFontElement.java,
1758 gnu/xml/dom/html2/DomHTMLFormElement.java,
1759 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1760 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1761 gnu/xml/dom/html2/DomHTMLHRElement.java,
1762 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1763 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1764 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1765 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1766 gnu/xml/dom/html2/DomHTMLImageElement.java,
1767 gnu/xml/dom/html2/DomHTMLInputElement.java,
1768 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1769 gnu/xml/dom/html2/DomHTMLLIElement.java,
1770 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1771 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1772 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1773 gnu/xml/dom/html2/DomHTMLMapElement.java,
1774 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1775 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1776 gnu/xml/dom/html2/DomHTMLModElement.java,
1777 gnu/xml/dom/html2/DomHTMLOListElement.java,
1778 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1779 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1780 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1781 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1782 gnu/xml/dom/html2/DomHTMLParamElement.java,
1783 gnu/xml/dom/html2/DomHTMLPreElement.java,
1784 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1785 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1786 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1787 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1788 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1789 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1790 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1791 gnu/xml/dom/html2/DomHTMLTableElement.java,
1792 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1793 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1794 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1795 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1796 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1798 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1800 * javax/swing/text/ChangedCharSetException.java,
1801 javax/swing/text/html/HTMLEditorKit.java,
1802 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1803 javax/swing/text/html/parser/AttributeList.java,
1804 javax/swing/text/html/parser/ContentModel.java,
1805 javax/swing/text/html/parser/DocumentParser.java,
1806 javax/swing/text/html/parser/DTD.java,
1807 javax/swing/text/html/parser/DTDConstants.java,
1808 javax/swing/text/html/parser/Element.java,
1809 javax/swing/text/html/parser/Entity.java,
1810 javax/swing/text/html/parser/Parser.java,
1811 javax/swing/text/html/parser/TagElement.java,
1812 gnu/javax/swing/text/html/package.html,
1813 gnu/javax/swing/text/html/parser/gnuDTD.java,
1814 gnu/javax/swing/text/html/parser/HTML_401F.java,
1815 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1816 gnu/javax/swing/text/html/parser/htmlValidator.java,
1817 gnu/javax/swing/text/html/parser/package.html,
1818 gnu/javax/swing/text/html/parser/models/list.java,
1819 gnu/javax/swing/text/html/parser/models/node.java,
1820 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1821 gnu/javax/swing/text/html/parser/models/package.html,
1822 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1823 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1824 gnu/javax/swing/text/html/parser/models/transformer.java,
1825 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1826 gnu/javax/swing/text/html/parser/support/package.html,
1827 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1828 gnu/javax/swing/text/html/parser/support/Parser.java,
1829 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1830 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1831 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1832 gnu/javax/swing/text/html/parser/support/low/Location.java,
1833 gnu/javax/swing/text/html/parser/support/low/node.java,
1834 gnu/javax/swing/text/html/parser/support/low/package.html,
1835 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1836 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1837 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1838 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1840 * javax/swing/text/html/HTML.java,
1841 javax/swing/text/html/parser/ParserDelegator.java:
1842 New files (replacing).
1843 * javax/swing/text/html/package.html,
1844 javax/swing/text/html/parser/package.html: Documenting the
1847 2005-04-19 Chris Burdess <dog@gnu.org>
1849 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1850 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1851 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1852 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1853 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1854 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1855 gnu/xml/dom/html2/DomHTMLBRElement.java,
1856 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1857 gnu/xml/dom/html2/DomHTMLCollection.java,
1858 gnu/xml/dom/html2/DomHTMLDocument.java,
1859 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1861 2005-04-19 Michael Koch <konqueror@gmx.de>
1863 * Makefile.am: Added new files.
1864 * Makefile.in: Regenerated.
1866 2005-04-19 Roman Kennke <roman@kennke.org>
1868 * javax/swing/text/JTextComponent.java
1869 (JTextComponent): Added repaintListener which issues repaint
1870 requests when the underlying document changes.
1871 (setDocument): Adds repaintListener to document when the
1872 document is changed.
1873 * javax/swing/text/DefaultEditorKit.java:
1874 Removed repaint calls on JTextComponent. This is now handled
1875 through a DocumentListener in JTextComponent that repaints
1876 the component when needed.
1878 2005-04-19 Roman Kennke <roman@kennke.org>
1881 * javax/swing/text/StyleContext.java
1882 (NamedStyle.setResolveParent): Added null
1885 2005-04-19 Michael Koch <konqueror@gmx.de>
1887 * java/rmi/server/RemoteObject.java:
1888 Removed unused import statement.
1890 2005-04-19 Michael Koch <konqueror@gmx.de>
1892 * java/net/URL.java: Formatting cleanups.
1894 2005-04-19 Michael Koch <konqueror@gmx.de>
1896 * java/awt/FontMetrics.java: Reformatted.
1897 (getFontRenderContext): Handle case when java.awt.Graphics context is
1900 2005-04-19 Michael Koch <konqueror@gmx.de>
1902 * java/awt/FontMetrics.java
1903 (getStringBounds): New methods.
1906 2005-04-19 Michael Koch <konqueror@gmx.de>
1908 * gnu/java/security/x509/X509Certificate.java
1909 (parse): Handle val == null case.
1911 2005-04-19 Roman Kennke <roman@kennke.org>
1913 * javax/swing/plaf/metal/MetalLookAndFeel.java
1914 (initComponentDefaults): Added defaults for Menu, MenuBar
1917 2005-04-19 Roman Kennke <roman@kennke.org>
1919 * javax/swing/plaf/metal/MetalLookAndFeel.java
1920 (initComponentDefaults): Added Label.font.
1921 (initSystemColorDefaults): Added this method and adjusted the
1922 general control color.
1924 2005-04-19 Roman Kennke <roman@kennke.org>
1926 * javax/swing/plaf/metal/MetalBorders.java:
1928 * javax/swing/plaf/metal/MetalButtonUI.java:
1929 (installDefaults): Install button font.
1930 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1931 (initComponentDefaults): Added button border, font and margin.
1932 Changed components background color to the Metal current themes
1935 2005-04-19 Roman Kennke <roman@kennke.org>
1937 * javax/swing/plaf/metal/MetalLookAndFeel.java
1938 (initComponentDefaults): Added to set Metal specific component
1941 2005-04-19 Mark Wielaard <mark@klomp.org>
1943 * javax/swing/plaf/metal/MetalLookAndFeel.java
1944 (initClassDefaults): Call super.initClassDefaults().
1946 2005-04-19 Roman Kennke <roman@kennke.org>
1948 * javax/swing/plaf/metal/MetalLookAndFeel.java
1949 (initClassDefaults): Added to include the *UI classes.
1951 2005-04-19 Roman Kennke <roman@kennke.org>
1953 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1955 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1957 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1959 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1961 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1963 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1965 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1967 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1969 * javax/swing/plaf/metal/MetalSliderUI.java:
1971 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1973 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1975 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1977 2005-04-19 Roman Kennke <roman@kennke.org>
1979 * javax/swing/plaf/metal/MetalButtonUI.java:
1980 Added skeleton class.
1981 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1982 Added skeleton class.
1983 * javax/swing/plaf/metal/MetalLabelUI.java:
1984 Added skeleton class.
1985 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1986 Added skeleton class.
1987 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1988 Added skeleton class.
1989 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1990 Added skeleton class.
1992 2005-04-19 Roman Kennke <roman@kennke.org>
1994 * javax/swing/UIDefaults.java:
1995 Added API documentation for all methods.
1997 2005-04-19 Roman Kennke <roman@kennke.org>
1999 * javax/swing/UIDefaults.java
2000 (put): Now uses new checkAndPut method instead of checking
2002 (putDefaults): Fixed so that it accepts null-values and
2003 treats them like remove(key).
2004 (checkAndPut): Added. This checks for null-values and calls
2007 2005-04-19 Michael Koch <konqueror@gmx.de>
2009 * Makefile.am: Added new files.
2010 * Makefile.in: Regenerated.
2012 2005-04-19 Mark Wielaard <mark@klomp.org>
2014 * java/lang/natRuntime.cc (insertSystemProperties): Set
2015 java.class.path to CLASSPATH only when not empty. Fall back to
2016 default path "." when java.class.path is empty.
2018 2005-04-19 Michael Koch <konqueror@gmx.de>
2020 * javax/swing/text/rtf/ControlWordToken.java,
2021 javax/swing/text/rtf/RTFEditorKit.java,
2022 javax/swing/text/rtf/RTFParseException.java,
2023 javax/swing/text/rtf/RTFParser.java,
2024 javax/swing/text/rtf/RTFScanner.java,
2025 javax/swing/text/rtf/TextToken.java,
2026 javax/swing/text/rtf/Token.java: New files.
2027 * Makefile.am: Added new files.
2028 * Makefile.in: Regenerated.
2030 2005-04-19 Michael Koch <konqueror@gmx.de>
2032 * java/awt/geom/QuadCurve2D.java:
2033 Fixed Brian Gough's name for real.
2035 2005-04-19 Roman Kennke <roman@kennke.org>
2037 * javax/swing/UIManager.java:
2038 Make the UIManager respect the swing.defaultlaf system
2041 2005-04-19 Tom Tromey <tromey@redhat.com>
2043 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2046 2005-04-19 Roman Kennke <roman@kennke.org>
2048 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2049 Fixed tabs to spaces.
2051 2005-04-19 Roman Kennke <roman@kennke.org>
2053 * javax/swing/plaf/basic/BasicMenuUI.java
2054 (getMaximumSize): Now returns preferredSize because JMenu should
2055 never be bigger than that.
2056 * javax/swing/JRootPane
2057 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2059 2005-04-19 Roman Kennke <roman@kennke.org>
2061 * javax/swing/JRootPane.java:
2062 Fixed various tabs to be spaces.
2063 (RootLayout.layoutContainer): Made menubar left aligned.
2065 2005-04-19 Roman Kennke <roman@ontographics.com>
2067 * javax/swing/JList.java
2068 (getPreferredScrollableViewportSize):
2069 The previous implementation was merely guessing the size,
2070 now it respects layoutOrientation, visibleRowCount
2072 (getScrollableTracksViewportHeight):
2073 Reimplemented so that layoutOrientation, visibleRowCount
2074 and preferred size are respected.
2075 (getScrollableTracksViewportWidth):
2076 Reimplemented so that layoutOrientation, visibleRowCount
2077 and preferred size are respected.
2078 * javax/swing/plaf/basic/BasicListUI.java
2080 Improved calculation of preferredSize when JList is
2081 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2083 The previous implementation assumed a layoutOrientation of
2084 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2085 JList.VERTICAL_WRAP.
2087 2005-04-19 Roman Kennke <roman@ontographics.com>
2089 * javax/swing/plaf/basic/BasicListUI.java
2090 (paintCell): use CellRendererPane for painting the cells.
2092 2005-04-19 Roman Kennke <roman@ontographics.com>
2094 * javax/swing/plaf/basic/BasicListUI:
2095 fixed modifiers of several fields, methods and inner
2096 classes to match the 'spec'.
2097 (getMaximumSize): removed. It's not in the spec and the
2098 implementations was superfluous.
2100 2005-04-19 Roman Kennke <roman@ontographics.com>
2102 * javax/swing/plaf/basic/BasicListUI:
2103 make BasicListUI capable of wrapping lists
2104 (layoutOrientation property of javax.swing.JList)
2106 2005-04-19 Roman Kennke <roman@ontographics.com>
2108 * javax/swing/plaf/basic/BasicListUI
2109 (updateLayoutState,paint): make BasicListUI aware of the
2110 width of the rendered JList.
2112 2005-04-19 Roman Kennke <roman@kennke.org>
2114 * javax/swing/ImageIcon.java
2115 Added API documentation.
2117 2005-04-19 Roman Kennke <roman@kennke.org>
2119 * javax/swing/text/ImageIcon.java
2120 (ImageIcon): Use setImage instead of direct assignment.
2121 (setImage): Call loadImage to make sure that the image is loaded.
2122 (loadImage): Waits for the image to complete loading.
2123 (getImageLoadStatus): Added. Returns the load status of the
2126 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2128 * javax/swing/JTextArea.java (replaceRange):
2129 Fixing doc.remove(start, length) misinterpretation.
2131 2005-04-19 Roman Kennke <roman@ontographics.com>
2133 * javax/swing/CellRendererPane.java:
2134 implemented all methods of this class.
2135 reformatted all wrong formatted code.
2137 2005-04-19 Roman Kennke <roman@kennke.org>
2139 * javax/swing/BoxLayout.java:
2140 (layoutContainer): Made this layout manager respect the
2141 minimum, maximum and preferred size more correctly.
2143 2005-04-19 Roman Kennke <roman@ontographics.com>
2145 * javax/swing/BoxLayout.java:
2146 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2147 layoutContainer): Make these methods and thereby the
2148 BoxLayout respect the insets (like borders) of the
2149 component that is laid out.
2151 2005-04-19 Roman Kennke <roman@kennke.org>
2153 * javax/swing/JComponent.java:
2154 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2155 Untabified the file.
2157 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2159 * javax/swing/JComboBox.java (constructors): selecting the
2160 first item if the box was constructed from the provided
2161 non - empty array or vector.
2163 2005-04-19 Michael Koch <konqueror@gmx.de>
2165 * gnu/java/awt/peer/gtk/GdkGraphics.java
2166 (getClipBounds): Handle clip being null.
2167 (setClip): Likewise.
2168 * java/beans/beancontext/BeanContextSupport.java
2172 (removeAll): Likewise.
2173 (retainAll): Likewise.
2175 2005-04-19 Michael Koch <konqueror@gmx.de>
2177 * java/beans/beancontext/BeanContextServicesSupport.java
2178 (BeanContextServicesSupport): Reimplemented.
2179 (addBeanContextServicesListener): Implemented.
2180 (initialize): Likewise.
2181 (removeBeanContextServicesListener): Likewise.
2182 * java/beans/beancontext/BeanContextSupport.java
2184 (addBeanContextMembershipListener): Likewise.
2185 (getLocale): Likewise.
2186 (initialize): Likewise.
2187 (iterator): Likewise.
2189 (toArray): Likewise.
2191 2005-04-19 Roman Kennke <roman@kennke.org>
2193 * java/awt/MediaTracker.java:
2194 Reindented tabs to spaces.
2196 2005-04-19 Roman Kennke <roman@kennke.org>
2198 * java/awt/MediaTracker.java
2199 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2200 confused the media tracker and lead to lockups. The LOADING
2201 bit is handled on other places.
2202 (addImage): Removed the 'start image tracking' stuff. This
2203 is not necessary and could confuse the media tracker.
2204 (checkAll): Improved the check for image status so that
2205 images that already complete images are detected. Also now
2206 are really all images checked and if necessary loaded. Before
2207 the method bailed out after the first incomplete image.
2208 (statusAll): Detect images that are complete after the
2209 call to Component.prepareImage(..).
2210 (checkID): The same as in checkAll.
2211 (statusID): The same as in statusAll.
2213 2005-04-19 Roman Kennke <roman@kennke.org>
2215 * java/awt/MediaTracker.java
2216 (addImage): Synchronized list access.
2217 (waitForAll): Fixed comparison of time (changed < to >).
2218 (waitForID): Fixed comparison of time (changed < to >).
2219 (removeImage): Synchronized list access.
2221 2005-04-19 Roman Kennke <roman@kennke.org>
2223 * java/awt/MediaTracker.java
2224 Added API documentation.
2226 2005-04-19 Roman Kennke <roman@kennke.org>
2228 * java/awt/MediaTracker.java
2229 (MediaEntry.imageUpdate): Fixed flags. The different flags
2230 must not be ORed together.
2231 (checkAll): Modified to handle different meaning of the flags.
2232 (waitForAll): Fixed so that it waits maximum the
2233 specified amount of milliseconds.
2234 (statusAll): Modified to handle different meaning of the flags.
2235 (waitForID): Fixed so that it waits maximum the
2236 specified amount of milliseconds.
2238 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2240 * java/awt/Font.java (decode): Handle null argument and allow
2243 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2245 * java/beans/EventHandler.java: Reworked documentation.
2246 (invoke): Fixed behavior to match spec.
2248 2005-04-19 Michael Koch <konqueror@gmx.de>
2250 * java/awt/print/PrinterJob.java
2251 (pageDialog): New method.
2252 (printDialog): Implemented.
2254 2005-04-19 Michael Koch <konqueror@gmx.de>
2256 * java/awt/image/ConvolveOp.java:
2257 Removed comment added by eclipse.
2259 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2261 * java/awt/image/IndexColorModel.java
2262 (getRGB): Check if pixel is negative.
2264 2005-04-19 Michael Koch <konqueror@gmx.de>
2266 * java/awt/image/RasterOp.java:
2267 Fixed wrong formatting.
2269 2005-04-18 Roman Kennke <roman@kennke.org>
2271 * java/awt/Compmonent.java
2272 (setComponentOrientation): Made this property firing a
2273 PropertyChangeEvent.
2275 2005-04-18 Roman Kennke <roman@kennke.org>
2277 * java/awt/BorderLayout.java
2278 (calcSize): Check for overflow when component sizes are added.
2280 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2282 * java/awt/AWTEvent.java (toString): Added case
2283 for source not being an AWT component.
2285 2005-04-18 Chris Burdess <dog@gnu.org>
2287 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2289 2005-04-18 Michael Koch <konqueror@gmx.de>
2291 gnu/java/awt/EmbeddedWindowSupport.java,
2292 gnu/java/net/HeaderFieldHelper.java,
2293 gnu/java/net/URLParseError.java,
2294 gnu/java/net/protocol/file/Handler.java,
2295 gnu/java/net/protocol/jar/Handler.java:
2296 Fixed usage of @author tag.
2298 2005-04-18 Michael Koch <konqueror@gmx.de>
2300 * gnu/xml/aelfred2/XmlParser.java:
2301 Reverted my typo fix.
2303 2005-04-18 Michael Koch <konqueror@gmx.de>
2305 * java/awt/geom/CubicCurve2D.java,
2306 java/awt/geom/QuadCurve2D.java:
2307 Fixed mentioning of Brian Gouph.
2309 2005-04-18 Michael Koch <konqueror@gmx.de>
2311 * gnu/java/awt/Buffers.java,
2312 gnu/java/awt/image/ImageDecoder.java,
2313 gnu/java/awt/image/XBMDecoder.java,
2314 gnu/java/awt/peer/ClasspathFontPeer.java,
2315 gnu/java/net/CRLFInputStream.java,
2316 gnu/java/net/EmptyX509TrustManager.java,
2317 gnu/java/net/LineInputStream.java,
2318 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2319 gnu/java/net/protocol/ftp/BlockInputStream.java,
2320 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2321 gnu/java/net/protocol/ftp/DTP.java,
2322 gnu/java/net/protocol/ftp/DTPInputStream.java,
2323 gnu/java/net/protocol/ftp/FTPConnection.java,
2324 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2325 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2326 gnu/java/net/protocol/ftp/StreamInputStream.java,
2327 gnu/java/net/protocol/http/ChunkedInputStream.java,
2328 gnu/java/net/protocol/http/HTTPConnection.java,
2329 gnu/java/net/protocol/http/HTTPURLConnection.java,
2330 gnu/java/net/protocol/http/Headers.java,
2331 gnu/java/net/protocol/http/Request.java,
2332 gnu/java/nio/ChannelInputStream.java,
2333 gnu/java/nio/ChannelOutputStream.java,
2334 gnu/java/nio/InputStreamChannel.java,
2335 gnu/java/nio/OutputStreamChannel.java,
2336 gnu/java/nio/SelectorProviderImpl.java,
2337 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2338 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2339 gnu/java/rmi/dgc/DGCImpl.java,
2340 gnu/java/rmi/registry/RegistryImpl.java,
2341 gnu/java/rmi/server/ProtocolConstants.java,
2342 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2343 gnu/java/rmi/server/RMIIncomingThread.java,
2344 gnu/java/rmi/server/RMIObjectInputStream.java,
2345 gnu/java/rmi/server/RMIObjectOutputStream.java,
2346 gnu/java/rmi/server/RMIVoidValue.java,
2347 gnu/java/rmi/server/UnicastConnectionManager.java,
2348 gnu/java/rmi/server/UnicastRef.java,
2349 gnu/java/rmi/server/UnicastRemoteCall.java,
2350 gnu/java/rmi/server/UnicastRemoteStub.java,
2351 gnu/java/rmi/server/UnicastServerRef.java,
2352 gnu/java/security/OID.java,
2353 gnu/java/security/der/DERReader.java,
2354 gnu/java/security/provider/CollectionCertStoreImpl.java,
2355 gnu/java/security/provider/DSAParameterGenerator.java,
2356 gnu/java/security/provider/DefaultPolicy.java,
2357 gnu/java/security/provider/EncodedKeyFactory.java,
2358 gnu/java/security/provider/GnuDHPublicKey.java,
2359 gnu/java/security/provider/GnuDSAPrivateKey.java,
2360 gnu/java/security/provider/GnuDSAPublicKey.java,
2361 gnu/java/security/provider/GnuRSAPrivateKey.java,
2362 gnu/java/security/provider/GnuRSAPublicKey.java,
2363 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2364 gnu/java/security/provider/RSA.java,
2365 gnu/java/security/provider/SHA1PRNG.java,
2366 gnu/java/security/provider/SHA1withRSA.java,
2367 gnu/java/security/provider/X509CertificateFactory.java,
2368 gnu/java/security/x509/GnuPKIExtension.java,
2369 gnu/java/security/x509/X500DistinguishedName.java,
2370 gnu/java/security/x509/X509CRL.java,
2371 gnu/java/security/x509/X509CRLEntry.java,
2372 gnu/java/security/x509/X509CertPath.java,
2373 gnu/java/security/x509/X509CertSelectorImpl.java,
2374 gnu/java/security/x509/X509Certificate.java,
2375 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2376 gnu/java/security/x509/ext/BasicConstraints.java,
2377 gnu/java/security/x509/ext/CRLNumber.java,
2378 gnu/java/security/x509/ext/CertificatePolicies.java,
2379 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2380 gnu/java/security/x509/ext/Extension.java,
2381 gnu/java/security/x509/ext/GeneralNames.java,
2382 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2383 gnu/java/security/x509/ext/KeyUsage.java,
2384 gnu/java/security/x509/ext/PolicyConstraint.java,
2385 gnu/java/security/x509/ext/PolicyMappings.java,
2386 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2387 gnu/java/security/x509/ext/ReasonCode.java,
2388 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2389 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2390 Reorganized import statements.
2392 2005-04-18 Michael Koch <konqueror@gmx.de>
2394 * gnu/java/awt/color/CieXyzConverter.java,
2395 gnu/java/awt/color/ClutProfileConverter.java,
2396 gnu/java/awt/color/ColorLookUpTable.java,
2397 gnu/java/awt/color/ColorSpaceConverter.java,
2398 gnu/java/awt/color/GrayProfileConverter.java,
2399 gnu/java/awt/color/GrayScaleConverter.java,
2400 gnu/java/awt/color/LinearRGBConverter.java,
2401 gnu/java/awt/color/ProfileHeader.java,
2402 gnu/java/awt/color/PyccConverter.java,
2403 gnu/java/awt/color/RgbProfileConverter.java,
2404 gnu/java/awt/color/SrgbConverter.java,
2405 gnu/java/awt/color/TagEntry.java,
2406 gnu/java/awt/color/ToneReproductionCurve.java:
2407 Standardized file headers.
2409 2005-04-16 Tom Tromey <tromey@redhat.com>
2411 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2412 'ANY' package-private.
2414 2005-04-15 Tom Tromey <tromey@redhat.com>
2416 * Makefile.in: Rebuilt.
2417 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2418 (libgcj0_convenience_la_LIBADD): ... here.
2420 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2422 * gij.cc (version): Properly quote java version.
2423 (main): Fix typo in comment.
2425 2005-04-13 Mark Wielaard <mark@klomp.org>
2427 * java/lang/natRuntime.cc (insertSystemProperties): Set
2428 java.class.path to CLASSPATH if not already set.
2430 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2432 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2434 2005-04-12 Mike Stump <mrs@apple.com>
2436 * configure: Regenerate.
2438 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2441 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2442 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2444 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2447 * scripts/TexinfoDoclet.java: Removed.
2448 * Makefile.am (texinfo): Removed.
2449 * Makefile.in: Regenerated.
2451 2005-04-11 Michael Koch <konqueror@gmx.de>
2453 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2454 Fixed wrong casting.
2456 2005-04-06 Andrew Haley <aph@redhat.com>
2458 * testsuite/libjava.lang/bytearray.java: New file.
2459 * testsuite/libjava.lang/bytearray.out: New file.
2460 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2461 (loadClass): Use it.
2462 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2464 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2466 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2467 gcj-dbtool dependency
2468 * Makefile.in: Regenerated
2470 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2472 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2473 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2475 2005-04-05 Andrew Haley <aph@redhat.com>
2477 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2478 (Tokenizer): New class.
2479 (getFiles): New method.
2480 (main): Add "-" argument.
2482 Read list of files from stdin when merging map databases.
2483 (usage): Add "-" argument.
2487 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2490 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2491 * Makefile.in: Regenerate.
2492 * configure.ac: Add --with-java-home option.
2493 * configure: Regenerate.
2494 * external/Makefile.in: Regenerate.
2495 * external/sax/Makefile.in: Regenerate.
2496 * external/w3c_dom/Makefile.in: Regenerate.
2497 * gcj/Makefile.in: Regenerate.
2498 * include/Makefile.in: Regenerate.
2499 * testsuite/Makefile.in: Regenerate.
2500 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2503 2005-04-05 Tom Tromey <tromey@redhat.com>
2505 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2506 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2507 Rewrote to use _Jv_FindClassFromSignature.
2508 * verify.cc (resolve): throw NoClassDefFoundError.
2509 * link.cc (resolve_field): Throw NoClassDefFoundError.
2510 (find_field): Likewise.
2511 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2512 Handle error cases. Added 'endp' argument.
2513 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2515 2005-04-05 Tom Tromey <tromey@redhat.com>
2517 * Makefile.in: Rebuilt.
2518 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2519 gtk_awt_peer_sources.
2520 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2521 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2522 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2523 (gtk-awt-peer.lo): New target.
2525 2005-04-04 Steve Pribyl <steve@netfuel.com>
2528 * configure.ac: Fix fastjar definition for cross builds.
2529 * configure: Rebuilt.
2531 2005-04-04 Tom Tromey <tromey@redhat.com>
2533 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2534 it was already found.
2536 2005-04-04 Tom Tromey <tromey@redhat.com>
2538 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2539 org.metastatic.jessie.
2541 2005-04-02 Anthony Green <green@redhat.com>
2544 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2546 2005-04-02 Mark Wielaard <mark@klomp.org>
2548 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2549 Attributes and attribute order doesn't matter.
2550 (BasicAttributesEnumeration.where): Initialize to zero.
2551 (BasicAttributesEnumeration.nextElement): Update and compare where
2552 appropriately (zero based).
2554 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2556 PR libgcj/20090, PR libgcj/20526
2557 * gij.cc (nonstandard_opts_help): New function.
2558 (add_option): New function.
2559 (main): Support java options. Set java.class.path. Don't set
2561 * prims.cc (parse_x_arg): New function.
2562 (parse_init_args): Call parse_x_arg for -X and _ options, when
2563 ignoreUnrecognized is true.
2564 (new _Jv_RunMain): New vm_args variant.
2565 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2566 (_Jv_Jar_Class_Path): Remove variable.
2567 * include/java-props.h: Likewise.
2568 * include/cni.h (JvRealloc): New function.
2569 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2570 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2571 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2573 * configure.ac (JV_VERSION): Define.
2574 (JV_API_VERSION): Likewise.
2575 * configure: Regenerate.
2576 * include/config.h.in: Regenerate.
2578 2005-04-01 Mark Anderson <mark@panonet.net>
2580 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2581 -Infinity as parameters.
2583 2005-04-01 Michael Koch <konqueror@gmx.de>
2585 * java/io/PipedInputStream.java
2586 (read): Make sure a positive byte value is returned. Revised javadoc.
2587 Thanks to Olafur Bragason for reporting these bugs.
2589 2005-04-01 Tom Tromey <tromey@redhat.com>
2591 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2592 Updated for name change.
2593 (nativeFindClass): New method.
2594 (loadClass): Use nativeFindClass.
2595 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2597 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2598 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2600 (initialize): New method.
2601 (nativeFindClass): Declare.
2602 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2603 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2604 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2606 (definePackageForNative): Removed.
2607 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2608 Moved to VMClassLoader.java.
2609 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2610 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2611 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2612 removed VMClassLoader.java.
2613 (nat_source_files): Removed natVMClassLoader.cc.
2615 2005-04-01 Tom Tromey <tromey@redhat.com>
2617 * Makefile.in: Rebuilt.
2618 * Makefile.am (db_pathtail): Use $(gcc_version), not
2621 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2623 * java/util/Timer.java
2624 (run): Stop the queue if a task throws an exception.
2626 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2628 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2630 2005-03-29 Ian Lance Taylor <ian@airs.com>
2632 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2633 * external/sax/Makefile.in: Rebuild.
2634 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2636 * external/w3c_dom/Makefile.in: Rebuild.
2638 2005-03-29 Tom Tromey <tromey@redhat.com>
2640 * java/lang/natRuntime.cc (insertSystemProperties): Set
2641 gnu.gcj.runtime.endorsed.dirs.
2642 * Makefile.in: Rebuilt.
2643 * Makefile.am (ordinary_java_source_files): Added
2644 HelperClassLoader.java.
2645 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2646 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2648 (init): Use addDirectoriesFromProperty.
2649 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2650 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2651 gnu.gcj.runtime.endorsed.dirs.
2652 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2654 2005-03-26 Chris Burdess <dog@gnu.org>
2656 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2659 2005-03-13 Michael Koch <konqueror@gmx.de>
2661 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2663 2005-03-11 Chris Burdess <dog@gnu.org>
2665 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2668 2005-02-27 Chris Burdess <dog@gnu.org>
2670 * gnu/xml/aelfred2/JAXPFactory.java,
2671 gnu/xml/aelfred2/SAXDriver.java,
2672 gnu/xml/aelfred2/XmlParser.java,
2673 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2674 formatting conventions. Replaced arrays of Object with struct-like
2675 classes for easier maintainability. Made SAXDriver.stringInterning
2676 package private to allow access from XmlParser inside the loop without
2677 a method call overhead.
2679 2005-03-11 Chris Burdess <dog@gnu.org>
2681 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2684 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2686 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2687 settings to sub Makefiles.
2688 (GCJH, ZIP): Prefix with top_builddir.
2689 * configure: Rebuild.
2690 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2691 * external/w3c_dom/Makefile.in: Rebuild.
2692 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2693 * external/sax/Makefile.in: Rebuild.
2695 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2697 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2698 libsocket to the libraries to link for Solaris.
2700 2005-03-28 Per Bothner <per@bothner.com>
2702 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2703 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2705 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2707 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2708 to fix a ONESTEP fallout.
2709 * Makefile.in: Regenerate.
2711 2005-03-25 Mike Stump <mrs@apple.com>
2713 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2714 paths like we do for the compiler, as we use it in external/sax
2715 and it doesn't get MULTIBUILDTOP right when multilibing.
2717 2005-03-24 Anthony Green <green@redhat.com>
2719 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2721 (usage): Add [LIBDIR] to help output.
2722 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2723 * Makefile.am (AM_CXXFLAGS): Define
2724 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2725 (db_pathtail): New macro.
2727 2005-03-24 Tom Tromey <tromey@redhat.com>
2729 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2730 add sax and w3c libraries.
2731 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2733 * external/w3c_dom/Makefile.in: Rebuilt.
2734 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2736 (libw3c_gcj_la_LDFLAGS): New variable.
2737 (noinst_LTLIBRARIES): Renamed.
2738 * external/sax/Makefile.in: Rebuilt.
2739 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2741 (libsax_gcj_la_LDFLAGS): New variable.
2742 (noinst_LTLIBRARIES): Renamed.
2744 2005-03-23 Tom Tromey <tromey@redhat.com>
2746 * Makefile.in: Rebuilt.
2747 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2748 (libgcj0_convenience_la_SOURCES): Don't include
2749 gnu_xml_source_files.
2750 (libgcj0_convenience_la_LIBADD): New variable.
2751 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2752 (all_java_source_files): javax_imageio_source_files,
2753 javax_xml_source_files, and gnu_java_beans_source_files.
2754 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2755 (gnu-xml.lo): New target.
2756 (javax-imageio.lo): Likewise.
2757 (javax-xml.lo): Likewise.
2758 (gnu-java-beans.lo): Likewise.
2759 (gnu_java_beans_source_files): New variable.
2760 (javax_imageio_source_files): Likewise.
2761 (javax_xml_source_files): Likewise.
2762 (javax_source_files): Moved files to other variable.
2763 (awt_java_source_files): Likewise.
2764 (ordinary_java_source_files): Added BootClassLoader.java.
2765 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2766 not system class loader.
2767 (initBootLoader): New method.
2768 (loadClass): Search bootLoader.
2769 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2770 boot loader, not system class loader.
2771 (_Jv_UnregisterInitiatingLoader): Likewise.
2772 (_Jv_FindClass): Likewise. Ensure entries in
2773 bootstrap_class_list are unique.
2774 * java/lang/natClass.cc (getClassLoader): Don't special case
2775 system class loader.
2776 * java/lang/VMClassLoader.java (bootLoader): New field.
2777 (getResource): Use bootLoader.
2778 (getResources): Likewise.
2779 (initBootLoader): Declare.
2780 * gnu/gcj/runtime/BootClassLoader.java: New file.
2781 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2782 (EMPTY_ENUMERATION): Now package-private.
2783 * external/w3c_com/Makefile.in: Rebuilt.
2784 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2785 (w3c.jar): New target.
2786 (classes.stamp): Updated.
2787 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2788 Changed name of library.
2789 (libw3c_gcj_la_SOURCES): New variable.
2790 (libw3c_gcj_la_GCJFLAGS): Likewise.
2791 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2792 * external/sax/Makefile.in: Rebuilt.
2793 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2794 (sax.jar): New target.
2795 (classes.stamp): Updated.
2796 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2797 Changed name of library.
2798 (libsax_gcj_la_SOURCES): New variable.
2799 (libsax_gcj_la_GCJFLAGS): Likewise.
2800 (source_files): Renamed from libsax_convenience_la_SOURCES.
2801 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2803 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2805 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2807 2005-03-23 Sven de Marothy <sven@physto.se>
2809 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2811 * java/util/Calendar.java
2812 (set): Use starting day of week when one is needed if none is given.
2813 * java/text/SimpleDateFormat.java
2814 (parse): Handle 1-12 and 1-24 timestamps correctly.
2815 * java/util/GregorianCalendar.java
2816 (computeTime, computeFields): HOUR should be in 0-11 format.
2817 (nonLeniencyCheck): Adjust leniency checking to that fact.
2818 (getLinearDay): Should be private.
2820 2005-03-23 Tom Tromey <tromey@redhat.com>
2822 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2823 (_Jv_CheckABIVersion): Use it.
2825 2005-03-22 Mike Stump <mrs@apple.com>
2827 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2829 * include/posix.h: .dylib is used on all Apple MACH platforms.
2830 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2832 2005-03-22 Tom Tromey <tromey@redhat.com>
2834 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2836 2005-03-21 Tom Tromey <tromey@redhat.com>
2838 * java/lang/VMCompiler.java (static block): Also catch
2839 BufferUnderflowException.
2841 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2843 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2844 set tool_include_dir. In all substitutions, leave $(gcc_version)
2845 to be expanded by the Makefile.
2846 * aclocal.m4, configure: Regenerate.
2847 * Makefile.am: Set gcc_version. Replace all uses of
2848 @gcc_version@ with $(gcc_version).
2849 * external/Makefile.am, external/sax/Makefile.am
2850 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2851 * testsuite/Makefile.am: Set gcc_version.
2852 * include/Makefile.am: Set gcc_version and tool_include_dir.
2853 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2854 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2855 * testsuite/Makefile.in: Regenerate.
2857 2005-03-17 Andrew Haley <aph@redhat.com>
2859 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2861 Pass klass to _Jv_StackTrace::GetClassContext().
2862 * java/lang/ClassLoader.java (getParent): Pass class to
2863 VMSecurityManager.getClassContext()
2864 (getSystemClassLoader): Likewise.
2865 * java/lang/Package.java (getPackage): Likewise.
2866 (getPackages): Likewise.
2867 * java/lang/SecurityManager.java (getClassContext): Likewise.
2868 (currentClassLoader): Likewise.
2869 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2870 (currentClassLoader) Add new arg: caller.
2871 Pass caller to VMSecurityManager.getClassContext.
2873 * stacktrace.cc (GetClassContext): Correct calculation of
2876 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2877 im->source_file_name.
2879 2005-03-16 Andrew Haley <aph@redhat.com>
2881 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2883 2005-03-16 Tom Tromey <tromey@redhat.com>
2885 * link.cc (ensure_class_linked): Removed #ifdef.
2886 (print_class_loaded): Likewise.
2887 (wait_for_state): Likewise.
2888 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2889 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2890 * include/java-interp.h: ... here.
2892 2005-03-16 Tom Tromey <tromey@redhat.com>
2894 * gnu/java/lang/MainThread.java (run): Load main class using
2895 system class loader.
2897 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2899 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2900 lgcc_s to the libraries to link for Darwin.
2902 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2904 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2905 interpreter-specific code with #ifdef INTERPRETER.
2906 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2907 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2908 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2909 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2910 #ifdef INTERPRETER. Also protect declarations that use it.
2911 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2912 #ifdef INTERPRETER block.
2914 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2917 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2918 * Makefile.in: Rebuilt.
2920 2005-03-15 David Daney <ddaney@avtrex.com>
2922 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2925 2005-03-15 David Daney <ddaney@avtrex.com>
2927 * java/io/BufferedInputStream.java (available): Use 'in' instead
2928 of 'super' for underlying stream access.
2930 (read(byte[], int, int)): Ditto.
2932 (skip): Call skip on underlying stream when possible.
2934 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2936 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2937 SJLJ_EXCEPTIONS is defined.
2939 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2941 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2944 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2946 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2948 (libjava_arguments): Likewise.
2950 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2951 (gcj_jni_test_one): Likewise.
2952 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2953 Add flags to keep the Darwin linker quiet.
2954 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2955 Add -liconv for Darwin.
2957 2005-03-11 Tom Tromey <tromey@redhat.com>
2959 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2960 (_Jv_CheckABIVersion): Use it.
2962 2005-03-11 Tom Tromey <tromey@redhat.com>
2964 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2965 (usage): Document '-p'.
2966 * Makefile.in: Rebuilt.
2967 * Makefile.am (dbexecdir): New variable.
2968 (db_name): Likewise.
2969 (dbexec_DATA): Likewise.
2970 ($(db_name)): New target.
2971 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2972 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2975 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2977 * exception.cc: Remove stray MethodRef.h include.
2978 * java/lang/natClass.cc: Likewise.
2979 * gnu/gcj/runtime/MethodRef.java: Removed.
2980 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2981 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2982 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2983 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2984 * Makefile.in: Rebuilt.
2986 2005-03-10 Tom Tromey <tromey@redhat.com>
2988 * Makefile.in: Rebuilt.
2989 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2991 2005-03-10 Chris Burdess <dog@bluezoo.org>
2993 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2994 not currently parsing the DTD.
2996 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2998 New Stack Trace infrastructure.
2999 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3000 (gnu/gcj/runtime/StackTrace.java): Removed.
3001 (ordinary_java_source_files): Remove obsolete files.
3002 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3003 * configure.host (fallback_backtrace_h): Set backtrace header
3004 for mingw and cygwin targets.
3005 * configure.ac: Make symlink for fallback backtrace headers.
3006 * Makefile.in, configure: Rebuilt.
3007 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3008 Read 'LineNumberTable' attribute.
3009 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3011 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3013 * exception.cc: Remove unused include.
3014 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3015 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3016 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3017 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3018 table to direct threaded instruction values.
3019 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3020 (_Jv_InterpMethod::run): No longer member function. All
3021 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3022 is made or where an instruction could throw.
3023 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3025 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3026 (catch_fpe): Likewise.
3027 * stacktrace.cc: New file. Stack trace code now here.
3028 * gnu/gcj/runtime/MethodRef.java:
3029 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3030 calls addr2line to look up PC addresses in a given binary or shared
3032 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3033 gnu/gcj/runtime/natStackTrace.cc: Removed.
3034 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3035 this function name is specially recognised by the stack trace code
3036 and shouldn't be changed.
3037 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3038 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3039 (_Jv_InterpMethod::run): Update declaration.
3040 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3042 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3043 * include/java-stack.h: New file. Declarations for stack tracing.
3044 * include/jvm.h (_Jv_Frame_info): Removed.
3045 * java/lang/Class.h: Update friend declarations.
3046 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3048 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3049 (getStackTrace): Now native.
3050 (data): New RawDataManaged field.
3051 * java/lang/natClass.cc: Update includes.
3052 (forName): Use _Jv_StackTrace::GetCallingClass for
3053 calling-classloader check.
3054 (getClassLoader): Likewise.
3055 * java/lang/natRuntime.cc: Update includes.
3056 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3057 * java/lang/natVMSecurityManager.cc: Update includes.
3058 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3059 * java/lang/natVMThrowable.cc: New file. Native methods for
3061 * java/lang/reflect/natArray.cc: Update includes.
3062 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3063 accessibility check.
3064 * java/lang/reflect/natConstructor.cc: Update includes.
3065 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3066 accessibility check.
3067 * java/lang/reflect/natField.cc: Update includes.
3068 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3069 accessibility check.
3070 * java/lang/reflect/natMethod.cc: Update includes.
3071 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3072 accessibility check.
3073 * java/util/natResourceBundle.cc: Update includes.
3074 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3075 * java/util/logging/natLogger.cc: Update includes. Use
3076 _Jv_StackTrace::GetCallerInfo to get call-site info.
3077 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3079 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3082 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3084 * testsuite/libjava.compile/PR20312.java: New file.
3085 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3086 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3088 2005-03-09 Andrew Haley <aph@redhat.com>
3090 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3092 (smallTransferTo): New.
3093 (transferFrom): Loop around smallTransferFrom, copying pageSize
3095 (transferTo): Likewise.
3097 2005-03-09 David Daney <ddaney@avtrex.com>
3100 Merge BufferedInputStream from GNU Classpath.
3101 * java/io/BufferedInputStream.java (marktarget): Field removed.
3102 (CHUNKSIZE): Field removed.
3103 (bufferSize): New field.
3104 (BufferedInputStream): Initialize fields.
3105 (close): Invalidate mark and buffer indexes.
3107 (read()): Move mark handling code to refill.
3108 (read(byte[], int, int)): Ditto.
3109 (skip): Ditto and simplify EOF testing.
3110 (refill): Rewritten.
3111 * java/io/InputStreamReader.java (refill): Removed mark and reset
3112 of internal BufferedInputStream.
3114 2005-03-09 Tom Tromey <tromey@redhat.com>
3116 * java/lang/natVMClassLoader.cc (defineClass): Reference
3117 'systemClassLoader' field directly.
3118 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3120 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3121 Reference 'systemClassLoader' field directly.
3122 (_Jv_UnregisterInitiatingLoader): Likewise.
3123 (_Jv_FindClass): Likewise.
3125 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3127 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3129 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3130 the file in GNU Classpath style.
3132 2005-03-09 Tom Tromey <tromey@redhat.com>
3134 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3135 (toString): Synchronize.
3137 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3139 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3140 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3142 2005-03-07 Tom Tromey <tromey@redhat.com>
3144 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3145 (usage): Document '-f'.
3147 2005-03-07 Tom Tromey <tromey@redhat.com>
3149 * java/lang/VMCompiler.java (md5Digest): New field.
3150 (compileClass): Clone md5Digest instead of looking up a new one.
3152 2005-03-07 Tom Tromey <tromey@redhat.com>
3155 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3156 * link.cc (find_field_helper): Added 'type' argument.
3157 (find_field): Updated.
3159 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3160 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3161 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3162 throw UnsupportedOperationException, fixed comments.
3163 (setFont, setForeground): Fixed comments.
3164 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3165 return type to boolean.
3166 (getNextEvent): Fixed javadocs.
3167 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3168 (nativeQueueEmpty): Removed unused code.
3169 (iterateNativeQueue): Removed outer loop.
3171 2005-03-06 Roger Sayle <roger@eyesopen.com>
3174 * Makefile.am (libgcj0_convenience.la): Revert last change.
3175 * Makefile.in: Regenerate.
3177 2005-03-05 Anthony Green <green@redhat.com>
3179 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3180 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3181 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3182 (_Jv_GetDrawingSurface): Set visualID.
3183 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3184 (JAWT_GetAWT): Set Lock and Unlock.
3185 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3187 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3188 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3189 JAWT_LOCK_SURFACE_CHANGED): New macros.
3190 (struct _JAWT): Add Lock and Unlock.
3192 2005-03-05 Roger Sayle <roger@eyesopen.com>
3193 Alexandre Oliva <aoliva@redhat.com>
3194 Kelley Cook <kcook@gcc.gnu.org>
3197 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3198 of the object files to link to avoid exceeding the command line
3199 length limits on some platforms.
3200 (clean-local): Clean up objectlist files.
3201 * Makefile.in: Regenerate.
3203 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3205 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3206 spec_case. Initialize pointer mlo.
3208 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3211 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3213 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3216 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3217 uninitialized variable z.
3219 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3220 possible unused variables.
3222 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3224 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3226 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3229 * testsuite/libjava.jni/jni.exp
3230 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3232 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3234 2005-02-23 David Daney <ddaney@avtrex.com>
3236 * configure.host: Don't use -mxgot for MIPS builds.
3238 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3241 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3242 (COMPPATH): Removed.
3243 (ZIP, GCJH): Replace it with ../$(host_subdir).
3244 (built_gcc_dir): Add $(host_subdir).
3245 * configure: Regenerate.
3246 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3247 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3248 external/w3c_dom/Makefile.in: Regenerate.
3250 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3252 * java/awt/font/TextAttribute.java: changed names to lower case;
3253 (readResolve): implemented.
3254 Added doc comments all over.
3256 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3259 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3260 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3261 value. Move argument parsing code to prims.cc.
3262 * prims.cc (no_properties): Remove.
3263 (_Jv_Compiler_Properties): Initialize to NULL.
3264 (_Jv_Properties_Count): Initialize to 0.
3265 (parse_verbose_args): New function.
3266 (parse_init_args): New function.
3267 (_Jv_CreateJavaVM): Call parse_init_args.
3268 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3269 * gcj/cni.h (JvVMOption): New struct.
3270 (JvVMInitArgs): Likewise.
3271 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3273 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3274 (_Jv_VMInitArgs): Likewise.
3275 * include/java-props.h (_Jv_Properties_Count): Declare.
3276 * java/lang/natRuntime.cc (insertSystemProperties): Use
3277 _Jv_Properties_Count in for loop exit condition.
3278 * testsuite/libjava.jni/jni.exp
3279 (gcj_invocation_compile_c_to_binary): New procedure.
3280 (gcj_invocation_test_one): Likewise.
3281 (gcj_jni_run): Run JNI invocation API tests.
3282 * testsuite/libjava.jni/invocation/PR16923.c,
3283 testsuite/libjava.jni/invocation/PR16923.java,
3284 testsuite/libjava.jni/invocation/PR16923.out: New test.
3286 2005-02-23 Michael Koch <konqueror@gmx.de>
3288 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3289 * Makefile.in: Regenerated.
3291 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3293 * gnu/java/nio/ChannelReader: Fixed comments.
3295 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3297 * java/nio/channels/Channels: Added FIXMEs about
3298 stub method implementation.
3299 (newReader): Implemented.
3300 * gnu/java/nio/ChannelReader: New class.
3302 2005-02-23 Michael Koch <konqueror@gmx.de>
3304 * java/text/SimpleDateFormat.java:
3305 Removed unused import.
3307 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3310 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3311 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3312 * Makefile.in: Regenerate.
3313 * configure.ac: Check for libXtst.
3314 * configure: Regenerate.
3316 2005-02-22 Mark Wielaard <address@bogus.example.com>
3318 * java/security/AlgorithmParameterGenerator.java (getInstance):
3319 Mention provider when throwing NoSuchProviderException.
3320 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3321 * java/security/KeyFactory.java (getInstance): Likewise.
3322 * java/security/KeyStore.java (getInstance): Likewise.
3323 * java/security/SecureRandom.java (getInstance): Likewise.
3324 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3326 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3328 * java/lang/reflect/Proxy.java,
3330 java/security/SecureRandom.java,
3331 java/util/Timer.java,
3332 java/util/prefs/AbstractPreferences.java:
3333 Don't catch java.lang.ThreadDeath.
3335 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3337 * java/awt/font/TransformAttribute.java,
3338 (TransformAttribute(AffineTransform)): throw
3339 IllegalArgumentException for null transform.
3340 (getTransform): return a copy of transform.
3341 Added doc comments to all.
3343 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3345 * java/io/Externalizable.java,
3346 java/io/Serializable.java
3347 (serialVersionUID): Removed.
3348 * java/rmi/server/RemoteObject.java,
3349 java/rmi/server/UID.java
3350 (serialVersionUID): Made private.
3351 * java/rmi/server/RemoteRef.java,
3352 java/rmi/server/ServerRef.java
3353 (serialVersionUID): Set proper value.
3354 * java/security/interfaces/DSAPrivateKey.java,
3355 java/security/interfaces/DSAPublicKey.java,
3356 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3357 java/security/interfaces/RSAPrivateCrtKey.java,
3358 java/security/interfaces/RSAPrivateKey.java,
3359 java/security/interfaces/RSAPublicKey.java,
3360 javax/crypto/SecretKey.java
3361 (serialVersionUID): Added.
3363 2005-02-22 Tom Tromey <tromey@redhat.com>
3365 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3367 2005-02-22 Tom Tromey <tromey@redhat.com>
3370 * verify.cc (type::EITHER): New constant.
3371 (check_field_constant): Use it.
3372 (type::compatible): Handle it.
3374 2005-02-22 Michael Koch <konqueror@gmx.de>
3376 * gnu/java/security/PolicyFile.java,
3377 gnu/java/security/pkcs/PKCS7SignedData.java,
3378 gnu/java/security/pkcs/SignerInfo.java:
3379 Fixed copyright header.
3381 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3383 * java/beans/PropertyDescriptor.java
3384 (PropertyDescriptor,setReadMethod): Set propertyType.
3386 2005-02-22 Michael Koch <konqueror@gmx.de>
3388 * java/nio/DirectByteBufferImpl.java
3389 (owner): Fixed formatting of javadoc.
3390 * java/text/DateFormat.java
3391 (getAvailableLocales): Fixed formatting.
3392 * java/text/SimpleDateFormat.java:
3393 Fixed formatting and import statement order.
3394 * java/util/Calendar.java
3395 (Calendar): Fixed javadoc to be HTML compliant.
3396 * java/util/SimpleTimeZone.java:
3399 2005-02-22 Roman Kennke <roman@ontographics.com>
3401 * javax/swing/plaf/basic/BasicLookAndFeel.java
3402 (initComponentDefaults): Fixed Button left and right margin.
3404 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3406 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3410 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3411 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3412 (getWidth): New method.
3413 (getHeight): Likewise.
3414 (create): Remove width, height and insets parameters. Move size
3416 (realize_cb): ... here. New function.
3417 (connectSignals): Connect realize_cb.
3418 (request_frame_extents): Remove FIXME. Move
3419 postInsetsChangedEvent lookup ...
3420 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3421 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3422 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3424 (windowGetWidthID): Likewise.
3425 (windowGetHeightID): Likewise.
3427 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3430 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3431 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3433 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3435 Merge serialization from GNU Classpath.
3436 * gcj/method.h: Add missing #includes.
3437 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3438 primitive class IDs on the stream here...
3439 (resolveClass): ...not here.
3440 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3442 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3443 setLongNative, setIntNative, setShortNative, setCharNative,
3444 setByteNative, setBooleanNative, setObjectNative): New native methods.
3445 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3446 setLongNative, setIntNative, setShortNative, setCharNative,
3447 setByteNative, setBooleanNative, setObjectNative): Implement them.
3448 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3449 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3450 the constructor here.
3451 (callConstructor): Removed.
3452 (getCallersClassLoader): Removed.
3453 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3454 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3455 to control whether setting final field values is permitted. Call
3456 getAddr() with checkFinal parameter instead of setAddr().
3457 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3458 only if not done already.
3459 (getAddr): Add checkFinal parameter. Do the final field check only if
3463 2005-02-21 Mark Wielaard <mark@klomp.org>
3466 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3469 2005-02-21 Mark Wielaard <mark@klomp.org>
3472 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3473 without a super class and us ObjectStreamClass.lookupForClassObject().
3474 (resolveClass): Check for primitive types.
3475 (lookupClass): Return null when argument is null.
3477 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3479 * java/io/ObjectInputStream.java
3480 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3482 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3484 * java/io/ObjectOutputStream.java
3485 (writeObject, callWriteMethod): Replaced reflection with accessing
3486 cached info in ObjectStreamClass.
3487 (getMethod): Removed.
3488 * java/io/ObjectStreamClass.java
3489 (findMethod): Added check to make sure the method found has the
3491 (cacheMethods): Added writeReplace and writeObject methods.
3492 (setFlags): Look at new writeObjectMethod field instead of doing
3494 (writeReplaceMethod): New field.
3495 (writeObjectMethod): New field.
3497 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3498 Jeroen Frijters <jeroen@frijters.net>
3500 * java/io/ObjectInputStream.java
3501 (newObject): Changed prototype. Get a constructor reflect object
3503 (callConstructor): Removed.
3504 (allocateObject): Changed prototype.
3505 (readClassDescriptor): Build the constructor reflection directly.
3506 (readObject): Invoke newObject using the new prototype.
3508 * java/io/ObjectStreamClass.java
3509 (firstNonSerializableParent): Removed.
3510 (firstNonSerializableParentConstructor): Added.
3512 2005-02-21 Mark Wielaard <mark@klomp.org>
3514 * gnu/java/locale/LocaleInformation_en.java: Extend
3515 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3517 2005-02-21 Mark Wielaard <mark@klomp.org>
3519 * java/text/SimpleDateFormat.java
3520 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3521 NullPointerException when formatData is null.
3523 2005-02-21 Mark Wielaard <mark@klomp.org>
3525 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3526 taking dstSavings into account.
3528 2005-02-21 Sven de Marothy <sven@physto.se>
3530 * java/text/SimpleDateFormat.java,
3531 (parse): Set correct DST_OFFSET to the correct value.
3533 2005-02-21 Mark Wielaard <mark@klomp.org>
3535 * java/util/SimpleTimeZone.java (checkRule): Throw
3536 IllegalArgumentException when month out of range.
3538 2005-02-21 Sven de Marothy <sven@physto.se>
3540 * java/util/GregorianCalendar.java,
3541 (add): Don't set fields directly anymore. Use set()
3543 2005-02-21 Mark Wielaard <mark@klomp.org>
3545 * java/text/SimpleDateFormat.java (CompiledField.toString):
3546 Use StringBuffer, not StringBuilder.
3547 (toString): Likewise.
3549 2005-02-21 Sven de Marothy <sven@physto.se>
3551 * java/util/Calendar.java
3552 (clear): Dates should clear to local time.
3553 * java/util/GregorianCalendar.java
3554 (computeTime): Fix priority problem with DAY_OF_WEEK,
3555 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3557 2005-02-21 Sven de Marothy <sven@physto.se>
3559 * java/util/Calendar.java
3560 (Calendar): Constructor should clear fields.
3562 2005-02-21 Sven de Marothy <sven@physto.se>
3564 * java/text/SimpleDateFormat.java
3565 (parse): Tweak handling of 2-year dates
3566 * java/util/Calendar.java
3567 (clear): Clear fields to correct value.
3568 * java/util/GregorianCalendar.java
3569 (computeTime): Correct handling of time zones.
3570 Correct field minimum values.
3572 2005-02-21 Sven de Marothy <sven@physto.se>
3574 * java/util/Calendar.java
3575 (set) Invalidate all fields on first call to set().
3577 2005-02-21 Sven de Marothy <sven@physto.se>
3579 * java/util/GregorianCalendar.java
3580 (computeTime): Fixed handling of time zones.
3582 2005-02-21 Sven de Marothy <sven@physto.se>
3584 * java/util/Calendar.java
3585 (clear): Set values to Epoch instead of zero.
3586 (set): Set isSet to the relevant field pattern instead of just
3588 * java/util/GregorianCalendar.java
3589 (getBundle): Removed.
3590 (getDayOfYear): Removed.
3591 (getFirstDayOfMonth): New private method.
3592 (nonLeniencyCheck): New private method.
3593 (computeTime): Correct handling of insufficient data.
3595 2005-02-21 Sven de Marothy <sven@physto.se>
3597 * java/util/Calendar.java: Invalidate ERA field on setting
3599 * java/util/SimpleTimeZone.java:
3600 (getDaysInMonth): Reimplemented.
3601 * java/util/GregorianCalendar.java:
3602 (getLinearTime): Removed.
3603 (isLeapYear(int,boolean)): Removed.
3604 (before(), after()): Removed.
3605 (computeTime): Reimplemented.
3607 2005-02-21 Sven de Marothy <sven@physto.se>
3609 * java/util/Calendar.java: Reformatted.
3610 * java/util/GregorianCalendar.java: Reformatted.
3611 * java/util/SimpleTimeZone.java: Reformatted.
3613 2005-02-21 Sven de Marothy <sven@physto.se>
3615 * java/util/GregorianCalendar.java
3616 (GregorianCalendar): Update fields in the constructor
3618 2005-02-21 Noa Resare <noa@resare.com>
3620 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3621 (set(int,int)): Set and use new field.
3622 (set(int,int,int)): Check new field.
3624 2005-02-21 Noa Resare <address@hidden>
3626 * java/util/Calendar.java(set):
3627 Fix for DST related regression.
3629 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3631 * java/util/Calendar.java
3632 (setTimeInMillis): Added call to clear, removed computeFields call.
3633 * java/util/Date.java
3634 (Date(int,int,int,int,int,int)): Removed workaround for
3635 GregorianCalendar bug.
3636 * java/util/GregorianCalendar.java
3637 (GregorianCalendar): Chained all constructors to a (new)
3639 (computeTime): Fixed support for lenient month treatment.
3640 (getLinearDay): Return long instead of int.
3641 (calculateDay): Added fields argument and changed day argument
3644 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3646 * java/text/SimpleDateFormat.java
3647 Lots of documentation updates.
3648 (readObject(java.io.ObjectInputStream)): Wraps
3649 IllegalArgumentException as specified.
3650 (compileFormat(String)): Uses standardChars
3651 rather than the local pattern characters.
3652 Throws IllegalArgumentException rather than
3654 (toString()): Extended to include all variables
3656 (translateLocalizedPattern(String, String, String)):
3657 Renamed to better define the use of this method.
3659 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3661 * java/text/DateFormat.java:
3662 Documented pattern character offset constants and
3664 (Field): Added new static fields for new pattern chars.
3665 * java/text/SimpleDateFormat.java:
3666 (CompiledField): Changed name of FieldSizePair class
3667 to CompiledField after adding the character as an
3668 attribute. Changed fields to private and added
3669 accessors to give encapsulation.
3670 (CompiledField.CompiledField(int,int,char)): Extended
3671 with character field.
3672 (CompiledField.getField()): New accessor method.
3673 (CompiledField.getSize()): New acceessor method.
3674 (CompiledField.getCharacter()): New accessor method.
3675 (CompiledField.toString()): Added primarily for debugging.
3676 (standardChars): Now uses extended 24 character sequence.
3677 (compileFormat(String)): Changed to use CompiledField.
3678 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3679 java.text.FieldPosition)): Changed to use CompiledField.
3680 New handler for RFC 822 timezones added.
3682 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3684 * java/text/SimpleDateFormat.java:
3685 (parse(String, java.text.ParsePosition)):
3686 Changed 'E' and 'M' cases to use both
3687 short and long names. Extended 'z'
3688 case to also handle 'Z', and deal
3689 with simple GMT offsets such as +0100.
3690 (computeOffset(String)): New private method,
3691 which converts a GMT offset specification,
3692 such as GMT-0500 to a numeric offset in
3694 * java/util/TimeZone.java:
3695 (timezones()): Added "CEST", the daylight
3696 savings time version of "CET", or Central
3699 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3701 * java/text/SimpleDateFormat.java:
3702 (parse): Set the DST offset to 0 when parsing
3703 GMT offset timezones.
3705 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3707 * java/text/SimpleDateFormat.java:
3708 (parse): Use offset to set ZONE_OFFSET
3709 rather than the DST_OFFSET, so that
3710 GMT offset timezones change the right
3713 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3715 * java/text/SimpleDateFormat.java:
3716 (getDateFormatSymbols()): return a copy
3717 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3718 throw exception on null input
3719 (clone()): implemented to clone
3722 2005-02-21 Sven de Marothy <sven@physto.se>
3724 * java/text/SimpleDateFormat.java
3725 (parse): comparison should be case-insensitive, ignore null
3728 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3730 * gnu/java/beans/IntrospectionIncubator.java
3731 (addMethod) Reverts the patch that ntroduced a regression (see bug
3732 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3734 2005-02-21 Michael Koch <konqueror@gmx.de>
3736 * java/awt/Checkbox.java
3737 (next_checkbox_number): New static variable.
3738 (generateName): New method.
3739 (getUniqueLong): Likewise.
3740 * java/awt/Window.java
3741 (next_window_number): New static variable.
3742 (generateName): New method.
3743 (getUniqueLong): Likewise.
3745 2005-02-21 Mark Wielaard <mark@klomp.org>
3747 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3750 2005-02-21 Andrew Haley <aph@redhat.com>
3752 * Makefile.in: Rebuilt.
3753 * Makefile.am (nat_source_files): Added natLogger.cc.
3754 * java/util/logging/natLogger.cc: New file.
3755 * java/util/logging/Logger.java (getCallerStackFrame): Now
3758 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3760 * Makefile.am (all_property_files): Remove left over.
3761 (classes.stamp): Add stamp for the ONESTEP build, also known as
3762 --enable-libgcj-multifile.
3763 * Makefile.in: Regenerated.
3765 2005-02-21 Michael Koch <konqueror@gmx.de>
3767 * java/awt/Button.java,
3768 java/awt/Container.java,
3770 java/awt/Frame.java,
3771 java/text/CollationElementIterator.java,
3772 java/text/RuleBasedCollator.java,
3773 java/util/PropertyPermission.java:
3774 Fixed formatting issues all over.
3776 2005-02-21 Mark Wielaard <mark@klomp.org>
3778 * java/io/FileDescriptor.java (sync): Add real exception to
3779 SyncFailedException.
3781 2005-02-21 Michael Koch <konqueror@gmx.de>
3783 * java/io/InputStreamReader.java:
3786 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3789 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3791 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3793 * libraries/javalib/gnu/regexp/RE.java,
3794 libraries/javalib/java/io/ObjectInputStream.java,
3795 libraries/javalib/java/security/AllPermission.java,
3796 libraries/javalib/java/security/BasicPermission.java,
3797 libraries/javalib/java/security/Permissions.java,
3798 libraries/javalib/java/text/MessageFormat.java:
3799 Made 'inner' classes real public static inner classes,
3800 and made them final where possible, or removed them
3803 2005-02-20 Michael Koch <konqueror@gmx.de>
3805 * gnu/java/text/FormatCharacterIterator.java:
3806 Removed redundant modifiers.
3808 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3810 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3813 2005-02-19 Michael Koch <konqueror@gmx.de>
3815 * Makefile.am: Added new files in gnu/java/beans and
3816 java/beans/XMLDecoder.java.
3817 * Makefile.in: Regenerated.
3819 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3821 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3822 assignment behavior by using java.lang.reflect.Array.set()
3825 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3827 * gnu/java/beans/EmptyBeanInfo.java,
3828 gnu/java/beans/info/ComponentBeanInfo.java:
3829 Removed unused files.
3831 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3833 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3834 of AppletStub for java.beans.Beans.instantiate.
3835 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3837 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3838 to be conformant with Javadoc guidelines.
3839 (instantiate): Added two more overloaded variants, reworked user
3840 documentation, fixed exception behavior, fixed behavior when
3843 2005-02-19 Mark Wielaard <mark@klomp.org>
3845 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3847 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3849 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3851 * gnu/java/beans/decoder/AbstractContext.java,
3852 gnu/java/beans/decoder/AbstractCreatableContext.java,
3853 gnu/java/beans/decoder/AbstractElementHandler.java,
3854 gnu/java/beans/decoder/AbstractObjectContext.java,
3855 gnu/java/beans/decoder/ArrayContext.java,
3856 gnu/java/beans/decoder/ArrayHandler.java,
3857 gnu/java/beans/decoder/AssemblyException.java,
3858 gnu/java/beans/decoder/BooleanHandler.java,
3859 gnu/java/beans/decoder/ByteHandler.java,
3860 gnu/java/beans/decoder/CharHandler.java,
3861 gnu/java/beans/decoder/ClassHandler.java,
3862 gnu/java/beans/decoder/ConstructorContext.java,
3863 gnu/java/beans/decoder/Context.java,
3864 gnu/java/beans/decoder/DecoderContext.java,
3865 gnu/java/beans/decoder/DefaultExceptionListener.java,
3866 gnu/java/beans/decoder/DoubleHandler.java,
3867 gnu/java/beans/decoder/DummyContext.java,
3868 gnu/java/beans/decoder/DummyHandler.java,
3869 gnu/java/beans/decoder/ElementHandler.java,
3870 gnu/java/beans/decoder/FloatHandler.java,
3871 gnu/java/beans/decoder/GrowableArrayContext.java,
3872 gnu/java/beans/decoder/IndexContext.java,
3873 gnu/java/beans/decoder/IntHandler.java,
3874 gnu/java/beans/decoder/JavaHandler.java,
3875 gnu/java/beans/decoder/LongHandler.java,
3876 gnu/java/beans/decoder/MethodContext.java,
3877 gnu/java/beans/decoder/MethodFinder.java,
3878 gnu/java/beans/decoder/NullHandler.java,
3879 gnu/java/beans/decoder/ObjectContext.java,
3880 gnu/java/beans/decoder/ObjectHandler.java,
3881 gnu/java/beans/decoder/PersistenceParser.java,
3882 gnu/java/beans/decoder/PropertyContext.java,
3883 gnu/java/beans/decoder/ShortHandler.java,
3884 gnu/java/beans/decoder/SimpleHandler.java,
3885 gnu/java/beans/decoder/StaticMethodContext.java,
3886 gnu/java/beans/decoder/StringHandler.java,
3887 gnu/java/beans/decoder/VoidHandler.java: New class
3888 implementing java.beans.XMLDecoder decoding functionality.
3889 * java/beans/XMLDecoder.java: New class.
3891 2005-02-19 Michael Koch <konqueror@gmx.de>
3893 * javax/swing/JTextField.java
3894 (notfiyAction): Added javadoc.
3896 2005-02-19 Sven de Marothy <sven@physto.se>
3898 * javax/swing/SpinnerDateModel.java: Implemented.
3900 2005-02-19 Michael Koch <konqueror@gmx.de>
3902 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3903 * Makefile.in: Regenerated.
3905 2005-02-19 Michael Koch <konqueror@gmx.de>
3907 * gnu/java/nio/SelectorImpl.java:
3908 Reworked import statements.
3909 (register): Removed unused code.
3910 * java/nio/channels/Channels.java: Reformatted.
3911 * java/nio/charset/Charset.java: Likewise.
3912 * java/rmi/server/RemoteObject.java
3913 (serialVersionUID): Made private.
3914 * java/rmi/server/UID.java
3915 (serialVersionUID): Likewise.
3917 2005-02-19 Michael Koch <konqueror@gmx.de>
3919 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3920 gnu/java/net/protocol/ftp/BlockInputStream.java,
3921 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3922 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3923 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3924 gnu/java/net/protocol/ftp/DTPInputStream.java,
3925 gnu/java/net/protocol/ftp/DTP.java,
3926 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3927 gnu/java/net/protocol/ftp/FTPConnection.java,
3928 gnu/java/net/protocol/ftp/FTPException.java,
3929 gnu/java/net/protocol/ftp/FTPResponse.java,
3930 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3931 gnu/java/net/protocol/ftp/Handler.java,
3932 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3933 gnu/java/net/protocol/ftp/StreamInputStream.java,
3934 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3935 gnu/java/net/CRLFInputStream.java,
3936 gnu/java/net/CRLFOutputStream.java,
3937 gnu/java/net/GetLocalHostAction.java,
3938 gnu/java/net/protocol/ftp/package.html: New files.
3939 * Makefile.am: Added new files.
3940 * Makefile.in: Regenerated.
3942 2005-02-18 Tom Tromey <tromey@redhat.com>
3944 * link.cc (make_vtable): Remove abstract method check.
3945 (append_partial_itable): Likewise.
3948 * verify.cc (type::equals): Fixed test.
3949 * testsuite/libjava.lang/PR20056.out: New file.
3950 * testsuite/libjava.lang/PR20056.java: New file.
3952 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3954 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3955 not the HashEntry. Reported by Jean-Marie White.
3957 2005-02-18 Tom Tromey <tromey@redhat.com>
3960 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3961 * link.cc (has_field_p): New function.
3962 * verify.cc (check_field_constant): Added 'putfield' argument.
3963 (verify_instructions_0): Updated.
3964 (type::equals): New method.
3966 2005-02-18 Anthony Green <green@redhat.com>
3968 * NEWS: Draft of libgcj NEWS for 4.0.
3970 2005-02-18 Anthony Green <green@redhat.com>
3972 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3973 architecture names to "i386" for compatibility reasons. Win32
3976 2005-02-18 Anthony Green <green@redhat.com>
3978 * gij.cc (version): Change year for '--version' to 2005.
3979 * gnu/gcj/convert/Convert.java: Ditto.
3980 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3981 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3983 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3984 recent copyright year in `--version' output.
3986 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3988 * java/nio/charset/Charset.java (forName): Throws
3989 IllegalArgumentException when argument is null
3990 and added documentation.
3992 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3994 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3995 Move the position of the source buffer forward.
3997 2005-02-17 Tom Tromey <tromey@redhat.com>
3999 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4000 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4001 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4002 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4003 Changed type of second argument. Rewrote.
4004 (make_vtable): Use it.
4005 (append_partial_itable): Updated.
4006 (layout_vtable_methods): Updated.
4008 2005-02-17 Michael Koch <konqueror@gmx.de>
4010 * gnu/java/net/PlainSocketImpl.java
4011 (shutdownInput): Added javadoc.
4012 (shutdownOutput): Likewise.
4014 2005-02-17 Michael Koch <konqueror@gmx.de>
4016 * javax/print/attribute/standard/Chromaticity.java,
4017 javax/print/attribute/standard/Destination.java,
4018 javax/print/attribute/standard/MediaPrintableArea.java,
4019 javax/print/attribute/standard/MediaSize.java: New files.
4020 * Makefile.am: Added new files.
4021 * Makefile.in: Regenerated.
4023 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4024 Michael Koch <konqueror@gmx.de>
4026 * gnu/java/net/protocol/http/Cookie.java,
4027 gnu/java/net/protocol/http/HTTPConnection.java,
4028 gnu/java/net/protocol/http/HTTPDateFormat.java,
4029 gnu/java/net/protocol/http/Request.java,
4030 gnu/java/nio/PipeImpl.java,
4031 gnu/java/rmi/dgc/DGCImpl.java,
4032 gnu/java/rmi/server/ConnectionRunnerPool.java,
4033 gnu/java/rmi/server/UnicastConnectionManager.java,
4034 gnu/java/security/der/DERWriter.java,
4035 gnu/java/security/pkcs/SignerInfo.java,
4036 gnu/java/security/provider/EncodedKeyFactory.java,
4037 gnu/java/security/provider/GnuDHPublicKey.java,
4038 gnu/java/security/provider/GnuDSAPrivateKey.java,
4039 gnu/java/security/provider/GnuDSAPublicKey.java,
4040 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4041 gnu/java/security/x509/X500DistinguishedName.java,
4042 gnu/java/security/x509/X509CRL.java,
4043 gnu/java/security/x509/X509CRLEntry.java,
4044 gnu/java/security/x509/X509Certificate.java,
4045 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4046 gnu/java/security/x509/ext/CertificatePolicies.java,
4047 gnu/java/security/x509/ext/PolicyConstraint.java,
4048 gnu/xml/dom/Consumer.java,
4049 gnu/xml/dom/DomCharacterData.java,
4050 gnu/xml/dom/DomDocument.java,
4051 gnu/xml/dom/DomDocumentBuilder.java,
4052 gnu/xml/dom/DomIterator.java,
4053 gnu/xml/dom/DomNode.java,
4054 gnu/xml/dom/DomXPathExpression.java,
4055 gnu/xml/dom/DomXPathResult.java,
4056 gnu/xml/dom/JAXPFactory.java,
4057 gnu/xml/pipeline/CallFilter.java,
4058 gnu/xml/pipeline/DomConsumer.java,
4059 gnu/xml/pipeline/LinkFilter.java,
4060 gnu/xml/pipeline/NSFilter.java,
4061 gnu/xml/pipeline/TeeConsumer.java,
4062 gnu/xml/pipeline/ValidationConsumer.java,
4063 gnu/xml/pipeline/WellFormednessFilter.java,
4064 gnu/xml/pipeline/XIncludeFilter.java,
4065 gnu/xml/pipeline/XsltFilter.java,
4066 gnu/xml/transform/ApplyImportsNode.java,
4067 gnu/xml/transform/Bindings.java,
4068 gnu/xml/transform/DocumentFunction.java,
4069 gnu/xml/transform/FormatNumberFunction.java,
4070 gnu/xml/transform/NodeNumberNode.java,
4071 gnu/xml/transform/NumberNode.java,
4072 gnu/xml/transform/Stylesheet.java,
4073 gnu/xml/transform/SystemPropertyFunction.java,
4074 gnu/xml/transform/Template.java,
4075 gnu/xml/transform/TemplatesImpl.java,
4076 gnu/xml/transform/TransformerImpl.java,
4077 gnu/xml/transform/ValueOfNode.java,
4078 gnu/xml/transform/XSLURIResolver.java,
4079 gnu/xml/util/DoParse.java,
4080 gnu/xml/util/Resolver.java,
4081 gnu/xml/xpath/Expr.java,
4082 gnu/xml/xpath/FunctionCall.java,
4083 gnu/xml/xpath/RelationalExpr.java,
4084 gnu/xml/xpath/Selector.java,
4085 gnu/xml/xpath/XPathParser.java:
4086 Reworked import statements, fixed modifier order and some little
4089 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4091 * java/nio/ByteBufferImpl.java (compact):
4092 Set position and limit even if no bytes were moved.
4094 2005-02-17 Michael Koch <konqueror@gmx.de>
4096 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4097 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4098 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4099 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4100 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4101 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4102 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4103 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4104 * java/nio/FloatBufferImpl.java (compact): Set position.
4105 * java/nio/CharBufferImpl.java (compact): Likewise.
4106 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4107 * java/nio/IntBufferImpl.java (compact): Likewise.
4108 * java/nio/LongBufferImpl.java (compact): Likewise.
4109 * java/nio/ShortBufferImpl.java (compact): Likewise.
4111 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4113 * java/nio/ByteBufferImpl.java,
4114 java/nio/CharBufferImpl.java,
4115 java/nio/DirectByteBufferImpl.java,
4116 java/nio/DoubleBufferImpl.java,
4117 java/nio/FloatBufferImpl.java,
4118 java/nio/IntBufferImpl.java,
4119 java/nio/LongBufferImpl.java,
4120 java/nio/MappedByteBufferImpl.java,
4121 java/nio/ShortBufferImpl.java
4122 (compact): Added explicit read-only check and invalidate mark.
4124 2005-02-17 Michael Koch <konqueror@gmx.de>
4126 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4127 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4128 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4129 gnu/java/awt/peer/gtk/GdkGraphics.java,
4130 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4131 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4132 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4133 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4134 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4135 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4136 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4137 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4138 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4139 gnu/java/awt/peer/gtk/GtkClipboard.java,
4140 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4141 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4142 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4143 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4144 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4145 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4146 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4147 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4148 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4149 gnu/java/awt/peer/gtk/GtkToolkit.java,
4150 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4151 java/applet/Applet.java,
4152 java/awt/AWTError.java,
4153 java/awt/AWTEvent.java,
4154 java/awt/AWTEventMulticaster.java,
4155 java/awt/AWTException.java,
4156 java/awt/AWTKeyStroke.java,
4157 java/awt/AWTPermission.java,
4158 java/awt/ActiveEvent.java,
4159 java/awt/Adjustable.java,
4160 java/awt/AlphaComposite.java,
4161 java/awt/AttributeValue.java,
4162 java/awt/BorderLayout.java,
4163 java/awt/BufferCapabilities.java,
4164 java/awt/Button.java,
4165 java/awt/Canvas.java,
4166 java/awt/CheckboxGroup.java,
4167 java/awt/CheckboxMenuItem.java,
4168 java/awt/Color.java,
4169 java/awt/ColorPaintContext.java,
4170 java/awt/Component.java,
4171 java/awt/ComponentOrientation.java,
4172 java/awt/Composite.java,
4173 java/awt/CompositeContext.java,
4174 java/awt/Container.java,
4175 java/awt/ContainerOrderFocusTraversalPolicy.java,
4176 java/awt/DefaultFocusTraversalPolicy.java,
4177 java/awt/Dialog.java,
4178 java/awt/Dimension.java,
4179 java/awt/DisplayMode.java,
4180 java/awt/EventQueue.java,
4181 java/awt/FileDialog.java,
4182 java/awt/FontFormatException.java,
4183 java/awt/Graphics.java,
4184 java/awt/Graphics2D.java,
4185 java/awt/GraphicsConfigTemplate.java,
4186 java/awt/GraphicsConfiguration.java,
4187 java/awt/GraphicsDevice.java,
4188 java/awt/GridBagLayout.java,
4189 java/awt/GridBagLayoutInfo.java,
4190 java/awt/GridLayout.java,
4191 java/awt/HeadlessException.java,
4192 java/awt/IllegalComponentStateException.java,
4193 java/awt/Image.java,
4194 java/awt/Insets.java,
4195 java/awt/ItemSelectable.java,
4196 java/awt/JobAttributes.java,
4197 java/awt/KeyEventDispatcher.java,
4198 java/awt/KeyEventPostProcessor.java,
4199 java/awt/KeyboardFocusManager.java,
4200 java/awt/Label.java,
4201 java/awt/LayoutManager.java,
4202 java/awt/MenuBar.java,
4203 java/awt/MenuComponent.java,
4204 java/awt/MenuContainer.java,
4205 java/awt/PageAttributes.java,
4206 java/awt/Paint.java,
4207 java/awt/PaintContext.java,
4208 java/awt/Panel.java,
4209 java/awt/Point.java,
4210 java/awt/Polygon.java,
4211 java/awt/PrintGraphics.java,
4212 java/awt/PrintJob.java,
4213 java/awt/Rectangle.java,
4214 java/awt/RenderingHints.java,
4215 java/awt/Shape.java,
4216 java/awt/Stroke.java,
4217 java/awt/SystemColor.java,
4218 java/awt/Toolkit.java,
4219 java/awt/Transparency.java,
4220 java/awt/Window.java,
4221 java/awt/color/CMMException.java,
4222 java/awt/color/ColorSpace.java,
4223 java/awt/color/ICC_ColorSpace.java,
4224 java/awt/color/ICC_Profile.java,
4225 java/awt/color/ProfileDataException.java,
4226 java/awt/datatransfer/FlavorTable.java,
4227 java/awt/datatransfer/MimeTypeParseException.java,
4228 java/awt/datatransfer/Transferable.java,
4229 java/awt/datatransfer/UnsupportedFlavorException.java,
4230 java/awt/dnd/Autoscroll.java,
4231 java/awt/dnd/DnDConstants.java,
4232 java/awt/dnd/DragGestureListener.java,
4233 java/awt/dnd/DragSourceAdapter.java,
4234 java/awt/dnd/DragSourceDropEvent.java,
4235 java/awt/dnd/DragSourceListener.java,
4236 java/awt/dnd/DragSourceMotionListener.java,
4237 java/awt/dnd/DropTargetAdapter.java,
4238 java/awt/dnd/DropTargetContext.java,
4239 java/awt/dnd/DropTargetListener.java,
4240 java/awt/dnd/InvalidDnDOperationException.java,
4241 java/awt/dnd/MouseDragGestureRecognizer.java,
4242 java/awt/dnd/peer/DropTargetContextPeer.java,
4243 java/awt/event/AWTEventListener.java,
4244 java/awt/event/AWTEventListenerProxy.java,
4245 java/awt/event/ActionEvent.java,
4246 java/awt/event/AdjustmentEvent.java,
4247 java/awt/event/AdjustmentListener.java,
4248 java/awt/event/ComponentAdapter.java,
4249 java/awt/event/ComponentEvent.java,
4250 java/awt/event/ComponentListener.java,
4251 java/awt/event/ContainerAdapter.java,
4252 java/awt/event/ContainerEvent.java,
4253 java/awt/event/ContainerListener.java,
4254 java/awt/event/FocusAdapter.java,
4255 java/awt/event/FocusEvent.java,
4256 java/awt/event/FocusListener.java,
4257 java/awt/event/InputEvent.java,
4258 java/awt/event/InputMethodEvent.java,
4259 java/awt/event/InputMethodListener.java,
4260 java/awt/event/InvocationEvent.java,
4261 java/awt/event/ItemEvent.java,
4262 java/awt/event/ItemListener.java,
4263 java/awt/event/KeyAdapter.java,
4264 java/awt/event/KeyEvent.java,
4265 java/awt/event/KeyListener.java,
4266 java/awt/event/MouseAdapter.java,
4267 java/awt/event/MouseEvent.java,
4268 java/awt/event/MouseListener.java,
4269 java/awt/event/MouseMotionAdapter.java,
4270 java/awt/event/MouseMotionListener.java,
4271 java/awt/event/MouseWheelEvent.java,
4272 java/awt/event/MouseWheelListener.java,
4273 java/awt/event/PaintEvent.java,
4274 java/awt/event/TextEvent.java,
4275 java/awt/event/TextListener.java,
4276 java/awt/event/WindowAdapter.java,
4277 java/awt/event/WindowEvent.java,
4278 java/awt/event/WindowFocusListener.java,
4279 java/awt/event/WindowListener.java,
4280 java/awt/event/WindowStateListener.java,
4281 java/awt/font/TextHitInfo.java,
4282 java/awt/geom/CubicCurve2D.java,
4283 java/awt/geom/Dimension2D.java,
4284 java/awt/geom/Ellipse2D.java,
4285 java/awt/geom/IllegalPathStateException.java,
4286 java/awt/geom/Line2D.java,
4287 java/awt/geom/NoninvertibleTransformException.java,
4288 java/awt/geom/PathIterator.java,
4289 java/awt/geom/Point2D.java,
4290 java/awt/geom/QuadCurve2D.java,
4291 java/awt/geom/RectangularShape.java,
4292 java/awt/geom/RoundRectangle2D.java,
4293 java/awt/im/InputContext.java,
4294 java/awt/im/InputMethodHighlight.java,
4295 java/awt/im/InputMethodRequests.java,
4296 java/awt/im/InputSubset.java,
4297 java/awt/im/spi/InputMethod.java,
4298 java/awt/im/spi/InputMethodDescriptor.java,
4299 java/awt/image/BandCombineOp.java,
4300 java/awt/image/BandedSampleModel.java,
4301 java/awt/image/ByteLookupTable.java,
4302 java/awt/image/ComponentSampleModel.java,
4303 java/awt/image/DataBuffer.java,
4304 java/awt/image/DataBufferByte.java,
4305 java/awt/image/DataBufferDouble.java,
4306 java/awt/image/DataBufferFloat.java,
4307 java/awt/image/DataBufferInt.java,
4308 java/awt/image/DataBufferShort.java,
4309 java/awt/image/DataBufferUShort.java,
4310 java/awt/image/ImagingOpException.java,
4311 java/awt/image/Kernel.java,
4312 java/awt/image/LookupTable.java,
4313 java/awt/image/MultiPixelPackedSampleModel.java,
4314 java/awt/image/PackedColorModel.java,
4315 java/awt/image/PixelInterleavedSampleModel.java,
4316 java/awt/image/RGBImageFilter.java,
4317 java/awt/image/Raster.java,
4318 java/awt/image/RasterFormatException.java,
4319 java/awt/image/SampleModel.java,
4320 java/awt/image/ShortLookupTable.java,
4321 java/awt/image/SinglePixelPackedSampleModel.java,
4322 java/awt/image/WritableRaster.java,
4323 java/awt/print/PrinterAbortException.java,
4324 java/awt/print/PrinterException.java,
4325 java/awt/print/PrinterIOException.java,
4326 java/beans/AppletInitializer.java,
4327 java/beans/ExceptionListener.java,
4328 java/beans/PropertyChangeEvent.java,
4329 java/beans/PropertyChangeListenerProxy.java,
4330 java/beans/PropertyChangeSupport.java,
4331 java/beans/PropertyDescriptor.java,
4332 java/beans/VetoableChangeListenerProxy.java,
4333 java/beans/VetoableChangeSupport.java,
4334 java/io/BufferedReader.java,
4335 java/io/ByteArrayInputStream.java,
4336 java/io/ByteArrayOutputStream.java,
4337 java/io/CharArrayReader.java,
4338 java/io/CharArrayWriter.java,
4339 java/io/CharConversionException.java,
4340 java/io/DataInput.java,
4341 java/io/DataInputStream.java,
4342 java/io/DataOutput.java,
4343 java/io/DataOutputStream.java,
4344 java/io/EOFException.java,
4345 java/io/FileInputStream.java,
4346 java/io/FileNotFoundException.java,
4347 java/io/FileOutputStream.java,
4348 java/io/FilenameFilter.java,
4349 java/io/FilterInputStream.java,
4350 java/io/FilterOutputStream.java,
4351 java/io/FilterReader.java,
4352 java/io/FilterWriter.java,
4353 java/io/IOException.java,
4354 java/io/InputStream.java,
4355 java/io/InterruptedIOException.java,
4356 java/io/LineNumberInputStream.java,
4357 java/io/LineNumberReader.java,
4358 java/io/ObjectInputStream.java,
4359 java/io/ObjectStreamException.java,
4360 java/io/OptionalDataException.java,
4361 java/io/OutputStream.java,
4362 java/io/OutputStreamWriter.java,
4363 java/io/PrintStream.java,
4364 java/io/PrintWriter.java,
4365 java/io/PushbackInputStream.java,
4366 java/io/PushbackReader.java,
4367 java/io/RandomAccessFile.java,
4368 java/io/Reader.java,
4369 java/io/SequenceInputStream.java,
4370 java/io/Serializable.java,
4371 java/io/StreamCorruptedException.java,
4372 java/io/StreamTokenizer.java,
4373 java/io/StringBufferInputStream.java,
4374 java/io/StringWriter.java,
4375 java/io/SyncFailedException.java,
4376 java/io/UTFDataFormatException.java,
4377 java/io/UnsupportedEncodingException.java,
4378 java/io/WriteAbortedException.java,
4379 java/io/Writer.java,
4380 java/lang/AbstractMethodError.java,
4381 java/lang/ArithmeticException.java,
4382 java/lang/ArrayIndexOutOfBoundsException.java,
4383 java/lang/ArrayStoreException.java,
4384 java/lang/AssertionError.java,
4385 java/lang/Boolean.java,
4386 java/lang/Byte.java,
4387 java/lang/Class.java,
4388 java/lang/ClassCastException.java,
4389 java/lang/ClassCircularityError.java,
4390 java/lang/ClassLoader.java,
4391 java/lang/ClassNotFoundException.java,
4392 java/lang/CloneNotSupportedException.java,
4393 java/lang/Cloneable.java,
4394 java/lang/Comparable.java,
4395 java/lang/Compiler.java,
4396 java/lang/Double.java,
4397 java/lang/Error.java,
4398 java/lang/Exception.java,
4399 java/lang/ExceptionInInitializerError.java,
4400 java/lang/Float.java,
4401 java/lang/IllegalAccessError.java,
4402 java/lang/IllegalAccessException.java,
4403 java/lang/IllegalArgumentException.java,
4404 java/lang/IllegalMonitorStateException.java,
4405 java/lang/IllegalStateException.java,
4406 java/lang/IllegalThreadStateException.java,
4407 java/lang/IncompatibleClassChangeError.java,
4408 java/lang/IndexOutOfBoundsException.java,
4409 java/lang/InheritableThreadLocal.java,
4410 java/lang/InstantiationError.java,
4411 java/lang/InstantiationException.java,
4412 java/lang/Integer.java,
4413 java/lang/InternalError.java,
4414 java/lang/InterruptedException.java,
4415 java/lang/LinkageError.java,
4416 java/lang/Long.java,
4417 java/lang/NegativeArraySizeException.java,
4418 java/lang/NoClassDefFoundError.java,
4419 java/lang/NoSuchFieldError.java,
4420 java/lang/NoSuchFieldException.java,
4421 java/lang/NoSuchMethodError.java,
4422 java/lang/NoSuchMethodException.java,
4423 java/lang/NullPointerException.java,
4424 java/lang/Number.java,
4425 java/lang/NumberFormatException.java,
4426 java/lang/OutOfMemoryError.java,
4427 java/lang/Process.java,
4428 java/lang/Runnable.java,
4429 java/lang/Runtime.java,
4430 java/lang/RuntimeException.java,
4431 java/lang/RuntimePermission.java,
4432 java/lang/SecurityException.java,
4433 java/lang/SecurityManager.java,
4434 java/lang/Short.java,
4435 java/lang/StackOverflowError.java,
4436 java/lang/StackTraceElement.java,
4437 java/lang/StringBuffer.java,
4438 java/lang/StringIndexOutOfBoundsException.java,
4439 java/lang/ThreadDeath.java,
4440 java/lang/ThreadGroup.java,
4441 java/lang/Throwable.java,
4442 java/lang/UnsatisfiedLinkError.java,
4443 java/lang/UnsupportedOperationException.java,
4444 java/lang/VerifyError.java,
4445 java/lang/VirtualMachineError.java,
4446 java/lang/reflect/AccessibleObject.java,
4447 java/lang/reflect/Array.java,
4448 java/lang/reflect/InvocationTargetException.java,
4449 java/lang/reflect/Member.java,
4450 java/lang/reflect/Modifier.java,
4451 java/lang/reflect/Proxy.java,
4452 java/lang/reflect/ReflectPermission.java,
4453 java/lang/reflect/UndeclaredThrowableException.java,
4454 java/math/BigInteger.java,
4455 java/net/NetworkInterface.java,
4456 java/nio/ByteBufferHelper.java,
4457 java/nio/ByteBufferImpl.java,
4458 java/nio/DirectByteBufferImpl.java,
4459 java/nio/DoubleBufferImpl.java,
4460 java/nio/FloatBufferImpl.java,
4461 java/nio/IntBufferImpl.java,
4462 java/nio/LongBufferImpl.java,
4463 java/nio/ShortBufferImpl.java,
4464 java/nio/channels/Channel.java,
4465 java/nio/channels/IllegalBlockingModeException.java,
4466 java/nio/charset/spi/CharsetProvider.java,
4467 java/security/AccessControlException.java,
4468 java/security/BasicPermission.java,
4469 java/security/DigestException.java,
4470 java/security/DigestInputStream.java,
4471 java/security/DigestOutputStream.java,
4472 java/security/GeneralSecurityException.java,
4473 java/security/Guard.java,
4474 java/security/GuardedObject.java,
4475 java/security/InvalidAlgorithmParameterException.java,
4476 java/security/InvalidKeyException.java,
4477 java/security/InvalidParameterException.java,
4478 java/security/Key.java,
4479 java/security/KeyException.java,
4480 java/security/KeyManagementException.java,
4481 java/security/KeyStoreException.java,
4482 java/security/MessageDigestSpi.java,
4483 java/security/NoSuchAlgorithmException.java,
4484 java/security/NoSuchProviderException.java,
4485 java/security/Permission.java,
4486 java/security/PermissionCollection.java,
4487 java/security/Permissions.java,
4488 java/security/Principal.java,
4489 java/security/PrivateKey.java,
4490 java/security/PrivilegedActionException.java,
4491 java/security/ProviderException.java,
4492 java/security/PublicKey.java,
4493 java/security/SecureRandom.java,
4494 java/security/SecureRandomSpi.java,
4495 java/security/SignatureException.java,
4496 java/security/SignatureSpi.java,
4497 java/security/SignedObject.java,
4498 java/security/Signer.java,
4499 java/security/UnrecoverableKeyException.java,
4500 java/security/UnresolvedPermission.java,
4501 java/security/acl/AclNotFoundException.java,
4502 java/security/acl/LastOwnerException.java,
4503 java/security/acl/NotOwnerException.java,
4504 java/security/cert/CertPath.java,
4505 java/security/cert/CertPathBuilderException.java,
4506 java/security/cert/CertPathValidatorException.java,
4507 java/security/cert/CertStoreException.java,
4508 java/text/BreakIterator.java,
4509 java/text/ChoiceFormat.java,
4510 java/text/CollationElementIterator.java,
4511 java/text/CollationKey.java,
4512 java/text/Collator.java,
4513 java/text/DateFormat.java,
4514 java/text/DateFormatSymbols.java,
4515 java/text/DecimalFormat.java,
4516 java/text/DecimalFormatSymbols.java,
4517 java/text/FieldPosition.java,
4518 java/text/Format.java,
4519 java/text/NumberFormat.java,
4520 java/text/ParseException.java,
4521 java/text/ParsePosition.java,
4522 java/text/StringCharacterIterator.java,
4523 java/util/AbstractCollection.java,
4524 java/util/AbstractList.java,
4525 java/util/AbstractMap.java,
4526 java/util/AbstractSequentialList.java,
4527 java/util/AbstractSet.java,
4528 java/util/ArrayList.java,
4529 java/util/Arrays.java,
4530 java/util/BitSet.java,
4531 java/util/Collection.java,
4532 java/util/Collections.java,
4533 java/util/Comparator.java,
4534 java/util/ConcurrentModificationException.java,
4535 java/util/Currency.java,
4536 java/util/Date.java,
4537 java/util/EmptyStackException.java,
4538 java/util/Enumeration.java,
4539 java/util/EventListener.java,
4540 java/util/EventListenerProxy.java,
4541 java/util/EventObject.java,
4542 java/util/HashMap.java,
4543 java/util/HashSet.java,
4544 java/util/Hashtable.java,
4545 java/util/IdentityHashMap.java,
4546 java/util/Iterator.java,
4547 java/util/LinkedHashSet.java,
4548 java/util/LinkedList.java,
4549 java/util/List.java,
4550 java/util/ListIterator.java,
4551 java/util/ListResourceBundle.java,
4553 java/util/MissingResourceException.java,
4554 java/util/NoSuchElementException.java,
4555 java/util/Observable.java,
4556 java/util/Observer.java,
4557 java/util/Properties.java,
4558 java/util/PropertyPermissionCollection.java,
4559 java/util/RandomAccess.java,
4561 java/util/SortedMap.java,
4562 java/util/SortedSet.java,
4563 java/util/Stack.java,
4564 java/util/StringTokenizer.java,
4565 java/util/TooManyListenersException.java,
4566 java/util/TreeMap.java,
4567 java/util/TreeSet.java,
4568 java/util/Vector.java,
4569 java/util/logging/FileHandler.java,
4570 java/util/logging/Level.java,
4571 java/util/prefs/BackingStoreException.java,
4572 java/util/prefs/InvalidPreferencesFormatException.java,
4573 java/util/prefs/Preferences.java,
4574 javax/accessibility/Accessible.java,
4575 javax/accessibility/AccessibleAction.java,
4576 javax/accessibility/AccessibleBundle.java,
4577 javax/accessibility/AccessibleComponent.java,
4578 javax/accessibility/AccessibleContext.java,
4579 javax/accessibility/AccessibleEditableText.java,
4580 javax/accessibility/AccessibleExtendedComponent.java,
4581 javax/accessibility/AccessibleExtendedTable.java,
4582 javax/accessibility/AccessibleHyperlink.java,
4583 javax/accessibility/AccessibleHypertext.java,
4584 javax/accessibility/AccessibleIcon.java,
4585 javax/accessibility/AccessibleKeyBinding.java,
4586 javax/accessibility/AccessibleRelation.java,
4587 javax/accessibility/AccessibleRelationSet.java,
4588 javax/accessibility/AccessibleResourceBundle.java,
4589 javax/accessibility/AccessibleRole.java,
4590 javax/accessibility/AccessibleSelection.java,
4591 javax/accessibility/AccessibleState.java,
4592 javax/accessibility/AccessibleStateSet.java,
4593 javax/accessibility/AccessibleTable.java,
4594 javax/accessibility/AccessibleTableModelChange.java,
4595 javax/accessibility/AccessibleText.java,
4596 javax/accessibility/AccessibleValue.java,
4597 javax/imageio/IIOException.java,
4598 javax/imageio/ImageIO.java,
4599 javax/imageio/spi/IIOServiceProvider.java,
4600 javax/imageio/spi/ImageInputStreamSpi.java,
4601 javax/imageio/spi/ImageOutputStreamSpi.java,
4602 javax/imageio/spi/ImageReaderWriterSpi.java,
4603 javax/imageio/spi/ImageTranscoderSpi.java,
4604 javax/imageio/spi/RegisterableService.java,
4605 javax/imageio/spi/ServiceRegistry.java,
4606 javax/imageio/stream/IIOByteBuffer.java,
4607 javax/imageio/stream/ImageInputStream.java,
4608 javax/imageio/stream/ImageOutputStream.java,
4609 javax/naming/Binding.java,
4610 javax/naming/CannotProceedException.java,
4611 javax/naming/CompositeName.java,
4612 javax/naming/CompoundName.java,
4613 javax/naming/LinkException.java,
4614 javax/naming/LinkRef.java,
4615 javax/naming/NameClassPair.java,
4616 javax/naming/Reference.java,
4617 javax/naming/ReferralException.java,
4618 javax/naming/directory/Attribute.java,
4619 javax/naming/directory/AttributeModificationException.java,
4620 javax/naming/directory/Attributes.java,
4621 javax/naming/directory/DirContext.java,
4622 javax/naming/directory/ModificationItem.java,
4623 javax/naming/directory/SearchControls.java,
4624 javax/naming/directory/SearchResult.java,
4625 javax/naming/event/EventContext.java,
4626 javax/naming/event/EventDirContext.java,
4627 javax/naming/event/NamespaceChangeListener.java,
4628 javax/naming/event/NamingExceptionEvent.java,
4629 javax/naming/event/NamingListener.java,
4630 javax/naming/event/ObjectChangeListener.java,
4631 javax/naming/ldap/Control.java,
4632 javax/naming/ldap/ExtendedResponse.java,
4633 javax/naming/ldap/HasControls.java,
4634 javax/naming/ldap/LdapContext.java,
4635 javax/naming/ldap/UnsolicitedNotification.java,
4636 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4637 javax/naming/ldap/UnsolicitedNotificationListener.java,
4638 javax/naming/spi/DirectoryManager.java,
4639 javax/naming/spi/ResolveResult.java,
4640 javax/naming/spi/Resolver.java,
4641 javax/security/auth/callback/Callback.java,
4642 javax/security/auth/callback/CallbackHandler.java,
4643 javax/security/auth/callback/ChoiceCallback.java,
4644 javax/security/auth/callback/ConfirmationCallback.java,
4645 javax/security/auth/callback/LanguageCallback.java,
4646 javax/security/auth/callback/NameCallback.java,
4647 javax/security/auth/callback/PasswordCallback.java,
4648 javax/security/auth/callback/TextInputCallback.java,
4649 javax/security/auth/callback/TextOutputCallback.java,
4650 javax/security/auth/callback/UnsupportedCallbackException.java,
4651 javax/security/sasl/Sasl.java,
4652 javax/security/sasl/SaslServerFactory.java,
4653 javax/swing/DefaultBoundedRangeModel.java,
4654 javax/swing/JComponent.java,
4655 javax/swing/JList.java,
4656 javax/swing/JProgressBar.java,
4657 javax/swing/JRadioButton.java,
4658 javax/swing/JTextArea.java,
4659 javax/swing/JTextField.java,
4660 javax/swing/JToggleButton.java,
4661 javax/swing/JTree.java,
4662 javax/swing/SpinnerListModel.java,
4663 javax/swing/event/EventListenerList.java,
4664 javax/swing/text/JTextComponent.java,
4665 javax/swing/text/StringContent.java,
4666 javax/swing/text/Utilities.java,
4667 javax/swing/undo/UndoManager.java,
4668 javax/swing/undo/UndoableEditSupport.java,
4669 javax/transaction/HeuristicCommitException.java,
4670 javax/transaction/HeuristicMixedException.java,
4671 javax/transaction/HeuristicRollbackException.java,
4672 javax/transaction/InvalidTransactionException.java,
4673 javax/transaction/NotSupportedException.java,
4674 javax/transaction/RollbackException.java,
4675 javax/transaction/Status.java,
4676 javax/transaction/Synchronization.java,
4677 javax/transaction/SystemException.java,
4678 javax/transaction/Transaction.java,
4679 javax/transaction/TransactionManager.java,
4680 javax/transaction/TransactionRequiredException.java,
4681 javax/transaction/TransactionRolledbackException.java,
4682 javax/transaction/UserTransaction.java,
4683 javax/transaction/xa/XAException.java,
4684 javax/transaction/xa/XAResource.java,
4685 javax/transaction/xa/Xid.java,
4686 javax/xml/XMLConstants.java,
4687 javax/xml/datatype/DatatypeConfigurationException.java,
4688 javax/xml/datatype/DatatypeConstants.java,
4689 javax/xml/datatype/DatatypeFactory.java,
4690 javax/xml/datatype/Duration.java,
4691 javax/xml/datatype/XMLGregorianCalendar.java,
4692 javax/xml/namespace/NamespaceContext.java,
4693 javax/xml/namespace/QName.java,
4694 javax/xml/parsers/DocumentBuilder.java,
4695 javax/xml/parsers/DocumentBuilderFactory.java,
4696 javax/xml/parsers/FactoryConfigurationError.java,
4697 javax/xml/parsers/ParserConfigurationException.java,
4698 javax/xml/parsers/SAXParser.java,
4699 javax/xml/parsers/SAXParserFactory.java,
4700 javax/xml/transform/ErrorListener.java,
4701 javax/xml/transform/OutputKeys.java,
4702 javax/xml/transform/Result.java,
4703 javax/xml/transform/Source.java,
4704 javax/xml/transform/SourceLocator.java,
4705 javax/xml/transform/Templates.java,
4706 javax/xml/transform/Transformer.java,
4707 javax/xml/transform/TransformerConfigurationException.java,
4708 javax/xml/transform/TransformerException.java,
4709 javax/xml/transform/TransformerFactory.java,
4710 javax/xml/transform/TransformerFactoryConfigurationError.java,
4711 javax/xml/transform/URIResolver.java,
4712 javax/xml/transform/dom/DOMLocator.java,
4713 javax/xml/transform/dom/DOMResult.java,
4714 javax/xml/transform/dom/DOMSource.java,
4715 javax/xml/transform/sax/SAXResult.java,
4716 javax/xml/transform/sax/SAXSource.java,
4717 javax/xml/transform/sax/SAXTransformerFactory.java,
4718 javax/xml/transform/sax/TemplatesHandler.java,
4719 javax/xml/transform/sax/TransformerHandler.java,
4720 javax/xml/transform/stream/StreamResult.java,
4721 javax/xml/transform/stream/StreamSource.java,
4722 javax/xml/validation/Schema.java,
4723 javax/xml/validation/SchemaFactory.java,
4724 javax/xml/validation/TypeInfoProvider.java,
4725 javax/xml/validation/Validator.java,
4726 javax/xml/validation/ValidatorHandler.java,
4727 javax/xml/xpath/XPathConstants.java,
4728 javax/xml/xpath/XPathException.java,
4729 javax/xml/xpath/XPathExpression.java,
4730 javax/xml/xpath/XPathExpressionException.java,
4731 javax/xml/xpath/XPathFactory.java,
4732 javax/xml/xpath/XPathFactoryConfigurationException.java,
4733 javax/xml/xpath/XPathFunction.java,
4734 javax/xml/xpath/XPathFunctionException.java,
4735 javax/xml/xpath/XPathFunctionResolver.java:
4736 Fixed usage of @author tag, reworked import statements,
4737 removed CVS tags, changed the modifier order and fixed
4738 HTML usage in javadocs.
4740 2005-02-16 Julian Scheid <julian@sektor37.de>
4742 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4744 (encodeLoop): Likewise.
4746 2005-02-16 Mark Wielaard <mark@klomp.org>
4748 * Makefile.am (ordinary_java_source_files): Add new files
4749 gnu/java/security/ber/BER.java,
4750 gnu/java/security/ber/BEREncodingException.java,
4751 gnu/java/security/ber/BERReader.java,
4752 gnu/java/security/ber/BERValue.java,
4753 gnu/java/security/pkcs/PKCS7SignedData.java and
4754 gnu/java/security/pkcs/SignerInfo.java.
4755 * Makefile.in: Regenerated.
4757 2005-02-16 Casey Marshall <csm@gnu.org>
4759 * gnu/java/security/provider/GnuDSAPrivateKey.java
4760 (encodedKey): new field.
4761 (getFormat): return "PKCS#8".
4762 (getEncoded): implemented.
4763 (toString): check for 'null' values.
4764 * gnu/java/security/provider/GnuDSAPublicKey.java
4765 (encodedKey): new field.
4766 (getFormat): return "X.509".
4767 (getEncoded): implemented.
4768 (toString): check for 'null' values.
4770 2005-02-16 Michael Koch <konqueror@gmx.de>
4772 * java/util/jar/JarFile.java: Imports reworked.
4774 2005-02-16 Mark Wielaard <mark@klomp.org>
4776 * java/util/jar/JarFile.java (verify): Make package private.
4777 (signaturesRead): Likewise.
4778 (verified): Likewise.
4779 (entryCerts): Likewise.
4782 (entries): Construct new JarEnumeration with reference to this.
4783 (JarEnumeration): Make static.
4784 (JarEnumeration.jarfile): New field.
4785 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4786 Compare verified value to Boolean.TRUE or Boolean.False only
4787 when verify is true.
4788 (getEntry): Make synchronized. Compare value of verified to
4790 (getInputStream): Construct EntryInputStream with reference to this.
4791 (getManifest): Make synchronized.
4792 (EntryInputStream): Make static.
4793 (EntryInputStream.jarfile): New field.
4794 (EntryInputStream.EntryInputStream): Check if manifest exists,
4795 before getting attributes.
4796 (eof): Synchronize on jarfile.
4798 2005-02-16 Casey Marshall <csm@gnu.org>
4800 * java/util/jar/JarFile.java (verify): return if the jar is signed
4801 with an unsupported algorithm.
4803 2005-02-16 Mark Wielaard <mark@klomp.org>
4805 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4806 InputStream as argument.
4807 (getInputStream): Construct a new EntryInputStream with the result of
4808 super.getInputStream(entry).
4810 2005-02-16 Casey Marshall <csm@gnu.org>
4812 Signed JAR file support.
4813 * java/net/URLClassLoader.java
4814 (JarURLResource.getCertificates): re-read jar entry to ensure
4815 certificates are picked up.
4816 (findClass): fill in class `signers' field, too.
4817 * java/util/jar/JarFile.java (META_INF): new constant.
4818 (PKCS7_DSA_SUFFIX): new constant.
4819 (PKCS7_RSA_SUFFIX): new constant.
4820 (DIGEST_KEY_SUFFIX): new constant.
4821 (SF_SUFFIX): new constant.
4822 (MD2_OID): new constant.
4823 (MD4_OID): new constant.
4824 (MD5_OID): new constant.
4825 (SHA1_OID): new constant.
4826 (DSA_ENCRYPTION_OID): new constant.
4827 (RSA_ENCRYPTION_OID): new constant.
4828 (signaturesRead): new field.
4829 (verified): new field.
4830 (entryCerts): new field.
4831 (DEBUG): new constant.
4832 (debug): new method.
4833 (JarEnumeration.nextElement): fill in entry certificates, read
4834 signatures if they haven't been read.
4835 (getEntry): likewise.
4836 (getInputStream): verify stream if it hasn't been verified yet.
4837 (readSignatures): new method.
4838 (verify): new method.
4839 (verifyHashes): new method.
4840 (readManifestEntry): new method.
4841 (EntryInputStream): new class.
4842 * gnu/java/io/Base64InputStream.java (decode): new class
4844 * gnu/java/security/der/DERReader.java don't make class
4846 (in): made protected.
4848 (readLength): likewise.
4849 * gnu/java/security/ber/BER.java,
4850 * gnu/java/security/ber/BEREncodingException.java,
4851 * gnu/java/security/ber/BERReader.java,
4852 * gnu/java/security/ber/BERValue.java,
4853 * gnu/java/security/pkcs/PKCS7SignedData.java,
4854 * gnu/java/security/pkcs/SignerInfo.java:
4857 2005-02-16 Tom Tromey <tromey@redhat.com>
4859 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4860 copied file on exit.
4862 2005-02-15 Mark Wielaard <mark@klomp.org>
4864 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4866 2005-02-15 Michael Koch <konqueror@gmx.de>
4868 * gnu/java/awt/peer/gtk/GtkArg.java,
4869 gnu/java/awt/peer/gtk/GtkArgList.java:
4872 2005-02-15 Craig Black <craig.black@aonix.com>
4874 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4875 (postMenuActionEvent): Implement to notify ItemListeners.
4876 * java/awt/CheckboxMenuItem.java
4877 (dispatchEventImpl): Update state on ItemEvent.
4878 * java/awt/MenuItem.java
4879 (processActionEvent): Retarget event source.
4881 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4883 * gnu/java/awt/color/ClutProfileConverter.java,
4884 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4885 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4886 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4887 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4888 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4889 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4890 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4891 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4892 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4893 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4894 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4895 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4896 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4897 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4898 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4899 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4900 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4901 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4902 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4903 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4904 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4905 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4906 gnu/java/awt/peer/gtk/GtkToolkit.java,
4907 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4908 javax/swing/JPopupMenu.java,
4909 javax/swing/JSpinner.java,
4910 javax/swing/SortingFocusTraversalPolicy.java,
4911 javax/swing/SwingUtilities.java,
4912 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4913 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4914 javax/swing/tree/DefaultMutableTreeNode.java:
4915 Removed unused imports and expanded starred
4918 2005-02-15 Mark Wielaard <mark@klomp.org>
4920 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4921 IllegalArgumentException when the given String is null.
4923 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4924 when given keystoke sequence cannot be parsed.
4926 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4927 if one is installed. Only install the given menubar is not null.
4929 * javax/swing/JViewport.java (getViewSize): Return an empty
4930 Dimension when the view isn't set or preferred component size when
4933 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4934 empty Dimension when there is no view set.
4935 (minimumLayoutSize): Likewise.
4936 (layoutContainer): Don't try to layout when there is no view.
4938 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4941 * include/jawt.h: Likewise.
4942 * include/jawt_md.h: Likewise.
4943 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4945 * jni/classpath/classpath_jawt.h: Likewise.
4946 * jni/gtk-peer/gtk_jawt.c: Likewise.
4947 * Makefile.am: Build libjawt.so.
4949 2005-02-15 Michael Koch <konqueror@gmx.de>
4951 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4952 Merged file header with classpath CVS head.
4953 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4954 Merged code formatting with classpath CVS head.
4955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4957 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4958 Handle special JNI strings with 2 '\0' at the end.
4959 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4960 Merged file header with classpath CVS head.
4961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4962 Merged code formatting with classpath CVS head.
4964 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4966 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4967 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4968 (handle_response): Use GTK_RESPONSE_ACCEPT.
4970 2005-02-15 Graydon Hoare <graydon@redhat.com>
4972 * Makefile.am: Fix library build breakage.
4973 * Makefile.in: Regenerate.
4975 2005-02-15 Michael Koch <konqueror@gmx.de>
4977 * javax/swing/JTabbedPane.java
4978 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4980 2005-02-15 Michael Koch <konqueror@gmx.de>
4982 * javax/swing/tree/DefaultMutableTreeNode.java:
4983 Reworked Javadocs all over.
4984 (getPathToRoot): Fixed direction of result array initialization.
4986 2005-02-15 Michael Koch <konqueror@gmx.de>
4988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4989 Fix includes for cairo 0.3.0 snappshot.
4990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4991 Merged file header from classpath CVS HEAD.
4993 2005-02-15 Craig Black <craig.black@aonix.com>
4995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4996 (copyState): Pass a JNI global reference to signal handler.
4997 (realize_cb): Use and free JNI global reference.
4998 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4999 (create): Pass a JNI global reference to signal handler.
5000 (selection_changed): Match declaration.
5001 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5002 (dispose): Do not remove entries from state tables until after widget is
5005 2005-02-15 Michael Koch <konqueror@gmx.de>
5007 * java/awt/Container.javai (paramString):
5008 If layoutMgr is null just return result of super.paramString().
5009 * java/awt/Scrollbar.java: Reformatted.
5010 * java/awt/im/InputContext.java (static):
5011 Removed redundant initializations.
5013 2005-02-15 Michael Koch <konqueror@gmx.de>
5015 * javax/swing/ImageIcon.java,
5016 javax/swing/UIManager.java,
5017 javax/swing/text/EditorKit.java,
5018 javax/swing/text/Segment.java:
5019 More whitespace cleanups.
5021 2005-02-15 Michael Koch <konqueror@gmx.de>
5023 * gnu/java/awt/EmbeddedWindow.java,
5024 gnu/java/awt/image/ImageDecoder.java,
5025 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5026 java/awt/DefaultKeyboardFocusManager.java,
5027 java/awt/Frame.java,
5028 java/awt/image/RGBImageFilter.java,
5029 javax/swing/AbstractButton.java,
5030 javax/swing/ActionMap.java,
5031 javax/swing/ComponentInputMap.java,
5032 javax/swing/DefaultDesktopManager.java,
5033 javax/swing/ImageIcon.java,
5034 javax/swing/InputMap.java,
5035 javax/swing/JButton.java,
5036 javax/swing/JCheckBox.java,
5037 javax/swing/JCheckBoxMenuItem.java,
5038 javax/swing/JEditorPane.java,
5039 javax/swing/JMenu.java,
5040 javax/swing/JMenuItem.java,
5041 javax/swing/JOptionPane.java,
5042 javax/swing/JRootPane.java,
5043 javax/swing/JTable.java,
5044 javax/swing/MenuSelectionManager.java,
5045 javax/swing/RepaintManager.java,
5046 javax/swing/ScrollPaneLayout.java,
5047 javax/swing/SortingFocusTraversalPolicy.java,
5048 javax/swing/UIManager.java,
5049 javax/swing/ViewportLayout.java,
5050 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5051 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5052 javax/swing/plaf/basic/BasicLabelUI.java,
5053 javax/swing/plaf/basic/BasicListUI.java,
5054 javax/swing/plaf/basic/BasicMenuItemUI.java,
5055 javax/swing/plaf/basic/BasicMenuUI.java,
5056 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5057 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5058 javax/swing/plaf/basic/BasicRootPaneUI.java,
5059 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5060 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5061 javax/swing/plaf/basic/BasicTextUI.java,
5062 javax/swing/table/TableColumnModel.java,
5063 javax/swing/text/AbstractDocument.java,
5064 javax/swing/text/EditorKit.java,
5065 javax/swing/text/Position.java,
5066 javax/swing/text/Segment.java,
5067 javax/swing/text/StyledEditorKit.java,
5068 javax/swing/text/ViewFactory.java:
5069 Cleanup whitespace differences to classpath CVS HEAD.
5071 2005-02-15 Graydon Hoare <graydon@redhat.com>
5073 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5074 (finalize): Call finish from here.
5075 (produce): Not from here.
5076 * Makefile.am (gtk_c_source_files):
5077 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5078 * Makefile.in: Regenerate.
5079 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5081 (cairoDrawGdkTextLayout):
5083 (getPeerTextMetrics):
5084 (getPeerFontMetrics): Remove.
5085 (setFont): Don't call cairoSetFont.
5086 (cairoDrawGlyphVector): Accept font peer argument.
5087 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5089 (ensure_metrics_cairo):
5090 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5091 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5092 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5093 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5095 (metrics_surface): Remove.
5096 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5097 Pass and install font peer.
5099 2005-02-15 Graydon Hoare <graydon@redhat.com>
5101 * Makefile.am: Create "split library" structure.
5102 * Makefile.in: Regenerate.
5104 2005-02-15 Graydon Hoare <graydon@redhat.com>
5106 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5109 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5110 Release GDK lock during upcalls.
5112 2005-02-15 Graydon Hoare <graydon@redhat.com>
5114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5115 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5116 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5117 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5118 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5120 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5123 (getTextMetrics): New native methods.
5124 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5125 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5126 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5127 * Makefile.in: Regenerate.
5129 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5131 * javax/swing/SwingUtilities.java:
5132 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5133 Implemented and documented.
5134 (getAccessibleChild(java.awt.Component, int)): Likewise.
5135 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5136 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5137 (getAccessibleStateSet(java.awt.Component)): Likewise.
5139 2005-02-15 Michael Koch <konqueror@gmx.de>
5141 * javax/swing/SwingUtilities.java
5142 (getFontMetrics): Removed.
5144 2005-02-15 Michael Koch <konqueror@gmx.de>
5146 * java/awt/Container.java
5147 (paramString): Implemented.
5148 * javax/swing/AbstractButton.java
5149 (paramString): Implemented.
5150 * javax/swing/JComponent.java
5151 (paramString): Implemented.
5152 * javax/swing/JMenu.java
5153 (paramString): Implemented.
5154 * javax/swing/JMenuBar.java
5155 (paramString): Implemented.
5156 * javax/swing/JMenuItem.java
5157 (paramString): Implemented.
5158 * javax/swing/JPopupMenu.java
5159 (paramString): Implemented.
5161 2005-02-15 Michael Koch <konqueror@gmx.de>
5163 * javax/swing/JMenu.java
5164 (uiClassID): Removed.
5165 (JMenu): Set invoker on popup menu.
5166 (getUIClassID): Return id directly.
5167 (getItemCount): Simply return getMenuComponentCount().
5169 (isTopLevelMenu): Simplified.
5170 * javax/swing/JMenuItem.java
5171 (uiClassID): Removed.
5172 (getUIClassID): Return id directly.
5173 * javax/swing/JPopupMenu.java
5174 (uiClassID): Removed.
5175 (JPopupMenu): Always initialize correctly.
5176 (getSubElements): Only return components implementing MenuElement
5178 (HeavyWeightPopup.hide): Removed.
5180 2005-02-15 Michael Koch <konqueror@gmx.de>
5182 * java/awt/image/ReplicateScaleFilter.java
5183 (replicatePixels): Made private.
5184 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5185 (DefaultRGBChooserPanel): Made package private.
5186 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5187 (RecentSwatchPanel): Likewise.
5188 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5189 (MouseInputAdapter): Made abstract.
5190 * javax/swing/tree/DefaultMutableTreeNode.java
5192 (growTree): Likewise.
5194 2005-02-15 Michael Koch <konqueror@gmx.de>
5196 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5199 2005-02-15 Michael Koch <konqueror@gmx.de>
5201 * javax/swing/JComponent.java (getComponentGraphics):
5202 Removed accidently commited code.
5204 2005-02-15 Graydon Hoare <graydon@redhat.com>
5206 * java/awt/dnd/DropTarget.java
5207 (addDropTargetListener): Despite documentation, do not throw.
5208 * javax/swing/JComponent.java: Set a default DropTarget.
5210 2005-02-15 Michael Koch <konqueror@gmx.de>
5212 * javax/swing/AbstractAction.java
5213 (ENABLED_PROPERTY): Removed.
5214 (setEnabled): Replaced constant with real string.
5215 * javax/swing/AbstractButton.java
5216 (createActionPropertyChangeListener.propertyChange): Likewise.
5217 * javax/swing/JComboBox.java
5218 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5219 (EDITABLE_CHANGED_PROPERTY): Removed.
5220 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5221 (ENABLED_CHANGED_PROPERTY):Likewise.
5222 (RENDERER_CHANGED_PROPERTY):Likewise.
5223 (EDITOR_CHANGED_PROPERTY):Likewise.
5224 (MODEL_CHANGED_PROPERTY):Likewise.
5225 (uiClassID):Likewise.
5226 (getUIClassID): Replaced constant with real string.
5227 (setModel):Likewise.
5228 (setEditable):Likewise.
5229 (setMaximumRowCount):Likewise.
5230 (setRenderer):Likewise.
5231 (setEditor):Likewise.
5232 (setEnabled):Likewise.
5233 * javax/swing/JLabel.java
5234 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5235 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5236 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5237 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5238 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5239 (ICON_CHANGED_PROPERTY): Likewise.
5240 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5241 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5242 (TEXT_CHANGED_PROPERTY): Likewise.
5243 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5244 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5245 (setText): Replaced constant with real string.
5246 (setIcon): Likewise.
5247 (setDisabledIcon): Likewise.
5248 (setDisplayedMnemonic): Likewise.
5249 (setIconTextGap): Likewise.
5250 (setVerticalAlignment): Likewise.
5251 (setHorizontalAlignment): Likewise.
5252 (setVerticalTextPosition): Likewise.
5253 (setHorizontalTextPosition): Likewise.
5254 (setLabelFor): Replaced constant with real string.
5255 Fire property change event after property got changed.
5256 * javax/swing/JList.java
5257 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5258 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5259 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5260 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5261 (MODEL_PROPERTY_CHANGED): Likewise.
5262 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5263 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5264 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5265 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5266 (setFixedCellWidth): Reimplemented.
5267 (setFixedCellHeight): Exit if new value is identical.
5268 Replaced constant with real string.
5269 (setSelectionBackground): Likewise.
5270 (setSelectionForeground): Likewise.
5271 (setPrototypeCellValue): Likewise.
5272 (setCellRenderer): Replaced constant with real string.
5273 (setModel): Likewise.
5274 (setSelectionModel): Likewise.
5275 * javax/swing/JMenuBar.java
5276 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5277 (MODEL_CHANGED_PROPERTY): Likewise.
5278 (MARGIN_CHANGED_PROPERTY): Likewise.
5279 (setBorderPainted): Reimplemented.
5280 (setMargin): Likewise.
5281 (setSelectionModel): Replaced constant with real string.
5282 * javax/swing/JPopupMenu.java
5283 (LABEL_CHANGED_PROPERTY): Removed.
5284 (VISIBLE_CHANGED_PROPERTY): Likewise.
5285 (borderPainted): Likewise.
5286 (setLabel): Replaced constant with real string.
5287 (setVisible): Exit if new value is identical.
5288 Replaced constant with real string.
5289 * javax/swing/JProgressBar.java
5290 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5291 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5292 (STRING_CHANGED_PROPERTY): Likewise.
5293 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5294 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5295 (setOrientation): Replaced constant with real string.
5296 (setStringPainted): Likewise.
5297 (setString): Likewise.
5298 (setBorderPainted): Likewise.
5299 (setIndeterminate): Likewise.
5300 * javax/swing/JScrollBar.java
5301 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5302 (MODEL_CHANGED_PROPERTY): Likewise.
5303 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5304 (setOrientation): Replaced constant with real string.
5305 (setModel): Likewise.
5306 (setUnitIncrement): Likewise.
5307 (setBlockIncrement): Likewise.
5308 * javax/swing/JScrollPane.java
5309 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5310 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5311 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5312 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5313 (LAYOUT_CHANGED_PROPERTY): Likewise.
5314 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5315 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5316 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5317 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5318 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5319 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5320 (setComponentOrientation): Replaced constant with real string.
5321 (setColumnHeader): Likewise.
5322 (setHorizontalScrollBar): Likewise.
5323 (setHorizontalScrollBarPolicy): Likewise.
5324 (setRowHeader): Likewise.
5325 (setVerticalScrollBar): Likewise.
5326 (setVerticalScrollBarPolicy): Likewise.
5327 (setWheelScrollingEnabled): Likewise.
5328 (setViewport): Likewise.
5329 (setViewportBorder): Likewise.
5330 * javax/swing/JSlider.java
5331 (INVERTED_CHANGED_PROPERTY): Removed.
5332 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5333 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5334 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5335 (MODEL_CHANGED_PROPERTY): Likewise.
5336 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5337 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5338 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5339 (setModel): Replaced constant with real string.
5340 (setOrientation): Likewise.
5341 (setLabelTable): Likewise.
5342 (setInverted): Likewise.
5343 (setMajorTickSpacing): Likewise.
5344 (setMinorTickSpacing): Likewise.
5345 (setPaintTicks): Likewise.
5346 (setPaintLabels): Likewise.
5347 * javax/swing/JTabbedPane.java
5348 (MODEL_CHANGED_PROPERTY): Removed.
5349 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5350 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5351 (setModel): Replaced constant with real string.
5352 (setTabPlacement): Likewise.
5353 (setTabLayoutPolicy): Likewise.
5354 * javax/swing/JToolBar.java
5355 (ORIENTATION_CHANGED_PROPERTY): Removed.
5356 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5357 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5358 (MARGIN_CHANGED_PROPERTY): Likewise.
5359 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5360 (setRollover): Replaced constant with real string.
5361 (setMargin): Likewise.
5362 (setBorderPainted): Likewise.
5363 (setFloatable): Likewise.
5364 (setOrientation): Likewise.
5365 * javax/swing/plaf/basic/BasicComboBoxUI.java
5366 (PropertyChangeHandler.propertyChange): Likewise.
5367 * javax/swing/plaf/basic/BasicComboPopup.java
5368 (PropertyChangeHandler.propertyChange): Likewise.
5369 * javax/swing/plaf/basic/BasicMenuBarUI.java
5370 (PropertyChangeHandler.propertyChange): Likewise.
5371 * javax/swing/plaf/basic/BasicProgressBarUI.java
5372 (PropertyChangeHandler.propertyChange): Likewise.
5373 * javax/swing/plaf/basic/BasicScrollBarUI.java
5374 (PropertyChangeHandler.propertyChange): Likewise.
5375 * javax/swing/plaf/basic/BasicSliderUI.java
5376 (PropertyChangeHandler.propertyChange): Likewise.
5377 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5378 (PropertyChangeHandler.propertyChange): Likewise.
5379 * javax/swing/plaf/basic/BasicToolBarUI.java
5380 (PropertyChangeHandler.propertyChange): Likewise.
5382 2005-02-15 Michael Koch <konqueror@gmx.de>
5384 * javax/swing/DefaultButtonModel.java
5385 (changeState): Made private.
5386 * javax/swing/DefaultDesktopManager.java
5387 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5388 * javax/swing/JLayeredPane.java
5389 (layerToRange): Made private.
5390 (incrLayer): Likewise.
5391 (decrLayer): Likewise.
5392 * javax/swing/JTable.java
5393 (dragEnabled): Likewise.
5394 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5395 * javax/swing/KeyStroke.java
5396 (Keystroke): Made private.
5397 * javax/swing/TransferHandler.java
5398 (COMMAND_COPY): Likewise.
5399 (COMMAND_CUT): Likewise.
5400 (COMMAND_PASTE): Likewise.
5402 2005-02-15 Michael Koch <konqueror@gmx.de>
5404 * javax/swing/JTextField.java
5405 (postActionEvent): Use text in field when actionCommand is null.
5406 (getActionCommand): Removed.
5408 2005-02-15 Michael Koch <konqueror@gmx.de>
5410 * javax/swing/AbstractSet.java: Removed.
5411 * Makefile.am: Removed javax/swing/AbstractSet.java.
5412 * Makefile.in: Regenerated.
5414 2005-02-15 Michael Koch <konqueror@gmx.de>
5416 * java/awt/Window.java
5417 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5418 * java/awt/dnd/DnDConstants.java
5419 (DnDConstants): New private constructor.
5421 2005-02-15 Michael Koch <konqueror@gmx.de>
5423 * javax/swing/DefaultCellRenderer.java: Removed.
5424 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5425 * Makefile.in: Regenerated.
5427 2005-02-15 Michael Koch <konqueror@gmx.de>
5429 * javax/swing/AbstractButton.java
5430 (fireItemStateChanged): Made protected.
5431 (fireActionPerformed): Likewise.
5432 (fireStateChanged): Likewise.
5433 * javax/swing/DefaultButtonModel.java
5434 (fireItemStateChanged): Likewise.
5435 (fireActionPerformed): Likewise.
5436 (fireStateChanged): Likewise.
5437 * javax/swing/JApplet.java
5439 (frameInit): Likewise.
5440 (setRootPane): Made protected.
5441 (createRootPane): Likewise.
5442 * javax/swing/JComponent.java
5443 (getClientProperty): Likewise.
5444 (putClientProperty): Likewise.
5445 * javax/swing/JEditorPane.java
5446 (getContentType): Likewise.
5447 (setContentType): Likewise.
5448 * javax/swing/JFrame.java
5449 (setRootPane): Likewise.
5450 (createRootPane): Likewise.
5451 * javax/swing/JInternalFrame.java
5452 (getFocusCycleRootAncestor): Made final. Added @since tag.
5453 (isFocusCycleRoot): Likewise.
5454 (getWarningString): Made final.
5455 * javax/swing/JScrollBar.java
5456 (changeListener): Removed.
5457 (changeEvent): Likewise.
5458 (createChangeListener): Likewise.
5459 (fireStateChanged): Likewise.
5460 (addChangeListener): Likewise.
5461 (removeChangeListener): Likewise.
5462 (getChangeListeners): Likewise.
5463 * javax/swing/JScrollPane.java
5464 (createViewport): Made protected.
5465 * javax/swing/JViewport.java
5466 (addImpl): Likewise.
5467 (setBorder): New method.
5468 * javax/swing/JWindow.java
5469 (setRootPane): Made protected.
5470 (createRootPane): Likewise.
5471 * javax/swing/plaf/basic/BasicButtonUI.java
5472 (installListeners): Likewise.
5473 (uninstallListeners): Likewise.
5474 * javax/swing/plaf/basic/BasicProgressBarUI.java
5475 (incrementAnimationIndex): Likewise.
5476 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5477 (createLayoutManager): Likewise.
5478 * javax/swing/table/DefaultTableCellRenderer.java
5479 (firePropertyChange): Likewise.
5480 * javax/swing/table/JTableHeader.java
5481 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5483 * javax/swing/text/PlainDocument.java
5484 (reindex): Made private.
5485 * javax/swing/text/PlainView.java
5486 (drawLine): Made protected.
5487 (getTabSize): Likewise.
5488 * javax/swing/text/View.java
5490 (preferenceChanged): New method.
5491 (getBreakWeight): Likewise.
5492 (breakView): Likewise.
5493 (getViewIndex): Likewise.
5495 2005-02-15 Michael Koch <konqueror@gmx.de>
5497 * javax/swing/JScrollPane.java
5498 (ScrollBar): Made class protected.
5499 * javax/swing/JSpinner.java
5500 (JSpinner): Added @since tag.
5501 (listenerList): Removed.
5502 * javax/swing/JTable.java
5503 (setValueAt): New method.
5504 (getColumn): Likewise.
5505 * javax/swing/JWindow.java
5506 (rootPaneCheckingEnabled): Renamed from checking.
5508 2005-02-15 Michael Koch <konqueror@gmx.de>
5510 * javax/swing/plaf/basic/BasicTextUI.java
5511 (RootView.modelToView): Made it public and return a java.awt.Shape.
5512 Handle null subview.
5513 (uninstall): Set textComponent to null when its not possible used
5515 * javax/swing/text/View.java
5516 (setParent): Use better argument name.
5517 (getContainer): Get parent via getParent().
5518 (getViewFactory): Likewise.
5519 (getAttributes): Get element via getElement().
5520 (getStartOffset): Likewise.
5521 (getEndOffset): Likewise.
5522 (getResizeWeight): New method.
5523 (getMaximumSpan): Likewise.
5524 (getMinimumSpan): Likewise.
5525 (setSize): Likewise.
5526 (getGraphics): Likewise.
5528 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5530 * java/awt/Checkbox.java:
5531 (AccessibleAWTCheckbox()): Added public constructor
5533 * java/awt/Choice.java:
5534 (AccessibleAWTChoice): Added class documentation.
5535 (AccessibleAWTChoice()): Added public constructor
5537 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5538 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5539 and changed role to COMBO_BOX.
5540 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5541 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5542 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5544 2005-02-15 Graydon Hoare <graydon@redhat.com>
5545 Michael Koch <konqueror@gmx.de>
5547 * javax/swing/LayoutFocusTraversalPolicy.java,
5548 javax/swing/SortingFocusTraversalPolicy.java:
5550 * Makefile.am: Added new classes.
5551 * Makefike.in: Regenerated.
5554 2005-02-15 Michael Koch <konqueror@gmx.de>
5556 * javax/swing/DebugGraphics.java: Mostly implemented.
5558 2005-02-15 Michael Koch <konqueror@gmx.de>
5560 * javax/swing/SwingUtilities.java
5561 (findFocusOwner): New method.
5563 2005-02-15 Michael Koch <konqueror@gmx.de>
5565 * javax/swing/text/DefaultEditorKit.java
5566 (read): Added '\n' after each line.
5567 * javax/swing/text/PlainView.java
5568 (modelToView): Update metrics.
5569 (drawLine): Use offsets from element.
5570 (paint): Update metrics. Draw all lines.
5572 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5574 * java/awt/Checkbox.java:
5575 (AccessibleAWTCheckbox): Added class documentation
5576 * java/awt/Scrollbar.java:
5577 (AccessibleAWTScrollBar): typo corrected and docs added
5578 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5579 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5580 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5581 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5582 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5583 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5584 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5585 (getAccessibleContext()): name of accessible class corrected
5587 2005-02-15 Mark Wielaard <mark@klomp.org>
5589 * java/awt/BasicStroke.java (hashCode): Implement.
5592 2005-02-15 Michael Koch <konqueror@gmx.de>
5594 * java/awt/print/PrinterJob.java
5595 (pageDialog): Throws java.awt.HeadlessException.
5596 (printDialog): Likewise.
5598 2005-02-15 Mark Wielaard <mark@klomp.org>
5600 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5602 2005-02-15 Michael Koch <konqueror@gmx.de>
5604 * javax/swing/JTable.java
5605 (getValueAt): New method.
5606 * javax/swing/table/JTableHeader.java
5607 (columnAtPoint): New method.
5609 2005-02-15 Michael Koch <konqueror@gmx.de>
5611 * javax/swing/JTextField.java
5612 (actions): New field.
5613 (static): Initalize actions field.
5614 (getActions): New method.
5616 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5618 * java/awt/Checkbox.java:
5619 (AccessibleAWTCheckbox): name capitalization corrected
5620 and serialization UID added.
5621 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5623 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5624 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5625 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5626 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5627 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5628 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5629 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5630 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5631 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5632 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5633 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5635 (getAccessibleContext()): name of accessible class corrected
5637 2005-02-15 Sven de Marothy <sven@physto.se>
5639 * java/awt/geom/doc-files/Area-1.png,
5640 java/awt/geom/doc-files/Ellipse-1.png,
5641 java/awt/geom/doc-files/GeneralPath-1.png:
5644 2005-02-15 Graydon Hoare <graydon@redhat.com>
5646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5647 Use union to avoid type-punning warning.
5649 2005-02-15 Michael Koch <konqueror@gmx.de>
5651 * javax/swing/DefaultListSelectionModel.java
5652 (clone): New method.
5654 2005-02-15 Mark Wielaard <mark@klomp.org>
5656 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5657 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5658 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5659 Correct method signature of gtkSetFilename.
5661 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5663 * javax/swing/text/StringContent.java: New file.
5665 2005-02-15 Michael Koch <konqueror@gmx.de>
5667 * Makefile.am: Added javax/swing/text/StringContent.java.
5668 * Makefile.in: Regenerated.
5670 2005-02-15 Michael Koch <konqueror@gmx.de>
5672 * gnu/java/awt/ClasspathToolkit.java:
5673 Import statements reworked.
5674 (imageCache): Made it of type java.util.HashMap.
5676 2005-02-15 Michael Koch <konqueror@gmx.de>
5678 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5679 Reworked import statements.
5681 2005-02-15 Graydon Hoare <graydon@redhat.com>
5683 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5686 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5687 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5688 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5689 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5692 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5693 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5694 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5696 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5698 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5699 Rewrite uses of extern variable to be function calls.
5700 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5701 function, from extern variable.
5702 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5703 (gdk_env): Remove variable, add new function.
5704 (java_vm): Add new variable.
5705 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5706 java_vm rather than old gdk_env variable.
5708 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5710 * javax/swing/DefaultListModel.java
5711 (add): fire correct event,
5712 (addElement): corrected interval indices in event,
5713 (clear): corrected upper bound for interval, only fire event if
5715 (setSize): fire appropriate event.
5717 2005-02-15 Graydon Hoare <graydon@redhat.com>
5719 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5720 * gnu/awt/xlib/XToolkit.java: Likewise.
5721 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5722 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5723 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5724 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5725 * java/awt/EventQueue.java (getNextEvent):
5726 Adjust event loop to switch to native mode after 100ms.
5727 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5729 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5730 Wake up event thread.
5731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5732 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5733 Adjust event loop to switch to java mode after 100ms.
5735 2005-02-15 Graydon Hoare <graydon@redhat.com>
5737 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5738 accidentally removed in last change.
5740 2005-02-15 Michael Koch <konqueror@gmx.de>
5742 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5743 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5745 2005-02-15 Graydon Hoare <graydon@redhat.com>
5747 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5748 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5749 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5750 * jni.cc: Reuse bottom frame between calls, avoid clearing
5751 frame when no local references are made.
5753 2005-02-15 Michael Koch <konqueror@gmx.de>
5755 * javax/swing/UIDefaults.java (UIDefaults):
5756 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5757 Fixed HTML entity and removed a redundant comma.
5759 2005-02-15 Michael Koch <konqueror@gmx.de>
5761 * javax/swing/text/DefaultEditorKit.java
5762 (deinstall): Removed.
5763 (install): Likewise.
5765 2005-02-15 Michael Koch <konqueror@gmx.de>
5767 * javax/swing/UIDefaults.java (put): Handle value of null.
5769 2005-02-15 Michael Koch <konqueror@gmx.de>
5771 * java/awt/Robot.java,
5772 java/awt/Scrollbar.java,
5773 java/awt/print/PrinterJob.java,
5774 javax/swing/JTable.java,
5775 javax/swing/text/AbstractDocument.java:
5776 Reworked import statements.
5778 2005-02-15 Michael Koch <konqueror@gmx.de>
5780 * javax/swing/JEditorPane.java
5781 (read): Implemented.
5783 * javax/swing/text/DefaultEditorKit.java
5784 (page): Renamed from page_url. Made private.
5785 (editorKit): Renamed from kit. Made private.
5787 (JEditorPane): All constructors reimplemented.
5788 (getContentType): Use content type from editor kit.
5789 (getEditorKit): Return editorKit.
5790 (getEditorKitForContentType):Likewise.
5791 (getPage): Return page.
5792 (setContentType): Reimplemented.
5793 (setEditorKit): Likewise.
5794 (setEditorKitForContentType): Removed wrong implementation.
5795 (setPage): Implemented.
5797 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5800 (nativeSetIconImageFromData): Re-add native implementation.
5802 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5804 * javax/swing/table/DefaultTableModel.java
5805 (DefaultTableModel()): Added Javadocs.
5806 (DefaultTableModel(int, int)): Fixed implementation.
5807 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5808 for negative rowCount.
5809 (DefaultTableModel(Object[], int)): Added Javadocs.
5810 (DefaultTableModel(Vector, Vector)): Likewise.
5811 (DefaultTableModel(Object[][], Object[])): Likewise.
5812 (getDataVector): Likewise.
5813 (setDataVector(Vector, Vector)): Likewise.
5814 (setDataVector(Object[][], Object[])): Likewise.
5815 (newDataAvailable): Likewise.
5816 (newRowsAdded): Likewise.
5817 (rowsRemoved): Likewise.
5818 (setColumnIdentifiers(Vector)): Allow for null argument.
5819 (setColumnIdentifiers(Object[])): Added Javadocs.
5820 (setNumRows): Likewise.
5821 (setRowCount): Adds new rows if necessary, and sends more specific
5823 (setColumnCount): Allow for null columnIdentifiers.
5824 (addColumn(Object)): Added Javadocs.
5825 (addColumn(Object, Vector)): Handle null columnData.
5826 (addColumn(Object, Object[])): Handle columnData with more or less
5827 entries than rows in the table.
5828 (addRow(Vector)): Fire appropriate event.
5829 (addRow(Object[])): Added Javadocs.
5830 (insertRow(int, Vector)): Fire appropriate event.
5831 (insertRow(int, Object[])): Added Javadocs.
5832 (moveRow): Reimplemented.
5833 (removeRow(int)): Fire appropriate event.
5834 (getColumnCount): Allow for null columnIdentifiers.
5835 (getColumnName): Now returns empty string when column index is too
5837 (isCellEditable): Added Javadocs.
5838 (getValueAt): Likewise.
5839 (setValueAt): Fire more specific event.
5840 (convertToVector): Added Javadocs.
5841 * javax/swing/table/TableModel.java
5844 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5846 * libgcj.spec.in (lib): Add -l-javax-imageio.
5848 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5850 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5851 references to event queue q with method call q().
5852 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5853 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5854 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5855 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5856 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5857 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5860 2005-02-15 Graydon Hoare <graydon@redhat.com>
5862 * gnu/java/awt/ClasspathToolkit.java
5863 (registerImageIOSpis): New method.
5864 * gnu/java/awt/image/ImageDecoder.java
5865 (imageDecoder): New constructor using InputStream
5866 (startProduction): Handle existing InputStream.
5867 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5868 (findSimpleIntegerArray): Make public and static.
5869 (updateBufferedImage): Set each pixel, in a loop.
5870 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5871 Implement ImageIO SPI classes.
5872 (createBufferedImage): Rewrite in terms of SPI classes.
5873 * gnu/java/awt/peer/gtk/GtkToolkit.java
5874 (registerImageIOSpis): New method.
5875 * java/lang/reflect/natMethod.cc
5876 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5877 which lets JNI call interface methods properly.
5878 * javax/imageio/ImageIO.java
5879 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5880 (WriterMIMETypeFilter.filter): Likewise.
5881 (ImageReaderIterator): Pass extension argument through to SPI.
5882 (getReadersByFilter): Likewise.
5883 (getWritersByFilter): Likewise.
5884 (getImageReadersByFormatName): Likewise.
5885 (getImageReadersByMIMEType): Likewise.
5886 (getImageReadersBySuffix): Likewise.
5887 (getImageWritersByFormatName): Likewise.
5888 (getImageWritersByMIMEType): Likewise.
5889 (getImageWritersBySuffix): Likewise.
5892 * javax/imageio/ImageReader.java
5893 (progressListeners): Initialize.
5894 (setInput): Implement.
5895 * javax/imageio/ImageWriter.java
5896 (progressListeners): Initialize.
5897 (warningListeners): Likewise.
5898 (warningLocales): Likewise.
5899 (setOutput): Test "isInstance" rather than class equality.
5900 * javax/imageio/spi/IIORegistry.java
5901 (static): Add reader and writer SPIs.
5902 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5904 (query_formats): New function.
5905 (save_to_stream): Likewise.
5906 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5908 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5910 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5912 (keyPress): Likewise.
5913 (keyRelease): Likewise.
5915 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5917 * javax/swing/JTable.java
5918 (columnAtPoint): New Method. Implemented.
5919 (rowAtPoint): Likewise.
5920 (countSelections): Fixed few small count errors.
5921 (getSelections): Likewise.
5922 (setSelectionMode): Set selection mode for column
5923 selection model in addition to row selection model.
5924 * javax/swing/plaf/basic/BasicTableUI.java:
5925 (getRowForPoint): Removed. Replaced by
5926 JTable.rowAtPoint().
5927 (getColForPoint): Removed. Replaced by
5928 JTable.columnAtPoint().
5929 (updateSelection): Updated to call JTable.columnAtPoint
5930 and JTable.rowAtPoint.
5931 * javax/swing/table/DefaultTableColumnModel.java:
5932 (getSelectedColumns): Implemented.
5933 (getSelectedColumnCount): Implemented.
5935 2005-02-15 Graydon Hoare <graydon@redhat.com>
5938 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5939 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5940 * Makefile.in: Regenerate.
5941 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5942 * gnu/awt/xlib/XFramePeer.java: Likewise.
5943 * gnu/awt/xlib/XToolkit.java: Likewise.
5944 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5945 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5946 * gnu/java/awt/ClasspathToolkit.java
5949 (iterateNativeQueue): New methods.
5950 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5951 * gnu/java/awt/peer/gtk/GtkToolkit.java
5952 (gtkInit): Absorb from defunct GtkMainThread class.
5953 (static): Run gtkInit in static startup block.
5954 (GtkToolkit): Remove construction of GtkMainThread and queue.
5955 (getSystemEventQueueImpl): Construct queue when requested.
5958 (iterateNativeQueue): New methods.
5959 * java/awt/Component.java (removeNotify): Remove race.
5960 * java/awt/EventDispatchThread.java
5961 (EventDispatchThread): Don't start on construction.
5962 (run): Remove isInterrupted check.
5963 * java/awt/EventQueue.java (shutdown): New flag.
5964 (isShutdown): New method checking J2SE shutdown condition.
5965 (setShutdown): New method.
5966 (getNextEvent): Restructure to use ClasspathToolkit.
5967 (postEvent): Activate new thread on posting, wake thread on
5968 post of possible shutdown condition event.
5969 * java/awt/Frame.java
5970 (Frame): Call noteFrame in all constructors.
5971 (fireDummyEvent): New helper method.
5972 (addNotify): Fire a dummy event to wake up queue.
5973 (removeNotify): Fire a dummy event to wake up queue.
5974 (noteFrame): New method.
5975 (weakFrames): New static field.
5976 (getFrames): Implement.
5977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5979 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5980 Move everything from GtkMainThread into this file
5981 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5982 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5983 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5984 New functions to implement single-threaded queue semantics.
5986 2005-02-15 Michael Koch <konqueror@gmx.de>
5988 * javax/swing/plaf/metal/MetalLookAndFeel.java
5989 (getControlTextFont): New method.
5990 (getMenuTextFont): Likewise.
5991 (getSubTextFont): Likewise.
5992 (getSystemTextFont): Likewise.
5993 (getUserTextFont): Likewise.
5994 (getWindowTitleFont): Likewise.
5996 2005-02-15 Michael Koch <konqueror@gmx.de>
5998 * javax/swing/text/AbstractDocument.java
5999 (documentFilter): New field.
6000 (getDocumentFilter): New method.
6001 (setDocumentFilter): Likewise.
6004 2005-02-15 Michael Koch <konqueror@gmx.de>
6006 * javax/swing/JTree.java
6007 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6009 2005-02-15 Michael Koch <konqueror@gmx.de>
6011 * javax/swing/text/AbstractDocument.java
6012 (AbstractElement.getLength): Fixed off-by-one error.
6013 (AbstractElement.children): Made abstract.
6014 (AbstractElement.getAllowsChildren): Likewise.
6015 (AbstractElement.getElement): Likewise.
6016 (AbstractElement.dumpElement): New private method.
6017 (AbstractElement.dump): New method.
6018 (BranchElememt.getName): Fixed implementation.
6019 (BranchElememt.toString): Likewise.
6020 (BranchElememt.getElement): Fixed arguments.
6021 (LeafElement.getName): Fixed implementation.
6022 (LeafElement.toString): Likewise.
6023 * javax/swing/text/GapContent.java
6024 (GapContent): Put default content into buffer.
6025 * javax/swing/text/PlainDocument.java
6026 (reindex): Use empty attribute sets instead of null.
6027 (createDefaultRoot): Reimplemented.
6028 (insertUpdate): Call super method.
6029 (removeUpdate): Likewise.
6030 (getParagraphElement): Implemented.
6032 2005-02-15 Michael Koch <konqueror@gmx.de>
6034 * gnu/java/awt/ClasspathToolkit.java
6035 (createRobot): Throws java.awt.AWTException.
6036 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6037 Added '__attribute__((unused))' to all unused method arguments.
6039 2005-02-15 Michael Koch <konqueror@gmx.de>
6041 * javax/swing/DefaultBoundedRangeModel.java
6042 (fireValueChanged): Fixed off-by-one error.
6044 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6046 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6047 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6049 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6050 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6051 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6052 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6053 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6054 (getDefaultScreenDevice): Implement.
6055 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6056 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6057 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6058 * java/awt/Robot.java: Implement.
6059 * java/awt/peer/RobotPeer.java: Rename parameters.
6060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6062 (awt_keycode_to_keysym): Make non-static.
6063 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6064 AWT_BUTTON3_MASK): Declare constants.
6065 (awt_keycode_to_keysym): Declare.
6067 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6068 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6069 and is non-empty pass its value to "make check".
6070 (test_mauve_sim): Likewise.
6072 2005-02-15 Michael Koch <konqueror@gmx.de>
6074 * javax/imageio/IIOParam.java
6075 (setSourceBands): New method.
6076 (setSourceSubsampling): Likewise.
6077 * javax/imageio/ImageReadParam.java
6078 (setDestination): Likewise.
6079 (setDestinationBands): Likewise.
6080 (setSourceProgressivePasses): Likewise.
6081 * javax/imageio/metadata/IIOInvalidTreeException.java
6082 (serialVersionUID): New static field.
6083 * javax/imageio/metadata/IIOMetadataNode.java
6084 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6085 (parent): Dont initailize with default value explicitely.
6087 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6088 (removeAttributeNode): Likewise.
6089 (removeAttributeNS): Likewise.
6090 (setAttribute): Likewise.
6091 (setAttributeNode): Likewise.
6092 (setAttributeNodeNS): Likewise.
6093 (setAttributeNS): Likewise.
6094 (appendChild): Likewise.
6095 (getNodeValue): Likewise.
6096 (insertBefore): Likewise.
6097 (removeChild): Likewise.
6098 (replaceChild): Likewise.
6099 (setPrefix): Likewise.
6101 2005-02-15 Michael Koch <konqueror@gmx.de>
6103 * javax/swing/LookAndFeel.java
6104 (getDesktopPropertyValue): New method.
6106 2005-02-15 Michael Koch <konqueror@gmx.de>
6108 * javax/swing/JTree.java
6109 (hasChildren): New instance field.
6111 2005-02-15 Michael Koch <konqueror@gmx.de>
6113 * javax/swing/JComponent.java
6114 (getToolTipText): New method.
6115 (getTitledBorderText): Likewise.
6116 (getAccessibleKeyBinding): Likewise.
6117 (getVerifyInputWhenFocusTarget): Likewise.
6118 (setVerifyInputWhenFocusTarget): Likewise.
6119 (verifyInputWhenFocusTarget): New instance field.
6121 2005-02-15 Michael Koch <konqueror@gmx.de>
6123 * javax/swing/DefaultListSelectionModel.java
6124 (fireValueChanged): New method.
6126 2005-02-15 Michael Koch <konqueror@gmx.de>
6128 * javax/swing/DefaultBoundedRangeModel.java:
6129 Fixed javadocs all over.
6130 (fireStateChanged): Simplified.
6131 * javax/swing/BoundedRangeModel.java:
6134 2005-02-15 Michael Koch <konqueror@gmx.de>
6136 * javax/swing/JRootPane.java
6137 (setMenuBar): Added @deprecated tag.
6138 (getMenuBar): Likewise.
6139 * javax/swing/JTable.java
6140 (sizeColumnsToFit): Likewise.
6142 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6144 * javax/swing/ImageIcon.java (setImage): Implemented.
6146 2005-02-15 Michael Koch <konqueror@gmx.de>
6148 * javax/swing/JTable.java:
6149 Removed unused imports.
6151 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6153 (prepareRenderer): Get column's index in dataModel instead
6154 of column's view index.
6155 (getColumnCount): return count of the columns in ColumnModel,
6157 (removeColumn): Implemented.
6158 (moveColumm): Likewise.
6159 (setRowHeight): throw IllegalArgumentException if height is
6161 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6162 (DefaultTableColumnModel):Add call to createSelectionModel().
6163 (addColumn): Fire columnAdded event to registered listeners.
6164 (removeColumn): Fire columnRemoved event to registered listeners.
6165 (moveColumn): Fire columnMoved event to registered listeners.
6166 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6167 (getColumnIndex): Changed parameter name.
6168 (setColumnSelectionAllowed): Likewise.
6169 (fireColumnAdded): Implemented.
6170 (fireColumnRemoved): Likewise.
6171 (fireColumnMoved): Likewise.
6172 (fireColumnMarginChanged): Likewise.
6173 (getListeners): Changed parameter name.
6174 (propertyChange): Implemented.
6175 (valueChanged): Changed parameter name.
6176 (createSelectionModel): Implemented.
6178 2005-02-15 Michael Koch <konqueror@gmx.de>
6180 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6181 Explicitely import used classes.
6182 (getLocalGraphicsEnvironment): Simplify.
6183 * java/awt/Window.java (Window):
6184 Enable code to get the default GraphicsConfiguration.
6186 2005-02-15 Michael Koch <konqueror@gmx.de>
6188 * javax/swing/plaf/metal/DefaultMetalTheme.java
6189 (CONTROL_TEXT_FONT): New static field.
6190 (MENU_TEXT_FONT): Likewise.
6191 (SUB_TEXT_FONT): Likewise.
6192 (SYSTEM_TEXT_FONT): Likewise.
6193 (USER_TEXT_FONT): Likewise.
6194 (WINDOW_TITLE_FONT): Likewise.
6195 (getControlTextFont): New method.
6196 (getMenuTextFont): Likewise.
6197 (getSubTextFont): Likewise.
6198 (getSystemTextFont): Likewise.
6199 (getUserTextFont): Likewise.
6200 (getWindowTitleFont): Likewise.
6201 * javax/swing/plaf/metal/MetalTheme.java
6202 (BLACK): Initialize with Color.BLACK.
6203 (WHITE): Initialize with Color.WHITE.
6204 (getInactiveControlTextColor): Return getControlDisabled().
6205 (getMenuDisabledForeground): Return getSecondary3().
6206 (getControlTextFont): New abstract method.
6207 (getMenuTextFont): Likewise.
6208 (getSubTextFont): Likewise.
6209 (getSystemTextFont): Likewise.
6210 (getUserTextFont): Likewise.
6211 (getWindowTitleFont): Likewise.
6213 2005-02-15 Michael Koch <konqueror@gmx.de>
6215 * javax/swing/JFormattedTextField.java
6216 (getFocusLostBehavior): Fixed typo in method name.
6217 (setFocusLostBehavior): Likewise.
6219 2005-02-15 Michael Koch <konqueror@gmx.de>
6221 * javax/swing/TransferHandler.java:
6222 Reworked import statements.
6224 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6226 * java/awt/Button.java,
6227 java/awt/Canvas.java,
6228 java/awt/Checkbox.java,
6229 java/awt/CheckboxMenuItem.java,
6230 java/awt/Choice.java,
6231 java/awt/Dialog.java,
6232 java/awt/Frame.java,
6233 java/awt/Label.java,
6236 java/awt/MenuBar.java,
6237 java/awt/MenuItem.java,
6238 java/awt/PopupMenu.java,
6239 java/awt/ScrollPane.java,
6240 java/awt/Scrollbar.java,
6241 java/awt/TextArea.java,
6242 java/awt/Window.java (getAccessibleContext): Clean up comments.
6244 * java/awt/Button.java,
6245 java/awt/Checkbox.java,
6246 java/awt/Choice.java,
6248 java/awt/PopupMenu.java,
6249 java/awt/TextArea.java (getAccessibleContext): Only create new
6251 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6253 2005-02-15 Michael Koch <konqueror@gmx.de>
6255 * java/awt/Button.java,
6256 javax/swing/JApplet.java,
6257 javax/swing/JFormattedTextField.java,
6258 javax/swing/JWindow.java,
6259 javax/swing/JTree.java,
6260 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6261 javax/swing/plaf/basic/BasicTextPaneUI.java,
6262 javax/swing/plaf/basic/BasicTreeUI.java:
6263 Reworked import statements.
6265 2005-02-15 Michael Koch <konqueror@gmx.de>
6267 * Makefile.am: Put javax.imageio into its own library and link it
6268 against lib-org-w3c-dom.la to fix bootstrapping.
6269 * Makefile.in: Regenerated.
6271 2005-02-15 Michael Koch <konqueror@gmx.de>
6273 * javax/swing/text/TextAction.java
6274 (getTextComponent): Simplified. Added Javadoc.
6275 (augmentList): Implemented. Added Javadoc.
6276 (getFocusedComponent): Added javadoc.
6278 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6280 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6281 getAccessibleContext): Implement.
6282 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6283 getAccessibleContext): Implement.
6285 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6287 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6289 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6291 * java/awt/Window.java (getAccessibleContext): Fix comment.
6292 Remove extra import.
6294 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6296 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6297 (isActive, isFocused, getAccessibleContext): Implement.
6299 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6301 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6302 * java/awt/MenuComponent.java (accessibleContext): Make package
6304 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6305 AccessibleAWTCheckboxMenuItem): Implement.
6307 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6309 * java/awt/List.java: Implement AccessibleAWTList,
6310 AccessibleAWTListChild.
6312 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6314 * java/awt/Choice.java: Add implements declaration for
6317 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6319 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6322 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6324 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6325 implemented interface list.
6327 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6329 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6330 * javax/imageio/metadata/IIOAttr.java: New class.
6331 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6332 * javax/imageio/metadata/IIONodeList.java: New class.
6333 * Makefile.am: Added new files.
6334 * Makefile.in: Regenerated.
6336 2005-02-15 Michael Koch <konqueror@gmx.de>
6338 * javax/swing/AbstractAction.java,
6339 javax/swing/AbstractCellEditor.java,
6340 javax/swing/AbstractListModel.java,
6341 javax/swing/DefaultBoundedRangeModel.java,
6342 javax/swing/DefaultButtonModel.java,
6343 javax/swing/DefaultCellEditor.java,
6344 javax/swing/DefaultComboBoxModel.java,
6345 javax/swing/DefaultDesktopManager.java,
6346 javax/swing/JMenu.java,
6347 javax/swing/JSlider.java,
6348 javax/swing/KeyStroke.java,
6349 javax/swing/OverlayLayout.java,
6350 javax/swing/ScrollPaneLayout.java,
6351 javax/swing/SizeRequirements.java,
6352 javax/swing/ViewportLayout.java:
6353 Made serialVersionUID private.
6355 2005-02-15 Michael Koch <konqueror@gmx.de>
6357 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6360 2005-02-15 Michael Koch <konqueror@gmx.de>
6362 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6364 2005-02-15 Michael Koch <konqueror@gmx.de>
6366 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6368 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6370 * java/awt/EventDispatchThread.java,
6371 java/awt/Toolkit.java:
6372 Don't catch java.lang.ThreadDeath.
6374 2005-02-15 Michael Koch <konqueror@gmx.de>
6376 * javax/swing/text/PasswordView.java
6377 (drawEchoCharacter): Added javadoc.
6378 (drawSelectedText): Likewise.
6379 (drawUnselectedText): Likewise.
6381 2005-02-15 Michael Koch <konqueror@gmx.de>
6383 * javax/swing/JRootPane.java
6384 (windowDecorationStyle): New field.
6385 (setMenuBar): New method.
6386 (getMenuBar): Likewise.
6387 (getWindowDecorationStyle): Likewise.
6388 (setWindowDecorationStyle): Likewise.
6390 2005-02-15 Michael Koch <konqueror@gmx.de>
6392 * javax/swing/DefaultListSelectionModel.java
6393 (leadAnchorNotificationEnabled): Made protected.
6395 2005-02-15 Michael Koch <konqueror@gmx.de>
6397 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6398 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6399 * Makefile.in: Regenerated.
6402 2005-02-15 Michael Koch <konqueror@gmx.de>
6404 * javax/swing/JFormattedTextField.java: Implemented.
6405 * javax/swing/JWindow.java
6406 (JWindow): New constructors.
6407 (initWindow): Renamed from initFrame.
6408 * javax/swing/UIDefaults.java
6409 (ActiveValue): Made interface static.
6410 (LazyValue): Likewise.
6411 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6412 (TitlePaneLayout.TitlePaneLayout): New constructor.
6413 * javax/swing/plaf/basic/BasicSliderUI.java
6414 (ChangeHandler): Made public.
6415 (FocusHandler): Likewise.
6416 (PropertyChangeHandler): Likewise.
6417 (ScrollListener): Likewise.
6418 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6419 (FocusHandler): Likewise.
6420 (MouseHandler): Likewise.
6421 * javax/swing/plaf/basic/BasicTextPaneUI.java
6422 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6423 * javax/swing/plaf/basic/BasicToolBarUI.java
6424 (BasicToolBarUI): Simplified. Reworked javadoc.
6425 (canDock): Simplified. Make public.
6426 (DockingListener): Made public.
6427 * javax/swing/text/JTextComponent.java
6428 (navigationFilter): New field.
6429 (getNavigationFilter): New method.
6430 (setNavigationFilter): Likewise.
6432 2005-02-15 Michael Koch <konqueror@gmx.de>
6434 * javax/swing/plaf/metal/MetalTheme.java
6435 (getControlTextColor): Return getControlInfo().
6436 (getHighlightedTextColor): Return getControlTextColor().
6438 2005-02-15 Michael Koch <konqueror@gmx.de>
6440 * javax/swing/plaf/basic/BasicButtonListener.java
6441 (BasicButtonListener): New constructor.
6442 * javax/swing/plaf/basic/BasicButtonUI.java
6443 (createButtonListener): Usw new BasicButtonListener constructor.
6445 2005-02-15 Michael Koch <konqueror@gmx.de>
6447 * javax/imageio/event/package.html,
6448 javax/imageio/metadata/package.html: New files.
6450 2005-02-15 Michael Koch <konqueror@gmx.de>
6452 * java/awt/image/MemoryImageSource.java: Reformatted.
6454 2005-02-15 Michael Koch <konqueror@gmx.de>
6456 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6458 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6460 * java/awt/color/ICC_Profile.java
6461 (finalize): Removed pointless field assignments.
6463 2005-02-15 Michael Koch <konqueror@gmx.de>
6465 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6466 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6467 * Makefile.in: Regenerated.
6469 2005-02-15 Michael Koch <konqueror@gmx.de>
6471 * javax/swing/text/DefaultStyledDocument.java: New file.
6472 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6473 * Makefile.in: Regenerated.
6475 2005-02-15 Michael Koch <konqueror@gmx.de>
6477 * javax/swing/JFileChooser.java
6478 (showDialog): Return CANCEL_OPTION for now.
6479 (showOpenDialog): Likewise.
6480 (showSaveDialog): Likewise.
6482 2005-02-15 Michael Koch <konqueror@gmx.de>
6484 * javax/swing/JApplet.java
6485 (HIDE_ON_CLOSE): Removed.
6486 (EXIT_ON_CLOSE): Likewise.
6487 (DISPOSE_ON_CLOSE): Likewise.
6488 (DO_NOTHING_ON_CLOSE): Likewise.
6489 (close_action): Likewise.
6490 (getDefaultCloseOperation): Likewise.
6491 (setDefaultCloseOperation): Likewise.
6492 (processWindowEvent): Likewise.
6493 (getPreferredSize): Simplified.
6494 * javax/swing/JInternalFrame.java
6495 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6497 * javax/swing/JWindow.java
6498 (HIDE_ON_CLOSE): Removed.
6499 (EXIT_ON_CLOSE): Likewise.
6500 (DISPOSE_ON_CLOSE): Likewise.
6501 (DO_NOTHING_ON_CLOSE): Likewise.
6502 (close_action): Likewise.
6503 (processKeyEvent): Likewise.
6504 (setDefaultCloseOperation): Likewise.
6505 (getPreferredSize): Simplified.
6507 2005-02-15 Michael Koch <konqueror@gmx.de>
6509 * javax/swing/JTextField.java
6510 (getPreferredSize): Re-implemented.
6512 2005-02-15 Michael Koch <konqueror@gmx.de>
6514 * javax/swing/JLabel.java
6515 (setDisplayedMnemonic): Use only upper case characters.
6516 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6517 PropertyChangeEvent after property got set to the new index.
6519 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6521 * javax/swing/JComboBox.java:
6522 (JComboBox): Removed selection of the
6523 first item in the model.
6525 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6527 * javax/swing/JComboBox.java
6528 added support for no item being selected
6529 (JComboBox): select first or nothing depending on element count
6530 (setModel): cleaned up unneeded "this." usage, added more
6531 docs, made exception behavior match that of the JDK
6532 (setLighWeightPopupEnabled): removed unneeded "this." usage
6534 (setMaximumRowCount): dito
6536 (setPrototypeDisplayValue): dito
6537 (getSelectedItem): simplified, added more user doc
6538 (setSelectedIndex): corrected exception behavior, added more user doc
6539 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6540 added performance warning to user doc
6541 (addItem): fixed exception behavior, added user doc
6542 (insertItemAt): dito
6544 (removeItemAt): dito
6545 (removeAll): fixed exception behavior, added user doc, added support
6546 for model not being instance of DefaultComboBoxModel
6547 (getSelectedItemObjects): simplified
6548 (getItemCount): fixed dependency on DefaultComboBoxModel
6549 (getItemAt): fixed dependency on MutableComboBoxModel
6550 * javax/swing/DefaultComboBoxModel.java:
6551 (setSelectedItem): updates selected item only if new
6552 value is null or known (match JDK behavior)
6553 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6554 (paintCurrentValue): renders "" if no item is selected
6556 2005-02-15 Michael Koch <konqueror@gmx.de>
6558 * javax/swing/plaf/metal/MetalTheme.java,
6559 javax/swing/plaf/metal/DefaultMetalTheme.java:
6561 * javax/swing/plaf/metal/MetalLookAndFeel.java
6562 * Makefile.am: Added the new files.
6563 * Makefile.in: Regenerated.
6565 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6567 * javax/swing/JTable.java
6568 (editorComp): New field.
6569 (JTable): Initialize local variables and call updateUI
6570 (selectionBackground): Make protected.
6571 (selectionForeground): Likewise.
6572 (initializeLocalVars): Create default editors and renderers,
6573 initialize editingColumn, editingRow variables.
6574 (createDefaultEditors): New Method.
6575 (createDefaultRenderers): Likewise.
6576 (createDefaultListSelectionModel): Removed
6577 (createDefaultSelectionModel): New Method.
6578 (createDefaultTableHeader): Likewise
6579 (removeColumn): Likewise.
6580 (getEditingColumn): Likewise.
6581 (setEditingColumn): Likewise.
6582 (getEditingRow): Likewise.
6583 (setEditingRow): Likewise.
6584 (getEditorComponent): Likewise.
6585 (isEditing): Likewise.
6586 (setDefaultEditor): Likewise.
6587 (addColumnSelectionInterval): Likewise.
6588 (addRowSelectionInterval): Likewise.
6589 (setColumnSelectionInterval): Likewise.
6590 (setRowSelectionInterval): Likewise.
6591 (removeColumnSelectionInterval): Likewise.
6592 (removeRowSelectionInterval): Likewise.
6593 (isColumnSelected): Likewise.
6594 (isRowSelected): Likewise.
6595 (isCellSelected): Likewise.
6596 (selectAll): Likewise.
6598 2005-02-15 Michael Koch <konqueror@gmx.de>
6600 * javax/swing/JTable.java
6601 (addColumn): New method.
6602 (getColumnClass): Likewise.
6603 (getColumnName): Likewise.
6605 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6607 * javax/swing/TransferHandler.java
6608 (createTransferable): Made protected.
6610 2005-02-15 Michael Koch <konqueror@gmx.de>
6612 * javax/swing/JTable.java,
6613 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6614 javax/swing/plaf/basic/BasicTableUI.java:
6615 Use fixed get/setIntercellSpacing() methods.
6617 2005-02-15 Michael Koch <konqueror@gmx.de>
6619 * javax/swing/JTable.java
6620 (getIntercellSpacing): Fixed typo in method name.
6621 (setIntercellSpacing): Likewise.
6623 2005-02-15 Michael Koch <konqueror@gmx.de>
6625 * javax/swing/text/JTextComponent.java
6626 (focusAccelerator): New variable.
6627 (getFocusAccelerator): New method.
6628 (setFocusAccelerator): Likewise.
6630 2005-02-15 Michael Koch <konqueror@gmx.de>
6632 * javax/swing/JComponent.java
6633 (setTransferHandler): Made public. Fire property change event.
6634 * javax/swing/TransferHandler.java: Implemented.
6635 * javax/swing/text/JTextComponent.java
6636 (DefaultTransferHandler): New inner class.
6637 (defaultTransferHandler): New variable.
6641 (doTransferAction): Likewise.
6643 2005-02-15 Michael Koch <konqueror@gmx.de>
6645 * javax/swing/JTree.java
6646 (collapsePath): New method.
6647 (collapseRow): Likewise.
6648 (expandPath): Likewise.
6649 (expandRow): Likewise.
6650 (checkExpandParents): Likewise.
6651 (doExpandParents): Likewise.
6652 (setExpandedState): Likewise.
6653 (makeVisible): Likewise.
6655 2005-02-15 Michael Koch <konqueror@gmx.de>
6657 * javax/swing/JPasswordField.java: Updated javadocs.
6659 2005-02-15 Michael Koch <konqueror@gmx.de>
6661 * javax/swing/JLayeredPane.java
6662 (getLayer): Fixed return type, made public.
6663 (getPosition): Use new getLayer().
6664 (SetPosition): Likewise.
6665 (getIndexOf): Likewise.
6667 * javax/swing/JInternalFrame.java
6668 (getLayer): Use new JLayeredPane.getLayer().
6671 2005-02-15 Michael Koch <konqueror@gmx.de>
6673 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6674 (setHeaderValue): Simplified. Do nothing when old value == new value.
6676 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6678 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6679 against null clip region.
6680 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6681 gtkWindowSetResizable.
6682 (postConfigureEvent): Only revalidate if frame size has changed.
6683 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6684 Only revalidate if frame size has changed.
6685 * java/awt/Component.java (reshape): Only repaint and post
6686 component events if component is showing.
6687 * java/awt/Container.java (addImpl): Only post container event if
6688 container is showing.
6690 * java/awt/Window.java (setLocationRelativeTo): Implement.
6691 (setBoundsCallback): Only post component events if component is
6693 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6694 Protect against null graphics structure. Flush gdk event queue.
6696 2005-02-15 Michael Koch <konqueror@gmx.de>
6698 * javax/imageio/ImageReader.java,
6699 javax/imageio/ImageTranscoder.java,
6700 javax/imageio/ImageWriter.java,
6701 javax/imageio/spi/ImageInputStreamSpi.java,
6702 javax/imageio/spi/ImageOutputStreamSpi.java,
6703 javax/imageio/spi/ServiceRegistry.java,
6704 javax/imageio/stream/ImageInputStream.java,
6705 javax/imageio/stream/ImageOutputStream.java: Updated.
6706 * javax/imageio/IIOException.java,
6707 javax/imageio/IIOImage.java,
6708 javax/imageio/IIOParam.java,
6709 javax/imageio/IIOParamController.java,
6710 javax/imageio/ImageIO.java,
6711 javax/imageio/ImageReadParam.java,
6712 javax/imageio/ImageTypeSpecifier.java,
6713 javax/imageio/ImageWriteParam.java,
6714 javax/imageio/spi/IIORegistry.java,
6715 javax/imageio/spi/ImageReaderSpi.java,
6716 javax/imageio/spi/ImageWriterSpi.java,
6717 javax/imageio/stream/FileCacheImageInputStream.java,
6718 javax/imageio/stream/FileCacheImageOutputStream.java,
6719 javax/imageio/stream/FileImageInputStream.java,
6720 javax/imageio/stream/FileImageOutputStream.java,
6721 javax/imageio/stream/ImageInputStreamImpl.java,
6722 javax/imageio/stream/ImageOutputStreamImpl.java,
6723 javax/imageio/stream/MemoryCacheImageInputStream.java,
6724 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6725 javax/imageio/event/IIOReadProgressListener.java,
6726 javax/imageio/event/IIOReadUpdateListener.java,
6727 javax/imageio/event/IIOReadWarningListener.java,
6728 javax/imageio/event/IIOWriteProgressListener.java,
6729 javax/imageio/event/IIOWriteWarningListener.java,
6730 javax/imageio/metadata/IIOMetadata.java,
6731 javax/imageio/metadata/IIOMetadataController.java,
6732 javax/imageio/metadata/IIOMetadataFormat.java,
6733 javax/imageio/metadata/IIOInvalidTreeException.java,
6734 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6735 javax/imageio/metadata/IIOMetadataNode.java: New files.
6736 * Makefile.am (javax_source_files): Added new files
6737 * Makefile.in: Regenerated.
6739 2005-02-15 Graydon Hoare <graydon@redhat.com>
6741 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6742 Rework painting into BufferedImages
6743 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6744 Construct BufferedImage with alpha only when alpha is
6745 present in colormodel.
6746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6747 Rework painting into client-side jint arrays.
6748 * jni/gtk-peer/gtkcairopeer.h:
6751 2005-02-15 Michael Koch <konqueror@gmx.de>
6753 * javax/swing/DefaultListCellRenderer.java
6754 (serialVersionUID): Made private.
6755 (getListCellRendererComponent): Set horizontal alignment.
6756 * javax/swing/JLabel.java
6757 (setVerticalAlignment): Re-implemented.
6758 (setHorizontalAlignment): Do nothing if old value = new value.
6759 * javax/swing/JList.java
6760 (setCellRenderer): Likewise.
6761 (setModel): Re-implemented.
6762 (setSelectionModel): Likewise.
6764 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6766 * java/awt/Component.java,
6767 java/awt/geom/Rectangle2D.java:
6770 2005-02-15 Michael Koch <konqueror@gmx.de>
6772 * javax/swing/AbstractListModel.java
6773 (fireContentsChanged): Simplified.
6774 (fireIntervalAdded): Likewise.
6775 (fireIntervalRemoved): Likewise.
6776 * javax/swing/DefaultSingleSelectionModel.java:
6778 (fireStateChanged): Simplified.
6779 * javax/swing/JPopupMenu.java
6780 (setSelectionModel): Set property.
6782 2005-02-15 Michael Koch <konqueror@gmx.de>
6784 * java/awt/print/Book.java: Reformatted.
6786 2005-02-15 Michael Koch <konqueror@gmx.de>
6788 * java/awt/geom/Area.java
6789 (QuadSegment.curveArea): Remove unused variables.
6790 (CubicSegment.curveArea): Likewise.
6792 2005-02-15 Michael Koch <konqueror@gmx.de>
6794 * javax/swing/JTree.java
6795 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6796 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6797 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6798 (EXPANDED): New constant.
6799 (COLLAPSED): Likewise.
6800 (nodeStates): New field.
6801 (cellEditor): New method.
6802 (cellRenderer): Likewise.
6803 (selectionModel): Likewise.
6804 (treeModel): Likewise.
6805 (scrollPathToVisible): Likewise.
6806 (scrollRowToVisible): Likewise.
6807 (isCollapsed): Likewise.
6808 (isExpanded): Likewise.
6809 (clearToggledPaths): Likewise.
6810 (getDescendantToggledPaths): Likewise.
6811 (hasBeenExpanded): Likewise.
6812 (isVisible): Likewise.
6813 (isPathEditable): Likewise.
6815 2005-02-15 Michael Koch <konqueror@gmx.de>
6817 * javax/swing/JLayeredPane.java: Reformatted.
6819 2005-02-15 Michael Koch <konqueror@gmx.de>
6821 * javax/swing/tree/DefaultMutableTreeNode.java:
6823 * javax/swing/tree/MutableTreeNode.java:
6826 2005-02-15 Michael Koch <konqueror@gmx.de>
6828 * javax/swing/JFormattedTextField.java
6829 (setDocument): Call setDocument of super class. Don't fire property
6832 2005-02-15 Sven de Marothy <sven@physto.se>
6834 * java/awt/image/IndexColorModel.java:
6835 Add FIXME with respect to alpha handling.
6836 (getAlpha): Default to returning opaque pixels.
6837 * java/awt/image/MultiPixelPackedSampleModel.java
6838 (MultiPixelPackedSampleModel): Corrected parameters, order of
6839 bit shifts and masks, stride length off by one.
6841 2005-02-15 Michael Koch <konqueror@gmx.de>
6843 * javax/swing/JList.java, javax/swing/JTree.java:
6844 Added much new methods and fixed much methods setting bound properties.
6846 2005-02-16 Mark Wielaard <mark@klomp.org>
6848 * Makefile.am (gnu_xml_source_files): Removed
6849 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6850 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6851 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6852 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6853 gnu/xml/dom/DomDocumentFragment.java,
6854 gnu/xml/dom/DomProcessingInstruction.java and
6855 gnu/xml/dom/ls/DomLSException.java.
6856 * Makefile.in: Regenerated.
6858 2005-02-16 Tom Tromey <tromey@redhat.com>
6860 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6861 attribute index is out of bounds.
6863 2005-02-16 Chris Burdess <dog@gnu.org>
6865 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6866 isDeclared methods. Improved performance of isSpecified methods.
6868 2005-02-16 Chris Burdess <dog@gnu.org>
6870 Fixes bug libgcj/19864
6871 * gnu/xml/dom/DomAttr.java,
6872 gnu/xml/dom/DomCDATA.java,
6873 gnu/xml/dom/DomCDATASection.java,
6874 gnu/xml/dom/DomCharacterData.java,
6875 gnu/xml/dom/DomDOMException.java,
6876 gnu/xml/dom/DomDoctype.java,
6877 gnu/xml/dom/DomDocument.java,
6878 gnu/xml/dom/DomDocumentConfiguration.java,
6879 gnu/xml/dom/DomDocumentFragment.java,
6880 gnu/xml/dom/DomElement.java,
6881 gnu/xml/dom/DomEx.java,
6882 gnu/xml/dom/DomFragment.java,
6883 gnu/xml/dom/DomImpl.java,
6884 gnu/xml/dom/DomIterator.java,
6885 gnu/xml/dom/DomNamedNodeMap.java,
6886 gnu/xml/dom/DomNode.java,
6887 gnu/xml/dom/DomNsNode.java,
6888 gnu/xml/dom/DomPI.java,
6889 gnu/xml/dom/DomProcessingInstruction.java,
6890 gnu/xml/dom/DomText.java,
6891 gnu/xml/dom/DomLSEx.java,
6892 gnu/xml/dom/DomLSException.java,
6893 gnu/xml/dom/DomLSParser.java,
6894 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6895 implementation class names to conform to Classpath guidelines. Make
6896 DomLSException use JDK 1.4+ exception chaining.
6897 * gnu/xml/util/SAXNullTransformerFactory.java,
6898 gnu/xml/xpath/Predicate.java: Use constants relative to
6899 declaring class or interface.
6901 2005-02-16 Andrew Haley <aph@redhat.com>
6903 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6904 null, create a new AccessControlContext.
6905 * java/security/SecureClassLoader.java (protectionDomainCache):
6907 (defineClass): Create a new protection domain and add it to our
6910 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6911 addStub() to keep track of the stub we've exported.
6912 (unexportObject): Call deleteStub().
6913 * java/rmi/server/RemoteObject.java (stubs): New field.
6914 (addStub): New method.
6915 (deleteStub): New method.
6918 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6919 true to findHelper (tryParents).
6920 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6922 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6923 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6925 If tryParents is false, don't scan parent class loaders.
6927 * java/security/Permissions.java (PermissionsHash.implies):
6928 Iterate over the collection and invoke implies() on each
6931 2005-02-16 Andrew Haley <aph@redhat.com>
6933 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6935 (PersistentByteMap): Set name
6936 Magic number changed to 0x67636a64 ("gcjd").
6937 (init): Force the map to be prime.
6938 (emptyPersistentByteMap): File name was a string, now a File.
6939 (addBytes): Share srings between entries.
6940 (stringTableSize): New method.
6941 (capacity): Scale by load factor.
6942 (force): New method.
6943 (getFile): New method.
6944 (close): New method.
6945 (putAll): New method.
6946 (ByteWrapper): New class.
6947 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6948 (main): Guess the average string size as 32, not 64.
6949 Copy a database before modifying it, so that we can update a
6950 database in a running system.
6951 If a database isn't big enough, resize it.
6952 "-m": new option: merges databases.
6953 "-a": Create a new detabase if it doesn't exist.
6954 (usage): Correct, add new option.
6955 (addJar): Copy a database before modifying it.
6956 (resizeMap): New method.
6958 2005-02-15 David Daney <ddaney@avtrex.com>
6959 Bryce McKinlay <mckinlay@redhat.com>
6961 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6962 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6963 ensure that GC threads inherit the new signal mask.
6964 (block_sigchld): Call JvFail rather than throwing exception if
6965 pthread_sigmask() fails.
6967 2005-02-15 Mark Wielaard <mark@klomp.org>
6969 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6970 file path elements are separated by spaces.
6972 2005-02-15 Mark Wielaard <mark@klomp.org>
6974 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6975 to describe attributes without a constant field value in this class.
6977 2005-02-15 Michael Koch <konqueror@gmx.de>
6979 * java/util/jar/Attributes.java
6980 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6982 2005-02-15 Mark Wielaard <mark@klomp.org>
6984 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6985 space for parsing CLASS_PATH attribute.
6987 2005-02-15 Mark Wielaard <mark@klomp.org>
6989 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6990 aside for "GCJLIBS" in directory where jarfiles are loaded.
6991 (JarURLLoader.getClass): Removed method.
6992 (JarURLLoader.toString): Removed method.
6993 (FileResource.toString): Removed method.
6995 2005-02-15 Mark Wielaard <mark@klomp.org>
6997 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6998 and/or cause before throwing.
7000 2005-02-15 Richard Henderson <rth@redhat.com>
7002 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7003 (libgcj0_convenience_la_SOURCES): ... here.
7004 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7005 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7006 * Makefile.in: Regenerate.
7008 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7011 * include/jawt.h: Likewise.
7012 * include/jawt_md.h: Likewise.
7013 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7015 * include/Makefile.in: Regenerate.
7016 * jni/classpath/classpath_jawt.h: Likewise.
7017 * jni/gtk-peer/gtk_jawt.c: Likewise.
7018 * Makefile.am: Build libjawt.so.
7019 * Makefile.in: Regenerate.
7021 2005-02-14 Tom Tromey <tromey@redhat.com>
7023 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7025 2005-02-14 Tom Tromey <tromey@redhat.com>
7027 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7028 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7030 2005-02-14 Tom Tromey <tromey@redhat.com>
7033 * testsuite/libjava.lang/PR19929.out: New file.
7034 * testsuite/libjava.lang/PR19929.java: New file.
7036 2005-02-14 Anthony Green <green@redhat.com>
7039 * testsuite/libjava.jni/PR18116.c: New file.
7040 * testsuite/libjava.jni/PR18116.java: New file.
7041 * testsuite/libjava.jni/PR18116.out: New file.
7043 2005-02-13 Anthony Green <green@redhat.com>
7046 * jni.cc (nathash_add): Don't strdup the method signature.
7047 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7051 2005-02-12 Mark Wielaard <mark@klomp.org>
7053 Fixes bug libgcj/8170
7054 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7055 ClassNotFoundException.
7056 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7057 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7058 (remove_internal): New field superceding remove_interpreter.
7059 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7060 Remove no-class methods starting with "_Jv_". And Replace null
7061 class or method names with the empty string. Stop at either the
7062 MainThread or a real Thread run() method.
7063 (newElement): Made static.
7064 * java/net/URLClassLoader.java (findClass): Throw
7065 ClassNotFoundExceptions including urls, plus parent using toString().
7066 (thisString): New field.
7067 (toString): New method.
7069 2005-02-10 Tom Tromey <tromey@redhat.com>
7071 * external/sax/Makefile.in: Rebuilt.
7072 * external/sax/Makefile.am (all-local): Removed.
7073 (BUILT_SOURCES): New variable.
7074 (mostlyclean-local): No error if no classes to delete.
7075 * external/w3c_dom/Makefile.in: Rebuilt.
7076 * external/w3c_dom/Makefile.am (all-local): Removed.
7077 (BUILT_SOURCES): New variable.
7078 (mostlyclean-local): No error if no classes to delete.
7080 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7082 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7083 of mauve and libjava.
7085 2005-02-09 Tom Tromey <tromey@redhat.com>
7087 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7088 jar file with OPEN_DELETE.
7089 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7090 OPEN_DELETE is used.
7092 2005-02-09 Tom Tromey <tromey@redhat.com>
7094 * java/util/zip/InflaterInputStream.java (markSupported):
7096 (mark, reset): Likewise.
7098 2005-02-08 Tom Tromey <tromey@redhat.com>
7100 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7101 name or port is missing.
7102 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7103 AUTHORITY_PORT_GROUP): Updated.
7105 2005-02-08 Tom Tromey <tromey@redhat.com>
7107 * configure: Rebuilt.
7108 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7111 2005-02-07 Tom Tromey <tromey@redhat.com>
7113 * java/lang/natRuntime.cc (insertSystemProperties): Set
7114 sun.boot.class.path earlier.
7116 2005-02-07 Tom Tromey <tromey@redhat.com>
7118 * defineclass.cc (handleClassBegin): Use
7119 _Jv_RegisterInitiatingLoader.
7120 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7121 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7122 class. Use _Jv_UnregisterInitiatingLoader.
7123 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7126 2005-02-07 Mark Wielaard <mark@klomp.org>
7128 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7129 java/util/regex/Matcher.java (lookingAt): Set position when match
7131 (matches): Implemented through lookingAt().
7133 2005-02-07 Mark Wielaard <mark@klomp.org>
7135 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7136 * java/util/regex/Pattern.java (split(CharSequence,int)):
7137 Fix while empties > 0 loops.
7139 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7141 * gnu/java/nio/charset/ISO_8859_1.java,
7142 gnu/java/nio/charset/US_ASCII.java,
7143 gnu/java/nio/charset/UTF_16.java,
7144 gnu/java/nio/charset/UTF_16_LE.java,
7145 gnu/java/nio/charset/UTF_16_BE.java,
7146 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7147 and aliases according to
7148 "http://www.iana.org/assignments/character-sets",
7149 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7150 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7151 * gnu/java/nio/charset/Provider.java: Made charset lookup
7152 case-insensitive which fixes bug #11740.
7154 2005-02-07 Tom Tromey <tromey@redhat.com>
7157 * Makefile.in: Rebuilt.
7158 * Makefile.am (src.zip): New target.
7159 (install-src.zip): Likewise.
7160 (sourcesdir): New variable.
7162 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7164 * javax/imageio/metadata/IIOMetadataNode.java:
7166 * javax/imageio/metadata/IIOAttr.java,
7167 javax/imageio/metadata/IIONamedNodeMap.java,
7168 javax/imageio/metadata/IIONodeList.java:
7171 2005-02-06 Graydon Hoare <graydon@redhat.com>
7173 * gnu/java/awt/ClasspathToolkit.java
7174 (registerImageIOSpis): New method.
7175 * javax/imageio/ImageIO.java
7176 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7177 (WriterMIMETypeFilter.filter): Likewise.
7178 (ImageReaderIterator): Pass extension argument through to SPI.
7179 (getReadersByFilter): Likewise.
7180 (getWritersByFilter): Likewise.
7181 (getImageReadersByFormatName): Likewise.
7182 (getImageReadersByMIMEType): Likewise.
7183 (getImageReadersBySuffix): Likewise.
7184 (getImageWritersByFormatName): Likewise.
7185 (getImageWritersByMIMEType): Likewise.
7186 (getImageWritersBySuffix): Likewise.
7189 * javax/imageio/ImageReader.java
7190 (progressListeners): Initialize.
7191 (setInput): Implement.
7192 * javax/imageio/ImageWriter.java
7193 (progressListeners): Initialize.
7194 (warningListeners): Likewise.
7195 (warningLocales): Likewise.
7196 (setOutput): Test "isInstance" rather than class equality.
7197 * javax/imageio/spi/IIORegistry.java
7198 (static): Add reader and writer SPIs.
7199 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7201 2005-02-06 Michael Koch <konqueror@gmx.de>
7203 * javax/imageio/metadata/IIOInvalidTreeException.java
7204 (IIOInvalidTreeException): Reformatted.
7205 * javax/imageio/spi/IIORegistry.java
7206 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7207 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7208 Reworked import statements.
7210 2005-02-06 Michael Koch <konqueror@gmx.de>
7212 * javax/imageio/stream/FileImageOutputStream.java:
7215 2005-02-06 Michael Koch <konqueror@gmx.de>
7217 * javax/imageio/stream/FileCacheImageInputStream.java,
7218 javax/imageio/stream/FileCacheImageOutputStream.java,
7219 javax/imageio/stream/FileImageInputStream.java,
7220 javax/imageio/stream/ImageInputStreamImpl.java,
7221 javax/imageio/stream/ImageOutputStreamImpl.java,
7222 javax/imageio/stream/MemoryCacheImageInputStream.java,
7223 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7224 Added all missing methods in javax.imageio.stream.
7226 2005-02-02 David Daney <ddaney@avtrex.com>
7228 * java/net/InetAddress.java (InetAddress): Make a private copy of
7230 * java/net/Inet4Address.java (getAddress): Return a copy of the
7232 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7234 (getAddress): Return a copy of the address.
7237 2005-02-02 Tom Tromey <tromey@redhat.com>
7239 * Makefile.in: Rebuilt.
7240 * Makefile.am (classes.stamp): New target, broken out from
7242 ($(all_java_class_files)): Depend on it.
7243 (libgcj-@gcc_version@.jar): Likewise.
7244 (all-recursive): Likewise.
7245 (CLEANFILES): Include classes.stamp.
7247 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7249 * link.cc: Include <stdio.h>
7251 2005-02-02 Tom Tromey <tromey@redhat.com>
7254 * Makefile.in: Rebuilt.
7255 * Makefile.am (ordinary_java_source_files): Added new class.
7256 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7257 Use system_instance, not instance.
7258 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7259 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7261 (system_instance): New field.
7262 (initialize): Initialize the system loader as well.
7263 (VMClassLoader): Default to LIB_CACHE.
7265 2005-02-02 Tom Tromey <tromey@redhat.com>
7267 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7268 * prims.cc: Fixed comment.
7270 2005-02-01 Tom Tromey <tromey@redhat.com>
7272 * Makefile.in: Rebuilt.
7273 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7274 (.java.class): Use BOOTCLASSPATH.
7276 2005-02-01 Tom Tromey <tromey@redhat.com>
7278 * external/w3c_dom/Makefile.am: New file.
7279 * external/w3c_dom/Makefile.in: New file.
7280 * external/sax/Makefile.am: New file.
7281 * external/sax/Makefile.in: New file.
7282 * external/Makefile.in: New file.
7283 * external/Makefile.am: New file.
7284 * external/README: New file from Classpath.
7285 * configure, aclocal.m4, Makefile.in: Rebuilt.
7286 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7287 * Makefile.am (SUBDIRS): Added external.
7288 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7289 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7290 (BOOTCLASSPATH): New variable.
7291 (AM_GCJFLAGS): Use it.
7292 (gnu_xml_source_files): New variable.
7293 (libgcj_la_SOURCES): Use it.
7294 (libgcj_la_LDADD): Include new convenience libraries.
7295 (lib_org_ietf_jgss_la_SOURCES): Removed.
7296 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7297 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7298 (lib_org_w3c_dom_la_SOURCES): Removed.
7299 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7300 (lib_org_w3c_dom_la_LIBADD): Likewise.
7301 (lib_org_xml_sax_la_SOURCES): Removed.
7302 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7303 (lib_org_xml_sax_la_LIBADD): Likewise.
7304 (all_java_source_files): Updated.
7305 (property_files): Likewise.
7306 (libgcj-@gcc_version@.jar): Include classes from external/.
7307 (javax_source_files): Updated.
7308 (ordinary_java_source_files): Updated.
7309 * javax/xml/XMLConstants.java,
7310 javax/xml/datatype/DatatypeConfigurationException.java,
7311 javax/xml/datatype/DatatypeConstants.java,
7312 javax/xml/datatype/DatatypeFactory.java,
7313 javax/xml/datatype/Duration.java,
7314 javax/xml/datatype/XMLGregorianCalendar.java,
7315 javax/xml/datatype/package.html,
7316 javax/xml/namespace/NamespaceContext.java,
7317 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7318 javax/xml/parsers/DocumentBuilder.java,
7319 javax/xml/parsers/DocumentBuilderFactory.java,
7320 javax/xml/parsers/FactoryConfigurationError.java,
7321 javax/xml/parsers/ParserConfigurationException.java,
7322 javax/xml/parsers/SAXParser.java,
7323 javax/xml/parsers/SAXParserFactory.java,
7324 javax/xml/parsers/package.html,
7325 javax/xml/transform/ErrorListener.java,
7326 javax/xml/transform/OutputKeys.java,
7327 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7328 javax/xml/transform/SourceLocator.java,
7329 javax/xml/transform/Templates.java,
7330 javax/xml/transform/Transformer.java,
7331 javax/xml/transform/TransformerConfigurationException.java,
7332 javax/xml/transform/TransformerException.java,
7333 javax/xml/transform/TransformerFactory.java,
7334 javax/xml/transform/TransformerFactoryConfigurationError.java,
7335 javax/xml/transform/URIResolver.java,
7336 javax/xml/transform/package.html,
7337 javax/xml/transform/dom/DOMLocator.java,
7338 javax/xml/transform/dom/DOMResult.java,
7339 javax/xml/transform/dom/DOMSource.java,
7340 javax/xml/transform/dom/package.html,
7341 javax/xml/transform/sax/SAXResult.java,
7342 javax/xml/transform/sax/SAXSource.java,
7343 javax/xml/transform/sax/SAXTransformerFactory.java,
7344 javax/xml/transform/sax/TemplatesHandler.java,
7345 javax/xml/transform/sax/TransformerHandler.java,
7346 javax/xml/transform/sax/package.html,
7347 javax/xml/transform/stream/StreamResult.java,
7348 javax/xml/transform/stream/StreamSource.java,
7349 javax/xml/transform/stream/package.html,
7350 javax/xml/validation/Schema.java,
7351 javax/xml/validation/SchemaFactory.java,
7352 javax/xml/validation/TypeInfoProvider.java,
7353 javax/xml/validation/Validator.java,
7354 javax/xml/validation/ValidatorHandler.java,
7355 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7356 javax/xml/xpath/XPathConstants.java,
7357 javax/xml/xpath/XPathException.java,
7358 javax/xml/xpath/XPathExpression.java,
7359 javax/xml/xpath/XPathExpressionException.java,
7360 javax/xml/xpath/XPathFactory.java,
7361 javax/xml/xpath/XPathFactoryConfigurationException.java,
7362 javax/xml/xpath/XPathFunction.java,
7363 javax/xml/xpath/XPathFunctionException.java,
7364 javax/xml/xpath/XPathFunctionResolver.java,
7365 javax/xml/xpath/XPathVariableResolver.java,
7366 javax/xml/xpath/package.html: New files, from GNU JAXP.
7367 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7368 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7369 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7370 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7371 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7372 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7373 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7374 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7375 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7376 org/w3c/dom/ranges/DocumentRange.java,
7377 org/w3c/dom/ranges/Range.java,
7378 org/w3c/dom/ranges/RangeException.java,
7379 org/w3c/dom/traversal/DocumentTraversal.java,
7380 org/w3c/dom/traversal/NodeFilter.java,
7381 org/w3c/dom/traversal/NodeIterator.java,
7382 org/w3c/dom/traversal/TreeWalker.java,
7383 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7384 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7385 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7386 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7387 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7388 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7389 org/xml/sax/SAXNotRecognizedException.java,
7390 org/xml/sax/SAXNotSupportedException.java,
7391 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7392 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7393 org/xml/sax/ext/DeclHandler.java,
7394 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7395 org/xml/sax/helpers/AttributeListImpl.java,
7396 org/xml/sax/helpers/AttributesImpl.java,
7397 org/xml/sax/helpers/DefaultHandler.java,
7398 org/xml/sax/helpers/LocatorImpl.java,
7399 org/xml/sax/helpers/NamespaceSupport.java,
7400 org/xml/sax/helpers/NewInstance.java,
7401 org/xml/sax/helpers/ParserAdapter.java,
7402 org/xml/sax/helpers/ParserFactory.java,
7403 org/xml/sax/helpers/XMLFilterImpl.java,
7404 org/xml/sax/helpers/XMLReaderAdapter.java,
7405 org/xml/sax/helpers/XMLReaderFactory.java,
7406 org/xml/sax/helpers/package.html: Moved to external/.
7407 * external/sax/README,
7408 external/sax/org/xml/sax/AttributeList.java,
7409 external/sax/org/xml/sax/Attributes.java,
7410 external/sax/org/xml/sax/ContentHandler.java,
7411 external/sax/org/xml/sax/DTDHandler.java,
7412 external/sax/org/xml/sax/DocumentHandler.java,
7413 external/sax/org/xml/sax/EntityResolver.java,
7414 external/sax/org/xml/sax/ErrorHandler.java,
7415 external/sax/org/xml/sax/HandlerBase.java,
7416 external/sax/org/xml/sax/InputSource.java,
7417 external/sax/org/xml/sax/Locator.java,
7418 external/sax/org/xml/sax/Parser.java,
7419 external/sax/org/xml/sax/SAXException.java,
7420 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7421 external/sax/org/xml/sax/SAXNotSupportedException.java,
7422 external/sax/org/xml/sax/SAXParseException.java,
7423 external/sax/org/xml/sax/XMLFilter.java,
7424 external/sax/org/xml/sax/XMLReader.java,
7425 external/sax/org/xml/sax/package.html,
7426 external/sax/org/xml/sax/ext/Attributes2.java,
7427 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7428 external/sax/org/xml/sax/ext/DeclHandler.java,
7429 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7430 external/sax/org/xml/sax/ext/EntityResolver2.java,
7431 external/sax/org/xml/sax/ext/LexicalHandler.java,
7432 external/sax/org/xml/sax/ext/Locator2.java,
7433 external/sax/org/xml/sax/ext/Locator2Impl.java,
7434 external/sax/org/xml/sax/ext/package.html,
7435 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7436 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7437 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7438 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7439 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7440 external/sax/org/xml/sax/helpers/NewInstance.java,
7441 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7442 external/sax/org/xml/sax/helpers/ParserFactory.java,
7443 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7444 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7445 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7446 external/sax/org/xml/sax/helpers/package.html,
7447 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7448 external/w3c_dom/org/w3c/dom/Attr.java,
7449 external/w3c_dom/org/w3c/dom/CDATASection.java,
7450 external/w3c_dom/org/w3c/dom/CharacterData.java,
7451 external/w3c_dom/org/w3c/dom/Comment.java,
7452 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7453 external/w3c_dom/org/w3c/dom/DOMError.java,
7454 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7455 external/w3c_dom/org/w3c/dom/DOMException.java,
7456 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7457 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7458 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7459 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7460 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7461 external/w3c_dom/org/w3c/dom/Document.java,
7462 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7463 external/w3c_dom/org/w3c/dom/DocumentType.java,
7464 external/w3c_dom/org/w3c/dom/Element.java,
7465 external/w3c_dom/org/w3c/dom/Entity.java,
7466 external/w3c_dom/org/w3c/dom/EntityReference.java,
7467 external/w3c_dom/org/w3c/dom/NameList.java,
7468 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7469 external/w3c_dom/org/w3c/dom/Node.java,
7470 external/w3c_dom/org/w3c/dom/NodeList.java,
7471 external/w3c_dom/org/w3c/dom/Notation.java,
7472 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7473 external/w3c_dom/org/w3c/dom/Text.java,
7474 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7475 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7476 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7477 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7478 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7479 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7480 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7481 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7482 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7483 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7484 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7485 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7486 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7487 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7488 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7489 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7490 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7491 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7492 external/w3c_dom/org/w3c/dom/css/Counter.java,
7493 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7494 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7495 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7496 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7497 external/w3c_dom/org/w3c/dom/css/Rect.java,
7498 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7499 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7500 external/w3c_dom/org/w3c/dom/events/Event.java,
7501 external/w3c_dom/org/w3c/dom/events/EventException.java,
7502 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7503 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7504 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7505 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7506 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7507 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7508 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7509 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7510 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7511 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7512 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7513 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7514 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7515 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7516 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7517 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7518 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7519 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7520 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7521 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7522 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7523 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7524 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7525 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7526 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7527 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7528 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7529 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7530 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7531 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7532 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7533 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7534 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7535 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7536 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7537 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7538 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7539 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7540 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7541 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7542 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7543 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7544 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7545 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7546 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7547 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7548 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7549 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7550 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7551 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7552 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7553 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7554 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7555 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7556 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7557 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7558 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7559 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7560 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7561 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7562 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7563 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7564 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7565 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7566 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7567 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7568 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7569 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7570 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7571 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7572 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7573 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7574 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7575 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7576 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7577 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7578 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7579 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7580 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7581 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7582 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7583 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7584 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7585 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7586 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7587 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7588 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7589 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7590 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7591 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7592 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7593 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7596 2005-01-31 Anthony Green <green@redhat.com>
7598 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7599 Support IP_MULTICAST_LOOP.
7600 (setOption): Support IP_MULTICAST_LOOP.
7602 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7603 SO_REUSEADDR support.
7604 (getOption): Support SO_REUSEADDR.
7606 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7609 * java/util/Date.java
7610 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7612 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7614 (getTimezoneOffset): Inverted sign.
7616 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7618 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7619 remove other passing tests and add new XFAILs.
7621 2005-01-24 Tom Tromey <tromey@redhat.com>
7623 * java/lang/Class.h (next): Updated documentation. Renamed to
7625 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7626 _Jv_CheckABIVersion.
7627 (_Jv_RegisterClasses_Counted): Likewise.
7628 (_Jv_RegisterClassHookDefault): Fix starting condition of
7629 duplicate-checking loop.
7630 * include/jvm.h (GCJ_VERSION): New define.
7631 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7632 (_Jv_CheckABIVersion): New function.
7634 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7636 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7637 (libgij_la_LDFLAGS): Add.
7638 * Makefile.in: Rebuilt.
7640 2005-01-24 Roger Sayle <roger@eyesopen.com>
7643 * testsuite/libjava.compile/PR19295.java: New test case.
7645 2005-01-19 Tom Tromey <tromey@redhat.com>
7647 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7648 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7649 if 'handler' is valid.
7651 2005-01-17 Tom Tromey <tromey@redhat.com>
7653 * java/text/MessageFormat.java (scanString): Changed how quoting
7655 (scanFormatElement): Likewise.
7657 2004-12-07 Mark Wielaard <mark@klomp.org>
7659 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7661 2005-01-15 Michael Koch <konqueror@gmx.de>
7665 (AUTHORITY_REGEXP): New regexp constant.
7666 (AUTHORITY_USERINFO_GROUP): New constant.
7667 (AUTHORITY_HOST_GROUP): Likewise.
7668 (AUTHORITY_PORT_GROUP): Likewise.
7669 (port): Changed default value to -1.
7670 (parseURI): Parse authority part and initialize host,
7673 2005-01-14 Robin Green <greenrd@greenrd.org>
7675 * java/io/File.java (toURI): Generate a URI which we understand.
7677 2005-01-13 Graydon Hoare <graydon@redhat.com>
7679 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7680 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7681 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7682 * jni.cc: Reuse bottom frame between calls, avoid clearing
7683 frame when no local references are made.
7685 2005-01-13 Michael Koch <konqueror@gmx.de>
7688 * java/lang/Thread.java
7689 (Thread): Call checkAccess().
7690 (stop): Fixed argument name to match javadoc.
7691 * java/lang/natThread.cc
7692 (interrupt): Call checkAccess().
7695 2005-01-11 Michael Koch <konqueror@gmx.de>
7698 * java/net/URL.java (URL): Handle specs like
7699 "/redir?http://domain2.com/index.html" which start with a slash.
7701 2005-01-11 Michael Koch <konqueror@gmx.de>
7703 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7704 * gnu/java/net/BASE64.java,
7705 gnu/java/net/EmptyX509TrustManager.java,
7706 gnu/java/net/LineInputStream.java,
7707 gnu/java/net/protocol/http/Authenticator.java,
7708 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7709 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7710 gnu/java/net/protocol/http/ChunkedInputStream.java,
7711 gnu/java/net/protocol/http/Cookie.java,
7712 gnu/java/net/protocol/http/CookieManager.java,
7713 gnu/java/net/protocol/http/Credentials.java,
7714 gnu/java/net/protocol/http/HTTPConnection.java,
7715 gnu/java/net/protocol/http/HTTPDateFormat.java,
7716 gnu/java/net/protocol/http/HTTPURLConnection.java,
7717 gnu/java/net/protocol/http/Headers.java,
7718 gnu/java/net/protocol/http/Request.java,
7719 gnu/java/net/protocol/http/RequestBodyWriter.java,
7720 gnu/java/net/protocol/http/Response.java,
7721 gnu/java/net/protocol/http/ResponseBodyReader.java,
7722 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7723 gnu/java/net/protocol/http/SimpleCookieManager.java,
7724 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7725 gnu/java/net/protocol/http/event/ConnectionListener.java,
7726 gnu/java/net/protocol/http/event/RequestEvent.java,
7727 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7728 * gnu/java/net/protocol/http/Connection.java: Removed.
7729 * gnu/java/net/protocol/http/Handler.java,
7730 javax/net/ssl/HttpsURLConnection.java: Updated.
7731 * Makefile.am: Added new files and remove old ones.
7732 * Makefile.in: Regenerated.
7734 2005-01-11 Tom Tromey <tromey@redhat.com>
7737 * java/io/BufferedInputStream.java (read): Repeatedly read to
7739 (refill): Change test to see if buffer must be grown.
7741 2005-01-10 Tom Tromey <tromey@redhat.com>
7743 * mauve-libgcj: Exclude some swing tests.
7745 2005-01-10 Tom Tromey <tromey@redhat.com>
7747 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7748 * java/lang/Package.java (getPackages): Use VMClassLoader when
7750 (getPackage): Likewise.
7751 * prims.cc (_Jv_CreateJavaVM): Call
7752 _Jv_RegisterBootstrapPackages.
7753 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7754 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7755 (getPackages): Likewise.
7756 (definedPackages): New field.
7757 (definePackageForNative): New method.
7758 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7759 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7760 * defineclass.cc (handleClassBegin): Use
7761 ClassLoader.findLoadedClass.
7762 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7764 (struct _Jv_LoaderInfo): Removed.
7765 (initiated_classes): Likewise.
7766 (_Jv_UnregisterClass): Don't use initiated_classes.
7767 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7768 (_Jv_FindClass): Register classes found during boostrap.
7769 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7770 (bootstrap_class_list): New global.
7771 (bootstrap_index): Likewise.
7772 (_Jv_RegisterBootstrapPackages): New function.
7773 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7774 definePackageForNative.
7775 (findClass): Updated.
7776 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7779 2005-01-10 Tom Tromey <tromey@redhat.com>
7782 * include/jvm.h (_Jv_Linker::find_field): Declare.
7783 (_Jv_Linker::find_field_helper): Likewise.
7784 * link.cc (find_field_helper): New method.
7785 (find_field): Likewise.
7786 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7788 (link_symbol_table): Use find_field.
7790 2005-01-10 Michael Koch <konqueror@gmx.de>
7793 * java/util/Locale.java (Locale): Don't uppercase variant.
7794 (getISOCountries): Fixed typo in javadoc.
7796 2005-01-10 Michael Koch <konqueror@gmx.de>
7798 * java/util/SimpleTimeZone.java (checkRule):
7799 Throw IllegalArgumentException on invalid month values.
7800 * java/util/TimeZone.java (setID):
7801 Throw NullPointerException if needed.
7803 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7805 * java/util/SimpleTimeZone.java (getOffset):
7806 offset end date with daylight savings
7808 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7810 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7811 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7813 2005-01-09 Michael Koch <konqueror@gmx.de>
7816 * java/net/InetAddress.java (getLocalHost):
7817 Throw UnknownHostException if local hostname cannot be determined.
7819 2005-01-06 Tom Tromey <tromey@redhat.com>
7821 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7823 2005-01-07 Michael Koch <konqueror@gmx.de>
7826 * java/nio/Buffer.java (address): New field.
7827 * java/nio/DirectByteBufferImpl.java (address): Removed.
7828 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7829 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7830 Explicitly initialize Buffer.address if needed.
7831 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7832 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7833 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7834 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7835 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7836 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7837 DirectByteBufferImpl object.
7838 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7839 * testsuite/libjava.jni/directbuffer.c,
7840 testsuite/libjava.jni/directbuffer.java,
7841 testsuite/libjava.jni/directbuffer.out,
7842 testsuite/libjava.jni/bytebuffer.c,
7843 testsuite/libjava.jni/bytebuffer.java,
7844 testsuite/libjava.jni/bytebuffer.out: New files.
7846 2005-01-05 Tom Tromey <tromey@redhat.com>
7848 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7850 (compressedSize): Now 'long'. Default to -1.
7851 (getCompressedSize): Rewrote.
7852 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7853 deflate at all if we need input.
7855 2005-01-05 Tom Tromey <tromey@redhat.com>
7858 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7861 2005-01-05 Tom Tromey <tromey@redhat.com>
7863 * java/lang/natRuntime.cc (insertSystemProperties): Set
7864 java.ext.dirs earlier.
7866 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7868 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7869 sync_info element of the object if needed.
7871 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7873 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7874 a non-zero exit status from 'false'.
7876 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7878 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.