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