1 2005-06-24 Tom Tromey <tromey@redhat.com>
3 * interpret.cc (compile): Handle case where table entry is
6 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
8 * testsuite/libjava.compile/PR20697.java: New test-case.
10 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
12 * Makefile.am (SUBDIRS): Use append for conditional.
13 (toolexeclib_LTLIBRARIES): Likewise.
14 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
16 * Makefile.in: Regenerate.
18 2005-06-17 Keith Seitz <keiths@redhat.com>
20 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
21 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
22 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
24 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
25 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
27 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
28 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
29 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
30 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
32 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
33 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
35 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
37 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
38 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
39 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
40 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
41 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
42 * Makefile.in: Regenerate.
44 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
46 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
47 (USING_POSIX_PLATFORM): ... here.
48 * Makefile.am: Delete USING_ECOS_PLATFORM.
49 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
50 external/Makefile.in, external/sax/Makefile.in,
51 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
53 2005-06-15 Tom Tromey <tromey@redhat.com>
56 * testsuite/libjava.lang/pr17536.java: New file.
57 * testsuite/libjava.lang/pr17536.out: New file.
59 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
62 * gnu/java/net/protocol/http/HTTPURLConnection.java
63 (getHeaderFieldKey): Check index.
65 2005-06-15 Tom Tromey <tromey@redhat.com>
68 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
70 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
71 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
73 (append_partial_itable): Use it.
74 (set_vtable_entries): Likewise.
76 2005-06-15 Tom Tromey <tromey@redhat.com>
78 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
81 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
83 * configure.host: Handle Solaris 10/x86.
85 2005-06-14 Keith Seitz <keiths@redhat.com>
87 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
88 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
90 2005-06-14 Keith Seitz <keiths@redhat.com>
92 * gnu/classpath/jdwp/id/ArrayId.java: New file.
93 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
94 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
95 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
96 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
97 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
98 * gnu/classpath/jdwp/id/JdwpId.java: New file.
99 * gnu/classpath/jdwp/id/ObjectId.java: New file.
100 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
101 * gnu/classpath/jdwp/id/StringId.java: New file.
102 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
103 * gnu/classpath/jdwp/id/ThreadId.java: New file.
105 2005-06-14 Tom Tromey <tromey@redhat.com>
108 * configure, aclocal.m4, Makefile.in: Rebuilt.
110 2005-06-14 Tom Tromey <tromey@redhat.com>
112 * java/lang/Class.java (getClasses): New method.
113 (internalGetClasses): Likewise.
114 (getClassLoader): Updated documentation.
115 (getDeclaredClasses): New overload; old overload no longer
117 (_getConstructors): Removed.
118 (resourcePath): Updated.
119 * java/lang/natClass.cc (getClasses): Removed.
120 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
122 (_getConstructors): Removed.
124 2005-06-13 Jim Huang <jserv@kaffe.org>
127 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
128 (_Jv_JNI_NewObject): Likewise.
130 2005-06-13 Tom Tromey <tromey@redhat.com>
133 * testsuite/libjava.lang/pr21844.java: New file.
134 * testsuite/libjava.lang/pr21844.out: New file.
136 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
139 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
142 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
144 * java/text/MessageFormat.java (parse): When parsing strings, check
145 for an empty pattern trailer.
147 2005-06-06 Keith Seitz <keiths@redhat.com>
149 * gnu/classpath/jdwp/util/Signature.java: New file.
150 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
152 2005-06-05 Anthony Green <green@redhat.com>
154 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
157 2005-06-04 Anthony Green <green@redhat.com>
159 * java/net/URLClassLoader.java: import gnu.gcj.Core,
160 and gnu.java.net.protocol.core.CoreInputStream.
161 (CureURLLoader): New class.
162 (CoreResource): New class.
163 (addURLImpl): Add special treatment for the "core" protocol.
164 * gnu/gcj/natCore.cc (find): New method.
165 * gnu/gcj/Core.java (find): New method.
167 2005-06-03 Keith Seitz <keiths@redhat.com>
169 * gnu/classpath/jdwp/transport/ITransport.java: New file.
170 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
171 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
173 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
175 * jawt.c: Remove malloc.h, covered by stdlib.h.
177 * testsuite/libjava.jni/jni.exp
178 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
181 2005-06-02 Keith Seitz <keiths@redhat.com>
183 * gnu/classpath/jdwp/transport/TransportException.java: New file.
185 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
187 * mauve-libgcj: Remove implemented classes from the fail section.
188 Add two new not implemented to it.
190 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
192 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
193 AC_SUBST definition from configure.host.
194 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
195 to -fomit-frame-pointer on 32-bit x86 targets.
197 2005-06-01 Tom Tromey <tromey@redhat.com>
199 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
201 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
204 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
205 (static): Add possessive matching to JAVA_1_4 syntax.
206 * gnu/regexp/RETokenRepeated.java (possessive): New field.
207 (makePossessive, isPossessive): New methods.
208 (match): Don't back off during possessive matching.
209 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
210 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
213 2005-06-01 Keith Seitz <keiths@redhat.com>
215 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
216 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
217 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
219 2005-06-01 Tom Tromey <tromey@redhat.com>
222 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
223 (currentLoader): New method.
224 * java/io/ObjectInputStream.java (resolveProxyClass): Use
226 (currentLoader): Now native.
227 (currentClassLoader): Removed.
228 * testsuite/libjava.lang/pr21785.java: New file.
229 * testsuite/libjava.lang/pr21785.out: New file.
231 2005-06-01 Tom Tromey <tromey@redhat.com>
234 * java/lang/natString.cc (substring): Changed sharing heuristic.
236 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
239 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
240 MAXPATHLEN. Format exception message using a StringBuffer instead.
242 2005-05-29 Michael Koch <konqueror@gmx.de>
245 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
247 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
249 * ChangeLog: Fix typo.
251 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
253 Testsuite adjustments for PR java/19870.
254 * testsuite/libjava.lang/PR19870.java: New testcase.
255 * testsuite/libjava.lang/PR19870.out: Expected output for the
257 * testsuite/libjava.jacks/jacks.xfail: Add
258 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
261 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
263 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
264 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
265 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
267 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
268 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
269 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
270 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
272 2005-05-25 Richard Henderson <rth@redhat.com>
275 * sysdep/descriptor-n.h: New file.
276 * sysdep/descriptor-y.h: New file.
277 * sysdep/powerpc/descriptor.h: New file.
278 * configure.host: Set $descriptor_h appropriate for the host.
279 * configure.ac: Link it.
280 * configure: Regenerate.
281 * stacktrace.cc: Include sysdep/descriptor.h.
282 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
284 2005-05-25 Chris Burdess <dog@gnu.org>
286 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
287 end entity callbacks.
289 2005-05-24 Gary Benson <gbenson@redhat.com>
292 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
293 Handle DateFormat.DEFAULT case correctly.
295 2005-05-21 Tom Tromey <tromey@redhat.com>
298 * java/lang/ref/natReference.cc (find_slot): Handle case where
299 table has no NULL entries.
300 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
301 table has no NULL entries.
303 2005-05-22 Andreas Jaeger <aj@suse.de>
305 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
308 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
310 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
312 2005-05-19 Richard Henderson <rth@redhat.com>
314 * exception.cc: Revert 05-17 gcc_unreachable change.
316 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
318 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
319 _Jv_RegisterInitiatingLoader to register array classes, not
321 (_Jv_RegisterInitiatingLoader): Give up if called very early during
322 bootstrapping. Add a FIXME to handle this case better.
324 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
326 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
328 (libgcj_la_SOURCES): New. Move sources here.
329 (libgcj.la): Remove rule.
331 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
334 * gnu/java/security/provider/DSASignature.java: Import updates
337 2005-05-18 Anthony Green <green@redhat.com>
339 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
340 classpath_jawt_object_unlock, classpath_jawt_create_lock,
341 classpath_jawt_destroy_lock): New functions.
342 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
343 classpath_jawt_object_unlock, classpath_jawt_create_lock,
344 classpath_jawt_destroy_lock): New functions.
345 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
347 * jawt.c: #include malloc.h.
348 (_Jv_Lock): Use lock.
350 (_Jv_GetDrawingSurface): Initialize lock.
351 (_Jv_FreeDrawingSurface): Destroy lock.
352 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
354 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
356 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
357 * Makefile.in: Regenerate.
359 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
361 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
362 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
363 * aclocal.m4, configure, config.h.in, include/config.h.in,
364 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
365 external/Makefile.in, external/sax/Makefile.in,
366 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
368 2005-05-17 David Daney <ddaney@avtrex.com>
371 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
373 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
375 * exception.cc (abort): Remove std::abort hack.
376 (gcc_unreacheable): Define.
378 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
380 * Makefile.am (Makefile.deps): Do not create native.list and
382 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
383 * Makefile.in: Regenerate.
385 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
387 * configure.ac (--enable-libgcj-multifile): Remove.
389 * Makefile.am (all_native_compiled_source_files,
390 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
391 all_libgcj_lo_files, all_xlib_lo_files,
392 all_java_deps_files, all_java_stamp_files,
393 all_java_filelist_files): New variables.
394 (EXTRA_DIST): New Automake variable.
395 (CLEANFILES): Add .stamp, .list and .lo files.
396 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
397 (classes.stamp): Depend on $(all_java_stamp_files).
398 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
399 going through write_entries_to_file.
401 (all_java_source_files, all_property_files): Move earlier.
402 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
403 all_java_class_files): Remove.
404 (gtk_awt_peer_sources): Rename to...
405 (gtk_awt_peer_source_files): ... this. Adjust throughout.
408 (libgcj0_convenience_la_SOURCES): Remove Java source files.
409 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
410 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
411 (libgcj_la_SOURCES): Remove.
412 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
413 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
414 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
416 * configure: Regenerate.
417 * Makefile.in: Regenerate.
418 * external/Makefile.in: Regenerate.
419 * external/sax/Makefile.in: Regenerate.
420 * external/w3c_dom/Makefile.in: Regenerate.
421 * gcj/Makefile.in: Regenerate.
422 * include/Makefile.in: Regenerate.
423 * libltdl/Makefile.in: Regenerate.
424 * testsuite/Makefile.in: Regenerate.
426 2005-05-16 Tom Tromey <tromey@redhat.com>
428 * java/nio/charset/Charset.java (encode, decode): Synchronize on
429 'this', not the class.
431 2005-05-16 Tom Tromey <tromey@redhat.com>
433 * gnu/java/net/protocol/http/Headers.java (parse): Include final
436 2005-05-16 Tom Tromey <tromey@redhat.com>
439 * java/net/URI.java (unquote): Handle lower-case letters as well.
441 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
444 * gnu/regexp/RE.java: Add support for quoting constructs.
446 2005-05-15 Tom Tromey <tromey@redhat.com>
448 * java/lang/String.java (startsWith): Fixed javadoc.
450 2005-05-15 Tom Tromey <tromey@redhat.com>
453 * testsuite/libjava.compile/pr21519.java: New file.
454 * testsuite/libjava.compile/pr21519.no-link: New file.
456 2005-05-15 Tom Tromey <tromey@redhat.com>
458 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
460 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
463 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
464 interrupt status flag if _Jv_CondWait is interrupted.
466 2005-05-13 Tom Tromey <tromey@redhat.com>
468 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
471 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
473 * include/jvm.h (gcj::verifyClasses): Declare.
474 * link.cc (gcj::verbose_class_flag): Moved.
475 * prims.cc (gcj::verifyClasses): Define here.
476 (gcj::verbose_class_flag): Move definition here.
477 (_Jv_Linker::wait_for_state): Don't call verify_class
478 if gcj::verifyClasses is not set.
479 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
481 2005-05-12 Aaron Luchko <aluchko@redhat.com>
483 * gij.cc (main): Recognize '-verify', '-noverify', and
486 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
488 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
490 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
492 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
495 2005-05-11 Tom Tromey <tromey@redhat.com>
497 * external/w3c_dom/Makefile.in: Rebuilt.
498 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
500 * external/sax/Makefile.in: Rebuilt.
501 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
503 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
505 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
506 Call _Jv_CopyClassesToSystemLoader.
507 * java/lang/natClassLoader.cc (system_class_list): New global.
508 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
510 (_Jv_CopyClassesToSystemLoader): New function.
511 (SYSTEM_LOADER_INITIALIZED): New define.
512 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
513 (_Jv_CheckABIVersion): Use it.
514 (_Jv_ClassForBootstrapLoader): New function.
515 * Makefile.in: Rebuilt.
516 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
518 2005-05-10 Tom Tromey <tromey@redhat.com>
520 * gcj/javaprims.h: Updated.
521 * java/lang/String.java (String(StringBuilder)): New constructor.
522 * java/lang/natStringBuilder.cc: New file.
523 * java/lang/StringBuilder.java: New file.
524 * Makefile.in: Rebuilt.
525 * Makefile.am (core_java_source_files): Added StringBuilder.java.
526 (nat_source_files): Added natStringBuilder.cc.
528 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
531 * testsuite/libjava.jacks/jacks.xfail: Adjust.
533 2005-05-09 Mike Stump <mrs@apple.com>
535 * configure: Regenerate.
537 2005-05-09 David Daney <ddaney@avtrex.com>
539 * java/util/BitSet.java (get(int, int)): Fix breakage when
540 requested set doesn't start on a multiple of 64.
542 2005-05-07 Matthias Klose <doko@debian.org>
544 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
546 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
548 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
549 * Makefile.in: Regenerate.
550 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
551 (createCompatibleVolatileImage(int,int)): Implement.
552 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
554 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
556 (createVolatileImage): Implement.
557 (createBuffers): Likewise.
558 (getBackBuffer): Likewise.
560 (destroyBuffers): Likewise.
561 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
562 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
563 (CanvasFlipBufferStrategy): Likewise.
564 (createBufferStrategy(int)): New method.
565 (createBufferStrategy(int,BufferCapabilities)): Likewise.
566 * java/awt/Component.java (BltBufferStrategy): Implement and
568 (FlipBufferStrategy): Likewise.
569 * java/awt/Window.java (WindowBltBufferStrategy): New class.
570 (WindowFlipBufferStrategy): Likewise.
571 (createBufferStrategy(int)): New method.
572 (createBufferStrategy(int,BufferCapabilities)): Likewise.
573 (getBufferStrategy): Likewise.
574 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
575 front to frontCaps and back to backCaps.
577 2005-05-06 Michael Koch <konqueror@gmx.de>
579 * java/awt/BufferCapabilities.java
580 (BufferCapabilities): Merged javadoc.
582 2005-05-06 Michael Koch <konqueror@gmx.de>
584 * java/util/Locale.java
585 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
586 (getLocale): New methods. Use it everywhere where instances of Locales
588 (getDisplayLanguage): Merged javadoc.
589 (getDisplayCountry): Likewise.
590 (getDisplayVariant): Likewise.
592 2005-05-06 Archie Cobbs <archie@dellroad.org>
594 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
595 use DeleteLocalRef() to avoid exhausting local native references.
597 2005-05-06 Mark Wielaard <mark@klomp.org>
599 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
600 (window_delete_cb): Don't use C++ style comments.
602 2005-05-06 Robert Schuster <thebohemian@gmx.net>
604 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
607 2005-05-06 Robert Schuster <thebohemian@gmx.net>
609 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
610 (window_delete_cb): Made the function return TRUE.
612 2005-05-06 Roman Kennke <roman@kennke.org>
614 * javax/swing/text/PlainView.java
615 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
617 * javax/swing/text/Utilities.java
618 (drawTabbedText): Initilialize local variable pos correctly.
620 2005-05-06 Roman Kennke <roman@kennke.org>
622 * javax/swing/text/AbstractDocument.java
623 (LeafElement): Made start and end package private fields for
624 effective reindexing.
625 * javax/swing/text/PlainDocument.java
626 (constructor): The field rootElement is always BranchElement,
627 so we handle it as such.
628 (removeUpdate): Rewritten reindexing for removeUpdate so that
629 the actual removal is taken into account.
631 2005-05-06 Roman Kennke <roman@kennke.org>
633 * javax/swing/text/GapContent.java:
634 Removed debugging output stuff, which I accidentally left in.
636 2005-05-06 Roman Kennke <roman@kennke.org>
638 * javax/swing/text/GapContent.java:
639 Implemented a real GapContent. Only the public methods have
640 been implemented so far and still no UndoableEdit support.
642 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
644 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
647 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
649 * java/awt/image/BufferStrategy.java: Document.
651 * java/awt/BufferCapabilities.java: Document.
653 2005-05-04 Tom Tromey <tromey@redhat.com>
655 * java/nio/channels/FileLock.java (toString): Entirely avoid
658 2005-05-04 Andrew Overholt <overholt@redhat.com>
660 * java/nio/channels/FileLock.java (toString): Re-implement using
663 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
665 * java/awt/ImageCapabilities.java: Document.
667 * java/awt/image/VolatileImage.java: Unindent copyright header.
669 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
671 * java/awt/image/VolatileImage.java: Document.
673 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
676 (init_glib_threads): Check if threading system is already
679 2005-05-03 Andrew Overholt <overholt@redhat.com>
682 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
683 could not be acquired.
684 * java/nio/channels/FileLock.java (toString): Re-implement to be
685 in line with other implementations.
687 2005-05-03 Tom Tromey <tromey@redhat.com>
689 * java/lang/VMSecurityManager.java (currentClassLoader): Use
690 'systemClasssLoader' directly.
692 2005-05-03 Tom Tromey <tromey@redhat.com>
694 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
695 call VMClassLoader.getSystemClassLoader.
697 2005-04-29 Michael Koch <konqueror@gmx.de>
699 * java/net/NetworkInterface.java
701 (NetworkInterface(String,InetAddress)): Made package-private.
702 (NetworkInterface(String,InetAddress[])): New constructor.
703 (getRealNetworkInterfaces): Removed.
704 (getByName): Use VMNetworkInterface.getInterfaces().
705 (getByInetAddress): Likewise.
706 (getNetworkInterfaces): Likewise.
707 * java/net/VMNetworkInterface.java,
708 java/net/natVMNetworkInterfaceNoNet.cc,
709 java/net/natVMNetworkInterfacePosix.c,c
710 java/net/natVMNetworkInterfaceWin32.cc: New files.
711 * java/net/natNetworkInterfaceNoNet.cc,
712 java/net/natNetworkInterfacePosix.cc,
713 java/net/natNetworkInterfaceWin32.cc: Removed.
716 * configure, Makefile.in: Regenerated.
718 2005-04-29 Andrew Haley <aph@redhat.com>
720 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
722 2005-04-29 Dalibor Topic <robilad@kaffe.org>
724 * java/nio/channels/FileChannelImpl.java
725 (FileChannelImpl(String, int)): Removed.
726 (FileChannelImpl(File, int)): Added. Check if opened file is a
728 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
729 Call FileChannelImpl(File, int).
730 * java/io/FileOutputStream.java (FileInputStream): Call
731 FileChannelImpl(File, int).
732 * java/io/RandomAccessFile.java (RandomAccessFile):
733 Call FileChannelImpl(File, int). Switched constructors around.
735 2005-04-27 Andrew Haley <aph@redhat.com>
738 * prims.cc (_Jv_ResolvePoolEntry): New function.
739 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
740 * link.cc (_Jv_Linker::find_field): New arg: found_class.
741 (resolve_pool_entry): Initialize the class in which a field is
743 (link_symbol_table): Pass new arg to found_class.
745 2005-04-29 Michael Koch <konqueror@gmx.de>
747 * java/nio/charset/Charset.java
748 (provider): Reformatted.
750 2005-04-29 Michael Koch <konqueror@gmx.de>
752 * gnu/java/net/protocol/http/HTTPConnection.java:
753 (userAgent): Initialize from system properties.
754 (initUserAgent): Removed.
756 2005-04-29 Mark Wielaard <mark@klomp.org>
758 * java/util/ResourceBundle.java (getObject): Clarify
759 MissingResourceException detailed message.
760 (tryBundle(String,ClassLoader)): Likewise.
762 2005-04-29 Robert Schuster <thebohemian@gmx.net>
764 * java/beans/FeatureDescriptor.java:
765 (getShortDescription): Implemented fallback mechanism and fixed
766 documentation (fixes bug #12637).
767 (getDisplayName): Dito.
769 2005-04-29 Robert Schuster <thebohemian@gmx.net>
771 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
772 will now be set correctly.
773 (flushCaches): Now flushes all cached intermediate data.
775 2005-04-28 Michael Koch <konqueror@gmx.de>
777 * java/net/InetAddress.java
778 (aton): Fixed javadoc.
781 2005-04-28 Tom Tromey <tromey@redhat.com>
783 * javax/swing/Timer.java
784 (drainEvents, queueEvent): Now package-private.
786 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
788 * javax/swing/Timer.java
789 (constructor): Assigning initialDelay.
791 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
793 * javax/swing/Timer.java
794 (Waker.run): firing the first action event.
796 2005-04-28 Michael Koch <konqueror@gmx.de>
798 * javax/swing/Timer.java: Reordered all fields and methods,
801 2005-04-28 Michael Koch <konqueror@gmx.de>
803 * javax/swing/Timer.java: Javadocs merged
806 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
808 * gnu/java/net/protocol/file/Connection.java
809 (StaticData): New inner class to contain statics.
810 (connect, getHeaderField): Modified to use StaticData.
812 2005-04-28 Michael Koch <konqueror@gmx.de>
814 * gnu/java/net/protocol/file/Connection.java
815 (lineSeparator): Initialize with SystemProperties.getProperty().
817 2005-04-27 Chris Burdess <dog@gnu.org>
819 * gnu/java/net/protocol/file/Connection.java: Return correct content
820 length for directory listing.
821 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
822 #11285: return valid URLs for directories.i
824 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
826 * Makefile.am (ordinary_java_source_files): Add
827 gnu/java/net/protocol/https/Handler.java.
828 * Makefile.in: Regenerate.
829 * java/net/URL.java: Remove org.metastatic.jessie from default
830 protocol search path.
832 2005-04-27 Chris Burdess <dog@gnu.org>
834 * gnu/java/net/protocol/https/Handler.java: New file.
836 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
838 * javax/imageio/spi/IIORegistry.java (IIORegistry):
839 Don't assume that awt Toolkit is always ClasspathToolkit.
841 2005-04-27 Chris Burdess <dog@gnu.org>
843 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
844 absolute and relative paths in Location header.
846 2005-04-27 Chris Burdess <dog@gnu.org>
848 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
849 FileNotFoundException and implement getErrorStream on 404.
851 2005-04-27 Sven de Marothy <sven@physto.se>
853 * java/util/TimeZone.java,
854 (getDefaultDisplayName): Fix previous fix.
856 2005-04-27 Sven de Marothy <sven@physto.se>
858 * java/util/TimeZone.java,
859 (getDefaultDisplayName): Don't print zero offsets.
861 2005-04-27 Roman Kennke <roman@kennke.org>
863 * javax/swing/plaf/basic/BasicScrollBarUI
864 (getThumbBounds): Do not make thumb smaller than
866 * javax/swing/plaf/metal/MetalLookAndFeel
867 (initComponentDefaults): Added color defaults for ScrollBar.
868 * javax/swing/plaf/metal/MetalScrollBarUI
870 (getMinimumThumbSize): Added.
872 2005-04-27 Roman Kennke <roman@kennke.org>
874 * javax/swing/plaf/metal/MetalLookAndFeel
875 (initComponentDefaults): Added some default colors.
877 2005-04-27 Roman Kennke <roman@kennke.org>
879 * javax/swing/plaf/basic/BasicScrollBarUI.java
880 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
881 to 'ScrollBar.thumbShadow'. The formes does not exist.
882 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
884 2005-04-27 Roman Kennke <roman@kennke.org>
886 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
887 * javax/swing/BoxLayout.java: Likewise.
888 * javax/swing/UIManager.java: Likewise.
889 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
890 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
891 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
892 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
893 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
894 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
895 * javax/swing/text/Document.java: Likewise.
896 * javax/swing/text/GapContent.java: Likewise.
897 * javax/swing/text/SimpleAttributeSet.java: Likewise.
898 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
900 2005-04-27 Roman Kennke <roman@kennke.org>
902 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
903 (getPropertyPrefix): Added.
905 2005-04-27 Roman Kennke <roman@kennke.org>
907 * javax/swing/plaf/basic/BasicButtonUI.java
908 (getPropertyPrefix): Added.
909 (installDefaults): Use getPropertyPrefix instead of hard-coded
912 2005-04-27 Roman Kennke <roman@kennke.org>
914 * javax/swing/JToggleButton.java
915 (JToggleButton): Removed horizontalAlignment setting, this
916 was wrong. Added setting of an actionCommand, ToggleButtons
917 have "" as default actionCommand.
919 2005-04-27 Michael Koch <konqueror@gmx.de>
921 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
922 to work around CNI limitation.
924 2005-04-27 Sven de Marothy <sven@physto.se>
926 * java/nio/charset/Charset.java:
927 (defaultCharset()): New method.
928 Status updated to 1.5
930 2005-04-27 Sven de Marothy <sven@physto.se>
932 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
934 2005-04-27 Sven de Marothy <sven@physto.se>
936 * java/nio/charset/Charset.java: Reset cached de/encoders.
938 2005-04-27 Robert Schuster <thebohemian@gmx.net>
940 * java/nio/charset/Charset.java (forName): Throws
941 IllegalArgumentException when argument is null
942 and added documentation.
944 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
946 * java/nio/charset/Charset.java (providers):
947 New method to make an array of CharsetProviders defined in
948 META-INF/services/java.nio.charset.spi.CharsetProvider.
949 (charsetForName, availableCharsets): Use the
950 new method providers().
952 2005-04-26 Michael Koch <konqueror@gmx.de>
954 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
955 Fixed typos in javadocs.
956 (isSiteLocalAddress): Fixed handling of byte values.
957 (isMCLinkLocal): Likewise.
958 * java/net/Inet4Address.java
959 (isMulticastAddress): Call super method.
960 (isLoopbackAddress): Likewise.
961 (isAnyLocalAddress): Likewise.
962 (isLinkLocalAddress): Likewise.
963 (isSiteLocalAddress): Likewise.
964 (isMCGlobal): Likewise.
965 (isMCNodeLocal): Likewise.
966 (isMCLinkLocal): Likewise.
967 (isMCSiteLocal): Likewise.
968 (isMCOrgLocal): Likewise.
969 (getHostAddress): Likewise.
971 2005-04-26 Sven de Marothy <sven@physto.se>
973 * java/net/InetAddress.java
974 (toString): Don't print empty hostnames.
976 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
979 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
980 'false' to native lock().
981 (lock): Pass 'true' to native lock().
983 2005-04-26 Michael Koch <konqueror@gmx.de>
985 * java/net/InetAddress.java:
986 Fixed typos in javadocs.
988 2005-04-26 Andrew Haley <aph@redhat.com>
991 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
994 2005-04-26 Tom Tromey <tromey@redhat.com>
996 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
997 gnu): Now package-private.
998 * javax/swing/text/html/parser/DocumentParser.java (parser,
999 callBack, gnu): Now package-private.
1000 * javax/swing/text/StringContent.java (content, setOffset,
1001 checkLocation): Now package-private.
1002 * javax/swing/text/JTextComponent.java (doc): Now
1004 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1005 lastGoodOrientation, origParent, borders, cachedBounds,
1006 cachedOrientation, DragWindow): Now package-private.
1007 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1008 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1009 tabAreaRect, contentRect, createIncreaseButton,
1010 createDecreaseButton, findPointForIndex): Now package-private.
1011 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1012 (currentDividerLocation, moveDividerTo): Now package-private.
1013 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1015 * javax/swing/plaf/basic/BasicScrollBarUI.java
1016 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1017 Now package-private.
1018 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1019 (topWindowListener): Now package-private.
1020 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1021 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1022 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1024 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1026 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1027 Now package-private.
1028 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1030 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1031 borderInsets): Now package-private.
1032 (arrowButtonWidth): Likewise. Now a constant.
1033 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1034 makeTabs, updatePreviewPanel): Now package-private.
1035 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1036 darkShadow, highlight): Now package-private.
1037 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1038 (addColorToQueue): Now package-private.
1039 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1040 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1041 GSpinner, BSpinner): Now package-private.
1042 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1043 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1044 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1045 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1046 updateTrack): Now package-private.
1047 * javax/swing/TransferHandler.java (clipboard): Now
1049 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1051 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1053 * javax/swing/RepaintManager.java (globalManager): Now
1055 * javax/swing/JFormattedTextField.java (editValid): Now
1057 * javax/swing/JColorChooser.java (makeModal): Now
1059 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1060 index, path): Now package-private.
1061 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1062 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1063 pointEquals): Now package-private.
1064 * java/awt/geom/Arc2D.java (type): Now package-private.
1065 * java/awt/Window.java (windowFocusOwner): Now package-private.
1066 * java/awt/TextComponent.java (editable, selectionStart,
1067 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1069 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1071 * java/awt/MenuComponent.java (focusListener): Now
1073 * java/awt/Frame.java (state): Now package-private.
1074 * java/awt/Choice.java (pItems): Now package-private.
1075 * java/awt/Checkbox.java (state): Now package-private.
1076 * java/awt/Button.java (actionCommand, label): Now
1078 * gnu/javax/swing/text/html/parser/support/Parser.java
1079 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1081 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1083 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1084 clip, transform, font, comp): Now package-private.
1086 2005-04-26 Tom Tromey <tromey@redhat.com>
1088 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1091 2005-04-26 Mark Wielaard <mark@klomp.org>
1093 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1094 to MalformedURLException.
1096 2005-04-26 Michael Koch <konqueror@gmx.de>
1098 * java/security/AccessControlContext.java:
1100 (protectedDomains): Renamed from 'protectionDomain'.
1101 * java/security/AccessController.java:
1104 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1106 * gnu/java/security/action/GetSecurityPropertyAction.java
1107 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1108 of extending GetPropertyAction.
1111 (setParamters): New methods.
1112 (GetSecurityPropertyAction): Use new setParameters methods.
1114 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1116 * java/security/Security.java,
1117 java/security/cert/X509CRLSelector.java,
1118 java/security/cert/X509CertSelector.java:
1119 Modified to use SystemProperties.
1121 2005-04-26 Michael Koch <konqueror@gmx.de>
1123 * java/lang/System.java
1124 (setSecurityManager): Fixed comment.
1125 (getSecurityManager): Removed obsolete comment.
1127 2005-04-25 Tom Tromey <tromey@redhat.com>
1129 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1131 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1134 (connectSignals): Realize the window widget after connecting
1137 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1139 * java/awt/GraphicsEnvironment.java
1140 (localGraphicsEnvironment): New field.
1141 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1143 (isHeadless): Added support for java.awt.headless property.
1144 (isHeadlessInstance): Call headless().
1146 2005-04-25 Roman Kennke <roman@kennke.org>
1148 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1149 (getDisplayMode): Added. Returns the current display mode.
1150 (isFullScreenSupported): Added.
1151 * java/awt/GraphicsDevice.java
1152 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1153 This resizes and relocates the fullscreen window so that it uses
1154 the whole screen. This is not a fully accelerated fullscreen
1157 2005-04-25 Michael Koch <konqueror@gmx.de>
1159 * java/lang/Runtime.java,
1160 java/lang/SecurityManager.java,
1161 java/lang/System.java,
1162 java/lang/ThreadGroup.java:
1163 Replaced java.lang.Runtime.securityManager by
1164 java.lang.SecurityManager.current (as used in GNU classpath).
1166 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1168 * java/awt/Transparency.java
1169 (getTransparency): fixed API docs.
1171 2005-04-25 Archie Cobbs <archie@dellroad.org>
1173 * java/lang/Throwable.java: simplify initializing cause in constructor
1175 2005-04-25 Michael Koch <konqueror@gmx.de>
1177 * gnu/classpath/SystemProperties.java: New file.
1178 * gnu/classpath/natSystemProperties.cc: New file.
1179 * java/lang/Runtime.java
1180 (defaultProperties): Removed.
1182 (): Made thrown exceptions more verbose.
1183 (insertSystemProperties): Removed.
1184 * java/lang/System.java
1186 (properties): Likewise.
1187 (setSecurityManager): Reordered modifiers.
1188 (getenv): Improved javadoc.
1190 (isWordsBigEndian): Removed.
1191 * java/lang/natRuntime.cc
1192 (_Jv_SetDLLSearchPath): Likewise.
1193 (file_encoding): Likewise.
1194 (default_file_encoding): Likewise.
1195 (getpwuid_adaptor): Likewise.
1196 (insertSystemProperties): Likewise.
1197 * java/lang/natSystem.cc
1198 (isWordsBigEndian): Likewise.
1200 (ordinary_java_source_files):
1201 Added gnu/classpath/SystemProperties.java.
1202 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1203 * Makefile.in: Regenerated.
1205 2005-04-25 Roman Kennke <roman@kennke.org>
1207 * javax/swing/plaf/basic/BasicScrollBarUI.java
1208 (initDefaults): Initialize thumb*Color fields correctly.
1210 2005-04-25 Roman Kennke <roman@kennke.org>
1212 * javax/swing/text/GapContent.java:
1215 2005-04-25 Roman Kennke <roman@kennke.org>
1217 * javax/swing/plaf/metal/MetalBorders.java:
1218 Added inner class ScrollPaneBorder.
1219 * javax/swing/plaf/metal/MetalLookAndFeel.java
1220 (initComponentDefaults): Added default for "ScrollPane.border"
1221 to use the new ScrollPaneBorder.
1223 2005-04-25 Roman Kennke <roman@kennke.org>
1225 * javax/swing/text/AbstractDocument.java:
1226 Added FIXME comments. This class still has to be
1227 implemented thread-safe.
1229 2005-04-25 Roman Kennke <roman@kennke.org>
1231 * javax/swing/tree/DefaultTreeSelectionModel.java
1232 (DefaultTreeSelectionModel): Initialize listenerList here.
1234 2005-04-25 Roman Kennke <roman@kennke.org>
1236 * javax/swing/plaf/metal/MetalTextFieldUI.java
1237 (createUI): Return one instance per Component instead of a
1240 2005-04-25 Roman Kennke <roman@kennke.org>
1242 * javax/swing/text/Document.java:
1243 Added API documentation comments.
1245 2005-04-25 Roman Kennke <roman@kennke.org>
1247 * javax/swing/text/AbstractDocument.java
1248 (getDocumentProperties): Implemented.
1249 (setDocumentProperties): Implemented.
1250 (getProperty): Implemented.
1251 (putProperty): Implemented.
1253 2005-04-25 Roman Kennke <roman@kennke.org>
1255 * javax/swing/BoxLayout
1256 (preferredLayoutSize): Fixed computation so that it correctly
1257 adds the top and bottom insets of the container.
1259 2005-04-25 Roman Kennke <roman@kennke.org>
1261 * javax/swing/plaf/basic/BasicMenuItemUI.java
1262 (paintText): Make use of the 'selectionForeground' UI default
1265 2005-04-25 Roman Kennke <roman@kennke.org>
1267 * javax/swing/plaf/basic/BasicLookAndFeel.java
1268 (initSystemColorDefaults): Modified colors to match the
1269 BasicLookAndFeel in the reference implementation.
1270 (initComponentDefaults): Likewise.
1272 2005-04-25 Tom Tromey <tromey@redhat.com>
1274 * include/jni.h (_Jv_va_list): Removed.
1275 Moved configuration code...
1276 * include/jni_md.h: ... here. New file.
1277 * include/Makefile.in: Rebuilt.
1278 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1280 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1282 * java/io/FileInputStream.java (FileInputStream(File)),
1283 java/io/FileOutputStream.java (FileOutputStream(File)):
1284 Removed unnecessary File.isDirectory() check.
1286 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1288 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1289 gij if get_multilibs fails.
1291 2005-04-22 Anthony Green <green@redhat.com>
1293 * jni.cc (natrehash): Don't bother clearing memory again.
1294 * interpret.cc (do_allocate_static_fields): Ditto.
1295 * java/lang/natString.cc (rehash): Ditto.
1297 2005-04-22 Roman Kennke <roman@kennke.org>
1299 * javax/swing/plaf/basic/BasicLookAndFeel.java
1300 (initComponentDefaults): Changed Button.border to be
1301 BasicBorders.getButtonBorder as it should be.
1303 2005-04-22 Roman Kennke <roman@kennke.org>
1305 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1306 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1307 should according to a mauve testcase, instead of the preferred
1310 2005-04-22 Roman Kennke <roman@kennke.org>
1312 * javax/swing/JMenu.java
1313 (add): add(Component) now calls PopupMenu.insert(..) instead of
1314 PopupMenu.add(..). add(..) is not implemented for Component,
1315 so JComponent.add(..) is called instead, adding the component
1318 2005-04-22 Roman Kennke <roman@kennke.org>
1320 * javax/swing/plaf/basic/BasicButtonListener.java
1321 (mousePressed): replaced query to getModifiersEx with getModifiers.
1322 This method relied on faulty behaviour in getModifierEx.
1323 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1324 This method relied on faulty behaviour in getModifierEx.
1326 2005-04-22 Roman Kennke <roman@kennke.org>
1328 * javax/swing/plaf/metal/MetalLookAndFeel.java
1329 (getDefaults): Call addCustomEntriesToTable on the theme.
1331 2005-04-22 Roman Kennke <roman@kennke.org>
1333 * javax/swing/tree/DefaultTreeSelectionModel.java
1334 (constructor): Added implementation.
1335 (getRowMapper): Added implementation.
1336 (setSelectionMode): Added implementation.
1337 (getSelectionMode): Added implementation.
1338 (getSelectionPath): Added implementation.
1339 (getSelectionPaths): Added implementation.
1340 (getSelectionCount): Added implementation.
1341 (isSelectionEmpty): Added implementation.
1342 (getSelectionRows): Added implementation.
1343 (getMinSelectionRow): Added implementation.
1344 (getMaxSelectionRow): Added implementation.
1345 (getLeadSelectionRow): Added implementation.
1346 (getLeadSelectionPath): Added implementation.
1348 2005-04-22 Casey Marshall <csm@gnu.org>
1350 * gnu/java/security/der/DERValue.java
1351 (getValueAs): new method.
1352 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1353 (<init>): read both dates with 'DERValue.getValueAs', with
1354 'GENERALIZED_TIME' as the argument.
1356 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1358 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1359 be null, check for that case and don't deference it.
1361 2005-04-22 Sven de Marothy <sven@physto.se>
1363 * java/util/logging/LogManager.java: Reformatted.
1364 (readConfiguration): If a logger for a key is not found, create one.
1366 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1368 * java/rmi/Naming.java:
1369 Added class documentation.
1370 (lookup(String)): Call parseURL and getName.
1371 (bind(String,java.rmi.Remote)): Likewise.
1372 (unbind(String)): Likewise.
1373 (rebind(String, java.rmi.Remote)): Likewise.
1374 (list(String)): Call parseURL.
1375 (parseURL(String)): New method to handle parsing and defaults.
1376 (getName(java.net.URL)): New method to handle finding the service name.
1378 2005-04-21 Tom Tromey <tromey@redhat.com>
1380 * java/lang/natClass.cc (initializeClass): Link class.
1382 2005-04-21 Tom Tromey <tromey@redhat.com>
1384 * java/lang/AssertionError.java: Typo fix.
1386 2005-04-21 Tom Tromey <tromey@redhat.com>
1388 * java/lang/VMClassLoader.java (transformException): Removed.
1389 (resolveClass): No longer native. Now does nothing.
1390 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1392 2005-04-21 Anthony Green <green@redhat.com>
1395 * testsuite/libjava.special/special.exp,
1396 testsuite/libjava.special/pr21115I.java,
1397 testsuite/libjava.special/pr21115.java,
1398 testsuite/libjava.special/pr21115.out: New files.
1400 2005-04-21 Chris Burdess <dog@gnu.org>
1402 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1403 CRLF-delimited chunks.
1405 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1407 * java/net/URI.java:
1408 Added class documentation.
1409 (parseURI(String)): Only handle scheme-specific parts
1410 if URI is not opaque. Allow for parts that can't be null.
1411 (toString()): Output the scheme-specific part whole, rather
1412 than as its possibly non-existent components.
1414 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1416 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1417 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1418 Adjusted to match new regexp.
1420 2005-04-20 Michael Koch <konqueror@gmx.de>
1422 * gnu/java/net/protocol/file/Connection.java,
1423 gnu/java/net/protocol/jar/Connection.java:
1424 Reorganized import statements. Fixed @author tags.
1426 2005-04-20 Chris Burdess <dog@gnu.org>
1428 * java/io/DataOutputStream.java (writeUTF): Use block write for
1431 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1433 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1434 (readLine): Changed newline handling.
1436 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1438 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1439 ColorModel,byte[],int,int): Fixed byte to int conversion.
1441 2005-04-20 Michael Koch <konqueror@gmx.de>
1443 * java/io/FilePermission.java
1444 (serialVersionUID): Made private.
1445 (ALL_FILES): New constant.
1446 (implies): Handle '<<ALL FILES>>' case.
1448 2005-04-20 Sven de Marothy <sven@physto.se>
1450 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1451 (drawImage): Don't notify the image observer for offscreen images.
1452 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1453 (setPixels): Don't notify the image observer.
1455 2005-04-20 Sven de Marothy <sven@physto.se>
1457 * java/nio/ByteBufferImpl.java:
1458 (putChar): Inlined for speed.
1459 (put, get): Bulk methods can use arraycopy.
1460 * java/nio/CharBufferImpl.java:
1461 (put, get): Bulk methods can use arraycopy.
1463 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1465 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1467 * java/nio/CharBufferImpl.java
1468 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1469 (get(), put(char)): Inlined checks and field updates. Fixed to
1470 take array_offset into account.
1471 (get(int), put(int, char)): Fixed to take array_offset into account.
1473 2005-04-20 Sven de Marothy <sven@physto.se>
1475 * java/text/SimpleDateFormat.java:
1476 (formatWithAttribute): Pad year before truncating digits.
1478 2005-04-20 Michael Koch <konqueror@gmx.de>
1480 * gnu/java/net/PlainDatagramSocketImpl.java:
1481 Merged copyright header.
1482 * gnu/java/net/PlainSocketImpl.java:
1483 Reorganized import statements. Fixed @author tags.
1485 2005-04-20 Michael Koch <konqueror@gmx.de>
1487 * gnu/java/lang/ClassHelper.java,
1488 gnu/java/lang/reflect/TypeSignature.java:
1491 2005-04-20 Michael Koch <konqueror@gmx.de>
1493 * gnu/java/beans/IntrospectionIncubator.java:
1494 Fixed HTML tags in javadocs.
1496 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1498 * gnu/java/beans/IntrospectionIncubator.java
1499 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1500 set(), is(), add() and remove() with properties or events.
1502 2005-04-20 Michael Koch <konqueror@gmx.de>
1504 * gnu/java/awt/image/XBMDecoder.java:
1505 Fixed modifier order.
1507 2005-04-20 Roman Kennke <roman@kennke.org>
1509 * javax/swing/plaf/basic/BasicButtonUI.java
1510 (paint): This should not care about margin and insets
1511 at the same time, as insets already include the margin
1513 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1514 (getPreferredButtonSize): Likewise.
1515 * javax/swing/plaf/metal/MetalBorders.java
1516 (getBorderInsets): Likewise.
1518 2005-04-20 Roman Kennke <roman@kennke.org>
1520 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1521 (createMessageArea): The JPanel that holds the message area
1522 doesn't need to override getPreferredSize. This prevents some
1523 message components from rendering nicely.
1525 2005-04-20 Roman Kennke <roman@kennke.org>
1527 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1528 (createUI): Do not share instances between components.
1529 * javax/swing/plaf/metal/MetalSliderUI.java
1530 (createUI): Do not share instances between components.
1532 2005-04-20 Roman Kennke <roman@kennke.org>
1534 * javax/swing/plaf/metal/MetalBorders:
1535 (PopupMenuBorder): Added.
1536 * javax/swing/plaf/metal/MetalLookAndFeel
1537 (initComponentDefaults): Added PopupMenuBorder.
1539 2005-04-20 Roman Kennke <roman@kennke.org>
1541 * javax/swing/tree/DefaultTreeSelectionModel.java:
1542 Added API documentation all over the class.
1544 2005-04-20 Roman Kennke <roman@kennke.org>
1546 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1547 (installDefaults): Link managed JScrollPane in instance field.
1548 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1550 2005-04-20 Roman Kennke <roman@kennke.org>
1552 * javax/swing/plaf/basic/BasicScrollBarUI.java
1553 (PropertyChangeHandler.propertyChange): Add default
1554 to switch statement to avoid errors with unusual values
1556 (installComponents): Likewise.
1558 2005-04-20 Roman Kennke <roman@kennke.org>
1560 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1561 (createUI): Instances cannot be shared among JScrollPanes.
1563 2005-04-20 Roman Kennke <roman@kennke.org>
1565 * javax/swing/plaf/metal/MetalLookAndFeel.java
1566 (initComponentDefaults): Added defaults for Menu, MenuBar
1569 2005-04-20 Roman Kennke <roman@kennke.org>
1571 * javax/swing/plaf/basic/BasicScrollBarUI.java
1572 (installUI): Install listeners after everything all, otherwise
1573 we get strange NPEs in some situations, especially with
1575 (createIncreaseButton): Orientation is expected to be
1576 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1577 HORIZONTAL or VERTICAL.
1578 (createDecreaseButton): Orientation is expected to be
1579 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1580 HORIZONTAL or VERTICAL.
1581 (installComponents): Orientation for buttons is expected to be
1582 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1583 HORIZONTAL or VERTICAL.
1585 2005-04-20 Roman Kennke <roman@kennke.org>
1587 * javax/swing/JToolBar.java
1588 (addImpl): Adjust added AbstractButtons to look and feel like
1590 * javax/swing/plaf/metal/MetalBorders.java:
1591 Adjusted insets of ButtonBorder.
1592 (RolloverMarginBorder): Added class for toolbar buttons.
1593 (getButtonBorder): Adjusted factory method to return a shared
1594 instance of button border.
1595 (getToolbarButtonBorder): Added factory method to return a shared
1596 instance of toolbar button border.
1597 (getMarginBorder): Added factory method to return a shared
1598 instance of margin border.
1599 * javax/swing/plaf/metal/MetalButtonUI.java
1600 (installDefauls): If button is child of a JToolBar then set
1601 special border on this button.
1603 2005-04-20 Michael Koch <konqueror@gmx.de>
1605 * java/net/URLConnection.java
1606 (getContent): Fixed javadoc comment.
1608 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1610 * java/net/URL.java:
1611 (toURI()): Implemented.
1613 2005-04-19 Michael Koch <konqueror@gmx.de>
1615 * java/net/InetAddress.java
1616 (InetAddress): Fixed javadoc comment.
1618 (lookup): Added javadoc.
1619 (getFamily): Likewise.
1620 * java/net/ServerSocket.java
1621 (getChannel): Improved javadoc comment.
1623 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1625 * gnu/xml/dom/html2/DomHTMLParser.java:
1626 Changed 'enum' references to become 'enumeration'.
1628 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1630 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1632 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1634 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1635 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1636 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1637 (validateParameters(TagElement,htmlAttributeSet)):
1638 Replaced 'enum' with 'enumeration'.
1639 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1642 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1644 * javax/swing/text/html/parser/Entity.java (getType): New method.
1645 * javax/swing/text/html/parser/DocumentParser.java:
1646 Inherit from javax.swing.text.html.parser.Parser.
1648 2005-04-19 Chris Burdess <dog@gnu.org>
1650 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1651 check for HTML/XHTML namespace.
1653 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1655 * javax/swing/text/html/parser/Parser.java,
1656 javax/swing/text/html/parser/Entity.java:
1657 Inheriting from DTDConstants.
1658 * javax/swing/text/html/parser/AttributeList.java
1659 (getValues): Changed return type.
1660 * javax/swing/text/html/parser/DocumentParser
1661 (parse): Adding the callback parameter that receives
1664 2005-04-19 Chris Burdess <dog@gnu.org>
1666 * gnu/xml/dom/DomImpl.java,
1667 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1668 gnu/xml/dom/html2/DomHTMLDocument.java,
1669 gnu/xml/dom/html2/DomHTMLElement.java,
1670 gnu/xml/dom/html2/DomHTMLFormElement.java,
1671 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1672 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1673 gnu/xml/dom/html2/DomHTMLImpl.java,
1674 gnu/xml/dom/html2/DomHTMLInputElement.java,
1675 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1676 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1677 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1678 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1679 gnu/xml/dom/html2/DomHTMLTableElement.java,
1680 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1681 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1682 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1683 UI events, and tree utility functions.
1685 2005-04-19 Michael Koch <konqueror@gmx.de>
1687 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1688 gnu/javax/swing/text/html/parser/gnuDTD.java,
1689 gnu/javax/swing/text/html/parser/models/node.java:
1690 Reworked import statements.
1692 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1694 * javax/swing/text/html/HTMLDocument.java: New file.
1696 2005-04-19 Michael Koch <konqueror@gmx.de>
1698 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1700 * javax/swing/text/html/parser/AttributeList.java:
1701 Fixed order of modifiers.
1702 (AttributeList): Made final.
1703 * javax/swing/text/html/parser/ContentModel.java:
1704 Fixed html characters in javadocs.
1705 * javax/swing/text/html/parser/DTD.java
1706 (DTD): Don't implement java.io.Serializable directly.
1707 (getElement): Simplified.
1708 * javax/swing/text/html/parser/DTDConstants.java:
1710 * javax/swing/text/html/parser/Element.java:
1711 Fixed order of modifiers.
1712 * javax/swing/text/html/parser/Parser.java:
1713 Reformatted. Don't use fully-qualified class names.
1714 * javax/swing/text/html/parser/ParserDelegator.java:
1715 Fixed order of modifiers.
1716 * javax/swing/text/rtf/RTFParser.java:
1717 Re-ordered import statements.
1718 * javax/swing/text/rtf/RTFScanner.java:
1719 Removed unused import statement.
1721 2005-04-19 Chris Burdess <dog@gnu.org>
1723 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1724 gnu/xml/dom/html2/DomHTMLCollection.java,
1725 gnu/xml/dom/html2/DomHTMLDocument.java,
1726 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1728 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1729 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1730 gnu/xml/dom/html2/DomHTMLDivElement.java,
1731 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1732 gnu/xml/dom/html2/DomHTMLFontElement.java,
1733 gnu/xml/dom/html2/DomHTMLFormElement.java,
1734 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1735 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1736 gnu/xml/dom/html2/DomHTMLHRElement.java,
1737 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1738 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1739 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1740 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1741 gnu/xml/dom/html2/DomHTMLImageElement.java,
1742 gnu/xml/dom/html2/DomHTMLInputElement.java,
1743 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1744 gnu/xml/dom/html2/DomHTMLLIElement.java,
1745 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1746 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1747 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1748 gnu/xml/dom/html2/DomHTMLMapElement.java,
1749 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1750 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1751 gnu/xml/dom/html2/DomHTMLModElement.java,
1752 gnu/xml/dom/html2/DomHTMLOListElement.java,
1753 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1754 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1755 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1756 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1757 gnu/xml/dom/html2/DomHTMLParamElement.java,
1758 gnu/xml/dom/html2/DomHTMLPreElement.java,
1759 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1760 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1761 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1762 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1763 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1764 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1765 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1766 gnu/xml/dom/html2/DomHTMLTableElement.java,
1767 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1768 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1769 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1770 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1771 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1773 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1775 * javax/swing/text/ChangedCharSetException.java,
1776 javax/swing/text/html/HTMLEditorKit.java,
1777 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1778 javax/swing/text/html/parser/AttributeList.java,
1779 javax/swing/text/html/parser/ContentModel.java,
1780 javax/swing/text/html/parser/DocumentParser.java,
1781 javax/swing/text/html/parser/DTD.java,
1782 javax/swing/text/html/parser/DTDConstants.java,
1783 javax/swing/text/html/parser/Element.java,
1784 javax/swing/text/html/parser/Entity.java,
1785 javax/swing/text/html/parser/Parser.java,
1786 javax/swing/text/html/parser/TagElement.java,
1787 gnu/javax/swing/text/html/package.html,
1788 gnu/javax/swing/text/html/parser/gnuDTD.java,
1789 gnu/javax/swing/text/html/parser/HTML_401F.java,
1790 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1791 gnu/javax/swing/text/html/parser/htmlValidator.java,
1792 gnu/javax/swing/text/html/parser/package.html,
1793 gnu/javax/swing/text/html/parser/models/list.java,
1794 gnu/javax/swing/text/html/parser/models/node.java,
1795 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1796 gnu/javax/swing/text/html/parser/models/package.html,
1797 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1798 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1799 gnu/javax/swing/text/html/parser/models/transformer.java,
1800 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1801 gnu/javax/swing/text/html/parser/support/package.html,
1802 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1803 gnu/javax/swing/text/html/parser/support/Parser.java,
1804 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1805 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1806 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1807 gnu/javax/swing/text/html/parser/support/low/Location.java,
1808 gnu/javax/swing/text/html/parser/support/low/node.java,
1809 gnu/javax/swing/text/html/parser/support/low/package.html,
1810 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1811 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1812 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1813 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1815 * javax/swing/text/html/HTML.java,
1816 javax/swing/text/html/parser/ParserDelegator.java:
1817 New files (replacing).
1818 * javax/swing/text/html/package.html,
1819 javax/swing/text/html/parser/package.html: Documenting the
1822 2005-04-19 Chris Burdess <dog@gnu.org>
1824 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1825 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1826 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1827 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1828 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1829 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1830 gnu/xml/dom/html2/DomHTMLBRElement.java,
1831 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1832 gnu/xml/dom/html2/DomHTMLCollection.java,
1833 gnu/xml/dom/html2/DomHTMLDocument.java,
1834 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1836 2005-04-19 Michael Koch <konqueror@gmx.de>
1838 * Makefile.am: Added new files.
1839 * Makefile.in: Regenerated.
1841 2005-04-19 Roman Kennke <roman@kennke.org>
1843 * javax/swing/text/JTextComponent.java
1844 (JTextComponent): Added repaintListener which issues repaint
1845 requests when the underlying document changes.
1846 (setDocument): Adds repaintListener to document when the
1847 document is changed.
1848 * javax/swing/text/DefaultEditorKit.java:
1849 Removed repaint calls on JTextComponent. This is now handled
1850 through a DocumentListener in JTextComponent that repaints
1851 the component when needed.
1853 2005-04-19 Roman Kennke <roman@kennke.org>
1856 * javax/swing/text/StyleContext.java
1857 (NamedStyle.setResolveParent): Added null
1860 2005-04-19 Michael Koch <konqueror@gmx.de>
1862 * java/rmi/server/RemoteObject.java:
1863 Removed unused import statement.
1865 2005-04-19 Michael Koch <konqueror@gmx.de>
1867 * java/net/URL.java: Formatting cleanups.
1869 2005-04-19 Michael Koch <konqueror@gmx.de>
1871 * java/awt/FontMetrics.java: Reformatted.
1872 (getFontRenderContext): Handle case when java.awt.Graphics context is
1875 2005-04-19 Michael Koch <konqueror@gmx.de>
1877 * java/awt/FontMetrics.java
1878 (getStringBounds): New methods.
1881 2005-04-19 Michael Koch <konqueror@gmx.de>
1883 * gnu/java/security/x509/X509Certificate.java
1884 (parse): Handle val == null case.
1886 2005-04-19 Roman Kennke <roman@kennke.org>
1888 * javax/swing/plaf/metal/MetalLookAndFeel.java
1889 (initComponentDefaults): Added defaults for Menu, MenuBar
1892 2005-04-19 Roman Kennke <roman@kennke.org>
1894 * javax/swing/plaf/metal/MetalLookAndFeel.java
1895 (initComponentDefaults): Added Label.font.
1896 (initSystemColorDefaults): Added this method and adjusted the
1897 general control color.
1899 2005-04-19 Roman Kennke <roman@kennke.org>
1901 * javax/swing/plaf/metal/MetalBorders.java:
1903 * javax/swing/plaf/metal/MetalButtonUI.java:
1904 (installDefaults): Install button font.
1905 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1906 (initComponentDefaults): Added button border, font and margin.
1907 Changed components background color to the Metal current themes
1910 2005-04-19 Roman Kennke <roman@kennke.org>
1912 * javax/swing/plaf/metal/MetalLookAndFeel.java
1913 (initComponentDefaults): Added to set Metal specific component
1916 2005-04-19 Mark Wielaard <mark@klomp.org>
1918 * javax/swing/plaf/metal/MetalLookAndFeel.java
1919 (initClassDefaults): Call super.initClassDefaults().
1921 2005-04-19 Roman Kennke <roman@kennke.org>
1923 * javax/swing/plaf/metal/MetalLookAndFeel.java
1924 (initClassDefaults): Added to include the *UI classes.
1926 2005-04-19 Roman Kennke <roman@kennke.org>
1928 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1930 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1932 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1934 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1936 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1938 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1940 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1942 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1944 * javax/swing/plaf/metal/MetalSliderUI.java:
1946 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1948 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1950 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1952 2005-04-19 Roman Kennke <roman@kennke.org>
1954 * javax/swing/plaf/metal/MetalButtonUI.java:
1955 Added skeleton class.
1956 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1957 Added skeleton class.
1958 * javax/swing/plaf/metal/MetalLabelUI.java:
1959 Added skeleton class.
1960 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1961 Added skeleton class.
1962 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1963 Added skeleton class.
1964 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1965 Added skeleton class.
1967 2005-04-19 Roman Kennke <roman@kennke.org>
1969 * javax/swing/UIDefaults.java:
1970 Added API documentation for all methods.
1972 2005-04-19 Roman Kennke <roman@kennke.org>
1974 * javax/swing/UIDefaults.java
1975 (put): Now uses new checkAndPut method instead of checking
1977 (putDefaults): Fixed so that it accepts null-values and
1978 treats them like remove(key).
1979 (checkAndPut): Added. This checks for null-values and calls
1982 2005-04-19 Michael Koch <konqueror@gmx.de>
1984 * Makefile.am: Added new files.
1985 * Makefile.in: Regenerated.
1987 2005-04-19 Mark Wielaard <mark@klomp.org>
1989 * java/lang/natRuntime.cc (insertSystemProperties): Set
1990 java.class.path to CLASSPATH only when not empty. Fall back to
1991 default path "." when java.class.path is empty.
1993 2005-04-19 Michael Koch <konqueror@gmx.de>
1995 * javax/swing/text/rtf/ControlWordToken.java,
1996 javax/swing/text/rtf/RTFEditorKit.java,
1997 javax/swing/text/rtf/RTFParseException.java,
1998 javax/swing/text/rtf/RTFParser.java,
1999 javax/swing/text/rtf/RTFScanner.java,
2000 javax/swing/text/rtf/TextToken.java,
2001 javax/swing/text/rtf/Token.java: New files.
2002 * Makefile.am: Added new files.
2003 * Makefile.in: Regenerated.
2005 2005-04-19 Michael Koch <konqueror@gmx.de>
2007 * java/awt/geom/QuadCurve2D.java:
2008 Fixed Brian Gough's name for real.
2010 2005-04-19 Roman Kennke <roman@kennke.org>
2012 * javax/swing/UIManager.java:
2013 Make the UIManager respect the swing.defaultlaf system
2016 2005-04-19 Tom Tromey <tromey@redhat.com>
2018 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2021 2005-04-19 Roman Kennke <roman@kennke.org>
2023 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2024 Fixed tabs to spaces.
2026 2005-04-19 Roman Kennke <roman@kennke.org>
2028 * javax/swing/plaf/basic/BasicMenuUI.java
2029 (getMaximumSize): Now returns preferredSize because JMenu should
2030 never be bigger than that.
2031 * javax/swing/JRootPane
2032 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2034 2005-04-19 Roman Kennke <roman@kennke.org>
2036 * javax/swing/JRootPane.java:
2037 Fixed various tabs to be spaces.
2038 (RootLayout.layoutContainer): Made menubar left aligned.
2040 2005-04-19 Roman Kennke <roman@ontographics.com>
2042 * javax/swing/JList.java
2043 (getPreferredScrollableViewportSize):
2044 The previous implementation was merely guessing the size,
2045 now it respects layoutOrientation, visibleRowCount
2047 (getScrollableTracksViewportHeight):
2048 Reimplemented so that layoutOrientation, visibleRowCount
2049 and preferred size are respected.
2050 (getScrollableTracksViewportWidth):
2051 Reimplemented so that layoutOrientation, visibleRowCount
2052 and preferred size are respected.
2053 * javax/swing/plaf/basic/BasicListUI.java
2055 Improved calculation of preferredSize when JList is
2056 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2058 The previous implementation assumed a layoutOrientation of
2059 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2060 JList.VERTICAL_WRAP.
2062 2005-04-19 Roman Kennke <roman@ontographics.com>
2064 * javax/swing/plaf/basic/BasicListUI.java
2065 (paintCell): use CellRendererPane for painting the cells.
2067 2005-04-19 Roman Kennke <roman@ontographics.com>
2069 * javax/swing/plaf/basic/BasicListUI:
2070 fixed modifiers of several fields, methods and inner
2071 classes to match the 'spec'.
2072 (getMaximumSize): removed. It's not in the spec and the
2073 implementations was superfluous.
2075 2005-04-19 Roman Kennke <roman@ontographics.com>
2077 * javax/swing/plaf/basic/BasicListUI:
2078 make BasicListUI capable of wrapping lists
2079 (layoutOrientation property of javax.swing.JList)
2081 2005-04-19 Roman Kennke <roman@ontographics.com>
2083 * javax/swing/plaf/basic/BasicListUI
2084 (updateLayoutState,paint): make BasicListUI aware of the
2085 width of the rendered JList.
2087 2005-04-19 Roman Kennke <roman@kennke.org>
2089 * javax/swing/ImageIcon.java
2090 Added API documentation.
2092 2005-04-19 Roman Kennke <roman@kennke.org>
2094 * javax/swing/text/ImageIcon.java
2095 (ImageIcon): Use setImage instead of direct assignment.
2096 (setImage): Call loadImage to make sure that the image is loaded.
2097 (loadImage): Waits for the image to complete loading.
2098 (getImageLoadStatus): Added. Returns the load status of the
2101 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2103 * javax/swing/JTextArea.java (replaceRange):
2104 Fixing doc.remove(start, length) misinterpretation.
2106 2005-04-19 Roman Kennke <roman@ontographics.com>
2108 * javax/swing/CellRendererPane.java:
2109 implemented all methods of this class.
2110 reformatted all wrong formatted code.
2112 2005-04-19 Roman Kennke <roman@kennke.org>
2114 * javax/swing/BoxLayout.java:
2115 (layoutContainer): Made this layout manager respect the
2116 minimum, maximum and preferred size more correctly.
2118 2005-04-19 Roman Kennke <roman@ontographics.com>
2120 * javax/swing/BoxLayout.java:
2121 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2122 layoutContainer): Make these methods and thereby the
2123 BoxLayout respect the insets (like borders) of the
2124 component that is laid out.
2126 2005-04-19 Roman Kennke <roman@kennke.org>
2128 * javax/swing/JComponent.java:
2129 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2130 Untabified the file.
2132 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2134 * javax/swing/JComboBox.java (constructors): selecting the
2135 first item if the box was constructed from the provided
2136 non - empty array or vector.
2138 2005-04-19 Michael Koch <konqueror@gmx.de>
2140 * gnu/java/awt/peer/gtk/GdkGraphics.java
2141 (getClipBounds): Handle clip being null.
2142 (setClip): Likewise.
2143 * java/beans/beancontext/BeanContextSupport.java
2147 (removeAll): Likewise.
2148 (retainAll): Likewise.
2150 2005-04-19 Michael Koch <konqueror@gmx.de>
2152 * java/beans/beancontext/BeanContextServicesSupport.java
2153 (BeanContextServicesSupport): Reimplemented.
2154 (addBeanContextServicesListener): Implemented.
2155 (initialize): Likewise.
2156 (removeBeanContextServicesListener): Likewise.
2157 * java/beans/beancontext/BeanContextSupport.java
2159 (addBeanContextMembershipListener): Likewise.
2160 (getLocale): Likewise.
2161 (initialize): Likewise.
2162 (iterator): Likewise.
2164 (toArray): Likewise.
2166 2005-04-19 Roman Kennke <roman@kennke.org>
2168 * java/awt/MediaTracker.java:
2169 Reindented tabs to spaces.
2171 2005-04-19 Roman Kennke <roman@kennke.org>
2173 * java/awt/MediaTracker.java
2174 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2175 confused the media tracker and lead to lockups. The LOADING
2176 bit is handled on other places.
2177 (addImage): Removed the 'start image tracking' stuff. This
2178 is not necessary and could confuse the media tracker.
2179 (checkAll): Improved the check for image status so that
2180 images that already complete images are detected. Also now
2181 are really all images checked and if necessary loaded. Before
2182 the method bailed out after the first incomplete image.
2183 (statusAll): Detect images that are complete after the
2184 call to Component.prepareImage(..).
2185 (checkID): The same as in checkAll.
2186 (statusID): The same as in statusAll.
2188 2005-04-19 Roman Kennke <roman@kennke.org>
2190 * java/awt/MediaTracker.java
2191 (addImage): Synchronized list access.
2192 (waitForAll): Fixed comparison of time (changed < to >).
2193 (waitForID): Fixed comparison of time (changed < to >).
2194 (removeImage): Synchronized list access.
2196 2005-04-19 Roman Kennke <roman@kennke.org>
2198 * java/awt/MediaTracker.java
2199 Added API documentation.
2201 2005-04-19 Roman Kennke <roman@kennke.org>
2203 * java/awt/MediaTracker.java
2204 (MediaEntry.imageUpdate): Fixed flags. The different flags
2205 must not be ORed together.
2206 (checkAll): Modified to handle different meaning of the flags.
2207 (waitForAll): Fixed so that it waits maximum the
2208 specified amount of milliseconds.
2209 (statusAll): Modified to handle different meaning of the flags.
2210 (waitForID): Fixed so that it waits maximum the
2211 specified amount of milliseconds.
2213 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2215 * java/awt/Font.java (decode): Handle null argument and allow
2218 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2220 * java/beans/EventHandler.java: Reworked documentation.
2221 (invoke): Fixed behavior to match spec.
2223 2005-04-19 Michael Koch <konqueror@gmx.de>
2225 * java/awt/print/PrinterJob.java
2226 (pageDialog): New method.
2227 (printDialog): Implemented.
2229 2005-04-19 Michael Koch <konqueror@gmx.de>
2231 * java/awt/image/ConvolveOp.java:
2232 Removed comment added by eclipse.
2234 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2236 * java/awt/image/IndexColorModel.java
2237 (getRGB): Check if pixel is negative.
2239 2005-04-19 Michael Koch <konqueror@gmx.de>
2241 * java/awt/image/RasterOp.java:
2242 Fixed wrong formatting.
2244 2005-04-18 Roman Kennke <roman@kennke.org>
2246 * java/awt/Compmonent.java
2247 (setComponentOrientation): Made this property firing a
2248 PropertyChangeEvent.
2250 2005-04-18 Roman Kennke <roman@kennke.org>
2252 * java/awt/BorderLayout.java
2253 (calcSize): Check for overflow when component sizes are added.
2255 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2257 * java/awt/AWTEvent.java (toString): Added case
2258 for source not being an AWT component.
2260 2005-04-18 Chris Burdess <dog@gnu.org>
2262 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2264 2005-04-18 Michael Koch <konqueror@gmx.de>
2266 gnu/java/awt/EmbeddedWindowSupport.java,
2267 gnu/java/net/HeaderFieldHelper.java,
2268 gnu/java/net/URLParseError.java,
2269 gnu/java/net/protocol/file/Handler.java,
2270 gnu/java/net/protocol/jar/Handler.java:
2271 Fixed usage of @author tag.
2273 2005-04-18 Michael Koch <konqueror@gmx.de>
2275 * gnu/xml/aelfred2/XmlParser.java:
2276 Reverted my typo fix.
2278 2005-04-18 Michael Koch <konqueror@gmx.de>
2280 * java/awt/geom/CubicCurve2D.java,
2281 java/awt/geom/QuadCurve2D.java:
2282 Fixed mentioning of Brian Gouph.
2284 2005-04-18 Michael Koch <konqueror@gmx.de>
2286 * gnu/java/awt/Buffers.java,
2287 gnu/java/awt/image/ImageDecoder.java,
2288 gnu/java/awt/image/XBMDecoder.java,
2289 gnu/java/awt/peer/ClasspathFontPeer.java,
2290 gnu/java/net/CRLFInputStream.java,
2291 gnu/java/net/EmptyX509TrustManager.java,
2292 gnu/java/net/LineInputStream.java,
2293 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2294 gnu/java/net/protocol/ftp/BlockInputStream.java,
2295 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2296 gnu/java/net/protocol/ftp/DTP.java,
2297 gnu/java/net/protocol/ftp/DTPInputStream.java,
2298 gnu/java/net/protocol/ftp/FTPConnection.java,
2299 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2300 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2301 gnu/java/net/protocol/ftp/StreamInputStream.java,
2302 gnu/java/net/protocol/http/ChunkedInputStream.java,
2303 gnu/java/net/protocol/http/HTTPConnection.java,
2304 gnu/java/net/protocol/http/HTTPURLConnection.java,
2305 gnu/java/net/protocol/http/Headers.java,
2306 gnu/java/net/protocol/http/Request.java,
2307 gnu/java/nio/ChannelInputStream.java,
2308 gnu/java/nio/ChannelOutputStream.java,
2309 gnu/java/nio/InputStreamChannel.java,
2310 gnu/java/nio/OutputStreamChannel.java,
2311 gnu/java/nio/SelectorProviderImpl.java,
2312 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2313 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2314 gnu/java/rmi/dgc/DGCImpl.java,
2315 gnu/java/rmi/registry/RegistryImpl.java,
2316 gnu/java/rmi/server/ProtocolConstants.java,
2317 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2318 gnu/java/rmi/server/RMIIncomingThread.java,
2319 gnu/java/rmi/server/RMIObjectInputStream.java,
2320 gnu/java/rmi/server/RMIObjectOutputStream.java,
2321 gnu/java/rmi/server/RMIVoidValue.java,
2322 gnu/java/rmi/server/UnicastConnectionManager.java,
2323 gnu/java/rmi/server/UnicastRef.java,
2324 gnu/java/rmi/server/UnicastRemoteCall.java,
2325 gnu/java/rmi/server/UnicastRemoteStub.java,
2326 gnu/java/rmi/server/UnicastServerRef.java,
2327 gnu/java/security/OID.java,
2328 gnu/java/security/der/DERReader.java,
2329 gnu/java/security/provider/CollectionCertStoreImpl.java,
2330 gnu/java/security/provider/DSAParameterGenerator.java,
2331 gnu/java/security/provider/DefaultPolicy.java,
2332 gnu/java/security/provider/EncodedKeyFactory.java,
2333 gnu/java/security/provider/GnuDHPublicKey.java,
2334 gnu/java/security/provider/GnuDSAPrivateKey.java,
2335 gnu/java/security/provider/GnuDSAPublicKey.java,
2336 gnu/java/security/provider/GnuRSAPrivateKey.java,
2337 gnu/java/security/provider/GnuRSAPublicKey.java,
2338 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2339 gnu/java/security/provider/RSA.java,
2340 gnu/java/security/provider/SHA1PRNG.java,
2341 gnu/java/security/provider/SHA1withRSA.java,
2342 gnu/java/security/provider/X509CertificateFactory.java,
2343 gnu/java/security/x509/GnuPKIExtension.java,
2344 gnu/java/security/x509/X500DistinguishedName.java,
2345 gnu/java/security/x509/X509CRL.java,
2346 gnu/java/security/x509/X509CRLEntry.java,
2347 gnu/java/security/x509/X509CertPath.java,
2348 gnu/java/security/x509/X509CertSelectorImpl.java,
2349 gnu/java/security/x509/X509Certificate.java,
2350 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2351 gnu/java/security/x509/ext/BasicConstraints.java,
2352 gnu/java/security/x509/ext/CRLNumber.java,
2353 gnu/java/security/x509/ext/CertificatePolicies.java,
2354 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2355 gnu/java/security/x509/ext/Extension.java,
2356 gnu/java/security/x509/ext/GeneralNames.java,
2357 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2358 gnu/java/security/x509/ext/KeyUsage.java,
2359 gnu/java/security/x509/ext/PolicyConstraint.java,
2360 gnu/java/security/x509/ext/PolicyMappings.java,
2361 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2362 gnu/java/security/x509/ext/ReasonCode.java,
2363 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2364 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2365 Reorganized import statements.
2367 2005-04-18 Michael Koch <konqueror@gmx.de>
2369 * gnu/java/awt/color/CieXyzConverter.java,
2370 gnu/java/awt/color/ClutProfileConverter.java,
2371 gnu/java/awt/color/ColorLookUpTable.java,
2372 gnu/java/awt/color/ColorSpaceConverter.java,
2373 gnu/java/awt/color/GrayProfileConverter.java,
2374 gnu/java/awt/color/GrayScaleConverter.java,
2375 gnu/java/awt/color/LinearRGBConverter.java,
2376 gnu/java/awt/color/ProfileHeader.java,
2377 gnu/java/awt/color/PyccConverter.java,
2378 gnu/java/awt/color/RgbProfileConverter.java,
2379 gnu/java/awt/color/SrgbConverter.java,
2380 gnu/java/awt/color/TagEntry.java,
2381 gnu/java/awt/color/ToneReproductionCurve.java:
2382 Standardized file headers.
2384 2005-04-16 Tom Tromey <tromey@redhat.com>
2386 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2387 'ANY' package-private.
2389 2005-04-15 Tom Tromey <tromey@redhat.com>
2391 * Makefile.in: Rebuilt.
2392 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2393 (libgcj0_convenience_la_LIBADD): ... here.
2395 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2397 * gij.cc (version): Properly quote java version.
2398 (main): Fix typo in comment.
2400 2005-04-13 Mark Wielaard <mark@klomp.org>
2402 * java/lang/natRuntime.cc (insertSystemProperties): Set
2403 java.class.path to CLASSPATH if not already set.
2405 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2407 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2409 2005-04-12 Mike Stump <mrs@apple.com>
2411 * configure: Regenerate.
2413 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2416 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2417 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2419 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2422 * scripts/TexinfoDoclet.java: Removed.
2423 * Makefile.am (texinfo): Removed.
2424 * Makefile.in: Regenerated.
2426 2005-04-11 Michael Koch <konqueror@gmx.de>
2428 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2429 Fixed wrong casting.
2431 2005-04-06 Andrew Haley <aph@redhat.com>
2433 * testsuite/libjava.lang/bytearray.java: New file.
2434 * testsuite/libjava.lang/bytearray.out: New file.
2435 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2436 (loadClass): Use it.
2437 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2439 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2441 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2442 gcj-dbtool dependency
2443 * Makefile.in: Regenerated
2445 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2447 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2448 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2450 2005-04-05 Andrew Haley <aph@redhat.com>
2452 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2453 (Tokenizer): New class.
2454 (getFiles): New method.
2455 (main): Add "-" argument.
2457 Read list of files from stdin when merging map databases.
2458 (usage): Add "-" argument.
2462 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2465 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2466 * Makefile.in: Regenerate.
2467 * configure.ac: Add --with-java-home option.
2468 * configure: Regenerate.
2469 * external/Makefile.in: Regenerate.
2470 * external/sax/Makefile.in: Regenerate.
2471 * external/w3c_dom/Makefile.in: Regenerate.
2472 * gcj/Makefile.in: Regenerate.
2473 * include/Makefile.in: Regenerate.
2474 * testsuite/Makefile.in: Regenerate.
2475 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2478 2005-04-05 Tom Tromey <tromey@redhat.com>
2480 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2481 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2482 Rewrote to use _Jv_FindClassFromSignature.
2483 * verify.cc (resolve): throw NoClassDefFoundError.
2484 * link.cc (resolve_field): Throw NoClassDefFoundError.
2485 (find_field): Likewise.
2486 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2487 Handle error cases. Added 'endp' argument.
2488 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2490 2005-04-05 Tom Tromey <tromey@redhat.com>
2492 * Makefile.in: Rebuilt.
2493 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2494 gtk_awt_peer_sources.
2495 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2496 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2497 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2498 (gtk-awt-peer.lo): New target.
2500 2005-04-04 Steve Pribyl <steve@netfuel.com>
2503 * configure.ac: Fix fastjar definition for cross builds.
2504 * configure: Rebuilt.
2506 2005-04-04 Tom Tromey <tromey@redhat.com>
2508 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2509 it was already found.
2511 2005-04-04 Tom Tromey <tromey@redhat.com>
2513 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2514 org.metastatic.jessie.
2516 2005-04-02 Anthony Green <green@redhat.com>
2519 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2521 2005-04-02 Mark Wielaard <mark@klomp.org>
2523 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2524 Attributes and attribute order doesn't matter.
2525 (BasicAttributesEnumeration.where): Initialize to zero.
2526 (BasicAttributesEnumeration.nextElement): Update and compare where
2527 appropriately (zero based).
2529 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2531 PR libgcj/20090, PR libgcj/20526
2532 * gij.cc (nonstandard_opts_help): New function.
2533 (add_option): New function.
2534 (main): Support java options. Set java.class.path. Don't set
2536 * prims.cc (parse_x_arg): New function.
2537 (parse_init_args): Call parse_x_arg for -X and _ options, when
2538 ignoreUnrecognized is true.
2539 (new _Jv_RunMain): New vm_args variant.
2540 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2541 (_Jv_Jar_Class_Path): Remove variable.
2542 * include/java-props.h: Likewise.
2543 * include/cni.h (JvRealloc): New function.
2544 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2545 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2546 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2548 * configure.ac (JV_VERSION): Define.
2549 (JV_API_VERSION): Likewise.
2550 * configure: Regenerate.
2551 * include/config.h.in: Regenerate.
2553 2005-04-01 Mark Anderson <mark@panonet.net>
2555 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2556 -Infinity as parameters.
2558 2005-04-01 Michael Koch <konqueror@gmx.de>
2560 * java/io/PipedInputStream.java
2561 (read): Make sure a positive byte value is returned. Revised javadoc.
2562 Thanks to Olafur Bragason for reporting these bugs.
2564 2005-04-01 Tom Tromey <tromey@redhat.com>
2566 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2567 Updated for name change.
2568 (nativeFindClass): New method.
2569 (loadClass): Use nativeFindClass.
2570 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2572 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2573 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2575 (initialize): New method.
2576 (nativeFindClass): Declare.
2577 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2578 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2579 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2581 (definePackageForNative): Removed.
2582 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2583 Moved to VMClassLoader.java.
2584 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2585 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2586 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2587 removed VMClassLoader.java.
2588 (nat_source_files): Removed natVMClassLoader.cc.
2590 2005-04-01 Tom Tromey <tromey@redhat.com>
2592 * Makefile.in: Rebuilt.
2593 * Makefile.am (db_pathtail): Use $(gcc_version), not
2596 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2598 * java/util/Timer.java
2599 (run): Stop the queue if a task throws an exception.
2601 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2603 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2605 2005-03-29 Ian Lance Taylor <ian@airs.com>
2607 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2608 * external/sax/Makefile.in: Rebuild.
2609 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2611 * external/w3c_dom/Makefile.in: Rebuild.
2613 2005-03-29 Tom Tromey <tromey@redhat.com>
2615 * java/lang/natRuntime.cc (insertSystemProperties): Set
2616 gnu.gcj.runtime.endorsed.dirs.
2617 * Makefile.in: Rebuilt.
2618 * Makefile.am (ordinary_java_source_files): Added
2619 HelperClassLoader.java.
2620 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2621 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2623 (init): Use addDirectoriesFromProperty.
2624 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2625 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2626 gnu.gcj.runtime.endorsed.dirs.
2627 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2629 2005-03-26 Chris Burdess <dog@gnu.org>
2631 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2634 2005-03-13 Michael Koch <konqueror@gmx.de>
2636 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2638 2005-03-11 Chris Burdess <dog@gnu.org>
2640 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2643 2005-02-27 Chris Burdess <dog@gnu.org>
2645 * gnu/xml/aelfred2/JAXPFactory.java,
2646 gnu/xml/aelfred2/SAXDriver.java,
2647 gnu/xml/aelfred2/XmlParser.java,
2648 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2649 formatting conventions. Replaced arrays of Object with struct-like
2650 classes for easier maintainability. Made SAXDriver.stringInterning
2651 package private to allow access from XmlParser inside the loop without
2652 a method call overhead.
2654 2005-03-11 Chris Burdess <dog@gnu.org>
2656 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2659 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2661 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2662 settings to sub Makefiles.
2663 (GCJH, ZIP): Prefix with top_builddir.
2664 * configure: Rebuild.
2665 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2666 * external/w3c_dom/Makefile.in: Rebuild.
2667 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2668 * external/sax/Makefile.in: Rebuild.
2670 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2672 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2673 libsocket to the libraries to link for Solaris.
2675 2005-03-28 Per Bothner <per@bothner.com>
2677 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2678 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2680 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2682 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2683 to fix a ONESTEP fallout.
2684 * Makefile.in: Regenerate.
2686 2005-03-25 Mike Stump <mrs@apple.com>
2688 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2689 paths like we do for the compiler, as we use it in external/sax
2690 and it doesn't get MULTIBUILDTOP right when multilibing.
2692 2005-03-24 Anthony Green <green@redhat.com>
2694 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2696 (usage): Add [LIBDIR] to help output.
2697 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2698 * Makefile.am (AM_CXXFLAGS): Define
2699 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2700 (db_pathtail): New macro.
2702 2005-03-24 Tom Tromey <tromey@redhat.com>
2704 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2705 add sax and w3c libraries.
2706 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2708 * external/w3c_dom/Makefile.in: Rebuilt.
2709 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2711 (libw3c_gcj_la_LDFLAGS): New variable.
2712 (noinst_LTLIBRARIES): Renamed.
2713 * external/sax/Makefile.in: Rebuilt.
2714 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2716 (libsax_gcj_la_LDFLAGS): New variable.
2717 (noinst_LTLIBRARIES): Renamed.
2719 2005-03-23 Tom Tromey <tromey@redhat.com>
2721 * Makefile.in: Rebuilt.
2722 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2723 (libgcj0_convenience_la_SOURCES): Don't include
2724 gnu_xml_source_files.
2725 (libgcj0_convenience_la_LIBADD): New variable.
2726 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2727 (all_java_source_files): javax_imageio_source_files,
2728 javax_xml_source_files, and gnu_java_beans_source_files.
2729 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2730 (gnu-xml.lo): New target.
2731 (javax-imageio.lo): Likewise.
2732 (javax-xml.lo): Likewise.
2733 (gnu-java-beans.lo): Likewise.
2734 (gnu_java_beans_source_files): New variable.
2735 (javax_imageio_source_files): Likewise.
2736 (javax_xml_source_files): Likewise.
2737 (javax_source_files): Moved files to other variable.
2738 (awt_java_source_files): Likewise.
2739 (ordinary_java_source_files): Added BootClassLoader.java.
2740 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2741 not system class loader.
2742 (initBootLoader): New method.
2743 (loadClass): Search bootLoader.
2744 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2745 boot loader, not system class loader.
2746 (_Jv_UnregisterInitiatingLoader): Likewise.
2747 (_Jv_FindClass): Likewise. Ensure entries in
2748 bootstrap_class_list are unique.
2749 * java/lang/natClass.cc (getClassLoader): Don't special case
2750 system class loader.
2751 * java/lang/VMClassLoader.java (bootLoader): New field.
2752 (getResource): Use bootLoader.
2753 (getResources): Likewise.
2754 (initBootLoader): Declare.
2755 * gnu/gcj/runtime/BootClassLoader.java: New file.
2756 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2757 (EMPTY_ENUMERATION): Now package-private.
2758 * external/w3c_com/Makefile.in: Rebuilt.
2759 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2760 (w3c.jar): New target.
2761 (classes.stamp): Updated.
2762 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2763 Changed name of library.
2764 (libw3c_gcj_la_SOURCES): New variable.
2765 (libw3c_gcj_la_GCJFLAGS): Likewise.
2766 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2767 * external/sax/Makefile.in: Rebuilt.
2768 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2769 (sax.jar): New target.
2770 (classes.stamp): Updated.
2771 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2772 Changed name of library.
2773 (libsax_gcj_la_SOURCES): New variable.
2774 (libsax_gcj_la_GCJFLAGS): Likewise.
2775 (source_files): Renamed from libsax_convenience_la_SOURCES.
2776 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2778 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2780 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2782 2005-03-23 Sven de Marothy <sven@physto.se>
2784 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2786 * java/util/Calendar.java
2787 (set): Use starting day of week when one is needed if none is given.
2788 * java/text/SimpleDateFormat.java
2789 (parse): Handle 1-12 and 1-24 timestamps correctly.
2790 * java/util/GregorianCalendar.java
2791 (computeTime, computeFields): HOUR should be in 0-11 format.
2792 (nonLeniencyCheck): Adjust leniency checking to that fact.
2793 (getLinearDay): Should be private.
2795 2005-03-23 Tom Tromey <tromey@redhat.com>
2797 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2798 (_Jv_CheckABIVersion): Use it.
2800 2005-03-22 Mike Stump <mrs@apple.com>
2802 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2804 * include/posix.h: .dylib is used on all Apple MACH platforms.
2805 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2807 2005-03-22 Tom Tromey <tromey@redhat.com>
2809 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2811 2005-03-21 Tom Tromey <tromey@redhat.com>
2813 * java/lang/VMCompiler.java (static block): Also catch
2814 BufferUnderflowException.
2816 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2818 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2819 set tool_include_dir. In all substitutions, leave $(gcc_version)
2820 to be expanded by the Makefile.
2821 * aclocal.m4, configure: Regenerate.
2822 * Makefile.am: Set gcc_version. Replace all uses of
2823 @gcc_version@ with $(gcc_version).
2824 * external/Makefile.am, external/sax/Makefile.am
2825 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2826 * testsuite/Makefile.am: Set gcc_version.
2827 * include/Makefile.am: Set gcc_version and tool_include_dir.
2828 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2829 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2830 * testsuite/Makefile.in: Regenerate.
2832 2005-03-17 Andrew Haley <aph@redhat.com>
2834 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2836 Pass klass to _Jv_StackTrace::GetClassContext().
2837 * java/lang/ClassLoader.java (getParent): Pass class to
2838 VMSecurityManager.getClassContext()
2839 (getSystemClassLoader): Likewise.
2840 * java/lang/Package.java (getPackage): Likewise.
2841 (getPackages): Likewise.
2842 * java/lang/SecurityManager.java (getClassContext): Likewise.
2843 (currentClassLoader): Likewise.
2844 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2845 (currentClassLoader) Add new arg: caller.
2846 Pass caller to VMSecurityManager.getClassContext.
2848 * stacktrace.cc (GetClassContext): Correct calculation of
2851 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2852 im->source_file_name.
2854 2005-03-16 Andrew Haley <aph@redhat.com>
2856 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2858 2005-03-16 Tom Tromey <tromey@redhat.com>
2860 * link.cc (ensure_class_linked): Removed #ifdef.
2861 (print_class_loaded): Likewise.
2862 (wait_for_state): Likewise.
2863 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2864 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2865 * include/java-interp.h: ... here.
2867 2005-03-16 Tom Tromey <tromey@redhat.com>
2869 * gnu/java/lang/MainThread.java (run): Load main class using
2870 system class loader.
2872 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2874 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2875 lgcc_s to the libraries to link for Darwin.
2877 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2879 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2880 interpreter-specific code with #ifdef INTERPRETER.
2881 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2882 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2883 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2884 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2885 #ifdef INTERPRETER. Also protect declarations that use it.
2886 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2887 #ifdef INTERPRETER block.
2889 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2892 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2893 * Makefile.in: Rebuilt.
2895 2005-03-15 David Daney <ddaney@avtrex.com>
2897 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2900 2005-03-15 David Daney <ddaney@avtrex.com>
2902 * java/io/BufferedInputStream.java (available): Use 'in' instead
2903 of 'super' for underlying stream access.
2905 (read(byte[], int, int)): Ditto.
2907 (skip): Call skip on underlying stream when possible.
2909 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2911 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2912 SJLJ_EXCEPTIONS is defined.
2914 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2916 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2919 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2921 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2923 (libjava_arguments): Likewise.
2925 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2926 (gcj_jni_test_one): Likewise.
2927 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2928 Add flags to keep the Darwin linker quiet.
2929 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2930 Add -liconv for Darwin.
2932 2005-03-11 Tom Tromey <tromey@redhat.com>
2934 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2935 (_Jv_CheckABIVersion): Use it.
2937 2005-03-11 Tom Tromey <tromey@redhat.com>
2939 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2940 (usage): Document '-p'.
2941 * Makefile.in: Rebuilt.
2942 * Makefile.am (dbexecdir): New variable.
2943 (db_name): Likewise.
2944 (dbexec_DATA): Likewise.
2945 ($(db_name)): New target.
2946 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2947 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2950 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2952 * exception.cc: Remove stray MethodRef.h include.
2953 * java/lang/natClass.cc: Likewise.
2954 * gnu/gcj/runtime/MethodRef.java: Removed.
2955 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2956 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2957 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2958 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2959 * Makefile.in: Rebuilt.
2961 2005-03-10 Tom Tromey <tromey@redhat.com>
2963 * Makefile.in: Rebuilt.
2964 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2966 2005-03-10 Chris Burdess <dog@bluezoo.org>
2968 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2969 not currently parsing the DTD.
2971 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2973 New Stack Trace infrastructure.
2974 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2975 (gnu/gcj/runtime/StackTrace.java): Removed.
2976 (ordinary_java_source_files): Remove obsolete files.
2977 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2978 * configure.host (fallback_backtrace_h): Set backtrace header
2979 for mingw and cygwin targets.
2980 * configure.ac: Make symlink for fallback backtrace headers.
2981 * Makefile.in, configure: Rebuilt.
2982 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2983 Read 'LineNumberTable' attribute.
2984 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2986 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2988 * exception.cc: Remove unused include.
2989 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2990 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2991 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2992 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2993 table to direct threaded instruction values.
2994 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2995 (_Jv_InterpMethod::run): No longer member function. All
2996 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2997 is made or where an instruction could throw.
2998 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3000 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3001 (catch_fpe): Likewise.
3002 * stacktrace.cc: New file. Stack trace code now here.
3003 * gnu/gcj/runtime/MethodRef.java:
3004 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3005 calls addr2line to look up PC addresses in a given binary or shared
3007 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3008 gnu/gcj/runtime/natStackTrace.cc: Removed.
3009 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3010 this function name is specially recognised by the stack trace code
3011 and shouldn't be changed.
3012 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3013 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3014 (_Jv_InterpMethod::run): Update declaration.
3015 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3017 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3018 * include/java-stack.h: New file. Declarations for stack tracing.
3019 * include/jvm.h (_Jv_Frame_info): Removed.
3020 * java/lang/Class.h: Update friend declarations.
3021 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3023 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3024 (getStackTrace): Now native.
3025 (data): New RawDataManaged field.
3026 * java/lang/natClass.cc: Update includes.
3027 (forName): Use _Jv_StackTrace::GetCallingClass for
3028 calling-classloader check.
3029 (getClassLoader): Likewise.
3030 * java/lang/natRuntime.cc: Update includes.
3031 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3032 * java/lang/natVMSecurityManager.cc: Update includes.
3033 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3034 * java/lang/natVMThrowable.cc: New file. Native methods for
3036 * java/lang/reflect/natArray.cc: Update includes.
3037 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3038 accessibility check.
3039 * java/lang/reflect/natConstructor.cc: Update includes.
3040 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3041 accessibility check.
3042 * java/lang/reflect/natField.cc: Update includes.
3043 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3044 accessibility check.
3045 * java/lang/reflect/natMethod.cc: Update includes.
3046 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3047 accessibility check.
3048 * java/util/natResourceBundle.cc: Update includes.
3049 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3050 * java/util/logging/natLogger.cc: Update includes. Use
3051 _Jv_StackTrace::GetCallerInfo to get call-site info.
3052 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3054 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3057 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3059 * testsuite/libjava.compile/PR20312.java: New file.
3060 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3061 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3063 2005-03-09 Andrew Haley <aph@redhat.com>
3065 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3067 (smallTransferTo): New.
3068 (transferFrom): Loop around smallTransferFrom, copying pageSize
3070 (transferTo): Likewise.
3072 2005-03-09 David Daney <ddaney@avtrex.com>
3075 Merge BufferedInputStream from GNU Classpath.
3076 * java/io/BufferedInputStream.java (marktarget): Field removed.
3077 (CHUNKSIZE): Field removed.
3078 (bufferSize): New field.
3079 (BufferedInputStream): Initialize fields.
3080 (close): Invalidate mark and buffer indexes.
3082 (read()): Move mark handling code to refill.
3083 (read(byte[], int, int)): Ditto.
3084 (skip): Ditto and simplify EOF testing.
3085 (refill): Rewritten.
3086 * java/io/InputStreamReader.java (refill): Removed mark and reset
3087 of internal BufferedInputStream.
3089 2005-03-09 Tom Tromey <tromey@redhat.com>
3091 * java/lang/natVMClassLoader.cc (defineClass): Reference
3092 'systemClassLoader' field directly.
3093 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3095 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3096 Reference 'systemClassLoader' field directly.
3097 (_Jv_UnregisterInitiatingLoader): Likewise.
3098 (_Jv_FindClass): Likewise.
3100 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3102 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3104 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3105 the file in GNU Classpath style.
3107 2005-03-09 Tom Tromey <tromey@redhat.com>
3109 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3110 (toString): Synchronize.
3112 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3114 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3115 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3117 2005-03-07 Tom Tromey <tromey@redhat.com>
3119 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3120 (usage): Document '-f'.
3122 2005-03-07 Tom Tromey <tromey@redhat.com>
3124 * java/lang/VMCompiler.java (md5Digest): New field.
3125 (compileClass): Clone md5Digest instead of looking up a new one.
3127 2005-03-07 Tom Tromey <tromey@redhat.com>
3130 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3131 * link.cc (find_field_helper): Added 'type' argument.
3132 (find_field): Updated.
3134 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3135 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3136 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3137 throw UnsupportedOperationException, fixed comments.
3138 (setFont, setForeground): Fixed comments.
3139 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3140 return type to boolean.
3141 (getNextEvent): Fixed javadocs.
3142 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3143 (nativeQueueEmpty): Removed unused code.
3144 (iterateNativeQueue): Removed outer loop.
3146 2005-03-06 Roger Sayle <roger@eyesopen.com>
3149 * Makefile.am (libgcj0_convenience.la): Revert last change.
3150 * Makefile.in: Regenerate.
3152 2005-03-05 Anthony Green <green@redhat.com>
3154 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3155 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3156 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3157 (_Jv_GetDrawingSurface): Set visualID.
3158 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3159 (JAWT_GetAWT): Set Lock and Unlock.
3160 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3162 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3163 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3164 JAWT_LOCK_SURFACE_CHANGED): New macros.
3165 (struct _JAWT): Add Lock and Unlock.
3167 2005-03-05 Roger Sayle <roger@eyesopen.com>
3168 Alexandre Oliva <aoliva@redhat.com>
3169 Kelley Cook <kcook@gcc.gnu.org>
3172 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3173 of the object files to link to avoid exceeding the command line
3174 length limits on some platforms.
3175 (clean-local): Clean up objectlist files.
3176 * Makefile.in: Regenerate.
3178 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3180 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3181 spec_case. Initialize pointer mlo.
3183 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3186 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3188 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3191 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3192 uninitialized variable z.
3194 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3195 possible unused variables.
3197 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3199 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3201 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3204 * testsuite/libjava.jni/jni.exp
3205 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3207 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3209 2005-02-23 David Daney <ddaney@avtrex.com>
3211 * configure.host: Don't use -mxgot for MIPS builds.
3213 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3216 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3217 (COMPPATH): Removed.
3218 (ZIP, GCJH): Replace it with ../$(host_subdir).
3219 (built_gcc_dir): Add $(host_subdir).
3220 * configure: Regenerate.
3221 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3222 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3223 external/w3c_dom/Makefile.in: Regenerate.
3225 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3227 * java/awt/font/TextAttribute.java: changed names to lower case;
3228 (readResolve): implemented.
3229 Added doc comments all over.
3231 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3234 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3235 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3236 value. Move argument parsing code to prims.cc.
3237 * prims.cc (no_properties): Remove.
3238 (_Jv_Compiler_Properties): Initialize to NULL.
3239 (_Jv_Properties_Count): Initialize to 0.
3240 (parse_verbose_args): New function.
3241 (parse_init_args): New function.
3242 (_Jv_CreateJavaVM): Call parse_init_args.
3243 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3244 * gcj/cni.h (JvVMOption): New struct.
3245 (JvVMInitArgs): Likewise.
3246 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3248 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3249 (_Jv_VMInitArgs): Likewise.
3250 * include/java-props.h (_Jv_Properties_Count): Declare.
3251 * java/lang/natRuntime.cc (insertSystemProperties): Use
3252 _Jv_Properties_Count in for loop exit condition.
3253 * testsuite/libjava.jni/jni.exp
3254 (gcj_invocation_compile_c_to_binary): New procedure.
3255 (gcj_invocation_test_one): Likewise.
3256 (gcj_jni_run): Run JNI invocation API tests.
3257 * testsuite/libjava.jni/invocation/PR16923.c,
3258 testsuite/libjava.jni/invocation/PR16923.java,
3259 testsuite/libjava.jni/invocation/PR16923.out: New test.
3261 2005-02-23 Michael Koch <konqueror@gmx.de>
3263 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3264 * Makefile.in: Regenerated.
3266 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3268 * gnu/java/nio/ChannelReader: Fixed comments.
3270 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3272 * java/nio/channels/Channels: Added FIXMEs about
3273 stub method implementation.
3274 (newReader): Implemented.
3275 * gnu/java/nio/ChannelReader: New class.
3277 2005-02-23 Michael Koch <konqueror@gmx.de>
3279 * java/text/SimpleDateFormat.java:
3280 Removed unused import.
3282 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3285 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3286 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3287 * Makefile.in: Regenerate.
3288 * configure.ac: Check for libXtst.
3289 * configure: Regenerate.
3291 2005-02-22 Mark Wielaard <address@bogus.example.com>
3293 * java/security/AlgorithmParameterGenerator.java (getInstance):
3294 Mention provider when throwing NoSuchProviderException.
3295 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3296 * java/security/KeyFactory.java (getInstance): Likewise.
3297 * java/security/KeyStore.java (getInstance): Likewise.
3298 * java/security/SecureRandom.java (getInstance): Likewise.
3299 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3301 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3303 * java/lang/reflect/Proxy.java,
3305 java/security/SecureRandom.java,
3306 java/util/Timer.java,
3307 java/util/prefs/AbstractPreferences.java:
3308 Don't catch java.lang.ThreadDeath.
3310 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3312 * java/awt/font/TransformAttribute.java,
3313 (TransformAttribute(AffineTransform)): throw
3314 IllegalArgumentException for null transform.
3315 (getTransform): return a copy of transform.
3316 Added doc comments to all.
3318 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3320 * java/io/Externalizable.java,
3321 java/io/Serializable.java
3322 (serialVersionUID): Removed.
3323 * java/rmi/server/RemoteObject.java,
3324 java/rmi/server/UID.java
3325 (serialVersionUID): Made private.
3326 * java/rmi/server/RemoteRef.java,
3327 java/rmi/server/ServerRef.java
3328 (serialVersionUID): Set proper value.
3329 * java/security/interfaces/DSAPrivateKey.java,
3330 java/security/interfaces/DSAPublicKey.java,
3331 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3332 java/security/interfaces/RSAPrivateCrtKey.java,
3333 java/security/interfaces/RSAPrivateKey.java,
3334 java/security/interfaces/RSAPublicKey.java,
3335 javax/crypto/SecretKey.java
3336 (serialVersionUID): Added.
3338 2005-02-22 Tom Tromey <tromey@redhat.com>
3340 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3342 2005-02-22 Tom Tromey <tromey@redhat.com>
3345 * verify.cc (type::EITHER): New constant.
3346 (check_field_constant): Use it.
3347 (type::compatible): Handle it.
3349 2005-02-22 Michael Koch <konqueror@gmx.de>
3351 * gnu/java/security/PolicyFile.java,
3352 gnu/java/security/pkcs/PKCS7SignedData.java,
3353 gnu/java/security/pkcs/SignerInfo.java:
3354 Fixed copyright header.
3356 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3358 * java/beans/PropertyDescriptor.java
3359 (PropertyDescriptor,setReadMethod): Set propertyType.
3361 2005-02-22 Michael Koch <konqueror@gmx.de>
3363 * java/nio/DirectByteBufferImpl.java
3364 (owner): Fixed formatting of javadoc.
3365 * java/text/DateFormat.java
3366 (getAvailableLocales): Fixed formatting.
3367 * java/text/SimpleDateFormat.java:
3368 Fixed formatting and import statement order.
3369 * java/util/Calendar.java
3370 (Calendar): Fixed javadoc to be HTML compliant.
3371 * java/util/SimpleTimeZone.java:
3374 2005-02-22 Roman Kennke <roman@ontographics.com>
3376 * javax/swing/plaf/basic/BasicLookAndFeel.java
3377 (initComponentDefaults): Fixed Button left and right margin.
3379 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3381 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3385 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3386 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3387 (getWidth): New method.
3388 (getHeight): Likewise.
3389 (create): Remove width, height and insets parameters. Move size
3391 (realize_cb): ... here. New function.
3392 (connectSignals): Connect realize_cb.
3393 (request_frame_extents): Remove FIXME. Move
3394 postInsetsChangedEvent lookup ...
3395 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3396 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3397 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3399 (windowGetWidthID): Likewise.
3400 (windowGetHeightID): Likewise.
3402 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3406 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3408 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3410 Merge serialization from GNU Classpath.
3411 * gcj/method.h: Add missing #includes.
3412 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3413 primitive class IDs on the stream here...
3414 (resolveClass): ...not here.
3415 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3417 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3418 setLongNative, setIntNative, setShortNative, setCharNative,
3419 setByteNative, setBooleanNative, setObjectNative): New native methods.
3420 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3421 setLongNative, setIntNative, setShortNative, setCharNative,
3422 setByteNative, setBooleanNative, setObjectNative): Implement them.
3423 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3424 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3425 the constructor here.
3426 (callConstructor): Removed.
3427 (getCallersClassLoader): Removed.
3428 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3429 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3430 to control whether setting final field values is permitted. Call
3431 getAddr() with checkFinal parameter instead of setAddr().
3432 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3433 only if not done already.
3434 (getAddr): Add checkFinal parameter. Do the final field check only if
3438 2005-02-21 Mark Wielaard <mark@klomp.org>
3441 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3444 2005-02-21 Mark Wielaard <mark@klomp.org>
3447 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3448 without a super class and us ObjectStreamClass.lookupForClassObject().
3449 (resolveClass): Check for primitive types.
3450 (lookupClass): Return null when argument is null.
3452 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3454 * java/io/ObjectInputStream.java
3455 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3457 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3459 * java/io/ObjectOutputStream.java
3460 (writeObject, callWriteMethod): Replaced reflection with accessing
3461 cached info in ObjectStreamClass.
3462 (getMethod): Removed.
3463 * java/io/ObjectStreamClass.java
3464 (findMethod): Added check to make sure the method found has the
3466 (cacheMethods): Added writeReplace and writeObject methods.
3467 (setFlags): Look at new writeObjectMethod field instead of doing
3469 (writeReplaceMethod): New field.
3470 (writeObjectMethod): New field.
3472 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3473 Jeroen Frijters <jeroen@frijters.net>
3475 * java/io/ObjectInputStream.java
3476 (newObject): Changed prototype. Get a constructor reflect object
3478 (callConstructor): Removed.
3479 (allocateObject): Changed prototype.
3480 (readClassDescriptor): Build the constructor reflection directly.
3481 (readObject): Invoke newObject using the new prototype.
3483 * java/io/ObjectStreamClass.java
3484 (firstNonSerializableParent): Removed.
3485 (firstNonSerializableParentConstructor): Added.
3487 2005-02-21 Mark Wielaard <mark@klomp.org>
3489 * gnu/java/locale/LocaleInformation_en.java: Extend
3490 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3492 2005-02-21 Mark Wielaard <mark@klomp.org>
3494 * java/text/SimpleDateFormat.java
3495 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3496 NullPointerException when formatData is null.
3498 2005-02-21 Mark Wielaard <mark@klomp.org>
3500 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3501 taking dstSavings into account.
3503 2005-02-21 Sven de Marothy <sven@physto.se>
3505 * java/text/SimpleDateFormat.java,
3506 (parse): Set correct DST_OFFSET to the correct value.
3508 2005-02-21 Mark Wielaard <mark@klomp.org>
3510 * java/util/SimpleTimeZone.java (checkRule): Throw
3511 IllegalArgumentException when month out of range.
3513 2005-02-21 Sven de Marothy <sven@physto.se>
3515 * java/util/GregorianCalendar.java,
3516 (add): Don't set fields directly anymore. Use set()
3518 2005-02-21 Mark Wielaard <mark@klomp.org>
3520 * java/text/SimpleDateFormat.java (CompiledField.toString):
3521 Use StringBuffer, not StringBuilder.
3522 (toString): Likewise.
3524 2005-02-21 Sven de Marothy <sven@physto.se>
3526 * java/util/Calendar.java
3527 (clear): Dates should clear to local time.
3528 * java/util/GregorianCalendar.java
3529 (computeTime): Fix priority problem with DAY_OF_WEEK,
3530 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3532 2005-02-21 Sven de Marothy <sven@physto.se>
3534 * java/util/Calendar.java
3535 (Calendar): Constructor should clear fields.
3537 2005-02-21 Sven de Marothy <sven@physto.se>
3539 * java/text/SimpleDateFormat.java
3540 (parse): Tweak handling of 2-year dates
3541 * java/util/Calendar.java
3542 (clear): Clear fields to correct value.
3543 * java/util/GregorianCalendar.java
3544 (computeTime): Correct handling of time zones.
3545 Correct field minimum values.
3547 2005-02-21 Sven de Marothy <sven@physto.se>
3549 * java/util/Calendar.java
3550 (set) Invalidate all fields on first call to set().
3552 2005-02-21 Sven de Marothy <sven@physto.se>
3554 * java/util/GregorianCalendar.java
3555 (computeTime): Fixed handling of time zones.
3557 2005-02-21 Sven de Marothy <sven@physto.se>
3559 * java/util/Calendar.java
3560 (clear): Set values to Epoch instead of zero.
3561 (set): Set isSet to the relevant field pattern instead of just
3563 * java/util/GregorianCalendar.java
3564 (getBundle): Removed.
3565 (getDayOfYear): Removed.
3566 (getFirstDayOfMonth): New private method.
3567 (nonLeniencyCheck): New private method.
3568 (computeTime): Correct handling of insufficient data.
3570 2005-02-21 Sven de Marothy <sven@physto.se>
3572 * java/util/Calendar.java: Invalidate ERA field on setting
3574 * java/util/SimpleTimeZone.java:
3575 (getDaysInMonth): Reimplemented.
3576 * java/util/GregorianCalendar.java:
3577 (getLinearTime): Removed.
3578 (isLeapYear(int,boolean)): Removed.
3579 (before(), after()): Removed.
3580 (computeTime): Reimplemented.
3582 2005-02-21 Sven de Marothy <sven@physto.se>
3584 * java/util/Calendar.java: Reformatted.
3585 * java/util/GregorianCalendar.java: Reformatted.
3586 * java/util/SimpleTimeZone.java: Reformatted.
3588 2005-02-21 Sven de Marothy <sven@physto.se>
3590 * java/util/GregorianCalendar.java
3591 (GregorianCalendar): Update fields in the constructor
3593 2005-02-21 Noa Resare <noa@resare.com>
3595 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3596 (set(int,int)): Set and use new field.
3597 (set(int,int,int)): Check new field.
3599 2005-02-21 Noa Resare <address@hidden>
3601 * java/util/Calendar.java(set):
3602 Fix for DST related regression.
3604 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3606 * java/util/Calendar.java
3607 (setTimeInMillis): Added call to clear, removed computeFields call.
3608 * java/util/Date.java
3609 (Date(int,int,int,int,int,int)): Removed workaround for
3610 GregorianCalendar bug.
3611 * java/util/GregorianCalendar.java
3612 (GregorianCalendar): Chained all constructors to a (new)
3614 (computeTime): Fixed support for lenient month treatment.
3615 (getLinearDay): Return long instead of int.
3616 (calculateDay): Added fields argument and changed day argument
3619 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3621 * java/text/SimpleDateFormat.java
3622 Lots of documentation updates.
3623 (readObject(java.io.ObjectInputStream)): Wraps
3624 IllegalArgumentException as specified.
3625 (compileFormat(String)): Uses standardChars
3626 rather than the local pattern characters.
3627 Throws IllegalArgumentException rather than
3629 (toString()): Extended to include all variables
3631 (translateLocalizedPattern(String, String, String)):
3632 Renamed to better define the use of this method.
3634 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3636 * java/text/DateFormat.java:
3637 Documented pattern character offset constants and
3639 (Field): Added new static fields for new pattern chars.
3640 * java/text/SimpleDateFormat.java:
3641 (CompiledField): Changed name of FieldSizePair class
3642 to CompiledField after adding the character as an
3643 attribute. Changed fields to private and added
3644 accessors to give encapsulation.
3645 (CompiledField.CompiledField(int,int,char)): Extended
3646 with character field.
3647 (CompiledField.getField()): New accessor method.
3648 (CompiledField.getSize()): New acceessor method.
3649 (CompiledField.getCharacter()): New accessor method.
3650 (CompiledField.toString()): Added primarily for debugging.
3651 (standardChars): Now uses extended 24 character sequence.
3652 (compileFormat(String)): Changed to use CompiledField.
3653 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3654 java.text.FieldPosition)): Changed to use CompiledField.
3655 New handler for RFC 822 timezones added.
3657 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3659 * java/text/SimpleDateFormat.java:
3660 (parse(String, java.text.ParsePosition)):
3661 Changed 'E' and 'M' cases to use both
3662 short and long names. Extended 'z'
3663 case to also handle 'Z', and deal
3664 with simple GMT offsets such as +0100.
3665 (computeOffset(String)): New private method,
3666 which converts a GMT offset specification,
3667 such as GMT-0500 to a numeric offset in
3669 * java/util/TimeZone.java:
3670 (timezones()): Added "CEST", the daylight
3671 savings time version of "CET", or Central
3674 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3676 * java/text/SimpleDateFormat.java:
3677 (parse): Set the DST offset to 0 when parsing
3678 GMT offset timezones.
3680 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3682 * java/text/SimpleDateFormat.java:
3683 (parse): Use offset to set ZONE_OFFSET
3684 rather than the DST_OFFSET, so that
3685 GMT offset timezones change the right
3688 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3690 * java/text/SimpleDateFormat.java:
3691 (getDateFormatSymbols()): return a copy
3692 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3693 throw exception on null input
3694 (clone()): implemented to clone
3697 2005-02-21 Sven de Marothy <sven@physto.se>
3699 * java/text/SimpleDateFormat.java
3700 (parse): comparison should be case-insensitive, ignore null
3703 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3705 * gnu/java/beans/IntrospectionIncubator.java
3706 (addMethod) Reverts the patch that ntroduced a regression (see bug
3707 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3709 2005-02-21 Michael Koch <konqueror@gmx.de>
3711 * java/awt/Checkbox.java
3712 (next_checkbox_number): New static variable.
3713 (generateName): New method.
3714 (getUniqueLong): Likewise.
3715 * java/awt/Window.java
3716 (next_window_number): New static variable.
3717 (generateName): New method.
3718 (getUniqueLong): Likewise.
3720 2005-02-21 Mark Wielaard <mark@klomp.org>
3722 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3725 2005-02-21 Andrew Haley <aph@redhat.com>
3727 * Makefile.in: Rebuilt.
3728 * Makefile.am (nat_source_files): Added natLogger.cc.
3729 * java/util/logging/natLogger.cc: New file.
3730 * java/util/logging/Logger.java (getCallerStackFrame): Now
3733 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3735 * Makefile.am (all_property_files): Remove left over.
3736 (classes.stamp): Add stamp for the ONESTEP build, also known as
3737 --enable-libgcj-multifile.
3738 * Makefile.in: Regenerated.
3740 2005-02-21 Michael Koch <konqueror@gmx.de>
3742 * java/awt/Button.java,
3743 java/awt/Container.java,
3745 java/awt/Frame.java,
3746 java/text/CollationElementIterator.java,
3747 java/text/RuleBasedCollator.java,
3748 java/util/PropertyPermission.java:
3749 Fixed formatting issues all over.
3751 2005-02-21 Mark Wielaard <mark@klomp.org>
3753 * java/io/FileDescriptor.java (sync): Add real exception to
3754 SyncFailedException.
3756 2005-02-21 Michael Koch <konqueror@gmx.de>
3758 * java/io/InputStreamReader.java:
3761 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3764 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3766 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3768 * libraries/javalib/gnu/regexp/RE.java,
3769 libraries/javalib/java/io/ObjectInputStream.java,
3770 libraries/javalib/java/security/AllPermission.java,
3771 libraries/javalib/java/security/BasicPermission.java,
3772 libraries/javalib/java/security/Permissions.java,
3773 libraries/javalib/java/text/MessageFormat.java:
3774 Made 'inner' classes real public static inner classes,
3775 and made them final where possible, or removed them
3778 2005-02-20 Michael Koch <konqueror@gmx.de>
3780 * gnu/java/text/FormatCharacterIterator.java:
3781 Removed redundant modifiers.
3783 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3785 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3788 2005-02-19 Michael Koch <konqueror@gmx.de>
3790 * Makefile.am: Added new files in gnu/java/beans and
3791 java/beans/XMLDecoder.java.
3792 * Makefile.in: Regenerated.
3794 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3796 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3797 assignment behavior by using java.lang.reflect.Array.set()
3800 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3802 * gnu/java/beans/EmptyBeanInfo.java,
3803 gnu/java/beans/info/ComponentBeanInfo.java:
3804 Removed unused files.
3806 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3808 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3809 of AppletStub for java.beans.Beans.instantiate.
3810 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3812 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3813 to be conformant with Javadoc guidelines.
3814 (instantiate): Added two more overloaded variants, reworked user
3815 documentation, fixed exception behavior, fixed behavior when
3818 2005-02-19 Mark Wielaard <mark@klomp.org>
3820 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3822 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3824 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3826 * gnu/java/beans/decoder/AbstractContext.java,
3827 gnu/java/beans/decoder/AbstractCreatableContext.java,
3828 gnu/java/beans/decoder/AbstractElementHandler.java,
3829 gnu/java/beans/decoder/AbstractObjectContext.java,
3830 gnu/java/beans/decoder/ArrayContext.java,
3831 gnu/java/beans/decoder/ArrayHandler.java,
3832 gnu/java/beans/decoder/AssemblyException.java,
3833 gnu/java/beans/decoder/BooleanHandler.java,
3834 gnu/java/beans/decoder/ByteHandler.java,
3835 gnu/java/beans/decoder/CharHandler.java,
3836 gnu/java/beans/decoder/ClassHandler.java,
3837 gnu/java/beans/decoder/ConstructorContext.java,
3838 gnu/java/beans/decoder/Context.java,
3839 gnu/java/beans/decoder/DecoderContext.java,
3840 gnu/java/beans/decoder/DefaultExceptionListener.java,
3841 gnu/java/beans/decoder/DoubleHandler.java,
3842 gnu/java/beans/decoder/DummyContext.java,
3843 gnu/java/beans/decoder/DummyHandler.java,
3844 gnu/java/beans/decoder/ElementHandler.java,
3845 gnu/java/beans/decoder/FloatHandler.java,
3846 gnu/java/beans/decoder/GrowableArrayContext.java,
3847 gnu/java/beans/decoder/IndexContext.java,
3848 gnu/java/beans/decoder/IntHandler.java,
3849 gnu/java/beans/decoder/JavaHandler.java,
3850 gnu/java/beans/decoder/LongHandler.java,
3851 gnu/java/beans/decoder/MethodContext.java,
3852 gnu/java/beans/decoder/MethodFinder.java,
3853 gnu/java/beans/decoder/NullHandler.java,
3854 gnu/java/beans/decoder/ObjectContext.java,
3855 gnu/java/beans/decoder/ObjectHandler.java,
3856 gnu/java/beans/decoder/PersistenceParser.java,
3857 gnu/java/beans/decoder/PropertyContext.java,
3858 gnu/java/beans/decoder/ShortHandler.java,
3859 gnu/java/beans/decoder/SimpleHandler.java,
3860 gnu/java/beans/decoder/StaticMethodContext.java,
3861 gnu/java/beans/decoder/StringHandler.java,
3862 gnu/java/beans/decoder/VoidHandler.java: New class
3863 implementing java.beans.XMLDecoder decoding functionality.
3864 * java/beans/XMLDecoder.java: New class.
3866 2005-02-19 Michael Koch <konqueror@gmx.de>
3868 * javax/swing/JTextField.java
3869 (notfiyAction): Added javadoc.
3871 2005-02-19 Sven de Marothy <sven@physto.se>
3873 * javax/swing/SpinnerDateModel.java: Implemented.
3875 2005-02-19 Michael Koch <konqueror@gmx.de>
3877 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3878 * Makefile.in: Regenerated.
3880 2005-02-19 Michael Koch <konqueror@gmx.de>
3882 * gnu/java/nio/SelectorImpl.java:
3883 Reworked import statements.
3884 (register): Removed unused code.
3885 * java/nio/channels/Channels.java: Reformatted.
3886 * java/nio/charset/Charset.java: Likewise.
3887 * java/rmi/server/RemoteObject.java
3888 (serialVersionUID): Made private.
3889 * java/rmi/server/UID.java
3890 (serialVersionUID): Likewise.
3892 2005-02-19 Michael Koch <konqueror@gmx.de>
3894 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3895 gnu/java/net/protocol/ftp/BlockInputStream.java,
3896 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3897 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3898 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3899 gnu/java/net/protocol/ftp/DTPInputStream.java,
3900 gnu/java/net/protocol/ftp/DTP.java,
3901 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3902 gnu/java/net/protocol/ftp/FTPConnection.java,
3903 gnu/java/net/protocol/ftp/FTPException.java,
3904 gnu/java/net/protocol/ftp/FTPResponse.java,
3905 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3906 gnu/java/net/protocol/ftp/Handler.java,
3907 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3908 gnu/java/net/protocol/ftp/StreamInputStream.java,
3909 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3910 gnu/java/net/CRLFInputStream.java,
3911 gnu/java/net/CRLFOutputStream.java,
3912 gnu/java/net/GetLocalHostAction.java,
3913 gnu/java/net/protocol/ftp/package.html: New files.
3914 * Makefile.am: Added new files.
3915 * Makefile.in: Regenerated.
3917 2005-02-18 Tom Tromey <tromey@redhat.com>
3919 * link.cc (make_vtable): Remove abstract method check.
3920 (append_partial_itable): Likewise.
3923 * verify.cc (type::equals): Fixed test.
3924 * testsuite/libjava.lang/PR20056.out: New file.
3925 * testsuite/libjava.lang/PR20056.java: New file.
3927 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3929 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3930 not the HashEntry. Reported by Jean-Marie White.
3932 2005-02-18 Tom Tromey <tromey@redhat.com>
3935 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3936 * link.cc (has_field_p): New function.
3937 * verify.cc (check_field_constant): Added 'putfield' argument.
3938 (verify_instructions_0): Updated.
3939 (type::equals): New method.
3941 2005-02-18 Anthony Green <green@redhat.com>
3943 * NEWS: Draft of libgcj NEWS for 4.0.
3945 2005-02-18 Anthony Green <green@redhat.com>
3947 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3948 architecture names to "i386" for compatibility reasons. Win32
3951 2005-02-18 Anthony Green <green@redhat.com>
3953 * gij.cc (version): Change year for '--version' to 2005.
3954 * gnu/gcj/convert/Convert.java: Ditto.
3955 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3956 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3958 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3959 recent copyright year in `--version' output.
3961 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3963 * java/nio/charset/Charset.java (forName): Throws
3964 IllegalArgumentException when argument is null
3965 and added documentation.
3967 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3969 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3970 Move the position of the source buffer forward.
3972 2005-02-17 Tom Tromey <tromey@redhat.com>
3974 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3975 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3976 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3977 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3978 Changed type of second argument. Rewrote.
3979 (make_vtable): Use it.
3980 (append_partial_itable): Updated.
3981 (layout_vtable_methods): Updated.
3983 2005-02-17 Michael Koch <konqueror@gmx.de>
3985 * gnu/java/net/PlainSocketImpl.java
3986 (shutdownInput): Added javadoc.
3987 (shutdownOutput): Likewise.
3989 2005-02-17 Michael Koch <konqueror@gmx.de>
3991 * javax/print/attribute/standard/Chromaticity.java,
3992 javax/print/attribute/standard/Destination.java,
3993 javax/print/attribute/standard/MediaPrintableArea.java,
3994 javax/print/attribute/standard/MediaSize.java: New files.
3995 * Makefile.am: Added new files.
3996 * Makefile.in: Regenerated.
3998 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3999 Michael Koch <konqueror@gmx.de>
4001 * gnu/java/net/protocol/http/Cookie.java,
4002 gnu/java/net/protocol/http/HTTPConnection.java,
4003 gnu/java/net/protocol/http/HTTPDateFormat.java,
4004 gnu/java/net/protocol/http/Request.java,
4005 gnu/java/nio/PipeImpl.java,
4006 gnu/java/rmi/dgc/DGCImpl.java,
4007 gnu/java/rmi/server/ConnectionRunnerPool.java,
4008 gnu/java/rmi/server/UnicastConnectionManager.java,
4009 gnu/java/security/der/DERWriter.java,
4010 gnu/java/security/pkcs/SignerInfo.java,
4011 gnu/java/security/provider/EncodedKeyFactory.java,
4012 gnu/java/security/provider/GnuDHPublicKey.java,
4013 gnu/java/security/provider/GnuDSAPrivateKey.java,
4014 gnu/java/security/provider/GnuDSAPublicKey.java,
4015 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4016 gnu/java/security/x509/X500DistinguishedName.java,
4017 gnu/java/security/x509/X509CRL.java,
4018 gnu/java/security/x509/X509CRLEntry.java,
4019 gnu/java/security/x509/X509Certificate.java,
4020 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4021 gnu/java/security/x509/ext/CertificatePolicies.java,
4022 gnu/java/security/x509/ext/PolicyConstraint.java,
4023 gnu/xml/dom/Consumer.java,
4024 gnu/xml/dom/DomCharacterData.java,
4025 gnu/xml/dom/DomDocument.java,
4026 gnu/xml/dom/DomDocumentBuilder.java,
4027 gnu/xml/dom/DomIterator.java,
4028 gnu/xml/dom/DomNode.java,
4029 gnu/xml/dom/DomXPathExpression.java,
4030 gnu/xml/dom/DomXPathResult.java,
4031 gnu/xml/dom/JAXPFactory.java,
4032 gnu/xml/pipeline/CallFilter.java,
4033 gnu/xml/pipeline/DomConsumer.java,
4034 gnu/xml/pipeline/LinkFilter.java,
4035 gnu/xml/pipeline/NSFilter.java,
4036 gnu/xml/pipeline/TeeConsumer.java,
4037 gnu/xml/pipeline/ValidationConsumer.java,
4038 gnu/xml/pipeline/WellFormednessFilter.java,
4039 gnu/xml/pipeline/XIncludeFilter.java,
4040 gnu/xml/pipeline/XsltFilter.java,
4041 gnu/xml/transform/ApplyImportsNode.java,
4042 gnu/xml/transform/Bindings.java,
4043 gnu/xml/transform/DocumentFunction.java,
4044 gnu/xml/transform/FormatNumberFunction.java,
4045 gnu/xml/transform/NodeNumberNode.java,
4046 gnu/xml/transform/NumberNode.java,
4047 gnu/xml/transform/Stylesheet.java,
4048 gnu/xml/transform/SystemPropertyFunction.java,
4049 gnu/xml/transform/Template.java,
4050 gnu/xml/transform/TemplatesImpl.java,
4051 gnu/xml/transform/TransformerImpl.java,
4052 gnu/xml/transform/ValueOfNode.java,
4053 gnu/xml/transform/XSLURIResolver.java,
4054 gnu/xml/util/DoParse.java,
4055 gnu/xml/util/Resolver.java,
4056 gnu/xml/xpath/Expr.java,
4057 gnu/xml/xpath/FunctionCall.java,
4058 gnu/xml/xpath/RelationalExpr.java,
4059 gnu/xml/xpath/Selector.java,
4060 gnu/xml/xpath/XPathParser.java:
4061 Reworked import statements, fixed modifier order and some little
4064 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4066 * java/nio/ByteBufferImpl.java (compact):
4067 Set position and limit even if no bytes were moved.
4069 2005-02-17 Michael Koch <konqueror@gmx.de>
4071 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4072 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4073 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4074 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4075 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4076 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4077 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4078 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4079 * java/nio/FloatBufferImpl.java (compact): Set position.
4080 * java/nio/CharBufferImpl.java (compact): Likewise.
4081 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4082 * java/nio/IntBufferImpl.java (compact): Likewise.
4083 * java/nio/LongBufferImpl.java (compact): Likewise.
4084 * java/nio/ShortBufferImpl.java (compact): Likewise.
4086 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4088 * java/nio/ByteBufferImpl.java,
4089 java/nio/CharBufferImpl.java,
4090 java/nio/DirectByteBufferImpl.java,
4091 java/nio/DoubleBufferImpl.java,
4092 java/nio/FloatBufferImpl.java,
4093 java/nio/IntBufferImpl.java,
4094 java/nio/LongBufferImpl.java,
4095 java/nio/MappedByteBufferImpl.java,
4096 java/nio/ShortBufferImpl.java
4097 (compact): Added explicit read-only check and invalidate mark.
4099 2005-02-17 Michael Koch <konqueror@gmx.de>
4101 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4102 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4103 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4104 gnu/java/awt/peer/gtk/GdkGraphics.java,
4105 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4106 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4107 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4108 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4109 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4110 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4111 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4112 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4113 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4114 gnu/java/awt/peer/gtk/GtkClipboard.java,
4115 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4116 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4117 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4118 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4119 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4120 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4121 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4122 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4123 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4124 gnu/java/awt/peer/gtk/GtkToolkit.java,
4125 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4126 java/applet/Applet.java,
4127 java/awt/AWTError.java,
4128 java/awt/AWTEvent.java,
4129 java/awt/AWTEventMulticaster.java,
4130 java/awt/AWTException.java,
4131 java/awt/AWTKeyStroke.java,
4132 java/awt/AWTPermission.java,
4133 java/awt/ActiveEvent.java,
4134 java/awt/Adjustable.java,
4135 java/awt/AlphaComposite.java,
4136 java/awt/AttributeValue.java,
4137 java/awt/BorderLayout.java,
4138 java/awt/BufferCapabilities.java,
4139 java/awt/Button.java,
4140 java/awt/Canvas.java,
4141 java/awt/CheckboxGroup.java,
4142 java/awt/CheckboxMenuItem.java,
4143 java/awt/Color.java,
4144 java/awt/ColorPaintContext.java,
4145 java/awt/Component.java,
4146 java/awt/ComponentOrientation.java,
4147 java/awt/Composite.java,
4148 java/awt/CompositeContext.java,
4149 java/awt/Container.java,
4150 java/awt/ContainerOrderFocusTraversalPolicy.java,
4151 java/awt/DefaultFocusTraversalPolicy.java,
4152 java/awt/Dialog.java,
4153 java/awt/Dimension.java,
4154 java/awt/DisplayMode.java,
4155 java/awt/EventQueue.java,
4156 java/awt/FileDialog.java,
4157 java/awt/FontFormatException.java,
4158 java/awt/Graphics.java,
4159 java/awt/Graphics2D.java,
4160 java/awt/GraphicsConfigTemplate.java,
4161 java/awt/GraphicsConfiguration.java,
4162 java/awt/GraphicsDevice.java,
4163 java/awt/GridBagLayout.java,
4164 java/awt/GridBagLayoutInfo.java,
4165 java/awt/GridLayout.java,
4166 java/awt/HeadlessException.java,
4167 java/awt/IllegalComponentStateException.java,
4168 java/awt/Image.java,
4169 java/awt/Insets.java,
4170 java/awt/ItemSelectable.java,
4171 java/awt/JobAttributes.java,
4172 java/awt/KeyEventDispatcher.java,
4173 java/awt/KeyEventPostProcessor.java,
4174 java/awt/KeyboardFocusManager.java,
4175 java/awt/Label.java,
4176 java/awt/LayoutManager.java,
4177 java/awt/MenuBar.java,
4178 java/awt/MenuComponent.java,
4179 java/awt/MenuContainer.java,
4180 java/awt/PageAttributes.java,
4181 java/awt/Paint.java,
4182 java/awt/PaintContext.java,
4183 java/awt/Panel.java,
4184 java/awt/Point.java,
4185 java/awt/Polygon.java,
4186 java/awt/PrintGraphics.java,
4187 java/awt/PrintJob.java,
4188 java/awt/Rectangle.java,
4189 java/awt/RenderingHints.java,
4190 java/awt/Shape.java,
4191 java/awt/Stroke.java,
4192 java/awt/SystemColor.java,
4193 java/awt/Toolkit.java,
4194 java/awt/Transparency.java,
4195 java/awt/Window.java,
4196 java/awt/color/CMMException.java,
4197 java/awt/color/ColorSpace.java,
4198 java/awt/color/ICC_ColorSpace.java,
4199 java/awt/color/ICC_Profile.java,
4200 java/awt/color/ProfileDataException.java,
4201 java/awt/datatransfer/FlavorTable.java,
4202 java/awt/datatransfer/MimeTypeParseException.java,
4203 java/awt/datatransfer/Transferable.java,
4204 java/awt/datatransfer/UnsupportedFlavorException.java,
4205 java/awt/dnd/Autoscroll.java,
4206 java/awt/dnd/DnDConstants.java,
4207 java/awt/dnd/DragGestureListener.java,
4208 java/awt/dnd/DragSourceAdapter.java,
4209 java/awt/dnd/DragSourceDropEvent.java,
4210 java/awt/dnd/DragSourceListener.java,
4211 java/awt/dnd/DragSourceMotionListener.java,
4212 java/awt/dnd/DropTargetAdapter.java,
4213 java/awt/dnd/DropTargetContext.java,
4214 java/awt/dnd/DropTargetListener.java,
4215 java/awt/dnd/InvalidDnDOperationException.java,
4216 java/awt/dnd/MouseDragGestureRecognizer.java,
4217 java/awt/dnd/peer/DropTargetContextPeer.java,
4218 java/awt/event/AWTEventListener.java,
4219 java/awt/event/AWTEventListenerProxy.java,
4220 java/awt/event/ActionEvent.java,
4221 java/awt/event/AdjustmentEvent.java,
4222 java/awt/event/AdjustmentListener.java,
4223 java/awt/event/ComponentAdapter.java,
4224 java/awt/event/ComponentEvent.java,
4225 java/awt/event/ComponentListener.java,
4226 java/awt/event/ContainerAdapter.java,
4227 java/awt/event/ContainerEvent.java,
4228 java/awt/event/ContainerListener.java,
4229 java/awt/event/FocusAdapter.java,
4230 java/awt/event/FocusEvent.java,
4231 java/awt/event/FocusListener.java,
4232 java/awt/event/InputEvent.java,
4233 java/awt/event/InputMethodEvent.java,
4234 java/awt/event/InputMethodListener.java,
4235 java/awt/event/InvocationEvent.java,
4236 java/awt/event/ItemEvent.java,
4237 java/awt/event/ItemListener.java,
4238 java/awt/event/KeyAdapter.java,
4239 java/awt/event/KeyEvent.java,
4240 java/awt/event/KeyListener.java,
4241 java/awt/event/MouseAdapter.java,
4242 java/awt/event/MouseEvent.java,
4243 java/awt/event/MouseListener.java,
4244 java/awt/event/MouseMotionAdapter.java,
4245 java/awt/event/MouseMotionListener.java,
4246 java/awt/event/MouseWheelEvent.java,
4247 java/awt/event/MouseWheelListener.java,
4248 java/awt/event/PaintEvent.java,
4249 java/awt/event/TextEvent.java,
4250 java/awt/event/TextListener.java,
4251 java/awt/event/WindowAdapter.java,
4252 java/awt/event/WindowEvent.java,
4253 java/awt/event/WindowFocusListener.java,
4254 java/awt/event/WindowListener.java,
4255 java/awt/event/WindowStateListener.java,
4256 java/awt/font/TextHitInfo.java,
4257 java/awt/geom/CubicCurve2D.java,
4258 java/awt/geom/Dimension2D.java,
4259 java/awt/geom/Ellipse2D.java,
4260 java/awt/geom/IllegalPathStateException.java,
4261 java/awt/geom/Line2D.java,
4262 java/awt/geom/NoninvertibleTransformException.java,
4263 java/awt/geom/PathIterator.java,
4264 java/awt/geom/Point2D.java,
4265 java/awt/geom/QuadCurve2D.java,
4266 java/awt/geom/RectangularShape.java,
4267 java/awt/geom/RoundRectangle2D.java,
4268 java/awt/im/InputContext.java,
4269 java/awt/im/InputMethodHighlight.java,
4270 java/awt/im/InputMethodRequests.java,
4271 java/awt/im/InputSubset.java,
4272 java/awt/im/spi/InputMethod.java,
4273 java/awt/im/spi/InputMethodDescriptor.java,
4274 java/awt/image/BandCombineOp.java,
4275 java/awt/image/BandedSampleModel.java,
4276 java/awt/image/ByteLookupTable.java,
4277 java/awt/image/ComponentSampleModel.java,
4278 java/awt/image/DataBuffer.java,
4279 java/awt/image/DataBufferByte.java,
4280 java/awt/image/DataBufferDouble.java,
4281 java/awt/image/DataBufferFloat.java,
4282 java/awt/image/DataBufferInt.java,
4283 java/awt/image/DataBufferShort.java,
4284 java/awt/image/DataBufferUShort.java,
4285 java/awt/image/ImagingOpException.java,
4286 java/awt/image/Kernel.java,
4287 java/awt/image/LookupTable.java,
4288 java/awt/image/MultiPixelPackedSampleModel.java,
4289 java/awt/image/PackedColorModel.java,
4290 java/awt/image/PixelInterleavedSampleModel.java,
4291 java/awt/image/RGBImageFilter.java,
4292 java/awt/image/Raster.java,
4293 java/awt/image/RasterFormatException.java,
4294 java/awt/image/SampleModel.java,
4295 java/awt/image/ShortLookupTable.java,
4296 java/awt/image/SinglePixelPackedSampleModel.java,
4297 java/awt/image/WritableRaster.java,
4298 java/awt/print/PrinterAbortException.java,
4299 java/awt/print/PrinterException.java,
4300 java/awt/print/PrinterIOException.java,
4301 java/beans/AppletInitializer.java,
4302 java/beans/ExceptionListener.java,
4303 java/beans/PropertyChangeEvent.java,
4304 java/beans/PropertyChangeListenerProxy.java,
4305 java/beans/PropertyChangeSupport.java,
4306 java/beans/PropertyDescriptor.java,
4307 java/beans/VetoableChangeListenerProxy.java,
4308 java/beans/VetoableChangeSupport.java,
4309 java/io/BufferedReader.java,
4310 java/io/ByteArrayInputStream.java,
4311 java/io/ByteArrayOutputStream.java,
4312 java/io/CharArrayReader.java,
4313 java/io/CharArrayWriter.java,
4314 java/io/CharConversionException.java,
4315 java/io/DataInput.java,
4316 java/io/DataInputStream.java,
4317 java/io/DataOutput.java,
4318 java/io/DataOutputStream.java,
4319 java/io/EOFException.java,
4320 java/io/FileInputStream.java,
4321 java/io/FileNotFoundException.java,
4322 java/io/FileOutputStream.java,
4323 java/io/FilenameFilter.java,
4324 java/io/FilterInputStream.java,
4325 java/io/FilterOutputStream.java,
4326 java/io/FilterReader.java,
4327 java/io/FilterWriter.java,
4328 java/io/IOException.java,
4329 java/io/InputStream.java,
4330 java/io/InterruptedIOException.java,
4331 java/io/LineNumberInputStream.java,
4332 java/io/LineNumberReader.java,
4333 java/io/ObjectInputStream.java,
4334 java/io/ObjectStreamException.java,
4335 java/io/OptionalDataException.java,
4336 java/io/OutputStream.java,
4337 java/io/OutputStreamWriter.java,
4338 java/io/PrintStream.java,
4339 java/io/PrintWriter.java,
4340 java/io/PushbackInputStream.java,
4341 java/io/PushbackReader.java,
4342 java/io/RandomAccessFile.java,
4343 java/io/Reader.java,
4344 java/io/SequenceInputStream.java,
4345 java/io/Serializable.java,
4346 java/io/StreamCorruptedException.java,
4347 java/io/StreamTokenizer.java,
4348 java/io/StringBufferInputStream.java,
4349 java/io/StringWriter.java,
4350 java/io/SyncFailedException.java,
4351 java/io/UTFDataFormatException.java,
4352 java/io/UnsupportedEncodingException.java,
4353 java/io/WriteAbortedException.java,
4354 java/io/Writer.java,
4355 java/lang/AbstractMethodError.java,
4356 java/lang/ArithmeticException.java,
4357 java/lang/ArrayIndexOutOfBoundsException.java,
4358 java/lang/ArrayStoreException.java,
4359 java/lang/AssertionError.java,
4360 java/lang/Boolean.java,
4361 java/lang/Byte.java,
4362 java/lang/Class.java,
4363 java/lang/ClassCastException.java,
4364 java/lang/ClassCircularityError.java,
4365 java/lang/ClassLoader.java,
4366 java/lang/ClassNotFoundException.java,
4367 java/lang/CloneNotSupportedException.java,
4368 java/lang/Cloneable.java,
4369 java/lang/Comparable.java,
4370 java/lang/Compiler.java,
4371 java/lang/Double.java,
4372 java/lang/Error.java,
4373 java/lang/Exception.java,
4374 java/lang/ExceptionInInitializerError.java,
4375 java/lang/Float.java,
4376 java/lang/IllegalAccessError.java,
4377 java/lang/IllegalAccessException.java,
4378 java/lang/IllegalArgumentException.java,
4379 java/lang/IllegalMonitorStateException.java,
4380 java/lang/IllegalStateException.java,
4381 java/lang/IllegalThreadStateException.java,
4382 java/lang/IncompatibleClassChangeError.java,
4383 java/lang/IndexOutOfBoundsException.java,
4384 java/lang/InheritableThreadLocal.java,
4385 java/lang/InstantiationError.java,
4386 java/lang/InstantiationException.java,
4387 java/lang/Integer.java,
4388 java/lang/InternalError.java,
4389 java/lang/InterruptedException.java,
4390 java/lang/LinkageError.java,
4391 java/lang/Long.java,
4392 java/lang/NegativeArraySizeException.java,
4393 java/lang/NoClassDefFoundError.java,
4394 java/lang/NoSuchFieldError.java,
4395 java/lang/NoSuchFieldException.java,
4396 java/lang/NoSuchMethodError.java,
4397 java/lang/NoSuchMethodException.java,
4398 java/lang/NullPointerException.java,
4399 java/lang/Number.java,
4400 java/lang/NumberFormatException.java,
4401 java/lang/OutOfMemoryError.java,
4402 java/lang/Process.java,
4403 java/lang/Runnable.java,
4404 java/lang/Runtime.java,
4405 java/lang/RuntimeException.java,
4406 java/lang/RuntimePermission.java,
4407 java/lang/SecurityException.java,
4408 java/lang/SecurityManager.java,
4409 java/lang/Short.java,
4410 java/lang/StackOverflowError.java,
4411 java/lang/StackTraceElement.java,
4412 java/lang/StringBuffer.java,
4413 java/lang/StringIndexOutOfBoundsException.java,
4414 java/lang/ThreadDeath.java,
4415 java/lang/ThreadGroup.java,
4416 java/lang/Throwable.java,
4417 java/lang/UnsatisfiedLinkError.java,
4418 java/lang/UnsupportedOperationException.java,
4419 java/lang/VerifyError.java,
4420 java/lang/VirtualMachineError.java,
4421 java/lang/reflect/AccessibleObject.java,
4422 java/lang/reflect/Array.java,
4423 java/lang/reflect/InvocationTargetException.java,
4424 java/lang/reflect/Member.java,
4425 java/lang/reflect/Modifier.java,
4426 java/lang/reflect/Proxy.java,
4427 java/lang/reflect/ReflectPermission.java,
4428 java/lang/reflect/UndeclaredThrowableException.java,
4429 java/math/BigInteger.java,
4430 java/net/NetworkInterface.java,
4431 java/nio/ByteBufferHelper.java,
4432 java/nio/ByteBufferImpl.java,
4433 java/nio/DirectByteBufferImpl.java,
4434 java/nio/DoubleBufferImpl.java,
4435 java/nio/FloatBufferImpl.java,
4436 java/nio/IntBufferImpl.java,
4437 java/nio/LongBufferImpl.java,
4438 java/nio/ShortBufferImpl.java,
4439 java/nio/channels/Channel.java,
4440 java/nio/channels/IllegalBlockingModeException.java,
4441 java/nio/charset/spi/CharsetProvider.java,
4442 java/security/AccessControlException.java,
4443 java/security/BasicPermission.java,
4444 java/security/DigestException.java,
4445 java/security/DigestInputStream.java,
4446 java/security/DigestOutputStream.java,
4447 java/security/GeneralSecurityException.java,
4448 java/security/Guard.java,
4449 java/security/GuardedObject.java,
4450 java/security/InvalidAlgorithmParameterException.java,
4451 java/security/InvalidKeyException.java,
4452 java/security/InvalidParameterException.java,
4453 java/security/Key.java,
4454 java/security/KeyException.java,
4455 java/security/KeyManagementException.java,
4456 java/security/KeyStoreException.java,
4457 java/security/MessageDigestSpi.java,
4458 java/security/NoSuchAlgorithmException.java,
4459 java/security/NoSuchProviderException.java,
4460 java/security/Permission.java,
4461 java/security/PermissionCollection.java,
4462 java/security/Permissions.java,
4463 java/security/Principal.java,
4464 java/security/PrivateKey.java,
4465 java/security/PrivilegedActionException.java,
4466 java/security/ProviderException.java,
4467 java/security/PublicKey.java,
4468 java/security/SecureRandom.java,
4469 java/security/SecureRandomSpi.java,
4470 java/security/SignatureException.java,
4471 java/security/SignatureSpi.java,
4472 java/security/SignedObject.java,
4473 java/security/Signer.java,
4474 java/security/UnrecoverableKeyException.java,
4475 java/security/UnresolvedPermission.java,
4476 java/security/acl/AclNotFoundException.java,
4477 java/security/acl/LastOwnerException.java,
4478 java/security/acl/NotOwnerException.java,
4479 java/security/cert/CertPath.java,
4480 java/security/cert/CertPathBuilderException.java,
4481 java/security/cert/CertPathValidatorException.java,
4482 java/security/cert/CertStoreException.java,
4483 java/text/BreakIterator.java,
4484 java/text/ChoiceFormat.java,
4485 java/text/CollationElementIterator.java,
4486 java/text/CollationKey.java,
4487 java/text/Collator.java,
4488 java/text/DateFormat.java,
4489 java/text/DateFormatSymbols.java,
4490 java/text/DecimalFormat.java,
4491 java/text/DecimalFormatSymbols.java,
4492 java/text/FieldPosition.java,
4493 java/text/Format.java,
4494 java/text/NumberFormat.java,
4495 java/text/ParseException.java,
4496 java/text/ParsePosition.java,
4497 java/text/StringCharacterIterator.java,
4498 java/util/AbstractCollection.java,
4499 java/util/AbstractList.java,
4500 java/util/AbstractMap.java,
4501 java/util/AbstractSequentialList.java,
4502 java/util/AbstractSet.java,
4503 java/util/ArrayList.java,
4504 java/util/Arrays.java,
4505 java/util/BitSet.java,
4506 java/util/Collection.java,
4507 java/util/Collections.java,
4508 java/util/Comparator.java,
4509 java/util/ConcurrentModificationException.java,
4510 java/util/Currency.java,
4511 java/util/Date.java,
4512 java/util/EmptyStackException.java,
4513 java/util/Enumeration.java,
4514 java/util/EventListener.java,
4515 java/util/EventListenerProxy.java,
4516 java/util/EventObject.java,
4517 java/util/HashMap.java,
4518 java/util/HashSet.java,
4519 java/util/Hashtable.java,
4520 java/util/IdentityHashMap.java,
4521 java/util/Iterator.java,
4522 java/util/LinkedHashSet.java,
4523 java/util/LinkedList.java,
4524 java/util/List.java,
4525 java/util/ListIterator.java,
4526 java/util/ListResourceBundle.java,
4528 java/util/MissingResourceException.java,
4529 java/util/NoSuchElementException.java,
4530 java/util/Observable.java,
4531 java/util/Observer.java,
4532 java/util/Properties.java,
4533 java/util/PropertyPermissionCollection.java,
4534 java/util/RandomAccess.java,
4536 java/util/SortedMap.java,
4537 java/util/SortedSet.java,
4538 java/util/Stack.java,
4539 java/util/StringTokenizer.java,
4540 java/util/TooManyListenersException.java,
4541 java/util/TreeMap.java,
4542 java/util/TreeSet.java,
4543 java/util/Vector.java,
4544 java/util/logging/FileHandler.java,
4545 java/util/logging/Level.java,
4546 java/util/prefs/BackingStoreException.java,
4547 java/util/prefs/InvalidPreferencesFormatException.java,
4548 java/util/prefs/Preferences.java,
4549 javax/accessibility/Accessible.java,
4550 javax/accessibility/AccessibleAction.java,
4551 javax/accessibility/AccessibleBundle.java,
4552 javax/accessibility/AccessibleComponent.java,
4553 javax/accessibility/AccessibleContext.java,
4554 javax/accessibility/AccessibleEditableText.java,
4555 javax/accessibility/AccessibleExtendedComponent.java,
4556 javax/accessibility/AccessibleExtendedTable.java,
4557 javax/accessibility/AccessibleHyperlink.java,
4558 javax/accessibility/AccessibleHypertext.java,
4559 javax/accessibility/AccessibleIcon.java,
4560 javax/accessibility/AccessibleKeyBinding.java,
4561 javax/accessibility/AccessibleRelation.java,
4562 javax/accessibility/AccessibleRelationSet.java,
4563 javax/accessibility/AccessibleResourceBundle.java,
4564 javax/accessibility/AccessibleRole.java,
4565 javax/accessibility/AccessibleSelection.java,
4566 javax/accessibility/AccessibleState.java,
4567 javax/accessibility/AccessibleStateSet.java,
4568 javax/accessibility/AccessibleTable.java,
4569 javax/accessibility/AccessibleTableModelChange.java,
4570 javax/accessibility/AccessibleText.java,
4571 javax/accessibility/AccessibleValue.java,
4572 javax/imageio/IIOException.java,
4573 javax/imageio/ImageIO.java,
4574 javax/imageio/spi/IIOServiceProvider.java,
4575 javax/imageio/spi/ImageInputStreamSpi.java,
4576 javax/imageio/spi/ImageOutputStreamSpi.java,
4577 javax/imageio/spi/ImageReaderWriterSpi.java,
4578 javax/imageio/spi/ImageTranscoderSpi.java,
4579 javax/imageio/spi/RegisterableService.java,
4580 javax/imageio/spi/ServiceRegistry.java,
4581 javax/imageio/stream/IIOByteBuffer.java,
4582 javax/imageio/stream/ImageInputStream.java,
4583 javax/imageio/stream/ImageOutputStream.java,
4584 javax/naming/Binding.java,
4585 javax/naming/CannotProceedException.java,
4586 javax/naming/CompositeName.java,
4587 javax/naming/CompoundName.java,
4588 javax/naming/LinkException.java,
4589 javax/naming/LinkRef.java,
4590 javax/naming/NameClassPair.java,
4591 javax/naming/Reference.java,
4592 javax/naming/ReferralException.java,
4593 javax/naming/directory/Attribute.java,
4594 javax/naming/directory/AttributeModificationException.java,
4595 javax/naming/directory/Attributes.java,
4596 javax/naming/directory/DirContext.java,
4597 javax/naming/directory/ModificationItem.java,
4598 javax/naming/directory/SearchControls.java,
4599 javax/naming/directory/SearchResult.java,
4600 javax/naming/event/EventContext.java,
4601 javax/naming/event/EventDirContext.java,
4602 javax/naming/event/NamespaceChangeListener.java,
4603 javax/naming/event/NamingExceptionEvent.java,
4604 javax/naming/event/NamingListener.java,
4605 javax/naming/event/ObjectChangeListener.java,
4606 javax/naming/ldap/Control.java,
4607 javax/naming/ldap/ExtendedResponse.java,
4608 javax/naming/ldap/HasControls.java,
4609 javax/naming/ldap/LdapContext.java,
4610 javax/naming/ldap/UnsolicitedNotification.java,
4611 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4612 javax/naming/ldap/UnsolicitedNotificationListener.java,
4613 javax/naming/spi/DirectoryManager.java,
4614 javax/naming/spi/ResolveResult.java,
4615 javax/naming/spi/Resolver.java,
4616 javax/security/auth/callback/Callback.java,
4617 javax/security/auth/callback/CallbackHandler.java,
4618 javax/security/auth/callback/ChoiceCallback.java,
4619 javax/security/auth/callback/ConfirmationCallback.java,
4620 javax/security/auth/callback/LanguageCallback.java,
4621 javax/security/auth/callback/NameCallback.java,
4622 javax/security/auth/callback/PasswordCallback.java,
4623 javax/security/auth/callback/TextInputCallback.java,
4624 javax/security/auth/callback/TextOutputCallback.java,
4625 javax/security/auth/callback/UnsupportedCallbackException.java,
4626 javax/security/sasl/Sasl.java,
4627 javax/security/sasl/SaslServerFactory.java,
4628 javax/swing/DefaultBoundedRangeModel.java,
4629 javax/swing/JComponent.java,
4630 javax/swing/JList.java,
4631 javax/swing/JProgressBar.java,
4632 javax/swing/JRadioButton.java,
4633 javax/swing/JTextArea.java,
4634 javax/swing/JTextField.java,
4635 javax/swing/JToggleButton.java,
4636 javax/swing/JTree.java,
4637 javax/swing/SpinnerListModel.java,
4638 javax/swing/event/EventListenerList.java,
4639 javax/swing/text/JTextComponent.java,
4640 javax/swing/text/StringContent.java,
4641 javax/swing/text/Utilities.java,
4642 javax/swing/undo/UndoManager.java,
4643 javax/swing/undo/UndoableEditSupport.java,
4644 javax/transaction/HeuristicCommitException.java,
4645 javax/transaction/HeuristicMixedException.java,
4646 javax/transaction/HeuristicRollbackException.java,
4647 javax/transaction/InvalidTransactionException.java,
4648 javax/transaction/NotSupportedException.java,
4649 javax/transaction/RollbackException.java,
4650 javax/transaction/Status.java,
4651 javax/transaction/Synchronization.java,
4652 javax/transaction/SystemException.java,
4653 javax/transaction/Transaction.java,
4654 javax/transaction/TransactionManager.java,
4655 javax/transaction/TransactionRequiredException.java,
4656 javax/transaction/TransactionRolledbackException.java,
4657 javax/transaction/UserTransaction.java,
4658 javax/transaction/xa/XAException.java,
4659 javax/transaction/xa/XAResource.java,
4660 javax/transaction/xa/Xid.java,
4661 javax/xml/XMLConstants.java,
4662 javax/xml/datatype/DatatypeConfigurationException.java,
4663 javax/xml/datatype/DatatypeConstants.java,
4664 javax/xml/datatype/DatatypeFactory.java,
4665 javax/xml/datatype/Duration.java,
4666 javax/xml/datatype/XMLGregorianCalendar.java,
4667 javax/xml/namespace/NamespaceContext.java,
4668 javax/xml/namespace/QName.java,
4669 javax/xml/parsers/DocumentBuilder.java,
4670 javax/xml/parsers/DocumentBuilderFactory.java,
4671 javax/xml/parsers/FactoryConfigurationError.java,
4672 javax/xml/parsers/ParserConfigurationException.java,
4673 javax/xml/parsers/SAXParser.java,
4674 javax/xml/parsers/SAXParserFactory.java,
4675 javax/xml/transform/ErrorListener.java,
4676 javax/xml/transform/OutputKeys.java,
4677 javax/xml/transform/Result.java,
4678 javax/xml/transform/Source.java,
4679 javax/xml/transform/SourceLocator.java,
4680 javax/xml/transform/Templates.java,
4681 javax/xml/transform/Transformer.java,
4682 javax/xml/transform/TransformerConfigurationException.java,
4683 javax/xml/transform/TransformerException.java,
4684 javax/xml/transform/TransformerFactory.java,
4685 javax/xml/transform/TransformerFactoryConfigurationError.java,
4686 javax/xml/transform/URIResolver.java,
4687 javax/xml/transform/dom/DOMLocator.java,
4688 javax/xml/transform/dom/DOMResult.java,
4689 javax/xml/transform/dom/DOMSource.java,
4690 javax/xml/transform/sax/SAXResult.java,
4691 javax/xml/transform/sax/SAXSource.java,
4692 javax/xml/transform/sax/SAXTransformerFactory.java,
4693 javax/xml/transform/sax/TemplatesHandler.java,
4694 javax/xml/transform/sax/TransformerHandler.java,
4695 javax/xml/transform/stream/StreamResult.java,
4696 javax/xml/transform/stream/StreamSource.java,
4697 javax/xml/validation/Schema.java,
4698 javax/xml/validation/SchemaFactory.java,
4699 javax/xml/validation/TypeInfoProvider.java,
4700 javax/xml/validation/Validator.java,
4701 javax/xml/validation/ValidatorHandler.java,
4702 javax/xml/xpath/XPathConstants.java,
4703 javax/xml/xpath/XPathException.java,
4704 javax/xml/xpath/XPathExpression.java,
4705 javax/xml/xpath/XPathExpressionException.java,
4706 javax/xml/xpath/XPathFactory.java,
4707 javax/xml/xpath/XPathFactoryConfigurationException.java,
4708 javax/xml/xpath/XPathFunction.java,
4709 javax/xml/xpath/XPathFunctionException.java,
4710 javax/xml/xpath/XPathFunctionResolver.java:
4711 Fixed usage of @author tag, reworked import statements,
4712 removed CVS tags, changed the modifier order and fixed
4713 HTML usage in javadocs.
4715 2005-02-16 Julian Scheid <julian@sektor37.de>
4717 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4719 (encodeLoop): Likewise.
4721 2005-02-16 Mark Wielaard <mark@klomp.org>
4723 * Makefile.am (ordinary_java_source_files): Add new files
4724 gnu/java/security/ber/BER.java,
4725 gnu/java/security/ber/BEREncodingException.java,
4726 gnu/java/security/ber/BERReader.java,
4727 gnu/java/security/ber/BERValue.java,
4728 gnu/java/security/pkcs/PKCS7SignedData.java and
4729 gnu/java/security/pkcs/SignerInfo.java.
4730 * Makefile.in: Regenerated.
4732 2005-02-16 Casey Marshall <csm@gnu.org>
4734 * gnu/java/security/provider/GnuDSAPrivateKey.java
4735 (encodedKey): new field.
4736 (getFormat): return "PKCS#8".
4737 (getEncoded): implemented.
4738 (toString): check for 'null' values.
4739 * gnu/java/security/provider/GnuDSAPublicKey.java
4740 (encodedKey): new field.
4741 (getFormat): return "X.509".
4742 (getEncoded): implemented.
4743 (toString): check for 'null' values.
4745 2005-02-16 Michael Koch <konqueror@gmx.de>
4747 * java/util/jar/JarFile.java: Imports reworked.
4749 2005-02-16 Mark Wielaard <mark@klomp.org>
4751 * java/util/jar/JarFile.java (verify): Make package private.
4752 (signaturesRead): Likewise.
4753 (verified): Likewise.
4754 (entryCerts): Likewise.
4757 (entries): Construct new JarEnumeration with reference to this.
4758 (JarEnumeration): Make static.
4759 (JarEnumeration.jarfile): New field.
4760 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4761 Compare verified value to Boolean.TRUE or Boolean.False only
4762 when verify is true.
4763 (getEntry): Make synchronized. Compare value of verified to
4765 (getInputStream): Construct EntryInputStream with reference to this.
4766 (getManifest): Make synchronized.
4767 (EntryInputStream): Make static.
4768 (EntryInputStream.jarfile): New field.
4769 (EntryInputStream.EntryInputStream): Check if manifest exists,
4770 before getting attributes.
4771 (eof): Synchronize on jarfile.
4773 2005-02-16 Casey Marshall <csm@gnu.org>
4775 * java/util/jar/JarFile.java (verify): return if the jar is signed
4776 with an unsupported algorithm.
4778 2005-02-16 Mark Wielaard <mark@klomp.org>
4780 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4781 InputStream as argument.
4782 (getInputStream): Construct a new EntryInputStream with the result of
4783 super.getInputStream(entry).
4785 2005-02-16 Casey Marshall <csm@gnu.org>
4787 Signed JAR file support.
4788 * java/net/URLClassLoader.java
4789 (JarURLResource.getCertificates): re-read jar entry to ensure
4790 certificates are picked up.
4791 (findClass): fill in class `signers' field, too.
4792 * java/util/jar/JarFile.java (META_INF): new constant.
4793 (PKCS7_DSA_SUFFIX): new constant.
4794 (PKCS7_RSA_SUFFIX): new constant.
4795 (DIGEST_KEY_SUFFIX): new constant.
4796 (SF_SUFFIX): new constant.
4797 (MD2_OID): new constant.
4798 (MD4_OID): new constant.
4799 (MD5_OID): new constant.
4800 (SHA1_OID): new constant.
4801 (DSA_ENCRYPTION_OID): new constant.
4802 (RSA_ENCRYPTION_OID): new constant.
4803 (signaturesRead): new field.
4804 (verified): new field.
4805 (entryCerts): new field.
4806 (DEBUG): new constant.
4807 (debug): new method.
4808 (JarEnumeration.nextElement): fill in entry certificates, read
4809 signatures if they haven't been read.
4810 (getEntry): likewise.
4811 (getInputStream): verify stream if it hasn't been verified yet.
4812 (readSignatures): new method.
4813 (verify): new method.
4814 (verifyHashes): new method.
4815 (readManifestEntry): new method.
4816 (EntryInputStream): new class.
4817 * gnu/java/io/Base64InputStream.java (decode): new class
4819 * gnu/java/security/der/DERReader.java don't make class
4821 (in): made protected.
4823 (readLength): likewise.
4824 * gnu/java/security/ber/BER.java,
4825 * gnu/java/security/ber/BEREncodingException.java,
4826 * gnu/java/security/ber/BERReader.java,
4827 * gnu/java/security/ber/BERValue.java,
4828 * gnu/java/security/pkcs/PKCS7SignedData.java,
4829 * gnu/java/security/pkcs/SignerInfo.java:
4832 2005-02-16 Tom Tromey <tromey@redhat.com>
4834 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4835 copied file on exit.
4837 2005-02-15 Mark Wielaard <mark@klomp.org>
4839 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4841 2005-02-15 Michael Koch <konqueror@gmx.de>
4843 * gnu/java/awt/peer/gtk/GtkArg.java,
4844 gnu/java/awt/peer/gtk/GtkArgList.java:
4847 2005-02-15 Craig Black <craig.black@aonix.com>
4849 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4850 (postMenuActionEvent): Implement to notify ItemListeners.
4851 * java/awt/CheckboxMenuItem.java
4852 (dispatchEventImpl): Update state on ItemEvent.
4853 * java/awt/MenuItem.java
4854 (processActionEvent): Retarget event source.
4856 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4858 * gnu/java/awt/color/ClutProfileConverter.java,
4859 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4860 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4861 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4862 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4863 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4864 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4865 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4866 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4867 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4868 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4869 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4870 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4871 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4872 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4873 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4874 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4875 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4876 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4877 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4878 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4879 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4880 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4881 gnu/java/awt/peer/gtk/GtkToolkit.java,
4882 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4883 javax/swing/JPopupMenu.java,
4884 javax/swing/JSpinner.java,
4885 javax/swing/SortingFocusTraversalPolicy.java,
4886 javax/swing/SwingUtilities.java,
4887 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4888 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4889 javax/swing/tree/DefaultMutableTreeNode.java:
4890 Removed unused imports and expanded starred
4893 2005-02-15 Mark Wielaard <mark@klomp.org>
4895 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4896 IllegalArgumentException when the given String is null.
4898 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4899 when given keystoke sequence cannot be parsed.
4901 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4902 if one is installed. Only install the given menubar is not null.
4904 * javax/swing/JViewport.java (getViewSize): Return an empty
4905 Dimension when the view isn't set or preferred component size when
4908 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4909 empty Dimension when there is no view set.
4910 (minimumLayoutSize): Likewise.
4911 (layoutContainer): Don't try to layout when there is no view.
4913 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4916 * include/jawt.h: Likewise.
4917 * include/jawt_md.h: Likewise.
4918 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4920 * jni/classpath/classpath_jawt.h: Likewise.
4921 * jni/gtk-peer/gtk_jawt.c: Likewise.
4922 * Makefile.am: Build libjawt.so.
4924 2005-02-15 Michael Koch <konqueror@gmx.de>
4926 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4927 Merged file header with classpath CVS head.
4928 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4929 Merged code formatting with classpath CVS head.
4930 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4932 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4933 Handle special JNI strings with 2 '\0' at the end.
4934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4935 Merged file header with classpath CVS head.
4936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4937 Merged code formatting with classpath CVS head.
4939 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4941 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4942 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4943 (handle_response): Use GTK_RESPONSE_ACCEPT.
4945 2005-02-15 Graydon Hoare <graydon@redhat.com>
4947 * Makefile.am: Fix library build breakage.
4948 * Makefile.in: Regenerate.
4950 2005-02-15 Michael Koch <konqueror@gmx.de>
4952 * javax/swing/JTabbedPane.java
4953 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4955 2005-02-15 Michael Koch <konqueror@gmx.de>
4957 * javax/swing/tree/DefaultMutableTreeNode.java:
4958 Reworked Javadocs all over.
4959 (getPathToRoot): Fixed direction of result array initialization.
4961 2005-02-15 Michael Koch <konqueror@gmx.de>
4963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4964 Fix includes for cairo 0.3.0 snappshot.
4965 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4966 Merged file header from classpath CVS HEAD.
4968 2005-02-15 Craig Black <craig.black@aonix.com>
4970 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4971 (copyState): Pass a JNI global reference to signal handler.
4972 (realize_cb): Use and free JNI global reference.
4973 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4974 (create): Pass a JNI global reference to signal handler.
4975 (selection_changed): Match declaration.
4976 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4977 (dispose): Do not remove entries from state tables until after widget is
4980 2005-02-15 Michael Koch <konqueror@gmx.de>
4982 * java/awt/Container.javai (paramString):
4983 If layoutMgr is null just return result of super.paramString().
4984 * java/awt/Scrollbar.java: Reformatted.
4985 * java/awt/im/InputContext.java (static):
4986 Removed redundant initializations.
4988 2005-02-15 Michael Koch <konqueror@gmx.de>
4990 * javax/swing/ImageIcon.java,
4991 javax/swing/UIManager.java,
4992 javax/swing/text/EditorKit.java,
4993 javax/swing/text/Segment.java:
4994 More whitespace cleanups.
4996 2005-02-15 Michael Koch <konqueror@gmx.de>
4998 * gnu/java/awt/EmbeddedWindow.java,
4999 gnu/java/awt/image/ImageDecoder.java,
5000 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5001 java/awt/DefaultKeyboardFocusManager.java,
5002 java/awt/Frame.java,
5003 java/awt/image/RGBImageFilter.java,
5004 javax/swing/AbstractButton.java,
5005 javax/swing/ActionMap.java,
5006 javax/swing/ComponentInputMap.java,
5007 javax/swing/DefaultDesktopManager.java,
5008 javax/swing/ImageIcon.java,
5009 javax/swing/InputMap.java,
5010 javax/swing/JButton.java,
5011 javax/swing/JCheckBox.java,
5012 javax/swing/JCheckBoxMenuItem.java,
5013 javax/swing/JEditorPane.java,
5014 javax/swing/JMenu.java,
5015 javax/swing/JMenuItem.java,
5016 javax/swing/JOptionPane.java,
5017 javax/swing/JRootPane.java,
5018 javax/swing/JTable.java,
5019 javax/swing/MenuSelectionManager.java,
5020 javax/swing/RepaintManager.java,
5021 javax/swing/ScrollPaneLayout.java,
5022 javax/swing/SortingFocusTraversalPolicy.java,
5023 javax/swing/UIManager.java,
5024 javax/swing/ViewportLayout.java,
5025 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5026 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5027 javax/swing/plaf/basic/BasicLabelUI.java,
5028 javax/swing/plaf/basic/BasicListUI.java,
5029 javax/swing/plaf/basic/BasicMenuItemUI.java,
5030 javax/swing/plaf/basic/BasicMenuUI.java,
5031 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5032 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5033 javax/swing/plaf/basic/BasicRootPaneUI.java,
5034 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5035 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5036 javax/swing/plaf/basic/BasicTextUI.java,
5037 javax/swing/table/TableColumnModel.java,
5038 javax/swing/text/AbstractDocument.java,
5039 javax/swing/text/EditorKit.java,
5040 javax/swing/text/Position.java,
5041 javax/swing/text/Segment.java,
5042 javax/swing/text/StyledEditorKit.java,
5043 javax/swing/text/ViewFactory.java:
5044 Cleanup whitespace differences to classpath CVS HEAD.
5046 2005-02-15 Graydon Hoare <graydon@redhat.com>
5048 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5049 (finalize): Call finish from here.
5050 (produce): Not from here.
5051 * Makefile.am (gtk_c_source_files):
5052 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5053 * Makefile.in: Regenerate.
5054 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5056 (cairoDrawGdkTextLayout):
5058 (getPeerTextMetrics):
5059 (getPeerFontMetrics): Remove.
5060 (setFont): Don't call cairoSetFont.
5061 (cairoDrawGlyphVector): Accept font peer argument.
5062 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5064 (ensure_metrics_cairo):
5065 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5066 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5067 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5068 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5070 (metrics_surface): Remove.
5071 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5072 Pass and install font peer.
5074 2005-02-15 Graydon Hoare <graydon@redhat.com>
5076 * Makefile.am: Create "split library" structure.
5077 * Makefile.in: Regenerate.
5079 2005-02-15 Graydon Hoare <graydon@redhat.com>
5081 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5084 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5085 Release GDK lock during upcalls.
5087 2005-02-15 Graydon Hoare <graydon@redhat.com>
5089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5091 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5092 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5093 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5095 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5098 (getTextMetrics): New native methods.
5099 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5100 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5101 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5102 * Makefile.in: Regenerate.
5104 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5106 * javax/swing/SwingUtilities.java:
5107 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5108 Implemented and documented.
5109 (getAccessibleChild(java.awt.Component, int)): Likewise.
5110 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5111 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5112 (getAccessibleStateSet(java.awt.Component)): Likewise.
5114 2005-02-15 Michael Koch <konqueror@gmx.de>
5116 * javax/swing/SwingUtilities.java
5117 (getFontMetrics): Removed.
5119 2005-02-15 Michael Koch <konqueror@gmx.de>
5121 * java/awt/Container.java
5122 (paramString): Implemented.
5123 * javax/swing/AbstractButton.java
5124 (paramString): Implemented.
5125 * javax/swing/JComponent.java
5126 (paramString): Implemented.
5127 * javax/swing/JMenu.java
5128 (paramString): Implemented.
5129 * javax/swing/JMenuBar.java
5130 (paramString): Implemented.
5131 * javax/swing/JMenuItem.java
5132 (paramString): Implemented.
5133 * javax/swing/JPopupMenu.java
5134 (paramString): Implemented.
5136 2005-02-15 Michael Koch <konqueror@gmx.de>
5138 * javax/swing/JMenu.java
5139 (uiClassID): Removed.
5140 (JMenu): Set invoker on popup menu.
5141 (getUIClassID): Return id directly.
5142 (getItemCount): Simply return getMenuComponentCount().
5144 (isTopLevelMenu): Simplified.
5145 * javax/swing/JMenuItem.java
5146 (uiClassID): Removed.
5147 (getUIClassID): Return id directly.
5148 * javax/swing/JPopupMenu.java
5149 (uiClassID): Removed.
5150 (JPopupMenu): Always initialize correctly.
5151 (getSubElements): Only return components implementing MenuElement
5153 (HeavyWeightPopup.hide): Removed.
5155 2005-02-15 Michael Koch <konqueror@gmx.de>
5157 * java/awt/image/ReplicateScaleFilter.java
5158 (replicatePixels): Made private.
5159 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5160 (DefaultRGBChooserPanel): Made package private.
5161 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5162 (RecentSwatchPanel): Likewise.
5163 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5164 (MouseInputAdapter): Made abstract.
5165 * javax/swing/tree/DefaultMutableTreeNode.java
5167 (growTree): Likewise.
5169 2005-02-15 Michael Koch <konqueror@gmx.de>
5171 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5174 2005-02-15 Michael Koch <konqueror@gmx.de>
5176 * javax/swing/JComponent.java (getComponentGraphics):
5177 Removed accidently commited code.
5179 2005-02-15 Graydon Hoare <graydon@redhat.com>
5181 * java/awt/dnd/DropTarget.java
5182 (addDropTargetListener): Despite documentation, do not throw.
5183 * javax/swing/JComponent.java: Set a default DropTarget.
5185 2005-02-15 Michael Koch <konqueror@gmx.de>
5187 * javax/swing/AbstractAction.java
5188 (ENABLED_PROPERTY): Removed.
5189 (setEnabled): Replaced constant with real string.
5190 * javax/swing/AbstractButton.java
5191 (createActionPropertyChangeListener.propertyChange): Likewise.
5192 * javax/swing/JComboBox.java
5193 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5194 (EDITABLE_CHANGED_PROPERTY): Removed.
5195 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5196 (ENABLED_CHANGED_PROPERTY):Likewise.
5197 (RENDERER_CHANGED_PROPERTY):Likewise.
5198 (EDITOR_CHANGED_PROPERTY):Likewise.
5199 (MODEL_CHANGED_PROPERTY):Likewise.
5200 (uiClassID):Likewise.
5201 (getUIClassID): Replaced constant with real string.
5202 (setModel):Likewise.
5203 (setEditable):Likewise.
5204 (setMaximumRowCount):Likewise.
5205 (setRenderer):Likewise.
5206 (setEditor):Likewise.
5207 (setEnabled):Likewise.
5208 * javax/swing/JLabel.java
5209 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5210 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5211 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5212 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5213 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5214 (ICON_CHANGED_PROPERTY): Likewise.
5215 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5216 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5217 (TEXT_CHANGED_PROPERTY): Likewise.
5218 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5219 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5220 (setText): Replaced constant with real string.
5221 (setIcon): Likewise.
5222 (setDisabledIcon): Likewise.
5223 (setDisplayedMnemonic): Likewise.
5224 (setIconTextGap): Likewise.
5225 (setVerticalAlignment): Likewise.
5226 (setHorizontalAlignment): Likewise.
5227 (setVerticalTextPosition): Likewise.
5228 (setHorizontalTextPosition): Likewise.
5229 (setLabelFor): Replaced constant with real string.
5230 Fire property change event after property got changed.
5231 * javax/swing/JList.java
5232 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5233 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5234 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5235 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5236 (MODEL_PROPERTY_CHANGED): Likewise.
5237 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5238 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5239 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5240 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5241 (setFixedCellWidth): Reimplemented.
5242 (setFixedCellHeight): Exit if new value is identical.
5243 Replaced constant with real string.
5244 (setSelectionBackground): Likewise.
5245 (setSelectionForeground): Likewise.
5246 (setPrototypeCellValue): Likewise.
5247 (setCellRenderer): Replaced constant with real string.
5248 (setModel): Likewise.
5249 (setSelectionModel): Likewise.
5250 * javax/swing/JMenuBar.java
5251 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5252 (MODEL_CHANGED_PROPERTY): Likewise.
5253 (MARGIN_CHANGED_PROPERTY): Likewise.
5254 (setBorderPainted): Reimplemented.
5255 (setMargin): Likewise.
5256 (setSelectionModel): Replaced constant with real string.
5257 * javax/swing/JPopupMenu.java
5258 (LABEL_CHANGED_PROPERTY): Removed.
5259 (VISIBLE_CHANGED_PROPERTY): Likewise.
5260 (borderPainted): Likewise.
5261 (setLabel): Replaced constant with real string.
5262 (setVisible): Exit if new value is identical.
5263 Replaced constant with real string.
5264 * javax/swing/JProgressBar.java
5265 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5266 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5267 (STRING_CHANGED_PROPERTY): Likewise.
5268 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5269 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5270 (setOrientation): Replaced constant with real string.
5271 (setStringPainted): Likewise.
5272 (setString): Likewise.
5273 (setBorderPainted): Likewise.
5274 (setIndeterminate): Likewise.
5275 * javax/swing/JScrollBar.java
5276 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5277 (MODEL_CHANGED_PROPERTY): Likewise.
5278 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5279 (setOrientation): Replaced constant with real string.
5280 (setModel): Likewise.
5281 (setUnitIncrement): Likewise.
5282 (setBlockIncrement): Likewise.
5283 * javax/swing/JScrollPane.java
5284 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5285 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5286 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5287 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5288 (LAYOUT_CHANGED_PROPERTY): Likewise.
5289 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5290 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5291 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5292 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5293 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5294 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5295 (setComponentOrientation): Replaced constant with real string.
5296 (setColumnHeader): Likewise.
5297 (setHorizontalScrollBar): Likewise.
5298 (setHorizontalScrollBarPolicy): Likewise.
5299 (setRowHeader): Likewise.
5300 (setVerticalScrollBar): Likewise.
5301 (setVerticalScrollBarPolicy): Likewise.
5302 (setWheelScrollingEnabled): Likewise.
5303 (setViewport): Likewise.
5304 (setViewportBorder): Likewise.
5305 * javax/swing/JSlider.java
5306 (INVERTED_CHANGED_PROPERTY): Removed.
5307 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5308 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5309 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5310 (MODEL_CHANGED_PROPERTY): Likewise.
5311 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5312 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5313 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5314 (setModel): Replaced constant with real string.
5315 (setOrientation): Likewise.
5316 (setLabelTable): Likewise.
5317 (setInverted): Likewise.
5318 (setMajorTickSpacing): Likewise.
5319 (setMinorTickSpacing): Likewise.
5320 (setPaintTicks): Likewise.
5321 (setPaintLabels): Likewise.
5322 * javax/swing/JTabbedPane.java
5323 (MODEL_CHANGED_PROPERTY): Removed.
5324 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5325 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5326 (setModel): Replaced constant with real string.
5327 (setTabPlacement): Likewise.
5328 (setTabLayoutPolicy): Likewise.
5329 * javax/swing/JToolBar.java
5330 (ORIENTATION_CHANGED_PROPERTY): Removed.
5331 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5332 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5333 (MARGIN_CHANGED_PROPERTY): Likewise.
5334 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5335 (setRollover): Replaced constant with real string.
5336 (setMargin): Likewise.
5337 (setBorderPainted): Likewise.
5338 (setFloatable): Likewise.
5339 (setOrientation): Likewise.
5340 * javax/swing/plaf/basic/BasicComboBoxUI.java
5341 (PropertyChangeHandler.propertyChange): Likewise.
5342 * javax/swing/plaf/basic/BasicComboPopup.java
5343 (PropertyChangeHandler.propertyChange): Likewise.
5344 * javax/swing/plaf/basic/BasicMenuBarUI.java
5345 (PropertyChangeHandler.propertyChange): Likewise.
5346 * javax/swing/plaf/basic/BasicProgressBarUI.java
5347 (PropertyChangeHandler.propertyChange): Likewise.
5348 * javax/swing/plaf/basic/BasicScrollBarUI.java
5349 (PropertyChangeHandler.propertyChange): Likewise.
5350 * javax/swing/plaf/basic/BasicSliderUI.java
5351 (PropertyChangeHandler.propertyChange): Likewise.
5352 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5353 (PropertyChangeHandler.propertyChange): Likewise.
5354 * javax/swing/plaf/basic/BasicToolBarUI.java
5355 (PropertyChangeHandler.propertyChange): Likewise.
5357 2005-02-15 Michael Koch <konqueror@gmx.de>
5359 * javax/swing/DefaultButtonModel.java
5360 (changeState): Made private.
5361 * javax/swing/DefaultDesktopManager.java
5362 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5363 * javax/swing/JLayeredPane.java
5364 (layerToRange): Made private.
5365 (incrLayer): Likewise.
5366 (decrLayer): Likewise.
5367 * javax/swing/JTable.java
5368 (dragEnabled): Likewise.
5369 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5370 * javax/swing/KeyStroke.java
5371 (Keystroke): Made private.
5372 * javax/swing/TransferHandler.java
5373 (COMMAND_COPY): Likewise.
5374 (COMMAND_CUT): Likewise.
5375 (COMMAND_PASTE): Likewise.
5377 2005-02-15 Michael Koch <konqueror@gmx.de>
5379 * javax/swing/JTextField.java
5380 (postActionEvent): Use text in field when actionCommand is null.
5381 (getActionCommand): Removed.
5383 2005-02-15 Michael Koch <konqueror@gmx.de>
5385 * javax/swing/AbstractSet.java: Removed.
5386 * Makefile.am: Removed javax/swing/AbstractSet.java.
5387 * Makefile.in: Regenerated.
5389 2005-02-15 Michael Koch <konqueror@gmx.de>
5391 * java/awt/Window.java
5392 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5393 * java/awt/dnd/DnDConstants.java
5394 (DnDConstants): New private constructor.
5396 2005-02-15 Michael Koch <konqueror@gmx.de>
5398 * javax/swing/DefaultCellRenderer.java: Removed.
5399 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5400 * Makefile.in: Regenerated.
5402 2005-02-15 Michael Koch <konqueror@gmx.de>
5404 * javax/swing/AbstractButton.java
5405 (fireItemStateChanged): Made protected.
5406 (fireActionPerformed): Likewise.
5407 (fireStateChanged): Likewise.
5408 * javax/swing/DefaultButtonModel.java
5409 (fireItemStateChanged): Likewise.
5410 (fireActionPerformed): Likewise.
5411 (fireStateChanged): Likewise.
5412 * javax/swing/JApplet.java
5414 (frameInit): Likewise.
5415 (setRootPane): Made protected.
5416 (createRootPane): Likewise.
5417 * javax/swing/JComponent.java
5418 (getClientProperty): Likewise.
5419 (putClientProperty): Likewise.
5420 * javax/swing/JEditorPane.java
5421 (getContentType): Likewise.
5422 (setContentType): Likewise.
5423 * javax/swing/JFrame.java
5424 (setRootPane): Likewise.
5425 (createRootPane): Likewise.
5426 * javax/swing/JInternalFrame.java
5427 (getFocusCycleRootAncestor): Made final. Added @since tag.
5428 (isFocusCycleRoot): Likewise.
5429 (getWarningString): Made final.
5430 * javax/swing/JScrollBar.java
5431 (changeListener): Removed.
5432 (changeEvent): Likewise.
5433 (createChangeListener): Likewise.
5434 (fireStateChanged): Likewise.
5435 (addChangeListener): Likewise.
5436 (removeChangeListener): Likewise.
5437 (getChangeListeners): Likewise.
5438 * javax/swing/JScrollPane.java
5439 (createViewport): Made protected.
5440 * javax/swing/JViewport.java
5441 (addImpl): Likewise.
5442 (setBorder): New method.
5443 * javax/swing/JWindow.java
5444 (setRootPane): Made protected.
5445 (createRootPane): Likewise.
5446 * javax/swing/plaf/basic/BasicButtonUI.java
5447 (installListeners): Likewise.
5448 (uninstallListeners): Likewise.
5449 * javax/swing/plaf/basic/BasicProgressBarUI.java
5450 (incrementAnimationIndex): Likewise.
5451 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5452 (createLayoutManager): Likewise.
5453 * javax/swing/table/DefaultTableCellRenderer.java
5454 (firePropertyChange): Likewise.
5455 * javax/swing/table/JTableHeader.java
5456 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5458 * javax/swing/text/PlainDocument.java
5459 (reindex): Made private.
5460 * javax/swing/text/PlainView.java
5461 (drawLine): Made protected.
5462 (getTabSize): Likewise.
5463 * javax/swing/text/View.java
5465 (preferenceChanged): New method.
5466 (getBreakWeight): Likewise.
5467 (breakView): Likewise.
5468 (getViewIndex): Likewise.
5470 2005-02-15 Michael Koch <konqueror@gmx.de>
5472 * javax/swing/JScrollPane.java
5473 (ScrollBar): Made class protected.
5474 * javax/swing/JSpinner.java
5475 (JSpinner): Added @since tag.
5476 (listenerList): Removed.
5477 * javax/swing/JTable.java
5478 (setValueAt): New method.
5479 (getColumn): Likewise.
5480 * javax/swing/JWindow.java
5481 (rootPaneCheckingEnabled): Renamed from checking.
5483 2005-02-15 Michael Koch <konqueror@gmx.de>
5485 * javax/swing/plaf/basic/BasicTextUI.java
5486 (RootView.modelToView): Made it public and return a java.awt.Shape.
5487 Handle null subview.
5488 (uninstall): Set textComponent to null when its not possible used
5490 * javax/swing/text/View.java
5491 (setParent): Use better argument name.
5492 (getContainer): Get parent via getParent().
5493 (getViewFactory): Likewise.
5494 (getAttributes): Get element via getElement().
5495 (getStartOffset): Likewise.
5496 (getEndOffset): Likewise.
5497 (getResizeWeight): New method.
5498 (getMaximumSpan): Likewise.
5499 (getMinimumSpan): Likewise.
5500 (setSize): Likewise.
5501 (getGraphics): Likewise.
5503 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5505 * java/awt/Checkbox.java:
5506 (AccessibleAWTCheckbox()): Added public constructor
5508 * java/awt/Choice.java:
5509 (AccessibleAWTChoice): Added class documentation.
5510 (AccessibleAWTChoice()): Added public constructor
5512 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5513 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5514 and changed role to COMBO_BOX.
5515 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5516 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5517 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5519 2005-02-15 Graydon Hoare <graydon@redhat.com>
5520 Michael Koch <konqueror@gmx.de>
5522 * javax/swing/LayoutFocusTraversalPolicy.java,
5523 javax/swing/SortingFocusTraversalPolicy.java:
5525 * Makefile.am: Added new classes.
5526 * Makefike.in: Regenerated.
5529 2005-02-15 Michael Koch <konqueror@gmx.de>
5531 * javax/swing/DebugGraphics.java: Mostly implemented.
5533 2005-02-15 Michael Koch <konqueror@gmx.de>
5535 * javax/swing/SwingUtilities.java
5536 (findFocusOwner): New method.
5538 2005-02-15 Michael Koch <konqueror@gmx.de>
5540 * javax/swing/text/DefaultEditorKit.java
5541 (read): Added '\n' after each line.
5542 * javax/swing/text/PlainView.java
5543 (modelToView): Update metrics.
5544 (drawLine): Use offsets from element.
5545 (paint): Update metrics. Draw all lines.
5547 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5549 * java/awt/Checkbox.java:
5550 (AccessibleAWTCheckbox): Added class documentation
5551 * java/awt/Scrollbar.java:
5552 (AccessibleAWTScrollBar): typo corrected and docs added
5553 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5554 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5555 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5556 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5557 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5558 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5559 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5560 (getAccessibleContext()): name of accessible class corrected
5562 2005-02-15 Mark Wielaard <mark@klomp.org>
5564 * java/awt/BasicStroke.java (hashCode): Implement.
5567 2005-02-15 Michael Koch <konqueror@gmx.de>
5569 * java/awt/print/PrinterJob.java
5570 (pageDialog): Throws java.awt.HeadlessException.
5571 (printDialog): Likewise.
5573 2005-02-15 Mark Wielaard <mark@klomp.org>
5575 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5577 2005-02-15 Michael Koch <konqueror@gmx.de>
5579 * javax/swing/JTable.java
5580 (getValueAt): New method.
5581 * javax/swing/table/JTableHeader.java
5582 (columnAtPoint): New method.
5584 2005-02-15 Michael Koch <konqueror@gmx.de>
5586 * javax/swing/JTextField.java
5587 (actions): New field.
5588 (static): Initalize actions field.
5589 (getActions): New method.
5591 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5593 * java/awt/Checkbox.java:
5594 (AccessibleAWTCheckbox): name capitalization corrected
5595 and serialization UID added.
5596 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5598 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5599 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5600 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5601 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5602 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5603 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5604 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5605 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5606 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5607 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5608 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5610 (getAccessibleContext()): name of accessible class corrected
5612 2005-02-15 Sven de Marothy <sven@physto.se>
5614 * java/awt/geom/doc-files/Area-1.png,
5615 java/awt/geom/doc-files/Ellipse-1.png,
5616 java/awt/geom/doc-files/GeneralPath-1.png:
5619 2005-02-15 Graydon Hoare <graydon@redhat.com>
5621 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5622 Use union to avoid type-punning warning.
5624 2005-02-15 Michael Koch <konqueror@gmx.de>
5626 * javax/swing/DefaultListSelectionModel.java
5627 (clone): New method.
5629 2005-02-15 Mark Wielaard <mark@klomp.org>
5631 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5632 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5633 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5634 Correct method signature of gtkSetFilename.
5636 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5638 * javax/swing/text/StringContent.java: New file.
5640 2005-02-15 Michael Koch <konqueror@gmx.de>
5642 * Makefile.am: Added javax/swing/text/StringContent.java.
5643 * Makefile.in: Regenerated.
5645 2005-02-15 Michael Koch <konqueror@gmx.de>
5647 * gnu/java/awt/ClasspathToolkit.java:
5648 Import statements reworked.
5649 (imageCache): Made it of type java.util.HashMap.
5651 2005-02-15 Michael Koch <konqueror@gmx.de>
5653 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5654 Reworked import statements.
5656 2005-02-15 Graydon Hoare <graydon@redhat.com>
5658 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5659 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5660 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5661 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5662 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5663 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5665 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5667 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5668 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5670 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5671 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5673 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5674 Rewrite uses of extern variable to be function calls.
5675 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5676 function, from extern variable.
5677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5678 (gdk_env): Remove variable, add new function.
5679 (java_vm): Add new variable.
5680 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5681 java_vm rather than old gdk_env variable.
5683 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5685 * javax/swing/DefaultListModel.java
5686 (add): fire correct event,
5687 (addElement): corrected interval indices in event,
5688 (clear): corrected upper bound for interval, only fire event if
5690 (setSize): fire appropriate event.
5692 2005-02-15 Graydon Hoare <graydon@redhat.com>
5694 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5695 * gnu/awt/xlib/XToolkit.java: Likewise.
5696 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5697 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5698 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5699 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5700 * java/awt/EventQueue.java (getNextEvent):
5701 Adjust event loop to switch to native mode after 100ms.
5702 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5704 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5705 Wake up event thread.
5706 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5707 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5708 Adjust event loop to switch to java mode after 100ms.
5710 2005-02-15 Graydon Hoare <graydon@redhat.com>
5712 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5713 accidentally removed in last change.
5715 2005-02-15 Michael Koch <konqueror@gmx.de>
5717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5718 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5720 2005-02-15 Graydon Hoare <graydon@redhat.com>
5722 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5723 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5724 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5725 * jni.cc: Reuse bottom frame between calls, avoid clearing
5726 frame when no local references are made.
5728 2005-02-15 Michael Koch <konqueror@gmx.de>
5730 * javax/swing/UIDefaults.java (UIDefaults):
5731 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5732 Fixed HTML entity and removed a redundant comma.
5734 2005-02-15 Michael Koch <konqueror@gmx.de>
5736 * javax/swing/text/DefaultEditorKit.java
5737 (deinstall): Removed.
5738 (install): Likewise.
5740 2005-02-15 Michael Koch <konqueror@gmx.de>
5742 * javax/swing/UIDefaults.java (put): Handle value of null.
5744 2005-02-15 Michael Koch <konqueror@gmx.de>
5746 * java/awt/Robot.java,
5747 java/awt/Scrollbar.java,
5748 java/awt/print/PrinterJob.java,
5749 javax/swing/JTable.java,
5750 javax/swing/text/AbstractDocument.java:
5751 Reworked import statements.
5753 2005-02-15 Michael Koch <konqueror@gmx.de>
5755 * javax/swing/JEditorPane.java
5756 (read): Implemented.
5758 * javax/swing/text/DefaultEditorKit.java
5759 (page): Renamed from page_url. Made private.
5760 (editorKit): Renamed from kit. Made private.
5762 (JEditorPane): All constructors reimplemented.
5763 (getContentType): Use content type from editor kit.
5764 (getEditorKit): Return editorKit.
5765 (getEditorKitForContentType):Likewise.
5766 (getPage): Return page.
5767 (setContentType): Reimplemented.
5768 (setEditorKit): Likewise.
5769 (setEditorKitForContentType): Removed wrong implementation.
5770 (setPage): Implemented.
5772 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5775 (nativeSetIconImageFromData): Re-add native implementation.
5777 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5779 * javax/swing/table/DefaultTableModel.java
5780 (DefaultTableModel()): Added Javadocs.
5781 (DefaultTableModel(int, int)): Fixed implementation.
5782 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5783 for negative rowCount.
5784 (DefaultTableModel(Object[], int)): Added Javadocs.
5785 (DefaultTableModel(Vector, Vector)): Likewise.
5786 (DefaultTableModel(Object[][], Object[])): Likewise.
5787 (getDataVector): Likewise.
5788 (setDataVector(Vector, Vector)): Likewise.
5789 (setDataVector(Object[][], Object[])): Likewise.
5790 (newDataAvailable): Likewise.
5791 (newRowsAdded): Likewise.
5792 (rowsRemoved): Likewise.
5793 (setColumnIdentifiers(Vector)): Allow for null argument.
5794 (setColumnIdentifiers(Object[])): Added Javadocs.
5795 (setNumRows): Likewise.
5796 (setRowCount): Adds new rows if necessary, and sends more specific
5798 (setColumnCount): Allow for null columnIdentifiers.
5799 (addColumn(Object)): Added Javadocs.
5800 (addColumn(Object, Vector)): Handle null columnData.
5801 (addColumn(Object, Object[])): Handle columnData with more or less
5802 entries than rows in the table.
5803 (addRow(Vector)): Fire appropriate event.
5804 (addRow(Object[])): Added Javadocs.
5805 (insertRow(int, Vector)): Fire appropriate event.
5806 (insertRow(int, Object[])): Added Javadocs.
5807 (moveRow): Reimplemented.
5808 (removeRow(int)): Fire appropriate event.
5809 (getColumnCount): Allow for null columnIdentifiers.
5810 (getColumnName): Now returns empty string when column index is too
5812 (isCellEditable): Added Javadocs.
5813 (getValueAt): Likewise.
5814 (setValueAt): Fire more specific event.
5815 (convertToVector): Added Javadocs.
5816 * javax/swing/table/TableModel.java
5819 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5821 * libgcj.spec.in (lib): Add -l-javax-imageio.
5823 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5825 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5826 references to event queue q with method call q().
5827 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5828 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5829 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5830 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5831 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5832 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5835 2005-02-15 Graydon Hoare <graydon@redhat.com>
5837 * gnu/java/awt/ClasspathToolkit.java
5838 (registerImageIOSpis): New method.
5839 * gnu/java/awt/image/ImageDecoder.java
5840 (imageDecoder): New constructor using InputStream
5841 (startProduction): Handle existing InputStream.
5842 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5843 (findSimpleIntegerArray): Make public and static.
5844 (updateBufferedImage): Set each pixel, in a loop.
5845 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5846 Implement ImageIO SPI classes.
5847 (createBufferedImage): Rewrite in terms of SPI classes.
5848 * gnu/java/awt/peer/gtk/GtkToolkit.java
5849 (registerImageIOSpis): New method.
5850 * java/lang/reflect/natMethod.cc
5851 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5852 which lets JNI call interface methods properly.
5853 * javax/imageio/ImageIO.java
5854 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5855 (WriterMIMETypeFilter.filter): Likewise.
5856 (ImageReaderIterator): Pass extension argument through to SPI.
5857 (getReadersByFilter): Likewise.
5858 (getWritersByFilter): Likewise.
5859 (getImageReadersByFormatName): Likewise.
5860 (getImageReadersByMIMEType): Likewise.
5861 (getImageReadersBySuffix): Likewise.
5862 (getImageWritersByFormatName): Likewise.
5863 (getImageWritersByMIMEType): Likewise.
5864 (getImageWritersBySuffix): Likewise.
5867 * javax/imageio/ImageReader.java
5868 (progressListeners): Initialize.
5869 (setInput): Implement.
5870 * javax/imageio/ImageWriter.java
5871 (progressListeners): Initialize.
5872 (warningListeners): Likewise.
5873 (warningLocales): Likewise.
5874 (setOutput): Test "isInstance" rather than class equality.
5875 * javax/imageio/spi/IIORegistry.java
5876 (static): Add reader and writer SPIs.
5877 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5878 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5879 (query_formats): New function.
5880 (save_to_stream): Likewise.
5881 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5883 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5885 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5887 (keyPress): Likewise.
5888 (keyRelease): Likewise.
5890 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5892 * javax/swing/JTable.java
5893 (columnAtPoint): New Method. Implemented.
5894 (rowAtPoint): Likewise.
5895 (countSelections): Fixed few small count errors.
5896 (getSelections): Likewise.
5897 (setSelectionMode): Set selection mode for column
5898 selection model in addition to row selection model.
5899 * javax/swing/plaf/basic/BasicTableUI.java:
5900 (getRowForPoint): Removed. Replaced by
5901 JTable.rowAtPoint().
5902 (getColForPoint): Removed. Replaced by
5903 JTable.columnAtPoint().
5904 (updateSelection): Updated to call JTable.columnAtPoint
5905 and JTable.rowAtPoint.
5906 * javax/swing/table/DefaultTableColumnModel.java:
5907 (getSelectedColumns): Implemented.
5908 (getSelectedColumnCount): Implemented.
5910 2005-02-15 Graydon Hoare <graydon@redhat.com>
5913 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5914 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5915 * Makefile.in: Regenerate.
5916 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5917 * gnu/awt/xlib/XFramePeer.java: Likewise.
5918 * gnu/awt/xlib/XToolkit.java: Likewise.
5919 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5920 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5921 * gnu/java/awt/ClasspathToolkit.java
5924 (iterateNativeQueue): New methods.
5925 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5926 * gnu/java/awt/peer/gtk/GtkToolkit.java
5927 (gtkInit): Absorb from defunct GtkMainThread class.
5928 (static): Run gtkInit in static startup block.
5929 (GtkToolkit): Remove construction of GtkMainThread and queue.
5930 (getSystemEventQueueImpl): Construct queue when requested.
5933 (iterateNativeQueue): New methods.
5934 * java/awt/Component.java (removeNotify): Remove race.
5935 * java/awt/EventDispatchThread.java
5936 (EventDispatchThread): Don't start on construction.
5937 (run): Remove isInterrupted check.
5938 * java/awt/EventQueue.java (shutdown): New flag.
5939 (isShutdown): New method checking J2SE shutdown condition.
5940 (setShutdown): New method.
5941 (getNextEvent): Restructure to use ClasspathToolkit.
5942 (postEvent): Activate new thread on posting, wake thread on
5943 post of possible shutdown condition event.
5944 * java/awt/Frame.java
5945 (Frame): Call noteFrame in all constructors.
5946 (fireDummyEvent): New helper method.
5947 (addNotify): Fire a dummy event to wake up queue.
5948 (removeNotify): Fire a dummy event to wake up queue.
5949 (noteFrame): New method.
5950 (weakFrames): New static field.
5951 (getFrames): Implement.
5952 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5954 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5955 Move everything from GtkMainThread into this file
5956 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5957 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5958 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5959 New functions to implement single-threaded queue semantics.
5961 2005-02-15 Michael Koch <konqueror@gmx.de>
5963 * javax/swing/plaf/metal/MetalLookAndFeel.java
5964 (getControlTextFont): New method.
5965 (getMenuTextFont): Likewise.
5966 (getSubTextFont): Likewise.
5967 (getSystemTextFont): Likewise.
5968 (getUserTextFont): Likewise.
5969 (getWindowTitleFont): Likewise.
5971 2005-02-15 Michael Koch <konqueror@gmx.de>
5973 * javax/swing/text/AbstractDocument.java
5974 (documentFilter): New field.
5975 (getDocumentFilter): New method.
5976 (setDocumentFilter): Likewise.
5979 2005-02-15 Michael Koch <konqueror@gmx.de>
5981 * javax/swing/JTree.java
5982 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5984 2005-02-15 Michael Koch <konqueror@gmx.de>
5986 * javax/swing/text/AbstractDocument.java
5987 (AbstractElement.getLength): Fixed off-by-one error.
5988 (AbstractElement.children): Made abstract.
5989 (AbstractElement.getAllowsChildren): Likewise.
5990 (AbstractElement.getElement): Likewise.
5991 (AbstractElement.dumpElement): New private method.
5992 (AbstractElement.dump): New method.
5993 (BranchElememt.getName): Fixed implementation.
5994 (BranchElememt.toString): Likewise.
5995 (BranchElememt.getElement): Fixed arguments.
5996 (LeafElement.getName): Fixed implementation.
5997 (LeafElement.toString): Likewise.
5998 * javax/swing/text/GapContent.java
5999 (GapContent): Put default content into buffer.
6000 * javax/swing/text/PlainDocument.java
6001 (reindex): Use empty attribute sets instead of null.
6002 (createDefaultRoot): Reimplemented.
6003 (insertUpdate): Call super method.
6004 (removeUpdate): Likewise.
6005 (getParagraphElement): Implemented.
6007 2005-02-15 Michael Koch <konqueror@gmx.de>
6009 * gnu/java/awt/ClasspathToolkit.java
6010 (createRobot): Throws java.awt.AWTException.
6011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6012 Added '__attribute__((unused))' to all unused method arguments.
6014 2005-02-15 Michael Koch <konqueror@gmx.de>
6016 * javax/swing/DefaultBoundedRangeModel.java
6017 (fireValueChanged): Fixed off-by-one error.
6019 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6021 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6022 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6024 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6025 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6026 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6027 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6028 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6029 (getDefaultScreenDevice): Implement.
6030 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6031 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6032 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6033 * java/awt/Robot.java: Implement.
6034 * java/awt/peer/RobotPeer.java: Rename parameters.
6035 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6036 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6037 (awt_keycode_to_keysym): Make non-static.
6038 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6039 AWT_BUTTON3_MASK): Declare constants.
6040 (awt_keycode_to_keysym): Declare.
6042 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6043 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6044 and is non-empty pass its value to "make check".
6045 (test_mauve_sim): Likewise.
6047 2005-02-15 Michael Koch <konqueror@gmx.de>
6049 * javax/imageio/IIOParam.java
6050 (setSourceBands): New method.
6051 (setSourceSubsampling): Likewise.
6052 * javax/imageio/ImageReadParam.java
6053 (setDestination): Likewise.
6054 (setDestinationBands): Likewise.
6055 (setSourceProgressivePasses): Likewise.
6056 * javax/imageio/metadata/IIOInvalidTreeException.java
6057 (serialVersionUID): New static field.
6058 * javax/imageio/metadata/IIOMetadataNode.java
6059 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6060 (parent): Dont initailize with default value explicitely.
6062 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6063 (removeAttributeNode): Likewise.
6064 (removeAttributeNS): Likewise.
6065 (setAttribute): Likewise.
6066 (setAttributeNode): Likewise.
6067 (setAttributeNodeNS): Likewise.
6068 (setAttributeNS): Likewise.
6069 (appendChild): Likewise.
6070 (getNodeValue): Likewise.
6071 (insertBefore): Likewise.
6072 (removeChild): Likewise.
6073 (replaceChild): Likewise.
6074 (setPrefix): Likewise.
6076 2005-02-15 Michael Koch <konqueror@gmx.de>
6078 * javax/swing/LookAndFeel.java
6079 (getDesktopPropertyValue): New method.
6081 2005-02-15 Michael Koch <konqueror@gmx.de>
6083 * javax/swing/JTree.java
6084 (hasChildren): New instance field.
6086 2005-02-15 Michael Koch <konqueror@gmx.de>
6088 * javax/swing/JComponent.java
6089 (getToolTipText): New method.
6090 (getTitledBorderText): Likewise.
6091 (getAccessibleKeyBinding): Likewise.
6092 (getVerifyInputWhenFocusTarget): Likewise.
6093 (setVerifyInputWhenFocusTarget): Likewise.
6094 (verifyInputWhenFocusTarget): New instance field.
6096 2005-02-15 Michael Koch <konqueror@gmx.de>
6098 * javax/swing/DefaultListSelectionModel.java
6099 (fireValueChanged): New method.
6101 2005-02-15 Michael Koch <konqueror@gmx.de>
6103 * javax/swing/DefaultBoundedRangeModel.java:
6104 Fixed javadocs all over.
6105 (fireStateChanged): Simplified.
6106 * javax/swing/BoundedRangeModel.java:
6109 2005-02-15 Michael Koch <konqueror@gmx.de>
6111 * javax/swing/JRootPane.java
6112 (setMenuBar): Added @deprecated tag.
6113 (getMenuBar): Likewise.
6114 * javax/swing/JTable.java
6115 (sizeColumnsToFit): Likewise.
6117 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6119 * javax/swing/ImageIcon.java (setImage): Implemented.
6121 2005-02-15 Michael Koch <konqueror@gmx.de>
6123 * javax/swing/JTable.java:
6124 Removed unused imports.
6126 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6128 (prepareRenderer): Get column's index in dataModel instead
6129 of column's view index.
6130 (getColumnCount): return count of the columns in ColumnModel,
6132 (removeColumn): Implemented.
6133 (moveColumm): Likewise.
6134 (setRowHeight): throw IllegalArgumentException if height is
6136 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6137 (DefaultTableColumnModel):Add call to createSelectionModel().
6138 (addColumn): Fire columnAdded event to registered listeners.
6139 (removeColumn): Fire columnRemoved event to registered listeners.
6140 (moveColumn): Fire columnMoved event to registered listeners.
6141 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6142 (getColumnIndex): Changed parameter name.
6143 (setColumnSelectionAllowed): Likewise.
6144 (fireColumnAdded): Implemented.
6145 (fireColumnRemoved): Likewise.
6146 (fireColumnMoved): Likewise.
6147 (fireColumnMarginChanged): Likewise.
6148 (getListeners): Changed parameter name.
6149 (propertyChange): Implemented.
6150 (valueChanged): Changed parameter name.
6151 (createSelectionModel): Implemented.
6153 2005-02-15 Michael Koch <konqueror@gmx.de>
6155 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6156 Explicitely import used classes.
6157 (getLocalGraphicsEnvironment): Simplify.
6158 * java/awt/Window.java (Window):
6159 Enable code to get the default GraphicsConfiguration.
6161 2005-02-15 Michael Koch <konqueror@gmx.de>
6163 * javax/swing/plaf/metal/DefaultMetalTheme.java
6164 (CONTROL_TEXT_FONT): New static field.
6165 (MENU_TEXT_FONT): Likewise.
6166 (SUB_TEXT_FONT): Likewise.
6167 (SYSTEM_TEXT_FONT): Likewise.
6168 (USER_TEXT_FONT): Likewise.
6169 (WINDOW_TITLE_FONT): Likewise.
6170 (getControlTextFont): New method.
6171 (getMenuTextFont): Likewise.
6172 (getSubTextFont): Likewise.
6173 (getSystemTextFont): Likewise.
6174 (getUserTextFont): Likewise.
6175 (getWindowTitleFont): Likewise.
6176 * javax/swing/plaf/metal/MetalTheme.java
6177 (BLACK): Initialize with Color.BLACK.
6178 (WHITE): Initialize with Color.WHITE.
6179 (getInactiveControlTextColor): Return getControlDisabled().
6180 (getMenuDisabledForeground): Return getSecondary3().
6181 (getControlTextFont): New abstract method.
6182 (getMenuTextFont): Likewise.
6183 (getSubTextFont): Likewise.
6184 (getSystemTextFont): Likewise.
6185 (getUserTextFont): Likewise.
6186 (getWindowTitleFont): Likewise.
6188 2005-02-15 Michael Koch <konqueror@gmx.de>
6190 * javax/swing/JFormattedTextField.java
6191 (getFocusLostBehavior): Fixed typo in method name.
6192 (setFocusLostBehavior): Likewise.
6194 2005-02-15 Michael Koch <konqueror@gmx.de>
6196 * javax/swing/TransferHandler.java:
6197 Reworked import statements.
6199 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6201 * java/awt/Button.java,
6202 java/awt/Canvas.java,
6203 java/awt/Checkbox.java,
6204 java/awt/CheckboxMenuItem.java,
6205 java/awt/Choice.java,
6206 java/awt/Dialog.java,
6207 java/awt/Frame.java,
6208 java/awt/Label.java,
6211 java/awt/MenuBar.java,
6212 java/awt/MenuItem.java,
6213 java/awt/PopupMenu.java,
6214 java/awt/ScrollPane.java,
6215 java/awt/Scrollbar.java,
6216 java/awt/TextArea.java,
6217 java/awt/Window.java (getAccessibleContext): Clean up comments.
6219 * java/awt/Button.java,
6220 java/awt/Checkbox.java,
6221 java/awt/Choice.java,
6223 java/awt/PopupMenu.java,
6224 java/awt/TextArea.java (getAccessibleContext): Only create new
6226 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6228 2005-02-15 Michael Koch <konqueror@gmx.de>
6230 * java/awt/Button.java,
6231 javax/swing/JApplet.java,
6232 javax/swing/JFormattedTextField.java,
6233 javax/swing/JWindow.java,
6234 javax/swing/JTree.java,
6235 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6236 javax/swing/plaf/basic/BasicTextPaneUI.java,
6237 javax/swing/plaf/basic/BasicTreeUI.java:
6238 Reworked import statements.
6240 2005-02-15 Michael Koch <konqueror@gmx.de>
6242 * Makefile.am: Put javax.imageio into its own library and link it
6243 against lib-org-w3c-dom.la to fix bootstrapping.
6244 * Makefile.in: Regenerated.
6246 2005-02-15 Michael Koch <konqueror@gmx.de>
6248 * javax/swing/text/TextAction.java
6249 (getTextComponent): Simplified. Added Javadoc.
6250 (augmentList): Implemented. Added Javadoc.
6251 (getFocusedComponent): Added javadoc.
6253 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6255 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6256 getAccessibleContext): Implement.
6257 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6258 getAccessibleContext): Implement.
6260 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6262 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6264 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6266 * java/awt/Window.java (getAccessibleContext): Fix comment.
6267 Remove extra import.
6269 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6271 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6272 (isActive, isFocused, getAccessibleContext): Implement.
6274 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6276 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6277 * java/awt/MenuComponent.java (accessibleContext): Make package
6279 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6280 AccessibleAWTCheckboxMenuItem): Implement.
6282 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6284 * java/awt/List.java: Implement AccessibleAWTList,
6285 AccessibleAWTListChild.
6287 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6289 * java/awt/Choice.java: Add implements declaration for
6292 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6294 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6297 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6299 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6300 implemented interface list.
6302 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6304 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6305 * javax/imageio/metadata/IIOAttr.java: New class.
6306 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6307 * javax/imageio/metadata/IIONodeList.java: New class.
6308 * Makefile.am: Added new files.
6309 * Makefile.in: Regenerated.
6311 2005-02-15 Michael Koch <konqueror@gmx.de>
6313 * javax/swing/AbstractAction.java,
6314 javax/swing/AbstractCellEditor.java,
6315 javax/swing/AbstractListModel.java,
6316 javax/swing/DefaultBoundedRangeModel.java,
6317 javax/swing/DefaultButtonModel.java,
6318 javax/swing/DefaultCellEditor.java,
6319 javax/swing/DefaultComboBoxModel.java,
6320 javax/swing/DefaultDesktopManager.java,
6321 javax/swing/JMenu.java,
6322 javax/swing/JSlider.java,
6323 javax/swing/KeyStroke.java,
6324 javax/swing/OverlayLayout.java,
6325 javax/swing/ScrollPaneLayout.java,
6326 javax/swing/SizeRequirements.java,
6327 javax/swing/ViewportLayout.java:
6328 Made serialVersionUID private.
6330 2005-02-15 Michael Koch <konqueror@gmx.de>
6332 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6335 2005-02-15 Michael Koch <konqueror@gmx.de>
6337 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6339 2005-02-15 Michael Koch <konqueror@gmx.de>
6341 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6343 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6345 * java/awt/EventDispatchThread.java,
6346 java/awt/Toolkit.java:
6347 Don't catch java.lang.ThreadDeath.
6349 2005-02-15 Michael Koch <konqueror@gmx.de>
6351 * javax/swing/text/PasswordView.java
6352 (drawEchoCharacter): Added javadoc.
6353 (drawSelectedText): Likewise.
6354 (drawUnselectedText): Likewise.
6356 2005-02-15 Michael Koch <konqueror@gmx.de>
6358 * javax/swing/JRootPane.java
6359 (windowDecorationStyle): New field.
6360 (setMenuBar): New method.
6361 (getMenuBar): Likewise.
6362 (getWindowDecorationStyle): Likewise.
6363 (setWindowDecorationStyle): Likewise.
6365 2005-02-15 Michael Koch <konqueror@gmx.de>
6367 * javax/swing/DefaultListSelectionModel.java
6368 (leadAnchorNotificationEnabled): Made protected.
6370 2005-02-15 Michael Koch <konqueror@gmx.de>
6372 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6373 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6374 * Makefile.in: Regenerated.
6377 2005-02-15 Michael Koch <konqueror@gmx.de>
6379 * javax/swing/JFormattedTextField.java: Implemented.
6380 * javax/swing/JWindow.java
6381 (JWindow): New constructors.
6382 (initWindow): Renamed from initFrame.
6383 * javax/swing/UIDefaults.java
6384 (ActiveValue): Made interface static.
6385 (LazyValue): Likewise.
6386 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6387 (TitlePaneLayout.TitlePaneLayout): New constructor.
6388 * javax/swing/plaf/basic/BasicSliderUI.java
6389 (ChangeHandler): Made public.
6390 (FocusHandler): Likewise.
6391 (PropertyChangeHandler): Likewise.
6392 (ScrollListener): Likewise.
6393 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6394 (FocusHandler): Likewise.
6395 (MouseHandler): Likewise.
6396 * javax/swing/plaf/basic/BasicTextPaneUI.java
6397 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6398 * javax/swing/plaf/basic/BasicToolBarUI.java
6399 (BasicToolBarUI): Simplified. Reworked javadoc.
6400 (canDock): Simplified. Make public.
6401 (DockingListener): Made public.
6402 * javax/swing/text/JTextComponent.java
6403 (navigationFilter): New field.
6404 (getNavigationFilter): New method.
6405 (setNavigationFilter): Likewise.
6407 2005-02-15 Michael Koch <konqueror@gmx.de>
6409 * javax/swing/plaf/metal/MetalTheme.java
6410 (getControlTextColor): Return getControlInfo().
6411 (getHighlightedTextColor): Return getControlTextColor().
6413 2005-02-15 Michael Koch <konqueror@gmx.de>
6415 * javax/swing/plaf/basic/BasicButtonListener.java
6416 (BasicButtonListener): New constructor.
6417 * javax/swing/plaf/basic/BasicButtonUI.java
6418 (createButtonListener): Usw new BasicButtonListener constructor.
6420 2005-02-15 Michael Koch <konqueror@gmx.de>
6422 * javax/imageio/event/package.html,
6423 javax/imageio/metadata/package.html: New files.
6425 2005-02-15 Michael Koch <konqueror@gmx.de>
6427 * java/awt/image/MemoryImageSource.java: Reformatted.
6429 2005-02-15 Michael Koch <konqueror@gmx.de>
6431 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6433 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6435 * java/awt/color/ICC_Profile.java
6436 (finalize): Removed pointless field assignments.
6438 2005-02-15 Michael Koch <konqueror@gmx.de>
6440 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6441 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6442 * Makefile.in: Regenerated.
6444 2005-02-15 Michael Koch <konqueror@gmx.de>
6446 * javax/swing/text/DefaultStyledDocument.java: New file.
6447 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6448 * Makefile.in: Regenerated.
6450 2005-02-15 Michael Koch <konqueror@gmx.de>
6452 * javax/swing/JFileChooser.java
6453 (showDialog): Return CANCEL_OPTION for now.
6454 (showOpenDialog): Likewise.
6455 (showSaveDialog): Likewise.
6457 2005-02-15 Michael Koch <konqueror@gmx.de>
6459 * javax/swing/JApplet.java
6460 (HIDE_ON_CLOSE): Removed.
6461 (EXIT_ON_CLOSE): Likewise.
6462 (DISPOSE_ON_CLOSE): Likewise.
6463 (DO_NOTHING_ON_CLOSE): Likewise.
6464 (close_action): Likewise.
6465 (getDefaultCloseOperation): Likewise.
6466 (setDefaultCloseOperation): Likewise.
6467 (processWindowEvent): Likewise.
6468 (getPreferredSize): Simplified.
6469 * javax/swing/JInternalFrame.java
6470 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6472 * javax/swing/JWindow.java
6473 (HIDE_ON_CLOSE): Removed.
6474 (EXIT_ON_CLOSE): Likewise.
6475 (DISPOSE_ON_CLOSE): Likewise.
6476 (DO_NOTHING_ON_CLOSE): Likewise.
6477 (close_action): Likewise.
6478 (processKeyEvent): Likewise.
6479 (setDefaultCloseOperation): Likewise.
6480 (getPreferredSize): Simplified.
6482 2005-02-15 Michael Koch <konqueror@gmx.de>
6484 * javax/swing/JTextField.java
6485 (getPreferredSize): Re-implemented.
6487 2005-02-15 Michael Koch <konqueror@gmx.de>
6489 * javax/swing/JLabel.java
6490 (setDisplayedMnemonic): Use only upper case characters.
6491 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6492 PropertyChangeEvent after property got set to the new index.
6494 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6496 * javax/swing/JComboBox.java:
6497 (JComboBox): Removed selection of the
6498 first item in the model.
6500 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6502 * javax/swing/JComboBox.java
6503 added support for no item being selected
6504 (JComboBox): select first or nothing depending on element count
6505 (setModel): cleaned up unneeded "this." usage, added more
6506 docs, made exception behavior match that of the JDK
6507 (setLighWeightPopupEnabled): removed unneeded "this." usage
6509 (setMaximumRowCount): dito
6511 (setPrototypeDisplayValue): dito
6512 (getSelectedItem): simplified, added more user doc
6513 (setSelectedIndex): corrected exception behavior, added more user doc
6514 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6515 added performance warning to user doc
6516 (addItem): fixed exception behavior, added user doc
6517 (insertItemAt): dito
6519 (removeItemAt): dito
6520 (removeAll): fixed exception behavior, added user doc, added support
6521 for model not being instance of DefaultComboBoxModel
6522 (getSelectedItemObjects): simplified
6523 (getItemCount): fixed dependency on DefaultComboBoxModel
6524 (getItemAt): fixed dependency on MutableComboBoxModel
6525 * javax/swing/DefaultComboBoxModel.java:
6526 (setSelectedItem): updates selected item only if new
6527 value is null or known (match JDK behavior)
6528 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6529 (paintCurrentValue): renders "" if no item is selected
6531 2005-02-15 Michael Koch <konqueror@gmx.de>
6533 * javax/swing/plaf/metal/MetalTheme.java,
6534 javax/swing/plaf/metal/DefaultMetalTheme.java:
6536 * javax/swing/plaf/metal/MetalLookAndFeel.java
6537 * Makefile.am: Added the new files.
6538 * Makefile.in: Regenerated.
6540 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6542 * javax/swing/JTable.java
6543 (editorComp): New field.
6544 (JTable): Initialize local variables and call updateUI
6545 (selectionBackground): Make protected.
6546 (selectionForeground): Likewise.
6547 (initializeLocalVars): Create default editors and renderers,
6548 initialize editingColumn, editingRow variables.
6549 (createDefaultEditors): New Method.
6550 (createDefaultRenderers): Likewise.
6551 (createDefaultListSelectionModel): Removed
6552 (createDefaultSelectionModel): New Method.
6553 (createDefaultTableHeader): Likewise
6554 (removeColumn): Likewise.
6555 (getEditingColumn): Likewise.
6556 (setEditingColumn): Likewise.
6557 (getEditingRow): Likewise.
6558 (setEditingRow): Likewise.
6559 (getEditorComponent): Likewise.
6560 (isEditing): Likewise.
6561 (setDefaultEditor): Likewise.
6562 (addColumnSelectionInterval): Likewise.
6563 (addRowSelectionInterval): Likewise.
6564 (setColumnSelectionInterval): Likewise.
6565 (setRowSelectionInterval): Likewise.
6566 (removeColumnSelectionInterval): Likewise.
6567 (removeRowSelectionInterval): Likewise.
6568 (isColumnSelected): Likewise.
6569 (isRowSelected): Likewise.
6570 (isCellSelected): Likewise.
6571 (selectAll): Likewise.
6573 2005-02-15 Michael Koch <konqueror@gmx.de>
6575 * javax/swing/JTable.java
6576 (addColumn): New method.
6577 (getColumnClass): Likewise.
6578 (getColumnName): Likewise.
6580 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6582 * javax/swing/TransferHandler.java
6583 (createTransferable): Made protected.
6585 2005-02-15 Michael Koch <konqueror@gmx.de>
6587 * javax/swing/JTable.java,
6588 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6589 javax/swing/plaf/basic/BasicTableUI.java:
6590 Use fixed get/setIntercellSpacing() methods.
6592 2005-02-15 Michael Koch <konqueror@gmx.de>
6594 * javax/swing/JTable.java
6595 (getIntercellSpacing): Fixed typo in method name.
6596 (setIntercellSpacing): Likewise.
6598 2005-02-15 Michael Koch <konqueror@gmx.de>
6600 * javax/swing/text/JTextComponent.java
6601 (focusAccelerator): New variable.
6602 (getFocusAccelerator): New method.
6603 (setFocusAccelerator): Likewise.
6605 2005-02-15 Michael Koch <konqueror@gmx.de>
6607 * javax/swing/JComponent.java
6608 (setTransferHandler): Made public. Fire property change event.
6609 * javax/swing/TransferHandler.java: Implemented.
6610 * javax/swing/text/JTextComponent.java
6611 (DefaultTransferHandler): New inner class.
6612 (defaultTransferHandler): New variable.
6616 (doTransferAction): Likewise.
6618 2005-02-15 Michael Koch <konqueror@gmx.de>
6620 * javax/swing/JTree.java
6621 (collapsePath): New method.
6622 (collapseRow): Likewise.
6623 (expandPath): Likewise.
6624 (expandRow): Likewise.
6625 (checkExpandParents): Likewise.
6626 (doExpandParents): Likewise.
6627 (setExpandedState): Likewise.
6628 (makeVisible): Likewise.
6630 2005-02-15 Michael Koch <konqueror@gmx.de>
6632 * javax/swing/JPasswordField.java: Updated javadocs.
6634 2005-02-15 Michael Koch <konqueror@gmx.de>
6636 * javax/swing/JLayeredPane.java
6637 (getLayer): Fixed return type, made public.
6638 (getPosition): Use new getLayer().
6639 (SetPosition): Likewise.
6640 (getIndexOf): Likewise.
6642 * javax/swing/JInternalFrame.java
6643 (getLayer): Use new JLayeredPane.getLayer().
6646 2005-02-15 Michael Koch <konqueror@gmx.de>
6648 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6649 (setHeaderValue): Simplified. Do nothing when old value == new value.
6651 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6653 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6654 against null clip region.
6655 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6656 gtkWindowSetResizable.
6657 (postConfigureEvent): Only revalidate if frame size has changed.
6658 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6659 Only revalidate if frame size has changed.
6660 * java/awt/Component.java (reshape): Only repaint and post
6661 component events if component is showing.
6662 * java/awt/Container.java (addImpl): Only post container event if
6663 container is showing.
6665 * java/awt/Window.java (setLocationRelativeTo): Implement.
6666 (setBoundsCallback): Only post component events if component is
6668 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6669 Protect against null graphics structure. Flush gdk event queue.
6671 2005-02-15 Michael Koch <konqueror@gmx.de>
6673 * javax/imageio/ImageReader.java,
6674 javax/imageio/ImageTranscoder.java,
6675 javax/imageio/ImageWriter.java,
6676 javax/imageio/spi/ImageInputStreamSpi.java,
6677 javax/imageio/spi/ImageOutputStreamSpi.java,
6678 javax/imageio/spi/ServiceRegistry.java,
6679 javax/imageio/stream/ImageInputStream.java,
6680 javax/imageio/stream/ImageOutputStream.java: Updated.
6681 * javax/imageio/IIOException.java,
6682 javax/imageio/IIOImage.java,
6683 javax/imageio/IIOParam.java,
6684 javax/imageio/IIOParamController.java,
6685 javax/imageio/ImageIO.java,
6686 javax/imageio/ImageReadParam.java,
6687 javax/imageio/ImageTypeSpecifier.java,
6688 javax/imageio/ImageWriteParam.java,
6689 javax/imageio/spi/IIORegistry.java,
6690 javax/imageio/spi/ImageReaderSpi.java,
6691 javax/imageio/spi/ImageWriterSpi.java,
6692 javax/imageio/stream/FileCacheImageInputStream.java,
6693 javax/imageio/stream/FileCacheImageOutputStream.java,
6694 javax/imageio/stream/FileImageInputStream.java,
6695 javax/imageio/stream/FileImageOutputStream.java,
6696 javax/imageio/stream/ImageInputStreamImpl.java,
6697 javax/imageio/stream/ImageOutputStreamImpl.java,
6698 javax/imageio/stream/MemoryCacheImageInputStream.java,
6699 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6700 javax/imageio/event/IIOReadProgressListener.java,
6701 javax/imageio/event/IIOReadUpdateListener.java,
6702 javax/imageio/event/IIOReadWarningListener.java,
6703 javax/imageio/event/IIOWriteProgressListener.java,
6704 javax/imageio/event/IIOWriteWarningListener.java,
6705 javax/imageio/metadata/IIOMetadata.java,
6706 javax/imageio/metadata/IIOMetadataController.java,
6707 javax/imageio/metadata/IIOMetadataFormat.java,
6708 javax/imageio/metadata/IIOInvalidTreeException.java,
6709 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6710 javax/imageio/metadata/IIOMetadataNode.java: New files.
6711 * Makefile.am (javax_source_files): Added new files
6712 * Makefile.in: Regenerated.
6714 2005-02-15 Graydon Hoare <graydon@redhat.com>
6716 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6717 Rework painting into BufferedImages
6718 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6719 Construct BufferedImage with alpha only when alpha is
6720 present in colormodel.
6721 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6722 Rework painting into client-side jint arrays.
6723 * jni/gtk-peer/gtkcairopeer.h:
6726 2005-02-15 Michael Koch <konqueror@gmx.de>
6728 * javax/swing/DefaultListCellRenderer.java
6729 (serialVersionUID): Made private.
6730 (getListCellRendererComponent): Set horizontal alignment.
6731 * javax/swing/JLabel.java
6732 (setVerticalAlignment): Re-implemented.
6733 (setHorizontalAlignment): Do nothing if old value = new value.
6734 * javax/swing/JList.java
6735 (setCellRenderer): Likewise.
6736 (setModel): Re-implemented.
6737 (setSelectionModel): Likewise.
6739 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6741 * java/awt/Component.java,
6742 java/awt/geom/Rectangle2D.java:
6745 2005-02-15 Michael Koch <konqueror@gmx.de>
6747 * javax/swing/AbstractListModel.java
6748 (fireContentsChanged): Simplified.
6749 (fireIntervalAdded): Likewise.
6750 (fireIntervalRemoved): Likewise.
6751 * javax/swing/DefaultSingleSelectionModel.java:
6753 (fireStateChanged): Simplified.
6754 * javax/swing/JPopupMenu.java
6755 (setSelectionModel): Set property.
6757 2005-02-15 Michael Koch <konqueror@gmx.de>
6759 * java/awt/print/Book.java: Reformatted.
6761 2005-02-15 Michael Koch <konqueror@gmx.de>
6763 * java/awt/geom/Area.java
6764 (QuadSegment.curveArea): Remove unused variables.
6765 (CubicSegment.curveArea): Likewise.
6767 2005-02-15 Michael Koch <konqueror@gmx.de>
6769 * javax/swing/JTree.java
6770 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6771 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6772 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6773 (EXPANDED): New constant.
6774 (COLLAPSED): Likewise.
6775 (nodeStates): New field.
6776 (cellEditor): New method.
6777 (cellRenderer): Likewise.
6778 (selectionModel): Likewise.
6779 (treeModel): Likewise.
6780 (scrollPathToVisible): Likewise.
6781 (scrollRowToVisible): Likewise.
6782 (isCollapsed): Likewise.
6783 (isExpanded): Likewise.
6784 (clearToggledPaths): Likewise.
6785 (getDescendantToggledPaths): Likewise.
6786 (hasBeenExpanded): Likewise.
6787 (isVisible): Likewise.
6788 (isPathEditable): Likewise.
6790 2005-02-15 Michael Koch <konqueror@gmx.de>
6792 * javax/swing/JLayeredPane.java: Reformatted.
6794 2005-02-15 Michael Koch <konqueror@gmx.de>
6796 * javax/swing/tree/DefaultMutableTreeNode.java:
6798 * javax/swing/tree/MutableTreeNode.java:
6801 2005-02-15 Michael Koch <konqueror@gmx.de>
6803 * javax/swing/JFormattedTextField.java
6804 (setDocument): Call setDocument of super class. Don't fire property
6807 2005-02-15 Sven de Marothy <sven@physto.se>
6809 * java/awt/image/IndexColorModel.java:
6810 Add FIXME with respect to alpha handling.
6811 (getAlpha): Default to returning opaque pixels.
6812 * java/awt/image/MultiPixelPackedSampleModel.java
6813 (MultiPixelPackedSampleModel): Corrected parameters, order of
6814 bit shifts and masks, stride length off by one.
6816 2005-02-15 Michael Koch <konqueror@gmx.de>
6818 * javax/swing/JList.java, javax/swing/JTree.java:
6819 Added much new methods and fixed much methods setting bound properties.
6821 2005-02-16 Mark Wielaard <mark@klomp.org>
6823 * Makefile.am (gnu_xml_source_files): Removed
6824 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6825 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6826 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6827 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6828 gnu/xml/dom/DomDocumentFragment.java,
6829 gnu/xml/dom/DomProcessingInstruction.java and
6830 gnu/xml/dom/ls/DomLSException.java.
6831 * Makefile.in: Regenerated.
6833 2005-02-16 Tom Tromey <tromey@redhat.com>
6835 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6836 attribute index is out of bounds.
6838 2005-02-16 Chris Burdess <dog@gnu.org>
6840 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6841 isDeclared methods. Improved performance of isSpecified methods.
6843 2005-02-16 Chris Burdess <dog@gnu.org>
6845 Fixes bug libgcj/19864
6846 * gnu/xml/dom/DomAttr.java,
6847 gnu/xml/dom/DomCDATA.java,
6848 gnu/xml/dom/DomCDATASection.java,
6849 gnu/xml/dom/DomCharacterData.java,
6850 gnu/xml/dom/DomDOMException.java,
6851 gnu/xml/dom/DomDoctype.java,
6852 gnu/xml/dom/DomDocument.java,
6853 gnu/xml/dom/DomDocumentConfiguration.java,
6854 gnu/xml/dom/DomDocumentFragment.java,
6855 gnu/xml/dom/DomElement.java,
6856 gnu/xml/dom/DomEx.java,
6857 gnu/xml/dom/DomFragment.java,
6858 gnu/xml/dom/DomImpl.java,
6859 gnu/xml/dom/DomIterator.java,
6860 gnu/xml/dom/DomNamedNodeMap.java,
6861 gnu/xml/dom/DomNode.java,
6862 gnu/xml/dom/DomNsNode.java,
6863 gnu/xml/dom/DomPI.java,
6864 gnu/xml/dom/DomProcessingInstruction.java,
6865 gnu/xml/dom/DomText.java,
6866 gnu/xml/dom/DomLSEx.java,
6867 gnu/xml/dom/DomLSException.java,
6868 gnu/xml/dom/DomLSParser.java,
6869 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6870 implementation class names to conform to Classpath guidelines. Make
6871 DomLSException use JDK 1.4+ exception chaining.
6872 * gnu/xml/util/SAXNullTransformerFactory.java,
6873 gnu/xml/xpath/Predicate.java: Use constants relative to
6874 declaring class or interface.
6876 2005-02-16 Andrew Haley <aph@redhat.com>
6878 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6879 null, create a new AccessControlContext.
6880 * java/security/SecureClassLoader.java (protectionDomainCache):
6882 (defineClass): Create a new protection domain and add it to our
6885 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6886 addStub() to keep track of the stub we've exported.
6887 (unexportObject): Call deleteStub().
6888 * java/rmi/server/RemoteObject.java (stubs): New field.
6889 (addStub): New method.
6890 (deleteStub): New method.
6893 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6894 true to findHelper (tryParents).
6895 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6897 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6898 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6900 If tryParents is false, don't scan parent class loaders.
6902 * java/security/Permissions.java (PermissionsHash.implies):
6903 Iterate over the collection and invoke implies() on each
6906 2005-02-16 Andrew Haley <aph@redhat.com>
6908 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6910 (PersistentByteMap): Set name
6911 Magic number changed to 0x67636a64 ("gcjd").
6912 (init): Force the map to be prime.
6913 (emptyPersistentByteMap): File name was a string, now a File.
6914 (addBytes): Share srings between entries.
6915 (stringTableSize): New method.
6916 (capacity): Scale by load factor.
6917 (force): New method.
6918 (getFile): New method.
6919 (close): New method.
6920 (putAll): New method.
6921 (ByteWrapper): New class.
6922 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6923 (main): Guess the average string size as 32, not 64.
6924 Copy a database before modifying it, so that we can update a
6925 database in a running system.
6926 If a database isn't big enough, resize it.
6927 "-m": new option: merges databases.
6928 "-a": Create a new detabase if it doesn't exist.
6929 (usage): Correct, add new option.
6930 (addJar): Copy a database before modifying it.
6931 (resizeMap): New method.
6933 2005-02-15 David Daney <ddaney@avtrex.com>
6934 Bryce McKinlay <mckinlay@redhat.com>
6936 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6937 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6938 ensure that GC threads inherit the new signal mask.
6939 (block_sigchld): Call JvFail rather than throwing exception if
6940 pthread_sigmask() fails.
6942 2005-02-15 Mark Wielaard <mark@klomp.org>
6944 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6945 file path elements are separated by spaces.
6947 2005-02-15 Mark Wielaard <mark@klomp.org>
6949 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6950 to describe attributes without a constant field value in this class.
6952 2005-02-15 Michael Koch <konqueror@gmx.de>
6954 * java/util/jar/Attributes.java
6955 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6957 2005-02-15 Mark Wielaard <mark@klomp.org>
6959 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6960 space for parsing CLASS_PATH attribute.
6962 2005-02-15 Mark Wielaard <mark@klomp.org>
6964 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6965 aside for "GCJLIBS" in directory where jarfiles are loaded.
6966 (JarURLLoader.getClass): Removed method.
6967 (JarURLLoader.toString): Removed method.
6968 (FileResource.toString): Removed method.
6970 2005-02-15 Mark Wielaard <mark@klomp.org>
6972 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6973 and/or cause before throwing.
6975 2005-02-15 Richard Henderson <rth@redhat.com>
6977 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6978 (libgcj0_convenience_la_SOURCES): ... here.
6979 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6980 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6981 * Makefile.in: Regenerate.
6983 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6986 * include/jawt.h: Likewise.
6987 * include/jawt_md.h: Likewise.
6988 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6990 * include/Makefile.in: Regenerate.
6991 * jni/classpath/classpath_jawt.h: Likewise.
6992 * jni/gtk-peer/gtk_jawt.c: Likewise.
6993 * Makefile.am: Build libjawt.so.
6994 * Makefile.in: Regenerate.
6996 2005-02-14 Tom Tromey <tromey@redhat.com>
6998 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7000 2005-02-14 Tom Tromey <tromey@redhat.com>
7002 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7003 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7005 2005-02-14 Tom Tromey <tromey@redhat.com>
7008 * testsuite/libjava.lang/PR19929.out: New file.
7009 * testsuite/libjava.lang/PR19929.java: New file.
7011 2005-02-14 Anthony Green <green@redhat.com>
7014 * testsuite/libjava.jni/PR18116.c: New file.
7015 * testsuite/libjava.jni/PR18116.java: New file.
7016 * testsuite/libjava.jni/PR18116.out: New file.
7018 2005-02-13 Anthony Green <green@redhat.com>
7021 * jni.cc (nathash_add): Don't strdup the method signature.
7022 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7026 2005-02-12 Mark Wielaard <mark@klomp.org>
7028 Fixes bug libgcj/8170
7029 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7030 ClassNotFoundException.
7031 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7032 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7033 (remove_internal): New field superceding remove_interpreter.
7034 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7035 Remove no-class methods starting with "_Jv_". And Replace null
7036 class or method names with the empty string. Stop at either the
7037 MainThread or a real Thread run() method.
7038 (newElement): Made static.
7039 * java/net/URLClassLoader.java (findClass): Throw
7040 ClassNotFoundExceptions including urls, plus parent using toString().
7041 (thisString): New field.
7042 (toString): New method.
7044 2005-02-10 Tom Tromey <tromey@redhat.com>
7046 * external/sax/Makefile.in: Rebuilt.
7047 * external/sax/Makefile.am (all-local): Removed.
7048 (BUILT_SOURCES): New variable.
7049 (mostlyclean-local): No error if no classes to delete.
7050 * external/w3c_dom/Makefile.in: Rebuilt.
7051 * external/w3c_dom/Makefile.am (all-local): Removed.
7052 (BUILT_SOURCES): New variable.
7053 (mostlyclean-local): No error if no classes to delete.
7055 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7057 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7058 of mauve and libjava.
7060 2005-02-09 Tom Tromey <tromey@redhat.com>
7062 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7063 jar file with OPEN_DELETE.
7064 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7065 OPEN_DELETE is used.
7067 2005-02-09 Tom Tromey <tromey@redhat.com>
7069 * java/util/zip/InflaterInputStream.java (markSupported):
7071 (mark, reset): Likewise.
7073 2005-02-08 Tom Tromey <tromey@redhat.com>
7075 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7076 name or port is missing.
7077 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7078 AUTHORITY_PORT_GROUP): Updated.
7080 2005-02-08 Tom Tromey <tromey@redhat.com>
7082 * configure: Rebuilt.
7083 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7086 2005-02-07 Tom Tromey <tromey@redhat.com>
7088 * java/lang/natRuntime.cc (insertSystemProperties): Set
7089 sun.boot.class.path earlier.
7091 2005-02-07 Tom Tromey <tromey@redhat.com>
7093 * defineclass.cc (handleClassBegin): Use
7094 _Jv_RegisterInitiatingLoader.
7095 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7096 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7097 class. Use _Jv_UnregisterInitiatingLoader.
7098 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7101 2005-02-07 Mark Wielaard <mark@klomp.org>
7103 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7104 java/util/regex/Matcher.java (lookingAt): Set position when match
7106 (matches): Implemented through lookingAt().
7108 2005-02-07 Mark Wielaard <mark@klomp.org>
7110 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7111 * java/util/regex/Pattern.java (split(CharSequence,int)):
7112 Fix while empties > 0 loops.
7114 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7116 * gnu/java/nio/charset/ISO_8859_1.java,
7117 gnu/java/nio/charset/US_ASCII.java,
7118 gnu/java/nio/charset/UTF_16.java,
7119 gnu/java/nio/charset/UTF_16_LE.java,
7120 gnu/java/nio/charset/UTF_16_BE.java,
7121 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7122 and aliases according to
7123 "http://www.iana.org/assignments/character-sets",
7124 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7125 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7126 * gnu/java/nio/charset/Provider.java: Made charset lookup
7127 case-insensitive which fixes bug #11740.
7129 2005-02-07 Tom Tromey <tromey@redhat.com>
7132 * Makefile.in: Rebuilt.
7133 * Makefile.am (src.zip): New target.
7134 (install-src.zip): Likewise.
7135 (sourcesdir): New variable.
7137 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7139 * javax/imageio/metadata/IIOMetadataNode.java:
7141 * javax/imageio/metadata/IIOAttr.java,
7142 javax/imageio/metadata/IIONamedNodeMap.java,
7143 javax/imageio/metadata/IIONodeList.java:
7146 2005-02-06 Graydon Hoare <graydon@redhat.com>
7148 * gnu/java/awt/ClasspathToolkit.java
7149 (registerImageIOSpis): New method.
7150 * javax/imageio/ImageIO.java
7151 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7152 (WriterMIMETypeFilter.filter): Likewise.
7153 (ImageReaderIterator): Pass extension argument through to SPI.
7154 (getReadersByFilter): Likewise.
7155 (getWritersByFilter): Likewise.
7156 (getImageReadersByFormatName): Likewise.
7157 (getImageReadersByMIMEType): Likewise.
7158 (getImageReadersBySuffix): Likewise.
7159 (getImageWritersByFormatName): Likewise.
7160 (getImageWritersByMIMEType): Likewise.
7161 (getImageWritersBySuffix): Likewise.
7164 * javax/imageio/ImageReader.java
7165 (progressListeners): Initialize.
7166 (setInput): Implement.
7167 * javax/imageio/ImageWriter.java
7168 (progressListeners): Initialize.
7169 (warningListeners): Likewise.
7170 (warningLocales): Likewise.
7171 (setOutput): Test "isInstance" rather than class equality.
7172 * javax/imageio/spi/IIORegistry.java
7173 (static): Add reader and writer SPIs.
7174 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7176 2005-02-06 Michael Koch <konqueror@gmx.de>
7178 * javax/imageio/metadata/IIOInvalidTreeException.java
7179 (IIOInvalidTreeException): Reformatted.
7180 * javax/imageio/spi/IIORegistry.java
7181 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7182 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7183 Reworked import statements.
7185 2005-02-06 Michael Koch <konqueror@gmx.de>
7187 * javax/imageio/stream/FileImageOutputStream.java:
7190 2005-02-06 Michael Koch <konqueror@gmx.de>
7192 * javax/imageio/stream/FileCacheImageInputStream.java,
7193 javax/imageio/stream/FileCacheImageOutputStream.java,
7194 javax/imageio/stream/FileImageInputStream.java,
7195 javax/imageio/stream/ImageInputStreamImpl.java,
7196 javax/imageio/stream/ImageOutputStreamImpl.java,
7197 javax/imageio/stream/MemoryCacheImageInputStream.java,
7198 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7199 Added all missing methods in javax.imageio.stream.
7201 2005-02-02 David Daney <ddaney@avtrex.com>
7203 * java/net/InetAddress.java (InetAddress): Make a private copy of
7205 * java/net/Inet4Address.java (getAddress): Return a copy of the
7207 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7209 (getAddress): Return a copy of the address.
7212 2005-02-02 Tom Tromey <tromey@redhat.com>
7214 * Makefile.in: Rebuilt.
7215 * Makefile.am (classes.stamp): New target, broken out from
7217 ($(all_java_class_files)): Depend on it.
7218 (libgcj-@gcc_version@.jar): Likewise.
7219 (all-recursive): Likewise.
7220 (CLEANFILES): Include classes.stamp.
7222 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7224 * link.cc: Include <stdio.h>
7226 2005-02-02 Tom Tromey <tromey@redhat.com>
7229 * Makefile.in: Rebuilt.
7230 * Makefile.am (ordinary_java_source_files): Added new class.
7231 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7232 Use system_instance, not instance.
7233 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7234 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7236 (system_instance): New field.
7237 (initialize): Initialize the system loader as well.
7238 (VMClassLoader): Default to LIB_CACHE.
7240 2005-02-02 Tom Tromey <tromey@redhat.com>
7242 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7243 * prims.cc: Fixed comment.
7245 2005-02-01 Tom Tromey <tromey@redhat.com>
7247 * Makefile.in: Rebuilt.
7248 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7249 (.java.class): Use BOOTCLASSPATH.
7251 2005-02-01 Tom Tromey <tromey@redhat.com>
7253 * external/w3c_dom/Makefile.am: New file.
7254 * external/w3c_dom/Makefile.in: New file.
7255 * external/sax/Makefile.am: New file.
7256 * external/sax/Makefile.in: New file.
7257 * external/Makefile.in: New file.
7258 * external/Makefile.am: New file.
7259 * external/README: New file from Classpath.
7260 * configure, aclocal.m4, Makefile.in: Rebuilt.
7261 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7262 * Makefile.am (SUBDIRS): Added external.
7263 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7264 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7265 (BOOTCLASSPATH): New variable.
7266 (AM_GCJFLAGS): Use it.
7267 (gnu_xml_source_files): New variable.
7268 (libgcj_la_SOURCES): Use it.
7269 (libgcj_la_LDADD): Include new convenience libraries.
7270 (lib_org_ietf_jgss_la_SOURCES): Removed.
7271 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7272 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7273 (lib_org_w3c_dom_la_SOURCES): Removed.
7274 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7275 (lib_org_w3c_dom_la_LIBADD): Likewise.
7276 (lib_org_xml_sax_la_SOURCES): Removed.
7277 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7278 (lib_org_xml_sax_la_LIBADD): Likewise.
7279 (all_java_source_files): Updated.
7280 (property_files): Likewise.
7281 (libgcj-@gcc_version@.jar): Include classes from external/.
7282 (javax_source_files): Updated.
7283 (ordinary_java_source_files): Updated.
7284 * javax/xml/XMLConstants.java,
7285 javax/xml/datatype/DatatypeConfigurationException.java,
7286 javax/xml/datatype/DatatypeConstants.java,
7287 javax/xml/datatype/DatatypeFactory.java,
7288 javax/xml/datatype/Duration.java,
7289 javax/xml/datatype/XMLGregorianCalendar.java,
7290 javax/xml/datatype/package.html,
7291 javax/xml/namespace/NamespaceContext.java,
7292 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7293 javax/xml/parsers/DocumentBuilder.java,
7294 javax/xml/parsers/DocumentBuilderFactory.java,
7295 javax/xml/parsers/FactoryConfigurationError.java,
7296 javax/xml/parsers/ParserConfigurationException.java,
7297 javax/xml/parsers/SAXParser.java,
7298 javax/xml/parsers/SAXParserFactory.java,
7299 javax/xml/parsers/package.html,
7300 javax/xml/transform/ErrorListener.java,
7301 javax/xml/transform/OutputKeys.java,
7302 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7303 javax/xml/transform/SourceLocator.java,
7304 javax/xml/transform/Templates.java,
7305 javax/xml/transform/Transformer.java,
7306 javax/xml/transform/TransformerConfigurationException.java,
7307 javax/xml/transform/TransformerException.java,
7308 javax/xml/transform/TransformerFactory.java,
7309 javax/xml/transform/TransformerFactoryConfigurationError.java,
7310 javax/xml/transform/URIResolver.java,
7311 javax/xml/transform/package.html,
7312 javax/xml/transform/dom/DOMLocator.java,
7313 javax/xml/transform/dom/DOMResult.java,
7314 javax/xml/transform/dom/DOMSource.java,
7315 javax/xml/transform/dom/package.html,
7316 javax/xml/transform/sax/SAXResult.java,
7317 javax/xml/transform/sax/SAXSource.java,
7318 javax/xml/transform/sax/SAXTransformerFactory.java,
7319 javax/xml/transform/sax/TemplatesHandler.java,
7320 javax/xml/transform/sax/TransformerHandler.java,
7321 javax/xml/transform/sax/package.html,
7322 javax/xml/transform/stream/StreamResult.java,
7323 javax/xml/transform/stream/StreamSource.java,
7324 javax/xml/transform/stream/package.html,
7325 javax/xml/validation/Schema.java,
7326 javax/xml/validation/SchemaFactory.java,
7327 javax/xml/validation/TypeInfoProvider.java,
7328 javax/xml/validation/Validator.java,
7329 javax/xml/validation/ValidatorHandler.java,
7330 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7331 javax/xml/xpath/XPathConstants.java,
7332 javax/xml/xpath/XPathException.java,
7333 javax/xml/xpath/XPathExpression.java,
7334 javax/xml/xpath/XPathExpressionException.java,
7335 javax/xml/xpath/XPathFactory.java,
7336 javax/xml/xpath/XPathFactoryConfigurationException.java,
7337 javax/xml/xpath/XPathFunction.java,
7338 javax/xml/xpath/XPathFunctionException.java,
7339 javax/xml/xpath/XPathFunctionResolver.java,
7340 javax/xml/xpath/XPathVariableResolver.java,
7341 javax/xml/xpath/package.html: New files, from GNU JAXP.
7342 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7343 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7344 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7345 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7346 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7347 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7348 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7349 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7350 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7351 org/w3c/dom/ranges/DocumentRange.java,
7352 org/w3c/dom/ranges/Range.java,
7353 org/w3c/dom/ranges/RangeException.java,
7354 org/w3c/dom/traversal/DocumentTraversal.java,
7355 org/w3c/dom/traversal/NodeFilter.java,
7356 org/w3c/dom/traversal/NodeIterator.java,
7357 org/w3c/dom/traversal/TreeWalker.java,
7358 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7359 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7360 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7361 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7362 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7363 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7364 org/xml/sax/SAXNotRecognizedException.java,
7365 org/xml/sax/SAXNotSupportedException.java,
7366 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7367 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7368 org/xml/sax/ext/DeclHandler.java,
7369 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7370 org/xml/sax/helpers/AttributeListImpl.java,
7371 org/xml/sax/helpers/AttributesImpl.java,
7372 org/xml/sax/helpers/DefaultHandler.java,
7373 org/xml/sax/helpers/LocatorImpl.java,
7374 org/xml/sax/helpers/NamespaceSupport.java,
7375 org/xml/sax/helpers/NewInstance.java,
7376 org/xml/sax/helpers/ParserAdapter.java,
7377 org/xml/sax/helpers/ParserFactory.java,
7378 org/xml/sax/helpers/XMLFilterImpl.java,
7379 org/xml/sax/helpers/XMLReaderAdapter.java,
7380 org/xml/sax/helpers/XMLReaderFactory.java,
7381 org/xml/sax/helpers/package.html: Moved to external/.
7382 * external/sax/README,
7383 external/sax/org/xml/sax/AttributeList.java,
7384 external/sax/org/xml/sax/Attributes.java,
7385 external/sax/org/xml/sax/ContentHandler.java,
7386 external/sax/org/xml/sax/DTDHandler.java,
7387 external/sax/org/xml/sax/DocumentHandler.java,
7388 external/sax/org/xml/sax/EntityResolver.java,
7389 external/sax/org/xml/sax/ErrorHandler.java,
7390 external/sax/org/xml/sax/HandlerBase.java,
7391 external/sax/org/xml/sax/InputSource.java,
7392 external/sax/org/xml/sax/Locator.java,
7393 external/sax/org/xml/sax/Parser.java,
7394 external/sax/org/xml/sax/SAXException.java,
7395 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7396 external/sax/org/xml/sax/SAXNotSupportedException.java,
7397 external/sax/org/xml/sax/SAXParseException.java,
7398 external/sax/org/xml/sax/XMLFilter.java,
7399 external/sax/org/xml/sax/XMLReader.java,
7400 external/sax/org/xml/sax/package.html,
7401 external/sax/org/xml/sax/ext/Attributes2.java,
7402 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7403 external/sax/org/xml/sax/ext/DeclHandler.java,
7404 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7405 external/sax/org/xml/sax/ext/EntityResolver2.java,
7406 external/sax/org/xml/sax/ext/LexicalHandler.java,
7407 external/sax/org/xml/sax/ext/Locator2.java,
7408 external/sax/org/xml/sax/ext/Locator2Impl.java,
7409 external/sax/org/xml/sax/ext/package.html,
7410 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7411 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7412 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7413 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7414 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7415 external/sax/org/xml/sax/helpers/NewInstance.java,
7416 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7417 external/sax/org/xml/sax/helpers/ParserFactory.java,
7418 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7419 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7420 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7421 external/sax/org/xml/sax/helpers/package.html,
7422 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7423 external/w3c_dom/org/w3c/dom/Attr.java,
7424 external/w3c_dom/org/w3c/dom/CDATASection.java,
7425 external/w3c_dom/org/w3c/dom/CharacterData.java,
7426 external/w3c_dom/org/w3c/dom/Comment.java,
7427 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7428 external/w3c_dom/org/w3c/dom/DOMError.java,
7429 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7430 external/w3c_dom/org/w3c/dom/DOMException.java,
7431 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7432 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7433 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7434 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7435 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7436 external/w3c_dom/org/w3c/dom/Document.java,
7437 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7438 external/w3c_dom/org/w3c/dom/DocumentType.java,
7439 external/w3c_dom/org/w3c/dom/Element.java,
7440 external/w3c_dom/org/w3c/dom/Entity.java,
7441 external/w3c_dom/org/w3c/dom/EntityReference.java,
7442 external/w3c_dom/org/w3c/dom/NameList.java,
7443 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7444 external/w3c_dom/org/w3c/dom/Node.java,
7445 external/w3c_dom/org/w3c/dom/NodeList.java,
7446 external/w3c_dom/org/w3c/dom/Notation.java,
7447 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7448 external/w3c_dom/org/w3c/dom/Text.java,
7449 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7450 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7451 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7452 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7453 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7454 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7455 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7456 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7457 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7458 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7459 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7460 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7461 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7462 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7463 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7464 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7465 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7466 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7467 external/w3c_dom/org/w3c/dom/css/Counter.java,
7468 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7469 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7470 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7471 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7472 external/w3c_dom/org/w3c/dom/css/Rect.java,
7473 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7474 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7475 external/w3c_dom/org/w3c/dom/events/Event.java,
7476 external/w3c_dom/org/w3c/dom/events/EventException.java,
7477 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7478 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7479 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7480 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7481 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7482 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7483 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7484 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7485 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7486 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7487 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7488 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7489 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7490 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7491 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7492 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7493 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7494 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7495 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7496 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7497 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7498 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7499 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7500 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7501 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7502 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7503 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7504 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7505 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7506 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7507 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7508 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7509 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7510 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7511 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7512 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7513 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7514 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7515 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7516 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7517 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7518 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7519 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7520 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7521 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7522 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7523 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7524 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7525 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7526 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7527 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7528 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7529 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7530 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7531 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7532 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7533 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7534 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7535 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7536 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7537 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7538 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7539 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7540 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7541 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7542 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7543 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7544 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7545 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7546 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7547 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7548 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7549 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7550 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7551 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7552 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7553 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7554 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7555 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7556 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7557 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7558 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7559 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7560 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7561 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7562 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7563 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7564 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7565 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7566 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7567 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7568 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7571 2005-01-31 Anthony Green <green@redhat.com>
7573 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7574 Support IP_MULTICAST_LOOP.
7575 (setOption): Support IP_MULTICAST_LOOP.
7577 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7578 SO_REUSEADDR support.
7579 (getOption): Support SO_REUSEADDR.
7581 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7584 * java/util/Date.java
7585 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7587 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7589 (getTimezoneOffset): Inverted sign.
7591 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7593 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7594 remove other passing tests and add new XFAILs.
7596 2005-01-24 Tom Tromey <tromey@redhat.com>
7598 * java/lang/Class.h (next): Updated documentation. Renamed to
7600 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7601 _Jv_CheckABIVersion.
7602 (_Jv_RegisterClasses_Counted): Likewise.
7603 (_Jv_RegisterClassHookDefault): Fix starting condition of
7604 duplicate-checking loop.
7605 * include/jvm.h (GCJ_VERSION): New define.
7606 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7607 (_Jv_CheckABIVersion): New function.
7609 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7611 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7612 (libgij_la_LDFLAGS): Add.
7613 * Makefile.in: Rebuilt.
7615 2005-01-24 Roger Sayle <roger@eyesopen.com>
7618 * testsuite/libjava.compile/PR19295.java: New test case.
7620 2005-01-19 Tom Tromey <tromey@redhat.com>
7622 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7623 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7624 if 'handler' is valid.
7626 2005-01-17 Tom Tromey <tromey@redhat.com>
7628 * java/text/MessageFormat.java (scanString): Changed how quoting
7630 (scanFormatElement): Likewise.
7632 2004-12-07 Mark Wielaard <mark@klomp.org>
7634 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7636 2005-01-15 Michael Koch <konqueror@gmx.de>
7640 (AUTHORITY_REGEXP): New regexp constant.
7641 (AUTHORITY_USERINFO_GROUP): New constant.
7642 (AUTHORITY_HOST_GROUP): Likewise.
7643 (AUTHORITY_PORT_GROUP): Likewise.
7644 (port): Changed default value to -1.
7645 (parseURI): Parse authority part and initialize host,
7648 2005-01-14 Robin Green <greenrd@greenrd.org>
7650 * java/io/File.java (toURI): Generate a URI which we understand.
7652 2005-01-13 Graydon Hoare <graydon@redhat.com>
7654 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7655 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7656 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7657 * jni.cc: Reuse bottom frame between calls, avoid clearing
7658 frame when no local references are made.
7660 2005-01-13 Michael Koch <konqueror@gmx.de>
7663 * java/lang/Thread.java
7664 (Thread): Call checkAccess().
7665 (stop): Fixed argument name to match javadoc.
7666 * java/lang/natThread.cc
7667 (interrupt): Call checkAccess().
7670 2005-01-11 Michael Koch <konqueror@gmx.de>
7673 * java/net/URL.java (URL): Handle specs like
7674 "/redir?http://domain2.com/index.html" which start with a slash.
7676 2005-01-11 Michael Koch <konqueror@gmx.de>
7678 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7679 * gnu/java/net/BASE64.java,
7680 gnu/java/net/EmptyX509TrustManager.java,
7681 gnu/java/net/LineInputStream.java,
7682 gnu/java/net/protocol/http/Authenticator.java,
7683 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7684 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7685 gnu/java/net/protocol/http/ChunkedInputStream.java,
7686 gnu/java/net/protocol/http/Cookie.java,
7687 gnu/java/net/protocol/http/CookieManager.java,
7688 gnu/java/net/protocol/http/Credentials.java,
7689 gnu/java/net/protocol/http/HTTPConnection.java,
7690 gnu/java/net/protocol/http/HTTPDateFormat.java,
7691 gnu/java/net/protocol/http/HTTPURLConnection.java,
7692 gnu/java/net/protocol/http/Headers.java,
7693 gnu/java/net/protocol/http/Request.java,
7694 gnu/java/net/protocol/http/RequestBodyWriter.java,
7695 gnu/java/net/protocol/http/Response.java,
7696 gnu/java/net/protocol/http/ResponseBodyReader.java,
7697 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7698 gnu/java/net/protocol/http/SimpleCookieManager.java,
7699 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7700 gnu/java/net/protocol/http/event/ConnectionListener.java,
7701 gnu/java/net/protocol/http/event/RequestEvent.java,
7702 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7703 * gnu/java/net/protocol/http/Connection.java: Removed.
7704 * gnu/java/net/protocol/http/Handler.java,
7705 javax/net/ssl/HttpsURLConnection.java: Updated.
7706 * Makefile.am: Added new files and remove old ones.
7707 * Makefile.in: Regenerated.
7709 2005-01-11 Tom Tromey <tromey@redhat.com>
7712 * java/io/BufferedInputStream.java (read): Repeatedly read to
7714 (refill): Change test to see if buffer must be grown.
7716 2005-01-10 Tom Tromey <tromey@redhat.com>
7718 * mauve-libgcj: Exclude some swing tests.
7720 2005-01-10 Tom Tromey <tromey@redhat.com>
7722 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7723 * java/lang/Package.java (getPackages): Use VMClassLoader when
7725 (getPackage): Likewise.
7726 * prims.cc (_Jv_CreateJavaVM): Call
7727 _Jv_RegisterBootstrapPackages.
7728 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7729 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7730 (getPackages): Likewise.
7731 (definedPackages): New field.
7732 (definePackageForNative): New method.
7733 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7734 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7735 * defineclass.cc (handleClassBegin): Use
7736 ClassLoader.findLoadedClass.
7737 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7739 (struct _Jv_LoaderInfo): Removed.
7740 (initiated_classes): Likewise.
7741 (_Jv_UnregisterClass): Don't use initiated_classes.
7742 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7743 (_Jv_FindClass): Register classes found during boostrap.
7744 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7745 (bootstrap_class_list): New global.
7746 (bootstrap_index): Likewise.
7747 (_Jv_RegisterBootstrapPackages): New function.
7748 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7749 definePackageForNative.
7750 (findClass): Updated.
7751 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7754 2005-01-10 Tom Tromey <tromey@redhat.com>
7757 * include/jvm.h (_Jv_Linker::find_field): Declare.
7758 (_Jv_Linker::find_field_helper): Likewise.
7759 * link.cc (find_field_helper): New method.
7760 (find_field): Likewise.
7761 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7763 (link_symbol_table): Use find_field.
7765 2005-01-10 Michael Koch <konqueror@gmx.de>
7768 * java/util/Locale.java (Locale): Don't uppercase variant.
7769 (getISOCountries): Fixed typo in javadoc.
7771 2005-01-10 Michael Koch <konqueror@gmx.de>
7773 * java/util/SimpleTimeZone.java (checkRule):
7774 Throw IllegalArgumentException on invalid month values.
7775 * java/util/TimeZone.java (setID):
7776 Throw NullPointerException if needed.
7778 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7780 * java/util/SimpleTimeZone.java (getOffset):
7781 offset end date with daylight savings
7783 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7785 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7786 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7788 2005-01-09 Michael Koch <konqueror@gmx.de>
7791 * java/net/InetAddress.java (getLocalHost):
7792 Throw UnknownHostException if local hostname cannot be determined.
7794 2005-01-06 Tom Tromey <tromey@redhat.com>
7796 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7798 2005-01-07 Michael Koch <konqueror@gmx.de>
7801 * java/nio/Buffer.java (address): New field.
7802 * java/nio/DirectByteBufferImpl.java (address): Removed.
7803 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7804 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7805 Explicitly initialize Buffer.address if needed.
7806 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7807 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7808 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7809 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7810 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7811 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7812 DirectByteBufferImpl object.
7813 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7814 * testsuite/libjava.jni/directbuffer.c,
7815 testsuite/libjava.jni/directbuffer.java,
7816 testsuite/libjava.jni/directbuffer.out,
7817 testsuite/libjava.jni/bytebuffer.c,
7818 testsuite/libjava.jni/bytebuffer.java,
7819 testsuite/libjava.jni/bytebuffer.out: New files.
7821 2005-01-05 Tom Tromey <tromey@redhat.com>
7823 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7825 (compressedSize): Now 'long'. Default to -1.
7826 (getCompressedSize): Rewrote.
7827 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7828 deflate at all if we need input.
7830 2005-01-05 Tom Tromey <tromey@redhat.com>
7833 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7836 2005-01-05 Tom Tromey <tromey@redhat.com>
7838 * java/lang/natRuntime.cc (insertSystemProperties): Set
7839 java.ext.dirs earlier.
7841 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7843 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7844 sync_info element of the object if needed.
7846 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7848 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7849 a non-zero exit status from 'false'.
7851 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7853 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.