1 2005-08-17 Tom Tromey <tromey@redhat.com>
3 * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
5 * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
6 * testsuite/libjava.lang/bclink.java: New file.
7 * testsuite/libjava.lang/bclink.out: New file.
8 * link.cc (print_class_loaded): Changed ABI test to look at
11 2005-08-17 Andreas Tobler <a.tobler@schweiz.ch>
13 * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
14 15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
16 2005-08-16 Ranjit Mathew <rmathew@hotmail.com>
18 More testsuite adjustments for PR java/19870.
19 * testsuite/libjava.lang/PR19870_2.java: New testcase.
20 * testsuite/libjava.lang/PR19870_2.out: Expected output for the
22 * testsuite/libjava.jacks/jacks.xfail: Remove
23 8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
25 2005-08-16 Tom Tromey <tromey@redhat.com>
27 * gnu/xml/xpath/XPathParser.y: Removed.
29 2005-08-12 Morgan Deters <mdeters@morgandeters.com>
32 * java/lang/natObject.cc (clone): Clear sync_info.
34 2005-07-26 Tom Tromey <tromey@redhat.com>
36 * gnu/java/net/protocol/ftp/package.html,
37 gnu/javax/swing/text/html/package.html,
38 gnu/javax/swing/text/html/parser/package.html,
39 gnu/javax/swing/text/html/parser/models/package.html,
40 gnu/javax/swing/text/html/parser/support/package.html,
41 gnu/javax/swing/text/html/parser/support/low/package.html,
42 gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
43 gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
44 gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
45 java/awt/geom/doc-files/CubicCurve2D-1.png,
46 java/awt/geom/doc-files/CubicCurve2D-2.png,
47 java/awt/geom/doc-files/CubicCurve2D-3.png,
48 java/awt/geom/doc-files/CubicCurve2D-4.png,
49 java/awt/geom/doc-files/CubicCurve2D-5.png,
50 java/awt/geom/doc-files/Ellipse-1.png,
51 java/awt/geom/doc-files/FlatteningPathIterator-1.html,
52 java/awt/geom/doc-files/GeneralPath-1.png,
53 java/awt/geom/doc-files/QuadCurve2D-1.png,
54 java/awt/geom/doc-files/QuadCurve2D-2.png,
55 java/awt/geom/doc-files/QuadCurve2D-3.png,
56 java/awt/geom/doc-files/QuadCurve2D-4.png,
57 java/awt/geom/doc-files/QuadCurve2D-5.png,
58 javax/imageio/package.html, javax/imageio/event/package.html,
59 javax/imageio/metadata/package.html,
60 javax/imageio/spi/package.html, javax/imageio/stream/package.html,
61 javax/swing/border/doc-files/BevelBorder-1.png,
62 javax/swing/border/doc-files/BevelBorder-2.png,
63 javax/swing/border/doc-files/BevelBorder-3.png,
64 javax/swing/border/doc-files/EmptyBorder-1.png,
65 javax/swing/border/doc-files/EtchedBorder-1.png,
66 javax/swing/border/doc-files/EtchedBorder-2.png,
67 javax/swing/border/doc-files/LineBorder-1.png,
68 javax/swing/border/doc-files/MatteBorder-1.png,
69 javax/swing/border/doc-files/MatteBorder-2.png,
70 javax/swing/border/doc-files/MatteBorder-3.png,
71 javax/swing/border/doc-files/MatteBorder-4.png,
72 javax/swing/border/doc-files/MatteBorder-5.png,
73 javax/swing/border/doc-files/MatteBorder-6.png,
74 javax/swing/border/doc-files/SoftBevelBorder-1.png,
75 javax/swing/border/doc-files/SoftBevelBorder-2.png,
76 javax/swing/border/doc-files/SoftBevelBorder-3.png,
77 javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
78 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
79 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
80 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
81 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
82 javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
83 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
84 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
85 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
86 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
87 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
88 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
89 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
90 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
91 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
92 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
93 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
94 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
95 javax/swing/plaf/doc-files/ComponentUI-1.dia,
96 javax/swing/plaf/doc-files/ComponentUI-1.png,
97 javax/swing/plaf/doc-files/TreeUI-1.png,
98 javax/xml/datatype/package.html, javax/xml/namespace/package.html,
99 javax/xml/parsers/package.html, javax/xml/transform/package.html,
100 javax/xml/transform/dom/package.html,
101 javax/xml/transform/sax/package.html,
102 javax/xml/transform/stream/package.html,
103 javax/xml/validation/package.html, javax/xml/xpath/package.html:
106 2005-07-22 Tom Tromey <tromey@redhat.com>
108 * include/Makefile.in: Rebuilt.
109 * include/Makefile.am (tool_include__HEADERS): Include
112 2005-07-20 Tom Tromey <tromey@redhat.com>
114 * sources.am, Makefile.in: Rebuilt.
115 * Makefile.am (all_xlib_lo_files): Removed.
116 (all_libgcj_lo_files): Likewise.
117 (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
118 (xlib_java_source_files): Removed.
119 (xlib_nat_headers): Updated.
120 * configure: Rebuilt.
121 * configure.ac: Create standard.omit.
122 * standard.omit.in: New file.
123 * standard.omit: Removed.
124 * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
126 (emit_package_rule): Special case xlib peers.
127 (emit_source_var): Likewise.
128 Read standard.omit.in.
129 * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
131 2005-07-18 Tom Tromey <tromey@redhat.com>
135 2005-07-19 Matthias Klose <doko@debian.org>
137 * classpath/java/awt/im/InputContext.java (clinit): Initialize
140 2005-07-18 Tom Tromey <tromey@redhat.com>
143 * sources.am, Makefile.in: Rebuilt.
144 * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
146 (emit_source_var): Don't emit patsubst with './'.
148 2005-07-18 Tom Tromey <tromey@redhat.com>
150 * Makefile.in: Rebuilt.
151 * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
153 2005-07-17 Andreas Jaeger <aj@suse.de>
155 * defineclass.cc (handleClassBegin): Remove unused variable.
157 2005-07-16 Andreas Schwab <schwab@suse.de>
159 * scripts/makemake.tcl (emit_package_rule): Emit command to create
161 * Makefile.am (%.lo): Don't create it here.
162 * sources.am, Makefile.in: Regenerated.
164 2005-07-15 Tom Tromey <tromey@redhat.com>
166 Major merge with Classpath.
167 Removed many duplicate files.
169 * classpath: Imported new directory.
170 * standard.omit: New file.
171 * Makefile.in, aclocal.m4, configure: Rebuilt.
172 * sources.am: New file.
173 * configure.ac: Run Classpath configure script. Moved code around
174 to support. Disable xlib AWT peers (temporarily).
175 * Makefile.am (SUBDIRS): Added 'classpath'
177 (AM_CPPFLAGS): Added more -I options.
178 (BOOTCLASSPATH): Simplified.
179 Completely redid how sources are built.
181 * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
182 * include/jni.h: Removed (in Classpath).
183 * scripts/classes.pl: Updated to look at built classes.
184 * scripts/makemake.tcl: New file.
185 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
187 (gcj_jni_invocation_compile_c_to_binary): Likewise.
189 2005-07-15 Scott Gilbertson <scottg@mantatest.com>
191 * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
192 (eventMask): New field.
193 (XCanvasPeer(Component)): Use attributes field.
194 (setBackground): Implemented.
195 (setEventMask): Process mask only if changed.
196 * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
197 (eventLoopThread): New field.
198 (XEventLoop(Display,EventQueue)): Start eventLoopThread.
199 (interrupt): Removed.
201 * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
202 and Component events.
203 * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
205 (configureNotify): Set and clear processingConfigureNotify.
206 (setBounds): Process only if processingConfigureNotify is false.
207 (toBack): Implemented.
208 (toFront): Implemented.
209 * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
210 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
212 * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
213 (wakeNativeQueue): Do nothing.
214 (iterateNativeQueue): Do queue.wait if blocking.
215 * gnu/gcj/xlib/Font.java (loadFont): New method.
216 (loadFontImpl): Renamed native method, was loadFont.
217 * gnu/gcj/xlib/Window.java (toFront): New method.
218 (toBack): New method.
219 * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was
221 * gnu/gcj/xlib/natWindow.cc (toBack): New method.
222 (toFront): New method.
223 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
225 2005-07-14 Andrew Haley <aph@redhat.com>
227 * gnu/java/net/protocol/file/Connection.java (unquote): New
229 (connect): Unquote filename.
230 gnu/java/net/protocol/jar/Connection.java (getInputStream):
232 (getJarFile): Likewise.
234 * java/net/URLConnection.java (getContentHandler): Guard cast with
237 * java/net/URL.java (URL): If the file part of a spec is absolute,
238 ignore the file part of its context.
240 2005-07-14 Aaron Luchko <aluchko@redhat.com>
242 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
243 Implemented VirtualMachine Command Set.
245 2005-07-14 Tom Tromey <tromey@redhat.com>
247 * java/lang/Class.java (getProtectionDomain): Merged javadoc from
250 2005-07-12 Aaron Luchko <aluchko@redhat.com>
252 * gnu/classpath/jdwp/processor/FieldCommandSet.java:
253 Implemented the Field CommandSet.
254 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
255 Implemented the InterfaceType CommandSet.
257 2005-07-12 Aaron Luchko <aluchko@redhat.com>
259 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
260 shutdown to jdwp instead of connection.
262 2005-07-12 Aaron Luchko <aluchko@redhat.com>
264 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
267 2005-07-08 Colin Walters <walters@verbum.org>
269 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
270 check for abstract classes or interfaces here; JVM spec
271 says it should throw an exception, so we'll do so later.
272 * interpret.cc (run): Throw an InstantiationException for
273 abstract classes and interfaces.
275 2005-07-08 Andrew Haley <aph@redhat.com>
277 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
278 (regular, non-realtime scheduling), not SCHED_RR (realtime,
281 2005-07-07 Aaron Luchko <aluchko@redhat.com>
283 * gnu/classpath/jdwp/util/Signature.java
284 (computeFieldSignature): New Method.
286 2005-07-07 Aaron Luchko <aluchko@redhat.com>
288 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
291 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
293 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
294 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
296 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
298 * testsuite/libjava.compile/PR21045.java: New test.
299 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
300 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
302 2005-07-06 Tom Tromey <tromey@redhat.com>
304 * java/io/InputStreamReader.java (refill): Handle no-progress
306 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
308 2005-07-06 Tom Tromey <tromey@redhat.com>
310 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
312 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
314 * testsuite/libjava.compile/PR19674.java: New test.
316 2005-07-05 Aaron Luchko <aluchko@redhat.com>
318 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
321 2005-07-04 Aaron Luchko <aluchko@redhat.com>
323 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
324 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
325 CommandSets to handle JdwpCommandPackets.
326 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
329 2005-07-01 Tom Tromey <tromey@redhat.com>
331 * libtool-version: Updated.
333 2005-06-30 Aaron Luchko <aluchko@redhat.com>
335 * gnu/classpath/jdwp/util/JdwpString.java: New file.
337 2005-06-30 Keith Seitz <keiths@redhat.com>
339 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
340 (myWrite): New abstract method.
343 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
345 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
347 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
348 JdwpPacket.write instead of JdwpPacket.toBytes.
350 2005-06-30 Keith Seitz <keiths@redhat.com>
352 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
354 (_bytes): New member.
355 (_doStream): New member.
356 (JdwpConnection): Initialize new members.
358 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
360 * all files: Update for new FSF address.
362 2005-06-29 Tom Tromey <tromey@redhat.com>
365 * testsuite/libjava.lang/pr22211.java: New file.
366 * java/lang/natThread.cc (finish_): Synchronize when updating
368 (_Jv_AttachCurrentThread): Likewise.
369 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
370 * java/lang/Thread.java (isAlive): Now synchronized.
372 2005-06-29 Tom Tromey <tromey@redhat.com>
374 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
377 2005-06-28 Robin Green <greenrd@greenrd.org>
380 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
383 2005-06-27 Tom Tromey <tromey@redhat.com>
385 PR java/21540, PR java/13788:
386 * testsuite/libjava.compile/pr21540.java: New file.
387 * testsuite/libjava.compile/pr13788.java: New file.
388 * testsuite/libjava.jacks/jacks.xfail: Updated.
390 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
392 * testsuite/libjava.mauve/xfails: Updated to reflect current state
393 of mauve and libjava.
395 2005-06-24 Tom Tromey <tromey@redhat.com>
397 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
398 where class' name is NULL.
399 (_Jv_FindClass): Don't wait for class state.
400 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
402 * include/java-interp.h (_Jv_DefineClass): Updated.
403 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
404 (struct _Jv_ClassReader): Likewise.
405 (found_name): New field.
406 (handleClassBegin): Set *found_name.
407 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
408 (handleClassBegin): Throw error if super class not set.
409 (read_methods): Correctly call check_tag and prepare_pool_entry.
411 2005-06-24 Tom Tromey <tromey@redhat.com>
413 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
415 2005-06-24 Tom Tromey <tromey@redhat.com>
417 * verify.cc (verify_instructions_0): Correctly handle situation
418 where PC falls off end.
420 2005-06-24 Tom Tromey <tromey@redhat.com>
422 * interpret.cc (compile): Handle case where table entry is
425 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
427 * testsuite/libjava.compile/PR20697.java: New test-case.
429 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
431 * Makefile.am (SUBDIRS): Use append for conditional.
432 (toolexeclib_LTLIBRARIES): Likewise.
433 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
434 a conditional append.
435 * Makefile.in: Regenerate.
437 2005-06-17 Keith Seitz <keiths@redhat.com>
439 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
440 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
441 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
443 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
444 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
446 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
447 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
448 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
449 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
451 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
452 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
454 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
456 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
457 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
458 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
459 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
460 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
461 * Makefile.in: Regenerate.
463 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
465 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
466 (USING_POSIX_PLATFORM): ... here.
467 * Makefile.am: Delete USING_ECOS_PLATFORM.
468 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
469 external/Makefile.in, external/sax/Makefile.in,
470 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
472 2005-06-15 Tom Tromey <tromey@redhat.com>
475 * testsuite/libjava.lang/pr17536.java: New file.
476 * testsuite/libjava.lang/pr17536.out: New file.
478 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
481 * gnu/java/net/protocol/http/HTTPURLConnection.java
482 (getHeaderFieldKey): Check index.
484 2005-06-15 Tom Tromey <tromey@redhat.com>
487 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
489 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
490 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
492 (append_partial_itable): Use it.
493 (set_vtable_entries): Likewise.
495 2005-06-15 Tom Tromey <tromey@redhat.com>
497 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
498 last_was_sep in loop.
500 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
502 * configure.host: Handle Solaris 10/x86.
504 2005-06-14 Keith Seitz <keiths@redhat.com>
506 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
507 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
509 2005-06-14 Keith Seitz <keiths@redhat.com>
511 * gnu/classpath/jdwp/id/ArrayId.java: New file.
512 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
513 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
514 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
515 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
516 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
517 * gnu/classpath/jdwp/id/JdwpId.java: New file.
518 * gnu/classpath/jdwp/id/ObjectId.java: New file.
519 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
520 * gnu/classpath/jdwp/id/StringId.java: New file.
521 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
522 * gnu/classpath/jdwp/id/ThreadId.java: New file.
524 2005-06-14 Tom Tromey <tromey@redhat.com>
527 * configure, aclocal.m4, Makefile.in: Rebuilt.
529 2005-06-14 Tom Tromey <tromey@redhat.com>
531 * java/lang/Class.java (getClasses): New method.
532 (internalGetClasses): Likewise.
533 (getClassLoader): Updated documentation.
534 (getDeclaredClasses): New overload; old overload no longer
536 (_getConstructors): Removed.
537 (resourcePath): Updated.
538 * java/lang/natClass.cc (getClasses): Removed.
539 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
541 (_getConstructors): Removed.
543 2005-06-13 Jim Huang <jserv@kaffe.org>
546 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
547 (_Jv_JNI_NewObject): Likewise.
549 2005-06-13 Tom Tromey <tromey@redhat.com>
552 * testsuite/libjava.lang/pr21844.java: New file.
553 * testsuite/libjava.lang/pr21844.out: New file.
555 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
558 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
561 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
563 * java/text/MessageFormat.java (parse): When parsing strings, check
564 for an empty pattern trailer.
566 2005-06-06 Keith Seitz <keiths@redhat.com>
568 * gnu/classpath/jdwp/util/Signature.java: New file.
569 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
571 2005-06-05 Anthony Green <green@redhat.com>
573 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
576 2005-06-04 Anthony Green <green@redhat.com>
578 * java/net/URLClassLoader.java: import gnu.gcj.Core,
579 and gnu.java.net.protocol.core.CoreInputStream.
580 (CureURLLoader): New class.
581 (CoreResource): New class.
582 (addURLImpl): Add special treatment for the "core" protocol.
583 * gnu/gcj/natCore.cc (find): New method.
584 * gnu/gcj/Core.java (find): New method.
586 2005-06-03 Keith Seitz <keiths@redhat.com>
588 * gnu/classpath/jdwp/transport/ITransport.java: New file.
589 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
590 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
592 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
594 * jawt.c: Remove malloc.h, covered by stdlib.h.
596 * testsuite/libjava.jni/jni.exp
597 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
600 2005-06-02 Keith Seitz <keiths@redhat.com>
602 * gnu/classpath/jdwp/transport/TransportException.java: New file.
604 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
606 * mauve-libgcj: Remove implemented classes from the fail section.
607 Add two new not implemented to it.
609 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
611 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
612 AC_SUBST definition from configure.host.
613 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
614 to -fomit-frame-pointer on 32-bit x86 targets.
616 2005-06-01 Tom Tromey <tromey@redhat.com>
618 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
620 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
623 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
624 (static): Add possessive matching to JAVA_1_4 syntax.
625 * gnu/regexp/RETokenRepeated.java (possessive): New field.
626 (makePossessive, isPossessive): New methods.
627 (match): Don't back off during possessive matching.
628 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
629 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
632 2005-06-01 Keith Seitz <keiths@redhat.com>
634 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
635 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
636 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
638 2005-06-01 Tom Tromey <tromey@redhat.com>
641 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
642 (currentLoader): New method.
643 * java/io/ObjectInputStream.java (resolveProxyClass): Use
645 (currentLoader): Now native.
646 (currentClassLoader): Removed.
647 * testsuite/libjava.lang/pr21785.java: New file.
648 * testsuite/libjava.lang/pr21785.out: New file.
650 2005-06-01 Tom Tromey <tromey@redhat.com>
653 * java/lang/natString.cc (substring): Changed sharing heuristic.
655 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
658 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
659 MAXPATHLEN. Format exception message using a StringBuffer instead.
661 2005-05-29 Michael Koch <konqueror@gmx.de>
664 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
666 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
668 * ChangeLog: Fix typo.
670 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
672 Testsuite adjustments for PR java/19870.
673 * testsuite/libjava.lang/PR19870.java: New testcase.
674 * testsuite/libjava.lang/PR19870.out: Expected output for the
676 * testsuite/libjava.jacks/jacks.xfail: Add
677 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
680 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
682 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
683 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
684 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
686 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
687 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
688 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
689 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
691 2005-05-25 Richard Henderson <rth@redhat.com>
694 * sysdep/descriptor-n.h: New file.
695 * sysdep/descriptor-y.h: New file.
696 * sysdep/powerpc/descriptor.h: New file.
697 * configure.host: Set $descriptor_h appropriate for the host.
698 * configure.ac: Link it.
699 * configure: Regenerate.
700 * stacktrace.cc: Include sysdep/descriptor.h.
701 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
703 2005-05-25 Chris Burdess <dog@gnu.org>
705 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
706 end entity callbacks.
708 2005-05-24 Gary Benson <gbenson@redhat.com>
711 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
712 Handle DateFormat.DEFAULT case correctly.
714 2005-05-21 Tom Tromey <tromey@redhat.com>
717 * java/lang/ref/natReference.cc (find_slot): Handle case where
718 table has no NULL entries.
719 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
720 table has no NULL entries.
722 2005-05-22 Andreas Jaeger <aj@suse.de>
724 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
727 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
729 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
731 2005-05-19 Richard Henderson <rth@redhat.com>
733 * exception.cc: Revert 05-17 gcc_unreachable change.
735 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
737 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
738 _Jv_RegisterInitiatingLoader to register array classes, not
740 (_Jv_RegisterInitiatingLoader): Give up if called very early during
741 bootstrapping. Add a FIXME to handle this case better.
743 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
745 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
747 (libgcj_la_SOURCES): New. Move sources here.
748 (libgcj.la): Remove rule.
750 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
753 * gnu/java/security/provider/DSASignature.java: Import updates
756 2005-05-18 Anthony Green <green@redhat.com>
758 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
759 classpath_jawt_object_unlock, classpath_jawt_create_lock,
760 classpath_jawt_destroy_lock): New functions.
761 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
762 classpath_jawt_object_unlock, classpath_jawt_create_lock,
763 classpath_jawt_destroy_lock): New functions.
764 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
766 * jawt.c: #include malloc.h.
767 (_Jv_Lock): Use lock.
769 (_Jv_GetDrawingSurface): Initialize lock.
770 (_Jv_FreeDrawingSurface): Destroy lock.
771 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
773 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
775 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
776 * Makefile.in: Regenerate.
778 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
780 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
781 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
782 * aclocal.m4, configure, config.h.in, include/config.h.in,
783 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
784 external/Makefile.in, external/sax/Makefile.in,
785 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
787 2005-05-17 David Daney <ddaney@avtrex.com>
790 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
792 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
794 * exception.cc (abort): Remove std::abort hack.
795 (gcc_unreacheable): Define.
797 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
799 * Makefile.am (Makefile.deps): Do not create native.list and
801 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
802 * Makefile.in: Regenerate.
804 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
806 * configure.ac (--enable-libgcj-multifile): Remove.
808 * Makefile.am (all_native_compiled_source_files,
809 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
810 all_libgcj_lo_files, all_xlib_lo_files,
811 all_java_deps_files, all_java_stamp_files,
812 all_java_filelist_files): New variables.
813 (EXTRA_DIST): New Automake variable.
814 (CLEANFILES): Add .stamp, .list and .lo files.
815 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
816 (classes.stamp): Depend on $(all_java_stamp_files).
817 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
818 going through write_entries_to_file.
820 (all_java_source_files, all_property_files): Move earlier.
821 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
822 all_java_class_files): Remove.
823 (gtk_awt_peer_sources): Rename to...
824 (gtk_awt_peer_source_files): ... this. Adjust throughout.
827 (libgcj0_convenience_la_SOURCES): Remove Java source files.
828 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
829 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
830 (libgcj_la_SOURCES): Remove.
831 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
832 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
833 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
835 * configure: Regenerate.
836 * Makefile.in: Regenerate.
837 * external/Makefile.in: Regenerate.
838 * external/sax/Makefile.in: Regenerate.
839 * external/w3c_dom/Makefile.in: Regenerate.
840 * gcj/Makefile.in: Regenerate.
841 * include/Makefile.in: Regenerate.
842 * libltdl/Makefile.in: Regenerate.
843 * testsuite/Makefile.in: Regenerate.
845 2005-05-16 Tom Tromey <tromey@redhat.com>
847 * java/nio/charset/Charset.java (encode, decode): Synchronize on
848 'this', not the class.
850 2005-05-16 Tom Tromey <tromey@redhat.com>
852 * gnu/java/net/protocol/http/Headers.java (parse): Include final
855 2005-05-16 Tom Tromey <tromey@redhat.com>
858 * java/net/URI.java (unquote): Handle lower-case letters as well.
860 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
863 * gnu/regexp/RE.java: Add support for quoting constructs.
865 2005-05-15 Tom Tromey <tromey@redhat.com>
867 * java/lang/String.java (startsWith): Fixed javadoc.
869 2005-05-15 Tom Tromey <tromey@redhat.com>
872 * testsuite/libjava.compile/pr21519.java: New file.
873 * testsuite/libjava.compile/pr21519.no-link: New file.
875 2005-05-15 Tom Tromey <tromey@redhat.com>
877 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
879 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
882 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
883 interrupt status flag if _Jv_CondWait is interrupted.
885 2005-05-13 Tom Tromey <tromey@redhat.com>
887 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
890 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
892 * include/jvm.h (gcj::verifyClasses): Declare.
893 * link.cc (gcj::verbose_class_flag): Moved.
894 * prims.cc (gcj::verifyClasses): Define here.
895 (gcj::verbose_class_flag): Move definition here.
896 (_Jv_Linker::wait_for_state): Don't call verify_class
897 if gcj::verifyClasses is not set.
898 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
900 2005-05-12 Aaron Luchko <aluchko@redhat.com>
902 * gij.cc (main): Recognize '-verify', '-noverify', and
905 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
907 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
909 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
911 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
914 2005-05-11 Tom Tromey <tromey@redhat.com>
916 * external/w3c_dom/Makefile.in: Rebuilt.
917 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
919 * external/sax/Makefile.in: Rebuilt.
920 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
922 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
924 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
925 Call _Jv_CopyClassesToSystemLoader.
926 * java/lang/natClassLoader.cc (system_class_list): New global.
927 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
929 (_Jv_CopyClassesToSystemLoader): New function.
930 (SYSTEM_LOADER_INITIALIZED): New define.
931 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
932 (_Jv_CheckABIVersion): Use it.
933 (_Jv_ClassForBootstrapLoader): New function.
934 * Makefile.in: Rebuilt.
935 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
937 2005-05-10 Tom Tromey <tromey@redhat.com>
939 * gcj/javaprims.h: Updated.
940 * java/lang/String.java (String(StringBuilder)): New constructor.
941 * java/lang/natStringBuilder.cc: New file.
942 * java/lang/StringBuilder.java: New file.
943 * Makefile.in: Rebuilt.
944 * Makefile.am (core_java_source_files): Added StringBuilder.java.
945 (nat_source_files): Added natStringBuilder.cc.
947 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
950 * testsuite/libjava.jacks/jacks.xfail: Adjust.
952 2005-05-09 Mike Stump <mrs@apple.com>
954 * configure: Regenerate.
956 2005-05-09 David Daney <ddaney@avtrex.com>
958 * java/util/BitSet.java (get(int, int)): Fix breakage when
959 requested set doesn't start on a multiple of 64.
961 2005-05-07 Matthias Klose <doko@debian.org>
963 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
965 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
967 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
968 * Makefile.in: Regenerate.
969 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
970 (createCompatibleVolatileImage(int,int)): Implement.
971 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
973 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
975 (createVolatileImage): Implement.
976 (createBuffers): Likewise.
977 (getBackBuffer): Likewise.
979 (destroyBuffers): Likewise.
980 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
981 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
982 (CanvasFlipBufferStrategy): Likewise.
983 (createBufferStrategy(int)): New method.
984 (createBufferStrategy(int,BufferCapabilities)): Likewise.
985 * java/awt/Component.java (BltBufferStrategy): Implement and
987 (FlipBufferStrategy): Likewise.
988 * java/awt/Window.java (WindowBltBufferStrategy): New class.
989 (WindowFlipBufferStrategy): Likewise.
990 (createBufferStrategy(int)): New method.
991 (createBufferStrategy(int,BufferCapabilities)): Likewise.
992 (getBufferStrategy): Likewise.
993 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
994 front to frontCaps and back to backCaps.
996 2005-05-06 Michael Koch <konqueror@gmx.de>
998 * java/awt/BufferCapabilities.java
999 (BufferCapabilities): Merged javadoc.
1001 2005-05-06 Michael Koch <konqueror@gmx.de>
1003 * java/util/Locale.java
1004 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
1005 (getLocale): New methods. Use it everywhere where instances of Locales
1007 (getDisplayLanguage): Merged javadoc.
1008 (getDisplayCountry): Likewise.
1009 (getDisplayVariant): Likewise.
1011 2005-05-06 Archie Cobbs <archie@dellroad.org>
1013 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1014 use DeleteLocalRef() to avoid exhausting local native references.
1016 2005-05-06 Mark Wielaard <mark@klomp.org>
1018 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1019 (window_delete_cb): Don't use C++ style comments.
1021 2005-05-06 Robert Schuster <thebohemian@gmx.net>
1023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
1026 2005-05-06 Robert Schuster <thebohemian@gmx.net>
1028 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1029 (window_delete_cb): Made the function return TRUE.
1031 2005-05-06 Roman Kennke <roman@kennke.org>
1033 * javax/swing/text/PlainView.java
1034 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
1036 * javax/swing/text/Utilities.java
1037 (drawTabbedText): Initilialize local variable pos correctly.
1039 2005-05-06 Roman Kennke <roman@kennke.org>
1041 * javax/swing/text/AbstractDocument.java
1042 (LeafElement): Made start and end package private fields for
1043 effective reindexing.
1044 * javax/swing/text/PlainDocument.java
1045 (constructor): The field rootElement is always BranchElement,
1046 so we handle it as such.
1047 (removeUpdate): Rewritten reindexing for removeUpdate so that
1048 the actual removal is taken into account.
1050 2005-05-06 Roman Kennke <roman@kennke.org>
1052 * javax/swing/text/GapContent.java:
1053 Removed debugging output stuff, which I accidentally left in.
1055 2005-05-06 Roman Kennke <roman@kennke.org>
1057 * javax/swing/text/GapContent.java:
1058 Implemented a real GapContent. Only the public methods have
1059 been implemented so far and still no UndoableEdit support.
1061 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
1063 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
1066 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1068 * java/awt/image/BufferStrategy.java: Document.
1070 * java/awt/BufferCapabilities.java: Document.
1072 2005-05-04 Tom Tromey <tromey@redhat.com>
1074 * java/nio/channels/FileLock.java (toString): Entirely avoid
1077 2005-05-04 Andrew Overholt <overholt@redhat.com>
1079 * java/nio/channels/FileLock.java (toString): Re-implement using
1082 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1084 * java/awt/ImageCapabilities.java: Document.
1086 * java/awt/image/VolatileImage.java: Unindent copyright header.
1088 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
1090 * java/awt/image/VolatileImage.java: Document.
1092 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
1094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1095 (init_glib_threads): Check if threading system is already
1098 2005-05-03 Andrew Overholt <overholt@redhat.com>
1101 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
1102 could not be acquired.
1103 * java/nio/channels/FileLock.java (toString): Re-implement to be
1104 in line with other implementations.
1106 2005-05-03 Tom Tromey <tromey@redhat.com>
1108 * java/lang/VMSecurityManager.java (currentClassLoader): Use
1109 'systemClasssLoader' directly.
1111 2005-05-03 Tom Tromey <tromey@redhat.com>
1113 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
1114 call VMClassLoader.getSystemClassLoader.
1116 2005-04-29 Michael Koch <konqueror@gmx.de>
1118 * java/net/NetworkInterface.java
1120 (NetworkInterface(String,InetAddress)): Made package-private.
1121 (NetworkInterface(String,InetAddress[])): New constructor.
1122 (getRealNetworkInterfaces): Removed.
1123 (getByName): Use VMNetworkInterface.getInterfaces().
1124 (getByInetAddress): Likewise.
1125 (getNetworkInterfaces): Likewise.
1126 * java/net/VMNetworkInterface.java,
1127 java/net/natVMNetworkInterfaceNoNet.cc,
1128 java/net/natVMNetworkInterfacePosix.c,c
1129 java/net/natVMNetworkInterfaceWin32.cc: New files.
1130 * java/net/natNetworkInterfaceNoNet.cc,
1131 java/net/natNetworkInterfacePosix.cc,
1132 java/net/natNetworkInterfaceWin32.cc: Removed.
1135 * configure, Makefile.in: Regenerated.
1137 2005-04-29 Andrew Haley <aph@redhat.com>
1139 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
1141 2005-04-29 Dalibor Topic <robilad@kaffe.org>
1143 * java/nio/channels/FileChannelImpl.java
1144 (FileChannelImpl(String, int)): Removed.
1145 (FileChannelImpl(File, int)): Added. Check if opened file is a
1147 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1148 Call FileChannelImpl(File, int).
1149 * java/io/FileOutputStream.java (FileInputStream): Call
1150 FileChannelImpl(File, int).
1151 * java/io/RandomAccessFile.java (RandomAccessFile):
1152 Call FileChannelImpl(File, int). Switched constructors around.
1154 2005-04-27 Andrew Haley <aph@redhat.com>
1157 * prims.cc (_Jv_ResolvePoolEntry): New function.
1158 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1159 * link.cc (_Jv_Linker::find_field): New arg: found_class.
1160 (resolve_pool_entry): Initialize the class in which a field is
1162 (link_symbol_table): Pass new arg to found_class.
1164 2005-04-29 Michael Koch <konqueror@gmx.de>
1166 * java/nio/charset/Charset.java
1167 (provider): Reformatted.
1169 2005-04-29 Michael Koch <konqueror@gmx.de>
1171 * gnu/java/net/protocol/http/HTTPConnection.java:
1172 (userAgent): Initialize from system properties.
1173 (initUserAgent): Removed.
1175 2005-04-29 Mark Wielaard <mark@klomp.org>
1177 * java/util/ResourceBundle.java (getObject): Clarify
1178 MissingResourceException detailed message.
1179 (tryBundle(String,ClassLoader)): Likewise.
1181 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1183 * java/beans/FeatureDescriptor.java:
1184 (getShortDescription): Implemented fallback mechanism and fixed
1185 documentation (fixes bug #12637).
1186 (getDisplayName): Dito.
1188 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1190 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1191 will now be set correctly.
1192 (flushCaches): Now flushes all cached intermediate data.
1194 2005-04-28 Michael Koch <konqueror@gmx.de>
1196 * java/net/InetAddress.java
1197 (aton): Fixed javadoc.
1200 2005-04-28 Tom Tromey <tromey@redhat.com>
1202 * javax/swing/Timer.java
1203 (drainEvents, queueEvent): Now package-private.
1205 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1207 * javax/swing/Timer.java
1208 (constructor): Assigning initialDelay.
1210 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1212 * javax/swing/Timer.java
1213 (Waker.run): firing the first action event.
1215 2005-04-28 Michael Koch <konqueror@gmx.de>
1217 * javax/swing/Timer.java: Reordered all fields and methods,
1218 Added more javadocs.
1220 2005-04-28 Michael Koch <konqueror@gmx.de>
1222 * javax/swing/Timer.java: Javadocs merged
1225 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
1227 * gnu/java/net/protocol/file/Connection.java
1228 (StaticData): New inner class to contain statics.
1229 (connect, getHeaderField): Modified to use StaticData.
1231 2005-04-28 Michael Koch <konqueror@gmx.de>
1233 * gnu/java/net/protocol/file/Connection.java
1234 (lineSeparator): Initialize with SystemProperties.getProperty().
1236 2005-04-27 Chris Burdess <dog@gnu.org>
1238 * gnu/java/net/protocol/file/Connection.java: Return correct content
1239 length for directory listing.
1240 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
1241 #11285: return valid URLs for directories.i
1243 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1245 * Makefile.am (ordinary_java_source_files): Add
1246 gnu/java/net/protocol/https/Handler.java.
1247 * Makefile.in: Regenerate.
1248 * java/net/URL.java: Remove org.metastatic.jessie from default
1249 protocol search path.
1251 2005-04-27 Chris Burdess <dog@gnu.org>
1253 * gnu/java/net/protocol/https/Handler.java: New file.
1255 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
1257 * javax/imageio/spi/IIORegistry.java (IIORegistry):
1258 Don't assume that awt Toolkit is always ClasspathToolkit.
1260 2005-04-27 Chris Burdess <dog@gnu.org>
1262 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1263 absolute and relative paths in Location header.
1265 2005-04-27 Chris Burdess <dog@gnu.org>
1267 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1268 FileNotFoundException and implement getErrorStream on 404.
1270 2005-04-27 Sven de Marothy <sven@physto.se>
1272 * java/util/TimeZone.java,
1273 (getDefaultDisplayName): Fix previous fix.
1275 2005-04-27 Sven de Marothy <sven@physto.se>
1277 * java/util/TimeZone.java,
1278 (getDefaultDisplayName): Don't print zero offsets.
1280 2005-04-27 Roman Kennke <roman@kennke.org>
1282 * javax/swing/plaf/basic/BasicScrollBarUI
1283 (getThumbBounds): Do not make thumb smaller than
1285 * javax/swing/plaf/metal/MetalLookAndFeel
1286 (initComponentDefaults): Added color defaults for ScrollBar.
1287 * javax/swing/plaf/metal/MetalScrollBarUI
1288 (paintThumb): Added.
1289 (getMinimumThumbSize): Added.
1291 2005-04-27 Roman Kennke <roman@kennke.org>
1293 * javax/swing/plaf/metal/MetalLookAndFeel
1294 (initComponentDefaults): Added some default colors.
1296 2005-04-27 Roman Kennke <roman@kennke.org>
1298 * javax/swing/plaf/basic/BasicScrollBarUI.java
1299 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1300 to 'ScrollBar.thumbShadow'. The formes does not exist.
1301 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1303 2005-04-27 Roman Kennke <roman@kennke.org>
1305 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1306 * javax/swing/BoxLayout.java: Likewise.
1307 * javax/swing/UIManager.java: Likewise.
1308 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1309 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1310 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1311 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1312 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1313 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1314 * javax/swing/text/Document.java: Likewise.
1315 * javax/swing/text/GapContent.java: Likewise.
1316 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1317 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1319 2005-04-27 Roman Kennke <roman@kennke.org>
1321 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1322 (getPropertyPrefix): Added.
1324 2005-04-27 Roman Kennke <roman@kennke.org>
1326 * javax/swing/plaf/basic/BasicButtonUI.java
1327 (getPropertyPrefix): Added.
1328 (installDefaults): Use getPropertyPrefix instead of hard-coded
1331 2005-04-27 Roman Kennke <roman@kennke.org>
1333 * javax/swing/JToggleButton.java
1334 (JToggleButton): Removed horizontalAlignment setting, this
1335 was wrong. Added setting of an actionCommand, ToggleButtons
1336 have "" as default actionCommand.
1338 2005-04-27 Michael Koch <konqueror@gmx.de>
1340 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1341 to work around CNI limitation.
1343 2005-04-27 Sven de Marothy <sven@physto.se>
1345 * java/nio/charset/Charset.java:
1346 (defaultCharset()): New method.
1347 Status updated to 1.5
1349 2005-04-27 Sven de Marothy <sven@physto.se>
1351 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1353 2005-04-27 Sven de Marothy <sven@physto.se>
1355 * java/nio/charset/Charset.java: Reset cached de/encoders.
1357 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1359 * java/nio/charset/Charset.java (forName): Throws
1360 IllegalArgumentException when argument is null
1361 and added documentation.
1363 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1365 * java/nio/charset/Charset.java (providers):
1366 New method to make an array of CharsetProviders defined in
1367 META-INF/services/java.nio.charset.spi.CharsetProvider.
1368 (charsetForName, availableCharsets): Use the
1369 new method providers().
1371 2005-04-26 Michael Koch <konqueror@gmx.de>
1373 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1374 Fixed typos in javadocs.
1375 (isSiteLocalAddress): Fixed handling of byte values.
1376 (isMCLinkLocal): Likewise.
1377 * java/net/Inet4Address.java
1378 (isMulticastAddress): Call super method.
1379 (isLoopbackAddress): Likewise.
1380 (isAnyLocalAddress): Likewise.
1381 (isLinkLocalAddress): Likewise.
1382 (isSiteLocalAddress): Likewise.
1383 (isMCGlobal): Likewise.
1384 (isMCNodeLocal): Likewise.
1385 (isMCLinkLocal): Likewise.
1386 (isMCSiteLocal): Likewise.
1387 (isMCOrgLocal): Likewise.
1388 (getHostAddress): Likewise.
1390 2005-04-26 Sven de Marothy <sven@physto.se>
1392 * java/net/InetAddress.java
1393 (toString): Don't print empty hostnames.
1395 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1398 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1399 'false' to native lock().
1400 (lock): Pass 'true' to native lock().
1402 2005-04-26 Michael Koch <konqueror@gmx.de>
1404 * java/net/InetAddress.java:
1405 Fixed typos in javadocs.
1407 2005-04-26 Andrew Haley <aph@redhat.com>
1410 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1413 2005-04-26 Tom Tromey <tromey@redhat.com>
1415 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1416 gnu): Now package-private.
1417 * javax/swing/text/html/parser/DocumentParser.java (parser,
1418 callBack, gnu): Now package-private.
1419 * javax/swing/text/StringContent.java (content, setOffset,
1420 checkLocation): Now package-private.
1421 * javax/swing/text/JTextComponent.java (doc): Now
1423 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1424 lastGoodOrientation, origParent, borders, cachedBounds,
1425 cachedOrientation, DragWindow): Now package-private.
1426 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1427 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1428 tabAreaRect, contentRect, createIncreaseButton,
1429 createDecreaseButton, findPointForIndex): Now package-private.
1430 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1431 (currentDividerLocation, moveDividerTo): Now package-private.
1432 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1434 * javax/swing/plaf/basic/BasicScrollBarUI.java
1435 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1436 Now package-private.
1437 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1438 (topWindowListener): Now package-private.
1439 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1440 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1441 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1443 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1445 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1446 Now package-private.
1447 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1449 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1450 borderInsets): Now package-private.
1451 (arrowButtonWidth): Likewise. Now a constant.
1452 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1453 makeTabs, updatePreviewPanel): Now package-private.
1454 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1455 darkShadow, highlight): Now package-private.
1456 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1457 (addColorToQueue): Now package-private.
1458 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1459 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1460 GSpinner, BSpinner): Now package-private.
1461 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1462 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1463 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1464 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1465 updateTrack): Now package-private.
1466 * javax/swing/TransferHandler.java (clipboard): Now
1468 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1470 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1472 * javax/swing/RepaintManager.java (globalManager): Now
1474 * javax/swing/JFormattedTextField.java (editValid): Now
1476 * javax/swing/JColorChooser.java (makeModal): Now
1478 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1479 index, path): Now package-private.
1480 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1481 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1482 pointEquals): Now package-private.
1483 * java/awt/geom/Arc2D.java (type): Now package-private.
1484 * java/awt/Window.java (windowFocusOwner): Now package-private.
1485 * java/awt/TextComponent.java (editable, selectionStart,
1486 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1488 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1490 * java/awt/MenuComponent.java (focusListener): Now
1492 * java/awt/Frame.java (state): Now package-private.
1493 * java/awt/Choice.java (pItems): Now package-private.
1494 * java/awt/Checkbox.java (state): Now package-private.
1495 * java/awt/Button.java (actionCommand, label): Now
1497 * gnu/javax/swing/text/html/parser/support/Parser.java
1498 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1500 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1502 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1503 clip, transform, font, comp): Now package-private.
1505 2005-04-26 Tom Tromey <tromey@redhat.com>
1507 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1510 2005-04-26 Mark Wielaard <mark@klomp.org>
1512 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1513 to MalformedURLException.
1515 2005-04-26 Michael Koch <konqueror@gmx.de>
1517 * java/security/AccessControlContext.java:
1519 (protectedDomains): Renamed from 'protectionDomain'.
1520 * java/security/AccessController.java:
1523 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1525 * gnu/java/security/action/GetSecurityPropertyAction.java
1526 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1527 of extending GetPropertyAction.
1530 (setParamters): New methods.
1531 (GetSecurityPropertyAction): Use new setParameters methods.
1533 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1535 * java/security/Security.java,
1536 java/security/cert/X509CRLSelector.java,
1537 java/security/cert/X509CertSelector.java:
1538 Modified to use SystemProperties.
1540 2005-04-26 Michael Koch <konqueror@gmx.de>
1542 * java/lang/System.java
1543 (setSecurityManager): Fixed comment.
1544 (getSecurityManager): Removed obsolete comment.
1546 2005-04-25 Tom Tromey <tromey@redhat.com>
1548 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1550 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1552 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1553 (connectSignals): Realize the window widget after connecting
1556 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1558 * java/awt/GraphicsEnvironment.java
1559 (localGraphicsEnvironment): New field.
1560 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1562 (isHeadless): Added support for java.awt.headless property.
1563 (isHeadlessInstance): Call headless().
1565 2005-04-25 Roman Kennke <roman@kennke.org>
1567 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1568 (getDisplayMode): Added. Returns the current display mode.
1569 (isFullScreenSupported): Added.
1570 * java/awt/GraphicsDevice.java
1571 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1572 This resizes and relocates the fullscreen window so that it uses
1573 the whole screen. This is not a fully accelerated fullscreen
1576 2005-04-25 Michael Koch <konqueror@gmx.de>
1578 * java/lang/Runtime.java,
1579 java/lang/SecurityManager.java,
1580 java/lang/System.java,
1581 java/lang/ThreadGroup.java:
1582 Replaced java.lang.Runtime.securityManager by
1583 java.lang.SecurityManager.current (as used in GNU classpath).
1585 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1587 * java/awt/Transparency.java
1588 (getTransparency): fixed API docs.
1590 2005-04-25 Archie Cobbs <archie@dellroad.org>
1592 * java/lang/Throwable.java: simplify initializing cause in constructor
1594 2005-04-25 Michael Koch <konqueror@gmx.de>
1596 * gnu/classpath/SystemProperties.java: New file.
1597 * gnu/classpath/natSystemProperties.cc: New file.
1598 * java/lang/Runtime.java
1599 (defaultProperties): Removed.
1601 (): Made thrown exceptions more verbose.
1602 (insertSystemProperties): Removed.
1603 * java/lang/System.java
1605 (properties): Likewise.
1606 (setSecurityManager): Reordered modifiers.
1607 (getenv): Improved javadoc.
1609 (isWordsBigEndian): Removed.
1610 * java/lang/natRuntime.cc
1611 (_Jv_SetDLLSearchPath): Likewise.
1612 (file_encoding): Likewise.
1613 (default_file_encoding): Likewise.
1614 (getpwuid_adaptor): Likewise.
1615 (insertSystemProperties): Likewise.
1616 * java/lang/natSystem.cc
1617 (isWordsBigEndian): Likewise.
1619 (ordinary_java_source_files):
1620 Added gnu/classpath/SystemProperties.java.
1621 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1622 * Makefile.in: Regenerated.
1624 2005-04-25 Roman Kennke <roman@kennke.org>
1626 * javax/swing/plaf/basic/BasicScrollBarUI.java
1627 (initDefaults): Initialize thumb*Color fields correctly.
1629 2005-04-25 Roman Kennke <roman@kennke.org>
1631 * javax/swing/text/GapContent.java:
1634 2005-04-25 Roman Kennke <roman@kennke.org>
1636 * javax/swing/plaf/metal/MetalBorders.java:
1637 Added inner class ScrollPaneBorder.
1638 * javax/swing/plaf/metal/MetalLookAndFeel.java
1639 (initComponentDefaults): Added default for "ScrollPane.border"
1640 to use the new ScrollPaneBorder.
1642 2005-04-25 Roman Kennke <roman@kennke.org>
1644 * javax/swing/text/AbstractDocument.java:
1645 Added FIXME comments. This class still has to be
1646 implemented thread-safe.
1648 2005-04-25 Roman Kennke <roman@kennke.org>
1650 * javax/swing/tree/DefaultTreeSelectionModel.java
1651 (DefaultTreeSelectionModel): Initialize listenerList here.
1653 2005-04-25 Roman Kennke <roman@kennke.org>
1655 * javax/swing/plaf/metal/MetalTextFieldUI.java
1656 (createUI): Return one instance per Component instead of a
1659 2005-04-25 Roman Kennke <roman@kennke.org>
1661 * javax/swing/text/Document.java:
1662 Added API documentation comments.
1664 2005-04-25 Roman Kennke <roman@kennke.org>
1666 * javax/swing/text/AbstractDocument.java
1667 (getDocumentProperties): Implemented.
1668 (setDocumentProperties): Implemented.
1669 (getProperty): Implemented.
1670 (putProperty): Implemented.
1672 2005-04-25 Roman Kennke <roman@kennke.org>
1674 * javax/swing/BoxLayout
1675 (preferredLayoutSize): Fixed computation so that it correctly
1676 adds the top and bottom insets of the container.
1678 2005-04-25 Roman Kennke <roman@kennke.org>
1680 * javax/swing/plaf/basic/BasicMenuItemUI.java
1681 (paintText): Make use of the 'selectionForeground' UI default
1684 2005-04-25 Roman Kennke <roman@kennke.org>
1686 * javax/swing/plaf/basic/BasicLookAndFeel.java
1687 (initSystemColorDefaults): Modified colors to match the
1688 BasicLookAndFeel in the reference implementation.
1689 (initComponentDefaults): Likewise.
1691 2005-04-25 Tom Tromey <tromey@redhat.com>
1693 * include/jni.h (_Jv_va_list): Removed.
1694 Moved configuration code...
1695 * include/jni_md.h: ... here. New file.
1696 * include/Makefile.in: Rebuilt.
1697 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1699 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1701 * java/io/FileInputStream.java (FileInputStream(File)),
1702 java/io/FileOutputStream.java (FileOutputStream(File)):
1703 Removed unnecessary File.isDirectory() check.
1705 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1707 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1708 gij if get_multilibs fails.
1710 2005-04-22 Anthony Green <green@redhat.com>
1712 * jni.cc (natrehash): Don't bother clearing memory again.
1713 * interpret.cc (do_allocate_static_fields): Ditto.
1714 * java/lang/natString.cc (rehash): Ditto.
1716 2005-04-22 Roman Kennke <roman@kennke.org>
1718 * javax/swing/plaf/basic/BasicLookAndFeel.java
1719 (initComponentDefaults): Changed Button.border to be
1720 BasicBorders.getButtonBorder as it should be.
1722 2005-04-22 Roman Kennke <roman@kennke.org>
1724 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1725 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1726 should according to a mauve testcase, instead of the preferred
1729 2005-04-22 Roman Kennke <roman@kennke.org>
1731 * javax/swing/JMenu.java
1732 (add): add(Component) now calls PopupMenu.insert(..) instead of
1733 PopupMenu.add(..). add(..) is not implemented for Component,
1734 so JComponent.add(..) is called instead, adding the component
1737 2005-04-22 Roman Kennke <roman@kennke.org>
1739 * javax/swing/plaf/basic/BasicButtonListener.java
1740 (mousePressed): replaced query to getModifiersEx with getModifiers.
1741 This method relied on faulty behaviour in getModifierEx.
1742 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1743 This method relied on faulty behaviour in getModifierEx.
1745 2005-04-22 Roman Kennke <roman@kennke.org>
1747 * javax/swing/plaf/metal/MetalLookAndFeel.java
1748 (getDefaults): Call addCustomEntriesToTable on the theme.
1750 2005-04-22 Roman Kennke <roman@kennke.org>
1752 * javax/swing/tree/DefaultTreeSelectionModel.java
1753 (constructor): Added implementation.
1754 (getRowMapper): Added implementation.
1755 (setSelectionMode): Added implementation.
1756 (getSelectionMode): Added implementation.
1757 (getSelectionPath): Added implementation.
1758 (getSelectionPaths): Added implementation.
1759 (getSelectionCount): Added implementation.
1760 (isSelectionEmpty): Added implementation.
1761 (getSelectionRows): Added implementation.
1762 (getMinSelectionRow): Added implementation.
1763 (getMaxSelectionRow): Added implementation.
1764 (getLeadSelectionRow): Added implementation.
1765 (getLeadSelectionPath): Added implementation.
1767 2005-04-22 Casey Marshall <csm@gnu.org>
1769 * gnu/java/security/der/DERValue.java
1770 (getValueAs): new method.
1771 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1772 (<init>): read both dates with 'DERValue.getValueAs', with
1773 'GENERALIZED_TIME' as the argument.
1775 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1777 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1778 be null, check for that case and don't deference it.
1780 2005-04-22 Sven de Marothy <sven@physto.se>
1782 * java/util/logging/LogManager.java: Reformatted.
1783 (readConfiguration): If a logger for a key is not found, create one.
1785 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1787 * java/rmi/Naming.java:
1788 Added class documentation.
1789 (lookup(String)): Call parseURL and getName.
1790 (bind(String,java.rmi.Remote)): Likewise.
1791 (unbind(String)): Likewise.
1792 (rebind(String, java.rmi.Remote)): Likewise.
1793 (list(String)): Call parseURL.
1794 (parseURL(String)): New method to handle parsing and defaults.
1795 (getName(java.net.URL)): New method to handle finding the service name.
1797 2005-04-21 Tom Tromey <tromey@redhat.com>
1799 * java/lang/natClass.cc (initializeClass): Link class.
1801 2005-04-21 Tom Tromey <tromey@redhat.com>
1803 * java/lang/AssertionError.java: Typo fix.
1805 2005-04-21 Tom Tromey <tromey@redhat.com>
1807 * java/lang/VMClassLoader.java (transformException): Removed.
1808 (resolveClass): No longer native. Now does nothing.
1809 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1811 2005-04-21 Anthony Green <green@redhat.com>
1814 * testsuite/libjava.special/special.exp,
1815 testsuite/libjava.special/pr21115I.java,
1816 testsuite/libjava.special/pr21115.java,
1817 testsuite/libjava.special/pr21115.out: New files.
1819 2005-04-21 Chris Burdess <dog@gnu.org>
1821 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1822 CRLF-delimited chunks.
1824 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1826 * java/net/URI.java:
1827 Added class documentation.
1828 (parseURI(String)): Only handle scheme-specific parts
1829 if URI is not opaque. Allow for parts that can't be null.
1830 (toString()): Output the scheme-specific part whole, rather
1831 than as its possibly non-existent components.
1833 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1835 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1836 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1837 Adjusted to match new regexp.
1839 2005-04-20 Michael Koch <konqueror@gmx.de>
1841 * gnu/java/net/protocol/file/Connection.java,
1842 gnu/java/net/protocol/jar/Connection.java:
1843 Reorganized import statements. Fixed @author tags.
1845 2005-04-20 Chris Burdess <dog@gnu.org>
1847 * java/io/DataOutputStream.java (writeUTF): Use block write for
1850 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1852 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1853 (readLine): Changed newline handling.
1855 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1857 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1858 ColorModel,byte[],int,int): Fixed byte to int conversion.
1860 2005-04-20 Michael Koch <konqueror@gmx.de>
1862 * java/io/FilePermission.java
1863 (serialVersionUID): Made private.
1864 (ALL_FILES): New constant.
1865 (implies): Handle '<<ALL FILES>>' case.
1867 2005-04-20 Sven de Marothy <sven@physto.se>
1869 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1870 (drawImage): Don't notify the image observer for offscreen images.
1871 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1872 (setPixels): Don't notify the image observer.
1874 2005-04-20 Sven de Marothy <sven@physto.se>
1876 * java/nio/ByteBufferImpl.java:
1877 (putChar): Inlined for speed.
1878 (put, get): Bulk methods can use arraycopy.
1879 * java/nio/CharBufferImpl.java:
1880 (put, get): Bulk methods can use arraycopy.
1882 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1884 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1886 * java/nio/CharBufferImpl.java
1887 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1888 (get(), put(char)): Inlined checks and field updates. Fixed to
1889 take array_offset into account.
1890 (get(int), put(int, char)): Fixed to take array_offset into account.
1892 2005-04-20 Sven de Marothy <sven@physto.se>
1894 * java/text/SimpleDateFormat.java:
1895 (formatWithAttribute): Pad year before truncating digits.
1897 2005-04-20 Michael Koch <konqueror@gmx.de>
1899 * gnu/java/net/PlainDatagramSocketImpl.java:
1900 Merged copyright header.
1901 * gnu/java/net/PlainSocketImpl.java:
1902 Reorganized import statements. Fixed @author tags.
1904 2005-04-20 Michael Koch <konqueror@gmx.de>
1906 * gnu/java/lang/ClassHelper.java,
1907 gnu/java/lang/reflect/TypeSignature.java:
1910 2005-04-20 Michael Koch <konqueror@gmx.de>
1912 * gnu/java/beans/IntrospectionIncubator.java:
1913 Fixed HTML tags in javadocs.
1915 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1917 * gnu/java/beans/IntrospectionIncubator.java
1918 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1919 set(), is(), add() and remove() with properties or events.
1921 2005-04-20 Michael Koch <konqueror@gmx.de>
1923 * gnu/java/awt/image/XBMDecoder.java:
1924 Fixed modifier order.
1926 2005-04-20 Roman Kennke <roman@kennke.org>
1928 * javax/swing/plaf/basic/BasicButtonUI.java
1929 (paint): This should not care about margin and insets
1930 at the same time, as insets already include the margin
1932 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1933 (getPreferredButtonSize): Likewise.
1934 * javax/swing/plaf/metal/MetalBorders.java
1935 (getBorderInsets): Likewise.
1937 2005-04-20 Roman Kennke <roman@kennke.org>
1939 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1940 (createMessageArea): The JPanel that holds the message area
1941 doesn't need to override getPreferredSize. This prevents some
1942 message components from rendering nicely.
1944 2005-04-20 Roman Kennke <roman@kennke.org>
1946 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1947 (createUI): Do not share instances between components.
1948 * javax/swing/plaf/metal/MetalSliderUI.java
1949 (createUI): Do not share instances between components.
1951 2005-04-20 Roman Kennke <roman@kennke.org>
1953 * javax/swing/plaf/metal/MetalBorders:
1954 (PopupMenuBorder): Added.
1955 * javax/swing/plaf/metal/MetalLookAndFeel
1956 (initComponentDefaults): Added PopupMenuBorder.
1958 2005-04-20 Roman Kennke <roman@kennke.org>
1960 * javax/swing/tree/DefaultTreeSelectionModel.java:
1961 Added API documentation all over the class.
1963 2005-04-20 Roman Kennke <roman@kennke.org>
1965 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1966 (installDefaults): Link managed JScrollPane in instance field.
1967 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1969 2005-04-20 Roman Kennke <roman@kennke.org>
1971 * javax/swing/plaf/basic/BasicScrollBarUI.java
1972 (PropertyChangeHandler.propertyChange): Add default
1973 to switch statement to avoid errors with unusual values
1975 (installComponents): Likewise.
1977 2005-04-20 Roman Kennke <roman@kennke.org>
1979 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1980 (createUI): Instances cannot be shared among JScrollPanes.
1982 2005-04-20 Roman Kennke <roman@kennke.org>
1984 * javax/swing/plaf/metal/MetalLookAndFeel.java
1985 (initComponentDefaults): Added defaults for Menu, MenuBar
1988 2005-04-20 Roman Kennke <roman@kennke.org>
1990 * javax/swing/plaf/basic/BasicScrollBarUI.java
1991 (installUI): Install listeners after everything all, otherwise
1992 we get strange NPEs in some situations, especially with
1994 (createIncreaseButton): Orientation is expected to be
1995 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1996 HORIZONTAL or VERTICAL.
1997 (createDecreaseButton): Orientation is expected to be
1998 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1999 HORIZONTAL or VERTICAL.
2000 (installComponents): Orientation for buttons is expected to be
2001 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2002 HORIZONTAL or VERTICAL.
2004 2005-04-20 Roman Kennke <roman@kennke.org>
2006 * javax/swing/JToolBar.java
2007 (addImpl): Adjust added AbstractButtons to look and feel like
2009 * javax/swing/plaf/metal/MetalBorders.java:
2010 Adjusted insets of ButtonBorder.
2011 (RolloverMarginBorder): Added class for toolbar buttons.
2012 (getButtonBorder): Adjusted factory method to return a shared
2013 instance of button border.
2014 (getToolbarButtonBorder): Added factory method to return a shared
2015 instance of toolbar button border.
2016 (getMarginBorder): Added factory method to return a shared
2017 instance of margin border.
2018 * javax/swing/plaf/metal/MetalButtonUI.java
2019 (installDefauls): If button is child of a JToolBar then set
2020 special border on this button.
2022 2005-04-20 Michael Koch <konqueror@gmx.de>
2024 * java/net/URLConnection.java
2025 (getContent): Fixed javadoc comment.
2027 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2029 * java/net/URL.java:
2030 (toURI()): Implemented.
2032 2005-04-19 Michael Koch <konqueror@gmx.de>
2034 * java/net/InetAddress.java
2035 (InetAddress): Fixed javadoc comment.
2037 (lookup): Added javadoc.
2038 (getFamily): Likewise.
2039 * java/net/ServerSocket.java
2040 (getChannel): Improved javadoc comment.
2042 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
2044 * gnu/xml/dom/html2/DomHTMLParser.java:
2045 Changed 'enum' references to become 'enumeration'.
2047 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2049 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
2051 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
2053 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
2054 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
2055 * gnu/javax/swing/text/html/parser/htmlValidator.java:
2056 (validateParameters(TagElement,htmlAttributeSet)):
2057 Replaced 'enum' with 'enumeration'.
2058 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
2061 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2063 * javax/swing/text/html/parser/Entity.java (getType): New method.
2064 * javax/swing/text/html/parser/DocumentParser.java:
2065 Inherit from javax.swing.text.html.parser.Parser.
2067 2005-04-19 Chris Burdess <dog@gnu.org>
2069 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
2070 check for HTML/XHTML namespace.
2072 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2074 * javax/swing/text/html/parser/Parser.java,
2075 javax/swing/text/html/parser/Entity.java:
2076 Inheriting from DTDConstants.
2077 * javax/swing/text/html/parser/AttributeList.java
2078 (getValues): Changed return type.
2079 * javax/swing/text/html/parser/DocumentParser
2080 (parse): Adding the callback parameter that receives
2083 2005-04-19 Chris Burdess <dog@gnu.org>
2085 * gnu/xml/dom/DomImpl.java,
2086 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2087 gnu/xml/dom/html2/DomHTMLDocument.java,
2088 gnu/xml/dom/html2/DomHTMLElement.java,
2089 gnu/xml/dom/html2/DomHTMLFormElement.java,
2090 gnu/xml/dom/html2/DomHTMLFrameElement.java,
2091 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2092 gnu/xml/dom/html2/DomHTMLImpl.java,
2093 gnu/xml/dom/html2/DomHTMLInputElement.java,
2094 gnu/xml/dom/html2/DomHTMLObjectElement.java,
2095 gnu/xml/dom/html2/DomHTMLOptionElement.java,
2096 gnu/xml/dom/html2/DomHTMLSelectElement.java,
2097 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2098 gnu/xml/dom/html2/DomHTMLTableElement.java,
2099 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2100 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2101 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
2102 UI events, and tree utility functions.
2104 2005-04-19 Michael Koch <konqueror@gmx.de>
2106 * gnu/javax/swing/text/html/parser/HTML_401F.java,
2107 gnu/javax/swing/text/html/parser/gnuDTD.java,
2108 gnu/javax/swing/text/html/parser/models/node.java:
2109 Reworked import statements.
2111 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
2113 * javax/swing/text/html/HTMLDocument.java: New file.
2115 2005-04-19 Michael Koch <konqueror@gmx.de>
2117 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
2119 * javax/swing/text/html/parser/AttributeList.java:
2120 Fixed order of modifiers.
2121 (AttributeList): Made final.
2122 * javax/swing/text/html/parser/ContentModel.java:
2123 Fixed html characters in javadocs.
2124 * javax/swing/text/html/parser/DTD.java
2125 (DTD): Don't implement java.io.Serializable directly.
2126 (getElement): Simplified.
2127 * javax/swing/text/html/parser/DTDConstants.java:
2129 * javax/swing/text/html/parser/Element.java:
2130 Fixed order of modifiers.
2131 * javax/swing/text/html/parser/Parser.java:
2132 Reformatted. Don't use fully-qualified class names.
2133 * javax/swing/text/html/parser/ParserDelegator.java:
2134 Fixed order of modifiers.
2135 * javax/swing/text/rtf/RTFParser.java:
2136 Re-ordered import statements.
2137 * javax/swing/text/rtf/RTFScanner.java:
2138 Removed unused import statement.
2140 2005-04-19 Chris Burdess <dog@gnu.org>
2142 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
2143 gnu/xml/dom/html2/DomHTMLCollection.java,
2144 gnu/xml/dom/html2/DomHTMLDocument.java,
2145 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2147 * gnu/xml/dom/html2/DomHTMLDListElement.java,
2148 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2149 gnu/xml/dom/html2/DomHTMLDivElement.java,
2150 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2151 gnu/xml/dom/html2/DomHTMLFontElement.java,
2152 gnu/xml/dom/html2/DomHTMLFormElement.java,
2153 gnu/xml/dom/html2/DomHTMLFrameElement.java,
2154 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2155 gnu/xml/dom/html2/DomHTMLHRElement.java,
2156 gnu/xml/dom/html2/DomHTMLHeadElement.java,
2157 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2158 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2159 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2160 gnu/xml/dom/html2/DomHTMLImageElement.java,
2161 gnu/xml/dom/html2/DomHTMLInputElement.java,
2162 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2163 gnu/xml/dom/html2/DomHTMLLIElement.java,
2164 gnu/xml/dom/html2/DomHTMLLabelElement.java,
2165 gnu/xml/dom/html2/DomHTMLLegendElement.java,
2166 gnu/xml/dom/html2/DomHTMLLinkElement.java,
2167 gnu/xml/dom/html2/DomHTMLMapElement.java,
2168 gnu/xml/dom/html2/DomHTMLMenuElement.java,
2169 gnu/xml/dom/html2/DomHTMLMetaElement.java,
2170 gnu/xml/dom/html2/DomHTMLModElement.java,
2171 gnu/xml/dom/html2/DomHTMLOListElement.java,
2172 gnu/xml/dom/html2/DomHTMLObjectElement.java,
2173 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2174 gnu/xml/dom/html2/DomHTMLOptionElement.java,
2175 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2176 gnu/xml/dom/html2/DomHTMLParamElement.java,
2177 gnu/xml/dom/html2/DomHTMLPreElement.java,
2178 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2179 gnu/xml/dom/html2/DomHTMLScriptElement.java,
2180 gnu/xml/dom/html2/DomHTMLSelectElement.java,
2181 gnu/xml/dom/html2/DomHTMLStyleElement.java,
2182 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2183 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2184 gnu/xml/dom/html2/DomHTMLTableColElement.java,
2185 gnu/xml/dom/html2/DomHTMLTableElement.java,
2186 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2187 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2188 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2189 gnu/xml/dom/html2/DomHTMLTitleElement.java,
2190 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2192 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2194 * javax/swing/text/ChangedCharSetException.java,
2195 javax/swing/text/html/HTMLEditorKit.java,
2196 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2197 javax/swing/text/html/parser/AttributeList.java,
2198 javax/swing/text/html/parser/ContentModel.java,
2199 javax/swing/text/html/parser/DocumentParser.java,
2200 javax/swing/text/html/parser/DTD.java,
2201 javax/swing/text/html/parser/DTDConstants.java,
2202 javax/swing/text/html/parser/Element.java,
2203 javax/swing/text/html/parser/Entity.java,
2204 javax/swing/text/html/parser/Parser.java,
2205 javax/swing/text/html/parser/TagElement.java,
2206 gnu/javax/swing/text/html/package.html,
2207 gnu/javax/swing/text/html/parser/gnuDTD.java,
2208 gnu/javax/swing/text/html/parser/HTML_401F.java,
2209 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2210 gnu/javax/swing/text/html/parser/htmlValidator.java,
2211 gnu/javax/swing/text/html/parser/package.html,
2212 gnu/javax/swing/text/html/parser/models/list.java,
2213 gnu/javax/swing/text/html/parser/models/node.java,
2214 gnu/javax/swing/text/html/parser/models/noTagModel.java,
2215 gnu/javax/swing/text/html/parser/models/package.html,
2216 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2217 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2218 gnu/javax/swing/text/html/parser/models/transformer.java,
2219 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
2220 gnu/javax/swing/text/html/parser/support/package.html,
2221 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
2222 gnu/javax/swing/text/html/parser/support/Parser.java,
2223 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
2224 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
2225 gnu/javax/swing/text/html/parser/support/low/Constants.java,
2226 gnu/javax/swing/text/html/parser/support/low/Location.java,
2227 gnu/javax/swing/text/html/parser/support/low/node.java,
2228 gnu/javax/swing/text/html/parser/support/low/package.html,
2229 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
2230 gnu/javax/swing/text/html/parser/support/low/pattern.java,
2231 gnu/javax/swing/text/html/parser/support/low/Queue.java,
2232 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
2234 * javax/swing/text/html/HTML.java,
2235 javax/swing/text/html/parser/ParserDelegator.java:
2236 New files (replacing).
2237 * javax/swing/text/html/package.html,
2238 javax/swing/text/html/parser/package.html: Documenting the
2241 2005-04-19 Chris Burdess <dog@gnu.org>
2243 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2244 gnu/xml/dom/html2/DomHTMLAppletElement.java,
2245 gnu/xml/dom/html2/DomHTMLAreaElement.java,
2246 gnu/xml/dom/html2/DomHTMLBaseElement.java,
2247 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
2248 gnu/xml/dom/html2/DomHTMLBodyElement.java,
2249 gnu/xml/dom/html2/DomHTMLBRElement.java,
2250 gnu/xml/dom/html2/DomHTMLButtonElement.java,
2251 gnu/xml/dom/html2/DomHTMLCollection.java,
2252 gnu/xml/dom/html2/DomHTMLDocument.java,
2253 gnu/xml/dom/html2/DomHTMLElement.java: New files.
2255 2005-04-19 Michael Koch <konqueror@gmx.de>
2257 * Makefile.am: Added new files.
2258 * Makefile.in: Regenerated.
2260 2005-04-19 Roman Kennke <roman@kennke.org>
2262 * javax/swing/text/JTextComponent.java
2263 (JTextComponent): Added repaintListener which issues repaint
2264 requests when the underlying document changes.
2265 (setDocument): Adds repaintListener to document when the
2266 document is changed.
2267 * javax/swing/text/DefaultEditorKit.java:
2268 Removed repaint calls on JTextComponent. This is now handled
2269 through a DocumentListener in JTextComponent that repaints
2270 the component when needed.
2272 2005-04-19 Roman Kennke <roman@kennke.org>
2275 * javax/swing/text/StyleContext.java
2276 (NamedStyle.setResolveParent): Added null
2279 2005-04-19 Michael Koch <konqueror@gmx.de>
2281 * java/rmi/server/RemoteObject.java:
2282 Removed unused import statement.
2284 2005-04-19 Michael Koch <konqueror@gmx.de>
2286 * java/net/URL.java: Formatting cleanups.
2288 2005-04-19 Michael Koch <konqueror@gmx.de>
2290 * java/awt/FontMetrics.java: Reformatted.
2291 (getFontRenderContext): Handle case when java.awt.Graphics context is
2294 2005-04-19 Michael Koch <konqueror@gmx.de>
2296 * java/awt/FontMetrics.java
2297 (getStringBounds): New methods.
2300 2005-04-19 Michael Koch <konqueror@gmx.de>
2302 * gnu/java/security/x509/X509Certificate.java
2303 (parse): Handle val == null case.
2305 2005-04-19 Roman Kennke <roman@kennke.org>
2307 * javax/swing/plaf/metal/MetalLookAndFeel.java
2308 (initComponentDefaults): Added defaults for Menu, MenuBar
2311 2005-04-19 Roman Kennke <roman@kennke.org>
2313 * javax/swing/plaf/metal/MetalLookAndFeel.java
2314 (initComponentDefaults): Added Label.font.
2315 (initSystemColorDefaults): Added this method and adjusted the
2316 general control color.
2318 2005-04-19 Roman Kennke <roman@kennke.org>
2320 * javax/swing/plaf/metal/MetalBorders.java:
2322 * javax/swing/plaf/metal/MetalButtonUI.java:
2323 (installDefaults): Install button font.
2324 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2325 (initComponentDefaults): Added button border, font and margin.
2326 Changed components background color to the Metal current themes
2329 2005-04-19 Roman Kennke <roman@kennke.org>
2331 * javax/swing/plaf/metal/MetalLookAndFeel.java
2332 (initComponentDefaults): Added to set Metal specific component
2335 2005-04-19 Mark Wielaard <mark@klomp.org>
2337 * javax/swing/plaf/metal/MetalLookAndFeel.java
2338 (initClassDefaults): Call super.initClassDefaults().
2340 2005-04-19 Roman Kennke <roman@kennke.org>
2342 * javax/swing/plaf/metal/MetalLookAndFeel.java
2343 (initClassDefaults): Added to include the *UI classes.
2345 2005-04-19 Roman Kennke <roman@kennke.org>
2347 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2349 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2351 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2353 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2355 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2357 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2359 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2361 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2363 * javax/swing/plaf/metal/MetalSliderUI.java:
2365 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2367 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2369 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2371 2005-04-19 Roman Kennke <roman@kennke.org>
2373 * javax/swing/plaf/metal/MetalButtonUI.java:
2374 Added skeleton class.
2375 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2376 Added skeleton class.
2377 * javax/swing/plaf/metal/MetalLabelUI.java:
2378 Added skeleton class.
2379 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2380 Added skeleton class.
2381 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2382 Added skeleton class.
2383 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2384 Added skeleton class.
2386 2005-04-19 Roman Kennke <roman@kennke.org>
2388 * javax/swing/UIDefaults.java:
2389 Added API documentation for all methods.
2391 2005-04-19 Roman Kennke <roman@kennke.org>
2393 * javax/swing/UIDefaults.java
2394 (put): Now uses new checkAndPut method instead of checking
2396 (putDefaults): Fixed so that it accepts null-values and
2397 treats them like remove(key).
2398 (checkAndPut): Added. This checks for null-values and calls
2401 2005-04-19 Michael Koch <konqueror@gmx.de>
2403 * Makefile.am: Added new files.
2404 * Makefile.in: Regenerated.
2406 2005-04-19 Mark Wielaard <mark@klomp.org>
2408 * java/lang/natRuntime.cc (insertSystemProperties): Set
2409 java.class.path to CLASSPATH only when not empty. Fall back to
2410 default path "." when java.class.path is empty.
2412 2005-04-19 Michael Koch <konqueror@gmx.de>
2414 * javax/swing/text/rtf/ControlWordToken.java,
2415 javax/swing/text/rtf/RTFEditorKit.java,
2416 javax/swing/text/rtf/RTFParseException.java,
2417 javax/swing/text/rtf/RTFParser.java,
2418 javax/swing/text/rtf/RTFScanner.java,
2419 javax/swing/text/rtf/TextToken.java,
2420 javax/swing/text/rtf/Token.java: New files.
2421 * Makefile.am: Added new files.
2422 * Makefile.in: Regenerated.
2424 2005-04-19 Michael Koch <konqueror@gmx.de>
2426 * java/awt/geom/QuadCurve2D.java:
2427 Fixed Brian Gough's name for real.
2429 2005-04-19 Roman Kennke <roman@kennke.org>
2431 * javax/swing/UIManager.java:
2432 Make the UIManager respect the swing.defaultlaf system
2435 2005-04-19 Tom Tromey <tromey@redhat.com>
2437 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2440 2005-04-19 Roman Kennke <roman@kennke.org>
2442 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2443 Fixed tabs to spaces.
2445 2005-04-19 Roman Kennke <roman@kennke.org>
2447 * javax/swing/plaf/basic/BasicMenuUI.java
2448 (getMaximumSize): Now returns preferredSize because JMenu should
2449 never be bigger than that.
2450 * javax/swing/JRootPane
2451 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2453 2005-04-19 Roman Kennke <roman@kennke.org>
2455 * javax/swing/JRootPane.java:
2456 Fixed various tabs to be spaces.
2457 (RootLayout.layoutContainer): Made menubar left aligned.
2459 2005-04-19 Roman Kennke <roman@ontographics.com>
2461 * javax/swing/JList.java
2462 (getPreferredScrollableViewportSize):
2463 The previous implementation was merely guessing the size,
2464 now it respects layoutOrientation, visibleRowCount
2466 (getScrollableTracksViewportHeight):
2467 Reimplemented so that layoutOrientation, visibleRowCount
2468 and preferred size are respected.
2469 (getScrollableTracksViewportWidth):
2470 Reimplemented so that layoutOrientation, visibleRowCount
2471 and preferred size are respected.
2472 * javax/swing/plaf/basic/BasicListUI.java
2474 Improved calculation of preferredSize when JList is
2475 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2477 The previous implementation assumed a layoutOrientation of
2478 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2479 JList.VERTICAL_WRAP.
2481 2005-04-19 Roman Kennke <roman@ontographics.com>
2483 * javax/swing/plaf/basic/BasicListUI.java
2484 (paintCell): use CellRendererPane for painting the cells.
2486 2005-04-19 Roman Kennke <roman@ontographics.com>
2488 * javax/swing/plaf/basic/BasicListUI:
2489 fixed modifiers of several fields, methods and inner
2490 classes to match the 'spec'.
2491 (getMaximumSize): removed. It's not in the spec and the
2492 implementations was superfluous.
2494 2005-04-19 Roman Kennke <roman@ontographics.com>
2496 * javax/swing/plaf/basic/BasicListUI:
2497 make BasicListUI capable of wrapping lists
2498 (layoutOrientation property of javax.swing.JList)
2500 2005-04-19 Roman Kennke <roman@ontographics.com>
2502 * javax/swing/plaf/basic/BasicListUI
2503 (updateLayoutState,paint): make BasicListUI aware of the
2504 width of the rendered JList.
2506 2005-04-19 Roman Kennke <roman@kennke.org>
2508 * javax/swing/ImageIcon.java
2509 Added API documentation.
2511 2005-04-19 Roman Kennke <roman@kennke.org>
2513 * javax/swing/text/ImageIcon.java
2514 (ImageIcon): Use setImage instead of direct assignment.
2515 (setImage): Call loadImage to make sure that the image is loaded.
2516 (loadImage): Waits for the image to complete loading.
2517 (getImageLoadStatus): Added. Returns the load status of the
2520 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2522 * javax/swing/JTextArea.java (replaceRange):
2523 Fixing doc.remove(start, length) misinterpretation.
2525 2005-04-19 Roman Kennke <roman@ontographics.com>
2527 * javax/swing/CellRendererPane.java:
2528 implemented all methods of this class.
2529 reformatted all wrong formatted code.
2531 2005-04-19 Roman Kennke <roman@kennke.org>
2533 * javax/swing/BoxLayout.java:
2534 (layoutContainer): Made this layout manager respect the
2535 minimum, maximum and preferred size more correctly.
2537 2005-04-19 Roman Kennke <roman@ontographics.com>
2539 * javax/swing/BoxLayout.java:
2540 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2541 layoutContainer): Make these methods and thereby the
2542 BoxLayout respect the insets (like borders) of the
2543 component that is laid out.
2545 2005-04-19 Roman Kennke <roman@kennke.org>
2547 * javax/swing/JComponent.java:
2548 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2549 Untabified the file.
2551 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2553 * javax/swing/JComboBox.java (constructors): selecting the
2554 first item if the box was constructed from the provided
2555 non - empty array or vector.
2557 2005-04-19 Michael Koch <konqueror@gmx.de>
2559 * gnu/java/awt/peer/gtk/GdkGraphics.java
2560 (getClipBounds): Handle clip being null.
2561 (setClip): Likewise.
2562 * java/beans/beancontext/BeanContextSupport.java
2566 (removeAll): Likewise.
2567 (retainAll): Likewise.
2569 2005-04-19 Michael Koch <konqueror@gmx.de>
2571 * java/beans/beancontext/BeanContextServicesSupport.java
2572 (BeanContextServicesSupport): Reimplemented.
2573 (addBeanContextServicesListener): Implemented.
2574 (initialize): Likewise.
2575 (removeBeanContextServicesListener): Likewise.
2576 * java/beans/beancontext/BeanContextSupport.java
2578 (addBeanContextMembershipListener): Likewise.
2579 (getLocale): Likewise.
2580 (initialize): Likewise.
2581 (iterator): Likewise.
2583 (toArray): Likewise.
2585 2005-04-19 Roman Kennke <roman@kennke.org>
2587 * java/awt/MediaTracker.java:
2588 Reindented tabs to spaces.
2590 2005-04-19 Roman Kennke <roman@kennke.org>
2592 * java/awt/MediaTracker.java
2593 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2594 confused the media tracker and lead to lockups. The LOADING
2595 bit is handled on other places.
2596 (addImage): Removed the 'start image tracking' stuff. This
2597 is not necessary and could confuse the media tracker.
2598 (checkAll): Improved the check for image status so that
2599 images that already complete images are detected. Also now
2600 are really all images checked and if necessary loaded. Before
2601 the method bailed out after the first incomplete image.
2602 (statusAll): Detect images that are complete after the
2603 call to Component.prepareImage(..).
2604 (checkID): The same as in checkAll.
2605 (statusID): The same as in statusAll.
2607 2005-04-19 Roman Kennke <roman@kennke.org>
2609 * java/awt/MediaTracker.java
2610 (addImage): Synchronized list access.
2611 (waitForAll): Fixed comparison of time (changed < to >).
2612 (waitForID): Fixed comparison of time (changed < to >).
2613 (removeImage): Synchronized list access.
2615 2005-04-19 Roman Kennke <roman@kennke.org>
2617 * java/awt/MediaTracker.java
2618 Added API documentation.
2620 2005-04-19 Roman Kennke <roman@kennke.org>
2622 * java/awt/MediaTracker.java
2623 (MediaEntry.imageUpdate): Fixed flags. The different flags
2624 must not be ORed together.
2625 (checkAll): Modified to handle different meaning of the flags.
2626 (waitForAll): Fixed so that it waits maximum the
2627 specified amount of milliseconds.
2628 (statusAll): Modified to handle different meaning of the flags.
2629 (waitForID): Fixed so that it waits maximum the
2630 specified amount of milliseconds.
2632 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2634 * java/awt/Font.java (decode): Handle null argument and allow
2637 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2639 * java/beans/EventHandler.java: Reworked documentation.
2640 (invoke): Fixed behavior to match spec.
2642 2005-04-19 Michael Koch <konqueror@gmx.de>
2644 * java/awt/print/PrinterJob.java
2645 (pageDialog): New method.
2646 (printDialog): Implemented.
2648 2005-04-19 Michael Koch <konqueror@gmx.de>
2650 * java/awt/image/ConvolveOp.java:
2651 Removed comment added by eclipse.
2653 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2655 * java/awt/image/IndexColorModel.java
2656 (getRGB): Check if pixel is negative.
2658 2005-04-19 Michael Koch <konqueror@gmx.de>
2660 * java/awt/image/RasterOp.java:
2661 Fixed wrong formatting.
2663 2005-04-18 Roman Kennke <roman@kennke.org>
2665 * java/awt/Compmonent.java
2666 (setComponentOrientation): Made this property firing a
2667 PropertyChangeEvent.
2669 2005-04-18 Roman Kennke <roman@kennke.org>
2671 * java/awt/BorderLayout.java
2672 (calcSize): Check for overflow when component sizes are added.
2674 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2676 * java/awt/AWTEvent.java (toString): Added case
2677 for source not being an AWT component.
2679 2005-04-18 Chris Burdess <dog@gnu.org>
2681 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2683 2005-04-18 Michael Koch <konqueror@gmx.de>
2685 gnu/java/awt/EmbeddedWindowSupport.java,
2686 gnu/java/net/HeaderFieldHelper.java,
2687 gnu/java/net/URLParseError.java,
2688 gnu/java/net/protocol/file/Handler.java,
2689 gnu/java/net/protocol/jar/Handler.java:
2690 Fixed usage of @author tag.
2692 2005-04-18 Michael Koch <konqueror@gmx.de>
2694 * gnu/xml/aelfred2/XmlParser.java:
2695 Reverted my typo fix.
2697 2005-04-18 Michael Koch <konqueror@gmx.de>
2699 * java/awt/geom/CubicCurve2D.java,
2700 java/awt/geom/QuadCurve2D.java:
2701 Fixed mentioning of Brian Gouph.
2703 2005-04-18 Michael Koch <konqueror@gmx.de>
2705 * gnu/java/awt/Buffers.java,
2706 gnu/java/awt/image/ImageDecoder.java,
2707 gnu/java/awt/image/XBMDecoder.java,
2708 gnu/java/awt/peer/ClasspathFontPeer.java,
2709 gnu/java/net/CRLFInputStream.java,
2710 gnu/java/net/EmptyX509TrustManager.java,
2711 gnu/java/net/LineInputStream.java,
2712 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2713 gnu/java/net/protocol/ftp/BlockInputStream.java,
2714 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2715 gnu/java/net/protocol/ftp/DTP.java,
2716 gnu/java/net/protocol/ftp/DTPInputStream.java,
2717 gnu/java/net/protocol/ftp/FTPConnection.java,
2718 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2719 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2720 gnu/java/net/protocol/ftp/StreamInputStream.java,
2721 gnu/java/net/protocol/http/ChunkedInputStream.java,
2722 gnu/java/net/protocol/http/HTTPConnection.java,
2723 gnu/java/net/protocol/http/HTTPURLConnection.java,
2724 gnu/java/net/protocol/http/Headers.java,
2725 gnu/java/net/protocol/http/Request.java,
2726 gnu/java/nio/ChannelInputStream.java,
2727 gnu/java/nio/ChannelOutputStream.java,
2728 gnu/java/nio/InputStreamChannel.java,
2729 gnu/java/nio/OutputStreamChannel.java,
2730 gnu/java/nio/SelectorProviderImpl.java,
2731 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2732 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2733 gnu/java/rmi/dgc/DGCImpl.java,
2734 gnu/java/rmi/registry/RegistryImpl.java,
2735 gnu/java/rmi/server/ProtocolConstants.java,
2736 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2737 gnu/java/rmi/server/RMIIncomingThread.java,
2738 gnu/java/rmi/server/RMIObjectInputStream.java,
2739 gnu/java/rmi/server/RMIObjectOutputStream.java,
2740 gnu/java/rmi/server/RMIVoidValue.java,
2741 gnu/java/rmi/server/UnicastConnectionManager.java,
2742 gnu/java/rmi/server/UnicastRef.java,
2743 gnu/java/rmi/server/UnicastRemoteCall.java,
2744 gnu/java/rmi/server/UnicastRemoteStub.java,
2745 gnu/java/rmi/server/UnicastServerRef.java,
2746 gnu/java/security/OID.java,
2747 gnu/java/security/der/DERReader.java,
2748 gnu/java/security/provider/CollectionCertStoreImpl.java,
2749 gnu/java/security/provider/DSAParameterGenerator.java,
2750 gnu/java/security/provider/DefaultPolicy.java,
2751 gnu/java/security/provider/EncodedKeyFactory.java,
2752 gnu/java/security/provider/GnuDHPublicKey.java,
2753 gnu/java/security/provider/GnuDSAPrivateKey.java,
2754 gnu/java/security/provider/GnuDSAPublicKey.java,
2755 gnu/java/security/provider/GnuRSAPrivateKey.java,
2756 gnu/java/security/provider/GnuRSAPublicKey.java,
2757 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2758 gnu/java/security/provider/RSA.java,
2759 gnu/java/security/provider/SHA1PRNG.java,
2760 gnu/java/security/provider/SHA1withRSA.java,
2761 gnu/java/security/provider/X509CertificateFactory.java,
2762 gnu/java/security/x509/GnuPKIExtension.java,
2763 gnu/java/security/x509/X500DistinguishedName.java,
2764 gnu/java/security/x509/X509CRL.java,
2765 gnu/java/security/x509/X509CRLEntry.java,
2766 gnu/java/security/x509/X509CertPath.java,
2767 gnu/java/security/x509/X509CertSelectorImpl.java,
2768 gnu/java/security/x509/X509Certificate.java,
2769 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2770 gnu/java/security/x509/ext/BasicConstraints.java,
2771 gnu/java/security/x509/ext/CRLNumber.java,
2772 gnu/java/security/x509/ext/CertificatePolicies.java,
2773 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2774 gnu/java/security/x509/ext/Extension.java,
2775 gnu/java/security/x509/ext/GeneralNames.java,
2776 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2777 gnu/java/security/x509/ext/KeyUsage.java,
2778 gnu/java/security/x509/ext/PolicyConstraint.java,
2779 gnu/java/security/x509/ext/PolicyMappings.java,
2780 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2781 gnu/java/security/x509/ext/ReasonCode.java,
2782 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2783 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2784 Reorganized import statements.
2786 2005-04-18 Michael Koch <konqueror@gmx.de>
2788 * gnu/java/awt/color/CieXyzConverter.java,
2789 gnu/java/awt/color/ClutProfileConverter.java,
2790 gnu/java/awt/color/ColorLookUpTable.java,
2791 gnu/java/awt/color/ColorSpaceConverter.java,
2792 gnu/java/awt/color/GrayProfileConverter.java,
2793 gnu/java/awt/color/GrayScaleConverter.java,
2794 gnu/java/awt/color/LinearRGBConverter.java,
2795 gnu/java/awt/color/ProfileHeader.java,
2796 gnu/java/awt/color/PyccConverter.java,
2797 gnu/java/awt/color/RgbProfileConverter.java,
2798 gnu/java/awt/color/SrgbConverter.java,
2799 gnu/java/awt/color/TagEntry.java,
2800 gnu/java/awt/color/ToneReproductionCurve.java:
2801 Standardized file headers.
2803 2005-04-16 Tom Tromey <tromey@redhat.com>
2805 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2806 'ANY' package-private.
2808 2005-04-15 Tom Tromey <tromey@redhat.com>
2810 * Makefile.in: Rebuilt.
2811 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2812 (libgcj0_convenience_la_LIBADD): ... here.
2814 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2816 * gij.cc (version): Properly quote java version.
2817 (main): Fix typo in comment.
2819 2005-04-13 Mark Wielaard <mark@klomp.org>
2821 * java/lang/natRuntime.cc (insertSystemProperties): Set
2822 java.class.path to CLASSPATH if not already set.
2824 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2826 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2828 2005-04-12 Mike Stump <mrs@apple.com>
2830 * configure: Regenerate.
2832 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2835 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2836 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2838 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2841 * scripts/TexinfoDoclet.java: Removed.
2842 * Makefile.am (texinfo): Removed.
2843 * Makefile.in: Regenerated.
2845 2005-04-11 Michael Koch <konqueror@gmx.de>
2847 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2848 Fixed wrong casting.
2850 2005-04-06 Andrew Haley <aph@redhat.com>
2852 * testsuite/libjava.lang/bytearray.java: New file.
2853 * testsuite/libjava.lang/bytearray.out: New file.
2854 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2855 (loadClass): Use it.
2856 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2858 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2860 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2861 gcj-dbtool dependency
2862 * Makefile.in: Regenerated
2864 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2866 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2867 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2869 2005-04-05 Andrew Haley <aph@redhat.com>
2871 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2872 (Tokenizer): New class.
2873 (getFiles): New method.
2874 (main): Add "-" argument.
2876 Read list of files from stdin when merging map databases.
2877 (usage): Add "-" argument.
2881 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2884 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2885 * Makefile.in: Regenerate.
2886 * configure.ac: Add --with-java-home option.
2887 * configure: Regenerate.
2888 * external/Makefile.in: Regenerate.
2889 * external/sax/Makefile.in: Regenerate.
2890 * external/w3c_dom/Makefile.in: Regenerate.
2891 * gcj/Makefile.in: Regenerate.
2892 * include/Makefile.in: Regenerate.
2893 * testsuite/Makefile.in: Regenerate.
2894 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2897 2005-04-05 Tom Tromey <tromey@redhat.com>
2899 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2900 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2901 Rewrote to use _Jv_FindClassFromSignature.
2902 * verify.cc (resolve): throw NoClassDefFoundError.
2903 * link.cc (resolve_field): Throw NoClassDefFoundError.
2904 (find_field): Likewise.
2905 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2906 Handle error cases. Added 'endp' argument.
2907 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2909 2005-04-05 Tom Tromey <tromey@redhat.com>
2911 * Makefile.in: Rebuilt.
2912 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2913 gtk_awt_peer_sources.
2914 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2915 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2916 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2917 (gtk-awt-peer.lo): New target.
2919 2005-04-04 Steve Pribyl <steve@netfuel.com>
2922 * configure.ac: Fix fastjar definition for cross builds.
2923 * configure: Rebuilt.
2925 2005-04-04 Tom Tromey <tromey@redhat.com>
2927 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2928 it was already found.
2930 2005-04-04 Tom Tromey <tromey@redhat.com>
2932 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2933 org.metastatic.jessie.
2935 2005-04-02 Anthony Green <green@redhat.com>
2938 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2940 2005-04-02 Mark Wielaard <mark@klomp.org>
2942 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2943 Attributes and attribute order doesn't matter.
2944 (BasicAttributesEnumeration.where): Initialize to zero.
2945 (BasicAttributesEnumeration.nextElement): Update and compare where
2946 appropriately (zero based).
2948 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2950 PR libgcj/20090, PR libgcj/20526
2951 * gij.cc (nonstandard_opts_help): New function.
2952 (add_option): New function.
2953 (main): Support java options. Set java.class.path. Don't set
2955 * prims.cc (parse_x_arg): New function.
2956 (parse_init_args): Call parse_x_arg for -X and _ options, when
2957 ignoreUnrecognized is true.
2958 (new _Jv_RunMain): New vm_args variant.
2959 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2960 (_Jv_Jar_Class_Path): Remove variable.
2961 * include/java-props.h: Likewise.
2962 * include/cni.h (JvRealloc): New function.
2963 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2964 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2965 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2967 * configure.ac (JV_VERSION): Define.
2968 (JV_API_VERSION): Likewise.
2969 * configure: Regenerate.
2970 * include/config.h.in: Regenerate.
2972 2005-04-01 Mark Anderson <mark@panonet.net>
2974 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2975 -Infinity as parameters.
2977 2005-04-01 Michael Koch <konqueror@gmx.de>
2979 * java/io/PipedInputStream.java
2980 (read): Make sure a positive byte value is returned. Revised javadoc.
2981 Thanks to Olafur Bragason for reporting these bugs.
2983 2005-04-01 Tom Tromey <tromey@redhat.com>
2985 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2986 Updated for name change.
2987 (nativeFindClass): New method.
2988 (loadClass): Use nativeFindClass.
2989 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2991 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2992 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2994 (initialize): New method.
2995 (nativeFindClass): Declare.
2996 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2997 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2998 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
3000 (definePackageForNative): Removed.
3001 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
3002 Moved to VMClassLoader.java.
3003 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
3004 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
3005 (ordinary_java_source_files): Added ExtensionClassLoader.java,
3006 removed VMClassLoader.java.
3007 (nat_source_files): Removed natVMClassLoader.cc.
3009 2005-04-01 Tom Tromey <tromey@redhat.com>
3011 * Makefile.in: Rebuilt.
3012 * Makefile.am (db_pathtail): Use $(gcc_version), not
3015 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
3017 * java/util/Timer.java
3018 (run): Stop the queue if a task throws an exception.
3020 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3022 * javax/swing/text/JTextComponent.java (viewToModel): New method.
3024 2005-03-29 Ian Lance Taylor <ian@airs.com>
3026 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
3027 * external/sax/Makefile.in: Rebuild.
3028 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
3030 * external/w3c_dom/Makefile.in: Rebuild.
3032 2005-03-29 Tom Tromey <tromey@redhat.com>
3034 * java/lang/natRuntime.cc (insertSystemProperties): Set
3035 gnu.gcj.runtime.endorsed.dirs.
3036 * Makefile.in: Rebuilt.
3037 * Makefile.am (ordinary_java_source_files): Added
3038 HelperClassLoader.java.
3039 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
3040 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
3042 (init): Use addDirectoriesFromProperty.
3043 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
3044 HelperClassLoader. Use addDirectoriesFromProperty. Handle
3045 gnu.gcj.runtime.endorsed.dirs.
3046 * gnu/gcj/runtime/HelperClassLoader.java: New file.
3048 2005-03-26 Chris Burdess <dog@gnu.org>
3050 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
3053 2005-03-13 Michael Koch <konqueror@gmx.de>
3055 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
3057 2005-03-11 Chris Burdess <dog@gnu.org>
3059 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3062 2005-02-27 Chris Burdess <dog@gnu.org>
3064 * gnu/xml/aelfred2/JAXPFactory.java,
3065 gnu/xml/aelfred2/SAXDriver.java,
3066 gnu/xml/aelfred2/XmlParser.java,
3067 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
3068 formatting conventions. Replaced arrays of Object with struct-like
3069 classes for easier maintainability. Made SAXDriver.stringInterning
3070 package private to allow access from XmlParser inside the loop without
3071 a method call overhead.
3073 2005-03-11 Chris Burdess <dog@gnu.org>
3075 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3078 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
3080 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
3081 settings to sub Makefiles.
3082 (GCJH, ZIP): Prefix with top_builddir.
3083 * configure: Rebuild.
3084 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
3085 * external/w3c_dom/Makefile.in: Rebuild.
3086 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
3087 * external/sax/Makefile.in: Rebuild.
3089 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
3091 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3092 libsocket to the libraries to link for Solaris.
3094 2005-03-28 Per Bothner <per@bothner.com>
3096 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
3097 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
3099 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
3101 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
3102 to fix a ONESTEP fallout.
3103 * Makefile.in: Regenerate.
3105 2005-03-25 Mike Stump <mrs@apple.com>
3107 * configure.ac: Fix ZIP and GCJH at configure time to absolute
3108 paths like we do for the compiler, as we use it in external/sax
3109 and it doesn't get MULTIBUILDTOP right when multilibing.
3111 2005-03-24 Anthony Green <green@redhat.com>
3113 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
3115 (usage): Add [LIBDIR] to help output.
3116 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
3117 * Makefile.am (AM_CXXFLAGS): Define
3118 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
3119 (db_pathtail): New macro.
3121 2005-03-24 Tom Tromey <tromey@redhat.com>
3123 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
3124 add sax and w3c libraries.
3125 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
3127 * external/w3c_dom/Makefile.in: Rebuilt.
3128 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
3130 (libw3c_gcj_la_LDFLAGS): New variable.
3131 (noinst_LTLIBRARIES): Renamed.
3132 * external/sax/Makefile.in: Rebuilt.
3133 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
3135 (libsax_gcj_la_LDFLAGS): New variable.
3136 (noinst_LTLIBRARIES): Renamed.
3138 2005-03-23 Tom Tromey <tromey@redhat.com>
3140 * Makefile.in: Rebuilt.
3141 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
3142 (libgcj0_convenience_la_SOURCES): Don't include
3143 gnu_xml_source_files.
3144 (libgcj0_convenience_la_LIBADD): New variable.
3145 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
3146 (all_java_source_files): javax_imageio_source_files,
3147 javax_xml_source_files, and gnu_java_beans_source_files.
3148 ($(gnu_xml_source_files:.java=.lo)): Removed target.
3149 (gnu-xml.lo): New target.
3150 (javax-imageio.lo): Likewise.
3151 (javax-xml.lo): Likewise.
3152 (gnu-java-beans.lo): Likewise.
3153 (gnu_java_beans_source_files): New variable.
3154 (javax_imageio_source_files): Likewise.
3155 (javax_xml_source_files): Likewise.
3156 (javax_source_files): Moved files to other variable.
3157 (awt_java_source_files): Likewise.
3158 (ordinary_java_source_files): Added BootClassLoader.java.
3159 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3160 not system class loader.
3161 (initBootLoader): New method.
3162 (loadClass): Search bootLoader.
3163 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3164 boot loader, not system class loader.
3165 (_Jv_UnregisterInitiatingLoader): Likewise.
3166 (_Jv_FindClass): Likewise. Ensure entries in
3167 bootstrap_class_list are unique.
3168 * java/lang/natClass.cc (getClassLoader): Don't special case
3169 system class loader.
3170 * java/lang/VMClassLoader.java (bootLoader): New field.
3171 (getResource): Use bootLoader.
3172 (getResources): Likewise.
3173 (initBootLoader): Declare.
3174 * gnu/gcj/runtime/BootClassLoader.java: New file.
3175 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3176 (EMPTY_ENUMERATION): Now package-private.
3177 * external/w3c_com/Makefile.in: Rebuilt.
3178 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3179 (w3c.jar): New target.
3180 (classes.stamp): Updated.
3181 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3182 Changed name of library.
3183 (libw3c_gcj_la_SOURCES): New variable.
3184 (libw3c_gcj_la_GCJFLAGS): Likewise.
3185 (source_files): Renamed from lib3c_convenience_la_SOURCES.
3186 * external/sax/Makefile.in: Rebuilt.
3187 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3188 (sax.jar): New target.
3189 (classes.stamp): Updated.
3190 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3191 Changed name of library.
3192 (libsax_gcj_la_SOURCES): New variable.
3193 (libsax_gcj_la_GCJFLAGS): Likewise.
3194 (source_files): Renamed from libsax_convenience_la_SOURCES.
3195 * stacktrace.cc (non_system_trace_fn): Don't look at system class
3197 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3199 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
3201 2005-03-23 Sven de Marothy <sven@physto.se>
3203 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
3205 * java/util/Calendar.java
3206 (set): Use starting day of week when one is needed if none is given.
3207 * java/text/SimpleDateFormat.java
3208 (parse): Handle 1-12 and 1-24 timestamps correctly.
3209 * java/util/GregorianCalendar.java
3210 (computeTime, computeFields): HOUR should be in 0-11 format.
3211 (nonLeniencyCheck): Adjust leniency checking to that fact.
3212 (getLinearDay): Should be private.
3214 2005-03-23 Tom Tromey <tromey@redhat.com>
3216 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3217 (_Jv_CheckABIVersion): Use it.
3219 2005-03-22 Mike Stump <mrs@apple.com>
3221 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
3223 * include/posix.h: .dylib is used on all Apple MACH platforms.
3224 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
3226 2005-03-22 Tom Tromey <tromey@redhat.com>
3228 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
3230 2005-03-21 Tom Tromey <tromey@redhat.com>
3232 * java/lang/VMCompiler.java (static block): Also catch
3233 BufferUnderflowException.
3235 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3237 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
3238 set tool_include_dir. In all substitutions, leave $(gcc_version)
3239 to be expanded by the Makefile.
3240 * aclocal.m4, configure: Regenerate.
3241 * Makefile.am: Set gcc_version. Replace all uses of
3242 @gcc_version@ with $(gcc_version).
3243 * external/Makefile.am, external/sax/Makefile.am
3244 * external/w3c_dom/Makefile.am, gcj/Makefile.am
3245 * testsuite/Makefile.am: Set gcc_version.
3246 * include/Makefile.am: Set gcc_version and tool_include_dir.
3247 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
3248 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
3249 * testsuite/Makefile.in: Regenerate.
3251 2005-03-17 Andrew Haley <aph@redhat.com>
3253 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
3255 Pass klass to _Jv_StackTrace::GetClassContext().
3256 * java/lang/ClassLoader.java (getParent): Pass class to
3257 VMSecurityManager.getClassContext()
3258 (getSystemClassLoader): Likewise.
3259 * java/lang/Package.java (getPackage): Likewise.
3260 (getPackages): Likewise.
3261 * java/lang/SecurityManager.java (getClassContext): Likewise.
3262 (currentClassLoader): Likewise.
3263 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
3264 (currentClassLoader) Add new arg: caller.
3265 Pass caller to VMSecurityManager.getClassContext.
3267 * stacktrace.cc (GetClassContext): Correct calculation of
3270 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
3271 im->source_file_name.
3273 2005-03-16 Andrew Haley <aph@redhat.com>
3275 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3277 2005-03-16 Tom Tromey <tromey@redhat.com>
3279 * link.cc (ensure_class_linked): Removed #ifdef.
3280 (print_class_loaded): Likewise.
3281 (wait_for_state): Likewise.
3282 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3283 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3284 * include/java-interp.h: ... here.
3286 2005-03-16 Tom Tromey <tromey@redhat.com>
3288 * gnu/java/lang/MainThread.java (run): Load main class using
3289 system class loader.
3291 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
3293 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3294 lgcc_s to the libraries to link for Darwin.
3296 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3298 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3299 interpreter-specific code with #ifdef INTERPRETER.
3300 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3301 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3302 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3303 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3304 #ifdef INTERPRETER. Also protect declarations that use it.
3305 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3306 #ifdef INTERPRETER block.
3308 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3311 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3312 * Makefile.in: Rebuilt.
3314 2005-03-15 David Daney <ddaney@avtrex.com>
3316 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3319 2005-03-15 David Daney <ddaney@avtrex.com>
3321 * java/io/BufferedInputStream.java (available): Use 'in' instead
3322 of 'super' for underlying stream access.
3324 (read(byte[], int, int)): Ditto.
3326 (skip): Call skip on underlying stream when possible.
3328 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3330 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3331 SJLJ_EXCEPTIONS is defined.
3333 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3335 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3338 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3340 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3342 (libjava_arguments): Likewise.
3344 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3345 (gcj_jni_test_one): Likewise.
3346 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3347 Add flags to keep the Darwin linker quiet.
3348 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3349 Add -liconv for Darwin.
3351 2005-03-11 Tom Tromey <tromey@redhat.com>
3353 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3354 (_Jv_CheckABIVersion): Use it.
3356 2005-03-11 Tom Tromey <tromey@redhat.com>
3358 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3359 (usage): Document '-p'.
3360 * Makefile.in: Rebuilt.
3361 * Makefile.am (dbexecdir): New variable.
3362 (db_name): Likewise.
3363 (dbexec_DATA): Likewise.
3364 ($(db_name)): New target.
3365 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3366 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3369 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3371 * exception.cc: Remove stray MethodRef.h include.
3372 * java/lang/natClass.cc: Likewise.
3373 * gnu/gcj/runtime/MethodRef.java: Removed.
3374 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3375 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3376 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3377 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3378 * Makefile.in: Rebuilt.
3380 2005-03-10 Tom Tromey <tromey@redhat.com>
3382 * Makefile.in: Rebuilt.
3383 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3385 2005-03-10 Chris Burdess <dog@bluezoo.org>
3387 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3388 not currently parsing the DTD.
3390 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3392 New Stack Trace infrastructure.
3393 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3394 (gnu/gcj/runtime/StackTrace.java): Removed.
3395 (ordinary_java_source_files): Remove obsolete files.
3396 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3397 * configure.host (fallback_backtrace_h): Set backtrace header
3398 for mingw and cygwin targets.
3399 * configure.ac: Make symlink for fallback backtrace headers.
3400 * Makefile.in, configure: Rebuilt.
3401 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3402 Read 'LineNumberTable' attribute.
3403 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3405 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3407 * exception.cc: Remove unused include.
3408 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3409 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3410 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3411 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3412 table to direct threaded instruction values.
3413 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3414 (_Jv_InterpMethod::run): No longer member function. All
3415 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3416 is made or where an instruction could throw.
3417 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3419 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3420 (catch_fpe): Likewise.
3421 * stacktrace.cc: New file. Stack trace code now here.
3422 * gnu/gcj/runtime/MethodRef.java:
3423 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3424 calls addr2line to look up PC addresses in a given binary or shared
3426 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3427 gnu/gcj/runtime/natStackTrace.cc: Removed.
3428 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3429 this function name is specially recognised by the stack trace code
3430 and shouldn't be changed.
3431 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3432 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3433 (_Jv_InterpMethod::run): Update declaration.
3434 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3436 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3437 * include/java-stack.h: New file. Declarations for stack tracing.
3438 * include/jvm.h (_Jv_Frame_info): Removed.
3439 * java/lang/Class.h: Update friend declarations.
3440 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3442 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3443 (getStackTrace): Now native.
3444 (data): New RawDataManaged field.
3445 * java/lang/natClass.cc: Update includes.
3446 (forName): Use _Jv_StackTrace::GetCallingClass for
3447 calling-classloader check.
3448 (getClassLoader): Likewise.
3449 * java/lang/natRuntime.cc: Update includes.
3450 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3451 * java/lang/natVMSecurityManager.cc: Update includes.
3452 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3453 * java/lang/natVMThrowable.cc: New file. Native methods for
3455 * java/lang/reflect/natArray.cc: Update includes.
3456 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3457 accessibility check.
3458 * java/lang/reflect/natConstructor.cc: Update includes.
3459 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3460 accessibility check.
3461 * java/lang/reflect/natField.cc: Update includes.
3462 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3463 accessibility check.
3464 * java/lang/reflect/natMethod.cc: Update includes.
3465 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3466 accessibility check.
3467 * java/util/natResourceBundle.cc: Update includes.
3468 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3469 * java/util/logging/natLogger.cc: Update includes. Use
3470 _Jv_StackTrace::GetCallerInfo to get call-site info.
3471 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3473 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3476 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3478 * testsuite/libjava.compile/PR20312.java: New file.
3479 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3480 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3482 2005-03-09 Andrew Haley <aph@redhat.com>
3484 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3486 (smallTransferTo): New.
3487 (transferFrom): Loop around smallTransferFrom, copying pageSize
3489 (transferTo): Likewise.
3491 2005-03-09 David Daney <ddaney@avtrex.com>
3494 Merge BufferedInputStream from GNU Classpath.
3495 * java/io/BufferedInputStream.java (marktarget): Field removed.
3496 (CHUNKSIZE): Field removed.
3497 (bufferSize): New field.
3498 (BufferedInputStream): Initialize fields.
3499 (close): Invalidate mark and buffer indexes.
3501 (read()): Move mark handling code to refill.
3502 (read(byte[], int, int)): Ditto.
3503 (skip): Ditto and simplify EOF testing.
3504 (refill): Rewritten.
3505 * java/io/InputStreamReader.java (refill): Removed mark and reset
3506 of internal BufferedInputStream.
3508 2005-03-09 Tom Tromey <tromey@redhat.com>
3510 * java/lang/natVMClassLoader.cc (defineClass): Reference
3511 'systemClassLoader' field directly.
3512 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3514 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3515 Reference 'systemClassLoader' field directly.
3516 (_Jv_UnregisterInitiatingLoader): Likewise.
3517 (_Jv_FindClass): Likewise.
3519 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3521 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3523 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3524 the file in GNU Classpath style.
3526 2005-03-09 Tom Tromey <tromey@redhat.com>
3528 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3529 (toString): Synchronize.
3531 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3533 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3534 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3536 2005-03-07 Tom Tromey <tromey@redhat.com>
3538 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3539 (usage): Document '-f'.
3541 2005-03-07 Tom Tromey <tromey@redhat.com>
3543 * java/lang/VMCompiler.java (md5Digest): New field.
3544 (compileClass): Clone md5Digest instead of looking up a new one.
3546 2005-03-07 Tom Tromey <tromey@redhat.com>
3549 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3550 * link.cc (find_field_helper): Added 'type' argument.
3551 (find_field): Updated.
3553 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3554 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3555 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3556 throw UnsupportedOperationException, fixed comments.
3557 (setFont, setForeground): Fixed comments.
3558 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3559 return type to boolean.
3560 (getNextEvent): Fixed javadocs.
3561 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3562 (nativeQueueEmpty): Removed unused code.
3563 (iterateNativeQueue): Removed outer loop.
3565 2005-03-06 Roger Sayle <roger@eyesopen.com>
3568 * Makefile.am (libgcj0_convenience.la): Revert last change.
3569 * Makefile.in: Regenerate.
3571 2005-03-05 Anthony Green <green@redhat.com>
3573 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3574 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3575 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3576 (_Jv_GetDrawingSurface): Set visualID.
3577 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3578 (JAWT_GetAWT): Set Lock and Unlock.
3579 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3581 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3582 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3583 JAWT_LOCK_SURFACE_CHANGED): New macros.
3584 (struct _JAWT): Add Lock and Unlock.
3586 2005-03-05 Roger Sayle <roger@eyesopen.com>
3587 Alexandre Oliva <aoliva@redhat.com>
3588 Kelley Cook <kcook@gcc.gnu.org>
3591 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3592 of the object files to link to avoid exceeding the command line
3593 length limits on some platforms.
3594 (clean-local): Clean up objectlist files.
3595 * Makefile.in: Regenerate.
3597 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3599 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3600 spec_case. Initialize pointer mlo.
3602 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3605 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3607 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3610 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3611 uninitialized variable z.
3613 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3614 possible unused variables.
3616 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3618 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3620 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3623 * testsuite/libjava.jni/jni.exp
3624 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3626 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3628 2005-02-23 David Daney <ddaney@avtrex.com>
3630 * configure.host: Don't use -mxgot for MIPS builds.
3632 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3635 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3636 (COMPPATH): Removed.
3637 (ZIP, GCJH): Replace it with ../$(host_subdir).
3638 (built_gcc_dir): Add $(host_subdir).
3639 * configure: Regenerate.
3640 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3641 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3642 external/w3c_dom/Makefile.in: Regenerate.
3644 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3646 * java/awt/font/TextAttribute.java: changed names to lower case;
3647 (readResolve): implemented.
3648 Added doc comments all over.
3650 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3653 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3654 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3655 value. Move argument parsing code to prims.cc.
3656 * prims.cc (no_properties): Remove.
3657 (_Jv_Compiler_Properties): Initialize to NULL.
3658 (_Jv_Properties_Count): Initialize to 0.
3659 (parse_verbose_args): New function.
3660 (parse_init_args): New function.
3661 (_Jv_CreateJavaVM): Call parse_init_args.
3662 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3663 * gcj/cni.h (JvVMOption): New struct.
3664 (JvVMInitArgs): Likewise.
3665 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3667 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3668 (_Jv_VMInitArgs): Likewise.
3669 * include/java-props.h (_Jv_Properties_Count): Declare.
3670 * java/lang/natRuntime.cc (insertSystemProperties): Use
3671 _Jv_Properties_Count in for loop exit condition.
3672 * testsuite/libjava.jni/jni.exp
3673 (gcj_invocation_compile_c_to_binary): New procedure.
3674 (gcj_invocation_test_one): Likewise.
3675 (gcj_jni_run): Run JNI invocation API tests.
3676 * testsuite/libjava.jni/invocation/PR16923.c,
3677 testsuite/libjava.jni/invocation/PR16923.java,
3678 testsuite/libjava.jni/invocation/PR16923.out: New test.
3680 2005-02-23 Michael Koch <konqueror@gmx.de>
3682 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3683 * Makefile.in: Regenerated.
3685 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3687 * gnu/java/nio/ChannelReader: Fixed comments.
3689 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3691 * java/nio/channels/Channels: Added FIXMEs about
3692 stub method implementation.
3693 (newReader): Implemented.
3694 * gnu/java/nio/ChannelReader: New class.
3696 2005-02-23 Michael Koch <konqueror@gmx.de>
3698 * java/text/SimpleDateFormat.java:
3699 Removed unused import.
3701 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3704 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3705 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3706 * Makefile.in: Regenerate.
3707 * configure.ac: Check for libXtst.
3708 * configure: Regenerate.
3710 2005-02-22 Mark Wielaard <address@bogus.example.com>
3712 * java/security/AlgorithmParameterGenerator.java (getInstance):
3713 Mention provider when throwing NoSuchProviderException.
3714 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3715 * java/security/KeyFactory.java (getInstance): Likewise.
3716 * java/security/KeyStore.java (getInstance): Likewise.
3717 * java/security/SecureRandom.java (getInstance): Likewise.
3718 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3720 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3722 * java/lang/reflect/Proxy.java,
3724 java/security/SecureRandom.java,
3725 java/util/Timer.java,
3726 java/util/prefs/AbstractPreferences.java:
3727 Don't catch java.lang.ThreadDeath.
3729 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3731 * java/awt/font/TransformAttribute.java,
3732 (TransformAttribute(AffineTransform)): throw
3733 IllegalArgumentException for null transform.
3734 (getTransform): return a copy of transform.
3735 Added doc comments to all.
3737 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3739 * java/io/Externalizable.java,
3740 java/io/Serializable.java
3741 (serialVersionUID): Removed.
3742 * java/rmi/server/RemoteObject.java,
3743 java/rmi/server/UID.java
3744 (serialVersionUID): Made private.
3745 * java/rmi/server/RemoteRef.java,
3746 java/rmi/server/ServerRef.java
3747 (serialVersionUID): Set proper value.
3748 * java/security/interfaces/DSAPrivateKey.java,
3749 java/security/interfaces/DSAPublicKey.java,
3750 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3751 java/security/interfaces/RSAPrivateCrtKey.java,
3752 java/security/interfaces/RSAPrivateKey.java,
3753 java/security/interfaces/RSAPublicKey.java,
3754 javax/crypto/SecretKey.java
3755 (serialVersionUID): Added.
3757 2005-02-22 Tom Tromey <tromey@redhat.com>
3759 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3761 2005-02-22 Tom Tromey <tromey@redhat.com>
3764 * verify.cc (type::EITHER): New constant.
3765 (check_field_constant): Use it.
3766 (type::compatible): Handle it.
3768 2005-02-22 Michael Koch <konqueror@gmx.de>
3770 * gnu/java/security/PolicyFile.java,
3771 gnu/java/security/pkcs/PKCS7SignedData.java,
3772 gnu/java/security/pkcs/SignerInfo.java:
3773 Fixed copyright header.
3775 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3777 * java/beans/PropertyDescriptor.java
3778 (PropertyDescriptor,setReadMethod): Set propertyType.
3780 2005-02-22 Michael Koch <konqueror@gmx.de>
3782 * java/nio/DirectByteBufferImpl.java
3783 (owner): Fixed formatting of javadoc.
3784 * java/text/DateFormat.java
3785 (getAvailableLocales): Fixed formatting.
3786 * java/text/SimpleDateFormat.java:
3787 Fixed formatting and import statement order.
3788 * java/util/Calendar.java
3789 (Calendar): Fixed javadoc to be HTML compliant.
3790 * java/util/SimpleTimeZone.java:
3793 2005-02-22 Roman Kennke <roman@ontographics.com>
3795 * javax/swing/plaf/basic/BasicLookAndFeel.java
3796 (initComponentDefaults): Fixed Button left and right margin.
3798 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3800 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3804 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3805 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3806 (getWidth): New method.
3807 (getHeight): Likewise.
3808 (create): Remove width, height and insets parameters. Move size
3810 (realize_cb): ... here. New function.
3811 (connectSignals): Connect realize_cb.
3812 (request_frame_extents): Remove FIXME. Move
3813 postInsetsChangedEvent lookup ...
3814 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3815 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3816 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3818 (windowGetWidthID): Likewise.
3819 (windowGetHeightID): Likewise.
3821 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3825 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3827 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3829 Merge serialization from GNU Classpath.
3830 * gcj/method.h: Add missing #includes.
3831 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3832 primitive class IDs on the stream here...
3833 (resolveClass): ...not here.
3834 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3836 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3837 setLongNative, setIntNative, setShortNative, setCharNative,
3838 setByteNative, setBooleanNative, setObjectNative): New native methods.
3839 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3840 setLongNative, setIntNative, setShortNative, setCharNative,
3841 setByteNative, setBooleanNative, setObjectNative): Implement them.
3842 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3843 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3844 the constructor here.
3845 (callConstructor): Removed.
3846 (getCallersClassLoader): Removed.
3847 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3848 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3849 to control whether setting final field values is permitted. Call
3850 getAddr() with checkFinal parameter instead of setAddr().
3851 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3852 only if not done already.
3853 (getAddr): Add checkFinal parameter. Do the final field check only if
3857 2005-02-21 Mark Wielaard <mark@klomp.org>
3860 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3863 2005-02-21 Mark Wielaard <mark@klomp.org>
3866 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3867 without a super class and us ObjectStreamClass.lookupForClassObject().
3868 (resolveClass): Check for primitive types.
3869 (lookupClass): Return null when argument is null.
3871 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3873 * java/io/ObjectInputStream.java
3874 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3876 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3878 * java/io/ObjectOutputStream.java
3879 (writeObject, callWriteMethod): Replaced reflection with accessing
3880 cached info in ObjectStreamClass.
3881 (getMethod): Removed.
3882 * java/io/ObjectStreamClass.java
3883 (findMethod): Added check to make sure the method found has the
3885 (cacheMethods): Added writeReplace and writeObject methods.
3886 (setFlags): Look at new writeObjectMethod field instead of doing
3888 (writeReplaceMethod): New field.
3889 (writeObjectMethod): New field.
3891 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3892 Jeroen Frijters <jeroen@frijters.net>
3894 * java/io/ObjectInputStream.java
3895 (newObject): Changed prototype. Get a constructor reflect object
3897 (callConstructor): Removed.
3898 (allocateObject): Changed prototype.
3899 (readClassDescriptor): Build the constructor reflection directly.
3900 (readObject): Invoke newObject using the new prototype.
3902 * java/io/ObjectStreamClass.java
3903 (firstNonSerializableParent): Removed.
3904 (firstNonSerializableParentConstructor): Added.
3906 2005-02-21 Mark Wielaard <mark@klomp.org>
3908 * gnu/java/locale/LocaleInformation_en.java: Extend
3909 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3911 2005-02-21 Mark Wielaard <mark@klomp.org>
3913 * java/text/SimpleDateFormat.java
3914 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3915 NullPointerException when formatData is null.
3917 2005-02-21 Mark Wielaard <mark@klomp.org>
3919 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3920 taking dstSavings into account.
3922 2005-02-21 Sven de Marothy <sven@physto.se>
3924 * java/text/SimpleDateFormat.java,
3925 (parse): Set correct DST_OFFSET to the correct value.
3927 2005-02-21 Mark Wielaard <mark@klomp.org>
3929 * java/util/SimpleTimeZone.java (checkRule): Throw
3930 IllegalArgumentException when month out of range.
3932 2005-02-21 Sven de Marothy <sven@physto.se>
3934 * java/util/GregorianCalendar.java,
3935 (add): Don't set fields directly anymore. Use set()
3937 2005-02-21 Mark Wielaard <mark@klomp.org>
3939 * java/text/SimpleDateFormat.java (CompiledField.toString):
3940 Use StringBuffer, not StringBuilder.
3941 (toString): Likewise.
3943 2005-02-21 Sven de Marothy <sven@physto.se>
3945 * java/util/Calendar.java
3946 (clear): Dates should clear to local time.
3947 * java/util/GregorianCalendar.java
3948 (computeTime): Fix priority problem with DAY_OF_WEEK,
3949 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3951 2005-02-21 Sven de Marothy <sven@physto.se>
3953 * java/util/Calendar.java
3954 (Calendar): Constructor should clear fields.
3956 2005-02-21 Sven de Marothy <sven@physto.se>
3958 * java/text/SimpleDateFormat.java
3959 (parse): Tweak handling of 2-year dates
3960 * java/util/Calendar.java
3961 (clear): Clear fields to correct value.
3962 * java/util/GregorianCalendar.java
3963 (computeTime): Correct handling of time zones.
3964 Correct field minimum values.
3966 2005-02-21 Sven de Marothy <sven@physto.se>
3968 * java/util/Calendar.java
3969 (set) Invalidate all fields on first call to set().
3971 2005-02-21 Sven de Marothy <sven@physto.se>
3973 * java/util/GregorianCalendar.java
3974 (computeTime): Fixed handling of time zones.
3976 2005-02-21 Sven de Marothy <sven@physto.se>
3978 * java/util/Calendar.java
3979 (clear): Set values to Epoch instead of zero.
3980 (set): Set isSet to the relevant field pattern instead of just
3982 * java/util/GregorianCalendar.java
3983 (getBundle): Removed.
3984 (getDayOfYear): Removed.
3985 (getFirstDayOfMonth): New private method.
3986 (nonLeniencyCheck): New private method.
3987 (computeTime): Correct handling of insufficient data.
3989 2005-02-21 Sven de Marothy <sven@physto.se>
3991 * java/util/Calendar.java: Invalidate ERA field on setting
3993 * java/util/SimpleTimeZone.java:
3994 (getDaysInMonth): Reimplemented.
3995 * java/util/GregorianCalendar.java:
3996 (getLinearTime): Removed.
3997 (isLeapYear(int,boolean)): Removed.
3998 (before(), after()): Removed.
3999 (computeTime): Reimplemented.
4001 2005-02-21 Sven de Marothy <sven@physto.se>
4003 * java/util/Calendar.java: Reformatted.
4004 * java/util/GregorianCalendar.java: Reformatted.
4005 * java/util/SimpleTimeZone.java: Reformatted.
4007 2005-02-21 Sven de Marothy <sven@physto.se>
4009 * java/util/GregorianCalendar.java
4010 (GregorianCalendar): Update fields in the constructor
4012 2005-02-21 Noa Resare <noa@resare.com>
4014 * java/util/Calendar.java (explicitDSTOffset): New instance field.
4015 (set(int,int)): Set and use new field.
4016 (set(int,int,int)): Check new field.
4018 2005-02-21 Noa Resare <address@hidden>
4020 * java/util/Calendar.java(set):
4021 Fix for DST related regression.
4023 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
4025 * java/util/Calendar.java
4026 (setTimeInMillis): Added call to clear, removed computeFields call.
4027 * java/util/Date.java
4028 (Date(int,int,int,int,int,int)): Removed workaround for
4029 GregorianCalendar bug.
4030 * java/util/GregorianCalendar.java
4031 (GregorianCalendar): Chained all constructors to a (new)
4033 (computeTime): Fixed support for lenient month treatment.
4034 (getLinearDay): Return long instead of int.
4035 (calculateDay): Added fields argument and changed day argument
4038 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4040 * java/text/SimpleDateFormat.java
4041 Lots of documentation updates.
4042 (readObject(java.io.ObjectInputStream)): Wraps
4043 IllegalArgumentException as specified.
4044 (compileFormat(String)): Uses standardChars
4045 rather than the local pattern characters.
4046 Throws IllegalArgumentException rather than
4048 (toString()): Extended to include all variables
4050 (translateLocalizedPattern(String, String, String)):
4051 Renamed to better define the use of this method.
4053 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4055 * java/text/DateFormat.java:
4056 Documented pattern character offset constants and
4058 (Field): Added new static fields for new pattern chars.
4059 * java/text/SimpleDateFormat.java:
4060 (CompiledField): Changed name of FieldSizePair class
4061 to CompiledField after adding the character as an
4062 attribute. Changed fields to private and added
4063 accessors to give encapsulation.
4064 (CompiledField.CompiledField(int,int,char)): Extended
4065 with character field.
4066 (CompiledField.getField()): New accessor method.
4067 (CompiledField.getSize()): New acceessor method.
4068 (CompiledField.getCharacter()): New accessor method.
4069 (CompiledField.toString()): Added primarily for debugging.
4070 (standardChars): Now uses extended 24 character sequence.
4071 (compileFormat(String)): Changed to use CompiledField.
4072 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
4073 java.text.FieldPosition)): Changed to use CompiledField.
4074 New handler for RFC 822 timezones added.
4076 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4078 * java/text/SimpleDateFormat.java:
4079 (parse(String, java.text.ParsePosition)):
4080 Changed 'E' and 'M' cases to use both
4081 short and long names. Extended 'z'
4082 case to also handle 'Z', and deal
4083 with simple GMT offsets such as +0100.
4084 (computeOffset(String)): New private method,
4085 which converts a GMT offset specification,
4086 such as GMT-0500 to a numeric offset in
4088 * java/util/TimeZone.java:
4089 (timezones()): Added "CEST", the daylight
4090 savings time version of "CET", or Central
4093 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
4095 * java/text/SimpleDateFormat.java:
4096 (parse): Set the DST offset to 0 when parsing
4097 GMT offset timezones.
4099 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
4101 * java/text/SimpleDateFormat.java:
4102 (parse): Use offset to set ZONE_OFFSET
4103 rather than the DST_OFFSET, so that
4104 GMT offset timezones change the right
4107 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4109 * java/text/SimpleDateFormat.java:
4110 (getDateFormatSymbols()): return a copy
4111 (setDateFormatSymbols(java.text.DateFormatSymbols)):
4112 throw exception on null input
4113 (clone()): implemented to clone
4116 2005-02-21 Sven de Marothy <sven@physto.se>
4118 * java/text/SimpleDateFormat.java
4119 (parse): comparison should be case-insensitive, ignore null
4122 2005-02-21 Robert Schuster <theBohemian@gmx.net>
4124 * gnu/java/beans/IntrospectionIncubator.java
4125 (addMethod) Reverts the patch that ntroduced a regression (see bug
4126 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
4128 2005-02-21 Michael Koch <konqueror@gmx.de>
4130 * java/awt/Checkbox.java
4131 (next_checkbox_number): New static variable.
4132 (generateName): New method.
4133 (getUniqueLong): Likewise.
4134 * java/awt/Window.java
4135 (next_window_number): New static variable.
4136 (generateName): New method.
4137 (getUniqueLong): Likewise.
4139 2005-02-21 Mark Wielaard <mark@klomp.org>
4141 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
4144 2005-02-21 Andrew Haley <aph@redhat.com>
4146 * Makefile.in: Rebuilt.
4147 * Makefile.am (nat_source_files): Added natLogger.cc.
4148 * java/util/logging/natLogger.cc: New file.
4149 * java/util/logging/Logger.java (getCallerStackFrame): Now
4152 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
4154 * Makefile.am (all_property_files): Remove left over.
4155 (classes.stamp): Add stamp for the ONESTEP build, also known as
4156 --enable-libgcj-multifile.
4157 * Makefile.in: Regenerated.
4159 2005-02-21 Michael Koch <konqueror@gmx.de>
4161 * java/awt/Button.java,
4162 java/awt/Container.java,
4164 java/awt/Frame.java,
4165 java/text/CollationElementIterator.java,
4166 java/text/RuleBasedCollator.java,
4167 java/util/PropertyPermission.java:
4168 Fixed formatting issues all over.
4170 2005-02-21 Mark Wielaard <mark@klomp.org>
4172 * java/io/FileDescriptor.java (sync): Add real exception to
4173 SyncFailedException.
4175 2005-02-21 Michael Koch <konqueror@gmx.de>
4177 * java/io/InputStreamReader.java:
4180 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
4183 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
4185 2005-02-20 Dalibor Topic <robilad@kaffe.org>
4187 * libraries/javalib/gnu/regexp/RE.java,
4188 libraries/javalib/java/io/ObjectInputStream.java,
4189 libraries/javalib/java/security/AllPermission.java,
4190 libraries/javalib/java/security/BasicPermission.java,
4191 libraries/javalib/java/security/Permissions.java,
4192 libraries/javalib/java/text/MessageFormat.java:
4193 Made 'inner' classes real public static inner classes,
4194 and made them final where possible, or removed them
4197 2005-02-20 Michael Koch <konqueror@gmx.de>
4199 * gnu/java/text/FormatCharacterIterator.java:
4200 Removed redundant modifiers.
4202 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4204 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
4207 2005-02-19 Michael Koch <konqueror@gmx.de>
4209 * Makefile.am: Added new files in gnu/java/beans and
4210 java/beans/XMLDecoder.java.
4211 * Makefile.in: Regenerated.
4213 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4215 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
4216 assignment behavior by using java.lang.reflect.Array.set()
4219 2005-02-19 Dalibor Topic <robilad@kaffe.org>
4221 * gnu/java/beans/EmptyBeanInfo.java,
4222 gnu/java/beans/info/ComponentBeanInfo.java:
4223 Removed unused files.
4225 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4227 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
4228 of AppletStub for java.beans.Beans.instantiate.
4229 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
4231 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
4232 to be conformant with Javadoc guidelines.
4233 (instantiate): Added two more overloaded variants, reworked user
4234 documentation, fixed exception behavior, fixed behavior when
4237 2005-02-19 Mark Wielaard <mark@klomp.org>
4239 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
4241 * gnu/java/beans/decoder/DummyContext.java: Likewise.
4243 2005-02-19 Robert Schuster <theBohemian@gmx.net>
4245 * gnu/java/beans/decoder/AbstractContext.java,
4246 gnu/java/beans/decoder/AbstractCreatableContext.java,
4247 gnu/java/beans/decoder/AbstractElementHandler.java,
4248 gnu/java/beans/decoder/AbstractObjectContext.java,
4249 gnu/java/beans/decoder/ArrayContext.java,
4250 gnu/java/beans/decoder/ArrayHandler.java,
4251 gnu/java/beans/decoder/AssemblyException.java,
4252 gnu/java/beans/decoder/BooleanHandler.java,
4253 gnu/java/beans/decoder/ByteHandler.java,
4254 gnu/java/beans/decoder/CharHandler.java,
4255 gnu/java/beans/decoder/ClassHandler.java,
4256 gnu/java/beans/decoder/ConstructorContext.java,
4257 gnu/java/beans/decoder/Context.java,
4258 gnu/java/beans/decoder/DecoderContext.java,
4259 gnu/java/beans/decoder/DefaultExceptionListener.java,
4260 gnu/java/beans/decoder/DoubleHandler.java,
4261 gnu/java/beans/decoder/DummyContext.java,
4262 gnu/java/beans/decoder/DummyHandler.java,
4263 gnu/java/beans/decoder/ElementHandler.java,
4264 gnu/java/beans/decoder/FloatHandler.java,
4265 gnu/java/beans/decoder/GrowableArrayContext.java,
4266 gnu/java/beans/decoder/IndexContext.java,
4267 gnu/java/beans/decoder/IntHandler.java,
4268 gnu/java/beans/decoder/JavaHandler.java,
4269 gnu/java/beans/decoder/LongHandler.java,
4270 gnu/java/beans/decoder/MethodContext.java,
4271 gnu/java/beans/decoder/MethodFinder.java,
4272 gnu/java/beans/decoder/NullHandler.java,
4273 gnu/java/beans/decoder/ObjectContext.java,
4274 gnu/java/beans/decoder/ObjectHandler.java,
4275 gnu/java/beans/decoder/PersistenceParser.java,
4276 gnu/java/beans/decoder/PropertyContext.java,
4277 gnu/java/beans/decoder/ShortHandler.java,
4278 gnu/java/beans/decoder/SimpleHandler.java,
4279 gnu/java/beans/decoder/StaticMethodContext.java,
4280 gnu/java/beans/decoder/StringHandler.java,
4281 gnu/java/beans/decoder/VoidHandler.java: New class
4282 implementing java.beans.XMLDecoder decoding functionality.
4283 * java/beans/XMLDecoder.java: New class.
4285 2005-02-19 Michael Koch <konqueror@gmx.de>
4287 * javax/swing/JTextField.java
4288 (notfiyAction): Added javadoc.
4290 2005-02-19 Sven de Marothy <sven@physto.se>
4292 * javax/swing/SpinnerDateModel.java: Implemented.
4294 2005-02-19 Michael Koch <konqueror@gmx.de>
4296 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4297 * Makefile.in: Regenerated.
4299 2005-02-19 Michael Koch <konqueror@gmx.de>
4301 * gnu/java/nio/SelectorImpl.java:
4302 Reworked import statements.
4303 (register): Removed unused code.
4304 * java/nio/channels/Channels.java: Reformatted.
4305 * java/nio/charset/Charset.java: Likewise.
4306 * java/rmi/server/RemoteObject.java
4307 (serialVersionUID): Made private.
4308 * java/rmi/server/UID.java
4309 (serialVersionUID): Likewise.
4311 2005-02-19 Michael Koch <konqueror@gmx.de>
4313 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4314 gnu/java/net/protocol/ftp/BlockInputStream.java,
4315 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4316 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4317 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4318 gnu/java/net/protocol/ftp/DTPInputStream.java,
4319 gnu/java/net/protocol/ftp/DTP.java,
4320 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4321 gnu/java/net/protocol/ftp/FTPConnection.java,
4322 gnu/java/net/protocol/ftp/FTPException.java,
4323 gnu/java/net/protocol/ftp/FTPResponse.java,
4324 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4325 gnu/java/net/protocol/ftp/Handler.java,
4326 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4327 gnu/java/net/protocol/ftp/StreamInputStream.java,
4328 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4329 gnu/java/net/CRLFInputStream.java,
4330 gnu/java/net/CRLFOutputStream.java,
4331 gnu/java/net/GetLocalHostAction.java,
4332 gnu/java/net/protocol/ftp/package.html: New files.
4333 * Makefile.am: Added new files.
4334 * Makefile.in: Regenerated.
4336 2005-02-18 Tom Tromey <tromey@redhat.com>
4338 * link.cc (make_vtable): Remove abstract method check.
4339 (append_partial_itable): Likewise.
4342 * verify.cc (type::equals): Fixed test.
4343 * testsuite/libjava.lang/PR20056.out: New file.
4344 * testsuite/libjava.lang/PR20056.java: New file.
4346 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4348 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4349 not the HashEntry. Reported by Jean-Marie White.
4351 2005-02-18 Tom Tromey <tromey@redhat.com>
4354 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4355 * link.cc (has_field_p): New function.
4356 * verify.cc (check_field_constant): Added 'putfield' argument.
4357 (verify_instructions_0): Updated.
4358 (type::equals): New method.
4360 2005-02-18 Anthony Green <green@redhat.com>
4362 * NEWS: Draft of libgcj NEWS for 4.0.
4364 2005-02-18 Anthony Green <green@redhat.com>
4366 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4367 architecture names to "i386" for compatibility reasons. Win32
4370 2005-02-18 Anthony Green <green@redhat.com>
4372 * gij.cc (version): Change year for '--version' to 2005.
4373 * gnu/gcj/convert/Convert.java: Ditto.
4374 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4375 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4377 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4378 recent copyright year in `--version' output.
4380 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4382 * java/nio/charset/Charset.java (forName): Throws
4383 IllegalArgumentException when argument is null
4384 and added documentation.
4386 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4388 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4389 Move the position of the source buffer forward.
4391 2005-02-17 Tom Tromey <tromey@redhat.com>
4393 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4394 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4395 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4396 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4397 Changed type of second argument. Rewrote.
4398 (make_vtable): Use it.
4399 (append_partial_itable): Updated.
4400 (layout_vtable_methods): Updated.
4402 2005-02-17 Michael Koch <konqueror@gmx.de>
4404 * gnu/java/net/PlainSocketImpl.java
4405 (shutdownInput): Added javadoc.
4406 (shutdownOutput): Likewise.
4408 2005-02-17 Michael Koch <konqueror@gmx.de>
4410 * javax/print/attribute/standard/Chromaticity.java,
4411 javax/print/attribute/standard/Destination.java,
4412 javax/print/attribute/standard/MediaPrintableArea.java,
4413 javax/print/attribute/standard/MediaSize.java: New files.
4414 * Makefile.am: Added new files.
4415 * Makefile.in: Regenerated.
4417 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4418 Michael Koch <konqueror@gmx.de>
4420 * gnu/java/net/protocol/http/Cookie.java,
4421 gnu/java/net/protocol/http/HTTPConnection.java,
4422 gnu/java/net/protocol/http/HTTPDateFormat.java,
4423 gnu/java/net/protocol/http/Request.java,
4424 gnu/java/nio/PipeImpl.java,
4425 gnu/java/rmi/dgc/DGCImpl.java,
4426 gnu/java/rmi/server/ConnectionRunnerPool.java,
4427 gnu/java/rmi/server/UnicastConnectionManager.java,
4428 gnu/java/security/der/DERWriter.java,
4429 gnu/java/security/pkcs/SignerInfo.java,
4430 gnu/java/security/provider/EncodedKeyFactory.java,
4431 gnu/java/security/provider/GnuDHPublicKey.java,
4432 gnu/java/security/provider/GnuDSAPrivateKey.java,
4433 gnu/java/security/provider/GnuDSAPublicKey.java,
4434 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4435 gnu/java/security/x509/X500DistinguishedName.java,
4436 gnu/java/security/x509/X509CRL.java,
4437 gnu/java/security/x509/X509CRLEntry.java,
4438 gnu/java/security/x509/X509Certificate.java,
4439 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4440 gnu/java/security/x509/ext/CertificatePolicies.java,
4441 gnu/java/security/x509/ext/PolicyConstraint.java,
4442 gnu/xml/dom/Consumer.java,
4443 gnu/xml/dom/DomCharacterData.java,
4444 gnu/xml/dom/DomDocument.java,
4445 gnu/xml/dom/DomDocumentBuilder.java,
4446 gnu/xml/dom/DomIterator.java,
4447 gnu/xml/dom/DomNode.java,
4448 gnu/xml/dom/DomXPathExpression.java,
4449 gnu/xml/dom/DomXPathResult.java,
4450 gnu/xml/dom/JAXPFactory.java,
4451 gnu/xml/pipeline/CallFilter.java,
4452 gnu/xml/pipeline/DomConsumer.java,
4453 gnu/xml/pipeline/LinkFilter.java,
4454 gnu/xml/pipeline/NSFilter.java,
4455 gnu/xml/pipeline/TeeConsumer.java,
4456 gnu/xml/pipeline/ValidationConsumer.java,
4457 gnu/xml/pipeline/WellFormednessFilter.java,
4458 gnu/xml/pipeline/XIncludeFilter.java,
4459 gnu/xml/pipeline/XsltFilter.java,
4460 gnu/xml/transform/ApplyImportsNode.java,
4461 gnu/xml/transform/Bindings.java,
4462 gnu/xml/transform/DocumentFunction.java,
4463 gnu/xml/transform/FormatNumberFunction.java,
4464 gnu/xml/transform/NodeNumberNode.java,
4465 gnu/xml/transform/NumberNode.java,
4466 gnu/xml/transform/Stylesheet.java,
4467 gnu/xml/transform/SystemPropertyFunction.java,
4468 gnu/xml/transform/Template.java,
4469 gnu/xml/transform/TemplatesImpl.java,
4470 gnu/xml/transform/TransformerImpl.java,
4471 gnu/xml/transform/ValueOfNode.java,
4472 gnu/xml/transform/XSLURIResolver.java,
4473 gnu/xml/util/DoParse.java,
4474 gnu/xml/util/Resolver.java,
4475 gnu/xml/xpath/Expr.java,
4476 gnu/xml/xpath/FunctionCall.java,
4477 gnu/xml/xpath/RelationalExpr.java,
4478 gnu/xml/xpath/Selector.java,
4479 gnu/xml/xpath/XPathParser.java:
4480 Reworked import statements, fixed modifier order and some little
4483 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4485 * java/nio/ByteBufferImpl.java (compact):
4486 Set position and limit even if no bytes were moved.
4488 2005-02-17 Michael Koch <konqueror@gmx.de>
4490 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4491 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4492 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4493 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4494 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4495 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4496 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4497 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4498 * java/nio/FloatBufferImpl.java (compact): Set position.
4499 * java/nio/CharBufferImpl.java (compact): Likewise.
4500 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4501 * java/nio/IntBufferImpl.java (compact): Likewise.
4502 * java/nio/LongBufferImpl.java (compact): Likewise.
4503 * java/nio/ShortBufferImpl.java (compact): Likewise.
4505 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4507 * java/nio/ByteBufferImpl.java,
4508 java/nio/CharBufferImpl.java,
4509 java/nio/DirectByteBufferImpl.java,
4510 java/nio/DoubleBufferImpl.java,
4511 java/nio/FloatBufferImpl.java,
4512 java/nio/IntBufferImpl.java,
4513 java/nio/LongBufferImpl.java,
4514 java/nio/MappedByteBufferImpl.java,
4515 java/nio/ShortBufferImpl.java
4516 (compact): Added explicit read-only check and invalidate mark.
4518 2005-02-17 Michael Koch <konqueror@gmx.de>
4520 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4521 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4522 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4523 gnu/java/awt/peer/gtk/GdkGraphics.java,
4524 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4525 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4526 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4527 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4528 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4529 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4530 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4531 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4532 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4533 gnu/java/awt/peer/gtk/GtkClipboard.java,
4534 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4535 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4536 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4537 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4538 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4539 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4540 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4541 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4542 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4543 gnu/java/awt/peer/gtk/GtkToolkit.java,
4544 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4545 java/applet/Applet.java,
4546 java/awt/AWTError.java,
4547 java/awt/AWTEvent.java,
4548 java/awt/AWTEventMulticaster.java,
4549 java/awt/AWTException.java,
4550 java/awt/AWTKeyStroke.java,
4551 java/awt/AWTPermission.java,
4552 java/awt/ActiveEvent.java,
4553 java/awt/Adjustable.java,
4554 java/awt/AlphaComposite.java,
4555 java/awt/AttributeValue.java,
4556 java/awt/BorderLayout.java,
4557 java/awt/BufferCapabilities.java,
4558 java/awt/Button.java,
4559 java/awt/Canvas.java,
4560 java/awt/CheckboxGroup.java,
4561 java/awt/CheckboxMenuItem.java,
4562 java/awt/Color.java,
4563 java/awt/ColorPaintContext.java,
4564 java/awt/Component.java,
4565 java/awt/ComponentOrientation.java,
4566 java/awt/Composite.java,
4567 java/awt/CompositeContext.java,
4568 java/awt/Container.java,
4569 java/awt/ContainerOrderFocusTraversalPolicy.java,
4570 java/awt/DefaultFocusTraversalPolicy.java,
4571 java/awt/Dialog.java,
4572 java/awt/Dimension.java,
4573 java/awt/DisplayMode.java,
4574 java/awt/EventQueue.java,
4575 java/awt/FileDialog.java,
4576 java/awt/FontFormatException.java,
4577 java/awt/Graphics.java,
4578 java/awt/Graphics2D.java,
4579 java/awt/GraphicsConfigTemplate.java,
4580 java/awt/GraphicsConfiguration.java,
4581 java/awt/GraphicsDevice.java,
4582 java/awt/GridBagLayout.java,
4583 java/awt/GridBagLayoutInfo.java,
4584 java/awt/GridLayout.java,
4585 java/awt/HeadlessException.java,
4586 java/awt/IllegalComponentStateException.java,
4587 java/awt/Image.java,
4588 java/awt/Insets.java,
4589 java/awt/ItemSelectable.java,
4590 java/awt/JobAttributes.java,
4591 java/awt/KeyEventDispatcher.java,
4592 java/awt/KeyEventPostProcessor.java,
4593 java/awt/KeyboardFocusManager.java,
4594 java/awt/Label.java,
4595 java/awt/LayoutManager.java,
4596 java/awt/MenuBar.java,
4597 java/awt/MenuComponent.java,
4598 java/awt/MenuContainer.java,
4599 java/awt/PageAttributes.java,
4600 java/awt/Paint.java,
4601 java/awt/PaintContext.java,
4602 java/awt/Panel.java,
4603 java/awt/Point.java,
4604 java/awt/Polygon.java,
4605 java/awt/PrintGraphics.java,
4606 java/awt/PrintJob.java,
4607 java/awt/Rectangle.java,
4608 java/awt/RenderingHints.java,
4609 java/awt/Shape.java,
4610 java/awt/Stroke.java,
4611 java/awt/SystemColor.java,
4612 java/awt/Toolkit.java,
4613 java/awt/Transparency.java,
4614 java/awt/Window.java,
4615 java/awt/color/CMMException.java,
4616 java/awt/color/ColorSpace.java,
4617 java/awt/color/ICC_ColorSpace.java,
4618 java/awt/color/ICC_Profile.java,
4619 java/awt/color/ProfileDataException.java,
4620 java/awt/datatransfer/FlavorTable.java,
4621 java/awt/datatransfer/MimeTypeParseException.java,
4622 java/awt/datatransfer/Transferable.java,
4623 java/awt/datatransfer/UnsupportedFlavorException.java,
4624 java/awt/dnd/Autoscroll.java,
4625 java/awt/dnd/DnDConstants.java,
4626 java/awt/dnd/DragGestureListener.java,
4627 java/awt/dnd/DragSourceAdapter.java,
4628 java/awt/dnd/DragSourceDropEvent.java,
4629 java/awt/dnd/DragSourceListener.java,
4630 java/awt/dnd/DragSourceMotionListener.java,
4631 java/awt/dnd/DropTargetAdapter.java,
4632 java/awt/dnd/DropTargetContext.java,
4633 java/awt/dnd/DropTargetListener.java,
4634 java/awt/dnd/InvalidDnDOperationException.java,
4635 java/awt/dnd/MouseDragGestureRecognizer.java,
4636 java/awt/dnd/peer/DropTargetContextPeer.java,
4637 java/awt/event/AWTEventListener.java,
4638 java/awt/event/AWTEventListenerProxy.java,
4639 java/awt/event/ActionEvent.java,
4640 java/awt/event/AdjustmentEvent.java,
4641 java/awt/event/AdjustmentListener.java,
4642 java/awt/event/ComponentAdapter.java,
4643 java/awt/event/ComponentEvent.java,
4644 java/awt/event/ComponentListener.java,
4645 java/awt/event/ContainerAdapter.java,
4646 java/awt/event/ContainerEvent.java,
4647 java/awt/event/ContainerListener.java,
4648 java/awt/event/FocusAdapter.java,
4649 java/awt/event/FocusEvent.java,
4650 java/awt/event/FocusListener.java,
4651 java/awt/event/InputEvent.java,
4652 java/awt/event/InputMethodEvent.java,
4653 java/awt/event/InputMethodListener.java,
4654 java/awt/event/InvocationEvent.java,
4655 java/awt/event/ItemEvent.java,
4656 java/awt/event/ItemListener.java,
4657 java/awt/event/KeyAdapter.java,
4658 java/awt/event/KeyEvent.java,
4659 java/awt/event/KeyListener.java,
4660 java/awt/event/MouseAdapter.java,
4661 java/awt/event/MouseEvent.java,
4662 java/awt/event/MouseListener.java,
4663 java/awt/event/MouseMotionAdapter.java,
4664 java/awt/event/MouseMotionListener.java,
4665 java/awt/event/MouseWheelEvent.java,
4666 java/awt/event/MouseWheelListener.java,
4667 java/awt/event/PaintEvent.java,
4668 java/awt/event/TextEvent.java,
4669 java/awt/event/TextListener.java,
4670 java/awt/event/WindowAdapter.java,
4671 java/awt/event/WindowEvent.java,
4672 java/awt/event/WindowFocusListener.java,
4673 java/awt/event/WindowListener.java,
4674 java/awt/event/WindowStateListener.java,
4675 java/awt/font/TextHitInfo.java,
4676 java/awt/geom/CubicCurve2D.java,
4677 java/awt/geom/Dimension2D.java,
4678 java/awt/geom/Ellipse2D.java,
4679 java/awt/geom/IllegalPathStateException.java,
4680 java/awt/geom/Line2D.java,
4681 java/awt/geom/NoninvertibleTransformException.java,
4682 java/awt/geom/PathIterator.java,
4683 java/awt/geom/Point2D.java,
4684 java/awt/geom/QuadCurve2D.java,
4685 java/awt/geom/RectangularShape.java,
4686 java/awt/geom/RoundRectangle2D.java,
4687 java/awt/im/InputContext.java,
4688 java/awt/im/InputMethodHighlight.java,
4689 java/awt/im/InputMethodRequests.java,
4690 java/awt/im/InputSubset.java,
4691 java/awt/im/spi/InputMethod.java,
4692 java/awt/im/spi/InputMethodDescriptor.java,
4693 java/awt/image/BandCombineOp.java,
4694 java/awt/image/BandedSampleModel.java,
4695 java/awt/image/ByteLookupTable.java,
4696 java/awt/image/ComponentSampleModel.java,
4697 java/awt/image/DataBuffer.java,
4698 java/awt/image/DataBufferByte.java,
4699 java/awt/image/DataBufferDouble.java,
4700 java/awt/image/DataBufferFloat.java,
4701 java/awt/image/DataBufferInt.java,
4702 java/awt/image/DataBufferShort.java,
4703 java/awt/image/DataBufferUShort.java,
4704 java/awt/image/ImagingOpException.java,
4705 java/awt/image/Kernel.java,
4706 java/awt/image/LookupTable.java,
4707 java/awt/image/MultiPixelPackedSampleModel.java,
4708 java/awt/image/PackedColorModel.java,
4709 java/awt/image/PixelInterleavedSampleModel.java,
4710 java/awt/image/RGBImageFilter.java,
4711 java/awt/image/Raster.java,
4712 java/awt/image/RasterFormatException.java,
4713 java/awt/image/SampleModel.java,
4714 java/awt/image/ShortLookupTable.java,
4715 java/awt/image/SinglePixelPackedSampleModel.java,
4716 java/awt/image/WritableRaster.java,
4717 java/awt/print/PrinterAbortException.java,
4718 java/awt/print/PrinterException.java,
4719 java/awt/print/PrinterIOException.java,
4720 java/beans/AppletInitializer.java,
4721 java/beans/ExceptionListener.java,
4722 java/beans/PropertyChangeEvent.java,
4723 java/beans/PropertyChangeListenerProxy.java,
4724 java/beans/PropertyChangeSupport.java,
4725 java/beans/PropertyDescriptor.java,
4726 java/beans/VetoableChangeListenerProxy.java,
4727 java/beans/VetoableChangeSupport.java,
4728 java/io/BufferedReader.java,
4729 java/io/ByteArrayInputStream.java,
4730 java/io/ByteArrayOutputStream.java,
4731 java/io/CharArrayReader.java,
4732 java/io/CharArrayWriter.java,
4733 java/io/CharConversionException.java,
4734 java/io/DataInput.java,
4735 java/io/DataInputStream.java,
4736 java/io/DataOutput.java,
4737 java/io/DataOutputStream.java,
4738 java/io/EOFException.java,
4739 java/io/FileInputStream.java,
4740 java/io/FileNotFoundException.java,
4741 java/io/FileOutputStream.java,
4742 java/io/FilenameFilter.java,
4743 java/io/FilterInputStream.java,
4744 java/io/FilterOutputStream.java,
4745 java/io/FilterReader.java,
4746 java/io/FilterWriter.java,
4747 java/io/IOException.java,
4748 java/io/InputStream.java,
4749 java/io/InterruptedIOException.java,
4750 java/io/LineNumberInputStream.java,
4751 java/io/LineNumberReader.java,
4752 java/io/ObjectInputStream.java,
4753 java/io/ObjectStreamException.java,
4754 java/io/OptionalDataException.java,
4755 java/io/OutputStream.java,
4756 java/io/OutputStreamWriter.java,
4757 java/io/PrintStream.java,
4758 java/io/PrintWriter.java,
4759 java/io/PushbackInputStream.java,
4760 java/io/PushbackReader.java,
4761 java/io/RandomAccessFile.java,
4762 java/io/Reader.java,
4763 java/io/SequenceInputStream.java,
4764 java/io/Serializable.java,
4765 java/io/StreamCorruptedException.java,
4766 java/io/StreamTokenizer.java,
4767 java/io/StringBufferInputStream.java,
4768 java/io/StringWriter.java,
4769 java/io/SyncFailedException.java,
4770 java/io/UTFDataFormatException.java,
4771 java/io/UnsupportedEncodingException.java,
4772 java/io/WriteAbortedException.java,
4773 java/io/Writer.java,
4774 java/lang/AbstractMethodError.java,
4775 java/lang/ArithmeticException.java,
4776 java/lang/ArrayIndexOutOfBoundsException.java,
4777 java/lang/ArrayStoreException.java,
4778 java/lang/AssertionError.java,
4779 java/lang/Boolean.java,
4780 java/lang/Byte.java,
4781 java/lang/Class.java,
4782 java/lang/ClassCastException.java,
4783 java/lang/ClassCircularityError.java,
4784 java/lang/ClassLoader.java,
4785 java/lang/ClassNotFoundException.java,
4786 java/lang/CloneNotSupportedException.java,
4787 java/lang/Cloneable.java,
4788 java/lang/Comparable.java,
4789 java/lang/Compiler.java,
4790 java/lang/Double.java,
4791 java/lang/Error.java,
4792 java/lang/Exception.java,
4793 java/lang/ExceptionInInitializerError.java,
4794 java/lang/Float.java,
4795 java/lang/IllegalAccessError.java,
4796 java/lang/IllegalAccessException.java,
4797 java/lang/IllegalArgumentException.java,
4798 java/lang/IllegalMonitorStateException.java,
4799 java/lang/IllegalStateException.java,
4800 java/lang/IllegalThreadStateException.java,
4801 java/lang/IncompatibleClassChangeError.java,
4802 java/lang/IndexOutOfBoundsException.java,
4803 java/lang/InheritableThreadLocal.java,
4804 java/lang/InstantiationError.java,
4805 java/lang/InstantiationException.java,
4806 java/lang/Integer.java,
4807 java/lang/InternalError.java,
4808 java/lang/InterruptedException.java,
4809 java/lang/LinkageError.java,
4810 java/lang/Long.java,
4811 java/lang/NegativeArraySizeException.java,
4812 java/lang/NoClassDefFoundError.java,
4813 java/lang/NoSuchFieldError.java,
4814 java/lang/NoSuchFieldException.java,
4815 java/lang/NoSuchMethodError.java,
4816 java/lang/NoSuchMethodException.java,
4817 java/lang/NullPointerException.java,
4818 java/lang/Number.java,
4819 java/lang/NumberFormatException.java,
4820 java/lang/OutOfMemoryError.java,
4821 java/lang/Process.java,
4822 java/lang/Runnable.java,
4823 java/lang/Runtime.java,
4824 java/lang/RuntimeException.java,
4825 java/lang/RuntimePermission.java,
4826 java/lang/SecurityException.java,
4827 java/lang/SecurityManager.java,
4828 java/lang/Short.java,
4829 java/lang/StackOverflowError.java,
4830 java/lang/StackTraceElement.java,
4831 java/lang/StringBuffer.java,
4832 java/lang/StringIndexOutOfBoundsException.java,
4833 java/lang/ThreadDeath.java,
4834 java/lang/ThreadGroup.java,
4835 java/lang/Throwable.java,
4836 java/lang/UnsatisfiedLinkError.java,
4837 java/lang/UnsupportedOperationException.java,
4838 java/lang/VerifyError.java,
4839 java/lang/VirtualMachineError.java,
4840 java/lang/reflect/AccessibleObject.java,
4841 java/lang/reflect/Array.java,
4842 java/lang/reflect/InvocationTargetException.java,
4843 java/lang/reflect/Member.java,
4844 java/lang/reflect/Modifier.java,
4845 java/lang/reflect/Proxy.java,
4846 java/lang/reflect/ReflectPermission.java,
4847 java/lang/reflect/UndeclaredThrowableException.java,
4848 java/math/BigInteger.java,
4849 java/net/NetworkInterface.java,
4850 java/nio/ByteBufferHelper.java,
4851 java/nio/ByteBufferImpl.java,
4852 java/nio/DirectByteBufferImpl.java,
4853 java/nio/DoubleBufferImpl.java,
4854 java/nio/FloatBufferImpl.java,
4855 java/nio/IntBufferImpl.java,
4856 java/nio/LongBufferImpl.java,
4857 java/nio/ShortBufferImpl.java,
4858 java/nio/channels/Channel.java,
4859 java/nio/channels/IllegalBlockingModeException.java,
4860 java/nio/charset/spi/CharsetProvider.java,
4861 java/security/AccessControlException.java,
4862 java/security/BasicPermission.java,
4863 java/security/DigestException.java,
4864 java/security/DigestInputStream.java,
4865 java/security/DigestOutputStream.java,
4866 java/security/GeneralSecurityException.java,
4867 java/security/Guard.java,
4868 java/security/GuardedObject.java,
4869 java/security/InvalidAlgorithmParameterException.java,
4870 java/security/InvalidKeyException.java,
4871 java/security/InvalidParameterException.java,
4872 java/security/Key.java,
4873 java/security/KeyException.java,
4874 java/security/KeyManagementException.java,
4875 java/security/KeyStoreException.java,
4876 java/security/MessageDigestSpi.java,
4877 java/security/NoSuchAlgorithmException.java,
4878 java/security/NoSuchProviderException.java,
4879 java/security/Permission.java,
4880 java/security/PermissionCollection.java,
4881 java/security/Permissions.java,
4882 java/security/Principal.java,
4883 java/security/PrivateKey.java,
4884 java/security/PrivilegedActionException.java,
4885 java/security/ProviderException.java,
4886 java/security/PublicKey.java,
4887 java/security/SecureRandom.java,
4888 java/security/SecureRandomSpi.java,
4889 java/security/SignatureException.java,
4890 java/security/SignatureSpi.java,
4891 java/security/SignedObject.java,
4892 java/security/Signer.java,
4893 java/security/UnrecoverableKeyException.java,
4894 java/security/UnresolvedPermission.java,
4895 java/security/acl/AclNotFoundException.java,
4896 java/security/acl/LastOwnerException.java,
4897 java/security/acl/NotOwnerException.java,
4898 java/security/cert/CertPath.java,
4899 java/security/cert/CertPathBuilderException.java,
4900 java/security/cert/CertPathValidatorException.java,
4901 java/security/cert/CertStoreException.java,
4902 java/text/BreakIterator.java,
4903 java/text/ChoiceFormat.java,
4904 java/text/CollationElementIterator.java,
4905 java/text/CollationKey.java,
4906 java/text/Collator.java,
4907 java/text/DateFormat.java,
4908 java/text/DateFormatSymbols.java,
4909 java/text/DecimalFormat.java,
4910 java/text/DecimalFormatSymbols.java,
4911 java/text/FieldPosition.java,
4912 java/text/Format.java,
4913 java/text/NumberFormat.java,
4914 java/text/ParseException.java,
4915 java/text/ParsePosition.java,
4916 java/text/StringCharacterIterator.java,
4917 java/util/AbstractCollection.java,
4918 java/util/AbstractList.java,
4919 java/util/AbstractMap.java,
4920 java/util/AbstractSequentialList.java,
4921 java/util/AbstractSet.java,
4922 java/util/ArrayList.java,
4923 java/util/Arrays.java,
4924 java/util/BitSet.java,
4925 java/util/Collection.java,
4926 java/util/Collections.java,
4927 java/util/Comparator.java,
4928 java/util/ConcurrentModificationException.java,
4929 java/util/Currency.java,
4930 java/util/Date.java,
4931 java/util/EmptyStackException.java,
4932 java/util/Enumeration.java,
4933 java/util/EventListener.java,
4934 java/util/EventListenerProxy.java,
4935 java/util/EventObject.java,
4936 java/util/HashMap.java,
4937 java/util/HashSet.java,
4938 java/util/Hashtable.java,
4939 java/util/IdentityHashMap.java,
4940 java/util/Iterator.java,
4941 java/util/LinkedHashSet.java,
4942 java/util/LinkedList.java,
4943 java/util/List.java,
4944 java/util/ListIterator.java,
4945 java/util/ListResourceBundle.java,
4947 java/util/MissingResourceException.java,
4948 java/util/NoSuchElementException.java,
4949 java/util/Observable.java,
4950 java/util/Observer.java,
4951 java/util/Properties.java,
4952 java/util/PropertyPermissionCollection.java,
4953 java/util/RandomAccess.java,
4955 java/util/SortedMap.java,
4956 java/util/SortedSet.java,
4957 java/util/Stack.java,
4958 java/util/StringTokenizer.java,
4959 java/util/TooManyListenersException.java,
4960 java/util/TreeMap.java,
4961 java/util/TreeSet.java,
4962 java/util/Vector.java,
4963 java/util/logging/FileHandler.java,
4964 java/util/logging/Level.java,
4965 java/util/prefs/BackingStoreException.java,
4966 java/util/prefs/InvalidPreferencesFormatException.java,
4967 java/util/prefs/Preferences.java,
4968 javax/accessibility/Accessible.java,
4969 javax/accessibility/AccessibleAction.java,
4970 javax/accessibility/AccessibleBundle.java,
4971 javax/accessibility/AccessibleComponent.java,
4972 javax/accessibility/AccessibleContext.java,
4973 javax/accessibility/AccessibleEditableText.java,
4974 javax/accessibility/AccessibleExtendedComponent.java,
4975 javax/accessibility/AccessibleExtendedTable.java,
4976 javax/accessibility/AccessibleHyperlink.java,
4977 javax/accessibility/AccessibleHypertext.java,
4978 javax/accessibility/AccessibleIcon.java,
4979 javax/accessibility/AccessibleKeyBinding.java,
4980 javax/accessibility/AccessibleRelation.java,
4981 javax/accessibility/AccessibleRelationSet.java,
4982 javax/accessibility/AccessibleResourceBundle.java,
4983 javax/accessibility/AccessibleRole.java,
4984 javax/accessibility/AccessibleSelection.java,
4985 javax/accessibility/AccessibleState.java,
4986 javax/accessibility/AccessibleStateSet.java,
4987 javax/accessibility/AccessibleTable.java,
4988 javax/accessibility/AccessibleTableModelChange.java,
4989 javax/accessibility/AccessibleText.java,
4990 javax/accessibility/AccessibleValue.java,
4991 javax/imageio/IIOException.java,
4992 javax/imageio/ImageIO.java,
4993 javax/imageio/spi/IIOServiceProvider.java,
4994 javax/imageio/spi/ImageInputStreamSpi.java,
4995 javax/imageio/spi/ImageOutputStreamSpi.java,
4996 javax/imageio/spi/ImageReaderWriterSpi.java,
4997 javax/imageio/spi/ImageTranscoderSpi.java,
4998 javax/imageio/spi/RegisterableService.java,
4999 javax/imageio/spi/ServiceRegistry.java,
5000 javax/imageio/stream/IIOByteBuffer.java,
5001 javax/imageio/stream/ImageInputStream.java,
5002 javax/imageio/stream/ImageOutputStream.java,
5003 javax/naming/Binding.java,
5004 javax/naming/CannotProceedException.java,
5005 javax/naming/CompositeName.java,
5006 javax/naming/CompoundName.java,
5007 javax/naming/LinkException.java,
5008 javax/naming/LinkRef.java,
5009 javax/naming/NameClassPair.java,
5010 javax/naming/Reference.java,
5011 javax/naming/ReferralException.java,
5012 javax/naming/directory/Attribute.java,
5013 javax/naming/directory/AttributeModificationException.java,
5014 javax/naming/directory/Attributes.java,
5015 javax/naming/directory/DirContext.java,
5016 javax/naming/directory/ModificationItem.java,
5017 javax/naming/directory/SearchControls.java,
5018 javax/naming/directory/SearchResult.java,
5019 javax/naming/event/EventContext.java,
5020 javax/naming/event/EventDirContext.java,
5021 javax/naming/event/NamespaceChangeListener.java,
5022 javax/naming/event/NamingExceptionEvent.java,
5023 javax/naming/event/NamingListener.java,
5024 javax/naming/event/ObjectChangeListener.java,
5025 javax/naming/ldap/Control.java,
5026 javax/naming/ldap/ExtendedResponse.java,
5027 javax/naming/ldap/HasControls.java,
5028 javax/naming/ldap/LdapContext.java,
5029 javax/naming/ldap/UnsolicitedNotification.java,
5030 javax/naming/ldap/UnsolicitedNotificationEvent.java,
5031 javax/naming/ldap/UnsolicitedNotificationListener.java,
5032 javax/naming/spi/DirectoryManager.java,
5033 javax/naming/spi/ResolveResult.java,
5034 javax/naming/spi/Resolver.java,
5035 javax/security/auth/callback/Callback.java,
5036 javax/security/auth/callback/CallbackHandler.java,
5037 javax/security/auth/callback/ChoiceCallback.java,
5038 javax/security/auth/callback/ConfirmationCallback.java,
5039 javax/security/auth/callback/LanguageCallback.java,
5040 javax/security/auth/callback/NameCallback.java,
5041 javax/security/auth/callback/PasswordCallback.java,
5042 javax/security/auth/callback/TextInputCallback.java,
5043 javax/security/auth/callback/TextOutputCallback.java,
5044 javax/security/auth/callback/UnsupportedCallbackException.java,
5045 javax/security/sasl/Sasl.java,
5046 javax/security/sasl/SaslServerFactory.java,
5047 javax/swing/DefaultBoundedRangeModel.java,
5048 javax/swing/JComponent.java,
5049 javax/swing/JList.java,
5050 javax/swing/JProgressBar.java,
5051 javax/swing/JRadioButton.java,
5052 javax/swing/JTextArea.java,
5053 javax/swing/JTextField.java,
5054 javax/swing/JToggleButton.java,
5055 javax/swing/JTree.java,
5056 javax/swing/SpinnerListModel.java,
5057 javax/swing/event/EventListenerList.java,
5058 javax/swing/text/JTextComponent.java,
5059 javax/swing/text/StringContent.java,
5060 javax/swing/text/Utilities.java,
5061 javax/swing/undo/UndoManager.java,
5062 javax/swing/undo/UndoableEditSupport.java,
5063 javax/transaction/HeuristicCommitException.java,
5064 javax/transaction/HeuristicMixedException.java,
5065 javax/transaction/HeuristicRollbackException.java,
5066 javax/transaction/InvalidTransactionException.java,
5067 javax/transaction/NotSupportedException.java,
5068 javax/transaction/RollbackException.java,
5069 javax/transaction/Status.java,
5070 javax/transaction/Synchronization.java,
5071 javax/transaction/SystemException.java,
5072 javax/transaction/Transaction.java,
5073 javax/transaction/TransactionManager.java,
5074 javax/transaction/TransactionRequiredException.java,
5075 javax/transaction/TransactionRolledbackException.java,
5076 javax/transaction/UserTransaction.java,
5077 javax/transaction/xa/XAException.java,
5078 javax/transaction/xa/XAResource.java,
5079 javax/transaction/xa/Xid.java,
5080 javax/xml/XMLConstants.java,
5081 javax/xml/datatype/DatatypeConfigurationException.java,
5082 javax/xml/datatype/DatatypeConstants.java,
5083 javax/xml/datatype/DatatypeFactory.java,
5084 javax/xml/datatype/Duration.java,
5085 javax/xml/datatype/XMLGregorianCalendar.java,
5086 javax/xml/namespace/NamespaceContext.java,
5087 javax/xml/namespace/QName.java,
5088 javax/xml/parsers/DocumentBuilder.java,
5089 javax/xml/parsers/DocumentBuilderFactory.java,
5090 javax/xml/parsers/FactoryConfigurationError.java,
5091 javax/xml/parsers/ParserConfigurationException.java,
5092 javax/xml/parsers/SAXParser.java,
5093 javax/xml/parsers/SAXParserFactory.java,
5094 javax/xml/transform/ErrorListener.java,
5095 javax/xml/transform/OutputKeys.java,
5096 javax/xml/transform/Result.java,
5097 javax/xml/transform/Source.java,
5098 javax/xml/transform/SourceLocator.java,
5099 javax/xml/transform/Templates.java,
5100 javax/xml/transform/Transformer.java,
5101 javax/xml/transform/TransformerConfigurationException.java,
5102 javax/xml/transform/TransformerException.java,
5103 javax/xml/transform/TransformerFactory.java,
5104 javax/xml/transform/TransformerFactoryConfigurationError.java,
5105 javax/xml/transform/URIResolver.java,
5106 javax/xml/transform/dom/DOMLocator.java,
5107 javax/xml/transform/dom/DOMResult.java,
5108 javax/xml/transform/dom/DOMSource.java,
5109 javax/xml/transform/sax/SAXResult.java,
5110 javax/xml/transform/sax/SAXSource.java,
5111 javax/xml/transform/sax/SAXTransformerFactory.java,
5112 javax/xml/transform/sax/TemplatesHandler.java,
5113 javax/xml/transform/sax/TransformerHandler.java,
5114 javax/xml/transform/stream/StreamResult.java,
5115 javax/xml/transform/stream/StreamSource.java,
5116 javax/xml/validation/Schema.java,
5117 javax/xml/validation/SchemaFactory.java,
5118 javax/xml/validation/TypeInfoProvider.java,
5119 javax/xml/validation/Validator.java,
5120 javax/xml/validation/ValidatorHandler.java,
5121 javax/xml/xpath/XPathConstants.java,
5122 javax/xml/xpath/XPathException.java,
5123 javax/xml/xpath/XPathExpression.java,
5124 javax/xml/xpath/XPathExpressionException.java,
5125 javax/xml/xpath/XPathFactory.java,
5126 javax/xml/xpath/XPathFactoryConfigurationException.java,
5127 javax/xml/xpath/XPathFunction.java,
5128 javax/xml/xpath/XPathFunctionException.java,
5129 javax/xml/xpath/XPathFunctionResolver.java:
5130 Fixed usage of @author tag, reworked import statements,
5131 removed CVS tags, changed the modifier order and fixed
5132 HTML usage in javadocs.
5134 2005-02-16 Julian Scheid <julian@sektor37.de>
5136 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
5138 (encodeLoop): Likewise.
5140 2005-02-16 Mark Wielaard <mark@klomp.org>
5142 * Makefile.am (ordinary_java_source_files): Add new files
5143 gnu/java/security/ber/BER.java,
5144 gnu/java/security/ber/BEREncodingException.java,
5145 gnu/java/security/ber/BERReader.java,
5146 gnu/java/security/ber/BERValue.java,
5147 gnu/java/security/pkcs/PKCS7SignedData.java and
5148 gnu/java/security/pkcs/SignerInfo.java.
5149 * Makefile.in: Regenerated.
5151 2005-02-16 Casey Marshall <csm@gnu.org>
5153 * gnu/java/security/provider/GnuDSAPrivateKey.java
5154 (encodedKey): new field.
5155 (getFormat): return "PKCS#8".
5156 (getEncoded): implemented.
5157 (toString): check for 'null' values.
5158 * gnu/java/security/provider/GnuDSAPublicKey.java
5159 (encodedKey): new field.
5160 (getFormat): return "X.509".
5161 (getEncoded): implemented.
5162 (toString): check for 'null' values.
5164 2005-02-16 Michael Koch <konqueror@gmx.de>
5166 * java/util/jar/JarFile.java: Imports reworked.
5168 2005-02-16 Mark Wielaard <mark@klomp.org>
5170 * java/util/jar/JarFile.java (verify): Make package private.
5171 (signaturesRead): Likewise.
5172 (verified): Likewise.
5173 (entryCerts): Likewise.
5176 (entries): Construct new JarEnumeration with reference to this.
5177 (JarEnumeration): Make static.
5178 (JarEnumeration.jarfile): New field.
5179 (JarEnumeration.nextElement): Use and synchronize on jarfile.
5180 Compare verified value to Boolean.TRUE or Boolean.False only
5181 when verify is true.
5182 (getEntry): Make synchronized. Compare value of verified to
5184 (getInputStream): Construct EntryInputStream with reference to this.
5185 (getManifest): Make synchronized.
5186 (EntryInputStream): Make static.
5187 (EntryInputStream.jarfile): New field.
5188 (EntryInputStream.EntryInputStream): Check if manifest exists,
5189 before getting attributes.
5190 (eof): Synchronize on jarfile.
5192 2005-02-16 Casey Marshall <csm@gnu.org>
5194 * java/util/jar/JarFile.java (verify): return if the jar is signed
5195 with an unsupported algorithm.
5197 2005-02-16 Mark Wielaard <mark@klomp.org>
5199 * java/util/jar/JarFile.java (EntryInputStream): Add actual
5200 InputStream as argument.
5201 (getInputStream): Construct a new EntryInputStream with the result of
5202 super.getInputStream(entry).
5204 2005-02-16 Casey Marshall <csm@gnu.org>
5206 Signed JAR file support.
5207 * java/net/URLClassLoader.java
5208 (JarURLResource.getCertificates): re-read jar entry to ensure
5209 certificates are picked up.
5210 (findClass): fill in class `signers' field, too.
5211 * java/util/jar/JarFile.java (META_INF): new constant.
5212 (PKCS7_DSA_SUFFIX): new constant.
5213 (PKCS7_RSA_SUFFIX): new constant.
5214 (DIGEST_KEY_SUFFIX): new constant.
5215 (SF_SUFFIX): new constant.
5216 (MD2_OID): new constant.
5217 (MD4_OID): new constant.
5218 (MD5_OID): new constant.
5219 (SHA1_OID): new constant.
5220 (DSA_ENCRYPTION_OID): new constant.
5221 (RSA_ENCRYPTION_OID): new constant.
5222 (signaturesRead): new field.
5223 (verified): new field.
5224 (entryCerts): new field.
5225 (DEBUG): new constant.
5226 (debug): new method.
5227 (JarEnumeration.nextElement): fill in entry certificates, read
5228 signatures if they haven't been read.
5229 (getEntry): likewise.
5230 (getInputStream): verify stream if it hasn't been verified yet.
5231 (readSignatures): new method.
5232 (verify): new method.
5233 (verifyHashes): new method.
5234 (readManifestEntry): new method.
5235 (EntryInputStream): new class.
5236 * gnu/java/io/Base64InputStream.java (decode): new class
5238 * gnu/java/security/der/DERReader.java don't make class
5240 (in): made protected.
5242 (readLength): likewise.
5243 * gnu/java/security/ber/BER.java,
5244 * gnu/java/security/ber/BEREncodingException.java,
5245 * gnu/java/security/ber/BERReader.java,
5246 * gnu/java/security/ber/BERValue.java,
5247 * gnu/java/security/pkcs/PKCS7SignedData.java,
5248 * gnu/java/security/pkcs/SignerInfo.java:
5251 2005-02-16 Tom Tromey <tromey@redhat.com>
5253 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
5254 copied file on exit.
5256 2005-02-15 Mark Wielaard <mark@klomp.org>
5258 * java/awt/BasicStroke.java (hashCode): Check for null dash.
5260 2005-02-15 Michael Koch <konqueror@gmx.de>
5262 * gnu/java/awt/peer/gtk/GtkArg.java,
5263 gnu/java/awt/peer/gtk/GtkArgList.java:
5266 2005-02-15 Craig Black <craig.black@aonix.com>
5268 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
5269 (postMenuActionEvent): Implement to notify ItemListeners.
5270 * java/awt/CheckboxMenuItem.java
5271 (dispatchEventImpl): Update state on ItemEvent.
5272 * java/awt/MenuItem.java
5273 (processActionEvent): Retarget event source.
5275 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5277 * gnu/java/awt/color/ClutProfileConverter.java,
5278 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
5279 gnu/java/awt/peer/gtk/GdkFontPeer.java,
5280 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5281 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5282 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5283 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5284 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5285 gnu/java/awt/peer/gtk/GdkTextLayout.java,
5286 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5287 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5288 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5289 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5290 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5291 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5292 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5293 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5294 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5295 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5296 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5297 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5298 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5299 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5300 gnu/java/awt/peer/gtk/GtkToolkit.java,
5301 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5302 javax/swing/JPopupMenu.java,
5303 javax/swing/JSpinner.java,
5304 javax/swing/SortingFocusTraversalPolicy.java,
5305 javax/swing/SwingUtilities.java,
5306 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5307 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5308 javax/swing/tree/DefaultMutableTreeNode.java:
5309 Removed unused imports and expanded starred
5312 2005-02-15 Mark Wielaard <mark@klomp.org>
5314 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5315 IllegalArgumentException when the given String is null.
5317 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5318 when given keystoke sequence cannot be parsed.
5320 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5321 if one is installed. Only install the given menubar is not null.
5323 * javax/swing/JViewport.java (getViewSize): Return an empty
5324 Dimension when the view isn't set or preferred component size when
5327 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5328 empty Dimension when there is no view set.
5329 (minimumLayoutSize): Likewise.
5330 (layoutContainer): Don't try to layout when there is no view.
5332 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5335 * include/jawt.h: Likewise.
5336 * include/jawt_md.h: Likewise.
5337 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5339 * jni/classpath/classpath_jawt.h: Likewise.
5340 * jni/gtk-peer/gtk_jawt.c: Likewise.
5341 * Makefile.am: Build libjawt.so.
5343 2005-02-15 Michael Koch <konqueror@gmx.de>
5345 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5346 Merged file header with classpath CVS head.
5347 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5348 Merged code formatting with classpath CVS head.
5349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5351 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5352 Handle special JNI strings with 2 '\0' at the end.
5353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5354 Merged file header with classpath CVS head.
5355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5356 Merged code formatting with classpath CVS head.
5358 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5361 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5362 (handle_response): Use GTK_RESPONSE_ACCEPT.
5364 2005-02-15 Graydon Hoare <graydon@redhat.com>
5366 * Makefile.am: Fix library build breakage.
5367 * Makefile.in: Regenerate.
5369 2005-02-15 Michael Koch <konqueror@gmx.de>
5371 * javax/swing/JTabbedPane.java
5372 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5374 2005-02-15 Michael Koch <konqueror@gmx.de>
5376 * javax/swing/tree/DefaultMutableTreeNode.java:
5377 Reworked Javadocs all over.
5378 (getPathToRoot): Fixed direction of result array initialization.
5380 2005-02-15 Michael Koch <konqueror@gmx.de>
5382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5383 Fix includes for cairo 0.3.0 snappshot.
5384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5385 Merged file header from classpath CVS HEAD.
5387 2005-02-15 Craig Black <craig.black@aonix.com>
5389 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5390 (copyState): Pass a JNI global reference to signal handler.
5391 (realize_cb): Use and free JNI global reference.
5392 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5393 (create): Pass a JNI global reference to signal handler.
5394 (selection_changed): Match declaration.
5395 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5396 (dispose): Do not remove entries from state tables until after widget is
5399 2005-02-15 Michael Koch <konqueror@gmx.de>
5401 * java/awt/Container.javai (paramString):
5402 If layoutMgr is null just return result of super.paramString().
5403 * java/awt/Scrollbar.java: Reformatted.
5404 * java/awt/im/InputContext.java (static):
5405 Removed redundant initializations.
5407 2005-02-15 Michael Koch <konqueror@gmx.de>
5409 * javax/swing/ImageIcon.java,
5410 javax/swing/UIManager.java,
5411 javax/swing/text/EditorKit.java,
5412 javax/swing/text/Segment.java:
5413 More whitespace cleanups.
5415 2005-02-15 Michael Koch <konqueror@gmx.de>
5417 * gnu/java/awt/EmbeddedWindow.java,
5418 gnu/java/awt/image/ImageDecoder.java,
5419 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5420 java/awt/DefaultKeyboardFocusManager.java,
5421 java/awt/Frame.java,
5422 java/awt/image/RGBImageFilter.java,
5423 javax/swing/AbstractButton.java,
5424 javax/swing/ActionMap.java,
5425 javax/swing/ComponentInputMap.java,
5426 javax/swing/DefaultDesktopManager.java,
5427 javax/swing/ImageIcon.java,
5428 javax/swing/InputMap.java,
5429 javax/swing/JButton.java,
5430 javax/swing/JCheckBox.java,
5431 javax/swing/JCheckBoxMenuItem.java,
5432 javax/swing/JEditorPane.java,
5433 javax/swing/JMenu.java,
5434 javax/swing/JMenuItem.java,
5435 javax/swing/JOptionPane.java,
5436 javax/swing/JRootPane.java,
5437 javax/swing/JTable.java,
5438 javax/swing/MenuSelectionManager.java,
5439 javax/swing/RepaintManager.java,
5440 javax/swing/ScrollPaneLayout.java,
5441 javax/swing/SortingFocusTraversalPolicy.java,
5442 javax/swing/UIManager.java,
5443 javax/swing/ViewportLayout.java,
5444 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5445 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5446 javax/swing/plaf/basic/BasicLabelUI.java,
5447 javax/swing/plaf/basic/BasicListUI.java,
5448 javax/swing/plaf/basic/BasicMenuItemUI.java,
5449 javax/swing/plaf/basic/BasicMenuUI.java,
5450 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5451 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5452 javax/swing/plaf/basic/BasicRootPaneUI.java,
5453 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5454 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5455 javax/swing/plaf/basic/BasicTextUI.java,
5456 javax/swing/table/TableColumnModel.java,
5457 javax/swing/text/AbstractDocument.java,
5458 javax/swing/text/EditorKit.java,
5459 javax/swing/text/Position.java,
5460 javax/swing/text/Segment.java,
5461 javax/swing/text/StyledEditorKit.java,
5462 javax/swing/text/ViewFactory.java:
5463 Cleanup whitespace differences to classpath CVS HEAD.
5465 2005-02-15 Graydon Hoare <graydon@redhat.com>
5467 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5468 (finalize): Call finish from here.
5469 (produce): Not from here.
5470 * Makefile.am (gtk_c_source_files):
5471 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5472 * Makefile.in: Regenerate.
5473 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5475 (cairoDrawGdkTextLayout):
5477 (getPeerTextMetrics):
5478 (getPeerFontMetrics): Remove.
5479 (setFont): Don't call cairoSetFont.
5480 (cairoDrawGlyphVector): Accept font peer argument.
5481 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5483 (ensure_metrics_cairo):
5484 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5485 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5486 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5487 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5489 (metrics_surface): Remove.
5490 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5491 Pass and install font peer.
5493 2005-02-15 Graydon Hoare <graydon@redhat.com>
5495 * Makefile.am: Create "split library" structure.
5496 * Makefile.in: Regenerate.
5498 2005-02-15 Graydon Hoare <graydon@redhat.com>
5500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5502 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5504 Release GDK lock during upcalls.
5506 2005-02-15 Graydon Hoare <graydon@redhat.com>
5508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5510 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5511 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5512 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5514 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5517 (getTextMetrics): New native methods.
5518 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5519 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5520 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5521 * Makefile.in: Regenerate.
5523 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5525 * javax/swing/SwingUtilities.java:
5526 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5527 Implemented and documented.
5528 (getAccessibleChild(java.awt.Component, int)): Likewise.
5529 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5530 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5531 (getAccessibleStateSet(java.awt.Component)): Likewise.
5533 2005-02-15 Michael Koch <konqueror@gmx.de>
5535 * javax/swing/SwingUtilities.java
5536 (getFontMetrics): Removed.
5538 2005-02-15 Michael Koch <konqueror@gmx.de>
5540 * java/awt/Container.java
5541 (paramString): Implemented.
5542 * javax/swing/AbstractButton.java
5543 (paramString): Implemented.
5544 * javax/swing/JComponent.java
5545 (paramString): Implemented.
5546 * javax/swing/JMenu.java
5547 (paramString): Implemented.
5548 * javax/swing/JMenuBar.java
5549 (paramString): Implemented.
5550 * javax/swing/JMenuItem.java
5551 (paramString): Implemented.
5552 * javax/swing/JPopupMenu.java
5553 (paramString): Implemented.
5555 2005-02-15 Michael Koch <konqueror@gmx.de>
5557 * javax/swing/JMenu.java
5558 (uiClassID): Removed.
5559 (JMenu): Set invoker on popup menu.
5560 (getUIClassID): Return id directly.
5561 (getItemCount): Simply return getMenuComponentCount().
5563 (isTopLevelMenu): Simplified.
5564 * javax/swing/JMenuItem.java
5565 (uiClassID): Removed.
5566 (getUIClassID): Return id directly.
5567 * javax/swing/JPopupMenu.java
5568 (uiClassID): Removed.
5569 (JPopupMenu): Always initialize correctly.
5570 (getSubElements): Only return components implementing MenuElement
5572 (HeavyWeightPopup.hide): Removed.
5574 2005-02-15 Michael Koch <konqueror@gmx.de>
5576 * java/awt/image/ReplicateScaleFilter.java
5577 (replicatePixels): Made private.
5578 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5579 (DefaultRGBChooserPanel): Made package private.
5580 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5581 (RecentSwatchPanel): Likewise.
5582 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5583 (MouseInputAdapter): Made abstract.
5584 * javax/swing/tree/DefaultMutableTreeNode.java
5586 (growTree): Likewise.
5588 2005-02-15 Michael Koch <konqueror@gmx.de>
5590 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5593 2005-02-15 Michael Koch <konqueror@gmx.de>
5595 * javax/swing/JComponent.java (getComponentGraphics):
5596 Removed accidently commited code.
5598 2005-02-15 Graydon Hoare <graydon@redhat.com>
5600 * java/awt/dnd/DropTarget.java
5601 (addDropTargetListener): Despite documentation, do not throw.
5602 * javax/swing/JComponent.java: Set a default DropTarget.
5604 2005-02-15 Michael Koch <konqueror@gmx.de>
5606 * javax/swing/AbstractAction.java
5607 (ENABLED_PROPERTY): Removed.
5608 (setEnabled): Replaced constant with real string.
5609 * javax/swing/AbstractButton.java
5610 (createActionPropertyChangeListener.propertyChange): Likewise.
5611 * javax/swing/JComboBox.java
5612 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5613 (EDITABLE_CHANGED_PROPERTY): Removed.
5614 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5615 (ENABLED_CHANGED_PROPERTY):Likewise.
5616 (RENDERER_CHANGED_PROPERTY):Likewise.
5617 (EDITOR_CHANGED_PROPERTY):Likewise.
5618 (MODEL_CHANGED_PROPERTY):Likewise.
5619 (uiClassID):Likewise.
5620 (getUIClassID): Replaced constant with real string.
5621 (setModel):Likewise.
5622 (setEditable):Likewise.
5623 (setMaximumRowCount):Likewise.
5624 (setRenderer):Likewise.
5625 (setEditor):Likewise.
5626 (setEnabled):Likewise.
5627 * javax/swing/JLabel.java
5628 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5629 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5630 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5631 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5632 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5633 (ICON_CHANGED_PROPERTY): Likewise.
5634 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5635 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5636 (TEXT_CHANGED_PROPERTY): Likewise.
5637 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5638 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5639 (setText): Replaced constant with real string.
5640 (setIcon): Likewise.
5641 (setDisabledIcon): Likewise.
5642 (setDisplayedMnemonic): Likewise.
5643 (setIconTextGap): Likewise.
5644 (setVerticalAlignment): Likewise.
5645 (setHorizontalAlignment): Likewise.
5646 (setVerticalTextPosition): Likewise.
5647 (setHorizontalTextPosition): Likewise.
5648 (setLabelFor): Replaced constant with real string.
5649 Fire property change event after property got changed.
5650 * javax/swing/JList.java
5651 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5652 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5653 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5654 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5655 (MODEL_PROPERTY_CHANGED): Likewise.
5656 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5657 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5658 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5659 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5660 (setFixedCellWidth): Reimplemented.
5661 (setFixedCellHeight): Exit if new value is identical.
5662 Replaced constant with real string.
5663 (setSelectionBackground): Likewise.
5664 (setSelectionForeground): Likewise.
5665 (setPrototypeCellValue): Likewise.
5666 (setCellRenderer): Replaced constant with real string.
5667 (setModel): Likewise.
5668 (setSelectionModel): Likewise.
5669 * javax/swing/JMenuBar.java
5670 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5671 (MODEL_CHANGED_PROPERTY): Likewise.
5672 (MARGIN_CHANGED_PROPERTY): Likewise.
5673 (setBorderPainted): Reimplemented.
5674 (setMargin): Likewise.
5675 (setSelectionModel): Replaced constant with real string.
5676 * javax/swing/JPopupMenu.java
5677 (LABEL_CHANGED_PROPERTY): Removed.
5678 (VISIBLE_CHANGED_PROPERTY): Likewise.
5679 (borderPainted): Likewise.
5680 (setLabel): Replaced constant with real string.
5681 (setVisible): Exit if new value is identical.
5682 Replaced constant with real string.
5683 * javax/swing/JProgressBar.java
5684 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5685 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5686 (STRING_CHANGED_PROPERTY): Likewise.
5687 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5688 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5689 (setOrientation): Replaced constant with real string.
5690 (setStringPainted): Likewise.
5691 (setString): Likewise.
5692 (setBorderPainted): Likewise.
5693 (setIndeterminate): Likewise.
5694 * javax/swing/JScrollBar.java
5695 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5696 (MODEL_CHANGED_PROPERTY): Likewise.
5697 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5698 (setOrientation): Replaced constant with real string.
5699 (setModel): Likewise.
5700 (setUnitIncrement): Likewise.
5701 (setBlockIncrement): Likewise.
5702 * javax/swing/JScrollPane.java
5703 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5704 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5705 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5706 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5707 (LAYOUT_CHANGED_PROPERTY): Likewise.
5708 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5709 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5710 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5711 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5712 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5713 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5714 (setComponentOrientation): Replaced constant with real string.
5715 (setColumnHeader): Likewise.
5716 (setHorizontalScrollBar): Likewise.
5717 (setHorizontalScrollBarPolicy): Likewise.
5718 (setRowHeader): Likewise.
5719 (setVerticalScrollBar): Likewise.
5720 (setVerticalScrollBarPolicy): Likewise.
5721 (setWheelScrollingEnabled): Likewise.
5722 (setViewport): Likewise.
5723 (setViewportBorder): Likewise.
5724 * javax/swing/JSlider.java
5725 (INVERTED_CHANGED_PROPERTY): Removed.
5726 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5727 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5728 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5729 (MODEL_CHANGED_PROPERTY): Likewise.
5730 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5731 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5732 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5733 (setModel): Replaced constant with real string.
5734 (setOrientation): Likewise.
5735 (setLabelTable): Likewise.
5736 (setInverted): Likewise.
5737 (setMajorTickSpacing): Likewise.
5738 (setMinorTickSpacing): Likewise.
5739 (setPaintTicks): Likewise.
5740 (setPaintLabels): Likewise.
5741 * javax/swing/JTabbedPane.java
5742 (MODEL_CHANGED_PROPERTY): Removed.
5743 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5744 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5745 (setModel): Replaced constant with real string.
5746 (setTabPlacement): Likewise.
5747 (setTabLayoutPolicy): Likewise.
5748 * javax/swing/JToolBar.java
5749 (ORIENTATION_CHANGED_PROPERTY): Removed.
5750 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5751 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5752 (MARGIN_CHANGED_PROPERTY): Likewise.
5753 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5754 (setRollover): Replaced constant with real string.
5755 (setMargin): Likewise.
5756 (setBorderPainted): Likewise.
5757 (setFloatable): Likewise.
5758 (setOrientation): Likewise.
5759 * javax/swing/plaf/basic/BasicComboBoxUI.java
5760 (PropertyChangeHandler.propertyChange): Likewise.
5761 * javax/swing/plaf/basic/BasicComboPopup.java
5762 (PropertyChangeHandler.propertyChange): Likewise.
5763 * javax/swing/plaf/basic/BasicMenuBarUI.java
5764 (PropertyChangeHandler.propertyChange): Likewise.
5765 * javax/swing/plaf/basic/BasicProgressBarUI.java
5766 (PropertyChangeHandler.propertyChange): Likewise.
5767 * javax/swing/plaf/basic/BasicScrollBarUI.java
5768 (PropertyChangeHandler.propertyChange): Likewise.
5769 * javax/swing/plaf/basic/BasicSliderUI.java
5770 (PropertyChangeHandler.propertyChange): Likewise.
5771 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5772 (PropertyChangeHandler.propertyChange): Likewise.
5773 * javax/swing/plaf/basic/BasicToolBarUI.java
5774 (PropertyChangeHandler.propertyChange): Likewise.
5776 2005-02-15 Michael Koch <konqueror@gmx.de>
5778 * javax/swing/DefaultButtonModel.java
5779 (changeState): Made private.
5780 * javax/swing/DefaultDesktopManager.java
5781 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5782 * javax/swing/JLayeredPane.java
5783 (layerToRange): Made private.
5784 (incrLayer): Likewise.
5785 (decrLayer): Likewise.
5786 * javax/swing/JTable.java
5787 (dragEnabled): Likewise.
5788 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5789 * javax/swing/KeyStroke.java
5790 (Keystroke): Made private.
5791 * javax/swing/TransferHandler.java
5792 (COMMAND_COPY): Likewise.
5793 (COMMAND_CUT): Likewise.
5794 (COMMAND_PASTE): Likewise.
5796 2005-02-15 Michael Koch <konqueror@gmx.de>
5798 * javax/swing/JTextField.java
5799 (postActionEvent): Use text in field when actionCommand is null.
5800 (getActionCommand): Removed.
5802 2005-02-15 Michael Koch <konqueror@gmx.de>
5804 * javax/swing/AbstractSet.java: Removed.
5805 * Makefile.am: Removed javax/swing/AbstractSet.java.
5806 * Makefile.in: Regenerated.
5808 2005-02-15 Michael Koch <konqueror@gmx.de>
5810 * java/awt/Window.java
5811 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5812 * java/awt/dnd/DnDConstants.java
5813 (DnDConstants): New private constructor.
5815 2005-02-15 Michael Koch <konqueror@gmx.de>
5817 * javax/swing/DefaultCellRenderer.java: Removed.
5818 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5819 * Makefile.in: Regenerated.
5821 2005-02-15 Michael Koch <konqueror@gmx.de>
5823 * javax/swing/AbstractButton.java
5824 (fireItemStateChanged): Made protected.
5825 (fireActionPerformed): Likewise.
5826 (fireStateChanged): Likewise.
5827 * javax/swing/DefaultButtonModel.java
5828 (fireItemStateChanged): Likewise.
5829 (fireActionPerformed): Likewise.
5830 (fireStateChanged): Likewise.
5831 * javax/swing/JApplet.java
5833 (frameInit): Likewise.
5834 (setRootPane): Made protected.
5835 (createRootPane): Likewise.
5836 * javax/swing/JComponent.java
5837 (getClientProperty): Likewise.
5838 (putClientProperty): Likewise.
5839 * javax/swing/JEditorPane.java
5840 (getContentType): Likewise.
5841 (setContentType): Likewise.
5842 * javax/swing/JFrame.java
5843 (setRootPane): Likewise.
5844 (createRootPane): Likewise.
5845 * javax/swing/JInternalFrame.java
5846 (getFocusCycleRootAncestor): Made final. Added @since tag.
5847 (isFocusCycleRoot): Likewise.
5848 (getWarningString): Made final.
5849 * javax/swing/JScrollBar.java
5850 (changeListener): Removed.
5851 (changeEvent): Likewise.
5852 (createChangeListener): Likewise.
5853 (fireStateChanged): Likewise.
5854 (addChangeListener): Likewise.
5855 (removeChangeListener): Likewise.
5856 (getChangeListeners): Likewise.
5857 * javax/swing/JScrollPane.java
5858 (createViewport): Made protected.
5859 * javax/swing/JViewport.java
5860 (addImpl): Likewise.
5861 (setBorder): New method.
5862 * javax/swing/JWindow.java
5863 (setRootPane): Made protected.
5864 (createRootPane): Likewise.
5865 * javax/swing/plaf/basic/BasicButtonUI.java
5866 (installListeners): Likewise.
5867 (uninstallListeners): Likewise.
5868 * javax/swing/plaf/basic/BasicProgressBarUI.java
5869 (incrementAnimationIndex): Likewise.
5870 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5871 (createLayoutManager): Likewise.
5872 * javax/swing/table/DefaultTableCellRenderer.java
5873 (firePropertyChange): Likewise.
5874 * javax/swing/table/JTableHeader.java
5875 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5877 * javax/swing/text/PlainDocument.java
5878 (reindex): Made private.
5879 * javax/swing/text/PlainView.java
5880 (drawLine): Made protected.
5881 (getTabSize): Likewise.
5882 * javax/swing/text/View.java
5884 (preferenceChanged): New method.
5885 (getBreakWeight): Likewise.
5886 (breakView): Likewise.
5887 (getViewIndex): Likewise.
5889 2005-02-15 Michael Koch <konqueror@gmx.de>
5891 * javax/swing/JScrollPane.java
5892 (ScrollBar): Made class protected.
5893 * javax/swing/JSpinner.java
5894 (JSpinner): Added @since tag.
5895 (listenerList): Removed.
5896 * javax/swing/JTable.java
5897 (setValueAt): New method.
5898 (getColumn): Likewise.
5899 * javax/swing/JWindow.java
5900 (rootPaneCheckingEnabled): Renamed from checking.
5902 2005-02-15 Michael Koch <konqueror@gmx.de>
5904 * javax/swing/plaf/basic/BasicTextUI.java
5905 (RootView.modelToView): Made it public and return a java.awt.Shape.
5906 Handle null subview.
5907 (uninstall): Set textComponent to null when its not possible used
5909 * javax/swing/text/View.java
5910 (setParent): Use better argument name.
5911 (getContainer): Get parent via getParent().
5912 (getViewFactory): Likewise.
5913 (getAttributes): Get element via getElement().
5914 (getStartOffset): Likewise.
5915 (getEndOffset): Likewise.
5916 (getResizeWeight): New method.
5917 (getMaximumSpan): Likewise.
5918 (getMinimumSpan): Likewise.
5919 (setSize): Likewise.
5920 (getGraphics): Likewise.
5922 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5924 * java/awt/Checkbox.java:
5925 (AccessibleAWTCheckbox()): Added public constructor
5927 * java/awt/Choice.java:
5928 (AccessibleAWTChoice): Added class documentation.
5929 (AccessibleAWTChoice()): Added public constructor
5931 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5932 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5933 and changed role to COMBO_BOX.
5934 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5935 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5936 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5938 2005-02-15 Graydon Hoare <graydon@redhat.com>
5939 Michael Koch <konqueror@gmx.de>
5941 * javax/swing/LayoutFocusTraversalPolicy.java,
5942 javax/swing/SortingFocusTraversalPolicy.java:
5944 * Makefile.am: Added new classes.
5945 * Makefike.in: Regenerated.
5948 2005-02-15 Michael Koch <konqueror@gmx.de>
5950 * javax/swing/DebugGraphics.java: Mostly implemented.
5952 2005-02-15 Michael Koch <konqueror@gmx.de>
5954 * javax/swing/SwingUtilities.java
5955 (findFocusOwner): New method.
5957 2005-02-15 Michael Koch <konqueror@gmx.de>
5959 * javax/swing/text/DefaultEditorKit.java
5960 (read): Added '\n' after each line.
5961 * javax/swing/text/PlainView.java
5962 (modelToView): Update metrics.
5963 (drawLine): Use offsets from element.
5964 (paint): Update metrics. Draw all lines.
5966 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5968 * java/awt/Checkbox.java:
5969 (AccessibleAWTCheckbox): Added class documentation
5970 * java/awt/Scrollbar.java:
5971 (AccessibleAWTScrollBar): typo corrected and docs added
5972 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5973 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5974 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5975 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5976 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5977 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5978 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5979 (getAccessibleContext()): name of accessible class corrected
5981 2005-02-15 Mark Wielaard <mark@klomp.org>
5983 * java/awt/BasicStroke.java (hashCode): Implement.
5986 2005-02-15 Michael Koch <konqueror@gmx.de>
5988 * java/awt/print/PrinterJob.java
5989 (pageDialog): Throws java.awt.HeadlessException.
5990 (printDialog): Likewise.
5992 2005-02-15 Mark Wielaard <mark@klomp.org>
5994 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5996 2005-02-15 Michael Koch <konqueror@gmx.de>
5998 * javax/swing/JTable.java
5999 (getValueAt): New method.
6000 * javax/swing/table/JTableHeader.java
6001 (columnAtPoint): New method.
6003 2005-02-15 Michael Koch <konqueror@gmx.de>
6005 * javax/swing/JTextField.java
6006 (actions): New field.
6007 (static): Initalize actions field.
6008 (getActions): New method.
6010 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
6012 * java/awt/Checkbox.java:
6013 (AccessibleAWTCheckbox): name capitalization corrected
6014 and serialization UID added.
6015 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
6017 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
6018 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
6019 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
6020 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
6021 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
6022 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
6023 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
6024 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
6025 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
6026 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
6027 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
6029 (getAccessibleContext()): name of accessible class corrected
6031 2005-02-15 Sven de Marothy <sven@physto.se>
6033 * java/awt/geom/doc-files/Area-1.png,
6034 java/awt/geom/doc-files/Ellipse-1.png,
6035 java/awt/geom/doc-files/GeneralPath-1.png:
6038 2005-02-15 Graydon Hoare <graydon@redhat.com>
6040 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
6041 Use union to avoid type-punning warning.
6043 2005-02-15 Michael Koch <konqueror@gmx.de>
6045 * javax/swing/DefaultListSelectionModel.java
6046 (clone): New method.
6048 2005-02-15 Mark Wielaard <mark@klomp.org>
6050 Reported by Martin Platter <motse@complang.tuwien.ac.at>
6051 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6052 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
6053 Correct method signature of gtkSetFilename.
6055 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
6057 * javax/swing/text/StringContent.java: New file.
6059 2005-02-15 Michael Koch <konqueror@gmx.de>
6061 * Makefile.am: Added javax/swing/text/StringContent.java.
6062 * Makefile.in: Regenerated.
6064 2005-02-15 Michael Koch <konqueror@gmx.de>
6066 * gnu/java/awt/ClasspathToolkit.java:
6067 Import statements reworked.
6068 (imageCache): Made it of type java.util.HashMap.
6070 2005-02-15 Michael Koch <konqueror@gmx.de>
6072 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6073 Reworked import statements.
6075 2005-02-15 Graydon Hoare <graydon@redhat.com>
6077 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
6078 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6079 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
6080 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6081 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
6082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
6084 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
6085 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6086 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
6087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
6088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
6089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
6090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
6091 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6092 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
6093 Rewrite uses of extern variable to be function calls.
6094 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
6095 function, from extern variable.
6096 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6097 (gdk_env): Remove variable, add new function.
6098 (java_vm): Add new variable.
6099 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
6100 java_vm rather than old gdk_env variable.
6102 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6104 * javax/swing/DefaultListModel.java
6105 (add): fire correct event,
6106 (addElement): corrected interval indices in event,
6107 (clear): corrected upper bound for interval, only fire event if
6109 (setSize): fire appropriate event.
6111 2005-02-15 Graydon Hoare <graydon@redhat.com>
6113 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
6114 * gnu/awt/xlib/XToolkit.java: Likewise.
6115 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6116 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6117 * gnu/java/awt/ClasspathToolkit.java: Likewise.
6118 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
6119 * java/awt/EventQueue.java (getNextEvent):
6120 Adjust event loop to switch to native mode after 100ms.
6121 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
6122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
6123 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
6124 Wake up event thread.
6125 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6126 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
6127 Adjust event loop to switch to java mode after 100ms.
6129 2005-02-15 Graydon Hoare <graydon@redhat.com>
6131 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
6132 accidentally removed in last change.
6134 2005-02-15 Michael Koch <konqueror@gmx.de>
6136 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6137 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
6139 2005-02-15 Graydon Hoare <graydon@redhat.com>
6141 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
6142 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
6143 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
6144 * jni.cc: Reuse bottom frame between calls, avoid clearing
6145 frame when no local references are made.
6147 2005-02-15 Michael Koch <konqueror@gmx.de>
6149 * javax/swing/UIDefaults.java (UIDefaults):
6150 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
6151 Fixed HTML entity and removed a redundant comma.
6153 2005-02-15 Michael Koch <konqueror@gmx.de>
6155 * javax/swing/text/DefaultEditorKit.java
6156 (deinstall): Removed.
6157 (install): Likewise.
6159 2005-02-15 Michael Koch <konqueror@gmx.de>
6161 * javax/swing/UIDefaults.java (put): Handle value of null.
6163 2005-02-15 Michael Koch <konqueror@gmx.de>
6165 * java/awt/Robot.java,
6166 java/awt/Scrollbar.java,
6167 java/awt/print/PrinterJob.java,
6168 javax/swing/JTable.java,
6169 javax/swing/text/AbstractDocument.java:
6170 Reworked import statements.
6172 2005-02-15 Michael Koch <konqueror@gmx.de>
6174 * javax/swing/JEditorPane.java
6175 (read): Implemented.
6177 * javax/swing/text/DefaultEditorKit.java
6178 (page): Renamed from page_url. Made private.
6179 (editorKit): Renamed from kit. Made private.
6181 (JEditorPane): All constructors reimplemented.
6182 (getContentType): Use content type from editor kit.
6183 (getEditorKit): Return editorKit.
6184 (getEditorKitForContentType):Likewise.
6185 (getPage): Return page.
6186 (setContentType): Reimplemented.
6187 (setEditorKit): Likewise.
6188 (setEditorKitForContentType): Removed wrong implementation.
6189 (setPage): Implemented.
6191 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6194 (nativeSetIconImageFromData): Re-add native implementation.
6196 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6198 * javax/swing/table/DefaultTableModel.java
6199 (DefaultTableModel()): Added Javadocs.
6200 (DefaultTableModel(int, int)): Fixed implementation.
6201 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
6202 for negative rowCount.
6203 (DefaultTableModel(Object[], int)): Added Javadocs.
6204 (DefaultTableModel(Vector, Vector)): Likewise.
6205 (DefaultTableModel(Object[][], Object[])): Likewise.
6206 (getDataVector): Likewise.
6207 (setDataVector(Vector, Vector)): Likewise.
6208 (setDataVector(Object[][], Object[])): Likewise.
6209 (newDataAvailable): Likewise.
6210 (newRowsAdded): Likewise.
6211 (rowsRemoved): Likewise.
6212 (setColumnIdentifiers(Vector)): Allow for null argument.
6213 (setColumnIdentifiers(Object[])): Added Javadocs.
6214 (setNumRows): Likewise.
6215 (setRowCount): Adds new rows if necessary, and sends more specific
6217 (setColumnCount): Allow for null columnIdentifiers.
6218 (addColumn(Object)): Added Javadocs.
6219 (addColumn(Object, Vector)): Handle null columnData.
6220 (addColumn(Object, Object[])): Handle columnData with more or less
6221 entries than rows in the table.
6222 (addRow(Vector)): Fire appropriate event.
6223 (addRow(Object[])): Added Javadocs.
6224 (insertRow(int, Vector)): Fire appropriate event.
6225 (insertRow(int, Object[])): Added Javadocs.
6226 (moveRow): Reimplemented.
6227 (removeRow(int)): Fire appropriate event.
6228 (getColumnCount): Allow for null columnIdentifiers.
6229 (getColumnName): Now returns empty string when column index is too
6231 (isCellEditable): Added Javadocs.
6232 (getValueAt): Likewise.
6233 (setValueAt): Fire more specific event.
6234 (convertToVector): Added Javadocs.
6235 * javax/swing/table/TableModel.java
6238 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6240 * libgcj.spec.in (lib): Add -l-javax-imageio.
6242 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6244 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
6245 references to event queue q with method call q().
6246 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
6247 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
6248 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
6249 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
6250 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
6251 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
6254 2005-02-15 Graydon Hoare <graydon@redhat.com>
6256 * gnu/java/awt/ClasspathToolkit.java
6257 (registerImageIOSpis): New method.
6258 * gnu/java/awt/image/ImageDecoder.java
6259 (imageDecoder): New constructor using InputStream
6260 (startProduction): Handle existing InputStream.
6261 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6262 (findSimpleIntegerArray): Make public and static.
6263 (updateBufferedImage): Set each pixel, in a loop.
6264 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6265 Implement ImageIO SPI classes.
6266 (createBufferedImage): Rewrite in terms of SPI classes.
6267 * gnu/java/awt/peer/gtk/GtkToolkit.java
6268 (registerImageIOSpis): New method.
6269 * java/lang/reflect/natMethod.cc
6270 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
6271 which lets JNI call interface methods properly.
6272 * javax/imageio/ImageIO.java
6273 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6274 (WriterMIMETypeFilter.filter): Likewise.
6275 (ImageReaderIterator): Pass extension argument through to SPI.
6276 (getReadersByFilter): Likewise.
6277 (getWritersByFilter): Likewise.
6278 (getImageReadersByFormatName): Likewise.
6279 (getImageReadersByMIMEType): Likewise.
6280 (getImageReadersBySuffix): Likewise.
6281 (getImageWritersByFormatName): Likewise.
6282 (getImageWritersByMIMEType): Likewise.
6283 (getImageWritersBySuffix): Likewise.
6286 * javax/imageio/ImageReader.java
6287 (progressListeners): Initialize.
6288 (setInput): Implement.
6289 * javax/imageio/ImageWriter.java
6290 (progressListeners): Initialize.
6291 (warningListeners): Likewise.
6292 (warningLocales): Likewise.
6293 (setOutput): Test "isInstance" rather than class equality.
6294 * javax/imageio/spi/IIORegistry.java
6295 (static): Add reader and writer SPIs.
6296 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6297 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6298 (query_formats): New function.
6299 (save_to_stream): Likewise.
6300 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6302 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6304 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6306 (keyPress): Likewise.
6307 (keyRelease): Likewise.
6309 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6311 * javax/swing/JTable.java
6312 (columnAtPoint): New Method. Implemented.
6313 (rowAtPoint): Likewise.
6314 (countSelections): Fixed few small count errors.
6315 (getSelections): Likewise.
6316 (setSelectionMode): Set selection mode for column
6317 selection model in addition to row selection model.
6318 * javax/swing/plaf/basic/BasicTableUI.java:
6319 (getRowForPoint): Removed. Replaced by
6320 JTable.rowAtPoint().
6321 (getColForPoint): Removed. Replaced by
6322 JTable.columnAtPoint().
6323 (updateSelection): Updated to call JTable.columnAtPoint
6324 and JTable.rowAtPoint.
6325 * javax/swing/table/DefaultTableColumnModel.java:
6326 (getSelectedColumns): Implemented.
6327 (getSelectedColumnCount): Implemented.
6329 2005-02-15 Graydon Hoare <graydon@redhat.com>
6332 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6333 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6334 * Makefile.in: Regenerate.
6335 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6336 * gnu/awt/xlib/XFramePeer.java: Likewise.
6337 * gnu/awt/xlib/XToolkit.java: Likewise.
6338 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6339 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6340 * gnu/java/awt/ClasspathToolkit.java
6343 (iterateNativeQueue): New methods.
6344 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6345 * gnu/java/awt/peer/gtk/GtkToolkit.java
6346 (gtkInit): Absorb from defunct GtkMainThread class.
6347 (static): Run gtkInit in static startup block.
6348 (GtkToolkit): Remove construction of GtkMainThread and queue.
6349 (getSystemEventQueueImpl): Construct queue when requested.
6352 (iterateNativeQueue): New methods.
6353 * java/awt/Component.java (removeNotify): Remove race.
6354 * java/awt/EventDispatchThread.java
6355 (EventDispatchThread): Don't start on construction.
6356 (run): Remove isInterrupted check.
6357 * java/awt/EventQueue.java (shutdown): New flag.
6358 (isShutdown): New method checking J2SE shutdown condition.
6359 (setShutdown): New method.
6360 (getNextEvent): Restructure to use ClasspathToolkit.
6361 (postEvent): Activate new thread on posting, wake thread on
6362 post of possible shutdown condition event.
6363 * java/awt/Frame.java
6364 (Frame): Call noteFrame in all constructors.
6365 (fireDummyEvent): New helper method.
6366 (addNotify): Fire a dummy event to wake up queue.
6367 (removeNotify): Fire a dummy event to wake up queue.
6368 (noteFrame): New method.
6369 (weakFrames): New static field.
6370 (getFrames): Implement.
6371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6374 Move everything from GtkMainThread into this file
6375 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6376 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6377 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6378 New functions to implement single-threaded queue semantics.
6380 2005-02-15 Michael Koch <konqueror@gmx.de>
6382 * javax/swing/plaf/metal/MetalLookAndFeel.java
6383 (getControlTextFont): New method.
6384 (getMenuTextFont): Likewise.
6385 (getSubTextFont): Likewise.
6386 (getSystemTextFont): Likewise.
6387 (getUserTextFont): Likewise.
6388 (getWindowTitleFont): Likewise.
6390 2005-02-15 Michael Koch <konqueror@gmx.de>
6392 * javax/swing/text/AbstractDocument.java
6393 (documentFilter): New field.
6394 (getDocumentFilter): New method.
6395 (setDocumentFilter): Likewise.
6398 2005-02-15 Michael Koch <konqueror@gmx.de>
6400 * javax/swing/JTree.java
6401 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6403 2005-02-15 Michael Koch <konqueror@gmx.de>
6405 * javax/swing/text/AbstractDocument.java
6406 (AbstractElement.getLength): Fixed off-by-one error.
6407 (AbstractElement.children): Made abstract.
6408 (AbstractElement.getAllowsChildren): Likewise.
6409 (AbstractElement.getElement): Likewise.
6410 (AbstractElement.dumpElement): New private method.
6411 (AbstractElement.dump): New method.
6412 (BranchElememt.getName): Fixed implementation.
6413 (BranchElememt.toString): Likewise.
6414 (BranchElememt.getElement): Fixed arguments.
6415 (LeafElement.getName): Fixed implementation.
6416 (LeafElement.toString): Likewise.
6417 * javax/swing/text/GapContent.java
6418 (GapContent): Put default content into buffer.
6419 * javax/swing/text/PlainDocument.java
6420 (reindex): Use empty attribute sets instead of null.
6421 (createDefaultRoot): Reimplemented.
6422 (insertUpdate): Call super method.
6423 (removeUpdate): Likewise.
6424 (getParagraphElement): Implemented.
6426 2005-02-15 Michael Koch <konqueror@gmx.de>
6428 * gnu/java/awt/ClasspathToolkit.java
6429 (createRobot): Throws java.awt.AWTException.
6430 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6431 Added '__attribute__((unused))' to all unused method arguments.
6433 2005-02-15 Michael Koch <konqueror@gmx.de>
6435 * javax/swing/DefaultBoundedRangeModel.java
6436 (fireValueChanged): Fixed off-by-one error.
6438 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6440 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6441 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6443 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6444 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6445 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6446 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6447 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6448 (getDefaultScreenDevice): Implement.
6449 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6450 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6451 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6452 * java/awt/Robot.java: Implement.
6453 * java/awt/peer/RobotPeer.java: Rename parameters.
6454 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6456 (awt_keycode_to_keysym): Make non-static.
6457 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6458 AWT_BUTTON3_MASK): Declare constants.
6459 (awt_keycode_to_keysym): Declare.
6461 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6462 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6463 and is non-empty pass its value to "make check".
6464 (test_mauve_sim): Likewise.
6466 2005-02-15 Michael Koch <konqueror@gmx.de>
6468 * javax/imageio/IIOParam.java
6469 (setSourceBands): New method.
6470 (setSourceSubsampling): Likewise.
6471 * javax/imageio/ImageReadParam.java
6472 (setDestination): Likewise.
6473 (setDestinationBands): Likewise.
6474 (setSourceProgressivePasses): Likewise.
6475 * javax/imageio/metadata/IIOInvalidTreeException.java
6476 (serialVersionUID): New static field.
6477 * javax/imageio/metadata/IIOMetadataNode.java
6478 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6479 (parent): Dont initailize with default value explicitely.
6481 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6482 (removeAttributeNode): Likewise.
6483 (removeAttributeNS): Likewise.
6484 (setAttribute): Likewise.
6485 (setAttributeNode): Likewise.
6486 (setAttributeNodeNS): Likewise.
6487 (setAttributeNS): Likewise.
6488 (appendChild): Likewise.
6489 (getNodeValue): Likewise.
6490 (insertBefore): Likewise.
6491 (removeChild): Likewise.
6492 (replaceChild): Likewise.
6493 (setPrefix): Likewise.
6495 2005-02-15 Michael Koch <konqueror@gmx.de>
6497 * javax/swing/LookAndFeel.java
6498 (getDesktopPropertyValue): New method.
6500 2005-02-15 Michael Koch <konqueror@gmx.de>
6502 * javax/swing/JTree.java
6503 (hasChildren): New instance field.
6505 2005-02-15 Michael Koch <konqueror@gmx.de>
6507 * javax/swing/JComponent.java
6508 (getToolTipText): New method.
6509 (getTitledBorderText): Likewise.
6510 (getAccessibleKeyBinding): Likewise.
6511 (getVerifyInputWhenFocusTarget): Likewise.
6512 (setVerifyInputWhenFocusTarget): Likewise.
6513 (verifyInputWhenFocusTarget): New instance field.
6515 2005-02-15 Michael Koch <konqueror@gmx.de>
6517 * javax/swing/DefaultListSelectionModel.java
6518 (fireValueChanged): New method.
6520 2005-02-15 Michael Koch <konqueror@gmx.de>
6522 * javax/swing/DefaultBoundedRangeModel.java:
6523 Fixed javadocs all over.
6524 (fireStateChanged): Simplified.
6525 * javax/swing/BoundedRangeModel.java:
6528 2005-02-15 Michael Koch <konqueror@gmx.de>
6530 * javax/swing/JRootPane.java
6531 (setMenuBar): Added @deprecated tag.
6532 (getMenuBar): Likewise.
6533 * javax/swing/JTable.java
6534 (sizeColumnsToFit): Likewise.
6536 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6538 * javax/swing/ImageIcon.java (setImage): Implemented.
6540 2005-02-15 Michael Koch <konqueror@gmx.de>
6542 * javax/swing/JTable.java:
6543 Removed unused imports.
6545 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6547 (prepareRenderer): Get column's index in dataModel instead
6548 of column's view index.
6549 (getColumnCount): return count of the columns in ColumnModel,
6551 (removeColumn): Implemented.
6552 (moveColumm): Likewise.
6553 (setRowHeight): throw IllegalArgumentException if height is
6555 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6556 (DefaultTableColumnModel):Add call to createSelectionModel().
6557 (addColumn): Fire columnAdded event to registered listeners.
6558 (removeColumn): Fire columnRemoved event to registered listeners.
6559 (moveColumn): Fire columnMoved event to registered listeners.
6560 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6561 (getColumnIndex): Changed parameter name.
6562 (setColumnSelectionAllowed): Likewise.
6563 (fireColumnAdded): Implemented.
6564 (fireColumnRemoved): Likewise.
6565 (fireColumnMoved): Likewise.
6566 (fireColumnMarginChanged): Likewise.
6567 (getListeners): Changed parameter name.
6568 (propertyChange): Implemented.
6569 (valueChanged): Changed parameter name.
6570 (createSelectionModel): Implemented.
6572 2005-02-15 Michael Koch <konqueror@gmx.de>
6574 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6575 Explicitely import used classes.
6576 (getLocalGraphicsEnvironment): Simplify.
6577 * java/awt/Window.java (Window):
6578 Enable code to get the default GraphicsConfiguration.
6580 2005-02-15 Michael Koch <konqueror@gmx.de>
6582 * javax/swing/plaf/metal/DefaultMetalTheme.java
6583 (CONTROL_TEXT_FONT): New static field.
6584 (MENU_TEXT_FONT): Likewise.
6585 (SUB_TEXT_FONT): Likewise.
6586 (SYSTEM_TEXT_FONT): Likewise.
6587 (USER_TEXT_FONT): Likewise.
6588 (WINDOW_TITLE_FONT): Likewise.
6589 (getControlTextFont): New method.
6590 (getMenuTextFont): Likewise.
6591 (getSubTextFont): Likewise.
6592 (getSystemTextFont): Likewise.
6593 (getUserTextFont): Likewise.
6594 (getWindowTitleFont): Likewise.
6595 * javax/swing/plaf/metal/MetalTheme.java
6596 (BLACK): Initialize with Color.BLACK.
6597 (WHITE): Initialize with Color.WHITE.
6598 (getInactiveControlTextColor): Return getControlDisabled().
6599 (getMenuDisabledForeground): Return getSecondary3().
6600 (getControlTextFont): New abstract method.
6601 (getMenuTextFont): Likewise.
6602 (getSubTextFont): Likewise.
6603 (getSystemTextFont): Likewise.
6604 (getUserTextFont): Likewise.
6605 (getWindowTitleFont): Likewise.
6607 2005-02-15 Michael Koch <konqueror@gmx.de>
6609 * javax/swing/JFormattedTextField.java
6610 (getFocusLostBehavior): Fixed typo in method name.
6611 (setFocusLostBehavior): Likewise.
6613 2005-02-15 Michael Koch <konqueror@gmx.de>
6615 * javax/swing/TransferHandler.java:
6616 Reworked import statements.
6618 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6620 * java/awt/Button.java,
6621 java/awt/Canvas.java,
6622 java/awt/Checkbox.java,
6623 java/awt/CheckboxMenuItem.java,
6624 java/awt/Choice.java,
6625 java/awt/Dialog.java,
6626 java/awt/Frame.java,
6627 java/awt/Label.java,
6630 java/awt/MenuBar.java,
6631 java/awt/MenuItem.java,
6632 java/awt/PopupMenu.java,
6633 java/awt/ScrollPane.java,
6634 java/awt/Scrollbar.java,
6635 java/awt/TextArea.java,
6636 java/awt/Window.java (getAccessibleContext): Clean up comments.
6638 * java/awt/Button.java,
6639 java/awt/Checkbox.java,
6640 java/awt/Choice.java,
6642 java/awt/PopupMenu.java,
6643 java/awt/TextArea.java (getAccessibleContext): Only create new
6645 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6647 2005-02-15 Michael Koch <konqueror@gmx.de>
6649 * java/awt/Button.java,
6650 javax/swing/JApplet.java,
6651 javax/swing/JFormattedTextField.java,
6652 javax/swing/JWindow.java,
6653 javax/swing/JTree.java,
6654 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6655 javax/swing/plaf/basic/BasicTextPaneUI.java,
6656 javax/swing/plaf/basic/BasicTreeUI.java:
6657 Reworked import statements.
6659 2005-02-15 Michael Koch <konqueror@gmx.de>
6661 * Makefile.am: Put javax.imageio into its own library and link it
6662 against lib-org-w3c-dom.la to fix bootstrapping.
6663 * Makefile.in: Regenerated.
6665 2005-02-15 Michael Koch <konqueror@gmx.de>
6667 * javax/swing/text/TextAction.java
6668 (getTextComponent): Simplified. Added Javadoc.
6669 (augmentList): Implemented. Added Javadoc.
6670 (getFocusedComponent): Added javadoc.
6672 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6674 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6675 getAccessibleContext): Implement.
6676 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6677 getAccessibleContext): Implement.
6679 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6681 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6683 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6685 * java/awt/Window.java (getAccessibleContext): Fix comment.
6686 Remove extra import.
6688 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6690 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6691 (isActive, isFocused, getAccessibleContext): Implement.
6693 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6695 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6696 * java/awt/MenuComponent.java (accessibleContext): Make package
6698 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6699 AccessibleAWTCheckboxMenuItem): Implement.
6701 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6703 * java/awt/List.java: Implement AccessibleAWTList,
6704 AccessibleAWTListChild.
6706 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6708 * java/awt/Choice.java: Add implements declaration for
6711 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6713 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6716 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6718 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6719 implemented interface list.
6721 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6723 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6724 * javax/imageio/metadata/IIOAttr.java: New class.
6725 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6726 * javax/imageio/metadata/IIONodeList.java: New class.
6727 * Makefile.am: Added new files.
6728 * Makefile.in: Regenerated.
6730 2005-02-15 Michael Koch <konqueror@gmx.de>
6732 * javax/swing/AbstractAction.java,
6733 javax/swing/AbstractCellEditor.java,
6734 javax/swing/AbstractListModel.java,
6735 javax/swing/DefaultBoundedRangeModel.java,
6736 javax/swing/DefaultButtonModel.java,
6737 javax/swing/DefaultCellEditor.java,
6738 javax/swing/DefaultComboBoxModel.java,
6739 javax/swing/DefaultDesktopManager.java,
6740 javax/swing/JMenu.java,
6741 javax/swing/JSlider.java,
6742 javax/swing/KeyStroke.java,
6743 javax/swing/OverlayLayout.java,
6744 javax/swing/ScrollPaneLayout.java,
6745 javax/swing/SizeRequirements.java,
6746 javax/swing/ViewportLayout.java:
6747 Made serialVersionUID private.
6749 2005-02-15 Michael Koch <konqueror@gmx.de>
6751 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6754 2005-02-15 Michael Koch <konqueror@gmx.de>
6756 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6758 2005-02-15 Michael Koch <konqueror@gmx.de>
6760 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6762 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6764 * java/awt/EventDispatchThread.java,
6765 java/awt/Toolkit.java:
6766 Don't catch java.lang.ThreadDeath.
6768 2005-02-15 Michael Koch <konqueror@gmx.de>
6770 * javax/swing/text/PasswordView.java
6771 (drawEchoCharacter): Added javadoc.
6772 (drawSelectedText): Likewise.
6773 (drawUnselectedText): Likewise.
6775 2005-02-15 Michael Koch <konqueror@gmx.de>
6777 * javax/swing/JRootPane.java
6778 (windowDecorationStyle): New field.
6779 (setMenuBar): New method.
6780 (getMenuBar): Likewise.
6781 (getWindowDecorationStyle): Likewise.
6782 (setWindowDecorationStyle): Likewise.
6784 2005-02-15 Michael Koch <konqueror@gmx.de>
6786 * javax/swing/DefaultListSelectionModel.java
6787 (leadAnchorNotificationEnabled): Made protected.
6789 2005-02-15 Michael Koch <konqueror@gmx.de>
6791 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6792 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6793 * Makefile.in: Regenerated.
6796 2005-02-15 Michael Koch <konqueror@gmx.de>
6798 * javax/swing/JFormattedTextField.java: Implemented.
6799 * javax/swing/JWindow.java
6800 (JWindow): New constructors.
6801 (initWindow): Renamed from initFrame.
6802 * javax/swing/UIDefaults.java
6803 (ActiveValue): Made interface static.
6804 (LazyValue): Likewise.
6805 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6806 (TitlePaneLayout.TitlePaneLayout): New constructor.
6807 * javax/swing/plaf/basic/BasicSliderUI.java
6808 (ChangeHandler): Made public.
6809 (FocusHandler): Likewise.
6810 (PropertyChangeHandler): Likewise.
6811 (ScrollListener): Likewise.
6812 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6813 (FocusHandler): Likewise.
6814 (MouseHandler): Likewise.
6815 * javax/swing/plaf/basic/BasicTextPaneUI.java
6816 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6817 * javax/swing/plaf/basic/BasicToolBarUI.java
6818 (BasicToolBarUI): Simplified. Reworked javadoc.
6819 (canDock): Simplified. Make public.
6820 (DockingListener): Made public.
6821 * javax/swing/text/JTextComponent.java
6822 (navigationFilter): New field.
6823 (getNavigationFilter): New method.
6824 (setNavigationFilter): Likewise.
6826 2005-02-15 Michael Koch <konqueror@gmx.de>
6828 * javax/swing/plaf/metal/MetalTheme.java
6829 (getControlTextColor): Return getControlInfo().
6830 (getHighlightedTextColor): Return getControlTextColor().
6832 2005-02-15 Michael Koch <konqueror@gmx.de>
6834 * javax/swing/plaf/basic/BasicButtonListener.java
6835 (BasicButtonListener): New constructor.
6836 * javax/swing/plaf/basic/BasicButtonUI.java
6837 (createButtonListener): Usw new BasicButtonListener constructor.
6839 2005-02-15 Michael Koch <konqueror@gmx.de>
6841 * javax/imageio/event/package.html,
6842 javax/imageio/metadata/package.html: New files.
6844 2005-02-15 Michael Koch <konqueror@gmx.de>
6846 * java/awt/image/MemoryImageSource.java: Reformatted.
6848 2005-02-15 Michael Koch <konqueror@gmx.de>
6850 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6852 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6854 * java/awt/color/ICC_Profile.java
6855 (finalize): Removed pointless field assignments.
6857 2005-02-15 Michael Koch <konqueror@gmx.de>
6859 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6860 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6861 * Makefile.in: Regenerated.
6863 2005-02-15 Michael Koch <konqueror@gmx.de>
6865 * javax/swing/text/DefaultStyledDocument.java: New file.
6866 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6867 * Makefile.in: Regenerated.
6869 2005-02-15 Michael Koch <konqueror@gmx.de>
6871 * javax/swing/JFileChooser.java
6872 (showDialog): Return CANCEL_OPTION for now.
6873 (showOpenDialog): Likewise.
6874 (showSaveDialog): Likewise.
6876 2005-02-15 Michael Koch <konqueror@gmx.de>
6878 * javax/swing/JApplet.java
6879 (HIDE_ON_CLOSE): Removed.
6880 (EXIT_ON_CLOSE): Likewise.
6881 (DISPOSE_ON_CLOSE): Likewise.
6882 (DO_NOTHING_ON_CLOSE): Likewise.
6883 (close_action): Likewise.
6884 (getDefaultCloseOperation): Likewise.
6885 (setDefaultCloseOperation): Likewise.
6886 (processWindowEvent): Likewise.
6887 (getPreferredSize): Simplified.
6888 * javax/swing/JInternalFrame.java
6889 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6891 * javax/swing/JWindow.java
6892 (HIDE_ON_CLOSE): Removed.
6893 (EXIT_ON_CLOSE): Likewise.
6894 (DISPOSE_ON_CLOSE): Likewise.
6895 (DO_NOTHING_ON_CLOSE): Likewise.
6896 (close_action): Likewise.
6897 (processKeyEvent): Likewise.
6898 (setDefaultCloseOperation): Likewise.
6899 (getPreferredSize): Simplified.
6901 2005-02-15 Michael Koch <konqueror@gmx.de>
6903 * javax/swing/JTextField.java
6904 (getPreferredSize): Re-implemented.
6906 2005-02-15 Michael Koch <konqueror@gmx.de>
6908 * javax/swing/JLabel.java
6909 (setDisplayedMnemonic): Use only upper case characters.
6910 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6911 PropertyChangeEvent after property got set to the new index.
6913 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6915 * javax/swing/JComboBox.java:
6916 (JComboBox): Removed selection of the
6917 first item in the model.
6919 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6921 * javax/swing/JComboBox.java
6922 added support for no item being selected
6923 (JComboBox): select first or nothing depending on element count
6924 (setModel): cleaned up unneeded "this." usage, added more
6925 docs, made exception behavior match that of the JDK
6926 (setLighWeightPopupEnabled): removed unneeded "this." usage
6928 (setMaximumRowCount): dito
6930 (setPrototypeDisplayValue): dito
6931 (getSelectedItem): simplified, added more user doc
6932 (setSelectedIndex): corrected exception behavior, added more user doc
6933 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6934 added performance warning to user doc
6935 (addItem): fixed exception behavior, added user doc
6936 (insertItemAt): dito
6938 (removeItemAt): dito
6939 (removeAll): fixed exception behavior, added user doc, added support
6940 for model not being instance of DefaultComboBoxModel
6941 (getSelectedItemObjects): simplified
6942 (getItemCount): fixed dependency on DefaultComboBoxModel
6943 (getItemAt): fixed dependency on MutableComboBoxModel
6944 * javax/swing/DefaultComboBoxModel.java:
6945 (setSelectedItem): updates selected item only if new
6946 value is null or known (match JDK behavior)
6947 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6948 (paintCurrentValue): renders "" if no item is selected
6950 2005-02-15 Michael Koch <konqueror@gmx.de>
6952 * javax/swing/plaf/metal/MetalTheme.java,
6953 javax/swing/plaf/metal/DefaultMetalTheme.java:
6955 * javax/swing/plaf/metal/MetalLookAndFeel.java
6956 * Makefile.am: Added the new files.
6957 * Makefile.in: Regenerated.
6959 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6961 * javax/swing/JTable.java
6962 (editorComp): New field.
6963 (JTable): Initialize local variables and call updateUI
6964 (selectionBackground): Make protected.
6965 (selectionForeground): Likewise.
6966 (initializeLocalVars): Create default editors and renderers,
6967 initialize editingColumn, editingRow variables.
6968 (createDefaultEditors): New Method.
6969 (createDefaultRenderers): Likewise.
6970 (createDefaultListSelectionModel): Removed
6971 (createDefaultSelectionModel): New Method.
6972 (createDefaultTableHeader): Likewise
6973 (removeColumn): Likewise.
6974 (getEditingColumn): Likewise.
6975 (setEditingColumn): Likewise.
6976 (getEditingRow): Likewise.
6977 (setEditingRow): Likewise.
6978 (getEditorComponent): Likewise.
6979 (isEditing): Likewise.
6980 (setDefaultEditor): Likewise.
6981 (addColumnSelectionInterval): Likewise.
6982 (addRowSelectionInterval): Likewise.
6983 (setColumnSelectionInterval): Likewise.
6984 (setRowSelectionInterval): Likewise.
6985 (removeColumnSelectionInterval): Likewise.
6986 (removeRowSelectionInterval): Likewise.
6987 (isColumnSelected): Likewise.
6988 (isRowSelected): Likewise.
6989 (isCellSelected): Likewise.
6990 (selectAll): Likewise.
6992 2005-02-15 Michael Koch <konqueror@gmx.de>
6994 * javax/swing/JTable.java
6995 (addColumn): New method.
6996 (getColumnClass): Likewise.
6997 (getColumnName): Likewise.
6999 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
7001 * javax/swing/TransferHandler.java
7002 (createTransferable): Made protected.
7004 2005-02-15 Michael Koch <konqueror@gmx.de>
7006 * javax/swing/JTable.java,
7007 javax/swing/plaf/basic/BasicTableHeaderUI.java,
7008 javax/swing/plaf/basic/BasicTableUI.java:
7009 Use fixed get/setIntercellSpacing() methods.
7011 2005-02-15 Michael Koch <konqueror@gmx.de>
7013 * javax/swing/JTable.java
7014 (getIntercellSpacing): Fixed typo in method name.
7015 (setIntercellSpacing): Likewise.
7017 2005-02-15 Michael Koch <konqueror@gmx.de>
7019 * javax/swing/text/JTextComponent.java
7020 (focusAccelerator): New variable.
7021 (getFocusAccelerator): New method.
7022 (setFocusAccelerator): Likewise.
7024 2005-02-15 Michael Koch <konqueror@gmx.de>
7026 * javax/swing/JComponent.java
7027 (setTransferHandler): Made public. Fire property change event.
7028 * javax/swing/TransferHandler.java: Implemented.
7029 * javax/swing/text/JTextComponent.java
7030 (DefaultTransferHandler): New inner class.
7031 (defaultTransferHandler): New variable.
7035 (doTransferAction): Likewise.
7037 2005-02-15 Michael Koch <konqueror@gmx.de>
7039 * javax/swing/JTree.java
7040 (collapsePath): New method.
7041 (collapseRow): Likewise.
7042 (expandPath): Likewise.
7043 (expandRow): Likewise.
7044 (checkExpandParents): Likewise.
7045 (doExpandParents): Likewise.
7046 (setExpandedState): Likewise.
7047 (makeVisible): Likewise.
7049 2005-02-15 Michael Koch <konqueror@gmx.de>
7051 * javax/swing/JPasswordField.java: Updated javadocs.
7053 2005-02-15 Michael Koch <konqueror@gmx.de>
7055 * javax/swing/JLayeredPane.java
7056 (getLayer): Fixed return type, made public.
7057 (getPosition): Use new getLayer().
7058 (SetPosition): Likewise.
7059 (getIndexOf): Likewise.
7061 * javax/swing/JInternalFrame.java
7062 (getLayer): Use new JLayeredPane.getLayer().
7065 2005-02-15 Michael Koch <konqueror@gmx.de>
7067 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
7068 (setHeaderValue): Simplified. Do nothing when old value == new value.
7070 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7072 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
7073 against null clip region.
7074 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
7075 gtkWindowSetResizable.
7076 (postConfigureEvent): Only revalidate if frame size has changed.
7077 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
7078 Only revalidate if frame size has changed.
7079 * java/awt/Component.java (reshape): Only repaint and post
7080 component events if component is showing.
7081 * java/awt/Container.java (addImpl): Only post container event if
7082 container is showing.
7084 * java/awt/Window.java (setLocationRelativeTo): Implement.
7085 (setBoundsCallback): Only post component events if component is
7087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
7088 Protect against null graphics structure. Flush gdk event queue.
7090 2005-02-15 Michael Koch <konqueror@gmx.de>
7092 * javax/imageio/ImageReader.java,
7093 javax/imageio/ImageTranscoder.java,
7094 javax/imageio/ImageWriter.java,
7095 javax/imageio/spi/ImageInputStreamSpi.java,
7096 javax/imageio/spi/ImageOutputStreamSpi.java,
7097 javax/imageio/spi/ServiceRegistry.java,
7098 javax/imageio/stream/ImageInputStream.java,
7099 javax/imageio/stream/ImageOutputStream.java: Updated.
7100 * javax/imageio/IIOException.java,
7101 javax/imageio/IIOImage.java,
7102 javax/imageio/IIOParam.java,
7103 javax/imageio/IIOParamController.java,
7104 javax/imageio/ImageIO.java,
7105 javax/imageio/ImageReadParam.java,
7106 javax/imageio/ImageTypeSpecifier.java,
7107 javax/imageio/ImageWriteParam.java,
7108 javax/imageio/spi/IIORegistry.java,
7109 javax/imageio/spi/ImageReaderSpi.java,
7110 javax/imageio/spi/ImageWriterSpi.java,
7111 javax/imageio/stream/FileCacheImageInputStream.java,
7112 javax/imageio/stream/FileCacheImageOutputStream.java,
7113 javax/imageio/stream/FileImageInputStream.java,
7114 javax/imageio/stream/FileImageOutputStream.java,
7115 javax/imageio/stream/ImageInputStreamImpl.java,
7116 javax/imageio/stream/ImageOutputStreamImpl.java,
7117 javax/imageio/stream/MemoryCacheImageInputStream.java,
7118 javax/imageio/stream/MemoryCacheImageOutputStream.java,
7119 javax/imageio/event/IIOReadProgressListener.java,
7120 javax/imageio/event/IIOReadUpdateListener.java,
7121 javax/imageio/event/IIOReadWarningListener.java,
7122 javax/imageio/event/IIOWriteProgressListener.java,
7123 javax/imageio/event/IIOWriteWarningListener.java,
7124 javax/imageio/metadata/IIOMetadata.java,
7125 javax/imageio/metadata/IIOMetadataController.java,
7126 javax/imageio/metadata/IIOMetadataFormat.java,
7127 javax/imageio/metadata/IIOInvalidTreeException.java,
7128 javax/imageio/metadata/IIOMetadataFormatImpl.java,
7129 javax/imageio/metadata/IIOMetadataNode.java: New files.
7130 * Makefile.am (javax_source_files): Added new files
7131 * Makefile.in: Regenerated.
7133 2005-02-15 Graydon Hoare <graydon@redhat.com>
7135 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7136 Rework painting into BufferedImages
7137 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7138 Construct BufferedImage with alpha only when alpha is
7139 present in colormodel.
7140 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7141 Rework painting into client-side jint arrays.
7142 * jni/gtk-peer/gtkcairopeer.h:
7145 2005-02-15 Michael Koch <konqueror@gmx.de>
7147 * javax/swing/DefaultListCellRenderer.java
7148 (serialVersionUID): Made private.
7149 (getListCellRendererComponent): Set horizontal alignment.
7150 * javax/swing/JLabel.java
7151 (setVerticalAlignment): Re-implemented.
7152 (setHorizontalAlignment): Do nothing if old value = new value.
7153 * javax/swing/JList.java
7154 (setCellRenderer): Likewise.
7155 (setModel): Re-implemented.
7156 (setSelectionModel): Likewise.
7158 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
7160 * java/awt/Component.java,
7161 java/awt/geom/Rectangle2D.java:
7164 2005-02-15 Michael Koch <konqueror@gmx.de>
7166 * javax/swing/AbstractListModel.java
7167 (fireContentsChanged): Simplified.
7168 (fireIntervalAdded): Likewise.
7169 (fireIntervalRemoved): Likewise.
7170 * javax/swing/DefaultSingleSelectionModel.java:
7172 (fireStateChanged): Simplified.
7173 * javax/swing/JPopupMenu.java
7174 (setSelectionModel): Set property.
7176 2005-02-15 Michael Koch <konqueror@gmx.de>
7178 * java/awt/print/Book.java: Reformatted.
7180 2005-02-15 Michael Koch <konqueror@gmx.de>
7182 * java/awt/geom/Area.java
7183 (QuadSegment.curveArea): Remove unused variables.
7184 (CubicSegment.curveArea): Likewise.
7186 2005-02-15 Michael Koch <konqueror@gmx.de>
7188 * javax/swing/JTree.java
7189 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
7190 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7191 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7192 (EXPANDED): New constant.
7193 (COLLAPSED): Likewise.
7194 (nodeStates): New field.
7195 (cellEditor): New method.
7196 (cellRenderer): Likewise.
7197 (selectionModel): Likewise.
7198 (treeModel): Likewise.
7199 (scrollPathToVisible): Likewise.
7200 (scrollRowToVisible): Likewise.
7201 (isCollapsed): Likewise.
7202 (isExpanded): Likewise.
7203 (clearToggledPaths): Likewise.
7204 (getDescendantToggledPaths): Likewise.
7205 (hasBeenExpanded): Likewise.
7206 (isVisible): Likewise.
7207 (isPathEditable): Likewise.
7209 2005-02-15 Michael Koch <konqueror@gmx.de>
7211 * javax/swing/JLayeredPane.java: Reformatted.
7213 2005-02-15 Michael Koch <konqueror@gmx.de>
7215 * javax/swing/tree/DefaultMutableTreeNode.java:
7217 * javax/swing/tree/MutableTreeNode.java:
7220 2005-02-15 Michael Koch <konqueror@gmx.de>
7222 * javax/swing/JFormattedTextField.java
7223 (setDocument): Call setDocument of super class. Don't fire property
7226 2005-02-15 Sven de Marothy <sven@physto.se>
7228 * java/awt/image/IndexColorModel.java:
7229 Add FIXME with respect to alpha handling.
7230 (getAlpha): Default to returning opaque pixels.
7231 * java/awt/image/MultiPixelPackedSampleModel.java
7232 (MultiPixelPackedSampleModel): Corrected parameters, order of
7233 bit shifts and masks, stride length off by one.
7235 2005-02-15 Michael Koch <konqueror@gmx.de>
7237 * javax/swing/JList.java, javax/swing/JTree.java:
7238 Added much new methods and fixed much methods setting bound properties.
7240 2005-02-16 Mark Wielaard <mark@klomp.org>
7242 * Makefile.am (gnu_xml_source_files): Removed
7243 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
7244 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
7245 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
7246 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
7247 gnu/xml/dom/DomDocumentFragment.java,
7248 gnu/xml/dom/DomProcessingInstruction.java and
7249 gnu/xml/dom/ls/DomLSException.java.
7250 * Makefile.in: Regenerated.
7252 2005-02-16 Tom Tromey <tromey@redhat.com>
7254 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
7255 attribute index is out of bounds.
7257 2005-02-16 Chris Burdess <dog@gnu.org>
7259 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
7260 isDeclared methods. Improved performance of isSpecified methods.
7262 2005-02-16 Chris Burdess <dog@gnu.org>
7264 Fixes bug libgcj/19864
7265 * gnu/xml/dom/DomAttr.java,
7266 gnu/xml/dom/DomCDATA.java,
7267 gnu/xml/dom/DomCDATASection.java,
7268 gnu/xml/dom/DomCharacterData.java,
7269 gnu/xml/dom/DomDOMException.java,
7270 gnu/xml/dom/DomDoctype.java,
7271 gnu/xml/dom/DomDocument.java,
7272 gnu/xml/dom/DomDocumentConfiguration.java,
7273 gnu/xml/dom/DomDocumentFragment.java,
7274 gnu/xml/dom/DomElement.java,
7275 gnu/xml/dom/DomEx.java,
7276 gnu/xml/dom/DomFragment.java,
7277 gnu/xml/dom/DomImpl.java,
7278 gnu/xml/dom/DomIterator.java,
7279 gnu/xml/dom/DomNamedNodeMap.java,
7280 gnu/xml/dom/DomNode.java,
7281 gnu/xml/dom/DomNsNode.java,
7282 gnu/xml/dom/DomPI.java,
7283 gnu/xml/dom/DomProcessingInstruction.java,
7284 gnu/xml/dom/DomText.java,
7285 gnu/xml/dom/DomLSEx.java,
7286 gnu/xml/dom/DomLSException.java,
7287 gnu/xml/dom/DomLSParser.java,
7288 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7289 implementation class names to conform to Classpath guidelines. Make
7290 DomLSException use JDK 1.4+ exception chaining.
7291 * gnu/xml/util/SAXNullTransformerFactory.java,
7292 gnu/xml/xpath/Predicate.java: Use constants relative to
7293 declaring class or interface.
7295 2005-02-16 Andrew Haley <aph@redhat.com>
7297 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7298 null, create a new AccessControlContext.
7299 * java/security/SecureClassLoader.java (protectionDomainCache):
7301 (defineClass): Create a new protection domain and add it to our
7304 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7305 addStub() to keep track of the stub we've exported.
7306 (unexportObject): Call deleteStub().
7307 * java/rmi/server/RemoteObject.java (stubs): New field.
7308 (addStub): New method.
7309 (deleteStub): New method.
7312 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7313 true to findHelper (tryParents).
7314 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7316 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7317 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7319 If tryParents is false, don't scan parent class loaders.
7321 * java/security/Permissions.java (PermissionsHash.implies):
7322 Iterate over the collection and invoke implies() on each
7325 2005-02-16 Andrew Haley <aph@redhat.com>
7327 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7329 (PersistentByteMap): Set name
7330 Magic number changed to 0x67636a64 ("gcjd").
7331 (init): Force the map to be prime.
7332 (emptyPersistentByteMap): File name was a string, now a File.
7333 (addBytes): Share srings between entries.
7334 (stringTableSize): New method.
7335 (capacity): Scale by load factor.
7336 (force): New method.
7337 (getFile): New method.
7338 (close): New method.
7339 (putAll): New method.
7340 (ByteWrapper): New class.
7341 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7342 (main): Guess the average string size as 32, not 64.
7343 Copy a database before modifying it, so that we can update a
7344 database in a running system.
7345 If a database isn't big enough, resize it.
7346 "-m": new option: merges databases.
7347 "-a": Create a new detabase if it doesn't exist.
7348 (usage): Correct, add new option.
7349 (addJar): Copy a database before modifying it.
7350 (resizeMap): New method.
7352 2005-02-15 David Daney <ddaney@avtrex.com>
7353 Bryce McKinlay <mckinlay@redhat.com>
7355 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7356 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7357 ensure that GC threads inherit the new signal mask.
7358 (block_sigchld): Call JvFail rather than throwing exception if
7359 pthread_sigmask() fails.
7361 2005-02-15 Mark Wielaard <mark@klomp.org>
7363 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7364 file path elements are separated by spaces.
7366 2005-02-15 Mark Wielaard <mark@klomp.org>
7368 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7369 to describe attributes without a constant field value in this class.
7371 2005-02-15 Michael Koch <konqueror@gmx.de>
7373 * java/util/jar/Attributes.java
7374 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7376 2005-02-15 Mark Wielaard <mark@klomp.org>
7378 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7379 space for parsing CLASS_PATH attribute.
7381 2005-02-15 Mark Wielaard <mark@klomp.org>
7383 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7384 aside for "GCJLIBS" in directory where jarfiles are loaded.
7385 (JarURLLoader.getClass): Removed method.
7386 (JarURLLoader.toString): Removed method.
7387 (FileResource.toString): Removed method.
7389 2005-02-15 Mark Wielaard <mark@klomp.org>
7391 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7392 and/or cause before throwing.
7394 2005-02-15 Richard Henderson <rth@redhat.com>
7396 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7397 (libgcj0_convenience_la_SOURCES): ... here.
7398 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7399 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7400 * Makefile.in: Regenerate.
7402 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7405 * include/jawt.h: Likewise.
7406 * include/jawt_md.h: Likewise.
7407 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7409 * include/Makefile.in: Regenerate.
7410 * jni/classpath/classpath_jawt.h: Likewise.
7411 * jni/gtk-peer/gtk_jawt.c: Likewise.
7412 * Makefile.am: Build libjawt.so.
7413 * Makefile.in: Regenerate.
7415 2005-02-14 Tom Tromey <tromey@redhat.com>
7417 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7419 2005-02-14 Tom Tromey <tromey@redhat.com>
7421 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7422 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7424 2005-02-14 Tom Tromey <tromey@redhat.com>
7427 * testsuite/libjava.lang/PR19929.out: New file.
7428 * testsuite/libjava.lang/PR19929.java: New file.
7430 2005-02-14 Anthony Green <green@redhat.com>
7433 * testsuite/libjava.jni/PR18116.c: New file.
7434 * testsuite/libjava.jni/PR18116.java: New file.
7435 * testsuite/libjava.jni/PR18116.out: New file.
7437 2005-02-13 Anthony Green <green@redhat.com>
7440 * jni.cc (nathash_add): Don't strdup the method signature.
7441 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7445 2005-02-12 Mark Wielaard <mark@klomp.org>
7447 Fixes bug libgcj/8170
7448 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7449 ClassNotFoundException.
7450 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7451 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7452 (remove_internal): New field superceding remove_interpreter.
7453 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7454 Remove no-class methods starting with "_Jv_". And Replace null
7455 class or method names with the empty string. Stop at either the
7456 MainThread or a real Thread run() method.
7457 (newElement): Made static.
7458 * java/net/URLClassLoader.java (findClass): Throw
7459 ClassNotFoundExceptions including urls, plus parent using toString().
7460 (thisString): New field.
7461 (toString): New method.
7463 2005-02-10 Tom Tromey <tromey@redhat.com>
7465 * external/sax/Makefile.in: Rebuilt.
7466 * external/sax/Makefile.am (all-local): Removed.
7467 (BUILT_SOURCES): New variable.
7468 (mostlyclean-local): No error if no classes to delete.
7469 * external/w3c_dom/Makefile.in: Rebuilt.
7470 * external/w3c_dom/Makefile.am (all-local): Removed.
7471 (BUILT_SOURCES): New variable.
7472 (mostlyclean-local): No error if no classes to delete.
7474 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7476 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7477 of mauve and libjava.
7479 2005-02-09 Tom Tromey <tromey@redhat.com>
7481 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7482 jar file with OPEN_DELETE.
7483 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7484 OPEN_DELETE is used.
7486 2005-02-09 Tom Tromey <tromey@redhat.com>
7488 * java/util/zip/InflaterInputStream.java (markSupported):
7490 (mark, reset): Likewise.
7492 2005-02-08 Tom Tromey <tromey@redhat.com>
7494 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7495 name or port is missing.
7496 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7497 AUTHORITY_PORT_GROUP): Updated.
7499 2005-02-08 Tom Tromey <tromey@redhat.com>
7501 * configure: Rebuilt.
7502 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7505 2005-02-07 Tom Tromey <tromey@redhat.com>
7507 * java/lang/natRuntime.cc (insertSystemProperties): Set
7508 sun.boot.class.path earlier.
7510 2005-02-07 Tom Tromey <tromey@redhat.com>
7512 * defineclass.cc (handleClassBegin): Use
7513 _Jv_RegisterInitiatingLoader.
7514 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7515 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7516 class. Use _Jv_UnregisterInitiatingLoader.
7517 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7520 2005-02-07 Mark Wielaard <mark@klomp.org>
7522 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7523 java/util/regex/Matcher.java (lookingAt): Set position when match
7525 (matches): Implemented through lookingAt().
7527 2005-02-07 Mark Wielaard <mark@klomp.org>
7529 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7530 * java/util/regex/Pattern.java (split(CharSequence,int)):
7531 Fix while empties > 0 loops.
7533 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7535 * gnu/java/nio/charset/ISO_8859_1.java,
7536 gnu/java/nio/charset/US_ASCII.java,
7537 gnu/java/nio/charset/UTF_16.java,
7538 gnu/java/nio/charset/UTF_16_LE.java,
7539 gnu/java/nio/charset/UTF_16_BE.java,
7540 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7541 and aliases according to
7542 "http://www.iana.org/assignments/character-sets",
7543 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7544 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7545 * gnu/java/nio/charset/Provider.java: Made charset lookup
7546 case-insensitive which fixes bug #11740.
7548 2005-02-07 Tom Tromey <tromey@redhat.com>
7551 * Makefile.in: Rebuilt.
7552 * Makefile.am (src.zip): New target.
7553 (install-src.zip): Likewise.
7554 (sourcesdir): New variable.
7556 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7558 * javax/imageio/metadata/IIOMetadataNode.java:
7560 * javax/imageio/metadata/IIOAttr.java,
7561 javax/imageio/metadata/IIONamedNodeMap.java,
7562 javax/imageio/metadata/IIONodeList.java:
7565 2005-02-06 Graydon Hoare <graydon@redhat.com>
7567 * gnu/java/awt/ClasspathToolkit.java
7568 (registerImageIOSpis): New method.
7569 * javax/imageio/ImageIO.java
7570 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7571 (WriterMIMETypeFilter.filter): Likewise.
7572 (ImageReaderIterator): Pass extension argument through to SPI.
7573 (getReadersByFilter): Likewise.
7574 (getWritersByFilter): Likewise.
7575 (getImageReadersByFormatName): Likewise.
7576 (getImageReadersByMIMEType): Likewise.
7577 (getImageReadersBySuffix): Likewise.
7578 (getImageWritersByFormatName): Likewise.
7579 (getImageWritersByMIMEType): Likewise.
7580 (getImageWritersBySuffix): Likewise.
7583 * javax/imageio/ImageReader.java
7584 (progressListeners): Initialize.
7585 (setInput): Implement.
7586 * javax/imageio/ImageWriter.java
7587 (progressListeners): Initialize.
7588 (warningListeners): Likewise.
7589 (warningLocales): Likewise.
7590 (setOutput): Test "isInstance" rather than class equality.
7591 * javax/imageio/spi/IIORegistry.java
7592 (static): Add reader and writer SPIs.
7593 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7595 2005-02-06 Michael Koch <konqueror@gmx.de>
7597 * javax/imageio/metadata/IIOInvalidTreeException.java
7598 (IIOInvalidTreeException): Reformatted.
7599 * javax/imageio/spi/IIORegistry.java
7600 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7601 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7602 Reworked import statements.
7604 2005-02-06 Michael Koch <konqueror@gmx.de>
7606 * javax/imageio/stream/FileImageOutputStream.java:
7609 2005-02-06 Michael Koch <konqueror@gmx.de>
7611 * javax/imageio/stream/FileCacheImageInputStream.java,
7612 javax/imageio/stream/FileCacheImageOutputStream.java,
7613 javax/imageio/stream/FileImageInputStream.java,
7614 javax/imageio/stream/ImageInputStreamImpl.java,
7615 javax/imageio/stream/ImageOutputStreamImpl.java,
7616 javax/imageio/stream/MemoryCacheImageInputStream.java,
7617 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7618 Added all missing methods in javax.imageio.stream.
7620 2005-02-02 David Daney <ddaney@avtrex.com>
7622 * java/net/InetAddress.java (InetAddress): Make a private copy of
7624 * java/net/Inet4Address.java (getAddress): Return a copy of the
7626 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7628 (getAddress): Return a copy of the address.
7631 2005-02-02 Tom Tromey <tromey@redhat.com>
7633 * Makefile.in: Rebuilt.
7634 * Makefile.am (classes.stamp): New target, broken out from
7636 ($(all_java_class_files)): Depend on it.
7637 (libgcj-@gcc_version@.jar): Likewise.
7638 (all-recursive): Likewise.
7639 (CLEANFILES): Include classes.stamp.
7641 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7643 * link.cc: Include <stdio.h>
7645 2005-02-02 Tom Tromey <tromey@redhat.com>
7648 * Makefile.in: Rebuilt.
7649 * Makefile.am (ordinary_java_source_files): Added new class.
7650 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7651 Use system_instance, not instance.
7652 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7653 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7655 (system_instance): New field.
7656 (initialize): Initialize the system loader as well.
7657 (VMClassLoader): Default to LIB_CACHE.
7659 2005-02-02 Tom Tromey <tromey@redhat.com>
7661 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7662 * prims.cc: Fixed comment.
7664 2005-02-01 Tom Tromey <tromey@redhat.com>
7666 * Makefile.in: Rebuilt.
7667 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7668 (.java.class): Use BOOTCLASSPATH.
7670 2005-02-01 Tom Tromey <tromey@redhat.com>
7672 * external/w3c_dom/Makefile.am: New file.
7673 * external/w3c_dom/Makefile.in: New file.
7674 * external/sax/Makefile.am: New file.
7675 * external/sax/Makefile.in: New file.
7676 * external/Makefile.in: New file.
7677 * external/Makefile.am: New file.
7678 * external/README: New file from Classpath.
7679 * configure, aclocal.m4, Makefile.in: Rebuilt.
7680 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7681 * Makefile.am (SUBDIRS): Added external.
7682 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7683 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7684 (BOOTCLASSPATH): New variable.
7685 (AM_GCJFLAGS): Use it.
7686 (gnu_xml_source_files): New variable.
7687 (libgcj_la_SOURCES): Use it.
7688 (libgcj_la_LDADD): Include new convenience libraries.
7689 (lib_org_ietf_jgss_la_SOURCES): Removed.
7690 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7691 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7692 (lib_org_w3c_dom_la_SOURCES): Removed.
7693 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7694 (lib_org_w3c_dom_la_LIBADD): Likewise.
7695 (lib_org_xml_sax_la_SOURCES): Removed.
7696 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7697 (lib_org_xml_sax_la_LIBADD): Likewise.
7698 (all_java_source_files): Updated.
7699 (property_files): Likewise.
7700 (libgcj-@gcc_version@.jar): Include classes from external/.
7701 (javax_source_files): Updated.
7702 (ordinary_java_source_files): Updated.
7703 * javax/xml/XMLConstants.java,
7704 javax/xml/datatype/DatatypeConfigurationException.java,
7705 javax/xml/datatype/DatatypeConstants.java,
7706 javax/xml/datatype/DatatypeFactory.java,
7707 javax/xml/datatype/Duration.java,
7708 javax/xml/datatype/XMLGregorianCalendar.java,
7709 javax/xml/datatype/package.html,
7710 javax/xml/namespace/NamespaceContext.java,
7711 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7712 javax/xml/parsers/DocumentBuilder.java,
7713 javax/xml/parsers/DocumentBuilderFactory.java,
7714 javax/xml/parsers/FactoryConfigurationError.java,
7715 javax/xml/parsers/ParserConfigurationException.java,
7716 javax/xml/parsers/SAXParser.java,
7717 javax/xml/parsers/SAXParserFactory.java,
7718 javax/xml/parsers/package.html,
7719 javax/xml/transform/ErrorListener.java,
7720 javax/xml/transform/OutputKeys.java,
7721 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7722 javax/xml/transform/SourceLocator.java,
7723 javax/xml/transform/Templates.java,
7724 javax/xml/transform/Transformer.java,
7725 javax/xml/transform/TransformerConfigurationException.java,
7726 javax/xml/transform/TransformerException.java,
7727 javax/xml/transform/TransformerFactory.java,
7728 javax/xml/transform/TransformerFactoryConfigurationError.java,
7729 javax/xml/transform/URIResolver.java,
7730 javax/xml/transform/package.html,
7731 javax/xml/transform/dom/DOMLocator.java,
7732 javax/xml/transform/dom/DOMResult.java,
7733 javax/xml/transform/dom/DOMSource.java,
7734 javax/xml/transform/dom/package.html,
7735 javax/xml/transform/sax/SAXResult.java,
7736 javax/xml/transform/sax/SAXSource.java,
7737 javax/xml/transform/sax/SAXTransformerFactory.java,
7738 javax/xml/transform/sax/TemplatesHandler.java,
7739 javax/xml/transform/sax/TransformerHandler.java,
7740 javax/xml/transform/sax/package.html,
7741 javax/xml/transform/stream/StreamResult.java,
7742 javax/xml/transform/stream/StreamSource.java,
7743 javax/xml/transform/stream/package.html,
7744 javax/xml/validation/Schema.java,
7745 javax/xml/validation/SchemaFactory.java,
7746 javax/xml/validation/TypeInfoProvider.java,
7747 javax/xml/validation/Validator.java,
7748 javax/xml/validation/ValidatorHandler.java,
7749 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7750 javax/xml/xpath/XPathConstants.java,
7751 javax/xml/xpath/XPathException.java,
7752 javax/xml/xpath/XPathExpression.java,
7753 javax/xml/xpath/XPathExpressionException.java,
7754 javax/xml/xpath/XPathFactory.java,
7755 javax/xml/xpath/XPathFactoryConfigurationException.java,
7756 javax/xml/xpath/XPathFunction.java,
7757 javax/xml/xpath/XPathFunctionException.java,
7758 javax/xml/xpath/XPathFunctionResolver.java,
7759 javax/xml/xpath/XPathVariableResolver.java,
7760 javax/xml/xpath/package.html: New files, from GNU JAXP.
7761 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7762 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7763 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7764 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7765 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7766 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7767 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7768 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7769 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7770 org/w3c/dom/ranges/DocumentRange.java,
7771 org/w3c/dom/ranges/Range.java,
7772 org/w3c/dom/ranges/RangeException.java,
7773 org/w3c/dom/traversal/DocumentTraversal.java,
7774 org/w3c/dom/traversal/NodeFilter.java,
7775 org/w3c/dom/traversal/NodeIterator.java,
7776 org/w3c/dom/traversal/TreeWalker.java,
7777 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7778 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7779 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7780 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7781 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7782 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7783 org/xml/sax/SAXNotRecognizedException.java,
7784 org/xml/sax/SAXNotSupportedException.java,
7785 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7786 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7787 org/xml/sax/ext/DeclHandler.java,
7788 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7789 org/xml/sax/helpers/AttributeListImpl.java,
7790 org/xml/sax/helpers/AttributesImpl.java,
7791 org/xml/sax/helpers/DefaultHandler.java,
7792 org/xml/sax/helpers/LocatorImpl.java,
7793 org/xml/sax/helpers/NamespaceSupport.java,
7794 org/xml/sax/helpers/NewInstance.java,
7795 org/xml/sax/helpers/ParserAdapter.java,
7796 org/xml/sax/helpers/ParserFactory.java,
7797 org/xml/sax/helpers/XMLFilterImpl.java,
7798 org/xml/sax/helpers/XMLReaderAdapter.java,
7799 org/xml/sax/helpers/XMLReaderFactory.java,
7800 org/xml/sax/helpers/package.html: Moved to external/.
7801 * external/sax/README,
7802 external/sax/org/xml/sax/AttributeList.java,
7803 external/sax/org/xml/sax/Attributes.java,
7804 external/sax/org/xml/sax/ContentHandler.java,
7805 external/sax/org/xml/sax/DTDHandler.java,
7806 external/sax/org/xml/sax/DocumentHandler.java,
7807 external/sax/org/xml/sax/EntityResolver.java,
7808 external/sax/org/xml/sax/ErrorHandler.java,
7809 external/sax/org/xml/sax/HandlerBase.java,
7810 external/sax/org/xml/sax/InputSource.java,
7811 external/sax/org/xml/sax/Locator.java,
7812 external/sax/org/xml/sax/Parser.java,
7813 external/sax/org/xml/sax/SAXException.java,
7814 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7815 external/sax/org/xml/sax/SAXNotSupportedException.java,
7816 external/sax/org/xml/sax/SAXParseException.java,
7817 external/sax/org/xml/sax/XMLFilter.java,
7818 external/sax/org/xml/sax/XMLReader.java,
7819 external/sax/org/xml/sax/package.html,
7820 external/sax/org/xml/sax/ext/Attributes2.java,
7821 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7822 external/sax/org/xml/sax/ext/DeclHandler.java,
7823 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7824 external/sax/org/xml/sax/ext/EntityResolver2.java,
7825 external/sax/org/xml/sax/ext/LexicalHandler.java,
7826 external/sax/org/xml/sax/ext/Locator2.java,
7827 external/sax/org/xml/sax/ext/Locator2Impl.java,
7828 external/sax/org/xml/sax/ext/package.html,
7829 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7830 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7831 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7832 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7833 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7834 external/sax/org/xml/sax/helpers/NewInstance.java,
7835 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7836 external/sax/org/xml/sax/helpers/ParserFactory.java,
7837 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7838 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7839 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7840 external/sax/org/xml/sax/helpers/package.html,
7841 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7842 external/w3c_dom/org/w3c/dom/Attr.java,
7843 external/w3c_dom/org/w3c/dom/CDATASection.java,
7844 external/w3c_dom/org/w3c/dom/CharacterData.java,
7845 external/w3c_dom/org/w3c/dom/Comment.java,
7846 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7847 external/w3c_dom/org/w3c/dom/DOMError.java,
7848 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7849 external/w3c_dom/org/w3c/dom/DOMException.java,
7850 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7851 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7852 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7853 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7854 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7855 external/w3c_dom/org/w3c/dom/Document.java,
7856 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7857 external/w3c_dom/org/w3c/dom/DocumentType.java,
7858 external/w3c_dom/org/w3c/dom/Element.java,
7859 external/w3c_dom/org/w3c/dom/Entity.java,
7860 external/w3c_dom/org/w3c/dom/EntityReference.java,
7861 external/w3c_dom/org/w3c/dom/NameList.java,
7862 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7863 external/w3c_dom/org/w3c/dom/Node.java,
7864 external/w3c_dom/org/w3c/dom/NodeList.java,
7865 external/w3c_dom/org/w3c/dom/Notation.java,
7866 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7867 external/w3c_dom/org/w3c/dom/Text.java,
7868 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7869 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7870 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7871 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7872 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7873 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7874 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7875 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7876 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7877 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7878 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7879 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7880 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7881 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7882 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7883 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7884 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7885 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7886 external/w3c_dom/org/w3c/dom/css/Counter.java,
7887 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7888 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7889 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7890 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7891 external/w3c_dom/org/w3c/dom/css/Rect.java,
7892 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7893 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7894 external/w3c_dom/org/w3c/dom/events/Event.java,
7895 external/w3c_dom/org/w3c/dom/events/EventException.java,
7896 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7897 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7898 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7899 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7900 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7901 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7902 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7903 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7904 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7905 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7906 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7907 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7908 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7909 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7910 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7911 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7912 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7913 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7914 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7915 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7916 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7917 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7918 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7919 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7920 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7921 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7922 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7923 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7924 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7925 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7926 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7927 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7928 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7929 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7930 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7931 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7932 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7933 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7934 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7935 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7936 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7937 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7938 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7939 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7940 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7941 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7942 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7943 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7944 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7945 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7946 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7947 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7948 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7949 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7950 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7951 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7952 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7953 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7954 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7955 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7956 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7957 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7958 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7959 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7960 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7961 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7962 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7963 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7964 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7965 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7966 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7967 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7968 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7969 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7970 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7971 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7972 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7973 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7974 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7975 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7976 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7977 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7978 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7979 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7980 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7981 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7982 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7983 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7984 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7985 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7986 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7987 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7990 2005-01-31 Anthony Green <green@redhat.com>
7992 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7993 Support IP_MULTICAST_LOOP.
7994 (setOption): Support IP_MULTICAST_LOOP.
7996 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7997 SO_REUSEADDR support.
7998 (getOption): Support SO_REUSEADDR.
8000 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
8003 * java/util/Date.java
8004 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
8006 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
8008 (getTimezoneOffset): Inverted sign.
8010 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
8012 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
8013 remove other passing tests and add new XFAILs.
8015 2005-01-24 Tom Tromey <tromey@redhat.com>
8017 * java/lang/Class.h (next): Updated documentation. Renamed to
8019 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
8020 _Jv_CheckABIVersion.
8021 (_Jv_RegisterClasses_Counted): Likewise.
8022 (_Jv_RegisterClassHookDefault): Fix starting condition of
8023 duplicate-checking loop.
8024 * include/jvm.h (GCJ_VERSION): New define.
8025 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
8026 (_Jv_CheckABIVersion): New function.
8028 2005-01-24 Jakub Jelinek <jakub@redhat.com>
8030 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
8031 (libgij_la_LDFLAGS): Add.
8032 * Makefile.in: Rebuilt.
8034 2005-01-24 Roger Sayle <roger@eyesopen.com>
8037 * testsuite/libjava.compile/PR19295.java: New test case.
8039 2005-01-19 Tom Tromey <tromey@redhat.com>
8041 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
8042 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
8043 if 'handler' is valid.
8045 2005-01-17 Tom Tromey <tromey@redhat.com>
8047 * java/text/MessageFormat.java (scanString): Changed how quoting
8049 (scanFormatElement): Likewise.
8051 2004-12-07 Mark Wielaard <mark@klomp.org>
8053 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
8055 2005-01-15 Michael Koch <konqueror@gmx.de>
8059 (AUTHORITY_REGEXP): New regexp constant.
8060 (AUTHORITY_USERINFO_GROUP): New constant.
8061 (AUTHORITY_HOST_GROUP): Likewise.
8062 (AUTHORITY_PORT_GROUP): Likewise.
8063 (port): Changed default value to -1.
8064 (parseURI): Parse authority part and initialize host,
8067 2005-01-14 Robin Green <greenrd@greenrd.org>
8069 * java/io/File.java (toURI): Generate a URI which we understand.
8071 2005-01-13 Graydon Hoare <graydon@redhat.com>
8073 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
8074 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
8075 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
8076 * jni.cc: Reuse bottom frame between calls, avoid clearing
8077 frame when no local references are made.
8079 2005-01-13 Michael Koch <konqueror@gmx.de>
8082 * java/lang/Thread.java
8083 (Thread): Call checkAccess().
8084 (stop): Fixed argument name to match javadoc.
8085 * java/lang/natThread.cc
8086 (interrupt): Call checkAccess().
8089 2005-01-11 Michael Koch <konqueror@gmx.de>
8092 * java/net/URL.java (URL): Handle specs like
8093 "/redir?http://domain2.com/index.html" which start with a slash.
8095 2005-01-11 Michael Koch <konqueror@gmx.de>
8097 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
8098 * gnu/java/net/BASE64.java,
8099 gnu/java/net/EmptyX509TrustManager.java,
8100 gnu/java/net/LineInputStream.java,
8101 gnu/java/net/protocol/http/Authenticator.java,
8102 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
8103 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
8104 gnu/java/net/protocol/http/ChunkedInputStream.java,
8105 gnu/java/net/protocol/http/Cookie.java,
8106 gnu/java/net/protocol/http/CookieManager.java,
8107 gnu/java/net/protocol/http/Credentials.java,
8108 gnu/java/net/protocol/http/HTTPConnection.java,
8109 gnu/java/net/protocol/http/HTTPDateFormat.java,
8110 gnu/java/net/protocol/http/HTTPURLConnection.java,
8111 gnu/java/net/protocol/http/Headers.java,
8112 gnu/java/net/protocol/http/Request.java,
8113 gnu/java/net/protocol/http/RequestBodyWriter.java,
8114 gnu/java/net/protocol/http/Response.java,
8115 gnu/java/net/protocol/http/ResponseBodyReader.java,
8116 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
8117 gnu/java/net/protocol/http/SimpleCookieManager.java,
8118 gnu/java/net/protocol/http/event/ConnectionEvent.java,
8119 gnu/java/net/protocol/http/event/ConnectionListener.java,
8120 gnu/java/net/protocol/http/event/RequestEvent.java,
8121 gnu/java/net/protocol/http/event/RequestListener.java: New files.
8122 * gnu/java/net/protocol/http/Connection.java: Removed.
8123 * gnu/java/net/protocol/http/Handler.java,
8124 javax/net/ssl/HttpsURLConnection.java: Updated.
8125 * Makefile.am: Added new files and remove old ones.
8126 * Makefile.in: Regenerated.
8128 2005-01-11 Tom Tromey <tromey@redhat.com>
8131 * java/io/BufferedInputStream.java (read): Repeatedly read to
8133 (refill): Change test to see if buffer must be grown.
8135 2005-01-10 Tom Tromey <tromey@redhat.com>
8137 * mauve-libgcj: Exclude some swing tests.
8139 2005-01-10 Tom Tromey <tromey@redhat.com>
8141 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
8142 * java/lang/Package.java (getPackages): Use VMClassLoader when
8144 (getPackage): Likewise.
8145 * prims.cc (_Jv_CreateJavaVM): Call
8146 _Jv_RegisterBootstrapPackages.
8147 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
8148 * java/lang/VMClassLoader.java (getPackage): Rewrote.
8149 (getPackages): Likewise.
8150 (definedPackages): New field.
8151 (definePackageForNative): New method.
8152 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
8153 * java/lang/natVMClassLoader.cc (loadClass): Updated.
8154 * defineclass.cc (handleClassBegin): Use
8155 ClassLoader.findLoadedClass.
8156 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
8158 (struct _Jv_LoaderInfo): Removed.
8159 (initiated_classes): Likewise.
8160 (_Jv_UnregisterClass): Don't use initiated_classes.
8161 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
8162 (_Jv_FindClass): Register classes found during boostrap.
8163 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
8164 (bootstrap_class_list): New global.
8165 (bootstrap_index): Likewise.
8166 (_Jv_RegisterBootstrapPackages): New function.
8167 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
8168 definePackageForNative.
8169 (findClass): Updated.
8170 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
8173 2005-01-10 Tom Tromey <tromey@redhat.com>
8176 * include/jvm.h (_Jv_Linker::find_field): Declare.
8177 (_Jv_Linker::find_field_helper): Likewise.
8178 * link.cc (find_field_helper): New method.
8179 (find_field): Likewise.
8180 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
8182 (link_symbol_table): Use find_field.
8184 2005-01-10 Michael Koch <konqueror@gmx.de>
8187 * java/util/Locale.java (Locale): Don't uppercase variant.
8188 (getISOCountries): Fixed typo in javadoc.
8190 2005-01-10 Michael Koch <konqueror@gmx.de>
8192 * java/util/SimpleTimeZone.java (checkRule):
8193 Throw IllegalArgumentException on invalid month values.
8194 * java/util/TimeZone.java (setID):
8195 Throw NullPointerException if needed.
8197 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
8199 * java/util/SimpleTimeZone.java (getOffset):
8200 offset end date with daylight savings
8202 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
8204 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
8205 * testsuite/libjava.compile/PR19277.xfail: Likewise.
8207 2005-01-09 Michael Koch <konqueror@gmx.de>
8210 * java/net/InetAddress.java (getLocalHost):
8211 Throw UnknownHostException if local hostname cannot be determined.
8213 2005-01-06 Tom Tromey <tromey@redhat.com>
8215 * java/lang/ClassLoader.java (findClass): Fixed documentation.
8217 2005-01-07 Michael Koch <konqueror@gmx.de>
8220 * java/nio/Buffer.java (address): New field.
8221 * java/nio/DirectByteBufferImpl.java (address): Removed.
8222 * java/nio/MappedByteBufferImpl.java (address): Likewise.
8223 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
8224 Explicitly initialize Buffer.address if needed.
8225 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
8226 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
8227 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
8228 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
8229 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
8230 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
8231 DirectByteBufferImpl object.
8232 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
8233 * testsuite/libjava.jni/directbuffer.c,
8234 testsuite/libjava.jni/directbuffer.java,
8235 testsuite/libjava.jni/directbuffer.out,
8236 testsuite/libjava.jni/bytebuffer.c,
8237 testsuite/libjava.jni/bytebuffer.java,
8238 testsuite/libjava.jni/bytebuffer.out: New files.
8240 2005-01-05 Tom Tromey <tromey@redhat.com>
8242 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
8244 (compressedSize): Now 'long'. Default to -1.
8245 (getCompressedSize): Rewrote.
8246 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
8247 deflate at all if we need input.
8249 2005-01-05 Tom Tromey <tromey@redhat.com>
8252 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
8255 2005-01-05 Tom Tromey <tromey@redhat.com>
8257 * java/lang/natRuntime.cc (insertSystemProperties): Set
8258 java.ext.dirs earlier.
8260 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
8262 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
8263 sync_info element of the object if needed.
8265 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
8267 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
8268 a non-zero exit status from 'false'.
8270 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
8272 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.